@oxyhq/services 6.9.4 → 6.9.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (299) hide show
  1. package/lib/commonjs/ui/client.js +0 -7
  2. package/lib/commonjs/ui/client.js.map +1 -1
  3. package/lib/commonjs/ui/components/BottomSheet.js +5 -3
  4. package/lib/commonjs/ui/components/BottomSheet.js.map +1 -1
  5. package/lib/commonjs/ui/components/FontLoader.js +1 -1
  6. package/lib/commonjs/ui/components/FontLoader.js.map +1 -1
  7. package/lib/commonjs/ui/components/Header.js.map +1 -1
  8. package/lib/commonjs/ui/components/HelperText.js +1 -1
  9. package/lib/commonjs/ui/components/HelperText.js.map +1 -1
  10. package/lib/commonjs/ui/components/Icon.js +6 -2
  11. package/lib/commonjs/ui/components/Icon.js.map +1 -1
  12. package/lib/commonjs/ui/components/OxyProvider.js +9 -1
  13. package/lib/commonjs/ui/components/OxyProvider.js.map +1 -1
  14. package/lib/commonjs/ui/components/QuickActions.js.map +1 -1
  15. package/lib/commonjs/ui/components/SignInModal.js +5 -4
  16. package/lib/commonjs/ui/components/SignInModal.js.map +1 -1
  17. package/lib/commonjs/ui/components/TouchableRipple/Pressable.js.map +1 -1
  18. package/lib/commonjs/ui/components/feedback/FormInput.js.map +1 -1
  19. package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js.map +1 -1
  20. package/lib/commonjs/ui/components/icon/OxyIcon.js.map +1 -1
  21. package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +1 -1
  22. package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -1
  23. package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +26 -20
  24. package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +1 -1
  25. package/lib/commonjs/ui/components/payment/PaymentMethodStep.js +9 -5
  26. package/lib/commonjs/ui/components/payment/PaymentMethodStep.js.map +1 -1
  27. package/lib/commonjs/ui/components/payment/PaymentReviewStep.js +19 -13
  28. package/lib/commonjs/ui/components/payment/PaymentReviewStep.js.map +1 -1
  29. package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js +9 -5
  30. package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js.map +1 -1
  31. package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js +14 -10
  32. package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js.map +1 -1
  33. package/lib/commonjs/ui/components/types.js +4 -0
  34. package/lib/commonjs/ui/hooks/useAssets.js +4 -4
  35. package/lib/commonjs/ui/hooks/useAssets.js.map +1 -1
  36. package/lib/commonjs/ui/hooks/useAsyncAction.js +2 -2
  37. package/lib/commonjs/ui/hooks/useAsyncAction.js.map +1 -1
  38. package/lib/commonjs/ui/hooks/useFollow.js.map +1 -1
  39. package/lib/commonjs/ui/hooks/useProfileEditing.js.map +1 -1
  40. package/lib/commonjs/ui/hooks/useSettingToggle.js +2 -2
  41. package/lib/commonjs/ui/hooks/useSettingToggle.js.map +1 -1
  42. package/lib/commonjs/ui/screens/AccountOverviewScreen.js +3 -3
  43. package/lib/commonjs/ui/screens/AccountOverviewScreen.js.map +1 -1
  44. package/lib/commonjs/ui/screens/AccountVerificationScreen.js +1 -1
  45. package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
  46. package/lib/commonjs/ui/screens/AppInfoScreen.js +66 -60
  47. package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -1
  48. package/lib/commonjs/ui/screens/FeedbackScreen.js +2 -2
  49. package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -1
  50. package/lib/commonjs/ui/screens/FileManagementScreen.js +139 -79
  51. package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
  52. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +2 -2
  53. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
  54. package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js +22 -17
  55. package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
  56. package/lib/commonjs/ui/screens/OxyAuthScreen.js +2 -2
  57. package/lib/commonjs/ui/screens/OxyAuthScreen.js.map +1 -1
  58. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +6 -2
  59. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -1
  60. package/lib/commonjs/ui/screens/SessionManagementScreen.js +39 -29
  61. package/lib/commonjs/ui/screens/SessionManagementScreen.js.map +1 -1
  62. package/lib/commonjs/ui/screens/UserLinksScreen.js +11 -3
  63. package/lib/commonjs/ui/screens/UserLinksScreen.js.map +1 -1
  64. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +1 -1
  65. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
  66. package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js +1 -1
  67. package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -1
  68. package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js +1 -1
  69. package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js.map +1 -1
  70. package/lib/commonjs/ui/stores/followStore.js +2 -2
  71. package/lib/commonjs/ui/stores/followStore.js.map +1 -1
  72. package/lib/commonjs/ui/utils/errorHandlers.js +2 -2
  73. package/lib/commonjs/ui/utils/errorHandlers.js.map +1 -1
  74. package/lib/commonjs/ui/utils/fileManagement.js +8 -3
  75. package/lib/commonjs/ui/utils/fileManagement.js.map +1 -1
  76. package/lib/commonjs/ui/utils/sessionHelpers.js +3 -2
  77. package/lib/commonjs/ui/utils/sessionHelpers.js.map +1 -1
  78. package/lib/commonjs/ui/utils/storageHelpers.js +1 -1
  79. package/lib/commonjs/ui/utils/storageHelpers.js.map +1 -1
  80. package/lib/commonjs/utils/hookUtils.js +4 -0
  81. package/lib/commonjs/utils/hookUtils.js.map +1 -1
  82. package/lib/module/ui/client.js +0 -1
  83. package/lib/module/ui/client.js.map +1 -1
  84. package/lib/module/ui/components/BottomSheet.js +5 -3
  85. package/lib/module/ui/components/BottomSheet.js.map +1 -1
  86. package/lib/module/ui/components/FontLoader.js +1 -1
  87. package/lib/module/ui/components/FontLoader.js.map +1 -1
  88. package/lib/module/ui/components/Header.js.map +1 -1
  89. package/lib/module/ui/components/HelperText.js +1 -1
  90. package/lib/module/ui/components/HelperText.js.map +1 -1
  91. package/lib/module/ui/components/Icon.js +6 -2
  92. package/lib/module/ui/components/Icon.js.map +1 -1
  93. package/lib/module/ui/components/OxyProvider.js +9 -1
  94. package/lib/module/ui/components/OxyProvider.js.map +1 -1
  95. package/lib/module/ui/components/QuickActions.js.map +1 -1
  96. package/lib/module/ui/components/SignInModal.js +5 -4
  97. package/lib/module/ui/components/SignInModal.js.map +1 -1
  98. package/lib/module/ui/components/TouchableRipple/Pressable.js.map +1 -1
  99. package/lib/module/ui/components/feedback/FormInput.js.map +1 -1
  100. package/lib/module/ui/components/fileManagement/AnimatedButton.js.map +1 -1
  101. package/lib/module/ui/components/icon/OxyIcon.js.map +1 -1
  102. package/lib/module/ui/components/modals/DeleteAccountModal.js +1 -1
  103. package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -1
  104. package/lib/module/ui/components/payment/PaymentDetailsStep.js +26 -20
  105. package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +1 -1
  106. package/lib/module/ui/components/payment/PaymentMethodStep.js +9 -5
  107. package/lib/module/ui/components/payment/PaymentMethodStep.js.map +1 -1
  108. package/lib/module/ui/components/payment/PaymentReviewStep.js +19 -13
  109. package/lib/module/ui/components/payment/PaymentReviewStep.js.map +1 -1
  110. package/lib/module/ui/components/payment/PaymentSuccessStep.js +9 -5
  111. package/lib/module/ui/components/payment/PaymentSuccessStep.js.map +1 -1
  112. package/lib/module/ui/components/payment/PaymentSummaryStep.js +14 -10
  113. package/lib/module/ui/components/payment/PaymentSummaryStep.js.map +1 -1
  114. package/lib/module/ui/components/types.js +2 -0
  115. package/lib/module/ui/hooks/useAssets.js +4 -4
  116. package/lib/module/ui/hooks/useAssets.js.map +1 -1
  117. package/lib/module/ui/hooks/useAsyncAction.js +2 -2
  118. package/lib/module/ui/hooks/useAsyncAction.js.map +1 -1
  119. package/lib/module/ui/hooks/useFollow.js.map +1 -1
  120. package/lib/module/ui/hooks/useProfileEditing.js.map +1 -1
  121. package/lib/module/ui/hooks/useSettingToggle.js +2 -2
  122. package/lib/module/ui/hooks/useSettingToggle.js.map +1 -1
  123. package/lib/module/ui/screens/AccountOverviewScreen.js +3 -3
  124. package/lib/module/ui/screens/AccountOverviewScreen.js.map +1 -1
  125. package/lib/module/ui/screens/AccountVerificationScreen.js +1 -1
  126. package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
  127. package/lib/module/ui/screens/AppInfoScreen.js +66 -60
  128. package/lib/module/ui/screens/AppInfoScreen.js.map +1 -1
  129. package/lib/module/ui/screens/FeedbackScreen.js +2 -2
  130. package/lib/module/ui/screens/FeedbackScreen.js.map +1 -1
  131. package/lib/module/ui/screens/FileManagementScreen.js +139 -79
  132. package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
  133. package/lib/module/ui/screens/LanguageSelectorScreen.js +2 -2
  134. package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -1
  135. package/lib/module/ui/screens/LearnMoreUsernamesScreen.js +22 -17
  136. package/lib/module/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
  137. package/lib/module/ui/screens/OxyAuthScreen.js +2 -2
  138. package/lib/module/ui/screens/OxyAuthScreen.js.map +1 -1
  139. package/lib/module/ui/screens/PaymentGatewayScreen.js +6 -2
  140. package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -1
  141. package/lib/module/ui/screens/SessionManagementScreen.js +39 -29
  142. package/lib/module/ui/screens/SessionManagementScreen.js.map +1 -1
  143. package/lib/module/ui/screens/UserLinksScreen.js +11 -3
  144. package/lib/module/ui/screens/UserLinksScreen.js.map +1 -1
  145. package/lib/module/ui/screens/WelcomeNewUserScreen.js +1 -1
  146. package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
  147. package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js +1 -1
  148. package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -1
  149. package/lib/module/ui/screens/karma/KarmaRulesScreen.js +1 -1
  150. package/lib/module/ui/screens/karma/KarmaRulesScreen.js.map +1 -1
  151. package/lib/module/ui/stores/followStore.js +2 -2
  152. package/lib/module/ui/stores/followStore.js.map +1 -1
  153. package/lib/module/ui/utils/errorHandlers.js +2 -2
  154. package/lib/module/ui/utils/errorHandlers.js.map +1 -1
  155. package/lib/module/ui/utils/fileManagement.js +8 -3
  156. package/lib/module/ui/utils/fileManagement.js.map +1 -1
  157. package/lib/module/ui/utils/sessionHelpers.js +3 -2
  158. package/lib/module/ui/utils/sessionHelpers.js.map +1 -1
  159. package/lib/module/ui/utils/storageHelpers.js +1 -1
  160. package/lib/module/ui/utils/storageHelpers.js.map +1 -1
  161. package/lib/module/utils/hookUtils.js +4 -0
  162. package/lib/module/utils/hookUtils.js.map +1 -1
  163. package/lib/typescript/commonjs/ui/client.d.ts +0 -1
  164. package/lib/typescript/commonjs/ui/client.d.ts.map +1 -1
  165. package/lib/typescript/commonjs/ui/components/BottomSheet.d.ts.map +1 -1
  166. package/lib/typescript/commonjs/ui/components/Icon.d.ts.map +1 -1
  167. package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts.map +1 -1
  168. package/lib/typescript/commonjs/ui/components/SignInModal.d.ts.map +1 -1
  169. package/lib/typescript/commonjs/ui/components/TextField/Adornment/types.d.ts +1 -1
  170. package/lib/typescript/commonjs/ui/components/TextField/Adornment/types.d.ts.map +1 -1
  171. package/lib/typescript/commonjs/ui/components/TouchableRipple/Pressable.d.ts.map +1 -1
  172. package/lib/typescript/commonjs/ui/components/fileManagement/AnimatedButton.d.ts +1 -1
  173. package/lib/typescript/commonjs/ui/components/fileManagement/AnimatedButton.d.ts.map +1 -1
  174. package/lib/typescript/commonjs/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -1
  175. package/lib/typescript/commonjs/ui/components/payment/PaymentMethodStep.d.ts.map +1 -1
  176. package/lib/typescript/commonjs/ui/components/payment/PaymentReviewStep.d.ts.map +1 -1
  177. package/lib/typescript/commonjs/ui/components/payment/PaymentSuccessStep.d.ts.map +1 -1
  178. package/lib/typescript/commonjs/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -1
  179. package/lib/typescript/commonjs/ui/components/types.d.ts +18 -17
  180. package/lib/typescript/commonjs/ui/components/types.d.ts.map +1 -1
  181. package/lib/typescript/commonjs/ui/screens/AppInfoScreen.d.ts.map +1 -1
  182. package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts.map +1 -1
  183. package/lib/typescript/commonjs/ui/screens/LearnMoreUsernamesScreen.d.ts.map +1 -1
  184. package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
  185. package/lib/typescript/commonjs/ui/screens/SessionManagementScreen.d.ts.map +1 -1
  186. package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts.map +1 -1
  187. package/lib/typescript/commonjs/ui/types/navigation.d.ts +2 -0
  188. package/lib/typescript/commonjs/ui/types/navigation.d.ts.map +1 -1
  189. package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts +1 -1
  190. package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts.map +1 -1
  191. package/lib/typescript/commonjs/ui/utils/sessionHelpers.d.ts +2 -1
  192. package/lib/typescript/commonjs/ui/utils/sessionHelpers.d.ts.map +1 -1
  193. package/lib/typescript/commonjs/utils/hookUtils.d.ts.map +1 -1
  194. package/lib/typescript/module/ui/client.d.ts +0 -1
  195. package/lib/typescript/module/ui/client.d.ts.map +1 -1
  196. package/lib/typescript/module/ui/components/BottomSheet.d.ts.map +1 -1
  197. package/lib/typescript/module/ui/components/Icon.d.ts.map +1 -1
  198. package/lib/typescript/module/ui/components/OxyProvider.d.ts.map +1 -1
  199. package/lib/typescript/module/ui/components/SignInModal.d.ts.map +1 -1
  200. package/lib/typescript/module/ui/components/TextField/Adornment/types.d.ts +1 -1
  201. package/lib/typescript/module/ui/components/TextField/Adornment/types.d.ts.map +1 -1
  202. package/lib/typescript/module/ui/components/TouchableRipple/Pressable.d.ts.map +1 -1
  203. package/lib/typescript/module/ui/components/fileManagement/AnimatedButton.d.ts +1 -1
  204. package/lib/typescript/module/ui/components/fileManagement/AnimatedButton.d.ts.map +1 -1
  205. package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -1
  206. package/lib/typescript/module/ui/components/payment/PaymentMethodStep.d.ts.map +1 -1
  207. package/lib/typescript/module/ui/components/payment/PaymentReviewStep.d.ts.map +1 -1
  208. package/lib/typescript/module/ui/components/payment/PaymentSuccessStep.d.ts.map +1 -1
  209. package/lib/typescript/module/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -1
  210. package/lib/typescript/module/ui/components/types.d.ts +18 -17
  211. package/lib/typescript/module/ui/components/types.d.ts.map +1 -1
  212. package/lib/typescript/module/ui/screens/AppInfoScreen.d.ts.map +1 -1
  213. package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +1 -1
  214. package/lib/typescript/module/ui/screens/LearnMoreUsernamesScreen.d.ts.map +1 -1
  215. package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
  216. package/lib/typescript/module/ui/screens/SessionManagementScreen.d.ts.map +1 -1
  217. package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts.map +1 -1
  218. package/lib/typescript/module/ui/types/navigation.d.ts +2 -0
  219. package/lib/typescript/module/ui/types/navigation.d.ts.map +1 -1
  220. package/lib/typescript/module/ui/utils/fileManagement.d.ts +1 -1
  221. package/lib/typescript/module/ui/utils/fileManagement.d.ts.map +1 -1
  222. package/lib/typescript/module/ui/utils/sessionHelpers.d.ts +2 -1
  223. package/lib/typescript/module/ui/utils/sessionHelpers.d.ts.map +1 -1
  224. package/lib/typescript/module/utils/hookUtils.d.ts.map +1 -1
  225. package/package.json +1 -1
  226. package/src/ui/client.ts +0 -1
  227. package/src/ui/components/BottomSheet.tsx +4 -3
  228. package/src/ui/components/FontLoader.tsx +1 -1
  229. package/src/ui/components/Header.tsx +2 -2
  230. package/src/ui/components/HelperText.tsx +1 -1
  231. package/src/ui/components/Icon.tsx +2 -0
  232. package/src/ui/components/OxyProvider.tsx +6 -0
  233. package/src/ui/components/QuickActions.tsx +1 -1
  234. package/src/ui/components/SignInModal.tsx +6 -5
  235. package/src/ui/components/TextField/Adornment/types.tsx +1 -1
  236. package/src/ui/components/TouchableRipple/Pressable.tsx +1 -0
  237. package/src/ui/components/feedback/FormInput.tsx +1 -1
  238. package/src/ui/components/fileManagement/AnimatedButton.tsx +2 -2
  239. package/src/ui/components/icon/OxyIcon.tsx +1 -1
  240. package/src/ui/components/modals/DeleteAccountModal.tsx +2 -2
  241. package/src/ui/components/payment/PaymentDetailsStep.tsx +24 -22
  242. package/src/ui/components/payment/PaymentMethodStep.tsx +7 -5
  243. package/src/ui/components/payment/PaymentReviewStep.tsx +15 -13
  244. package/src/ui/components/payment/PaymentSuccessStep.tsx +7 -5
  245. package/src/ui/components/payment/PaymentSummaryStep.tsx +12 -10
  246. package/src/ui/components/types.tsx +19 -17
  247. package/src/ui/hooks/useAssets.ts +8 -8
  248. package/src/ui/hooks/useAsyncAction.ts +4 -4
  249. package/src/ui/hooks/useFollow.ts +1 -1
  250. package/src/ui/hooks/useProfileEditing.ts +1 -1
  251. package/src/ui/hooks/useSettingToggle.ts +4 -4
  252. package/src/ui/screens/AccountOverviewScreen.tsx +6 -6
  253. package/src/ui/screens/AccountVerificationScreen.tsx +2 -2
  254. package/src/ui/screens/AppInfoScreen.tsx +63 -61
  255. package/src/ui/screens/FeedbackScreen.tsx +3 -3
  256. package/src/ui/screens/FileManagementScreen.tsx +130 -121
  257. package/src/ui/screens/LanguageSelectorScreen.tsx +3 -3
  258. package/src/ui/screens/LearnMoreUsernamesScreen.tsx +22 -19
  259. package/src/ui/screens/OxyAuthScreen.tsx +3 -3
  260. package/src/ui/screens/PaymentGatewayScreen.tsx +4 -2
  261. package/src/ui/screens/SessionManagementScreen.tsx +30 -28
  262. package/src/ui/screens/UserLinksScreen.tsx +5 -3
  263. package/src/ui/screens/WelcomeNewUserScreen.tsx +2 -2
  264. package/src/ui/screens/karma/KarmaLeaderboardScreen.tsx +1 -1
  265. package/src/ui/screens/karma/KarmaRulesScreen.tsx +1 -1
  266. package/src/ui/stores/followStore.ts +4 -4
  267. package/src/ui/types/navigation.ts +2 -0
  268. package/src/ui/utils/errorHandlers.ts +2 -2
  269. package/src/ui/utils/fileManagement.ts +13 -8
  270. package/src/ui/utils/sessionHelpers.ts +3 -2
  271. package/src/ui/utils/storageHelpers.ts +1 -1
  272. package/src/utils/hookUtils.ts +4 -2
  273. package/lib/commonjs/ui/components/AnimationExample.js +0 -213
  274. package/lib/commonjs/ui/components/AnimationExample.js.map +0 -1
  275. package/lib/commonjs/ui/components/ErrorBoundary.js +0 -145
  276. package/lib/commonjs/ui/components/ErrorBoundary.js.map +0 -1
  277. package/lib/commonjs/ui/components/WebOxyProvider.js +0 -106
  278. package/lib/commonjs/ui/components/WebOxyProvider.js.map +0 -1
  279. package/lib/module/ui/components/AnimationExample.js +0 -209
  280. package/lib/module/ui/components/AnimationExample.js.map +0 -1
  281. package/lib/module/ui/components/ErrorBoundary.js +0 -139
  282. package/lib/module/ui/components/ErrorBoundary.js.map +0 -1
  283. package/lib/module/ui/components/WebOxyProvider.js +0 -102
  284. package/lib/module/ui/components/WebOxyProvider.js.map +0 -1
  285. package/lib/typescript/commonjs/ui/components/AnimationExample.d.ts +0 -4
  286. package/lib/typescript/commonjs/ui/components/AnimationExample.d.ts.map +0 -1
  287. package/lib/typescript/commonjs/ui/components/ErrorBoundary.d.ts +0 -31
  288. package/lib/typescript/commonjs/ui/components/ErrorBoundary.d.ts.map +0 -1
  289. package/lib/typescript/commonjs/ui/components/WebOxyProvider.d.ts +0 -52
  290. package/lib/typescript/commonjs/ui/components/WebOxyProvider.d.ts.map +0 -1
  291. package/lib/typescript/module/ui/components/AnimationExample.d.ts +0 -4
  292. package/lib/typescript/module/ui/components/AnimationExample.d.ts.map +0 -1
  293. package/lib/typescript/module/ui/components/ErrorBoundary.d.ts +0 -31
  294. package/lib/typescript/module/ui/components/ErrorBoundary.d.ts.map +0 -1
  295. package/lib/typescript/module/ui/components/WebOxyProvider.d.ts +0 -52
  296. package/lib/typescript/module/ui/components/WebOxyProvider.d.ts.map +0 -1
  297. package/src/ui/components/AnimationExample.tsx +0 -195
  298. package/src/ui/components/ErrorBoundary.tsx +0 -154
  299. package/src/ui/components/WebOxyProvider.tsx +0 -117
@@ -25,6 +25,7 @@ import { Section, GroupedSection } from '../components';
25
25
  import { useThemeStyles } from '../hooks/useThemeStyles';
26
26
  import { useColorScheme } from '../hooks/useColorScheme';
27
27
  import { useOxy } from '../context/OxyContext';
28
+ import { useI18n } from '../hooks/useI18n';
28
29
 
29
30
 
30
31
  interface SystemInfo {
@@ -44,6 +45,7 @@ const AppInfoScreen: React.FC<BaseScreenProps> = ({
44
45
  }) => {
45
46
  // Use useOxy() hook for OxyContext values
46
47
  const { user, sessions, oxyServices, isAuthenticated } = useOxy();
48
+ const { t } = useI18n();
47
49
  const [systemInfo, setSystemInfo] = useState<SystemInfo | null>(null);
48
50
  const [isRunningSystemCheck, setIsRunningSystemCheck] = useState(false);
49
51
  const [connectionStatus, setConnectionStatus] = useState<'checking' | 'connected' | 'disconnected' | 'unknown'>('unknown');
@@ -103,9 +105,9 @@ const AppInfoScreen: React.FC<BaseScreenProps> = ({
103
105
  const copyToClipboard = async (text: string, label: string) => {
104
106
  try {
105
107
  await Clipboard.setString(text);
106
- toast.success(`${label} copied to clipboard`);
108
+ toast.success(t('appInfo.toasts.copiedToClipboard', { label }));
107
109
  } catch (error) {
108
- toast.error('Failed to copy to clipboard');
110
+ toast.error(t('appInfo.toasts.copyFailed'));
109
111
  }
110
112
  };
111
113
 
@@ -126,9 +128,9 @@ const AppInfoScreen: React.FC<BaseScreenProps> = ({
126
128
  }
127
129
  }
128
130
 
129
- toast.success('System check completed successfully');
131
+ toast.success(t('appInfo.toasts.systemCheckSuccess'));
130
132
  } catch (error) {
131
- toast.error('System check failed');
133
+ toast.error(t('appInfo.toasts.systemCheckFailed'));
132
134
  } finally {
133
135
  setIsRunningSystemCheck(false);
134
136
  }
@@ -154,7 +156,7 @@ const AppInfoScreen: React.FC<BaseScreenProps> = ({
154
156
 
155
157
  const handleCopyFullReport = () => {
156
158
  const report = generateFullReport();
157
- copyToClipboard(report, 'Full system report');
159
+ copyToClipboard(report, t('appInfo.items.copyFullReport'));
158
160
  };
159
161
 
160
162
  return (
@@ -164,141 +166,141 @@ const AppInfoScreen: React.FC<BaseScreenProps> = ({
164
166
  <TouchableOpacity style={styles.cancelButton} onPress={onClose}>
165
167
  <Ionicons name="close" size={24} color="#666" />
166
168
  </TouchableOpacity>
167
- <Text style={styles.headerTitle}>App Information</Text>
169
+ <Text style={styles.headerTitle}>{t('appInfo.title')}</Text>
168
170
  <View style={styles.placeholder} />
169
171
  </View>
170
172
 
171
173
  <ScrollView style={styles.content} showsVerticalScrollIndicator={false}>
172
174
  {/* Package Information */}
173
- <Section title="Package Information" >
175
+ <Section title={t('appInfo.sections.package')} >
174
176
  <GroupedSection
175
177
  items={[
176
178
  {
177
179
  id: 'name',
178
180
  icon: 'information',
179
181
  iconColor: themeStyles.colors.iconSecurity,
180
- title: 'Name',
182
+ title: t('appInfo.items.name'),
181
183
  subtitle: packageInfo.name,
182
- onPress: () => copyToClipboard(packageInfo.name, 'Package name'),
184
+ onPress: () => copyToClipboard(packageInfo.name, t('appInfo.items.name')),
183
185
  customContent: <OxyServicesLogo width={20} height={20} style={styles.settingIcon} />,
184
186
  },
185
187
  {
186
188
  id: 'version',
187
189
  icon: 'tag',
188
190
  iconColor: themeStyles.colors.iconData,
189
- title: 'Version',
191
+ title: t('appInfo.items.version'),
190
192
  subtitle: packageInfo.version,
191
- onPress: () => copyToClipboard(packageInfo.version, 'Version'),
193
+ onPress: () => copyToClipboard(packageInfo.version, t('appInfo.items.version')),
192
194
  },
193
195
  {
194
196
  id: 'description',
195
197
  icon: 'file-document',
196
198
  iconColor: themeStyles.colors.iconPersonalInfo,
197
- title: 'Description',
198
- subtitle: packageInfo.description || 'No description',
199
+ title: t('appInfo.items.description'),
200
+ subtitle: packageInfo.description || t('appInfo.items.noDescription'),
199
201
  },
200
202
  {
201
203
  id: 'main-entry',
202
204
  icon: 'code-tags',
203
205
  iconColor: themeStyles.colors.iconStorage,
204
- title: 'Main Entry',
206
+ title: t('appInfo.items.mainEntry'),
205
207
  subtitle: packageInfo.main || 'N/A',
206
- onPress: () => copyToClipboard(packageInfo.main || 'N/A', 'Main entry'),
208
+ onPress: () => copyToClipboard(packageInfo.main || 'N/A', t('appInfo.items.mainEntry')),
207
209
  },
208
210
  {
209
211
  id: 'module-entry',
210
212
  icon: 'library',
211
213
  iconColor: themeStyles.colors.iconSharing,
212
- title: 'Module Entry',
214
+ title: t('appInfo.items.moduleEntry'),
213
215
  subtitle: packageInfo.module || 'N/A',
214
- onPress: () => copyToClipboard(packageInfo.module || 'N/A', 'Module entry'),
216
+ onPress: () => copyToClipboard(packageInfo.module || 'N/A', t('appInfo.items.moduleEntry')),
215
217
  },
216
218
  {
217
219
  id: 'types-entry',
218
220
  icon: 'wrench',
219
221
  iconColor: themeStyles.colors.iconPersonalInfo,
220
- title: 'Types Entry',
222
+ title: t('appInfo.items.typesEntry'),
221
223
  subtitle: packageInfo.types || 'N/A',
222
- onPress: () => copyToClipboard(packageInfo.types || 'N/A', 'Types entry'),
224
+ onPress: () => copyToClipboard(packageInfo.types || 'N/A', t('appInfo.items.typesEntry')),
223
225
  },
224
226
  ]}
225
227
  />
226
228
  </Section>
227
229
 
228
230
  {/* System Information */}
229
- <Section title="System Information" >
231
+ <Section title={t('appInfo.sections.system')} >
230
232
  <GroupedSection
231
233
  items={[
232
234
  {
233
235
  id: 'platform',
234
236
  icon: 'cellphone',
235
237
  iconColor: themeStyles.colors.iconSecurity,
236
- title: 'Platform',
238
+ title: t('appInfo.items.platform'),
237
239
  subtitle: Platform.OS,
238
240
  },
239
241
  {
240
242
  id: 'platform-version',
241
243
  icon: 'chip',
242
244
  iconColor: themeStyles.colors.iconData,
243
- title: 'Platform Version',
244
- subtitle: systemInfo?.version || 'Loading...',
245
+ title: t('appInfo.items.platformVersion'),
246
+ subtitle: systemInfo?.version || t('common.status.loading'),
245
247
  },
246
248
  {
247
249
  id: 'screen-width',
248
250
  icon: 'resize',
249
251
  iconColor: themeStyles.colors.iconStorage,
250
- title: 'Screen Width',
252
+ title: t('appInfo.items.screenWidth'),
251
253
  subtitle: `${systemInfo?.screenDimensions.width || 0}px`,
252
254
  },
253
255
  {
254
256
  id: 'screen-height',
255
257
  icon: 'resize',
256
258
  iconColor: themeStyles.colors.iconSharing,
257
- title: 'Screen Height',
259
+ title: t('appInfo.items.screenHeight'),
258
260
  subtitle: `${systemInfo?.screenDimensions.height || 0}px`,
259
261
  },
260
262
  {
261
263
  id: 'environment',
262
264
  icon: 'cog',
263
265
  iconColor: themeStyles.colors.iconPersonalInfo,
264
- title: 'Environment',
265
- subtitle: __DEV__ ? 'Development' : 'Production',
266
+ title: t('appInfo.items.environment'),
267
+ subtitle: __DEV__ ? t('appInfo.items.development') : t('appInfo.items.production'),
266
268
  },
267
269
  ]}
268
270
  />
269
271
  </Section>
270
272
 
271
273
  {/* User Information */}
272
- <Section title="User Information" >
274
+ <Section title={t('appInfo.sections.user')} >
273
275
  <GroupedSection
274
276
  items={[
275
277
  {
276
278
  id: 'auth-status',
277
279
  icon: 'shield-check',
278
280
  iconColor: isAuthenticated ? themeStyles.colors.iconPersonalInfo : themeStyles.colors.iconSharing,
279
- title: 'Authentication Status',
280
- subtitle: isAuthenticated ? 'Authenticated' : 'Not Authenticated',
281
+ title: t('appInfo.items.authStatus'),
282
+ subtitle: isAuthenticated ? t('appInfo.items.authenticated') : t('appInfo.items.notAuthenticated'),
281
283
  },
282
284
  ...(user ? [
283
285
  {
284
286
  id: 'user-id',
285
287
  icon: 'account',
286
288
  iconColor: themeStyles.colors.iconSecurity,
287
- title: 'User ID',
289
+ title: t('appInfo.items.userId'),
288
290
  subtitle: user.id,
289
- onPress: () => copyToClipboard(user.id, 'User ID'),
291
+ onPress: () => copyToClipboard(user.id, t('appInfo.items.userId')),
290
292
  },
291
293
  {
292
294
  id: 'username',
293
295
  icon: 'at',
294
296
  iconColor: themeStyles.colors.iconData,
295
- title: 'Username',
297
+ title: t('appInfo.items.username'),
296
298
  subtitle: user.username || 'N/A',
297
299
  onPress: () => {
298
300
  if (user?.username && navigate) {
299
301
  navigate('Profile', { userId: user.id });
300
302
  } else {
301
- toast.info('No username available or navigation not supported');
303
+ toast.info(t('appInfo.toasts.noUsernameOrNav'));
302
304
  }
303
305
  },
304
306
  },
@@ -306,22 +308,22 @@ const AppInfoScreen: React.FC<BaseScreenProps> = ({
306
308
  id: 'email',
307
309
  icon: 'mail',
308
310
  iconColor: themeStyles.colors.iconStorage,
309
- title: 'Email',
311
+ title: t('appInfo.items.email'),
310
312
  subtitle: user.email || 'N/A',
311
313
  },
312
314
  {
313
315
  id: 'premium-status',
314
316
  icon: 'star',
315
317
  iconColor: user.isPremium ? '#FFD700' : '#8E8E93',
316
- title: 'Premium Status',
317
- subtitle: user.isPremium ? 'Premium' : 'Standard',
318
+ title: t('appInfo.items.premiumStatus'),
319
+ subtitle: user.isPremium ? t('appInfo.items.premium') : t('appInfo.items.standard'),
318
320
  },
319
321
  ] : []),
320
322
  {
321
323
  id: 'active-sessions',
322
324
  icon: 'account-group',
323
325
  iconColor: themeStyles.colors.iconPersonalInfo,
324
- title: 'Total Active Sessions',
326
+ title: t('appInfo.items.totalActiveSessions'),
325
327
  subtitle: sessions?.length?.toString() || '0',
326
328
  },
327
329
  ]}
@@ -329,39 +331,39 @@ const AppInfoScreen: React.FC<BaseScreenProps> = ({
329
331
  </Section>
330
332
 
331
333
  {/* API Configuration */}
332
- <Section title="API Configuration" >
334
+ <Section title={t('appInfo.sections.api')} >
333
335
  <GroupedSection
334
336
  items={[
335
337
  {
336
338
  id: 'api-base-url',
337
339
  icon: 'server',
338
340
  iconColor: themeStyles.colors.iconSecurity,
339
- title: 'API Base URL',
340
- subtitle: oxyServices?.getBaseURL() || 'Not configured',
341
- onPress: () => copyToClipboard(oxyServices?.getBaseURL() || 'Not configured', 'API Base URL'),
341
+ title: t('appInfo.items.apiBaseUrl'),
342
+ subtitle: oxyServices?.getBaseURL() || t('appInfo.items.notConfigured'),
343
+ onPress: () => copyToClipboard(oxyServices?.getBaseURL() || t('appInfo.items.notConfigured'), t('appInfo.items.apiBaseUrl')),
342
344
  },
343
345
  {
344
346
  id: 'connection-status',
345
347
  icon: connectionStatus === 'checking' ? 'sync' : connectionStatus === 'connected' ? 'wifi' : 'wifi-off',
346
348
  iconColor: connectionStatus === 'checking' ? themeStyles.colors.iconStorage : connectionStatus === 'connected' ? themeStyles.colors.iconPersonalInfo : themeStyles.colors.iconSharing,
347
- title: 'Connection Status',
348
- subtitle: connectionStatus === 'checking' ? 'Checking...' : connectionStatus === 'connected' ? 'Connected' : connectionStatus === 'disconnected' ? 'Disconnected' : 'Unknown',
349
+ title: t('appInfo.items.connectionStatus'),
350
+ subtitle: connectionStatus === 'checking' ? t('appInfo.items.checking') : connectionStatus === 'connected' ? t('appInfo.items.connected') : connectionStatus === 'disconnected' ? t('appInfo.items.disconnected') : t('appInfo.items.unknown'),
349
351
  onPress: async () => {
350
352
  setConnectionStatus('checking');
351
353
 
352
354
  if (!oxyServices) {
353
355
  setConnectionStatus('disconnected');
354
- toast.error('OxyServices not initialized');
356
+ toast.error(t('appInfo.toasts.oxyServicesNotInitialized'));
355
357
  return;
356
358
  }
357
359
 
358
360
  try {
359
361
  await oxyServices.healthCheck();
360
362
  setConnectionStatus('connected');
361
- toast.success('API connection successful');
363
+ toast.success(t('appInfo.toasts.apiConnectionSuccess'));
362
364
  } catch (error) {
363
365
  setConnectionStatus('disconnected');
364
- toast.error('Failed to connect to API server');
366
+ toast.error(t('appInfo.toasts.apiConnectionFailed'));
365
367
  }
366
368
  },
367
369
  },
@@ -370,55 +372,55 @@ const AppInfoScreen: React.FC<BaseScreenProps> = ({
370
372
  </Section>
371
373
 
372
374
  {/* Build Information */}
373
- <Section title="Build Information" >
375
+ <Section title={t('appInfo.sections.build')} >
374
376
  <GroupedSection
375
377
  items={[
376
378
  {
377
379
  id: 'build-timestamp',
378
380
  icon: 'clock',
379
381
  iconColor: themeStyles.colors.iconSecurity,
380
- title: 'Build Timestamp',
381
- subtitle: systemInfo?.timestamp || 'Loading...',
382
- onPress: () => copyToClipboard(systemInfo?.timestamp || 'Loading...', 'Build timestamp'),
382
+ title: t('appInfo.items.buildTimestamp'),
383
+ subtitle: systemInfo?.timestamp || t('common.status.loading'),
384
+ onPress: () => copyToClipboard(systemInfo?.timestamp || t('common.status.loading'), t('appInfo.items.buildTimestamp')),
383
385
  },
384
386
  {
385
387
  id: 'react-native',
386
388
  icon: 'react',
387
389
  iconColor: '#61DAFB',
388
- title: 'React Native',
389
- subtitle: 'Expo/React Native',
390
+ title: t('appInfo.items.reactNative'),
391
+ subtitle: t('appInfo.items.reactNativeValue'),
390
392
  },
391
393
  {
392
394
  id: 'js-engine',
393
395
  icon: 'flash',
394
396
  iconColor: themeStyles.colors.iconSharing,
395
- title: 'JavaScript Engine',
396
- subtitle: 'Hermes',
397
+ title: t('appInfo.items.jsEngine'),
398
+ subtitle: t('appInfo.items.jsEngineValue'),
397
399
  },
398
400
  ]}
399
401
  />
400
402
  </Section>
401
403
 
402
404
  {/* Quick Actions */}
403
- <Section title="Quick Actions" >
405
+ <Section title={t('appInfo.sections.quickActions')} >
404
406
  <GroupedSection
405
407
  items={[
406
408
  {
407
409
  id: 'copy-full-report',
408
410
  icon: 'content-copy',
409
411
  iconColor: themeStyles.colors.iconSecurity,
410
- title: 'Copy Full Report',
411
- subtitle: 'Copy complete application information to clipboard',
412
+ title: t('appInfo.items.copyFullReport'),
413
+ subtitle: t('appInfo.items.copyFullReportSubtitle'),
412
414
  onPress: handleCopyFullReport,
413
415
  },
414
416
  {
415
417
  id: 'run-system-check',
416
418
  icon: isRunningSystemCheck ? 'sync' : 'check-circle',
417
419
  iconColor: isRunningSystemCheck ? '#FF9500' : '#34C759',
418
- title: isRunningSystemCheck ? 'Running System Check...' : 'Run System Check',
420
+ title: isRunningSystemCheck ? t('appInfo.items.runningSystemCheck') : t('appInfo.items.runSystemCheck'),
419
421
  subtitle: isRunningSystemCheck
420
- ? 'Checking API, authentication, and platform status...'
421
- : 'Verify application health and status',
422
+ ? t('appInfo.items.systemCheckRunning')
423
+ : t('appInfo.items.systemCheckSubtitle'),
422
424
  onPress: runSystemCheck,
423
425
  disabled: isRunningSystemCheck,
424
426
  customContent: isRunningSystemCheck ? (
@@ -137,9 +137,9 @@ const FeedbackScreen: React.FC<BaseScreenProps> = ({
137
137
  setCurrentStep(0);
138
138
  }, 3000);
139
139
 
140
- } catch (error: any) {
141
- setFeedbackState({ status: 'error', message: error.message || (t('feedback.toasts.submitFailed') || 'Failed to submit feedback') });
142
- toast.error(error.message || (t('feedback.toasts.submitFailed') || 'Failed to submit feedback'));
140
+ } catch (error: unknown) {
141
+ setFeedbackState({ status: 'error', message: (error instanceof Error ? error.message : null) || (t('feedback.toasts.submitFailed') || 'Failed to submit feedback') });
142
+ toast.error((error instanceof Error ? error.message : null) || (t('feedback.toasts.submitFailed') || 'Failed to submit feedback'));
143
143
  }
144
144
  }, [feedbackData, user, isTypeStepValid, isDetailsStepValid, isContactStepValid, resetForm, setFeedbackState, t]);
145
145