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,267 @@
1
+ import { ChangeDetectorRef, Component, OnDestroy, OnInit } from '@angular/core';
2
+ import { Subject, BehaviorSubject, takeUntil, debounceTime, distinctUntilChanged } from "rxjs";
3
+ import { GlobalStateService, PageInfoService } from 'tango-app-ui-global';
4
+ import { TraxService } from '../../services/trax.service';
5
+ import { FormControl } from '@angular/forms';
6
+ import dayjs from 'dayjs';
7
+ import utc from 'dayjs/plugin/utc';
8
+ import { Router } from '@angular/router';
9
+ import { TraxpopupComponent } from '../traxpopup/traxpopup.component';
10
+ import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
11
+ import { ToastService } from 'tango-app-ui-shared';
12
+ dayjs.extend(utc);
13
+
14
+
15
+ @Component({
16
+ selector: 'lib-manage-task',
17
+ templateUrl: './manage-task.component.html',
18
+ styleUrl: './manage-task.component.scss'
19
+ })
20
+ export class ManageTaskComponent implements OnDestroy, OnInit {
21
+
22
+ dayjs = dayjs
23
+ private destroy$ = new Subject<void>();
24
+ itemsPerPage = 10
25
+ currentPage = 1
26
+ totalItems = 0
27
+ paginationSizes = [10, 20, 30]
28
+ pageSize = 10
29
+ sortColumName = '';
30
+ sortDirection = 1;
31
+ taskTableApiState = new BehaviorSubject<'initial' | 'loading' | 'loaded'>('initial')
32
+ taskTableData: any[] = []
33
+ headerData: any;
34
+ searchInput: FormControl = new FormControl('');
35
+
36
+ constructor(private cd:ChangeDetectorRef, public gs:GlobalStateService, private pageInfo:PageInfoService,
37
+ private traxService:TraxService, private router:Router, private dialog:NgbModal, private toast:ToastService){
38
+
39
+ }
40
+
41
+ ngOnInit(): void {
42
+ this.gs.dataRangeValue
43
+ .pipe(takeUntil(this.destroy$))
44
+ .pipe(debounceTime(1000))
45
+ .subscribe((data: any) => {
46
+ if (data?.client) {
47
+ this.headerData = data;
48
+ this.getTaskTable()
49
+ }
50
+ else{
51
+ this.headerData = JSON.parse(localStorage.getItem('header-filters') as string);
52
+ this.getTaskTable()
53
+ }
54
+
55
+ })
56
+ this.setPageData()
57
+
58
+ this.searchInput.valueChanges.pipe(takeUntil(this.destroy$)).pipe(debounceTime(500), distinctUntilChanged()).subscribe((val) => {
59
+ if (val === null || val === undefined) {
60
+ return
61
+ }
62
+ this.currentPage = 1
63
+ this.getTaskTable()
64
+ })
65
+ }
66
+
67
+ setPageData() {
68
+ this.pageInfo.setTitle("Manage Tasks");
69
+ this.pageInfo.setDescription("");
70
+ this.pageInfo.setBreadcrumbs([
71
+ // { title: "Analyze", path: "/manage/trax/dashboard", isActive: false, isSeparator: false },
72
+ // { title: "Analyze", path: "/manage/trax/dashboard", isActive: false, isSeparator: true },
73
+ { title: "Tango Trax", path: "/manage/trax/dashboard", isActive: false, isSeparator: false },
74
+ { title: "Tango Trax", path: "/manage/trax/dashboard", isActive: false, isSeparator: true },
75
+ // { title: "Reports", path: "/manage/trax/reports", isActive: false, isSeparator: false },
76
+ // { title: "Reports", path: "/manage/trax/reports", isActive: false, isSeparator: true },
77
+ ]);
78
+
79
+ }
80
+
81
+ ngOnDestroy(): void {
82
+ this.destroy$.next();
83
+ this.destroy$.complete();
84
+ }
85
+
86
+ getTaskTable(): void {
87
+ this.taskTableApiState.next('loading')
88
+ const data: Record<string, any> = {
89
+ "clientId": this.headerData?.client,
90
+ "limit": this.pageSize,
91
+ "offset": this.currentPage,
92
+ "sortColumn": this.sortColumName,
93
+ "sortBy": this.sortDirection,
94
+ "search":this.searchInput.value,
95
+ }
96
+
97
+
98
+ this.traxService.taskList(data).pipe(takeUntil(this.destroy$)).subscribe({
99
+ next: (res) => {
100
+ this.taskTableApiState.next('loaded')
101
+ if (res?.data?.count) {
102
+ this.totalItems = res.data.count
103
+ } else {
104
+ this.totalItems = 0
105
+ }
106
+ if (res?.data?.result) {
107
+ this.taskTableData = res.data.result
108
+ } else {
109
+ this.taskTableData = []
110
+ }
111
+ },
112
+ error: (e) => {
113
+ this.taskTableApiState.next('loaded')
114
+
115
+ }
116
+ })
117
+ }
118
+
119
+ sortData(column: string): void {
120
+ if (this.sortColumName === column) {
121
+ this.sortDirection = this.sortDirection === 1 ? -1 : 1;
122
+ } else {
123
+ this.sortColumName = column;
124
+ this.sortDirection = 1;
125
+ }
126
+ this.cd.detectChanges();
127
+ this.getTaskTable();
128
+ }
129
+
130
+ onPageSizeChange(pageSize: any) {
131
+ this.currentPage = 1;
132
+ this.itemsPerPage = pageSize;
133
+ this.pageSize = pageSize;
134
+ this.cd.detectChanges();
135
+ this.getTaskTable()
136
+ }
137
+
138
+ onPageChange(pageOffset: any) {
139
+ this.currentPage = pageOffset
140
+ this.getTaskTable()
141
+ }
142
+
143
+ formatDueDate(date:string){
144
+ return this.dayjs(date).utc().format('hh:mm A, DD MMM YYYY');
145
+ }
146
+
147
+ onAction(type:'view' | 'edit' | 'delete' | 'duplicate', data:any){
148
+ if(type === 'view'){
149
+ if(!data?.publish){
150
+ this.router.navigate(['manage/trax/create-task'], { queryParams: {id:data._id} })
151
+ }
152
+ }else if(type === 'edit'){
153
+ this.router.navigate(['manage/trax/task-configure'], { queryParams: {taskId:data._id} })
154
+ }else if(type === 'delete'){
155
+ this.openDeletePopup(data)
156
+ }else if(type === 'duplicate'){
157
+ this.onDuplicate(data)
158
+ }
159
+
160
+ }
161
+
162
+ openDeletePopup(details:any){
163
+ if(!details?.publish){
164
+ const popupcontent = {
165
+ displayprop: false,
166
+ imagesrc: '<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 36 36" fill="none"><rect x="2" y="2" width="32" height="32" rx="16" fill="#FEE4E2"/><path d="M12 14.0007H13.3333M13.3333 14.0007H24M13.3333 14.0007V23.334C13.3333 23.6876 13.4738 24.0267 13.7239 24.2768C13.9739 24.5268 14.313 24.6673 14.6667 24.6673H21.3333C21.687 24.6673 22.0261 24.5268 22.2761 24.2768C22.5262 24.0267 22.6667 23.6876 22.6667 23.334V14.0007H13.3333ZM15.3333 14.0007V12.6673C15.3333 12.3137 15.4738 11.9746 15.7239 11.7245C15.9739 11.4745 16.313 11.334 16.6667 11.334H19.3333C19.687 11.334 20.0261 11.4745 20.2761 11.7245C20.5262 11.9746 20.6667 12.3137 20.6667 12.6673V14.0007M16.6667 17.334V21.334M19.3333 17.334V21.334" stroke="#D92D20" stroke-width="1.33333" stroke-linecap="round" stroke-linejoin="round"/><rect x="2" y="2" width="32" height="32" rx="16" stroke="#FEF3F2" stroke-width="4"/></svg>',
167
+ title: `Delete '${details.checkListName} Task'?`,
168
+ content: `Are you sure you want to delete <b>'${details.checkListName}'?</b> This action cannot be undone.`,
169
+ buttontype: 'delete'
170
+ }
171
+ const dialogRef = this.dialog.open(TraxpopupComponent, {centered:true,size:'md'});
172
+ dialogRef.componentInstance.data = popupcontent;
173
+ dialogRef.result.then((res) => {
174
+ if (res == 'delete') {
175
+ const requestData = {
176
+ taskId: details._id
177
+ };
178
+ this.traxService.getTaskDelete(requestData).pipe(takeUntil(this.destroy$))?.subscribe({
179
+ next:(res:any) => {
180
+ if(res && res.code == 200) {
181
+ this.getTaskTable();
182
+ this.toast.getSuccessToast(`${details.checkListName} has been deleted.`);
183
+ }
184
+ }
185
+ });
186
+ }
187
+ });
188
+ }
189
+
190
+ }
191
+
192
+ onDuplicate(details:any){
193
+ const popupcontent = {
194
+ displayprop: false,
195
+ imagesrc: '<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 36 36" fill="none"><rect x="2" y="2" width="32" height="32" rx="16" fill="#DAF1FF"/><g clip-path="url(#clip0_5545_6743)"><path d="M13.333 20.0007H12.6663C12.3127 20.0007 11.9736 19.8602 11.7235 19.6101C11.4735 19.3601 11.333 19.0209 11.333 18.6673V12.6673C11.333 12.3137 11.4735 11.9746 11.7235 11.7245C11.9736 11.4745 12.3127 11.334 12.6663 11.334H18.6663C19.02 11.334 19.3591 11.4745 19.6092 11.7245C19.8592 11.9746 19.9997 12.3137 19.9997 12.6673V13.334M17.333 16.0007H23.333C24.0694 16.0007 24.6663 16.5976 24.6663 17.334V23.334C24.6663 24.0704 24.0694 24.6673 23.333 24.6673H17.333C16.5966 24.6673 15.9997 24.0704 15.9997 23.334V17.334C15.9997 16.5976 16.5966 16.0007 17.333 16.0007Z" stroke="#00A3FF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></g><rect x="2" y="2" width="32" height="32" rx="16" stroke="#EAF8FF" stroke-width="4"/><defs><clipPath id="clip0_5545_6743"><rect width="16" height="16" fill="white" transform="translate(10 10)"/></clipPath></defs></svg>',
196
+ title: `Duplicate '${details.checkListName} Task'?`,
197
+ content: `Are you sure you want to duplicate <b>'${details.checkListName}'?</b> This action cannot be undone.`,
198
+ buttontype: 'duplicate'
199
+ }
200
+ const dialogRef = this.dialog.open(TraxpopupComponent, {centered:true,size:'md'});
201
+ dialogRef.componentInstance.data = popupcontent;
202
+ dialogRef.result.then((res) => {
203
+ if (res == 'duplicate') {
204
+ this.traxService.duplicateTask({checklistId:details._id,clientId:this.headerData?.client}).pipe(takeUntil(this.destroy$))?.subscribe({
205
+ next:(res:any) => {
206
+ if(res && res.code == 200) {
207
+ this.getTaskTable();
208
+ this.toast.getSuccessToast(`${details.checkListName} has been duplicated.`);
209
+ }
210
+ }
211
+ });
212
+ }
213
+ });
214
+ }
215
+
216
+ publish(event:any,data:any,i:number) {
217
+ let popupcontent;
218
+ let htmlContent:any;
219
+ if(event.target.checked) {
220
+ popupcontent = {
221
+ displayprop: false,
222
+ imagesrc: '<svg xmlns="http://www.w3.org/2000/svg" width="56" height="56" viewBox="0 0 56 56" fill="none"><rect x="4" y="4" width="48" height="48" rx="24" fill="#D1FADF"/><path d="M38 27.0818V28.0018C37.9988 30.1582 37.3005 32.2565 36.0093 33.9836C34.7182 35.7108 32.9033 36.9743 30.8354 37.5857C28.7674 38.1971 26.5573 38.1237 24.5345 37.3764C22.5117 36.6291 20.7847 35.2479 19.611 33.4389C18.4373 31.6299 17.8798 29.4899 18.0217 27.3381C18.1636 25.1864 18.9972 23.1381 20.3983 21.4989C21.7994 19.8596 23.6928 18.7172 25.7962 18.242C27.8996 17.7667 30.1003 17.9842 32.07 18.8618M38 20.0018L28 30.0118L25 27.0118" stroke="#039855" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><rect x="4" y="4" width="48" height="48" rx="24" stroke="#ECFDF3" stroke-width="8"/></svg>',
223
+ title: `Are you sure you want to publish '${data.checkListName}' task?`,
224
+ content: `Publishing will make this task live, and changes will take effect immediately.`,
225
+ buttontype: 'confirm'
226
+ }
227
+ htmlContent= `${data.checkListName} has been published</div>`;
228
+ }
229
+ else {
230
+ popupcontent = {
231
+ displayprop: false,
232
+ imagesrc: '<svg xmlns="http://www.w3.org/2000/svg" width="56" height="56" viewBox="0 0 56 56" fill="none"><rect x="4" y="4" width="48" height="48" rx="24" fill="#FEF0C7"/><path d="M27.9998 24.0012V28.0012M27.9998 32.0012H28.0098M26.2898 18.8612L17.8198 33.0012C17.6451 33.3036 17.5527 33.6465 17.5518 33.9957C17.5508 34.3449 17.6413 34.6883 17.8142 34.9917C17.9871 35.2951 18.2365 35.5479 18.5375 35.725C18.8385 35.9021 19.1806 35.9973 19.5298 36.0012H36.4698C36.819 35.9973 37.1611 35.9021 37.4621 35.725C37.7631 35.5479 38.0124 35.2951 38.1854 34.9917C38.3583 34.6883 38.4488 34.3449 38.4478 33.9957C38.4468 33.6465 38.3544 33.3036 38.1798 33.0012L29.7098 18.8612C29.5315 18.5673 29.2805 18.3243 28.981 18.1557C28.6814 17.987 28.3435 17.8984 27.9998 17.8984C27.656 17.8984 27.3181 17.987 27.0186 18.1557C26.7191 18.3243 26.468 18.5673 26.2898 18.8612Z" stroke="#DC6803" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><rect x="4" y="4" width="48" height="48" rx="24" stroke="#FFFAEB" stroke-width="8"/></svg>',
233
+ title: `Are you sure you want to unpublish ‘${data.checkListName}’ task?`,
234
+ content: `Unpublishing will remove this task immediately, and it will no longer be visible to assigned locations.`,
235
+ buttontype: 'confirm'
236
+ }
237
+ htmlContent= `${data.checkListName} has been unpublished`;
238
+ }
239
+ const dialogRef = this.dialog.open(TraxpopupComponent, {
240
+ centered:true,size:'md'
241
+ });
242
+ dialogRef.componentInstance.data = popupcontent;
243
+ dialogRef.result.then((res) => {
244
+ if (res == 'confirm') {
245
+ this.traxService.publishTask({publish: event.target.checked,clientId:this.headerData?.client,checklistId:data._id}).pipe(takeUntil(this.destroy$)).subscribe((result:any) =>{
246
+ if(result && result.code == 200) {
247
+ this.getTaskTable();
248
+ }
249
+ else {
250
+ event.target.checked = data.publish
251
+ }
252
+ },(error:any) => {
253
+ event.target.checked = data.publish;
254
+ let err = error?.error?.error || 'Please try after sometimes';
255
+ this.toast.getErrorToast(err);
256
+ this.cd.detectChanges();
257
+ })
258
+ }
259
+ else {
260
+ event.target.checked = data.publish;
261
+ this.cd.detectChanges();
262
+ }
263
+ })
264
+ }
265
+
266
+
267
+ }
@@ -0,0 +1,176 @@
1
+ <div class="card mb-5">
2
+ <div class="card" *ngIf="loading">
3
+ <div class="row loader d-flex justify-content-center align-items-center">
4
+ <div class="shimmer">
5
+ <div class="wrapper">
6
+ <div class="stroke animate title"></div>
7
+ <div class="stroke animate link"></div>
8
+ <div class="stroke animate description"></div>
9
+ </div>
10
+ </div>
11
+ <div class="shimmer">
12
+ <div class="wrapper">
13
+ <div class="stroke animate title"></div>
14
+ <div class="stroke animate link"></div>
15
+ <div class="stroke animate description"></div>
16
+ </div>
17
+ </div>
18
+ </div>
19
+ </div>
20
+ <div class="card-body pt-2 pb-1" *ngIf="!loading">
21
+ <div class="d-flex flex-column">
22
+ <div class="d-flex flex-wrap my-2 pe-2">
23
+ <a routerLink="/manage/trax/checklist" class="d-flex align-items-center me-3 cursor-pointer">
24
+ <span><svg width="44" height="44" viewBox="0 0 44 44" fill="none"
25
+ xmlns="http://www.w3.org/2000/svg">
26
+ <g filter="url(#filter0_d_987_30898)">
27
+ <rect x="2" y="1" width="40" height="40" rx="8" fill="white" />
28
+ <rect x="2.5" y="1.5" width="39" height="39" rx="7.5" stroke="#D0D5DD" />
29
+ <path
30
+ d="M27.8346 21.0001H16.168M16.168 21.0001L22.0013 26.8334M16.168 21.0001L22.0013 15.1667"
31
+ stroke="#344054" stroke-width="1.67" stroke-linecap="round"
32
+ stroke-linejoin="round" />
33
+ </g>
34
+ <defs>
35
+ <filter id="filter0_d_987_30898" x="0" y="0" width="44" height="44"
36
+ filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
37
+ <feFlood flood-opacity="0" result="BackgroundImageFix" />
38
+ <feColorMatrix in="SourceAlpha" type="matrix"
39
+ values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha" />
40
+ <feOffset dy="1" />
41
+ <feGaussianBlur stdDeviation="1" />
42
+ <feColorMatrix type="matrix"
43
+ values="0 0 0 0 0.0627451 0 0 0 0 0.0941176 0 0 0 0 0.156863 0 0 0 0.05 0" />
44
+ <feBlend mode="normal" in2="BackgroundImageFix"
45
+ result="effect1_dropShadow_987_30898" />
46
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_987_30898"
47
+ result="shape" />
48
+ </filter>
49
+ </defs>
50
+ </svg>
51
+ </span>
52
+ </a>
53
+ <div class="checklist-details mx-3">
54
+ <div class="d-flex align-items-center maintext mt-2">
55
+ Predefined {{type === 'ai' ? 'AI' : ''}} Checklist
56
+ </div>
57
+ <!-- <div class="subtext">
58
+ An overview of the store issues and the downtime for 02 July, 2023
59
+ </div> -->
60
+ </div>
61
+ </div>
62
+ <!--end::Info-->
63
+ </div>
64
+
65
+ <div class="col-ld-12" *ngIf="type === 'predefined'">
66
+ <div class="row m-0">
67
+ <div class="col-md-4 my-3" *ngFor="let item of checklistDetails;let i=index">
68
+ <div class="checklistimg h-100">
69
+ <img class="w-100" src="assets/tango/Images/checklistVideo-player1.svg" alt="Checklist Video Player">
70
+ <div class="col-12">
71
+ <div class="d-flex flex-stack">
72
+ <span class="imgtext me-2">{{item.checkListName}}</span>
73
+ <span class="d-flex align-items-center cursor-pointer" (click)="redirectChecklist(item)">
74
+ <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
75
+ <g clip-path="url(#clip0_801_62593)">
76
+ <path d="M9.16797 3.33417H3.33464C2.89261 3.33417 2.46868 3.50977 2.15612 3.82233C1.84356 4.13489 1.66797 4.55881 1.66797 5.00084V16.6675C1.66797 17.1095 1.84356 17.5335 2.15612 17.846C2.46868 18.1586 2.89261 18.3342 3.33464 18.3342H15.0013C15.4433 18.3342 15.8673 18.1586 16.1798 17.846C16.4924 17.5335 16.668 17.1095 16.668 16.6675V10.8342M15.418 2.08417C15.7495 1.75265 16.1991 1.56641 16.668 1.56641C17.1368 1.56641 17.5864 1.75265 17.918 2.08417C18.2495 2.41569 18.4357 2.86533 18.4357 3.33417C18.4357 3.80301 18.2495 4.25265 17.918 4.58417L10.0013 12.5008L6.66797 13.3342L7.5013 10.0008L15.418 2.08417Z"
77
+ stroke="#667085" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
78
+ </g>
79
+ <defs>
80
+ <clipPath id="clip0_801_62593">
81
+ <rect width="20" height="20" fill="white" />
82
+ </clipPath>
83
+ </defs>
84
+ </svg> </span>
85
+ </div>
86
+ </div>
87
+ <div class="imgsubtext" >{{item.checkListDescription}}</div>
88
+ <div class="col-12">
89
+ <div class="d-flex flex-stack justify-content-end">
90
+ <!-- <div>
91
+ <span><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">
92
+ <path 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" stroke="#667085" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
93
+ </svg><span class="mx-1">{{item.userCount}}</span></span>
94
+ <span class="mx-4" ><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">
95
+ <path d="M2.14549 4.64215L2.1029 4.70866C1.65644 5.49832 2.13313 6.49629 2.99045 6.61074C3.0681 6.62024 3.14036 6.62526 3.21097 6.62526C3.67349 6.62526 4.08242 6.42684 4.36744 6.11746L4.81011 5.63696L5.25127 6.11884C5.53283 6.42638 5.94083 6.62526 6.40648 6.62526C6.87003 6.62526 7.28038 6.4261 7.56168 6.11884L8.00423 5.63545L8.44678 6.11884C8.72808 6.4261 9.13843 6.62526 9.60199 6.62526C10.0655 6.62526 10.4759 6.4261 10.7572 6.11884L11.1997 5.63545L11.6423 6.11884C11.9236 6.4261 12.3339 6.62526 12.7975 6.62526C12.8658 6.62526 12.9402 6.62022 13.0174 6.61082C13.8935 6.49137 14.3717 5.43995 13.8608 4.64255C13.8608 4.6425 13.8607 4.64246 13.8607 4.64241L12.4542 2.44928L12.4534 2.44811C12.4413 2.42904 12.4113 2.40859 12.3735 2.40859H3.63001C3.5923 2.40859 3.56231 2.42904 3.55014 2.44811L3.54965 2.44888L2.14549 4.64215ZM12.5226 8.58877V11.0943V11.6943H11.9226H4.08091H3.48091V11.0943V8.58914C3.39272 8.5957 3.30351 8.59907 3.21342 8.59907C3.17958 8.59907 3.14596 8.59857 3.11257 8.59759V11.0943V12.6419C3.11257 13.1567 3.53969 13.5895 4.08091 13.5895H11.9226C12.4639 13.5895 12.891 13.1567 12.891 12.6419V11.0943V8.59774C12.8591 8.59862 12.8271 8.59907 12.795 8.59907C12.7035 8.59907 12.6126 8.59559 12.5226 8.58877Z" stroke="#667085" stroke-width="1.2"/>
96
+ </svg><span class="mx-1">{{item.storeCount}}</span></span>
97
+ </div> -->
98
+
99
+ <!-- <span class="badge badge-light-success" *ngIf="item.publish">Published</span>
100
+ <span class="badge badge-light-primary" *ngIf="!item.publish">Open</span> -->
101
+ </div>
102
+ </div>
103
+ </div>
104
+ </div>
105
+ </div>
106
+ </div>
107
+ <div class="col-ld-12" *ngIf="type === 'ai'">
108
+ <div class="row m-0">
109
+ <div class="col-md-4 my-3" *ngFor="let data of checklistDetails;let i=index">
110
+ <div class="checklistimg h-100">
111
+ <img class="w-100" src="assets/tango/Images/{{data.checkListType}}.png" alt="" (error)="data['default']='show'" *ngIf="!data?.default">
112
+ <img class="w-100" src="assets/tango/Images/checklistVideo-player1.svg" alt="Checklist Video Player" *ngIf="data?.default">
113
+ <div class="col-12">
114
+ <div class="d-flex flex-stack">
115
+ <span class="imgtext me-2">{{data.checkListName}}</span>
116
+ <!-- <span class="d-flex align-items-center cursor-pointer" (click)="redirectUrl('uniformdetection')">
117
+ <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
118
+ <g clip-path="url(#clip0_801_62593)">
119
+ <path d="M9.16797 3.33417H3.33464C2.89261 3.33417 2.46868 3.50977 2.15612 3.82233C1.84356 4.13489 1.66797 4.55881 1.66797 5.00084V16.6675C1.66797 17.1095 1.84356 17.5335 2.15612 17.846C2.46868 18.1586 2.89261 18.3342 3.33464 18.3342H15.0013C15.4433 18.3342 15.8673 18.1586 16.1798 17.846C16.4924 17.5335 16.668 17.1095 16.668 16.6675V10.8342M15.418 2.08417C15.7495 1.75265 16.1991 1.56641 16.668 1.56641C17.1368 1.56641 17.5864 1.75265 17.918 2.08417C18.2495 2.41569 18.4357 2.86533 18.4357 3.33417C18.4357 3.80301 18.2495 4.25265 17.918 4.58417L10.0013 12.5008L6.66797 13.3342L7.5013 10.0008L15.418 2.08417Z"
120
+ stroke="#667085" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
121
+ </g>
122
+ <defs>
123
+ <clipPath id="clip0_801_62593">
124
+ <rect width="20" height="20" fill="white" />
125
+ </clipPath>
126
+ </defs>
127
+ </svg></span> -->
128
+ </div>
129
+ </div>
130
+ <div class="imgsubtext" >{{data.checkListDescription}}</div>
131
+ <div class="col-12">
132
+ <div class="d-flex h-45px flex-stack justify-content-between">
133
+ <div>
134
+ <!-- <span><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">
135
+ <path 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" stroke="#667085" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
136
+ </svg><span class="mx-1">{{checklistDetails?.uniformDetection[0]?.uniformUserList || 0}}</span></span> -->
137
+ <span><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">
138
+ <path d="M2.14549 4.64215L2.1029 4.70866C1.65644 5.49832 2.13313 6.49629 2.99045 6.61074C3.0681 6.62024 3.14036 6.62526 3.21097 6.62526C3.67349 6.62526 4.08242 6.42684 4.36744 6.11746L4.81011 5.63696L5.25127 6.11884C5.53283 6.42638 5.94083 6.62526 6.40648 6.62526C6.87003 6.62526 7.28038 6.4261 7.56168 6.11884L8.00423 5.63545L8.44678 6.11884C8.72808 6.4261 9.13843 6.62526 9.60199 6.62526C10.0655 6.62526 10.4759 6.4261 10.7572 6.11884L11.1997 5.63545L11.6423 6.11884C11.9236 6.4261 12.3339 6.62526 12.7975 6.62526C12.8658 6.62526 12.9402 6.62022 13.0174 6.61082C13.8935 6.49137 14.3717 5.43995 13.8608 4.64255C13.8608 4.6425 13.8607 4.64246 13.8607 4.64241L12.4542 2.44928L12.4534 2.44811C12.4413 2.42904 12.4113 2.40859 12.3735 2.40859H3.63001C3.5923 2.40859 3.56231 2.42904 3.55014 2.44811L3.54965 2.44888L2.14549 4.64215ZM12.5226 8.58877V11.0943V11.6943H11.9226H4.08091H3.48091V11.0943V8.58914C3.39272 8.5957 3.30351 8.59907 3.21342 8.59907C3.17958 8.59907 3.14596 8.59857 3.11257 8.59759V11.0943V12.6419C3.11257 13.1567 3.53969 13.5895 4.08091 13.5895H11.9226C12.4639 13.5895 12.891 13.1567 12.891 12.6419V11.0943V8.59774C12.8591 8.59862 12.8271 8.59907 12.795 8.59907C12.7035 8.59907 12.6126 8.59559 12.5226 8.58877Z" stroke="#667085" stroke-width="1.2"/>
139
+ </svg><span class="mx-1">{{data.storeCount || '--'}}</span></span>
140
+ </div>
141
+
142
+ <!-- <span class="badge badge-light-success" *ngIf="checklistDetails?.uniformDetection?.length">Published</span> -->
143
+ <div>
144
+ <div class="d-flex">
145
+ <div *ngIf="['eyetest', 'remoteoptometrist', 'suspiciousactivity', 'suspiciousfootfall', 'drinking', 'bagdetection'].includes(data?.checkListType)">
146
+ <span class="form-check form-switch">
147
+ <input type="checkbox" role="switch" id="support" class="form-check-input cursor-pointer" [checked]="data.publish" (change)="publish($event,data)">
148
+ </span>
149
+ </div>
150
+ <div>
151
+ <div *ngIf="['eyetest', 'remoteoptometrist', 'suspiciousactivity', 'suspiciousfootfall', 'drinking', 'bagdetection'].includes(data?.checkListType)">
152
+ <span class="badge badge-light-primary" *ngIf="!data.publish">Disable</span>
153
+ <span class="badge badge-light-success" *ngIf="data.publish">Enable</span>
154
+ </div>
155
+ <button *ngIf="!['eyetest', 'remoteoptometrist', 'suspiciousactivity', 'suspiciousfootfall', 'drinking', 'bagdetection'].includes(data?.checkListType)" class="btn btn-outline" (click)="redirectToConfigure(data)"><span class="me-3"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
156
+ <g clip-path="url(#clip0_10148_34788)">
157
+ <path d="M10.0026 12.4987C11.3833 12.4987 12.5026 11.3794 12.5026 9.9987C12.5026 8.61799 11.3833 7.4987 10.0026 7.4987C8.62189 7.4987 7.5026 8.61799 7.5026 9.9987C7.5026 11.3794 8.62189 12.4987 10.0026 12.4987Z" stroke="#344054" stroke-width="1.67" stroke-linecap="round" stroke-linejoin="round"/>
158
+ <path d="M16.1693 12.4987C16.0583 12.75 16.0252 13.0289 16.0743 13.2992C16.1233 13.5695 16.2522 13.819 16.4443 14.0154L16.4943 14.0654C16.6492 14.2202 16.7722 14.404 16.856 14.6063C16.9399 14.8086 16.9831 15.0255 16.9831 15.2445C16.9831 15.4636 16.9399 15.6804 16.856 15.8828C16.7722 16.0851 16.6492 16.2689 16.4943 16.4237C16.3395 16.5787 16.1557 16.7016 15.9533 16.7855C15.751 16.8693 15.5341 16.9125 15.3151 16.9125C15.0961 16.9125 14.8792 16.8693 14.6769 16.7855C14.4745 16.7016 14.2907 16.5787 14.1359 16.4237L14.0859 16.3737C13.8895 16.1816 13.6401 16.0527 13.3698 16.0037C13.0994 15.9547 12.8206 15.9878 12.5693 16.0987C12.3228 16.2043 12.1126 16.3797 11.9645 16.6033C11.8165 16.8269 11.737 17.0889 11.7359 17.357V17.4987C11.7359 17.9407 11.5603 18.3646 11.2478 18.6772C10.9352 18.9898 10.5113 19.1654 10.0693 19.1654C9.62724 19.1654 9.20332 18.9898 8.89076 18.6772C8.5782 18.3646 8.4026 17.9407 8.4026 17.4987V17.4237C8.39615 17.1479 8.30687 16.8804 8.14636 16.6559C7.98586 16.4315 7.76155 16.2606 7.5026 16.1654C7.25126 16.0544 6.97244 16.0213 6.70211 16.0704C6.43178 16.1194 6.18234 16.2482 5.98594 16.4404L5.93594 16.4904C5.78115 16.6453 5.59733 16.7683 5.395 16.8521C5.19267 16.936 4.9758 16.9792 4.75677 16.9792C4.53774 16.9792 4.32087 16.936 4.11854 16.8521C3.91621 16.7683 3.73239 16.6453 3.5776 16.4904C3.42264 16.3356 3.29971 16.1518 3.21584 15.9494C3.13196 15.7471 3.08879 15.5302 3.08879 15.3112C3.08879 15.0922 3.13196 14.8753 3.21584 14.673C3.29971 14.4706 3.42264 14.2868 3.5776 14.132L3.6276 14.082C3.81972 13.8856 3.94859 13.6362 3.99761 13.3659C4.04662 13.0955 4.01353 12.8167 3.9026 12.5654C3.79697 12.3189 3.62157 12.1087 3.39799 11.9606C3.17442 11.8126 2.91243 11.7331 2.64427 11.732H2.5026C2.06058 11.732 1.63665 11.5564 1.32409 11.2439C1.01153 10.9313 0.835938 10.5074 0.835938 10.0654C0.835938 9.62334 1.01153 9.19941 1.32409 8.88685C1.63665 8.57429 2.06058 8.3987 2.5026 8.3987H2.5776C2.85343 8.39225 3.12094 8.30296 3.34535 8.14246C3.56977 7.98195 3.7407 7.75764 3.83594 7.4987C3.94687 7.24735 3.97996 6.96854 3.93094 6.69821C3.88193 6.42788 3.75305 6.17843 3.56094 5.98203L3.51094 5.93203C3.35598 5.77724 3.23304 5.59343 3.14917 5.3911C3.0653 5.18877 3.02213 4.97189 3.02213 4.75286C3.02213 4.53384 3.0653 4.31696 3.14917 4.11463C3.23304 3.9123 3.35598 3.72849 3.51094 3.5737C3.66573 3.41874 3.84954 3.29581 4.05187 3.21193C4.2542 3.12806 4.47108 3.08489 4.6901 3.08489C4.90913 3.08489 5.12601 3.12806 5.32834 3.21193C5.53067 3.29581 5.71448 3.41874 5.86927 3.5737L5.91927 3.6237C6.11567 3.81581 6.36512 3.94469 6.63545 3.9937C6.90578 4.04272 7.18459 4.00963 7.43594 3.8987H7.5026C7.74908 3.79306 7.95928 3.61766 8.10735 3.39409C8.25541 3.17051 8.33487 2.90852 8.33594 2.64036V2.4987C8.33594 2.05667 8.51153 1.63275 8.82409 1.32019C9.13665 1.00763 9.56058 0.832031 10.0026 0.832031C10.4446 0.832031 10.8686 1.00763 11.1811 1.32019C11.4937 1.63275 11.6693 2.05667 11.6693 2.4987V2.5737C11.6703 2.84185 11.7498 3.10384 11.8979 3.32742C12.0459 3.55099 12.2561 3.7264 12.5026 3.83203C12.7539 3.94296 13.0328 3.97605 13.3031 3.92703C13.5734 3.87802 13.8229 3.74914 14.0193 3.55703L14.0693 3.50703C14.2241 3.35207 14.4079 3.22914 14.6102 3.14526C14.8125 3.06139 15.0294 3.01822 15.2484 3.01822C15.4675 3.01822 15.6843 3.06139 15.8867 3.14526C16.089 3.22914 16.2728 3.35207 16.4276 3.50703C16.5826 3.66182 16.7055 3.84563 16.7894 4.04796C16.8732 4.25029 16.9164 4.46717 16.9164 4.6862C16.9164 4.90522 16.8732 5.1221 16.7894 5.32443C16.7055 5.52676 16.5826 5.71058 16.4276 5.86536L16.3776 5.91536C16.1855 6.11176 16.0566 6.36121 16.0076 6.63154C15.9586 6.90187 15.9917 7.18068 16.1026 7.43203V7.4987C16.2082 7.74517 16.3836 7.95538 16.6072 8.10344C16.8308 8.2515 17.0928 8.33096 17.3609 8.33203H17.5026C17.9446 8.33203 18.3686 8.50763 18.6811 8.82019C18.9937 9.13275 19.1693 9.55667 19.1693 9.9987C19.1693 10.4407 18.9937 10.8646 18.6811 11.1772C18.3686 11.4898 17.9446 11.6654 17.5026 11.6654H17.4276C17.1594 11.6664 16.8975 11.7459 16.6739 11.894C16.4503 12.042 16.2749 12.2522 16.1693 12.4987Z" stroke="#344054" stroke-width="1.67" stroke-linecap="round" stroke-linejoin="round"/>
159
+ </g>
160
+ <defs>
161
+ <clipPath id="clip0_10148_34788">
162
+ <rect width="20" height="20" fill="white"/>
163
+ </clipPath>
164
+ </defs>
165
+ </svg></span>Configure</button>
166
+ </div>
167
+ </div>
168
+ </div>
169
+ </div>
170
+ </div>
171
+ </div>
172
+ </div>
173
+ </div>
174
+ </div>
175
+ </div>
176
+ </div>
@@ -0,0 +1,43 @@
1
+ .maintext{
2
+ color: var(--Gray-900, #101828);
3
+ font-size: 18px;
4
+ font-style: normal;
5
+ font-weight: 600;
6
+ line-height: 28px; /* 155.556% */
7
+ }
8
+ .subtext{
9
+ color: var(--Gray-500, #667085);
10
+ font-size: 14px;
11
+ font-style: normal;
12
+ font-weight: 400;
13
+ line-height: 20px; /* 142.857% */
14
+ }
15
+ .checklistimg{
16
+ display: flex;
17
+ // width: 410px;
18
+ padding: 12px;
19
+ flex-direction: column;
20
+ align-items: flex-start;
21
+ gap: 12px;
22
+ border-radius: 12px;
23
+ border: 1px solid var(--Greyscale-100, #DFE1E7);
24
+ background: var(--Greyscale-0, #FFF);
25
+ }
26
+ .imgtext{
27
+ overflow: hidden;
28
+ color: var(--Greyscale-900, #0D0D12);
29
+ text-overflow: ellipsis;
30
+ font-size: 16px;
31
+ font-style: normal;
32
+ font-weight: 600;
33
+ line-height: 24px; /* 150% */
34
+ }
35
+ .imgsubtext{
36
+ overflow: hidden;
37
+ color: var(--Gray-500, #667085);
38
+ text-overflow: ellipsis;
39
+ font-size: 12px;
40
+ font-style: normal;
41
+ font-weight: 400;
42
+ line-height: 18px; /* 150% */
43
+ }
@@ -0,0 +1,23 @@
1
+ import { ComponentFixture, TestBed } from '@angular/core/testing';
2
+
3
+ import { ManagechecklistComponent } from './managechecklist.component';
4
+
5
+ describe('ManagechecklistComponent', () => {
6
+ let component: ManagechecklistComponent;
7
+ let fixture: ComponentFixture<ManagechecklistComponent>;
8
+
9
+ beforeEach(async () => {
10
+ await TestBed.configureTestingModule({
11
+ declarations: [ManagechecklistComponent]
12
+ })
13
+ .compileComponents();
14
+
15
+ fixture = TestBed.createComponent(ManagechecklistComponent);
16
+ component = fixture.componentInstance;
17
+ fixture.detectChanges();
18
+ });
19
+
20
+ it('should create', () => {
21
+ expect(component).toBeTruthy();
22
+ });
23
+ });