@os1-platform/dispatch-mobile 1.0.0

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 (856) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +551 -0
  3. package/android/build/.transforms/22228dd0a4a527a24ec811806cb09b83/classes/classes.dex +0 -0
  4. package/android/build/.transforms/22228dd0a4a527a24ec811806cb09b83.bin +1 -0
  5. package/android/build/.transforms/94a07ea3e1b6cf7284a0d41cd59f08ef/classes/classes.dex +0 -0
  6. package/android/build/.transforms/94a07ea3e1b6cf7284a0d41cd59f08ef.bin +1 -0
  7. package/android/build/generated/source/buildConfig/debug/com/dispatchsdk/BuildConfig.java +12 -0
  8. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/AndroidManifest.xml +34 -0
  9. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/output.json +26 -0
  10. package/android/build/intermediates/annotation_processor_list/debug/annotationProcessors.json +1 -0
  11. package/android/build/intermediates/compile_library_classes_jar/debug/classes.jar +0 -0
  12. package/android/build/intermediates/compile_only_not_namespaced_r_class_jar/debug/R.jar +0 -0
  13. package/android/build/intermediates/compile_symbol_list/debug/R.txt +4928 -0
  14. package/android/build/intermediates/compiled_local_resources/debug/out/drawable_alert_background.xml.flat +0 -0
  15. package/android/build/intermediates/compiled_local_resources/debug/out/drawable_ic_baseline_sync_24.xml.flat +0 -0
  16. package/android/build/intermediates/compiled_local_resources/debug/out/font_ibmplexsans.ttf.flat +0 -0
  17. package/android/build/intermediates/compiled_local_resources/debug/out/xml_file_paths.xml.flat +0 -0
  18. package/android/build/intermediates/incremental/debug-mergeNativeLibs/merge-state +0 -0
  19. package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +2 -0
  20. package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +2 -0
  21. package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +2 -0
  22. package/android/build/intermediates/incremental/packageDebugResources/compile-file-map.properties +5 -0
  23. package/android/build/intermediates/incremental/packageDebugResources/merged.dir/values/values.xml +9 -0
  24. package/android/build/intermediates/incremental/packageDebugResources/merger.xml +7 -0
  25. package/android/build/intermediates/javac/debug/classes/com/dispatchsdk/BuildConfig.class +0 -0
  26. package/android/build/intermediates/library_java_res/debug/res.jar +0 -0
  27. package/android/build/intermediates/library_manifest/debug/AndroidManifest.xml +34 -0
  28. package/android/build/intermediates/local_only_symbol_list/debug/R-def.txt +7 -0
  29. package/android/build/intermediates/manifest_merge_blame_file/debug/manifest-merger-blame-debug-report.txt +63 -0
  30. package/android/build/intermediates/merged_manifests/debug/output.json +26 -0
  31. package/android/build/intermediates/navigation_json/debug/navigation.json +1 -0
  32. package/android/build/intermediates/packaged_res/debug/drawable/alert_background.xml +8 -0
  33. package/android/build/intermediates/packaged_res/debug/drawable/ic_baseline_sync_24.xml +5 -0
  34. package/android/build/intermediates/packaged_res/debug/font/ibmplexsans.ttf +0 -0
  35. package/android/build/intermediates/packaged_res/debug/values/values.xml +9 -0
  36. package/android/build/intermediates/packaged_res/debug/xml/file_paths.xml +10 -0
  37. package/android/build/intermediates/runtime_library_classes_jar/debug/classes.jar +0 -0
  38. package/android/build/intermediates/symbol_list_with_package_name/debug/package-aware-r.txt +3391 -0
  39. package/android/build/kotlin/compileDebugKotlin/build-history.bin +0 -0
  40. package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab +0 -0
  41. package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
  42. package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
  43. package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.len +0 -0
  44. package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
  45. package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab_i +0 -0
  46. package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
  47. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
  48. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
  49. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
  50. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
  51. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
  52. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
  53. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
  54. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab +0 -0
  55. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
  56. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
  57. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
  58. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
  59. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
  60. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab_i.len +0 -0
  61. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
  62. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
  63. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
  64. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
  65. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
  66. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
  67. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
  68. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab +0 -0
  69. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
  70. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
  71. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
  72. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
  73. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
  74. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
  75. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
  76. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
  77. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
  78. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
  79. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
  80. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
  81. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
  82. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
  83. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
  84. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
  85. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
  86. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
  87. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
  88. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
  89. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
  90. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
  91. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
  92. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
  93. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
  94. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
  95. package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
  96. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/counters.tab +2 -0
  97. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab +0 -0
  98. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
  99. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
  100. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab.len +0 -0
  101. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
  102. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab_i +0 -0
  103. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
  104. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab +0 -0
  105. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
  106. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
  107. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab.len +0 -0
  108. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
  109. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab_i +0 -0
  110. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
  111. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab +0 -0
  112. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.keystream +0 -0
  113. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
  114. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.len +0 -0
  115. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.values.at +0 -0
  116. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab_i +0 -0
  117. package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab_i.len +0 -0
  118. package/android/build/kotlin/compileDebugKotlin/last-build.bin +0 -0
  119. package/android/build/outputs/logs/manifest-merger-debug-report.txt +79 -0
  120. package/android/build/tmp/kotlin-classes/debug/META-INF/dispatchsdk_debug.kotlin_module +0 -0
  121. package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/DispatchSdkPackage.class +0 -0
  122. package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/errors/NativeSdkErrors.class +0 -0
  123. package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/signaturePad/RSSignatureCaptureContextModule.class +0 -0
  124. package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/signaturePad/RSSignatureCaptureMainView.class +0 -0
  125. package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/signaturePad/RSSignatureCaptureView$Companion.class +0 -0
  126. package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/signaturePad/RSSignatureCaptureView$OnSignedListener.class +0 -0
  127. package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/signaturePad/RSSignatureCaptureView$SignatureCallback.class +0 -0
  128. package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/signaturePad/RSSignatureCaptureView.class +0 -0
  129. package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/signaturePad/RSSignatureCaptureViewManager$Companion.class +0 -0
  130. package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/signaturePad/RSSignatureCaptureViewManager.class +0 -0
  131. package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/signatureUtils/Bezier.class +0 -0
  132. package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/signatureUtils/ControlTimedPoints.class +0 -0
  133. package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/signatureUtils/TimedPoint.class +0 -0
  134. package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/sync/SyncEventService$Companion.class +0 -0
  135. package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/sync/SyncEventService.class +0 -0
  136. package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/sync/SyncManagerService$Companion.class +0 -0
  137. package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/sync/SyncManagerService$runnableCode$1.class +0 -0
  138. package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/sync/SyncManagerService.class +0 -0
  139. package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/sync/SyncModule$Companion.class +0 -0
  140. package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/sync/SyncModule.class +0 -0
  141. package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/utils/DispatchSdkUtils$Companion.class +0 -0
  142. package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/utils/DispatchSdkUtils$showAndroidDialog$1.class +0 -0
  143. package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/utils/DispatchSdkUtils$showAndroidDialog$2.class +0 -0
  144. package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/utils/DispatchSdkUtils.class +0 -0
  145. package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/utils/ModuleConfig$IntentConfig.class +0 -0
  146. package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/utils/ModuleConfig.class +0 -0
  147. package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/utils/Tracer.class +0 -0
  148. package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/utils/Utils.class +0 -0
  149. package/android/build.gradle +130 -0
  150. package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  151. package/android/gradle/wrapper/gradle-wrapper.properties +5 -0
  152. package/android/gradle.properties +4 -0
  153. package/android/gradlew +185 -0
  154. package/android/gradlew.bat +89 -0
  155. package/android/src/main/AndroidManifest.xml +33 -0
  156. package/android/src/main/java/com/dispatchsdk/DispatchSdkPackage.kt +23 -0
  157. package/android/src/main/java/com/dispatchsdk/errors/NativeSdkErrors.kt +24 -0
  158. package/android/src/main/java/com/dispatchsdk/signaturePad/RSSignatureCaptureContextModule.kt +15 -0
  159. package/android/src/main/java/com/dispatchsdk/signaturePad/RSSignatureCaptureMainView.kt +150 -0
  160. package/android/src/main/java/com/dispatchsdk/signaturePad/RSSignatureCaptureView.kt +355 -0
  161. package/android/src/main/java/com/dispatchsdk/signaturePad/RSSignatureCaptureViewManager.kt +132 -0
  162. package/android/src/main/java/com/dispatchsdk/signatureUtils/Bezier.kt +45 -0
  163. package/android/src/main/java/com/dispatchsdk/signatureUtils/ControlTimedPoints.kt +3 -0
  164. package/android/src/main/java/com/dispatchsdk/signatureUtils/TimedPoint.kt +19 -0
  165. package/android/src/main/java/com/dispatchsdk/sync/SyncEventService.kt +28 -0
  166. package/android/src/main/java/com/dispatchsdk/sync/SyncManagerService.kt +128 -0
  167. package/android/src/main/java/com/dispatchsdk/sync/SyncModule.kt +45 -0
  168. package/android/src/main/java/com/dispatchsdk/utils/DispatchSdkUtils.kt +121 -0
  169. package/android/src/main/java/com/dispatchsdk/utils/ModuleConfig.kt +21 -0
  170. package/android/src/main/java/com/dispatchsdk/utils/Tracer.kt +9 -0
  171. package/android/src/main/java/com/dispatchsdk/utils/Utils.kt +100 -0
  172. package/android/src/main/res/drawable/alert_background.xml +8 -0
  173. package/android/src/main/res/drawable/ic_baseline_sync_24.xml +5 -0
  174. package/android/src/main/res/font/ibmplexsans.ttf +0 -0
  175. package/android/src/main/res/values/styles.xml +10 -0
  176. package/android/src/main/res/xml/file_paths.xml +10 -0
  177. package/babel.config.js +3 -0
  178. package/foxtrotplatform-mobile-execution-lib-v0.6.4.tgz +0 -0
  179. package/lib/commonjs/components/dispatch/DispatchExecNavigator.js +249 -0
  180. package/lib/commonjs/components/dispatch/DispatchExecNavigator.js.map +1 -0
  181. package/lib/commonjs/components/executiontasks/CompletedWFSchema.js +6 -0
  182. package/lib/commonjs/components/executiontasks/CompletedWFSchema.js.map +1 -0
  183. package/lib/commonjs/components/executiontasks/ExecutionTasksIndex.js +192 -0
  184. package/lib/commonjs/components/executiontasks/ExecutionTasksIndex.js.map +1 -0
  185. package/lib/commonjs/components/executiontasks/cancellation/CancelET.js +110 -0
  186. package/lib/commonjs/components/executiontasks/cancellation/CancelET.js.map +1 -0
  187. package/lib/commonjs/components/executiontasks/cancellation/CancellationSchema.js +6 -0
  188. package/lib/commonjs/components/executiontasks/cancellation/CancellationSchema.js.map +1 -0
  189. package/lib/commonjs/components/executiontasks/captureInput/CaptureInputSchema.js +6 -0
  190. package/lib/commonjs/components/executiontasks/captureInput/CaptureInputSchema.js.map +1 -0
  191. package/lib/commonjs/components/executiontasks/captureInput/CaptureText.js +69 -0
  192. package/lib/commonjs/components/executiontasks/captureInput/CaptureText.js.map +1 -0
  193. package/lib/commonjs/components/executiontasks/deliver/DeliverET.js +105 -0
  194. package/lib/commonjs/components/executiontasks/deliver/DeliverET.js.map +1 -0
  195. package/lib/commonjs/components/executiontasks/deliver/DeliverETInput.js +6 -0
  196. package/lib/commonjs/components/executiontasks/deliver/DeliverETInput.js.map +1 -0
  197. package/lib/commonjs/components/executiontasks/deliver/SLDeliverET.js +197 -0
  198. package/lib/commonjs/components/executiontasks/deliver/SLDeliverET.js.map +1 -0
  199. package/lib/commonjs/components/executiontasks/display/DisplayModalET.js +126 -0
  200. package/lib/commonjs/components/executiontasks/display/DisplayModalET.js.map +1 -0
  201. package/lib/commonjs/components/executiontasks/display/DisplaySchema.js +6 -0
  202. package/lib/commonjs/components/executiontasks/display/DisplaySchema.js.map +1 -0
  203. package/lib/commonjs/components/executiontasks/doodle/DoodleUtils.js +28 -0
  204. package/lib/commonjs/components/executiontasks/doodle/DoodleUtils.js.map +1 -0
  205. package/lib/commonjs/components/executiontasks/doodle/SignatureET.js +190 -0
  206. package/lib/commonjs/components/executiontasks/doodle/SignatureET.js.map +1 -0
  207. package/lib/commonjs/components/executiontasks/doodle/SignatureSchema.js +6 -0
  208. package/lib/commonjs/components/executiontasks/doodle/SignatureSchema.js.map +1 -0
  209. package/lib/commonjs/components/executiontasks/dropCash/DropCashET.js +130 -0
  210. package/lib/commonjs/components/executiontasks/dropCash/DropCashET.js.map +1 -0
  211. package/lib/commonjs/components/executiontasks/dropCash/DropCashSchema.js +6 -0
  212. package/lib/commonjs/components/executiontasks/dropCash/DropCashSchema.js.map +1 -0
  213. package/lib/commonjs/components/executiontasks/dropCash/SLDropCash.js +137 -0
  214. package/lib/commonjs/components/executiontasks/dropCash/SLDropCash.js.map +1 -0
  215. package/lib/commonjs/components/executiontasks/forms/FormGenerator.js +116 -0
  216. package/lib/commonjs/components/executiontasks/forms/FormGenerator.js.map +1 -0
  217. package/lib/commonjs/components/executiontasks/forms/FormSchema.js +6 -0
  218. package/lib/commonjs/components/executiontasks/forms/FormSchema.js.map +1 -0
  219. package/lib/commonjs/components/executiontasks/forms/widgets/DateTimeWidget.js +152 -0
  220. package/lib/commonjs/components/executiontasks/forms/widgets/DateTimeWidget.js.map +1 -0
  221. package/lib/commonjs/components/executiontasks/forms/widgets/QRBarcodeScannerWidget.js +155 -0
  222. package/lib/commonjs/components/executiontasks/forms/widgets/QRBarcodeScannerWidget.js.map +1 -0
  223. package/lib/commonjs/components/executiontasks/forms/widgets/TimeRangeSelector.js +54 -0
  224. package/lib/commonjs/components/executiontasks/forms/widgets/TimeRangeSelector.js.map +1 -0
  225. package/lib/commonjs/components/executiontasks/httpRequest/HttpEtUtils.js +53 -0
  226. package/lib/commonjs/components/executiontasks/httpRequest/HttpEtUtils.js.map +1 -0
  227. package/lib/commonjs/components/executiontasks/httpRequest/HttpRequestET.js +61 -0
  228. package/lib/commonjs/components/executiontasks/httpRequest/HttpRequestET.js.map +1 -0
  229. package/lib/commonjs/components/executiontasks/httpRequest/HttpRequestETSchema.js +6 -0
  230. package/lib/commonjs/components/executiontasks/httpRequest/HttpRequestETSchema.js.map +1 -0
  231. package/lib/commonjs/components/executiontasks/imageCapture/CaptureSchema.js +6 -0
  232. package/lib/commonjs/components/executiontasks/imageCapture/CaptureSchema.js.map +1 -0
  233. package/lib/commonjs/components/executiontasks/imageCapture/CaptureUtils.js +159 -0
  234. package/lib/commonjs/components/executiontasks/imageCapture/CaptureUtils.js.map +1 -0
  235. package/lib/commonjs/components/executiontasks/imageCapture/ImageCapture.js +256 -0
  236. package/lib/commonjs/components/executiontasks/imageCapture/ImageCapture.js.map +1 -0
  237. package/lib/commonjs/components/executiontasks/payments/PaymentStyles.js +91 -0
  238. package/lib/commonjs/components/executiontasks/payments/PaymentStyles.js.map +1 -0
  239. package/lib/commonjs/components/executiontasks/payments/PaymentUtils.js +17 -0
  240. package/lib/commonjs/components/executiontasks/payments/PaymentUtils.js.map +1 -0
  241. package/lib/commonjs/components/executiontasks/payments/completePayment/CompletePaymentET.js +111 -0
  242. package/lib/commonjs/components/executiontasks/payments/completePayment/CompletePaymentET.js.map +1 -0
  243. package/lib/commonjs/components/executiontasks/payments/completePayment/CompletePaymentSchema.js +6 -0
  244. package/lib/commonjs/components/executiontasks/payments/completePayment/CompletePaymentSchema.js.map +1 -0
  245. package/lib/commonjs/components/executiontasks/payments/init/InitPaymentET.js +139 -0
  246. package/lib/commonjs/components/executiontasks/payments/init/InitPaymentET.js.map +1 -0
  247. package/lib/commonjs/components/executiontasks/payments/init/InitPaymentSchema.js +6 -0
  248. package/lib/commonjs/components/executiontasks/payments/init/InitPaymentSchema.js.map +1 -0
  249. package/lib/commonjs/components/executiontasks/payments/processPayment/ProcessPaymentET.js +146 -0
  250. package/lib/commonjs/components/executiontasks/payments/processPayment/ProcessPaymentET.js.map +1 -0
  251. package/lib/commonjs/components/executiontasks/payments/processPayment/ProcessPaymentSchema.js +6 -0
  252. package/lib/commonjs/components/executiontasks/payments/processPayment/ProcessPaymentSchema.js.map +1 -0
  253. package/lib/commonjs/components/executiontasks/pickup/PickpSchema.js +6 -0
  254. package/lib/commonjs/components/executiontasks/pickup/PickpSchema.js.map +1 -0
  255. package/lib/commonjs/components/executiontasks/pickup/PickupET.js +103 -0
  256. package/lib/commonjs/components/executiontasks/pickup/PickupET.js.map +1 -0
  257. package/lib/commonjs/components/executiontasks/pickup/SLPickupET.js +115 -0
  258. package/lib/commonjs/components/executiontasks/pickup/SLPickupET.js.map +1 -0
  259. package/lib/commonjs/components/executiontasks/scanner/CScanner.js +123 -0
  260. package/lib/commonjs/components/executiontasks/scanner/CScanner.js.map +1 -0
  261. package/lib/commonjs/components/executiontasks/scanner/ScannerSchema.js +32 -0
  262. package/lib/commonjs/components/executiontasks/scanner/ScannerSchema.js.map +1 -0
  263. package/lib/commonjs/components/executiontasks/scanner/ScannerUtils.js +193 -0
  264. package/lib/commonjs/components/executiontasks/scanner/ScannerUtils.js.map +1 -0
  265. package/lib/commonjs/components/executiontasks/scanner/returns/DropDownSelector.js +20 -0
  266. package/lib/commonjs/components/executiontasks/scanner/returns/DropDownSelector.js.map +1 -0
  267. package/lib/commonjs/components/executiontasks/scanner/returns/DropDownUtils.js +49 -0
  268. package/lib/commonjs/components/executiontasks/scanner/returns/DropDownUtils.js.map +1 -0
  269. package/lib/commonjs/components/executiontasks/scanner/returns/RTReasonSelection.js +107 -0
  270. package/lib/commonjs/components/executiontasks/scanner/returns/RTReasonSelection.js.map +1 -0
  271. package/lib/commonjs/components/executiontasks/scanner/returns/RTScan.js +317 -0
  272. package/lib/commonjs/components/executiontasks/scanner/returns/RTScan.js.map +1 -0
  273. package/lib/commonjs/components/executiontasks/scanner/returns/ReasonDropDown.js +100 -0
  274. package/lib/commonjs/components/executiontasks/scanner/returns/ReasonDropDown.js.map +1 -0
  275. package/lib/commonjs/components/executiontasks/scanner/returns/ScanList.js +276 -0
  276. package/lib/commonjs/components/executiontasks/scanner/returns/ScanList.js.map +1 -0
  277. package/lib/commonjs/components/executiontasks/verifyInput/VerifyInputSchema.js +6 -0
  278. package/lib/commonjs/components/executiontasks/verifyInput/VerifyInputSchema.js.map +1 -0
  279. package/lib/commonjs/components/executiontasks/verifyLocation/GeofenceUtils.js +66 -0
  280. package/lib/commonjs/components/executiontasks/verifyLocation/GeofenceUtils.js.map +1 -0
  281. package/lib/commonjs/components/executiontasks/verifyLocation/VerifyLocSchema.js +6 -0
  282. package/lib/commonjs/components/executiontasks/verifyLocation/VerifyLocSchema.js.map +1 -0
  283. package/lib/commonjs/components/executiontasks/verifyLocation/VerifyLocationET.js +69 -0
  284. package/lib/commonjs/components/executiontasks/verifyLocation/VerifyLocationET.js.map +1 -0
  285. package/lib/commonjs/components/executiontasks/verifyOtp/VerifyOtpET.js +100 -0
  286. package/lib/commonjs/components/executiontasks/verifyOtp/VerifyOtpET.js.map +1 -0
  287. package/lib/commonjs/components/executiontasks/verifyOtp/VerifyOtpSchema.js +6 -0
  288. package/lib/commonjs/components/executiontasks/verifyOtp/VerifyOtpSchema.js.map +1 -0
  289. package/lib/commonjs/components/widgets/AlertDisplay.js +25 -0
  290. package/lib/commonjs/components/widgets/AlertDisplay.js.map +1 -0
  291. package/lib/commonjs/components/widgets/CancelOrderDialog.js +101 -0
  292. package/lib/commonjs/components/widgets/CancelOrderDialog.js.map +1 -0
  293. package/lib/commonjs/components/widgets/ProgressDialog.js +59 -0
  294. package/lib/commonjs/components/widgets/ProgressDialog.js.map +1 -0
  295. package/lib/commonjs/components/widgets/SnackBarCustom.js +165 -0
  296. package/lib/commonjs/components/widgets/SnackBarCustom.js.map +1 -0
  297. package/lib/commonjs/components/widgets/Toaster.js +15 -0
  298. package/lib/commonjs/components/widgets/Toaster.js.map +1 -0
  299. package/lib/commonjs/config/DispatchSDKConfig.js +14 -0
  300. package/lib/commonjs/config/DispatchSDKConfig.js.map +1 -0
  301. package/lib/commonjs/constants/apiConstants.js +11 -0
  302. package/lib/commonjs/constants/apiConstants.js.map +1 -0
  303. package/lib/commonjs/constants/constants.js +25 -0
  304. package/lib/commonjs/constants/constants.js.map +1 -0
  305. package/lib/commonjs/constants/statuscode.js +18 -0
  306. package/lib/commonjs/constants/statuscode.js.map +1 -0
  307. package/lib/commonjs/errors/BaseError.js +30 -0
  308. package/lib/commonjs/errors/BaseError.js.map +1 -0
  309. package/lib/commonjs/errors/ErrorCodes.js +44 -0
  310. package/lib/commonjs/errors/ErrorCodes.js.map +1 -0
  311. package/lib/commonjs/index.js +164 -0
  312. package/lib/commonjs/index.js.map +1 -0
  313. package/lib/commonjs/manager/dispatch/DispatchStateContainer.js +442 -0
  314. package/lib/commonjs/manager/dispatch/DispatchStateContainer.js.map +1 -0
  315. package/lib/commonjs/manager/dispatchCodes/EventCodeContainer.js +13 -0
  316. package/lib/commonjs/manager/dispatchCodes/EventCodeContainer.js.map +1 -0
  317. package/lib/commonjs/manager/dispatchCodes/ReasonCodeContainer.js +112 -0
  318. package/lib/commonjs/manager/dispatchCodes/ReasonCodeContainer.js.map +1 -0
  319. package/lib/commonjs/manager/dispatchCodes/ReasonCodeRepo.js +87 -0
  320. package/lib/commonjs/manager/dispatchCodes/ReasonCodeRepo.js.map +1 -0
  321. package/lib/commonjs/manager/dispatchCodes/reasonCodes.json +137 -0
  322. package/lib/commonjs/manager/location/LocationManager.js +97 -0
  323. package/lib/commonjs/manager/location/LocationManager.js.map +1 -0
  324. package/lib/commonjs/manager/sdk/DispatchSDKManager.js +103 -0
  325. package/lib/commonjs/manager/sdk/DispatchSDKManager.js.map +1 -0
  326. package/lib/commonjs/manager/sdk/DispatchSdkCache.js +69 -0
  327. package/lib/commonjs/manager/sdk/DispatchSdkCache.js.map +1 -0
  328. package/lib/commonjs/manager/syncmanager/AppSyncManager.js +158 -0
  329. package/lib/commonjs/manager/syncmanager/AppSyncManager.js.map +1 -0
  330. package/lib/commonjs/manager/syncmanager/DBConfig.js +62 -0
  331. package/lib/commonjs/manager/syncmanager/DBConfig.js.map +1 -0
  332. package/lib/commonjs/manager/syncmanager/NativeSyncManager.js +15 -0
  333. package/lib/commonjs/manager/syncmanager/NativeSyncManager.js.map +1 -0
  334. package/lib/commonjs/manager/syncmanager/database.js +48 -0
  335. package/lib/commonjs/manager/syncmanager/database.js.map +1 -0
  336. package/lib/commonjs/manager/syncmanager/document/DocumentHttpClient.js +125 -0
  337. package/lib/commonjs/manager/syncmanager/document/DocumentHttpClient.js.map +1 -0
  338. package/lib/commonjs/manager/syncmanager/document/DocumentManager.js +113 -0
  339. package/lib/commonjs/manager/syncmanager/document/DocumentManager.js.map +1 -0
  340. package/lib/commonjs/manager/syncmanager/document/DocumentSyncManager.js +200 -0
  341. package/lib/commonjs/manager/syncmanager/document/DocumentSyncManager.js.map +1 -0
  342. package/lib/commonjs/manager/syncmanager/document/models.js +2 -0
  343. package/lib/commonjs/manager/syncmanager/document/models.js.map +1 -0
  344. package/lib/commonjs/manager/syncmanager/events/ETEventsManager.js +117 -0
  345. package/lib/commonjs/manager/syncmanager/events/ETEventsManager.js.map +1 -0
  346. package/lib/commonjs/manager/syncmanager/events/EventsGraphQLClient.js +2 -0
  347. package/lib/commonjs/manager/syncmanager/events/EventsGraphQLClient.js.map +1 -0
  348. package/lib/commonjs/manager/syncmanager/events/EventsSyncManager.js +279 -0
  349. package/lib/commonjs/manager/syncmanager/events/EventsSyncManager.js.map +1 -0
  350. package/lib/commonjs/manager/syncmanager/events/SyncHttpClient.js +79 -0
  351. package/lib/commonjs/manager/syncmanager/events/SyncHttpClient.js.map +1 -0
  352. package/lib/commonjs/models/DispatchModels.js +14 -0
  353. package/lib/commonjs/models/DispatchModels.js.map +1 -0
  354. package/lib/commonjs/models/ReasonCodes.js +2 -0
  355. package/lib/commonjs/models/ReasonCodes.js.map +1 -0
  356. package/lib/commonjs/models/auth.js +2 -0
  357. package/lib/commonjs/models/auth.js.map +1 -0
  358. package/lib/commonjs/models/execTasks/ETBaseModels.js +2 -0
  359. package/lib/commonjs/models/execTasks/ETBaseModels.js.map +1 -0
  360. package/lib/commonjs/models/execTasks/ETConfig.js +116 -0
  361. package/lib/commonjs/models/execTasks/ETConfig.js.map +1 -0
  362. package/lib/commonjs/models/execution.js +2 -0
  363. package/lib/commonjs/models/execution.js.map +1 -0
  364. package/lib/commonjs/models/fcm.js +2 -0
  365. package/lib/commonjs/models/fcm.js.map +1 -0
  366. package/lib/commonjs/models/sdk.js +15 -0
  367. package/lib/commonjs/models/sdk.js.map +1 -0
  368. package/lib/commonjs/native/signature/SignatureCapture.js +94 -0
  369. package/lib/commonjs/native/signature/SignatureCapture.js.map +1 -0
  370. package/lib/commonjs/network/GraphQLClient.js +149 -0
  371. package/lib/commonjs/network/GraphQLClient.js.map +1 -0
  372. package/lib/commonjs/network/NetworkClient.js +57 -0
  373. package/lib/commonjs/network/NetworkClient.js.map +1 -0
  374. package/lib/commonjs/network/NetworkUtils.js +36 -0
  375. package/lib/commonjs/network/NetworkUtils.js.map +1 -0
  376. package/lib/commonjs/network/Queries.js +55 -0
  377. package/lib/commonjs/network/Queries.js.map +1 -0
  378. package/lib/commonjs/network/client.js +87 -0
  379. package/lib/commonjs/network/client.js.map +1 -0
  380. package/lib/commonjs/res/strings.js +9 -0
  381. package/lib/commonjs/res/strings.js.map +1 -0
  382. package/lib/commonjs/resources/Login.js +52 -0
  383. package/lib/commonjs/resources/Login.js.map +1 -0
  384. package/lib/commonjs/resources/network.js +28 -0
  385. package/lib/commonjs/resources/network.js.map +1 -0
  386. package/lib/commonjs/styles/SdkColors.js +30 -0
  387. package/lib/commonjs/styles/SdkColors.js.map +1 -0
  388. package/lib/commonjs/styles/executionTasks/CommonStyles.js +168 -0
  389. package/lib/commonjs/styles/executionTasks/CommonStyles.js.map +1 -0
  390. package/lib/commonjs/ui/screens/CancellationScreen.js +64 -0
  391. package/lib/commonjs/ui/screens/CancellationScreen.js.map +1 -0
  392. package/lib/commonjs/ui/screens/CaptureInputScreen.js +74 -0
  393. package/lib/commonjs/ui/screens/CaptureInputScreen.js.map +1 -0
  394. package/lib/commonjs/ui/screens/CompleteObjectiveScreen.js +68 -0
  395. package/lib/commonjs/ui/screens/CompleteObjectiveScreen.js.map +1 -0
  396. package/lib/commonjs/ui/screens/DeliverScreen.js +75 -0
  397. package/lib/commonjs/ui/screens/DeliverScreen.js.map +1 -0
  398. package/lib/commonjs/ui/screens/DisplayScreen.js +43 -0
  399. package/lib/commonjs/ui/screens/DisplayScreen.js.map +1 -0
  400. package/lib/commonjs/ui/screens/DoodleScreen.js +79 -0
  401. package/lib/commonjs/ui/screens/DoodleScreen.js.map +1 -0
  402. package/lib/commonjs/ui/screens/DropCashScreen.js +89 -0
  403. package/lib/commonjs/ui/screens/DropCashScreen.js.map +1 -0
  404. package/lib/commonjs/ui/screens/ETScreensIndex.js +128 -0
  405. package/lib/commonjs/ui/screens/ETScreensIndex.js.map +1 -0
  406. package/lib/commonjs/ui/screens/FormsScreen.js +45 -0
  407. package/lib/commonjs/ui/screens/FormsScreen.js.map +1 -0
  408. package/lib/commonjs/ui/screens/GeofenceScreen.js +47 -0
  409. package/lib/commonjs/ui/screens/GeofenceScreen.js.map +1 -0
  410. package/lib/commonjs/ui/screens/HttpRequestScreen.js +38 -0
  411. package/lib/commonjs/ui/screens/HttpRequestScreen.js.map +1 -0
  412. package/lib/commonjs/ui/screens/ImageCaptureScreen.js +44 -0
  413. package/lib/commonjs/ui/screens/ImageCaptureScreen.js.map +1 -0
  414. package/lib/commonjs/ui/screens/PaymentScreen.js +142 -0
  415. package/lib/commonjs/ui/screens/PaymentScreen.js.map +1 -0
  416. package/lib/commonjs/ui/screens/PickupScreen.js +48 -0
  417. package/lib/commonjs/ui/screens/PickupScreen.js.map +1 -0
  418. package/lib/commonjs/ui/screens/RTScanScreen.js +118 -0
  419. package/lib/commonjs/ui/screens/RTScanScreen.js.map +1 -0
  420. package/lib/commonjs/ui/screens/StartWorkFlowScreen.js +137 -0
  421. package/lib/commonjs/ui/screens/StartWorkFlowScreen.js.map +1 -0
  422. package/lib/commonjs/ui/screens/WithBaseDispatchScreen.js +52 -0
  423. package/lib/commonjs/ui/screens/WithBaseDispatchScreen.js.map +1 -0
  424. package/lib/commonjs/ui/uiConfig/RouteParams.js +16 -0
  425. package/lib/commonjs/ui/uiConfig/RouteParams.js.map +1 -0
  426. package/lib/commonjs/utils/ExecTaskUtils.js +113 -0
  427. package/lib/commonjs/utils/ExecTaskUtils.js.map +1 -0
  428. package/lib/commonjs/utils/Logger.js +114 -0
  429. package/lib/commonjs/utils/Logger.js.map +1 -0
  430. package/lib/commonjs/utils/NetworkUtil.js +66 -0
  431. package/lib/commonjs/utils/NetworkUtil.js.map +1 -0
  432. package/lib/commonjs/utils/SdkUtils.js +129 -0
  433. package/lib/commonjs/utils/SdkUtils.js.map +1 -0
  434. package/lib/commonjs/utils/SyncManagerUtils.js +136 -0
  435. package/lib/commonjs/utils/SyncManagerUtils.js.map +1 -0
  436. package/lib/commonjs/utils/fcm/FCM.js +58 -0
  437. package/lib/commonjs/utils/fcm/FCM.js.map +1 -0
  438. package/lib/commonjs/utils/fcm/FcmUtils.js +98 -0
  439. package/lib/commonjs/utils/fcm/FcmUtils.js.map +1 -0
  440. package/lib/commonjs/utils/helper.js +37 -0
  441. package/lib/commonjs/utils/helper.js.map +1 -0
  442. package/lib/commonjs/utils/loginHelper.js +70 -0
  443. package/lib/commonjs/utils/loginHelper.js.map +1 -0
  444. package/lib/commonjs/utils/storage.js +153 -0
  445. package/lib/commonjs/utils/storage.js.map +1 -0
  446. package/lib/commonjs/utils/test.json +17 -0
  447. package/lib/commonjs/utils/utils.js +38 -0
  448. package/lib/commonjs/utils/utils.js.map +1 -0
  449. package/lib/foxtrotplatform-mobile-execution-lib-v0.6.4.tgz +0 -0
  450. package/lib/module/components/dispatch/DispatchExecNavigator.js +228 -0
  451. package/lib/module/components/dispatch/DispatchExecNavigator.js.map +1 -0
  452. package/lib/module/components/executiontasks/CompletedWFSchema.js +2 -0
  453. package/lib/module/components/executiontasks/CompletedWFSchema.js.map +1 -0
  454. package/lib/module/components/executiontasks/ExecutionTasksIndex.js +25 -0
  455. package/lib/module/components/executiontasks/ExecutionTasksIndex.js.map +1 -0
  456. package/lib/module/components/executiontasks/cancellation/CancelET.js +93 -0
  457. package/lib/module/components/executiontasks/cancellation/CancelET.js.map +1 -0
  458. package/lib/module/components/executiontasks/cancellation/CancellationSchema.js +2 -0
  459. package/lib/module/components/executiontasks/cancellation/CancellationSchema.js.map +1 -0
  460. package/lib/module/components/executiontasks/captureInput/CaptureInputSchema.js +2 -0
  461. package/lib/module/components/executiontasks/captureInput/CaptureInputSchema.js.map +1 -0
  462. package/lib/module/components/executiontasks/captureInput/CaptureText.js +50 -0
  463. package/lib/module/components/executiontasks/captureInput/CaptureText.js.map +1 -0
  464. package/lib/module/components/executiontasks/deliver/DeliverET.js +87 -0
  465. package/lib/module/components/executiontasks/deliver/DeliverET.js.map +1 -0
  466. package/lib/module/components/executiontasks/deliver/DeliverETInput.js +2 -0
  467. package/lib/module/components/executiontasks/deliver/DeliverETInput.js.map +1 -0
  468. package/lib/module/components/executiontasks/deliver/SLDeliverET.js +175 -0
  469. package/lib/module/components/executiontasks/deliver/SLDeliverET.js.map +1 -0
  470. package/lib/module/components/executiontasks/display/DisplayModalET.js +107 -0
  471. package/lib/module/components/executiontasks/display/DisplayModalET.js.map +1 -0
  472. package/lib/module/components/executiontasks/display/DisplaySchema.js +2 -0
  473. package/lib/module/components/executiontasks/display/DisplaySchema.js.map +1 -0
  474. package/lib/module/components/executiontasks/doodle/DoodleUtils.js +19 -0
  475. package/lib/module/components/executiontasks/doodle/DoodleUtils.js.map +1 -0
  476. package/lib/module/components/executiontasks/doodle/SignatureET.js +163 -0
  477. package/lib/module/components/executiontasks/doodle/SignatureET.js.map +1 -0
  478. package/lib/module/components/executiontasks/doodle/SignatureSchema.js +2 -0
  479. package/lib/module/components/executiontasks/doodle/SignatureSchema.js.map +1 -0
  480. package/lib/module/components/executiontasks/dropCash/DropCashET.js +108 -0
  481. package/lib/module/components/executiontasks/dropCash/DropCashET.js.map +1 -0
  482. package/lib/module/components/executiontasks/dropCash/DropCashSchema.js +2 -0
  483. package/lib/module/components/executiontasks/dropCash/DropCashSchema.js.map +1 -0
  484. package/lib/module/components/executiontasks/dropCash/SLDropCash.js +117 -0
  485. package/lib/module/components/executiontasks/dropCash/SLDropCash.js.map +1 -0
  486. package/lib/module/components/executiontasks/forms/FormGenerator.js +90 -0
  487. package/lib/module/components/executiontasks/forms/FormGenerator.js.map +1 -0
  488. package/lib/module/components/executiontasks/forms/FormSchema.js +2 -0
  489. package/lib/module/components/executiontasks/forms/FormSchema.js.map +1 -0
  490. package/lib/module/components/executiontasks/forms/widgets/DateTimeWidget.js +132 -0
  491. package/lib/module/components/executiontasks/forms/widgets/DateTimeWidget.js.map +1 -0
  492. package/lib/module/components/executiontasks/forms/widgets/QRBarcodeScannerWidget.js +134 -0
  493. package/lib/module/components/executiontasks/forms/widgets/QRBarcodeScannerWidget.js.map +1 -0
  494. package/lib/module/components/executiontasks/forms/widgets/TimeRangeSelector.js +37 -0
  495. package/lib/module/components/executiontasks/forms/widgets/TimeRangeSelector.js.map +1 -0
  496. package/lib/module/components/executiontasks/httpRequest/HttpEtUtils.js +33 -0
  497. package/lib/module/components/executiontasks/httpRequest/HttpEtUtils.js.map +1 -0
  498. package/lib/module/components/executiontasks/httpRequest/HttpRequestET.js +42 -0
  499. package/lib/module/components/executiontasks/httpRequest/HttpRequestET.js.map +1 -0
  500. package/lib/module/components/executiontasks/httpRequest/HttpRequestETSchema.js +2 -0
  501. package/lib/module/components/executiontasks/httpRequest/HttpRequestETSchema.js.map +1 -0
  502. package/lib/module/components/executiontasks/imageCapture/CaptureSchema.js +2 -0
  503. package/lib/module/components/executiontasks/imageCapture/CaptureSchema.js.map +1 -0
  504. package/lib/module/components/executiontasks/imageCapture/CaptureUtils.js +120 -0
  505. package/lib/module/components/executiontasks/imageCapture/CaptureUtils.js.map +1 -0
  506. package/lib/module/components/executiontasks/imageCapture/ImageCapture.js +232 -0
  507. package/lib/module/components/executiontasks/imageCapture/ImageCapture.js.map +1 -0
  508. package/lib/module/components/executiontasks/payments/PaymentStyles.js +80 -0
  509. package/lib/module/components/executiontasks/payments/PaymentStyles.js.map +1 -0
  510. package/lib/module/components/executiontasks/payments/PaymentUtils.js +8 -0
  511. package/lib/module/components/executiontasks/payments/PaymentUtils.js.map +1 -0
  512. package/lib/module/components/executiontasks/payments/completePayment/CompletePaymentET.js +90 -0
  513. package/lib/module/components/executiontasks/payments/completePayment/CompletePaymentET.js.map +1 -0
  514. package/lib/module/components/executiontasks/payments/completePayment/CompletePaymentSchema.js +2 -0
  515. package/lib/module/components/executiontasks/payments/completePayment/CompletePaymentSchema.js.map +1 -0
  516. package/lib/module/components/executiontasks/payments/init/InitPaymentET.js +116 -0
  517. package/lib/module/components/executiontasks/payments/init/InitPaymentET.js.map +1 -0
  518. package/lib/module/components/executiontasks/payments/init/InitPaymentSchema.js +2 -0
  519. package/lib/module/components/executiontasks/payments/init/InitPaymentSchema.js.map +1 -0
  520. package/lib/module/components/executiontasks/payments/processPayment/ProcessPaymentET.js +124 -0
  521. package/lib/module/components/executiontasks/payments/processPayment/ProcessPaymentET.js.map +1 -0
  522. package/lib/module/components/executiontasks/payments/processPayment/ProcessPaymentSchema.js +2 -0
  523. package/lib/module/components/executiontasks/payments/processPayment/ProcessPaymentSchema.js.map +1 -0
  524. package/lib/module/components/executiontasks/pickup/PickpSchema.js +2 -0
  525. package/lib/module/components/executiontasks/pickup/PickpSchema.js.map +1 -0
  526. package/lib/module/components/executiontasks/pickup/PickupET.js +85 -0
  527. package/lib/module/components/executiontasks/pickup/PickupET.js.map +1 -0
  528. package/lib/module/components/executiontasks/pickup/SLPickupET.js +94 -0
  529. package/lib/module/components/executiontasks/pickup/SLPickupET.js.map +1 -0
  530. package/lib/module/components/executiontasks/scanner/CScanner.js +101 -0
  531. package/lib/module/components/executiontasks/scanner/CScanner.js.map +1 -0
  532. package/lib/module/components/executiontasks/scanner/ScannerSchema.js +24 -0
  533. package/lib/module/components/executiontasks/scanner/ScannerSchema.js.map +1 -0
  534. package/lib/module/components/executiontasks/scanner/ScannerUtils.js +158 -0
  535. package/lib/module/components/executiontasks/scanner/ScannerUtils.js.map +1 -0
  536. package/lib/module/components/executiontasks/scanner/returns/DropDownSelector.js +9 -0
  537. package/lib/module/components/executiontasks/scanner/returns/DropDownSelector.js.map +1 -0
  538. package/lib/module/components/executiontasks/scanner/returns/DropDownUtils.js +38 -0
  539. package/lib/module/components/executiontasks/scanner/returns/DropDownUtils.js.map +1 -0
  540. package/lib/module/components/executiontasks/scanner/returns/RTReasonSelection.js +86 -0
  541. package/lib/module/components/executiontasks/scanner/returns/RTReasonSelection.js.map +1 -0
  542. package/lib/module/components/executiontasks/scanner/returns/RTScan.js +287 -0
  543. package/lib/module/components/executiontasks/scanner/returns/RTScan.js.map +1 -0
  544. package/lib/module/components/executiontasks/scanner/returns/ReasonDropDown.js +80 -0
  545. package/lib/module/components/executiontasks/scanner/returns/ReasonDropDown.js.map +1 -0
  546. package/lib/module/components/executiontasks/scanner/returns/ScanList.js +253 -0
  547. package/lib/module/components/executiontasks/scanner/returns/ScanList.js.map +1 -0
  548. package/lib/module/components/executiontasks/verifyInput/VerifyInputSchema.js +2 -0
  549. package/lib/module/components/executiontasks/verifyInput/VerifyInputSchema.js.map +1 -0
  550. package/lib/module/components/executiontasks/verifyLocation/GeofenceUtils.js +50 -0
  551. package/lib/module/components/executiontasks/verifyLocation/GeofenceUtils.js.map +1 -0
  552. package/lib/module/components/executiontasks/verifyLocation/VerifyLocSchema.js +2 -0
  553. package/lib/module/components/executiontasks/verifyLocation/VerifyLocSchema.js.map +1 -0
  554. package/lib/module/components/executiontasks/verifyLocation/VerifyLocationET.js +45 -0
  555. package/lib/module/components/executiontasks/verifyLocation/VerifyLocationET.js.map +1 -0
  556. package/lib/module/components/executiontasks/verifyOtp/VerifyOtpET.js +78 -0
  557. package/lib/module/components/executiontasks/verifyOtp/VerifyOtpET.js.map +1 -0
  558. package/lib/module/components/executiontasks/verifyOtp/VerifyOtpSchema.js +2 -0
  559. package/lib/module/components/executiontasks/verifyOtp/VerifyOtpSchema.js.map +1 -0
  560. package/lib/module/components/widgets/AlertDisplay.js +12 -0
  561. package/lib/module/components/widgets/AlertDisplay.js.map +1 -0
  562. package/lib/module/components/widgets/CancelOrderDialog.js +81 -0
  563. package/lib/module/components/widgets/CancelOrderDialog.js.map +1 -0
  564. package/lib/module/components/widgets/ProgressDialog.js +46 -0
  565. package/lib/module/components/widgets/ProgressDialog.js.map +1 -0
  566. package/lib/module/components/widgets/SnackBarCustom.js +138 -0
  567. package/lib/module/components/widgets/SnackBarCustom.js.map +1 -0
  568. package/lib/module/components/widgets/Toaster.js +7 -0
  569. package/lib/module/components/widgets/Toaster.js.map +1 -0
  570. package/lib/module/config/DispatchSDKConfig.js +7 -0
  571. package/lib/module/config/DispatchSDKConfig.js.map +1 -0
  572. package/lib/module/constants/apiConstants.js +4 -0
  573. package/lib/module/constants/apiConstants.js.map +1 -0
  574. package/lib/module/constants/constants.js +10 -0
  575. package/lib/module/constants/constants.js.map +1 -0
  576. package/lib/module/constants/statuscode.js +11 -0
  577. package/lib/module/constants/statuscode.js.map +1 -0
  578. package/lib/module/errors/BaseError.js +21 -0
  579. package/lib/module/errors/BaseError.js.map +1 -0
  580. package/lib/module/errors/ErrorCodes.js +32 -0
  581. package/lib/module/errors/ErrorCodes.js.map +1 -0
  582. package/lib/module/index.js +24 -0
  583. package/lib/module/index.js.map +1 -0
  584. package/lib/module/manager/dispatch/DispatchStateContainer.js +405 -0
  585. package/lib/module/manager/dispatch/DispatchStateContainer.js.map +1 -0
  586. package/lib/module/manager/dispatchCodes/EventCodeContainer.js +5 -0
  587. package/lib/module/manager/dispatchCodes/EventCodeContainer.js.map +1 -0
  588. package/lib/module/manager/dispatchCodes/ReasonCodeContainer.js +89 -0
  589. package/lib/module/manager/dispatchCodes/ReasonCodeContainer.js.map +1 -0
  590. package/lib/module/manager/dispatchCodes/ReasonCodeRepo.js +72 -0
  591. package/lib/module/manager/dispatchCodes/ReasonCodeRepo.js.map +1 -0
  592. package/lib/module/manager/dispatchCodes/reasonCodes.json +137 -0
  593. package/lib/module/manager/location/LocationManager.js +83 -0
  594. package/lib/module/manager/location/LocationManager.js.map +1 -0
  595. package/lib/module/manager/sdk/DispatchSDKManager.js +71 -0
  596. package/lib/module/manager/sdk/DispatchSDKManager.js.map +1 -0
  597. package/lib/module/manager/sdk/DispatchSdkCache.js +57 -0
  598. package/lib/module/manager/sdk/DispatchSdkCache.js.map +1 -0
  599. package/lib/module/manager/syncmanager/AppSyncManager.js +128 -0
  600. package/lib/module/manager/syncmanager/AppSyncManager.js.map +1 -0
  601. package/lib/module/manager/syncmanager/DBConfig.js +48 -0
  602. package/lib/module/manager/syncmanager/DBConfig.js.map +1 -0
  603. package/lib/module/manager/syncmanager/NativeSyncManager.js +6 -0
  604. package/lib/module/manager/syncmanager/NativeSyncManager.js.map +1 -0
  605. package/lib/module/manager/syncmanager/database.js +30 -0
  606. package/lib/module/manager/syncmanager/database.js.map +1 -0
  607. package/lib/module/manager/syncmanager/document/DocumentHttpClient.js +104 -0
  608. package/lib/module/manager/syncmanager/document/DocumentHttpClient.js.map +1 -0
  609. package/lib/module/manager/syncmanager/document/DocumentManager.js +98 -0
  610. package/lib/module/manager/syncmanager/document/DocumentManager.js.map +1 -0
  611. package/lib/module/manager/syncmanager/document/DocumentSyncManager.js +173 -0
  612. package/lib/module/manager/syncmanager/document/DocumentSyncManager.js.map +1 -0
  613. package/lib/module/manager/syncmanager/document/models.js +2 -0
  614. package/lib/module/manager/syncmanager/document/models.js.map +1 -0
  615. package/lib/module/manager/syncmanager/events/ETEventsManager.js +101 -0
  616. package/lib/module/manager/syncmanager/events/ETEventsManager.js.map +1 -0
  617. package/lib/module/manager/syncmanager/events/EventsGraphQLClient.js +2 -0
  618. package/lib/module/manager/syncmanager/events/EventsGraphQLClient.js.map +1 -0
  619. package/lib/module/manager/syncmanager/events/EventsSyncManager.js +247 -0
  620. package/lib/module/manager/syncmanager/events/EventsSyncManager.js.map +1 -0
  621. package/lib/module/manager/syncmanager/events/SyncHttpClient.js +63 -0
  622. package/lib/module/manager/syncmanager/events/SyncHttpClient.js.map +1 -0
  623. package/lib/module/models/DispatchModels.js +7 -0
  624. package/lib/module/models/DispatchModels.js.map +1 -0
  625. package/lib/module/models/ReasonCodes.js +2 -0
  626. package/lib/module/models/ReasonCodes.js.map +1 -0
  627. package/lib/module/models/auth.js +2 -0
  628. package/lib/module/models/auth.js.map +1 -0
  629. package/lib/module/models/execTasks/ETBaseModels.js +2 -0
  630. package/lib/module/models/execTasks/ETBaseModels.js.map +1 -0
  631. package/lib/module/models/execTasks/ETConfig.js +104 -0
  632. package/lib/module/models/execTasks/ETConfig.js.map +1 -0
  633. package/lib/module/models/execution.js +2 -0
  634. package/lib/module/models/execution.js.map +1 -0
  635. package/lib/module/models/fcm.js +2 -0
  636. package/lib/module/models/fcm.js.map +1 -0
  637. package/lib/module/models/sdk.js +8 -0
  638. package/lib/module/models/sdk.js.map +1 -0
  639. package/lib/module/native/signature/SignatureCapture.js +80 -0
  640. package/lib/module/native/signature/SignatureCapture.js.map +1 -0
  641. package/lib/module/network/GraphQLClient.js +132 -0
  642. package/lib/module/network/GraphQLClient.js.map +1 -0
  643. package/lib/module/network/NetworkClient.js +42 -0
  644. package/lib/module/network/NetworkClient.js.map +1 -0
  645. package/lib/module/network/NetworkUtils.js +23 -0
  646. package/lib/module/network/NetworkUtils.js.map +1 -0
  647. package/lib/module/network/Queries.js +42 -0
  648. package/lib/module/network/Queries.js.map +1 -0
  649. package/lib/module/network/client.js +74 -0
  650. package/lib/module/network/client.js.map +1 -0
  651. package/lib/module/res/strings.js +2 -0
  652. package/lib/module/res/strings.js.map +1 -0
  653. package/lib/module/resources/Login.js +42 -0
  654. package/lib/module/resources/Login.js.map +1 -0
  655. package/lib/module/resources/network.js +18 -0
  656. package/lib/module/resources/network.js.map +1 -0
  657. package/lib/module/styles/SdkColors.js +22 -0
  658. package/lib/module/styles/SdkColors.js.map +1 -0
  659. package/lib/module/styles/executionTasks/CommonStyles.js +146 -0
  660. package/lib/module/styles/executionTasks/CommonStyles.js.map +1 -0
  661. package/lib/module/ui/screens/CancellationScreen.js +41 -0
  662. package/lib/module/ui/screens/CancellationScreen.js.map +1 -0
  663. package/lib/module/ui/screens/CaptureInputScreen.js +52 -0
  664. package/lib/module/ui/screens/CaptureInputScreen.js.map +1 -0
  665. package/lib/module/ui/screens/CompleteObjectiveScreen.js +42 -0
  666. package/lib/module/ui/screens/CompleteObjectiveScreen.js.map +1 -0
  667. package/lib/module/ui/screens/DeliverScreen.js +53 -0
  668. package/lib/module/ui/screens/DeliverScreen.js.map +1 -0
  669. package/lib/module/ui/screens/DisplayScreen.js +27 -0
  670. package/lib/module/ui/screens/DisplayScreen.js.map +1 -0
  671. package/lib/module/ui/screens/DoodleScreen.js +56 -0
  672. package/lib/module/ui/screens/DoodleScreen.js.map +1 -0
  673. package/lib/module/ui/screens/DropCashScreen.js +67 -0
  674. package/lib/module/ui/screens/DropCashScreen.js.map +1 -0
  675. package/lib/module/ui/screens/ETScreensIndex.js +17 -0
  676. package/lib/module/ui/screens/ETScreensIndex.js.map +1 -0
  677. package/lib/module/ui/screens/FormsScreen.js +28 -0
  678. package/lib/module/ui/screens/FormsScreen.js.map +1 -0
  679. package/lib/module/ui/screens/GeofenceScreen.js +30 -0
  680. package/lib/module/ui/screens/GeofenceScreen.js.map +1 -0
  681. package/lib/module/ui/screens/HttpRequestScreen.js +23 -0
  682. package/lib/module/ui/screens/HttpRequestScreen.js.map +1 -0
  683. package/lib/module/ui/screens/ImageCaptureScreen.js +27 -0
  684. package/lib/module/ui/screens/ImageCaptureScreen.js.map +1 -0
  685. package/lib/module/ui/screens/PaymentScreen.js +119 -0
  686. package/lib/module/ui/screens/PaymentScreen.js.map +1 -0
  687. package/lib/module/ui/screens/PickupScreen.js +32 -0
  688. package/lib/module/ui/screens/PickupScreen.js.map +1 -0
  689. package/lib/module/ui/screens/RTScanScreen.js +93 -0
  690. package/lib/module/ui/screens/RTScanScreen.js.map +1 -0
  691. package/lib/module/ui/screens/StartWorkFlowScreen.js +105 -0
  692. package/lib/module/ui/screens/StartWorkFlowScreen.js.map +1 -0
  693. package/lib/module/ui/screens/WithBaseDispatchScreen.js +35 -0
  694. package/lib/module/ui/screens/WithBaseDispatchScreen.js.map +1 -0
  695. package/lib/module/ui/uiConfig/RouteParams.js +9 -0
  696. package/lib/module/ui/uiConfig/RouteParams.js.map +1 -0
  697. package/lib/module/utils/ExecTaskUtils.js +93 -0
  698. package/lib/module/utils/ExecTaskUtils.js.map +1 -0
  699. package/lib/module/utils/Logger.js +97 -0
  700. package/lib/module/utils/Logger.js.map +1 -0
  701. package/lib/module/utils/NetworkUtil.js +54 -0
  702. package/lib/module/utils/NetworkUtil.js.map +1 -0
  703. package/lib/module/utils/SdkUtils.js +103 -0
  704. package/lib/module/utils/SdkUtils.js.map +1 -0
  705. package/lib/module/utils/SyncManagerUtils.js +93 -0
  706. package/lib/module/utils/SyncManagerUtils.js.map +1 -0
  707. package/lib/module/utils/fcm/FCM.js +36 -0
  708. package/lib/module/utils/fcm/FCM.js.map +1 -0
  709. package/lib/module/utils/fcm/FcmUtils.js +68 -0
  710. package/lib/module/utils/fcm/FcmUtils.js.map +1 -0
  711. package/lib/module/utils/helper.js +27 -0
  712. package/lib/module/utils/helper.js.map +1 -0
  713. package/lib/module/utils/loginHelper.js +60 -0
  714. package/lib/module/utils/loginHelper.js.map +1 -0
  715. package/lib/module/utils/storage.js +142 -0
  716. package/lib/module/utils/storage.js.map +1 -0
  717. package/lib/module/utils/test.json +17 -0
  718. package/lib/module/utils/utils.js +24 -0
  719. package/lib/module/utils/utils.js.map +1 -0
  720. package/lib/typescript/components/dispatch/DispatchExecNavigator.d.ts +5 -0
  721. package/lib/typescript/components/executiontasks/CompletedWFSchema.d.ts +18 -0
  722. package/lib/typescript/components/executiontasks/ExecutionTasksIndex.d.ts +42 -0
  723. package/lib/typescript/components/executiontasks/cancellation/CancelET.d.ts +4 -0
  724. package/lib/typescript/components/executiontasks/cancellation/CancellationSchema.d.ts +12 -0
  725. package/lib/typescript/components/executiontasks/captureInput/CaptureInputSchema.d.ts +43 -0
  726. package/lib/typescript/components/executiontasks/captureInput/CaptureText.d.ts +4 -0
  727. package/lib/typescript/components/executiontasks/deliver/DeliverET.d.ts +4 -0
  728. package/lib/typescript/components/executiontasks/deliver/DeliverETInput.d.ts +42 -0
  729. package/lib/typescript/components/executiontasks/deliver/SLDeliverET.d.ts +8 -0
  730. package/lib/typescript/components/executiontasks/display/DisplayModalET.d.ts +4 -0
  731. package/lib/typescript/components/executiontasks/display/DisplaySchema.d.ts +23 -0
  732. package/lib/typescript/components/executiontasks/doodle/DoodleUtils.d.ts +3 -0
  733. package/lib/typescript/components/executiontasks/doodle/SignatureET.d.ts +4 -0
  734. package/lib/typescript/components/executiontasks/doodle/SignatureSchema.d.ts +48 -0
  735. package/lib/typescript/components/executiontasks/dropCash/DropCashET.d.ts +4 -0
  736. package/lib/typescript/components/executiontasks/dropCash/DropCashSchema.d.ts +17 -0
  737. package/lib/typescript/components/executiontasks/dropCash/SLDropCash.d.ts +4 -0
  738. package/lib/typescript/components/executiontasks/forms/FormGenerator.d.ts +4 -0
  739. package/lib/typescript/components/executiontasks/forms/FormSchema.d.ts +24 -0
  740. package/lib/typescript/components/executiontasks/forms/widgets/DateTimeWidget.d.ts +11 -0
  741. package/lib/typescript/components/executiontasks/forms/widgets/QRBarcodeScannerWidget.d.ts +8 -0
  742. package/lib/typescript/components/executiontasks/forms/widgets/TimeRangeSelector.d.ts +4 -0
  743. package/lib/typescript/components/executiontasks/httpRequest/HttpEtUtils.d.ts +4 -0
  744. package/lib/typescript/components/executiontasks/httpRequest/HttpRequestET.d.ts +4 -0
  745. package/lib/typescript/components/executiontasks/httpRequest/HttpRequestETSchema.d.ts +36 -0
  746. package/lib/typescript/components/executiontasks/imageCapture/CaptureSchema.d.ts +79 -0
  747. package/lib/typescript/components/executiontasks/imageCapture/CaptureUtils.d.ts +9 -0
  748. package/lib/typescript/components/executiontasks/imageCapture/ImageCapture.d.ts +4 -0
  749. package/lib/typescript/components/executiontasks/payments/PaymentStyles.d.ts +78 -0
  750. package/lib/typescript/components/executiontasks/payments/PaymentUtils.d.ts +2 -0
  751. package/lib/typescript/components/executiontasks/payments/completePayment/CompletePaymentET.d.ts +4 -0
  752. package/lib/typescript/components/executiontasks/payments/completePayment/CompletePaymentSchema.d.ts +18 -0
  753. package/lib/typescript/components/executiontasks/payments/init/InitPaymentET.d.ts +4 -0
  754. package/lib/typescript/components/executiontasks/payments/init/InitPaymentSchema.d.ts +31 -0
  755. package/lib/typescript/components/executiontasks/payments/processPayment/ProcessPaymentET.d.ts +4 -0
  756. package/lib/typescript/components/executiontasks/payments/processPayment/ProcessPaymentSchema.d.ts +33 -0
  757. package/lib/typescript/components/executiontasks/pickup/PickpSchema.d.ts +25 -0
  758. package/lib/typescript/components/executiontasks/pickup/PickupET.d.ts +4 -0
  759. package/lib/typescript/components/executiontasks/pickup/SLPickupET.d.ts +8 -0
  760. package/lib/typescript/components/executiontasks/scanner/CScanner.d.ts +7 -0
  761. package/lib/typescript/components/executiontasks/scanner/ScannerSchema.d.ts +75 -0
  762. package/lib/typescript/components/executiontasks/scanner/ScannerUtils.d.ts +15 -0
  763. package/lib/typescript/components/executiontasks/scanner/returns/DropDownSelector.d.ts +3 -0
  764. package/lib/typescript/components/executiontasks/scanner/returns/DropDownUtils.d.ts +3 -0
  765. package/lib/typescript/components/executiontasks/scanner/returns/RTReasonSelection.d.ts +7 -0
  766. package/lib/typescript/components/executiontasks/scanner/returns/RTScan.d.ts +4 -0
  767. package/lib/typescript/components/executiontasks/scanner/returns/ReasonDropDown.d.ts +14 -0
  768. package/lib/typescript/components/executiontasks/scanner/returns/ScanList.d.ts +17 -0
  769. package/lib/typescript/components/executiontasks/verifyInput/VerifyInputSchema.d.ts +41 -0
  770. package/lib/typescript/components/executiontasks/verifyLocation/GeofenceUtils.d.ts +2 -0
  771. package/lib/typescript/components/executiontasks/verifyLocation/VerifyLocSchema.d.ts +50 -0
  772. package/lib/typescript/components/executiontasks/verifyLocation/VerifyLocationET.d.ts +4 -0
  773. package/lib/typescript/components/executiontasks/verifyOtp/VerifyOtpET.d.ts +4 -0
  774. package/lib/typescript/components/executiontasks/verifyOtp/VerifyOtpSchema.d.ts +21 -0
  775. package/lib/typescript/components/widgets/AlertDisplay.d.ts +1 -0
  776. package/lib/typescript/components/widgets/CancelOrderDialog.d.ts +13 -0
  777. package/lib/typescript/components/widgets/ProgressDialog.d.ts +7 -0
  778. package/lib/typescript/components/widgets/SnackBarCustom.d.ts +20 -0
  779. package/lib/typescript/components/widgets/Toaster.d.ts +1 -0
  780. package/lib/typescript/config/DispatchSDKConfig.d.ts +4 -0
  781. package/lib/typescript/constants/apiConstants.d.ts +3 -0
  782. package/lib/typescript/constants/constants.d.ts +9 -0
  783. package/lib/typescript/constants/statuscode.d.ts +7 -0
  784. package/lib/typescript/errors/BaseError.d.ts +10 -0
  785. package/lib/typescript/errors/ErrorCodes.d.ts +28 -0
  786. package/lib/typescript/index.d.ts +31 -0
  787. package/lib/typescript/manager/dispatch/DispatchStateContainer.d.ts +41 -0
  788. package/lib/typescript/manager/dispatchCodes/EventCodeContainer.d.ts +1 -0
  789. package/lib/typescript/manager/dispatchCodes/ReasonCodeContainer.d.ts +12 -0
  790. package/lib/typescript/manager/dispatchCodes/ReasonCodeRepo.d.ts +13 -0
  791. package/lib/typescript/manager/location/LocationManager.d.ts +14 -0
  792. package/lib/typescript/manager/sdk/DispatchSDKManager.d.ts +14 -0
  793. package/lib/typescript/manager/sdk/DispatchSdkCache.d.ts +17 -0
  794. package/lib/typescript/manager/syncmanager/AppSyncManager.d.ts +24 -0
  795. package/lib/typescript/manager/syncmanager/DBConfig.d.ts +77 -0
  796. package/lib/typescript/manager/syncmanager/NativeSyncManager.d.ts +6 -0
  797. package/lib/typescript/manager/syncmanager/database.d.ts +2 -0
  798. package/lib/typescript/manager/syncmanager/document/DocumentHttpClient.d.ts +9 -0
  799. package/lib/typescript/manager/syncmanager/document/DocumentManager.d.ts +15 -0
  800. package/lib/typescript/manager/syncmanager/document/DocumentSyncManager.d.ts +25 -0
  801. package/lib/typescript/manager/syncmanager/document/models.d.ts +4 -0
  802. package/lib/typescript/manager/syncmanager/events/ETEventsManager.d.ts +16 -0
  803. package/lib/typescript/manager/syncmanager/events/EventsGraphQLClient.d.ts +0 -0
  804. package/lib/typescript/manager/syncmanager/events/EventsSyncManager.d.ts +30 -0
  805. package/lib/typescript/manager/syncmanager/events/SyncHttpClient.d.ts +9 -0
  806. package/lib/typescript/models/DispatchModels.d.ts +17 -0
  807. package/lib/typescript/models/ReasonCodes.d.ts +6 -0
  808. package/lib/typescript/models/auth.d.ts +32 -0
  809. package/lib/typescript/models/execTasks/ETBaseModels.d.ts +81 -0
  810. package/lib/typescript/models/execTasks/ETConfig.d.ts +86 -0
  811. package/lib/typescript/models/execution.d.ts +9 -0
  812. package/lib/typescript/models/fcm.d.ts +3 -0
  813. package/lib/typescript/models/sdk.d.ts +24 -0
  814. package/lib/typescript/native/signature/SignatureCapture.d.ts +33 -0
  815. package/lib/typescript/network/GraphQLClient.d.ts +15 -0
  816. package/lib/typescript/network/NetworkClient.d.ts +8 -0
  817. package/lib/typescript/network/NetworkUtils.d.ts +11 -0
  818. package/lib/typescript/network/Queries.d.ts +5 -0
  819. package/lib/typescript/network/client.d.ts +8 -0
  820. package/lib/typescript/res/strings.d.ts +1 -0
  821. package/lib/typescript/resources/Login.d.ts +14 -0
  822. package/lib/typescript/resources/network.d.ts +7 -0
  823. package/lib/typescript/styles/SdkColors.d.ts +16 -0
  824. package/lib/typescript/styles/executionTasks/CommonStyles.d.ts +140 -0
  825. package/lib/typescript/ui/screens/CancellationScreen.d.ts +3 -0
  826. package/lib/typescript/ui/screens/CaptureInputScreen.d.ts +3 -0
  827. package/lib/typescript/ui/screens/CompleteObjectiveScreen.d.ts +3 -0
  828. package/lib/typescript/ui/screens/DeliverScreen.d.ts +3 -0
  829. package/lib/typescript/ui/screens/DisplayScreen.d.ts +3 -0
  830. package/lib/typescript/ui/screens/DoodleScreen.d.ts +3 -0
  831. package/lib/typescript/ui/screens/DropCashScreen.d.ts +3 -0
  832. package/lib/typescript/ui/screens/ETScreensIndex.d.ts +16 -0
  833. package/lib/typescript/ui/screens/FormsScreen.d.ts +3 -0
  834. package/lib/typescript/ui/screens/GeofenceScreen.d.ts +3 -0
  835. package/lib/typescript/ui/screens/HttpRequestScreen.d.ts +3 -0
  836. package/lib/typescript/ui/screens/ImageCaptureScreen.d.ts +3 -0
  837. package/lib/typescript/ui/screens/PaymentScreen.d.ts +3 -0
  838. package/lib/typescript/ui/screens/PickupScreen.d.ts +3 -0
  839. package/lib/typescript/ui/screens/RTScanScreen.d.ts +3 -0
  840. package/lib/typescript/ui/screens/StartWorkFlowScreen.d.ts +3 -0
  841. package/lib/typescript/ui/screens/WithBaseDispatchScreen.d.ts +3 -0
  842. package/lib/typescript/ui/uiConfig/RouteParams.d.ts +8 -0
  843. package/lib/typescript/utils/ExecTaskUtils.d.ts +7 -0
  844. package/lib/typescript/utils/Logger.d.ts +22 -0
  845. package/lib/typescript/utils/NetworkUtil.d.ts +14 -0
  846. package/lib/typescript/utils/SdkUtils.d.ts +25 -0
  847. package/lib/typescript/utils/SyncManagerUtils.d.ts +10 -0
  848. package/lib/typescript/utils/fcm/FCM.d.ts +8 -0
  849. package/lib/typescript/utils/fcm/FcmUtils.d.ts +5 -0
  850. package/lib/typescript/utils/helper.d.ts +14 -0
  851. package/lib/typescript/utils/loginHelper.d.ts +13 -0
  852. package/lib/typescript/utils/storage.d.ts +49 -0
  853. package/lib/typescript/utils/utils.d.ts +3 -0
  854. package/package.json +254 -0
  855. package/tsconfig.build.json +4 -0
  856. package/tsconfig.json +31 -0
@@ -0,0 +1,100 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+
8
+ var _reactNative = require("react-native");
9
+
10
+ var _react = _interopRequireWildcard(require("react"));
11
+
12
+ var _reactNativeOtpTextinput = _interopRequireDefault(require("react-native-otp-textinput"));
13
+
14
+ var _reactNativePaper = require("react-native-paper");
15
+
16
+ var _Toaster = require("../../widgets/Toaster");
17
+
18
+ var _ExecTaskUtils = require("../../../utils/ExecTaskUtils");
19
+
20
+ var _ETConfig = require("../../../models/execTasks/ETConfig");
21
+
22
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
23
+
24
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
25
+
26
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
27
+
28
+ // @ts-ignore
29
+ const VerifyOtpET = props => {
30
+ const otpInput = (0, _react.useRef)();
31
+
32
+ function backButtonHandler() {
33
+ return true;
34
+ }
35
+
36
+ (0, _react.useEffect)(() => {
37
+ _reactNative.BackHandler.addEventListener('hardwareBackPress', backButtonHandler);
38
+
39
+ return () => {
40
+ _reactNative.BackHandler.removeEventListener('hardwareBackPress', backButtonHandler);
41
+ };
42
+ }, []);
43
+ return /*#__PURE__*/_react.default.createElement(_reactNative.View, null, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
44
+ style: styles.otpInputTextView
45
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
46
+ style: styles.veriOtpText
47
+ }, "Verify OTP"), /*#__PURE__*/_react.default.createElement(_reactNativeOtpTextinput.default, {
48
+ textInputStyle: styles.otpInputStyle,
49
+ ref: otpInput,
50
+ inputCount: props.inputCount,
51
+ tintColor: _reactNativePaper.Colors.blue300,
52
+ handleTextChange: async value => {
53
+ if (value.length === props.inputCount) {
54
+ console.log('OTP Submit');
55
+ props.onSubmit({ ...(await (0, _ExecTaskUtils.getBaseETResponse)(_ETConfig.EntityCode.VERIFY_INPUT, true, '', ''))
56
+ });
57
+ }
58
+ }
59
+ }), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
60
+ style: styles.otpNotReceivedView
61
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, null, "Haven't received the sms?"), /*#__PURE__*/_react.default.createElement(_reactNative.Pressable, {
62
+ onPress: () => {
63
+ (0, _Toaster.showToast)('Resending OTP');
64
+ },
65
+ style: styles.sendAgainText
66
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.Text, null, "Send again")))));
67
+ };
68
+
69
+ var _default = VerifyOtpET;
70
+ exports.default = _default;
71
+
72
+ const styles = _reactNative.StyleSheet.create({
73
+ backIconView: {
74
+ marginTop: 22,
75
+ marginStart: 22
76
+ },
77
+ veriOtpText: {
78
+ fontSize: 24,
79
+ color: _reactNativePaper.Colors.black,
80
+ marginTop: 40
81
+ },
82
+ otpInputStyle: {
83
+ borderRadius: 4,
84
+ borderWidth: 1,
85
+ paddingHorizontal: 16,
86
+ paddingVertical: 12,
87
+ marginTop: 32
88
+ },
89
+ otpInputTextView: {
90
+ marginHorizontal: 17
91
+ },
92
+ otpNotReceivedView: {
93
+ flexDirection: 'row',
94
+ marginTop: 10
95
+ },
96
+ sendAgainText: {
97
+ marginHorizontal: 8
98
+ }
99
+ });
100
+ //# sourceMappingURL=VerifyOtpET.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["VerifyOtpET","props","otpInput","useRef","backButtonHandler","useEffect","BackHandler","addEventListener","removeEventListener","styles","otpInputTextView","veriOtpText","otpInputStyle","inputCount","Colors","blue300","value","length","console","log","onSubmit","getBaseETResponse","EntityCode","VERIFY_INPUT","otpNotReceivedView","showToast","sendAgainText","StyleSheet","create","backIconView","marginTop","marginStart","fontSize","color","black","borderRadius","borderWidth","paddingHorizontal","paddingVertical","marginHorizontal","flexDirection"],"sources":["VerifyOtpET.tsx"],"sourcesContent":["import { BackHandler, Pressable, StyleSheet, Text, View } from 'react-native';\nimport React, { useEffect, useRef } from 'react';\n// @ts-ignore\nimport OTPTextView from 'react-native-otp-textinput';\nimport { Colors } from 'react-native-paper';\nimport { showToast } from '../../widgets/Toaster';\nimport type { OtpInputSchema } from './VerifyOtpSchema';\nimport { getBaseETResponse } from '../../../utils/ExecTaskUtils';\nimport { EntityCode } from '../../../models/execTasks/ETConfig';\n\nconst VerifyOtpET = (props: OtpInputSchema) => {\n const otpInput = useRef();\n\n function backButtonHandler() {\n return true;\n }\n useEffect(() => {\n BackHandler.addEventListener('hardwareBackPress', backButtonHandler);\n return () => {\n BackHandler.removeEventListener('hardwareBackPress', backButtonHandler);\n };\n }, []);\n\n return (\n <View>\n <View style={styles.otpInputTextView}>\n <Text style={styles.veriOtpText}>Verify OTP</Text>\n <OTPTextView\n textInputStyle={styles.otpInputStyle}\n ref={otpInput}\n inputCount={props.inputCount}\n tintColor={Colors.blue300}\n handleTextChange={async (value: string) => {\n if (value.length === props.inputCount) {\n console.log('OTP Submit');\n props.onSubmit({\n ...(await getBaseETResponse(\n EntityCode.VERIFY_INPUT,\n true,\n '',\n ''\n )),\n });\n }\n }}\n />\n <View style={styles.otpNotReceivedView}>\n <Text>Haven't received the sms?</Text>\n\n <Pressable\n onPress={() => {\n showToast('Resending OTP');\n }}\n style={styles.sendAgainText}\n >\n <Text>Send again</Text>\n </Pressable>\n </View>\n </View>\n </View>\n );\n};\nexport default VerifyOtpET;\n\nconst styles = StyleSheet.create({\n backIconView: {\n marginTop: 22,\n marginStart: 22,\n },\n veriOtpText: {\n fontSize: 24,\n color: Colors.black,\n marginTop: 40,\n },\n otpInputStyle: {\n borderRadius: 4,\n borderWidth: 1,\n paddingHorizontal: 16,\n paddingVertical: 12,\n marginTop: 32,\n },\n otpInputTextView: {\n marginHorizontal: 17,\n },\n otpNotReceivedView: {\n flexDirection: 'row',\n marginTop: 10,\n },\n sendAgainText: {\n marginHorizontal: 8,\n },\n});\n"],"mappings":";;;;;;;AAAA;;AACA;;AAEA;;AACA;;AACA;;AAEA;;AACA;;;;;;;;AANA;AAQA,MAAMA,WAAW,GAAIC,KAAD,IAA2B;EAC7C,MAAMC,QAAQ,GAAG,IAAAC,aAAA,GAAjB;;EAEA,SAASC,iBAAT,GAA6B;IAC3B,OAAO,IAAP;EACD;;EACD,IAAAC,gBAAA,EAAU,MAAM;IACdC,wBAAA,CAAYC,gBAAZ,CAA6B,mBAA7B,EAAkDH,iBAAlD;;IACA,OAAO,MAAM;MACXE,wBAAA,CAAYE,mBAAZ,CAAgC,mBAAhC,EAAqDJ,iBAArD;IACD,CAFD;EAGD,CALD,EAKG,EALH;EAOA,oBACE,6BAAC,iBAAD,qBACE,6BAAC,iBAAD;IAAM,KAAK,EAAEK,MAAM,CAACC;EAApB,gBACE,6BAAC,iBAAD;IAAM,KAAK,EAAED,MAAM,CAACE;EAApB,gBADF,eAEE,6BAAC,gCAAD;IACE,cAAc,EAAEF,MAAM,CAACG,aADzB;IAEE,GAAG,EAAEV,QAFP;IAGE,UAAU,EAAED,KAAK,CAACY,UAHpB;IAIE,SAAS,EAAEC,wBAAA,CAAOC,OAJpB;IAKE,gBAAgB,EAAE,MAAOC,KAAP,IAAyB;MACzC,IAAIA,KAAK,CAACC,MAAN,KAAiBhB,KAAK,CAACY,UAA3B,EAAuC;QACrCK,OAAO,CAACC,GAAR,CAAY,YAAZ;QACAlB,KAAK,CAACmB,QAAN,CAAe,EACb,IAAI,MAAM,IAAAC,gCAAA,EACRC,oBAAA,CAAWC,YADH,EAER,IAFQ,EAGR,EAHQ,EAIR,EAJQ,CAAV;QADa,CAAf;MAQD;IACF;EAjBH,EAFF,eAqBE,6BAAC,iBAAD;IAAM,KAAK,EAAEd,MAAM,CAACe;EAApB,gBACE,6BAAC,iBAAD,oCADF,eAGE,6BAAC,sBAAD;IACE,OAAO,EAAE,MAAM;MACb,IAAAC,kBAAA,EAAU,eAAV;IACD,CAHH;IAIE,KAAK,EAAEhB,MAAM,CAACiB;EAJhB,gBAME,6BAAC,iBAAD,qBANF,CAHF,CArBF,CADF,CADF;AAsCD,CAnDD;;eAoDe1B,W;;;AAEf,MAAMS,MAAM,GAAGkB,uBAAA,CAAWC,MAAX,CAAkB;EAC/BC,YAAY,EAAE;IACZC,SAAS,EAAE,EADC;IAEZC,WAAW,EAAE;EAFD,CADiB;EAK/BpB,WAAW,EAAE;IACXqB,QAAQ,EAAE,EADC;IAEXC,KAAK,EAAEnB,wBAAA,CAAOoB,KAFH;IAGXJ,SAAS,EAAE;EAHA,CALkB;EAU/BlB,aAAa,EAAE;IACbuB,YAAY,EAAE,CADD;IAEbC,WAAW,EAAE,CAFA;IAGbC,iBAAiB,EAAE,EAHN;IAIbC,eAAe,EAAE,EAJJ;IAKbR,SAAS,EAAE;EALE,CAVgB;EAiB/BpB,gBAAgB,EAAE;IAChB6B,gBAAgB,EAAE;EADF,CAjBa;EAoB/Bf,kBAAkB,EAAE;IAClBgB,aAAa,EAAE,KADG;IAElBV,SAAS,EAAE;EAFO,CApBW;EAwB/BJ,aAAa,EAAE;IACba,gBAAgB,EAAE;EADL;AAxBgB,CAAlB,CAAf"}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ //# sourceMappingURL=VerifyOtpSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sources":["VerifyOtpSchema.ts"],"sourcesContent":["/**\n * Otp entered by user\n */\nimport type { BaseETResponse } from '../../../models/execTasks/ETBaseModels';\n\nexport type InputOtp = string;\n/**\n * Otp Value\n */\nexport type Otp = string;\n\nexport interface OtpInputSchema {\n inputCount: number;\n inputOtp: InputOtp;\n otp: Otp;\n onSubmit: (output: OtpOutputSchema) => void;\n}\n\nexport type OtpOutputSchema = BaseETResponse & {\n /**\n * Boolean to represent result of verification\n */\n success: boolean;\n};\n"],"mappings":""}
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.showAlert = showAlert;
7
+
8
+ var _SdkUtils = require("../../utils/SdkUtils");
9
+
10
+ var _Logger = _interopRequireWildcard(require("../../utils/Logger"));
11
+
12
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
13
+
14
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
15
+
16
+ function showAlert(title, message, cancelable, btnPositive, positiveCall, btnNegative, negCall) {
17
+ _SdkUtils.DispatchUtilsInterface.showAndroidDialog(title, message, btnPositive, btnNegative ?? null, cancelable).then(success => {
18
+ if (success) positiveCall();else if (negCall) {
19
+ negCall();
20
+ }
21
+ }).catch(error => {
22
+ _Logger.default.getInstance().logEvent('error', error.message, _Logger.LOG_TYPE.SDK_ERROR);
23
+ });
24
+ }
25
+ //# sourceMappingURL=AlertDisplay.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["showAlert","title","message","cancelable","btnPositive","positiveCall","btnNegative","negCall","DispatchUtilsInterface","showAndroidDialog","then","success","catch","error","Logger","getInstance","logEvent","LOG_TYPE","SDK_ERROR"],"sources":["AlertDisplay.tsx"],"sourcesContent":["import { DispatchUtilsInterface } from '../../utils/SdkUtils';\nimport Logger, { LOG_TYPE } from '../../utils/Logger';\n\nexport function showAlert(\n title: string,\n message: string,\n cancelable: boolean,\n btnPositive: string,\n positiveCall: () => void,\n btnNegative?: string,\n negCall?: () => void\n) {\n DispatchUtilsInterface.showAndroidDialog(\n title,\n message,\n btnPositive,\n btnNegative ?? null,\n cancelable\n )\n .then((success: boolean) => {\n if (success) positiveCall();\n else if (negCall) {\n negCall();\n }\n })\n .catch((error: { message: string }) => {\n Logger.getInstance().logEvent('error', error.message, LOG_TYPE.SDK_ERROR);\n });\n}\n"],"mappings":";;;;;;;AAAA;;AACA;;;;;;AAEO,SAASA,SAAT,CACLC,KADK,EAELC,OAFK,EAGLC,UAHK,EAILC,WAJK,EAKLC,YALK,EAMLC,WANK,EAOLC,OAPK,EAQL;EACAC,gCAAA,CAAuBC,iBAAvB,CACER,KADF,EAEEC,OAFF,EAGEE,WAHF,EAIEE,WAAW,IAAI,IAJjB,EAKEH,UALF,EAOGO,IAPH,CAOSC,OAAD,IAAsB;IAC1B,IAAIA,OAAJ,EAAaN,YAAY,GAAzB,KACK,IAAIE,OAAJ,EAAa;MAChBA,OAAO;IACR;EACF,CAZH,EAaGK,KAbH,CAaUC,KAAD,IAAgC;IACrCC,eAAA,CAAOC,WAAP,GAAqBC,QAArB,CAA8B,OAA9B,EAAuCH,KAAK,CAACX,OAA7C,EAAsDe,gBAAA,CAASC,SAA/D;EACD,CAfH;AAgBD"}
@@ -0,0 +1,101 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+
8
+ var _react = _interopRequireDefault(require("react"));
9
+
10
+ var _reactNative = require("react-native");
11
+
12
+ var _CommonStyles = require("../../styles/executionTasks/CommonStyles");
13
+
14
+ var _reactNativePaper = require("react-native-paper");
15
+
16
+ var _MaterialCommunityIcons = _interopRequireDefault(require("react-native-vector-icons/MaterialCommunityIcons"));
17
+
18
+ var _SdkColors = _interopRequireWildcard(require("../../styles/SdkColors"));
19
+
20
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
21
+
22
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
23
+
24
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
25
+
26
+ const CancelOrderDialog = props => {
27
+ return /*#__PURE__*/_react.default.createElement(_reactNative.Modal, {
28
+ animationType: "none",
29
+ transparent: true,
30
+ visible: props.visible,
31
+ onRequestClose: () => {}
32
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
33
+ style: styles.wrapper
34
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
35
+ style: styles.content
36
+ }, props.showIcon && props.iconName && /*#__PURE__*/_react.default.createElement(_MaterialCommunityIcons.default, {
37
+ style: {
38
+ alignSelf: 'center'
39
+ },
40
+ size: 34,
41
+ name: props.iconName,
42
+ color: _SdkColors.default[_SdkColors.ColorTheme.LIGHT].primaryButton
43
+ }), /*#__PURE__*/_react.default.createElement(_reactNativePaper.Title, {
44
+ style: {
45
+ fontFamily: _CommonStyles.Fonts.IBMPlexSans_600SemiBold,
46
+ marginTop: 0,
47
+ marginBottom: 15,
48
+ textAlign: 'center',
49
+ color: '#000000'
50
+ }
51
+ }, props.label ?? 'Cancel Order'), props.message && /*#__PURE__*/_react.default.createElement(_reactNativePaper.Paragraph, {
52
+ style: {
53
+ textAlign: 'center',
54
+ fontSize: 14,
55
+ fontFamily: _CommonStyles.Fonts.IBMPlexSans_400Regular
56
+ }
57
+ }, props.message), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
58
+ style: {
59
+ marginTop: 20
60
+ }
61
+ }, /*#__PURE__*/_react.default.createElement(_reactNativePaper.Button, {
62
+ mode: 'outlined',
63
+ uppercase: false,
64
+ labelStyle: _CommonStyles.CommonStyles.nextButtonLabel,
65
+ style: _CommonStyles.CommonStyles.nextButton,
66
+ onPress: () => {
67
+ props.onSubmit(true);
68
+ },
69
+ testID: "primary"
70
+ }, props.positiveButtonTitle ?? 'Yes'), /*#__PURE__*/_react.default.createElement(_reactNativePaper.Button, {
71
+ uppercase: false,
72
+ mode: 'outlined',
73
+ labelStyle: _CommonStyles.CommonStyles.cancelButtonLabel,
74
+ style: [_CommonStyles.CommonStyles.cancelButton, {
75
+ marginTop: 10
76
+ }],
77
+ onPress: async () => {
78
+ props.onSubmit(false);
79
+ },
80
+ testID: "secondary"
81
+ }, props.negativeButtonTitle ?? 'No')))));
82
+ };
83
+
84
+ const styles = _reactNative.StyleSheet.create({
85
+ content: {
86
+ backgroundColor: 'white',
87
+ padding: 20,
88
+ borderRadius: 5,
89
+ width: '80%'
90
+ },
91
+ wrapper: {
92
+ flex: 1,
93
+ alignItems: 'center',
94
+ justifyContent: 'center',
95
+ backgroundColor: 'rgba(0,0,0,0.7)'
96
+ }
97
+ });
98
+
99
+ var _default = CancelOrderDialog;
100
+ exports.default = _default;
101
+ //# sourceMappingURL=CancelOrderDialog.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["CancelOrderDialog","props","visible","styles","wrapper","content","showIcon","iconName","alignSelf","SdkColors","ColorTheme","LIGHT","primaryButton","fontFamily","Fonts","IBMPlexSans_600SemiBold","marginTop","marginBottom","textAlign","color","label","message","fontSize","IBMPlexSans_400Regular","CommonStyles","nextButtonLabel","nextButton","onSubmit","positiveButtonTitle","cancelButtonLabel","cancelButton","negativeButtonTitle","StyleSheet","create","backgroundColor","padding","borderRadius","width","flex","alignItems","justifyContent"],"sources":["CancelOrderDialog.tsx"],"sourcesContent":["import React from 'react';\nimport { Modal, StyleSheet, View } from 'react-native';\nimport { CommonStyles, Fonts } from '../../styles/executionTasks/CommonStyles';\nimport { Button, Paragraph, Title } from 'react-native-paper';\nimport Icon from 'react-native-vector-icons/MaterialCommunityIcons';\nimport SdkColors, { ColorTheme } from '../../styles/SdkColors';\n\nconst CancelOrderDialog = (props: CancelDialogProps) => {\n return (\n <Modal\n animationType=\"none\"\n transparent={true}\n visible={props.visible}\n onRequestClose={() => {}}\n >\n <View style={styles.wrapper}>\n <View style={styles.content}>\n {props.showIcon && props.iconName && (\n <Icon\n style={{ alignSelf: 'center' }}\n size={34}\n name={props.iconName}\n color={SdkColors[ColorTheme.LIGHT].primaryButton}\n />\n )}\n <Title\n style={{\n fontFamily: Fonts.IBMPlexSans_600SemiBold,\n marginTop: 0,\n marginBottom: 15,\n textAlign: 'center',\n color: '#000000',\n }}\n >\n {props.label ?? 'Cancel Order'}\n </Title>\n {props.message && (\n <Paragraph\n style={{\n textAlign: 'center',\n fontSize: 14,\n fontFamily: Fonts.IBMPlexSans_400Regular,\n }}\n >\n {props.message}\n </Paragraph>\n )}\n <View style={{ marginTop: 20 }}>\n <Button\n mode={'outlined'}\n uppercase={false}\n labelStyle={CommonStyles.nextButtonLabel}\n style={CommonStyles.nextButton}\n onPress={() => {\n props.onSubmit(true);\n }}\n testID=\"primary\"\n >\n {props.positiveButtonTitle ?? 'Yes'}\n </Button>\n <Button\n uppercase={false}\n mode={'outlined'}\n labelStyle={CommonStyles.cancelButtonLabel}\n style={[CommonStyles.cancelButton, { marginTop: 10 }]}\n onPress={async () => {\n props.onSubmit(false);\n }}\n testID=\"secondary\"\n >\n {props.negativeButtonTitle ?? 'No'}\n </Button>\n </View>\n </View>\n </View>\n </Modal>\n );\n};\n\nconst styles = StyleSheet.create({\n content: {\n backgroundColor: 'white',\n padding: 20,\n borderRadius: 5,\n width: '80%',\n },\n wrapper: {\n flex: 1,\n alignItems: 'center',\n justifyContent: 'center',\n backgroundColor: 'rgba(0,0,0,0.7)',\n },\n});\n\nexport default CancelOrderDialog;\n\nexport interface CancelDialogProps {\n visible: boolean;\n onSubmit: (success: boolean) => void;\n label?: string;\n message?: string;\n positiveButtonTitle?: string;\n negativeButtonTitle?: string;\n showIcon?: boolean;\n iconName?: string;\n}\n"],"mappings":";;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;;;AAEA,MAAMA,iBAAiB,GAAIC,KAAD,IAA8B;EACtD,oBACE,6BAAC,kBAAD;IACE,aAAa,EAAC,MADhB;IAEE,WAAW,EAAE,IAFf;IAGE,OAAO,EAAEA,KAAK,CAACC,OAHjB;IAIE,cAAc,EAAE,MAAM,CAAE;EAJ1B,gBAME,6BAAC,iBAAD;IAAM,KAAK,EAAEC,MAAM,CAACC;EAApB,gBACE,6BAAC,iBAAD;IAAM,KAAK,EAAED,MAAM,CAACE;EAApB,GACGJ,KAAK,CAACK,QAAN,IAAkBL,KAAK,CAACM,QAAxB,iBACC,6BAAC,+BAAD;IACE,KAAK,EAAE;MAAEC,SAAS,EAAE;IAAb,CADT;IAEE,IAAI,EAAE,EAFR;IAGE,IAAI,EAAEP,KAAK,CAACM,QAHd;IAIE,KAAK,EAAEE,kBAAA,CAAUC,qBAAA,CAAWC,KAArB,EAA4BC;EAJrC,EAFJ,eASE,6BAAC,uBAAD;IACE,KAAK,EAAE;MACLC,UAAU,EAAEC,mBAAA,CAAMC,uBADb;MAELC,SAAS,EAAE,CAFN;MAGLC,YAAY,EAAE,EAHT;MAILC,SAAS,EAAE,QAJN;MAKLC,KAAK,EAAE;IALF;EADT,GASGlB,KAAK,CAACmB,KAAN,IAAe,cATlB,CATF,EAoBGnB,KAAK,CAACoB,OAAN,iBACC,6BAAC,2BAAD;IACE,KAAK,EAAE;MACLH,SAAS,EAAE,QADN;MAELI,QAAQ,EAAE,EAFL;MAGLT,UAAU,EAAEC,mBAAA,CAAMS;IAHb;EADT,GAOGtB,KAAK,CAACoB,OAPT,CArBJ,eA+BE,6BAAC,iBAAD;IAAM,KAAK,EAAE;MAAEL,SAAS,EAAE;IAAb;EAAb,gBACE,6BAAC,wBAAD;IACE,IAAI,EAAE,UADR;IAEE,SAAS,EAAE,KAFb;IAGE,UAAU,EAAEQ,0BAAA,CAAaC,eAH3B;IAIE,KAAK,EAAED,0BAAA,CAAaE,UAJtB;IAKE,OAAO,EAAE,MAAM;MACbzB,KAAK,CAAC0B,QAAN,CAAe,IAAf;IACD,CAPH;IAQE,MAAM,EAAC;EART,GAUG1B,KAAK,CAAC2B,mBAAN,IAA6B,KAVhC,CADF,eAaE,6BAAC,wBAAD;IACE,SAAS,EAAE,KADb;IAEE,IAAI,EAAE,UAFR;IAGE,UAAU,EAAEJ,0BAAA,CAAaK,iBAH3B;IAIE,KAAK,EAAE,CAACL,0BAAA,CAAaM,YAAd,EAA4B;MAAEd,SAAS,EAAE;IAAb,CAA5B,CAJT;IAKE,OAAO,EAAE,YAAY;MACnBf,KAAK,CAAC0B,QAAN,CAAe,KAAf;IACD,CAPH;IAQE,MAAM,EAAC;EART,GAUG1B,KAAK,CAAC8B,mBAAN,IAA6B,IAVhC,CAbF,CA/BF,CADF,CANF,CADF;AAqED,CAtED;;AAwEA,MAAM5B,MAAM,GAAG6B,uBAAA,CAAWC,MAAX,CAAkB;EAC/B5B,OAAO,EAAE;IACP6B,eAAe,EAAE,OADV;IAEPC,OAAO,EAAE,EAFF;IAGPC,YAAY,EAAE,CAHP;IAIPC,KAAK,EAAE;EAJA,CADsB;EAO/BjC,OAAO,EAAE;IACPkC,IAAI,EAAE,CADC;IAEPC,UAAU,EAAE,QAFL;IAGPC,cAAc,EAAE,QAHT;IAIPN,eAAe,EAAE;EAJV;AAPsB,CAAlB,CAAf;;eAeelC,iB"}
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+
8
+ var _react = _interopRequireDefault(require("react"));
9
+
10
+ var _reactNative = require("react-native");
11
+
12
+ var _CommonStyles = require("../../styles/executionTasks/CommonStyles");
13
+
14
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
+
16
+ const ProgressDialog = props => {
17
+ return /*#__PURE__*/_react.default.createElement(_reactNative.Modal, {
18
+ animationType: "none",
19
+ transparent: true,
20
+ visible: props.visible,
21
+ onRequestClose: () => {}
22
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
23
+ style: styles.wrapper
24
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
25
+ style: styles.content
26
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.ActivityIndicator, {
27
+ size: "large",
28
+ color: "rgba(107, 142, 255, 1)"
29
+ }), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
30
+ style: [styles.label]
31
+ }, props.label))));
32
+ };
33
+
34
+ const styles = _reactNative.StyleSheet.create({
35
+ label: {
36
+ color: 'black',
37
+ textAlign: 'center',
38
+ fontStyle: 'normal',
39
+ fontSize: 15,
40
+ fontFamily: _CommonStyles.Fonts.IBMPlexSans_600SemiBold
41
+ },
42
+ content: {
43
+ backgroundColor: 'white',
44
+ padding: 10,
45
+ borderRadius: 5,
46
+ width: '80%',
47
+ alignItems: 'center'
48
+ },
49
+ wrapper: {
50
+ flex: 1,
51
+ alignItems: 'center',
52
+ justifyContent: 'center',
53
+ backgroundColor: 'rgba(0,0,0,0.7)'
54
+ }
55
+ });
56
+
57
+ var _default = ProgressDialog;
58
+ exports.default = _default;
59
+ //# sourceMappingURL=ProgressDialog.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["ProgressDialog","props","visible","styles","wrapper","content","label","StyleSheet","create","color","textAlign","fontStyle","fontSize","fontFamily","Fonts","IBMPlexSans_600SemiBold","backgroundColor","padding","borderRadius","width","alignItems","flex","justifyContent"],"sources":["ProgressDialog.tsx"],"sourcesContent":["import React from 'react';\nimport { ActivityIndicator, Modal, StyleSheet, Text, View } from 'react-native';\nimport { Fonts } from '../../styles/executionTasks/CommonStyles';\n\nconst ProgressDialog = (props: ProgressDialogProps) => {\n return (\n <Modal\n animationType=\"none\"\n transparent={true}\n visible={props.visible}\n onRequestClose={() => {}}\n >\n <View style={styles.wrapper}>\n <View style={styles.content}>\n <ActivityIndicator size=\"large\" color=\"rgba(107, 142, 255, 1)\" />\n <Text style={[styles.label]}>{props.label}</Text>\n </View>\n </View>\n </Modal>\n );\n};\n\nconst styles = StyleSheet.create({\n label: {\n color: 'black',\n textAlign: 'center',\n fontStyle: 'normal',\n fontSize: 15,\n fontFamily: Fonts.IBMPlexSans_600SemiBold,\n },\n content: {\n backgroundColor: 'white',\n padding: 10,\n borderRadius: 5,\n width: '80%',\n alignItems: 'center',\n },\n wrapper: {\n flex: 1,\n alignItems: 'center',\n justifyContent: 'center',\n backgroundColor: 'rgba(0,0,0,0.7)',\n },\n});\n\nexport default ProgressDialog;\n\nexport interface ProgressDialogProps {\n visible: boolean;\n label: string;\n}\n"],"mappings":";;;;;;;AAAA;;AACA;;AACA;;;;AAEA,MAAMA,cAAc,GAAIC,KAAD,IAAgC;EACrD,oBACE,6BAAC,kBAAD;IACE,aAAa,EAAC,MADhB;IAEE,WAAW,EAAE,IAFf;IAGE,OAAO,EAAEA,KAAK,CAACC,OAHjB;IAIE,cAAc,EAAE,MAAM,CAAE;EAJ1B,gBAME,6BAAC,iBAAD;IAAM,KAAK,EAAEC,MAAM,CAACC;EAApB,gBACE,6BAAC,iBAAD;IAAM,KAAK,EAAED,MAAM,CAACE;EAApB,gBACE,6BAAC,8BAAD;IAAmB,IAAI,EAAC,OAAxB;IAAgC,KAAK,EAAC;EAAtC,EADF,eAEE,6BAAC,iBAAD;IAAM,KAAK,EAAE,CAACF,MAAM,CAACG,KAAR;EAAb,GAA8BL,KAAK,CAACK,KAApC,CAFF,CADF,CANF,CADF;AAeD,CAhBD;;AAkBA,MAAMH,MAAM,GAAGI,uBAAA,CAAWC,MAAX,CAAkB;EAC/BF,KAAK,EAAE;IACLG,KAAK,EAAE,OADF;IAELC,SAAS,EAAE,QAFN;IAGLC,SAAS,EAAE,QAHN;IAILC,QAAQ,EAAE,EAJL;IAKLC,UAAU,EAAEC,mBAAA,CAAMC;EALb,CADwB;EAQ/BV,OAAO,EAAE;IACPW,eAAe,EAAE,OADV;IAEPC,OAAO,EAAE,EAFF;IAGPC,YAAY,EAAE,CAHP;IAIPC,KAAK,EAAE,KAJA;IAKPC,UAAU,EAAE;EALL,CARsB;EAe/BhB,OAAO,EAAE;IACPiB,IAAI,EAAE,CADC;IAEPD,UAAU,EAAE,QAFL;IAGPE,cAAc,EAAE,QAHT;IAIPN,eAAe,EAAE;EAJV;AAfsB,CAAlB,CAAf;;eAuBehB,c"}
@@ -0,0 +1,165 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+
8
+ var _react = _interopRequireDefault(require("react"));
9
+
10
+ var _reactNative = require("react-native");
11
+
12
+ var _reactNativePaper = require("react-native-paper");
13
+
14
+ var _MaterialCommunityIcons = _interopRequireDefault(require("react-native-vector-icons/MaterialCommunityIcons"));
15
+
16
+ var _MaterialIcons = _interopRequireDefault(require("react-native-vector-icons/MaterialIcons"));
17
+
18
+ var _CommonStyles = require("../../styles/executionTasks/CommonStyles");
19
+
20
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
21
+
22
+ const DURATION_MEDIUM = 1000;
23
+
24
+ const SnackbarCustom = _ref => {
25
+ let {
26
+ visible,
27
+ duration = DURATION_MEDIUM,
28
+ onDismiss,
29
+ message,
30
+ theme
31
+ } = _ref;
32
+
33
+ const {
34
+ current: opacity
35
+ } = _react.default.useRef(new _reactNative.Animated.Value(0.0));
36
+
37
+ const [hidden, setHidden] = _react.default.useState(!visible);
38
+
39
+ const hideTimeout = _react.default.useRef(undefined);
40
+
41
+ const {
42
+ scale
43
+ } = theme.animation;
44
+
45
+ _react.default.useEffect(() => {
46
+ return () => {
47
+ if (hideTimeout.current) clearTimeout(hideTimeout.current);
48
+ };
49
+ }, []);
50
+
51
+ _react.default.useLayoutEffect(() => {
52
+ if (visible) {
53
+ // show
54
+ if (hideTimeout.current) clearTimeout(hideTimeout.current);
55
+ setHidden(false);
56
+
57
+ _reactNative.Animated.timing(opacity, {
58
+ toValue: 1,
59
+ duration: 200 * scale,
60
+ useNativeDriver: true
61
+ }).start(_ref2 => {
62
+ let {
63
+ finished
64
+ } = _ref2;
65
+
66
+ if (finished) {
67
+ const isInfinity = duration === Number.POSITIVE_INFINITY || duration === Number.NEGATIVE_INFINITY;
68
+
69
+ if (finished && !isInfinity) {
70
+ hideTimeout.current = setTimeout(onDismiss, duration);
71
+ }
72
+ }
73
+ });
74
+ } else {
75
+ // hide
76
+ if (hideTimeout.current) clearTimeout(hideTimeout.current);
77
+
78
+ _reactNative.Animated.timing(opacity, {
79
+ toValue: 0,
80
+ duration: 100 * scale,
81
+ useNativeDriver: true
82
+ }).start(_ref3 => {
83
+ let {
84
+ finished
85
+ } = _ref3;
86
+ if (finished) setHidden(true);
87
+ });
88
+ }
89
+ }, [visible, duration, opacity, scale, onDismiss]);
90
+
91
+ const {
92
+ colors,
93
+ roundness
94
+ } = theme;
95
+ if (hidden) return null;
96
+ return /*#__PURE__*/_react.default.createElement(_reactNative.SafeAreaView, {
97
+ pointerEvents: "box-none",
98
+ style: [styles.wrapper]
99
+ }, /*#__PURE__*/_react.default.createElement(_reactNativePaper.Surface, {
100
+ pointerEvents: "box-none",
101
+ accessibilityLiveRegion: "polite",
102
+ style: [styles.container, {
103
+ borderRadius: roundness,
104
+ opacity: opacity,
105
+ transform: [{
106
+ scale: visible ? opacity.interpolate({
107
+ inputRange: [0, 1],
108
+ outputRange: [0.9, 1]
109
+ }) : 1
110
+ }]
111
+ }, {
112
+ backgroundColor: colors.onSurface
113
+ }]
114
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
115
+ style: styles.main
116
+ }, /*#__PURE__*/_react.default.createElement(_MaterialIcons.default, {
117
+ name: 'check-circle-outline',
118
+ color: '#ffffff',
119
+ size: 24
120
+ }), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
121
+ style: styles.messageStyle
122
+ }, message), /*#__PURE__*/_react.default.createElement(_MaterialCommunityIcons.default, {
123
+ name: 'close-circle-outline',
124
+ color: '#ffffff',
125
+ size: 24,
126
+ onPress: () => {
127
+ setHidden(true);
128
+ }
129
+ }))));
130
+ };
131
+
132
+ const styles = _reactNative.StyleSheet.create({
133
+ wrapper: {
134
+ position: 'absolute',
135
+ bottom: 110,
136
+ width: '100%'
137
+ },
138
+ container: {
139
+ elevation: 6,
140
+ flexDirection: 'row',
141
+ justifyContent: 'space-between',
142
+ alignItems: 'center',
143
+ margin: 8,
144
+ borderRadius: 4
145
+ },
146
+ main: {
147
+ padding: 16,
148
+ flexDirection: 'row',
149
+ backgroundColor: '#10B981',
150
+ flex: 1
151
+ },
152
+ messageStyle: {
153
+ flex: 1,
154
+ marginStart: 20,
155
+ marginEnd: 20,
156
+ color: '#ffffff',
157
+ fontWeight: '600',
158
+ fontFamily: _CommonStyles.Fonts.IBMPlexSans_600SemiBold
159
+ }
160
+ });
161
+
162
+ var _default = (0, _reactNativePaper.withTheme)(SnackbarCustom);
163
+
164
+ exports.default = _default;
165
+ //# sourceMappingURL=SnackBarCustom.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["DURATION_MEDIUM","SnackbarCustom","visible","duration","onDismiss","message","theme","current","opacity","React","useRef","Animated","Value","hidden","setHidden","useState","hideTimeout","undefined","scale","animation","useEffect","clearTimeout","useLayoutEffect","timing","toValue","useNativeDriver","start","finished","isInfinity","Number","POSITIVE_INFINITY","NEGATIVE_INFINITY","setTimeout","colors","roundness","styles","wrapper","container","borderRadius","transform","interpolate","inputRange","outputRange","backgroundColor","onSurface","main","messageStyle","StyleSheet","create","position","bottom","width","elevation","flexDirection","justifyContent","alignItems","margin","padding","flex","marginStart","marginEnd","color","fontWeight","fontFamily","Fonts","IBMPlexSans_600SemiBold","withTheme"],"sources":["SnackBarCustom.tsx"],"sourcesContent":["import React from 'react';\nimport {\n Animated,\n SafeAreaView,\n StyleProp,\n StyleSheet,\n Text,\n View,\n ViewStyle,\n} from 'react-native';\nimport { Surface, withTheme } from 'react-native-paper';\nimport MaterialCommunityIcon from 'react-native-vector-icons/MaterialCommunityIcons';\nimport Icon from 'react-native-vector-icons/MaterialIcons';\nimport { Fonts } from '../../styles/executionTasks/CommonStyles';\n\nexport interface SnackbarProps {\n visible: boolean;\n duration?: number;\n /**\n * Callback called when Snackbar is dismissed. The `visible` prop needs to be updated when this is called.\n */\n onDismiss: () => void;\n /**\n * Text content of the Snackbar.\n */\n message: string;\n theme: ReactNativePaper.Theme;\n}\nconst DURATION_MEDIUM = 1000;\n\nconst SnackbarCustom = ({\n visible,\n duration = DURATION_MEDIUM,\n onDismiss,\n message,\n theme,\n}: SnackbarProps) => {\n const { current: opacity } = React.useRef<Animated.Value>(\n new Animated.Value(0.0)\n );\n const [hidden, setHidden] = React.useState<boolean>(!visible);\n\n const hideTimeout = React.useRef<NodeJS.Timeout | undefined>(undefined);\n const { scale } = theme.animation;\n\n React.useEffect(() => {\n return () => {\n if (hideTimeout.current) clearTimeout(hideTimeout.current);\n };\n }, []);\n\n React.useLayoutEffect(() => {\n if (visible) {\n // show\n if (hideTimeout.current) clearTimeout(hideTimeout.current);\n setHidden(false);\n Animated.timing(opacity, {\n toValue: 1,\n duration: 200 * scale,\n useNativeDriver: true,\n }).start(({ finished }) => {\n if (finished) {\n const isInfinity =\n duration === Number.POSITIVE_INFINITY ||\n duration === Number.NEGATIVE_INFINITY;\n\n if (finished && !isInfinity) {\n hideTimeout.current = setTimeout(\n onDismiss,\n duration\n ) as unknown as NodeJS.Timeout;\n }\n }\n });\n } else {\n // hide\n if (hideTimeout.current) clearTimeout(hideTimeout.current);\n\n Animated.timing(opacity, {\n toValue: 0,\n duration: 100 * scale,\n useNativeDriver: true,\n }).start(({ finished }) => {\n if (finished) setHidden(true);\n });\n }\n }, [visible, duration, opacity, scale, onDismiss]);\n\n const { colors, roundness } = theme;\n\n if (hidden) return null;\n\n return (\n <SafeAreaView pointerEvents=\"box-none\" style={[styles.wrapper]}>\n <Surface\n pointerEvents=\"box-none\"\n accessibilityLiveRegion=\"polite\"\n style={\n [\n styles.container,\n {\n borderRadius: roundness,\n opacity: opacity,\n transform: [\n {\n scale: visible\n ? opacity.interpolate({\n inputRange: [0, 1],\n outputRange: [0.9, 1],\n })\n : 1,\n },\n ],\n },\n { backgroundColor: colors.onSurface },\n ] as StyleProp<ViewStyle>\n }\n >\n <View style={styles.main}>\n <Icon name={'check-circle-outline'} color={'#ffffff'} size={24} />\n <Text style={styles.messageStyle}>{message}</Text>\n <MaterialCommunityIcon\n name={'close-circle-outline'}\n color={'#ffffff'}\n size={24}\n onPress={() => {\n setHidden(true);\n }}\n />\n </View>\n </Surface>\n </SafeAreaView>\n );\n};\n\nconst styles = StyleSheet.create({\n wrapper: {\n position: 'absolute',\n bottom: 110,\n width: '100%',\n },\n container: {\n elevation: 6,\n flexDirection: 'row',\n justifyContent: 'space-between',\n alignItems: 'center',\n margin: 8,\n borderRadius: 4,\n },\n main: {\n padding: 16,\n flexDirection: 'row',\n backgroundColor: '#10B981',\n flex: 1,\n },\n messageStyle: {\n flex: 1,\n marginStart: 20,\n marginEnd: 20,\n color: '#ffffff',\n fontWeight: '600',\n fontFamily: Fonts.IBMPlexSans_600SemiBold,\n },\n});\n\nexport default withTheme(SnackbarCustom);\n"],"mappings":";;;;;;;AAAA;;AACA;;AASA;;AACA;;AACA;;AACA;;;;AAeA,MAAMA,eAAe,GAAG,IAAxB;;AAEA,MAAMC,cAAc,GAAG,QAMF;EAAA,IANG;IACtBC,OADsB;IAEtBC,QAAQ,GAAGH,eAFW;IAGtBI,SAHsB;IAItBC,OAJsB;IAKtBC;EALsB,CAMH;;EACnB,MAAM;IAAEC,OAAO,EAAEC;EAAX,IAAuBC,cAAA,CAAMC,MAAN,CAC3B,IAAIC,qBAAA,CAASC,KAAb,CAAmB,GAAnB,CAD2B,CAA7B;;EAGA,MAAM,CAACC,MAAD,EAASC,SAAT,IAAsBL,cAAA,CAAMM,QAAN,CAAwB,CAACb,OAAzB,CAA5B;;EAEA,MAAMc,WAAW,GAAGP,cAAA,CAAMC,MAAN,CAAyCO,SAAzC,CAApB;;EACA,MAAM;IAAEC;EAAF,IAAYZ,KAAK,CAACa,SAAxB;;EAEAV,cAAA,CAAMW,SAAN,CAAgB,MAAM;IACpB,OAAO,MAAM;MACX,IAAIJ,WAAW,CAACT,OAAhB,EAAyBc,YAAY,CAACL,WAAW,CAACT,OAAb,CAAZ;IAC1B,CAFD;EAGD,CAJD,EAIG,EAJH;;EAMAE,cAAA,CAAMa,eAAN,CAAsB,MAAM;IAC1B,IAAIpB,OAAJ,EAAa;MACX;MACA,IAAIc,WAAW,CAACT,OAAhB,EAAyBc,YAAY,CAACL,WAAW,CAACT,OAAb,CAAZ;MACzBO,SAAS,CAAC,KAAD,CAAT;;MACAH,qBAAA,CAASY,MAAT,CAAgBf,OAAhB,EAAyB;QACvBgB,OAAO,EAAE,CADc;QAEvBrB,QAAQ,EAAE,MAAMe,KAFO;QAGvBO,eAAe,EAAE;MAHM,CAAzB,EAIGC,KAJH,CAIS,SAAkB;QAAA,IAAjB;UAAEC;QAAF,CAAiB;;QACzB,IAAIA,QAAJ,EAAc;UACZ,MAAMC,UAAU,GACdzB,QAAQ,KAAK0B,MAAM,CAACC,iBAApB,IACA3B,QAAQ,KAAK0B,MAAM,CAACE,iBAFtB;;UAIA,IAAIJ,QAAQ,IAAI,CAACC,UAAjB,EAA6B;YAC3BZ,WAAW,CAACT,OAAZ,GAAsByB,UAAU,CAC9B5B,SAD8B,EAE9BD,QAF8B,CAAhC;UAID;QACF;MACF,CAjBD;IAkBD,CAtBD,MAsBO;MACL;MACA,IAAIa,WAAW,CAACT,OAAhB,EAAyBc,YAAY,CAACL,WAAW,CAACT,OAAb,CAAZ;;MAEzBI,qBAAA,CAASY,MAAT,CAAgBf,OAAhB,EAAyB;QACvBgB,OAAO,EAAE,CADc;QAEvBrB,QAAQ,EAAE,MAAMe,KAFO;QAGvBO,eAAe,EAAE;MAHM,CAAzB,EAIGC,KAJH,CAIS,SAAkB;QAAA,IAAjB;UAAEC;QAAF,CAAiB;QACzB,IAAIA,QAAJ,EAAcb,SAAS,CAAC,IAAD,CAAT;MACf,CAND;IAOD;EACF,CAnCD,EAmCG,CAACZ,OAAD,EAAUC,QAAV,EAAoBK,OAApB,EAA6BU,KAA7B,EAAoCd,SAApC,CAnCH;;EAqCA,MAAM;IAAE6B,MAAF;IAAUC;EAAV,IAAwB5B,KAA9B;EAEA,IAAIO,MAAJ,EAAY,OAAO,IAAP;EAEZ,oBACE,6BAAC,yBAAD;IAAc,aAAa,EAAC,UAA5B;IAAuC,KAAK,EAAE,CAACsB,MAAM,CAACC,OAAR;EAA9C,gBACE,6BAAC,yBAAD;IACE,aAAa,EAAC,UADhB;IAEE,uBAAuB,EAAC,QAF1B;IAGE,KAAK,EACH,CACED,MAAM,CAACE,SADT,EAEE;MACEC,YAAY,EAAEJ,SADhB;MAEE1B,OAAO,EAAEA,OAFX;MAGE+B,SAAS,EAAE,CACT;QACErB,KAAK,EAAEhB,OAAO,GACVM,OAAO,CAACgC,WAAR,CAAoB;UAClBC,UAAU,EAAE,CAAC,CAAD,EAAI,CAAJ,CADM;UAElBC,WAAW,EAAE,CAAC,GAAD,EAAM,CAAN;QAFK,CAApB,CADU,GAKV;MANN,CADS;IAHb,CAFF,EAgBE;MAAEC,eAAe,EAAEV,MAAM,CAACW;IAA1B,CAhBF;EAJJ,gBAwBE,6BAAC,iBAAD;IAAM,KAAK,EAAET,MAAM,CAACU;EAApB,gBACE,6BAAC,sBAAD;IAAM,IAAI,EAAE,sBAAZ;IAAoC,KAAK,EAAE,SAA3C;IAAsD,IAAI,EAAE;EAA5D,EADF,eAEE,6BAAC,iBAAD;IAAM,KAAK,EAAEV,MAAM,CAACW;EAApB,GAAmCzC,OAAnC,CAFF,eAGE,6BAAC,+BAAD;IACE,IAAI,EAAE,sBADR;IAEE,KAAK,EAAE,SAFT;IAGE,IAAI,EAAE,EAHR;IAIE,OAAO,EAAE,MAAM;MACbS,SAAS,CAAC,IAAD,CAAT;IACD;EANH,EAHF,CAxBF,CADF,CADF;AAyCD,CAvGD;;AAyGA,MAAMqB,MAAM,GAAGY,uBAAA,CAAWC,MAAX,CAAkB;EAC/BZ,OAAO,EAAE;IACPa,QAAQ,EAAE,UADH;IAEPC,MAAM,EAAE,GAFD;IAGPC,KAAK,EAAE;EAHA,CADsB;EAM/Bd,SAAS,EAAE;IACTe,SAAS,EAAE,CADF;IAETC,aAAa,EAAE,KAFN;IAGTC,cAAc,EAAE,eAHP;IAITC,UAAU,EAAE,QAJH;IAKTC,MAAM,EAAE,CALC;IAMTlB,YAAY,EAAE;EANL,CANoB;EAc/BO,IAAI,EAAE;IACJY,OAAO,EAAE,EADL;IAEJJ,aAAa,EAAE,KAFX;IAGJV,eAAe,EAAE,SAHb;IAIJe,IAAI,EAAE;EAJF,CAdyB;EAoB/BZ,YAAY,EAAE;IACZY,IAAI,EAAE,CADM;IAEZC,WAAW,EAAE,EAFD;IAGZC,SAAS,EAAE,EAHC;IAIZC,KAAK,EAAE,SAJK;IAKZC,UAAU,EAAE,KALA;IAMZC,UAAU,EAAEC,mBAAA,CAAMC;EANN;AApBiB,CAAlB,CAAf;;eA8Be,IAAAC,2BAAA,EAAUjE,cAAV,C"}
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.showToast = showToast;
7
+
8
+ var _reactNative = require("react-native");
9
+
10
+ function showToast(message) {
11
+ if (_reactNative.Platform.OS === 'android') _reactNative.ToastAndroid.show(message, _reactNative.ToastAndroid.SHORT);else {
12
+ _reactNative.Alert.alert('Info', message);
13
+ }
14
+ }
15
+ //# sourceMappingURL=Toaster.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["showToast","message","Platform","OS","ToastAndroid","show","SHORT","Alert","alert"],"sources":["Toaster.ts"],"sourcesContent":["import { Alert, Platform, ToastAndroid } from 'react-native';\n\nexport function showToast(message: string) {\n if (Platform.OS === 'android') ToastAndroid.show(message, ToastAndroid.SHORT);\n else {\n Alert.alert('Info', message);\n }\n}\n"],"mappings":";;;;;;;AAAA;;AAEO,SAASA,SAAT,CAAmBC,OAAnB,EAAoC;EACzC,IAAIC,qBAAA,CAASC,EAAT,KAAgB,SAApB,EAA+BC,yBAAA,CAAaC,IAAb,CAAkBJ,OAAlB,EAA2BG,yBAAA,CAAaE,KAAxC,EAA/B,KACK;IACHC,kBAAA,CAAMC,KAAN,CAAY,MAAZ,EAAoBP,OAApB;EACD;AACF"}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.ERROR_TAGS = void 0;
7
+ let ERROR_TAGS;
8
+ exports.ERROR_TAGS = ERROR_TAGS;
9
+
10
+ (function (ERROR_TAGS) {
11
+ ERROR_TAGS["FCM"] = "FCM";
12
+ ERROR_TAGS["EXECUTION_TASK"] = "EXECUTION_TASK";
13
+ })(ERROR_TAGS || (exports.ERROR_TAGS = ERROR_TAGS = {}));
14
+ //# sourceMappingURL=DispatchSDKConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["ERROR_TAGS"],"sources":["DispatchSDKConfig.ts"],"sourcesContent":["export const enum ERROR_TAGS {\n FCM = 'FCM',\n EXECUTION_TASK = 'EXECUTION_TASK',\n}\n"],"mappings":";;;;;;IAAkBA,U;;;WAAAA,U;EAAAA,U;EAAAA,U;GAAAA,U,0BAAAA,U"}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.ENDPOINTS = void 0;
7
+ const ENDPOINTS = {
8
+ JOB_REMOVAL: (dispatchId, jobId) => `/dispatches/${dispatchId}/jobs/${jobId}`
9
+ };
10
+ exports.ENDPOINTS = ENDPOINTS;
11
+ //# sourceMappingURL=apiConstants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["ENDPOINTS","JOB_REMOVAL","dispatchId","jobId"],"sources":["apiConstants.ts"],"sourcesContent":["export const ENDPOINTS = {\n JOB_REMOVAL: (dispatchId: string, jobId: string) =>\n `/dispatches/${dispatchId}/jobs/${jobId}`,\n};\n"],"mappings":";;;;;;AAAO,MAAMA,SAAS,GAAG;EACvBC,WAAW,EAAE,CAACC,UAAD,EAAqBC,KAArB,KACV,eAAcD,UAAW,SAAQC,KAAM;AAFnB,CAAlB"}
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.LOCAL_STORAGE_KEY_PREFIX = exports.DEFAULT_SIGN_ET_MESSAGE = exports.DEFAULT_PICKUP_TITLE = exports.DEFAULT_PICKUP_MESSAGE = exports.DEFAULT_NOTIFICATION_TITLE = exports.DEFAULT_NOTIFICATION_DESCRIPTION = exports.DEFAULT_INTERVAL = exports.DEFAULT_DELIVER_TITLE = exports.DEFAULT_DELIVER_MESSAGE = void 0;
7
+ const LOCAL_STORAGE_KEY_PREFIX = '@dispatch-sdk:';
8
+ exports.LOCAL_STORAGE_KEY_PREFIX = LOCAL_STORAGE_KEY_PREFIX;
9
+ const DEFAULT_NOTIFICATION_TITLE = 'Dispatch Sync Manager';
10
+ exports.DEFAULT_NOTIFICATION_TITLE = DEFAULT_NOTIFICATION_TITLE;
11
+ const DEFAULT_NOTIFICATION_DESCRIPTION = 'Syncing Events & Files';
12
+ exports.DEFAULT_NOTIFICATION_DESCRIPTION = DEFAULT_NOTIFICATION_DESCRIPTION;
13
+ const DEFAULT_INTERVAL = 10000;
14
+ exports.DEFAULT_INTERVAL = DEFAULT_INTERVAL;
15
+ const DEFAULT_PICKUP_TITLE = 'Pickup Order';
16
+ exports.DEFAULT_PICKUP_TITLE = DEFAULT_PICKUP_TITLE;
17
+ const DEFAULT_PICKUP_MESSAGE = 'Confirm pickup of $ order(s)';
18
+ exports.DEFAULT_PICKUP_MESSAGE = DEFAULT_PICKUP_MESSAGE;
19
+ const DEFAULT_DELIVER_TITLE = 'Drop Order';
20
+ exports.DEFAULT_DELIVER_TITLE = DEFAULT_DELIVER_TITLE;
21
+ const DEFAULT_DELIVER_MESSAGE = 'Confirm drop of $ order(s)';
22
+ exports.DEFAULT_DELIVER_MESSAGE = DEFAULT_DELIVER_MESSAGE;
23
+ const DEFAULT_SIGN_ET_MESSAGE = 'Please capture a clear signature from the customer';
24
+ exports.DEFAULT_SIGN_ET_MESSAGE = DEFAULT_SIGN_ET_MESSAGE;
25
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["LOCAL_STORAGE_KEY_PREFIX","DEFAULT_NOTIFICATION_TITLE","DEFAULT_NOTIFICATION_DESCRIPTION","DEFAULT_INTERVAL","DEFAULT_PICKUP_TITLE","DEFAULT_PICKUP_MESSAGE","DEFAULT_DELIVER_TITLE","DEFAULT_DELIVER_MESSAGE","DEFAULT_SIGN_ET_MESSAGE"],"sources":["constants.ts"],"sourcesContent":["export const LOCAL_STORAGE_KEY_PREFIX = '@dispatch-sdk:';\nexport const DEFAULT_NOTIFICATION_TITLE = 'Dispatch Sync Manager';\nexport const DEFAULT_NOTIFICATION_DESCRIPTION = 'Syncing Events & Files';\nexport const DEFAULT_INTERVAL = 10000;\nexport const DEFAULT_PICKUP_TITLE = 'Pickup Order'\nexport const DEFAULT_PICKUP_MESSAGE = 'Confirm pickup of $ order(s)'\nexport const DEFAULT_DELIVER_TITLE = 'Drop Order'\nexport const DEFAULT_DELIVER_MESSAGE = 'Confirm drop of $ order(s)'\nexport const DEFAULT_SIGN_ET_MESSAGE =\n 'Please capture a clear signature from the customer';\n"],"mappings":";;;;;;AAAO,MAAMA,wBAAwB,GAAG,gBAAjC;;AACA,MAAMC,0BAA0B,GAAG,uBAAnC;;AACA,MAAMC,gCAAgC,GAAG,wBAAzC;;AACA,MAAMC,gBAAgB,GAAG,KAAzB;;AACA,MAAMC,oBAAoB,GAAG,cAA7B;;AACA,MAAMC,sBAAsB,GAAG,8BAA/B;;AACA,MAAMC,qBAAqB,GAAG,YAA9B;;AACA,MAAMC,uBAAuB,GAAG,4BAAhC;;AACA,MAAMC,uBAAuB,GAClC,oDADK"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var StatusCode;
8
+
9
+ (function (StatusCode) {
10
+ StatusCode[StatusCode["Unauthorized"] = 401] = "Unauthorized";
11
+ StatusCode[StatusCode["Forbidden"] = 403] = "Forbidden";
12
+ StatusCode[StatusCode["TooManyRequests"] = 429] = "TooManyRequests";
13
+ StatusCode[StatusCode["InternalServerError"] = 500] = "InternalServerError";
14
+ })(StatusCode || (StatusCode = {}));
15
+
16
+ var _default = StatusCode;
17
+ exports.default = _default;
18
+ //# sourceMappingURL=statuscode.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["StatusCode"],"sources":["statuscode.ts"],"sourcesContent":["enum StatusCode {\n Unauthorized = 401,\n Forbidden = 403,\n TooManyRequests = 429,\n InternalServerError = 500,\n}\n\nexport default StatusCode;\n"],"mappings":";;;;;;IAAKA,U;;WAAAA,U;EAAAA,U,CAAAA,U;EAAAA,U,CAAAA,U;EAAAA,U,CAAAA,U;EAAAA,U,CAAAA,U;GAAAA,U,KAAAA,U;;eAOUA,U"}