@pelcro/react-pelcro-js 3.39.0 → 3.40.0
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.cjs.js +3 -4
- package/dist/index.esm.js +3 -4
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -22043,7 +22043,7 @@ function PaymentMethodUpdateSetDefault(props) {
|
|
|
22043
22043
|
*
|
|
22044
22044
|
*/
|
|
22045
22045
|
function PaymentMethodView(_ref) {
|
|
22046
|
-
var _window$Pelcro, _window$Pelcro$
|
|
22046
|
+
var _window$Pelcro$site$r, _window$Pelcro$site$r2, _window$Pelcro$site$r3, _calcAndFormatItemsTo, _order$, _window$Pelcro, _window$Pelcro$uiSett, _window$Pelcro2, _window$Pelcro2$uiSet;
|
|
22047
22047
|
let {
|
|
22048
22048
|
onSuccess,
|
|
22049
22049
|
onGiftRenewalSuccess,
|
|
@@ -22060,7 +22060,6 @@ function PaymentMethodView(_ref) {
|
|
|
22060
22060
|
t
|
|
22061
22061
|
} = useTranslation("checkoutForm");
|
|
22062
22062
|
const cardProcessor = getSiteCardProcessor$1();
|
|
22063
|
-
const show3DSWarning = (_window$Pelcro = window.Pelcro) === null || _window$Pelcro === void 0 ? void 0 : (_window$Pelcro$uiSett = _window$Pelcro.uiSettings) === null || _window$Pelcro$uiSett === void 0 ? void 0 : _window$Pelcro$uiSett.show3DSWarning;
|
|
22064
22063
|
const supportsVantiv = Boolean((_window$Pelcro$site$r = window.Pelcro.site.read()) === null || _window$Pelcro$site$r === void 0 ? void 0 : _window$Pelcro$site$r.vantiv_gateway_settings);
|
|
22065
22064
|
const supportsTap = Boolean((_window$Pelcro$site$r2 = window.Pelcro.site.read()) === null || _window$Pelcro$site$r2 === void 0 ? void 0 : _window$Pelcro$site$r2.tap_gateway_settings);
|
|
22066
22065
|
const supportsCybersource = Boolean((_window$Pelcro$site$r3 = window.Pelcro.site.read()) === null || _window$Pelcro$site$r3 === void 0 ? void 0 : _window$Pelcro$site$r3.cybersource_gateway_settings);
|
|
@@ -22088,9 +22087,9 @@ function PaymentMethodView(_ref) {
|
|
|
22088
22087
|
target: "_blank",
|
|
22089
22088
|
href: "https://www.stripe.com/us/customers",
|
|
22090
22089
|
isButton: false
|
|
22091
|
-
}, "Stripe"))),
|
|
22090
|
+
}, "Stripe"))), ((_window$Pelcro = window.Pelcro) === null || _window$Pelcro === void 0 ? void 0 : (_window$Pelcro$uiSett = _window$Pelcro.uiSettings) === null || _window$Pelcro$uiSett === void 0 ? void 0 : _window$Pelcro$uiSett.warningMessage) && /*#__PURE__*/React__default['default'].createElement("div", {
|
|
22092
22091
|
className: "plc-flex plc-items-center plc-w-full plc-px-4 plc-py-2 plc-text-center plc-text-yellow-600 plc-border plc-border-yellow-400 plc-rounded plc-bg-yellow-50 plc-mt-4"
|
|
22093
|
-
},
|
|
22092
|
+
}, (_window$Pelcro2 = window.Pelcro) === null || _window$Pelcro2 === void 0 ? void 0 : (_window$Pelcro2$uiSet = _window$Pelcro2.uiSettings) === null || _window$Pelcro2$uiSet === void 0 ? void 0 : _window$Pelcro2$uiSet.warningMessage), /*#__PURE__*/React__default['default'].createElement("form", {
|
|
22094
22093
|
action: "javascript:void(0);",
|
|
22095
22094
|
className: "plc-w-full plc-mt-2 plc-font-semibold plc-text-gray-600 pelcro-form"
|
|
22096
22095
|
}, /*#__PURE__*/React__default['default'].createElement(PaymentMethodContainer, {
|
package/dist/index.esm.js
CHANGED
|
@@ -22013,7 +22013,7 @@ function PaymentMethodUpdateSetDefault(props) {
|
|
|
22013
22013
|
*
|
|
22014
22014
|
*/
|
|
22015
22015
|
function PaymentMethodView(_ref) {
|
|
22016
|
-
var _window$Pelcro, _window$Pelcro$
|
|
22016
|
+
var _window$Pelcro$site$r, _window$Pelcro$site$r2, _window$Pelcro$site$r3, _calcAndFormatItemsTo, _order$, _window$Pelcro, _window$Pelcro$uiSett, _window$Pelcro2, _window$Pelcro2$uiSet;
|
|
22017
22017
|
let {
|
|
22018
22018
|
onSuccess,
|
|
22019
22019
|
onGiftRenewalSuccess,
|
|
@@ -22030,7 +22030,6 @@ function PaymentMethodView(_ref) {
|
|
|
22030
22030
|
t
|
|
22031
22031
|
} = useTranslation("checkoutForm");
|
|
22032
22032
|
const cardProcessor = getSiteCardProcessor$1();
|
|
22033
|
-
const show3DSWarning = (_window$Pelcro = window.Pelcro) === null || _window$Pelcro === void 0 ? void 0 : (_window$Pelcro$uiSett = _window$Pelcro.uiSettings) === null || _window$Pelcro$uiSett === void 0 ? void 0 : _window$Pelcro$uiSett.show3DSWarning;
|
|
22034
22033
|
const supportsVantiv = Boolean((_window$Pelcro$site$r = window.Pelcro.site.read()) === null || _window$Pelcro$site$r === void 0 ? void 0 : _window$Pelcro$site$r.vantiv_gateway_settings);
|
|
22035
22034
|
const supportsTap = Boolean((_window$Pelcro$site$r2 = window.Pelcro.site.read()) === null || _window$Pelcro$site$r2 === void 0 ? void 0 : _window$Pelcro$site$r2.tap_gateway_settings);
|
|
22036
22035
|
const supportsCybersource = Boolean((_window$Pelcro$site$r3 = window.Pelcro.site.read()) === null || _window$Pelcro$site$r3 === void 0 ? void 0 : _window$Pelcro$site$r3.cybersource_gateway_settings);
|
|
@@ -22058,9 +22057,9 @@ function PaymentMethodView(_ref) {
|
|
|
22058
22057
|
target: "_blank",
|
|
22059
22058
|
href: "https://www.stripe.com/us/customers",
|
|
22060
22059
|
isButton: false
|
|
22061
|
-
}, "Stripe"))),
|
|
22060
|
+
}, "Stripe"))), ((_window$Pelcro = window.Pelcro) === null || _window$Pelcro === void 0 ? void 0 : (_window$Pelcro$uiSett = _window$Pelcro.uiSettings) === null || _window$Pelcro$uiSett === void 0 ? void 0 : _window$Pelcro$uiSett.warningMessage) && /*#__PURE__*/React__default.createElement("div", {
|
|
22062
22061
|
className: "plc-flex plc-items-center plc-w-full plc-px-4 plc-py-2 plc-text-center plc-text-yellow-600 plc-border plc-border-yellow-400 plc-rounded plc-bg-yellow-50 plc-mt-4"
|
|
22063
|
-
},
|
|
22062
|
+
}, (_window$Pelcro2 = window.Pelcro) === null || _window$Pelcro2 === void 0 ? void 0 : (_window$Pelcro2$uiSet = _window$Pelcro2.uiSettings) === null || _window$Pelcro2$uiSet === void 0 ? void 0 : _window$Pelcro2$uiSet.warningMessage), /*#__PURE__*/React__default.createElement("form", {
|
|
22064
22063
|
action: "javascript:void(0);",
|
|
22065
22064
|
className: "plc-w-full plc-mt-2 plc-font-semibold plc-text-gray-600 pelcro-form"
|
|
22066
22065
|
}, /*#__PURE__*/React__default.createElement(PaymentMethodContainer, {
|