@opexa/portal-components 0.0.41 → 0.0.43
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/dist/client/hooks/useCreateOnlineBankDepositMutation.js +4 -1
- package/dist/client/hooks/useCreateQRPHDepositMutation.js +4 -1
- package/dist/client/hooks/useIsMayaSessionValidQuery.js +5 -1
- package/dist/components/DepositWithdrawal/Deposit/Deposit.js +15 -4
- package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.js +23 -16
- package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.js +23 -25
- package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.js +23 -16
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDeposit.js +3 -4
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositAlert.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositAlert.js +96 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositContext.d.ts +16 -16
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositDetails.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositDetails.js +16 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.d.ts +1 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.js +3 -11
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.d.ts +9 -10
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.js +38 -51
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDeposit.js +3 -4
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositAlert.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositAlert.js +96 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositContext.d.ts +14 -16
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositDetails.d.ts +1 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositDetails.js +16 -0
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.d.ts +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.js +3 -11
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.d.ts +8 -10
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.js +37 -54
- package/dist/components/DepositWithdrawal/PaymentMethods.js +3 -2
- package/dist/components/DepositWithdrawal/Withdrawal/GCashWithdrawal/GCashWithdrawal.js +23 -19
- package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal/InstapayWithdrawal.js +23 -20
- package/dist/components/DepositWithdrawal/Withdrawal/MayaAppWithdrawal/MayaAppWithdrawal.js +23 -25
- package/dist/components/DepositWithdrawal/Withdrawal/MayaWithdrawal/MayaWithdrawal.js +23 -19
- package/dist/components/DepositWithdrawal/Withdrawal/Withdrawal.js +11 -2
- package/dist/icons/SpinnerIcon.js +1 -1
- package/dist/images/QRPH.png +0 -0
- package/dist/images/gcash.png +0 -0
- package/dist/styles/theme.css +28 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/ui/AlertDialog/AlertDialog.d.ts +154 -154
- package/dist/ui/AlertDialog/alertDialog.recipe.d.ts +14 -14
- package/dist/ui/Badge/Badge.d.ts +12 -12
- package/dist/ui/Badge/badge.recipe.d.ts +3 -3
- package/dist/ui/Checkbox/Checkbox.d.ts +23 -23
- package/dist/ui/Checkbox/checkbox.recipe.d.ts +3 -3
- package/dist/ui/Clipboard/Clipboard.d.ts +18 -18
- package/dist/ui/Clipboard/clipboard.recipe.d.ts +3 -3
- package/dist/ui/Collapsible/Collapsible.d.ts +20 -20
- package/dist/ui/Collapsible/collapsible.recipe.d.ts +5 -5
- package/dist/ui/Combobox/Combobox.d.ts +196 -196
- package/dist/ui/Combobox/combobox.recipe.d.ts +14 -14
- package/dist/ui/DatePicker/DatePicker.d.ts +192 -192
- package/dist/ui/DatePicker/datePicker.recipe.d.ts +8 -8
- package/dist/ui/NumberInput/NumberInput.d.ts +24 -24
- package/dist/ui/NumberInput/numberInput.recipe.d.ts +3 -3
- package/dist/ui/PasswordInput/PasswordInput.d.ts +18 -18
- package/dist/ui/PasswordInput/passwordInput.recipe.d.ts +3 -3
- package/dist/ui/Popover/Popover.d.ts +55 -55
- package/dist/ui/Popover/popover.recipe.d.ts +5 -5
- package/dist/ui/Progress/Progress.d.ts +27 -27
- package/dist/ui/Progress/progress.recipe.d.ts +3 -3
- package/dist/ui/Select/Select.d.ts +45 -45
- package/dist/ui/Select/select.recipe.d.ts +3 -3
- package/dist/ui/Table/Table.d.ts +21 -21
- package/dist/ui/Table/table.recipe.d.ts +3 -3
- package/dist/ui/Tabs/Tabs.d.ts +15 -15
- package/dist/ui/Tabs/tabs.recipe.d.ts +3 -3
- package/package.json +10 -5
- package/dist/components/AccountVerification/selfie.png +0 -0
- package/dist/components/AccountVerification/upload-id.png +0 -0
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositLoading.d.ts +0 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositLoading.js +0 -5
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositSuccess.d.ts +0 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositSuccess.js +0 -5
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.d.ts +0 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.js +0 -14
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositLoading.d.ts +0 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositLoading.js +0 -5
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.d.ts +0 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.js +0 -18
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.d.ts +0 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.js +0 -8
- package/dist/components/DepositWithdrawal/MayaSessionExpired.d.ts +0 -1
- package/dist/components/DepositWithdrawal/MayaSessionExpired.js +0 -5
- package/dist/components/PortalProvider/PortalProvider.client.d.ts +0 -2
- package/dist/components/PortalProvider/PortalProvider.client.js +0 -38
- package/dist/images/QRPh.png +0 -0
package/dist/ui/Table/Table.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
|
|
|
12
12
|
body: string;
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
|
-
}, Record<"body" | "footer" | "header" | "
|
|
15
|
+
}, Record<"body" | "footer" | "header" | "cell" | "heading" | "row" | "root", string | string[]>, undefined, {
|
|
16
16
|
size: {
|
|
17
17
|
md: {
|
|
18
18
|
root: string;
|
|
@@ -26,7 +26,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
|
|
|
26
26
|
body: string;
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
|
-
}, Record<"body" | "footer" | "header" | "
|
|
29
|
+
}, Record<"body" | "footer" | "header" | "cell" | "heading" | "row" | "root", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
30
30
|
size: {
|
|
31
31
|
md: {
|
|
32
32
|
root: string;
|
|
@@ -40,7 +40,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
|
|
|
40
40
|
body: string;
|
|
41
41
|
};
|
|
42
42
|
};
|
|
43
|
-
}, Record<"body" | "footer" | "header" | "
|
|
43
|
+
}, Record<"body" | "footer" | "header" | "cell" | "heading" | "row" | "root", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
44
44
|
export declare const Header: import("react").ComponentType<import("@ark-ui/react").Assign<import("react").ClassAttributes<HTMLTableSectionElement> & import("react").HTMLAttributes<HTMLTableSectionElement> & import("@ark-ui/react").PolymorphicProps, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
45
45
|
size: {
|
|
46
46
|
md: {
|
|
@@ -55,7 +55,7 @@ export declare const Header: import("react").ComponentType<import("@ark-ui/react
|
|
|
55
55
|
body: string;
|
|
56
56
|
};
|
|
57
57
|
};
|
|
58
|
-
}, Record<"body" | "footer" | "header" | "
|
|
58
|
+
}, Record<"body" | "footer" | "header" | "cell" | "heading" | "row" | "root", string | string[]>, undefined, {
|
|
59
59
|
size: {
|
|
60
60
|
md: {
|
|
61
61
|
root: string;
|
|
@@ -69,7 +69,7 @@ export declare const Header: import("react").ComponentType<import("@ark-ui/react
|
|
|
69
69
|
body: string;
|
|
70
70
|
};
|
|
71
71
|
};
|
|
72
|
-
}, Record<"body" | "footer" | "header" | "
|
|
72
|
+
}, Record<"body" | "footer" | "header" | "cell" | "heading" | "row" | "root", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
73
73
|
size: {
|
|
74
74
|
md: {
|
|
75
75
|
root: string;
|
|
@@ -83,7 +83,7 @@ export declare const Header: import("react").ComponentType<import("@ark-ui/react
|
|
|
83
83
|
body: string;
|
|
84
84
|
};
|
|
85
85
|
};
|
|
86
|
-
}, Record<"body" | "footer" | "header" | "
|
|
86
|
+
}, Record<"body" | "footer" | "header" | "cell" | "heading" | "row" | "root", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
87
87
|
export declare const Body: import("react").ComponentType<import("@ark-ui/react").Assign<import("react").ClassAttributes<HTMLTableSectionElement> & import("react").HTMLAttributes<HTMLTableSectionElement> & import("@ark-ui/react").PolymorphicProps, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
88
88
|
size: {
|
|
89
89
|
md: {
|
|
@@ -98,7 +98,7 @@ export declare const Body: import("react").ComponentType<import("@ark-ui/react")
|
|
|
98
98
|
body: string;
|
|
99
99
|
};
|
|
100
100
|
};
|
|
101
|
-
}, Record<"body" | "footer" | "header" | "
|
|
101
|
+
}, Record<"body" | "footer" | "header" | "cell" | "heading" | "row" | "root", string | string[]>, undefined, {
|
|
102
102
|
size: {
|
|
103
103
|
md: {
|
|
104
104
|
root: string;
|
|
@@ -112,7 +112,7 @@ export declare const Body: import("react").ComponentType<import("@ark-ui/react")
|
|
|
112
112
|
body: string;
|
|
113
113
|
};
|
|
114
114
|
};
|
|
115
|
-
}, Record<"body" | "footer" | "header" | "
|
|
115
|
+
}, Record<"body" | "footer" | "header" | "cell" | "heading" | "row" | "root", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
116
116
|
size: {
|
|
117
117
|
md: {
|
|
118
118
|
root: string;
|
|
@@ -126,7 +126,7 @@ export declare const Body: import("react").ComponentType<import("@ark-ui/react")
|
|
|
126
126
|
body: string;
|
|
127
127
|
};
|
|
128
128
|
};
|
|
129
|
-
}, Record<"body" | "footer" | "header" | "
|
|
129
|
+
}, Record<"body" | "footer" | "header" | "cell" | "heading" | "row" | "root", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
130
130
|
export declare const Footer: import("react").ComponentType<import("@ark-ui/react").Assign<import("react").ClassAttributes<HTMLTableSectionElement> & import("react").HTMLAttributes<HTMLTableSectionElement> & import("@ark-ui/react").PolymorphicProps, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
131
131
|
size: {
|
|
132
132
|
md: {
|
|
@@ -141,7 +141,7 @@ export declare const Footer: import("react").ComponentType<import("@ark-ui/react
|
|
|
141
141
|
body: string;
|
|
142
142
|
};
|
|
143
143
|
};
|
|
144
|
-
}, Record<"body" | "footer" | "header" | "
|
|
144
|
+
}, Record<"body" | "footer" | "header" | "cell" | "heading" | "row" | "root", string | string[]>, undefined, {
|
|
145
145
|
size: {
|
|
146
146
|
md: {
|
|
147
147
|
root: string;
|
|
@@ -155,7 +155,7 @@ export declare const Footer: import("react").ComponentType<import("@ark-ui/react
|
|
|
155
155
|
body: string;
|
|
156
156
|
};
|
|
157
157
|
};
|
|
158
|
-
}, Record<"body" | "footer" | "header" | "
|
|
158
|
+
}, Record<"body" | "footer" | "header" | "cell" | "heading" | "row" | "root", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
159
159
|
size: {
|
|
160
160
|
md: {
|
|
161
161
|
root: string;
|
|
@@ -169,7 +169,7 @@ export declare const Footer: import("react").ComponentType<import("@ark-ui/react
|
|
|
169
169
|
body: string;
|
|
170
170
|
};
|
|
171
171
|
};
|
|
172
|
-
}, Record<"body" | "footer" | "header" | "
|
|
172
|
+
}, Record<"body" | "footer" | "header" | "cell" | "heading" | "row" | "root", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
173
173
|
export declare const Row: import("react").ComponentType<import("@ark-ui/react").Assign<import("react").ClassAttributes<HTMLTableRowElement> & import("react").HTMLAttributes<HTMLTableRowElement> & import("@ark-ui/react").PolymorphicProps, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
174
174
|
size: {
|
|
175
175
|
md: {
|
|
@@ -184,7 +184,7 @@ export declare const Row: import("react").ComponentType<import("@ark-ui/react").
|
|
|
184
184
|
body: string;
|
|
185
185
|
};
|
|
186
186
|
};
|
|
187
|
-
}, Record<"body" | "footer" | "header" | "
|
|
187
|
+
}, Record<"body" | "footer" | "header" | "cell" | "heading" | "row" | "root", string | string[]>, undefined, {
|
|
188
188
|
size: {
|
|
189
189
|
md: {
|
|
190
190
|
root: string;
|
|
@@ -198,7 +198,7 @@ export declare const Row: import("react").ComponentType<import("@ark-ui/react").
|
|
|
198
198
|
body: string;
|
|
199
199
|
};
|
|
200
200
|
};
|
|
201
|
-
}, Record<"body" | "footer" | "header" | "
|
|
201
|
+
}, Record<"body" | "footer" | "header" | "cell" | "heading" | "row" | "root", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
202
202
|
size: {
|
|
203
203
|
md: {
|
|
204
204
|
root: string;
|
|
@@ -212,7 +212,7 @@ export declare const Row: import("react").ComponentType<import("@ark-ui/react").
|
|
|
212
212
|
body: string;
|
|
213
213
|
};
|
|
214
214
|
};
|
|
215
|
-
}, Record<"body" | "footer" | "header" | "
|
|
215
|
+
}, Record<"body" | "footer" | "header" | "cell" | "heading" | "row" | "root", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
216
216
|
export declare const Heading: import("react").ComponentType<import("@ark-ui/react").Assign<import("react").ClassAttributes<HTMLTableHeaderCellElement> & import("react").ThHTMLAttributes<HTMLTableHeaderCellElement> & import("@ark-ui/react").PolymorphicProps, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
217
217
|
size: {
|
|
218
218
|
md: {
|
|
@@ -227,7 +227,7 @@ export declare const Heading: import("react").ComponentType<import("@ark-ui/reac
|
|
|
227
227
|
body: string;
|
|
228
228
|
};
|
|
229
229
|
};
|
|
230
|
-
}, Record<"body" | "footer" | "header" | "
|
|
230
|
+
}, Record<"body" | "footer" | "header" | "cell" | "heading" | "row" | "root", string | string[]>, undefined, {
|
|
231
231
|
size: {
|
|
232
232
|
md: {
|
|
233
233
|
root: string;
|
|
@@ -241,7 +241,7 @@ export declare const Heading: import("react").ComponentType<import("@ark-ui/reac
|
|
|
241
241
|
body: string;
|
|
242
242
|
};
|
|
243
243
|
};
|
|
244
|
-
}, Record<"body" | "footer" | "header" | "
|
|
244
|
+
}, Record<"body" | "footer" | "header" | "cell" | "heading" | "row" | "root", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
245
245
|
size: {
|
|
246
246
|
md: {
|
|
247
247
|
root: string;
|
|
@@ -255,7 +255,7 @@ export declare const Heading: import("react").ComponentType<import("@ark-ui/reac
|
|
|
255
255
|
body: string;
|
|
256
256
|
};
|
|
257
257
|
};
|
|
258
|
-
}, Record<"body" | "footer" | "header" | "
|
|
258
|
+
}, Record<"body" | "footer" | "header" | "cell" | "heading" | "row" | "root", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
259
259
|
export declare const Cell: import("react").ComponentType<import("@ark-ui/react").Assign<import("react").ClassAttributes<HTMLTableDataCellElement> & import("react").TdHTMLAttributes<HTMLTableDataCellElement> & import("@ark-ui/react").PolymorphicProps, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
260
260
|
size: {
|
|
261
261
|
md: {
|
|
@@ -270,7 +270,7 @@ export declare const Cell: import("react").ComponentType<import("@ark-ui/react")
|
|
|
270
270
|
body: string;
|
|
271
271
|
};
|
|
272
272
|
};
|
|
273
|
-
}, Record<"body" | "footer" | "header" | "
|
|
273
|
+
}, Record<"body" | "footer" | "header" | "cell" | "heading" | "row" | "root", string | string[]>, undefined, {
|
|
274
274
|
size: {
|
|
275
275
|
md: {
|
|
276
276
|
root: string;
|
|
@@ -284,7 +284,7 @@ export declare const Cell: import("react").ComponentType<import("@ark-ui/react")
|
|
|
284
284
|
body: string;
|
|
285
285
|
};
|
|
286
286
|
};
|
|
287
|
-
}, Record<"body" | "footer" | "header" | "
|
|
287
|
+
}, Record<"body" | "footer" | "header" | "cell" | "heading" | "row" | "root", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
288
288
|
size: {
|
|
289
289
|
md: {
|
|
290
290
|
root: string;
|
|
@@ -298,4 +298,4 @@ export declare const Cell: import("react").ComponentType<import("@ark-ui/react")
|
|
|
298
298
|
body: string;
|
|
299
299
|
};
|
|
300
300
|
};
|
|
301
|
-
}, Record<"body" | "footer" | "header" | "
|
|
301
|
+
}, Record<"body" | "footer" | "header" | "cell" | "heading" | "row" | "root", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
@@ -12,7 +12,7 @@ export declare const tableRecipe: import("tailwind-variants").TVReturnType<{
|
|
|
12
12
|
body: string;
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
|
-
}, Record<"body" | "footer" | "header" | "
|
|
15
|
+
}, Record<"body" | "footer" | "header" | "cell" | "heading" | "row" | "root", string | string[]>, undefined, {
|
|
16
16
|
size: {
|
|
17
17
|
md: {
|
|
18
18
|
root: string;
|
|
@@ -26,7 +26,7 @@ export declare const tableRecipe: import("tailwind-variants").TVReturnType<{
|
|
|
26
26
|
body: string;
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
|
-
}, Record<"body" | "footer" | "header" | "
|
|
29
|
+
}, Record<"body" | "footer" | "header" | "cell" | "heading" | "row" | "root", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
30
30
|
size: {
|
|
31
31
|
md: {
|
|
32
32
|
root: string;
|
|
@@ -40,4 +40,4 @@ export declare const tableRecipe: import("tailwind-variants").TVReturnType<{
|
|
|
40
40
|
body: string;
|
|
41
41
|
};
|
|
42
42
|
};
|
|
43
|
-
}, Record<"body" | "footer" | "header" | "
|
|
43
|
+
}, Record<"body" | "footer" | "header" | "cell" | "heading" | "row" | "root", string | string[]>, undefined, unknown, unknown, undefined>>;
|
package/dist/ui/Tabs/Tabs.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
|
|
|
11
11
|
trigger: string;
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
}, Record<"content" | "
|
|
14
|
+
}, Record<"content" | "list" | "trigger" | "root" | "indicator", string | string[]>, undefined, {
|
|
15
15
|
size: {
|
|
16
16
|
md: {};
|
|
17
17
|
};
|
|
@@ -23,7 +23,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
|
|
|
23
23
|
trigger: string;
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
|
-
}, Record<"content" | "
|
|
26
|
+
}, Record<"content" | "list" | "trigger" | "root" | "indicator", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
27
27
|
size: {
|
|
28
28
|
md: {};
|
|
29
29
|
};
|
|
@@ -35,7 +35,7 @@ export declare const Root: import("react").ComponentType<import("@ark-ui/react")
|
|
|
35
35
|
trigger: string;
|
|
36
36
|
};
|
|
37
37
|
};
|
|
38
|
-
}, Record<"content" | "
|
|
38
|
+
}, Record<"content" | "list" | "trigger" | "root" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
39
39
|
export declare const Content: import("react").ComponentType<import("@ark-ui/react").Assign<Tabs.ContentProps & import("react").RefAttributes<HTMLDivElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
40
40
|
size: {
|
|
41
41
|
md: {};
|
|
@@ -48,7 +48,7 @@ export declare const Content: import("react").ComponentType<import("@ark-ui/reac
|
|
|
48
48
|
trigger: string;
|
|
49
49
|
};
|
|
50
50
|
};
|
|
51
|
-
}, Record<"content" | "
|
|
51
|
+
}, Record<"content" | "list" | "trigger" | "root" | "indicator", string | string[]>, undefined, {
|
|
52
52
|
size: {
|
|
53
53
|
md: {};
|
|
54
54
|
};
|
|
@@ -60,7 +60,7 @@ export declare const Content: import("react").ComponentType<import("@ark-ui/reac
|
|
|
60
60
|
trigger: string;
|
|
61
61
|
};
|
|
62
62
|
};
|
|
63
|
-
}, Record<"content" | "
|
|
63
|
+
}, Record<"content" | "list" | "trigger" | "root" | "indicator", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
64
64
|
size: {
|
|
65
65
|
md: {};
|
|
66
66
|
};
|
|
@@ -72,7 +72,7 @@ export declare const Content: import("react").ComponentType<import("@ark-ui/reac
|
|
|
72
72
|
trigger: string;
|
|
73
73
|
};
|
|
74
74
|
};
|
|
75
|
-
}, Record<"content" | "
|
|
75
|
+
}, Record<"content" | "list" | "trigger" | "root" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
76
76
|
export declare const Indicator: import("react").ComponentType<import("@ark-ui/react").Assign<Tabs.IndicatorProps & import("react").RefAttributes<HTMLDivElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
77
77
|
size: {
|
|
78
78
|
md: {};
|
|
@@ -85,7 +85,7 @@ export declare const Indicator: import("react").ComponentType<import("@ark-ui/re
|
|
|
85
85
|
trigger: string;
|
|
86
86
|
};
|
|
87
87
|
};
|
|
88
|
-
}, Record<"content" | "
|
|
88
|
+
}, Record<"content" | "list" | "trigger" | "root" | "indicator", string | string[]>, undefined, {
|
|
89
89
|
size: {
|
|
90
90
|
md: {};
|
|
91
91
|
};
|
|
@@ -97,7 +97,7 @@ export declare const Indicator: import("react").ComponentType<import("@ark-ui/re
|
|
|
97
97
|
trigger: string;
|
|
98
98
|
};
|
|
99
99
|
};
|
|
100
|
-
}, Record<"content" | "
|
|
100
|
+
}, Record<"content" | "list" | "trigger" | "root" | "indicator", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
101
101
|
size: {
|
|
102
102
|
md: {};
|
|
103
103
|
};
|
|
@@ -109,7 +109,7 @@ export declare const Indicator: import("react").ComponentType<import("@ark-ui/re
|
|
|
109
109
|
trigger: string;
|
|
110
110
|
};
|
|
111
111
|
};
|
|
112
|
-
}, Record<"content" | "
|
|
112
|
+
}, Record<"content" | "list" | "trigger" | "root" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
113
113
|
export declare const List: import("react").ComponentType<import("@ark-ui/react").Assign<Tabs.ListProps & import("react").RefAttributes<HTMLDivElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
114
114
|
size: {
|
|
115
115
|
md: {};
|
|
@@ -122,7 +122,7 @@ export declare const List: import("react").ComponentType<import("@ark-ui/react")
|
|
|
122
122
|
trigger: string;
|
|
123
123
|
};
|
|
124
124
|
};
|
|
125
|
-
}, Record<"content" | "
|
|
125
|
+
}, Record<"content" | "list" | "trigger" | "root" | "indicator", string | string[]>, undefined, {
|
|
126
126
|
size: {
|
|
127
127
|
md: {};
|
|
128
128
|
};
|
|
@@ -134,7 +134,7 @@ export declare const List: import("react").ComponentType<import("@ark-ui/react")
|
|
|
134
134
|
trigger: string;
|
|
135
135
|
};
|
|
136
136
|
};
|
|
137
|
-
}, Record<"content" | "
|
|
137
|
+
}, Record<"content" | "list" | "trigger" | "root" | "indicator", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
138
138
|
size: {
|
|
139
139
|
md: {};
|
|
140
140
|
};
|
|
@@ -146,7 +146,7 @@ export declare const List: import("react").ComponentType<import("@ark-ui/react")
|
|
|
146
146
|
trigger: string;
|
|
147
147
|
};
|
|
148
148
|
};
|
|
149
|
-
}, Record<"content" | "
|
|
149
|
+
}, Record<"content" | "list" | "trigger" | "root" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
150
150
|
export declare const Trigger: import("react").ComponentType<import("@ark-ui/react").Assign<Tabs.TriggerProps & import("react").RefAttributes<HTMLButtonElement>, import("tailwind-variants").VariantProps<import("tailwind-variants").TVReturnType<{
|
|
151
151
|
size: {
|
|
152
152
|
md: {};
|
|
@@ -159,7 +159,7 @@ export declare const Trigger: import("react").ComponentType<import("@ark-ui/reac
|
|
|
159
159
|
trigger: string;
|
|
160
160
|
};
|
|
161
161
|
};
|
|
162
|
-
}, Record<"content" | "
|
|
162
|
+
}, Record<"content" | "list" | "trigger" | "root" | "indicator", string | string[]>, undefined, {
|
|
163
163
|
size: {
|
|
164
164
|
md: {};
|
|
165
165
|
};
|
|
@@ -171,7 +171,7 @@ export declare const Trigger: import("react").ComponentType<import("@ark-ui/reac
|
|
|
171
171
|
trigger: string;
|
|
172
172
|
};
|
|
173
173
|
};
|
|
174
|
-
}, Record<"content" | "
|
|
174
|
+
}, Record<"content" | "list" | "trigger" | "root" | "indicator", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
175
175
|
size: {
|
|
176
176
|
md: {};
|
|
177
177
|
};
|
|
@@ -183,5 +183,5 @@ export declare const Trigger: import("react").ComponentType<import("@ark-ui/reac
|
|
|
183
183
|
trigger: string;
|
|
184
184
|
};
|
|
185
185
|
};
|
|
186
|
-
}, Record<"content" | "
|
|
186
|
+
}, Record<"content" | "list" | "trigger" | "root" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>>>>;
|
|
187
187
|
export declare const Context: (props: Tabs.ContextProps) => import("react").ReactNode;
|
|
@@ -10,7 +10,7 @@ export declare const tabsRecipe: import("tailwind-variants").TVReturnType<{
|
|
|
10
10
|
trigger: string;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
}, Record<"content" | "
|
|
13
|
+
}, Record<"content" | "list" | "trigger" | "root" | "indicator", string | string[]>, undefined, {
|
|
14
14
|
size: {
|
|
15
15
|
md: {};
|
|
16
16
|
};
|
|
@@ -22,7 +22,7 @@ export declare const tabsRecipe: import("tailwind-variants").TVReturnType<{
|
|
|
22
22
|
trigger: string;
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
|
-
}, Record<"content" | "
|
|
25
|
+
}, Record<"content" | "list" | "trigger" | "root" | "indicator", string | string[]>, import("tailwind-variants").TVReturnType<{
|
|
26
26
|
size: {
|
|
27
27
|
md: {};
|
|
28
28
|
};
|
|
@@ -34,4 +34,4 @@ export declare const tabsRecipe: import("tailwind-variants").TVReturnType<{
|
|
|
34
34
|
trigger: string;
|
|
35
35
|
};
|
|
36
36
|
};
|
|
37
|
-
}, Record<"content" | "
|
|
37
|
+
}, Record<"content" | "list" | "trigger" | "root" | "indicator", string | string[]>, undefined, unknown, unknown, undefined>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opexa/portal-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.43",
|
|
4
4
|
"exports": {
|
|
5
5
|
".": {
|
|
6
6
|
"types": "./dist/components/index.d.ts",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"default": "./dist/middleware.js"
|
|
20
20
|
},
|
|
21
21
|
"./client-utils": {
|
|
22
|
-
"types": "./dist/client
|
|
23
|
-
"import": "./dist/client
|
|
24
|
-
"require": "./dist/client
|
|
22
|
+
"types": "./dist/client/utils/index.d.ts",
|
|
23
|
+
"import": "./dist/client/utils/index.mjs",
|
|
24
|
+
"require": "./dist/client/utils/index.js"
|
|
25
25
|
},
|
|
26
26
|
"./client-hooks": {
|
|
27
27
|
"types": "./dist/client/hooks/index.d.ts",
|
|
@@ -143,5 +143,10 @@
|
|
|
143
143
|
"to": "dist/",
|
|
144
144
|
"toFlat": false
|
|
145
145
|
}
|
|
146
|
-
]
|
|
146
|
+
],
|
|
147
|
+
"copyFilesSettings": {
|
|
148
|
+
"whenFileExists": "overwrite",
|
|
149
|
+
"removeSourceMappingURL": true,
|
|
150
|
+
"ignoreDotFilesAndFolders": false
|
|
151
|
+
}
|
|
147
152
|
}
|
|
Binary file
|
|
Binary file
|
package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositLoading.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function OnlineBankDepositLoading(): import("react/jsx-runtime").JSX.Element;
|
package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositLoading.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { SpinnerIcon } from '../../../../icons/index.js';
|
|
3
|
-
export function OnlineBankDepositLoading() {
|
|
4
|
-
return (_jsxs("div", { className: "bg-gray-50 rounded-lg px-10 py-12 lg:py-16", children: [_jsx(SpinnerIcon, { className: "mx-auto size-8 lg:size-10" }), _jsx("p", { className: "mt-5 text-center text-lg font-semibold lg:text-xl", children: "Processing Your Deposit" }), _jsx("p", { className: "text-gray-700 mt-3 text-center text-sm lg:text-base", children: "Your deposit is being processed. Please hold tight as we verify the account details and amount. Once verified, a Virtual Collection Account (VCA) will be displayed for you to copy and paste in a designated field and complete the transaction." })] }));
|
|
5
|
-
}
|
package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositSuccess.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function OnlineBankDepositSuccess(): import("react/jsx-runtime").JSX.Element;
|
package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositSuccess.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { CheckCircleBrokenIcon } from '../../../../icons/index.js';
|
|
3
|
-
export function OnlineBankDepositSuccess() {
|
|
4
|
-
return (_jsxs("div", { className: "bg-gray-50 rounded-lg px-10 py-12 lg:p-16", children: [_jsx(CheckCircleBrokenIcon, { className: "text-green-600 mx-auto size-8 lg:size-10" }), _jsx("p", { className: "mt-5 text-center text-lg font-semibold lg:text-xl", children: "Deposit Successful!" }), _jsx("p", { className: "text-gray-700 mt-3 text-center text-sm lg:text-base", children: "Your funds have been successfully added and are now ready to use in your account." })] }));
|
|
5
|
-
}
|
package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function OnlineBankDepositVCA(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Portal } from '@ark-ui/react';
|
|
3
|
-
import Image from 'next/image';
|
|
4
|
-
import { BankIcon, XIcon } from '../../../../icons/index.js';
|
|
5
|
-
import bankIcon from '../../../../images/bank-icon.png';
|
|
6
|
-
import { Button, Clipboard, Dialog } from '../../../../ui/index.js';
|
|
7
|
-
import { useOnlineBankDepositContext } from './OnlineBankDepositContext.js';
|
|
8
|
-
export function OnlineBankDepositVCA() {
|
|
9
|
-
const context = useOnlineBankDepositContext();
|
|
10
|
-
return (_jsxs("div", { className: "bg-gray-50 rounded-lg px-10 py-12 lg:p-16", children: [_jsx(Image, { src: bankIcon, alt: "", width: 52, height: 44.2, className: "mx-auto h-auto w-[3.25rem]" }), _jsx("p", { className: "mt-8 text-center font-semibold", children: "Your unique Virtual Collection Account (VCA) is:" }), _jsx(Clipboard.Root, { value: context.vca ?? '', className: "mx-auto mt-6 max-w-[22.5rem]", children: _jsxs(Clipboard.Control, { className: "flex flex-col gap-4 lg:flex-row", children: [_jsx(Clipboard.Input, { className: "lg:grow" }), _jsx(Clipboard.Context, { children: (ctx) => (_jsx(Clipboard.Trigger, { asChild: true, children: _jsx(Button, { fullWidth: false, className: "w-full shrink-0 lg:w-28", children: ctx.copied ? 'Copied' : 'Copy VCA' }) })) })] }) }), _jsx(Instruction, {})] }));
|
|
11
|
-
}
|
|
12
|
-
function Instruction() {
|
|
13
|
-
return (_jsxs("p", { className: "text-gray-500 mt-6 text-center text-xs", children: ["Need help using the online bank for payment?", ' ', _jsxs(Dialog.Root, { lazyMount: true, unmountOnExit: true, children: [_jsx(Dialog.Trigger, { className: "text-blue-500", children: "See instructions" }), _jsxs(Portal, { children: [_jsx(Dialog.Backdrop, { className: "!z-[calc(var(--z-dialog)+2)]" }), _jsx(Dialog.Positioner, { className: "!z-[calc(var(--z-dialog)+3)] flex items-center justify-center", children: _jsxs(Dialog.Content, { className: "mx-auto w-[calc(100%-2rem)] rounded-lg bg-white p-4xl lg:w-[33.625rem]", children: [_jsx(Dialog.CloseTrigger, { children: _jsx(XIcon, {}) }), _jsxs(Dialog.Body, { children: [_jsxs("div", { className: "flex items-center gap-xl", children: [_jsx("div", { className: "border-gray-200 flex size-11 items-center justify-center rounded-lg border", children: _jsx(BankIcon, { className: "text-gray-600 size-6" }) }), _jsx(Dialog.Title, { className: "text-lg font-semibold", children: "How to Use Online Bank for Payment" })] }), _jsx(Dialog.Description, { className: "mt-5", children: "Follow these simple steps to complete your transaction:" }), _jsxs("ol", { className: "mt-3 list-inside list-decimal space-y-3", children: [_jsx("li", { children: "Click the 'Copy VCA' button to save your unique account number." }), _jsx("li", { children: "Log in to your Online Banking: Open your bank's app or website." }), _jsx("li", { children: "Initiate a Deposit: Choose the option to make a deposit." }), _jsx("li", { children: "Enter VCA: Paste your VCA in the designated field." }), _jsx("li", { children: "Complete Transaction: Follow your bank's prompts to finalize the deposit." })] }), _jsx("p", { className: "mt-3", children: "Note: Please ensure that the deposit amount you enter matches exactly." })] })] }) })] })] })] }));
|
|
14
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function QRPHDepositLoading(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { SpinnerIcon } from '../../../../icons/index.js';
|
|
3
|
-
export function QRPHDepositLoading() {
|
|
4
|
-
return (_jsxs("div", { className: "bg-gray-50 rounded-lg px-10 py-12 lg:p-16", children: [_jsx(SpinnerIcon, { className: "mx-auto size-8 lg:size-10" }), _jsx("p", { className: "mt-5 text-center text-lg font-semibold lg:text-xl", children: "Generating QR Code" }), _jsx("p", { className: "text-gray-700 mt-3 text-center text-sm lg:text-base", children: "Please hold tight as we verify the account details and amount. Once verified, a QRPH code will be displayed for you to scan and complete the transaction." })] }));
|
|
5
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function QRPHDepositQrCode(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Portal, QrCode } from '@ark-ui/react';
|
|
3
|
-
import Image from 'next/image';
|
|
4
|
-
import { QrCode02Icon, SpinnerIcon, XIcon } from '../../../../icons/index.js';
|
|
5
|
-
import qrphIcon from '../../../../images/qrph-icon.png';
|
|
6
|
-
import { Button, Dialog } from '../../../../ui/index.js';
|
|
7
|
-
import { useQRPHDepositContext } from './QRPHDepositContext.js';
|
|
8
|
-
export function QRPHDepositQrCode() {
|
|
9
|
-
const context = useQRPHDepositContext();
|
|
10
|
-
return (_jsxs("div", { className: "bg-gray-50 rounded-lg px-10 py-12 lg:p-16", children: [_jsx("p", { className: "mt-5 text-center text-lg font-semibold lg:text-xl", children: "QR Code" }), _jsx("p", { className: "text-gray-700 mt-3 text-center text-sm lg:text-base", children: "Scan the QR code below with your banking app, or upload it to complete your deposit." }), _jsxs(QrCode.Root, { value: context.qrCode ?? '', className: "border-gray-200 mx-auto mt-6 w-[12.5rem] rounded-lg border bg-white p-5 lg:w-[13rem] lg:p-6", children: [_jsxs("div", { className: "relative", children: [_jsx(QrCode.Frame, { className: "border-gray-200 mx-auto size-[10rem] rounded-[0.25rem] border", children: _jsx(QrCode.Pattern, {}) }), _jsx(QrCode.Overlay, { className: "bg-white p-0.5", children: _jsx(Image, { src: qrphIcon, alt: "", className: "size-8", width: 40, height: 40 }) })] }), _jsx(QrCode.DownloadTrigger, { fileName: `qrcode-${new Date().getTime()}`, mimeType: "image/png", className: "text-gray-900 mt-5 block w-full text-center text-sm font-semibold", children: "Download QR Code" })] }), context.view === 'QR_CODE' && (_jsxs("div", { className: "mt-6 flex flex-col gap-4 lg:flex-row", children: [_jsx(Button, { size: "sm", variant: "outline", colorScheme: "gray", onClick: () => {
|
|
11
|
-
context.reset();
|
|
12
|
-
}, children: "Generate New QR Code" }), _jsx(Button, { size: "sm", onClick: () => {
|
|
13
|
-
context.verify();
|
|
14
|
-
}, children: "Confirm Deposit" })] })), context.view === 'VERIFYING' && (_jsxs("div", { className: "border-gray-200 mt-6 rounded-lg border bg-white p-4 lg:p-6", children: [_jsx(SpinnerIcon, { className: "mx-auto size-6 lg:size-8" }), _jsx("p", { className: "mt-5 text-center font-semibold lg:text-lg", children: "Processing your deposit" }), _jsxs("p", { className: "text-gray-700 mx-auto mt-2 text-center text-xs lg:text-sm", children: ["Your deposit is being processed. ", _jsx("br", {}), "Please hold tight as we verify the account details and amount."] })] })), _jsx(Instruction, {})] }));
|
|
15
|
-
}
|
|
16
|
-
function Instruction() {
|
|
17
|
-
return (_jsxs("p", { className: "text-gray-500 mt-6 text-center text-xs", children: ["Need help using the QR Code?", ' ', _jsxs(Dialog.Root, { lazyMount: true, unmountOnExit: true, children: [_jsx(Dialog.Trigger, { className: "text-blue-500", children: "See instructions" }), _jsxs(Portal, { children: [_jsx(Dialog.Backdrop, { className: "!z-[calc(var(--z-dialog)+2)]" }), _jsx(Dialog.Positioner, { className: "!z-[calc(var(--z-dialog)+3)] flex items-center justify-center", children: _jsxs(Dialog.Content, { className: "mx-auto w-[calc(100%-2rem)] rounded-lg bg-white p-4xl lg:w-[33.625rem]", children: [_jsx(Dialog.CloseTrigger, { children: _jsx(XIcon, {}) }), _jsxs(Dialog.Body, { children: [_jsxs("div", { className: "flex items-center gap-xl", children: [_jsx("div", { className: "border-gray-200 flex size-11 items-center justify-center rounded-lg border", children: _jsx(QrCode02Icon, { className: "text-gray-600 size-6" }) }), _jsx(Dialog.Title, { className: "text-lg font-semibold", children: "How to Use the QR Code for Payment" })] }), _jsx(Dialog.Description, { className: "mt-5", children: "Follow these simple steps to complete your transaction:" }), _jsxs("ol", { className: "mt-3 list-inside list-decimal space-y-3", children: [_jsx("li", { children: "Open your preferred banking or EMI mobile app and select 'Transfer Money' or 'Pay via QR'" }), _jsx("li", { children: "Scan or upload the generated QR Ph code. If prompted by the app, enter the amount to be sent." }), _jsx("li", { children: "Proceed with the transfer or payment." })] })] })] }) })] })] })] }));
|
|
18
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function QRPHDepositSuccess(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { CheckCircleBrokenIcon } from '../../../../icons/index.js';
|
|
3
|
-
import { Button } from '../../../../ui/index.js';
|
|
4
|
-
import { useQRPHDepositContext } from './QRPHDepositContext.js';
|
|
5
|
-
export function QRPHDepositSuccess() {
|
|
6
|
-
const context = useQRPHDepositContext();
|
|
7
|
-
return (_jsxs("div", { className: "bg-gray-50 rounded-lg px-10 py-12 lg:p-16", children: [_jsx(CheckCircleBrokenIcon, { className: "text-green-600 mx-auto size-8 lg:size-10" }), _jsx("p", { className: "mt-5 text-center text-lg font-semibold lg:text-xl", children: "Deposit Successful!" }), _jsx("p", { className: "text-gray-700 mt-3 text-center text-sm lg:text-base", children: "Your funds have been successfully added and are now ready to use in your account." }), _jsx(Button, { size: "sm", variant: "outline", colorScheme: "gray", className: "mx-auto mt-6 w-fit", onClick: () => context.reset(), children: "Generate New QR Code" })] }));
|
|
8
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function MayaSessionExpired(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { AlertTriangleIcon } from '../../icons/index.js';
|
|
3
|
-
export function MayaSessionExpired() {
|
|
4
|
-
return (_jsxs("div", { className: "bg-gray-50 mt-3xl rounded-lg px-5 py-16 lg:mt-4xl", children: [_jsx(AlertTriangleIcon, { className: "text-amber-500 mx-auto size-10" }), _jsx("h2", { className: "mt-3 text-center text-lg font-semibold", children: "Session Expired" }), _jsx("p", { className: "text-gray-700 mx-auto mt-2 max-w-[30rem] text-center text-sm", children: "Your session has timed out. To continue with deposits or withdrawals, Please try reloading the app." })] }));
|
|
5
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { Toast, Toaster } from '@ark-ui/react';
|
|
4
|
-
import { GoogleAnalytics, GoogleTagManager } from '@next/third-parties/google';
|
|
5
|
-
import { QueryClientProvider } from '@tanstack/react-query';
|
|
6
|
-
import { twMerge } from 'tailwind-merge';
|
|
7
|
-
import { toaster } from '../../client/utils/index.js';
|
|
8
|
-
import { AlertCircleIcon, XIcon } from '../../icons/index.js';
|
|
9
|
-
import { FacebookPixel, GoogleRecaptcha } from '../../third-parties/index.js';
|
|
10
|
-
import { getQueryClient } from '../../utils/index.js';
|
|
11
|
-
export function PortalProvider__client({ googleAnalyticsId, googleTagManagerId, googleRecaptchaSiteKey, facebookPixelId, children, }) {
|
|
12
|
-
const queryClient = getQueryClient();
|
|
13
|
-
return (_jsxs(QueryClientProvider, { client: queryClient, children: [children, _jsx(Toaster, { toaster: toaster, children: (toast) => (_jsxs(Toast.Root, { className: twMerge('group', 'p-xl', 'border', 'border-border-primary', 'bg-bg-primary-alt', 'flex', 'items-start', 'gap-lg', 'w-[21.438rem]', 'lg:w-[1200px]', 'max-w-full', 'rounded-xl', 'shadow-xs', 'h-[var(--height)]', 'z-[var(--z-index)]', 'scale-[var(--scale)]', 'opacity-[var(--opacity)]', '[translate:var(--x)_var(--y)_0]', 'transition-all', 'duration-300'), children: [_jsxs("div", { className: "flex grow flex-col gap-xl lg:flex-row lg:gap-lg", children: [_jsx("div", { className: twMerge('flex size-9.5 items-center justify-center rounded-full border-2', toast.type === 'error'
|
|
14
|
-
? 'border-text-error-primary/15'
|
|
15
|
-
: toast.type === 'warning'
|
|
16
|
-
? 'border-text-warning-primary/15'
|
|
17
|
-
: 'border-text-success-primary/15'), children: _jsx("div", { className: twMerge('flex size-7 items-center justify-center rounded-full border-2', toast.type === 'error'
|
|
18
|
-
? 'border-text-error-primary/35'
|
|
19
|
-
: toast.type === 'warning'
|
|
20
|
-
? 'border-text-warning-primary/35'
|
|
21
|
-
: 'border-text-success-primary/35'), children: _jsx(AlertCircleIcon, { className: twMerge('size-5', toast.type === 'error'
|
|
22
|
-
? 'text-text-error-primary'
|
|
23
|
-
: toast.type === 'warning'
|
|
24
|
-
? 'text-text-warning-primary'
|
|
25
|
-
: 'text-text-success-primary') }) }) }), _jsxs("div", { className: "grow text-sm leading-none", children: [_jsx(Toast.Title, { className: "text-text-secondary-700 font-semibold", children: toast.title
|
|
26
|
-
? toast.title
|
|
27
|
-
: toast.type === 'error'
|
|
28
|
-
? 'Error'
|
|
29
|
-
: toast.type === 'warning'
|
|
30
|
-
? 'Warning'
|
|
31
|
-
: 'Success' }), _jsx(Toast.Description, { className: "text-text-tertiary-600 mt-xs", children: toast.description
|
|
32
|
-
? toast.description
|
|
33
|
-
: toast.type === 'error'
|
|
34
|
-
? 'Something went wrong.'
|
|
35
|
-
: toast.type === 'warning'
|
|
36
|
-
? 'Please be cautious.'
|
|
37
|
-
: 'Operation completed successfully.' })] })] }), _jsx(Toast.CloseTrigger, { className: "text-text-secondary-700", children: _jsx(XIcon, { className: "size-5" }) })] }, toast.id)) }), facebookPixelId && _jsx(FacebookPixel, { fbId: facebookPixelId }), googleAnalyticsId && _jsx(GoogleAnalytics, { gaId: googleAnalyticsId }), googleTagManagerId && _jsx(GoogleTagManager, { gtmId: googleTagManagerId }), googleRecaptchaSiteKey && (_jsx(GoogleRecaptcha, { siteKey: googleRecaptchaSiteKey }))] }));
|
|
38
|
-
}
|
package/dist/images/QRPh.png
DELETED
|
Binary file
|