@openeventkit/event-site 2.0.71 → 2.0.73

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@openeventkit/event-site",
3
3
  "description": "Event Site",
4
- "version": "2.0.71",
4
+ "version": "2.0.73",
5
5
  "author": "Tipit LLC",
6
6
  "dependencies": {
7
7
  "@mui/base": "^5.0.0-alpha.114",
@@ -77,7 +77,7 @@
77
77
  "netlify-cms-app": "^2.15.72",
78
78
  "netlify-cms-lib-widgets": "^1.8.0",
79
79
  "node-sass-utils": "^1.1.3",
80
- "openstack-uicore-foundation": "4.1.42",
80
+ "openstack-uicore-foundation": "4.1.54",
81
81
  "path-browserify": "^1.0.1",
82
82
  "prop-types": "^15.6.0",
83
83
  "react": "^18.2.0",
@@ -119,7 +119,7 @@
119
119
  "stream-browserify": "^3.0.0",
120
120
  "stream-chat": "^2.7.2",
121
121
  "stream-chat-react": "3.1.7",
122
- "summit-registration-lite": "5.0.10",
122
+ "summit-registration-lite": "5.0.12",
123
123
  "superagent": "8.0.9",
124
124
  "sweetalert2": "^9.17.0",
125
125
  "upcoming-events-widget": "3.0.4",
@@ -112,6 +112,8 @@ const RegistrationLiteComponent = ({
112
112
  const inPersonDisclaimer = getSettingByKey(MARKETING_SETTINGS_KEYS.registrationInPersonDisclaimer);
113
113
  const allowPromoCodes = !!Number(getSettingByKey(MARKETING_SETTINGS_KEYS.regLiteAllowPromoCodes));
114
114
  const companyDDLPlaceholder = getSettingByKey(MARKETING_SETTINGS_KEYS.regLiteCompanyDDLPlaceholder);
115
+ const showCompanyInputDefaultOptions = getSettingByKey(MARKETING_SETTINGS_KEYS.regLiteShowCompanyInputDefaultOptions)
116
+ const showCompanyInput = getSettingByKey(MARKETING_SETTINGS_KEYS.regLiteShowCompanyInput)
115
117
  const initialOrderComplete1stParagraph = getSettingByKey(MARKETING_SETTINGS_KEYS.regLiteInitialOrderComplete1stParagraph)
116
118
  const initialOrderComplete2ndParagraph = getSettingByKey(MARKETING_SETTINGS_KEYS.regLiteInitialOrderComplete2ndParagraph)
117
119
  const initialOrderCompleteButton = getSettingByKey(MARKETING_SETTINGS_KEYS.regLiteInitialOrderCompleteButton)
@@ -185,7 +187,9 @@ const RegistrationLiteComponent = ({
185
187
  orderComplete1stParagraph: orderComplete1stParagraph,
186
188
  orderComplete2ndParagraph: orderComplete2ndParagraph,
187
189
  orderCompleteButton: orderCompleteButton,
188
- noAllowedTicketsMessage: noAllowedTicketsMessage
190
+ noAllowedTicketsMessage: noAllowedTicketsMessage,
191
+ showCompanyInput: showCompanyInput.toString().toLowerCase() == "1",
192
+ showCompanyInputDefaultOptions: showCompanyInputDefaultOptions.toString().toLowerCase() == "1",
189
193
  };
190
194
 
191
195
  const { registerButton } = marketingPageSettings.hero.buttons;
@@ -242,4 +246,4 @@ export default connect(mapStateToProps, {
242
246
  checkOrderData,
243
247
  checkRequireExtraQuestionsByAttendee,
244
248
  getExtraQuestions,
245
- })(RegistrationLiteComponent);
249
+ })(RegistrationLiteComponent);
@@ -12,6 +12,8 @@ export const MARKETING_SETTINGS_KEYS = {
12
12
  activityCtaText: "ACTIVITY_CTA_TEXT",
13
13
  regLiteAllowPromoCodes: "REG_LITE_ALLOW_PROMO_CODES",
14
14
  regLiteCompanyDDLPlaceholder: "REG_LITE_COMPANY_DDL_PLACEHOLDER",
15
+ regLiteShowCompanyInput: "REG_LITE_SHOW_COMPANY_INPUT",
16
+ regLiteShowCompanyInputDefaultOptions: "REG_LITE_SHOW_COMPANY_INPUT_DEFAULT_OPTIONS",
15
17
  regLiteInitialOrderComplete1stParagraph: "REG_LITE_INITIAL_ORDER_COMPLETE_STEP_1ST_PARAGRAPH",
16
18
  regLiteInitialOrderComplete2ndParagraph: "REG_LITE_INITIAL_ORDER_COMPLETE_STEP_2ND_PARAGRAPH",
17
19
  regLiteInitialOrderCompleteButton: "REG_LITE_INITIAL_ORDER_COMPLETE_BTN_LABEL",