@pelcro/react-pelcro-js 3.13.0-beta.19 → 3.13.0-beta.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.cjs.js +9 -9
- package/dist/index.esm.js +9 -9
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -18126,11 +18126,11 @@ const PaymentMethodContainerWithoutStripe = ({
|
|
|
18126
18126
|
|
|
18127
18127
|
if (show) {
|
|
18128
18128
|
injectCardAuthenticationIframe(source);
|
|
18129
|
-
cardAuthContainer.classList.remove("plc-hidden");
|
|
18130
|
-
cardAuthContainer.classList.add("plc-flex");
|
|
18129
|
+
cardAuthContainer === null || cardAuthContainer === void 0 ? void 0 : cardAuthContainer.classList.remove("plc-hidden");
|
|
18130
|
+
cardAuthContainer === null || cardAuthContainer === void 0 ? void 0 : cardAuthContainer.classList.add("plc-flex");
|
|
18131
18131
|
} else {
|
|
18132
|
-
cardAuthContainer.classList.add("plc-hidden");
|
|
18133
|
-
cardAuthContainer.classList.remove("plc-flex");
|
|
18132
|
+
cardAuthContainer === null || cardAuthContainer === void 0 ? void 0 : cardAuthContainer.classList.add("plc-hidden");
|
|
18133
|
+
cardAuthContainer === null || cardAuthContainer === void 0 ? void 0 : cardAuthContainer.classList.remove("plc-flex");
|
|
18134
18134
|
}
|
|
18135
18135
|
};
|
|
18136
18136
|
|
|
@@ -18138,11 +18138,11 @@ const PaymentMethodContainerWithoutStripe = ({
|
|
|
18138
18138
|
const cardAuthContainer = document.querySelector(".card-authentication-success-container");
|
|
18139
18139
|
|
|
18140
18140
|
if (show) {
|
|
18141
|
-
cardAuthContainer.classList.remove("plc-hidden");
|
|
18142
|
-
cardAuthContainer.classList.add("plc-flex");
|
|
18141
|
+
cardAuthContainer === null || cardAuthContainer === void 0 ? void 0 : cardAuthContainer.classList.remove("plc-hidden");
|
|
18142
|
+
cardAuthContainer === null || cardAuthContainer === void 0 ? void 0 : cardAuthContainer.classList.add("plc-flex");
|
|
18143
18143
|
} else {
|
|
18144
|
-
cardAuthContainer.classList.add("plc-hidden");
|
|
18145
|
-
cardAuthContainer.classList.remove("plc-flex");
|
|
18144
|
+
cardAuthContainer === null || cardAuthContainer === void 0 ? void 0 : cardAuthContainer.classList.add("plc-hidden");
|
|
18145
|
+
cardAuthContainer === null || cardAuthContainer === void 0 ? void 0 : cardAuthContainer.classList.remove("plc-flex");
|
|
18146
18146
|
}
|
|
18147
18147
|
};
|
|
18148
18148
|
|
|
@@ -18153,7 +18153,7 @@ const PaymentMethodContainerWithoutStripe = ({
|
|
|
18153
18153
|
const iframe = document.createElement("iframe");
|
|
18154
18154
|
iframe.src = source !== null && source !== void 0 && (_source$redirect = source.redirect) !== null && _source$redirect !== void 0 && _source$redirect.url ? source.redirect.url : source.threeDSecure_url;
|
|
18155
18155
|
iframe.style = "position: absolute; width: 100%; height: 100%; left: 0; top: 0; bottom: 0; z-index: 10;";
|
|
18156
|
-
cardAuthContainer.appendChild(iframe);
|
|
18156
|
+
cardAuthContainer === null || cardAuthContainer === void 0 ? void 0 : cardAuthContainer.appendChild(iframe);
|
|
18157
18157
|
};
|
|
18158
18158
|
|
|
18159
18159
|
const [state, dispatch] = useReducerWithSideEffects((state, action) => {
|
package/dist/index.esm.js
CHANGED
|
@@ -18096,11 +18096,11 @@ const PaymentMethodContainerWithoutStripe = ({
|
|
|
18096
18096
|
|
|
18097
18097
|
if (show) {
|
|
18098
18098
|
injectCardAuthenticationIframe(source);
|
|
18099
|
-
cardAuthContainer.classList.remove("plc-hidden");
|
|
18100
|
-
cardAuthContainer.classList.add("plc-flex");
|
|
18099
|
+
cardAuthContainer === null || cardAuthContainer === void 0 ? void 0 : cardAuthContainer.classList.remove("plc-hidden");
|
|
18100
|
+
cardAuthContainer === null || cardAuthContainer === void 0 ? void 0 : cardAuthContainer.classList.add("plc-flex");
|
|
18101
18101
|
} else {
|
|
18102
|
-
cardAuthContainer.classList.add("plc-hidden");
|
|
18103
|
-
cardAuthContainer.classList.remove("plc-flex");
|
|
18102
|
+
cardAuthContainer === null || cardAuthContainer === void 0 ? void 0 : cardAuthContainer.classList.add("plc-hidden");
|
|
18103
|
+
cardAuthContainer === null || cardAuthContainer === void 0 ? void 0 : cardAuthContainer.classList.remove("plc-flex");
|
|
18104
18104
|
}
|
|
18105
18105
|
};
|
|
18106
18106
|
|
|
@@ -18108,11 +18108,11 @@ const PaymentMethodContainerWithoutStripe = ({
|
|
|
18108
18108
|
const cardAuthContainer = document.querySelector(".card-authentication-success-container");
|
|
18109
18109
|
|
|
18110
18110
|
if (show) {
|
|
18111
|
-
cardAuthContainer.classList.remove("plc-hidden");
|
|
18112
|
-
cardAuthContainer.classList.add("plc-flex");
|
|
18111
|
+
cardAuthContainer === null || cardAuthContainer === void 0 ? void 0 : cardAuthContainer.classList.remove("plc-hidden");
|
|
18112
|
+
cardAuthContainer === null || cardAuthContainer === void 0 ? void 0 : cardAuthContainer.classList.add("plc-flex");
|
|
18113
18113
|
} else {
|
|
18114
|
-
cardAuthContainer.classList.add("plc-hidden");
|
|
18115
|
-
cardAuthContainer.classList.remove("plc-flex");
|
|
18114
|
+
cardAuthContainer === null || cardAuthContainer === void 0 ? void 0 : cardAuthContainer.classList.add("plc-hidden");
|
|
18115
|
+
cardAuthContainer === null || cardAuthContainer === void 0 ? void 0 : cardAuthContainer.classList.remove("plc-flex");
|
|
18116
18116
|
}
|
|
18117
18117
|
};
|
|
18118
18118
|
|
|
@@ -18123,7 +18123,7 @@ const PaymentMethodContainerWithoutStripe = ({
|
|
|
18123
18123
|
const iframe = document.createElement("iframe");
|
|
18124
18124
|
iframe.src = source !== null && source !== void 0 && (_source$redirect = source.redirect) !== null && _source$redirect !== void 0 && _source$redirect.url ? source.redirect.url : source.threeDSecure_url;
|
|
18125
18125
|
iframe.style = "position: absolute; width: 100%; height: 100%; left: 0; top: 0; bottom: 0; z-index: 10;";
|
|
18126
|
-
cardAuthContainer.appendChild(iframe);
|
|
18126
|
+
cardAuthContainer === null || cardAuthContainer === void 0 ? void 0 : cardAuthContainer.appendChild(iframe);
|
|
18127
18127
|
};
|
|
18128
18128
|
|
|
18129
18129
|
const [state, dispatch] = useReducerWithSideEffects((state, action) => {
|