ui-soxo-bootstrap-core 2.6.1-dev.20 → 2.6.1-dev.22
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/core/components/landing-api/landing-api.js +1 -1
- package/core/lib/components/global-header/animations.js +4 -78
- package/core/lib/components/global-header/global-header.js +25 -60
- package/core/lib/components/global-header/global-header.scss +24 -162
- package/core/lib/components/sidemenu/animations.js +2 -84
- package/core/lib/components/sidemenu/sidemenu.js +55 -175
- package/core/lib/components/sidemenu/sidemenu.scss +14 -221
- package/core/lib/elements/basic/country-phone-input/country-phone-input.js +0 -1
- package/core/lib/pages/login/login.js +6 -2
- package/core/modules/steps/action-buttons.js +1 -5
- package/package.json +1 -1
|
@@ -306,6 +306,8 @@ function LoginPhone({ history, appSettings }) {
|
|
|
306
306
|
*
|
|
307
307
|
*/
|
|
308
308
|
const sendAuthenticationOtp = () => {
|
|
309
|
+
if (loading) return;
|
|
310
|
+
|
|
309
311
|
// Reset previous error
|
|
310
312
|
setModeError(false);
|
|
311
313
|
|
|
@@ -445,6 +447,8 @@ function LoginPhone({ history, appSettings }) {
|
|
|
445
447
|
* Otp resend Logic
|
|
446
448
|
*/
|
|
447
449
|
const handleResendOTP = () => {
|
|
450
|
+
if (loading) return;
|
|
451
|
+
|
|
448
452
|
setOtpValue('');
|
|
449
453
|
setModeError(false);
|
|
450
454
|
setOtpError(false);
|
|
@@ -714,7 +718,7 @@ function LoginPhone({ history, appSettings }) {
|
|
|
714
718
|
|
|
715
719
|
{!otpVerification ? (
|
|
716
720
|
<div className="otp-container">
|
|
717
|
-
<Button type="primary" onClick={sendAuthenticationOtp} style={{ marginTop: '6px' }}>
|
|
721
|
+
<Button loading={loading} type="primary" onClick={sendAuthenticationOtp} style={{ marginTop: '6px' }}>
|
|
718
722
|
Send OTP
|
|
719
723
|
</Button>
|
|
720
724
|
</div>
|
|
@@ -760,7 +764,7 @@ function LoginPhone({ history, appSettings }) {
|
|
|
760
764
|
</div>
|
|
761
765
|
</div>
|
|
762
766
|
{!otpSuccess && (
|
|
763
|
-
<Button type="primary" disabled={otpExpired} onClick={verifyOtp} style={{ marginTop: 16 }}>
|
|
767
|
+
<Button loading={loading} type="primary" disabled={otpExpired} onClick={verifyOtp} style={{ marginTop: 16 }}>
|
|
764
768
|
Verify OTP
|
|
765
769
|
</Button>
|
|
766
770
|
)}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Handles navigation and action controls for a multi-step process,
|
|
4
4
|
* including dynamic content rendering and process completion actions.
|
|
5
5
|
*/
|
|
6
|
-
import React, {
|
|
6
|
+
import React, { useState, useEffect } from 'react';
|
|
7
7
|
import { Skeleton } from 'antd';
|
|
8
8
|
import { Button } from '../../lib';
|
|
9
9
|
import './action-buttons.scss';
|
|
@@ -34,10 +34,6 @@ export default function ActionButtons({
|
|
|
34
34
|
}
|
|
35
35
|
}, [isEndStep]);
|
|
36
36
|
|
|
37
|
-
useEffect(() => {
|
|
38
|
-
setShowNextProcess(false);
|
|
39
|
-
}, [steps]);
|
|
40
|
-
|
|
41
37
|
return (
|
|
42
38
|
<div className="action-buttons-shell">
|
|
43
39
|
<div className="action-body">
|