tf-checkout-react 1.3.43 → 1.3.45
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 +2 -1
- package/dist/components/common/PhoneNumberField.d.ts +3 -2
- package/dist/components/confirmationContainer/index.d.ts +3 -1
- package/dist/components/confirmationContainer/social-buttons.d.ts +2 -1
- package/dist/components/paymentContainer/index.d.ts +3 -1
- package/dist/components/ticketsContainer/TicketsSection.d.ts +2 -1
- package/dist/components/ticketsContainer/index.d.ts +3 -1
- package/dist/tf-checkout-react.cjs.development.js +41 -20
- 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 +41 -20
- package/dist/tf-checkout-react.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/billing-info-container/index.tsx +8 -0
- package/src/components/common/PhoneNumberField.tsx +6 -4
- package/src/components/confirmationContainer/index.tsx +28 -21
- package/src/components/confirmationContainer/social-buttons.tsx +24 -14
- package/src/components/paymentContainer/index.tsx +6 -2
- package/src/components/ticketsContainer/TicketsSection.tsx +3 -1
- package/src/components/ticketsContainer/index.tsx +7 -0
|
@@ -49,5 +49,6 @@ export interface IBillingInfoPage {
|
|
|
49
49
|
showSignUpButton?: boolean;
|
|
50
50
|
brandOptIn?: boolean;
|
|
51
51
|
showPoweredByImage?: boolean;
|
|
52
|
+
isCountryCodeEditable?: boolean;
|
|
52
53
|
}
|
|
53
|
-
export declare const BillingInfoContainer: React.MemoExoticComponent<({ data, ticketHoldersFields, initialValues, buttonName, handleSubmit, theme, onRegisterSuccess, onRegisterError, onSubmitError, onGetCartSuccess, onGetCartError, onGetCountriesSuccess, onGetCountriesError, onGetStatesSuccess, onGetStatesError, onGetProfileDataSuccess, onGetProfileDataError, onAuthorizeSuccess, onAuthorizeError, onLogin, onLoginSuccess, isLoggedIn: pIsLoggedIn, accountInfoTitle, hideLogo, themeOptions, onErrorClose, hideErrorsAlertSection, onSkipBillingPage, skipPage, canSkipHolderNames, onForgotPasswordSuccess, onForgotPasswordError, shouldFetchCountries, onCountdownFinish, enableTimer, logo, showForgotPasswordButton, showSignUpButton, brandOptIn, showPoweredByImage, }: IBillingInfoPage) => JSX.Element>;
|
|
54
|
+
export declare const BillingInfoContainer: React.MemoExoticComponent<({ data, ticketHoldersFields, initialValues, buttonName, handleSubmit, theme, onRegisterSuccess, onRegisterError, onSubmitError, onGetCartSuccess, onGetCartError, onGetCountriesSuccess, onGetCountriesError, onGetStatesSuccess, onGetStatesError, onGetProfileDataSuccess, onGetProfileDataError, onAuthorizeSuccess, onAuthorizeError, onLogin, onLoginSuccess, isLoggedIn: pIsLoggedIn, accountInfoTitle, hideLogo, themeOptions, onErrorClose, hideErrorsAlertSection, onSkipBillingPage, skipPage, canSkipHolderNames, onForgotPasswordSuccess, onForgotPasswordError, shouldFetchCountries, onCountdownFinish, enableTimer, logo, showForgotPasswordButton, showSignUpButton, brandOptIn, showPoweredByImage, isCountryCodeEditable, }: IBillingInfoPage) => JSX.Element>;
|
|
@@ -6,8 +6,9 @@ export interface IPhoneNumberField {
|
|
|
6
6
|
form: FormikProps<any>;
|
|
7
7
|
type: string;
|
|
8
8
|
disableDropdown: boolean;
|
|
9
|
-
defaultCountry?: string;
|
|
10
9
|
fill: boolean;
|
|
11
10
|
setPhoneValidationIsLoading: (isLoading: boolean) => void;
|
|
11
|
+
defaultCountry?: string;
|
|
12
|
+
isCountryCodeEditable?: boolean;
|
|
12
13
|
}
|
|
13
|
-
export declare const PhoneNumberField: ({ label, field, form: { errors, touched, setFieldError, values, initialValues, setFieldValue, setFieldTouched, setErrors, }, disableDropdown, defaultCountry, fill, setPhoneValidationIsLoading, }: IPhoneNumberField) => JSX.Element;
|
|
14
|
+
export declare const PhoneNumberField: ({ label, field, form: { errors, touched, setFieldError, values, initialValues, setFieldValue, setFieldTouched, setErrors, }, disableDropdown, defaultCountry, fill, setPhoneValidationIsLoading, isCountryCodeEditable, }: IPhoneNumberField) => JSX.Element;
|
|
@@ -24,5 +24,7 @@ export interface IConfirmationPage {
|
|
|
24
24
|
orderHash?: string;
|
|
25
25
|
confirmationLabels: IConfirmationLabels;
|
|
26
26
|
clientLabel?: string;
|
|
27
|
+
showReferralsInfoText?: boolean;
|
|
28
|
+
showCopyInfoModal?: boolean;
|
|
27
29
|
}
|
|
28
|
-
export declare const ConfirmationContainer: ({ confirmationLabels, hasCopyIcon, isReferralEnabled, showDefaultShareButtons, messengerAppId, shareButtons, onGetConfirmationDataSuccess, onGetConfirmationDataError, orderHash, onLinkCopied, clientLabel, }: IConfirmationPage) => JSX.Element;
|
|
30
|
+
export declare const ConfirmationContainer: ({ confirmationLabels, hasCopyIcon, isReferralEnabled, showDefaultShareButtons, messengerAppId, shareButtons, onGetConfirmationDataSuccess, onGetConfirmationDataError, orderHash, onLinkCopied, clientLabel, showReferralsInfoText, showCopyInfoModal, }: IConfirmationPage) => JSX.Element;
|
|
@@ -7,6 +7,7 @@ interface SocialButtonsTypes {
|
|
|
7
7
|
showDefaultShareButtons: boolean;
|
|
8
8
|
shareButtons: IShareButton[];
|
|
9
9
|
clientLabel?: string;
|
|
10
|
+
showReferralsInfoText?: boolean;
|
|
10
11
|
}
|
|
11
|
-
declare const SocialButtons: ({ showDefaultShareButtons, shareLink, name, appId, shareButtons, clientLabel, }: SocialButtonsTypes) => JSX.Element;
|
|
12
|
+
declare const SocialButtons: ({ showDefaultShareButtons, shareLink, name, appId, shareButtons, clientLabel, showReferralsInfoText, }: SocialButtonsTypes) => JSX.Element;
|
|
12
13
|
export default SocialButtons;
|
|
@@ -26,5 +26,7 @@ export interface IPaymentPage {
|
|
|
26
26
|
enableTimer?: boolean;
|
|
27
27
|
enablePaymentPlan?: boolean;
|
|
28
28
|
paymentButtonText?: string;
|
|
29
|
+
paymentInfoLabel?: string;
|
|
30
|
+
orderInfoLabel?: string;
|
|
29
31
|
}
|
|
30
|
-
export declare const PaymentContainer: ({ paymentFields, handlePayment, formTitle, errorText, checkoutData, onErrorClose, onGetPaymentDataSuccess, onGetPaymentDataError, onPaymentError, stripeCardOptions, disableZipSection, themeOptions, elementsOptions, onCountdownFinish, enableTimer, enablePaymentPlan, paymentButtonText, }: IPaymentPage) => JSX.Element;
|
|
32
|
+
export declare const PaymentContainer: ({ paymentFields, handlePayment, formTitle, errorText, checkoutData, onErrorClose, onGetPaymentDataSuccess, onGetPaymentDataError, onPaymentError, stripeCardOptions, disableZipSection, themeOptions, elementsOptions, onCountdownFinish, enableTimer, enablePaymentPlan, paymentButtonText, orderInfoLabel, paymentInfoLabel, }: IPaymentPage) => JSX.Element;
|
|
@@ -8,6 +8,7 @@ interface ITicketsSectionProps {
|
|
|
8
8
|
sortBySoldOut: boolean;
|
|
9
9
|
ticketsHeaderComponent?: ReactNode;
|
|
10
10
|
hideTicketsHeader: boolean;
|
|
11
|
+
showGroupNameBlock?: boolean;
|
|
11
12
|
}
|
|
12
|
-
export declare const TicketsSection: ({ event, ticketsList, selectedTickets, handleTicketSelect, sortBySoldOut, ticketsHeaderComponent, hideTicketsHeader, }: ITicketsSectionProps) => JSX.Element;
|
|
13
|
+
export declare const TicketsSection: ({ event, ticketsList, selectedTickets, handleTicketSelect, sortBySoldOut, ticketsHeaderComponent, hideTicketsHeader, showGroupNameBlock, }: ITicketsSectionProps) => JSX.Element;
|
|
13
14
|
export {};
|
|
@@ -53,7 +53,9 @@ export interface IGetTickets {
|
|
|
53
53
|
enableInfluencersSection?: boolean;
|
|
54
54
|
enableAddOns?: boolean;
|
|
55
55
|
ordersPath?: string;
|
|
56
|
+
showPoweredByImage?: boolean;
|
|
56
57
|
promoText?: string;
|
|
58
|
+
showGroupNameBlock?: boolean;
|
|
57
59
|
}
|
|
58
60
|
export interface ITicket {
|
|
59
61
|
id: string | number;
|
|
@@ -62,5 +64,5 @@ export interface ITicket {
|
|
|
62
64
|
export interface ISelectedTickets {
|
|
63
65
|
[key: string]: string | number;
|
|
64
66
|
}
|
|
65
|
-
export declare const TicketsContainer: ({ onLoginSuccess, getTicketsLabel, eventId, onAddToCartSuccess, contentStyle, onAddToCartError, onGetTicketsSuccess, onGetTicketsError, onLogoutSuccess, onLogoutError, onGetProfileDataSuccess, onGetProfileDataError, theme, queryPromoCode, isPromotionsEnabled, themeOptions, isAccessCodeEnabled, hideSessionButtons, hideWaitingList, enableBillingInfoAutoCreate, isButtonScrollable, sortBySoldOut, disableCountdownLeadingZero, isLoggedIn, actionsSectionComponent: ActionsSectionComponent, ticketsHeaderComponent, hideTicketsHeader, enableInfluencersSection, enableAddOns, handleNotInvitedModalClose, handleInvalidLinkModalClose, ordersPath, promoText, }: IGetTickets) => JSX.Element;
|
|
67
|
+
export declare const TicketsContainer: ({ onLoginSuccess, getTicketsLabel, eventId, onAddToCartSuccess, contentStyle, onAddToCartError, onGetTicketsSuccess, onGetTicketsError, onLogoutSuccess, onLogoutError, onGetProfileDataSuccess, onGetProfileDataError, theme, queryPromoCode, isPromotionsEnabled, themeOptions, isAccessCodeEnabled, hideSessionButtons, hideWaitingList, enableBillingInfoAutoCreate, isButtonScrollable, sortBySoldOut, disableCountdownLeadingZero, isLoggedIn, actionsSectionComponent: ActionsSectionComponent, ticketsHeaderComponent, hideTicketsHeader, enableInfluencersSection, enableAddOns, handleNotInvitedModalClose, handleInvalidLinkModalClose, ordersPath, showPoweredByImage, promoText, showGroupNameBlock, }: IGetTickets) => JSX.Element;
|
|
66
68
|
export {};
|
|
@@ -2539,7 +2539,8 @@ var PhoneNumberField = function PhoneNumberField(_ref) {
|
|
|
2539
2539
|
defaultCountry = _ref$defaultCountry === void 0 ? 'us' : _ref$defaultCountry,
|
|
2540
2540
|
_ref$fill = _ref.fill,
|
|
2541
2541
|
fill = _ref$fill === void 0 ? false : _ref$fill,
|
|
2542
|
-
setPhoneValidationIsLoading = _ref.setPhoneValidationIsLoading
|
|
2542
|
+
setPhoneValidationIsLoading = _ref.setPhoneValidationIsLoading,
|
|
2543
|
+
isCountryCodeEditable = _ref.isCountryCodeEditable;
|
|
2543
2544
|
|
|
2544
2545
|
var error = _get(errors, field.name);
|
|
2545
2546
|
|
|
@@ -2634,7 +2635,7 @@ var PhoneNumberField = function PhoneNumberField(_ref) {
|
|
|
2634
2635
|
fullWidth: true,
|
|
2635
2636
|
autoFormat: false,
|
|
2636
2637
|
disableAreaCodes: true,
|
|
2637
|
-
countryCodeEditable:
|
|
2638
|
+
countryCodeEditable: isCountryCodeEditable
|
|
2638
2639
|
}));
|
|
2639
2640
|
};
|
|
2640
2641
|
|
|
@@ -3360,7 +3361,9 @@ var BillingInfoContainer = /*#__PURE__*/React__default.memo(function (_ref4) {
|
|
|
3360
3361
|
_ref4$brandOptIn = _ref4.brandOptIn,
|
|
3361
3362
|
brandOptIn = _ref4$brandOptIn === void 0 ? false : _ref4$brandOptIn,
|
|
3362
3363
|
_ref4$showPoweredByIm = _ref4.showPoweredByImage,
|
|
3363
|
-
showPoweredByImage = _ref4$showPoweredByIm === void 0 ? false : _ref4$showPoweredByIm
|
|
3364
|
+
showPoweredByImage = _ref4$showPoweredByIm === void 0 ? false : _ref4$showPoweredByIm,
|
|
3365
|
+
_ref4$isCountryCodeEd = _ref4.isCountryCodeEditable,
|
|
3366
|
+
isCountryCodeEditable = _ref4$isCountryCodeEd === void 0 ? true : _ref4$isCountryCodeEd;
|
|
3364
3367
|
|
|
3365
3368
|
var _useState = React.useState(false),
|
|
3366
3369
|
isNewUser = _useState[0],
|
|
@@ -4084,7 +4087,8 @@ var BillingInfoContainer = /*#__PURE__*/React__default.memo(function (_ref4) {
|
|
|
4084
4087
|
}) : element.name === 'state' ? states : element.selectOptions || [],
|
|
4085
4088
|
theme: theme,
|
|
4086
4089
|
defaultCountry: defaultCountry || element.defaultCountry,
|
|
4087
|
-
dateFormat: element.format
|
|
4090
|
+
dateFormat: element.format,
|
|
4091
|
+
isCountryCodeEditable: isCountryCodeEditable
|
|
4088
4092
|
}))));
|
|
4089
4093
|
})));
|
|
4090
4094
|
}));
|
|
@@ -4119,7 +4123,8 @@ var BillingInfoContainer = /*#__PURE__*/React__default.memo(function (_ref4) {
|
|
|
4119
4123
|
return props.errors[element.name + "-" + index];
|
|
4120
4124
|
}),
|
|
4121
4125
|
setPhoneValidationIsLoading: setPhoneValidationIsLoading,
|
|
4122
|
-
defaultCountry: defaultCountry || element.defaultCountry
|
|
4126
|
+
defaultCountry: defaultCountry || element.defaultCountry,
|
|
4127
|
+
isCountryCodeEditable: isCountryCodeEditable
|
|
4123
4128
|
})));
|
|
4124
4129
|
})));
|
|
4125
4130
|
}));
|
|
@@ -4590,7 +4595,11 @@ var PaymentContainer = function PaymentContainer(_ref) {
|
|
|
4590
4595
|
enableTimer = _ref$enableTimer === void 0 ? false : _ref$enableTimer,
|
|
4591
4596
|
_ref$enablePaymentPla = _ref.enablePaymentPlan,
|
|
4592
4597
|
enablePaymentPlan = _ref$enablePaymentPla === void 0 ? false : _ref$enablePaymentPla,
|
|
4593
|
-
paymentButtonText = _ref.paymentButtonText
|
|
4598
|
+
paymentButtonText = _ref.paymentButtonText,
|
|
4599
|
+
_ref$orderInfoLabel = _ref.orderInfoLabel,
|
|
4600
|
+
orderInfoLabel = _ref$orderInfoLabel === void 0 ? 'Order Review' : _ref$orderInfoLabel,
|
|
4601
|
+
_ref$paymentInfoLabel = _ref.paymentInfoLabel,
|
|
4602
|
+
paymentInfoLabel = _ref$paymentInfoLabel === void 0 ? 'Order Confirmation' : _ref$paymentInfoLabel;
|
|
4594
4603
|
|
|
4595
4604
|
var _useState = React.useState(initialReviewValues),
|
|
4596
4605
|
reviewData = _useState[0],
|
|
@@ -4815,7 +4824,7 @@ var PaymentContainer = function PaymentContainer(_ref) {
|
|
|
4815
4824
|
maxWidth: "md"
|
|
4816
4825
|
}, showFormTitle && React__default.createElement("h1", null, formTitle), React__default.createElement("div", {
|
|
4817
4826
|
className: "order_info_text"
|
|
4818
|
-
},
|
|
4827
|
+
}, orderInfoLabel), React__default.createElement("div", {
|
|
4819
4828
|
className: "order_info_section"
|
|
4820
4829
|
}, _map(paymentFields, function (field) {
|
|
4821
4830
|
var id = field.id,
|
|
@@ -4874,7 +4883,7 @@ var PaymentContainer = function PaymentContainer(_ref) {
|
|
|
4874
4883
|
className: "payment_info"
|
|
4875
4884
|
}, React__default.createElement("div", {
|
|
4876
4885
|
className: "payment_info_label"
|
|
4877
|
-
},
|
|
4886
|
+
}, paymentInfoLabel), showErrorText && React__default.createElement("p", {
|
|
4878
4887
|
className: "payment_info__error"
|
|
4879
4888
|
}, errorText), React__default.createElement("div", null, React__default.createElement(reactStripeJs.Elements, {
|
|
4880
4889
|
stripe: getStripePromise(reviewData),
|
|
@@ -5008,9 +5017,9 @@ var SocialComponent = function SocialComponent(_ref) {
|
|
|
5008
5017
|
var Component = (_config = config$1(platform)) == null ? void 0 : _config.component;
|
|
5009
5018
|
var Icon = (_config2 = config$1(platform)) == null ? void 0 : _config2.icon;
|
|
5010
5019
|
return React__default.createElement(React__default.Fragment, null, Component && React__default.createElement(Component, Object.assign({}, shareData), React__default.createElement("div", {
|
|
5011
|
-
className:
|
|
5020
|
+
className: "social-media-sharing"
|
|
5012
5021
|
}, React__default.createElement("div", {
|
|
5013
|
-
className:
|
|
5022
|
+
className: "share-icon"
|
|
5014
5023
|
}, React__default.createElement(Icon, {
|
|
5015
5024
|
size: 32,
|
|
5016
5025
|
round: true
|
|
@@ -5025,7 +5034,8 @@ var SocialButtons = function SocialButtons(_ref2) {
|
|
|
5025
5034
|
name = _ref2.name,
|
|
5026
5035
|
appId = _ref2.appId,
|
|
5027
5036
|
shareButtons = _ref2.shareButtons,
|
|
5028
|
-
clientLabel = _ref2.clientLabel
|
|
5037
|
+
clientLabel = _ref2.clientLabel,
|
|
5038
|
+
showReferralsInfoText = _ref2.showReferralsInfoText;
|
|
5029
5039
|
return React__default.createElement(React__default.Fragment, null, React__default.createElement("div", {
|
|
5030
5040
|
className: "convenient_buttons"
|
|
5031
5041
|
}, "or use one of these convenient buttons:"), React__default.createElement("div", {
|
|
@@ -5066,7 +5076,7 @@ var SocialButtons = function SocialButtons(_ref2) {
|
|
|
5066
5076
|
return React__default.createElement(SocialComponent, Object.assign({
|
|
5067
5077
|
key: index
|
|
5068
5078
|
}, shareButton));
|
|
5069
|
-
})), (showDefaultShareButtons || shareButtons.length) && React__default.createElement("p", null, "We ", React__default.createElement("strong", null, "never"), " post on Facebook without your permission!"), React__default.createElement("p", {
|
|
5079
|
+
})), (showDefaultShareButtons || shareButtons.length) && React__default.createElement("p", null, "We ", React__default.createElement("strong", null, "never"), " post on Facebook without your permission!"), (showReferralsInfoText || Boolean(clientLabel)) && React__default.createElement("p", {
|
|
5070
5080
|
className: "note-message"
|
|
5071
5081
|
}, React__default.createElement("span", null, "*Please note, only purchases made from a different", ' ', clientLabel || 'Ticket Fairy', " account can count towards your referrals"), React__default.createElement("span", null, ' ', "so please make sure you ask your friends to buy their own tickets using their own ", clientLabel || 'Ticket Fairy', " account!")));
|
|
5072
5082
|
};
|
|
@@ -5088,7 +5098,11 @@ var ConfirmationContainer = function ConfirmationContainer(_ref) {
|
|
|
5088
5098
|
orderHash = _ref.orderHash,
|
|
5089
5099
|
_ref$onLinkCopied = _ref.onLinkCopied,
|
|
5090
5100
|
onLinkCopied = _ref$onLinkCopied === void 0 ? function () {} : _ref$onLinkCopied,
|
|
5091
|
-
clientLabel = _ref.clientLabel
|
|
5101
|
+
clientLabel = _ref.clientLabel,
|
|
5102
|
+
_ref$showReferralsInf = _ref.showReferralsInfoText,
|
|
5103
|
+
showReferralsInfoText = _ref$showReferralsInf === void 0 ? false : _ref$showReferralsInf,
|
|
5104
|
+
_ref$showCopyInfoModa = _ref.showCopyInfoModal,
|
|
5105
|
+
showCopyInfoModal = _ref$showCopyInfoModa === void 0 ? false : _ref$showCopyInfoModa;
|
|
5092
5106
|
var inputRef = React.useRef(null);
|
|
5093
5107
|
|
|
5094
5108
|
var _useState = React.useState(null),
|
|
@@ -5190,7 +5204,7 @@ var ConfirmationContainer = function ConfirmationContainer(_ref) {
|
|
|
5190
5204
|
usePixel(['conversionPixels', 'brandConversionPixels'], data == null ? void 0 : data.product_id);
|
|
5191
5205
|
return React__default.createElement("div", {
|
|
5192
5206
|
className: "confirmation-page"
|
|
5193
|
-
}, React__default.createElement(Modal, {
|
|
5207
|
+
}, showCopyInfoModal && React__default.createElement(Modal, {
|
|
5194
5208
|
open: showCopyModal,
|
|
5195
5209
|
onClose: onClose,
|
|
5196
5210
|
"aria-labelledby": "modal-modal-title",
|
|
@@ -5289,7 +5303,8 @@ var ConfirmationContainer = function ConfirmationContainer(_ref) {
|
|
|
5289
5303
|
appId: messengerAppId,
|
|
5290
5304
|
shareLink: data.personal_share_link,
|
|
5291
5305
|
shareButtons: shareButtons,
|
|
5292
|
-
clientLabel: clientLabel
|
|
5306
|
+
clientLabel: clientLabel,
|
|
5307
|
+
showReferralsInfoText: showReferralsInfoText
|
|
5293
5308
|
})))), React__default.createElement("div", {
|
|
5294
5309
|
className: "pricing-section"
|
|
5295
5310
|
}, React__default.createElement("div", {
|
|
@@ -5878,7 +5893,8 @@ var TicketsSection = function TicketsSection(_ref) {
|
|
|
5878
5893
|
handleTicketSelect = _ref.handleTicketSelect,
|
|
5879
5894
|
sortBySoldOut = _ref.sortBySoldOut,
|
|
5880
5895
|
ticketsHeaderComponent = _ref.ticketsHeaderComponent,
|
|
5881
|
-
hideTicketsHeader = _ref.hideTicketsHeader
|
|
5896
|
+
hideTicketsHeader = _ref.hideTicketsHeader,
|
|
5897
|
+
showGroupNameBlock = _ref.showGroupNameBlock;
|
|
5882
5898
|
var currency = event.currency.currency;
|
|
5883
5899
|
var sortedTicketsList = sortBySoldOut ? _sortBy(_sortBy(ticketsList, 'sortOrder'), 'soldOut') : _sortBy(ticketsList, 'sortOrder');
|
|
5884
5900
|
var showGroup = !!sortedTicketsList.find(function (ticket) {
|
|
@@ -5907,7 +5923,7 @@ var TicketsSection = function TicketsSection(_ref) {
|
|
|
5907
5923
|
var isNewGroupTicket = (ticket == null ? void 0 : ticket.groupName) !== ((_arr = arr[i - 1]) == null ? void 0 : _arr.groupName);
|
|
5908
5924
|
return React__default.createElement(React__default.Fragment, {
|
|
5909
5925
|
key: ticket.id || ticket.name
|
|
5910
|
-
}, showGroup && isNewGroupTicket ? React__default.createElement("div", {
|
|
5926
|
+
}, showGroupNameBlock && showGroup && isNewGroupTicket ? React__default.createElement("div", {
|
|
5911
5927
|
className: "event-detail__tier group-title"
|
|
5912
5928
|
}, ticket.groupName || '') : null, React__default.createElement("div", {
|
|
5913
5929
|
className: "event-detail__tier " + (isSoldOut ? 'disabled' : '')
|
|
@@ -5994,7 +6010,11 @@ var TicketsContainer = function TicketsContainer(_ref) {
|
|
|
5994
6010
|
_ref$handleInvalidLin = _ref.handleInvalidLinkModalClose,
|
|
5995
6011
|
handleInvalidLinkModalClose = _ref$handleInvalidLin === void 0 ? _identity : _ref$handleInvalidLin,
|
|
5996
6012
|
ordersPath = _ref.ordersPath,
|
|
5997
|
-
|
|
6013
|
+
_ref$showPoweredByIma = _ref.showPoweredByImage,
|
|
6014
|
+
showPoweredByImage = _ref$showPoweredByIma === void 0 ? false : _ref$showPoweredByIma,
|
|
6015
|
+
promoText = _ref.promoText,
|
|
6016
|
+
_ref$showGroupNameBlo = _ref.showGroupNameBlock,
|
|
6017
|
+
showGroupNameBlock = _ref$showGroupNameBlo === void 0 ? false : _ref$showGroupNameBlo;
|
|
5998
6018
|
|
|
5999
6019
|
var _useState = React.useState({}),
|
|
6000
6020
|
selectedTickets = _useState[0],
|
|
@@ -6578,7 +6598,8 @@ var TicketsContainer = function TicketsContainer(_ref) {
|
|
|
6578
6598
|
handleTicketSelect: handleTicketSelect,
|
|
6579
6599
|
sortBySoldOut: sortBySoldOut,
|
|
6580
6600
|
ticketsHeaderComponent: ticketsHeaderComponent,
|
|
6581
|
-
hideTicketsHeader: hideTicketsHeader || _isEmpty(tickets)
|
|
6601
|
+
hideTicketsHeader: hideTicketsHeader || _isEmpty(tickets),
|
|
6602
|
+
showGroupNameBlock: showGroupNameBlock
|
|
6582
6603
|
}), externalUrl ? null : isSalesClosed ? React__default.createElement("p", {
|
|
6583
6604
|
className: "event-closed-message " + (!isLoggedIn ? 'event-closed-on-bottom' : '')
|
|
6584
6605
|
}, "Sales for this event are closed.") : eventSaleIsNotStarted ? React__default.createElement(Countdown, {
|
|
@@ -6630,7 +6651,7 @@ var TicketsContainer = function TicketsContainer(_ref) {
|
|
|
6630
6651
|
}, "Log out"))) : ''), showLoginModal ? React__default.createElement(LoginModal, {
|
|
6631
6652
|
onClose: handleOnClose,
|
|
6632
6653
|
onLogin: handleOnLogin
|
|
6633
|
-
}) : null), enableInfluencersSection && !hideTopInfluencers && influencers.length ? React__default.createElement("div", {
|
|
6654
|
+
}) : null), showPoweredByImage ? React__default.createElement(PoweredBy, null) : null, enableInfluencersSection && !hideTopInfluencers && influencers.length ? React__default.createElement("div", {
|
|
6634
6655
|
className: "event-influencers"
|
|
6635
6656
|
}, React__default.createElement("h3", null, React__default.createElement("span", null, "TOP"), " INFLUENCERS"), React__default.createElement("ol", {
|
|
6636
6657
|
className: "influencer-list"
|