tango-app-ui-manage-tickets 3.7.0-beta.60 → 3.7.0-beta.62
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/add-csm-modal/add-csm-modal.component.mjs +98 -0
- package/esm2022/lib/components/audit-log/audit-log.component.mjs +11 -0
- package/esm2022/lib/components/audit-mapping-list/audit-mapping-list.component.mjs +486 -0
- package/esm2022/lib/components/audit-metrics/audit-metrics.component.mjs +298 -0
- package/esm2022/lib/components/audit-report-popup/audit-report-popup.component.mjs +389 -0
- package/esm2022/lib/components/audit-retag/audit-retag.component.mjs +472 -0
- package/esm2022/lib/components/comment-model/comment-model.component.mjs +58 -0
- package/esm2022/lib/components/count/count.component.mjs +89 -0
- package/esm2022/lib/components/custom-select/custom-select.component.mjs +187 -0
- package/esm2022/lib/components/filter-options/filter-options.component.mjs +41 -0
- package/esm2022/lib/components/footfall-dic/footfall-dic.component.mjs +1061 -0
- package/esm2022/lib/components/footfall-dicview/footfall-dicview.component.mjs +1014 -0
- package/esm2022/lib/components/footfall-popup/footfall-popup.component.mjs +15 -0
- package/esm2022/lib/components/group-select/group-select.component.mjs +155 -0
- package/esm2022/lib/components/re-trigger/re-trigger.component.mjs +96 -0
- package/esm2022/lib/components/reactive-select/reactive-select.component.mjs +108 -0
- package/esm2022/lib/components/remove-audit/remove-audit.component.mjs +81 -0
- package/esm2022/lib/components/start-audit/start-audit.component.mjs +761 -0
- package/esm2022/lib/components/tango-manage-tickets/tango-manage-tickets.component.mjs +131 -0
- package/esm2022/lib/components/ticket-filter-panel/ticket-filter-panel.component.mjs +435 -0
- package/esm2022/lib/components/ticket-footfall-new/ticket-footfall-new.component.mjs +2748 -0
- package/esm2022/lib/components/ticketclosepopup/ticketclosepopup.component.mjs +43 -0
- package/esm2022/lib/components/tickets/tickets.component.mjs +847 -0
- package/esm2022/lib/components/viewcategory/viewcategory.component.mjs +89 -0
- package/esm2022/lib/services/audit.service.mjs +88 -0
- package/esm2022/lib/services/excel.service.mjs +45 -0
- package/esm2022/lib/services/ticket.service.mjs +319 -0
- package/esm2022/lib/services/timer.service.mjs +84 -0
- package/esm2022/lib/tango-manage-tickets-routing.module.mjs +44 -0
- package/esm2022/lib/tango-manage-tickets.module.mjs +109 -0
- package/esm2022/public-api.mjs +6 -0
- package/esm2022/tango-app-ui-manage-tickets.mjs +5 -0
- package/fesm2022/tango-app-ui-manage-tickets.mjs +10165 -0
- package/fesm2022/tango-app-ui-manage-tickets.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/components/add-csm-modal/add-csm-modal.component.d.ts +30 -0
- package/lib/components/audit-log/audit-log.component.d.ts +5 -0
- package/lib/components/audit-mapping-list/audit-mapping-list.component.d.ts +73 -0
- package/lib/components/audit-metrics/audit-metrics.component.d.ts +59 -0
- package/lib/components/audit-report-popup/audit-report-popup.component.d.ts +52 -0
- package/lib/components/audit-retag/audit-retag.component.d.ts +59 -0
- package/lib/components/comment-model/comment-model.component.d.ts +17 -0
- package/lib/components/count/count.component.d.ts +23 -0
- package/lib/components/custom-select/custom-select.component.d.ts +35 -0
- package/lib/components/filter-options/filter-options.component.d.ts +15 -0
- package/lib/components/footfall-dic/footfall-dic.component.d.ts +143 -0
- package/lib/components/footfall-dicview/footfall-dicview.component.d.ts +132 -0
- package/lib/components/footfall-popup/footfall-popup.component.d.ts +8 -0
- package/lib/components/group-select/group-select.component.d.ts +33 -0
- package/lib/components/re-trigger/re-trigger.component.d.ts +32 -0
- package/lib/components/reactive-select/reactive-select.component.d.ts +32 -0
- package/lib/components/remove-audit/remove-audit.component.d.ts +16 -0
- package/lib/components/start-audit/start-audit.component.d.ts +86 -0
- package/lib/components/tango-manage-tickets/tango-manage-tickets.component.d.ts +28 -0
- package/lib/components/ticket-filter-panel/ticket-filter-panel.component.d.ts +79 -0
- package/lib/components/ticket-footfall-new/ticket-footfall-new.component.d.ts +287 -0
- package/lib/components/ticketclosepopup/ticketclosepopup.component.d.ts +15 -0
- package/lib/components/tickets/tickets.component.d.ts +88 -0
- package/lib/components/viewcategory/viewcategory.component.d.ts +16 -0
- package/lib/services/audit.service.d.ts +36 -0
- package/lib/services/excel.service.d.ts +10 -0
- package/lib/services/ticket.service.d.ts +87 -0
- package/lib/services/timer.service.d.ts +22 -0
- package/lib/tango-manage-tickets-routing.module.d.ts +7 -0
- package/lib/tango-manage-tickets.module.d.ts +38 -0
- package/package.json +25 -12
- package/{src/public-api.ts → public-api.d.ts} +2 -8
- package/.eslintrc.json +0 -37
- package/ng-package.json +0 -7
- package/src/lib/components/add-csm-modal/add-csm-modal.component.html +0 -32
- package/src/lib/components/add-csm-modal/add-csm-modal.component.scss +0 -14
- package/src/lib/components/add-csm-modal/add-csm-modal.component.spec.ts +0 -23
- package/src/lib/components/add-csm-modal/add-csm-modal.component.ts +0 -94
- package/src/lib/components/audit-log/audit-log.component.html +0 -1
- package/src/lib/components/audit-log/audit-log.component.scss +0 -0
- package/src/lib/components/audit-log/audit-log.component.spec.ts +0 -23
- package/src/lib/components/audit-log/audit-log.component.ts +0 -10
- package/src/lib/components/audit-mapping-list/audit-mapping-list.component.html +0 -234
- package/src/lib/components/audit-mapping-list/audit-mapping-list.component.scss +0 -186
- package/src/lib/components/audit-mapping-list/audit-mapping-list.component.spec.ts +0 -23
- package/src/lib/components/audit-mapping-list/audit-mapping-list.component.ts +0 -520
- package/src/lib/components/audit-metrics/audit-metrics.component.html +0 -345
- package/src/lib/components/audit-metrics/audit-metrics.component.scss +0 -34
- package/src/lib/components/audit-metrics/audit-metrics.component.spec.ts +0 -23
- package/src/lib/components/audit-metrics/audit-metrics.component.ts +0 -292
- package/src/lib/components/audit-report-popup/audit-report-popup.component.html +0 -111
- package/src/lib/components/audit-report-popup/audit-report-popup.component.scss +0 -101
- package/src/lib/components/audit-report-popup/audit-report-popup.component.spec.ts +0 -23
- package/src/lib/components/audit-report-popup/audit-report-popup.component.ts +0 -397
- package/src/lib/components/audit-retag/audit-retag.component.html +0 -129
- package/src/lib/components/audit-retag/audit-retag.component.scss +0 -146
- package/src/lib/components/audit-retag/audit-retag.component.spec.ts +0 -23
- package/src/lib/components/audit-retag/audit-retag.component.ts +0 -489
- package/src/lib/components/comment-model/comment-model.component.html +0 -24
- package/src/lib/components/comment-model/comment-model.component.scss +0 -20
- package/src/lib/components/comment-model/comment-model.component.spec.ts +0 -23
- package/src/lib/components/comment-model/comment-model.component.ts +0 -53
- package/src/lib/components/count/count.component.html +0 -54
- package/src/lib/components/count/count.component.scss +0 -14
- package/src/lib/components/count/count.component.spec.ts +0 -23
- package/src/lib/components/count/count.component.ts +0 -82
- package/src/lib/components/custom-select/custom-select.component.html +0 -134
- package/src/lib/components/custom-select/custom-select.component.scss +0 -204
- package/src/lib/components/custom-select/custom-select.component.spec.ts +0 -23
- package/src/lib/components/custom-select/custom-select.component.ts +0 -189
- package/src/lib/components/filter-options/filter-options.component.html +0 -51
- package/src/lib/components/filter-options/filter-options.component.scss +0 -102
- package/src/lib/components/filter-options/filter-options.component.spec.ts +0 -23
- package/src/lib/components/filter-options/filter-options.component.ts +0 -38
- package/src/lib/components/footfall-dic/footfall-dic.component.html +0 -1275
- package/src/lib/components/footfall-dic/footfall-dic.component.scss +0 -273
- package/src/lib/components/footfall-dic/footfall-dic.component.spec.ts +0 -23
- package/src/lib/components/footfall-dic/footfall-dic.component.ts +0 -1206
- package/src/lib/components/footfall-dicview/footfall-dicview.component.html +0 -1136
- package/src/lib/components/footfall-dicview/footfall-dicview.component.scss +0 -416
- package/src/lib/components/footfall-dicview/footfall-dicview.component.spec.ts +0 -23
- package/src/lib/components/footfall-dicview/footfall-dicview.component.ts +0 -1168
- package/src/lib/components/footfall-popup/footfall-popup.component.html +0 -61
- package/src/lib/components/footfall-popup/footfall-popup.component.scss +0 -20
- package/src/lib/components/footfall-popup/footfall-popup.component.spec.ts +0 -23
- package/src/lib/components/footfall-popup/footfall-popup.component.ts +0 -12
- package/src/lib/components/group-select/group-select.component.html +0 -44
- package/src/lib/components/group-select/group-select.component.scss +0 -144
- package/src/lib/components/group-select/group-select.component.spec.ts +0 -23
- package/src/lib/components/group-select/group-select.component.ts +0 -145
- package/src/lib/components/re-trigger/re-trigger.component.html +0 -53
- package/src/lib/components/re-trigger/re-trigger.component.scss +0 -16
- package/src/lib/components/re-trigger/re-trigger.component.spec.ts +0 -23
- package/src/lib/components/re-trigger/re-trigger.component.ts +0 -96
- package/src/lib/components/reactive-select/reactive-select.component.html +0 -18
- package/src/lib/components/reactive-select/reactive-select.component.scss +0 -52
- package/src/lib/components/reactive-select/reactive-select.component.spec.ts +0 -23
- package/src/lib/components/reactive-select/reactive-select.component.ts +0 -104
- package/src/lib/components/remove-audit/remove-audit.component.html +0 -38
- package/src/lib/components/remove-audit/remove-audit.component.scss +0 -27
- package/src/lib/components/remove-audit/remove-audit.component.spec.ts +0 -23
- package/src/lib/components/remove-audit/remove-audit.component.ts +0 -81
- package/src/lib/components/start-audit/start-audit.component.html +0 -174
- package/src/lib/components/start-audit/start-audit.component.scss +0 -185
- package/src/lib/components/start-audit/start-audit.component.spec.ts +0 -23
- package/src/lib/components/start-audit/start-audit.component.ts +0 -761
- package/src/lib/components/tango-manage-tickets/tango-manage-tickets.component.html +0 -43
- package/src/lib/components/tango-manage-tickets/tango-manage-tickets.component.scss +0 -35
- package/src/lib/components/tango-manage-tickets/tango-manage-tickets.component.spec.ts +0 -23
- package/src/lib/components/tango-manage-tickets/tango-manage-tickets.component.ts +0 -118
- package/src/lib/components/ticket-filter-panel/ticket-filter-panel.component.html +0 -386
- package/src/lib/components/ticket-filter-panel/ticket-filter-panel.component.scss +0 -87
- package/src/lib/components/ticket-filter-panel/ticket-filter-panel.component.spec.ts +0 -23
- package/src/lib/components/ticket-filter-panel/ticket-filter-panel.component.ts +0 -494
- package/src/lib/components/ticket-footfall-new/ticket-footfall-new.component.html +0 -4743
- package/src/lib/components/ticket-footfall-new/ticket-footfall-new.component.scss +0 -1208
- package/src/lib/components/ticket-footfall-new/ticket-footfall-new.component.spec.ts +0 -23
- package/src/lib/components/ticket-footfall-new/ticket-footfall-new.component.ts +0 -3351
- package/src/lib/components/ticketclosepopup/ticketclosepopup.component.html +0 -100
- package/src/lib/components/ticketclosepopup/ticketclosepopup.component.scss +0 -34
- package/src/lib/components/ticketclosepopup/ticketclosepopup.component.spec.ts +0 -23
- package/src/lib/components/ticketclosepopup/ticketclosepopup.component.ts +0 -48
- package/src/lib/components/tickets/tickets.component.html +0 -451
- package/src/lib/components/tickets/tickets.component.scss +0 -131
- package/src/lib/components/tickets/tickets.component.spec.ts +0 -23
- package/src/lib/components/tickets/tickets.component.ts +0 -809
- package/src/lib/components/viewcategory/viewcategory.component.html +0 -38
- package/src/lib/components/viewcategory/viewcategory.component.scss +0 -29
- package/src/lib/components/viewcategory/viewcategory.component.spec.ts +0 -23
- package/src/lib/components/viewcategory/viewcategory.component.ts +0 -79
- package/src/lib/services/audit.service.spec.ts +0 -16
- package/src/lib/services/audit.service.ts +0 -98
- package/src/lib/services/excel.service.ts +0 -48
- package/src/lib/services/ticket.service.spec.ts +0 -16
- package/src/lib/services/ticket.service.ts +0 -501
- package/src/lib/services/timer.service.spec.ts +0 -16
- package/src/lib/services/timer.service.ts +0 -92
- package/src/lib/tango-manage-tickets-routing.module.ts +0 -37
- package/src/lib/tango-manage-tickets.module.ts +0 -68
- package/tsconfig.lib.json +0 -14
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -14
|
@@ -1,345 +0,0 @@
|
|
|
1
|
-
<div class="card">
|
|
2
|
-
<div class="card-header border-0 pt-3">
|
|
3
|
-
<h3 class="card-title align-items-start flex-column">
|
|
4
|
-
<span class="card-label mb-2">Audit Metrics</span>
|
|
5
|
-
<!-- <span class="text-sub mb-2">Last updated 1 hour ago</span> -->
|
|
6
|
-
</h3>
|
|
7
|
-
<div class="card-toolbar">
|
|
8
|
-
<div class="d-flex">
|
|
9
|
-
<div class="d-flex align-items-center position-relative my-1">
|
|
10
|
-
<span class="svg-icon svg-icon-1 position-absolute ms-3">
|
|
11
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
|
|
12
|
-
<rect opacity="0.5" x="17.0365" y="15.1223" width="8.15546" height="2" rx="1"
|
|
13
|
-
transform="rotate(45 17.0365 15.1223)" fill="currentColor"></rect>
|
|
14
|
-
<path
|
|
15
|
-
d="M11 19C6.55556 19 3 15.4444 3 11C3 6.55556 6.55556 3 11 3C15.4444 3 19 6.55556 19 11C19 15.4444 15.4444 19 11 19ZM11 5C7.53333 5 5 7.53333 5 11C5 14.4667 7.53333 17 11 17C14.4667 17 17 14.4667 17 11C17 7.53333 14.4667 5 11 5Z"
|
|
16
|
-
fill="currentColor"></path>
|
|
17
|
-
</svg>
|
|
18
|
-
</span>
|
|
19
|
-
<input type="text" class="form-control ps-14 me-2" placeholder="Search" autocomplete="off"
|
|
20
|
-
(change)="searchData()" [(ngModel)]="searchTerm" />
|
|
21
|
-
|
|
22
|
-
<lib-filters *ngIf="clientList" [dataObject]="dataObject" (appliedFilters)="receiveData($event)"></lib-filters>
|
|
23
|
-
|
|
24
|
-
<button type="button" *ngIf="!noData&&!loading" (click)="exportXLSX()"
|
|
25
|
-
class="btn btn-default mx-2 btn-outline btn-outline-default rounded-3 text-nowrap border-val">
|
|
26
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
|
|
27
|
-
<path
|
|
28
|
-
d="M17.5 12.5V15.8333C17.5 16.2754 17.3244 16.6993 17.0118 17.0118C16.6993 17.3244 16.2754 17.5 15.8333 17.5H4.16667C3.72464 17.5 3.30072 17.3244 2.98816 17.0118C2.67559 16.6993 2.5 16.2754 2.5 15.8333V12.5M14.1667 6.66667L10 2.5M10 2.5L5.83333 6.66667M10 2.5V12.5"
|
|
29
|
-
stroke="#344054" stroke-width="1.67" stroke-linecap="round" stroke-linejoin="round" />
|
|
30
|
-
</svg>
|
|
31
|
-
<span class="ms-2">Export</span>
|
|
32
|
-
</button>
|
|
33
|
-
</div>
|
|
34
|
-
</div>
|
|
35
|
-
</div>
|
|
36
|
-
</div>
|
|
37
|
-
<div class="card-body">
|
|
38
|
-
<ul class="nav nav-stretch nav-line-tabs1 nav-line-tabs border-transparent flex-nowrap horizontal-scroll">
|
|
39
|
-
<li class="nav-item" (click)="selectedTabs('all')">
|
|
40
|
-
<a [ngClass]="selectedTab === '' ? 'active' : ''" class="nav-link cursor-pointer no-border me-2">
|
|
41
|
-
All <span class="mx-2"
|
|
42
|
-
[ngClass]="selectedTab === '' ? 'text-border-priamry' : 'text-border'">{{totalCount?.totalauditCount ? totalCount?.totalauditCount : 0}}</span>
|
|
43
|
-
</a>
|
|
44
|
-
</li>
|
|
45
|
-
<li class="nav-item" (click)="selectedTabs('Audit')">
|
|
46
|
-
<a [ngClass]="selectedTab === 'Audit' ? 'active' :''" class="nav-link cursor-pointer no-border me-2">
|
|
47
|
-
Audit <span class="mx-2"
|
|
48
|
-
[ngClass]="selectedTab === 'Audit' ? 'text-border-priamry' : 'text-border'">{{totalCount?.auditCount ? totalCount?.auditCount : 0}}</span>
|
|
49
|
-
</a>
|
|
50
|
-
</li>
|
|
51
|
-
<li class="nav-item" (click)="selectedTabs('ReAudit')">
|
|
52
|
-
<a [ngClass]="selectedTab === 'ReAudit' ? 'active' : ''" class="nav-link cursor-pointer no-border me-2">
|
|
53
|
-
Re Audit <span class="mx-2"
|
|
54
|
-
[ngClass]="selectedTab === 'ReAudit' ? 'text-border-priamry' : 'text-border'">{{totalCount?.reauditCount ? totalCount?.reauditCount : 0}}</span>
|
|
55
|
-
</a>
|
|
56
|
-
</li>
|
|
57
|
-
</ul>
|
|
58
|
-
<div *ngIf="!loading && !noData" class="mt-5">
|
|
59
|
-
<div class="table-responsive">
|
|
60
|
-
<table class="table bottom-border text-nowrap">
|
|
61
|
-
<thead>
|
|
62
|
-
<tr>
|
|
63
|
-
<th>File Date</th>
|
|
64
|
-
<th><div class="cursor-pointer" (click)="sortData('storeName')">
|
|
65
|
-
Store Name
|
|
66
|
-
<span
|
|
67
|
-
*ngIf="sortColumName === 'storeName' && sortBy !== 1 || sortColumName !== 'storeName'">
|
|
68
|
-
<svg width="12" height="12" viewBox="0 0 12 12"
|
|
69
|
-
fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
70
|
-
<path
|
|
71
|
-
d="M6.00016 1.33337V10.6667M6.00016 10.6667L10.6668 6.00004M6.00016 10.6667L1.3335 6.00004"
|
|
72
|
-
stroke="#667085" stroke-width="1.33333"
|
|
73
|
-
stroke-linecap="round"
|
|
74
|
-
stroke-linejoin="round" />
|
|
75
|
-
</svg>
|
|
76
|
-
</span>
|
|
77
|
-
<span
|
|
78
|
-
*ngIf="sortColumName === 'storeName' && sortBy !== -1">
|
|
79
|
-
<svg width="12" height="12" viewBox="0 0 12 12"
|
|
80
|
-
fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
81
|
-
<path
|
|
82
|
-
d="M6.00016 10.6667L6.00016 1.33337M6.00016 1.33337L1.3335 6.00004M6.00016 1.33337L10.6668 6.00004"
|
|
83
|
-
stroke="#667085" stroke-width="1.33333"
|
|
84
|
-
stroke-linecap="round"
|
|
85
|
-
stroke-linejoin="round" />
|
|
86
|
-
</svg>
|
|
87
|
-
</span>
|
|
88
|
-
|
|
89
|
-
</div></th>
|
|
90
|
-
<th><div class="cursor-pointer" (click)="sortData('storeId')">
|
|
91
|
-
Store Id
|
|
92
|
-
<span
|
|
93
|
-
*ngIf="sortColumName === 'storeId' && sortBy !== 1 || sortColumName !== 'storeId'">
|
|
94
|
-
<svg width="12" height="12" viewBox="0 0 12 12"
|
|
95
|
-
fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
96
|
-
<path
|
|
97
|
-
d="M6.00016 1.33337V10.6667M6.00016 10.6667L10.6668 6.00004M6.00016 10.6667L1.3335 6.00004"
|
|
98
|
-
stroke="#667085" stroke-width="1.33333"
|
|
99
|
-
stroke-linecap="round"
|
|
100
|
-
stroke-linejoin="round"/>
|
|
101
|
-
</svg>
|
|
102
|
-
</span>
|
|
103
|
-
<span
|
|
104
|
-
*ngIf="sortColumName === 'storeId' && sortBy !== -1">
|
|
105
|
-
<svg width="12" height="12" viewBox="0 0 12 12"
|
|
106
|
-
fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
107
|
-
<path
|
|
108
|
-
d="M6.00016 10.6667L6.00016 1.33337M6.00016 1.33337L1.3335 6.00004M6.00016 1.33337L10.6668 6.00004"
|
|
109
|
-
stroke="#667085" stroke-width="1.33333"
|
|
110
|
-
stroke-linecap="round"
|
|
111
|
-
stroke-linejoin="round" />
|
|
112
|
-
</svg>
|
|
113
|
-
</span>
|
|
114
|
-
|
|
115
|
-
</div></th>
|
|
116
|
-
<th><div class="cursor-pointer" (click)="sortData('userName')">
|
|
117
|
-
User Name
|
|
118
|
-
<span
|
|
119
|
-
*ngIf="sortColumName === 'userName' && sortBy !== 1 || sortColumName !== 'userName'">
|
|
120
|
-
<svg width="12" height="12" viewBox="0 0 12 12"
|
|
121
|
-
fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
122
|
-
<path
|
|
123
|
-
d="M6.00016 1.33337V10.6667M6.00016 10.6667L10.6668 6.00004M6.00016 10.6667L1.3335 6.00004"
|
|
124
|
-
stroke="#667085" stroke-width="1.33333"
|
|
125
|
-
stroke-linecap="round"
|
|
126
|
-
stroke-linejoin="round" />
|
|
127
|
-
</svg>
|
|
128
|
-
</span>
|
|
129
|
-
<span
|
|
130
|
-
*ngIf="sortColumName === 'userName' && sortBy !== -1">
|
|
131
|
-
<svg width="12" height="12" viewBox="0 0 12 12"
|
|
132
|
-
fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
133
|
-
<path
|
|
134
|
-
d="M6.00016 10.6667L6.00016 1.33337M6.00016 1.33337L1.3335 6.00004M6.00016 1.33337L10.6668 6.00004"
|
|
135
|
-
stroke="#667085" stroke-width="1.33333"
|
|
136
|
-
stroke-linecap="round"
|
|
137
|
-
stroke-linejoin="round"/>
|
|
138
|
-
</svg>
|
|
139
|
-
</span>
|
|
140
|
-
|
|
141
|
-
</div></th>
|
|
142
|
-
<th><div class="cursor-pointer" (click)="sortData('userEmail')">
|
|
143
|
-
User Email
|
|
144
|
-
<span
|
|
145
|
-
*ngIf="sortColumName === 'userEmail' && sortBy !== 1 || sortColumName !== 'userEmail'">
|
|
146
|
-
<svg width="12" height="12" viewBox="0 0 12 12"
|
|
147
|
-
fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
148
|
-
<path
|
|
149
|
-
d="M6.00016 1.33337V10.6667M6.00016 10.6667L10.6668 6.00004M6.00016 10.6667L1.3335 6.00004"
|
|
150
|
-
stroke="#667085" stroke-width="1.33333"
|
|
151
|
-
stroke-linecap="round"
|
|
152
|
-
stroke-linejoin="round" />
|
|
153
|
-
</svg>
|
|
154
|
-
</span>
|
|
155
|
-
<span
|
|
156
|
-
*ngIf="sortColumName === 'userEmail' && sortBy !== -1">
|
|
157
|
-
<svg width="12" height="12" viewBox="0 0 12 12"
|
|
158
|
-
fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
159
|
-
<path
|
|
160
|
-
d="M6.00016 10.6667L6.00016 1.33337M6.00016 1.33337L1.3335 6.00004M6.00016 1.33337L10.6668 6.00004"
|
|
161
|
-
stroke="#667085" stroke-width="1.33333"
|
|
162
|
-
stroke-linecap="round"
|
|
163
|
-
stroke-linejoin="round" />
|
|
164
|
-
</svg>
|
|
165
|
-
</span>
|
|
166
|
-
|
|
167
|
-
</div></th>
|
|
168
|
-
<th>BC</th>
|
|
169
|
-
<th>AC</th>
|
|
170
|
-
<th><div class="cursor-pointer" (click)="sortData('accuracy')">
|
|
171
|
-
Accuracy
|
|
172
|
-
<span
|
|
173
|
-
*ngIf="sortColumName === 'accuracy' && sortBy !== 1 || sortColumName !== 'accuracy'">
|
|
174
|
-
<svg width="12" height="12" viewBox="0 0 12 12"
|
|
175
|
-
fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
176
|
-
<path
|
|
177
|
-
d="M6.00016 1.33337V10.6667M6.00016 10.6667L10.6668 6.00004M6.00016 10.6667L1.3335 6.00004"
|
|
178
|
-
stroke="#667085" stroke-width="1.33333"
|
|
179
|
-
stroke-linecap="round"
|
|
180
|
-
stroke-linejoin="round" />
|
|
181
|
-
</svg>
|
|
182
|
-
</span>
|
|
183
|
-
<span
|
|
184
|
-
*ngIf="sortColumName === 'accuracy' && sortBy !== -1">
|
|
185
|
-
<svg width="12" height="12" viewBox="0 0 12 12"
|
|
186
|
-
fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
187
|
-
<path
|
|
188
|
-
d="M6.00016 10.6667L6.00016 1.33337M6.00016 1.33337L1.3335 6.00004M6.00016 1.33337L10.6668 6.00004"
|
|
189
|
-
stroke="#667085" stroke-width="1.33333"
|
|
190
|
-
stroke-linecap="round"
|
|
191
|
-
stroke-linejoin="round" />
|
|
192
|
-
</svg>
|
|
193
|
-
</span>
|
|
194
|
-
|
|
195
|
-
</div></th>
|
|
196
|
-
<th><div class="cursor-pointer" (click)="sortData('timeSpent')">
|
|
197
|
-
TimeSpent
|
|
198
|
-
<span
|
|
199
|
-
*ngIf="sortColumName === 'timeSpent' && sortBy !== 1 || sortColumName !== 'timeSpent'">
|
|
200
|
-
<svg width="12" height="12" viewBox="0 0 12 12"
|
|
201
|
-
fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
202
|
-
<path
|
|
203
|
-
d="M6.00016 1.33337V10.6667M6.00016 10.6667L10.6668 6.00004M6.00016 10.6667L1.3335 6.00004"
|
|
204
|
-
stroke="#667085" stroke-width="1.33333"
|
|
205
|
-
stroke-linecap="round"
|
|
206
|
-
stroke-linejoin="round" />
|
|
207
|
-
</svg>
|
|
208
|
-
</span>
|
|
209
|
-
<span
|
|
210
|
-
*ngIf="sortColumName === 'timeSpent' && sortBy !== -1">
|
|
211
|
-
<svg width="12" height="12" viewBox="0 0 12 12"
|
|
212
|
-
fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
213
|
-
<path
|
|
214
|
-
d="M6.00016 10.6667L6.00016 1.33337M6.00016 1.33337L1.3335 6.00004M6.00016 1.33337L10.6668 6.00004"
|
|
215
|
-
stroke="#667085" stroke-width="1.33333"
|
|
216
|
-
stroke-linecap="round"
|
|
217
|
-
stroke-linejoin="round" />
|
|
218
|
-
</svg>
|
|
219
|
-
</span>
|
|
220
|
-
|
|
221
|
-
</div></th>
|
|
222
|
-
<th>Audit Type</th>
|
|
223
|
-
<th>Status</th>
|
|
224
|
-
<th><span>Actions</span></th>
|
|
225
|
-
</tr>
|
|
226
|
-
</thead>
|
|
227
|
-
<tbody>
|
|
228
|
-
<tr *ngFor="let item of storesData">
|
|
229
|
-
<td>
|
|
230
|
-
<div>{{ item?.fileDate ? item?.fileDate :'NA' }}</div>
|
|
231
|
-
</td>
|
|
232
|
-
<td>
|
|
233
|
-
<div>{{ item?.storeName ? item?.storeName :'NA' }}</div>
|
|
234
|
-
</td>
|
|
235
|
-
<td>
|
|
236
|
-
<div>{{item?.storeId ? item?.storeId : 'NA'}}</div>
|
|
237
|
-
</td>
|
|
238
|
-
<td>
|
|
239
|
-
<div>{{ item?.userName ? item?.userName :'NA' }}</div>
|
|
240
|
-
</td>
|
|
241
|
-
<td>
|
|
242
|
-
<div>{{ item?.userEmail ? item?.userEmail :'NA' }}</div>
|
|
243
|
-
</td>
|
|
244
|
-
<td>
|
|
245
|
-
<div class="d-flex align-items-center">
|
|
246
|
-
<div [ngClass]="item?.beforeCount ? 'text-decoration-underline':''" class="text-title text-primary cursor-pointer mb-1" (click)="openBeforecount(item)">
|
|
247
|
-
{{ item?.beforeCount ?? '--' }}</div>
|
|
248
|
-
</div>
|
|
249
|
-
</td>
|
|
250
|
-
<td>
|
|
251
|
-
<div class="d-flex align-items-center">
|
|
252
|
-
<div [ngClass]="item?.afterCount ? 'text-decoration-underline':''" class="text-title text-primary cursor-pointer mb-1" (click)="openAftercount(item)">
|
|
253
|
-
{{ item?.afterCount ?? '--' }}</div>
|
|
254
|
-
</div>
|
|
255
|
-
</td>
|
|
256
|
-
<td>
|
|
257
|
-
<div>{{ item?.accuracy ?? '--' }}</div>
|
|
258
|
-
</td>
|
|
259
|
-
<td>{{ item?.timeSpent ? item?.timeSpent :'NA'}}</td>
|
|
260
|
-
<td><span *ngIf="item?.auditType" [ngClass]="item?.auditType === 'Audit' ? 'badge-light-success':'badge-light-warning'" class="badge">{{ item?.auditType }}</span></td>
|
|
261
|
-
<td><span *ngIf="item?.status" [ngClass]="statusBadge(item?.status)" class="badge">{{ item?.status | titlecase}}</span></td>
|
|
262
|
-
<td><button class="btn btn-default btn-outline" (click)="openView()">View-Log</button>
|
|
263
|
-
<button class="btn btn-default btn-outline ms-3" [disabled]="item?.status === 'not_assign' || item?.status === 'assigned'" (click)="openreTrigger(item)">Re-Trigger</button></td>
|
|
264
|
-
</tr>
|
|
265
|
-
</tbody>
|
|
266
|
-
</table>
|
|
267
|
-
</div>
|
|
268
|
-
</div>
|
|
269
|
-
<div *ngIf="!loading && !noData" class="my-3">
|
|
270
|
-
<lib-pagination [itemsPerPage]="limit" [currentPage]="offset" [totalItems]="totalCount"
|
|
271
|
-
[paginationSizes]="pagination" [pageSize]="setItemsperPage()" (pageChange)="onPageChange($event)"
|
|
272
|
-
(pageSizeChange)="onPageSizeChange($event)"></lib-pagination>
|
|
273
|
-
</div>
|
|
274
|
-
|
|
275
|
-
<div *ngIf="loading" class="row loader d-flex justify-content-center align-items-center">
|
|
276
|
-
<div class="shimmer">
|
|
277
|
-
<div class="wrapper">
|
|
278
|
-
<div class="stroke animate title"></div>
|
|
279
|
-
<div class="stroke animate link"></div>
|
|
280
|
-
<div class="stroke animate description"></div>
|
|
281
|
-
</div>
|
|
282
|
-
</div>
|
|
283
|
-
<div class="shimmer">
|
|
284
|
-
<div class="wrapper">
|
|
285
|
-
<div class="stroke animate title"></div>
|
|
286
|
-
<div class="stroke animate link"></div>
|
|
287
|
-
<div class="stroke animate description"></div>
|
|
288
|
-
</div>
|
|
289
|
-
</div>
|
|
290
|
-
</div>
|
|
291
|
-
<div *ngIf="noData" class="row">
|
|
292
|
-
<div class="col-lg-12 mb-3">
|
|
293
|
-
<div class="card-body d-flex justify-content-center align-items-center flex-column">
|
|
294
|
-
<img class="img-src w-25" src="./assets/tango/Icons/Nodata.svg" alt="">
|
|
295
|
-
</div>
|
|
296
|
-
</div>
|
|
297
|
-
</div>
|
|
298
|
-
|
|
299
|
-
</div>
|
|
300
|
-
</div>
|
|
301
|
-
|
|
302
|
-
<ng-template #activitylog let-modal>
|
|
303
|
-
<div class="card">
|
|
304
|
-
<div class="card-header">
|
|
305
|
-
<div class="card-title">
|
|
306
|
-
<span class="card-label">Activity Log</span>
|
|
307
|
-
</div>
|
|
308
|
-
<div class="card-toolbar">
|
|
309
|
-
<div class="cursor-pointer" (click)="modal.dismiss()"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
|
|
310
|
-
<path d="M15 5L5 15M5 5L15 15" stroke="#101828" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
311
|
-
</svg></div>
|
|
312
|
-
</div>
|
|
313
|
-
</div>
|
|
314
|
-
<div class="card-body">
|
|
315
|
-
<div *ngFor="let log of activity" class="d-flex mb-5 ms-5">
|
|
316
|
-
<div
|
|
317
|
-
class="d-flex flex-column justify-content-center align-items-center pe-3">
|
|
318
|
-
<div class="d-flex align-items-centre justify-content-centre">
|
|
319
|
-
<!-- <img class="msgprofile"
|
|
320
|
-
src="./assets/tango/Images/userProfile.svg"> -->
|
|
321
|
-
<div class="symbol symbol-35px symbol-circle">
|
|
322
|
-
<span [ngClass]="log?.type === 'Audit' ? 'badge-light-success' : 'badge-light-primary'" class="symbol-label badge-light-primary text-symbol">
|
|
323
|
-
<span [ngClass]="log?.type === 'Audit' ? 'text-success badge badge-light-success' : 'text-primary badge badge-light-primary'" class="fs-4 fw-normal">
|
|
324
|
-
{{log?.type?.slice(0,1) | uppercase }}
|
|
325
|
-
</span>
|
|
326
|
-
</span>
|
|
327
|
-
</div>
|
|
328
|
-
</div>
|
|
329
|
-
<div class="p-0 h-100 mt-1 border border-1 border-gray" style="width:0px"></div>
|
|
330
|
-
</div>
|
|
331
|
-
<div class="py-3 pt-0">
|
|
332
|
-
<div class="activity-title fw-semibold mt-2 d-flex mb-4">
|
|
333
|
-
<span>{{log?.type}} </span><span class="ms-5 list"><li>Fasila</li></span>
|
|
334
|
-
</div>
|
|
335
|
-
<div class="date-time mb-4">
|
|
336
|
-
{{log?.FileDate}} | {{log?.Time}}
|
|
337
|
-
</div>
|
|
338
|
-
<div class=""><span class="badge badge-light-default fw-semibold">Before Count : {{log?.beforeCout}}</span>
|
|
339
|
-
<span class="badge badge-light-default fw-semibold ms-3">After Count : {{log?.AfterCount}}</span>
|
|
340
|
-
</div>
|
|
341
|
-
</div>
|
|
342
|
-
</div>
|
|
343
|
-
</div>
|
|
344
|
-
</div>
|
|
345
|
-
</ng-template>
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
.nav-item .nav-link.active{
|
|
2
|
-
border:none;
|
|
3
|
-
border-radius: 6px;
|
|
4
|
-
background: var(--Primary-50, #EAF8FF);
|
|
5
|
-
padding: 8px 12px;
|
|
6
|
-
}
|
|
7
|
-
.nav-item .nav-link:hover{
|
|
8
|
-
border: none;
|
|
9
|
-
}
|
|
10
|
-
.text-border {
|
|
11
|
-
border-radius: 16px !important;
|
|
12
|
-
background: var(--Gray-100, #F2F4F7) !important;
|
|
13
|
-
color: var(--Gray-700, #344054);
|
|
14
|
-
text-align: center;
|
|
15
|
-
font-size: 14px;
|
|
16
|
-
font-weight: 500;
|
|
17
|
-
line-height: 20px;
|
|
18
|
-
padding: 2px 10px !important;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.text-border-priamry{
|
|
22
|
-
border-radius: 16px;
|
|
23
|
-
background: var(--Primary-50, #EAF8FF);
|
|
24
|
-
color: var(--Primary-700, #009BF3);
|
|
25
|
-
text-align: center;
|
|
26
|
-
font-size: 14px;
|
|
27
|
-
font-weight: 500;
|
|
28
|
-
line-height: 20px;
|
|
29
|
-
padding: 2px 10px !important;
|
|
30
|
-
mix-blend-mode: multiply !important;
|
|
31
|
-
}
|
|
32
|
-
tr{
|
|
33
|
-
vertical-align: middle !important;
|
|
34
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
-
|
|
3
|
-
import { AuditMetricsComponent } from './audit-metrics.component';
|
|
4
|
-
|
|
5
|
-
describe('AuditMetricsComponent', () => {
|
|
6
|
-
let component: AuditMetricsComponent;
|
|
7
|
-
let fixture: ComponentFixture<AuditMetricsComponent>;
|
|
8
|
-
|
|
9
|
-
beforeEach(async () => {
|
|
10
|
-
await TestBed.configureTestingModule({
|
|
11
|
-
declarations: [AuditMetricsComponent]
|
|
12
|
-
})
|
|
13
|
-
.compileComponents();
|
|
14
|
-
|
|
15
|
-
fixture = TestBed.createComponent(AuditMetricsComponent);
|
|
16
|
-
component = fixture.componentInstance;
|
|
17
|
-
fixture.detectChanges();
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
it('should create', () => {
|
|
21
|
-
expect(component).toBeTruthy();
|
|
22
|
-
});
|
|
23
|
-
});
|