@os1-platform/dispatch-mobile 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +551 -0
- package/android/build/.transforms/22228dd0a4a527a24ec811806cb09b83/classes/classes.dex +0 -0
- package/android/build/.transforms/22228dd0a4a527a24ec811806cb09b83.bin +1 -0
- package/android/build/.transforms/94a07ea3e1b6cf7284a0d41cd59f08ef/classes/classes.dex +0 -0
- package/android/build/.transforms/94a07ea3e1b6cf7284a0d41cd59f08ef.bin +1 -0
- package/android/build/generated/source/buildConfig/debug/com/dispatchsdk/BuildConfig.java +12 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/AndroidManifest.xml +34 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/output.json +26 -0
- package/android/build/intermediates/annotation_processor_list/debug/annotationProcessors.json +1 -0
- package/android/build/intermediates/compile_library_classes_jar/debug/classes.jar +0 -0
- package/android/build/intermediates/compile_only_not_namespaced_r_class_jar/debug/R.jar +0 -0
- package/android/build/intermediates/compile_symbol_list/debug/R.txt +4928 -0
- package/android/build/intermediates/compiled_local_resources/debug/out/drawable_alert_background.xml.flat +0 -0
- package/android/build/intermediates/compiled_local_resources/debug/out/drawable_ic_baseline_sync_24.xml.flat +0 -0
- package/android/build/intermediates/compiled_local_resources/debug/out/font_ibmplexsans.ttf.flat +0 -0
- package/android/build/intermediates/compiled_local_resources/debug/out/xml_file_paths.xml.flat +0 -0
- package/android/build/intermediates/incremental/debug-mergeNativeLibs/merge-state +0 -0
- package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +2 -0
- package/android/build/intermediates/incremental/packageDebugAssets/merger.xml +2 -0
- package/android/build/intermediates/incremental/packageDebugResources/compile-file-map.properties +5 -0
- package/android/build/intermediates/incremental/packageDebugResources/merged.dir/values/values.xml +9 -0
- package/android/build/intermediates/incremental/packageDebugResources/merger.xml +7 -0
- package/android/build/intermediates/javac/debug/classes/com/dispatchsdk/BuildConfig.class +0 -0
- package/android/build/intermediates/library_java_res/debug/res.jar +0 -0
- package/android/build/intermediates/library_manifest/debug/AndroidManifest.xml +34 -0
- package/android/build/intermediates/local_only_symbol_list/debug/R-def.txt +7 -0
- package/android/build/intermediates/manifest_merge_blame_file/debug/manifest-merger-blame-debug-report.txt +63 -0
- package/android/build/intermediates/merged_manifests/debug/output.json +26 -0
- package/android/build/intermediates/navigation_json/debug/navigation.json +1 -0
- package/android/build/intermediates/packaged_res/debug/drawable/alert_background.xml +8 -0
- package/android/build/intermediates/packaged_res/debug/drawable/ic_baseline_sync_24.xml +5 -0
- package/android/build/intermediates/packaged_res/debug/font/ibmplexsans.ttf +0 -0
- package/android/build/intermediates/packaged_res/debug/values/values.xml +9 -0
- package/android/build/intermediates/packaged_res/debug/xml/file_paths.xml +10 -0
- package/android/build/intermediates/runtime_library_classes_jar/debug/classes.jar +0 -0
- package/android/build/intermediates/symbol_list_with_package_name/debug/package-aware-r.txt +3391 -0
- package/android/build/kotlin/compileDebugKotlin/build-history.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/constants.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/counters.tab +2 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/caches-jvm/lookups/lookups.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/last-build.bin +0 -0
- package/android/build/outputs/logs/manifest-merger-debug-report.txt +79 -0
- package/android/build/tmp/kotlin-classes/debug/META-INF/dispatchsdk_debug.kotlin_module +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/DispatchSdkPackage.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/errors/NativeSdkErrors.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/signaturePad/RSSignatureCaptureContextModule.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/signaturePad/RSSignatureCaptureMainView.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/signaturePad/RSSignatureCaptureView$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/signaturePad/RSSignatureCaptureView$OnSignedListener.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/signaturePad/RSSignatureCaptureView$SignatureCallback.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/signaturePad/RSSignatureCaptureView.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/signaturePad/RSSignatureCaptureViewManager$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/signaturePad/RSSignatureCaptureViewManager.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/signatureUtils/Bezier.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/signatureUtils/ControlTimedPoints.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/signatureUtils/TimedPoint.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/sync/SyncEventService$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/sync/SyncEventService.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/sync/SyncManagerService$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/sync/SyncManagerService$runnableCode$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/sync/SyncManagerService.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/sync/SyncModule$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/sync/SyncModule.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/utils/DispatchSdkUtils$Companion.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/utils/DispatchSdkUtils$showAndroidDialog$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/utils/DispatchSdkUtils$showAndroidDialog$2.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/utils/DispatchSdkUtils.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/utils/ModuleConfig$IntentConfig.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/utils/ModuleConfig.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/utils/Tracer.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/com/dispatchsdk/utils/Utils.class +0 -0
- package/android/build.gradle +130 -0
- package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/android/gradle/wrapper/gradle-wrapper.properties +5 -0
- package/android/gradle.properties +4 -0
- package/android/gradlew +185 -0
- package/android/gradlew.bat +89 -0
- package/android/src/main/AndroidManifest.xml +33 -0
- package/android/src/main/java/com/dispatchsdk/DispatchSdkPackage.kt +23 -0
- package/android/src/main/java/com/dispatchsdk/errors/NativeSdkErrors.kt +24 -0
- package/android/src/main/java/com/dispatchsdk/signaturePad/RSSignatureCaptureContextModule.kt +15 -0
- package/android/src/main/java/com/dispatchsdk/signaturePad/RSSignatureCaptureMainView.kt +150 -0
- package/android/src/main/java/com/dispatchsdk/signaturePad/RSSignatureCaptureView.kt +355 -0
- package/android/src/main/java/com/dispatchsdk/signaturePad/RSSignatureCaptureViewManager.kt +132 -0
- package/android/src/main/java/com/dispatchsdk/signatureUtils/Bezier.kt +45 -0
- package/android/src/main/java/com/dispatchsdk/signatureUtils/ControlTimedPoints.kt +3 -0
- package/android/src/main/java/com/dispatchsdk/signatureUtils/TimedPoint.kt +19 -0
- package/android/src/main/java/com/dispatchsdk/sync/SyncEventService.kt +28 -0
- package/android/src/main/java/com/dispatchsdk/sync/SyncManagerService.kt +128 -0
- package/android/src/main/java/com/dispatchsdk/sync/SyncModule.kt +45 -0
- package/android/src/main/java/com/dispatchsdk/utils/DispatchSdkUtils.kt +121 -0
- package/android/src/main/java/com/dispatchsdk/utils/ModuleConfig.kt +21 -0
- package/android/src/main/java/com/dispatchsdk/utils/Tracer.kt +9 -0
- package/android/src/main/java/com/dispatchsdk/utils/Utils.kt +100 -0
- package/android/src/main/res/drawable/alert_background.xml +8 -0
- package/android/src/main/res/drawable/ic_baseline_sync_24.xml +5 -0
- package/android/src/main/res/font/ibmplexsans.ttf +0 -0
- package/android/src/main/res/values/styles.xml +10 -0
- package/android/src/main/res/xml/file_paths.xml +10 -0
- package/babel.config.js +3 -0
- package/foxtrotplatform-mobile-execution-lib-v0.6.4.tgz +0 -0
- package/lib/commonjs/components/dispatch/DispatchExecNavigator.js +249 -0
- package/lib/commonjs/components/dispatch/DispatchExecNavigator.js.map +1 -0
- package/lib/commonjs/components/executiontasks/CompletedWFSchema.js +6 -0
- package/lib/commonjs/components/executiontasks/CompletedWFSchema.js.map +1 -0
- package/lib/commonjs/components/executiontasks/ExecutionTasksIndex.js +192 -0
- package/lib/commonjs/components/executiontasks/ExecutionTasksIndex.js.map +1 -0
- package/lib/commonjs/components/executiontasks/cancellation/CancelET.js +110 -0
- package/lib/commonjs/components/executiontasks/cancellation/CancelET.js.map +1 -0
- package/lib/commonjs/components/executiontasks/cancellation/CancellationSchema.js +6 -0
- package/lib/commonjs/components/executiontasks/cancellation/CancellationSchema.js.map +1 -0
- package/lib/commonjs/components/executiontasks/captureInput/CaptureInputSchema.js +6 -0
- package/lib/commonjs/components/executiontasks/captureInput/CaptureInputSchema.js.map +1 -0
- package/lib/commonjs/components/executiontasks/captureInput/CaptureText.js +69 -0
- package/lib/commonjs/components/executiontasks/captureInput/CaptureText.js.map +1 -0
- package/lib/commonjs/components/executiontasks/deliver/DeliverET.js +105 -0
- package/lib/commonjs/components/executiontasks/deliver/DeliverET.js.map +1 -0
- package/lib/commonjs/components/executiontasks/deliver/DeliverETInput.js +6 -0
- package/lib/commonjs/components/executiontasks/deliver/DeliverETInput.js.map +1 -0
- package/lib/commonjs/components/executiontasks/deliver/SLDeliverET.js +197 -0
- package/lib/commonjs/components/executiontasks/deliver/SLDeliverET.js.map +1 -0
- package/lib/commonjs/components/executiontasks/display/DisplayModalET.js +126 -0
- package/lib/commonjs/components/executiontasks/display/DisplayModalET.js.map +1 -0
- package/lib/commonjs/components/executiontasks/display/DisplaySchema.js +6 -0
- package/lib/commonjs/components/executiontasks/display/DisplaySchema.js.map +1 -0
- package/lib/commonjs/components/executiontasks/doodle/DoodleUtils.js +28 -0
- package/lib/commonjs/components/executiontasks/doodle/DoodleUtils.js.map +1 -0
- package/lib/commonjs/components/executiontasks/doodle/SignatureET.js +190 -0
- package/lib/commonjs/components/executiontasks/doodle/SignatureET.js.map +1 -0
- package/lib/commonjs/components/executiontasks/doodle/SignatureSchema.js +6 -0
- package/lib/commonjs/components/executiontasks/doodle/SignatureSchema.js.map +1 -0
- package/lib/commonjs/components/executiontasks/dropCash/DropCashET.js +130 -0
- package/lib/commonjs/components/executiontasks/dropCash/DropCashET.js.map +1 -0
- package/lib/commonjs/components/executiontasks/dropCash/DropCashSchema.js +6 -0
- package/lib/commonjs/components/executiontasks/dropCash/DropCashSchema.js.map +1 -0
- package/lib/commonjs/components/executiontasks/dropCash/SLDropCash.js +137 -0
- package/lib/commonjs/components/executiontasks/dropCash/SLDropCash.js.map +1 -0
- package/lib/commonjs/components/executiontasks/forms/FormGenerator.js +116 -0
- package/lib/commonjs/components/executiontasks/forms/FormGenerator.js.map +1 -0
- package/lib/commonjs/components/executiontasks/forms/FormSchema.js +6 -0
- package/lib/commonjs/components/executiontasks/forms/FormSchema.js.map +1 -0
- package/lib/commonjs/components/executiontasks/forms/widgets/DateTimeWidget.js +152 -0
- package/lib/commonjs/components/executiontasks/forms/widgets/DateTimeWidget.js.map +1 -0
- package/lib/commonjs/components/executiontasks/forms/widgets/QRBarcodeScannerWidget.js +155 -0
- package/lib/commonjs/components/executiontasks/forms/widgets/QRBarcodeScannerWidget.js.map +1 -0
- package/lib/commonjs/components/executiontasks/forms/widgets/TimeRangeSelector.js +54 -0
- package/lib/commonjs/components/executiontasks/forms/widgets/TimeRangeSelector.js.map +1 -0
- package/lib/commonjs/components/executiontasks/httpRequest/HttpEtUtils.js +53 -0
- package/lib/commonjs/components/executiontasks/httpRequest/HttpEtUtils.js.map +1 -0
- package/lib/commonjs/components/executiontasks/httpRequest/HttpRequestET.js +61 -0
- package/lib/commonjs/components/executiontasks/httpRequest/HttpRequestET.js.map +1 -0
- package/lib/commonjs/components/executiontasks/httpRequest/HttpRequestETSchema.js +6 -0
- package/lib/commonjs/components/executiontasks/httpRequest/HttpRequestETSchema.js.map +1 -0
- package/lib/commonjs/components/executiontasks/imageCapture/CaptureSchema.js +6 -0
- package/lib/commonjs/components/executiontasks/imageCapture/CaptureSchema.js.map +1 -0
- package/lib/commonjs/components/executiontasks/imageCapture/CaptureUtils.js +159 -0
- package/lib/commonjs/components/executiontasks/imageCapture/CaptureUtils.js.map +1 -0
- package/lib/commonjs/components/executiontasks/imageCapture/ImageCapture.js +256 -0
- package/lib/commonjs/components/executiontasks/imageCapture/ImageCapture.js.map +1 -0
- package/lib/commonjs/components/executiontasks/payments/PaymentStyles.js +91 -0
- package/lib/commonjs/components/executiontasks/payments/PaymentStyles.js.map +1 -0
- package/lib/commonjs/components/executiontasks/payments/PaymentUtils.js +17 -0
- package/lib/commonjs/components/executiontasks/payments/PaymentUtils.js.map +1 -0
- package/lib/commonjs/components/executiontasks/payments/completePayment/CompletePaymentET.js +111 -0
- package/lib/commonjs/components/executiontasks/payments/completePayment/CompletePaymentET.js.map +1 -0
- package/lib/commonjs/components/executiontasks/payments/completePayment/CompletePaymentSchema.js +6 -0
- package/lib/commonjs/components/executiontasks/payments/completePayment/CompletePaymentSchema.js.map +1 -0
- package/lib/commonjs/components/executiontasks/payments/init/InitPaymentET.js +139 -0
- package/lib/commonjs/components/executiontasks/payments/init/InitPaymentET.js.map +1 -0
- package/lib/commonjs/components/executiontasks/payments/init/InitPaymentSchema.js +6 -0
- package/lib/commonjs/components/executiontasks/payments/init/InitPaymentSchema.js.map +1 -0
- package/lib/commonjs/components/executiontasks/payments/processPayment/ProcessPaymentET.js +146 -0
- package/lib/commonjs/components/executiontasks/payments/processPayment/ProcessPaymentET.js.map +1 -0
- package/lib/commonjs/components/executiontasks/payments/processPayment/ProcessPaymentSchema.js +6 -0
- package/lib/commonjs/components/executiontasks/payments/processPayment/ProcessPaymentSchema.js.map +1 -0
- package/lib/commonjs/components/executiontasks/pickup/PickpSchema.js +6 -0
- package/lib/commonjs/components/executiontasks/pickup/PickpSchema.js.map +1 -0
- package/lib/commonjs/components/executiontasks/pickup/PickupET.js +103 -0
- package/lib/commonjs/components/executiontasks/pickup/PickupET.js.map +1 -0
- package/lib/commonjs/components/executiontasks/pickup/SLPickupET.js +115 -0
- package/lib/commonjs/components/executiontasks/pickup/SLPickupET.js.map +1 -0
- package/lib/commonjs/components/executiontasks/scanner/CScanner.js +123 -0
- package/lib/commonjs/components/executiontasks/scanner/CScanner.js.map +1 -0
- package/lib/commonjs/components/executiontasks/scanner/ScannerSchema.js +32 -0
- package/lib/commonjs/components/executiontasks/scanner/ScannerSchema.js.map +1 -0
- package/lib/commonjs/components/executiontasks/scanner/ScannerUtils.js +193 -0
- package/lib/commonjs/components/executiontasks/scanner/ScannerUtils.js.map +1 -0
- package/lib/commonjs/components/executiontasks/scanner/returns/DropDownSelector.js +20 -0
- package/lib/commonjs/components/executiontasks/scanner/returns/DropDownSelector.js.map +1 -0
- package/lib/commonjs/components/executiontasks/scanner/returns/DropDownUtils.js +49 -0
- package/lib/commonjs/components/executiontasks/scanner/returns/DropDownUtils.js.map +1 -0
- package/lib/commonjs/components/executiontasks/scanner/returns/RTReasonSelection.js +107 -0
- package/lib/commonjs/components/executiontasks/scanner/returns/RTReasonSelection.js.map +1 -0
- package/lib/commonjs/components/executiontasks/scanner/returns/RTScan.js +317 -0
- package/lib/commonjs/components/executiontasks/scanner/returns/RTScan.js.map +1 -0
- package/lib/commonjs/components/executiontasks/scanner/returns/ReasonDropDown.js +100 -0
- package/lib/commonjs/components/executiontasks/scanner/returns/ReasonDropDown.js.map +1 -0
- package/lib/commonjs/components/executiontasks/scanner/returns/ScanList.js +276 -0
- package/lib/commonjs/components/executiontasks/scanner/returns/ScanList.js.map +1 -0
- package/lib/commonjs/components/executiontasks/verifyInput/VerifyInputSchema.js +6 -0
- package/lib/commonjs/components/executiontasks/verifyInput/VerifyInputSchema.js.map +1 -0
- package/lib/commonjs/components/executiontasks/verifyLocation/GeofenceUtils.js +66 -0
- package/lib/commonjs/components/executiontasks/verifyLocation/GeofenceUtils.js.map +1 -0
- package/lib/commonjs/components/executiontasks/verifyLocation/VerifyLocSchema.js +6 -0
- package/lib/commonjs/components/executiontasks/verifyLocation/VerifyLocSchema.js.map +1 -0
- package/lib/commonjs/components/executiontasks/verifyLocation/VerifyLocationET.js +69 -0
- package/lib/commonjs/components/executiontasks/verifyLocation/VerifyLocationET.js.map +1 -0
- package/lib/commonjs/components/executiontasks/verifyOtp/VerifyOtpET.js +100 -0
- package/lib/commonjs/components/executiontasks/verifyOtp/VerifyOtpET.js.map +1 -0
- package/lib/commonjs/components/executiontasks/verifyOtp/VerifyOtpSchema.js +6 -0
- package/lib/commonjs/components/executiontasks/verifyOtp/VerifyOtpSchema.js.map +1 -0
- package/lib/commonjs/components/widgets/AlertDisplay.js +25 -0
- package/lib/commonjs/components/widgets/AlertDisplay.js.map +1 -0
- package/lib/commonjs/components/widgets/CancelOrderDialog.js +101 -0
- package/lib/commonjs/components/widgets/CancelOrderDialog.js.map +1 -0
- package/lib/commonjs/components/widgets/ProgressDialog.js +59 -0
- package/lib/commonjs/components/widgets/ProgressDialog.js.map +1 -0
- package/lib/commonjs/components/widgets/SnackBarCustom.js +165 -0
- package/lib/commonjs/components/widgets/SnackBarCustom.js.map +1 -0
- package/lib/commonjs/components/widgets/Toaster.js +15 -0
- package/lib/commonjs/components/widgets/Toaster.js.map +1 -0
- package/lib/commonjs/config/DispatchSDKConfig.js +14 -0
- package/lib/commonjs/config/DispatchSDKConfig.js.map +1 -0
- package/lib/commonjs/constants/apiConstants.js +11 -0
- package/lib/commonjs/constants/apiConstants.js.map +1 -0
- package/lib/commonjs/constants/constants.js +25 -0
- package/lib/commonjs/constants/constants.js.map +1 -0
- package/lib/commonjs/constants/statuscode.js +18 -0
- package/lib/commonjs/constants/statuscode.js.map +1 -0
- package/lib/commonjs/errors/BaseError.js +30 -0
- package/lib/commonjs/errors/BaseError.js.map +1 -0
- package/lib/commonjs/errors/ErrorCodes.js +44 -0
- package/lib/commonjs/errors/ErrorCodes.js.map +1 -0
- package/lib/commonjs/index.js +164 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/manager/dispatch/DispatchStateContainer.js +442 -0
- package/lib/commonjs/manager/dispatch/DispatchStateContainer.js.map +1 -0
- package/lib/commonjs/manager/dispatchCodes/EventCodeContainer.js +13 -0
- package/lib/commonjs/manager/dispatchCodes/EventCodeContainer.js.map +1 -0
- package/lib/commonjs/manager/dispatchCodes/ReasonCodeContainer.js +112 -0
- package/lib/commonjs/manager/dispatchCodes/ReasonCodeContainer.js.map +1 -0
- package/lib/commonjs/manager/dispatchCodes/ReasonCodeRepo.js +87 -0
- package/lib/commonjs/manager/dispatchCodes/ReasonCodeRepo.js.map +1 -0
- package/lib/commonjs/manager/dispatchCodes/reasonCodes.json +137 -0
- package/lib/commonjs/manager/location/LocationManager.js +97 -0
- package/lib/commonjs/manager/location/LocationManager.js.map +1 -0
- package/lib/commonjs/manager/sdk/DispatchSDKManager.js +103 -0
- package/lib/commonjs/manager/sdk/DispatchSDKManager.js.map +1 -0
- package/lib/commonjs/manager/sdk/DispatchSdkCache.js +69 -0
- package/lib/commonjs/manager/sdk/DispatchSdkCache.js.map +1 -0
- package/lib/commonjs/manager/syncmanager/AppSyncManager.js +158 -0
- package/lib/commonjs/manager/syncmanager/AppSyncManager.js.map +1 -0
- package/lib/commonjs/manager/syncmanager/DBConfig.js +62 -0
- package/lib/commonjs/manager/syncmanager/DBConfig.js.map +1 -0
- package/lib/commonjs/manager/syncmanager/NativeSyncManager.js +15 -0
- package/lib/commonjs/manager/syncmanager/NativeSyncManager.js.map +1 -0
- package/lib/commonjs/manager/syncmanager/database.js +48 -0
- package/lib/commonjs/manager/syncmanager/database.js.map +1 -0
- package/lib/commonjs/manager/syncmanager/document/DocumentHttpClient.js +125 -0
- package/lib/commonjs/manager/syncmanager/document/DocumentHttpClient.js.map +1 -0
- package/lib/commonjs/manager/syncmanager/document/DocumentManager.js +113 -0
- package/lib/commonjs/manager/syncmanager/document/DocumentManager.js.map +1 -0
- package/lib/commonjs/manager/syncmanager/document/DocumentSyncManager.js +200 -0
- package/lib/commonjs/manager/syncmanager/document/DocumentSyncManager.js.map +1 -0
- package/lib/commonjs/manager/syncmanager/document/models.js +2 -0
- package/lib/commonjs/manager/syncmanager/document/models.js.map +1 -0
- package/lib/commonjs/manager/syncmanager/events/ETEventsManager.js +117 -0
- package/lib/commonjs/manager/syncmanager/events/ETEventsManager.js.map +1 -0
- package/lib/commonjs/manager/syncmanager/events/EventsGraphQLClient.js +2 -0
- package/lib/commonjs/manager/syncmanager/events/EventsGraphQLClient.js.map +1 -0
- package/lib/commonjs/manager/syncmanager/events/EventsSyncManager.js +279 -0
- package/lib/commonjs/manager/syncmanager/events/EventsSyncManager.js.map +1 -0
- package/lib/commonjs/manager/syncmanager/events/SyncHttpClient.js +79 -0
- package/lib/commonjs/manager/syncmanager/events/SyncHttpClient.js.map +1 -0
- package/lib/commonjs/models/DispatchModels.js +14 -0
- package/lib/commonjs/models/DispatchModels.js.map +1 -0
- package/lib/commonjs/models/ReasonCodes.js +2 -0
- package/lib/commonjs/models/ReasonCodes.js.map +1 -0
- package/lib/commonjs/models/auth.js +2 -0
- package/lib/commonjs/models/auth.js.map +1 -0
- package/lib/commonjs/models/execTasks/ETBaseModels.js +2 -0
- package/lib/commonjs/models/execTasks/ETBaseModels.js.map +1 -0
- package/lib/commonjs/models/execTasks/ETConfig.js +116 -0
- package/lib/commonjs/models/execTasks/ETConfig.js.map +1 -0
- package/lib/commonjs/models/execution.js +2 -0
- package/lib/commonjs/models/execution.js.map +1 -0
- package/lib/commonjs/models/fcm.js +2 -0
- package/lib/commonjs/models/fcm.js.map +1 -0
- package/lib/commonjs/models/sdk.js +15 -0
- package/lib/commonjs/models/sdk.js.map +1 -0
- package/lib/commonjs/native/signature/SignatureCapture.js +94 -0
- package/lib/commonjs/native/signature/SignatureCapture.js.map +1 -0
- package/lib/commonjs/network/GraphQLClient.js +149 -0
- package/lib/commonjs/network/GraphQLClient.js.map +1 -0
- package/lib/commonjs/network/NetworkClient.js +57 -0
- package/lib/commonjs/network/NetworkClient.js.map +1 -0
- package/lib/commonjs/network/NetworkUtils.js +36 -0
- package/lib/commonjs/network/NetworkUtils.js.map +1 -0
- package/lib/commonjs/network/Queries.js +55 -0
- package/lib/commonjs/network/Queries.js.map +1 -0
- package/lib/commonjs/network/client.js +87 -0
- package/lib/commonjs/network/client.js.map +1 -0
- package/lib/commonjs/res/strings.js +9 -0
- package/lib/commonjs/res/strings.js.map +1 -0
- package/lib/commonjs/resources/Login.js +52 -0
- package/lib/commonjs/resources/Login.js.map +1 -0
- package/lib/commonjs/resources/network.js +28 -0
- package/lib/commonjs/resources/network.js.map +1 -0
- package/lib/commonjs/styles/SdkColors.js +30 -0
- package/lib/commonjs/styles/SdkColors.js.map +1 -0
- package/lib/commonjs/styles/executionTasks/CommonStyles.js +168 -0
- package/lib/commonjs/styles/executionTasks/CommonStyles.js.map +1 -0
- package/lib/commonjs/ui/screens/CancellationScreen.js +64 -0
- package/lib/commonjs/ui/screens/CancellationScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/CaptureInputScreen.js +74 -0
- package/lib/commonjs/ui/screens/CaptureInputScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/CompleteObjectiveScreen.js +68 -0
- package/lib/commonjs/ui/screens/CompleteObjectiveScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/DeliverScreen.js +75 -0
- package/lib/commonjs/ui/screens/DeliverScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/DisplayScreen.js +43 -0
- package/lib/commonjs/ui/screens/DisplayScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/DoodleScreen.js +79 -0
- package/lib/commonjs/ui/screens/DoodleScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/DropCashScreen.js +89 -0
- package/lib/commonjs/ui/screens/DropCashScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/ETScreensIndex.js +128 -0
- package/lib/commonjs/ui/screens/ETScreensIndex.js.map +1 -0
- package/lib/commonjs/ui/screens/FormsScreen.js +45 -0
- package/lib/commonjs/ui/screens/FormsScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/GeofenceScreen.js +47 -0
- package/lib/commonjs/ui/screens/GeofenceScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/HttpRequestScreen.js +38 -0
- package/lib/commonjs/ui/screens/HttpRequestScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/ImageCaptureScreen.js +44 -0
- package/lib/commonjs/ui/screens/ImageCaptureScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/PaymentScreen.js +142 -0
- package/lib/commonjs/ui/screens/PaymentScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/PickupScreen.js +48 -0
- package/lib/commonjs/ui/screens/PickupScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/RTScanScreen.js +118 -0
- package/lib/commonjs/ui/screens/RTScanScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/StartWorkFlowScreen.js +137 -0
- package/lib/commonjs/ui/screens/StartWorkFlowScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/WithBaseDispatchScreen.js +52 -0
- package/lib/commonjs/ui/screens/WithBaseDispatchScreen.js.map +1 -0
- package/lib/commonjs/ui/uiConfig/RouteParams.js +16 -0
- package/lib/commonjs/ui/uiConfig/RouteParams.js.map +1 -0
- package/lib/commonjs/utils/ExecTaskUtils.js +113 -0
- package/lib/commonjs/utils/ExecTaskUtils.js.map +1 -0
- package/lib/commonjs/utils/Logger.js +114 -0
- package/lib/commonjs/utils/Logger.js.map +1 -0
- package/lib/commonjs/utils/NetworkUtil.js +66 -0
- package/lib/commonjs/utils/NetworkUtil.js.map +1 -0
- package/lib/commonjs/utils/SdkUtils.js +129 -0
- package/lib/commonjs/utils/SdkUtils.js.map +1 -0
- package/lib/commonjs/utils/SyncManagerUtils.js +136 -0
- package/lib/commonjs/utils/SyncManagerUtils.js.map +1 -0
- package/lib/commonjs/utils/fcm/FCM.js +58 -0
- package/lib/commonjs/utils/fcm/FCM.js.map +1 -0
- package/lib/commonjs/utils/fcm/FcmUtils.js +98 -0
- package/lib/commonjs/utils/fcm/FcmUtils.js.map +1 -0
- package/lib/commonjs/utils/helper.js +37 -0
- package/lib/commonjs/utils/helper.js.map +1 -0
- package/lib/commonjs/utils/loginHelper.js +70 -0
- package/lib/commonjs/utils/loginHelper.js.map +1 -0
- package/lib/commonjs/utils/storage.js +153 -0
- package/lib/commonjs/utils/storage.js.map +1 -0
- package/lib/commonjs/utils/test.json +17 -0
- package/lib/commonjs/utils/utils.js +38 -0
- package/lib/commonjs/utils/utils.js.map +1 -0
- package/lib/foxtrotplatform-mobile-execution-lib-v0.6.4.tgz +0 -0
- package/lib/module/components/dispatch/DispatchExecNavigator.js +228 -0
- package/lib/module/components/dispatch/DispatchExecNavigator.js.map +1 -0
- package/lib/module/components/executiontasks/CompletedWFSchema.js +2 -0
- package/lib/module/components/executiontasks/CompletedWFSchema.js.map +1 -0
- package/lib/module/components/executiontasks/ExecutionTasksIndex.js +25 -0
- package/lib/module/components/executiontasks/ExecutionTasksIndex.js.map +1 -0
- package/lib/module/components/executiontasks/cancellation/CancelET.js +93 -0
- package/lib/module/components/executiontasks/cancellation/CancelET.js.map +1 -0
- package/lib/module/components/executiontasks/cancellation/CancellationSchema.js +2 -0
- package/lib/module/components/executiontasks/cancellation/CancellationSchema.js.map +1 -0
- package/lib/module/components/executiontasks/captureInput/CaptureInputSchema.js +2 -0
- package/lib/module/components/executiontasks/captureInput/CaptureInputSchema.js.map +1 -0
- package/lib/module/components/executiontasks/captureInput/CaptureText.js +50 -0
- package/lib/module/components/executiontasks/captureInput/CaptureText.js.map +1 -0
- package/lib/module/components/executiontasks/deliver/DeliverET.js +87 -0
- package/lib/module/components/executiontasks/deliver/DeliverET.js.map +1 -0
- package/lib/module/components/executiontasks/deliver/DeliverETInput.js +2 -0
- package/lib/module/components/executiontasks/deliver/DeliverETInput.js.map +1 -0
- package/lib/module/components/executiontasks/deliver/SLDeliverET.js +175 -0
- package/lib/module/components/executiontasks/deliver/SLDeliverET.js.map +1 -0
- package/lib/module/components/executiontasks/display/DisplayModalET.js +107 -0
- package/lib/module/components/executiontasks/display/DisplayModalET.js.map +1 -0
- package/lib/module/components/executiontasks/display/DisplaySchema.js +2 -0
- package/lib/module/components/executiontasks/display/DisplaySchema.js.map +1 -0
- package/lib/module/components/executiontasks/doodle/DoodleUtils.js +19 -0
- package/lib/module/components/executiontasks/doodle/DoodleUtils.js.map +1 -0
- package/lib/module/components/executiontasks/doodle/SignatureET.js +163 -0
- package/lib/module/components/executiontasks/doodle/SignatureET.js.map +1 -0
- package/lib/module/components/executiontasks/doodle/SignatureSchema.js +2 -0
- package/lib/module/components/executiontasks/doodle/SignatureSchema.js.map +1 -0
- package/lib/module/components/executiontasks/dropCash/DropCashET.js +108 -0
- package/lib/module/components/executiontasks/dropCash/DropCashET.js.map +1 -0
- package/lib/module/components/executiontasks/dropCash/DropCashSchema.js +2 -0
- package/lib/module/components/executiontasks/dropCash/DropCashSchema.js.map +1 -0
- package/lib/module/components/executiontasks/dropCash/SLDropCash.js +117 -0
- package/lib/module/components/executiontasks/dropCash/SLDropCash.js.map +1 -0
- package/lib/module/components/executiontasks/forms/FormGenerator.js +90 -0
- package/lib/module/components/executiontasks/forms/FormGenerator.js.map +1 -0
- package/lib/module/components/executiontasks/forms/FormSchema.js +2 -0
- package/lib/module/components/executiontasks/forms/FormSchema.js.map +1 -0
- package/lib/module/components/executiontasks/forms/widgets/DateTimeWidget.js +132 -0
- package/lib/module/components/executiontasks/forms/widgets/DateTimeWidget.js.map +1 -0
- package/lib/module/components/executiontasks/forms/widgets/QRBarcodeScannerWidget.js +134 -0
- package/lib/module/components/executiontasks/forms/widgets/QRBarcodeScannerWidget.js.map +1 -0
- package/lib/module/components/executiontasks/forms/widgets/TimeRangeSelector.js +37 -0
- package/lib/module/components/executiontasks/forms/widgets/TimeRangeSelector.js.map +1 -0
- package/lib/module/components/executiontasks/httpRequest/HttpEtUtils.js +33 -0
- package/lib/module/components/executiontasks/httpRequest/HttpEtUtils.js.map +1 -0
- package/lib/module/components/executiontasks/httpRequest/HttpRequestET.js +42 -0
- package/lib/module/components/executiontasks/httpRequest/HttpRequestET.js.map +1 -0
- package/lib/module/components/executiontasks/httpRequest/HttpRequestETSchema.js +2 -0
- package/lib/module/components/executiontasks/httpRequest/HttpRequestETSchema.js.map +1 -0
- package/lib/module/components/executiontasks/imageCapture/CaptureSchema.js +2 -0
- package/lib/module/components/executiontasks/imageCapture/CaptureSchema.js.map +1 -0
- package/lib/module/components/executiontasks/imageCapture/CaptureUtils.js +120 -0
- package/lib/module/components/executiontasks/imageCapture/CaptureUtils.js.map +1 -0
- package/lib/module/components/executiontasks/imageCapture/ImageCapture.js +232 -0
- package/lib/module/components/executiontasks/imageCapture/ImageCapture.js.map +1 -0
- package/lib/module/components/executiontasks/payments/PaymentStyles.js +80 -0
- package/lib/module/components/executiontasks/payments/PaymentStyles.js.map +1 -0
- package/lib/module/components/executiontasks/payments/PaymentUtils.js +8 -0
- package/lib/module/components/executiontasks/payments/PaymentUtils.js.map +1 -0
- package/lib/module/components/executiontasks/payments/completePayment/CompletePaymentET.js +90 -0
- package/lib/module/components/executiontasks/payments/completePayment/CompletePaymentET.js.map +1 -0
- package/lib/module/components/executiontasks/payments/completePayment/CompletePaymentSchema.js +2 -0
- package/lib/module/components/executiontasks/payments/completePayment/CompletePaymentSchema.js.map +1 -0
- package/lib/module/components/executiontasks/payments/init/InitPaymentET.js +116 -0
- package/lib/module/components/executiontasks/payments/init/InitPaymentET.js.map +1 -0
- package/lib/module/components/executiontasks/payments/init/InitPaymentSchema.js +2 -0
- package/lib/module/components/executiontasks/payments/init/InitPaymentSchema.js.map +1 -0
- package/lib/module/components/executiontasks/payments/processPayment/ProcessPaymentET.js +124 -0
- package/lib/module/components/executiontasks/payments/processPayment/ProcessPaymentET.js.map +1 -0
- package/lib/module/components/executiontasks/payments/processPayment/ProcessPaymentSchema.js +2 -0
- package/lib/module/components/executiontasks/payments/processPayment/ProcessPaymentSchema.js.map +1 -0
- package/lib/module/components/executiontasks/pickup/PickpSchema.js +2 -0
- package/lib/module/components/executiontasks/pickup/PickpSchema.js.map +1 -0
- package/lib/module/components/executiontasks/pickup/PickupET.js +85 -0
- package/lib/module/components/executiontasks/pickup/PickupET.js.map +1 -0
- package/lib/module/components/executiontasks/pickup/SLPickupET.js +94 -0
- package/lib/module/components/executiontasks/pickup/SLPickupET.js.map +1 -0
- package/lib/module/components/executiontasks/scanner/CScanner.js +101 -0
- package/lib/module/components/executiontasks/scanner/CScanner.js.map +1 -0
- package/lib/module/components/executiontasks/scanner/ScannerSchema.js +24 -0
- package/lib/module/components/executiontasks/scanner/ScannerSchema.js.map +1 -0
- package/lib/module/components/executiontasks/scanner/ScannerUtils.js +158 -0
- package/lib/module/components/executiontasks/scanner/ScannerUtils.js.map +1 -0
- package/lib/module/components/executiontasks/scanner/returns/DropDownSelector.js +9 -0
- package/lib/module/components/executiontasks/scanner/returns/DropDownSelector.js.map +1 -0
- package/lib/module/components/executiontasks/scanner/returns/DropDownUtils.js +38 -0
- package/lib/module/components/executiontasks/scanner/returns/DropDownUtils.js.map +1 -0
- package/lib/module/components/executiontasks/scanner/returns/RTReasonSelection.js +86 -0
- package/lib/module/components/executiontasks/scanner/returns/RTReasonSelection.js.map +1 -0
- package/lib/module/components/executiontasks/scanner/returns/RTScan.js +287 -0
- package/lib/module/components/executiontasks/scanner/returns/RTScan.js.map +1 -0
- package/lib/module/components/executiontasks/scanner/returns/ReasonDropDown.js +80 -0
- package/lib/module/components/executiontasks/scanner/returns/ReasonDropDown.js.map +1 -0
- package/lib/module/components/executiontasks/scanner/returns/ScanList.js +253 -0
- package/lib/module/components/executiontasks/scanner/returns/ScanList.js.map +1 -0
- package/lib/module/components/executiontasks/verifyInput/VerifyInputSchema.js +2 -0
- package/lib/module/components/executiontasks/verifyInput/VerifyInputSchema.js.map +1 -0
- package/lib/module/components/executiontasks/verifyLocation/GeofenceUtils.js +50 -0
- package/lib/module/components/executiontasks/verifyLocation/GeofenceUtils.js.map +1 -0
- package/lib/module/components/executiontasks/verifyLocation/VerifyLocSchema.js +2 -0
- package/lib/module/components/executiontasks/verifyLocation/VerifyLocSchema.js.map +1 -0
- package/lib/module/components/executiontasks/verifyLocation/VerifyLocationET.js +45 -0
- package/lib/module/components/executiontasks/verifyLocation/VerifyLocationET.js.map +1 -0
- package/lib/module/components/executiontasks/verifyOtp/VerifyOtpET.js +78 -0
- package/lib/module/components/executiontasks/verifyOtp/VerifyOtpET.js.map +1 -0
- package/lib/module/components/executiontasks/verifyOtp/VerifyOtpSchema.js +2 -0
- package/lib/module/components/executiontasks/verifyOtp/VerifyOtpSchema.js.map +1 -0
- package/lib/module/components/widgets/AlertDisplay.js +12 -0
- package/lib/module/components/widgets/AlertDisplay.js.map +1 -0
- package/lib/module/components/widgets/CancelOrderDialog.js +81 -0
- package/lib/module/components/widgets/CancelOrderDialog.js.map +1 -0
- package/lib/module/components/widgets/ProgressDialog.js +46 -0
- package/lib/module/components/widgets/ProgressDialog.js.map +1 -0
- package/lib/module/components/widgets/SnackBarCustom.js +138 -0
- package/lib/module/components/widgets/SnackBarCustom.js.map +1 -0
- package/lib/module/components/widgets/Toaster.js +7 -0
- package/lib/module/components/widgets/Toaster.js.map +1 -0
- package/lib/module/config/DispatchSDKConfig.js +7 -0
- package/lib/module/config/DispatchSDKConfig.js.map +1 -0
- package/lib/module/constants/apiConstants.js +4 -0
- package/lib/module/constants/apiConstants.js.map +1 -0
- package/lib/module/constants/constants.js +10 -0
- package/lib/module/constants/constants.js.map +1 -0
- package/lib/module/constants/statuscode.js +11 -0
- package/lib/module/constants/statuscode.js.map +1 -0
- package/lib/module/errors/BaseError.js +21 -0
- package/lib/module/errors/BaseError.js.map +1 -0
- package/lib/module/errors/ErrorCodes.js +32 -0
- package/lib/module/errors/ErrorCodes.js.map +1 -0
- package/lib/module/index.js +24 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/manager/dispatch/DispatchStateContainer.js +405 -0
- package/lib/module/manager/dispatch/DispatchStateContainer.js.map +1 -0
- package/lib/module/manager/dispatchCodes/EventCodeContainer.js +5 -0
- package/lib/module/manager/dispatchCodes/EventCodeContainer.js.map +1 -0
- package/lib/module/manager/dispatchCodes/ReasonCodeContainer.js +89 -0
- package/lib/module/manager/dispatchCodes/ReasonCodeContainer.js.map +1 -0
- package/lib/module/manager/dispatchCodes/ReasonCodeRepo.js +72 -0
- package/lib/module/manager/dispatchCodes/ReasonCodeRepo.js.map +1 -0
- package/lib/module/manager/dispatchCodes/reasonCodes.json +137 -0
- package/lib/module/manager/location/LocationManager.js +83 -0
- package/lib/module/manager/location/LocationManager.js.map +1 -0
- package/lib/module/manager/sdk/DispatchSDKManager.js +71 -0
- package/lib/module/manager/sdk/DispatchSDKManager.js.map +1 -0
- package/lib/module/manager/sdk/DispatchSdkCache.js +57 -0
- package/lib/module/manager/sdk/DispatchSdkCache.js.map +1 -0
- package/lib/module/manager/syncmanager/AppSyncManager.js +128 -0
- package/lib/module/manager/syncmanager/AppSyncManager.js.map +1 -0
- package/lib/module/manager/syncmanager/DBConfig.js +48 -0
- package/lib/module/manager/syncmanager/DBConfig.js.map +1 -0
- package/lib/module/manager/syncmanager/NativeSyncManager.js +6 -0
- package/lib/module/manager/syncmanager/NativeSyncManager.js.map +1 -0
- package/lib/module/manager/syncmanager/database.js +30 -0
- package/lib/module/manager/syncmanager/database.js.map +1 -0
- package/lib/module/manager/syncmanager/document/DocumentHttpClient.js +104 -0
- package/lib/module/manager/syncmanager/document/DocumentHttpClient.js.map +1 -0
- package/lib/module/manager/syncmanager/document/DocumentManager.js +98 -0
- package/lib/module/manager/syncmanager/document/DocumentManager.js.map +1 -0
- package/lib/module/manager/syncmanager/document/DocumentSyncManager.js +173 -0
- package/lib/module/manager/syncmanager/document/DocumentSyncManager.js.map +1 -0
- package/lib/module/manager/syncmanager/document/models.js +2 -0
- package/lib/module/manager/syncmanager/document/models.js.map +1 -0
- package/lib/module/manager/syncmanager/events/ETEventsManager.js +101 -0
- package/lib/module/manager/syncmanager/events/ETEventsManager.js.map +1 -0
- package/lib/module/manager/syncmanager/events/EventsGraphQLClient.js +2 -0
- package/lib/module/manager/syncmanager/events/EventsGraphQLClient.js.map +1 -0
- package/lib/module/manager/syncmanager/events/EventsSyncManager.js +247 -0
- package/lib/module/manager/syncmanager/events/EventsSyncManager.js.map +1 -0
- package/lib/module/manager/syncmanager/events/SyncHttpClient.js +63 -0
- package/lib/module/manager/syncmanager/events/SyncHttpClient.js.map +1 -0
- package/lib/module/models/DispatchModels.js +7 -0
- package/lib/module/models/DispatchModels.js.map +1 -0
- package/lib/module/models/ReasonCodes.js +2 -0
- package/lib/module/models/ReasonCodes.js.map +1 -0
- package/lib/module/models/auth.js +2 -0
- package/lib/module/models/auth.js.map +1 -0
- package/lib/module/models/execTasks/ETBaseModels.js +2 -0
- package/lib/module/models/execTasks/ETBaseModels.js.map +1 -0
- package/lib/module/models/execTasks/ETConfig.js +104 -0
- package/lib/module/models/execTasks/ETConfig.js.map +1 -0
- package/lib/module/models/execution.js +2 -0
- package/lib/module/models/execution.js.map +1 -0
- package/lib/module/models/fcm.js +2 -0
- package/lib/module/models/fcm.js.map +1 -0
- package/lib/module/models/sdk.js +8 -0
- package/lib/module/models/sdk.js.map +1 -0
- package/lib/module/native/signature/SignatureCapture.js +80 -0
- package/lib/module/native/signature/SignatureCapture.js.map +1 -0
- package/lib/module/network/GraphQLClient.js +132 -0
- package/lib/module/network/GraphQLClient.js.map +1 -0
- package/lib/module/network/NetworkClient.js +42 -0
- package/lib/module/network/NetworkClient.js.map +1 -0
- package/lib/module/network/NetworkUtils.js +23 -0
- package/lib/module/network/NetworkUtils.js.map +1 -0
- package/lib/module/network/Queries.js +42 -0
- package/lib/module/network/Queries.js.map +1 -0
- package/lib/module/network/client.js +74 -0
- package/lib/module/network/client.js.map +1 -0
- package/lib/module/res/strings.js +2 -0
- package/lib/module/res/strings.js.map +1 -0
- package/lib/module/resources/Login.js +42 -0
- package/lib/module/resources/Login.js.map +1 -0
- package/lib/module/resources/network.js +18 -0
- package/lib/module/resources/network.js.map +1 -0
- package/lib/module/styles/SdkColors.js +22 -0
- package/lib/module/styles/SdkColors.js.map +1 -0
- package/lib/module/styles/executionTasks/CommonStyles.js +146 -0
- package/lib/module/styles/executionTasks/CommonStyles.js.map +1 -0
- package/lib/module/ui/screens/CancellationScreen.js +41 -0
- package/lib/module/ui/screens/CancellationScreen.js.map +1 -0
- package/lib/module/ui/screens/CaptureInputScreen.js +52 -0
- package/lib/module/ui/screens/CaptureInputScreen.js.map +1 -0
- package/lib/module/ui/screens/CompleteObjectiveScreen.js +42 -0
- package/lib/module/ui/screens/CompleteObjectiveScreen.js.map +1 -0
- package/lib/module/ui/screens/DeliverScreen.js +53 -0
- package/lib/module/ui/screens/DeliverScreen.js.map +1 -0
- package/lib/module/ui/screens/DisplayScreen.js +27 -0
- package/lib/module/ui/screens/DisplayScreen.js.map +1 -0
- package/lib/module/ui/screens/DoodleScreen.js +56 -0
- package/lib/module/ui/screens/DoodleScreen.js.map +1 -0
- package/lib/module/ui/screens/DropCashScreen.js +67 -0
- package/lib/module/ui/screens/DropCashScreen.js.map +1 -0
- package/lib/module/ui/screens/ETScreensIndex.js +17 -0
- package/lib/module/ui/screens/ETScreensIndex.js.map +1 -0
- package/lib/module/ui/screens/FormsScreen.js +28 -0
- package/lib/module/ui/screens/FormsScreen.js.map +1 -0
- package/lib/module/ui/screens/GeofenceScreen.js +30 -0
- package/lib/module/ui/screens/GeofenceScreen.js.map +1 -0
- package/lib/module/ui/screens/HttpRequestScreen.js +23 -0
- package/lib/module/ui/screens/HttpRequestScreen.js.map +1 -0
- package/lib/module/ui/screens/ImageCaptureScreen.js +27 -0
- package/lib/module/ui/screens/ImageCaptureScreen.js.map +1 -0
- package/lib/module/ui/screens/PaymentScreen.js +119 -0
- package/lib/module/ui/screens/PaymentScreen.js.map +1 -0
- package/lib/module/ui/screens/PickupScreen.js +32 -0
- package/lib/module/ui/screens/PickupScreen.js.map +1 -0
- package/lib/module/ui/screens/RTScanScreen.js +93 -0
- package/lib/module/ui/screens/RTScanScreen.js.map +1 -0
- package/lib/module/ui/screens/StartWorkFlowScreen.js +105 -0
- package/lib/module/ui/screens/StartWorkFlowScreen.js.map +1 -0
- package/lib/module/ui/screens/WithBaseDispatchScreen.js +35 -0
- package/lib/module/ui/screens/WithBaseDispatchScreen.js.map +1 -0
- package/lib/module/ui/uiConfig/RouteParams.js +9 -0
- package/lib/module/ui/uiConfig/RouteParams.js.map +1 -0
- package/lib/module/utils/ExecTaskUtils.js +93 -0
- package/lib/module/utils/ExecTaskUtils.js.map +1 -0
- package/lib/module/utils/Logger.js +97 -0
- package/lib/module/utils/Logger.js.map +1 -0
- package/lib/module/utils/NetworkUtil.js +54 -0
- package/lib/module/utils/NetworkUtil.js.map +1 -0
- package/lib/module/utils/SdkUtils.js +103 -0
- package/lib/module/utils/SdkUtils.js.map +1 -0
- package/lib/module/utils/SyncManagerUtils.js +93 -0
- package/lib/module/utils/SyncManagerUtils.js.map +1 -0
- package/lib/module/utils/fcm/FCM.js +36 -0
- package/lib/module/utils/fcm/FCM.js.map +1 -0
- package/lib/module/utils/fcm/FcmUtils.js +68 -0
- package/lib/module/utils/fcm/FcmUtils.js.map +1 -0
- package/lib/module/utils/helper.js +27 -0
- package/lib/module/utils/helper.js.map +1 -0
- package/lib/module/utils/loginHelper.js +60 -0
- package/lib/module/utils/loginHelper.js.map +1 -0
- package/lib/module/utils/storage.js +142 -0
- package/lib/module/utils/storage.js.map +1 -0
- package/lib/module/utils/test.json +17 -0
- package/lib/module/utils/utils.js +24 -0
- package/lib/module/utils/utils.js.map +1 -0
- package/lib/typescript/components/dispatch/DispatchExecNavigator.d.ts +5 -0
- package/lib/typescript/components/executiontasks/CompletedWFSchema.d.ts +18 -0
- package/lib/typescript/components/executiontasks/ExecutionTasksIndex.d.ts +42 -0
- package/lib/typescript/components/executiontasks/cancellation/CancelET.d.ts +4 -0
- package/lib/typescript/components/executiontasks/cancellation/CancellationSchema.d.ts +12 -0
- package/lib/typescript/components/executiontasks/captureInput/CaptureInputSchema.d.ts +43 -0
- package/lib/typescript/components/executiontasks/captureInput/CaptureText.d.ts +4 -0
- package/lib/typescript/components/executiontasks/deliver/DeliverET.d.ts +4 -0
- package/lib/typescript/components/executiontasks/deliver/DeliverETInput.d.ts +42 -0
- package/lib/typescript/components/executiontasks/deliver/SLDeliverET.d.ts +8 -0
- package/lib/typescript/components/executiontasks/display/DisplayModalET.d.ts +4 -0
- package/lib/typescript/components/executiontasks/display/DisplaySchema.d.ts +23 -0
- package/lib/typescript/components/executiontasks/doodle/DoodleUtils.d.ts +3 -0
- package/lib/typescript/components/executiontasks/doodle/SignatureET.d.ts +4 -0
- package/lib/typescript/components/executiontasks/doodle/SignatureSchema.d.ts +48 -0
- package/lib/typescript/components/executiontasks/dropCash/DropCashET.d.ts +4 -0
- package/lib/typescript/components/executiontasks/dropCash/DropCashSchema.d.ts +17 -0
- package/lib/typescript/components/executiontasks/dropCash/SLDropCash.d.ts +4 -0
- package/lib/typescript/components/executiontasks/forms/FormGenerator.d.ts +4 -0
- package/lib/typescript/components/executiontasks/forms/FormSchema.d.ts +24 -0
- package/lib/typescript/components/executiontasks/forms/widgets/DateTimeWidget.d.ts +11 -0
- package/lib/typescript/components/executiontasks/forms/widgets/QRBarcodeScannerWidget.d.ts +8 -0
- package/lib/typescript/components/executiontasks/forms/widgets/TimeRangeSelector.d.ts +4 -0
- package/lib/typescript/components/executiontasks/httpRequest/HttpEtUtils.d.ts +4 -0
- package/lib/typescript/components/executiontasks/httpRequest/HttpRequestET.d.ts +4 -0
- package/lib/typescript/components/executiontasks/httpRequest/HttpRequestETSchema.d.ts +36 -0
- package/lib/typescript/components/executiontasks/imageCapture/CaptureSchema.d.ts +79 -0
- package/lib/typescript/components/executiontasks/imageCapture/CaptureUtils.d.ts +9 -0
- package/lib/typescript/components/executiontasks/imageCapture/ImageCapture.d.ts +4 -0
- package/lib/typescript/components/executiontasks/payments/PaymentStyles.d.ts +78 -0
- package/lib/typescript/components/executiontasks/payments/PaymentUtils.d.ts +2 -0
- package/lib/typescript/components/executiontasks/payments/completePayment/CompletePaymentET.d.ts +4 -0
- package/lib/typescript/components/executiontasks/payments/completePayment/CompletePaymentSchema.d.ts +18 -0
- package/lib/typescript/components/executiontasks/payments/init/InitPaymentET.d.ts +4 -0
- package/lib/typescript/components/executiontasks/payments/init/InitPaymentSchema.d.ts +31 -0
- package/lib/typescript/components/executiontasks/payments/processPayment/ProcessPaymentET.d.ts +4 -0
- package/lib/typescript/components/executiontasks/payments/processPayment/ProcessPaymentSchema.d.ts +33 -0
- package/lib/typescript/components/executiontasks/pickup/PickpSchema.d.ts +25 -0
- package/lib/typescript/components/executiontasks/pickup/PickupET.d.ts +4 -0
- package/lib/typescript/components/executiontasks/pickup/SLPickupET.d.ts +8 -0
- package/lib/typescript/components/executiontasks/scanner/CScanner.d.ts +7 -0
- package/lib/typescript/components/executiontasks/scanner/ScannerSchema.d.ts +75 -0
- package/lib/typescript/components/executiontasks/scanner/ScannerUtils.d.ts +15 -0
- package/lib/typescript/components/executiontasks/scanner/returns/DropDownSelector.d.ts +3 -0
- package/lib/typescript/components/executiontasks/scanner/returns/DropDownUtils.d.ts +3 -0
- package/lib/typescript/components/executiontasks/scanner/returns/RTReasonSelection.d.ts +7 -0
- package/lib/typescript/components/executiontasks/scanner/returns/RTScan.d.ts +4 -0
- package/lib/typescript/components/executiontasks/scanner/returns/ReasonDropDown.d.ts +14 -0
- package/lib/typescript/components/executiontasks/scanner/returns/ScanList.d.ts +17 -0
- package/lib/typescript/components/executiontasks/verifyInput/VerifyInputSchema.d.ts +41 -0
- package/lib/typescript/components/executiontasks/verifyLocation/GeofenceUtils.d.ts +2 -0
- package/lib/typescript/components/executiontasks/verifyLocation/VerifyLocSchema.d.ts +50 -0
- package/lib/typescript/components/executiontasks/verifyLocation/VerifyLocationET.d.ts +4 -0
- package/lib/typescript/components/executiontasks/verifyOtp/VerifyOtpET.d.ts +4 -0
- package/lib/typescript/components/executiontasks/verifyOtp/VerifyOtpSchema.d.ts +21 -0
- package/lib/typescript/components/widgets/AlertDisplay.d.ts +1 -0
- package/lib/typescript/components/widgets/CancelOrderDialog.d.ts +13 -0
- package/lib/typescript/components/widgets/ProgressDialog.d.ts +7 -0
- package/lib/typescript/components/widgets/SnackBarCustom.d.ts +20 -0
- package/lib/typescript/components/widgets/Toaster.d.ts +1 -0
- package/lib/typescript/config/DispatchSDKConfig.d.ts +4 -0
- package/lib/typescript/constants/apiConstants.d.ts +3 -0
- package/lib/typescript/constants/constants.d.ts +9 -0
- package/lib/typescript/constants/statuscode.d.ts +7 -0
- package/lib/typescript/errors/BaseError.d.ts +10 -0
- package/lib/typescript/errors/ErrorCodes.d.ts +28 -0
- package/lib/typescript/index.d.ts +31 -0
- package/lib/typescript/manager/dispatch/DispatchStateContainer.d.ts +41 -0
- package/lib/typescript/manager/dispatchCodes/EventCodeContainer.d.ts +1 -0
- package/lib/typescript/manager/dispatchCodes/ReasonCodeContainer.d.ts +12 -0
- package/lib/typescript/manager/dispatchCodes/ReasonCodeRepo.d.ts +13 -0
- package/lib/typescript/manager/location/LocationManager.d.ts +14 -0
- package/lib/typescript/manager/sdk/DispatchSDKManager.d.ts +14 -0
- package/lib/typescript/manager/sdk/DispatchSdkCache.d.ts +17 -0
- package/lib/typescript/manager/syncmanager/AppSyncManager.d.ts +24 -0
- package/lib/typescript/manager/syncmanager/DBConfig.d.ts +77 -0
- package/lib/typescript/manager/syncmanager/NativeSyncManager.d.ts +6 -0
- package/lib/typescript/manager/syncmanager/database.d.ts +2 -0
- package/lib/typescript/manager/syncmanager/document/DocumentHttpClient.d.ts +9 -0
- package/lib/typescript/manager/syncmanager/document/DocumentManager.d.ts +15 -0
- package/lib/typescript/manager/syncmanager/document/DocumentSyncManager.d.ts +25 -0
- package/lib/typescript/manager/syncmanager/document/models.d.ts +4 -0
- package/lib/typescript/manager/syncmanager/events/ETEventsManager.d.ts +16 -0
- package/lib/typescript/manager/syncmanager/events/EventsGraphQLClient.d.ts +0 -0
- package/lib/typescript/manager/syncmanager/events/EventsSyncManager.d.ts +30 -0
- package/lib/typescript/manager/syncmanager/events/SyncHttpClient.d.ts +9 -0
- package/lib/typescript/models/DispatchModels.d.ts +17 -0
- package/lib/typescript/models/ReasonCodes.d.ts +6 -0
- package/lib/typescript/models/auth.d.ts +32 -0
- package/lib/typescript/models/execTasks/ETBaseModels.d.ts +81 -0
- package/lib/typescript/models/execTasks/ETConfig.d.ts +86 -0
- package/lib/typescript/models/execution.d.ts +9 -0
- package/lib/typescript/models/fcm.d.ts +3 -0
- package/lib/typescript/models/sdk.d.ts +24 -0
- package/lib/typescript/native/signature/SignatureCapture.d.ts +33 -0
- package/lib/typescript/network/GraphQLClient.d.ts +15 -0
- package/lib/typescript/network/NetworkClient.d.ts +8 -0
- package/lib/typescript/network/NetworkUtils.d.ts +11 -0
- package/lib/typescript/network/Queries.d.ts +5 -0
- package/lib/typescript/network/client.d.ts +8 -0
- package/lib/typescript/res/strings.d.ts +1 -0
- package/lib/typescript/resources/Login.d.ts +14 -0
- package/lib/typescript/resources/network.d.ts +7 -0
- package/lib/typescript/styles/SdkColors.d.ts +16 -0
- package/lib/typescript/styles/executionTasks/CommonStyles.d.ts +140 -0
- package/lib/typescript/ui/screens/CancellationScreen.d.ts +3 -0
- package/lib/typescript/ui/screens/CaptureInputScreen.d.ts +3 -0
- package/lib/typescript/ui/screens/CompleteObjectiveScreen.d.ts +3 -0
- package/lib/typescript/ui/screens/DeliverScreen.d.ts +3 -0
- package/lib/typescript/ui/screens/DisplayScreen.d.ts +3 -0
- package/lib/typescript/ui/screens/DoodleScreen.d.ts +3 -0
- package/lib/typescript/ui/screens/DropCashScreen.d.ts +3 -0
- package/lib/typescript/ui/screens/ETScreensIndex.d.ts +16 -0
- package/lib/typescript/ui/screens/FormsScreen.d.ts +3 -0
- package/lib/typescript/ui/screens/GeofenceScreen.d.ts +3 -0
- package/lib/typescript/ui/screens/HttpRequestScreen.d.ts +3 -0
- package/lib/typescript/ui/screens/ImageCaptureScreen.d.ts +3 -0
- package/lib/typescript/ui/screens/PaymentScreen.d.ts +3 -0
- package/lib/typescript/ui/screens/PickupScreen.d.ts +3 -0
- package/lib/typescript/ui/screens/RTScanScreen.d.ts +3 -0
- package/lib/typescript/ui/screens/StartWorkFlowScreen.d.ts +3 -0
- package/lib/typescript/ui/screens/WithBaseDispatchScreen.d.ts +3 -0
- package/lib/typescript/ui/uiConfig/RouteParams.d.ts +8 -0
- package/lib/typescript/utils/ExecTaskUtils.d.ts +7 -0
- package/lib/typescript/utils/Logger.d.ts +22 -0
- package/lib/typescript/utils/NetworkUtil.d.ts +14 -0
- package/lib/typescript/utils/SdkUtils.d.ts +25 -0
- package/lib/typescript/utils/SyncManagerUtils.d.ts +10 -0
- package/lib/typescript/utils/fcm/FCM.d.ts +8 -0
- package/lib/typescript/utils/fcm/FcmUtils.d.ts +5 -0
- package/lib/typescript/utils/helper.d.ts +14 -0
- package/lib/typescript/utils/loginHelper.d.ts +13 -0
- package/lib/typescript/utils/storage.d.ts +49 -0
- package/lib/typescript/utils/utils.d.ts +3 -0
- package/package.json +254 -0
- package/tsconfig.build.json +4 -0
- package/tsconfig.json +31 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["ExecutionTaskID","ExecutionTaskName","CustomScreens","EntityCode","BaseEventCodes","FinalETName"],"sources":["ETConfig.ts"],"sourcesContent":["export enum ExecutionTaskID {\n DELIVER = 'etask:dcac5d49-c54c-5c38-a780-ad2e9ba5e2e2',\n DOODLE = 'etask:cea7c9a7-3ee7-52e9-ab3e-82849675d745',\n COMPLETED_FAILURE = 'etask:e04ab83d-2a02-5970-ade9-e2a8a879b200',\n COMPLETED_SUCCESS = 'etask:134e93b4-49a8-59b9-bc6c-7bd9045728ff',\n CAPTURE_INPUT = 'etask:7b5637cc-570e-5c9d-b184-ecfbbd7c198d',\n START_WORKFLOW = 'etask:952f3754-12e8-5ff2-93a8-aca383d18e56',\n FORMS = 'etask:80446347-ede5-5cf9-8e56-b3d59fda4b5c',\n IMAGE_CAPTURE = 'etask:9370d00a-8d84-5bf9-94bb-cd8cc73eeeec',\n INIT_PAYMENT = 'etask:4eb8d36b-6762-5c53-aca6-95b1f4e3aa3f',\n PROCESS_PAYMENT = 'etask:9a559375-02a5-50fe-9ce4-0a36df6f324e',\n COMPLETE_PAYMENT = 'etask:0e6c7bd7-c9ab-5b82-85b2-a054249bc1f1',\n PICKUP = 'etask:04d2414c-ddc1-552e-af02-78073dbb8ff7',\n SCAN = 'etask:28cba55d-2aad-5568-863a-9e7e645f8c7b',\n VERIFY_LOCATION = 'etask:7f3897da-3a1f-5736-b8e5-5d9f131b13cd',\n DISPLAY = 'etask:574ff9b0-c49c-5eb5-b550-8548ae0cab44',\n VERIFY_INPUT = 'etask:6fc10a60-a144-5798-97f3-1f12e77f56e2',\n DELIVER_CASH = 'etask:2fffdf62-62b3-5e70-bd9e-d4d2644ee2fe',\n HTTP_REQUEST_ET = 'etask:e148b862-8368-5586-b29d-1eda95ffc8c4',\n}\n\nexport enum ExecutionTaskName {\n DELIVER = 'Deliver',\n DOODLE = 'Signature',\n COMPLETED_FAILURE = 'Please wait...',\n COMPLETED_SUCCESS = 'Please wait...',\n CAPTURE_INPUT = 'Form',\n START_WORKFLOW = 'Please wait...',\n FORMS = 'Form',\n IMAGE_CAPTURE = 'Capture Image',\n INIT_PAYMENT = 'Payment',\n PROCESS_PAYMENT = 'Processing Payment',\n COMPLETE_PAYMENT = 'Completing Payment',\n PICKUP = 'Pickup',\n SCAN = 'Scan',\n VERIFY_LOCATION = 'Verify Location',\n DISPLAY = 'Display',\n VERIFY_INPUT = 'Verifying Input',\n DELIVER_CASH = 'Drop Cash',\n HTTP_REQUEST_ET = 'Network Request',\n}\n\nexport enum CustomScreens {\n REMARK_SCREEN = 'REMARKS_SCREEN',\n}\nexport enum EntityCode {\n DELIVER = '0010',\n DOODLE = '0014',\n COMPLETED_FAILURE = '0008',\n COMPLETED_SUCCESS = '0007',\n CAPTURE_INPUT = '0012',\n START_WORKFLOW = '0006',\n FORMS = '0015',\n IMAGE_CAPTURE = '0011',\n INIT_PAYMENT = '0017',\n PROCESS_PAYMENT = '0018',\n COMPLETE_PAYMENT = '0019',\n PICKUP = '0009',\n SCAN = '0016',\n VERIFY_LOCATION = '0021',\n DISPLAY = '0013',\n VERIFY_INPUT = '0020',\n DELIVER_CASH = '0022',\n HTTP_REQUEST_ET = '0023', //todo change Entity ID here\n}\n\nexport enum BaseEventCodes {\n ENTITY_SUCCESS = 'E-010',\n ENTITY_FAILURE = 'E-011',\n}\n\nexport enum FinalETName {\n DELIVER = 'Deliver',\n DOODLE = 'Doodle',\n COMPLETED_FAILURE = 'Completed-Failure',\n COMPLETED_SUCCESS = 'Completed-Success',\n CAPTURE_INPUT = 'etask:7b5637cc-570e-5c9d-b184-ecfbbd7c198d',\n START_WORKFLOW = 'Start',\n FORMS = 'Form',\n IMAGE_CAPTURE = 'etask:9370d00a-8d84-5bf9-94bb-cd8cc73eeeec',\n INIT_PAYMENT = 'etask:4eb8d36b-6762-5c53-aca6-95b1f4e3aa3f',\n PROCESS_PAYMENT = 'etask:9a559375-02a5-50fe-9ce4-0a36df6f324e',\n COMPLETE_PAYMENT = 'etask:0e6c7bd7-c9ab-5b82-85b2-a054249bc1f1',\n PICKUP = 'Pickup',\n SCAN = 'Scan',\n VERIFY_LOCATION = 'etask:7f3897da-3a1f-5736-b8e5-5d9f131b13cd',\n DISPLAY = 'etask:574ff9b0-c49c-5eb5-b550-8548ae0cab44',\n VERIFY_INPUT = 'etask:6fc10a60-a144-5798-97f3-1f12e77f56e2',\n DELIVER_CASH = 'etask:2fffdf62-62b3-5e70-bd9e-d4d2644ee2fe',\n}\n"],"mappings":"AAAA,WAAYA,eAAZ;;WAAYA,e;EAAAA,e;EAAAA,e;EAAAA,e;EAAAA,e;EAAAA,e;EAAAA,e;EAAAA,e;EAAAA,e;EAAAA,e;EAAAA,e;EAAAA,e;EAAAA,e;EAAAA,e;EAAAA,e;EAAAA,e;EAAAA,e;EAAAA,e;EAAAA,e;GAAAA,e,KAAAA,e;;AAqBZ,WAAYC,iBAAZ;;WAAYA,iB;EAAAA,iB;EAAAA,iB;EAAAA,iB;EAAAA,iB;EAAAA,iB;EAAAA,iB;EAAAA,iB;EAAAA,iB;EAAAA,iB;EAAAA,iB;EAAAA,iB;EAAAA,iB;EAAAA,iB;EAAAA,iB;EAAAA,iB;EAAAA,iB;EAAAA,iB;EAAAA,iB;GAAAA,iB,KAAAA,iB;;AAqBZ,WAAYC,aAAZ;;WAAYA,a;EAAAA,a;GAAAA,a,KAAAA,a;;AAGZ,WAAYC,UAAZ;;WAAYA,U;EAAAA,U;EAAAA,U;EAAAA,U;EAAAA,U;EAAAA,U;EAAAA,U;EAAAA,U;EAAAA,U;EAAAA,U;EAAAA,U;EAAAA,U;EAAAA,U;EAAAA,U;EAAAA,U;EAAAA,U;EAAAA,U;EAAAA,U;EAAAA,U;GAAAA,U,KAAAA,U;;AAqBZ,WAAYC,cAAZ;;WAAYA,c;EAAAA,c;EAAAA,c;GAAAA,c,KAAAA,c;;AAKZ,WAAYC,WAAZ;;WAAYA,W;EAAAA,W;EAAAA,W;EAAAA,W;EAAAA,W;EAAAA,W;EAAAA,W;EAAAA,W;EAAAA,W;EAAAA,W;EAAAA,W;EAAAA,W;EAAAA,W;EAAAA,W;EAAAA,W;EAAAA,W;EAAAA,W;EAAAA,W;GAAAA,W,KAAAA,W"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sources":["execution.ts"],"sourcesContent":["export interface DisplayProps {\n message: string;\n primaryButtonName: string;\n primaryButtonAction?: () => void;\n displayType: string;\n uri?: string;\n secondaryButtonName?: string;\n secondaryButtonAction?: () => void;\n}\n"],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sources":["fcm.ts"],"sourcesContent":["export interface messageReceived {\n (message: object): void;\n}\n"],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["ENVIRONMENT"],"sources":["sdk.ts"],"sourcesContent":["export interface DispatchSDKConfig {\n tenantID: string;\n userID: string;\n userName: string;\n tenantBaseURL: string;\n enableLogging?: boolean;\n syncRetryCount?: number;\n accessToken: string;\n sentry?: {\n env: ENVIRONMENT;\n enabled: boolean;\n dsn?: string;\n };\n notificationConfig?: {\n title: string;\n description: string;\n interval: number;\n };\n}\n\nexport enum ENVIRONMENT {\n DEV = 'dev',\n PRE_PROD = 'preprod',\n PROD = 'prod',\n}\n"],"mappings":"AAoBA,WAAYA,WAAZ;;WAAYA,W;EAAAA,W;EAAAA,W;EAAAA,W;GAAAA,W,KAAAA,W"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
3
|
+
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; }
|
|
4
|
+
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import { DeviceEventEmitter, findNodeHandle, requireNativeComponent, UIManager } from 'react-native';
|
|
7
|
+
const RSSignatureView = requireNativeComponent('RSSignatureView');
|
|
8
|
+
|
|
9
|
+
class SignatureCapture extends React.Component {
|
|
10
|
+
constructor(props) {
|
|
11
|
+
super(props);
|
|
12
|
+
|
|
13
|
+
_defineProperty(this, "subscriptions", void 0);
|
|
14
|
+
|
|
15
|
+
this.onChange = this.onChange.bind(this);
|
|
16
|
+
this.subscriptions = [];
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
onChange(event) {
|
|
20
|
+
if (event.nativeEvent.encoded) {
|
|
21
|
+
if (!this.props.onSaveEvent) {
|
|
22
|
+
return;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
this.props.onSaveEvent({
|
|
26
|
+
encoded: event.nativeEvent.encoded
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
if (event.nativeEvent.dragged) {
|
|
31
|
+
if (!this.props.onDragEvent) {
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
this.props.onDragEvent({
|
|
36
|
+
dragged: event.nativeEvent.dragged
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
componentDidMount() {
|
|
42
|
+
if (this.props.onSaveEvent) {
|
|
43
|
+
let sub = DeviceEventEmitter.addListener('onSaveEvent', this.props.onSaveEvent);
|
|
44
|
+
this.subscriptions.push(sub);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
if (this.props.onDragEvent) {
|
|
48
|
+
let sub = DeviceEventEmitter.addListener('onDragEvent', this.props.onDragEvent);
|
|
49
|
+
this.subscriptions.push(sub);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
componentWillUnmount() {
|
|
54
|
+
this.subscriptions.forEach(sub => sub.remove());
|
|
55
|
+
this.subscriptions = [];
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
render() {
|
|
59
|
+
return /*#__PURE__*/React.createElement(RSSignatureView, _extends({
|
|
60
|
+
style: {
|
|
61
|
+
flex: 1
|
|
62
|
+
}
|
|
63
|
+
}, this.props, {
|
|
64
|
+
// @ts-ignore
|
|
65
|
+
onChange: this.onChange
|
|
66
|
+
}));
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
saveImage() {
|
|
70
|
+
UIManager.dispatchViewManagerCommand(findNodeHandle(this), UIManager.getViewManagerConfig('RSSignatureView').Commands.saveImage, []);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
resetImage() {
|
|
74
|
+
UIManager.dispatchViewManagerCommand(findNodeHandle(this), UIManager.getViewManagerConfig('RSSignatureView').Commands.resetImage, []);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export default SignatureCapture;
|
|
80
|
+
//# sourceMappingURL=SignatureCapture.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","DeviceEventEmitter","findNodeHandle","requireNativeComponent","UIManager","RSSignatureView","SignatureCapture","Component","constructor","props","onChange","bind","subscriptions","event","nativeEvent","encoded","onSaveEvent","dragged","onDragEvent","componentDidMount","sub","addListener","push","componentWillUnmount","forEach","remove","render","flex","saveImage","dispatchViewManagerCommand","getViewManagerConfig","Commands","resetImage"],"sources":["SignatureCapture.tsx"],"sourcesContent":["import React from 'react';\nimport {\n DeviceEventEmitter,\n findNodeHandle,\n requireNativeComponent,\n UIManager,\n ViewProps,\n} from 'react-native';\n\nconst RSSignatureView = requireNativeComponent('RSSignatureView');\n\nclass SignatureCapture extends React.Component<SignatureProps, any> {\n subscriptions: any[];\n constructor(props: SignatureProps) {\n super(props);\n this.onChange = this.onChange.bind(this);\n this.subscriptions = [];\n }\n\n onChange(event: any) {\n if (event.nativeEvent.encoded) {\n if (!this.props.onSaveEvent) {\n return;\n }\n this.props.onSaveEvent({\n encoded: event.nativeEvent.encoded,\n });\n }\n\n if (event.nativeEvent.dragged) {\n if (!this.props.onDragEvent) {\n return;\n }\n this.props.onDragEvent({\n dragged: event.nativeEvent.dragged,\n });\n }\n }\n\n componentDidMount() {\n if (this.props.onSaveEvent) {\n let sub = DeviceEventEmitter.addListener(\n 'onSaveEvent',\n this.props.onSaveEvent\n );\n this.subscriptions.push(sub);\n }\n\n if (this.props.onDragEvent) {\n let sub = DeviceEventEmitter.addListener(\n 'onDragEvent',\n this.props.onDragEvent\n );\n this.subscriptions.push(sub);\n }\n }\n\n componentWillUnmount() {\n this.subscriptions.forEach((sub) => sub.remove());\n this.subscriptions = [];\n }\n\n render() {\n return (\n <RSSignatureView\n style={{ flex: 1 }}\n {...this.props} // @ts-ignore\n onChange={this.onChange}\n />\n );\n }\n\n saveImage() {\n UIManager.dispatchViewManagerCommand(\n findNodeHandle(this),\n UIManager.getViewManagerConfig('RSSignatureView').Commands.saveImage,\n []\n );\n }\n\n resetImage() {\n UIManager.dispatchViewManagerCommand(\n findNodeHandle(this),\n UIManager.getViewManagerConfig('RSSignatureView').Commands.resetImage,\n []\n );\n }\n}\n\nexport type SignatureProps = ViewProps & {\n rotateClockwise: boolean;\n square: boolean;\n viewMode: string;\n showBorder: boolean;\n showNativeButtons: boolean;\n showTitleLabel: boolean;\n maxSize: number;\n minStrokeWidth: number;\n maxStrokeWidth: number;\n strokeColor: string;\n backgroundColor: string;\n onSaveEvent: (result: SignatureResponse) => void;\n onDragEvent: ({ dragged }: { dragged: boolean }) => void;\n};\n\nexport interface SignatureResponse {\n encoded: string;\n}\n\nexport default SignatureCapture;\n"],"mappings":";;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,SACEC,kBADF,EAEEC,cAFF,EAGEC,sBAHF,EAIEC,SAJF,QAMO,cANP;AAQA,MAAMC,eAAe,GAAGF,sBAAsB,CAAC,iBAAD,CAA9C;;AAEA,MAAMG,gBAAN,SAA+BN,KAAK,CAACO,SAArC,CAAoE;EAElEC,WAAW,CAACC,KAAD,EAAwB;IACjC,MAAMA,KAAN;;IADiC;;IAEjC,KAAKC,QAAL,GAAgB,KAAKA,QAAL,CAAcC,IAAd,CAAmB,IAAnB,CAAhB;IACA,KAAKC,aAAL,GAAqB,EAArB;EACD;;EAEDF,QAAQ,CAACG,KAAD,EAAa;IACnB,IAAIA,KAAK,CAACC,WAAN,CAAkBC,OAAtB,EAA+B;MAC7B,IAAI,CAAC,KAAKN,KAAL,CAAWO,WAAhB,EAA6B;QAC3B;MACD;;MACD,KAAKP,KAAL,CAAWO,WAAX,CAAuB;QACrBD,OAAO,EAAEF,KAAK,CAACC,WAAN,CAAkBC;MADN,CAAvB;IAGD;;IAED,IAAIF,KAAK,CAACC,WAAN,CAAkBG,OAAtB,EAA+B;MAC7B,IAAI,CAAC,KAAKR,KAAL,CAAWS,WAAhB,EAA6B;QAC3B;MACD;;MACD,KAAKT,KAAL,CAAWS,WAAX,CAAuB;QACrBD,OAAO,EAAEJ,KAAK,CAACC,WAAN,CAAkBG;MADN,CAAvB;IAGD;EACF;;EAEDE,iBAAiB,GAAG;IAClB,IAAI,KAAKV,KAAL,CAAWO,WAAf,EAA4B;MAC1B,IAAII,GAAG,GAAGnB,kBAAkB,CAACoB,WAAnB,CACR,aADQ,EAER,KAAKZ,KAAL,CAAWO,WAFH,CAAV;MAIA,KAAKJ,aAAL,CAAmBU,IAAnB,CAAwBF,GAAxB;IACD;;IAED,IAAI,KAAKX,KAAL,CAAWS,WAAf,EAA4B;MAC1B,IAAIE,GAAG,GAAGnB,kBAAkB,CAACoB,WAAnB,CACR,aADQ,EAER,KAAKZ,KAAL,CAAWS,WAFH,CAAV;MAIA,KAAKN,aAAL,CAAmBU,IAAnB,CAAwBF,GAAxB;IACD;EACF;;EAEDG,oBAAoB,GAAG;IACrB,KAAKX,aAAL,CAAmBY,OAAnB,CAA4BJ,GAAD,IAASA,GAAG,CAACK,MAAJ,EAApC;IACA,KAAKb,aAAL,GAAqB,EAArB;EACD;;EAEDc,MAAM,GAAG;IACP,oBACE,oBAAC,eAAD;MACE,KAAK,EAAE;QAAEC,IAAI,EAAE;MAAR;IADT,GAEM,KAAKlB,KAFX;MAEkB;MAChB,QAAQ,EAAE,KAAKC;IAHjB,GADF;EAOD;;EAEDkB,SAAS,GAAG;IACVxB,SAAS,CAACyB,0BAAV,CACE3B,cAAc,CAAC,IAAD,CADhB,EAEEE,SAAS,CAAC0B,oBAAV,CAA+B,iBAA/B,EAAkDC,QAAlD,CAA2DH,SAF7D,EAGE,EAHF;EAKD;;EAEDI,UAAU,GAAG;IACX5B,SAAS,CAACyB,0BAAV,CACE3B,cAAc,CAAC,IAAD,CADhB,EAEEE,SAAS,CAAC0B,oBAAV,CAA+B,iBAA/B,EAAkDC,QAAlD,CAA2DC,UAF7D,EAGE,EAHF;EAKD;;AA3EiE;;AAkGpE,eAAe1B,gBAAf"}
|
|
@@ -0,0 +1,132 @@
|
|
|
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
|
+
import { ApolloClient, InMemoryCache } from '@apollo/client';
|
|
4
|
+
import ErrorCodes from '../errors/ErrorCodes';
|
|
5
|
+
import { BaseError } from '../errors/BaseError';
|
|
6
|
+
import { CREATE_FMS_FOLDER, CUSTODY_IN, CUSTODY_OUT, FETCH_REASONS, WORKFLOW_UPDATE } from './Queries';
|
|
7
|
+
import { getHeaders } from './NetworkUtils';
|
|
8
|
+
export default class GraphQLClient {
|
|
9
|
+
constructor(baseURL) {
|
|
10
|
+
_defineProperty(this, "client", null);
|
|
11
|
+
|
|
12
|
+
this.client = new ApolloClient({
|
|
13
|
+
uri: baseURL + '/graphql',
|
|
14
|
+
cache: new InMemoryCache()
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static init(baseURL) {
|
|
19
|
+
if (!GraphQLClient.instance) {
|
|
20
|
+
GraphQLClient.instance = new GraphQLClient(baseURL);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
return GraphQLClient.instance;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
static getInstance() {
|
|
27
|
+
if (!GraphQLClient.instance) {
|
|
28
|
+
throw new BaseError(ErrorCodes.GRAPHQL_CLIENT_NOT_INITIALIZED, 'Client is not initialized');
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
return GraphQLClient.instance;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
async fetchReasonCodes() {
|
|
35
|
+
var _this$client;
|
|
36
|
+
|
|
37
|
+
return (_this$client = this.client) === null || _this$client === void 0 ? void 0 : _this$client.query({
|
|
38
|
+
query: FETCH_REASONS,
|
|
39
|
+
variables: {
|
|
40
|
+
offset: '1',
|
|
41
|
+
limit: '500'
|
|
42
|
+
},
|
|
43
|
+
fetchPolicy: 'network-only',
|
|
44
|
+
context: {
|
|
45
|
+
headers: await getHeaders(API_CONTENT_TYPES.APPLICATION_JSON)
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
async createFmsFolder(folderName, desc) {
|
|
51
|
+
var _this$client2;
|
|
52
|
+
|
|
53
|
+
const gRequest = {
|
|
54
|
+
name: folderName,
|
|
55
|
+
description: desc
|
|
56
|
+
};
|
|
57
|
+
return (_this$client2 = this.client) === null || _this$client2 === void 0 ? void 0 : _this$client2.mutate({
|
|
58
|
+
mutation: CREATE_FMS_FOLDER,
|
|
59
|
+
variables: {
|
|
60
|
+
input: gRequest
|
|
61
|
+
},
|
|
62
|
+
context: {
|
|
63
|
+
headers: await getHeaders(API_CONTENT_TYPES.APPLICATION_JSON)
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
async postCustodyIn(data, dspID) {
|
|
69
|
+
var _this$client3;
|
|
70
|
+
|
|
71
|
+
for (const d of data) delete d.dispatchId;
|
|
72
|
+
|
|
73
|
+
return (_this$client3 = this.client) === null || _this$client3 === void 0 ? void 0 : _this$client3.mutate({
|
|
74
|
+
mutation: CUSTODY_IN,
|
|
75
|
+
variables: {
|
|
76
|
+
input: {
|
|
77
|
+
dispatchId: dspID,
|
|
78
|
+
data: data
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
context: {
|
|
82
|
+
headers: await getHeaders(API_CONTENT_TYPES.APPLICATION_JSON)
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
async postCustodyOut(data, dspID) {
|
|
88
|
+
var _this$client4;
|
|
89
|
+
|
|
90
|
+
for (const d of data) delete d.dispatchId;
|
|
91
|
+
|
|
92
|
+
return (_this$client4 = this.client) === null || _this$client4 === void 0 ? void 0 : _this$client4.mutate({
|
|
93
|
+
mutation: CUSTODY_OUT,
|
|
94
|
+
variables: {
|
|
95
|
+
input: {
|
|
96
|
+
dispatchId: dspID,
|
|
97
|
+
data: data
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
context: {
|
|
101
|
+
headers: await getHeaders(API_CONTENT_TYPES.APPLICATION_JSON)
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
async postWorkflowUpdate(data, workflowId) {
|
|
107
|
+
var _this$client5;
|
|
108
|
+
|
|
109
|
+
return (_this$client5 = this.client) === null || _this$client5 === void 0 ? void 0 : _this$client5.mutate({
|
|
110
|
+
mutation: WORKFLOW_UPDATE,
|
|
111
|
+
variables: {
|
|
112
|
+
input: {
|
|
113
|
+
workflow: data,
|
|
114
|
+
workflowInstanceId: workflowId
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
context: {
|
|
118
|
+
headers: await getHeaders(API_CONTENT_TYPES.APPLICATION_JSON)
|
|
119
|
+
}
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
_defineProperty(GraphQLClient, "instance", void 0);
|
|
126
|
+
|
|
127
|
+
export let API_CONTENT_TYPES;
|
|
128
|
+
|
|
129
|
+
(function (API_CONTENT_TYPES) {
|
|
130
|
+
API_CONTENT_TYPES["APPLICATION_JSON"] = "application/json";
|
|
131
|
+
})(API_CONTENT_TYPES || (API_CONTENT_TYPES = {}));
|
|
132
|
+
//# sourceMappingURL=GraphQLClient.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["ApolloClient","InMemoryCache","ErrorCodes","BaseError","CREATE_FMS_FOLDER","CUSTODY_IN","CUSTODY_OUT","FETCH_REASONS","WORKFLOW_UPDATE","getHeaders","GraphQLClient","constructor","baseURL","client","uri","cache","init","instance","getInstance","GRAPHQL_CLIENT_NOT_INITIALIZED","fetchReasonCodes","query","variables","offset","limit","fetchPolicy","context","headers","API_CONTENT_TYPES","APPLICATION_JSON","createFmsFolder","folderName","desc","gRequest","name","description","mutate","mutation","input","postCustodyIn","data","dspID","d","dispatchId","postCustodyOut","postWorkflowUpdate","workflowId","workflow","workflowInstanceId"],"sources":["GraphQLClient.ts"],"sourcesContent":["import { ApolloClient, InMemoryCache } from '@apollo/client';\nimport ErrorCodes from '../errors/ErrorCodes';\nimport { BaseError } from '../errors/BaseError';\nimport {\n CREATE_FMS_FOLDER,\n CUSTODY_IN,\n CUSTODY_OUT,\n FETCH_REASONS,\n WORKFLOW_UPDATE,\n} from './Queries';\nimport { getHeaders } from './NetworkUtils';\n\nexport default class GraphQLClient {\n private static instance: GraphQLClient;\n private client: ApolloClient<any> | null = null;\n\n private constructor(baseURL: string) {\n this.client = new ApolloClient({\n uri: baseURL + '/graphql',\n cache: new InMemoryCache(),\n });\n }\n\n public static init(baseURL: string) {\n if (!GraphQLClient.instance) {\n GraphQLClient.instance = new GraphQLClient(baseURL);\n }\n return GraphQLClient.instance;\n }\n public static getInstance(): GraphQLClient {\n if (!GraphQLClient.instance) {\n throw new BaseError(\n ErrorCodes.GRAPHQL_CLIENT_NOT_INITIALIZED,\n 'Client is not initialized'\n );\n }\n return GraphQLClient.instance;\n }\n\n public async fetchReasonCodes() {\n return this.client?.query({\n query: FETCH_REASONS,\n variables: {\n offset: '1',\n limit: '500',\n },\n fetchPolicy: 'network-only',\n context: {\n headers: await getHeaders(API_CONTENT_TYPES.APPLICATION_JSON),\n },\n });\n }\n\n public async createFmsFolder(folderName: string, desc: string) {\n const gRequest = {\n name: folderName,\n description: desc,\n };\n return this.client?.mutate({\n mutation: CREATE_FMS_FOLDER,\n variables: {\n input: gRequest,\n },\n context: {\n headers: await getHeaders(API_CONTENT_TYPES.APPLICATION_JSON),\n },\n });\n }\n\n public async postCustodyIn(data: any[], dspID: string) {\n for (const d of data) delete d.dispatchId;\n return this.client?.mutate({\n mutation: CUSTODY_IN,\n variables: {\n input: { dispatchId: dspID, data: data },\n },\n context: {\n headers: await getHeaders(API_CONTENT_TYPES.APPLICATION_JSON),\n },\n });\n }\n public async postCustodyOut(data: any[], dspID: string) {\n for (const d of data) delete d.dispatchId;\n return this.client?.mutate({\n mutation: CUSTODY_OUT,\n variables: {\n input: {\n dispatchId: dspID,\n data: data,\n },\n },\n context: {\n headers: await getHeaders(API_CONTENT_TYPES.APPLICATION_JSON),\n },\n });\n }\n\n public async postWorkflowUpdate(data: any, workflowId: string) {\n return this.client?.mutate({\n mutation: WORKFLOW_UPDATE,\n variables: {\n input: { workflow: data, workflowInstanceId: workflowId },\n },\n context: {\n headers: await getHeaders(API_CONTENT_TYPES.APPLICATION_JSON),\n },\n });\n }\n}\nexport enum API_CONTENT_TYPES {\n APPLICATION_JSON = 'application/json',\n}\n"],"mappings":";;AAAA,SAASA,YAAT,EAAuBC,aAAvB,QAA4C,gBAA5C;AACA,OAAOC,UAAP,MAAuB,sBAAvB;AACA,SAASC,SAAT,QAA0B,qBAA1B;AACA,SACEC,iBADF,EAEEC,UAFF,EAGEC,WAHF,EAIEC,aAJF,EAKEC,eALF,QAMO,WANP;AAOA,SAASC,UAAT,QAA2B,gBAA3B;AAEA,eAAe,MAAMC,aAAN,CAAoB;EAIzBC,WAAW,CAACC,OAAD,EAAkB;IAAA,gCAFM,IAEN;;IACnC,KAAKC,MAAL,GAAc,IAAIb,YAAJ,CAAiB;MAC7Bc,GAAG,EAAEF,OAAO,GAAG,UADc;MAE7BG,KAAK,EAAE,IAAId,aAAJ;IAFsB,CAAjB,CAAd;EAID;;EAEiB,OAAJe,IAAI,CAACJ,OAAD,EAAkB;IAClC,IAAI,CAACF,aAAa,CAACO,QAAnB,EAA6B;MAC3BP,aAAa,CAACO,QAAd,GAAyB,IAAIP,aAAJ,CAAkBE,OAAlB,CAAzB;IACD;;IACD,OAAOF,aAAa,CAACO,QAArB;EACD;;EACwB,OAAXC,WAAW,GAAkB;IACzC,IAAI,CAACR,aAAa,CAACO,QAAnB,EAA6B;MAC3B,MAAM,IAAId,SAAJ,CACJD,UAAU,CAACiB,8BADP,EAEJ,2BAFI,CAAN;IAID;;IACD,OAAOT,aAAa,CAACO,QAArB;EACD;;EAE4B,MAAhBG,gBAAgB,GAAG;IAAA;;IAC9B,uBAAO,KAAKP,MAAZ,iDAAO,aAAaQ,KAAb,CAAmB;MACxBA,KAAK,EAAEd,aADiB;MAExBe,SAAS,EAAE;QACTC,MAAM,EAAE,GADC;QAETC,KAAK,EAAE;MAFE,CAFa;MAMxBC,WAAW,EAAE,cANW;MAOxBC,OAAO,EAAE;QACPC,OAAO,EAAE,MAAMlB,UAAU,CAACmB,iBAAiB,CAACC,gBAAnB;MADlB;IAPe,CAAnB,CAAP;EAWD;;EAE2B,MAAfC,eAAe,CAACC,UAAD,EAAqBC,IAArB,EAAmC;IAAA;;IAC7D,MAAMC,QAAQ,GAAG;MACfC,IAAI,EAAEH,UADS;MAEfI,WAAW,EAAEH;IAFE,CAAjB;IAIA,wBAAO,KAAKnB,MAAZ,kDAAO,cAAauB,MAAb,CAAoB;MACzBC,QAAQ,EAAEjC,iBADe;MAEzBkB,SAAS,EAAE;QACTgB,KAAK,EAAEL;MADE,CAFc;MAKzBP,OAAO,EAAE;QACPC,OAAO,EAAE,MAAMlB,UAAU,CAACmB,iBAAiB,CAACC,gBAAnB;MADlB;IALgB,CAApB,CAAP;EASD;;EAEyB,MAAbU,aAAa,CAACC,IAAD,EAAcC,KAAd,EAA6B;IAAA;;IACrD,KAAK,MAAMC,CAAX,IAAgBF,IAAhB,EAAsB,OAAOE,CAAC,CAACC,UAAT;;IACtB,wBAAO,KAAK9B,MAAZ,kDAAO,cAAauB,MAAb,CAAoB;MACzBC,QAAQ,EAAEhC,UADe;MAEzBiB,SAAS,EAAE;QACTgB,KAAK,EAAE;UAAEK,UAAU,EAAEF,KAAd;UAAqBD,IAAI,EAAEA;QAA3B;MADE,CAFc;MAKzBd,OAAO,EAAE;QACPC,OAAO,EAAE,MAAMlB,UAAU,CAACmB,iBAAiB,CAACC,gBAAnB;MADlB;IALgB,CAApB,CAAP;EASD;;EAC0B,MAAde,cAAc,CAACJ,IAAD,EAAcC,KAAd,EAA6B;IAAA;;IACtD,KAAK,MAAMC,CAAX,IAAgBF,IAAhB,EAAsB,OAAOE,CAAC,CAACC,UAAT;;IACtB,wBAAO,KAAK9B,MAAZ,kDAAO,cAAauB,MAAb,CAAoB;MACzBC,QAAQ,EAAE/B,WADe;MAEzBgB,SAAS,EAAE;QACTgB,KAAK,EAAE;UACLK,UAAU,EAAEF,KADP;UAELD,IAAI,EAAEA;QAFD;MADE,CAFc;MAQzBd,OAAO,EAAE;QACPC,OAAO,EAAE,MAAMlB,UAAU,CAACmB,iBAAiB,CAACC,gBAAnB;MADlB;IARgB,CAApB,CAAP;EAYD;;EAE8B,MAAlBgB,kBAAkB,CAACL,IAAD,EAAYM,UAAZ,EAAgC;IAAA;;IAC7D,wBAAO,KAAKjC,MAAZ,kDAAO,cAAauB,MAAb,CAAoB;MACzBC,QAAQ,EAAE7B,eADe;MAEzBc,SAAS,EAAE;QACTgB,KAAK,EAAE;UAAES,QAAQ,EAAEP,IAAZ;UAAkBQ,kBAAkB,EAAEF;QAAtC;MADE,CAFc;MAKzBpB,OAAO,EAAE;QACPC,OAAO,EAAE,MAAMlB,UAAU,CAACmB,iBAAiB,CAACC,gBAAnB;MADlB;IALgB,CAApB,CAAP;EASD;;AA/FgC;;gBAAdnB,a;;AAiGrB,WAAYkB,iBAAZ;;WAAYA,iB;EAAAA,iB;GAAAA,iB,KAAAA,iB"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import HttpClient from './client';
|
|
2
|
+
import DispatchSdkCache from '../manager/sdk/DispatchSdkCache';
|
|
3
|
+
const cache = DispatchSdkCache.getInstance();
|
|
4
|
+
const cacheKeys = DispatchSdkCache.KEYS;
|
|
5
|
+
export default class NetworkClient extends HttpClient {
|
|
6
|
+
constructor(baseURL) {
|
|
7
|
+
super(baseURL);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
async requestGet() {}
|
|
11
|
+
|
|
12
|
+
async requestPost(endpoint, requestBody, headers) {
|
|
13
|
+
const sdkConfig = await cache.getObjectFromCache(cacheKeys.SDK_CONFIG);
|
|
14
|
+
return this.instance.post(endpoint, requestBody, {
|
|
15
|
+
headers: {
|
|
16
|
+
'accept': 'application/json',
|
|
17
|
+
'X-COREOS-REQUEST-ID': headers.requestId ?? '',
|
|
18
|
+
'X-COREOS-ACCESS': sdkConfig.accessToken ?? '',
|
|
19
|
+
'X-COREOS-TID': sdkConfig.tenantID ?? '',
|
|
20
|
+
'Content-Type': 'application/json'
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
async requestPut(endpoint, requestBody, headers) {
|
|
26
|
+
const sdkConfig = await cache.getObjectFromCache(cacheKeys.SDK_CONFIG);
|
|
27
|
+
return this.instance.put(endpoint, requestBody, {
|
|
28
|
+
headers: {
|
|
29
|
+
'accept': 'application/json',
|
|
30
|
+
'X-COREOS-REQUEST-ID': headers.requestId ?? '',
|
|
31
|
+
'X-COREOS-ACCESS': sdkConfig.accessToken ?? '',
|
|
32
|
+
'X-COREOS-TID': sdkConfig.tenantID ?? '',
|
|
33
|
+
'X-COREOS-USERINFO': JSON.stringify({
|
|
34
|
+
id: sdkConfig.userID ?? ''
|
|
35
|
+
}),
|
|
36
|
+
'Content-Type': 'application/json'
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=NetworkClient.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["HttpClient","DispatchSdkCache","cache","getInstance","cacheKeys","KEYS","NetworkClient","constructor","baseURL","requestGet","requestPost","endpoint","requestBody","headers","sdkConfig","getObjectFromCache","SDK_CONFIG","instance","post","requestId","accessToken","tenantID","requestPut","put","JSON","stringify","id","userID"],"sources":["NetworkClient.ts"],"sourcesContent":["import HttpClient from './client';\nimport DispatchSdkCache from '../manager/sdk/DispatchSdkCache';\nimport type { DispatchSDKConfig } from '../models/sdk';\nimport { Headers } from '../models/auth';\n\nconst cache = DispatchSdkCache.getInstance();\nconst cacheKeys = DispatchSdkCache.KEYS;\n\nexport default class NetworkClient extends HttpClient {\n constructor(baseURL: string) {\n super(baseURL);\n }\n\n public async requestGet() {}\n\n public async requestPost(\n endpoint: string,\n requestBody: any,\n headers: Headers\n ) {\n const sdkConfig = (await cache.getObjectFromCache(\n cacheKeys.SDK_CONFIG\n )) as DispatchSDKConfig;\n\n return this.instance.post(endpoint, requestBody, {\n headers: {\n 'accept': 'application/json',\n 'X-COREOS-REQUEST-ID': headers.requestId ?? '',\n 'X-COREOS-ACCESS': sdkConfig.accessToken ?? '',\n 'X-COREOS-TID': sdkConfig.tenantID ?? '',\n 'Content-Type': 'application/json',\n },\n });\n }\n\n public async requestPut(\n endpoint: string,\n requestBody: any,\n headers: Headers\n ) {\n const sdkConfig = (await cache.getObjectFromCache(\n cacheKeys.SDK_CONFIG\n )) as DispatchSDKConfig;\n\n return this.instance.put(endpoint, requestBody, {\n headers: {\n 'accept': 'application/json',\n 'X-COREOS-REQUEST-ID': headers.requestId ?? '',\n 'X-COREOS-ACCESS': sdkConfig.accessToken ?? '',\n 'X-COREOS-TID': sdkConfig.tenantID ?? '',\n 'X-COREOS-USERINFO': JSON.stringify({ id: sdkConfig.userID ?? '' }),\n 'Content-Type': 'application/json',\n },\n });\n }\n}\n"],"mappings":"AAAA,OAAOA,UAAP,MAAuB,UAAvB;AACA,OAAOC,gBAAP,MAA6B,iCAA7B;AAIA,MAAMC,KAAK,GAAGD,gBAAgB,CAACE,WAAjB,EAAd;AACA,MAAMC,SAAS,GAAGH,gBAAgB,CAACI,IAAnC;AAEA,eAAe,MAAMC,aAAN,SAA4BN,UAA5B,CAAuC;EACpDO,WAAW,CAACC,OAAD,EAAkB;IAC3B,MAAMA,OAAN;EACD;;EAEsB,MAAVC,UAAU,GAAG,CAAE;;EAEJ,MAAXC,WAAW,CACtBC,QADsB,EAEtBC,WAFsB,EAGtBC,OAHsB,EAItB;IACA,MAAMC,SAAS,GAAI,MAAMZ,KAAK,CAACa,kBAAN,CACvBX,SAAS,CAACY,UADa,CAAzB;IAIA,OAAO,KAAKC,QAAL,CAAcC,IAAd,CAAmBP,QAAnB,EAA6BC,WAA7B,EAA0C;MAC/CC,OAAO,EAAE;QACP,UAAU,kBADH;QAEP,uBAAuBA,OAAO,CAACM,SAAR,IAAqB,EAFrC;QAGP,mBAAmBL,SAAS,CAACM,WAAV,IAAyB,EAHrC;QAIP,gBAAgBN,SAAS,CAACO,QAAV,IAAsB,EAJ/B;QAKP,gBAAgB;MALT;IADsC,CAA1C,CAAP;EASD;;EAEsB,MAAVC,UAAU,CACrBX,QADqB,EAErBC,WAFqB,EAGrBC,OAHqB,EAIrB;IACA,MAAMC,SAAS,GAAI,MAAMZ,KAAK,CAACa,kBAAN,CACvBX,SAAS,CAACY,UADa,CAAzB;IAIA,OAAO,KAAKC,QAAL,CAAcM,GAAd,CAAkBZ,QAAlB,EAA4BC,WAA5B,EAAyC;MAC9CC,OAAO,EAAE;QACP,UAAU,kBADH;QAEP,uBAAuBA,OAAO,CAACM,SAAR,IAAqB,EAFrC;QAGP,mBAAmBL,SAAS,CAACM,WAAV,IAAyB,EAHrC;QAIP,gBAAgBN,SAAS,CAACO,QAAV,IAAsB,EAJ/B;QAKP,qBAAqBG,IAAI,CAACC,SAAL,CAAe;UAAEC,EAAE,EAAEZ,SAAS,CAACa,MAAV,IAAoB;QAA1B,CAAf,CALd;QAMP,gBAAgB;MANT;IADqC,CAAzC,CAAP;EAUD;;AA9CmD"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import DispatchSdkCache from '../manager/sdk/DispatchSdkCache';
|
|
2
|
+
export async function getHeaders(contentType) {
|
|
3
|
+
const cache = DispatchSdkCache.getInstance();
|
|
4
|
+
const sdkConfig = await cache.getObjectFromCache(DispatchSdkCache.KEYS.SDK_CONFIG);
|
|
5
|
+
const dspID = await cache.getKeyFromCache(DispatchSdkCache.KEYS.DISPATCH_ID);
|
|
6
|
+
return {
|
|
7
|
+
'x-user-id': sdkConfig === null || sdkConfig === void 0 ? void 0 : sdkConfig.userID,
|
|
8
|
+
'x-coreos-tid': sdkConfig === null || sdkConfig === void 0 ? void 0 : sdkConfig.tenantID,
|
|
9
|
+
'x-coreos-access': sdkConfig === null || sdkConfig === void 0 ? void 0 : sdkConfig.accessToken,
|
|
10
|
+
'Content-Type': contentType,
|
|
11
|
+
'x-coreos-request-id': dspID ?? (sdkConfig === null || sdkConfig === void 0 ? void 0 : sdkConfig.userID)
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
export function getAddHeaders(headers) {
|
|
15
|
+
if (!headers || headers.length === 0) return {};else {
|
|
16
|
+
const addHeaders = {};
|
|
17
|
+
headers.forEach(h => {
|
|
18
|
+
if (h.key && h.value) addHeaders[h.key] = h.value;
|
|
19
|
+
});
|
|
20
|
+
return addHeaders;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=NetworkUtils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["DispatchSdkCache","getHeaders","contentType","cache","getInstance","sdkConfig","getObjectFromCache","KEYS","SDK_CONFIG","dspID","getKeyFromCache","DISPATCH_ID","userID","tenantID","accessToken","getAddHeaders","headers","length","addHeaders","forEach","h","key","value"],"sources":["NetworkUtils.ts"],"sourcesContent":["import DispatchSdkCache from '../manager/sdk/DispatchSdkCache';\nimport type { Headers } from '../components/executiontasks/httpRequest/HttpRequestETSchema';\n\nexport async function getHeaders(contentType: string) {\n const cache = DispatchSdkCache.getInstance();\n const sdkConfig = await cache.getObjectFromCache(\n DispatchSdkCache.KEYS.SDK_CONFIG\n );\n const dspID = await cache.getKeyFromCache(DispatchSdkCache.KEYS.DISPATCH_ID);\n return {\n 'x-user-id': sdkConfig?.userID,\n 'x-coreos-tid': sdkConfig?.tenantID,\n 'x-coreos-access': sdkConfig?.accessToken,\n 'Content-Type': contentType,\n 'x-coreos-request-id': dspID ?? sdkConfig?.userID,\n };\n}\n\nexport function getAddHeaders(headers?: Headers[]) {\n if (!headers || headers.length === 0) return {};\n else {\n const addHeaders: { [k: string]: string } = {};\n headers.forEach((h) => {\n if (h.key && h.value) addHeaders[h.key] = h.value;\n });\n return addHeaders;\n }\n}\n"],"mappings":"AAAA,OAAOA,gBAAP,MAA6B,iCAA7B;AAGA,OAAO,eAAeC,UAAf,CAA0BC,WAA1B,EAA+C;EACpD,MAAMC,KAAK,GAAGH,gBAAgB,CAACI,WAAjB,EAAd;EACA,MAAMC,SAAS,GAAG,MAAMF,KAAK,CAACG,kBAAN,CACtBN,gBAAgB,CAACO,IAAjB,CAAsBC,UADA,CAAxB;EAGA,MAAMC,KAAK,GAAG,MAAMN,KAAK,CAACO,eAAN,CAAsBV,gBAAgB,CAACO,IAAjB,CAAsBI,WAA5C,CAApB;EACA,OAAO;IACL,aAAaN,SAAb,aAAaA,SAAb,uBAAaA,SAAS,CAAEO,MADnB;IAEL,gBAAgBP,SAAhB,aAAgBA,SAAhB,uBAAgBA,SAAS,CAAEQ,QAFtB;IAGL,mBAAmBR,SAAnB,aAAmBA,SAAnB,uBAAmBA,SAAS,CAAES,WAHzB;IAIL,gBAAgBZ,WAJX;IAKL,uBAAuBO,KAAK,KAAIJ,SAAJ,aAAIA,SAAJ,uBAAIA,SAAS,CAAEO,MAAf;EALvB,CAAP;AAOD;AAED,OAAO,SAASG,aAAT,CAAuBC,OAAvB,EAA4C;EACjD,IAAI,CAACA,OAAD,IAAYA,OAAO,CAACC,MAAR,KAAmB,CAAnC,EAAsC,OAAO,EAAP,CAAtC,KACK;IACH,MAAMC,UAAmC,GAAG,EAA5C;IACAF,OAAO,CAACG,OAAR,CAAiBC,CAAD,IAAO;MACrB,IAAIA,CAAC,CAACC,GAAF,IAASD,CAAC,CAACE,KAAf,EAAsBJ,UAAU,CAACE,CAAC,CAACC,GAAH,CAAV,GAAoBD,CAAC,CAACE,KAAtB;IACvB,CAFD;IAGA,OAAOJ,UAAP;EACD;AACF"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { gql } from '@apollo/client';
|
|
2
|
+
export const FETCH_REASONS = gql`
|
|
3
|
+
query ($limit: String, $offset: String) {
|
|
4
|
+
reasonList(limit: $limit, offset: $offset) {
|
|
5
|
+
data {
|
|
6
|
+
description
|
|
7
|
+
isEnabled
|
|
8
|
+
reasonCode
|
|
9
|
+
isSystemDefined
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
`;
|
|
14
|
+
export const CREATE_FMS_FOLDER = gql`
|
|
15
|
+
mutation CreateDispatch($input: Folder!) {
|
|
16
|
+
createFolder(input: $input) {
|
|
17
|
+
id
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
`;
|
|
21
|
+
export const CUSTODY_IN = gql`
|
|
22
|
+
mutation CustodyInBatch($input: CustodyBatchInput!) {
|
|
23
|
+
custodyInBatch(input: $input) {
|
|
24
|
+
success
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
`;
|
|
28
|
+
export const CUSTODY_OUT = gql`
|
|
29
|
+
mutation CustodyOutBatch($input: CustodyBatchInput!) {
|
|
30
|
+
custodyOutBatch(input: $input) {
|
|
31
|
+
success
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
`;
|
|
35
|
+
export const WORKFLOW_UPDATE = gql`
|
|
36
|
+
mutation ($input: WorkflowUpdateStatusInput!) {
|
|
37
|
+
updateWorkflowStatus(input: $input) {
|
|
38
|
+
id
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
`;
|
|
42
|
+
//# sourceMappingURL=Queries.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["gql","FETCH_REASONS","CREATE_FMS_FOLDER","CUSTODY_IN","CUSTODY_OUT","WORKFLOW_UPDATE"],"sources":["Queries.ts"],"sourcesContent":["import { gql } from '@apollo/client';\n\nexport const FETCH_REASONS = gql`\n query ($limit: String, $offset: String) {\n reasonList(limit: $limit, offset: $offset) {\n data {\n description\n isEnabled\n reasonCode\n isSystemDefined\n }\n }\n }\n`;\n\nexport const CREATE_FMS_FOLDER = gql`\n mutation CreateDispatch($input: Folder!) {\n createFolder(input: $input) {\n id\n }\n }\n`;\n\nexport const CUSTODY_IN = gql`\n mutation CustodyInBatch($input: CustodyBatchInput!) {\n custodyInBatch(input: $input) {\n success\n }\n }\n`;\n\nexport const CUSTODY_OUT = gql`\n mutation CustodyOutBatch($input: CustodyBatchInput!) {\n custodyOutBatch(input: $input) {\n success\n }\n }\n`;\n\nexport const WORKFLOW_UPDATE = gql`\n mutation ($input: WorkflowUpdateStatusInput!) {\n updateWorkflowStatus(input: $input) {\n id\n }\n }\n`;\n"],"mappings":"AAAA,SAASA,GAAT,QAAoB,gBAApB;AAEA,OAAO,MAAMC,aAAa,GAAGD,GAAI;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAXO;AAaP,OAAO,MAAME,iBAAiB,GAAGF,GAAI;AACrC;AACA;AACA;AACA;AACA;AACA,CANO;AAQP,OAAO,MAAMG,UAAU,GAAGH,GAAI;AAC9B;AACA;AACA;AACA;AACA;AACA,CANO;AAQP,OAAO,MAAMI,WAAW,GAAGJ,GAAI;AAC/B;AACA;AACA;AACA;AACA;AACA,CANO;AAQP,OAAO,MAAMK,eAAe,GAAGL,GAAI;AACnC;AACA;AACA;AACA;AACA;AACA,CANO"}
|
|
@@ -0,0 +1,74 @@
|
|
|
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
|
+
import axios from 'axios';
|
|
4
|
+
import StatusCode from '../constants/statuscode'; // import { handleAccessTokenExpiry } from './utils/helper';
|
|
5
|
+
|
|
6
|
+
export default class HttpClient {
|
|
7
|
+
constructor(baseURL) {
|
|
8
|
+
_defineProperty(this, "instance", void 0);
|
|
9
|
+
|
|
10
|
+
_defineProperty(this, "_initializeResponseInterceptor", () => {
|
|
11
|
+
this.instance.interceptors.response.use(this._handleResponse, this._handleError);
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
_defineProperty(this, "_handleResponse", response => {
|
|
15
|
+
return response;
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
_defineProperty(this, "_handleError", error => {
|
|
19
|
+
if (error.response) {
|
|
20
|
+
// Request made and server responded
|
|
21
|
+
// console.log('_handleError if', error.response.status);
|
|
22
|
+
const {
|
|
23
|
+
status
|
|
24
|
+
} = error.response;
|
|
25
|
+
|
|
26
|
+
switch (status) {
|
|
27
|
+
case StatusCode.InternalServerError:
|
|
28
|
+
{
|
|
29
|
+
// Handle InternalServerError
|
|
30
|
+
break;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
case StatusCode.Forbidden:
|
|
34
|
+
{
|
|
35
|
+
// Handle Forbidden
|
|
36
|
+
break;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
case StatusCode.Unauthorized:
|
|
40
|
+
{
|
|
41
|
+
// Handle Unauthorized
|
|
42
|
+
//LoginHelper.handleAccessTokenExpiry(); //commented out as this was causing cycles
|
|
43
|
+
//cycle: ../src/utils/loginHelper.ts -> ../src/resources/Login.ts -> ../src/network/client.ts -> ../src/utils/loginHelper.ts
|
|
44
|
+
break;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
case StatusCode.TooManyRequests:
|
|
48
|
+
{
|
|
49
|
+
// Handle TooManyRequests
|
|
50
|
+
break;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
} else if (error.request) {// The request was made but no response was received
|
|
54
|
+
// Network error should be received here
|
|
55
|
+
// console.log('else if ', error.request);
|
|
56
|
+
} else {
|
|
57
|
+
// Something happened in setting up the request that triggered an Error
|
|
58
|
+
console.log('Error else', error.message);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return Promise.reject(error);
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
this.instance = axios.create({
|
|
65
|
+
baseURL,
|
|
66
|
+
timeout: 15000 // timeout of 15s
|
|
67
|
+
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
this._initializeResponseInterceptor();
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
}
|
|
74
|
+
//# sourceMappingURL=client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["axios","StatusCode","HttpClient","constructor","baseURL","instance","interceptors","response","use","_handleResponse","_handleError","error","status","InternalServerError","Forbidden","Unauthorized","TooManyRequests","request","console","log","message","Promise","reject","create","timeout","_initializeResponseInterceptor"],"sources":["client.ts"],"sourcesContent":["import axios, { AxiosInstance, AxiosResponse } from 'axios';\nimport StatusCode from '../constants/statuscode';\n// import { handleAccessTokenExpiry } from './utils/helper';\n\nexport default abstract class HttpClient {\n protected readonly instance: AxiosInstance;\n\n protected constructor(baseURL: string) {\n this.instance = axios.create({\n baseURL,\n timeout: 15000, // timeout of 15s\n });\n\n this._initializeResponseInterceptor();\n }\n\n private _initializeResponseInterceptor = () => {\n this.instance.interceptors.response.use(\n this._handleResponse,\n this._handleError\n );\n };\n\n protected _handleResponse = (response: AxiosResponse) => {\n return response;\n };\n\n protected _handleError = (error: any) => {\n if (error.response) {\n // Request made and server responded\n // console.log('_handleError if', error.response.status);\n const { status } = error.response;\n switch (status) {\n case StatusCode.InternalServerError: {\n // Handle InternalServerError\n break;\n }\n case StatusCode.Forbidden: {\n // Handle Forbidden\n break;\n }\n case StatusCode.Unauthorized: {\n // Handle Unauthorized\n //LoginHelper.handleAccessTokenExpiry(); //commented out as this was causing cycles\n //cycle: ../src/utils/loginHelper.ts -> ../src/resources/Login.ts -> ../src/network/client.ts -> ../src/utils/loginHelper.ts\n break;\n }\n case StatusCode.TooManyRequests: {\n // Handle TooManyRequests\n break;\n }\n }\n } else if (error.request) {\n // The request was made but no response was received\n // Network error should be received here\n // console.log('else if ', error.request);\n } else {\n // Something happened in setting up the request that triggered an Error\n console.log('Error else', error.message);\n }\n return Promise.reject(error);\n };\n}\n"],"mappings":";;AAAA,OAAOA,KAAP,MAAoD,OAApD;AACA,OAAOC,UAAP,MAAuB,yBAAvB,C,CACA;;AAEA,eAAe,MAAeC,UAAf,CAA0B;EAG7BC,WAAW,CAACC,OAAD,EAAkB;IAAA;;IAAA,wDASE,MAAM;MAC7C,KAAKC,QAAL,CAAcC,YAAd,CAA2BC,QAA3B,CAAoCC,GAApC,CACE,KAAKC,eADP,EAEE,KAAKC,YAFP;IAID,CAdsC;;IAAA,yCAgBVH,QAAD,IAA6B;MACvD,OAAOA,QAAP;IACD,CAlBsC;;IAAA,sCAoBbI,KAAD,IAAgB;MACvC,IAAIA,KAAK,CAACJ,QAAV,EAAoB;QAClB;QACA;QACA,MAAM;UAAEK;QAAF,IAAaD,KAAK,CAACJ,QAAzB;;QACA,QAAQK,MAAR;UACE,KAAKX,UAAU,CAACY,mBAAhB;YAAqC;cACnC;cACA;YACD;;UACD,KAAKZ,UAAU,CAACa,SAAhB;YAA2B;cACzB;cACA;YACD;;UACD,KAAKb,UAAU,CAACc,YAAhB;YAA8B;cAC5B;cACA;cACA;cACA;YACD;;UACD,KAAKd,UAAU,CAACe,eAAhB;YAAiC;cAC/B;cACA;YACD;QAlBH;MAoBD,CAxBD,MAwBO,IAAIL,KAAK,CAACM,OAAV,EAAmB,CACxB;QACA;QACA;MACD,CAJM,MAIA;QACL;QACAC,OAAO,CAACC,GAAR,CAAY,YAAZ,EAA0BR,KAAK,CAACS,OAAhC;MACD;;MACD,OAAOC,OAAO,CAACC,MAAR,CAAeX,KAAf,CAAP;IACD,CAtDsC;;IACrC,KAAKN,QAAL,GAAgBL,KAAK,CAACuB,MAAN,CAAa;MAC3BnB,OAD2B;MAE3BoB,OAAO,EAAE,KAFkB,CAEX;;IAFW,CAAb,CAAhB;;IAKA,KAAKC,8BAAL;EACD;;AAVsC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["PLEASE_WAIT"],"sources":["strings.ts"],"sourcesContent":["export const PLEASE_WAIT = 'Please wait...';\n"],"mappings":"AAAA,OAAO,MAAMA,WAAW,GAAG,gBAApB"}
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
import HttpClient from '../network/client';
|
|
4
|
+
|
|
5
|
+
class Login extends HttpClient {
|
|
6
|
+
constructor() {
|
|
7
|
+
super('BASEURL');
|
|
8
|
+
|
|
9
|
+
_defineProperty(this, "loginMobilePassword", payload => {
|
|
10
|
+
return this.instance.post('/auth/login/mobile-password', payload);
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
_defineProperty(this, "loginMobileOtp", payload => {
|
|
14
|
+
return this.instance.post('/auth/login/mobile-otp', payload);
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
_defineProperty(this, "loginMpin", payload => {
|
|
18
|
+
return this.instance.post('/auth/login/mpin', payload);
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
_defineProperty(this, "loginUserName", payload => {
|
|
22
|
+
return this.instance.post('/auth/login/username-password', payload);
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
_defineProperty(this, "loginCredential", payload => {
|
|
26
|
+
return this.instance.post('/auth/client-login', payload);
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
_defineProperty(this, "validateToken", accessToken => {
|
|
30
|
+
return this.instance.post('/auth/validate', accessToken);
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
_defineProperty(this, "refreshToken", refreshTokenPayload => {
|
|
34
|
+
return this.instance.post('/auth/validate', refreshTokenPayload);
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
const Auth = new Login();
|
|
41
|
+
export default Auth;
|
|
42
|
+
//# sourceMappingURL=Login.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["HttpClient","Login","constructor","payload","instance","post","accessToken","refreshTokenPayload","Auth"],"sources":["Login.ts"],"sourcesContent":["import HttpClient from '../network/client';\nimport type {\n AccessTokenPayload,\n LoginPayload,\n RefreshTokenPayload,\n} from '../models/auth';\n\nclass Login extends HttpClient {\n public constructor() {\n super('BASEURL');\n }\n public loginMobilePassword = (payload: LoginPayload) => {\n return this.instance.post('/auth/login/mobile-password', payload);\n };\n public loginMobileOtp = (payload: LoginPayload) => {\n return this.instance.post('/auth/login/mobile-otp', payload);\n };\n public loginMpin = (payload: LoginPayload) => {\n return this.instance.post('/auth/login/mpin', payload);\n };\n public loginUserName = (payload: LoginPayload) => {\n return this.instance.post('/auth/login/username-password', payload);\n };\n public loginCredential = (payload: LoginPayload) => {\n return this.instance.post('/auth/client-login', payload);\n };\n public validateToken = (accessToken: AccessTokenPayload) => {\n return this.instance.post('/auth/validate', accessToken);\n };\n public refreshToken = (refreshTokenPayload: RefreshTokenPayload) => {\n return this.instance.post('/auth/validate', refreshTokenPayload);\n };\n}\n\nconst Auth = new Login();\nexport default Auth;\n"],"mappings":";;AAAA,OAAOA,UAAP,MAAuB,mBAAvB;;AAOA,MAAMC,KAAN,SAAoBD,UAApB,CAA+B;EACtBE,WAAW,GAAG;IACnB,MAAM,SAAN;;IADmB,6CAGSC,OAAD,IAA2B;MACtD,OAAO,KAAKC,QAAL,CAAcC,IAAd,CAAmB,6BAAnB,EAAkDF,OAAlD,CAAP;IACD,CALoB;;IAAA,wCAMIA,OAAD,IAA2B;MACjD,OAAO,KAAKC,QAAL,CAAcC,IAAd,CAAmB,wBAAnB,EAA6CF,OAA7C,CAAP;IACD,CARoB;;IAAA,mCASDA,OAAD,IAA2B;MAC5C,OAAO,KAAKC,QAAL,CAAcC,IAAd,CAAmB,qBAAnB,EAA0CF,OAA1C,CAAP;IACD,CAXoB;;IAAA,uCAYGA,OAAD,IAA2B;MAChD,OAAO,KAAKC,QAAL,CAAcC,IAAd,CAAmB,+BAAnB,EAAoDF,OAApD,CAAP;IACD,CAdoB;;IAAA,yCAeKA,OAAD,IAA2B;MAClD,OAAO,KAAKC,QAAL,CAAcC,IAAd,CAAmB,oBAAnB,EAAyCF,OAAzC,CAAP;IACD,CAjBoB;;IAAA,uCAkBGG,WAAD,IAAqC;MAC1D,OAAO,KAAKF,QAAL,CAAcC,IAAd,CAAmB,gBAAnB,EAAqCC,WAArC,CAAP;IACD,CApBoB;;IAAA,sCAqBEC,mBAAD,IAA8C;MAClE,OAAO,KAAKH,QAAL,CAAcC,IAAd,CAAmB,gBAAnB,EAAqCE,mBAArC,CAAP;IACD,CAvBoB;EAEpB;;AAH4B;;AA2B/B,MAAMC,IAAI,GAAG,IAAIP,KAAJ,EAAb;AACA,eAAeO,IAAf"}
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
import HttpClient from '../network/client';
|
|
4
|
+
|
|
5
|
+
class Network extends HttpClient {
|
|
6
|
+
constructor() {
|
|
7
|
+
super('https://google.com');
|
|
8
|
+
|
|
9
|
+
_defineProperty(this, "heartBeat", () => {
|
|
10
|
+
return this.instance.head('/');
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
const network = new Network();
|
|
17
|
+
export default network;
|
|
18
|
+
//# sourceMappingURL=network.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["HttpClient","Network","constructor","instance","head","network"],"sources":["network.ts"],"sourcesContent":["import HttpClient from '../network/client';\n\nclass Network extends HttpClient {\n public constructor() {\n super('https://google.com');\n }\n public heartBeat = () => {\n return this.instance.head('/');\n };\n}\n\nconst network = new Network();\nexport default network;\n"],"mappings":";;AAAA,OAAOA,UAAP,MAAuB,mBAAvB;;AAEA,MAAMC,OAAN,SAAsBD,UAAtB,CAAiC;EACxBE,WAAW,GAAG;IACnB,MAAM,oBAAN;;IADmB,mCAGF,MAAM;MACvB,OAAO,KAAKC,QAAL,CAAcC,IAAd,CAAmB,GAAnB,CAAP;IACD,CALoB;EAEpB;;AAH8B;;AASjC,MAAMC,OAAO,GAAG,IAAIJ,OAAJ,EAAhB;AACA,eAAeI,OAAf"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export let ColorTheme;
|
|
2
|
+
|
|
3
|
+
(function (ColorTheme) {
|
|
4
|
+
ColorTheme["LIGHT"] = "light";
|
|
5
|
+
ColorTheme["DARK"] = "dark";
|
|
6
|
+
})(ColorTheme || (ColorTheme = {}));
|
|
7
|
+
|
|
8
|
+
const tintColor = '#4e9bde';
|
|
9
|
+
const darkTintColor = '#1a74b3';
|
|
10
|
+
const primaryButton = '#5B80F8';
|
|
11
|
+
export default {
|
|
12
|
+
[ColorTheme.LIGHT]: {
|
|
13
|
+
tintColor,
|
|
14
|
+
darkTintColor,
|
|
15
|
+
primaryButton
|
|
16
|
+
},
|
|
17
|
+
[ColorTheme.DARK]: {
|
|
18
|
+
tintColor: darkTintColor,
|
|
19
|
+
darkTintColor: tintColor
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=SdkColors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["ColorTheme","tintColor","darkTintColor","primaryButton","LIGHT","DARK"],"sources":["SdkColors.ts"],"sourcesContent":["export enum ColorTheme {\n LIGHT = 'light',\n DARK = 'dark',\n}\n\nconst tintColor = '#4e9bde';\nconst darkTintColor = '#1a74b3';\nconst primaryButton = '#5B80F8';\n\nexport default {\n [ColorTheme.LIGHT]: {\n tintColor,\n darkTintColor,\n primaryButton,\n },\n [ColorTheme.DARK]: {\n tintColor: darkTintColor,\n darkTintColor: tintColor,\n },\n};\n"],"mappings":"AAAA,WAAYA,UAAZ;;WAAYA,U;EAAAA,U;EAAAA,U;GAAAA,U,KAAAA,U;;AAKZ,MAAMC,SAAS,GAAG,SAAlB;AACA,MAAMC,aAAa,GAAG,SAAtB;AACA,MAAMC,aAAa,GAAG,SAAtB;AAEA,eAAe;EACb,CAACH,UAAU,CAACI,KAAZ,GAAoB;IAClBH,SADkB;IAElBC,aAFkB;IAGlBC;EAHkB,CADP;EAMb,CAACH,UAAU,CAACK,IAAZ,GAAmB;IACjBJ,SAAS,EAAEC,aADM;IAEjBA,aAAa,EAAED;EAFE;AANN,CAAf"}
|