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,724 @@
1
+ <div>
2
+ <div class="card-header">
3
+ <div class="logheader d-flex justify-content-between W-100">
4
+ <span *ngIf="actionType === 'edited'" class="card-header logheadertext">Checklist Updates</span>
5
+ <span *ngIf="actionType === 'updated' || actionType === 'draft'" class="card-header logheadertext">Configuration Updates</span>
6
+ <div class="cursor-pointer" (click)="closePopup()"><span><svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32" fill="none">
7
+ <path d="M24 8L8 24M8 8L24 24" stroke="#008EDF" stroke-width="2" stroke-linecap="round"
8
+ stroke-linejoin="round" />
9
+ </svg></span></div>
10
+ </div>
11
+ </div>
12
+ <!-- edited -->
13
+ <div class="card-body checklistscroll p-8">
14
+ <div *ngIf="actionType === 'edited'">
15
+ <!-- Checklist Name -->
16
+ <!-- *ngIf="updatedChecklistName" -->
17
+ <div class="checklistframe my-6" *ngIf="updatedChecklistName?.previous || updatedChecklistName?.new">
18
+ <div class="table-responsive">
19
+ <table>
20
+ <thead>
21
+ <tr class="frametext">
22
+ <th class="frametext1 col-2">Fields</th>
23
+ <th class="frametext col-5">Previous</th>
24
+ <th class="frametextprimary col-5">Updated</th>
25
+ </tr>
26
+ </thead>
27
+ <tbody>
28
+ <tr>
29
+ <td class="questionfieldtext col-2">Checklist Name</td>
30
+ <td class="Previousfieldtext col-5">{{ updatedChecklistName?.previous || '-' }}</td>
31
+ <td class="changesfieldtext col-5">{{ updatedChecklistName?.new || '-' }}</td>
32
+ </tr>
33
+ </tbody>
34
+ </table>
35
+ </div>
36
+ </div>
37
+ <!-- Checklist Name End -->
38
+ <!-- <div class="borderline"></div> -->
39
+ <!-- Checklist Description Start -->
40
+ <div class="checklistframe my-6" *ngIf="updatedChecklistDescription?.previous || updatedChecklistDescription?.new">
41
+ <!-- <h4 class="text-lg font-semibold">Checklist Description Updated</h4> -->
42
+ <div class="table-responsive">
43
+ <table>
44
+ <thead>
45
+ <tr class="frametext">
46
+ <th class="frametext1 col-2">Fields</th>
47
+ <th class="frametext col-5">Previous</th>
48
+ <th class="frametextprimary col-5">Updated</th>
49
+ </tr>
50
+ </thead>
51
+ <tbody>
52
+ <tr>
53
+ <td class="questionfieldtext col-2">Checklist Description</td>
54
+ <td class="Previousfieldtext col-5">{{ updatedChecklistDescription?.previous || '-' }}</td>
55
+ <td class="changesfieldtext col-5">{{ updatedChecklistDescription?.new || '-' }}</td>
56
+ </tr>
57
+ </tbody>
58
+ </table>
59
+ </div>
60
+ </div>
61
+
62
+ <!-- Checklist Description End -->
63
+
64
+ <!-- Section Name Start -->
65
+ <div class="checklistframe my-6" *ngIf="updatedSectionNames.length > 0">
66
+ <!-- <h4 class="text-lg font-semibold">Section Names Updated</h4> -->
67
+ <div class="table-responsive">
68
+ <table *ngFor="let section of updatedSectionNames">
69
+ <thead>
70
+ <tr class="frametext">
71
+ <th class="frametext1 col-2">Fields</th>
72
+ <th class="frametext col-5">Previous</th>
73
+ <th class="frametextprimary col-5">Updated</th>
74
+ </tr>
75
+ </thead>
76
+ <tbody>
77
+ <tr >
78
+ <td class="questionfieldtext col-2">Section Name</td>
79
+ <td class="Previousfieldtext col-5">{{ section?.previous || '-' }}</td>
80
+ <td class="changesfieldtext col-5">{{ section?.new || '-' }}</td>
81
+ </tr>
82
+ </tbody>
83
+ </table>
84
+ </div>
85
+ </div>
86
+ <!-- Section Name End -->
87
+
88
+ <!-- Question Added varient start -->
89
+ <div *ngIf="addedQuestions.length > 0">
90
+ <div *ngFor="let section of addedQuestions">
91
+ <div class="questext">Section Name: <span class="quessubtext">{{ section?.sectionName || '-' }}</span></div>
92
+ <div *ngFor="let question of section.questions; let i = index" >
93
+ <div class="questext mt-2">Question No : <span class="quessubtext">{{ question?.qno || '-' }}</span></div>
94
+ <div class="checklistframe my-6">
95
+ <div class="table-responsive">
96
+ <table >
97
+ <thead>
98
+ <tr class="frametext">
99
+ <th class="frametext1 col-2">Fields</th>
100
+ <th class="frametext col-5">Previous</th>
101
+ <th class="frametextprimary col-5">Updated</th>
102
+ </tr>
103
+ </thead>
104
+ <tbody >
105
+ <tr>
106
+ <td class="questionfieldtext col-2">Question Added</td>
107
+ <td class="Previousfieldtext col-5"> - </td>
108
+ <td class="changesfieldtext col-5">{{ question?.qname || '-' }}</td>
109
+ </tr>
110
+ </tbody>
111
+ </table>
112
+ </div>
113
+ </div>
114
+ </div>
115
+ </div>
116
+ </div>
117
+ <!-- Question Added varient end -->
118
+
119
+ <!-- Question Deleted varient start -->
120
+ <div *ngIf="deletedQuestions.length > 0">
121
+ <div *ngFor="let section of deletedQuestions">
122
+ <div class="questext">Section Name: <span class="quessubtext">{{ section.sectionName }}</span></div>
123
+ <div *ngFor="let question of section.questions; let i = index" >
124
+ <div class="questext mt-2">Question No : <span class="quessubtext">{{ question?.qno || '-' }}</span></div>
125
+ <div class="checklistframe my-6">
126
+ <div class="table-responsive">
127
+ <table >
128
+ <thead>
129
+ <tr class="frametext">
130
+ <th class="frametext1 col-2">Fields</th>
131
+ <th class="frametext col-5">Previous</th>
132
+ <th class="frametextprimary col-5">Updated</th>
133
+ </tr>
134
+ </thead>
135
+ <tbody >
136
+ <tr>
137
+ <td class="questionfieldtext col-2">Question Deleted</td>
138
+ <td class="Previousfieldtext col-5"> - </td>
139
+ <td class="changesfieldtext col-5">{{ question?.qname || '-' }}</td>
140
+ </tr>
141
+ </tbody>
142
+ </table>
143
+ </div>
144
+ </div>
145
+ </div>
146
+ </div>
147
+ </div>
148
+
149
+ <!-- Question Deleted varient end -->
150
+
151
+ <!-- Question Edited varient start -->
152
+ <div *ngIf="editedQuestions.length > 0">
153
+ <div *ngFor="let section of editedQuestions">
154
+ <div class="questext">Section Name: <span class="quessubtext">{{ section.sectionName || '-' }}</span></div>
155
+
156
+ <div *ngFor="let question of section.questions">
157
+ <div class="questext mt-2">Question No : <span class="quessubtext">{{ question?.previous?.qno || question?.new?.qno || '-' }}</span></div>
158
+
159
+ <div class="checklistframe my-6">
160
+ <div class="table-responsive">
161
+ <table>
162
+ <thead>
163
+ <tr class="frametext">
164
+ <th class="frametext1 col-2">Fields</th>
165
+ <th class="frametext col-5 previous-field">Previous</th>
166
+ <th class="frametextprimary col-5 updated-field">Updated</th>
167
+ </tr>
168
+ </thead>
169
+ <tbody>
170
+ <!-- Question Name -->
171
+ <tr>
172
+ <td class="questionfieldtext col-2">Question Edited</td>
173
+ <td class="Previousfieldtext col-5">{{ question.previous?.qname || '-' }}</td>
174
+ <td class="changesfieldtext col-5">{{ question.new?.qname || '-' }}</td>
175
+ </tr>
176
+
177
+ <!-- Answer Type -->
178
+ <tr>
179
+ <td class="questionfieldtext col-2">Type</td>
180
+ <td class="Previousfieldtext col-5">{{ getAnswerTypeLabel(question.previous?.answerType) || '-' }}</td>
181
+ <td class="changesfieldtext col-5">{{ getAnswerTypeLabel(question.new?.answerType) || '-' }}
182
+ </td>
183
+ </tr>
184
+
185
+ <!-- Reference Image -->
186
+ <tr>
187
+ <td class="questionfieldtext col-2">Reference Image</td>
188
+ <td class="Previousfieldtext col-5">-</td>
189
+
190
+ <td class="changesfieldtext col-5"> {{
191
+ question.previous?.questionReferenceImage && !question.new?.questionReferenceImage ? 'Deleted' :
192
+ !question.previous?.questionReferenceImage && question.new?.questionReferenceImage ? 'Added' :
193
+ question.previous?.questionReferenceImage !== question.new?.questionReferenceImage ? 'Updated' :
194
+ '-'
195
+ }}</td>
196
+ </tr>
197
+ </tbody>
198
+ </table>
199
+ </div>
200
+ </div>
201
+ </div>
202
+ </div>
203
+ </div>
204
+ <!-- Question Edited varient end -->
205
+ </div>
206
+
207
+ <!-- updated -->
208
+ <!-- Configuration Updates start -->
209
+ <div *ngIf="actionType === 'updated' || actionType === 'draft'" class="checklistframe my-6">
210
+ <div class="table-responsive">
211
+ <table>
212
+ <thead>
213
+ <tr class="frametext">
214
+ <th class="frametext1 col-2">Fields</th>
215
+ <th class="frametext col-5 w-50">Previous</th>
216
+ <th class="frametextprimary col-5 w-50">Updated</th>
217
+ </tr>
218
+ </thead>
219
+ <tbody>
220
+ <tr>
221
+ <td class="questionfieldtext col-2">Store Added</td>
222
+ <td class="configPreviousfieldtext col-5 w-50"> - </td>
223
+ <td class="changesfieldtext col-5 w-50">
224
+ <ng-container *ngIf="logDetails?.storeAdded?.length; else noData">
225
+ <lib-store-user-dropdown [items]="logDetails.storeAdded" title="Stores"></lib-store-user-dropdown>
226
+ </ng-container>
227
+ <ng-template #noData>-</ng-template>
228
+ </td>
229
+ </tr>
230
+
231
+ <!-- Schedule Update -->
232
+ <tr>
233
+ <td class="questionfieldtext col-2">Schedule</td>
234
+ <td class="configPreviousfieldtext col-5">
235
+ <span *ngIf="receivedData === 'checklist' && logDetails?.schedule?.previous?.scheduleRepeatedType === 'onetime'">
236
+ <span class="my-3">
237
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
238
+ <path d="M16 2V6M8 2V6M3 10H21M5 4H19C20.1046 4 21 4.89543 21 6V20C21 21.1046 20.1046 22 19 22H5C3.89543 22 3 21.1046 3 20V6C3 4.89543 3.89543 4 5 4Z" stroke="#667085" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>
239
+ </svg>
240
+ <span class="ms-2 mt-2">
241
+ <span *ngIf="logDetails?.schedule?.previous?.scheduleRepeatedType === 'onetime'">Once on</span>
242
+ </span>
243
+ <span>
244
+ <span class="ms-1">
245
+ {{ logDetails?.schedule?.previous?.scheduleDateString ? formatDate(logDetails.schedule.previous.scheduleDateString) : '-' }}</span>
246
+ </span>
247
+ </span><br>
248
+ <span class="previouslineheight">
249
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
250
+ <path d="M12 6V12L16 14M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z" stroke="#667085" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>
251
+ </svg>
252
+ <span class="ms-2">{{ logDetails?.schedule?.previous?.time || '-' }}</span>
253
+ </span><br>
254
+ </span>
255
+ <span *ngIf="receivedData === 'task' && logDetails?.schedule?.previous?.scheduleDateString">
256
+ <span class="my-3">
257
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
258
+ <path d="M16 2V6M8 2V6M3 10H21M5 4H19C20.1046 4 21 4.89543 21 6V20C21 21.1046 20.1046 22 19 22H5C3.89543 22 3 21.1046 3 20V6C3 4.89543 3.89543 4 5 4Z"
259
+ stroke="#667085" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>
260
+ </svg>
261
+ <span class="ms-2 mt-2">Due Date</span>
262
+ <span class="ms-1">
263
+ {{ logDetails?.schedule?.previous?.scheduleDateString ? formatDate(logDetails.schedule.previous.scheduleDateString) : '-' }}
264
+ </span>
265
+ </span><br>
266
+
267
+ <span class="previouslineheight" *ngIf="logDetails?.schedule?.previous?.time">
268
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
269
+ <path d="M12 6V12L16 14M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z"
270
+ stroke="#667085" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>
271
+ </svg>
272
+ <span class="ms-2">{{ logDetails?.schedule?.previous?.time || '-' }}</span>
273
+ </span>
274
+ </span>
275
+ <span *ngIf="logDetails?.schedule?.previous?.scheduleRepeatedType === 'weekday'">
276
+ <span class="my-3">
277
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
278
+ <path d="M16 2V6M8 2V6M3 10H21M5 4H19C20.1046 4 21 4.89543 21 6V20C21 21.1046 20.1046 22 19 22H5C3.89543 22 3 21.1046 3 20V6C3 4.89543 3.89543 4 5 4Z" stroke="#667085" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>
279
+ </svg>
280
+ <span class="ms-2">Every {{ logDetails?.schedule?.previous?.schedule || '-' }}</span>
281
+ <span *ngIf="logDetails?.schedule?.previous?.configStartDate">
282
+ <span class="ms-2">Starts from {{ formatDate(logDetails?.schedule?.previous?.configStartDate) }} -</span>
283
+ </span>
284
+ <span *ngIf="logDetails?.schedule?.previous?.configStartDate && logDetails?.schedule?.previous?.configEndDate" class="ms-2">- Every -</span>
285
+ <span class="ms-2">{{ logDetails?.schedule?.previous?.scheduleRepeatedDay || '-' }}</span>
286
+ <span class="ms-2">{{ logDetails?.schedule?.previous?.scheduleRepeatedType || '-' }}</span> -
287
+ <span class="ms-2">{{ logDetails?.schedule?.previous?.scheduleWeekDays || '-' }}</span>
288
+
289
+ <span *ngIf="logDetails?.schedule?.previous?.configEndDate">
290
+ <span class="ms-2">- Ends on {{ formatDate(logDetails?.schedule?.previous?.configEndDate) }}</span>
291
+ </span>
292
+ </span><br>
293
+ <span class="previouslineheight">
294
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
295
+ <path d="M12 6V12L16 14M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z" stroke="#667085" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>
296
+ </svg>
297
+ <span class="ms-2">{{ logDetails?.schedule?.previous?.time || '-' }}</span>
298
+ </span><br>
299
+ </span>
300
+ <span *ngIf="logDetails?.schedule?.previous?.scheduleRepeatedType === 'daily'">
301
+ <span class="my-3">
302
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
303
+ <path d="M16 2V6M8 2V6M3 10H21M5 4H19C20.1046 4 21 4.89543 21 6V20C21 21.1046 20.1046 22 19 22H5C3.89543 22 3 21.1046 3 20V6C3 4.89543 3.89543 4 5 4Z" stroke="#667085" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>
304
+ </svg>
305
+ <span class="ms-2">Repeats {{ logDetails?.schedule?.previous?.schedule || '-' }} -</span>
306
+ <span *ngIf="logDetails?.schedule?.previous?.configStartDate">
307
+ <span class="ms-2">Starts from {{ formatDate(logDetails?.schedule?.previous?.configStartDate) }} -</span>
308
+ </span>
309
+ <span *ngIf="logDetails?.schedule?.previous?.configStartDate && logDetails?.schedule?.previous?.configEndDate" class="ms-2">- Every -</span>
310
+ <span class="ms-2">{{ logDetails?.schedule?.previous?.scheduleRepeatedDay || '-' }}</span>
311
+ <span class="ms-2">{{ logDetails?.schedule?.previous?.scheduleRepeatedType || '-' }}</span>
312
+ <span *ngIf="logDetails?.schedule?.previous?.configEndDate">
313
+ <span class="ms-2">- Ends on {{ formatDate(logDetails?.schedule?.previous?.configEndDate) }}</span>
314
+ </span>
315
+ </span><br>
316
+ <span class="previouslineheight">
317
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
318
+ <path d="M12 6V12L16 14M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z" stroke="#667085" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>
319
+ </svg>
320
+ <span class="ms-2">{{ logDetails?.schedule?.previous?.time || '-' }}</span>
321
+ </span><br>
322
+ </span>
323
+ <span *ngIf="logDetails?.schedule?.previous?.scheduleRepeatedType === 'weekly'">
324
+ <span class="my-3">
325
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
326
+ <path d="M16 2V6M8 2V6M3 10H21M5 4H19C20.1046 4 21 4.89543 21 6V20C21 21.1046 20.1046 22 19 22H5C3.89543 22 3 21.1046 3 20V6C3 4.89543 3.89543 4 5 4Z" stroke="#667085" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>
327
+ </svg>
328
+ <span class="ms-2">Repeats {{ logDetails?.schedule?.previous?.schedule || '-' }} -</span>
329
+ <span *ngIf="logDetails?.schedule?.previous?.configStartDate">
330
+ <span class="ms-2">Starts from {{ formatDate(logDetails?.schedule?.previous?.configStartDate) }} -</span>
331
+ </span>
332
+ <span *ngIf="logDetails?.schedule?.previous?.configStartDate && logDetails?.schedule?.previous?.configEndDate" class="ms-2">- Every -</span>
333
+ <span class="ms-2">{{ logDetails?.schedule?.previous?.scheduleRepeatedDay || '-' }}</span>
334
+ <span class="ms-2">{{ logDetails?.schedule?.previous?.scheduleRepeatedType || '-' }}</span> -
335
+ <span class="ms-2">{{ logDetails?.schedule?.previous?.scheduleWeekDays || '-' }}</span>
336
+
337
+ <span *ngIf="logDetails?.schedule?.previous?.configEndDate">
338
+ <span class="ms-2">- Ends on {{ formatDate(logDetails?.schedule?.previous?.configEndDate) }}</span>
339
+ </span>
340
+ </span><br>
341
+ <span class="previouslineheight">
342
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
343
+ <path d="M12 6V12L16 14M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z" stroke="#667085" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>
344
+ </svg>
345
+ <span class="ms-2">{{ logDetails?.schedule?.previous?.time || '-' }}</span>
346
+ </span><br>
347
+ </span>
348
+ <span *ngIf="logDetails?.schedule?.previous?.scheduleRepeatedType === 'monthly'">
349
+ <span class="my-3">
350
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
351
+ <path d="M16 2V6M8 2V6M3 10H21M5 4H19C20.1046 4 21 4.89543 21 6V20C21 21.1046 20.1046 22 19 22H5C3.89543 22 3 21.1046 3 20V6C3 4.89543 3.89543 4 5 4Z" stroke="#667085" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>
352
+ </svg>
353
+ <span class="ms-2">Repeats {{ logDetails?.schedule?.previous?.schedule || '-' }} -</span>
354
+ <span *ngIf="logDetails?.schedule?.previous?.configStartDate">
355
+ <span class="ms-2">Starts from {{ formatDate(logDetails?.schedule?.previous?.configStartDate) }} -</span>
356
+ </span>
357
+ <span *ngIf="logDetails?.schedule?.previous?.configStartDate && logDetails?.schedule?.previous?.configEndDate" class="ms-2">- Every -</span>
358
+ <span class="ms-2">{{ logDetails?.schedule?.previous?.scheduleRepeatedDay || '-' }}</span>
359
+ <span class="ms-2">{{ logDetails?.schedule?.previous?.scheduleRepeatedType || '-' }}</span> -
360
+ <span *ngIf="!(logDetails?.schedule?.previous?.scheduleRepeatedMonthWeek?.length === 1)">On the</span>
361
+
362
+ <span *ngIf="logDetails?.schedule?.previous?.scheduleRepeatedMonthWeek?.length === 1">On day</span>
363
+
364
+ <span *ngIf="logDetails?.schedule?.previous?.scheduleRepeatedMonthWeek || logDetails?.schedule?.previous?.specificDate">
365
+ <span *ngIf="scheduleWeeksArray().length; else showSpecificDate">
366
+ <span *ngFor="let week of scheduleWeeksArray(); let i = index">
367
+ {{ getWeekOrdinal(parseWeekNumber(week.split(' ')[0])) }} {{ week.split(' ')[1] }}
368
+ <span *ngIf="i < scheduleWeeksArray().length - 1">, </span>
369
+ </span>
370
+ </span>
371
+ <ng-template #showSpecificDate>
372
+ <span *ngIf="logDetails?.schedule?.previous?.specificDate?.length > 0">
373
+ {{ logDetails?.schedule?.previous?.specificDate.join(', ') }}
374
+ </span>
375
+ </ng-template>
376
+ </span>
377
+
378
+ <span *ngIf="logDetails?.schedule?.previous?.configEndDate">
379
+ <span class="ms-2">- Ends on {{ formatDate(logDetails?.schedule?.previous?.configEndDate) }}</span>
380
+ </span>
381
+ </span><br>
382
+ <span class="previouslineheight">
383
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
384
+ <path d="M12 6V12L16 14M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z" stroke="#667085" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>
385
+ </svg>
386
+ <span class="ms-2">{{ logDetails?.schedule?.previous?.time || '-' }}</span>
387
+ </span><br>
388
+ </span>
389
+ <span *ngIf="logDetails?.schedule?.previous?.scheduleRepeatedType === 'range'">
390
+ <span class="my-3">
391
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
392
+ <path d="M16 2V6M8 2V6M3 10H21M5 4H19C20.1046 4 21 4.89543 21 6V20C21 21.1046 20.1046 22 19 22H5C3.89543 22 3 21.1046 3 20V6C3 4.89543 3.89543 4 5 4Z" stroke="#667085" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>
393
+ </svg>
394
+ <span class="ms-2">Custom Range</span> -
395
+ <span *ngIf="logDetails?.schedule?.previous?.configStartDate">
396
+ <span class="ms-2">Starts from {{ formatDate(logDetails?.schedule?.previous?.configStartDate) }} -</span>
397
+ </span>
398
+ <span *ngIf="logDetails?.schedule?.new?.specificDate" class="ms-2">- On the Specific Dates - </span>
399
+ <!-- <span class="ms-2">{{ logDetails?.schedule?.previous?.scheduleRepeatedDay || '-' }}</span> -->
400
+ <span class="ms-2">{{ formatDateString(logDetails?.schedule?.previous?.specificDate[0]) }}</span>
401
+ <span *ngIf="logDetails?.schedule?.previous?.configEndDate">
402
+ <span class="ms-2">- Ends on {{ formatDate(logDetails?.schedule?.previous?.configEndDate) }}</span>
403
+ </span>
404
+ </span><br>
405
+ <span class="previouslineheight">
406
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
407
+ <path d="M12 6V12L16 14M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z" stroke="#667085" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>
408
+ </svg>
409
+ <span class="ms-2">{{ logDetails?.schedule?.previous?.time || '-' }}</span>
410
+ </span><br>
411
+ </span>
412
+ </td>
413
+
414
+ <!-- <td class="configPreviousfieldtext col-5">
415
+ <span class="my-3">
416
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
417
+ <path d="M16 2V6M8 2V6M3 10H21M5 4H19C20.1046 4 21 4.89543 21 6V20C21 21.1046 20.1046 22 19 22H5C3.89543 22 3 21.1046 3 20V6C3 4.89543 3.89543 4 5 4Z" stroke="#667085" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>
418
+ </svg>
419
+ <span class="ms-2">{{ logDetails?.schedule?.previous?.schedule || 'N/A' }} on</span>
420
+ <span class="ms-2">{{ logDetails?.schedule?.previous?.repeats || 'N/A' }}</span>
421
+ <span *ngIf="logDetails?.schedule?.previous?.scheduleStartTime_iso">
422
+ <span class="ms-2">- Starts from: {{ formatDate(logDetails?.schedule?.previous?.scheduleStartTime_iso) }}</span>
423
+ </span>
424
+ <span *ngIf="logDetails?.schedule?.previous?.occurs?.length > 0">
425
+ <span class="ms-2">{{ logDetails?.schedule?.previous?.occurs?.join(', ') || 'N/A' }}</span>
426
+ </span>
427
+ </span><br>
428
+ <span>
429
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
430
+ <path d="M12 6V12L16 14M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z" stroke="#667085" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>
431
+ </svg>
432
+ <span class="ms-2">{{ logDetails?.schedule?.previous?.time || 'N/A' }}</span>
433
+ </span><br>
434
+
435
+ </td> -->
436
+
437
+ <td class="changesfieldtext col-5">
438
+ <span *ngIf="logDetails?.schedule?.new?.scheduleRepeatedType === 'onetime'">
439
+ <span class="my-3">
440
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
441
+ <path d="M16 2V6M8 2V6M3 10H21M5 4H19C20.1046 4 21 4.89543 21 6V20C21 21.1046 20.1046 22 19 22H5C3.89543 22 3 21.1046 3 20V6C3 4.89543 3.89543 4 5 4Z" stroke="#667085" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>
442
+ </svg>
443
+ <span class="ms-2 mt-2">
444
+ <span *ngIf="logDetails?.schedule?.new?.scheduleRepeatedType === 'onetime'">Once on</span>
445
+ </span>
446
+ <span>
447
+ <span class="ms-1"> {{ logDetails?.schedule?.new?.scheduleDateString ? formatDate(logDetails.schedule.new.scheduleDateString) : '-' }}</span>
448
+ </span>
449
+ </span><br>
450
+ <span class="newlineheight">
451
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
452
+ <path d="M12 6V12L16 14M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z" stroke="#667085" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>
453
+ </svg>
454
+ <span class="ms-2">{{ logDetails?.schedule?.new?.time || '-' }}</span>
455
+ </span><br>
456
+ </span>
457
+ <span *ngIf="receivedData === 'task' && logDetails?.schedule?.new?.scheduleDateString">
458
+ <span class="my-3">
459
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
460
+ <path d="M16 2V6M8 2V6M3 10H21M5 4H19C20.1046 4 21 4.89543 21 6V20C21 21.1046 20.1046 22 19 22H5C3.89543 22 3 21.1046 3 20V6C3 4.89543 3.89543 4 5 4Z"
461
+ stroke="#667085" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>
462
+ </svg>
463
+ <span class="ms-2 mt-2">Due Date</span>
464
+ <span class="ms-1">
465
+ {{ logDetails?.schedule?.new?.scheduleDateString ? formatDate(logDetails.schedule.new.scheduleDateString) : '-' }}
466
+ </span>
467
+ </span><br>
468
+
469
+ <span class="previouslineheight" *ngIf="logDetails?.schedule?.new?.time">
470
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
471
+ <path d="M12 6V12L16 14M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z"
472
+ stroke="#667085" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>
473
+ </svg>
474
+ <span class="ms-2">{{ logDetails?.schedule?.new?.time || '-' }}</span>
475
+ </span>
476
+ </span>
477
+ <span *ngIf="logDetails?.schedule?.new?.scheduleRepeatedType === 'weekday'">
478
+ <span class="my-3">
479
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
480
+ <path d="M16 2V6M8 2V6M3 10H21M5 4H19C20.1046 4 21 4.89543 21 6V20C21 21.1046 20.1046 22 19 22H5C3.89543 22 3 21.1046 3 20V6C3 4.89543 3.89543 4 5 4Z" stroke="#667085" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>
481
+ </svg>
482
+ <span class="ms-2">Every {{ logDetails?.schedule?.new?.schedule || '-' }}</span>
483
+ <span *ngIf="logDetails?.schedule?.new?.configStartDate">
484
+ <span class="ms-2">Starts from {{ formatDate(logDetails?.schedule?.new?.configStartDate) }} -</span>
485
+ </span>
486
+ <span *ngIf="logDetails?.schedule?.new?.configStartDate && logDetails?.schedule?.new?.configEndDate" class="ms-2"> Every -</span>
487
+ <span class="ms-2">{{ logDetails?.schedule?.new?.scheduleRepeatedDay || '-' }}</span>
488
+ <span class="ms-2">{{ logDetails?.schedule?.new?.scheduleRepeatedType || '-' }}</span> -
489
+ <span class="ms-2">{{ logDetails?.schedule?.new?.scheduleWeekDays || '-' }}</span>
490
+
491
+ <span *ngIf="logDetails?.schedule?.new?.configEndDate">
492
+ <span class="ms-2">- Ends on {{ formatDate(logDetails?.schedule?.new?.configEndDate) }}</span>
493
+ </span>
494
+ </span><br>
495
+ <span class="newlineheight">
496
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
497
+ <path d="M12 6V12L16 14M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z" stroke="#667085" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>
498
+ </svg>
499
+ <span class="ms-2">{{ logDetails?.schedule?.new?.time || '-' }}</span>
500
+ </span><br>
501
+ </span>
502
+ <span *ngIf="logDetails?.schedule?.new?.scheduleRepeatedType === 'daily'">
503
+ <span class="my-3">
504
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
505
+ <path d="M16 2V6M8 2V6M3 10H21M5 4H19C20.1046 4 21 4.89543 21 6V20C21 21.1046 20.1046 22 19 22H5C3.89543 22 3 21.1046 3 20V6C3 4.89543 3.89543 4 5 4Z" stroke="#667085" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>
506
+ </svg>
507
+ <span class="ms-2">Repeats {{ logDetails?.schedule?.new?.schedule || '-' }} -</span>
508
+ <span *ngIf="logDetails?.schedule?.new?.configStartDate">
509
+ <span class="ms-2">Starts from {{ formatDate(logDetails?.schedule?.new?.configStartDate) }} -</span>
510
+ </span>
511
+ <span *ngIf="logDetails?.schedule?.new?.configStartDate && logDetails?.schedule?.new?.configEndDate" class="ms-2">- Every -</span>
512
+ <span class="ms-2">{{ logDetails?.schedule?.new?.scheduleRepeatedDay || '-' }}</span>
513
+ <span class="ms-2">{{ logDetails?.schedule?.new?.scheduleRepeatedType || '-' }}</span>
514
+ <span *ngIf="logDetails?.schedule?.new?.configEndDate">
515
+ <span class="ms-2">- Ends on {{ formatDate(logDetails?.schedule?.new?.configEndDate) }}</span>
516
+ </span>
517
+ </span><br>
518
+ <span class="newlineheight">
519
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
520
+ <path d="M12 6V12L16 14M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z" stroke="#667085" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>
521
+ </svg>
522
+ <span class="ms-2">{{ logDetails?.schedule?.new?.time || '-' }}</span>
523
+ </span><br>
524
+ </span>
525
+ <span *ngIf="logDetails?.schedule?.new?.scheduleRepeatedType === 'weekly'">
526
+ <span class="my-3">
527
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
528
+ <path d="M16 2V6M8 2V6M3 10H21M5 4H19C20.1046 4 21 4.89543 21 6V20C21 21.1046 20.1046 22 19 22H5C3.89543 22 3 21.1046 3 20V6C3 4.89543 3.89543 4 5 4Z" stroke="#667085" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>
529
+ </svg>
530
+ <span class="ms-2">Repeats {{ logDetails?.schedule?.new?.schedule || '-' }} -</span>
531
+ <span *ngIf="logDetails?.schedule?.new?.configStartDate">
532
+ <span class="ms-2">Starts from {{ formatDate(logDetails?.schedule?.new?.configStartDate) }} -</span>
533
+ </span>
534
+ <span *ngIf="logDetails?.schedule?.new?.configStartDate && logDetails?.schedule?.new?.configEndDate" class="ms-2">- Every -</span>
535
+ <span class="ms-2">{{ logDetails?.schedule?.new?.scheduleRepeatedDay || '-' }}</span>
536
+ <span class="ms-2">{{ logDetails?.schedule?.new?.scheduleRepeatedType || '-' }}</span> -
537
+ <span class="ms-2">{{ logDetails?.schedule?.new?.scheduleWeekDays || '-' }}</span>
538
+
539
+ <span *ngIf="logDetails?.schedule?.new?.configEndDate">
540
+ <span class="ms-2">- Ends on {{ formatDate(logDetails?.schedule?.new?.configEndDate) }}</span>
541
+ </span>
542
+ </span><br>
543
+ <span class="newlineheight">
544
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
545
+ <path d="M12 6V12L16 14M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z" stroke="#667085" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>
546
+ </svg>
547
+ <span class="ms-2">{{ logDetails?.schedule?.new?.time || '-' }}</span>
548
+ </span><br>
549
+ </span>
550
+ <span *ngIf="logDetails?.schedule?.new?.scheduleRepeatedType === 'monthly'">
551
+ <span class="my-3">
552
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
553
+ <path d="M16 2V6M8 2V6M3 10H21M5 4H19C20.1046 4 21 4.89543 21 6V20C21 21.1046 20.1046 22 19 22H5C3.89543 22 3 21.1046 3 20V6C3 4.89543 3.89543 4 5 4Z" stroke="#667085" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>
554
+ </svg>
555
+ <span class="ms-2">Repeats {{ logDetails?.schedule?.new?.schedule || '-' }} -</span>
556
+ <span *ngIf="logDetails?.schedule?.new?.configStartDate">
557
+ <span class="ms-2">Starts from {{ formatDate(logDetails?.schedule?.new?.configStartDate) }} -</span>
558
+ </span>
559
+ <span *ngIf="logDetails?.schedule?.new?.configStartDate && logDetails?.schedule?.new?.configEndDate" class="ms-2">- Every -</span>
560
+ <span class="ms-2">{{ logDetails?.schedule?.new?.scheduleRepeatedDay || '-' }}</span>
561
+ <span class="ms-2">{{ logDetails?.schedule?.new?.scheduleRepeatedType || '-' }}</span> -
562
+ <span *ngIf="!(logDetails?.schedule?.new?.scheduleRepeatedMonthWeek?.length === 1)">On the </span>
563
+
564
+ <span *ngIf="logDetails?.schedule?.new?.scheduleRepeatedMonthWeek?.length === 1">On day</span>
565
+
566
+ <span *ngIf="logDetails?.schedule?.new?.scheduleRepeatedMonthWeek || logDetails?.schedule?.new?.specificDate">
567
+ <span *ngIf="scheduleWeeksArray().length; else showSpecificDate">
568
+ <span *ngFor="let week of scheduleWeeksArray(); let i = index">
569
+ {{ getWeekOrdinal(parseWeekNumber(week.split(' ')[0])) }} {{ week.split(' ')[1] }}
570
+ <span *ngIf="i < scheduleWeeksArray().length - 1">, </span>
571
+ </span>
572
+ </span>
573
+ <ng-template #showSpecificDate>
574
+ <span *ngIf="logDetails?.schedule?.new?.specificDate?.length > 0">
575
+ {{ logDetails?.schedule?.new?.specificDate.join(', ') }}
576
+ </span>
577
+ </ng-template>
578
+ </span>
579
+ <span *ngIf="logDetails?.schedule?.new?.configEndDate">
580
+ <span class="ms-2">- Ends on {{ formatDate(logDetails?.schedule?.new?.configEndDate) }}</span>
581
+ </span>
582
+ </span><br>
583
+ <span class="newlineheight">
584
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
585
+ <path d="M12 6V12L16 14M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z" stroke="#667085" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>
586
+ </svg>
587
+ <span class="ms-2">{{ logDetails?.schedule?.new?.time || '-' }}</span>
588
+ </span><br>
589
+ </span>
590
+ <span *ngIf="logDetails?.schedule?.new?.scheduleRepeatedType === 'range'">
591
+ <span class="my-3">
592
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
593
+ <path d="M16 2V6M8 2V6M3 10H21M5 4H19C20.1046 4 21 4.89543 21 6V20C21 21.1046 20.1046 22 19 22H5C3.89543 22 3 21.1046 3 20V6C3 4.89543 3.89543 4 5 4Z" stroke="#667085" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>
594
+ </svg>
595
+ <span class="ms-2">Custom Range</span> -
596
+ <span *ngIf="logDetails?.schedule?.new?.configStartDate">
597
+ <span class="ms-2">Starts from {{ formatDate(logDetails?.schedule?.new?.configStartDate) }} -</span>
598
+ </span>
599
+ <span *ngIf="logDetails?.schedule?.new?.specificDate" class="ms-2">- On the Specific Dates - </span>
600
+ <!-- <span class="ms-2">{{ logDetails?.schedule?.new?.scheduleRepeatedDay || '-' }}</span> -->
601
+ <span class="ms-2">{{ formatDateString(logDetails?.schedule?.new?.specificDate[0]) }}</span>
602
+ <span *ngIf="logDetails?.schedule?.new?.configEndDate">
603
+ <span class="ms-2">- Ends on {{ formatDate(logDetails?.schedule?.new?.configEndDate) }}</span>
604
+ </span>
605
+ </span><br>
606
+ <span class="newlineheight">
607
+ <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
608
+ <path d="M12 6V12L16 14M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z" stroke="#667085" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"/>
609
+ </svg>
610
+ <span class="ms-2">{{ logDetails?.schedule?.new?.time || '-' }}</span>
611
+ </span><br>
612
+ </span>
613
+ </td>
614
+ </tr>
615
+
616
+ <tr>
617
+ <td class="questionfieldtext col-2">Response</td>
618
+ <td class="configPreviousfieldtext col-5">
619
+ <ng-container *ngIf="logDetails?.response?.previous?.length; else noPreviousData">
620
+ <ul>
621
+ <li *ngFor="let item of logDetails?.response?.previous">{{ item }}</li>
622
+ </ul>
623
+ </ng-container>
624
+ <ng-template #noPreviousData>-</ng-template>
625
+ </td>
626
+ <td class="changesfieldtext col-5">
627
+ <ng-container *ngIf="logDetails?.response?.new?.length; else noNewData">
628
+ <ul>
629
+ <li *ngFor="let item of logDetails?.response?.new">{{ item }}</li>
630
+ </ul>
631
+ </ng-container>
632
+ <ng-template #noNewData>-</ng-template>
633
+ </td>
634
+ </tr>
635
+ <tr>
636
+ <td class="questionfieldtext col-2">Owner</td>
637
+ <td class="configPreviousfieldtext col-5">
638
+ <ng-container *ngIf="logDetails?.owner?.previous; else noPreviousData">
639
+ {{ logDetails?.owner?.previous || '-' }}
640
+ </ng-container>
641
+ <ng-template #noPreviousData>-</ng-template>
642
+ </td>
643
+ <td class="changesfieldtext col-5">
644
+ <ng-container *ngIf="logDetails?.owner?.new; else noNewData">
645
+ {{ logDetails?.owner?.new || '-' }}
646
+ </ng-container>
647
+ <ng-template #noNewData>-</ng-template>
648
+ </td>
649
+ </tr>
650
+
651
+ <tr>
652
+ <td class="questionfieldtext col-2">Approver</td>
653
+ <td class="configPreviousfieldtext col-5">
654
+ <ng-container *ngIf="logDetails?.approver?.previous; else noData">
655
+ {{ logDetails?.approver?.previous || '-' }}
656
+ </ng-container>
657
+ <ng-template #noData>-</ng-template>
658
+ </td>
659
+ <td class="changesfieldtext col-5">
660
+ <ng-container *ngIf="logDetails?.approver?.new; else noData">
661
+ {{ logDetails?.approver?.new || '-' }}
662
+ </ng-container>
663
+ <ng-template #noData>-</ng-template>
664
+ </td>
665
+ </tr>
666
+
667
+ <tr *ngIf="receivedData === 'task'">
668
+ <td class="questionfieldtext col-2">Priority</td>
669
+ <td class="configPreviousfieldtext col-5">
670
+ <ng-container *ngIf="logDetails?.schedule?.previous.priority; else noData">
671
+ {{ logDetails?.schedule?.previous.priority || '-' }}
672
+ </ng-container>
673
+ <ng-template #noData>-</ng-template>
674
+ </td>
675
+ <td class="changesfieldtext col-5">
676
+ <ng-container *ngIf="logDetails?.schedule?.new?.priority; else noData">
677
+ {{ logDetails?.schedule?.new?.priority || '-' }}
678
+ </ng-container>
679
+ <ng-template #noData>-</ng-template>
680
+ </td>
681
+ </tr>
682
+
683
+
684
+ <tr>
685
+ <td class="questionfieldtext col-2">Store Removed</td>
686
+ <td class="configPreviousfieldtext col-5"> - </td>
687
+ <td class="changesfieldtext col-5">
688
+ <ng-container *ngIf="logDetails?.storeRemoved?.length; else noData">
689
+ <lib-store-user-dropdown [items]="logDetails?.storeRemoved" title="Stores"></lib-store-user-dropdown>
690
+ </ng-container>
691
+ <ng-template #noData>-</ng-template>
692
+ </td>
693
+ </tr>
694
+
695
+ <tr>
696
+ <td class="questionfieldtext col-2">User Added</td>
697
+ <td class="configPreviousfieldtext col-5"> - </td>
698
+ <td class="changesfieldtext col-5">
699
+ <ng-container *ngIf="logDetails?.userAdded?.length; else noData">
700
+ <lib-store-user-dropdown [items]="logDetails?.userAdded" title="Users"></lib-store-user-dropdown>
701
+ </ng-container>
702
+ <ng-template #noData>-</ng-template>
703
+ </td>
704
+ </tr>
705
+
706
+ <tr>
707
+ <td class="questionfieldtext col-2">User Removed</td>
708
+ <td class="configPreviousfieldtext col-5"> - </td>
709
+ <td class="changesfieldtext col-5">
710
+ <ng-container *ngIf="logDetails?.userRemoved?.length; else noData">
711
+ <lib-store-user-dropdown [items]="logDetails?.userRemoved" title="Users"></lib-store-user-dropdown>
712
+ </ng-container>
713
+ <ng-template #noData>-</ng-template>
714
+ </td>
715
+ </tr>
716
+
717
+ </tbody>
718
+ </table>
719
+ </div>
720
+ </div>
721
+ <!-- Configuration Updates end -->
722
+
723
+ </div>
724
+ </div>