summit-registration-lite 5.0.11 → 5.0.13
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 +4 -2
- package/dist/index.js +19 -8
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -77,9 +77,11 @@ React component for the summit registration lite widget
|
|
|
77
77
|
|
|
78
78
|
**companyDDLPlaceholder** = string for the set the placeholder of the DDL company input
|
|
79
79
|
|
|
80
|
-
**
|
|
80
|
+
**companyDDLOptions2Show** = Maximum number of companies to show on a match of the DDL company input
|
|
81
81
|
|
|
82
|
-
**
|
|
82
|
+
**logoDark** = string for custom src for dark theme logo on otp login
|
|
83
|
+
|
|
84
|
+
**logoLight** = string for custom src for light theme logo on otp login
|
|
83
85
|
|
|
84
86
|
## PUBLISH TO NPM:
|
|
85
87
|
|
package/dist/index.js
CHANGED
|
@@ -2173,7 +2173,8 @@ const PersonalInfoComponent = ({
|
|
|
2173
2173
|
allowPromoCodes,
|
|
2174
2174
|
showCompanyInput = true,
|
|
2175
2175
|
companyDDLPlaceholder,
|
|
2176
|
-
showCompanyInputDefaultOptions
|
|
2176
|
+
showCompanyInputDefaultOptions,
|
|
2177
|
+
companyDDLOptions2Show
|
|
2177
2178
|
}) => {
|
|
2178
2179
|
const initialFirstName = userProfile.given_name || (invitation ? invitation.first_name : '');
|
|
2179
2180
|
const initialLastName = userProfile.family_name || (invitation ? invitation.last_name : '');
|
|
@@ -2253,7 +2254,12 @@ const PersonalInfoComponent = ({
|
|
|
2253
2254
|
maxHeight: '120px'
|
|
2254
2255
|
}),
|
|
2255
2256
|
placeholder: provided => personal_information_objectSpread(personal_information_objectSpread({}, provided), {}, {
|
|
2256
|
-
fontSize: '12px'
|
|
2257
|
+
fontSize: '12px',
|
|
2258
|
+
textOverflow: 'ellipsis',
|
|
2259
|
+
whiteSpace: 'nowrap',
|
|
2260
|
+
overflow: 'hidden',
|
|
2261
|
+
width: '95%',
|
|
2262
|
+
paddingRight: '10px'
|
|
2257
2263
|
})
|
|
2258
2264
|
};
|
|
2259
2265
|
return /*#__PURE__*/external_react_default().createElement("div", {
|
|
@@ -2349,7 +2355,8 @@ const PersonalInfoComponent = ({
|
|
|
2349
2355
|
isClearable: true,
|
|
2350
2356
|
defaultOptions: showCompanyInputDefaultOptions,
|
|
2351
2357
|
openMenuOnFocus: showCompanyInputDefaultOptions,
|
|
2352
|
-
openMenuOnClick: showCompanyInputDefaultOptions
|
|
2358
|
+
openMenuOnClick: showCompanyInputDefaultOptions,
|
|
2359
|
+
options2Show: companyDDLOptions2Show
|
|
2353
2360
|
}), companyError && /*#__PURE__*/external_react_default().createElement("div", {
|
|
2354
2361
|
className: personal_information_index_module.fieldError,
|
|
2355
2362
|
"data-testid": "company-error"
|
|
@@ -2999,7 +3006,7 @@ const TicketTaxesError = ({
|
|
|
2999
3006
|
|
|
3000
3007
|
/* harmony default export */ const ticket_taxes_error = (TicketTaxesError);
|
|
3001
3008
|
;// CONCATENATED MODULE: ./src/components/registration-lite.js
|
|
3002
|
-
const registration_lite_excluded = ["loadSession", "setMarketingSettings", "changeStep", "removeReservedTicket", "reserveTicket", "payTicketWithProvider", "onPurchaseComplete", "getTicketTypesAndTaxes", "getLoginCode", "passwordlessLogin", "goToLogin", "loginOptions", "allowsNativeAuth", "allowsOtpAuth", "reservation", "checkout", "ticketTypes", "taxTypes", "step", "passwordlessCodeSent", "passwordlessEmail", "passwordlessCode", "getPasswordlessCode", "passwordlessCodeError", "loginWithCode", "goToExtraQuestions", "goToMyOrders", "goToEvent", "profileData", "summitData", "supportEmail", "ticketOwned", "ownedTickets", "widgetLoading", "loading", "inPersonDisclaimer", "userProfile", "handleCompanyError", "stripeOptions", "invitation", "loginInitialEmailInputValue", "getMyInvitation", "showMultipleTicketTexts", "noAllowedTicketsMessage", "ticketTaxesErrorMessage", "authErrorCallback", "clearWidgetState", "requestedTicketTypes", "allowPromoCodes", "showCompanyInput", "companyDDLPlaceholder", "nowUtc", "updateClock", "completedExtraQuestions", "loadProfileData", "closeWidget", "hasVirtualAccessLevel", "logoLight", "logoDark", "showCompanyInputDefaultOptions"];
|
|
3009
|
+
const registration_lite_excluded = ["loadSession", "setMarketingSettings", "changeStep", "removeReservedTicket", "reserveTicket", "payTicketWithProvider", "onPurchaseComplete", "getTicketTypesAndTaxes", "getLoginCode", "passwordlessLogin", "goToLogin", "loginOptions", "allowsNativeAuth", "allowsOtpAuth", "reservation", "checkout", "ticketTypes", "taxTypes", "step", "passwordlessCodeSent", "passwordlessEmail", "passwordlessCode", "getPasswordlessCode", "passwordlessCodeError", "loginWithCode", "goToExtraQuestions", "goToMyOrders", "goToEvent", "profileData", "summitData", "supportEmail", "ticketOwned", "ownedTickets", "widgetLoading", "loading", "inPersonDisclaimer", "userProfile", "handleCompanyError", "stripeOptions", "invitation", "loginInitialEmailInputValue", "getMyInvitation", "showMultipleTicketTexts", "noAllowedTicketsMessage", "ticketTaxesErrorMessage", "authErrorCallback", "clearWidgetState", "requestedTicketTypes", "allowPromoCodes", "showCompanyInput", "companyDDLPlaceholder", "nowUtc", "updateClock", "completedExtraQuestions", "loadProfileData", "closeWidget", "hasVirtualAccessLevel", "logoLight", "logoDark", "showCompanyInputDefaultOptions", "companyDDLOptions2Show"];
|
|
3003
3010
|
|
|
3004
3011
|
function registration_lite_ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3005
3012
|
|
|
@@ -3123,7 +3130,8 @@ const RegistrationLite = _ref => {
|
|
|
3123
3130
|
hasVirtualAccessLevel,
|
|
3124
3131
|
logoLight,
|
|
3125
3132
|
logoDark,
|
|
3126
|
-
showCompanyInputDefaultOptions
|
|
3133
|
+
showCompanyInputDefaultOptions,
|
|
3134
|
+
companyDDLOptions2Show
|
|
3127
3135
|
} = _ref,
|
|
3128
3136
|
rest = registration_lite_objectWithoutProperties(_ref, registration_lite_excluded);
|
|
3129
3137
|
|
|
@@ -3335,7 +3343,8 @@ const RegistrationLite = _ref => {
|
|
|
3335
3343
|
allowPromoCodes: allowPromoCodes,
|
|
3336
3344
|
showCompanyInput: showCompanyInput,
|
|
3337
3345
|
companyDDLPlaceholder: companyDDLPlaceholder,
|
|
3338
|
-
showCompanyInputDefaultOptions: showCompanyInputDefaultOptions
|
|
3346
|
+
showCompanyInputDefaultOptions: showCompanyInputDefaultOptions,
|
|
3347
|
+
companyDDLOptions2Show: companyDDLOptions2Show
|
|
3339
3348
|
}), /*#__PURE__*/external_react_default().createElement(external_react_spring_namespaceObject.animated.div, {
|
|
3340
3349
|
style: registration_lite_objectSpread({}, toggleAnimation)
|
|
3341
3350
|
}, /*#__PURE__*/external_react_default().createElement("div", {
|
|
@@ -3410,7 +3419,8 @@ RegistrationLite.defaultProps = {
|
|
|
3410
3419
|
},
|
|
3411
3420
|
hasVirtualAccessLevel: false,
|
|
3412
3421
|
supportEmail: 'support@fntech.com',
|
|
3413
|
-
showCompanyInputDefaultOptions: false
|
|
3422
|
+
showCompanyInputDefaultOptions: false,
|
|
3423
|
+
companyDDLOptions2Show: 25
|
|
3414
3424
|
};
|
|
3415
3425
|
RegistrationLite.propTypes = {
|
|
3416
3426
|
loginInitialEmailInputValue: (external_prop_types_default()).string,
|
|
@@ -3429,7 +3439,8 @@ RegistrationLite.propTypes = {
|
|
|
3429
3439
|
orderComplete1stParagraph: (external_prop_types_default()).string,
|
|
3430
3440
|
orderComplete2ndParagraph: (external_prop_types_default()).string,
|
|
3431
3441
|
orderCompleteButton: (external_prop_types_default()).string,
|
|
3432
|
-
showCompanyInputDefaultOptions: (external_prop_types_default()).bool
|
|
3442
|
+
showCompanyInputDefaultOptions: (external_prop_types_default()).bool,
|
|
3443
|
+
companyDDLOptions2Show: (external_prop_types_default()).number
|
|
3433
3444
|
};
|
|
3434
3445
|
/* harmony default export */ const registration_lite = ((0,external_react_redux_namespaceObject.connect)(mapStateToProps, {
|
|
3435
3446
|
loadSession: loadSession,
|