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,23 @@
1
+ import { ComponentFixture, TestBed } from '@angular/core/testing';
2
+
3
+ import { TaskLayoutComponent } from './task-layout.component';
4
+
5
+ describe('TaskLayoutComponent', () => {
6
+ let component: TaskLayoutComponent;
7
+ let fixture: ComponentFixture<TaskLayoutComponent>;
8
+
9
+ beforeEach(async () => {
10
+ await TestBed.configureTestingModule({
11
+ declarations: [TaskLayoutComponent]
12
+ })
13
+ .compileComponents();
14
+
15
+ fixture = TestBed.createComponent(TaskLayoutComponent);
16
+ component = fixture.componentInstance;
17
+ fixture.detectChanges();
18
+ });
19
+
20
+ it('should create', () => {
21
+ expect(component).toBeTruthy();
22
+ });
23
+ });
@@ -0,0 +1,10 @@
1
+ import { Component } from '@angular/core';
2
+
3
+ @Component({
4
+ selector: 'lib-task-layout',
5
+ templateUrl: './task-layout.component.html',
6
+ styleUrl: './task-layout.component.scss'
7
+ })
8
+ export class TaskLayoutComponent {
9
+
10
+ }
@@ -0,0 +1,97 @@
1
+ <div class="card group-delete py-0">
2
+ <div class="card-body py-0 d-flex flex-start flex-column p-9 ">
3
+ <div class="mt-5">
4
+ <h5 class="title-txt">{{storeProfile?.storeName}} Activity Log</h5>
5
+ </div>
6
+ </div>
7
+
8
+ <!-- <div class="d-flex align-items-center justify-content-between">
9
+ <div class="border border-1 border-gray p-0 w-100 me-3"></div>
10
+ <span class="text-day fw-bold-400">Today</span>
11
+ <div class="border border-1 border-gray p-0 w-100 ms-3"></div>
12
+ </div> -->
13
+ <ng-container>
14
+ <div *ngFor="let obj of viewLogsData;let i=index">
15
+ <!-- User code start -->
16
+ <div *ngIf="obj.actionType =='initation'" class="d-flex mb-5 ms-5">
17
+ <div *ngIf="obj.actionType =='initation'"
18
+ class="d-flex flex-column justify-content-center align-items-center pe-3">
19
+ <div class="symbol symbol-50px symbol-circle" *ngIf="obj?.userName&&obj?.userName!==''">
20
+ <span class="symbol-label badge-light-primary text-symbol">
21
+ <span class="text-primary fs-4 badge badge-light-primary fw-normal">
22
+ {{obj?.userName?.slice(0,2) | uppercase }}
23
+ </span>
24
+ </span>
25
+ </div>
26
+ </div>
27
+ <div class="py-1 pt-0">
28
+ <div *ngIf="obj.actionType =='initation'">
29
+ <div class="d-flex pt-5 mb-1">
30
+ <span class="headingtext text-capitalize">{{obj?.userName?obj?.userName:""}}</span>
31
+ <span class="timingtext px-3 pt-1">{{obj?.Timestamp}}</span>
32
+ </div>
33
+ </div>
34
+ <div class="d-flex mb-3">
35
+ <span class="timingtext pe-3 fw-bold-400">{{obj?.description}}</span>
36
+ </div>
37
+ </div>
38
+ <div class="p-0 h-100 mt-3 border border-1 border-gray" style="width:0px"></div>
39
+ </div>
40
+ <div *ngIf="obj.actionType =='answer'" class="d-flex mb-5 ms-5">
41
+ <div class="d-flex flex-column justify-content-center align-items-center pe-3">
42
+ <div class="d-flex align-items-centre justify-content-centre">
43
+ <div class="symbol symbol-50px symbol-circle" *ngIf="obj?.userName&&obj?.userName!==''">
44
+ <span class="symbol-label badge-light-primary text-symbol">
45
+ <span class="text-primary fs-4 badge badge-light-primary fw-normal">
46
+ {{obj?.userName?.slice(0,2) | uppercase }}
47
+ </span>
48
+ </span>
49
+ </div>
50
+ <span *ngIf="!obj?.userName||obj?.userName===''">
51
+ <svg width="40" height="40" viewBox="0 0 40 40" fill="none"
52
+ xmlns="http://www.w3.org/2000/svg">
53
+ <rect width="40" height="40" rx="20" fill="#EAF8FF" />
54
+ <path
55
+ d="M30.4932 28.3351L29.6867 27.5286L20.9965 18.8384L23.5744 16.2605L24.1921 15.6416C24.251 15.5818 24.2843 15.5014 24.2847 15.4174C24.2845 15.3759 24.2761 15.3349 24.26 15.2966C24.2439 15.2584 24.2204 15.2237 24.1909 15.1945L23.572 14.5756L20.8381 11.8368L20.2192 11.218C20.19 11.1882 20.1551 11.1645 20.1166 11.1484C20.0781 11.1323 20.0368 11.124 19.995 11.124C19.9533 11.124 19.912 11.1323 19.8735 11.1484C19.835 11.1645 19.8001 11.1882 19.7709 11.218L19.152 11.8381L15.8016 15.1884C15.7719 15.2176 15.7483 15.2523 15.7322 15.2907C15.7161 15.3291 15.7077 15.3703 15.7077 15.412C15.7077 15.4536 15.7161 15.4948 15.7322 15.5332C15.7483 15.5716 15.7719 15.6064 15.8016 15.6355L19.0021 18.8372L10.3107 27.5286L9.50787 28.3351C9.44834 28.3941 9.41461 28.4743 9.41406 28.5581C9.41441 28.6391 9.4453 28.717 9.50056 28.7762C9.53007 28.8077 9.56573 28.8328 9.60533 28.85C9.64494 28.8672 9.68765 28.8761 9.73082 28.8761H17.5487C17.6326 28.8757 17.713 28.8423 17.7723 28.7829C17.8316 28.7236 17.8651 28.6432 17.8654 28.5593V27.782C17.8654 27.6979 17.8321 27.6172 17.7727 27.5576C17.7134 27.498 17.6328 27.4644 17.5487 27.464H12.3709L19.9987 19.8362L27.6265 27.464H22.4036C22.3195 27.4644 22.2389 27.498 22.1796 27.5576C22.1202 27.6172 22.0869 27.6979 22.0869 27.782V28.5593C22.0867 28.601 22.0949 28.6424 22.111 28.6809C22.1272 28.7194 22.1508 28.7543 22.1807 28.7835C22.2399 28.8426 22.32 28.8758 22.4036 28.8761H30.269C30.3124 28.8762 30.3553 28.8674 30.3952 28.8502C30.435 28.833 30.4708 28.8078 30.5005 28.7762C30.5574 28.7164 30.5885 28.6367 30.5872 28.5542C30.5858 28.4716 30.552 28.393 30.4932 28.3351ZM19.9938 12.9906L22.4219 15.4187L19.9999 17.8407L17.5718 15.4126L19.9938 12.9906Z"
56
+ fill="#00A3FF" />
57
+ </svg>
58
+
59
+ </span>
60
+ <!-- <img class="msgprofile1" src="./assets/tango/Images/tangoprofile.png"> -->
61
+ </div>
62
+ <div class="p-0 h-100 mt-3 border border-1 border-gray" style="width:0px"></div>
63
+ </div>
64
+
65
+ <div class="py-3 pt-0">
66
+ <div class="d-flex mt-2 mb-3">
67
+ <span class="headingtext fw-bold text-capitalize">{{obj?.userName?obj?.userName:"Tango"}}</span>
68
+ <span class="timingtext fw-bold-400 px-3 pt-1">{{obj?.Timestamp}}</span>
69
+ </div>
70
+ <div class="row px-5" *ngIf="obj.answerType==='video'">
71
+ <div class="col-md-6" *ngFor="let item of obj.userAnswer">
72
+ <div class="title-ref my-3">Uploaded Video</div>
73
+ <video controls class="recap-img p-3"
74
+ src="{{environment.TraxAnswerCDN}}{{item.answer}}">
75
+ </video>
76
+ </div>
77
+ </div>
78
+ <div class="row px-5"
79
+ *ngIf="obj.answerType==='image'||obj.answerType==='descriptiveImage'||obj.answerType==='multipleImage'">
80
+ <div class="col-md-6" *ngFor="let item of obj.userAnswer">
81
+ <div class="title-ref my-3">Uploaded Image</div>
82
+ <img class="img-logo" src="{{environment.TraxAnswerCDN}}{{item.answer}}" alt="">
83
+ </div>
84
+ </div>
85
+ <div class="row px-5"
86
+ *ngIf="obj.answerType==='multiplechoicesingle'||obj.answerType==='yes/no'||obj.answerType==='date'||obj.answerType==='time'||obj.answerType==='multiplechoicemultiple'||obj.answerType==='linearscale'||obj.answerType==='descriptive' ">
87
+ <div class="col-md-12" *ngFor="let item of obj.userAnswer">
88
+ <span class="mt-1">{{item.answer}}</span>
89
+ </div>
90
+ </div>
91
+ </div>
92
+ </div>
93
+ <!-- Tango code end -->
94
+ </div>
95
+ </ng-container>
96
+
97
+ </div>
@@ -0,0 +1,301 @@
1
+ .card-label{
2
+ font-size: 18px !important;
3
+ }
4
+ .roundedcheck{
5
+ input[type='checkbox'] {
6
+ width: 16px !important;
7
+ height: 16px !important;
8
+ // margin: -3px 5px;
9
+ border-radius: 10px !important;
10
+ -webkit-appearance: none;
11
+ -moz-appearance: none;
12
+ -o-appearance: none;
13
+ appearance: none;
14
+ outline: 1px solid var(--gray-300, #D0D5DD);
15
+ box-shadow: none;
16
+ font-size: 0.8em;
17
+ text-align: center;
18
+ line-height: 1em;
19
+ background: white;
20
+ }
21
+
22
+ input[type='checkbox']:checked {
23
+ outline:none;
24
+ background-color: var(--primary-50, #00A3FF);
25
+ }
26
+
27
+ input[type='checkbox']:checked:after {
28
+ content: '';
29
+ transform: rotate(45deg);
30
+ border-bottom: 2px solid white;
31
+ border-right: 2px solid white;
32
+ display: inline-block;
33
+ width: 4px;
34
+ // margin-left: 5px !important;
35
+ padding-left: 3px;
36
+ padding-top: 5px;
37
+ padding-bottom: 2px;
38
+ margin-top: 2px;
39
+ padding-right: 0px;
40
+ }
41
+ }
42
+ .prvtxt {
43
+ color: var(--Gray-500, #667085);
44
+ font-family: Inter;
45
+ font-size: 20px;
46
+ font-style: normal;
47
+ font-weight: 700;
48
+ line-height: 20px;
49
+ /* 100% */
50
+ letter-spacing: -0.4px;
51
+ }
52
+ .textclr{
53
+ color: var(--Gray-400, #98A2B3);
54
+ }
55
+ .title-txt {
56
+ color: var(--Gray-900, #101828) !important;
57
+ font-size: 18px !important;
58
+ font-weight: 600;
59
+ line-height: 28px !important;
60
+ }
61
+ .img {
62
+
63
+ border-radius: 10px;
64
+ border: 1px solid var(--Gray-500, #667085);
65
+ background: var(--Gray-100, #F2F4F7) ;
66
+ width: 100%;
67
+ height: 165px;
68
+ }
69
+
70
+ .issuecard{
71
+ width:19%;
72
+ border-radius: 10px;
73
+ border: 1px solid var(--Gray-200, #EAECF0);
74
+ padding:16px;
75
+ label{
76
+ color: var(--Black, #101828);
77
+ font-size: 14px;
78
+ line-height: 20px;
79
+ }
80
+ }
81
+ .issuecard.active{
82
+ border:none !important;
83
+ background: var(--Primary-25, #F6FCFF);
84
+ box-shadow: 0px 0px 0px 4px #E9F7FF;
85
+ }
86
+ .contenttext{
87
+ color: var(--Gray-500, #667085);
88
+ font-size: 14px;
89
+ line-height: 20px;
90
+ }
91
+ .maincard-content{
92
+ border-radius: 8px;
93
+ border: 1px solid var(--Gray-300, #D0D5DD);
94
+ }
95
+ .maincard-label{
96
+ color: var(--Gray-900, #101828);
97
+ font-size: 16px;
98
+ line-height: 24px;
99
+ }
100
+ .profile{
101
+ width:24px;
102
+ height:24px;
103
+ overflow: hidden;
104
+ border-radius: 200px;
105
+ }
106
+ .fw-bold-700{
107
+ font-weight: 700 !important;
108
+ }
109
+ .fw-bold-400{
110
+ font-weight:400 !important;
111
+ }
112
+ .msgprofile{
113
+ width:48px !important;
114
+ height:48px !important ;
115
+ border-radius: 200px;
116
+ overflow: hidden;
117
+ }
118
+ .msgprofile1{
119
+ width:35px !important;
120
+ height:35px !important ;
121
+ border-radius: 200px;
122
+ overflow: hidden;
123
+ }
124
+ .timingtext{
125
+ color: var(--Gray-500, #667085);
126
+ font-size: 12px;
127
+ line-height: 18px;
128
+ }
129
+ .profile-label{
130
+ font-size:12px;
131
+ color: var(--Gray-500, #344054);
132
+ line-height: 16px;
133
+ }
134
+ .investigation{
135
+ color: var(--Gray-500, #344054);
136
+ font-size: 15px;
137
+ line-height: 24px;
138
+ }
139
+ .openedissue{
140
+ border-radius: 6px;
141
+ background: var(--Gray-50, #F9FAFB);
142
+ padding: 8px 12px;
143
+ }
144
+ .w-45{
145
+ width:49%;
146
+ }
147
+
148
+ input,textarea{
149
+ padding: 10px 14px;
150
+ border-radius: 8px;
151
+ border: 1px solid var(--Gray-300, #D0D5DD);
152
+ background: var(--White, #FFF);
153
+ box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
154
+ }
155
+ ::placeholder{
156
+ color: var(--Gray-500, #667085);
157
+ font-size: 16px;
158
+ font-weight: 400;
159
+ line-height: 24px;
160
+ }
161
+ textarea{
162
+ min-height: 128px;
163
+ }
164
+
165
+ .textupdates{
166
+ color: var(--Gray-700, #344054);
167
+ font-size: 15px;
168
+ line-height: 24px;
169
+ }
170
+ .textupdates1{
171
+ color: var(--Gray-700, #344054);
172
+ font-size: 14px;
173
+ line-height: 24px;
174
+ }
175
+ .items:hover,.tems.focus,.items.active,.camera.focus-visible{
176
+ background: var(--Gray-50, #F9FAFB); }
177
+
178
+ .loader{
179
+ .title {
180
+ width: 65%;
181
+ }
182
+ .link {
183
+ width: 85%;
184
+ }
185
+ .description {
186
+ width: 95%;
187
+ }
188
+ .shimmer {
189
+ padding: 15px;
190
+ width: 95%;
191
+ height: 120px;
192
+ margin: 10px auto;
193
+ background: #ffffff;
194
+ }
195
+ .shimmer .image-card {
196
+ height: 90px;
197
+ width: 90px;
198
+ float: right;
199
+ border-radius: 8px;
200
+ }
201
+ .stroke {
202
+ height: 15px;
203
+ background: #777;
204
+ margin-top: 20px;
205
+ }
206
+
207
+ .wrapper {
208
+ width: 0px;
209
+ animation: fullView 0.5s forwards linear;
210
+ }
211
+
212
+ @keyframes fullView {
213
+ 100% {
214
+ width: 100%;
215
+ }
216
+ }
217
+ .animate {
218
+ animation: shimmer 3s;
219
+ animation-iteration-count: infinite;
220
+ background: linear-gradient(to right, #e6e6e6 5%, #cccccc 25%, #e6e6e6 35%);
221
+ background-size: 1000px 100%;
222
+ }
223
+ @keyframes shimmer {
224
+ from {
225
+ background-position: -1000px 0;
226
+ }
227
+ to {
228
+ background-position: 1000px 0;
229
+ }
230
+ }
231
+
232
+ }
233
+
234
+ .img-src{
235
+ width:25%;
236
+ }
237
+
238
+ .text-primary1{
239
+ color: var(--Primary-700, #009BF3) !important;
240
+ font-size: 14px !important;
241
+ font-weight: 500;
242
+ line-height: 20px;
243
+ }
244
+ .sub-count{
245
+ color: var(--Gray-400, #98A2B3);
246
+ font-size: 14px;
247
+ line-height: 20px;
248
+ }
249
+ .img-src{
250
+ border-radius: 6px !important;
251
+ }
252
+ .headingtext {
253
+ color: var(--Gray-700, #344054) !important;
254
+ font-size: 15px !important;
255
+ font-weight: 500;
256
+ line-height: 20px;
257
+ }
258
+ .imagesize{
259
+ object-fit: contain !important;
260
+ max-height: 150px !important;
261
+ width:80% !important;
262
+ background: var(--Gray-50, #F9FAFB);
263
+ }
264
+ .close-img{
265
+ top: 4%;
266
+ right: 16%;
267
+ }
268
+
269
+
270
+ .update-label {
271
+ color: #667085;
272
+ font-size: 14px;
273
+ font-weight: 400;
274
+ line-height: 20px;
275
+ }
276
+
277
+ .update-value {
278
+ color: #009BF3;
279
+ font-size: 14px;
280
+ font-weight: 500;
281
+ line-height: 20px;
282
+ }
283
+ .video-size{
284
+ width: 100%;
285
+ height: 400px;
286
+ object-fit: cover !important;
287
+ }
288
+
289
+ img.img-logo {
290
+ height: 400px !important;
291
+ }
292
+
293
+ .recap-img {
294
+ height: 400px;
295
+ object-fit: cover !important;
296
+ }
297
+
298
+ .img-src {
299
+ width: 30% !important;
300
+ height: 20% !important;
301
+ }
@@ -0,0 +1,23 @@
1
+ import { ComponentFixture, TestBed } from '@angular/core/testing';
2
+
3
+ import { TaskLogsComponent } from './task-logs.component';
4
+
5
+ describe('TaskLogsComponent', () => {
6
+ let component: TaskLogsComponent;
7
+ let fixture: ComponentFixture<TaskLogsComponent>;
8
+
9
+ beforeEach(async () => {
10
+ await TestBed.configureTestingModule({
11
+ declarations: [TaskLogsComponent]
12
+ })
13
+ .compileComponents();
14
+
15
+ fixture = TestBed.createComponent(TaskLogsComponent);
16
+ component = fixture.componentInstance;
17
+ fixture.detectChanges();
18
+ });
19
+
20
+ it('should create', () => {
21
+ expect(component).toBeTruthy();
22
+ });
23
+ });
@@ -0,0 +1,80 @@
1
+ import { Component, Input, OnInit } from '@angular/core';
2
+ import { TraxService } from '../../services/trax.service';
3
+ import { Subject, debounceTime, distinctUntilChanged, filter, takeUntil } from "rxjs";
4
+ import { ToastService } from 'tango-app-ui-shared';
5
+ import { NgbActiveModal, NgbModal } from '@ng-bootstrap/ng-bootstrap';
6
+ import { GlobalStateService } from 'tango-app-ui-global';
7
+ @Component({
8
+ selector: 'lib-task-logs',
9
+ templateUrl: './task-logs.component.html',
10
+ styleUrl: './task-logs.component.scss'
11
+ })
12
+ export class TaskLogsComponent implements OnInit {
13
+ @Input() sourceCheckList_id: any
14
+ @Input() taskDetails: any
15
+ @Input() inputData: any
16
+ @Input() checklistInfo: any
17
+ @Input() storeProfile: any
18
+ @Input() sectionInfo: any
19
+ @Input() operationtype: any
20
+ private destroy$ = new Subject();
21
+ environment: any;
22
+ constructor(private traxService: TraxService,private gs: GlobalStateService,public toastService:ToastService,public activeModal:NgbActiveModal){
23
+
24
+ }
25
+ viewLogsData:any =[]
26
+
27
+ ngOnInit() {
28
+ this.gs.environment.pipe(takeUntil(this.destroy$)).subscribe((env) => {
29
+ if (env) {
30
+ this.environment = env
31
+ }
32
+ })
33
+
34
+ let input = {
35
+ checklistId:this.sourceCheckList_id,
36
+ processedChecklistId: this.checklistInfo.checklistId,
37
+ "section_id":this.sectionInfo.section_id,
38
+ "sectionName":this.sectionInfo.sectionName,
39
+ "qname":this.inputData.qname
40
+
41
+ }
42
+ this.traxService.getredoLogs(input).pipe(takeUntil(this.destroy$)).subscribe({
43
+ next: (res: any) => {
44
+ if (res.code === 200) {
45
+ this.viewLogsData = res.data;
46
+ this.viewLogsData.forEach((e: any) => {
47
+ e.Timestamp = this.getRelativeTime(e.Timestamp);
48
+ });
49
+ }
50
+ }
51
+ })
52
+ }
53
+ getRelativeTime(timestamp: string): string {
54
+ console.log(timestamp);
55
+ const parts = timestamp.split(/[T.]/);
56
+ const [year, month, day] = parts[0].split("-").map(Number);
57
+ const [hour, minute, second] = parts[1].split(":").map(Number);
58
+ const date = new Date(year, month - 1, day, hour, minute, second); // Treat as local date
59
+ console.log("Parsed Date (Local):", date);
60
+ const currentDate = new Date();
61
+ console.log(currentDate,date)
62
+ console.log(currentDate.getTime(),date.getTime())
63
+ const difference = currentDate.getTime() - date.getTime();
64
+ console.log(difference)
65
+ const seconds = Math.floor(Math.abs(difference) / 1000);
66
+ const minutes = Math.floor(seconds / 60);
67
+ const hours = Math.floor(minutes / 60);
68
+ const days = Math.floor(hours / 24);
69
+
70
+ if (days > 0) {
71
+ return days === 1 ? '1 day ago' : `${days} days ago`;
72
+ } else if (hours > 0) {
73
+ return hours === 1 ? '1 hour ago' : `${hours} hours ago`;
74
+ } else if (minutes > 0) {
75
+ return minutes === 1 ? '1 minute ago' : `${minutes} minutes ago`;
76
+ } else {
77
+ return 'Just now';
78
+ }
79
+ }
80
+ }
@@ -0,0 +1,84 @@
1
+ <div class="text-start p-9 h-auto scroll-y my-2">
2
+ <div [innerHTML]="data.imagesrc"></div>
3
+ <div class="customtitle mt-4">
4
+ {{data.title}}
5
+ </div>
6
+ <div class="content mt-4" [innerHtml]="data.content">
7
+ </div>
8
+ <div class="error mt-5 p-5 pt-0 h-auto mh-200px overflow-scroll" *ngIf="data?.error">
9
+ <div class="mt-5" *ngFor="let error of data?.error;let i =index">
10
+ <span>{{i + 1}}.&#41; {{error}}</span>
11
+ </div>
12
+ </div>
13
+ <div class="subtitle storesubtitle mb-4">
14
+ {{data.subtitle}}
15
+ </div>
16
+
17
+ <div *ngIf="next" >
18
+ <div class="mt-5">
19
+ <label for="inputmodel" class="label">Question</label><br>
20
+ <input class="inputlabel" id="inputmodel" placeholder="Question" type="text" value="{{data.questionName}}" disabled>
21
+ </div>
22
+
23
+ <div class="mt-5">
24
+ <label for="inputmodel" class="label">Select the reference images to process</label><br>
25
+ <div class="row">
26
+ <div class="col-md-4 position-relative" *ngFor="let img of data.images"> <!-- -->
27
+ <div class="pb-4 img-border border border-1 h-100 rounded-3 position-relative">
28
+ <!-- Checkbox in top-right --> <!--[(ngModel)]="img.selected"-->
29
+ <input type="checkbox"
30
+ class="position-absolute absolute form-check-input"
31
+ [(ngModel)]="img.runAI" />
32
+
33
+ <!-- Image -->
34
+ <img src="{{data.environment}}{{img.imageURL}}" alt="" class="w-100 mb-2 rounded border" width="90%" height="100px"/>
35
+ </div>
36
+ </div>
37
+ </div>
38
+ </div>
39
+ </div>
40
+
41
+ <div *ngIf="!next">
42
+ <!-- <div class="mt-5">
43
+ <label for="inputmodel" class="label">What’s the ouput you looking for</label><br>
44
+ <input class="inputlabel" id="inputmodel" placeholder="Select Option" type="text">
45
+ </div> -->
46
+ <div class="mt-5">
47
+ <div class="select-wrapper">
48
+ <div class="placeholder-overlay"> What’s the ouput you looking for </div>
49
+ <lib-select [items]="runAIFeatures" [disabled]="false" [multi]="true"
50
+ [searchField]="'featureName'" [idField]="'featureName'" (selected)="onStoreSelect($event)"
51
+ [selectedValues]="selectedFeatures"></lib-select>
52
+ </div>
53
+ </div>
54
+ <div class="mt-5">
55
+ <label for="inputmodel" class="label">Specify your request</label><br>
56
+ <input class="inputlabel" id="inputmodel" [(ngModel)]="data.runAIDescription" (ngModelChange)="onInputChange($event)" placeholder="" type="text">
57
+ </div>
58
+
59
+ <div class="mt-5" *ngFor="let feature of selectedFeatures; let i = index">
60
+ <ng-container *ngIf="feature.lableName !== 'detectionStatus'">
61
+ <label for="label-{{i}}" class="label">
62
+ @if(feature.featureName === 'Others') {
63
+ Label if any
64
+ }@else {
65
+ Label for {{feature.featureName || feature.lableName}}
66
+ }
67
+ </label><br>
68
+ <input class="inputlabel" id="label-{{i}}"
69
+ placeholder="{{feature?.lableName}}"
70
+ type="text" [(ngModel)]="feature.lableName">
71
+ </ng-container>
72
+ </div>
73
+ </div>
74
+
75
+
76
+
77
+ <div class="d-flex text-center justify-content-between mt-5">
78
+ <button class="btn min-width-popup btn-outline" (click)="closepopup()">Cancel</button>
79
+ <button class="btn min-width-popup btn-outline active btn-active-primary" *ngIf="!next"
80
+ (click)="confirmpopup()">Request</button>
81
+ <button class="btn min-width-popup btn-outline active btn-active-primary" *ngIf="next"
82
+ (click)="next = false" [disabled]="checkRunAI()">Next</button>
83
+ </div>
84
+ </div>