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,607 @@
1
+ <div class="col-md-12">
2
+ <div class="row">
3
+ <div class="col-6">
4
+ <div class="card">
5
+ <div class="actioncard my-3 mx-3">
6
+ <div class="d-flex">
7
+ <span class="actioncount"> {{ overallCardsData.checklistApproval?.count !==null ?
8
+ overallCardsData.checklistApproval?.count.toLocaleString('en-US', {
9
+ minimumFractionDigits: 0 }) : '--' }}</span>
10
+ <span class="actiontext mx-5 mt-3">Checklist waiting for
11
+ approval</span>
12
+ </div>
13
+ </div>
14
+ </div>
15
+ </div>
16
+ <div class="col-6">
17
+ <div class="card">
18
+ <div class="actioncard my-3 mx-3">
19
+ <div class="d-flex">
20
+ <span class="actioncount"> {{ overallCardsData.taskApproval?.count !==null ?
21
+ overallCardsData.taskApproval?.count.toLocaleString('en-US', {
22
+ minimumFractionDigits: 0 }) : '--' }}</span> <span class="actiontext mx-5 mt-3">Task waiting for
23
+ approval</span>
24
+ </div>
25
+ </div>
26
+ </div>
27
+ </div>
28
+ </div>
29
+
30
+ <div class="row m-0 my-3">
31
+ <div class="card">
32
+ <div class="card-header border-0 pt-3">
33
+ <h3 class="card-title align-items-start flex-column">
34
+ <span class="card-label mb-2">Approval</span>
35
+ <span class="text-sub mb-2">An Summary of all the checklists awaiting approval
36
+ </span>
37
+ </h3>
38
+ <div class="card-toolbar">
39
+ <div class="d-flex">
40
+ <div class="d-flex align-items-center position-relative my-1">
41
+ <span class="svg-icon svg-icon-1 position-absolute ms-4 mt-1">
42
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
43
+ <rect opacity="0.5" x="17.0365" y="15.1223" width="8.15546" height="2" rx="1"
44
+ transform="rotate(45 17.0365 15.1223)" fill="currentColor">
45
+ </rect>
46
+ <path
47
+ 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"
48
+ fill="currentColor"></path>
49
+ </svg>
50
+ </span>
51
+ <!-- [disabled]="searchDisabled" -->
52
+ <input [(ngModel)]="searchInput" type="text" class="form-control w-400px ps-14 mt-1 me-3"
53
+ placeholder="Search" autocomplete="off" (keyup.enter)="searchField()" />
54
+ <lib-filters *ngIf="isTaskSelected" class="me-3 mt-1" [dataObject]="dataObject"
55
+ (appliedFilters)="applyFilters($event)"></lib-filters>
56
+
57
+ <form class="mt-1 borderless-select" [formGroup]="form">
58
+ <lib-reactive-select [formControl]="selectedlistselectControl" [idField]="'_id'" [nameField]="'label'"
59
+ [data]="statusselectControl" class="w-200px" (valueChange)="onValueChangeStatusSelect($event)">
60
+ <ng-template let-item>
61
+ <div class="d-flex justify-content-between align-items-center">
62
+ <span>{{ item.label }}</span>
63
+ <span class="d-flex align-items-center">
64
+ <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
65
+ <path d="M5 7.5L10 12.5L15 7.5" stroke="#344054" stroke-width="1.67" stroke-linecap="round"
66
+ stroke-linejoin="round" />
67
+ </svg>
68
+ </span>
69
+ </div>
70
+ </ng-template>
71
+ </lib-reactive-select>
72
+ </form>
73
+ </div>
74
+ </div>
75
+ </div>
76
+ </div>
77
+ <div class="col-lg-12">
78
+ <div class="row p-3">
79
+ <!-- open card start -->
80
+ <div class="col-4">
81
+ <div class="approvalcard">
82
+ <div class="approvalheader">
83
+ <h3 class="card-title align-items-start d-flex flex-column mt-1">
84
+ <span class="cate-text">Open <span *ngIf="OpenApprovalListData.length"
85
+ class="cate-sub badge badge-light-default mx-2"> {{OpenApprovalListData.length}}
86
+ </span></span>
87
+ </h3>
88
+ <!-- <div class="card-toolbar">
89
+ <div class="d-flex">
90
+ <div class="d-flex align-items-center position-relative">
91
+ <span><svg xmlns="http://www.w3.org/2000/svg" width="17" height="16" viewBox="0 0 17 16"
92
+ fill="none">
93
+ <path d="M8.66667 3.33325V12.6666M8.66667 12.6666L13.3333 7.99992M8.66667 12.6666L4 7.99992"
94
+ stroke="#667085" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round" />
95
+ </svg></span>
96
+ </div>
97
+ </div>
98
+ </div> -->
99
+ </div>
100
+ <div *ngIf="!approvalOpenLoading && !approvalOpenNoData" class="p-5 cardscroll">
101
+ <div *ngFor="let open of OpenApprovalListData" (click)="navigateToGallery(open)" class="approvalbody mb-4 cursor-pointer">
102
+ <div class="d-flex">
103
+ <span *ngIf="open.checkListType"
104
+ class="cate-sub me-2 mt-1 badge"
105
+ [ngClass]="{
106
+ 'badge-light-violet': open.checkListType !== 'cctv',
107
+ 'badge-light-warning': open.checkListType === 'cctv'
108
+ }">
109
+ {{
110
+ open.checkListType === 'custom'
111
+ ? 'Checklist'
112
+ : (open.checkListType === 'cctv'
113
+ ? 'CCTV'
114
+ : (open.checkListType === 'checklistTask'
115
+ ? 'Checklist Task'
116
+ : (open.checkListType === 'task'
117
+ ? 'Task'
118
+ : (open.checkListType | titlecase) || '--')))
119
+ }}
120
+ </span>
121
+ <span *ngIf="open.redo" class="cate-sub badge badge-light-blue me-2 mt-1"><svg
122
+ xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none">
123
+ <g clip-path="url(#clip0_5119_5576)">
124
+ <path
125
+ d="M11.5 2.00004V5.00004M11.5 5.00004H8.5M11.5 5.00004L9.18 2.82004C8.64263 2.28239 7.97781 1.88964 7.2476 1.67842C6.51738 1.46721 5.74555 1.44441 5.00414 1.61217C4.26273 1.77992 3.5759 2.13275 3.00773 2.63775C2.43957 3.14274 2.00858 3.78343 1.755 4.50004M0.5 10V7.00004M0.5 7.00004H3.5M0.5 7.00004L2.82 9.18004C3.35737 9.71768 4.02219 10.1104 4.7524 10.3217C5.48262 10.5329 6.25445 10.5557 6.99586 10.3879C7.73727 10.2202 8.4241 9.86732 8.99227 9.36233C9.56043 8.85734 9.99142 8.21664 10.245 7.50004"
126
+ stroke="#2E90FA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
127
+ </g>
128
+ <defs>
129
+ <clipPath id="clip0_5119_5576">
130
+ <rect width="12" height="12" fill="white" />
131
+ </clipPath>
132
+ </defs>
133
+ </svg>Redo</span>
134
+ <div *ngIf="open?.priorityType">
135
+ <span class="cate-sub mt-1 me-2 badge text-end" [ngClass]="{
136
+ 'badge-light-danger': open.priorityType === 'high',
137
+ 'badge-light-blue': open.priorityType === 'medium',
138
+ 'badge-light-warning': open.priorityType === 'low'
139
+ }">
140
+ {{ open.priorityType | titlecase }} Priority
141
+ </span>
142
+ </div>
143
+ </div>
144
+ <div class="d-flex justify-content-between w-100">
145
+ <div class="headingtext d-flex">
146
+ {{ open.checkListName || '--' }}
147
+ <!-- <span *ngIf="!open.redo && open.checkListType"
148
+ class="cate-sub mx-1 badge badge-light-violet mt-1"> {{ open.checkListType === 'custom' ? 'Checklist' : ((open.checkListType | titlecase) || '--') }}</span> -->
149
+ </div>
150
+ <!-- <span class="cate-sub badge badge-light-default">Store Based</span> -->
151
+
152
+ </div>
153
+ <div class="d-flex">
154
+ <span><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"
155
+ fill="none">
156
+ <path
157
+ d="M13.3346 14V12.6667C13.3346 11.9594 13.0537 11.2811 12.5536 10.781C12.0535 10.281 11.3752 10 10.668 10H5.33464C4.62739 10 3.94911 10.281 3.44902 10.781C2.94892 11.2811 2.66797 11.9594 2.66797 12.6667V14M10.668 4.66667C10.668 6.13943 9.47406 7.33333 8.0013 7.33333C6.52854 7.33333 5.33464 6.13943 5.33464 4.66667C5.33464 3.19391 6.52854 2 8.0013 2C9.47406 2 10.668 3.19391 10.668 4.66667Z"
158
+ stroke="#667085" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round" />
159
+ </svg><span class="cardsubtext ms-2 me-4"> {{ open.createdByName || '--' }}</span></span>
160
+ <span>
161
+ <span *ngIf="open.storeCount > 1"><svg *ngIf="open?.coverage ==='user'" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"
162
+ fill="none">
163
+ <path
164
+ d="M13.3346 14V12.6667C13.3346 11.9594 13.0537 11.2811 12.5536 10.781C12.0535 10.281 11.3752 10 10.668 10H5.33464C4.62739 10 3.94911 10.281 3.44902 10.781C2.94892 11.2811 2.66797 11.9594 2.66797 12.6667V14M10.668 4.66667C10.668 6.13943 9.47406 7.33333 8.0013 7.33333C6.52854 7.33333 5.33464 6.13943 5.33464 4.66667C5.33464 3.19391 6.52854 2 8.0013 2C9.47406 2 10.668 3.19391 10.668 4.66667Z"
165
+ stroke="#667085" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round" />
166
+ </svg> <svg *ngIf="open?.coverage ==='store'" _ngcontent-ng-c514516357="" xmlns="http://www.w3.org/2000/svg" width="19" height="18" viewBox="0 0 19 18" fill="none"><path _ngcontent-ng-c514516357="" d="M3.14334 5.26383L3.09649 5.33701C2.61958 6.18313 3.13458 7.24243 4.04025 7.36366C4.12504 7.37402 4.20312 7.37939 4.27884 7.37939C4.77704 7.37939 5.21745 7.16583 5.52472 6.8323L6.07805 6.23168L6.6295 6.83403C6.93274 7.16525 7.37199 7.37939 7.87379 7.37939C8.37329 7.37939 8.81516 7.1649 9.11808 6.83403L9.67126 6.22979L10.2244 6.83403C10.5274 7.1649 10.9692 7.37939 11.4687 7.37939C11.9682 7.37939 12.4101 7.1649 12.713 6.83403L13.2662 6.22979L13.8194 6.83403C14.1223 7.1649 14.5642 7.37939 15.0637 7.37939C15.1368 7.37939 15.2173 7.374 15.3014 7.36377C16.2273 7.23713 16.7448 6.11962 16.1968 5.26433C16.1967 5.26427 16.1967 5.26422 16.1966 5.26416L14.6143 2.79691L14.6143 2.79691L14.6136 2.79579C14.6133 2.79543 14.6114 2.79328 14.6068 2.79079C14.6005 2.78742 14.5934 2.78564 14.5867 2.78564H4.75027C4.74363 2.78564 4.73648 2.78742 4.73026 2.79079C4.7252 2.79353 4.72337 2.79585 4.72337 2.79585L4.72302 2.79641L3.14334 5.26383ZM4.50753 9.74376C4.43281 9.74785 4.35748 9.74993 4.2816 9.74993C4.26875 9.74993 4.25593 9.74987 4.24314 9.74974V12.4821V14.2231C4.24314 14.7599 4.68913 15.2142 5.25753 15.2142H14.0795C14.6479 15.2142 15.0939 14.7599 15.0939 14.2231V12.4821V9.74979C15.0829 9.74988 15.0719 9.74993 15.0609 9.74993C14.9833 9.74993 14.9062 9.74775 14.8295 9.74345V12.4821V13.2321H14.0795H5.25753H4.50753V12.4821V9.74376Z" stroke="#667085" stroke-width="1.5"></path></svg>
167
+ <span class="cardsubtext ms-2 me-4">{{ open.submitCount !==null ? open.submitCount.toLocaleString('en-US', {
168
+ minimumFractionDigits: 0 }) :
169
+ '--' }} / {{ open.storeCount !==null ?
170
+ open.storeCount.toLocaleString('en-US', {
171
+ minimumFractionDigits: 0 }) :
172
+ '--' }}</span></span>
173
+ </span>
174
+ <span *ngIf="open.storeCount === 1"><svg *ngIf="open?.coverage ==='user'" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"
175
+ fill="none">
176
+ <path
177
+ d="M13.3346 14V12.6667C13.3346 11.9594 13.0537 11.2811 12.5536 10.781C12.0535 10.281 11.3752 10 10.668 10H5.33464C4.62739 10 3.94911 10.281 3.44902 10.781C2.94892 11.2811 2.66797 11.9594 2.66797 12.6667V14M10.668 4.66667C10.668 6.13943 9.47406 7.33333 8.0013 7.33333C6.52854 7.33333 5.33464 6.13943 5.33464 4.66667C5.33464 3.19391 6.52854 2 8.0013 2C9.47406 2 10.668 3.19391 10.668 4.66667Z"
178
+ stroke="#667085" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round" />
179
+ </svg> <svg *ngIf="open?.coverage ==='store'" _ngcontent-ng-c514516357="" xmlns="http://www.w3.org/2000/svg" width="19" height="18" viewBox="0 0 19 18" fill="none"><path _ngcontent-ng-c514516357="" d="M3.14334 5.26383L3.09649 5.33701C2.61958 6.18313 3.13458 7.24243 4.04025 7.36366C4.12504 7.37402 4.20312 7.37939 4.27884 7.37939C4.77704 7.37939 5.21745 7.16583 5.52472 6.8323L6.07805 6.23168L6.6295 6.83403C6.93274 7.16525 7.37199 7.37939 7.87379 7.37939C8.37329 7.37939 8.81516 7.1649 9.11808 6.83403L9.67126 6.22979L10.2244 6.83403C10.5274 7.1649 10.9692 7.37939 11.4687 7.37939C11.9682 7.37939 12.4101 7.1649 12.713 6.83403L13.2662 6.22979L13.8194 6.83403C14.1223 7.1649 14.5642 7.37939 15.0637 7.37939C15.1368 7.37939 15.2173 7.374 15.3014 7.36377C16.2273 7.23713 16.7448 6.11962 16.1968 5.26433C16.1967 5.26427 16.1967 5.26422 16.1966 5.26416L14.6143 2.79691L14.6143 2.79691L14.6136 2.79579C14.6133 2.79543 14.6114 2.79328 14.6068 2.79079C14.6005 2.78742 14.5934 2.78564 14.5867 2.78564H4.75027C4.74363 2.78564 4.73648 2.78742 4.73026 2.79079C4.7252 2.79353 4.72337 2.79585 4.72337 2.79585L4.72302 2.79641L3.14334 5.26383ZM4.50753 9.74376C4.43281 9.74785 4.35748 9.74993 4.2816 9.74993C4.26875 9.74993 4.25593 9.74987 4.24314 9.74974V12.4821V14.2231C4.24314 14.7599 4.68913 15.2142 5.25753 15.2142H14.0795C14.6479 15.2142 15.0939 14.7599 15.0939 14.2231V12.4821V9.74979C15.0829 9.74988 15.0719 9.74993 15.0609 9.74993C14.9833 9.74993 14.9062 9.74775 14.8295 9.74345V12.4821V13.2321H14.0795H5.25753H4.50753V12.4821V9.74376Z" stroke="#667085" stroke-width="1.5"></path></svg>
180
+ <span class="cardsubtext ms-2 me-4">{{(open?.coverage === 'user' ? open.userName : open.storeName) || '--'}}</span></span>
181
+
182
+ <span *ngIf="open.checkListType === 'custom'"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18"
183
+ fill="none">
184
+ <path
185
+ d="M12 1.5V4.5M6 1.5V4.5M2.25 7.5H15.75M3.75 3H14.25C15.0784 3 15.75 3.67157 15.75 4.5V15C15.75 15.8284 15.0784 16.5 14.25 16.5H3.75C2.92157 16.5 2.25 15.8284 2.25 15V4.5C2.25 3.67157 2.92157 3 3.75 3Z"
186
+ stroke="#667085" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round" />
187
+ </svg><span class="cardsubtext ms-2 me-4">Repeats {{ open.scheduleRepeatedType ?
188
+ open.scheduleRepeatedType.toLocaleString('en-US', {
189
+ minimumFractionDigits: 0 }) :
190
+ '--' }}</span></span>
191
+ </div>
192
+ <div class="ms-1 d-flex justify-content-between w-100">
193
+ <span><svg width="12" height="12" viewBox="0 0 12 12" fill="none"
194
+ xmlns="http://www.w3.org/2000/svg">
195
+ <g clip-path="url(#clip0_5119_3178)">
196
+ <mask id="path-1-inside-1_5119_3178" fill="white">
197
+ <path fill-rule="evenodd" clip-rule="evenodd"
198
+ d="M6.13055 0.00142049C5.25757 -0.0175778 4.39097 0.154192 3.59125 0.504738C2.79152 0.855284 2.07795 1.37616 1.50034 2.03099C0.922726 2.68583 0.495005 3.45885 0.247033 4.29608C-0.000939533 5.1333 -0.0631861 6.01457 0.0646388 6.87834C0.192464 7.74212 0.507279 8.56758 0.987107 9.29711C1.46693 10.0266 2.10021 10.6426 2.84272 11.1021C3.58523 11.5616 4.41908 11.8535 5.28606 11.9574C6.15303 12.0613 7.03224 11.9747 7.8623 11.7037C8.00412 11.6573 8.12173 11.5565 8.18924 11.4235C8.25675 11.2904 8.26864 11.136 8.2223 10.9942C8.17595 10.8523 8.07516 10.7347 7.9421 10.6672C7.80905 10.5997 7.65462 10.5878 7.5128 10.6342C6.61077 10.9287 5.6424 10.9536 4.72644 10.7058C3.81048 10.458 2.98675 9.94825 2.35627 9.2391C1.7258 8.52995 1.31598 7.65221 1.17709 6.71354C1.0382 5.77487 1.17627 4.81607 1.57436 3.95473C1.97246 3.09338 2.61327 2.36694 3.41822 1.86449C4.22317 1.36204 5.15725 1.10543 6.10592 1.12613C7.05458 1.14683 7.97659 1.44393 8.75885 1.98101C9.54112 2.51809 10.1496 3.27178 10.5098 4.14967C10.5664 4.28772 10.6755 4.39763 10.8131 4.45522C10.8813 4.48374 10.9544 4.49856 11.0282 4.49883C11.1021 4.4991 11.1753 4.48482 11.2437 4.4568C11.312 4.42878 11.3742 4.38757 11.4266 4.33552C11.479 4.28347 11.5207 4.22161 11.5492 4.15347C11.5777 4.08532 11.5926 4.01222 11.5928 3.93835C11.5931 3.86448 11.5788 3.79127 11.5508 3.72292C11.1076 2.64239 10.3586 1.7147 9.3958 1.05365C8.43299 0.392587 7.29817 0.0268946 6.13055 0.00142049ZM6.5618 2.81242C6.5618 2.66324 6.50253 2.52016 6.39704 2.41467C6.29155 2.30918 6.14848 2.24992 5.9993 2.24992C5.85011 2.24992 5.70704 2.30918 5.60155 2.41467C5.49606 2.52016 5.4368 2.66324 5.4368 2.81242V5.76742L3.9113 7.29217C3.85603 7.34367 3.8117 7.40577 3.78096 7.47477C3.75022 7.54377 3.73368 7.61825 3.73235 7.69378C3.73102 7.76931 3.74491 7.84433 3.7732 7.91437C3.80149 7.98441 3.8436 8.04804 3.89702 8.10145C3.95043 8.15486 4.01406 8.19697 4.0841 8.22526C4.15414 8.25355 4.22916 8.26745 4.30469 8.26612C4.38021 8.26478 4.4547 8.24825 4.5237 8.21751C4.5927 8.18676 4.6548 8.14244 4.7063 8.08717L6.3968 6.39742L6.5618 6.23242V2.81242ZM11.2493 11.2499C11.2493 11.4488 11.1703 11.6396 11.0296 11.7803C10.889 11.9209 10.6982 11.9999 10.4993 11.9999C10.3004 11.9999 10.1096 11.9209 9.96897 11.7803C9.82831 11.6396 9.7493 11.4488 9.7493 11.2499C9.7493 11.051 9.82831 10.8602 9.96897 10.7196C10.1096 10.5789 10.3004 10.4999 10.4993 10.4999C10.6982 10.4999 10.889 10.5789 11.0296 10.7196C11.1703 10.8602 11.2493 11.051 11.2493 11.2499ZM11.0618 6.56242C11.0618 6.41324 11.0025 6.27016 10.897 6.16467C10.7916 6.05919 10.6485 5.99992 10.4993 5.99992C10.3501 5.99992 10.207 6.05919 10.1015 6.16467C9.99606 6.27016 9.9368 6.41324 9.9368 6.56242V9.18742C9.9368 9.33661 9.99606 9.47968 10.1015 9.58517C10.207 9.69066 10.3501 9.74992 10.4993 9.74992C10.6485 9.74992 10.7916 9.69066 10.897 9.58517C11.0025 9.47968 11.0618 9.33661 11.0618 9.18742V6.56242Z" />
199
+ </mask>
200
+ <path fill-rule="evenodd" clip-rule="evenodd"
201
+ d="M6.13055 0.00142049C5.25757 -0.0175778 4.39097 0.154192 3.59125 0.504738C2.79152 0.855284 2.07795 1.37616 1.50034 2.03099C0.922726 2.68583 0.495005 3.45885 0.247033 4.29608C-0.000939533 5.1333 -0.0631861 6.01457 0.0646388 6.87834C0.192464 7.74212 0.507279 8.56758 0.987107 9.29711C1.46693 10.0266 2.10021 10.6426 2.84272 11.1021C3.58523 11.5616 4.41908 11.8535 5.28606 11.9574C6.15303 12.0613 7.03224 11.9747 7.8623 11.7037C8.00412 11.6573 8.12173 11.5565 8.18924 11.4235C8.25675 11.2904 8.26864 11.136 8.2223 10.9942C8.17595 10.8523 8.07516 10.7347 7.9421 10.6672C7.80905 10.5997 7.65462 10.5878 7.5128 10.6342C6.61077 10.9287 5.6424 10.9536 4.72644 10.7058C3.81048 10.458 2.98675 9.94825 2.35627 9.2391C1.7258 8.52995 1.31598 7.65221 1.17709 6.71354C1.0382 5.77487 1.17627 4.81607 1.57436 3.95473C1.97246 3.09338 2.61327 2.36694 3.41822 1.86449C4.22317 1.36204 5.15725 1.10543 6.10592 1.12613C7.05458 1.14683 7.97659 1.44393 8.75885 1.98101C9.54112 2.51809 10.1496 3.27178 10.5098 4.14967C10.5664 4.28772 10.6755 4.39763 10.8131 4.45522C10.8813 4.48374 10.9544 4.49856 11.0282 4.49883C11.1021 4.4991 11.1753 4.48482 11.2437 4.4568C11.312 4.42878 11.3742 4.38757 11.4266 4.33552C11.479 4.28347 11.5207 4.22161 11.5492 4.15347C11.5777 4.08532 11.5926 4.01222 11.5928 3.93835C11.5931 3.86448 11.5788 3.79127 11.5508 3.72292C11.1076 2.64239 10.3586 1.7147 9.3958 1.05365C8.43299 0.392587 7.29817 0.0268946 6.13055 0.00142049ZM6.5618 2.81242C6.5618 2.66324 6.50253 2.52016 6.39704 2.41467C6.29155 2.30918 6.14848 2.24992 5.9993 2.24992C5.85011 2.24992 5.70704 2.30918 5.60155 2.41467C5.49606 2.52016 5.4368 2.66324 5.4368 2.81242V5.76742L3.9113 7.29217C3.85603 7.34367 3.8117 7.40577 3.78096 7.47477C3.75022 7.54377 3.73368 7.61825 3.73235 7.69378C3.73102 7.76931 3.74491 7.84433 3.7732 7.91437C3.80149 7.98441 3.8436 8.04804 3.89702 8.10145C3.95043 8.15486 4.01406 8.19697 4.0841 8.22526C4.15414 8.25355 4.22916 8.26745 4.30469 8.26612C4.38021 8.26478 4.4547 8.24825 4.5237 8.21751C4.5927 8.18676 4.6548 8.14244 4.7063 8.08717L6.3968 6.39742L6.5618 6.23242V2.81242ZM11.2493 11.2499C11.2493 11.4488 11.1703 11.6396 11.0296 11.7803C10.889 11.9209 10.6982 11.9999 10.4993 11.9999C10.3004 11.9999 10.1096 11.9209 9.96897 11.7803C9.82831 11.6396 9.7493 11.4488 9.7493 11.2499C9.7493 11.051 9.82831 10.8602 9.96897 10.7196C10.1096 10.5789 10.3004 10.4999 10.4993 10.4999C10.6982 10.4999 10.889 10.5789 11.0296 10.7196C11.1703 10.8602 11.2493 11.051 11.2493 11.2499ZM11.0618 6.56242C11.0618 6.41324 11.0025 6.27016 10.897 6.16467C10.7916 6.05919 10.6485 5.99992 10.4993 5.99992C10.3501 5.99992 10.207 6.05919 10.1015 6.16467C9.99606 6.27016 9.9368 6.41324 9.9368 6.56242V9.18742C9.9368 9.33661 9.99606 9.47968 10.1015 9.58517C10.207 9.69066 10.3501 9.74992 10.4993 9.74992C10.6485 9.74992 10.7916 9.69066 10.897 9.58517C11.0025 9.47968 11.0618 9.33661 11.0618 9.18742V6.56242Z"
202
+ fill="black" stroke="black" stroke-width="2" mask="url(#path-1-inside-1_5119_3178)" />
203
+ </g>
204
+ <defs>
205
+ <clipPath id="clip0_5119_3178">
206
+ <rect width="12" height="12" fill="white" />
207
+ </clipPath>
208
+ </defs>
209
+ </svg>
210
+ <span class="cate-sub ms-3">{{ open.publishDate | date: "YYYY-MM-dd" }}</span></span>
211
+ <span class="cate-sub badge badge-light-success mx-1 mt-1">Approved {{ open.approveCount !==null ?
212
+ open.approveCount.toLocaleString('en-US', {
213
+ minimumFractionDigits: 0 }) :
214
+ '--' }} / {{ open.submitCount !==null ? open.submitCount.toLocaleString('en-US', {
215
+ minimumFractionDigits: 0 }) :
216
+ '--' }} </span>
217
+
218
+ </div>
219
+ </div>
220
+ </div>
221
+ </div>
222
+ <ng-container *ngIf="approvalOpenLoading">
223
+ <div class="row loader d-flex justify-content-center align-items-center">
224
+ <div class="shimmer">
225
+ <div class="wrapper">
226
+ <div class="stroke animate title"></div>
227
+ <div class="stroke animate link"></div>
228
+ <div class="stroke animate description"></div>
229
+ </div>
230
+ </div>
231
+ <div class="shimmer">
232
+ <div class="wrapper">
233
+ <div class="stroke animate title"></div>
234
+ <div class="stroke animate link"></div>
235
+ <div class="stroke animate description"></div>
236
+ </div>
237
+ </div>
238
+ </div>
239
+ </ng-container>
240
+ <ng-container *ngIf="approvalOpenNoData && !approvalOpenLoading">
241
+ <div class="row">
242
+ <div class="col-lg-12 my-6">
243
+ <div class="card-body d-flex justify-content-center align-items-center flex-column">
244
+ <img class="img-src" src="./assets/tango/Icons/Nodata1.svg" alt="">
245
+ <div class="nodatamaintext mt-3">No data found</div>
246
+ <div class="nodatasubtext">There is no result for Open Checklist
247
+ </div>
248
+ </div>
249
+ </div>
250
+ </div>
251
+ </ng-container>
252
+
253
+ </div>
254
+
255
+ <div class="col-4">
256
+ <div class="approvalcard">
257
+ <div class="approvalheader">
258
+ <h3 class="card-title align-items-start d-flex flex-column mt-1">
259
+ <span class="cate-text">Inprogress
260
+ <span *ngIf="InprogressApprovalListData.length"
261
+ class="cate-sub badge badge-light-default mx-2">{{InprogressApprovalListData.length}}
262
+ </span></span>
263
+ </h3>
264
+ </div>
265
+ <div *ngIf="!approvalInprogressLoading && !approvalInprogressNoData" class="p-5 cardscroll cursor-pointer">
266
+ <div *ngFor="let inprogress of InprogressApprovalListData"(click)="navigateToGallery(inprogress)" class="approvalbody mb-4">
267
+ <div class="d-flex">
268
+ <span *ngIf="!inprogress.redo && inprogress.checkListType"
269
+ class="cate-sub me-2 mt-1 badge"
270
+ [ngClass]="{
271
+ 'badge-light-violet': inprogress.checkListType !== 'cctv',
272
+ 'badge-light-warning': inprogress.checkListType === 'cctv'
273
+ }">
274
+ {{
275
+ inprogress.checkListType === 'custom'
276
+ ? 'Checklist'
277
+ : (inprogress.checkListType === 'cctv'
278
+ ? 'CCTV'
279
+ : (inprogress.checkListType === 'checklistTask'
280
+ ? 'Checklist Task'
281
+ : (inprogress.checkListType === 'task'
282
+ ? 'Task'
283
+ : (inprogress.checkListType | titlecase) || '--')))
284
+ }}
285
+ </span>
286
+ <span *ngIf="inprogress.redo"
287
+ class="cate-sub badge badge-light-blue me-2 mt-1"><svg xmlns="http://www.w3.org/2000/svg"
288
+ width="12" height="12" viewBox="0 0 12 12" fill="none">
289
+ <g clip-path="url(#clip0_5119_5576)">
290
+ <path
291
+ d="M11.5 2.00004V5.00004M11.5 5.00004H8.5M11.5 5.00004L9.18 2.82004C8.64263 2.28239 7.97781 1.88964 7.2476 1.67842C6.51738 1.46721 5.74555 1.44441 5.00414 1.61217C4.26273 1.77992 3.5759 2.13275 3.00773 2.63775C2.43957 3.14274 2.00858 3.78343 1.755 4.50004M0.5 10V7.00004M0.5 7.00004H3.5M0.5 7.00004L2.82 9.18004C3.35737 9.71768 4.02219 10.1104 4.7524 10.3217C5.48262 10.5329 6.25445 10.5557 6.99586 10.3879C7.73727 10.2202 8.4241 9.86732 8.99227 9.36233C9.56043 8.85734 9.99142 8.21664 10.245 7.50004"
292
+ stroke="#2E90FA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
293
+ </g>
294
+ <defs>
295
+ <clipPath id="clip0_5119_5576">
296
+ <rect width="12" height="12" fill="white" />
297
+ </clipPath>
298
+ </defs>
299
+ </svg>Redo</span>
300
+ <div *ngIf="inprogress?.priorityType">
301
+ <span class="cate-sub badge text-end me-2 mt-1" [ngClass]="{
302
+ 'badge-light-danger': inprogress.priorityType === 'high',
303
+ 'badge-light-blue': inprogress.priorityType === 'medium',
304
+ 'badge-light-warning': inprogress.priorityType === 'low'
305
+ }">
306
+ {{ inprogress.priorityType | titlecase }} Priority
307
+ </span>
308
+ </div>
309
+
310
+ </div>
311
+ <div class="d-flex justify-content-between w-100">
312
+ <div class="headingtext d-flex">
313
+ {{ inprogress.checkListName || '--'}}
314
+ </div>
315
+ <!-- <span class="cate-sub badge badge-light-default">Store Based</span> -->
316
+ </div>
317
+ <div class="d-flex">
318
+ <span><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"
319
+ fill="none">
320
+ <path
321
+ d="M13.3346 14V12.6667C13.3346 11.9594 13.0537 11.2811 12.5536 10.781C12.0535 10.281 11.3752 10 10.668 10H5.33464C4.62739 10 3.94911 10.281 3.44902 10.781C2.94892 11.2811 2.66797 11.9594 2.66797 12.6667V14M10.668 4.66667C10.668 6.13943 9.47406 7.33333 8.0013 7.33333C6.52854 7.33333 5.33464 6.13943 5.33464 4.66667C5.33464 3.19391 6.52854 2 8.0013 2C9.47406 2 10.668 3.19391 10.668 4.66667Z"
322
+ stroke="#667085" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round" />
323
+ </svg><span class="cardsubtext ms-2 me-4"> {{ inprogress.createdByName || '--' }}</span></span>
324
+ <span *ngIf="inprogress.storeCount > 1">
325
+ <span>
326
+ <svg *ngIf="inprogress?.coverage ==='user'" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"
327
+ fill="none">
328
+ <path
329
+ d="M13.3346 14V12.6667C13.3346 11.9594 13.0537 11.2811 12.5536 10.781C12.0535 10.281 11.3752 10 10.668 10H5.33464C4.62739 10 3.94911 10.281 3.44902 10.781C2.94892 11.2811 2.66797 11.9594 2.66797 12.6667V14M10.668 4.66667C10.668 6.13943 9.47406 7.33333 8.0013 7.33333C6.52854 7.33333 5.33464 6.13943 5.33464 4.66667C5.33464 3.19391 6.52854 2 8.0013 2C9.47406 2 10.668 3.19391 10.668 4.66667Z"
330
+ stroke="#667085" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round" />
331
+ </svg> <svg *ngIf="inprogress?.coverage ==='store'" _ngcontent-ng-c514516357="" xmlns="http://www.w3.org/2000/svg" width="19" height="18" viewBox="0 0 19 18" fill="none"><path _ngcontent-ng-c514516357="" d="M3.14334 5.26383L3.09649 5.33701C2.61958 6.18313 3.13458 7.24243 4.04025 7.36366C4.12504 7.37402 4.20312 7.37939 4.27884 7.37939C4.77704 7.37939 5.21745 7.16583 5.52472 6.8323L6.07805 6.23168L6.6295 6.83403C6.93274 7.16525 7.37199 7.37939 7.87379 7.37939C8.37329 7.37939 8.81516 7.1649 9.11808 6.83403L9.67126 6.22979L10.2244 6.83403C10.5274 7.1649 10.9692 7.37939 11.4687 7.37939C11.9682 7.37939 12.4101 7.1649 12.713 6.83403L13.2662 6.22979L13.8194 6.83403C14.1223 7.1649 14.5642 7.37939 15.0637 7.37939C15.1368 7.37939 15.2173 7.374 15.3014 7.36377C16.2273 7.23713 16.7448 6.11962 16.1968 5.26433C16.1967 5.26427 16.1967 5.26422 16.1966 5.26416L14.6143 2.79691L14.6143 2.79691L14.6136 2.79579C14.6133 2.79543 14.6114 2.79328 14.6068 2.79079C14.6005 2.78742 14.5934 2.78564 14.5867 2.78564H4.75027C4.74363 2.78564 4.73648 2.78742 4.73026 2.79079C4.7252 2.79353 4.72337 2.79585 4.72337 2.79585L4.72302 2.79641L3.14334 5.26383ZM4.50753 9.74376C4.43281 9.74785 4.35748 9.74993 4.2816 9.74993C4.26875 9.74993 4.25593 9.74987 4.24314 9.74974V12.4821V14.2231C4.24314 14.7599 4.68913 15.2142 5.25753 15.2142H14.0795C14.6479 15.2142 15.0939 14.7599 15.0939 14.2231V12.4821V9.74979C15.0829 9.74988 15.0719 9.74993 15.0609 9.74993C14.9833 9.74993 14.9062 9.74775 14.8295 9.74345V12.4821V13.2321H14.0795H5.25753H4.50753V12.4821V9.74376Z" stroke="#667085" stroke-width="1.5"></path></svg>
332
+ <span class="cardsubtext ms-2 me-4">{{ inprogress.submitCount !==null ? inprogress.submitCount.toLocaleString('en-US', {
333
+ minimumFractionDigits: 0 }) :
334
+ '--' }} / {{ inprogress.storeCount !==null ?
335
+ inprogress.storeCount.toLocaleString('en-US', {
336
+ minimumFractionDigits: 0 }) :
337
+ '--' }}</span></span>
338
+ </span>
339
+ <span *ngIf="inprogress.storeCount === 1"><svg *ngIf="inprogress?.coverage ==='user'" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"
340
+ fill="none">
341
+ <path
342
+ d="M13.3346 14V12.6667C13.3346 11.9594 13.0537 11.2811 12.5536 10.781C12.0535 10.281 11.3752 10 10.668 10H5.33464C4.62739 10 3.94911 10.281 3.44902 10.781C2.94892 11.2811 2.66797 11.9594 2.66797 12.6667V14M10.668 4.66667C10.668 6.13943 9.47406 7.33333 8.0013 7.33333C6.52854 7.33333 5.33464 6.13943 5.33464 4.66667C5.33464 3.19391 6.52854 2 8.0013 2C9.47406 2 10.668 3.19391 10.668 4.66667Z"
343
+ stroke="#667085" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round" />
344
+ </svg> <svg *ngIf="inprogress?.coverage ==='store'" _ngcontent-ng-c514516357="" xmlns="http://www.w3.org/2000/svg" width="19" height="18" viewBox="0 0 19 18" fill="none"><path _ngcontent-ng-c514516357="" d="M3.14334 5.26383L3.09649 5.33701C2.61958 6.18313 3.13458 7.24243 4.04025 7.36366C4.12504 7.37402 4.20312 7.37939 4.27884 7.37939C4.77704 7.37939 5.21745 7.16583 5.52472 6.8323L6.07805 6.23168L6.6295 6.83403C6.93274 7.16525 7.37199 7.37939 7.87379 7.37939C8.37329 7.37939 8.81516 7.1649 9.11808 6.83403L9.67126 6.22979L10.2244 6.83403C10.5274 7.1649 10.9692 7.37939 11.4687 7.37939C11.9682 7.37939 12.4101 7.1649 12.713 6.83403L13.2662 6.22979L13.8194 6.83403C14.1223 7.1649 14.5642 7.37939 15.0637 7.37939C15.1368 7.37939 15.2173 7.374 15.3014 7.36377C16.2273 7.23713 16.7448 6.11962 16.1968 5.26433C16.1967 5.26427 16.1967 5.26422 16.1966 5.26416L14.6143 2.79691L14.6143 2.79691L14.6136 2.79579C14.6133 2.79543 14.6114 2.79328 14.6068 2.79079C14.6005 2.78742 14.5934 2.78564 14.5867 2.78564H4.75027C4.74363 2.78564 4.73648 2.78742 4.73026 2.79079C4.7252 2.79353 4.72337 2.79585 4.72337 2.79585L4.72302 2.79641L3.14334 5.26383ZM4.50753 9.74376C4.43281 9.74785 4.35748 9.74993 4.2816 9.74993C4.26875 9.74993 4.25593 9.74987 4.24314 9.74974V12.4821V14.2231C4.24314 14.7599 4.68913 15.2142 5.25753 15.2142H14.0795C14.6479 15.2142 15.0939 14.7599 15.0939 14.2231V12.4821V9.74979C15.0829 9.74988 15.0719 9.74993 15.0609 9.74993C14.9833 9.74993 14.9062 9.74775 14.8295 9.74345V12.4821V13.2321H14.0795H5.25753H4.50753V12.4821V9.74376Z" stroke="#667085" stroke-width="1.5"></path></svg>
345
+ <span class="cardsubtext ms-2 me-4">{{(inprogress?.coverage === 'user' ? inprogress.userName : inprogress.storeName) || '--'}}</span></span>
346
+ <span *ngIf="inprogress.checkListType === 'custom'"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18"
347
+ fill="none">
348
+ <path
349
+ d="M12 1.5V4.5M6 1.5V4.5M2.25 7.5H15.75M3.75 3H14.25C15.0784 3 15.75 3.67157 15.75 4.5V15C15.75 15.8284 15.0784 16.5 14.25 16.5H3.75C2.92157 16.5 2.25 15.8284 2.25 15V4.5C2.25 3.67157 2.92157 3 3.75 3Z"
350
+ stroke="#667085" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round" />
351
+ </svg><span class="cardsubtext ms-2 me-4">Repeats {{ inprogress.scheduleRepeatedType ?
352
+ inprogress.scheduleRepeatedType.toLocaleString('en-US', {
353
+ minimumFractionDigits: 0 }) :
354
+ '--' }}</span></span>
355
+ </div>
356
+ <div class="ms-1 d-flex justify-content-between w-100">
357
+ <span><svg width="12" height="12" viewBox="0 0 12 12" fill="none"
358
+ xmlns="http://www.w3.org/2000/svg">
359
+ <g clip-path="url(#clip0_5119_3178)">
360
+ <mask id="path-1-inside-1_5119_3178" fill="white">
361
+ <path fill-rule="evenodd" clip-rule="evenodd"
362
+ d="M6.13055 0.00142049C5.25757 -0.0175778 4.39097 0.154192 3.59125 0.504738C2.79152 0.855284 2.07795 1.37616 1.50034 2.03099C0.922726 2.68583 0.495005 3.45885 0.247033 4.29608C-0.000939533 5.1333 -0.0631861 6.01457 0.0646388 6.87834C0.192464 7.74212 0.507279 8.56758 0.987107 9.29711C1.46693 10.0266 2.10021 10.6426 2.84272 11.1021C3.58523 11.5616 4.41908 11.8535 5.28606 11.9574C6.15303 12.0613 7.03224 11.9747 7.8623 11.7037C8.00412 11.6573 8.12173 11.5565 8.18924 11.4235C8.25675 11.2904 8.26864 11.136 8.2223 10.9942C8.17595 10.8523 8.07516 10.7347 7.9421 10.6672C7.80905 10.5997 7.65462 10.5878 7.5128 10.6342C6.61077 10.9287 5.6424 10.9536 4.72644 10.7058C3.81048 10.458 2.98675 9.94825 2.35627 9.2391C1.7258 8.52995 1.31598 7.65221 1.17709 6.71354C1.0382 5.77487 1.17627 4.81607 1.57436 3.95473C1.97246 3.09338 2.61327 2.36694 3.41822 1.86449C4.22317 1.36204 5.15725 1.10543 6.10592 1.12613C7.05458 1.14683 7.97659 1.44393 8.75885 1.98101C9.54112 2.51809 10.1496 3.27178 10.5098 4.14967C10.5664 4.28772 10.6755 4.39763 10.8131 4.45522C10.8813 4.48374 10.9544 4.49856 11.0282 4.49883C11.1021 4.4991 11.1753 4.48482 11.2437 4.4568C11.312 4.42878 11.3742 4.38757 11.4266 4.33552C11.479 4.28347 11.5207 4.22161 11.5492 4.15347C11.5777 4.08532 11.5926 4.01222 11.5928 3.93835C11.5931 3.86448 11.5788 3.79127 11.5508 3.72292C11.1076 2.64239 10.3586 1.7147 9.3958 1.05365C8.43299 0.392587 7.29817 0.0268946 6.13055 0.00142049ZM6.5618 2.81242C6.5618 2.66324 6.50253 2.52016 6.39704 2.41467C6.29155 2.30918 6.14848 2.24992 5.9993 2.24992C5.85011 2.24992 5.70704 2.30918 5.60155 2.41467C5.49606 2.52016 5.4368 2.66324 5.4368 2.81242V5.76742L3.9113 7.29217C3.85603 7.34367 3.8117 7.40577 3.78096 7.47477C3.75022 7.54377 3.73368 7.61825 3.73235 7.69378C3.73102 7.76931 3.74491 7.84433 3.7732 7.91437C3.80149 7.98441 3.8436 8.04804 3.89702 8.10145C3.95043 8.15486 4.01406 8.19697 4.0841 8.22526C4.15414 8.25355 4.22916 8.26745 4.30469 8.26612C4.38021 8.26478 4.4547 8.24825 4.5237 8.21751C4.5927 8.18676 4.6548 8.14244 4.7063 8.08717L6.3968 6.39742L6.5618 6.23242V2.81242ZM11.2493 11.2499C11.2493 11.4488 11.1703 11.6396 11.0296 11.7803C10.889 11.9209 10.6982 11.9999 10.4993 11.9999C10.3004 11.9999 10.1096 11.9209 9.96897 11.7803C9.82831 11.6396 9.7493 11.4488 9.7493 11.2499C9.7493 11.051 9.82831 10.8602 9.96897 10.7196C10.1096 10.5789 10.3004 10.4999 10.4993 10.4999C10.6982 10.4999 10.889 10.5789 11.0296 10.7196C11.1703 10.8602 11.2493 11.051 11.2493 11.2499ZM11.0618 6.56242C11.0618 6.41324 11.0025 6.27016 10.897 6.16467C10.7916 6.05919 10.6485 5.99992 10.4993 5.99992C10.3501 5.99992 10.207 6.05919 10.1015 6.16467C9.99606 6.27016 9.9368 6.41324 9.9368 6.56242V9.18742C9.9368 9.33661 9.99606 9.47968 10.1015 9.58517C10.207 9.69066 10.3501 9.74992 10.4993 9.74992C10.6485 9.74992 10.7916 9.69066 10.897 9.58517C11.0025 9.47968 11.0618 9.33661 11.0618 9.18742V6.56242Z" />
363
+ </mask>
364
+ <path fill-rule="evenodd" clip-rule="evenodd"
365
+ d="M6.13055 0.00142049C5.25757 -0.0175778 4.39097 0.154192 3.59125 0.504738C2.79152 0.855284 2.07795 1.37616 1.50034 2.03099C0.922726 2.68583 0.495005 3.45885 0.247033 4.29608C-0.000939533 5.1333 -0.0631861 6.01457 0.0646388 6.87834C0.192464 7.74212 0.507279 8.56758 0.987107 9.29711C1.46693 10.0266 2.10021 10.6426 2.84272 11.1021C3.58523 11.5616 4.41908 11.8535 5.28606 11.9574C6.15303 12.0613 7.03224 11.9747 7.8623 11.7037C8.00412 11.6573 8.12173 11.5565 8.18924 11.4235C8.25675 11.2904 8.26864 11.136 8.2223 10.9942C8.17595 10.8523 8.07516 10.7347 7.9421 10.6672C7.80905 10.5997 7.65462 10.5878 7.5128 10.6342C6.61077 10.9287 5.6424 10.9536 4.72644 10.7058C3.81048 10.458 2.98675 9.94825 2.35627 9.2391C1.7258 8.52995 1.31598 7.65221 1.17709 6.71354C1.0382 5.77487 1.17627 4.81607 1.57436 3.95473C1.97246 3.09338 2.61327 2.36694 3.41822 1.86449C4.22317 1.36204 5.15725 1.10543 6.10592 1.12613C7.05458 1.14683 7.97659 1.44393 8.75885 1.98101C9.54112 2.51809 10.1496 3.27178 10.5098 4.14967C10.5664 4.28772 10.6755 4.39763 10.8131 4.45522C10.8813 4.48374 10.9544 4.49856 11.0282 4.49883C11.1021 4.4991 11.1753 4.48482 11.2437 4.4568C11.312 4.42878 11.3742 4.38757 11.4266 4.33552C11.479 4.28347 11.5207 4.22161 11.5492 4.15347C11.5777 4.08532 11.5926 4.01222 11.5928 3.93835C11.5931 3.86448 11.5788 3.79127 11.5508 3.72292C11.1076 2.64239 10.3586 1.7147 9.3958 1.05365C8.43299 0.392587 7.29817 0.0268946 6.13055 0.00142049ZM6.5618 2.81242C6.5618 2.66324 6.50253 2.52016 6.39704 2.41467C6.29155 2.30918 6.14848 2.24992 5.9993 2.24992C5.85011 2.24992 5.70704 2.30918 5.60155 2.41467C5.49606 2.52016 5.4368 2.66324 5.4368 2.81242V5.76742L3.9113 7.29217C3.85603 7.34367 3.8117 7.40577 3.78096 7.47477C3.75022 7.54377 3.73368 7.61825 3.73235 7.69378C3.73102 7.76931 3.74491 7.84433 3.7732 7.91437C3.80149 7.98441 3.8436 8.04804 3.89702 8.10145C3.95043 8.15486 4.01406 8.19697 4.0841 8.22526C4.15414 8.25355 4.22916 8.26745 4.30469 8.26612C4.38021 8.26478 4.4547 8.24825 4.5237 8.21751C4.5927 8.18676 4.6548 8.14244 4.7063 8.08717L6.3968 6.39742L6.5618 6.23242V2.81242ZM11.2493 11.2499C11.2493 11.4488 11.1703 11.6396 11.0296 11.7803C10.889 11.9209 10.6982 11.9999 10.4993 11.9999C10.3004 11.9999 10.1096 11.9209 9.96897 11.7803C9.82831 11.6396 9.7493 11.4488 9.7493 11.2499C9.7493 11.051 9.82831 10.8602 9.96897 10.7196C10.1096 10.5789 10.3004 10.4999 10.4993 10.4999C10.6982 10.4999 10.889 10.5789 11.0296 10.7196C11.1703 10.8602 11.2493 11.051 11.2493 11.2499ZM11.0618 6.56242C11.0618 6.41324 11.0025 6.27016 10.897 6.16467C10.7916 6.05919 10.6485 5.99992 10.4993 5.99992C10.3501 5.99992 10.207 6.05919 10.1015 6.16467C9.99606 6.27016 9.9368 6.41324 9.9368 6.56242V9.18742C9.9368 9.33661 9.99606 9.47968 10.1015 9.58517C10.207 9.69066 10.3501 9.74992 10.4993 9.74992C10.6485 9.74992 10.7916 9.69066 10.897 9.58517C11.0025 9.47968 11.0618 9.33661 11.0618 9.18742V6.56242Z"
366
+ fill="black" stroke="black" stroke-width="2" mask="url(#path-1-inside-1_5119_3178)" />
367
+ </g>
368
+ <defs>
369
+ <clipPath id="clip0_5119_3178">
370
+ <rect width="12" height="12" fill="white" />
371
+ </clipPath>
372
+ </defs>
373
+ </svg>
374
+ <span class="cate-sub ms-3">{{ inprogress.publishDate | date: "YYYY-MM-dd" }}</span></span>
375
+ <span class="cate-sub badge badge-light-success mx-1 mt-1">Approved {{ inprogress.approveCount !==null ?
376
+ inprogress.approveCount.toLocaleString('en-US', {
377
+ minimumFractionDigits: 0 }) :
378
+ '--' }} / {{ inprogress.submitCount !==null ? inprogress.submitCount.toLocaleString('en-US', {
379
+ minimumFractionDigits: 0 }) :
380
+ '--' }}</span>
381
+
382
+ </div>
383
+ </div>
384
+ </div>
385
+ </div>
386
+ <ng-container *ngIf="approvalInprogressLoading">
387
+ <div class="row loader d-flex justify-content-center align-items-center">
388
+ <div class="shimmer">
389
+ <div class="wrapper">
390
+ <div class="stroke animate title"></div>
391
+ <div class="stroke animate link"></div>
392
+ <div class="stroke animate description"></div>
393
+ </div>
394
+ </div>
395
+ <div class="shimmer">
396
+ <div class="wrapper">
397
+ <div class="stroke animate title"></div>
398
+ <div class="stroke animate link"></div>
399
+ <div class="stroke animate description"></div>
400
+ </div>
401
+ </div>
402
+ </div>
403
+ </ng-container>
404
+ <ng-container *ngIf="approvalInprogressNoData && !approvalInprogressLoading">
405
+ <div class="row">
406
+ <div class="col-lg-12 my-6">
407
+ <div class="card-body d-flex justify-content-center align-items-center flex-column">
408
+ <img class="img-src" src="./assets/tango/Icons/Nodata1.svg" alt="">
409
+ <div class="nodatamaintext mt-3">No data found</div>
410
+ <div class="nodatasubtext">There is no result for Inprogress Checklilst
411
+ </div>
412
+ </div>
413
+ </div>
414
+ </div>
415
+ </ng-container>
416
+
417
+ </div>
418
+ <!-- inprogress card end -->
419
+ <!-- Approved card start -->
420
+ <div class="col-4">
421
+ <div class="approvalcard">
422
+ <div class="approvalheader">
423
+ <h3 class="card-title align-items-start d-flex flex-column mt-1">
424
+ <span class="cate-text">Approved <span *ngIf="DoneApprovalListData.length"
425
+ class="cate-sub badge badge-light-default mx-2"> {{DoneApprovalListData.length}}
426
+ </span></span>
427
+ </h3>
428
+ </div>
429
+ <div *ngIf="!approvedLoading && !approvedNoData" class="p-5 cardscroll">
430
+ <div *ngFor="let done of DoneApprovalListData" (click)="navigateToGallery(done)" class="approvalbody mb-4 cursor-pointer">
431
+ <div class="d-flex">
432
+ <span *ngIf="!done.redo && done.checkListType"
433
+ class="cate-sub me-2 mt-1 badge"
434
+ [ngClass]="{
435
+ 'badge-light-violet': done.checkListType !== 'cctv',
436
+ 'badge-light-warning': done.checkListType === 'cctv'
437
+ }">
438
+ {{
439
+ done.checkListType === 'custom'
440
+ ? 'Checklist'
441
+ : (done.checkListType === 'cctv'
442
+ ? 'CCTV'
443
+ : (done.checkListType === 'checklistTask'
444
+ ? 'Checklist Task'
445
+ : (done.checkListType === 'task'
446
+ ? 'Task'
447
+ : (done.checkListType | titlecase) || '--')))
448
+ }}
449
+ </span>
450
+ <span *ngIf="done.redo" class="cate-sub badge badge-light-blue me-2 mt-1"><svg
451
+ xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none">
452
+ <g clip-path="url(#clip0_5119_5576)">
453
+ <path
454
+ d="M11.5 2.00004V5.00004M11.5 5.00004H8.5M11.5 5.00004L9.18 2.82004C8.64263 2.28239 7.97781 1.88964 7.2476 1.67842C6.51738 1.46721 5.74555 1.44441 5.00414 1.61217C4.26273 1.77992 3.5759 2.13275 3.00773 2.63775C2.43957 3.14274 2.00858 3.78343 1.755 4.50004M0.5 10V7.00004M0.5 7.00004H3.5M0.5 7.00004L2.82 9.18004C3.35737 9.71768 4.02219 10.1104 4.7524 10.3217C5.48262 10.5329 6.25445 10.5557 6.99586 10.3879C7.73727 10.2202 8.4241 9.86732 8.99227 9.36233C9.56043 8.85734 9.99142 8.21664 10.245 7.50004"
455
+ stroke="#2E90FA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" />
456
+ </g>
457
+ <defs>
458
+ <clipPath id="clip0_5119_5576">
459
+ <rect width="12" height="12" fill="white" />
460
+ </clipPath>
461
+ </defs>
462
+ </svg>Redo</span>
463
+ <div>
464
+ <span *ngIf="done.priorityType" class="cate-sub badge text-end me-2 mt-1" [ngClass]="{
465
+ 'badge-light-danger': done.priorityType === 'high',
466
+ 'badge-light-blue': done.priorityType === 'medium',
467
+ 'badge-light-warning': done.priorityType === 'low'
468
+ }">
469
+ {{ done.priorityType | titlecase }} Priority
470
+ </span>
471
+ </div>
472
+ </div>
473
+ <div class="d-flex justify-content-between w-100">
474
+ <div class="headingtext d-flex">
475
+ {{ done.checkListName || '--' }}
476
+ </div>
477
+ </div>
478
+ <div class="d-flex">
479
+ <span><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"
480
+ fill="none">
481
+ <path
482
+ d="M13.3346 14V12.6667C13.3346 11.9594 13.0537 11.2811 12.5536 10.781C12.0535 10.281 11.3752 10 10.668 10H5.33464C4.62739 10 3.94911 10.281 3.44902 10.781C2.94892 11.2811 2.66797 11.9594 2.66797 12.6667V14M10.668 4.66667C10.668 6.13943 9.47406 7.33333 8.0013 7.33333C6.52854 7.33333 5.33464 6.13943 5.33464 4.66667C5.33464 3.19391 6.52854 2 8.0013 2C9.47406 2 10.668 3.19391 10.668 4.66667Z"
483
+ stroke="#667085" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round" />
484
+ </svg><span class="cardsubtext ms-2 me-4"> {{ done.createdByName || '--' }}</span></span>
485
+ <span *ngIf="done.storeCount > 1">
486
+ <span><svg *ngIf="done?.coverage ==='user'" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"
487
+ fill="none">
488
+ <path
489
+ d="M13.3346 14V12.6667C13.3346 11.9594 13.0537 11.2811 12.5536 10.781C12.0535 10.281 11.3752 10 10.668 10H5.33464C4.62739 10 3.94911 10.281 3.44902 10.781C2.94892 11.2811 2.66797 11.9594 2.66797 12.6667V14M10.668 4.66667C10.668 6.13943 9.47406 7.33333 8.0013 7.33333C6.52854 7.33333 5.33464 6.13943 5.33464 4.66667C5.33464 3.19391 6.52854 2 8.0013 2C9.47406 2 10.668 3.19391 10.668 4.66667Z"
490
+ stroke="#667085" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round" />
491
+ </svg> <svg *ngIf="done?.coverage ==='store'" _ngcontent-ng-c514516357="" xmlns="http://www.w3.org/2000/svg" width="19" height="18" viewBox="0 0 19 18" fill="none"><path _ngcontent-ng-c514516357="" d="M3.14334 5.26383L3.09649 5.33701C2.61958 6.18313 3.13458 7.24243 4.04025 7.36366C4.12504 7.37402 4.20312 7.37939 4.27884 7.37939C4.77704 7.37939 5.21745 7.16583 5.52472 6.8323L6.07805 6.23168L6.6295 6.83403C6.93274 7.16525 7.37199 7.37939 7.87379 7.37939C8.37329 7.37939 8.81516 7.1649 9.11808 6.83403L9.67126 6.22979L10.2244 6.83403C10.5274 7.1649 10.9692 7.37939 11.4687 7.37939C11.9682 7.37939 12.4101 7.1649 12.713 6.83403L13.2662 6.22979L13.8194 6.83403C14.1223 7.1649 14.5642 7.37939 15.0637 7.37939C15.1368 7.37939 15.2173 7.374 15.3014 7.36377C16.2273 7.23713 16.7448 6.11962 16.1968 5.26433C16.1967 5.26427 16.1967 5.26422 16.1966 5.26416L14.6143 2.79691L14.6143 2.79691L14.6136 2.79579C14.6133 2.79543 14.6114 2.79328 14.6068 2.79079C14.6005 2.78742 14.5934 2.78564 14.5867 2.78564H4.75027C4.74363 2.78564 4.73648 2.78742 4.73026 2.79079C4.7252 2.79353 4.72337 2.79585 4.72337 2.79585L4.72302 2.79641L3.14334 5.26383ZM4.50753 9.74376C4.43281 9.74785 4.35748 9.74993 4.2816 9.74993C4.26875 9.74993 4.25593 9.74987 4.24314 9.74974V12.4821V14.2231C4.24314 14.7599 4.68913 15.2142 5.25753 15.2142H14.0795C14.6479 15.2142 15.0939 14.7599 15.0939 14.2231V12.4821V9.74979C15.0829 9.74988 15.0719 9.74993 15.0609 9.74993C14.9833 9.74993 14.9062 9.74775 14.8295 9.74345V12.4821V13.2321H14.0795H5.25753H4.50753V12.4821V9.74376Z" stroke="#667085" stroke-width="1.5"></path></svg>
492
+ <span class="cardsubtext ms-2 me-4">{{ done.submitCount !==null ? done.submitCount.toLocaleString('en-US', {
493
+ minimumFractionDigits: 0 }) :
494
+ '--' }} / {{ done.storeCount !==null ?
495
+ done.storeCount.toLocaleString('en-US', {
496
+ minimumFractionDigits: 0 }) :
497
+ '--' }}</span></span>
498
+ </span>
499
+ <span *ngIf="done.storeCount === 1">
500
+ <svg *ngIf="done?.coverage ==='user'" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"
501
+ fill="none">
502
+ <path
503
+ d="M13.3346 14V12.6667C13.3346 11.9594 13.0537 11.2811 12.5536 10.781C12.0535 10.281 11.3752 10 10.668 10H5.33464C4.62739 10 3.94911 10.281 3.44902 10.781C2.94892 11.2811 2.66797 11.9594 2.66797 12.6667V14M10.668 4.66667C10.668 6.13943 9.47406 7.33333 8.0013 7.33333C6.52854 7.33333 5.33464 6.13943 5.33464 4.66667C5.33464 3.19391 6.52854 2 8.0013 2C9.47406 2 10.668 3.19391 10.668 4.66667Z"
504
+ stroke="#667085" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round" />
505
+ </svg> <svg *ngIf="done?.coverage ==='store'" _ngcontent-ng-c514516357="" xmlns="http://www.w3.org/2000/svg" width="19" height="18" viewBox="0 0 19 18" fill="none"><path _ngcontent-ng-c514516357="" d="M3.14334 5.26383L3.09649 5.33701C2.61958 6.18313 3.13458 7.24243 4.04025 7.36366C4.12504 7.37402 4.20312 7.37939 4.27884 7.37939C4.77704 7.37939 5.21745 7.16583 5.52472 6.8323L6.07805 6.23168L6.6295 6.83403C6.93274 7.16525 7.37199 7.37939 7.87379 7.37939C8.37329 7.37939 8.81516 7.1649 9.11808 6.83403L9.67126 6.22979L10.2244 6.83403C10.5274 7.1649 10.9692 7.37939 11.4687 7.37939C11.9682 7.37939 12.4101 7.1649 12.713 6.83403L13.2662 6.22979L13.8194 6.83403C14.1223 7.1649 14.5642 7.37939 15.0637 7.37939C15.1368 7.37939 15.2173 7.374 15.3014 7.36377C16.2273 7.23713 16.7448 6.11962 16.1968 5.26433C16.1967 5.26427 16.1967 5.26422 16.1966 5.26416L14.6143 2.79691L14.6143 2.79691L14.6136 2.79579C14.6133 2.79543 14.6114 2.79328 14.6068 2.79079C14.6005 2.78742 14.5934 2.78564 14.5867 2.78564H4.75027C4.74363 2.78564 4.73648 2.78742 4.73026 2.79079C4.7252 2.79353 4.72337 2.79585 4.72337 2.79585L4.72302 2.79641L3.14334 5.26383ZM4.50753 9.74376C4.43281 9.74785 4.35748 9.74993 4.2816 9.74993C4.26875 9.74993 4.25593 9.74987 4.24314 9.74974V12.4821V14.2231C4.24314 14.7599 4.68913 15.2142 5.25753 15.2142H14.0795C14.6479 15.2142 15.0939 14.7599 15.0939 14.2231V12.4821V9.74979C15.0829 9.74988 15.0719 9.74993 15.0609 9.74993C14.9833 9.74993 14.9062 9.74775 14.8295 9.74345V12.4821V13.2321H14.0795H5.25753H4.50753V12.4821V9.74376Z" stroke="#667085" stroke-width="1.5"></path></svg>
506
+ <span class="cardsubtext ms-2 me-4">{{(done?.coverage === 'user' ? done.userName : done.storeName) || '--'}}</span></span>
507
+ <span *ngIf="done.checkListType === 'custom'"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18"
508
+ fill="none">
509
+ <path
510
+ d="M12 1.5V4.5M6 1.5V4.5M2.25 7.5H15.75M3.75 3H14.25C15.0784 3 15.75 3.67157 15.75 4.5V15C15.75 15.8284 15.0784 16.5 14.25 16.5H3.75C2.92157 16.5 2.25 15.8284 2.25 15V4.5C2.25 3.67157 2.92157 3 3.75 3Z"
511
+ stroke="#667085" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round" />
512
+ </svg><span class="cardsubtext ms-2 me-4">Repeats {{ done.scheduleRepeatedType ?
513
+ done.scheduleRepeatedType.toLocaleString('en-US', {
514
+ minimumFractionDigits: 0 }) :
515
+ '--' }}</span></span>
516
+ </div>
517
+ <div class="ms-1 d-flex justify-content-between w-100">
518
+ <span><svg width="12" height="12" viewBox="0 0 12 12" fill="none"
519
+ xmlns="http://www.w3.org/2000/svg">
520
+ <g clip-path="url(#clip0_5119_3178)">
521
+ <mask id="path-1-inside-1_5119_3178" fill="white">
522
+ <path fill-rule="evenodd" clip-rule="evenodd"
523
+ d="M6.13055 0.00142049C5.25757 -0.0175778 4.39097 0.154192 3.59125 0.504738C2.79152 0.855284 2.07795 1.37616 1.50034 2.03099C0.922726 2.68583 0.495005 3.45885 0.247033 4.29608C-0.000939533 5.1333 -0.0631861 6.01457 0.0646388 6.87834C0.192464 7.74212 0.507279 8.56758 0.987107 9.29711C1.46693 10.0266 2.10021 10.6426 2.84272 11.1021C3.58523 11.5616 4.41908 11.8535 5.28606 11.9574C6.15303 12.0613 7.03224 11.9747 7.8623 11.7037C8.00412 11.6573 8.12173 11.5565 8.18924 11.4235C8.25675 11.2904 8.26864 11.136 8.2223 10.9942C8.17595 10.8523 8.07516 10.7347 7.9421 10.6672C7.80905 10.5997 7.65462 10.5878 7.5128 10.6342C6.61077 10.9287 5.6424 10.9536 4.72644 10.7058C3.81048 10.458 2.98675 9.94825 2.35627 9.2391C1.7258 8.52995 1.31598 7.65221 1.17709 6.71354C1.0382 5.77487 1.17627 4.81607 1.57436 3.95473C1.97246 3.09338 2.61327 2.36694 3.41822 1.86449C4.22317 1.36204 5.15725 1.10543 6.10592 1.12613C7.05458 1.14683 7.97659 1.44393 8.75885 1.98101C9.54112 2.51809 10.1496 3.27178 10.5098 4.14967C10.5664 4.28772 10.6755 4.39763 10.8131 4.45522C10.8813 4.48374 10.9544 4.49856 11.0282 4.49883C11.1021 4.4991 11.1753 4.48482 11.2437 4.4568C11.312 4.42878 11.3742 4.38757 11.4266 4.33552C11.479 4.28347 11.5207 4.22161 11.5492 4.15347C11.5777 4.08532 11.5926 4.01222 11.5928 3.93835C11.5931 3.86448 11.5788 3.79127 11.5508 3.72292C11.1076 2.64239 10.3586 1.7147 9.3958 1.05365C8.43299 0.392587 7.29817 0.0268946 6.13055 0.00142049ZM6.5618 2.81242C6.5618 2.66324 6.50253 2.52016 6.39704 2.41467C6.29155 2.30918 6.14848 2.24992 5.9993 2.24992C5.85011 2.24992 5.70704 2.30918 5.60155 2.41467C5.49606 2.52016 5.4368 2.66324 5.4368 2.81242V5.76742L3.9113 7.29217C3.85603 7.34367 3.8117 7.40577 3.78096 7.47477C3.75022 7.54377 3.73368 7.61825 3.73235 7.69378C3.73102 7.76931 3.74491 7.84433 3.7732 7.91437C3.80149 7.98441 3.8436 8.04804 3.89702 8.10145C3.95043 8.15486 4.01406 8.19697 4.0841 8.22526C4.15414 8.25355 4.22916 8.26745 4.30469 8.26612C4.38021 8.26478 4.4547 8.24825 4.5237 8.21751C4.5927 8.18676 4.6548 8.14244 4.7063 8.08717L6.3968 6.39742L6.5618 6.23242V2.81242ZM11.2493 11.2499C11.2493 11.4488 11.1703 11.6396 11.0296 11.7803C10.889 11.9209 10.6982 11.9999 10.4993 11.9999C10.3004 11.9999 10.1096 11.9209 9.96897 11.7803C9.82831 11.6396 9.7493 11.4488 9.7493 11.2499C9.7493 11.051 9.82831 10.8602 9.96897 10.7196C10.1096 10.5789 10.3004 10.4999 10.4993 10.4999C10.6982 10.4999 10.889 10.5789 11.0296 10.7196C11.1703 10.8602 11.2493 11.051 11.2493 11.2499ZM11.0618 6.56242C11.0618 6.41324 11.0025 6.27016 10.897 6.16467C10.7916 6.05919 10.6485 5.99992 10.4993 5.99992C10.3501 5.99992 10.207 6.05919 10.1015 6.16467C9.99606 6.27016 9.9368 6.41324 9.9368 6.56242V9.18742C9.9368 9.33661 9.99606 9.47968 10.1015 9.58517C10.207 9.69066 10.3501 9.74992 10.4993 9.74992C10.6485 9.74992 10.7916 9.69066 10.897 9.58517C11.0025 9.47968 11.0618 9.33661 11.0618 9.18742V6.56242Z" />
524
+ </mask>
525
+ <path fill-rule="evenodd" clip-rule="evenodd"
526
+ d="M6.13055 0.00142049C5.25757 -0.0175778 4.39097 0.154192 3.59125 0.504738C2.79152 0.855284 2.07795 1.37616 1.50034 2.03099C0.922726 2.68583 0.495005 3.45885 0.247033 4.29608C-0.000939533 5.1333 -0.0631861 6.01457 0.0646388 6.87834C0.192464 7.74212 0.507279 8.56758 0.987107 9.29711C1.46693 10.0266 2.10021 10.6426 2.84272 11.1021C3.58523 11.5616 4.41908 11.8535 5.28606 11.9574C6.15303 12.0613 7.03224 11.9747 7.8623 11.7037C8.00412 11.6573 8.12173 11.5565 8.18924 11.4235C8.25675 11.2904 8.26864 11.136 8.2223 10.9942C8.17595 10.8523 8.07516 10.7347 7.9421 10.6672C7.80905 10.5997 7.65462 10.5878 7.5128 10.6342C6.61077 10.9287 5.6424 10.9536 4.72644 10.7058C3.81048 10.458 2.98675 9.94825 2.35627 9.2391C1.7258 8.52995 1.31598 7.65221 1.17709 6.71354C1.0382 5.77487 1.17627 4.81607 1.57436 3.95473C1.97246 3.09338 2.61327 2.36694 3.41822 1.86449C4.22317 1.36204 5.15725 1.10543 6.10592 1.12613C7.05458 1.14683 7.97659 1.44393 8.75885 1.98101C9.54112 2.51809 10.1496 3.27178 10.5098 4.14967C10.5664 4.28772 10.6755 4.39763 10.8131 4.45522C10.8813 4.48374 10.9544 4.49856 11.0282 4.49883C11.1021 4.4991 11.1753 4.48482 11.2437 4.4568C11.312 4.42878 11.3742 4.38757 11.4266 4.33552C11.479 4.28347 11.5207 4.22161 11.5492 4.15347C11.5777 4.08532 11.5926 4.01222 11.5928 3.93835C11.5931 3.86448 11.5788 3.79127 11.5508 3.72292C11.1076 2.64239 10.3586 1.7147 9.3958 1.05365C8.43299 0.392587 7.29817 0.0268946 6.13055 0.00142049ZM6.5618 2.81242C6.5618 2.66324 6.50253 2.52016 6.39704 2.41467C6.29155 2.30918 6.14848 2.24992 5.9993 2.24992C5.85011 2.24992 5.70704 2.30918 5.60155 2.41467C5.49606 2.52016 5.4368 2.66324 5.4368 2.81242V5.76742L3.9113 7.29217C3.85603 7.34367 3.8117 7.40577 3.78096 7.47477C3.75022 7.54377 3.73368 7.61825 3.73235 7.69378C3.73102 7.76931 3.74491 7.84433 3.7732 7.91437C3.80149 7.98441 3.8436 8.04804 3.89702 8.10145C3.95043 8.15486 4.01406 8.19697 4.0841 8.22526C4.15414 8.25355 4.22916 8.26745 4.30469 8.26612C4.38021 8.26478 4.4547 8.24825 4.5237 8.21751C4.5927 8.18676 4.6548 8.14244 4.7063 8.08717L6.3968 6.39742L6.5618 6.23242V2.81242ZM11.2493 11.2499C11.2493 11.4488 11.1703 11.6396 11.0296 11.7803C10.889 11.9209 10.6982 11.9999 10.4993 11.9999C10.3004 11.9999 10.1096 11.9209 9.96897 11.7803C9.82831 11.6396 9.7493 11.4488 9.7493 11.2499C9.7493 11.051 9.82831 10.8602 9.96897 10.7196C10.1096 10.5789 10.3004 10.4999 10.4993 10.4999C10.6982 10.4999 10.889 10.5789 11.0296 10.7196C11.1703 10.8602 11.2493 11.051 11.2493 11.2499ZM11.0618 6.56242C11.0618 6.41324 11.0025 6.27016 10.897 6.16467C10.7916 6.05919 10.6485 5.99992 10.4993 5.99992C10.3501 5.99992 10.207 6.05919 10.1015 6.16467C9.99606 6.27016 9.9368 6.41324 9.9368 6.56242V9.18742C9.9368 9.33661 9.99606 9.47968 10.1015 9.58517C10.207 9.69066 10.3501 9.74992 10.4993 9.74992C10.6485 9.74992 10.7916 9.69066 10.897 9.58517C11.0025 9.47968 11.0618 9.33661 11.0618 9.18742V6.56242Z"
527
+ fill="black" stroke="black" stroke-width="2" mask="url(#path-1-inside-1_5119_3178)" />
528
+ </g>
529
+ <defs>
530
+ <clipPath id="clip0_5119_3178">
531
+ <rect width="12" height="12" fill="white" />
532
+ </clipPath>
533
+ </defs>
534
+ </svg>
535
+ <span class="cate-sub ms-3">{{ done.publishDate | date: "YYYY-MM-dd"}}</span></span>
536
+ <span class="cate-sub badge badge-light-success mx-1 mt-1">Approved {{ done.approveCount !==null ?
537
+ done.approveCount.toLocaleString('en-US', {
538
+ minimumFractionDigits: 0 }) :
539
+ '--' }} / {{ done.submitCount !==null ? done.submitCount.toLocaleString('en-US', {
540
+ minimumFractionDigits: 0 }) :
541
+ '--' }} </span>
542
+ </div>
543
+ </div>
544
+ </div>
545
+ </div>
546
+ <ng-container *ngIf="approvedLoading">
547
+ <div class="row loader d-flex justify-content-center align-items-center">
548
+ <div class="shimmer">
549
+ <div class="wrapper">
550
+ <div class="stroke animate title"></div>
551
+ <div class="stroke animate link"></div>
552
+ <div class="stroke animate description"></div>
553
+ </div>
554
+ </div>
555
+ <div class="shimmer">
556
+ <div class="wrapper">
557
+ <div class="stroke animate title"></div>
558
+ <div class="stroke animate link"></div>
559
+ <div class="stroke animate description"></div>
560
+ </div>
561
+ </div>
562
+ </div>
563
+ </ng-container>
564
+ <ng-container *ngIf="approvedNoData && !approvedLoading">
565
+ <div class="row">
566
+ <div class="col-lg-12 my-6">
567
+ <div class="card-body d-flex justify-content-center align-items-center flex-column">
568
+ <img class="img-src" src="./assets/tango/Icons/Nodata1.svg" alt="">
569
+ <div class="nodatamaintext mt-3">No data found</div>
570
+ <div class="nodatasubtext">There is no result for Approved Checklist
571
+ </div>
572
+ </div>
573
+ </div>
574
+ </div>
575
+ </ng-container>
576
+
577
+ </div>
578
+ <!-- Approved card end -->
579
+ </div>
580
+ </div>
581
+
582
+ </div>
583
+ </div>
584
+
585
+ <!-- <div class="row my-3">
586
+ <ng-container>
587
+ <div ngbAccordion>
588
+ <div ngbAccordionItem [collapsed]="false">
589
+ <h2 ngbAccordionHeader>
590
+ <button class="headtext" ngbAccordionButton>Activity Log<div class="divider"></div></button>
591
+ </h2>
592
+ <div ngbAccordionCollapse>
593
+ <div ngbAccordionBody>
594
+ <ng-template>
595
+ <lib-activity-log></lib-activity-log>
596
+ </ng-template>
597
+ </div>
598
+ </div>
599
+ </div>
600
+
601
+ </div>
602
+ </ng-container>
603
+ </div> -->
604
+ <div class="row my-3">
605
+ <lib-activity-log-v2></lib-activity-log-v2>
606
+ </div>
607
+ </div>