@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.
- package/dist/components/order-daily-overview/common/interface.d.ts +0 -80
- package/dist/components/order-view/hooks/AddResources.d.ts +2 -0
- package/dist/components/order-view/notes/logs/helper.d.ts +1 -2
- package/dist/components/order-view/order-actions/actions/add-resources/DocFileUpload.d.ts +3 -0
- package/dist/components/order-view/order-actions/actions/clear-booking-status/ClearBookingStatus.d.ts +3 -0
- package/dist/components/order-view/order-actions/actions/create-task-reminder/TaskModal.d.ts +4 -0
- package/dist/components/order-view/order-actions/actions/remove-from-route/RemoveFromRoute.d.ts +3 -0
- package/dist/components/order-view/order-actions/store.d.ts +15 -0
- package/dist/components/order-view/order-resources/columns/actions/index.d.ts +12 -2
- package/dist/components/order-view/order-resources/columns/index.d.ts +1 -0
- package/dist/components/order-view/order-resources/helper.d.ts +2 -2
- package/dist/components/order-view/store.d.ts +1 -1
- package/dist/components/order-view/types.d.ts +2 -1
- package/dist/components/store.d.ts +1 -0
- package/dist/dms-client-return.cjs.development.js +2644 -2227
- package/dist/dms-client-return.cjs.development.js.map +1 -1
- package/dist/dms-client-return.cjs.production.min.js +1 -1
- package/dist/dms-client-return.cjs.production.min.js.map +1 -1
- package/dist/dms-client-return.esm.js +3062 -2645
- package/dist/dms-client-return.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/components/order-daily-overview/common/interface.ts +0 -85
- package/src/components/order-daily-overview/filters/Filters.tsx +0 -56
- package/src/components/order-daily-overview/header/input/dropdown/index.tsx +0 -1
- package/src/components/order-daily-overview/header/route-header/RouterHeader.tsx +1 -35
- package/src/components/order-daily-overview/header/table-filter/TableFilter.tsx +3 -4
- package/src/components/order-daily-overview/header-filters/HeaderFilter.tsx +0 -65
- package/src/components/order-daily-overview/return-after-table/table-filters/TableFilters.tsx +1 -106
- package/src/components/order-daily-overview/store/store.ts +0 -13
- package/src/components/order-view/details-filters/left-side-filters/ActionsMenu.tsx +0 -2
- package/src/components/order-view/details-filters/left-side-filters/actions/Actions.tsx +0 -13
- package/src/components/order-view/fakedata.ts +14 -5
- package/src/components/order-view/hooks/AddResources.tsx +54 -0
- package/src/components/order-view/index.tsx +23 -1
- package/src/components/order-view/notification/FlagTemplate.tsx +1 -1
- package/src/components/order-view/notification/Tabs.tsx +0 -2
- package/src/components/order-view/order-actions/actions/add-resources/CategoryDropdown.tsx +24 -9
- package/src/components/order-view/order-actions/actions/add-resources/DocFileUpload.tsx +141 -49
- package/src/components/order-view/order-actions/actions/add-resources/DocumentTypeDropdown.tsx +28 -5
- package/src/components/order-view/order-actions/actions/add-resources/Visibility.tsx +31 -14
- package/src/components/order-view/order-actions/actions/add-resources/index.tsx +99 -11
- package/src/components/order-view/order-actions/actions/cancel-order/index.tsx +0 -4
- package/src/components/order-view/order-actions/actions/clear-booking-status/ClearBookingStatus.tsx +113 -0
- package/src/components/order-view/order-actions/actions/create-task-reminder/CreateTaskModal.tsx +3 -3
- package/src/components/order-view/order-actions/actions/create-task-reminder/TaskModal.tsx +149 -0
- package/src/components/order-view/order-actions/actions/remove-from-route/RemoveFromRoute.tsx +91 -0
- package/src/components/order-view/order-actions/hooks/useCreateReminder.ts +0 -5
- package/src/components/order-view/order-actions/index.tsx +10 -9
- package/src/components/order-view/order-actions/store.ts +6 -0
- package/src/components/order-view/order-details/expanded-content/orders-section/Carrier.tsx +29 -10
- package/src/components/order-view/order-details/expanded-content/orders-section/index.tsx +0 -3
- package/src/components/order-view/order-resources/collapsed-content/index.tsx +2 -2
- package/src/components/order-view/order-resources/columns/Date.tsx +2 -1
- package/src/components/order-view/order-resources/columns/actions/index.tsx +133 -5
- package/src/components/order-view/order-resources/columns/index.tsx +1 -0
- package/src/components/order-view/order-resources/expanded-content/index.tsx +11 -11
- package/src/components/order-view/order-resources/helper.ts +7 -1
- package/src/components/order-view/store.ts +5 -10
- package/src/components/order-view/system-event-logs/columns/index.tsx +0 -1
- package/src/components/order-view/types.ts +6 -3
- package/src/components/order-view/utils.ts +17 -1
- package/src/components/store.ts +6 -0
- package/dist/assets/PostCodeIcon.d.ts +0 -3
- package/dist/assets/icons/ArrivalIcon.d.ts +0 -3
- package/dist/assets/icons/ArrowIcon.d.ts +0 -3
- package/dist/assets/icons/AssemblyIcons.d.ts +0 -3
- package/dist/assets/icons/BarCode.d.ts +0 -3
- package/dist/assets/icons/BoxIcon.d.ts +0 -3
- package/dist/assets/icons/BoxTickIcon.d.ts +0 -3
- package/dist/assets/icons/CallIcon.d.ts +0 -3
- package/dist/assets/icons/CarIcon.d.ts +0 -3
- package/dist/assets/icons/CardsIcon.d.ts +0 -3
- package/dist/assets/icons/CbmIcon.d.ts +0 -3
- package/dist/assets/icons/ClockIcon.d.ts +0 -3
- package/dist/assets/icons/Complete.d.ts +0 -3
- package/dist/assets/icons/CompleteIcon.d.ts +0 -3
- package/dist/assets/icons/CompletedIcon.d.ts +0 -3
- package/dist/assets/icons/DeleteIcon.d.ts +0 -3
- package/dist/assets/icons/DownArrowIcon.d.ts +0 -3
- package/dist/assets/icons/DownloadIcon.d.ts +0 -3
- package/dist/assets/icons/DriverIcon.d.ts +0 -3
- package/dist/assets/icons/DropDownLarge.d.ts +0 -3
- package/dist/assets/icons/EditIcon.d.ts +0 -3
- package/dist/assets/icons/ExportIcon.d.ts +0 -3
- package/dist/assets/icons/EyeIcon.d.ts +0 -3
- package/dist/assets/icons/FailedIcon.d.ts +0 -3
- package/dist/assets/icons/HeavyItemIcon.d.ts +0 -3
- package/dist/assets/icons/InComplete.d.ts +0 -3
- package/dist/assets/icons/LargeItemIcon.d.ts +0 -3
- package/dist/assets/icons/LateIcon.d.ts +0 -3
- package/dist/assets/icons/LineIcon.d.ts +0 -3
- package/dist/assets/icons/LockIcon.d.ts +0 -3
- package/dist/assets/icons/MapIcon.d.ts +0 -3
- package/dist/assets/icons/OctaIcon.d.ts +0 -3
- package/dist/assets/icons/OntimeTrackingIcons.d.ts +0 -3
- package/dist/assets/icons/PaperIcon.d.ts +0 -3
- package/dist/assets/icons/PendingIcon.d.ts +0 -3
- package/dist/assets/icons/PersonIcon.d.ts +0 -3
- package/dist/assets/icons/PointIcon.d.ts +0 -3
- package/dist/assets/icons/PrintIcon.d.ts +0 -3
- package/dist/assets/icons/PrivateIcon.d.ts +0 -3
- package/dist/assets/icons/RecipientIcon.d.ts +0 -3
- package/dist/assets/icons/ReminderIcon.d.ts +0 -3
- package/dist/assets/icons/RightArrowIcon.d.ts +0 -3
- package/dist/assets/icons/RoundCheckbox.d.ts +0 -3
- package/dist/assets/icons/StartIcon.d.ts +0 -3
- package/dist/assets/icons/TableIcon.d.ts +0 -3
- package/dist/assets/icons/TextIcon.d.ts +0 -3
- package/dist/assets/icons/ThreeIcon.d.ts +0 -3
- package/dist/assets/icons/TickIon.d.ts +0 -3
- package/dist/assets/icons/TomtomIcon.d.ts +0 -3
- package/dist/assets/icons/TotalOrderIcon.d.ts +0 -3
- package/dist/assets/icons/TrackIcon.d.ts +0 -3
- package/dist/assets/icons/TruckIcon.d.ts +0 -3
- package/dist/assets/icons/UnlockIcon.d.ts +0 -3
- package/dist/assets/icons/UserIcon.d.ts +0 -3
- package/dist/assets/icons/VehicleIcon.d.ts +0 -3
- package/dist/assets/icons/WeightIcon.d.ts +0 -3
- package/dist/assets/icons/ZigZagIcon.d.ts +0 -3
- package/dist/components/order-daily-overview/common/PrintDropDown.d.ts +0 -8
- package/dist/components/order-daily-overview/common/css/TableStyle.d.ts +0 -21
- package/dist/components/order-daily-overview/common/css/mediaQuery.d.ts +0 -4
- package/dist/components/order-daily-overview/store/filterStore.d.ts +0 -16
- package/dist/components/order-daily-overview/store/initialValues.d.ts +0 -16
- package/dist/components/order-daily-overview/table/table-data/Fakedata.d.ts +0 -144
- package/dist/components/order-view/ProductData.d.ts +0 -14
- package/dist/components/order-view/details-filters/left-side-filters/dropdowns/DropDownItem.d.ts +0 -8
- package/dist/components/order-view/details-filters/left-side-filters/dropdowns/DropDownMenu.d.ts +0 -10
- package/dist/components/order-view/details-filters/left-side-filters/dropdowns/DropdownStyles.d.ts +0 -3
- package/dist/components/order-view/general-information/LockOrder.d.ts +0 -4
- package/dist/components/order-view/general-information/dropdowns/BjsMenu.d.ts +0 -3
- package/dist/components/order-view/general-information/dropdowns/CreateTask.d.ts +0 -3
- package/dist/components/order-view/general-information/dropdowns/SendEmail.d.ts +0 -3
- package/dist/components/order-view/general-information/dropdowns/SendSms.d.ts +0 -3
- package/dist/components/order-view/general-information/dropdowns/Tasks.d.ts +0 -3
- package/dist/components/order-view/general-information/dropdowns/Videos.d.ts +0 -3
- package/dist/components/order-view/general-information/dropdowns/ViewEpod.d.ts +0 -3
- package/dist/components/order-view/general-information/dropdowns/helper.d.ts +0 -1
- package/dist/components/order-view/general-information/dropdowns/index.d.ts +0 -3
- package/dist/components/order-view/modalsPopup/AddProduct.d.ts +0 -3
- package/dist/components/order-view/modalsPopup/BulkUpdateProduct.d.ts +0 -3
- package/dist/components/order-view/modalsPopup/DeleteProduct.d.ts +0 -3
- package/dist/components/order-view/modalsPopup/ProductAction.d.ts +0 -3
- package/dist/components/order-view/modalsPopup/RepackModal.d.ts +0 -3
- package/dist/components/order-view/modalsPopup/UnReceiveProduct.d.ts +0 -3
- package/dist/components/order-view/modalsPopup/UpdateProducts.d.ts +0 -3
- package/dist/components/order-view/modalsPopup/qclogs/AddDefect.d.ts +0 -3
- package/dist/components/order-view/modalsPopup/qclogs/DefetcDetails.d.ts +0 -3
- package/dist/components/order-view/modalsPopup/qclogs/OtherDamage.d.ts +0 -3
- package/dist/components/order-view/modalsPopup/qclogs/RepackDetails.d.ts +0 -3
- package/dist/components/order-view/modalsPopup/qclogs/RepackProduct.d.ts +0 -3
- package/dist/components/order-view/modalsPopup/qclogs/index.d.ts +0 -3
- package/dist/components/order-view/modalsPopup/qclogs/logsTable.d.ts +0 -3
- package/dist/components/order-view/notes/logs/columns/Details.d.ts +0 -3
- package/dist/components/order-view/notes/logs/columns/index.d.ts +0 -2
- package/dist/components/order-view/notification/OrderTemplate.d.ts +0 -3
- package/dist/components/order-view/order-actions/actions/cancel-order/CancelOrderTable.d.ts +0 -3
- package/dist/components/order-view/order-actions/actions/cancel-order/CancelationNote.d.ts +0 -3
- package/dist/components/order-view/order-actions/actions/cancel-order/CancelationReason.d.ts +0 -3
- package/dist/components/order-view/order-actions/actions/charge-log/DeleteLogModal.d.ts +0 -3
- package/dist/components/order-view/order-actions/actions/charge-log/index.d.ts +0 -3
- package/dist/components/order-view/order-actions/actions/escalation/Dropdowns.d.ts +0 -3
- package/dist/components/order-view/order-actions/actions/escalation/EscalationModal.d.ts +0 -3
- package/dist/components/order-view/order-actions/actions/escalation/NewEscalation.d.ts +0 -3
- package/dist/components/order-view/order-actions/actions/escalation/Notes.d.ts +0 -3
- package/dist/components/order-view/order-actions/actions/escalation/index.d.ts +0 -3
- package/dist/components/order-view/order-actions/actions/escalation/upgrade/index.d.ts +0 -3
- package/dist/components/order-view/order-actions/actions/restore-products/RestoreProducts.d.ts +0 -3
- package/dist/components/order-view/order-actions/actions/update-product-type/UpdateProductType.d.ts +0 -7
- package/dist/components/order-view/order-actions/actions/update-product-type/UpdateProductTypeStyle.d.ts +0 -9
- package/dist/components/order-view/order-actions/hooks/useFetchSingleReminder.d.ts +0 -2
- package/dist/components/order-view/order-actions/hooks/useUpdateReminder.d.ts +0 -3
- package/dist/components/order-view/order-details/expanded-content/orders-section/ValueField.d.ts +0 -3
- package/dist/components/order-view/order-resources/columns/Id.d.ts +0 -3
- package/dist/components/order-view/products-info/expanded-content/productList.d.ts +0 -0
- package/dist/components/order-view/products-info/expanded-content/products/Badge.d.ts +0 -6
- package/dist/components/order-view/products-info/expanded-content/products/index.d.ts +0 -7
- package/dist/components/order-view/products-info/types.d.ts +0 -1
- package/dist/components/order-view/products-info/utils.d.ts +0 -2
- package/dist/components/order-view/return-client-products/product-table-footer/ProductDetailsFooter.d.ts +0 -3
- package/dist/components/order-view/toolbox-resources/collapsed-content/index.d.ts +0 -3
- package/dist/components/order-view/toolbox-resources/expanded-content/index.d.ts +0 -3
- package/dist/components/order-view/view-reminder/AssigneeDropdown.d.ts +0 -3
- package/dist/components/order-view/view-reminder/ViewReminder.d.ts +0 -3
- package/dist/components/order-view/view-reminder/reminder-styles.d.ts +0 -25
- package/src/assets/PostCodeIcon.tsx +0 -32
- package/src/assets/icons/ArrivalIcon.tsx +0 -11
- package/src/assets/icons/ArrowIcon.tsx +0 -11
- package/src/assets/icons/AssemblyIcons.tsx +0 -11
- package/src/assets/icons/BarCode.tsx +0 -11
- package/src/assets/icons/BoxIcon.tsx +0 -19
- package/src/assets/icons/BoxTickIcon.tsx +0 -19
- package/src/assets/icons/CallIcon.tsx +0 -9
- package/src/assets/icons/CarIcon.tsx +0 -10
- package/src/assets/icons/CardsIcon.tsx +0 -12
- package/src/assets/icons/CbmIcon.tsx +0 -11
- package/src/assets/icons/ClockIcon.tsx +0 -10
- package/src/assets/icons/Complete.tsx +0 -15
- package/src/assets/icons/CompleteIcon.tsx +0 -34
- package/src/assets/icons/CompletedIcon.tsx +0 -11
- package/src/assets/icons/DeleteIcon.tsx +0 -20
- package/src/assets/icons/DownArrowIcon.tsx +0 -18
- package/src/assets/icons/DownloadIcon.tsx +0 -26
- package/src/assets/icons/DriverIcon.tsx +0 -28
- package/src/assets/icons/DropDownLarge.tsx +0 -25
- package/src/assets/icons/EditIcon.tsx +0 -34
- package/src/assets/icons/ExportIcon.tsx +0 -14
- package/src/assets/icons/EyeIcon.tsx +0 -10
- package/src/assets/icons/FailedIcon.tsx +0 -44
- package/src/assets/icons/HeavyItemIcon.tsx +0 -36
- package/src/assets/icons/InComplete.tsx +0 -15
- package/src/assets/icons/LargeItemIcon.tsx +0 -60
- package/src/assets/icons/LateIcon.tsx +0 -12
- package/src/assets/icons/LineIcon.tsx +0 -10
- package/src/assets/icons/LockIcon.tsx +0 -35
- package/src/assets/icons/MapIcon.tsx +0 -11
- package/src/assets/icons/OctaIcon.tsx +0 -10
- package/src/assets/icons/OntimeTrackingIcons.tsx +0 -19
- package/src/assets/icons/PaperIcon.tsx +0 -10
- package/src/assets/icons/PendingIcon.tsx +0 -32
- package/src/assets/icons/PersonIcon.tsx +0 -27
- package/src/assets/icons/PointIcon.tsx +0 -10
- package/src/assets/icons/PrintIcon.tsx +0 -10
- package/src/assets/icons/PrivateIcon.tsx +0 -29
- package/src/assets/icons/RecipientIcon.tsx +0 -10
- package/src/assets/icons/ReminderIcon.tsx +0 -35
- package/src/assets/icons/RightArrowIcon.tsx +0 -15
- package/src/assets/icons/RoundCheckbox.tsx +0 -11
- package/src/assets/icons/StartIcon.tsx +0 -10
- package/src/assets/icons/TableIcon.tsx +0 -12
- package/src/assets/icons/TextIcon.tsx +0 -10
- package/src/assets/icons/ThreeIcon.tsx +0 -19
- package/src/assets/icons/TickIon.tsx +0 -10
- package/src/assets/icons/TomtomIcon.tsx +0 -23
- package/src/assets/icons/TotalOrderIcon.tsx +0 -12
- package/src/assets/icons/TrackIcon.tsx +0 -12
- package/src/assets/icons/TruckIcon.tsx +0 -20
- package/src/assets/icons/UnlockIcon.tsx +0 -35
- package/src/assets/icons/UserIcon.tsx +0 -10
- package/src/assets/icons/VehicleIcon.tsx +0 -11
- package/src/assets/icons/WeightIcon.tsx +0 -11
- package/src/assets/icons/ZigZagIcon.tsx +0 -10
- package/src/components/order-daily-overview/common/PrintDropDown.tsx +0 -100
- package/src/components/order-daily-overview/common/css/TableStyle.tsx +0 -202
- package/src/components/order-daily-overview/common/css/mediaQuery.ts +0 -13
- package/src/components/order-daily-overview/store/filterStore.ts +0 -100
- package/src/components/order-daily-overview/store/initialValues.ts +0 -16
- package/src/components/order-daily-overview/table/table-data/Fakedata.tsx +0 -432
- package/src/components/order-view/ProductData.tsx +0 -81
- package/src/components/order-view/details-filters/left-side-filters/dropdowns/DropDownItem.tsx +0 -33
- package/src/components/order-view/details-filters/left-side-filters/dropdowns/DropDownMenu.tsx +0 -42
- package/src/components/order-view/details-filters/left-side-filters/dropdowns/DropdownStyles.tsx +0 -25
- package/src/components/order-view/general-information/LockOrder.tsx +0 -113
- package/src/components/order-view/general-information/dropdowns/BjsMenu.tsx +0 -66
- package/src/components/order-view/general-information/dropdowns/CreateTask.tsx +0 -34
- package/src/components/order-view/general-information/dropdowns/SendEmail.tsx +0 -14
- package/src/components/order-view/general-information/dropdowns/SendSms.tsx +0 -14
- package/src/components/order-view/general-information/dropdowns/Tasks.tsx +0 -8
- package/src/components/order-view/general-information/dropdowns/Videos.tsx +0 -8
- package/src/components/order-view/general-information/dropdowns/ViewEpod.tsx +0 -8
- package/src/components/order-view/general-information/dropdowns/helper.tsx +0 -17
- package/src/components/order-view/general-information/dropdowns/index.tsx +0 -46
- package/src/components/order-view/modalsPopup/AddProduct.tsx +0 -234
- package/src/components/order-view/modalsPopup/BulkUpdateProduct.tsx +0 -145
- package/src/components/order-view/modalsPopup/DeleteProduct.tsx +0 -117
- package/src/components/order-view/modalsPopup/ProductAction.tsx +0 -79
- package/src/components/order-view/modalsPopup/RepackModal.tsx +0 -42
- package/src/components/order-view/modalsPopup/UnReceiveProduct.tsx +0 -72
- package/src/components/order-view/modalsPopup/UpdateProducts.tsx +0 -145
- package/src/components/order-view/modalsPopup/qclogs/AddDefect.tsx +0 -135
- package/src/components/order-view/modalsPopup/qclogs/DefetcDetails.tsx +0 -97
- package/src/components/order-view/modalsPopup/qclogs/OtherDamage.tsx +0 -125
- package/src/components/order-view/modalsPopup/qclogs/RepackDetails.tsx +0 -118
- package/src/components/order-view/modalsPopup/qclogs/RepackProduct.tsx +0 -63
- package/src/components/order-view/modalsPopup/qclogs/index.tsx +0 -62
- package/src/components/order-view/modalsPopup/qclogs/logsTable.tsx +0 -74
- package/src/components/order-view/notes/logs/columns/Details.tsx +0 -56
- package/src/components/order-view/notes/logs/columns/index.tsx +0 -2
- package/src/components/order-view/notification/OrderTemplate.tsx +0 -108
- package/src/components/order-view/order-actions/actions/cancel-order/CancelOrderTable.tsx +0 -95
- package/src/components/order-view/order-actions/actions/cancel-order/CancelationNote.tsx +0 -28
- package/src/components/order-view/order-actions/actions/cancel-order/CancelationReason.tsx +0 -18
- package/src/components/order-view/order-actions/actions/charge-log/DeleteLogModal.tsx +0 -39
- package/src/components/order-view/order-actions/actions/charge-log/index.tsx +0 -171
- package/src/components/order-view/order-actions/actions/escalation/Dropdowns.tsx +0 -95
- package/src/components/order-view/order-actions/actions/escalation/EscalationModal.tsx +0 -28
- package/src/components/order-view/order-actions/actions/escalation/NewEscalation.tsx +0 -139
- package/src/components/order-view/order-actions/actions/escalation/Notes.tsx +0 -36
- package/src/components/order-view/order-actions/actions/escalation/index.tsx +0 -31
- package/src/components/order-view/order-actions/actions/escalation/upgrade/index.tsx +0 -198
- package/src/components/order-view/order-actions/actions/restore-products/RestoreProducts.tsx +0 -139
- package/src/components/order-view/order-actions/actions/update-product-type/UpdateProductType.tsx +0 -365
- package/src/components/order-view/order-actions/actions/update-product-type/UpdateProductTypeStyle.tsx +0 -251
- package/src/components/order-view/order-actions/hooks/useFetchSingleReminder.ts +0 -60
- package/src/components/order-view/order-actions/hooks/useUpdateReminder.ts +0 -54
- package/src/components/order-view/order-details/expanded-content/orders-section/ValueField.tsx +0 -36
- package/src/components/order-view/order-resources/columns/Id.tsx +0 -17
- package/src/components/order-view/products-info/expanded-content/productList.tsx +0 -28
- package/src/components/order-view/products-info/expanded-content/products/Badge.tsx +0 -34
- package/src/components/order-view/products-info/expanded-content/products/index.tsx +0 -305
- package/src/components/order-view/products-info/types.ts +0 -1
- package/src/components/order-view/products-info/utils.ts +0 -14
- package/src/components/order-view/return-client-products/product-table-footer/ProductDetailsFooter.tsx +0 -37
- package/src/components/order-view/toolbox-resources/collapsed-content/index.tsx +0 -16
- package/src/components/order-view/toolbox-resources/expanded-content/index.tsx +0 -84
- package/src/components/order-view/view-reminder/AssigneeDropdown.tsx +0 -34
- package/src/components/order-view/view-reminder/ViewReminder.tsx +0 -315
- package/src/components/order-view/view-reminder/reminder-styles.tsx +0 -174
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
import React, { useState } from 'react';
|
|
2
|
-
import styled from 'styled-components';
|
|
3
|
-
import Escalation from './index';
|
|
4
|
-
import { CustomCheckBox, TableSkelton } from '../update-product-type/UpdateProductTypeStyle';
|
|
5
|
-
|
|
6
|
-
const NewEscalation = () => {
|
|
7
|
-
const [showContent, setShowContent] = useState(false);
|
|
8
|
-
|
|
9
|
-
const handleClick = () => {
|
|
10
|
-
setShowContent(!showContent);
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
const handleCancel = () => {
|
|
14
|
-
setShowContent(false);
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
return (
|
|
18
|
-
<>
|
|
19
|
-
<Component>
|
|
20
|
-
Want to Create New Escalation?
|
|
21
|
-
<Flex>
|
|
22
|
-
<Button onClick={handleClick}>
|
|
23
|
-
{showContent ? 'SAVE' : 'CLICK HERE'}
|
|
24
|
-
</Button>
|
|
25
|
-
{showContent && (
|
|
26
|
-
<>
|
|
27
|
-
<CancelButton onClick={handleCancel}>CANCEL</CancelButton>
|
|
28
|
-
</>
|
|
29
|
-
)}
|
|
30
|
-
</Flex>
|
|
31
|
-
</Component>
|
|
32
|
-
|
|
33
|
-
{showContent && (
|
|
34
|
-
<>
|
|
35
|
-
<Escalation />
|
|
36
|
-
</>
|
|
37
|
-
)}
|
|
38
|
-
<TableSkelton>
|
|
39
|
-
<table>
|
|
40
|
-
<thead>
|
|
41
|
-
<tr>
|
|
42
|
-
<th>
|
|
43
|
-
<CustomCheckBox>
|
|
44
|
-
<label className="container">
|
|
45
|
-
<input type="checkbox" />
|
|
46
|
-
<span className="checkmark"></span>
|
|
47
|
-
</label>
|
|
48
|
-
</CustomCheckBox>
|
|
49
|
-
</th>
|
|
50
|
-
<th>ID</th>
|
|
51
|
-
<th>Level</th>
|
|
52
|
-
<th>Escalation</th>
|
|
53
|
-
<th>Order Status</th>
|
|
54
|
-
<th>Warehouse</th>
|
|
55
|
-
<th>Timed Service</th>
|
|
56
|
-
<th>Routed</th>
|
|
57
|
-
<th>Pre Route Pre-Call</th>
|
|
58
|
-
<th>Stock Check</th>
|
|
59
|
-
<th>Stock Check</th>
|
|
60
|
-
<th>Driver Pre-Call</th>
|
|
61
|
-
<th>Del Status</th>
|
|
62
|
-
<th>Post call</th>
|
|
63
|
-
<th>Status</th>
|
|
64
|
-
</tr>
|
|
65
|
-
</thead>
|
|
66
|
-
<tbody>
|
|
67
|
-
<tr>
|
|
68
|
-
<td>
|
|
69
|
-
<CustomCheckBox>
|
|
70
|
-
<label className="container">
|
|
71
|
-
<input type="checkbox" />
|
|
72
|
-
<span className="checkmark"></span>
|
|
73
|
-
</label>
|
|
74
|
-
</CustomCheckBox>
|
|
75
|
-
</td>
|
|
76
|
-
<td>VIP4</td>
|
|
77
|
-
<td>B63015484248[Test] WAYVER</td>
|
|
78
|
-
<td>Allocated to Route</td>
|
|
79
|
-
<td>Revieved Picked</td>
|
|
80
|
-
<td>Data</td>
|
|
81
|
-
<td>Data</td>
|
|
82
|
-
<td>Data</td>
|
|
83
|
-
<td>Data</td>
|
|
84
|
-
<td>Data</td>
|
|
85
|
-
<td>Data</td>
|
|
86
|
-
<td>Data</td>
|
|
87
|
-
<td>Done</td>
|
|
88
|
-
<td>Done</td>
|
|
89
|
-
<td>Status</td>
|
|
90
|
-
</tr>
|
|
91
|
-
</tbody>
|
|
92
|
-
</table>
|
|
93
|
-
</TableSkelton>
|
|
94
|
-
</>
|
|
95
|
-
);
|
|
96
|
-
};
|
|
97
|
-
|
|
98
|
-
const Component = styled.div`
|
|
99
|
-
display: flex;
|
|
100
|
-
width: 98%;
|
|
101
|
-
padding: 15px 12px;
|
|
102
|
-
justify-content: space-between;
|
|
103
|
-
align-items: center;
|
|
104
|
-
gap: 15px;
|
|
105
|
-
border-radius: 15px;
|
|
106
|
-
background: #f8fafc;
|
|
107
|
-
`;
|
|
108
|
-
|
|
109
|
-
const Button = styled.button`
|
|
110
|
-
border-radius: 20px;
|
|
111
|
-
border: 1px solid rgba(0, 0, 0, 0.08);
|
|
112
|
-
background: #3a3630;
|
|
113
|
-
display: flex;
|
|
114
|
-
padding: 6px 10px;
|
|
115
|
-
align-items: flex-start;
|
|
116
|
-
gap: 16px;
|
|
117
|
-
color: white;
|
|
118
|
-
cursor: pointer;
|
|
119
|
-
`;
|
|
120
|
-
|
|
121
|
-
const Flex = styled.div`
|
|
122
|
-
display: flex;
|
|
123
|
-
gap: 10px;
|
|
124
|
-
`;
|
|
125
|
-
|
|
126
|
-
const CancelButton = styled.button`
|
|
127
|
-
display: flex;
|
|
128
|
-
padding: 6px 10px;
|
|
129
|
-
align-items: flex-start;
|
|
130
|
-
gap: 16px;
|
|
131
|
-
border-radius: 20px;
|
|
132
|
-
border: 1px solid #e95252;
|
|
133
|
-
background: #f8fafc;
|
|
134
|
-
color: #e95252; /* Added this line to set text color */
|
|
135
|
-
text-decoration-color: #e95252;
|
|
136
|
-
cursor: pointer;
|
|
137
|
-
`;
|
|
138
|
-
|
|
139
|
-
export default NewEscalation;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { TextArea } from '@bjsdistribution/dms-component-library';
|
|
3
|
-
import styled from 'styled-components';
|
|
4
|
-
|
|
5
|
-
const Notes = () => {
|
|
6
|
-
const StyledTextArea = styled(TextArea)`
|
|
7
|
-
display: flex;
|
|
8
|
-
height: 135px;
|
|
9
|
-
width: 240px;
|
|
10
|
-
flex-direction: column;
|
|
11
|
-
align-items: flex-start;
|
|
12
|
-
gap: 6px;
|
|
13
|
-
flex: 1 0 0;
|
|
14
|
-
border-radius: 12px;
|
|
15
|
-
//border: 1px solid var(--Neutral-Gray-Gray-100, #e0e2e7);
|
|
16
|
-
background: var(--Flowkit-White, #fff);
|
|
17
|
-
resize: none;
|
|
18
|
-
`;
|
|
19
|
-
|
|
20
|
-
const Label = styled.label`
|
|
21
|
-
font-family: 'lato', sans-serif;
|
|
22
|
-
font-size: 14px;
|
|
23
|
-
font-style: normal;
|
|
24
|
-
font-weight: 500;
|
|
25
|
-
line-height: 20px;
|
|
26
|
-
color: var(--tonal-brown-651, #6a7378);
|
|
27
|
-
`;
|
|
28
|
-
return (
|
|
29
|
-
<div>
|
|
30
|
-
<Label>Note</Label>
|
|
31
|
-
<StyledTextArea name="note" placeholder="" />
|
|
32
|
-
</div>
|
|
33
|
-
);
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
export default Notes;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import Dropdowns from './Dropdowns';
|
|
3
|
-
import Notes from './Notes';
|
|
4
|
-
import styled from 'styled-components';
|
|
5
|
-
import Upgrade from './upgrade';
|
|
6
|
-
const Flex = styled.div`
|
|
7
|
-
border-radius: 15px;
|
|
8
|
-
background: #f8fafc;
|
|
9
|
-
display: flex;
|
|
10
|
-
/* flex-wrap: wrap; */
|
|
11
|
-
gap: 15px;
|
|
12
|
-
padding: 20px;
|
|
13
|
-
width: 97%;
|
|
14
|
-
@media (max-width: 768px) {
|
|
15
|
-
flex-direction: column;
|
|
16
|
-
padding: 10px;
|
|
17
|
-
gap: 10px;
|
|
18
|
-
}
|
|
19
|
-
`;
|
|
20
|
-
const Escalation = () => {
|
|
21
|
-
return (
|
|
22
|
-
<>
|
|
23
|
-
<Flex>
|
|
24
|
-
<Dropdowns />
|
|
25
|
-
<Notes />
|
|
26
|
-
<Upgrade />
|
|
27
|
-
</Flex>
|
|
28
|
-
</>
|
|
29
|
-
);
|
|
30
|
-
};
|
|
31
|
-
export default Escalation;
|
|
@@ -1,198 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
AntSelect,
|
|
4
|
-
Label,
|
|
5
|
-
Switch,
|
|
6
|
-
} from '@bjsdistribution/dms-component-library';
|
|
7
|
-
import styled from 'styled-components';
|
|
8
|
-
import { notification } from 'antd';
|
|
9
|
-
|
|
10
|
-
const Upgrade = () => {
|
|
11
|
-
const handleSelectChange = () => {
|
|
12
|
-
// alert('hello');
|
|
13
|
-
|
|
14
|
-
notification.success({
|
|
15
|
-
message: 'Success',
|
|
16
|
-
description: 'Upgrade successfully.',
|
|
17
|
-
});
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
return (
|
|
21
|
-
<>
|
|
22
|
-
<Wrapper>
|
|
23
|
-
<Heading>Upgrade</Heading>
|
|
24
|
-
<Container>
|
|
25
|
-
<Top>
|
|
26
|
-
<InnerCont>
|
|
27
|
-
<Toggle
|
|
28
|
-
label={'Timed Service'}
|
|
29
|
-
checked={true}
|
|
30
|
-
onChange={(_event: React.ChangeEvent<HTMLInputElement>) => {
|
|
31
|
-
throw new Error('Function not implemented.');
|
|
32
|
-
}}
|
|
33
|
-
name={''}
|
|
34
|
-
/>
|
|
35
|
-
</InnerCont>
|
|
36
|
-
</Top>
|
|
37
|
-
<InnerCont>
|
|
38
|
-
<Label label="Time Slot" />
|
|
39
|
-
<StyledAntSelect
|
|
40
|
-
options={[]}
|
|
41
|
-
placeholder="Select Customer"
|
|
42
|
-
onChange={handleSelectChange}
|
|
43
|
-
disabled={false}
|
|
44
|
-
showSearch={true}
|
|
45
|
-
popupClassName={'dropDownStyle'}
|
|
46
|
-
selectWrapperClass={'rounded'}
|
|
47
|
-
/>
|
|
48
|
-
</InnerCont>
|
|
49
|
-
<Top>
|
|
50
|
-
<InnerCont>
|
|
51
|
-
<Toggle
|
|
52
|
-
label={'Chargeable'}
|
|
53
|
-
checked={false}
|
|
54
|
-
onChange={(_event: React.ChangeEvent<HTMLInputElement>) => {
|
|
55
|
-
throw new Error('Function not implemented.');
|
|
56
|
-
}}
|
|
57
|
-
name={''}
|
|
58
|
-
/>
|
|
59
|
-
</InnerCont>
|
|
60
|
-
</Top>
|
|
61
|
-
<Top>
|
|
62
|
-
<InnerCont>
|
|
63
|
-
<Toggle
|
|
64
|
-
label={'Additional Time'}
|
|
65
|
-
checked={false}
|
|
66
|
-
onChange={(_event: React.ChangeEvent<HTMLInputElement>) => {
|
|
67
|
-
throw new Error('Function not implemented.');
|
|
68
|
-
}}
|
|
69
|
-
name={''}
|
|
70
|
-
/>
|
|
71
|
-
</InnerCont>
|
|
72
|
-
</Top>
|
|
73
|
-
<InnerCont>
|
|
74
|
-
<Label label="Drop Time" />
|
|
75
|
-
<StyledAntSelect
|
|
76
|
-
options={[]}
|
|
77
|
-
placeholder="Select Customer"
|
|
78
|
-
onChange={handleSelectChange}
|
|
79
|
-
disabled={false}
|
|
80
|
-
showSearch={true}
|
|
81
|
-
popupClassName={'dropDownStyle'}
|
|
82
|
-
selectWrapperClass={'rounded'}
|
|
83
|
-
/>
|
|
84
|
-
</InnerCont>
|
|
85
|
-
<Top>
|
|
86
|
-
<InnerCont>
|
|
87
|
-
<Toggle
|
|
88
|
-
label={'Chargeable'}
|
|
89
|
-
checked={false}
|
|
90
|
-
onChange={(_event: React.ChangeEvent<HTMLInputElement>) => {
|
|
91
|
-
throw new Error('Function not implemented.');
|
|
92
|
-
}}
|
|
93
|
-
name={''}
|
|
94
|
-
/>
|
|
95
|
-
</InnerCont>
|
|
96
|
-
</Top>
|
|
97
|
-
</Container>
|
|
98
|
-
</Wrapper>
|
|
99
|
-
<GiftWrapper>
|
|
100
|
-
<BJSGift>
|
|
101
|
-
<Box />
|
|
102
|
-
</BJSGift>
|
|
103
|
-
<BJSGift>
|
|
104
|
-
<Box />
|
|
105
|
-
</BJSGift>
|
|
106
|
-
</GiftWrapper>
|
|
107
|
-
</>
|
|
108
|
-
);
|
|
109
|
-
};
|
|
110
|
-
|
|
111
|
-
const GiftWrapper = styled.div`
|
|
112
|
-
display: flex;
|
|
113
|
-
gap: 15px;
|
|
114
|
-
padding-top: 45px;
|
|
115
|
-
`;
|
|
116
|
-
|
|
117
|
-
const Box = styled.div`
|
|
118
|
-
position: relative;
|
|
119
|
-
width: 20px;
|
|
120
|
-
height: 20px;
|
|
121
|
-
border: 1px solid #ccc;
|
|
122
|
-
border-radius: 10px;
|
|
123
|
-
|
|
124
|
-
&::after {
|
|
125
|
-
content: '';
|
|
126
|
-
position: absolute;
|
|
127
|
-
top: 2px;
|
|
128
|
-
left: 2px;
|
|
129
|
-
width: 11px;
|
|
130
|
-
height: 11px;
|
|
131
|
-
background-color: #ccc;
|
|
132
|
-
border-radius: 2px;
|
|
133
|
-
display: none;
|
|
134
|
-
}
|
|
135
|
-
`;
|
|
136
|
-
|
|
137
|
-
const Wrapper = styled.div``;
|
|
138
|
-
|
|
139
|
-
const BJSGift = styled.div`
|
|
140
|
-
display: flex;
|
|
141
|
-
width: 130px;
|
|
142
|
-
height: 93px;
|
|
143
|
-
padding: 10px 15px 15px 10px;
|
|
144
|
-
flex-direction: column;
|
|
145
|
-
align-items: flex-start;
|
|
146
|
-
border-radius: 15px;
|
|
147
|
-
border: 1px solid #e0e2e7;
|
|
148
|
-
|
|
149
|
-
/* &:hover ${Box}::after {
|
|
150
|
-
display: block;
|
|
151
|
-
} */
|
|
152
|
-
`;
|
|
153
|
-
|
|
154
|
-
const Toggle = styled(Switch)`
|
|
155
|
-
padding: 15px;
|
|
156
|
-
`;
|
|
157
|
-
|
|
158
|
-
const Heading = styled.div`
|
|
159
|
-
color: #3a3630;
|
|
160
|
-
font-size: 14px;
|
|
161
|
-
font-style: normal;
|
|
162
|
-
font-weight: 700;
|
|
163
|
-
line-height: 16px;
|
|
164
|
-
`;
|
|
165
|
-
|
|
166
|
-
const Container = styled.div`
|
|
167
|
-
display: grid;
|
|
168
|
-
grid-template-columns: repeat(3, 1fr);
|
|
169
|
-
gap: 15px;
|
|
170
|
-
align-items: center;
|
|
171
|
-
|
|
172
|
-
@media (max-width: 768px) {
|
|
173
|
-
grid-template-columns: 1fr;
|
|
174
|
-
gap: 10px;
|
|
175
|
-
}
|
|
176
|
-
`;
|
|
177
|
-
|
|
178
|
-
const InnerCont = styled.div`
|
|
179
|
-
display: flex;
|
|
180
|
-
flex-direction: column;
|
|
181
|
-
gap: 16px;
|
|
182
|
-
flex: 1;
|
|
183
|
-
`;
|
|
184
|
-
|
|
185
|
-
const Top = styled.div`
|
|
186
|
-
padding-top: 35px;
|
|
187
|
-
`;
|
|
188
|
-
|
|
189
|
-
const StyledAntSelect = styled(AntSelect)`
|
|
190
|
-
width: 100%;
|
|
191
|
-
height: 40px;
|
|
192
|
-
|
|
193
|
-
@media (max-width: 768px) {
|
|
194
|
-
width: 100%;
|
|
195
|
-
}
|
|
196
|
-
`;
|
|
197
|
-
|
|
198
|
-
export default Upgrade;
|
package/src/components/order-view/order-actions/actions/restore-products/RestoreProducts.tsx
DELETED
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
import React, { useState } from 'react';
|
|
2
|
-
import { useCurrentAction } from '../../../store';
|
|
3
|
-
import OrderActionModal from '../../../../../common/modals/order-action-modal/OrderActionModal';
|
|
4
|
-
import ProductData from '../../../ProductData';
|
|
5
|
-
|
|
6
|
-
const initialProducts = [
|
|
7
|
-
{
|
|
8
|
-
id: 1458784,
|
|
9
|
-
name: '[Weymounth Soft White Triple Wardrobe]',
|
|
10
|
-
parts: '(1/2)',
|
|
11
|
-
selected: false,
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
id: 41544,
|
|
15
|
-
name: 'Double Door Fridge',
|
|
16
|
-
parts: '(1/1)',
|
|
17
|
-
selected: false,
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
id: 87941,
|
|
21
|
-
name: 'Ventilation System for the Kitchen',
|
|
22
|
-
parts: '(5/5)',
|
|
23
|
-
selected: false,
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
id: 274893,
|
|
27
|
-
name: 'Portable Air Conditioner',
|
|
28
|
-
parts: '(2/3)',
|
|
29
|
-
selected: false,
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
id: 90235,
|
|
33
|
-
name: 'Electric Fireplace Heater',
|
|
34
|
-
parts: '(1/1)',
|
|
35
|
-
selected: false,
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
id: 574839,
|
|
39
|
-
name: '[Oakwood Classic Dining Table]',
|
|
40
|
-
parts: '(1/2)',
|
|
41
|
-
selected: false,
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
id: 183957,
|
|
45
|
-
name: 'Stainless Steel Dishwasher',
|
|
46
|
-
parts: '(3/3)',
|
|
47
|
-
selected: false,
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
id: 349589,
|
|
51
|
-
name: 'LED Smart TV',
|
|
52
|
-
parts: '(1/1)',
|
|
53
|
-
selected: false,
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
id: 209384,
|
|
57
|
-
name: 'Bluetooth Sound System',
|
|
58
|
-
parts: '(4/4)',
|
|
59
|
-
selected: false,
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
id: 918374,
|
|
63
|
-
name: 'Recliner Sofa Set',
|
|
64
|
-
parts: '(3/3)',
|
|
65
|
-
selected: false,
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
id: 748293,
|
|
69
|
-
name: '[Vintage Wooden Bookcase]',
|
|
70
|
-
parts: '(2/2)',
|
|
71
|
-
selected: false,
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
id: 573920,
|
|
75
|
-
name: 'Compact Washing Machine',
|
|
76
|
-
parts: '(1/1)',
|
|
77
|
-
selected: false,
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
id: 230948,
|
|
81
|
-
name: 'Automatic Coffee Machine',
|
|
82
|
-
parts: '(2/2)',
|
|
83
|
-
selected: false,
|
|
84
|
-
},
|
|
85
|
-
];
|
|
86
|
-
|
|
87
|
-
const RestoreProducts = () => {
|
|
88
|
-
const [products, setProducts] = useState(initialProducts);
|
|
89
|
-
const [showRestoreButton, setShowRestoreButton] = useState(false);
|
|
90
|
-
const [showNoRecords, setShowNoRecords] = useState(false);
|
|
91
|
-
const [, setCurrentAction] = useCurrentAction();
|
|
92
|
-
|
|
93
|
-
const handleCheckboxChange = (productId: number, isChecked: boolean) => {
|
|
94
|
-
const updatedProducts = products.map(product =>
|
|
95
|
-
product.id === productId ? { ...product, selected: isChecked } : product
|
|
96
|
-
);
|
|
97
|
-
setProducts(updatedProducts);
|
|
98
|
-
|
|
99
|
-
const anySelected = updatedProducts.some(product => product.selected);
|
|
100
|
-
setShowRestoreButton(anySelected);
|
|
101
|
-
};
|
|
102
|
-
|
|
103
|
-
const closeModal = () => {
|
|
104
|
-
setProducts(initialProducts);
|
|
105
|
-
setShowRestoreButton(false);
|
|
106
|
-
setShowNoRecords(false);
|
|
107
|
-
setCurrentAction(undefined);
|
|
108
|
-
};
|
|
109
|
-
|
|
110
|
-
const handleRestore = () => {
|
|
111
|
-
const updatedProducts = products.filter(product => !product.selected);
|
|
112
|
-
setProducts(updatedProducts);
|
|
113
|
-
|
|
114
|
-
if (updatedProducts.length === 0) {
|
|
115
|
-
setShowNoRecords(true);
|
|
116
|
-
}
|
|
117
|
-
};
|
|
118
|
-
|
|
119
|
-
return (
|
|
120
|
-
<>
|
|
121
|
-
<OrderActionModal
|
|
122
|
-
headerTitle="Restore Product"
|
|
123
|
-
onCloseHeader={closeModal}
|
|
124
|
-
onSubmit={handleRestore}
|
|
125
|
-
submitBtnTitle="Restore"
|
|
126
|
-
footerActions={showRestoreButton} // Controls visibility of footer actions (Restore button)
|
|
127
|
-
>
|
|
128
|
-
<ProductData
|
|
129
|
-
products={products}
|
|
130
|
-
handleCheckboxChange={handleCheckboxChange}
|
|
131
|
-
handleRestore={handleRestore} // Pass handleRestore function to ProductData
|
|
132
|
-
showNoRecords={showNoRecords}
|
|
133
|
-
/>
|
|
134
|
-
</OrderActionModal>
|
|
135
|
-
</>
|
|
136
|
-
);
|
|
137
|
-
};
|
|
138
|
-
|
|
139
|
-
export default RestoreProducts;
|