@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,78 @@
|
|
|
1
|
+
import { BackHandler, Pressable, StyleSheet, Text, View } from 'react-native';
|
|
2
|
+
import React, { useEffect, useRef } from 'react'; // @ts-ignore
|
|
3
|
+
|
|
4
|
+
import OTPTextView from 'react-native-otp-textinput';
|
|
5
|
+
import { Colors } from 'react-native-paper';
|
|
6
|
+
import { showToast } from '../../widgets/Toaster';
|
|
7
|
+
import { getBaseETResponse } from '../../../utils/ExecTaskUtils';
|
|
8
|
+
import { EntityCode } from '../../../models/execTasks/ETConfig';
|
|
9
|
+
|
|
10
|
+
const VerifyOtpET = props => {
|
|
11
|
+
const otpInput = useRef();
|
|
12
|
+
|
|
13
|
+
function backButtonHandler() {
|
|
14
|
+
return true;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
useEffect(() => {
|
|
18
|
+
BackHandler.addEventListener('hardwareBackPress', backButtonHandler);
|
|
19
|
+
return () => {
|
|
20
|
+
BackHandler.removeEventListener('hardwareBackPress', backButtonHandler);
|
|
21
|
+
};
|
|
22
|
+
}, []);
|
|
23
|
+
return /*#__PURE__*/React.createElement(View, null, /*#__PURE__*/React.createElement(View, {
|
|
24
|
+
style: styles.otpInputTextView
|
|
25
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
26
|
+
style: styles.veriOtpText
|
|
27
|
+
}, "Verify OTP"), /*#__PURE__*/React.createElement(OTPTextView, {
|
|
28
|
+
textInputStyle: styles.otpInputStyle,
|
|
29
|
+
ref: otpInput,
|
|
30
|
+
inputCount: props.inputCount,
|
|
31
|
+
tintColor: Colors.blue300,
|
|
32
|
+
handleTextChange: async value => {
|
|
33
|
+
if (value.length === props.inputCount) {
|
|
34
|
+
console.log('OTP Submit');
|
|
35
|
+
props.onSubmit({ ...(await getBaseETResponse(EntityCode.VERIFY_INPUT, true, '', ''))
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}), /*#__PURE__*/React.createElement(View, {
|
|
40
|
+
style: styles.otpNotReceivedView
|
|
41
|
+
}, /*#__PURE__*/React.createElement(Text, null, "Haven't received the sms?"), /*#__PURE__*/React.createElement(Pressable, {
|
|
42
|
+
onPress: () => {
|
|
43
|
+
showToast('Resending OTP');
|
|
44
|
+
},
|
|
45
|
+
style: styles.sendAgainText
|
|
46
|
+
}, /*#__PURE__*/React.createElement(Text, null, "Send again")))));
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
export default VerifyOtpET;
|
|
50
|
+
const styles = StyleSheet.create({
|
|
51
|
+
backIconView: {
|
|
52
|
+
marginTop: 22,
|
|
53
|
+
marginStart: 22
|
|
54
|
+
},
|
|
55
|
+
veriOtpText: {
|
|
56
|
+
fontSize: 24,
|
|
57
|
+
color: Colors.black,
|
|
58
|
+
marginTop: 40
|
|
59
|
+
},
|
|
60
|
+
otpInputStyle: {
|
|
61
|
+
borderRadius: 4,
|
|
62
|
+
borderWidth: 1,
|
|
63
|
+
paddingHorizontal: 16,
|
|
64
|
+
paddingVertical: 12,
|
|
65
|
+
marginTop: 32
|
|
66
|
+
},
|
|
67
|
+
otpInputTextView: {
|
|
68
|
+
marginHorizontal: 17
|
|
69
|
+
},
|
|
70
|
+
otpNotReceivedView: {
|
|
71
|
+
flexDirection: 'row',
|
|
72
|
+
marginTop: 10
|
|
73
|
+
},
|
|
74
|
+
sendAgainText: {
|
|
75
|
+
marginHorizontal: 8
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
//# sourceMappingURL=VerifyOtpET.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BackHandler","Pressable","StyleSheet","Text","View","React","useEffect","useRef","OTPTextView","Colors","showToast","getBaseETResponse","EntityCode","VerifyOtpET","props","otpInput","backButtonHandler","addEventListener","removeEventListener","styles","otpInputTextView","veriOtpText","otpInputStyle","inputCount","blue300","value","length","console","log","onSubmit","VERIFY_INPUT","otpNotReceivedView","sendAgainText","create","backIconView","marginTop","marginStart","fontSize","color","black","borderRadius","borderWidth","paddingHorizontal","paddingVertical","marginHorizontal","flexDirection"],"sources":["VerifyOtpET.tsx"],"sourcesContent":["import { BackHandler, Pressable, StyleSheet, Text, View } from 'react-native';\nimport React, { useEffect, useRef } from 'react';\n// @ts-ignore\nimport OTPTextView from 'react-native-otp-textinput';\nimport { Colors } from 'react-native-paper';\nimport { showToast } from '../../widgets/Toaster';\nimport type { OtpInputSchema } from './VerifyOtpSchema';\nimport { getBaseETResponse } from '../../../utils/ExecTaskUtils';\nimport { EntityCode } from '../../../models/execTasks/ETConfig';\n\nconst VerifyOtpET = (props: OtpInputSchema) => {\n const otpInput = useRef();\n\n function backButtonHandler() {\n return true;\n }\n useEffect(() => {\n BackHandler.addEventListener('hardwareBackPress', backButtonHandler);\n return () => {\n BackHandler.removeEventListener('hardwareBackPress', backButtonHandler);\n };\n }, []);\n\n return (\n <View>\n <View style={styles.otpInputTextView}>\n <Text style={styles.veriOtpText}>Verify OTP</Text>\n <OTPTextView\n textInputStyle={styles.otpInputStyle}\n ref={otpInput}\n inputCount={props.inputCount}\n tintColor={Colors.blue300}\n handleTextChange={async (value: string) => {\n if (value.length === props.inputCount) {\n console.log('OTP Submit');\n props.onSubmit({\n ...(await getBaseETResponse(\n EntityCode.VERIFY_INPUT,\n true,\n '',\n ''\n )),\n });\n }\n }}\n />\n <View style={styles.otpNotReceivedView}>\n <Text>Haven't received the sms?</Text>\n\n <Pressable\n onPress={() => {\n showToast('Resending OTP');\n }}\n style={styles.sendAgainText}\n >\n <Text>Send again</Text>\n </Pressable>\n </View>\n </View>\n </View>\n );\n};\nexport default VerifyOtpET;\n\nconst styles = StyleSheet.create({\n backIconView: {\n marginTop: 22,\n marginStart: 22,\n },\n veriOtpText: {\n fontSize: 24,\n color: Colors.black,\n marginTop: 40,\n },\n otpInputStyle: {\n borderRadius: 4,\n borderWidth: 1,\n paddingHorizontal: 16,\n paddingVertical: 12,\n marginTop: 32,\n },\n otpInputTextView: {\n marginHorizontal: 17,\n },\n otpNotReceivedView: {\n flexDirection: 'row',\n marginTop: 10,\n },\n sendAgainText: {\n marginHorizontal: 8,\n },\n});\n"],"mappings":"AAAA,SAASA,WAAT,EAAsBC,SAAtB,EAAiCC,UAAjC,EAA6CC,IAA7C,EAAmDC,IAAnD,QAA+D,cAA/D;AACA,OAAOC,KAAP,IAAgBC,SAAhB,EAA2BC,MAA3B,QAAyC,OAAzC,C,CACA;;AACA,OAAOC,WAAP,MAAwB,4BAAxB;AACA,SAASC,MAAT,QAAuB,oBAAvB;AACA,SAASC,SAAT,QAA0B,uBAA1B;AAEA,SAASC,iBAAT,QAAkC,8BAAlC;AACA,SAASC,UAAT,QAA2B,oCAA3B;;AAEA,MAAMC,WAAW,GAAIC,KAAD,IAA2B;EAC7C,MAAMC,QAAQ,GAAGR,MAAM,EAAvB;;EAEA,SAASS,iBAAT,GAA6B;IAC3B,OAAO,IAAP;EACD;;EACDV,SAAS,CAAC,MAAM;IACdN,WAAW,CAACiB,gBAAZ,CAA6B,mBAA7B,EAAkDD,iBAAlD;IACA,OAAO,MAAM;MACXhB,WAAW,CAACkB,mBAAZ,CAAgC,mBAAhC,EAAqDF,iBAArD;IACD,CAFD;EAGD,CALQ,EAKN,EALM,CAAT;EAOA,oBACE,oBAAC,IAAD,qBACE,oBAAC,IAAD;IAAM,KAAK,EAAEG,MAAM,CAACC;EAApB,gBACE,oBAAC,IAAD;IAAM,KAAK,EAAED,MAAM,CAACE;EAApB,gBADF,eAEE,oBAAC,WAAD;IACE,cAAc,EAAEF,MAAM,CAACG,aADzB;IAEE,GAAG,EAAEP,QAFP;IAGE,UAAU,EAAED,KAAK,CAACS,UAHpB;IAIE,SAAS,EAAEd,MAAM,CAACe,OAJpB;IAKE,gBAAgB,EAAE,MAAOC,KAAP,IAAyB;MACzC,IAAIA,KAAK,CAACC,MAAN,KAAiBZ,KAAK,CAACS,UAA3B,EAAuC;QACrCI,OAAO,CAACC,GAAR,CAAY,YAAZ;QACAd,KAAK,CAACe,QAAN,CAAe,EACb,IAAI,MAAMlB,iBAAiB,CACzBC,UAAU,CAACkB,YADc,EAEzB,IAFyB,EAGzB,EAHyB,EAIzB,EAJyB,CAA3B;QADa,CAAf;MAQD;IACF;EAjBH,EAFF,eAqBE,oBAAC,IAAD;IAAM,KAAK,EAAEX,MAAM,CAACY;EAApB,gBACE,oBAAC,IAAD,oCADF,eAGE,oBAAC,SAAD;IACE,OAAO,EAAE,MAAM;MACbrB,SAAS,CAAC,eAAD,CAAT;IACD,CAHH;IAIE,KAAK,EAAES,MAAM,CAACa;EAJhB,gBAME,oBAAC,IAAD,qBANF,CAHF,CArBF,CADF,CADF;AAsCD,CAnDD;;AAoDA,eAAenB,WAAf;AAEA,MAAMM,MAAM,GAAGjB,UAAU,CAAC+B,MAAX,CAAkB;EAC/BC,YAAY,EAAE;IACZC,SAAS,EAAE,EADC;IAEZC,WAAW,EAAE;EAFD,CADiB;EAK/Bf,WAAW,EAAE;IACXgB,QAAQ,EAAE,EADC;IAEXC,KAAK,EAAE7B,MAAM,CAAC8B,KAFH;IAGXJ,SAAS,EAAE;EAHA,CALkB;EAU/Bb,aAAa,EAAE;IACbkB,YAAY,EAAE,CADD;IAEbC,WAAW,EAAE,CAFA;IAGbC,iBAAiB,EAAE,EAHN;IAIbC,eAAe,EAAE,EAJJ;IAKbR,SAAS,EAAE;EALE,CAVgB;EAiB/Bf,gBAAgB,EAAE;IAChBwB,gBAAgB,EAAE;EADF,CAjBa;EAoB/Bb,kBAAkB,EAAE;IAClBc,aAAa,EAAE,KADG;IAElBV,SAAS,EAAE;EAFO,CApBW;EAwB/BH,aAAa,EAAE;IACbY,gBAAgB,EAAE;EADL;AAxBgB,CAAlB,CAAf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sources":["VerifyOtpSchema.ts"],"sourcesContent":["/**\n * Otp entered by user\n */\nimport type { BaseETResponse } from '../../../models/execTasks/ETBaseModels';\n\nexport type InputOtp = string;\n/**\n * Otp Value\n */\nexport type Otp = string;\n\nexport interface OtpInputSchema {\n inputCount: number;\n inputOtp: InputOtp;\n otp: Otp;\n onSubmit: (output: OtpOutputSchema) => void;\n}\n\nexport type OtpOutputSchema = BaseETResponse & {\n /**\n * Boolean to represent result of verification\n */\n success: boolean;\n};\n"],"mappings":""}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DispatchUtilsInterface } from '../../utils/SdkUtils';
|
|
2
|
+
import Logger, { LOG_TYPE } from '../../utils/Logger';
|
|
3
|
+
export function showAlert(title, message, cancelable, btnPositive, positiveCall, btnNegative, negCall) {
|
|
4
|
+
DispatchUtilsInterface.showAndroidDialog(title, message, btnPositive, btnNegative ?? null, cancelable).then(success => {
|
|
5
|
+
if (success) positiveCall();else if (negCall) {
|
|
6
|
+
negCall();
|
|
7
|
+
}
|
|
8
|
+
}).catch(error => {
|
|
9
|
+
Logger.getInstance().logEvent('error', error.message, LOG_TYPE.SDK_ERROR);
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AlertDisplay.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["DispatchUtilsInterface","Logger","LOG_TYPE","showAlert","title","message","cancelable","btnPositive","positiveCall","btnNegative","negCall","showAndroidDialog","then","success","catch","error","getInstance","logEvent","SDK_ERROR"],"sources":["AlertDisplay.tsx"],"sourcesContent":["import { DispatchUtilsInterface } from '../../utils/SdkUtils';\nimport Logger, { LOG_TYPE } from '../../utils/Logger';\n\nexport function showAlert(\n title: string,\n message: string,\n cancelable: boolean,\n btnPositive: string,\n positiveCall: () => void,\n btnNegative?: string,\n negCall?: () => void\n) {\n DispatchUtilsInterface.showAndroidDialog(\n title,\n message,\n btnPositive,\n btnNegative ?? null,\n cancelable\n )\n .then((success: boolean) => {\n if (success) positiveCall();\n else if (negCall) {\n negCall();\n }\n })\n .catch((error: { message: string }) => {\n Logger.getInstance().logEvent('error', error.message, LOG_TYPE.SDK_ERROR);\n });\n}\n"],"mappings":"AAAA,SAASA,sBAAT,QAAuC,sBAAvC;AACA,OAAOC,MAAP,IAAiBC,QAAjB,QAAiC,oBAAjC;AAEA,OAAO,SAASC,SAAT,CACLC,KADK,EAELC,OAFK,EAGLC,UAHK,EAILC,WAJK,EAKLC,YALK,EAMLC,WANK,EAOLC,OAPK,EAQL;EACAV,sBAAsB,CAACW,iBAAvB,CACEP,KADF,EAEEC,OAFF,EAGEE,WAHF,EAIEE,WAAW,IAAI,IAJjB,EAKEH,UALF,EAOGM,IAPH,CAOSC,OAAD,IAAsB;IAC1B,IAAIA,OAAJ,EAAaL,YAAY,GAAzB,KACK,IAAIE,OAAJ,EAAa;MAChBA,OAAO;IACR;EACF,CAZH,EAaGI,KAbH,CAaUC,KAAD,IAAgC;IACrCd,MAAM,CAACe,WAAP,GAAqBC,QAArB,CAA8B,OAA9B,EAAuCF,KAAK,CAACV,OAA7C,EAAsDH,QAAQ,CAACgB,SAA/D;EACD,CAfH;AAgBD"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Modal, StyleSheet, View } from 'react-native';
|
|
3
|
+
import { CommonStyles, Fonts } from '../../styles/executionTasks/CommonStyles';
|
|
4
|
+
import { Button, Paragraph, Title } from 'react-native-paper';
|
|
5
|
+
import Icon from 'react-native-vector-icons/MaterialCommunityIcons';
|
|
6
|
+
import SdkColors, { ColorTheme } from '../../styles/SdkColors';
|
|
7
|
+
|
|
8
|
+
const CancelOrderDialog = props => {
|
|
9
|
+
return /*#__PURE__*/React.createElement(Modal, {
|
|
10
|
+
animationType: "none",
|
|
11
|
+
transparent: true,
|
|
12
|
+
visible: props.visible,
|
|
13
|
+
onRequestClose: () => {}
|
|
14
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
15
|
+
style: styles.wrapper
|
|
16
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
17
|
+
style: styles.content
|
|
18
|
+
}, props.showIcon && props.iconName && /*#__PURE__*/React.createElement(Icon, {
|
|
19
|
+
style: {
|
|
20
|
+
alignSelf: 'center'
|
|
21
|
+
},
|
|
22
|
+
size: 34,
|
|
23
|
+
name: props.iconName,
|
|
24
|
+
color: SdkColors[ColorTheme.LIGHT].primaryButton
|
|
25
|
+
}), /*#__PURE__*/React.createElement(Title, {
|
|
26
|
+
style: {
|
|
27
|
+
fontFamily: Fonts.IBMPlexSans_600SemiBold,
|
|
28
|
+
marginTop: 0,
|
|
29
|
+
marginBottom: 15,
|
|
30
|
+
textAlign: 'center',
|
|
31
|
+
color: '#000000'
|
|
32
|
+
}
|
|
33
|
+
}, props.label ?? 'Cancel Order'), props.message && /*#__PURE__*/React.createElement(Paragraph, {
|
|
34
|
+
style: {
|
|
35
|
+
textAlign: 'center',
|
|
36
|
+
fontSize: 14,
|
|
37
|
+
fontFamily: Fonts.IBMPlexSans_400Regular
|
|
38
|
+
}
|
|
39
|
+
}, props.message), /*#__PURE__*/React.createElement(View, {
|
|
40
|
+
style: {
|
|
41
|
+
marginTop: 20
|
|
42
|
+
}
|
|
43
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
44
|
+
mode: 'outlined',
|
|
45
|
+
uppercase: false,
|
|
46
|
+
labelStyle: CommonStyles.nextButtonLabel,
|
|
47
|
+
style: CommonStyles.nextButton,
|
|
48
|
+
onPress: () => {
|
|
49
|
+
props.onSubmit(true);
|
|
50
|
+
},
|
|
51
|
+
testID: "primary"
|
|
52
|
+
}, props.positiveButtonTitle ?? 'Yes'), /*#__PURE__*/React.createElement(Button, {
|
|
53
|
+
uppercase: false,
|
|
54
|
+
mode: 'outlined',
|
|
55
|
+
labelStyle: CommonStyles.cancelButtonLabel,
|
|
56
|
+
style: [CommonStyles.cancelButton, {
|
|
57
|
+
marginTop: 10
|
|
58
|
+
}],
|
|
59
|
+
onPress: async () => {
|
|
60
|
+
props.onSubmit(false);
|
|
61
|
+
},
|
|
62
|
+
testID: "secondary"
|
|
63
|
+
}, props.negativeButtonTitle ?? 'No')))));
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
const styles = StyleSheet.create({
|
|
67
|
+
content: {
|
|
68
|
+
backgroundColor: 'white',
|
|
69
|
+
padding: 20,
|
|
70
|
+
borderRadius: 5,
|
|
71
|
+
width: '80%'
|
|
72
|
+
},
|
|
73
|
+
wrapper: {
|
|
74
|
+
flex: 1,
|
|
75
|
+
alignItems: 'center',
|
|
76
|
+
justifyContent: 'center',
|
|
77
|
+
backgroundColor: 'rgba(0,0,0,0.7)'
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
export default CancelOrderDialog;
|
|
81
|
+
//# sourceMappingURL=CancelOrderDialog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Modal","StyleSheet","View","CommonStyles","Fonts","Button","Paragraph","Title","Icon","SdkColors","ColorTheme","CancelOrderDialog","props","visible","styles","wrapper","content","showIcon","iconName","alignSelf","LIGHT","primaryButton","fontFamily","IBMPlexSans_600SemiBold","marginTop","marginBottom","textAlign","color","label","message","fontSize","IBMPlexSans_400Regular","nextButtonLabel","nextButton","onSubmit","positiveButtonTitle","cancelButtonLabel","cancelButton","negativeButtonTitle","create","backgroundColor","padding","borderRadius","width","flex","alignItems","justifyContent"],"sources":["CancelOrderDialog.tsx"],"sourcesContent":["import React from 'react';\nimport { Modal, StyleSheet, View } from 'react-native';\nimport { CommonStyles, Fonts } from '../../styles/executionTasks/CommonStyles';\nimport { Button, Paragraph, Title } from 'react-native-paper';\nimport Icon from 'react-native-vector-icons/MaterialCommunityIcons';\nimport SdkColors, { ColorTheme } from '../../styles/SdkColors';\n\nconst CancelOrderDialog = (props: CancelDialogProps) => {\n return (\n <Modal\n animationType=\"none\"\n transparent={true}\n visible={props.visible}\n onRequestClose={() => {}}\n >\n <View style={styles.wrapper}>\n <View style={styles.content}>\n {props.showIcon && props.iconName && (\n <Icon\n style={{ alignSelf: 'center' }}\n size={34}\n name={props.iconName}\n color={SdkColors[ColorTheme.LIGHT].primaryButton}\n />\n )}\n <Title\n style={{\n fontFamily: Fonts.IBMPlexSans_600SemiBold,\n marginTop: 0,\n marginBottom: 15,\n textAlign: 'center',\n color: '#000000',\n }}\n >\n {props.label ?? 'Cancel Order'}\n </Title>\n {props.message && (\n <Paragraph\n style={{\n textAlign: 'center',\n fontSize: 14,\n fontFamily: Fonts.IBMPlexSans_400Regular,\n }}\n >\n {props.message}\n </Paragraph>\n )}\n <View style={{ marginTop: 20 }}>\n <Button\n mode={'outlined'}\n uppercase={false}\n labelStyle={CommonStyles.nextButtonLabel}\n style={CommonStyles.nextButton}\n onPress={() => {\n props.onSubmit(true);\n }}\n testID=\"primary\"\n >\n {props.positiveButtonTitle ?? 'Yes'}\n </Button>\n <Button\n uppercase={false}\n mode={'outlined'}\n labelStyle={CommonStyles.cancelButtonLabel}\n style={[CommonStyles.cancelButton, { marginTop: 10 }]}\n onPress={async () => {\n props.onSubmit(false);\n }}\n testID=\"secondary\"\n >\n {props.negativeButtonTitle ?? 'No'}\n </Button>\n </View>\n </View>\n </View>\n </Modal>\n );\n};\n\nconst styles = StyleSheet.create({\n content: {\n backgroundColor: 'white',\n padding: 20,\n borderRadius: 5,\n width: '80%',\n },\n wrapper: {\n flex: 1,\n alignItems: 'center',\n justifyContent: 'center',\n backgroundColor: 'rgba(0,0,0,0.7)',\n },\n});\n\nexport default CancelOrderDialog;\n\nexport interface CancelDialogProps {\n visible: boolean;\n onSubmit: (success: boolean) => void;\n label?: string;\n message?: string;\n positiveButtonTitle?: string;\n negativeButtonTitle?: string;\n showIcon?: boolean;\n iconName?: string;\n}\n"],"mappings":"AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,SAASC,KAAT,EAAgBC,UAAhB,EAA4BC,IAA5B,QAAwC,cAAxC;AACA,SAASC,YAAT,EAAuBC,KAAvB,QAAoC,0CAApC;AACA,SAASC,MAAT,EAAiBC,SAAjB,EAA4BC,KAA5B,QAAyC,oBAAzC;AACA,OAAOC,IAAP,MAAiB,kDAAjB;AACA,OAAOC,SAAP,IAAoBC,UAApB,QAAsC,wBAAtC;;AAEA,MAAMC,iBAAiB,GAAIC,KAAD,IAA8B;EACtD,oBACE,oBAAC,KAAD;IACE,aAAa,EAAC,MADhB;IAEE,WAAW,EAAE,IAFf;IAGE,OAAO,EAAEA,KAAK,CAACC,OAHjB;IAIE,cAAc,EAAE,MAAM,CAAE;EAJ1B,gBAME,oBAAC,IAAD;IAAM,KAAK,EAAEC,MAAM,CAACC;EAApB,gBACE,oBAAC,IAAD;IAAM,KAAK,EAAED,MAAM,CAACE;EAApB,GACGJ,KAAK,CAACK,QAAN,IAAkBL,KAAK,CAACM,QAAxB,iBACC,oBAAC,IAAD;IACE,KAAK,EAAE;MAAEC,SAAS,EAAE;IAAb,CADT;IAEE,IAAI,EAAE,EAFR;IAGE,IAAI,EAAEP,KAAK,CAACM,QAHd;IAIE,KAAK,EAAET,SAAS,CAACC,UAAU,CAACU,KAAZ,CAAT,CAA4BC;EAJrC,EAFJ,eASE,oBAAC,KAAD;IACE,KAAK,EAAE;MACLC,UAAU,EAAElB,KAAK,CAACmB,uBADb;MAELC,SAAS,EAAE,CAFN;MAGLC,YAAY,EAAE,EAHT;MAILC,SAAS,EAAE,QAJN;MAKLC,KAAK,EAAE;IALF;EADT,GASGf,KAAK,CAACgB,KAAN,IAAe,cATlB,CATF,EAoBGhB,KAAK,CAACiB,OAAN,iBACC,oBAAC,SAAD;IACE,KAAK,EAAE;MACLH,SAAS,EAAE,QADN;MAELI,QAAQ,EAAE,EAFL;MAGLR,UAAU,EAAElB,KAAK,CAAC2B;IAHb;EADT,GAOGnB,KAAK,CAACiB,OAPT,CArBJ,eA+BE,oBAAC,IAAD;IAAM,KAAK,EAAE;MAAEL,SAAS,EAAE;IAAb;EAAb,gBACE,oBAAC,MAAD;IACE,IAAI,EAAE,UADR;IAEE,SAAS,EAAE,KAFb;IAGE,UAAU,EAAErB,YAAY,CAAC6B,eAH3B;IAIE,KAAK,EAAE7B,YAAY,CAAC8B,UAJtB;IAKE,OAAO,EAAE,MAAM;MACbrB,KAAK,CAACsB,QAAN,CAAe,IAAf;IACD,CAPH;IAQE,MAAM,EAAC;EART,GAUGtB,KAAK,CAACuB,mBAAN,IAA6B,KAVhC,CADF,eAaE,oBAAC,MAAD;IACE,SAAS,EAAE,KADb;IAEE,IAAI,EAAE,UAFR;IAGE,UAAU,EAAEhC,YAAY,CAACiC,iBAH3B;IAIE,KAAK,EAAE,CAACjC,YAAY,CAACkC,YAAd,EAA4B;MAAEb,SAAS,EAAE;IAAb,CAA5B,CAJT;IAKE,OAAO,EAAE,YAAY;MACnBZ,KAAK,CAACsB,QAAN,CAAe,KAAf;IACD,CAPH;IAQE,MAAM,EAAC;EART,GAUGtB,KAAK,CAAC0B,mBAAN,IAA6B,IAVhC,CAbF,CA/BF,CADF,CANF,CADF;AAqED,CAtED;;AAwEA,MAAMxB,MAAM,GAAGb,UAAU,CAACsC,MAAX,CAAkB;EAC/BvB,OAAO,EAAE;IACPwB,eAAe,EAAE,OADV;IAEPC,OAAO,EAAE,EAFF;IAGPC,YAAY,EAAE,CAHP;IAIPC,KAAK,EAAE;EAJA,CADsB;EAO/B5B,OAAO,EAAE;IACP6B,IAAI,EAAE,CADC;IAEPC,UAAU,EAAE,QAFL;IAGPC,cAAc,EAAE,QAHT;IAIPN,eAAe,EAAE;EAJV;AAPsB,CAAlB,CAAf;AAeA,eAAe7B,iBAAf"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ActivityIndicator, Modal, StyleSheet, Text, View } from 'react-native';
|
|
3
|
+
import { Fonts } from '../../styles/executionTasks/CommonStyles';
|
|
4
|
+
|
|
5
|
+
const ProgressDialog = props => {
|
|
6
|
+
return /*#__PURE__*/React.createElement(Modal, {
|
|
7
|
+
animationType: "none",
|
|
8
|
+
transparent: true,
|
|
9
|
+
visible: props.visible,
|
|
10
|
+
onRequestClose: () => {}
|
|
11
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
12
|
+
style: styles.wrapper
|
|
13
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
14
|
+
style: styles.content
|
|
15
|
+
}, /*#__PURE__*/React.createElement(ActivityIndicator, {
|
|
16
|
+
size: "large",
|
|
17
|
+
color: "rgba(107, 142, 255, 1)"
|
|
18
|
+
}), /*#__PURE__*/React.createElement(Text, {
|
|
19
|
+
style: [styles.label]
|
|
20
|
+
}, props.label))));
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
const styles = StyleSheet.create({
|
|
24
|
+
label: {
|
|
25
|
+
color: 'black',
|
|
26
|
+
textAlign: 'center',
|
|
27
|
+
fontStyle: 'normal',
|
|
28
|
+
fontSize: 15,
|
|
29
|
+
fontFamily: Fonts.IBMPlexSans_600SemiBold
|
|
30
|
+
},
|
|
31
|
+
content: {
|
|
32
|
+
backgroundColor: 'white',
|
|
33
|
+
padding: 10,
|
|
34
|
+
borderRadius: 5,
|
|
35
|
+
width: '80%',
|
|
36
|
+
alignItems: 'center'
|
|
37
|
+
},
|
|
38
|
+
wrapper: {
|
|
39
|
+
flex: 1,
|
|
40
|
+
alignItems: 'center',
|
|
41
|
+
justifyContent: 'center',
|
|
42
|
+
backgroundColor: 'rgba(0,0,0,0.7)'
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
export default ProgressDialog;
|
|
46
|
+
//# sourceMappingURL=ProgressDialog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","ActivityIndicator","Modal","StyleSheet","Text","View","Fonts","ProgressDialog","props","visible","styles","wrapper","content","label","create","color","textAlign","fontStyle","fontSize","fontFamily","IBMPlexSans_600SemiBold","backgroundColor","padding","borderRadius","width","alignItems","flex","justifyContent"],"sources":["ProgressDialog.tsx"],"sourcesContent":["import React from 'react';\nimport { ActivityIndicator, Modal, StyleSheet, Text, View } from 'react-native';\nimport { Fonts } from '../../styles/executionTasks/CommonStyles';\n\nconst ProgressDialog = (props: ProgressDialogProps) => {\n return (\n <Modal\n animationType=\"none\"\n transparent={true}\n visible={props.visible}\n onRequestClose={() => {}}\n >\n <View style={styles.wrapper}>\n <View style={styles.content}>\n <ActivityIndicator size=\"large\" color=\"rgba(107, 142, 255, 1)\" />\n <Text style={[styles.label]}>{props.label}</Text>\n </View>\n </View>\n </Modal>\n );\n};\n\nconst styles = StyleSheet.create({\n label: {\n color: 'black',\n textAlign: 'center',\n fontStyle: 'normal',\n fontSize: 15,\n fontFamily: Fonts.IBMPlexSans_600SemiBold,\n },\n content: {\n backgroundColor: 'white',\n padding: 10,\n borderRadius: 5,\n width: '80%',\n alignItems: 'center',\n },\n wrapper: {\n flex: 1,\n alignItems: 'center',\n justifyContent: 'center',\n backgroundColor: 'rgba(0,0,0,0.7)',\n },\n});\n\nexport default ProgressDialog;\n\nexport interface ProgressDialogProps {\n visible: boolean;\n label: string;\n}\n"],"mappings":"AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,SAASC,iBAAT,EAA4BC,KAA5B,EAAmCC,UAAnC,EAA+CC,IAA/C,EAAqDC,IAArD,QAAiE,cAAjE;AACA,SAASC,KAAT,QAAsB,0CAAtB;;AAEA,MAAMC,cAAc,GAAIC,KAAD,IAAgC;EACrD,oBACE,oBAAC,KAAD;IACE,aAAa,EAAC,MADhB;IAEE,WAAW,EAAE,IAFf;IAGE,OAAO,EAAEA,KAAK,CAACC,OAHjB;IAIE,cAAc,EAAE,MAAM,CAAE;EAJ1B,gBAME,oBAAC,IAAD;IAAM,KAAK,EAAEC,MAAM,CAACC;EAApB,gBACE,oBAAC,IAAD;IAAM,KAAK,EAAED,MAAM,CAACE;EAApB,gBACE,oBAAC,iBAAD;IAAmB,IAAI,EAAC,OAAxB;IAAgC,KAAK,EAAC;EAAtC,EADF,eAEE,oBAAC,IAAD;IAAM,KAAK,EAAE,CAACF,MAAM,CAACG,KAAR;EAAb,GAA8BL,KAAK,CAACK,KAApC,CAFF,CADF,CANF,CADF;AAeD,CAhBD;;AAkBA,MAAMH,MAAM,GAAGP,UAAU,CAACW,MAAX,CAAkB;EAC/BD,KAAK,EAAE;IACLE,KAAK,EAAE,OADF;IAELC,SAAS,EAAE,QAFN;IAGLC,SAAS,EAAE,QAHN;IAILC,QAAQ,EAAE,EAJL;IAKLC,UAAU,EAAEb,KAAK,CAACc;EALb,CADwB;EAQ/BR,OAAO,EAAE;IACPS,eAAe,EAAE,OADV;IAEPC,OAAO,EAAE,EAFF;IAGPC,YAAY,EAAE,CAHP;IAIPC,KAAK,EAAE,KAJA;IAKPC,UAAU,EAAE;EALL,CARsB;EAe/Bd,OAAO,EAAE;IACPe,IAAI,EAAE,CADC;IAEPD,UAAU,EAAE,QAFL;IAGPE,cAAc,EAAE,QAHT;IAIPN,eAAe,EAAE;EAJV;AAfsB,CAAlB,CAAf;AAuBA,eAAed,cAAf"}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Animated, SafeAreaView, StyleSheet, Text, View } from 'react-native';
|
|
3
|
+
import { Surface, withTheme } from 'react-native-paper';
|
|
4
|
+
import MaterialCommunityIcon from 'react-native-vector-icons/MaterialCommunityIcons';
|
|
5
|
+
import Icon from 'react-native-vector-icons/MaterialIcons';
|
|
6
|
+
import { Fonts } from '../../styles/executionTasks/CommonStyles';
|
|
7
|
+
const DURATION_MEDIUM = 1000;
|
|
8
|
+
|
|
9
|
+
const SnackbarCustom = _ref => {
|
|
10
|
+
let {
|
|
11
|
+
visible,
|
|
12
|
+
duration = DURATION_MEDIUM,
|
|
13
|
+
onDismiss,
|
|
14
|
+
message,
|
|
15
|
+
theme
|
|
16
|
+
} = _ref;
|
|
17
|
+
const {
|
|
18
|
+
current: opacity
|
|
19
|
+
} = React.useRef(new Animated.Value(0.0));
|
|
20
|
+
const [hidden, setHidden] = React.useState(!visible);
|
|
21
|
+
const hideTimeout = React.useRef(undefined);
|
|
22
|
+
const {
|
|
23
|
+
scale
|
|
24
|
+
} = theme.animation;
|
|
25
|
+
React.useEffect(() => {
|
|
26
|
+
return () => {
|
|
27
|
+
if (hideTimeout.current) clearTimeout(hideTimeout.current);
|
|
28
|
+
};
|
|
29
|
+
}, []);
|
|
30
|
+
React.useLayoutEffect(() => {
|
|
31
|
+
if (visible) {
|
|
32
|
+
// show
|
|
33
|
+
if (hideTimeout.current) clearTimeout(hideTimeout.current);
|
|
34
|
+
setHidden(false);
|
|
35
|
+
Animated.timing(opacity, {
|
|
36
|
+
toValue: 1,
|
|
37
|
+
duration: 200 * scale,
|
|
38
|
+
useNativeDriver: true
|
|
39
|
+
}).start(_ref2 => {
|
|
40
|
+
let {
|
|
41
|
+
finished
|
|
42
|
+
} = _ref2;
|
|
43
|
+
|
|
44
|
+
if (finished) {
|
|
45
|
+
const isInfinity = duration === Number.POSITIVE_INFINITY || duration === Number.NEGATIVE_INFINITY;
|
|
46
|
+
|
|
47
|
+
if (finished && !isInfinity) {
|
|
48
|
+
hideTimeout.current = setTimeout(onDismiss, duration);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
} else {
|
|
53
|
+
// hide
|
|
54
|
+
if (hideTimeout.current) clearTimeout(hideTimeout.current);
|
|
55
|
+
Animated.timing(opacity, {
|
|
56
|
+
toValue: 0,
|
|
57
|
+
duration: 100 * scale,
|
|
58
|
+
useNativeDriver: true
|
|
59
|
+
}).start(_ref3 => {
|
|
60
|
+
let {
|
|
61
|
+
finished
|
|
62
|
+
} = _ref3;
|
|
63
|
+
if (finished) setHidden(true);
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
}, [visible, duration, opacity, scale, onDismiss]);
|
|
67
|
+
const {
|
|
68
|
+
colors,
|
|
69
|
+
roundness
|
|
70
|
+
} = theme;
|
|
71
|
+
if (hidden) return null;
|
|
72
|
+
return /*#__PURE__*/React.createElement(SafeAreaView, {
|
|
73
|
+
pointerEvents: "box-none",
|
|
74
|
+
style: [styles.wrapper]
|
|
75
|
+
}, /*#__PURE__*/React.createElement(Surface, {
|
|
76
|
+
pointerEvents: "box-none",
|
|
77
|
+
accessibilityLiveRegion: "polite",
|
|
78
|
+
style: [styles.container, {
|
|
79
|
+
borderRadius: roundness,
|
|
80
|
+
opacity: opacity,
|
|
81
|
+
transform: [{
|
|
82
|
+
scale: visible ? opacity.interpolate({
|
|
83
|
+
inputRange: [0, 1],
|
|
84
|
+
outputRange: [0.9, 1]
|
|
85
|
+
}) : 1
|
|
86
|
+
}]
|
|
87
|
+
}, {
|
|
88
|
+
backgroundColor: colors.onSurface
|
|
89
|
+
}]
|
|
90
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
91
|
+
style: styles.main
|
|
92
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
93
|
+
name: 'check-circle-outline',
|
|
94
|
+
color: '#ffffff',
|
|
95
|
+
size: 24
|
|
96
|
+
}), /*#__PURE__*/React.createElement(Text, {
|
|
97
|
+
style: styles.messageStyle
|
|
98
|
+
}, message), /*#__PURE__*/React.createElement(MaterialCommunityIcon, {
|
|
99
|
+
name: 'close-circle-outline',
|
|
100
|
+
color: '#ffffff',
|
|
101
|
+
size: 24,
|
|
102
|
+
onPress: () => {
|
|
103
|
+
setHidden(true);
|
|
104
|
+
}
|
|
105
|
+
}))));
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
const styles = StyleSheet.create({
|
|
109
|
+
wrapper: {
|
|
110
|
+
position: 'absolute',
|
|
111
|
+
bottom: 110,
|
|
112
|
+
width: '100%'
|
|
113
|
+
},
|
|
114
|
+
container: {
|
|
115
|
+
elevation: 6,
|
|
116
|
+
flexDirection: 'row',
|
|
117
|
+
justifyContent: 'space-between',
|
|
118
|
+
alignItems: 'center',
|
|
119
|
+
margin: 8,
|
|
120
|
+
borderRadius: 4
|
|
121
|
+
},
|
|
122
|
+
main: {
|
|
123
|
+
padding: 16,
|
|
124
|
+
flexDirection: 'row',
|
|
125
|
+
backgroundColor: '#10B981',
|
|
126
|
+
flex: 1
|
|
127
|
+
},
|
|
128
|
+
messageStyle: {
|
|
129
|
+
flex: 1,
|
|
130
|
+
marginStart: 20,
|
|
131
|
+
marginEnd: 20,
|
|
132
|
+
color: '#ffffff',
|
|
133
|
+
fontWeight: '600',
|
|
134
|
+
fontFamily: Fonts.IBMPlexSans_600SemiBold
|
|
135
|
+
}
|
|
136
|
+
});
|
|
137
|
+
export default withTheme(SnackbarCustom);
|
|
138
|
+
//# sourceMappingURL=SnackBarCustom.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Animated","SafeAreaView","StyleSheet","Text","View","Surface","withTheme","MaterialCommunityIcon","Icon","Fonts","DURATION_MEDIUM","SnackbarCustom","visible","duration","onDismiss","message","theme","current","opacity","useRef","Value","hidden","setHidden","useState","hideTimeout","undefined","scale","animation","useEffect","clearTimeout","useLayoutEffect","timing","toValue","useNativeDriver","start","finished","isInfinity","Number","POSITIVE_INFINITY","NEGATIVE_INFINITY","setTimeout","colors","roundness","styles","wrapper","container","borderRadius","transform","interpolate","inputRange","outputRange","backgroundColor","onSurface","main","messageStyle","create","position","bottom","width","elevation","flexDirection","justifyContent","alignItems","margin","padding","flex","marginStart","marginEnd","color","fontWeight","fontFamily","IBMPlexSans_600SemiBold"],"sources":["SnackBarCustom.tsx"],"sourcesContent":["import React from 'react';\nimport {\n Animated,\n SafeAreaView,\n StyleProp,\n StyleSheet,\n Text,\n View,\n ViewStyle,\n} from 'react-native';\nimport { Surface, withTheme } from 'react-native-paper';\nimport MaterialCommunityIcon from 'react-native-vector-icons/MaterialCommunityIcons';\nimport Icon from 'react-native-vector-icons/MaterialIcons';\nimport { Fonts } from '../../styles/executionTasks/CommonStyles';\n\nexport interface SnackbarProps {\n visible: boolean;\n duration?: number;\n /**\n * Callback called when Snackbar is dismissed. The `visible` prop needs to be updated when this is called.\n */\n onDismiss: () => void;\n /**\n * Text content of the Snackbar.\n */\n message: string;\n theme: ReactNativePaper.Theme;\n}\nconst DURATION_MEDIUM = 1000;\n\nconst SnackbarCustom = ({\n visible,\n duration = DURATION_MEDIUM,\n onDismiss,\n message,\n theme,\n}: SnackbarProps) => {\n const { current: opacity } = React.useRef<Animated.Value>(\n new Animated.Value(0.0)\n );\n const [hidden, setHidden] = React.useState<boolean>(!visible);\n\n const hideTimeout = React.useRef<NodeJS.Timeout | undefined>(undefined);\n const { scale } = theme.animation;\n\n React.useEffect(() => {\n return () => {\n if (hideTimeout.current) clearTimeout(hideTimeout.current);\n };\n }, []);\n\n React.useLayoutEffect(() => {\n if (visible) {\n // show\n if (hideTimeout.current) clearTimeout(hideTimeout.current);\n setHidden(false);\n Animated.timing(opacity, {\n toValue: 1,\n duration: 200 * scale,\n useNativeDriver: true,\n }).start(({ finished }) => {\n if (finished) {\n const isInfinity =\n duration === Number.POSITIVE_INFINITY ||\n duration === Number.NEGATIVE_INFINITY;\n\n if (finished && !isInfinity) {\n hideTimeout.current = setTimeout(\n onDismiss,\n duration\n ) as unknown as NodeJS.Timeout;\n }\n }\n });\n } else {\n // hide\n if (hideTimeout.current) clearTimeout(hideTimeout.current);\n\n Animated.timing(opacity, {\n toValue: 0,\n duration: 100 * scale,\n useNativeDriver: true,\n }).start(({ finished }) => {\n if (finished) setHidden(true);\n });\n }\n }, [visible, duration, opacity, scale, onDismiss]);\n\n const { colors, roundness } = theme;\n\n if (hidden) return null;\n\n return (\n <SafeAreaView pointerEvents=\"box-none\" style={[styles.wrapper]}>\n <Surface\n pointerEvents=\"box-none\"\n accessibilityLiveRegion=\"polite\"\n style={\n [\n styles.container,\n {\n borderRadius: roundness,\n opacity: opacity,\n transform: [\n {\n scale: visible\n ? opacity.interpolate({\n inputRange: [0, 1],\n outputRange: [0.9, 1],\n })\n : 1,\n },\n ],\n },\n { backgroundColor: colors.onSurface },\n ] as StyleProp<ViewStyle>\n }\n >\n <View style={styles.main}>\n <Icon name={'check-circle-outline'} color={'#ffffff'} size={24} />\n <Text style={styles.messageStyle}>{message}</Text>\n <MaterialCommunityIcon\n name={'close-circle-outline'}\n color={'#ffffff'}\n size={24}\n onPress={() => {\n setHidden(true);\n }}\n />\n </View>\n </Surface>\n </SafeAreaView>\n );\n};\n\nconst styles = StyleSheet.create({\n wrapper: {\n position: 'absolute',\n bottom: 110,\n width: '100%',\n },\n container: {\n elevation: 6,\n flexDirection: 'row',\n justifyContent: 'space-between',\n alignItems: 'center',\n margin: 8,\n borderRadius: 4,\n },\n main: {\n padding: 16,\n flexDirection: 'row',\n backgroundColor: '#10B981',\n flex: 1,\n },\n messageStyle: {\n flex: 1,\n marginStart: 20,\n marginEnd: 20,\n color: '#ffffff',\n fontWeight: '600',\n fontFamily: Fonts.IBMPlexSans_600SemiBold,\n },\n});\n\nexport default withTheme(SnackbarCustom);\n"],"mappings":"AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,SACEC,QADF,EAEEC,YAFF,EAIEC,UAJF,EAKEC,IALF,EAMEC,IANF,QAQO,cARP;AASA,SAASC,OAAT,EAAkBC,SAAlB,QAAmC,oBAAnC;AACA,OAAOC,qBAAP,MAAkC,kDAAlC;AACA,OAAOC,IAAP,MAAiB,yCAAjB;AACA,SAASC,KAAT,QAAsB,0CAAtB;AAeA,MAAMC,eAAe,GAAG,IAAxB;;AAEA,MAAMC,cAAc,GAAG,QAMF;EAAA,IANG;IACtBC,OADsB;IAEtBC,QAAQ,GAAGH,eAFW;IAGtBI,SAHsB;IAItBC,OAJsB;IAKtBC;EALsB,CAMH;EACnB,MAAM;IAAEC,OAAO,EAAEC;EAAX,IAAuBnB,KAAK,CAACoB,MAAN,CAC3B,IAAInB,QAAQ,CAACoB,KAAb,CAAmB,GAAnB,CAD2B,CAA7B;EAGA,MAAM,CAACC,MAAD,EAASC,SAAT,IAAsBvB,KAAK,CAACwB,QAAN,CAAwB,CAACX,OAAzB,CAA5B;EAEA,MAAMY,WAAW,GAAGzB,KAAK,CAACoB,MAAN,CAAyCM,SAAzC,CAApB;EACA,MAAM;IAAEC;EAAF,IAAYV,KAAK,CAACW,SAAxB;EAEA5B,KAAK,CAAC6B,SAAN,CAAgB,MAAM;IACpB,OAAO,MAAM;MACX,IAAIJ,WAAW,CAACP,OAAhB,EAAyBY,YAAY,CAACL,WAAW,CAACP,OAAb,CAAZ;IAC1B,CAFD;EAGD,CAJD,EAIG,EAJH;EAMAlB,KAAK,CAAC+B,eAAN,CAAsB,MAAM;IAC1B,IAAIlB,OAAJ,EAAa;MACX;MACA,IAAIY,WAAW,CAACP,OAAhB,EAAyBY,YAAY,CAACL,WAAW,CAACP,OAAb,CAAZ;MACzBK,SAAS,CAAC,KAAD,CAAT;MACAtB,QAAQ,CAAC+B,MAAT,CAAgBb,OAAhB,EAAyB;QACvBc,OAAO,EAAE,CADc;QAEvBnB,QAAQ,EAAE,MAAMa,KAFO;QAGvBO,eAAe,EAAE;MAHM,CAAzB,EAIGC,KAJH,CAIS,SAAkB;QAAA,IAAjB;UAAEC;QAAF,CAAiB;;QACzB,IAAIA,QAAJ,EAAc;UACZ,MAAMC,UAAU,GACdvB,QAAQ,KAAKwB,MAAM,CAACC,iBAApB,IACAzB,QAAQ,KAAKwB,MAAM,CAACE,iBAFtB;;UAIA,IAAIJ,QAAQ,IAAI,CAACC,UAAjB,EAA6B;YAC3BZ,WAAW,CAACP,OAAZ,GAAsBuB,UAAU,CAC9B1B,SAD8B,EAE9BD,QAF8B,CAAhC;UAID;QACF;MACF,CAjBD;IAkBD,CAtBD,MAsBO;MACL;MACA,IAAIW,WAAW,CAACP,OAAhB,EAAyBY,YAAY,CAACL,WAAW,CAACP,OAAb,CAAZ;MAEzBjB,QAAQ,CAAC+B,MAAT,CAAgBb,OAAhB,EAAyB;QACvBc,OAAO,EAAE,CADc;QAEvBnB,QAAQ,EAAE,MAAMa,KAFO;QAGvBO,eAAe,EAAE;MAHM,CAAzB,EAIGC,KAJH,CAIS,SAAkB;QAAA,IAAjB;UAAEC;QAAF,CAAiB;QACzB,IAAIA,QAAJ,EAAcb,SAAS,CAAC,IAAD,CAAT;MACf,CAND;IAOD;EACF,CAnCD,EAmCG,CAACV,OAAD,EAAUC,QAAV,EAAoBK,OAApB,EAA6BQ,KAA7B,EAAoCZ,SAApC,CAnCH;EAqCA,MAAM;IAAE2B,MAAF;IAAUC;EAAV,IAAwB1B,KAA9B;EAEA,IAAIK,MAAJ,EAAY,OAAO,IAAP;EAEZ,oBACE,oBAAC,YAAD;IAAc,aAAa,EAAC,UAA5B;IAAuC,KAAK,EAAE,CAACsB,MAAM,CAACC,OAAR;EAA9C,gBACE,oBAAC,OAAD;IACE,aAAa,EAAC,UADhB;IAEE,uBAAuB,EAAC,QAF1B;IAGE,KAAK,EACH,CACED,MAAM,CAACE,SADT,EAEE;MACEC,YAAY,EAAEJ,SADhB;MAEExB,OAAO,EAAEA,OAFX;MAGE6B,SAAS,EAAE,CACT;QACErB,KAAK,EAAEd,OAAO,GACVM,OAAO,CAAC8B,WAAR,CAAoB;UAClBC,UAAU,EAAE,CAAC,CAAD,EAAI,CAAJ,CADM;UAElBC,WAAW,EAAE,CAAC,GAAD,EAAM,CAAN;QAFK,CAApB,CADU,GAKV;MANN,CADS;IAHb,CAFF,EAgBE;MAAEC,eAAe,EAAEV,MAAM,CAACW;IAA1B,CAhBF;EAJJ,gBAwBE,oBAAC,IAAD;IAAM,KAAK,EAAET,MAAM,CAACU;EAApB,gBACE,oBAAC,IAAD;IAAM,IAAI,EAAE,sBAAZ;IAAoC,KAAK,EAAE,SAA3C;IAAsD,IAAI,EAAE;EAA5D,EADF,eAEE,oBAAC,IAAD;IAAM,KAAK,EAAEV,MAAM,CAACW;EAApB,GAAmCvC,OAAnC,CAFF,eAGE,oBAAC,qBAAD;IACE,IAAI,EAAE,sBADR;IAEE,KAAK,EAAE,SAFT;IAGE,IAAI,EAAE,EAHR;IAIE,OAAO,EAAE,MAAM;MACbO,SAAS,CAAC,IAAD,CAAT;IACD;EANH,EAHF,CAxBF,CADF,CADF;AAyCD,CAvGD;;AAyGA,MAAMqB,MAAM,GAAGzC,UAAU,CAACqD,MAAX,CAAkB;EAC/BX,OAAO,EAAE;IACPY,QAAQ,EAAE,UADH;IAEPC,MAAM,EAAE,GAFD;IAGPC,KAAK,EAAE;EAHA,CADsB;EAM/Bb,SAAS,EAAE;IACTc,SAAS,EAAE,CADF;IAETC,aAAa,EAAE,KAFN;IAGTC,cAAc,EAAE,eAHP;IAITC,UAAU,EAAE,QAJH;IAKTC,MAAM,EAAE,CALC;IAMTjB,YAAY,EAAE;EANL,CANoB;EAc/BO,IAAI,EAAE;IACJW,OAAO,EAAE,EADL;IAEJJ,aAAa,EAAE,KAFX;IAGJT,eAAe,EAAE,SAHb;IAIJc,IAAI,EAAE;EAJF,CAdyB;EAoB/BX,YAAY,EAAE;IACZW,IAAI,EAAE,CADM;IAEZC,WAAW,EAAE,EAFD;IAGZC,SAAS,EAAE,EAHC;IAIZC,KAAK,EAAE,SAJK;IAKZC,UAAU,EAAE,KALA;IAMZC,UAAU,EAAE7D,KAAK,CAAC8D;EANN;AApBiB,CAAlB,CAAf;AA8BA,eAAejE,SAAS,CAACK,cAAD,CAAxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Alert","Platform","ToastAndroid","showToast","message","OS","show","SHORT","alert"],"sources":["Toaster.ts"],"sourcesContent":["import { Alert, Platform, ToastAndroid } from 'react-native';\n\nexport function showToast(message: string) {\n if (Platform.OS === 'android') ToastAndroid.show(message, ToastAndroid.SHORT);\n else {\n Alert.alert('Info', message);\n }\n}\n"],"mappings":"AAAA,SAASA,KAAT,EAAgBC,QAAhB,EAA0BC,YAA1B,QAA8C,cAA9C;AAEA,OAAO,SAASC,SAAT,CAAmBC,OAAnB,EAAoC;EACzC,IAAIH,QAAQ,CAACI,EAAT,KAAgB,SAApB,EAA+BH,YAAY,CAACI,IAAb,CAAkBF,OAAlB,EAA2BF,YAAY,CAACK,KAAxC,EAA/B,KACK;IACHP,KAAK,CAACQ,KAAN,CAAY,MAAZ,EAAoBJ,OAApB;EACD;AACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["ERROR_TAGS"],"sources":["DispatchSDKConfig.ts"],"sourcesContent":["export const enum ERROR_TAGS {\n FCM = 'FCM',\n EXECUTION_TASK = 'EXECUTION_TASK',\n}\n"],"mappings":"AAAA,WAAkBA,UAAlB;;WAAkBA,U;EAAAA,U;EAAAA,U;GAAAA,U,KAAAA,U"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["ENDPOINTS","JOB_REMOVAL","dispatchId","jobId"],"sources":["apiConstants.ts"],"sourcesContent":["export const ENDPOINTS = {\n JOB_REMOVAL: (dispatchId: string, jobId: string) =>\n `/dispatches/${dispatchId}/jobs/${jobId}`,\n};\n"],"mappings":"AAAA,OAAO,MAAMA,SAAS,GAAG;EACvBC,WAAW,EAAE,CAACC,UAAD,EAAqBC,KAArB,KACV,eAAcD,UAAW,SAAQC,KAAM;AAFnB,CAAlB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export const LOCAL_STORAGE_KEY_PREFIX = '@dispatch-sdk:';
|
|
2
|
+
export const DEFAULT_NOTIFICATION_TITLE = 'Dispatch Sync Manager';
|
|
3
|
+
export const DEFAULT_NOTIFICATION_DESCRIPTION = 'Syncing Events & Files';
|
|
4
|
+
export const DEFAULT_INTERVAL = 10000;
|
|
5
|
+
export const DEFAULT_PICKUP_TITLE = 'Pickup Order';
|
|
6
|
+
export const DEFAULT_PICKUP_MESSAGE = 'Confirm pickup of $ order(s)';
|
|
7
|
+
export const DEFAULT_DELIVER_TITLE = 'Drop Order';
|
|
8
|
+
export const DEFAULT_DELIVER_MESSAGE = 'Confirm drop of $ order(s)';
|
|
9
|
+
export const DEFAULT_SIGN_ET_MESSAGE = 'Please capture a clear signature from the customer';
|
|
10
|
+
//# sourceMappingURL=constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["LOCAL_STORAGE_KEY_PREFIX","DEFAULT_NOTIFICATION_TITLE","DEFAULT_NOTIFICATION_DESCRIPTION","DEFAULT_INTERVAL","DEFAULT_PICKUP_TITLE","DEFAULT_PICKUP_MESSAGE","DEFAULT_DELIVER_TITLE","DEFAULT_DELIVER_MESSAGE","DEFAULT_SIGN_ET_MESSAGE"],"sources":["constants.ts"],"sourcesContent":["export const LOCAL_STORAGE_KEY_PREFIX = '@dispatch-sdk:';\nexport const DEFAULT_NOTIFICATION_TITLE = 'Dispatch Sync Manager';\nexport const DEFAULT_NOTIFICATION_DESCRIPTION = 'Syncing Events & Files';\nexport const DEFAULT_INTERVAL = 10000;\nexport const DEFAULT_PICKUP_TITLE = 'Pickup Order'\nexport const DEFAULT_PICKUP_MESSAGE = 'Confirm pickup of $ order(s)'\nexport const DEFAULT_DELIVER_TITLE = 'Drop Order'\nexport const DEFAULT_DELIVER_MESSAGE = 'Confirm drop of $ order(s)'\nexport const DEFAULT_SIGN_ET_MESSAGE =\n 'Please capture a clear signature from the customer';\n"],"mappings":"AAAA,OAAO,MAAMA,wBAAwB,GAAG,gBAAjC;AACP,OAAO,MAAMC,0BAA0B,GAAG,uBAAnC;AACP,OAAO,MAAMC,gCAAgC,GAAG,wBAAzC;AACP,OAAO,MAAMC,gBAAgB,GAAG,KAAzB;AACP,OAAO,MAAMC,oBAAoB,GAAG,cAA7B;AACP,OAAO,MAAMC,sBAAsB,GAAG,8BAA/B;AACP,OAAO,MAAMC,qBAAqB,GAAG,YAA9B;AACP,OAAO,MAAMC,uBAAuB,GAAG,4BAAhC;AACP,OAAO,MAAMC,uBAAuB,GAClC,oDADK"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
var StatusCode;
|
|
2
|
+
|
|
3
|
+
(function (StatusCode) {
|
|
4
|
+
StatusCode[StatusCode["Unauthorized"] = 401] = "Unauthorized";
|
|
5
|
+
StatusCode[StatusCode["Forbidden"] = 403] = "Forbidden";
|
|
6
|
+
StatusCode[StatusCode["TooManyRequests"] = 429] = "TooManyRequests";
|
|
7
|
+
StatusCode[StatusCode["InternalServerError"] = 500] = "InternalServerError";
|
|
8
|
+
})(StatusCode || (StatusCode = {}));
|
|
9
|
+
|
|
10
|
+
export default StatusCode;
|
|
11
|
+
//# sourceMappingURL=statuscode.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["StatusCode"],"sources":["statuscode.ts"],"sourcesContent":["enum StatusCode {\n Unauthorized = 401,\n Forbidden = 403,\n TooManyRequests = 429,\n InternalServerError = 500,\n}\n\nexport default StatusCode;\n"],"mappings":"IAAKA,U;;WAAAA,U;EAAAA,U,CAAAA,U;EAAAA,U,CAAAA,U;EAAAA,U,CAAAA,U;EAAAA,U,CAAAA,U;GAAAA,U,KAAAA,U;;AAOL,eAAeA,UAAf"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* A general error class that should be used for all errors in Expo modules.
|
|
5
|
+
* Guarantees a `code` field that can be used to differentiate between different
|
|
6
|
+
* types of errors without further subclassing Error.
|
|
7
|
+
*/
|
|
8
|
+
export class BaseError extends Error {
|
|
9
|
+
constructor(code, message, info) {
|
|
10
|
+
super(message);
|
|
11
|
+
|
|
12
|
+
_defineProperty(this, "code", void 0);
|
|
13
|
+
|
|
14
|
+
_defineProperty(this, "info", void 0);
|
|
15
|
+
|
|
16
|
+
this.code = code;
|
|
17
|
+
if (info) this.info = info;else this.info = message;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=BaseError.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BaseError","Error","constructor","code","message","info"],"sources":["BaseError.ts"],"sourcesContent":["/**\n * A general error class that should be used for all errors in Expo modules.\n * Guarantees a `code` field that can be used to differentiate between different\n * types of errors without further subclassing Error.\n */\nexport class BaseError extends Error {\n code: string;\n info?: any;\n\n constructor(code: string, message: string, info?: string) {\n super(message);\n this.code = code;\n if (info) this.info = info;\n else this.info = message;\n }\n}\n"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMA,SAAN,SAAwBC,KAAxB,CAA8B;EAInCC,WAAW,CAACC,IAAD,EAAeC,OAAf,EAAgCC,IAAhC,EAA+C;IACxD,MAAMD,OAAN;;IADwD;;IAAA;;IAExD,KAAKD,IAAL,GAAYA,IAAZ;IACA,IAAIE,IAAJ,EAAU,KAAKA,IAAL,GAAYA,IAAZ,CAAV,KACK,KAAKA,IAAL,GAAYD,OAAZ;EACN;;AATkC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
var BaseErrorCodes;
|
|
2
|
+
|
|
3
|
+
(function (BaseErrorCodes) {
|
|
4
|
+
BaseErrorCodes["InvalidArgumentError"] = "100100";
|
|
5
|
+
BaseErrorCodes["InvalidBaseURL"] = "100101";
|
|
6
|
+
BaseErrorCodes["SyncManagerNotInitialized"] = "100102";
|
|
7
|
+
BaseErrorCodes["MissingOrInvalidProps"] = "100103";
|
|
8
|
+
BaseErrorCodes["SQLiteDBIssue"] = "100104";
|
|
9
|
+
BaseErrorCodes["AppSyncNotInitialized"] = "100105";
|
|
10
|
+
BaseErrorCodes["FMS_FOLDER_CREATION_ERROR"] = "100106";
|
|
11
|
+
BaseErrorCodes["REASON_CODE_API_ERROR"] = "100107";
|
|
12
|
+
BaseErrorCodes["MERGING_ERROR"] = "100108";
|
|
13
|
+
BaseErrorCodes["LOCATION_PERMISSION_DENIED"] = "100109";
|
|
14
|
+
BaseErrorCodes["CAMERA_PERMISSION_DENIED"] = "100110";
|
|
15
|
+
BaseErrorCodes["STORAGE_PERMISSION_DENIED"] = "100111";
|
|
16
|
+
BaseErrorCodes["GRAPHQL_CLIENT_NOT_INITIALIZED"] = "100112";
|
|
17
|
+
BaseErrorCodes["FMS_GRAPHQL_API_ERROR"] = "100113";
|
|
18
|
+
BaseErrorCodes["INTERNET_NOT_ENABLED"] = "100114";
|
|
19
|
+
BaseErrorCodes["LOCATION_OR_GPS_NOT_ENABLED"] = "100115";
|
|
20
|
+
BaseErrorCodes["EXECUTION_ENGINE_ERROR"] = "100116";
|
|
21
|
+
BaseErrorCodes["UNEXPECTED_ERROR"] = "100117";
|
|
22
|
+
BaseErrorCodes["SYSTEM_TIME_CHECK_FAILED"] = "100118";
|
|
23
|
+
BaseErrorCodes["ACCESS_TOKEN_EXPIRED"] = "100119";
|
|
24
|
+
})(BaseErrorCodes || (BaseErrorCodes = {}));
|
|
25
|
+
|
|
26
|
+
export const InvalidArgumentsError = 'Missing or invalid arguments';
|
|
27
|
+
export const InvalidBaseURL = 'URL is invalid';
|
|
28
|
+
export const SyncManagerNotInitialized = 'Sync Manager is not initialized.Please call init method first';
|
|
29
|
+
export const AppSyncInitError = "App sync Manager not initialized.Please call initSyncManager() with valid BASE URLs from your app's index file";
|
|
30
|
+
export const MissingOrInvalidProps = 'One or more prop(s) is missing or invalid';
|
|
31
|
+
export default BaseErrorCodes;
|
|
32
|
+
//# sourceMappingURL=ErrorCodes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["BaseErrorCodes","InvalidArgumentsError","InvalidBaseURL","SyncManagerNotInitialized","AppSyncInitError","MissingOrInvalidProps"],"sources":["ErrorCodes.ts"],"sourcesContent":["const enum BaseErrorCodes {\n InvalidArgumentError = '100100',\n InvalidBaseURL = '100101',\n SyncManagerNotInitialized = '100102',\n MissingOrInvalidProps = '100103',\n SQLiteDBIssue = '100104',\n AppSyncNotInitialized = '100105',\n FMS_FOLDER_CREATION_ERROR = '100106',\n REASON_CODE_API_ERROR = '100107',\n MERGING_ERROR = '100108',\n LOCATION_PERMISSION_DENIED = '100109',\n CAMERA_PERMISSION_DENIED = '100110',\n STORAGE_PERMISSION_DENIED = '100111',\n GRAPHQL_CLIENT_NOT_INITIALIZED = '100112',\n FMS_GRAPHQL_API_ERROR = '100113',\n INTERNET_NOT_ENABLED = '100114',\n LOCATION_OR_GPS_NOT_ENABLED = '100115',\n EXECUTION_ENGINE_ERROR = '100116',\n UNEXPECTED_ERROR = '100117',\n SYSTEM_TIME_CHECK_FAILED = '100118',\n ACCESS_TOKEN_EXPIRED = '100119',\n}\nexport const InvalidArgumentsError = 'Missing or invalid arguments';\nexport const InvalidBaseURL = 'URL is invalid';\nexport const SyncManagerNotInitialized =\n 'Sync Manager is not initialized.Please call init method first';\n\nexport const AppSyncInitError =\n \"App sync Manager not initialized.Please call initSyncManager() with valid BASE URLs from your app's index file\";\n\nexport const MissingOrInvalidProps =\n 'One or more prop(s) is missing or invalid';\n\nexport default BaseErrorCodes;\n"],"mappings":"IAAWA,c;;WAAAA,c;EAAAA,c;EAAAA,c;EAAAA,c;EAAAA,c;EAAAA,c;EAAAA,c;EAAAA,c;EAAAA,c;EAAAA,c;EAAAA,c;EAAAA,c;EAAAA,c;EAAAA,c;EAAAA,c;EAAAA,c;EAAAA,c;EAAAA,c;EAAAA,c;EAAAA,c;EAAAA,c;GAAAA,c,KAAAA,c;;AAsBX,OAAO,MAAMC,qBAAqB,GAAG,8BAA9B;AACP,OAAO,MAAMC,cAAc,GAAG,gBAAvB;AACP,OAAO,MAAMC,yBAAyB,GACpC,+DADK;AAGP,OAAO,MAAMC,gBAAgB,GAC3B,gHADK;AAGP,OAAO,MAAMC,qBAAqB,GAChC,2CADK;AAGP,eAAeL,cAAf"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import Storage from './utils/storage';
|
|
2
|
+
import * as ExecutionTask from './components/executiontasks/ExecutionTasksIndex';
|
|
3
|
+
import * as MtsSdk from '@os1-platform/mts-mobile';
|
|
4
|
+
import NativeSyncManager from './manager/syncmanager/NativeSyncManager';
|
|
5
|
+
import { SyncMethod } from './manager/syncmanager/DBConfig';
|
|
6
|
+
import CancelOrderDialog from './components/widgets/CancelOrderDialog';
|
|
7
|
+
import useFCMMessage, { getFCMToken, registerBackgroundHandler, requestFirebasePermissions } from './utils/fcm/FcmUtils';
|
|
8
|
+
import FCM from './utils/fcm/FCM';
|
|
9
|
+
import DispatchExecNavigator from './components/dispatch/DispatchExecNavigator';
|
|
10
|
+
import DispatchStateContainer from './manager/dispatch/DispatchStateContainer';
|
|
11
|
+
import { objectiveExecutionStatus, ObjectiveNotFoundError } from '@foxtrotplatform/mobile-execution-lib';
|
|
12
|
+
import { DispatchSDKManager } from './manager/sdk/DispatchSDKManager';
|
|
13
|
+
import Logger, { LOG_TYPE } from './utils/Logger';
|
|
14
|
+
import SdkUtils from './utils/SdkUtils';
|
|
15
|
+
import AppSyncManager from './manager/syncmanager/AppSyncManager';
|
|
16
|
+
import { SdkSyncType } from './models/DispatchModels';
|
|
17
|
+
export { Storage, DispatchExecNavigator };
|
|
18
|
+
export { NativeSyncManager, AppSyncManager, SdkSyncType, useFCMMessage, getFCMToken, requestFirebasePermissions, FCM, registerBackgroundHandler, DispatchStateContainer, SdkUtils, Logger, LOG_TYPE };
|
|
19
|
+
export { SyncMethod };
|
|
20
|
+
export { ExecutionTask, CancelOrderDialog };
|
|
21
|
+
export { objectiveExecutionStatus, ObjectiveNotFoundError };
|
|
22
|
+
export { DispatchSDKManager };
|
|
23
|
+
export { MtsSdk };
|
|
24
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Storage","ExecutionTask","MtsSdk","NativeSyncManager","SyncMethod","CancelOrderDialog","useFCMMessage","getFCMToken","registerBackgroundHandler","requestFirebasePermissions","FCM","DispatchExecNavigator","DispatchStateContainer","objectiveExecutionStatus","ObjectiveNotFoundError","DispatchSDKManager","Logger","LOG_TYPE","SdkUtils","AppSyncManager","SdkSyncType"],"sources":["index.tsx"],"sourcesContent":["import Storage from './utils/storage';\nimport type * as ETaskSchema from './components/executiontasks/ExecutionTasksIndex';\nimport * as ExecutionTask from './components/executiontasks/ExecutionTasksIndex';\nimport type { MTSInitRequest, MTSStartRequest } from '@os1-platform/mts-mobile';\nimport * as MtsSdk from '@os1-platform/mts-mobile';\nimport NativeSyncManager from './manager/syncmanager/NativeSyncManager';\nimport type { DocumentRow, EventRow } from './manager/syncmanager/DBConfig';\nimport { SyncMethod } from './manager/syncmanager/DBConfig';\nimport CancelOrderDialog from './components/widgets/CancelOrderDialog';\nimport useFCMMessage, {\n getFCMToken,\n registerBackgroundHandler,\n requestFirebasePermissions,\n} from './utils/fcm/FcmUtils';\nimport FCM from './utils/fcm/FCM';\nimport DispatchExecNavigator from './components/dispatch/DispatchExecNavigator';\nimport DispatchStateContainer from './manager/dispatch/DispatchStateContainer';\nimport {\n objectiveExecutionStatus,\n ObjectiveNotFoundError,\n} from '@foxtrotplatform/mobile-execution-lib';\nimport { DispatchSDKManager } from './manager/sdk/DispatchSDKManager';\nimport Logger, { LOG_TYPE } from './utils/Logger';\nimport type {\n ETSummary,\n CompleteSummary,\n} from './models/execTasks/ETBaseModels';\nimport SdkUtils from './utils/SdkUtils';\nimport AppSyncManager from './manager/syncmanager/AppSyncManager';\nimport type { JobObjectiveType } from './models/DispatchModels';\nimport { SdkSyncType } from './models/DispatchModels';\n\nexport { Storage, DispatchExecNavigator };\nexport { ETSummary, CompleteSummary };\nexport {\n NativeSyncManager,\n AppSyncManager,\n SdkSyncType,\n EventRow,\n DocumentRow,\n useFCMMessage,\n getFCMToken,\n requestFirebasePermissions,\n FCM,\n registerBackgroundHandler,\n DispatchStateContainer,\n SdkUtils,\n Logger,\n LOG_TYPE,\n};\n\nexport { SyncMethod, JobObjectiveType };\nexport type { ETaskSchema };\nexport { ExecutionTask, CancelOrderDialog };\nexport { objectiveExecutionStatus, ObjectiveNotFoundError };\nexport { DispatchSDKManager };\n\nexport type { MTSStartRequest, MTSInitRequest };\nexport { MtsSdk };\n"],"mappings":"AAAA,OAAOA,OAAP,MAAoB,iBAApB;AAEA,OAAO,KAAKC,aAAZ,MAA+B,iDAA/B;AAEA,OAAO,KAAKC,MAAZ,MAAwB,0BAAxB;AACA,OAAOC,iBAAP,MAA8B,yCAA9B;AAEA,SAASC,UAAT,QAA2B,gCAA3B;AACA,OAAOC,iBAAP,MAA8B,wCAA9B;AACA,OAAOC,aAAP,IACEC,WADF,EAEEC,yBAFF,EAGEC,0BAHF,QAIO,sBAJP;AAKA,OAAOC,GAAP,MAAgB,iBAAhB;AACA,OAAOC,qBAAP,MAAkC,6CAAlC;AACA,OAAOC,sBAAP,MAAmC,2CAAnC;AACA,SACEC,wBADF,EAEEC,sBAFF,QAGO,uCAHP;AAIA,SAASC,kBAAT,QAAmC,kCAAnC;AACA,OAAOC,MAAP,IAAiBC,QAAjB,QAAiC,gBAAjC;AAKA,OAAOC,QAAP,MAAqB,kBAArB;AACA,OAAOC,cAAP,MAA2B,sCAA3B;AAEA,SAASC,WAAT,QAA4B,yBAA5B;AAEA,SAASpB,OAAT,EAAkBW,qBAAlB;AAEA,SACER,iBADF,EAEEgB,cAFF,EAGEC,WAHF,EAMEd,aANF,EAOEC,WAPF,EAQEE,0BARF,EASEC,GATF,EAUEF,yBAVF,EAWEI,sBAXF,EAYEM,QAZF,EAaEF,MAbF,EAcEC,QAdF;AAiBA,SAASb,UAAT;AAEA,SAASH,aAAT,EAAwBI,iBAAxB;AACA,SAASQ,wBAAT,EAAmCC,sBAAnC;AACA,SAASC,kBAAT;AAGA,SAASb,MAAT"}
|