@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,280 @@
|
|
|
1
|
+
import type { FeedbackColors } from './types';
|
|
2
|
+
export declare const createFeedbackStyles: (colors: FeedbackColors) => {
|
|
3
|
+
container: {
|
|
4
|
+
flex: number;
|
|
5
|
+
};
|
|
6
|
+
fullBleed: {
|
|
7
|
+
width: "100%";
|
|
8
|
+
alignSelf: "stretch";
|
|
9
|
+
};
|
|
10
|
+
scrollContent: {
|
|
11
|
+
paddingHorizontal: number;
|
|
12
|
+
paddingVertical: number;
|
|
13
|
+
paddingTop: number;
|
|
14
|
+
paddingBottom: number;
|
|
15
|
+
flexGrow: number;
|
|
16
|
+
};
|
|
17
|
+
stepContainer: {
|
|
18
|
+
flex: number;
|
|
19
|
+
justifyContent: "flex-start";
|
|
20
|
+
alignItems: "flex-start";
|
|
21
|
+
};
|
|
22
|
+
modernHeader: {
|
|
23
|
+
alignItems: "flex-start";
|
|
24
|
+
width: "100%";
|
|
25
|
+
marginBottom: number;
|
|
26
|
+
};
|
|
27
|
+
stepTitle: {
|
|
28
|
+
fontFamily: string;
|
|
29
|
+
fontWeight: "bold" | undefined;
|
|
30
|
+
fontSize: number;
|
|
31
|
+
lineHeight: number;
|
|
32
|
+
marginBottom: number;
|
|
33
|
+
textAlign: "left";
|
|
34
|
+
letterSpacing: number;
|
|
35
|
+
};
|
|
36
|
+
modernSubtitle: {
|
|
37
|
+
fontSize: number;
|
|
38
|
+
lineHeight: number;
|
|
39
|
+
textAlign: "left";
|
|
40
|
+
opacity: number;
|
|
41
|
+
marginBottom: number;
|
|
42
|
+
};
|
|
43
|
+
inputContainer: {
|
|
44
|
+
width: "100%";
|
|
45
|
+
marginBottom: number;
|
|
46
|
+
};
|
|
47
|
+
premiumInputWrapper: {
|
|
48
|
+
flexDirection: "row";
|
|
49
|
+
alignItems: "center";
|
|
50
|
+
height: number;
|
|
51
|
+
borderRadius: number;
|
|
52
|
+
paddingHorizontal: number;
|
|
53
|
+
borderWidth: number;
|
|
54
|
+
backgroundColor: string;
|
|
55
|
+
};
|
|
56
|
+
textAreaWrapper: {
|
|
57
|
+
flexDirection: "column";
|
|
58
|
+
alignItems: "flex-start";
|
|
59
|
+
minHeight: number;
|
|
60
|
+
borderRadius: number;
|
|
61
|
+
paddingHorizontal: number;
|
|
62
|
+
paddingVertical: number;
|
|
63
|
+
borderWidth: number;
|
|
64
|
+
backgroundColor: string;
|
|
65
|
+
};
|
|
66
|
+
inputIcon: {
|
|
67
|
+
marginRight: number;
|
|
68
|
+
};
|
|
69
|
+
inputContent: {
|
|
70
|
+
flex: number;
|
|
71
|
+
};
|
|
72
|
+
modernLabel: {
|
|
73
|
+
fontSize: number;
|
|
74
|
+
fontWeight: "500";
|
|
75
|
+
marginBottom: number;
|
|
76
|
+
};
|
|
77
|
+
modernInput: {
|
|
78
|
+
flex: number;
|
|
79
|
+
fontSize: number;
|
|
80
|
+
height: "100%";
|
|
81
|
+
};
|
|
82
|
+
textArea: {
|
|
83
|
+
flex: number;
|
|
84
|
+
fontSize: number;
|
|
85
|
+
textAlignVertical: "top";
|
|
86
|
+
minHeight: number;
|
|
87
|
+
};
|
|
88
|
+
categoryContainer: {
|
|
89
|
+
marginBottom: number;
|
|
90
|
+
};
|
|
91
|
+
checkboxContainer: {
|
|
92
|
+
flexDirection: "row";
|
|
93
|
+
alignItems: "center";
|
|
94
|
+
marginBottom: number;
|
|
95
|
+
};
|
|
96
|
+
checkbox: {
|
|
97
|
+
width: number;
|
|
98
|
+
height: number;
|
|
99
|
+
borderRadius: number;
|
|
100
|
+
borderWidth: number;
|
|
101
|
+
marginRight: number;
|
|
102
|
+
alignItems: "center";
|
|
103
|
+
justifyContent: "center";
|
|
104
|
+
};
|
|
105
|
+
checkboxText: {
|
|
106
|
+
fontSize: number;
|
|
107
|
+
flex: number;
|
|
108
|
+
};
|
|
109
|
+
button: {
|
|
110
|
+
boxShadow: string;
|
|
111
|
+
shadowOffset?: undefined;
|
|
112
|
+
shadowOpacity?: undefined;
|
|
113
|
+
shadowRadius?: undefined;
|
|
114
|
+
elevation?: undefined;
|
|
115
|
+
flexDirection: "row";
|
|
116
|
+
alignItems: "center";
|
|
117
|
+
justifyContent: "center";
|
|
118
|
+
paddingVertical: number;
|
|
119
|
+
paddingHorizontal: number;
|
|
120
|
+
borderRadius: number;
|
|
121
|
+
marginVertical: number;
|
|
122
|
+
gap: number;
|
|
123
|
+
width: "100%";
|
|
124
|
+
} | {
|
|
125
|
+
shadowOffset: {
|
|
126
|
+
width: number;
|
|
127
|
+
height: number;
|
|
128
|
+
};
|
|
129
|
+
shadowOpacity: number;
|
|
130
|
+
shadowRadius: number;
|
|
131
|
+
elevation: number;
|
|
132
|
+
boxShadow?: undefined;
|
|
133
|
+
flexDirection: "row";
|
|
134
|
+
alignItems: "center";
|
|
135
|
+
justifyContent: "center";
|
|
136
|
+
paddingVertical: number;
|
|
137
|
+
paddingHorizontal: number;
|
|
138
|
+
borderRadius: number;
|
|
139
|
+
marginVertical: number;
|
|
140
|
+
gap: number;
|
|
141
|
+
width: "100%";
|
|
142
|
+
};
|
|
143
|
+
buttonText: {
|
|
144
|
+
color: string;
|
|
145
|
+
fontSize: number;
|
|
146
|
+
fontWeight: "600";
|
|
147
|
+
letterSpacing: number;
|
|
148
|
+
};
|
|
149
|
+
navigationButtons: {
|
|
150
|
+
flexDirection: "row";
|
|
151
|
+
justifyContent: "center";
|
|
152
|
+
marginTop: number;
|
|
153
|
+
marginBottom: number;
|
|
154
|
+
width: "100%";
|
|
155
|
+
gap: number;
|
|
156
|
+
};
|
|
157
|
+
navButton: {
|
|
158
|
+
boxShadow: string;
|
|
159
|
+
shadowOffset?: undefined;
|
|
160
|
+
shadowOpacity?: undefined;
|
|
161
|
+
shadowRadius?: undefined;
|
|
162
|
+
elevation?: undefined;
|
|
163
|
+
flexDirection: "row";
|
|
164
|
+
alignItems: "center";
|
|
165
|
+
paddingVertical: number;
|
|
166
|
+
paddingHorizontal: number;
|
|
167
|
+
gap: number;
|
|
168
|
+
minWidth: number;
|
|
169
|
+
borderWidth: number;
|
|
170
|
+
} | {
|
|
171
|
+
shadowOffset: {
|
|
172
|
+
width: number;
|
|
173
|
+
height: number;
|
|
174
|
+
};
|
|
175
|
+
shadowOpacity: number;
|
|
176
|
+
shadowRadius: number;
|
|
177
|
+
elevation: number;
|
|
178
|
+
boxShadow?: undefined;
|
|
179
|
+
flexDirection: "row";
|
|
180
|
+
alignItems: "center";
|
|
181
|
+
paddingVertical: number;
|
|
182
|
+
paddingHorizontal: number;
|
|
183
|
+
gap: number;
|
|
184
|
+
minWidth: number;
|
|
185
|
+
borderWidth: number;
|
|
186
|
+
};
|
|
187
|
+
backButton: {
|
|
188
|
+
backgroundColor: string;
|
|
189
|
+
borderTopLeftRadius: number;
|
|
190
|
+
borderBottomLeftRadius: number;
|
|
191
|
+
borderTopRightRadius: number;
|
|
192
|
+
borderBottomRightRadius: number;
|
|
193
|
+
};
|
|
194
|
+
nextButton: {
|
|
195
|
+
backgroundColor: string;
|
|
196
|
+
borderTopRightRadius: number;
|
|
197
|
+
borderBottomRightRadius: number;
|
|
198
|
+
borderTopLeftRadius: number;
|
|
199
|
+
borderBottomLeftRadius: number;
|
|
200
|
+
};
|
|
201
|
+
navButtonText: {
|
|
202
|
+
fontSize: number;
|
|
203
|
+
fontWeight: "500";
|
|
204
|
+
};
|
|
205
|
+
progressContainer: {
|
|
206
|
+
flexDirection: "row";
|
|
207
|
+
justifyContent: "center";
|
|
208
|
+
marginBottom: number;
|
|
209
|
+
marginTop: number;
|
|
210
|
+
};
|
|
211
|
+
progressDot: {
|
|
212
|
+
boxShadow: string;
|
|
213
|
+
shadowColor?: undefined;
|
|
214
|
+
shadowOpacity?: undefined;
|
|
215
|
+
shadowOffset?: undefined;
|
|
216
|
+
shadowRadius?: undefined;
|
|
217
|
+
elevation?: undefined;
|
|
218
|
+
height: number;
|
|
219
|
+
width: number;
|
|
220
|
+
borderRadius: number;
|
|
221
|
+
marginHorizontal: number;
|
|
222
|
+
borderWidth: number;
|
|
223
|
+
borderColor: string;
|
|
224
|
+
} | {
|
|
225
|
+
shadowColor: string;
|
|
226
|
+
shadowOpacity: number;
|
|
227
|
+
shadowOffset: {
|
|
228
|
+
width: number;
|
|
229
|
+
height: number;
|
|
230
|
+
};
|
|
231
|
+
shadowRadius: number;
|
|
232
|
+
elevation: number;
|
|
233
|
+
boxShadow?: undefined;
|
|
234
|
+
height: number;
|
|
235
|
+
width: number;
|
|
236
|
+
borderRadius: number;
|
|
237
|
+
marginHorizontal: number;
|
|
238
|
+
borderWidth: number;
|
|
239
|
+
borderColor: string;
|
|
240
|
+
};
|
|
241
|
+
summaryContainer: {
|
|
242
|
+
padding: number;
|
|
243
|
+
marginBottom: number;
|
|
244
|
+
width: "100%";
|
|
245
|
+
};
|
|
246
|
+
summaryRow: {
|
|
247
|
+
flexDirection: "row";
|
|
248
|
+
marginBottom: number;
|
|
249
|
+
};
|
|
250
|
+
summaryLabel: {
|
|
251
|
+
fontSize: number;
|
|
252
|
+
width: number;
|
|
253
|
+
};
|
|
254
|
+
summaryValue: {
|
|
255
|
+
fontSize: number;
|
|
256
|
+
fontWeight: "600";
|
|
257
|
+
flex: number;
|
|
258
|
+
};
|
|
259
|
+
successContainer: {
|
|
260
|
+
alignItems: "center";
|
|
261
|
+
justifyContent: "center";
|
|
262
|
+
padding: number;
|
|
263
|
+
};
|
|
264
|
+
successIcon: {
|
|
265
|
+
marginBottom: number;
|
|
266
|
+
};
|
|
267
|
+
successTitle: {
|
|
268
|
+
fontSize: number;
|
|
269
|
+
fontWeight: "bold";
|
|
270
|
+
marginBottom: number;
|
|
271
|
+
textAlign: "center";
|
|
272
|
+
};
|
|
273
|
+
successMessage: {
|
|
274
|
+
fontSize: number;
|
|
275
|
+
textAlign: "center";
|
|
276
|
+
opacity: number;
|
|
277
|
+
marginBottom: number;
|
|
278
|
+
};
|
|
279
|
+
};
|
|
280
|
+
//# sourceMappingURL=feedbackStyles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feedbackStyles.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/feedback/feedbackStyles.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C,eAAO,MAAM,oBAAoB,GAAI,QAAQ,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkPzD,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { default as FormInput } from './FormInput';
|
|
2
|
+
export { default as ProgressIndicator } from './ProgressIndicator';
|
|
3
|
+
export { useFeedbackForm } from './useFeedbackForm';
|
|
4
|
+
export { createFeedbackStyles } from './feedbackStyles';
|
|
5
|
+
export { FEEDBACK_TYPES, PRIORITY_LEVELS, CATEGORIES } from './constants';
|
|
6
|
+
export type { FeedbackData, FeedbackState, FeedbackColors, FeedbackStepAnimations, FeedbackType, PriorityLevel, User } from './types';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/feedback/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAC1E,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,sBAAsB,EAAE,YAAY,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { Animated } from 'react-native';
|
|
2
|
+
export interface FeedbackData {
|
|
3
|
+
type: 'bug' | 'feature' | 'general' | 'support';
|
|
4
|
+
title: string;
|
|
5
|
+
description: string;
|
|
6
|
+
priority: 'low' | 'medium' | 'high' | 'critical';
|
|
7
|
+
category: string;
|
|
8
|
+
contactEmail: string;
|
|
9
|
+
systemInfo: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface FeedbackState {
|
|
12
|
+
status: 'idle' | 'submitting' | 'success' | 'error';
|
|
13
|
+
message: string;
|
|
14
|
+
}
|
|
15
|
+
export interface FeedbackType {
|
|
16
|
+
id: string;
|
|
17
|
+
label: string;
|
|
18
|
+
icon: string;
|
|
19
|
+
color: string;
|
|
20
|
+
description: string;
|
|
21
|
+
}
|
|
22
|
+
export interface PriorityLevel {
|
|
23
|
+
id: string;
|
|
24
|
+
label: string;
|
|
25
|
+
icon: string;
|
|
26
|
+
color: string;
|
|
27
|
+
}
|
|
28
|
+
export interface FeedbackColors {
|
|
29
|
+
primary: string;
|
|
30
|
+
text: string;
|
|
31
|
+
secondaryText: string;
|
|
32
|
+
border: string;
|
|
33
|
+
background: string;
|
|
34
|
+
inputBackground: string;
|
|
35
|
+
success?: string;
|
|
36
|
+
}
|
|
37
|
+
export interface FeedbackStepAnimations {
|
|
38
|
+
fadeAnim: Animated.Value;
|
|
39
|
+
slideAnim: Animated.Value;
|
|
40
|
+
}
|
|
41
|
+
export interface User {
|
|
42
|
+
id?: string;
|
|
43
|
+
email?: string;
|
|
44
|
+
username?: string;
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/feedback/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAE7C,MAAM,WAAW,YAAY;IACzB,IAAI,EAAE,KAAK,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,CAAC;IAChD,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,UAAU,CAAC;IACjD,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,WAAW,aAAa;IAC1B,MAAM,EAAE,MAAM,GAAG,YAAY,GAAG,SAAS,GAAG,OAAO,CAAC;IACpD,OAAO,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,YAAY;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,aAAa;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,cAAc;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,sBAAsB;IACnC,QAAQ,EAAE,QAAQ,CAAC,KAAK,CAAC;IACzB,SAAS,EAAE,QAAQ,CAAC,KAAK,CAAC;CAC7B;AAED,MAAM,WAAW,IAAI;IACjB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { FeedbackData, FeedbackState } from './types';
|
|
2
|
+
export declare const useFeedbackForm: () => {
|
|
3
|
+
feedbackData: FeedbackData;
|
|
4
|
+
feedbackState: FeedbackState;
|
|
5
|
+
setFeedbackState: import("react").Dispatch<import("react").SetStateAction<FeedbackState>>;
|
|
6
|
+
updateField: <K extends keyof FeedbackData>(field: K, value: FeedbackData[K]) => void;
|
|
7
|
+
resetForm: () => void;
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=useFeedbackForm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useFeedbackForm.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/feedback/useFeedbackForm.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE3D,eAAO,MAAM,eAAe;;;;kBAgBS,CAAC,SAAS,MAAM,YAAY,SAAS,CAAC,SAAS,YAAY,CAAC,CAAC,CAAC;;CAwBlG,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface DeleteAccountModalProps {
|
|
3
|
+
visible: boolean;
|
|
4
|
+
username: string;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
onDelete: (password: string) => Promise<void>;
|
|
7
|
+
colors: {
|
|
8
|
+
background: string;
|
|
9
|
+
text: string;
|
|
10
|
+
secondaryText: string;
|
|
11
|
+
border: string;
|
|
12
|
+
danger: string;
|
|
13
|
+
inputBackground: string;
|
|
14
|
+
};
|
|
15
|
+
t: (key: string, params?: Record<string, string>) => string | undefined;
|
|
16
|
+
}
|
|
17
|
+
declare const DeleteAccountModal: React.FC<DeleteAccountModalProps>;
|
|
18
|
+
export default DeleteAccountModal;
|
|
19
|
+
//# sourceMappingURL=DeleteAccountModal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeleteAccountModal.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/modals/DeleteAccountModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAcrD,UAAU,uBAAuB;IAC7B,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9C,MAAM,EAAE;QACJ,UAAU,EAAE,MAAM,CAAC;QACnB,IAAI,EAAE,MAAM,CAAC;QACb,aAAa,EAAE,MAAM,CAAC;QACtB,MAAM,EAAE,MAAM,CAAC;QACf,MAAM,EAAE,MAAM,CAAC;QACf,eAAe,EAAE,MAAM,CAAC;KAC3B,CAAC;IACF,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,KAAK,MAAM,GAAG,SAAS,CAAC;CAC3E;AAED,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAiKzD,CAAC;AAsGF,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/modals/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { CardDetails, PaymentColors, PaymentStepAnimations } from './types';
|
|
3
|
+
interface PaymentDetailsStepProps {
|
|
4
|
+
paymentMethod: string;
|
|
5
|
+
cardDetails: CardDetails;
|
|
6
|
+
onCardDetailsChange: (details: CardDetails) => void;
|
|
7
|
+
colors: PaymentColors;
|
|
8
|
+
animations: PaymentStepAnimations;
|
|
9
|
+
faircoinAddress: string;
|
|
10
|
+
isMobile: boolean;
|
|
11
|
+
qrSize: number;
|
|
12
|
+
onBack: () => void;
|
|
13
|
+
onNext: () => void;
|
|
14
|
+
QRCodeComponent?: React.ComponentType<{
|
|
15
|
+
value?: string;
|
|
16
|
+
size?: number;
|
|
17
|
+
}>;
|
|
18
|
+
}
|
|
19
|
+
declare const PaymentDetailsStep: React.FC<PaymentDetailsStepProps>;
|
|
20
|
+
export default PaymentDetailsStep;
|
|
21
|
+
//# sourceMappingURL=PaymentDetailsStep.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PaymentDetailsStep.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/payment/PaymentDetailsStep.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAQvC,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAEjF,UAAU,uBAAuB;IAC7B,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,WAAW,CAAC;IACzB,mBAAmB,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,IAAI,CAAC;IACpD,MAAM,EAAE,aAAa,CAAC;IACtB,UAAU,EAAE,qBAAqB,CAAC;IAClC,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,eAAe,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC5E;AAED,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAmMzD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { PaymentMethod, PaymentColors, PaymentStepAnimations } from './types';
|
|
3
|
+
interface PaymentMethodStepProps {
|
|
4
|
+
availablePaymentMethods: PaymentMethod[];
|
|
5
|
+
selectedMethod: string;
|
|
6
|
+
onSelectMethod: (method: string) => void;
|
|
7
|
+
colors: PaymentColors;
|
|
8
|
+
animations: PaymentStepAnimations;
|
|
9
|
+
onBack: () => void;
|
|
10
|
+
onNext: () => void;
|
|
11
|
+
}
|
|
12
|
+
declare const PaymentMethodStep: React.FC<PaymentMethodStepProps>;
|
|
13
|
+
export default PaymentMethodStep;
|
|
14
|
+
//# sourceMappingURL=PaymentMethodStep.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PaymentMethodStep.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/payment/PaymentMethodStep.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAMvC,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAEnF,UAAU,sBAAsB;IAC5B,uBAAuB,EAAE,aAAa,EAAE,CAAC;IACzC,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,MAAM,EAAE,aAAa,CAAC;IACtB,UAAU,EAAE,qBAAqB,CAAC;IAClC,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,MAAM,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAoEvD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { CardDetails, PaymentColors, PaymentStepAnimations } from './types';
|
|
3
|
+
interface PaymentReviewStepProps {
|
|
4
|
+
amount: string | number;
|
|
5
|
+
currency: string;
|
|
6
|
+
paymentMethod: string;
|
|
7
|
+
cardDetails: CardDetails;
|
|
8
|
+
colors: PaymentColors;
|
|
9
|
+
animations: PaymentStepAnimations;
|
|
10
|
+
isPaying: boolean;
|
|
11
|
+
onBack: () => void;
|
|
12
|
+
onPay: () => void;
|
|
13
|
+
}
|
|
14
|
+
declare const PaymentReviewStep: React.FC<PaymentReviewStepProps>;
|
|
15
|
+
export default PaymentReviewStep;
|
|
16
|
+
//# sourceMappingURL=PaymentReviewStep.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PaymentReviewStep.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/payment/PaymentReviewStep.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAMvC,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAEjF,UAAU,sBAAsB;IAC5B,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,WAAW,CAAC;IACzB,MAAM,EAAE,aAAa,CAAC;IACtB,UAAU,EAAE,qBAAqB,CAAC;IAClC,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,KAAK,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAuGvD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { PaymentColors, PaymentStepAnimations } from './types';
|
|
3
|
+
interface PaymentSuccessStepProps {
|
|
4
|
+
colors: PaymentColors;
|
|
5
|
+
animations: PaymentStepAnimations;
|
|
6
|
+
onDone: () => void;
|
|
7
|
+
}
|
|
8
|
+
declare const PaymentSuccessStep: React.FC<PaymentSuccessStepProps>;
|
|
9
|
+
export default PaymentSuccessStep;
|
|
10
|
+
//# sourceMappingURL=PaymentSuccessStep.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PaymentSuccessStep.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/payment/PaymentSuccessStep.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAKvC,OAAO,KAAK,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAEpE,UAAU,uBAAuB;IAC7B,MAAM,EAAE,aAAa,CAAC;IACtB,UAAU,EAAE,qBAAqB,CAAC;IAClC,MAAM,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAuDzD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { PaymentItem, PaymentColors, PaymentStepAnimations } from './types';
|
|
3
|
+
interface PaymentSummaryStepProps {
|
|
4
|
+
paymentItems: PaymentItem[];
|
|
5
|
+
amount: string | number;
|
|
6
|
+
currency: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
colors: PaymentColors;
|
|
9
|
+
animations: PaymentStepAnimations;
|
|
10
|
+
onClose: () => void;
|
|
11
|
+
onNext: () => void;
|
|
12
|
+
}
|
|
13
|
+
declare const PaymentSummaryStep: React.FC<PaymentSummaryStepProps>;
|
|
14
|
+
export default PaymentSummaryStep;
|
|
15
|
+
//# sourceMappingURL=PaymentSummaryStep.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PaymentSummaryStep.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/payment/PaymentSummaryStep.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAOvC,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAEjF,UAAU,uBAAuB;IAC7B,YAAY,EAAE,WAAW,EAAE,CAAC;IAC5B,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,aAAa,CAAC;IACtB,UAAU,EAAE,qBAAqB,CAAC;IAClC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,EAAE,MAAM,IAAI,CAAC;CACtB;AAYD,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CA8HzD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { PaymentMethod } from './types';
|
|
2
|
+
export declare const PAYMENT_METHODS: PaymentMethod[];
|
|
3
|
+
export declare const CURRENCY_SYMBOLS: Record<string, string>;
|
|
4
|
+
export declare const CURRENCY_NAMES: Record<string, string>;
|
|
5
|
+
export declare const getCurrencySymbol: (currency: string) => string;
|
|
6
|
+
export declare const getCurrencyName: (currency: string) => string;
|
|
7
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/payment/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,eAAO,MAAM,eAAe,EAAE,aAAa,EAI1C,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAUnD,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAUjD,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,UAAU,MAAM,KAAG,MAEpD,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,UAAU,MAAM,KAAG,MAElD,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { default as PaymentSummaryStep } from './PaymentSummaryStep';
|
|
2
|
+
export { default as PaymentMethodStep } from './PaymentMethodStep';
|
|
3
|
+
export { default as PaymentDetailsStep } from './PaymentDetailsStep';
|
|
4
|
+
export { default as PaymentReviewStep } from './PaymentReviewStep';
|
|
5
|
+
export { default as PaymentSuccessStep } from './PaymentSuccessStep';
|
|
6
|
+
export { createPaymentStyles } from './paymentStyles';
|
|
7
|
+
export { PAYMENT_METHODS, CURRENCY_SYMBOLS, CURRENCY_NAMES, getCurrencySymbol, getCurrencyName } from './constants';
|
|
8
|
+
export type { PaymentItem, PaymentGatewayResult, CardDetails, PaymentMethod, PaymentStepAnimations, PaymentColors } from './types';
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/payment/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAErE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,cAAc,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AACpH,YAAY,EAAE,WAAW,EAAE,oBAAoB,EAAE,WAAW,EAAE,aAAa,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC"}
|