@justifi/webcomponents 6.12.1 → 6.12.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/cjs/{Analytics-BhduX1FR.js → Analytics-C1Wd9OW4.js} +2 -2
- package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
- package/dist/cjs/card-form.cjs.entry.js +2 -2
- package/dist/cjs/{check-pkg-version-Bd2yxoh4.js → check-pkg-version-DMXmPDqZ.js} +1 -1
- package/dist/cjs/hidden-input_2.cjs.entry.js +1 -1
- package/dist/cjs/justifi-apple-pay_11.cjs.entry.js +74 -36
- package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +3 -3
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +3 -3
- package/dist/cjs/justifi-business-details.cjs.entry.js +3 -3
- package/dist/cjs/justifi-business-form.cjs.entry.js +3 -3
- package/dist/cjs/justifi-card-form.cjs.entry.js +3 -3
- package/dist/cjs/justifi-checkout.cjs.entry.js +5 -6
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +3 -3
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +3 -3
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +3 -3
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payment-details.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +6 -4
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payments-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payout-details.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +3 -3
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +3 -3
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +3 -3
- package/dist/cjs/{package-CjFkmEML.js → package-CRaVpb0w.js} +1 -1
- package/dist/collection/api/Analytics.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/justifi-payment-provisioning.js +3 -1
- package/dist/collection/components/checkout/justifi-checkout.js +2 -3
- package/dist/collection/components/modular-checkout/sub-components/justifi-apple-pay.js +34 -14
- package/dist/collection/components/modular-checkout/sub-components/justifi-google-pay.js +4 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-plaid-payment-method.js +27 -14
- package/dist/collection/components/modular-checkout/sub-components/justifi-saved-payment-methods.js +7 -5
- package/dist/docs.json +1 -1
- package/dist/esm/{Analytics-4PEV3c9V.js → Analytics-qafLCOEU.js} +2 -2
- package/dist/esm/bank-account-form.entry.js +2 -2
- package/dist/esm/card-form.entry.js +2 -2
- package/dist/esm/{check-pkg-version-BmgaID9z.js → check-pkg-version-BJtCbzf9.js} +1 -1
- package/dist/esm/hidden-input_2.entry.js +1 -1
- package/dist/esm/justifi-apple-pay_11.entry.js +75 -37
- package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +3 -3
- package/dist/esm/justifi-bank-account-form.entry.js +3 -3
- package/dist/esm/justifi-business-details.entry.js +3 -3
- package/dist/esm/justifi-business-form.entry.js +3 -3
- package/dist/esm/justifi-card-form.entry.js +3 -3
- package/dist/esm/justifi-checkout.entry.js +5 -6
- package/dist/esm/justifi-checkouts-list.entry.js +3 -3
- package/dist/esm/justifi-dispute-management.entry.js +3 -3
- package/dist/esm/justifi-dispute-notification_3.entry.js +3 -3
- package/dist/esm/justifi-gross-payment-chart.entry.js +3 -3
- package/dist/esm/justifi-order-terminals.entry.js +3 -3
- package/dist/esm/justifi-payment-details.entry.js +3 -3
- package/dist/esm/justifi-payment-provisioning.entry.js +6 -4
- package/dist/esm/justifi-payment-transactions-list.entry.js +3 -3
- package/dist/esm/justifi-payments-list.entry.js +3 -3
- package/dist/esm/justifi-payout-details.entry.js +3 -3
- package/dist/esm/justifi-payout-transactions-list.entry.js +3 -3
- package/dist/esm/justifi-payouts-list.entry.js +3 -3
- package/dist/esm/justifi-refund-payment.entry.js +3 -3
- package/dist/esm/justifi-season-interruption-insurance.entry.js +3 -3
- package/dist/esm/justifi-terminal-orders-list.entry.js +3 -3
- package/dist/esm/justifi-terminals-list.entry.js +3 -3
- package/dist/esm/{package-CXKOe1m5.js → package-BCgsLInF.js} +1 -1
- package/dist/module/Analytics.js +1 -1
- package/dist/module/justifi-apple-pay2.js +34 -14
- package/dist/module/justifi-checkout.js +2 -3
- package/dist/module/justifi-google-pay2.js +4 -1
- package/dist/module/justifi-payment-provisioning.js +3 -1
- package/dist/module/justifi-plaid-payment-method2.js +27 -14
- package/dist/module/justifi-saved-payment-methods2.js +7 -5
- package/dist/module/package.js +1 -1
- package/dist/types/components/business-forms/payment-provisioning/justifi-payment-provisioning.d.ts +1 -1
- package/dist/types/components/modular-checkout/sub-components/justifi-apple-pay.d.ts +3 -0
- package/dist/types/components/modular-checkout/sub-components/justifi-plaid-payment-method.d.ts +2 -2
- package/dist/webcomponents/{p-017edf85.entry.js → p-06ecd4cb.entry.js} +1 -1
- package/dist/webcomponents/{p-b6d59ff4.entry.js → p-164f95ec.entry.js} +1 -1
- package/dist/webcomponents/p-174eb877.entry.js +1 -0
- package/dist/webcomponents/{p-9870fff0.entry.js → p-1e0be7b0.entry.js} +1 -1
- package/dist/webcomponents/p-39cc6928.entry.js +1 -0
- package/dist/webcomponents/p-4226eb4a.entry.js +1 -0
- package/dist/webcomponents/{p-b8c59954.entry.js → p-474ee3f8.entry.js} +1 -1
- package/dist/webcomponents/p-485b77ba.entry.js +1 -0
- package/dist/webcomponents/{p-0e9cb724.entry.js → p-581808f0.entry.js} +1 -1
- package/dist/webcomponents/{p-259ea5e0.entry.js → p-79713014.entry.js} +1 -1
- package/dist/webcomponents/{p-608a41d2.entry.js → p-798f4708.entry.js} +1 -1
- package/dist/webcomponents/{p-4f57368a.entry.js → p-7f0f72c6.entry.js} +1 -1
- package/dist/webcomponents/{p-1e080e95.entry.js → p-7f814609.entry.js} +1 -1
- package/dist/webcomponents/{p-61ebdd8b.entry.js → p-870fac9e.entry.js} +1 -1
- package/dist/webcomponents/{p-cd267d76.entry.js → p-956eca2e.entry.js} +1 -1
- package/dist/webcomponents/p-BCgsLInF.js +1 -0
- package/dist/webcomponents/{p-GP5gWjhc.js → p-BJ7GFTiW.js} +1 -1
- package/dist/webcomponents/{p-cXPhRFs-.js → p-BnaR7f2G.js} +1 -1
- package/dist/webcomponents/{p-b76b743e.entry.js → p-a80d958d.entry.js} +1 -1
- package/dist/webcomponents/{p-f4b390bc.entry.js → p-b2447726.entry.js} +1 -1
- package/dist/webcomponents/{p-f481695c.entry.js → p-c73631f0.entry.js} +1 -1
- package/dist/webcomponents/{p-d3829e18.entry.js → p-c8f7ebf6.entry.js} +1 -1
- package/dist/webcomponents/{p-1e66d430.entry.js → p-d7633e10.entry.js} +1 -1
- package/dist/webcomponents/{p-87a4b33f.entry.js → p-da882bd1.entry.js} +1 -1
- package/dist/webcomponents/{p-647668b6.entry.js → p-dd1cfb9e.entry.js} +1 -1
- package/dist/webcomponents/{p-06e88d51.entry.js → p-de836ec9.entry.js} +1 -1
- package/dist/webcomponents/{p-2b25c768.entry.js → p-f24563ab.entry.js} +1 -1
- package/dist/webcomponents/p-f4aeda71.entry.js +1 -0
- package/dist/webcomponents/{p-ed580b3c.entry.js → p-faa090a5.entry.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/webcomponents/p-11faee45.entry.js +0 -1
- package/dist/webcomponents/p-238163d8.entry.js +0 -1
- package/dist/webcomponents/p-CXKOe1m5.js +0 -1
- package/dist/webcomponents/p-cf31ccdd.entry.js +0 -1
- package/dist/webcomponents/p-d58a330d.entry.js +0 -1
- package/dist/webcomponents/p-f91c49a2.entry.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var _package = require('./package-
|
|
3
|
+
var _package = require('./package-CRaVpb0w.js');
|
|
4
4
|
var Api = require('./Api-Bukk55YZ.js');
|
|
5
5
|
require('./Plaid-BlSGeGpn.js');
|
|
6
6
|
require('./Pagination-Dediz133.js');
|
|
@@ -65,7 +65,7 @@ class JustifiAnalytics {
|
|
|
65
65
|
if (typeof this.componentInstance.addEventListener === 'function') {
|
|
66
66
|
const boundHandler = (event) => this.handleCustomEvent({
|
|
67
67
|
event_type: eventName,
|
|
68
|
-
data: Object.assign(Object.assign({}, this.basicData), { error: event.detail }),
|
|
68
|
+
data: Object.assign(Object.assign({}, this.basicData), (eventName === 'error-event' && { error: event.detail })),
|
|
69
69
|
});
|
|
70
70
|
this.eventListeners.set(eventName, boundHandler);
|
|
71
71
|
this.componentInstance.addEventListener(eventName, boundHandler);
|
|
@@ -4,11 +4,11 @@ var index = require('./index-p7cvUYAE.js');
|
|
|
4
4
|
var skeleton = require('./skeleton-DvRCiQlA.js');
|
|
5
5
|
var configState = require('./config-state-BIgGhhe9.js');
|
|
6
6
|
var utils = require('./utils-BHi4j5rB.js');
|
|
7
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
7
|
+
var checkPkgVersion = require('./check-pkg-version-DMXmPDqZ.js');
|
|
8
8
|
require('./parts-BXshb_S-.js');
|
|
9
9
|
require('./index-W-zoNiyM.js');
|
|
10
10
|
require('./dinero-BwNN_k7x.js');
|
|
11
|
-
require('./package-
|
|
11
|
+
require('./package-CRaVpb0w.js');
|
|
12
12
|
|
|
13
13
|
const BankAccountFormSkeleton = (props) => {
|
|
14
14
|
const { isReady } = props;
|
|
@@ -4,11 +4,11 @@ var index = require('./index-p7cvUYAE.js');
|
|
|
4
4
|
var skeleton = require('./skeleton-DvRCiQlA.js');
|
|
5
5
|
var configState = require('./config-state-BIgGhhe9.js');
|
|
6
6
|
var utils = require('./utils-BHi4j5rB.js');
|
|
7
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
7
|
+
var checkPkgVersion = require('./check-pkg-version-DMXmPDqZ.js');
|
|
8
8
|
require('./parts-BXshb_S-.js');
|
|
9
9
|
require('./index-W-zoNiyM.js');
|
|
10
10
|
require('./dinero-BwNN_k7x.js');
|
|
11
|
-
require('./package-
|
|
11
|
+
require('./package-CRaVpb0w.js');
|
|
12
12
|
|
|
13
13
|
const CardFormSkeleton = (props) => {
|
|
14
14
|
const { isReady } = props;
|
|
@@ -5,7 +5,7 @@ var index = require('./index-W-zoNiyM.js');
|
|
|
5
5
|
var parts = require('./parts-BXshb_S-.js');
|
|
6
6
|
var _commonjsHelpers = require('./_commonjsHelpers-BJu3ubxk.js');
|
|
7
7
|
var formControlErrorText = require('./form-control-error-text-BO58Y6zF.js');
|
|
8
|
-
var _package = require('./package-
|
|
8
|
+
var _package = require('./package-CRaVpb0w.js');
|
|
9
9
|
|
|
10
10
|
const iframeInputStylesStore = index.createStore({
|
|
11
11
|
focused: {
|
|
@@ -13,8 +13,8 @@ var configState = require('./config-state-BIgGhhe9.js');
|
|
|
13
13
|
var header1 = require('./header-1-CsBQoo1f.js');
|
|
14
14
|
var insuranceState = require('./insurance-state-Xe2auE-N.js');
|
|
15
15
|
var header3 = require('./header-3-DCYJhPro.js');
|
|
16
|
-
var Analytics = require('./Analytics-
|
|
17
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
16
|
+
var Analytics = require('./Analytics-C1Wd9OW4.js');
|
|
17
|
+
var checkPkgVersion = require('./check-pkg-version-DMXmPDqZ.js');
|
|
18
18
|
require('./dinero-BwNN_k7x.js');
|
|
19
19
|
require('./Pagination-Dediz133.js');
|
|
20
20
|
require('./Business-oBifyXkW.js');
|
|
@@ -25,7 +25,7 @@ var plaid_service = require('./plaid.service-BcgO2VXC.js');
|
|
|
25
25
|
var index$1 = require('./index-CajjbB9t.js');
|
|
26
26
|
var paymentMethodOptionUtils = require('./payment-method-option-utils-WYHIHy-l.js');
|
|
27
27
|
require('./index-W-zoNiyM.js');
|
|
28
|
-
require('./package-
|
|
28
|
+
require('./package-CRaVpb0w.js');
|
|
29
29
|
|
|
30
30
|
const JustifiRadioListItem = class {
|
|
31
31
|
constructor(hostRef) {
|
|
@@ -539,6 +539,7 @@ const JustifiApplePay = class {
|
|
|
539
539
|
this.applePayCompleted = index.createEvent(this, "applePayCompleted", 7);
|
|
540
540
|
this.applePayCancelled = index.createEvent(this, "applePayCancelled", 7);
|
|
541
541
|
this.applePayError = index.createEvent(this, "applePayError", 7);
|
|
542
|
+
this.sdkLoaded = false;
|
|
542
543
|
this.countryCode = "US";
|
|
543
544
|
this.merchantIdentifier = "merchant.com.staging-justifi.checkout-dev";
|
|
544
545
|
this.merchantDisplayName = "JustiFi Checkout";
|
|
@@ -613,6 +614,32 @@ const JustifiApplePay = class {
|
|
|
613
614
|
}
|
|
614
615
|
};
|
|
615
616
|
}
|
|
617
|
+
componentWillLoad() {
|
|
618
|
+
this.isAvailable = Plaid.ApplePayHelpers.isApplePaySupported();
|
|
619
|
+
if (!this.isAvailable) {
|
|
620
|
+
this.isLoading = false;
|
|
621
|
+
return;
|
|
622
|
+
}
|
|
623
|
+
if (checkout_store.checkoutStore.checkoutLoaded) {
|
|
624
|
+
this.loadApplePaySDK();
|
|
625
|
+
}
|
|
626
|
+
else {
|
|
627
|
+
checkout_store.onChange('checkoutLoaded', (loaded) => {
|
|
628
|
+
if (loaded)
|
|
629
|
+
this.loadApplePaySDK();
|
|
630
|
+
});
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
loadApplePaySDK() {
|
|
634
|
+
if (this.sdkLoaded)
|
|
635
|
+
return;
|
|
636
|
+
this.sdkLoaded = true;
|
|
637
|
+
const script = document.createElement('script');
|
|
638
|
+
script.src = 'https://applepay.cdn-apple.com/jsapi/1.latest/apple-pay-sdk.js';
|
|
639
|
+
script.async = true;
|
|
640
|
+
script.onload = () => this.initializeApplePay();
|
|
641
|
+
document.head.appendChild(script);
|
|
642
|
+
}
|
|
616
643
|
async initializeApplePay() {
|
|
617
644
|
try {
|
|
618
645
|
this.isLoading = true;
|
|
@@ -624,12 +651,6 @@ const JustifiApplePay = class {
|
|
|
624
651
|
if (!hasRequiredConfig) {
|
|
625
652
|
this.error = "Missing required Apple Pay configuration";
|
|
626
653
|
this.isConfigValid = false;
|
|
627
|
-
console.error("Apple Pay config error: missing required values", {
|
|
628
|
-
paymentAmount: checkout_store.checkoutStore.paymentAmount,
|
|
629
|
-
paymentCurrency: checkout_store.checkoutStore.paymentCurrency,
|
|
630
|
-
hasAuthToken: Boolean(checkout_store.checkoutStore.authToken),
|
|
631
|
-
accountId: checkout_store.checkoutStore.accountId,
|
|
632
|
-
});
|
|
633
654
|
this.applePayError.emit({ error: this.error, code: JustifiApplePay.ErrorCode.CONFIG_ERROR });
|
|
634
655
|
this.isLoading = false;
|
|
635
656
|
return;
|
|
@@ -638,14 +659,12 @@ const JustifiApplePay = class {
|
|
|
638
659
|
this.canMakePayments = Plaid.ApplePayHelpers.canMakePayments();
|
|
639
660
|
if (!this.isAvailable) {
|
|
640
661
|
this.error = "Apple Pay is not supported on this device";
|
|
641
|
-
console.error(this.error);
|
|
642
662
|
this.applePayError.emit({ error: this.error, code: JustifiApplePay.ErrorCode.NOT_SUPPORTED });
|
|
643
663
|
this.isLoading = false;
|
|
644
664
|
return;
|
|
645
665
|
}
|
|
646
666
|
if (!this.canMakePayments) {
|
|
647
667
|
this.error = "Apple Pay is not available";
|
|
648
|
-
console.error(this.error);
|
|
649
668
|
this.applePayError.emit({ error: this.error, code: JustifiApplePay.ErrorCode.NOT_AVAILABLE });
|
|
650
669
|
this.isLoading = false;
|
|
651
670
|
return;
|
|
@@ -666,7 +685,6 @@ const JustifiApplePay = class {
|
|
|
666
685
|
}
|
|
667
686
|
}
|
|
668
687
|
catch (error) {
|
|
669
|
-
console.error("Apple Pay initialization error:", error);
|
|
670
688
|
this.error =
|
|
671
689
|
error instanceof Error
|
|
672
690
|
? error.message
|
|
@@ -687,7 +705,8 @@ const JustifiApplePay = class {
|
|
|
687
705
|
return Plaid.ApplePayHelpers.getDefaultSupportedNetworks();
|
|
688
706
|
}
|
|
689
707
|
async abort() {
|
|
690
|
-
|
|
708
|
+
var _a;
|
|
709
|
+
(_a = this.applePayService) === null || _a === void 0 ? void 0 : _a.abortPaymentSession();
|
|
691
710
|
this.isProcessing = false;
|
|
692
711
|
this.applePayCancelled.emit();
|
|
693
712
|
}
|
|
@@ -696,13 +715,14 @@ const JustifiApplePay = class {
|
|
|
696
715
|
// Render nothing when Apple Pay is disabled at the checkout settings level
|
|
697
716
|
return null;
|
|
698
717
|
}
|
|
718
|
+
if (!this.isAvailable) {
|
|
719
|
+
return null;
|
|
720
|
+
}
|
|
699
721
|
const isReady = !this.isLoading &&
|
|
700
722
|
this.isAvailable &&
|
|
701
723
|
this.canMakePayments &&
|
|
702
724
|
this.isConfigValid;
|
|
703
|
-
return (index.h(styledHost.StyledHost, null,
|
|
704
|
-
this.initializeApplePay();
|
|
705
|
-
} })), index.h("div", { class: 'apple-pay-container' }, index.h(ApplePaySkeleton, { isLoading: this.isLoading }), isReady && (index.h(ApplePayButton, { buttonType: this.buttonType, buttonStyle: this.buttonStyle, disabled: this.disabled, isProcessing: this.isProcessing, isAvailable: this.isAvailable, clickHandler: this.handleApplePayClick, width: this.width, height: this.height }))), index.h("style", null, `
|
|
725
|
+
return (index.h(styledHost.StyledHost, null, index.h("div", { class: 'apple-pay-container' }, index.h(ApplePaySkeleton, { isLoading: this.isLoading }), isReady && (index.h(ApplePayButton, { buttonType: this.buttonType, buttonStyle: this.buttonStyle, disabled: this.disabled, isProcessing: this.isProcessing, isAvailable: this.isAvailable, clickHandler: this.handleApplePayClick, width: this.width, height: this.height }))), index.h("style", null, `
|
|
706
726
|
.apple-pay-container {
|
|
707
727
|
width: 100%;
|
|
708
728
|
}
|
|
@@ -854,11 +874,14 @@ const JustifiGooglePay = class {
|
|
|
854
874
|
}, this.iframeOrigin);
|
|
855
875
|
}
|
|
856
876
|
render() {
|
|
877
|
+
if (!checkout_store.checkoutStore.checkoutLoaded) {
|
|
878
|
+
return null;
|
|
879
|
+
}
|
|
857
880
|
if (!checkout_store.checkoutStore.googlePayEnabled) {
|
|
858
881
|
console.warn("Google Pay is not enabled for this checkout");
|
|
859
882
|
return null;
|
|
860
883
|
}
|
|
861
|
-
return (index.h(index.Host, null, index.h(GooglePaySkeleton, { isLoading: !this.isReadyToPay }), index.h("iframe", { ref: (el) => (this.iframeElement = el), src: `${this.iframeOrigin}/v2/googlePay`, style: {
|
|
884
|
+
return (index.h(index.Host, null, index.h(GooglePaySkeleton, { isLoading: !this.isReadyToPay }), index.h("iframe", { ref: (el) => (this.iframeElement = el), src: `${this.iframeOrigin}/v2/googlePay`, allow: "payment", style: {
|
|
862
885
|
border: "none",
|
|
863
886
|
width: "100%",
|
|
864
887
|
height: "48px",
|
|
@@ -1402,6 +1425,7 @@ const JustifiPlaidPaymentMethod = class {
|
|
|
1402
1425
|
this.isSelected = false;
|
|
1403
1426
|
this.retryCount = 0;
|
|
1404
1427
|
this.isRetrying = false;
|
|
1428
|
+
this.sdkLoaded = false;
|
|
1405
1429
|
this.plaidService = new plaid_service.PlaidService();
|
|
1406
1430
|
this.maxRetries = 3;
|
|
1407
1431
|
this.retryDelay = 2000; // 2 seconds
|
|
@@ -1748,15 +1772,31 @@ const JustifiPlaidPaymentMethod = class {
|
|
|
1748
1772
|
this.openPlaidLink();
|
|
1749
1773
|
}
|
|
1750
1774
|
}
|
|
1751
|
-
|
|
1752
|
-
|
|
1775
|
+
componentWillLoad() {
|
|
1776
|
+
var _a;
|
|
1777
|
+
this.isSelected = ((_a = checkout_store.checkoutStore.selectedPaymentMethod) === null || _a === void 0 ? void 0 : _a.type) === index$1.PAYMENT_METHODS.PLAID;
|
|
1778
|
+
if (checkout_store.checkoutStore.bankAccountVerification !== true)
|
|
1753
1779
|
return;
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1780
|
+
if (checkout_store.checkoutStore.checkoutLoaded) {
|
|
1781
|
+
this.loadPlaidSDK();
|
|
1782
|
+
}
|
|
1783
|
+
else {
|
|
1784
|
+
checkout_store.onChange('checkoutLoaded', (loaded) => {
|
|
1785
|
+
if (loaded && checkout_store.checkoutStore.bankAccountVerification === true) {
|
|
1786
|
+
this.loadPlaidSDK();
|
|
1787
|
+
}
|
|
1788
|
+
});
|
|
1789
|
+
}
|
|
1790
|
+
}
|
|
1791
|
+
loadPlaidSDK() {
|
|
1792
|
+
if (this.sdkLoaded)
|
|
1793
|
+
return;
|
|
1794
|
+
this.sdkLoaded = true;
|
|
1795
|
+
const script = document.createElement('script');
|
|
1796
|
+
script.src = 'https://cdn.plaid.com/link/v2/stable/link-initialize.js';
|
|
1797
|
+
script.async = true;
|
|
1798
|
+
script.onload = () => this.initializePlaidLink();
|
|
1799
|
+
script.onerror = () => {
|
|
1760
1800
|
this.handleError({
|
|
1761
1801
|
code: Plaid.PlaidErrorCodes.PLAID_SDK_LOAD_FAILED,
|
|
1762
1802
|
message: Plaid.PLAID_ERROR_MESSAGES[Plaid.PlaidErrorCodes.PLAID_SDK_LOAD_FAILED],
|
|
@@ -1765,11 +1805,7 @@ const JustifiPlaidPaymentMethod = class {
|
|
|
1765
1805
|
userAction: 'Refresh the page and try again'
|
|
1766
1806
|
});
|
|
1767
1807
|
};
|
|
1768
|
-
|
|
1769
|
-
componentWillLoad() {
|
|
1770
|
-
var _a;
|
|
1771
|
-
// Initialize selection state based on store
|
|
1772
|
-
this.isSelected = ((_a = checkout_store.checkoutStore.selectedPaymentMethod) === null || _a === void 0 ? void 0 : _a.type) === index$1.PAYMENT_METHODS.PLAID;
|
|
1808
|
+
document.head.appendChild(script);
|
|
1773
1809
|
}
|
|
1774
1810
|
async resolvePaymentMethod() {
|
|
1775
1811
|
if (!this.publicToken) {
|
|
@@ -1915,7 +1951,7 @@ const JustifiPlaidPaymentMethod = class {
|
|
|
1915
1951
|
}
|
|
1916
1952
|
return null;
|
|
1917
1953
|
};
|
|
1918
|
-
return (index.h(styledHost.StyledHost, { class: "payment-method" }, index.h("
|
|
1954
|
+
return (index.h(styledHost.StyledHost, { class: "payment-method" }, index.h("div", { title: "Pay with Plaid" }, index.h("div", { onClick: (event) => { event.preventDefault(); this.handleSelectionClick(); } }, "Pay with Bank Account ", plaidLogo, " "), renderErrorState(), renderStatusState())));
|
|
1919
1955
|
}
|
|
1920
1956
|
static get watchers() { return {
|
|
1921
1957
|
"isSelected": ["onSelectionChange"]
|
|
@@ -1943,11 +1979,13 @@ const JustifiSavedPaymentMethods = class {
|
|
|
1943
1979
|
};
|
|
1944
1980
|
}
|
|
1945
1981
|
componentWillLoad() {
|
|
1946
|
-
if (
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1982
|
+
if (checkout_store.checkoutStore.checkoutLoaded) {
|
|
1983
|
+
if (!checkout_store.checkoutStore.paymentMethods.length) {
|
|
1984
|
+
console.warn('No saved payment methods available.');
|
|
1985
|
+
}
|
|
1986
|
+
if (checkout_store.checkoutStore.disablePaymentMethodGroup) {
|
|
1987
|
+
console.warn('Payment method group is disabled.');
|
|
1988
|
+
}
|
|
1951
1989
|
}
|
|
1952
1990
|
}
|
|
1953
1991
|
render() {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
|
-
var Analytics = require('./Analytics-
|
|
5
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
4
|
+
var Analytics = require('./Analytics-C1Wd9OW4.js');
|
|
5
|
+
var checkPkgVersion = require('./check-pkg-version-DMXmPDqZ.js');
|
|
6
6
|
var configState = require('./config-state-BIgGhhe9.js');
|
|
7
7
|
var styledHost = require('./styled-host-DAi5SuFa.js');
|
|
8
8
|
require('./event-types-YOY5TKUN.js');
|
|
9
|
-
require('./package-
|
|
9
|
+
require('./package-CRaVpb0w.js');
|
|
10
10
|
require('./Api-Bukk55YZ.js');
|
|
11
11
|
require('./utils-BHi4j5rB.js');
|
|
12
12
|
require('./dinero-BwNN_k7x.js');
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
5
|
-
var Analytics = require('./Analytics-
|
|
4
|
+
var checkPkgVersion = require('./check-pkg-version-DMXmPDqZ.js');
|
|
5
|
+
var Analytics = require('./Analytics-C1Wd9OW4.js');
|
|
6
6
|
var configState = require('./config-state-BIgGhhe9.js');
|
|
7
7
|
var styledHost = require('./styled-host-DAi5SuFa.js');
|
|
8
8
|
require('./event-types-YOY5TKUN.js');
|
|
9
|
-
require('./package-
|
|
9
|
+
require('./package-CRaVpb0w.js');
|
|
10
10
|
require('./Api-Bukk55YZ.js');
|
|
11
11
|
require('./utils-BHi4j5rB.js');
|
|
12
12
|
require('./dinero-BwNN_k7x.js');
|
|
@@ -5,8 +5,8 @@ var utils = require('./utils-8RGQVADu.js');
|
|
|
5
5
|
var business_service = require('./business.service-BheJs82v.js');
|
|
6
6
|
var getBusiness = require('./get-business-CKC1P4Qs.js');
|
|
7
7
|
var Plaid = require('./Plaid-BlSGeGpn.js');
|
|
8
|
-
var Analytics = require('./Analytics-
|
|
9
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
8
|
+
var Analytics = require('./Analytics-C1Wd9OW4.js');
|
|
9
|
+
var checkPkgVersion = require('./check-pkg-version-DMXmPDqZ.js');
|
|
10
10
|
var styledHost = require('./styled-host-DAi5SuFa.js');
|
|
11
11
|
require('./event-types-YOY5TKUN.js');
|
|
12
12
|
var skeleton = require('./skeleton-DvRCiQlA.js');
|
|
@@ -20,7 +20,7 @@ require('./Pagination-Dediz133.js');
|
|
|
20
20
|
require('./Business-oBifyXkW.js');
|
|
21
21
|
require('./Dispute-CruQTF6_.js');
|
|
22
22
|
require('./utils-DbTucCTO.js');
|
|
23
|
-
require('./package-
|
|
23
|
+
require('./package-CRaVpb0w.js');
|
|
24
24
|
|
|
25
25
|
const BusinessDetailsLoading = () => {
|
|
26
26
|
const Block = () => (index.h("div", { class: "mt-5" }, index.h(skeleton.Skeleton, { width: "40%", height: "1.5rem" }), index.h("hr", null), index.h("div", { class: "row g-3" }, index.h("div", { class: "col-12 col-md-6" }, index.h(skeleton.Skeleton, null), index.h(skeleton.Skeleton, null), index.h(skeleton.Skeleton, null)), index.h("div", { class: "col-12 col-md-6" }, index.h(skeleton.Skeleton, null), index.h(skeleton.Skeleton, null), index.h(skeleton.Skeleton, null)))));
|
|
@@ -10,12 +10,12 @@ var Plaid = require('./Plaid-BlSGeGpn.js');
|
|
|
10
10
|
require('./Pagination-Dediz133.js');
|
|
11
11
|
var Business = require('./Business-oBifyXkW.js');
|
|
12
12
|
require('./Dispute-CruQTF6_.js');
|
|
13
|
-
var Analytics = require('./Analytics-
|
|
13
|
+
var Analytics = require('./Analytics-C1Wd9OW4.js');
|
|
14
14
|
var button = require('./button-CR9Rl1-o.js');
|
|
15
15
|
var styledHost = require('./styled-host-DAi5SuFa.js');
|
|
16
16
|
var header1 = require('./header-1-CsBQoo1f.js');
|
|
17
17
|
require('./event-types-YOY5TKUN.js');
|
|
18
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
18
|
+
var checkPkgVersion = require('./check-pkg-version-DMXmPDqZ.js');
|
|
19
19
|
var skeleton = require('./skeleton-DvRCiQlA.js');
|
|
20
20
|
var eventTypes = require('./event-types-DNOUef41.js');
|
|
21
21
|
var paymentProvisioningActions = require('./payment-provisioning-actions-BO7dzIm1.js');
|
|
@@ -26,7 +26,7 @@ require('./country-config-D7fss2oF.js');
|
|
|
26
26
|
require('./business-form-options-D_nM7NDk.js');
|
|
27
27
|
require('./index-W-zoNiyM.js');
|
|
28
28
|
require('./utils-BHi4j5rB.js');
|
|
29
|
-
require('./package-
|
|
29
|
+
require('./package-CRaVpb0w.js');
|
|
30
30
|
require('./Api-Bukk55YZ.js');
|
|
31
31
|
require('./parts-BXshb_S-.js');
|
|
32
32
|
require('./utils-DbTucCTO.js');
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
|
-
var Analytics = require('./Analytics-
|
|
5
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
4
|
+
var Analytics = require('./Analytics-C1Wd9OW4.js');
|
|
5
|
+
var checkPkgVersion = require('./check-pkg-version-DMXmPDqZ.js');
|
|
6
6
|
var configState = require('./config-state-BIgGhhe9.js');
|
|
7
7
|
var styledHost = require('./styled-host-DAi5SuFa.js');
|
|
8
8
|
require('./event-types-YOY5TKUN.js');
|
|
9
|
-
require('./package-
|
|
9
|
+
require('./package-CRaVpb0w.js');
|
|
10
10
|
require('./Api-Bukk55YZ.js');
|
|
11
11
|
require('./utils-BHi4j5rB.js');
|
|
12
12
|
require('./dinero-BwNN_k7x.js');
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
|
-
var Analytics = require('./Analytics-
|
|
5
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
4
|
+
var Analytics = require('./Analytics-C1Wd9OW4.js');
|
|
5
|
+
var checkPkgVersion = require('./check-pkg-version-DMXmPDqZ.js');
|
|
6
6
|
var checkout_store = require('./checkout.store-CztwuCnG.js');
|
|
7
7
|
var parts = require('./parts-BXshb_S-.js');
|
|
8
8
|
var styledHost = require('./styled-host-DAi5SuFa.js');
|
|
9
9
|
require('./event-types-YOY5TKUN.js');
|
|
10
10
|
var index$1 = require('./index-CajjbB9t.js');
|
|
11
|
-
require('./package-
|
|
11
|
+
require('./package-CRaVpb0w.js');
|
|
12
12
|
require('./Api-Bukk55YZ.js');
|
|
13
13
|
require('./config-state-BIgGhhe9.js');
|
|
14
14
|
require('./index-W-zoNiyM.js');
|
|
@@ -55,7 +55,6 @@ const JustifiCheckout = class {
|
|
|
55
55
|
checkout_store.checkoutStore.isSubmitting = false;
|
|
56
56
|
}
|
|
57
57
|
checkoutError(_event) {
|
|
58
|
-
console.error('[justifi-checkout] error-event received', _event === null || _event === void 0 ? void 0 : _event.detail);
|
|
59
58
|
checkout_store.checkoutStore.isSubmitting = false;
|
|
60
59
|
}
|
|
61
60
|
checkoutChanged(event) {
|
|
@@ -90,9 +89,9 @@ const JustifiCheckout = class {
|
|
|
90
89
|
}
|
|
91
90
|
render() {
|
|
92
91
|
var _a, _b;
|
|
93
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
92
|
+
return (index.h(styledHost.StyledHost, { key: 'ffd2abaacc7edae588a9abe3a4ff96807b34fcff' }, index.h("justifi-modular-checkout", { key: '9196c278e24353aeb1ac02c85253d629f683522b', ref: (el) => {
|
|
94
93
|
this.modularCheckoutRef = el;
|
|
95
|
-
}, authToken: this.authToken, checkoutId: this.checkoutId, preCompleteHook: this.preCompleteHook }, index.h("div", { key: '
|
|
94
|
+
}, authToken: this.authToken, checkoutId: this.checkoutId, preCompleteHook: this.preCompleteHook }, index.h("div", { key: '895298286bc0aa6acbda896a4f148dd4f8d7e7d2', class: "row gy-3 jfi-checkout-core" }, index.h("div", { key: 'dd186ed2f0fd479cd60024423b6d55625b962e55', class: "col-12", part: parts.checkoutSummary }, index.h("justifi-header", { key: '920d4eca26846aa1cbc16693fa45a9d8054d95a7', text: "Summary", level: "h2", class: "fs-5 fw-bold pb-3" }), index.h("section", { key: '560f8c3757a7cf53fd0aa898fd243b16a2f8e8d5' }, index.h("justifi-checkout-summary", { key: '31faa6ca984aa22985927a1f80273c86a67c7025' }))), index.h("div", { key: '3128ae40a739573da32598213a289d8751503fb0', class: "col-12 mt-4" }, index.h("slot", { key: '4a310881bbc4017734082d5c4f6b41d3d5f2a424', name: "insurance" })), index.h("div", { key: '8047c4da62e2fd67bd0b3f8654c6a19c0cacc255', class: "col-12 mt-4" }, index.h("justifi-header", { key: '631ff14201f6246906e3e1572515de21a7977773', text: "Payment", level: "h2", class: "fs-5 fw-bold pb-3" }), this.showPaymentTypeHeader && (index.h("justifi-header", { key: '7fdc560ef42a5c2e8571f332e3c4ce8ff460d235', text: "Select payment type", level: "h3", class: "fs-6 fw-bold lh-lg" })), index.h("div", { key: '81dcb52c051044adb4dbd92ac73ee3096edc592b', class: "d-flex flex-column" }, index.h("section", { key: '4359903b195009a2e8fb997a1f77880cba40dea4' }, index.h("div", { key: '21728867e6288c3fb7d5e5a6ee3d15974568b866' }, this.availablePaymentMethods.includes(index$1.PAYMENT_METHODS.APPLE_PAY) && (index.h("div", { key: 'bdaa6b6c6d09cba294b2e46b85270241c86d2251', class: "mb-3" }, index.h("justifi-apple-pay", { key: '150d707bff7b79a1d19141f21a9c47e00e54418a' }))), this.availablePaymentMethods.includes(index$1.PAYMENT_METHODS.GOOGLE_PAY) && (index.h("div", { key: 'ce2be06b20a1e7d0159fde68a1c5c349c2d11998', class: "mb-3" }, index.h("justifi-google-pay", { key: '0fc867ce77467eb1f1fd198a62e88bd2795f4914', ref: (el) => (this.googlePayRef = el) }))), index.h("justifi-saved-payment-methods", { key: '0bb1999c093b3837bfdb879134dc54f66c90e164' }), this.availablePaymentMethods.includes(index$1.PAYMENT_METHODS.SEZZLE) && (index.h("justifi-radio-list-item", { key: '1599be9bcea7569d822a204c805f08f18a4e00a4', name: "paymentMethodType", value: index$1.PAYMENT_METHODS.SEZZLE, checked: ((_a = checkout_store.checkoutStore === null || checkout_store.checkoutStore === void 0 ? void 0 : checkout_store.checkoutStore.selectedPaymentMethod) === null || _a === void 0 ? void 0 : _a.type) === index$1.PAYMENT_METHODS.SEZZLE, label: index.h("justifi-sezzle-payment-method", { ref: (el) => (this.sezzlePaymentMethodRef = el) }), "onRadio-click": () => { var _a; (_a = this.sezzlePaymentMethodRef) === null || _a === void 0 ? void 0 : _a.handleSelectionClick(); } })), this.availablePaymentMethods.includes(index$1.PAYMENT_METHODS.PLAID) && !this.disableBnpl && (index.h("justifi-radio-list-item", { key: 'c1de230257d290efa05f7a7166c2f069451c71a3', name: "paymentMethodType", value: index$1.PAYMENT_METHODS.PLAID, checked: ((_b = checkout_store.checkoutStore === null || checkout_store.checkoutStore === void 0 ? void 0 : checkout_store.checkoutStore.selectedPaymentMethod) === null || _b === void 0 ? void 0 : _b.type) === index$1.PAYMENT_METHODS.PLAID, label: index.h("justifi-plaid-payment-method", { ref: (el) => (this.plaidPaymentMethodRef = el) }), "onRadio-click": () => { var _a; (_a = this.plaidPaymentMethodRef) === null || _a === void 0 ? void 0 : _a.handleSelectionClick(); } })), index.h("justifi-tokenize-payment-method", { key: '44bca4ee57857afd4eee213cef98db2d4bd42490', ref: (el) => (this.tokenizePaymentMethodRef = el), authToken: this.authToken, accountId: checkout_store.checkoutStore.accountId, disableCreditCard: this.disableCreditCard, disableBankAccount: this.disableBankAccount, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, hideSubmitButton: true, paymentMethodGroupId: checkout_store.checkoutStore.paymentMethodGroupId }))))), index.h("div", { key: 'e5b6b4ac6b0fcec20380082f1b4cc5ba73bb88aa', class: "mt-4" }, index.h("justifi-button", { key: '188a8f46fd37b5f4f2d9b3ba7ff179d44d4a6656', text: "Pay", type: "submit", variant: "primary", clickHandler: (e) => this.submit(e), disabled: checkout_store.checkoutStore.isSubmitting || checkout_store.checkoutStore.isWalletProcessing, isLoading: checkout_store.checkoutStore.isSubmitting || checkout_store.checkoutStore.isWalletProcessing, customStyle: { width: '100%', textAlign: "center" } }))))));
|
|
96
95
|
}
|
|
97
96
|
static get watchers() { return {
|
|
98
97
|
"authToken": ["propChanged"],
|
|
@@ -8,8 +8,8 @@ require('./Pagination-Dediz133.js');
|
|
|
8
8
|
require('./Business-oBifyXkW.js');
|
|
9
9
|
require('./Dispute-CruQTF6_.js');
|
|
10
10
|
var utils = require('./utils-DbTucCTO.js');
|
|
11
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
12
|
-
var Analytics = require('./Analytics-
|
|
11
|
+
var checkPkgVersion = require('./check-pkg-version-DMXmPDqZ.js');
|
|
12
|
+
var Analytics = require('./Analytics-C1Wd9OW4.js');
|
|
13
13
|
var checkout_service = require('./checkout.service-DZKdHQQq.js');
|
|
14
14
|
var getSubaccounts = require('./get-subaccounts-CVK4O7th.js');
|
|
15
15
|
var styledHost = require('./styled-host-DAi5SuFa.js');
|
|
@@ -17,7 +17,7 @@ require('./event-types-YOY5TKUN.js');
|
|
|
17
17
|
var checkoutsTable = require('./checkouts-table-CCxrsy0x.js');
|
|
18
18
|
require('./index-W-zoNiyM.js');
|
|
19
19
|
require('./utils-BHi4j5rB.js');
|
|
20
|
-
require('./package-
|
|
20
|
+
require('./package-CRaVpb0w.js');
|
|
21
21
|
require('./Api-Bukk55YZ.js');
|
|
22
22
|
require('./badge-GBNtUypt.js');
|
|
23
23
|
require('./parts-BXshb_S-.js');
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
4
|
var Plaid = require('./Plaid-BlSGeGpn.js');
|
|
5
|
-
var Analytics = require('./Analytics-
|
|
6
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
5
|
+
var Analytics = require('./Analytics-C1Wd9OW4.js');
|
|
6
|
+
var checkPkgVersion = require('./check-pkg-version-DMXmPDqZ.js');
|
|
7
7
|
var Dispute = require('./Dispute-CruQTF6_.js');
|
|
8
8
|
var utils = require('./utils-DbTucCTO.js');
|
|
9
9
|
var dispute_service = require('./dispute.service-BbtwY673.js');
|
|
10
10
|
require('./utils-BHi4j5rB.js');
|
|
11
11
|
require('./dinero-BwNN_k7x.js');
|
|
12
|
-
require('./package-
|
|
12
|
+
require('./package-CRaVpb0w.js');
|
|
13
13
|
require('./Api-Bukk55YZ.js');
|
|
14
14
|
require('./config-state-BIgGhhe9.js');
|
|
15
15
|
require('./index-W-zoNiyM.js');
|
|
@@ -11,8 +11,8 @@ var Plaid = require('./Plaid-BlSGeGpn.js');
|
|
|
11
11
|
var utils = require('./utils-DbTucCTO.js');
|
|
12
12
|
var dispute_service = require('./dispute.service-BbtwY673.js');
|
|
13
13
|
var eventTypes = require('./event-types-BWQT2lwu.js');
|
|
14
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
15
|
-
var Analytics = require('./Analytics-
|
|
14
|
+
var checkPkgVersion = require('./check-pkg-version-DMXmPDqZ.js');
|
|
15
|
+
var Analytics = require('./Analytics-C1Wd9OW4.js');
|
|
16
16
|
require('./dinero-BwNN_k7x.js');
|
|
17
17
|
require('./Dispute-CruQTF6_.js');
|
|
18
18
|
require('./Api-Bukk55YZ.js');
|
|
@@ -20,7 +20,7 @@ require('./config-state-BIgGhhe9.js');
|
|
|
20
20
|
require('./index-W-zoNiyM.js');
|
|
21
21
|
require('./Pagination-Dediz133.js');
|
|
22
22
|
require('./Business-oBifyXkW.js');
|
|
23
|
-
require('./package-
|
|
23
|
+
require('./package-CRaVpb0w.js');
|
|
24
24
|
|
|
25
25
|
const makeUpdateDisputeResponse = ({ authToken, disputeId, service }) => async ({ payload, onSuccess, onError, final = () => { } }) => {
|
|
26
26
|
var _a;
|
|
@@ -8,14 +8,14 @@ require('./Business-oBifyXkW.js');
|
|
|
8
8
|
require('./Dispute-CruQTF6_.js');
|
|
9
9
|
var utils = require('./utils-DbTucCTO.js');
|
|
10
10
|
var utils$1 = require('./utils-8RGQVADu.js');
|
|
11
|
-
var Analytics = require('./Analytics-
|
|
12
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
11
|
+
var Analytics = require('./Analytics-C1Wd9OW4.js');
|
|
12
|
+
var checkPkgVersion = require('./check-pkg-version-DMXmPDqZ.js');
|
|
13
13
|
require('./config-state-BIgGhhe9.js');
|
|
14
14
|
require('./index-W-zoNiyM.js');
|
|
15
15
|
require('./utils-BHi4j5rB.js');
|
|
16
16
|
require('./dinero-BwNN_k7x.js');
|
|
17
17
|
require('./parts-BXshb_S-.js');
|
|
18
|
-
require('./package-
|
|
18
|
+
require('./package-CRaVpb0w.js');
|
|
19
19
|
|
|
20
20
|
const api = Api.Api();
|
|
21
21
|
class ReportsService {
|
|
@@ -4,8 +4,8 @@ var index = require('./index-p7cvUYAE.js');
|
|
|
4
4
|
var parts = require('./parts-BXshb_S-.js');
|
|
5
5
|
var styledHost = require('./styled-host-DAi5SuFa.js');
|
|
6
6
|
require('./event-types-YOY5TKUN.js');
|
|
7
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
8
|
-
var Analytics = require('./Analytics-
|
|
7
|
+
var checkPkgVersion = require('./check-pkg-version-DMXmPDqZ.js');
|
|
8
|
+
var Analytics = require('./Analytics-C1Wd9OW4.js');
|
|
9
9
|
var Plaid = require('./Plaid-BlSGeGpn.js');
|
|
10
10
|
var business_service = require('./business.service-BheJs82v.js');
|
|
11
11
|
var Business = require('./Business-oBifyXkW.js');
|
|
@@ -18,7 +18,7 @@ require('./Dispute-CruQTF6_.js');
|
|
|
18
18
|
var utils = require('./utils-DbTucCTO.js');
|
|
19
19
|
var terminal_service = require('./terminal.service-CjMMWSh3.js');
|
|
20
20
|
var utils$1 = require('./utils-BHi4j5rB.js');
|
|
21
|
-
require('./package-
|
|
21
|
+
require('./package-CRaVpb0w.js');
|
|
22
22
|
require('./Api-Bukk55YZ.js');
|
|
23
23
|
require('./index-W-zoNiyM.js');
|
|
24
24
|
|
|
@@ -4,8 +4,8 @@ var index = require('./index-p7cvUYAE.js');
|
|
|
4
4
|
var payment_service = require('./payment.service-sZKlg2Jq.js');
|
|
5
5
|
var getPaymentDetails = require('./get-payment-details-DL5FmIyF.js');
|
|
6
6
|
var Plaid = require('./Plaid-BlSGeGpn.js');
|
|
7
|
-
var Analytics = require('./Analytics-
|
|
8
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
7
|
+
var Analytics = require('./Analytics-C1Wd9OW4.js');
|
|
8
|
+
var checkPkgVersion = require('./check-pkg-version-DMXmPDqZ.js');
|
|
9
9
|
require('./config-state-BIgGhhe9.js');
|
|
10
10
|
var utils$1 = require('./utils-BHi4j5rB.js');
|
|
11
11
|
require('./Pagination-Dediz133.js');
|
|
@@ -20,7 +20,7 @@ var badge = require('./badge-GBNtUypt.js');
|
|
|
20
20
|
require('./Api-Bukk55YZ.js');
|
|
21
21
|
require('./dinero-BwNN_k7x.js');
|
|
22
22
|
require('./utils-DbTucCTO.js');
|
|
23
|
-
require('./package-
|
|
23
|
+
require('./package-CRaVpb0w.js');
|
|
24
24
|
require('./index-W-zoNiyM.js');
|
|
25
25
|
require('./parts-BXshb_S-.js');
|
|
26
26
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
|
-
var Analytics = require('./Analytics-
|
|
4
|
+
var Analytics = require('./Analytics-C1Wd9OW4.js');
|
|
5
5
|
var Plaid = require('./Plaid-BlSGeGpn.js');
|
|
6
6
|
var paymentProvisioningActions = require('./payment-provisioning-actions-BO7dzIm1.js');
|
|
7
7
|
var business_service = require('./business.service-BheJs82v.js');
|
|
@@ -9,7 +9,7 @@ var Api = require('./Api-Bukk55YZ.js');
|
|
|
9
9
|
require('./Pagination-Dediz133.js');
|
|
10
10
|
var Business = require('./Business-oBifyXkW.js');
|
|
11
11
|
require('./Dispute-CruQTF6_.js');
|
|
12
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
12
|
+
var checkPkgVersion = require('./check-pkg-version-DMXmPDqZ.js');
|
|
13
13
|
var utils = require('./utils-BHi4j5rB.js');
|
|
14
14
|
var parts = require('./parts-BXshb_S-.js');
|
|
15
15
|
var styledHost = require('./styled-host-DAi5SuFa.js');
|
|
@@ -17,7 +17,7 @@ var header1 = require('./header-1-CsBQoo1f.js');
|
|
|
17
17
|
require('./event-types-YOY5TKUN.js');
|
|
18
18
|
var eventTypes = require('./event-types-DNOUef41.js');
|
|
19
19
|
var paymentProvisioningLoading = require('./payment-provisioning-loading-tM9WWmxv.js');
|
|
20
|
-
require('./package-
|
|
20
|
+
require('./package-CRaVpb0w.js');
|
|
21
21
|
require('./utils-DbTucCTO.js');
|
|
22
22
|
require('./config-state-BIgGhhe9.js');
|
|
23
23
|
require('./index-W-zoNiyM.js');
|
|
@@ -110,7 +110,9 @@ const JustifiPaymentProvisioning = class {
|
|
|
110
110
|
}
|
|
111
111
|
};
|
|
112
112
|
this.decrementSteps = () => {
|
|
113
|
-
|
|
113
|
+
if (this.currentStep > 0) {
|
|
114
|
+
this.currentStep -= 1;
|
|
115
|
+
}
|
|
114
116
|
};
|
|
115
117
|
this.previousStepButtonOnClick = () => {
|
|
116
118
|
this.clickEvent.emit({ name: eventTypes.BusinessFormClickActions.previousStep });
|
|
@@ -7,8 +7,8 @@ var Plaid = require('./Plaid-BlSGeGpn.js');
|
|
|
7
7
|
var Pagination = require('./Pagination-Dediz133.js');
|
|
8
8
|
require('./Business-oBifyXkW.js');
|
|
9
9
|
require('./Dispute-CruQTF6_.js');
|
|
10
|
-
var Analytics = require('./Analytics-
|
|
11
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
10
|
+
var Analytics = require('./Analytics-C1Wd9OW4.js');
|
|
11
|
+
var checkPkgVersion = require('./check-pkg-version-DMXmPDqZ.js');
|
|
12
12
|
var utils = require('./utils-DbTucCTO.js');
|
|
13
13
|
var payment_service = require('./payment.service-sZKlg2Jq.js');
|
|
14
14
|
var table = require('./table-DjbNv28p.js');
|
|
@@ -17,7 +17,7 @@ var eventTypes = require('./event-types-YOY5TKUN.js');
|
|
|
17
17
|
var utils$1 = require('./utils-BHi4j5rB.js');
|
|
18
18
|
var parts = require('./parts-BXshb_S-.js');
|
|
19
19
|
require('./index-W-zoNiyM.js');
|
|
20
|
-
require('./package-
|
|
20
|
+
require('./package-CRaVpb0w.js');
|
|
21
21
|
require('./Api-Bukk55YZ.js');
|
|
22
22
|
require('./spinner-C6ZGOB2P.js');
|
|
23
23
|
|