@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.
- package/LICENSE +21 -0
- package/README.md +551 -0
- package/android/build/.transforms/22228dd0a4a527a24ec811806cb09b83/classes/classes.dex +0 -0
- package/android/build/.transforms/22228dd0a4a527a24ec811806cb09b83.bin +1 -0
- package/android/build/.transforms/94a07ea3e1b6cf7284a0d41cd59f08ef/classes/classes.dex +0 -0
- package/android/build/.transforms/94a07ea3e1b6cf7284a0d41cd59f08ef.bin +1 -0
- package/android/build/generated/source/buildConfig/debug/com/dispatchsdk/BuildConfig.java +12 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/AndroidManifest.xml +34 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/output.json +26 -0
- package/android/build/intermediates/annotation_processor_list/debug/annotationProcessors.json +1 -0
- package/android/build/intermediates/compile_library_classes_jar/debug/classes.jar +0 -0
- package/android/build/intermediates/compile_only_not_namespaced_r_class_jar/debug/R.jar +0 -0
- package/android/build/intermediates/compile_symbol_list/debug/R.txt +4928 -0
- package/android/build/intermediates/compiled_local_resources/debug/out/drawable_alert_background.xml.flat +0 -0
- package/android/build/intermediates/compiled_local_resources/debug/out/drawable_ic_baseline_sync_24.xml.flat +0 -0
- package/android/build/intermediates/compiled_local_resources/debug/out/font_ibmplexsans.ttf.flat +0 -0
- package/android/build/intermediates/compiled_local_resources/debug/out/xml_file_paths.xml.flat +0 -0
- package/android/build/intermediates/incremental/debug-mergeNativeLibs/merge-state +0 -0
- package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +2 -0
- package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +2 -0
- package/android/build/intermediates/incremental/packageDebugResources/compile-file-map.properties +5 -0
- package/android/build/intermediates/incremental/packageDebugResources/merged.dir/values/values.xml +9 -0
- package/android/build/intermediates/incremental/packageDebugResources/merger.xml +7 -0
- package/android/build/intermediates/javac/debug/classes/com/dispatchsdk/BuildConfig.class +0 -0
- package/android/build/intermediates/library_java_res/debug/res.jar +0 -0
- package/android/build/intermediates/library_manifest/debug/AndroidManifest.xml +34 -0
- package/android/build/intermediates/local_only_symbol_list/debug/R-def.txt +7 -0
- package/android/build/intermediates/manifest_merge_blame_file/debug/manifest-merger-blame-debug-report.txt +63 -0
- package/android/build/intermediates/merged_manifests/debug/output.json +26 -0
- package/android/build/intermediates/navigation_json/debug/navigation.json +1 -0
- package/android/build/intermediates/packaged_res/debug/drawable/alert_background.xml +8 -0
- package/android/build/intermediates/packaged_res/debug/drawable/ic_baseline_sync_24.xml +5 -0
- package/android/build/intermediates/packaged_res/debug/font/ibmplexsans.ttf +0 -0
- package/android/build/intermediates/packaged_res/debug/values/values.xml +9 -0
- package/android/build/intermediates/packaged_res/debug/xml/file_paths.xml +10 -0
- package/android/build/intermediates/runtime_library_classes_jar/debug/classes.jar +0 -0
- package/android/build/intermediates/symbol_list_with_package_name/debug/package-aware-r.txt +3391 -0
- package/android/build/kotlin/compileDebugKotlin/build-history.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/counters.tab +2 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/last-build.bin +0 -0
- package/android/build/outputs/logs/manifest-merger-debug-report.txt +79 -0
- package/android/build/tmp/kotlin-classes/debug/META-INF/dispatchsdk_debug.kotlin_module +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/DispatchSdkPackage.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/errors/NativeSdkErrors.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/signaturePad/RSSignatureCaptureContextModule.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/signaturePad/RSSignatureCaptureMainView.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/signaturePad/RSSignatureCaptureView$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/signaturePad/RSSignatureCaptureView$OnSignedListener.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/signaturePad/RSSignatureCaptureView$SignatureCallback.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/signaturePad/RSSignatureCaptureView.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/signaturePad/RSSignatureCaptureViewManager$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/signaturePad/RSSignatureCaptureViewManager.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/signatureUtils/Bezier.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/signatureUtils/ControlTimedPoints.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/signatureUtils/TimedPoint.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/sync/SyncEventService$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/sync/SyncEventService.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/sync/SyncManagerService$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/sync/SyncManagerService$runnableCode$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/sync/SyncManagerService.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/sync/SyncModule$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/sync/SyncModule.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/utils/DispatchSdkUtils$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/utils/DispatchSdkUtils$showAndroidDialog$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/utils/DispatchSdkUtils$showAndroidDialog$2.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/utils/DispatchSdkUtils.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/utils/ModuleConfig$IntentConfig.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/utils/ModuleConfig.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/utils/Tracer.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/utils/Utils.class +0 -0
- package/android/build.gradle +130 -0
- package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/android/gradle/wrapper/gradle-wrapper.properties +5 -0
- package/android/gradle.properties +4 -0
- package/android/gradlew +185 -0
- package/android/gradlew.bat +89 -0
- package/android/src/main/AndroidManifest.xml +33 -0
- package/android/src/main/java/com/dispatchsdk/DispatchSdkPackage.kt +23 -0
- package/android/src/main/java/com/dispatchsdk/errors/NativeSdkErrors.kt +24 -0
- package/android/src/main/java/com/dispatchsdk/signaturePad/RSSignatureCaptureContextModule.kt +15 -0
- package/android/src/main/java/com/dispatchsdk/signaturePad/RSSignatureCaptureMainView.kt +150 -0
- package/android/src/main/java/com/dispatchsdk/signaturePad/RSSignatureCaptureView.kt +355 -0
- package/android/src/main/java/com/dispatchsdk/signaturePad/RSSignatureCaptureViewManager.kt +132 -0
- package/android/src/main/java/com/dispatchsdk/signatureUtils/Bezier.kt +45 -0
- package/android/src/main/java/com/dispatchsdk/signatureUtils/ControlTimedPoints.kt +3 -0
- package/android/src/main/java/com/dispatchsdk/signatureUtils/TimedPoint.kt +19 -0
- package/android/src/main/java/com/dispatchsdk/sync/SyncEventService.kt +28 -0
- package/android/src/main/java/com/dispatchsdk/sync/SyncManagerService.kt +128 -0
- package/android/src/main/java/com/dispatchsdk/sync/SyncModule.kt +45 -0
- package/android/src/main/java/com/dispatchsdk/utils/DispatchSdkUtils.kt +121 -0
- package/android/src/main/java/com/dispatchsdk/utils/ModuleConfig.kt +21 -0
- package/android/src/main/java/com/dispatchsdk/utils/Tracer.kt +9 -0
- package/android/src/main/java/com/dispatchsdk/utils/Utils.kt +100 -0
- package/android/src/main/res/drawable/alert_background.xml +8 -0
- package/android/src/main/res/drawable/ic_baseline_sync_24.xml +5 -0
- package/android/src/main/res/font/ibmplexsans.ttf +0 -0
- package/android/src/main/res/values/styles.xml +10 -0
- package/android/src/main/res/xml/file_paths.xml +10 -0
- package/babel.config.js +3 -0
- package/foxtrotplatform-mobile-execution-lib-v0.6.4.tgz +0 -0
- package/lib/commonjs/components/dispatch/DispatchExecNavigator.js +249 -0
- package/lib/commonjs/components/dispatch/DispatchExecNavigator.js.map +1 -0
- package/lib/commonjs/components/executiontasks/CompletedWFSchema.js +6 -0
- package/lib/commonjs/components/executiontasks/CompletedWFSchema.js.map +1 -0
- package/lib/commonjs/components/executiontasks/ExecutionTasksIndex.js +192 -0
- package/lib/commonjs/components/executiontasks/ExecutionTasksIndex.js.map +1 -0
- package/lib/commonjs/components/executiontasks/cancellation/CancelET.js +110 -0
- package/lib/commonjs/components/executiontasks/cancellation/CancelET.js.map +1 -0
- package/lib/commonjs/components/executiontasks/cancellation/CancellationSchema.js +6 -0
- package/lib/commonjs/components/executiontasks/cancellation/CancellationSchema.js.map +1 -0
- package/lib/commonjs/components/executiontasks/captureInput/CaptureInputSchema.js +6 -0
- package/lib/commonjs/components/executiontasks/captureInput/CaptureInputSchema.js.map +1 -0
- package/lib/commonjs/components/executiontasks/captureInput/CaptureText.js +69 -0
- package/lib/commonjs/components/executiontasks/captureInput/CaptureText.js.map +1 -0
- package/lib/commonjs/components/executiontasks/deliver/DeliverET.js +105 -0
- package/lib/commonjs/components/executiontasks/deliver/DeliverET.js.map +1 -0
- package/lib/commonjs/components/executiontasks/deliver/DeliverETInput.js +6 -0
- package/lib/commonjs/components/executiontasks/deliver/DeliverETInput.js.map +1 -0
- package/lib/commonjs/components/executiontasks/deliver/SLDeliverET.js +197 -0
- package/lib/commonjs/components/executiontasks/deliver/SLDeliverET.js.map +1 -0
- package/lib/commonjs/components/executiontasks/display/DisplayModalET.js +126 -0
- package/lib/commonjs/components/executiontasks/display/DisplayModalET.js.map +1 -0
- package/lib/commonjs/components/executiontasks/display/DisplaySchema.js +6 -0
- package/lib/commonjs/components/executiontasks/display/DisplaySchema.js.map +1 -0
- package/lib/commonjs/components/executiontasks/doodle/DoodleUtils.js +28 -0
- package/lib/commonjs/components/executiontasks/doodle/DoodleUtils.js.map +1 -0
- package/lib/commonjs/components/executiontasks/doodle/SignatureET.js +190 -0
- package/lib/commonjs/components/executiontasks/doodle/SignatureET.js.map +1 -0
- package/lib/commonjs/components/executiontasks/doodle/SignatureSchema.js +6 -0
- package/lib/commonjs/components/executiontasks/doodle/SignatureSchema.js.map +1 -0
- package/lib/commonjs/components/executiontasks/dropCash/DropCashET.js +130 -0
- package/lib/commonjs/components/executiontasks/dropCash/DropCashET.js.map +1 -0
- package/lib/commonjs/components/executiontasks/dropCash/DropCashSchema.js +6 -0
- package/lib/commonjs/components/executiontasks/dropCash/DropCashSchema.js.map +1 -0
- package/lib/commonjs/components/executiontasks/dropCash/SLDropCash.js +137 -0
- package/lib/commonjs/components/executiontasks/dropCash/SLDropCash.js.map +1 -0
- package/lib/commonjs/components/executiontasks/forms/FormGenerator.js +116 -0
- package/lib/commonjs/components/executiontasks/forms/FormGenerator.js.map +1 -0
- package/lib/commonjs/components/executiontasks/forms/FormSchema.js +6 -0
- package/lib/commonjs/components/executiontasks/forms/FormSchema.js.map +1 -0
- package/lib/commonjs/components/executiontasks/forms/widgets/DateTimeWidget.js +152 -0
- package/lib/commonjs/components/executiontasks/forms/widgets/DateTimeWidget.js.map +1 -0
- package/lib/commonjs/components/executiontasks/forms/widgets/QRBarcodeScannerWidget.js +155 -0
- package/lib/commonjs/components/executiontasks/forms/widgets/QRBarcodeScannerWidget.js.map +1 -0
- package/lib/commonjs/components/executiontasks/forms/widgets/TimeRangeSelector.js +54 -0
- package/lib/commonjs/components/executiontasks/forms/widgets/TimeRangeSelector.js.map +1 -0
- package/lib/commonjs/components/executiontasks/httpRequest/HttpEtUtils.js +53 -0
- package/lib/commonjs/components/executiontasks/httpRequest/HttpEtUtils.js.map +1 -0
- package/lib/commonjs/components/executiontasks/httpRequest/HttpRequestET.js +61 -0
- package/lib/commonjs/components/executiontasks/httpRequest/HttpRequestET.js.map +1 -0
- package/lib/commonjs/components/executiontasks/httpRequest/HttpRequestETSchema.js +6 -0
- package/lib/commonjs/components/executiontasks/httpRequest/HttpRequestETSchema.js.map +1 -0
- package/lib/commonjs/components/executiontasks/imageCapture/CaptureSchema.js +6 -0
- package/lib/commonjs/components/executiontasks/imageCapture/CaptureSchema.js.map +1 -0
- package/lib/commonjs/components/executiontasks/imageCapture/CaptureUtils.js +159 -0
- package/lib/commonjs/components/executiontasks/imageCapture/CaptureUtils.js.map +1 -0
- package/lib/commonjs/components/executiontasks/imageCapture/ImageCapture.js +256 -0
- package/lib/commonjs/components/executiontasks/imageCapture/ImageCapture.js.map +1 -0
- package/lib/commonjs/components/executiontasks/payments/PaymentStyles.js +91 -0
- package/lib/commonjs/components/executiontasks/payments/PaymentStyles.js.map +1 -0
- package/lib/commonjs/components/executiontasks/payments/PaymentUtils.js +17 -0
- package/lib/commonjs/components/executiontasks/payments/PaymentUtils.js.map +1 -0
- package/lib/commonjs/components/executiontasks/payments/completePayment/CompletePaymentET.js +111 -0
- package/lib/commonjs/components/executiontasks/payments/completePayment/CompletePaymentET.js.map +1 -0
- package/lib/commonjs/components/executiontasks/payments/completePayment/CompletePaymentSchema.js +6 -0
- package/lib/commonjs/components/executiontasks/payments/completePayment/CompletePaymentSchema.js.map +1 -0
- package/lib/commonjs/components/executiontasks/payments/init/InitPaymentET.js +139 -0
- package/lib/commonjs/components/executiontasks/payments/init/InitPaymentET.js.map +1 -0
- package/lib/commonjs/components/executiontasks/payments/init/InitPaymentSchema.js +6 -0
- package/lib/commonjs/components/executiontasks/payments/init/InitPaymentSchema.js.map +1 -0
- package/lib/commonjs/components/executiontasks/payments/processPayment/ProcessPaymentET.js +146 -0
- package/lib/commonjs/components/executiontasks/payments/processPayment/ProcessPaymentET.js.map +1 -0
- package/lib/commonjs/components/executiontasks/payments/processPayment/ProcessPaymentSchema.js +6 -0
- package/lib/commonjs/components/executiontasks/payments/processPayment/ProcessPaymentSchema.js.map +1 -0
- package/lib/commonjs/components/executiontasks/pickup/PickpSchema.js +6 -0
- package/lib/commonjs/components/executiontasks/pickup/PickpSchema.js.map +1 -0
- package/lib/commonjs/components/executiontasks/pickup/PickupET.js +103 -0
- package/lib/commonjs/components/executiontasks/pickup/PickupET.js.map +1 -0
- package/lib/commonjs/components/executiontasks/pickup/SLPickupET.js +115 -0
- package/lib/commonjs/components/executiontasks/pickup/SLPickupET.js.map +1 -0
- package/lib/commonjs/components/executiontasks/scanner/CScanner.js +123 -0
- package/lib/commonjs/components/executiontasks/scanner/CScanner.js.map +1 -0
- package/lib/commonjs/components/executiontasks/scanner/ScannerSchema.js +32 -0
- package/lib/commonjs/components/executiontasks/scanner/ScannerSchema.js.map +1 -0
- package/lib/commonjs/components/executiontasks/scanner/ScannerUtils.js +193 -0
- package/lib/commonjs/components/executiontasks/scanner/ScannerUtils.js.map +1 -0
- package/lib/commonjs/components/executiontasks/scanner/returns/DropDownSelector.js +20 -0
- package/lib/commonjs/components/executiontasks/scanner/returns/DropDownSelector.js.map +1 -0
- package/lib/commonjs/components/executiontasks/scanner/returns/DropDownUtils.js +49 -0
- package/lib/commonjs/components/executiontasks/scanner/returns/DropDownUtils.js.map +1 -0
- package/lib/commonjs/components/executiontasks/scanner/returns/RTReasonSelection.js +107 -0
- package/lib/commonjs/components/executiontasks/scanner/returns/RTReasonSelection.js.map +1 -0
- package/lib/commonjs/components/executiontasks/scanner/returns/RTScan.js +317 -0
- package/lib/commonjs/components/executiontasks/scanner/returns/RTScan.js.map +1 -0
- package/lib/commonjs/components/executiontasks/scanner/returns/ReasonDropDown.js +100 -0
- package/lib/commonjs/components/executiontasks/scanner/returns/ReasonDropDown.js.map +1 -0
- package/lib/commonjs/components/executiontasks/scanner/returns/ScanList.js +276 -0
- package/lib/commonjs/components/executiontasks/scanner/returns/ScanList.js.map +1 -0
- package/lib/commonjs/components/executiontasks/verifyInput/VerifyInputSchema.js +6 -0
- package/lib/commonjs/components/executiontasks/verifyInput/VerifyInputSchema.js.map +1 -0
- package/lib/commonjs/components/executiontasks/verifyLocation/GeofenceUtils.js +66 -0
- package/lib/commonjs/components/executiontasks/verifyLocation/GeofenceUtils.js.map +1 -0
- package/lib/commonjs/components/executiontasks/verifyLocation/VerifyLocSchema.js +6 -0
- package/lib/commonjs/components/executiontasks/verifyLocation/VerifyLocSchema.js.map +1 -0
- package/lib/commonjs/components/executiontasks/verifyLocation/VerifyLocationET.js +69 -0
- package/lib/commonjs/components/executiontasks/verifyLocation/VerifyLocationET.js.map +1 -0
- package/lib/commonjs/components/executiontasks/verifyOtp/VerifyOtpET.js +100 -0
- package/lib/commonjs/components/executiontasks/verifyOtp/VerifyOtpET.js.map +1 -0
- package/lib/commonjs/components/executiontasks/verifyOtp/VerifyOtpSchema.js +6 -0
- package/lib/commonjs/components/executiontasks/verifyOtp/VerifyOtpSchema.js.map +1 -0
- package/lib/commonjs/components/widgets/AlertDisplay.js +25 -0
- package/lib/commonjs/components/widgets/AlertDisplay.js.map +1 -0
- package/lib/commonjs/components/widgets/CancelOrderDialog.js +101 -0
- package/lib/commonjs/components/widgets/CancelOrderDialog.js.map +1 -0
- package/lib/commonjs/components/widgets/ProgressDialog.js +59 -0
- package/lib/commonjs/components/widgets/ProgressDialog.js.map +1 -0
- package/lib/commonjs/components/widgets/SnackBarCustom.js +165 -0
- package/lib/commonjs/components/widgets/SnackBarCustom.js.map +1 -0
- package/lib/commonjs/components/widgets/Toaster.js +15 -0
- package/lib/commonjs/components/widgets/Toaster.js.map +1 -0
- package/lib/commonjs/config/DispatchSDKConfig.js +14 -0
- package/lib/commonjs/config/DispatchSDKConfig.js.map +1 -0
- package/lib/commonjs/constants/apiConstants.js +11 -0
- package/lib/commonjs/constants/apiConstants.js.map +1 -0
- package/lib/commonjs/constants/constants.js +25 -0
- package/lib/commonjs/constants/constants.js.map +1 -0
- package/lib/commonjs/constants/statuscode.js +18 -0
- package/lib/commonjs/constants/statuscode.js.map +1 -0
- package/lib/commonjs/errors/BaseError.js +30 -0
- package/lib/commonjs/errors/BaseError.js.map +1 -0
- package/lib/commonjs/errors/ErrorCodes.js +44 -0
- package/lib/commonjs/errors/ErrorCodes.js.map +1 -0
- package/lib/commonjs/index.js +164 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/manager/dispatch/DispatchStateContainer.js +442 -0
- package/lib/commonjs/manager/dispatch/DispatchStateContainer.js.map +1 -0
- package/lib/commonjs/manager/dispatchCodes/EventCodeContainer.js +13 -0
- package/lib/commonjs/manager/dispatchCodes/EventCodeContainer.js.map +1 -0
- package/lib/commonjs/manager/dispatchCodes/ReasonCodeContainer.js +112 -0
- package/lib/commonjs/manager/dispatchCodes/ReasonCodeContainer.js.map +1 -0
- package/lib/commonjs/manager/dispatchCodes/ReasonCodeRepo.js +87 -0
- package/lib/commonjs/manager/dispatchCodes/ReasonCodeRepo.js.map +1 -0
- package/lib/commonjs/manager/dispatchCodes/reasonCodes.json +137 -0
- package/lib/commonjs/manager/location/LocationManager.js +97 -0
- package/lib/commonjs/manager/location/LocationManager.js.map +1 -0
- package/lib/commonjs/manager/sdk/DispatchSDKManager.js +103 -0
- package/lib/commonjs/manager/sdk/DispatchSDKManager.js.map +1 -0
- package/lib/commonjs/manager/sdk/DispatchSdkCache.js +69 -0
- package/lib/commonjs/manager/sdk/DispatchSdkCache.js.map +1 -0
- package/lib/commonjs/manager/syncmanager/AppSyncManager.js +158 -0
- package/lib/commonjs/manager/syncmanager/AppSyncManager.js.map +1 -0
- package/lib/commonjs/manager/syncmanager/DBConfig.js +62 -0
- package/lib/commonjs/manager/syncmanager/DBConfig.js.map +1 -0
- package/lib/commonjs/manager/syncmanager/NativeSyncManager.js +15 -0
- package/lib/commonjs/manager/syncmanager/NativeSyncManager.js.map +1 -0
- package/lib/commonjs/manager/syncmanager/database.js +48 -0
- package/lib/commonjs/manager/syncmanager/database.js.map +1 -0
- package/lib/commonjs/manager/syncmanager/document/DocumentHttpClient.js +125 -0
- package/lib/commonjs/manager/syncmanager/document/DocumentHttpClient.js.map +1 -0
- package/lib/commonjs/manager/syncmanager/document/DocumentManager.js +113 -0
- package/lib/commonjs/manager/syncmanager/document/DocumentManager.js.map +1 -0
- package/lib/commonjs/manager/syncmanager/document/DocumentSyncManager.js +200 -0
- package/lib/commonjs/manager/syncmanager/document/DocumentSyncManager.js.map +1 -0
- package/lib/commonjs/manager/syncmanager/document/models.js +2 -0
- package/lib/commonjs/manager/syncmanager/document/models.js.map +1 -0
- package/lib/commonjs/manager/syncmanager/events/ETEventsManager.js +117 -0
- package/lib/commonjs/manager/syncmanager/events/ETEventsManager.js.map +1 -0
- package/lib/commonjs/manager/syncmanager/events/EventsGraphQLClient.js +2 -0
- package/lib/commonjs/manager/syncmanager/events/EventsGraphQLClient.js.map +1 -0
- package/lib/commonjs/manager/syncmanager/events/EventsSyncManager.js +279 -0
- package/lib/commonjs/manager/syncmanager/events/EventsSyncManager.js.map +1 -0
- package/lib/commonjs/manager/syncmanager/events/SyncHttpClient.js +79 -0
- package/lib/commonjs/manager/syncmanager/events/SyncHttpClient.js.map +1 -0
- package/lib/commonjs/models/DispatchModels.js +14 -0
- package/lib/commonjs/models/DispatchModels.js.map +1 -0
- package/lib/commonjs/models/ReasonCodes.js +2 -0
- package/lib/commonjs/models/ReasonCodes.js.map +1 -0
- package/lib/commonjs/models/auth.js +2 -0
- package/lib/commonjs/models/auth.js.map +1 -0
- package/lib/commonjs/models/execTasks/ETBaseModels.js +2 -0
- package/lib/commonjs/models/execTasks/ETBaseModels.js.map +1 -0
- package/lib/commonjs/models/execTasks/ETConfig.js +116 -0
- package/lib/commonjs/models/execTasks/ETConfig.js.map +1 -0
- package/lib/commonjs/models/execution.js +2 -0
- package/lib/commonjs/models/execution.js.map +1 -0
- package/lib/commonjs/models/fcm.js +2 -0
- package/lib/commonjs/models/fcm.js.map +1 -0
- package/lib/commonjs/models/sdk.js +15 -0
- package/lib/commonjs/models/sdk.js.map +1 -0
- package/lib/commonjs/native/signature/SignatureCapture.js +94 -0
- package/lib/commonjs/native/signature/SignatureCapture.js.map +1 -0
- package/lib/commonjs/network/GraphQLClient.js +149 -0
- package/lib/commonjs/network/GraphQLClient.js.map +1 -0
- package/lib/commonjs/network/NetworkClient.js +57 -0
- package/lib/commonjs/network/NetworkClient.js.map +1 -0
- package/lib/commonjs/network/NetworkUtils.js +36 -0
- package/lib/commonjs/network/NetworkUtils.js.map +1 -0
- package/lib/commonjs/network/Queries.js +55 -0
- package/lib/commonjs/network/Queries.js.map +1 -0
- package/lib/commonjs/network/client.js +87 -0
- package/lib/commonjs/network/client.js.map +1 -0
- package/lib/commonjs/res/strings.js +9 -0
- package/lib/commonjs/res/strings.js.map +1 -0
- package/lib/commonjs/resources/Login.js +52 -0
- package/lib/commonjs/resources/Login.js.map +1 -0
- package/lib/commonjs/resources/network.js +28 -0
- package/lib/commonjs/resources/network.js.map +1 -0
- package/lib/commonjs/styles/SdkColors.js +30 -0
- package/lib/commonjs/styles/SdkColors.js.map +1 -0
- package/lib/commonjs/styles/executionTasks/CommonStyles.js +168 -0
- package/lib/commonjs/styles/executionTasks/CommonStyles.js.map +1 -0
- package/lib/commonjs/ui/screens/CancellationScreen.js +64 -0
- package/lib/commonjs/ui/screens/CancellationScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/CaptureInputScreen.js +74 -0
- package/lib/commonjs/ui/screens/CaptureInputScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/CompleteObjectiveScreen.js +68 -0
- package/lib/commonjs/ui/screens/CompleteObjectiveScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/DeliverScreen.js +75 -0
- package/lib/commonjs/ui/screens/DeliverScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/DisplayScreen.js +43 -0
- package/lib/commonjs/ui/screens/DisplayScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/DoodleScreen.js +79 -0
- package/lib/commonjs/ui/screens/DoodleScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/DropCashScreen.js +89 -0
- package/lib/commonjs/ui/screens/DropCashScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/ETScreensIndex.js +128 -0
- package/lib/commonjs/ui/screens/ETScreensIndex.js.map +1 -0
- package/lib/commonjs/ui/screens/FormsScreen.js +45 -0
- package/lib/commonjs/ui/screens/FormsScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/GeofenceScreen.js +47 -0
- package/lib/commonjs/ui/screens/GeofenceScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/HttpRequestScreen.js +38 -0
- package/lib/commonjs/ui/screens/HttpRequestScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/ImageCaptureScreen.js +44 -0
- package/lib/commonjs/ui/screens/ImageCaptureScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/PaymentScreen.js +142 -0
- package/lib/commonjs/ui/screens/PaymentScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/PickupScreen.js +48 -0
- package/lib/commonjs/ui/screens/PickupScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/RTScanScreen.js +118 -0
- package/lib/commonjs/ui/screens/RTScanScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/StartWorkFlowScreen.js +137 -0
- package/lib/commonjs/ui/screens/StartWorkFlowScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/WithBaseDispatchScreen.js +52 -0
- package/lib/commonjs/ui/screens/WithBaseDispatchScreen.js.map +1 -0
- package/lib/commonjs/ui/uiConfig/RouteParams.js +16 -0
- package/lib/commonjs/ui/uiConfig/RouteParams.js.map +1 -0
- package/lib/commonjs/utils/ExecTaskUtils.js +113 -0
- package/lib/commonjs/utils/ExecTaskUtils.js.map +1 -0
- package/lib/commonjs/utils/Logger.js +114 -0
- package/lib/commonjs/utils/Logger.js.map +1 -0
- package/lib/commonjs/utils/NetworkUtil.js +66 -0
- package/lib/commonjs/utils/NetworkUtil.js.map +1 -0
- package/lib/commonjs/utils/SdkUtils.js +129 -0
- package/lib/commonjs/utils/SdkUtils.js.map +1 -0
- package/lib/commonjs/utils/SyncManagerUtils.js +136 -0
- package/lib/commonjs/utils/SyncManagerUtils.js.map +1 -0
- package/lib/commonjs/utils/fcm/FCM.js +58 -0
- package/lib/commonjs/utils/fcm/FCM.js.map +1 -0
- package/lib/commonjs/utils/fcm/FcmUtils.js +98 -0
- package/lib/commonjs/utils/fcm/FcmUtils.js.map +1 -0
- package/lib/commonjs/utils/helper.js +37 -0
- package/lib/commonjs/utils/helper.js.map +1 -0
- package/lib/commonjs/utils/loginHelper.js +70 -0
- package/lib/commonjs/utils/loginHelper.js.map +1 -0
- package/lib/commonjs/utils/storage.js +153 -0
- package/lib/commonjs/utils/storage.js.map +1 -0
- package/lib/commonjs/utils/test.json +17 -0
- package/lib/commonjs/utils/utils.js +38 -0
- package/lib/commonjs/utils/utils.js.map +1 -0
- package/lib/foxtrotplatform-mobile-execution-lib-v0.6.4.tgz +0 -0
- package/lib/module/components/dispatch/DispatchExecNavigator.js +228 -0
- package/lib/module/components/dispatch/DispatchExecNavigator.js.map +1 -0
- package/lib/module/components/executiontasks/CompletedWFSchema.js +2 -0
- package/lib/module/components/executiontasks/CompletedWFSchema.js.map +1 -0
- package/lib/module/components/executiontasks/ExecutionTasksIndex.js +25 -0
- package/lib/module/components/executiontasks/ExecutionTasksIndex.js.map +1 -0
- package/lib/module/components/executiontasks/cancellation/CancelET.js +93 -0
- package/lib/module/components/executiontasks/cancellation/CancelET.js.map +1 -0
- package/lib/module/components/executiontasks/cancellation/CancellationSchema.js +2 -0
- package/lib/module/components/executiontasks/cancellation/CancellationSchema.js.map +1 -0
- package/lib/module/components/executiontasks/captureInput/CaptureInputSchema.js +2 -0
- package/lib/module/components/executiontasks/captureInput/CaptureInputSchema.js.map +1 -0
- package/lib/module/components/executiontasks/captureInput/CaptureText.js +50 -0
- package/lib/module/components/executiontasks/captureInput/CaptureText.js.map +1 -0
- package/lib/module/components/executiontasks/deliver/DeliverET.js +87 -0
- package/lib/module/components/executiontasks/deliver/DeliverET.js.map +1 -0
- package/lib/module/components/executiontasks/deliver/DeliverETInput.js +2 -0
- package/lib/module/components/executiontasks/deliver/DeliverETInput.js.map +1 -0
- package/lib/module/components/executiontasks/deliver/SLDeliverET.js +175 -0
- package/lib/module/components/executiontasks/deliver/SLDeliverET.js.map +1 -0
- package/lib/module/components/executiontasks/display/DisplayModalET.js +107 -0
- package/lib/module/components/executiontasks/display/DisplayModalET.js.map +1 -0
- package/lib/module/components/executiontasks/display/DisplaySchema.js +2 -0
- package/lib/module/components/executiontasks/display/DisplaySchema.js.map +1 -0
- package/lib/module/components/executiontasks/doodle/DoodleUtils.js +19 -0
- package/lib/module/components/executiontasks/doodle/DoodleUtils.js.map +1 -0
- package/lib/module/components/executiontasks/doodle/SignatureET.js +163 -0
- package/lib/module/components/executiontasks/doodle/SignatureET.js.map +1 -0
- package/lib/module/components/executiontasks/doodle/SignatureSchema.js +2 -0
- package/lib/module/components/executiontasks/doodle/SignatureSchema.js.map +1 -0
- package/lib/module/components/executiontasks/dropCash/DropCashET.js +108 -0
- package/lib/module/components/executiontasks/dropCash/DropCashET.js.map +1 -0
- package/lib/module/components/executiontasks/dropCash/DropCashSchema.js +2 -0
- package/lib/module/components/executiontasks/dropCash/DropCashSchema.js.map +1 -0
- package/lib/module/components/executiontasks/dropCash/SLDropCash.js +117 -0
- package/lib/module/components/executiontasks/dropCash/SLDropCash.js.map +1 -0
- package/lib/module/components/executiontasks/forms/FormGenerator.js +90 -0
- package/lib/module/components/executiontasks/forms/FormGenerator.js.map +1 -0
- package/lib/module/components/executiontasks/forms/FormSchema.js +2 -0
- package/lib/module/components/executiontasks/forms/FormSchema.js.map +1 -0
- package/lib/module/components/executiontasks/forms/widgets/DateTimeWidget.js +132 -0
- package/lib/module/components/executiontasks/forms/widgets/DateTimeWidget.js.map +1 -0
- package/lib/module/components/executiontasks/forms/widgets/QRBarcodeScannerWidget.js +134 -0
- package/lib/module/components/executiontasks/forms/widgets/QRBarcodeScannerWidget.js.map +1 -0
- package/lib/module/components/executiontasks/forms/widgets/TimeRangeSelector.js +37 -0
- package/lib/module/components/executiontasks/forms/widgets/TimeRangeSelector.js.map +1 -0
- package/lib/module/components/executiontasks/httpRequest/HttpEtUtils.js +33 -0
- package/lib/module/components/executiontasks/httpRequest/HttpEtUtils.js.map +1 -0
- package/lib/module/components/executiontasks/httpRequest/HttpRequestET.js +42 -0
- package/lib/module/components/executiontasks/httpRequest/HttpRequestET.js.map +1 -0
- package/lib/module/components/executiontasks/httpRequest/HttpRequestETSchema.js +2 -0
- package/lib/module/components/executiontasks/httpRequest/HttpRequestETSchema.js.map +1 -0
- package/lib/module/components/executiontasks/imageCapture/CaptureSchema.js +2 -0
- package/lib/module/components/executiontasks/imageCapture/CaptureSchema.js.map +1 -0
- package/lib/module/components/executiontasks/imageCapture/CaptureUtils.js +120 -0
- package/lib/module/components/executiontasks/imageCapture/CaptureUtils.js.map +1 -0
- package/lib/module/components/executiontasks/imageCapture/ImageCapture.js +232 -0
- package/lib/module/components/executiontasks/imageCapture/ImageCapture.js.map +1 -0
- package/lib/module/components/executiontasks/payments/PaymentStyles.js +80 -0
- package/lib/module/components/executiontasks/payments/PaymentStyles.js.map +1 -0
- package/lib/module/components/executiontasks/payments/PaymentUtils.js +8 -0
- package/lib/module/components/executiontasks/payments/PaymentUtils.js.map +1 -0
- package/lib/module/components/executiontasks/payments/completePayment/CompletePaymentET.js +90 -0
- package/lib/module/components/executiontasks/payments/completePayment/CompletePaymentET.js.map +1 -0
- package/lib/module/components/executiontasks/payments/completePayment/CompletePaymentSchema.js +2 -0
- package/lib/module/components/executiontasks/payments/completePayment/CompletePaymentSchema.js.map +1 -0
- package/lib/module/components/executiontasks/payments/init/InitPaymentET.js +116 -0
- package/lib/module/components/executiontasks/payments/init/InitPaymentET.js.map +1 -0
- package/lib/module/components/executiontasks/payments/init/InitPaymentSchema.js +2 -0
- package/lib/module/components/executiontasks/payments/init/InitPaymentSchema.js.map +1 -0
- package/lib/module/components/executiontasks/payments/processPayment/ProcessPaymentET.js +124 -0
- package/lib/module/components/executiontasks/payments/processPayment/ProcessPaymentET.js.map +1 -0
- package/lib/module/components/executiontasks/payments/processPayment/ProcessPaymentSchema.js +2 -0
- package/lib/module/components/executiontasks/payments/processPayment/ProcessPaymentSchema.js.map +1 -0
- package/lib/module/components/executiontasks/pickup/PickpSchema.js +2 -0
- package/lib/module/components/executiontasks/pickup/PickpSchema.js.map +1 -0
- package/lib/module/components/executiontasks/pickup/PickupET.js +85 -0
- package/lib/module/components/executiontasks/pickup/PickupET.js.map +1 -0
- package/lib/module/components/executiontasks/pickup/SLPickupET.js +94 -0
- package/lib/module/components/executiontasks/pickup/SLPickupET.js.map +1 -0
- package/lib/module/components/executiontasks/scanner/CScanner.js +101 -0
- package/lib/module/components/executiontasks/scanner/CScanner.js.map +1 -0
- package/lib/module/components/executiontasks/scanner/ScannerSchema.js +24 -0
- package/lib/module/components/executiontasks/scanner/ScannerSchema.js.map +1 -0
- package/lib/module/components/executiontasks/scanner/ScannerUtils.js +158 -0
- package/lib/module/components/executiontasks/scanner/ScannerUtils.js.map +1 -0
- package/lib/module/components/executiontasks/scanner/returns/DropDownSelector.js +9 -0
- package/lib/module/components/executiontasks/scanner/returns/DropDownSelector.js.map +1 -0
- package/lib/module/components/executiontasks/scanner/returns/DropDownUtils.js +38 -0
- package/lib/module/components/executiontasks/scanner/returns/DropDownUtils.js.map +1 -0
- package/lib/module/components/executiontasks/scanner/returns/RTReasonSelection.js +86 -0
- package/lib/module/components/executiontasks/scanner/returns/RTReasonSelection.js.map +1 -0
- package/lib/module/components/executiontasks/scanner/returns/RTScan.js +287 -0
- package/lib/module/components/executiontasks/scanner/returns/RTScan.js.map +1 -0
- package/lib/module/components/executiontasks/scanner/returns/ReasonDropDown.js +80 -0
- package/lib/module/components/executiontasks/scanner/returns/ReasonDropDown.js.map +1 -0
- package/lib/module/components/executiontasks/scanner/returns/ScanList.js +253 -0
- package/lib/module/components/executiontasks/scanner/returns/ScanList.js.map +1 -0
- package/lib/module/components/executiontasks/verifyInput/VerifyInputSchema.js +2 -0
- package/lib/module/components/executiontasks/verifyInput/VerifyInputSchema.js.map +1 -0
- package/lib/module/components/executiontasks/verifyLocation/GeofenceUtils.js +50 -0
- package/lib/module/components/executiontasks/verifyLocation/GeofenceUtils.js.map +1 -0
- package/lib/module/components/executiontasks/verifyLocation/VerifyLocSchema.js +2 -0
- package/lib/module/components/executiontasks/verifyLocation/VerifyLocSchema.js.map +1 -0
- package/lib/module/components/executiontasks/verifyLocation/VerifyLocationET.js +45 -0
- package/lib/module/components/executiontasks/verifyLocation/VerifyLocationET.js.map +1 -0
- package/lib/module/components/executiontasks/verifyOtp/VerifyOtpET.js +78 -0
- package/lib/module/components/executiontasks/verifyOtp/VerifyOtpET.js.map +1 -0
- package/lib/module/components/executiontasks/verifyOtp/VerifyOtpSchema.js +2 -0
- package/lib/module/components/executiontasks/verifyOtp/VerifyOtpSchema.js.map +1 -0
- package/lib/module/components/widgets/AlertDisplay.js +12 -0
- package/lib/module/components/widgets/AlertDisplay.js.map +1 -0
- package/lib/module/components/widgets/CancelOrderDialog.js +81 -0
- package/lib/module/components/widgets/CancelOrderDialog.js.map +1 -0
- package/lib/module/components/widgets/ProgressDialog.js +46 -0
- package/lib/module/components/widgets/ProgressDialog.js.map +1 -0
- package/lib/module/components/widgets/SnackBarCustom.js +138 -0
- package/lib/module/components/widgets/SnackBarCustom.js.map +1 -0
- package/lib/module/components/widgets/Toaster.js +7 -0
- package/lib/module/components/widgets/Toaster.js.map +1 -0
- package/lib/module/config/DispatchSDKConfig.js +7 -0
- package/lib/module/config/DispatchSDKConfig.js.map +1 -0
- package/lib/module/constants/apiConstants.js +4 -0
- package/lib/module/constants/apiConstants.js.map +1 -0
- package/lib/module/constants/constants.js +10 -0
- package/lib/module/constants/constants.js.map +1 -0
- package/lib/module/constants/statuscode.js +11 -0
- package/lib/module/constants/statuscode.js.map +1 -0
- package/lib/module/errors/BaseError.js +21 -0
- package/lib/module/errors/BaseError.js.map +1 -0
- package/lib/module/errors/ErrorCodes.js +32 -0
- package/lib/module/errors/ErrorCodes.js.map +1 -0
- package/lib/module/index.js +24 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/manager/dispatch/DispatchStateContainer.js +405 -0
- package/lib/module/manager/dispatch/DispatchStateContainer.js.map +1 -0
- package/lib/module/manager/dispatchCodes/EventCodeContainer.js +5 -0
- package/lib/module/manager/dispatchCodes/EventCodeContainer.js.map +1 -0
- package/lib/module/manager/dispatchCodes/ReasonCodeContainer.js +89 -0
- package/lib/module/manager/dispatchCodes/ReasonCodeContainer.js.map +1 -0
- package/lib/module/manager/dispatchCodes/ReasonCodeRepo.js +72 -0
- package/lib/module/manager/dispatchCodes/ReasonCodeRepo.js.map +1 -0
- package/lib/module/manager/dispatchCodes/reasonCodes.json +137 -0
- package/lib/module/manager/location/LocationManager.js +83 -0
- package/lib/module/manager/location/LocationManager.js.map +1 -0
- package/lib/module/manager/sdk/DispatchSDKManager.js +71 -0
- package/lib/module/manager/sdk/DispatchSDKManager.js.map +1 -0
- package/lib/module/manager/sdk/DispatchSdkCache.js +57 -0
- package/lib/module/manager/sdk/DispatchSdkCache.js.map +1 -0
- package/lib/module/manager/syncmanager/AppSyncManager.js +128 -0
- package/lib/module/manager/syncmanager/AppSyncManager.js.map +1 -0
- package/lib/module/manager/syncmanager/DBConfig.js +48 -0
- package/lib/module/manager/syncmanager/DBConfig.js.map +1 -0
- package/lib/module/manager/syncmanager/NativeSyncManager.js +6 -0
- package/lib/module/manager/syncmanager/NativeSyncManager.js.map +1 -0
- package/lib/module/manager/syncmanager/database.js +30 -0
- package/lib/module/manager/syncmanager/database.js.map +1 -0
- package/lib/module/manager/syncmanager/document/DocumentHttpClient.js +104 -0
- package/lib/module/manager/syncmanager/document/DocumentHttpClient.js.map +1 -0
- package/lib/module/manager/syncmanager/document/DocumentManager.js +98 -0
- package/lib/module/manager/syncmanager/document/DocumentManager.js.map +1 -0
- package/lib/module/manager/syncmanager/document/DocumentSyncManager.js +173 -0
- package/lib/module/manager/syncmanager/document/DocumentSyncManager.js.map +1 -0
- package/lib/module/manager/syncmanager/document/models.js +2 -0
- package/lib/module/manager/syncmanager/document/models.js.map +1 -0
- package/lib/module/manager/syncmanager/events/ETEventsManager.js +101 -0
- package/lib/module/manager/syncmanager/events/ETEventsManager.js.map +1 -0
- package/lib/module/manager/syncmanager/events/EventsGraphQLClient.js +2 -0
- package/lib/module/manager/syncmanager/events/EventsGraphQLClient.js.map +1 -0
- package/lib/module/manager/syncmanager/events/EventsSyncManager.js +247 -0
- package/lib/module/manager/syncmanager/events/EventsSyncManager.js.map +1 -0
- package/lib/module/manager/syncmanager/events/SyncHttpClient.js +63 -0
- package/lib/module/manager/syncmanager/events/SyncHttpClient.js.map +1 -0
- package/lib/module/models/DispatchModels.js +7 -0
- package/lib/module/models/DispatchModels.js.map +1 -0
- package/lib/module/models/ReasonCodes.js +2 -0
- package/lib/module/models/ReasonCodes.js.map +1 -0
- package/lib/module/models/auth.js +2 -0
- package/lib/module/models/auth.js.map +1 -0
- package/lib/module/models/execTasks/ETBaseModels.js +2 -0
- package/lib/module/models/execTasks/ETBaseModels.js.map +1 -0
- package/lib/module/models/execTasks/ETConfig.js +104 -0
- package/lib/module/models/execTasks/ETConfig.js.map +1 -0
- package/lib/module/models/execution.js +2 -0
- package/lib/module/models/execution.js.map +1 -0
- package/lib/module/models/fcm.js +2 -0
- package/lib/module/models/fcm.js.map +1 -0
- package/lib/module/models/sdk.js +8 -0
- package/lib/module/models/sdk.js.map +1 -0
- package/lib/module/native/signature/SignatureCapture.js +80 -0
- package/lib/module/native/signature/SignatureCapture.js.map +1 -0
- package/lib/module/network/GraphQLClient.js +132 -0
- package/lib/module/network/GraphQLClient.js.map +1 -0
- package/lib/module/network/NetworkClient.js +42 -0
- package/lib/module/network/NetworkClient.js.map +1 -0
- package/lib/module/network/NetworkUtils.js +23 -0
- package/lib/module/network/NetworkUtils.js.map +1 -0
- package/lib/module/network/Queries.js +42 -0
- package/lib/module/network/Queries.js.map +1 -0
- package/lib/module/network/client.js +74 -0
- package/lib/module/network/client.js.map +1 -0
- package/lib/module/res/strings.js +2 -0
- package/lib/module/res/strings.js.map +1 -0
- package/lib/module/resources/Login.js +42 -0
- package/lib/module/resources/Login.js.map +1 -0
- package/lib/module/resources/network.js +18 -0
- package/lib/module/resources/network.js.map +1 -0
- package/lib/module/styles/SdkColors.js +22 -0
- package/lib/module/styles/SdkColors.js.map +1 -0
- package/lib/module/styles/executionTasks/CommonStyles.js +146 -0
- package/lib/module/styles/executionTasks/CommonStyles.js.map +1 -0
- package/lib/module/ui/screens/CancellationScreen.js +41 -0
- package/lib/module/ui/screens/CancellationScreen.js.map +1 -0
- package/lib/module/ui/screens/CaptureInputScreen.js +52 -0
- package/lib/module/ui/screens/CaptureInputScreen.js.map +1 -0
- package/lib/module/ui/screens/CompleteObjectiveScreen.js +42 -0
- package/lib/module/ui/screens/CompleteObjectiveScreen.js.map +1 -0
- package/lib/module/ui/screens/DeliverScreen.js +53 -0
- package/lib/module/ui/screens/DeliverScreen.js.map +1 -0
- package/lib/module/ui/screens/DisplayScreen.js +27 -0
- package/lib/module/ui/screens/DisplayScreen.js.map +1 -0
- package/lib/module/ui/screens/DoodleScreen.js +56 -0
- package/lib/module/ui/screens/DoodleScreen.js.map +1 -0
- package/lib/module/ui/screens/DropCashScreen.js +67 -0
- package/lib/module/ui/screens/DropCashScreen.js.map +1 -0
- package/lib/module/ui/screens/ETScreensIndex.js +17 -0
- package/lib/module/ui/screens/ETScreensIndex.js.map +1 -0
- package/lib/module/ui/screens/FormsScreen.js +28 -0
- package/lib/module/ui/screens/FormsScreen.js.map +1 -0
- package/lib/module/ui/screens/GeofenceScreen.js +30 -0
- package/lib/module/ui/screens/GeofenceScreen.js.map +1 -0
- package/lib/module/ui/screens/HttpRequestScreen.js +23 -0
- package/lib/module/ui/screens/HttpRequestScreen.js.map +1 -0
- package/lib/module/ui/screens/ImageCaptureScreen.js +27 -0
- package/lib/module/ui/screens/ImageCaptureScreen.js.map +1 -0
- package/lib/module/ui/screens/PaymentScreen.js +119 -0
- package/lib/module/ui/screens/PaymentScreen.js.map +1 -0
- package/lib/module/ui/screens/PickupScreen.js +32 -0
- package/lib/module/ui/screens/PickupScreen.js.map +1 -0
- package/lib/module/ui/screens/RTScanScreen.js +93 -0
- package/lib/module/ui/screens/RTScanScreen.js.map +1 -0
- package/lib/module/ui/screens/StartWorkFlowScreen.js +105 -0
- package/lib/module/ui/screens/StartWorkFlowScreen.js.map +1 -0
- package/lib/module/ui/screens/WithBaseDispatchScreen.js +35 -0
- package/lib/module/ui/screens/WithBaseDispatchScreen.js.map +1 -0
- package/lib/module/ui/uiConfig/RouteParams.js +9 -0
- package/lib/module/ui/uiConfig/RouteParams.js.map +1 -0
- package/lib/module/utils/ExecTaskUtils.js +93 -0
- package/lib/module/utils/ExecTaskUtils.js.map +1 -0
- package/lib/module/utils/Logger.js +97 -0
- package/lib/module/utils/Logger.js.map +1 -0
- package/lib/module/utils/NetworkUtil.js +54 -0
- package/lib/module/utils/NetworkUtil.js.map +1 -0
- package/lib/module/utils/SdkUtils.js +103 -0
- package/lib/module/utils/SdkUtils.js.map +1 -0
- package/lib/module/utils/SyncManagerUtils.js +93 -0
- package/lib/module/utils/SyncManagerUtils.js.map +1 -0
- package/lib/module/utils/fcm/FCM.js +36 -0
- package/lib/module/utils/fcm/FCM.js.map +1 -0
- package/lib/module/utils/fcm/FcmUtils.js +68 -0
- package/lib/module/utils/fcm/FcmUtils.js.map +1 -0
- package/lib/module/utils/helper.js +27 -0
- package/lib/module/utils/helper.js.map +1 -0
- package/lib/module/utils/loginHelper.js +60 -0
- package/lib/module/utils/loginHelper.js.map +1 -0
- package/lib/module/utils/storage.js +142 -0
- package/lib/module/utils/storage.js.map +1 -0
- package/lib/module/utils/test.json +17 -0
- package/lib/module/utils/utils.js +24 -0
- package/lib/module/utils/utils.js.map +1 -0
- package/lib/typescript/components/dispatch/DispatchExecNavigator.d.ts +5 -0
- package/lib/typescript/components/executiontasks/CompletedWFSchema.d.ts +18 -0
- package/lib/typescript/components/executiontasks/ExecutionTasksIndex.d.ts +42 -0
- package/lib/typescript/components/executiontasks/cancellation/CancelET.d.ts +4 -0
- package/lib/typescript/components/executiontasks/cancellation/CancellationSchema.d.ts +12 -0
- package/lib/typescript/components/executiontasks/captureInput/CaptureInputSchema.d.ts +43 -0
- package/lib/typescript/components/executiontasks/captureInput/CaptureText.d.ts +4 -0
- package/lib/typescript/components/executiontasks/deliver/DeliverET.d.ts +4 -0
- package/lib/typescript/components/executiontasks/deliver/DeliverETInput.d.ts +42 -0
- package/lib/typescript/components/executiontasks/deliver/SLDeliverET.d.ts +8 -0
- package/lib/typescript/components/executiontasks/display/DisplayModalET.d.ts +4 -0
- package/lib/typescript/components/executiontasks/display/DisplaySchema.d.ts +23 -0
- package/lib/typescript/components/executiontasks/doodle/DoodleUtils.d.ts +3 -0
- package/lib/typescript/components/executiontasks/doodle/SignatureET.d.ts +4 -0
- package/lib/typescript/components/executiontasks/doodle/SignatureSchema.d.ts +48 -0
- package/lib/typescript/components/executiontasks/dropCash/DropCashET.d.ts +4 -0
- package/lib/typescript/components/executiontasks/dropCash/DropCashSchema.d.ts +17 -0
- package/lib/typescript/components/executiontasks/dropCash/SLDropCash.d.ts +4 -0
- package/lib/typescript/components/executiontasks/forms/FormGenerator.d.ts +4 -0
- package/lib/typescript/components/executiontasks/forms/FormSchema.d.ts +24 -0
- package/lib/typescript/components/executiontasks/forms/widgets/DateTimeWidget.d.ts +11 -0
- package/lib/typescript/components/executiontasks/forms/widgets/QRBarcodeScannerWidget.d.ts +8 -0
- package/lib/typescript/components/executiontasks/forms/widgets/TimeRangeSelector.d.ts +4 -0
- package/lib/typescript/components/executiontasks/httpRequest/HttpEtUtils.d.ts +4 -0
- package/lib/typescript/components/executiontasks/httpRequest/HttpRequestET.d.ts +4 -0
- package/lib/typescript/components/executiontasks/httpRequest/HttpRequestETSchema.d.ts +36 -0
- package/lib/typescript/components/executiontasks/imageCapture/CaptureSchema.d.ts +79 -0
- package/lib/typescript/components/executiontasks/imageCapture/CaptureUtils.d.ts +9 -0
- package/lib/typescript/components/executiontasks/imageCapture/ImageCapture.d.ts +4 -0
- package/lib/typescript/components/executiontasks/payments/PaymentStyles.d.ts +78 -0
- package/lib/typescript/components/executiontasks/payments/PaymentUtils.d.ts +2 -0
- package/lib/typescript/components/executiontasks/payments/completePayment/CompletePaymentET.d.ts +4 -0
- package/lib/typescript/components/executiontasks/payments/completePayment/CompletePaymentSchema.d.ts +18 -0
- package/lib/typescript/components/executiontasks/payments/init/InitPaymentET.d.ts +4 -0
- package/lib/typescript/components/executiontasks/payments/init/InitPaymentSchema.d.ts +31 -0
- package/lib/typescript/components/executiontasks/payments/processPayment/ProcessPaymentET.d.ts +4 -0
- package/lib/typescript/components/executiontasks/payments/processPayment/ProcessPaymentSchema.d.ts +33 -0
- package/lib/typescript/components/executiontasks/pickup/PickpSchema.d.ts +25 -0
- package/lib/typescript/components/executiontasks/pickup/PickupET.d.ts +4 -0
- package/lib/typescript/components/executiontasks/pickup/SLPickupET.d.ts +8 -0
- package/lib/typescript/components/executiontasks/scanner/CScanner.d.ts +7 -0
- package/lib/typescript/components/executiontasks/scanner/ScannerSchema.d.ts +75 -0
- package/lib/typescript/components/executiontasks/scanner/ScannerUtils.d.ts +15 -0
- package/lib/typescript/components/executiontasks/scanner/returns/DropDownSelector.d.ts +3 -0
- package/lib/typescript/components/executiontasks/scanner/returns/DropDownUtils.d.ts +3 -0
- package/lib/typescript/components/executiontasks/scanner/returns/RTReasonSelection.d.ts +7 -0
- package/lib/typescript/components/executiontasks/scanner/returns/RTScan.d.ts +4 -0
- package/lib/typescript/components/executiontasks/scanner/returns/ReasonDropDown.d.ts +14 -0
- package/lib/typescript/components/executiontasks/scanner/returns/ScanList.d.ts +17 -0
- package/lib/typescript/components/executiontasks/verifyInput/VerifyInputSchema.d.ts +41 -0
- package/lib/typescript/components/executiontasks/verifyLocation/GeofenceUtils.d.ts +2 -0
- package/lib/typescript/components/executiontasks/verifyLocation/VerifyLocSchema.d.ts +50 -0
- package/lib/typescript/components/executiontasks/verifyLocation/VerifyLocationET.d.ts +4 -0
- package/lib/typescript/components/executiontasks/verifyOtp/VerifyOtpET.d.ts +4 -0
- package/lib/typescript/components/executiontasks/verifyOtp/VerifyOtpSchema.d.ts +21 -0
- package/lib/typescript/components/widgets/AlertDisplay.d.ts +1 -0
- package/lib/typescript/components/widgets/CancelOrderDialog.d.ts +13 -0
- package/lib/typescript/components/widgets/ProgressDialog.d.ts +7 -0
- package/lib/typescript/components/widgets/SnackBarCustom.d.ts +20 -0
- package/lib/typescript/components/widgets/Toaster.d.ts +1 -0
- package/lib/typescript/config/DispatchSDKConfig.d.ts +4 -0
- package/lib/typescript/constants/apiConstants.d.ts +3 -0
- package/lib/typescript/constants/constants.d.ts +9 -0
- package/lib/typescript/constants/statuscode.d.ts +7 -0
- package/lib/typescript/errors/BaseError.d.ts +10 -0
- package/lib/typescript/errors/ErrorCodes.d.ts +28 -0
- package/lib/typescript/index.d.ts +31 -0
- package/lib/typescript/manager/dispatch/DispatchStateContainer.d.ts +41 -0
- package/lib/typescript/manager/dispatchCodes/EventCodeContainer.d.ts +1 -0
- package/lib/typescript/manager/dispatchCodes/ReasonCodeContainer.d.ts +12 -0
- package/lib/typescript/manager/dispatchCodes/ReasonCodeRepo.d.ts +13 -0
- package/lib/typescript/manager/location/LocationManager.d.ts +14 -0
- package/lib/typescript/manager/sdk/DispatchSDKManager.d.ts +14 -0
- package/lib/typescript/manager/sdk/DispatchSdkCache.d.ts +17 -0
- package/lib/typescript/manager/syncmanager/AppSyncManager.d.ts +24 -0
- package/lib/typescript/manager/syncmanager/DBConfig.d.ts +77 -0
- package/lib/typescript/manager/syncmanager/NativeSyncManager.d.ts +6 -0
- package/lib/typescript/manager/syncmanager/database.d.ts +2 -0
- package/lib/typescript/manager/syncmanager/document/DocumentHttpClient.d.ts +9 -0
- package/lib/typescript/manager/syncmanager/document/DocumentManager.d.ts +15 -0
- package/lib/typescript/manager/syncmanager/document/DocumentSyncManager.d.ts +25 -0
- package/lib/typescript/manager/syncmanager/document/models.d.ts +4 -0
- package/lib/typescript/manager/syncmanager/events/ETEventsManager.d.ts +16 -0
- package/lib/typescript/manager/syncmanager/events/EventsGraphQLClient.d.ts +0 -0
- package/lib/typescript/manager/syncmanager/events/EventsSyncManager.d.ts +30 -0
- package/lib/typescript/manager/syncmanager/events/SyncHttpClient.d.ts +9 -0
- package/lib/typescript/models/DispatchModels.d.ts +17 -0
- package/lib/typescript/models/ReasonCodes.d.ts +6 -0
- package/lib/typescript/models/auth.d.ts +32 -0
- package/lib/typescript/models/execTasks/ETBaseModels.d.ts +81 -0
- package/lib/typescript/models/execTasks/ETConfig.d.ts +86 -0
- package/lib/typescript/models/execution.d.ts +9 -0
- package/lib/typescript/models/fcm.d.ts +3 -0
- package/lib/typescript/models/sdk.d.ts +24 -0
- package/lib/typescript/native/signature/SignatureCapture.d.ts +33 -0
- package/lib/typescript/network/GraphQLClient.d.ts +15 -0
- package/lib/typescript/network/NetworkClient.d.ts +8 -0
- package/lib/typescript/network/NetworkUtils.d.ts +11 -0
- package/lib/typescript/network/Queries.d.ts +5 -0
- package/lib/typescript/network/client.d.ts +8 -0
- package/lib/typescript/res/strings.d.ts +1 -0
- package/lib/typescript/resources/Login.d.ts +14 -0
- package/lib/typescript/resources/network.d.ts +7 -0
- package/lib/typescript/styles/SdkColors.d.ts +16 -0
- package/lib/typescript/styles/executionTasks/CommonStyles.d.ts +140 -0
- package/lib/typescript/ui/screens/CancellationScreen.d.ts +3 -0
- package/lib/typescript/ui/screens/CaptureInputScreen.d.ts +3 -0
- package/lib/typescript/ui/screens/CompleteObjectiveScreen.d.ts +3 -0
- package/lib/typescript/ui/screens/DeliverScreen.d.ts +3 -0
- package/lib/typescript/ui/screens/DisplayScreen.d.ts +3 -0
- package/lib/typescript/ui/screens/DoodleScreen.d.ts +3 -0
- package/lib/typescript/ui/screens/DropCashScreen.d.ts +3 -0
- package/lib/typescript/ui/screens/ETScreensIndex.d.ts +16 -0
- package/lib/typescript/ui/screens/FormsScreen.d.ts +3 -0
- package/lib/typescript/ui/screens/GeofenceScreen.d.ts +3 -0
- package/lib/typescript/ui/screens/HttpRequestScreen.d.ts +3 -0
- package/lib/typescript/ui/screens/ImageCaptureScreen.d.ts +3 -0
- package/lib/typescript/ui/screens/PaymentScreen.d.ts +3 -0
- package/lib/typescript/ui/screens/PickupScreen.d.ts +3 -0
- package/lib/typescript/ui/screens/RTScanScreen.d.ts +3 -0
- package/lib/typescript/ui/screens/StartWorkFlowScreen.d.ts +3 -0
- package/lib/typescript/ui/screens/WithBaseDispatchScreen.d.ts +3 -0
- package/lib/typescript/ui/uiConfig/RouteParams.d.ts +8 -0
- package/lib/typescript/utils/ExecTaskUtils.d.ts +7 -0
- package/lib/typescript/utils/Logger.d.ts +22 -0
- package/lib/typescript/utils/NetworkUtil.d.ts +14 -0
- package/lib/typescript/utils/SdkUtils.d.ts +25 -0
- package/lib/typescript/utils/SyncManagerUtils.d.ts +10 -0
- package/lib/typescript/utils/fcm/FCM.d.ts +8 -0
- package/lib/typescript/utils/fcm/FcmUtils.d.ts +5 -0
- package/lib/typescript/utils/helper.d.ts +14 -0
- package/lib/typescript/utils/loginHelper.d.ts +13 -0
- package/lib/typescript/utils/storage.d.ts +49 -0
- package/lib/typescript/utils/utils.d.ts +3 -0
- package/package.json +254 -0
- package/tsconfig.build.json +4 -0
- package/tsconfig.json +31 -0
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
var _Login = _interopRequireDefault(require("../resources/Login"));
|
|
9
|
+
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Creating a wrapper arround localstorage as https://reactnative.dev/docs/asyncstorage
|
|
14
|
+
*
|
|
15
|
+
*
|
|
16
|
+
* @class LoginHelper
|
|
17
|
+
*/
|
|
18
|
+
class LoginHelper {
|
|
19
|
+
async initLogin(loginPayload, loginType) {
|
|
20
|
+
try {
|
|
21
|
+
let loginResponse;
|
|
22
|
+
|
|
23
|
+
switch (loginType) {
|
|
24
|
+
case 'mobilePassword':
|
|
25
|
+
loginResponse = await _Login.default.loginMobilePassword(loginPayload);
|
|
26
|
+
break;
|
|
27
|
+
|
|
28
|
+
case 'mobileOtp':
|
|
29
|
+
loginResponse = await _Login.default.loginMobileOtp(loginPayload);
|
|
30
|
+
break;
|
|
31
|
+
|
|
32
|
+
case 'mPin':
|
|
33
|
+
loginResponse = await _Login.default.loginMpin(loginPayload);
|
|
34
|
+
break;
|
|
35
|
+
|
|
36
|
+
case 'usernamePassword':
|
|
37
|
+
loginResponse = await _Login.default.loginUserName(loginPayload);
|
|
38
|
+
break;
|
|
39
|
+
|
|
40
|
+
case 'clientCredential':
|
|
41
|
+
loginResponse = await _Login.default.loginCredential(loginPayload);
|
|
42
|
+
break;
|
|
43
|
+
|
|
44
|
+
default:
|
|
45
|
+
break;
|
|
46
|
+
} // await Storage.setObject('LoginResponse', loginResponse);
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
return loginResponse;
|
|
50
|
+
} catch (e) {
|
|
51
|
+
// Flush all storage
|
|
52
|
+
throw new Error(e);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
async handleAccessTokenExpiry() {
|
|
57
|
+
const data = {
|
|
58
|
+
tenant: '',
|
|
59
|
+
appName: '',
|
|
60
|
+
applicationSecret: ''
|
|
61
|
+
};
|
|
62
|
+
await _Login.default.refreshToken(data);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
const loginHelper = new LoginHelper();
|
|
68
|
+
var _default = loginHelper;
|
|
69
|
+
exports.default = _default;
|
|
70
|
+
//# sourceMappingURL=loginHelper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["LoginHelper","initLogin","loginPayload","loginType","loginResponse","Auth","loginMobilePassword","loginMobileOtp","loginMpin","loginUserName","loginCredential","e","Error","handleAccessTokenExpiry","data","tenant","appName","applicationSecret","refreshToken","loginHelper"],"sources":["loginHelper.ts"],"sourcesContent":["/**\n * Creating a wrapper arround localstorage as https://reactnative.dev/docs/asyncstorage\n *\n *\n * @class LoginHelper\n */\nimport type { LoginPayload, LoginType } from '../models/auth';\nimport Auth from '../resources/Login';\nclass LoginHelper {\n async initLogin(loginPayload: LoginPayload, loginType: LoginType) {\n try {\n let loginResponse: any;\n switch (loginType) {\n case 'mobilePassword':\n loginResponse = await Auth.loginMobilePassword(loginPayload);\n break;\n case 'mobileOtp':\n loginResponse = await Auth.loginMobileOtp(loginPayload);\n break;\n case 'mPin':\n loginResponse = await Auth.loginMpin(loginPayload);\n break;\n case 'usernamePassword':\n loginResponse = await Auth.loginUserName(loginPayload);\n break;\n case 'clientCredential':\n loginResponse = await Auth.loginCredential(loginPayload);\n break;\n default:\n break;\n }\n // await Storage.setObject('LoginResponse', loginResponse);\n return loginResponse;\n } catch (e: any) {\n // Flush all storage\n throw new Error(e);\n }\n }\n\n async handleAccessTokenExpiry() {\n const data: any = {\n tenant: '',\n appName: '',\n applicationSecret: '',\n };\n await Auth.refreshToken(data);\n }\n}\n\nconst loginHelper = new LoginHelper();\nexport default loginHelper;\n"],"mappings":";;;;;;;AAOA;;;;AAPA;AACA;AACA;AACA;AACA;AACA;AAGA,MAAMA,WAAN,CAAkB;EACD,MAATC,SAAS,CAACC,YAAD,EAA6BC,SAA7B,EAAmD;IAChE,IAAI;MACF,IAAIC,aAAJ;;MACA,QAAQD,SAAR;QACE,KAAK,gBAAL;UACEC,aAAa,GAAG,MAAMC,cAAA,CAAKC,mBAAL,CAAyBJ,YAAzB,CAAtB;UACA;;QACF,KAAK,WAAL;UACEE,aAAa,GAAG,MAAMC,cAAA,CAAKE,cAAL,CAAoBL,YAApB,CAAtB;UACA;;QACF,KAAK,MAAL;UACEE,aAAa,GAAG,MAAMC,cAAA,CAAKG,SAAL,CAAeN,YAAf,CAAtB;UACA;;QACF,KAAK,kBAAL;UACEE,aAAa,GAAG,MAAMC,cAAA,CAAKI,aAAL,CAAmBP,YAAnB,CAAtB;UACA;;QACF,KAAK,kBAAL;UACEE,aAAa,GAAG,MAAMC,cAAA,CAAKK,eAAL,CAAqBR,YAArB,CAAtB;UACA;;QACF;UACE;MAjBJ,CAFE,CAqBF;;;MACA,OAAOE,aAAP;IACD,CAvBD,CAuBE,OAAOO,CAAP,EAAe;MACf;MACA,MAAM,IAAIC,KAAJ,CAAUD,CAAV,CAAN;IACD;EACF;;EAE4B,MAAvBE,uBAAuB,GAAG;IAC9B,MAAMC,IAAS,GAAG;MAChBC,MAAM,EAAE,EADQ;MAEhBC,OAAO,EAAE,EAFO;MAGhBC,iBAAiB,EAAE;IAHH,CAAlB;IAKA,MAAMZ,cAAA,CAAKa,YAAL,CAAkBJ,IAAlB,CAAN;EACD;;AAtCe;;AAyClB,MAAMK,WAAW,GAAG,IAAInB,WAAJ,EAApB;eACemB,W"}
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
var _constants = require("./../constants/constants");
|
|
9
|
+
|
|
10
|
+
var _asyncStorage = _interopRequireDefault(require("@react-native-async-storage/async-storage"));
|
|
11
|
+
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
+
|
|
14
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Creating a wrapper arround localstorage as https://reactnative.dev/docs/asyncstorage
|
|
18
|
+
* depreciated using communiity package instead https://github.com/react-native-async-storage/async-storage
|
|
19
|
+
*
|
|
20
|
+
* @class Storage
|
|
21
|
+
*/
|
|
22
|
+
class Storage {
|
|
23
|
+
// private prefixKey: string;
|
|
24
|
+
constructor() {}
|
|
25
|
+
|
|
26
|
+
static getInstance() {
|
|
27
|
+
if (!this.classInstance) {
|
|
28
|
+
this.classInstance = new Storage();
|
|
29
|
+
Storage.prefixKey = _constants.LOCAL_STORAGE_KEY_PREFIX;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
return this.classInstance;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Get a single item
|
|
36
|
+
*
|
|
37
|
+
* @param {string} key
|
|
38
|
+
* @returns {Promise<string | null>}
|
|
39
|
+
*/
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
async getItem(key) {
|
|
43
|
+
if (!key) {
|
|
44
|
+
throw new TypeError('In-valid params.');
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
return await _asyncStorage.default.getItem(Storage.prefixKey + key);
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Save a single itema
|
|
51
|
+
*
|
|
52
|
+
* @param {string} key
|
|
53
|
+
* @returns {Promise<void>}
|
|
54
|
+
*/
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
async setItem(key, value) {
|
|
58
|
+
if (!(key && value)) {
|
|
59
|
+
throw TypeError('In-valid params.');
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
return await _asyncStorage.default.setItem(Storage.prefixKey + key, value);
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Save a Object
|
|
66
|
+
*
|
|
67
|
+
* @param {string} key
|
|
68
|
+
* @returns {Promise<{}|[]>}
|
|
69
|
+
*/
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
async setObject(key, value) {
|
|
73
|
+
if (!key) {
|
|
74
|
+
throw TypeError('In-valid params.');
|
|
75
|
+
} else {
|
|
76
|
+
return await _asyncStorage.default.setItem(Storage.prefixKey + key, JSON.stringify(value));
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Get an Object
|
|
81
|
+
*
|
|
82
|
+
* @param {string} key
|
|
83
|
+
* @returns {Promise<void>}
|
|
84
|
+
*/
|
|
85
|
+
// the return type of the function could be made as Generic
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
async getObject(key) {
|
|
89
|
+
if (!key) {
|
|
90
|
+
throw new TypeError('In-valid params.');
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
let val = await _asyncStorage.default.getItem(Storage.prefixKey + key);
|
|
94
|
+
|
|
95
|
+
if (val !== null) {
|
|
96
|
+
const obj = JSON.parse(val);
|
|
97
|
+
return obj;
|
|
98
|
+
} else {
|
|
99
|
+
return null;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Deletes a single item
|
|
104
|
+
* @param {string} key
|
|
105
|
+
* @returns {Promise<void>}
|
|
106
|
+
*/
|
|
107
|
+
// need to handle cases for wrongs keys
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
async deleteItem(key) {
|
|
111
|
+
if (!key) {
|
|
112
|
+
throw new TypeError('In-valid params.');
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
await _asyncStorage.default.removeItem(Storage.prefixKey + key);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
async deleteMultiple(keys) {
|
|
119
|
+
if (!keys || keys.length === 0) {
|
|
120
|
+
throw new TypeError('In-valid params.');
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
const alteredKeys = keys.map(k => {
|
|
124
|
+
if (k.startsWith(Storage.prefixKey)) {
|
|
125
|
+
return k;
|
|
126
|
+
} else {
|
|
127
|
+
return Storage.prefixKey + k;
|
|
128
|
+
}
|
|
129
|
+
});
|
|
130
|
+
await _asyncStorage.default.multiRemove(alteredKeys);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
async getAllKeys(prefix) {
|
|
134
|
+
if (!prefix) {
|
|
135
|
+
throw new TypeError('In-valid params.');
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
const keys = await _asyncStorage.default.getAllKeys();
|
|
139
|
+
return keys.filter(key => {
|
|
140
|
+
return key.startsWith(Storage.prefixKey + prefix);
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
} // const storage = new Storage();
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
_defineProperty(Storage, "classInstance", void 0);
|
|
148
|
+
|
|
149
|
+
_defineProperty(Storage, "prefixKey", void 0);
|
|
150
|
+
|
|
151
|
+
var _default = Storage;
|
|
152
|
+
exports.default = _default;
|
|
153
|
+
//# sourceMappingURL=storage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Storage","constructor","getInstance","classInstance","prefixKey","LOCAL_STORAGE_KEY_PREFIX","getItem","key","TypeError","AsyncStorage","setItem","value","setObject","JSON","stringify","getObject","val","obj","parse","deleteItem","removeItem","deleteMultiple","keys","length","alteredKeys","map","k","startsWith","multiRemove","getAllKeys","prefix","filter"],"sources":["storage.ts"],"sourcesContent":["import { LOCAL_STORAGE_KEY_PREFIX } from './../constants/constants';\nimport AsyncStorage from '@react-native-async-storage/async-storage';\n\n/**\n * Creating a wrapper arround localstorage as https://reactnative.dev/docs/asyncstorage\n * depreciated using communiity package instead https://github.com/react-native-async-storage/async-storage\n *\n * @class Storage\n */\nclass Storage {\n private static classInstance?: Storage;\n // private prefixKey: string;\n static prefixKey: string;\n private constructor() {}\n\n public static getInstance(): Storage {\n if (!this.classInstance) {\n this.classInstance = new Storage();\n Storage.prefixKey = LOCAL_STORAGE_KEY_PREFIX;\n }\n return this.classInstance;\n }\n /**\n * Get a single item\n *\n * @param {string} key\n * @returns {Promise<string | null>}\n */\n async getItem(key: string): Promise<string | null> {\n if (!key) {\n throw new TypeError('In-valid params.');\n }\n return await AsyncStorage.getItem(Storage.prefixKey + key);\n }\n\n /**\n * Save a single itema\n *\n * @param {string} key\n * @returns {Promise<void>}\n */\n async setItem(key: string, value: string): Promise<void> {\n if (!(key && value)) {\n throw TypeError('In-valid params.');\n }\n return await AsyncStorage.setItem(Storage.prefixKey + key, value);\n }\n\n /**\n * Save a Object\n *\n * @param {string} key\n * @returns {Promise<{}|[]>}\n */\n async setObject(key: string, value: {} | []): Promise<void> {\n if (!key) {\n throw TypeError('In-valid params.');\n } else {\n return await AsyncStorage.setItem(\n Storage.prefixKey + key,\n JSON.stringify(value)\n );\n }\n }\n\n /**\n * Get an Object\n *\n * @param {string} key\n * @returns {Promise<void>}\n */\n // the return type of the function could be made as Generic\n async getObject(key: string): Promise<{} | [] | null> {\n if (!key) {\n throw new TypeError('In-valid params.');\n }\n let val: string | null = await AsyncStorage.getItem(\n Storage.prefixKey + key\n );\n if (val !== null) {\n const obj = JSON.parse(val);\n return obj;\n } else {\n return null;\n }\n }\n /**\n * Deletes a single item\n * @param {string} key\n * @returns {Promise<void>}\n */\n // need to handle cases for wrongs keys\n async deleteItem(key: string): Promise<void> {\n if (!key) {\n throw new TypeError('In-valid params.');\n }\n await AsyncStorage.removeItem(Storage.prefixKey + key);\n }\n\n async deleteMultiple(keys: string[]) {\n if (!keys || keys.length === 0) {\n throw new TypeError('In-valid params.');\n }\n const alteredKeys = keys.map((k) => {\n if (k.startsWith(Storage.prefixKey)) {\n return k;\n } else {\n return Storage.prefixKey + k;\n }\n });\n await AsyncStorage.multiRemove(alteredKeys);\n }\n async getAllKeys(prefix: string): Promise<string[]> {\n if (!prefix) {\n throw new TypeError('In-valid params.');\n }\n const keys = await AsyncStorage.getAllKeys();\n return keys.filter((key) => {\n return key.startsWith(Storage.prefixKey + prefix);\n });\n }\n}\n\n// const storage = new Storage();\nexport default Storage;\n"],"mappings":";;;;;;;AAAA;;AACA;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMA,OAAN,CAAc;EAEZ;EAEQC,WAAW,GAAG,CAAE;;EAEC,OAAXC,WAAW,GAAY;IACnC,IAAI,CAAC,KAAKC,aAAV,EAAyB;MACvB,KAAKA,aAAL,GAAqB,IAAIH,OAAJ,EAArB;MACAA,OAAO,CAACI,SAAR,GAAoBC,mCAApB;IACD;;IACD,OAAO,KAAKF,aAAZ;EACD;EACD;AACF;AACA;AACA;AACA;AACA;;;EACe,MAAPG,OAAO,CAACC,GAAD,EAAsC;IACjD,IAAI,CAACA,GAAL,EAAU;MACR,MAAM,IAAIC,SAAJ,CAAc,kBAAd,CAAN;IACD;;IACD,OAAO,MAAMC,qBAAA,CAAaH,OAAb,CAAqBN,OAAO,CAACI,SAAR,GAAoBG,GAAzC,CAAb;EACD;EAED;AACF;AACA;AACA;AACA;AACA;;;EACe,MAAPG,OAAO,CAACH,GAAD,EAAcI,KAAd,EAA4C;IACvD,IAAI,EAAEJ,GAAG,IAAII,KAAT,CAAJ,EAAqB;MACnB,MAAMH,SAAS,CAAC,kBAAD,CAAf;IACD;;IACD,OAAO,MAAMC,qBAAA,CAAaC,OAAb,CAAqBV,OAAO,CAACI,SAAR,GAAoBG,GAAzC,EAA8CI,KAA9C,CAAb;EACD;EAED;AACF;AACA;AACA;AACA;AACA;;;EACiB,MAATC,SAAS,CAACL,GAAD,EAAcI,KAAd,EAA6C;IAC1D,IAAI,CAACJ,GAAL,EAAU;MACR,MAAMC,SAAS,CAAC,kBAAD,CAAf;IACD,CAFD,MAEO;MACL,OAAO,MAAMC,q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AzB,CAAN;EACD;;EACe,MAAVK,UAAU,CAACC,MAAD,EAAoC;IAClD,IAAI,CAACA,MAAL,EAAa;MACX,MAAM,IAAItB,SAAJ,CAAc,kBAAd,CAAN;IACD;;IACD,MAAMc,IAAI,GAAG,MAAMb,qBAAA,CAAaoB,UAAb,EAAnB;IACA,OAAOP,IAAI,CAACS,MAAL,CAAaxB,GAAD,IAAS;MAC1B,OAAOA,GAAG,CAACoB,UAAJ,CAAe3B,OAAO,CAACI,SAAR,GAAoB0B,MAAnC,CAAP;IACD,CAFM,CAAP;EAGD;;AA/GW,C,CAkHd;;;gBAlHM9B,O;;gBAAAA,O;;eAmHSA,O"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"applicableReasons": {
|
|
3
|
+
"E-010": [
|
|
4
|
+
{
|
|
5
|
+
"reason": "DELIVERED_TO_CONSIGNEE",
|
|
6
|
+
"text": "The shipment has been delivered to the consignee",
|
|
7
|
+
"code": "0041"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"reason": "DELIVERED_TO_SECURITY",
|
|
11
|
+
"text": "The shipment has been delivered to the security",
|
|
12
|
+
"code": "0042"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"E-011": []
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.isEmptyOrBlank = isEmptyOrBlank;
|
|
7
|
+
exports.isMandatoryKeysPresent = isMandatoryKeysPresent;
|
|
8
|
+
exports.isTokenExpired = isTokenExpired;
|
|
9
|
+
|
|
10
|
+
var _jwtDecode = _interopRequireDefault(require("jwt-decode"));
|
|
11
|
+
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
+
|
|
14
|
+
function isEmptyOrBlank(str) {
|
|
15
|
+
return !str || str.length === 0 || /^\s*$/.test(str);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
function isMandatoryKeysPresent(obj, keys) {
|
|
19
|
+
if (!obj) return false;
|
|
20
|
+
if ((keys === null || keys === void 0 ? void 0 : keys.length) === 0) return true;
|
|
21
|
+
|
|
22
|
+
for (let i = 0; i < keys.length; i++) {
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
if ( // @ts-ignore
|
|
25
|
+
!(keys[i] in obj) || // @ts-ignore
|
|
26
|
+
obj[keys[i]] === null || // @ts-ignore
|
|
27
|
+
obj[keys[i]] === undefined || // @ts-ignore
|
|
28
|
+
obj[keys[i]] === '') return false;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
function isTokenExpired(accessToken) {
|
|
35
|
+
let decodedData = (0, _jwtDecode.default)(accessToken);
|
|
36
|
+
return !(decodedData && decodedData.exp * 1000 > Date.now());
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["isEmptyOrBlank","str","length","test","isMandatoryKeysPresent","obj","keys","i","undefined","isTokenExpired","accessToken","decodedData","jwtDecode","exp","Date","now"],"sources":["utils.ts"],"sourcesContent":["import jwtDecode from 'jwt-decode';\n\nexport function isEmptyOrBlank(str: string | null | undefined) {\n return !str || str.length === 0 || /^\\s*$/.test(str);\n}\n\nexport function isMandatoryKeysPresent(obj: object, keys: string[]): boolean {\n if (!obj) return false;\n if (keys?.length === 0) return true;\n for (let i = 0; i < keys.length; i++) {\n // @ts-ignore\n if (\n // @ts-ignore\n !(keys[i] in obj) ||\n // @ts-ignore\n obj[keys[i]] === null ||\n // @ts-ignore\n obj[keys[i]] === undefined ||\n // @ts-ignore\n obj[keys[i]] === ''\n )\n return false;\n }\n return true;\n}\n\nexport function isTokenExpired(accessToken: string) {\n let decodedData: any = jwtDecode(accessToken);\n return !(decodedData && decodedData.exp * 1000 > Date.now());\n}\n"],"mappings":";;;;;;;;;AAAA;;;;AAEO,SAASA,cAAT,CAAwBC,GAAxB,EAAwD;EAC7D,OAAO,CAACA,GAAD,IAAQA,GAAG,CAACC,MAAJ,KAAe,CAAvB,IAA4B,QAAQC,IAAR,CAAaF,GAAb,CAAnC;AACD;;AAEM,SAASG,sBAAT,CAAgCC,GAAhC,EAA6CC,IAA7C,EAAsE;EAC3E,IAAI,CAACD,GAAL,EAAU,OAAO,KAAP;EACV,IAAI,CAAAC,IAAI,SAAJ,IAAAA,IAAI,WAAJ,YAAAA,IAAI,CAAEJ,MAAN,MAAiB,CAArB,EAAwB,OAAO,IAAP;;EACxB,KAAK,IAAIK,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAGD,IAAI,CAACJ,MAAzB,EAAiCK,CAAC,EAAlC,EAAsC;IACpC;IACA,KACE;IACA,EAAED,IAAI,CAACC,CAAD,CAAJ,IAAWF,GAAb,KACA;IACAA,GAAG,CAACC,IAAI,CAACC,CAAD,CAAL,CAAH,KAAiB,IAFjB,IAGA;IACAF,GAAG,CAACC,IAAI,CAACC,CAAD,CAAL,CAAH,KAAiBC,SAJjB,IAKA;IACAH,GAAG,CAACC,IAAI,CAACC,CAAD,CAAL,CAAH,KAAiB,EARnB,EAUE,OAAO,KAAP;EACH;;EACD,OAAO,IAAP;AACD;;AAEM,SAASE,cAAT,CAAwBC,WAAxB,EAA6C;EAClD,IAAIC,WAAgB,GAAG,IAAAC,kBAAA,EAAUF,WAAV,CAAvB;EACA,OAAO,EAAEC,WAAW,IAAIA,WAAW,CAACE,GAAZ,GAAkB,IAAlB,GAAyBC,IAAI,CAACC,GAAL,EAA1C,CAAP;AACD"}
|
|
Binary file
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { createNativeStackNavigator } from '@react-navigation/native-stack';
|
|
3
|
+
import * as ETScreen from '../../ui/screens/ETScreensIndex';
|
|
4
|
+
import { CustomScreens, ExecutionTaskID, ExecutionTaskName } from '../../models/execTasks/ETConfig';
|
|
5
|
+
import { IBMPlexSans_100Thin, IBMPlexSans_100Thin_Italic, IBMPlexSans_200ExtraLight, IBMPlexSans_200ExtraLight_Italic, IBMPlexSans_300Light, IBMPlexSans_300Light_Italic, IBMPlexSans_400Regular, IBMPlexSans_400Regular_Italic, IBMPlexSans_500Medium, IBMPlexSans_500Medium_Italic, IBMPlexSans_600SemiBold, IBMPlexSans_600SemiBold_Italic, IBMPlexSans_700Bold, IBMPlexSans_700Bold_Italic, useFonts } from '@expo-google-fonts/ibm-plex-sans';
|
|
6
|
+
import ProgressDialog from '../widgets/ProgressDialog';
|
|
7
|
+
import { RouteParams } from '../../ui/uiConfig/RouteParams';
|
|
8
|
+
const Stack = createNativeStackNavigator();
|
|
9
|
+
|
|
10
|
+
const DispatchExecNavigator = _ref => {
|
|
11
|
+
let {
|
|
12
|
+
route
|
|
13
|
+
} = _ref;
|
|
14
|
+
let [fontsLoaded] = useFonts({
|
|
15
|
+
IBMPlexSans_400Regular,
|
|
16
|
+
IBMPlexSans_600SemiBold,
|
|
17
|
+
IBMPlexSans_300Light,
|
|
18
|
+
IBMPlexSans_700Bold,
|
|
19
|
+
IBMPlexSans_100Thin,
|
|
20
|
+
IBMPlexSans_100Thin_Italic,
|
|
21
|
+
IBMPlexSans_200ExtraLight,
|
|
22
|
+
IBMPlexSans_200ExtraLight_Italic,
|
|
23
|
+
IBMPlexSans_300Light_Italic,
|
|
24
|
+
IBMPlexSans_400Regular_Italic,
|
|
25
|
+
IBMPlexSans_500Medium,
|
|
26
|
+
IBMPlexSans_500Medium_Italic,
|
|
27
|
+
IBMPlexSans_600SemiBold_Italic,
|
|
28
|
+
IBMPlexSans_700Bold_Italic
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
if (!fontsLoaded) {
|
|
32
|
+
return /*#__PURE__*/React.createElement(ProgressDialog, {
|
|
33
|
+
visible: true,
|
|
34
|
+
label: 'Please wait...'
|
|
35
|
+
});
|
|
36
|
+
} else return /*#__PURE__*/React.createElement(Stack.Navigator, {
|
|
37
|
+
screenOptions: {
|
|
38
|
+
headerTitleStyle: {
|
|
39
|
+
fontWeight: '600',
|
|
40
|
+
fontSize: 16,
|
|
41
|
+
fontFamily: 'IBMPlexSans_600SemiBold',
|
|
42
|
+
color: '#111111'
|
|
43
|
+
},
|
|
44
|
+
orientation: 'portrait',
|
|
45
|
+
animation: 'slide_from_right'
|
|
46
|
+
},
|
|
47
|
+
initialRouteName: ExecutionTaskID.START_WORKFLOW
|
|
48
|
+
}, /*#__PURE__*/React.createElement(Stack.Screen, {
|
|
49
|
+
name: ExecutionTaskID.START_WORKFLOW,
|
|
50
|
+
component: ETScreen.StartWorkFlowScreen,
|
|
51
|
+
initialParams: route.params,
|
|
52
|
+
options: {
|
|
53
|
+
headerShown: false,
|
|
54
|
+
animation: 'simple_push'
|
|
55
|
+
}
|
|
56
|
+
}), /*#__PURE__*/React.createElement(Stack.Screen, {
|
|
57
|
+
name: ExecutionTaskID.DELIVER,
|
|
58
|
+
component: ETScreen.DeliverScreen,
|
|
59
|
+
options: {
|
|
60
|
+
headerShown: false
|
|
61
|
+
}
|
|
62
|
+
}), /*#__PURE__*/React.createElement(Stack.Screen, {
|
|
63
|
+
name: ExecutionTaskID.DOODLE,
|
|
64
|
+
component: ETScreen.DoodleScreen,
|
|
65
|
+
options: rProps => {
|
|
66
|
+
let taskTitle = getTaskTitle(rProps.route);
|
|
67
|
+
return {
|
|
68
|
+
title: taskTitle ? taskTitle : ExecutionTaskName.DOODLE,
|
|
69
|
+
orientation: 'portrait'
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
}), /*#__PURE__*/React.createElement(Stack.Screen, {
|
|
73
|
+
name: ExecutionTaskID.FORMS,
|
|
74
|
+
component: ETScreen.FormsScreen,
|
|
75
|
+
options: rProps => {
|
|
76
|
+
let taskTitle = getTaskTitle(rProps.route);
|
|
77
|
+
return {
|
|
78
|
+
title: taskTitle ? taskTitle : ExecutionTaskName.FORMS
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
}), /*#__PURE__*/React.createElement(Stack.Screen, {
|
|
82
|
+
name: ExecutionTaskID.IMAGE_CAPTURE,
|
|
83
|
+
component: ETScreen.ImageCaptureScreen,
|
|
84
|
+
options: rProps => {
|
|
85
|
+
let taskTitle = getTaskTitle(rProps.route);
|
|
86
|
+
return {
|
|
87
|
+
title: taskTitle ? taskTitle : ExecutionTaskName.IMAGE_CAPTURE,
|
|
88
|
+
orientation: 'portrait'
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
}), /*#__PURE__*/React.createElement(Stack.Screen, {
|
|
92
|
+
name: ExecutionTaskID.PICKUP,
|
|
93
|
+
component: ETScreen.PickupScreen,
|
|
94
|
+
options: {
|
|
95
|
+
headerShown: false
|
|
96
|
+
}
|
|
97
|
+
}), /*#__PURE__*/React.createElement(Stack.Screen, {
|
|
98
|
+
name: ExecutionTaskID.SCAN,
|
|
99
|
+
component: ETScreen.RTScanScreen,
|
|
100
|
+
options: rProps => {
|
|
101
|
+
let taskTitle = getTaskTitle(rProps.route);
|
|
102
|
+
return {
|
|
103
|
+
title: taskTitle ? taskTitle : ExecutionTaskName.SCAN,
|
|
104
|
+
headerBackVisible: false
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
}), /*#__PURE__*/React.createElement(Stack.Screen, {
|
|
108
|
+
name: ExecutionTaskID.DISPLAY,
|
|
109
|
+
component: ETScreen.DisplayScreen,
|
|
110
|
+
options: rProps => {
|
|
111
|
+
let taskTitle = getTaskTitle(rProps.route);
|
|
112
|
+
return {
|
|
113
|
+
title: taskTitle ? taskTitle : ExecutionTaskName.DISPLAY,
|
|
114
|
+
presentation: 'modal'
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
}), /*#__PURE__*/React.createElement(Stack.Screen, {
|
|
118
|
+
name: ExecutionTaskID.INIT_PAYMENT,
|
|
119
|
+
component: ETScreen.PaymentScreen,
|
|
120
|
+
options: rProps => {
|
|
121
|
+
let taskTitle = getTaskTitle(rProps.route);
|
|
122
|
+
return {
|
|
123
|
+
title: taskTitle ? taskTitle : ExecutionTaskName.INIT_PAYMENT
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
}), /*#__PURE__*/React.createElement(Stack.Screen, {
|
|
127
|
+
name: ExecutionTaskID.PROCESS_PAYMENT,
|
|
128
|
+
component: ETScreen.PaymentScreen,
|
|
129
|
+
options: rProps => {
|
|
130
|
+
const mode = getMode(rProps.route);
|
|
131
|
+
|
|
132
|
+
if (mode == 'CASH') {
|
|
133
|
+
return {
|
|
134
|
+
headerShown: false
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
let taskTitle = getTaskTitle(rProps.route);
|
|
139
|
+
return {
|
|
140
|
+
title: taskTitle ? taskTitle : ExecutionTaskName.PROCESS_PAYMENT
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
}), /*#__PURE__*/React.createElement(Stack.Screen, {
|
|
144
|
+
name: ExecutionTaskID.COMPLETE_PAYMENT,
|
|
145
|
+
component: ETScreen.PaymentScreen,
|
|
146
|
+
options: {
|
|
147
|
+
headerShown: false
|
|
148
|
+
}
|
|
149
|
+
}), /*#__PURE__*/React.createElement(Stack.Screen, {
|
|
150
|
+
name: ExecutionTaskID.VERIFY_LOCATION,
|
|
151
|
+
component: ETScreen.GeofenceScreen,
|
|
152
|
+
options: rProps => {
|
|
153
|
+
let taskTitle = getTaskTitle(rProps.route);
|
|
154
|
+
return {
|
|
155
|
+
title: taskTitle ? taskTitle : ExecutionTaskName.VERIFY_LOCATION
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
}), /*#__PURE__*/React.createElement(Stack.Screen, {
|
|
159
|
+
name: ExecutionTaskID.CAPTURE_INPUT,
|
|
160
|
+
component: ETScreen.CaptureInputScreen,
|
|
161
|
+
options: rProps => {
|
|
162
|
+
let taskTitle = getTaskTitle(rProps.route);
|
|
163
|
+
return {
|
|
164
|
+
title: taskTitle ? taskTitle : ExecutionTaskName.CAPTURE_INPUT
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
}), /*#__PURE__*/React.createElement(Stack.Screen, {
|
|
168
|
+
name: CustomScreens.REMARK_SCREEN,
|
|
169
|
+
component: ETScreen.CancellationScreen,
|
|
170
|
+
options: {
|
|
171
|
+
title: 'Select Remark',
|
|
172
|
+
presentation: 'modal',
|
|
173
|
+
animation: 'slide_from_bottom'
|
|
174
|
+
}
|
|
175
|
+
}), /*#__PURE__*/React.createElement(Stack.Screen, {
|
|
176
|
+
name: ExecutionTaskID.COMPLETED_SUCCESS,
|
|
177
|
+
component: ETScreen.CompleteObjectiveScreen,
|
|
178
|
+
options: {
|
|
179
|
+
headerShown: false,
|
|
180
|
+
animation: 'simple_push'
|
|
181
|
+
}
|
|
182
|
+
}), /*#__PURE__*/React.createElement(Stack.Screen, {
|
|
183
|
+
name: ExecutionTaskID.COMPLETED_FAILURE,
|
|
184
|
+
component: ETScreen.CompleteObjectiveScreen,
|
|
185
|
+
options: {
|
|
186
|
+
headerShown: false,
|
|
187
|
+
animation: 'simple_push'
|
|
188
|
+
}
|
|
189
|
+
}), /*#__PURE__*/React.createElement(Stack.Screen, {
|
|
190
|
+
name: ExecutionTaskID.DELIVER_CASH,
|
|
191
|
+
component: ETScreen.DropCashScreen,
|
|
192
|
+
options: {
|
|
193
|
+
headerShown: false
|
|
194
|
+
}
|
|
195
|
+
}), /*#__PURE__*/React.createElement(Stack.Screen, {
|
|
196
|
+
name: ExecutionTaskID.HTTP_REQUEST_ET,
|
|
197
|
+
component: ETScreen.HttpRequestScreen,
|
|
198
|
+
options: rProps => {
|
|
199
|
+
let taskTitle = getTaskTitle(rProps.route);
|
|
200
|
+
return {
|
|
201
|
+
title: taskTitle ?? ExecutionTaskName.HTTP_REQUEST_ET
|
|
202
|
+
};
|
|
203
|
+
}
|
|
204
|
+
}));
|
|
205
|
+
};
|
|
206
|
+
|
|
207
|
+
function getMode(route) {
|
|
208
|
+
try {
|
|
209
|
+
var _route$params$RoutePa, _route$params$RoutePa2, _route$params$RoutePa3, _route$params$RoutePa4;
|
|
210
|
+
|
|
211
|
+
return route === null || route === void 0 ? void 0 : (_route$params$RoutePa = route.params[RouteParams.NEXT_STATES][0]) === null || _route$params$RoutePa === void 0 ? void 0 : (_route$params$RoutePa2 = _route$params$RoutePa.nextState) === null || _route$params$RoutePa2 === void 0 ? void 0 : (_route$params$RoutePa3 = _route$params$RoutePa2.data) === null || _route$params$RoutePa3 === void 0 ? void 0 : (_route$params$RoutePa4 = _route$params$RoutePa3.input) === null || _route$params$RoutePa4 === void 0 ? void 0 : _route$params$RoutePa4.paymentMode;
|
|
212
|
+
} catch (error) {
|
|
213
|
+
return '';
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
function getTaskTitle(route) {
|
|
218
|
+
try {
|
|
219
|
+
var _route$params$RoutePa5, _route$params$RoutePa6, _route$params$RoutePa7, _route$params$RoutePa8;
|
|
220
|
+
|
|
221
|
+
return route === null || route === void 0 ? void 0 : (_route$params$RoutePa5 = route.params[RouteParams.NEXT_STATES][0]) === null || _route$params$RoutePa5 === void 0 ? void 0 : (_route$params$RoutePa6 = _route$params$RoutePa5.nextState) === null || _route$params$RoutePa6 === void 0 ? void 0 : (_route$params$RoutePa7 = _route$params$RoutePa6.data) === null || _route$params$RoutePa7 === void 0 ? void 0 : (_route$params$RoutePa8 = _route$params$RoutePa7.input) === null || _route$params$RoutePa8 === void 0 ? void 0 : _route$params$RoutePa8.title;
|
|
222
|
+
} catch (error) {
|
|
223
|
+
return '';
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
export default DispatchExecNavigator;
|
|
228
|
+
//# sourceMappingURL=DispatchExecNavigator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","createNativeStackNavigator","ETScreen","CustomScreens","ExecutionTaskID","ExecutionTaskName","IBMPlexSans_100Thin","IBMPlexSans_100Thin_Italic","IBMPlexSans_200ExtraLight","IBMPlexSans_200ExtraLight_Italic","IBMPlexSans_300Light","IBMPlexSans_300Light_Italic","IBMPlexSans_400Regular","IBMPlexSans_400Regular_Italic","IBMPlexSans_500Medium","IBMPlexSans_500Medium_Italic","IBMPlexSans_600SemiBold","IBMPlexSans_600SemiBold_Italic","IBMPlexSans_700Bold","IBMPlexSans_700Bold_Italic","useFonts","ProgressDialog","RouteParams","Stack","DispatchExecNavigator","route","fontsLoaded","headerTitleStyle","fontWeight","fontSize","fontFamily","color","orientation","animation","START_WORKFLOW","StartWorkFlowScreen","params","headerShown","DELIVER","DeliverScreen","DOODLE","DoodleScreen","rProps","taskTitle","getTaskTitle","title","FORMS","FormsScreen","IMAGE_CAPTURE","ImageCaptureScreen","PICKUP","PickupScreen","SCAN","RTScanScreen","headerBackVisible","DISPLAY","DisplayScreen","presentation","INIT_PAYMENT","PaymentScreen","PROCESS_PAYMENT","mode","getMode","COMPLETE_PAYMENT","VERIFY_LOCATION","GeofenceScreen","CAPTURE_INPUT","CaptureInputScreen","REMARK_SCREEN","CancellationScreen","COMPLETED_SUCCESS","CompleteObjectiveScreen","COMPLETED_FAILURE","DELIVER_CASH","DropCashScreen","HTTP_REQUEST_ET","HttpRequestScreen","NEXT_STATES","nextState","data","input","paymentMode","error"],"sources":["DispatchExecNavigator.tsx"],"sourcesContent":["import * as React from 'react';\nimport { createNativeStackNavigator } from '@react-navigation/native-stack';\nimport * as ETScreen from '../../ui/screens/ETScreensIndex';\nimport {\n CustomScreens,\n ExecutionTaskID,\n ExecutionTaskName,\n} from '../../models/execTasks/ETConfig';\nimport {\n IBMPlexSans_100Thin,\n IBMPlexSans_100Thin_Italic,\n IBMPlexSans_200ExtraLight,\n IBMPlexSans_200ExtraLight_Italic,\n IBMPlexSans_300Light,\n IBMPlexSans_300Light_Italic,\n IBMPlexSans_400Regular,\n IBMPlexSans_400Regular_Italic,\n IBMPlexSans_500Medium,\n IBMPlexSans_500Medium_Italic,\n IBMPlexSans_600SemiBold,\n IBMPlexSans_600SemiBold_Italic,\n IBMPlexSans_700Bold,\n IBMPlexSans_700Bold_Italic,\n useFonts,\n} from '@expo-google-fonts/ibm-plex-sans';\nimport ProgressDialog from '../widgets/ProgressDialog';\nimport { RouteParams } from '../../ui/uiConfig/RouteParams';\n\nconst Stack = createNativeStackNavigator();\n\nconst DispatchExecNavigator = ({ route }: { route: any }) => {\n let [fontsLoaded] = useFonts({\n IBMPlexSans_400Regular,\n IBMPlexSans_600SemiBold,\n IBMPlexSans_300Light,\n IBMPlexSans_700Bold,\n IBMPlexSans_100Thin,\n IBMPlexSans_100Thin_Italic,\n IBMPlexSans_200ExtraLight,\n IBMPlexSans_200ExtraLight_Italic,\n IBMPlexSans_300Light_Italic,\n IBMPlexSans_400Regular_Italic,\n IBMPlexSans_500Medium,\n IBMPlexSans_500Medium_Italic,\n IBMPlexSans_600SemiBold_Italic,\n IBMPlexSans_700Bold_Italic,\n });\n if (!fontsLoaded) {\n return <ProgressDialog visible={true} label={'Please wait...'} />;\n } else\n return (\n <Stack.Navigator\n screenOptions={{\n headerTitleStyle: {\n fontWeight: '600',\n fontSize: 16,\n fontFamily: 'IBMPlexSans_600SemiBold',\n color: '#111111',\n },\n orientation: 'portrait',\n animation: 'slide_from_right',\n }}\n initialRouteName={ExecutionTaskID.START_WORKFLOW}\n >\n <Stack.Screen\n name={ExecutionTaskID.START_WORKFLOW}\n component={ETScreen.StartWorkFlowScreen}\n initialParams={route.params}\n options={{ headerShown: false, animation: 'simple_push' }}\n />\n <Stack.Screen\n name={ExecutionTaskID.DELIVER}\n component={ETScreen.DeliverScreen}\n options={{ headerShown: false }}\n />\n <Stack.Screen\n name={ExecutionTaskID.DOODLE}\n component={ETScreen.DoodleScreen}\n options={(rProps) => {\n let taskTitle = getTaskTitle(rProps.route);\n return {\n title: taskTitle ? taskTitle : ExecutionTaskName.DOODLE,\n orientation: 'portrait',\n };\n }}\n />\n <Stack.Screen\n name={ExecutionTaskID.FORMS}\n component={ETScreen.FormsScreen}\n options={(rProps) => {\n let taskTitle = getTaskTitle(rProps.route);\n return { title: taskTitle ? taskTitle : ExecutionTaskName.FORMS };\n }}\n />\n <Stack.Screen\n name={ExecutionTaskID.IMAGE_CAPTURE}\n component={ETScreen.ImageCaptureScreen}\n options={(rProps) => {\n let taskTitle = getTaskTitle(rProps.route);\n return {\n title: taskTitle ? taskTitle : ExecutionTaskName.IMAGE_CAPTURE,\n orientation: 'portrait',\n };\n }}\n />\n <Stack.Screen\n name={ExecutionTaskID.PICKUP}\n component={ETScreen.PickupScreen}\n options={{ headerShown: false }}\n />\n <Stack.Screen\n name={ExecutionTaskID.SCAN}\n component={ETScreen.RTScanScreen}\n options={(rProps) => {\n let taskTitle = getTaskTitle(rProps.route);\n return {\n title: taskTitle ? taskTitle : ExecutionTaskName.SCAN,\n headerBackVisible: false,\n };\n }}\n />\n <Stack.Screen\n name={ExecutionTaskID.DISPLAY}\n component={ETScreen.DisplayScreen}\n options={(rProps) => {\n let taskTitle = getTaskTitle(rProps.route);\n return {\n title: taskTitle ? taskTitle : ExecutionTaskName.DISPLAY,\n presentation: 'modal',\n };\n }}\n />\n <Stack.Screen\n name={ExecutionTaskID.INIT_PAYMENT}\n component={ETScreen.PaymentScreen}\n options={(rProps) => {\n let taskTitle = getTaskTitle(rProps.route);\n return {\n title: taskTitle ? taskTitle : ExecutionTaskName.INIT_PAYMENT,\n };\n }}\n />\n <Stack.Screen\n name={ExecutionTaskID.PROCESS_PAYMENT}\n component={ETScreen.PaymentScreen}\n options={(rProps) => {\n const mode = getMode(rProps.route);\n if (mode == 'CASH') {\n return {\n headerShown: false,\n };\n }\n\n let taskTitle = getTaskTitle(rProps.route);\n return {\n title: taskTitle ? taskTitle : ExecutionTaskName.PROCESS_PAYMENT,\n };\n }}\n />\n <Stack.Screen\n name={ExecutionTaskID.COMPLETE_PAYMENT}\n component={ETScreen.PaymentScreen}\n options={{ headerShown: false }}\n />\n <Stack.Screen\n name={ExecutionTaskID.VERIFY_LOCATION}\n component={ETScreen.GeofenceScreen}\n options={(rProps) => {\n let taskTitle = getTaskTitle(rProps.route);\n return {\n title: taskTitle ? taskTitle : ExecutionTaskName.VERIFY_LOCATION,\n };\n }}\n />\n <Stack.Screen\n name={ExecutionTaskID.CAPTURE_INPUT}\n component={ETScreen.CaptureInputScreen}\n options={(rProps) => {\n let taskTitle = getTaskTitle(rProps.route);\n return {\n title: taskTitle ? taskTitle : ExecutionTaskName.CAPTURE_INPUT,\n };\n }}\n />\n <Stack.Screen\n name={CustomScreens.REMARK_SCREEN}\n component={ETScreen.CancellationScreen}\n options={{\n title: 'Select Remark',\n presentation: 'modal',\n animation: 'slide_from_bottom',\n }}\n />\n <Stack.Screen\n name={ExecutionTaskID.COMPLETED_SUCCESS}\n component={ETScreen.CompleteObjectiveScreen}\n options={{ headerShown: false, animation: 'simple_push' }}\n />\n <Stack.Screen\n name={ExecutionTaskID.COMPLETED_FAILURE}\n component={ETScreen.CompleteObjectiveScreen}\n options={{ headerShown: false, animation: 'simple_push' }}\n />\n <Stack.Screen\n name={ExecutionTaskID.DELIVER_CASH}\n component={ETScreen.DropCashScreen}\n options={{ headerShown: false }}\n />\n <Stack.Screen\n name={ExecutionTaskID.HTTP_REQUEST_ET}\n component={ETScreen.HttpRequestScreen}\n options={(rProps) => {\n let taskTitle = getTaskTitle(rProps.route);\n return {\n title: taskTitle ?? ExecutionTaskName.HTTP_REQUEST_ET,\n };\n }}\n />\n </Stack.Navigator>\n );\n};\n\nfunction getMode(route: any): string {\n try {\n return route?.params[RouteParams.NEXT_STATES][0]?.nextState?.data?.input\n ?.paymentMode;\n } catch (error: any) {\n return '';\n }\n}\n\nfunction getTaskTitle(route: any): string {\n try {\n return route?.params[RouteParams.NEXT_STATES][0]?.nextState?.data?.input\n ?.title;\n } catch (error: any) {\n return '';\n }\n}\n\nexport default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AR,CAA5B;MACA,OAAO;QACLoB,KAAK,EAAEF,SAAS,IAAItC,iBAAiB,CAACsE;MADjC,CAAP;IAGD;EARH,EA7JF,CADF;AA0KH,CA9LD;;AAgMA,SAASb,OAAT,CAAiBrC,KAAjB,EAAqC;EACnC,IAAI;IAAA;;IACF,OAAOA,KAAP,aAAOA,KAAP,gDAAOA,KAAK,CAAEW,MAAP,CAAcd,WAAW,CAACuD,WAA1B,EAAuC,CAAvC,CAAP,oFAAO,sBAA2CC,SAAlD,qFAAO,uBAAsDC,IAA7D,qFAAO,uBAA4DC,KAAnE,2DAAO,uBACHC,WADJ;EAED,CAHD,CAGE,OAAOC,KAAP,EAAmB;IACnB,OAAO,EAAP;EACD;AACF;;AAED,SAAStC,YAAT,CAAsBnB,KAAtB,EAA0C;EACxC,IAAI;IAAA;;IACF,OAAOA,KAAP,aAAOA,KAAP,iDAAOA,KAAK,CAAEW,MAAP,CAAcd,WAAW,CAACuD,WAA1B,EAAuC,CAAvC,CAAP,qFAAO,uBAA2CC,SAAlD,qFAAO,uBAAsDC,IAA7D,qFAAO,uBAA4DC,KAAnE,2DAAO,uBACHnC,KADJ;EAED,CAHD,CAGE,OAAOqC,KAAP,EAAmB;IACnB,OAAO,EAAP;EACD;AACF;;AAED,eAAe1D,qBAAf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sources":["CompletedWFSchema.ts"],"sourcesContent":["import type { BaseETResponse } from '../../models/execTasks/ETBaseModels';\n\nexport type CompletedWFResponse = BaseETResponse & {\n /**\n * Last Event code\n */\n lastEventCode?: string;\n /**\n * Last Reason code\n */\n lastReasonCode?: string;\n /**\n * Meta data related to execution of task\n */\n};\n\n/**\n * Can go back\n */\nexport type CanGoBack = boolean;\n\nexport interface CompletedWFRequest {\n canGoBack?: CanGoBack;\n}\n"],"mappings":""}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import FormGenerator from './forms/FormGenerator';
|
|
2
|
+
import ImageCapture from './imageCapture/ImageCapture';
|
|
3
|
+
import SignatureET from './doodle/SignatureET';
|
|
4
|
+
import CancelET from './cancellation/CancelET';
|
|
5
|
+
import DeliverET from './deliver/DeliverET';
|
|
6
|
+
import { verifyLocation } from './verifyLocation/GeofenceUtils';
|
|
7
|
+
import PickupET from './pickup/PickupET';
|
|
8
|
+
import DisplayModalET from './display/DisplayModalET';
|
|
9
|
+
import VerifyOtpET from './verifyOtp/VerifyOtpET';
|
|
10
|
+
import VerifyLocationET from './verifyLocation/VerifyLocationET';
|
|
11
|
+
import CaptureText from './captureInput/CaptureText';
|
|
12
|
+
import InitPaymentET from './payments/init/InitPaymentET';
|
|
13
|
+
import ProcessPaymentET from './payments/processPayment/ProcessPaymentET';
|
|
14
|
+
import DropCashET from './dropCash/DropCashET';
|
|
15
|
+
import CompletePaymentET from './payments/completePayment/CompletePaymentET';
|
|
16
|
+
import SLDeliverET from './deliver/SLDeliverET';
|
|
17
|
+
import SLPickupET from './pickup/SLPickupET';
|
|
18
|
+
import SLDropCash from './dropCash/SLDropCash';
|
|
19
|
+
import RTScan from './scanner/returns/RTScan';
|
|
20
|
+
import ScanList from './scanner/returns/ScanList';
|
|
21
|
+
import CScanner from './scanner/CScanner';
|
|
22
|
+
import RTReasonSelection from './scanner/returns/RTReasonSelection';
|
|
23
|
+
import HttpRequestET from './httpRequest/HttpRequestET';
|
|
24
|
+
export { CancelET, DeliverET, DisplayModalET, SignatureET, FormGenerator, ImageCapture, VerifyLocationET, verifyLocation, PickupET, VerifyOtpET, CaptureText, InitPaymentET, ProcessPaymentET, DropCashET, CompletePaymentET, SLDeliverET, SLPickupET, SLDropCash, RTScan, ScanList, CScanner, RTReasonSelection, HttpRequestET };
|
|
25
|
+
//# sourceMappingURL=ExecutionTasksIndex.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["FormGenerator","ImageCapture","SignatureET","CancelET","DeliverET","verifyLocation","PickupET","DisplayModalET","VerifyOtpET","VerifyLocationET","CaptureText","InitPaymentET","ProcessPaymentET","DropCashET","CompletePaymentET","SLDeliverET","SLPickupET","SLDropCash","RTScan","ScanList","CScanner","RTReasonSelection","HttpRequestET"],"sources":["ExecutionTasksIndex.ts"],"sourcesContent":["import FormGenerator from './forms/FormGenerator';\nimport type { CaptureInput, CaptureOutput } from './imageCapture/CaptureSchema';\nimport ImageCapture from './imageCapture/ImageCapture';\n\nimport SignatureET from './doodle/SignatureET';\nimport CancelET from './cancellation/CancelET';\nimport type {\n CancellationInput,\n CancellationOutput,\n} from './cancellation/CancellationSchema';\nimport type { SignatureInput, SignatureOutput } from './doodle/SignatureSchema';\nimport type { ScannerInput, ScannerOutput } from './scanner/ScannerSchema';\nimport DeliverET from './deliver/DeliverET';\nimport type {\n DeliverETInput,\n DeliverOutput,\n DeliverRemarks,\n LineItem,\n} from './deliver/DeliverETInput';\nimport type { BaseETResponse } from '../../models/execTasks/ETBaseModels';\nimport { verifyLocation } from './verifyLocation/GeofenceUtils';\nimport type {\n VerifyLocationInput,\n VerifyLocationOutput,\n} from './verifyLocation/VerifyLocSchema';\nimport PickupET from './pickup/PickupET';\nimport type { PickupETInput, PickupETOutput } from './pickup/PickpSchema';\nimport type { DisplayETInput, DisplayETOutput } from './display/DisplaySchema';\nimport DisplayModalET from './display/DisplayModalET';\nimport type { FormInputSchema, FormOutputSchema } from './forms/FormSchema';\nimport type {\n CompletePaymentInput,\n CompletePaymentOutput,\n} from './payments/completePayment/CompletePaymentSchema';\nimport type {\n InitPaymentInput,\n InitPaymentOutput,\n} from './payments/init/InitPaymentSchema';\nimport type {\n ProcessPaymentInput,\n ProcessPaymentOutput,\n} from './payments/processPayment/ProcessPaymentSchema';\nimport type {\n OtpInputSchema,\n OtpOutputSchema,\n} from './verifyOtp/VerifyOtpSchema';\n\nimport VerifyOtpET from './verifyOtp/VerifyOtpET';\nimport VerifyLocationET from './verifyLocation/VerifyLocationET';\nimport CaptureText from './captureInput/CaptureText';\nimport type {\n CaptureTextInput,\n CaptureTextOutput,\n} from './captureInput/CaptureInputSchema';\nimport type {\n VerifyInput,\n VerifyInputResponse,\n} from './verifyInput/VerifyInputSchema';\nimport InitPaymentET from './payments/init/InitPaymentET';\nimport ProcessPaymentET from './payments/processPayment/ProcessPaymentET';\nimport DropCashET from './dropCash/DropCashET';\nimport type { DropCashInput, DropCashOutput } from './dropCash/DropCashSchema';\nimport CompletePaymentET from './payments/completePayment/CompletePaymentET';\nimport SLDeliverET from './deliver/SLDeliverET';\nimport SLPickupET from './pickup/SLPickupET';\nimport SLDropCash from './dropCash/SLDropCash';\nimport RTScan from './scanner/returns/RTScan';\nimport ScanList from './scanner/returns/ScanList';\nimport CScanner from './scanner/CScanner';\nimport RTReasonSelection from './scanner/returns/RTReasonSelection';\nimport HttpRequestET from './httpRequest/HttpRequestET';\n\nexport type {\n CancellationInput,\n CancellationOutput,\n DeliverETInput,\n DeliverOutput,\n LineItem,\n DeliverRemarks,\n DisplayETInput,\n DisplayETOutput,\n SignatureInput,\n SignatureOutput,\n FormInputSchema,\n FormOutputSchema,\n CaptureOutput,\n CaptureInput,\n VerifyLocationOutput,\n VerifyLocationInput,\n CompletePaymentInput,\n CompletePaymentOutput,\n InitPaymentInput,\n InitPaymentOutput,\n ProcessPaymentInput,\n ProcessPaymentOutput,\n PickupETInput,\n PickupETOutput,\n ScannerInput,\n ScannerOutput,\n BaseETResponse,\n OtpInputSchema,\n OtpOutputSchema,\n CaptureTextInput,\n CaptureTextOutput,\n VerifyInput,\n VerifyInputResponse,\n DropCashInput,\n DropCashOutput,\n};\n\nexport {\n CancelET,\n DeliverET,\n DisplayModalET,\n SignatureET,\n FormGenerator,\n ImageCapture,\n VerifyLocationET,\n verifyLocation,\n PickupET,\n VerifyOtpET,\n CaptureText,\n InitPaymentET,\n ProcessPaymentET,\n DropCashET,\n CompletePaymentET,\n SLDeliverET,\n SLPickupET,\n SLDropCash,\n RTScan,\n ScanList,\n CScanner,\n RTReasonSelection,\n HttpRequestET,\n};\n"],"mappings":"A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