@pelcro/react-pelcro-js 3.21.0-beta.5 → 3.21.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 +37 -155
- package/dist/index.esm.js +38 -155
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -11141,9 +11141,6 @@ const initViewFromURL = () => {
|
|
|
11141
11141
|
if (view === "manage-members") {
|
|
11142
11142
|
return showSubscriptionManageMembersFromUrl();
|
|
11143
11143
|
}
|
|
11144
|
-
if (view === "payment-method-update") {
|
|
11145
|
-
return showPaymentMethodUpdateFromUrl();
|
|
11146
|
-
}
|
|
11147
11144
|
switchView(view);
|
|
11148
11145
|
});
|
|
11149
11146
|
}
|
|
@@ -11352,43 +11349,6 @@ const showPasswordlessRequestFromUrl = () => {
|
|
|
11352
11349
|
} = usePelcro.getStore();
|
|
11353
11350
|
return switchView("passwordless-request");
|
|
11354
11351
|
};
|
|
11355
|
-
const showPaymentMethodUpdateFromUrl = () => {
|
|
11356
|
-
const {
|
|
11357
|
-
isAuthenticated,
|
|
11358
|
-
whenSiteReady,
|
|
11359
|
-
whenUserReady,
|
|
11360
|
-
switchView
|
|
11361
|
-
} = usePelcro.getStore();
|
|
11362
|
-
whenSiteReady(() => {
|
|
11363
|
-
if (!isAuthenticated()) {
|
|
11364
|
-
return switchView("login");
|
|
11365
|
-
}
|
|
11366
|
-
whenUserReady(() => {
|
|
11367
|
-
const supportsVantiv = Boolean(window.Pelcro.site.read().vantiv_gateway_settings);
|
|
11368
|
-
const supportsTap = Boolean(window.Pelcro.site.read().tap_gateway_settings);
|
|
11369
|
-
if (!window.Stripe && !supportsVantiv && !supportsTap) {
|
|
11370
|
-
document.querySelector('script[src="https://js.stripe.com/v3"]').addEventListener("load", () => {
|
|
11371
|
-
return switchView("payment-method-update");
|
|
11372
|
-
});
|
|
11373
|
-
return;
|
|
11374
|
-
}
|
|
11375
|
-
|
|
11376
|
-
//vantiv
|
|
11377
|
-
if (supportsVantiv) {
|
|
11378
|
-
document.querySelector("#vantiv-eprotect-sdk").addEventListener("load", () => {
|
|
11379
|
-
return switchView("payment-method-update");
|
|
11380
|
-
});
|
|
11381
|
-
return;
|
|
11382
|
-
}
|
|
11383
|
-
|
|
11384
|
-
//Tap
|
|
11385
|
-
if (supportsTap && document.querySelector("#tap-sdk")) {
|
|
11386
|
-
return switchView("payment-method-update");
|
|
11387
|
-
}
|
|
11388
|
-
return switchView("payment-method-update");
|
|
11389
|
-
});
|
|
11390
|
-
});
|
|
11391
|
-
};
|
|
11392
11352
|
const showInvoiceDetailsFromUrl = () => {
|
|
11393
11353
|
const {
|
|
11394
11354
|
isAuthenticated,
|
|
@@ -13301,7 +13261,7 @@ function LoginModal(_ref) {
|
|
|
13301
13261
|
}
|
|
13302
13262
|
resetView();
|
|
13303
13263
|
const viewFromURL = getStableViewID(window.Pelcro.helpers.getURLParameter("view"));
|
|
13304
|
-
const viewsURLs = ["invoice-details", "gift-redeem", "plan-select"
|
|
13264
|
+
const viewsURLs = ["invoice-details", "gift-redeem", "plan-select"];
|
|
13305
13265
|
if (viewsURLs.includes(viewFromURL)) {
|
|
13306
13266
|
initViewFromURL();
|
|
13307
13267
|
}
|
|
@@ -14027,7 +13987,7 @@ class SelectModal extends React.Component {
|
|
|
14027
13987
|
this.props.setView("register");
|
|
14028
13988
|
}
|
|
14029
13989
|
document.addEventListener("keydown", this.handleSubmit);
|
|
14030
|
-
{
|
|
13990
|
+
if (!document.querySelector("#pelcro-selection-view") || !document.querySelector(".pelcro-select-product-wrapper")) {
|
|
14031
13991
|
var _window$Pelcro, _window$Pelcro$user, _window$Pelcro2, _window$Pelcro2$user, _window$Pelcro3, _window$Pelcro3$user, _window$Pelcro4, _window$Pelcro4$site;
|
|
14032
13992
|
const userCurrency = (_window$Pelcro = window.Pelcro) === null || _window$Pelcro === void 0 ? void 0 : (_window$Pelcro$user = _window$Pelcro.user) === null || _window$Pelcro$user === void 0 ? void 0 : _window$Pelcro$user.read().currency;
|
|
14033
13993
|
const userCountry = (_window$Pelcro2 = window.Pelcro) === null || _window$Pelcro2 === void 0 ? void 0 : (_window$Pelcro2$user = _window$Pelcro2.user) === null || _window$Pelcro2$user === void 0 ? void 0 : _window$Pelcro2$user.location.countryCode;
|
|
@@ -16835,7 +16795,7 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
16835
16795
|
const tapInstanceRef = React__default['default'].useRef(null);
|
|
16836
16796
|
const tapInstanceCard = React__default['default'].useRef(null);
|
|
16837
16797
|
React.useEffect(() => {
|
|
16838
|
-
if (skipPayment && (
|
|
16798
|
+
if (skipPayment && (plan === null || plan === void 0 ? void 0 : plan.amount) === 0) return;
|
|
16839
16799
|
if (cardProcessor === "vantiv" && !selectedPaymentMethodId) {
|
|
16840
16800
|
var _window$Pelcro$site$r2, _window$Pelcro$site$r3;
|
|
16841
16801
|
const payPageId = (_window$Pelcro$site$r2 = window.Pelcro.site.read()) === null || _window$Pelcro$site$r2 === void 0 ? void 0 : _window$Pelcro$site$r2.vantiv_gateway_settings.pay_page_id;
|
|
@@ -16864,7 +16824,7 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
16864
16824
|
}, [selectedPaymentMethodId]);
|
|
16865
16825
|
React.useEffect(() => {
|
|
16866
16826
|
whenUserReady(() => {
|
|
16867
|
-
if (skipPayment && (
|
|
16827
|
+
if (skipPayment && (plan === null || plan === void 0 ? void 0 : plan.amount) === 0) return;
|
|
16868
16828
|
if (cardProcessor === "tap" && !window.Tapjsli) {
|
|
16869
16829
|
window.Pelcro.helpers.loadSDK("https://cdnjs.cloudflare.com/ajax/libs/bluebird/3.3.4/bluebird.min.js", "tap-bluebird");
|
|
16870
16830
|
window.Pelcro.helpers.loadSDK("https://secure.gosell.io/js/sdk/tap.min.js", "tap-sdk");
|
|
@@ -16878,7 +16838,7 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
16878
16838
|
});
|
|
16879
16839
|
}, [selectedPaymentMethodId]);
|
|
16880
16840
|
const initPaymentRequest = (state, dispatch) => {
|
|
16881
|
-
if (skipPayment && (
|
|
16841
|
+
if (skipPayment && (plan === null || plan === void 0 ? void 0 : plan.amount) === 0) return;
|
|
16882
16842
|
try {
|
|
16883
16843
|
const paymentRequest = stripe.paymentRequest({
|
|
16884
16844
|
country: window.Pelcro.user.location.countryCode || "US",
|
|
@@ -16947,7 +16907,7 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
16947
16907
|
*/
|
|
16948
16908
|
const updateTotalAmountWithTax = () => {
|
|
16949
16909
|
var _window$Pelcro$site$r4;
|
|
16950
|
-
if (skipPayment && (
|
|
16910
|
+
if (skipPayment && (plan === null || plan === void 0 ? void 0 : plan.amount) === 0) return;
|
|
16951
16911
|
const taxesEnabled = (_window$Pelcro$site$r4 = window.Pelcro.site.read()) === null || _window$Pelcro$site$r4 === void 0 ? void 0 : _window$Pelcro$site$r4.taxes_enabled;
|
|
16952
16912
|
if (taxesEnabled && type === "createPayment") {
|
|
16953
16913
|
dispatch({
|
|
@@ -17542,29 +17502,6 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
17542
17502
|
});
|
|
17543
17503
|
};
|
|
17544
17504
|
const submitPayment = (state, dispatch) => {
|
|
17545
|
-
if (skipPayment && (order === null || order === void 0 ? void 0 : order.price) === 0) {
|
|
17546
|
-
const isQuickPurchase = !Array.isArray(order);
|
|
17547
|
-
const mappedOrderItems = isQuickPurchase ? [{
|
|
17548
|
-
sku_id: order.id,
|
|
17549
|
-
quantity: order.quantity
|
|
17550
|
-
}] : order.map(item => ({
|
|
17551
|
-
sku_id: item.id,
|
|
17552
|
-
quantity: item.quantity
|
|
17553
|
-
}));
|
|
17554
|
-
window.Pelcro.ecommerce.order.create({
|
|
17555
|
-
items: mappedOrderItems,
|
|
17556
|
-
campaign_key: window.Pelcro.helpers.getURLParameter("campaign_key"),
|
|
17557
|
-
...(selectedAddressId && {
|
|
17558
|
-
address_id: selectedAddressId
|
|
17559
|
-
})
|
|
17560
|
-
}, (err, res) => {
|
|
17561
|
-
if (err) {
|
|
17562
|
-
return handlePaymentError(err);
|
|
17563
|
-
}
|
|
17564
|
-
return onSuccess(res);
|
|
17565
|
-
});
|
|
17566
|
-
return;
|
|
17567
|
-
}
|
|
17568
17505
|
stripe.createSource({
|
|
17569
17506
|
type: "card"
|
|
17570
17507
|
}).then(_ref8 => {
|
|
@@ -17926,14 +17863,10 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
17926
17863
|
state,
|
|
17927
17864
|
dispatch
|
|
17928
17865
|
}
|
|
17929
|
-
}, children.length ? children.map((child, i) => {
|
|
17930
|
-
|
|
17931
|
-
|
|
17932
|
-
|
|
17933
|
-
key: i
|
|
17934
|
-
});
|
|
17935
|
-
}
|
|
17936
|
-
}) : /*#__PURE__*/React__default['default'].cloneElement(children, {
|
|
17866
|
+
}, children.length ? children.map((child, i) => /*#__PURE__*/React__default['default'].cloneElement(child, {
|
|
17867
|
+
store: store$k,
|
|
17868
|
+
key: i
|
|
17869
|
+
})) : /*#__PURE__*/React__default['default'].cloneElement(children, {
|
|
17937
17870
|
store: store$k
|
|
17938
17871
|
})));
|
|
17939
17872
|
};
|
|
@@ -18755,42 +18688,6 @@ const SubscriptionCreateFreePlanButton = _ref => {
|
|
|
18755
18688
|
}, otherProps), t("buttons.subscribe"));
|
|
18756
18689
|
};
|
|
18757
18690
|
|
|
18758
|
-
const OrderCreateFreeButton = _ref => {
|
|
18759
|
-
let {
|
|
18760
|
-
name,
|
|
18761
|
-
onClick,
|
|
18762
|
-
...otherProps
|
|
18763
|
-
} = _ref;
|
|
18764
|
-
const {
|
|
18765
|
-
state: {
|
|
18766
|
-
disableSubmit
|
|
18767
|
-
},
|
|
18768
|
-
dispatch
|
|
18769
|
-
} = React.useContext(store$k);
|
|
18770
|
-
const {
|
|
18771
|
-
t
|
|
18772
|
-
} = useTranslation("checkoutForm");
|
|
18773
|
-
const [isDisabled, setDisabled] = React.useState(true);
|
|
18774
|
-
React.useEffect(() => {
|
|
18775
|
-
setDisabled(disableSubmit);
|
|
18776
|
-
}, [disableSubmit]);
|
|
18777
|
-
return /*#__PURE__*/React__default['default'].createElement(Button, Object.assign({
|
|
18778
|
-
className: "plc-w-full",
|
|
18779
|
-
onClick: () => {
|
|
18780
|
-
dispatch({
|
|
18781
|
-
type: DISABLE_SUBMIT,
|
|
18782
|
-
payload: true
|
|
18783
|
-
});
|
|
18784
|
-
dispatch({
|
|
18785
|
-
type: SUBMIT_PAYMENT
|
|
18786
|
-
});
|
|
18787
|
-
onClick === null || onClick === void 0 ? void 0 : onClick();
|
|
18788
|
-
},
|
|
18789
|
-
disabled: isDisabled,
|
|
18790
|
-
isLoading: disableSubmit
|
|
18791
|
-
}, otherProps), t("labels.submit"));
|
|
18792
|
-
};
|
|
18793
|
-
|
|
18794
18691
|
/**
|
|
18795
18692
|
*
|
|
18796
18693
|
*/
|
|
@@ -18803,8 +18700,7 @@ function PaymentMethodView(_ref) {
|
|
|
18803
18700
|
type,
|
|
18804
18701
|
showCoupon,
|
|
18805
18702
|
showExternalPaymentMethods,
|
|
18806
|
-
showSubscriptionButton
|
|
18807
|
-
showOrderButton
|
|
18703
|
+
showSubscriptionButton
|
|
18808
18704
|
} = _ref;
|
|
18809
18705
|
const {
|
|
18810
18706
|
t
|
|
@@ -18817,7 +18713,7 @@ function PaymentMethodView(_ref) {
|
|
|
18817
18713
|
const isUserPhone = Boolean(window.Pelcro.user.read().phone);
|
|
18818
18714
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
18819
18715
|
className: "plc-flex plc-flex-col plc-items-center plc-mt-4 sm:plc-px-8 pelcro-payment-block"
|
|
18820
|
-
}, cardProcessor === "stripe" && !showSubscriptionButton &&
|
|
18716
|
+
}, cardProcessor === "stripe" && !showSubscriptionButton && /*#__PURE__*/React__default['default'].createElement("div", {
|
|
18821
18717
|
className: "plc-flex plc-items-center plc-w-full plc-px-4 plc-py-2 plc-text-center plc-text-green-600 plc-border plc-border-green-400 plc-rounded plc-bg-green-50"
|
|
18822
18718
|
}, /*#__PURE__*/React__default['default'].createElement(SvgLock, {
|
|
18823
18719
|
className: "plc-w-5 plc-h-5 plc-mr-1"
|
|
@@ -18836,7 +18732,7 @@ function PaymentMethodView(_ref) {
|
|
|
18836
18732
|
onFailure: onFailure
|
|
18837
18733
|
}, /*#__PURE__*/React__default['default'].createElement(AlertWithContext, {
|
|
18838
18734
|
className: "plc-mb-2"
|
|
18839
|
-
}), showSubscriptionButton
|
|
18735
|
+
}), showSubscriptionButton ? /*#__PURE__*/React__default['default'].createElement(SubscriptionCreateFreePlanButton, null) : /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement(BankRedirection, null), /*#__PURE__*/React__default['default'].createElement(BankAuthenticationSuccess, null), /*#__PURE__*/React__default['default'].createElement(SelectedPaymentMethod, null), supportsTap && (!isUserFirstName || !isUserLastName || !isUserPhone) && /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
18840
18736
|
className: "plc-flex plc-items-start"
|
|
18841
18737
|
}, /*#__PURE__*/React__default['default'].createElement(IncludeFirstName, {
|
|
18842
18738
|
id: "pelcro-input-first-name",
|
|
@@ -20627,32 +20523,27 @@ function SubscriptionManageMembersList(props) {
|
|
|
20627
20523
|
type: HANDLE_REMOVE_MEMBER
|
|
20628
20524
|
});
|
|
20629
20525
|
};
|
|
20630
|
-
return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, members === null || members === void 0 ? void 0 : members.map(member => {
|
|
20631
|
-
|
|
20632
|
-
|
|
20633
|
-
|
|
20634
|
-
|
|
20635
|
-
|
|
20636
|
-
|
|
20637
|
-
|
|
20638
|
-
|
|
20639
|
-
|
|
20640
|
-
|
|
20641
|
-
|
|
20642
|
-
|
|
20643
|
-
|
|
20644
|
-
|
|
20645
|
-
|
|
20646
|
-
|
|
20647
|
-
|
|
20648
|
-
|
|
20649
|
-
|
|
20650
|
-
|
|
20651
|
-
disabled: member.id === removeMemberId,
|
|
20652
|
-
isLoading: member.id === removeMemberId,
|
|
20653
|
-
"data-key": member.id
|
|
20654
|
-
}, t("labels.remove"))));
|
|
20655
|
-
}));
|
|
20526
|
+
return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, members === null || members === void 0 ? void 0 : members.map(member => /*#__PURE__*/React__default['default'].createElement("tr", {
|
|
20527
|
+
key: member.id,
|
|
20528
|
+
className: `plc-w-full plc-align-middle plc-cursor-pointer accordion-header hover:plc-bg-gray-50 plc-text-center`
|
|
20529
|
+
}, /*#__PURE__*/React__default['default'].createElement("td", {
|
|
20530
|
+
className: "plc-truncate plc-text-left",
|
|
20531
|
+
title: member === null || member === void 0 ? void 0 : member.invitation_email
|
|
20532
|
+
}, /*#__PURE__*/React__default['default'].createElement("span", {
|
|
20533
|
+
className: "plc-font-semibold plc-text-gray-500"
|
|
20534
|
+
}, member === null || member === void 0 ? void 0 : member.invitation_email)), /*#__PURE__*/React__default['default'].createElement("td", {
|
|
20535
|
+
className: "plc-py-2"
|
|
20536
|
+
}, /*#__PURE__*/React__default['default'].createElement("span", {
|
|
20537
|
+
className: `plc-inline-flex plc-p-1 plc-text-xs plc-font-semibold ${getMemberStatus(member).bgColor} plc-uppercase ${getMemberStatus(member).textColor} plc-rounded-lg`
|
|
20538
|
+
}, getMemberStatus(member).icon, getMemberStatus(member).title)), /*#__PURE__*/React__default['default'].createElement("td", null, /*#__PURE__*/React__default['default'].createElement(Button, {
|
|
20539
|
+
variant: "ghost",
|
|
20540
|
+
className: "plc-text-red-500 focus:plc-ring-red-500 pelcro-dashboard-sub-cancel-button",
|
|
20541
|
+
icon: /*#__PURE__*/React__default['default'].createElement(SvgXIconSolid, null),
|
|
20542
|
+
onClick: () => onRemoveClick(member.id),
|
|
20543
|
+
disabled: member.id === removeMemberId,
|
|
20544
|
+
isLoading: member.id === removeMemberId,
|
|
20545
|
+
"data-key": member.id
|
|
20546
|
+
}, t("labels.remove"))))));
|
|
20656
20547
|
}
|
|
20657
20548
|
|
|
20658
20549
|
/**
|
|
@@ -24246,15 +24137,9 @@ const OrderCreateContainer = props => /*#__PURE__*/React__default['default'].cre
|
|
|
24246
24137
|
}, props));
|
|
24247
24138
|
|
|
24248
24139
|
const OrderCreateView = props => {
|
|
24249
|
-
var _window$Pelcro, _window$Pelcro$uiSett;
|
|
24250
24140
|
const {
|
|
24251
24141
|
t
|
|
24252
24142
|
} = useTranslation("payment");
|
|
24253
|
-
const {
|
|
24254
|
-
order
|
|
24255
|
-
} = usePelcro();
|
|
24256
|
-
const skipPayment = (_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.skipPaymentForFreePlans;
|
|
24257
|
-
const showOrderButton = skipPayment && (order === null || order === void 0 ? void 0 : order.price) === 0;
|
|
24258
24143
|
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
24259
24144
|
id: "pelcro-order-create-view"
|
|
24260
24145
|
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
@@ -24265,8 +24150,7 @@ const OrderCreateView = props => {
|
|
|
24265
24150
|
}, /*#__PURE__*/React__default['default'].createElement(PaymentMethodView, Object.assign({
|
|
24266
24151
|
type: "orderCreate",
|
|
24267
24152
|
showCoupon: true,
|
|
24268
|
-
showExternalPaymentMethods: false
|
|
24269
|
-
showOrderButton: showOrderButton
|
|
24153
|
+
showExternalPaymentMethods: false
|
|
24270
24154
|
}, props))));
|
|
24271
24155
|
};
|
|
24272
24156
|
|
|
@@ -25474,12 +25358,11 @@ const PaymentMethodSelectModal = _ref => {
|
|
|
25474
25358
|
const {
|
|
25475
25359
|
switchToCheckoutForm,
|
|
25476
25360
|
set,
|
|
25477
|
-
plan
|
|
25478
|
-
order
|
|
25361
|
+
plan
|
|
25479
25362
|
} = usePelcro();
|
|
25480
25363
|
const skipPayment = (_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.skipPaymentForFreePlans;
|
|
25481
25364
|
React.useEffect(() => {
|
|
25482
|
-
if (skipPayment && (
|
|
25365
|
+
if (skipPayment && (plan === null || plan === void 0 ? void 0 : plan.amount) === 0) {
|
|
25483
25366
|
switchToCheckoutForm();
|
|
25484
25367
|
}
|
|
25485
25368
|
}, []);
|
|
@@ -32297,7 +32180,6 @@ exports.NewsletterUpdateView = NewsletterUpdateView;
|
|
|
32297
32180
|
exports.Notification = Notification;
|
|
32298
32181
|
exports.OrderConfirmModal = OrderConfirmModal;
|
|
32299
32182
|
exports.OrderCreateContainer = OrderCreateContainer;
|
|
32300
|
-
exports.OrderCreateFreeButton = OrderCreateFreeButton;
|
|
32301
32183
|
exports.OrderCreateModal = OrderCreateModal;
|
|
32302
32184
|
exports.OrderCreateSubmitButton = OrderCreateSubmitButton;
|
|
32303
32185
|
exports.OrderCreateView = OrderCreateView;
|
package/dist/index.esm.js
CHANGED
|
@@ -11111,9 +11111,6 @@ const initViewFromURL = () => {
|
|
|
11111
11111
|
if (view === "manage-members") {
|
|
11112
11112
|
return showSubscriptionManageMembersFromUrl();
|
|
11113
11113
|
}
|
|
11114
|
-
if (view === "payment-method-update") {
|
|
11115
|
-
return showPaymentMethodUpdateFromUrl();
|
|
11116
|
-
}
|
|
11117
11114
|
switchView(view);
|
|
11118
11115
|
});
|
|
11119
11116
|
}
|
|
@@ -11322,43 +11319,6 @@ const showPasswordlessRequestFromUrl = () => {
|
|
|
11322
11319
|
} = usePelcro.getStore();
|
|
11323
11320
|
return switchView("passwordless-request");
|
|
11324
11321
|
};
|
|
11325
|
-
const showPaymentMethodUpdateFromUrl = () => {
|
|
11326
|
-
const {
|
|
11327
|
-
isAuthenticated,
|
|
11328
|
-
whenSiteReady,
|
|
11329
|
-
whenUserReady,
|
|
11330
|
-
switchView
|
|
11331
|
-
} = usePelcro.getStore();
|
|
11332
|
-
whenSiteReady(() => {
|
|
11333
|
-
if (!isAuthenticated()) {
|
|
11334
|
-
return switchView("login");
|
|
11335
|
-
}
|
|
11336
|
-
whenUserReady(() => {
|
|
11337
|
-
const supportsVantiv = Boolean(window.Pelcro.site.read().vantiv_gateway_settings);
|
|
11338
|
-
const supportsTap = Boolean(window.Pelcro.site.read().tap_gateway_settings);
|
|
11339
|
-
if (!window.Stripe && !supportsVantiv && !supportsTap) {
|
|
11340
|
-
document.querySelector('script[src="https://js.stripe.com/v3"]').addEventListener("load", () => {
|
|
11341
|
-
return switchView("payment-method-update");
|
|
11342
|
-
});
|
|
11343
|
-
return;
|
|
11344
|
-
}
|
|
11345
|
-
|
|
11346
|
-
//vantiv
|
|
11347
|
-
if (supportsVantiv) {
|
|
11348
|
-
document.querySelector("#vantiv-eprotect-sdk").addEventListener("load", () => {
|
|
11349
|
-
return switchView("payment-method-update");
|
|
11350
|
-
});
|
|
11351
|
-
return;
|
|
11352
|
-
}
|
|
11353
|
-
|
|
11354
|
-
//Tap
|
|
11355
|
-
if (supportsTap && document.querySelector("#tap-sdk")) {
|
|
11356
|
-
return switchView("payment-method-update");
|
|
11357
|
-
}
|
|
11358
|
-
return switchView("payment-method-update");
|
|
11359
|
-
});
|
|
11360
|
-
});
|
|
11361
|
-
};
|
|
11362
11322
|
const showInvoiceDetailsFromUrl = () => {
|
|
11363
11323
|
const {
|
|
11364
11324
|
isAuthenticated,
|
|
@@ -13271,7 +13231,7 @@ function LoginModal(_ref) {
|
|
|
13271
13231
|
}
|
|
13272
13232
|
resetView();
|
|
13273
13233
|
const viewFromURL = getStableViewID(window.Pelcro.helpers.getURLParameter("view"));
|
|
13274
|
-
const viewsURLs = ["invoice-details", "gift-redeem", "plan-select"
|
|
13234
|
+
const viewsURLs = ["invoice-details", "gift-redeem", "plan-select"];
|
|
13275
13235
|
if (viewsURLs.includes(viewFromURL)) {
|
|
13276
13236
|
initViewFromURL();
|
|
13277
13237
|
}
|
|
@@ -13997,7 +13957,7 @@ class SelectModal extends Component {
|
|
|
13997
13957
|
this.props.setView("register");
|
|
13998
13958
|
}
|
|
13999
13959
|
document.addEventListener("keydown", this.handleSubmit);
|
|
14000
|
-
{
|
|
13960
|
+
if (!document.querySelector("#pelcro-selection-view") || !document.querySelector(".pelcro-select-product-wrapper")) {
|
|
14001
13961
|
var _window$Pelcro, _window$Pelcro$user, _window$Pelcro2, _window$Pelcro2$user, _window$Pelcro3, _window$Pelcro3$user, _window$Pelcro4, _window$Pelcro4$site;
|
|
14002
13962
|
const userCurrency = (_window$Pelcro = window.Pelcro) === null || _window$Pelcro === void 0 ? void 0 : (_window$Pelcro$user = _window$Pelcro.user) === null || _window$Pelcro$user === void 0 ? void 0 : _window$Pelcro$user.read().currency;
|
|
14003
13963
|
const userCountry = (_window$Pelcro2 = window.Pelcro) === null || _window$Pelcro2 === void 0 ? void 0 : (_window$Pelcro2$user = _window$Pelcro2.user) === null || _window$Pelcro2$user === void 0 ? void 0 : _window$Pelcro2$user.location.countryCode;
|
|
@@ -16805,7 +16765,7 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
16805
16765
|
const tapInstanceRef = React__default.useRef(null);
|
|
16806
16766
|
const tapInstanceCard = React__default.useRef(null);
|
|
16807
16767
|
useEffect(() => {
|
|
16808
|
-
if (skipPayment && (
|
|
16768
|
+
if (skipPayment && (plan === null || plan === void 0 ? void 0 : plan.amount) === 0) return;
|
|
16809
16769
|
if (cardProcessor === "vantiv" && !selectedPaymentMethodId) {
|
|
16810
16770
|
var _window$Pelcro$site$r2, _window$Pelcro$site$r3;
|
|
16811
16771
|
const payPageId = (_window$Pelcro$site$r2 = window.Pelcro.site.read()) === null || _window$Pelcro$site$r2 === void 0 ? void 0 : _window$Pelcro$site$r2.vantiv_gateway_settings.pay_page_id;
|
|
@@ -16834,7 +16794,7 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
16834
16794
|
}, [selectedPaymentMethodId]);
|
|
16835
16795
|
useEffect(() => {
|
|
16836
16796
|
whenUserReady(() => {
|
|
16837
|
-
if (skipPayment && (
|
|
16797
|
+
if (skipPayment && (plan === null || plan === void 0 ? void 0 : plan.amount) === 0) return;
|
|
16838
16798
|
if (cardProcessor === "tap" && !window.Tapjsli) {
|
|
16839
16799
|
window.Pelcro.helpers.loadSDK("https://cdnjs.cloudflare.com/ajax/libs/bluebird/3.3.4/bluebird.min.js", "tap-bluebird");
|
|
16840
16800
|
window.Pelcro.helpers.loadSDK("https://secure.gosell.io/js/sdk/tap.min.js", "tap-sdk");
|
|
@@ -16848,7 +16808,7 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
16848
16808
|
});
|
|
16849
16809
|
}, [selectedPaymentMethodId]);
|
|
16850
16810
|
const initPaymentRequest = (state, dispatch) => {
|
|
16851
|
-
if (skipPayment && (
|
|
16811
|
+
if (skipPayment && (plan === null || plan === void 0 ? void 0 : plan.amount) === 0) return;
|
|
16852
16812
|
try {
|
|
16853
16813
|
const paymentRequest = stripe.paymentRequest({
|
|
16854
16814
|
country: window.Pelcro.user.location.countryCode || "US",
|
|
@@ -16917,7 +16877,7 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
16917
16877
|
*/
|
|
16918
16878
|
const updateTotalAmountWithTax = () => {
|
|
16919
16879
|
var _window$Pelcro$site$r4;
|
|
16920
|
-
if (skipPayment && (
|
|
16880
|
+
if (skipPayment && (plan === null || plan === void 0 ? void 0 : plan.amount) === 0) return;
|
|
16921
16881
|
const taxesEnabled = (_window$Pelcro$site$r4 = window.Pelcro.site.read()) === null || _window$Pelcro$site$r4 === void 0 ? void 0 : _window$Pelcro$site$r4.taxes_enabled;
|
|
16922
16882
|
if (taxesEnabled && type === "createPayment") {
|
|
16923
16883
|
dispatch({
|
|
@@ -17512,29 +17472,6 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
17512
17472
|
});
|
|
17513
17473
|
};
|
|
17514
17474
|
const submitPayment = (state, dispatch) => {
|
|
17515
|
-
if (skipPayment && (order === null || order === void 0 ? void 0 : order.price) === 0) {
|
|
17516
|
-
const isQuickPurchase = !Array.isArray(order);
|
|
17517
|
-
const mappedOrderItems = isQuickPurchase ? [{
|
|
17518
|
-
sku_id: order.id,
|
|
17519
|
-
quantity: order.quantity
|
|
17520
|
-
}] : order.map(item => ({
|
|
17521
|
-
sku_id: item.id,
|
|
17522
|
-
quantity: item.quantity
|
|
17523
|
-
}));
|
|
17524
|
-
window.Pelcro.ecommerce.order.create({
|
|
17525
|
-
items: mappedOrderItems,
|
|
17526
|
-
campaign_key: window.Pelcro.helpers.getURLParameter("campaign_key"),
|
|
17527
|
-
...(selectedAddressId && {
|
|
17528
|
-
address_id: selectedAddressId
|
|
17529
|
-
})
|
|
17530
|
-
}, (err, res) => {
|
|
17531
|
-
if (err) {
|
|
17532
|
-
return handlePaymentError(err);
|
|
17533
|
-
}
|
|
17534
|
-
return onSuccess(res);
|
|
17535
|
-
});
|
|
17536
|
-
return;
|
|
17537
|
-
}
|
|
17538
17475
|
stripe.createSource({
|
|
17539
17476
|
type: "card"
|
|
17540
17477
|
}).then(_ref8 => {
|
|
@@ -17896,14 +17833,10 @@ const PaymentMethodContainerWithoutStripe = _ref => {
|
|
|
17896
17833
|
state,
|
|
17897
17834
|
dispatch
|
|
17898
17835
|
}
|
|
17899
|
-
}, children.length ? children.map((child, i) => {
|
|
17900
|
-
|
|
17901
|
-
|
|
17902
|
-
|
|
17903
|
-
key: i
|
|
17904
|
-
});
|
|
17905
|
-
}
|
|
17906
|
-
}) : /*#__PURE__*/React__default.cloneElement(children, {
|
|
17836
|
+
}, children.length ? children.map((child, i) => /*#__PURE__*/React__default.cloneElement(child, {
|
|
17837
|
+
store: store$k,
|
|
17838
|
+
key: i
|
|
17839
|
+
})) : /*#__PURE__*/React__default.cloneElement(children, {
|
|
17907
17840
|
store: store$k
|
|
17908
17841
|
})));
|
|
17909
17842
|
};
|
|
@@ -18725,42 +18658,6 @@ const SubscriptionCreateFreePlanButton = _ref => {
|
|
|
18725
18658
|
}, otherProps), t("buttons.subscribe"));
|
|
18726
18659
|
};
|
|
18727
18660
|
|
|
18728
|
-
const OrderCreateFreeButton = _ref => {
|
|
18729
|
-
let {
|
|
18730
|
-
name,
|
|
18731
|
-
onClick,
|
|
18732
|
-
...otherProps
|
|
18733
|
-
} = _ref;
|
|
18734
|
-
const {
|
|
18735
|
-
state: {
|
|
18736
|
-
disableSubmit
|
|
18737
|
-
},
|
|
18738
|
-
dispatch
|
|
18739
|
-
} = useContext(store$k);
|
|
18740
|
-
const {
|
|
18741
|
-
t
|
|
18742
|
-
} = useTranslation("checkoutForm");
|
|
18743
|
-
const [isDisabled, setDisabled] = useState(true);
|
|
18744
|
-
useEffect(() => {
|
|
18745
|
-
setDisabled(disableSubmit);
|
|
18746
|
-
}, [disableSubmit]);
|
|
18747
|
-
return /*#__PURE__*/React__default.createElement(Button, Object.assign({
|
|
18748
|
-
className: "plc-w-full",
|
|
18749
|
-
onClick: () => {
|
|
18750
|
-
dispatch({
|
|
18751
|
-
type: DISABLE_SUBMIT,
|
|
18752
|
-
payload: true
|
|
18753
|
-
});
|
|
18754
|
-
dispatch({
|
|
18755
|
-
type: SUBMIT_PAYMENT
|
|
18756
|
-
});
|
|
18757
|
-
onClick === null || onClick === void 0 ? void 0 : onClick();
|
|
18758
|
-
},
|
|
18759
|
-
disabled: isDisabled,
|
|
18760
|
-
isLoading: disableSubmit
|
|
18761
|
-
}, otherProps), t("labels.submit"));
|
|
18762
|
-
};
|
|
18763
|
-
|
|
18764
18661
|
/**
|
|
18765
18662
|
*
|
|
18766
18663
|
*/
|
|
@@ -18773,8 +18670,7 @@ function PaymentMethodView(_ref) {
|
|
|
18773
18670
|
type,
|
|
18774
18671
|
showCoupon,
|
|
18775
18672
|
showExternalPaymentMethods,
|
|
18776
|
-
showSubscriptionButton
|
|
18777
|
-
showOrderButton
|
|
18673
|
+
showSubscriptionButton
|
|
18778
18674
|
} = _ref;
|
|
18779
18675
|
const {
|
|
18780
18676
|
t
|
|
@@ -18787,7 +18683,7 @@ function PaymentMethodView(_ref) {
|
|
|
18787
18683
|
const isUserPhone = Boolean(window.Pelcro.user.read().phone);
|
|
18788
18684
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
18789
18685
|
className: "plc-flex plc-flex-col plc-items-center plc-mt-4 sm:plc-px-8 pelcro-payment-block"
|
|
18790
|
-
}, cardProcessor === "stripe" && !showSubscriptionButton &&
|
|
18686
|
+
}, cardProcessor === "stripe" && !showSubscriptionButton && /*#__PURE__*/React__default.createElement("div", {
|
|
18791
18687
|
className: "plc-flex plc-items-center plc-w-full plc-px-4 plc-py-2 plc-text-center plc-text-green-600 plc-border plc-border-green-400 plc-rounded plc-bg-green-50"
|
|
18792
18688
|
}, /*#__PURE__*/React__default.createElement(SvgLock, {
|
|
18793
18689
|
className: "plc-w-5 plc-h-5 plc-mr-1"
|
|
@@ -18806,7 +18702,7 @@ function PaymentMethodView(_ref) {
|
|
|
18806
18702
|
onFailure: onFailure
|
|
18807
18703
|
}, /*#__PURE__*/React__default.createElement(AlertWithContext, {
|
|
18808
18704
|
className: "plc-mb-2"
|
|
18809
|
-
}), showSubscriptionButton
|
|
18705
|
+
}), showSubscriptionButton ? /*#__PURE__*/React__default.createElement(SubscriptionCreateFreePlanButton, null) : /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement(BankRedirection, null), /*#__PURE__*/React__default.createElement(BankAuthenticationSuccess, null), /*#__PURE__*/React__default.createElement(SelectedPaymentMethod, null), supportsTap && (!isUserFirstName || !isUserLastName || !isUserPhone) && /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
|
|
18810
18706
|
className: "plc-flex plc-items-start"
|
|
18811
18707
|
}, /*#__PURE__*/React__default.createElement(IncludeFirstName, {
|
|
18812
18708
|
id: "pelcro-input-first-name",
|
|
@@ -20597,32 +20493,27 @@ function SubscriptionManageMembersList(props) {
|
|
|
20597
20493
|
type: HANDLE_REMOVE_MEMBER
|
|
20598
20494
|
});
|
|
20599
20495
|
};
|
|
20600
|
-
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, members === null || members === void 0 ? void 0 : members.map(member => {
|
|
20601
|
-
|
|
20602
|
-
|
|
20603
|
-
|
|
20604
|
-
|
|
20605
|
-
|
|
20606
|
-
|
|
20607
|
-
|
|
20608
|
-
|
|
20609
|
-
|
|
20610
|
-
|
|
20611
|
-
|
|
20612
|
-
|
|
20613
|
-
|
|
20614
|
-
|
|
20615
|
-
|
|
20616
|
-
|
|
20617
|
-
|
|
20618
|
-
|
|
20619
|
-
|
|
20620
|
-
|
|
20621
|
-
disabled: member.id === removeMemberId,
|
|
20622
|
-
isLoading: member.id === removeMemberId,
|
|
20623
|
-
"data-key": member.id
|
|
20624
|
-
}, t("labels.remove"))));
|
|
20625
|
-
}));
|
|
20496
|
+
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, members === null || members === void 0 ? void 0 : members.map(member => /*#__PURE__*/React__default.createElement("tr", {
|
|
20497
|
+
key: member.id,
|
|
20498
|
+
className: `plc-w-full plc-align-middle plc-cursor-pointer accordion-header hover:plc-bg-gray-50 plc-text-center`
|
|
20499
|
+
}, /*#__PURE__*/React__default.createElement("td", {
|
|
20500
|
+
className: "plc-truncate plc-text-left",
|
|
20501
|
+
title: member === null || member === void 0 ? void 0 : member.invitation_email
|
|
20502
|
+
}, /*#__PURE__*/React__default.createElement("span", {
|
|
20503
|
+
className: "plc-font-semibold plc-text-gray-500"
|
|
20504
|
+
}, member === null || member === void 0 ? void 0 : member.invitation_email)), /*#__PURE__*/React__default.createElement("td", {
|
|
20505
|
+
className: "plc-py-2"
|
|
20506
|
+
}, /*#__PURE__*/React__default.createElement("span", {
|
|
20507
|
+
className: `plc-inline-flex plc-p-1 plc-text-xs plc-font-semibold ${getMemberStatus(member).bgColor} plc-uppercase ${getMemberStatus(member).textColor} plc-rounded-lg`
|
|
20508
|
+
}, getMemberStatus(member).icon, getMemberStatus(member).title)), /*#__PURE__*/React__default.createElement("td", null, /*#__PURE__*/React__default.createElement(Button, {
|
|
20509
|
+
variant: "ghost",
|
|
20510
|
+
className: "plc-text-red-500 focus:plc-ring-red-500 pelcro-dashboard-sub-cancel-button",
|
|
20511
|
+
icon: /*#__PURE__*/React__default.createElement(SvgXIconSolid, null),
|
|
20512
|
+
onClick: () => onRemoveClick(member.id),
|
|
20513
|
+
disabled: member.id === removeMemberId,
|
|
20514
|
+
isLoading: member.id === removeMemberId,
|
|
20515
|
+
"data-key": member.id
|
|
20516
|
+
}, t("labels.remove"))))));
|
|
20626
20517
|
}
|
|
20627
20518
|
|
|
20628
20519
|
/**
|
|
@@ -24216,15 +24107,9 @@ const OrderCreateContainer = props => /*#__PURE__*/React__default.createElement(
|
|
|
24216
24107
|
}, props));
|
|
24217
24108
|
|
|
24218
24109
|
const OrderCreateView = props => {
|
|
24219
|
-
var _window$Pelcro, _window$Pelcro$uiSett;
|
|
24220
24110
|
const {
|
|
24221
24111
|
t
|
|
24222
24112
|
} = useTranslation("payment");
|
|
24223
|
-
const {
|
|
24224
|
-
order
|
|
24225
|
-
} = usePelcro();
|
|
24226
|
-
const skipPayment = (_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.skipPaymentForFreePlans;
|
|
24227
|
-
const showOrderButton = skipPayment && (order === null || order === void 0 ? void 0 : order.price) === 0;
|
|
24228
24113
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
24229
24114
|
id: "pelcro-order-create-view"
|
|
24230
24115
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -24235,8 +24120,7 @@ const OrderCreateView = props => {
|
|
|
24235
24120
|
}, /*#__PURE__*/React__default.createElement(PaymentMethodView, Object.assign({
|
|
24236
24121
|
type: "orderCreate",
|
|
24237
24122
|
showCoupon: true,
|
|
24238
|
-
showExternalPaymentMethods: false
|
|
24239
|
-
showOrderButton: showOrderButton
|
|
24123
|
+
showExternalPaymentMethods: false
|
|
24240
24124
|
}, props))));
|
|
24241
24125
|
};
|
|
24242
24126
|
|
|
@@ -25444,12 +25328,11 @@ const PaymentMethodSelectModal = _ref => {
|
|
|
25444
25328
|
const {
|
|
25445
25329
|
switchToCheckoutForm,
|
|
25446
25330
|
set,
|
|
25447
|
-
plan
|
|
25448
|
-
order
|
|
25331
|
+
plan
|
|
25449
25332
|
} = usePelcro();
|
|
25450
25333
|
const skipPayment = (_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.skipPaymentForFreePlans;
|
|
25451
25334
|
useEffect(() => {
|
|
25452
|
-
if (skipPayment && (
|
|
25335
|
+
if (skipPayment && (plan === null || plan === void 0 ? void 0 : plan.amount) === 0) {
|
|
25453
25336
|
switchToCheckoutForm();
|
|
25454
25337
|
}
|
|
25455
25338
|
}, []);
|
|
@@ -32154,4 +32037,4 @@ const QrCodeModal = _ref => {
|
|
|
32154
32037
|
};
|
|
32155
32038
|
QrCodeModal.viewId = "qrcode";
|
|
32156
32039
|
|
|
32157
|
-
export { AddressCreateCity, AddressCreateContainer, AddressCreateCountrySelect, AddressCreateFirstName, AddressCreateLastName, AddressCreateLine1, AddressCreateLine2, AddressCreateModal, AddressCreatePostalCode, AddressCreateSetDefault, AddressCreateStateSelect, AddressCreateSubmit, AddressCreateTextInput, AddressCreateView, AddressSelectContainer, AddressSelectList, AddressSelectModal, AddressSelectSubmit, AddressSelectView, AddressUpdateCity, AddressUpdateContainer, AddressUpdateCountrySelect, AddressUpdateFirstName, AddressUpdateLastName, AddressUpdateLine1, AddressUpdateLine2, AddressUpdateModal, AddressUpdatePostalCode, AddressUpdateSetDefault, AddressUpdateStateSelect, AddressUpdateSubmit, AddressUpdateTextInput, AddressUpdateView, AlertWithContext as Alert, Alert as AlertElement, ApplyCouponButton, Auth0LoginButton, Badge, BankAuthenticationSuccess, BankRedirection, Button, CartContainer, CartModal, CartRemoveItemButton, CartSubmit, CartTotalPrice, CartView, Checkbox, CheckoutForm, ConfirmPassword, CouponCode, CouponCodeField, DashboardWithHook as Dashboard, DashboardOpenButton, DatePicker, DiscountedPrice, Email, EmailVerifyContainer, EmailVerifyModal, EmailVerifyResendButton, EmailVerifyView, FacebookLoginButton, GiftCreateContainer, GiftCreateEmail, GiftCreateFirstName, GiftCreateLastName, GiftCreateMessage, GiftCreateModal, GiftCreateStartDate, GiftCreateSubmitButton, GiftCreateView, GiftRedeemCode, GiftRedeemContainer, GiftRedeemModal, GiftRedeemSubmitButton, GiftRedeemView, GoogleLoginButton, IncludeFirstName, IncludeLastName, IncludePhone, Input, InvoiceDetailsContainer, InvoiceDetailsDownloadButton, InvoiceDetailsModal, InvoiceDetailsPayButton, InvoiceDetailsView, InvoicePaymentContainer, InvoicePaymentModal, InvoicePaymentView, Link, LoginButton, LoginContainer, LoginEmail, LoginModal, LoginPassword, LoginRequestLoginToken, LoginUsername, LoginView, Logout, MeterModal, MeterView, Modal, ModalBody, ModalFooter, NewsletterWithHook as NewsLetter, NewsletterUpdateButton, NewsletterUpdateContainer, NewsletterUpdateList, NewsletterUpdateModal, NewsletterUpdateView, Notification, OrderConfirmModal, OrderCreateContainer,
|
|
32040
|
+
export { AddressCreateCity, AddressCreateContainer, AddressCreateCountrySelect, AddressCreateFirstName, AddressCreateLastName, AddressCreateLine1, AddressCreateLine2, AddressCreateModal, AddressCreatePostalCode, AddressCreateSetDefault, AddressCreateStateSelect, AddressCreateSubmit, AddressCreateTextInput, AddressCreateView, AddressSelectContainer, AddressSelectList, AddressSelectModal, AddressSelectSubmit, AddressSelectView, AddressUpdateCity, AddressUpdateContainer, AddressUpdateCountrySelect, AddressUpdateFirstName, AddressUpdateLastName, AddressUpdateLine1, AddressUpdateLine2, AddressUpdateModal, AddressUpdatePostalCode, AddressUpdateSetDefault, AddressUpdateStateSelect, AddressUpdateSubmit, AddressUpdateTextInput, AddressUpdateView, AlertWithContext as Alert, Alert as AlertElement, ApplyCouponButton, Auth0LoginButton, Badge, BankAuthenticationSuccess, BankRedirection, Button, CartContainer, CartModal, CartRemoveItemButton, CartSubmit, CartTotalPrice, CartView, Checkbox, CheckoutForm, ConfirmPassword, CouponCode, CouponCodeField, DashboardWithHook as Dashboard, DashboardOpenButton, DatePicker, DiscountedPrice, Email, EmailVerifyContainer, EmailVerifyModal, EmailVerifyResendButton, EmailVerifyView, FacebookLoginButton, GiftCreateContainer, GiftCreateEmail, GiftCreateFirstName, GiftCreateLastName, GiftCreateMessage, GiftCreateModal, GiftCreateStartDate, GiftCreateSubmitButton, GiftCreateView, GiftRedeemCode, GiftRedeemContainer, GiftRedeemModal, GiftRedeemSubmitButton, GiftRedeemView, GoogleLoginButton, IncludeFirstName, IncludeLastName, IncludePhone, Input, InvoiceDetailsContainer, InvoiceDetailsDownloadButton, InvoiceDetailsModal, InvoiceDetailsPayButton, InvoiceDetailsView, InvoicePaymentContainer, InvoicePaymentModal, InvoicePaymentView, Link, LoginButton, LoginContainer, LoginEmail, LoginModal, LoginPassword, LoginRequestLoginToken, LoginUsername, LoginView, Logout, MeterModal, MeterView, Modal, ModalBody, ModalFooter, NewsletterWithHook as NewsLetter, NewsletterUpdateButton, NewsletterUpdateContainer, NewsletterUpdateList, NewsletterUpdateModal, NewsletterUpdateView, Notification, OrderConfirmModal, OrderCreateContainer, OrderCreateModal, OrderCreateSubmitButton, OrderCreateView, Password, PasswordChangeButton, PasswordChangeConfirmNewPassword, PasswordChangeContainer, PasswordChangeCurrentPassword, PasswordChangeModal, PasswordChangeNewPassword, PasswordChangeView, PasswordForgotButton, PasswordForgotContainer, PasswordForgotEmail, PasswordForgotModal, PasswordForgotView, PasswordResetButton, PasswordResetConfirmPassword, PasswordResetContainer, PasswordResetEmail, PasswordResetModal, PasswordResetPassword, PasswordResetView, PasswordlessRequestContainer, PasswordlessRequestEmail, PasswordlessRequestModal, PasswordlessRequestView, PasswordlessRequestViewButton, PaymentCreateContainer, PaymentCreateView, PaymentMethodContainer, PaymentMethodSelectContainer, PaymentMethodSelectList, PaymentMethodSelectModal, PaymentMethodSelectSubmit, PaymentMethodSelectView, PaymentMethodUpdateContainer, PaymentMethodUpdateModal, PaymentMethodUpdateView, PaymentMethodView, PaymentSuccessModal, PaymentSuccessView, PaypalSubscribeButton, PelcroCardCVC, PelcroCardExpiry, PelcroCardNumber, PelcroModalController, PelcroPaymentRequestButton, ProfilePicChangeButton, ProfilePicChangeContainer, ProfilePicChangeCropper, ProfilePicChangeModal, ProfilePicChangeRemoveButton, ProfilePicChangeSelectButton, ProfilePicChangeView, ProfilePicChangeZoom, QrCodeModal, QrCodeView, Radio, RegisterButton, RegisterCompany, RegisterContainer, RegisterEmail, RegisterFirstName, RegisterJobTitle, RegisterLastName, RegisterModal, RegisterPassword, RegisterView, Select, SelectModalWithHook as SelectModal, SelectedPaymentMethod, ShopPurchaseButton, ShopSelectProductButton, ShopView, SubmitPaymentMethod, SubscriptionCancelModal, SubscriptionCreateContainer, SubscriptionCreateFreePlanButton, SubscriptionCreateModal, SubscriptionCreateView, SubscriptionManageMembersButton, SubscriptionManageMembersContainer, SubscriptionManageMembersEmails, SubscriptionManageMembersList, SubscriptionManageMembersModal, SubscriptionManageMembersView, SubscriptionRenewContainer, SubscriptionRenewModal, SubscriptionRenewView, SubscriptionSuspendContainer, SubscriptionSuspendModal, SubscriptionSuspendView, TaxAmount, TextArea, Tooltip, UserNameInput, UserUpdateButton, UserUpdateContainer, UserUpdateDisplayName, UserUpdateEmail, UserUpdateFirstName, UserUpdateLastName, UserUpdateModal, UserUpdatePhone, UserUpdateProfilePic, UserUpdateTextInput, UserUpdateTin, UserUpdateUsername, UserUpdateView, VerifyLinkTokenContainer, VerifyLinkTokenLoader, VerifyLinkTokenModal, VerifyLinkTokenView, authenticatedButtons, i18next as i18n, init$1 as initButtons, init as initContentEntitlement, invoicePaymentSubmitButton, notify$1 as notify, unauthenticatedButtons, usePelcro };
|