@oxyhq/services 5.17.18 → 5.18.0

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 (238) hide show
  1. package/lib/commonjs/core/mixins/OxyServices.features.js +372 -0
  2. package/lib/commonjs/core/mixins/OxyServices.features.js.map +1 -0
  3. package/lib/commonjs/core/mixins/index.js +3 -2
  4. package/lib/commonjs/core/mixins/index.js.map +1 -1
  5. package/lib/commonjs/ui/components/GroupedItem.js +11 -1
  6. package/lib/commonjs/ui/components/GroupedItem.js.map +1 -1
  7. package/lib/commonjs/ui/components/SettingRow.js +17 -4
  8. package/lib/commonjs/ui/components/SettingRow.js.map +1 -1
  9. package/lib/commonjs/ui/components/feedback/FormInput.js +72 -0
  10. package/lib/commonjs/ui/components/feedback/FormInput.js.map +1 -0
  11. package/lib/commonjs/ui/components/feedback/ProgressIndicator.js +33 -0
  12. package/lib/commonjs/ui/components/feedback/ProgressIndicator.js.map +1 -0
  13. package/lib/commonjs/ui/components/feedback/constants.js +59 -0
  14. package/lib/commonjs/ui/components/feedback/constants.js.map +1 -0
  15. package/lib/commonjs/ui/components/feedback/feedbackStyles.js +262 -0
  16. package/lib/commonjs/ui/components/feedback/feedbackStyles.js.map +1 -0
  17. package/lib/commonjs/ui/components/feedback/index.js +54 -0
  18. package/lib/commonjs/ui/components/feedback/index.js.map +1 -0
  19. package/lib/commonjs/ui/components/feedback/types.js +6 -0
  20. package/lib/commonjs/ui/components/feedback/types.js.map +1 -0
  21. package/lib/commonjs/ui/components/feedback/useFeedbackForm.js +52 -0
  22. package/lib/commonjs/ui/components/feedback/useFeedbackForm.js.map +1 -0
  23. package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +282 -0
  24. package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -0
  25. package/lib/commonjs/ui/components/modals/index.js +14 -0
  26. package/lib/commonjs/ui/components/modals/index.js.map +1 -0
  27. package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +309 -0
  28. package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +1 -0
  29. package/lib/commonjs/ui/components/payment/PaymentMethodStep.js +79 -0
  30. package/lib/commonjs/ui/components/payment/PaymentMethodStep.js.map +1 -0
  31. package/lib/commonjs/ui/components/payment/PaymentReviewStep.js +108 -0
  32. package/lib/commonjs/ui/components/payment/PaymentReviewStep.js.map +1 -0
  33. package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js +79 -0
  34. package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js.map +1 -0
  35. package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js +176 -0
  36. package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js.map +1 -0
  37. package/lib/commonjs/ui/components/payment/constants.js +53 -0
  38. package/lib/commonjs/ui/components/payment/constants.js.map +1 -0
  39. package/lib/commonjs/ui/components/payment/index.js +80 -0
  40. package/lib/commonjs/ui/components/payment/index.js.map +1 -0
  41. package/lib/commonjs/ui/components/payment/paymentStyles.js +409 -0
  42. package/lib/commonjs/ui/components/payment/paymentStyles.js.map +1 -0
  43. package/lib/commonjs/ui/components/payment/types.js +6 -0
  44. package/lib/commonjs/ui/components/payment/types.js.map +1 -0
  45. package/lib/commonjs/ui/hooks/index.js +26 -0
  46. package/lib/commonjs/ui/hooks/index.js.map +1 -1
  47. package/lib/commonjs/ui/hooks/useAsyncAction.js +95 -0
  48. package/lib/commonjs/ui/hooks/useAsyncAction.js.map +1 -0
  49. package/lib/commonjs/ui/hooks/useSettingToggle.js +126 -0
  50. package/lib/commonjs/ui/hooks/useSettingToggle.js.map +1 -0
  51. package/lib/commonjs/ui/navigation/routes.js +1 -0
  52. package/lib/commonjs/ui/navigation/routes.js.map +1 -1
  53. package/lib/commonjs/ui/screens/AccountCenterScreen.js +4 -2
  54. package/lib/commonjs/ui/screens/AccountCenterScreen.js.map +1 -1
  55. package/lib/commonjs/ui/screens/AccountOverviewScreen.js +33 -30
  56. package/lib/commonjs/ui/screens/AccountOverviewScreen.js.map +1 -1
  57. package/lib/commonjs/ui/screens/FAQScreen.js +315 -0
  58. package/lib/commonjs/ui/screens/FAQScreen.js.map +1 -0
  59. package/lib/commonjs/ui/screens/FeedbackScreen.js +73 -590
  60. package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -1
  61. package/lib/commonjs/ui/screens/HelpSupportScreen.js +8 -7
  62. package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +1 -1
  63. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +67 -1395
  64. package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -1
  65. package/lib/commonjs/ui/screens/ProfileScreen.js +13 -5
  66. package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
  67. package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +16 -10
  68. package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +1 -1
  69. package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js +23 -11
  70. package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js.map +1 -1
  71. package/lib/module/core/mixins/OxyServices.features.js +369 -0
  72. package/lib/module/core/mixins/OxyServices.features.js.map +1 -0
  73. package/lib/module/core/mixins/index.js +3 -2
  74. package/lib/module/core/mixins/index.js.map +1 -1
  75. package/lib/module/ui/components/GroupedItem.js +11 -1
  76. package/lib/module/ui/components/GroupedItem.js.map +1 -1
  77. package/lib/module/ui/components/SettingRow.js +17 -4
  78. package/lib/module/ui/components/SettingRow.js.map +1 -1
  79. package/lib/module/ui/components/feedback/FormInput.js +67 -0
  80. package/lib/module/ui/components/feedback/FormInput.js.map +1 -0
  81. package/lib/module/ui/components/feedback/ProgressIndicator.js +28 -0
  82. package/lib/module/ui/components/feedback/ProgressIndicator.js.map +1 -0
  83. package/lib/module/ui/components/feedback/constants.js +55 -0
  84. package/lib/module/ui/components/feedback/constants.js.map +1 -0
  85. package/lib/module/ui/components/feedback/feedbackStyles.js +257 -0
  86. package/lib/module/ui/components/feedback/feedbackStyles.js.map +1 -0
  87. package/lib/module/ui/components/feedback/index.js +8 -0
  88. package/lib/module/ui/components/feedback/index.js.map +1 -0
  89. package/lib/module/ui/components/feedback/types.js +4 -0
  90. package/lib/module/ui/components/feedback/types.js.map +1 -0
  91. package/lib/module/ui/components/feedback/useFeedbackForm.js +47 -0
  92. package/lib/module/ui/components/feedback/useFeedbackForm.js.map +1 -0
  93. package/lib/module/ui/components/modals/DeleteAccountModal.js +276 -0
  94. package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -0
  95. package/lib/module/ui/components/modals/index.js +4 -0
  96. package/lib/module/ui/components/modals/index.js.map +1 -0
  97. package/lib/module/ui/components/payment/PaymentDetailsStep.js +303 -0
  98. package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +1 -0
  99. package/lib/module/ui/components/payment/PaymentMethodStep.js +73 -0
  100. package/lib/module/ui/components/payment/PaymentMethodStep.js.map +1 -0
  101. package/lib/module/ui/components/payment/PaymentReviewStep.js +102 -0
  102. package/lib/module/ui/components/payment/PaymentReviewStep.js.map +1 -0
  103. package/lib/module/ui/components/payment/PaymentSuccessStep.js +73 -0
  104. package/lib/module/ui/components/payment/PaymentSuccessStep.js.map +1 -0
  105. package/lib/module/ui/components/payment/PaymentSummaryStep.js +170 -0
  106. package/lib/module/ui/components/payment/PaymentSummaryStep.js.map +1 -0
  107. package/lib/module/ui/components/payment/constants.js +47 -0
  108. package/lib/module/ui/components/payment/constants.js.map +1 -0
  109. package/lib/module/ui/components/payment/index.js +10 -0
  110. package/lib/module/ui/components/payment/index.js.map +1 -0
  111. package/lib/module/ui/components/payment/paymentStyles.js +404 -0
  112. package/lib/module/ui/components/payment/paymentStyles.js.map +1 -0
  113. package/lib/module/ui/components/payment/types.js +4 -0
  114. package/lib/module/ui/components/payment/types.js.map +1 -0
  115. package/lib/module/ui/hooks/index.js +2 -0
  116. package/lib/module/ui/hooks/index.js.map +1 -1
  117. package/lib/module/ui/hooks/useAsyncAction.js +89 -0
  118. package/lib/module/ui/hooks/useAsyncAction.js.map +1 -0
  119. package/lib/module/ui/hooks/useSettingToggle.js +120 -0
  120. package/lib/module/ui/hooks/useSettingToggle.js.map +1 -0
  121. package/lib/module/ui/navigation/routes.js +1 -0
  122. package/lib/module/ui/navigation/routes.js.map +1 -1
  123. package/lib/module/ui/screens/AccountCenterScreen.js +4 -2
  124. package/lib/module/ui/screens/AccountCenterScreen.js.map +1 -1
  125. package/lib/module/ui/screens/AccountOverviewScreen.js +33 -30
  126. package/lib/module/ui/screens/AccountOverviewScreen.js.map +1 -1
  127. package/lib/module/ui/screens/FAQScreen.js +310 -0
  128. package/lib/module/ui/screens/FAQScreen.js.map +1 -0
  129. package/lib/module/ui/screens/FeedbackScreen.js +64 -581
  130. package/lib/module/ui/screens/FeedbackScreen.js.map +1 -1
  131. package/lib/module/ui/screens/HelpSupportScreen.js +8 -7
  132. package/lib/module/ui/screens/HelpSupportScreen.js.map +1 -1
  133. package/lib/module/ui/screens/PaymentGatewayScreen.js +67 -1397
  134. package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -1
  135. package/lib/module/ui/screens/ProfileScreen.js +13 -5
  136. package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
  137. package/lib/module/ui/screens/SavesCollectionsScreen.js +16 -10
  138. package/lib/module/ui/screens/SavesCollectionsScreen.js.map +1 -1
  139. package/lib/module/ui/screens/karma/KarmaCenterScreen.js +23 -11
  140. package/lib/module/ui/screens/karma/KarmaCenterScreen.js.map +1 -1
  141. package/lib/typescript/core/mixins/OxyServices.features.d.ts +229 -0
  142. package/lib/typescript/core/mixins/OxyServices.features.d.ts.map +1 -0
  143. package/lib/typescript/core/mixins/index.d.ts +71 -1
  144. package/lib/typescript/core/mixins/index.d.ts.map +1 -1
  145. package/lib/typescript/ui/components/GroupedItem.d.ts +5 -1
  146. package/lib/typescript/ui/components/GroupedItem.d.ts.map +1 -1
  147. package/lib/typescript/ui/components/SettingRow.d.ts +6 -0
  148. package/lib/typescript/ui/components/SettingRow.d.ts.map +1 -1
  149. package/lib/typescript/ui/components/feedback/FormInput.d.ts +20 -0
  150. package/lib/typescript/ui/components/feedback/FormInput.d.ts.map +1 -0
  151. package/lib/typescript/ui/components/feedback/ProgressIndicator.d.ts +11 -0
  152. package/lib/typescript/ui/components/feedback/ProgressIndicator.d.ts.map +1 -0
  153. package/lib/typescript/ui/components/feedback/constants.d.ts +5 -0
  154. package/lib/typescript/ui/components/feedback/constants.d.ts.map +1 -0
  155. package/lib/typescript/ui/components/feedback/feedbackStyles.d.ts +280 -0
  156. package/lib/typescript/ui/components/feedback/feedbackStyles.d.ts.map +1 -0
  157. package/lib/typescript/ui/components/feedback/index.d.ts +7 -0
  158. package/lib/typescript/ui/components/feedback/index.d.ts.map +1 -0
  159. package/lib/typescript/ui/components/feedback/types.d.ts +46 -0
  160. package/lib/typescript/ui/components/feedback/types.d.ts.map +1 -0
  161. package/lib/typescript/ui/components/feedback/useFeedbackForm.d.ts +9 -0
  162. package/lib/typescript/ui/components/feedback/useFeedbackForm.d.ts.map +1 -0
  163. package/lib/typescript/ui/components/modals/DeleteAccountModal.d.ts +19 -0
  164. package/lib/typescript/ui/components/modals/DeleteAccountModal.d.ts.map +1 -0
  165. package/lib/typescript/ui/components/modals/index.d.ts +2 -0
  166. package/lib/typescript/ui/components/modals/index.d.ts.map +1 -0
  167. package/lib/typescript/ui/components/payment/PaymentDetailsStep.d.ts +21 -0
  168. package/lib/typescript/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -0
  169. package/lib/typescript/ui/components/payment/PaymentMethodStep.d.ts +14 -0
  170. package/lib/typescript/ui/components/payment/PaymentMethodStep.d.ts.map +1 -0
  171. package/lib/typescript/ui/components/payment/PaymentReviewStep.d.ts +16 -0
  172. package/lib/typescript/ui/components/payment/PaymentReviewStep.d.ts.map +1 -0
  173. package/lib/typescript/ui/components/payment/PaymentSuccessStep.d.ts +10 -0
  174. package/lib/typescript/ui/components/payment/PaymentSuccessStep.d.ts.map +1 -0
  175. package/lib/typescript/ui/components/payment/PaymentSummaryStep.d.ts +15 -0
  176. package/lib/typescript/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -0
  177. package/lib/typescript/ui/components/payment/constants.d.ts +7 -0
  178. package/lib/typescript/ui/components/payment/constants.d.ts.map +1 -0
  179. package/lib/typescript/ui/components/payment/index.d.ts +9 -0
  180. package/lib/typescript/ui/components/payment/index.d.ts.map +1 -0
  181. package/lib/typescript/ui/components/payment/paymentStyles.d.ts +396 -0
  182. package/lib/typescript/ui/components/payment/paymentStyles.d.ts.map +1 -0
  183. package/lib/typescript/ui/components/payment/types.d.ts +40 -0
  184. package/lib/typescript/ui/components/payment/types.d.ts.map +1 -0
  185. package/lib/typescript/ui/hooks/index.d.ts +2 -0
  186. package/lib/typescript/ui/hooks/index.d.ts.map +1 -1
  187. package/lib/typescript/ui/hooks/useAsyncAction.d.ts +51 -0
  188. package/lib/typescript/ui/hooks/useAsyncAction.d.ts.map +1 -0
  189. package/lib/typescript/ui/hooks/useSettingToggle.d.ts +55 -0
  190. package/lib/typescript/ui/hooks/useSettingToggle.d.ts.map +1 -0
  191. package/lib/typescript/ui/navigation/routes.d.ts +1 -1
  192. package/lib/typescript/ui/navigation/routes.d.ts.map +1 -1
  193. package/lib/typescript/ui/screens/AccountOverviewScreen.d.ts.map +1 -1
  194. package/lib/typescript/ui/screens/FAQScreen.d.ts +5 -0
  195. package/lib/typescript/ui/screens/FAQScreen.d.ts.map +1 -0
  196. package/lib/typescript/ui/screens/FeedbackScreen.d.ts.map +1 -1
  197. package/lib/typescript/ui/screens/HelpSupportScreen.d.ts.map +1 -1
  198. package/lib/typescript/ui/screens/PaymentGatewayScreen.d.ts +3 -15
  199. package/lib/typescript/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
  200. package/lib/typescript/ui/screens/ProfileScreen.d.ts.map +1 -1
  201. package/lib/typescript/ui/screens/SavesCollectionsScreen.d.ts.map +1 -1
  202. package/lib/typescript/ui/screens/karma/KarmaCenterScreen.d.ts.map +1 -1
  203. package/package.json +1 -1
  204. package/src/core/mixins/OxyServices.features.ts +428 -0
  205. package/src/core/mixins/index.ts +20 -17
  206. package/src/ui/components/GroupedItem.tsx +19 -1
  207. package/src/ui/components/SettingRow.tsx +26 -4
  208. package/src/ui/components/feedback/FormInput.tsx +84 -0
  209. package/src/ui/components/feedback/ProgressIndicator.tsx +35 -0
  210. package/src/ui/components/feedback/constants.ts +22 -0
  211. package/src/ui/components/feedback/feedbackStyles.ts +247 -0
  212. package/src/ui/components/feedback/index.ts +6 -0
  213. package/src/ui/components/feedback/types.ts +52 -0
  214. package/src/ui/components/feedback/useFeedbackForm.ts +44 -0
  215. package/src/ui/components/modals/DeleteAccountModal.tsx +294 -0
  216. package/src/ui/components/modals/index.ts +1 -0
  217. package/src/ui/components/payment/PaymentDetailsStep.tsx +222 -0
  218. package/src/ui/components/payment/PaymentMethodStep.tsx +89 -0
  219. package/src/ui/components/payment/PaymentReviewStep.tsx +126 -0
  220. package/src/ui/components/payment/PaymentSuccessStep.tsx +71 -0
  221. package/src/ui/components/payment/PaymentSummaryStep.tsx +159 -0
  222. package/src/ui/components/payment/constants.ts +39 -0
  223. package/src/ui/components/payment/index.ts +9 -0
  224. package/src/ui/components/payment/paymentStyles.ts +397 -0
  225. package/src/ui/components/payment/types.ts +45 -0
  226. package/src/ui/hooks/index.ts +3 -1
  227. package/src/ui/hooks/useAsyncAction.ts +129 -0
  228. package/src/ui/hooks/useSettingToggle.ts +147 -0
  229. package/src/ui/navigation/routes.ts +2 -0
  230. package/src/ui/screens/AccountCenterScreen.tsx +2 -2
  231. package/src/ui/screens/AccountOverviewScreen.tsx +35 -37
  232. package/src/ui/screens/FAQScreen.tsx +332 -0
  233. package/src/ui/screens/FeedbackScreen.tsx +91 -626
  234. package/src/ui/screens/HelpSupportScreen.tsx +7 -5
  235. package/src/ui/screens/PaymentGatewayScreen.tsx +96 -1275
  236. package/src/ui/screens/ProfileScreen.tsx +11 -6
  237. package/src/ui/screens/SavesCollectionsScreen.tsx +19 -10
  238. package/src/ui/screens/karma/KarmaCenterScreen.tsx +10 -10
@@ -0,0 +1,396 @@
1
+ import type { PaymentColors } from './types';
2
+ export declare const createPaymentStyles: (colors: PaymentColors) => {
3
+ container: {
4
+ flex: number;
5
+ };
6
+ content: {
7
+ flex: number;
8
+ padding: number;
9
+ };
10
+ stepContainer: {
11
+ justifyContent: "flex-start";
12
+ alignItems: "flex-start";
13
+ width: "100%";
14
+ };
15
+ section: {
16
+ marginBottom: number;
17
+ width: "100%";
18
+ };
19
+ sectionTitle: {
20
+ fontSize: number;
21
+ fontWeight: "600";
22
+ color: string;
23
+ marginBottom: number;
24
+ fontFamily: string;
25
+ };
26
+ errorContainer: {
27
+ flex: number;
28
+ justifyContent: "center";
29
+ alignItems: "center";
30
+ padding: number;
31
+ };
32
+ errorText: {
33
+ fontSize: number;
34
+ color: string;
35
+ marginBottom: number;
36
+ };
37
+ summaryCard: {
38
+ backgroundColor: string;
39
+ borderRadius: number;
40
+ padding: number;
41
+ marginBottom: number;
42
+ alignItems: "center";
43
+ width: "100%";
44
+ };
45
+ summaryCardContent: {
46
+ alignItems: "center";
47
+ width: "100%";
48
+ };
49
+ summaryCardIcon: {
50
+ marginBottom: number;
51
+ };
52
+ summaryCardMainTitle: {
53
+ fontFamily: string;
54
+ fontWeight: "bold";
55
+ fontSize: number;
56
+ color: string;
57
+ marginBottom: number;
58
+ textAlign: "center";
59
+ letterSpacing: number;
60
+ };
61
+ summaryCardSubtitle: {
62
+ fontSize: number;
63
+ color: string;
64
+ textAlign: "center";
65
+ marginBottom: number;
66
+ width: "100%";
67
+ };
68
+ summaryCardItems: {
69
+ width: "100%";
70
+ marginBottom: number;
71
+ };
72
+ summaryItemPrice: {
73
+ color: string;
74
+ fontWeight: "600";
75
+ fontSize: number;
76
+ };
77
+ summaryCardAmount: {
78
+ alignItems: "center";
79
+ width: "100%";
80
+ marginBottom: number;
81
+ };
82
+ summaryCardAmountLabel: {
83
+ fontSize: number;
84
+ color: string;
85
+ textAlign: "center";
86
+ marginBottom: number;
87
+ };
88
+ summaryCardAmountValue: {
89
+ fontSize: number;
90
+ fontWeight: "bold";
91
+ color: string;
92
+ textAlign: "center";
93
+ marginBottom: number;
94
+ fontFamily: string;
95
+ };
96
+ summaryCardAmountDescription: {
97
+ fontSize: number;
98
+ color: string;
99
+ textAlign: "center";
100
+ lineHeight: number;
101
+ };
102
+ summaryCardDivider: {
103
+ height: number;
104
+ backgroundColor: string;
105
+ marginVertical: number;
106
+ width: "100%";
107
+ };
108
+ summaryCardTotalSection: {
109
+ width: "100%";
110
+ marginBottom: number;
111
+ };
112
+ summaryCardTotalRow: {
113
+ flexDirection: "row";
114
+ justifyContent: "space-between";
115
+ alignItems: "center";
116
+ paddingVertical: number;
117
+ };
118
+ summaryCardTotalLabel: {
119
+ fontSize: number;
120
+ color: string;
121
+ fontWeight: "500";
122
+ };
123
+ summaryCardTotalValue: {
124
+ fontSize: number;
125
+ color: string;
126
+ fontWeight: "600";
127
+ };
128
+ cardPaymentCard: {
129
+ backgroundColor: string;
130
+ borderRadius: number;
131
+ padding: number;
132
+ marginBottom: number;
133
+ alignItems: "center";
134
+ width: "100%";
135
+ };
136
+ cardPaymentContent: {
137
+ alignItems: "center";
138
+ width: "100%";
139
+ };
140
+ cardPaymentIcon: {
141
+ marginBottom: number;
142
+ };
143
+ cardPaymentMainTitle: {
144
+ fontFamily: string;
145
+ fontWeight: "bold";
146
+ fontSize: number;
147
+ color: string;
148
+ marginBottom: number;
149
+ textAlign: "center";
150
+ letterSpacing: number;
151
+ };
152
+ cardPaymentSubtitle: {
153
+ fontSize: number;
154
+ color: string;
155
+ textAlign: "center";
156
+ marginBottom: number;
157
+ width: "100%";
158
+ };
159
+ cardPaymentFields: {
160
+ width: "100%";
161
+ marginBottom: number;
162
+ };
163
+ cardPaymentWaiting: {
164
+ fontSize: number;
165
+ color: string;
166
+ textAlign: "center";
167
+ marginBottom: number;
168
+ };
169
+ cardRowInfo: {
170
+ flexDirection: "row";
171
+ alignItems: "center";
172
+ marginBottom: number;
173
+ };
174
+ cardRowIcon: {
175
+ marginRight: number;
176
+ };
177
+ cardRowText: {
178
+ fontSize: number;
179
+ color: string;
180
+ };
181
+ cardFieldContainer: {
182
+ marginBottom: number;
183
+ };
184
+ cardFieldRow: {
185
+ flexDirection: "row";
186
+ gap: number;
187
+ };
188
+ cardFieldHalfLeft: {
189
+ flex: number;
190
+ marginRight: number;
191
+ };
192
+ cardFieldHalfRight: {
193
+ flex: number;
194
+ marginLeft: number;
195
+ };
196
+ oxyPayCard: {
197
+ backgroundColor: string;
198
+ borderRadius: number;
199
+ padding: number;
200
+ marginBottom: number;
201
+ alignItems: "center";
202
+ width: "100%";
203
+ };
204
+ oxyPayContent: {
205
+ alignItems: "center";
206
+ width: "100%";
207
+ };
208
+ oxyPayIcon: {
209
+ marginBottom: number;
210
+ };
211
+ oxyPayMainTitle: {
212
+ fontFamily: string;
213
+ fontWeight: "bold";
214
+ fontSize: number;
215
+ color: string;
216
+ marginBottom: number;
217
+ textAlign: "center";
218
+ letterSpacing: number;
219
+ };
220
+ oxyPaySubtitle: {
221
+ fontSize: number;
222
+ color: string;
223
+ textAlign: "center";
224
+ marginBottom: number;
225
+ };
226
+ oxyPayBalanceBox: {
227
+ backgroundColor: string;
228
+ borderRadius: number;
229
+ padding: number;
230
+ marginTop: number;
231
+ };
232
+ oxyPayBalanceText: {
233
+ color: string;
234
+ fontWeight: "600";
235
+ };
236
+ oxyPayWaiting: {
237
+ fontSize: number;
238
+ color: string;
239
+ textAlign: "center";
240
+ marginBottom: number;
241
+ };
242
+ faircoinCard: {
243
+ backgroundColor: string;
244
+ borderRadius: number;
245
+ padding: number;
246
+ marginBottom: number;
247
+ alignItems: "center";
248
+ width: "100%";
249
+ };
250
+ faircoinContent: {
251
+ alignItems: "center";
252
+ width: "100%";
253
+ };
254
+ faircoinIcon: {
255
+ marginBottom: number;
256
+ };
257
+ faircoinMainTitle: {
258
+ fontFamily: string;
259
+ fontWeight: "bold";
260
+ fontSize: number;
261
+ color: string;
262
+ marginBottom: number;
263
+ textAlign: "center";
264
+ letterSpacing: number;
265
+ };
266
+ faircoinSubtitle: {
267
+ color: string;
268
+ fontWeight: "700";
269
+ fontSize: number;
270
+ marginBottom: number;
271
+ textAlign: "center";
272
+ letterSpacing: number;
273
+ };
274
+ faircoinScanText: {
275
+ color: string;
276
+ fontWeight: "600";
277
+ fontSize: number;
278
+ marginBottom: number;
279
+ };
280
+ faircoinQRCard: {
281
+ width: number;
282
+ height: number;
283
+ backgroundColor: string;
284
+ borderRadius: number;
285
+ justifyContent: "center";
286
+ alignItems: "center";
287
+ marginBottom: number;
288
+ padding: number;
289
+ borderWidth: number;
290
+ borderColor: string;
291
+ shadowColor: string;
292
+ shadowOffset: {
293
+ width: number;
294
+ height: number;
295
+ };
296
+ shadowOpacity: number;
297
+ shadowRadius: number;
298
+ elevation: number;
299
+ position: "relative";
300
+ };
301
+ faircoinQRBadge: {
302
+ position: "absolute";
303
+ bottom: number;
304
+ right: number;
305
+ backgroundColor: string;
306
+ borderRadius: number;
307
+ padding: number;
308
+ shadowColor: string;
309
+ shadowOffset: {
310
+ width: number;
311
+ height: number;
312
+ };
313
+ shadowOpacity: number;
314
+ shadowRadius: number;
315
+ elevation: number;
316
+ };
317
+ faircoinTitle: {
318
+ fontSize: number;
319
+ marginBottom: number;
320
+ color: string;
321
+ fontWeight: "600";
322
+ textAlign: "center";
323
+ };
324
+ faircoinAddress: {
325
+ color: string;
326
+ fontSize: number;
327
+ textAlign: "center";
328
+ marginTop: number;
329
+ marginBottom: number;
330
+ };
331
+ faircoinButton: {
332
+ flexDirection: "row";
333
+ alignItems: "center";
334
+ alignSelf: "center";
335
+ backgroundColor: string;
336
+ borderRadius: number;
337
+ paddingHorizontal: number;
338
+ paddingVertical: number;
339
+ marginTop: number;
340
+ marginBottom: number;
341
+ };
342
+ faircoinButtonText: {
343
+ color: string;
344
+ fontWeight: "600";
345
+ fontSize: number;
346
+ };
347
+ faircoinWaiting: {
348
+ fontSize: number;
349
+ color: string;
350
+ textAlign: "center";
351
+ marginBottom: number;
352
+ };
353
+ faircoinPlaceholder: {
354
+ fontSize: number;
355
+ color: string;
356
+ textAlign: "center";
357
+ };
358
+ successCard: {
359
+ backgroundColor: string;
360
+ borderRadius: number;
361
+ padding: number;
362
+ marginBottom: number;
363
+ alignItems: "center";
364
+ width: "100%";
365
+ };
366
+ successContent: {
367
+ alignItems: "center";
368
+ width: "100%";
369
+ };
370
+ successIcon: {
371
+ marginBottom: number;
372
+ };
373
+ successMainTitle: {
374
+ fontFamily: string;
375
+ fontWeight: "bold";
376
+ fontSize: number;
377
+ color: string;
378
+ marginBottom: number;
379
+ textAlign: "center";
380
+ letterSpacing: number;
381
+ };
382
+ successSubtitle: {
383
+ fontSize: number;
384
+ color: string;
385
+ textAlign: "center";
386
+ marginBottom: number;
387
+ width: "100%";
388
+ };
389
+ successMessage: {
390
+ fontSize: number;
391
+ color: string;
392
+ textAlign: "center";
393
+ marginBottom: number;
394
+ };
395
+ };
396
+ //# sourceMappingURL=paymentStyles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"paymentStyles.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/payment/paymentStyles.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,eAAO,MAAM,mBAAmB,GAAI,QAAQ,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwYvD,CAAC"}
@@ -0,0 +1,40 @@
1
+ import type { Animated } from 'react-native';
2
+ export type PaymentItem = {
3
+ type: 'product' | 'subscription' | 'service' | 'fee' | string;
4
+ name: string;
5
+ description?: string;
6
+ quantity?: number;
7
+ period?: string;
8
+ price: number;
9
+ currency?: string;
10
+ };
11
+ export interface PaymentGatewayResult {
12
+ success: boolean;
13
+ details?: Record<string, string | number | boolean | null>;
14
+ error?: string;
15
+ }
16
+ export interface CardDetails {
17
+ number: string;
18
+ expiry: string;
19
+ cvv: string;
20
+ }
21
+ export interface PaymentMethod {
22
+ key: string;
23
+ label: string;
24
+ icon: string;
25
+ description: string;
26
+ }
27
+ export interface PaymentStepAnimations {
28
+ fadeAnim: Animated.Value;
29
+ slideAnim: Animated.Value;
30
+ scaleAnim: Animated.Value;
31
+ }
32
+ export interface PaymentColors {
33
+ primary: string;
34
+ text: string;
35
+ secondaryText: string;
36
+ border: string;
37
+ success?: string;
38
+ background?: string;
39
+ }
40
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/payment/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAE7C,MAAM,MAAM,WAAW,GAAG;IACtB,IAAI,EAAE,SAAS,GAAG,cAAc,GAAG,SAAS,GAAG,KAAK,GAAG,MAAM,CAAC;IAC9D,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,WAAW,oBAAoB;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC,CAAC;IAC3D,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,WAAW;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,aAAa;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,qBAAqB;IAClC,QAAQ,EAAE,QAAQ,CAAC,KAAK,CAAC;IACzB,SAAS,EAAE,QAAQ,CAAC,KAAK,CAAC;IAC1B,SAAS,EAAE,QAAQ,CAAC,KAAK,CAAC;CAC7B;AAED,MAAM,WAAW,aAAa;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB"}
@@ -2,4 +2,6 @@ export { useFollow, useFollowerCounts } from './useFollow';
2
2
  export { useFileDownloadUrl, setOxyFileUrlInstance } from './useFileDownloadUrl';
3
3
  export { useThemeStyles } from './useThemeStyles';
4
4
  export { useThemeColors } from './useThemeColors';
5
+ export { useAsyncAction, executeWithToast } from './useAsyncAction';
6
+ export { useSettingToggle, useSettingToggles } from './useSettingToggle';
5
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/ui/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AACjF,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/ui/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AACjF,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC"}
@@ -0,0 +1,51 @@
1
+ interface UseAsyncActionOptions<T> {
2
+ /** Function to execute */
3
+ action: () => Promise<T>;
4
+ /** Success message to display */
5
+ successMessage?: string;
6
+ /** Error message to display (or function to get message from error) */
7
+ errorMessage?: string | ((error: any) => string);
8
+ /** Callback on success */
9
+ onSuccess?: (result: T) => void;
10
+ /** Callback on error */
11
+ onError?: (error: any) => void;
12
+ /** Show loading toast */
13
+ showLoadingToast?: boolean;
14
+ /** Loading message */
15
+ loadingMessage?: string;
16
+ }
17
+ interface UseAsyncActionReturn<T> {
18
+ /** Execute the action */
19
+ execute: () => Promise<T | undefined>;
20
+ /** Whether the action is currently executing */
21
+ isLoading: boolean;
22
+ /** The last error that occurred */
23
+ error: Error | null;
24
+ /** Reset the error state */
25
+ resetError: () => void;
26
+ }
27
+ /**
28
+ * Hook for handling async actions with loading state, error handling, and toast notifications.
29
+ * Reduces boilerplate for common patterns like try-catch with toast feedback.
30
+ *
31
+ * @example
32
+ * const { execute, isLoading } = useAsyncAction({
33
+ * action: () => api.saveSettings(settings),
34
+ * successMessage: 'Settings saved!',
35
+ * errorMessage: 'Failed to save settings',
36
+ * });
37
+ *
38
+ * <Button onPress={execute} disabled={isLoading}>Save</Button>
39
+ */
40
+ export declare function useAsyncAction<T = void>(options: UseAsyncActionOptions<T>): UseAsyncActionReturn<T>;
41
+ /**
42
+ * Simplified version that just executes an async action with toast feedback.
43
+ * Useful for one-off actions.
44
+ */
45
+ export declare function executeWithToast<T>(action: () => Promise<T>, options?: {
46
+ successMessage?: string;
47
+ errorMessage?: string;
48
+ loadingMessage?: string;
49
+ }): Promise<T | undefined>;
50
+ export default useAsyncAction;
51
+ //# sourceMappingURL=useAsyncAction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useAsyncAction.d.ts","sourceRoot":"","sources":["../../../../src/ui/hooks/useAsyncAction.ts"],"names":[],"mappings":"AAGA,UAAU,qBAAqB,CAAC,CAAC;IAC7B,0BAA0B;IAC1B,MAAM,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,CAAC;IACzB,iCAAiC;IACjC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,uEAAuE;IACvE,YAAY,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,KAAK,EAAE,GAAG,KAAK,MAAM,CAAC,CAAC;IACjD,0BAA0B;IAC1B,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,IAAI,CAAC;IAChC,wBAAwB;IACxB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;IAC/B,yBAAyB;IACzB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,sBAAsB;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,UAAU,oBAAoB,CAAC,CAAC;IAC5B,yBAAyB;IACzB,OAAO,EAAE,MAAM,OAAO,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC;IACtC,gDAAgD;IAChD,SAAS,EAAE,OAAO,CAAC;IACnB,mCAAmC;IACnC,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACpB,4BAA4B;IAC5B,UAAU,EAAE,MAAM,IAAI,CAAC;CAC1B;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,cAAc,CAAC,CAAC,GAAG,IAAI,EACnC,OAAO,EAAE,qBAAqB,CAAC,CAAC,CAAC,GAClC,oBAAoB,CAAC,CAAC,CAAC,CAkDzB;AAED;;;GAGG;AACH,wBAAsB,gBAAgB,CAAC,CAAC,EACpC,MAAM,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,EACxB,OAAO,CAAC,EAAE;IACN,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B,GACF,OAAO,CAAC,CAAC,GAAG,SAAS,CAAC,CAiBxB;AAED,eAAe,cAAc,CAAC"}
@@ -0,0 +1,55 @@
1
+ interface UseSettingToggleOptions {
2
+ /** Initial value of the setting */
3
+ initialValue: boolean;
4
+ /** Function to save the setting to the server */
5
+ onSave: (value: boolean) => Promise<void>;
6
+ /** Success message when saving */
7
+ successMessage?: string;
8
+ /** Error message when save fails */
9
+ errorMessage?: string;
10
+ /** Whether to revert on error (default: true) */
11
+ revertOnError?: boolean;
12
+ /** Whether to show success toast (default: false) */
13
+ showSuccessToast?: boolean;
14
+ }
15
+ interface UseSettingToggleReturn {
16
+ /** Current value */
17
+ value: boolean;
18
+ /** Whether the setting is being saved */
19
+ isSaving: boolean;
20
+ /** Toggle the setting (optimistic update with revert on error) */
21
+ toggle: () => Promise<void>;
22
+ /** Set the value directly */
23
+ setValue: (value: boolean) => void;
24
+ }
25
+ /**
26
+ * Hook for handling boolean toggle settings with optimistic updates.
27
+ * Automatically reverts to the previous value if the save fails.
28
+ *
29
+ * @example
30
+ * const { value, toggle, isSaving } = useSettingToggle({
31
+ * initialValue: user.notificationsEnabled,
32
+ * onSave: (value) => api.updateNotifications(value),
33
+ * errorMessage: 'Failed to update notifications',
34
+ * });
35
+ *
36
+ * <Switch value={value} onValueChange={toggle} disabled={isSaving} />
37
+ */
38
+ export declare function useSettingToggle(options: UseSettingToggleOptions): UseSettingToggleReturn;
39
+ /**
40
+ * Hook for managing multiple toggle settings at once.
41
+ * Useful when you have several related boolean settings.
42
+ */
43
+ export declare function useSettingToggles<T extends Record<string, boolean>>(options: {
44
+ initialValues: T;
45
+ onSave: (key: keyof T, value: boolean) => Promise<void>;
46
+ errorMessage?: string | ((key: keyof T) => string);
47
+ revertOnError?: boolean;
48
+ }): {
49
+ values: T;
50
+ savingKeys: Set<keyof T>;
51
+ toggle: (key: keyof T) => Promise<void>;
52
+ setValues: (values: T) => void;
53
+ };
54
+ export default useSettingToggle;
55
+ //# sourceMappingURL=useSettingToggle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useSettingToggle.d.ts","sourceRoot":"","sources":["../../../../src/ui/hooks/useSettingToggle.ts"],"names":[],"mappings":"AAGA,UAAU,uBAAuB;IAC7B,mCAAmC;IACnC,YAAY,EAAE,OAAO,CAAC;IACtB,iDAAiD;IACjD,MAAM,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC1C,kCAAkC;IAClC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,oCAAoC;IACpC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iDAAiD;IACjD,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,qDAAqD;IACrD,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED,UAAU,sBAAsB;IAC5B,oBAAoB;IACpB,KAAK,EAAE,OAAO,CAAC;IACf,yCAAyC;IACzC,QAAQ,EAAE,OAAO,CAAC;IAClB,kEAAkE;IAClE,MAAM,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5B,6BAA6B;IAC7B,QAAQ,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CACtC;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,uBAAuB,GAAG,sBAAsB,CA6CzF;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,EAAE;IAC1E,aAAa,EAAE,CAAC,CAAC;IACjB,MAAM,EAAE,CAAC,GAAG,EAAE,MAAM,CAAC,EAAE,KAAK,EAAE,OAAO,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACxD,YAAY,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,GAAG,EAAE,MAAM,CAAC,KAAK,MAAM,CAAC,CAAC;IACnD,aAAa,CAAC,EAAE,OAAO,CAAC;CAC3B,GAAG;IACA,MAAM,EAAE,CAAC,CAAC;IACV,UAAU,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC;IACzB,MAAM,EAAE,CAAC,GAAG,EAAE,MAAM,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACxC,SAAS,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,IAAI,CAAC;CAClC,CAyCA;AAED,eAAe,gBAAgB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { ComponentType } from 'react';
2
2
  import type { BaseScreenProps } from '../types/navigation';
3
- export type RouteName = 'OxyAuth' | 'AccountOverview' | 'AccountSettings' | 'AccountCenter' | 'AccountSwitcher' | 'AccountVerification' | 'SessionManagement' | 'PaymentGateway' | 'Profile' | 'LanguageSelector' | 'PrivacySettings' | 'SearchSettings' | 'FileManagement' | 'HelpSupport' | 'Feedback' | 'LegalDocuments' | 'AppInfo' | 'PremiumSubscription' | 'WelcomeNewUser' | 'UserLinks' | 'HistoryView' | 'SavesCollections' | 'EditProfile' | 'KarmaCenter' | 'KarmaLeaderboard' | 'KarmaRewards' | 'KarmaRules' | 'AboutKarma' | 'KarmaFAQ' | 'SignIn';
3
+ export type RouteName = 'OxyAuth' | 'AccountOverview' | 'AccountSettings' | 'AccountCenter' | 'AccountSwitcher' | 'AccountVerification' | 'SessionManagement' | 'PaymentGateway' | 'Profile' | 'LanguageSelector' | 'PrivacySettings' | 'SearchSettings' | 'FileManagement' | 'HelpSupport' | 'FAQ' | 'Feedback' | 'LegalDocuments' | 'AppInfo' | 'PremiumSubscription' | 'WelcomeNewUser' | 'UserLinks' | 'HistoryView' | 'SavesCollections' | 'EditProfile' | 'KarmaCenter' | 'KarmaLeaderboard' | 'KarmaRewards' | 'KarmaRules' | 'AboutKarma' | 'KarmaFAQ' | 'SignIn';
4
4
  export declare const getScreenComponent: (routeName: RouteName) => ComponentType<BaseScreenProps> | undefined;
5
5
  export declare const isValidRoute: (routeName: string) => routeName is RouteName;
6
6
  //# sourceMappingURL=routes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../../src/ui/navigation/routes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAQ3D,MAAM,MAAM,SAAS,GACf,SAAS,GACT,iBAAiB,GACjB,iBAAiB,GACjB,eAAe,GACf,iBAAiB,GACjB,qBAAqB,GACrB,mBAAmB,GACnB,gBAAgB,GAChB,SAAS,GACT,kBAAkB,GAClB,iBAAiB,GACjB,gBAAgB,GAChB,gBAAgB,GAChB,aAAa,GACb,UAAU,GACV,gBAAgB,GAChB,SAAS,GACT,qBAAqB,GACrB,gBAAgB,GAChB,WAAW,GACX,aAAa,GACb,kBAAkB,GAClB,aAAa,GACb,aAAa,GACb,kBAAkB,GAClB,cAAc,GACd,YAAY,GACZ,YAAY,GACZ,UAAU,GAEV,QAAQ,CAAC;AA4Cf,eAAO,MAAM,kBAAkB,GAAI,WAAW,SAAS,KAAG,aAAa,CAAC,eAAe,CAAC,GAAG,SAsB1F,CAAC;AAIF,eAAO,MAAM,YAAY,GAAI,WAAW,MAAM,KAAG,SAAS,IAAI,SAE7D,CAAC"}
1
+ {"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../../src/ui/navigation/routes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAQ3D,MAAM,MAAM,SAAS,GACf,SAAS,GACT,iBAAiB,GACjB,iBAAiB,GACjB,eAAe,GACf,iBAAiB,GACjB,qBAAqB,GACrB,mBAAmB,GACnB,gBAAgB,GAChB,SAAS,GACT,kBAAkB,GAClB,iBAAiB,GACjB,gBAAgB,GAChB,gBAAgB,GAChB,aAAa,GACb,KAAK,GACL,UAAU,GACV,gBAAgB,GAChB,SAAS,GACT,qBAAqB,GACrB,gBAAgB,GAChB,WAAW,GACX,aAAa,GACb,kBAAkB,GAClB,aAAa,GACb,aAAa,GACb,kBAAkB,GAClB,cAAc,GACd,YAAY,GACZ,YAAY,GACZ,UAAU,GAEV,QAAQ,CAAC;AA6Cf,eAAO,MAAM,kBAAkB,GAAI,WAAW,SAAS,KAAG,aAAa,CAAC,eAAe,CAAC,GAAG,SAsB1F,CAAC;AAIF,eAAO,MAAM,YAAY,GAAI,WAAW,MAAM,KAAG,SAAS,IAAI,SAE7D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AccountOverviewScreen.d.ts","sourceRoot":"","sources":["../../../../src/ui/screens/AccountOverviewScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAcjF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;;AA+yB3D,wBAAiD"}
1
+ {"version":3,"file":"AccountOverviewScreen.d.ts","sourceRoot":"","sources":["../../../../src/ui/screens/AccountOverviewScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAcjF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;;AA6yB3D,wBAAiD"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import type { BaseScreenProps } from '../types/navigation';
3
+ declare const FAQScreen: React.FC<BaseScreenProps>;
4
+ export default FAQScreen;
5
+ //# sourceMappingURL=FAQScreen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FAQScreen.d.ts","sourceRoot":"","sources":["../../../../src/ui/screens/FAQScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAWzE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAc3D,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAsNxC,CAAC;AA4FF,eAAe,SAAS,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"FeedbackScreen.d.ts","sourceRoot":"","sources":["../../../../src/ui/screens/FeedbackScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAgBjF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AA4e3D,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAghB7C,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"FeedbackScreen.d.ts","sourceRoot":"","sources":["../../../../src/ui/screens/FeedbackScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAYtE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAoB3D,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAqd7C,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"HelpSupportScreen.d.ts","sourceRoot":"","sources":["../../../../src/ui/screens/HelpSupportScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AASvC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;;AA2I3D,wBAA6C"}
1
+ {"version":3,"file":"HelpSupportScreen.d.ts","sourceRoot":"","sources":["../../../../src/ui/screens/HelpSupportScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AASvC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;;AA6I3D,wBAA6C"}
@@ -1,19 +1,7 @@
1
- import type React from 'react';
1
+ import React from 'react';
2
2
  import type { BaseScreenProps } from '../types/navigation';
3
- export type PaymentItem = {
4
- type: 'product' | 'subscription' | 'service' | 'fee' | string;
5
- name: string;
6
- description?: string;
7
- quantity?: number;
8
- period?: string;
9
- price: number;
10
- currency?: string;
11
- };
12
- export interface PaymentGatewayResult {
13
- success: boolean;
14
- details?: Record<string, string | number | boolean | null>;
15
- error?: string;
16
- }
3
+ import type { PaymentItem, PaymentGatewayResult } from '../components/payment';
4
+ export type { PaymentItem, PaymentGatewayResult };
17
5
  interface PaymentGatewayScreenProps extends BaseScreenProps {
18
6
  onPaymentResult?: (result: PaymentGatewayResult) => void;
19
7
  amount: string | number;
@@ -1 +1 @@
1
- {"version":3,"file":"PaymentGatewayScreen.d.ts","sourceRoot":"","sources":["../../../../src/ui/screens/PaymentGatewayScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAkB/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAwB3D,MAAM,MAAM,WAAW,GAAG;IACtB,IAAI,EAAE,SAAS,GAAG,cAAc,GAAG,SAAS,GAAG,KAAK,GAAG,MAAM,CAAC;IAC9D,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAGF,MAAM,WAAW,oBAAoB;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC,CAAC;IAC3D,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,UAAU,yBAA0B,SAAQ,eAAe;IACvD,eAAe,CAAC,EAAE,CAAC,MAAM,EAAE,oBAAoB,KAAK,IAAI,CAAC;IACzD,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAoDD,QAAA,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CAksB7D,CAAC;AAooBF,eAAe,oBAAoB,CAAC"}
1
+ {"version":3,"file":"PaymentGatewayScreen.d.ts","sourceRoot":"","sources":["../../../../src/ui/screens/PaymentGatewayScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAStE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAgB3D,OAAO,KAAK,EAAE,WAAW,EAAE,oBAAoB,EAAe,MAAM,uBAAuB,CAAC;AAE5F,YAAY,EAAE,WAAW,EAAE,oBAAoB,EAAE,CAAC;AAElD,UAAU,yBAA0B,SAAQ,eAAe;IACvD,eAAe,CAAC,EAAE,CAAC,MAAM,EAAE,oBAAoB,KAAK,IAAI,CAAC;IACzD,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAOD,QAAA,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CAoP7D,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ProfileScreen.d.ts","sourceRoot":"","sources":["../../../../src/ui/screens/ProfileScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAY3D,UAAU,kBAAmB,SAAQ,eAAe;IAChD,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAYD,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA4T/C,CAAC;AAiGF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"ProfileScreen.d.ts","sourceRoot":"","sources":["../../../../src/ui/screens/ProfileScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAY3D,UAAU,kBAAmB,SAAQ,eAAe;IAChD,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAYD,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAiU/C,CAAC;AAiGF,eAAe,aAAa,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SavesCollectionsScreen.d.ts","sourceRoot":"","sources":["../../../../src/ui/screens/SavesCollectionsScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAQnD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;;AAsM3D,wBAAkD"}
1
+ {"version":3,"file":"SavesCollectionsScreen.d.ts","sourceRoot":"","sources":["../../../../src/ui/screens/SavesCollectionsScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAQnD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;;AA+M3D,wBAAkD"}
@@ -1 +1 @@
1
- {"version":3,"file":"KarmaCenterScreen.d.ts","sourceRoot":"","sources":["../../../../../src/ui/screens/karma/KarmaCenterScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAY/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAS9D,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAuIhD,CAAC;AA0GF,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"KarmaCenterScreen.d.ts","sourceRoot":"","sources":["../../../../../src/ui/screens/karma/KarmaCenterScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAY/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAS9D,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAyIhD,CAAC;AAwGF,eAAe,iBAAiB,CAAC"}