summit-registration-lite 5.0.29-beta.1 → 5.0.29-beta.2
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.js +10 -27
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -770,8 +770,7 @@ class StripeProvider {
|
|
|
770
770
|
stripe_provider_defineProperty(this, "payTicket", ({
|
|
771
771
|
elements = null,
|
|
772
772
|
paymentMethod = null,
|
|
773
|
-
stripe = null
|
|
774
|
-
zipCode = null
|
|
773
|
+
stripe = null
|
|
775
774
|
}) => async dispatch => {
|
|
776
775
|
const errorHandler = (err, res) => (dispatch, state) => {
|
|
777
776
|
let code = err.status;
|
|
@@ -804,7 +803,6 @@ class StripeProvider {
|
|
|
804
803
|
let normalizedEntity = {
|
|
805
804
|
billing_address_1: this.userProfile?.address1 || '',
|
|
806
805
|
billing_address_2: this.userProfile?.address2 || '',
|
|
807
|
-
billing_address_zip_code: zipCode,
|
|
808
806
|
billing_address_city: this.userProfile?.locality || '',
|
|
809
807
|
billing_address_state: this.userProfile?.region || '',
|
|
810
808
|
billing_address_country: this.userProfile?.country || ''
|
|
@@ -2091,8 +2089,6 @@ var merge_default = /*#__PURE__*/__webpack_require__.n(merge_namespaceObject);
|
|
|
2091
2089
|
// extracted by mini-css-extract-plugin
|
|
2092
2090
|
/* harmony default export */ const stripe_form_index_module = ({"form":"form___DoT3x","fieldWrapper":"fieldWrapper___wa1Ks","inputWrapper":"inputWrapper___CbXhF","fieldError":"fieldError___QrMYW"});
|
|
2093
2091
|
;// CONCATENATED MODULE: ./src/components/stripe-form/index.js
|
|
2094
|
-
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2095
|
-
|
|
2096
2092
|
/**
|
|
2097
2093
|
* Copyright 2020 OpenStack Foundation
|
|
2098
2094
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -2241,8 +2237,7 @@ const StripeForm = ({
|
|
|
2241
2237
|
payTicket(provider, {
|
|
2242
2238
|
elements,
|
|
2243
2239
|
paymentMethod,
|
|
2244
|
-
stripe
|
|
2245
|
-
zipCode: data.zipCode
|
|
2240
|
+
stripe
|
|
2246
2241
|
});
|
|
2247
2242
|
} else if (error) {
|
|
2248
2243
|
if (stripeErrorCodeMap[error.code]) {
|
|
@@ -2275,19 +2270,7 @@ const StripeForm = ({
|
|
|
2275
2270
|
options: {
|
|
2276
2271
|
style: stripeStyle
|
|
2277
2272
|
}
|
|
2278
|
-
})
|
|
2279
|
-
className: stripe_form_index_module.fieldWrapper
|
|
2280
|
-
}, /*#__PURE__*/external_react_default().createElement("div", {
|
|
2281
|
-
className: stripe_form_index_module.inputWrapper
|
|
2282
|
-
}, /*#__PURE__*/external_react_default().createElement("input", _extends({
|
|
2283
|
-
type: "text",
|
|
2284
|
-
placeholder: "ZIP Code *",
|
|
2285
|
-
onChange: e => setZipCode(e.target.value)
|
|
2286
|
-
}, register("zipCode", {
|
|
2287
|
-
required: true
|
|
2288
|
-
})))), errors.zipCode && /*#__PURE__*/external_react_default().createElement("div", {
|
|
2289
|
-
className: stripe_form_index_module.fieldError
|
|
2290
|
-
}, "This field is required.")));
|
|
2273
|
+
}));
|
|
2291
2274
|
};
|
|
2292
2275
|
|
|
2293
2276
|
/* harmony default export */ const stripe_form = (StripeForm);
|
|
@@ -2434,7 +2417,7 @@ var external_react_tooltip_default = /*#__PURE__*/__webpack_require__.n(external
|
|
|
2434
2417
|
// extracted by mini-css-extract-plugin
|
|
2435
2418
|
/* harmony default export */ const personal_information_index_module = ({"title":"title___ECoNz","form":"form___lDFka","fieldWrapper":"fieldWrapper___Mi_nL","fieldWrapperRadio":"fieldWrapperRadio___x18VG","inputWrapper":"inputWrapper___PEQFR","readOnly":"readOnly___WRazF","fieldError":"fieldError___ksJVe","moreInfo":"moreInfo___cQYdZ","moreInfoTooltip":"moreInfoTooltip___lslgT","ticketQuantityNotice":"ticketQuantityNotice___L6gis","formErrors":"formErrors___dQQMe"});
|
|
2436
2419
|
;// CONCATENATED MODULE: ./src/components/personal-information/index.js
|
|
2437
|
-
function
|
|
2420
|
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2438
2421
|
|
|
2439
2422
|
function personal_information_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; }
|
|
2440
2423
|
|
|
@@ -2651,7 +2634,7 @@ const PersonalInfoComponent = ({
|
|
|
2651
2634
|
className: personal_information_index_module.fieldWrapper
|
|
2652
2635
|
}, /*#__PURE__*/external_react_default().createElement("div", {
|
|
2653
2636
|
className: personal_information_index_module.inputWrapper
|
|
2654
|
-
}, /*#__PURE__*/external_react_default().createElement("input",
|
|
2637
|
+
}, /*#__PURE__*/external_react_default().createElement("input", _extends({
|
|
2655
2638
|
type: "text",
|
|
2656
2639
|
placeholder: "First name *",
|
|
2657
2640
|
defaultValue: personalInfo.firstName || '',
|
|
@@ -2669,7 +2652,7 @@ const PersonalInfoComponent = ({
|
|
|
2669
2652
|
className: personal_information_index_module.fieldWrapper
|
|
2670
2653
|
}, /*#__PURE__*/external_react_default().createElement("div", {
|
|
2671
2654
|
className: personal_information_index_module.inputWrapper
|
|
2672
|
-
}, /*#__PURE__*/external_react_default().createElement("input",
|
|
2655
|
+
}, /*#__PURE__*/external_react_default().createElement("input", _extends({
|
|
2673
2656
|
type: "text",
|
|
2674
2657
|
placeholder: "Last name *",
|
|
2675
2658
|
defaultValue: personalInfo.lastName || '',
|
|
@@ -2687,7 +2670,7 @@ const PersonalInfoComponent = ({
|
|
|
2687
2670
|
className: personal_information_index_module.fieldWrapper
|
|
2688
2671
|
}, /*#__PURE__*/external_react_default().createElement("div", {
|
|
2689
2672
|
className: personal_information_index_module.inputWrapper
|
|
2690
|
-
}, /*#__PURE__*/external_react_default().createElement("input",
|
|
2673
|
+
}, /*#__PURE__*/external_react_default().createElement("input", _extends({
|
|
2691
2674
|
type: "text",
|
|
2692
2675
|
placeholder: "Email *",
|
|
2693
2676
|
className: personal_information_index_module.readOnly,
|
|
@@ -2740,7 +2723,7 @@ const PersonalInfoComponent = ({
|
|
|
2740
2723
|
className: personal_information_index_module.fieldWrapper
|
|
2741
2724
|
}, /*#__PURE__*/external_react_default().createElement("div", {
|
|
2742
2725
|
className: personal_information_index_module.inputWrapper
|
|
2743
|
-
}, /*#__PURE__*/external_react_default().createElement("input",
|
|
2726
|
+
}, /*#__PURE__*/external_react_default().createElement("input", _extends({
|
|
2744
2727
|
type: "text",
|
|
2745
2728
|
placeholder: "First name",
|
|
2746
2729
|
defaultValue: personalInfo?.attendee?.firstName ?? ''
|
|
@@ -2753,7 +2736,7 @@ const PersonalInfoComponent = ({
|
|
|
2753
2736
|
className: personal_information_index_module.fieldWrapper
|
|
2754
2737
|
}, /*#__PURE__*/external_react_default().createElement("div", {
|
|
2755
2738
|
className: personal_information_index_module.inputWrapper
|
|
2756
|
-
}, /*#__PURE__*/external_react_default().createElement("input",
|
|
2739
|
+
}, /*#__PURE__*/external_react_default().createElement("input", _extends({
|
|
2757
2740
|
type: "text",
|
|
2758
2741
|
placeholder: "Last name",
|
|
2759
2742
|
defaultValue: personalInfo?.attendee?.lastName ?? ''
|
|
@@ -2766,7 +2749,7 @@ const PersonalInfoComponent = ({
|
|
|
2766
2749
|
className: personal_information_index_module.fieldWrapper
|
|
2767
2750
|
}, /*#__PURE__*/external_react_default().createElement("div", {
|
|
2768
2751
|
className: personal_information_index_module.inputWrapper
|
|
2769
|
-
}, /*#__PURE__*/external_react_default().createElement("input",
|
|
2752
|
+
}, /*#__PURE__*/external_react_default().createElement("input", _extends({
|
|
2770
2753
|
type: "text",
|
|
2771
2754
|
placeholder: "Email *",
|
|
2772
2755
|
defaultValue: personalInfo?.attendee?.email ?? ''
|