@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.
- package/lib/commonjs/core/mixins/OxyServices.features.js +372 -0
- package/lib/commonjs/core/mixins/OxyServices.features.js.map +1 -0
- package/lib/commonjs/core/mixins/index.js +3 -2
- package/lib/commonjs/core/mixins/index.js.map +1 -1
- package/lib/commonjs/ui/components/GroupedItem.js +11 -1
- package/lib/commonjs/ui/components/GroupedItem.js.map +1 -1
- package/lib/commonjs/ui/components/SettingRow.js +17 -4
- package/lib/commonjs/ui/components/SettingRow.js.map +1 -1
- package/lib/commonjs/ui/components/feedback/FormInput.js +72 -0
- package/lib/commonjs/ui/components/feedback/FormInput.js.map +1 -0
- package/lib/commonjs/ui/components/feedback/ProgressIndicator.js +33 -0
- package/lib/commonjs/ui/components/feedback/ProgressIndicator.js.map +1 -0
- package/lib/commonjs/ui/components/feedback/constants.js +59 -0
- package/lib/commonjs/ui/components/feedback/constants.js.map +1 -0
- package/lib/commonjs/ui/components/feedback/feedbackStyles.js +262 -0
- package/lib/commonjs/ui/components/feedback/feedbackStyles.js.map +1 -0
- package/lib/commonjs/ui/components/feedback/index.js +54 -0
- package/lib/commonjs/ui/components/feedback/index.js.map +1 -0
- package/lib/commonjs/ui/components/feedback/types.js +6 -0
- package/lib/commonjs/ui/components/feedback/types.js.map +1 -0
- package/lib/commonjs/ui/components/feedback/useFeedbackForm.js +52 -0
- package/lib/commonjs/ui/components/feedback/useFeedbackForm.js.map +1 -0
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +282 -0
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -0
- package/lib/commonjs/ui/components/modals/index.js +14 -0
- package/lib/commonjs/ui/components/modals/index.js.map +1 -0
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +309 -0
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +1 -0
- package/lib/commonjs/ui/components/payment/PaymentMethodStep.js +79 -0
- package/lib/commonjs/ui/components/payment/PaymentMethodStep.js.map +1 -0
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js +108 -0
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js.map +1 -0
- package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js +79 -0
- package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js.map +1 -0
- package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js +176 -0
- package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js.map +1 -0
- package/lib/commonjs/ui/components/payment/constants.js +53 -0
- package/lib/commonjs/ui/components/payment/constants.js.map +1 -0
- package/lib/commonjs/ui/components/payment/index.js +80 -0
- package/lib/commonjs/ui/components/payment/index.js.map +1 -0
- package/lib/commonjs/ui/components/payment/paymentStyles.js +409 -0
- package/lib/commonjs/ui/components/payment/paymentStyles.js.map +1 -0
- package/lib/commonjs/ui/components/payment/types.js +6 -0
- package/lib/commonjs/ui/components/payment/types.js.map +1 -0
- package/lib/commonjs/ui/hooks/index.js +26 -0
- package/lib/commonjs/ui/hooks/index.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAsyncAction.js +95 -0
- package/lib/commonjs/ui/hooks/useAsyncAction.js.map +1 -0
- package/lib/commonjs/ui/hooks/useSettingToggle.js +126 -0
- package/lib/commonjs/ui/hooks/useSettingToggle.js.map +1 -0
- package/lib/commonjs/ui/navigation/routes.js +1 -0
- package/lib/commonjs/ui/navigation/routes.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountCenterScreen.js +4 -2
- package/lib/commonjs/ui/screens/AccountCenterScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js +33 -30
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FAQScreen.js +315 -0
- package/lib/commonjs/ui/screens/FAQScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/FeedbackScreen.js +73 -590
- package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HelpSupportScreen.js +8 -7
- package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +67 -1395
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ProfileScreen.js +13 -5
- package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +16 -10
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js +23 -11
- package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js.map +1 -1
- package/lib/module/core/mixins/OxyServices.features.js +369 -0
- package/lib/module/core/mixins/OxyServices.features.js.map +1 -0
- package/lib/module/core/mixins/index.js +3 -2
- package/lib/module/core/mixins/index.js.map +1 -1
- package/lib/module/ui/components/GroupedItem.js +11 -1
- package/lib/module/ui/components/GroupedItem.js.map +1 -1
- package/lib/module/ui/components/SettingRow.js +17 -4
- package/lib/module/ui/components/SettingRow.js.map +1 -1
- package/lib/module/ui/components/feedback/FormInput.js +67 -0
- package/lib/module/ui/components/feedback/FormInput.js.map +1 -0
- package/lib/module/ui/components/feedback/ProgressIndicator.js +28 -0
- package/lib/module/ui/components/feedback/ProgressIndicator.js.map +1 -0
- package/lib/module/ui/components/feedback/constants.js +55 -0
- package/lib/module/ui/components/feedback/constants.js.map +1 -0
- package/lib/module/ui/components/feedback/feedbackStyles.js +257 -0
- package/lib/module/ui/components/feedback/feedbackStyles.js.map +1 -0
- package/lib/module/ui/components/feedback/index.js +8 -0
- package/lib/module/ui/components/feedback/index.js.map +1 -0
- package/lib/module/ui/components/feedback/types.js +4 -0
- package/lib/module/ui/components/feedback/types.js.map +1 -0
- package/lib/module/ui/components/feedback/useFeedbackForm.js +47 -0
- package/lib/module/ui/components/feedback/useFeedbackForm.js.map +1 -0
- package/lib/module/ui/components/modals/DeleteAccountModal.js +276 -0
- package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -0
- package/lib/module/ui/components/modals/index.js +4 -0
- package/lib/module/ui/components/modals/index.js.map +1 -0
- package/lib/module/ui/components/payment/PaymentDetailsStep.js +303 -0
- package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +1 -0
- package/lib/module/ui/components/payment/PaymentMethodStep.js +73 -0
- package/lib/module/ui/components/payment/PaymentMethodStep.js.map +1 -0
- package/lib/module/ui/components/payment/PaymentReviewStep.js +102 -0
- package/lib/module/ui/components/payment/PaymentReviewStep.js.map +1 -0
- package/lib/module/ui/components/payment/PaymentSuccessStep.js +73 -0
- package/lib/module/ui/components/payment/PaymentSuccessStep.js.map +1 -0
- package/lib/module/ui/components/payment/PaymentSummaryStep.js +170 -0
- package/lib/module/ui/components/payment/PaymentSummaryStep.js.map +1 -0
- package/lib/module/ui/components/payment/constants.js +47 -0
- package/lib/module/ui/components/payment/constants.js.map +1 -0
- package/lib/module/ui/components/payment/index.js +10 -0
- package/lib/module/ui/components/payment/index.js.map +1 -0
- package/lib/module/ui/components/payment/paymentStyles.js +404 -0
- package/lib/module/ui/components/payment/paymentStyles.js.map +1 -0
- package/lib/module/ui/components/payment/types.js +4 -0
- package/lib/module/ui/components/payment/types.js.map +1 -0
- package/lib/module/ui/hooks/index.js +2 -0
- package/lib/module/ui/hooks/index.js.map +1 -1
- package/lib/module/ui/hooks/useAsyncAction.js +89 -0
- package/lib/module/ui/hooks/useAsyncAction.js.map +1 -0
- package/lib/module/ui/hooks/useSettingToggle.js +120 -0
- package/lib/module/ui/hooks/useSettingToggle.js.map +1 -0
- package/lib/module/ui/navigation/routes.js +1 -0
- package/lib/module/ui/navigation/routes.js.map +1 -1
- package/lib/module/ui/screens/AccountCenterScreen.js +4 -2
- package/lib/module/ui/screens/AccountCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountOverviewScreen.js +33 -30
- package/lib/module/ui/screens/AccountOverviewScreen.js.map +1 -1
- package/lib/module/ui/screens/FAQScreen.js +310 -0
- package/lib/module/ui/screens/FAQScreen.js.map +1 -0
- package/lib/module/ui/screens/FeedbackScreen.js +64 -581
- package/lib/module/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/module/ui/screens/HelpSupportScreen.js +8 -7
- package/lib/module/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/module/ui/screens/PaymentGatewayScreen.js +67 -1397
- package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -1
- package/lib/module/ui/screens/ProfileScreen.js +13 -5
- package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/SavesCollectionsScreen.js +16 -10
- package/lib/module/ui/screens/SavesCollectionsScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaCenterScreen.js +23 -11
- package/lib/module/ui/screens/karma/KarmaCenterScreen.js.map +1 -1
- package/lib/typescript/core/mixins/OxyServices.features.d.ts +229 -0
- package/lib/typescript/core/mixins/OxyServices.features.d.ts.map +1 -0
- package/lib/typescript/core/mixins/index.d.ts +71 -1
- package/lib/typescript/core/mixins/index.d.ts.map +1 -1
- package/lib/typescript/ui/components/GroupedItem.d.ts +5 -1
- package/lib/typescript/ui/components/GroupedItem.d.ts.map +1 -1
- package/lib/typescript/ui/components/SettingRow.d.ts +6 -0
- package/lib/typescript/ui/components/SettingRow.d.ts.map +1 -1
- package/lib/typescript/ui/components/feedback/FormInput.d.ts +20 -0
- package/lib/typescript/ui/components/feedback/FormInput.d.ts.map +1 -0
- package/lib/typescript/ui/components/feedback/ProgressIndicator.d.ts +11 -0
- package/lib/typescript/ui/components/feedback/ProgressIndicator.d.ts.map +1 -0
- package/lib/typescript/ui/components/feedback/constants.d.ts +5 -0
- package/lib/typescript/ui/components/feedback/constants.d.ts.map +1 -0
- package/lib/typescript/ui/components/feedback/feedbackStyles.d.ts +280 -0
- package/lib/typescript/ui/components/feedback/feedbackStyles.d.ts.map +1 -0
- package/lib/typescript/ui/components/feedback/index.d.ts +7 -0
- package/lib/typescript/ui/components/feedback/index.d.ts.map +1 -0
- package/lib/typescript/ui/components/feedback/types.d.ts +46 -0
- package/lib/typescript/ui/components/feedback/types.d.ts.map +1 -0
- package/lib/typescript/ui/components/feedback/useFeedbackForm.d.ts +9 -0
- package/lib/typescript/ui/components/feedback/useFeedbackForm.d.ts.map +1 -0
- package/lib/typescript/ui/components/modals/DeleteAccountModal.d.ts +19 -0
- package/lib/typescript/ui/components/modals/DeleteAccountModal.d.ts.map +1 -0
- package/lib/typescript/ui/components/modals/index.d.ts +2 -0
- package/lib/typescript/ui/components/modals/index.d.ts.map +1 -0
- package/lib/typescript/ui/components/payment/PaymentDetailsStep.d.ts +21 -0
- package/lib/typescript/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -0
- package/lib/typescript/ui/components/payment/PaymentMethodStep.d.ts +14 -0
- package/lib/typescript/ui/components/payment/PaymentMethodStep.d.ts.map +1 -0
- package/lib/typescript/ui/components/payment/PaymentReviewStep.d.ts +16 -0
- package/lib/typescript/ui/components/payment/PaymentReviewStep.d.ts.map +1 -0
- package/lib/typescript/ui/components/payment/PaymentSuccessStep.d.ts +10 -0
- package/lib/typescript/ui/components/payment/PaymentSuccessStep.d.ts.map +1 -0
- package/lib/typescript/ui/components/payment/PaymentSummaryStep.d.ts +15 -0
- package/lib/typescript/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -0
- package/lib/typescript/ui/components/payment/constants.d.ts +7 -0
- package/lib/typescript/ui/components/payment/constants.d.ts.map +1 -0
- package/lib/typescript/ui/components/payment/index.d.ts +9 -0
- package/lib/typescript/ui/components/payment/index.d.ts.map +1 -0
- package/lib/typescript/ui/components/payment/paymentStyles.d.ts +396 -0
- package/lib/typescript/ui/components/payment/paymentStyles.d.ts.map +1 -0
- package/lib/typescript/ui/components/payment/types.d.ts +40 -0
- package/lib/typescript/ui/components/payment/types.d.ts.map +1 -0
- package/lib/typescript/ui/hooks/index.d.ts +2 -0
- package/lib/typescript/ui/hooks/index.d.ts.map +1 -1
- package/lib/typescript/ui/hooks/useAsyncAction.d.ts +51 -0
- package/lib/typescript/ui/hooks/useAsyncAction.d.ts.map +1 -0
- package/lib/typescript/ui/hooks/useSettingToggle.d.ts +55 -0
- package/lib/typescript/ui/hooks/useSettingToggle.d.ts.map +1 -0
- package/lib/typescript/ui/navigation/routes.d.ts +1 -1
- package/lib/typescript/ui/navigation/routes.d.ts.map +1 -1
- package/lib/typescript/ui/screens/AccountOverviewScreen.d.ts.map +1 -1
- package/lib/typescript/ui/screens/FAQScreen.d.ts +5 -0
- package/lib/typescript/ui/screens/FAQScreen.d.ts.map +1 -0
- package/lib/typescript/ui/screens/FeedbackScreen.d.ts.map +1 -1
- package/lib/typescript/ui/screens/HelpSupportScreen.d.ts.map +1 -1
- package/lib/typescript/ui/screens/PaymentGatewayScreen.d.ts +3 -15
- package/lib/typescript/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
- package/lib/typescript/ui/screens/ProfileScreen.d.ts.map +1 -1
- package/lib/typescript/ui/screens/SavesCollectionsScreen.d.ts.map +1 -1
- package/lib/typescript/ui/screens/karma/KarmaCenterScreen.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/core/mixins/OxyServices.features.ts +428 -0
- package/src/core/mixins/index.ts +20 -17
- package/src/ui/components/GroupedItem.tsx +19 -1
- package/src/ui/components/SettingRow.tsx +26 -4
- package/src/ui/components/feedback/FormInput.tsx +84 -0
- package/src/ui/components/feedback/ProgressIndicator.tsx +35 -0
- package/src/ui/components/feedback/constants.ts +22 -0
- package/src/ui/components/feedback/feedbackStyles.ts +247 -0
- package/src/ui/components/feedback/index.ts +6 -0
- package/src/ui/components/feedback/types.ts +52 -0
- package/src/ui/components/feedback/useFeedbackForm.ts +44 -0
- package/src/ui/components/modals/DeleteAccountModal.tsx +294 -0
- package/src/ui/components/modals/index.ts +1 -0
- package/src/ui/components/payment/PaymentDetailsStep.tsx +222 -0
- package/src/ui/components/payment/PaymentMethodStep.tsx +89 -0
- package/src/ui/components/payment/PaymentReviewStep.tsx +126 -0
- package/src/ui/components/payment/PaymentSuccessStep.tsx +71 -0
- package/src/ui/components/payment/PaymentSummaryStep.tsx +159 -0
- package/src/ui/components/payment/constants.ts +39 -0
- package/src/ui/components/payment/index.ts +9 -0
- package/src/ui/components/payment/paymentStyles.ts +397 -0
- package/src/ui/components/payment/types.ts +45 -0
- package/src/ui/hooks/index.ts +3 -1
- package/src/ui/hooks/useAsyncAction.ts +129 -0
- package/src/ui/hooks/useSettingToggle.ts +147 -0
- package/src/ui/navigation/routes.ts +2 -0
- package/src/ui/screens/AccountCenterScreen.tsx +2 -2
- package/src/ui/screens/AccountOverviewScreen.tsx +35 -37
- package/src/ui/screens/FAQScreen.tsx +332 -0
- package/src/ui/screens/FeedbackScreen.tsx +91 -626
- package/src/ui/screens/HelpSupportScreen.tsx +7 -5
- package/src/ui/screens/PaymentGatewayScreen.tsx +96 -1275
- package/src/ui/screens/ProfileScreen.tsx +11 -6
- package/src/ui/screens/SavesCollectionsScreen.tsx +19 -10
- package/src/ui/screens/karma/KarmaCenterScreen.tsx +10 -10
|
@@ -0,0 +1,315 @@
|
|
|
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 _vectorIcons = require("@expo/vector-icons");
|
|
10
|
+
var _sonner = require("../../lib/sonner");
|
|
11
|
+
var _components = require("../components");
|
|
12
|
+
var _useI18n = require("../hooks/useI18n");
|
|
13
|
+
var _useThemeStyles = require("../hooks/useThemeStyles");
|
|
14
|
+
var _OxyContext = require("../context/OxyContext");
|
|
15
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
16
|
+
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); }
|
|
17
|
+
const FAQScreen = ({
|
|
18
|
+
onClose,
|
|
19
|
+
theme,
|
|
20
|
+
goBack
|
|
21
|
+
}) => {
|
|
22
|
+
const {
|
|
23
|
+
oxyServices
|
|
24
|
+
} = (0, _OxyContext.useOxy)();
|
|
25
|
+
const {
|
|
26
|
+
t
|
|
27
|
+
} = (0, _useI18n.useI18n)();
|
|
28
|
+
const themeStyles = (0, _useThemeStyles.useThemeStyles)(theme || 'light');
|
|
29
|
+
const [faqs, setFaqs] = (0, _react.useState)([]);
|
|
30
|
+
const [isLoading, setIsLoading] = (0, _react.useState)(true);
|
|
31
|
+
const [searchQuery, setSearchQuery] = (0, _react.useState)('');
|
|
32
|
+
const [expandedIds, setExpandedIds] = (0, _react.useState)(new Set());
|
|
33
|
+
const [selectedCategory, setSelectedCategory] = (0, _react.useState)(null);
|
|
34
|
+
|
|
35
|
+
// Load FAQs from API
|
|
36
|
+
(0, _react.useEffect)(() => {
|
|
37
|
+
const loadFAQs = async () => {
|
|
38
|
+
try {
|
|
39
|
+
setIsLoading(true);
|
|
40
|
+
const data = await oxyServices.getFAQs();
|
|
41
|
+
setFaqs(data);
|
|
42
|
+
} catch (error) {
|
|
43
|
+
_sonner.toast.error(t('faq.loadError') || 'Failed to load FAQs');
|
|
44
|
+
} finally {
|
|
45
|
+
setIsLoading(false);
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
loadFAQs();
|
|
49
|
+
}, [oxyServices, t]);
|
|
50
|
+
|
|
51
|
+
// Get unique categories
|
|
52
|
+
const categories = (0, _react.useMemo)(() => {
|
|
53
|
+
const cats = [...new Set(faqs.map(f => f.category))];
|
|
54
|
+
return cats.sort();
|
|
55
|
+
}, [faqs]);
|
|
56
|
+
|
|
57
|
+
// Filter FAQs based on search and category
|
|
58
|
+
const filteredFaqs = (0, _react.useMemo)(() => {
|
|
59
|
+
let result = faqs;
|
|
60
|
+
if (selectedCategory) {
|
|
61
|
+
result = result.filter(f => f.category === selectedCategory);
|
|
62
|
+
}
|
|
63
|
+
if (searchQuery.trim()) {
|
|
64
|
+
const query = searchQuery.toLowerCase();
|
|
65
|
+
result = result.filter(f => f.question.toLowerCase().includes(query) || f.answer.toLowerCase().includes(query));
|
|
66
|
+
}
|
|
67
|
+
return result;
|
|
68
|
+
}, [faqs, searchQuery, selectedCategory]);
|
|
69
|
+
const toggleExpanded = (0, _react.useCallback)(id => {
|
|
70
|
+
setExpandedIds(prev => {
|
|
71
|
+
const next = new Set(prev);
|
|
72
|
+
if (next.has(id)) {
|
|
73
|
+
next.delete(id);
|
|
74
|
+
} else {
|
|
75
|
+
next.add(id);
|
|
76
|
+
}
|
|
77
|
+
return next;
|
|
78
|
+
});
|
|
79
|
+
}, []);
|
|
80
|
+
const styles = (0, _react.useMemo)(() => createStyles(themeStyles), [themeStyles]);
|
|
81
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
82
|
+
style: [styles.container, {
|
|
83
|
+
backgroundColor: themeStyles.backgroundColor
|
|
84
|
+
}],
|
|
85
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_components.Header, {
|
|
86
|
+
title: t('faq.title') || 'FAQ',
|
|
87
|
+
onBack: goBack || onClose,
|
|
88
|
+
variant: "minimal",
|
|
89
|
+
elevation: "subtle"
|
|
90
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
91
|
+
style: styles.searchContainer,
|
|
92
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
93
|
+
style: [styles.searchInputWrapper, {
|
|
94
|
+
backgroundColor: themeStyles.secondaryBackgroundColor,
|
|
95
|
+
borderColor: themeStyles.borderColor
|
|
96
|
+
}],
|
|
97
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
98
|
+
name: "search",
|
|
99
|
+
size: 20,
|
|
100
|
+
color: themeStyles.mutedTextColor,
|
|
101
|
+
style: styles.searchIcon
|
|
102
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TextInput, {
|
|
103
|
+
style: [styles.searchInput, {
|
|
104
|
+
color: themeStyles.textColor
|
|
105
|
+
}],
|
|
106
|
+
placeholder: t('faq.searchPlaceholder') || 'Search FAQs...',
|
|
107
|
+
placeholderTextColor: themeStyles.mutedTextColor,
|
|
108
|
+
value: searchQuery,
|
|
109
|
+
onChangeText: setSearchQuery,
|
|
110
|
+
accessibilityLabel: "Search FAQs"
|
|
111
|
+
}), searchQuery.length > 0 && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
112
|
+
onPress: () => setSearchQuery(''),
|
|
113
|
+
accessibilityRole: "button",
|
|
114
|
+
accessibilityLabel: "Clear search",
|
|
115
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
116
|
+
name: "close-circle",
|
|
117
|
+
size: 20,
|
|
118
|
+
color: themeStyles.mutedTextColor
|
|
119
|
+
})
|
|
120
|
+
})]
|
|
121
|
+
})
|
|
122
|
+
}), categories.length > 0 && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.ScrollView, {
|
|
123
|
+
horizontal: true,
|
|
124
|
+
showsHorizontalScrollIndicator: false,
|
|
125
|
+
style: styles.categoriesContainer,
|
|
126
|
+
contentContainerStyle: styles.categoriesContent,
|
|
127
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
128
|
+
style: [styles.categoryChip, !selectedCategory && styles.categoryChipActive, {
|
|
129
|
+
backgroundColor: !selectedCategory ? themeStyles.primaryColor : themeStyles.secondaryBackgroundColor
|
|
130
|
+
}],
|
|
131
|
+
onPress: () => setSelectedCategory(null),
|
|
132
|
+
accessibilityRole: "button",
|
|
133
|
+
accessibilityLabel: "Show all categories",
|
|
134
|
+
accessibilityState: {
|
|
135
|
+
selected: !selectedCategory
|
|
136
|
+
},
|
|
137
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
138
|
+
style: [styles.categoryChipText, {
|
|
139
|
+
color: !selectedCategory ? '#FFFFFF' : themeStyles.textColor
|
|
140
|
+
}],
|
|
141
|
+
children: t('faq.allCategories') || 'All'
|
|
142
|
+
})
|
|
143
|
+
}), categories.map(cat => /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity, {
|
|
144
|
+
style: [styles.categoryChip, selectedCategory === cat && styles.categoryChipActive, {
|
|
145
|
+
backgroundColor: selectedCategory === cat ? themeStyles.primaryColor : themeStyles.secondaryBackgroundColor
|
|
146
|
+
}],
|
|
147
|
+
onPress: () => setSelectedCategory(cat),
|
|
148
|
+
accessibilityRole: "button",
|
|
149
|
+
accessibilityLabel: `Filter by ${cat}`,
|
|
150
|
+
accessibilityState: {
|
|
151
|
+
selected: selectedCategory === cat
|
|
152
|
+
},
|
|
153
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
154
|
+
style: [styles.categoryChipText, {
|
|
155
|
+
color: selectedCategory === cat ? '#FFFFFF' : themeStyles.textColor
|
|
156
|
+
}],
|
|
157
|
+
children: cat
|
|
158
|
+
})
|
|
159
|
+
}, cat))]
|
|
160
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.ScrollView, {
|
|
161
|
+
style: styles.content,
|
|
162
|
+
showsVerticalScrollIndicator: false,
|
|
163
|
+
children: isLoading ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.LoadingState, {
|
|
164
|
+
message: t('faq.loading') || 'Loading FAQs...',
|
|
165
|
+
color: themeStyles.textColor
|
|
166
|
+
}) : filteredFaqs.length === 0 ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.EmptyState, {
|
|
167
|
+
message: searchQuery ? t('faq.noResults') || 'No FAQs match your search' : t('faq.empty') || 'No FAQs available',
|
|
168
|
+
textColor: themeStyles.textColor
|
|
169
|
+
}) : filteredFaqs.map((faq, index) => {
|
|
170
|
+
const isExpanded = expandedIds.has(faq.id);
|
|
171
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
172
|
+
style: [styles.faqItem, {
|
|
173
|
+
backgroundColor: themeStyles.secondaryBackgroundColor,
|
|
174
|
+
borderColor: themeStyles.borderColor
|
|
175
|
+
}, index === 0 && styles.faqItemFirst],
|
|
176
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.TouchableOpacity, {
|
|
177
|
+
style: styles.faqQuestion,
|
|
178
|
+
onPress: () => toggleExpanded(faq.id),
|
|
179
|
+
accessibilityRole: "button",
|
|
180
|
+
accessibilityLabel: faq.question,
|
|
181
|
+
accessibilityHint: isExpanded ? 'Collapse answer' : 'Expand answer',
|
|
182
|
+
accessibilityState: {
|
|
183
|
+
expanded: isExpanded
|
|
184
|
+
},
|
|
185
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
186
|
+
style: [styles.faqQuestionText, {
|
|
187
|
+
color: themeStyles.textColor
|
|
188
|
+
}],
|
|
189
|
+
children: faq.question
|
|
190
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
191
|
+
name: isExpanded ? 'chevron-up' : 'chevron-down',
|
|
192
|
+
size: 20,
|
|
193
|
+
color: themeStyles.mutedTextColor
|
|
194
|
+
})]
|
|
195
|
+
}), isExpanded && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
196
|
+
style: [styles.faqAnswer, {
|
|
197
|
+
borderTopColor: themeStyles.borderColor
|
|
198
|
+
}],
|
|
199
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
200
|
+
style: [styles.faqAnswerText, {
|
|
201
|
+
color: themeStyles.mutedTextColor
|
|
202
|
+
}],
|
|
203
|
+
children: faq.answer
|
|
204
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
205
|
+
style: styles.faqCategory,
|
|
206
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_vectorIcons.Ionicons, {
|
|
207
|
+
name: "pricetag-outline",
|
|
208
|
+
size: 14,
|
|
209
|
+
color: themeStyles.primaryColor
|
|
210
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
211
|
+
style: [styles.faqCategoryText, {
|
|
212
|
+
color: themeStyles.primaryColor
|
|
213
|
+
}],
|
|
214
|
+
children: faq.category
|
|
215
|
+
})]
|
|
216
|
+
})]
|
|
217
|
+
})]
|
|
218
|
+
}, faq.id);
|
|
219
|
+
})
|
|
220
|
+
})]
|
|
221
|
+
});
|
|
222
|
+
};
|
|
223
|
+
const createStyles = themeStyles => _reactNative.StyleSheet.create({
|
|
224
|
+
container: {
|
|
225
|
+
flex: 1
|
|
226
|
+
},
|
|
227
|
+
searchContainer: {
|
|
228
|
+
paddingHorizontal: 16,
|
|
229
|
+
paddingVertical: 12
|
|
230
|
+
},
|
|
231
|
+
searchInputWrapper: {
|
|
232
|
+
flexDirection: 'row',
|
|
233
|
+
alignItems: 'center',
|
|
234
|
+
borderRadius: 12,
|
|
235
|
+
borderWidth: 1,
|
|
236
|
+
paddingHorizontal: 12,
|
|
237
|
+
height: 44
|
|
238
|
+
},
|
|
239
|
+
searchIcon: {
|
|
240
|
+
marginRight: 8
|
|
241
|
+
},
|
|
242
|
+
searchInput: {
|
|
243
|
+
flex: 1,
|
|
244
|
+
fontSize: 16,
|
|
245
|
+
..._reactNative.Platform.select({
|
|
246
|
+
web: {
|
|
247
|
+
outlineStyle: 'none'
|
|
248
|
+
}
|
|
249
|
+
})
|
|
250
|
+
},
|
|
251
|
+
categoriesContainer: {
|
|
252
|
+
maxHeight: 50
|
|
253
|
+
},
|
|
254
|
+
categoriesContent: {
|
|
255
|
+
paddingHorizontal: 16,
|
|
256
|
+
gap: 8
|
|
257
|
+
},
|
|
258
|
+
categoryChip: {
|
|
259
|
+
paddingHorizontal: 16,
|
|
260
|
+
paddingVertical: 8,
|
|
261
|
+
borderRadius: 20,
|
|
262
|
+
marginRight: 8
|
|
263
|
+
},
|
|
264
|
+
categoryChipActive: {},
|
|
265
|
+
categoryChipText: {
|
|
266
|
+
fontSize: 14,
|
|
267
|
+
fontWeight: '500'
|
|
268
|
+
},
|
|
269
|
+
content: {
|
|
270
|
+
flex: 1,
|
|
271
|
+
padding: 16
|
|
272
|
+
},
|
|
273
|
+
faqItem: {
|
|
274
|
+
borderRadius: 12,
|
|
275
|
+
borderWidth: 1,
|
|
276
|
+
marginBottom: 12,
|
|
277
|
+
overflow: 'hidden'
|
|
278
|
+
},
|
|
279
|
+
faqItemFirst: {
|
|
280
|
+
marginTop: 0
|
|
281
|
+
},
|
|
282
|
+
faqQuestion: {
|
|
283
|
+
flexDirection: 'row',
|
|
284
|
+
alignItems: 'center',
|
|
285
|
+
justifyContent: 'space-between',
|
|
286
|
+
padding: 16
|
|
287
|
+
},
|
|
288
|
+
faqQuestionText: {
|
|
289
|
+
flex: 1,
|
|
290
|
+
fontSize: 16,
|
|
291
|
+
fontWeight: '600',
|
|
292
|
+
marginRight: 12
|
|
293
|
+
},
|
|
294
|
+
faqAnswer: {
|
|
295
|
+
padding: 16,
|
|
296
|
+
paddingTop: 12,
|
|
297
|
+
borderTopWidth: 1
|
|
298
|
+
},
|
|
299
|
+
faqAnswerText: {
|
|
300
|
+
fontSize: 14,
|
|
301
|
+
lineHeight: 22
|
|
302
|
+
},
|
|
303
|
+
faqCategory: {
|
|
304
|
+
flexDirection: 'row',
|
|
305
|
+
alignItems: 'center',
|
|
306
|
+
marginTop: 12
|
|
307
|
+
},
|
|
308
|
+
faqCategoryText: {
|
|
309
|
+
fontSize: 12,
|
|
310
|
+
marginLeft: 6,
|
|
311
|
+
fontWeight: '500'
|
|
312
|
+
}
|
|
313
|
+
});
|
|
314
|
+
var _default = exports.default = FAQScreen;
|
|
315
|
+
//# sourceMappingURL=FAQScreen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_vectorIcons","_sonner","_components","_useI18n","_useThemeStyles","_OxyContext","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","FAQScreen","onClose","theme","goBack","oxyServices","useOxy","useI18n","themeStyles","useThemeStyles","faqs","setFaqs","useState","isLoading","setIsLoading","searchQuery","setSearchQuery","expandedIds","setExpandedIds","Set","selectedCategory","setSelectedCategory","useEffect","loadFAQs","data","getFAQs","error","toast","categories","useMemo","cats","map","category","sort","filteredFaqs","result","filter","trim","query","toLowerCase","question","includes","answer","toggleExpanded","useCallback","id","prev","next","delete","add","styles","createStyles","jsxs","View","style","container","backgroundColor","children","jsx","Header","title","onBack","variant","elevation","searchContainer","searchInputWrapper","secondaryBackgroundColor","borderColor","Ionicons","name","size","color","mutedTextColor","searchIcon","TextInput","searchInput","textColor","placeholder","placeholderTextColor","value","onChangeText","accessibilityLabel","length","TouchableOpacity","onPress","accessibilityRole","ScrollView","horizontal","showsHorizontalScrollIndicator","categoriesContainer","contentContainerStyle","categoriesContent","categoryChip","categoryChipActive","primaryColor","accessibilityState","selected","Text","categoryChipText","cat","content","showsVerticalScrollIndicator","LoadingState","message","EmptyState","faq","index","isExpanded","faqItem","faqItemFirst","faqQuestion","accessibilityHint","expanded","faqQuestionText","faqAnswer","borderTopColor","faqAnswerText","faqCategory","faqCategoryText","StyleSheet","create","flex","paddingHorizontal","paddingVertical","flexDirection","alignItems","borderRadius","borderWidth","height","marginRight","fontSize","Platform","select","web","outlineStyle","maxHeight","gap","fontWeight","padding","marginBottom","overflow","marginTop","justifyContent","paddingTop","borderTopWidth","lineHeight","marginLeft","_default","exports"],"sourceRoot":"../../../../src","sources":["ui/screens/FAQScreen.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AASA,IAAAE,YAAA,GAAAF,OAAA;AAEA,IAAAG,OAAA,GAAAH,OAAA;AACA,IAAAI,WAAA,GAAAJ,OAAA;AACA,IAAAK,QAAA,GAAAL,OAAA;AACA,IAAAM,eAAA,GAAAN,OAAA;AACA,IAAAO,WAAA,GAAAP,OAAA;AAA+C,IAAAQ,WAAA,GAAAR,OAAA;AAAA,SAAAD,wBAAAU,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAZ,uBAAA,YAAAA,CAAAU,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,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAAAC,CAAA,OAAAa,cAAA,CAAAC,IAAA,CAAAf,CA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