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,654 @@
1
+ <div class="card group-delete py-0">
2
+ <div *ngIf="type ==='createtask'" class="card-body py-0 d-flex flex-start flex-column p-9 ">
3
+ <div class="modal-header px-0 py-5">
4
+ <div class="symbol symbol-75px symbol-circle">
5
+ <svg width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg">
6
+ <rect x="4" y="4" width="48" height="48" rx="24" fill="#DAF1FF" />
7
+ <rect x="4" y="4" width="48" height="48" rx="24" stroke="#EAF8FF" stroke-width="8" />
8
+ <path
9
+ d="M30 18H22C21.4696 18 20.9609 18.2107 20.5858 18.5858C20.2107 18.9609 20 19.4696 20 20V36C20 36.5304 20.2107 37.0391 20.5858 37.4142C20.9609 37.7893 21.4696 38 22 38H34C34.5304 38 35.0391 37.7893 35.4142 37.4142C35.7893 37.0391 36 36.5304 36 36V24M30 18L36 24M30 18V24H36M28 34V28M25 31H31"
10
+ stroke="#00A3FF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
11
+ </svg>
12
+
13
+ </div>
14
+ </div>
15
+
16
+ <div class="modal-body scroll-y w-100 p-1 scroll custom-scroll" >
17
+ <form [formGroup]="taskForm">
18
+ <ng-container *ngFor="let section of getSections?.controls; let i = index">
19
+ <ng-container [formGroup]="section">
20
+ <ng-container *ngFor="let question of getQuestions(i)?.controls; let j = index">
21
+ <ng-container [formGroup]="question">
22
+ <div class="fv-row mb-3 fv-plugins-icon-container">
23
+ <label class="label-name my-2">
24
+ Task Name<span class="text-danger">*</span>
25
+ </label>
26
+ <input [formControl]="taskForm.controls.checklistName" type="text"
27
+ placeholder="Enter Task Name" class="form-control mb-5">
28
+ <div
29
+ class="fv-plugins-message-container fv-plugins-message-container--enabled invalid-feedback">
30
+ </div>
31
+ </div>
32
+
33
+ <div class="text-gray-600">This Task is linked to </div>
34
+ <div class="fv-row mb-3 fv-plugins-icon-container">
35
+ <label class="label-name my-2">
36
+ {{question.get('qno')?.value}}. {{question.get('qname')?.value}}
37
+
38
+ </label>
39
+ </div>
40
+ <div class="row px-5" *ngIf="inputData.answerType==='video'">
41
+ <div class="col-md-6" *ngFor="let item of displayedUserAnswers">
42
+ <div class="title-ref my-3">Uploaded Video</div>
43
+ <video controls class="recap-img p-3"
44
+ src="{{environment.TraxAnswerCDN}}{{item.answer}}">
45
+ </video>
46
+ </div>
47
+ </div>
48
+ <div class="row px-5"
49
+ *ngIf="inputData.answerType==='image'||inputData.answerType==='descriptiveImage'||inputData.answerType==='multipleImage'">
50
+ <div class="col-md-6" *ngFor="let item of displayedUserAnswers">
51
+ <div class="title-ref my-3">Uploaded Image</div>
52
+ <img class="img-logo" src="{{environment.TraxAnswerCDN}}{{item.answer}}" alt="">
53
+ </div>
54
+ </div>
55
+ <div class="row px-5"
56
+ *ngIf="inputData.answerType==='multiplechoicesingle'||inputData.answerType==='yes/no'||inputData.answerType==='date'||inputData.answerType==='time' ||inputData.answerType==='multiplechoicemultiple'||inputData.answerType==='linearscale'||inputData.answerType==='descriptive' ">
57
+ <div class="row" *ngFor="let item of displayedUserAnswers">
58
+ <span class="mt-1">{{item.answer}}</span>
59
+ </div>
60
+ </div>
61
+ <div class="fv-row mb-3 fv-plugins-icon-container">
62
+ <label class="label-name my-2">
63
+ Task Description<span class="text-danger">*</span>
64
+ </label>
65
+ <textarea [formControl]="taskForm.controls.checklistDescription"
66
+ class="form-control form-control" placeholder="Enter a comment"
67
+ name="Main entrance signage is cracked, and lights are flickering. Please retake the image"
68
+ rows="4"></textarea>
69
+ </div>
70
+
71
+ <div class="fv-row mb-3 fv-plugins-icon-container">
72
+ <label class="label-name my-2">
73
+ Response Type
74
+ </label>
75
+ <select (change)="onQuestionChange($event, i, j)" formControlName="answerType"
76
+ class="form-select mb-5">
77
+ <option *ngFor="let answer of answerTypes" [value]="answer.value">
78
+ {{answer.label}}</option>
79
+ </select>
80
+
81
+ </div>
82
+ <div class="fv-row mb-3 fv-plugins-icon-container" *ngIf="question.get('answerType')?.value !=='time'">
83
+ <label class="label-name1 my-3" >
84
+ Answer Options
85
+ </label>
86
+ <div class="form-check form-switch text-left align-items-center btn-sec my-2" *ngIf="question.get('answerType')?.value == 'dropdown'" style="padding-left:0px !important">
87
+ <input class="form-check-input mx-0 pointer" type="checkbox" name="toc" value="1" ngDefaultControl formControlName="allowMultiple">
88
+ <label class="form-check-label pointer fs-16px" for="flexSwitchCheckDefault">Allow Multiple Response</label>
89
+
90
+ </div>
91
+ <div [id]="'question-' + i + j" class="question-container mb-10">
92
+ <ng-container *ngIf="question.get('answerType')?.value === 'descriptive'">
93
+ <div class="d-flex mb-5">
94
+ <div class="form-check">
95
+ <input formControlName="descriptivetype"
96
+ class="form-check-input cursor-pointer" type="radio"
97
+ value="text" [id]="'descriptivetype_text' + i + j">
98
+ <label class="cursor-pointer dscriptiveType"
99
+ [for]="'descriptivetype_text' + i + j">Text</label>
100
+ </div>
101
+ <div class="form-check ms-5">
102
+ <input formControlName="descriptivetype"
103
+ class="form-check-input cursor-pointer" type="radio"
104
+ value="number" [id]="'descriptivetype_number' + i + j">
105
+ <label class="cursor-pointer dscriptiveType"
106
+ [for]="'descriptivetype_number' + i + j">Number</label>
107
+ </div>
108
+ </div>
109
+
110
+ </ng-container>
111
+
112
+ <ng-container *ngIf="question.get('answerType')?.value === 'yes/no'">
113
+ <ng-container
114
+ *ngFor="let answer of getAnswers(i, j).controls; let k = index">
115
+ <ng-container [formGroup]="answer">
116
+ <div class="row">
117
+ <div class="col-12 mb-5">
118
+ <div class="input-group ">
119
+ <input formControlName="answer" type="text"
120
+ class="form-control"
121
+ placeholder="Enter answer here">
122
+
123
+ </div>
124
+ <ng-container
125
+ *ngIf="answer.get('answer')?.invalid && answer.get('answer')?.touched">
126
+ <div *ngIf="answer.get('answer')?.hasError('required')|| answer.get('answer')?.hasError('whitespace')"
127
+ class="text-danger mt-2">* Answer is required</div>
128
+ </ng-container>
129
+ </div>
130
+ </div>
131
+ </ng-container>
132
+ </ng-container>
133
+ </ng-container>
134
+
135
+ <ng-container
136
+ *ngIf="question.get('answerType')?.value === 'multiplechoicesingle' || question.get('answerType')?.value === 'multiplechoicemultiple' || question.get('answerType')?.value === 'dropdown'">
137
+ <ng-container
138
+ *ngFor="let answer of getAnswers(i, j).controls; let k = index">
139
+ <ng-container [formGroup]="answer">
140
+ <div class="row">
141
+ <div class="col-12 mb-5">
142
+ <div class="input-group ">
143
+ <input formControlName="answer" type="text"
144
+ class="form-control"
145
+ placeholder="Enter answer here">
146
+
147
+ <button *ngIf="isInvalidAnswer(i,j)"
148
+ class="btn btn-outline" type="button">
149
+ <svg class="cursor-pointer" (click)="onAnswerDelete(i, j, k)"
150
+ xmlns="http://www.w3.org/2000/svg"
151
+ matTooltip="Delete answer"
152
+ matTooltipPosition="above"
153
+ matTooltipClass="custom-test" width="20"
154
+ height="20" viewBox="0 0 20 20" fill="none">
155
+ <path _ngcontent-ng-c1491044170=""
156
+ d="M15 5L5 15M5 5L15 15" stroke="#667085"
157
+ stroke-width="1.66667"
158
+ stroke-linecap="round"
159
+ stroke-linejoin="round"></path>
160
+ </svg>
161
+ </button>
162
+ </div>
163
+ <ng-container
164
+ *ngIf="answer.get('answer')?.invalid && answer.get('answer')?.touched">
165
+ <div *ngIf="answer.get('answer')?.hasError('required')||answer.get('answer')?.hasError('whitespace')"
166
+ class="text-danger mt-2">* Answer is required</div>
167
+ </ng-container>
168
+ </div>
169
+
170
+
171
+
172
+
173
+ </div>
174
+ </ng-container>
175
+ </ng-container>
176
+
177
+
178
+ <div (click)="addNewAnswer(i, j, 'multiplechoicesingle')"
179
+ class="add-reference-btn mb-5 d-flex justify-content-center">
180
+ Add More Answer
181
+ </div>
182
+ </ng-container>
183
+
184
+ <ng-container
185
+ *ngIf="question.get('answerType')?.value === 'descriptiveImage' || question.get('answerType')?.value === 'image' || question.get('answerType')?.value === 'image/video'">
186
+
187
+
188
+
189
+ <ng-container
190
+ *ngFor="let answer of getAnswers(i, j).controls; let k = index">
191
+ <ng-container [formGroup]="answer">
192
+ <div class="row">
193
+ <div class="col-12 mb-5">
194
+
195
+
196
+
197
+
198
+ <div class="row">
199
+ <div class="col-6">
200
+ <div
201
+ class="d-flex align-items-center justify-content-between">
202
+
203
+
204
+ <div>
205
+ <div class="form-check form-switch ps-0">
206
+ <input
207
+ [formControl]="question.controls.allowUploadfromGallery"
208
+ class="form-check-input me-3"
209
+ type="checkbox" role="switch"
210
+ [id]="'allow_upload_from_gallery' + i + j">
211
+ <label
212
+ class="form-check-label check-label"
213
+ [for]="'allow_upload_from_gallery' + i + j">Allow
214
+ upload from gallery</label>
215
+ </div>
216
+ </div>
217
+ </div>
218
+ </div>
219
+ </div>
220
+ </div>
221
+ </div>
222
+ </ng-container>
223
+ </ng-container>
224
+
225
+
226
+ </ng-container>
227
+
228
+ <ng-container *ngIf="question.get('answerType')?.value === 'video'">
229
+ <div class="row">
230
+ <div class="col-12 mb-5">
231
+ <div class="form-check form-switch ps-0">
232
+ <input formControlName="allowUploadfromGallery"
233
+ class="form-check-input me-3" type="checkbox" role="switch"
234
+ [id]="'allow_upload_from_gallery' + i + j">
235
+ <label class="form-check-label check-label"
236
+ [for]="'allow_upload_from_gallery' + i + j">Allow
237
+ upload from gallery</label>
238
+ </div>
239
+ </div>
240
+ </div>
241
+ </ng-container>
242
+
243
+ <ng-container *ngIf="question.get('answerType')?.value === 'multipleImage'">
244
+ <ng-container
245
+ *ngFor="let answer of getAnswers(i, j).controls; let k = index">
246
+ <ng-container [formGroup]="answer">
247
+ <div class="row">
248
+ <div class="col-12 mb-5">
249
+ <div class="row">
250
+ <div class="col-6">
251
+ <div
252
+ class="d-flex align-items-center justify-content-between">
253
+ <div>
254
+ <div class="form-check form-switch ps-0">
255
+ <input
256
+ [formControl]="question.controls.allowUploadfromGallery"
257
+ class="form-check-input me-3"
258
+ type="checkbox" role="switch"
259
+ [id]="'allow_upload_from_gallery' + i + j">
260
+ <label
261
+ class="form-check-label check-label"
262
+ [for]="'allow_upload_from_gallery' + i + j">Allow
263
+ upload from gallery</label>
264
+ </div>
265
+ </div>
266
+ </div>
267
+ </div>
268
+ <div class="col-6" *ngIf="question.controls.descriptivetype">
269
+ <div class="d-flex align-items-center h-100">
270
+ <div class="form-check">
271
+ <input [formControl]="question.controls.descriptivetype"
272
+ class="form-check-input cursor-pointer"
273
+ type="radio" value="text"
274
+ [id]="'descriptive_answer_validation_text' + i + j + k">
275
+ <label class="cursor-pointer dscriptiveType"
276
+ [for]="'descriptive_answer_validation_text' + i + j + k">Text</label>
277
+ </div>
278
+ <div class="form-check ms-5">
279
+ <input [formControl]="question.controls.descriptivetype"
280
+ class="form-check-input cursor-pointer"
281
+ type="radio" value="number"
282
+ [id]="'descriptive_answer_validation_number' + i + j + k">
283
+ <label class="cursor-pointer dscriptiveType"
284
+ [for]="'descriptive_answer_validation_number' + i + j + k">Number</label>
285
+ </div>
286
+ </div>
287
+ </div>
288
+ </div>
289
+ </div>
290
+ </div>
291
+ </ng-container>
292
+ </ng-container>
293
+
294
+
295
+ </ng-container>
296
+
297
+ <ng-container
298
+ *ngIf="question.get('answerType')?.value === 'time'">
299
+ </ng-container>
300
+ <ng-container *ngIf="question.get('answerType')?.value === 'date' && getAnswers(i, j)?.length">
301
+ <ng-container [formGroup]="getAnswers(i, j).at(0)">
302
+ <div class="d-flex answervalidation">
303
+ <input class="" type="checkbox"
304
+ style="width:16px;height:16px;cursor: pointer;"
305
+ value="1"
306
+ formControlName="historicDate">
307
+ <div class="checkbox mt-1 mx-2"
308
+ style="cursor: default;">
309
+ <span class="form-check-label check-label">Allow Historic Dates on Date Picker</span>
310
+ </div>
311
+ </div>
312
+ </ng-container>
313
+ </ng-container>
314
+
315
+ <ng-container *ngIf="question.get('answerType')?.value === 'linearscale'">
316
+ <ng-container *ngIf="getAnswers(i, j)?.length">
317
+ <ng-container [formGroup]="getAnswers(i, j).at(0)">
318
+ <div class="row">
319
+ <div class="col-md-4">
320
+ <div class="dropText">
321
+ Select Type
322
+ </div>
323
+ <div class="mt-2">
324
+ <select class="form-select" formControlName="linearType" (change)="updateLinearTypeRange($event, i, j)">
325
+ <option value="number">Whole Number</option>
326
+ <option value="degree">Degree °C</option>
327
+ <option value="percentage">Percentage</option>
328
+ </select>
329
+ </div>
330
+ </div>
331
+ <div class="col-md-4">
332
+ <div class="dropText">
333
+ Min Value
334
+ </div>
335
+ <div class="mt-2">
336
+ <lib-counter style="width: 40%" formControlName="rangeStart" [step]="1" placeholder="0" [type]="getAnswers(i, j).at(0)?.get('linearType')?.value ?? 'number'"></lib-counter>
337
+ </div>
338
+ </div>
339
+ <div class="col-md-4">
340
+ <div class="dropText">
341
+ Max Value
342
+ </div>
343
+ <div class="mt-2">
344
+ <lib-counter style="width: 40%" formControlName="rangeEnd" [step]="1" placeholder="100" [type]="getAnswers(i, j).at(0)?.get('linearType')?.value ?? 'number'"></lib-counter>
345
+ </div>
346
+ </div>
347
+ </div>
348
+ <ng-container *ngIf="getAnswers(i, j).at(0)?.invalid && getAnswers(i, j).at(0)?.touched">
349
+ <div *ngIf="getAnswers(i, j).at(0)?.hasError('invalidRange')"
350
+ class="text-danger mt-2">* Min value must be less than max value.</div>
351
+ </ng-container>
352
+ </ng-container>
353
+ </ng-container>
354
+ </ng-container>
355
+
356
+
357
+ </div>
358
+
359
+
360
+
361
+
362
+
363
+
364
+ </div>
365
+ </ng-container>
366
+ </ng-container>
367
+ </ng-container>
368
+ </ng-container>
369
+ <div class="row mb-3 fv-plugins-icon-container ">
370
+ <div class="col-md-6">
371
+ <label class="label-name my-2">
372
+ Due date
373
+ </label>
374
+
375
+ <div class="d-flex align-items-center position-relative my-1">
376
+ <span class="svg-icon svg-icon-1 position-absolute ms-3">
377
+ <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"
378
+ fill="none">
379
+ <path
380
+ d="M13.3333 1.66663V4.99996M6.66667 1.66663V4.99996M2.5 8.33329H17.5M4.16667 3.33329H15.8333C16.7538 3.33329 17.5 4.07948 17.5 4.99996V16.6666C17.5 17.5871 16.7538 18.3333 15.8333 18.3333H4.16667C3.24619 18.3333 2.5 17.5871 2.5 16.6666V4.99996C2.5 4.07948 3.24619 3.33329 4.16667 3.33329Z"
381
+ stroke="#344054" stroke-width="1.67" stroke-linecap="round"
382
+ stroke-linejoin="round" />
383
+ </svg>
384
+ </span>
385
+ <input class="fx-date-range form-control ps-14" type="text" matInput ngxDaterangepickerMd
386
+ [drops]="'down'" [opens]="'right'" [showCustomRangeLabel]="false"
387
+ [alwaysShowCalendars]="false" [autoApply]="true" [singleDatePicker]="true"
388
+ [ngModelOptions]="{standalone: true}" [keepCalendarOpeningWithRange]="true"
389
+ [showCancel]="true" autocomplete="off" [(ngModel)]="selectedDate"
390
+ (startDateChanged)="onStartDateChange($event)" [isCustomDate]="isCustomDate"
391
+ [locale]="{ format: 'DD-MM-YYYY', firstDay: 1, monthNames: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'] }"
392
+ (datesUpdated)="datechange($event)" name="daterange" [readonly]="true" />
393
+ </div>
394
+ </div>
395
+ <div class="col-md-6">
396
+ <label class="label-name my-2">Due time</label>
397
+ <div class="position-relative w-100">
398
+ <button
399
+ type="button"
400
+ (click)="openDropdown($event)"
401
+ class="btn btn-default w-100 btn-outline btn-outline-default rounded-3 mt-1 text-nowrap border-val d-flex justify-content-between h-45px"
402
+ >
403
+ <span class="svg-icon svg-icon-1 position-absolute">
404
+ <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
405
+ <path
406
+ d="M13.3333 1.6665V4.99984M6.66667 1.6665V4.99984M2.5 8.33317H17.5M4.16667 3.33317H15.8333C16.7538 3.33317 17.5 4.07936 17.5 4.99984V16.6665C17.5 17.587 16.7538 18.3332 15.8333 18.3332H4.16667C3.24619 18.3332 2.5 17.587 2.5 16.6665V4.99984C2.5 4.07936 3.24619 3.33317 4.16667 3.33317Z"
407
+ stroke="#667085"
408
+ stroke-width="1.66667"
409
+ stroke-linecap="round"
410
+ stroke-linejoin="round"
411
+ />
412
+ </svg>
413
+ </span>
414
+ <span class="ps-12">{{ selectedItem }}</span>
415
+ </button>
416
+ <div *ngIf="dropDown" class="card py-1 w-100 position-absolute z-1 h-200px scroll-y top-50px end-0">
417
+ <ul class="list-unstyled">
418
+ <li
419
+ *ngFor="let item of timeDetails"
420
+ [ngClass]="selectedItem === item.text ? 'active' : ''"
421
+ class="camera px-5 items fw-semibold cursor-pointer py-2"
422
+ [class.disabled]="isDisabled(item.text)"
423
+ (click)="selectItem(item.text)"
424
+ >
425
+ {{ item.text }}
426
+ </li>
427
+ </ul>
428
+ </div>
429
+ </div>
430
+ </div>
431
+
432
+ </div>
433
+
434
+ <div class="fv-row mb-3 fv-plugins-icon-container">
435
+ <label class="label-name my-2">
436
+ Assign to
437
+ </label>
438
+ <input type="text" class="form-control" [value]="this.checklistInfo?.submittedBy" [disabled]="true">
439
+
440
+ </div>
441
+ <div class="fv-row my-3 fv-plugins-icon-container">
442
+ <div class="border-attach col-md-3 cursor-pointer" *ngIf="this.uploadedFiles.length<3" (click)="fileInput.click()">
443
+ <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
444
+ <path
445
+ d="M17.8666 9.2081L10.2082 16.8664C9.27005 17.8046 7.99757 18.3317 6.67075 18.3317C5.34393 18.3317 4.07145 17.8046 3.13325 16.8664C2.19505 15.9282 1.66797 14.6558 1.66797 13.3289C1.66797 12.0021 2.19505 10.7296 3.13325 9.79144L10.7916 2.1331C11.4171 1.50763 12.2654 1.15625 13.1499 1.15625C14.0345 1.15625 14.8828 1.50763 15.5082 2.1331C16.1337 2.75857 16.4851 3.60689 16.4851 4.49144C16.4851 5.37598 16.1337 6.2243 15.5082 6.84977L7.84158 14.5081C7.52885 14.8208 7.10469 14.9965 6.66242 14.9965C6.22014 14.9965 5.79598 14.8208 5.48325 14.5081C5.17051 14.1954 4.99482 13.7712 4.99482 13.3289C4.99482 12.8867 5.17051 12.4625 5.48325 12.1498L12.5582 5.0831"
446
+ stroke="#344054" stroke-width="1.67" stroke-linecap="round" stroke-linejoin="round" />
447
+ </svg>
448
+ <span class="ms-3">Add Attachment</span>
449
+ <input #fileInput type="file" accept=".png, .jpg, .jpeg, .svg, .gif" (change)="uploadFile($event,0,0,0)" hidden />
450
+ </div>
451
+ <div class="row">
452
+ <div class="col-md-4 image-preview mt-2" *ngFor="let item of uploadedFiles; let i = index">
453
+ <button class="remove-icon" (click)="removeImage(i)">✖</button>
454
+ <img src="{{environment.TraxAnswerCDN}}{{item}}" alt="Preview" />
455
+ </div>
456
+ </div>
457
+ </div>
458
+
459
+ </form>
460
+
461
+ </div>
462
+ <div class=" w-100 modal-footer px-0 pt-3 pb-5">
463
+ <div role="group" class="d-flex mt-3 w-100">
464
+ <button class="btn btn-outline w-100 me-3" (click)="cancel()">Cancel</button>
465
+ <button id="alert-toast" class="btn btn-primary w-100 ms-3" [disabled]="!this.taskForm.valid||submitted"
466
+ (click)="onSubmit()">Create
467
+ Task</button>
468
+ </div>
469
+ </div>
470
+
471
+ </div>
472
+
473
+ <div *ngIf="type ==='redo'" class="card-body py-0 d-flex flex-start flex-column p-9 scroll ">
474
+ <div class="my-5">
475
+ <div class="symbol symbol-75px symbol-circle">
476
+ <svg width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg">
477
+ <rect x="4" y="4" width="48" height="48" rx="24" fill="#DAF1FF" />
478
+ <rect x="4" y="4" width="48" height="48" rx="24" stroke="#EAF8FF" stroke-width="8" />
479
+ <path
480
+ d="M39 20.0001V26.0001M39 26.0001H33M39 26.0001L34.36 21.6401C33.2853 20.5648 31.9556 19.7793 30.4952 19.3568C29.0348 18.9344 27.4911 18.8888 26.0083 19.2243C24.5255 19.5598 23.1518 20.2655 22.0155 21.2755C20.8791 22.2855 20.0172 23.5669 19.51 25.0001M17 36.0001V30.0001M17 30.0001H23M17 30.0001L21.64 34.3601C22.7147 35.4354 24.0444 36.2209 25.5048 36.6433C26.9652 37.0657 28.5089 37.1113 29.9917 36.7758C31.4745 36.4403 32.8482 35.7346 33.9845 34.7247C35.1209 33.7147 35.9828 32.4333 36.49 31.0001"
481
+ stroke="#00A3FF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" />
482
+ </svg>
483
+
484
+ </div>
485
+ </div>
486
+ <ng-container *ngFor="let section of getSections?.controls; let i = index">
487
+ <ng-container [formGroup]="section">
488
+ <ng-container *ngFor="let question of getQuestions(i)?.controls; let j = index">
489
+ <ng-container [formGroup]="question">
490
+
491
+ <div class="modal-body scroll-y w-100 p-1">
492
+ <h5 class="label-name1 my-2">
493
+ Redo
494
+ </h5>
495
+ <h5 class="label-name1 my-2">
496
+ {{checklistInfo.checklistName}}
497
+ </h5>
498
+ <div class="text-gray-600">
499
+ {{question.get('qno')?.value}}. {{question.get('qname')?.value}}
500
+ </div>
501
+ <div class="row px-5" *ngIf="inputData.answerType==='video'">
502
+ <div class="col-md-6" *ngFor="let item of displayedUserAnswers">
503
+ <div class="title-ref my-3">Uploaded Video</div>
504
+ <video controls class="recap-img p-3 video-size"
505
+ src="{{environment.TraxAnswerCDN}}{{item.answer}}">
506
+ </video>
507
+ </div>
508
+ </div>
509
+ <div class="row px-5"
510
+ *ngIf="inputData.answerType==='image'||inputData.answerType==='descriptiveImage'||inputData.answerType==='multipleImage'">
511
+ <div class="col-md-6" *ngFor="let item of displayedUserAnswers">
512
+ <div class="title-ref my-3">Uploaded Image</div>
513
+ <img class="img-logo" src="{{environment.TraxAnswerCDN}}{{item.answer}}" alt="">
514
+ </div>
515
+ </div>
516
+ <div class="row px-5"
517
+ *ngIf="inputData.answerType==='multiplechoicesingle'||inputData.answerType==='yes/no'||inputData.answerType==='multiplechoicemultiple'||inputData.answerType==='date'||inputData.answerType==='time'||inputData.answerType==='linearscale'||inputData.answerType==='descriptive' || inputData.answerType==='dropdown' ">
518
+ <div class="col-md-12" *ngFor="let item of displayedUserAnswers">
519
+ <span class="mt-1">{{item.answer}}</span>
520
+ </div>
521
+ </div>
522
+
523
+ <form [formGroup]="taskForm">
524
+
525
+ <div class="fv-row mb-3 fv-plugins-icon-container">
526
+ <label class="label-name my-2">
527
+ Comment
528
+ </label>
529
+ <textarea [formControl]="taskForm.controls.checklistDescription"
530
+ class="form-control form-control" placeholder="Enter a comment"
531
+ name="Main entrance signage is cracked, and lights are flickering. Please retake the image"
532
+ rows="4"></textarea>
533
+ </div>
534
+ <!-- <div class="fv-row my-3 fv-plugins-icon-container">
535
+ <div class="border-attach col-md-3 cursor-pointer" (click)="fileInput.click()">
536
+ <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
537
+ <path
538
+ d="M17.8666 9.2081L10.2082 16.8664C9.27005 17.8046 7.99757 18.3317 6.67075 18.3317C5.34393 18.3317 4.07145 17.8046 3.13325 16.8664C2.19505 15.9282 1.66797 14.6558 1.66797 13.3289C1.66797 12.0021 2.19505 10.7296 3.13325 9.79144L10.7916 2.1331C11.4171 1.50763 12.2654 1.15625 13.1499 1.15625C14.0345 1.15625 14.8828 1.50763 15.5082 2.1331C16.1337 2.75857 16.4851 3.60689 16.4851 4.49144C16.4851 5.37598 16.1337 6.2243 15.5082 6.84977L7.84158 14.5081C7.52885 14.8208 7.10469 14.9965 6.66242 14.9965C6.22014 14.9965 5.79598 14.8208 5.48325 14.5081C5.17051 14.1954 4.99482 13.7712 4.99482 13.3289C4.99482 12.8867 5.17051 12.4625 5.48325 12.1498L12.5582 5.0831"
539
+ stroke="#344054" stroke-width="1.67" stroke-linecap="round" stroke-linejoin="round"
540
+ />
541
+ </svg>
542
+ <span class="ms-3">Add Attachment</span>
543
+ <input #fileInput type="file" accept=".png, .jpg, .jpeg, .svg, .gif" (change)="uploadFile($event,0,0,0)" hidden />
544
+ </div>
545
+ <div class="row">
546
+
547
+ <div class="col-md-4 image-preview mt-2" *ngFor="let item of uploadedFiles; let i = index">
548
+ <button class="remove-icon" (click)="removeImage(i)">✖</button>
549
+ <img [src]="item" alt="Preview" />
550
+ </div>
551
+ </div>
552
+ </div> -->
553
+
554
+
555
+ <!-- <div class="row mb-3 fv-plugins-icon-container ">
556
+ <div class="col-md-6">
557
+ <label class="label-name my-2">
558
+ Due date
559
+ </label>
560
+ <div class="d-flex align-items-center position-relative my-1">
561
+ <span class="svg-icon svg-icon-1 position-absolute ms-3">
562
+ <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20"
563
+ viewBox="0 0 20 20" fill="none">
564
+ <path
565
+ d="M13.3333 1.66663V4.99996M6.66667 1.66663V4.99996M2.5 8.33329H17.5M4.16667 3.33329H15.8333C16.7538 3.33329 17.5 4.07948 17.5 4.99996V16.6666C17.5 17.5871 16.7538 18.3333 15.8333 18.3333H4.16667C3.24619 18.3333 2.5 17.5871 2.5 16.6666V4.99996C2.5 4.07948 3.24619 3.33329 4.16667 3.33329Z"
566
+ stroke="#344054" stroke-width="1.67" stroke-linecap="round"
567
+ stroke-linejoin="round" />
568
+ </svg>
569
+ </span>
570
+ <input class="fx-date-range form-control ps-14" type="text" matInput
571
+ ngxDaterangepickerMd [drops]="'down'" [opens]="'right'"
572
+ [showCustomRangeLabel]="false" [alwaysShowCalendars]="false"
573
+ [autoApply]="true" [singleDatePicker]="true"
574
+ [ngModelOptions]="{standalone: true}"
575
+ [keepCalendarOpeningWithRange]="true" [showCancel]="true"
576
+ autocomplete="off" [(ngModel)]="selectedDate"
577
+ (startDateChanged)="onStartDateChange($event)"
578
+ [isCustomDate]="isCustomDate"
579
+ [locale]="{ format: 'DD-MM-YYYY', firstDay: 1, monthNames: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'] }"
580
+ (datesUpdated)="datechange($event)" name="daterange"
581
+ [readonly]="true" />
582
+ </div>
583
+ </div>
584
+ <div class="col-md-6">
585
+ <label class="label-name my-2">Due time</label>
586
+ <div class="position-relative w-100">
587
+ <button
588
+ type="button"
589
+ (click)="openDropdown($event)"
590
+ class="btn btn-default w-100 btn-outline btn-outline-default rounded-3 mt-1 text-nowrap border-val d-flex justify-content-between h-45px"
591
+ >
592
+ <span class="svg-icon svg-icon-1 position-absolute">
593
+ <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">
594
+ <path
595
+ d="M13.3333 1.6665V4.99984M6.66667 1.6665V4.99984M2.5 8.33317H17.5M4.16667 3.33317H15.8333C16.7538 3.33317 17.5 4.07936 17.5 4.99984V16.6665C17.5 17.587 16.7538 18.3332 15.8333 18.3332H4.16667C3.24619 18.3332 2.5 17.587 2.5 16.6665V4.99984C2.5 4.07936 3.24619 3.33317 4.16667 3.33317Z"
596
+ stroke="#667085"
597
+ stroke-width="1.66667"
598
+ stroke-linecap="round"
599
+ stroke-linejoin="round"
600
+ />
601
+ </svg>
602
+ </span>
603
+ <span class="ps-12">{{ selectedItem }}</span>
604
+ </button>
605
+ <div *ngIf="dropDown" class="card py-1 w-100 position-absolute z-1 h-200px scroll-y top-50px end-0">
606
+ <ul class="list-unstyled">
607
+ <li
608
+ *ngFor="let item of timeDetails"
609
+ [ngClass]="selectedItem === item.text ? 'active' : ''"
610
+ class="camera px-5 items fw-semibold cursor-pointer py-2"
611
+ [class.disabled]="isDisabled(item.text)"
612
+ (click)="selectItem(item.text)"
613
+ >
614
+ {{ item.text }}
615
+ </li>
616
+ </ul>
617
+ </div>
618
+ </div>
619
+ </div>
620
+ </div> -->
621
+
622
+ <div class="fv-row mb-3 fv-plugins-icon-container">
623
+ <label class="label-name my-2">
624
+ Assign to
625
+ </label>
626
+ <input type="text" class="form-control" [value]="this.checklistInfo?.submittedBy"
627
+ [disabled]="true">
628
+
629
+ </div>
630
+ <!-- <div class="form-check">
631
+ <input class="form-check-input" type="checkbox" value="" id="flexCheckDefault">
632
+ <label class="form-check-label label-name" for="flexCheckDefault">
633
+ Mandatory image response
634
+ </label>
635
+ </div> -->
636
+ <div class="mt-5 w-100">
637
+ <div role="group" class="d-flex mt-3 mb-15">
638
+ <button class="btn btn-outline w-100 me-3" (click)="cancel()">Cancel</button>
639
+ <button id="alert-toast" class="btn btn-primary w-100 ms-3" [disabled]="submitted"
640
+ (click)="onSubmit()">Submit</button>
641
+ </div>
642
+ </div>
643
+
644
+
645
+ </form>
646
+
647
+ </div>
648
+ </ng-container>
649
+ </ng-container>
650
+ </ng-container>
651
+ </ng-container>
652
+
653
+ </div>
654
+ </div>