@justifi/webcomponents 6.10.0 → 6.10.1
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/{check-pkg-version-DjlvidPw.js → check-pkg-version-PX_ogtrH.js} +18 -1
- package/dist/cjs/hidden-input_2.cjs.entry.js +1 -1
- package/dist/cjs/internal-tokenize-payment-method_7.cjs.entry.js +2 -2
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +6 -0
- package/dist/cjs/justifi-apple-pay_8.cjs.entry.js +2 -2
- package/dist/cjs/justifi-business-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-business-form.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkout.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +2 -2
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +2 -2
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +20 -0
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payments-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payout-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +2 -2
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +2 -2
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-C5inXJfW.js → package-uJFBawLq.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +6 -0
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-already-provisioned.js +6 -0
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +15 -0
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-submission-complete.js +6 -0
- package/dist/collection/utils/check-pkg-version.js +17 -0
- package/dist/docs.json +6 -73
- package/dist/esm/{check-pkg-version-wgHSN5sV.js → check-pkg-version-Dun0W_E2.js} +18 -1
- package/dist/esm/hidden-input_2.entry.js +1 -1
- package/dist/esm/internal-tokenize-payment-method_7.entry.js +2 -2
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +6 -0
- package/dist/esm/justifi-apple-pay_8.entry.js +2 -2
- package/dist/esm/justifi-business-details.entry.js +2 -2
- package/dist/esm/justifi-business-form.entry.js +2 -2
- package/dist/esm/justifi-checkout.entry.js +2 -2
- package/dist/esm/justifi-checkouts-list.entry.js +2 -2
- package/dist/esm/justifi-dispute-management.entry.js +2 -2
- package/dist/esm/justifi-dispute-notification_3.entry.js +2 -2
- package/dist/esm/justifi-gross-payment-chart.entry.js +2 -2
- package/dist/esm/justifi-order-terminals.entry.js +2 -2
- package/dist/esm/justifi-payment-details.entry.js +2 -2
- package/dist/esm/justifi-payment-provisioning-core.entry.js +21 -1
- package/dist/esm/justifi-payment-provisioning.entry.js +2 -2
- package/dist/esm/justifi-payment-transactions-list.entry.js +2 -2
- package/dist/esm/justifi-payments-list.entry.js +2 -2
- package/dist/esm/justifi-payout-details.entry.js +2 -2
- package/dist/esm/justifi-payout-transactions-list.entry.js +2 -2
- package/dist/esm/justifi-payouts-list.entry.js +2 -2
- package/dist/esm/justifi-refund-payment.entry.js +2 -2
- package/dist/esm/justifi-season-interruption-insurance.entry.js +2 -2
- package/dist/esm/justifi-terminal-orders-list.entry.js +2 -2
- package/dist/esm/justifi-terminals-list.entry.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-D4eE0MBI.js → package-CfQ5vkQ3.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Analytics.js +17 -0
- package/dist/module/business-owners-form-step.js +6 -0
- package/dist/module/package.js +1 -1
- package/dist/module/payment-provisioning-core.js +22 -1
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-already-provisioned.d.ts +1 -0
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-core.d.ts +1 -0
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-submission-complete.d.ts +1 -0
- package/dist/webcomponents/{p-38c1e9fa.entry.js → p-092653b6.entry.js} +1 -1
- package/dist/webcomponents/{p-ed4f8027.entry.js → p-18658148.entry.js} +1 -1
- package/dist/webcomponents/p-32a8b10f.entry.js +1 -0
- package/dist/webcomponents/{p-df61f19b.entry.js → p-334beb48.entry.js} +1 -1
- package/dist/webcomponents/{p-b4b540fa.entry.js → p-3798d389.entry.js} +1 -1
- package/dist/webcomponents/{p-423b63ad.entry.js → p-3bbacc8e.entry.js} +1 -1
- package/dist/webcomponents/{p-d766763a.entry.js → p-3c647db5.entry.js} +1 -1
- package/dist/webcomponents/{p-2438363d.entry.js → p-3caa3604.entry.js} +1 -1
- package/dist/webcomponents/{p-0e21749b.entry.js → p-4116808e.entry.js} +1 -1
- package/dist/webcomponents/{p-7769de83.entry.js → p-5f402409.entry.js} +1 -1
- package/dist/webcomponents/{p-d62da4f2.entry.js → p-660a04c0.entry.js} +1 -1
- package/dist/webcomponents/{p-f18e90b1.entry.js → p-917daf31.entry.js} +1 -1
- package/dist/webcomponents/{p-300002dd.entry.js → p-98158303.entry.js} +1 -1
- package/dist/webcomponents/{p-5cee4e33.entry.js → p-990d3709.entry.js} +1 -1
- package/dist/webcomponents/p-CfQ5vkQ3.js +1 -0
- package/dist/webcomponents/{p-eb1251bf.entry.js → p-a141c90b.entry.js} +1 -1
- package/dist/webcomponents/{p-c725dc53.entry.js → p-a713a90d.entry.js} +1 -1
- package/dist/webcomponents/{p-8728065b.entry.js → p-a87a7fad.entry.js} +1 -1
- package/dist/webcomponents/{p-e2bc6c68.entry.js → p-ab365375.entry.js} +1 -1
- package/dist/webcomponents/{p-2b679e5a.entry.js → p-ad962b59.entry.js} +1 -1
- package/dist/webcomponents/{p-979d22d0.entry.js → p-b6ffa313.entry.js} +1 -1
- package/dist/webcomponents/p-cb9abd2c.entry.js +1 -0
- package/dist/webcomponents/{p-d0813f21.entry.js → p-d5516a10.entry.js} +1 -1
- package/dist/webcomponents/{p-3971d6b7.entry.js → p-e8eeb4f1.entry.js} +1 -1
- package/dist/webcomponents/{p-CbTf_N6u.js → p-eEJvKFFX.js} +1 -1
- package/dist/webcomponents/{p-5d753fd4.entry.js → p-f5362ed9.entry.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +3 -2
- package/dist/webcomponents/p-2bbd810a.entry.js +0 -1
- package/dist/webcomponents/p-D4eE0MBI.js +0 -1
- package/dist/webcomponents/p-afa2ebd9.entry.js +0 -1
|
@@ -11,7 +11,7 @@ import { w as waitForConfig, c as configState } from './config-state-kKn89dp1.js
|
|
|
11
11
|
import { H as Header1 } from './header-1-xlSavD5o.js';
|
|
12
12
|
import { H as Header2, b as insuranceValuesOn, h as hasInsuranceValueChanged, i as insuranceValues } from './insurance-state-jZTKdt60.js';
|
|
13
13
|
import { H as Header3 } from './header-3-egutsoDI.js';
|
|
14
|
-
import { J as JustifiAnalytics, c as checkPkgVersion } from './check-pkg-version-
|
|
14
|
+
import { J as JustifiAnalytics, c as checkPkgVersion } from './check-pkg-version-Dun0W_E2.js';
|
|
15
15
|
import './dinero-HXpYMWUU.js';
|
|
16
16
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes, b as ComponentErrorMessages } from './ComponentError-Cjcsf8ku.js';
|
|
17
17
|
import './Pagination-CLHwhyvu.js';
|
|
@@ -23,7 +23,7 @@ import { P as PlaidService, p as plaidIconSvg } from './plaid-icon-B7a1QC7F.js';
|
|
|
23
23
|
import { P as PAYMENT_METHODS, a as PaymentMethod, b as PAYMENT_MODE } from './index-DkoufM1t.js';
|
|
24
24
|
import { C as CardBrandLabels } from './payment-method-option-utils-lUHAQVFl.js';
|
|
25
25
|
import './index-cDVGjRkU.js';
|
|
26
|
-
import './package-
|
|
26
|
+
import './package-CfQ5vkQ3.js';
|
|
27
27
|
|
|
28
28
|
// Centralized error codes for Apple Pay service
|
|
29
29
|
var ApplePayServiceErrorCode;
|
|
@@ -3,7 +3,7 @@ import { E as ErrorState } from './utils-BSpK1eMX.js';
|
|
|
3
3
|
import { B as BusinessService } from './business.service-CS-wQJoN.js';
|
|
4
4
|
import { m as makeGetBusiness } from './get-business-BtJWpVs_.js';
|
|
5
5
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-Cjcsf8ku.js';
|
|
6
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
6
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Dun0W_E2.js';
|
|
7
7
|
import './parts-C4FLe2pT.js';
|
|
8
8
|
import './Api-CLZVsXZg.js';
|
|
9
9
|
import './config-state-kKn89dp1.js';
|
|
@@ -15,7 +15,7 @@ import './Dispute-BH0Xfn-F.js';
|
|
|
15
15
|
import './Pagination-CLHwhyvu.js';
|
|
16
16
|
import './Business-BcNb9bVO.js';
|
|
17
17
|
import './utils-BeQLScSm.js';
|
|
18
|
-
import './package-
|
|
18
|
+
import './package-CfQ5vkQ3.js';
|
|
19
19
|
|
|
20
20
|
const BusinessDetails = class {
|
|
21
21
|
constructor(hostRef) {
|
|
@@ -9,7 +9,7 @@ import './Plaid-Cmyilr-q.js';
|
|
|
9
9
|
import './Pagination-CLHwhyvu.js';
|
|
10
10
|
import { C as CountryCode, B as Business, b as BusinessFormServerErrors } from './Business-BcNb9bVO.js';
|
|
11
11
|
import './Dispute-BH0Xfn-F.js';
|
|
12
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
12
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Dun0W_E2.js';
|
|
13
13
|
import { B as Button } from './button-DOkTCYSa.js';
|
|
14
14
|
import { S as StyledHost } from './styled-host-D6byRazK.js';
|
|
15
15
|
import { H as Header1 } from './header-1-xlSavD5o.js';
|
|
@@ -24,7 +24,7 @@ import './country-config-P042rrI3.js';
|
|
|
24
24
|
import './business-form-options-DRalxlqN.js';
|
|
25
25
|
import './index-cDVGjRkU.js';
|
|
26
26
|
import './utils-7bp92NC7.js';
|
|
27
|
-
import './package-
|
|
27
|
+
import './package-CfQ5vkQ3.js';
|
|
28
28
|
import './Api-CLZVsXZg.js';
|
|
29
29
|
import './parts-C4FLe2pT.js';
|
|
30
30
|
import './utils-BeQLScSm.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-CV0Pyo1O.js';
|
|
2
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
2
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Dun0W_E2.js';
|
|
3
3
|
import { c as checkoutStore } from './checkout.store-iNkW80yV.js';
|
|
4
4
|
import { c as checkoutSummary } from './parts-C4FLe2pT.js';
|
|
5
5
|
import { S as StyledHost } from './styled-host-D6byRazK.js';
|
|
6
6
|
import './event-types-CZfYo5-1.js';
|
|
7
7
|
import { P as PAYMENT_METHODS } from './index-DkoufM1t.js';
|
|
8
|
-
import './package-
|
|
8
|
+
import './package-CfQ5vkQ3.js';
|
|
9
9
|
import './Api-CLZVsXZg.js';
|
|
10
10
|
import './config-state-kKn89dp1.js';
|
|
11
11
|
import './index-cDVGjRkU.js';
|
|
@@ -7,7 +7,7 @@ import './Pagination-CLHwhyvu.js';
|
|
|
7
7
|
import './Business-BcNb9bVO.js';
|
|
8
8
|
import './Dispute-BH0Xfn-F.js';
|
|
9
9
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
|
|
10
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
10
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Dun0W_E2.js';
|
|
11
11
|
import { C as CheckoutService } from './checkout.service-BcQ_onZq.js';
|
|
12
12
|
import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts-BFALCYFr.js';
|
|
13
13
|
import { S as StyledHost } from './styled-host-D6byRazK.js';
|
|
@@ -15,7 +15,7 @@ import './event-types-CZfYo5-1.js';
|
|
|
15
15
|
import { d as defaultColumnsKeys } from './checkouts-table-C5aYyqpX.js';
|
|
16
16
|
import './index-cDVGjRkU.js';
|
|
17
17
|
import './utils-7bp92NC7.js';
|
|
18
|
-
import './package-
|
|
18
|
+
import './package-CfQ5vkQ3.js';
|
|
19
19
|
import './Api-CLZVsXZg.js';
|
|
20
20
|
import './badge-AZ7Z3PKH.js';
|
|
21
21
|
import './parts-C4FLe2pT.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-CV0Pyo1O.js';
|
|
2
2
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-Cjcsf8ku.js';
|
|
3
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
3
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Dun0W_E2.js';
|
|
4
4
|
import { D as Dispute } from './Dispute-BH0Xfn-F.js';
|
|
5
5
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
|
|
6
6
|
import { D as DisputeService } from './dispute.service-B_oe0uFV.js';
|
|
7
|
-
import './package-
|
|
7
|
+
import './package-CfQ5vkQ3.js';
|
|
8
8
|
import './Api-CLZVsXZg.js';
|
|
9
9
|
import './config-state-kKn89dp1.js';
|
|
10
10
|
import './index-cDVGjRkU.js';
|
|
@@ -9,7 +9,7 @@ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Compone
|
|
|
9
9
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
|
|
10
10
|
import { D as DisputeService } from './dispute.service-B_oe0uFV.js';
|
|
11
11
|
import { D as DisputeManagementClickActions } from './event-types-Bg2SZArf.js';
|
|
12
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
12
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Dun0W_E2.js';
|
|
13
13
|
import './dinero-HXpYMWUU.js';
|
|
14
14
|
import './Api-CLZVsXZg.js';
|
|
15
15
|
import './config-state-kKn89dp1.js';
|
|
@@ -18,7 +18,7 @@ import './Plaid-Cmyilr-q.js';
|
|
|
18
18
|
import './Dispute-BH0Xfn-F.js';
|
|
19
19
|
import './Pagination-CLHwhyvu.js';
|
|
20
20
|
import './Business-BcNb9bVO.js';
|
|
21
|
-
import './package-
|
|
21
|
+
import './package-CfQ5vkQ3.js';
|
|
22
22
|
|
|
23
23
|
const makeUpdateDisputeResponse = ({ authToken, disputeId, service }) => async ({ payload, onSuccess, onError, final = () => { } }) => {
|
|
24
24
|
var _a;
|
|
@@ -7,13 +7,13 @@ import './Business-BcNb9bVO.js';
|
|
|
7
7
|
import './Dispute-BH0Xfn-F.js';
|
|
8
8
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
|
|
9
9
|
import { E as ErrorState } from './utils-BSpK1eMX.js';
|
|
10
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
10
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Dun0W_E2.js';
|
|
11
11
|
import './config-state-kKn89dp1.js';
|
|
12
12
|
import './index-cDVGjRkU.js';
|
|
13
13
|
import './utils-7bp92NC7.js';
|
|
14
14
|
import './dinero-HXpYMWUU.js';
|
|
15
15
|
import './parts-C4FLe2pT.js';
|
|
16
|
-
import './package-
|
|
16
|
+
import './package-CfQ5vkQ3.js';
|
|
17
17
|
|
|
18
18
|
const api = Api();
|
|
19
19
|
class ReportsService {
|
|
@@ -2,7 +2,7 @@ import { h, r as registerInstance, c as createEvent } from './index-CV0Pyo1O.js'
|
|
|
2
2
|
import { au as heading5, as as heading4, an as buttonPrimary, H as text } from './parts-C4FLe2pT.js';
|
|
3
3
|
import { S as StyledHost } from './styled-host-D6byRazK.js';
|
|
4
4
|
import './event-types-CZfYo5-1.js';
|
|
5
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
5
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Dun0W_E2.js';
|
|
6
6
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-Cjcsf8ku.js';
|
|
7
7
|
import { B as BusinessService } from './business.service-CS-wQJoN.js';
|
|
8
8
|
import { B as Business } from './Business-BcNb9bVO.js';
|
|
@@ -16,7 +16,7 @@ import './Dispute-BH0Xfn-F.js';
|
|
|
16
16
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
|
|
17
17
|
import { T as TerminalService } from './terminal.service-Dv1-CZ4Y.js';
|
|
18
18
|
import { l as formatPhoneNumber } from './utils-7bp92NC7.js';
|
|
19
|
-
import './package-
|
|
19
|
+
import './package-CfQ5vkQ3.js';
|
|
20
20
|
import './Api-CLZVsXZg.js';
|
|
21
21
|
import './index-cDVGjRkU.js';
|
|
22
22
|
|
|
@@ -3,7 +3,7 @@ import { P as PaymentService } from './payment.service-Nvz1TYZB.js';
|
|
|
3
3
|
import { m as makeGetPaymentDetails } from './get-payment-details-BdewJSTH.js';
|
|
4
4
|
import { E as ErrorState } from './utils-BSpK1eMX.js';
|
|
5
5
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-Cjcsf8ku.js';
|
|
6
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
6
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Dun0W_E2.js';
|
|
7
7
|
import './Api-CLZVsXZg.js';
|
|
8
8
|
import './config-state-kKn89dp1.js';
|
|
9
9
|
import './index-cDVGjRkU.js';
|
|
@@ -15,7 +15,7 @@ import './Pagination-CLHwhyvu.js';
|
|
|
15
15
|
import './Business-BcNb9bVO.js';
|
|
16
16
|
import './utils-BeQLScSm.js';
|
|
17
17
|
import './parts-C4FLe2pT.js';
|
|
18
|
-
import './package-
|
|
18
|
+
import './package-CfQ5vkQ3.js';
|
|
19
19
|
|
|
20
20
|
const PaymentDetails = class {
|
|
21
21
|
constructor(hostRef) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent
|
|
1
|
+
import { h, r as registerInstance, c as createEvent } from './index-CV0Pyo1O.js';
|
|
2
2
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-Cjcsf8ku.js';
|
|
3
3
|
import { C as CountryCode, B as Business, c as checkProvisioningStatus } from './Business-BcNb9bVO.js';
|
|
4
4
|
import { H as text } from './parts-C4FLe2pT.js';
|
|
@@ -9,6 +9,14 @@ import { B as BusinessFormClickActions } from './event-types-XYgDHrVL.js';
|
|
|
9
9
|
import { P as PaymentProvisioningLoading } from './payment-provisioning-loading-D_VKtlLm.js';
|
|
10
10
|
import './skeleton-C162KC3u.js';
|
|
11
11
|
|
|
12
|
+
const PaymentProvisioningAlreadyProvisioned = () => {
|
|
13
|
+
return (h("div", { class: "row gap-3 p-5" }, h("div", { class: "col-12" }, h(Header1, { text: "Business Already Provisioned" })), h("div", { class: "col-12", part: text }, h("p", null, "We have already received the onboarding information for this business."))));
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
const PaymentProvisioningSubmissionComplete = () => {
|
|
17
|
+
return (h("div", { class: "row gap-3 p5" }, h("div", { class: "col-12" }, h(Header1, { text: "You're all set for now" })), h("div", { class: "col-12", part: text }, h("p", null, "We're reviewing your information and working on your approval. We'll be in touch to let you know once you've been approved (or if we find anything that needs fixing). Have a good one!"))));
|
|
18
|
+
};
|
|
19
|
+
|
|
12
20
|
const PaymentProvisioningCore = class {
|
|
13
21
|
constructor(hostRef) {
|
|
14
22
|
registerInstance(this, hostRef);
|
|
@@ -18,6 +26,7 @@ const PaymentProvisioningCore = class {
|
|
|
18
26
|
this.loading = false;
|
|
19
27
|
this.businessLoading = true;
|
|
20
28
|
this.businessProvisioned = false;
|
|
29
|
+
this.formSubmitted = false;
|
|
21
30
|
this.currentStep = 0;
|
|
22
31
|
this.country = CountryCode.USA;
|
|
23
32
|
this.allowOptionalFields = false;
|
|
@@ -53,6 +62,7 @@ const PaymentProvisioningCore = class {
|
|
|
53
62
|
this.postProvisioningData = () => {
|
|
54
63
|
this.postProvisioning({
|
|
55
64
|
onSuccess: (response) => {
|
|
65
|
+
this.formSubmitted = true;
|
|
56
66
|
this.submitEvent.emit({ response: response });
|
|
57
67
|
},
|
|
58
68
|
onError: ({ error, code, severity }) => {
|
|
@@ -119,9 +129,19 @@ const PaymentProvisioningCore = class {
|
|
|
119
129
|
this.loading = event.detail;
|
|
120
130
|
}
|
|
121
131
|
render() {
|
|
132
|
+
// State 1: Loading
|
|
122
133
|
if (this.businessLoading) {
|
|
123
134
|
return (h(StyledHost, null, h(PaymentProvisioningLoading, null)));
|
|
124
135
|
}
|
|
136
|
+
// State 2: Already Provisioned
|
|
137
|
+
if (this.businessProvisioned) {
|
|
138
|
+
return (h(StyledHost, null, h(PaymentProvisioningAlreadyProvisioned, null)));
|
|
139
|
+
}
|
|
140
|
+
// State 3: Submission Complete
|
|
141
|
+
if (this.formSubmitted) {
|
|
142
|
+
return (h(StyledHost, null, h(PaymentProvisioningSubmissionComplete, null)));
|
|
143
|
+
}
|
|
144
|
+
// State 4: Form Steps (default)
|
|
125
145
|
return (h(StyledHost, null, h("div", { class: 'row gap-3' }, h(Header1, { text: this.formTitle }), h("justifi-payment-provisioning-form-steps", { businessId: this.businessId, authToken: this.authToken, refs: this.refs, currentStep: this.currentStep, allowOptionalFields: this.allowOptionalFields, country: this.country, handleFormLoading: this.handleFormLoading }), h("div", { class: 'd-flex justify-content-between align-items-center' }, h("div", { class: 'd-flex align-items-center', part: text }, this.stepCounter), h("justifi-payment-provisioning-form-buttons", { currentStep: this.currentStep, totalSteps: this.totalSteps, formLoading: this.loading, formDisabled: this.formDisabled, previousStepButtonOnClick: this.previousStepButtonOnClick, nextStepButtonOnClick: this.nextStepButtonOnClick })))));
|
|
126
146
|
}
|
|
127
147
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-CV0Pyo1O.js';
|
|
2
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
2
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Dun0W_E2.js';
|
|
3
3
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-Cjcsf8ku.js';
|
|
4
4
|
import { m as makeGetBusiness, a as makePostProvisioning } from './payment-provisioning-actions-CBvplwPf.js';
|
|
5
5
|
import { B as BusinessService } from './business.service-CS-wQJoN.js';
|
|
@@ -9,7 +9,7 @@ import './Pagination-CLHwhyvu.js';
|
|
|
9
9
|
import './Business-BcNb9bVO.js';
|
|
10
10
|
import './Dispute-BH0Xfn-F.js';
|
|
11
11
|
import { i as isTokenExpired } from './utils-7bp92NC7.js';
|
|
12
|
-
import './package-
|
|
12
|
+
import './package-CfQ5vkQ3.js';
|
|
13
13
|
import './utils-BeQLScSm.js';
|
|
14
14
|
import './config-state-kKn89dp1.js';
|
|
15
15
|
import './index-cDVGjRkU.js';
|
|
@@ -6,7 +6,7 @@ import { h as PaymentBalanceTransaction } from './Plaid-Cmyilr-q.js';
|
|
|
6
6
|
import { p as pagingDefaults } from './Pagination-CLHwhyvu.js';
|
|
7
7
|
import './Business-BcNb9bVO.js';
|
|
8
8
|
import './Dispute-BH0Xfn-F.js';
|
|
9
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
9
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Dun0W_E2.js';
|
|
10
10
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
|
|
11
11
|
import { P as PaymentService } from './payment.service-Nvz1TYZB.js';
|
|
12
12
|
import { T as Table, l as TableWrapper, a as TableComponent, b as TableHead, c as TableHeadRow, d as TableBody, e as TableLoadingState, f as TableEmptyState, g as TableErrorState, h as TableRow, i as TableFoot, j as TableFootRow, k as TableFootCell } from './table-hHARNoRM.js';
|
|
@@ -15,7 +15,7 @@ import { T as TableClickActions } from './event-types-CZfYo5-1.js';
|
|
|
15
15
|
import { a as convertToLocal } from './utils-7bp92NC7.js';
|
|
16
16
|
import { V as tableHeadCell, W as getAlternateTableCellPart } from './parts-C4FLe2pT.js';
|
|
17
17
|
import './index-cDVGjRkU.js';
|
|
18
|
-
import './package-
|
|
18
|
+
import './package-CfQ5vkQ3.js';
|
|
19
19
|
import './Api-CLZVsXZg.js';
|
|
20
20
|
import './spinner-BfjGGaND.js';
|
|
21
21
|
|
|
@@ -8,14 +8,14 @@ import './Pagination-CLHwhyvu.js';
|
|
|
8
8
|
import './Business-BcNb9bVO.js';
|
|
9
9
|
import './Dispute-BH0Xfn-F.js';
|
|
10
10
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
|
|
11
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
11
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Dun0W_E2.js';
|
|
12
12
|
import { S as StyledHost } from './styled-host-D6byRazK.js';
|
|
13
13
|
import './event-types-CZfYo5-1.js';
|
|
14
14
|
import { d as defaultColumnsKeys } from './payments-table-BDaiD836.js';
|
|
15
15
|
import './Api-CLZVsXZg.js';
|
|
16
16
|
import './utils-7bp92NC7.js';
|
|
17
17
|
import './index-cDVGjRkU.js';
|
|
18
|
-
import './package-
|
|
18
|
+
import './package-CfQ5vkQ3.js';
|
|
19
19
|
import './payments-status-D4XkcfLU.js';
|
|
20
20
|
import './badge-AZ7Z3PKH.js';
|
|
21
21
|
import './parts-C4FLe2pT.js';
|
|
@@ -9,13 +9,13 @@ import './Business-BcNb9bVO.js';
|
|
|
9
9
|
import './Dispute-BH0Xfn-F.js';
|
|
10
10
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
|
|
11
11
|
import { E as ErrorState } from './utils-BSpK1eMX.js';
|
|
12
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
12
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Dun0W_E2.js';
|
|
13
13
|
import { m as makeGetPayoutCSV } from './get-payout-csv-D-Lnooki.js';
|
|
14
14
|
import './Api-CLZVsXZg.js';
|
|
15
15
|
import './utils-7bp92NC7.js';
|
|
16
16
|
import './index-cDVGjRkU.js';
|
|
17
17
|
import './parts-C4FLe2pT.js';
|
|
18
|
-
import './package-
|
|
18
|
+
import './package-CfQ5vkQ3.js';
|
|
19
19
|
|
|
20
20
|
const makeGetPayoutDetails = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
|
|
21
21
|
var _a;
|
|
@@ -6,7 +6,7 @@ import { i as PayoutBalanceTransaction } from './Plaid-Cmyilr-q.js';
|
|
|
6
6
|
import { p as pagingDefaults } from './Pagination-CLHwhyvu.js';
|
|
7
7
|
import './Business-BcNb9bVO.js';
|
|
8
8
|
import './Dispute-BH0Xfn-F.js';
|
|
9
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
9
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Dun0W_E2.js';
|
|
10
10
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
|
|
11
11
|
import { P as PayoutService } from './payout.service-tTxsxoqF.js';
|
|
12
12
|
import { T as Table, l as TableWrapper, a as TableComponent, b as TableHead, c as TableHeadRow, d as TableBody, e as TableLoadingState, f as TableEmptyState, g as TableErrorState, h as TableRow, i as TableFoot, j as TableFootRow, k as TableFootCell } from './table-hHARNoRM.js';
|
|
@@ -15,7 +15,7 @@ import { T as TableClickActions } from './event-types-CZfYo5-1.js';
|
|
|
15
15
|
import { a as convertToLocal } from './utils-7bp92NC7.js';
|
|
16
16
|
import { V as tableHeadCell, W as getAlternateTableCellPart } from './parts-C4FLe2pT.js';
|
|
17
17
|
import './index-cDVGjRkU.js';
|
|
18
|
-
import './package-
|
|
18
|
+
import './package-CfQ5vkQ3.js';
|
|
19
19
|
import './Api-CLZVsXZg.js';
|
|
20
20
|
import './spinner-BfjGGaND.js';
|
|
21
21
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-CV0Pyo1O.js';
|
|
2
2
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-Cjcsf8ku.js';
|
|
3
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
3
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Dun0W_E2.js';
|
|
4
4
|
import { P as PayoutService } from './payout.service-tTxsxoqF.js';
|
|
5
5
|
import './config-state-kKn89dp1.js';
|
|
6
6
|
import './dinero-HXpYMWUU.js';
|
|
@@ -14,7 +14,7 @@ import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccoun
|
|
|
14
14
|
import { S as StyledHost } from './styled-host-D6byRazK.js';
|
|
15
15
|
import './event-types-CZfYo5-1.js';
|
|
16
16
|
import { d as defaultColumnsKeys } from './payouts-table-B4nuJlpC.js';
|
|
17
|
-
import './package-
|
|
17
|
+
import './package-CfQ5vkQ3.js';
|
|
18
18
|
import './Api-CLZVsXZg.js';
|
|
19
19
|
import './utils-7bp92NC7.js';
|
|
20
20
|
import './index-cDVGjRkU.js';
|
|
@@ -12,7 +12,7 @@ import { S as StyledHost } from './styled-host-D6byRazK.js';
|
|
|
12
12
|
import './event-types-CZfYo5-1.js';
|
|
13
13
|
import { P as PaymentService } from './payment.service-Nvz1TYZB.js';
|
|
14
14
|
import { m as makeGetPaymentDetails } from './get-payment-details-BdewJSTH.js';
|
|
15
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
15
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Dun0W_E2.js';
|
|
16
16
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
|
|
17
17
|
import { A as Api } from './Api-CLZVsXZg.js';
|
|
18
18
|
import { S as Skeleton } from './skeleton-C162KC3u.js';
|
|
@@ -20,7 +20,7 @@ import './_commonjsHelpers-BFTU3MAI.js';
|
|
|
20
20
|
import './dinero-HXpYMWUU.js';
|
|
21
21
|
import './index-cDVGjRkU.js';
|
|
22
22
|
import './parts-C4FLe2pT.js';
|
|
23
|
-
import './package-
|
|
23
|
+
import './package-CfQ5vkQ3.js';
|
|
24
24
|
|
|
25
25
|
const amountValidation = (maxAmount) => {
|
|
26
26
|
const max = +maxAmount;
|
|
@@ -6,7 +6,7 @@ import './Pagination-CLHwhyvu.js';
|
|
|
6
6
|
import './Business-BcNb9bVO.js';
|
|
7
7
|
import './Dispute-BH0Xfn-F.js';
|
|
8
8
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
|
|
9
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
9
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Dun0W_E2.js';
|
|
10
10
|
import { c as checkoutStore } from './checkout.store-iNkW80yV.js';
|
|
11
11
|
import { p as processHTML, f as formatCurrency, r as removeAttribute, k as addAttribute } from './utils-7bp92NC7.js';
|
|
12
12
|
import { v as validateInsuranceValues, i as insuranceValues, a as insuranceErrors, H as Header2 } from './insurance-state-jZTKdt60.js';
|
|
@@ -16,7 +16,7 @@ import './event-types-CZfYo5-1.js';
|
|
|
16
16
|
import { S as Skeleton } from './skeleton-C162KC3u.js';
|
|
17
17
|
import './config-state-kKn89dp1.js';
|
|
18
18
|
import './index-cDVGjRkU.js';
|
|
19
|
-
import './package-
|
|
19
|
+
import './package-CfQ5vkQ3.js';
|
|
20
20
|
import './index-DkoufM1t.js';
|
|
21
21
|
import './dinero-HXpYMWUU.js';
|
|
22
22
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-CV0Pyo1O.js';
|
|
2
2
|
import { S as StyledHost } from './styled-host-D6byRazK.js';
|
|
3
3
|
import './event-types-CZfYo5-1.js';
|
|
4
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
4
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Dun0W_E2.js';
|
|
5
5
|
import { d as defaultColumnsKeys } from './terminal-orders-table-B-xs6ocO.js';
|
|
6
6
|
import './config-state-kKn89dp1.js';
|
|
7
7
|
import './dinero-HXpYMWUU.js';
|
|
@@ -12,7 +12,7 @@ import './Business-BcNb9bVO.js';
|
|
|
12
12
|
import './Dispute-BH0Xfn-F.js';
|
|
13
13
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
|
|
14
14
|
import { A as Api } from './Api-CLZVsXZg.js';
|
|
15
|
-
import './package-
|
|
15
|
+
import './package-CfQ5vkQ3.js';
|
|
16
16
|
import './parts-C4FLe2pT.js';
|
|
17
17
|
import './utils-7bp92NC7.js';
|
|
18
18
|
import './badge-AZ7Z3PKH.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-CV0Pyo1O.js';
|
|
2
2
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-Cjcsf8ku.js';
|
|
3
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
3
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Dun0W_E2.js';
|
|
4
4
|
import { T as TerminalService } from './terminal.service-Dv1-CZ4Y.js';
|
|
5
5
|
import './config-state-kKn89dp1.js';
|
|
6
6
|
import './dinero-HXpYMWUU.js';
|
|
@@ -13,7 +13,7 @@ import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccoun
|
|
|
13
13
|
import { S as StyledHost } from './styled-host-D6byRazK.js';
|
|
14
14
|
import './event-types-CZfYo5-1.js';
|
|
15
15
|
import { d as defaultColumnsKeys } from './terminals-table-CnKH-UOw.js';
|
|
16
|
-
import './package-
|
|
16
|
+
import './package-CfQ5vkQ3.js';
|
|
17
17
|
import './Api-CLZVsXZg.js';
|
|
18
18
|
import './utils-7bp92NC7.js';
|
|
19
19
|
import './index-cDVGjRkU.js';
|