summit-registration-lite 2.0.17 → 2.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/dist/index.css +1 -1
- package/dist/index.js +95 -50
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
.form___DoT3x{display:flex;flex-wrap:wrap;justify-content:space-between;margin:10px 0}.form___DoT3x div.fieldWrapper___wa1Ks{width:48%;margin-bottom:5px}.form___DoT3x div.fieldWrapper___wa1Ks:first-of-type{width:100%}.form___DoT3x div.inputWrapper___CbXhF{display:flex;border-radius:5px;border:1px solid var(--color_primary);height:36px;padding:5px 10px;justify-content:space-between;align-items:center}.form___DoT3x div.inputWrapper___CbXhF input{width:100%;background-color:transparent;border:none;padding:0;font-size:16px;display:flex;justify-content:space-between;align-items:center}.form___DoT3x div.inputWrapper___CbXhF input::placeholder{color:var(--color_text_input_hints);font-size:16px}.form___DoT3x div.inputWrapper___CbXhF input:focus-visible{outline:none}.form___DoT3x div.inputWrapper___CbXhF i{position:relative}.form___DoT3x div.inputWrapper___CbXhF>div{width:100%}.form___DoT3x div.inputWrapper___CbXhF>div:first-of-type{width:95%}.form___DoT3x div.fieldError___QrMYW{margin-top:5px;margin-bottom:5px;color:#e5424d;font-size:14px;line-height:1.5}.form___DoT3x div.fieldError___QrMYW::before{font-family:FontAwesome;content:'\f071';margin-right:5px}
|
|
12
12
|
|
|
13
|
-
.title___ECoNz{font-weight:bold;cursor:pointer;display:flex;justify-content:space-between}.title___ECoNz div{font-weight:normal}.form___lDFka{display:flex;flex-wrap:wrap;justify-content:space-between;margin:10px 0 0}.form___lDFka div.fieldWrapper___Mi_nL{width:48%;margin-bottom:5px}.form___lDFka div.inputWrapper___PEQFR{display:flex;border-radius:5px;border:1px solid var(--color_primary);height:36px;padding:5px 10px;justify-content:space-between;align-items:center}.form___lDFka div.inputWrapper___PEQFR input{width:100%;background-color:transparent;border:none;padding:0;font-size:16px;display:flex;justify-content:space-between;align-items:center}.form___lDFka div.inputWrapper___PEQFR input::placeholder{color:var(--color_text_input_hints);font-size:16px}.form___lDFka div.inputWrapper___PEQFR input:focus-visible{outline:none}.form___lDFka div.inputWrapper___PEQFR .readOnly___WRazF{opacity:0.6;cursor:default}.form___lDFka div.fieldError___ksJVe{margin-top:5px;margin-bottom:5px;color:#e5424d;font-size:14px;line-height:1.5;justify-content:left !important}.form___lDFka div.fieldError___ksJVe::before{font-family:FontAwesome;content:'\f071';margin-right:5px}.form___lDFka .companies___kmGFB>div{position:relative;width:100%;border-radius:5px;display:flex;justify-content:space-between;align-items:center;font-size:15px}.form___lDFka .companies___kmGFB>div::placeholder{color:var(--color_text_input_hints)}.form___lDFka .companies___kmGFB>div>div{height:100%;width:100%}.form___lDFka .companies___kmGFB>div>div>div{height:36px;padding:0px;border:1px solid var(--color_primary);box-shadow:0 0 1px var(--color_primary)}.form___lDFka .companies___kmGFB>div>div>div>div{height:36px}.form___lDFka .companies___kmGFB>div>div>span+div+div{overflow:auto;height:auto}.form___lDFka .companies___kmGFB>div>div>span+div+div>div{height:auto}.form___lDFka .companies___kmGFB>div input{padding:5px 10px;border:1px solid var(--color_primary);padding-right:0px !important;background-color:transparent}.form___lDFka .companies___kmGFB>div i{right:10px !important}.moreInfo___cQYdZ{display:inline-block;margin-top:10px}.moreInfoTooltip___lslgT{max-width:280px}.ticketQuantityNotice___L6gis{margin:10px 0 0 !important}.formErrors___dQQMe{margin-top:10px}.formErrors___dQQMe div+div{margin-top:10px}
|
|
13
|
+
.title___ECoNz{font-weight:bold;cursor:pointer;display:flex;justify-content:space-between}.title___ECoNz div{font-weight:normal}.form___lDFka{display:flex;flex-wrap:wrap;justify-content:space-between;margin:10px 0 0}.form___lDFka div.fieldWrapper___Mi_nL{width:48%;margin-bottom:5px}.form___lDFka div.inputWrapper___PEQFR{display:flex;border-radius:5px;border:1px solid var(--color_primary);height:36px;padding:5px 10px;justify-content:space-between;align-items:center}.form___lDFka div.inputWrapper___PEQFR input{width:100%;background-color:transparent;border:none;padding:0;font-size:16px;display:flex;justify-content:space-between;align-items:center}.form___lDFka div.inputWrapper___PEQFR input::placeholder{color:var(--color_text_input_hints);font-size:16px}.form___lDFka div.inputWrapper___PEQFR input:focus-visible{outline:none}.form___lDFka div.inputWrapper___PEQFR .readOnly___WRazF{opacity:0.6;cursor:default}.form___lDFka div.fieldError___ksJVe{margin-top:5px;margin-bottom:5px;color:#e5424d;font-size:14px;line-height:1.5;justify-content:left !important}.form___lDFka div.fieldError___ksJVe::before{font-family:FontAwesome;content:'\f071';margin-right:5px}.form___lDFka .companies___kmGFB>div{position:relative;width:100%;border-radius:5px;display:flex;justify-content:space-between;align-items:center;font-size:15px}.form___lDFka .companies___kmGFB>div::placeholder{color:var(--color_text_input_hints)}.form___lDFka .companies___kmGFB>div>div{height:100%;width:100%}.form___lDFka .companies___kmGFB>div>div>div{height:36px;padding:0px;border:1px solid var(--color_primary);box-shadow:0 0 1px var(--color_primary)}.form___lDFka .companies___kmGFB>div>div>div>div{height:36px}.form___lDFka .companies___kmGFB>div>div>span+div+div{overflow:auto;height:auto}.form___lDFka .companies___kmGFB>div>div>span+div+div>div{height:auto}.form___lDFka .companies___kmGFB>div input{padding:5px 10px;font-size:16px;color:inherit;border:1px solid var(--color_primary);padding-right:0px !important;background-color:transparent}.form___lDFka .companies___kmGFB>div i{right:10px !important}.moreInfo___cQYdZ{display:inline-block;margin-top:10px}.moreInfoTooltip___lslgT{max-width:280px}.ticketQuantityNotice___L6gis{margin:10px 0 0 !important}.formErrors___dQQMe{margin-top:10px}.formErrors___dQQMe div+div{margin-top:10px}
|
|
14
14
|
|
|
15
15
|
.title___DNZyl{font-weight:bold;cursor:pointer;display:flex;justify-content:space-between}.summary___quWdZ{text-align:right}.crossOut___QZ7dy{text-decoration:line-through}.discount___sEK_Q{color:green}.promo___F8lPO{font-weight:bold;display:flex;justify-content:flex-end}.form___aoo7w{display:flex;gap:10px;margin-top:10px}.dropdown____HWg0{flex:1 1 auto}.quantity___SIEQZ{flex-shrink:0}.quantity___SIEQZ input,.quantity___SIEQZ button{height:36px;text-align:center;border:1px solid var(--color_primary)}.quantity___SIEQZ input{padding:0 8px;width:48px !important}.quantity___SIEQZ input,.quantity___SIEQZ input:read-only{color:inherit;background-color:#fff;border:1px solid var(--color_primary)}.quantity___SIEQZ button{display:flex;align-items:center}.quantity___SIEQZ button:disabled,.quantity___SIEQZ button:disabled:hover{opacity:0.65;background:#dedede;border-color:#bebebe}.soldOut___Hatfr{height:36px;padding:0 16px;line-height:34px;font-weight:700px;background:#dedede;border:solid 1px #bebebe;border-radius:5px;opacity:0.65;font-weight:700;flex-shrink:0}.moreInfo___LmwOe{display:inline-block;margin-top:10px}.moreInfoTooltip___nOBf1{max-width:280px}.inPersonDisclaimer___PXGTz{margin-top:15px}
|
|
16
16
|
|
package/dist/index.js
CHANGED
|
@@ -98,7 +98,7 @@ class LawPayProvider {
|
|
|
98
98
|
userProfile,
|
|
99
99
|
access_token,
|
|
100
100
|
apiBaseUrl,
|
|
101
|
-
dispatch
|
|
101
|
+
dispatch: _dispatch
|
|
102
102
|
}) {
|
|
103
103
|
_defineProperty(this, "payTicket", ({
|
|
104
104
|
token
|
|
@@ -107,19 +107,27 @@ class LawPayProvider {
|
|
|
107
107
|
|
|
108
108
|
// Pay using affinity lawpay
|
|
109
109
|
const errorHandler = (err, res) => (dispatch, state) => {
|
|
110
|
-
|
|
111
|
-
const msg = res.body.message;
|
|
112
|
-
external_sweetalert2_default().fire("Validation Error", msg, "warning");
|
|
113
|
-
return;
|
|
114
|
-
}
|
|
110
|
+
let code = err.status;
|
|
115
111
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
112
|
+
switch (code) {
|
|
113
|
+
case 404:
|
|
114
|
+
{
|
|
115
|
+
let msg = res.body.message;
|
|
116
|
+
external_sweetalert2_default().fire("Validation Error", msg, "warning");
|
|
117
|
+
}
|
|
118
|
+
break;
|
|
121
119
|
|
|
122
|
-
|
|
120
|
+
case 500:
|
|
121
|
+
{
|
|
122
|
+
let msg = res.body.message;
|
|
123
|
+
external_sweetalert2_default().fire("Validation Error", msg, "warning");
|
|
124
|
+
}
|
|
125
|
+
break;
|
|
126
|
+
|
|
127
|
+
default:
|
|
128
|
+
(0,actions_namespaceObject.authErrorHandler)(err, res)(dispatch, state);
|
|
129
|
+
break;
|
|
130
|
+
}
|
|
123
131
|
};
|
|
124
132
|
|
|
125
133
|
let params = {
|
|
@@ -172,7 +180,7 @@ class LawPayProvider {
|
|
|
172
180
|
this.userProfile = userProfile;
|
|
173
181
|
this.access_token = access_token;
|
|
174
182
|
this.apiBaseUrl = apiBaseUrl;
|
|
175
|
-
this.dispatch =
|
|
183
|
+
this.dispatch = _dispatch;
|
|
176
184
|
}
|
|
177
185
|
|
|
178
186
|
}
|
|
@@ -200,19 +208,27 @@ class StripeProvider {
|
|
|
200
208
|
var _this$userProfile, _this$userProfile2, _this$userProfile3, _this$userProfile4, _this$userProfile5;
|
|
201
209
|
|
|
202
210
|
const errorHandler = (err, res) => (dispatch, state) => {
|
|
203
|
-
|
|
204
|
-
const msg = res.body.message;
|
|
205
|
-
external_sweetalert2_default().fire("Validation Error", msg, "warning");
|
|
206
|
-
return;
|
|
207
|
-
}
|
|
211
|
+
let code = err.status;
|
|
208
212
|
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
213
|
+
switch (code) {
|
|
214
|
+
case 404:
|
|
215
|
+
{
|
|
216
|
+
let msg = res.body.message;
|
|
217
|
+
external_sweetalert2_default().fire("Validation Error", msg, "warning");
|
|
218
|
+
}
|
|
219
|
+
break;
|
|
220
|
+
|
|
221
|
+
case 500:
|
|
222
|
+
{
|
|
223
|
+
let msg = res.body.message;
|
|
224
|
+
external_sweetalert2_default().fire("Validation Error", msg, "warning");
|
|
225
|
+
}
|
|
226
|
+
break;
|
|
214
227
|
|
|
215
|
-
|
|
228
|
+
default:
|
|
229
|
+
(0,actions_namespaceObject.authErrorHandler)(err, res)(dispatch, state);
|
|
230
|
+
break;
|
|
231
|
+
}
|
|
216
232
|
};
|
|
217
233
|
|
|
218
234
|
let params = {
|
|
@@ -410,6 +426,7 @@ const getTaxesTypes = summitId => async (dispatch, getState, {
|
|
|
410
426
|
}
|
|
411
427
|
};
|
|
412
428
|
const reserveTicket = ({
|
|
429
|
+
provider,
|
|
413
430
|
personalInformation,
|
|
414
431
|
ticket,
|
|
415
432
|
ticketQuantity
|
|
@@ -470,7 +487,7 @@ const reserveTicket = ({
|
|
|
470
487
|
return;
|
|
471
488
|
}
|
|
472
489
|
|
|
473
|
-
return (0,actions_namespaceObject.authErrorHandler)(err, res);
|
|
490
|
+
return (0,actions_namespaceObject.authErrorHandler)(err, res)(dispatch, state);
|
|
474
491
|
};
|
|
475
492
|
|
|
476
493
|
return (0,actions_namespaceObject.postRequest)((0,actions_namespaceObject.createAction)(CREATE_RESERVATION), (0,actions_namespaceObject.createAction)(CREATE_RESERVATION_SUCCESS), `${apiBaseUrl}/api/v1/summits/${summitId}/orders/reserve`, normalizedEntity, errorHandler // entity
|
|
@@ -479,7 +496,7 @@ const reserveTicket = ({
|
|
|
479
496
|
payload.response.promo_code = promoCode || null;
|
|
480
497
|
|
|
481
498
|
if (!payload.response.amount) {
|
|
482
|
-
dispatch(
|
|
499
|
+
dispatch(payTicketWithProvider(provider));
|
|
483
500
|
return payload;
|
|
484
501
|
} else {
|
|
485
502
|
dispatch(changeStep(2));
|
|
@@ -1017,9 +1034,7 @@ const LawPayForm = ({
|
|
|
1017
1034
|
exp_month: '',
|
|
1018
1035
|
exp_year: '',
|
|
1019
1036
|
postal_code: userProfile.postal_code || '',
|
|
1020
|
-
address1: userProfile.address1 || ''
|
|
1021
|
-
email: userProfile.email,
|
|
1022
|
-
name: `${userProfile.given_name} ${userProfile.family_name}`
|
|
1037
|
+
address1: userProfile.address1 || ''
|
|
1023
1038
|
});
|
|
1024
1039
|
const [lawPayErrors, setLawPayErrors] = (0,external_react_namespaceObject.useState)({
|
|
1025
1040
|
exp_month: '',
|
|
@@ -1031,9 +1046,8 @@ const LawPayForm = ({
|
|
|
1031
1046
|
});
|
|
1032
1047
|
const style = {
|
|
1033
1048
|
color: marketingData.color_text_dark,
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
backgroundColor: '#ffffff',
|
|
1049
|
+
"font-size": '16px',
|
|
1050
|
+
"font-weight": 'inherit',
|
|
1037
1051
|
'::placeholder': {
|
|
1038
1052
|
color: marketingData.color_text_input_hints
|
|
1039
1053
|
}
|
|
@@ -1060,7 +1074,7 @@ const LawPayForm = ({
|
|
|
1060
1074
|
const hostedFieldsCallBack = state => {
|
|
1061
1075
|
let fieldErrors = {};
|
|
1062
1076
|
state.fields.map(f => {
|
|
1063
|
-
fieldErrors = lawpay_form_objectSpread(lawpay_form_objectSpread({}, fieldErrors), {}, {
|
|
1077
|
+
if (f.focus && f.error !== 'Input field is empty') fieldErrors = lawpay_form_objectSpread(lawpay_form_objectSpread({}, fieldErrors), {}, {
|
|
1064
1078
|
[f.type]: f.error
|
|
1065
1079
|
});
|
|
1066
1080
|
});
|
|
@@ -1068,7 +1082,7 @@ const LawPayForm = ({
|
|
|
1068
1082
|
};
|
|
1069
1083
|
|
|
1070
1084
|
(0,external_react_namespaceObject.useEffect)(() => {
|
|
1071
|
-
if (window.AffiniPay && hostedFields
|
|
1085
|
+
if (window.AffiniPay && !hostedFields) {
|
|
1072
1086
|
setHostedFields(window.AffiniPay.HostedFields.initializeFields(hostedFieldsConfiguration, hostedFieldsCallBack));
|
|
1073
1087
|
}
|
|
1074
1088
|
}, [reservation]);
|
|
@@ -1082,7 +1096,7 @@ const LawPayForm = ({
|
|
|
1082
1096
|
const formHasErrors = () => {
|
|
1083
1097
|
let errors = {};
|
|
1084
1098
|
Object.keys(lawPayFields).map(key => {
|
|
1085
|
-
if (!lawPayFields[key]) {
|
|
1099
|
+
if (!lawPayFields[key] || lawPayFields[key] === '') {
|
|
1086
1100
|
errors = lawpay_form_objectSpread(lawpay_form_objectSpread({}, errors), {}, {
|
|
1087
1101
|
[key]: 'This field is required.'
|
|
1088
1102
|
});
|
|
@@ -1108,8 +1122,8 @@ const LawPayForm = ({
|
|
|
1108
1122
|
"address1": lawPayFields.address1,
|
|
1109
1123
|
"exp_year": lawPayFields.exp_year,
|
|
1110
1124
|
"exp_month": lawPayFields.exp_month,
|
|
1111
|
-
"email":
|
|
1112
|
-
"name":
|
|
1125
|
+
"email": userProfile.email,
|
|
1126
|
+
"name": `${reservation.owner_first_name} ${reservation.owner_last_name}`,
|
|
1113
1127
|
"reference": `summit_${reservation.summit_id}_order_${reservation.id}`
|
|
1114
1128
|
});
|
|
1115
1129
|
payTicket(provider, {
|
|
@@ -1217,6 +1231,7 @@ const LawPayForm = ({
|
|
|
1217
1231
|
type: "text",
|
|
1218
1232
|
name: "postal_code",
|
|
1219
1233
|
placeholder: "ZIP Code *",
|
|
1234
|
+
value: lawPayFields.postal_code,
|
|
1220
1235
|
onChange: e => setLawPayFields(lawpay_form_objectSpread(lawpay_form_objectSpread({}, lawPayFields), {}, {
|
|
1221
1236
|
postal_code: e.target.value
|
|
1222
1237
|
}))
|
|
@@ -1234,6 +1249,7 @@ const LawPayForm = ({
|
|
|
1234
1249
|
type: "text",
|
|
1235
1250
|
name: "address1",
|
|
1236
1251
|
placeholder: "Address *",
|
|
1252
|
+
value: lawPayFields.address1,
|
|
1237
1253
|
onChange: e => setLawPayFields(lawpay_form_objectSpread(lawpay_form_objectSpread({}, lawPayFields), {}, {
|
|
1238
1254
|
address1: e.target.value
|
|
1239
1255
|
}))
|
|
@@ -1368,14 +1384,20 @@ const StripeForm = ({
|
|
|
1368
1384
|
return;
|
|
1369
1385
|
}
|
|
1370
1386
|
|
|
1371
|
-
const cardElement = elements.getElement(react_stripe_js_namespaceObject.CardNumberElement);
|
|
1387
|
+
const cardElement = elements.getElement(react_stripe_js_namespaceObject.CardNumberElement); // @see https://stripe.com/docs/js/tokens_sources/create_token?type=cardElement
|
|
1388
|
+
|
|
1372
1389
|
const {
|
|
1373
1390
|
error,
|
|
1374
1391
|
token
|
|
1375
1392
|
} = await stripe.createToken(cardElement, {
|
|
1376
1393
|
name: `${reservation.owner_first_name} ${reservation.owner_last_name}`,
|
|
1394
|
+
address_line1: userProfile.address1 || '',
|
|
1395
|
+
address_line2: userProfile.address2 || '',
|
|
1396
|
+
address_city: userProfile.locality || '',
|
|
1397
|
+
address_state: userProfile.region || '',
|
|
1377
1398
|
address_zip: data.zipCode,
|
|
1378
|
-
address_country: userProfile.country || ''
|
|
1399
|
+
address_country: userProfile.country || '',
|
|
1400
|
+
email: userProfile.email
|
|
1379
1401
|
});
|
|
1380
1402
|
|
|
1381
1403
|
if (token) {
|
|
@@ -2364,6 +2386,34 @@ const TicketOwnedComponent = ({
|
|
|
2364
2386
|
};
|
|
2365
2387
|
|
|
2366
2388
|
/* harmony default export */ const ticket_owned = (TicketOwnedComponent);
|
|
2389
|
+
;// CONCATENATED MODULE: ./src/utils/utils.js
|
|
2390
|
+
/**
|
|
2391
|
+
* Copyright 2022 OpenStack Foundation
|
|
2392
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
2393
|
+
* you may not use this file except in compliance with the License.
|
|
2394
|
+
* You may obtain a copy of the License at
|
|
2395
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
2396
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
2397
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
2398
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
2399
|
+
* See the License for the specific language governing permissions and
|
|
2400
|
+
* limitations under the License.
|
|
2401
|
+
**/
|
|
2402
|
+
const getCurrentProvider = summit => {
|
|
2403
|
+
for (let profile of summit.payment_profiles) {
|
|
2404
|
+
if (profile.application_type === 'Registration') {
|
|
2405
|
+
return {
|
|
2406
|
+
publicKey: profile.test_mode_enabled ? profile.test_publishable_key : profile.live_publishable_key,
|
|
2407
|
+
provider: profile.provider
|
|
2408
|
+
};
|
|
2409
|
+
}
|
|
2410
|
+
}
|
|
2411
|
+
|
|
2412
|
+
return {
|
|
2413
|
+
publicKey: null,
|
|
2414
|
+
provider: ''
|
|
2415
|
+
};
|
|
2416
|
+
};
|
|
2367
2417
|
;// CONCATENATED MODULE: ./src/components/registration-lite.js
|
|
2368
2418
|
const registration_lite_excluded = ["loadSession", "setMarketingSettings", "changeStep", "removeReservedTicket", "reserveTicket", "payTicketWithProvider", "onPurchaseComplete", "getTicketTypes", "getTaxesTypes", "getLoginCode", "passwordlessLogin", "goToLogin", "loginOptions", "allowsNativeAuth", "allowsOtpAuth", "reservation", "checkout", "ticketTypes", "taxTypes", "step", "passwordlessCodeSent", "passwordlessEmail", "passwordlessCode", "getPasswordlessCode", "passwordlessCodeError", "loginWithCode", "goToExtraQuestions", "goToEvent", "goToRegistration", "profileData", "summitData", "supportEmail", "ticketOwned", "ownedTickets", "widgetLoading", "loading", "inPersonDisclaimer", "userProfile", "handleCompanyError", "stripeOptions"];
|
|
2369
2419
|
|
|
@@ -2406,6 +2456,7 @@ function registration_lite_objectWithoutPropertiesLoose(source, excluded) { if (
|
|
|
2406
2456
|
|
|
2407
2457
|
|
|
2408
2458
|
|
|
2459
|
+
|
|
2409
2460
|
const RegistrationLite = _ref => {
|
|
2410
2461
|
var _formValues$ticketTyp, _formValues$ticketTyp2;
|
|
2411
2462
|
|
|
@@ -2475,17 +2526,10 @@ const RegistrationLite = _ref => {
|
|
|
2475
2526
|
errors
|
|
2476
2527
|
}));
|
|
2477
2528
|
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
if (profile.application_type === 'Registration') {
|
|
2483
|
-
publicKey = profile.test_mode_enabled ? profile.test_publishable_key : profile.live_publishable_key;
|
|
2484
|
-
provider = profile.provider;
|
|
2485
|
-
break;
|
|
2486
|
-
}
|
|
2487
|
-
}
|
|
2488
|
-
|
|
2529
|
+
const {
|
|
2530
|
+
publicKey,
|
|
2531
|
+
provider
|
|
2532
|
+
} = getCurrentProvider(summitData);
|
|
2489
2533
|
(0,external_react_namespaceObject.useEffect)(() => {
|
|
2490
2534
|
loadSession(registration_lite_objectSpread(registration_lite_objectSpread({}, rest), {}, {
|
|
2491
2535
|
summitData,
|
|
@@ -2504,6 +2548,7 @@ const RegistrationLite = _ref => {
|
|
|
2504
2548
|
(0,external_react_namespaceObject.useEffect)(() => {
|
|
2505
2549
|
if (step === 1 && formValues !== null && formValues !== void 0 && formValues.ticketType && formValues !== null && formValues !== void 0 && formValues.personalInformation) {
|
|
2506
2550
|
reserveTicket({
|
|
2551
|
+
provider,
|
|
2507
2552
|
personalInformation: formValues === null || formValues === void 0 ? void 0 : formValues.personalInformation,
|
|
2508
2553
|
ticket: formValues === null || formValues === void 0 ? void 0 : formValues.ticketType,
|
|
2509
2554
|
ticketQuantity: formValues === null || formValues === void 0 ? void 0 : formValues.ticketQuantity
|