@justifi/webcomponents 6.13.5 → 6.13.7
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-DKKIeba3.js → Analytics-DnstliVw.js} +3 -3
- package/dist/cjs/{Api-DiVnyVMc.js → Api-BO8Dq_Q9.js} +1 -1
- package/dist/cjs/{Plaid-QLOFOTeC.js → Plaid-CbaU5Arm.js} +1 -1
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +1 -1
- package/dist/cjs/additional-questions-form-step_15.cjs.entry.js +38 -13
- package/dist/cjs/bank-account-billing-form-simple_4.cjs.entry.js +1 -1
- package/dist/cjs/bank-account-document-form-inputs.cjs.entry.js +2 -2
- package/dist/cjs/bank-account-form.cjs.entry.js +3 -3
- package/dist/cjs/{business-identity-schema-Da3PJrGG.js → business-identity-schema-hpDJFnB4.js} +3 -3
- package/dist/cjs/{business.service-xyk3nSbS.js → business.service-CPATYPjf.js} +2 -2
- package/dist/cjs/card-form.cjs.entry.js +3 -3
- package/dist/cjs/{check-pkg-version-B_M50dKl.js → check-pkg-version-D9334YnB.js} +1 -1
- package/dist/cjs/{checkout-actions-CjR16i7o.js → checkout-actions-Cm38ZPqN.js} +2 -2
- package/dist/cjs/{checkout.service-BvQmucoL.js → checkout.service-DUHQ2mz6.js} +2 -2
- package/dist/cjs/dispute-notification_2.cjs.entry.js +8 -8
- package/dist/cjs/{event-types-Dzra0qB3.js → event-types-fW6pQOxu.js} +2 -2
- package/dist/cjs/form-control-monetary.cjs.entry.js +1 -1
- package/dist/cjs/{get-business-CrxvWZh6.js → get-business-B3Jf5X7U.js} +2 -2
- package/dist/cjs/{get-payment-details-iCEkGDy4.js → get-payment-details-Q9lHwr8Y.js} +2 -2
- package/dist/cjs/{get-subaccounts-h69ubhBi.js → get-subaccounts-BEqUiA8S.js} +3 -3
- package/dist/cjs/hidden-input_2.cjs.entry.js +1 -1
- package/dist/cjs/justifi-apple-pay_11.cjs.entry.js +11 -10
- package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +6 -6
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +6 -6
- package/dist/cjs/justifi-business-details.cjs.entry.js +9 -9
- package/dist/cjs/justifi-business-form.cjs.entry.js +11 -11
- package/dist/cjs/justifi-card-form.cjs.entry.js +6 -6
- package/dist/cjs/justifi-checkout-qr-code.cjs.entry.js +6 -6
- package/dist/cjs/justifi-checkout.cjs.entry.js +6 -6
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +9 -9
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +8 -8
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +7 -7
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payment-details.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/justifi-payments-list.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payout-details.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-qr-terminal.cjs.entry.js +9 -9
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +9 -9
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +7 -7
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +7 -7
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +9 -9
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-D-F6FazX.js → package-CUVhHNoD.js} +1 -1
- package/dist/cjs/{payment-provisioning-actions-DwgI9weK.js → payment-provisioning-actions-DeURi9ZW.js} +2 -2
- package/dist/cjs/{payment.service-BdK_wsu2.js → payment.service-D7Rfb-HB.js} +2 -2
- package/dist/cjs/{payout.service-CVSqMmCW.js → payout.service-Dt-LIFvA.js} +2 -2
- package/dist/cjs/{payouts-status-viYMBknO.js → payouts-status-BKO9VMJ_.js} +2 -2
- package/dist/cjs/{plaid.service-Dj-AZOjk.js → plaid.service-D9rC_F9z.js} +2 -2
- package/dist/cjs/{schema-validations-Cs0mSKR7.js → schema-validations-DehT309E.js} +5 -3
- package/dist/cjs/{terminal.service-Dzukw0o7.js → terminal.service-DnmqW9Dl.js} +2 -2
- package/dist/cjs/{utils-BVM6JCW0.js → utils-8zgGi717.js} +1 -1
- package/dist/cjs/{utils-D1CWnhex.js → utils-DB4XHlAU.js} +314 -262
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/services/apple-pay.service.js +1 -0
- package/dist/collection/components/business-forms/owner-form/owner-form.js +46 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +21 -3
- package/dist/collection/components/business-forms/schemas/business-identity-schema.js +3 -3
- package/dist/collection/components/business-forms/schemas/schema-validations.js +4 -3
- package/dist/collection/components/filters/utils.js +2 -2
- package/dist/docs.json +57 -1
- package/dist/esm/{Analytics-DuzRGlIa.js → Analytics-BlTw8DMC.js} +3 -3
- package/dist/esm/{Api-CTkszAxp.js → Api-CwaiizF1.js} +1 -1
- package/dist/esm/{Plaid-XJ1Wi_Qy.js → Plaid-D389VmvK.js} +1 -1
- package/dist/esm/additional-questions-details_5.entry.js +1 -1
- package/dist/esm/additional-questions-form-step_15.entry.js +38 -13
- package/dist/esm/bank-account-billing-form-simple_4.entry.js +1 -1
- package/dist/esm/bank-account-document-form-inputs.entry.js +2 -2
- package/dist/esm/bank-account-form.entry.js +3 -3
- package/dist/esm/{business-identity-schema-C1ot9Zas.js → business-identity-schema-CXfLi-Wi.js} +3 -3
- package/dist/esm/{business.service-CJrHGJHW.js → business.service-BJ3lvMNr.js} +2 -2
- package/dist/esm/card-form.entry.js +3 -3
- package/dist/esm/{check-pkg-version-D3RUSGUe.js → check-pkg-version-DTxsw7UI.js} +1 -1
- package/dist/esm/{checkout-actions-CheVrS18.js → checkout-actions-Bmn6v-SS.js} +2 -2
- package/dist/esm/{checkout.service-fPRUtr9H.js → checkout.service-DMbW2pn3.js} +2 -2
- package/dist/esm/dispute-notification_2.entry.js +8 -8
- package/dist/esm/{event-types-BtWMbtaC.js → event-types-D37YHLaN.js} +2 -2
- package/dist/esm/form-control-monetary.entry.js +1 -1
- package/dist/esm/{get-business-DTNQJoh_.js → get-business-CDr7VlTq.js} +2 -2
- package/dist/esm/{get-payment-details-CSX5fwOG.js → get-payment-details-CpM_upcS.js} +2 -2
- package/dist/esm/{get-subaccounts-Cy2mYsaE.js → get-subaccounts-RtGqjq7u.js} +3 -3
- package/dist/esm/hidden-input_2.entry.js +1 -1
- package/dist/esm/justifi-apple-pay_11.entry.js +11 -10
- package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +6 -6
- package/dist/esm/justifi-bank-account-form.entry.js +6 -6
- package/dist/esm/justifi-business-details.entry.js +9 -9
- package/dist/esm/justifi-business-form.entry.js +11 -11
- package/dist/esm/justifi-card-form.entry.js +6 -6
- package/dist/esm/justifi-checkout-qr-code.entry.js +6 -6
- package/dist/esm/justifi-checkout.entry.js +6 -6
- package/dist/esm/justifi-checkouts-list-filters.entry.js +2 -2
- package/dist/esm/justifi-checkouts-list.entry.js +9 -9
- package/dist/esm/justifi-dispute-management.entry.js +8 -8
- package/dist/esm/justifi-gross-payment-chart.entry.js +7 -7
- package/dist/esm/justifi-order-terminals.entry.js +10 -10
- package/dist/esm/justifi-payment-details.entry.js +9 -9
- package/dist/esm/justifi-payment-provisioning.entry.js +9 -9
- package/dist/esm/justifi-payment-transactions-list.entry.js +8 -8
- package/dist/esm/justifi-payments-list-filters.entry.js +1 -1
- package/dist/esm/justifi-payments-list.entry.js +8 -8
- package/dist/esm/justifi-payout-details.entry.js +9 -9
- package/dist/esm/justifi-payout-transactions-list.entry.js +8 -8
- package/dist/esm/justifi-payouts-list-filters.entry.js +2 -2
- package/dist/esm/justifi-payouts-list.entry.js +10 -10
- package/dist/esm/justifi-qr-terminal.entry.js +9 -9
- package/dist/esm/justifi-refund-payment.entry.js +9 -9
- package/dist/esm/justifi-season-interruption-insurance.entry.js +7 -7
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +2 -2
- package/dist/esm/justifi-terminal-orders-list.entry.js +7 -7
- package/dist/esm/justifi-terminals-list-filters.entry.js +2 -2
- package/dist/esm/justifi-terminals-list.entry.js +9 -9
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-8JdL0AX6.js → package-Dwe9A9Fk.js} +1 -1
- package/dist/esm/{payment-provisioning-actions-DjjVhIsC.js → payment-provisioning-actions-BJYx_JgF.js} +2 -2
- package/dist/esm/{payment.service-DqqhXGIA.js → payment.service-CPnigqmB.js} +2 -2
- package/dist/esm/{payout.service-pXbxWGPO.js → payout.service-CYPLRYg5.js} +2 -2
- package/dist/esm/{payouts-status-Ch05ZKVP.js → payouts-status-BnB9006T.js} +2 -2
- package/dist/esm/{plaid.service-Bb_mVHR9.js → plaid.service-CvfKh_3f.js} +2 -2
- package/dist/esm/{schema-validations-CHxw3FkH.js → schema-validations-DJilm-Nh.js} +5 -4
- package/dist/esm/{terminal.service-AK9uBpcb.js → terminal.service-r2jKgzEJ.js} +2 -2
- package/dist/esm/{utils-ByihSvdD.js → utils-BdBZQD1G.js} +1 -1
- package/dist/esm/{utils-UkIEdf2x.js → utils-D8J8OvxY.js} +314 -262
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/business-address-schema.js +1 -1
- package/dist/module/business-bank-account-form-step2.js +1 -1
- package/dist/module/business-identity-schema.js +3 -3
- package/dist/module/business-owners-form-step2.js +21 -3
- package/dist/module/justifi-apple-pay2.js +1 -0
- package/dist/module/owner-form2.js +10 -1
- package/dist/module/package.js +1 -1
- package/dist/module/schema-validations.js +5 -4
- package/dist/module/utils2.js +314 -262
- package/dist/types/components/business-forms/owner-form/owner-form.d.ts +2 -0
- package/dist/types/components/business-forms/schemas/schema-validations.d.ts +1 -0
- package/dist/types/components.d.ts +2 -0
- package/dist/webcomponents/p-01b2a5f7.entry.js +1 -0
- package/dist/webcomponents/{p-e1e89f6e.entry.js → p-0a1a87fc.entry.js} +1 -1
- package/dist/webcomponents/{p-4b0ca3a9.entry.js → p-0b01e411.entry.js} +1 -1
- package/dist/webcomponents/p-0b394a01.entry.js +1 -0
- package/dist/webcomponents/{p-11676b4f.entry.js → p-0e440060.entry.js} +1 -1
- package/dist/webcomponents/{p-22b33811.entry.js → p-146be0a4.entry.js} +1 -1
- package/dist/webcomponents/{p-f805c9ac.entry.js → p-1d6c0821.entry.js} +1 -1
- package/dist/webcomponents/p-240b7c93.entry.js +1 -0
- package/dist/webcomponents/{p-5e5c4673.entry.js → p-265501d4.entry.js} +1 -1
- package/dist/webcomponents/{p-89b241c4.entry.js → p-37daa694.entry.js} +1 -1
- package/dist/webcomponents/{p-0a00dcdd.entry.js → p-38b3078b.entry.js} +1 -1
- package/dist/webcomponents/{p-0af21df8.entry.js → p-403290aa.entry.js} +1 -1
- package/dist/webcomponents/p-4d48d2dc.entry.js +1 -0
- package/dist/webcomponents/{p-87300137.entry.js → p-4e8cd7f2.entry.js} +1 -1
- package/dist/webcomponents/{p-307f21be.entry.js → p-4f48afc8.entry.js} +1 -1
- package/dist/webcomponents/{p-02b57eb4.entry.js → p-515a7a8d.entry.js} +1 -1
- package/dist/webcomponents/{p-46a06ce6.entry.js → p-528eef2d.entry.js} +1 -1
- package/dist/webcomponents/p-54fb057f.entry.js +1 -0
- package/dist/webcomponents/{p-b73bbc07.entry.js → p-62604f23.entry.js} +1 -1
- package/dist/webcomponents/{p-e033ced2.entry.js → p-65c3288f.entry.js} +1 -1
- package/dist/webcomponents/{p-c56f5f40.entry.js → p-68d936ba.entry.js} +1 -1
- package/dist/webcomponents/{p-c8c22f93.entry.js → p-69fc3436.entry.js} +1 -1
- package/dist/webcomponents/{p-7776b52e.entry.js → p-6f0bca42.entry.js} +1 -1
- package/dist/webcomponents/{p-6d52cdd4.entry.js → p-75b5d6ac.entry.js} +1 -1
- package/dist/webcomponents/{p-e1a5abf5.entry.js → p-75f59ef5.entry.js} +1 -1
- package/dist/webcomponents/{p-2a51351a.entry.js → p-7d469a3c.entry.js} +1 -1
- package/dist/webcomponents/{p-28c15ab5.entry.js → p-863a7764.entry.js} +1 -1
- package/dist/webcomponents/{p-6afa032b.entry.js → p-97d05b62.entry.js} +1 -1
- package/dist/webcomponents/{p-Cl5FLD11.js → p-AyLerOda.js} +1 -1
- package/dist/webcomponents/{p-CP0Y19co.js → p-B2CETB_i.js} +1 -1
- package/dist/webcomponents/{p-aZW-ztog.js → p-B5RnJXKG.js} +1 -1
- package/dist/webcomponents/{p-CykiDks3.js → p-B9fbqJSf.js} +1 -1
- package/dist/webcomponents/p-BwPS3971.js +1 -0
- package/dist/webcomponents/p-Bx1A5sQR.js +1 -0
- package/dist/webcomponents/p-CDKbfqXv.js +1 -0
- package/dist/webcomponents/p-CPEn7kso.js +1 -0
- package/dist/webcomponents/p-CXIRxyAr.js +1 -0
- package/dist/webcomponents/{p-IFhZFB4v.js → p-CXZRiaUw.js} +1 -1
- package/dist/webcomponents/{p-D_ULdupf.js → p-Cc6TzfDZ.js} +1 -1
- package/dist/webcomponents/p-DHB_XJ12.js +1 -0
- package/dist/webcomponents/p-DM45Ihwj.js +1 -0
- package/dist/webcomponents/p-DMB1dln7.js +1 -0
- package/dist/webcomponents/{p-DItiYtAy.js → p-DMGq2Rrg.js} +1 -1
- package/dist/webcomponents/{p-ph646MSj.js → p-DNIKPf_U.js} +1 -1
- package/dist/webcomponents/p-Dsm1jN-a.js +1 -0
- package/dist/webcomponents/p-Dwe9A9Fk.js +1 -0
- package/dist/webcomponents/{p-BSPC4CZ0.js → p-HtdZEF57.js} +1 -1
- package/dist/webcomponents/{p-36b16db2.entry.js → p-a1528ee7.entry.js} +1 -1
- package/dist/webcomponents/{p-dc58e903.entry.js → p-a44c5178.entry.js} +1 -1
- package/dist/webcomponents/{p-B7wfdVBf.js → p-aBD3IP5P.js} +1 -1
- package/dist/webcomponents/p-b4219b06.entry.js +1 -0
- package/dist/webcomponents/{p-bca814a3.entry.js → p-b89ae2e8.entry.js} +1 -1
- package/dist/webcomponents/{p-38ca3c41.entry.js → p-bbc21966.entry.js} +1 -1
- package/dist/webcomponents/{p-0ee9f410.entry.js → p-d2bb9c6c.entry.js} +1 -1
- package/dist/webcomponents/{p-67da2742.entry.js → p-e1382f38.entry.js} +1 -1
- package/dist/webcomponents/{p-a5443425.entry.js → p-e1e91bbb.entry.js} +1 -1
- package/dist/webcomponents/{p-bb8b2408.entry.js → p-e254c3e3.entry.js} +1 -1
- package/dist/webcomponents/{p-5fa6f56b.entry.js → p-fc1ba772.entry.js} +1 -1
- package/dist/webcomponents/p-rpFC83GL.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +6 -6
- package/dist/webcomponents/p-6198ad44.entry.js +0 -1
- package/dist/webcomponents/p-8JdL0AX6.js +0 -1
- package/dist/webcomponents/p-8aec636e.entry.js +0 -1
- package/dist/webcomponents/p-913a64d5.entry.js +0 -1
- package/dist/webcomponents/p-BaZTheg9.js +0 -1
- package/dist/webcomponents/p-BxpXvXn-.js +0 -1
- package/dist/webcomponents/p-CI-XifDo.js +0 -1
- package/dist/webcomponents/p-CWook735.js +0 -1
- package/dist/webcomponents/p-DGsgQXco.js +0 -1
- package/dist/webcomponents/p-DK_bjvk1.js +0 -1
- package/dist/webcomponents/p-DWdj6UhE.js +0 -1
- package/dist/webcomponents/p-D_MQLfzf.js +0 -1
- package/dist/webcomponents/p-UEdJ7AYc.js +0 -1
- package/dist/webcomponents/p-a30af70b.entry.js +0 -1
- package/dist/webcomponents/p-e11988db.entry.js +0 -1
- package/dist/webcomponents/p-f9d76373.entry.js +0 -1
- package/dist/webcomponents/p-rhS9V7qg.js +0 -1
- /package/dist/webcomponents/{p-BM88Upl5.js → p-Ds_P-dB8.js} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-CV0Pyo1O.js';
|
|
2
|
-
import { C as ComponentErrorSeverity, b as ComponentErrorCodes, B as EntityDocument, x as PLAID_ERROR_SEVERITY, y as PLAID_ERROR_MESSAGES, z as PlaidErrorCodes } from './Plaid-
|
|
3
|
-
import { m as makeGetBusiness, a as makePatchBusiness, c as makePostBankAccount, d as makePostDocumentRecord, e as makeGetIdentity, f as makePatchIdentity, g as makePostIdentity } from './payment-provisioning-actions-
|
|
4
|
-
import { B as BusinessService, a as BusinessBankAccountService, D as DocumentRecordService, I as IdentityService } from './business.service-
|
|
5
|
-
import { a as additionalQuestionsSchema, d as businessCoreInfoSchemaCAN, b as businessCoreInfoSchemaUSA, g as identitySchemaByCountry, h as addressSchemaByCountry } from './business-identity-schema-
|
|
2
|
+
import { C as ComponentErrorSeverity, b as ComponentErrorCodes, B as EntityDocument, x as PLAID_ERROR_SEVERITY, y as PLAID_ERROR_MESSAGES, z as PlaidErrorCodes } from './Plaid-D389VmvK.js';
|
|
3
|
+
import { m as makeGetBusiness, a as makePatchBusiness, c as makePostBankAccount, d as makePostDocumentRecord, e as makeGetIdentity, f as makePatchIdentity, g as makePostIdentity } from './payment-provisioning-actions-BJYx_JgF.js';
|
|
4
|
+
import { B as BusinessService, a as BusinessBankAccountService, D as DocumentRecordService, I as IdentityService } from './business.service-BJ3lvMNr.js';
|
|
5
|
+
import { a as additionalQuestionsSchema, d as businessCoreInfoSchemaCAN, b as businessCoreInfoSchemaUSA, g as identitySchemaByCountry, h as addressSchemaByCountry } from './business-identity-schema-CXfLi-Wi.js';
|
|
6
6
|
import { F as FormController, c as create$3, a as create$6, b as create$7 } from './index.esm-KCSohgHx.js';
|
|
7
7
|
import { A as AdditionalQuestions, C as CountryCode, e as CoreBusinessInfo, R as Representative, f as Address, O as Owner } from './Business-BcNb9bVO.js';
|
|
8
8
|
import { C as CURRENCY_MASK, P as PHONE_MASKS, I as IDENTITY_MASKS } from './form-input-masks-CVaOFfrI.js';
|
|
@@ -14,17 +14,17 @@ import { n as numberOnlyHandler } from './utils-BnjCmwMr.js';
|
|
|
14
14
|
import './config-state-kKn89dp1.js';
|
|
15
15
|
import './dinero-HXpYMWUU.js';
|
|
16
16
|
import './Pagination-CLHwhyvu.js';
|
|
17
|
-
import {
|
|
17
|
+
import { C as accountNumberValidation, D as accountTypeValidation, v as identityNameValidation, E as nicknameValidation, F as bankNameValidation, G as numbersOnlyRegex, H as routingNumberValidation } from './schema-validations-DJilm-Nh.js';
|
|
18
18
|
import { B as Button } from './button-BvzOzV4l.js';
|
|
19
19
|
import './event-types-CZfYo5-1.js';
|
|
20
20
|
import { c as countryLabels } from './country-config-CEJVOOGe.js';
|
|
21
|
-
import { s as snakeCaseToHumanReadable, b as formatDate, d as formatTime } from './utils-
|
|
21
|
+
import { s as snakeCaseToHumanReadable, b as formatDate, d as formatTime } from './utils-D8J8OvxY.js';
|
|
22
22
|
import { S as Skeleton } from './skeleton-BEHo2ypu.js';
|
|
23
23
|
import { u as updateFormValues, a as updateAddressFormValues, b as updateDateOfBirthFormValues } from './input-handlers-1lVyzImK.js';
|
|
24
|
-
import { A as Api } from './Api-
|
|
24
|
+
import { A as Api } from './Api-CwaiizF1.js';
|
|
25
25
|
import { S as StyledHost } from './styled-host-D84RBv1W.js';
|
|
26
|
-
import { P as PlaidService } from './plaid.service-
|
|
27
|
-
import './utils-
|
|
26
|
+
import { P as PlaidService } from './plaid.service-CvfKh_3f.js';
|
|
27
|
+
import './utils-BdBZQD1G.js';
|
|
28
28
|
import './_commonjsHelpers-BFTU3MAI.js';
|
|
29
29
|
import './index-cDVGjRkU.js';
|
|
30
30
|
|
|
@@ -794,8 +794,26 @@ const BusinessOwnersFormStep = class {
|
|
|
794
794
|
if (!this.allowOptionalFields) {
|
|
795
795
|
const percentages = await Promise.all(this.refs.map(ref => ref.getOwnershipPercentage()));
|
|
796
796
|
const total = percentages.reduce((sum, p) => sum + (parseFloat(p) || 0), 0);
|
|
797
|
-
if (total
|
|
798
|
-
await Promise.all(this.refs.map(ref => ref.setOwnershipPercentageError('Ownership percentages
|
|
797
|
+
if (total > 100) {
|
|
798
|
+
await Promise.all(this.refs.map(ref => ref.setOwnershipPercentageError('Ownership percentages cannot exceed 100%')));
|
|
799
|
+
return;
|
|
800
|
+
}
|
|
801
|
+
const emails = await Promise.all(this.refs.map(ref => ref.getEmail()));
|
|
802
|
+
const seen = new Map();
|
|
803
|
+
let hasDuplicateEmail = false;
|
|
804
|
+
await Promise.all(emails.map(async (raw, i) => {
|
|
805
|
+
const email = raw === null || raw === void 0 ? void 0 : raw.trim().toLowerCase();
|
|
806
|
+
if (!email)
|
|
807
|
+
return;
|
|
808
|
+
if (seen.has(email)) {
|
|
809
|
+
hasDuplicateEmail = true;
|
|
810
|
+
await this.refs[i].setEmailError('This email is already in use');
|
|
811
|
+
}
|
|
812
|
+
else {
|
|
813
|
+
seen.set(email, i);
|
|
814
|
+
}
|
|
815
|
+
}));
|
|
816
|
+
if (hasDuplicateEmail) {
|
|
799
817
|
return;
|
|
800
818
|
}
|
|
801
819
|
}
|
|
@@ -852,7 +870,7 @@ const BusinessOwnersFormStep = class {
|
|
|
852
870
|
}
|
|
853
871
|
const isRepresentativeOwner = this.ownersPayload.some(owner => owner.id === this.representative.id);
|
|
854
872
|
const shouldShowRepresentativeIsOwner = this.representativeIsOwner === null && !isRepresentativeOwner;
|
|
855
|
-
return (h(Host, null, h("div", null, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Owners"), h("form-control-tooltip", { helpText: "For partnerships, LLCs or privately held corporations, the business is required to apply with all individuals with 25% or more ownership to the application. For charities and registered non-profits, the business is required to apply with 1 individual with substantial control over the entity, such as a board member or director." })), h("hr", { class: "mt-2" }), shouldShowRepresentativeIsOwner && (h("div", { class: `alert alert-warning mb-3`, part: alert }, h("div", { class: "card-body" }, h("div", { class: "d-flex align-items-center mb-3" }, h("strong", null, "Is the representative of this business also an owner?")), h("div", { class: "d-flex gap-2" }, h(Button, { variant: 'primary', onClick: () => this.handleRepresentativeIsOwnerChange(true) }, "Yes"), h(Button, { variant: 'secondary', onClick: () => this.handleRepresentativeIsOwnerChange(false) }, "No"))))), h("div", { class: 'row gy-3' }, this.ownersPayload.map((owner) => {
|
|
873
|
+
return (h(Host, null, h("div", null, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Owners"), h("form-control-tooltip", { helpText: "For partnerships, LLCs or privately held corporations, the business is required to apply with all individuals with 25% or more ownership to the application. For charities and registered non-profits, the business is required to apply with 1 individual with substantial control over the entity, such as a board member or director." })), h("hr", { class: "mt-2" }), h("div", { class: "alert alert-info mb-3", part: alert }, "All owners with 25% or more ownership of the business must be registered."), shouldShowRepresentativeIsOwner && (h("div", { class: `alert alert-warning mb-3`, part: alert }, h("div", { class: "card-body" }, h("div", { class: "d-flex align-items-center mb-3" }, h("strong", null, "Is the representative of this business also an owner?")), h("div", { class: "d-flex gap-2" }, h(Button, { variant: 'primary', onClick: () => this.handleRepresentativeIsOwnerChange(true) }, "Yes"), h(Button, { variant: 'secondary', onClick: () => this.handleRepresentativeIsOwnerChange(false) }, "No"))))), h("div", { class: 'row gy-3' }, this.ownersPayload.map((owner) => {
|
|
856
874
|
return (h("owner-form", { key: owner.id, authToken: this.authToken, businessId: this.businessId, ownerId: owner.id, removeOwner: this.removeOwnerForm, newFormOpen: this.newFormOpen, ownersLength: this.ownersPayload.length, country: this.country, allowOptionalFields: this.allowOptionalFields, ref: (ref) => this.matchRef(ref, owner.id) }));
|
|
857
875
|
})), h("div", { class: 'd-flex justify-content-start' }, h("div", { class: 'gap-2' }, h(Button, { variant: 'primary', onClick: () => this.addOwnerForm(true), hidden: !this.showAddOwnerButton }, "Add Owner"))))));
|
|
858
876
|
}
|
|
@@ -1693,6 +1711,13 @@ const OwnerForm = class {
|
|
|
1693
1711
|
async setOwnershipPercentageError(message) {
|
|
1694
1712
|
this.formController.setFieldError('ownership_percentage', message);
|
|
1695
1713
|
}
|
|
1714
|
+
async getEmail() {
|
|
1715
|
+
var _a;
|
|
1716
|
+
return ((_a = this.formController.values.getValue()) === null || _a === void 0 ? void 0 : _a.email) || null;
|
|
1717
|
+
}
|
|
1718
|
+
async setEmailError(message) {
|
|
1719
|
+
this.formController.setFieldError('email', message);
|
|
1720
|
+
}
|
|
1696
1721
|
async validate() {
|
|
1697
1722
|
return this.formController.validate();
|
|
1698
1723
|
}
|
|
@@ -1767,7 +1792,7 @@ const OwnerForm = class {
|
|
|
1767
1792
|
});
|
|
1768
1793
|
}
|
|
1769
1794
|
render() {
|
|
1770
|
-
return (h(Host, { key: '
|
|
1795
|
+
return (h(Host, { key: 'e628c778d2e7de03bdb875e87c187f144afac228', style: { display: 'block' } }, h("form", { key: 'd1b0e0d7c206bebed3d3f739508dd3fac0bbd020', onSubmit: this.validateAndSubmit }, h("fieldset", { key: '368f6bfe44d04942258e1f9505ff1a2706037984' }, h("legend", { key: '366bfe58261387fc4451e4d6cc4329ad9ef25dd2', class: "fw-semibold fs-5 w-100", part: heading3 }, this.formTitle), h("br", { key: '371523b457c8e84823f95e5cf3689b70d67f7bea' }), h("div", { key: '679ad0c81b2f42a9b2cac98cedd0b93e2a8f36dd', class: "row gy-3" }, h("owner-form-inputs", { key: '51d530e14c7285ca6a6e8973c3beef1fc531f23f', ownerDefaultValue: this.formController.getInitialValues(), errors: this.errors, formController: this.formController, country: this.country }), h("div", { key: 'cb483350fbd599cff44da719e46354c72ac18e73', class: "d-flex gap-2 justify-content-start" }, h(Button, { key: '942416cb204c37605d0842173b13cd2a822064bf', variant: "secondary", type: "button", onClick: this.handleRemoveOwner, hidden: !this.showRemoveButton }, "Remove"), h(Button, { key: '043722cb68bf00de53f038d1e01fab61de0ef448', variant: "primary", type: "submit", onClick: this.handleAddOwner, disabled: this.isLoading }, this.submitButtonText))), h("hr", { key: 'cec3b41d7256f2ecd60a08966b08a84339654190' })))));
|
|
1771
1796
|
}
|
|
1772
1797
|
static get watchers() { return {
|
|
1773
1798
|
"isLoading": ["loadingWatcher"]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host } from './index-CV0Pyo1O.js';
|
|
2
2
|
import { c as create$3, F as FormController } from './index.esm-KCSohgHx.js';
|
|
3
|
-
import {
|
|
3
|
+
import { z as postalValidation, A as stateValidation, h as cityValidation, l as lineTwoValidation, j as lineOneValidation, v as identityNameValidation, B as checkoutBillingStateOptions } from './schema-validations-DJilm-Nh.js';
|
|
4
4
|
import { al as billingForm } from './parts-CPKMvyV_.js';
|
|
5
5
|
import { c as checkoutStore, o as onChange } from './checkout.store-DibfdUMm.js';
|
|
6
6
|
import { P as PAYMENT_METHODS } from './index-DkoufM1t.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-CV0Pyo1O.js';
|
|
2
2
|
import './config-state-kKn89dp1.js';
|
|
3
3
|
import './dinero-HXpYMWUU.js';
|
|
4
|
-
import { E as EntityDocumentType } from './Plaid-
|
|
4
|
+
import { E as EntityDocumentType } from './Plaid-D389VmvK.js';
|
|
5
5
|
import './Pagination-CLHwhyvu.js';
|
|
6
6
|
import './Business-BcNb9bVO.js';
|
|
7
7
|
import './index-cDVGjRkU.js';
|
|
8
|
-
import './utils-
|
|
8
|
+
import './utils-D8J8OvxY.js';
|
|
9
9
|
|
|
10
10
|
const BankAccountDocumentFormInputs = class {
|
|
11
11
|
constructor(hostRef) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { h, r as registerInstance } from './index-CV0Pyo1O.js';
|
|
2
2
|
import { S as Skeleton } from './skeleton-BEHo2ypu.js';
|
|
3
3
|
import { w as waitForConfig, c as configState } from './config-state-kKn89dp1.js';
|
|
4
|
-
import { e as generateTabId } from './utils-
|
|
5
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
4
|
+
import { e as generateTabId } from './utils-D8J8OvxY.js';
|
|
5
|
+
import { c as checkPkgVersion } from './check-pkg-version-DTxsw7UI.js';
|
|
6
6
|
import { c as checkoutStore } from './checkout.store-DibfdUMm.js';
|
|
7
7
|
import './parts-CPKMvyV_.js';
|
|
8
8
|
import './index-cDVGjRkU.js';
|
|
9
9
|
import './dinero-HXpYMWUU.js';
|
|
10
|
-
import './package-
|
|
10
|
+
import './package-Dwe9A9Fk.js';
|
|
11
11
|
import './index-DkoufM1t.js';
|
|
12
12
|
|
|
13
13
|
const BankAccountFormSkeleton = (props) => {
|
package/dist/esm/{business-identity-schema-C1ot9Zas.js → business-identity-schema-CXfLi-Wi.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as create$3, a as create$6 } from './index.esm-KCSohgHx.js';
|
|
2
|
-
import { m as makeTaxIdValidation, d as dateOfIncorporationValidation, i as industryValidation, b as businessClassificationValidation, a as doingBusinessAsValidation, p as phoneValidation, e as emailValidation, w as websiteUrlValidation, c as businessNameValidation, t as taxIdValidation, o as otherPaymentDetailsValidation, f as whenServiceReceivedValidation, r as revenueValidation, g as paymentVolumeValidation, h as cityValidation, l as lineTwoValidation, j as lineOneValidation, k as makePostalValidation, n as ownershipPercentageValidation, s as ssnValidation, q as dobValidation, u as identityTitleValidation, v as identityNameValidation, x as makeIdentityNumberValidation } from './schema-validations-
|
|
2
|
+
import { m as makeTaxIdValidation, d as dateOfIncorporationValidation, i as industryValidation, b as businessClassificationValidation, a as doingBusinessAsValidation, p as phoneValidation, e as emailValidation, w as websiteUrlValidation, c as businessNameValidation, t as taxIdValidation, o as otherPaymentDetailsValidation, f as whenServiceReceivedValidation, r as revenueValidation, g as paymentVolumeValidation, h as cityValidation, l as lineTwoValidation, j as lineOneValidation, k as makePostalValidation, n as ownershipPercentageValidation, s as ssnValidation, q as dobValidation, u as identityTitleValidation, v as identityNameValidation, x as makeOwnershipPercentageValidation, y as makeIdentityNumberValidation } from './schema-validations-DJilm-Nh.js';
|
|
3
3
|
import { C as CountryCode } from './Business-BcNb9bVO.js';
|
|
4
4
|
import { c as countryLabels } from './country-config-CEJVOOGe.js';
|
|
5
5
|
|
|
@@ -127,7 +127,7 @@ const strictSchemaUSA = (role) => create$3({
|
|
|
127
127
|
// ssn required unless last4 provided (handled inside ssnValidation)
|
|
128
128
|
identification_number: ssnValidation,
|
|
129
129
|
ownership_percentage: role === 'owner'
|
|
130
|
-
?
|
|
130
|
+
? makeOwnershipPercentageValidation(25).required('Enter ownership percentage')
|
|
131
131
|
: ownershipPercentageValidation.nullable(),
|
|
132
132
|
address: addressSchemaUSA(false),
|
|
133
133
|
});
|
|
@@ -152,7 +152,7 @@ const strictSchemaCAN = (role) => create$3({
|
|
|
152
152
|
ssn_last4: create$6().nullable(),
|
|
153
153
|
identification_number: makeIdentityNumberValidation(CountryCode.CAN).nullable(),
|
|
154
154
|
ownership_percentage: role === 'owner'
|
|
155
|
-
?
|
|
155
|
+
? makeOwnershipPercentageValidation(25).required('Enter ownership percentage')
|
|
156
156
|
: ownershipPercentageValidation.nullable(),
|
|
157
157
|
address: addressSchemaCAN(false),
|
|
158
158
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { h, r as registerInstance } from './index-CV0Pyo1O.js';
|
|
2
2
|
import { S as Skeleton } from './skeleton-BEHo2ypu.js';
|
|
3
3
|
import { w as waitForConfig, c as configState } from './config-state-kKn89dp1.js';
|
|
4
|
-
import { e as generateTabId } from './utils-
|
|
5
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
4
|
+
import { e as generateTabId } from './utils-D8J8OvxY.js';
|
|
5
|
+
import { c as checkPkgVersion } from './check-pkg-version-DTxsw7UI.js';
|
|
6
6
|
import './parts-CPKMvyV_.js';
|
|
7
7
|
import './index-cDVGjRkU.js';
|
|
8
8
|
import './dinero-HXpYMWUU.js';
|
|
9
|
-
import './package-
|
|
9
|
+
import './package-Dwe9A9Fk.js';
|
|
10
10
|
|
|
11
11
|
const CardFormSkeleton = (props) => {
|
|
12
12
|
const { isReady } = props;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ComponentErrorSeverity } from './Plaid-
|
|
2
|
-
import { g as getErrorCode, a as getErrorMessage } from './utils-
|
|
1
|
+
import { C as ComponentErrorSeverity } from './Plaid-D389VmvK.js';
|
|
2
|
+
import { g as getErrorCode, a as getErrorMessage } from './utils-BdBZQD1G.js';
|
|
3
3
|
|
|
4
4
|
const makeGetCheckout = ({ authToken, checkoutId, service }) => async ({ onSuccess, onError }) => {
|
|
5
5
|
var _a;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-CV0Pyo1O.js';
|
|
2
|
-
import { f as formatCurrency } from './utils-
|
|
2
|
+
import { f as formatCurrency } from './utils-D8J8OvxY.js';
|
|
3
3
|
import { t as text, a8 as heading4 } from './parts-CPKMvyV_.js';
|
|
4
4
|
import { B as Button } from './button-BvzOzV4l.js';
|
|
5
5
|
import { S as Skeleton } from './skeleton-BEHo2ypu.js';
|
|
6
6
|
import './event-types-CZfYo5-1.js';
|
|
7
|
-
import { C as ComponentErrorSeverity, b as ComponentErrorCodes } from './Plaid-
|
|
8
|
-
import { g as getErrorCode, a as getErrorMessage } from './utils-
|
|
9
|
-
import { D as DisputeManagementClickActions, a as DisputeService } from './event-types-
|
|
10
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
11
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
7
|
+
import { C as ComponentErrorSeverity, b as ComponentErrorCodes } from './Plaid-D389VmvK.js';
|
|
8
|
+
import { g as getErrorCode, a as getErrorMessage } from './utils-BdBZQD1G.js';
|
|
9
|
+
import { D as DisputeManagementClickActions, a as DisputeService } from './event-types-D37YHLaN.js';
|
|
10
|
+
import { c as checkPkgVersion } from './check-pkg-version-DTxsw7UI.js';
|
|
11
|
+
import { J as JustifiAnalytics } from './Analytics-BlTw8DMC.js';
|
|
12
12
|
import './dinero-HXpYMWUU.js';
|
|
13
|
-
import './Api-
|
|
13
|
+
import './Api-CwaiizF1.js';
|
|
14
14
|
import './config-state-kKn89dp1.js';
|
|
15
15
|
import './index-cDVGjRkU.js';
|
|
16
16
|
import './Pagination-CLHwhyvu.js';
|
|
17
17
|
import './Business-BcNb9bVO.js';
|
|
18
|
-
import './package-
|
|
18
|
+
import './package-Dwe9A9Fk.js';
|
|
19
19
|
|
|
20
20
|
const makeUpdateDisputeResponse = ({ authToken, disputeId, service }) => async ({ payload, onSuccess, onError, final = () => { } }) => {
|
|
21
21
|
var _a;
|
|
@@ -3,7 +3,7 @@ import { q as inputInvalid, u as inputDisabled, v as inputFocused, w as input, x
|
|
|
3
3
|
import { F as FormControlHelpText } from './form-control-help-text-DGMpMuAm.js';
|
|
4
4
|
import { F as FormControlErrorText } from './form-control-error-text-Di9QePY5.js';
|
|
5
5
|
import './event-types-CZfYo5-1.js';
|
|
6
|
-
import { f as formatCurrency } from './utils-
|
|
6
|
+
import { f as formatCurrency } from './utils-D8J8OvxY.js';
|
|
7
7
|
import './dinero-HXpYMWUU.js';
|
|
8
8
|
|
|
9
9
|
const FormControlMonetary = class {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { B as Business } from './Business-BcNb9bVO.js';
|
|
2
|
-
import { C as ComponentErrorSeverity } from './Plaid-
|
|
3
|
-
import { g as getErrorCode, a as getErrorMessage } from './utils-
|
|
2
|
+
import { C as ComponentErrorSeverity } from './Plaid-D389VmvK.js';
|
|
3
|
+
import { g as getErrorCode, a as getErrorMessage } from './utils-BdBZQD1G.js';
|
|
4
4
|
|
|
5
5
|
const makeGetBusiness = ({ id, authToken, service }) => async ({ onSuccess, onError, final }) => {
|
|
6
6
|
var _a;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import './config-state-kKn89dp1.js';
|
|
2
2
|
import './dinero-HXpYMWUU.js';
|
|
3
|
-
import { e as Payment, C as ComponentErrorSeverity } from './Plaid-
|
|
3
|
+
import { e as Payment, C as ComponentErrorSeverity } from './Plaid-D389VmvK.js';
|
|
4
4
|
import './Pagination-CLHwhyvu.js';
|
|
5
5
|
import './Business-BcNb9bVO.js';
|
|
6
|
-
import { g as getErrorCode, a as getErrorMessage } from './utils-
|
|
6
|
+
import { g as getErrorCode, a as getErrorMessage } from './utils-BdBZQD1G.js';
|
|
7
7
|
|
|
8
8
|
const makeGetPaymentDetails = ({ id, authToken, service }) => async ({ onSuccess, onError, final }) => {
|
|
9
9
|
var _a;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api } from './Api-
|
|
2
|
-
import { S as SubAccount, C as ComponentErrorSeverity } from './Plaid-
|
|
1
|
+
import { A as Api } from './Api-CwaiizF1.js';
|
|
2
|
+
import { S as SubAccount, C as ComponentErrorSeverity } from './Plaid-D389VmvK.js';
|
|
3
3
|
import './Pagination-CLHwhyvu.js';
|
|
4
4
|
import './Business-BcNb9bVO.js';
|
|
5
5
|
import './config-state-kKn89dp1.js';
|
|
6
6
|
import './dinero-HXpYMWUU.js';
|
|
7
|
-
import { g as getErrorCode, a as getErrorMessage } from './utils-
|
|
7
|
+
import { g as getErrorCode, a as getErrorMessage } from './utils-BdBZQD1G.js';
|
|
8
8
|
|
|
9
9
|
const api = Api();
|
|
10
10
|
class SubAccountService {
|
|
@@ -3,7 +3,7 @@ import { c as createStore } from './index-cDVGjRkU.js';
|
|
|
3
3
|
import { a3 as inputInvalidAndFocused, q as inputInvalid, v as inputFocused, w as input, x as label } from './parts-CPKMvyV_.js';
|
|
4
4
|
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-BFTU3MAI.js';
|
|
5
5
|
import { F as FormControlErrorText } from './form-control-error-text-Di9QePY5.js';
|
|
6
|
-
import { p as packageJson } from './package-
|
|
6
|
+
import { p as packageJson } from './package-Dwe9A9Fk.js';
|
|
7
7
|
|
|
8
8
|
const iframeInputStylesStore = createStore({
|
|
9
9
|
focused: {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-CV0Pyo1O.js';
|
|
2
|
-
import { A as Api } from './Api-
|
|
3
|
-
import { A as ApplePayConfig, r as ApplePayHelpers, s as ApplePayPaymentRequest, t as ApplePaySessionStatus, u as ApplePayButtonStyle, v as ApplePayButtonType, w as ApplePayMerchantCapability, C as ComponentErrorSeverity, b as ComponentErrorCodes, c as ComponentErrorMessages, I as ICheckoutStatus, x as PLAID_ERROR_SEVERITY, y as PLAID_ERROR_MESSAGES, z as PlaidErrorCodes } from './Plaid-
|
|
2
|
+
import { A as Api } from './Api-CwaiizF1.js';
|
|
3
|
+
import { A as ApplePayConfig, r as ApplePayHelpers, s as ApplePayPaymentRequest, t as ApplePaySessionStatus, u as ApplePayButtonStyle, v as ApplePayButtonType, w as ApplePayMerchantCapability, C as ComponentErrorSeverity, b as ComponentErrorCodes, c as ComponentErrorMessages, I as ICheckoutStatus, x as PLAID_ERROR_SEVERITY, y as PLAID_ERROR_MESSAGES, z as PlaidErrorCodes } from './Plaid-D389VmvK.js';
|
|
4
4
|
import { S as StyledHost } from './styled-host-D84RBv1W.js';
|
|
5
5
|
import './event-types-CZfYo5-1.js';
|
|
6
6
|
import { S as Skeleton } from './skeleton-BEHo2ypu.js';
|
|
7
7
|
import { c as checkoutStore, o as onChange, a as onAnyChange, g as getAvailablePaymentMethodTypes, b as getCheckoutState } from './checkout.store-DibfdUMm.js';
|
|
8
8
|
import { t as text, r as radioListItem } from './parts-CPKMvyV_.js';
|
|
9
|
-
import { f as formatCurrency } from './utils-
|
|
9
|
+
import { f as formatCurrency } from './utils-D8J8OvxY.js';
|
|
10
10
|
import { w as waitForConfig, c as configState } from './config-state-kKn89dp1.js';
|
|
11
11
|
import { H as Header1 } from './header-1-evYxFIGN.js';
|
|
12
12
|
import { H as Header2, b as insuranceValuesOn, h as hasInsuranceValueChanged, i as insuranceValues } from './insurance-state-C5OZqDCT.js';
|
|
13
13
|
import { H as Header3 } from './header-3-BUDap2xY.js';
|
|
14
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
15
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
14
|
+
import { J as JustifiAnalytics } from './Analytics-BlTw8DMC.js';
|
|
15
|
+
import { c as checkPkgVersion } from './check-pkg-version-DTxsw7UI.js';
|
|
16
16
|
import './dinero-HXpYMWUU.js';
|
|
17
17
|
import './Pagination-CLHwhyvu.js';
|
|
18
18
|
import './Business-BcNb9bVO.js';
|
|
19
|
-
import { m as makeGetCheckout, a as makeCheckoutComplete } from './checkout-actions-
|
|
20
|
-
import { C as CheckoutService } from './checkout.service-
|
|
21
|
-
import { P as PlaidService } from './plaid.service-
|
|
19
|
+
import { m as makeGetCheckout, a as makeCheckoutComplete } from './checkout-actions-Bmn6v-SS.js';
|
|
20
|
+
import { C as CheckoutService } from './checkout.service-DMbW2pn3.js';
|
|
21
|
+
import { P as PlaidService } from './plaid.service-CvfKh_3f.js';
|
|
22
22
|
import { P as PAYMENT_METHODS, a as PaymentMethod, b as PAYMENT_MODE } from './index-DkoufM1t.js';
|
|
23
23
|
import { C as CardBrandLabels } from './payment-method-option-utils-lUHAQVFl.js';
|
|
24
24
|
import './index-cDVGjRkU.js';
|
|
25
|
-
import './package-
|
|
26
|
-
import './utils-
|
|
25
|
+
import './package-Dwe9A9Fk.js';
|
|
26
|
+
import './utils-BdBZQD1G.js';
|
|
27
27
|
|
|
28
28
|
const JustifiRadioListItem = class {
|
|
29
29
|
constructor(hostRef) {
|
|
@@ -80,6 +80,7 @@ class ApplePayService {
|
|
|
80
80
|
}
|
|
81
81
|
catch (error) {
|
|
82
82
|
console.error('Backend validation failed:', error);
|
|
83
|
+
// eslint-disable-next-line preserve-caught-error
|
|
83
84
|
throw new Error('Merchant validation failed');
|
|
84
85
|
}
|
|
85
86
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-CV0Pyo1O.js';
|
|
2
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
3
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
2
|
+
import { J as JustifiAnalytics } from './Analytics-BlTw8DMC.js';
|
|
3
|
+
import { c as checkPkgVersion } from './check-pkg-version-DTxsw7UI.js';
|
|
4
4
|
import { w as waitForConfig } from './config-state-kKn89dp1.js';
|
|
5
5
|
import { S as StyledHost } from './styled-host-D84RBv1W.js';
|
|
6
6
|
import './event-types-CZfYo5-1.js';
|
|
7
|
-
import './package-
|
|
8
|
-
import './Api-
|
|
9
|
-
import './utils-
|
|
7
|
+
import './package-Dwe9A9Fk.js';
|
|
8
|
+
import './Api-CwaiizF1.js';
|
|
9
|
+
import './utils-D8J8OvxY.js';
|
|
10
10
|
import './dinero-HXpYMWUU.js';
|
|
11
|
-
import './Plaid-
|
|
11
|
+
import './Plaid-D389VmvK.js';
|
|
12
12
|
import './Pagination-CLHwhyvu.js';
|
|
13
13
|
import './Business-BcNb9bVO.js';
|
|
14
14
|
import './index-cDVGjRkU.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-CV0Pyo1O.js';
|
|
2
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
3
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
2
|
+
import { c as checkPkgVersion } from './check-pkg-version-DTxsw7UI.js';
|
|
3
|
+
import { J as JustifiAnalytics } from './Analytics-BlTw8DMC.js';
|
|
4
4
|
import { w as waitForConfig } from './config-state-kKn89dp1.js';
|
|
5
5
|
import { S as StyledHost } from './styled-host-D84RBv1W.js';
|
|
6
6
|
import './event-types-CZfYo5-1.js';
|
|
7
|
-
import './package-
|
|
8
|
-
import './Api-
|
|
9
|
-
import './utils-
|
|
7
|
+
import './package-Dwe9A9Fk.js';
|
|
8
|
+
import './Api-CwaiizF1.js';
|
|
9
|
+
import './utils-D8J8OvxY.js';
|
|
10
10
|
import './dinero-HXpYMWUU.js';
|
|
11
|
-
import './Plaid-
|
|
11
|
+
import './Plaid-D389VmvK.js';
|
|
12
12
|
import './Pagination-CLHwhyvu.js';
|
|
13
13
|
import './Business-BcNb9bVO.js';
|
|
14
14
|
import './index-cDVGjRkU.js';
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { h, F as Fragment, r as registerInstance, c as createEvent } from './index-CV0Pyo1O.js';
|
|
2
2
|
import { E as ErrorState } from './utils-CX6puxwf.js';
|
|
3
|
-
import { B as BusinessService } from './business.service-
|
|
4
|
-
import { m as makeGetBusiness } from './get-business-
|
|
5
|
-
import { C as ComponentErrorSeverity, b as ComponentErrorCodes } from './Plaid-
|
|
6
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
7
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
3
|
+
import { B as BusinessService } from './business.service-BJ3lvMNr.js';
|
|
4
|
+
import { m as makeGetBusiness } from './get-business-CDr7VlTq.js';
|
|
5
|
+
import { C as ComponentErrorSeverity, b as ComponentErrorCodes } from './Plaid-D389VmvK.js';
|
|
6
|
+
import { J as JustifiAnalytics } from './Analytics-BlTw8DMC.js';
|
|
7
|
+
import { c as checkPkgVersion } from './check-pkg-version-DTxsw7UI.js';
|
|
8
8
|
import { S as StyledHost } from './styled-host-D84RBv1W.js';
|
|
9
9
|
import './event-types-CZfYo5-1.js';
|
|
10
10
|
import { S as Skeleton } from './skeleton-BEHo2ypu.js';
|
|
11
11
|
import './parts-CPKMvyV_.js';
|
|
12
|
-
import './Api-
|
|
12
|
+
import './Api-CwaiizF1.js';
|
|
13
13
|
import './config-state-kKn89dp1.js';
|
|
14
14
|
import './index-cDVGjRkU.js';
|
|
15
|
-
import './utils-
|
|
15
|
+
import './utils-D8J8OvxY.js';
|
|
16
16
|
import './dinero-HXpYMWUU.js';
|
|
17
17
|
import './Pagination-CLHwhyvu.js';
|
|
18
18
|
import './Business-BcNb9bVO.js';
|
|
19
|
-
import './utils-
|
|
20
|
-
import './package-
|
|
19
|
+
import './utils-BdBZQD1G.js';
|
|
20
|
+
import './package-Dwe9A9Fk.js';
|
|
21
21
|
|
|
22
22
|
const BusinessDetailsLoading = () => {
|
|
23
23
|
const Block = () => (h("div", { class: "mt-5" }, h(Skeleton, { width: "40%", height: "1.5rem" }), h("hr", null), h("div", { class: "row g-3" }, h("div", { class: "col-12 col-md-6" }, h(Skeleton, null), h(Skeleton, null), h(Skeleton, null)), h("div", { class: "col-12 col-md-6" }, h(Skeleton, null), h(Skeleton, null), h(Skeleton, null)))));
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as createEvent } from './index-CV0Pyo1O.js';
|
|
2
2
|
import { c as create$3, F as FormController } from './index.esm-KCSohgHx.js';
|
|
3
|
-
import { b as businessCoreInfoSchemaUSA, i as identitySchemaUSA, a as additionalQuestionsSchema, c as addressSchemaUSA, d as businessCoreInfoSchemaCAN, e as identitySchemaCAN, f as addressSchemaCAN } from './business-identity-schema-
|
|
3
|
+
import { b as businessCoreInfoSchemaUSA, i as identitySchemaUSA, a as additionalQuestionsSchema, c as addressSchemaUSA, d as businessCoreInfoSchemaCAN, e as identitySchemaCAN, f as addressSchemaCAN } from './business-identity-schema-CXfLi-Wi.js';
|
|
4
4
|
import './config-state-kKn89dp1.js';
|
|
5
5
|
import './dinero-HXpYMWUU.js';
|
|
6
|
-
import { C as ComponentErrorSeverity, b as ComponentErrorCodes } from './Plaid-
|
|
6
|
+
import { C as ComponentErrorSeverity, b as ComponentErrorCodes } from './Plaid-D389VmvK.js';
|
|
7
7
|
import './Pagination-CLHwhyvu.js';
|
|
8
8
|
import { C as CountryCode, B as Business, b as BusinessFormServerErrors } from './Business-BcNb9bVO.js';
|
|
9
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
9
|
+
import { J as JustifiAnalytics } from './Analytics-BlTw8DMC.js';
|
|
10
10
|
import { B as Button } from './button-BvzOzV4l.js';
|
|
11
11
|
import { S as StyledHost } from './styled-host-D84RBv1W.js';
|
|
12
12
|
import { H as Header1 } from './header-1-evYxFIGN.js';
|
|
13
13
|
import './event-types-CZfYo5-1.js';
|
|
14
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
14
|
+
import { c as checkPkgVersion } from './check-pkg-version-DTxsw7UI.js';
|
|
15
15
|
import { S as Skeleton } from './skeleton-BEHo2ypu.js';
|
|
16
16
|
import { B as BusinessFormClickActions } from './event-types-XYgDHrVL.js';
|
|
17
|
-
import { m as makeGetBusiness, a as makePatchBusiness } from './payment-provisioning-actions-
|
|
18
|
-
import { B as BusinessService } from './business.service-
|
|
17
|
+
import { m as makeGetBusiness, a as makePatchBusiness } from './payment-provisioning-actions-BJYx_JgF.js';
|
|
18
|
+
import { B as BusinessService } from './business.service-BJ3lvMNr.js';
|
|
19
19
|
import './_commonjsHelpers-BFTU3MAI.js';
|
|
20
|
-
import './schema-validations-
|
|
20
|
+
import './schema-validations-DJilm-Nh.js';
|
|
21
21
|
import './country-config-CEJVOOGe.js';
|
|
22
22
|
import './business-form-options-DXjZp4Rl.js';
|
|
23
23
|
import './index-cDVGjRkU.js';
|
|
24
|
-
import './utils-
|
|
25
|
-
import './package-
|
|
26
|
-
import './Api-
|
|
24
|
+
import './utils-D8J8OvxY.js';
|
|
25
|
+
import './package-Dwe9A9Fk.js';
|
|
26
|
+
import './Api-CwaiizF1.js';
|
|
27
27
|
import './parts-CPKMvyV_.js';
|
|
28
|
-
import './utils-
|
|
28
|
+
import './utils-BdBZQD1G.js';
|
|
29
29
|
|
|
30
30
|
const businessFormSchemaUSA = create$3(Object.assign(Object.assign({}, businessCoreInfoSchemaUSA().fields), { legal_address: addressSchemaUSA(), additional_questions: additionalQuestionsSchema(), representative: identitySchemaUSA('representative') }));
|
|
31
31
|
create$3(Object.assign(Object.assign({}, businessCoreInfoSchemaCAN().fields), { legal_address: addressSchemaCAN(), additional_questions: additionalQuestionsSchema(), representative: identitySchemaCAN('representative') }));
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-CV0Pyo1O.js';
|
|
2
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
3
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
2
|
+
import { J as JustifiAnalytics } from './Analytics-BlTw8DMC.js';
|
|
3
|
+
import { c as checkPkgVersion } from './check-pkg-version-DTxsw7UI.js';
|
|
4
4
|
import { w as waitForConfig } from './config-state-kKn89dp1.js';
|
|
5
5
|
import { S as StyledHost } from './styled-host-D84RBv1W.js';
|
|
6
6
|
import './event-types-CZfYo5-1.js';
|
|
7
|
-
import './package-
|
|
8
|
-
import './Api-
|
|
9
|
-
import './utils-
|
|
7
|
+
import './package-Dwe9A9Fk.js';
|
|
8
|
+
import './Api-CwaiizF1.js';
|
|
9
|
+
import './utils-D8J8OvxY.js';
|
|
10
10
|
import './dinero-HXpYMWUU.js';
|
|
11
|
-
import './Plaid-
|
|
11
|
+
import './Plaid-D389VmvK.js';
|
|
12
12
|
import './Pagination-CLHwhyvu.js';
|
|
13
13
|
import './Business-BcNb9bVO.js';
|
|
14
14
|
import './index-cDVGjRkU.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-CV0Pyo1O.js';
|
|
2
2
|
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-BFTU3MAI.js';
|
|
3
|
-
import { C as ComponentErrorSeverity, b as ComponentErrorCodes } from './Plaid-
|
|
4
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
5
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
6
|
-
import './utils-
|
|
3
|
+
import { C as ComponentErrorSeverity, b as ComponentErrorCodes } from './Plaid-D389VmvK.js';
|
|
4
|
+
import { J as JustifiAnalytics } from './Analytics-BlTw8DMC.js';
|
|
5
|
+
import { c as checkPkgVersion } from './check-pkg-version-DTxsw7UI.js';
|
|
6
|
+
import './utils-D8J8OvxY.js';
|
|
7
7
|
import './dinero-HXpYMWUU.js';
|
|
8
|
-
import './package-
|
|
9
|
-
import './Api-
|
|
8
|
+
import './package-Dwe9A9Fk.js';
|
|
9
|
+
import './Api-CwaiizF1.js';
|
|
10
10
|
import './config-state-kKn89dp1.js';
|
|
11
11
|
import './index-cDVGjRkU.js';
|
|
12
12
|
import './Pagination-CLHwhyvu.js';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-CV0Pyo1O.js';
|
|
2
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
3
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
2
|
+
import { J as JustifiAnalytics } from './Analytics-BlTw8DMC.js';
|
|
3
|
+
import { c as checkPkgVersion } from './check-pkg-version-DTxsw7UI.js';
|
|
4
4
|
import { c as checkoutStore } from './checkout.store-DibfdUMm.js';
|
|
5
5
|
import { c as checkoutSummary } from './parts-CPKMvyV_.js';
|
|
6
6
|
import { S as StyledHost } from './styled-host-D84RBv1W.js';
|
|
7
7
|
import './event-types-CZfYo5-1.js';
|
|
8
8
|
import { P as PAYMENT_METHODS } from './index-DkoufM1t.js';
|
|
9
|
-
import './package-
|
|
10
|
-
import './Api-
|
|
9
|
+
import './package-Dwe9A9Fk.js';
|
|
10
|
+
import './Api-CwaiizF1.js';
|
|
11
11
|
import './config-state-kKn89dp1.js';
|
|
12
12
|
import './index-cDVGjRkU.js';
|
|
13
|
-
import './utils-
|
|
13
|
+
import './utils-D8J8OvxY.js';
|
|
14
14
|
import './dinero-HXpYMWUU.js';
|
|
15
|
-
import './Plaid-
|
|
15
|
+
import './Plaid-D389VmvK.js';
|
|
16
16
|
import './Pagination-CLHwhyvu.js';
|
|
17
17
|
import './Business-BcNb9bVO.js';
|
|
18
18
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-CV0Pyo1O.js';
|
|
2
2
|
import { l as lodashExports } from './lodash-BF_QgjtL.js';
|
|
3
3
|
import './config-state-kKn89dp1.js';
|
|
4
|
-
import { c as convertToUTC, a as convertToLocal } from './utils-
|
|
5
|
-
import { I as ICheckoutStatus, a as ICheckoutPaymentModeParam } from './Plaid-
|
|
4
|
+
import { c as convertToUTC, a as convertToLocal } from './utils-D8J8OvxY.js';
|
|
5
|
+
import { I as ICheckoutStatus, a as ICheckoutPaymentModeParam } from './Plaid-D389VmvK.js';
|
|
6
6
|
import './Pagination-CLHwhyvu.js';
|
|
7
7
|
import './Business-BcNb9bVO.js';
|
|
8
8
|
import { f as filterParams, p as propsParams, c as clearParams } from './checkouts-list-params-state-CiGfmyWW.js';
|