tango-app-ui-manage-tickets 3.7.0-beta.15 → 3.7.0-beta.16

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.
Files changed (91) hide show
  1. package/.eslintrc.json +37 -0
  2. package/ng-package.json +7 -0
  3. package/package.json +12 -25
  4. package/src/lib/components/add-csm-modal/add-csm-modal.component.html +32 -0
  5. package/src/lib/components/add-csm-modal/add-csm-modal.component.scss +14 -0
  6. package/src/lib/components/add-csm-modal/add-csm-modal.component.spec.ts +23 -0
  7. package/src/lib/components/add-csm-modal/add-csm-modal.component.ts +94 -0
  8. package/src/lib/components/audit-log/audit-log.component.html +1 -0
  9. package/src/lib/components/audit-log/audit-log.component.scss +0 -0
  10. package/src/lib/components/audit-log/audit-log.component.spec.ts +23 -0
  11. package/src/lib/components/audit-log/audit-log.component.ts +10 -0
  12. package/src/lib/components/audit-metrics/audit-metrics.component.html +345 -0
  13. package/src/lib/components/audit-metrics/audit-metrics.component.scss +34 -0
  14. package/src/lib/components/audit-metrics/audit-metrics.component.spec.ts +23 -0
  15. package/src/lib/components/audit-metrics/audit-metrics.component.ts +292 -0
  16. package/src/lib/components/comment-model/comment-model.component.html +24 -0
  17. package/src/lib/components/comment-model/comment-model.component.scss +20 -0
  18. package/src/lib/components/comment-model/comment-model.component.spec.ts +23 -0
  19. package/src/lib/components/comment-model/comment-model.component.ts +53 -0
  20. package/src/lib/components/count/count.component.html +54 -0
  21. package/src/lib/components/count/count.component.scss +14 -0
  22. package/src/lib/components/count/count.component.spec.ts +23 -0
  23. package/src/lib/components/count/count.component.ts +82 -0
  24. package/src/lib/components/footfall-dic/footfall-dic.component.html +1242 -0
  25. package/src/lib/components/footfall-dic/footfall-dic.component.scss +273 -0
  26. package/src/lib/components/footfall-dic/footfall-dic.component.spec.ts +23 -0
  27. package/src/lib/components/footfall-dic/footfall-dic.component.ts +1106 -0
  28. package/src/lib/components/group-select/group-select.component.html +44 -0
  29. package/src/lib/components/group-select/group-select.component.scss +144 -0
  30. package/src/lib/components/group-select/group-select.component.spec.ts +23 -0
  31. package/src/lib/components/group-select/group-select.component.ts +145 -0
  32. package/src/lib/components/re-trigger/re-trigger.component.html +53 -0
  33. package/src/lib/components/re-trigger/re-trigger.component.scss +16 -0
  34. package/src/lib/components/re-trigger/re-trigger.component.spec.ts +23 -0
  35. package/src/lib/components/re-trigger/re-trigger.component.ts +96 -0
  36. package/src/lib/components/reactive-select/reactive-select.component.html +18 -0
  37. package/src/lib/components/reactive-select/reactive-select.component.scss +52 -0
  38. package/src/lib/components/reactive-select/reactive-select.component.spec.ts +23 -0
  39. package/src/lib/components/reactive-select/reactive-select.component.ts +104 -0
  40. package/src/lib/components/tango-manage-tickets/tango-manage-tickets.component.html +38 -0
  41. package/src/lib/components/tango-manage-tickets/tango-manage-tickets.component.scss +35 -0
  42. package/src/lib/components/tango-manage-tickets/tango-manage-tickets.component.spec.ts +23 -0
  43. package/src/lib/components/tango-manage-tickets/tango-manage-tickets.component.ts +116 -0
  44. package/src/lib/components/tickets/tickets.component.html +439 -0
  45. package/src/lib/components/tickets/tickets.component.scss +131 -0
  46. package/src/lib/components/tickets/tickets.component.spec.ts +23 -0
  47. package/src/lib/components/tickets/tickets.component.ts +748 -0
  48. package/src/lib/services/excel.service.ts +48 -0
  49. package/src/lib/services/ticket.service.spec.ts +16 -0
  50. package/src/lib/services/ticket.service.ts +175 -0
  51. package/src/lib/tango-manage-tickets-routing.module.ts +16 -0
  52. package/src/lib/tango-manage-tickets.module.ts +34 -0
  53. package/{public-api.d.ts → src/public-api.ts} +8 -2
  54. package/tsconfig.lib.json +14 -0
  55. package/tsconfig.lib.prod.json +10 -0
  56. package/tsconfig.spec.json +14 -0
  57. package/esm2022/lib/components/add-csm-modal/add-csm-modal.component.mjs +0 -98
  58. package/esm2022/lib/components/audit-log/audit-log.component.mjs +0 -11
  59. package/esm2022/lib/components/audit-metrics/audit-metrics.component.mjs +0 -298
  60. package/esm2022/lib/components/comment-model/comment-model.component.mjs +0 -58
  61. package/esm2022/lib/components/count/count.component.mjs +0 -89
  62. package/esm2022/lib/components/footfall-dic/footfall-dic.component.mjs +0 -983
  63. package/esm2022/lib/components/group-select/group-select.component.mjs +0 -155
  64. package/esm2022/lib/components/re-trigger/re-trigger.component.mjs +0 -96
  65. package/esm2022/lib/components/reactive-select/reactive-select.component.mjs +0 -108
  66. package/esm2022/lib/components/tango-manage-tickets/tango-manage-tickets.component.mjs +0 -127
  67. package/esm2022/lib/components/tickets/tickets.component.mjs +0 -793
  68. package/esm2022/lib/services/excel.service.mjs +0 -45
  69. package/esm2022/lib/services/ticket.service.mjs +0 -161
  70. package/esm2022/lib/tango-manage-tickets-routing.module.mjs +0 -24
  71. package/esm2022/lib/tango-manage-tickets.module.mjs +0 -54
  72. package/esm2022/public-api.mjs +0 -6
  73. package/esm2022/tango-app-ui-manage-tickets.mjs +0 -5
  74. package/fesm2022/tango-app-ui-manage-tickets.mjs +0 -3006
  75. package/fesm2022/tango-app-ui-manage-tickets.mjs.map +0 -1
  76. package/index.d.ts +0 -5
  77. package/lib/components/add-csm-modal/add-csm-modal.component.d.ts +0 -30
  78. package/lib/components/audit-log/audit-log.component.d.ts +0 -5
  79. package/lib/components/audit-metrics/audit-metrics.component.d.ts +0 -59
  80. package/lib/components/comment-model/comment-model.component.d.ts +0 -17
  81. package/lib/components/count/count.component.d.ts +0 -23
  82. package/lib/components/footfall-dic/footfall-dic.component.d.ts +0 -139
  83. package/lib/components/group-select/group-select.component.d.ts +0 -33
  84. package/lib/components/re-trigger/re-trigger.component.d.ts +0 -32
  85. package/lib/components/reactive-select/reactive-select.component.d.ts +0 -32
  86. package/lib/components/tango-manage-tickets/tango-manage-tickets.component.d.ts +0 -27
  87. package/lib/components/tickets/tickets.component.d.ts +0 -84
  88. package/lib/services/excel.service.d.ts +0 -10
  89. package/lib/services/ticket.service.d.ts +0 -49
  90. package/lib/tango-manage-tickets-routing.module.d.ts +0 -7
  91. package/lib/tango-manage-tickets.module.d.ts +0 -21
package/index.d.ts DELETED
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="tango-app-ui-manage-tickets" />
5
- export * from './public-api';
@@ -1,30 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { FormControl } from '@angular/forms';
3
- import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
4
- import { GlobalStateService } from 'tango-app-ui-global';
5
- import { TicketService } from '../../services/ticket.service';
6
- import { ToastService } from 'tango-app-ui-shared';
7
- import * as i0 from "@angular/core";
8
- export declare class AddCsmModalComponent implements OnInit, OnDestroy {
9
- private activeModal;
10
- gs: GlobalStateService;
11
- private service;
12
- private toast;
13
- ticketId: any;
14
- csmUserList: any;
15
- csmSelectInput: FormControl<string | null>;
16
- private readonly destroy$;
17
- headerFilters: any;
18
- userList_req: {};
19
- users: any;
20
- userList: any;
21
- constructor(activeModal: NgbActiveModal, gs: GlobalStateService, service: TicketService, toast: ToastService);
22
- ngOnInit(): void;
23
- ngOnDestroy(): void;
24
- getuserlist(): void;
25
- assignCsm(): void;
26
- onCsmSelect(selectedCsm: any): void;
27
- cancel(): void;
28
- static ɵfac: i0.ɵɵFactoryDeclaration<AddCsmModalComponent, never>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<AddCsmModalComponent, "lib-add-csm-modal", never, { "ticketId": { "alias": "ticketId"; "required": false; }; }, {}, never, never, false, never>;
30
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class AuditLogComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<AuditLogComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<AuditLogComponent, "lib-audit-log", never, {}, {}, never, never, false, never>;
5
- }
@@ -1,59 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
3
- import { GlobalStateService } from 'tango-app-ui-global';
4
- import dayjs from "dayjs";
5
- import "dayjs/locale/en";
6
- import { TicketService } from '../../services/ticket.service';
7
- import { ToastService } from 'tango-app-ui-shared';
8
- import { ExcelService } from '../../services/excel.service';
9
- import * as i0 from "@angular/core";
10
- export declare class AuditMetricsComponent implements OnInit, OnDestroy {
11
- private gs;
12
- private modalService;
13
- private service;
14
- private toast;
15
- private excel;
16
- noData: boolean;
17
- loading: boolean;
18
- storesData: any;
19
- activity: any;
20
- activitylog: any;
21
- private readonly destroy$;
22
- headerFilter: any;
23
- sortColumName: any;
24
- sortBy: any;
25
- filterByClient: any;
26
- filterByStatus: any;
27
- pagination: any;
28
- searchTerm: any;
29
- limit: any;
30
- offset: any;
31
- selectedValue: string;
32
- dayjs: typeof dayjs;
33
- filterByStore: any;
34
- totalCount: any;
35
- selectedTab: any;
36
- dataObject: any;
37
- clientList: any;
38
- selectedType: any;
39
- constructor(gs: GlobalStateService, modalService: NgbModal, service: TicketService, toast: ToastService, excel: ExcelService);
40
- ngOnInit(): void;
41
- metricsList(): void;
42
- setItemsperPage(): any;
43
- getclientList(): void;
44
- ngOnDestroy(): void;
45
- receiveData(data: any): void;
46
- onPageChange(pageOffset: any): void;
47
- onPageSizeChange(pageSize: any): void;
48
- exportXLSX(): void;
49
- selectedTabs(data: any): void;
50
- searchData(): void;
51
- openBeforecount(value: any): void;
52
- openAftercount(value: any): void;
53
- openView(): void;
54
- openreTrigger(value: any): void;
55
- statusBadge(value: any): "badge-light-success" | "badge-light-warning" | "badge-light-primary";
56
- sortData(value: any): void;
57
- static ɵfac: i0.ɵɵFactoryDeclaration<AuditMetricsComponent, never>;
58
- static ɵcmp: i0.ɵɵComponentDeclaration<AuditMetricsComponent, "lib-audit-metrics", never, {}, {}, never, never, false, never>;
59
- }
@@ -1,17 +0,0 @@
1
- import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
2
- import { TicketService } from '../../services/ticket.service';
3
- import { ToastService } from 'tango-app-ui-shared';
4
- import * as i0 from "@angular/core";
5
- export declare class CommentModelComponent {
6
- private activeModal;
7
- private service;
8
- private toast;
9
- ticketId: any;
10
- comment: any;
11
- private readonly destroy$;
12
- constructor(activeModal: NgbActiveModal, service: TicketService, toast: ToastService);
13
- cancel(): void;
14
- commentSubmit(): void;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<CommentModelComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<CommentModelComponent, "lib-comment-model", never, { "ticketId": { "alias": "ticketId"; "required": false; }; }, {}, never, never, false, never>;
17
- }
@@ -1,23 +0,0 @@
1
- import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
2
- import { TicketService } from '../../services/ticket.service';
3
- import { ToastService } from 'tango-app-ui-shared';
4
- import { ExcelService } from '../../services/excel.service';
5
- import * as i0 from "@angular/core";
6
- export declare class CountComponent implements OnInit, OnDestroy {
7
- private Service;
8
- private toast;
9
- private excel;
10
- private cd;
11
- private readonly destroy$;
12
- data: any;
13
- loading: any;
14
- noData: any;
15
- auditImages: any;
16
- constructor(Service: TicketService, toast: ToastService, excel: ExcelService, cd: ChangeDetectorRef);
17
- ngOnInit(): void;
18
- ngOnDestroy(): void;
19
- getAuditImages(): void;
20
- exportTable(): void;
21
- static ɵfac: i0.ɵɵFactoryDeclaration<CountComponent, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<CountComponent, "lib-count", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, false, never>;
23
- }
@@ -1,139 +0,0 @@
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
- sortedColumn1: any;
23
- sortDirection1: any;
24
- footfallView: boolean;
25
- headerFilters: any;
26
- footfallList_req: any;
27
- form: any;
28
- selectedRevopsType: FormControl;
29
- revopsTypeArray: any;
30
- type: any;
31
- pendingArray: any;
32
- actionStatus: FormControl;
33
- filterForm: any;
34
- ticketData: any;
35
- selectedStores: any[];
36
- allSelected: boolean;
37
- stores: any[];
38
- private readonly destroy$;
39
- constructor(gs: GlobalStateService, ticketService: TicketService, cd: ChangeDetectorRef, toast: ToastService, modalService: NgbModal, excelservice: ExcelService, fb: FormBuilder);
40
- ngOnDestroy(): void;
41
- ngOnInit(): void;
42
- getFootfallSummaryData: any;
43
- getTicketSummary(): void;
44
- offset: number;
45
- limit: number;
46
- isExport: any;
47
- footfallListData: any;
48
- totalItems: any;
49
- paginationSizes: number[];
50
- getTicketList(): void;
51
- currentPage: any;
52
- pageSize: any;
53
- onPageChange(pageOffset: number): void;
54
- onPageSizeChange(pageSize: number): void;
55
- setpageSize(): any;
56
- searchData(): void;
57
- exportXLSX(): void;
58
- onSort(column: string): void;
59
- storeCount: any;
60
- searchStoresData(): void;
61
- StoresSearchValue: any;
62
- sortOrderStores: any;
63
- sortValue(column: string): void;
64
- getStores(): void;
65
- getTaggedStoresData: any;
66
- typeChange(event: any): void;
67
- pendingChange(event: any): void;
68
- RevopsTypeChange(event: any): void;
69
- footfalloffset: number;
70
- footfalllimit: number;
71
- footfallTicketsData: any;
72
- storeIdValue: any;
73
- dataReset(): void;
74
- dataApply(): void;
75
- imageUrl: any;
76
- dataIndexId: any;
77
- dateString: any;
78
- footfallNoData: boolean;
79
- footfallLoading: boolean;
80
- private lastSelectedTicket;
81
- hasInitialStoreSynced: boolean;
82
- addStoreIfNotExists(store: any): void;
83
- selecteValues: any;
84
- selectedStatus: any;
85
- dataStoreView(data?: any): void;
86
- isCollapsed: boolean;
87
- toggleSidebar(): void;
88
- matchedType: any;
89
- matchedArray: any;
90
- onFilterApply(): void;
91
- pageSizeFootfall: any;
92
- footfallcurrentPage: any;
93
- onFootfallPageChange(pageOffset: number): void;
94
- onFootfallPageSizeChange(pageSize: number): void;
95
- totalItemsFootfall: any;
96
- setFootfallpageSize(): any;
97
- footfallMulticurrentPage: any;
98
- onFootfallMultiPageChange(pageOffset: number): void;
99
- onFootfallMultiPageSizeChange(pageSize: number): void;
100
- toggleStoreSelection(store: any): void;
101
- toggleSelectAll(): void;
102
- isSelected(store: any): boolean;
103
- imgtoggleSelectAll(): void;
104
- selectedImagesList: any[];
105
- selectedDuplicateImagesList: any[];
106
- selectedHousekeepingImagesList: any[];
107
- selectedEmployeeImagesList: any[];
108
- houseKeepingACCount: any;
109
- employeeACCount: any;
110
- duplicateACCount: any;
111
- cloneWithoutSelected(obj: any): any;
112
- allSelectValue: boolean;
113
- cloneWithoutSelected1(data: any): any;
114
- onImageCheckboxChange1(data: any, category: string, parentOriginal?: any): void;
115
- selectAllValue(): void;
116
- areAllCheckboxesSelected(): boolean;
117
- checkedValue: boolean;
118
- onImageCheckboxChange(data: any, category: string, parentOriginal?: any): void;
119
- commentText: any;
120
- submitValue(status?: string, category?: string): void;
121
- searchTerm: any;
122
- get filteredStores(): any[];
123
- onImageError(event: any): void;
124
- backToNavigation(): void;
125
- zoomPopup: ElementRef;
126
- popupvalue: any;
127
- popupType: any;
128
- popupOpen(type: any, value: any): void;
129
- cancel(): void;
130
- clear(): void;
131
- ClusterList: any;
132
- getAllGroups(): void;
133
- groups: any;
134
- ongroupSelect(event: any): void;
135
- getFormattedEntryTime(entryTime: string): string;
136
- showSelectAllBox(): void;
137
- static ɵfac: i0.ɵɵFactoryDeclaration<FootfallDicComponent, never>;
138
- static ɵcmp: i0.ɵɵComponentDeclaration<FootfallDicComponent, "lib-footfall-dic", never, {}, {}, never, never, false, never>;
139
- }
@@ -1,33 +0,0 @@
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
- }
@@ -1,32 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
3
- import { TicketService } from '../../services/ticket.service';
4
- import * as i0 from "@angular/core";
5
- export declare class ReTriggerComponent implements OnInit, OnDestroy {
6
- activeModal: NgbActiveModal;
7
- private service;
8
- dropDown: boolean;
9
- loading: boolean;
10
- noData: boolean;
11
- dropdownItems: any[];
12
- selectedItem: any;
13
- selectedData: any;
14
- standardData: any;
15
- Comment: any;
16
- userId: any;
17
- private readonly destroy$;
18
- reTrigerData: any;
19
- userList: any;
20
- constructor(activeModal: NgbActiveModal, service: TicketService);
21
- onClick(event: MouseEvent): void;
22
- ngOnInit(): void;
23
- getuserList(): void;
24
- ngOnDestroy(): void;
25
- selectRadio(value: any): void;
26
- openDropdown(event: MouseEvent): void;
27
- selectItem(value: any): void;
28
- onReportSelect(event: any): void;
29
- closeModal(): void;
30
- static ɵfac: i0.ɵɵFactoryDeclaration<ReTriggerComponent, never>;
31
- static ɵcmp: i0.ɵɵComponentDeclaration<ReTriggerComponent, "lib-retrigger", never, { "reTrigerData": { "alias": "reTrigerData"; "required": false; }; }, {}, never, never, false, never>;
32
- }
@@ -1,32 +0,0 @@
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
- }
@@ -1,27 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { ActivatedRoute, Router } from '@angular/router';
3
- import { GlobalStateService, PageInfoService } from 'tango-app-ui-global';
4
- import { TicketService } from '../../services/ticket.service';
5
- import * as i0 from "@angular/core";
6
- export declare class TangoManageTicketsComponent implements OnInit, OnDestroy {
7
- private pageInfo;
8
- private route;
9
- private router;
10
- gs: GlobalStateService;
11
- private service;
12
- SelectedTab: any;
13
- private readonly destroy$;
14
- headerFilters: any;
15
- ticketAllCount: any;
16
- users: any;
17
- constructor(pageInfo: PageInfoService, route: ActivatedRoute, router: Router, gs: GlobalStateService, service: TicketService);
18
- ngOnInit(): void;
19
- updateStoreIdQueryParam(): void;
20
- setPageData(): void;
21
- Selectedtabs(value: any): void;
22
- ngOnDestroy(): void;
23
- onLoad(): void;
24
- getAllCount(): void;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<TangoManageTicketsComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<TangoManageTicketsComponent, "lib-tango-manage-tickets", never, {}, {}, never, never, false, never>;
27
- }
@@ -1,84 +0,0 @@
1
- import { ChangeDetectorRef, OnDestroy, OnInit } from "@angular/core";
2
- import { ActivatedRoute, Router } from "@angular/router";
3
- import { GlobalStateService } from "tango-app-ui-global";
4
- import { NgbModal } from "@ng-bootstrap/ng-bootstrap";
5
- import { TicketService } from "../../services/ticket.service";
6
- import { ExcelService } from '../../services/excel.service';
7
- import * as i0 from "@angular/core";
8
- export declare class TicketsComponent implements OnInit, OnDestroy {
9
- private cd;
10
- private router;
11
- private route;
12
- gs: GlobalStateService;
13
- private modalService;
14
- private service;
15
- private excelservice;
16
- type: string;
17
- searchValue: any;
18
- selectedTab: any;
19
- itemsPerPage: number;
20
- currentPage: number;
21
- totalItems: number;
22
- paginationSizes: number[];
23
- pageSize: number;
24
- private readonly destroy$;
25
- assignTicket: boolean;
26
- filterByStores: any;
27
- filterByinstalled: any;
28
- filterByStatus: any;
29
- filterByQueryType: any;
30
- issueType: any;
31
- sortedColumn: string;
32
- sortDirection: number;
33
- headerFilters: any;
34
- userList_req: any;
35
- userList: any;
36
- dataObject: any;
37
- storeList: any;
38
- statusType: {
39
- text: string;
40
- id: string;
41
- }[];
42
- typeName: string;
43
- users: any;
44
- limit: number;
45
- offset: number;
46
- sortBy: any;
47
- sortColumName: any;
48
- listArray: any;
49
- tableListArray: any;
50
- loading: boolean;
51
- noData: boolean;
52
- selectAll: any;
53
- assignStores: any;
54
- issueTypeList: any;
55
- queryTypeList: any;
56
- constructor(cd: ChangeDetectorRef, router: Router, route: ActivatedRoute, gs: GlobalStateService, modalService: NgbModal, service: TicketService, excelservice: ExcelService);
57
- ngOnInit(): void;
58
- getInitload(): void;
59
- getstoreFilter(): void;
60
- getuserlist(): void;
61
- ngOnDestroy(): void;
62
- searchData(): void;
63
- onSort(column: string): void;
64
- exportXLSX(): void;
65
- selectedTabs(type: any): void;
66
- transformName(name: string): string;
67
- onPageChange(pageOffset: number): void;
68
- onPageSizeChange(pageSize: number): void;
69
- selectAllStore(event: any): void;
70
- updateCheck(event: any, ticketId: any): void;
71
- addAssignTicket(): void;
72
- applyFilters(event: any): void;
73
- getTable(): void;
74
- routeToStore(storeId: any, clientId: any): void;
75
- routeToMat(storeId: any, clientId: any, clientName: any): void;
76
- commentModal(obj: any): void;
77
- tickets(type: any, clientId: any, storeId: any, clientName: any): void;
78
- clientTickets(clientId: any, storeId: any, clientName: any): void;
79
- storeTickets(clientId: any, storeId: any, clientName: any): void;
80
- userTickets(clientId: any, storeId: any): void;
81
- setpageSize(): number;
82
- static ɵfac: i0.ɵɵFactoryDeclaration<TicketsComponent, never>;
83
- static ɵcmp: i0.ɵɵComponentDeclaration<TicketsComponent, "lib-tickets", never, {}, {}, never, never, false, never>;
84
- }
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class ExcelService {
3
- constructor();
4
- exportAsExcelFile(json: any[], excelFileName: string): void;
5
- saveAsExcelFile(buffer: any, fileName: string): void;
6
- private saveAsTemplate;
7
- saveAsZipFile(buffer: any, fileName: string): void;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<ExcelService, never>;
9
- static ɵprov: i0.ɵɵInjectableDeclaration<ExcelService>;
10
- }
@@ -1,49 +0,0 @@
1
- import { HttpClient } from '@angular/common/http';
2
- import { GlobalStateService } from 'tango-app-ui-global';
3
- import { BehaviorSubject, Observable } from "rxjs";
4
- import * as i0 from "@angular/core";
5
- export declare class TicketService {
6
- private http;
7
- private gs;
8
- userApiUrl: any;
9
- ticketsApiUrl: any;
10
- auditApiUrl: any;
11
- auditmetricApiUrl: any;
12
- zoneauditApiUrl: any;
13
- footfallDirapiUrl: any;
14
- footfallCDN: any;
15
- trafficApiUrl: any;
16
- dropDownTrigger: BehaviorSubject<any>;
17
- constructor(http: HttpClient, gs: GlobalStateService);
18
- getUserList(params: any): Observable<any>;
19
- exportInstallationList(data: any): Observable<ArrayBuffer>;
20
- exportInfraList(data: any): Observable<ArrayBuffer>;
21
- exportMatList(data: any): Observable<ArrayBuffer>;
22
- getSotresList(data: any): Observable<any>;
23
- getInstallationList(data: any): Observable<any>;
24
- getInfraList(data: any): Observable<any>;
25
- getAssignTicket(data: any): Observable<any>;
26
- getMatList(data: any): Observable<any>;
27
- updateTicketIssue(data: any): Observable<any>;
28
- getUserActiveList(params: any): Observable<any>;
29
- getDataMismathList(data: any): Observable<any>;
30
- exportDataMismatchList(data: any): Observable<ArrayBuffer>;
31
- getAllCounts(data: any): Observable<any>;
32
- getstoreMetrics(data: any): Observable<Object>;
33
- getstoreMetricsExport(data: any): Observable<ArrayBuffer>;
34
- getclientList(): Observable<Object>;
35
- getuserList(): Observable<Object>;
36
- auditretrigger(data: any): Observable<Object>;
37
- getstoreList(data: any): Observable<Object>;
38
- getAuditImages(data: any): Observable<Object>;
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, sortOrder: any): Observable<any>;
45
- getUpdateStatusApi(data: any): Observable<any>;
46
- getclusters(data: any): Observable<Object>;
47
- static ɵfac: i0.ɵɵFactoryDeclaration<TicketService, never>;
48
- static ɵprov: i0.ɵɵInjectableDeclaration<TicketService>;
49
- }
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@angular/router";
3
- export declare class TangoManageTicketsRoutingModule {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<TangoManageTicketsRoutingModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<TangoManageTicketsRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
6
- static ɵinj: i0.ɵɵInjectorDeclaration<TangoManageTicketsRoutingModule>;
7
- }
@@ -1,21 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./components/tango-manage-tickets/tango-manage-tickets.component";
3
- import * as i2 from "./components/tickets/tickets.component";
4
- import * as i3 from "./components/add-csm-modal/add-csm-modal.component";
5
- import * as i4 from "./components/comment-model/comment-model.component";
6
- import * as i5 from "./components/audit-metrics/audit-metrics.component";
7
- import * as i6 from "./components/re-trigger/re-trigger.component";
8
- import * as i7 from "./components/audit-log/audit-log.component";
9
- import * as i8 from "./components/count/count.component";
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";
17
- export declare class TangoManageTicketsModule {
18
- static ɵfac: i0.ɵɵFactoryDeclaration<TangoManageTicketsModule, 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>;
20
- static ɵinj: i0.ɵɵInjectorDeclaration<TangoManageTicketsModule>;
21
- }