@oxyhq/services 5.17.18 → 5.18.1

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 (1758) hide show
  1. package/lib/commonjs/assets/icons/OxyServices.js +1 -1
  2. package/lib/commonjs/core/HttpService.js +4 -4
  3. package/lib/commonjs/core/OxyServices.base.js +9 -9
  4. package/lib/commonjs/core/OxyServices.base.js.map +1 -1
  5. package/lib/commonjs/core/OxyServices.js +5 -5
  6. package/lib/commonjs/core/OxyServices.js.map +1 -1
  7. package/lib/commonjs/core/index.js +6 -6
  8. package/lib/commonjs/core/mixins/OxyServices.analytics.js +1 -1
  9. package/lib/commonjs/core/mixins/OxyServices.auth.js +2 -2
  10. package/lib/commonjs/core/mixins/OxyServices.auth.js.map +1 -1
  11. package/lib/commonjs/core/mixins/OxyServices.developer.js +1 -1
  12. package/lib/commonjs/core/mixins/OxyServices.features.js +372 -0
  13. package/lib/commonjs/core/mixins/OxyServices.features.js.map +1 -0
  14. package/lib/commonjs/core/mixins/OxyServices.fedcm.js +5 -5
  15. package/lib/commonjs/core/mixins/OxyServices.fedcm.js.map +1 -1
  16. package/lib/commonjs/core/mixins/OxyServices.karma.js +1 -1
  17. package/lib/commonjs/core/mixins/OxyServices.language.js +1 -1
  18. package/lib/commonjs/core/mixins/OxyServices.payment.js +1 -1
  19. package/lib/commonjs/core/mixins/OxyServices.popup.js +8 -8
  20. package/lib/commonjs/core/mixins/OxyServices.popup.js.map +1 -1
  21. package/lib/commonjs/core/mixins/OxyServices.redirect.js +4 -4
  22. package/lib/commonjs/core/mixins/OxyServices.redirect.js.map +1 -1
  23. package/lib/commonjs/core/mixins/OxyServices.user.js +1 -1
  24. package/lib/commonjs/core/mixins/OxyServices.utility.js +1 -1
  25. package/lib/commonjs/core/mixins/index.js +21 -20
  26. package/lib/commonjs/core/mixins/index.js.map +1 -1
  27. package/lib/commonjs/crypto/index.js +4 -4
  28. package/lib/commonjs/crypto/recoveryPhrase.js +1 -1
  29. package/lib/commonjs/crypto/signatureService.js +1 -1
  30. package/lib/commonjs/index.js +59 -59
  31. package/lib/commonjs/index.js.map +1 -1
  32. package/lib/commonjs/node/index.js +6 -6
  33. package/lib/commonjs/node/index.js.map +1 -1
  34. package/lib/commonjs/ui/components/ActivityIndicator.js +1 -1
  35. package/lib/commonjs/ui/components/Avatar.js +3 -3
  36. package/lib/commonjs/ui/components/Avatar.js.map +1 -1
  37. package/lib/commonjs/ui/components/BottomSheet.js +1 -1
  38. package/lib/commonjs/ui/components/BottomSheetRouter.js +5 -5
  39. package/lib/commonjs/ui/components/CrossFadeIcon.js +2 -2
  40. package/lib/commonjs/ui/components/FollowButton.js +5 -5
  41. package/lib/commonjs/ui/components/GroupedItem.js +16 -6
  42. package/lib/commonjs/ui/components/GroupedItem.js.map +1 -1
  43. package/lib/commonjs/ui/components/GroupedSection.js +1 -1
  44. package/lib/commonjs/ui/components/Header.js +5 -5
  45. package/lib/commonjs/ui/components/HelperText.js +2 -2
  46. package/lib/commonjs/ui/components/HelperText.js.map +1 -1
  47. package/lib/commonjs/ui/components/Icon.js +1 -1
  48. package/lib/commonjs/ui/components/IconButton/IconButton.js +7 -7
  49. package/lib/commonjs/ui/components/OxyLogo.js +1 -1
  50. package/lib/commonjs/ui/components/OxyPayButton.js +2 -2
  51. package/lib/commonjs/ui/components/OxyProvider.js +6 -6
  52. package/lib/commonjs/ui/components/OxySignInButton.js +2 -2
  53. package/lib/commonjs/ui/components/ProfileCard.js +8 -8
  54. package/lib/commonjs/ui/components/ProfileCard.js.map +1 -1
  55. package/lib/commonjs/ui/components/QuickActions.js +2 -2
  56. package/lib/commonjs/ui/components/Section.js +3 -3
  57. package/lib/commonjs/ui/components/SectionTitle.js +4 -4
  58. package/lib/commonjs/ui/components/SettingRow.js +17 -4
  59. package/lib/commonjs/ui/components/SettingRow.js.map +1 -1
  60. package/lib/commonjs/ui/components/StepBasedScreen.js +4 -4
  61. package/lib/commonjs/ui/components/StepBasedScreen.js.map +1 -1
  62. package/lib/commonjs/ui/components/Surface.js +5 -5
  63. package/lib/commonjs/ui/components/TextField/Addons/Underline.js +1 -1
  64. package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAdornment.js +4 -4
  65. package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAffix.js +4 -4
  66. package/lib/commonjs/ui/components/TextField/Adornment/TextFieldIcon.js +5 -5
  67. package/lib/commonjs/ui/components/TextField/Label/InputLabel.js +2 -2
  68. package/lib/commonjs/ui/components/TextField/Label/LabelBackground.js +1 -1
  69. package/lib/commonjs/ui/components/TextField/TextFieldFlat.js +7 -7
  70. package/lib/commonjs/ui/components/TextField/TextFieldOutlined.js +8 -8
  71. package/lib/commonjs/ui/components/TextField/helpers.js +2 -2
  72. package/lib/commonjs/ui/components/TextField.js +7 -7
  73. package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.js +5 -5
  74. package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.native.js +5 -5
  75. package/lib/commonjs/ui/components/Typography/AnimatedText.js +2 -2
  76. package/lib/commonjs/ui/components/feedback/FormInput.js +72 -0
  77. package/lib/commonjs/ui/components/feedback/FormInput.js.map +1 -0
  78. package/lib/commonjs/ui/components/feedback/ProgressIndicator.js +33 -0
  79. package/lib/commonjs/ui/components/feedback/ProgressIndicator.js.map +1 -0
  80. package/lib/commonjs/ui/components/feedback/constants.js +59 -0
  81. package/lib/commonjs/ui/components/feedback/constants.js.map +1 -0
  82. package/lib/commonjs/ui/components/feedback/feedbackStyles.js +262 -0
  83. package/lib/commonjs/ui/components/feedback/feedbackStyles.js.map +1 -0
  84. package/lib/commonjs/ui/components/feedback/index.js +54 -0
  85. package/lib/commonjs/ui/components/feedback/index.js.map +1 -0
  86. package/lib/commonjs/ui/components/feedback/types.js +6 -0
  87. package/lib/commonjs/ui/components/feedback/types.js.map +1 -0
  88. package/lib/commonjs/ui/components/feedback/useFeedbackForm.js +52 -0
  89. package/lib/commonjs/ui/components/feedback/useFeedbackForm.js.map +1 -0
  90. package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js +2 -2
  91. package/lib/commonjs/ui/components/fileManagement/FileViewer.js +3 -3
  92. package/lib/commonjs/ui/components/fileManagement/UploadPreview.js +2 -2
  93. package/lib/commonjs/ui/components/fileManagement/styles.js +1 -1
  94. package/lib/commonjs/ui/components/icon/index.js +2 -2
  95. package/lib/commonjs/ui/components/index.js +16 -16
  96. package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +282 -0
  97. package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -0
  98. package/lib/commonjs/ui/components/modals/index.js +14 -0
  99. package/lib/commonjs/ui/components/modals/index.js.map +1 -0
  100. package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +309 -0
  101. package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +1 -0
  102. package/lib/commonjs/ui/components/payment/PaymentMethodStep.js +79 -0
  103. package/lib/commonjs/ui/components/payment/PaymentMethodStep.js.map +1 -0
  104. package/lib/commonjs/ui/components/payment/PaymentReviewStep.js +108 -0
  105. package/lib/commonjs/ui/components/payment/PaymentReviewStep.js.map +1 -0
  106. package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js +79 -0
  107. package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js.map +1 -0
  108. package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js +176 -0
  109. package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js.map +1 -0
  110. package/lib/commonjs/ui/components/payment/constants.js +53 -0
  111. package/lib/commonjs/ui/components/payment/constants.js.map +1 -0
  112. package/lib/commonjs/ui/components/payment/index.js +80 -0
  113. package/lib/commonjs/ui/components/payment/index.js.map +1 -0
  114. package/lib/commonjs/ui/components/payment/paymentStyles.js +409 -0
  115. package/lib/commonjs/ui/components/payment/paymentStyles.js.map +1 -0
  116. package/lib/commonjs/ui/components/payment/types.js +6 -0
  117. package/lib/commonjs/ui/components/payment/types.js.map +1 -0
  118. package/lib/commonjs/ui/components/profile/EditBioModal.js +5 -5
  119. package/lib/commonjs/ui/components/profile/EditDisplayNameModal.js +5 -5
  120. package/lib/commonjs/ui/components/profile/EditEmailModal.js +5 -5
  121. package/lib/commonjs/ui/components/profile/EditLinksModal.js +5 -5
  122. package/lib/commonjs/ui/components/profile/EditLocationModal.js +5 -5
  123. package/lib/commonjs/ui/components/profile/EditUsernameModal.js +5 -5
  124. package/lib/commonjs/ui/components/theming.js +3 -3
  125. package/lib/commonjs/ui/components/theming.js.map +1 -1
  126. package/lib/commonjs/ui/constants/iconColors.js +1 -1
  127. package/lib/commonjs/ui/context/OxyContext.js +20 -20
  128. package/lib/commonjs/ui/context/OxyContext.js.map +1 -1
  129. package/lib/commonjs/ui/context/hooks/useAuthOperations.js +6 -6
  130. package/lib/commonjs/ui/context/hooks/useAuthOperations.js.map +1 -1
  131. package/lib/commonjs/ui/context/hooks/useDeviceManagement.js +2 -2
  132. package/lib/commonjs/ui/context/hooks/useLanguageManagement.js +2 -2
  133. package/lib/commonjs/ui/context/hooks/useSessionManagement.js +5 -5
  134. package/lib/commonjs/ui/hooks/index.js +30 -4
  135. package/lib/commonjs/ui/hooks/index.js.map +1 -1
  136. package/lib/commonjs/ui/hooks/mutations/index.js +2 -2
  137. package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js +5 -5
  138. package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js +3 -3
  139. package/lib/commonjs/ui/hooks/queries/index.js +4 -4
  140. package/lib/commonjs/ui/hooks/queries/useAccountQueries.js +2 -2
  141. package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js +2 -2
  142. package/lib/commonjs/ui/hooks/queries/useServicesQueries.js +3 -3
  143. package/lib/commonjs/ui/hooks/use-color-scheme.js +1 -1
  144. package/lib/commonjs/ui/hooks/useAssets.js +1 -1
  145. package/lib/commonjs/ui/hooks/useAsyncAction.js +95 -0
  146. package/lib/commonjs/ui/hooks/useAsyncAction.js.map +1 -0
  147. package/lib/commonjs/ui/hooks/useDeviceManagement.js +2 -2
  148. package/lib/commonjs/ui/hooks/useFollow.js +2 -2
  149. package/lib/commonjs/ui/hooks/useI18n.js +3 -3
  150. package/lib/commonjs/ui/hooks/useI18n.js.map +1 -1
  151. package/lib/commonjs/ui/hooks/useLanguageManagement.js +2 -2
  152. package/lib/commonjs/ui/hooks/useProfileEditing.js +3 -3
  153. package/lib/commonjs/ui/hooks/useSessionManagement.js +5 -5
  154. package/lib/commonjs/ui/hooks/useSessionSocket.js +2 -2
  155. package/lib/commonjs/ui/hooks/useSettingToggle.js +126 -0
  156. package/lib/commonjs/ui/hooks/useSettingToggle.js.map +1 -0
  157. package/lib/commonjs/ui/hooks/useStorage.js +1 -1
  158. package/lib/commonjs/ui/hooks/useThemeColors.js +2 -2
  159. package/lib/commonjs/ui/hooks/useThemeStyles.js +3 -3
  160. package/lib/commonjs/ui/index.js +4 -4
  161. package/lib/commonjs/ui/index.js.map +1 -1
  162. package/lib/commonjs/ui/navigation/bottomSheetManager.js +1 -1
  163. package/lib/commonjs/ui/navigation/routes.js +1 -0
  164. package/lib/commonjs/ui/navigation/routes.js.map +1 -1
  165. package/lib/commonjs/ui/screens/AccountCenterScreen.js +20 -18
  166. package/lib/commonjs/ui/screens/AccountCenterScreen.js.map +1 -1
  167. package/lib/commonjs/ui/screens/AccountOverviewScreen.js +63 -60
  168. package/lib/commonjs/ui/screens/AccountOverviewScreen.js.map +1 -1
  169. package/lib/commonjs/ui/screens/AccountSettingsScreen.js +29 -29
  170. package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -1
  171. package/lib/commonjs/ui/screens/AccountSwitcherScreen.js +17 -17
  172. package/lib/commonjs/ui/screens/AccountSwitcherScreen.js.map +1 -1
  173. package/lib/commonjs/ui/screens/AccountVerificationScreen.js +11 -11
  174. package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
  175. package/lib/commonjs/ui/screens/AppInfoScreen.js +20 -20
  176. package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -1
  177. package/lib/commonjs/ui/screens/FAQScreen.js +315 -0
  178. package/lib/commonjs/ui/screens/FAQScreen.js.map +1 -0
  179. package/lib/commonjs/ui/screens/FeedbackScreen.js +84 -601
  180. package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -1
  181. package/lib/commonjs/ui/screens/FileManagementScreen.js +16 -16
  182. package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
  183. package/lib/commonjs/ui/screens/HelpSupportScreen.js +18 -17
  184. package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +1 -1
  185. package/lib/commonjs/ui/screens/HistoryViewScreen.js +14 -14
  186. package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
  187. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +11 -11
  188. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
  189. package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +10 -10
  190. package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -1
  191. package/lib/commonjs/ui/screens/OxyAuthScreen.js +4 -4
  192. package/lib/commonjs/ui/screens/OxyAuthScreen.js.map +1 -1
  193. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +71 -1399
  194. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -1
  195. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +8 -8
  196. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +39 -39
  197. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
  198. package/lib/commonjs/ui/screens/ProfileScreen.js +23 -15
  199. package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
  200. package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +30 -24
  201. package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +1 -1
  202. package/lib/commonjs/ui/screens/SearchSettingsScreen.js +13 -13
  203. package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -1
  204. package/lib/commonjs/ui/screens/SessionManagementScreen.js +10 -10
  205. package/lib/commonjs/ui/screens/SessionManagementScreen.js.map +1 -1
  206. package/lib/commonjs/ui/screens/UserLinksScreen.js +5 -5
  207. package/lib/commonjs/ui/screens/UserLinksScreen.js.map +1 -1
  208. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +10 -10
  209. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
  210. package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js +7 -7
  211. package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js.map +1 -1
  212. package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js +29 -17
  213. package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js.map +1 -1
  214. package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js +8 -8
  215. package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js.map +1 -1
  216. package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js +8 -8
  217. package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -1
  218. package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js +11 -11
  219. package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js.map +1 -1
  220. package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js +7 -7
  221. package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js.map +1 -1
  222. package/lib/commonjs/ui/styles/index.js +4 -4
  223. package/lib/commonjs/ui/styles/spacing.js +1 -1
  224. package/lib/commonjs/ui/styles/theme.js +1 -1
  225. package/lib/commonjs/ui/utils/avatarUtils.js +3 -3
  226. package/lib/commonjs/ui/utils/fileManagement.js +2 -2
  227. package/lib/commonjs/utils/asyncUtils.js +1 -1
  228. package/lib/commonjs/utils/errorUtils.js +2 -2
  229. package/lib/commonjs/utils/index.js +4 -4
  230. package/lib/module/assets/icons/OxyServices.js +1 -1
  231. package/lib/module/assets/icons/OxyServices.js.map +1 -1
  232. package/lib/module/core/HttpService.js +4 -4
  233. package/lib/module/core/HttpService.js.map +1 -1
  234. package/lib/module/core/OxyServices.base.js +3 -3
  235. package/lib/module/core/OxyServices.base.js.map +1 -1
  236. package/lib/module/core/OxyServices.js +2 -2
  237. package/lib/module/core/OxyServices.js.map +1 -1
  238. package/lib/module/core/index.js +8 -8
  239. package/lib/module/core/index.js.map +1 -1
  240. package/lib/module/core/mixins/OxyServices.analytics.js +1 -1
  241. package/lib/module/core/mixins/OxyServices.analytics.js.map +1 -1
  242. package/lib/module/core/mixins/OxyServices.auth.js +1 -1
  243. package/lib/module/core/mixins/OxyServices.auth.js.map +1 -1
  244. package/lib/module/core/mixins/OxyServices.developer.js +1 -1
  245. package/lib/module/core/mixins/OxyServices.developer.js.map +1 -1
  246. package/lib/module/core/mixins/OxyServices.features.js +369 -0
  247. package/lib/module/core/mixins/OxyServices.features.js.map +1 -0
  248. package/lib/module/core/mixins/OxyServices.fedcm.js +1 -1
  249. package/lib/module/core/mixins/OxyServices.fedcm.js.map +1 -1
  250. package/lib/module/core/mixins/OxyServices.karma.js +1 -1
  251. package/lib/module/core/mixins/OxyServices.karma.js.map +1 -1
  252. package/lib/module/core/mixins/OxyServices.language.js +1 -1
  253. package/lib/module/core/mixins/OxyServices.language.js.map +1 -1
  254. package/lib/module/core/mixins/OxyServices.payment.js +1 -1
  255. package/lib/module/core/mixins/OxyServices.payment.js.map +1 -1
  256. package/lib/module/core/mixins/OxyServices.popup.js +1 -1
  257. package/lib/module/core/mixins/OxyServices.popup.js.map +1 -1
  258. package/lib/module/core/mixins/OxyServices.redirect.js +1 -1
  259. package/lib/module/core/mixins/OxyServices.redirect.js.map +1 -1
  260. package/lib/module/core/mixins/OxyServices.user.js +1 -1
  261. package/lib/module/core/mixins/OxyServices.user.js.map +1 -1
  262. package/lib/module/core/mixins/OxyServices.utility.js +1 -1
  263. package/lib/module/core/mixins/OxyServices.utility.js.map +1 -1
  264. package/lib/module/core/mixins/index.js +20 -19
  265. package/lib/module/core/mixins/index.js.map +1 -1
  266. package/lib/module/crypto/index.js +5 -5
  267. package/lib/module/crypto/index.js.map +1 -1
  268. package/lib/module/crypto/recoveryPhrase.js +1 -1
  269. package/lib/module/crypto/recoveryPhrase.js.map +1 -1
  270. package/lib/module/crypto/signatureService.js +1 -1
  271. package/lib/module/crypto/signatureService.js.map +1 -1
  272. package/lib/module/index.js +25 -25
  273. package/lib/module/index.js.map +1 -1
  274. package/lib/module/node/index.js +3 -3
  275. package/lib/module/node/index.js.map +1 -1
  276. package/lib/module/package.json +1 -0
  277. package/lib/module/ui/components/ActivityIndicator.js +1 -1
  278. package/lib/module/ui/components/ActivityIndicator.js.map +1 -1
  279. package/lib/module/ui/components/Avatar.js +2 -2
  280. package/lib/module/ui/components/Avatar.js.map +1 -1
  281. package/lib/module/ui/components/BottomSheet.js +1 -1
  282. package/lib/module/ui/components/BottomSheet.js.map +1 -1
  283. package/lib/module/ui/components/BottomSheetRouter.js +5 -5
  284. package/lib/module/ui/components/BottomSheetRouter.js.map +1 -1
  285. package/lib/module/ui/components/CrossFadeIcon.js +2 -2
  286. package/lib/module/ui/components/CrossFadeIcon.js.map +1 -1
  287. package/lib/module/ui/components/FollowButton.js +5 -5
  288. package/lib/module/ui/components/FollowButton.js.map +1 -1
  289. package/lib/module/ui/components/GroupedItem.js +16 -6
  290. package/lib/module/ui/components/GroupedItem.js.map +1 -1
  291. package/lib/module/ui/components/GroupedSection.js +1 -1
  292. package/lib/module/ui/components/GroupedSection.js.map +1 -1
  293. package/lib/module/ui/components/Header.js +5 -5
  294. package/lib/module/ui/components/Header.js.map +1 -1
  295. package/lib/module/ui/components/HelperText.js +1 -1
  296. package/lib/module/ui/components/HelperText.js.map +1 -1
  297. package/lib/module/ui/components/Icon.js +1 -1
  298. package/lib/module/ui/components/Icon.js.map +1 -1
  299. package/lib/module/ui/components/IconButton/IconButton.js +7 -7
  300. package/lib/module/ui/components/IconButton/IconButton.js.map +1 -1
  301. package/lib/module/ui/components/OxyLogo.js +1 -1
  302. package/lib/module/ui/components/OxyLogo.js.map +1 -1
  303. package/lib/module/ui/components/OxyPayButton.js +2 -2
  304. package/lib/module/ui/components/OxyPayButton.js.map +1 -1
  305. package/lib/module/ui/components/OxyProvider.js +6 -6
  306. package/lib/module/ui/components/OxyProvider.js.map +1 -1
  307. package/lib/module/ui/components/OxySignInButton.js +2 -2
  308. package/lib/module/ui/components/OxySignInButton.js.map +1 -1
  309. package/lib/module/ui/components/ProfileCard.js +7 -7
  310. package/lib/module/ui/components/ProfileCard.js.map +1 -1
  311. package/lib/module/ui/components/QuickActions.js +2 -2
  312. package/lib/module/ui/components/QuickActions.js.map +1 -1
  313. package/lib/module/ui/components/Section.js +3 -3
  314. package/lib/module/ui/components/Section.js.map +1 -1
  315. package/lib/module/ui/components/SectionTitle.js +4 -4
  316. package/lib/module/ui/components/SectionTitle.js.map +1 -1
  317. package/lib/module/ui/components/SettingRow.js +17 -4
  318. package/lib/module/ui/components/SettingRow.js.map +1 -1
  319. package/lib/module/ui/components/StepBasedScreen.js +2 -2
  320. package/lib/module/ui/components/StepBasedScreen.js.map +1 -1
  321. package/lib/module/ui/components/Surface.js +5 -5
  322. package/lib/module/ui/components/Surface.js.map +1 -1
  323. package/lib/module/ui/components/TextField/Addons/Underline.js +1 -1
  324. package/lib/module/ui/components/TextField/Addons/Underline.js.map +1 -1
  325. package/lib/module/ui/components/TextField/Adornment/TextFieldAdornment.js +4 -4
  326. package/lib/module/ui/components/TextField/Adornment/TextFieldAdornment.js.map +1 -1
  327. package/lib/module/ui/components/TextField/Adornment/TextFieldAffix.js +4 -4
  328. package/lib/module/ui/components/TextField/Adornment/TextFieldAffix.js.map +1 -1
  329. package/lib/module/ui/components/TextField/Adornment/TextFieldIcon.js +5 -5
  330. package/lib/module/ui/components/TextField/Adornment/TextFieldIcon.js.map +1 -1
  331. package/lib/module/ui/components/TextField/Label/InputLabel.js +2 -2
  332. package/lib/module/ui/components/TextField/Label/InputLabel.js.map +1 -1
  333. package/lib/module/ui/components/TextField/Label/LabelBackground.js +1 -1
  334. package/lib/module/ui/components/TextField/Label/LabelBackground.js.map +1 -1
  335. package/lib/module/ui/components/TextField/TextFieldFlat.js +8 -8
  336. package/lib/module/ui/components/TextField/TextFieldFlat.js.map +1 -1
  337. package/lib/module/ui/components/TextField/TextFieldOutlined.js +8 -8
  338. package/lib/module/ui/components/TextField/TextFieldOutlined.js.map +1 -1
  339. package/lib/module/ui/components/TextField/helpers.js +2 -2
  340. package/lib/module/ui/components/TextField/helpers.js.map +1 -1
  341. package/lib/module/ui/components/TextField.js +7 -7
  342. package/lib/module/ui/components/TextField.js.map +1 -1
  343. package/lib/module/ui/components/TouchableRipple/TouchableRipple.js +5 -5
  344. package/lib/module/ui/components/TouchableRipple/TouchableRipple.js.map +1 -1
  345. package/lib/module/ui/components/TouchableRipple/TouchableRipple.native.js +5 -5
  346. package/lib/module/ui/components/TouchableRipple/TouchableRipple.native.js.map +1 -1
  347. package/lib/module/ui/components/Typography/AnimatedText.js +2 -2
  348. package/lib/module/ui/components/Typography/AnimatedText.js.map +1 -1
  349. package/lib/module/ui/components/feedback/FormInput.js +67 -0
  350. package/lib/module/ui/components/feedback/FormInput.js.map +1 -0
  351. package/lib/module/ui/components/feedback/ProgressIndicator.js +28 -0
  352. package/lib/module/ui/components/feedback/ProgressIndicator.js.map +1 -0
  353. package/lib/module/ui/components/feedback/constants.js +55 -0
  354. package/lib/module/ui/components/feedback/constants.js.map +1 -0
  355. package/lib/module/ui/components/feedback/feedbackStyles.js +257 -0
  356. package/lib/module/ui/components/feedback/feedbackStyles.js.map +1 -0
  357. package/lib/module/ui/components/feedback/index.js +8 -0
  358. package/lib/module/ui/components/feedback/index.js.map +1 -0
  359. package/lib/module/ui/components/feedback/types.js +4 -0
  360. package/lib/module/ui/components/feedback/types.js.map +1 -0
  361. package/lib/module/ui/components/feedback/useFeedbackForm.js +47 -0
  362. package/lib/module/ui/components/feedback/useFeedbackForm.js.map +1 -0
  363. package/lib/module/ui/components/fileManagement/FileDetailsModal.js +2 -2
  364. package/lib/module/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
  365. package/lib/module/ui/components/fileManagement/FileViewer.js +3 -3
  366. package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -1
  367. package/lib/module/ui/components/fileManagement/UploadPreview.js +2 -2
  368. package/lib/module/ui/components/fileManagement/UploadPreview.js.map +1 -1
  369. package/lib/module/ui/components/fileManagement/styles.js +1 -1
  370. package/lib/module/ui/components/fileManagement/styles.js.map +1 -1
  371. package/lib/module/ui/components/icon/index.js +2 -2
  372. package/lib/module/ui/components/icon/index.js.map +1 -1
  373. package/lib/module/ui/components/index.js +16 -16
  374. package/lib/module/ui/components/index.js.map +1 -1
  375. package/lib/module/ui/components/modals/DeleteAccountModal.js +276 -0
  376. package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -0
  377. package/lib/module/ui/components/modals/index.js +4 -0
  378. package/lib/module/ui/components/modals/index.js.map +1 -0
  379. package/lib/module/ui/components/payment/PaymentDetailsStep.js +303 -0
  380. package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +1 -0
  381. package/lib/module/ui/components/payment/PaymentMethodStep.js +73 -0
  382. package/lib/module/ui/components/payment/PaymentMethodStep.js.map +1 -0
  383. package/lib/module/ui/components/payment/PaymentReviewStep.js +102 -0
  384. package/lib/module/ui/components/payment/PaymentReviewStep.js.map +1 -0
  385. package/lib/module/ui/components/payment/PaymentSuccessStep.js +73 -0
  386. package/lib/module/ui/components/payment/PaymentSuccessStep.js.map +1 -0
  387. package/lib/module/ui/components/payment/PaymentSummaryStep.js +170 -0
  388. package/lib/module/ui/components/payment/PaymentSummaryStep.js.map +1 -0
  389. package/lib/module/ui/components/payment/constants.js +47 -0
  390. package/lib/module/ui/components/payment/constants.js.map +1 -0
  391. package/lib/module/ui/components/payment/index.js +10 -0
  392. package/lib/module/ui/components/payment/index.js.map +1 -0
  393. package/lib/module/ui/components/payment/paymentStyles.js +404 -0
  394. package/lib/module/ui/components/payment/paymentStyles.js.map +1 -0
  395. package/lib/module/ui/components/payment/types.js +4 -0
  396. package/lib/module/ui/components/payment/types.js.map +1 -0
  397. package/lib/module/ui/components/profile/EditBioModal.js +5 -5
  398. package/lib/module/ui/components/profile/EditBioModal.js.map +1 -1
  399. package/lib/module/ui/components/profile/EditDisplayNameModal.js +5 -5
  400. package/lib/module/ui/components/profile/EditDisplayNameModal.js.map +1 -1
  401. package/lib/module/ui/components/profile/EditEmailModal.js +5 -5
  402. package/lib/module/ui/components/profile/EditEmailModal.js.map +1 -1
  403. package/lib/module/ui/components/profile/EditLinksModal.js +5 -5
  404. package/lib/module/ui/components/profile/EditLinksModal.js.map +1 -1
  405. package/lib/module/ui/components/profile/EditLocationModal.js +5 -5
  406. package/lib/module/ui/components/profile/EditLocationModal.js.map +1 -1
  407. package/lib/module/ui/components/profile/EditUsernameModal.js +5 -5
  408. package/lib/module/ui/components/profile/EditUsernameModal.js.map +1 -1
  409. package/lib/module/ui/components/theming.js +1 -1
  410. package/lib/module/ui/components/theming.js.map +1 -1
  411. package/lib/module/ui/constants/iconColors.js +1 -1
  412. package/lib/module/ui/constants/iconColors.js.map +1 -1
  413. package/lib/module/ui/context/OxyContext.js +16 -16
  414. package/lib/module/ui/context/OxyContext.js.map +1 -1
  415. package/lib/module/ui/context/hooks/useAuthOperations.js +4 -4
  416. package/lib/module/ui/context/hooks/useAuthOperations.js.map +1 -1
  417. package/lib/module/ui/context/hooks/useDeviceManagement.js +2 -2
  418. package/lib/module/ui/context/hooks/useDeviceManagement.js.map +1 -1
  419. package/lib/module/ui/context/hooks/useLanguageManagement.js +2 -2
  420. package/lib/module/ui/context/hooks/useLanguageManagement.js.map +1 -1
  421. package/lib/module/ui/context/hooks/useSessionManagement.js +5 -5
  422. package/lib/module/ui/context/hooks/useSessionManagement.js.map +1 -1
  423. package/lib/module/ui/hooks/index.js +6 -4
  424. package/lib/module/ui/hooks/index.js.map +1 -1
  425. package/lib/module/ui/hooks/mutations/index.js +2 -2
  426. package/lib/module/ui/hooks/mutations/index.js.map +1 -1
  427. package/lib/module/ui/hooks/mutations/useAccountMutations.js +5 -5
  428. package/lib/module/ui/hooks/mutations/useAccountMutations.js.map +1 -1
  429. package/lib/module/ui/hooks/mutations/useServicesMutations.js +3 -3
  430. package/lib/module/ui/hooks/mutations/useServicesMutations.js.map +1 -1
  431. package/lib/module/ui/hooks/queries/index.js +4 -4
  432. package/lib/module/ui/hooks/queries/index.js.map +1 -1
  433. package/lib/module/ui/hooks/queries/useAccountQueries.js +2 -2
  434. package/lib/module/ui/hooks/queries/useAccountQueries.js.map +1 -1
  435. package/lib/module/ui/hooks/queries/useSecurityQueries.js +2 -2
  436. package/lib/module/ui/hooks/queries/useSecurityQueries.js.map +1 -1
  437. package/lib/module/ui/hooks/queries/useServicesQueries.js +3 -3
  438. package/lib/module/ui/hooks/queries/useServicesQueries.js.map +1 -1
  439. package/lib/module/ui/hooks/use-color-scheme.js +1 -1
  440. package/lib/module/ui/hooks/use-color-scheme.js.map +1 -1
  441. package/lib/module/ui/hooks/useAssets.js +1 -1
  442. package/lib/module/ui/hooks/useAssets.js.map +1 -1
  443. package/lib/module/ui/hooks/useAsyncAction.js +89 -0
  444. package/lib/module/ui/hooks/useAsyncAction.js.map +1 -0
  445. package/lib/module/ui/hooks/useDeviceManagement.js +2 -2
  446. package/lib/module/ui/hooks/useDeviceManagement.js.map +1 -1
  447. package/lib/module/ui/hooks/useFollow.js +2 -2
  448. package/lib/module/ui/hooks/useFollow.js.map +1 -1
  449. package/lib/module/ui/hooks/useI18n.js +2 -2
  450. package/lib/module/ui/hooks/useI18n.js.map +1 -1
  451. package/lib/module/ui/hooks/useLanguageManagement.js +2 -2
  452. package/lib/module/ui/hooks/useLanguageManagement.js.map +1 -1
  453. package/lib/module/ui/hooks/useProfileEditing.js +3 -3
  454. package/lib/module/ui/hooks/useProfileEditing.js.map +1 -1
  455. package/lib/module/ui/hooks/useSessionManagement.js +5 -5
  456. package/lib/module/ui/hooks/useSessionManagement.js.map +1 -1
  457. package/lib/module/ui/hooks/useSessionSocket.js +2 -2
  458. package/lib/module/ui/hooks/useSessionSocket.js.map +1 -1
  459. package/lib/module/ui/hooks/useSettingToggle.js +120 -0
  460. package/lib/module/ui/hooks/useSettingToggle.js.map +1 -0
  461. package/lib/module/ui/hooks/useStorage.js +1 -1
  462. package/lib/module/ui/hooks/useStorage.js.map +1 -1
  463. package/lib/module/ui/hooks/useThemeColors.js +2 -2
  464. package/lib/module/ui/hooks/useThemeColors.js.map +1 -1
  465. package/lib/module/ui/hooks/useThemeStyles.js +3 -3
  466. package/lib/module/ui/hooks/useThemeStyles.js.map +1 -1
  467. package/lib/module/ui/index.js +3 -3
  468. package/lib/module/ui/index.js.map +1 -1
  469. package/lib/module/ui/navigation/bottomSheetManager.js +1 -1
  470. package/lib/module/ui/navigation/bottomSheetManager.js.map +1 -1
  471. package/lib/module/ui/navigation/routes.js +1 -0
  472. package/lib/module/ui/navigation/routes.js.map +1 -1
  473. package/lib/module/ui/screens/AccountCenterScreen.js +20 -18
  474. package/lib/module/ui/screens/AccountCenterScreen.js.map +1 -1
  475. package/lib/module/ui/screens/AccountOverviewScreen.js +47 -44
  476. package/lib/module/ui/screens/AccountOverviewScreen.js.map +1 -1
  477. package/lib/module/ui/screens/AccountSettingsScreen.js +24 -24
  478. package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -1
  479. package/lib/module/ui/screens/AccountSwitcherScreen.js +10 -10
  480. package/lib/module/ui/screens/AccountSwitcherScreen.js.map +1 -1
  481. package/lib/module/ui/screens/AccountVerificationScreen.js +6 -6
  482. package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
  483. package/lib/module/ui/screens/AppInfoScreen.js +8 -8
  484. package/lib/module/ui/screens/AppInfoScreen.js.map +1 -1
  485. package/lib/module/ui/screens/FAQScreen.js +310 -0
  486. package/lib/module/ui/screens/FAQScreen.js.map +1 -0
  487. package/lib/module/ui/screens/FeedbackScreen.js +71 -588
  488. package/lib/module/ui/screens/FeedbackScreen.js.map +1 -1
  489. package/lib/module/ui/screens/FileManagementScreen.js +15 -15
  490. package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
  491. package/lib/module/ui/screens/HelpSupportScreen.js +13 -12
  492. package/lib/module/ui/screens/HelpSupportScreen.js.map +1 -1
  493. package/lib/module/ui/screens/HistoryViewScreen.js +7 -7
  494. package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
  495. package/lib/module/ui/screens/LanguageSelectorScreen.js +9 -9
  496. package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -1
  497. package/lib/module/ui/screens/LegalDocumentsScreen.js +5 -5
  498. package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -1
  499. package/lib/module/ui/screens/OxyAuthScreen.js +3 -3
  500. package/lib/module/ui/screens/OxyAuthScreen.js.map +1 -1
  501. package/lib/module/ui/screens/PaymentGatewayScreen.js +69 -1399
  502. package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -1
  503. package/lib/module/ui/screens/PremiumSubscriptionScreen.js +8 -8
  504. package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
  505. package/lib/module/ui/screens/PrivacySettingsScreen.js +6 -6
  506. package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
  507. package/lib/module/ui/screens/ProfileScreen.js +21 -13
  508. package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
  509. package/lib/module/ui/screens/SavesCollectionsScreen.js +22 -16
  510. package/lib/module/ui/screens/SavesCollectionsScreen.js.map +1 -1
  511. package/lib/module/ui/screens/SearchSettingsScreen.js +6 -6
  512. package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -1
  513. package/lib/module/ui/screens/SessionManagementScreen.js +7 -7
  514. package/lib/module/ui/screens/SessionManagementScreen.js.map +1 -1
  515. package/lib/module/ui/screens/UserLinksScreen.js +3 -3
  516. package/lib/module/ui/screens/UserLinksScreen.js.map +1 -1
  517. package/lib/module/ui/screens/WelcomeNewUserScreen.js +9 -9
  518. package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
  519. package/lib/module/ui/screens/karma/KarmaAboutScreen.js +6 -6
  520. package/lib/module/ui/screens/karma/KarmaAboutScreen.js.map +1 -1
  521. package/lib/module/ui/screens/karma/KarmaCenterScreen.js +29 -17
  522. package/lib/module/ui/screens/karma/KarmaCenterScreen.js.map +1 -1
  523. package/lib/module/ui/screens/karma/KarmaFAQScreen.js +6 -6
  524. package/lib/module/ui/screens/karma/KarmaFAQScreen.js.map +1 -1
  525. package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js +7 -7
  526. package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -1
  527. package/lib/module/ui/screens/karma/KarmaRewardsScreen.js +9 -9
  528. package/lib/module/ui/screens/karma/KarmaRewardsScreen.js.map +1 -1
  529. package/lib/module/ui/screens/karma/KarmaRulesScreen.js +6 -6
  530. package/lib/module/ui/screens/karma/KarmaRulesScreen.js.map +1 -1
  531. package/lib/module/ui/styles/index.js +4 -4
  532. package/lib/module/ui/styles/index.js.map +1 -1
  533. package/lib/module/ui/styles/spacing.js +1 -1
  534. package/lib/module/ui/styles/spacing.js.map +1 -1
  535. package/lib/module/ui/styles/theme.js +1 -1
  536. package/lib/module/ui/styles/theme.js.map +1 -1
  537. package/lib/module/ui/utils/avatarUtils.js +3 -3
  538. package/lib/module/ui/utils/avatarUtils.js.map +1 -1
  539. package/lib/module/ui/utils/fileManagement.js +2 -2
  540. package/lib/module/ui/utils/fileManagement.js.map +1 -1
  541. package/lib/module/utils/asyncUtils.js +1 -1
  542. package/lib/module/utils/asyncUtils.js.map +1 -1
  543. package/lib/module/utils/errorUtils.js +2 -2
  544. package/lib/module/utils/errorUtils.js.map +1 -1
  545. package/lib/module/utils/index.js +4 -4
  546. package/lib/module/utils/index.js.map +1 -1
  547. package/lib/typescript/commonjs/assets/icons/OxyServices.d.ts.map +1 -0
  548. package/lib/typescript/commonjs/assets/illustrations/HighFive.d.ts.map +1 -0
  549. package/lib/typescript/commonjs/constants/version.d.ts.map +1 -0
  550. package/lib/typescript/commonjs/core/CrossDomainAuth.d.ts.map +1 -0
  551. package/lib/typescript/commonjs/core/HttpService.d.ts.map +1 -0
  552. package/lib/typescript/commonjs/core/OxyServices.base.d.ts.map +1 -0
  553. package/lib/typescript/commonjs/core/OxyServices.d.ts.map +1 -0
  554. package/lib/typescript/commonjs/core/OxyServices.errors.d.ts.map +1 -0
  555. package/lib/typescript/commonjs/core/index.d.ts.map +1 -0
  556. package/lib/typescript/commonjs/core/mixins/OxyServices.analytics.d.ts.map +1 -0
  557. package/lib/typescript/commonjs/core/mixins/OxyServices.assets.d.ts.map +1 -0
  558. package/lib/typescript/commonjs/core/mixins/OxyServices.auth.d.ts.map +1 -0
  559. package/lib/typescript/commonjs/core/mixins/OxyServices.developer.d.ts.map +1 -0
  560. package/lib/typescript/commonjs/core/mixins/OxyServices.devices.d.ts.map +1 -0
  561. package/lib/typescript/commonjs/core/mixins/OxyServices.features.d.ts +229 -0
  562. package/lib/typescript/commonjs/core/mixins/OxyServices.features.d.ts.map +1 -0
  563. package/lib/typescript/commonjs/core/mixins/OxyServices.fedcm.d.ts.map +1 -0
  564. package/lib/typescript/commonjs/core/mixins/OxyServices.karma.d.ts.map +1 -0
  565. package/lib/typescript/commonjs/core/mixins/OxyServices.language.d.ts.map +1 -0
  566. package/lib/typescript/commonjs/core/mixins/OxyServices.location.d.ts.map +1 -0
  567. package/lib/typescript/commonjs/core/mixins/OxyServices.payment.d.ts.map +1 -0
  568. package/lib/typescript/commonjs/core/mixins/OxyServices.popup.d.ts.map +1 -0
  569. package/lib/typescript/commonjs/core/mixins/OxyServices.privacy.d.ts.map +1 -0
  570. package/lib/typescript/commonjs/core/mixins/OxyServices.redirect.d.ts.map +1 -0
  571. package/lib/typescript/commonjs/core/mixins/OxyServices.security.d.ts.map +1 -0
  572. package/lib/typescript/commonjs/core/mixins/OxyServices.user.d.ts.map +1 -0
  573. package/lib/typescript/commonjs/core/mixins/OxyServices.utility.d.ts.map +1 -0
  574. package/lib/typescript/commonjs/core/mixins/index.d.ts +1128 -0
  575. package/lib/typescript/commonjs/core/mixins/index.d.ts.map +1 -0
  576. package/lib/typescript/commonjs/core/mixins/mixinHelpers.d.ts.map +1 -0
  577. package/lib/typescript/commonjs/crypto/index.d.ts.map +1 -0
  578. package/lib/typescript/commonjs/crypto/keyManager.d.ts.map +1 -0
  579. package/lib/typescript/commonjs/crypto/polyfill.d.ts.map +1 -0
  580. package/lib/typescript/commonjs/crypto/recoveryPhrase.d.ts.map +1 -0
  581. package/lib/typescript/commonjs/crypto/signatureService.d.ts.map +1 -0
  582. package/lib/typescript/commonjs/i18n/index.d.ts.map +1 -0
  583. package/lib/typescript/commonjs/index.d.ts.map +1 -0
  584. package/lib/typescript/commonjs/lib/sonner-safe.d.ts.map +1 -0
  585. package/lib/typescript/commonjs/lib/sonner.d.ts.map +1 -0
  586. package/lib/typescript/commonjs/models/interfaces.d.ts.map +1 -0
  587. package/lib/typescript/commonjs/models/session.d.ts.map +1 -0
  588. package/lib/typescript/commonjs/node/index.d.ts.map +1 -0
  589. package/lib/typescript/commonjs/package.json +1 -0
  590. package/lib/typescript/commonjs/ui/components/ActivityIndicator.d.ts.map +1 -0
  591. package/lib/typescript/commonjs/ui/components/AnimationExample.d.ts.map +1 -0
  592. package/lib/typescript/commonjs/ui/components/AutoHeightScrollView.d.ts.map +1 -0
  593. package/lib/typescript/commonjs/ui/components/Avatar.d.ts.map +1 -0
  594. package/lib/typescript/commonjs/ui/components/BottomSheet.d.ts.map +1 -0
  595. package/lib/typescript/commonjs/ui/components/BottomSheetRouter.d.ts.map +1 -0
  596. package/lib/typescript/commonjs/ui/components/CrossFadeIcon.d.ts.map +1 -0
  597. package/lib/typescript/commonjs/ui/components/EmptyState.d.ts.map +1 -0
  598. package/lib/typescript/commonjs/ui/components/ErrorBoundary.d.ts.map +1 -0
  599. package/lib/typescript/commonjs/ui/components/FollowButton.d.ts.map +1 -0
  600. package/lib/typescript/commonjs/ui/components/FontLoader.d.ts.map +1 -0
  601. package/lib/typescript/commonjs/ui/components/GroupedItem.d.ts +24 -0
  602. package/lib/typescript/commonjs/ui/components/GroupedItem.d.ts.map +1 -0
  603. package/lib/typescript/commonjs/ui/components/GroupedSection.d.ts.map +1 -0
  604. package/lib/typescript/commonjs/ui/components/Header.d.ts.map +1 -0
  605. package/lib/typescript/commonjs/ui/components/HelperText.d.ts.map +1 -0
  606. package/lib/typescript/commonjs/ui/components/Icon.d.ts.map +1 -0
  607. package/lib/typescript/commonjs/ui/components/IconButton/IconButton.d.ts.map +1 -0
  608. package/lib/typescript/commonjs/ui/components/IconButton/utils.d.ts.map +1 -0
  609. package/lib/typescript/commonjs/ui/components/LoadingState.d.ts.map +1 -0
  610. package/lib/typescript/commonjs/ui/components/OxyLogo.d.ts.map +1 -0
  611. package/lib/typescript/commonjs/ui/components/OxyPayButton.d.ts.map +1 -0
  612. package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts.map +1 -0
  613. package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts.map +1 -0
  614. package/lib/typescript/commonjs/ui/components/ProfileCard.d.ts.map +1 -0
  615. package/lib/typescript/commonjs/ui/components/QuickActions.d.ts.map +1 -0
  616. package/lib/typescript/commonjs/ui/components/Section.d.ts.map +1 -0
  617. package/lib/typescript/commonjs/ui/components/SectionTitle.d.ts.map +1 -0
  618. package/lib/typescript/commonjs/ui/components/SettingRow.d.ts +20 -0
  619. package/lib/typescript/commonjs/ui/components/SettingRow.d.ts.map +1 -0
  620. package/lib/typescript/commonjs/ui/components/StepBasedScreen.d.ts.map +1 -0
  621. package/lib/typescript/commonjs/ui/components/Surface.d.ts.map +1 -0
  622. package/lib/typescript/commonjs/ui/components/TextField/Addons/Outline.d.ts.map +1 -0
  623. package/lib/typescript/commonjs/ui/components/TextField/Addons/Underline.d.ts.map +1 -0
  624. package/lib/typescript/commonjs/ui/components/TextField/Adornment/TextFieldAdornment.d.ts.map +1 -0
  625. package/lib/typescript/commonjs/ui/components/TextField/Adornment/TextFieldAffix.d.ts.map +1 -0
  626. package/lib/typescript/commonjs/ui/components/TextField/Adornment/TextFieldIcon.d.ts.map +1 -0
  627. package/lib/typescript/commonjs/ui/components/TextField/Adornment/enums.d.ts.map +1 -0
  628. package/lib/typescript/commonjs/ui/components/TextField/Adornment/types.d.ts.map +1 -0
  629. package/lib/typescript/commonjs/ui/components/TextField/Adornment/utils.d.ts.map +1 -0
  630. package/lib/typescript/commonjs/ui/components/TextField/Label/InputLabel.d.ts.map +1 -0
  631. package/lib/typescript/commonjs/ui/components/TextField/Label/LabelBackground.d.ts.map +1 -0
  632. package/lib/typescript/commonjs/ui/components/TextField/TextFieldFlat.d.ts.map +1 -0
  633. package/lib/typescript/commonjs/ui/components/TextField/TextFieldOutlined.d.ts.map +1 -0
  634. package/lib/typescript/commonjs/ui/components/TextField/constants.d.ts.map +1 -0
  635. package/lib/typescript/commonjs/ui/components/TextField/helpers.d.ts.map +1 -0
  636. package/lib/typescript/commonjs/ui/components/TextField/types.d.ts.map +1 -0
  637. package/lib/typescript/commonjs/ui/components/TextField.d.ts.map +1 -0
  638. package/lib/typescript/commonjs/ui/components/TouchableRipple/Pressable.d.ts.map +1 -0
  639. package/lib/typescript/commonjs/ui/components/TouchableRipple/TouchableRipple.d.ts.map +1 -0
  640. package/lib/typescript/commonjs/ui/components/TouchableRipple/TouchableRipple.native.d.ts.map +1 -0
  641. package/lib/typescript/commonjs/ui/components/TouchableRipple/utils.d.ts.map +1 -0
  642. package/lib/typescript/commonjs/ui/components/Typography/AnimatedText.d.ts.map +1 -0
  643. package/lib/typescript/commonjs/ui/components/Typography/types.d.ts.map +1 -0
  644. package/lib/typescript/commonjs/ui/components/feedback/FormInput.d.ts +20 -0
  645. package/lib/typescript/commonjs/ui/components/feedback/FormInput.d.ts.map +1 -0
  646. package/lib/typescript/commonjs/ui/components/feedback/ProgressIndicator.d.ts +11 -0
  647. package/lib/typescript/commonjs/ui/components/feedback/ProgressIndicator.d.ts.map +1 -0
  648. package/lib/typescript/commonjs/ui/components/feedback/constants.d.ts +5 -0
  649. package/lib/typescript/commonjs/ui/components/feedback/constants.d.ts.map +1 -0
  650. package/lib/typescript/commonjs/ui/components/feedback/feedbackStyles.d.ts +280 -0
  651. package/lib/typescript/commonjs/ui/components/feedback/feedbackStyles.d.ts.map +1 -0
  652. package/lib/typescript/commonjs/ui/components/feedback/index.d.ts +7 -0
  653. package/lib/typescript/commonjs/ui/components/feedback/index.d.ts.map +1 -0
  654. package/lib/typescript/commonjs/ui/components/feedback/types.d.ts +46 -0
  655. package/lib/typescript/commonjs/ui/components/feedback/types.d.ts.map +1 -0
  656. package/lib/typescript/commonjs/ui/components/feedback/useFeedbackForm.d.ts +9 -0
  657. package/lib/typescript/commonjs/ui/components/feedback/useFeedbackForm.d.ts.map +1 -0
  658. package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -0
  659. package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts.map +1 -0
  660. package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts.map +1 -0
  661. package/lib/typescript/commonjs/ui/components/fileManagement/styles.d.ts.map +1 -0
  662. package/lib/typescript/commonjs/ui/components/icon/FAIRWalletIcon.d.ts.map +1 -0
  663. package/lib/typescript/commonjs/ui/components/icon/OxyIcon.d.ts.map +1 -0
  664. package/lib/typescript/commonjs/ui/components/icon/index.d.ts.map +1 -0
  665. package/lib/typescript/commonjs/ui/components/index.d.ts.map +1 -0
  666. package/lib/typescript/commonjs/ui/components/internal/GroupedPillButtons.d.ts.map +1 -0
  667. package/lib/typescript/commonjs/ui/components/internal/PinInput.d.ts.map +1 -0
  668. package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts +19 -0
  669. package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts.map +1 -0
  670. package/lib/typescript/commonjs/ui/components/modals/index.d.ts +2 -0
  671. package/lib/typescript/commonjs/ui/components/modals/index.d.ts.map +1 -0
  672. package/lib/typescript/commonjs/ui/components/payment/PaymentDetailsStep.d.ts +21 -0
  673. package/lib/typescript/commonjs/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -0
  674. package/lib/typescript/commonjs/ui/components/payment/PaymentMethodStep.d.ts +14 -0
  675. package/lib/typescript/commonjs/ui/components/payment/PaymentMethodStep.d.ts.map +1 -0
  676. package/lib/typescript/commonjs/ui/components/payment/PaymentReviewStep.d.ts +16 -0
  677. package/lib/typescript/commonjs/ui/components/payment/PaymentReviewStep.d.ts.map +1 -0
  678. package/lib/typescript/commonjs/ui/components/payment/PaymentSuccessStep.d.ts +10 -0
  679. package/lib/typescript/commonjs/ui/components/payment/PaymentSuccessStep.d.ts.map +1 -0
  680. package/lib/typescript/commonjs/ui/components/payment/PaymentSummaryStep.d.ts +15 -0
  681. package/lib/typescript/commonjs/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -0
  682. package/lib/typescript/commonjs/ui/components/payment/constants.d.ts +7 -0
  683. package/lib/typescript/commonjs/ui/components/payment/constants.d.ts.map +1 -0
  684. package/lib/typescript/commonjs/ui/components/payment/index.d.ts +9 -0
  685. package/lib/typescript/commonjs/ui/components/payment/index.d.ts.map +1 -0
  686. package/lib/typescript/commonjs/ui/components/payment/paymentStyles.d.ts +396 -0
  687. package/lib/typescript/commonjs/ui/components/payment/paymentStyles.d.ts.map +1 -0
  688. package/lib/typescript/commonjs/ui/components/payment/types.d.ts +40 -0
  689. package/lib/typescript/commonjs/ui/components/payment/types.d.ts.map +1 -0
  690. package/lib/typescript/commonjs/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +1 -0
  691. package/lib/typescript/commonjs/ui/components/profile/EditBioModal.d.ts.map +1 -0
  692. package/lib/typescript/commonjs/ui/components/profile/EditDisplayNameModal.d.ts.map +1 -0
  693. package/lib/typescript/commonjs/ui/components/profile/EditEmailModal.d.ts.map +1 -0
  694. package/lib/typescript/commonjs/ui/components/profile/EditLinksModal.d.ts.map +1 -0
  695. package/lib/typescript/commonjs/ui/components/profile/EditLocationModal.d.ts.map +1 -0
  696. package/lib/typescript/commonjs/ui/components/profile/EditUsernameModal.d.ts.map +1 -0
  697. package/lib/typescript/commonjs/ui/components/styles/overlay.d.ts.map +1 -0
  698. package/lib/typescript/commonjs/ui/components/styles/shadow.d.ts.map +1 -0
  699. package/lib/typescript/commonjs/ui/components/theming.d.ts.map +1 -0
  700. package/lib/typescript/commonjs/ui/components/types.d.ts.map +1 -0
  701. package/lib/typescript/commonjs/ui/components/utils/forwardRef.d.ts.map +1 -0
  702. package/lib/typescript/commonjs/ui/components/utils/hasTouchHandler.d.ts.map +1 -0
  703. package/lib/typescript/commonjs/ui/components/utils/roundLayoutSize.d.ts.map +1 -0
  704. package/lib/typescript/commonjs/ui/components/utils/splitStyles.d.ts.map +1 -0
  705. package/lib/typescript/commonjs/ui/constants/iconColors.d.ts.map +1 -0
  706. package/lib/typescript/commonjs/ui/constants/spacing.d.ts.map +1 -0
  707. package/lib/typescript/commonjs/ui/constants/theme.d.ts.map +1 -0
  708. package/lib/typescript/commonjs/ui/context/OxyContext.d.ts.map +1 -0
  709. package/lib/typescript/commonjs/ui/context/ThemeContext.d.ts.map +1 -0
  710. package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts.map +1 -0
  711. package/lib/typescript/commonjs/ui/context/hooks/useDeviceManagement.d.ts.map +1 -0
  712. package/lib/typescript/commonjs/ui/context/hooks/useLanguageManagement.d.ts.map +1 -0
  713. package/lib/typescript/commonjs/ui/context/hooks/useSessionManagement.d.ts.map +1 -0
  714. package/lib/typescript/commonjs/ui/hooks/index.d.ts +7 -0
  715. package/lib/typescript/commonjs/ui/hooks/index.d.ts.map +1 -0
  716. package/lib/typescript/commonjs/ui/hooks/mutations/index.d.ts.map +1 -0
  717. package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -0
  718. package/lib/typescript/commonjs/ui/hooks/mutations/useServicesMutations.d.ts.map +1 -0
  719. package/lib/typescript/commonjs/ui/hooks/queries/index.d.ts.map +1 -0
  720. package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts.map +1 -0
  721. package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts.map +1 -0
  722. package/lib/typescript/commonjs/ui/hooks/queries/useSecurityQueries.d.ts.map +1 -0
  723. package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts.map +1 -0
  724. package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts.map +1 -0
  725. package/lib/typescript/commonjs/ui/hooks/use-color-scheme.d.ts.map +1 -0
  726. package/lib/typescript/commonjs/ui/hooks/use-haptic-press.d.ts.map +1 -0
  727. package/lib/typescript/commonjs/ui/hooks/useAssets.d.ts.map +1 -0
  728. package/lib/typescript/commonjs/ui/hooks/useAsyncAction.d.ts +51 -0
  729. package/lib/typescript/commonjs/ui/hooks/useAsyncAction.d.ts.map +1 -0
  730. package/lib/typescript/commonjs/ui/hooks/useDeviceManagement.d.ts.map +1 -0
  731. package/lib/typescript/commonjs/ui/hooks/useFileDownloadUrl.d.ts.map +1 -0
  732. package/lib/typescript/commonjs/ui/hooks/useFollow.d.ts.map +1 -0
  733. package/lib/typescript/commonjs/ui/hooks/useFollow.types.d.ts.map +1 -0
  734. package/lib/typescript/commonjs/ui/hooks/useI18n.d.ts.map +1 -0
  735. package/lib/typescript/commonjs/ui/hooks/useLanguageManagement.d.ts.map +1 -0
  736. package/lib/typescript/commonjs/ui/hooks/useProfileEditing.d.ts.map +1 -0
  737. package/lib/typescript/commonjs/ui/hooks/useQueryClient.d.ts.map +1 -0
  738. package/lib/typescript/commonjs/ui/hooks/useSessionManagement.d.ts.map +1 -0
  739. package/lib/typescript/commonjs/ui/hooks/useSessionSocket.d.ts.map +1 -0
  740. package/lib/typescript/commonjs/ui/hooks/useSettingToggle.d.ts +55 -0
  741. package/lib/typescript/commonjs/ui/hooks/useSettingToggle.d.ts.map +1 -0
  742. package/lib/typescript/commonjs/ui/hooks/useStorage.d.ts.map +1 -0
  743. package/lib/typescript/commonjs/ui/hooks/useThemeColors.d.ts.map +1 -0
  744. package/lib/typescript/commonjs/ui/hooks/useThemeStyles.d.ts.map +1 -0
  745. package/lib/typescript/commonjs/ui/index.d.ts.map +1 -0
  746. package/lib/typescript/commonjs/ui/isFrontend.d.ts.map +1 -0
  747. package/lib/typescript/commonjs/ui/navigation/bottomSheetManager.d.ts.map +1 -0
  748. package/lib/typescript/commonjs/ui/navigation/routes.d.ts +6 -0
  749. package/lib/typescript/commonjs/ui/navigation/routes.d.ts.map +1 -0
  750. package/lib/typescript/commonjs/ui/screens/AccountCenterScreen.d.ts.map +1 -0
  751. package/lib/typescript/commonjs/ui/screens/AccountOverviewScreen.d.ts.map +1 -0
  752. package/lib/typescript/commonjs/ui/screens/AccountSettingsScreen.d.ts.map +1 -0
  753. package/lib/typescript/commonjs/ui/screens/AccountSwitcherScreen.d.ts.map +1 -0
  754. package/lib/typescript/commonjs/ui/screens/AccountVerificationScreen.d.ts.map +1 -0
  755. package/lib/typescript/commonjs/ui/screens/AppInfoScreen.d.ts.map +1 -0
  756. package/lib/typescript/commonjs/ui/screens/FAQScreen.d.ts +5 -0
  757. package/lib/typescript/commonjs/ui/screens/FAQScreen.d.ts.map +1 -0
  758. package/lib/typescript/commonjs/ui/screens/FeedbackScreen.d.ts.map +1 -0
  759. package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts.map +1 -0
  760. package/lib/typescript/commonjs/ui/screens/HelpSupportScreen.d.ts.map +1 -0
  761. package/lib/typescript/commonjs/ui/screens/HistoryViewScreen.d.ts.map +1 -0
  762. package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts.map +1 -0
  763. package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts.map +1 -0
  764. package/lib/typescript/commonjs/ui/screens/OxyAuthScreen.d.ts.map +1 -0
  765. package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts +15 -0
  766. package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts.map +1 -0
  767. package/lib/typescript/commonjs/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -0
  768. package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +1 -0
  769. package/lib/typescript/commonjs/ui/screens/ProfileScreen.d.ts.map +1 -0
  770. package/lib/typescript/commonjs/ui/screens/SavesCollectionsScreen.d.ts.map +1 -0
  771. package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts.map +1 -0
  772. package/lib/typescript/commonjs/ui/screens/SessionManagementScreen.d.ts.map +1 -0
  773. package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts.map +1 -0
  774. package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -0
  775. package/lib/typescript/commonjs/ui/screens/karma/KarmaAboutScreen.d.ts.map +1 -0
  776. package/lib/typescript/commonjs/ui/screens/karma/KarmaCenterScreen.d.ts.map +1 -0
  777. package/lib/typescript/commonjs/ui/screens/karma/KarmaFAQScreen.d.ts.map +1 -0
  778. package/lib/typescript/commonjs/ui/screens/karma/KarmaLeaderboardScreen.d.ts.map +1 -0
  779. package/lib/typescript/commonjs/ui/screens/karma/KarmaRewardsScreen.d.ts.map +1 -0
  780. package/lib/typescript/commonjs/ui/screens/karma/KarmaRulesScreen.d.ts.map +1 -0
  781. package/lib/typescript/commonjs/ui/stores/accountStore.d.ts.map +1 -0
  782. package/lib/typescript/commonjs/ui/stores/assetStore.d.ts.map +1 -0
  783. package/lib/typescript/commonjs/ui/stores/authStore.d.ts.map +1 -0
  784. package/lib/typescript/commonjs/ui/stores/fileStore.d.ts.map +1 -0
  785. package/lib/typescript/commonjs/ui/stores/followStore.d.ts.map +1 -0
  786. package/lib/typescript/commonjs/ui/styles/authStyles.d.ts.map +1 -0
  787. package/lib/typescript/commonjs/ui/styles/fonts.d.ts.map +1 -0
  788. package/lib/typescript/commonjs/ui/styles/index.d.ts.map +1 -0
  789. package/lib/typescript/commonjs/ui/styles/spacing.d.ts.map +1 -0
  790. package/lib/typescript/commonjs/ui/styles/theme.d.ts.map +1 -0
  791. package/lib/typescript/commonjs/ui/types/fileManagement.d.ts.map +1 -0
  792. package/lib/typescript/commonjs/ui/types/navigation.d.ts.map +1 -0
  793. package/lib/typescript/commonjs/ui/utils/avatarUtils.d.ts.map +1 -0
  794. package/lib/typescript/commonjs/ui/utils/colorUtils.d.ts.map +1 -0
  795. package/lib/typescript/commonjs/ui/utils/confirmAction.d.ts.map +1 -0
  796. package/lib/typescript/commonjs/ui/utils/errorHandlers.d.ts.map +1 -0
  797. package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts.map +1 -0
  798. package/lib/typescript/commonjs/ui/utils/sessionHelpers.d.ts.map +1 -0
  799. package/lib/typescript/commonjs/ui/utils/storageHelpers.d.ts.map +1 -0
  800. package/lib/typescript/commonjs/ui/utils/themeUtils.d.ts.map +1 -0
  801. package/lib/typescript/commonjs/ui/utils/user-utils.d.ts.map +1 -0
  802. package/lib/typescript/commonjs/utils/apiUtils.d.ts.map +1 -0
  803. package/lib/typescript/commonjs/utils/asyncUtils.d.ts.map +1 -0
  804. package/lib/typescript/commonjs/utils/cache.d.ts.map +1 -0
  805. package/lib/typescript/commonjs/utils/deviceManager.d.ts.map +1 -0
  806. package/lib/typescript/commonjs/utils/errorUtils.d.ts.map +1 -0
  807. package/lib/typescript/commonjs/utils/hookUtils.d.ts.map +1 -0
  808. package/lib/typescript/commonjs/utils/index.d.ts.map +1 -0
  809. package/lib/typescript/commonjs/utils/languageUtils.d.ts.map +1 -0
  810. package/lib/typescript/commonjs/utils/loggerUtils.d.ts.map +1 -0
  811. package/lib/typescript/commonjs/utils/requestUtils.d.ts.map +1 -0
  812. package/lib/typescript/commonjs/utils/sessionUtils.d.ts.map +1 -0
  813. package/lib/typescript/commonjs/utils/validationUtils.d.ts.map +1 -0
  814. package/lib/typescript/module/assets/icons/OxyServices.d.ts +29 -0
  815. package/lib/typescript/module/assets/icons/OxyServices.d.ts.map +1 -0
  816. package/lib/typescript/module/assets/illustrations/HighFive.d.ts +9 -0
  817. package/lib/typescript/module/assets/illustrations/HighFive.d.ts.map +1 -0
  818. package/lib/typescript/module/constants/version.d.ts +14 -0
  819. package/lib/typescript/module/constants/version.d.ts.map +1 -0
  820. package/lib/typescript/module/core/CrossDomainAuth.d.ts +161 -0
  821. package/lib/typescript/module/core/CrossDomainAuth.d.ts.map +1 -0
  822. package/lib/typescript/module/core/HttpService.d.ts +159 -0
  823. package/lib/typescript/module/core/HttpService.d.ts.map +1 -0
  824. package/lib/typescript/module/core/OxyServices.base.d.ts +127 -0
  825. package/lib/typescript/module/core/OxyServices.base.d.ts.map +1 -0
  826. package/lib/typescript/module/core/OxyServices.d.ts +82 -0
  827. package/lib/typescript/module/core/OxyServices.d.ts.map +1 -0
  828. package/lib/typescript/module/core/OxyServices.errors.d.ts +12 -0
  829. package/lib/typescript/module/core/OxyServices.errors.d.ts.map +1 -0
  830. package/lib/typescript/module/core/index.d.ts +19 -0
  831. package/lib/typescript/module/core/index.d.ts.map +1 -0
  832. package/lib/typescript/module/core/mixins/OxyServices.analytics.d.ts +67 -0
  833. package/lib/typescript/module/core/mixins/OxyServices.analytics.d.ts.map +1 -0
  834. package/lib/typescript/module/core/mixins/OxyServices.assets.d.ts +136 -0
  835. package/lib/typescript/module/core/mixins/OxyServices.assets.d.ts.map +1 -0
  836. package/lib/typescript/module/core/mixins/OxyServices.auth.d.ts +187 -0
  837. package/lib/typescript/module/core/mixins/OxyServices.auth.d.ts.map +1 -0
  838. package/lib/typescript/module/core/mixins/OxyServices.developer.d.ts +100 -0
  839. package/lib/typescript/module/core/mixins/OxyServices.developer.d.ts.map +1 -0
  840. package/lib/typescript/module/core/mixins/OxyServices.devices.d.ts +97 -0
  841. package/lib/typescript/module/core/mixins/OxyServices.devices.d.ts.map +1 -0
  842. package/lib/typescript/module/core/mixins/OxyServices.features.d.ts +229 -0
  843. package/lib/typescript/module/core/mixins/OxyServices.features.d.ts.map +1 -0
  844. package/lib/typescript/module/core/mixins/OxyServices.fedcm.d.ts +195 -0
  845. package/lib/typescript/module/core/mixins/OxyServices.fedcm.d.ts.map +1 -0
  846. package/lib/typescript/module/core/mixins/OxyServices.karma.d.ts +86 -0
  847. package/lib/typescript/module/core/mixins/OxyServices.karma.d.ts.map +1 -0
  848. package/lib/typescript/module/core/mixins/OxyServices.language.d.ts +82 -0
  849. package/lib/typescript/module/core/mixins/OxyServices.language.d.ts.map +1 -0
  850. package/lib/typescript/module/core/mixins/OxyServices.location.d.ts +65 -0
  851. package/lib/typescript/module/core/mixins/OxyServices.location.d.ts.map +1 -0
  852. package/lib/typescript/module/core/mixins/OxyServices.payment.d.ts +112 -0
  853. package/lib/typescript/module/core/mixins/OxyServices.payment.d.ts.map +1 -0
  854. package/lib/typescript/module/core/mixins/OxyServices.popup.d.ts +206 -0
  855. package/lib/typescript/module/core/mixins/OxyServices.popup.d.ts.map +1 -0
  856. package/lib/typescript/module/core/mixins/OxyServices.privacy.d.ts +123 -0
  857. package/lib/typescript/module/core/mixins/OxyServices.privacy.d.ts.map +1 -0
  858. package/lib/typescript/module/core/mixins/OxyServices.redirect.d.ts +246 -0
  859. package/lib/typescript/module/core/mixins/OxyServices.redirect.d.ts.map +1 -0
  860. package/lib/typescript/module/core/mixins/OxyServices.security.d.ts +79 -0
  861. package/lib/typescript/module/core/mixins/OxyServices.security.d.ts.map +1 -0
  862. package/lib/typescript/module/core/mixins/OxyServices.user.d.ts +185 -0
  863. package/lib/typescript/module/core/mixins/OxyServices.user.d.ts.map +1 -0
  864. package/lib/typescript/module/core/mixins/OxyServices.utility.d.ts +94 -0
  865. package/lib/typescript/module/core/mixins/OxyServices.utility.d.ts.map +1 -0
  866. package/lib/typescript/module/core/mixins/index.d.ts +1128 -0
  867. package/lib/typescript/module/core/mixins/index.d.ts.map +1 -0
  868. package/lib/typescript/module/core/mixins/mixinHelpers.d.ts +32 -0
  869. package/lib/typescript/module/core/mixins/mixinHelpers.d.ts.map +1 -0
  870. package/lib/typescript/module/crypto/index.d.ts +12 -0
  871. package/lib/typescript/module/crypto/index.d.ts.map +1 -0
  872. package/lib/typescript/module/crypto/keyManager.d.ts +190 -0
  873. package/lib/typescript/module/crypto/keyManager.d.ts.map +1 -0
  874. package/lib/typescript/module/crypto/polyfill.d.ts +13 -0
  875. package/lib/typescript/module/crypto/polyfill.d.ts.map +1 -0
  876. package/lib/typescript/module/crypto/recoveryPhrase.d.ts +59 -0
  877. package/lib/typescript/module/crypto/recoveryPhrase.d.ts.map +1 -0
  878. package/lib/typescript/module/crypto/signatureService.d.ts +87 -0
  879. package/lib/typescript/module/crypto/signatureService.d.ts.map +1 -0
  880. package/lib/typescript/module/i18n/index.d.ts +4 -0
  881. package/lib/typescript/module/i18n/index.d.ts.map +1 -0
  882. package/lib/typescript/module/index.d.ts +39 -0
  883. package/lib/typescript/module/index.d.ts.map +1 -0
  884. package/lib/typescript/module/lib/sonner-safe.d.ts +9 -0
  885. package/lib/typescript/module/lib/sonner-safe.d.ts.map +1 -0
  886. package/lib/typescript/module/lib/sonner.d.ts +15 -0
  887. package/lib/typescript/module/lib/sonner.d.ts.map +1 -0
  888. package/lib/typescript/module/models/interfaces.d.ts +416 -0
  889. package/lib/typescript/module/models/interfaces.d.ts.map +1 -0
  890. package/lib/typescript/module/models/session.d.ts +24 -0
  891. package/lib/typescript/module/models/session.d.ts.map +1 -0
  892. package/lib/typescript/module/node/index.d.ts +10 -0
  893. package/lib/typescript/module/node/index.d.ts.map +1 -0
  894. package/lib/typescript/module/package.json +1 -0
  895. package/lib/typescript/module/ui/components/ActivityIndicator.d.ts +45 -0
  896. package/lib/typescript/module/ui/components/ActivityIndicator.d.ts.map +1 -0
  897. package/lib/typescript/module/ui/components/AnimationExample.d.ts +4 -0
  898. package/lib/typescript/module/ui/components/AnimationExample.d.ts.map +1 -0
  899. package/lib/typescript/module/ui/components/AutoHeightScrollView.d.ts +23 -0
  900. package/lib/typescript/module/ui/components/AutoHeightScrollView.d.ts.map +1 -0
  901. package/lib/typescript/module/ui/components/Avatar.d.ts +61 -0
  902. package/lib/typescript/module/ui/components/Avatar.d.ts.map +1 -0
  903. package/lib/typescript/module/ui/components/BottomSheet.d.ts +29 -0
  904. package/lib/typescript/module/ui/components/BottomSheet.d.ts.map +1 -0
  905. package/lib/typescript/module/ui/components/BottomSheetRouter.d.ts +14 -0
  906. package/lib/typescript/module/ui/components/BottomSheetRouter.d.ts.map +1 -0
  907. package/lib/typescript/module/ui/components/CrossFadeIcon.d.ts +27 -0
  908. package/lib/typescript/module/ui/components/CrossFadeIcon.d.ts.map +1 -0
  909. package/lib/typescript/module/ui/components/EmptyState.d.ts +8 -0
  910. package/lib/typescript/module/ui/components/EmptyState.d.ts.map +1 -0
  911. package/lib/typescript/module/ui/components/ErrorBoundary.d.ts +31 -0
  912. package/lib/typescript/module/ui/components/ErrorBoundary.d.ts.map +1 -0
  913. package/lib/typescript/module/ui/components/FollowButton.d.ts +18 -0
  914. package/lib/typescript/module/ui/components/FollowButton.d.ts.map +1 -0
  915. package/lib/typescript/module/ui/components/FontLoader.d.ts +15 -0
  916. package/lib/typescript/module/ui/components/FontLoader.d.ts.map +1 -0
  917. package/lib/typescript/module/ui/components/GroupedItem.d.ts +24 -0
  918. package/lib/typescript/module/ui/components/GroupedItem.d.ts.map +1 -0
  919. package/lib/typescript/module/ui/components/GroupedSection.d.ts +25 -0
  920. package/lib/typescript/module/ui/components/GroupedSection.d.ts.map +1 -0
  921. package/lib/typescript/module/ui/components/Header.d.ts +38 -0
  922. package/lib/typescript/module/ui/components/Header.d.ts.map +1 -0
  923. package/lib/typescript/module/ui/components/HelperText.d.ts +47 -0
  924. package/lib/typescript/module/ui/components/HelperText.d.ts.map +1 -0
  925. package/lib/typescript/module/ui/components/Icon.d.ts +60 -0
  926. package/lib/typescript/module/ui/components/Icon.d.ts.map +1 -0
  927. package/lib/typescript/module/ui/components/IconButton/IconButton.d.ts +99 -0
  928. package/lib/typescript/module/ui/components/IconButton/IconButton.d.ts.map +1 -0
  929. package/lib/typescript/module/ui/components/IconButton/utils.d.ts +19 -0
  930. package/lib/typescript/module/ui/components/IconButton/utils.d.ts.map +1 -0
  931. package/lib/typescript/module/ui/components/LoadingState.d.ts +9 -0
  932. package/lib/typescript/module/ui/components/LoadingState.d.ts.map +1 -0
  933. package/lib/typescript/module/ui/components/OxyLogo.d.ts +29 -0
  934. package/lib/typescript/module/ui/components/OxyLogo.d.ts.map +1 -0
  935. package/lib/typescript/module/ui/components/OxyPayButton.d.ts +29 -0
  936. package/lib/typescript/module/ui/components/OxyPayButton.d.ts.map +1 -0
  937. package/lib/typescript/module/ui/components/OxyProvider.d.ts +11 -0
  938. package/lib/typescript/module/ui/components/OxyProvider.d.ts.map +1 -0
  939. package/lib/typescript/module/ui/components/OxySignInButton.d.ts +65 -0
  940. package/lib/typescript/module/ui/components/OxySignInButton.d.ts.map +1 -0
  941. package/lib/typescript/module/ui/components/ProfileCard.d.ts +18 -0
  942. package/lib/typescript/module/ui/components/ProfileCard.d.ts.map +1 -0
  943. package/lib/typescript/module/ui/components/QuickActions.d.ts +15 -0
  944. package/lib/typescript/module/ui/components/QuickActions.d.ts.map +1 -0
  945. package/lib/typescript/module/ui/components/Section.d.ts +12 -0
  946. package/lib/typescript/module/ui/components/Section.d.ts.map +1 -0
  947. package/lib/typescript/module/ui/components/SectionTitle.d.ts +10 -0
  948. package/lib/typescript/module/ui/components/SectionTitle.d.ts.map +1 -0
  949. package/lib/typescript/module/ui/components/SettingRow.d.ts +20 -0
  950. package/lib/typescript/module/ui/components/SettingRow.d.ts.map +1 -0
  951. package/lib/typescript/module/ui/components/StepBasedScreen.d.ts +26 -0
  952. package/lib/typescript/module/ui/components/StepBasedScreen.d.ts.map +1 -0
  953. package/lib/typescript/module/ui/components/Surface.d.ts +76 -0
  954. package/lib/typescript/module/ui/components/Surface.d.ts.map +1 -0
  955. package/lib/typescript/module/ui/components/TextField/Addons/Outline.d.ts +16 -0
  956. package/lib/typescript/module/ui/components/TextField/Addons/Outline.d.ts.map +1 -0
  957. package/lib/typescript/module/ui/components/TextField/Addons/Underline.d.ts +19 -0
  958. package/lib/typescript/module/ui/components/TextField/Addons/Underline.d.ts.map +1 -0
  959. package/lib/typescript/module/ui/components/TextField/Adornment/TextFieldAdornment.d.ts +45 -0
  960. package/lib/typescript/module/ui/components/TextField/Adornment/TextFieldAdornment.d.ts.map +1 -0
  961. package/lib/typescript/module/ui/components/TextField/Adornment/TextFieldAffix.d.ts +73 -0
  962. package/lib/typescript/module/ui/components/TextField/Adornment/TextFieldAffix.d.ts.map +1 -0
  963. package/lib/typescript/module/ui/components/TextField/Adornment/TextFieldIcon.d.ts +78 -0
  964. package/lib/typescript/module/ui/components/TextField/Adornment/TextFieldIcon.d.ts.map +1 -0
  965. package/lib/typescript/module/ui/components/TextField/Adornment/enums.d.ts +13 -0
  966. package/lib/typescript/module/ui/components/TextField/Adornment/enums.d.ts.map +1 -0
  967. package/lib/typescript/module/ui/components/TextField/Adornment/types.d.ts +12 -0
  968. package/lib/typescript/module/ui/components/TextField/Adornment/types.d.ts.map +1 -0
  969. package/lib/typescript/module/ui/components/TextField/Adornment/utils.d.ts +12 -0
  970. package/lib/typescript/module/ui/components/TextField/Adornment/utils.d.ts.map +1 -0
  971. package/lib/typescript/module/ui/components/TextField/Label/InputLabel.d.ts +5 -0
  972. package/lib/typescript/module/ui/components/TextField/Label/InputLabel.d.ts.map +1 -0
  973. package/lib/typescript/module/ui/components/TextField/Label/LabelBackground.d.ts +4 -0
  974. package/lib/typescript/module/ui/components/TextField/Label/LabelBackground.d.ts.map +1 -0
  975. package/lib/typescript/module/ui/components/TextField/TextFieldFlat.d.ts +4 -0
  976. package/lib/typescript/module/ui/components/TextField/TextFieldFlat.d.ts.map +1 -0
  977. package/lib/typescript/module/ui/components/TextField/TextFieldOutlined.d.ts +4 -0
  978. package/lib/typescript/module/ui/components/TextField/TextFieldOutlined.d.ts.map +1 -0
  979. package/lib/typescript/module/ui/components/TextField/constants.d.ts +32 -0
  980. package/lib/typescript/module/ui/components/TextField/constants.d.ts.map +1 -0
  981. package/lib/typescript/module/ui/components/TextField/helpers.d.ts +97 -0
  982. package/lib/typescript/module/ui/components/TextField/helpers.d.ts.map +1 -0
  983. package/lib/typescript/module/ui/components/TextField/types.d.ts +156 -0
  984. package/lib/typescript/module/ui/components/TextField/types.d.ts.map +1 -0
  985. package/lib/typescript/module/ui/components/TextField.d.ts +192 -0
  986. package/lib/typescript/module/ui/components/TextField.d.ts.map +1 -0
  987. package/lib/typescript/module/ui/components/TouchableRipple/Pressable.d.ts +13 -0
  988. package/lib/typescript/module/ui/components/TouchableRipple/Pressable.d.ts.map +1 -0
  989. package/lib/typescript/module/ui/components/TouchableRipple/TouchableRipple.d.ts +62 -0
  990. package/lib/typescript/module/ui/components/TouchableRipple/TouchableRipple.d.ts.map +1 -0
  991. package/lib/typescript/module/ui/components/TouchableRipple/TouchableRipple.native.d.ts +25 -0
  992. package/lib/typescript/module/ui/components/TouchableRipple/TouchableRipple.native.d.ts.map +1 -0
  993. package/lib/typescript/module/ui/components/TouchableRipple/utils.d.ts +11 -0
  994. package/lib/typescript/module/ui/components/TouchableRipple/utils.d.ts.map +1 -0
  995. package/lib/typescript/module/ui/components/Typography/AnimatedText.d.ts +35 -0
  996. package/lib/typescript/module/ui/components/Typography/AnimatedText.d.ts.map +1 -0
  997. package/lib/typescript/module/ui/components/Typography/types.d.ts +19 -0
  998. package/lib/typescript/module/ui/components/Typography/types.d.ts.map +1 -0
  999. package/lib/typescript/module/ui/components/feedback/FormInput.d.ts +20 -0
  1000. package/lib/typescript/module/ui/components/feedback/FormInput.d.ts.map +1 -0
  1001. package/lib/typescript/module/ui/components/feedback/ProgressIndicator.d.ts +11 -0
  1002. package/lib/typescript/module/ui/components/feedback/ProgressIndicator.d.ts.map +1 -0
  1003. package/lib/typescript/module/ui/components/feedback/constants.d.ts +5 -0
  1004. package/lib/typescript/module/ui/components/feedback/constants.d.ts.map +1 -0
  1005. package/lib/typescript/module/ui/components/feedback/feedbackStyles.d.ts +280 -0
  1006. package/lib/typescript/module/ui/components/feedback/feedbackStyles.d.ts.map +1 -0
  1007. package/lib/typescript/module/ui/components/feedback/index.d.ts +7 -0
  1008. package/lib/typescript/module/ui/components/feedback/index.d.ts.map +1 -0
  1009. package/lib/typescript/module/ui/components/feedback/types.d.ts +46 -0
  1010. package/lib/typescript/module/ui/components/feedback/types.d.ts.map +1 -0
  1011. package/lib/typescript/module/ui/components/feedback/useFeedbackForm.d.ts +9 -0
  1012. package/lib/typescript/module/ui/components/feedback/useFeedbackForm.d.ts.map +1 -0
  1013. package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts +15 -0
  1014. package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -0
  1015. package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts +18 -0
  1016. package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts.map +1 -0
  1017. package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts +21 -0
  1018. package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts.map +1 -0
  1019. package/lib/typescript/module/ui/components/fileManagement/styles.d.ts +860 -0
  1020. package/lib/typescript/module/ui/components/fileManagement/styles.d.ts.map +1 -0
  1021. package/lib/typescript/module/ui/components/icon/FAIRWalletIcon.d.ts +9 -0
  1022. package/lib/typescript/module/ui/components/icon/FAIRWalletIcon.d.ts.map +1 -0
  1023. package/lib/typescript/module/ui/components/icon/OxyIcon.d.ts +10 -0
  1024. package/lib/typescript/module/ui/components/icon/OxyIcon.d.ts.map +1 -0
  1025. package/lib/typescript/module/ui/components/icon/index.d.ts +4 -0
  1026. package/lib/typescript/module/ui/components/icon/index.d.ts.map +1 -0
  1027. package/lib/typescript/module/ui/components/index.d.ts +17 -0
  1028. package/lib/typescript/module/ui/components/index.d.ts.map +1 -0
  1029. package/lib/typescript/module/ui/components/internal/GroupedPillButtons.d.ts +18 -0
  1030. package/lib/typescript/module/ui/components/internal/GroupedPillButtons.d.ts.map +1 -0
  1031. package/lib/typescript/module/ui/components/internal/PinInput.d.ts +23 -0
  1032. package/lib/typescript/module/ui/components/internal/PinInput.d.ts.map +1 -0
  1033. package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts +19 -0
  1034. package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts.map +1 -0
  1035. package/lib/typescript/module/ui/components/modals/index.d.ts +2 -0
  1036. package/lib/typescript/module/ui/components/modals/index.d.ts.map +1 -0
  1037. package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts +21 -0
  1038. package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -0
  1039. package/lib/typescript/module/ui/components/payment/PaymentMethodStep.d.ts +14 -0
  1040. package/lib/typescript/module/ui/components/payment/PaymentMethodStep.d.ts.map +1 -0
  1041. package/lib/typescript/module/ui/components/payment/PaymentReviewStep.d.ts +16 -0
  1042. package/lib/typescript/module/ui/components/payment/PaymentReviewStep.d.ts.map +1 -0
  1043. package/lib/typescript/module/ui/components/payment/PaymentSuccessStep.d.ts +10 -0
  1044. package/lib/typescript/module/ui/components/payment/PaymentSuccessStep.d.ts.map +1 -0
  1045. package/lib/typescript/module/ui/components/payment/PaymentSummaryStep.d.ts +15 -0
  1046. package/lib/typescript/module/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -0
  1047. package/lib/typescript/module/ui/components/payment/constants.d.ts +7 -0
  1048. package/lib/typescript/module/ui/components/payment/constants.d.ts.map +1 -0
  1049. package/lib/typescript/module/ui/components/payment/index.d.ts +9 -0
  1050. package/lib/typescript/module/ui/components/payment/index.d.ts.map +1 -0
  1051. package/lib/typescript/module/ui/components/payment/paymentStyles.d.ts +396 -0
  1052. package/lib/typescript/module/ui/components/payment/paymentStyles.d.ts.map +1 -0
  1053. package/lib/typescript/module/ui/components/payment/types.d.ts +40 -0
  1054. package/lib/typescript/module/ui/components/payment/types.d.ts.map +1 -0
  1055. package/lib/typescript/module/ui/components/photogrid/JustifiedPhotoGrid.d.ts +27 -0
  1056. package/lib/typescript/module/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +1 -0
  1057. package/lib/typescript/module/ui/components/profile/EditBioModal.d.ts +11 -0
  1058. package/lib/typescript/module/ui/components/profile/EditBioModal.d.ts.map +1 -0
  1059. package/lib/typescript/module/ui/components/profile/EditDisplayNameModal.d.ts +12 -0
  1060. package/lib/typescript/module/ui/components/profile/EditDisplayNameModal.d.ts.map +1 -0
  1061. package/lib/typescript/module/ui/components/profile/EditEmailModal.d.ts +11 -0
  1062. package/lib/typescript/module/ui/components/profile/EditEmailModal.d.ts.map +1 -0
  1063. package/lib/typescript/module/ui/components/profile/EditLinksModal.d.ts +18 -0
  1064. package/lib/typescript/module/ui/components/profile/EditLinksModal.d.ts.map +1 -0
  1065. package/lib/typescript/module/ui/components/profile/EditLocationModal.d.ts +20 -0
  1066. package/lib/typescript/module/ui/components/profile/EditLocationModal.d.ts.map +1 -0
  1067. package/lib/typescript/module/ui/components/profile/EditUsernameModal.d.ts +11 -0
  1068. package/lib/typescript/module/ui/components/profile/EditUsernameModal.d.ts.map +1 -0
  1069. package/lib/typescript/module/ui/components/styles/overlay.d.ts +4 -0
  1070. package/lib/typescript/module/ui/components/styles/overlay.d.ts.map +1 -0
  1071. package/lib/typescript/module/ui/components/styles/shadow.d.ts +3 -0
  1072. package/lib/typescript/module/ui/components/styles/shadow.d.ts.map +1 -0
  1073. package/lib/typescript/module/ui/components/theming.d.ts +8 -0
  1074. package/lib/typescript/module/ui/components/theming.d.ts.map +1 -0
  1075. package/lib/typescript/module/ui/components/types.d.ts +80 -0
  1076. package/lib/typescript/module/ui/components/types.d.ts.map +1 -0
  1077. package/lib/typescript/module/ui/components/utils/forwardRef.d.ts +12 -0
  1078. package/lib/typescript/module/ui/components/utils/forwardRef.d.ts.map +1 -0
  1079. package/lib/typescript/module/ui/components/utils/hasTouchHandler.d.ts +6 -0
  1080. package/lib/typescript/module/ui/components/utils/hasTouchHandler.d.ts.map +1 -0
  1081. package/lib/typescript/module/ui/components/utils/roundLayoutSize.d.ts +2 -0
  1082. package/lib/typescript/module/ui/components/utils/roundLayoutSize.d.ts.map +1 -0
  1083. package/lib/typescript/module/ui/components/utils/splitStyles.d.ts +20 -0
  1084. package/lib/typescript/module/ui/components/utils/splitStyles.d.ts.map +1 -0
  1085. package/lib/typescript/module/ui/constants/iconColors.d.ts +130 -0
  1086. package/lib/typescript/module/ui/constants/iconColors.d.ts.map +1 -0
  1087. package/lib/typescript/module/ui/constants/spacing.d.ts +33 -0
  1088. package/lib/typescript/module/ui/constants/spacing.d.ts.map +1 -0
  1089. package/lib/typescript/module/ui/constants/theme.d.ts +97 -0
  1090. package/lib/typescript/module/ui/constants/theme.d.ts.map +1 -0
  1091. package/lib/typescript/module/ui/context/OxyContext.d.ts +62 -0
  1092. package/lib/typescript/module/ui/context/OxyContext.d.ts.map +1 -0
  1093. package/lib/typescript/module/ui/context/ThemeContext.d.ts +19 -0
  1094. package/lib/typescript/module/ui/context/ThemeContext.d.ts.map +1 -0
  1095. package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts +40 -0
  1096. package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts.map +1 -0
  1097. package/lib/typescript/module/ui/context/hooks/useDeviceManagement.d.ts +27 -0
  1098. package/lib/typescript/module/ui/context/hooks/useDeviceManagement.d.ts.map +1 -0
  1099. package/lib/typescript/module/ui/context/hooks/useLanguageManagement.d.ts +25 -0
  1100. package/lib/typescript/module/ui/context/hooks/useLanguageManagement.d.ts.map +1 -0
  1101. package/lib/typescript/module/ui/context/hooks/useSessionManagement.d.ts +41 -0
  1102. package/lib/typescript/module/ui/context/hooks/useSessionManagement.d.ts.map +1 -0
  1103. package/lib/typescript/module/ui/hooks/index.d.ts +7 -0
  1104. package/lib/typescript/module/ui/hooks/index.d.ts.map +1 -0
  1105. package/lib/typescript/module/ui/hooks/mutations/index.d.ts +9 -0
  1106. package/lib/typescript/module/ui/hooks/mutations/index.d.ts.map +1 -0
  1107. package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts +44 -0
  1108. package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -0
  1109. package/lib/typescript/module/ui/hooks/mutations/useServicesMutations.d.ts +23 -0
  1110. package/lib/typescript/module/ui/hooks/mutations/useServicesMutations.d.ts.map +1 -0
  1111. package/lib/typescript/module/ui/hooks/queries/index.d.ts +11 -0
  1112. package/lib/typescript/module/ui/hooks/queries/index.d.ts.map +1 -0
  1113. package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts +65 -0
  1114. package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts.map +1 -0
  1115. package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts +47 -0
  1116. package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts.map +1 -0
  1117. package/lib/typescript/module/ui/hooks/queries/useSecurityQueries.d.ts +15 -0
  1118. package/lib/typescript/module/ui/hooks/queries/useSecurityQueries.d.ts.map +1 -0
  1119. package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts +34 -0
  1120. package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts.map +1 -0
  1121. package/lib/typescript/module/ui/hooks/queryClient.d.ts +19 -0
  1122. package/lib/typescript/module/ui/hooks/queryClient.d.ts.map +1 -0
  1123. package/lib/typescript/module/ui/hooks/use-color-scheme.d.ts +8 -0
  1124. package/lib/typescript/module/ui/hooks/use-color-scheme.d.ts.map +1 -0
  1125. package/lib/typescript/module/ui/hooks/use-haptic-press.d.ts +8 -0
  1126. package/lib/typescript/module/ui/hooks/use-haptic-press.d.ts.map +1 -0
  1127. package/lib/typescript/module/ui/hooks/useAssets.d.ts +35 -0
  1128. package/lib/typescript/module/ui/hooks/useAssets.d.ts.map +1 -0
  1129. package/lib/typescript/module/ui/hooks/useAsyncAction.d.ts +51 -0
  1130. package/lib/typescript/module/ui/hooks/useAsyncAction.d.ts.map +1 -0
  1131. package/lib/typescript/module/ui/hooks/useDeviceManagement.d.ts +27 -0
  1132. package/lib/typescript/module/ui/hooks/useDeviceManagement.d.ts.map +1 -0
  1133. package/lib/typescript/module/ui/hooks/useFileDownloadUrl.d.ts +19 -0
  1134. package/lib/typescript/module/ui/hooks/useFileDownloadUrl.d.ts.map +1 -0
  1135. package/lib/typescript/module/ui/hooks/useFollow.d.ts +62 -0
  1136. package/lib/typescript/module/ui/hooks/useFollow.d.ts.map +1 -0
  1137. package/lib/typescript/module/ui/hooks/useFollow.types.d.ts +33 -0
  1138. package/lib/typescript/module/ui/hooks/useFollow.types.d.ts.map +1 -0
  1139. package/lib/typescript/module/ui/hooks/useI18n.d.ts +5 -0
  1140. package/lib/typescript/module/ui/hooks/useI18n.d.ts.map +1 -0
  1141. package/lib/typescript/module/ui/hooks/useLanguageManagement.d.ts +25 -0
  1142. package/lib/typescript/module/ui/hooks/useLanguageManagement.d.ts.map +1 -0
  1143. package/lib/typescript/module/ui/hooks/useProfileEditing.d.ts +36 -0
  1144. package/lib/typescript/module/ui/hooks/useProfileEditing.d.ts.map +1 -0
  1145. package/lib/typescript/module/ui/hooks/useQueryClient.d.ts +7 -0
  1146. package/lib/typescript/module/ui/hooks/useQueryClient.d.ts.map +1 -0
  1147. package/lib/typescript/module/ui/hooks/useSessionManagement.d.ts +41 -0
  1148. package/lib/typescript/module/ui/hooks/useSessionManagement.d.ts.map +1 -0
  1149. package/lib/typescript/module/ui/hooks/useSessionSocket.d.ts +14 -0
  1150. package/lib/typescript/module/ui/hooks/useSessionSocket.d.ts.map +1 -0
  1151. package/lib/typescript/module/ui/hooks/useSettingToggle.d.ts +55 -0
  1152. package/lib/typescript/module/ui/hooks/useSettingToggle.d.ts.map +1 -0
  1153. package/lib/typescript/module/ui/hooks/useStorage.d.ts +16 -0
  1154. package/lib/typescript/module/ui/hooks/useStorage.d.ts.map +1 -0
  1155. package/lib/typescript/module/ui/hooks/useThemeColors.d.ts +94 -0
  1156. package/lib/typescript/module/ui/hooks/useThemeColors.d.ts.map +1 -0
  1157. package/lib/typescript/module/ui/hooks/useThemeStyles.d.ts +45 -0
  1158. package/lib/typescript/module/ui/hooks/useThemeStyles.d.ts.map +1 -0
  1159. package/lib/typescript/module/ui/index.d.ts +8 -0
  1160. package/lib/typescript/module/ui/index.d.ts.map +1 -0
  1161. package/lib/typescript/module/ui/isFrontend.d.ts +3 -0
  1162. package/lib/typescript/module/ui/isFrontend.d.ts.map +1 -0
  1163. package/lib/typescript/module/ui/navigation/bottomSheetManager.d.ts +74 -0
  1164. package/lib/typescript/module/ui/navigation/bottomSheetManager.d.ts.map +1 -0
  1165. package/lib/typescript/module/ui/navigation/routes.d.ts +6 -0
  1166. package/lib/typescript/module/ui/navigation/routes.d.ts.map +1 -0
  1167. package/lib/typescript/module/ui/screens/AccountCenterScreen.d.ts +5 -0
  1168. package/lib/typescript/module/ui/screens/AccountCenterScreen.d.ts.map +1 -0
  1169. package/lib/typescript/module/ui/screens/AccountOverviewScreen.d.ts +5 -0
  1170. package/lib/typescript/module/ui/screens/AccountOverviewScreen.d.ts.map +1 -0
  1171. package/lib/typescript/module/ui/screens/AccountSettingsScreen.d.ts +8 -0
  1172. package/lib/typescript/module/ui/screens/AccountSettingsScreen.d.ts.map +1 -0
  1173. package/lib/typescript/module/ui/screens/AccountSwitcherScreen.d.ts +5 -0
  1174. package/lib/typescript/module/ui/screens/AccountSwitcherScreen.d.ts.map +1 -0
  1175. package/lib/typescript/module/ui/screens/AccountVerificationScreen.d.ts +5 -0
  1176. package/lib/typescript/module/ui/screens/AccountVerificationScreen.d.ts.map +1 -0
  1177. package/lib/typescript/module/ui/screens/AppInfoScreen.d.ts +5 -0
  1178. package/lib/typescript/module/ui/screens/AppInfoScreen.d.ts.map +1 -0
  1179. package/lib/typescript/module/ui/screens/FAQScreen.d.ts +5 -0
  1180. package/lib/typescript/module/ui/screens/FAQScreen.d.ts.map +1 -0
  1181. package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts +5 -0
  1182. package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts.map +1 -0
  1183. package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts +5 -0
  1184. package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +1 -0
  1185. package/lib/typescript/module/ui/screens/HelpSupportScreen.d.ts +5 -0
  1186. package/lib/typescript/module/ui/screens/HelpSupportScreen.d.ts.map +1 -0
  1187. package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts +5 -0
  1188. package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts.map +1 -0
  1189. package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts +7 -0
  1190. package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts.map +1 -0
  1191. package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts +5 -0
  1192. package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts.map +1 -0
  1193. package/lib/typescript/module/ui/screens/OxyAuthScreen.d.ts +17 -0
  1194. package/lib/typescript/module/ui/screens/OxyAuthScreen.d.ts.map +1 -0
  1195. package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts +15 -0
  1196. package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts.map +1 -0
  1197. package/lib/typescript/module/ui/screens/PremiumSubscriptionScreen.d.ts +5 -0
  1198. package/lib/typescript/module/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -0
  1199. package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts +5 -0
  1200. package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +1 -0
  1201. package/lib/typescript/module/ui/screens/ProfileScreen.d.ts +9 -0
  1202. package/lib/typescript/module/ui/screens/ProfileScreen.d.ts.map +1 -0
  1203. package/lib/typescript/module/ui/screens/SavesCollectionsScreen.d.ts +5 -0
  1204. package/lib/typescript/module/ui/screens/SavesCollectionsScreen.d.ts.map +1 -0
  1205. package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts +5 -0
  1206. package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts.map +1 -0
  1207. package/lib/typescript/module/ui/screens/SessionManagementScreen.d.ts +5 -0
  1208. package/lib/typescript/module/ui/screens/SessionManagementScreen.d.ts.map +1 -0
  1209. package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts +15 -0
  1210. package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts.map +1 -0
  1211. package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts +13 -0
  1212. package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -0
  1213. package/lib/typescript/module/ui/screens/karma/KarmaAboutScreen.d.ts +5 -0
  1214. package/lib/typescript/module/ui/screens/karma/KarmaAboutScreen.d.ts.map +1 -0
  1215. package/lib/typescript/module/ui/screens/karma/KarmaCenterScreen.d.ts +5 -0
  1216. package/lib/typescript/module/ui/screens/karma/KarmaCenterScreen.d.ts.map +1 -0
  1217. package/lib/typescript/module/ui/screens/karma/KarmaFAQScreen.d.ts +5 -0
  1218. package/lib/typescript/module/ui/screens/karma/KarmaFAQScreen.d.ts.map +1 -0
  1219. package/lib/typescript/module/ui/screens/karma/KarmaLeaderboardScreen.d.ts +5 -0
  1220. package/lib/typescript/module/ui/screens/karma/KarmaLeaderboardScreen.d.ts.map +1 -0
  1221. package/lib/typescript/module/ui/screens/karma/KarmaRewardsScreen.d.ts +5 -0
  1222. package/lib/typescript/module/ui/screens/karma/KarmaRewardsScreen.d.ts.map +1 -0
  1223. package/lib/typescript/module/ui/screens/karma/KarmaRulesScreen.d.ts +5 -0
  1224. package/lib/typescript/module/ui/screens/karma/KarmaRulesScreen.d.ts.map +1 -0
  1225. package/lib/typescript/module/ui/stores/accountStore.d.ts +34 -0
  1226. package/lib/typescript/module/ui/stores/accountStore.d.ts.map +1 -0
  1227. package/lib/typescript/module/ui/stores/assetStore.d.ts +54 -0
  1228. package/lib/typescript/module/ui/stores/assetStore.d.ts.map +1 -0
  1229. package/lib/typescript/module/ui/stores/authStore.d.ts +17 -0
  1230. package/lib/typescript/module/ui/stores/authStore.d.ts.map +1 -0
  1231. package/lib/typescript/module/ui/stores/fileStore.d.ts +31 -0
  1232. package/lib/typescript/module/ui/stores/fileStore.d.ts.map +1 -0
  1233. package/lib/typescript/module/ui/stores/followStore.d.ts +25 -0
  1234. package/lib/typescript/module/ui/stores/followStore.d.ts.map +1 -0
  1235. package/lib/typescript/module/ui/styles/authStyles.d.ts +332 -0
  1236. package/lib/typescript/module/ui/styles/authStyles.d.ts.map +1 -0
  1237. package/lib/typescript/module/ui/styles/fonts.d.ts +21 -0
  1238. package/lib/typescript/module/ui/styles/fonts.d.ts.map +1 -0
  1239. package/lib/typescript/module/ui/styles/index.d.ts +5 -0
  1240. package/lib/typescript/module/ui/styles/index.d.ts.map +1 -0
  1241. package/lib/typescript/module/ui/styles/spacing.d.ts +49 -0
  1242. package/lib/typescript/module/ui/styles/spacing.d.ts.map +1 -0
  1243. package/lib/typescript/module/ui/styles/theme.d.ts +68 -0
  1244. package/lib/typescript/module/ui/styles/theme.d.ts.map +1 -0
  1245. package/lib/typescript/module/ui/types/fileManagement.d.ts +41 -0
  1246. package/lib/typescript/module/ui/types/fileManagement.d.ts.map +1 -0
  1247. package/lib/typescript/module/ui/types/navigation.d.ts +37 -0
  1248. package/lib/typescript/module/ui/types/navigation.d.ts.map +1 -0
  1249. package/lib/typescript/module/ui/utils/avatarUtils.d.ts +34 -0
  1250. package/lib/typescript/module/ui/utils/avatarUtils.d.ts.map +1 -0
  1251. package/lib/typescript/module/ui/utils/colorUtils.d.ts +14 -0
  1252. package/lib/typescript/module/ui/utils/colorUtils.d.ts.map +1 -0
  1253. package/lib/typescript/module/ui/utils/confirmAction.d.ts +7 -0
  1254. package/lib/typescript/module/ui/utils/confirmAction.d.ts.map +1 -0
  1255. package/lib/typescript/module/ui/utils/errorHandlers.d.ts +35 -0
  1256. package/lib/typescript/module/ui/utils/errorHandlers.d.ts.map +1 -0
  1257. package/lib/typescript/module/ui/utils/fileManagement.d.ts +87 -0
  1258. package/lib/typescript/module/ui/utils/fileManagement.d.ts.map +1 -0
  1259. package/lib/typescript/module/ui/utils/sessionHelpers.d.ts +59 -0
  1260. package/lib/typescript/module/ui/utils/sessionHelpers.d.ts.map +1 -0
  1261. package/lib/typescript/module/ui/utils/storageHelpers.d.ts +28 -0
  1262. package/lib/typescript/module/ui/utils/storageHelpers.d.ts.map +1 -0
  1263. package/lib/typescript/module/ui/utils/themeUtils.d.ts +24 -0
  1264. package/lib/typescript/module/ui/utils/themeUtils.d.ts.map +1 -0
  1265. package/lib/typescript/module/ui/utils/user-utils.d.ts +29 -0
  1266. package/lib/typescript/module/ui/utils/user-utils.d.ts.map +1 -0
  1267. package/lib/typescript/module/utils/apiUtils.d.ts +54 -0
  1268. package/lib/typescript/module/utils/apiUtils.d.ts.map +1 -0
  1269. package/lib/typescript/module/utils/asyncUtils.d.ts +59 -0
  1270. package/lib/typescript/module/utils/asyncUtils.d.ts.map +1 -0
  1271. package/lib/typescript/module/utils/cache.d.ts +128 -0
  1272. package/lib/typescript/module/utils/cache.d.ts.map +1 -0
  1273. package/lib/typescript/module/utils/deviceManager.d.ts +66 -0
  1274. package/lib/typescript/module/utils/deviceManager.d.ts.map +1 -0
  1275. package/lib/typescript/module/utils/errorUtils.d.ts +53 -0
  1276. package/lib/typescript/module/utils/errorUtils.d.ts.map +1 -0
  1277. package/lib/typescript/module/utils/hookUtils.d.ts +102 -0
  1278. package/lib/typescript/module/utils/hookUtils.d.ts.map +1 -0
  1279. package/lib/typescript/module/utils/index.d.ts +7 -0
  1280. package/lib/typescript/module/utils/index.d.ts.map +1 -0
  1281. package/lib/typescript/module/utils/languageUtils.d.ts +38 -0
  1282. package/lib/typescript/module/utils/languageUtils.d.ts.map +1 -0
  1283. package/lib/typescript/module/utils/loggerUtils.d.ts +49 -0
  1284. package/lib/typescript/module/utils/loggerUtils.d.ts.map +1 -0
  1285. package/lib/typescript/module/utils/requestUtils.d.ts +122 -0
  1286. package/lib/typescript/module/utils/requestUtils.d.ts.map +1 -0
  1287. package/lib/typescript/module/utils/sessionUtils.d.ts +55 -0
  1288. package/lib/typescript/module/utils/sessionUtils.d.ts.map +1 -0
  1289. package/lib/typescript/module/utils/validationUtils.d.ts +86 -0
  1290. package/lib/typescript/module/utils/validationUtils.d.ts.map +1 -0
  1291. package/package.json +62 -22
  1292. package/src/core/mixins/OxyServices.features.ts +428 -0
  1293. package/src/core/mixins/index.ts +20 -17
  1294. package/src/ui/components/GroupedItem.tsx +19 -1
  1295. package/src/ui/components/SettingRow.tsx +26 -4
  1296. package/src/ui/components/feedback/FormInput.tsx +84 -0
  1297. package/src/ui/components/feedback/ProgressIndicator.tsx +35 -0
  1298. package/src/ui/components/feedback/constants.ts +22 -0
  1299. package/src/ui/components/feedback/feedbackStyles.ts +247 -0
  1300. package/src/ui/components/feedback/index.ts +6 -0
  1301. package/src/ui/components/feedback/types.ts +52 -0
  1302. package/src/ui/components/feedback/useFeedbackForm.ts +44 -0
  1303. package/src/ui/components/modals/DeleteAccountModal.tsx +294 -0
  1304. package/src/ui/components/modals/index.ts +1 -0
  1305. package/src/ui/components/payment/PaymentDetailsStep.tsx +222 -0
  1306. package/src/ui/components/payment/PaymentMethodStep.tsx +89 -0
  1307. package/src/ui/components/payment/PaymentReviewStep.tsx +126 -0
  1308. package/src/ui/components/payment/PaymentSuccessStep.tsx +71 -0
  1309. package/src/ui/components/payment/PaymentSummaryStep.tsx +159 -0
  1310. package/src/ui/components/payment/constants.ts +39 -0
  1311. package/src/ui/components/payment/index.ts +9 -0
  1312. package/src/ui/components/payment/paymentStyles.ts +397 -0
  1313. package/src/ui/components/payment/types.ts +45 -0
  1314. package/src/ui/hooks/index.ts +3 -1
  1315. package/src/ui/hooks/useAsyncAction.ts +129 -0
  1316. package/src/ui/hooks/useSettingToggle.ts +147 -0
  1317. package/src/ui/navigation/routes.ts +2 -0
  1318. package/src/ui/screens/AccountCenterScreen.tsx +2 -2
  1319. package/src/ui/screens/AccountOverviewScreen.tsx +35 -37
  1320. package/src/ui/screens/FAQScreen.tsx +332 -0
  1321. package/src/ui/screens/FeedbackScreen.tsx +91 -626
  1322. package/src/ui/screens/HelpSupportScreen.tsx +7 -5
  1323. package/src/ui/screens/PaymentGatewayScreen.tsx +96 -1275
  1324. package/src/ui/screens/ProfileScreen.tsx +11 -6
  1325. package/src/ui/screens/SavesCollectionsScreen.tsx +19 -10
  1326. package/src/ui/screens/karma/KarmaCenterScreen.tsx +10 -10
  1327. package/lib/typescript/assets/icons/OxyServices.d.ts.map +0 -1
  1328. package/lib/typescript/assets/illustrations/HighFive.d.ts.map +0 -1
  1329. package/lib/typescript/constants/version.d.ts.map +0 -1
  1330. package/lib/typescript/core/CrossDomainAuth.d.ts.map +0 -1
  1331. package/lib/typescript/core/HttpService.d.ts.map +0 -1
  1332. package/lib/typescript/core/OxyServices.base.d.ts.map +0 -1
  1333. package/lib/typescript/core/OxyServices.d.ts.map +0 -1
  1334. package/lib/typescript/core/OxyServices.errors.d.ts.map +0 -1
  1335. package/lib/typescript/core/index.d.ts.map +0 -1
  1336. package/lib/typescript/core/mixins/OxyServices.analytics.d.ts.map +0 -1
  1337. package/lib/typescript/core/mixins/OxyServices.assets.d.ts.map +0 -1
  1338. package/lib/typescript/core/mixins/OxyServices.auth.d.ts.map +0 -1
  1339. package/lib/typescript/core/mixins/OxyServices.developer.d.ts.map +0 -1
  1340. package/lib/typescript/core/mixins/OxyServices.devices.d.ts.map +0 -1
  1341. package/lib/typescript/core/mixins/OxyServices.fedcm.d.ts.map +0 -1
  1342. package/lib/typescript/core/mixins/OxyServices.karma.d.ts.map +0 -1
  1343. package/lib/typescript/core/mixins/OxyServices.language.d.ts.map +0 -1
  1344. package/lib/typescript/core/mixins/OxyServices.location.d.ts.map +0 -1
  1345. package/lib/typescript/core/mixins/OxyServices.payment.d.ts.map +0 -1
  1346. package/lib/typescript/core/mixins/OxyServices.popup.d.ts.map +0 -1
  1347. package/lib/typescript/core/mixins/OxyServices.privacy.d.ts.map +0 -1
  1348. package/lib/typescript/core/mixins/OxyServices.redirect.d.ts.map +0 -1
  1349. package/lib/typescript/core/mixins/OxyServices.security.d.ts.map +0 -1
  1350. package/lib/typescript/core/mixins/OxyServices.user.d.ts.map +0 -1
  1351. package/lib/typescript/core/mixins/OxyServices.utility.d.ts.map +0 -1
  1352. package/lib/typescript/core/mixins/index.d.ts +0 -1058
  1353. package/lib/typescript/core/mixins/index.d.ts.map +0 -1
  1354. package/lib/typescript/core/mixins/mixinHelpers.d.ts.map +0 -1
  1355. package/lib/typescript/crypto/index.d.ts.map +0 -1
  1356. package/lib/typescript/crypto/keyManager.d.ts.map +0 -1
  1357. package/lib/typescript/crypto/polyfill.d.ts.map +0 -1
  1358. package/lib/typescript/crypto/recoveryPhrase.d.ts.map +0 -1
  1359. package/lib/typescript/crypto/signatureService.d.ts.map +0 -1
  1360. package/lib/typescript/i18n/index.d.ts.map +0 -1
  1361. package/lib/typescript/index.d.ts.map +0 -1
  1362. package/lib/typescript/lib/sonner-safe.d.ts.map +0 -1
  1363. package/lib/typescript/lib/sonner.d.ts.map +0 -1
  1364. package/lib/typescript/models/interfaces.d.ts.map +0 -1
  1365. package/lib/typescript/models/session.d.ts.map +0 -1
  1366. package/lib/typescript/node/index.d.ts.map +0 -1
  1367. package/lib/typescript/ui/components/ActivityIndicator.d.ts.map +0 -1
  1368. package/lib/typescript/ui/components/AnimationExample.d.ts.map +0 -1
  1369. package/lib/typescript/ui/components/AutoHeightScrollView.d.ts.map +0 -1
  1370. package/lib/typescript/ui/components/Avatar.d.ts.map +0 -1
  1371. package/lib/typescript/ui/components/BottomSheet.d.ts.map +0 -1
  1372. package/lib/typescript/ui/components/BottomSheetRouter.d.ts.map +0 -1
  1373. package/lib/typescript/ui/components/CrossFadeIcon.d.ts.map +0 -1
  1374. package/lib/typescript/ui/components/EmptyState.d.ts.map +0 -1
  1375. package/lib/typescript/ui/components/ErrorBoundary.d.ts.map +0 -1
  1376. package/lib/typescript/ui/components/FollowButton.d.ts.map +0 -1
  1377. package/lib/typescript/ui/components/FontLoader.d.ts.map +0 -1
  1378. package/lib/typescript/ui/components/GroupedItem.d.ts +0 -20
  1379. package/lib/typescript/ui/components/GroupedItem.d.ts.map +0 -1
  1380. package/lib/typescript/ui/components/GroupedSection.d.ts.map +0 -1
  1381. package/lib/typescript/ui/components/Header.d.ts.map +0 -1
  1382. package/lib/typescript/ui/components/HelperText.d.ts.map +0 -1
  1383. package/lib/typescript/ui/components/Icon.d.ts.map +0 -1
  1384. package/lib/typescript/ui/components/IconButton/IconButton.d.ts.map +0 -1
  1385. package/lib/typescript/ui/components/IconButton/utils.d.ts.map +0 -1
  1386. package/lib/typescript/ui/components/LoadingState.d.ts.map +0 -1
  1387. package/lib/typescript/ui/components/OxyLogo.d.ts.map +0 -1
  1388. package/lib/typescript/ui/components/OxyPayButton.d.ts.map +0 -1
  1389. package/lib/typescript/ui/components/OxyProvider.d.ts.map +0 -1
  1390. package/lib/typescript/ui/components/OxySignInButton.d.ts.map +0 -1
  1391. package/lib/typescript/ui/components/ProfileCard.d.ts.map +0 -1
  1392. package/lib/typescript/ui/components/QuickActions.d.ts.map +0 -1
  1393. package/lib/typescript/ui/components/Section.d.ts.map +0 -1
  1394. package/lib/typescript/ui/components/SectionTitle.d.ts.map +0 -1
  1395. package/lib/typescript/ui/components/SettingRow.d.ts +0 -14
  1396. package/lib/typescript/ui/components/SettingRow.d.ts.map +0 -1
  1397. package/lib/typescript/ui/components/StepBasedScreen.d.ts.map +0 -1
  1398. package/lib/typescript/ui/components/Surface.d.ts.map +0 -1
  1399. package/lib/typescript/ui/components/TextField/Addons/Outline.d.ts.map +0 -1
  1400. package/lib/typescript/ui/components/TextField/Addons/Underline.d.ts.map +0 -1
  1401. package/lib/typescript/ui/components/TextField/Adornment/TextFieldAdornment.d.ts.map +0 -1
  1402. package/lib/typescript/ui/components/TextField/Adornment/TextFieldAffix.d.ts.map +0 -1
  1403. package/lib/typescript/ui/components/TextField/Adornment/TextFieldIcon.d.ts.map +0 -1
  1404. package/lib/typescript/ui/components/TextField/Adornment/enums.d.ts.map +0 -1
  1405. package/lib/typescript/ui/components/TextField/Adornment/types.d.ts.map +0 -1
  1406. package/lib/typescript/ui/components/TextField/Adornment/utils.d.ts.map +0 -1
  1407. package/lib/typescript/ui/components/TextField/Label/InputLabel.d.ts.map +0 -1
  1408. package/lib/typescript/ui/components/TextField/Label/LabelBackground.d.ts.map +0 -1
  1409. package/lib/typescript/ui/components/TextField/TextFieldFlat.d.ts.map +0 -1
  1410. package/lib/typescript/ui/components/TextField/TextFieldOutlined.d.ts.map +0 -1
  1411. package/lib/typescript/ui/components/TextField/constants.d.ts.map +0 -1
  1412. package/lib/typescript/ui/components/TextField/helpers.d.ts.map +0 -1
  1413. package/lib/typescript/ui/components/TextField/types.d.ts.map +0 -1
  1414. package/lib/typescript/ui/components/TextField.d.ts.map +0 -1
  1415. package/lib/typescript/ui/components/TouchableRipple/Pressable.d.ts.map +0 -1
  1416. package/lib/typescript/ui/components/TouchableRipple/TouchableRipple.d.ts.map +0 -1
  1417. package/lib/typescript/ui/components/TouchableRipple/TouchableRipple.native.d.ts.map +0 -1
  1418. package/lib/typescript/ui/components/TouchableRipple/utils.d.ts.map +0 -1
  1419. package/lib/typescript/ui/components/Typography/AnimatedText.d.ts.map +0 -1
  1420. package/lib/typescript/ui/components/Typography/types.d.ts.map +0 -1
  1421. package/lib/typescript/ui/components/fileManagement/FileDetailsModal.d.ts.map +0 -1
  1422. package/lib/typescript/ui/components/fileManagement/FileViewer.d.ts.map +0 -1
  1423. package/lib/typescript/ui/components/fileManagement/UploadPreview.d.ts.map +0 -1
  1424. package/lib/typescript/ui/components/fileManagement/styles.d.ts.map +0 -1
  1425. package/lib/typescript/ui/components/icon/FAIRWalletIcon.d.ts.map +0 -1
  1426. package/lib/typescript/ui/components/icon/OxyIcon.d.ts.map +0 -1
  1427. package/lib/typescript/ui/components/icon/index.d.ts.map +0 -1
  1428. package/lib/typescript/ui/components/index.d.ts.map +0 -1
  1429. package/lib/typescript/ui/components/internal/GroupedPillButtons.d.ts.map +0 -1
  1430. package/lib/typescript/ui/components/internal/PinInput.d.ts.map +0 -1
  1431. package/lib/typescript/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +0 -1
  1432. package/lib/typescript/ui/components/profile/EditBioModal.d.ts.map +0 -1
  1433. package/lib/typescript/ui/components/profile/EditDisplayNameModal.d.ts.map +0 -1
  1434. package/lib/typescript/ui/components/profile/EditEmailModal.d.ts.map +0 -1
  1435. package/lib/typescript/ui/components/profile/EditLinksModal.d.ts.map +0 -1
  1436. package/lib/typescript/ui/components/profile/EditLocationModal.d.ts.map +0 -1
  1437. package/lib/typescript/ui/components/profile/EditUsernameModal.d.ts.map +0 -1
  1438. package/lib/typescript/ui/components/styles/overlay.d.ts.map +0 -1
  1439. package/lib/typescript/ui/components/styles/shadow.d.ts.map +0 -1
  1440. package/lib/typescript/ui/components/theming.d.ts.map +0 -1
  1441. package/lib/typescript/ui/components/types.d.ts.map +0 -1
  1442. package/lib/typescript/ui/components/utils/forwardRef.d.ts.map +0 -1
  1443. package/lib/typescript/ui/components/utils/hasTouchHandler.d.ts.map +0 -1
  1444. package/lib/typescript/ui/components/utils/roundLayoutSize.d.ts.map +0 -1
  1445. package/lib/typescript/ui/components/utils/splitStyles.d.ts.map +0 -1
  1446. package/lib/typescript/ui/constants/iconColors.d.ts.map +0 -1
  1447. package/lib/typescript/ui/constants/spacing.d.ts.map +0 -1
  1448. package/lib/typescript/ui/constants/theme.d.ts.map +0 -1
  1449. package/lib/typescript/ui/context/OxyContext.d.ts.map +0 -1
  1450. package/lib/typescript/ui/context/ThemeContext.d.ts.map +0 -1
  1451. package/lib/typescript/ui/context/hooks/useAuthOperations.d.ts.map +0 -1
  1452. package/lib/typescript/ui/context/hooks/useDeviceManagement.d.ts.map +0 -1
  1453. package/lib/typescript/ui/context/hooks/useLanguageManagement.d.ts.map +0 -1
  1454. package/lib/typescript/ui/context/hooks/useSessionManagement.d.ts.map +0 -1
  1455. package/lib/typescript/ui/hooks/index.d.ts +0 -5
  1456. package/lib/typescript/ui/hooks/index.d.ts.map +0 -1
  1457. package/lib/typescript/ui/hooks/mutations/index.d.ts.map +0 -1
  1458. package/lib/typescript/ui/hooks/mutations/useAccountMutations.d.ts.map +0 -1
  1459. package/lib/typescript/ui/hooks/mutations/useServicesMutations.d.ts.map +0 -1
  1460. package/lib/typescript/ui/hooks/queries/index.d.ts.map +0 -1
  1461. package/lib/typescript/ui/hooks/queries/queryKeys.d.ts.map +0 -1
  1462. package/lib/typescript/ui/hooks/queries/useAccountQueries.d.ts.map +0 -1
  1463. package/lib/typescript/ui/hooks/queries/useSecurityQueries.d.ts.map +0 -1
  1464. package/lib/typescript/ui/hooks/queries/useServicesQueries.d.ts.map +0 -1
  1465. package/lib/typescript/ui/hooks/queryClient.d.ts.map +0 -1
  1466. package/lib/typescript/ui/hooks/use-color-scheme.d.ts.map +0 -1
  1467. package/lib/typescript/ui/hooks/use-haptic-press.d.ts.map +0 -1
  1468. package/lib/typescript/ui/hooks/useAssets.d.ts.map +0 -1
  1469. package/lib/typescript/ui/hooks/useDeviceManagement.d.ts.map +0 -1
  1470. package/lib/typescript/ui/hooks/useFileDownloadUrl.d.ts.map +0 -1
  1471. package/lib/typescript/ui/hooks/useFollow.d.ts.map +0 -1
  1472. package/lib/typescript/ui/hooks/useFollow.types.d.ts.map +0 -1
  1473. package/lib/typescript/ui/hooks/useI18n.d.ts.map +0 -1
  1474. package/lib/typescript/ui/hooks/useLanguageManagement.d.ts.map +0 -1
  1475. package/lib/typescript/ui/hooks/useProfileEditing.d.ts.map +0 -1
  1476. package/lib/typescript/ui/hooks/useQueryClient.d.ts.map +0 -1
  1477. package/lib/typescript/ui/hooks/useSessionManagement.d.ts.map +0 -1
  1478. package/lib/typescript/ui/hooks/useSessionSocket.d.ts.map +0 -1
  1479. package/lib/typescript/ui/hooks/useStorage.d.ts.map +0 -1
  1480. package/lib/typescript/ui/hooks/useThemeColors.d.ts.map +0 -1
  1481. package/lib/typescript/ui/hooks/useThemeStyles.d.ts.map +0 -1
  1482. package/lib/typescript/ui/index.d.ts.map +0 -1
  1483. package/lib/typescript/ui/isFrontend.d.ts.map +0 -1
  1484. package/lib/typescript/ui/navigation/bottomSheetManager.d.ts.map +0 -1
  1485. package/lib/typescript/ui/navigation/routes.d.ts +0 -6
  1486. package/lib/typescript/ui/navigation/routes.d.ts.map +0 -1
  1487. package/lib/typescript/ui/screens/AccountCenterScreen.d.ts.map +0 -1
  1488. package/lib/typescript/ui/screens/AccountOverviewScreen.d.ts.map +0 -1
  1489. package/lib/typescript/ui/screens/AccountSettingsScreen.d.ts.map +0 -1
  1490. package/lib/typescript/ui/screens/AccountSwitcherScreen.d.ts.map +0 -1
  1491. package/lib/typescript/ui/screens/AccountVerificationScreen.d.ts.map +0 -1
  1492. package/lib/typescript/ui/screens/AppInfoScreen.d.ts.map +0 -1
  1493. package/lib/typescript/ui/screens/FeedbackScreen.d.ts.map +0 -1
  1494. package/lib/typescript/ui/screens/FileManagementScreen.d.ts.map +0 -1
  1495. package/lib/typescript/ui/screens/HelpSupportScreen.d.ts.map +0 -1
  1496. package/lib/typescript/ui/screens/HistoryViewScreen.d.ts.map +0 -1
  1497. package/lib/typescript/ui/screens/LanguageSelectorScreen.d.ts.map +0 -1
  1498. package/lib/typescript/ui/screens/LegalDocumentsScreen.d.ts.map +0 -1
  1499. package/lib/typescript/ui/screens/OxyAuthScreen.d.ts.map +0 -1
  1500. package/lib/typescript/ui/screens/PaymentGatewayScreen.d.ts +0 -27
  1501. package/lib/typescript/ui/screens/PaymentGatewayScreen.d.ts.map +0 -1
  1502. package/lib/typescript/ui/screens/PremiumSubscriptionScreen.d.ts.map +0 -1
  1503. package/lib/typescript/ui/screens/PrivacySettingsScreen.d.ts.map +0 -1
  1504. package/lib/typescript/ui/screens/ProfileScreen.d.ts.map +0 -1
  1505. package/lib/typescript/ui/screens/SavesCollectionsScreen.d.ts.map +0 -1
  1506. package/lib/typescript/ui/screens/SearchSettingsScreen.d.ts.map +0 -1
  1507. package/lib/typescript/ui/screens/SessionManagementScreen.d.ts.map +0 -1
  1508. package/lib/typescript/ui/screens/UserLinksScreen.d.ts.map +0 -1
  1509. package/lib/typescript/ui/screens/WelcomeNewUserScreen.d.ts.map +0 -1
  1510. package/lib/typescript/ui/screens/karma/KarmaAboutScreen.d.ts.map +0 -1
  1511. package/lib/typescript/ui/screens/karma/KarmaCenterScreen.d.ts.map +0 -1
  1512. package/lib/typescript/ui/screens/karma/KarmaFAQScreen.d.ts.map +0 -1
  1513. package/lib/typescript/ui/screens/karma/KarmaLeaderboardScreen.d.ts.map +0 -1
  1514. package/lib/typescript/ui/screens/karma/KarmaRewardsScreen.d.ts.map +0 -1
  1515. package/lib/typescript/ui/screens/karma/KarmaRulesScreen.d.ts.map +0 -1
  1516. package/lib/typescript/ui/stores/accountStore.d.ts.map +0 -1
  1517. package/lib/typescript/ui/stores/assetStore.d.ts.map +0 -1
  1518. package/lib/typescript/ui/stores/authStore.d.ts.map +0 -1
  1519. package/lib/typescript/ui/stores/fileStore.d.ts.map +0 -1
  1520. package/lib/typescript/ui/stores/followStore.d.ts.map +0 -1
  1521. package/lib/typescript/ui/styles/authStyles.d.ts.map +0 -1
  1522. package/lib/typescript/ui/styles/fonts.d.ts.map +0 -1
  1523. package/lib/typescript/ui/styles/index.d.ts.map +0 -1
  1524. package/lib/typescript/ui/styles/spacing.d.ts.map +0 -1
  1525. package/lib/typescript/ui/styles/theme.d.ts.map +0 -1
  1526. package/lib/typescript/ui/types/fileManagement.d.ts.map +0 -1
  1527. package/lib/typescript/ui/types/navigation.d.ts.map +0 -1
  1528. package/lib/typescript/ui/utils/avatarUtils.d.ts.map +0 -1
  1529. package/lib/typescript/ui/utils/colorUtils.d.ts.map +0 -1
  1530. package/lib/typescript/ui/utils/confirmAction.d.ts.map +0 -1
  1531. package/lib/typescript/ui/utils/errorHandlers.d.ts.map +0 -1
  1532. package/lib/typescript/ui/utils/fileManagement.d.ts.map +0 -1
  1533. package/lib/typescript/ui/utils/sessionHelpers.d.ts.map +0 -1
  1534. package/lib/typescript/ui/utils/storageHelpers.d.ts.map +0 -1
  1535. package/lib/typescript/ui/utils/themeUtils.d.ts.map +0 -1
  1536. package/lib/typescript/ui/utils/user-utils.d.ts.map +0 -1
  1537. package/lib/typescript/utils/apiUtils.d.ts.map +0 -1
  1538. package/lib/typescript/utils/asyncUtils.d.ts.map +0 -1
  1539. package/lib/typescript/utils/cache.d.ts.map +0 -1
  1540. package/lib/typescript/utils/deviceManager.d.ts.map +0 -1
  1541. package/lib/typescript/utils/errorUtils.d.ts.map +0 -1
  1542. package/lib/typescript/utils/hookUtils.d.ts.map +0 -1
  1543. package/lib/typescript/utils/index.d.ts.map +0 -1
  1544. package/lib/typescript/utils/languageUtils.d.ts.map +0 -1
  1545. package/lib/typescript/utils/loggerUtils.d.ts.map +0 -1
  1546. package/lib/typescript/utils/requestUtils.d.ts.map +0 -1
  1547. package/lib/typescript/utils/sessionUtils.d.ts.map +0 -1
  1548. package/lib/typescript/utils/validationUtils.d.ts.map +0 -1
  1549. /package/lib/typescript/{assets → commonjs/assets}/icons/OxyServices.d.ts +0 -0
  1550. /package/lib/typescript/{assets → commonjs/assets}/illustrations/HighFive.d.ts +0 -0
  1551. /package/lib/typescript/{constants → commonjs/constants}/version.d.ts +0 -0
  1552. /package/lib/typescript/{core → commonjs/core}/CrossDomainAuth.d.ts +0 -0
  1553. /package/lib/typescript/{core → commonjs/core}/HttpService.d.ts +0 -0
  1554. /package/lib/typescript/{core → commonjs/core}/OxyServices.base.d.ts +0 -0
  1555. /package/lib/typescript/{core → commonjs/core}/OxyServices.d.ts +0 -0
  1556. /package/lib/typescript/{core → commonjs/core}/OxyServices.errors.d.ts +0 -0
  1557. /package/lib/typescript/{core → commonjs/core}/index.d.ts +0 -0
  1558. /package/lib/typescript/{core → commonjs/core}/mixins/OxyServices.analytics.d.ts +0 -0
  1559. /package/lib/typescript/{core → commonjs/core}/mixins/OxyServices.assets.d.ts +0 -0
  1560. /package/lib/typescript/{core → commonjs/core}/mixins/OxyServices.auth.d.ts +0 -0
  1561. /package/lib/typescript/{core → commonjs/core}/mixins/OxyServices.developer.d.ts +0 -0
  1562. /package/lib/typescript/{core → commonjs/core}/mixins/OxyServices.devices.d.ts +0 -0
  1563. /package/lib/typescript/{core → commonjs/core}/mixins/OxyServices.fedcm.d.ts +0 -0
  1564. /package/lib/typescript/{core → commonjs/core}/mixins/OxyServices.karma.d.ts +0 -0
  1565. /package/lib/typescript/{core → commonjs/core}/mixins/OxyServices.language.d.ts +0 -0
  1566. /package/lib/typescript/{core → commonjs/core}/mixins/OxyServices.location.d.ts +0 -0
  1567. /package/lib/typescript/{core → commonjs/core}/mixins/OxyServices.payment.d.ts +0 -0
  1568. /package/lib/typescript/{core → commonjs/core}/mixins/OxyServices.popup.d.ts +0 -0
  1569. /package/lib/typescript/{core → commonjs/core}/mixins/OxyServices.privacy.d.ts +0 -0
  1570. /package/lib/typescript/{core → commonjs/core}/mixins/OxyServices.redirect.d.ts +0 -0
  1571. /package/lib/typescript/{core → commonjs/core}/mixins/OxyServices.security.d.ts +0 -0
  1572. /package/lib/typescript/{core → commonjs/core}/mixins/OxyServices.user.d.ts +0 -0
  1573. /package/lib/typescript/{core → commonjs/core}/mixins/OxyServices.utility.d.ts +0 -0
  1574. /package/lib/typescript/{core → commonjs/core}/mixins/mixinHelpers.d.ts +0 -0
  1575. /package/lib/typescript/{crypto → commonjs/crypto}/index.d.ts +0 -0
  1576. /package/lib/typescript/{crypto → commonjs/crypto}/keyManager.d.ts +0 -0
  1577. /package/lib/typescript/{crypto → commonjs/crypto}/polyfill.d.ts +0 -0
  1578. /package/lib/typescript/{crypto → commonjs/crypto}/recoveryPhrase.d.ts +0 -0
  1579. /package/lib/typescript/{crypto → commonjs/crypto}/signatureService.d.ts +0 -0
  1580. /package/lib/typescript/{i18n → commonjs/i18n}/index.d.ts +0 -0
  1581. /package/lib/typescript/{index.d.ts → commonjs/index.d.ts} +0 -0
  1582. /package/lib/typescript/{lib → commonjs/lib}/sonner-safe.d.ts +0 -0
  1583. /package/lib/typescript/{lib → commonjs/lib}/sonner.d.ts +0 -0
  1584. /package/lib/typescript/{models → commonjs/models}/interfaces.d.ts +0 -0
  1585. /package/lib/typescript/{models → commonjs/models}/session.d.ts +0 -0
  1586. /package/lib/typescript/{node → commonjs/node}/index.d.ts +0 -0
  1587. /package/lib/typescript/{ui → commonjs/ui}/components/ActivityIndicator.d.ts +0 -0
  1588. /package/lib/typescript/{ui → commonjs/ui}/components/AnimationExample.d.ts +0 -0
  1589. /package/lib/typescript/{ui → commonjs/ui}/components/AutoHeightScrollView.d.ts +0 -0
  1590. /package/lib/typescript/{ui → commonjs/ui}/components/Avatar.d.ts +0 -0
  1591. /package/lib/typescript/{ui → commonjs/ui}/components/BottomSheet.d.ts +0 -0
  1592. /package/lib/typescript/{ui → commonjs/ui}/components/BottomSheetRouter.d.ts +0 -0
  1593. /package/lib/typescript/{ui → commonjs/ui}/components/CrossFadeIcon.d.ts +0 -0
  1594. /package/lib/typescript/{ui → commonjs/ui}/components/EmptyState.d.ts +0 -0
  1595. /package/lib/typescript/{ui → commonjs/ui}/components/ErrorBoundary.d.ts +0 -0
  1596. /package/lib/typescript/{ui → commonjs/ui}/components/FollowButton.d.ts +0 -0
  1597. /package/lib/typescript/{ui → commonjs/ui}/components/FontLoader.d.ts +0 -0
  1598. /package/lib/typescript/{ui → commonjs/ui}/components/GroupedSection.d.ts +0 -0
  1599. /package/lib/typescript/{ui → commonjs/ui}/components/Header.d.ts +0 -0
  1600. /package/lib/typescript/{ui → commonjs/ui}/components/HelperText.d.ts +0 -0
  1601. /package/lib/typescript/{ui → commonjs/ui}/components/Icon.d.ts +0 -0
  1602. /package/lib/typescript/{ui → commonjs/ui}/components/IconButton/IconButton.d.ts +0 -0
  1603. /package/lib/typescript/{ui → commonjs/ui}/components/IconButton/utils.d.ts +0 -0
  1604. /package/lib/typescript/{ui → commonjs/ui}/components/LoadingState.d.ts +0 -0
  1605. /package/lib/typescript/{ui → commonjs/ui}/components/OxyLogo.d.ts +0 -0
  1606. /package/lib/typescript/{ui → commonjs/ui}/components/OxyPayButton.d.ts +0 -0
  1607. /package/lib/typescript/{ui → commonjs/ui}/components/OxyProvider.d.ts +0 -0
  1608. /package/lib/typescript/{ui → commonjs/ui}/components/OxySignInButton.d.ts +0 -0
  1609. /package/lib/typescript/{ui → commonjs/ui}/components/ProfileCard.d.ts +0 -0
  1610. /package/lib/typescript/{ui → commonjs/ui}/components/QuickActions.d.ts +0 -0
  1611. /package/lib/typescript/{ui → commonjs/ui}/components/Section.d.ts +0 -0
  1612. /package/lib/typescript/{ui → commonjs/ui}/components/SectionTitle.d.ts +0 -0
  1613. /package/lib/typescript/{ui → commonjs/ui}/components/StepBasedScreen.d.ts +0 -0
  1614. /package/lib/typescript/{ui → commonjs/ui}/components/Surface.d.ts +0 -0
  1615. /package/lib/typescript/{ui → commonjs/ui}/components/TextField/Addons/Outline.d.ts +0 -0
  1616. /package/lib/typescript/{ui → commonjs/ui}/components/TextField/Addons/Underline.d.ts +0 -0
  1617. /package/lib/typescript/{ui → commonjs/ui}/components/TextField/Adornment/TextFieldAdornment.d.ts +0 -0
  1618. /package/lib/typescript/{ui → commonjs/ui}/components/TextField/Adornment/TextFieldAffix.d.ts +0 -0
  1619. /package/lib/typescript/{ui → commonjs/ui}/components/TextField/Adornment/TextFieldIcon.d.ts +0 -0
  1620. /package/lib/typescript/{ui → commonjs/ui}/components/TextField/Adornment/enums.d.ts +0 -0
  1621. /package/lib/typescript/{ui → commonjs/ui}/components/TextField/Adornment/types.d.ts +0 -0
  1622. /package/lib/typescript/{ui → commonjs/ui}/components/TextField/Adornment/utils.d.ts +0 -0
  1623. /package/lib/typescript/{ui → commonjs/ui}/components/TextField/Label/InputLabel.d.ts +0 -0
  1624. /package/lib/typescript/{ui → commonjs/ui}/components/TextField/Label/LabelBackground.d.ts +0 -0
  1625. /package/lib/typescript/{ui → commonjs/ui}/components/TextField/TextFieldFlat.d.ts +0 -0
  1626. /package/lib/typescript/{ui → commonjs/ui}/components/TextField/TextFieldOutlined.d.ts +0 -0
  1627. /package/lib/typescript/{ui → commonjs/ui}/components/TextField/constants.d.ts +0 -0
  1628. /package/lib/typescript/{ui → commonjs/ui}/components/TextField/helpers.d.ts +0 -0
  1629. /package/lib/typescript/{ui → commonjs/ui}/components/TextField/types.d.ts +0 -0
  1630. /package/lib/typescript/{ui → commonjs/ui}/components/TextField.d.ts +0 -0
  1631. /package/lib/typescript/{ui → commonjs/ui}/components/TouchableRipple/Pressable.d.ts +0 -0
  1632. /package/lib/typescript/{ui → commonjs/ui}/components/TouchableRipple/TouchableRipple.d.ts +0 -0
  1633. /package/lib/typescript/{ui → commonjs/ui}/components/TouchableRipple/TouchableRipple.native.d.ts +0 -0
  1634. /package/lib/typescript/{ui → commonjs/ui}/components/TouchableRipple/utils.d.ts +0 -0
  1635. /package/lib/typescript/{ui → commonjs/ui}/components/Typography/AnimatedText.d.ts +0 -0
  1636. /package/lib/typescript/{ui → commonjs/ui}/components/Typography/types.d.ts +0 -0
  1637. /package/lib/typescript/{ui → commonjs/ui}/components/fileManagement/FileDetailsModal.d.ts +0 -0
  1638. /package/lib/typescript/{ui → commonjs/ui}/components/fileManagement/FileViewer.d.ts +0 -0
  1639. /package/lib/typescript/{ui → commonjs/ui}/components/fileManagement/UploadPreview.d.ts +0 -0
  1640. /package/lib/typescript/{ui → commonjs/ui}/components/fileManagement/styles.d.ts +0 -0
  1641. /package/lib/typescript/{ui → commonjs/ui}/components/icon/FAIRWalletIcon.d.ts +0 -0
  1642. /package/lib/typescript/{ui → commonjs/ui}/components/icon/OxyIcon.d.ts +0 -0
  1643. /package/lib/typescript/{ui → commonjs/ui}/components/icon/index.d.ts +0 -0
  1644. /package/lib/typescript/{ui → commonjs/ui}/components/index.d.ts +0 -0
  1645. /package/lib/typescript/{ui → commonjs/ui}/components/internal/GroupedPillButtons.d.ts +0 -0
  1646. /package/lib/typescript/{ui → commonjs/ui}/components/internal/PinInput.d.ts +0 -0
  1647. /package/lib/typescript/{ui → commonjs/ui}/components/photogrid/JustifiedPhotoGrid.d.ts +0 -0
  1648. /package/lib/typescript/{ui → commonjs/ui}/components/profile/EditBioModal.d.ts +0 -0
  1649. /package/lib/typescript/{ui → commonjs/ui}/components/profile/EditDisplayNameModal.d.ts +0 -0
  1650. /package/lib/typescript/{ui → commonjs/ui}/components/profile/EditEmailModal.d.ts +0 -0
  1651. /package/lib/typescript/{ui → commonjs/ui}/components/profile/EditLinksModal.d.ts +0 -0
  1652. /package/lib/typescript/{ui → commonjs/ui}/components/profile/EditLocationModal.d.ts +0 -0
  1653. /package/lib/typescript/{ui → commonjs/ui}/components/profile/EditUsernameModal.d.ts +0 -0
  1654. /package/lib/typescript/{ui → commonjs/ui}/components/styles/overlay.d.ts +0 -0
  1655. /package/lib/typescript/{ui → commonjs/ui}/components/styles/shadow.d.ts +0 -0
  1656. /package/lib/typescript/{ui → commonjs/ui}/components/theming.d.ts +0 -0
  1657. /package/lib/typescript/{ui → commonjs/ui}/components/types.d.ts +0 -0
  1658. /package/lib/typescript/{ui → commonjs/ui}/components/utils/forwardRef.d.ts +0 -0
  1659. /package/lib/typescript/{ui → commonjs/ui}/components/utils/hasTouchHandler.d.ts +0 -0
  1660. /package/lib/typescript/{ui → commonjs/ui}/components/utils/roundLayoutSize.d.ts +0 -0
  1661. /package/lib/typescript/{ui → commonjs/ui}/components/utils/splitStyles.d.ts +0 -0
  1662. /package/lib/typescript/{ui → commonjs/ui}/constants/iconColors.d.ts +0 -0
  1663. /package/lib/typescript/{ui → commonjs/ui}/constants/spacing.d.ts +0 -0
  1664. /package/lib/typescript/{ui → commonjs/ui}/constants/theme.d.ts +0 -0
  1665. /package/lib/typescript/{ui → commonjs/ui}/context/OxyContext.d.ts +0 -0
  1666. /package/lib/typescript/{ui → commonjs/ui}/context/ThemeContext.d.ts +0 -0
  1667. /package/lib/typescript/{ui → commonjs/ui}/context/hooks/useAuthOperations.d.ts +0 -0
  1668. /package/lib/typescript/{ui → commonjs/ui}/context/hooks/useDeviceManagement.d.ts +0 -0
  1669. /package/lib/typescript/{ui → commonjs/ui}/context/hooks/useLanguageManagement.d.ts +0 -0
  1670. /package/lib/typescript/{ui → commonjs/ui}/context/hooks/useSessionManagement.d.ts +0 -0
  1671. /package/lib/typescript/{ui → commonjs/ui}/hooks/mutations/index.d.ts +0 -0
  1672. /package/lib/typescript/{ui → commonjs/ui}/hooks/mutations/useAccountMutations.d.ts +0 -0
  1673. /package/lib/typescript/{ui → commonjs/ui}/hooks/mutations/useServicesMutations.d.ts +0 -0
  1674. /package/lib/typescript/{ui → commonjs/ui}/hooks/queries/index.d.ts +0 -0
  1675. /package/lib/typescript/{ui → commonjs/ui}/hooks/queries/queryKeys.d.ts +0 -0
  1676. /package/lib/typescript/{ui → commonjs/ui}/hooks/queries/useAccountQueries.d.ts +0 -0
  1677. /package/lib/typescript/{ui → commonjs/ui}/hooks/queries/useSecurityQueries.d.ts +0 -0
  1678. /package/lib/typescript/{ui → commonjs/ui}/hooks/queries/useServicesQueries.d.ts +0 -0
  1679. /package/lib/typescript/{ui → commonjs/ui}/hooks/queryClient.d.ts +0 -0
  1680. /package/lib/typescript/{ui → commonjs/ui}/hooks/use-color-scheme.d.ts +0 -0
  1681. /package/lib/typescript/{ui → commonjs/ui}/hooks/use-haptic-press.d.ts +0 -0
  1682. /package/lib/typescript/{ui → commonjs/ui}/hooks/useAssets.d.ts +0 -0
  1683. /package/lib/typescript/{ui → commonjs/ui}/hooks/useDeviceManagement.d.ts +0 -0
  1684. /package/lib/typescript/{ui → commonjs/ui}/hooks/useFileDownloadUrl.d.ts +0 -0
  1685. /package/lib/typescript/{ui → commonjs/ui}/hooks/useFollow.d.ts +0 -0
  1686. /package/lib/typescript/{ui → commonjs/ui}/hooks/useFollow.types.d.ts +0 -0
  1687. /package/lib/typescript/{ui → commonjs/ui}/hooks/useI18n.d.ts +0 -0
  1688. /package/lib/typescript/{ui → commonjs/ui}/hooks/useLanguageManagement.d.ts +0 -0
  1689. /package/lib/typescript/{ui → commonjs/ui}/hooks/useProfileEditing.d.ts +0 -0
  1690. /package/lib/typescript/{ui → commonjs/ui}/hooks/useQueryClient.d.ts +0 -0
  1691. /package/lib/typescript/{ui → commonjs/ui}/hooks/useSessionManagement.d.ts +0 -0
  1692. /package/lib/typescript/{ui → commonjs/ui}/hooks/useSessionSocket.d.ts +0 -0
  1693. /package/lib/typescript/{ui → commonjs/ui}/hooks/useStorage.d.ts +0 -0
  1694. /package/lib/typescript/{ui → commonjs/ui}/hooks/useThemeColors.d.ts +0 -0
  1695. /package/lib/typescript/{ui → commonjs/ui}/hooks/useThemeStyles.d.ts +0 -0
  1696. /package/lib/typescript/{ui → commonjs/ui}/index.d.ts +0 -0
  1697. /package/lib/typescript/{ui → commonjs/ui}/isFrontend.d.ts +0 -0
  1698. /package/lib/typescript/{ui → commonjs/ui}/navigation/bottomSheetManager.d.ts +0 -0
  1699. /package/lib/typescript/{ui → commonjs/ui}/screens/AccountCenterScreen.d.ts +0 -0
  1700. /package/lib/typescript/{ui → commonjs/ui}/screens/AccountOverviewScreen.d.ts +0 -0
  1701. /package/lib/typescript/{ui → commonjs/ui}/screens/AccountSettingsScreen.d.ts +0 -0
  1702. /package/lib/typescript/{ui → commonjs/ui}/screens/AccountSwitcherScreen.d.ts +0 -0
  1703. /package/lib/typescript/{ui → commonjs/ui}/screens/AccountVerificationScreen.d.ts +0 -0
  1704. /package/lib/typescript/{ui → commonjs/ui}/screens/AppInfoScreen.d.ts +0 -0
  1705. /package/lib/typescript/{ui → commonjs/ui}/screens/FeedbackScreen.d.ts +0 -0
  1706. /package/lib/typescript/{ui → commonjs/ui}/screens/FileManagementScreen.d.ts +0 -0
  1707. /package/lib/typescript/{ui → commonjs/ui}/screens/HelpSupportScreen.d.ts +0 -0
  1708. /package/lib/typescript/{ui → commonjs/ui}/screens/HistoryViewScreen.d.ts +0 -0
  1709. /package/lib/typescript/{ui → commonjs/ui}/screens/LanguageSelectorScreen.d.ts +0 -0
  1710. /package/lib/typescript/{ui → commonjs/ui}/screens/LegalDocumentsScreen.d.ts +0 -0
  1711. /package/lib/typescript/{ui → commonjs/ui}/screens/OxyAuthScreen.d.ts +0 -0
  1712. /package/lib/typescript/{ui → commonjs/ui}/screens/PremiumSubscriptionScreen.d.ts +0 -0
  1713. /package/lib/typescript/{ui → commonjs/ui}/screens/PrivacySettingsScreen.d.ts +0 -0
  1714. /package/lib/typescript/{ui → commonjs/ui}/screens/ProfileScreen.d.ts +0 -0
  1715. /package/lib/typescript/{ui → commonjs/ui}/screens/SavesCollectionsScreen.d.ts +0 -0
  1716. /package/lib/typescript/{ui → commonjs/ui}/screens/SearchSettingsScreen.d.ts +0 -0
  1717. /package/lib/typescript/{ui → commonjs/ui}/screens/SessionManagementScreen.d.ts +0 -0
  1718. /package/lib/typescript/{ui → commonjs/ui}/screens/UserLinksScreen.d.ts +0 -0
  1719. /package/lib/typescript/{ui → commonjs/ui}/screens/WelcomeNewUserScreen.d.ts +0 -0
  1720. /package/lib/typescript/{ui → commonjs/ui}/screens/karma/KarmaAboutScreen.d.ts +0 -0
  1721. /package/lib/typescript/{ui → commonjs/ui}/screens/karma/KarmaCenterScreen.d.ts +0 -0
  1722. /package/lib/typescript/{ui → commonjs/ui}/screens/karma/KarmaFAQScreen.d.ts +0 -0
  1723. /package/lib/typescript/{ui → commonjs/ui}/screens/karma/KarmaLeaderboardScreen.d.ts +0 -0
  1724. /package/lib/typescript/{ui → commonjs/ui}/screens/karma/KarmaRewardsScreen.d.ts +0 -0
  1725. /package/lib/typescript/{ui → commonjs/ui}/screens/karma/KarmaRulesScreen.d.ts +0 -0
  1726. /package/lib/typescript/{ui → commonjs/ui}/stores/accountStore.d.ts +0 -0
  1727. /package/lib/typescript/{ui → commonjs/ui}/stores/assetStore.d.ts +0 -0
  1728. /package/lib/typescript/{ui → commonjs/ui}/stores/authStore.d.ts +0 -0
  1729. /package/lib/typescript/{ui → commonjs/ui}/stores/fileStore.d.ts +0 -0
  1730. /package/lib/typescript/{ui → commonjs/ui}/stores/followStore.d.ts +0 -0
  1731. /package/lib/typescript/{ui → commonjs/ui}/styles/authStyles.d.ts +0 -0
  1732. /package/lib/typescript/{ui → commonjs/ui}/styles/fonts.d.ts +0 -0
  1733. /package/lib/typescript/{ui → commonjs/ui}/styles/index.d.ts +0 -0
  1734. /package/lib/typescript/{ui → commonjs/ui}/styles/spacing.d.ts +0 -0
  1735. /package/lib/typescript/{ui → commonjs/ui}/styles/theme.d.ts +0 -0
  1736. /package/lib/typescript/{ui → commonjs/ui}/types/fileManagement.d.ts +0 -0
  1737. /package/lib/typescript/{ui → commonjs/ui}/types/navigation.d.ts +0 -0
  1738. /package/lib/typescript/{ui → commonjs/ui}/utils/avatarUtils.d.ts +0 -0
  1739. /package/lib/typescript/{ui → commonjs/ui}/utils/colorUtils.d.ts +0 -0
  1740. /package/lib/typescript/{ui → commonjs/ui}/utils/confirmAction.d.ts +0 -0
  1741. /package/lib/typescript/{ui → commonjs/ui}/utils/errorHandlers.d.ts +0 -0
  1742. /package/lib/typescript/{ui → commonjs/ui}/utils/fileManagement.d.ts +0 -0
  1743. /package/lib/typescript/{ui → commonjs/ui}/utils/sessionHelpers.d.ts +0 -0
  1744. /package/lib/typescript/{ui → commonjs/ui}/utils/storageHelpers.d.ts +0 -0
  1745. /package/lib/typescript/{ui → commonjs/ui}/utils/themeUtils.d.ts +0 -0
  1746. /package/lib/typescript/{ui → commonjs/ui}/utils/user-utils.d.ts +0 -0
  1747. /package/lib/typescript/{utils → commonjs/utils}/apiUtils.d.ts +0 -0
  1748. /package/lib/typescript/{utils → commonjs/utils}/asyncUtils.d.ts +0 -0
  1749. /package/lib/typescript/{utils → commonjs/utils}/cache.d.ts +0 -0
  1750. /package/lib/typescript/{utils → commonjs/utils}/deviceManager.d.ts +0 -0
  1751. /package/lib/typescript/{utils → commonjs/utils}/errorUtils.d.ts +0 -0
  1752. /package/lib/typescript/{utils → commonjs/utils}/hookUtils.d.ts +0 -0
  1753. /package/lib/typescript/{utils → commonjs/utils}/index.d.ts +0 -0
  1754. /package/lib/typescript/{utils → commonjs/utils}/languageUtils.d.ts +0 -0
  1755. /package/lib/typescript/{utils → commonjs/utils}/loggerUtils.d.ts +0 -0
  1756. /package/lib/typescript/{utils → commonjs/utils}/requestUtils.d.ts +0 -0
  1757. /package/lib/typescript/{utils → commonjs/utils}/sessionUtils.d.ts +0 -0
  1758. /package/lib/typescript/{utils → commonjs/utils}/validationUtils.d.ts +0 -0
@@ -0,0 +1,89 @@
1
+ "use strict";
2
+
3
+ import { useState, useCallback } from 'react';
4
+ import { toast } from "../../lib/sonner.js";
5
+ /**
6
+ * Hook for handling async actions with loading state, error handling, and toast notifications.
7
+ * Reduces boilerplate for common patterns like try-catch with toast feedback.
8
+ *
9
+ * @example
10
+ * const { execute, isLoading } = useAsyncAction({
11
+ * action: () => api.saveSettings(settings),
12
+ * successMessage: 'Settings saved!',
13
+ * errorMessage: 'Failed to save settings',
14
+ * });
15
+ *
16
+ * <Button onPress={execute} disabled={isLoading}>Save</Button>
17
+ */
18
+ export function useAsyncAction(options) {
19
+ const [isLoading, setIsLoading] = useState(false);
20
+ const [error, setError] = useState(null);
21
+ const execute = useCallback(async () => {
22
+ const {
23
+ action,
24
+ successMessage,
25
+ errorMessage,
26
+ onSuccess,
27
+ onError,
28
+ showLoadingToast,
29
+ loadingMessage
30
+ } = options;
31
+ setIsLoading(true);
32
+ setError(null);
33
+ if (showLoadingToast && loadingMessage) {
34
+ toast.loading(loadingMessage);
35
+ }
36
+ try {
37
+ const result = await action();
38
+ if (successMessage) {
39
+ toast.success(successMessage);
40
+ }
41
+ onSuccess?.(result);
42
+ return result;
43
+ } catch (err) {
44
+ const message = typeof errorMessage === 'function' ? errorMessage(err) : errorMessage || err?.message || 'An error occurred';
45
+ toast.error(message);
46
+ setError(err instanceof Error ? err : new Error(message));
47
+ onError?.(err);
48
+ return undefined;
49
+ } finally {
50
+ setIsLoading(false);
51
+ }
52
+ }, [options]);
53
+ const resetError = useCallback(() => {
54
+ setError(null);
55
+ }, []);
56
+ return {
57
+ execute,
58
+ isLoading,
59
+ error,
60
+ resetError
61
+ };
62
+ }
63
+
64
+ /**
65
+ * Simplified version that just executes an async action with toast feedback.
66
+ * Useful for one-off actions.
67
+ */
68
+ export async function executeWithToast(action, options) {
69
+ const {
70
+ successMessage,
71
+ errorMessage,
72
+ loadingMessage
73
+ } = options || {};
74
+ if (loadingMessage) {
75
+ toast.loading(loadingMessage);
76
+ }
77
+ try {
78
+ const result = await action();
79
+ if (successMessage) {
80
+ toast.success(successMessage);
81
+ }
82
+ return result;
83
+ } catch (err) {
84
+ toast.error(errorMessage || err?.message || 'An error occurred');
85
+ return undefined;
86
+ }
87
+ }
88
+ export default useAsyncAction;
89
+ //# sourceMappingURL=useAsyncAction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["useState","useCallback","toast","useAsyncAction","options","isLoading","setIsLoading","error","setError","execute","action","successMessage","errorMessage","onSuccess","onError","showLoadingToast","loadingMessage","loading","result","success","err","message","Error","undefined","resetError","executeWithToast"],"sourceRoot":"../../../../src","sources":["ui/hooks/useAsyncAction.ts"],"mappings":";;AAAA,SAASA,QAAQ,EAAEC,WAAW,QAAQ,OAAO;AAC7C,SAASC,KAAK,QAAQ,qBAAkB;AA8BxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,cAAcA,CAC1BC,OAAiC,EACV;EACvB,MAAM,CAACC,SAAS,EAAEC,YAAY,CAAC,GAAGN,QAAQ,CAAC,KAAK,CAAC;EACjD,MAAM,CAACO,KAAK,EAAEC,QAAQ,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OAAO,eAAeC,gBAAgBA,CAClCf,MAAwB,EACxBN,OAIC,EACqB;EACtB,MAAM;IAAEO,cAAc;IAAEC,YAAY;IAAEI;EAAe,CAAC,GAAGZ,OAAO,IAAI,CAAC,CAAC;EAEtE,IAAIY,cAAc,EAAE;IAChBd,KAAK,CAACe,OAAO,CAACD,cAAc,CAAC;EACjC;EAEA,IAAI;IACA,MAAME,MAAM,GAAG,MAAMR,MAAM,CAAC,CAAC;IAC7B,IAAIC,cAAc,EAAE;MAChBT,KAAK,CAACiB,OAAO,CAACR,cAAc,CAAC;IACjC;IACA,OAAOO,MAAM;EACjB,CAAC,CAAC,OAAOE,GAAQ,EAAE;IACflB,KAAK,CAACK,KAAK,CAACK,YAAY,IAAIQ,GAAG,EAAEC,OAAO,IAAI,mBAAmB,CAAC;IAChE,OAAOE,SAAS;EACpB;AACJ;AAEA,eAAepB,cAAc","ignoreList":[]}
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
 
3
3
  import { useCallback } from 'react';
4
- import { DeviceManager } from '../../utils/deviceManager';
5
- import { handleAuthError } from '../utils/errorHandlers';
4
+ import { DeviceManager } from "../../utils/deviceManager.js";
5
+ import { handleAuthError } from "../utils/errorHandlers.js";
6
6
  /**
7
7
  * Provide device session management helpers tied to the current active session.
8
8
  *
@@ -1 +1 @@
1
- {"version":3,"names":["useCallback","DeviceManager","handleAuthError","useDeviceManagement","oxyServices","activeSessionId","onError","clearSessionState","logger","getDeviceSessions","Error","error","defaultMessage","code","logoutAllDeviceSessions","updateDeviceName","deviceName"],"sourceRoot":"../../../../src","sources":["ui/hooks/useDeviceManagement.ts"],"mappings":";;AAAA,SAASA,WAAW,QAAQ,OAAO;AAEnC,SAASC,aAAa,QAAQ,2BAA2B;AAEzD,SAASC,eAAe,QAAQ,wBAAwB;AAwBxD;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,mBAAmB,GAAGA,CAAC;EAClCC,WAAW;EACXC,eAAe;EACfC,OAAO;EACPC,iBAAi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C,mBAAmB,CAAC;IAE1D,IAAI;MACF,MAAMN,WAAW,CAACW,gBAAgB,CAACV,eAAe,EAAEW,UAAU,CAAC;MAC/D,MAAMf,aAAa,CAACc,gBAAgB,CAACC,UAAU,CAAC;IAClD,CAAC,CAAC,OAAOL,KAAK,EAAE;MACdT,eAAe,CAACS,KAAK,EAAE;QACrBC,cAAc,EAAE,8BAA8B;QAC9CC,IAAI,EAAE,0BAA0B;QAChCP,OAAO;QACPE;MACF,CAAC,CAAC;MACF,MAAMG,KAAK,YAAYD,KAAK,GAAGC,KAAK,GAAG,IAAID,KAAK,CAAC,8BAA8B,CAAC;IAClF;EACF,CAAC,EACD,CAACL,eAAe,EAAEG,MAAM,EAAEF,OAAO,EAAEF,WAAW,CAChD,CAAC;EAED,OAAO;IACLK,iBAAiB;IACjBK,uBAAuB;IACvBC;EACF,CAAC;AACH,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["useCallback","DeviceManager","handleAuthError","useDeviceManagement","oxyServices","activeSessionId","onError","clearSessionState","logger","getDeviceSessions","Error","error","defaultMessage","code","logoutAllDeviceSessions","updateDeviceName","deviceName"],"sourceRoot":"../../../../src","sources":["ui/hooks/useDeviceManagement.ts"],"mappings":";;AAAA,SAASA,WAAW,QAAQ,OAAO;AAEnC,SAASC,aAAa,QAAQ,8BAA2B;AAEzD,SAASC,eAAe,QAAQ,2BAAwB;AAwBxD;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,mBAAmB,GAAGA,CAAC;EAClCC,WAAW;EACXC,eAAe;EACfC,OAAO;EACPC,iBAAiB;EACjBC;AAC0B,CAAC,KAAgC;EAC3D,MAAMC,iBAAiB,GAAGT,WAAW,CAAC,YAQjC;IACH,IAAI,CAACK,eAAe,EAAE,MAAM,IAAIK,KAAK,CAAC,mBAAmB,CAAC;IAC1D,IAAI;MACF,OAAO,MAAMN,WAAW,CAACK,iBAAiB,CAACJ,eAAe,CAAC;IAC7D,CAAC,CAAC,OAAOM,KAAK,EAAE;MAC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E,0BAA0B;QAChCP,OAAO;QACPE;MACF,CAAC,CAAC;MACF,MAAMG,KAAK,YAAYD,KAAK,GAAGC,KAAK,GAAG,IAAID,KAAK,CAAC,8BAA8B,CAAC;IAClF;EACF,CAAC,EACD,CAACL,eAAe,EAAEG,MAAM,EAAEF,OAAO,EAAEF,WAAW,CAChD,CAAC;EAED,OAAO;IACLK,iBAAiB;IACjBK,uBAAuB;IACvBC;EACF,CAAC;AACH,CAAC","ignoreList":[]}
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
 
3
3
  import { useCallback, useMemo, useEffect } from 'react';
4
- import { useFollowStore } from '../stores/followStore';
5
- import { useOxy } from '../context/OxyContext';
4
+ import { useFollowStore } from "../stores/followStore.js";
5
+ import { useOxy } from "../context/OxyContext.js";
6
6
  export const useFollow = userId => {
7
7
  const {
8
8
  oxyServices
@@ -1 +1 @@
1
- {"version":3,"names":["useCallback","useMemo","useEffect","useFollowStore","useOxy","useFollow","userId","oxyServices","userIds","Array","isArray","isSingleUser","followState","isFollowing","followingUsers","isLoading","loadingUsers","error","errors","followerCount","followerCounts","followingCount","followingCounts","isLoadingCounts","loadingCounts","toggleFollow","Error","toggleFollowUser","setFollowStatus","following","setFollowingStatus","fetchStatus","fetchFollowStatus","clearError","clearFollowError","fetchUserCounts","setFollowerCount","count","setFollowingCount","catch","err","console","warn","followData","data","forEach","uid","toggleFollowForUser","targetUserId","currentState","setFollowStatusForUser","fetchStatusForUser","fetchAllStatuses","Promise","all","map","clearErrorForUser","updateCountsFromFollowAction","action","counts","currentUserId","getCurrentUserId","undefined","isAnyLoading","some","hasAnyError","allFollowing","every","allNotFollowing","useFollowerCounts"],"sourceRoot":"../../../../src","sources":["ui/hooks/useFollow.ts"],"mappings":";;AAAA,SAASA,WAAW,EAAEC,OAAO,EAAEC,SAAS,QAAQ,OAAO;AACvD,SAASC,cAAc,QAAQ,uBAAuB;AACtD,SAASC,MAAM,QAAQ,uBAAuB;AAE9C,OAAO,MAAMC,SAAS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useFollow","userId","oxyServices","userIds","Array","isArray","isSingleUser","followState","isFollowing","followingUsers","isLoading","loadingUsers","error","errors","followerCount","followerCounts","followingCount","followingCounts","isLoadingCounts","loadingCounts","toggleFollow","Error","toggleFollowUser","setFollowStatus","following","setFollowingStatus","fetchStatus","fetchFollowStatus","clearError","clearFollowError","fetchUserCounts","setFollowerCount","count","setFollowingCount","catch","err","console","warn","followData","data","forEach","uid","toggleFollowForUser","targetUserId","currentState","setFollowStatusForUser","fetchStatusForUser","fetchAllStatuses","Promise","all","map","clearErrorForUser","updateCountsFromFollowAction","action","counts","currentUserId","getCurrentUserId","undefined","isAnyLoading","some","hasAnyError","allFollowing","every","allNotFollowing","useFollowerCounts"],"sourceRoot":"../../../../src","sources":["ui/hooks/useFollow.ts"],"mappings":";;AAAA,SAASA,WAAW,EAAEC,OAAO,EAAEC,SAAS,QAAQ,OAAO;AACvD,SAASC,cAAc,QAAQ,0BAAuB;AACtD,SAASC,MAAM,QAAQ,0BAAuB;AAE9C,OAAO,MAAMC,SAAS,GAAIC,MAA0B,IAAK;EACvD,MAAM;IAAEC;EAAY,CAAC,GAAGH,MAAM,CAAC,CAAC;EAChC,MAAMI,OAAO,GAAGP,OAAO,CAAC,MAAOQ,KAAK,CAACC,OAAO,CAACJ,MAAM,CAAC,GAAGA,MAAM,GAAGA,MAAM,GAAG,CAACA,MAAM,CAAC,GAAG,EAAG,EAAE,CAACA,MAAM,CAAC,CAAC;EAClG,MAAMK,YAAY,GAAG,OAAOL,MAAM,KAAK,QAAQ;;EAE/C;EACA,MAAMM,WAAW,GAAGT,cAAc,CAAC,CAAC;;EAEpC;EACA,MAAMU,WAAW,GAAGF,YAAY,IAAIL,MAAM,GAAGM,WAAW,CAACE,cAAc,CAACR,MAAM,CAAC,IAAI,KAAK,GAAG,KAAK;EAChG,MAAMS,SAAS,GAAGJ,YAAY,IAAIL,MAAM,GAAGM,WAAW,CAACI,YAAY,CAACV,MAAM,CAAC,IAAI,KAAK,GAAG,KAAK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eAAe,CAAC7B,MAAM,EAAEC,WAAW,CAAC;EACxD,CAAC,EAAE,CAACD,MAAM,EAAEM,WAAW,EAAEL,WAAW,CAAC,CAAC;EAEtC,MAAM6B,gBAAgB,GAAGpC,WAAW,CAAEqC,KAAa,IAAK;IACtDzB,WAAW,CAACwB,gBAAgB,CAAC9B,MAAM,EAAE+B,KAAK,CAAC;EAC7C,CAAC,EAAE,CAAC/B,MAAM,EAAEM,WAAW,CAAC,CAAC;EAEzB,MAAM0B,iBAAiB,GAAGtC,WAAW,CAAEqC,KAAa,IAAK;IACvDzB,WAAW,CAAC0B,iBAAiB,CAAChC,MAAM,EAAE+B,KAAK,CAAC;EAC9C,CAAC,EAAE,CAAC/B,MAAM,EAAEM,WAAW,CAAC,CAAC;EAEzB,OAAO;IACLO,aAAa;IACbE,cAAc;IACdE,eAAe;IACfY,eAAe;IACfC,gBAAgB;IAChBE;EACF,CAAC;AACH,CAAC","ignoreList":[]}
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
 
3
3
  import { useMemo } from 'react';
4
- import { useOxy } from '../context/OxyContext';
5
- import { translate } from '../../i18n';
4
+ import { useOxy } from "../context/OxyContext.js";
5
+ import { translate } from "../../i18n/index.js";
6
6
  export function useI18n() {
7
7
  const {
8
8
  currentLanguage
@@ -1 +1 @@
1
- {"version":3,"names":["useMemo","useOxy","translate","useI18n","currentLanguage","t","key","vars","locale"],"sourceRoot":"../../../../src","sources":["ui/hooks/useI18n.ts"],"mappings":";;AAAA,SAASA,OAAO,QAAQ,OAAO;AAC/B,SAASC,MAAM,QAAQ,uBAAuB;AAC9C,SAASC,SAAS,QAAQ,YAAY;AAEtC,OAAO,SAASC,OAAOA,CAAA,EAAG;EACxB,MAAM;IAAEC;EAAgB,CAAC,GAAGH,MAAM,CAAC,CAAC;EACpC,MAAMI,CAAC,GAAGL,OAAO,CAAC,MAAM;IACtB,OAAO,CAACM,GAAW,EAAEC,IAAsC,KAAKL,SAAS,CAACE,eAAe,EAAEE,GAAG,EAAEC,IAAI,CAAC;EACvG,CAAC,EAAE,CAACH,eAAe,CAAC,CAAC;EACrB,OAAO;IAAEC,CAAC;IAAEG,MAAM,EAAEJ;EAAgB,CAAC;AACvC","ignoreList":[]}
1
+ {"version":3,"names":["useMemo","useOxy","translate","useI18n","currentLanguage","t","key","vars","locale"],"sourceRoot":"../../../../src","sources":["ui/hooks/useI18n.ts"],"mappings":";;AAAA,SAASA,OAAO,QAAQ,OAAO;AAC/B,SAASC,MAAM,QAAQ,0BAAuB;AAC9C,SAASC,SAAS,QAAQ,qBAAY;AAEtC,OAAO,SAASC,OAAOA,CAAA,EAAG;EACxB,MAAM;IAAEC;EAAgB,CAAC,GAAGH,MAAM,CAAC,CAAC;EACpC,MAAMI,CAAC,GAAGL,OAAO,CAAC,MAAM;IACtB,OAAO,CAACM,GAAW,EAAEC,IAAsC,KAAKL,SAAS,CAACE,eAAe,EAAEE,GAAG,EAAEC,IAAI,CAAC;EACvG,CAAC,EAAE,CAACH,eAAe,CAAC,CAAC;EACrB,OAAO;IAAEC,CAAC;IAAEG,MAAM,EAAEJ;EAAgB,CAAC;AACvC","ignoreList":[]}
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
 
3
3
  import { useCallback, useEffect, useMemo, useState } from 'react';
4
- import { getLanguageMetadata, getLanguageName, getNativeLanguageName, normalizeLanguageCode } from '../../utils/languageUtils';
5
- import { extractErrorMessage } from '../utils/errorHandlers';
4
+ import { getLanguageMetadata, getLanguageName, getNativeLanguageName, normalizeLanguageCode } from "../../utils/languageUtils.js";
5
+ import { extractErrorMessage } from "../utils/errorHandlers.js";
6
6
  const DEFAULT_LANGUAGE = 'en-US';
7
7
 
8
8
  /**
@@ -1 +1 @@
1
- {"version":3,"names":["useCallback","useEffect","useMemo","useState","getLanguageMetadata","getLanguageName","getNativeLanguageName","normalizeLanguageCode","extractErrorMessage","DEFAULT_LANGUAGE","useLanguageManagement","storage","languageKey","onError","logger","currentLanguage","setCurrentLanguage","loadLanguageFromStorage","savedLanguageRaw","getItem","normalized","error","message","code","status","__DEV__","console","warn","catch","setLanguage","languageId","Error","setItem","applyLanguagePreference","user","userLanguage","language","metadata","languageName","nativeLanguageName","hydrateLanguage"],"sourceRoot":"../../../../src","sources":["ui/hooks/useLanguageManagement.ts"],"mappings":";;AAAA,SAASA,WAAW,EAAEC,SAAS,EAAEC,OAAO,EAAEC,QAAQ,QAAQ,OAAO;AAEjE,SACEC,mBAAmB,EACnBC,eAAe,EACfC,qBAAqB,EACrBC,qBAAqB,QAEhB,2BAA2B;AAElC,SAASC,mBAAmB,QAAQ,wBAAwB;AAmB5D,MAAMC,gBAAgB,GAAG,OAAO;;AAEhC;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,qBAAqB,GAAGA,CAAC;EACpCC,OAAO;EACPC,WAAW;EACXC,OAAO;EACPC;AAC4B,CAAC,KAAkC;EAC/D,MAAM,CAACC,eAAe,EAAEC,kBAAkB,CAAC,GAAGb,QAAQ,CAASM,gBAAgB,CAAC;EAEhF,MAAMQ,uBAAuB,GAAGjB,WAAW,CAAC,YAA2B;IACrE,IAAI,CAACW,OAAO,EAAE;MACZ;IACF;IAEA,IAAI;MACF,MAAMO,gBAAgB,GAAG,MAAMP,OAAO,CAACQ,OAAO,CAACP,WAAW,CAAC;MAC3D,MAAMQ,UAAU,GAAGb,qBAAqB,CAACW,gBAAgB,CAAC,IAAIA,gBAAgB;MAC9E,IAAIE,UAAU,EAAE;QACdJ,kBAAkB,CAACI,UAAU,CAAC;MAChC;IACF,CAAC,CAAC,OAAOC,KAAK,EAAE;MACd,MAAMC,OAAO,GAAGd,mBAAmB,CAACa,KAAK,EAAE,oCAAoC,CAAC;MAChFR,OAAO,GAAG;QACRS,OAAO;QACPC,IAAI,EAAE,qBAAqB;QAC3BC,MAAM,EAAE;MACV,CAAC,CAAC;MACF,IAAIV,MAAM,EAAE;QACVA,MAAM,CAACQ,OAAO,EAAED,KAAK,CAAC;MACxB,CAAC,MAAM,IAAII,O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AED,OAAO,EAAEF,OAAO,CACxC,CAAC;EAED,MAAMsB,uBAAuB,GAAGjC,WAAW,CACzC,MAAOkC,IAAiB,IAAoB;IAC1C,IAAI,CAACvB,OAAO,IAAI,CAACuB,IAAI,EAAE;MACrB;IACF;IAEA,MAAMC,YAAY,GAAID,IAAI,EAA8BE,QAA8B;IACtF,IAAI,CAACD,YAAY,EAAE;MACjB;IACF;IAEA,IAAI;MACF,MAAMf,UAAU,GAAGb,qBAAqB,CAAC4B,YAAY,CAAC,IAAIA,YAAY;MACtE,MAAMxB,OAAO,CAACqB,OAAO,CAACpB,WAAW,EAAEQ,UAAU,CAAC;MAC9CJ,kBAAkB,CAACI,UAAU,CAAC;IAChC,CAAC,CAAC,OAAOC,KAAK,EAAE;MACd,IAAIP,MAAM,EAAE;QACVA,MAAM,CAAC,4CAA4C,EAAEO,KAAK,CAAC;MAC7D,CAAC,MAAM,IAAII,OAAO,EAAE;QAClBC,OAAO,CAACC,IAAI,CAAC,4CAA4C,EAAEN,KAAK,CAAC;MACnE;IACF;EACF,CAAC,EACD,CAACT,WAAW,EAAEE,MAAM,EAAEH,OAAO,CAC/B,CAAC;EAED,MAAM0B,QAAQ,GAAGnC,OAAO,CAAC,MAAME,mBAAmB,CAACW,eAAe,CAAC,EAAE,CAACA,eAAe,CAAC,CAAC;EACvF,MAAMuB,YAAY,GAAGpC,OAAO,CAAC,MAAMG,eAAe,CAACU,eAAe,CAAC,EAAE,CAACA,eAAe,CAAC,CAAC;EACvF,MAAMwB,kBAAkB,GAAGrC,OAAO,CAChC,MAAMI,qBAAqB,CAACS,eAAe,CAAC,EAC5C,CAACA,eAAe,CAClB,CAAC;EAED,OAAO;IACLA,eAAe;IACfsB,QAAQ;IACRC,YAAY;IACZC,kBAAkB;IAClBV,WAAW;IACXI,uBAAuB;IACvBO,eAAe,EAAEvB;EACnB,CAAC;AACH,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["useCallback","useEffect","useMemo","useState","getLanguageMetadata","getLanguageName","getNativeLanguageName","normalizeLanguageCode","extractErrorMessage","DEFAULT_LANGUAGE","useLanguageManagement","storage","languageKey","onError","logger","currentLanguage","setCurrentLanguage","loadLanguageFromStorage","savedLanguageRaw","getItem","normalized","error","message","code","status","__DEV__","console","warn","catch","setLanguage","languageId","Error","setItem","applyLanguagePreference","user","userLanguage","language","metadata","languageName","nativeLanguageName","hydrateLanguage"],"sourceRoot":"../../../../src","sources":["ui/hooks/useLanguageManagement.ts"],"mappings":";;AAAA,SAASA,WAAW,EAAEC,SAAS,EAAEC,OAAO,EAAEC,QAAQ,QAAQ,OAAO;AAEjE,SACEC,mBAAmB,EACnBC,eAAe,EACfC,qBAAqB,EACrBC,qBAAqB,QAEhB,8BAA2B;AAElC,SAASC,mBAAmB,QAAQ,2BAAwB;AAmB5D,MAAMC,gBAAgB,GAAG,OAAO;;AAEhC;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,qBAAqB,GAAGA,CAAC;EACpCC,OAAO;EACPC,WAAW;EACXC,OAAO;EACPC;AAC4B,CAAC,KAAkC;EAC/D,MAAM,CAACC,eAAe,EAAEC,kBAAkB,CAAC,GAAGb,QAAQ,CAASM,gBAAgB,CAAC;EAEhF,MAAMQ,uBAAuB,GAAGjB,WAAW,CAAC,YAA2B;IACrE,IAAI,CAACW,OAAO,EAAE;MACZ;IACF;IAEA,IAAI;MACF,MAAMO,gBAAgB,GAAG,MAAMP,OAAO,CAACQ,OAAO,CAACP,WAAW,CAAC;MAC3D,MAAMQ,UAAU,GAAGb,qBAAqB,CAACW,gBAAgB,CAAC,IAAIA,gBAAgB;MAC9E,IAAIE,UAAU,EAAE;QACdJ,kBAAkB,CAACI,UAAU,CAAC;MAChC;IACF,CAAC,CAAC,OAAOC,KAAK,EAAE;MACd,MAAMC,OAAO,GAAGd,mBAAmB,CAACa,KAAK,EAAE,oCAAoC,CAAC;MAChFR,OAAO,GAAG;QACRS,OAAO;QACPC,IAAI,EAAE,qBAAqB;QAC3BC,MAAM,EAA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IACvBO,eAAe,EAAEvB;EACnB,CAAC;AACH,CAAC","ignoreList":[]}
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
 
3
3
  import { useCallback } from 'react';
4
- import { useI18n } from './useI18n';
5
- import { useUpdateProfile } from './mutations/useAccountMutations';
6
- import { useAuthStore } from '../stores/authStore';
4
+ import { useI18n } from "./useI18n.js";
5
+ import { useUpdateProfile } from "./mutations/useAccountMutations.js";
6
+ import { useAuthStore } from "../stores/authStore.js";
7
7
  /**
8
8
  * Hook for managing profile editing operations
9
9
  * Provides functions to update profile fields and handle saving
@@ -1 +1 @@
1
- {"version":3,"names":["useCallback","useI18n","useUpdateProfile","useAuthStore","useProfileEditing","t","updateProfileMutation","saveProfile","updates","updateData","username","undefined","email","bio","location","locations","length","name","links","linksMetadata","avatar","displayName","lastName","currentUser","getState","user","currentName","first","last","mutateAsync","error","updateField","field","value","map","link","url","isSaving","isPending"],"sourceRoot":"../../../../src","sources":["ui/hooks/useProfileEditing.ts"],"mappings":";;AAAA,SAASA,WAAW,QAAQ,OAAO;AACnC,SAASC,OAAO,QAAQ,WAAW;AACnC,SAASC,gBAAgB,QAAQ,iCAAiC;AAClE,SAASC,YAAY,QAAQ,qBAAqB;AA0BlD;AACA;AACA;AACA;AACA,OAAO,MAAMC,iBAAiB,GAAGA,CAAA,KAAM;EACnC,MAAM;IAAEC;EAAE,CAAC,GAAGJ,OAAO,CAAC,CAAC;EACvB,MAAMK,qBAAqB,GAAGJ,gBAAgB,CAAC,CAAC;;EAEhD;AACJ;AACA;EACI,MAAMK,WAAW,GAAGP,WAAW,CAAC,MAAOQ,OAA0B,IAAK;IAClE;IACA,MAAMC,UAA+B,GAAG,CAAC,CAAC;IAE1C,IAAID,OAAO,CAACE,QAAQ,KAAKC,SAAS,EAAE;MAChCF,UAAU,CAACC,QAAQ,GAAGF,OAAO,CAACE,QAAQ;IAC1C;IACA,IAAIF,OAAO,CAACI,KAAK,KAAKD,SAAS,EAAE;MAC7BF,UAAU,C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version":3,"names":["useCallback","useI18n","useUpdateProfile","useAuthStore","useProfileEditing","t","updateProfileMutation","saveProfile","updates","updateData","username","undefined","email","bio","location","locations","length","name","links","linksMetadata","avatar","displayName","lastName","currentUser","getState","user","currentName","first","last","mutateAsync","error","updateField","field","value","map","link","url","isSaving","isPending"],"sourceRoot":"../../../../src","sources":["ui/hooks/useProfileEditing.ts"],"mappings":";;AAAA,SAASA,WAAW,QAAQ,OAAO;AACnC,SAASC,OAAO,QAAQ,cAAW;AACnC,SAASC,gBAAgB,QAAQ,oCAAiC;AAClE,SAASC,YAAY,QAAQ,wBAAqB;AA0BlD;AACA;AACA;AACA;AACA,OAAO,MAAMC,iBAAiB,GAAGA,CAAA,KAAM;EACnC,MAAM;IAAEC;EAAE,CAAC,GAAGJ,OAAO,CAAC,CAAC;EACvB,MAAMK,qBAAqB,GAAGJ,gBAAgB,CAAC,CAAC;;EAEhD;AACJ;AACA;EACI,MAAMK,WAAW,GAAGP,WAAW,CAAC,MAAOQ,OAA0B,IAAK;IAClE;IACA,MAAMC,UAA+B,GAAG,CAAC,CAAC;IAE1C,IAAID,OAAO,CAACE,QAAQ,KAAKC,SAAS,EAAE;MAChCF,UAAU,CAACC,QAAQ,GAAGF,OAAO,CAACE,QAAQ;IAC1C;IACA,IAAIF,OAAO,CAACI,KAAK,KAAKD,SAAS,EAAE;MAC7BF,UAAU,CAACG,KAAK,GAAGJ,OAAO,CAACI,KAAK;IACpC;IACA,IAAIJ,OAAO,CAACK,GAAG,KAAKF,SAAS,EAAE;MAC3BF,UAAU,CAACI,GAAG,GAAGL,OAAO,CAACK,GAAG;IAChC;IACA,IAAIL,OAAO,CAACM,QAAQ,KAAKH,SAAS,IAAIH,OAAO,CAACO,SAAS,KAAKJ,SAAS,EAAE;MACnEF,UAAU,CAACK,QAAQ,GAAGN,OAAO,CAACO,SAAS,IAAIP,OAAO,CAACO,SAAS,CAACC,MAAM,GAAG,CAAC,GACjER,OAAO,CAACO,SAAS,CAAC,CAAC,C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AM0B,WAAW,GAAG/B,WAAW,CAAC,OAAOgC,KAAa,EAAEC,KAAU,KAAK;IACjE,MAAMzB,OAA0B,GAAG,CAAC,CAAC;IAErC,QAAQwB,KAAK;MACT,KAAK,aAAa;QACdxB,OAAO,CAACa,WAAW,GAAGY,KAAK;QAC3B;MACJ,KAAK,UAAU;QACXzB,OAAO,CAACE,QAAQ,GAAGuB,KAAK;QACxB;MACJ,KAAK,OAAO;QACRzB,OAAO,CAACI,KAAK,GAAGqB,KAAK;QACrB;MACJ,KAAK,KAAK;QACNzB,OAAO,CAACK,GAAG,GAAGoB,KAAK;QACnB;MACJ,KAAK,UAAU;QACXzB,OAAO,CAACO,SAAS,GAAGkB,KAAK;QACzB;MACJ,KAAK,OAAO;QACRzB,OAAO,CAACW,aAAa,GAAGc,KAAK;QAC7BzB,OAAO,CAACU,KAAK,GAAGe,KAAK,CAACC,GAAG,CAAEC,IAAS,IAAKA,IAAI,CAACC,GAAG,IAAID,IAAI,CAAC;QAC1D;MACJ;QACI,OAAO,KAAK;IACpB;IAEA,OAAO,MAAM5B,WAAW,CAACC,OAAO,CAAC;EACrC,CAAC,EAAE,CAACD,WAAW,CAAC,CAAC;EAEjB,OAAO;IACHA,WAAW;IACXwB,WAAW;IACXM,QAAQ,EAAE/B,qBAAqB,CAACgC;EACpC,CAAC;AACL,CAAC","ignoreList":[]}
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
 
3
3
  import { useCallback, useMemo, useRef, useState } from 'react';
4
- import { mergeSessions, normalizeAndSortSessions, sessionsArraysEqual } from '../../utils/sessionUtils';
5
- import { fetchSessionsWithFallback, validateSessionBatch } from '../utils/sessionHelpers';
6
- import { getStorageKeys } from '../utils/storageHelpers';
7
- import { handleAuthError, isInvalidSessionError } from '../utils/errorHandlers';
8
- import { clearQueryCache } from './queryClient';
4
+ import { mergeSessions, normalizeAndSortSessions, sessionsArraysEqual } from "../../utils/sessionUtils.js";
5
+ import { fetchSessionsWithFallback, validateSessionBatch } from "../utils/sessionHelpers.js";
6
+ import { getStorageKeys } from "../utils/storageHelpers.js";
7
+ import { handleAuthError, isInvalidSessionError } from "../utils/errorHandlers.js";
8
+ import { clearQueryCache } from "./queryClient.js";
9
9
  const DEFAULT_SAVE_ERROR_MESSAGE = 'Failed to save session data';
10
10
  const CLEAR_STORAGE_ERROR = 'Failed to clear storage';
11
11
 
@@ -1 +1 @@
1
- {"version":3,"names":["useCallback","useMemo","useRef","useState","mergeSessions","normalizeAndSortSessions","sessionsArraysEqual","fetchSessionsWithFallback","validateSessionBatch","getStorageKeys","handleAuthError","isInvalidSessionError","clearQueryCache","DEFAULT_SAVE_ERROR_MESSAGE","CLEAR_STORAGE_ERROR","useSessionManagement","oxyServices","storage","storageKeyPrefix","loginSuccess","logoutStore","applyLanguagePreference","onAuthStateChange","onError","setAuthError","logger","setTokenReady","queryClient","sessions","setSessions","activeSessionId","setActiveSessionId","refreshInFlightRef","removedSessionsRef","Set","lastRefreshRef","storageKeys","saveSessionIds","sessionIds","uniqueIds","Array","from","setItem","JSON","stringify","error","__DEV__","console","warn","updateSessions","incoming","options","prevSessions","processed","merge","map","session","sessionId","saveActiveSessionId","defaultMessage","code","removeActiveSessionId","removeItem","clearSessionStorage","clearSessionState","clear","activateSession","user","getTokenBySession","trackRemovedSession","current","add","setTimeout","delete","findReplacementSession","length","validationResults","maxConcurrency","validSession","find","result","valid","validation","validateSession","useHeaderValidation","switchSession","Error","deviceSessions","fallbackUserId","id","invalidSession","filter","otherSessionIds","has","replacementUser","refreshSessions","activeUserId","now","Date","refreshPromise","otherSessions","isRefreshInFlight","Boolean"],"sourceRoot":"../../../../src","sources":["ui/hooks/useSessionManagement.ts"],"mappings":";;AAAA,SAASA,WAAW,EAAEC,OAAO,EAAEC,MAAM,EAAEC,QAAQ,QAAQ,OAAO;AAG9D,SAASC,aAAa,EAAEC,wBAAwB,EAAEC,mBAAmB,QAAQ,0BAA0B;AACvG,SAASC,yBAAyB,EAAuBC,oBAAoB,QAAQ,y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,CAACC,SAAS,CAAC;UAEtC,MAAMqC,eAAe,GAAG,MAAMpB,sBAAsB,CAAC0B,aAAa,CAAC;UACnE,IAAI,CAACN,eAAe,EAAE;YACpB,MAAM9B,iBAAiB,CAAC,CAAC;UAC3B;UACA;QACF;QAEAtD,eAAe,CAACmC,KAAK,EAAE;UACrBc,cAAc,EAAE,4BAA4B;UAC5CC,IAAI,EAAE,uBAAuB;UAC7BrC,OAAO;UACPC,YAAY;UACZC;QACF,CAAC,CAAC;MACJ,CAAC,SAAS;QACRO,kBAAkB,CAACsC,OAAO,GAAG,IAAI;QACjCnC,cAAc,CAACmC,OAAO,GAAG4B,IAAI,CAACD,GAAG,CAAC,CAAC;MACrC;IACF,CAAC,EAAE,CAAC;IAEJjE,kBAAkB,CAACsC,OAAO,GAAG6B,cAAc;IAC3C,MAAMA,cAAc;EACtB,CAAC,EACD,CACErE,eAAe,EACfkC,iBAAiB,EACjBU,sBAAsB,EACtBjD,MAAM,EACNF,OAAO,EACPP,WAAW,EACXY,QAAQ,EACRJ,YAAY,EACZyB,cAAc,CAElB,CAAC;EAED,MAAMoD,iBAAiB,GAAGC,OAAO,CAACtE,kBAAkB,CAACsC,OAAO,CAAC;EAE7D,OAAO;IACL1C,QAAQ;IACRE,eAAe;IACfC,kBAAkB;IAClBkB,cAAc;IACdoC,aAAa;IACbU,eAAe;IACf/B,iBAAiB;IACjBN,mBAAmB;IACnBW,mBAAmB;IACnBjC,WAAW;IACXiE;EACF,CAAC;AACH,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["useCallback","useMemo","useRef","useState","mergeSessions","normalizeAndSortSessions","sessionsArraysEqual","fetchSessionsWithFallback","validateSessionBatch","getStorageKeys","handleAuthError","isInvalidSessionError","clearQueryCache","DEFAULT_SAVE_ERROR_MESSAGE","CLEAR_STORAGE_ERROR","useSessionManagement","oxyServices","storage","storageKeyPrefix","loginSuccess","logoutStore","applyLanguagePreference","onAuthStateChange","onError","setAuthError","logger","setTokenReady","queryClient","sessions","setSessions","activeSessionId","setActiveSessionId","refreshInFlightRef","removedSessionsRef","Set","lastRefreshRef","storageKeys","saveSessionIds","sessionIds","uniqueIds","Array","from","setItem","JSON","stringify","error","__DEV__","console","warn","updateSessions","incoming","options","prevSessions","processed","merge","map","session","sessionId","saveActiveSessionId","defaultMessage","code","removeActiveSessionId","removeItem","clearSessionStorage","clearSessionState","clear","activateSession","user","getTokenBySession","trackRemovedSession","current","add","setTimeout","delete","findReplacementSession","length","validationResults","maxConcurrency","validSession","find","result","valid","validation","validateSession","useHeaderValidation","switchSession","Error","deviceSessions","fallbackUserId","id","invalidSession","filter","otherSessionIds","has","replacementUser","refreshSessions","activeUserId","now","Date","refreshPromise","otherSessions","isRefreshInFlight","Boolean"],"sourceRoot":"../../../../src","sources":["ui/hooks/useSessionManagement.ts"],"mappings":";;AAAA,SAASA,WAAW,EAAEC,OAAO,EAAEC,MAAM,EAAEC,QAAQ,QAAQ,OAAO;AAG9D,SAASC,aAAa,EAAEC,wBAAwB,EAAEC,mBAAmB,QAAQ,6BAA0B;AACvG,SAASC,yBAAyB,EAAuBC,oBAAoB,QAAQ,4BAAyB;AAC9G,SAASC,cAAc,QAA+B,4BAAyB;AAC/E,SAASC,eAAe,EAAEC,qBAAqB,QAAQ,2BAAwB;AAG/E,SAASC,eAAe,QAAQ,kBAAe;AA+B/C,MAAMC,0BAA0B,GAAG,6BAA6B;AAChE,MAAMC,mBAAmB,GAAG,yBAAyB;;AAErD;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,oBAAoB,GAAGA,CAAC;EACnCC,WAAW;EACXC,OAAO;EACPC,gBAAgB;EAChBC,YAAY;EACZC,WAAW;EACXC,uBAAuB;EACvBC,iBAAiB;EACjBC,OAAO;EACPC,YAAY;EACZC,MAAM;EACNC,aAAa;EACbC;AAC2B,CAAC,KAAiC;EAC7D,MAAM,CAACC,QAAQ,EAAEC,WAAW,CAAC,GAAG1B,QAAQ,CAAkB,EAAE,CAAC;EAC7D,MAAM,CA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AC,EACD,CACErE,eAAe,EACfkC,iBAAiB,EACjBU,sBAAsB,EACtBjD,MAAM,EACNF,OAAO,EACPP,WAAW,EACXY,QAAQ,EACRJ,YAAY,EACZyB,cAAc,CAElB,CAAC;EAED,MAAMoD,iBAAiB,GAAGC,OAAO,CAACtE,kBAAkB,CAACsC,OAAO,CAAC;EAE7D,OAAO;IACL1C,QAAQ;IACRE,eAAe;IACfC,kBAAkB;IAClBkB,cAAc;IACdoC,aAAa;IACbU,eAAe;IACf/B,iBAAiB;IACjBN,mBAAmB;IACnBW,mBAAmB;IACnBjC,WAAW;IACXiE;EACF,CAAC;AACH,CAAC","ignoreList":[]}
@@ -2,8 +2,8 @@
2
2
 
3
3
  import { useEffect, useRef } from 'react';
4
4
  import io from 'socket.io-client';
5
- import { toast } from '../../lib/sonner';
6
- import { logger } from '../../utils/loggerUtils';
5
+ import { toast } from "../../lib/sonner.js";
6
+ import { logger } from "../../utils/loggerUtils.js";
7
7
  export function useSessionSocket({
8
8
  userId,
9
9
  activeSessionId,
@@ -1 +1 @@
1
- {"version":3,"names":["useEffect","useRef","io","toast","logger","useSessionSocket","userId","activeSessionId","currentDeviceId","refreshSessions","logout","clearSessionState","baseURL","onRemoteSignOut","onSessionRemoved","socketRef","joinedRoomRef","refreshSessionsRef","logoutRef","clearSessionStateRef","onRemoteSignOutRef","onSessionRemovedRef","activeSessionIdRef","currentDeviceIdRef","current","emit","roomId","transports","socket","__DEV__","console","log","handleConnect","id","handleSessionUpdate","data","currentActiveSessionId","type","sessionId","info","error","Error","String","component","catch","debug","sessionIds","deviceId","includes","on","off"],"sourceRoot":"../../../../src","sources":["ui/hooks/useSessionSocket.ts"],"mappings":";;AAAA,SAASA,SAAS,EAAEC,MAAM,QAAQ,OAAO;AACzC,OAAOC,EAAE,MAAM,kBAAkB;AACjC,SAASC,KAAK,QAAQ,kBAAkB;AACxC,SAASC,MAAM,QAAQ,yBAAyB;AAchD,OAAO,SAASC,gBAAgBA,CAAC;EAAEC,MA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OAAOgB,KAAK,EAAE;YACd,IAAIX,OAAO,EAAE;cACXC,OAAO,CAACU,KAAK,CAAC,qDAAqD,EAAEA,KAAK,CAAC;YAC7E;UACF;QACF;MACF;IACF,CAAC;IAEDZ,MAAM,CAACqB,EAAE,CAAC,SAAS,EAAEjB,aAAa,CAAC;IACnCJ,MAAM,CAACqB,EAAE,CAAC,gBAAgB,EAAEf,mBAAmB,CAAC;IAEhD,OAAO,MAAM;MACXN,MAAM,CAACsB,GAAG,CAAC,SAAS,EAAElB,aAAa,CAAC;MACpCJ,MAAM,CAACsB,GAAG,CAAC,gBAAgB,EAAEhB,mBAAmB,CAAC;;MAEjD;MACA,IAAIlB,aAAa,CAACQ,OAAO,KAAKE,MAAM,EAAE;QACpCE,MAAM,CAACH,IAAI,CAAC,OAAO,EAAE;UAAEnB,MAAM,EAAEoB;QAAO,CAAC,CAAC;QACxCV,aAAa,CAACQ,OAAO,GAAG,IAAI;MAC9B;IACF,CAAC;EACH,CAAC,EAAE,CAAClB,MAAM,EAAEM,OAAO,CAAC,CAAC,CAAC,CAAC;AACzB","ignoreList":[]}
1
+ {"version":3,"names":["useEffect","useRef","io","toast","logger","useSessionSocket","userId","activeSessionId","currentDeviceId","refreshSessions","logout","clearSessionState","baseURL","onRemoteSignOut","onSessionRemoved","socketRef","joinedRoomRef","refreshSessionsRef","logoutRef","clearSessionStateRef","onRemoteSignOutRef","onSessionRemovedRef","activeSessionIdRef","currentDeviceIdRef","current","emit","roomId","transports","socket","__DEV__","console","log","handleConnect","id","handleSessionUpdate","data","currentActiveSessionId","type","sessionId","info","error","Error","String","component","catch","debug","sessionIds","deviceId","includes","on","off"],"sourceRoot":"../../../../src","sources":["ui/hooks/useSessionSocket.ts"],"mappings":";;AAAA,SAASA,SAAS,EAAEC,MAAM,QAAQ,OAAO;AACzC,OAAOC,EAAE,MAAM,kBAAkB;AACjC,SAASC,KAAK,QAAQ,qBAAkB;AACxC,SAASC,MAAM,QAAQ,4BAAyB;AAchD,OAA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AO,CAAC,CAAC;UACtC,CAAC,CAAC,OAAOgB,KAAK,EAAE;YACd,IAAIX,OAAO,EAAE;cACXC,OAAO,CAACU,KAAK,CAAC,qDAAqD,EAAEA,KAAK,CAAC;YAC7E;UACF;QACF;MACF;IACF,CAAC;IAEDZ,MAAM,CAACqB,EAAE,CAAC,SAAS,EAAEjB,aAAa,CAAC;IACnCJ,MAAM,CAACqB,EAAE,CAAC,gBAAgB,EAAEf,mBAAmB,CAAC;IAEhD,OAAO,MAAM;MACXN,MAAM,CAACsB,GAAG,CAAC,SAAS,EAAElB,aAAa,CAAC;MACpCJ,MAAM,CAACsB,GAAG,CAAC,gBAAgB,EAAEhB,mBAAmB,CAAC;;MAEjD;MACA,IAAIlB,aAAa,CAACQ,OAAO,KAAKE,MAAM,EAAE;QACpCE,MAAM,CAACH,IAAI,CAAC,OAAO,EAAE;UAAEnB,MAAM,EAAEoB;QAAO,CAAC,CAAC;QACxCV,aAAa,CAACQ,OAAO,GAAG,IAAI;MAC9B;IACF,CAAC;EACH,CAAC,EAAE,CAAClB,MAAM,EAAEM,OAAO,CAAC,CAAC,CAAC,CAAC;AACzB","ignoreList":[]}
@@ -0,0 +1,120 @@
1
+ "use strict";
2
+
3
+ import { useState, useCallback, useEffect } from 'react';
4
+ import { toast } from "../../lib/sonner.js";
5
+ /**
6
+ * Hook for handling boolean toggle settings with optimistic updates.
7
+ * Automatically reverts to the previous value if the save fails.
8
+ *
9
+ * @example
10
+ * const { value, toggle, isSaving } = useSettingToggle({
11
+ * initialValue: user.notificationsEnabled,
12
+ * onSave: (value) => api.updateNotifications(value),
13
+ * errorMessage: 'Failed to update notifications',
14
+ * });
15
+ *
16
+ * <Switch value={value} onValueChange={toggle} disabled={isSaving} />
17
+ */
18
+ export function useSettingToggle(options) {
19
+ const {
20
+ initialValue,
21
+ onSave,
22
+ successMessage,
23
+ errorMessage = 'Failed to save setting',
24
+ revertOnError = true,
25
+ showSuccessToast = false
26
+ } = options;
27
+ const [value, setValue] = useState(initialValue);
28
+ const [isSaving, setIsSaving] = useState(false);
29
+
30
+ // Update value when initialValue changes (e.g., from server)
31
+ useEffect(() => {
32
+ setValue(initialValue);
33
+ }, [initialValue]);
34
+ const toggle = useCallback(async () => {
35
+ const previousValue = value;
36
+ const newValue = !value;
37
+
38
+ // Optimistic update
39
+ setValue(newValue);
40
+ setIsSaving(true);
41
+ try {
42
+ await onSave(newValue);
43
+ if (showSuccessToast && successMessage) {
44
+ toast.success(successMessage);
45
+ }
46
+ } catch (err) {
47
+ // Revert on error
48
+ if (revertOnError) {
49
+ setValue(previousValue);
50
+ }
51
+ toast.error(errorMessage || err?.message || 'An error occurred');
52
+ } finally {
53
+ setIsSaving(false);
54
+ }
55
+ }, [value, onSave, successMessage, errorMessage, revertOnError, showSuccessToast]);
56
+ return {
57
+ value,
58
+ isSaving,
59
+ toggle,
60
+ setValue
61
+ };
62
+ }
63
+
64
+ /**
65
+ * Hook for managing multiple toggle settings at once.
66
+ * Useful when you have several related boolean settings.
67
+ */
68
+ export function useSettingToggles(options) {
69
+ const {
70
+ initialValues,
71
+ onSave,
72
+ errorMessage = 'Failed to save setting',
73
+ revertOnError = true
74
+ } = options;
75
+ const [values, setValues] = useState(initialValues);
76
+ const [savingKeys, setSavingKeys] = useState(new Set());
77
+
78
+ // Update values when initialValues change
79
+ useEffect(() => {
80
+ setValues(initialValues);
81
+ }, [initialValues]);
82
+ const toggle = useCallback(async key => {
83
+ const previousValue = values[key];
84
+ const newValue = !previousValue;
85
+
86
+ // Optimistic update
87
+ setValues(prev => ({
88
+ ...prev,
89
+ [key]: newValue
90
+ }));
91
+ setSavingKeys(prev => new Set(prev).add(key));
92
+ try {
93
+ await onSave(key, newValue);
94
+ } catch (err) {
95
+ // Revert on error
96
+ if (revertOnError) {
97
+ setValues(prev => ({
98
+ ...prev,
99
+ [key]: previousValue
100
+ }));
101
+ }
102
+ const message = typeof errorMessage === 'function' ? errorMessage(key) : errorMessage;
103
+ toast.error(message || err?.message || 'An error occurred');
104
+ } finally {
105
+ setSavingKeys(prev => {
106
+ const next = new Set(prev);
107
+ next.delete(key);
108
+ return next;
109
+ });
110
+ }
111
+ }, [values, onSave, errorMessage, revertOnError]);
112
+ return {
113
+ values,
114
+ savingKeys,
115
+ toggle,
116
+ setValues
117
+ };
118
+ }
119
+ export default useSettingToggle;
120
+ //# sourceMappingURL=useSettingToggle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["useState","useCallback","useEffect","toast","useSettingToggle","options","initialValue","onSave","successMessage","errorMessage","revertOnError","showSuccessToast","value","setValue","isSaving","setIsSaving","toggle","previousValue","newValue","success","err","error","message","useSettingToggles","initialValues","values","setValues","savingKeys","setSavingKeys","Set","key","prev","add","next","delete"],"sourceRoot":"../../../../src","sources":["ui/hooks/useSettingToggle.ts"],"mappings":";;AAAA,SAASA,QAAQ,EAAEC,WAAW,EAAEC,SAAS,QAAQ,OAAO;AACxD,SAASC,KAAK,QAAQ,qBAAkB;AA4BxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,gBAAgBA,CAACC,OAAgC,EAA0B;EACvF,MAAM;IACFC,YAAY;IACZC,MAAM;IACNC,cAAc;IACdC,YAAY,GAAG,wBAAwB;IACvCC,aAAa,GAAG,IAAI;IACpBC,gBAAgB,GAAG;EACvB,CAAC,GAAGN,OAAO;EAEX,MAAM,CAACO,KAAK,EAAEC,QAAQ,CAAC,GAAGb,QAAQ,CAACM,YAAY,CAAC;EAChD,MAAM,CAACQ,QAAQ,EAAEC,WAAW,CAAC,GAAGf,QAAQ,CAAC,KAAK,CAAC;;EAE/C;EACAE,SAAS,CAAC,MAAM;IACZW,QAAQ,CAACP,YAAY,CAAC;EAC1B,CAAC,EAAE,CAACA,YAAY,CAAC,CAAC;EAElB,MAAMU,MAAM,GAAGf,WAAW,CAAC,YAAY;IACnC,MAAMgB,aAAa,GAAGL,KAAK;IAC3B,MAAMM,QAAQ,GAAG,CAACN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CAAC;IACjC,MAAMZ,QAAQ,GAAG,CAACD,aAAa;;IAE/B;IACAS,SAAS,CAACK,IAAI,KAAK;MAAE,GAAGA,IAAI;MAAE,CAACD,GAAG,GAAGZ;IAAS,CAAC,CAAC,CAAC;IACjDU,aAAa,CAACG,IAAI,IAAI,IAAIF,GAAG,CAACE,IAAI,CAAC,CAACC,GAAG,CAACF,GAAG,CAAC,CAAC;IAE7C,IAAI;MACA,MAAMvB,MAAM,CAACuB,GAAG,EAAEZ,QAAQ,CAAC;IAC/B,CAAC,CAAC,OAAOE,GAAQ,EAAE;MACf;MACA,IAAIV,aAAa,EAAE;QACfgB,SAAS,CAACK,IAAI,KAAK;UAAE,GAAGA,IAAI;UAAE,CAACD,GAAG,GAAGb;QAAc,CAAC,CAAC,CAAC;MAC1D;MAEA,MAAMK,OAAO,GAAG,OAAOb,YAAY,KAAK,UAAU,GAC5CA,YAAY,CAACqB,GAAG,CAAC,GACjBrB,YAAY;MAClBN,KAAK,CAACkB,KAAK,CAACC,OAAO,IAAIF,GAAG,EAAEE,OAAO,IAAI,mBAAmB,CAAC;IAC/D,CAAC,SAAS;MACNM,aAAa,CAACG,IAAI,IAAI;QAClB,MAAME,IAAI,GAAG,IAAIJ,GAAG,CAACE,IAAI,CAAC;QAC1BE,IAAI,CAACC,MAAM,CAACJ,GAAG,CAAC;QAChB,OAAOG,IAAI;MACf,CAAC,CAAC;IACN;EACJ,CAAC,EAAE,CAACR,MAAM,EAAElB,MAAM,EAAEE,YAAY,EAAEC,aAAa,CAAC,CAAC;EAEjD,OAAO;IAAEe,MAAM;IAAEE,UAAU;IAAEX,MAAM;IAAEU;EAAU,CAAC;AACpD;AAEA,eAAetB,gBAAgB","ignoreList":[]}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  import { useEffect, useRef, useState } from 'react';
4
- import { createPlatformStorage } from '../utils/storageHelpers';
4
+ import { createPlatformStorage } from "../utils/storageHelpers.js";
5
5
  /**
6
6
  * Simple React hook that initializes platform-appropriate storage.
7
7
  * Returns storage instance once ready, or null if initialization failed.
@@ -1 +1 @@
1
- {"version":3,"names":["useEffect","useRef","useState","createPlatformStorage","useStorage","onError","logger","storage","setStorage","initRef","current","storageInstance","err","message","Error","code","status","isReady"],"sourceRoot":"../../../../src","sources":["ui/hooks/useStorage.ts"],"mappings":";;AAAA,SAASA,SAAS,EAAEC,MAAM,EAAEC,QAAQ,QAAQ,OAAO;AAEnD,SAASC,qBAAqB,QAA+B,yBAAyB;AAYtF;AACA;AACA;AACA;AACA,OAAO,MAAMC,UAAU,GAAGA,CAAC;EACzBC,OAAO;EACPC;AACiB,CAAC,GAAG,CAAC,CAAC,KAAuB;EAC9C,MAAM,CAACC,OAAO,EAAEC,UAAU,CAAC,GAAGN,QAAQ,CAA0B,IAAI,CAAC;EACrE,MAAMO,OAAO,GAAGR,MAAM,CAAuB,IAAI,CAAC;EAElDD,SAAS,CAAC,MAAM;IACd;IACA,IAAIS,OAAO,CAACC,OAAO,EAAE;IAErBD,OAAO,CAACC,OAAO,GAAG,CAAC,YAAY;MAC7B,IAAI;QACF,MAAMC,eAAe,GAAG,MAAMR,qBAAqB,CAAC,CAAC;QACrDK,UAAU,CAACG,eAAe,CAAC;MAC7B,CAAC,CAAC,OAAOC,GAAG,EAAE;QACZ,MAAMC,OAAO,GAAGD,GAAG,YAAYE,KAAK,GAAGF,GAAG,CAACC,OAAO,GAAG,8BAA8B;QACnF,IAAIP,MAAM,EAAE;UACVA,MAAM,CAACO,OAAO,EAAED,GAAG,CAAC;QACtB;QACAP,OAAO,GAAG;UACRQ,OAAO;UACPE,IAAI,EAAE,oBAAoB;UAC1BC,MAAM,EAAE;QACV,CAAC,CAAC;MACJ;IACF,CAAC,EAAE,CAAC;EACN,CAAC,EAAE,CAACV,MAAM,EAAED,OAAO,CAAC,CAAC;EAErB,OAAO;IACLE,OAAO;IACPU,OAAO,EAAEV,OAAO,KAAK;EACvB,CAAC;AACH,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["useEffect","useRef","useState","createPlatformStorage","useStorage","onError","logger","storage","setStorage","initRef","current","storageInstance","err","message","Error","code","status","isReady"],"sourceRoot":"../../../../src","sources":["ui/hooks/useStorage.ts"],"mappings":";;AAAA,SAASA,SAAS,EAAEC,MAAM,EAAEC,QAAQ,QAAQ,OAAO;AAEnD,SAASC,qBAAqB,QAA+B,4BAAyB;AAYtF;AACA;AACA;AACA;AACA,OAAO,MAAMC,UAAU,GAAGA,CAAC;EACzBC,OAAO;EACPC;AACiB,CAAC,GAAG,CAAC,CAAC,KAAuB;EAC9C,MAAM,CAACC,OAAO,EAAEC,UAAU,CAAC,GAAGN,QAAQ,CAA0B,IAAI,CAAC;EACrE,MAAMO,OAAO,GAAGR,MAAM,CAAuB,IAAI,CAAC;EAElDD,SAAS,CAAC,MAAM;IACd;IACA,IAAIS,OAAO,CAACC,OAAO,EAAE;IAErBD,OAAO,CAACC,OAAO,GAAG,CAAC,YAAY;MAC7B,IAAI;QACF,MAAMC,eAAe,GAAG,MAAMR,qBAAqB,CAAC,CAAC;QACrDK,UAAU,CAACG,eAAe,CAAC;MAC7B,CAAC,CAAC,OAAOC,GAAG,EAAE;QACZ,MAAMC,OAAO,GAAGD,GAAG,YAAYE,KAAK,GAAGF,GAAG,CAACC,OAAO,GAAG,8BAA8B;QACnF,IAAIP,MAAM,EAAE;UACVA,MAAM,CAACO,OAAO,EAAED,GAAG,CAAC;QACtB;QACAP,OAAO,GAAG;UACRQ,OAAO;UACPE,IAAI,EAAE,oBAAoB;UAC1BC,MAAM,EAAE;QACV,CAAC,CAAC;MACJ;IACF,CAAC,EAAE,CAAC;EACN,CAAC,EAAE,CAACV,MAAM,EAAED,OAAO,CAAC,CAAC;EAErB,OAAO;IACLE,OAAO;IACPU,OAAO,EAAEV,OAAO,KAAK;EACvB,CAAC;AACH,CAAC","ignoreList":[]}
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
 
3
3
  import { useMemo } from 'react';
4
- import { useColorScheme } from './use-color-scheme';
5
- import { Colors } from '../constants/theme';
4
+ import { useColorScheme } from "./use-color-scheme.js";
5
+ import { Colors } from "../constants/theme.js";
6
6
 
7
7
  /**
8
8
  * Reusable hook to get theme colors based on current color scheme
@@ -1 +1 @@
1
- {"version":3,"names":["useMemo","useColorScheme","Colors","useThemeColors","colorScheme"],"sourceRoot":"../../../../src","sources":["ui/hooks/useThemeColors.ts"],"mappings":";;AAAA,SAASA,OAAO,QAAQ,OAAO;AAC/B,SAASC,cAAc,QAAQ,oBAAoB;AACnD,SAASC,MAAM,QAAQ,oBAAoB;;AAE3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,cAAc,GAAGA,CAAA,KAAM;EAClC,MAAMC,WAAW,GAAGH,cAAc,CAAC,CAAC;EAEpC,OAAOD,OAAO,CAAC,MAAM;IACnB,OAAOE,MAAM,CAACE,WAAW,IAAI,OAAO,CAAC;EACvC,CAAC,EAAE,CAACA,WAAW,CAAC,CAAC;AACnB,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["useMemo","useColorScheme","Colors","useThemeColors","colorScheme"],"sourceRoot":"../../../../src","sources":["ui/hooks/useThemeColors.ts"],"mappings":";;AAAA,SAASA,OAAO,QAAQ,OAAO;AAC/B,SAASC,cAAc,QAAQ,uBAAoB;AACnD,SAASC,MAAM,QAAQ,uBAAoB;;AAE3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,cAAc,GAAGA,CAAA,KAAM;EAClC,MAAMC,WAAW,GAAGH,cAAc,CAAC,CAAC;EAEpC,OAAOD,OAAO,CAAC,MAAM;IACnB,OAAOE,MAAM,CAACE,WAAW,IAAI,OAAO,CAAC;EACvC,CAAC,EAAE,CAACA,WAAW,CAAC,CAAC;AACnB,CAAC","ignoreList":[]}
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
 
3
3
  import { useMemo } from 'react';
4
- import { useColorScheme } from './use-color-scheme';
5
- import { Colors } from '../constants/theme';
6
- import { normalizeColorScheme } from '../utils/themeUtils';
4
+ import { useColorScheme } from "./use-color-scheme.js";
5
+ import { Colors } from "../constants/theme.js";
6
+ import { normalizeColorScheme } from "../utils/themeUtils.js";
7
7
  /**
8
8
  * Reusable hook for theme styles
9
9
  * Replaces duplicated themeStyles useMemo pattern across multiple screens
@@ -1 +1 @@
1
- {"version":3,"names":["useMemo","useColorScheme","Colors","normalizeColorScheme","useThemeStyles","theme","colorSchemeFromHook","hookColorScheme","colorSchemeToUse","colorScheme","isDarkTheme","colors","textColor","backgroundColor","secondaryBackgroundColor","borderColor","mutedTextColor","primaryColor","dangerColor","successColor"],"sourceRoot":"../../../../src","sources":["ui/hooks/useThemeStyles.ts"],"mappings":";;AAAA,SAASA,OAAO,QAAQ,OAAO;AAC/B,SAASC,cAAc,QAAQ,oBAAoB;AACnD,SAASC,MAAM,QAAQ,oBAAoB;AAC3C,SAASC,oBAAoB,QAAQ,qBAAqB;AAkB1D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,cAAc,GAAGA,CAC1BC,KAAa,EACbC,mBAAmC,KACrB;EACd,MAAMC,eAAe,GAAGN,cAAc,CAAC,CAAC;EACxC,MAAMO,gBAAgB,GAAGF,mBAAmB,IAAIC,eAAe;EAE/D,OAAOP,OAAO,CAAC,MAAM;IACjB,MAAMS,WAAW,GAAGN,oBAAoB,CAACK,gBAAgB,EAAEH,KAAK,CAAC;IACjE,MAAMK,WAAW,GAAGD,WAAW,KAAK,MAAM;IAC1C,MAAME,MAAM,GAAGT,MAAM,CAACO,WAAW,CAAC;IAElC,OAAO;MACH;MACAG,SAAS,EAAEF,WAAW,GAAG,SAAS,GAAG,SAAS;MAC9CG,eAAe,EAAEH,WAAW,GAAG,SAAS,GAAG,SAAS;MACpDI,wBAAwB,EAAEJ,WAAW,GAAG,SAAS,GAAG,SAAS;MAC7DK,WAAW,EAAEL,WAAW,GAAG,SAAS,GAAG,SAAS;MAChDM,cAAc,EAAE,SAAS;MAAE;;MAE3B;MACAC,YAAY,EAAE,SAAS;MACvBC,WAAW,EAAE,SAAS;MACtBC,YAAY,EAAE,SAAS;MAEvB;MACAT,WAAW;MAEX;MACAD,WAAW;MACXE;IACJ,CAAC;EACL,CAAC,EAAE,CAACN,KAAK,EAAEG,gBAAgB,CAAC,CAAC;AACjC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["useMemo","useColorScheme","Colors","normalizeColorScheme","useThemeStyles","theme","colorSchemeFromHook","hookColorScheme","colorSchemeToUse","colorScheme","isDarkTheme","colors","textColor","backgroundColor","secondaryBackgroundColor","borderColor","mutedTextColor","primaryColor","dangerColor","successColor"],"sourceRoot":"../../../../src","sources":["ui/hooks/useThemeStyles.ts"],"mappings":";;AAAA,SAASA,OAAO,QAAQ,OAAO;AAC/B,SAASC,cAAc,QAAQ,uBAAoB;AACnD,SAASC,MAAM,QAAQ,uBAAoB;AAC3C,SAASC,oBAAoB,QAAQ,wBAAqB;AAkB1D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,cAAc,GAAGA,CAC1BC,KAAa,EACbC,mBAAmC,KACrB;EACd,MAAMC,eAAe,GAAGN,cAAc,CAAC,CAAC;EACxC,MAAMO,gBAAgB,GAAGF,mBAAmB,IAAIC,eAAe;EAE/D,OAAOP,OAAO,CAAC,MAAM;IACjB,MAAMS,WAAW,GAAGN,oBAAoB,CAACK,gBAAgB,EAAEH,KAAK,CAAC;IACjE,MAAMK,WAAW,GAAGD,WAAW,KAAK,MAAM;IAC1C,MAAME,MAAM,GAAGT,MAAM,CAACO,WAAW,CAAC;IAElC,OAAO;MACH;MACAG,SAAS,EAAEF,WAAW,GAAG,SAAS,GAAG,SAAS;MAC9CG,eAAe,EAAEH,WAAW,GAAG,SAAS,GAAG,SAAS;MACpDI,wBAAwB,EAAEJ,WAAW,GAAG,SAAS,GAAG,SAAS;MAC7DK,WAAW,EAAEL,WAAW,GAAG,SAAS,GAAG,SAAS;MAChDM,cAAc,EAAE,SAAS;MAAE;;MAE3B;MACAC,YAAY,EAAE,SAAS;MACvBC,WAAW,EAAE,SAAS;MACtBC,YAAY,EAAE,SAAS;MAEvB;MACAT,WAAW;MAEX;MACAD,WAAW;MACXE;IACJ,CAAC;EACL,CAAC,EAAE,CAACN,KAAK,EAAEG,gBAAgB,CAAC,CAAC;AACjC,CAAC","ignoreList":[]}
@@ -6,7 +6,7 @@
6
6
  * This module exports all React/React Native UI components and hooks.
7
7
  * In backend, all exports are no-ops or empty objects.
8
8
  */
9
- import isFrontend from './isFrontend';
9
+ import isFrontend from "./isFrontend.js";
10
10
 
11
11
  // UI exports
12
12
  let OxyProvider, OxySignInButton, OxyLogo, Avatar, FollowButton, OxyPayButton, FontLoader, setupFonts, OxyIcon, useOxy, useFollow, ProfileScreen, useAuthStore, useAccountStore, fontFamilies, fontStyles, toast, useStorage;
@@ -59,9 +59,9 @@ if (isFrontend) {
59
59
  export { OxyProvider, OxySignInButton, OxyLogo, Avatar, FollowButton, OxyPayButton, FontLoader, setupFonts, OxyIcon, useOxy, useFollow, ProfileScreen, useAuthStore, useAccountStore, fontFamilies, fontStyles, toast, useStorage };
60
60
 
61
61
  // Re-export core services for convenience in UI context
62
- export { OxyServices } from '../core';
62
+ export { OxyServices } from "../core/index.js";
63
63
  // Export error handler utilities (pure functions, no conditional needed)
64
- export { handleAuthError, isInvalidSessionError, isTimeoutOrNetworkError, extractErrorMessage } from './utils/errorHandlers';
64
+ export { handleAuthError, isInvalidSessionError, isTimeoutOrNetworkError, extractErrorMessage } from "./utils/errorHandlers.js";
65
65
 
66
66
  // Export useStorage hook and types (kept for external consumers)
67
67
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["isFrontend","OxyProvider","OxySignInButton","OxyLogo","Avatar","FollowButton","OxyPayButton","FontLoader","setupFonts","OxyIcon","useOxy","useFollow","ProfileScreen","useAuthStore","useAccountStore","fontFamilies","fontStyles","toast","useStorage","require","default","noopComponent","noopHook","noopStorageResult","storage","isReady","OxyServices","handleAuthError","isInvalidSessionError","isTimeoutOrNetworkError","extractErrorMessage"],"sourceRoot":"../../../src","sources":["ui/index.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA,OAAOA,UAAU,MAAM,cAAc;;AAErC;AACA,IAAIC,WAAW,EAAEC,eAAe,EAAEC,OAAO,EAAEC,MAAM,EAAEC,YAAY,EAAEC,YAAY,EAAEC,UAAU,EAAEC,UAAU,EAAEC,OAAO,EAAEC,MAAM,EAAEC,SAAS,EAAEC,aAAa,EAAEC,YAAY,EAAEC,eAAe,EAAEC,YAAY,EAAEC,UAAU,EAAEC,KAAK,EAAEC,UAAU;AAE5N,IAAIlB,UAAU,EAAE;EACdC,WAAW,GAAGkB,OAAO,CAAC,0BAA0B,CAAC,CAACC,OAAO;EACzDlB,eAAe,GAAGiB,OAAO,CAAC,8BAA8B,CAAC,CAACC,OAAO;EACjEjB,OAAO,GAAGgB,OAAO,CAAC,sBAAsB,CAAC,CAACC,OAAO;EACjDhB,MAAM,GAAGe,OAAO,CAAC,qBAAqB,CAAC,CAACC,OAAO;EAC/Cf,YAAY,GAAGc,OAAO,CAAC,2BAA2B,CAAC,CAACC,OAAO;EAC3Dd,YAAY,GAAGa,OAAO,CAAC,2BAA2B,CAAC,CAACC,OAAO;EAC3Db,UAAU,GAAGY,OAAO,CAAC,yBAAyB,CAAC,CAACZ,UAAU;EAC1DC,UAAU,GAAGW,OAAO,CAAC,yBAAyB,CAAC,CAACX,UAAU;EAC1DC,OAAO,GAAGU,OAAO,CAAC,m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AAG,CAAC,CAAC;EACfC,KAAK,GAAGA,CAAA,KAAM,CAAC,CAAC;EAChBC,UAAU,GAAGA,CAAA,KAAMK,iBAAiB;AACtC;AAEA,SACEtB,WAAW,EACXC,eAAe,EACfC,OAAO,EACPC,MAAM,EACNC,YAAY,EACZC,YAAY,EACZC,UAAU,EACVC,UAAU,EACVC,OAAO,EACPC,MAAM,EACNC,SAAS,EACTC,aAAa,EACbC,YAAY,EACZC,eAAe,EACfC,YAAY,EACZC,UAAU,EACVC,KAAK,EACLC,UAAU;;AAGZ;AACA,SAASQ,WAAW,QAAQ,SAAS;AAGrC;AACA,SACEC,eAAe,EACfC,qBAAqB,EACrBC,uBAAuB,EACvBC,mBAAmB,QACd,uBAAuB;;AAG9B","ignoreList":[]}
1
+ {"version":3,"names":["isFrontend","OxyProvider","OxySignInButton","OxyLogo","Avatar","FollowButton","OxyPayButton","FontLoader","setupFonts","OxyIcon","useOxy","useFollow","ProfileScreen","useAuthStore","useAccountStore","fontFamilies","fontStyles","toast","useStorage","require","default","noopComponent","noopHook","noopStorageResult","storage","isReady","OxyServices","handleAuthError","isInvalidSessionError","isTimeoutOrNetworkError","extractErrorMessage"],"sourceRoot":"../../../src","sources":["ui/index.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA,OAAOA,UAAU,MAAM,iBAAc;;AAErC;AACA,IAAIC,WAAW,EAAEC,eAAe,EAAEC,OAAO,EAAEC,MAAM,EAAEC,YAAY,EAAEC,YAAY,EAAEC,UAAU,EAAEC,UAAU,EAAEC,OAAO,EAAEC,MAAM,EAAEC,SAAS,EAAEC,aAAa,EAAEC,YAAY,EAAEC,eAAe,EAAEC,YAAY,EAAEC,UAAU,EAAEC,KAAK,EAAEC,UAAU;AAE5N,IAAIlB,UAAU,EAAE;EACdC,WAAW,GAAGkB,OAAO,CAAC,0BAA0B,CAAC,CAACC,OAAO;EACzDlB,eAAe,GAAGiB,OAAO,CAAC,8BAA8B,CAAC,CAACC,OAAO;EACj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