tf-checkout-react 1.6.5-beta.1 → 1.6.5
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/billing-info-container/index.d.ts +1 -2
- package/dist/tf-checkout-react.cjs.development.js +3 -4
- package/dist/tf-checkout-react.cjs.development.js.map +1 -1
- package/dist/tf-checkout-react.cjs.production.min.js +1 -1
- package/dist/tf-checkout-react.cjs.production.min.js.map +1 -1
- package/dist/tf-checkout-react.esm.js +3 -4
- package/dist/tf-checkout-react.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/billing-info-container/index.tsx +3 -6
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import './style.css';
|
|
2
3
|
import { ThemeOptions } from '@mui/material';
|
|
3
4
|
import { CSSProperties } from '@mui/styles';
|
|
4
5
|
import { AxiosError } from 'axios';
|
|
5
6
|
import { FormikHelpers, FormikValues } from 'formik';
|
|
6
|
-
import { ReactNode } from 'react';
|
|
7
7
|
import { IBillingInfoData } from '../../types';
|
|
8
8
|
export interface IBillingInfoPage {
|
|
9
9
|
data?: IBillingInfoData[];
|
|
@@ -53,7 +53,6 @@ export interface IBillingInfoPage {
|
|
|
53
53
|
customFieldsOrderKeys?: string[];
|
|
54
54
|
customFieldsTicketHolderKeys?: string[];
|
|
55
55
|
onPendingVerification?: () => void;
|
|
56
|
-
CustomLogin?: ReactNode;
|
|
57
56
|
}
|
|
58
57
|
declare const WithCustomFieldsBillingInfoContainer: (props: any) => JSX.Element;
|
|
59
58
|
export { WithCustomFieldsBillingInfoContainer as BillingInfoContainer };
|
|
@@ -3846,8 +3846,7 @@ var BillingInfoContainer = /*#__PURE__*/React__default.memo(function (_ref4) {
|
|
|
3846
3846
|
_ref4$onGetCheckoutCo = _ref4.onGetCheckoutConfigsSuccess,
|
|
3847
3847
|
onGetCheckoutConfigsSuccess = _ref4$onGetCheckoutCo === void 0 ? _identity : _ref4$onGetCheckoutCo,
|
|
3848
3848
|
_ref4$onGetCheckoutCo2 = _ref4.onGetCheckoutConfigsError,
|
|
3849
|
-
onGetCheckoutConfigsError = _ref4$onGetCheckoutCo2 === void 0 ? _identity : _ref4$onGetCheckoutCo2
|
|
3850
|
-
CustomLogin = _ref4.CustomLogin;
|
|
3849
|
+
onGetCheckoutConfigsError = _ref4$onGetCheckoutCo2 === void 0 ? _identity : _ref4$onGetCheckoutCo2;
|
|
3851
3850
|
var _useState = React.useState(null),
|
|
3852
3851
|
extraData = _useState[0],
|
|
3853
3852
|
setExtraData = _useState[1];
|
|
@@ -4646,7 +4645,7 @@ var BillingInfoContainer = /*#__PURE__*/React__default.memo(function (_ref4) {
|
|
|
4646
4645
|
}, props.isSubmitting ? React__default.createElement(material.CircularProgress, {
|
|
4647
4646
|
size: 26
|
|
4648
4647
|
}) : buttonName))));
|
|
4649
|
-
}),
|
|
4648
|
+
}), showModalLogin && React__default.createElement(LoginModal, {
|
|
4650
4649
|
logo: logo,
|
|
4651
4650
|
onClose: function onClose() {
|
|
4652
4651
|
setShowModalLogin(false);
|
|
@@ -4674,7 +4673,7 @@ var BillingInfoContainer = /*#__PURE__*/React__default.memo(function (_ref4) {
|
|
|
4674
4673
|
setShowModalSignup(true);
|
|
4675
4674
|
},
|
|
4676
4675
|
showPoweredByImage: showPoweredByImage
|
|
4677
|
-
})
|
|
4676
|
+
}), showModalSignup && React__default.createElement(SignupModal, {
|
|
4678
4677
|
onClose: function onClose() {
|
|
4679
4678
|
setShowModalSignup(false);
|
|
4680
4679
|
},
|