@oxyhq/services 5.11.9 → 5.11.11
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/ui/components/AnimationExample.js +213 -0
- package/lib/commonjs/ui/components/AnimationExample.js.map +1 -0
- package/lib/commonjs/ui/components/FollowButton.js +58 -47
- package/lib/commonjs/ui/components/FollowButton.js.map +1 -1
- package/lib/commonjs/ui/components/GroupedItem.js +2 -1
- package/lib/commonjs/ui/components/GroupedItem.js.map +1 -1
- package/lib/commonjs/ui/components/GroupedSection.js +3 -0
- package/lib/commonjs/ui/components/GroupedSection.js.map +1 -1
- package/lib/commonjs/ui/components/Header.js +26 -12
- package/lib/commonjs/ui/components/Header.js.map +1 -1
- package/lib/commonjs/ui/components/OxyProvider.js +69 -33
- package/lib/commonjs/ui/components/OxyProvider.js.map +1 -1
- package/lib/commonjs/ui/components/ProfileCard.js +5 -1
- package/lib/commonjs/ui/components/ProfileCard.js.map +1 -1
- package/lib/commonjs/ui/components/StepBasedScreen.README.md +337 -0
- package/lib/commonjs/ui/components/StepBasedScreen.js +361 -0
- package/lib/commonjs/ui/components/StepBasedScreen.js.map +1 -0
- package/lib/commonjs/ui/components/icon/OxyIcon.js +3 -3
- package/lib/commonjs/ui/components/icon/OxyIcon.js.map +1 -1
- package/lib/commonjs/ui/components/index.js +0 -7
- package/lib/commonjs/ui/components/index.js.map +1 -1
- package/lib/commonjs/ui/components/internal/PinInput.js +1 -1
- package/lib/commonjs/ui/components/internal/PinInput.js.map +1 -1
- package/lib/commonjs/ui/components/internal/TextField.js +8 -4
- package/lib/commonjs/ui/components/internal/TextField.js.map +1 -1
- package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js +161 -0
- package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -0
- package/lib/commonjs/ui/context/OxyContext.js +103 -44
- package/lib/commonjs/ui/context/OxyContext.js.map +1 -1
- package/lib/commonjs/ui/hooks/useFollow.types.js +2 -0
- package/lib/commonjs/ui/hooks/useFollow.types.js.map +1 -0
- package/lib/commonjs/ui/navigation/OxyRouter.js +10 -0
- package/lib/commonjs/ui/navigation/OxyRouter.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountCenterScreen.js +26 -14
- package/lib/commonjs/ui/screens/AccountCenterScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js +3 -3
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js +64 -15
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountSwitcherScreen.js +4 -4
- package/lib/commonjs/ui/screens/AccountSwitcherScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FeedbackScreen.js +72 -75
- package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FileManagementScreen.js +286 -126
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +322 -0
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/ProfileScreen.js +56 -56
- package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/RecoverAccountScreen.js +87 -219
- package/lib/commonjs/ui/screens/RecoverAccountScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SessionManagementScreen.js +176 -174
- package/lib/commonjs/ui/screens/SessionManagementScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SignInScreen.js +138 -244
- package/lib/commonjs/ui/screens/SignInScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SignUpScreen.js +143 -744
- package/lib/commonjs/ui/screens/SignUpScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +386 -0
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/internal/SignInPasswordStep.js +25 -15
- package/lib/commonjs/ui/screens/internal/SignInPasswordStep.js.map +1 -1
- package/lib/commonjs/ui/screens/internal/SignInUsernameStep.js +16 -9
- package/lib/commonjs/ui/screens/internal/SignInUsernameStep.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/steps/RecoverRequestStep.js +110 -0
- package/lib/commonjs/ui/screens/steps/RecoverRequestStep.js.map +1 -0
- package/lib/commonjs/ui/screens/steps/RecoverSuccessStep.js +138 -0
- package/lib/commonjs/ui/screens/steps/RecoverSuccessStep.js.map +1 -0
- package/lib/commonjs/ui/screens/steps/RecoverVerifyStep.js +141 -0
- package/lib/commonjs/ui/screens/steps/RecoverVerifyStep.js.map +1 -0
- package/lib/commonjs/ui/screens/steps/SignInPasswordStep.js +165 -0
- package/lib/commonjs/ui/screens/steps/SignInPasswordStep.js.map +1 -0
- package/lib/commonjs/ui/screens/steps/SignInUsernameStep.js +150 -0
- package/lib/commonjs/ui/screens/steps/SignInUsernameStep.js.map +1 -0
- package/lib/commonjs/ui/screens/steps/SignUpIdentityStep.js +171 -0
- package/lib/commonjs/ui/screens/steps/SignUpIdentityStep.js.map +1 -0
- package/lib/commonjs/ui/screens/steps/SignUpSecurityStep.js +163 -0
- package/lib/commonjs/ui/screens/steps/SignUpSecurityStep.js.map +1 -0
- package/lib/commonjs/ui/screens/steps/SignUpSummaryStep.js +170 -0
- package/lib/commonjs/ui/screens/steps/SignUpSummaryStep.js.map +1 -0
- package/lib/commonjs/ui/screens/steps/SignUpWelcomeStep.js +72 -0
- package/lib/commonjs/ui/screens/steps/SignUpWelcomeStep.js.map +1 -0
- package/lib/commonjs/ui/styles/authStyles.js +1 -1
- package/lib/commonjs/ui/styles/authStyles.js.map +1 -1
- package/lib/module/ui/components/AnimationExample.js +209 -0
- package/lib/module/ui/components/AnimationExample.js.map +1 -0
- package/lib/module/ui/components/FollowButton.js +58 -47
- package/lib/module/ui/components/FollowButton.js.map +1 -1
- package/lib/module/ui/components/GroupedItem.js +2 -1
- package/lib/module/ui/components/GroupedItem.js.map +1 -1
- package/lib/module/ui/components/GroupedSection.js +3 -0
- package/lib/module/ui/components/GroupedSection.js.map +1 -1
- package/lib/module/ui/components/Header.js +26 -12
- package/lib/module/ui/components/Header.js.map +1 -1
- package/lib/module/ui/components/OxyProvider.js +70 -34
- package/lib/module/ui/components/OxyProvider.js.map +1 -1
- package/lib/module/ui/components/ProfileCard.js +5 -1
- package/lib/module/ui/components/ProfileCard.js.map +1 -1
- package/lib/module/ui/components/Section.js.map +1 -1
- package/lib/module/ui/components/SectionTitle.js.map +1 -1
- package/lib/module/ui/components/StepBasedScreen.README.md +337 -0
- package/lib/module/ui/components/StepBasedScreen.js +356 -0
- package/lib/module/ui/components/StepBasedScreen.js.map +1 -0
- package/lib/module/ui/components/icon/FAIRWalletIcon.js.map +1 -1
- package/lib/module/ui/components/icon/OxyIcon.js +3 -3
- package/lib/module/ui/components/icon/OxyIcon.js.map +1 -1
- package/lib/module/ui/components/index.js +0 -1
- package/lib/module/ui/components/index.js.map +1 -1
- package/lib/module/ui/components/internal/PinInput.js +1 -1
- package/lib/module/ui/components/internal/PinInput.js.map +1 -1
- package/lib/module/ui/components/internal/TextField.js +8 -4
- package/lib/module/ui/components/internal/TextField.js.map +1 -1
- package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js +156 -0
- package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -0
- package/lib/module/ui/context/OxyContext.js +103 -45
- package/lib/module/ui/context/OxyContext.js.map +1 -1
- package/lib/module/ui/hooks/useFollow.types.js +2 -0
- package/lib/module/ui/hooks/useFollow.types.js.map +1 -0
- package/lib/module/ui/navigation/OxyRouter.js +10 -0
- package/lib/module/ui/navigation/OxyRouter.js.map +1 -1
- package/lib/module/ui/screens/AccountCenterScreen.js +12 -1
- package/lib/module/ui/screens/AccountCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountOverviewScreen.js +3 -3
- package/lib/module/ui/screens/AccountOverviewScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountSettingsScreen.js +64 -15
- package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountSwitcherScreen.js +4 -4
- package/lib/module/ui/screens/AccountSwitcherScreen.js.map +1 -1
- package/lib/module/ui/screens/FeedbackScreen.js +72 -75
- package/lib/module/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/module/ui/screens/FileManagementScreen.js +285 -125
- package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/LanguageSelectorScreen.js +319 -0
- package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -0
- package/lib/module/ui/screens/ProfileScreen.js +56 -56
- package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/RecoverAccountScreen.js +91 -222
- package/lib/module/ui/screens/RecoverAccountScreen.js.map +1 -1
- package/lib/module/ui/screens/SessionManagementScreen.js +177 -175
- package/lib/module/ui/screens/SessionManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/SignInScreen.js +140 -246
- package/lib/module/ui/screens/SignInScreen.js.map +1 -1
- package/lib/module/ui/screens/SignUpScreen.js +145 -745
- package/lib/module/ui/screens/SignUpScreen.js.map +1 -1
- package/lib/module/ui/screens/WelcomeNewUserScreen.js +382 -0
- package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -0
- package/lib/module/ui/screens/internal/SignInPasswordStep.js +23 -14
- package/lib/module/ui/screens/internal/SignInPasswordStep.js.map +1 -1
- package/lib/module/ui/screens/internal/SignInUsernameStep.js +15 -9
- package/lib/module/ui/screens/internal/SignInUsernameStep.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaCenterScreen.js +1 -1
- package/lib/module/ui/screens/karma/KarmaCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/steps/RecoverRequestStep.js +105 -0
- package/lib/module/ui/screens/steps/RecoverRequestStep.js.map +1 -0
- package/lib/module/ui/screens/steps/RecoverSuccessStep.js +133 -0
- package/lib/module/ui/screens/steps/RecoverSuccessStep.js.map +1 -0
- package/lib/module/ui/screens/steps/RecoverVerifyStep.js +136 -0
- package/lib/module/ui/screens/steps/RecoverVerifyStep.js.map +1 -0
- package/lib/module/ui/screens/steps/SignInPasswordStep.js +160 -0
- package/lib/module/ui/screens/steps/SignInPasswordStep.js.map +1 -0
- package/lib/module/ui/screens/steps/SignInUsernameStep.js +145 -0
- package/lib/module/ui/screens/steps/SignInUsernameStep.js.map +1 -0
- package/lib/module/ui/screens/steps/SignUpIdentityStep.js +166 -0
- package/lib/module/ui/screens/steps/SignUpIdentityStep.js.map +1 -0
- package/lib/module/ui/screens/steps/SignUpSecurityStep.js +158 -0
- package/lib/module/ui/screens/steps/SignUpSecurityStep.js.map +1 -0
- package/lib/module/ui/screens/steps/SignUpSummaryStep.js +165 -0
- package/lib/module/ui/screens/steps/SignUpSummaryStep.js.map +1 -0
- package/lib/module/ui/screens/steps/SignUpWelcomeStep.js +67 -0
- package/lib/module/ui/screens/steps/SignUpWelcomeStep.js.map +1 -0
- package/lib/module/ui/styles/authStyles.js +1 -1
- package/lib/module/ui/styles/authStyles.js.map +1 -1
- package/lib/typescript/models/interfaces.d.ts +5 -8
- package/lib/typescript/models/interfaces.d.ts.map +1 -1
- package/lib/typescript/models/session.d.ts +1 -4
- package/lib/typescript/models/session.d.ts.map +1 -1
- package/lib/typescript/ui/components/AnimationExample.d.ts +4 -0
- package/lib/typescript/ui/components/AnimationExample.d.ts.map +1 -0
- package/lib/typescript/ui/components/FollowButton.d.ts.map +1 -1
- package/lib/typescript/ui/components/GroupedItem.d.ts.map +1 -1
- package/lib/typescript/ui/components/Header.d.ts +9 -0
- package/lib/typescript/ui/components/Header.d.ts.map +1 -1
- package/lib/typescript/ui/components/OxyPayButton.d.ts +2 -2
- package/lib/typescript/ui/components/OxyPayButton.d.ts.map +1 -1
- package/lib/typescript/ui/components/OxyProvider.d.ts.map +1 -1
- package/lib/typescript/ui/components/ProfileCard.d.ts +1 -3
- package/lib/typescript/ui/components/ProfileCard.d.ts.map +1 -1
- package/lib/typescript/ui/components/Section.d.ts +2 -1
- package/lib/typescript/ui/components/Section.d.ts.map +1 -1
- package/lib/typescript/ui/components/SectionTitle.d.ts +2 -1
- package/lib/typescript/ui/components/SectionTitle.d.ts.map +1 -1
- package/lib/typescript/ui/components/StepBasedScreen.d.ts +24 -0
- package/lib/typescript/ui/components/StepBasedScreen.d.ts.map +1 -0
- package/lib/typescript/ui/components/icon/FAIRWalletIcon.d.ts +2 -1
- package/lib/typescript/ui/components/icon/FAIRWalletIcon.d.ts.map +1 -1
- package/lib/typescript/ui/components/icon/OxyIcon.d.ts +1 -1
- package/lib/typescript/ui/components/icon/OxyIcon.d.ts.map +1 -1
- package/lib/typescript/ui/components/index.d.ts +0 -1
- package/lib/typescript/ui/components/index.d.ts.map +1 -1
- package/lib/typescript/ui/components/internal/PinInput.d.ts +9 -1
- package/lib/typescript/ui/components/internal/PinInput.d.ts.map +1 -1
- package/lib/typescript/ui/components/internal/TextField.d.ts.map +1 -1
- package/lib/typescript/ui/components/photogrid/JustifiedPhotoGrid.d.ts +27 -0
- package/lib/typescript/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +1 -0
- package/lib/typescript/ui/context/OxyContext.d.ts +8 -3
- package/lib/typescript/ui/context/OxyContext.d.ts.map +1 -1
- package/lib/typescript/ui/hooks/useFollow.types.d.ts +33 -0
- package/lib/typescript/ui/hooks/useFollow.types.d.ts.map +1 -0
- package/lib/typescript/ui/navigation/OxyRouter.d.ts.map +1 -1
- package/lib/typescript/ui/navigation/types.d.ts +5 -0
- package/lib/typescript/ui/navigation/types.d.ts.map +1 -1
- package/lib/typescript/ui/screens/AccountCenterScreen.d.ts.map +1 -1
- package/lib/typescript/ui/screens/AccountSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/ui/screens/FeedbackScreen.d.ts.map +1 -1
- package/lib/typescript/ui/screens/FileManagementScreen.d.ts +18 -1
- package/lib/typescript/ui/screens/FileManagementScreen.d.ts.map +1 -1
- package/lib/typescript/ui/screens/LanguageSelectorScreen.d.ts +7 -0
- package/lib/typescript/ui/screens/LanguageSelectorScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/PaymentGatewayScreen.d.ts +2 -2
- package/lib/typescript/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
- package/lib/typescript/ui/screens/ProfileScreen.d.ts.map +1 -1
- package/lib/typescript/ui/screens/RecoverAccountScreen.d.ts +2 -9
- package/lib/typescript/ui/screens/RecoverAccountScreen.d.ts.map +1 -1
- package/lib/typescript/ui/screens/SessionManagementScreen.d.ts.map +1 -1
- package/lib/typescript/ui/screens/SignInScreen.d.ts.map +1 -1
- package/lib/typescript/ui/screens/SignUpScreen.d.ts +1 -1
- package/lib/typescript/ui/screens/SignUpScreen.d.ts.map +1 -1
- package/lib/typescript/ui/screens/WelcomeNewUserScreen.d.ts +13 -0
- package/lib/typescript/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/internal/SignInPasswordStep.d.ts +5 -5
- package/lib/typescript/ui/screens/internal/SignInPasswordStep.d.ts.map +1 -1
- package/lib/typescript/ui/screens/internal/SignInUsernameStep.d.ts +4 -4
- package/lib/typescript/ui/screens/internal/SignInUsernameStep.d.ts.map +1 -1
- package/lib/typescript/ui/screens/steps/RecoverRequestStep.d.ts +21 -0
- package/lib/typescript/ui/screens/steps/RecoverRequestStep.d.ts.map +1 -0
- package/lib/typescript/ui/screens/steps/RecoverSuccessStep.d.ts +18 -0
- package/lib/typescript/ui/screens/steps/RecoverSuccessStep.d.ts.map +1 -0
- package/lib/typescript/ui/screens/steps/RecoverVerifyStep.d.ts +24 -0
- package/lib/typescript/ui/screens/steps/RecoverVerifyStep.d.ts.map +1 -0
- package/lib/typescript/ui/screens/steps/SignInPasswordStep.d.ts +27 -0
- package/lib/typescript/ui/screens/steps/SignInPasswordStep.d.ts.map +1 -0
- package/lib/typescript/ui/screens/steps/SignInUsernameStep.d.ts +27 -0
- package/lib/typescript/ui/screens/steps/SignInUsernameStep.d.ts.map +1 -0
- package/lib/typescript/ui/screens/steps/SignUpIdentityStep.d.ts +25 -0
- package/lib/typescript/ui/screens/steps/SignUpIdentityStep.d.ts.map +1 -0
- package/lib/typescript/ui/screens/steps/SignUpSecurityStep.d.ts +26 -0
- package/lib/typescript/ui/screens/steps/SignUpSecurityStep.d.ts.map +1 -0
- package/lib/typescript/ui/screens/steps/SignUpSummaryStep.d.ts +16 -0
- package/lib/typescript/ui/screens/steps/SignUpSummaryStep.d.ts.map +1 -0
- package/lib/typescript/ui/screens/steps/SignUpWelcomeStep.d.ts +13 -0
- package/lib/typescript/ui/screens/steps/SignUpWelcomeStep.d.ts.map +1 -0
- package/lib/typescript/ui/styles/authStyles.d.ts +1 -1
- package/package.json +10 -3
- package/src/models/interfaces.ts +7 -8
- package/src/models/session.ts +1 -4
- package/src/ui/components/AnimationExample.tsx +195 -0
- package/src/ui/components/FollowButton.tsx +65 -45
- package/src/ui/components/GroupedItem.tsx +1 -0
- package/src/ui/components/GroupedSection.tsx +1 -1
- package/src/ui/components/Header.tsx +37 -13
- package/src/ui/components/OxyPayButton.tsx +2 -2
- package/src/ui/components/OxyProvider.tsx +67 -33
- package/src/ui/components/ProfileCard.tsx +6 -8
- package/src/ui/components/Section.tsx +7 -7
- package/src/ui/components/SectionTitle.tsx +2 -2
- package/src/ui/components/StepBasedScreen.README.md +337 -0
- package/src/ui/components/StepBasedScreen.tsx +417 -0
- package/src/ui/components/icon/FAIRWalletIcon.tsx +2 -2
- package/src/ui/components/icon/OxyIcon.tsx +10 -11
- package/src/ui/components/index.ts +0 -1
- package/src/ui/components/internal/PinInput.tsx +13 -4
- package/src/ui/components/internal/TextField.tsx +12 -6
- package/src/ui/components/photogrid/JustifiedPhotoGrid.tsx +158 -0
- package/src/ui/context/OxyContext.tsx +90 -59
- package/src/ui/hooks/useFollow.types.ts +33 -0
- package/src/ui/navigation/OxyRouter.tsx +10 -0
- package/src/ui/navigation/types.ts +6 -0
- package/src/ui/screens/AccountCenterScreen.tsx +13 -7
- package/src/ui/screens/AccountOverviewScreen.tsx +3 -3
- package/src/ui/screens/AccountSettingsScreen.tsx +65 -13
- package/src/ui/screens/AccountSwitcherScreen.tsx +4 -4
- package/src/ui/screens/FeedbackScreen.tsx +57 -80
- package/src/ui/screens/FileManagementScreen.tsx +278 -175
- package/src/ui/screens/LanguageSelectorScreen.tsx +322 -0
- package/src/ui/screens/PaymentGatewayScreen.tsx +2 -2
- package/src/ui/screens/ProfileScreen.tsx +60 -55
- package/src/ui/screens/RecoverAccountScreen.tsx +98 -211
- package/src/ui/screens/SessionManagementScreen.tsx +148 -151
- package/src/ui/screens/SignInScreen.tsx +148 -290
- package/src/ui/screens/SignUpScreen.tsx +147 -751
- package/src/ui/screens/WelcomeNewUserScreen.tsx +272 -0
- package/src/ui/screens/internal/SignInPasswordStep.tsx +28 -13
- package/src/ui/screens/internal/SignInUsernameStep.tsx +21 -11
- package/src/ui/screens/karma/KarmaCenterScreen.tsx +1 -1
- package/src/ui/screens/steps/RecoverRequestStep.tsx +130 -0
- package/src/ui/screens/steps/RecoverSuccessStep.tsx +131 -0
- package/src/ui/screens/steps/RecoverVerifyStep.tsx +153 -0
- package/src/ui/screens/steps/SignInPasswordStep.tsx +172 -0
- package/src/ui/screens/steps/SignInUsernameStep.tsx +176 -0
- package/src/ui/screens/steps/SignUpIdentityStep.tsx +204 -0
- package/src/ui/screens/steps/SignUpSecurityStep.tsx +191 -0
- package/src/ui/screens/steps/SignUpSummaryStep.tsx +130 -0
- package/src/ui/screens/steps/SignUpWelcomeStep.tsx +65 -0
- package/src/ui/styles/authStyles.ts +1 -1
|
@@ -0,0 +1,319 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useState } from 'react';
|
|
4
|
+
import { View, Text, StyleSheet, ScrollView } from 'react-native';
|
|
5
|
+
import { useOxy } from '../context/OxyContext';
|
|
6
|
+
import { useThemeColors } from '../styles';
|
|
7
|
+
import { Ionicons } from '@expo/vector-icons';
|
|
8
|
+
import { toast } from '../../lib/sonner';
|
|
9
|
+
import { Header, GroupedSection } from '../components';
|
|
10
|
+
|
|
11
|
+
// Supported languages with their metadata
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
13
|
+
const SUPPORTED_LANGUAGES = [{
|
|
14
|
+
id: 'en',
|
|
15
|
+
name: 'English',
|
|
16
|
+
nativeName: 'English',
|
|
17
|
+
flag: '🇺🇸',
|
|
18
|
+
icon: 'language-outline',
|
|
19
|
+
color: '#007AFF'
|
|
20
|
+
}, {
|
|
21
|
+
id: 'es',
|
|
22
|
+
name: 'Spanish',
|
|
23
|
+
nativeName: 'Español',
|
|
24
|
+
flag: '🇪🇸',
|
|
25
|
+
icon: 'language-outline',
|
|
26
|
+
color: '#FF3B30'
|
|
27
|
+
}, {
|
|
28
|
+
id: 'fr',
|
|
29
|
+
name: 'French',
|
|
30
|
+
nativeName: 'Français',
|
|
31
|
+
flag: '🇫🇷',
|
|
32
|
+
icon: 'language-outline',
|
|
33
|
+
color: '#5856D6'
|
|
34
|
+
}, {
|
|
35
|
+
id: 'de',
|
|
36
|
+
name: 'German',
|
|
37
|
+
nativeName: 'Deutsch',
|
|
38
|
+
flag: '🇩🇪',
|
|
39
|
+
icon: 'language-outline',
|
|
40
|
+
color: '#FF9500'
|
|
41
|
+
}, {
|
|
42
|
+
id: 'it',
|
|
43
|
+
name: 'Italian',
|
|
44
|
+
nativeName: 'Italiano',
|
|
45
|
+
flag: '🇮🇹',
|
|
46
|
+
icon: 'language-outline',
|
|
47
|
+
color: '#34C759'
|
|
48
|
+
}, {
|
|
49
|
+
id: 'pt',
|
|
50
|
+
name: 'Portuguese',
|
|
51
|
+
nativeName: 'Português',
|
|
52
|
+
flag: '🇵🇹',
|
|
53
|
+
icon: 'language-outline',
|
|
54
|
+
color: '#AF52DE'
|
|
55
|
+
}, {
|
|
56
|
+
id: 'ja',
|
|
57
|
+
name: 'Japanese',
|
|
58
|
+
nativeName: '日本語',
|
|
59
|
+
flag: '🇯🇵',
|
|
60
|
+
icon: 'language-outline',
|
|
61
|
+
color: '#FF2D92'
|
|
62
|
+
}, {
|
|
63
|
+
id: 'ko',
|
|
64
|
+
name: 'Korean',
|
|
65
|
+
nativeName: '한국어',
|
|
66
|
+
flag: '🇰🇷',
|
|
67
|
+
icon: 'language-outline',
|
|
68
|
+
color: '#32D74B'
|
|
69
|
+
}, {
|
|
70
|
+
id: 'zh',
|
|
71
|
+
name: 'Chinese',
|
|
72
|
+
nativeName: '中文',
|
|
73
|
+
flag: '🇨🇳',
|
|
74
|
+
icon: 'language-outline',
|
|
75
|
+
color: '#FF9F0A'
|
|
76
|
+
}, {
|
|
77
|
+
id: 'ar',
|
|
78
|
+
name: 'Arabic',
|
|
79
|
+
nativeName: 'العربية',
|
|
80
|
+
flag: '🇸🇦',
|
|
81
|
+
icon: 'language-outline',
|
|
82
|
+
color: '#30B0C7'
|
|
83
|
+
}];
|
|
84
|
+
const LanguageSelectorScreen = ({
|
|
85
|
+
goBack,
|
|
86
|
+
theme,
|
|
87
|
+
navigate
|
|
88
|
+
}) => {
|
|
89
|
+
const {
|
|
90
|
+
user,
|
|
91
|
+
currentLanguage,
|
|
92
|
+
setLanguage
|
|
93
|
+
} = useOxy();
|
|
94
|
+
const colors = useThemeColors(theme);
|
|
95
|
+
const [isLoading, setIsLoading] = useState(false);
|
|
96
|
+
const handleLanguageSelect = async languageId => {
|
|
97
|
+
if (languageId === currentLanguage) {
|
|
98
|
+
return; // Already selected
|
|
99
|
+
}
|
|
100
|
+
setIsLoading(true);
|
|
101
|
+
try {
|
|
102
|
+
// Use OxyContext to set language (this handles storage and app-wide updates)
|
|
103
|
+
await setLanguage(languageId);
|
|
104
|
+
const selectedLang = SUPPORTED_LANGUAGES.find(lang => lang.id === languageId);
|
|
105
|
+
toast.success(`Language changed to ${selectedLang?.name || languageId}`);
|
|
106
|
+
setIsLoading(false);
|
|
107
|
+
goBack();
|
|
108
|
+
} catch (error) {
|
|
109
|
+
console.error('Error saving language preference:', error);
|
|
110
|
+
toast.error('Failed to save language preference');
|
|
111
|
+
setIsLoading(false);
|
|
112
|
+
}
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
// Create grouped items for the language list
|
|
116
|
+
const languageItems = SUPPORTED_LANGUAGES.map(language => ({
|
|
117
|
+
id: language.id,
|
|
118
|
+
title: language.name,
|
|
119
|
+
subtitle: language.nativeName,
|
|
120
|
+
icon: language.icon,
|
|
121
|
+
iconColor: language.color,
|
|
122
|
+
selected: currentLanguage === language.id,
|
|
123
|
+
onPress: () => handleLanguageSelect(language.id),
|
|
124
|
+
customContent: /*#__PURE__*/_jsx(View, {
|
|
125
|
+
style: styles.languageFlag,
|
|
126
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
127
|
+
style: styles.flagEmoji,
|
|
128
|
+
children: language.flag
|
|
129
|
+
})
|
|
130
|
+
})
|
|
131
|
+
}));
|
|
132
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
133
|
+
style: [styles.container, {
|
|
134
|
+
backgroundColor: colors.background
|
|
135
|
+
}],
|
|
136
|
+
children: [/*#__PURE__*/_jsx(Header, {
|
|
137
|
+
title: "Language",
|
|
138
|
+
subtitle: "Choose your preferred language",
|
|
139
|
+
theme: theme,
|
|
140
|
+
onBack: goBack,
|
|
141
|
+
elevation: "subtle"
|
|
142
|
+
}), /*#__PURE__*/_jsxs(ScrollView, {
|
|
143
|
+
style: styles.content,
|
|
144
|
+
showsVerticalScrollIndicator: false,
|
|
145
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
146
|
+
style: styles.section,
|
|
147
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
148
|
+
style: [styles.sectionTitle, {
|
|
149
|
+
color: colors.secondaryText
|
|
150
|
+
}],
|
|
151
|
+
children: "Available Languages"
|
|
152
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
153
|
+
style: [styles.sectionDescription, {
|
|
154
|
+
color: colors.secondaryText
|
|
155
|
+
}],
|
|
156
|
+
children: "Select your preferred language. Changes will be applied across the entire application."
|
|
157
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
158
|
+
style: styles.languageList,
|
|
159
|
+
children: /*#__PURE__*/_jsx(GroupedSection, {
|
|
160
|
+
items: languageItems,
|
|
161
|
+
theme: theme
|
|
162
|
+
})
|
|
163
|
+
})]
|
|
164
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
165
|
+
style: styles.infoSection,
|
|
166
|
+
children: /*#__PURE__*/_jsxs(View, {
|
|
167
|
+
style: [styles.infoCard, {
|
|
168
|
+
backgroundColor: colors.inputBackground,
|
|
169
|
+
borderColor: colors.border
|
|
170
|
+
}],
|
|
171
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
172
|
+
style: styles.infoHeader,
|
|
173
|
+
children: [/*#__PURE__*/_jsx(Ionicons, {
|
|
174
|
+
name: "information-circle",
|
|
175
|
+
size: 20,
|
|
176
|
+
color: colors.primary
|
|
177
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
178
|
+
style: [styles.infoTitle, {
|
|
179
|
+
color: colors.text
|
|
180
|
+
}],
|
|
181
|
+
children: "Language Settings"
|
|
182
|
+
})]
|
|
183
|
+
}), /*#__PURE__*/_jsxs(Text, {
|
|
184
|
+
style: [styles.infoText, {
|
|
185
|
+
color: colors.secondaryText
|
|
186
|
+
}],
|
|
187
|
+
children: ["\u2022 Language changes apply immediately", '\n', "\u2022 Your preference is saved automatically", '\n', "\u2022 All text and interface elements will update", '\n', "\u2022 You can change this setting anytime"]
|
|
188
|
+
})]
|
|
189
|
+
})
|
|
190
|
+
}), currentLanguage && /*#__PURE__*/_jsxs(View, {
|
|
191
|
+
style: styles.currentSection,
|
|
192
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
193
|
+
style: [styles.currentLabel, {
|
|
194
|
+
color: colors.secondaryText
|
|
195
|
+
}],
|
|
196
|
+
children: "Current Language"
|
|
197
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
198
|
+
style: [styles.currentLanguage, {
|
|
199
|
+
backgroundColor: colors.inputBackground,
|
|
200
|
+
borderColor: colors.primary
|
|
201
|
+
}],
|
|
202
|
+
children: (() => {
|
|
203
|
+
const current = SUPPORTED_LANGUAGES.find(lang => lang.id === currentLanguage);
|
|
204
|
+
return current ? /*#__PURE__*/_jsxs(_Fragment, {
|
|
205
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
206
|
+
style: styles.currentFlag,
|
|
207
|
+
children: current.flag
|
|
208
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
209
|
+
style: styles.currentInfo,
|
|
210
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
211
|
+
style: [styles.currentName, {
|
|
212
|
+
color: colors.text
|
|
213
|
+
}],
|
|
214
|
+
children: current.name
|
|
215
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
216
|
+
style: [styles.currentNative, {
|
|
217
|
+
color: colors.secondaryText
|
|
218
|
+
}],
|
|
219
|
+
children: current.nativeName
|
|
220
|
+
})]
|
|
221
|
+
}), /*#__PURE__*/_jsx(Ionicons, {
|
|
222
|
+
name: "checkmark-circle",
|
|
223
|
+
size: 20,
|
|
224
|
+
color: colors.primary
|
|
225
|
+
})]
|
|
226
|
+
}) : null;
|
|
227
|
+
})()
|
|
228
|
+
})]
|
|
229
|
+
})]
|
|
230
|
+
})]
|
|
231
|
+
});
|
|
232
|
+
};
|
|
233
|
+
const styles = StyleSheet.create({
|
|
234
|
+
container: {
|
|
235
|
+
flex: 1
|
|
236
|
+
},
|
|
237
|
+
content: {
|
|
238
|
+
flex: 1,
|
|
239
|
+
padding: 16
|
|
240
|
+
},
|
|
241
|
+
section: {
|
|
242
|
+
marginBottom: 24
|
|
243
|
+
},
|
|
244
|
+
sectionTitle: {
|
|
245
|
+
fontSize: 16,
|
|
246
|
+
fontWeight: '600',
|
|
247
|
+
marginBottom: 4
|
|
248
|
+
},
|
|
249
|
+
sectionDescription: {
|
|
250
|
+
fontSize: 14,
|
|
251
|
+
lineHeight: 20,
|
|
252
|
+
marginBottom: 16
|
|
253
|
+
},
|
|
254
|
+
languageList: {
|
|
255
|
+
marginTop: 8
|
|
256
|
+
},
|
|
257
|
+
languageFlag: {
|
|
258
|
+
alignItems: 'center',
|
|
259
|
+
justifyContent: 'center',
|
|
260
|
+
marginRight: 8
|
|
261
|
+
},
|
|
262
|
+
flagEmoji: {
|
|
263
|
+
fontSize: 24
|
|
264
|
+
},
|
|
265
|
+
infoSection: {
|
|
266
|
+
marginBottom: 24
|
|
267
|
+
},
|
|
268
|
+
infoCard: {
|
|
269
|
+
padding: 16,
|
|
270
|
+
borderRadius: 12,
|
|
271
|
+
borderWidth: 1
|
|
272
|
+
},
|
|
273
|
+
infoHeader: {
|
|
274
|
+
flexDirection: 'row',
|
|
275
|
+
alignItems: 'center',
|
|
276
|
+
marginBottom: 8
|
|
277
|
+
},
|
|
278
|
+
infoTitle: {
|
|
279
|
+
fontSize: 16,
|
|
280
|
+
fontWeight: '600',
|
|
281
|
+
marginLeft: 8
|
|
282
|
+
},
|
|
283
|
+
infoText: {
|
|
284
|
+
fontSize: 14,
|
|
285
|
+
lineHeight: 20
|
|
286
|
+
},
|
|
287
|
+
currentSection: {
|
|
288
|
+
marginBottom: 24
|
|
289
|
+
},
|
|
290
|
+
currentLabel: {
|
|
291
|
+
fontSize: 14,
|
|
292
|
+
fontWeight: '500',
|
|
293
|
+
marginBottom: 8
|
|
294
|
+
},
|
|
295
|
+
currentLanguage: {
|
|
296
|
+
flexDirection: 'row',
|
|
297
|
+
alignItems: 'center',
|
|
298
|
+
padding: 16,
|
|
299
|
+
borderRadius: 12,
|
|
300
|
+
borderWidth: 2
|
|
301
|
+
},
|
|
302
|
+
currentFlag: {
|
|
303
|
+
fontSize: 24,
|
|
304
|
+
marginRight: 12
|
|
305
|
+
},
|
|
306
|
+
currentInfo: {
|
|
307
|
+
flex: 1
|
|
308
|
+
},
|
|
309
|
+
currentName: {
|
|
310
|
+
fontSize: 16,
|
|
311
|
+
fontWeight: '600'
|
|
312
|
+
},
|
|
313
|
+
currentNative: {
|
|
314
|
+
fontSize: 14,
|
|
315
|
+
marginTop: 2
|
|
316
|
+
}
|
|
317
|
+
});
|
|
318
|
+
export default LanguageSelectorScreen;
|
|
319
|
+
//# sourceMappingURL=LanguageSelectorScreen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useState","View","Text","StyleSheet","ScrollView","useOxy","useThemeColors","Ionicons","toast","Header","GroupedSection","jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","SUPPORTED_LANGUAGES","id","name","nativeName","flag","icon","color","LanguageSelectorScreen","goBack","theme","navigate","user","currentLanguage","setLanguage","colors","isLoading","setIsLoading","handleLanguageSelect","languageId","selectedLang","find","lang","success","error","console","languageItems","map","language","title","subtitle","iconColor","selected","onPress","customContent","style","styles","languageFlag","children","flagEmoji","container","backgroundColor","background","onBack","elevation","content","showsVerticalScrollIndicator","section","sectionTitle","secondaryText","sectionDescription","languageList","items","infoSection","infoCard","inputBackground","borderColor","border","infoHeader","size","primary","infoTitle","text","infoText","currentSection","currentLabel","current","currentFlag","currentInfo","currentName","currentNative","create","flex","padding","marginBottom","fontSize","fontWeight","lineHeight","marginTop","alignItems","justifyContent","marginRight","borderRadius","borderWidth","flexDirection","marginLeft"],"sourceRoot":"../../../../src","sources":["ui/screens/LanguageSelectorScreen.tsx"],"mappings":";;AACA,SAASA,QAAQ,QAAQ,OAAO;AAChC,SACIC,IAAI,EACJC,IAAI,EAEJC,UAAU,EACVC,UAAU,QAEP,cAAc;AAErB,SAASC,MAAM,QAAQ,uBAAuB;AAC9C,SAASC,cAAc,QAA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