tango-app-ui-analyse-trax 3.9.2 → 3.9.3

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 (470) 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/action-centre/action-centre.component.html +607 -0
  5. package/src/lib/components/action-centre/action-centre.component.scss +185 -0
  6. package/src/lib/components/action-centre/action-centre.component.spec.ts +23 -0
  7. package/src/lib/components/action-centre/action-centre.component.ts +279 -0
  8. package/src/lib/components/activity-log/activity-log.component.html +84 -0
  9. package/src/lib/components/activity-log/activity-log.component.scss +33 -0
  10. package/src/lib/components/activity-log/activity-log.component.spec.ts +23 -0
  11. package/src/lib/components/activity-log/activity-log.component.ts +137 -0
  12. package/src/lib/components/activity-log-v2/activity-log-v2.component.html +189 -0
  13. package/src/lib/components/activity-log-v2/activity-log-v2.component.scss +162 -0
  14. package/src/lib/components/activity-log-v2/activity-log-v2.component.spec.ts +23 -0
  15. package/src/lib/components/activity-log-v2/activity-log-v2.component.ts +517 -0
  16. package/src/lib/components/activity-log-v2/log-view-popup/date-range-picker/date-range-picker.component.html +19 -0
  17. package/src/lib/components/activity-log-v2/log-view-popup/date-range-picker/date-range-picker.component.scss +148 -0
  18. package/src/lib/components/activity-log-v2/log-view-popup/date-range-picker/date-range-picker.component.spec.ts +23 -0
  19. package/src/lib/components/activity-log-v2/log-view-popup/date-range-picker/date-range-picker.component.ts +141 -0
  20. package/src/lib/components/activity-log-v2/log-view-popup/store-user-dropdown/store-user-dropdown.component.html +42 -0
  21. package/src/lib/components/activity-log-v2/log-view-popup/store-user-dropdown/store-user-dropdown.component.scss +49 -0
  22. package/src/lib/components/activity-log-v2/log-view-popup/store-user-dropdown/store-user-dropdown.component.spec.ts +23 -0
  23. package/src/lib/components/activity-log-v2/log-view-popup/store-user-dropdown/store-user-dropdown.component.ts +22 -0
  24. package/src/lib/components/activity-log-v2/log-view-popup/view-action/view-action.component.html +724 -0
  25. package/src/lib/components/activity-log-v2/log-view-popup/view-action/view-action.component.scss +217 -0
  26. package/src/lib/components/activity-log-v2/log-view-popup/view-action/view-action.component.spec.ts +23 -0
  27. package/src/lib/components/activity-log-v2/log-view-popup/view-action/view-action.component.ts +122 -0
  28. package/src/lib/components/add-checklist/add-checklist.component.html +1459 -0
  29. package/src/lib/components/add-checklist/add-checklist.component.scss +1205 -0
  30. package/src/lib/components/add-checklist/add-checklist.component.spec.ts +23 -0
  31. package/src/lib/components/add-checklist/add-checklist.component.ts +2460 -0
  32. package/src/lib/components/add-checklist/checklist-popup/checklist-popup.component.html +207 -0
  33. package/src/lib/components/add-checklist/checklist-popup/checklist-popup.component.scss +213 -0
  34. package/src/lib/components/add-checklist/checklist-popup/checklist-popup.component.spec.ts +23 -0
  35. package/src/lib/components/add-checklist/checklist-popup/checklist-popup.component.ts +621 -0
  36. package/src/lib/components/add-checklist/counter/counter.component.html +43 -0
  37. package/src/lib/components/add-checklist/counter/counter.component.scss +49 -0
  38. package/src/lib/components/add-checklist/counter/counter.component.spec.ts +23 -0
  39. package/src/lib/components/add-checklist/counter/counter.component.ts +123 -0
  40. package/src/lib/components/add-multitask/add-multitask.component.html +705 -0
  41. package/src/lib/components/add-multitask/add-multitask.component.scss +296 -0
  42. package/src/lib/components/add-multitask/add-multitask.component.spec.ts +23 -0
  43. package/src/lib/components/add-multitask/add-multitask.component.ts +611 -0
  44. package/src/lib/components/add-multitask/ascending-validator.ts +13 -0
  45. package/src/lib/components/add-multitask/bulkcreationmodel/bulkcreationmodel.component.html +197 -0
  46. package/src/lib/components/add-multitask/bulkcreationmodel/bulkcreationmodel.component.scss +31 -0
  47. package/src/lib/components/add-multitask/bulkcreationmodel/bulkcreationmodel.component.spec.ts +23 -0
  48. package/src/lib/components/add-multitask/bulkcreationmodel/bulkcreationmodel.component.ts +285 -0
  49. package/src/lib/components/add-multitask/create-task.data.ts +374 -0
  50. package/src/lib/components/add-multitask/create-task.interface.ts +177 -0
  51. package/src/lib/components/add-multitask/unique-string-validator.ts +13 -0
  52. package/src/lib/components/add-multitask/whitespace-validator.ts +11 -0
  53. package/src/lib/components/add-task/add-task.component.html +654 -0
  54. package/src/lib/components/add-task/add-task.component.scss +536 -0
  55. package/src/lib/components/add-task/add-task.component.spec.ts +23 -0
  56. package/src/lib/components/add-task/add-task.component.ts +569 -0
  57. package/src/lib/components/add-task/ascending-validator.ts +13 -0
  58. package/src/lib/components/add-task/create-task.data.ts +374 -0
  59. package/src/lib/components/add-task/create-task.interface.ts +192 -0
  60. package/src/lib/components/add-task/unique-string-validator.ts +13 -0
  61. package/src/lib/components/add-task/whitespace-validator.ts +11 -0
  62. package/src/lib/components/approval-popup/approval-popup.component.html +25 -0
  63. package/src/lib/components/approval-popup/approval-popup.component.scss +3 -0
  64. package/src/lib/components/approval-popup/approval-popup.component.spec.ts +23 -0
  65. package/src/lib/components/approval-popup/approval-popup.component.ts +26 -0
  66. package/src/lib/components/checklist/checklist.component.html +330 -0
  67. package/src/lib/components/checklist/checklist.component.scss +112 -0
  68. package/src/lib/components/checklist/checklist.component.spec.ts +23 -0
  69. package/src/lib/components/checklist/checklist.component.ts +344 -0
  70. package/src/lib/components/checklist-configure/assign/assign.component.html +665 -0
  71. package/src/lib/components/checklist-configure/assign/assign.component.scss +219 -0
  72. package/src/lib/components/checklist-configure/assign/assign.component.spec.ts +23 -0
  73. package/src/lib/components/checklist-configure/assign/assign.component.ts +932 -0
  74. package/src/lib/components/checklist-configure/checklist-configure.component.html +4340 -0
  75. package/src/lib/components/checklist-configure/checklist-configure.component.scss +2338 -0
  76. package/src/lib/components/checklist-configure/checklist-configure.component.spec.ts +23 -0
  77. package/src/lib/components/checklist-configure/checklist-configure.component.ts +4659 -0
  78. package/src/lib/components/checklistlayout/checklistlayout.component.html +30 -0
  79. package/src/lib/components/checklistlayout/checklistlayout.component.scss +15 -0
  80. package/src/lib/components/checklistlayout/checklistlayout.component.spec.ts +23 -0
  81. package/src/lib/components/checklistlayout/checklistlayout.component.ts +47 -0
  82. package/src/lib/components/chip-dropdown/chip-dropdown.component.html +36 -0
  83. package/src/lib/components/chip-dropdown/chip-dropdown.component.scss +97 -0
  84. package/src/lib/components/chip-dropdown/chip-dropdown.component.spec.ts +23 -0
  85. package/src/lib/components/chip-dropdown/chip-dropdown.component.ts +125 -0
  86. package/src/lib/components/create-task/create-task.component.html +2003 -0
  87. package/src/lib/components/create-task/create-task.component.scss +272 -0
  88. package/src/lib/components/create-task/create-task.component.spec.ts +23 -0
  89. package/src/lib/components/create-task/create-task.component.ts +614 -0
  90. package/src/lib/components/create-task/create-task.data.ts +372 -0
  91. package/src/lib/components/create-task/create-task.interface.ts +182 -0
  92. package/src/lib/components/create-task/validators/ascending-validator.ts +13 -0
  93. package/src/lib/components/create-task/validators/unique-string-validator.ts +13 -0
  94. package/src/lib/components/create-task/validators/whitespace-validator.ts +11 -0
  95. package/src/lib/components/custom-select/custom-select.component.html +44 -0
  96. package/src/lib/components/custom-select/custom-select.component.scss +144 -0
  97. package/src/lib/components/custom-select/custom-select.component.spec.ts +23 -0
  98. package/src/lib/components/custom-select/custom-select.component.ts +265 -0
  99. package/src/lib/components/dashboard/dashboard.component.html +1076 -0
  100. package/src/lib/components/dashboard/dashboard.component.scss +237 -0
  101. package/src/lib/components/dashboard/dashboard.component.spec.ts +23 -0
  102. package/src/lib/components/dashboard/dashboard.component.ts +539 -0
  103. package/src/lib/components/dashboard-info/dashboard-info.component.html +1420 -0
  104. package/src/lib/components/dashboard-info/dashboard-info.component.scss +409 -0
  105. package/src/lib/components/dashboard-info/dashboard-info.component.spec.ts +23 -0
  106. package/src/lib/components/dashboard-info/dashboard-info.component.ts +772 -0
  107. package/src/lib/components/dashboard-info/monthlyperformance-datepicker/monthlyperformance-datepicker.component.html +110 -0
  108. package/src/lib/components/dashboard-info/monthlyperformance-datepicker/monthlyperformance-datepicker.component.scss +260 -0
  109. package/src/lib/components/dashboard-info/monthlyperformance-datepicker/monthlyperformance-datepicker.component.spec.ts +23 -0
  110. package/src/lib/components/dashboard-info/monthlyperformance-datepicker/monthlyperformance-datepicker.component.ts +143 -0
  111. package/src/lib/components/dashboard-layout/dashboard-layout.component.html +1 -0
  112. package/src/lib/components/dashboard-layout/dashboard-layout.component.scss +0 -0
  113. package/src/lib/components/dashboard-layout/dashboard-layout.component.spec.ts +23 -0
  114. package/src/lib/components/dashboard-layout/dashboard-layout.component.ts +10 -0
  115. package/src/lib/components/disabled-select/disabled-select.component.html +44 -0
  116. package/src/lib/components/disabled-select/disabled-select.component.scss +149 -0
  117. package/src/lib/components/disabled-select/disabled-select.component.spec.ts +23 -0
  118. package/src/lib/components/disabled-select/disabled-select.component.ts +146 -0
  119. package/src/lib/components/export-gallery/export-gallery.component.html +175 -0
  120. package/src/lib/components/export-gallery/export-gallery.component.scss +200 -0
  121. package/src/lib/components/export-gallery/export-gallery.component.spec.ts +23 -0
  122. package/src/lib/components/export-gallery/export-gallery.component.ts +263 -0
  123. package/src/lib/components/eye-test-audit/chip-dropdown/chip-dropdown.component.html +36 -0
  124. package/src/lib/components/eye-test-audit/chip-dropdown/chip-dropdown.component.scss +97 -0
  125. package/src/lib/components/eye-test-audit/chip-dropdown/chip-dropdown.component.spec.ts +23 -0
  126. package/src/lib/components/eye-test-audit/chip-dropdown/chip-dropdown.component.ts +104 -0
  127. package/src/lib/components/eye-test-audit/custom-select/custom-select.component.html +44 -0
  128. package/src/lib/components/eye-test-audit/custom-select/custom-select.component.scss +144 -0
  129. package/src/lib/components/eye-test-audit/custom-select/custom-select.component.spec.ts +23 -0
  130. package/src/lib/components/eye-test-audit/custom-select/custom-select.component.ts +265 -0
  131. package/src/lib/components/eye-test-audit/eye-test/eye-test.component.html +1804 -0
  132. package/src/lib/components/eye-test-audit/eye-test/eye-test.component.scss +806 -0
  133. package/src/lib/components/eye-test-audit/eye-test/eye-test.component.spec.ts +23 -0
  134. package/src/lib/components/eye-test-audit/eye-test/eye-test.component.ts +1890 -0
  135. package/src/lib/components/eye-test-audit/eye-test/send-alert/send-alert.component.html +25 -0
  136. package/src/lib/components/eye-test-audit/eye-test/send-alert/send-alert.component.scss +0 -0
  137. package/src/lib/components/eye-test-audit/eye-test/send-alert/send-alert.component.spec.ts +23 -0
  138. package/src/lib/components/eye-test-audit/eye-test/send-alert/send-alert.component.ts +20 -0
  139. package/src/lib/components/eye-test-audit/eye-test-audit/eye-test-audit-routing.module.ts +26 -0
  140. package/src/lib/components/eye-test-audit/eye-test-audit/eye-test-audit.component.html +1 -0
  141. package/src/lib/components/eye-test-audit/eye-test-audit/eye-test-audit.component.scss +0 -0
  142. package/src/lib/components/eye-test-audit/eye-test-audit/eye-test-audit.component.spec.ts +23 -0
  143. package/src/lib/components/eye-test-audit/eye-test-audit/eye-test-audit.component.ts +24 -0
  144. package/src/lib/components/eye-test-audit/eye-test-audit/eye-test-audit.module.ts +44 -0
  145. package/src/lib/components/eye-test-audit/eye-test-audit/settings-audit/settings-audit.component.html +490 -0
  146. package/src/lib/components/eye-test-audit/eye-test-audit/settings-audit/settings-audit.component.scss +721 -0
  147. package/src/lib/components/eye-test-audit/eye-test-audit/settings-audit/settings-audit.component.spec.ts +23 -0
  148. package/src/lib/components/eye-test-audit/eye-test-audit/settings-audit/settings-audit.component.ts +1017 -0
  149. package/src/lib/components/eye-test-audit/eye-test-audit/start-audit/start-audit.component.html +708 -0
  150. package/src/lib/components/eye-test-audit/eye-test-audit/start-audit/start-audit.component.scss +247 -0
  151. package/src/lib/components/eye-test-audit/eye-test-audit/start-audit/start-audit.component.spec.ts +23 -0
  152. package/src/lib/components/eye-test-audit/eye-test-audit/start-audit/start-audit.component.ts +446 -0
  153. package/src/lib/components/eye-test-audit/group-select/group-select.component.html +44 -0
  154. package/src/lib/components/eye-test-audit/group-select/group-select.component.scss +144 -0
  155. package/src/lib/components/eye-test-audit/group-select/group-select.component.spec.ts +23 -0
  156. package/src/lib/components/eye-test-audit/group-select/group-select.component.ts +147 -0
  157. package/src/lib/components/eye-test-audit/reactive-select/reactive-select.component.html +18 -0
  158. package/src/lib/components/eye-test-audit/reactive-select/reactive-select.component.scss +49 -0
  159. package/src/lib/components/eye-test-audit/reactive-select/reactive-select.component.spec.ts +23 -0
  160. package/src/lib/components/eye-test-audit/reactive-select/reactive-select.component.ts +104 -0
  161. package/src/lib/components/eye-test-audit/select-drop/select-drop.component.html +44 -0
  162. package/src/lib/components/eye-test-audit/select-drop/select-drop.component.scss +144 -0
  163. package/src/lib/components/eye-test-audit/select-drop/select-drop.component.spec.ts +23 -0
  164. package/src/lib/components/eye-test-audit/select-drop/select-drop.component.ts +152 -0
  165. package/src/lib/components/eye-test-audit/services/eye-test-audit.service.spec.ts +16 -0
  166. package/src/lib/components/eye-test-audit/services/eye-test-audit.service.ts +190 -0
  167. package/src/lib/components/flag-layout/flag-layout.component.html +1 -0
  168. package/src/lib/components/flag-layout/flag-layout.component.scss +0 -0
  169. package/src/lib/components/flag-layout/flag-layout.component.spec.ts +23 -0
  170. package/src/lib/components/flag-layout/flag-layout.component.ts +10 -0
  171. package/src/lib/components/flags/flags.component.html +473 -0
  172. package/src/lib/components/flags/flags.component.scss +86 -0
  173. package/src/lib/components/flags/flags.component.spec.ts +23 -0
  174. package/src/lib/components/flags/flags.component.ts +280 -0
  175. package/{lib/components/flags/flags.interface.d.ts → src/lib/components/flags/flags.interface.ts} +73 -65
  176. package/src/lib/components/flags-info/flags-info.component.html +6012 -0
  177. package/src/lib/components/flags-info/flags-info.component.scss +278 -0
  178. package/src/lib/components/flags-info/flags-info.component.spec.ts +23 -0
  179. package/src/lib/components/flags-info/flags-info.component.ts +490 -0
  180. package/src/lib/components/flags-info/flags-info.interface.ts +441 -0
  181. package/src/lib/components/flags-info/unattended-pie-chart/unattended-pie-chart.component.html +1 -0
  182. package/src/lib/components/flags-info/unattended-pie-chart/unattended-pie-chart.component.scss +4 -0
  183. package/src/lib/components/flags-info/unattended-pie-chart/unattended-pie-chart.component.ts +78 -0
  184. package/src/lib/components/flags-new/flags-new.component.html +904 -0
  185. package/src/lib/components/flags-new/flags-new.component.scss +121 -0
  186. package/src/lib/components/flags-new/flags-new.component.spec.ts +23 -0
  187. package/src/lib/components/flags-new/flags-new.component.ts +357 -0
  188. package/{lib/components/flags-new/flags-new.interface.d.ts → src/lib/components/flags-new/flags-new.interface.ts} +90 -81
  189. package/src/lib/components/gallery/gallery.component.html +3660 -0
  190. package/src/lib/components/gallery/gallery.component.scss +930 -0
  191. package/src/lib/components/gallery/gallery.component.ts +3527 -0
  192. package/src/lib/components/group-select/group-select.component.html +44 -0
  193. package/src/lib/components/group-select/group-select.component.scss +144 -0
  194. package/src/lib/components/group-select/group-select.component.spec.ts +23 -0
  195. package/src/lib/components/group-select/group-select.component.ts +145 -0
  196. package/src/lib/components/image-popup/image-popup.component.html +11 -0
  197. package/src/lib/components/image-popup/image-popup.component.scss +5 -0
  198. package/src/lib/components/image-popup/image-popup.component.ts +18 -0
  199. package/src/lib/components/lib/custom-select/custom-select.component.html +42 -0
  200. package/src/lib/components/lib/custom-select/custom-select.component.scss +131 -0
  201. package/src/lib/components/lib/custom-select/custom-select.component.spec.ts +23 -0
  202. package/src/lib/components/lib/custom-select/custom-select.component.ts +151 -0
  203. package/src/lib/components/manage-task/manage-task.component.html +265 -0
  204. package/src/lib/components/manage-task/manage-task.component.scss +69 -0
  205. package/src/lib/components/manage-task/manage-task.component.spec.ts +23 -0
  206. package/src/lib/components/manage-task/manage-task.component.ts +267 -0
  207. package/src/lib/components/managechecklist/managechecklist.component.html +176 -0
  208. package/src/lib/components/managechecklist/managechecklist.component.scss +43 -0
  209. package/src/lib/components/managechecklist/managechecklist.component.spec.ts +23 -0
  210. package/src/lib/components/managechecklist/managechecklist.component.ts +176 -0
  211. package/src/lib/components/multi-chip-dropdown/multi-chip-dropdown.component.html +46 -0
  212. package/src/lib/components/multi-chip-dropdown/multi-chip-dropdown.component.scss +181 -0
  213. package/src/lib/components/multi-chip-dropdown/multi-chip-dropdown.component.spec.ts +23 -0
  214. package/src/lib/components/multi-chip-dropdown/multi-chip-dropdown.component.ts +221 -0
  215. package/src/lib/components/multi-date-datepicker/multi-date-datepicker.component.html +36 -0
  216. package/src/lib/components/multi-date-datepicker/multi-date-datepicker.component.scss +89 -0
  217. package/src/lib/components/multi-date-datepicker/multi-date-datepicker.component.spec.ts +23 -0
  218. package/src/lib/components/multi-date-datepicker/multi-date-datepicker.component.ts +118 -0
  219. package/src/lib/components/orders/orders.component.html +203 -0
  220. package/src/lib/components/orders/orders.component.scss +180 -0
  221. package/src/lib/components/orders/orders.component.spec.ts +25 -0
  222. package/src/lib/components/orders/orders.component.ts +197 -0
  223. package/src/lib/components/pagination/pagination.component.html +28 -0
  224. package/src/lib/components/pagination/pagination.component.scss +6 -0
  225. package/src/lib/components/pagination/pagination.component.spec.ts +23 -0
  226. package/src/lib/components/pagination/pagination.component.ts +54 -0
  227. package/src/lib/components/reactive-select/reactive-select.component.html +18 -0
  228. package/src/lib/components/reactive-select/reactive-select.component.scss +48 -0
  229. package/src/lib/components/reactive-select/reactive-select.component.spec.ts +23 -0
  230. package/src/lib/components/reactive-select/reactive-select.component.ts +104 -0
  231. package/src/lib/components/reports/date-picker/date-picker.component.html +54 -0
  232. package/src/lib/components/reports/date-picker/date-picker.component.scss +156 -0
  233. package/src/lib/components/reports/date-picker/date-picker.component.spec.ts +23 -0
  234. package/src/lib/components/reports/date-picker/date-picker.component.ts +60 -0
  235. package/src/lib/components/reports/reports.component.html +225 -0
  236. package/src/lib/components/reports/reports.component.scss +69 -0
  237. package/src/lib/components/reports/reports.component.spec.ts +23 -0
  238. package/src/lib/components/reports/reports.component.ts +334 -0
  239. package/{lib/components/reports/reports.interface.d.ts → src/lib/components/reports/reports.interface.ts} +50 -46
  240. package/src/lib/components/tango-analyse-trax/tango-analyse-trax.component.html +1 -0
  241. package/src/lib/components/tango-analyse-trax/tango-analyse-trax.component.scss +15 -0
  242. package/src/lib/components/tango-analyse-trax/tango-analyse-trax.component.spec.ts +23 -0
  243. package/src/lib/components/tango-analyse-trax/tango-analyse-trax.component.ts +31 -0
  244. package/src/lib/components/task/task.component.html +322 -0
  245. package/src/lib/components/task/task.component.scss +169 -0
  246. package/src/lib/components/task/task.component.spec.ts +23 -0
  247. package/src/lib/components/task/task.component.ts +340 -0
  248. package/src/lib/components/task-configure/task-configure.component.html +737 -0
  249. package/src/lib/components/task-configure/task-configure.component.scss +569 -0
  250. package/src/lib/components/task-configure/task-configure.component.spec.ts +23 -0
  251. package/src/lib/components/task-configure/task-configure.component.ts +1603 -0
  252. package/src/lib/components/task-configure/task-configure.interface.ts +138 -0
  253. package/src/lib/components/task-info/task-info.component.html +390 -0
  254. package/src/lib/components/task-info/task-info.component.scss +56 -0
  255. package/src/lib/components/task-info/task-info.component.spec.ts +23 -0
  256. package/src/lib/components/task-info/task-info.component.ts +400 -0
  257. package/src/lib/components/task-info/taskinfo-edit/taskinfo-edit.component.html +141 -0
  258. package/src/lib/components/task-info/taskinfo-edit/taskinfo-edit.component.scss +460 -0
  259. package/src/lib/components/task-info/taskinfo-edit/taskinfo-edit.component.spec.ts +23 -0
  260. package/src/lib/components/task-info/taskinfo-edit/taskinfo-edit.component.ts +202 -0
  261. package/src/lib/components/task-layout/task-layout.component.html +1 -0
  262. package/src/lib/components/task-layout/task-layout.component.scss +0 -0
  263. package/src/lib/components/task-layout/task-layout.component.spec.ts +23 -0
  264. package/src/lib/components/task-layout/task-layout.component.ts +10 -0
  265. package/src/lib/components/task-logs/task-logs.component.html +97 -0
  266. package/src/lib/components/task-logs/task-logs.component.scss +301 -0
  267. package/src/lib/components/task-logs/task-logs.component.spec.ts +23 -0
  268. package/src/lib/components/task-logs/task-logs.component.ts +80 -0
  269. package/src/lib/components/trax-run-ai-popup/trax-run-ai-popup.component.html +84 -0
  270. package/src/lib/components/trax-run-ai-popup/trax-run-ai-popup.component.scss +229 -0
  271. package/src/lib/components/trax-run-ai-popup/trax-run-ai-popup.component.spec.ts +23 -0
  272. package/src/lib/components/trax-run-ai-popup/trax-run-ai-popup.component.ts +111 -0
  273. package/src/lib/components/trax-store/trax-store.component.html +78 -0
  274. package/src/lib/components/trax-store/trax-store.component.scss +134 -0
  275. package/src/lib/components/trax-store/trax-store.component.spec.ts +23 -0
  276. package/src/lib/components/trax-store/trax-store.component.ts +172 -0
  277. package/src/lib/components/traxpopup/traxpopup.component.html +130 -0
  278. package/src/lib/components/traxpopup/traxpopup.component.scss +225 -0
  279. package/src/lib/components/traxpopup/traxpopup.component.spec.ts +23 -0
  280. package/src/lib/components/traxpopup/traxpopup.component.ts +71 -0
  281. package/src/lib/services/trax.service.spec.ts +16 -0
  282. package/src/lib/services/trax.service.ts +789 -0
  283. package/src/lib/tango-analyse-trax-routing.module.ts +151 -0
  284. package/src/lib/tango-analyse-trax.module.ts +140 -0
  285. package/{public-api.d.ts → src/public-api.ts} +6 -2
  286. package/tsconfig.lib.json +14 -0
  287. package/tsconfig.lib.prod.json +10 -0
  288. package/tsconfig.spec.json +14 -0
  289. package/esm2022/lib/components/action-centre/action-centre.component.mjs +0 -288
  290. package/esm2022/lib/components/activity-log/activity-log.component.mjs +0 -150
  291. package/esm2022/lib/components/activity-log-v2/activity-log-v2.component.mjs +0 -502
  292. package/esm2022/lib/components/activity-log-v2/log-view-popup/date-range-picker/date-range-picker.component.mjs +0 -114
  293. package/esm2022/lib/components/activity-log-v2/log-view-popup/store-user-dropdown/store-user-dropdown.component.mjs +0 -24
  294. package/esm2022/lib/components/activity-log-v2/log-view-popup/view-action/view-action.component.mjs +0 -126
  295. package/esm2022/lib/components/add-checklist/add-checklist.component.mjs +0 -2352
  296. package/esm2022/lib/components/add-checklist/checklist-popup/checklist-popup.component.mjs +0 -612
  297. package/esm2022/lib/components/add-checklist/counter/counter.component.mjs +0 -138
  298. package/esm2022/lib/components/add-multitask/add-multitask.component.mjs +0 -604
  299. package/esm2022/lib/components/add-multitask/ascending-validator.mjs +0 -11
  300. package/esm2022/lib/components/add-multitask/bulkcreationmodel/bulkcreationmodel.component.mjs +0 -297
  301. package/esm2022/lib/components/add-multitask/create-task.data.mjs +0 -372
  302. package/esm2022/lib/components/add-multitask/create-task.interface.mjs +0 -2
  303. package/esm2022/lib/components/add-multitask/unique-string-validator.mjs +0 -10
  304. package/esm2022/lib/components/add-multitask/whitespace-validator.mjs +0 -10
  305. package/esm2022/lib/components/add-task/add-task.component.mjs +0 -561
  306. package/esm2022/lib/components/add-task/ascending-validator.mjs +0 -11
  307. package/esm2022/lib/components/add-task/create-task.data.mjs +0 -372
  308. package/esm2022/lib/components/add-task/create-task.interface.mjs +0 -2
  309. package/esm2022/lib/components/add-task/unique-string-validator.mjs +0 -10
  310. package/esm2022/lib/components/add-task/whitespace-validator.mjs +0 -10
  311. package/esm2022/lib/components/approval-popup/approval-popup.component.mjs +0 -30
  312. package/esm2022/lib/components/checklist/checklist.component.mjs +0 -327
  313. package/esm2022/lib/components/checklist-configure/assign/assign.component.mjs +0 -912
  314. package/esm2022/lib/components/checklist-configure/checklist-configure.component.mjs +0 -4161
  315. package/esm2022/lib/components/checklistlayout/checklistlayout.component.mjs +0 -44
  316. package/esm2022/lib/components/chip-dropdown/chip-dropdown.component.mjs +0 -120
  317. package/esm2022/lib/components/create-task/create-task.component.mjs +0 -585
  318. package/esm2022/lib/components/create-task/create-task.data.mjs +0 -372
  319. package/esm2022/lib/components/create-task/create-task.interface.mjs +0 -2
  320. package/esm2022/lib/components/create-task/validators/ascending-validator.mjs +0 -11
  321. package/esm2022/lib/components/create-task/validators/unique-string-validator.mjs +0 -10
  322. package/esm2022/lib/components/create-task/validators/whitespace-validator.mjs +0 -10
  323. package/esm2022/lib/components/custom-select/custom-select.component.mjs +0 -240
  324. package/esm2022/lib/components/dashboard/dashboard.component.mjs +0 -532
  325. package/esm2022/lib/components/dashboard-info/dashboard-info.component.mjs +0 -741
  326. package/esm2022/lib/components/dashboard-info/monthlyperformance-datepicker/monthlyperformance-datepicker.component.mjs +0 -155
  327. package/esm2022/lib/components/dashboard-layout/dashboard-layout.component.mjs +0 -12
  328. package/esm2022/lib/components/disabled-select/disabled-select.component.mjs +0 -158
  329. package/esm2022/lib/components/export-gallery/export-gallery.component.mjs +0 -266
  330. package/esm2022/lib/components/eye-test-audit/chip-dropdown/chip-dropdown.component.mjs +0 -105
  331. package/esm2022/lib/components/eye-test-audit/custom-select/custom-select.component.mjs +0 -240
  332. package/esm2022/lib/components/eye-test-audit/eye-test/eye-test.component.mjs +0 -1733
  333. package/esm2022/lib/components/eye-test-audit/eye-test/send-alert/send-alert.component.mjs +0 -24
  334. package/esm2022/lib/components/eye-test-audit/eye-test-audit/eye-test-audit-routing.module.mjs +0 -34
  335. package/esm2022/lib/components/eye-test-audit/eye-test-audit/eye-test-audit.component.mjs +0 -27
  336. package/esm2022/lib/components/eye-test-audit/eye-test-audit/eye-test-audit.module.mjs +0 -71
  337. package/esm2022/lib/components/eye-test-audit/eye-test-audit/settings-audit/settings-audit.component.mjs +0 -823
  338. package/esm2022/lib/components/eye-test-audit/eye-test-audit/start-audit/start-audit.component.mjs +0 -412
  339. package/esm2022/lib/components/eye-test-audit/group-select/group-select.component.mjs +0 -157
  340. package/esm2022/lib/components/eye-test-audit/reactive-select/reactive-select.component.mjs +0 -105
  341. package/esm2022/lib/components/eye-test-audit/select-drop/select-drop.component.mjs +0 -162
  342. package/esm2022/lib/components/eye-test-audit/services/eye-test-audit.service.mjs +0 -166
  343. package/esm2022/lib/components/flag-layout/flag-layout.component.mjs +0 -12
  344. package/esm2022/lib/components/flags/flags.component.mjs +0 -263
  345. package/esm2022/lib/components/flags/flags.interface.mjs +0 -2
  346. package/esm2022/lib/components/flags-info/flags-info.component.mjs +0 -452
  347. package/esm2022/lib/components/flags-info/flags-info.interface.mjs +0 -2
  348. package/esm2022/lib/components/flags-info/unattended-pie-chart/unattended-pie-chart.component.mjs +0 -71
  349. package/esm2022/lib/components/flags-new/flags-new.component.mjs +0 -335
  350. package/esm2022/lib/components/flags-new/flags-new.interface.mjs +0 -2
  351. package/esm2022/lib/components/gallery/gallery.component.mjs +0 -3402
  352. package/esm2022/lib/components/group-select/group-select.component.mjs +0 -155
  353. package/esm2022/lib/components/image-popup/image-popup.component.mjs +0 -25
  354. package/esm2022/lib/components/lib/custom-select/custom-select.component.mjs +0 -158
  355. package/esm2022/lib/components/manage-task/manage-task.component.mjs +0 -264
  356. package/esm2022/lib/components/managechecklist/managechecklist.component.mjs +0 -186
  357. package/esm2022/lib/components/multi-chip-dropdown/multi-chip-dropdown.component.mjs +0 -229
  358. package/esm2022/lib/components/multi-date-datepicker/multi-date-datepicker.component.mjs +0 -124
  359. package/esm2022/lib/components/orders/orders.component.mjs +0 -171
  360. package/esm2022/lib/components/pagination/pagination.component.mjs +0 -62
  361. package/esm2022/lib/components/reactive-select/reactive-select.component.mjs +0 -108
  362. package/esm2022/lib/components/reports/date-picker/date-picker.component.mjs +0 -60
  363. package/esm2022/lib/components/reports/reports.component.mjs +0 -300
  364. package/esm2022/lib/components/reports/reports.interface.mjs +0 -2
  365. package/esm2022/lib/components/tango-analyse-trax/tango-analyse-trax.component.mjs +0 -32
  366. package/esm2022/lib/components/task/task.component.mjs +0 -341
  367. package/esm2022/lib/components/task-configure/task-configure.component.mjs +0 -1532
  368. package/esm2022/lib/components/task-configure/task-configure.interface.mjs +0 -2
  369. package/esm2022/lib/components/task-info/task-info.component.mjs +0 -375
  370. package/esm2022/lib/components/task-info/taskinfo-edit/taskinfo-edit.component.mjs +0 -208
  371. package/esm2022/lib/components/task-layout/task-layout.component.mjs +0 -12
  372. package/esm2022/lib/components/task-logs/task-logs.component.mjs +0 -104
  373. package/esm2022/lib/components/trax-run-ai-popup/trax-run-ai-popup.component.mjs +0 -107
  374. package/esm2022/lib/components/trax-store/trax-store.component.mjs +0 -179
  375. package/esm2022/lib/components/traxpopup/traxpopup.component.mjs +0 -70
  376. package/esm2022/lib/services/trax.service.mjs +0 -559
  377. package/esm2022/lib/tango-analyse-trax-routing.module.mjs +0 -153
  378. package/esm2022/lib/tango-analyse-trax.module.mjs +0 -221
  379. package/esm2022/public-api.mjs +0 -6
  380. package/esm2022/tango-app-ui-analyse-trax.mjs +0 -5
  381. package/fesm2022/tango-app-ui-analyse-trax.mjs +0 -28896
  382. package/fesm2022/tango-app-ui-analyse-trax.mjs.map +0 -1
  383. package/index.d.ts +0 -5
  384. package/lib/components/action-centre/action-centre.component.d.ts +0 -68
  385. package/lib/components/activity-log/activity-log.component.d.ts +0 -39
  386. package/lib/components/activity-log-v2/activity-log-v2.component.d.ts +0 -78
  387. package/lib/components/activity-log-v2/log-view-popup/date-range-picker/date-range-picker.component.d.ts +0 -24
  388. package/lib/components/activity-log-v2/log-view-popup/store-user-dropdown/store-user-dropdown.component.d.ts +0 -9
  389. package/lib/components/activity-log-v2/log-view-popup/view-action/view-action.component.d.ts +0 -34
  390. package/lib/components/add-checklist/add-checklist.component.d.ts +0 -121
  391. package/lib/components/add-checklist/checklist-popup/checklist-popup.component.d.ts +0 -45
  392. package/lib/components/add-checklist/counter/counter.component.d.ts +0 -29
  393. package/lib/components/add-multitask/add-multitask.component.d.ts +0 -102
  394. package/lib/components/add-multitask/ascending-validator.d.ts +0 -2
  395. package/lib/components/add-multitask/bulkcreationmodel/bulkcreationmodel.component.d.ts +0 -45
  396. package/lib/components/add-multitask/create-task.data.d.ts +0 -293
  397. package/lib/components/add-multitask/create-task.interface.d.ts +0 -159
  398. package/lib/components/add-multitask/unique-string-validator.d.ts +0 -2
  399. package/lib/components/add-multitask/whitespace-validator.d.ts +0 -2
  400. package/lib/components/add-task/add-task.component.d.ts +0 -89
  401. package/lib/components/add-task/ascending-validator.d.ts +0 -2
  402. package/lib/components/add-task/create-task.data.d.ts +0 -293
  403. package/lib/components/add-task/create-task.interface.d.ts +0 -161
  404. package/lib/components/add-task/unique-string-validator.d.ts +0 -2
  405. package/lib/components/add-task/whitespace-validator.d.ts +0 -2
  406. package/lib/components/approval-popup/approval-popup.component.d.ts +0 -14
  407. package/lib/components/checklist/checklist.component.d.ts +0 -40
  408. package/lib/components/checklist-configure/assign/assign.component.d.ts +0 -105
  409. package/lib/components/checklist-configure/checklist-configure.component.d.ts +0 -325
  410. package/lib/components/checklistlayout/checklistlayout.component.d.ts +0 -15
  411. package/lib/components/chip-dropdown/chip-dropdown.component.d.ts +0 -28
  412. package/lib/components/create-task/create-task.component.d.ts +0 -76
  413. package/lib/components/create-task/create-task.data.d.ts +0 -293
  414. package/lib/components/create-task/create-task.interface.d.ts +0 -163
  415. package/lib/components/create-task/validators/ascending-validator.d.ts +0 -2
  416. package/lib/components/create-task/validators/unique-string-validator.d.ts +0 -2
  417. package/lib/components/create-task/validators/whitespace-validator.d.ts +0 -2
  418. package/lib/components/custom-select/custom-select.component.d.ts +0 -35
  419. package/lib/components/dashboard/dashboard.component.d.ts +0 -80
  420. package/lib/components/dashboard-info/dashboard-info.component.d.ts +0 -117
  421. package/lib/components/dashboard-info/monthlyperformance-datepicker/monthlyperformance-datepicker.component.d.ts +0 -41
  422. package/lib/components/dashboard-layout/dashboard-layout.component.d.ts +0 -5
  423. package/lib/components/disabled-select/disabled-select.component.d.ts +0 -34
  424. package/lib/components/export-gallery/export-gallery.component.d.ts +0 -44
  425. package/lib/components/eye-test-audit/chip-dropdown/chip-dropdown.component.d.ts +0 -26
  426. package/lib/components/eye-test-audit/custom-select/custom-select.component.d.ts +0 -35
  427. package/lib/components/eye-test-audit/eye-test/eye-test.component.d.ts +0 -218
  428. package/lib/components/eye-test-audit/eye-test/send-alert/send-alert.component.d.ts +0 -12
  429. package/lib/components/eye-test-audit/eye-test-audit/eye-test-audit-routing.module.d.ts +0 -7
  430. package/lib/components/eye-test-audit/eye-test-audit/eye-test-audit.component.d.ts +0 -11
  431. package/lib/components/eye-test-audit/eye-test-audit/eye-test-audit.module.d.ts +0 -21
  432. package/lib/components/eye-test-audit/eye-test-audit/settings-audit/settings-audit.component.d.ts +0 -129
  433. package/lib/components/eye-test-audit/eye-test-audit/start-audit/start-audit.component.d.ts +0 -86
  434. package/lib/components/eye-test-audit/group-select/group-select.component.d.ts +0 -33
  435. package/lib/components/eye-test-audit/reactive-select/reactive-select.component.d.ts +0 -32
  436. package/lib/components/eye-test-audit/select-drop/select-drop.component.d.ts +0 -33
  437. package/lib/components/eye-test-audit/services/eye-test-audit.service.d.ts +0 -47
  438. package/lib/components/flag-layout/flag-layout.component.d.ts +0 -5
  439. package/lib/components/flags/flags.component.d.ts +0 -52
  440. package/lib/components/flags-info/flags-info.component.d.ts +0 -73
  441. package/lib/components/flags-info/flags-info.interface.d.ts +0 -430
  442. package/lib/components/flags-info/unattended-pie-chart/unattended-pie-chart.component.d.ts +0 -13
  443. package/lib/components/flags-new/flags-new.component.d.ts +0 -60
  444. package/lib/components/gallery/gallery.component.d.ts +0 -261
  445. package/lib/components/group-select/group-select.component.d.ts +0 -33
  446. package/lib/components/image-popup/image-popup.component.d.ts +0 -11
  447. package/lib/components/lib/custom-select/custom-select.component.d.ts +0 -33
  448. package/lib/components/manage-task/manage-task.component.d.ts +0 -47
  449. package/lib/components/managechecklist/managechecklist.component.d.ts +0 -33
  450. package/lib/components/multi-chip-dropdown/multi-chip-dropdown.component.d.ts +0 -40
  451. package/lib/components/multi-date-datepicker/multi-date-datepicker.component.d.ts +0 -27
  452. package/lib/components/orders/orders.component.d.ts +0 -38
  453. package/lib/components/pagination/pagination.component.d.ts +0 -16
  454. package/lib/components/reactive-select/reactive-select.component.d.ts +0 -32
  455. package/lib/components/reports/date-picker/date-picker.component.d.ts +0 -23
  456. package/lib/components/reports/reports.component.d.ts +0 -55
  457. package/lib/components/tango-analyse-trax/tango-analyse-trax.component.d.ts +0 -14
  458. package/lib/components/task/task.component.d.ts +0 -70
  459. package/lib/components/task-configure/task-configure.component.d.ts +0 -142
  460. package/lib/components/task-configure/task-configure.interface.d.ts +0 -128
  461. package/lib/components/task-info/task-info.component.d.ts +0 -76
  462. package/lib/components/task-info/taskinfo-edit/taskinfo-edit.component.d.ts +0 -61
  463. package/lib/components/task-layout/task-layout.component.d.ts +0 -5
  464. package/lib/components/task-logs/task-logs.component.d.ts +0 -27
  465. package/lib/components/trax-run-ai-popup/trax-run-ai-popup.component.d.ts +0 -26
  466. package/lib/components/trax-store/trax-store.component.d.ts +0 -45
  467. package/lib/components/traxpopup/traxpopup.component.d.ts +0 -24
  468. package/lib/services/trax.service.d.ts +0 -175
  469. package/lib/tango-analyse-trax-routing.module.d.ts +0 -7
  470. package/lib/tango-analyse-trax.module.d.ts +0 -68
@@ -0,0 +1,490 @@
1
+ <div class="d-flex align-items-center my-5">
2
+ <div (click)="backNavigation()" class="btn btn-am btn-outline p-3">
3
+ <span><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
4
+ <path d="M15.8332 9.99984H4.1665M4.1665 9.99984L9.99984 15.8332M4.1665 9.99984L9.99984 4.1665"
5
+ stroke="#344054" stroke-width="1.67" stroke-linecap="round" stroke-linejoin="round" />
6
+ </svg></span>
7
+ </div><span class="ms-2 title-head">Audit Settings</span>
8
+ </div>
9
+
10
+
11
+ <div class="row mt-5">
12
+ <div class="col-12">
13
+ <div ngbAccordion #accordion="ngbAccordion" [closeOthers]="true" [destroyOnHide]="true"
14
+ (show)="openItem($event)">
15
+ <div class="settings-accordian-card " ngbAccordionItem [collapsed]="false">
16
+ <div class="d-flex" ngbAccordionHeader>
17
+ <button type="button" class="mainheading" ngbAccordionButton>
18
+ <div class="header-row">
19
+ <span>User Configuration</span>
20
+ <span class="divider"></span>
21
+ </div>
22
+ </button>
23
+ </div>
24
+ <div ngbAccordionCollapse>
25
+ <div ngbAccordionBody>
26
+ <ng-template>
27
+
28
+ <div class="col-12 mb-5">
29
+ <div *ngIf="!editMode" class=" d-flex justify-content-end">
30
+ <button (click)="toggleEdit()" type="button"
31
+ class="btn btn-outline align-items-end"><span class="me-2"><svg
32
+ xmlns="http://www.w3.org/2000/svg" width="20" height="20"
33
+ viewBox="0 0 20 20" fill="none">
34
+ <g clip-path="url(#clip0_2579_25125)">
35
+ <path
36
+ d="M14.167 2.49993C14.3859 2.28106 14.6457 2.10744 14.9317 1.98899C15.2176 1.87054 15.5241 1.80957 15.8337 1.80957C16.1432 1.80957 16.4497 1.87054 16.7357 1.98899C17.0216 2.10744 17.2815 2.28106 17.5003 2.49993C17.7192 2.7188 17.8928 2.97863 18.0113 3.2646C18.1297 3.55057 18.1907 3.85706 18.1907 4.16659C18.1907 4.47612 18.1297 4.78262 18.0113 5.06859C17.8928 5.35455 17.7192 5.61439 17.5003 5.83326L6.25033 17.0833L1.66699 18.3333L2.91699 13.7499L14.167 2.49993Z"
37
+ stroke="#344054" stroke-width="1.67" stroke-linecap="round"
38
+ stroke-linejoin="round" />
39
+ </g>
40
+ <defs>
41
+ <clipPath id="clip0_2579_25125">
42
+ <rect width="20" height="20" fill="white" />
43
+ </clipPath>
44
+ </defs>
45
+ </svg></span>Edit Details</button>
46
+ </div>
47
+ </div>
48
+
49
+ <div class="w-80">
50
+ <label class="my-2 form-label fs-4 fw-bold">Assign Audit Users</label>
51
+ <div *ngIf="editMode; else readonlyView">
52
+ <lib-chip-dropdown [data]="userConfigList" [selectedData]="configData"
53
+ (selectedList)="updateOwner($event)">
54
+ </lib-chip-dropdown>
55
+ </div>
56
+
57
+ <ng-template #readonlyView>
58
+ <div class="flex flex-wrap gap-2 border-2 border-gray-300 p-3 rounded">
59
+ <ng-container *ngFor="let chip of configData">
60
+ <span class="p-1 rounded-5 chip px-2 my-3 py-1 bg-gray-200">
61
+ {{ chip?.name || chip }}
62
+ </span>
63
+ </ng-container>
64
+ </div>
65
+
66
+ </ng-template>
67
+
68
+ </div>
69
+
70
+ <div class="mt-3 text-end" *ngIf="editMode">
71
+ <button class="btn btn-outline me-2" (click)="cancelEdit()">Cancel</button>
72
+ <button class="btn btn-primary" (click)="submitOwners()">Save</button>
73
+ </div>
74
+ </ng-template>
75
+ </div>
76
+ </div>
77
+ </div>
78
+ <div class="settings-accordian-card mt-6" ngbAccordionItem>
79
+ <div class="d-flex" ngbAccordionHeader>
80
+ <button class="mainheading" ngbAccordionButton>
81
+ <div class="header-row">
82
+ <span>Email Configuration</span>
83
+ <span class="divider"></span>
84
+ </div>
85
+ </button>
86
+ </div>
87
+ <div ngbAccordionCollapse>
88
+ <div ngbAccordionBody>
89
+ <ng-template>
90
+ <div class="col-12 mb-5">
91
+ <div *ngIf="editMode1" class=" d-flex justify-content-end">
92
+ <button (click)="toggleEdit1();" type="button"
93
+ class="btn btn-outline align-items-end"><span class="me-2"><svg
94
+ xmlns="http://www.w3.org/2000/svg" width="20" height="20"
95
+ viewBox="0 0 20 20" fill="none">
96
+ <g clip-path="url(#clip0_2579_25125)">
97
+ <path
98
+ d="M14.167 2.49993C14.3859 2.28106 14.6457 2.10744 14.9317 1.98899C15.2176 1.87054 15.5241 1.80957 15.8337 1.80957C16.1432 1.80957 16.4497 1.87054 16.7357 1.98899C17.0216 2.10744 17.2815 2.28106 17.5003 2.49993C17.7192 2.7188 17.8928 2.97863 18.0113 3.2646C18.1297 3.55057 18.1907 3.85706 18.1907 4.16659C18.1907 4.47612 18.1297 4.78262 18.0113 5.06859C17.8928 5.35455 17.7192 5.61439 17.5003 5.83326L6.25033 17.0833L1.66699 18.3333L2.91699 13.7499L14.167 2.49993Z"
99
+ stroke="#344054" stroke-width="1.67" stroke-linecap="round"
100
+ stroke-linejoin="round" />
101
+ </g>
102
+ <defs>
103
+ <clipPath id="clip0_2579_25125">
104
+ <rect width="20" height="20" fill="white" />
105
+ </clipPath>
106
+ </defs>
107
+ </svg></span>Edit Details</button>
108
+ </div>
109
+ </div>
110
+ <div class="fw-semibold mb-3">
111
+ Compliance Threshold
112
+ </div>
113
+ <form [formGroup]="complianceForm">
114
+
115
+ <div class="row">
116
+ <div class="col-lg-2">
117
+ <lib-reactive-select formControlName="threshold" [data]="complianceThresholds"
118
+ [idField]="'value'" [nameField]="'label'"></lib-reactive-select>
119
+ </div>
120
+ <div class="col-lg-2">
121
+ <lib-reactive-select formControlName="percentage" [data]="compliancePercentage"
122
+ [idField]="'value'" [nameField]="'label'"></lib-reactive-select>
123
+ </div>
124
+ </div>
125
+ <div *ngIf="!editMode1" class="mt-3 text-end">
126
+ <button type="button" class="btn btn-outline me-2"
127
+ (click)="cancelCompliance()">Cancel</button>
128
+ <button type="button" class="btn btn-primary "
129
+ (click)="submitCompliance()">Save</button>
130
+ </div>
131
+ </form>
132
+ <div class="my-3">
133
+ <span class="fw-semibold me-3"><svg xmlns="http://www.w3.org/2000/svg" width="16"
134
+ height="16" viewBox="0 0 16 16" fill="none">
135
+ <g clip-path="url(#clip0_762_15430)">
136
+ <path
137
+ d="M8.00004 10.6663V7.99967M8.00004 5.33301H8.00671M14.6667 7.99967C14.6667 11.6816 11.6819 14.6663 8.00004 14.6663C4.31814 14.6663 1.33337 11.6816 1.33337 7.99967C1.33337 4.31778 4.31814 1.33301 8.00004 1.33301C11.6819 1.33301 14.6667 4.31778 14.6667 7.99967Z"
138
+ stroke="#667085" stroke-width="2" stroke-linecap="round"
139
+ stroke-linejoin="round" />
140
+ </g>
141
+ <defs>
142
+ <clipPath id="clip0_762_15430">
143
+ <rect width="16" height="16" fill="white" />
144
+ </clipPath>
145
+ </defs>
146
+ </svg></span>
147
+ Email will be automatically sent if the compliance doesn’t meet the
148
+ <span class="fw-bold">{{complianceForm.value?.percentage}}</span> to the respective Optometrist.
149
+ </div>
150
+ </ng-template>
151
+ </div>
152
+ </div>
153
+ </div>
154
+ <div class="settings-accordian-card mt-6" ngbAccordionItem>
155
+ <div class="d-flex" ngbAccordionHeader>
156
+ <button class="mainheading" ngbAccordionButton>
157
+ <div class="header-row">
158
+ <span>Email Logs</span>
159
+ <span class="divider"></span>
160
+ </div>
161
+ </button>
162
+ </div>
163
+ <div ngbAccordionCollapse>
164
+ <div ngbAccordionBody>
165
+ <ng-template>
166
+ <div class="d-flex justify-content-end align-items-center mb-10">
167
+ <div class="d-flex align-items-center position-relative my-1">
168
+ <span class="svg-icon svg-icon-1 position-absolute ms-3">
169
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"
170
+ viewBox="0 0 24 24" fill="none">
171
+ <rect opacity="0.5" x="17.0365" y="15.1223" width="8.15546" height="2"
172
+ rx="1" transform="rotate(45 17.0365 15.1223)" fill="currentColor">
173
+ </rect>
174
+ <path
175
+ 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"
176
+ fill="currentColor"></path>
177
+ </svg>
178
+ </span>
179
+ <input (change)="searchData($event)" [(ngModel)]="searchValue" type="search"
180
+ class="form-control ps-14 me-2" autocomplete="off" placeholder="Search" />
181
+ <div class="d-flex align-items-center">
182
+ <div class="d-flex align-items-center position-relative me-2">
183
+ <input class="fx-date-range form-control ps-14"
184
+ style="min-width: 260px !important;" type="text" matInput
185
+ ngxDaterangepickerMd [drops]="'down'" [opens]="'right'"
186
+ [ranges]="ranges" [showCustomRangeLabel]="true"
187
+ [alwaysShowCalendars]="false" [keepCalendarOpeningWithRange]="true"
188
+ [showCancel]="true" autocomplete="off" [(ngModel)]="selectedDateRange"
189
+ [autoApply]="true"
190
+ [locale]="{ format: 'DD-MM-YYYY', firstDay: 1, monthNames: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'] }"
191
+ (datesUpdated)="datechange($event)" name="daterange" />
192
+ <span class="svg-icon svg-icon-1 position-absolute ms-3">
193
+ <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20"
194
+ viewBox="0 0 20 20" fill="none">
195
+ <path
196
+ d="M13.3333 1.66663V4.99996M6.66667 1.66663V4.99996M2.5 8.33329H17.5M4.16667 3.33329H15.8333C16.7538 3.33329 17.5 4.07948 17.5 4.99996V16.6666C17.5 17.5871 16.7538 18.3333 15.8333 18.3333H4.16667C3.24619 18.3333 2.5 17.5871 2.5 16.6666V4.99996C2.5 4.07948 3.24619 3.33329 4.16667 3.33329Z"
197
+ stroke="#344054" stroke-width="1.67" stroke-linecap="round"
198
+ stroke-linejoin="round" />
199
+ </svg>
200
+ </span>
201
+ </div>
202
+
203
+ <div class="position-relative">
204
+
205
+ <button type="button" (click)="opendropdown()"
206
+ class="btn btn-outline mx-2 rounded-3 text-nowrap border-val">
207
+ <span class="me-2">Filter</span> <svg width="20" height="20"
208
+ viewBox="0 0 20 20" fill="none">
209
+ <path d="M5 10H15M2.5 5H17.5M7.5 15H12.5" stroke="#344054"
210
+ stroke-width="2" stroke-linecap="round"
211
+ stroke-linejoin="round" />
212
+ </svg>
213
+ </button>
214
+
215
+
216
+ <div *ngIf="Opendropdown"
217
+ class="card p-4 dropdown2 position-absolute z-1 end-0"
218
+ (clickOutside)="closeDropdown()">
219
+ <div class="dropdown-title d-flex justify-content-between mb-3">
220
+ <span>Filter Options</span>
221
+
222
+ </div>
223
+
224
+
225
+ <div class="dropdown-container mb-3">
226
+ <div class="position-relative dropdown-header"
227
+ (click)="toggleRmDropdown()">
228
+ <input type="text"
229
+ class="form-control dropdown-input cursor-pointer"
230
+ value="RMs" readonly placeholder="Select RMs" />
231
+ <span *ngIf="getSelectedRmsCount()"
232
+ class="position-absolute top-50 end-0 translate-middle-y me-2 badge badge-light-default text-white text-xs rounded-full px-2 py-0.5">
233
+ {{ getSelectedRmsCount() }}
234
+ </span>
235
+ </div>
236
+
237
+ <div class="dropdown-menu custom-dropdown-menu" *ngIf="rmOpen">
238
+ <input type="text" class="form-control mb-2 dropdown-search"
239
+ placeholder="Search RMs" [(ngModel)]="searchRmText"
240
+ (ngModelChange)="filterRms()" />
241
+
242
+ <div class="form-check ps-0 my-5">
243
+ <input class="form-check-input" type="checkbox"
244
+ id="selectAllRms" [checked]="isAllRmsSelected()"
245
+ (change)="toggleSelectAllRms($event)" />
246
+ <label class="form-check-label" for="selectAllRms">Select
247
+ All</label>
248
+ </div>
249
+
250
+ <div class="form-check mb-5 ps-0"
251
+ *ngFor="let rm of filteredRms">
252
+ <input class="form-check-input" type="checkbox"
253
+ [id]="rm.email" [(ngModel)]="rm.checked"
254
+ (change)="updateSelectedRms()" />
255
+ <label class="form-check-label" [for]="rm.email">{{
256
+ rm.userName }}</label>
257
+ </div>
258
+ </div>
259
+ </div>
260
+
261
+
262
+ <div class="dropdown-container">
263
+ <div class="dropdown-header position-relative"
264
+ (click)="toggleClusterDropdown()">
265
+ <input type="text"
266
+ class="form-control dropdown-input cursor-pointer pe-5"
267
+ value="Clusters" readonly placeholder="Select Clusters" />
268
+
269
+
270
+ <span *ngIf="getSelectedClustersCount()"
271
+ class="position-absolute top-50 end-0 translate-middle-y me-2 badge badge badge-light-default text-white rounded-pill px-2 py-0">
272
+ {{ getSelectedClustersCount() }}
273
+ </span>
274
+ </div>
275
+
276
+ <div class="dropdown-menu custom-dropdown-menu" *ngIf="clusterOpen">
277
+ <input type="text" class="form-control mb-2 dropdown-search"
278
+ placeholder="Search clusters"
279
+ [(ngModel)]="searchClusterText"
280
+ (ngModelChange)="filterClusters()" />
281
+
282
+ <div class="form-check ps-0 my-5">
283
+ <input class="form-check-input" type="checkbox"
284
+ id="selectAllClusters"
285
+ [checked]="isAllClustersSelected()"
286
+ (change)="toggleSelectAllClusters($event)" />
287
+ <label class="form-check-label"
288
+ for="selectAllClusters">Select All</label>
289
+ </div>
290
+
291
+ <div class="form-check mb-5 ps-0"
292
+ *ngFor="let cluster of filteredClusters">
293
+ <input class="form-check-input" type="checkbox"
294
+ [id]="cluster._id" [(ngModel)]="cluster.checked"
295
+ (change)="updateSelectedClusters()" />
296
+ <label class="form-check-label" [for]="cluster._id">{{
297
+ cluster.clusterName }}</label>
298
+ </div>
299
+ </div>
300
+ </div>
301
+
302
+ <div class="d-flex gap-2 mt-3">
303
+ <button class="btn btn-outline btn-sm w-50"
304
+ (click)="Reset()">Reset</button>
305
+ <button class="btn btn-primary btn-sm w-50"
306
+ (click)="Apply()">Apply</button>
307
+ </div>
308
+ </div>
309
+
310
+ </div>
311
+
312
+ <button type="button" (click)="exportXLSX()" *ngIf="!noData && !loading"
313
+ class="btn btn-default mx-2 btn-outline btn-outline-default rounded-3 text-nowrap border-val"><svg
314
+ xmlns="http://www.w3.org/2000/svg" width="20" height="20"
315
+ viewBox="0 0 20 20" fill="none">
316
+ <path
317
+ 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"
318
+ stroke="#344054" stroke-width="1.67" stroke-linecap="round"
319
+ stroke-linejoin="round" />
320
+ </svg><span class="ms-2">Export</span> </button>
321
+ </div>
322
+ </div>
323
+ </div>
324
+
325
+ <div *ngIf="loading" class="row loader d-flex justify-content-center align-items-center">
326
+ <div class="shimmer">
327
+ <div class="wrapper">
328
+ <div class="stroke animate title"></div>
329
+ <div class="stroke animate link"></div>
330
+ <div class="stroke animate description"></div>
331
+ </div>
332
+ </div>
333
+ <div class="shimmer">
334
+ <div class="wrapper">
335
+ <div class="stroke animate title"></div>
336
+ <div class="stroke animate link"></div>
337
+ <div class="stroke animate description"></div>
338
+ </div>
339
+ </div>
340
+ </div>
341
+ <div *ngIf="noData" class="row">
342
+ <div class="col-lg-12 mb-3">
343
+ <div class="card-body d-flex justify-content-center align-items-center flex-column">
344
+ <img class="img-nodata-table" src="./assets/tango/Icons/Nodata1.svg" alt="">
345
+ <div class="nodata-title">No data found</div>
346
+ <div class="nodata-sub">There is no result for this eye test table</div>
347
+ </div>
348
+ </div>
349
+ </div>
350
+ <div *ngIf="!noData && !loading" class="table-responsive">
351
+ <table class="w-100 table bottom-border text-nowrap">
352
+ <thead>
353
+ <tr>
354
+ <th class="text-nowrap text-start"> <span class="cursor-pointer"
355
+ > RM Name
356
+ </span></th>
357
+ <th class="text-nowrap text-start"><span class="cursor-pointer"
358
+ > Cluster Name
359
+ </span></th>
360
+ <th class="text-nowrap text-start">
361
+ <span class="cursor-pointer" (click)="onSort('optumId')"> Optom ID <svg
362
+ [ngClass]="sortedColumn === 'optumId' && sortOrder === 1 ? 'rotate' : ''"
363
+ width="16" height="16" viewBox="0 0 16 16" fill="none">
364
+ <path
365
+ d="M8.00016 3.33337V12.6667M8.00016 12.6667L12.6668 8.00004M8.00016 12.6667L3.3335 8.00004"
366
+ [attr.stroke]="sortedColumn === 'optumId' ? '#00A3FF' : '#667085'"
367
+ stroke-width="1.33333" stroke-linecap="round"
368
+ stroke-linejoin="round" />
369
+ </svg></span>
370
+ </th>
371
+ <th class="text-nowrap text-start">
372
+ <span class="cursor-pointer" (click)="onSort('optomEmailId')"> Optom
373
+ Email <svg
374
+ [ngClass]="sortedColumn === 'optomEmailId' && sortOrder === 1 ? 'rotate' : ''"
375
+ width="16" height="16" viewBox="0 0 16 16" fill="none">
376
+ <path
377
+ d="M8.00016 3.33337V12.6667M8.00016 12.6667L12.6668 8.00004M8.00016 12.6667L3.3335 8.00004"
378
+ [attr.stroke]="sortedColumn === 'optomEmailId' ? '#00A3FF' : '#667085'"
379
+ stroke-width="1.33333" stroke-linecap="round"
380
+ stroke-linejoin="round" />
381
+ </svg></span>
382
+ </th>
383
+ <th class="text-nowrap text-start"><span class="cursor-pointer"
384
+ (click)="onSort('storeName')"> Store Name <svg
385
+ [ngClass]="sortedColumn === 'storeName' && sortOrder === 1 ? 'rotate' : ''"
386
+ width="16" height="16" viewBox="0 0 16 16" fill="none">
387
+ <path
388
+ d="M8.00016 3.33337V12.6667M8.00016 12.6667L12.6668 8.00004M8.00016 12.6667L3.3335 8.00004"
389
+ [attr.stroke]="sortedColumn === 'storeName' ? '#00A3FF' : '#667085'"
390
+ stroke-width="1.33333" stroke-linecap="round"
391
+ stroke-linejoin="round" />
392
+ </svg></span></th>
393
+
394
+ <th class="text-nowrap text-start"><span class="cursor-pointer"
395
+ (click)="onSort('auditedBy')"> Audited By <svg
396
+ [ngClass]="sortedColumn === 'auditedBy' && sortOrder === 1 ? 'rotate' : ''"
397
+ width="16" height="16" viewBox="0 0 16 16" fill="none">
398
+ <path
399
+ d="M8.00016 3.33337V12.6667M8.00016 12.6667L12.6668 8.00004M8.00016 12.6667L3.3335 8.00004"
400
+ [attr.stroke]="sortedColumn === 'auditedBy' ? '#00A3FF' : '#667085'"
401
+ stroke-width="1.33333" stroke-linecap="round"
402
+ stroke-linejoin="round" />
403
+ </svg></span></th>
404
+ <th class="text-nowrap text-start">
405
+ <span class="cursor-pointer" (click)="onSort('complianceScore')"> Tango
406
+ Score <svg
407
+ [ngClass]="sortedColumn === 'complianceScore' && sortOrder === 1 ? 'rotate' : ''"
408
+ width="16" height="16" viewBox="0 0 16 16" fill="none">
409
+ <path
410
+ d="M8.00016 3.33337V12.6667M8.00016 12.6667L12.6668 8.00004M8.00016 12.6667L3.3335 8.00004"
411
+ [attr.stroke]="sortedColumn === 'complianceScore' ? '#00A3FF' : '#667085'"
412
+ stroke-width="1.33333" stroke-linecap="round"
413
+ stroke-linejoin="round" />
414
+ </svg></span>
415
+ </th>
416
+ <th class="text-nowrap text-start">
417
+ <span class="cursor-pointer" (click)="onSort('trustScore')"> Trust Score
418
+ <svg [ngClass]="sortedColumn === 'trustScore' && sortOrder === 1 ? 'rotate' : ''"
419
+ width="16" height="16" viewBox="0 0 16 16" fill="none">
420
+ <path
421
+ d="M8.00016 3.33337V12.6667M8.00016 12.6667L12.6668 8.00004M8.00016 12.6667L3.3335 8.00004"
422
+ [attr.stroke]="sortedColumn === 'trustScore' ? '#00A3FF' : '#667085'"
423
+ stroke-width="1.33333" stroke-linecap="round"
424
+ stroke-linejoin="round" />
425
+ </svg></span>
426
+ </th>
427
+
428
+ <th class="text-nowrap text-start">
429
+ <span class="cursor-pointer" (click)="onSort('humanScore')"> Human
430
+ Audited Score <svg
431
+ [ngClass]="sortedColumn === 'humanScore' && sortOrder === 1 ? 'rotate' : ''"
432
+ width="16" height="16" viewBox="0 0 16 16" fill="none">
433
+ <path
434
+ d="M8.00016 3.33337V12.6667M8.00016 12.6667L12.6668 8.00004M8.00016 12.6667L3.3335 8.00004"
435
+ [attr.stroke]="sortedColumn === 'humanScore' ? '#00A3FF' : '#667085'"
436
+ stroke-width="1.33333" stroke-linecap="round"
437
+ stroke-linejoin="round" />
438
+ </svg></span>
439
+ </th>
440
+
441
+ <th class="text-nowrap text-start">Action</th>
442
+ </tr>
443
+ </thead>
444
+ <tbody>
445
+ <tr *ngFor="let item of tableData">
446
+ <td class="text-nowrap">
447
+ <span class="rm-truncate" [title]="item.RMName">{{ item.RMName }}</span>
448
+ </td>
449
+ <td class="text-nowrap">
450
+ <span class="rm-truncate" [title]="item.cluster">{{ item.cluster }}</span>
451
+ </td>
452
+ <td class="text-nowrap">{{item.optumId}}</td>
453
+ <td class="text-nowrap">{{item.optomEmailId}}</td>
454
+ <td class="text-nowrap">{{item.storeName}}</td>
455
+ <td class="text-nowrap">{{item.auditedBy}}</td>
456
+ <td class="text-nowrap">{{item.complianceScore ?? "--" }}</td>
457
+ <td class="text-nowrap">{{item.trustScore}}</td>
458
+ <td class="text-nowrap">{{item.humanScore}}</td>
459
+ <td class="text-nowrap">
460
+ <button type="button" [disabled]="!item.auditedId"
461
+ (click)="eyeTestView(item)"
462
+ class="btn btn-link p-0 m-0 border-0 bg-transparent">
463
+ <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20"
464
+ viewBox="0 0 20 20" fill="none">
465
+ <path
466
+ d="M0.833252 9.99967C0.833252 9.99967 4.16658 3.33301 9.99992 3.33301C15.8333 3.33301 19.1666 9.99967 19.1666 9.99967C19.1666 9.99967 15.8333 16.6663 9.99992 16.6663C4.16658 16.6663 0.833252 9.99967 0.833252 9.99967Z"
467
+ stroke="#667085" stroke-width="1.66667"
468
+ stroke-linecap="round" stroke-linejoin="round" />
469
+ <path
470
+ d="M9.99992 12.4997C11.3806 12.4997 12.4999 11.3804 12.4999 9.99967C12.4999 8.61896 11.3806 7.49967 9.99992 7.49967C8.61921 7.49967 7.49992 8.61896 7.49992 9.99967C7.49992 11.3804 8.61921 12.4997 9.99992 12.4997Z"
471
+ stroke="#667085" stroke-width="1.66667"
472
+ stroke-linecap="round" stroke-linejoin="round" />
473
+ </svg>
474
+ </button>
475
+ </td>
476
+ </tbody>
477
+ </table>
478
+ </div>
479
+ <div class="card-footer" *ngIf="!noData && !loading">
480
+ <lib-pagination [itemsPerPage]="pageSize" [currentPage]="offset"
481
+ [totalItems]="totalItems" [paginationSizes]="paginationSizes" [pageSize]="pageSize"
482
+ (pageChange)="onPageChange($event)"
483
+ (pageSizeChange)="onPageSizeChange($event)"></lib-pagination>
484
+ </div>
485
+ </ng-template>
486
+ </div>
487
+ </div>
488
+ </div>
489
+ </div>
490
+ </div>