@oxyhq/services 5.16.23 → 5.16.25

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 (1371) hide show
  1. package/lib/commonjs/assets/OxyLogo.svg +1 -0
  2. package/lib/commonjs/assets/assets/OxyLogo.svg +1 -0
  3. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Black.ttf +0 -0
  4. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Bold.ttf +0 -0
  5. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-ExtraBold.ttf +0 -0
  6. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Light.ttf +0 -0
  7. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Medium.ttf +0 -0
  8. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-Regular.ttf +0 -0
  9. package/lib/commonjs/assets/assets/fonts/Phudu/Phudu-SemiBold.ttf +0 -0
  10. package/lib/commonjs/assets/assets/icons/OxyServices.tsx +67 -0
  11. package/lib/commonjs/assets/assets/icons/logo_OxyServices.svg +1 -0
  12. package/lib/commonjs/assets/assets/illustrations/HighFive.tsx +41 -0
  13. package/lib/commonjs/assets/assets/lottie/welcomeheader_background_op1.json +1 -0
  14. package/lib/commonjs/assets/fonts/Phudu/Phudu-Black.ttf +0 -0
  15. package/lib/commonjs/assets/fonts/Phudu/Phudu-Bold.ttf +0 -0
  16. package/lib/commonjs/assets/fonts/Phudu/Phudu-ExtraBold.ttf +0 -0
  17. package/lib/commonjs/assets/fonts/Phudu/Phudu-Light.ttf +0 -0
  18. package/lib/commonjs/assets/fonts/Phudu/Phudu-Medium.ttf +0 -0
  19. package/lib/commonjs/assets/fonts/Phudu/Phudu-Regular.ttf +0 -0
  20. package/lib/commonjs/assets/fonts/Phudu/Phudu-SemiBold.ttf +0 -0
  21. package/lib/commonjs/assets/icons/OxyServices.js +51 -0
  22. package/lib/commonjs/assets/icons/OxyServices.js.map +1 -0
  23. package/lib/commonjs/assets/icons/logo_OxyServices.svg +1 -0
  24. package/lib/commonjs/assets/illustrations/HighFive.js +59 -0
  25. package/lib/commonjs/assets/illustrations/HighFive.js.map +1 -0
  26. package/lib/commonjs/assets/lottie/welcomeheader_background_op1.json +1 -0
  27. package/lib/commonjs/constants/version.js +28 -0
  28. package/lib/commonjs/constants/version.js.map +1 -0
  29. package/lib/commonjs/core/HttpService.js +507 -0
  30. package/lib/commonjs/core/HttpService.js.map +1 -0
  31. package/lib/commonjs/core/OxyServices.base.js +283 -0
  32. package/lib/commonjs/core/OxyServices.base.js.map +1 -0
  33. package/lib/commonjs/core/OxyServices.errors.js +26 -0
  34. package/lib/commonjs/core/OxyServices.errors.js.map +1 -0
  35. package/lib/commonjs/core/OxyServices.js +146 -0
  36. package/lib/commonjs/core/OxyServices.js.map +1 -0
  37. package/lib/commonjs/core/index.js +126 -0
  38. package/lib/commonjs/core/index.js.map +1 -0
  39. package/lib/commonjs/core/mixins/OxyServices.analytics.js +60 -0
  40. package/lib/commonjs/core/mixins/OxyServices.analytics.js.map +1 -0
  41. package/lib/commonjs/core/mixins/OxyServices.assets.js +375 -0
  42. package/lib/commonjs/core/mixins/OxyServices.assets.js.map +1 -0
  43. package/lib/commonjs/core/mixins/OxyServices.auth.js +271 -0
  44. package/lib/commonjs/core/mixins/OxyServices.auth.js.map +1 -0
  45. package/lib/commonjs/core/mixins/OxyServices.developer.js +115 -0
  46. package/lib/commonjs/core/mixins/OxyServices.developer.js.map +1 -0
  47. package/lib/commonjs/core/mixins/OxyServices.devices.js +133 -0
  48. package/lib/commonjs/core/mixins/OxyServices.devices.js.map +1 -0
  49. package/lib/commonjs/core/mixins/OxyServices.karma.js +117 -0
  50. package/lib/commonjs/core/mixins/OxyServices.karma.js.map +1 -0
  51. package/lib/commonjs/core/mixins/OxyServices.language.js +124 -0
  52. package/lib/commonjs/core/mixins/OxyServices.language.js.map +1 -0
  53. package/lib/commonjs/core/mixins/OxyServices.location.js +55 -0
  54. package/lib/commonjs/core/mixins/OxyServices.location.js.map +1 -0
  55. package/lib/commonjs/core/mixins/OxyServices.payment.js +168 -0
  56. package/lib/commonjs/core/mixins/OxyServices.payment.js.map +1 -0
  57. package/lib/commonjs/core/mixins/OxyServices.privacy.js +174 -0
  58. package/lib/commonjs/core/mixins/OxyServices.privacy.js.map +1 -0
  59. package/lib/commonjs/core/mixins/OxyServices.security.js +96 -0
  60. package/lib/commonjs/core/mixins/OxyServices.security.js.map +1 -0
  61. package/lib/commonjs/core/mixins/OxyServices.user.js +403 -0
  62. package/lib/commonjs/core/mixins/OxyServices.user.js.map +1 -0
  63. package/lib/commonjs/core/mixins/OxyServices.utility.js +165 -0
  64. package/lib/commonjs/core/mixins/OxyServices.utility.js.map +1 -0
  65. package/lib/commonjs/core/mixins/index.js +39 -0
  66. package/lib/commonjs/core/mixins/index.js.map +1 -0
  67. package/lib/commonjs/core/mixins/mixinHelpers.js +62 -0
  68. package/lib/commonjs/core/mixins/mixinHelpers.js.map +1 -0
  69. package/lib/commonjs/core/services/SessionService.js +163 -0
  70. package/lib/commonjs/core/services/SessionService.js.map +1 -0
  71. package/lib/commonjs/core/services/TokenService.js +206 -0
  72. package/lib/commonjs/core/services/TokenService.js.map +1 -0
  73. package/lib/commonjs/crypto/index.js +27 -0
  74. package/lib/commonjs/crypto/index.js.map +1 -0
  75. package/lib/commonjs/crypto/keyManager.js +511 -0
  76. package/lib/commonjs/crypto/keyManager.js.map +1 -0
  77. package/lib/commonjs/crypto/polyfill.js +86 -0
  78. package/lib/commonjs/crypto/polyfill.js.map +1 -0
  79. package/lib/commonjs/crypto/signatureService.js +289 -0
  80. package/lib/commonjs/crypto/signatureService.js.map +1 -0
  81. package/lib/commonjs/crypto/types.js +2 -0
  82. package/lib/commonjs/crypto/types.js.map +1 -0
  83. package/lib/commonjs/i18n/index.js +76 -0
  84. package/lib/commonjs/i18n/index.js.map +1 -0
  85. package/lib/commonjs/i18n/locales/ar-SA.json +120 -0
  86. package/lib/commonjs/i18n/locales/ca-ES.json +120 -0
  87. package/lib/commonjs/i18n/locales/de-DE.json +120 -0
  88. package/lib/commonjs/i18n/locales/en-US.json +956 -0
  89. package/lib/commonjs/i18n/locales/es-ES.json +723 -0
  90. package/lib/commonjs/i18n/locales/fr-FR.json +120 -0
  91. package/lib/commonjs/i18n/locales/it-IT.json +120 -0
  92. package/lib/commonjs/i18n/locales/ja-JP.json +119 -0
  93. package/lib/commonjs/i18n/locales/ko-KR.json +120 -0
  94. package/lib/commonjs/i18n/locales/pt-PT.json +120 -0
  95. package/lib/commonjs/i18n/locales/zh-CN.json +120 -0
  96. package/lib/commonjs/index.js +601 -0
  97. package/lib/commonjs/index.js.map +1 -0
  98. package/lib/commonjs/lib/sonner-safe.js +32 -0
  99. package/lib/commonjs/lib/sonner-safe.js.map +1 -0
  100. package/lib/commonjs/lib/sonner.js +23 -0
  101. package/lib/commonjs/lib/sonner.js.map +1 -0
  102. package/lib/commonjs/models/interfaces.js +76 -0
  103. package/lib/commonjs/models/interfaces.js.map +1 -0
  104. package/lib/commonjs/models/session.js +2 -0
  105. package/lib/commonjs/models/session.js.map +1 -0
  106. package/lib/commonjs/node/index.js +59 -0
  107. package/lib/commonjs/node/index.js.map +1 -0
  108. package/lib/commonjs/ui/components/ActivityIndicator.js +203 -0
  109. package/lib/commonjs/ui/components/ActivityIndicator.js.map +1 -0
  110. package/lib/commonjs/ui/components/AnimationExample.js +213 -0
  111. package/lib/commonjs/ui/components/AnimationExample.js.map +1 -0
  112. package/lib/commonjs/ui/components/AutoHeightScrollView.js +46 -0
  113. package/lib/commonjs/ui/components/AutoHeightScrollView.js.map +1 -0
  114. package/lib/commonjs/ui/components/Avatar.js +172 -0
  115. package/lib/commonjs/ui/components/Avatar.js.map +1 -0
  116. package/lib/commonjs/ui/components/BottomSheet.js +407 -0
  117. package/lib/commonjs/ui/components/BottomSheet.js.map +1 -0
  118. package/lib/commonjs/ui/components/BottomSheetRouter.js +366 -0
  119. package/lib/commonjs/ui/components/BottomSheetRouter.js.map +1 -0
  120. package/lib/commonjs/ui/components/CrossFadeIcon.js +106 -0
  121. package/lib/commonjs/ui/components/CrossFadeIcon.js.map +1 -0
  122. package/lib/commonjs/ui/components/EmptyState.js +41 -0
  123. package/lib/commonjs/ui/components/EmptyState.js.map +1 -0
  124. package/lib/commonjs/ui/components/ErrorBoundary.js +145 -0
  125. package/lib/commonjs/ui/components/ErrorBoundary.js.map +1 -0
  126. package/lib/commonjs/ui/components/FollowButton.js +230 -0
  127. package/lib/commonjs/ui/components/FollowButton.js.map +1 -0
  128. package/lib/commonjs/ui/components/FontLoader.js +162 -0
  129. package/lib/commonjs/ui/components/FontLoader.js.map +1 -0
  130. package/lib/commonjs/ui/components/GroupedItem.js +140 -0
  131. package/lib/commonjs/ui/components/GroupedItem.js.map +1 -0
  132. package/lib/commonjs/ui/components/GroupedSection.js +42 -0
  133. package/lib/commonjs/ui/components/GroupedSection.js.map +1 -0
  134. package/lib/commonjs/ui/components/Header.js +434 -0
  135. package/lib/commonjs/ui/components/Header.js.map +1 -0
  136. package/lib/commonjs/ui/components/HelperText.js +103 -0
  137. package/lib/commonjs/ui/components/HelperText.js.map +1 -0
  138. package/lib/commonjs/ui/components/Icon.js +109 -0
  139. package/lib/commonjs/ui/components/Icon.js.map +1 -0
  140. package/lib/commonjs/ui/components/IconButton/IconButton.js +159 -0
  141. package/lib/commonjs/ui/components/IconButton/IconButton.js.map +1 -0
  142. package/lib/commonjs/ui/components/IconButton/utils.js +155 -0
  143. package/lib/commonjs/ui/components/IconButton/utils.js.map +1 -0
  144. package/lib/commonjs/ui/components/LoadingState.js +47 -0
  145. package/lib/commonjs/ui/components/LoadingState.js.map +1 -0
  146. package/lib/commonjs/ui/components/OxyLogo.js +54 -0
  147. package/lib/commonjs/ui/components/OxyLogo.js.map +1 -0
  148. package/lib/commonjs/ui/components/OxyPayButton.js +117 -0
  149. package/lib/commonjs/ui/components/OxyPayButton.js.map +1 -0
  150. package/lib/commonjs/ui/components/OxyProvider.js +144 -0
  151. package/lib/commonjs/ui/components/OxyProvider.js.map +1 -0
  152. package/lib/commonjs/ui/components/OxySignInButton.js +180 -0
  153. package/lib/commonjs/ui/components/OxySignInButton.js.map +1 -0
  154. package/lib/commonjs/ui/components/ProfileCard.js +138 -0
  155. package/lib/commonjs/ui/components/ProfileCard.js.map +1 -0
  156. package/lib/commonjs/ui/components/QuickActions.js +88 -0
  157. package/lib/commonjs/ui/components/QuickActions.js.map +1 -0
  158. package/lib/commonjs/ui/components/Section.js +39 -0
  159. package/lib/commonjs/ui/components/Section.js.map +1 -0
  160. package/lib/commonjs/ui/components/SectionTitle.js +35 -0
  161. package/lib/commonjs/ui/components/SectionTitle.js.map +1 -0
  162. package/lib/commonjs/ui/components/SettingRow.js +77 -0
  163. package/lib/commonjs/ui/components/SettingRow.js.map +1 -0
  164. package/lib/commonjs/ui/components/StepBasedScreen.js +397 -0
  165. package/lib/commonjs/ui/components/StepBasedScreen.js.map +1 -0
  166. package/lib/commonjs/ui/components/Surface.js +258 -0
  167. package/lib/commonjs/ui/components/Surface.js.map +1 -0
  168. package/lib/commonjs/ui/components/TextField/Addons/Outline.js +46 -0
  169. package/lib/commonjs/ui/components/TextField/Addons/Outline.js.map +1 -0
  170. package/lib/commonjs/ui/components/TextField/Addons/Underline.js +53 -0
  171. package/lib/commonjs/ui/components/TextField/Addons/Underline.js.map +1 -0
  172. package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAdornment.js +155 -0
  173. package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAdornment.js.map +1 -0
  174. package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAffix.js +144 -0
  175. package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAffix.js.map +1 -0
  176. package/lib/commonjs/ui/components/TextField/Adornment/TextFieldIcon.js +137 -0
  177. package/lib/commonjs/ui/components/TextField/Adornment/TextFieldIcon.js.map +1 -0
  178. package/lib/commonjs/ui/components/TextField/Adornment/enums.js +22 -0
  179. package/lib/commonjs/ui/components/TextField/Adornment/enums.js.map +1 -0
  180. package/lib/commonjs/ui/components/TextField/Adornment/types.js +6 -0
  181. package/lib/commonjs/ui/components/TextField/Adornment/types.js.map +1 -0
  182. package/lib/commonjs/ui/components/TextField/Adornment/utils.js +62 -0
  183. package/lib/commonjs/ui/components/TextField/Adornment/utils.js.map +1 -0
  184. package/lib/commonjs/ui/components/TextField/Label/InputLabel.js +176 -0
  185. package/lib/commonjs/ui/components/TextField/Label/InputLabel.js.map +1 -0
  186. package/lib/commonjs/ui/components/TextField/Label/LabelBackground.js +84 -0
  187. package/lib/commonjs/ui/components/TextField/Label/LabelBackground.js.map +1 -0
  188. package/lib/commonjs/ui/components/TextField/TextFieldFlat.js +379 -0
  189. package/lib/commonjs/ui/components/TextField/TextFieldFlat.js.map +1 -0
  190. package/lib/commonjs/ui/components/TextField/TextFieldOutlined.js +363 -0
  191. package/lib/commonjs/ui/components/TextField/TextFieldOutlined.js.map +1 -0
  192. package/lib/commonjs/ui/components/TextField/constants.js +50 -0
  193. package/lib/commonjs/ui/components/TextField/constants.js.map +1 -0
  194. package/lib/commonjs/ui/components/TextField/helpers.js +490 -0
  195. package/lib/commonjs/ui/components/TextField/helpers.js.map +1 -0
  196. package/lib/commonjs/ui/components/TextField/types.js +6 -0
  197. package/lib/commonjs/ui/components/TextField/types.js.map +1 -0
  198. package/lib/commonjs/ui/components/TextField.js +339 -0
  199. package/lib/commonjs/ui/components/TextField.js.map +1 -0
  200. package/lib/commonjs/ui/components/TouchableRipple/Pressable.js +12 -0
  201. package/lib/commonjs/ui/components/TouchableRipple/Pressable.js.map +1 -0
  202. package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.js +258 -0
  203. package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.js.map +1 -0
  204. package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.native.js +107 -0
  205. package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.native.js.map +1 -0
  206. package/lib/commonjs/ui/components/TouchableRipple/utils.js +56 -0
  207. package/lib/commonjs/ui/components/TouchableRipple/utils.js.map +1 -0
  208. package/lib/commonjs/ui/components/Typography/AnimatedText.js +62 -0
  209. package/lib/commonjs/ui/components/Typography/AnimatedText.js.map +1 -0
  210. package/lib/commonjs/ui/components/Typography/types.js +26 -0
  211. package/lib/commonjs/ui/components/Typography/types.js.map +1 -0
  212. package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js +171 -0
  213. package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js.map +1 -0
  214. package/lib/commonjs/ui/components/fileManagement/FileViewer.js +409 -0
  215. package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -0
  216. package/lib/commonjs/ui/components/fileManagement/UploadPreview.js +181 -0
  217. package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +1 -0
  218. package/lib/commonjs/ui/components/fileManagement/styles.js +868 -0
  219. package/lib/commonjs/ui/components/fileManagement/styles.js.map +1 -0
  220. package/lib/commonjs/ui/components/icon/FAIRWalletIcon.js +64 -0
  221. package/lib/commonjs/ui/components/icon/FAIRWalletIcon.js.map +1 -0
  222. package/lib/commonjs/ui/components/icon/OxyIcon.js +25 -0
  223. package/lib/commonjs/ui/components/icon/OxyIcon.js.map +1 -0
  224. package/lib/commonjs/ui/components/icon/index.js +21 -0
  225. package/lib/commonjs/ui/components/icon/index.js.map +1 -0
  226. package/lib/commonjs/ui/components/index.js +132 -0
  227. package/lib/commonjs/ui/components/index.js.map +1 -0
  228. package/lib/commonjs/ui/components/internal/GroupedPillButtons.js +209 -0
  229. package/lib/commonjs/ui/components/internal/GroupedPillButtons.js.map +1 -0
  230. package/lib/commonjs/ui/components/internal/PinInput.js +115 -0
  231. package/lib/commonjs/ui/components/internal/PinInput.js.map +1 -0
  232. package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js +161 -0
  233. package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -0
  234. package/lib/commonjs/ui/components/profile/EditBioModal.js +181 -0
  235. package/lib/commonjs/ui/components/profile/EditBioModal.js.map +1 -0
  236. package/lib/commonjs/ui/components/profile/EditDisplayNameModal.js +204 -0
  237. package/lib/commonjs/ui/components/profile/EditDisplayNameModal.js.map +1 -0
  238. package/lib/commonjs/ui/components/profile/EditEmailModal.js +184 -0
  239. package/lib/commonjs/ui/components/profile/EditEmailModal.js.map +1 -0
  240. package/lib/commonjs/ui/components/profile/EditLinksModal.js +315 -0
  241. package/lib/commonjs/ui/components/profile/EditLinksModal.js.map +1 -0
  242. package/lib/commonjs/ui/components/profile/EditLocationModal.js +273 -0
  243. package/lib/commonjs/ui/components/profile/EditLocationModal.js.map +1 -0
  244. package/lib/commonjs/ui/components/profile/EditUsernameModal.js +180 -0
  245. package/lib/commonjs/ui/components/profile/EditUsernameModal.js.map +1 -0
  246. package/lib/commonjs/ui/components/styles/overlay.js +85 -0
  247. package/lib/commonjs/ui/components/styles/overlay.js.map +1 -0
  248. package/lib/commonjs/ui/components/styles/shadow.js +132 -0
  249. package/lib/commonjs/ui/components/styles/shadow.js.map +1 -0
  250. package/lib/commonjs/ui/components/theming.js +116 -0
  251. package/lib/commonjs/ui/components/theming.js.map +1 -0
  252. package/lib/commonjs/ui/components/types.js +2 -0
  253. package/lib/commonjs/ui/components/types.js.map +1 -0
  254. package/lib/commonjs/ui/components/utils/forwardRef.js +18 -0
  255. package/lib/commonjs/ui/components/utils/forwardRef.js.map +1 -0
  256. package/lib/commonjs/ui/components/utils/hasTouchHandler.js +13 -0
  257. package/lib/commonjs/ui/components/utils/hasTouchHandler.js.map +1 -0
  258. package/lib/commonjs/ui/components/utils/roundLayoutSize.js +9 -0
  259. package/lib/commonjs/ui/components/utils/roundLayoutSize.js.map +1 -0
  260. package/lib/commonjs/ui/components/utils/splitStyles.js +50 -0
  261. package/lib/commonjs/ui/components/utils/splitStyles.js.map +1 -0
  262. package/lib/commonjs/ui/constants/iconColors.js +84 -0
  263. package/lib/commonjs/ui/constants/iconColors.js.map +1 -0
  264. package/lib/commonjs/ui/constants/spacing.js +50 -0
  265. package/lib/commonjs/ui/constants/spacing.js.map +1 -0
  266. package/lib/commonjs/ui/constants/theme.js +123 -0
  267. package/lib/commonjs/ui/constants/theme.js.map +1 -0
  268. package/lib/commonjs/ui/context/OxyContext.js +815 -0
  269. package/lib/commonjs/ui/context/OxyContext.js.map +1 -0
  270. package/lib/commonjs/ui/context/ThemeContext.js +36 -0
  271. package/lib/commonjs/ui/context/ThemeContext.js.map +1 -0
  272. package/lib/commonjs/ui/context/hooks/useAuthOperations.js +621 -0
  273. package/lib/commonjs/ui/context/hooks/useAuthOperations.js.map +1 -0
  274. package/lib/commonjs/ui/context/hooks/useDeviceManagement.js +73 -0
  275. package/lib/commonjs/ui/context/hooks/useDeviceManagement.js.map +1 -0
  276. package/lib/commonjs/ui/context/hooks/useLanguageManagement.js +112 -0
  277. package/lib/commonjs/ui/context/hooks/useLanguageManagement.js.map +1 -0
  278. package/lib/commonjs/ui/context/hooks/useSessionManagement.js +281 -0
  279. package/lib/commonjs/ui/context/hooks/useSessionManagement.js.map +1 -0
  280. package/lib/commonjs/ui/context/hooks/useStorage.js +79 -0
  281. package/lib/commonjs/ui/context/hooks/useStorage.js.map +1 -0
  282. package/lib/commonjs/ui/hooks/index.js +46 -0
  283. package/lib/commonjs/ui/hooks/index.js.map +1 -0
  284. package/lib/commonjs/ui/hooks/mutations/index.js +68 -0
  285. package/lib/commonjs/ui/hooks/mutations/index.js.map +1 -0
  286. package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js +552 -0
  287. package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js.map +1 -0
  288. package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js +193 -0
  289. package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js.map +1 -0
  290. package/lib/commonjs/ui/hooks/queries/index.js +118 -0
  291. package/lib/commonjs/ui/hooks/queries/index.js.map +1 -0
  292. package/lib/commonjs/ui/hooks/queries/queryKeys.js +96 -0
  293. package/lib/commonjs/ui/hooks/queries/queryKeys.js.map +1 -0
  294. package/lib/commonjs/ui/hooks/queries/useAccountQueries.js +220 -0
  295. package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +1 -0
  296. package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js +58 -0
  297. package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js.map +1 -0
  298. package/lib/commonjs/ui/hooks/queries/useServicesQueries.js +186 -0
  299. package/lib/commonjs/ui/hooks/queries/useServicesQueries.js.map +1 -0
  300. package/lib/commonjs/ui/hooks/queryClient.js +117 -0
  301. package/lib/commonjs/ui/hooks/queryClient.js.map +1 -0
  302. package/lib/commonjs/ui/hooks/use-color-scheme.js +29 -0
  303. package/lib/commonjs/ui/hooks/use-color-scheme.js.map +1 -0
  304. package/lib/commonjs/ui/hooks/use-haptic-press.js +21 -0
  305. package/lib/commonjs/ui/hooks/use-haptic-press.js.map +1 -0
  306. package/lib/commonjs/ui/hooks/useAssets.js +245 -0
  307. package/lib/commonjs/ui/hooks/useAssets.js.map +1 -0
  308. package/lib/commonjs/ui/hooks/useDeviceManagement.js +73 -0
  309. package/lib/commonjs/ui/hooks/useDeviceManagement.js.map +1 -0
  310. package/lib/commonjs/ui/hooks/useFileDownloadUrl.js +103 -0
  311. package/lib/commonjs/ui/hooks/useFileDownloadUrl.js.map +1 -0
  312. package/lib/commonjs/ui/hooks/useFollow.js +167 -0
  313. package/lib/commonjs/ui/hooks/useFollow.js.map +1 -0
  314. package/lib/commonjs/ui/hooks/useFollow.types.js +2 -0
  315. package/lib/commonjs/ui/hooks/useFollow.types.js.map +1 -0
  316. package/lib/commonjs/ui/hooks/useI18n.js +22 -0
  317. package/lib/commonjs/ui/hooks/useI18n.js.map +1 -0
  318. package/lib/commonjs/ui/hooks/useLanguageManagement.js +112 -0
  319. package/lib/commonjs/ui/hooks/useLanguageManagement.js.map +1 -0
  320. package/lib/commonjs/ui/hooks/useProfileEditing.js +107 -0
  321. package/lib/commonjs/ui/hooks/useProfileEditing.js.map +1 -0
  322. package/lib/commonjs/ui/hooks/useQueryClient.js +20 -0
  323. package/lib/commonjs/ui/hooks/useQueryClient.js.map +1 -0
  324. package/lib/commonjs/ui/hooks/useSessionManagement.js +281 -0
  325. package/lib/commonjs/ui/hooks/useSessionManagement.js.map +1 -0
  326. package/lib/commonjs/ui/hooks/useSessionSocket.js +495 -0
  327. package/lib/commonjs/ui/hooks/useSessionSocket.js.map +1 -0
  328. package/lib/commonjs/ui/hooks/useStorage.js +79 -0
  329. package/lib/commonjs/ui/hooks/useStorage.js.map +1 -0
  330. package/lib/commonjs/ui/hooks/useThemeColors.js +31 -0
  331. package/lib/commonjs/ui/hooks/useThemeColors.js.map +1 -0
  332. package/lib/commonjs/ui/hooks/useThemeStyles.js +69 -0
  333. package/lib/commonjs/ui/hooks/useThemeStyles.js.map +1 -0
  334. package/lib/commonjs/ui/index.js +101 -0
  335. package/lib/commonjs/ui/index.js.map +1 -0
  336. package/lib/commonjs/ui/isFrontend.js +10 -0
  337. package/lib/commonjs/ui/isFrontend.js.map +1 -0
  338. package/lib/commonjs/ui/navigation/bottomSheetManager.js +180 -0
  339. package/lib/commonjs/ui/navigation/bottomSheetManager.js.map +1 -0
  340. package/lib/commonjs/ui/navigation/routes.js +88 -0
  341. package/lib/commonjs/ui/navigation/routes.js.map +1 -0
  342. package/lib/commonjs/ui/screens/AccountCenterScreen.js +329 -0
  343. package/lib/commonjs/ui/screens/AccountCenterScreen.js.map +1 -0
  344. package/lib/commonjs/ui/screens/AccountOverviewScreen.js +752 -0
  345. package/lib/commonjs/ui/screens/AccountOverviewScreen.js.map +1 -0
  346. package/lib/commonjs/ui/screens/AccountSettingsScreen.js +2163 -0
  347. package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -0
  348. package/lib/commonjs/ui/screens/AccountSwitcherScreen.js +703 -0
  349. package/lib/commonjs/ui/screens/AccountSwitcherScreen.js.map +1 -0
  350. package/lib/commonjs/ui/screens/AccountVerificationScreen.js +210 -0
  351. package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -0
  352. package/lib/commonjs/ui/screens/AppInfoScreen.js +414 -0
  353. package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -0
  354. package/lib/commonjs/ui/screens/FeedbackScreen.js +1191 -0
  355. package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -0
  356. package/lib/commonjs/ui/screens/FileManagementScreen.js +2333 -0
  357. package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -0
  358. package/lib/commonjs/ui/screens/HelpSupportScreen.js +134 -0
  359. package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +1 -0
  360. package/lib/commonjs/ui/screens/HistoryViewScreen.js +218 -0
  361. package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -0
  362. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +218 -0
  363. package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -0
  364. package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +184 -0
  365. package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -0
  366. package/lib/commonjs/ui/screens/OxyAuthScreen.js +537 -0
  367. package/lib/commonjs/ui/screens/OxyAuthScreen.js.map +1 -0
  368. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +1587 -0
  369. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -0
  370. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +1647 -0
  371. package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +1 -0
  372. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +479 -0
  373. package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -0
  374. package/lib/commonjs/ui/screens/ProfileScreen.js +647 -0
  375. package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -0
  376. package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +167 -0
  377. package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +1 -0
  378. package/lib/commonjs/ui/screens/SearchSettingsScreen.js +166 -0
  379. package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -0
  380. package/lib/commonjs/ui/screens/SessionManagementScreen.js +445 -0
  381. package/lib/commonjs/ui/screens/SessionManagementScreen.js.map +1 -0
  382. package/lib/commonjs/ui/screens/UserLinksScreen.js +86 -0
  383. package/lib/commonjs/ui/screens/UserLinksScreen.js.map +1 -0
  384. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +434 -0
  385. package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -0
  386. package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js +98 -0
  387. package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js.map +1 -0
  388. package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js +343 -0
  389. package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js.map +1 -0
  390. package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js +194 -0
  391. package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js.map +1 -0
  392. package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js +151 -0
  393. package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -0
  394. package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js +609 -0
  395. package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js.map +1 -0
  396. package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js +109 -0
  397. package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js.map +1 -0
  398. package/lib/commonjs/ui/stores/accountStore.js +252 -0
  399. package/lib/commonjs/ui/stores/accountStore.js.map +1 -0
  400. package/lib/commonjs/ui/stores/assetStore.js +225 -0
  401. package/lib/commonjs/ui/stores/assetStore.js.map +1 -0
  402. package/lib/commonjs/ui/stores/authStore.js +85 -0
  403. package/lib/commonjs/ui/stores/authStore.js.map +1 -0
  404. package/lib/commonjs/ui/stores/fileStore.js +153 -0
  405. package/lib/commonjs/ui/stores/fileStore.js.map +1 -0
  406. package/lib/commonjs/ui/stores/followStore.js +229 -0
  407. package/lib/commonjs/ui/stores/followStore.js.map +1 -0
  408. package/lib/commonjs/ui/styles/authStyles.js +338 -0
  409. package/lib/commonjs/ui/styles/authStyles.js.map +1 -0
  410. package/lib/commonjs/ui/styles/fonts.js +84 -0
  411. package/lib/commonjs/ui/styles/fonts.js.map +1 -0
  412. package/lib/commonjs/ui/styles/index.js +50 -0
  413. package/lib/commonjs/ui/styles/index.js.map +1 -0
  414. package/lib/commonjs/ui/styles/spacing.js +109 -0
  415. package/lib/commonjs/ui/styles/spacing.js.map +1 -0
  416. package/lib/commonjs/ui/styles/theme.js +121 -0
  417. package/lib/commonjs/ui/styles/theme.js.map +1 -0
  418. package/lib/commonjs/ui/types/fileManagement.js +6 -0
  419. package/lib/commonjs/ui/types/fileManagement.js.map +1 -0
  420. package/lib/commonjs/ui/types/navigation.js +6 -0
  421. package/lib/commonjs/ui/types/navigation.js.map +1 -0
  422. package/lib/commonjs/ui/utils/avatarUtils.js +131 -0
  423. package/lib/commonjs/ui/utils/avatarUtils.js.map +1 -0
  424. package/lib/commonjs/ui/utils/colorUtils.js +52 -0
  425. package/lib/commonjs/ui/utils/colorUtils.js.map +1 -0
  426. package/lib/commonjs/ui/utils/confirmAction.js +28 -0
  427. package/lib/commonjs/ui/utils/confirmAction.js.map +1 -0
  428. package/lib/commonjs/ui/utils/errorHandlers.js +137 -0
  429. package/lib/commonjs/ui/utils/errorHandlers.js.map +1 -0
  430. package/lib/commonjs/ui/utils/fileManagement.js +260 -0
  431. package/lib/commonjs/ui/utils/fileManagement.js.map +1 -0
  432. package/lib/commonjs/ui/utils/sessionHelpers.js +101 -0
  433. package/lib/commonjs/ui/utils/sessionHelpers.js.map +1 -0
  434. package/lib/commonjs/ui/utils/storageHelpers.js +119 -0
  435. package/lib/commonjs/ui/utils/storageHelpers.js.map +1 -0
  436. package/lib/commonjs/ui/utils/themeUtils.js +47 -0
  437. package/lib/commonjs/ui/utils/themeUtils.js.map +1 -0
  438. package/lib/commonjs/ui/utils/user-utils.js +53 -0
  439. package/lib/commonjs/ui/utils/user-utils.js.map +1 -0
  440. package/lib/commonjs/utils/apiUtils.js +79 -0
  441. package/lib/commonjs/utils/apiUtils.js.map +1 -0
  442. package/lib/commonjs/utils/asyncUtils.js +207 -0
  443. package/lib/commonjs/utils/asyncUtils.js.map +1 -0
  444. package/lib/commonjs/utils/cache.js +259 -0
  445. package/lib/commonjs/utils/cache.js.map +1 -0
  446. package/lib/commonjs/utils/deviceManager.js +177 -0
  447. package/lib/commonjs/utils/deviceManager.js.map +1 -0
  448. package/lib/commonjs/utils/errorUtils.js +181 -0
  449. package/lib/commonjs/utils/errorUtils.js.map +1 -0
  450. package/lib/commonjs/utils/hookUtils.js +399 -0
  451. package/lib/commonjs/utils/hookUtils.js.map +1 -0
  452. package/lib/commonjs/utils/index.js +106 -0
  453. package/lib/commonjs/utils/index.js.map +1 -0
  454. package/lib/commonjs/utils/languageUtils.js +159 -0
  455. package/lib/commonjs/utils/languageUtils.js.map +1 -0
  456. package/lib/commonjs/utils/loggerUtils.js +160 -0
  457. package/lib/commonjs/utils/loggerUtils.js.map +1 -0
  458. package/lib/commonjs/utils/requestUtils.js +217 -0
  459. package/lib/commonjs/utils/requestUtils.js.map +1 -0
  460. package/lib/commonjs/utils/sessionUtils.js +191 -0
  461. package/lib/commonjs/utils/sessionUtils.js.map +1 -0
  462. package/lib/commonjs/utils/validationUtils.js +191 -0
  463. package/lib/commonjs/utils/validationUtils.js.map +1 -0
  464. package/lib/module/assets/OxyLogo.svg +1 -0
  465. package/lib/module/assets/assets/OxyLogo.svg +1 -0
  466. package/lib/module/assets/assets/fonts/Phudu/Phudu-Black.ttf +0 -0
  467. package/lib/module/assets/assets/fonts/Phudu/Phudu-Bold.ttf +0 -0
  468. package/lib/module/assets/assets/fonts/Phudu/Phudu-ExtraBold.ttf +0 -0
  469. package/lib/module/assets/assets/fonts/Phudu/Phudu-Light.ttf +0 -0
  470. package/lib/module/assets/assets/fonts/Phudu/Phudu-Medium.ttf +0 -0
  471. package/lib/module/assets/assets/fonts/Phudu/Phudu-Regular.ttf +0 -0
  472. package/lib/module/assets/assets/fonts/Phudu/Phudu-SemiBold.ttf +0 -0
  473. package/lib/module/assets/assets/icons/OxyServices.tsx +67 -0
  474. package/lib/module/assets/assets/icons/logo_OxyServices.svg +1 -0
  475. package/lib/module/assets/assets/illustrations/HighFive.tsx +41 -0
  476. package/lib/module/assets/assets/lottie/welcomeheader_background_op1.json +1 -0
  477. package/lib/module/assets/fonts/Phudu/Phudu-Black.ttf +0 -0
  478. package/lib/module/assets/fonts/Phudu/Phudu-Bold.ttf +0 -0
  479. package/lib/module/assets/fonts/Phudu/Phudu-ExtraBold.ttf +0 -0
  480. package/lib/module/assets/fonts/Phudu/Phudu-Light.ttf +0 -0
  481. package/lib/module/assets/fonts/Phudu/Phudu-Medium.ttf +0 -0
  482. package/lib/module/assets/fonts/Phudu/Phudu-Regular.ttf +0 -0
  483. package/lib/module/assets/fonts/Phudu/Phudu-SemiBold.ttf +0 -0
  484. package/lib/module/assets/icons/OxyServices.js +45 -0
  485. package/lib/module/assets/icons/OxyServices.js.map +1 -0
  486. package/lib/module/assets/icons/logo_OxyServices.svg +1 -0
  487. package/lib/module/assets/illustrations/HighFive.js +54 -0
  488. package/lib/module/assets/illustrations/HighFive.js.map +1 -0
  489. package/lib/module/assets/lottie/welcomeheader_background_op1.json +1 -0
  490. package/lib/module/constants/version.js +21 -0
  491. package/lib/module/constants/version.js.map +1 -0
  492. package/lib/module/core/HttpService.js +502 -0
  493. package/lib/module/core/HttpService.js.map +1 -0
  494. package/lib/module/core/OxyServices.base.js +278 -0
  495. package/lib/module/core/OxyServices.base.js.map +1 -0
  496. package/lib/module/core/OxyServices.errors.js +20 -0
  497. package/lib/module/core/OxyServices.errors.js.map +1 -0
  498. package/lib/module/core/OxyServices.js +131 -0
  499. package/lib/module/core/OxyServices.js.map +1 -0
  500. package/lib/module/core/index.js +27 -0
  501. package/lib/module/core/index.js.map +1 -0
  502. package/lib/module/core/mixins/OxyServices.analytics.js +56 -0
  503. package/lib/module/core/mixins/OxyServices.analytics.js.map +1 -0
  504. package/lib/module/core/mixins/OxyServices.assets.js +371 -0
  505. package/lib/module/core/mixins/OxyServices.assets.js.map +1 -0
  506. package/lib/module/core/mixins/OxyServices.auth.js +267 -0
  507. package/lib/module/core/mixins/OxyServices.auth.js.map +1 -0
  508. package/lib/module/core/mixins/OxyServices.developer.js +111 -0
  509. package/lib/module/core/mixins/OxyServices.developer.js.map +1 -0
  510. package/lib/module/core/mixins/OxyServices.devices.js +129 -0
  511. package/lib/module/core/mixins/OxyServices.devices.js.map +1 -0
  512. package/lib/module/core/mixins/OxyServices.karma.js +113 -0
  513. package/lib/module/core/mixins/OxyServices.karma.js.map +1 -0
  514. package/lib/module/core/mixins/OxyServices.language.js +120 -0
  515. package/lib/module/core/mixins/OxyServices.language.js.map +1 -0
  516. package/lib/module/core/mixins/OxyServices.location.js +51 -0
  517. package/lib/module/core/mixins/OxyServices.location.js.map +1 -0
  518. package/lib/module/core/mixins/OxyServices.payment.js +164 -0
  519. package/lib/module/core/mixins/OxyServices.payment.js.map +1 -0
  520. package/lib/module/core/mixins/OxyServices.privacy.js +170 -0
  521. package/lib/module/core/mixins/OxyServices.privacy.js.map +1 -0
  522. package/lib/module/core/mixins/OxyServices.security.js +92 -0
  523. package/lib/module/core/mixins/OxyServices.security.js.map +1 -0
  524. package/lib/module/core/mixins/OxyServices.user.js +399 -0
  525. package/lib/module/core/mixins/OxyServices.user.js.map +1 -0
  526. package/lib/module/core/mixins/OxyServices.utility.js +160 -0
  527. package/lib/module/core/mixins/OxyServices.utility.js.map +1 -0
  528. package/lib/module/core/mixins/index.js +36 -0
  529. package/lib/module/core/mixins/index.js.map +1 -0
  530. package/lib/module/core/mixins/mixinHelpers.js +56 -0
  531. package/lib/module/core/mixins/mixinHelpers.js.map +1 -0
  532. package/lib/module/core/services/SessionService.js +159 -0
  533. package/lib/module/core/services/SessionService.js.map +1 -0
  534. package/lib/module/core/services/TokenService.js +203 -0
  535. package/lib/module/core/services/TokenService.js.map +1 -0
  536. package/lib/module/crypto/index.js +16 -0
  537. package/lib/module/crypto/index.js.map +1 -0
  538. package/lib/module/crypto/keyManager.js +508 -0
  539. package/lib/module/crypto/keyManager.js.map +1 -0
  540. package/lib/module/crypto/polyfill.js +78 -0
  541. package/lib/module/crypto/polyfill.js.map +1 -0
  542. package/lib/module/crypto/signatureService.js +286 -0
  543. package/lib/module/crypto/signatureService.js.map +1 -0
  544. package/lib/module/crypto/types.js +2 -0
  545. package/lib/module/crypto/types.js.map +1 -0
  546. package/lib/module/i18n/index.js +71 -0
  547. package/lib/module/i18n/index.js.map +1 -0
  548. package/lib/module/i18n/locales/ar-SA.json +120 -0
  549. package/lib/module/i18n/locales/ca-ES.json +120 -0
  550. package/lib/module/i18n/locales/de-DE.json +120 -0
  551. package/lib/module/i18n/locales/en-US.json +956 -0
  552. package/lib/module/i18n/locales/es-ES.json +723 -0
  553. package/lib/module/i18n/locales/fr-FR.json +120 -0
  554. package/lib/module/i18n/locales/it-IT.json +120 -0
  555. package/lib/module/i18n/locales/ja-JP.json +119 -0
  556. package/lib/module/i18n/locales/ko-KR.json +120 -0
  557. package/lib/module/i18n/locales/pt-PT.json +120 -0
  558. package/lib/module/i18n/locales/zh-CN.json +120 -0
  559. package/lib/module/index.js +74 -0
  560. package/lib/module/index.js.map +1 -0
  561. package/lib/module/lib/sonner-safe.js +29 -0
  562. package/lib/module/lib/sonner-safe.js.map +1 -0
  563. package/lib/module/lib/sonner.js +19 -0
  564. package/lib/module/lib/sonner.js.map +1 -0
  565. package/lib/module/models/interfaces.js +72 -0
  566. package/lib/module/models/interfaces.js.map +1 -0
  567. package/lib/module/models/session.js +2 -0
  568. package/lib/module/models/session.js.map +1 -0
  569. package/lib/module/node/index.js +20 -0
  570. package/lib/module/node/index.js.map +1 -0
  571. package/lib/module/ui/components/ActivityIndicator.js +198 -0
  572. package/lib/module/ui/components/ActivityIndicator.js.map +1 -0
  573. package/lib/module/ui/components/AnimationExample.js +209 -0
  574. package/lib/module/ui/components/AnimationExample.js.map +1 -0
  575. package/lib/module/ui/components/AutoHeightScrollView.js +41 -0
  576. package/lib/module/ui/components/AutoHeightScrollView.js.map +1 -0
  577. package/lib/module/ui/components/Avatar.js +168 -0
  578. package/lib/module/ui/components/Avatar.js.map +1 -0
  579. package/lib/module/ui/components/BottomSheet.js +402 -0
  580. package/lib/module/ui/components/BottomSheet.js.map +1 -0
  581. package/lib/module/ui/components/BottomSheetRouter.js +356 -0
  582. package/lib/module/ui/components/BottomSheetRouter.js.map +1 -0
  583. package/lib/module/ui/components/CrossFadeIcon.js +101 -0
  584. package/lib/module/ui/components/CrossFadeIcon.js.map +1 -0
  585. package/lib/module/ui/components/EmptyState.js +36 -0
  586. package/lib/module/ui/components/EmptyState.js.map +1 -0
  587. package/lib/module/ui/components/ErrorBoundary.js +139 -0
  588. package/lib/module/ui/components/ErrorBoundary.js.map +1 -0
  589. package/lib/module/ui/components/FollowButton.js +226 -0
  590. package/lib/module/ui/components/FollowButton.js.map +1 -0
  591. package/lib/module/ui/components/FontLoader.js +157 -0
  592. package/lib/module/ui/components/FontLoader.js.map +1 -0
  593. package/lib/module/ui/components/GroupedItem.js +135 -0
  594. package/lib/module/ui/components/GroupedItem.js.map +1 -0
  595. package/lib/module/ui/components/GroupedSection.js +37 -0
  596. package/lib/module/ui/components/GroupedSection.js.map +1 -0
  597. package/lib/module/ui/components/Header.js +428 -0
  598. package/lib/module/ui/components/Header.js.map +1 -0
  599. package/lib/module/ui/components/HelperText.js +99 -0
  600. package/lib/module/ui/components/HelperText.js.map +1 -0
  601. package/lib/module/ui/components/Icon.js +102 -0
  602. package/lib/module/ui/components/Icon.js.map +1 -0
  603. package/lib/module/ui/components/IconButton/IconButton.js +153 -0
  604. package/lib/module/ui/components/IconButton/IconButton.js.map +1 -0
  605. package/lib/module/ui/components/IconButton/utils.js +149 -0
  606. package/lib/module/ui/components/IconButton/utils.js.map +1 -0
  607. package/lib/module/ui/components/LoadingState.js +42 -0
  608. package/lib/module/ui/components/LoadingState.js.map +1 -0
  609. package/lib/module/ui/components/OxyLogo.js +48 -0
  610. package/lib/module/ui/components/OxyLogo.js.map +1 -0
  611. package/lib/module/ui/components/OxyPayButton.js +112 -0
  612. package/lib/module/ui/components/OxyPayButton.js.map +1 -0
  613. package/lib/module/ui/components/OxyProvider.js +140 -0
  614. package/lib/module/ui/components/OxyProvider.js.map +1 -0
  615. package/lib/module/ui/components/OxySignInButton.js +174 -0
  616. package/lib/module/ui/components/OxySignInButton.js.map +1 -0
  617. package/lib/module/ui/components/ProfileCard.js +133 -0
  618. package/lib/module/ui/components/ProfileCard.js.map +1 -0
  619. package/lib/module/ui/components/QuickActions.js +84 -0
  620. package/lib/module/ui/components/QuickActions.js.map +1 -0
  621. package/lib/module/ui/components/Section.js +34 -0
  622. package/lib/module/ui/components/Section.js.map +1 -0
  623. package/lib/module/ui/components/SectionTitle.js +31 -0
  624. package/lib/module/ui/components/SectionTitle.js.map +1 -0
  625. package/lib/module/ui/components/SettingRow.js +72 -0
  626. package/lib/module/ui/components/SettingRow.js.map +1 -0
  627. package/lib/module/ui/components/StepBasedScreen.js +392 -0
  628. package/lib/module/ui/components/StepBasedScreen.js.map +1 -0
  629. package/lib/module/ui/components/Surface.js +252 -0
  630. package/lib/module/ui/components/Surface.js.map +1 -0
  631. package/lib/module/ui/components/TextField/Addons/Outline.js +40 -0
  632. package/lib/module/ui/components/TextField/Addons/Outline.js.map +1 -0
  633. package/lib/module/ui/components/TextField/Addons/Underline.js +47 -0
  634. package/lib/module/ui/components/TextField/Addons/Underline.js.map +1 -0
  635. package/lib/module/ui/components/TextField/Adornment/TextFieldAdornment.js +148 -0
  636. package/lib/module/ui/components/TextField/Adornment/TextFieldAdornment.js.map +1 -0
  637. package/lib/module/ui/components/TextField/Adornment/TextFieldAffix.js +141 -0
  638. package/lib/module/ui/components/TextField/Adornment/TextFieldAffix.js.map +1 -0
  639. package/lib/module/ui/components/TextField/Adornment/TextFieldIcon.js +135 -0
  640. package/lib/module/ui/components/TextField/Adornment/TextFieldIcon.js.map +1 -0
  641. package/lib/module/ui/components/TextField/Adornment/enums.js +18 -0
  642. package/lib/module/ui/components/TextField/Adornment/enums.js.map +1 -0
  643. package/lib/module/ui/components/TextField/Adornment/types.js +4 -0
  644. package/lib/module/ui/components/TextField/Adornment/types.js.map +1 -0
  645. package/lib/module/ui/components/TextField/Adornment/utils.js +57 -0
  646. package/lib/module/ui/components/TextField/Adornment/utils.js.map +1 -0
  647. package/lib/module/ui/components/TextField/Label/InputLabel.js +171 -0
  648. package/lib/module/ui/components/TextField/Label/InputLabel.js.map +1 -0
  649. package/lib/module/ui/components/TextField/Label/LabelBackground.js +78 -0
  650. package/lib/module/ui/components/TextField/Label/LabelBackground.js.map +1 -0
  651. package/lib/module/ui/components/TextField/TextFieldFlat.js +374 -0
  652. package/lib/module/ui/components/TextField/TextFieldFlat.js.map +1 -0
  653. package/lib/module/ui/components/TextField/TextFieldOutlined.js +357 -0
  654. package/lib/module/ui/components/TextField/TextFieldOutlined.js.map +1 -0
  655. package/lib/module/ui/components/TextField/constants.js +46 -0
  656. package/lib/module/ui/components/TextField/constants.js.map +1 -0
  657. package/lib/module/ui/components/TextField/helpers.js +472 -0
  658. package/lib/module/ui/components/TextField/helpers.js.map +1 -0
  659. package/lib/module/ui/components/TextField/types.js +4 -0
  660. package/lib/module/ui/components/TextField/types.js.map +1 -0
  661. package/lib/module/ui/components/TextField.js +333 -0
  662. package/lib/module/ui/components/TextField.js.map +1 -0
  663. package/lib/module/ui/components/TouchableRipple/Pressable.js +9 -0
  664. package/lib/module/ui/components/TouchableRipple/Pressable.js.map +1 -0
  665. package/lib/module/ui/components/TouchableRipple/TouchableRipple.js +253 -0
  666. package/lib/module/ui/components/TouchableRipple/TouchableRipple.js.map +1 -0
  667. package/lib/module/ui/components/TouchableRipple/TouchableRipple.native.js +101 -0
  668. package/lib/module/ui/components/TouchableRipple/TouchableRipple.native.js.map +1 -0
  669. package/lib/module/ui/components/TouchableRipple/utils.js +50 -0
  670. package/lib/module/ui/components/TouchableRipple/utils.js.map +1 -0
  671. package/lib/module/ui/components/Typography/AnimatedText.js +56 -0
  672. package/lib/module/ui/components/Typography/AnimatedText.js.map +1 -0
  673. package/lib/module/ui/components/Typography/types.js +22 -0
  674. package/lib/module/ui/components/Typography/types.js.map +1 -0
  675. package/lib/module/ui/components/fileManagement/FileDetailsModal.js +165 -0
  676. package/lib/module/ui/components/fileManagement/FileDetailsModal.js.map +1 -0
  677. package/lib/module/ui/components/fileManagement/FileViewer.js +402 -0
  678. package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -0
  679. package/lib/module/ui/components/fileManagement/UploadPreview.js +175 -0
  680. package/lib/module/ui/components/fileManagement/UploadPreview.js.map +1 -0
  681. package/lib/module/ui/components/fileManagement/styles.js +864 -0
  682. package/lib/module/ui/components/fileManagement/styles.js.map +1 -0
  683. package/lib/module/ui/components/icon/FAIRWalletIcon.js +59 -0
  684. package/lib/module/ui/components/icon/FAIRWalletIcon.js.map +1 -0
  685. package/lib/module/ui/components/icon/OxyIcon.js +21 -0
  686. package/lib/module/ui/components/icon/OxyIcon.js.map +1 -0
  687. package/lib/module/ui/components/icon/index.js +5 -0
  688. package/lib/module/ui/components/icon/index.js.map +1 -0
  689. package/lib/module/ui/components/index.js +22 -0
  690. package/lib/module/ui/components/index.js.map +1 -0
  691. package/lib/module/ui/components/internal/GroupedPillButtons.js +205 -0
  692. package/lib/module/ui/components/internal/GroupedPillButtons.js.map +1 -0
  693. package/lib/module/ui/components/internal/PinInput.js +110 -0
  694. package/lib/module/ui/components/internal/PinInput.js.map +1 -0
  695. package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js +156 -0
  696. package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -0
  697. package/lib/module/ui/components/profile/EditBioModal.js +175 -0
  698. package/lib/module/ui/components/profile/EditBioModal.js.map +1 -0
  699. package/lib/module/ui/components/profile/EditDisplayNameModal.js +198 -0
  700. package/lib/module/ui/components/profile/EditDisplayNameModal.js.map +1 -0
  701. package/lib/module/ui/components/profile/EditEmailModal.js +178 -0
  702. package/lib/module/ui/components/profile/EditEmailModal.js.map +1 -0
  703. package/lib/module/ui/components/profile/EditLinksModal.js +309 -0
  704. package/lib/module/ui/components/profile/EditLinksModal.js.map +1 -0
  705. package/lib/module/ui/components/profile/EditLocationModal.js +267 -0
  706. package/lib/module/ui/components/profile/EditLocationModal.js.map +1 -0
  707. package/lib/module/ui/components/profile/EditUsernameModal.js +174 -0
  708. package/lib/module/ui/components/profile/EditUsernameModal.js.map +1 -0
  709. package/lib/module/ui/components/styles/overlay.js +80 -0
  710. package/lib/module/ui/components/styles/overlay.js.map +1 -0
  711. package/lib/module/ui/components/styles/shadow.js +128 -0
  712. package/lib/module/ui/components/styles/shadow.js.map +1 -0
  713. package/lib/module/ui/components/theming.js +111 -0
  714. package/lib/module/ui/components/theming.js.map +1 -0
  715. package/lib/module/ui/components/types.js +2 -0
  716. package/lib/module/ui/components/types.js.map +1 -0
  717. package/lib/module/ui/components/utils/forwardRef.js +13 -0
  718. package/lib/module/ui/components/utils/forwardRef.js.map +1 -0
  719. package/lib/module/ui/components/utils/hasTouchHandler.js +9 -0
  720. package/lib/module/ui/components/utils/hasTouchHandler.js.map +1 -0
  721. package/lib/module/ui/components/utils/roundLayoutSize.js +4 -0
  722. package/lib/module/ui/components/utils/roundLayoutSize.js.map +1 -0
  723. package/lib/module/ui/components/utils/splitStyles.js +46 -0
  724. package/lib/module/ui/components/utils/splitStyles.js.map +1 -0
  725. package/lib/module/ui/constants/iconColors.js +78 -0
  726. package/lib/module/ui/constants/iconColors.js.map +1 -0
  727. package/lib/module/ui/constants/spacing.js +45 -0
  728. package/lib/module/ui/constants/spacing.js.map +1 -0
  729. package/lib/module/ui/constants/theme.js +119 -0
  730. package/lib/module/ui/constants/theme.js.map +1 -0
  731. package/lib/module/ui/context/OxyContext.js +809 -0
  732. package/lib/module/ui/context/OxyContext.js.map +1 -0
  733. package/lib/module/ui/context/ThemeContext.js +29 -0
  734. package/lib/module/ui/context/ThemeContext.js.map +1 -0
  735. package/lib/module/ui/context/hooks/useAuthOperations.js +615 -0
  736. package/lib/module/ui/context/hooks/useAuthOperations.js.map +1 -0
  737. package/lib/module/ui/context/hooks/useDeviceManagement.js +68 -0
  738. package/lib/module/ui/context/hooks/useDeviceManagement.js.map +1 -0
  739. package/lib/module/ui/context/hooks/useLanguageManagement.js +107 -0
  740. package/lib/module/ui/context/hooks/useLanguageManagement.js.map +1 -0
  741. package/lib/module/ui/context/hooks/useSessionManagement.js +276 -0
  742. package/lib/module/ui/context/hooks/useSessionManagement.js.map +1 -0
  743. package/lib/module/ui/context/hooks/useStorage.js +74 -0
  744. package/lib/module/ui/context/hooks/useStorage.js.map +1 -0
  745. package/lib/module/ui/hooks/index.js +7 -0
  746. package/lib/module/ui/hooks/index.js.map +1 -0
  747. package/lib/module/ui/hooks/mutations/index.js +15 -0
  748. package/lib/module/ui/hooks/mutations/index.js.map +1 -0
  749. package/lib/module/ui/hooks/mutations/useAccountMutations.js +544 -0
  750. package/lib/module/ui/hooks/mutations/useAccountMutations.js.map +1 -0
  751. package/lib/module/ui/hooks/mutations/useServicesMutations.js +185 -0
  752. package/lib/module/ui/hooks/mutations/useServicesMutations.js.map +1 -0
  753. package/lib/module/ui/hooks/queries/index.js +21 -0
  754. package/lib/module/ui/hooks/queries/index.js.map +1 -0
  755. package/lib/module/ui/hooks/queries/queryKeys.js +89 -0
  756. package/lib/module/ui/hooks/queries/queryKeys.js.map +1 -0
  757. package/lib/module/ui/hooks/queries/useAccountQueries.js +210 -0
  758. package/lib/module/ui/hooks/queries/useAccountQueries.js.map +1 -0
  759. package/lib/module/ui/hooks/queries/useSecurityQueries.js +52 -0
  760. package/lib/module/ui/hooks/queries/useSecurityQueries.js.map +1 -0
  761. package/lib/module/ui/hooks/queries/useServicesQueries.js +178 -0
  762. package/lib/module/ui/hooks/queries/useServicesQueries.js.map +1 -0
  763. package/lib/module/ui/hooks/queryClient.js +110 -0
  764. package/lib/module/ui/hooks/queryClient.js.map +1 -0
  765. package/lib/module/ui/hooks/use-color-scheme.js +26 -0
  766. package/lib/module/ui/hooks/use-color-scheme.js.map +1 -0
  767. package/lib/module/ui/hooks/use-haptic-press.js +17 -0
  768. package/lib/module/ui/hooks/use-haptic-press.js.map +1 -0
  769. package/lib/module/ui/hooks/useAssets.js +239 -0
  770. package/lib/module/ui/hooks/useAssets.js.map +1 -0
  771. package/lib/module/ui/hooks/useDeviceManagement.js +68 -0
  772. package/lib/module/ui/hooks/useDeviceManagement.js.map +1 -0
  773. package/lib/module/ui/hooks/useFileDownloadUrl.js +97 -0
  774. package/lib/module/ui/hooks/useFileDownloadUrl.js.map +1 -0
  775. package/lib/module/ui/hooks/useFollow.js +161 -0
  776. package/lib/module/ui/hooks/useFollow.js.map +1 -0
  777. package/lib/module/ui/hooks/useFollow.types.js +2 -0
  778. package/lib/module/ui/hooks/useFollow.types.js.map +1 -0
  779. package/lib/module/ui/hooks/useI18n.js +18 -0
  780. package/lib/module/ui/hooks/useI18n.js.map +1 -0
  781. package/lib/module/ui/hooks/useLanguageManagement.js +107 -0
  782. package/lib/module/ui/hooks/useLanguageManagement.js.map +1 -0
  783. package/lib/module/ui/hooks/useProfileEditing.js +102 -0
  784. package/lib/module/ui/hooks/useProfileEditing.js.map +1 -0
  785. package/lib/module/ui/hooks/useQueryClient.js +15 -0
  786. package/lib/module/ui/hooks/useQueryClient.js.map +1 -0
  787. package/lib/module/ui/hooks/useSessionManagement.js +276 -0
  788. package/lib/module/ui/hooks/useSessionManagement.js.map +1 -0
  789. package/lib/module/ui/hooks/useSessionSocket.js +490 -0
  790. package/lib/module/ui/hooks/useSessionSocket.js.map +1 -0
  791. package/lib/module/ui/hooks/useStorage.js +74 -0
  792. package/lib/module/ui/hooks/useStorage.js.map +1 -0
  793. package/lib/module/ui/hooks/useThemeColors.js +27 -0
  794. package/lib/module/ui/hooks/useThemeColors.js.map +1 -0
  795. package/lib/module/ui/hooks/useThemeStyles.js +64 -0
  796. package/lib/module/ui/hooks/useThemeStyles.js.map +1 -0
  797. package/lib/module/ui/index.js +63 -0
  798. package/lib/module/ui/index.js.map +1 -0
  799. package/lib/module/ui/isFrontend.js +6 -0
  800. package/lib/module/ui/isFrontend.js.map +1 -0
  801. package/lib/module/ui/navigation/bottomSheetManager.js +168 -0
  802. package/lib/module/ui/navigation/bottomSheetManager.js.map +1 -0
  803. package/lib/module/ui/navigation/routes.js +82 -0
  804. package/lib/module/ui/navigation/routes.js.map +1 -0
  805. package/lib/module/ui/screens/AccountCenterScreen.js +324 -0
  806. package/lib/module/ui/screens/AccountCenterScreen.js.map +1 -0
  807. package/lib/module/ui/screens/AccountOverviewScreen.js +747 -0
  808. package/lib/module/ui/screens/AccountOverviewScreen.js.map +1 -0
  809. package/lib/module/ui/screens/AccountSettingsScreen.js +2158 -0
  810. package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -0
  811. package/lib/module/ui/screens/AccountSwitcherScreen.js +698 -0
  812. package/lib/module/ui/screens/AccountSwitcherScreen.js.map +1 -0
  813. package/lib/module/ui/screens/AccountVerificationScreen.js +205 -0
  814. package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -0
  815. package/lib/module/ui/screens/AppInfoScreen.js +409 -0
  816. package/lib/module/ui/screens/AppInfoScreen.js.map +1 -0
  817. package/lib/module/ui/screens/FeedbackScreen.js +1186 -0
  818. package/lib/module/ui/screens/FeedbackScreen.js.map +1 -0
  819. package/lib/module/ui/screens/FileManagementScreen.js +2327 -0
  820. package/lib/module/ui/screens/FileManagementScreen.js.map +1 -0
  821. package/lib/module/ui/screens/HelpSupportScreen.js +129 -0
  822. package/lib/module/ui/screens/HelpSupportScreen.js.map +1 -0
  823. package/lib/module/ui/screens/HistoryViewScreen.js +213 -0
  824. package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -0
  825. package/lib/module/ui/screens/LanguageSelectorScreen.js +213 -0
  826. package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -0
  827. package/lib/module/ui/screens/LegalDocumentsScreen.js +179 -0
  828. package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -0
  829. package/lib/module/ui/screens/OxyAuthScreen.js +533 -0
  830. package/lib/module/ui/screens/OxyAuthScreen.js.map +1 -0
  831. package/lib/module/ui/screens/PaymentGatewayScreen.js +1583 -0
  832. package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -0
  833. package/lib/module/ui/screens/PremiumSubscriptionScreen.js +1643 -0
  834. package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -0
  835. package/lib/module/ui/screens/PrivacySettingsScreen.js +474 -0
  836. package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -0
  837. package/lib/module/ui/screens/ProfileScreen.js +642 -0
  838. package/lib/module/ui/screens/ProfileScreen.js.map +1 -0
  839. package/lib/module/ui/screens/SavesCollectionsScreen.js +162 -0
  840. package/lib/module/ui/screens/SavesCollectionsScreen.js.map +1 -0
  841. package/lib/module/ui/screens/SearchSettingsScreen.js +161 -0
  842. package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -0
  843. package/lib/module/ui/screens/SessionManagementScreen.js +442 -0
  844. package/lib/module/ui/screens/SessionManagementScreen.js.map +1 -0
  845. package/lib/module/ui/screens/UserLinksScreen.js +82 -0
  846. package/lib/module/ui/screens/UserLinksScreen.js.map +1 -0
  847. package/lib/module/ui/screens/WelcomeNewUserScreen.js +428 -0
  848. package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -0
  849. package/lib/module/ui/screens/karma/KarmaAboutScreen.js +94 -0
  850. package/lib/module/ui/screens/karma/KarmaAboutScreen.js.map +1 -0
  851. package/lib/module/ui/screens/karma/KarmaCenterScreen.js +339 -0
  852. package/lib/module/ui/screens/karma/KarmaCenterScreen.js.map +1 -0
  853. package/lib/module/ui/screens/karma/KarmaFAQScreen.js +189 -0
  854. package/lib/module/ui/screens/karma/KarmaFAQScreen.js.map +1 -0
  855. package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js +146 -0
  856. package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -0
  857. package/lib/module/ui/screens/karma/KarmaRewardsScreen.js +605 -0
  858. package/lib/module/ui/screens/karma/KarmaRewardsScreen.js.map +1 -0
  859. package/lib/module/ui/screens/karma/KarmaRulesScreen.js +105 -0
  860. package/lib/module/ui/screens/karma/KarmaRulesScreen.js.map +1 -0
  861. package/lib/module/ui/stores/accountStore.js +244 -0
  862. package/lib/module/ui/stores/accountStore.js.map +1 -0
  863. package/lib/module/ui/stores/assetStore.js +212 -0
  864. package/lib/module/ui/stores/assetStore.js.map +1 -0
  865. package/lib/module/ui/stores/authStore.js +81 -0
  866. package/lib/module/ui/stores/authStore.js.map +1 -0
  867. package/lib/module/ui/stores/fileStore.js +145 -0
  868. package/lib/module/ui/stores/fileStore.js.map +1 -0
  869. package/lib/module/ui/stores/followStore.js +225 -0
  870. package/lib/module/ui/stores/followStore.js.map +1 -0
  871. package/lib/module/ui/styles/authStyles.js +333 -0
  872. package/lib/module/ui/styles/authStyles.js.map +1 -0
  873. package/lib/module/ui/styles/fonts.js +81 -0
  874. package/lib/module/ui/styles/fonts.js.map +1 -0
  875. package/lib/module/ui/styles/index.js +7 -0
  876. package/lib/module/ui/styles/index.js.map +1 -0
  877. package/lib/module/ui/styles/spacing.js +58 -0
  878. package/lib/module/ui/styles/spacing.js.map +1 -0
  879. package/lib/module/ui/styles/theme.js +114 -0
  880. package/lib/module/ui/styles/theme.js.map +1 -0
  881. package/lib/module/ui/types/fileManagement.js +4 -0
  882. package/lib/module/ui/types/fileManagement.js.map +1 -0
  883. package/lib/module/ui/types/navigation.js +4 -0
  884. package/lib/module/ui/types/navigation.js.map +1 -0
  885. package/lib/module/ui/utils/avatarUtils.js +126 -0
  886. package/lib/module/ui/utils/avatarUtils.js.map +1 -0
  887. package/lib/module/ui/utils/colorUtils.js +46 -0
  888. package/lib/module/ui/utils/colorUtils.js.map +1 -0
  889. package/lib/module/ui/utils/confirmAction.js +25 -0
  890. package/lib/module/ui/utils/confirmAction.js.map +1 -0
  891. package/lib/module/ui/utils/errorHandlers.js +129 -0
  892. package/lib/module/ui/utils/errorHandlers.js.map +1 -0
  893. package/lib/module/ui/utils/fileManagement.js +251 -0
  894. package/lib/module/ui/utils/fileManagement.js.map +1 -0
  895. package/lib/module/ui/utils/sessionHelpers.js +94 -0
  896. package/lib/module/ui/utils/sessionHelpers.js.map +1 -0
  897. package/lib/module/ui/utils/storageHelpers.js +111 -0
  898. package/lib/module/ui/utils/storageHelpers.js.map +1 -0
  899. package/lib/module/ui/utils/themeUtils.js +41 -0
  900. package/lib/module/ui/utils/themeUtils.js.map +1 -0
  901. package/lib/module/ui/utils/user-utils.js +46 -0
  902. package/lib/module/ui/utils/user-utils.js.map +1 -0
  903. package/lib/module/utils/apiUtils.js +72 -0
  904. package/lib/module/utils/apiUtils.js.map +1 -0
  905. package/lib/module/utils/asyncUtils.js +192 -0
  906. package/lib/module/utils/asyncUtils.js.map +1 -0
  907. package/lib/module/utils/cache.js +250 -0
  908. package/lib/module/utils/cache.js.map +1 -0
  909. package/lib/module/utils/deviceManager.js +171 -0
  910. package/lib/module/utils/deviceManager.js.map +1 -0
  911. package/lib/module/utils/errorUtils.js +167 -0
  912. package/lib/module/utils/errorUtils.js.map +1 -0
  913. package/lib/module/utils/hookUtils.js +381 -0
  914. package/lib/module/utils/hookUtils.js.map +1 -0
  915. package/lib/module/utils/index.js +11 -0
  916. package/lib/module/utils/index.js.map +1 -0
  917. package/lib/module/utils/languageUtils.js +151 -0
  918. package/lib/module/utils/languageUtils.js.map +1 -0
  919. package/lib/module/utils/loggerUtils.js +149 -0
  920. package/lib/module/utils/loggerUtils.js.map +1 -0
  921. package/lib/module/utils/requestUtils.js +210 -0
  922. package/lib/module/utils/requestUtils.js.map +1 -0
  923. package/lib/module/utils/sessionUtils.js +180 -0
  924. package/lib/module/utils/sessionUtils.js.map +1 -0
  925. package/lib/module/utils/validationUtils.js +170 -0
  926. package/lib/module/utils/validationUtils.js.map +1 -0
  927. package/lib/typescript/assets/icons/OxyServices.d.ts +29 -0
  928. package/lib/typescript/assets/icons/OxyServices.d.ts.map +1 -0
  929. package/lib/typescript/assets/illustrations/HighFive.d.ts +9 -0
  930. package/lib/typescript/assets/illustrations/HighFive.d.ts.map +1 -0
  931. package/lib/typescript/constants/version.d.ts +14 -0
  932. package/lib/typescript/constants/version.d.ts.map +1 -0
  933. package/lib/typescript/core/HttpService.d.ts +159 -0
  934. package/lib/typescript/core/HttpService.d.ts.map +1 -0
  935. package/lib/typescript/core/OxyServices.base.d.ts +133 -0
  936. package/lib/typescript/core/OxyServices.base.d.ts.map +1 -0
  937. package/lib/typescript/core/OxyServices.d.ts +113 -0
  938. package/lib/typescript/core/OxyServices.d.ts.map +1 -0
  939. package/lib/typescript/core/OxyServices.errors.d.ts +12 -0
  940. package/lib/typescript/core/OxyServices.errors.d.ts.map +1 -0
  941. package/lib/typescript/core/index.d.ts +17 -0
  942. package/lib/typescript/core/index.d.ts.map +1 -0
  943. package/lib/typescript/core/mixins/OxyServices.analytics.d.ts +67 -0
  944. package/lib/typescript/core/mixins/OxyServices.analytics.d.ts.map +1 -0
  945. package/lib/typescript/core/mixins/OxyServices.assets.d.ts +136 -0
  946. package/lib/typescript/core/mixins/OxyServices.assets.d.ts.map +1 -0
  947. package/lib/typescript/core/mixins/OxyServices.auth.d.ts +192 -0
  948. package/lib/typescript/core/mixins/OxyServices.auth.d.ts.map +1 -0
  949. package/lib/typescript/core/mixins/OxyServices.developer.d.ts +100 -0
  950. package/lib/typescript/core/mixins/OxyServices.developer.d.ts.map +1 -0
  951. package/lib/typescript/core/mixins/OxyServices.devices.d.ts +97 -0
  952. package/lib/typescript/core/mixins/OxyServices.devices.d.ts.map +1 -0
  953. package/lib/typescript/core/mixins/OxyServices.karma.d.ts +86 -0
  954. package/lib/typescript/core/mixins/OxyServices.karma.d.ts.map +1 -0
  955. package/lib/typescript/core/mixins/OxyServices.language.d.ts +82 -0
  956. package/lib/typescript/core/mixins/OxyServices.language.d.ts.map +1 -0
  957. package/lib/typescript/core/mixins/OxyServices.location.d.ts +65 -0
  958. package/lib/typescript/core/mixins/OxyServices.location.d.ts.map +1 -0
  959. package/lib/typescript/core/mixins/OxyServices.payment.d.ts +112 -0
  960. package/lib/typescript/core/mixins/OxyServices.payment.d.ts.map +1 -0
  961. package/lib/typescript/core/mixins/OxyServices.privacy.d.ts +123 -0
  962. package/lib/typescript/core/mixins/OxyServices.privacy.d.ts.map +1 -0
  963. package/lib/typescript/core/mixins/OxyServices.security.d.ts +79 -0
  964. package/lib/typescript/core/mixins/OxyServices.security.d.ts.map +1 -0
  965. package/lib/typescript/core/mixins/OxyServices.user.d.ts +183 -0
  966. package/lib/typescript/core/mixins/OxyServices.user.d.ts.map +1 -0
  967. package/lib/typescript/core/mixins/OxyServices.utility.d.ts +94 -0
  968. package/lib/typescript/core/mixins/OxyServices.utility.d.ts.map +1 -0
  969. package/lib/typescript/core/mixins/index.d.ts +853 -0
  970. package/lib/typescript/core/mixins/index.d.ts.map +1 -0
  971. package/lib/typescript/core/mixins/mixinHelpers.d.ts +32 -0
  972. package/lib/typescript/core/mixins/mixinHelpers.d.ts.map +1 -0
  973. package/lib/typescript/core/services/SessionService.d.ts +78 -0
  974. package/lib/typescript/core/services/SessionService.d.ts.map +1 -0
  975. package/lib/typescript/core/services/TokenService.d.ts +72 -0
  976. package/lib/typescript/core/services/TokenService.d.ts.map +1 -0
  977. package/lib/typescript/crypto/index.d.ts +12 -0
  978. package/lib/typescript/crypto/index.d.ts.map +1 -0
  979. package/lib/typescript/crypto/keyManager.d.ts +97 -0
  980. package/lib/typescript/crypto/keyManager.d.ts.map +1 -0
  981. package/lib/typescript/crypto/polyfill.d.ts +13 -0
  982. package/lib/typescript/crypto/polyfill.d.ts.map +1 -0
  983. package/lib/typescript/crypto/signatureService.d.ts +87 -0
  984. package/lib/typescript/crypto/signatureService.d.ts.map +1 -0
  985. package/lib/typescript/crypto/types.d.ts +18 -0
  986. package/lib/typescript/crypto/types.d.ts.map +1 -0
  987. package/lib/typescript/i18n/index.d.ts +4 -0
  988. package/lib/typescript/i18n/index.d.ts.map +1 -0
  989. package/lib/typescript/index.d.ts +38 -0
  990. package/lib/typescript/index.d.ts.map +1 -0
  991. package/lib/typescript/lib/sonner-safe.d.ts +9 -0
  992. package/lib/typescript/lib/sonner-safe.d.ts.map +1 -0
  993. package/lib/typescript/lib/sonner.d.ts +15 -0
  994. package/lib/typescript/lib/sonner.d.ts.map +1 -0
  995. package/lib/typescript/models/interfaces.d.ts +428 -0
  996. package/lib/typescript/models/interfaces.d.ts.map +1 -0
  997. package/lib/typescript/models/session.d.ts +31 -0
  998. package/lib/typescript/models/session.d.ts.map +1 -0
  999. package/lib/typescript/node/index.d.ts +10 -0
  1000. package/lib/typescript/node/index.d.ts.map +1 -0
  1001. package/lib/typescript/types/buffer.d.ts +97 -0
  1002. package/lib/typescript/types/color.d.ts +20 -0
  1003. package/lib/typescript/types/elliptic.d.ts +62 -0
  1004. package/lib/typescript/types/expo-crypto.d.ts +30 -0
  1005. package/lib/typescript/types/expo-document-picker.d.ts +36 -0
  1006. package/lib/typescript/types/expo-secure-store.d.ts +22 -0
  1007. package/lib/typescript/types/expo-vector-icons.d.ts +19 -0
  1008. package/lib/typescript/types/express.d.ts +24 -0
  1009. package/lib/typescript/ui/components/ActivityIndicator.d.ts +45 -0
  1010. package/lib/typescript/ui/components/ActivityIndicator.d.ts.map +1 -0
  1011. package/lib/typescript/ui/components/AnimationExample.d.ts +4 -0
  1012. package/lib/typescript/ui/components/AnimationExample.d.ts.map +1 -0
  1013. package/lib/typescript/ui/components/AutoHeightScrollView.d.ts +23 -0
  1014. package/lib/typescript/ui/components/AutoHeightScrollView.d.ts.map +1 -0
  1015. package/lib/typescript/ui/components/Avatar.d.ts +61 -0
  1016. package/lib/typescript/ui/components/Avatar.d.ts.map +1 -0
  1017. package/lib/typescript/ui/components/BottomSheet.d.ts +29 -0
  1018. package/lib/typescript/ui/components/BottomSheet.d.ts.map +1 -0
  1019. package/lib/typescript/ui/components/BottomSheetRouter.d.ts +14 -0
  1020. package/lib/typescript/ui/components/BottomSheetRouter.d.ts.map +1 -0
  1021. package/lib/typescript/ui/components/CrossFadeIcon.d.ts +27 -0
  1022. package/lib/typescript/ui/components/CrossFadeIcon.d.ts.map +1 -0
  1023. package/lib/typescript/ui/components/EmptyState.d.ts +8 -0
  1024. package/lib/typescript/ui/components/EmptyState.d.ts.map +1 -0
  1025. package/lib/typescript/ui/components/ErrorBoundary.d.ts +31 -0
  1026. package/lib/typescript/ui/components/ErrorBoundary.d.ts.map +1 -0
  1027. package/lib/typescript/ui/components/FollowButton.d.ts +18 -0
  1028. package/lib/typescript/ui/components/FollowButton.d.ts.map +1 -0
  1029. package/lib/typescript/ui/components/FontLoader.d.ts +15 -0
  1030. package/lib/typescript/ui/components/FontLoader.d.ts.map +1 -0
  1031. package/lib/typescript/ui/components/GroupedItem.d.ts +20 -0
  1032. package/lib/typescript/ui/components/GroupedItem.d.ts.map +1 -0
  1033. package/lib/typescript/ui/components/GroupedSection.d.ts +25 -0
  1034. package/lib/typescript/ui/components/GroupedSection.d.ts.map +1 -0
  1035. package/lib/typescript/ui/components/Header.d.ts +38 -0
  1036. package/lib/typescript/ui/components/Header.d.ts.map +1 -0
  1037. package/lib/typescript/ui/components/HelperText.d.ts +47 -0
  1038. package/lib/typescript/ui/components/HelperText.d.ts.map +1 -0
  1039. package/lib/typescript/ui/components/Icon.d.ts +60 -0
  1040. package/lib/typescript/ui/components/Icon.d.ts.map +1 -0
  1041. package/lib/typescript/ui/components/IconButton/IconButton.d.ts +99 -0
  1042. package/lib/typescript/ui/components/IconButton/IconButton.d.ts.map +1 -0
  1043. package/lib/typescript/ui/components/IconButton/utils.d.ts +19 -0
  1044. package/lib/typescript/ui/components/IconButton/utils.d.ts.map +1 -0
  1045. package/lib/typescript/ui/components/LoadingState.d.ts +9 -0
  1046. package/lib/typescript/ui/components/LoadingState.d.ts.map +1 -0
  1047. package/lib/typescript/ui/components/OxyLogo.d.ts +29 -0
  1048. package/lib/typescript/ui/components/OxyLogo.d.ts.map +1 -0
  1049. package/lib/typescript/ui/components/OxyPayButton.d.ts +29 -0
  1050. package/lib/typescript/ui/components/OxyPayButton.d.ts.map +1 -0
  1051. package/lib/typescript/ui/components/OxyProvider.d.ts +11 -0
  1052. package/lib/typescript/ui/components/OxyProvider.d.ts.map +1 -0
  1053. package/lib/typescript/ui/components/OxySignInButton.d.ts +65 -0
  1054. package/lib/typescript/ui/components/OxySignInButton.d.ts.map +1 -0
  1055. package/lib/typescript/ui/components/ProfileCard.d.ts +18 -0
  1056. package/lib/typescript/ui/components/ProfileCard.d.ts.map +1 -0
  1057. package/lib/typescript/ui/components/QuickActions.d.ts +15 -0
  1058. package/lib/typescript/ui/components/QuickActions.d.ts.map +1 -0
  1059. package/lib/typescript/ui/components/Section.d.ts +12 -0
  1060. package/lib/typescript/ui/components/Section.d.ts.map +1 -0
  1061. package/lib/typescript/ui/components/SectionTitle.d.ts +10 -0
  1062. package/lib/typescript/ui/components/SectionTitle.d.ts.map +1 -0
  1063. package/lib/typescript/ui/components/SettingRow.d.ts +14 -0
  1064. package/lib/typescript/ui/components/SettingRow.d.ts.map +1 -0
  1065. package/lib/typescript/ui/components/StepBasedScreen.d.ts +26 -0
  1066. package/lib/typescript/ui/components/StepBasedScreen.d.ts.map +1 -0
  1067. package/lib/typescript/ui/components/Surface.d.ts +76 -0
  1068. package/lib/typescript/ui/components/Surface.d.ts.map +1 -0
  1069. package/lib/typescript/ui/components/TextField/Addons/Outline.d.ts +16 -0
  1070. package/lib/typescript/ui/components/TextField/Addons/Outline.d.ts.map +1 -0
  1071. package/lib/typescript/ui/components/TextField/Addons/Underline.d.ts +19 -0
  1072. package/lib/typescript/ui/components/TextField/Addons/Underline.d.ts.map +1 -0
  1073. package/lib/typescript/ui/components/TextField/Adornment/TextFieldAdornment.d.ts +45 -0
  1074. package/lib/typescript/ui/components/TextField/Adornment/TextFieldAdornment.d.ts.map +1 -0
  1075. package/lib/typescript/ui/components/TextField/Adornment/TextFieldAffix.d.ts +73 -0
  1076. package/lib/typescript/ui/components/TextField/Adornment/TextFieldAffix.d.ts.map +1 -0
  1077. package/lib/typescript/ui/components/TextField/Adornment/TextFieldIcon.d.ts +78 -0
  1078. package/lib/typescript/ui/components/TextField/Adornment/TextFieldIcon.d.ts.map +1 -0
  1079. package/lib/typescript/ui/components/TextField/Adornment/enums.d.ts +13 -0
  1080. package/lib/typescript/ui/components/TextField/Adornment/enums.d.ts.map +1 -0
  1081. package/lib/typescript/ui/components/TextField/Adornment/types.d.ts +12 -0
  1082. package/lib/typescript/ui/components/TextField/Adornment/types.d.ts.map +1 -0
  1083. package/lib/typescript/ui/components/TextField/Adornment/utils.d.ts +12 -0
  1084. package/lib/typescript/ui/components/TextField/Adornment/utils.d.ts.map +1 -0
  1085. package/lib/typescript/ui/components/TextField/Label/InputLabel.d.ts +5 -0
  1086. package/lib/typescript/ui/components/TextField/Label/InputLabel.d.ts.map +1 -0
  1087. package/lib/typescript/ui/components/TextField/Label/LabelBackground.d.ts +4 -0
  1088. package/lib/typescript/ui/components/TextField/Label/LabelBackground.d.ts.map +1 -0
  1089. package/lib/typescript/ui/components/TextField/TextFieldFlat.d.ts +4 -0
  1090. package/lib/typescript/ui/components/TextField/TextFieldFlat.d.ts.map +1 -0
  1091. package/lib/typescript/ui/components/TextField/TextFieldOutlined.d.ts +4 -0
  1092. package/lib/typescript/ui/components/TextField/TextFieldOutlined.d.ts.map +1 -0
  1093. package/lib/typescript/ui/components/TextField/constants.d.ts +32 -0
  1094. package/lib/typescript/ui/components/TextField/constants.d.ts.map +1 -0
  1095. package/lib/typescript/ui/components/TextField/helpers.d.ts +97 -0
  1096. package/lib/typescript/ui/components/TextField/helpers.d.ts.map +1 -0
  1097. package/lib/typescript/ui/components/TextField/types.d.ts +156 -0
  1098. package/lib/typescript/ui/components/TextField/types.d.ts.map +1 -0
  1099. package/lib/typescript/ui/components/TextField.d.ts +192 -0
  1100. package/lib/typescript/ui/components/TextField.d.ts.map +1 -0
  1101. package/lib/typescript/ui/components/TouchableRipple/Pressable.d.ts +13 -0
  1102. package/lib/typescript/ui/components/TouchableRipple/Pressable.d.ts.map +1 -0
  1103. package/lib/typescript/ui/components/TouchableRipple/TouchableRipple.d.ts +62 -0
  1104. package/lib/typescript/ui/components/TouchableRipple/TouchableRipple.d.ts.map +1 -0
  1105. package/lib/typescript/ui/components/TouchableRipple/TouchableRipple.native.d.ts +25 -0
  1106. package/lib/typescript/ui/components/TouchableRipple/TouchableRipple.native.d.ts.map +1 -0
  1107. package/lib/typescript/ui/components/TouchableRipple/utils.d.ts +11 -0
  1108. package/lib/typescript/ui/components/TouchableRipple/utils.d.ts.map +1 -0
  1109. package/lib/typescript/ui/components/Typography/AnimatedText.d.ts +35 -0
  1110. package/lib/typescript/ui/components/Typography/AnimatedText.d.ts.map +1 -0
  1111. package/lib/typescript/ui/components/Typography/types.d.ts +19 -0
  1112. package/lib/typescript/ui/components/Typography/types.d.ts.map +1 -0
  1113. package/lib/typescript/ui/components/fileManagement/FileDetailsModal.d.ts +15 -0
  1114. package/lib/typescript/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -0
  1115. package/lib/typescript/ui/components/fileManagement/FileViewer.d.ts +18 -0
  1116. package/lib/typescript/ui/components/fileManagement/FileViewer.d.ts.map +1 -0
  1117. package/lib/typescript/ui/components/fileManagement/UploadPreview.d.ts +21 -0
  1118. package/lib/typescript/ui/components/fileManagement/UploadPreview.d.ts.map +1 -0
  1119. package/lib/typescript/ui/components/fileManagement/styles.d.ts +860 -0
  1120. package/lib/typescript/ui/components/fileManagement/styles.d.ts.map +1 -0
  1121. package/lib/typescript/ui/components/icon/FAIRWalletIcon.d.ts +9 -0
  1122. package/lib/typescript/ui/components/icon/FAIRWalletIcon.d.ts.map +1 -0
  1123. package/lib/typescript/ui/components/icon/OxyIcon.d.ts +10 -0
  1124. package/lib/typescript/ui/components/icon/OxyIcon.d.ts.map +1 -0
  1125. package/lib/typescript/ui/components/icon/index.d.ts +4 -0
  1126. package/lib/typescript/ui/components/icon/index.d.ts.map +1 -0
  1127. package/lib/typescript/ui/components/index.d.ts +17 -0
  1128. package/lib/typescript/ui/components/index.d.ts.map +1 -0
  1129. package/lib/typescript/ui/components/internal/GroupedPillButtons.d.ts +18 -0
  1130. package/lib/typescript/ui/components/internal/GroupedPillButtons.d.ts.map +1 -0
  1131. package/lib/typescript/ui/components/internal/PinInput.d.ts +23 -0
  1132. package/lib/typescript/ui/components/internal/PinInput.d.ts.map +1 -0
  1133. package/lib/typescript/ui/components/photogrid/JustifiedPhotoGrid.d.ts +27 -0
  1134. package/lib/typescript/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +1 -0
  1135. package/lib/typescript/ui/components/profile/EditBioModal.d.ts +11 -0
  1136. package/lib/typescript/ui/components/profile/EditBioModal.d.ts.map +1 -0
  1137. package/lib/typescript/ui/components/profile/EditDisplayNameModal.d.ts +12 -0
  1138. package/lib/typescript/ui/components/profile/EditDisplayNameModal.d.ts.map +1 -0
  1139. package/lib/typescript/ui/components/profile/EditEmailModal.d.ts +11 -0
  1140. package/lib/typescript/ui/components/profile/EditEmailModal.d.ts.map +1 -0
  1141. package/lib/typescript/ui/components/profile/EditLinksModal.d.ts +18 -0
  1142. package/lib/typescript/ui/components/profile/EditLinksModal.d.ts.map +1 -0
  1143. package/lib/typescript/ui/components/profile/EditLocationModal.d.ts +20 -0
  1144. package/lib/typescript/ui/components/profile/EditLocationModal.d.ts.map +1 -0
  1145. package/lib/typescript/ui/components/profile/EditUsernameModal.d.ts +11 -0
  1146. package/lib/typescript/ui/components/profile/EditUsernameModal.d.ts.map +1 -0
  1147. package/lib/typescript/ui/components/styles/overlay.d.ts +4 -0
  1148. package/lib/typescript/ui/components/styles/overlay.d.ts.map +1 -0
  1149. package/lib/typescript/ui/components/styles/shadow.d.ts +3 -0
  1150. package/lib/typescript/ui/components/styles/shadow.d.ts.map +1 -0
  1151. package/lib/typescript/ui/components/theming.d.ts +8 -0
  1152. package/lib/typescript/ui/components/theming.d.ts.map +1 -0
  1153. package/lib/typescript/ui/components/types.d.ts +80 -0
  1154. package/lib/typescript/ui/components/types.d.ts.map +1 -0
  1155. package/lib/typescript/ui/components/utils/forwardRef.d.ts +12 -0
  1156. package/lib/typescript/ui/components/utils/forwardRef.d.ts.map +1 -0
  1157. package/lib/typescript/ui/components/utils/hasTouchHandler.d.ts +6 -0
  1158. package/lib/typescript/ui/components/utils/hasTouchHandler.d.ts.map +1 -0
  1159. package/lib/typescript/ui/components/utils/roundLayoutSize.d.ts +2 -0
  1160. package/lib/typescript/ui/components/utils/roundLayoutSize.d.ts.map +1 -0
  1161. package/lib/typescript/ui/components/utils/splitStyles.d.ts +20 -0
  1162. package/lib/typescript/ui/components/utils/splitStyles.d.ts.map +1 -0
  1163. package/lib/typescript/ui/constants/iconColors.d.ts +130 -0
  1164. package/lib/typescript/ui/constants/iconColors.d.ts.map +1 -0
  1165. package/lib/typescript/ui/constants/spacing.d.ts +33 -0
  1166. package/lib/typescript/ui/constants/spacing.d.ts.map +1 -0
  1167. package/lib/typescript/ui/constants/theme.d.ts +97 -0
  1168. package/lib/typescript/ui/constants/theme.d.ts.map +1 -0
  1169. package/lib/typescript/ui/context/OxyContext.d.ts +86 -0
  1170. package/lib/typescript/ui/context/OxyContext.d.ts.map +1 -0
  1171. package/lib/typescript/ui/context/ThemeContext.d.ts +19 -0
  1172. package/lib/typescript/ui/context/ThemeContext.d.ts.map +1 -0
  1173. package/lib/typescript/ui/context/hooks/useAuthOperations.d.ts +59 -0
  1174. package/lib/typescript/ui/context/hooks/useAuthOperations.d.ts.map +1 -0
  1175. package/lib/typescript/ui/context/hooks/useDeviceManagement.d.ts +27 -0
  1176. package/lib/typescript/ui/context/hooks/useDeviceManagement.d.ts.map +1 -0
  1177. package/lib/typescript/ui/context/hooks/useLanguageManagement.d.ts +25 -0
  1178. package/lib/typescript/ui/context/hooks/useLanguageManagement.d.ts.map +1 -0
  1179. package/lib/typescript/ui/context/hooks/useSessionManagement.d.ts +41 -0
  1180. package/lib/typescript/ui/context/hooks/useSessionManagement.d.ts.map +1 -0
  1181. package/lib/typescript/ui/context/hooks/useStorage.d.ts +22 -0
  1182. package/lib/typescript/ui/context/hooks/useStorage.d.ts.map +1 -0
  1183. package/lib/typescript/ui/hooks/index.d.ts +5 -0
  1184. package/lib/typescript/ui/hooks/index.d.ts.map +1 -0
  1185. package/lib/typescript/ui/hooks/mutations/index.d.ts +9 -0
  1186. package/lib/typescript/ui/hooks/mutations/index.d.ts.map +1 -0
  1187. package/lib/typescript/ui/hooks/mutations/useAccountMutations.d.ts +44 -0
  1188. package/lib/typescript/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -0
  1189. package/lib/typescript/ui/hooks/mutations/useServicesMutations.d.ts +23 -0
  1190. package/lib/typescript/ui/hooks/mutations/useServicesMutations.d.ts.map +1 -0
  1191. package/lib/typescript/ui/hooks/queries/index.d.ts +11 -0
  1192. package/lib/typescript/ui/hooks/queries/index.d.ts.map +1 -0
  1193. package/lib/typescript/ui/hooks/queries/queryKeys.d.ts +65 -0
  1194. package/lib/typescript/ui/hooks/queries/queryKeys.d.ts.map +1 -0
  1195. package/lib/typescript/ui/hooks/queries/useAccountQueries.d.ts +47 -0
  1196. package/lib/typescript/ui/hooks/queries/useAccountQueries.d.ts.map +1 -0
  1197. package/lib/typescript/ui/hooks/queries/useSecurityQueries.d.ts +15 -0
  1198. package/lib/typescript/ui/hooks/queries/useSecurityQueries.d.ts.map +1 -0
  1199. package/lib/typescript/ui/hooks/queries/useServicesQueries.d.ts +34 -0
  1200. package/lib/typescript/ui/hooks/queries/useServicesQueries.d.ts.map +1 -0
  1201. package/lib/typescript/ui/hooks/queryClient.d.ts +19 -0
  1202. package/lib/typescript/ui/hooks/queryClient.d.ts.map +1 -0
  1203. package/lib/typescript/ui/hooks/use-color-scheme.d.ts +8 -0
  1204. package/lib/typescript/ui/hooks/use-color-scheme.d.ts.map +1 -0
  1205. package/lib/typescript/ui/hooks/use-haptic-press.d.ts +8 -0
  1206. package/lib/typescript/ui/hooks/use-haptic-press.d.ts.map +1 -0
  1207. package/lib/typescript/ui/hooks/useAssets.d.ts +35 -0
  1208. package/lib/typescript/ui/hooks/useAssets.d.ts.map +1 -0
  1209. package/lib/typescript/ui/hooks/useDeviceManagement.d.ts +27 -0
  1210. package/lib/typescript/ui/hooks/useDeviceManagement.d.ts.map +1 -0
  1211. package/lib/typescript/ui/hooks/useFileDownloadUrl.d.ts +19 -0
  1212. package/lib/typescript/ui/hooks/useFileDownloadUrl.d.ts.map +1 -0
  1213. package/lib/typescript/ui/hooks/useFollow.d.ts +62 -0
  1214. package/lib/typescript/ui/hooks/useFollow.d.ts.map +1 -0
  1215. package/lib/typescript/ui/hooks/useFollow.types.d.ts +33 -0
  1216. package/lib/typescript/ui/hooks/useFollow.types.d.ts.map +1 -0
  1217. package/lib/typescript/ui/hooks/useI18n.d.ts +5 -0
  1218. package/lib/typescript/ui/hooks/useI18n.d.ts.map +1 -0
  1219. package/lib/typescript/ui/hooks/useLanguageManagement.d.ts +25 -0
  1220. package/lib/typescript/ui/hooks/useLanguageManagement.d.ts.map +1 -0
  1221. package/lib/typescript/ui/hooks/useProfileEditing.d.ts +36 -0
  1222. package/lib/typescript/ui/hooks/useProfileEditing.d.ts.map +1 -0
  1223. package/lib/typescript/ui/hooks/useQueryClient.d.ts +7 -0
  1224. package/lib/typescript/ui/hooks/useQueryClient.d.ts.map +1 -0
  1225. package/lib/typescript/ui/hooks/useSessionManagement.d.ts +41 -0
  1226. package/lib/typescript/ui/hooks/useSessionManagement.d.ts.map +1 -0
  1227. package/lib/typescript/ui/hooks/useSessionSocket.d.ts +28 -0
  1228. package/lib/typescript/ui/hooks/useSessionSocket.d.ts.map +1 -0
  1229. package/lib/typescript/ui/hooks/useStorage.d.ts +22 -0
  1230. package/lib/typescript/ui/hooks/useStorage.d.ts.map +1 -0
  1231. package/lib/typescript/ui/hooks/useThemeColors.d.ts +94 -0
  1232. package/lib/typescript/ui/hooks/useThemeColors.d.ts.map +1 -0
  1233. package/lib/typescript/ui/hooks/useThemeStyles.d.ts +45 -0
  1234. package/lib/typescript/ui/hooks/useThemeStyles.d.ts.map +1 -0
  1235. package/lib/typescript/ui/index.d.ts +5 -0
  1236. package/lib/typescript/ui/index.d.ts.map +1 -0
  1237. package/lib/typescript/ui/isFrontend.d.ts +3 -0
  1238. package/lib/typescript/ui/isFrontend.d.ts.map +1 -0
  1239. package/lib/typescript/ui/navigation/bottomSheetManager.d.ts +74 -0
  1240. package/lib/typescript/ui/navigation/bottomSheetManager.d.ts.map +1 -0
  1241. package/lib/typescript/ui/navigation/routes.d.ts +6 -0
  1242. package/lib/typescript/ui/navigation/routes.d.ts.map +1 -0
  1243. package/lib/typescript/ui/screens/AccountCenterScreen.d.ts +5 -0
  1244. package/lib/typescript/ui/screens/AccountCenterScreen.d.ts.map +1 -0
  1245. package/lib/typescript/ui/screens/AccountOverviewScreen.d.ts +5 -0
  1246. package/lib/typescript/ui/screens/AccountOverviewScreen.d.ts.map +1 -0
  1247. package/lib/typescript/ui/screens/AccountSettingsScreen.d.ts +8 -0
  1248. package/lib/typescript/ui/screens/AccountSettingsScreen.d.ts.map +1 -0
  1249. package/lib/typescript/ui/screens/AccountSwitcherScreen.d.ts +5 -0
  1250. package/lib/typescript/ui/screens/AccountSwitcherScreen.d.ts.map +1 -0
  1251. package/lib/typescript/ui/screens/AccountVerificationScreen.d.ts +5 -0
  1252. package/lib/typescript/ui/screens/AccountVerificationScreen.d.ts.map +1 -0
  1253. package/lib/typescript/ui/screens/AppInfoScreen.d.ts +5 -0
  1254. package/lib/typescript/ui/screens/AppInfoScreen.d.ts.map +1 -0
  1255. package/lib/typescript/ui/screens/FeedbackScreen.d.ts +5 -0
  1256. package/lib/typescript/ui/screens/FeedbackScreen.d.ts.map +1 -0
  1257. package/lib/typescript/ui/screens/FileManagementScreen.d.ts +5 -0
  1258. package/lib/typescript/ui/screens/FileManagementScreen.d.ts.map +1 -0
  1259. package/lib/typescript/ui/screens/HelpSupportScreen.d.ts +5 -0
  1260. package/lib/typescript/ui/screens/HelpSupportScreen.d.ts.map +1 -0
  1261. package/lib/typescript/ui/screens/HistoryViewScreen.d.ts +5 -0
  1262. package/lib/typescript/ui/screens/HistoryViewScreen.d.ts.map +1 -0
  1263. package/lib/typescript/ui/screens/LanguageSelectorScreen.d.ts +7 -0
  1264. package/lib/typescript/ui/screens/LanguageSelectorScreen.d.ts.map +1 -0
  1265. package/lib/typescript/ui/screens/LegalDocumentsScreen.d.ts +5 -0
  1266. package/lib/typescript/ui/screens/LegalDocumentsScreen.d.ts.map +1 -0
  1267. package/lib/typescript/ui/screens/OxyAuthScreen.d.ts +17 -0
  1268. package/lib/typescript/ui/screens/OxyAuthScreen.d.ts.map +1 -0
  1269. package/lib/typescript/ui/screens/PaymentGatewayScreen.d.ts +27 -0
  1270. package/lib/typescript/ui/screens/PaymentGatewayScreen.d.ts.map +1 -0
  1271. package/lib/typescript/ui/screens/PremiumSubscriptionScreen.d.ts +5 -0
  1272. package/lib/typescript/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -0
  1273. package/lib/typescript/ui/screens/PrivacySettingsScreen.d.ts +5 -0
  1274. package/lib/typescript/ui/screens/PrivacySettingsScreen.d.ts.map +1 -0
  1275. package/lib/typescript/ui/screens/ProfileScreen.d.ts +9 -0
  1276. package/lib/typescript/ui/screens/ProfileScreen.d.ts.map +1 -0
  1277. package/lib/typescript/ui/screens/SavesCollectionsScreen.d.ts +5 -0
  1278. package/lib/typescript/ui/screens/SavesCollectionsScreen.d.ts.map +1 -0
  1279. package/lib/typescript/ui/screens/SearchSettingsScreen.d.ts +5 -0
  1280. package/lib/typescript/ui/screens/SearchSettingsScreen.d.ts.map +1 -0
  1281. package/lib/typescript/ui/screens/SessionManagementScreen.d.ts +5 -0
  1282. package/lib/typescript/ui/screens/SessionManagementScreen.d.ts.map +1 -0
  1283. package/lib/typescript/ui/screens/UserLinksScreen.d.ts +15 -0
  1284. package/lib/typescript/ui/screens/UserLinksScreen.d.ts.map +1 -0
  1285. package/lib/typescript/ui/screens/WelcomeNewUserScreen.d.ts +13 -0
  1286. package/lib/typescript/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -0
  1287. package/lib/typescript/ui/screens/karma/KarmaAboutScreen.d.ts +5 -0
  1288. package/lib/typescript/ui/screens/karma/KarmaAboutScreen.d.ts.map +1 -0
  1289. package/lib/typescript/ui/screens/karma/KarmaCenterScreen.d.ts +5 -0
  1290. package/lib/typescript/ui/screens/karma/KarmaCenterScreen.d.ts.map +1 -0
  1291. package/lib/typescript/ui/screens/karma/KarmaFAQScreen.d.ts +5 -0
  1292. package/lib/typescript/ui/screens/karma/KarmaFAQScreen.d.ts.map +1 -0
  1293. package/lib/typescript/ui/screens/karma/KarmaLeaderboardScreen.d.ts +5 -0
  1294. package/lib/typescript/ui/screens/karma/KarmaLeaderboardScreen.d.ts.map +1 -0
  1295. package/lib/typescript/ui/screens/karma/KarmaRewardsScreen.d.ts +5 -0
  1296. package/lib/typescript/ui/screens/karma/KarmaRewardsScreen.d.ts.map +1 -0
  1297. package/lib/typescript/ui/screens/karma/KarmaRulesScreen.d.ts +5 -0
  1298. package/lib/typescript/ui/screens/karma/KarmaRulesScreen.d.ts.map +1 -0
  1299. package/lib/typescript/ui/stores/accountStore.d.ts +34 -0
  1300. package/lib/typescript/ui/stores/accountStore.d.ts.map +1 -0
  1301. package/lib/typescript/ui/stores/assetStore.d.ts +54 -0
  1302. package/lib/typescript/ui/stores/assetStore.d.ts.map +1 -0
  1303. package/lib/typescript/ui/stores/authStore.d.ts +21 -0
  1304. package/lib/typescript/ui/stores/authStore.d.ts.map +1 -0
  1305. package/lib/typescript/ui/stores/fileStore.d.ts +31 -0
  1306. package/lib/typescript/ui/stores/fileStore.d.ts.map +1 -0
  1307. package/lib/typescript/ui/stores/followStore.d.ts +25 -0
  1308. package/lib/typescript/ui/stores/followStore.d.ts.map +1 -0
  1309. package/lib/typescript/ui/styles/authStyles.d.ts +332 -0
  1310. package/lib/typescript/ui/styles/authStyles.d.ts.map +1 -0
  1311. package/lib/typescript/ui/styles/fonts.d.ts +21 -0
  1312. package/lib/typescript/ui/styles/fonts.d.ts.map +1 -0
  1313. package/lib/typescript/ui/styles/index.d.ts +5 -0
  1314. package/lib/typescript/ui/styles/index.d.ts.map +1 -0
  1315. package/lib/typescript/ui/styles/spacing.d.ts +49 -0
  1316. package/lib/typescript/ui/styles/spacing.d.ts.map +1 -0
  1317. package/lib/typescript/ui/styles/theme.d.ts +68 -0
  1318. package/lib/typescript/ui/styles/theme.d.ts.map +1 -0
  1319. package/lib/typescript/ui/types/fileManagement.d.ts +41 -0
  1320. package/lib/typescript/ui/types/fileManagement.d.ts.map +1 -0
  1321. package/lib/typescript/ui/types/navigation.d.ts +36 -0
  1322. package/lib/typescript/ui/types/navigation.d.ts.map +1 -0
  1323. package/lib/typescript/ui/utils/avatarUtils.d.ts +34 -0
  1324. package/lib/typescript/ui/utils/avatarUtils.d.ts.map +1 -0
  1325. package/lib/typescript/ui/utils/colorUtils.d.ts +14 -0
  1326. package/lib/typescript/ui/utils/colorUtils.d.ts.map +1 -0
  1327. package/lib/typescript/ui/utils/confirmAction.d.ts +7 -0
  1328. package/lib/typescript/ui/utils/confirmAction.d.ts.map +1 -0
  1329. package/lib/typescript/ui/utils/errorHandlers.d.ts +35 -0
  1330. package/lib/typescript/ui/utils/errorHandlers.d.ts.map +1 -0
  1331. package/lib/typescript/ui/utils/fileManagement.d.ts +87 -0
  1332. package/lib/typescript/ui/utils/fileManagement.d.ts.map +1 -0
  1333. package/lib/typescript/ui/utils/sessionHelpers.d.ts +59 -0
  1334. package/lib/typescript/ui/utils/sessionHelpers.d.ts.map +1 -0
  1335. package/lib/typescript/ui/utils/storageHelpers.d.ts +31 -0
  1336. package/lib/typescript/ui/utils/storageHelpers.d.ts.map +1 -0
  1337. package/lib/typescript/ui/utils/themeUtils.d.ts +24 -0
  1338. package/lib/typescript/ui/utils/themeUtils.d.ts.map +1 -0
  1339. package/lib/typescript/ui/utils/user-utils.d.ts +29 -0
  1340. package/lib/typescript/ui/utils/user-utils.d.ts.map +1 -0
  1341. package/lib/typescript/utils/apiUtils.d.ts +54 -0
  1342. package/lib/typescript/utils/apiUtils.d.ts.map +1 -0
  1343. package/lib/typescript/utils/asyncUtils.d.ts +59 -0
  1344. package/lib/typescript/utils/asyncUtils.d.ts.map +1 -0
  1345. package/lib/typescript/utils/cache.d.ts +128 -0
  1346. package/lib/typescript/utils/cache.d.ts.map +1 -0
  1347. package/lib/typescript/utils/deviceManager.d.ts +66 -0
  1348. package/lib/typescript/utils/deviceManager.d.ts.map +1 -0
  1349. package/lib/typescript/utils/errorUtils.d.ts +53 -0
  1350. package/lib/typescript/utils/errorUtils.d.ts.map +1 -0
  1351. package/lib/typescript/utils/hookUtils.d.ts +102 -0
  1352. package/lib/typescript/utils/hookUtils.d.ts.map +1 -0
  1353. package/lib/typescript/utils/index.d.ts +7 -0
  1354. package/lib/typescript/utils/index.d.ts.map +1 -0
  1355. package/lib/typescript/utils/languageUtils.d.ts +38 -0
  1356. package/lib/typescript/utils/languageUtils.d.ts.map +1 -0
  1357. package/lib/typescript/utils/loggerUtils.d.ts +49 -0
  1358. package/lib/typescript/utils/loggerUtils.d.ts.map +1 -0
  1359. package/lib/typescript/utils/requestUtils.d.ts +122 -0
  1360. package/lib/typescript/utils/requestUtils.d.ts.map +1 -0
  1361. package/lib/typescript/utils/sessionUtils.d.ts +55 -0
  1362. package/lib/typescript/utils/sessionUtils.d.ts.map +1 -0
  1363. package/lib/typescript/utils/validationUtils.d.ts +86 -0
  1364. package/lib/typescript/utils/validationUtils.d.ts.map +1 -0
  1365. package/package.json +1 -1
  1366. package/src/core/mixins/OxyServices.user.ts +14 -4
  1367. package/src/ui/context/OxyContext.tsx +40 -75
  1368. package/src/ui/hooks/mutations/useAccountMutations.ts +8 -6
  1369. package/src/ui/hooks/queries/useAccountQueries.ts +4 -2
  1370. package/src/ui/hooks/useSessionSocket.ts +156 -153
  1371. package/src/ui/screens/PrivacySettingsScreen.tsx +12 -6
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactNativeGestureHandler","_reactNativeKeyboardController","_reactNativeReanimated","_reactNativeSafeAreaContext","_useThemeColors","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","width","SCREEN_WIDTH","height","SCREEN_HEIGHT","Dimensions","SPRING_CONFIG","damping","stiffness","mass","BottomSheet","forwardRef","props","ref","children","onDismiss","enablePanDownToClose","backgroundComponent","backdropComponent","style","enableHandlePanningGesture","onDismissAttempt","detached","insets","useSafeAreaInsets","colors","useThemeColors","visible","setVisible","useState","rendered","setRendered","closeTimeoutRef","useRef","hasClosedRef","scrollViewRef","translateY","useSharedValue","opacity","scrollOffsetY","isScrollAtTop","allowPanClose","keyboardHeight","context","y","useKeyboardHandler","onMove","value","onEnd","safeClose","finishClose","useCallback","current","useEffect","clearTimeout","withTiming","duration","withSpring","finished","runOnJS","setTimeout","Platform","OS","createWebScrollbarStyle","border","present","dismiss","scrollTo","animated","useImperativeHandle","close","expand","collapse","nativeGesture","useMemo","Gesture","Native","panGesture","Pan","enabled","simultaneousWithExternalGesture","onStart","onUpdate","event","newTranslateY","translationY","atTopOrNearTop","velocity","velocityY","distance","closeThreshold","Math","max","fastSwipeThreshold","shouldClose","backdropStyle","useAnimatedStyle","sheetStyle","scale","interpolate","transform","sheetHeightStyle","maxHeight","top","bottom","sheetMarginStyle","marginBottom","handleBackdropPress","scrollHandler","useAnimatedScrollHandler","onScroll","contentOffset","dynamicStyles","isDark","background","StyleSheet","create","handle","styles","backgroundColor","sheet","sheetDetached","sheetNormal","scrollContent","jsx","Modal","transparent","animationType","statusBarTranslucent","onRequestClose","jsxs","GestureHandlerRootView","absoluteFill","View","backdrop","onPress","Pressable","backdropTouchable","GestureDetector","gesture","ScrollView","scrollView","scrollbarWidth","scrollbarColor","contentContainerStyle","showsVerticalScrollIndicator","keyboardShouldPersistTaps","scrollEventThrottle","className","undefined","onLayout","displayName","flex","position","overflow","maxWidth","alignSelf","marginHorizontal","left","right","borderRadius","borderTopLeftRadius","borderTopRightRadius","marginLeft","zIndex","absoluteFillObject","flexGrow","borderColor","document","styleId","styleElement","getElementById","createElement","id","head","appendChild","scrollbarHoverColor","textContent","_default","exports"],"sourceRoot":"../../../../src","sources":["ui/components/BottomSheet.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAWA,IAAAE,0BAAA,GAAAF,OAAA;AACA,IAAAG,8BAAA,GAAAH,OAAA;AACA,IAAAI,sBAAA,GAAAL,uBAAA,CAAAC,OAAA;AASA,IAAAK,2BAAA,GAAAL,OAAA;AACA,IAAAM,eAAA,GAAAN,OAAA;AAAyD,IAAAO,WAAA,GAAAP,OAAA;AAAA,SAAAD,wBAAAS,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAX,uBAAA,YAAAA,CAAAS,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA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AAE;IACR,GAAGC,uBAAU,CAACkD;EAClB,CAAC;EACDxB,UAAU,EAAE;IACRW,IAAI,EAAE;EACV,CAAC;EACD7B,aAAa,EAAE;IACX2C,QAAQ,EAAE;EACd;AACJ,CAAC,CAAC;;AAEF;AACA,MAAMvG,uBAAuB,GAAIwG,WAAmB,IAAK;EACrD,IAAI1G,qBAAQ,CAACC,EAAE,KAAK,KAAK,IAAI,OAAO0G,QAAQ,KAAK,WAAW,EAAE;EAE9D,MAAMC,OAAO,GAAG,8BAA8B;EAC9C,IAAIC,YAAY,GAAGF,QAAQ,CAACG,cAAc,CAACF,OAAO,CAAqB;EAEvE,IAAI,CAACC,YAAY,EAAE;IACfA,YAAY,GAAGF,QAAQ,CAACI,aAAa,CAAC,OAAO,CAAC;IAC9CF,YAAY,CAACG,EAAE,GAAGJ,OAAO;IACzBD,QAAQ,CAACM,IAAI,CAACC,WAAW,CAACL,YAAY,CAAC;EAC3C;;EAEA;EACA,MAAM3B,cAAc,GAAGwB,WAAW;EAClC,MAAMS,mBAAmB,GAAGT,WAAW,KAAK,SAAS,GAAG,SAAS,GAAG,MAAM;EAE1EG,YAAY,CAACO,WAAW,GAAG;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0BAA0BlC,cAAc;AACxC;AACA;AACA;AACA,0BAA0BiC,mBAAmB;AAC7C;AACA,KAAK;AACL,CAAC;AAAC,IAAAE,QAAA,GAAAC,OAAA,CAAA3L,OAAA,GAEakB,WAAW","ignoreList":[]}
@@ -0,0 +1,366 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ Object.defineProperty(exports, "subscribeToBottomSheetState", {
8
+ enumerable: true,
9
+ get: function () {
10
+ return _bottomSheetManager.subscribeToBottomSheetState;
11
+ }
12
+ });
13
+ var _react = _interopRequireWildcard(require("react"));
14
+ var _reactNative = require("react-native");
15
+ var _reactNativeReanimated = _interopRequireWildcard(require("react-native-reanimated"));
16
+ var _zustand = require("zustand");
17
+ var _routes = require("../navigation/routes");
18
+ var _useColorScheme = require("../hooks/use-color-scheme");
19
+ var _theme = require("../constants/theme");
20
+ var _BottomSheet = _interopRequireDefault(require("./BottomSheet"));
21
+ var _bottomSheetManager = require("../navigation/bottomSheetManager");
22
+ var _jsxRuntime = require("react/jsx-runtime");
23
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
24
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
25
+ // Re-export types for backward compatibility
26
+
27
+ // Re-export BottomSheetRef for backward compatibility
28
+
29
+ /**
30
+ * BottomSheetRouter - Manages navigation within bottom sheet modals
31
+ *
32
+ * Uses custom BottomSheet component built with react-native-reanimated v4.
33
+ * State is managed by bottomSheetManager (single source of truth).
34
+ *
35
+ * Features:
36
+ * - Screen navigation with history stack
37
+ * - Step-based navigation for multi-step screens
38
+ * - Android back button handling
39
+ * - Minimal props passing (screens use useOxy() for context)
40
+ */
41
+ // Animated screen container for smooth transitions
42
+ const AnimatedScreenContainer = ({
43
+ children,
44
+ fadeAnim,
45
+ scaleAnim,
46
+ screenKey
47
+ }) => {
48
+ const animatedStyle = (0, _reactNativeReanimated.useAnimatedStyle)(() => ({
49
+ opacity: fadeAnim.value,
50
+ transform: [{
51
+ scale: scaleAnim.value
52
+ }]
53
+ }));
54
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeReanimated.default.View, {
55
+ style: [{
56
+ flexShrink: 1
57
+ }, animatedStyle],
58
+ children: children
59
+ }, screenKey);
60
+ };
61
+ const BottomSheetRouterComponent = ({
62
+ onScreenChange,
63
+ onDismiss
64
+ }) => {
65
+ const bottomSheetRef = (0, _react.useRef)(null);
66
+ const colorScheme = (0, _useColorScheme.useColorScheme)();
67
+ const colors = _theme.Colors[colorScheme ?? 'light'];
68
+
69
+ // Animation values for screen transitions
70
+ const fadeAnim = (0, _reactNativeReanimated.useSharedValue)(1);
71
+ const scaleAnim = (0, _reactNativeReanimated.useSharedValue)(1);
72
+ const previousScreenRef = (0, _react.useRef)(null);
73
+ const isTransitioningRef = (0, _react.useRef)(false);
74
+
75
+ // Create stable ref object for manager compatibility
76
+ // Manager expects: { current: { present: () => void; dismiss: () => void } | null } | null
77
+ const managerRefObject = (0, _react.useRef)({
78
+ current: {
79
+ present: () => bottomSheetRef.current?.present(),
80
+ dismiss: () => bottomSheetRef.current?.dismiss()
81
+ }
82
+ });
83
+
84
+ // Single source of truth - subscribe to manager state using Zustand
85
+ const state = (0, _zustand.useStore)(_bottomSheetManager.bottomSheetStore);
86
+
87
+ // Animate screen transition when screen changes
88
+ const animateScreenTransition = (0, _react.useCallback)((newScreen, newState) => {
89
+ // ... implementation uses newState which comes from the store ...
90
+ // We can just rely on the re-render from useStore, no need to manually set local state
91
+ // However, the animation logic relied on queueing state updates.
92
+ // Let's adapt it.
93
+ onScreenChange?.(newScreen);
94
+
95
+ // Note: The original logic tried to defer the state update (setState) until animation completed.
96
+ // With Zustand, the global state is already updated.
97
+ // The animation logic needs to react to the state change.
98
+
99
+ // Since useStore forces a re-render with the NEW state, we are already "in" the new state.
100
+ // To animate "out" the old screen, we would need to have captured the previous screen
101
+ // before the re-render, OR we accept that the transition might be slightly different.
102
+
103
+ // Actually, the original logic had `setState` to control when the UI updates.
104
+ // With global store, the UI updates immediately.
105
+ // For now, let's trust the re-render. If animation is jerky, we can revisit.
106
+ // But wait, the original logic:
107
+ // 1. Check if transitioning. If so, wait.
108
+ // 2. If valid change, start exit animation -> then update local state -> then enter animation.
109
+
110
+ // With Zustand, we can't "delay" the state update because it's global.
111
+ // So `state` (from useStore) is ALREADY the new state.
112
+ // We need to detect that `state.currentScreen` changed from our `previousScreenRef`.
113
+ }, [onScreenChange]);
114
+
115
+ // Handle screen transitions based on state changes
116
+ (0, _react.useEffect)(() => {
117
+ const newScreen = state.currentScreen;
118
+ const previousScreen = previousScreenRef.current;
119
+ const isScreenChange = previousScreen !== null && previousScreen !== newScreen && newScreen !== null;
120
+ if (isScreenChange) {
121
+ // Logic to handle transition...
122
+ // Since we are already re-rendered with new state, we might see a flash of new content.
123
+ // Ideally we shouldn't have updated the global store until animation started...
124
+ // BUT `bottomSheetManager` updates the store immediately.
125
+
126
+ // For this fix, let's keep it simple: Just update the refs.
127
+ // The complex animation logic in the original file was trying to bridge imperative calls with React state.
128
+
129
+ previousScreenRef.current = newScreen;
130
+ } else if (previousScreen === null && newScreen !== null) {
131
+ // Opening first time
132
+ fadeAnim.value = 1;
133
+ scaleAnim.value = 1;
134
+ previousScreenRef.current = newScreen;
135
+ onScreenChange?.(newScreen);
136
+ } else {
137
+ previousScreenRef.current = newScreen;
138
+ }
139
+ (0, _bottomSheetManager.setBottomSheetRef)(managerRefObject.current);
140
+ }, [state.currentScreen, onScreenChange, fadeAnim, scaleAnim]);
141
+
142
+ // Clean up on unmount
143
+ (0, _react.useEffect)(() => {
144
+ return () => {
145
+ (0, _bottomSheetManager.setBottomSheetRef)(null);
146
+ };
147
+ }, []);
148
+
149
+ // Handle explicit dismiss - only update state, don't call dismiss again
150
+ const handleDismiss = (0, _react.useCallback)(() => {
151
+ // Only update state, don't call dismiss() as it's already being dismissed
152
+ (0, _bottomSheetManager.updateBottomSheetState)({
153
+ currentScreen: null,
154
+ screenProps: {},
155
+ currentStep: undefined,
156
+ navigationHistory: [],
157
+ isOpen: false
158
+ });
159
+ onDismiss?.();
160
+ }, [onDismiss]);
161
+
162
+ // Get current screen component (lazy-loaded)
163
+ const ScreenComponent = state.currentScreen ? (0, _routes.getScreenComponent)(state.currentScreen) : null;
164
+
165
+ // Navigation handler - validates route and updates manager state
166
+ // For step-based screens, step changes are treated as navigation events (added to history)
167
+ const navigate = (0, _react.useCallback)((screen, props) => {
168
+ if (!(0, _routes.isValidRoute)(screen)) {
169
+ if (__DEV__) {
170
+ console.warn(`[BottomSheetRouter] Invalid route: ${screen}`);
171
+ }
172
+ return;
173
+ }
174
+ const isSameScreen = screen === state.currentScreen;
175
+ const newStep = typeof props?.initialStep === 'number' ? props.initialStep : undefined;
176
+ const currentStep = state.currentStep ?? (typeof state.screenProps?.initialStep === 'number' ? state.screenProps.initialStep : undefined);
177
+
178
+ // For step-based screens: if same screen but different step, treat as navigation (add to history)
179
+ // This allows step navigation to be handled by router with animations
180
+ const isStepChange = isSameScreen && newStep !== undefined && newStep !== currentStep;
181
+ (0, _bottomSheetManager.managerShowBottomSheet)(screen, props, {
182
+ addToHistory: !isSameScreen || isStepChange // Add to history if different screen OR step change
183
+ });
184
+ }, [state.currentScreen, state.currentStep, state.screenProps]);
185
+
186
+ // Step change handler for step-based screens
187
+ // This is called by StepBasedScreen to notify router of step changes
188
+ // The router now handles step navigation through navigate/goBack, so this is mainly for compatibility
189
+ const handleStepChange = (0, _react.useCallback)((step, _totalSteps) => {
190
+ // Step changes are now handled through navigate/goBack, but we still update currentStep
191
+ // for screens that might query it directly
192
+ if (state.currentScreen) {
193
+ (0, _bottomSheetManager.updateBottomSheetState)({
194
+ currentStep: step,
195
+ screenProps: {
196
+ ...state.screenProps,
197
+ initialStep: step
198
+ }
199
+ });
200
+ }
201
+ }, [state.currentScreen, state.screenProps]);
202
+
203
+ // Check if the bottom sheet can be dismissed (no navigation history or steps to go back to)
204
+ const canDismiss = (0, _react.useCallback)(() => {
205
+ // Use global state to avoid stale closures during transitions
206
+ const currentState = (0, _bottomSheetManager.getBottomSheetState)();
207
+
208
+ // Check if there's navigation history
209
+ if (currentState.navigationHistory.length > 0) {
210
+ return false;
211
+ }
212
+
213
+ // Check if there are steps to go back to
214
+ const initialStep = typeof currentState.screenProps?.initialStep === 'number' ? currentState.screenProps.initialStep : undefined;
215
+ const currentStep = currentState.currentStep ?? initialStep ?? 0;
216
+ const isStepBased = initialStep !== undefined || currentState.currentStep !== undefined;
217
+ if (isStepBased && typeof currentStep === 'number' && currentStep > 0) {
218
+ return false;
219
+ }
220
+
221
+ // No history and on step 0 (or not step-based) - can dismiss
222
+ return true;
223
+ }, []);
224
+
225
+ // Go back handler with priority:
226
+ // 1. Screen history (navigate to previous screen)
227
+ // 2. Step navigation (navigate to previous step)
228
+ // 3. Close sheet (no history/step available)
229
+ const goBack = (0, _react.useCallback)(() => {
230
+ // Use global state to avoid stale closures during transitions
231
+ const currentState = (0, _bottomSheetManager.getBottomSheetState)();
232
+
233
+ // Priority 1: Screen history
234
+ if (currentState.navigationHistory.length > 0) {
235
+ const wentBack = (0, _bottomSheetManager.managerGoBack)();
236
+ if (wentBack) {
237
+ return true;
238
+ }
239
+ }
240
+
241
+ // Priority 2: Step navigation
242
+ const initialStep = typeof currentState.screenProps?.initialStep === 'number' ? currentState.screenProps.initialStep : undefined;
243
+ const currentStep = currentState.currentStep ?? initialStep ?? 0;
244
+ const isStepBased = initialStep !== undefined || currentState.currentStep !== undefined;
245
+ if (isStepBased && typeof currentStep === 'number' && currentStep > 0) {
246
+ const previousStep = currentStep - 1;
247
+ (0, _bottomSheetManager.updateBottomSheetState)({
248
+ screenProps: {
249
+ ...currentState.screenProps,
250
+ initialStep: previousStep
251
+ },
252
+ currentStep: previousStep
253
+ });
254
+ return true;
255
+ }
256
+
257
+ // Priority 3: Close sheet
258
+ (0, _bottomSheetManager.managerCloseBottomSheet)();
259
+ return true;
260
+ }, []);
261
+
262
+ // Android hardware back button handler
263
+ (0, _react.useEffect)(() => {
264
+ if (!state.isOpen) {
265
+ return;
266
+ }
267
+ const backHandler = _reactNative.BackHandler.addEventListener('hardwareBackPress', () => {
268
+ return goBack();
269
+ });
270
+ return () => {
271
+ backHandler.remove();
272
+ };
273
+ }, [state.isOpen, goBack]);
274
+
275
+ // Present modal when state changes to open
276
+ // This must be before any early returns to follow rules of hooks
277
+ (0, _react.useEffect)(() => {
278
+ if (state.isOpen && bottomSheetRef.current) {
279
+ bottomSheetRef.current.present();
280
+ }
281
+ }, [state.isOpen]);
282
+
283
+ // Minimal screen props - only navigation-specific
284
+ // Screens should use useOxy() hook for OxyContext values (user, sessions, etc.)
285
+ // Calculate initialStep first, ensuring it's always a number or undefined
286
+ const calculatedInitialStep = typeof state.currentStep === 'number' ? state.currentStep : typeof state.screenProps?.initialStep === 'number' ? state.screenProps.initialStep : undefined;
287
+
288
+ // Extract screenProps without initialStep to avoid conflicts
289
+ const {
290
+ initialStep: _,
291
+ ...otherScreenProps
292
+ } = state.screenProps;
293
+ const scrollTo = (0, _react.useCallback)((y, animated) => {
294
+ bottomSheetRef.current?.scrollTo(y, animated);
295
+ }, []);
296
+ const screenProps = {
297
+ navigate,
298
+ goBack,
299
+ onClose: () => (0, _bottomSheetManager.managerCloseBottomSheet)(),
300
+ onAuthenticated: () => (0, _bottomSheetManager.managerCloseBottomSheet)(),
301
+ theme: colorScheme ?? 'light',
302
+ currentScreen: state.currentScreen ?? undefined,
303
+ initialStep: calculatedInitialStep,
304
+ onStepChange: handleStepChange,
305
+ scrollTo,
306
+ // Pass scrollTo method
307
+ ...otherScreenProps
308
+ };
309
+
310
+ // renderBackground must be called before any conditional returns (React hooks rule)
311
+ const renderBackground = (0, _react.useCallback)(props => /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
312
+ style: [styles.background, {
313
+ backgroundColor: colors.background
314
+ }, props.style]
315
+ }), [colors.background]);
316
+
317
+ // Handle dismissal attempt - check if we can dismiss or need to go back
318
+ const handleDismissAttempt = (0, _react.useCallback)(() => {
319
+ if (!canDismiss()) {
320
+ // There's navigation history or steps to go back to - navigate back instead
321
+ goBack();
322
+ return false; // Prevent dismissal
323
+ }
324
+ // No history or steps - allow dismissal
325
+ return true;
326
+ }, [canDismiss, goBack]);
327
+
328
+ // Don't render if no screen is set
329
+ if (!ScreenComponent || !state.currentScreen) {
330
+ return null;
331
+ }
332
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_BottomSheet.default, {
333
+ ref: bottomSheetRef,
334
+ enablePanDownToClose: true,
335
+ backgroundComponent: renderBackground,
336
+ enableHandlePanningGesture: true,
337
+ style: styles.container,
338
+ onDismiss: handleDismiss,
339
+ onDismissAttempt: handleDismissAttempt,
340
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(AnimatedScreenContainer, {
341
+ fadeAnim: fadeAnim,
342
+ scaleAnim: scaleAnim,
343
+ screenKey: state.currentScreen,
344
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(ScreenComponent, {
345
+ ...screenProps
346
+ })
347
+ })
348
+ });
349
+ };
350
+ const BottomSheetRouter = /*#__PURE__*/_react.default.memo(BottomSheetRouterComponent);
351
+ BottomSheetRouter.displayName = 'BottomSheetRouter';
352
+ const styles = _reactNative.StyleSheet.create({
353
+ container: {
354
+ maxWidth: 800,
355
+ width: '100%',
356
+ alignSelf: 'center',
357
+ marginHorizontal: 'auto'
358
+ },
359
+ background: {
360
+ borderTopLeftRadius: 20,
361
+ borderTopRightRadius: 20,
362
+ overflow: 'hidden'
363
+ }
364
+ });
365
+ var _default = exports.default = BottomSheetRouter;
366
+ //# sourceMappingURL=BottomSheetRouter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactNativeReanimated","_zustand","_routes","_useColorScheme","_theme","_BottomSheet","_interopRequireDefault","_bottomSheetManager","_jsxRuntime","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","AnimatedScreenContainer","children","fadeAnim","scaleAnim","screenKey","animatedStyle","useAnimatedStyle","opacity","value","transform","scale","jsx","View","style","flexShrink","BottomSheetRouterComponent","onScreenChange","onDismiss","bottomSheetRef","useRef","colorScheme","useColorScheme","colors","Colors","useSharedValue","previousScreenRef","isTransitioningRef","managerRefObject","current","present","dismiss","state","useStore","bottomSheetStore","animateScreenTransition","useCallback","newScreen","newState","useEffect","currentScreen","previousScreen","isScreenChange","setManagerRef","handleDismiss","updateBottomSheetState","screenProps","currentStep","undefined","navigationHistory","isOpen","ScreenComponent","getScreenComponent","navigate","screen","props","isValidRoute","__DEV__","console","warn","isSameScreen","newStep","initialStep","isStepChange","managerShowBottomSheet","addToHistory","handleStepChange","step","_totalSteps","canDismiss","currentState","getBottomSheetState","length","isStepBased","goBack","wentBack","managerGoBack","previousStep","managerCloseBottomSheet","backHandler","BackHandler","addEventListener","remove","calculatedInitialStep","_","otherScreenProps","scrollTo","y","animated","onClose","onAuthenticated","theme","onStepChange","renderBackground","styles","background","backgroundColor","handleDismissAttempt","ref","enablePanDownToClose","backgroundComponent","enableHandlePanningGesture","container","onDismissAttempt","BottomSheetRouter","React","memo","displayName","StyleSheet","create","maxWidth","width","alignSelf","marginHorizontal","borderTopLeftRadius","borderTopRightRadius","overflow","_default","exports"],"sourceRoot":"../../../../src","sources":["ui/components/BottomSheetRouter.tsx"],"mappings":";;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,sBAAA,GAAAH,uBAAA,CAAAC,OAAA;AAOA,IAAAG,QAAA,GAAAH,OAAA;AAEA,IAAAI,OAAA,GAAAJ,OAAA;AAEA,IAAAK,eAAA,GAAAL,OAAA;AACA,IAAAM,MAAA,GAAAN,OAAA;AACA,IAAAO,YAAA,GAAAC,sBAAA,CAAAR,OAAA;AACA,IAAAS,mBAAA,GAAAT,OAAA;AAU0C,IAAAU,WAAA,GAAAV,OAAA;AAAA,SAAAQ,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAA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Q,EAAE,GAAG;IACbC,KAAK,EAAE,MAAM;IACbC,SAAS,EAAE,QAAQ;IACnBC,gBAAgB,EAAE;EACtB,CAAC;EACDlB,UAAU,EAAE;IACRmB,mBAAmB,EAAE,EAAE;IACvBC,oBAAoB,EAAE,EAAE;IACxBC,QAAQ,EAAE;EACd;AACJ,CAAC,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAtI,OAAA,GAEYwH,iBAAiB","ignoreList":[]}
@@ -0,0 +1,106 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var React = _interopRequireWildcard(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _Icon = _interopRequireWildcard(require("./Icon"));
10
+ var _theming = require("./theming");
11
+ var _jsxRuntime = require("react/jsx-runtime");
12
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
13
+ const CrossFadeIcon = ({
14
+ color,
15
+ size,
16
+ source,
17
+ theme: themeOverrides,
18
+ testID = 'cross-fade-icon'
19
+ }) => {
20
+ const theme = (0, _theming.useInternalTheme)(themeOverrides);
21
+ const [currentIcon, setCurrentIcon] = React.useState(() => source);
22
+ const [previousIcon, setPreviousIcon] = React.useState(null);
23
+ const {
24
+ current: fade
25
+ } = React.useRef(new _reactNative.Animated.Value(1));
26
+ const {
27
+ scale
28
+ } = theme.animation;
29
+ if (currentIcon !== source) {
30
+ setPreviousIcon(() => currentIcon);
31
+ setCurrentIcon(() => source);
32
+ }
33
+ React.useEffect(() => {
34
+ if ((0, _Icon.isValidIcon)(previousIcon) && !(0, _Icon.isEqualIcon)(previousIcon, currentIcon)) {
35
+ fade.setValue(1);
36
+ _reactNative.Animated.timing(fade, {
37
+ duration: scale * 200,
38
+ toValue: 0,
39
+ useNativeDriver: true
40
+ }).start();
41
+ }
42
+ }, [currentIcon, previousIcon, fade, scale]);
43
+ const opacityPrev = fade;
44
+ const opacityNext = previousIcon ? fade.interpolate({
45
+ inputRange: [0, 1],
46
+ outputRange: [1, 0]
47
+ }) : 1;
48
+ const rotatePrev = fade.interpolate({
49
+ inputRange: [0, 1],
50
+ outputRange: ['-90deg', '0deg']
51
+ });
52
+ const rotateNext = previousIcon ? fade.interpolate({
53
+ inputRange: [0, 1],
54
+ outputRange: ['0deg', '-180deg']
55
+ }) : '0deg';
56
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
57
+ style: [styles.content, {
58
+ height: size,
59
+ width: size
60
+ }],
61
+ children: [previousIcon ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Animated.View, {
62
+ style: [styles.icon, {
63
+ opacity: opacityPrev,
64
+ transform: [{
65
+ rotate: rotatePrev
66
+ }]
67
+ }],
68
+ testID: `${testID}-previous`,
69
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.default, {
70
+ source: previousIcon,
71
+ size: size,
72
+ color: color,
73
+ theme: theme
74
+ })
75
+ }) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Animated.View, {
76
+ style: [styles.icon, {
77
+ opacity: opacityNext,
78
+ transform: [{
79
+ rotate: rotateNext
80
+ }]
81
+ }],
82
+ testID: `${testID}-current`,
83
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.default, {
84
+ source: currentIcon,
85
+ size: size,
86
+ color: color,
87
+ theme: theme
88
+ })
89
+ })]
90
+ });
91
+ };
92
+ var _default = exports.default = CrossFadeIcon;
93
+ const styles = _reactNative.StyleSheet.create({
94
+ content: {
95
+ alignItems: 'center',
96
+ justifyContent: 'center'
97
+ },
98
+ icon: {
99
+ position: 'absolute',
100
+ top: 0,
101
+ left: 0,
102
+ right: 0,
103
+ bottom: 0
104
+ }
105
+ });
106
+ //# sourceMappingURL=CrossFadeIcon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","_interopRequireWildcard","require","_reactNative","_Icon","_theming","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","CrossFadeIcon","color","size","source","theme","themeOverrides","testID","useInternalTheme","currentIcon","setCurrentIcon","useState","previousIcon","setPreviousIcon","current","fade","useRef","Animated","Value","scale","animation","useEffect","isValidIcon","isEqualIcon","setValue","timing","duration","toValue","useNativeDriver","start","opacityPrev","opacityNext","interpolate","inputRange","outputRange","rotatePrev","rotateNext","jsxs","View","style","styles","content","height","width","children","jsx","icon","opacity","transform","rotate","_default","exports","StyleSheet","create","alignItems","justifyContent","position","top","left","right","bottom"],"sourceRoot":"../../../../src","sources":["ui/components/CrossFadeIcon.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,KAAA,GAAAH,uBAAA,CAAAC,OAAA;AACA,IAAAG,QAAA,GAAAH,OAAA;AAA6C,IAAAI,WAAA,GAAAJ,OAAA;AAAA,SAAAD,wBAAAM,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAR,uBAAA,YAAAA,CAAAM,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,i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,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE;EAClB,CAAC;EACDT,IAAI,EAAE;IACJU,QAAQ,EAAE,UAAU;IACpBC,GAAG,EAAE,CAAC;IACNC,IAAI,EAAE,CAAC;IACPC,KAAK,EAAE,CAAC;IACRC,MAAM,EAAE;EACV;AACF,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _jsxRuntime = require("react/jsx-runtime");
10
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
11
+ /**
12
+ * Reusable empty state component
13
+ * Provides consistent empty state displays across screens
14
+ */
15
+ const EmptyState = ({
16
+ message,
17
+ textColor
18
+ }) => {
19
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
20
+ style: styles.container,
21
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
22
+ style: [styles.message, textColor ? {
23
+ color: textColor
24
+ } : undefined],
25
+ children: message
26
+ })
27
+ });
28
+ };
29
+ const styles = _reactNative.StyleSheet.create({
30
+ container: {
31
+ padding: 40,
32
+ alignItems: 'center',
33
+ justifyContent: 'center'
34
+ },
35
+ message: {
36
+ fontSize: 16,
37
+ textAlign: 'center'
38
+ }
39
+ });
40
+ var _default = exports.default = /*#__PURE__*/_react.default.memo(EmptyState);
41
+ //# sourceMappingURL=EmptyState.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_jsxRuntime","e","__esModule","default","EmptyState","message","textColor","jsx","View","style","styles","container","children","Text","color","undefined","StyleSheet","create","padding","alignItems","justifyContent","fontSize","textAlign","_default","exports","React","memo"],"sourceRoot":"../../../../src","sources":["ui/components/EmptyState.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAAsD,IAAAE,WAAA,GAAAF,OAAA;AAAA,SAAAD,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAOtD;AACA;AACA;AACA;AACA,MAAMG,UAAqC,GAAGA,CAAC;EAC3CC,OAAO;EACPC;AACJ,CAAC,KAAK;EACF,oBACI,IAAAN,WAAA,CAAAO,GAAA,EAACR,YAAA,CAAAS,IAAI;IAACC,KAAK,EAAEC,MAAM,CAACC,SAAU;IAAAC,QAAA,eAC1B,IAAAZ,WAAA,CAAAO,GAAA,EAACR,YAAA,CAAAc,IAAI;MAACJ,KAAK,EAAE,CAACC,MAAM,CAACL,OAAO,EAAEC,SAAS,GAAG;QAAEQ,KAAK,EAAER;MAAU,CAAC,GAAGS,SAAS,CAAE;MAAAH,QAAA,EACvEP;IAAO,CACN;EAAC,CACL,CAAC;AAEf,CAAC;AAED,MAAMK,MAAM,GAAGM,uBAAU,CAACC,MAAM,CAAC;EAC7BN,SAAS,EAAE;IACPO,OAAO,EAAE,EAAE;IACXC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE;EACpB,CAAC;EACDf,OAAO,EAAE;IACLgB,QAAQ,EAAE,EAAE;IACZC,SAAS,EAAE;EACf;AACJ,CAAC,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAArB,OAAA,gBAEYsB,cAAK,CAACC,IAAI,CAACtB,UAAU,CAAC","ignoreList":[]}