@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,116 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
9
|
+
|
|
10
|
+
var _reactNative = require("react-native");
|
|
11
|
+
|
|
12
|
+
var _rjsfNative = _interopRequireWildcard(require("rjsf-native"));
|
|
13
|
+
|
|
14
|
+
var _DateTimeWidget = _interopRequireDefault(require("./widgets/DateTimeWidget"));
|
|
15
|
+
|
|
16
|
+
var _TimeRangeSelector = _interopRequireDefault(require("./widgets/TimeRangeSelector"));
|
|
17
|
+
|
|
18
|
+
var _QRBarcodeScannerWidget = _interopRequireDefault(require("./widgets/QRBarcodeScannerWidget"));
|
|
19
|
+
|
|
20
|
+
var _reactNativePaper = require("react-native-paper");
|
|
21
|
+
|
|
22
|
+
var _ExecTaskUtils = require("../../../utils/ExecTaskUtils");
|
|
23
|
+
|
|
24
|
+
var _EventCodeContainer = require("../../../manager/dispatchCodes/EventCodeContainer");
|
|
25
|
+
|
|
26
|
+
var _ETConfig = require("../../../models/execTasks/ETConfig");
|
|
27
|
+
|
|
28
|
+
var _CommonStyles = require("../../../styles/executionTasks/CommonStyles");
|
|
29
|
+
|
|
30
|
+
var _SdkColors = _interopRequireWildcard(require("../../../styles/SdkColors"));
|
|
31
|
+
|
|
32
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
33
|
+
|
|
34
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
35
|
+
|
|
36
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
37
|
+
|
|
38
|
+
const customWidgets = {
|
|
39
|
+
datePicker: _DateTimeWidget.default,
|
|
40
|
+
timeRangeSelector: _TimeRangeSelector.default,
|
|
41
|
+
scanner: _QRBarcodeScannerWidget.default
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
const FormGenerator = props => {
|
|
45
|
+
const form = (0, _react.useRef)(null);
|
|
46
|
+
return /*#__PURE__*/_react.default.createElement(_reactNative.KeyboardAvoidingView, {
|
|
47
|
+
style: _CommonStyles.CommonStyles.mainContainer
|
|
48
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.ScrollView, {
|
|
49
|
+
style: {
|
|
50
|
+
flex: 1
|
|
51
|
+
}
|
|
52
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
53
|
+
style: {
|
|
54
|
+
flex: 1,
|
|
55
|
+
backgroundColor: 'white',
|
|
56
|
+
padding: 20,
|
|
57
|
+
marginTop: 20,
|
|
58
|
+
marginStart: 15,
|
|
59
|
+
marginEnd: 15,
|
|
60
|
+
borderRadius: 10,
|
|
61
|
+
borderColor: 'rgba(0, 0, 0, 0.1)',
|
|
62
|
+
borderWidth: 1
|
|
63
|
+
}
|
|
64
|
+
}, /*#__PURE__*/_react.default.createElement(_rjsfNative.FormContext.Provider, {
|
|
65
|
+
value: { ..._rjsfNative.defaultProps,
|
|
66
|
+
requiredTitle: '*',
|
|
67
|
+
theme: {
|
|
68
|
+
primaryColor: _SdkColors.default[_SdkColors.ColorTheme.LIGHT].primaryButton,
|
|
69
|
+
highlightColor: _SdkColors.default[_SdkColors.ColorTheme.LIGHT].primaryButton,
|
|
70
|
+
borderColor: _SdkColors.default[_SdkColors.ColorTheme.LIGHT].primaryButton,
|
|
71
|
+
textColor: '#111111',
|
|
72
|
+
placeholderTextColor: '#111111',
|
|
73
|
+
errorColor: '#b00020',
|
|
74
|
+
fontFamily: _CommonStyles.Fonts.IBMPlexSans_600SemiBold
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}, /*#__PURE__*/_react.default.createElement(_rjsfNative.default, {
|
|
78
|
+
widgets: customWidgets // @ts-ignore
|
|
79
|
+
,
|
|
80
|
+
ref: form // @ts-ignore
|
|
81
|
+
,
|
|
82
|
+
schema: props.jsonSchema,
|
|
83
|
+
showErrorList: false,
|
|
84
|
+
uiSchema: props.uiSchema,
|
|
85
|
+
onError: props.onError,
|
|
86
|
+
onSubmit: async response => {
|
|
87
|
+
props.onSubmitET({ ...(await (0, _ExecTaskUtils.getBaseETResponse)(_ETConfig.EntityCode.FORMS, true, (0, _EventCodeContainer.getEventCodeByET)(_ETConfig.ExecutionTaskID.FORMS, true), '')),
|
|
88
|
+
data: response.formData
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, null))))), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
92
|
+
style: [{
|
|
93
|
+
margin: 10
|
|
94
|
+
}]
|
|
95
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
96
|
+
style: {
|
|
97
|
+
flexDirection: 'row'
|
|
98
|
+
}
|
|
99
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNativePaper.Button, {
|
|
100
|
+
style: [_CommonStyles.CommonStyles.nextButton, {
|
|
101
|
+
flex: 1
|
|
102
|
+
}],
|
|
103
|
+
labelStyle: _CommonStyles.CommonStyles.nextButtonLabel,
|
|
104
|
+
mode: 'contained',
|
|
105
|
+
onPress: () => {
|
|
106
|
+
if (form.current) {
|
|
107
|
+
// @ts-ignore
|
|
108
|
+
form.current.submit();
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}, "Submit"))));
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
var _default = FormGenerator;
|
|
115
|
+
exports.default = _default;
|
|
116
|
+
//# sourceMappingURL=FormGenerator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["customWidgets","datePicker","DateTimeWidget","timeRangeSelector","TimeRangeSelector","scanner","QRBarcodeScannerWidget","FormGenerator","props","form","useRef","CommonStyles","mainContainer","flex","backgroundColor","padding","marginTop","marginStart","marginEnd","borderRadius","borderColor","borderWidth","defaultProps","requiredTitle","theme","primaryColor","SdkColors","ColorTheme","LIGHT","primaryButton","highlightColor","textColor","placeholderTextColor","errorColor","fontFamily","Fonts","IBMPlexSans_600SemiBold","jsonSchema","uiSchema","onError","response","onSubmitET","getBaseETResponse","EntityCode","FORMS","getEventCodeByET","ExecutionTaskID","data","formData","margin","flexDirection","nextButton","nextButtonLabel","current","submit"],"sources":["FormGenerator.tsx"],"sourcesContent":["import React, { useRef } from 'react';\nimport { KeyboardAvoidingView, ScrollView, Text, View } from 'react-native';\nimport ReactNativeForm, { defaultProps, FormContext } from 'rjsf-native';\nimport DateTimeWidget from './widgets/DateTimeWidget';\nimport TimeRangeSelector from './widgets/TimeRangeSelector';\nimport QRBarcodeScannerWidget from './widgets/QRBarcodeScannerWidget';\nimport { Button } from 'react-native-paper';\nimport type { FormInputSchema } from './FormSchema';\nimport { getBaseETResponse } from '../../../utils/ExecTaskUtils';\nimport { getEventCodeByET } from '../../../manager/dispatchCodes/EventCodeContainer';\nimport {\n EntityCode,\n ExecutionTaskID,\n} from '../../../models/execTasks/ETConfig';\nimport {\n CommonStyles,\n Fonts,\n} from '../../../styles/executionTasks/CommonStyles';\nimport SdkColors, { ColorTheme } from '../../../styles/SdkColors';\n\nconst customWidgets = {\n datePicker: DateTimeWidget,\n timeRangeSelector: TimeRangeSelector,\n scanner: QRBarcodeScannerWidget,\n};\n\nconst FormGenerator = (props: FormInputSchema) => {\n const form = useRef(null);\n return (\n <KeyboardAvoidingView style={CommonStyles.mainContainer}>\n <ScrollView style={{ flex: 1 }}>\n <View\n style={{\n flex: 1,\n backgroundColor: 'white',\n padding: 20,\n marginTop: 20,\n marginStart: 15,\n marginEnd: 15,\n borderRadius: 10,\n borderColor: 'rgba(0, 0, 0, 0.1)',\n borderWidth: 1,\n }}\n >\n <FormContext.Provider\n value={{\n ...defaultProps,\n requiredTitle: '*',\n theme: {\n primaryColor: SdkColors[ColorTheme.LIGHT].primaryButton,\n highlightColor: SdkColors[ColorTheme.LIGHT].primaryButton,\n borderColor: SdkColors[ColorTheme.LIGHT].primaryButton,\n textColor: '#111111',\n placeholderTextColor: '#111111',\n errorColor: '#b00020',\n fontFamily: Fonts.IBMPlexSans_600SemiBold,\n },\n }}\n >\n <ReactNativeForm\n widgets={customWidgets}\n // @ts-ignore\n ref={form}\n // @ts-ignore\n schema={props.jsonSchema}\n showErrorList={false}\n uiSchema={props.uiSchema}\n onError={props.onError}\n onSubmit={async (response) => {\n props.onSubmitET({\n ...(await getBaseETResponse(\n EntityCode.FORMS,\n true,\n getEventCodeByET(ExecutionTaskID.FORMS, true),\n ''\n )),\n data: response.formData,\n });\n }}\n >\n <Text>{}</Text>\n </ReactNativeForm>\n </FormContext.Provider>\n </View>\n </ScrollView>\n <View style={[{ margin: 10 }]}>\n <View style={{ flexDirection: 'row' }}>\n <Button\n style={[CommonStyles.nextButton, { flex: 1 }]}\n labelStyle={CommonStyles.nextButtonLabel}\n mode={'contained'}\n onPress={() => {\n if (form.current) {\n // @ts-ignore\n form.current.submit();\n }\n }}\n >\n Submit\n </Button>\n </View>\n </View>\n </KeyboardAvoidingView>\n );\n};\n\nexport default FormGenerator;\n"],"mappings":";;;;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AAEA;;AACA;;AACA;;AAIA;;AAIA;;;;;;;;AAEA,MAAMA,aAAa,GAAG;EACpBC,UAAU,EAAEC,uBADQ;EAEpBC,iBAAiB,EAAEC,0BAFC;EAGpBC,OAAO,EAAEC;AAHW,CAAtB;;AAMA,MAAMC,aAAa,GAAIC,KAAD,IAA4B;EAChD,MAAMC,IAAI,GAAG,IAAAC,aAAA,EAAO,IAAP,CAAb;EACA,oBACE,6BAAC,iCAAD;IAAsB,KAAK,EAAEC,0BAAA,CAAaC;EAA1C,gBACE,6BAAC,uBAAD;IAAY,KAAK,EAAE;MAAEC,IAAI,EAAE;IAAR;EAAnB,gBACE,6BAAC,iBAAD;IACE,KAAK,EAAE;MACLA,IAAI,EAAE,CADD;MAELC,eAAe,EAAE,OAFZ;MAGLC,OAAO,EAAE,EAHJ;MAILC,SAAS,EAAE,EAJN;MAKLC,WAAW,EAAE,EALR;MAMLC,SAAS,EAAE,EANN;MAOLC,YAAY,EAAE,EAPT;MAQLC,WAAW,EAAE,oBARR;MASLC,WAAW,EAAE;IATR;EADT,gBAaE,6BAAC,uBAAD,CAAa,QAAb;IACE,KAAK,EAAE,EACL,GAAGC,wBADE;MAELC,aAAa,EAAE,GAFV;MAGLC,KAAK,EAAE;QACLC,YAAY,EAAEC,kBAAA,CAAUC,qBAAA,CAAWC,KAArB,EAA4BC,aADrC;QAELC,cAAc,EAAEJ,kBAAA,CAAUC,qBAAA,CAAWC,KAArB,EAA4BC,aAFvC;QAGLT,WAAW,EAAEM,kBAAA,CAAUC,qBAAA,CAAWC,KAArB,EAA4BC,aAHpC;QAILE,SAAS,EAAE,SAJN;QAKLC,oBAAoB,EAAE,SALjB;QAMLC,UAAU,EAAE,SANP;QAOLC,UAAU,EAAEC,mBAAA,CAAMC;MAPb;IAHF;EADT,gBAeE,6BAAC,mBAAD;IACE,OAAO,EAAEpC,aADX,CAEE;IAFF;IAGE,GAAG,EAAES,IAHP,CAIE;IAJF;IAKE,MAAM,EAAED,KAAK,CAAC6B,UALhB;IAME,aAAa,EAAE,KANjB;IAOE,QAAQ,EAAE7B,KAAK,CAAC8B,QAPlB;IAQE,OAAO,EAAE9B,KAAK,CAAC+B,OARjB;IASE,QAAQ,EAAE,MAAOC,QAAP,IAAoB;MAC5BhC,KAAK,CAACiC,UAAN,CAAiB,EACf,IAAI,MAAM,IAAAC,gCAAA,EACRC,oBAAA,CAAWC,KADH,EAER,IAFQ,EAGR,IAAAC,oCAAA,EAAiBC,yBAAA,CAAgBF,KAAjC,EAAwC,IAAxC,CAHQ,EAIR,EAJQ,CAAV,CADe;QAOfG,IAAI,EAAEP,QAAQ,CAACQ;MAPA,CAAjB;IASD;EAnBH,gBAqBE,6BAAC,iBAAD,OArBF,CAfF,CAbF,CADF,CADF,eAwDE,6BAAC,iBAAD;IAAM,KAAK,EAAE,CAAC;MAAEC,MAAM,EAAE;IAAV,CAAD;EAAb,gBACE,6BAAC,iBAAD;IAAM,KAAK,EAAE;MAAEC,aAAa,EAAE;IAAjB;EAAb,gBACE,6BAAC,wBAAD;IACE,KAAK,EAAE,CAACvC,0BAAA,CAAawC,UAAd,EAA0B;MAAEtC,IAAI,EAAE;IAAR,CAA1B,CADT;IAEE,UAAU,EAAEF,0BAAA,CAAayC,eAF3B;IAGE,IAAI,EAAE,WAHR;IAIE,OAAO,EAAE,MAAM;MACb,IAAI3C,IAAI,CAAC4C,OAAT,EAAkB;QAChB;QACA5C,IAAI,CAAC4C,OAAL,CAAaC,MAAb;MACD;IACF;EATH,YADF,CADF,CAxDF,CADF;AA4ED,CA9ED;;eAgFe/C,a"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sources":["FormSchema.ts"],"sourcesContent":["import type {\n BaseETRequest,\n BaseETResponse,\n} from '../../../models/execTasks/ETBaseModels';\n\nexport type FormInputSchema = BaseETRequest & {\n jsonSchema: JSONSchema;\n uiSchema: UISchame;\n onError: (e: any) => void;\n onSubmitET: (result: FormOutputSchema) => void;\n};\n/**\n * Json schema used in react-jsonschema-form\n */\nexport interface JSONSchema {\n [k: string]: unknown;\n}\n/**\n * UI schema used in react-jsonschema-form\n */\nexport interface UISchame {\n [k: string]: unknown;\n}\n\nexport type FormOutputSchema = BaseETResponse & {\n data: {\n [k: string]: unknown;\n };\n};\n"],"mappings":""}
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
9
|
+
|
|
10
|
+
var _reactNative = require("react-native");
|
|
11
|
+
|
|
12
|
+
var _datetimepicker = _interopRequireDefault(require("@react-native-community/datetimepicker"));
|
|
13
|
+
|
|
14
|
+
var _rjsfNative = require("rjsf-native");
|
|
15
|
+
|
|
16
|
+
var _SdkColors = _interopRequireWildcard(require("../../../../styles/SdkColors"));
|
|
17
|
+
|
|
18
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
19
|
+
|
|
20
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
21
|
+
|
|
22
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
23
|
+
|
|
24
|
+
const MODES = {
|
|
25
|
+
DATE: 'date',
|
|
26
|
+
TIME: 'time',
|
|
27
|
+
DATETIME: 'datetime'
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
const DateTimeWidget = _ref => {
|
|
31
|
+
let {
|
|
32
|
+
id,
|
|
33
|
+
label,
|
|
34
|
+
value,
|
|
35
|
+
onChange,
|
|
36
|
+
onFocus,
|
|
37
|
+
autofocus,
|
|
38
|
+
options,
|
|
39
|
+
rawErrors,
|
|
40
|
+
maxDate
|
|
41
|
+
} = _ref;
|
|
42
|
+
const [show, setShow] = (0, _react.useState)(false);
|
|
43
|
+
const [date, setDate] = (0, _react.useState)(null);
|
|
44
|
+
const {
|
|
45
|
+
theme
|
|
46
|
+
} = (0, _rjsfNative.useFormContext)();
|
|
47
|
+
const [focused, setFocused] = (0, _react.useState)(false);
|
|
48
|
+
const themedStyle = {
|
|
49
|
+
borderColor: (rawErrors === null || rawErrors === void 0 ? void 0 : rawErrors.length) > 0 ? theme.errorColor : focused ? theme.highlightColor : theme.borderColor,
|
|
50
|
+
borderWidth: focused ? 2 : 1.5,
|
|
51
|
+
color: theme.textColor
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
const onDateChange = (_event, selectedDate) => {
|
|
55
|
+
setShow(_reactNative.Platform.OS === 'ios');
|
|
56
|
+
|
|
57
|
+
if (selectedDate) {
|
|
58
|
+
const currentDate = selectedDate;
|
|
59
|
+
let dateTimeValue = getValueBasedOnMode(options, currentDate);
|
|
60
|
+
setDate(currentDate);
|
|
61
|
+
onChange(dateTimeValue);
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
66
|
+
style: styles.container
|
|
67
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
68
|
+
onPress: () => setShow(true)
|
|
69
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.TextInput, {
|
|
70
|
+
editable: false,
|
|
71
|
+
onTouchStart: () => setShow(true),
|
|
72
|
+
value: getValueBasedOnMode(options, date),
|
|
73
|
+
placeholder: label,
|
|
74
|
+
selectionColor: '#6200EE',
|
|
75
|
+
autoFocus: autofocus,
|
|
76
|
+
onFocus: () => {
|
|
77
|
+
setFocused(true);
|
|
78
|
+
onFocus(id, value);
|
|
79
|
+
},
|
|
80
|
+
placeholderTextColor: theme.placeholderTextColor,
|
|
81
|
+
style: [styles.input, themedStyle]
|
|
82
|
+
})), show && /*#__PURE__*/_react.default.createElement(_datetimepicker.default, {
|
|
83
|
+
testID: "dateTimePicker" // @ts-ignore
|
|
84
|
+
,
|
|
85
|
+
mode: getWidgetType(options.mode),
|
|
86
|
+
minimumDate: options.mode === 'date' ? new Date() : undefined,
|
|
87
|
+
maximumDate: maxDate,
|
|
88
|
+
is24Hour: false,
|
|
89
|
+
display: "default",
|
|
90
|
+
onChange: onDateChange,
|
|
91
|
+
value: date ?? new Date(),
|
|
92
|
+
textColor: 'red'
|
|
93
|
+
}));
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
function getWidgetType(mode) {
|
|
97
|
+
switch (mode) {
|
|
98
|
+
case 'date':
|
|
99
|
+
return MODES.DATE;
|
|
100
|
+
|
|
101
|
+
case 'time':
|
|
102
|
+
return MODES.TIME;
|
|
103
|
+
|
|
104
|
+
case 'datetime':
|
|
105
|
+
return MODES.DATETIME;
|
|
106
|
+
|
|
107
|
+
default:
|
|
108
|
+
return MODES.DATE;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
function getValueBasedOnMode(uiOptions, date) {
|
|
113
|
+
if (!date) return '';
|
|
114
|
+
|
|
115
|
+
switch (uiOptions.mode) {
|
|
116
|
+
case 'date':
|
|
117
|
+
return date.toISOString().substring(0, 10);
|
|
118
|
+
|
|
119
|
+
case 'time':
|
|
120
|
+
return date.toLocaleTimeString().slice(0, 5);
|
|
121
|
+
|
|
122
|
+
case 'datetime':
|
|
123
|
+
return date.toLocaleString();
|
|
124
|
+
|
|
125
|
+
default:
|
|
126
|
+
return date.toLocaleString();
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
const styles = _reactNative.StyleSheet.create({
|
|
131
|
+
container: {
|
|
132
|
+
flex: 1
|
|
133
|
+
},
|
|
134
|
+
input: {
|
|
135
|
+
borderColor: _SdkColors.default[_SdkColors.ColorTheme.LIGHT].primaryButton,
|
|
136
|
+
borderWidth: 1,
|
|
137
|
+
paddingHorizontal: 16,
|
|
138
|
+
paddingTop: 15,
|
|
139
|
+
paddingBottom: 15,
|
|
140
|
+
borderRadius: 4,
|
|
141
|
+
fontSize: 16,
|
|
142
|
+
color: '#111111'
|
|
143
|
+
}
|
|
144
|
+
});
|
|
145
|
+
/**
|
|
146
|
+
* max and min date has to be implemented
|
|
147
|
+
*/
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
var _default = DateTimeWidget;
|
|
151
|
+
exports.default = _default;
|
|
152
|
+
//# sourceMappingURL=DateTimeWidget.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["MODES","DATE","TIME","DATETIME","DateTimeWidget","id","label","value","onChange","onFocus","autofocus","options","rawErrors","maxDate","show","setShow","useState","date","setDate","theme","useFormContext","focused","setFocused","themedStyle","borderColor","length","errorColor","highlightColor","borderWidth","color","textColor","onDateChange","_event","selectedDate","Platform","OS","currentDate","dateTimeValue","getValueBasedOnMode","styles","container","placeholderTextColor","input","getWidgetType","mode","Date","undefined","uiOptions","toISOString","substring","toLocaleTimeString","slice","toLocaleString","StyleSheet","create","flex","SdkColors","ColorTheme","LIGHT","primaryButton","paddingHorizontal","paddingTop","paddingBottom","borderRadius","fontSize"],"sources":["DateTimeWidget.tsx"],"sourcesContent":["import React, { useState } from 'react';\nimport {\n Platform,\n StyleSheet,\n TextInput,\n TouchableOpacity,\n View,\n} from 'react-native';\nimport DateTimePicker, { Event } from '@react-native-community/datetimepicker';\nimport type { WidgetProps } from '@rjsf/core';\nimport { useFormContext } from 'rjsf-native';\nimport SdkColors, { ColorTheme } from '../../../../styles/SdkColors';\n\nconst MODES = {\n DATE: 'date',\n TIME: 'time',\n DATETIME: 'datetime',\n};\n\ntype DateWidgetProps = WidgetProps & {\n minDate?: Date;\n maxDate?: Date;\n};\n\nconst DateTimeWidget = ({\n id,\n label,\n value,\n onChange,\n onFocus,\n autofocus,\n options,\n rawErrors,\n maxDate,\n}: DateWidgetProps) => {\n const [show, setShow] = useState(false);\n const [date, setDate] = useState<Date | null>(null);\n const { theme } = useFormContext();\n const [focused, setFocused] = useState(false);\n\n const themedStyle = {\n borderColor:\n rawErrors?.length > 0\n ? theme.errorColor\n : focused\n ? theme.highlightColor\n : theme.borderColor,\n borderWidth: focused ? 2 : 1.5,\n color: theme.textColor,\n };\n const onDateChange = (_event: Event, selectedDate?: Date) => {\n setShow(Platform.OS === 'ios');\n if (selectedDate) {\n const currentDate = selectedDate;\n let dateTimeValue = getValueBasedOnMode(options, currentDate);\n setDate(currentDate);\n onChange(dateTimeValue);\n }\n };\n\n return (\n <View style={styles.container}>\n <TouchableOpacity onPress={() => setShow(true)}>\n <TextInput\n editable={false}\n onTouchStart={() => setShow(true)}\n value={getValueBasedOnMode(options, date)}\n placeholder={label}\n selectionColor={'#6200EE'}\n autoFocus={autofocus}\n onFocus={() => {\n setFocused(true);\n onFocus(id, value);\n }}\n placeholderTextColor={theme.placeholderTextColor}\n style={[styles.input, themedStyle]}\n />\n </TouchableOpacity>\n {show && (\n <DateTimePicker\n testID=\"dateTimePicker\"\n // @ts-ignore\n mode={getWidgetType(options.mode)}\n minimumDate={options.mode === 'date' ? new Date() : undefined}\n maximumDate={maxDate}\n is24Hour={false}\n display=\"default\"\n onChange={onDateChange}\n value={date ?? new Date()}\n textColor={'red'}\n />\n )}\n </View>\n );\n};\n\nfunction getWidgetType(mode: string): string {\n switch (mode) {\n case 'date':\n return MODES.DATE;\n case 'time':\n return MODES.TIME;\n case 'datetime':\n return MODES.DATETIME;\n default:\n return MODES.DATE;\n }\n}\n\nfunction getValueBasedOnMode(uiOptions: any, date: Date | null): string {\n if (!date) return '';\n switch (uiOptions.mode) {\n case 'date':\n return date.toISOString().substring(0, 10);\n case 'time':\n return date.toLocaleTimeString().slice(0, 5);\n case 'datetime':\n return date.toLocaleString();\n default:\n return date.toLocaleString();\n }\n}\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n },\n input: {\n borderColor: SdkColors[ColorTheme.LIGHT].primaryButton,\n borderWidth: 1,\n paddingHorizontal: 16,\n paddingTop: 15,\n paddingBottom: 15,\n borderRadius: 4,\n fontSize: 16,\n color: '#111111',\n },\n});\n\n/**\n * max and min date has to be implemented\n */\n\nexport default DateTimeWidget;\n"],"mappings":"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"}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
9
|
+
|
|
10
|
+
var _reactNative = require("react-native");
|
|
11
|
+
|
|
12
|
+
var _rjsfNative = require("rjsf-native");
|
|
13
|
+
|
|
14
|
+
var _vectorIcons = require("@expo/vector-icons");
|
|
15
|
+
|
|
16
|
+
var _CScanner = _interopRequireDefault(require("../../scanner/CScanner"));
|
|
17
|
+
|
|
18
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
19
|
+
|
|
20
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
21
|
+
|
|
22
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
23
|
+
|
|
24
|
+
const QRBarcodeScannerWidget = _ref => {
|
|
25
|
+
let {
|
|
26
|
+
id,
|
|
27
|
+
label,
|
|
28
|
+
value,
|
|
29
|
+
onChange,
|
|
30
|
+
onFocus,
|
|
31
|
+
autofocus,
|
|
32
|
+
rawErrors
|
|
33
|
+
} = _ref;
|
|
34
|
+
const [show, setShow] = (0, _react.useState)(false);
|
|
35
|
+
|
|
36
|
+
const [scannerOutput, setScannerOutput] = _react.default.useState('');
|
|
37
|
+
|
|
38
|
+
const {
|
|
39
|
+
theme
|
|
40
|
+
} = (0, _rjsfNative.useFormContext)();
|
|
41
|
+
const [focused, setFocused] = (0, _react.useState)(false);
|
|
42
|
+
const themedStyle = {
|
|
43
|
+
borderColor: (rawErrors === null || rawErrors === void 0 ? void 0 : rawErrors.length) > 0 ? theme.errorColor : focused ? theme.highlightColor : theme.borderColor,
|
|
44
|
+
borderWidth: focused ? 2 : 1,
|
|
45
|
+
color: theme.textColor
|
|
46
|
+
};
|
|
47
|
+
return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
48
|
+
style: styles.container
|
|
49
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.TouchableOpacity, {
|
|
50
|
+
onPress: () => setShow(true)
|
|
51
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.TextInput, {
|
|
52
|
+
editable: false,
|
|
53
|
+
onTouchStart: () => setShow(true),
|
|
54
|
+
value: scannerOutput,
|
|
55
|
+
placeholder: label,
|
|
56
|
+
autoFocus: autofocus,
|
|
57
|
+
onFocus: () => {
|
|
58
|
+
setFocused(true);
|
|
59
|
+
onFocus(id, value);
|
|
60
|
+
},
|
|
61
|
+
selectionColor: theme.highlightColor,
|
|
62
|
+
placeholderTextColor: theme.placeholderTextColor,
|
|
63
|
+
style: [styles.input, themedStyle]
|
|
64
|
+
})), show && /*#__PURE__*/_react.default.createElement(ScannerDialog, {
|
|
65
|
+
onSubmitDialog: data => {
|
|
66
|
+
setScannerOutput(data);
|
|
67
|
+
onChange(data);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Failure case impl.*/
|
|
71
|
+
,
|
|
72
|
+
onModalClose: () => setShow(false)
|
|
73
|
+
}));
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
function ScannerDialog(props) {
|
|
77
|
+
const [modalVisible, setModalVisible] = (0, _react.useState)(true);
|
|
78
|
+
return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
79
|
+
style: styles.centeredView
|
|
80
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Modal, {
|
|
81
|
+
animationType: "slide",
|
|
82
|
+
transparent: true,
|
|
83
|
+
visible: modalVisible,
|
|
84
|
+
onRequestClose: () => {
|
|
85
|
+
setModalVisible(!modalVisible);
|
|
86
|
+
props.onModalClose();
|
|
87
|
+
}
|
|
88
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
89
|
+
style: styles.centeredView
|
|
90
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
91
|
+
style: styles.modalContent
|
|
92
|
+
}, /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
93
|
+
style: styles.modalText
|
|
94
|
+
}, "Barcode/QR Scanner"), /*#__PURE__*/_react.default.createElement(_CScanner.default, {
|
|
95
|
+
barCodeTypes: [],
|
|
96
|
+
onScanned: result => {
|
|
97
|
+
props.onSubmitDialog(result);
|
|
98
|
+
setModalVisible(false);
|
|
99
|
+
props.onModalClose();
|
|
100
|
+
}
|
|
101
|
+
}), /*#__PURE__*/_react.default.createElement(_vectorIcons.AntDesign, {
|
|
102
|
+
name: "closecircleo",
|
|
103
|
+
size: 40,
|
|
104
|
+
color: "blue",
|
|
105
|
+
onPress: () => {
|
|
106
|
+
setModalVisible(false);
|
|
107
|
+
props.onModalClose();
|
|
108
|
+
}
|
|
109
|
+
})))));
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
const styles = _reactNative.StyleSheet.create({
|
|
113
|
+
centeredView: {
|
|
114
|
+
flex: 1,
|
|
115
|
+
justifyContent: 'center',
|
|
116
|
+
alignItems: 'center',
|
|
117
|
+
marginTop: 22
|
|
118
|
+
},
|
|
119
|
+
modalContent: {
|
|
120
|
+
margin: 20,
|
|
121
|
+
backgroundColor: 'white',
|
|
122
|
+
borderRadius: 20,
|
|
123
|
+
padding: 35,
|
|
124
|
+
alignItems: 'center',
|
|
125
|
+
shadowColor: '#000',
|
|
126
|
+
shadowOffset: {
|
|
127
|
+
width: 0,
|
|
128
|
+
height: 2
|
|
129
|
+
},
|
|
130
|
+
shadowOpacity: 0.25,
|
|
131
|
+
shadowRadius: 4,
|
|
132
|
+
elevation: 5
|
|
133
|
+
},
|
|
134
|
+
modalText: {
|
|
135
|
+
marginBottom: 15,
|
|
136
|
+
textAlign: 'center'
|
|
137
|
+
},
|
|
138
|
+
container: {
|
|
139
|
+
flex: 1
|
|
140
|
+
},
|
|
141
|
+
input: {
|
|
142
|
+
borderColor: '#979B9E',
|
|
143
|
+
borderWidth: 1,
|
|
144
|
+
paddingHorizontal: 16,
|
|
145
|
+
paddingTop: 15,
|
|
146
|
+
paddingBottom: 15,
|
|
147
|
+
borderRadius: 4,
|
|
148
|
+
fontSize: 16,
|
|
149
|
+
color: '#333333'
|
|
150
|
+
}
|
|
151
|
+
});
|
|
152
|
+
|
|
153
|
+
var _default = QRBarcodeScannerWidget;
|
|
154
|
+
exports.default = _default;
|
|
155
|
+
//# sourceMappingURL=QRBarcodeScannerWidget.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["QRBarcodeScannerWidget","id","label","value","onChange","onFocus","autofocus","rawErrors","show","setShow","useState","scannerOutput","setScannerOutput","React","theme","useFormContext","focused","setFocused","themedStyle","borderColor","length","errorColor","highlightColor","borderWidth","color","textColor","styles","container","placeholderTextColor","input","data","ScannerDialog","props","modalVisible","setModalVisible","centeredView","onModalClose","modalContent","modalText","result","onSubmitDialog","StyleSheet","create","flex","justifyContent","alignItems","marginTop","margin","backgroundColor","borderRadius","padding","shadowColor","shadowOffset","width","height","shadowOpacity","shadowRadius","elevation","marginBottom","textAlign","paddingHorizontal","paddingTop","paddingBottom","fontSize"],"sources":["QRBarcodeScannerWidget.tsx"],"sourcesContent":["import React, { useState } from 'react';\nimport {\n Modal,\n StyleSheet,\n Text,\n TextInput,\n TouchableOpacity,\n View,\n} from 'react-native';\nimport type { WidgetProps } from '@rjsf/core';\nimport { useFormContext } from 'rjsf-native';\nimport { AntDesign } from '@expo/vector-icons';\nimport CScanner from '../../scanner/CScanner';\n\nconst QRBarcodeScannerWidget = ({\n id,\n label,\n value,\n onChange,\n onFocus,\n autofocus,\n rawErrors,\n}: WidgetProps) => {\n const [show, setShow] = useState(false);\n const [scannerOutput, setScannerOutput] = React.useState<string>('');\n const { theme } = useFormContext();\n const [focused, setFocused] = useState(false);\n\n const themedStyle = {\n borderColor:\n rawErrors?.length > 0\n ? theme.errorColor\n : focused\n ? theme.highlightColor\n : theme.borderColor,\n borderWidth: focused ? 2 : 1,\n color: theme.textColor,\n };\n\n return (\n <View style={styles.container}>\n <TouchableOpacity onPress={() => setShow(true)}>\n <TextInput\n editable={false}\n onTouchStart={() => setShow(true)}\n value={scannerOutput}\n placeholder={label}\n autoFocus={autofocus}\n onFocus={() => {\n setFocused(true);\n onFocus(id, value);\n }}\n selectionColor={theme.highlightColor}\n placeholderTextColor={theme.placeholderTextColor}\n style={[styles.input, themedStyle]}\n />\n </TouchableOpacity>\n {show && (\n <ScannerDialog\n onSubmitDialog={(data) => {\n setScannerOutput(data);\n onChange(data);\n }}\n /**\n * Failure case impl.*/\n onModalClose={() => setShow(false)}\n />\n )}\n </View>\n );\n};\n\nfunction ScannerDialog(props: ScannerDialogProps) {\n const [modalVisible, setModalVisible] = useState(true);\n\n return (\n <View style={styles.centeredView}>\n <Modal\n animationType=\"slide\"\n transparent={true}\n visible={modalVisible}\n onRequestClose={() => {\n setModalVisible(!modalVisible);\n props.onModalClose();\n }}\n >\n <View style={styles.centeredView}>\n <View style={styles.modalContent}>\n <Text style={styles.modalText}>Barcode/QR Scanner</Text>\n <CScanner\n barCodeTypes={[]}\n onScanned={(result) => {\n props.onSubmitDialog(result);\n setModalVisible(false);\n props.onModalClose();\n }}\n />\n <AntDesign\n name=\"closecircleo\"\n size={40}\n color=\"blue\"\n onPress={() => {\n setModalVisible(false);\n props.onModalClose();\n }}\n />\n </View>\n </View>\n </Modal>\n </View>\n );\n}\nconst styles = StyleSheet.create({\n centeredView: {\n flex: 1,\n justifyContent: 'center',\n alignItems: 'center',\n marginTop: 22,\n },\n modalContent: {\n margin: 20,\n backgroundColor: 'white',\n borderRadius: 20,\n padding: 35,\n alignItems: 'center',\n shadowColor: '#000',\n shadowOffset: {\n width: 0,\n height: 2,\n },\n shadowOpacity: 0.25,\n shadowRadius: 4,\n elevation: 5,\n },\n modalText: {\n marginBottom: 15,\n textAlign: 'center',\n },\n container: {\n flex: 1,\n },\n input: {\n borderColor: '#979B9E',\n borderWidth: 1,\n paddingHorizontal: 16,\n paddingTop: 15,\n paddingBottom: 15,\n borderRadius: 4,\n fontSize: 16,\n color: '#333333',\n },\n});\n\nexport interface ScannerDialogProps {\n onSubmitDialog: (value: string) => void;\n onModalClose: () => void;\n}\nexport default QRBarcodeScannerWidget;\n"],"mappings":"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"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
9
|
+
|
|
10
|
+
var _reactNative = require("react-native");
|
|
11
|
+
|
|
12
|
+
var _DateTimeWidget = _interopRequireDefault(require("./DateTimeWidget"));
|
|
13
|
+
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
+
|
|
16
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
17
|
+
|
|
18
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
19
|
+
|
|
20
|
+
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); }
|
|
21
|
+
|
|
22
|
+
const TimeRangeSelector = props => {
|
|
23
|
+
const [start, setStart] = (0, _react.useState)(new Date());
|
|
24
|
+
const [end, setEnd] = (0, _react.useState)(new Date());
|
|
25
|
+
(0, _react.useEffect)(() => {
|
|
26
|
+
props.onChange(JSON.stringify({
|
|
27
|
+
start: start,
|
|
28
|
+
end: end
|
|
29
|
+
}));
|
|
30
|
+
});
|
|
31
|
+
return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
32
|
+
style: styles.container
|
|
33
|
+
}, /*#__PURE__*/_react.default.createElement(_DateTimeWidget.default, _extends({}, props, {
|
|
34
|
+
onChange: date => {
|
|
35
|
+
setStart(date);
|
|
36
|
+
}
|
|
37
|
+
})), /*#__PURE__*/_react.default.createElement(_DateTimeWidget.default, _extends({}, props, {
|
|
38
|
+
onChange: date => {
|
|
39
|
+
setEnd(date);
|
|
40
|
+
}
|
|
41
|
+
})));
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
const styles = _reactNative.StyleSheet.create({
|
|
45
|
+
container: {
|
|
46
|
+
flex: 1,
|
|
47
|
+
flexDirection: 'row',
|
|
48
|
+
justifyContent: 'space-between'
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
var _default = TimeRangeSelector;
|
|
53
|
+
exports.default = _default;
|
|
54
|
+
//# sourceMappingURL=TimeRangeSelector.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["TimeRangeSelector","props","start","setStart","useState","Date","end","setEnd","useEffect","onChange","JSON","stringify","styles","container","date","StyleSheet","create","flex","flexDirection","justifyContent"],"sources":["TimeRangeSelector.tsx"],"sourcesContent":["import React, { useEffect, useState } from 'react';\nimport { StyleSheet, View } from 'react-native';\nimport type { WidgetProps } from '@rjsf/core';\nimport DateTimeWidget from './DateTimeWidget';\n\nconst TimeRangeSelector = (props: WidgetProps) => {\n const [start, setStart] = useState(new Date());\n const [end, setEnd] = useState(new Date());\n useEffect(() => {\n props.onChange(JSON.stringify({ start: start, end: end }));\n });\n return (\n <View style={styles.container}>\n <DateTimeWidget\n {...props}\n onChange={(date) => {\n setStart(date);\n }}\n />\n <DateTimeWidget\n {...props}\n onChange={(date) => {\n setEnd(date);\n }}\n />\n </View>\n );\n};\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n flexDirection: 'row',\n justifyContent: 'space-between',\n },\n});\n\nexport default TimeRangeSelector;\n"],"mappings":";;;;;;;AAAA;;AACA;;AAEA;;;;;;;;;;AAEA,MAAMA,iBAAiB,GAAIC,KAAD,IAAwB;EAChD,MAAM,CAACC,KAAD,EAAQC,QAAR,IAAoB,IAAAC,eAAA,EAAS,IAAIC,IAAJ,EAAT,CAA1B;EACA,MAAM,CAACC,GAAD,EAAMC,MAAN,IAAgB,IAAAH,eAAA,EAAS,IAAIC,IAAJ,EAAT,CAAtB;EACA,IAAAG,gBAAA,EAAU,MAAM;IACdP,KAAK,CAACQ,QAAN,CAAeC,IAAI,CAACC,SAAL,CAAe;MAAET,KAAK,EAAEA,KAAT;MAAgBI,GAAG,EAAEA;IAArB,CAAf,CAAf;EACD,CAFD;EAGA,oBACE,6BAAC,iBAAD;IAAM,KAAK,EAAEM,MAAM,CAACC;EAApB,gBACE,6BAAC,uBAAD,eACMZ,KADN;IAEE,QAAQ,EAAGa,IAAD,IAAU;MAClBX,QAAQ,CAACW,IAAD,CAAR;IACD;EAJH,GADF,eAOE,6BAAC,uBAAD,eACMb,KADN;IAEE,QAAQ,EAAGa,IAAD,IAAU;MAClBP,MAAM,CAACO,IAAD,CAAN;IACD;EAJH,GAPF,CADF;AAgBD,CAtBD;;AAwBA,MAAMF,MAAM,GAAGG,uBAAA,CAAWC,MAAX,CAAkB;EAC/BH,SAAS,EAAE;IACTI,IAAI,EAAE,CADG;IAETC,aAAa,EAAE,KAFN;IAGTC,cAAc,EAAE;EAHP;AADoB,CAAlB,CAAf;;eAQenB,iB"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.getApiResponse = getApiResponse;
|
|
7
|
+
exports.getHttpETOutput = getHttpETOutput;
|
|
8
|
+
exports.getOutputUsingJsonpath = getOutputUsingJsonpath;
|
|
9
|
+
|
|
10
|
+
var _axios = _interopRequireDefault(require("axios"));
|
|
11
|
+
|
|
12
|
+
var _NetworkUtils = require("../../../network/NetworkUtils");
|
|
13
|
+
|
|
14
|
+
var _GraphQLClient = require("../../../network/GraphQLClient");
|
|
15
|
+
|
|
16
|
+
var _jsonpathPlus = require("jsonpath-plus");
|
|
17
|
+
|
|
18
|
+
var _utils = require("../../../utils/utils");
|
|
19
|
+
|
|
20
|
+
var _ExecTaskUtils = require("../../../utils/ExecTaskUtils");
|
|
21
|
+
|
|
22
|
+
var _ETConfig = require("../../../models/execTasks/ETConfig");
|
|
23
|
+
|
|
24
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
25
|
+
|
|
26
|
+
async function getApiResponse(apiData) {
|
|
27
|
+
const axiosConfig = {
|
|
28
|
+
data: apiData.requestBody,
|
|
29
|
+
method: apiData.httpMethod,
|
|
30
|
+
timeout: apiData.timeout ?? 15000,
|
|
31
|
+
// timeout in millis i.e 15s
|
|
32
|
+
url: apiData.uri,
|
|
33
|
+
headers: { ...(0, _NetworkUtils.getAddHeaders)(apiData.headers),
|
|
34
|
+
...(await (0, _NetworkUtils.getHeaders)(_GraphQLClient.API_CONTENT_TYPES.APPLICATION_JSON))
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
return (0, _axios.default)(axiosConfig);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
function getOutputUsingJsonpath(json, jsonPath) {
|
|
41
|
+
if ((0, _utils.isEmptyOrBlank)(jsonPath)) return json;
|
|
42
|
+
return (0, _jsonpathPlus.JSONPath)({
|
|
43
|
+
path: jsonPath,
|
|
44
|
+
json
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
async function getHttpETOutput(apiResponse, jsonPath, success) {
|
|
49
|
+
return { ...(await (0, _ExecTaskUtils.getBaseETResponse)(_ETConfig.EntityCode.HTTP_REQUEST_ET, success, success ? _ETConfig.BaseEventCodes.ENTITY_SUCCESS : _ETConfig.BaseEventCodes.ENTITY_FAILURE, '')),
|
|
50
|
+
apiResponse: getOutputUsingJsonpath(apiResponse, jsonPath)
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=HttpEtUtils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["getApiResponse","apiData","axiosConfig","data","requestBody","method","httpMethod","timeout","url","uri","headers","getAddHeaders","getHeaders","API_CONTENT_TYPES","APPLICATION_JSON","axios","getOutputUsingJsonpath","json","jsonPath","isEmptyOrBlank","JSONPath","path","getHttpETOutput","apiResponse","success","getBaseETResponse","EntityCode","HTTP_REQUEST_ET","BaseEventCodes","ENTITY_SUCCESS","ENTITY_FAILURE"],"sources":["HttpEtUtils.ts"],"sourcesContent":["import type { APIData, HttpRequestETOutput } from './HttpRequestETSchema';\nimport axios, { AxiosRequestConfig } from 'axios';\nimport { getAddHeaders, getHeaders } from '../../../network/NetworkUtils';\nimport { API_CONTENT_TYPES } from '../../../network/GraphQLClient';\nimport { JSONPath } from 'jsonpath-plus';\nimport { isEmptyOrBlank } from '../../../utils/utils';\nimport { getBaseETResponse } from '../../../utils/ExecTaskUtils';\nimport { BaseEventCodes, EntityCode } from '../../../models/execTasks/ETConfig';\n\nexport async function getApiResponse(apiData: APIData) {\n const axiosConfig: AxiosRequestConfig = {\n data: apiData.requestBody,\n method: apiData.httpMethod,\n timeout: apiData.timeout ?? 15000, // timeout in millis i.e 15s\n url: apiData.uri,\n headers: {\n ...getAddHeaders(apiData.headers),\n ...(await getHeaders(API_CONTENT_TYPES.APPLICATION_JSON)),\n },\n };\n return axios(axiosConfig);\n}\nexport function getOutputUsingJsonpath(json: object, jsonPath: string) {\n if (isEmptyOrBlank(jsonPath)) return json;\n return JSONPath({ path: jsonPath, json });\n}\n\nexport async function getHttpETOutput(\n apiResponse: object,\n jsonPath: string,\n success: boolean\n): Promise<HttpRequestETOutput> {\n return {\n ...(await getBaseETResponse(\n EntityCode.HTTP_REQUEST_ET,\n success,\n success ? BaseEventCodes.ENTITY_SUCCESS : BaseEventCodes.ENTITY_FAILURE,\n ''\n )),\n apiResponse: getOutputUsingJsonpath(apiResponse, jsonPath),\n };\n}\n"],"mappings":";;;;;;;;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEO,eAAeA,cAAf,CAA8BC,OAA9B,EAAgD;EACrD,MAAMC,WAA+B,GAAG;IACtCC,IAAI,EAAEF,OAAO,CAACG,WADwB;IAEtCC,MAAM,EAAEJ,OAAO,CAACK,UAFsB;IAGtCC,OAAO,EAAEN,OAAO,CAACM,OAAR,IAAmB,KAHU;IAGH;IACnCC,GAAG,EAAEP,OAAO,CAACQ,GAJyB;IAKtCC,OAAO,EAAE,EACP,GAAG,IAAAC,2BAAA,EAAcV,OAAO,CAACS,OAAtB,CADI;MAEP,IAAI,MAAM,IAAAE,wBAAA,EAAWC,gCAAA,CAAkBC,gBAA7B,CAAV;IAFO;EAL6B,CAAxC;EAUA,OAAO,IAAAC,cAAA,EAAMb,WAAN,CAAP;AACD;;AACM,SAASc,sBAAT,CAAgCC,IAAhC,EAA8CC,QAA9C,EAAgE;EACrE,IAAI,IAAAC,qBAAA,EAAeD,QAAf,CAAJ,EAA8B,OAAOD,IAAP;EAC9B,OAAO,IAAAG,sBAAA,EAAS;IAAEC,IAAI,EAAEH,QAAR;IAAkBD;EAAlB,CAAT,CAAP;AACD;;AAEM,eAAeK,eAAf,CACLC,WADK,EAELL,QAFK,EAGLM,OAHK,EAIyB;EAC9B,OAAO,EACL,IAAI,MAAM,IAAAC,gCAAA,EACRC,oBAAA,CAAWC,eADH,EAERH,OAFQ,EAGRA,OAAO,GAAGI,wBAAA,CAAeC,cAAlB,GAAmCD,wBAAA,CAAeE,cAHjD,EAIR,EAJQ,CAAV,CADK;IAOLP,WAAW,EAAEP,sBAAsB,CAACO,WAAD,EAAcL,QAAd;EAP9B,CAAP;AASD"}
|