@kiosinc/commons-rn 0.1.85 → 0.1.87
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/lib/commonjs/api/authentication.js.map +1 -0
- package/lib/commonjs/api/customer.js.map +1 -1
- package/lib/commonjs/assets/icons/alert.svg +4 -0
- package/lib/commonjs/components/Alert.js +1 -1
- package/lib/commonjs/components/Alert.js.map +1 -1
- package/lib/commonjs/components/OfflineStrip.js +55 -0
- package/lib/commonjs/components/OfflineStrip.js.map +1 -0
- package/lib/commonjs/components/SelectionDialog.js +1 -1
- package/lib/commonjs/components/SelectionDialog.js.map +1 -1
- package/lib/commonjs/components/Snackbar.js +1 -1
- package/lib/commonjs/components/Snackbar.js.map +1 -1
- package/lib/commonjs/components/index.js +7 -0
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/helpers/index.js +13 -0
- package/lib/commonjs/helpers/index.js.map +1 -0
- package/lib/commonjs/hooks/index.js +69 -0
- package/lib/commonjs/hooks/index.js.map +1 -0
- package/lib/commonjs/hooks/queryKeys.js.map +1 -0
- package/lib/commonjs/hooks/useAppVersionCheck.js +9 -5
- package/lib/commonjs/hooks/useAppVersionCheck.js.map +1 -1
- package/lib/commonjs/{auth/hooks/useAuthentication.js → hooks/useAuth.js} +18 -18
- package/lib/commonjs/hooks/useAuth.js.map +1 -0
- package/lib/commonjs/{auth/hooks → hooks}/useAuthenticateRequests.js +1 -1
- package/lib/commonjs/hooks/useAuthenticateRequests.js.map +1 -0
- package/lib/commonjs/hooks/useBusinesses.js.map +1 -0
- package/lib/commonjs/{selectBusiness → hooks}/useCreateBusiness.js +1 -1
- package/lib/commonjs/hooks/useCreateBusiness.js.map +1 -0
- package/lib/commonjs/hooks/useCustomer.js +1 -1
- package/lib/commonjs/hooks/useCustomer.js.map +1 -1
- package/lib/commonjs/{auth/hooks → hooks}/useDeactivateAccount.js +3 -3
- package/lib/commonjs/hooks/useDeactivateAccount.js.map +1 -0
- package/lib/commonjs/{auth/hooks → hooks}/useLogout.js +3 -3
- package/lib/commonjs/hooks/useLogout.js.map +1 -0
- package/lib/commonjs/{auth/hooks → hooks}/useTermsOfService.js +4 -5
- package/lib/commonjs/hooks/useTermsOfService.js.map +1 -0
- package/lib/commonjs/index.js +50 -97
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/localization/index.js +12 -0
- package/lib/commonjs/localization/index.js.map +1 -0
- package/lib/commonjs/localization/translations/en.json +88 -0
- package/lib/commonjs/providers/authentication/AuthenticationProvider.js.map +1 -0
- package/lib/commonjs/providers/authentication/actions/authentication.actions.js.map +1 -0
- package/lib/commonjs/providers/authentication/reducer/authentication.reducer.js.map +1 -0
- package/lib/commonjs/providers/authentication/types/authentication.types.js.map +1 -0
- package/lib/commonjs/providers/index.js +32 -0
- package/lib/commonjs/providers/index.js.map +1 -0
- package/lib/commonjs/{auth/screens → screens/Auth}/ChangePassword.js +9 -9
- package/lib/commonjs/{auth/screens → screens/Auth}/ChangePassword.js.map +1 -1
- package/lib/commonjs/{auth/screens → screens/Auth}/Login.js +2 -2
- package/lib/commonjs/{auth/screens → screens/Auth}/Login.js.map +1 -1
- package/lib/commonjs/{auth/screens → screens/Auth}/LoginWithEmail.js +7 -7
- package/lib/commonjs/{auth/screens → screens/Auth}/LoginWithEmail.js.map +1 -1
- package/lib/commonjs/{auth/screens → screens/Auth}/LoginWithPhoneNumber.js +5 -5
- package/lib/commonjs/screens/Auth/LoginWithPhoneNumber.js.map +1 -0
- package/lib/commonjs/{auth/screens → screens/Auth}/ResetPassword.js +41 -9
- package/lib/commonjs/screens/Auth/ResetPassword.js.map +1 -0
- package/lib/commonjs/{auth/screens → screens/Auth}/ResetPasswordInstructionsSent.js +2 -2
- package/lib/commonjs/{auth/screens → screens/Auth}/ResetPasswordInstructionsSent.js.map +1 -1
- package/lib/commonjs/{auth/screens → screens/Auth}/SignUp.js +12 -13
- package/lib/commonjs/screens/Auth/SignUp.js.map +1 -0
- package/lib/commonjs/{auth/screens → screens/Auth}/SignUpPassword.js +7 -7
- package/lib/commonjs/screens/Auth/SignUpPassword.js.map +1 -0
- package/lib/commonjs/{auth/screens → screens/Auth}/VerifyPhoneNumber.js +6 -6
- package/lib/commonjs/screens/Auth/VerifyPhoneNumber.js.map +1 -0
- package/lib/commonjs/{auth/screens → screens/Auth}/VerifyPhoneNumberForLogin.js +6 -6
- package/lib/commonjs/screens/Auth/VerifyPhoneNumberForLogin.js.map +1 -0
- package/lib/commonjs/{auth/screens/index.js → screens/Auth/navigators.js} +1 -1
- package/lib/commonjs/screens/Auth/navigators.js.map +1 -0
- package/lib/commonjs/{auth/screens → screens/Auth}/validators.js +7 -7
- package/lib/commonjs/screens/Auth/validators.js.map +1 -0
- package/lib/commonjs/screens/SavedCards/CardRow.js +4 -4
- package/lib/commonjs/screens/SavedCards/CardRow.js.map +1 -1
- package/lib/commonjs/screens/SavedCards/SavedCards.js +5 -5
- package/lib/commonjs/screens/SavedCards/SavedCards.js.map +1 -1
- package/lib/commonjs/{selectBusiness → screens/SelectBusiness}/CreateBusinessBottomSheet.js +7 -7
- package/lib/commonjs/screens/SelectBusiness/CreateBusinessBottomSheet.js.map +1 -0
- package/lib/commonjs/{selectBusiness → screens/SelectBusiness}/SelectBusiness.js +12 -13
- package/lib/commonjs/screens/SelectBusiness/SelectBusiness.js.map +1 -0
- package/lib/commonjs/{auth/screens → screens/TermsOfService}/TermsOfService.js +9 -9
- package/lib/commonjs/screens/TermsOfService/TermsOfService.js.map +1 -0
- package/lib/commonjs/screens/index.js +40 -0
- package/lib/commonjs/screens/index.js.map +1 -0
- package/lib/commonjs/utils/index.js +34 -0
- package/lib/commonjs/utils/index.js.map +1 -1
- package/lib/module/api/authentication.js.map +1 -0
- package/lib/module/api/customer.js.map +1 -1
- package/lib/module/assets/icons/alert.svg +4 -0
- package/lib/module/components/Alert.js +1 -1
- package/lib/module/components/Alert.js.map +1 -1
- package/lib/module/components/OfflineStrip.js +45 -0
- package/lib/module/components/OfflineStrip.js.map +1 -0
- package/lib/module/components/SelectionDialog.js +1 -1
- package/lib/module/components/SelectionDialog.js.map +1 -1
- package/lib/module/components/Snackbar.js +1 -1
- package/lib/module/components/Snackbar.js.map +1 -1
- package/lib/module/components/index.js +1 -0
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/helpers/index.js +2 -0
- package/lib/module/helpers/index.js.map +1 -0
- package/lib/module/hooks/index.js +10 -0
- package/lib/module/hooks/index.js.map +1 -0
- package/lib/module/hooks/queryKeys.js.map +1 -0
- package/lib/module/hooks/useAppVersionCheck.js +9 -5
- package/lib/module/hooks/useAppVersionCheck.js.map +1 -1
- package/lib/module/{auth/hooks/useAuthentication.js → hooks/useAuth.js} +10 -10
- package/lib/module/hooks/useAuth.js.map +1 -0
- package/lib/module/{auth/hooks → hooks}/useAuthenticateRequests.js +1 -1
- package/lib/module/hooks/useAuthenticateRequests.js.map +1 -0
- package/lib/module/hooks/useBusinesses.js.map +1 -0
- package/lib/module/{selectBusiness → hooks}/useCreateBusiness.js +1 -1
- package/lib/module/hooks/useCreateBusiness.js.map +1 -0
- package/lib/module/hooks/useCustomer.js +1 -1
- package/lib/module/hooks/useCustomer.js.map +1 -1
- package/lib/module/{auth/hooks → hooks}/useDeactivateAccount.js +3 -3
- package/lib/module/hooks/useDeactivateAccount.js.map +1 -0
- package/lib/module/{auth/hooks → hooks}/useLogout.js +2 -2
- package/lib/module/hooks/useLogout.js.map +1 -0
- package/lib/module/{auth/hooks → hooks}/useTermsOfService.js +4 -4
- package/lib/module/hooks/useTermsOfService.js.map +1 -0
- package/lib/module/index.js +6 -11
- package/lib/module/index.js.map +1 -1
- package/lib/module/localization/index.js +5 -0
- package/lib/module/localization/index.js.map +1 -0
- package/lib/module/localization/translations/en.json +88 -0
- package/lib/module/providers/authentication/AuthenticationProvider.js.map +1 -0
- package/lib/module/providers/authentication/actions/authentication.actions.js.map +1 -0
- package/lib/module/providers/authentication/reducer/authentication.reducer.js.map +1 -0
- package/lib/module/providers/authentication/types/authentication.types.js.map +1 -0
- package/lib/module/providers/index.js +3 -0
- package/lib/module/providers/index.js.map +1 -0
- package/lib/module/{auth/screens → screens/Auth}/ChangePassword.js +9 -9
- package/lib/module/{auth/screens → screens/Auth}/ChangePassword.js.map +1 -1
- package/lib/module/{auth/screens → screens/Auth}/Login.js +2 -2
- package/lib/module/{auth/screens → screens/Auth}/Login.js.map +1 -1
- package/lib/module/{auth/screens → screens/Auth}/LoginWithEmail.js +7 -7
- package/lib/module/{auth/screens → screens/Auth}/LoginWithEmail.js.map +1 -1
- package/lib/module/{auth/screens → screens/Auth}/LoginWithPhoneNumber.js +5 -5
- package/lib/module/screens/Auth/LoginWithPhoneNumber.js.map +1 -0
- package/lib/module/{auth/screens → screens/Auth}/ResetPassword.js +43 -11
- package/lib/module/screens/Auth/ResetPassword.js.map +1 -0
- package/lib/module/{auth/screens → screens/Auth}/ResetPasswordInstructionsSent.js +2 -2
- package/lib/module/{auth/screens → screens/Auth}/ResetPasswordInstructionsSent.js.map +1 -1
- package/lib/module/{auth/screens → screens/Auth}/SignUp.js +11 -12
- package/lib/module/screens/Auth/SignUp.js.map +1 -0
- package/lib/module/{auth/screens → screens/Auth}/SignUpPassword.js +7 -7
- package/lib/module/screens/Auth/SignUpPassword.js.map +1 -0
- package/lib/module/{auth/screens → screens/Auth}/VerifyPhoneNumber.js +6 -6
- package/lib/module/screens/Auth/VerifyPhoneNumber.js.map +1 -0
- package/lib/module/{auth/screens → screens/Auth}/VerifyPhoneNumberForLogin.js +6 -6
- package/lib/module/screens/Auth/VerifyPhoneNumberForLogin.js.map +1 -0
- package/lib/module/{auth/screens/index.js → screens/Auth/navigators.js} +1 -1
- package/lib/module/screens/Auth/navigators.js.map +1 -0
- package/lib/module/screens/Auth/validators.js +45 -0
- package/lib/module/screens/Auth/validators.js.map +1 -0
- package/lib/module/screens/SavedCards/CardRow.js +4 -4
- package/lib/module/screens/SavedCards/CardRow.js.map +1 -1
- package/lib/module/screens/SavedCards/SavedCards.js +5 -5
- package/lib/module/screens/SavedCards/SavedCards.js.map +1 -1
- package/lib/module/{selectBusiness → screens/SelectBusiness}/CreateBusinessBottomSheet.js +6 -6
- package/lib/module/screens/SelectBusiness/CreateBusinessBottomSheet.js.map +1 -0
- package/lib/module/{selectBusiness → screens/SelectBusiness}/SelectBusiness.js +9 -10
- package/lib/module/screens/SelectBusiness/SelectBusiness.js.map +1 -0
- package/lib/module/{auth/screens → screens/TermsOfService}/TermsOfService.js +8 -8
- package/lib/module/screens/TermsOfService/TermsOfService.js.map +1 -0
- package/lib/module/screens/index.js +5 -0
- package/lib/module/screens/index.js.map +1 -0
- package/lib/module/utils/index.js +4 -0
- package/lib/module/utils/index.js.map +1 -1
- package/lib/typescript/src/{auth/api → api}/authentication.d.ts +6 -2
- package/lib/typescript/src/api/authentication.d.ts.map +1 -0
- package/lib/typescript/src/api/customer.d.ts +6 -2
- package/lib/typescript/src/api/customer.d.ts.map +1 -1
- package/lib/typescript/src/components/OfflineStrip.d.ts +3 -0
- package/lib/typescript/src/components/OfflineStrip.d.ts.map +1 -0
- package/lib/typescript/src/components/index.d.ts +1 -0
- package/lib/typescript/src/components/index.d.ts.map +1 -1
- package/lib/typescript/src/helpers/index.d.ts +2 -0
- package/lib/typescript/src/helpers/index.d.ts.map +1 -0
- package/lib/typescript/src/hooks/index.d.ts +10 -0
- package/lib/typescript/src/hooks/index.d.ts.map +1 -0
- package/lib/typescript/src/hooks/queryKeys.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useAppVersionCheck.d.ts.map +1 -1
- package/lib/typescript/src/{auth/hooks/useAuthentication.d.ts → hooks/useAuth.d.ts} +2 -2
- package/lib/typescript/src/hooks/useAuth.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useAuthenticateRequests.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useBusinesses.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useCreateBusiness.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useCustomer.d.ts +6 -2
- package/lib/typescript/src/hooks/useCustomer.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useDeactivateAccount.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useLogout.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useTermsOfService.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +6 -11
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/localization/index.d.ts +91 -0
- package/lib/typescript/src/localization/index.d.ts.map +1 -0
- package/lib/typescript/src/providers/authentication/AuthenticationProvider.d.ts.map +1 -0
- package/lib/typescript/src/providers/authentication/actions/authentication.actions.d.ts.map +1 -0
- package/lib/typescript/src/providers/authentication/reducer/authentication.reducer.d.ts.map +1 -0
- package/lib/typescript/src/providers/authentication/types/authentication.types.d.ts.map +1 -0
- package/lib/typescript/src/providers/index.d.ts +3 -0
- package/lib/typescript/src/providers/index.d.ts.map +1 -0
- package/lib/typescript/src/{auth/screens → screens/Auth}/ChangePassword.d.ts.map +1 -1
- package/lib/typescript/src/screens/Auth/Login.d.ts.map +1 -0
- package/lib/typescript/src/screens/Auth/LoginWithEmail.d.ts.map +1 -0
- package/lib/typescript/src/{auth/screens → screens/Auth}/LoginWithPhoneNumber.d.ts.map +1 -1
- package/lib/typescript/src/screens/Auth/ResetPassword.d.ts.map +1 -0
- package/lib/typescript/src/{auth/screens → screens/Auth}/ResetPasswordInstructionsSent.d.ts.map +1 -1
- package/lib/typescript/src/screens/Auth/SignUp.d.ts.map +1 -0
- package/lib/typescript/src/{auth/screens → screens/Auth}/SignUpPassword.d.ts.map +1 -1
- package/lib/typescript/src/{auth/screens → screens/Auth}/VerifyPhoneNumber.d.ts.map +1 -1
- package/lib/typescript/src/{auth/screens → screens/Auth}/VerifyPhoneNumberForLogin.d.ts.map +1 -1
- package/lib/typescript/src/{auth/screens/index.d.ts → screens/Auth/navigators.d.ts} +1 -1
- package/lib/typescript/src/screens/Auth/navigators.d.ts.map +1 -0
- package/lib/typescript/src/{auth/screens → screens/Auth}/validators.d.ts.map +1 -1
- package/lib/typescript/src/screens/SavedCards/CardRow.d.ts +1 -1
- package/lib/typescript/src/screens/SavedCards/CardRow.d.ts.map +1 -1
- package/lib/typescript/src/screens/SavedCards/SavedCards.d.ts +1 -1
- package/lib/typescript/src/screens/SavedCards/SavedCards.d.ts.map +1 -1
- package/lib/typescript/src/screens/SelectBusiness/CreateBusinessBottomSheet.d.ts.map +1 -0
- package/lib/typescript/src/screens/SelectBusiness/SelectBusiness.d.ts.map +1 -0
- package/lib/typescript/src/screens/TermsOfService/TermsOfService.d.ts.map +1 -0
- package/lib/typescript/src/screens/index.d.ts +5 -0
- package/lib/typescript/src/screens/index.d.ts.map +1 -0
- package/lib/typescript/src/utils/checkout.d.ts +1 -1
- package/lib/typescript/src/utils/checkout.d.ts.map +1 -1
- package/lib/typescript/src/utils/index.d.ts +4 -0
- package/lib/typescript/src/utils/index.d.ts.map +1 -1
- package/package.json +4 -1
- package/src/{auth/api → api}/authentication.ts +6 -2
- package/src/api/customer.ts +6 -4
- package/src/assets/icons/alert.svg +4 -0
- package/src/components/Alert.tsx +1 -1
- package/src/components/OfflineStrip.tsx +52 -0
- package/src/components/SelectionDialog.tsx +1 -1
- package/src/components/Snackbar.tsx +1 -1
- package/src/components/index.ts +1 -0
- package/src/helpers/index.ts +1 -0
- package/src/hooks/index.ts +9 -0
- package/src/hooks/useAppVersionCheck.ts +7 -6
- package/src/{auth/hooks/useAuthentication.ts → hooks/useAuth.ts} +9 -12
- package/src/{auth/hooks → hooks}/useAuthenticateRequests.ts +1 -1
- package/src/{selectBusiness → hooks}/useCreateBusiness.ts +1 -1
- package/src/hooks/useCustomer.ts +7 -7
- package/src/{auth/hooks → hooks}/useDeactivateAccount.ts +3 -3
- package/src/{auth/hooks → hooks}/useLogout.ts +2 -2
- package/src/{auth/hooks → hooks}/useTermsOfService.ts +4 -4
- package/src/index.tsx +6 -22
- package/src/localization/index.ts +4 -0
- package/src/localization/translations/en.json +88 -0
- package/src/providers/index.ts +6 -0
- package/src/{auth/screens → screens/Auth}/ChangePassword.tsx +13 -14
- package/src/{auth/screens → screens/Auth}/Login.tsx +2 -2
- package/src/{auth/screens → screens/Auth}/LoginWithEmail.tsx +7 -7
- package/src/{auth/screens → screens/Auth}/LoginWithPhoneNumber.tsx +5 -5
- package/src/{auth/screens → screens/Auth}/ResetPassword.tsx +46 -8
- package/src/{auth/screens → screens/Auth}/ResetPasswordInstructionsSent.tsx +2 -2
- package/src/{auth/screens → screens/Auth}/SignUp.tsx +11 -12
- package/src/{auth/screens → screens/Auth}/SignUpPassword.tsx +11 -11
- package/src/{auth/screens → screens/Auth}/VerifyPhoneNumber.tsx +6 -6
- package/src/{auth/screens → screens/Auth}/VerifyPhoneNumberForLogin.tsx +6 -7
- package/src/{auth/screens → screens/Auth}/validators.ts +20 -20
- package/src/screens/SavedCards/CardRow.tsx +5 -5
- package/src/screens/SavedCards/SavedCards.tsx +6 -6
- package/src/{selectBusiness → screens/SelectBusiness}/CreateBusinessBottomSheet.tsx +6 -6
- package/src/{selectBusiness → screens/SelectBusiness}/SelectBusiness.tsx +9 -10
- package/src/{auth/screens → screens/TermsOfService}/TermsOfService.tsx +10 -8
- package/src/screens/index.ts +4 -0
- package/src/utils/checkout.ts +1 -1
- package/src/utils/index.ts +11 -0
- package/lib/commonjs/auth/api/authentication.js.map +0 -1
- package/lib/commonjs/auth/hooks/useAuthenticateRequests.js.map +0 -1
- package/lib/commonjs/auth/hooks/useAuthentication.js.map +0 -1
- package/lib/commonjs/auth/hooks/useDeactivateAccount.js.map +0 -1
- package/lib/commonjs/auth/hooks/useLogout.js.map +0 -1
- package/lib/commonjs/auth/hooks/useTermsOfService.js.map +0 -1
- package/lib/commonjs/auth/index.js +0 -65
- package/lib/commonjs/auth/index.js.map +0 -1
- package/lib/commonjs/auth/providers/authentication/AuthenticationProvider.js.map +0 -1
- package/lib/commonjs/auth/providers/authentication/actions/authentication.actions.js.map +0 -1
- package/lib/commonjs/auth/providers/authentication/index.js +0 -50
- package/lib/commonjs/auth/providers/authentication/index.js.map +0 -1
- package/lib/commonjs/auth/providers/authentication/reducer/authentication.reducer.js.map +0 -1
- package/lib/commonjs/auth/providers/authentication/types/authentication.types.js.map +0 -1
- package/lib/commonjs/auth/screens/LoginWithPhoneNumber.js.map +0 -1
- package/lib/commonjs/auth/screens/ResetPassword.js.map +0 -1
- package/lib/commonjs/auth/screens/SignUp.js.map +0 -1
- package/lib/commonjs/auth/screens/SignUpPassword.js.map +0 -1
- package/lib/commonjs/auth/screens/TermsOfService.js.map +0 -1
- package/lib/commonjs/auth/screens/VerifyPhoneNumber.js.map +0 -1
- package/lib/commonjs/auth/screens/VerifyPhoneNumberForLogin.js.map +0 -1
- package/lib/commonjs/auth/screens/index.js.map +0 -1
- package/lib/commonjs/auth/screens/validators.js.map +0 -1
- package/lib/commonjs/selectBusiness/CreateBusinessBottomSheet.js.map +0 -1
- package/lib/commonjs/selectBusiness/SelectBusiness.js.map +0 -1
- package/lib/commonjs/selectBusiness/index.js +0 -20
- package/lib/commonjs/selectBusiness/index.js.map +0 -1
- package/lib/commonjs/selectBusiness/queryKeys.js.map +0 -1
- package/lib/commonjs/selectBusiness/useBusinesses.js.map +0 -1
- package/lib/commonjs/selectBusiness/useCreateBusiness.js.map +0 -1
- package/lib/commonjs/types/customer.d.js +0 -7
- package/lib/commonjs/types/customer.d.js.map +0 -1
- package/lib/module/auth/api/authentication.js.map +0 -1
- package/lib/module/auth/hooks/useAuthenticateRequests.js.map +0 -1
- package/lib/module/auth/hooks/useAuthentication.js.map +0 -1
- package/lib/module/auth/hooks/useDeactivateAccount.js.map +0 -1
- package/lib/module/auth/hooks/useLogout.js.map +0 -1
- package/lib/module/auth/hooks/useTermsOfService.js.map +0 -1
- package/lib/module/auth/index.js +0 -7
- package/lib/module/auth/index.js.map +0 -1
- package/lib/module/auth/providers/authentication/AuthenticationProvider.js.map +0 -1
- package/lib/module/auth/providers/authentication/actions/authentication.actions.js.map +0 -1
- package/lib/module/auth/providers/authentication/index.js +0 -5
- package/lib/module/auth/providers/authentication/index.js.map +0 -1
- package/lib/module/auth/providers/authentication/reducer/authentication.reducer.js.map +0 -1
- package/lib/module/auth/providers/authentication/types/authentication.types.js.map +0 -1
- package/lib/module/auth/screens/LoginWithPhoneNumber.js.map +0 -1
- package/lib/module/auth/screens/ResetPassword.js.map +0 -1
- package/lib/module/auth/screens/SignUp.js.map +0 -1
- package/lib/module/auth/screens/SignUpPassword.js.map +0 -1
- package/lib/module/auth/screens/TermsOfService.js.map +0 -1
- package/lib/module/auth/screens/VerifyPhoneNumber.js.map +0 -1
- package/lib/module/auth/screens/VerifyPhoneNumberForLogin.js.map +0 -1
- package/lib/module/auth/screens/index.js.map +0 -1
- package/lib/module/auth/screens/validators.js +0 -45
- package/lib/module/auth/screens/validators.js.map +0 -1
- package/lib/module/selectBusiness/CreateBusinessBottomSheet.js.map +0 -1
- package/lib/module/selectBusiness/SelectBusiness.js.map +0 -1
- package/lib/module/selectBusiness/index.js +0 -3
- package/lib/module/selectBusiness/index.js.map +0 -1
- package/lib/module/selectBusiness/queryKeys.js.map +0 -1
- package/lib/module/selectBusiness/useBusinesses.js.map +0 -1
- package/lib/module/selectBusiness/useCreateBusiness.js.map +0 -1
- package/lib/module/types/customer.d.js +0 -5
- package/lib/module/types/customer.d.js.map +0 -1
- package/lib/typescript/src/auth/api/authentication.d.ts.map +0 -1
- package/lib/typescript/src/auth/hooks/useAuthenticateRequests.d.ts.map +0 -1
- package/lib/typescript/src/auth/hooks/useAuthentication.d.ts.map +0 -1
- package/lib/typescript/src/auth/hooks/useDeactivateAccount.d.ts.map +0 -1
- package/lib/typescript/src/auth/hooks/useLogout.d.ts.map +0 -1
- package/lib/typescript/src/auth/hooks/useTermsOfService.d.ts.map +0 -1
- package/lib/typescript/src/auth/index.d.ts +0 -7
- package/lib/typescript/src/auth/index.d.ts.map +0 -1
- package/lib/typescript/src/auth/providers/authentication/AuthenticationProvider.d.ts.map +0 -1
- package/lib/typescript/src/auth/providers/authentication/actions/authentication.actions.d.ts.map +0 -1
- package/lib/typescript/src/auth/providers/authentication/index.d.ts +0 -5
- package/lib/typescript/src/auth/providers/authentication/index.d.ts.map +0 -1
- package/lib/typescript/src/auth/providers/authentication/reducer/authentication.reducer.d.ts.map +0 -1
- package/lib/typescript/src/auth/providers/authentication/types/authentication.types.d.ts.map +0 -1
- package/lib/typescript/src/auth/screens/Login.d.ts.map +0 -1
- package/lib/typescript/src/auth/screens/LoginWithEmail.d.ts.map +0 -1
- package/lib/typescript/src/auth/screens/ResetPassword.d.ts.map +0 -1
- package/lib/typescript/src/auth/screens/SignUp.d.ts.map +0 -1
- package/lib/typescript/src/auth/screens/TermsOfService.d.ts.map +0 -1
- package/lib/typescript/src/auth/screens/index.d.ts.map +0 -1
- package/lib/typescript/src/selectBusiness/CreateBusinessBottomSheet.d.ts.map +0 -1
- package/lib/typescript/src/selectBusiness/SelectBusiness.d.ts.map +0 -1
- package/lib/typescript/src/selectBusiness/index.d.ts +0 -3
- package/lib/typescript/src/selectBusiness/index.d.ts.map +0 -1
- package/lib/typescript/src/selectBusiness/queryKeys.d.ts.map +0 -1
- package/lib/typescript/src/selectBusiness/useBusinesses.d.ts.map +0 -1
- package/lib/typescript/src/selectBusiness/useCreateBusiness.d.ts.map +0 -1
- package/src/auth/index.ts +0 -10
- package/src/auth/providers/authentication/index.ts +0 -4
- package/src/selectBusiness/index.ts +0 -2
- package/src/types/customer.d.ts +0 -70
- /package/lib/commonjs/{auth/api → api}/authentication.js +0 -0
- /package/lib/commonjs/{selectBusiness → hooks}/queryKeys.js +0 -0
- /package/lib/commonjs/{selectBusiness → hooks}/useBusinesses.js +0 -0
- /package/lib/commonjs/{auth/providers → providers}/authentication/AuthenticationProvider.js +0 -0
- /package/lib/commonjs/{auth/providers → providers}/authentication/actions/authentication.actions.js +0 -0
- /package/lib/commonjs/{auth/providers → providers}/authentication/reducer/authentication.reducer.js +0 -0
- /package/lib/commonjs/{auth/providers → providers}/authentication/types/authentication.types.js +0 -0
- /package/lib/module/{auth/api → api}/authentication.js +0 -0
- /package/lib/module/{selectBusiness → hooks}/queryKeys.js +0 -0
- /package/lib/module/{selectBusiness → hooks}/useBusinesses.js +0 -0
- /package/lib/module/{auth/providers → providers}/authentication/AuthenticationProvider.js +0 -0
- /package/lib/module/{auth/providers → providers}/authentication/actions/authentication.actions.js +0 -0
- /package/lib/module/{auth/providers → providers}/authentication/reducer/authentication.reducer.js +0 -0
- /package/lib/module/{auth/providers → providers}/authentication/types/authentication.types.js +0 -0
- /package/lib/typescript/src/{selectBusiness → hooks}/queryKeys.d.ts +0 -0
- /package/lib/typescript/src/{auth/hooks → hooks}/useAuthenticateRequests.d.ts +0 -0
- /package/lib/typescript/src/{selectBusiness → hooks}/useBusinesses.d.ts +0 -0
- /package/lib/typescript/src/{selectBusiness → hooks}/useCreateBusiness.d.ts +0 -0
- /package/lib/typescript/src/{auth/hooks → hooks}/useDeactivateAccount.d.ts +0 -0
- /package/lib/typescript/src/{auth/hooks → hooks}/useLogout.d.ts +0 -0
- /package/lib/typescript/src/{auth/hooks → hooks}/useTermsOfService.d.ts +0 -0
- /package/lib/typescript/src/{auth/providers → providers}/authentication/AuthenticationProvider.d.ts +0 -0
- /package/lib/typescript/src/{auth/providers → providers}/authentication/actions/authentication.actions.d.ts +0 -0
- /package/lib/typescript/src/{auth/providers → providers}/authentication/reducer/authentication.reducer.d.ts +0 -0
- /package/lib/typescript/src/{auth/providers → providers}/authentication/types/authentication.types.d.ts +0 -0
- /package/lib/typescript/src/{auth/screens → screens/Auth}/ChangePassword.d.ts +0 -0
- /package/lib/typescript/src/{auth/screens → screens/Auth}/Login.d.ts +0 -0
- /package/lib/typescript/src/{auth/screens → screens/Auth}/LoginWithEmail.d.ts +0 -0
- /package/lib/typescript/src/{auth/screens → screens/Auth}/LoginWithPhoneNumber.d.ts +0 -0
- /package/lib/typescript/src/{auth/screens → screens/Auth}/ResetPassword.d.ts +0 -0
- /package/lib/typescript/src/{auth/screens → screens/Auth}/ResetPasswordInstructionsSent.d.ts +0 -0
- /package/lib/typescript/src/{auth/screens → screens/Auth}/SignUp.d.ts +0 -0
- /package/lib/typescript/src/{auth/screens → screens/Auth}/SignUpPassword.d.ts +0 -0
- /package/lib/typescript/src/{auth/screens → screens/Auth}/VerifyPhoneNumber.d.ts +0 -0
- /package/lib/typescript/src/{auth/screens → screens/Auth}/VerifyPhoneNumberForLogin.d.ts +0 -0
- /package/lib/typescript/src/{auth/screens → screens/Auth}/validators.d.ts +0 -0
- /package/lib/typescript/src/{selectBusiness → screens/SelectBusiness}/CreateBusinessBottomSheet.d.ts +0 -0
- /package/lib/typescript/src/{selectBusiness → screens/SelectBusiness}/SelectBusiness.d.ts +0 -0
- /package/lib/typescript/src/{auth/screens → screens/TermsOfService}/TermsOfService.d.ts +0 -0
- /package/src/{selectBusiness → hooks}/queryKeys.ts +0 -0
- /package/src/{selectBusiness → hooks}/useBusinesses.ts +0 -0
- /package/src/{auth/providers → providers}/authentication/AuthenticationProvider.tsx +0 -0
- /package/src/{auth/providers → providers}/authentication/actions/authentication.actions.ts +0 -0
- /package/src/{auth/providers → providers}/authentication/reducer/authentication.reducer.ts +0 -0
- /package/src/{auth/providers → providers}/authentication/types/authentication.types.ts +0 -0
- /package/src/{auth/screens/index.tsx → screens/Auth/navigators.tsx} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_components","_reactQuery","_firestore","_interopRequireDefault","_reactNativeUuid","_customer","_reactNativeMmkv","_constants","_queryKeys","_auth","obj","__esModule","default","useCustomerQueries","queryClient","useQueryClient","user","firebase","currentUser","selectedBusinessId","useMMKVString","MMKV_KEYS","BUSINESS_ID","isLoggedIn","isAnonymous","useEffect","invalidateQueries","queryKeys","LOYALTY","uid","useFetchCustomer","useQuery","CUSTOMER","getCustomer","select","data","customer","useCreateCustomer","mutation","useMutation","response","createCustomer","onError","err","Alert","show","title","code","description","message","createCustomerHook","mutateAsync","createCustomerLoading","isLoading","useUpdateCustomer","props","updateCustomerProfile","updateCustomer","mutate","updateCustomerLoading","useSaveCustomerAddress","address","saveCustomerAddress","useSaveAddress","saveAddressLoading","useFetchSavedCards","CARDS","payments","firestore","collection","orderBy","where","get","docs","length","map","payment","id","enabled","Boolean","useFetchSquareProgram","queryOptions","PROGRAM","programs","program","useFetchSquareLoyalty","fetchSquareLoyalty","res","useSaveCustomerCard","saveCustomerCard","onSuccess","saveCard","saveCardLoading","useDisableCard","documentId","doc","update","isActive","disableCard","disableCardLoading","useConnectSquareLoyalty","connectSquareLoyalty","businessId","idempotentKey","uuid","v4","connectLoyaltyLoading","useConnectSquareCustomer","connectSquareCustomer","connectSquare","connectSquareLoading","useFetchLoyaltyRewards","REWARDS","fetchLoyaltyRewards","exports"],"sourceRoot":"../../../src","sources":["hooks/useCustomer.ts"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AACA,IAAAG,UAAA,GAAAC,sBAAA,CAAAJ,OAAA;AACA,IAAAK,gBAAA,GAAAD,sBAAA,CAAAJ,OAAA;AAEA,IAAAM,SAAA,GAAAN,OAAA;
|
|
1
|
+
{"version":3,"names":["_react","require","_components","_reactQuery","_firestore","_interopRequireDefault","_reactNativeUuid","_customer","_reactNativeMmkv","_constants","_queryKeys","_auth","obj","__esModule","default","useCustomerQueries","queryClient","useQueryClient","user","firebase","currentUser","selectedBusinessId","useMMKVString","MMKV_KEYS","BUSINESS_ID","isLoggedIn","isAnonymous","useEffect","invalidateQueries","queryKeys","LOYALTY","uid","useFetchCustomer","useQuery","CUSTOMER","getCustomer","select","data","customer","useCreateCustomer","mutation","useMutation","response","createCustomer","onError","err","Alert","show","title","code","description","message","createCustomerHook","mutateAsync","createCustomerLoading","isLoading","useUpdateCustomer","props","updateCustomerProfile","updateCustomer","mutate","updateCustomerLoading","useSaveCustomerAddress","address","saveCustomerAddress","useSaveAddress","saveAddressLoading","useFetchSavedCards","CARDS","payments","firestore","collection","orderBy","where","get","docs","length","map","payment","id","enabled","Boolean","useFetchSquareProgram","queryOptions","PROGRAM","programs","program","useFetchSquareLoyalty","fetchSquareLoyalty","res","useSaveCustomerCard","saveCustomerCard","onSuccess","saveCard","saveCardLoading","useDisableCard","documentId","doc","update","isActive","disableCard","disableCardLoading","useConnectSquareLoyalty","connectSquareLoyalty","businessId","idempotentKey","uuid","v4","connectLoyaltyLoading","useConnectSquareCustomer","connectSquareCustomer","connectSquare","connectSquareLoading","useFetchLoyaltyRewards","REWARDS","fetchLoyaltyRewards","exports"],"sourceRoot":"../../../src","sources":["hooks/useCustomer.ts"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AACA,IAAAG,UAAA,GAAAC,sBAAA,CAAAJ,OAAA;AACA,IAAAK,gBAAA,GAAAD,sBAAA,CAAAJ,OAAA;AAEA,IAAAM,SAAA,GAAAN,OAAA;AAWA,IAAAO,gBAAA,GAAAP,OAAA;AACA,IAAAQ,UAAA,GAAAR,OAAA;AACA,IAAAS,UAAA,GAAAT,OAAA;AACA,IAAAU,KAAA,GAAAN,sBAAA,CAAAJ,OAAA;AAAmD,SAAAI,uBAAAO,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAG5C,MAAMG,kBAAkB,GAAGA,CAAA,KAAM;EACtC,MAAMC,WAAW,GAAG,IAAAC,0BAAc,EAAC,CAAC;EACpC,MAAMC,IAAI,GAAG,IAAAC,aAAQ,EAAC,CAAC,CAACC,WAAW;EACnC,MAAM,CAACC,kBAAkB,CAAC,GAAG,IAAAC,8BAAa,EAACC,oBAAS,CAACC,WAAW,CAAC;EACjE,MAAMC,UAAU,GAAGP,IAAI,IAAI,CAACA,IAAI,CAACQ,WAAW;EAE5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GC,GAAsC,IAC9CC,iBAAK,CAACC,IAAI,CAAC;UACTC,KAAK,EAAE,OAAO,GAAGH,GAAG,EAAEI,IAAI;UAC1BC,WAAW,EAAEL,GAAG,EAAEM;QACpB,CAAC,CAAC;QACJyC,SAAS,EAAEA,CAAA,KAAM;UACf5E,WAAW,CAACY,iBAAiB,CAAC,CAACC,oBAAS,CAACuD,OAAO,EAAElE,IAAI,EAAEa,GAAG,CAAC,CAAC;QAC/D;MACF,CACF,CAAC;MAED,OAAO;QACLgF,aAAa,EAAEvE,QAAQ,CAACoB,MAAM;QAC9BoD,oBAAoB,EAAExE,QAAQ,CAACe;MACjC,CAAC;IACH,CAAC;IACD0D,sBAAsB,EAAEA,CAAA,KACtB,IAAAhF,oBAAQ,EACN,CAACJ,oBAAS,CAACqF,OAAO,EAAE7F,kBAAkB,CAAC,EACvC,YAAY;MACV,IAAIA,kBAAkB,EACpB,OAAO,MAAM,IAAA8F,6BAAmB,EAAC9F,kBAAkB,CAAC,CAAC,KAClD;QACH,OAAO,CAAC,CAAC;MACX;IACF,CAAC,EACD;MACEe,MAAM,EAAGC,IAAI,IAAKA,IAAI,EAAEA;IAC1B,CACF;EACJ,CAAC;AACH,CAAC;AAAC+E,OAAA,CAAArG,kBAAA,GAAAA,kBAAA"}
|
|
@@ -5,10 +5,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.useDeactivateAccount = void 0;
|
|
7
7
|
var _reactQuery = require("@tanstack/react-query");
|
|
8
|
-
var _components = require("../../components");
|
|
9
|
-
var _authentication = require("../api/authentication");
|
|
10
8
|
var _reactI18next = require("react-i18next");
|
|
11
9
|
var _auth = _interopRequireDefault(require("@react-native-firebase/auth"));
|
|
10
|
+
var _authentication = require("../api/authentication");
|
|
11
|
+
var _components = require("../components");
|
|
12
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
13
|
const useDeactivateAccount = () => {
|
|
14
14
|
const {
|
|
@@ -20,7 +20,7 @@ const useDeactivateAccount = () => {
|
|
|
20
20
|
onSuccess: () => {
|
|
21
21
|
(0, _auth.default)().signOut();
|
|
22
22
|
_components.Alert.show({
|
|
23
|
-
description: t('
|
|
23
|
+
description: t('commons.deactivationSuccess')
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
26
|
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_reactQuery","require","_reactI18next","_auth","_interopRequireDefault","_authentication","_components","obj","__esModule","default","useDeactivateAccount","t","useTranslation","useMutation","deactivateAPI","onSuccess","auth","signOut","Alert","show","description","exports"],"sourceRoot":"../../../src","sources":["hooks/useDeactivateAccount.ts"],"mappings":";;;;;;AAAA,IAAAA,WAAA,GAAAC,OAAA;AACA,IAAAC,aAAA,GAAAD,OAAA;AACA,IAAAE,KAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,eAAA,GAAAJ,OAAA;AACA,IAAAK,WAAA,GAAAL,OAAA;AAAsC,SAAAG,uBAAAG,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAE/B,MAAMG,oBAAoB,GAAGA,CAAA,KAAM;EACxC,MAAM;IAAEC;EAAE,CAAC,GAAG,IAAAC,4BAAc,EAAC,CAAC;EAC9B,OAAO,IAAAC,uBAAW,EAChB,YAA0B;IACxB,IAAAC,6BAAa,EAAC,CAAC;EACjB,CAAC,EACD;IACEC,SAAS,EAAEA,CAAA,KAAM;MACf,IAAAC,aAAI,EAAC,CAAC,CAACC,OAAO,CAAC,CAAC;MAChBC,iBAAK,CAACC,IAAI,CAAC;QACTC,WAAW,EAAET,CAAC,CAAC,6BAA6B;MAC9C,CAAC,CAAC;IACJ;EACF,CACF,CAAC;AACH,CAAC;AAACU,OAAA,CAAAX,oBAAA,GAAAA,oBAAA"}
|
|
@@ -9,15 +9,15 @@ var _reactQuery = require("@tanstack/react-query");
|
|
|
9
9
|
var _react = require("react");
|
|
10
10
|
var _reactNativeFastImage = _interopRequireDefault(require("react-native-fast-image"));
|
|
11
11
|
var _reactNativeMmkv = require("react-native-mmkv");
|
|
12
|
-
var _constants = require("../../constants");
|
|
13
|
-
var _analytics = require("../../utils/analytics");
|
|
14
12
|
var _reactNativeConfig = _interopRequireDefault(require("react-native-config"));
|
|
13
|
+
var _utils = require("../utils");
|
|
14
|
+
var _constants = require("../constants");
|
|
15
15
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
16
16
|
const useLogout = () => {
|
|
17
17
|
const [_, setBusinessId] = (0, _reactNativeMmkv.useMMKVString)(_constants.MMKV_KEYS.BUSINESS_ID);
|
|
18
18
|
const queryClient = (0, _reactQuery.useQueryClient)();
|
|
19
19
|
const handleLogout = (0, _react.useCallback)(() => {
|
|
20
|
-
|
|
20
|
+
_utils.analytics.reset();
|
|
21
21
|
(0, _auth.default)().signOut().finally(() => {
|
|
22
22
|
_reactNativeConfig.default.APP_NAME !== 'gusteau' && queryClient.clear();
|
|
23
23
|
_reactNativeFastImage.default.clearMemoryCache();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_auth","_interopRequireDefault","require","_reactQuery","_react","_reactNativeFastImage","_reactNativeMmkv","_reactNativeConfig","_utils","_constants","obj","__esModule","default","useLogout","_","setBusinessId","useMMKVString","MMKV_KEYS","BUSINESS_ID","queryClient","useQueryClient","handleLogout","useCallback","analytics","reset","auth","signOut","finally","Config","APP_NAME","clear","FastImage","clearMemoryCache","clearDiskCache","undefined","exports"],"sourceRoot":"../../../src","sources":["hooks/useLogout.ts"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,qBAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,gBAAA,GAAAJ,OAAA;AACA,IAAAK,kBAAA,GAAAN,sBAAA,CAAAC,OAAA;AACA,IAAAM,MAAA,GAAAN,OAAA;AACA,IAAAO,UAAA,GAAAP,OAAA;AAAyC,SAAAD,uBAAAS,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAElC,MAAMG,SAAS,GAAGA,CAAA,KAAM;EAC7B,MAAM,CAACC,CAAC,EAAEC,aAAa,CAAC,GAAG,IAAAC,8BAAa,EAACC,oBAAS,CAACC,WAAW,CAAC;EAC/D,MAAMC,WAAW,GAAG,IAAAC,0BAAc,EAAC,CAAC;EAEpC,MAAMC,YAAY,GAAG,IAAAC,kBAAW,EAAC,MAAM;IACrCC,gBAAS,CAACC,KAAK,CAAC,CAAC;IACjB,IAAAC,aAAI,EAAC,CAAC,CACHC,OAAO,CAAC,CAAC,CACTC,OAAO,CAAC,MAAM;MACbC,0BAAM,CAACC,QAAQ,KAAK,SAAS,IAAIV,WAAW,CAACW,KAAK,CAAC,CAAC;MACpDC,6BAAS,CAACC,gBAAgB,CAAC,CAAC;MAC5BD,6BAAS,CAACE,cAAc,CAAC,CAAC;MAC1BL,0BAAM,CAACC,QAAQ,KAAK,SAAS,IAAId,aAAa,CAACmB,SAAS,CAAC;IAC3D,CAAC,CAAC;EACN,CAAC,EAAE,CAACf,WAAW,EAAEJ,aAAa,CAAC,CAAC;EAEhC,OAAO;IAAEM;EAAa,CAAC;AACzB,CAAC;AAACc,OAAA,CAAAtB,SAAA,GAAAA,SAAA"}
|
|
@@ -6,11 +6,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.useTermsOfService = void 0;
|
|
7
7
|
var _reactQuery = require("@tanstack/react-query");
|
|
8
8
|
var _firestore = _interopRequireDefault(require("@react-native-firebase/firestore"));
|
|
9
|
-
var _queryKeys = require("../../selectBusiness/queryKeys");
|
|
10
|
-
var _utils = require("../../utils");
|
|
11
|
-
var _analytics = require("../../utils/analytics");
|
|
12
|
-
var _customer = require("../../api/customer");
|
|
13
9
|
var _auth = _interopRequireDefault(require("@react-native-firebase/auth"));
|
|
10
|
+
var _utils = require("../utils");
|
|
11
|
+
var _customer = require("../api/customer");
|
|
12
|
+
var _queryKeys = require("./queryKeys");
|
|
14
13
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
14
|
const useTermsOfService = () => {
|
|
16
15
|
const queryClient = (0, _reactQuery.useQueryClient)();
|
|
@@ -55,7 +54,7 @@ const useTermsOfService = () => {
|
|
|
55
54
|
updated: (0, _utils.getCurrentTimestamp)(),
|
|
56
55
|
agreementsUpdated: new Date().toISOString()
|
|
57
56
|
});
|
|
58
|
-
|
|
57
|
+
_utils.analytics.track({
|
|
59
58
|
eventName: 'term_of_service_accepted'
|
|
60
59
|
});
|
|
61
60
|
await queryClient.invalidateQueries([user.uid, _queryKeys.queryKeys.TERMS_AND_CONDITIONS]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_reactQuery","require","_firestore","_interopRequireDefault","_auth","_utils","_customer","_queryKeys","obj","__esModule","default","useTermsOfService","queryClient","useQueryClient","user","firebase","currentUser","useTermsOfServiceURL","useQuery","queryKeys","TERMS_AND_CONDITIONS_URL","system","firestore","doc","get","data","url","staleTime","Infinity","useShouldShowTermsOfService","uid","TERMS_AND_CONDITIONS","customerSnapshot","exists","customer","agreementsUpdated","Date","updated","DEFAULT_STALE_TIME","useAgreeTermsOfService","useMutation","query","createCustomer","update","getCurrentTimestamp","toISOString","analytics","track","eventName","invalidateQueries","exports"],"sourceRoot":"../../../src","sources":["hooks/useTermsOfService.ts"],"mappings":";;;;;;AAAA,IAAAA,WAAA,GAAAC,OAAA;AACA,IAAAC,UAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,KAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AACA,IAAAK,SAAA,GAAAL,OAAA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
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
var
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
TSingleSnapBottomSheetRef: true,
|
|
17
|
-
Analytics: true
|
|
18
|
-
};
|
|
19
|
-
Object.defineProperty(exports, "Analytics", {
|
|
20
|
-
enumerable: true,
|
|
21
|
-
get: function () {
|
|
22
|
-
return _analytics.Analytics;
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
Object.defineProperty(exports, "AssetManager", {
|
|
26
|
-
enumerable: true,
|
|
27
|
-
get: function () {
|
|
28
|
-
return _AssetManager.AssetManager;
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
Object.defineProperty(exports, "Currency", {
|
|
32
|
-
enumerable: true,
|
|
33
|
-
get: function () {
|
|
34
|
-
return _currency.Currency;
|
|
35
|
-
}
|
|
36
|
-
});
|
|
37
|
-
Object.defineProperty(exports, "SavedCards", {
|
|
38
|
-
enumerable: true,
|
|
39
|
-
get: function () {
|
|
40
|
-
return _SavedCards.SavedCards;
|
|
41
|
-
}
|
|
42
|
-
});
|
|
43
|
-
Object.defineProperty(exports, "TMultiSnapBottomSheetRef", {
|
|
44
|
-
enumerable: true,
|
|
45
|
-
get: function () {
|
|
46
|
-
return _useMultiSnapBottomSheetRef.TMultiSnapBottomSheetRef;
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
Object.defineProperty(exports, "TSingleSnapBottomSheetRef", {
|
|
50
|
-
enumerable: true,
|
|
51
|
-
get: function () {
|
|
52
|
-
return _useSingleSnapBottomSheetRef.TSingleSnapBottomSheetRef;
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
Object.defineProperty(exports, "useAppVersionCheck", {
|
|
56
|
-
enumerable: true,
|
|
57
|
-
get: function () {
|
|
58
|
-
return _useAppVersionCheck.useAppVersionCheck;
|
|
59
|
-
}
|
|
60
|
-
});
|
|
61
|
-
Object.defineProperty(exports, "useCheckCustomer", {
|
|
62
|
-
enumerable: true,
|
|
63
|
-
get: function () {
|
|
64
|
-
return _useCheckCustomer.useCheckCustomer;
|
|
65
|
-
}
|
|
66
|
-
});
|
|
67
|
-
Object.defineProperty(exports, "useCustomerQueries", {
|
|
68
|
-
enumerable: true,
|
|
69
|
-
get: function () {
|
|
70
|
-
return _useCustomer.useCustomerQueries;
|
|
71
|
-
}
|
|
72
|
-
});
|
|
73
|
-
Object.defineProperty(exports, "useMultiSnapBottomSheetRef", {
|
|
74
|
-
enumerable: true,
|
|
75
|
-
get: function () {
|
|
76
|
-
return _useMultiSnapBottomSheetRef.useMultiSnapBottomSheetRef;
|
|
77
|
-
}
|
|
6
|
+
var _hooks = require("./hooks");
|
|
7
|
+
Object.keys(_hooks).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _hooks[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _hooks[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
78
16
|
});
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
17
|
+
var _screens = require("./screens");
|
|
18
|
+
Object.keys(_screens).forEach(function (key) {
|
|
19
|
+
if (key === "default" || key === "__esModule") return;
|
|
20
|
+
if (key in exports && exports[key] === _screens[key]) return;
|
|
21
|
+
Object.defineProperty(exports, key, {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function () {
|
|
24
|
+
return _screens[key];
|
|
25
|
+
}
|
|
26
|
+
});
|
|
84
27
|
});
|
|
85
|
-
var _useAppVersionCheck = require("./hooks/useAppVersionCheck");
|
|
86
|
-
var _AssetManager = require("./helpers/AssetManager");
|
|
87
|
-
var _currency = require("./utils/currency");
|
|
88
|
-
var _useCustomer = require("./hooks/useCustomer");
|
|
89
|
-
var _useCheckCustomer = require("./hooks/useCheckCustomer");
|
|
90
|
-
var _SavedCards = require("./screens/SavedCards/SavedCards");
|
|
91
|
-
var _useMultiSnapBottomSheetRef = require("./utils/useMultiSnapBottomSheetRef");
|
|
92
|
-
var _useSingleSnapBottomSheetRef = require("./utils/useSingleSnapBottomSheetRef");
|
|
93
28
|
var _components = require("./components");
|
|
94
29
|
Object.keys(_components).forEach(function (key) {
|
|
95
30
|
if (key === "default" || key === "__esModule") return;
|
|
96
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
97
31
|
if (key in exports && exports[key] === _components[key]) return;
|
|
98
32
|
Object.defineProperty(exports, key, {
|
|
99
33
|
enumerable: true,
|
|
@@ -102,29 +36,48 @@ Object.keys(_components).forEach(function (key) {
|
|
|
102
36
|
}
|
|
103
37
|
});
|
|
104
38
|
});
|
|
105
|
-
var
|
|
106
|
-
Object.keys(
|
|
39
|
+
var _localization = require("./localization");
|
|
40
|
+
Object.keys(_localization).forEach(function (key) {
|
|
41
|
+
if (key === "default" || key === "__esModule") return;
|
|
42
|
+
if (key in exports && exports[key] === _localization[key]) return;
|
|
43
|
+
Object.defineProperty(exports, key, {
|
|
44
|
+
enumerable: true,
|
|
45
|
+
get: function () {
|
|
46
|
+
return _localization[key];
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
});
|
|
50
|
+
var _utils = require("./utils");
|
|
51
|
+
Object.keys(_utils).forEach(function (key) {
|
|
52
|
+
if (key === "default" || key === "__esModule") return;
|
|
53
|
+
if (key in exports && exports[key] === _utils[key]) return;
|
|
54
|
+
Object.defineProperty(exports, key, {
|
|
55
|
+
enumerable: true,
|
|
56
|
+
get: function () {
|
|
57
|
+
return _utils[key];
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
});
|
|
61
|
+
var _helpers = require("./helpers");
|
|
62
|
+
Object.keys(_helpers).forEach(function (key) {
|
|
107
63
|
if (key === "default" || key === "__esModule") return;
|
|
108
|
-
if (
|
|
109
|
-
if (key in exports && exports[key] === _auth[key]) return;
|
|
64
|
+
if (key in exports && exports[key] === _helpers[key]) return;
|
|
110
65
|
Object.defineProperty(exports, key, {
|
|
111
66
|
enumerable: true,
|
|
112
67
|
get: function () {
|
|
113
|
-
return
|
|
68
|
+
return _helpers[key];
|
|
114
69
|
}
|
|
115
70
|
});
|
|
116
71
|
});
|
|
117
|
-
var
|
|
118
|
-
Object.keys(
|
|
72
|
+
var _providers = require("./providers");
|
|
73
|
+
Object.keys(_providers).forEach(function (key) {
|
|
119
74
|
if (key === "default" || key === "__esModule") return;
|
|
120
|
-
if (
|
|
121
|
-
if (key in exports && exports[key] === _selectBusiness[key]) return;
|
|
75
|
+
if (key in exports && exports[key] === _providers[key]) return;
|
|
122
76
|
Object.defineProperty(exports, key, {
|
|
123
77
|
enumerable: true,
|
|
124
78
|
get: function () {
|
|
125
|
-
return
|
|
79
|
+
return _providers[key];
|
|
126
80
|
}
|
|
127
81
|
});
|
|
128
82
|
});
|
|
129
|
-
var _analytics = require("./utils/analytics");
|
|
130
83
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["_hooks","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_screens","_components","_localization","_utils","_helpers","_providers"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":";;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,MAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,MAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA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EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAQ,MAAA,CAAAR,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAI,MAAA,CAAAR,GAAA;IAAA;EAAA;AAAA;AACA,IAAAS,QAAA,GAAAb,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAW,QAAA,EAAAV,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAS,QAAA,CAAAT,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAK,QAAA,CAAAT,GAAA;IAAA;EAAA;AAAA;AACA,IAAAU,UAAA,GAAAd,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAY,UAAA,EAAAX,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAU,UAAA,CAAAV,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAM,UAAA,CAAAV,GAAA;IAAA;EAAA;AAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.translations = void 0;
|
|
7
|
+
var _en = _interopRequireDefault(require("./translations/en.json"));
|
|
8
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
9
|
+
const translations = exports.translations = {
|
|
10
|
+
en: _en.default
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_en","_interopRequireDefault","require","obj","__esModule","default","translations","exports","en"],"sourceRoot":"../../../src","sources":["localization/index.ts"],"mappings":";;;;;;AAAA,IAAAA,GAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAwC,SAAAD,uBAAAE,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AACjC,MAAMG,YAAY,GAAAC,OAAA,CAAAD,YAAA,GAAG;EAC1BE,EAAE,EAAFA;AACF,CAAC"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
{
|
|
2
|
+
"commons": {
|
|
3
|
+
"offline": "You seem to be offline... ",
|
|
4
|
+
"ok": "OK",
|
|
5
|
+
"close": "Close",
|
|
6
|
+
"create": "Create",
|
|
7
|
+
"update": "Update",
|
|
8
|
+
"cancel": "Cancel",
|
|
9
|
+
"delete": "Delete",
|
|
10
|
+
"continue": "Continue",
|
|
11
|
+
"logIn": "Log In",
|
|
12
|
+
"forgotPassword": "Forgot Password?",
|
|
13
|
+
"newToApp": "New to KIOS?",
|
|
14
|
+
"signUp": "Sign Up",
|
|
15
|
+
"email": "Email",
|
|
16
|
+
"password": "Password",
|
|
17
|
+
"requiredPassword": "Enter your Password",
|
|
18
|
+
"enterYour": "Enter Your Email to\nReset Password",
|
|
19
|
+
"resetPassword": "Reset Password",
|
|
20
|
+
"resetPasswordInstructionSent": "The reset password instructions were sent to {{email}}.",
|
|
21
|
+
"backToLogin": "Back to Log In",
|
|
22
|
+
"createAccountTitle": "Create a KIOS Account",
|
|
23
|
+
"createAccount": "Create Account",
|
|
24
|
+
"businessName": "Business Name",
|
|
25
|
+
"businessNameRequired": "Enter Business Name",
|
|
26
|
+
"displayName": "Name",
|
|
27
|
+
"displayNameRequired": "Enter a first and last name",
|
|
28
|
+
"phoneNumber": "Phone Number",
|
|
29
|
+
"requiredPhoneNumber": "Enter your Phone Number",
|
|
30
|
+
"passwordMustContain": "Password must contain:",
|
|
31
|
+
"minLength": "At least 8 characters",
|
|
32
|
+
"1lowerChar": "At least 1 lowercase character",
|
|
33
|
+
"1upperChar": "At least 1 uppercase character",
|
|
34
|
+
"1number": "At least 1 number",
|
|
35
|
+
"1special": "At least 1 special character",
|
|
36
|
+
"validEmail": "Email must be a valid email",
|
|
37
|
+
"requiredEmailForLogin": "Enter the email you have an account with",
|
|
38
|
+
"requiredEmailForSignUp": "Enter the email you want to create an account with",
|
|
39
|
+
"byContinue": "By continuing, you agree to KIOS’s",
|
|
40
|
+
"termsAndConditions": "Terms and Conditions",
|
|
41
|
+
"and": "and",
|
|
42
|
+
"privacyPolicy": "Privacy Policy.",
|
|
43
|
+
"createPassword": "Create a Password",
|
|
44
|
+
"verifyYourNumber": "Verify Your Number",
|
|
45
|
+
"loginWithNumber": "Login with Number",
|
|
46
|
+
"codeSent": "We’ve sent a 6-digital code to your {{phoneNumber}}.",
|
|
47
|
+
"resendCode": "Resend Code",
|
|
48
|
+
"userDoesNotExist": "No account found with '{{emailOrPhoneNumber}}'.",
|
|
49
|
+
"wrongCredentials": "You have entered an invalid email or password",
|
|
50
|
+
"deactivationSuccess": "Your account deactivated successfully",
|
|
51
|
+
"wrongOTP": "The verification code which you entered is invalid, Please enter the correct code.",
|
|
52
|
+
"passwordChangeSuccess": "Password changed successfully",
|
|
53
|
+
"newPassword": "New Password",
|
|
54
|
+
"currentPassword": "Current Password",
|
|
55
|
+
"changePassword": "Change password",
|
|
56
|
+
"wrongPassword": "Wrong password",
|
|
57
|
+
"wrongPasswordDesc": "The password you have entered is invalid",
|
|
58
|
+
"resetPasswordWarningAlert": {
|
|
59
|
+
"title": "Log out of all kiosks",
|
|
60
|
+
"description": "Resetting your password will automatically log you out of all your kiosks. Are you sure you want to continue?"
|
|
61
|
+
},
|
|
62
|
+
"appUpdateAlert": {
|
|
63
|
+
"title": "New Update ✨",
|
|
64
|
+
"description": "A new version of the app is available. Please update to the latest version for the best experience."
|
|
65
|
+
},
|
|
66
|
+
"addCard": "Add card",
|
|
67
|
+
"noSavedCards": "You have no saved card yet.",
|
|
68
|
+
"paymentMethods": "Payment methods",
|
|
69
|
+
"payment": "Payment",
|
|
70
|
+
"payAndPlaceOrder": "Pay & Place order",
|
|
71
|
+
"payByCard": "Pay by card",
|
|
72
|
+
"confirmCardDelete": "Confirm Delete Card",
|
|
73
|
+
"cardDeleteDesc": "Are you sure you want to delete card ending in {{card}}?",
|
|
74
|
+
"total": "Subtotal",
|
|
75
|
+
"createBusiness": "Create Business",
|
|
76
|
+
"selectBusiness": "Select Business",
|
|
77
|
+
"searchBusiness": "Search Business",
|
|
78
|
+
"noBusiness": "Looks like you don't have any businesses.",
|
|
79
|
+
"logout": "Logout",
|
|
80
|
+
"termsOfServiceModal": {
|
|
81
|
+
"title": "Please accept the updated terms to continue using Remy",
|
|
82
|
+
"description": "You can view the updated terms at any time but you will need to accept the terms in order to access your account.",
|
|
83
|
+
"review": "Review Terms"
|
|
84
|
+
},
|
|
85
|
+
"termsTitle": "Terms of Service Update",
|
|
86
|
+
"acceptTerms": "Accept Terms"
|
|
87
|
+
}
|
|
88
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_auth","_interopRequireDefault","_authentication","_useAuthenticateRequests","_authentication2","obj","__esModule","default","_getRequireWildcardCache","e","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","AuthenticationContext","createContext","AuthenticationDispatchContext","useAuthentication","useContext","exports","useAuthenticationDispatch","AuthenticationProvider","children","authentication","dispatch","useReducer","authenticationReducer","initializing","user","isSignedIn","getToken","useCallback","getIdToken","isAnonymous","useAuthenticateRequests","useEffect","auth","signInAnonymously","onAuthStateChanged","changeUser","subscriber","createElement","Provider","value"],"sourceRoot":"../../../../src","sources":["providers/authentication/AuthenticationProvider.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AASA,IAAAC,KAAA,GAAAC,sBAAA,CAAAF,OAAA;AAMA,IAAAG,eAAA,GAAAH,OAAA;AACA,IAAAI,wBAAA,GAAAJ,OAAA;AACA,IAAAK,gBAAA,GAAAL,OAAA;AAA8D,SAAAE,uBAAAI,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAAA,SAAAG,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAX,wBAAAW,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAH,UAAA,SAAAG,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAF,OAAA,EAAAE,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAC,GAAA,CAAAJ,CAAA,UAAAG,CAAA,CAAAE,GAAA,CAAAL,CAAA,OAAAM,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,CAAA,IAAAZ,CAAA,oBAAAY,CAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAY,CAAA,SAAAI,CAAA,GAAAR,CAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAX,CAAA,EAAAY,CAAA,UAAAI,CAAA,KAAAA,CAAA,CAAAX,GAAA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CAACI,YAAY,KAAK,KAAK,IAAI,CAACJ,cAAc,CAACK,IAAI,EAAE;MACjE,IAAAQ,aAAI,EAAC,CAAC,CAACC,iBAAiB,CAAC,CAAC;IAC5B;EACF,CAAC,EAAE,CAACd,cAAc,CAACK,IAAI,EAAEL,cAAc,CAACI,YAAY,CAAC,CAAC;;EAEtD;EACA,SAASW,kBAAkBA,CAACV,IAAmC,EAAE;IAC/DJ,QAAQ,CAAC,IAAAe,2BAAU,EAACX,IAAI,CAAC,CAAC;EAC5B;EAEA,IAAAO,gBAAS,EAAC,MAAM;IACd,MAAMK,UAAU,GAAG,IAAAJ,aAAI,EAAC,CAAC,CAACE,kBAAkB,CAACA,kBAAkB,CAAC;IAChE,OAAOE,UAAU,CAAC,CAAC;EACrB,CAAC,EAAE,EAAE,CAAC;EAEN,oBACExD,MAAA,CAAAU,OAAA,CAAA+C,aAAA,CAAC3B,qBAAqB,CAAC4B,QAAQ;IAACC,KAAK,EAAEpB;EAAe,gBACpDvC,MAAA,CAAAU,OAAA,CAAA+C,aAAA,CAACzB,6BAA6B,CAAC0B,QAAQ;IAACC,KAAK,EAAEnB;EAAS,GACrDF,QACqC,CACV,CAAC;AAErC,CAAC;AAACH,OAAA,CAAAE,sBAAA,GAAAA,sBAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_authentication","require","changeUser","user","type","AuthenticationActionType","ChangeUser","exports"],"sourceRoot":"../../../../../src","sources":["providers/authentication/actions/authentication.actions.ts"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AAMO,MAAMC,UAAU,GAAIC,IAAiB,KAA4B;EACtEC,IAAI,EAAEC,wCAAwB,CAACC,UAAU;EACzCH;AACF,CAAC,CAAC;AAACI,OAAA,CAAAL,UAAA,GAAAA,UAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_authentication","require","isSignedIn","user","isAnonymous","email","phoneNumber","authenticationReducer","state","action","type","AuthenticationActionType","ChangeUser","initializing","exports"],"sourceRoot":"../../../../../src","sources":["providers/authentication/reducer/authentication.reducer.ts"],"mappings":";;;;;;AACA,IAAAA,eAAA,GAAAC,OAAA;AAMA,MAAMC,UAAU,GAAIC,IAA4B,IAAK;EACnD,IAAIA,IAAI,CAACC,WAAW,EAAE;IACpB;IACA,OAAO,KAAK;EACd,CAAC,MAAM,IAAID,IAAI,CAACE,KAAK,EAAE;IACrB;IACA,IAAIF,IAAI,CAACG,WAAW,EAAE;MACpB,OAAO,IAAI;IACb,CAAC,MAAM;MACL,OAAO,KAAK;IACd;EACF,CAAC,MAAM,IAAIH,IAAI,CAACG,WAAW,EAAE;IAC3B;IACA,OAAO,IAAI;EACb;EACA,OAAO,KAAK;AACd,CAAC;AAEM,MAAMC,qBAAqB,GAAGA,CACnCC,KAA0B,EAC1BC,MAA4B,KACJ;EACxB,QAAQA,MAAM,CAACC,IAAI;IACjB,KAAKC,wCAAwB,CAACC,UAAU;MACtC,OAAO;QACL,GAAGJ,KAAK;QACRK,YAAY,EAAE,KAAK;QACnBV,IAAI,EAAEM,MAAM,CAACN,IAAI;QACjBD,UAAU,EAAEO,MAAM,CAACN,IAAI,GAAGD,UAAU,CAACO,MAAM,CAACN,IAAI,CAAC,GAAG;MACtD,CAAC;IACH;MACE,OAAOK,KAAK;EAChB;AACF,CAAC;AAACM,OAAA,CAAAP,qBAAA,GAAAA,qBAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["AuthenticationActionType","exports"],"sourceRoot":"../../../../../src","sources":["providers/authentication/types/authentication.types.ts"],"mappings":";;;;;;IAIYA,wBAAwB,GAAAC,OAAA,CAAAD,wBAAA,0BAAxBA,wBAAwB;EAAxBA,wBAAwB;EAAA,OAAxBA,wBAAwB;AAAA"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "AuthenticationProvider", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _AuthenticationProvider.AuthenticationProvider;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "changeUser", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () {
|
|
15
|
+
return _authentication.changeUser;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "useAuthentication", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () {
|
|
21
|
+
return _AuthenticationProvider.useAuthentication;
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "useAuthenticationDispatch", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () {
|
|
27
|
+
return _AuthenticationProvider.useAuthenticationDispatch;
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
var _authentication = require("./authentication/actions/authentication.actions");
|
|
31
|
+
var _AuthenticationProvider = require("./authentication/AuthenticationProvider");
|
|
32
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_authentication","require","_AuthenticationProvider"],"sourceRoot":"../../../src","sources":["providers/index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AACA,IAAAC,uBAAA,GAAAD,OAAA"}
|
|
@@ -49,19 +49,19 @@ const ChangePassword = ({
|
|
|
49
49
|
await user.updatePassword(data.newPassword);
|
|
50
50
|
setIsLoading(false);
|
|
51
51
|
_components.Snackbar.show({
|
|
52
|
-
title: t('
|
|
52
|
+
title: t('commons.passwordChangeSuccess')
|
|
53
53
|
});
|
|
54
54
|
navigation.goBack();
|
|
55
55
|
}
|
|
56
56
|
} catch (error) {
|
|
57
57
|
setIsLoading(false);
|
|
58
58
|
_components.Alert.show({
|
|
59
|
-
title: t('
|
|
60
|
-
description: t('
|
|
59
|
+
title: t('commons.wrongPassword'),
|
|
60
|
+
description: t('commons.wrongPasswordDesc')
|
|
61
61
|
});
|
|
62
62
|
}
|
|
63
63
|
};
|
|
64
|
-
const passwordExpectations = [t('
|
|
64
|
+
const passwordExpectations = [t('commons.minLength'), t('commons.1lowerChar'), t('commons.1upperChar'), t('commons.1number'), t('commons.1special')];
|
|
65
65
|
return /*#__PURE__*/_react.default.createElement(_components.ParentView, null, /*#__PURE__*/_react.default.createElement(_components.Header, {
|
|
66
66
|
title: route.params?.backText ?? '',
|
|
67
67
|
textAlign: "left"
|
|
@@ -80,7 +80,7 @@ const ChangePassword = ({
|
|
|
80
80
|
}, /*#__PURE__*/_react.default.createElement(_components.Text, {
|
|
81
81
|
pb: "40",
|
|
82
82
|
variant: "titleLarge"
|
|
83
|
-
}, t('
|
|
83
|
+
}, t('commons.changePassword'))), /*#__PURE__*/_react.default.createElement(_reactHookForm.Controller, {
|
|
84
84
|
control: control,
|
|
85
85
|
render: ({
|
|
86
86
|
field: {
|
|
@@ -100,7 +100,7 @@ const ChangePassword = ({
|
|
|
100
100
|
onBlur: onBlur,
|
|
101
101
|
onChangeText: onChange,
|
|
102
102
|
value: value,
|
|
103
|
-
label: t('
|
|
103
|
+
label: t('commons.currentPassword')
|
|
104
104
|
});
|
|
105
105
|
},
|
|
106
106
|
name: "currentPassword"
|
|
@@ -126,10 +126,10 @@ const ChangePassword = ({
|
|
|
126
126
|
trigger();
|
|
127
127
|
},
|
|
128
128
|
value: value,
|
|
129
|
-
label: t('
|
|
129
|
+
label: t('commons.password')
|
|
130
130
|
}), /*#__PURE__*/_react.default.createElement(_components.Text, {
|
|
131
131
|
pt: "4"
|
|
132
|
-
}, t('
|
|
132
|
+
}, t('commons.passwordMustContain')), passwordExpectations.map((expectation, index) => {
|
|
133
133
|
const didExpectationFoundInErrors = passwordErrors?.includes(expectation) ?? false;
|
|
134
134
|
return /*#__PURE__*/_react.default.createElement(_components.View, {
|
|
135
135
|
flexDirection: "row",
|
|
@@ -147,7 +147,7 @@ const ChangePassword = ({
|
|
|
147
147
|
mt: "24",
|
|
148
148
|
onPress: handleSubmit(handleChangePassword),
|
|
149
149
|
mode: "contained"
|
|
150
|
-
}, t('
|
|
150
|
+
}, t('commons.changePassword')))));
|
|
151
151
|
};
|
|
152
152
|
exports.ChangePassword = ChangePassword;
|
|
153
153
|
//# sourceMappingURL=ChangePassword.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_components","_auth","_interopRequireDefault","_reactHookForm","_yup","_reactI18next","_native","_validators","obj","__esModule","default","_getRequireWildcardCache","e","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","ChangePassword","route","useTranslation","navigation","useNavigation","isLoading","setIsLoading","useState","handleSubmit","control","formState","errors","isDirty","trigger","useForm","criteriaMode","resolver","yupResolver","changePasswordSchema","defaultValues","currentPassword","newPassword","handleChangePassword","data","user","auth","currentUser","email","credential","EmailAuthProvider","reauthenticateWithCredential","updatePassword","Snackbar","show","title","goBack","error","Alert","description","passwordExpectations","createElement","ParentView","Header","params","backText","textAlign","View","flex","px","KeyboardAvoidingView","behavior","width","phone","tablet","alignItems","Text","pb","variant","Controller","render","field","onChange","onBlur","value","TextInput","autoFocus","my","autoCapitalize","mode","secureTextEntry","message","errorMessage","onChangeText","label","name","passwordErrors","values","types","flat","autoComplete","text","pt","map","expectation","index","didExpectationFoundInErrors","includes","flexDirection","key","color","Button","loading","mt","onPress","exports"],"sourceRoot":"../../../../src","sources":["
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_components","_auth","_interopRequireDefault","_reactHookForm","_yup","_reactI18next","_native","_validators","obj","__esModule","default","_getRequireWildcardCache","e","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","ChangePassword","route","useTranslation","navigation","useNavigation","isLoading","setIsLoading","useState","handleSubmit","control","formState","errors","isDirty","trigger","useForm","criteriaMode","resolver","yupResolver","changePasswordSchema","defaultValues","currentPassword","newPassword","handleChangePassword","data","user","auth","currentUser","email","credential","EmailAuthProvider","reauthenticateWithCredential","updatePassword","Snackbar","show","title","goBack","error","Alert","description","passwordExpectations","createElement","ParentView","Header","params","backText","textAlign","View","flex","px","KeyboardAvoidingView","behavior","width","phone","tablet","alignItems","Text","pb","variant","Controller","render","field","onChange","onBlur","value","TextInput","autoFocus","my","autoCapitalize","mode","secureTextEntry","message","errorMessage","onChangeText","label","name","passwordErrors","values","types","flat","autoComplete","text","pt","map","expectation","index","didExpectationFoundInErrors","includes","flexDirection","key","color","Button","loading","mt","onPress","exports"],"sourceRoot":"../../../../src","sources":["screens/Auth/ChangePassword.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AAWA,IAAAE,KAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,cAAA,GAAAJ,OAAA;AACA,IAAAK,IAAA,GAAAL,OAAA;AACA,IAAAM,aAAA,GAAAN,OAAA;AACA,IAAAO,OAAA,GAAAP,OAAA;AACA,IAAAQ,WAAA,GAAAR,OAAA;AAAoD,SAAAG,uBAAAM,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAAA,SAAAG,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAd,wBAAAc,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAH,UAAA,SAAAG,CAAA,eAAAA,C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BAA6B,CAAQ,CAAC,EACrDsD,oBAAoB,CAAC2C,GAAG,CAAC,CAACC,WAAW,EAAEC,KAAK,KAAK;QAChD,MAAMC,2BAA2B,GAC/BV,cAAc,EAAEW,QAAQ,CAACH,WAAW,CAAC,IAAI,KAAK;QAEhD,oBACEpH,MAAA,CAAAa,OAAA,CAAA4D,aAAA,CAACtE,WAAA,CAAA4E,IAAI;UAACyC,aAAa,EAAC,KAAK;UAACjC,UAAU,EAAC,QAAQ;UAACkC,GAAG,EAAEJ;QAAM,gBACvDrH,MAAA,CAAAa,OAAA,CAAA4D,aAAA,CAACtE,WAAA,CAAAqF,IAAI;UACHE,OAAO,EAAC,WAAW;UACnBgC,KAAK,EACH7E,OAAO,GACHyE,2BAA2B,GACzB,OAAO,GACP,SAAS,GACX;QACL,GAEA,KAAK,GAAGF,WACL,CACF,CAAC;MAEX,CAAC,CACG,CAAC;IAEX,CAAE;IACFT,IAAI,EAAC;EAAa,CACnB,CAAC,eAEF3G,MAAA,CAAAa,OAAA,CAAA4D,aAAA,CAACtE,WAAA,CAAAwH,MAAM;IACLC,OAAO,EAAEtF,SAAU;IACnBuF,EAAE,EAAC,IAAI;IACPC,OAAO,EAAErF,YAAY,CAACc,oBAAoB,CAAE;IAC5C8C,IAAI,EAAC;EAAW,GAEfnF,CAAC,CAAC,wBAAwB,CACrB,CACY,CAClB,CACI,CAAC;AAEjB,CAAC;AAAC6G,OAAA,CAAA9F,cAAA,GAAAA,cAAA"}
|
|
@@ -81,7 +81,7 @@ const Login = () => {
|
|
|
81
81
|
}, /*#__PURE__*/_react.default.createElement(Tab.Screen, {
|
|
82
82
|
options: {
|
|
83
83
|
tabBarLabel: TabBarTitle({
|
|
84
|
-
title: t('
|
|
84
|
+
title: t('commons.phoneNumber')
|
|
85
85
|
})
|
|
86
86
|
},
|
|
87
87
|
name: "LoginWithPhoneNumber",
|
|
@@ -89,7 +89,7 @@ const Login = () => {
|
|
|
89
89
|
}), /*#__PURE__*/_react.default.createElement(Tab.Screen, {
|
|
90
90
|
options: {
|
|
91
91
|
tabBarLabel: TabBarTitle({
|
|
92
|
-
title: t('
|
|
92
|
+
title: t('commons.email')
|
|
93
93
|
})
|
|
94
94
|
},
|
|
95
95
|
name: "LoginWithEmail",
|