@os1-platform/dispatch-mobile 2.1.0 → 2.1.1

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 (51) hide show
  1. package/lib/commonjs/components/executiontasks/deliver/DeliverETInput.js.map +1 -1
  2. package/lib/commonjs/components/executiontasks/deliver/SLDeliverET.js +3 -1
  3. package/lib/commonjs/components/executiontasks/deliver/SLDeliverET.js.map +1 -1
  4. package/lib/commonjs/components/executiontasks/pickup/PickpSchema.js.map +1 -1
  5. package/lib/commonjs/components/executiontasks/pickup/SLPickupET.js +3 -1
  6. package/lib/commonjs/components/executiontasks/pickup/SLPickupET.js.map +1 -1
  7. package/lib/commonjs/locale/Str.js +2 -1
  8. package/lib/commonjs/locale/Str.js.map +1 -1
  9. package/lib/commonjs/locale/i18n.js +4 -0
  10. package/lib/commonjs/locale/i18n.js.map +1 -1
  11. package/lib/commonjs/manager/syncmanager/DBConfig.js +1 -0
  12. package/lib/commonjs/manager/syncmanager/DBConfig.js.map +1 -1
  13. package/lib/commonjs/manager/syncmanager/events/ETEventsManager.js +11 -1
  14. package/lib/commonjs/manager/syncmanager/events/ETEventsManager.js.map +1 -1
  15. package/lib/commonjs/ui/screens/DeliverScreen.js +3 -0
  16. package/lib/commonjs/ui/screens/DeliverScreen.js.map +1 -1
  17. package/lib/commonjs/ui/screens/PickupScreen.js +3 -0
  18. package/lib/commonjs/ui/screens/PickupScreen.js.map +1 -1
  19. package/lib/module/components/executiontasks/deliver/DeliverETInput.js.map +1 -1
  20. package/lib/module/components/executiontasks/deliver/SLDeliverET.js +3 -1
  21. package/lib/module/components/executiontasks/deliver/SLDeliverET.js.map +1 -1
  22. package/lib/module/components/executiontasks/pickup/PickpSchema.js.map +1 -1
  23. package/lib/module/components/executiontasks/pickup/SLPickupET.js +3 -1
  24. package/lib/module/components/executiontasks/pickup/SLPickupET.js.map +1 -1
  25. package/lib/module/locale/Str.js +2 -1
  26. package/lib/module/locale/Str.js.map +1 -1
  27. package/lib/module/locale/i18n.js +4 -0
  28. package/lib/module/locale/i18n.js.map +1 -1
  29. package/lib/module/manager/syncmanager/DBConfig.js +1 -0
  30. package/lib/module/manager/syncmanager/DBConfig.js.map +1 -1
  31. package/lib/module/manager/syncmanager/events/ETEventsManager.js +11 -1
  32. package/lib/module/manager/syncmanager/events/ETEventsManager.js.map +1 -1
  33. package/lib/module/ui/screens/DeliverScreen.js +3 -0
  34. package/lib/module/ui/screens/DeliverScreen.js.map +1 -1
  35. package/lib/module/ui/screens/PickupScreen.js +3 -0
  36. package/lib/module/ui/screens/PickupScreen.js.map +1 -1
  37. package/lib/typescript/components/executiontasks/deliver/DeliverETInput.d.ts +1 -0
  38. package/lib/typescript/components/executiontasks/pickup/PickpSchema.d.ts +1 -0
  39. package/lib/typescript/locale/Str.d.ts +1 -0
  40. package/lib/typescript/manager/syncmanager/DBConfig.d.ts +2 -1
  41. package/package.json +5 -6
  42. package/src/components/executiontasks/deliver/DeliverETInput.ts +1 -0
  43. package/src/components/executiontasks/deliver/SLDeliverET.tsx +93 -90
  44. package/src/components/executiontasks/pickup/PickpSchema.ts +1 -0
  45. package/src/components/executiontasks/pickup/SLPickupET.tsx +82 -79
  46. package/src/locale/Str.ts +2 -1
  47. package/src/locale/i18n.ts +8 -3
  48. package/src/manager/syncmanager/DBConfig.ts +1 -0
  49. package/src/manager/syncmanager/events/ETEventsManager.ts +15 -1
  50. package/src/ui/screens/DeliverScreen.tsx +7 -4
  51. package/src/ui/screens/PickupScreen.tsx +3 -0
@@ -24,6 +24,7 @@ const PickupScreen = ({
24
24
  getDataFromNextState(nextState);
25
25
 
26
26
  const [pickupCount, setPickupCount] = useState(0);
27
+ const [shipCount, setShipCount] = useState(0);
27
28
  const [items, setItems] = useState([]);
28
29
 
29
30
  const getMergedPickCount = async () => {
@@ -31,6 +32,7 @@ const PickupScreen = ({
31
32
  mergedObjectiveId
32
33
  );
33
34
  setPickupCount(count.totalCount);
35
+ setShipCount(count.shipCount);
34
36
  };
35
37
  useEffect(() => {
36
38
  onTaskStart(
@@ -62,6 +64,7 @@ const PickupScreen = ({
62
64
  message={message}
63
65
  items={items}
64
66
  pickupCount={pickupCount}
67
+ shipCount={shipCount}
65
68
  navigation={navigation}
66
69
  taskMeta={taskMeta}
67
70
  onSubmitET={async (pickupOutput) => {