@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,33 @@
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
+ const ProgressIndicator = /*#__PURE__*/_react.default.memo(({
12
+ currentStep,
13
+ totalSteps,
14
+ colors,
15
+ styles
16
+ }) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
17
+ style: styles.progressContainer,
18
+ accessibilityRole: "progressbar",
19
+ accessibilityLabel: `Step ${currentStep + 1} of ${totalSteps}`,
20
+ children: Array.from({
21
+ length: totalSteps
22
+ }, (_, index) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
23
+ style: [styles.progressDot, currentStep === index ? {
24
+ backgroundColor: colors.primary,
25
+ width: 24
26
+ } : {
27
+ backgroundColor: colors.border
28
+ }]
29
+ }, index))
30
+ }));
31
+ ProgressIndicator.displayName = 'ProgressIndicator';
32
+ var _default = exports.default = ProgressIndicator;
33
+ //# sourceMappingURL=ProgressIndicator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_jsxRuntime","e","__esModule","default","ProgressIndicator","React","memo","currentStep","totalSteps","colors","styles","jsx","View","style","progressContainer","accessibilityRole","accessibilityLabel","children","Array","from","length","_","index","progressDot","backgroundColor","primary","width","border","displayName","_default","exports"],"sourceRoot":"../../../../../src","sources":["ui/components/feedback/ProgressIndicator.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAAoC,IAAAE,WAAA,GAAAF,OAAA;AAAA,SAAAD,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAUpC,MAAMG,iBAAmD,gBAAGC,cAAK,CAACC,IAAI,CAAC,CAAC;EACpEC,WAAW;EACXC,UAAU;EACVC,MAAM;EACNC;AACJ,CAAC,kBACG,IAAAV,WAAA,CAAAW,GAAA,EAACZ,YAAA,CAAAa,IAAI;EAACC,KAAK,EAAEH,MAAM,CAACI,iBAAkB;EAACC,iBAAiB,EAAC,aAAa;EAACC,kBAAkB,EAAE,QAAQT,WAAW,GAAG,CAAC,OAAOC,UAAU,EAAG;EAAAS,QAAA,EACjIC,KAAK,CAACC,IAAI,CAAC;IAAEC,MAAM,EAAEZ;EAAW,CAAC,EAAE,CAACa,CAAC,EAAEC,KAAK,kBACzC,IAAAtB,WAAA,CAAAW,GAAA,EAACZ,YAAA,CAAAa,IAAI;IAEDC,KAAK,EAAE,CACHH,MAAM,CAACa,WAAW,EAClBhB,WAAW,KAAKe,KAAK,GACjB;MAAEE,eAAe,EAAEf,MAAM,CAACgB,OAAO;MAAEC,KAAK,EAAE;IAAG,CAAC,GAC9C;MAAEF,eAAe,EAAEf,MAAM,CAACkB;IAAO,CAAC;EACxC,GANGL,KAOR,CACJ;AAAC,CACA,CACT,CAAC;AAEFlB,iBAAiB,CAACwB,WAAW,GAAG,mBAAmB;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAA3B,OAAA,GAErCC,iBAAiB","ignoreList":[]}
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.PRIORITY_LEVELS = exports.FEEDBACK_TYPES = exports.CATEGORIES = void 0;
7
+ const FEEDBACK_TYPES = exports.FEEDBACK_TYPES = [{
8
+ id: 'bug',
9
+ label: 'Bug Report',
10
+ icon: 'bug',
11
+ color: '#FF3B30',
12
+ description: 'Report a problem or issue'
13
+ }, {
14
+ id: 'feature',
15
+ label: 'Feature Request',
16
+ icon: 'bulb',
17
+ color: '#007AFF',
18
+ description: 'Suggest a new feature'
19
+ }, {
20
+ id: 'general',
21
+ label: 'General Feedback',
22
+ icon: 'chatbubble',
23
+ color: '#34C759',
24
+ description: 'Share your thoughts'
25
+ }, {
26
+ id: 'support',
27
+ label: 'Support Request',
28
+ icon: 'help-circle',
29
+ color: '#FF9500',
30
+ description: 'Get help with something'
31
+ }];
32
+ const PRIORITY_LEVELS = exports.PRIORITY_LEVELS = [{
33
+ id: 'low',
34
+ label: 'Low',
35
+ icon: 'arrow-down',
36
+ color: '#34C759'
37
+ }, {
38
+ id: 'medium',
39
+ label: 'Medium',
40
+ icon: 'remove',
41
+ color: '#FF9500'
42
+ }, {
43
+ id: 'high',
44
+ label: 'High',
45
+ icon: 'arrow-up',
46
+ color: '#FF3B30'
47
+ }, {
48
+ id: 'critical',
49
+ label: 'Critical',
50
+ icon: 'warning',
51
+ color: '#FF0000'
52
+ }];
53
+ const CATEGORIES = exports.CATEGORIES = {
54
+ bug: ['UI/UX', 'Performance', 'Authentication', 'File Management', 'Billing', 'Other'],
55
+ feature: ['User Interface', 'File Management', 'Security', 'Performance', 'Integration', 'Other'],
56
+ general: ['User Experience', 'Design', 'Performance', 'Documentation', 'Other'],
57
+ support: ['Account Issues', 'Billing', 'Technical Problems', 'Feature Questions', 'Other']
58
+ };
59
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["FEEDBACK_TYPES","exports","id","label","icon","color","description","PRIORITY_LEVELS","CATEGORIES","bug","feature","general","support"],"sourceRoot":"../../../../../src","sources":["ui/components/feedback/constants.ts"],"mappings":";;;;;;AAEO,MAAMA,cAA8B,GAAAC,OAAA,CAAAD,cAAA,GAAG,CAC1C;EAAEE,EAAE,EAAE,KAAK;EAAEC,KAAK,EAAE,YAAY;EAAEC,IAAI,EAAE,KAAK;EAAEC,KAAK,EAAE,SAAS;EAAEC,WAAW,EAAE;AAA4B,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EAAE,CAAC,iBAAiB,EAAE,QAAQ,EAAE,aAAa,EAAE,eAAe,EAAE,OAAO,CAAC;EAC/EC,OAAO,EAAE,CAAC,gBAAgB,EAAE,SAAS,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,OAAO;AAC7F,CAAC","ignoreList":[]}
@@ -0,0 +1,262 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.createFeedbackStyles = void 0;
7
+ var _reactNative = require("react-native");
8
+ var _spacing = require("../../constants/spacing");
9
+ const createFeedbackStyles = colors => _reactNative.StyleSheet.create({
10
+ container: {
11
+ flex: 1
12
+ },
13
+ fullBleed: {
14
+ width: '100%',
15
+ alignSelf: 'stretch'
16
+ },
17
+ scrollContent: {
18
+ flexGrow: 1,
19
+ ..._spacing.screenContentStyle
20
+ },
21
+ stepContainer: {
22
+ flex: 1,
23
+ justifyContent: 'flex-start',
24
+ alignItems: 'flex-start'
25
+ },
26
+ modernHeader: {
27
+ alignItems: 'flex-start',
28
+ width: '100%',
29
+ marginBottom: 24
30
+ },
31
+ stepTitle: {
32
+ fontFamily: _reactNative.Platform.OS === 'web' ? 'Phudu' : 'Phudu-Bold',
33
+ fontWeight: _reactNative.Platform.OS === 'web' ? 'bold' : undefined,
34
+ fontSize: 42,
35
+ lineHeight: 48,
36
+ marginBottom: 12,
37
+ textAlign: 'left',
38
+ letterSpacing: -1
39
+ },
40
+ modernSubtitle: {
41
+ fontSize: 18,
42
+ lineHeight: 24,
43
+ textAlign: 'left',
44
+ opacity: 0.8,
45
+ marginBottom: 24
46
+ },
47
+ inputContainer: {
48
+ width: '100%',
49
+ marginBottom: 24
50
+ },
51
+ premiumInputWrapper: {
52
+ flexDirection: 'row',
53
+ alignItems: 'center',
54
+ height: 56,
55
+ borderRadius: 16,
56
+ paddingHorizontal: 20,
57
+ borderWidth: 2,
58
+ backgroundColor: colors.inputBackground
59
+ },
60
+ textAreaWrapper: {
61
+ flexDirection: 'column',
62
+ alignItems: 'flex-start',
63
+ minHeight: 120,
64
+ borderRadius: 16,
65
+ paddingHorizontal: 20,
66
+ paddingVertical: 16,
67
+ borderWidth: 2,
68
+ backgroundColor: colors.inputBackground
69
+ },
70
+ inputIcon: {
71
+ marginRight: 12
72
+ },
73
+ inputContent: {
74
+ flex: 1
75
+ },
76
+ modernLabel: {
77
+ fontSize: 12,
78
+ fontWeight: '500',
79
+ marginBottom: 2
80
+ },
81
+ modernInput: {
82
+ flex: 1,
83
+ fontSize: 16,
84
+ height: '100%'
85
+ },
86
+ textArea: {
87
+ flex: 1,
88
+ fontSize: 16,
89
+ textAlignVertical: 'top',
90
+ minHeight: 80
91
+ },
92
+ categoryContainer: {
93
+ marginBottom: 24
94
+ },
95
+ checkboxContainer: {
96
+ flexDirection: 'row',
97
+ alignItems: 'center',
98
+ marginBottom: 24
99
+ },
100
+ checkbox: {
101
+ width: 24,
102
+ height: 24,
103
+ borderRadius: 6,
104
+ borderWidth: 2,
105
+ marginRight: 12,
106
+ alignItems: 'center',
107
+ justifyContent: 'center'
108
+ },
109
+ checkboxText: {
110
+ fontSize: 16,
111
+ flex: 1
112
+ },
113
+ button: {
114
+ flexDirection: 'row',
115
+ alignItems: 'center',
116
+ justifyContent: 'center',
117
+ paddingVertical: 18,
118
+ paddingHorizontal: 32,
119
+ borderRadius: 16,
120
+ marginVertical: 8,
121
+ gap: 8,
122
+ width: '100%',
123
+ ..._reactNative.Platform.select({
124
+ web: {
125
+ boxShadow: '0 4px 8px rgba(0,0,0,0.3)'
126
+ },
127
+ default: {
128
+ shadowOffset: {
129
+ width: 0,
130
+ height: 4
131
+ },
132
+ shadowOpacity: 0.3,
133
+ shadowRadius: 8,
134
+ elevation: 6
135
+ }
136
+ })
137
+ },
138
+ buttonText: {
139
+ color: '#FFFFFF',
140
+ fontSize: 16,
141
+ fontWeight: '600',
142
+ letterSpacing: 0.5
143
+ },
144
+ navigationButtons: {
145
+ flexDirection: 'row',
146
+ justifyContent: 'center',
147
+ marginTop: 16,
148
+ marginBottom: 8,
149
+ width: '100%',
150
+ gap: 8
151
+ },
152
+ navButton: {
153
+ flexDirection: 'row',
154
+ alignItems: 'center',
155
+ paddingVertical: 6,
156
+ paddingHorizontal: 12,
157
+ gap: 6,
158
+ minWidth: 70,
159
+ borderWidth: 1,
160
+ ..._reactNative.Platform.select({
161
+ web: {
162
+ boxShadow: '0 2px 4px rgba(0,0,0,0.1)'
163
+ },
164
+ default: {
165
+ shadowOffset: {
166
+ width: 0,
167
+ height: 2
168
+ },
169
+ shadowOpacity: 0.1,
170
+ shadowRadius: 4,
171
+ elevation: 2
172
+ }
173
+ })
174
+ },
175
+ backButton: {
176
+ backgroundColor: 'transparent',
177
+ borderTopLeftRadius: 35,
178
+ borderBottomLeftRadius: 35,
179
+ borderTopRightRadius: 12,
180
+ borderBottomRightRadius: 12
181
+ },
182
+ nextButton: {
183
+ backgroundColor: 'transparent',
184
+ borderTopRightRadius: 35,
185
+ borderBottomRightRadius: 35,
186
+ borderTopLeftRadius: 12,
187
+ borderBottomLeftRadius: 12
188
+ },
189
+ navButtonText: {
190
+ fontSize: 13,
191
+ fontWeight: '500'
192
+ },
193
+ progressContainer: {
194
+ flexDirection: 'row',
195
+ justifyContent: 'center',
196
+ marginBottom: 20,
197
+ marginTop: 8
198
+ },
199
+ progressDot: {
200
+ height: 10,
201
+ width: 10,
202
+ borderRadius: 5,
203
+ marginHorizontal: 6,
204
+ borderWidth: 2,
205
+ borderColor: '#fff',
206
+ ..._reactNative.Platform.select({
207
+ web: {
208
+ boxShadow: '0 1px 2px rgba(0,0,0,0.08)'
209
+ },
210
+ default: {
211
+ shadowColor: colors.primary,
212
+ shadowOpacity: 0.08,
213
+ shadowOffset: {
214
+ width: 0,
215
+ height: 1
216
+ },
217
+ shadowRadius: 2,
218
+ elevation: 1
219
+ }
220
+ })
221
+ },
222
+ summaryContainer: {
223
+ padding: 0,
224
+ marginBottom: 24,
225
+ width: '100%'
226
+ },
227
+ summaryRow: {
228
+ flexDirection: 'row',
229
+ marginBottom: 10
230
+ },
231
+ summaryLabel: {
232
+ fontSize: 15,
233
+ width: 90
234
+ },
235
+ summaryValue: {
236
+ fontSize: 15,
237
+ fontWeight: '600',
238
+ flex: 1
239
+ },
240
+ successContainer: {
241
+ alignItems: 'center',
242
+ justifyContent: 'center',
243
+ padding: 40
244
+ },
245
+ successIcon: {
246
+ marginBottom: 24
247
+ },
248
+ successTitle: {
249
+ fontSize: 24,
250
+ fontWeight: 'bold',
251
+ marginBottom: 12,
252
+ textAlign: 'center'
253
+ },
254
+ successMessage: {
255
+ fontSize: 16,
256
+ textAlign: 'center',
257
+ opacity: 0.8,
258
+ marginBottom: 24
259
+ }
260
+ });
261
+ exports.createFeedbackStyles = createFeedbackStyles;
262
+ //# sourceMappingURL=feedbackStyles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_reactNative","require","_spacing","createFeedbackStyles","colors","StyleSheet","create","container","flex","fullBleed","width","alignSelf","scrollContent","flexGrow","screenContentStyle","stepContainer","justifyContent","alignItems","modernHeader","marginBottom","stepTitle","fontFamily","Platform","OS","fontWeight","undefined","fontSize","lineHeight","textAlign","letterSpacing","modernSubtitle","opacity","inputContainer","premiumInputWrapper","flexDirection","height","borderRadius","paddingHorizontal","borderWidth","backgroundColor","inputBackground","textAreaWrapper","minHeight","paddingVertical","inputIcon","marginRight","inputContent","modernLabel","modernInput","textArea","textAlignVertical","categoryContainer","checkboxContainer","checkbox","checkboxText","button","marginVertical","gap","select","web","boxShadow","default","shadowOffset","shadowOpacity","shadowRadius","elevation","buttonText","color","navigationButtons","marginTop","navButton","minWidth","backButton","borderTopLeftRadius","borderBottomLeftRadius","borderTopRightRadius","borderBottomRightRadius","nextButton","navButtonText","progressContainer","progressDot","marginHorizontal","borderColor","shadowColor","primary","summaryContainer","padding","summaryRow","summaryLabel","summaryValue","successContainer","successIcon","successTitle","successMessage","exports"],"sourceRoot":"../../../../../src","sources":["ui/components/feedback/feedbackStyles.ts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E,YAAY,EAAE;IACV9D,QAAQ,EAAE,EAAE;IACZhB,KAAK,EAAE;EACX,CAAC;EACD+E,YAAY,EAAE;IACV/D,QAAQ,EAAE,EAAE;IACZF,UAAU,EAAE,KAAK;IACjBhB,IAAI,EAAE;EACV,CAAC;EACDkF,gBAAgB,EAAE;IACdzE,UAAU,EAAE,QAAQ;IACpBD,cAAc,EAAE,QAAQ;IACxBsE,OAAO,EAAE;EACb,CAAC;EACDK,WAAW,EAAE;IACTxE,YAAY,EAAE;EAClB,CAAC;EACDyE,YAAY,EAAE;IACVlE,QAAQ,EAAE,EAAE;IACZF,UAAU,EAAE,MAAM;IAClBL,YAAY,EAAE,EAAE;IAChBS,SAAS,EAAE;EACf,CAAC;EACDiE,cAAc,EAAE;IACZnE,QAAQ,EAAE,EAAE;IACZE,SAAS,EAAE,QAAQ;IACnBG,OAAO,EAAE,GAAG;IACZZ,YAAY,EAAE;EAClB;AACJ,CAAC,CAAC;AAAC2E,OAAA,CAAA3F,oBAAA,GAAAA,oBAAA","ignoreList":[]}
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "CATEGORIES", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _constants.CATEGORIES;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "FEEDBACK_TYPES", {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _constants.FEEDBACK_TYPES;
16
+ }
17
+ });
18
+ Object.defineProperty(exports, "FormInput", {
19
+ enumerable: true,
20
+ get: function () {
21
+ return _FormInput.default;
22
+ }
23
+ });
24
+ Object.defineProperty(exports, "PRIORITY_LEVELS", {
25
+ enumerable: true,
26
+ get: function () {
27
+ return _constants.PRIORITY_LEVELS;
28
+ }
29
+ });
30
+ Object.defineProperty(exports, "ProgressIndicator", {
31
+ enumerable: true,
32
+ get: function () {
33
+ return _ProgressIndicator.default;
34
+ }
35
+ });
36
+ Object.defineProperty(exports, "createFeedbackStyles", {
37
+ enumerable: true,
38
+ get: function () {
39
+ return _feedbackStyles.createFeedbackStyles;
40
+ }
41
+ });
42
+ Object.defineProperty(exports, "useFeedbackForm", {
43
+ enumerable: true,
44
+ get: function () {
45
+ return _useFeedbackForm.useFeedbackForm;
46
+ }
47
+ });
48
+ var _FormInput = _interopRequireDefault(require("./FormInput"));
49
+ var _ProgressIndicator = _interopRequireDefault(require("./ProgressIndicator"));
50
+ var _useFeedbackForm = require("./useFeedbackForm");
51
+ var _feedbackStyles = require("./feedbackStyles");
52
+ var _constants = require("./constants");
53
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
54
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_FormInput","_interopRequireDefault","require","_ProgressIndicator","_useFeedbackForm","_feedbackStyles","_constants","e","__esModule","default"],"sourceRoot":"../../../../../src","sources":["ui/components/feedback/index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,UAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,kBAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,gBAAA,GAAAF,OAAA;AACA,IAAAG,eAAA,GAAAH,OAAA;AACA,IAAAI,UAAA,GAAAJ,OAAA;AAA0E,SAAAD,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA","ignoreList":[]}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["ui/components/feedback/types.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.useFeedbackForm = void 0;
7
+ var _react = require("react");
8
+ const useFeedbackForm = () => {
9
+ const [feedbackData, setFeedbackData] = (0, _react.useState)({
10
+ type: 'general',
11
+ title: '',
12
+ description: '',
13
+ priority: 'medium',
14
+ category: '',
15
+ contactEmail: '',
16
+ systemInfo: true
17
+ });
18
+ const [feedbackState, setFeedbackState] = (0, _react.useState)({
19
+ status: 'idle',
20
+ message: ''
21
+ });
22
+ const updateField = (0, _react.useCallback)((field, value) => {
23
+ setFeedbackData(prev => ({
24
+ ...prev,
25
+ [field]: value
26
+ }));
27
+ }, []);
28
+ const resetForm = (0, _react.useCallback)(() => {
29
+ setFeedbackData({
30
+ type: 'general',
31
+ title: '',
32
+ description: '',
33
+ priority: 'medium',
34
+ category: '',
35
+ contactEmail: '',
36
+ systemInfo: true
37
+ });
38
+ setFeedbackState({
39
+ status: 'idle',
40
+ message: ''
41
+ });
42
+ }, []);
43
+ return {
44
+ feedbackData,
45
+ feedbackState,
46
+ setFeedbackState,
47
+ updateField,
48
+ resetForm
49
+ };
50
+ };
51
+ exports.useFeedbackForm = useFeedbackForm;
52
+ //# sourceMappingURL=useFeedbackForm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","require","useFeedbackForm","feedbackData","setFeedbackData","useState","type","title","description","priority","category","contactEmail","systemInfo","feedbackState","setFeedbackState","status","message","updateField","useCallback","field","value","prev","resetForm","exports"],"sourceRoot":"../../../../../src","sources":["ui/components/feedback/useFeedbackForm.ts"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAGO,MAAMC,eAAe,GAAGA,CAAA,KAAM;EACjC,MAAM,CAACC,YAAY,EAAEC,eAAe,CAAC,GAAG,IAAAC,eAAQ,EAAe;IAC3DC,IAAI,EAAE,SAAS;IACfC,KAAK,EAAE,EAAE;IACTC,WAAW,EAAE,EAAE;IACfC,QAAQ,EAAE,QAAQ;IAClBC,QAAQ,EAAE,EAAE;IACZC,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