tf-checkout-react-native 1.0.17 → 1.0.20
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/README.md +784 -9
- package/lib/api/ApiClient.d.ts +14 -36
- package/lib/api/ApiClient.js +85 -30
- package/lib/api/ApiClient.js.map +1 -1
- package/lib/api/Constants.d.ts +2 -0
- package/lib/api/Constants.js +2 -0
- package/lib/api/Constants.js.map +1 -1
- package/lib/api/types.d.ts +100 -21
- package/lib/components/index.d.ts +2 -0
- package/lib/components/index.js +2 -0
- package/lib/components/index.js.map +1 -1
- package/lib/components/loggedIn/LoggedIn.js +3 -3
- package/lib/components/loggedIn/LoggedIn.js.map +1 -1
- package/lib/components/login/Login.d.ts +2 -1
- package/lib/components/login/Login.js +25 -63
- package/lib/components/login/Login.js.map +1 -1
- package/lib/components/login/LoginView.d.ts +2 -1
- package/lib/components/login/LoginView.js +18 -7
- package/lib/components/login/LoginView.js.map +1 -1
- package/lib/components/login/types.d.ts +9 -9
- package/lib/components/phoneInput/PhoneInput.d.ts +4 -0
- package/lib/components/phoneInput/PhoneInput.js +33 -0
- package/lib/components/phoneInput/PhoneInput.js.map +1 -0
- package/lib/components/phoneInput/styles.d.ts +28 -0
- package/lib/components/phoneInput/styles.js +30 -0
- package/lib/components/phoneInput/styles.js.map +1 -0
- package/lib/components/phoneInput/types.d.ts +30 -0
- package/lib/components/phoneInput/types.js +2 -0
- package/lib/components/phoneInput/types.js.map +1 -0
- package/lib/components/promoCode/PromoCode.d.ts +2 -1
- package/lib/components/promoCode/PromoCode.js.map +1 -1
- package/lib/components/promoCode/types.d.ts +1 -1
- package/lib/components/stripePayment/StripePayment.d.ts +4 -0
- package/lib/components/stripePayment/StripePayment.js +23 -0
- package/lib/components/stripePayment/StripePayment.js.map +1 -0
- package/lib/components/stripePayment/types.d.ts +12 -0
- package/lib/components/stripePayment/types.js +2 -0
- package/lib/components/stripePayment/types.js.map +1 -0
- package/lib/components/waitingList/WaitingList.d.ts +2 -1
- package/lib/components/waitingList/WaitingList.js +32 -29
- package/lib/components/waitingList/WaitingList.js.map +1 -1
- package/lib/components/waitingList/WaitingListView.d.ts +2 -1
- package/lib/components/waitingList/WaitingListView.js.map +1 -1
- package/lib/components/waitingList/types.d.ts +0 -1
- package/lib/containers/billingInfo/Billing.js +209 -123
- package/lib/containers/billingInfo/Billing.js.map +1 -1
- package/lib/containers/billingInfo/types.d.ts +10 -6
- package/lib/containers/checkout/Checkout.d.ts +2 -1
- package/lib/containers/checkout/Checkout.js +58 -65
- package/lib/containers/checkout/Checkout.js.map +1 -1
- package/lib/containers/checkout/types.d.ts +1 -1
- package/lib/containers/myOrderDetails/MyOrderDetailsView.js +4 -3
- package/lib/containers/myOrderDetails/MyOrderDetailsView.js.map +1 -1
- package/lib/containers/myOrderDetails/types.d.ts +10 -2
- package/lib/containers/myOrders/MyOrders.js +26 -4
- package/lib/containers/myOrders/MyOrders.js.map +1 -1
- package/lib/containers/myOrders/MyOrdersView.d.ts +2 -1
- package/lib/containers/myOrders/MyOrdersView.js.map +1 -1
- package/lib/containers/myOrders/types.d.ts +2 -2
- package/lib/containers/purchaseConfirmation/PurchaseConfirmation.d.ts +2 -1
- package/lib/containers/purchaseConfirmation/PurchaseConfirmation.js +23 -8
- package/lib/containers/purchaseConfirmation/PurchaseConfirmation.js.map +1 -1
- package/lib/containers/purchaseConfirmation/PurchaseConfirmationView.d.ts +2 -1
- package/lib/containers/purchaseConfirmation/PurchaseConfirmationView.js.map +1 -1
- package/lib/containers/tickets/Tickets.d.ts +2 -1
- package/lib/containers/tickets/Tickets.js +75 -84
- package/lib/containers/tickets/Tickets.js.map +1 -1
- package/lib/containers/tickets/TicketsView.d.ts +1 -1
- package/lib/containers/tickets/TicketsView.js +2 -2
- package/lib/containers/tickets/TicketsView.js.map +1 -1
- package/lib/containers/tickets/types.d.ts +3 -14
- package/lib/core/BillingCore/BillingCore.d.ts +5 -0
- package/lib/core/BillingCore/BillingCore.js +28 -0
- package/lib/core/BillingCore/BillingCore.js.map +1 -0
- package/lib/core/BillingCore/BillingCoreTypes.d.ts +16 -0
- package/lib/core/BillingCore/BillingCoreTypes.js +2 -0
- package/lib/core/BillingCore/BillingCoreTypes.js.map +1 -0
- package/lib/core/CheckoutCore/CheckoutCore.d.ts +5 -0
- package/lib/core/CheckoutCore/CheckoutCore.js +25 -0
- package/lib/core/CheckoutCore/CheckoutCore.js.map +1 -0
- package/lib/core/CheckoutCore/CheckoutCoreTypes.d.ts +8 -0
- package/lib/core/CheckoutCore/CheckoutCoreTypes.js +2 -0
- package/lib/core/CheckoutCore/CheckoutCoreTypes.js.map +1 -0
- package/lib/core/CoreProps.d.ts +4 -0
- package/lib/core/CoreProps.js +2 -0
- package/lib/core/CoreProps.js.map +1 -0
- package/lib/core/LoginCore/LoginCore.d.ts +5 -0
- package/lib/core/LoginCore/LoginCore.js +100 -0
- package/lib/core/LoginCore/LoginCore.js.map +1 -0
- package/lib/core/LoginCore/LoginCoreTypes.d.ts +10 -0
- package/lib/core/LoginCore/LoginCoreTypes.js +2 -0
- package/lib/core/LoginCore/LoginCoreTypes.js.map +1 -0
- package/lib/core/MyOrdersCore/MyOrdersCore.d.ts +3 -0
- package/lib/core/MyOrdersCore/MyOrdersCore.js +16 -0
- package/lib/core/MyOrdersCore/MyOrdersCore.js.map +1 -0
- package/lib/core/MyOrdersCore/MyOrdersCoreTypes.d.ts +5 -0
- package/lib/core/MyOrdersCore/MyOrdersCoreTypes.js +2 -0
- package/lib/core/MyOrdersCore/MyOrdersCoreTypes.js.map +1 -0
- package/lib/core/PurchaseConfirmationCore/PurchaseConfirmationCore.d.ts +5 -0
- package/lib/core/PurchaseConfirmationCore/PurchaseConfirmationCore.js +12 -0
- package/lib/core/PurchaseConfirmationCore/PurchaseConfirmationCore.js.map +1 -0
- package/lib/core/PurchaseConfirmationCore/PurchaseConfirmationCoreTypes.d.ts +4 -0
- package/lib/core/PurchaseConfirmationCore/PurchaseConfirmationCoreTypes.js +2 -0
- package/lib/core/PurchaseConfirmationCore/PurchaseConfirmationCoreTypes.js.map +1 -0
- package/lib/core/TicketsCore/TicketsCore.d.ts +5 -0
- package/lib/core/TicketsCore/TicketsCore.js +59 -0
- package/lib/core/TicketsCore/TicketsCore.js.map +1 -0
- package/lib/core/TicketsCore/TicketsCoreTypes.d.ts +15 -0
- package/lib/core/TicketsCore/TicketsCoreTypes.js +2 -0
- package/lib/core/TicketsCore/TicketsCoreTypes.js.map +1 -0
- package/lib/core/WaitingListCore/WaitingListCore.d.ts +5 -0
- package/lib/core/WaitingListCore/WaitingListCore.js +17 -0
- package/lib/core/WaitingListCore/WaitingListCore.js.map +1 -0
- package/lib/core/WaitingListCore/WaitingListCoreTypes.d.ts +9 -0
- package/lib/core/WaitingListCore/WaitingListCoreTypes.js +2 -0
- package/lib/core/WaitingListCore/WaitingListCoreTypes.js.map +1 -0
- package/lib/core/index.d.ts +14 -0
- package/lib/core/index.js +8 -0
- package/lib/core/index.js.map +1 -0
- package/lib/helpers/Config.d.ts +2 -1
- package/lib/helpers/Config.js +13 -2
- package/lib/helpers/Config.js.map +1 -1
- package/lib/helpers/CountryCodes.d.ts +15 -0
- package/lib/helpers/CountryCodes.js +3382 -0
- package/lib/helpers/CountryCodes.js.map +1 -0
- package/lib/helpers/LocalStorage.d.ts +1 -0
- package/lib/helpers/LocalStorage.js +4 -1
- package/lib/helpers/LocalStorage.js.map +1 -1
- package/lib/helpers/Validators.d.ts +6 -0
- package/lib/helpers/Validators.js +10 -0
- package/lib/helpers/Validators.js.map +1 -1
- package/lib/index.d.ts +4 -2
- package/lib/index.js +3 -1
- package/lib/index.js.map +1 -1
- package/lib/types/IEvent.d.ts +6 -0
- package/lib/types/ITicket.d.ts +10 -1
- package/lib/types/IUserProfile.d.ts +15 -11
- package/package.json +13 -6
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React, { useCallback, useEffect, useState } from 'react';
|
|
1
|
+
import React, { useCallback, useEffect, useRef, useState } from 'react';
|
|
2
2
|
import { Alert } from 'react-native';
|
|
3
|
-
import {
|
|
3
|
+
import { WaitingListCore } from '../../core';
|
|
4
4
|
import { useDebounced } from '../../helpers/Debounced';
|
|
5
5
|
import { validateEmail, validateEmpty } from '../../helpers/Validators';
|
|
6
6
|
import WaitingListView from './WaitingListView';
|
|
7
|
-
const WaitingList = ({ styles, texts,
|
|
7
|
+
const WaitingList = ({ styles, texts, onAddToWaitingListError, onAddToWaitingListSuccess, onLoadingChange, areAlertsEnabled, }) => {
|
|
8
8
|
const [isSuccess, setIsSuccess] = useState(undefined);
|
|
9
9
|
const [isLoading, setIsLoading] = useState(false);
|
|
10
10
|
const [firstName, setFirstName] = useState('');
|
|
@@ -16,53 +16,56 @@ const WaitingList = ({ styles, texts, eventId, onAddToWaitingListError, onAddToW
|
|
|
16
16
|
const handleSetFirstName = (val) => setFirstName(val);
|
|
17
17
|
const handleSetLastName = (val) => setLastName(val);
|
|
18
18
|
const handleSetEmail = (val) => setEmail(val);
|
|
19
|
+
const waitingListCoreRef = useRef(null);
|
|
20
|
+
const showAlert = (message) => {
|
|
21
|
+
if (areAlertsEnabled) {
|
|
22
|
+
Alert.alert('', message);
|
|
23
|
+
}
|
|
24
|
+
};
|
|
19
25
|
const handleOnPressButton = async () => {
|
|
26
|
+
if (!waitingListCoreRef.current) {
|
|
27
|
+
showAlert('WaitingListCore is not initialized');
|
|
28
|
+
return onAddToWaitingListError === null || onAddToWaitingListError === void 0 ? void 0 : onAddToWaitingListError({
|
|
29
|
+
message: 'WaitingListCore is not initialized',
|
|
30
|
+
});
|
|
31
|
+
}
|
|
20
32
|
const values = {
|
|
21
|
-
ticketTypeId: '',
|
|
22
|
-
quantity: '',
|
|
23
33
|
firstName: firstName,
|
|
24
34
|
lastName: lastName,
|
|
25
35
|
email: email,
|
|
26
36
|
};
|
|
27
37
|
setIsLoading(true);
|
|
28
|
-
const { addToWaitingListData, addToWaitingListError } = await addToWaitingList(
|
|
38
|
+
const { addToWaitingListData, addToWaitingListError } = await waitingListCoreRef.current.addToWaitingList(values);
|
|
29
39
|
setIsLoading(false);
|
|
30
40
|
if (addToWaitingListError) {
|
|
31
41
|
setIsSuccess(false);
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
if (onAddToWaitingListError) {
|
|
36
|
-
onAddToWaitingListError(addToWaitingListError);
|
|
37
|
-
}
|
|
42
|
+
showAlert(addToWaitingListError.message);
|
|
43
|
+
onAddToWaitingListError === null || onAddToWaitingListError === void 0 ? void 0 : onAddToWaitingListError(addToWaitingListError);
|
|
38
44
|
return;
|
|
39
45
|
}
|
|
40
46
|
if (addToWaitingListData) {
|
|
41
|
-
|
|
42
|
-
onAddToWaitingListSuccess();
|
|
43
|
-
}
|
|
47
|
+
onAddToWaitingListSuccess === null || onAddToWaitingListSuccess === void 0 ? void 0 : onAddToWaitingListSuccess();
|
|
44
48
|
setIsSuccess(true);
|
|
45
49
|
}
|
|
46
50
|
};
|
|
47
51
|
const onLoadingChangeCallback = useCallback((loading) => {
|
|
48
|
-
|
|
49
|
-
onLoadingChange(loading);
|
|
50
|
-
}
|
|
52
|
+
onLoadingChange === null || onLoadingChange === void 0 ? void 0 : onLoadingChange(loading);
|
|
51
53
|
}, [onLoadingChange]);
|
|
52
54
|
useEffect(() => {
|
|
53
55
|
onLoadingChangeCallback(isLoading);
|
|
54
56
|
}, [isLoading, onLoadingChangeCallback]);
|
|
55
|
-
return (React.createElement(
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
57
|
+
return (React.createElement(WaitingListCore, { ref: waitingListCoreRef },
|
|
58
|
+
React.createElement(WaitingListView, { data: {
|
|
59
|
+
firstName: firstName,
|
|
60
|
+
lastName: lastName,
|
|
61
|
+
email: email,
|
|
62
|
+
firstNameError: firstNameError,
|
|
63
|
+
lastNameError: lastNameError,
|
|
64
|
+
emailError: emailError,
|
|
65
|
+
onChangeEmail: handleSetEmail,
|
|
66
|
+
onChangeFirstName: handleSetFirstName,
|
|
67
|
+
onChangeLastName: handleSetLastName,
|
|
68
|
+
}, onPressButton: handleOnPressButton, isSuccess: isSuccess, styles: styles, texts: texts, isLoading: isLoading })));
|
|
66
69
|
};
|
|
67
70
|
export default WaitingList;
|
|
68
71
|
//# sourceMappingURL=WaitingList.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WaitingList.js","sourceRoot":"","sources":["../../../src/components/waitingList/WaitingList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"WaitingList.js","sourceRoot":"","sources":["../../../src/components/waitingList/WaitingList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAM,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAC3E,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAA;AAEpC,OAAO,EAAE,eAAe,EAAyB,MAAM,YAAY,CAAA;AAEnE,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AACtD,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAA;AAEvE,OAAO,eAAe,MAAM,mBAAmB,CAAA;AAE/C,MAAM,WAAW,GAA0B,CAAC,EAC1C,MAAM,EACN,KAAK,EACL,uBAAuB,EACvB,yBAAyB,EACzB,eAAe,EACf,gBAAgB,GACjB,EAAE,EAAE;IACH,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAsB,SAAS,CAAC,CAAA;IAC1E,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAU,KAAK,CAAC,CAAA;IAC1D,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAC,EAAE,CAAC,CAAA;IAC9C,MAAM,CAAC,QAAQ,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SAAS,GACpB,CACc,CACnB,CAAA;AACH,CAAC,CAAA;AAED,eAAe,WAAW,CAAA"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
1
2
|
import { IWaitingListViewProps } from './types';
|
|
2
|
-
declare const WaitingListView:
|
|
3
|
+
declare const WaitingListView: FC<IWaitingListViewProps>;
|
|
3
4
|
export default WaitingListView;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WaitingListView.js","sourceRoot":"","sources":["../../../src/components/waitingList/WaitingListView.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"WaitingListView.js","sourceRoot":"","sources":["../../../src/components/waitingList/WaitingListView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAa,MAAM,OAAO,CAAA;AACjC,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAEzC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,IAAI,CAAA;AAClC,OAAO,CAAC,MAAM,UAAU,CAAA;AAGxB,MAAM,eAAe,GAA8B,CAAC,EAClD,MAAM,EACN,KAAK,EACL,aAAa,EACb,IAAI,EACJ,SAAS,EACT,SAAS,GACV,EAAE,EAAE;;IACH,MAAM,EACJ,SAAS,EACT,QAAQ,EACR,KAAK,EACL,UAAU,EACV,aAAa,EACb,cAAc,EACd,aAAa,EACb,iBAAiB,EACjB,gBAAgB,GACjB,GAAG,IAAI,CAAA;IAER,MAAM,cAAc,GAAG,GAAG,EAAE,CAC1B,SAAS,CAAC,MAAM,GAAG,CAAC;QACpB,QAAQ,CAAC,MAAM,GAAG,CAAC;QACnB,KAAK,CAAC,MAAM,GAAG,CAAC;QAChB,CAAC,UAAU;QACX,CAAC,aAAa;QACd,CAAC,cAAc,CAAA;IAEjB,MAAM,WAAW,GAAG,cAAc,EAAE,CAAA;IAEpC,MAAM,WAAW,GAAG,WAAW;QAC7B,CAAC,CAAC,MAAM,aAAN,M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