@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 @@
|
|
|
1
|
+
{"version":3,"names":["getJobIDs","nextStates","result","length","forEach","s","push","jobId","getObjectiveRefs","objRef"],"sources":["DoodleUtils.ts"],"sourcesContent":["import type { stateWithObjRef } from '../../../models/DispatchModels';\n\nexport function getJobIDs(nextStates: stateWithObjRef[]): string[] {\n let result: string[] = [];\n if (!nextStates || nextStates.length === 0) return result;\n else {\n nextStates.forEach((s) => {\n result.push(s.jobId);\n });\n return result;\n }\n}\n\nexport function getObjectiveRefs(nextStates: stateWithObjRef[]): string[] {\n let result: string[] = [];\n if (!nextStates || nextStates.length === 0) return result;\n else {\n nextStates.forEach((s) => {\n result.push(s.objRef);\n });\n return result;\n }\n}\n"],"mappings":";;;;;;;;AAEO,SAASA,SAAT,CAAmBC,UAAnB,EAA4D;EACjE,IAAIC,MAAgB,GAAG,EAAvB;EACA,IAAI,CAACD,UAAD,IAAeA,UAAU,CAACE,MAAX,KAAsB,CAAzC,EAA4C,OAAOD,MAAP,CAA5C,KACK;IACHD,UAAU,CAACG,OAAX,CAAoBC,CAAD,IAAO;MACxBH,MAAM,CAACI,IAAP,CAAYD,CAAC,CAACE,KAAd;IACD,CAFD;IAGA,OAAOL,MAAP;EACD;AACF;;AAEM,SAASM,gBAAT,CAA0BP,UAA1B,EAAmE;EACxE,IAAIC,MAAgB,GAAG,EAAvB;EACA,IAAI,CAACD,UAAD,IAAeA,UAAU,CAACE,MAAX,KAAsB,CAAzC,EAA4C,OAAOD,MAAP,CAA5C,KACK;IACHD,UAAU,CAACG,OAAX,CAAoBC,CAAD,IAAO;MACxBH,MAAM,CAACI,IAAP,CAAYD,CAAC,CAACI,MAAd;IACD,CAFD;IAGA,OAAOP,MAAP;EACD;AACF"}
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
9
|
+
|
|
10
|
+
var _reactNative = require("react-native");
|
|
11
|
+
|
|
12
|
+
var _reactNativePaper = require("react-native-paper");
|
|
13
|
+
|
|
14
|
+
var _ExecTaskUtils = require("../../../utils/ExecTaskUtils");
|
|
15
|
+
|
|
16
|
+
var _EventCodeContainer = require("../../../manager/dispatchCodes/EventCodeContainer");
|
|
17
|
+
|
|
18
|
+
var _ETConfig = require("../../../models/execTasks/ETConfig");
|
|
19
|
+
|
|
20
|
+
var _Toaster = require("../../widgets/Toaster");
|
|
21
|
+
|
|
22
|
+
var _DispatchSdkCache = _interopRequireDefault(require("../../../manager/sdk/DispatchSdkCache"));
|
|
23
|
+
|
|
24
|
+
var _CommonStyles = require("../../../styles/executionTasks/CommonStyles");
|
|
25
|
+
|
|
26
|
+
var _SyncManagerUtils = require("../../../utils/SyncManagerUtils");
|
|
27
|
+
|
|
28
|
+
var _SignatureCapture = _interopRequireDefault(require("../../../native/signature/SignatureCapture"));
|
|
29
|
+
|
|
30
|
+
var _SdkColors = _interopRequireWildcard(require("../../../styles/SdkColors"));
|
|
31
|
+
|
|
32
|
+
var _constants = require("../../../constants/constants");
|
|
33
|
+
|
|
34
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
35
|
+
|
|
36
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
37
|
+
|
|
38
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
39
|
+
|
|
40
|
+
const SignatureET = props => {
|
|
41
|
+
const signatureViewRef = (0, _react.useRef)();
|
|
42
|
+
const [dragged, setDragged] = (0, _react.useState)(0);
|
|
43
|
+
|
|
44
|
+
async function saveAndSubmit(cancel, image) {
|
|
45
|
+
if (cancel) {
|
|
46
|
+
props.onSubmitET({ ...(await (0, _ExecTaskUtils.getBaseETResponse)(_ETConfig.EntityCode.DOODLE, false, (0, _EventCodeContainer.getEventCodeByET)(_ETConfig.ExecutionTaskID.DOODLE, false), ''))
|
|
47
|
+
});
|
|
48
|
+
} else {
|
|
49
|
+
if (image != null) {
|
|
50
|
+
const fileName = `SIG_${Date.now().toString()}.jpg`;
|
|
51
|
+
const folderName = (await _DispatchSdkCache.default.getInstance().getKeyFromCache(_DispatchSdkCache.default.KEYS.FMS_FOLDER)) ?? 'NULL';
|
|
52
|
+
let insertID = await (0, _SyncManagerUtils.insertDocumentInDB)(fileName, folderName, JSON.stringify(props.jobIDs), JSON.stringify(props.objRefs), image, props.title ?? 'Signature', null);
|
|
53
|
+
|
|
54
|
+
if (insertID) {
|
|
55
|
+
props.onSubmitET({
|
|
56
|
+
url: '',
|
|
57
|
+
file: {
|
|
58
|
+
folder: folderName,
|
|
59
|
+
name: fileName
|
|
60
|
+
},
|
|
61
|
+
...(await (0, _ExecTaskUtils.getBaseETResponse)(_ETConfig.EntityCode.DOODLE, true, (0, _EventCodeContainer.getEventCodeByET)(_ETConfig.ExecutionTaskID.DOODLE, true), ''))
|
|
62
|
+
});
|
|
63
|
+
} else {
|
|
64
|
+
(0, _Toaster.showToast)('Failed to save signature');
|
|
65
|
+
}
|
|
66
|
+
} else {
|
|
67
|
+
(0, _Toaster.showToast)('Please enter signature!');
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
73
|
+
style: styles.mainContainer
|
|
74
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
75
|
+
style: styles.doodleView
|
|
76
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
77
|
+
style: styles.messageText
|
|
78
|
+
}, props.message || _constants.DEFAULT_SIGN_ET_MESSAGE), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
79
|
+
style: styles.horizontalLine
|
|
80
|
+
}), /*#__PURE__*/_react.default.createElement(_reactNative.View, null, /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
81
|
+
onPress: () => {
|
|
82
|
+
var _signatureViewRef$cur;
|
|
83
|
+
|
|
84
|
+
setDragged(0);
|
|
85
|
+
(_signatureViewRef$cur = signatureViewRef.current) === null || _signatureViewRef$cur === void 0 ? void 0 : _signatureViewRef$cur.resetImage();
|
|
86
|
+
}
|
|
87
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
88
|
+
style: styles.clearBtn
|
|
89
|
+
}, 'Clear'))), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
90
|
+
style: {
|
|
91
|
+
flex: 1
|
|
92
|
+
}
|
|
93
|
+
}, /*#__PURE__*/_react.default.createElement(_SignatureCapture.default, {
|
|
94
|
+
ref: signatureViewRef,
|
|
95
|
+
rotateClockwise: false,
|
|
96
|
+
square: false,
|
|
97
|
+
viewMode: 'PORTRAIT',
|
|
98
|
+
showBorder: false,
|
|
99
|
+
showNativeButtons: false,
|
|
100
|
+
showTitleLabel: false,
|
|
101
|
+
maxSize: Math.max(props.resolution.length, props.resolution.breadth),
|
|
102
|
+
minStrokeWidth: 8,
|
|
103
|
+
maxStrokeWidth: 6,
|
|
104
|
+
strokeColor: props.penColor ?? 'black',
|
|
105
|
+
backgroundColor: 'white',
|
|
106
|
+
onSaveEvent: async result => {
|
|
107
|
+
if (dragged > 0) {
|
|
108
|
+
await saveAndSubmit(false, result.encoded);
|
|
109
|
+
} else {
|
|
110
|
+
(0, _Toaster.showToast)('Please enter signature');
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
onDragEvent: drag => {
|
|
114
|
+
if (drag.dragged) setDragged(prevState => prevState + 1);
|
|
115
|
+
}
|
|
116
|
+
}))), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
117
|
+
style: styles.bottomButtons
|
|
118
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNativePaper.Button, {
|
|
119
|
+
style: [_CommonStyles.CommonStyles.cancelButton, {
|
|
120
|
+
flex: 1,
|
|
121
|
+
marginEnd: 5
|
|
122
|
+
}],
|
|
123
|
+
labelStyle: _CommonStyles.CommonStyles.cancelButtonLabel,
|
|
124
|
+
mode: 'outlined',
|
|
125
|
+
onPress: async () => {
|
|
126
|
+
await saveAndSubmit(true, '');
|
|
127
|
+
}
|
|
128
|
+
}, "Skip"), /*#__PURE__*/_react.default.createElement(_reactNativePaper.Button, {
|
|
129
|
+
labelStyle: _CommonStyles.CommonStyles.nextButtonLabel,
|
|
130
|
+
style: [_CommonStyles.CommonStyles.nextButton, {
|
|
131
|
+
flex: 1,
|
|
132
|
+
marginStart: 5
|
|
133
|
+
}],
|
|
134
|
+
mode: 'contained',
|
|
135
|
+
onPress: async () => {
|
|
136
|
+
var _signatureViewRef$cur2;
|
|
137
|
+
|
|
138
|
+
return (_signatureViewRef$cur2 = signatureViewRef.current) === null || _signatureViewRef$cur2 === void 0 ? void 0 : _signatureViewRef$cur2.saveImage();
|
|
139
|
+
}
|
|
140
|
+
}, "Proceed")));
|
|
141
|
+
};
|
|
142
|
+
|
|
143
|
+
const styles = _reactNative.StyleSheet.create({
|
|
144
|
+
horizontalLine: {
|
|
145
|
+
backgroundColor: '#DDDDDD',
|
|
146
|
+
width: '100%',
|
|
147
|
+
height: 1,
|
|
148
|
+
marginTop: 13,
|
|
149
|
+
marginBottom: 15
|
|
150
|
+
},
|
|
151
|
+
doodleView: {
|
|
152
|
+
flex: 1,
|
|
153
|
+
padding: 20
|
|
154
|
+
},
|
|
155
|
+
mainContainer: {
|
|
156
|
+
flex: 1,
|
|
157
|
+
backgroundColor: '#ffffff'
|
|
158
|
+
},
|
|
159
|
+
bottomButtons: {
|
|
160
|
+
justifyContent: 'flex-end',
|
|
161
|
+
marginBottom: 10,
|
|
162
|
+
flexDirection: 'row',
|
|
163
|
+
marginStart: 10,
|
|
164
|
+
marginEnd: 10
|
|
165
|
+
},
|
|
166
|
+
clearBtn: {
|
|
167
|
+
color: _SdkColors.default[_SdkColors.ColorTheme.LIGHT].primaryButton,
|
|
168
|
+
fontFamily: _CommonStyles.Fonts.IBMPlexSans_600SemiBold,
|
|
169
|
+
fontSize: 15,
|
|
170
|
+
justifyContent: 'flex-end',
|
|
171
|
+
textAlign: 'right'
|
|
172
|
+
},
|
|
173
|
+
messageText: {
|
|
174
|
+
fontSize: 16,
|
|
175
|
+
lineHeight: 20,
|
|
176
|
+
color: '#474A57',
|
|
177
|
+
fontFamily: _CommonStyles.Fonts.IBMPlexSans_400Regular
|
|
178
|
+
},
|
|
179
|
+
messageText2: {
|
|
180
|
+
flex: 1,
|
|
181
|
+
fontSize: 16,
|
|
182
|
+
lineHeight: 20,
|
|
183
|
+
color: '#999999',
|
|
184
|
+
fontFamily: _CommonStyles.Fonts.IBMPlexSans_400Regular
|
|
185
|
+
}
|
|
186
|
+
});
|
|
187
|
+
|
|
188
|
+
var _default = SignatureET;
|
|
189
|
+
exports.default = _default;
|
|
190
|
+
//# sourceMappingURL=SignatureET.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["SignatureET","props","signatureViewRef","useRef","dragged","setDragged","useState","saveAndSubmit","cancel","image","onSubmitET","getBaseETResponse","EntityCode","DOODLE","getEventCodeByET","ExecutionTaskID","fileName","Date","now","toString","folderName","DispatchSdkCache","getInstance","getKeyFromCache","KEYS","FMS_FOLDER","insertID","insertDocumentInDB","JSON","stringify","jobIDs","objRefs","title","url","file","folder","name","showToast","styles","mainContainer","doodleView","messageText","message","DEFAULT_SIGN_ET_MESSAGE","horizontalLine","current","resetImage","clearBtn","flex","Math","max","resolution","length","breadth","penColor","result","encoded","drag","prevState","bottomButtons","CommonStyles","cancelButton","marginEnd","cancelButtonLabel","nextButtonLabel","nextButton","marginStart","saveImage","StyleSheet","create","backgroundColor","width","height","marginTop","marginBottom","padding","justifyContent","flexDirection","color","SdkColors","ColorTheme","LIGHT","primaryButton","fontFamily","Fonts","IBMPlexSans_600SemiBold","fontSize","textAlign","lineHeight","IBMPlexSans_400Regular","messageText2"],"sources":["SignatureET.tsx"],"sourcesContent":["import React, { useRef, useState } from 'react';\nimport { StyleSheet, Text, TouchableOpacity, View } from 'react-native';\nimport type { SignatureInput } from './SignatureSchema';\nimport { Button } from 'react-native-paper';\nimport { getBaseETResponse } from '../../../utils/ExecTaskUtils';\nimport { getEventCodeByET } from '../../../manager/dispatchCodes/EventCodeContainer';\nimport {\n EntityCode,\n ExecutionTaskID,\n} from '../../../models/execTasks/ETConfig';\nimport { showToast } from '../../widgets/Toaster';\nimport DispatchSdkCache from '../../../manager/sdk/DispatchSdkCache';\nimport {\n CommonStyles,\n Fonts,\n} from '../../../styles/executionTasks/CommonStyles';\nimport { insertDocumentInDB } from '../../../utils/SyncManagerUtils';\nimport SignatureCapture from '../../../native/signature/SignatureCapture';\nimport SdkColors, { ColorTheme } from '../../../styles/SdkColors';\nimport { DEFAULT_SIGN_ET_MESSAGE } from '../../../constants/constants';\n\nconst SignatureET = (props: SignatureInput) => {\n const signatureViewRef = useRef<any>();\n const [dragged, setDragged] = useState(0);\n\n async function saveAndSubmit(cancel: boolean, image: string) {\n if (cancel) {\n props.onSubmitET({\n ...(await getBaseETResponse(\n EntityCode.DOODLE,\n false,\n getEventCodeByET(ExecutionTaskID.DOODLE, false),\n ''\n )),\n });\n } else {\n if (image != null) {\n const fileName = `SIG_${Date.now().toString()}.jpg`;\n const folderName =\n (await DispatchSdkCache.getInstance().getKeyFromCache(\n DispatchSdkCache.KEYS.FMS_FOLDER\n )) ?? 'NULL';\n let insertID = await insertDocumentInDB(\n fileName,\n folderName,\n JSON.stringify(props.jobIDs),\n JSON.stringify(props.objRefs),\n image,\n props.title ?? 'Signature',\n null\n );\n if (insertID) {\n props.onSubmitET({\n url: '',\n file: {\n folder: folderName,\n name: fileName,\n },\n ...(await getBaseETResponse(\n EntityCode.DOODLE,\n true,\n getEventCodeByET(ExecutionTaskID.DOODLE, true),\n ''\n )),\n });\n } else {\n showToast('Failed to save signature');\n }\n } else {\n showToast('Please enter signature!');\n }\n }\n }\n\n return (\n <View style={styles.mainContainer}>\n <View style={styles.doodleView}>\n <Text style={styles.messageText}>\n {props.message || DEFAULT_SIGN_ET_MESSAGE}\n </Text>\n <View style={styles.horizontalLine} />\n <View>\n {/* <Text style={styles.messageText2}>{'Received by'}</Text> */}\n <TouchableOpacity\n onPress={() => {\n setDragged(0);\n signatureViewRef.current?.resetImage();\n }}\n >\n <Text style={styles.clearBtn}>{'Clear'}</Text>\n </TouchableOpacity>\n </View>\n <View style={{ flex: 1 }}>\n <SignatureCapture\n ref={signatureViewRef}\n rotateClockwise={false}\n square={false}\n viewMode={'PORTRAIT'}\n showBorder={false}\n showNativeButtons={false}\n showTitleLabel={false}\n maxSize={Math.max(\n props.resolution.length,\n props.resolution.breadth\n )}\n minStrokeWidth={8}\n maxStrokeWidth={6}\n strokeColor={props.penColor ?? 'black'}\n backgroundColor={'white'}\n onSaveEvent={async (result) => {\n if (dragged > 0) {\n await saveAndSubmit(false, result.encoded);\n } else {\n showToast('Please enter signature');\n }\n }}\n onDragEvent={(drag) => {\n if (drag.dragged) setDragged((prevState) => prevState + 1);\n }}\n />\n </View>\n </View>\n <View style={styles.bottomButtons}>\n <Button\n style={[CommonStyles.cancelButton, { flex: 1, marginEnd: 5 }]}\n labelStyle={CommonStyles.cancelButtonLabel}\n mode={'outlined'}\n onPress={async () => {\n await saveAndSubmit(true, '');\n }}\n >\n Skip\n </Button>\n <Button\n labelStyle={CommonStyles.nextButtonLabel}\n style={[CommonStyles.nextButton, { flex: 1, marginStart: 5 }]}\n mode={'contained'}\n onPress={async () => signatureViewRef.current?.saveImage()}\n >\n Proceed\n </Button>\n </View>\n </View>\n );\n};\nconst styles = StyleSheet.create({\n horizontalLine: {\n backgroundColor: '#DDDDDD',\n width: '100%',\n height: 1,\n marginTop: 13,\n marginBottom: 15,\n },\n doodleView: {\n flex: 1,\n padding: 20,\n },\n mainContainer: {\n flex: 1,\n backgroundColor: '#ffffff',\n },\n bottomButtons: {\n justifyContent: 'flex-end',\n marginBottom: 10,\n flexDirection: 'row',\n marginStart: 10,\n marginEnd: 10,\n },\n clearBtn: {\n color: SdkColors[ColorTheme.LIGHT].primaryButton,\n fontFamily: Fonts.IBMPlexSans_600SemiBold,\n fontSize: 15,\n justifyContent: 'flex-end',\n textAlign: 'right',\n },\n messageText: {\n fontSize: 16,\n lineHeight: 20,\n color: '#474A57',\n fontFamily: Fonts.IBMPlexSans_400Regular,\n },\n messageText2: {\n flex: 1,\n fontSize: 16,\n lineHeight: 20,\n color: '#999999',\n fontFamily: Fonts.IBMPlexSans_400Regular,\n },\n});\nexport default SignatureET;\n"],"mappings":";;;;;;;AAAA;;AACA;;AAEA;;AACA;;AACA;;AACA;;AAIA;;AACA;;AACA;;AAIA;;AACA;;AACA;;AACA;;;;;;;;AAEA,MAAMA,WAAW,GAAIC,KAAD,IAA2B;EAC7C,MAAMC,gBAAgB,GAAG,IAAAC,aAAA,GAAzB;EACA,MAAM,CAACC,OAAD,EAAUC,UAAV,IAAwB,IAAAC,eAAA,EAAS,CAAT,CAA9B;;EAEA,eAAeC,aAAf,CAA6BC,MAA7B,EAA8CC,KAA9C,EAA6D;IAC3D,IAAID,MAAJ,EAAY;MACVP,KAAK,CAACS,UAAN,CAAiB,EACf,IAAI,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cAAc,EAAE,UADH;IAEbF,YAAY,EAAE,EAFD;IAGbG,aAAa,EAAE,KAHF;IAIbX,WAAW,EAAE,EAJA;IAKbJ,SAAS,EAAE;EALE,CAhBgB;EAuB/Bf,QAAQ,EAAE;IACR+B,KAAK,EAAEC,kBAAA,CAAUC,qBAAA,CAAWC,KAArB,EAA4BC,aAD3B;IAERC,UAAU,EAAEC,mBAAA,CAAMC,uBAFV;IAGRC,QAAQ,EAAE,EAHF;IAIRV,cAAc,EAAE,UAJR;IAKRW,SAAS,EAAE;EALH,CAvBqB;EA8B/B9C,WAAW,EAAE;IACX6C,QAAQ,EAAE,EADC;IAEXE,UAAU,EAAE,EAFD;IAGXV,KAAK,EAAE,SAHI;IAIXK,UAAU,EAAEC,mBAAA,CAAMK;EAJP,CA9BkB;EAoC/BC,YAAY,EAAE;IACZ1C,IAAI,EAAE,CADM;IAEZsC,QAAQ,EAAE,EAFE;IAGZE,UAAU,EAAE,EAHA;IAIZV,KAAK,EAAE,SAJK;IAKZK,UAAU,EAAEC,mBAAA,CAAMK;EALN;AApCiB,CAAlB,CAAf;;eA4CezF,W"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sources":["SignatureSchema.ts"],"sourcesContent":["/**\n * Length (in cm)\n */\nimport type {\n BaseETRequest,\n BaseETResponse,\n} from '../../../models/execTasks/ETBaseModels';\n\nexport type Length = number;\n/**\n * Breadth (in cm)\n */\nexport type Breadth = number;\n/**\n * Maximum Size limit (in kb) of doodle image\n */\nexport type MaxFileSize = number;\n/**\n * Pen colour hex code\n */\nexport type PenColor = string;\n/**\n * Any manual instruction to display for the Operator\n */\nexport type Instruction = string;\n\nexport type SignatureInput = BaseETRequest & {\n resolution: Dimension;\n fileSizeLimit: MaxFileSize;\n penColor?: PenColor;\n onSubmitET: (value: SignatureOutput) => void;\n} & {\n jobIDs: string[];\n objRefs: string[];\n};\n/**\n * Dimensions of doodle image\n */\nexport interface Dimension {\n length: Length;\n breadth: Breadth;\n}\nexport interface SignatureBaseResponse {\n /**\n * Url of doodle image\n */\n url?: string;\n file?: { folder: string; name: string };\n}\n\nexport type SignatureOutput = BaseETResponse & SignatureBaseResponse;\n"],"mappings":""}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
+
|
|
12
|
+
var _reactNativePaper = require("react-native-paper");
|
|
13
|
+
|
|
14
|
+
var _PaymentStyles = require("../payments/PaymentStyles");
|
|
15
|
+
|
|
16
|
+
var _ExecTaskUtils = require("../../../utils/ExecTaskUtils");
|
|
17
|
+
|
|
18
|
+
var _EventCodeContainer = require("../../../manager/dispatchCodes/EventCodeContainer");
|
|
19
|
+
|
|
20
|
+
var _ETConfig = require("../../../models/execTasks/ETConfig");
|
|
21
|
+
|
|
22
|
+
var _utils = require("../../../utils/utils");
|
|
23
|
+
|
|
24
|
+
var _CommonStyles = require("../../../styles/executionTasks/CommonStyles");
|
|
25
|
+
|
|
26
|
+
var _PaymentUtils = require("../payments/PaymentUtils");
|
|
27
|
+
|
|
28
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
29
|
+
|
|
30
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
31
|
+
|
|
32
|
+
const styles = _PaymentStyles.PaymentStyles;
|
|
33
|
+
|
|
34
|
+
const DropCashET = props => {
|
|
35
|
+
const [amountCollected, setAmountCollected] = (0, _react.useState)('');
|
|
36
|
+
const [inputError, setInputError] = (0, _react.useState)('');
|
|
37
|
+
const [disableNext, setDisableNext] = (0, _react.useState)(false);
|
|
38
|
+
return /*#__PURE__*/_react.default.createElement(_reactNative.KeyboardAvoidingView, {
|
|
39
|
+
style: _CommonStyles.CommonStyles.mainContainer
|
|
40
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.ScrollView, {
|
|
41
|
+
style: _CommonStyles.CommonStyles.mainContainer
|
|
42
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
43
|
+
style: _CommonStyles.CommonStyles.mainContainer
|
|
44
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
45
|
+
style: styles.textStyle1
|
|
46
|
+
}, "AMOUNT TO DEPOSIT"), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
47
|
+
style: styles.amountStyle
|
|
48
|
+
}, props.expectedAmount.currencyCode + ' ' + (0, _PaymentUtils.getPaymentValue)(props.expectedAmount.value, props.expectedAmount.minorUnit)), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
49
|
+
style: {
|
|
50
|
+
marginTop: 20,
|
|
51
|
+
paddingTop: 10,
|
|
52
|
+
paddingStart: 20,
|
|
53
|
+
paddingEnd: 20,
|
|
54
|
+
backgroundColor: 'white',
|
|
55
|
+
paddingBottom: 40
|
|
56
|
+
}
|
|
57
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNativePaper.TextInput, {
|
|
58
|
+
multiline: false,
|
|
59
|
+
autoComplete: 'off',
|
|
60
|
+
label: "Enter amount",
|
|
61
|
+
value: amountCollected,
|
|
62
|
+
mode: 'outlined',
|
|
63
|
+
error: !(0, _utils.isEmptyOrBlank)(inputError),
|
|
64
|
+
selectionColor: '#6200EE',
|
|
65
|
+
keyboardType: 'numeric',
|
|
66
|
+
onChangeText: text => {
|
|
67
|
+
setInputError('');
|
|
68
|
+
setAmountCollected(text);
|
|
69
|
+
}
|
|
70
|
+
}), !(0, _utils.isEmptyOrBlank)(inputError) && /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
71
|
+
style: {
|
|
72
|
+
color: '#B00020'
|
|
73
|
+
}
|
|
74
|
+
}, inputError)), props.message && /*#__PURE__*/_react.default.createElement(_reactNative.View, null, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
75
|
+
style: styles.textStyle1
|
|
76
|
+
}, "MESSAGE"), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
77
|
+
style: styles.messageStyle
|
|
78
|
+
}, props.message)))), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
79
|
+
style: {
|
|
80
|
+
margin: 10
|
|
81
|
+
}
|
|
82
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
83
|
+
style: {
|
|
84
|
+
flexDirection: 'row'
|
|
85
|
+
}
|
|
86
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNativePaper.Button, {
|
|
87
|
+
style: [_CommonStyles.CommonStyles.cancelButton, {
|
|
88
|
+
flex: 1,
|
|
89
|
+
marginEnd: 5
|
|
90
|
+
}],
|
|
91
|
+
labelStyle: _CommonStyles.CommonStyles.cancelButtonLabel,
|
|
92
|
+
mode: 'outlined',
|
|
93
|
+
onPress: async () => {
|
|
94
|
+
props.onSubmitET({ ...(await (0, _ExecTaskUtils.getBaseETResponse)(_ETConfig.EntityCode.DELIVER_CASH, false, (0, _EventCodeContainer.getEventCodeByET)(_ETConfig.ExecutionTaskID.DELIVER_CASH, false), ''))
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
}, "Cancel"), /*#__PURE__*/_react.default.createElement(_reactNativePaper.Button, {
|
|
98
|
+
disabled: disableNext,
|
|
99
|
+
style: [_CommonStyles.CommonStyles.nextButton, {
|
|
100
|
+
flex: 1,
|
|
101
|
+
marginStart: 5
|
|
102
|
+
}],
|
|
103
|
+
labelStyle: _CommonStyles.CommonStyles.nextButtonLabel,
|
|
104
|
+
mode: 'contained',
|
|
105
|
+
onPress: async () => {
|
|
106
|
+
if (!(0, _utils.isEmptyOrBlank)(amountCollected) && !Number.isNaN(+amountCollected)) {
|
|
107
|
+
const calculatedValue = (0, _PaymentUtils.getPaymentValue)(props.expectedAmount.value, props.expectedAmount.minorUnit);
|
|
108
|
+
|
|
109
|
+
if (+amountCollected !== calculatedValue) {
|
|
110
|
+
setInputError(`Amount should be equal to ${calculatedValue}`);
|
|
111
|
+
return;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
setDisableNext(true);
|
|
115
|
+
props.onSubmitET({
|
|
116
|
+
amount: {
|
|
117
|
+
value: props.expectedAmount.value,
|
|
118
|
+
currencyCode: props.expectedAmount.currencyCode,
|
|
119
|
+
minorUnit: props.expectedAmount.minorUnit
|
|
120
|
+
},
|
|
121
|
+
...(await (0, _ExecTaskUtils.getBaseETResponse)(_ETConfig.EntityCode.DELIVER_CASH, true, (0, _EventCodeContainer.getEventCodeByET)(_ETConfig.ExecutionTaskID.DELIVER_CASH, true), ''))
|
|
122
|
+
});
|
|
123
|
+
} else setInputError('Please enter valid amount.');
|
|
124
|
+
}
|
|
125
|
+
}, "Drop Cash"))));
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
var _default = DropCashET;
|
|
129
|
+
exports.default = _default;
|
|
130
|
+
//# sourceMappingURL=DropCashET.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["styles","PaymentStyles","DropCashET","props","amountCollected","setAmountCollected","useState","inputError","setInputError","disableNext","setDisableNext","CommonStyles","mainContainer","textStyle1","amountStyle","expectedAmount","currencyCode","getPaymentValue","value","minorUnit","marginTop","paddingTop","paddingStart","paddingEnd","backgroundColor","paddingBottom","isEmptyOrBlank","text","color","message","messageStyle","margin","flexDirection","cancelButton","flex","marginEnd","cancelButtonLabel","onSubmitET","getBaseETResponse","EntityCode","DELIVER_CASH","getEventCodeByET","ExecutionTaskID","nextButton","marginStart","nextButtonLabel","Number","isNaN","calculatedValue","amount"],"sources":["DropCashET.tsx"],"sourcesContent":["import { KeyboardAvoidingView, ScrollView, Text, View } from 'react-native';\nimport React, { useState } from 'react';\nimport { Button, TextInput } from 'react-native-paper';\nimport type { DropCashInput } from './DropCashSchema';\nimport { PaymentStyles } from '../payments/PaymentStyles';\nimport { getBaseETResponse } from '../../../utils/ExecTaskUtils';\nimport { getEventCodeByET } from '../../../manager/dispatchCodes/EventCodeContainer';\nimport {\n EntityCode,\n ExecutionTaskID,\n} from '../../../models/execTasks/ETConfig';\nimport { isEmptyOrBlank } from '../../../utils/utils';\nimport { CommonStyles } from '../../../styles/executionTasks/CommonStyles';\nimport { getPaymentValue } from '../payments/PaymentUtils';\n\nconst styles = PaymentStyles;\n\nconst DropCashET = (props: DropCashInput) => {\n const [amountCollected, setAmountCollected] = useState('');\n const [inputError, setInputError] = useState('');\n const [disableNext, setDisableNext] = useState(false);\n\n return (\n <KeyboardAvoidingView style={CommonStyles.mainContainer}>\n <ScrollView style={CommonStyles.mainContainer}>\n <View style={CommonStyles.mainContainer}>\n <Text style={styles.textStyle1}>AMOUNT TO DEPOSIT</Text>\n <Text style={styles.amountStyle}>\n {props.expectedAmount.currencyCode +\n ' ' +\n getPaymentValue(\n props.expectedAmount.value,\n props.expectedAmount.minorUnit\n )}\n </Text>\n <View\n style={{\n marginTop: 20,\n paddingTop: 10,\n paddingStart: 20,\n paddingEnd: 20,\n backgroundColor: 'white',\n paddingBottom: 40,\n }}\n >\n <TextInput\n multiline={false}\n autoComplete={'off'}\n label=\"Enter amount\"\n value={amountCollected}\n mode={'outlined'}\n error={!isEmptyOrBlank(inputError)}\n selectionColor={'#6200EE'}\n keyboardType={'numeric'}\n onChangeText={(text) => {\n setInputError('');\n setAmountCollected(text);\n }}\n />\n {!isEmptyOrBlank(inputError) && (\n <Text style={{ color: '#B00020' }}>{inputError}</Text>\n )}\n </View>\n {props.message && (\n <View>\n <Text style={styles.textStyle1}>MESSAGE</Text>\n <Text style={styles.messageStyle}>{props.message}</Text>\n </View>\n )}\n </View>\n </ScrollView>\n <View style={{ margin: 10 }}>\n <View style={{ flexDirection: 'row' }}>\n <Button\n style={[CommonStyles.cancelButton, { flex: 1, marginEnd: 5 }]}\n labelStyle={CommonStyles.cancelButtonLabel}\n mode={'outlined'}\n onPress={async () => {\n props.onSubmitET({\n ...(await getBaseETResponse(\n EntityCode.DELIVER_CASH,\n false,\n getEventCodeByET(ExecutionTaskID.DELIVER_CASH, false),\n ''\n )),\n });\n }}\n >\n Cancel\n </Button>\n <Button\n disabled={disableNext}\n style={[CommonStyles.nextButton, { flex: 1, marginStart: 5 }]}\n labelStyle={CommonStyles.nextButtonLabel}\n mode={'contained'}\n onPress={async () => {\n if (\n !isEmptyOrBlank(amountCollected) &&\n !Number.isNaN(+amountCollected)\n ) {\n const calculatedValue = getPaymentValue(\n props.expectedAmount.value,\n props.expectedAmount.minorUnit\n );\n if (+amountCollected !== calculatedValue) {\n setInputError(`Amount should be equal to ${calculatedValue}`);\n return;\n }\n setDisableNext(true);\n props.onSubmitET({\n amount: {\n value: props.expectedAmount.value,\n currencyCode: props.expectedAmount.currencyCode,\n minorUnit: props.expectedAmount.minorUnit,\n },\n ...(await getBaseETResponse(\n EntityCode.DELIVER_CASH,\n true,\n getEventCodeByET(ExecutionTaskID.DELIVER_CASH, true),\n ''\n )),\n });\n } else setInputError('Please enter valid amount.');\n }}\n >\n Drop C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port type {\n BaseETRequest,\n BaseETResponse,\n} from '../../../models/execTasks/ETBaseModels';\nimport type { ETAmount } from '../payments/init/InitPaymentSchema';\n\nexport type DropCashInput = BaseETRequest & {\n expectedAmount: ETAmount;\n confirmAmount?: boolean;\n onSubmitET: (etOutput: DropCashOutput) => void;\n confirmCustodyExchange?: boolean;\n};\n\nexport type DropCashOutput = BaseETResponse & {\n /**\n * Amount collected (ISO 4217)\n */\n amount?: ETAmount;\n};\n"],"mappings":""}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
var _reactNativePaper = require("react-native-paper");
|
|
9
|
+
|
|
10
|
+
var _reactNative = require("react-native");
|
|
11
|
+
|
|
12
|
+
var _CommonStyles = require("../../../styles/executionTasks/CommonStyles");
|
|
13
|
+
|
|
14
|
+
var _ExecTaskUtils = require("../../../utils/ExecTaskUtils");
|
|
15
|
+
|
|
16
|
+
var _ETConfig = require("../../../models/execTasks/ETConfig");
|
|
17
|
+
|
|
18
|
+
var _EventCodeContainer = require("../../../manager/dispatchCodes/EventCodeContainer");
|
|
19
|
+
|
|
20
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
21
|
+
|
|
22
|
+
var _utils = require("../../../utils/utils");
|
|
23
|
+
|
|
24
|
+
var _PaymentUtils = require("../payments/PaymentUtils");
|
|
25
|
+
|
|
26
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
27
|
+
|
|
28
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
29
|
+
|
|
30
|
+
const SLDropCash = etProps => {
|
|
31
|
+
const [amountCollected, setAmountCollected] = (0, _react.useState)(etProps.confirmAmount ? '' : `${(0, _PaymentUtils.getPaymentValue)(etProps.expectedAmount.value, etProps.expectedAmount.minorUnit)}`);
|
|
32
|
+
const [inputError, setInputError] = (0, _react.useState)('');
|
|
33
|
+
const [disableNext, setDisableNext] = (0, _react.useState)(false);
|
|
34
|
+
return /*#__PURE__*/_react.default.createElement(_reactNativePaper.Provider, null, /*#__PURE__*/_react.default.createElement(_reactNativePaper.Portal, null, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
35
|
+
style: _CommonStyles.DeliverPickupStyles.mainContainer
|
|
36
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNativePaper.Modal, {
|
|
37
|
+
visible: true,
|
|
38
|
+
dismissable: false,
|
|
39
|
+
contentContainerStyle: _CommonStyles.DeliverPickupStyles.modalContent
|
|
40
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
41
|
+
style: _CommonStyles.DeliverPickupStyles.modalView
|
|
42
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
43
|
+
style: _CommonStyles.DeliverPickupStyles.titleText
|
|
44
|
+
}, etProps.title), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
45
|
+
style: {
|
|
46
|
+
marginTop: 15,
|
|
47
|
+
marginBottom: 15,
|
|
48
|
+
flexDirection: 'row'
|
|
49
|
+
}
|
|
50
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
51
|
+
style: {
|
|
52
|
+
fontFamily: _CommonStyles.Fonts.IBMPlexSans_400Regular,
|
|
53
|
+
fontStyle: 'normal',
|
|
54
|
+
fontWeight: '400',
|
|
55
|
+
fontSize: 14,
|
|
56
|
+
flex: 1,
|
|
57
|
+
textAlign: 'left',
|
|
58
|
+
lineHeight: 28,
|
|
59
|
+
color: '#111111'
|
|
60
|
+
}
|
|
61
|
+
}, etProps.confirmCustodyExchange ? 'Expected Cash' : 'Return Amount'), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
62
|
+
style: {
|
|
63
|
+
flex: 1,
|
|
64
|
+
textAlign: 'right',
|
|
65
|
+
fontSize: 14,
|
|
66
|
+
lineHeight: 28,
|
|
67
|
+
fontStyle: 'normal',
|
|
68
|
+
color: '#111111',
|
|
69
|
+
fontFamily: _CommonStyles.Fonts.IBMPlexSans_600SemiBold
|
|
70
|
+
}
|
|
71
|
+
}, etProps.expectedAmount.currencyCode + ' ' + (0, _PaymentUtils.getPaymentValue)(etProps.expectedAmount.value, etProps.expectedAmount.minorUnit))), etProps.confirmAmount && /*#__PURE__*/_react.default.createElement(_reactNativePaper.TextInput, {
|
|
72
|
+
style: {
|
|
73
|
+
fontSize: 14,
|
|
74
|
+
lineHeight: 24,
|
|
75
|
+
fontFamily: _CommonStyles.Fonts.IBMPlexSans_400Regular
|
|
76
|
+
},
|
|
77
|
+
multiline: false,
|
|
78
|
+
autoComplete: 'off',
|
|
79
|
+
label: `Enter Amount(in ${etProps.expectedAmount.currencyCode})`,
|
|
80
|
+
value: amountCollected,
|
|
81
|
+
mode: 'outlined',
|
|
82
|
+
error: !(0, _utils.isEmptyOrBlank)(inputError),
|
|
83
|
+
selectionColor: '#6200EE',
|
|
84
|
+
keyboardType: 'numeric',
|
|
85
|
+
onChangeText: text => {
|
|
86
|
+
setInputError('');
|
|
87
|
+
setAmountCollected(text);
|
|
88
|
+
}
|
|
89
|
+
}), !(0, _utils.isEmptyOrBlank)(inputError) && /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
90
|
+
style: {
|
|
91
|
+
color: '#B00020'
|
|
92
|
+
}
|
|
93
|
+
}, inputError), /*#__PURE__*/_react.default.createElement(_reactNativePaper.Button, {
|
|
94
|
+
disabled: disableNext,
|
|
95
|
+
style: [_CommonStyles.CommonStyles.nextButton, {
|
|
96
|
+
marginTop: 20
|
|
97
|
+
}],
|
|
98
|
+
labelStyle: _CommonStyles.CommonStyles.nextButtonLabel,
|
|
99
|
+
uppercase: false,
|
|
100
|
+
mode: 'contained',
|
|
101
|
+
onPress: async () => {
|
|
102
|
+
if (!(0, _utils.isEmptyOrBlank)(amountCollected) && !Number.isNaN(+amountCollected)) {
|
|
103
|
+
const calculatedValue = (0, _PaymentUtils.getPaymentValue)(etProps.expectedAmount.value, etProps.expectedAmount.minorUnit);
|
|
104
|
+
|
|
105
|
+
if (+amountCollected !== calculatedValue) {
|
|
106
|
+
setInputError(`Amount should be equal to ${calculatedValue}`);
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
setDisableNext(true);
|
|
111
|
+
etProps.onSubmitET({
|
|
112
|
+
amount: {
|
|
113
|
+
value: etProps.expectedAmount.value,
|
|
114
|
+
currencyCode: etProps.expectedAmount.currencyCode,
|
|
115
|
+
minorUnit: etProps.expectedAmount.minorUnit
|
|
116
|
+
},
|
|
117
|
+
...(await (0, _ExecTaskUtils.getBaseETResponse)(_ETConfig.EntityCode.DELIVER_CASH, true, (0, _EventCodeContainer.getEventCodeByET)(_ETConfig.ExecutionTaskID.DELIVER_CASH, true), ''))
|
|
118
|
+
});
|
|
119
|
+
} else setInputError('Please enter valid amount.');
|
|
120
|
+
}
|
|
121
|
+
}, "Confirm"), !etProps.confirmCustodyExchange && /*#__PURE__*/_react.default.createElement(_reactNativePaper.Button, {
|
|
122
|
+
labelStyle: _CommonStyles.CommonStyles.cancelButtonLabel,
|
|
123
|
+
style: [_CommonStyles.CommonStyles.cancelButton, {
|
|
124
|
+
marginTop: 10
|
|
125
|
+
}],
|
|
126
|
+
mode: 'outlined',
|
|
127
|
+
uppercase: false,
|
|
128
|
+
onPress: async () => {
|
|
129
|
+
etProps.onSubmitET({ ...(await (0, _ExecTaskUtils.getBaseETResponse)(_ETConfig.EntityCode.DELIVER_CASH, false, (0, _EventCodeContainer.getEventCodeByET)(_ETConfig.ExecutionTaskID.DELIVER_CASH, false), ''))
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
}, "Cancel"))))));
|
|
133
|
+
};
|
|
134
|
+
|
|
135
|
+
var _default = SLDropCash;
|
|
136
|
+
exports.default = _default;
|
|
137
|
+
//# sourceMappingURL=SLDropCash.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["SLDropCash","etProps","amountCollected","setAmountCollected","useState","confirmAmount","getPaymentValue","expectedAmount","value","minorUnit","inputError","setInputError","disableNext","setDisableNext","DeliverPickupStyles","mainContainer","modalContent","modalView","titleText","title","marginTop","marginBottom","flexDirection","fontFamily","Fonts","IBMPlexSans_400Regular","fontStyle","fontWeight","fontSize","flex","textAlign","lineHeight","color","confirmCustodyExchange","IBMPlexSans_600SemiBold","currencyCode","isEmptyOrBlank","text","CommonStyles","nextButton","nextButtonLabel","Number","isNaN","calculatedValue","onSubmitET","amount","getBaseETResponse","EntityCode","DELIVER_CASH","getEventCodeByET","ExecutionTaskID","cancelButtonLabel","cancelButton"],"sources":["SLDropCash.tsx"],"sourcesContent":["import { Button, Modal, Portal, Provider, TextInput } from 'react-native-paper';\nimport { Text, View } from 'react-native';\nimport {\n CommonStyles,\n DeliverPickupStyles,\n Fonts,\n} from '../../../styles/executionTasks/CommonStyles';\nimport { getBaseETResponse } from '../../../utils/ExecTaskUtils';\nimport {\n EntityCode,\n ExecutionTaskID,\n} from '../../../models/execTasks/ETConfig';\nimport { getEventCodeByET } from '../../../manager/dispatchCodes/EventCodeContainer';\nimport React, { useState } from 'react';\nimport { isEmptyOrBlank } from '../../../utils/utils';\nimport type { DropCashInput } from './DropCashSchema';\nimport { getPaymentValue } from '../payments/PaymentUtils';\n\nconst SLDropCash = (etProps: DropCashInput) => {\n const [amountCollected, setAmountCollected] = useState(\n etProps.confirmAmount\n ? ''\n : `${getPaymentValue(\n etProps.expectedAmount.value,\n etProps.expectedAmount.minorUnit\n )}`\n );\n const [inputError, setInputError] = useState('');\n\n const [disableNext, setDisableNext] = useState(false);\n\n return (\n <Provider>\n <Portal>\n <View style={DeliverPickupStyles.mainContainer}>\n <Modal\n visible={true}\n dismissable={false}\n contentContainerStyle={DeliverPickupStyles.modalContent}\n >\n <View style={DeliverPickupStyles.modalView}>\n <Text style={DeliverPickupStyles.titleText}>{etProps.title}</Text>\n <View\n style={{\n marginTop: 15,\n marginBottom: 15,\n flexDirection: 'row',\n }}\n >\n <Text\n style={{\n fontFamily: Fonts.IBMPlexSans_400Regular,\n fontStyle: 'normal',\n fontWeight: '400',\n fontSize: 14,\n flex: 1,\n textAlign: 'left',\n lineHeight: 28,\n color: '#111111',\n }}\n >\n {etProps.confirmCustodyExchange\n ? 'Expected Cash'\n : 'Return Amount'}\n </Text>\n <Text\n style={{\n flex: 1,\n textAlign: 'right',\n fontSize: 14,\n lineHeight: 28,\n fontStyle: 'normal',\n color: '#111111',\n fontFamily: Fonts.IBMPlexSans_600SemiBold,\n }}\n >\n {etProps.expectedAmount.currencyCode +\n ' ' +\n getPaymentValue(\n etProps.expectedAmount.value,\n etProps.expectedAmount.minorUnit\n )}\n </Text>\n </View>\n {etProps.confirmAmount && (\n <TextInput\n style={{\n fontSize: 14,\n lineHeight: 24,\n fontFamily: Fonts.IBMPlexSans_400Regular,\n }}\n multiline={false}\n autoComplete={'off'}\n label={`Enter Amount(in ${etProps.expectedAmount.currencyCode})`}\n value={amountCollected}\n mode={'outlined'}\n error={!isEmptyOrBlank(inputError)}\n selectionColor={'#6200EE'}\n keyboardType={'numeric'}\n onChangeText={(text) => {\n setInputError('');\n setAmountCollected(text);\n }}\n />\n )}\n {!isEmptyOrBlank(inputError) && (\n <Text style={{ color: '#B00020' }}>{inputError}</Text>\n )}\n <Button\n disabled={disableNext}\n style={[CommonStyles.nextButton, { marginTop: 20 }]}\n labelStyle={CommonStyles.nextButtonLabel}\n uppercase={false}\n mode={'contained'}\n onPress={async () => {\n if (\n !isEmptyOrBlank(amountCollected) &&\n !Number.isNaN(+amountCollected)\n ) {\n const calculatedValue = getPaymentValue(\n etProps.expectedAmount.value,\n etProps.expectedAmount.minorUnit\n );\n if (+amountCollected !== calculatedValue) {\n setInputError(\n `Amount should be equal to ${calculatedValue}`\n );\n return;\n }\n setDisableNext(true);\n etProps.onSubmitET({\n amount: {\n value: etProps.expectedAmount.value,\n currencyCode: etProps.expectedAmount.currencyCode,\n minorUnit: etProps.expectedAmount.minorUnit,\n },\n ...(await getBaseETResponse(\n EntityCode.DELIVER_CASH,\n true,\n getEventCodeByET(ExecutionTaskID.DELIVER_CASH, true),\n ''\n )),\n });\n } else setInputError('Please enter valid amount.');\n }}\n >\n Confirm\n </Button>\n {!etProps.confirmCustodyExchange && (\n <Button\n labelStyle={CommonStyles.cancelButtonLabel}\n style={[CommonStyles.cancelButton, { marginTop: 10 }]}\n mode={'outlined'}\n uppercase={false}\n onPress={async () => {\n etProps.onSubmitET({\n ...(await getBaseETResponse(\n EntityCode.DELIVER_CASH,\n false,\n getEventCodeByET(ExecutionTaskID.DELIVER_CASH, false),\n ''\n )),\n });\n }}\n >\n Cancel\n </Button>\n )}\n </View>\n </Modal>\n </View>\n </Portal>\n </Provider>\n );\n};\nexport default SLDropCash;\n"],"mappings":";;;;;;;AAAA;;AACA;;AACA;;AAKA;;AACA;;AAIA;;AACA;;AACA;;AAEA;;;;;;AAEA,MAAMA,UAAU,GAAIC,OAAD,IAA4B;EAC7C,MAAM,CAACC,eAAD,EAAkBC,kBAAlB,I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