@thenovaweb/druid-ogold-rn-sdk 0.0.6
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/README.md +58 -0
- package/lib/commonjs/@types/react-navigation.d.js +4 -0
- package/lib/commonjs/@types/react-navigation.d.js.map +1 -0
- package/lib/commonjs/assets/data/countries.json +802 -0
- package/lib/commonjs/assets/data/enhanced.json +119 -0
- package/lib/commonjs/assets/data/form.json +155 -0
- package/lib/commonjs/assets/images/center.jpg +0 -0
- package/lib/commonjs/assets/images/doc-outlined.png +0 -0
- package/lib/commonjs/assets/images/icons8-error-64.png +0 -0
- package/lib/commonjs/assets/images/light-off.png +0 -0
- package/lib/commonjs/assets/images/live-outlined.png +0 -0
- package/lib/commonjs/assets/images/live.png +0 -0
- package/lib/commonjs/assets/images/loader.gif +0 -0
- package/lib/commonjs/assets/images/not-live.png +0 -0
- package/lib/commonjs/assets/images/nova.png +0 -0
- package/lib/commonjs/assets/images/ogold.png +0 -0
- package/lib/commonjs/assets/images/overlay.png +0 -0
- package/lib/commonjs/assets/images/pending.png +0 -0
- package/lib/commonjs/assets/images/rejected.png +0 -0
- package/lib/commonjs/assets/images/three-dots-white.png +0 -0
- package/lib/commonjs/assets/images/verified.png +0 -0
- package/lib/commonjs/assets/themes/oGold.json +30 -0
- package/lib/commonjs/assets/themes/styles.js +94 -0
- package/lib/commonjs/assets/themes/styles.js.map +1 -0
- package/lib/commonjs/components/BasicInput.js +106 -0
- package/lib/commonjs/components/BasicInput.js.map +1 -0
- package/lib/commonjs/components/BlurBackground.js +34 -0
- package/lib/commonjs/components/BlurBackground.js.map +1 -0
- package/lib/commonjs/components/Camera.js +361 -0
- package/lib/commonjs/components/Camera.js.map +1 -0
- package/lib/commonjs/components/Checkbox.js +132 -0
- package/lib/commonjs/components/Checkbox.js.map +1 -0
- package/lib/commonjs/components/DatePicker.js +146 -0
- package/lib/commonjs/components/DatePicker.js.map +1 -0
- package/lib/commonjs/components/DropdownComponent.js +229 -0
- package/lib/commonjs/components/DropdownComponent.js.map +1 -0
- package/lib/commonjs/components/FaceOverlay.js +47 -0
- package/lib/commonjs/components/FaceOverlay.js.map +1 -0
- package/lib/commonjs/components/FadeBorder.js +53 -0
- package/lib/commonjs/components/FadeBorder.js.map +1 -0
- package/lib/commonjs/components/Field.js +58 -0
- package/lib/commonjs/components/Field.js.map +1 -0
- package/lib/commonjs/components/Loader.js +43 -0
- package/lib/commonjs/components/Loader.js.map +1 -0
- package/lib/commonjs/components/NavHeader.js +47 -0
- package/lib/commonjs/components/NavHeader.js.map +1 -0
- package/lib/commonjs/components/Navigator.js +171 -0
- package/lib/commonjs/components/Navigator.js.map +1 -0
- package/lib/commonjs/components/Section.js +43 -0
- package/lib/commonjs/components/Section.js.map +1 -0
- package/lib/commonjs/components/SelectImage.js +204 -0
- package/lib/commonjs/components/SelectImage.js.map +1 -0
- package/lib/commonjs/components/TextDivider.js +43 -0
- package/lib/commonjs/components/TextDivider.js.map +1 -0
- package/lib/commonjs/components/Toaster.js +29 -0
- package/lib/commonjs/components/Toaster.js.map +1 -0
- package/lib/commonjs/index.js +112 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/package.json +1 -0
- package/lib/commonjs/screens/DocumentsScreen.js +214 -0
- package/lib/commonjs/screens/DocumentsScreen.js.map +1 -0
- package/lib/commonjs/screens/ErrorScreen.js +47 -0
- package/lib/commonjs/screens/ErrorScreen.js.map +1 -0
- package/lib/commonjs/screens/FormScreen.js +149 -0
- package/lib/commonjs/screens/FormScreen.js.map +1 -0
- package/lib/commonjs/screens/ImageUploadScreen.js +240 -0
- package/lib/commonjs/screens/ImageUploadScreen.js.map +1 -0
- package/lib/commonjs/screens/LivenessScreen.js +268 -0
- package/lib/commonjs/screens/LivenessScreen.js.map +1 -0
- package/lib/commonjs/screens/ReportScreen.js +349 -0
- package/lib/commonjs/screens/ReportScreen.js.map +1 -0
- package/lib/commonjs/screens/SuccessScreen.js +99 -0
- package/lib/commonjs/screens/SuccessScreen.js.map +1 -0
- package/lib/commonjs/screens/WelcomeScreen.js +226 -0
- package/lib/commonjs/screens/WelcomeScreen.js.map +1 -0
- package/lib/commonjs/state/hooks.js +10 -0
- package/lib/commonjs/state/hooks.js.map +1 -0
- package/lib/commonjs/state/slices/confidenceSlice.js +67 -0
- package/lib/commonjs/state/slices/confidenceSlice.js.map +1 -0
- package/lib/commonjs/state/slices/customerSlice.js +99 -0
- package/lib/commonjs/state/slices/customerSlice.js.map +1 -0
- package/lib/commonjs/state/slices/enhancedSlice.js +27 -0
- package/lib/commonjs/state/slices/enhancedSlice.js.map +1 -0
- package/lib/commonjs/state/slices/formSlice.js +111 -0
- package/lib/commonjs/state/slices/formSlice.js.map +1 -0
- package/lib/commonjs/state/slices/immutableOcrSlice.js +51 -0
- package/lib/commonjs/state/slices/immutableOcrSlice.js.map +1 -0
- package/lib/commonjs/state/slices/livenessSlice.js +54 -0
- package/lib/commonjs/state/slices/livenessSlice.js.map +1 -0
- package/lib/commonjs/state/slices/loaderSlice.js +32 -0
- package/lib/commonjs/state/slices/loaderSlice.js.map +1 -0
- package/lib/commonjs/state/slices/ocrSlice.js +447 -0
- package/lib/commonjs/state/slices/ocrSlice.js.map +1 -0
- package/lib/commonjs/state/slices/themeSlice.js +50 -0
- package/lib/commonjs/state/slices/themeSlice.js.map +1 -0
- package/lib/commonjs/state/store.js +31 -0
- package/lib/commonjs/state/store.js.map +1 -0
- package/lib/commonjs/utils/axios.js +35 -0
- package/lib/commonjs/utils/axios.js.map +1 -0
- package/lib/commonjs/utils/constants.js +43 -0
- package/lib/commonjs/utils/constants.js.map +1 -0
- package/lib/commonjs/utils/helpers.js +147 -0
- package/lib/commonjs/utils/helpers.js.map +1 -0
- package/lib/commonjs/utils/nonSliceHelpers.js +91 -0
- package/lib/commonjs/utils/nonSliceHelpers.js.map +1 -0
- package/lib/commonjs/utils/types.js +2 -0
- package/lib/commonjs/utils/types.js.map +1 -0
- package/lib/commonjs/utils/validators.js +47 -0
- package/lib/commonjs/utils/validators.js.map +1 -0
- package/lib/commonjs/utils/widgetUtility.js +111 -0
- package/lib/commonjs/utils/widgetUtility.js.map +1 -0
- package/lib/module/@types/react-navigation.d.js +4 -0
- package/lib/module/@types/react-navigation.d.js.map +1 -0
- package/lib/module/assets/data/countries.json +802 -0
- package/lib/module/assets/data/enhanced.json +119 -0
- package/lib/module/assets/data/form.json +155 -0
- package/lib/module/assets/images/center.jpg +0 -0
- package/lib/module/assets/images/doc-outlined.png +0 -0
- package/lib/module/assets/images/icons8-error-64.png +0 -0
- package/lib/module/assets/images/light-off.png +0 -0
- package/lib/module/assets/images/live-outlined.png +0 -0
- package/lib/module/assets/images/live.png +0 -0
- package/lib/module/assets/images/loader.gif +0 -0
- package/lib/module/assets/images/not-live.png +0 -0
- package/lib/module/assets/images/nova.png +0 -0
- package/lib/module/assets/images/ogold.png +0 -0
- package/lib/module/assets/images/overlay.png +0 -0
- package/lib/module/assets/images/pending.png +0 -0
- package/lib/module/assets/images/rejected.png +0 -0
- package/lib/module/assets/images/three-dots-white.png +0 -0
- package/lib/module/assets/images/verified.png +0 -0
- package/lib/module/assets/themes/oGold.json +30 -0
- package/lib/module/assets/themes/styles.js +89 -0
- package/lib/module/assets/themes/styles.js.map +1 -0
- package/lib/module/components/BasicInput.js +102 -0
- package/lib/module/components/BasicInput.js.map +1 -0
- package/lib/module/components/BlurBackground.js +30 -0
- package/lib/module/components/BlurBackground.js.map +1 -0
- package/lib/module/components/Camera.js +356 -0
- package/lib/module/components/Camera.js.map +1 -0
- package/lib/module/components/Checkbox.js +128 -0
- package/lib/module/components/Checkbox.js.map +1 -0
- package/lib/module/components/DatePicker.js +141 -0
- package/lib/module/components/DatePicker.js.map +1 -0
- package/lib/module/components/DropdownComponent.js +224 -0
- package/lib/module/components/DropdownComponent.js.map +1 -0
- package/lib/module/components/FaceOverlay.js +41 -0
- package/lib/module/components/FaceOverlay.js.map +1 -0
- package/lib/module/components/FadeBorder.js +49 -0
- package/lib/module/components/FadeBorder.js.map +1 -0
- package/lib/module/components/Field.js +53 -0
- package/lib/module/components/Field.js.map +1 -0
- package/lib/module/components/Loader.js +39 -0
- package/lib/module/components/Loader.js.map +1 -0
- package/lib/module/components/NavHeader.js +43 -0
- package/lib/module/components/NavHeader.js.map +1 -0
- package/lib/module/components/Navigator.js +166 -0
- package/lib/module/components/Navigator.js.map +1 -0
- package/lib/module/components/Section.js +38 -0
- package/lib/module/components/Section.js.map +1 -0
- package/lib/module/components/SelectImage.js +200 -0
- package/lib/module/components/SelectImage.js.map +1 -0
- package/lib/module/components/TextDivider.js +39 -0
- package/lib/module/components/TextDivider.js.map +1 -0
- package/lib/module/components/Toaster.js +24 -0
- package/lib/module/components/Toaster.js.map +1 -0
- package/lib/module/index.js +100 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/package.json +1 -0
- package/lib/module/screens/DocumentsScreen.js +208 -0
- package/lib/module/screens/DocumentsScreen.js.map +1 -0
- package/lib/module/screens/ErrorScreen.js +42 -0
- package/lib/module/screens/ErrorScreen.js.map +1 -0
- package/lib/module/screens/FormScreen.js +142 -0
- package/lib/module/screens/FormScreen.js.map +1 -0
- package/lib/module/screens/ImageUploadScreen.js +235 -0
- package/lib/module/screens/ImageUploadScreen.js.map +1 -0
- package/lib/module/screens/LivenessScreen.js +262 -0
- package/lib/module/screens/LivenessScreen.js.map +1 -0
- package/lib/module/screens/ReportScreen.js +344 -0
- package/lib/module/screens/ReportScreen.js.map +1 -0
- package/lib/module/screens/SuccessScreen.js +94 -0
- package/lib/module/screens/SuccessScreen.js.map +1 -0
- package/lib/module/screens/WelcomeScreen.js +220 -0
- package/lib/module/screens/WelcomeScreen.js.map +1 -0
- package/lib/module/state/hooks.js +6 -0
- package/lib/module/state/hooks.js.map +1 -0
- package/lib/module/state/slices/confidenceSlice.js +58 -0
- package/lib/module/state/slices/confidenceSlice.js.map +1 -0
- package/lib/module/state/slices/customerSlice.js +92 -0
- package/lib/module/state/slices/customerSlice.js.map +1 -0
- package/lib/module/state/slices/enhancedSlice.js +21 -0
- package/lib/module/state/slices/enhancedSlice.js.map +1 -0
- package/lib/module/state/slices/formSlice.js +102 -0
- package/lib/module/state/slices/formSlice.js.map +1 -0
- package/lib/module/state/slices/immutableOcrSlice.js +44 -0
- package/lib/module/state/slices/immutableOcrSlice.js.map +1 -0
- package/lib/module/state/slices/livenessSlice.js +47 -0
- package/lib/module/state/slices/livenessSlice.js.map +1 -0
- package/lib/module/state/slices/loaderSlice.js +25 -0
- package/lib/module/state/slices/loaderSlice.js.map +1 -0
- package/lib/module/state/slices/ocrSlice.js +434 -0
- package/lib/module/state/slices/ocrSlice.js.map +1 -0
- package/lib/module/state/slices/themeSlice.js +45 -0
- package/lib/module/state/slices/themeSlice.js.map +1 -0
- package/lib/module/state/store.js +26 -0
- package/lib/module/state/store.js.map +1 -0
- package/lib/module/utils/axios.js +30 -0
- package/lib/module/utils/axios.js.map +1 -0
- package/lib/module/utils/constants.js +40 -0
- package/lib/module/utils/constants.js.map +1 -0
- package/lib/module/utils/helpers.js +139 -0
- package/lib/module/utils/helpers.js.map +1 -0
- package/lib/module/utils/nonSliceHelpers.js +80 -0
- package/lib/module/utils/nonSliceHelpers.js.map +1 -0
- package/lib/module/utils/types.js +2 -0
- package/lib/module/utils/types.js.map +1 -0
- package/lib/module/utils/validators.js +41 -0
- package/lib/module/utils/validators.js.map +1 -0
- package/lib/module/utils/widgetUtility.js +103 -0
- package/lib/module/utils/widgetUtility.js.map +1 -0
- package/lib/typescript/commonjs/package.json +1 -0
- package/lib/typescript/commonjs/src/assets/themes/styles.d.ts +82 -0
- package/lib/typescript/commonjs/src/assets/themes/styles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/BasicInput.d.ts +3 -0
- package/lib/typescript/commonjs/src/components/BasicInput.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/BlurBackground.d.ts +3 -0
- package/lib/typescript/commonjs/src/components/BlurBackground.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Camera.d.ts +8 -0
- package/lib/typescript/commonjs/src/components/Camera.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Checkbox.d.ts +3 -0
- package/lib/typescript/commonjs/src/components/Checkbox.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/DatePicker.d.ts +3 -0
- package/lib/typescript/commonjs/src/components/DatePicker.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/DropdownComponent.d.ts +3 -0
- package/lib/typescript/commonjs/src/components/DropdownComponent.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/FaceOverlay.d.ts +10 -0
- package/lib/typescript/commonjs/src/components/FaceOverlay.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/FadeBorder.d.ts +3 -0
- package/lib/typescript/commonjs/src/components/FadeBorder.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Field.d.ts +3 -0
- package/lib/typescript/commonjs/src/components/Field.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Loader.d.ts +6 -0
- package/lib/typescript/commonjs/src/components/Loader.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/NavHeader.d.ts +8 -0
- package/lib/typescript/commonjs/src/components/NavHeader.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Navigator.d.ts +4 -0
- package/lib/typescript/commonjs/src/components/Navigator.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Section.d.ts +3 -0
- package/lib/typescript/commonjs/src/components/Section.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/SelectImage.d.ts +3 -0
- package/lib/typescript/commonjs/src/components/SelectImage.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/TextDivider.d.ts +6 -0
- package/lib/typescript/commonjs/src/components/TextDivider.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Toaster.d.ts +3 -0
- package/lib/typescript/commonjs/src/components/Toaster.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/index.d.ts +29 -0
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/screens/DocumentsScreen.d.ts +8 -0
- package/lib/typescript/commonjs/src/screens/DocumentsScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/screens/ErrorScreen.d.ts +4 -0
- package/lib/typescript/commonjs/src/screens/ErrorScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/screens/FormScreen.d.ts +10 -0
- package/lib/typescript/commonjs/src/screens/FormScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/screens/ImageUploadScreen.d.ts +4 -0
- package/lib/typescript/commonjs/src/screens/ImageUploadScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/screens/LivenessScreen.d.ts +8 -0
- package/lib/typescript/commonjs/src/screens/LivenessScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/screens/ReportScreen.d.ts +8 -0
- package/lib/typescript/commonjs/src/screens/ReportScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/screens/SuccessScreen.d.ts +7 -0
- package/lib/typescript/commonjs/src/screens/SuccessScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/screens/WelcomeScreen.d.ts +9 -0
- package/lib/typescript/commonjs/src/screens/WelcomeScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/state/hooks.d.ts +23 -0
- package/lib/typescript/commonjs/src/state/hooks.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/state/slices/confidenceSlice.d.ts +29 -0
- package/lib/typescript/commonjs/src/state/slices/confidenceSlice.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/state/slices/customerSlice.d.ts +58 -0
- package/lib/typescript/commonjs/src/state/slices/customerSlice.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/state/slices/enhancedSlice.d.ts +13 -0
- package/lib/typescript/commonjs/src/state/slices/enhancedSlice.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/state/slices/formSlice.d.ts +39 -0
- package/lib/typescript/commonjs/src/state/slices/formSlice.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/state/slices/immutableOcrSlice.d.ts +43 -0
- package/lib/typescript/commonjs/src/state/slices/immutableOcrSlice.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/state/slices/livenessSlice.d.ts +37 -0
- package/lib/typescript/commonjs/src/state/slices/livenessSlice.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/state/slices/loaderSlice.d.ts +13 -0
- package/lib/typescript/commonjs/src/state/slices/loaderSlice.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/state/slices/ocrSlice.d.ts +216 -0
- package/lib/typescript/commonjs/src/state/slices/ocrSlice.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/state/slices/themeSlice.d.ts +12 -0
- package/lib/typescript/commonjs/src/state/slices/themeSlice.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/state/store.d.ts +26 -0
- package/lib/typescript/commonjs/src/state/store.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/axios.d.ts +3 -0
- package/lib/typescript/commonjs/src/utils/axios.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/constants.d.ts +20 -0
- package/lib/typescript/commonjs/src/utils/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/helpers.d.ts +15 -0
- package/lib/typescript/commonjs/src/utils/helpers.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/nonSliceHelpers.d.ts +19 -0
- package/lib/typescript/commonjs/src/utils/nonSliceHelpers.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/types.d.ts +52 -0
- package/lib/typescript/commonjs/src/utils/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/validators.d.ts +4 -0
- package/lib/typescript/commonjs/src/utils/validators.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/widgetUtility.d.ts +22 -0
- package/lib/typescript/commonjs/src/utils/widgetUtility.d.ts.map +1 -0
- package/lib/typescript/module/package.json +1 -0
- package/lib/typescript/module/src/assets/themes/styles.d.ts +82 -0
- package/lib/typescript/module/src/assets/themes/styles.d.ts.map +1 -0
- package/lib/typescript/module/src/components/BasicInput.d.ts +3 -0
- package/lib/typescript/module/src/components/BasicInput.d.ts.map +1 -0
- package/lib/typescript/module/src/components/BlurBackground.d.ts +3 -0
- package/lib/typescript/module/src/components/BlurBackground.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Camera.d.ts +8 -0
- package/lib/typescript/module/src/components/Camera.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Checkbox.d.ts +3 -0
- package/lib/typescript/module/src/components/Checkbox.d.ts.map +1 -0
- package/lib/typescript/module/src/components/DatePicker.d.ts +3 -0
- package/lib/typescript/module/src/components/DatePicker.d.ts.map +1 -0
- package/lib/typescript/module/src/components/DropdownComponent.d.ts +3 -0
- package/lib/typescript/module/src/components/DropdownComponent.d.ts.map +1 -0
- package/lib/typescript/module/src/components/FaceOverlay.d.ts +10 -0
- package/lib/typescript/module/src/components/FaceOverlay.d.ts.map +1 -0
- package/lib/typescript/module/src/components/FadeBorder.d.ts +3 -0
- package/lib/typescript/module/src/components/FadeBorder.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Field.d.ts +3 -0
- package/lib/typescript/module/src/components/Field.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Loader.d.ts +6 -0
- package/lib/typescript/module/src/components/Loader.d.ts.map +1 -0
- package/lib/typescript/module/src/components/NavHeader.d.ts +8 -0
- package/lib/typescript/module/src/components/NavHeader.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Navigator.d.ts +4 -0
- package/lib/typescript/module/src/components/Navigator.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Section.d.ts +3 -0
- package/lib/typescript/module/src/components/Section.d.ts.map +1 -0
- package/lib/typescript/module/src/components/SelectImage.d.ts +3 -0
- package/lib/typescript/module/src/components/SelectImage.d.ts.map +1 -0
- package/lib/typescript/module/src/components/TextDivider.d.ts +6 -0
- package/lib/typescript/module/src/components/TextDivider.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Toaster.d.ts +3 -0
- package/lib/typescript/module/src/components/Toaster.d.ts.map +1 -0
- package/lib/typescript/module/src/index.d.ts +29 -0
- package/lib/typescript/module/src/index.d.ts.map +1 -0
- package/lib/typescript/module/src/screens/DocumentsScreen.d.ts +8 -0
- package/lib/typescript/module/src/screens/DocumentsScreen.d.ts.map +1 -0
- package/lib/typescript/module/src/screens/ErrorScreen.d.ts +4 -0
- package/lib/typescript/module/src/screens/ErrorScreen.d.ts.map +1 -0
- package/lib/typescript/module/src/screens/FormScreen.d.ts +10 -0
- package/lib/typescript/module/src/screens/FormScreen.d.ts.map +1 -0
- package/lib/typescript/module/src/screens/ImageUploadScreen.d.ts +4 -0
- package/lib/typescript/module/src/screens/ImageUploadScreen.d.ts.map +1 -0
- package/lib/typescript/module/src/screens/LivenessScreen.d.ts +8 -0
- package/lib/typescript/module/src/screens/LivenessScreen.d.ts.map +1 -0
- package/lib/typescript/module/src/screens/ReportScreen.d.ts +8 -0
- package/lib/typescript/module/src/screens/ReportScreen.d.ts.map +1 -0
- package/lib/typescript/module/src/screens/SuccessScreen.d.ts +7 -0
- package/lib/typescript/module/src/screens/SuccessScreen.d.ts.map +1 -0
- package/lib/typescript/module/src/screens/WelcomeScreen.d.ts +9 -0
- package/lib/typescript/module/src/screens/WelcomeScreen.d.ts.map +1 -0
- package/lib/typescript/module/src/state/hooks.d.ts +23 -0
- package/lib/typescript/module/src/state/hooks.d.ts.map +1 -0
- package/lib/typescript/module/src/state/slices/confidenceSlice.d.ts +29 -0
- package/lib/typescript/module/src/state/slices/confidenceSlice.d.ts.map +1 -0
- package/lib/typescript/module/src/state/slices/customerSlice.d.ts +58 -0
- package/lib/typescript/module/src/state/slices/customerSlice.d.ts.map +1 -0
- package/lib/typescript/module/src/state/slices/enhancedSlice.d.ts +13 -0
- package/lib/typescript/module/src/state/slices/enhancedSlice.d.ts.map +1 -0
- package/lib/typescript/module/src/state/slices/formSlice.d.ts +39 -0
- package/lib/typescript/module/src/state/slices/formSlice.d.ts.map +1 -0
- package/lib/typescript/module/src/state/slices/immutableOcrSlice.d.ts +43 -0
- package/lib/typescript/module/src/state/slices/immutableOcrSlice.d.ts.map +1 -0
- package/lib/typescript/module/src/state/slices/livenessSlice.d.ts +37 -0
- package/lib/typescript/module/src/state/slices/livenessSlice.d.ts.map +1 -0
- package/lib/typescript/module/src/state/slices/loaderSlice.d.ts +13 -0
- package/lib/typescript/module/src/state/slices/loaderSlice.d.ts.map +1 -0
- package/lib/typescript/module/src/state/slices/ocrSlice.d.ts +216 -0
- package/lib/typescript/module/src/state/slices/ocrSlice.d.ts.map +1 -0
- package/lib/typescript/module/src/state/slices/themeSlice.d.ts +12 -0
- package/lib/typescript/module/src/state/slices/themeSlice.d.ts.map +1 -0
- package/lib/typescript/module/src/state/store.d.ts +26 -0
- package/lib/typescript/module/src/state/store.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/axios.d.ts +3 -0
- package/lib/typescript/module/src/utils/axios.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/constants.d.ts +20 -0
- package/lib/typescript/module/src/utils/constants.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/helpers.d.ts +15 -0
- package/lib/typescript/module/src/utils/helpers.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/nonSliceHelpers.d.ts +19 -0
- package/lib/typescript/module/src/utils/nonSliceHelpers.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/types.d.ts +52 -0
- package/lib/typescript/module/src/utils/types.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/validators.d.ts +4 -0
- package/lib/typescript/module/src/utils/validators.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/widgetUtility.d.ts +22 -0
- package/lib/typescript/module/src/utils/widgetUtility.d.ts.map +1 -0
- package/package.json +130 -0
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE: The OCR State maintains the original extracted data, while changing confidence according to whether or not field was edited
|
|
3
|
+
* Make changes so that field confidence is not altered -> probably add an edited value to the form fields
|
|
4
|
+
* Do not remap entire OCR data when a new ID is uploaded, only mapping data respective to the newly uploaded iD -> Segregate the functions while keeping the common logic in utility functions
|
|
5
|
+
*/
|
|
6
|
+
import { PayloadAction } from "@reduxjs/toolkit";
|
|
7
|
+
import { RootState } from "../store";
|
|
8
|
+
import { CustomerData } from "../../utils/types";
|
|
9
|
+
import { PersonalDetails } from "../../utils/widgetUtility";
|
|
10
|
+
interface ExtractedFields {
|
|
11
|
+
[key: string]: string;
|
|
12
|
+
name: string;
|
|
13
|
+
surname: string;
|
|
14
|
+
gender: string;
|
|
15
|
+
dateOfBirth: string;
|
|
16
|
+
countryOfBirth: string;
|
|
17
|
+
countryOfResidence: string;
|
|
18
|
+
nationality: string;
|
|
19
|
+
dateOfIssue: string;
|
|
20
|
+
dateOfExpiry: string;
|
|
21
|
+
countryOfIssue: string;
|
|
22
|
+
authority: string;
|
|
23
|
+
}
|
|
24
|
+
export interface ExtractedPassport extends ExtractedFields {
|
|
25
|
+
[key: string]: string;
|
|
26
|
+
passportNumber: string;
|
|
27
|
+
passportType: string;
|
|
28
|
+
}
|
|
29
|
+
export interface ExtractedId extends ExtractedFields {
|
|
30
|
+
[key: string]: string;
|
|
31
|
+
emiratesIdNumber: string;
|
|
32
|
+
}
|
|
33
|
+
interface FieldsConfidence {
|
|
34
|
+
[key: string]: number;
|
|
35
|
+
name: number;
|
|
36
|
+
surname: number;
|
|
37
|
+
gender: number;
|
|
38
|
+
dateOfBirth: number;
|
|
39
|
+
nationality: number;
|
|
40
|
+
dateOfIssue: number;
|
|
41
|
+
dateOfExpiry: number;
|
|
42
|
+
countryOfIssue: number;
|
|
43
|
+
countryOfBirth: number;
|
|
44
|
+
countryOfResidence: number;
|
|
45
|
+
authority: number;
|
|
46
|
+
}
|
|
47
|
+
export interface PassportConfidence extends FieldsConfidence {
|
|
48
|
+
[key: string]: number;
|
|
49
|
+
passportNumber: number;
|
|
50
|
+
passportType: number;
|
|
51
|
+
}
|
|
52
|
+
export interface IdConfidence extends FieldsConfidence {
|
|
53
|
+
[key: string]: number;
|
|
54
|
+
emiratesIdNumber: number;
|
|
55
|
+
}
|
|
56
|
+
export interface DocumentData {
|
|
57
|
+
fields: ExtractedPassport | ExtractedId;
|
|
58
|
+
fieldsConfidence: PassportConfidence | IdConfidence;
|
|
59
|
+
frontImage: string;
|
|
60
|
+
backImage: string;
|
|
61
|
+
idImage: string;
|
|
62
|
+
idMatch: boolean;
|
|
63
|
+
idScore: number;
|
|
64
|
+
idClassificationPassed: boolean;
|
|
65
|
+
}
|
|
66
|
+
export interface OcrState {
|
|
67
|
+
passport: DocumentData;
|
|
68
|
+
emiratesid: DocumentData;
|
|
69
|
+
}
|
|
70
|
+
export declare const OCRDataSlice: import("@reduxjs/toolkit").Slice<OcrState, {
|
|
71
|
+
updatePassport: (state: import("immer").WritableDraft<OcrState>, action: PayloadAction<DocumentData>) => {
|
|
72
|
+
passport: DocumentData;
|
|
73
|
+
emiratesid: import("immer").WritableDraft<DocumentData>;
|
|
74
|
+
};
|
|
75
|
+
updateId: (state: import("immer").WritableDraft<OcrState>, action: PayloadAction<DocumentData>) => {
|
|
76
|
+
emiratesid: DocumentData;
|
|
77
|
+
passport: import("immer").WritableDraft<DocumentData>;
|
|
78
|
+
};
|
|
79
|
+
updateDocumentBackImage: (state: import("immer").WritableDraft<OcrState>, action: PayloadAction<{
|
|
80
|
+
documentType: string;
|
|
81
|
+
backImage: string;
|
|
82
|
+
}>) => {
|
|
83
|
+
emiratesid: {
|
|
84
|
+
backImage: string;
|
|
85
|
+
fields: import("immer").WritableDraft<ExtractedPassport> | import("immer").WritableDraft<ExtractedId>;
|
|
86
|
+
fieldsConfidence: import("immer").WritableDraft<PassportConfidence> | import("immer").WritableDraft<IdConfidence>;
|
|
87
|
+
frontImage: string;
|
|
88
|
+
idImage: string;
|
|
89
|
+
idMatch: boolean;
|
|
90
|
+
idScore: number;
|
|
91
|
+
idClassificationPassed: boolean;
|
|
92
|
+
};
|
|
93
|
+
passport: import("immer").WritableDraft<DocumentData>;
|
|
94
|
+
} | undefined;
|
|
95
|
+
updateIdMatchData: (state: import("immer").WritableDraft<OcrState>, action: PayloadAction<{
|
|
96
|
+
documentType: string;
|
|
97
|
+
idImage: string;
|
|
98
|
+
idMatch: boolean;
|
|
99
|
+
idScore: number;
|
|
100
|
+
}>) => import("immer").WritableDraft<OcrState>;
|
|
101
|
+
updateFieldConfidence: (state: import("immer").WritableDraft<OcrState>, action: PayloadAction<{
|
|
102
|
+
sectionName: string;
|
|
103
|
+
label: string;
|
|
104
|
+
}>) => {
|
|
105
|
+
passport: {
|
|
106
|
+
fieldsConfidence: {
|
|
107
|
+
[x: string]: number;
|
|
108
|
+
passportNumber: number;
|
|
109
|
+
passportType: number;
|
|
110
|
+
name: number;
|
|
111
|
+
surname: number;
|
|
112
|
+
gender: number;
|
|
113
|
+
dateOfBirth: number;
|
|
114
|
+
nationality: number;
|
|
115
|
+
dateOfIssue: number;
|
|
116
|
+
dateOfExpiry: number;
|
|
117
|
+
countryOfIssue: number;
|
|
118
|
+
countryOfBirth: number;
|
|
119
|
+
countryOfResidence: number;
|
|
120
|
+
authority: number;
|
|
121
|
+
} | {
|
|
122
|
+
[x: string]: number;
|
|
123
|
+
emiratesIdNumber: number;
|
|
124
|
+
name: number;
|
|
125
|
+
surname: number;
|
|
126
|
+
gender: number;
|
|
127
|
+
dateOfBirth: number;
|
|
128
|
+
nationality: number;
|
|
129
|
+
dateOfIssue: number;
|
|
130
|
+
dateOfExpiry: number;
|
|
131
|
+
countryOfIssue: number;
|
|
132
|
+
countryOfBirth: number;
|
|
133
|
+
countryOfResidence: number;
|
|
134
|
+
authority: number;
|
|
135
|
+
};
|
|
136
|
+
fields: import("immer").WritableDraft<ExtractedPassport> | import("immer").WritableDraft<ExtractedId>;
|
|
137
|
+
frontImage: string;
|
|
138
|
+
backImage: string;
|
|
139
|
+
idImage: string;
|
|
140
|
+
idMatch: boolean;
|
|
141
|
+
idScore: number;
|
|
142
|
+
idClassificationPassed: boolean;
|
|
143
|
+
};
|
|
144
|
+
emiratesid: {
|
|
145
|
+
fieldsConfidence: {
|
|
146
|
+
[x: string]: number;
|
|
147
|
+
passportNumber: number;
|
|
148
|
+
passportType: number;
|
|
149
|
+
name: number;
|
|
150
|
+
surname: number;
|
|
151
|
+
gender: number;
|
|
152
|
+
dateOfBirth: number;
|
|
153
|
+
nationality: number;
|
|
154
|
+
dateOfIssue: number;
|
|
155
|
+
dateOfExpiry: number;
|
|
156
|
+
countryOfIssue: number;
|
|
157
|
+
countryOfBirth: number;
|
|
158
|
+
countryOfResidence: number;
|
|
159
|
+
authority: number;
|
|
160
|
+
} | {
|
|
161
|
+
[x: string]: number;
|
|
162
|
+
emiratesIdNumber: number;
|
|
163
|
+
name: number;
|
|
164
|
+
surname: number;
|
|
165
|
+
gender: number;
|
|
166
|
+
dateOfBirth: number;
|
|
167
|
+
nationality: number;
|
|
168
|
+
dateOfIssue: number;
|
|
169
|
+
dateOfExpiry: number;
|
|
170
|
+
countryOfIssue: number;
|
|
171
|
+
countryOfBirth: number;
|
|
172
|
+
countryOfResidence: number;
|
|
173
|
+
authority: number;
|
|
174
|
+
};
|
|
175
|
+
fields: import("immer").WritableDraft<ExtractedPassport> | import("immer").WritableDraft<ExtractedId>;
|
|
176
|
+
frontImage: string;
|
|
177
|
+
backImage: string;
|
|
178
|
+
idImage: string;
|
|
179
|
+
idMatch: boolean;
|
|
180
|
+
idScore: number;
|
|
181
|
+
idClassificationPassed: boolean;
|
|
182
|
+
};
|
|
183
|
+
} | undefined;
|
|
184
|
+
}, "ocrData", "ocrData", import("@reduxjs/toolkit").SliceSelectors<OcrState>>;
|
|
185
|
+
/**
|
|
186
|
+
* Extracts data from ocr, uses the extractedData to:
|
|
187
|
+
* 1. Map data to form
|
|
188
|
+
* 2. Add to the passport and emiratesID objects to be used for decision making
|
|
189
|
+
*/
|
|
190
|
+
export declare const extractOcrData: import("@reduxjs/toolkit").AsyncThunk<any, {
|
|
191
|
+
image: string;
|
|
192
|
+
document: string;
|
|
193
|
+
}, import("@reduxjs/toolkit").AsyncThunkConfig>;
|
|
194
|
+
export declare const mapDraftToOcrData: (data: CustomerData) => (dispatch: any, getState: any) => void;
|
|
195
|
+
export declare const mapAppDataToOcr: (data: PersonalDetails) => (dispatch: any, getState: any) => void;
|
|
196
|
+
export declare const matchFaces: import("@reduxjs/toolkit").AsyncThunk<void, {
|
|
197
|
+
documentType: string;
|
|
198
|
+
id: string;
|
|
199
|
+
faces: string[];
|
|
200
|
+
}, import("@reduxjs/toolkit").AsyncThunkConfig>;
|
|
201
|
+
export declare const updateId: import("@reduxjs/toolkit").ActionCreatorWithPayload<DocumentData, "ocrData/updateId">, updatePassport: import("@reduxjs/toolkit").ActionCreatorWithPayload<DocumentData, "ocrData/updatePassport">, updateIdMatchData: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
202
|
+
documentType: string;
|
|
203
|
+
idImage: string;
|
|
204
|
+
idMatch: boolean;
|
|
205
|
+
idScore: number;
|
|
206
|
+
}, "ocrData/updateIdMatchData">, updateFieldConfidence: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
207
|
+
sectionName: string;
|
|
208
|
+
label: string;
|
|
209
|
+
}, "ocrData/updateFieldConfidence">, updateDocumentBackImage: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
|
|
210
|
+
documentType: string;
|
|
211
|
+
backImage: string;
|
|
212
|
+
}, "ocrData/updateDocumentBackImage">;
|
|
213
|
+
export declare const selectOcrData: (state: RootState) => OcrState;
|
|
214
|
+
declare const _default: import("redux").Reducer<OcrState>;
|
|
215
|
+
export default _default;
|
|
216
|
+
//# sourceMappingURL=ocrSlice.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ocrSlice.d.ts","sourceRoot":"","sources":["../../../../../../src/state/slices/ocrSlice.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAiC,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAE/E,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AAIpC,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAG3D,UAAU,eAAe;IACvB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,iBAAkB,SAAQ,eAAe;IACxD,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAA;CACrB;AAED,MAAM,WAAW,WAAY,SAAQ,eAAe;IAClD,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;IACrB,gBAAgB,EAAE,MAAM,CAAA;CACzB;AAED,UAAU,gBAAgB;IACxB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,kBAAmB,SAAQ,gBAAgB;IAC1D,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAA;CACrB;AAED,MAAM,WAAW,YAAa,SAAQ,gBAAgB;IACpD,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;IACrB,gBAAgB,EAAE,MAAM,CAAA;CACzB;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,iBAAiB,GAAG,WAAW,CAAC;IACxC,gBAAgB,EAAE,kBAAkB,GAAG,YAAY,CAAC;IACpD,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,sBAAsB,EAAE,OAAO,CAAC;CACjC;AAED,MAAM,WAAW,QAAQ;IACvB,QAAQ,EAAE,YAAY,CAAC;IACvB,UAAU,EAAE,YAAY,CAAA;CACzB;AA+ED,eAAO,MAAM,YAAY;6EAIW,aAAa,CAAC,YAAY,CAAC;;;;uEAMjC,aAAa,CAAC,YAAY,CAAC;;;;sFAMZ,aAAa,CAAC;QAAE,YAAY,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE,CAAC;;;;;wBA1GzF,MAAM;qBAET,MAAM;qBACN,OAAO;qBACP,MAAM;oCACS,OAAO;;;;gFAyH3B,aAAa,CAAC;QACZ,YAAY,EAAE,MAAM,CAAC;QACrB,OAAO,EAAE,MAAM,CAAC;QAChB,OAAO,EAAE,OAAO,CAAC;QACjB,OAAO,EAAE,MAAM,CAAA;KAChB,CAAC;oFAyBmC,aAAa,CAAC;QACnD,WAAW,EAAE,MAAM,CAAC;QACpB,KAAK,EAAE,MAAM,CAAA;KACd,CAAC;;;;gCA3KY,MAAM;8BACR,MAAM;sBAhBd,MAAM;yBACH,MAAM;wBACP,MAAM;6BACD,MAAM;6BACN,MAAM;6BACN,MAAM;8BACL,MAAM;gCACJ,MAAM;gCACN,MAAM;oCACF,MAAM;2BACf,MAAM;;;kCAWC,MAAM;sBArBlB,MAAM;yBACH,MAAM;wBACP,MAAM;6BACD,MAAM;6BACN,MAAM;6BACN,MAAM;8BACL,MAAM;gCACJ,MAAM;gCACN,MAAM;oCACF,MAAM;2BACf,MAAM;;;wBAiBL,MAAM;uBACP,MAAM;qBACR,MAAM;qBACN,OAAO;qBACP,MAAM;oCACS,OAAO;;;;;gCAjBf,MAAM;8BACR,MAAM;sBAhBd,MAAM;yBACH,MAAM;wBACP,MAAM;6BACD,MAAM;6BACN,MAAM;6BACN,MAAM;8BACL,MAAM;gCACJ,MAAM;gCACN,MAAM;oCACF,MAAM;2BACf,MAAM;;;kCAWC,MAAM;sBArBlB,MAAM;yBACH,MAAM;wBACP,MAAM;6BACD,MAAM;6BACN,MAAM;6BACN,MAAM;8BACL,MAAM;gCACJ,MAAM;gCACN,MAAM;oCACF,MAAM;2BACf,MAAM;;;wBAiBL,MAAM;uBACP,MAAM;qBACR,MAAM;qBACN,OAAO;qBACP,MAAM;oCACS,OAAO;;;6EA+M/B,CAAA;AAEF;;;;GAIG;AACH,eAAO,MAAM,cAAc;WAGhB,MAAM;cACH,MAAM;+CAmFnB,CAAA;AAED,eAAO,MAAM,iBAAiB,GAAI,MAAM,YAAY,MAAM,UAAU,GAAG,EAAE,UAAU,GAAG,SAmErF,CAAA;AAED,eAAO,MAAM,eAAe,GAAI,MAAM,eAAe,MAAM,UAAU,GAAG,EAAE,UAAU,GAAG,SA+CtF,CAAA;AAED,eAAO,MAAM,UAAU;kBAGL,MAAM;QAChB,MAAM;WACH,MAAM,EAAE;+CAkBlB,CAAA;AAED,eAAO,MACL,QAAQ,yFACR,cAAc,+FACd,iBAAiB;kBAvUG,MAAM;aACX,MAAM;aACN,OAAO;aACP,MAAM;iCAqUrB,qBAAqB;iBA1SJ,MAAM;WACZ,MAAM;qCA0SjB,uBAAuB;kBA9VkD,MAAM;eAAa,MAAM;qCA+V5E,CAAA;AAExB,eAAO,MAAM,aAAa,GAAI,OAAO,SAAS,aAAkB,CAAA;;AAEhE,wBAAmC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
+
import { RootState } from '../store';
|
|
3
|
+
export interface themeState {
|
|
4
|
+
}
|
|
5
|
+
export declare const themeSlice: import("@reduxjs/toolkit").Slice<themeState, {
|
|
6
|
+
updateState: (state: import("immer").WritableDraft<themeState>, action: PayloadAction<Partial<themeState>>) => {};
|
|
7
|
+
setWholeState: (_: import("immer").WritableDraft<themeState>, action: PayloadAction<themeState>) => themeState;
|
|
8
|
+
}, "theme", "theme", import("@reduxjs/toolkit").SliceSelectors<themeState>>;
|
|
9
|
+
export declare const selectTheme: (state: RootState) => themeState;
|
|
10
|
+
declare const _default: import("redux").Reducer<themeState>;
|
|
11
|
+
export default _default;
|
|
12
|
+
//# sourceMappingURL=themeSlice.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"themeSlice.d.ts","sourceRoot":"","sources":["../../../../../../src/state/slices/themeSlice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAc,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAC,SAAS,EAAC,MAAM,UAAU,CAAC;AAEnC,MAAM,WAAW,UAAU;CAAG;AA2B9B,eAAO,MAAM,UAAU;4EAIU,aAAa,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;0EAMpC,aAAa,CAAC,UAAU,CAAC;2EAItD,CAAC;AAEH,eAAO,MAAM,WAAW,GAAI,OAAO,SAAS,eAAgB,CAAC;;AAE7D,wBAAkC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const store: import("@reduxjs/toolkit").EnhancedStore<{
|
|
2
|
+
loader: import("./slices/loaderSlice").LoaderState;
|
|
3
|
+
liveness: import("./slices/livenessSlice").LivenessState;
|
|
4
|
+
theme: import("./slices/themeSlice").themeState;
|
|
5
|
+
enhanced: import("./slices/enhancedSlice").EnhancedState;
|
|
6
|
+
confidence: import("./slices/confidenceSlice").ConfidenceState;
|
|
7
|
+
ocrData: import("./slices/ocrSlice").OcrState;
|
|
8
|
+
formData: import("./slices/formSlice").formState;
|
|
9
|
+
customer: import("./slices/customerSlice").ClientDetails;
|
|
10
|
+
immutableOcrData: {};
|
|
11
|
+
}, import("redux").UnknownAction, import("@reduxjs/toolkit").Tuple<[import("redux").StoreEnhancer<{
|
|
12
|
+
dispatch: import("redux-thunk").ThunkDispatch<{
|
|
13
|
+
loader: import("./slices/loaderSlice").LoaderState;
|
|
14
|
+
liveness: import("./slices/livenessSlice").LivenessState;
|
|
15
|
+
theme: import("./slices/themeSlice").themeState;
|
|
16
|
+
enhanced: import("./slices/enhancedSlice").EnhancedState;
|
|
17
|
+
confidence: import("./slices/confidenceSlice").ConfidenceState;
|
|
18
|
+
ocrData: import("./slices/ocrSlice").OcrState;
|
|
19
|
+
formData: import("./slices/formSlice").formState;
|
|
20
|
+
customer: import("./slices/customerSlice").ClientDetails;
|
|
21
|
+
immutableOcrData: {};
|
|
22
|
+
}, undefined, import("redux").UnknownAction>;
|
|
23
|
+
}>, import("redux").StoreEnhancer]>>;
|
|
24
|
+
export type RootState = ReturnType<typeof store.getState>;
|
|
25
|
+
export type AppDispatch = typeof store.dispatch;
|
|
26
|
+
//# sourceMappingURL=store.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../../../src/state/store.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;oCAYhB,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,KAAK,CAAC,QAAQ,CAAC,CAAC;AAC1D,MAAM,MAAM,WAAW,GAAG,OAAO,KAAK,CAAC,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"axios.d.ts","sourceRoot":"","sources":["../../../../../src/utils/axios.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,mBAAmB,+BAE9B,CAAA;AAEF,eAAO,MAAM,mBAAmB,GAAI,YAAY,MAAM,EAAE,cAAc,MAAM,SAQ3E,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare const DEFAULT_SECTIONS: {
|
|
2
|
+
PERSONAL_DETAILS: string;
|
|
3
|
+
PASSPORT: string;
|
|
4
|
+
EMIRATES_ID: string;
|
|
5
|
+
};
|
|
6
|
+
export declare const DOCUMENT_TYPE: {
|
|
7
|
+
PASSPORT: string;
|
|
8
|
+
EMIRATES_ID: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const FIELD_TYPE: {
|
|
11
|
+
TEXT: string;
|
|
12
|
+
CHECKBOX: string;
|
|
13
|
+
DATE: string;
|
|
14
|
+
COUNTRY_DD: string;
|
|
15
|
+
};
|
|
16
|
+
declare const personalDetails: Map<string, string>;
|
|
17
|
+
declare const passport: Map<string, string>;
|
|
18
|
+
declare const id: Map<string, string>;
|
|
19
|
+
export { personalDetails, passport, id };
|
|
20
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/utils/constants.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB;;;;CAK5B,CAAA;AAED,eAAO,MAAM,aAAa;;;CAGzB,CAAA;AAED,eAAO,MAAM,UAAU;;;;;CAKtB,CAAA;AAED,QAAA,MAAM,eAAe,qBAA4B,CAAC;AASlD,QAAA,MAAM,QAAQ,qBAA4B,CAAC;AAQ3C,QAAA,MAAM,EAAE,qBAA4B,CAAC;AAOrC,OAAO,EAAE,eAAe,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { formState } from "../state/slices/formSlice";
|
|
2
|
+
import { IdConfidence, PassportConfidence } from "../state/slices/ocrSlice";
|
|
3
|
+
import { CustomerData } from "./types";
|
|
4
|
+
/**
|
|
5
|
+
* Convert date format from display (dd/mm/yyyy) to form submission format (dd-mm-yyyy)
|
|
6
|
+
* NOTE: Make the date formats consistent across db and ocr, to remove the need to do this
|
|
7
|
+
*/
|
|
8
|
+
export declare const convertDateFormatForSubmission: (dateString: string) => string;
|
|
9
|
+
/**
|
|
10
|
+
* 1. Prepare form data for submission
|
|
11
|
+
*/
|
|
12
|
+
export declare const prepareDefaultFormData: (form: formState, customerData: CustomerData) => void;
|
|
13
|
+
export declare const getInitialCombinedDataObj: (isPassportMandatory: boolean, isNationalIDMandatory: boolean) => CustomerData;
|
|
14
|
+
export declare const isFieldConfidenceLow: (sectionName: string, label: string, idFieldObj: IdConfidence, passportFieldObj: PassportConfidence) => boolean | undefined;
|
|
15
|
+
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/utils/helpers.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAE5E,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAGvC;;;GAGG;AACH,eAAO,MAAM,8BAA8B,GAAI,YAAY,MAAM,KAAG,MASnE,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,sBAAsB,GAAI,MAAM,SAAS,EAAE,cAAc,YAAY,SAyBjF,CAAA;AAED,eAAO,MAAM,yBAAyB,GAAI,qBAAqB,OAAO,EAAE,uBAAuB,OAAO,iBAsDrG,CAAA;AAED,eAAO,MAAM,oBAAoB,GAAI,aAAa,MAAM,EAAE,OAAO,MAAM,EAAE,YAAY,YAAY,EAAE,kBAAkB,kBAAkB,wBAwBtI,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const getPassportType: (temp: string) => "" | "Regular" | "Diplomatic" | "Others";
|
|
2
|
+
export declare const getGender: (temp: string) => "" | "male" | "female" | "others";
|
|
3
|
+
export declare const changeCase: (input: string) => string;
|
|
4
|
+
export declare const capitalizeWords: (input: string) => string;
|
|
5
|
+
/**
|
|
6
|
+
* Convert date format from received from DB (yyyy-mm-dd) to OCR/Display
|
|
7
|
+
* format (dd/mm/yyyy) and use it to fill in form answers
|
|
8
|
+
* OCR date format, display format: dd/mm/yyyy
|
|
9
|
+
* DB date format: yyyy-mm-dd
|
|
10
|
+
* Submit format: dd-mm-yyyy
|
|
11
|
+
*/
|
|
12
|
+
export declare const convertDateFormatForForm: (dateString: string) => string;
|
|
13
|
+
/**
|
|
14
|
+
* Convert date format from display (dd/mm/yyyy) to form submission format (dd-mm-yyyy)
|
|
15
|
+
* NOTE: Make the date formats consistent across db and ocr, to remove the need to do this
|
|
16
|
+
*/
|
|
17
|
+
export declare const convertDateFormatForSubmission: (dateString: string) => string;
|
|
18
|
+
export declare const removeBase64Header: (base64String: string) => string;
|
|
19
|
+
//# sourceMappingURL=nonSliceHelpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nonSliceHelpers.d.ts","sourceRoot":"","sources":["../../../../../src/utils/nonSliceHelpers.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe,GAAI,MAAM,MAAM,6CAQ3C,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,MAAM,MAAM,sCAQrC,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,OAAO,MAAM,WAUvC,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,OAAO,MAAM,WAQ5C,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB,GAAI,YAAY,MAAM,KAAG,MAS7D,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,8BAA8B,GAAI,YAAY,MAAM,KAAG,MASnE,CAAA;AAGD,eAAO,MAAM,kBAAkB,GAAI,cAAc,MAAM,KAAG,MASzD,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export interface CustomerData {
|
|
2
|
+
[key: string]: unknown;
|
|
3
|
+
name: string;
|
|
4
|
+
surname: string;
|
|
5
|
+
gender: string;
|
|
6
|
+
nationality: string;
|
|
7
|
+
dateOfBirth: string;
|
|
8
|
+
countryOfBirth: string;
|
|
9
|
+
countryOfResidence: string;
|
|
10
|
+
status: number;
|
|
11
|
+
phoneNumber: string;
|
|
12
|
+
clientUuid: string;
|
|
13
|
+
clientSecret: string;
|
|
14
|
+
emiratesId?: EmiratesIdData;
|
|
15
|
+
passport?: PassportData;
|
|
16
|
+
isLive: boolean;
|
|
17
|
+
isLiveScore: number;
|
|
18
|
+
isLiveFaces: string[];
|
|
19
|
+
}
|
|
20
|
+
interface EmiratesIdData {
|
|
21
|
+
[key: string]: string | number | boolean;
|
|
22
|
+
emiratesIdNumber: string;
|
|
23
|
+
dateOfIssue: string;
|
|
24
|
+
dateOfExpiry: string;
|
|
25
|
+
placeOfIssue: string;
|
|
26
|
+
authority: string;
|
|
27
|
+
countryOfIssue: string;
|
|
28
|
+
frontImage: string;
|
|
29
|
+
backImage: string;
|
|
30
|
+
idImage: string;
|
|
31
|
+
idMatch: boolean;
|
|
32
|
+
idScore: number;
|
|
33
|
+
idClassificationPassed: boolean;
|
|
34
|
+
}
|
|
35
|
+
interface PassportData {
|
|
36
|
+
[key: string]: string | number | boolean;
|
|
37
|
+
passportNumber: string;
|
|
38
|
+
passportType: string;
|
|
39
|
+
dateOfIssue: string;
|
|
40
|
+
dateOfExpiry: string;
|
|
41
|
+
placeOfIssue: string;
|
|
42
|
+
authority: string;
|
|
43
|
+
countryOfIssue: string;
|
|
44
|
+
frontImage: string;
|
|
45
|
+
backImage: string;
|
|
46
|
+
idImage: string;
|
|
47
|
+
idMatch: boolean;
|
|
48
|
+
idScore: number;
|
|
49
|
+
idClassificationPassed: boolean;
|
|
50
|
+
}
|
|
51
|
+
export {};
|
|
52
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/utils/types.tsx"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,MAAM,EAAE,OAAO,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,EAAE,CAAC;CACvB;AAED,UAAU,cAAc;IACtB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAA;IACxC,gBAAgB,EAAE,MAAM,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,sBAAsB,EAAE,OAAO,CAAA;CAChC;AAED,UAAU,YAAY;IACpB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAA;IACxC,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,sBAAsB,EAAE,OAAO,CAAA;CAChC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const isSectionValid: (section: any, isPassportMandatory: boolean, isNationalIDMandatory: boolean) => boolean;
|
|
2
|
+
export declare const validateDate: (dateString: string) => boolean;
|
|
3
|
+
export declare const parseDate: (dateString: string) => boolean;
|
|
4
|
+
//# sourceMappingURL=validators.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../../../../../src/utils/validators.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,GAAI,SAAS,GAAG,EAAE,qBAAqB,OAAO,EAAE,uBAAuB,OAAO,YAexG,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,YAAY,MAAM,YAiB9C,CAAC;AAGF,eAAO,MAAM,SAAS,eApBmB,MAAM,YAoBV,CAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { customerStatusRequest } from "..";
|
|
2
|
+
export declare const getWidgetInfo: (data: customerStatusRequest) => Promise<{
|
|
3
|
+
status: any;
|
|
4
|
+
description: any;
|
|
5
|
+
buttonText: any;
|
|
6
|
+
route: string;
|
|
7
|
+
}>;
|
|
8
|
+
export declare const statusCodes: any;
|
|
9
|
+
export declare const description: any;
|
|
10
|
+
export declare const buttonText: any;
|
|
11
|
+
export declare const getRouteFromStatus: (statusCode: Number) => "" | "Home" | "Report" | "Form";
|
|
12
|
+
export declare const validateClientObj: (data: customerStatusRequest) => void;
|
|
13
|
+
export type PersonalDetails = {
|
|
14
|
+
name?: string;
|
|
15
|
+
surname?: string;
|
|
16
|
+
gender?: string;
|
|
17
|
+
dateOfBirth?: string;
|
|
18
|
+
nationality?: string;
|
|
19
|
+
countryOfBirth?: string;
|
|
20
|
+
countryOfResidence?: string;
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=widgetUtility.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"widgetUtility.d.ts","sourceRoot":"","sources":["../../../../../src/utils/widgetUtility.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,IAAI,CAAC;AAG3C,eAAO,MAAM,aAAa,GAAU,MAAM,qBAAqB;;;;;EA0B9D,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,GAWzB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,GAWzB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,GAYxB,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,YAAY,MAAM,oCAmBpD,CAAC;AAGF,eAAO,MAAM,iBAAiB,GAAI,MAAM,qBAAqB,SAW5D,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"module"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
declare const globalStyles: {
|
|
2
|
+
container: {
|
|
3
|
+
flex: number;
|
|
4
|
+
backgroundColor: string;
|
|
5
|
+
};
|
|
6
|
+
toast: {
|
|
7
|
+
position: "absolute";
|
|
8
|
+
bottom: number;
|
|
9
|
+
borderRadius: number;
|
|
10
|
+
borderBottomLeftRadius: number;
|
|
11
|
+
borderBottomRightRadius: number;
|
|
12
|
+
color: string;
|
|
13
|
+
backgroundColor: string;
|
|
14
|
+
display: "flex";
|
|
15
|
+
flexDirection: "column";
|
|
16
|
+
minHeight: number;
|
|
17
|
+
minWidth: number;
|
|
18
|
+
};
|
|
19
|
+
toastText: {
|
|
20
|
+
color: string;
|
|
21
|
+
textAlign: "center";
|
|
22
|
+
fontSize: number;
|
|
23
|
+
flexWrap: "wrap";
|
|
24
|
+
paddingRight: number;
|
|
25
|
+
};
|
|
26
|
+
button: {
|
|
27
|
+
display: "flex";
|
|
28
|
+
margin: "auto";
|
|
29
|
+
paddingVertical: number;
|
|
30
|
+
borderRadius: number;
|
|
31
|
+
width: "100%";
|
|
32
|
+
backgroundColor: string;
|
|
33
|
+
};
|
|
34
|
+
buttonOutline: {
|
|
35
|
+
alignSelf: "center";
|
|
36
|
+
borderRadius: number;
|
|
37
|
+
paddingVertical: number;
|
|
38
|
+
width: "100%";
|
|
39
|
+
borderStyle: "solid";
|
|
40
|
+
borderWidth: number;
|
|
41
|
+
color: string;
|
|
42
|
+
borderColor: string;
|
|
43
|
+
left: number;
|
|
44
|
+
right: number;
|
|
45
|
+
paddingHorizontal: number;
|
|
46
|
+
};
|
|
47
|
+
buttonFilled: {
|
|
48
|
+
display: "flex";
|
|
49
|
+
borderRadius: number;
|
|
50
|
+
paddingVertical: number;
|
|
51
|
+
width: "100%";
|
|
52
|
+
left: number;
|
|
53
|
+
right: number;
|
|
54
|
+
backgroundColor: string;
|
|
55
|
+
color: string;
|
|
56
|
+
};
|
|
57
|
+
buttonTextDark: {
|
|
58
|
+
color: string;
|
|
59
|
+
textAlign: "center";
|
|
60
|
+
};
|
|
61
|
+
buttonTextLight: {
|
|
62
|
+
color: string;
|
|
63
|
+
textAlign: "center";
|
|
64
|
+
};
|
|
65
|
+
bFilled: {
|
|
66
|
+
display: "flex";
|
|
67
|
+
margin: "auto";
|
|
68
|
+
borderRadius: number;
|
|
69
|
+
paddingVertical: number;
|
|
70
|
+
width: "100%";
|
|
71
|
+
};
|
|
72
|
+
buttonContainer: {
|
|
73
|
+
bottom: number;
|
|
74
|
+
left: number;
|
|
75
|
+
right: number;
|
|
76
|
+
width: "100%";
|
|
77
|
+
paddingHorizontal: number;
|
|
78
|
+
gap: number;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
export default globalStyles;
|
|
82
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/assets/themes/styles.tsx"],"names":[],"mappings":"AAOA,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+EhB,CAAC;AAEH,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BasicInput.d.ts","sourceRoot":"","sources":["../../../../../src/components/BasicInput.tsx"],"names":[],"mappings":"AAQA,QAAA,MAAM,mBAAmB,GAAI,OAAO,GAAG,gCAuEtC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BlurBackground.d.ts","sourceRoot":"","sources":["../../../../../src/components/BlurBackground.tsx"],"names":[],"mappings":"AAGA,QAAA,MAAM,cAAc,GAAI,yBAA4B,GAAG,gCAUtD,CAAC;AAaF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Camera.d.ts","sourceRoot":"","sources":["../../../../../src/components/Camera.tsx"],"names":[],"mappings":"AAoBA,UAAU,WAAW;IACnB,aAAa,EAAE,GAAG,CAAC;IACnB,KAAK,EAAE,GAAG,CAAC;IACX,UAAU,EAAE,GAAG,CAAC;CACjB;AAED,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAyVjC,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../../../src/components/Checkbox.tsx"],"names":[],"mappings":"AASA,QAAA,MAAM,iBAAiB,GAAI,OAAO,GAAG,gCA6FpC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../../../src/components/DatePicker.tsx"],"names":[],"mappings":"AAWA,QAAA,MAAM,UAAU,GAAI,OAAO,GAAG,gCA0G7B,CAAA;AAED,eAAe,UAAU,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DropdownComponent.d.ts","sourceRoot":"","sources":["../../../../../src/components/DropdownComponent.tsx"],"names":[],"mappings":"AAYA,QAAA,MAAM,iBAAiB,GAAI,OAAO,GAAG,gCA+LpC,CAAA;AAKD,eAAe,iBAAiB,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface FaceOverlayProps {
|
|
3
|
+
width: number;
|
|
4
|
+
height: number;
|
|
5
|
+
ovalWidth?: number;
|
|
6
|
+
ovalHeight?: number;
|
|
7
|
+
}
|
|
8
|
+
declare const FaceOverlay: React.FC<FaceOverlayProps>;
|
|
9
|
+
export default FaceOverlay;
|
|
10
|
+
//# sourceMappingURL=FaceOverlay.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FaceOverlay.d.ts","sourceRoot":"","sources":["../../../../../src/components/FaceOverlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,gBAAgB;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA6B3C,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FadeBorder.d.ts","sourceRoot":"","sources":["../../../../../src/components/FadeBorder.tsx"],"names":[],"mappings":"AAGA,QAAA,MAAM,UAAU,GAAI,cAAY,GAAG,gCAYlC,CAAC;AA0BF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["../../../../../src/components/Field.tsx"],"names":[],"mappings":"AAQA,QAAA,MAAM,KAAK,GAAI,OAAO,GAAG,gCAgDxB,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Loader.d.ts","sourceRoot":"","sources":["../../../../../src/components/Loader.tsx"],"names":[],"mappings":"AAGA,UAAU,WAAW;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CA6BjC,CAAC;AAEF,eAAe,MAAM,CAAC"}
|