@justifi/webcomponents 6.12.4 → 6.12.6-rc.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/{Analytics-BERGweGK.js → Analytics-CexlbLRl.js} +4 -4
- package/dist/cjs/{Plaid-BRSyOOuw.js → Plaid-KasiL5mp.js} +14 -19
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +1 -1
- package/dist/cjs/{additional-questions-form-step_14.cjs.entry.js → additional-questions-form-step_15.cjs.entry.js} +379 -169
- package/dist/cjs/additional-questions_5.cjs.entry.js +7 -7
- package/dist/cjs/additional-statement_8.cjs.entry.js +1 -1
- package/dist/cjs/bank-account-billing-form-simple_4.cjs.entry.js +7 -7
- package/dist/cjs/bank-account-document-form-inputs.cjs.entry.js +21 -0
- package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
- package/dist/cjs/{business-form-options-D_nM7NDk.js → business-form-options-CnlrfbQ6.js} +51 -0
- package/dist/cjs/{business-identity-schema-DI9XFbaD.js → business-identity-schema-CC1wOwXd.js} +11 -7
- package/dist/cjs/{business.service-Z9OACEQL.js → business.service-BBovho58.js} +1 -1
- package/dist/cjs/card-form.cjs.entry.js +2 -2
- package/dist/cjs/{check-pkg-version-ByKpJklZ.js → check-pkg-version-jeIQGJ8A.js} +1 -1
- package/dist/cjs/{checkout.service-BZOyqXgW.js → checkout.service-C0M9hmsL.js} +1 -1
- package/dist/cjs/{country-config-D7fss2oF.js → country-config-Ck-eEeZZ.js} +3 -0
- package/dist/cjs/dispute-notification_2.cjs.entry.js +6 -6
- package/dist/cjs/{event-types-AU1B76Vm.js → event-types-DDNVjmfR.js} +1 -1
- package/dist/cjs/form-address-fields_3.cjs.entry.js +1 -1
- package/dist/cjs/form-control-number_2.cjs.entry.js +5 -4
- package/dist/cjs/{get-business-aR-C83KX.js → get-business-Ggw-UjXj.js} +2 -2
- package/dist/cjs/{get-payment-details-dwhA02Zl.js → get-payment-details-BVKRwME1.js} +2 -2
- package/dist/cjs/{get-subaccounts-B1jmSa2d.js → get-subaccounts-RRmcS9xU.js} +2 -2
- package/dist/cjs/hidden-input_2.cjs.entry.js +1 -1
- package/dist/cjs/{index.esm-C1ZPG85l.js → index.esm-BNETBIV_.js} +0 -18
- package/dist/cjs/justifi-apple-pay_11.cjs.entry.js +8 -8
- package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +5 -5
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +5 -5
- package/dist/cjs/justifi-billing-form-full.cjs.entry.js +1 -1
- package/dist/cjs/justifi-billing-form.cjs.entry.js +1 -1
- package/dist/cjs/justifi-business-details.cjs.entry.js +8 -8
- package/dist/cjs/justifi-business-form.cjs.entry.js +13 -13
- package/dist/cjs/justifi-card-billing-form-simple.cjs.entry.js +1 -1
- package/dist/cjs/justifi-card-form.cjs.entry.js +5 -5
- package/dist/cjs/justifi-checkout.cjs.entry.js +5 -5
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +8 -8
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +7 -7
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +6 -6
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payment-details.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/justifi-payments-list.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payout-details.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +9 -9
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +9 -9
- package/dist/cjs/justifi-save-new-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +6 -6
- package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +6 -6
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +8 -8
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-B6L3zyfG.js → package-CDegPd7E.js} +1 -1
- package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
- package/dist/cjs/{payment-provisioning-actions-BiSpysjW.js → payment-provisioning-actions-Cn8bgHKu.js} +2 -2
- package/dist/cjs/payment-provisioning-form-buttons_2.cjs.entry.js +3 -2
- package/dist/cjs/{payment.service-ByrgA_QZ.js → payment.service-CbIxt30x.js} +1 -1
- package/dist/cjs/{payout.service-CnQm_BpU.js → payout.service-DVMvsdAf.js} +1 -1
- package/dist/cjs/{payouts-status-AuS3Mp0V.js → payouts-status-CzS2CLGW.js} +2 -2
- package/dist/cjs/{plaid.service-Dlb8EUR8.js → plaid.service-DNT_DX6z.js} +1 -1
- package/dist/cjs/{schema-validations-_yWWnnaG.js → schema-validations-DackMxv7.js} +23 -9
- package/dist/cjs/styled-host-Ch0-dxF-.js +11 -0
- package/dist/cjs/{terminal.service-BdwHQ3Vv.js → terminal.service-BBHixg-d.js} +1 -1
- package/dist/cjs/{utils-FVGp6se3.js → utils-kDsk4nqH.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/Analytics.js +2 -2
- package/dist/collection/api/Document.js +14 -7
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/business-details/owner-details/owner-details.js +1 -1
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +2 -2
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +5 -3
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +4 -2
- package/dist/collection/components/business-forms/owner-form/owner-form.js +46 -1
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/additional-questions-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +6 -114
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +9 -0
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +4 -2
- package/dist/collection/components/business-forms/payment-provisioning/document-upload/document-upload-form-step.js +435 -0
- package/dist/collection/components/business-forms/payment-provisioning/document-upload/document-upload-list.js +52 -0
- package/dist/collection/components/business-forms/payment-provisioning/document-upload/document-upload-options.js +72 -0
- package/dist/collection/components/business-forms/payment-provisioning/justifi-payment-provisioning.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +3 -2
- package/dist/collection/components/business-forms/schemas/business-bank-account-schema.js +10 -38
- package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +1 -1
- package/dist/collection/components/business-forms/schemas/business-identity-schema.js +7 -3
- package/dist/collection/components/business-forms/schemas/schema-validations.js +10 -7
- package/dist/collection/components/business-forms/utils/business-form-options.js +50 -0
- package/dist/collection/components/business-forms/utils/country-config.js +2 -0
- package/dist/collection/components/checkout/billing-form/billing-form-full.js +2 -2
- package/dist/collection/components/checkout/billing-form/billing-form-schema.js +1 -1
- package/dist/collection/ui-components/form/form-control-file.js +1 -1
- package/dist/collection/utils/checkout-billing-state-options.js +12 -0
- package/dist/docs.json +496 -64
- package/dist/esm/{Analytics-B1bQP71R.js → Analytics-5J6H0ALl.js} +4 -4
- package/dist/esm/{Plaid-l6nNIjab.js → Plaid-BM3JUIG5.js} +15 -19
- package/dist/esm/additional-questions-details_5.entry.js +1 -1
- package/dist/esm/{additional-questions-form-step_14.entry.js → additional-questions-form-step_15.entry.js} +378 -169
- package/dist/esm/additional-questions_5.entry.js +8 -8
- package/dist/esm/additional-statement_8.entry.js +1 -1
- package/dist/esm/bank-account-billing-form-simple_4.entry.js +7 -7
- package/dist/esm/bank-account-document-form-inputs.entry.js +19 -0
- package/dist/esm/bank-account-form.entry.js +2 -2
- package/dist/esm/{business-form-options-DRalxlqN.js → business-form-options-DXjZp4Rl.js} +51 -1
- package/dist/esm/{business-identity-schema-D-Nk9aGV.js → business-identity-schema-D8L_UfWl.js} +11 -7
- package/dist/esm/{business.service-C31wbMVs.js → business.service-C4BD3pf7.js} +1 -1
- package/dist/esm/card-form.entry.js +2 -2
- package/dist/esm/{check-pkg-version-CNwUC4SV.js → check-pkg-version-C7cHTIM0.js} +1 -1
- package/dist/esm/{checkout.service-cVdOGDuI.js → checkout.service-DmWeKNQs.js} +1 -1
- package/dist/esm/{country-config-B_fuF6JU.js → country-config-BW2dUoTJ.js} +3 -1
- package/dist/esm/dispute-notification_2.entry.js +6 -6
- package/dist/esm/{event-types-DalU_6SB.js → event-types-eIqsrwmW.js} +1 -1
- package/dist/esm/form-address-fields_3.entry.js +1 -1
- package/dist/esm/form-control-number_2.entry.js +5 -4
- package/dist/esm/{get-business-Gg6qn5on.js → get-business-DtFHdc37.js} +2 -2
- package/dist/esm/{get-payment-details-BiWgSJau.js → get-payment-details-26GxiYgv.js} +2 -2
- package/dist/esm/{get-subaccounts-CkjZeR9U.js → get-subaccounts-xkGMPstt.js} +2 -2
- package/dist/esm/hidden-input_2.entry.js +1 -1
- package/dist/esm/{index.esm-CgNcFueq.js → index.esm-KCSohgHx.js} +1 -18
- package/dist/esm/justifi-apple-pay_11.entry.js +8 -8
- package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +5 -5
- package/dist/esm/justifi-bank-account-form.entry.js +5 -5
- package/dist/esm/justifi-billing-form-full.entry.js +1 -1
- package/dist/esm/justifi-billing-form.entry.js +1 -1
- package/dist/esm/justifi-business-details.entry.js +8 -8
- package/dist/esm/justifi-business-form.entry.js +13 -13
- package/dist/esm/justifi-card-billing-form-simple.entry.js +1 -1
- package/dist/esm/justifi-card-form.entry.js +5 -5
- package/dist/esm/justifi-checkout.entry.js +5 -5
- package/dist/esm/justifi-checkouts-list-filters.entry.js +2 -2
- package/dist/esm/justifi-checkouts-list.entry.js +8 -8
- package/dist/esm/justifi-dispute-management.entry.js +7 -7
- package/dist/esm/justifi-gross-payment-chart.entry.js +6 -6
- package/dist/esm/justifi-order-terminals.entry.js +9 -9
- package/dist/esm/justifi-payment-details.entry.js +8 -8
- package/dist/esm/justifi-payment-provisioning.entry.js +9 -9
- package/dist/esm/justifi-payment-transactions-list.entry.js +7 -7
- package/dist/esm/justifi-payments-list-filters.entry.js +1 -1
- package/dist/esm/justifi-payments-list.entry.js +7 -7
- package/dist/esm/justifi-payout-details.entry.js +8 -8
- package/dist/esm/justifi-payout-transactions-list.entry.js +7 -7
- package/dist/esm/justifi-payouts-list-filters.entry.js +2 -2
- package/dist/esm/justifi-payouts-list.entry.js +9 -9
- package/dist/esm/justifi-refund-payment.entry.js +9 -9
- package/dist/esm/justifi-save-new-payment-method.entry.js +1 -1
- package/dist/esm/justifi-season-interruption-insurance.entry.js +6 -6
- package/dist/esm/justifi-skeleton.entry.js +1 -1
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +2 -2
- package/dist/esm/justifi-terminal-orders-list.entry.js +6 -6
- package/dist/esm/justifi-terminals-list-filters.entry.js +2 -2
- package/dist/esm/justifi-terminals-list.entry.js +8 -8
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-OGt0dCJl.js → package-8R9xLun-.js} +1 -1
- package/dist/esm/payment-method-option.entry.js +1 -1
- package/dist/esm/{payment-provisioning-actions-cl5xIYnF.js → payment-provisioning-actions-fWdNDUdq.js} +2 -2
- package/dist/esm/payment-provisioning-form-buttons_2.entry.js +3 -2
- package/dist/esm/{payment.service-5_u-UzTY.js → payment.service-CWR7jF-K.js} +1 -1
- package/dist/esm/{payout.service-D2zS5y8N.js → payout.service-CFU362cH.js} +1 -1
- package/dist/esm/{payouts-status-DCjCGTaa.js → payouts-status-D2G7FKu1.js} +2 -2
- package/dist/esm/{plaid.service-BiJ65YG8.js → plaid.service-0hd1i5Ga.js} +1 -1
- package/dist/esm/{schema-validations-u9_XnlUL.js → schema-validations-CjqWFLKt.js} +23 -10
- package/dist/esm/styled-host-D84RBv1W.js +9 -0
- package/dist/esm/{terminal.service-CIxDfM7V.js → terminal.service-Dr6dERcJ.js} +1 -1
- package/dist/esm/{utils-C1B2hVAB.js → utils-q7KOrlSX.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Analytics.js +2 -2
- package/dist/module/Plaid.js +15 -19
- package/dist/module/additional-questions-form-step2.js +11 -5
- package/dist/module/bank-account-document-form-inputs.js +55 -1
- package/dist/module/billing-form-full2.js +2 -2
- package/dist/module/billing-form-schema.js +1 -1
- package/dist/module/business-address-schema.js +1 -1
- package/dist/module/business-bank-account-form-step2.js +25 -178
- package/dist/module/business-core-info-form-step2.js +2 -2
- package/dist/module/business-core-info-schema.js +2 -2
- package/dist/module/business-core-info2.js +3 -3
- package/dist/module/business-documents-on-file2.js +1 -1
- package/dist/module/business-form-options.js +51 -1
- package/dist/module/business-identity-schema.js +8 -4
- package/dist/module/business-owners-form-step2.js +9 -0
- package/dist/module/business-representative-form-inputs2.js +5 -3
- package/dist/module/business-representative2.js +6 -5
- package/dist/module/button.js +1 -1
- package/dist/module/country-config.js +3 -1
- package/dist/module/document-upload-form-step.d.ts +11 -0
- package/dist/module/document-upload-form-step.js +6 -0
- package/dist/module/document-upload-form-step2.js +397 -0
- package/dist/module/document-upload-list.d.ts +11 -0
- package/dist/module/document-upload-list.js +6 -0
- package/dist/module/document-upload-list2.js +46 -0
- package/dist/module/form-control-number2.js +1 -1
- package/dist/module/form-control-textarea2.js +1 -1
- package/dist/module/form.js +1 -18
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/iframe-input2.js +1 -1
- package/dist/module/justifi-checkouts-list-filters.js +1 -1
- package/dist/module/justifi-checkouts-list.js +2 -2
- package/dist/module/justifi-dispute-management.js +1 -1
- package/dist/module/justifi-modular-checkout2.js +1 -1
- package/dist/module/justifi-order-terminals.js +2 -2
- package/dist/module/justifi-payment-details.js +1 -1
- package/dist/module/justifi-payment-provisioning.js +33 -27
- package/dist/module/justifi-payment-transactions-list.js +2 -2
- package/dist/module/justifi-payments-list.js +1 -1
- package/dist/module/justifi-payout-details.js +1 -1
- package/dist/module/justifi-payout-transactions-list.js +2 -2
- package/dist/module/justifi-payouts-list-filters.js +1 -1
- package/dist/module/justifi-payouts-list.js +2 -2
- package/dist/module/justifi-refund-payment.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +1 -1
- package/dist/module/justifi-terminal-orders-list.js +2 -2
- package/dist/module/justifi-terminals-list-filters.js +1 -1
- package/dist/module/justifi-terminals-list.js +2 -2
- package/dist/module/owner-details2.js +1 -1
- package/dist/module/owner-form-inputs2.js +5 -3
- package/dist/module/owner-form2.js +10 -1
- package/dist/module/package.js +1 -1
- package/dist/module/parts.js +1 -1
- package/dist/module/payment-provisioning-actions.js +1 -1
- package/dist/module/payment-provisioning-form-steps2.js +35 -28
- package/dist/module/plaid-verification2.js +1 -1
- package/dist/module/schema-validations.js +21 -8
- package/dist/module/skeleton.js +1 -1
- package/dist/module/styled-host.js +1 -1
- package/dist/module/table.js +1 -1
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/types/api/Document.d.ts +15 -2
- package/dist/types/components/business-forms/owner-form/owner-form.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +1 -12
- package/dist/types/components/business-forms/payment-provisioning/document-upload/document-upload-form-step.d.ts +44 -0
- package/dist/types/components/business-forms/payment-provisioning/document-upload/document-upload-list.d.ts +6 -0
- package/dist/types/components/business-forms/payment-provisioning/document-upload/document-upload-options.d.ts +44 -0
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-form-steps.d.ts +1 -0
- package/dist/types/components/business-forms/schemas/business-bank-account-schema.d.ts +4 -4
- package/dist/types/components/business-forms/utils/business-form-options.d.ts +1 -0
- package/dist/types/components.d.ts +67 -0
- package/dist/types/utils/checkout-billing-state-options.d.ts +9 -0
- package/dist/webcomponents/{p-oTtn8xDw.js → p--RbNhyet.js} +1 -1
- package/dist/webcomponents/{p-49a4123c.entry.js → p-04d6d725.entry.js} +1 -1
- package/dist/webcomponents/{p-7119fddd.entry.js → p-086f7eea.entry.js} +1 -1
- package/dist/webcomponents/{p-ca87c609.entry.js → p-0a4fcb15.entry.js} +1 -1
- package/dist/webcomponents/{p-b0b6083f.entry.js → p-0b169fac.entry.js} +1 -1
- package/dist/webcomponents/{p-f1b9cbf0.entry.js → p-0e4cda77.entry.js} +1 -1
- package/dist/webcomponents/{p-b62ff001.entry.js → p-1e34c488.entry.js} +1 -1
- package/dist/webcomponents/{p-d24240a5.entry.js → p-29b82954.entry.js} +1 -1
- package/dist/webcomponents/{p-c8f3656f.entry.js → p-2e063c5d.entry.js} +1 -1
- package/dist/webcomponents/p-37676092.entry.js +1 -0
- package/dist/webcomponents/{p-31452258.entry.js → p-3960e6b7.entry.js} +1 -1
- package/dist/webcomponents/{p-cde76bf8.entry.js → p-3bcac405.entry.js} +1 -1
- package/dist/webcomponents/{p-c4767c7b.entry.js → p-3e10a0de.entry.js} +1 -1
- package/dist/webcomponents/{p-8964f4ca.entry.js → p-48a866ae.entry.js} +1 -1
- package/dist/webcomponents/{p-a80f69a9.entry.js → p-4b14b7e7.entry.js} +1 -1
- package/dist/webcomponents/p-54ee2a30.entry.js +1 -0
- package/dist/webcomponents/{p-a1dcdc8b.entry.js → p-562447ad.entry.js} +4 -4
- package/dist/webcomponents/{p-3f5e9afb.entry.js → p-58adef16.entry.js} +1 -1
- package/dist/webcomponents/{p-3d6b9434.entry.js → p-5ec9634c.entry.js} +1 -1
- package/dist/webcomponents/{p-ea0d7a98.entry.js → p-5f071ee0.entry.js} +1 -1
- package/dist/webcomponents/{p-4ec433f4.entry.js → p-6b21947c.entry.js} +1 -1
- package/dist/webcomponents/{p-383b8317.entry.js → p-80fdd013.entry.js} +1 -1
- package/dist/webcomponents/{p-f3ff7e00.entry.js → p-85c0abdb.entry.js} +1 -1
- package/dist/webcomponents/{p-0708cb76.entry.js → p-86eb32d8.entry.js} +1 -1
- package/dist/webcomponents/p-8R9xLun-.js +1 -0
- package/dist/webcomponents/{p-ae91fc9b.entry.js → p-8db8d7e7.entry.js} +1 -1
- package/dist/webcomponents/{p-91aef5bf.entry.js → p-8ed1bc07.entry.js} +1 -1
- package/dist/webcomponents/p-92d8a14b.entry.js +1 -0
- package/dist/webcomponents/{p-b272a29d.entry.js → p-92e7ce54.entry.js} +1 -1
- package/dist/webcomponents/{p-9153c121.entry.js → p-947950cc.entry.js} +1 -1
- package/dist/webcomponents/{p-6220a384.entry.js → p-9ce2a98a.entry.js} +1 -1
- package/dist/webcomponents/p-B1yVkh15.js +1 -0
- package/dist/webcomponents/{p-Bt4GjEWL.js → p-BBSnDYJw.js} +1 -1
- package/dist/webcomponents/{p-av6jyzyC.js → p-BSyTbuZy.js} +1 -1
- package/dist/webcomponents/{p-APOabprT.js → p-BrFax4_P.js} +1 -1
- package/dist/webcomponents/p-BzXQDB0t.js +1 -0
- package/dist/webcomponents/{p-BxKbnILQ.js → p-C-zuQNNP.js} +1 -1
- package/dist/webcomponents/{p-Cm9f5fyh.js → p-CDu7TeCZ.js} +1 -1
- package/dist/webcomponents/{p-BJu1-9kE.js → p-CL8LyqRI.js} +1 -1
- package/dist/webcomponents/p-CeW0EPHy.js +1 -0
- package/dist/webcomponents/{p-fE5A37L5.js → p-Cz0yhyYu.js} +1 -1
- package/dist/webcomponents/p-D9ZHVy-j.js +1 -0
- package/dist/webcomponents/{p-DwoT0UoX.js → p-D9sqTVmd.js} +1 -1
- package/dist/webcomponents/p-DV4n8kZd.js +1 -0
- package/dist/webcomponents/{p-Dk26hk5T.js → p-DdeBubpX.js} +1 -1
- package/dist/webcomponents/{p-mF5zKtkx.js → p-DvnFba1A.js} +1 -1
- package/dist/webcomponents/p-DzEdYT8R.js +1 -0
- package/dist/webcomponents/{p-NZS8uCtH.js → p-Dzv0P2Ly.js} +1 -1
- package/dist/webcomponents/{p-215c6b6b.entry.js → p-a2ed63df.entry.js} +1 -1
- package/dist/webcomponents/{p-a7a1b168.entry.js → p-a3b48ba3.entry.js} +1 -1
- package/dist/webcomponents/p-a4520dba.entry.js +1 -0
- package/dist/webcomponents/{p-7ebed752.entry.js → p-a5ad9183.entry.js} +1 -1
- package/dist/webcomponents/{p-8d173a7c.entry.js → p-a7e0ab9b.entry.js} +1 -1
- package/dist/webcomponents/p-a9976353.entry.js +1 -0
- package/dist/webcomponents/{p-d79c5ee4.entry.js → p-b17ce21d.entry.js} +1 -1
- package/dist/webcomponents/{p-45c0fb53.entry.js → p-ba2ab989.entry.js} +1 -1
- package/dist/webcomponents/{p-c9fe4f33.entry.js → p-c1b48216.entry.js} +1 -1
- package/dist/webcomponents/{p-07236291.entry.js → p-c2e09203.entry.js} +1 -1
- package/dist/webcomponents/{p-9d021e10.entry.js → p-c3cc4ad6.entry.js} +1 -1
- package/dist/webcomponents/p-c9599fc7.entry.js +1 -0
- package/dist/webcomponents/{p-58b5e08e.entry.js → p-ca1c2048.entry.js} +1 -1
- package/dist/webcomponents/p-cab840bd.entry.js +1 -0
- package/dist/webcomponents/p-cc558e25.entry.js +1 -0
- package/dist/webcomponents/{p-BXyADlAH.js → p-czJ2qSU1.js} +1 -1
- package/dist/webcomponents/p-de1ccbea.entry.js +1 -0
- package/dist/webcomponents/{p-8aa53ef2.entry.js → p-e0e6c2df.entry.js} +1 -1
- package/dist/webcomponents/p-n_pmf4AT.js +1 -0
- package/dist/webcomponents/p-vUN_uvAi.js +1 -0
- package/dist/webcomponents/{p-Ba8jdOkX.js → p-xWuaNtJy.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +15 -15
- package/readme.md +7 -14
- package/LICENSE +0 -21
- package/dist/cjs/styled-host-DAi5SuFa.js +0 -11
- package/dist/esm/styled-host-D6byRazK.js +0 -9
- package/dist/module/bank-account-document-form-inputs2.js +0 -57
- package/dist/webcomponents/p-35dd1fc0.entry.js +0 -1
- package/dist/webcomponents/p-5G1OMxZz.js +0 -1
- package/dist/webcomponents/p-69fdd137.entry.js +0 -1
- package/dist/webcomponents/p-6RTf1SXX.js +0 -1
- package/dist/webcomponents/p-9fc7714d.entry.js +0 -1
- package/dist/webcomponents/p-Aacb4jqT.js +0 -1
- package/dist/webcomponents/p-BqNNwq6C.js +0 -1
- package/dist/webcomponents/p-Cz_7BuGW.js +0 -1
- package/dist/webcomponents/p-DyucNSA4.js +0 -1
- package/dist/webcomponents/p-KXLYEe1D.js +0 -1
- package/dist/webcomponents/p-OGt0dCJl.js +0 -1
- package/dist/webcomponents/p-b341efd6.entry.js +0 -1
- package/dist/webcomponents/p-daaa2a99.entry.js +0 -1
- package/dist/webcomponents/p-e4cb7c21.entry.js +0 -1
- package/dist/webcomponents/p-ef85717f.entry.js +0 -1
- package/dist/webcomponents/p-f30069ea.entry.js +0 -1
- package/dist/webcomponents/p-nb_LhbJq.js +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host } from './index-CV0Pyo1O.js';
|
|
2
|
-
import {
|
|
2
|
+
import { a as businessServiceReceivedOptions, r as recurringPaymentsOptions, s as seasonalBusinessOptions, d as businessClassificationOptions, b as businessTitleOptions } from './business-form-options-DXjZp4Rl.js';
|
|
3
3
|
import { C as CURRENCY_MASK, I as IDENTITY_MASKS, P as PHONE_MASKS } from './form-input-masks-CVaOFfrI.js';
|
|
4
4
|
import { b as heading2, x as label, u as inputDisabled, a0 as buttonSecondary, ak as alertDanger } from './parts-CPKMvyV_.js';
|
|
5
|
-
import { e as CoreBusinessInfo, d as deconstructDate } from './Business-BcNb9bVO.js';
|
|
6
|
-
import {
|
|
5
|
+
import { e as CoreBusinessInfo, d as deconstructDate, C as CountryCode } from './Business-BcNb9bVO.js';
|
|
6
|
+
import { c as countryLabels } from './country-config-BW2dUoTJ.js';
|
|
7
7
|
|
|
8
8
|
const AdditionalQuestions = class {
|
|
9
9
|
constructor(hostRef) {
|
|
@@ -46,10 +46,10 @@ const BusinessCoreInfo = class {
|
|
|
46
46
|
render() {
|
|
47
47
|
var _a, _b;
|
|
48
48
|
const coreInfoDefaultValue = this.formController.getInitialValues();
|
|
49
|
-
return (h(Host, { key: '9c73706505c1fa0a56d7eb68fc1c4c0a6fffd1dc' }, h("fieldset", { key: 'd30bae9bab7ffd0e385ce276e7797cfd606e5a42' }, h("legend", { key: '5792db95cbbc080f3c990b4b9cea84484f374ec3', part: heading2 }, "General Info"), h("div", { key: 'ae7fa3c788d625d60cfc83b270312946dce97f0b', class: "row gy-3" }, h("div", { key: 'f7e5ab1ec57a8ce8de5ef8591ecad8b2fbd2f030', class: "col-12" }, h("form-control-text", { key: 'fa96501ceca053263029489a74bddd31222b1462', name: "legal_name", label: "Legal Name", defaultValue: coreInfoDefaultValue.legal_name, errorText: this.errors.legal_name, inputHandler: this.inputHandler })), h("div", { key: '21e14d0c13017376d7e74e84169f30fe05fa13af', class: "col-12" }, h("form-control-text", { key: '266187ec2209299a4b0ebc4c7d600c670de3b21f', name: "doing_business_as", label: "Doing Business As (DBA)", defaultValue: coreInfoDefaultValue.doing_business_as, errorText: this.errors.doing_business_as, inputHandler: this.inputHandler })), h("div", { key: 'd9bbb19b4ec15a18a0467444e964512114e74031', class: "col-12 col-md-8" }, h("form-control-select", { key: 'fe490b4abb4a1e07392db9ad4e4c15b02d928f4c', name: "classification", label: "Business Classification", options: businessClassificationOptions, defaultValue: coreInfoDefaultValue.classification, errorText: this.errors.classification, inputHandler: this.inputHandler })), h("div", { key: 'fc5dafdace199fd34d22f22d629d87fc8ff7cc3e', class: "col-12 col-md-4" }, h("form-control-date", { key: '0263cdef27d1b36c22bde16dbdb3777ad9ef62e3', name: "date_of_incorporation", label: "Date of Incorporation", defaultValue: coreInfoDefaultValue.date_of_incorporation, errorText: this.errors.date_of_incorporation, inputHandler: this.inputHandler })), h("div", { key: '2ae2b710d615e5314d4b836b9a498fc9140b749a', class: "col-12 col-md-6" }, h("form-control-text", { key: 'f6e738254ff7ead5680b895b6df77dc58efbc393', name: "industry", label: "Industry", defaultValue: coreInfoDefaultValue.industry, errorText: this.errors.industry, inputHandler: this.inputHandler })), h("div", { key: '8a01de0514d495b103aa43070d268070f57af62a', class: "col-12 col-md-6" }, (!((_a = this.coreInfo) === null || _a === void 0 ? void 0 : _a.tax_id_last4) || this.isEditingTaxId) ? (h("form-control-number-masked", { name: "tax_id", label: countryLabels[this.country].taxIdLabel, defaultValue: this.isEditingTaxId ? '' : coreInfoDefaultValue.tax_id, errorText: this.errors.tax_id, inputHandler: this.inputHandler, mask: IDENTITY_MASKS[this.country], helpText: countryLabels[this.country].taxIdHelpText })) : (h("div", null, h("label", { class: "form-label", part: label }, countryLabels[this.country].taxIdLabel), h("div", { class: "input-group mb-3" }, h("input", { type: "text", class: "form-control", part: inputDisabled, value: `****${(_b = this.coreInfo) === null || _b === void 0 ? void 0 : _b.tax_id_last4}`, disabled: true }), h("button", { class: "btn btn-secondary", type: "button", part: buttonSecondary, onClick: () => {
|
|
49
|
+
return (h(Host, { key: '9c73706505c1fa0a56d7eb68fc1c4c0a6fffd1dc' }, h("fieldset", { key: 'd30bae9bab7ffd0e385ce276e7797cfd606e5a42' }, h("legend", { key: '5792db95cbbc080f3c990b4b9cea84484f374ec3', part: heading2 }, "General Info"), h("div", { key: 'ae7fa3c788d625d60cfc83b270312946dce97f0b', class: "row gy-3" }, h("div", { key: 'f7e5ab1ec57a8ce8de5ef8591ecad8b2fbd2f030', class: "col-12" }, h("form-control-text", { key: 'fa96501ceca053263029489a74bddd31222b1462', name: "legal_name", label: "Legal Name", defaultValue: coreInfoDefaultValue.legal_name, errorText: this.errors.legal_name, inputHandler: this.inputHandler })), h("div", { key: '21e14d0c13017376d7e74e84169f30fe05fa13af', class: "col-12" }, h("form-control-text", { key: '266187ec2209299a4b0ebc4c7d600c670de3b21f', name: "doing_business_as", label: "Doing Business As (DBA)", defaultValue: coreInfoDefaultValue.doing_business_as, errorText: this.errors.doing_business_as, inputHandler: this.inputHandler })), h("div", { key: 'd9bbb19b4ec15a18a0467444e964512114e74031', class: "col-12 col-md-8" }, h("form-control-select", { key: 'fe490b4abb4a1e07392db9ad4e4c15b02d928f4c', name: "classification", label: "Business Classification", options: businessClassificationOptions, defaultValue: coreInfoDefaultValue.classification, errorText: this.errors.classification, inputHandler: this.inputHandler })), h("div", { key: 'fc5dafdace199fd34d22f22d629d87fc8ff7cc3e', class: "col-12 col-md-4" }, h("form-control-date", { key: '0263cdef27d1b36c22bde16dbdb3777ad9ef62e3', name: "date_of_incorporation", label: "Date of Incorporation", defaultValue: coreInfoDefaultValue.date_of_incorporation, errorText: this.errors.date_of_incorporation, inputHandler: this.inputHandler })), h("div", { key: '2ae2b710d615e5314d4b836b9a498fc9140b749a', class: "col-12 col-md-6" }, h("form-control-text", { key: 'f6e738254ff7ead5680b895b6df77dc58efbc393', name: "industry", label: "Industry", defaultValue: coreInfoDefaultValue.industry, errorText: this.errors.industry, inputHandler: this.inputHandler })), h("div", { key: '8a01de0514d495b103aa43070d268070f57af62a', class: "col-12 col-md-6" }, (!((_a = this.coreInfo) === null || _a === void 0 ? void 0 : _a.tax_id_last4) || this.isEditingTaxId) ? (h("form-control-number-masked", { name: "tax_id", label: countryLabels[this.country].taxIdLabelOptional || countryLabels[this.country].taxIdLabel, defaultValue: this.isEditingTaxId ? '' : coreInfoDefaultValue.tax_id, errorText: this.errors.tax_id, inputHandler: this.inputHandler, mask: IDENTITY_MASKS[this.country], helpText: countryLabels[this.country].taxIdHelpText })) : (h("div", null, h("label", { class: "form-label", part: label }, countryLabels[this.country].taxIdLabel), h("div", { class: "input-group mb-3" }, h("input", { type: "text", class: "form-control", part: inputDisabled, value: `****${(_b = this.coreInfo) === null || _b === void 0 ? void 0 : _b.tax_id_last4}`, disabled: true }), h("button", { class: "btn btn-secondary", type: "button", part: buttonSecondary, onClick: () => {
|
|
50
50
|
this.isEditingTaxId = true;
|
|
51
51
|
this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { tax_id: '' }));
|
|
52
|
-
} }, "Change"))))), h("div", { key: '
|
|
52
|
+
} }, "Change"))))), h("div", { key: 'a82eb6e652eb36fd57cd4a6c413e896aebfefce6', class: "col-12" }, h("form-control-text", { key: '930f882235d7c4902ae6daf54d644a0cd9d23daf', name: "website_url", label: "Website URL", defaultValue: coreInfoDefaultValue.website_url, errorText: this.errors.website_url, inputHandler: this.inputHandler })), h("div", { key: 'b2e819e6dfd97229e81e1860e1debe3ab95e3dc0', class: "col-12 col-md-6" }, h("form-control-text", { key: '7a4a158a1c64adfe90b825ff54c9f1f607c25bb7', name: "email", label: "Email Address", defaultValue: coreInfoDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '948c4f98a4a7a8b898058adb0957b7251d8c9fe4', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: 'dc5804f3c9254c859f5e6a78487dae423c9689f1', name: "phone", label: "Phone Number", defaultValue: coreInfoDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US }))))));
|
|
53
53
|
}
|
|
54
54
|
};
|
|
55
55
|
|
|
@@ -74,7 +74,7 @@ const BusinessRepresentative = class {
|
|
|
74
74
|
var _a;
|
|
75
75
|
const label = countryLabels[this.country].idNumberLabel;
|
|
76
76
|
const labelOptional = countryLabels[this.country].idNumberLabelOptional;
|
|
77
|
-
return ((_a = this.representative) === null || _a === void 0 ? void 0 : _a.ssn_last4) ? labelOptional : label;
|
|
77
|
+
return (((_a = this.representative) === null || _a === void 0 ? void 0 : _a.ssn_last4) || this.country === CountryCode.CAN) ? labelOptional : label;
|
|
78
78
|
}
|
|
79
79
|
componentDidLoad() {
|
|
80
80
|
this.formController.errors.subscribe(errors => (this.errors = Object.assign({}, errors.representative)));
|
|
@@ -83,11 +83,11 @@ const BusinessRepresentative = class {
|
|
|
83
83
|
render() {
|
|
84
84
|
var _a, _b;
|
|
85
85
|
const representativeDefaultValue = this.formController.getInitialValues().representative;
|
|
86
|
-
return (h(Host, { key: '
|
|
86
|
+
return (h(Host, { key: '9045242989e4d43d1e7b0770d0c5421005db78fa' }, h("fieldset", { key: '6643f8bd8e81bbc64ae8a0e9bcf317e16f91bab9' }, h("legend", { key: '20b897584a059ad98c109a37a3ea74c8be4b407c', part: heading2 }, "Representative"), h("div", { key: '37da5bfb73a7606c6180c151761aaf13dcc819c4', class: "row gy-3" }, h("div", { key: '8d76accd442d9fda35ae4d3e1c47b65e17f098a0', class: "col-12 col-md-8" }, h("form-control-text", { key: '2eadd087eac463e851192d8ee1c30390a29ee8b2', name: "name", label: "Full Name", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: 'f495a8cb3c6a0e9b4a00aac3e8c77f66da84b9e2', class: "col-12 col-md-4" }, h("form-control-select", { key: '4b7669b96b7df9a387cf3c4f9638ea9ada9f37ee', name: "title", label: "Title", options: businessTitleOptions, defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.title, errorText: this.errors.title, inputHandler: this.inputHandler })), h("div", { key: '3e10f464a7e26a9518b4ce6d37c6f4a968514f98', class: "col-12 col-md-6" }, h("form-control-text", { key: 'a0d51c6999295428bfdcb43ef4b0ec15194eb077', name: "email", label: "Email Address", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: 'a8e1a4c8e4fa5a50d436c18e41a5b77f23bc53cf', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: 'a72115bf51fc97a25add717c208e820c7e9e5495', name: "phone", label: "Phone Number", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: 'db04f552f1757b6ac4e10539e4a148f399a75192', class: "col-12 col-md-4" }, h("form-control-date", { key: 'cb07a2cc4e6fc242d643f9caea01db380a9ff366', name: "dob_full", label: "Birth Date", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: this.onDateOfBirthUpdate })), h("div", { key: '95348511ba3b1582053f754249b15efe4d707252', class: "col-12 col-md-8" }, (!((_a = this.representative) === null || _a === void 0 ? void 0 : _a.ssn_last4) || this.isEditingIdentification) ? (h("form-control-number-masked", { name: "identification_number", label: this.identificationNumberLabel, defaultValue: this.isEditingIdentification ? '' : representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: IDENTITY_MASKS[this.country], helpText: countryLabels[this.country].identityHelpText })) : (h("div", null, h("label", { class: "form-label", part: label }, this.identificationNumberLabel), h("div", { class: "input-group mb-3" }, h("input", { type: "text", class: "form-control", part: inputDisabled, value: `****${(_b = this.representative) === null || _b === void 0 ? void 0 : _b.ssn_last4}`, disabled: true }), h("button", { class: "btn btn-secondary", type: "button", part: buttonSecondary, onClick: () => {
|
|
87
87
|
this.isEditingIdentification = true;
|
|
88
88
|
// Clear last4 and current value to force validation
|
|
89
89
|
this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { representative: Object.assign(Object.assign({}, this.formController.values.getValue().representative), { ssn_last4: null, identification_number: '' }) }));
|
|
90
|
-
} }, "Change"))))), h("div", { key: '
|
|
90
|
+
} }, "Change"))))), h("div", { key: '57dcdaad0ec89f94d82236bfc8e093b68b7ec478', class: "col-12" }, h("identity-address-form", { key: '0ea02562077d352c5d3a1d0903dee1e8b69fa6f1', errors: this.errors.address, defaultValues: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate, country: this.country }))))));
|
|
91
91
|
}
|
|
92
92
|
};
|
|
93
93
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-CV0Pyo1O.js';
|
|
2
|
-
import {
|
|
2
|
+
import { c as create$3, a as create$6, F as FormController } from './index.esm-KCSohgHx.js';
|
|
3
3
|
import { a9 as heading5 } from './parts-CPKMvyV_.js';
|
|
4
4
|
import './_commonjsHelpers-BFTU3MAI.js';
|
|
5
5
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host } from './index-CV0Pyo1O.js';
|
|
2
|
-
import {
|
|
3
|
-
import { y as postalValidation, z as stateValidation, h as cityValidation, l as lineTwoValidation, j as lineOneValidation, v as identityNameValidation } from './schema-validations-
|
|
2
|
+
import { c as create$3, F as FormController } from './index.esm-KCSohgHx.js';
|
|
3
|
+
import { y as postalValidation, z as stateValidation, h as cityValidation, l as lineTwoValidation, j as lineOneValidation, v as identityNameValidation, A as checkoutBillingStateOptions } from './schema-validations-CjqWFLKt.js';
|
|
4
4
|
import { al as billingForm } from './parts-CPKMvyV_.js';
|
|
5
5
|
import { c as checkoutStore, o as onChange } from './checkout.store-DFnkcDZ8.js';
|
|
6
6
|
import { P as PAYMENT_METHODS } from './index-DkoufM1t.js';
|
|
7
7
|
import { H as Header3 } from './header-3-BUDap2xY.js';
|
|
8
8
|
import './event-types-CZfYo5-1.js';
|
|
9
|
-
import { S as StateOptions } from './Business-BcNb9bVO.js';
|
|
10
9
|
import './_commonjsHelpers-BFTU3MAI.js';
|
|
11
|
-
import './country-config-
|
|
12
|
-
import './
|
|
10
|
+
import './country-config-BW2dUoTJ.js';
|
|
11
|
+
import './Business-BcNb9bVO.js';
|
|
12
|
+
import './business-form-options-DXjZp4Rl.js';
|
|
13
13
|
import './index-cDVGjRkU.js';
|
|
14
14
|
|
|
15
15
|
const fullBillingSchema = () => create$3({
|
|
@@ -17,7 +17,7 @@ const fullBillingSchema = () => create$3({
|
|
|
17
17
|
address_line1: lineOneValidation.required('Enter street address'),
|
|
18
18
|
address_line2: lineTwoValidation.nullable(),
|
|
19
19
|
address_city: cityValidation.required('Enter city'),
|
|
20
|
-
address_state: stateValidation.required('Select state'),
|
|
20
|
+
address_state: stateValidation.required('Select state or province'),
|
|
21
21
|
address_postal_code: postalValidation.required('Enter postal code'),
|
|
22
22
|
});
|
|
23
23
|
const postalOnlySchema = () => create$3({
|
|
@@ -149,7 +149,7 @@ const BillingFormFull = class {
|
|
|
149
149
|
return null;
|
|
150
150
|
}
|
|
151
151
|
const billingFormDefaultValue = this.formController.getInitialValues();
|
|
152
|
-
return (h("div", { part: billingForm, class: "mt-4" }, h(Header3, { text: "Billing address", class: "fs-6 fw-bold lh-lg mb-4" }), h("form", null, h("fieldset", null, this.legend && (h("legend", null, this.legend)), h("div", { class: "row gy-3" }, h("div", { class: "col-12" }, h("form-control-text", { name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-select", { name: 'address_state', label: 'State', options:
|
|
152
|
+
return (h("div", { part: billingForm, class: "mt-4" }, h(Header3, { text: "Billing address", class: "fs-6 fw-bold lh-lg mb-4" }), h("form", null, h("fieldset", null, this.legend && (h("legend", null, this.legend)), h("div", { class: "row gy-3" }, h("div", { class: "col-12" }, h("form-control-text", { name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-select", { name: 'address_state', label: 'State / Province', options: checkoutBillingStateOptions, defaultValue: billingFormDefaultValue.address_state, errorText: this.errors.address_state, inputHandler: this.inputHandler })), h("div", { class: "col-12" }, h("form-control-text", { name: 'address_postal_code', label: "Postal Code", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 7 })))))));
|
|
153
153
|
}
|
|
154
154
|
};
|
|
155
155
|
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-CV0Pyo1O.js';
|
|
2
|
+
import './config-state-kKn89dp1.js';
|
|
3
|
+
import './dinero-HXpYMWUU.js';
|
|
4
|
+
import { E as EntityDocumentType } from './Plaid-BM3JUIG5.js';
|
|
5
|
+
import './Pagination-CLHwhyvu.js';
|
|
6
|
+
import './Business-BcNb9bVO.js';
|
|
7
|
+
import './index-cDVGjRkU.js';
|
|
8
|
+
import './utils-BTtxWI2r.js';
|
|
9
|
+
|
|
10
|
+
const BankAccountDocumentFormInputs = class {
|
|
11
|
+
constructor(hostRef) {
|
|
12
|
+
registerInstance(this, hostRef);
|
|
13
|
+
}
|
|
14
|
+
render() {
|
|
15
|
+
return (h("div", { key: 'd0dacb95d07d3e4ca9bc2c9f23b6c490871da4e9', class: "row gy-3" }, h("div", { key: '02ed406f38558badf9f591e076b120d09c71f83b', class: "col-12" }, h("form-control-file", { key: '11ff1dc68264b9e5aa561ffe19b423abc1a00c78', name: "voided_check", label: "Voided Check", documentType: EntityDocumentType.voidedCheck, inputHandler: this.inputHandler, onFileSelected: this.storeFiles, errorText: this.errors["voided_check"], multiple: true })), h("div", { key: '71d26407522a75a54489155566c18af1a64c1417', class: "col-12" }, h("form-control-file", { key: '7ea42e03a44c223a5fedc273e94e635e70d54f4b', name: "bank_statement", label: "Bank Statement", documentType: EntityDocumentType.bankStatement, inputHandler: this.inputHandler, onFileSelected: this.storeFiles, errorText: this.errors["bank_statement"], multiple: true }))));
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
export { BankAccountDocumentFormInputs as bank_account_document_form_inputs };
|
|
@@ -2,11 +2,11 @@ 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
4
|
import { e as generateTabId } from './utils-BTtxWI2r.js';
|
|
5
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
5
|
+
import { c as checkPkgVersion } from './check-pkg-version-C7cHTIM0.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-8R9xLun-.js';
|
|
10
10
|
|
|
11
11
|
const BankAccountFormSkeleton = (props) => {
|
|
12
12
|
const { isReady } = props;
|
|
@@ -76,6 +76,56 @@ const seasonalBusinessOptions = [
|
|
|
76
76
|
value: 'No',
|
|
77
77
|
}
|
|
78
78
|
];
|
|
79
|
+
const businessTitleOptions = [
|
|
80
|
+
{
|
|
81
|
+
label: 'Choose title',
|
|
82
|
+
value: '',
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
label: 'Vice President',
|
|
86
|
+
value: 'Vice President',
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
label: 'President',
|
|
90
|
+
value: 'President',
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
label: 'Treasurer',
|
|
94
|
+
value: 'Treasurer',
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
label: 'Owner',
|
|
98
|
+
value: 'Owner',
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
label: 'Partner',
|
|
102
|
+
value: 'Partner',
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
label: 'CEO',
|
|
106
|
+
value: 'CEO',
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
label: 'Member LLC',
|
|
110
|
+
value: 'Member LLC',
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
label: 'Secretary',
|
|
114
|
+
value: 'Secretary',
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
label: 'Director',
|
|
118
|
+
value: 'Director',
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
label: 'COO',
|
|
122
|
+
value: 'COO',
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
label: 'CFO',
|
|
126
|
+
value: 'CFO',
|
|
127
|
+
},
|
|
128
|
+
];
|
|
79
129
|
const bankAccountTypeOptions = [
|
|
80
130
|
{
|
|
81
131
|
label: 'Checking',
|
|
@@ -87,4 +137,4 @@ const bankAccountTypeOptions = [
|
|
|
87
137
|
}
|
|
88
138
|
];
|
|
89
139
|
|
|
90
|
-
export {
|
|
140
|
+
export { businessServiceReceivedOptions as a, businessTitleOptions as b, bankAccountTypeOptions as c, businessClassificationOptions as d, recurringPaymentsOptions as r, seasonalBusinessOptions as s };
|
package/dist/esm/{business-identity-schema-D-Nk9aGV.js → business-identity-schema-D8L_UfWl.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
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-
|
|
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-CjqWFLKt.js';
|
|
3
3
|
import { C as CountryCode } from './Business-BcNb9bVO.js';
|
|
4
|
-
import {
|
|
4
|
+
import { c as countryLabels } from './country-config-BW2dUoTJ.js';
|
|
5
5
|
|
|
6
6
|
// Base schema (no country-specific rules for classification/tax id)
|
|
7
7
|
const baseBusinessCoreInfoSchema = (allowOptionalFields) => {
|
|
@@ -43,7 +43,7 @@ const businessCoreInfoSchemaCAN = (allowOptionalFields) => baseBusinessCoreInfoS
|
|
|
43
43
|
tax_id: makeTaxIdValidation(CountryCode.CAN)
|
|
44
44
|
.when('tax_id_last4', {
|
|
45
45
|
is: (val) => !val,
|
|
46
|
-
then: (schema) => schema.
|
|
46
|
+
then: (schema) => schema.notRequired().nullable(),
|
|
47
47
|
otherwise: (schema) => schema.nullable(),
|
|
48
48
|
}),
|
|
49
49
|
}));
|
|
@@ -126,7 +126,9 @@ const strictSchemaUSA = (role) => create$3({
|
|
|
126
126
|
ssn_last4: create$6().nullable(),
|
|
127
127
|
// ssn required unless last4 provided (handled inside ssnValidation)
|
|
128
128
|
identification_number: ssnValidation,
|
|
129
|
-
ownership_percentage:
|
|
129
|
+
ownership_percentage: role === 'owner'
|
|
130
|
+
? ownershipPercentageValidation.required('Enter ownership percentage')
|
|
131
|
+
: ownershipPercentageValidation.nullable(),
|
|
130
132
|
address: addressSchemaUSA(false),
|
|
131
133
|
});
|
|
132
134
|
// Internal CAN schemas
|
|
@@ -148,8 +150,10 @@ const strictSchemaCAN = (role) => create$3({
|
|
|
148
150
|
phone: phoneValidation.required('Enter phone number'),
|
|
149
151
|
dob_full: dobValidation(role).required('Enter date of birth'),
|
|
150
152
|
ssn_last4: create$6().nullable(),
|
|
151
|
-
identification_number: makeIdentityNumberValidation(CountryCode.CAN),
|
|
152
|
-
ownership_percentage:
|
|
153
|
+
identification_number: makeIdentityNumberValidation(CountryCode.CAN).nullable(),
|
|
154
|
+
ownership_percentage: role === 'owner'
|
|
155
|
+
? ownershipPercentageValidation.required('Enter ownership percentage')
|
|
156
|
+
: ownershipPercentageValidation.nullable(),
|
|
153
157
|
address: addressSchemaCAN(false),
|
|
154
158
|
});
|
|
155
159
|
const identitySchemaUSA = (role, allowOptionalFields) => allowOptionalFields ? schemaUSA(role) : strictSchemaUSA(role);
|
|
@@ -2,11 +2,11 @@ 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
4
|
import { e as generateTabId } from './utils-BTtxWI2r.js';
|
|
5
|
-
import { c as checkPkgVersion } from './check-pkg-version-
|
|
5
|
+
import { c as checkPkgVersion } from './check-pkg-version-C7cHTIM0.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-8R9xLun-.js';
|
|
10
10
|
|
|
11
11
|
const CardFormSkeleton = (props) => {
|
|
12
12
|
const { isReady } = props;
|
|
@@ -28,6 +28,7 @@ const countryLabels = {
|
|
|
28
28
|
idNumberLabelOptional: 'SSN (optional)',
|
|
29
29
|
identityHelpText: 'Enter your full Social Security Number. It is required for Federal OFAC check.',
|
|
30
30
|
taxIdLabel: 'Tax ID (EIN or SSN)',
|
|
31
|
+
taxIdLabelOptional: '',
|
|
31
32
|
taxIdHelpText: "Employer Identification Numbers (EINs) are nine digits. The federal tax identification number/EIN issued to you by the IRS. It can be found on your tax returns. Enter value without dashes.",
|
|
32
33
|
},
|
|
33
34
|
CAN: {
|
|
@@ -37,6 +38,7 @@ const countryLabels = {
|
|
|
37
38
|
idNumberLabelOptional: 'SIN (optional)',
|
|
38
39
|
identityHelpText: 'Enter your full Social Insurance Number.',
|
|
39
40
|
taxIdLabel: 'Business Number (BN)',
|
|
41
|
+
taxIdLabelOptional: 'Business Number (BN) (optional)',
|
|
40
42
|
taxIdHelpText: 'Business Numbers (BN) are nine digits. Enter value without spaces or dashes.',
|
|
41
43
|
},
|
|
42
44
|
};
|
|
@@ -61,4 +63,4 @@ const countryValidation = {
|
|
|
61
63
|
},
|
|
62
64
|
};
|
|
63
65
|
|
|
64
|
-
export {
|
|
66
|
+
export { ProvinceOptions as P, countryValidation as a, countryOptions as b, countryLabels as c };
|
|
@@ -4,18 +4,18 @@ 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, e 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, e as ComponentErrorCodes } from './Plaid-BM3JUIG5.js';
|
|
8
|
+
import { g as getErrorCode, a as getErrorMessage } from './utils-q7KOrlSX.js';
|
|
9
|
+
import { D as DisputeManagementClickActions, a as DisputeService } from './event-types-eIqsrwmW.js';
|
|
10
|
+
import { c as checkPkgVersion } from './check-pkg-version-C7cHTIM0.js';
|
|
11
|
+
import { J as JustifiAnalytics } from './Analytics-5J6H0ALl.js';
|
|
12
12
|
import './dinero-HXpYMWUU.js';
|
|
13
13
|
import './Api-DMd8hTI-.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-8R9xLun-.js';
|
|
19
19
|
|
|
20
20
|
const makeUpdateDisputeResponse = ({ authToken, disputeId, service }) => async ({ payload, onSuccess, onError, final = () => { } }) => {
|
|
21
21
|
var _a;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, c as createEvent } from './index-CV0Pyo1O.js';
|
|
2
2
|
import { C as CountryCode } from './Business-BcNb9bVO.js';
|
|
3
3
|
import { n as numberOnlyHandler } from './utils-BnjCmwMr.js';
|
|
4
|
-
import { b as countryOptions,
|
|
4
|
+
import { b as countryOptions, c as countryLabels } from './country-config-BW2dUoTJ.js';
|
|
5
5
|
import { I as IMask } from './index-Ce_F4E0f.js';
|
|
6
6
|
import { q as inputInvalid, u as inputDisabled, v as inputFocused, w as input, x as label } from './parts-CPKMvyV_.js';
|
|
7
7
|
import { F as FormControlErrorText } from './form-control-error-text-Di9QePY5.js';
|
|
@@ -5,8 +5,9 @@ import { F as FormControlErrorText } from './form-control-error-text-Di9QePY5.js
|
|
|
5
5
|
import './event-types-CZfYo5-1.js';
|
|
6
6
|
import { I as IDENTITY_MASKS, P as PHONE_MASKS } from './form-input-masks-CVaOFfrI.js';
|
|
7
7
|
import { u as updateFormValues, a as updateAddressFormValues, b as updateDateOfBirthFormValues } from './input-handlers-1lVyzImK.js';
|
|
8
|
-
import {
|
|
9
|
-
import './
|
|
8
|
+
import { C as CountryCode } from './Business-BcNb9bVO.js';
|
|
9
|
+
import { c as countryLabels } from './country-config-BW2dUoTJ.js';
|
|
10
|
+
import { b as businessTitleOptions } from './business-form-options-DXjZp4Rl.js';
|
|
10
11
|
|
|
11
12
|
const FormControlNumber = class {
|
|
12
13
|
constructor(hostRef) {
|
|
@@ -71,14 +72,14 @@ const OwnerFormInputs = class {
|
|
|
71
72
|
}
|
|
72
73
|
render() {
|
|
73
74
|
var _a, _b, _c;
|
|
74
|
-
return (h("div", { key: '
|
|
75
|
+
return (h("div", { key: '6f4bb241699db7c16cb99016363cbbc1a4484a4a', class: "row gy-3" }, h("div", { key: 'fc0317736a62ac34f98f2b7a43a5073d785dfa0d', class: "col-12 col-md-8" }, h("form-control-text", { key: '8123035dfd371841e0830d0019c425d25977c160', name: "name", label: "Full Name", defaultValue: this.ownerDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: 'a16e9ecc81fd4965d3a42b2569a7ea0615ecbf97', class: "col-12 col-md-4" }, h("form-control-select", { key: 'bd9b0ee5c7cf45ac3d67da96f951f167c93033e0', name: "title", label: "Title", options: businessTitleOptions, defaultValue: this.ownerDefaultValue.title, errorText: this.errors.title, inputHandler: this.inputHandler })), h("div", { key: '5376a38a98ad715a3159ccf4e8c8e54b48fa1c7c', class: "col-12 col-md-6" }, h("form-control-text", { key: '7d08e58ae5fc15d5299c8646d5260602a51b9fbf', name: "email", label: "Email Address", defaultValue: this.ownerDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '6f80f898cb354b40d8d6784110abd5a1c49ff9d9', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '8a7d577c4c1c5b54f733ee51a1970c17de27d0b0', name: "phone", label: "Phone Number", defaultValue: this.ownerDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: '5ace697b3fb38b52dca74ccd49207498b779ade8', class: "col-12 col-md-3" }, h("form-control-date", { key: 'ec8d614b62fe2913c52fd228e7df1fef1b1d7d83', name: "dob_full", label: "Birth Date", defaultValue: this.ownerDefaultValue.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: (e) => updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), h("div", { key: '8fad1824571295e3464d26191eb23d373591e47d', class: "col-12 col-md-3" }, h("form-control-number", { key: 'c0ffdbf26ea5d65de8c3e98c2cd7d03430d4a8c2', name: "ownership_percentage", label: "% of Ownership", defaultValue: (_a = this.ownerDefaultValue) === null || _a === void 0 ? void 0 : _a.ownership_percentage, errorText: this.errors.ownership_percentage, inputHandler: this.inputHandler })), h("div", { key: '94d93a03f2513bb69da43bd68c3fddc62dbc18d6', class: "col-12 col-md-6" }, (!((_b = this.ownerDefaultValue) === null || _b === void 0 ? void 0 : _b.ssn_last4) || this.isEditingIdentification) ? (h("form-control-number-masked", { name: "identification_number", label: this.country === CountryCode.CAN ? countryLabels[this.country].idNumberLabelOptional : countryLabels[this.country].idNumberLabel, defaultValue: this.isEditingIdentification ? '' : this.ownerDefaultValue.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: IDENTITY_MASKS[this.country], helpText: countryLabels[this.country].identityHelpText })) : (h("div", null, h("label", { class: "form-label", part: label }, this.country === CountryCode.CAN ? countryLabels[this.country].idNumberLabelOptional : countryLabels[this.country].idNumberLabel), h("div", { class: "input-group mb-3" }, h("input", { type: "text", class: "form-control", part: inputDisabled, value: `****${(_c = this.ownerDefaultValue) === null || _c === void 0 ? void 0 : _c.ssn_last4}`, disabled: true }), h("button", { class: "btn btn-secondary", type: "button", part: buttonSecondary, onClick: () => {
|
|
75
76
|
this.isEditingIdentification = true;
|
|
76
77
|
// Clear last4 and current value to force validation
|
|
77
78
|
updateFormValues(this.formController, {
|
|
78
79
|
ssn_last4: null,
|
|
79
80
|
identification_number: ''
|
|
80
81
|
});
|
|
81
|
-
} }, "Change"))))), h("div", { key: '
|
|
82
|
+
} }, "Change"))))), h("div", { key: '63d73015c84a1ab370b6686a643797b92096212f', class: "col-12" }, h("identity-address-form", { key: '4eff1f856b32e6d31cc18315b5b338c932723cf9', errors: this.errors.address, defaultValues: this.ownerDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate, country: this.country }))));
|
|
82
83
|
}
|
|
83
84
|
;
|
|
84
85
|
};
|
|
@@ -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-BM3JUIG5.js';
|
|
3
|
+
import { g as getErrorCode, a as getErrorMessage } from './utils-q7KOrlSX.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 { b as Payment, C as ComponentErrorSeverity } from './Plaid-
|
|
3
|
+
import { b as Payment, C as ComponentErrorSeverity } from './Plaid-BM3JUIG5.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-q7KOrlSX.js';
|
|
7
7
|
|
|
8
8
|
const makeGetPaymentDetails = ({ id, authToken, service }) => async ({ onSuccess, onError, final }) => {
|
|
9
9
|
var _a;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { A as Api } from './Api-DMd8hTI-.js';
|
|
2
|
-
import { S as SubAccount, C as ComponentErrorSeverity } from './Plaid-
|
|
2
|
+
import { S as SubAccount, C as ComponentErrorSeverity } from './Plaid-BM3JUIG5.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-q7KOrlSX.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-8R9xLun-.js';
|
|
7
7
|
|
|
8
8
|
const iframeInputStylesStore = createStore({
|
|
9
9
|
focused: {
|
|
@@ -11107,23 +11107,6 @@ for (const method of ['validate', 'validateSync']) Schema.prototype[`${method}At
|
|
|
11107
11107
|
for (const alias of ['equals', 'is']) Schema.prototype[alias] = Schema.prototype.oneOf;
|
|
11108
11108
|
for (const alias of ['not', 'nope']) Schema.prototype[alias] = Schema.prototype.notOneOf;
|
|
11109
11109
|
|
|
11110
|
-
const returnsTrue = () => true;
|
|
11111
|
-
function create$8(spec) {
|
|
11112
|
-
return new MixedSchema(spec);
|
|
11113
|
-
}
|
|
11114
|
-
class MixedSchema extends Schema {
|
|
11115
|
-
constructor(spec) {
|
|
11116
|
-
super(typeof spec === 'function' ? {
|
|
11117
|
-
type: 'mixed',
|
|
11118
|
-
check: spec
|
|
11119
|
-
} : Object.assign({
|
|
11120
|
-
type: 'mixed',
|
|
11121
|
-
check: returnsTrue
|
|
11122
|
-
}, spec));
|
|
11123
|
-
}
|
|
11124
|
-
}
|
|
11125
|
-
create$8.prototype = MixedSchema.prototype;
|
|
11126
|
-
|
|
11127
11110
|
function create$7() {
|
|
11128
11111
|
return new BooleanSchema();
|
|
11129
11112
|
}
|
|
@@ -11941,4 +11924,4 @@ class ObjectSchema extends Schema {
|
|
|
11941
11924
|
}
|
|
11942
11925
|
create$3.prototype = ObjectSchema.prototype;
|
|
11943
11926
|
|
|
11944
|
-
export { FormController as F, create$
|
|
11927
|
+
export { FormController as F, create$6 as a, create$7 as b, create$3 as c };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-CV0Pyo1O.js';
|
|
2
2
|
import { A as Api } from './Api-DMd8hTI-.js';
|
|
3
|
-
import { A as ApplePayConfig, p as ApplePayHelpers, q as ApplePayPaymentRequest, r as ApplePaySessionStatus, s as ApplePayButtonStyle, t as ApplePayButtonType, u as ApplePayMerchantCapability, C as ComponentErrorSeverity, e as ComponentErrorCodes, v as ComponentErrorMessages, I as ICheckoutStatus, w as PLAID_ERROR_SEVERITY, x as PLAID_ERROR_MESSAGES, y as PlaidErrorCodes } from './Plaid-
|
|
4
|
-
import { S as StyledHost } from './styled-host-
|
|
3
|
+
import { A as ApplePayConfig, p as ApplePayHelpers, q as ApplePayPaymentRequest, r as ApplePaySessionStatus, s as ApplePayButtonStyle, t as ApplePayButtonType, u as ApplePayMerchantCapability, C as ComponentErrorSeverity, e as ComponentErrorCodes, v as ComponentErrorMessages, I as ICheckoutStatus, w as PLAID_ERROR_SEVERITY, x as PLAID_ERROR_MESSAGES, y as PlaidErrorCodes } from './Plaid-BM3JUIG5.js';
|
|
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-DFnkcDZ8.js';
|
|
@@ -11,18 +11,18 @@ 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-CLGc1-_4.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-5J6H0ALl.js';
|
|
15
|
+
import { c as checkPkgVersion } from './check-pkg-version-C7cHTIM0.js';
|
|
16
16
|
import './dinero-HXpYMWUU.js';
|
|
17
17
|
import './Pagination-CLHwhyvu.js';
|
|
18
18
|
import './Business-BcNb9bVO.js';
|
|
19
|
-
import { g as getErrorCode, a as getErrorMessage } from './utils-
|
|
20
|
-
import { C as CheckoutService } from './checkout.service-
|
|
21
|
-
import { P as PlaidService } from './plaid.service-
|
|
19
|
+
import { g as getErrorCode, a as getErrorMessage } from './utils-q7KOrlSX.js';
|
|
20
|
+
import { C as CheckoutService } from './checkout.service-DmWeKNQs.js';
|
|
21
|
+
import { P as PlaidService } from './plaid.service-0hd1i5Ga.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-
|
|
25
|
+
import './package-8R9xLun-.js';
|
|
26
26
|
|
|
27
27
|
const JustifiRadioListItem = class {
|
|
28
28
|
constructor(hostRef) {
|
|
@@ -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-5J6H0ALl.js';
|
|
3
|
+
import { c as checkPkgVersion } from './check-pkg-version-C7cHTIM0.js';
|
|
4
4
|
import { w as waitForConfig } from './config-state-kKn89dp1.js';
|
|
5
|
-
import { S as StyledHost } from './styled-host-
|
|
5
|
+
import { S as StyledHost } from './styled-host-D84RBv1W.js';
|
|
6
6
|
import './event-types-CZfYo5-1.js';
|
|
7
|
-
import './package-
|
|
7
|
+
import './package-8R9xLun-.js';
|
|
8
8
|
import './Api-DMd8hTI-.js';
|
|
9
9
|
import './utils-BTtxWI2r.js';
|
|
10
10
|
import './dinero-HXpYMWUU.js';
|
|
11
|
-
import './Plaid-
|
|
11
|
+
import './Plaid-BM3JUIG5.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-C7cHTIM0.js';
|
|
3
|
+
import { J as JustifiAnalytics } from './Analytics-5J6H0ALl.js';
|
|
4
4
|
import { w as waitForConfig } from './config-state-kKn89dp1.js';
|
|
5
|
-
import { S as StyledHost } from './styled-host-
|
|
5
|
+
import { S as StyledHost } from './styled-host-D84RBv1W.js';
|
|
6
6
|
import './event-types-CZfYo5-1.js';
|
|
7
|
-
import './package-
|
|
7
|
+
import './package-8R9xLun-.js';
|
|
8
8
|
import './Api-DMd8hTI-.js';
|
|
9
9
|
import './utils-BTtxWI2r.js';
|
|
10
10
|
import './dinero-HXpYMWUU.js';
|
|
11
|
-
import './Plaid-
|
|
11
|
+
import './Plaid-BM3JUIG5.js';
|
|
12
12
|
import './Pagination-CLHwhyvu.js';
|
|
13
13
|
import './Business-BcNb9bVO.js';
|
|
14
14
|
import './index-cDVGjRkU.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-CV0Pyo1O.js';
|
|
2
|
-
import { S as StyledHost } from './styled-host-
|
|
2
|
+
import { S as StyledHost } from './styled-host-D84RBv1W.js';
|
|
3
3
|
import './event-types-CZfYo5-1.js';
|
|
4
4
|
|
|
5
5
|
const JustifiBillingFormFull = class {
|