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,89 @@
1
+ .calendar-container {
2
+ display: flex;
3
+ padding: 16px 20px;
4
+ flex-direction: column;
5
+ align-items: flex-start;
6
+ gap: 12px;
7
+ border-radius: 8px;
8
+ background: #FFF;
9
+ border-radius: 5px;
10
+ box-shadow: 0 0 10px #0000001a;
11
+ }
12
+
13
+ .calendar {
14
+ display: flex;
15
+ flex-direction: column;
16
+ align-items: center;
17
+ }
18
+
19
+ .calendar-header {
20
+ display: flex;
21
+ justify-content: space-between;
22
+ width: 100%;
23
+ color: var(--Gray-700, #344054);
24
+ text-align: center;
25
+ font-size: 16px;
26
+ font-style: normal;
27
+ font-weight: 500;
28
+ line-height: 24px;
29
+ /* 150% */
30
+ }
31
+
32
+ .calendar-body {
33
+ display: flex;
34
+ flex-direction: column;
35
+ width: 100%;
36
+ }
37
+
38
+ .day-names {
39
+ display: grid;
40
+ grid-template-columns: repeat(7, 1fr);
41
+ font-weight: bold;
42
+ margin-bottom: 10px;
43
+ text-align: center;
44
+ }
45
+
46
+ .calendar-days {
47
+ display: grid;
48
+ grid-template-columns: repeat(7, 1fr);
49
+ gap: 5px;
50
+ }
51
+
52
+ .empty-day {
53
+ visibility: hidden;
54
+ }
55
+
56
+ .calendar-days div {
57
+ padding: 10px;
58
+ text-align: center;
59
+ border-radius: 50%;
60
+ cursor: not-allowed;
61
+ /* Disable click interaction */
62
+ }
63
+
64
+ .selected-day {
65
+ background-color: #00a3ff;
66
+ color: white;
67
+ }
68
+
69
+ .disabled-day {
70
+ color: grey;
71
+ text-decoration: line-through;
72
+ cursor: not-allowed;
73
+ }
74
+
75
+ button {
76
+ background-color: transparent;
77
+ border: none;
78
+ cursor: pointer;
79
+ font-size: 16px;
80
+ }
81
+
82
+ .performanceheading {
83
+ color: var(--Gray-900, #101828);
84
+ font-size: 18px;
85
+ font-style: normal;
86
+ font-weight: 600;
87
+ line-height: 28px;
88
+ /* 155.556% */
89
+ }
@@ -0,0 +1,23 @@
1
+ import { ComponentFixture, TestBed } from '@angular/core/testing';
2
+
3
+ import { MultiDateDatepickerComponent } from './multi-date-datepicker.component';
4
+
5
+ describe('MultiDateDatepickerComponent', () => {
6
+ let component: MultiDateDatepickerComponent;
7
+ let fixture: ComponentFixture<MultiDateDatepickerComponent>;
8
+
9
+ beforeEach(async () => {
10
+ await TestBed.configureTestingModule({
11
+ declarations: [MultiDateDatepickerComponent]
12
+ })
13
+ .compileComponents();
14
+
15
+ fixture = TestBed.createComponent(MultiDateDatepickerComponent);
16
+ component = fixture.componentInstance;
17
+ fixture.detectChanges();
18
+ });
19
+
20
+ it('should create', () => {
21
+ expect(component).toBeTruthy();
22
+ });
23
+ });
@@ -0,0 +1,118 @@
1
+ import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
2
+ import dayjs from 'dayjs';
3
+
4
+ @Component({
5
+ selector: 'lib-multi-date-datepicker',
6
+ templateUrl: './multi-date-datepicker.component.html',
7
+ styleUrl: './multi-date-datepicker.component.scss'
8
+ })
9
+ export class MultiDateDatepickerComponent implements OnInit{
10
+ dayjs=dayjs;
11
+ @Input() startDate:any;
12
+ @Input() endDate:any;
13
+ @Input() predefinedDates:any = [];
14
+ @Output() selectedDates :EventEmitter<string[]> = new EventEmitter<string[]>();
15
+ currentYear: number = new Date().getFullYear();
16
+ currentMonth: number = new Date().getMonth();
17
+ dayNames: string[] = ['Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa', 'Su'];
18
+ monthNames: string[] = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'];
19
+
20
+ ngOnInit(): void {
21
+ this.currentMonth = new Date(this.startDate).getMonth()
22
+ this.currentYear = new Date(this.startDate).getFullYear()
23
+ this.predefinedDates = JSON.parse(JSON.stringify(this.predefinedDates))
24
+ }
25
+
26
+ getDaysInMonth(): number[] {
27
+ const daysInMonth = new Date(this.currentYear, this.currentMonth + 1, 0).getDate();
28
+ return Array.from({ length: daysInMonth }, (_, i) => i + 1);
29
+ }
30
+
31
+ getEmptyDays(): number[] {
32
+ const firstDayOfMonth = new Date(this.currentYear, this.currentMonth, 1).getDay();
33
+ return Array(firstDayOfMonth === 0 ? 6 : firstDayOfMonth - 1).fill(0);
34
+ }
35
+
36
+ isPredefined(day: any): boolean {
37
+ day = day < 10 ? `0${day}` : day;
38
+ let month= this.currentMonth < 10 ? `0${this.currentMonth + 1}` : (this.currentMonth + 1);
39
+ let date:any = day+'-'+month+'-'+this.currentYear;
40
+ return this.predefinedDates.includes(date);
41
+ }
42
+
43
+ previousMonth(): void {
44
+ if (this.currentMonth === 0) {
45
+ this.currentMonth = 11;
46
+ this.currentYear--;
47
+ } else {
48
+ this.currentMonth--;
49
+ }
50
+ }
51
+
52
+ nextMonth(): void {
53
+ if (this.currentMonth === 11) {
54
+ this.currentMonth = 0;
55
+ this.currentYear++;
56
+ } else {
57
+ this.currentMonth++;
58
+ }
59
+ }
60
+
61
+ addPredefinedDays(day:any) {
62
+ day = day < 10 ? `0${day}` : day;
63
+ let month= this.currentMonth < 10 ? `0${this.currentMonth + 1}` : (this.currentMonth + 1);
64
+ let date:any = day+'-'+month+'-'+this.currentYear;
65
+ let findDayIdx = this.predefinedDates.findIndex((item:any) => item == date);
66
+ if(findDayIdx != -1) {
67
+ this.predefinedDates.splice(findDayIdx,1);
68
+ }
69
+ else {
70
+ this.predefinedDates.push (date);
71
+ }
72
+ }
73
+
74
+ validateDates(day: any) {
75
+ day = day < 10 ? `0${day}` : day;
76
+ let month= this.currentMonth < 10 ? `0${this.currentMonth + 1}` : (this.currentMonth + 1);
77
+ let date: any = this.currentYear + '-' + month + '-' + day;
78
+ let sDate = this.dayjs(this.startDate, 'YYYY-MM-DD');
79
+ let eDate = this.dayjs(this.endDate, 'YYYY-MM-DD');
80
+ date = this.dayjs(date, 'YYYY-MM-DD');
81
+ if(date.diff(sDate,'d') >= 0 && eDate.diff(date,'d') >= 0) {
82
+ return true;
83
+ }
84
+ return false;
85
+ }
86
+
87
+ showPrev() {
88
+ let month = this.currentMonth < 10 ? "0"+(this.currentMonth + 1) : (this.currentMonth + 1)
89
+ let date:any = this.currentYear+'-' + month+ '-01';
90
+ date = this.dayjs(date,'YYYY-MM-DD').subtract(1,'month');
91
+ let sDate = this.dayjs(this.startDate,'YYYY-MM-DD');
92
+ if(date.diff(sDate,'m') >= 0) {
93
+ return true;
94
+ } else if(date.month() == sDate.month()) {
95
+ return true;
96
+ } else {
97
+ return false;
98
+ }
99
+ }
100
+
101
+ showNext() {
102
+ let month = this.currentMonth < 10 ? "0"+(this.currentMonth + 1) : (this.currentMonth + 1)
103
+ let date:any = this.currentYear+'-' + month+ '-01';
104
+ date = this.dayjs(date,'YYYY-MM-DD').add(1,'month');
105
+ let eDate = this.dayjs(this.endDate,'YYYY-MM-DD');
106
+ if(eDate.diff(date,'m') >= 0) {
107
+ return true;
108
+ } else if(date.month() == eDate.month()) {
109
+ return true;
110
+ } else {
111
+ return false;
112
+ }
113
+ }
114
+
115
+ applyDate() {
116
+ this.selectedDates.emit(this.predefinedDates);
117
+ }
118
+ }
@@ -0,0 +1,203 @@
1
+ <ng-container *ngIf="isAuthorized === 'AUTHORIZED'" >
2
+ <div class="row">
3
+ <div class="col-md-12 my-2">
4
+ <div class=" card">
5
+ <div class="row">
6
+ <div class="col-lg-12">
7
+ <div class="card-header border-0 pt-4 px-4">
8
+ <h3 class="card-title align-items-start flex-column">
9
+ <span class="card-label mb-2">Task Configuration</span>
10
+ </h3>
11
+ <div class="card-toolbar">
12
+ <div class="d-flex">
13
+ <div class="d-flex align-items-center position-relative my-1">
14
+ <span class="svg-icon footfallsearch svg-icon-1 position-absolute ms-4">
15
+ <svg
16
+ xmlns="http://www.w3.org/2000/svg" width="20" height="20"
17
+ viewBox="0 0 20 20" fill="none">
18
+ <path
19
+ 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"
20
+ stroke="#344054" stroke-width="1.67" stroke-linecap="round"
21
+ stroke-linejoin="round">
22
+ </path>
23
+ </svg>
24
+ </span>
25
+
26
+ <input class="fx-date-range form-control ps-14"
27
+ style="min-width: 100px !important;" type="text" matInput
28
+ ngxDaterangepickerMd [singleDatePicker]="true" [drops]="'down'"
29
+ [opens]="'right'" [alwaysShowCalendars]="false"
30
+ [keepCalendarOpeningWithRange]="true" [showCancel]="false"
31
+ autocomplete="off" [(ngModel)]="selectedDateRange"
32
+ [ngModelOptions]="{standalone: true}"
33
+ (startDateChanged)="onDateChange($event)" [isCustomDate]="isCustomDate"
34
+ [autoApply]="true"
35
+ [locale]="{ format: 'DD-MM-YYYY', firstDay: 1, monthNames: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'] }"
36
+ name="daterange" [readonly]="true" />
37
+
38
+ <button [disabled]="!dataSource.length" (click)="exportAsExcel()" type="button"
39
+ class="btn-outline btn align-items-end text-nowrap invheader ms-4">
40
+ <!-- Export Icon -->
41
+ <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20"
42
+ viewBox="0 0 20 20" fill="none">
43
+ <path
44
+ d="M17.5 12.5V15.8333C17.5 16.2754 17.3244 16.6993 17.0118 17.0118C16.6993 17.3244 16.2754 17.5 15.8333 17.5H4.16667C3.72464 17.5 3.30072 17.3244 2.98816 17.0118C2.67559 16.6993 2.5 16.2754 2.5 15.8333V12.5M14.1667 6.66667L10 2.5M10 2.5L5.83333 6.66667M10 2.5V12.5"
45
+ stroke="#344054" stroke-width="1.67" stroke-linecap="round"
46
+ stroke-linejoin="round"></path>
47
+ </svg>
48
+ <span class="ms-2"></span> Export
49
+ </button>
50
+
51
+ </div>
52
+ </div>
53
+ </div>
54
+ </div>
55
+ <div class="card-body p-0">
56
+ <ng-container>
57
+ <ng-container
58
+ *ngIf="(tableApiState | async) === 'loaded' ">
59
+ <div class="table-responsive px-4">
60
+ <table class="table text-nowrap bottom-border">
61
+ <thead>
62
+ <tr>
63
+ <th>Action</th>
64
+ <th>Task ID</th>
65
+ <th>Service Type</th>
66
+ <th>Customer Name</th>
67
+ <th>Customer Contact</th>
68
+ <th>Customer Address</th>
69
+ <th>City</th>
70
+ <th>State</th>
71
+ <th>Country</th>
72
+ <th>Customer Zipcode</th>
73
+ <th>Latitude</th>
74
+ <th>Longitude</th>
75
+ <th>Task Date</th>
76
+ <th>Task Start Time</th>
77
+ <th>Task End Time</th>
78
+ <th>TAT</th>
79
+ <th>Payment Method</th>
80
+ <th>Amount</th>
81
+ <th>Note</th>
82
+ <th>user ID</th>
83
+ </tr>
84
+ <tr>
85
+ <th style="background-color: unset !important; border-bottom: unset !important;" ></th>
86
+ <th style="background-color: unset !important; border-bottom: unset !important;" ></th>
87
+ <th style="background-color: unset !important; border-bottom: unset !important;" ></th>
88
+ <th style="background-color: unset !important; border-bottom: unset !important; padding-left: unset !important;" >
89
+ <input (keydown.enter)="updateOrder()" [(ngModel)]="storeCodes" style="min-width: 250px;" class="form-control" type="text">
90
+ </th>
91
+ </tr>
92
+ </thead>
93
+ <tbody>
94
+ <tr *ngFor="let element of dataSource">
95
+ <td>
96
+ <div class="d-flex align-items-center justify-content-center">
97
+ <svg (click)="deleteOrder(element?._id)" class="cursor-pointer" xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"
98
+ fill="none">
99
+ <path d="M15 5L5 15M5 5L15 15" stroke="#667085" stroke-width="1.66667"
100
+ stroke-linecap="round" stroke-linejoin="round" />
101
+ </svg>
102
+ </div>
103
+ </td>
104
+ <td>
105
+ <div class="data">{{element?.Task_ID}}</div>
106
+ </td>
107
+ <td>
108
+ <div class="data" >{{element?.Service_Type}}</div>
109
+ </td>
110
+
111
+ <td>
112
+ <div class="data">{{element?.Customer_Name}}</div>
113
+ </td>
114
+ <td>
115
+ <div class="data">{{element?.Customer_Contact}}</div>
116
+ </td>
117
+ <td>
118
+ <div class="data">{{element?.Customer_Address}}</div>
119
+ </td>
120
+ <td>
121
+ <div class="data" >{{element?.City}}</div>
122
+ </td>
123
+
124
+ <td>
125
+ <div class="data">{{element?.State}}</div>
126
+ </td>
127
+ <td>
128
+ <div class="data">{{element?.Country}}</div>
129
+ </td>
130
+ <td>
131
+ <div class="data">{{element?.Customer_Zipcode}}</div>
132
+ </td>
133
+ <td>
134
+ <div class="data" >{{element?.Latitude}}</div>
135
+ </td>
136
+ <td>
137
+ <div class="data" >{{element?.Longitude}}</div>
138
+ </td>
139
+
140
+ <td>
141
+ <div class="data">{{element?.Task_Date}}</div>
142
+ </td>
143
+ <td>
144
+ <div class="data">{{element?.Task_Start_Time}}</div>
145
+ </td>
146
+ <td>
147
+ <div class="data">{{element?.Task_End_Time}}</div>
148
+ </td>
149
+ <td>
150
+ <div class="data" >{{element?.TAT}}</div>
151
+ </td>
152
+
153
+ <td>
154
+ <div class="data">{{element?.Payment_Method}}</div>
155
+ </td>
156
+ <td>
157
+ <div class="data">{{element?.Amount}}</div>
158
+ </td>
159
+ <td>
160
+ <div class="data">{{element?.Note}}</div>
161
+ </td>
162
+ <td>
163
+ <div class="data">{{element?.user_ID}}</div>
164
+ </td>
165
+
166
+
167
+
168
+ </tr>
169
+ </tbody>
170
+ </table>
171
+
172
+ </div>
173
+
174
+ </ng-container>
175
+ </ng-container>
176
+ <ng-container
177
+ *ngIf="(tableApiState | async) === 'loading' || (tableApiState | async) === 'initial'">
178
+ <div class="row loader d-flex justify-content-center align-items-center">
179
+ <div class="shimmer">
180
+ <div class="wrapper">
181
+ <div class="stroke animate title"></div>
182
+ <div class="stroke animate link"></div>
183
+ <div class="stroke animate description"></div>
184
+ </div>
185
+ </div>
186
+ <div class="shimmer">
187
+ <div class="wrapper">
188
+ <div class="stroke animate title"></div>
189
+ <div class="stroke animate link"></div>
190
+ <div class="stroke animate description"></div>
191
+ </div>
192
+ </div>
193
+ </div>
194
+ </ng-container>
195
+
196
+ </div>
197
+ </div>
198
+ </div>
199
+ </div>
200
+ </div>
201
+
202
+ </div>
203
+ </ng-container>
@@ -0,0 +1,180 @@
1
+ .data {
2
+ color: var(--Gray-500, #667085);
3
+ font-family: Inter;
4
+ font-size: 14px;
5
+ font-style: normal;
6
+ font-weight: 500;
7
+ line-height: 20px;
8
+ }
9
+
10
+ .data-dark {
11
+ color: var(--Gray-900, #101828);
12
+ font-family: Inter;
13
+ font-size: 14px;
14
+ font-style: normal;
15
+ font-weight: 500;
16
+ line-height: 20px;
17
+ }
18
+
19
+ .view{
20
+ color: var(--Primary-700, #009BF3);
21
+ font-family: Inter;
22
+ font-size: 14px;
23
+ font-style: normal;
24
+ font-weight: 600;
25
+ line-height: 20px;
26
+ text-decoration-line: underline;
27
+ text-transform: capitalize;
28
+ }
29
+
30
+ .rotate {
31
+ rotate: 180deg;
32
+ transition: 1s;
33
+ }
34
+
35
+ :host::ng-deep {
36
+ .md-drppicker .btn {
37
+ line-height: 10px !important;
38
+ }
39
+
40
+ .daterangepicker-input+.ngx-daterangepicker-material .applyBtn {
41
+ display: none;
42
+ }
43
+
44
+ .md-drppicker.drops-down-right.ltr.show-ranges.shown {
45
+ top: 65px !important;
46
+ }
47
+
48
+ .md-drppicker.drops-down-right.ltr.double.show-ranges.shown {
49
+ top: 65px !important;
50
+ right: -475px !important;
51
+ left: unset !important;
52
+ height: 400px !important;
53
+ }
54
+
55
+ .md-drppicker .btn {
56
+ border-radius: 8px !important;
57
+ border: 1px solid var(--Primary-600, #00A3FF) !important;
58
+ background: var(--Primary-600, #00A3FF) !important;
59
+ box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05) !important;
60
+ color: var(--White, #FFF) !important;
61
+ font-size: 14px !important;
62
+ font-weight: 600 !important;
63
+ line-height: 20px;
64
+ text-transform: capitalize;
65
+ }
66
+
67
+ .md-drppicker .ranges ul li button {
68
+ padding: 12px 16px;
69
+ width: 160px;
70
+ color: var(--Gray-700, #344054);
71
+ font-size: 14px;
72
+ font-weight: 400;
73
+ line-height: 20px;
74
+ background: none;
75
+ border: none;
76
+ text-align: left;
77
+ cursor: pointer;
78
+ }
79
+
80
+ .md-drppicker td.active,
81
+ .md-drppicker td.active:hover {
82
+ background-color: #029cf4 !important;
83
+ border-radius: 20px !important;
84
+ color: var(--White, #FFF) !important;
85
+ text-align: center !important;
86
+ font-size: 14px !important;
87
+ font-weight: 500 !important;
88
+ line-height: 20px;
89
+ }
90
+
91
+ .md-drppicker.ltr .ranges {
92
+ float: left;
93
+ margin-top: 10px !important;
94
+ }
95
+
96
+ .md-drppicker td.in-range {
97
+ background: var(--Primary-50, #EAF8FF);
98
+ }
99
+
100
+ .md-drppicker .ranges ul li button.active {
101
+ background: var(--Primary-50, #EAF8FF) !important;
102
+ border-radius: 8px !important;
103
+ color: var(--Primary-700, #009BF3);
104
+ font-size: 14px !important;
105
+ font-weight: 500 !important;
106
+ line-height: 20px !important;
107
+ }
108
+
109
+ .md-drppicker table th,
110
+ table td {
111
+ width: 40px !important;
112
+ height: 40px !important;
113
+ padding: 10px 8px !important;
114
+ }
115
+
116
+ .md-drppicker td.available.prev,
117
+ .md-drppicker th.available.prev {
118
+ background-image: url(data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgMy43IDYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDMuNyA2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxnPg0KCTxwYXRoIGQ9Ik0zLjcsMC43TDEuNCwzbDIuMywyLjNMMyw2TDAsM2wzLTNMMy43LDAuN3oiLz4NCjwvZz4NCjwvc3ZnPg0K) !important;
119
+ background-repeat: no-repeat !important;
120
+ background-size: 0.5em !important;
121
+ background-position: center !important;
122
+ }
123
+
124
+ .md-drppicker td.available.next,
125
+ .md-drppicker th.available.next {
126
+ background-image: url(data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgMy43IDYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDMuNyA2IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxnPg0KCTxwYXRoIGQ9Ik0zLjcsMC43TDEuNCwzbDIuMywyLjNMMyw2TDAsM2wzLTNMMy43LDAuN3oiLz4NCjwvZz4NCjwvc3ZnPg0K) !important;
127
+ background-repeat: no-repeat !important;
128
+ background-size: 0.5em !important;
129
+ background-position: center !important;
130
+ }
131
+
132
+ .md-drppicker table th {
133
+ border-bottom: 0px solid var(--Gray-200, #EAECF0) !important;
134
+ background: transparent !important;
135
+ color: var(--Gray-700, #344054) !important;
136
+ text-align: center;
137
+ font-size: 16px !important;
138
+ font-weight: 500 !important;
139
+ line-height: 24px;
140
+ }
141
+
142
+ .md-drppicker td.available.invalid-date {
143
+ text-decoration: line-through;
144
+ pointer-events: none;
145
+ color: darkgray;
146
+ }
147
+
148
+ .md-drppicker td.available.today:not(.invalid-date) {
149
+ text-decoration: unset;
150
+ pointer-events: unset;
151
+ color: unset;
152
+ }
153
+
154
+ .md-drppicker .btn.btn-default {
155
+ border-radius: 8px !important;
156
+ border: 1px solid var(--Gray-300, #D0D5DD) !important;
157
+ background: var(--White, #FFF) !important;
158
+ box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05) !important;
159
+ color: var(--Gray-700, #344054) !important;
160
+ font-size: 14px !important;
161
+ font-weight: 600 !important;
162
+ line-height: 20px;
163
+ text-transform: capitalize;
164
+ margin-right: 10px !important;
165
+ }
166
+
167
+ .md-drppicker td.available.invalid-date {
168
+ text-decoration: line-through;
169
+ pointer-events: none;
170
+ color: darkgray;
171
+ }
172
+
173
+ .md-drppicker td.available.today:not(.invalid-date) {
174
+ text-decoration: unset;
175
+ pointer-events: unset;
176
+ color: unset;
177
+ }
178
+ }
179
+
180
+
@@ -0,0 +1,25 @@
1
+ import { ComponentFixture, TestBed } from '@angular/core/testing';
2
+
3
+ import { OrdersComponent } from './orders.component';
4
+
5
+ describe('OrdersComponent', () => {
6
+ let component: OrdersComponent;
7
+ let fixture: ComponentFixture<OrdersComponent>;
8
+
9
+ beforeEach(async () => {
10
+ await TestBed.configureTestingModule({
11
+ declarations: [ OrdersComponent ]
12
+ })
13
+ .compileComponents();
14
+ });
15
+
16
+ beforeEach(() => {
17
+ fixture = TestBed.createComponent(OrdersComponent);
18
+ component = fixture.componentInstance;
19
+ fixture.detectChanges();
20
+ });
21
+
22
+ it('should create', () => {
23
+ expect(component).toBeTruthy();
24
+ });
25
+ });