@opexa/portal-components 0.0.974 → 0.0.975
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/components/KYC/KycOpenOnHomeMount.js +5 -5
- package/dist/schemas/forgotPasswordSchema.d.ts +5 -5
- package/dist/ui/AlertDialog/AlertDialog.d.ts +187 -187
- package/dist/ui/AlertDialog/alertDialog.recipe.d.ts +17 -17
- package/dist/ui/Badge/Badge.d.ts +12 -12
- package/dist/ui/Badge/badge.anatomy.d.ts +1 -1
- package/dist/ui/Badge/badge.recipe.d.ts +3 -3
- package/dist/ui/Carousel/Carousel.d.ts +99 -99
- package/dist/ui/Carousel/carousel.recipe.d.ts +11 -11
- 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 +42 -42
- package/dist/ui/Combobox/combobox.recipe.d.ts +3 -3
- package/dist/ui/DatePicker/DatePicker.d.ts +72 -72
- package/dist/ui/DatePicker/datePicker.recipe.d.ts +3 -3
- package/dist/ui/Dialog/Dialog.d.ts +33 -33
- package/dist/ui/Dialog/dialog.recipe.d.ts +3 -3
- package/dist/ui/Drawer/Drawer.d.ts +33 -33
- package/dist/ui/Drawer/drawer.recipe.d.ts +3 -3
- package/dist/ui/Menu/Menu.d.ts +360 -360
- package/dist/ui/Menu/menu.recipe.d.ts +20 -20
- package/dist/ui/Popover/Popover.d.ts +154 -154
- package/dist/ui/Popover/popover.recipe.d.ts +14 -14
- package/dist/ui/Progress/Progress.d.ts +27 -27
- package/dist/ui/Progress/progress.recipe.d.ts +3 -3
- package/dist/ui/SegmentGroup/SegmentGroup.d.ts +18 -18
- package/dist/ui/SegmentGroup/segmentGroup.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.anatomy.d.ts +1 -1
- 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/dist/ui/Tooltip/Tooltip.d.ts +30 -30
- package/dist/ui/Tooltip/tooltip.recipe.d.ts +5 -5
- package/package.json +1 -1
- package/dist/client/hooks/useVerifyMobileNumber.d.ts +0 -3
- package/dist/client/hooks/useVerifyMobileNumber.js +0 -20
- package/dist/components/DepositWithdrawal/Deposit/AurixPayPayMayaDeposit/AurixPayGrabPayDeposit.d.ts +0 -1
- package/dist/components/DepositWithdrawal/Deposit/AurixPayPayMayaDeposit/AurixPayGrabPayDeposit.js +0 -241
- package/dist/components/SingleSignOn/SingleSignOn.d.ts +0 -4
- package/dist/components/SingleSignOn/SingleSignOn.js +0 -185
- package/dist/components/SingleSignOn/index.d.ts +0 -1
- package/dist/components/SingleSignOn/index.js +0 -1
- package/dist/lib/components/UpdateMobilePhoneNumber/UpdateMobilePhoneNumber.d.ts +0 -1
- package/dist/lib/components/UpdateMobilePhoneNumber/UpdateMobilePhoneNumber.js +0 -152
- package/dist/lib/components/UpdateMobilePhoneNumber/index.d.ts +0 -1
- package/dist/lib/components/UpdateMobilePhoneNumber/index.js +0 -1
|
@@ -27,8 +27,12 @@ export function KycOpenOnHomeMount(props) {
|
|
|
27
27
|
const shouldShowReminder = Boolean(props.isSkippable);
|
|
28
28
|
const hasSeenKycModal = sessionStorage.getItem('hasSeenKycModal');
|
|
29
29
|
const isFirstVisit = !hasSeenKycModal;
|
|
30
|
+
// Handle member verification locked FIRST (highest priority)
|
|
31
|
+
if (isVerificationLocked) {
|
|
32
|
+
setkycReminderOpen(true);
|
|
33
|
+
}
|
|
30
34
|
// Handle rejected verification status
|
|
31
|
-
if (isRejected) {
|
|
35
|
+
else if (isRejected) {
|
|
32
36
|
if (isFirstVisit) {
|
|
33
37
|
setkycReminderOpen(false);
|
|
34
38
|
setkycOpen(true);
|
|
@@ -51,10 +55,6 @@ export function KycOpenOnHomeMount(props) {
|
|
|
51
55
|
setkycOpen(!shouldShowReminder);
|
|
52
56
|
}
|
|
53
57
|
}
|
|
54
|
-
// Handle member verification locked
|
|
55
|
-
else if (isVerificationLocked) {
|
|
56
|
-
setkycReminderOpen(true);
|
|
57
|
-
}
|
|
58
58
|
// Handle completed kyc progress
|
|
59
59
|
else if (isKycCompleted) {
|
|
60
60
|
setkycReminderOpen(false);
|
|
@@ -8,25 +8,25 @@ export declare const createForgotPasswordSchema: (mobileNumberParser: MobileNumb
|
|
|
8
8
|
mobileNumber: z.ZodEffects<z.ZodString, string, string>;
|
|
9
9
|
verificationCode: z.ZodEffects<z.ZodString, string, string>;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
|
-
password: string;
|
|
12
|
-
confirmPassword: string;
|
|
13
11
|
mobileNumber: string;
|
|
14
12
|
verificationCode: string;
|
|
15
|
-
}, {
|
|
16
13
|
password: string;
|
|
17
14
|
confirmPassword: string;
|
|
15
|
+
}, {
|
|
18
16
|
mobileNumber: string;
|
|
19
17
|
verificationCode: string;
|
|
20
|
-
}>, {
|
|
21
18
|
password: string;
|
|
22
19
|
confirmPassword: string;
|
|
20
|
+
}>, {
|
|
23
21
|
mobileNumber: string;
|
|
24
22
|
verificationCode: string;
|
|
25
|
-
}, {
|
|
26
23
|
password: string;
|
|
27
24
|
confirmPassword: string;
|
|
25
|
+
}, {
|
|
28
26
|
mobileNumber: string;
|
|
29
27
|
verificationCode: string;
|
|
28
|
+
password: string;
|
|
29
|
+
confirmPassword: string;
|
|
30
30
|
}>;
|
|
31
31
|
export type ForgotPasswordSchema = z.infer<ReturnType<typeof createForgotPasswordSchema>>;
|
|
32
32
|
export {};
|