@bjsdistribution/dms-client-return 0.0.83 → 0.0.84

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 (308) hide show
  1. package/dist/components/order-daily-overview/common/interface.d.ts +0 -80
  2. package/dist/components/order-view/hooks/AddResources.d.ts +2 -0
  3. package/dist/components/order-view/notes/logs/helper.d.ts +1 -2
  4. package/dist/components/order-view/order-actions/actions/add-resources/DocFileUpload.d.ts +3 -0
  5. package/dist/components/order-view/order-actions/actions/clear-booking-status/ClearBookingStatus.d.ts +3 -0
  6. package/dist/components/order-view/order-actions/actions/create-task-reminder/TaskModal.d.ts +4 -0
  7. package/dist/components/order-view/order-actions/actions/remove-from-route/RemoveFromRoute.d.ts +3 -0
  8. package/dist/components/order-view/order-actions/store.d.ts +15 -0
  9. package/dist/components/order-view/order-resources/columns/actions/index.d.ts +12 -2
  10. package/dist/components/order-view/order-resources/columns/index.d.ts +1 -0
  11. package/dist/components/order-view/order-resources/helper.d.ts +2 -2
  12. package/dist/components/order-view/store.d.ts +1 -1
  13. package/dist/components/order-view/types.d.ts +2 -1
  14. package/dist/components/store.d.ts +1 -0
  15. package/dist/dms-client-return.cjs.development.js +2644 -2227
  16. package/dist/dms-client-return.cjs.development.js.map +1 -1
  17. package/dist/dms-client-return.cjs.production.min.js +1 -1
  18. package/dist/dms-client-return.cjs.production.min.js.map +1 -1
  19. package/dist/dms-client-return.esm.js +3062 -2645
  20. package/dist/dms-client-return.esm.js.map +1 -1
  21. package/package.json +2 -2
  22. package/src/components/order-daily-overview/common/interface.ts +0 -85
  23. package/src/components/order-daily-overview/filters/Filters.tsx +0 -56
  24. package/src/components/order-daily-overview/header/input/dropdown/index.tsx +0 -1
  25. package/src/components/order-daily-overview/header/route-header/RouterHeader.tsx +1 -35
  26. package/src/components/order-daily-overview/header/table-filter/TableFilter.tsx +3 -4
  27. package/src/components/order-daily-overview/header-filters/HeaderFilter.tsx +0 -65
  28. package/src/components/order-daily-overview/return-after-table/table-filters/TableFilters.tsx +1 -106
  29. package/src/components/order-daily-overview/store/store.ts +0 -13
  30. package/src/components/order-view/details-filters/left-side-filters/ActionsMenu.tsx +0 -2
  31. package/src/components/order-view/details-filters/left-side-filters/actions/Actions.tsx +0 -13
  32. package/src/components/order-view/fakedata.ts +14 -5
  33. package/src/components/order-view/hooks/AddResources.tsx +54 -0
  34. package/src/components/order-view/index.tsx +23 -1
  35. package/src/components/order-view/notification/FlagTemplate.tsx +1 -1
  36. package/src/components/order-view/notification/Tabs.tsx +0 -2
  37. package/src/components/order-view/order-actions/actions/add-resources/CategoryDropdown.tsx +24 -9
  38. package/src/components/order-view/order-actions/actions/add-resources/DocFileUpload.tsx +141 -49
  39. package/src/components/order-view/order-actions/actions/add-resources/DocumentTypeDropdown.tsx +28 -5
  40. package/src/components/order-view/order-actions/actions/add-resources/Visibility.tsx +31 -14
  41. package/src/components/order-view/order-actions/actions/add-resources/index.tsx +99 -11
  42. package/src/components/order-view/order-actions/actions/cancel-order/index.tsx +0 -4
  43. package/src/components/order-view/order-actions/actions/clear-booking-status/ClearBookingStatus.tsx +113 -0
  44. package/src/components/order-view/order-actions/actions/create-task-reminder/CreateTaskModal.tsx +3 -3
  45. package/src/components/order-view/order-actions/actions/create-task-reminder/TaskModal.tsx +149 -0
  46. package/src/components/order-view/order-actions/actions/remove-from-route/RemoveFromRoute.tsx +91 -0
  47. package/src/components/order-view/order-actions/hooks/useCreateReminder.ts +0 -5
  48. package/src/components/order-view/order-actions/index.tsx +10 -9
  49. package/src/components/order-view/order-actions/store.ts +6 -0
  50. package/src/components/order-view/order-details/expanded-content/orders-section/Carrier.tsx +29 -10
  51. package/src/components/order-view/order-details/expanded-content/orders-section/index.tsx +0 -3
  52. package/src/components/order-view/order-resources/collapsed-content/index.tsx +2 -2
  53. package/src/components/order-view/order-resources/columns/Date.tsx +2 -1
  54. package/src/components/order-view/order-resources/columns/actions/index.tsx +133 -5
  55. package/src/components/order-view/order-resources/columns/index.tsx +1 -0
  56. package/src/components/order-view/order-resources/expanded-content/index.tsx +11 -11
  57. package/src/components/order-view/order-resources/helper.ts +7 -1
  58. package/src/components/order-view/store.ts +5 -10
  59. package/src/components/order-view/system-event-logs/columns/index.tsx +0 -1
  60. package/src/components/order-view/types.ts +6 -3
  61. package/src/components/order-view/utils.ts +17 -1
  62. package/src/components/store.ts +6 -0
  63. package/dist/assets/PostCodeIcon.d.ts +0 -3
  64. package/dist/assets/icons/ArrivalIcon.d.ts +0 -3
  65. package/dist/assets/icons/ArrowIcon.d.ts +0 -3
  66. package/dist/assets/icons/AssemblyIcons.d.ts +0 -3
  67. package/dist/assets/icons/BarCode.d.ts +0 -3
  68. package/dist/assets/icons/BoxIcon.d.ts +0 -3
  69. package/dist/assets/icons/BoxTickIcon.d.ts +0 -3
  70. package/dist/assets/icons/CallIcon.d.ts +0 -3
  71. package/dist/assets/icons/CarIcon.d.ts +0 -3
  72. package/dist/assets/icons/CardsIcon.d.ts +0 -3
  73. package/dist/assets/icons/CbmIcon.d.ts +0 -3
  74. package/dist/assets/icons/ClockIcon.d.ts +0 -3
  75. package/dist/assets/icons/Complete.d.ts +0 -3
  76. package/dist/assets/icons/CompleteIcon.d.ts +0 -3
  77. package/dist/assets/icons/CompletedIcon.d.ts +0 -3
  78. package/dist/assets/icons/DeleteIcon.d.ts +0 -3
  79. package/dist/assets/icons/DownArrowIcon.d.ts +0 -3
  80. package/dist/assets/icons/DownloadIcon.d.ts +0 -3
  81. package/dist/assets/icons/DriverIcon.d.ts +0 -3
  82. package/dist/assets/icons/DropDownLarge.d.ts +0 -3
  83. package/dist/assets/icons/EditIcon.d.ts +0 -3
  84. package/dist/assets/icons/ExportIcon.d.ts +0 -3
  85. package/dist/assets/icons/EyeIcon.d.ts +0 -3
  86. package/dist/assets/icons/FailedIcon.d.ts +0 -3
  87. package/dist/assets/icons/HeavyItemIcon.d.ts +0 -3
  88. package/dist/assets/icons/InComplete.d.ts +0 -3
  89. package/dist/assets/icons/LargeItemIcon.d.ts +0 -3
  90. package/dist/assets/icons/LateIcon.d.ts +0 -3
  91. package/dist/assets/icons/LineIcon.d.ts +0 -3
  92. package/dist/assets/icons/LockIcon.d.ts +0 -3
  93. package/dist/assets/icons/MapIcon.d.ts +0 -3
  94. package/dist/assets/icons/OctaIcon.d.ts +0 -3
  95. package/dist/assets/icons/OntimeTrackingIcons.d.ts +0 -3
  96. package/dist/assets/icons/PaperIcon.d.ts +0 -3
  97. package/dist/assets/icons/PendingIcon.d.ts +0 -3
  98. package/dist/assets/icons/PersonIcon.d.ts +0 -3
  99. package/dist/assets/icons/PointIcon.d.ts +0 -3
  100. package/dist/assets/icons/PrintIcon.d.ts +0 -3
  101. package/dist/assets/icons/PrivateIcon.d.ts +0 -3
  102. package/dist/assets/icons/RecipientIcon.d.ts +0 -3
  103. package/dist/assets/icons/ReminderIcon.d.ts +0 -3
  104. package/dist/assets/icons/RightArrowIcon.d.ts +0 -3
  105. package/dist/assets/icons/RoundCheckbox.d.ts +0 -3
  106. package/dist/assets/icons/StartIcon.d.ts +0 -3
  107. package/dist/assets/icons/TableIcon.d.ts +0 -3
  108. package/dist/assets/icons/TextIcon.d.ts +0 -3
  109. package/dist/assets/icons/ThreeIcon.d.ts +0 -3
  110. package/dist/assets/icons/TickIon.d.ts +0 -3
  111. package/dist/assets/icons/TomtomIcon.d.ts +0 -3
  112. package/dist/assets/icons/TotalOrderIcon.d.ts +0 -3
  113. package/dist/assets/icons/TrackIcon.d.ts +0 -3
  114. package/dist/assets/icons/TruckIcon.d.ts +0 -3
  115. package/dist/assets/icons/UnlockIcon.d.ts +0 -3
  116. package/dist/assets/icons/UserIcon.d.ts +0 -3
  117. package/dist/assets/icons/VehicleIcon.d.ts +0 -3
  118. package/dist/assets/icons/WeightIcon.d.ts +0 -3
  119. package/dist/assets/icons/ZigZagIcon.d.ts +0 -3
  120. package/dist/components/order-daily-overview/common/PrintDropDown.d.ts +0 -8
  121. package/dist/components/order-daily-overview/common/css/TableStyle.d.ts +0 -21
  122. package/dist/components/order-daily-overview/common/css/mediaQuery.d.ts +0 -4
  123. package/dist/components/order-daily-overview/store/filterStore.d.ts +0 -16
  124. package/dist/components/order-daily-overview/store/initialValues.d.ts +0 -16
  125. package/dist/components/order-daily-overview/table/table-data/Fakedata.d.ts +0 -144
  126. package/dist/components/order-view/ProductData.d.ts +0 -14
  127. package/dist/components/order-view/details-filters/left-side-filters/dropdowns/DropDownItem.d.ts +0 -8
  128. package/dist/components/order-view/details-filters/left-side-filters/dropdowns/DropDownMenu.d.ts +0 -10
  129. package/dist/components/order-view/details-filters/left-side-filters/dropdowns/DropdownStyles.d.ts +0 -3
  130. package/dist/components/order-view/general-information/LockOrder.d.ts +0 -4
  131. package/dist/components/order-view/general-information/dropdowns/BjsMenu.d.ts +0 -3
  132. package/dist/components/order-view/general-information/dropdowns/CreateTask.d.ts +0 -3
  133. package/dist/components/order-view/general-information/dropdowns/SendEmail.d.ts +0 -3
  134. package/dist/components/order-view/general-information/dropdowns/SendSms.d.ts +0 -3
  135. package/dist/components/order-view/general-information/dropdowns/Tasks.d.ts +0 -3
  136. package/dist/components/order-view/general-information/dropdowns/Videos.d.ts +0 -3
  137. package/dist/components/order-view/general-information/dropdowns/ViewEpod.d.ts +0 -3
  138. package/dist/components/order-view/general-information/dropdowns/helper.d.ts +0 -1
  139. package/dist/components/order-view/general-information/dropdowns/index.d.ts +0 -3
  140. package/dist/components/order-view/modalsPopup/AddProduct.d.ts +0 -3
  141. package/dist/components/order-view/modalsPopup/BulkUpdateProduct.d.ts +0 -3
  142. package/dist/components/order-view/modalsPopup/DeleteProduct.d.ts +0 -3
  143. package/dist/components/order-view/modalsPopup/ProductAction.d.ts +0 -3
  144. package/dist/components/order-view/modalsPopup/RepackModal.d.ts +0 -3
  145. package/dist/components/order-view/modalsPopup/UnReceiveProduct.d.ts +0 -3
  146. package/dist/components/order-view/modalsPopup/UpdateProducts.d.ts +0 -3
  147. package/dist/components/order-view/modalsPopup/qclogs/AddDefect.d.ts +0 -3
  148. package/dist/components/order-view/modalsPopup/qclogs/DefetcDetails.d.ts +0 -3
  149. package/dist/components/order-view/modalsPopup/qclogs/OtherDamage.d.ts +0 -3
  150. package/dist/components/order-view/modalsPopup/qclogs/RepackDetails.d.ts +0 -3
  151. package/dist/components/order-view/modalsPopup/qclogs/RepackProduct.d.ts +0 -3
  152. package/dist/components/order-view/modalsPopup/qclogs/index.d.ts +0 -3
  153. package/dist/components/order-view/modalsPopup/qclogs/logsTable.d.ts +0 -3
  154. package/dist/components/order-view/notes/logs/columns/Details.d.ts +0 -3
  155. package/dist/components/order-view/notes/logs/columns/index.d.ts +0 -2
  156. package/dist/components/order-view/notification/OrderTemplate.d.ts +0 -3
  157. package/dist/components/order-view/order-actions/actions/cancel-order/CancelOrderTable.d.ts +0 -3
  158. package/dist/components/order-view/order-actions/actions/cancel-order/CancelationNote.d.ts +0 -3
  159. package/dist/components/order-view/order-actions/actions/cancel-order/CancelationReason.d.ts +0 -3
  160. package/dist/components/order-view/order-actions/actions/charge-log/DeleteLogModal.d.ts +0 -3
  161. package/dist/components/order-view/order-actions/actions/charge-log/index.d.ts +0 -3
  162. package/dist/components/order-view/order-actions/actions/escalation/Dropdowns.d.ts +0 -3
  163. package/dist/components/order-view/order-actions/actions/escalation/EscalationModal.d.ts +0 -3
  164. package/dist/components/order-view/order-actions/actions/escalation/NewEscalation.d.ts +0 -3
  165. package/dist/components/order-view/order-actions/actions/escalation/Notes.d.ts +0 -3
  166. package/dist/components/order-view/order-actions/actions/escalation/index.d.ts +0 -3
  167. package/dist/components/order-view/order-actions/actions/escalation/upgrade/index.d.ts +0 -3
  168. package/dist/components/order-view/order-actions/actions/restore-products/RestoreProducts.d.ts +0 -3
  169. package/dist/components/order-view/order-actions/actions/update-product-type/UpdateProductType.d.ts +0 -7
  170. package/dist/components/order-view/order-actions/actions/update-product-type/UpdateProductTypeStyle.d.ts +0 -9
  171. package/dist/components/order-view/order-actions/hooks/useFetchSingleReminder.d.ts +0 -2
  172. package/dist/components/order-view/order-actions/hooks/useUpdateReminder.d.ts +0 -3
  173. package/dist/components/order-view/order-details/expanded-content/orders-section/ValueField.d.ts +0 -3
  174. package/dist/components/order-view/order-resources/columns/Id.d.ts +0 -3
  175. package/dist/components/order-view/products-info/expanded-content/productList.d.ts +0 -0
  176. package/dist/components/order-view/products-info/expanded-content/products/Badge.d.ts +0 -6
  177. package/dist/components/order-view/products-info/expanded-content/products/index.d.ts +0 -7
  178. package/dist/components/order-view/products-info/types.d.ts +0 -1
  179. package/dist/components/order-view/products-info/utils.d.ts +0 -2
  180. package/dist/components/order-view/return-client-products/product-table-footer/ProductDetailsFooter.d.ts +0 -3
  181. package/dist/components/order-view/toolbox-resources/collapsed-content/index.d.ts +0 -3
  182. package/dist/components/order-view/toolbox-resources/expanded-content/index.d.ts +0 -3
  183. package/dist/components/order-view/view-reminder/AssigneeDropdown.d.ts +0 -3
  184. package/dist/components/order-view/view-reminder/ViewReminder.d.ts +0 -3
  185. package/dist/components/order-view/view-reminder/reminder-styles.d.ts +0 -25
  186. package/src/assets/PostCodeIcon.tsx +0 -32
  187. package/src/assets/icons/ArrivalIcon.tsx +0 -11
  188. package/src/assets/icons/ArrowIcon.tsx +0 -11
  189. package/src/assets/icons/AssemblyIcons.tsx +0 -11
  190. package/src/assets/icons/BarCode.tsx +0 -11
  191. package/src/assets/icons/BoxIcon.tsx +0 -19
  192. package/src/assets/icons/BoxTickIcon.tsx +0 -19
  193. package/src/assets/icons/CallIcon.tsx +0 -9
  194. package/src/assets/icons/CarIcon.tsx +0 -10
  195. package/src/assets/icons/CardsIcon.tsx +0 -12
  196. package/src/assets/icons/CbmIcon.tsx +0 -11
  197. package/src/assets/icons/ClockIcon.tsx +0 -10
  198. package/src/assets/icons/Complete.tsx +0 -15
  199. package/src/assets/icons/CompleteIcon.tsx +0 -34
  200. package/src/assets/icons/CompletedIcon.tsx +0 -11
  201. package/src/assets/icons/DeleteIcon.tsx +0 -20
  202. package/src/assets/icons/DownArrowIcon.tsx +0 -18
  203. package/src/assets/icons/DownloadIcon.tsx +0 -26
  204. package/src/assets/icons/DriverIcon.tsx +0 -28
  205. package/src/assets/icons/DropDownLarge.tsx +0 -25
  206. package/src/assets/icons/EditIcon.tsx +0 -34
  207. package/src/assets/icons/ExportIcon.tsx +0 -14
  208. package/src/assets/icons/EyeIcon.tsx +0 -10
  209. package/src/assets/icons/FailedIcon.tsx +0 -44
  210. package/src/assets/icons/HeavyItemIcon.tsx +0 -36
  211. package/src/assets/icons/InComplete.tsx +0 -15
  212. package/src/assets/icons/LargeItemIcon.tsx +0 -60
  213. package/src/assets/icons/LateIcon.tsx +0 -12
  214. package/src/assets/icons/LineIcon.tsx +0 -10
  215. package/src/assets/icons/LockIcon.tsx +0 -35
  216. package/src/assets/icons/MapIcon.tsx +0 -11
  217. package/src/assets/icons/OctaIcon.tsx +0 -10
  218. package/src/assets/icons/OntimeTrackingIcons.tsx +0 -19
  219. package/src/assets/icons/PaperIcon.tsx +0 -10
  220. package/src/assets/icons/PendingIcon.tsx +0 -32
  221. package/src/assets/icons/PersonIcon.tsx +0 -27
  222. package/src/assets/icons/PointIcon.tsx +0 -10
  223. package/src/assets/icons/PrintIcon.tsx +0 -10
  224. package/src/assets/icons/PrivateIcon.tsx +0 -29
  225. package/src/assets/icons/RecipientIcon.tsx +0 -10
  226. package/src/assets/icons/ReminderIcon.tsx +0 -35
  227. package/src/assets/icons/RightArrowIcon.tsx +0 -15
  228. package/src/assets/icons/RoundCheckbox.tsx +0 -11
  229. package/src/assets/icons/StartIcon.tsx +0 -10
  230. package/src/assets/icons/TableIcon.tsx +0 -12
  231. package/src/assets/icons/TextIcon.tsx +0 -10
  232. package/src/assets/icons/ThreeIcon.tsx +0 -19
  233. package/src/assets/icons/TickIon.tsx +0 -10
  234. package/src/assets/icons/TomtomIcon.tsx +0 -23
  235. package/src/assets/icons/TotalOrderIcon.tsx +0 -12
  236. package/src/assets/icons/TrackIcon.tsx +0 -12
  237. package/src/assets/icons/TruckIcon.tsx +0 -20
  238. package/src/assets/icons/UnlockIcon.tsx +0 -35
  239. package/src/assets/icons/UserIcon.tsx +0 -10
  240. package/src/assets/icons/VehicleIcon.tsx +0 -11
  241. package/src/assets/icons/WeightIcon.tsx +0 -11
  242. package/src/assets/icons/ZigZagIcon.tsx +0 -10
  243. package/src/components/order-daily-overview/common/PrintDropDown.tsx +0 -100
  244. package/src/components/order-daily-overview/common/css/TableStyle.tsx +0 -202
  245. package/src/components/order-daily-overview/common/css/mediaQuery.ts +0 -13
  246. package/src/components/order-daily-overview/store/filterStore.ts +0 -100
  247. package/src/components/order-daily-overview/store/initialValues.ts +0 -16
  248. package/src/components/order-daily-overview/table/table-data/Fakedata.tsx +0 -432
  249. package/src/components/order-view/ProductData.tsx +0 -81
  250. package/src/components/order-view/details-filters/left-side-filters/dropdowns/DropDownItem.tsx +0 -33
  251. package/src/components/order-view/details-filters/left-side-filters/dropdowns/DropDownMenu.tsx +0 -42
  252. package/src/components/order-view/details-filters/left-side-filters/dropdowns/DropdownStyles.tsx +0 -25
  253. package/src/components/order-view/general-information/LockOrder.tsx +0 -113
  254. package/src/components/order-view/general-information/dropdowns/BjsMenu.tsx +0 -66
  255. package/src/components/order-view/general-information/dropdowns/CreateTask.tsx +0 -34
  256. package/src/components/order-view/general-information/dropdowns/SendEmail.tsx +0 -14
  257. package/src/components/order-view/general-information/dropdowns/SendSms.tsx +0 -14
  258. package/src/components/order-view/general-information/dropdowns/Tasks.tsx +0 -8
  259. package/src/components/order-view/general-information/dropdowns/Videos.tsx +0 -8
  260. package/src/components/order-view/general-information/dropdowns/ViewEpod.tsx +0 -8
  261. package/src/components/order-view/general-information/dropdowns/helper.tsx +0 -17
  262. package/src/components/order-view/general-information/dropdowns/index.tsx +0 -46
  263. package/src/components/order-view/modalsPopup/AddProduct.tsx +0 -234
  264. package/src/components/order-view/modalsPopup/BulkUpdateProduct.tsx +0 -145
  265. package/src/components/order-view/modalsPopup/DeleteProduct.tsx +0 -117
  266. package/src/components/order-view/modalsPopup/ProductAction.tsx +0 -79
  267. package/src/components/order-view/modalsPopup/RepackModal.tsx +0 -42
  268. package/src/components/order-view/modalsPopup/UnReceiveProduct.tsx +0 -72
  269. package/src/components/order-view/modalsPopup/UpdateProducts.tsx +0 -145
  270. package/src/components/order-view/modalsPopup/qclogs/AddDefect.tsx +0 -135
  271. package/src/components/order-view/modalsPopup/qclogs/DefetcDetails.tsx +0 -97
  272. package/src/components/order-view/modalsPopup/qclogs/OtherDamage.tsx +0 -125
  273. package/src/components/order-view/modalsPopup/qclogs/RepackDetails.tsx +0 -118
  274. package/src/components/order-view/modalsPopup/qclogs/RepackProduct.tsx +0 -63
  275. package/src/components/order-view/modalsPopup/qclogs/index.tsx +0 -62
  276. package/src/components/order-view/modalsPopup/qclogs/logsTable.tsx +0 -74
  277. package/src/components/order-view/notes/logs/columns/Details.tsx +0 -56
  278. package/src/components/order-view/notes/logs/columns/index.tsx +0 -2
  279. package/src/components/order-view/notification/OrderTemplate.tsx +0 -108
  280. package/src/components/order-view/order-actions/actions/cancel-order/CancelOrderTable.tsx +0 -95
  281. package/src/components/order-view/order-actions/actions/cancel-order/CancelationNote.tsx +0 -28
  282. package/src/components/order-view/order-actions/actions/cancel-order/CancelationReason.tsx +0 -18
  283. package/src/components/order-view/order-actions/actions/charge-log/DeleteLogModal.tsx +0 -39
  284. package/src/components/order-view/order-actions/actions/charge-log/index.tsx +0 -171
  285. package/src/components/order-view/order-actions/actions/escalation/Dropdowns.tsx +0 -95
  286. package/src/components/order-view/order-actions/actions/escalation/EscalationModal.tsx +0 -28
  287. package/src/components/order-view/order-actions/actions/escalation/NewEscalation.tsx +0 -139
  288. package/src/components/order-view/order-actions/actions/escalation/Notes.tsx +0 -36
  289. package/src/components/order-view/order-actions/actions/escalation/index.tsx +0 -31
  290. package/src/components/order-view/order-actions/actions/escalation/upgrade/index.tsx +0 -198
  291. package/src/components/order-view/order-actions/actions/restore-products/RestoreProducts.tsx +0 -139
  292. package/src/components/order-view/order-actions/actions/update-product-type/UpdateProductType.tsx +0 -365
  293. package/src/components/order-view/order-actions/actions/update-product-type/UpdateProductTypeStyle.tsx +0 -251
  294. package/src/components/order-view/order-actions/hooks/useFetchSingleReminder.ts +0 -60
  295. package/src/components/order-view/order-actions/hooks/useUpdateReminder.ts +0 -54
  296. package/src/components/order-view/order-details/expanded-content/orders-section/ValueField.tsx +0 -36
  297. package/src/components/order-view/order-resources/columns/Id.tsx +0 -17
  298. package/src/components/order-view/products-info/expanded-content/productList.tsx +0 -28
  299. package/src/components/order-view/products-info/expanded-content/products/Badge.tsx +0 -34
  300. package/src/components/order-view/products-info/expanded-content/products/index.tsx +0 -305
  301. package/src/components/order-view/products-info/types.ts +0 -1
  302. package/src/components/order-view/products-info/utils.ts +0 -14
  303. package/src/components/order-view/return-client-products/product-table-footer/ProductDetailsFooter.tsx +0 -37
  304. package/src/components/order-view/toolbox-resources/collapsed-content/index.tsx +0 -16
  305. package/src/components/order-view/toolbox-resources/expanded-content/index.tsx +0 -84
  306. package/src/components/order-view/view-reminder/AssigneeDropdown.tsx +0 -34
  307. package/src/components/order-view/view-reminder/ViewReminder.tsx +0 -315
  308. package/src/components/order-view/view-reminder/reminder-styles.tsx +0 -174
@@ -1,135 +0,0 @@
1
- import {
2
- AntSelect,
3
- Label,
4
- Button,
5
- } from '@bjsdistribution/dms-component-library';
6
- import React, { useState } from 'react';
7
- import styled from 'styled-components';
8
- import { DefectConfirm } from '../../../fakeData';
9
- import DefetcDetails from './DefetcDetails';
10
- import RepackDetails from './RepackDetails';
11
- import OtherDamage from './OtherDamage';
12
-
13
- const AddDefect = () => {
14
- const [state, setState] = useState({
15
- actionDuring: '',
16
- productDamage: '',
17
- productRepacked: '',
18
- defectDetails: [{}],
19
- productChecked: '',
20
- });
21
-
22
- const handleChange = (key: any) => (value: any) => {
23
- setState(prevState => ({ ...prevState, [key]: value }));
24
- console.log(`${key} option selected:`, value);
25
- };
26
-
27
- const addDefectDetail = () => {
28
- setState(prevState => ({
29
- ...prevState,
30
- defectDetails: [...prevState.defectDetails, {}],
31
- }));
32
- };
33
-
34
- return (
35
- <>
36
- <Container>
37
- <Flex>
38
- <LabelWrapper>
39
- <Label label="Does the packaging have any damage?" />
40
- <StyledAntSelect
41
- options={DefectConfirm}
42
- placeholder="Select"
43
- onChange={handleChange('actionDuring')}
44
- selectWrapperClass="rounded"
45
- />
46
- </LabelWrapper>
47
- {state.actionDuring === 'yes' && (
48
- <AddButton onClick={addDefectDetail}>Add Defect Detail</AddButton>
49
- )}
50
- </Flex>
51
- {state.actionDuring === 'yes' &&
52
- state.defectDetails.map((_, index) => <DefetcDetails key={index} />)}
53
- </Container>
54
-
55
- <Container>
56
- <Flex>
57
- <LabelWrapper>
58
- <Label label="Has the product been checked?" />
59
- <StyledAntSelect
60
- options={DefectConfirm}
61
- placeholder="Select"
62
- onChange={handleChange('productChecked')}
63
- selectWrapperClass="rounded"
64
- />
65
- </LabelWrapper>
66
-
67
- {state.productChecked === 'yes' && (
68
- <LabelWrapper>
69
- <Label label="Does the product have any damage?" />
70
- <StyledAntSelect
71
- options={DefectConfirm}
72
- placeholder="Select"
73
- onChange={handleChange('productDamage')}
74
- selectWrapperClass="rounded"
75
- />
76
- </LabelWrapper>
77
- )}
78
- </Flex>
79
-
80
- {state.productDamage === 'yes' && state.productChecked === 'yes' && (
81
- <OtherDamage />
82
- )}
83
- </Container>
84
-
85
- <Container>
86
- <Flex>
87
- <LabelWrapper>
88
- <Label label="Has the product been repacked?" />
89
- <StyledAntSelect
90
- options={DefectConfirm}
91
- placeholder="Select"
92
- onChange={handleChange('productRepacked')}
93
- selectWrapperClass="rounded"
94
- />
95
- </LabelWrapper>
96
- </Flex>
97
- {state.productRepacked === 'yes' && <RepackDetails />}
98
- </Container>
99
- </>
100
- );
101
- };
102
-
103
- export default AddDefect;
104
-
105
- const StyledAntSelect = styled(AntSelect)`
106
- width: 20vw;
107
- `;
108
-
109
- const Container = styled.div`
110
- display: flex;
111
- gap: 15px;
112
- flex-direction: column;
113
- border: 1px solid #e6e6e6;
114
- border-radius: 15px;
115
- padding: 10px;
116
- `;
117
-
118
- const Flex = styled.div`
119
- display: flex;
120
- flex-direction: row;
121
- gap: 10px;
122
- /* justify-content: space-between; */
123
- `;
124
-
125
- const LabelWrapper = styled.div`
126
- display: flex;
127
- flex-direction: column;
128
- gap: 10px;
129
- width: 20vw;
130
- `;
131
-
132
- const AddButton = styled(Button)`
133
- margin-top: 10px;
134
- border-radius: 30px;
135
- `;
@@ -1,97 +0,0 @@
1
- import { AntSelect, Label } from '@bjsdistribution/dms-component-library';
2
- import React from 'react';
3
- import { TaskType } from '../../../fakeData';
4
- import styled from 'styled-components';
5
-
6
- const DefetcDetails = () => {
7
- const handleSelectChange = () => {
8
- console.log('Option selected');
9
- };
10
-
11
- return (
12
- <Container>
13
- <Flex>
14
- <LabelWrapper>
15
- <Label label="What is the defect" />
16
- <StyledAntSelect
17
- options={TaskType}
18
- placeholder="Select defect"
19
- onChange={handleSelectChange}
20
- selectWrapperClass="rounded"
21
- />
22
- </LabelWrapper>
23
- <LabelWrapper>
24
- <Label label="What is the size of the defect?(cm)" />
25
- <StyledAntSelect
26
- options={TaskType}
27
- placeholder="Select Category"
28
- onChange={handleSelectChange}
29
- selectWrapperClass="rounded"
30
- />
31
- </LabelWrapper>
32
- </Flex>
33
- <Flex>
34
- <LabelWrapper>
35
- <Label label="Where is the primary defect located?" />
36
- <StyledAntSelect
37
- options={TaskType}
38
- placeholder="Select located"
39
- onChange={handleSelectChange}
40
- selectWrapperClass="rounded"
41
- />
42
- </LabelWrapper>
43
- </Flex>
44
- <Flex>
45
- <LabelWrapper>
46
- <Label label="Where is the secondary defect located?" />
47
- <StyledAntSelect
48
- options={TaskType}
49
- placeholder="Select secondary defect"
50
- onChange={handleSelectChange}
51
- selectWrapperClass="rounded"
52
- />
53
- </LabelWrapper>
54
- <LabelWrapper>
55
- <Label label="Defect Images" />
56
- <StyledAntSelect
57
- options={TaskType}
58
- placeholder="Select Category"
59
- onChange={handleSelectChange}
60
- selectWrapperClass="rounded"
61
- />
62
- </LabelWrapper>
63
- </Flex>
64
- </Container>
65
- );
66
- };
67
-
68
- export default DefetcDetails;
69
-
70
- const StyledAntSelect = styled(AntSelect)`
71
- width: 20vw;
72
- `;
73
-
74
- const Container = styled.div`
75
- display: flex;
76
- gap: 15px;
77
- border: 1px solid #ccc;
78
- border-radius: 15px;
79
- padding: 10px;
80
- white-space: nowrap;
81
- `;
82
-
83
- const Flex = styled.div`
84
- display: flex;
85
- flex-wrap: wrap;
86
- gap: 10px;
87
-
88
- @media (max-width: 768px) {
89
- flex-direction: column;
90
- }
91
- `;
92
-
93
- const LabelWrapper = styled.div`
94
- display: flex;
95
- flex-direction: column;
96
- gap: 10px;
97
- `;
@@ -1,125 +0,0 @@
1
- import { AntSelect, Label } from '@bjsdistribution/dms-component-library';
2
- import React from 'react';
3
- import styled from 'styled-components';
4
- import { TaskType } from '../../../fakeData';
5
-
6
- const OtherDamage = () => {
7
- const handleSelectChange = () => {
8
- console.log('Option selected');
9
- };
10
-
11
- return (
12
- <Container>
13
- <Flex>
14
- <LabelWrapper>
15
- <Label label="What is the primary defect?" />
16
- <StyledAntSelect
17
- options={TaskType}
18
- placeholder="Select defect"
19
- onChange={handleSelectChange}
20
- selectWrapperClass="rounded"
21
- />
22
- </LabelWrapper>
23
- <LabelWrapper>
24
- <Label label="Where is the Primary defect located?" />
25
- <StyledAntSelect
26
- options={TaskType}
27
- placeholder="Select secondary defect"
28
- onChange={handleSelectChange}
29
- selectWrapperClass="rounded"
30
- />
31
- </LabelWrapper>
32
- </Flex>
33
-
34
- <Flex>
35
- <LabelWrapper>
36
- <Label label="What is the secondary defect?" />
37
- <StyledAntSelect
38
- options={TaskType}
39
- placeholder="Select Category"
40
- onChange={handleSelectChange}
41
- selectWrapperClass="rounded"
42
- />
43
- </LabelWrapper>
44
-
45
- <LabelWrapper>
46
- <Label label="Where is the secondary defect located?" />
47
- <StyledAntSelect
48
- options={TaskType}
49
- placeholder="Select Category"
50
- onChange={handleSelectChange}
51
- selectWrapperClass="rounded"
52
- />
53
- </LabelWrapper>
54
- </Flex>
55
- <Flex>
56
- <LabelWrapper>
57
- <Label
58
- label="Where is the tertiary defect located?
59
- "
60
- />
61
- <StyledAntSelect
62
- options={TaskType}
63
- placeholder="Select Category"
64
- onChange={handleSelectChange}
65
- selectWrapperClass="rounded"
66
- />
67
- </LabelWrapper>
68
- <LabelWrapper>
69
- <Label
70
- label="Defect Images
71
- "
72
- />
73
- <StyledAntSelect
74
- options={TaskType}
75
- placeholder="Select secondary defect"
76
- onChange={handleSelectChange}
77
- selectWrapperClass="rounded"
78
- />
79
- </LabelWrapper>
80
- </Flex>
81
- <Flex>
82
- <LabelWrapper>
83
- <Label label="What is the size of the defect?(cm)" />
84
- <StyledAntSelect
85
- options={TaskType}
86
- placeholder="Select located"
87
- onChange={handleSelectChange}
88
- selectWrapperClass="rounded"
89
- />
90
- </LabelWrapper>
91
- </Flex>
92
- </Container>
93
- );
94
- };
95
-
96
- export default OtherDamage;
97
-
98
- const StyledAntSelect = styled(AntSelect)`
99
- width: 20vw;
100
- `;
101
-
102
- const Container = styled.div`
103
- display: flex;
104
- gap: 15px;
105
- border: 1px solid #ccc;
106
- border-radius: 15px;
107
- padding: 10px;
108
- white-space: nowrap;
109
- `;
110
-
111
- const Flex = styled.div`
112
- display: flex;
113
- flex-wrap: wrap;
114
- gap: 10px;
115
-
116
- @media (max-width: 768px) {
117
- flex-direction: column;
118
- }
119
- `;
120
-
121
- const LabelWrapper = styled.div`
122
- display: flex;
123
- flex-direction: column;
124
- gap: 10px;
125
- `;
@@ -1,118 +0,0 @@
1
- import { AntSelect, Label } from '@bjsdistribution/dms-component-library';
2
- import React, { useState } from 'react';
3
- import { TaskType } from '../../../fakeData';
4
- import styled from 'styled-components';
5
- import { Checkbox, Input } from 'antd';
6
- import RepackProduct from './RepackProduct';
7
-
8
- const RepackDetails = () => {
9
- const [isAdditionalBoxChecked, setIsAdditionalBoxChecked] = useState(false);
10
- const [isRepacked, setIsRepacked] = useState(false);
11
- const handleSelectChange = () => {
12
- console.log('Option selected');
13
- };
14
-
15
- return (
16
- <>
17
- <Container>
18
- <Flex>
19
- <Flex>
20
- <LabelWrapper>
21
- <Label label="Who repacked it?" />
22
- <StyledAntSelect
23
- options={TaskType}
24
- placeholder="Select Category"
25
- onChange={handleSelectChange}
26
- selectWrapperClass="rounded"
27
- />
28
- </LabelWrapper>
29
- </Flex>
30
- <Flex>
31
- <LabelWrapper>
32
- <Label label="Packaging Type" />
33
- <StyledAntSelect
34
- options={TaskType}
35
- placeholder="Select located"
36
- onChange={handleSelectChange}
37
- selectWrapperClass="rounded"
38
- />
39
- </LabelWrapper>
40
- </Flex>
41
- <Flex>
42
- <LabelWrapper>
43
- <Label label="Repack Images" />
44
- <StyledAntSelect
45
- options={TaskType}
46
- placeholder="Select secondary defect"
47
- onChange={handleSelectChange}
48
- selectWrapperClass="rounded"
49
- />
50
- </LabelWrapper>
51
- </Flex>
52
- </Flex>
53
-
54
- <Flex>
55
- <CheckboxContainer>
56
- <Checkbox
57
- onChange={e => setIsAdditionalBoxChecked(e.target.checked)}
58
- >
59
- Has this been repacked into any additional boxes?
60
- </Checkbox>
61
- {isAdditionalBoxChecked && (
62
- <InputWrapper>
63
- <Label label="Number of boxes" />
64
- <Input type="number" placeholder="Enter number of boxes" />
65
- </InputWrapper>
66
- )}
67
- <Checkbox onChange={e => setIsRepacked(e.target.checked)}>
68
- Have any other boxes repacked into this one?
69
- </Checkbox>
70
- {isRepacked && <RepackProduct />}
71
- </CheckboxContainer>
72
- </Flex>
73
- </Container>
74
- </>
75
- );
76
- };
77
- export default RepackDetails;
78
-
79
- const StyledAntSelect = styled(AntSelect)`
80
- width: 20vw;
81
- `;
82
- const CheckboxContainer = styled.div`
83
- display: flex;
84
- flex-direction: column;
85
- gap: 10px;
86
- margin-top: 10px;
87
- `;
88
-
89
- const InputWrapper = styled.div`
90
- display: flex;
91
- gap: 5px;
92
- margin-left: 24px; // Indent input field to align with the checkbox
93
- `;
94
- const Container = styled.div`
95
- display: flex;
96
- flex-direction: column;
97
- gap: 15px;
98
- border: 1px solid #ccc;
99
- border-radius: 15px;
100
- padding: 10px;
101
- white-space: nowrap;
102
- `;
103
-
104
- const Flex = styled.div`
105
- display: flex;
106
- flex-wrap: wrap;
107
- gap: 10px;
108
-
109
- @media (max-width: 768px) {
110
- flex-direction: column;
111
- }
112
- `;
113
-
114
- const LabelWrapper = styled.div`
115
- display: flex;
116
- flex-direction: column;
117
- gap: 10px;
118
- `;
@@ -1,63 +0,0 @@
1
- import { AntTable } from '@bjsdistribution/dms-component-library';
2
- import React from 'react';
3
- import styled from 'styled-components';
4
-
5
- const RepackProduct = () => {
6
- const options = [
7
- { value: 'bjsCouriers', label: 'BJS COURIERS' },
8
- { value: 'bjsSales', label: 'BJS SALES' },
9
- { value: 'test', label: 'TEST' },
10
- ];
11
-
12
- const data = [
13
- {
14
- type: 'Deliver',
15
- code: 'WDB10953',
16
- scan: 'Delivered',
17
- description: '2000 HYBRID/DOUBLE COXMOOR NEST OF 3 TABLES - OAK',
18
- barcode: '006997824015370739',
19
- },
20
- {
21
- type: 'Deliver',
22
- code: 'WDB10953',
23
- scan: 'Delivered',
24
- description: '2000 HYBRID/DOUBLE COXMOOR NEST OF 3 TABLES - OAK',
25
- barcode: '006997824015370739',
26
- },
27
- {
28
- type: 'Deliver',
29
- code: 'WDB10953',
30
- scan: 'Delivered',
31
- description: '2000 HYBRID/DOUBLE COXMOOR NEST OF 3 TABLES - OAK',
32
- barcode: '006997824015370739',
33
- },
34
- ];
35
-
36
- const columns = [
37
- { key: 'checkbox', title: '', isCheckbox: true },
38
- { key: 'type', title: 'Type' },
39
- { key: 'code', title: 'Code' },
40
- { key: 'scan', title: 'Scan' },
41
- { key: 'description', title: 'Description' },
42
- { key: 'barcode', title: 'Barcode' },
43
- ];
44
-
45
- return (
46
- <>
47
- <GLobalPopupContent>
48
- <AntTable
49
- columns={columns}
50
- data={data}
51
- selectOptions={options}
52
- onSelectChange={(value: any, record: any) =>
53
- console.log('Selected value:', value, 'for record:', record)
54
- }
55
- />
56
- </GLobalPopupContent>
57
- </>
58
- );
59
- };
60
-
61
- export default RepackProduct;
62
-
63
- const GLobalPopupContent = styled.div``;
@@ -1,62 +0,0 @@
1
- import { AntSelect, Label } from '@bjsdistribution/dms-component-library';
2
- import React from 'react';
3
- import styled from 'styled-components';
4
- import { TaskType } from '../../../fakeData';
5
- import AddDefect from './AddDefect';
6
-
7
- const QCLogs = () => {
8
- const handleSelectChange = () => {
9
- console.log('Option selected');
10
- };
11
-
12
- return (
13
- <Container>
14
- <Flex>
15
- <LabelWrapper>
16
- <Label label="Action During" />
17
- <StyledAntSelect
18
- options={TaskType}
19
- placeholder="Select"
20
- onChange={handleSelectChange}
21
- selectWrapperClass="rounded"
22
- />
23
- </LabelWrapper>
24
- <LabelWrapper>
25
- <Label label="Product Category" />
26
- <StyledAntSelect
27
- options={TaskType}
28
- placeholder="Select Category"
29
- onChange={handleSelectChange}
30
- selectWrapperClass="rounded"
31
- />
32
- </LabelWrapper>
33
- </Flex>
34
- {<AddDefect />}
35
- </Container>
36
- );
37
- };
38
-
39
- export default QCLogs;
40
-
41
- const StyledAntSelect = styled(AntSelect)`
42
- width: 20vw;
43
- `;
44
-
45
- const Container = styled.div`
46
- display: flex;
47
- gap: 15px;
48
- flex-direction: column;
49
- `;
50
-
51
- const Flex = styled.div`
52
- display: flex;
53
- flex-direction: row;
54
- gap: 10px;
55
- `;
56
-
57
- const LabelWrapper = styled.div`
58
- display: flex;
59
- flex-direction: column;
60
- gap: 10px;
61
- width: 20vw;
62
- `;
@@ -1,74 +0,0 @@
1
- import { AntTable } from '@bjsdistribution/dms-component-library';
2
- import React from 'react';
3
- import styled from 'styled-components';
4
-
5
- const LogsTable = () => {
6
- const options = [
7
- { value: 'bjsCouriers', label: 'BJS COURIERS' },
8
- { value: 'bjsSales', label: 'BJS SALES' },
9
- { value: 'test', label: 'TEST' },
10
- ];
11
-
12
- const data = [
13
- {
14
- PackagingType: 'Original Packaging',
15
- PackagingStatus: 'No Issues',
16
- QCCompleted: 'Delivered',
17
- ProductStatus: '2000 HYBRID/DOUBLE COXMOOR NEST OF 3 TABLES - OAK',
18
- CreatedBy: '006997824015370739',
19
- Date: '',
20
- Images: '',
21
- Actions: '',
22
- },
23
- {
24
- PackagingType: 'Original Packaging',
25
- PackagingStatus: 'No Issues',
26
- QCCompleted: 'Delivered',
27
- ProductStatus: '2000 HYBRID/DOUBLE COXMOOR NEST OF 3 TABLES - OAK',
28
- CreatedBy: '006997824015370739',
29
- Date: '',
30
- Images: '',
31
- Actions: '',
32
- },
33
- {
34
- PackagingType: 'Original Packaging',
35
- PackagingStatus: 'No Issues',
36
- QCCompleted: 'Delivered',
37
- ProductStatus: '2000 HYBRID/DOUBLE COXMOOR NEST OF 3 TABLES - OAK',
38
- CreatedBy: '006997824015370739',
39
- Date: '',
40
- Images: '',
41
- Actions: '',
42
- },
43
- ];
44
-
45
- const columns = [
46
- { key: 'PackagingType', title: 'Packaging Type', isCheckbox: true },
47
- { key: 'PackagingStatus', title: 'Packaging Status' },
48
- { key: 'QCCompleted', title: 'QC Completed' },
49
- { key: 'ProductStatus', title: 'Product Status' },
50
- { key: 'CreatedBy', title: 'Created By' },
51
- { key: 'Date', title: 'Date' },
52
- { key: 'Images', title: 'Images' },
53
- { key: 'Actions', title: 'Actions' },
54
- ];
55
-
56
- return (
57
- <>
58
- <GlobalPopupContent>
59
- <AntTable
60
- columns={columns}
61
- data={data}
62
- selectOptions={options}
63
- onSelectChange={(value: any, record: any) =>
64
- console.log('Selected value:', value, 'for record:', record)
65
- }
66
- />
67
- </GlobalPopupContent>
68
- </>
69
- );
70
- };
71
-
72
- export default LogsTable;
73
-
74
- const GlobalPopupContent = styled.div``;