@justifi/webcomponents 6.12.0 → 6.12.1-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{Analytics-DZCXB2Za.js → Analytics-DN1vWC6J.js} +2 -3
- package/dist/cjs/{Plaid-DR9WDZ98.js → Plaid-6JK8xPnG.js} +47 -14
- package/dist/cjs/{additional-questions-form-step_9.cjs.entry.js → additional-questions-form-step_14.cjs.entry.js} +451 -58
- package/dist/cjs/bank-account-billing-form-simple_4.cjs.entry.js +2 -2
- package/dist/cjs/bank-account-form.cjs.entry.js +4 -4
- package/dist/cjs/bank-account-read-only-value.cjs.entry.js +15 -0
- package/dist/cjs/{business.service-mliLE8kX.js → business.service-XXjIL3rT.js} +1 -2
- package/dist/cjs/card-form.cjs.entry.js +4 -4
- package/dist/cjs/{check-pkg-version-CUhnNGii.js → check-pkg-version-DKEv2rPI.js} +1 -1
- package/dist/cjs/{checkout.service-Cok0vRot.js → checkout.service-BUpGS3Nm.js} +1 -2
- package/dist/cjs/checkouts-list-core.cjs.entry.js +2 -3
- package/dist/cjs/custom-popper_2.cjs.entry.js +2 -2
- package/dist/cjs/{dispute.service-DEH_I2G9.js → dispute.service-BC_bJL60.js} +1 -2
- package/dist/cjs/form-address-fields_3.cjs.entry.js +3 -3
- package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/form-control-date.cjs.entry.js +2 -2
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
- package/dist/cjs/form-control-file.cjs.entry.js +59 -0
- package/dist/cjs/form-control-monetary.cjs.entry.js +2 -2
- package/dist/cjs/form-control-number_3.cjs.entry.js +2 -2
- package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
- package/dist/cjs/form-control-select_2.cjs.entry.js +4 -4
- package/dist/cjs/{get-business-DF-XBH8G.js → get-business-Dk1gjO4B.js} +4 -4
- package/dist/cjs/{get-payment-details-DNpOyUyR.js → get-payment-details-Cvi1hHGJ.js} +4 -5
- package/dist/cjs/{get-payout-csv-DE_D9y08.js → get-payout-csv-CFsWBUNg.js} +3 -3
- package/dist/cjs/{get-subaccounts-BQW_RPW5.js → get-subaccounts-BPJ2-LBo.js} +4 -5
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
- package/dist/cjs/hidden-input_2.cjs.entry.js +5 -5
- package/dist/cjs/internal-button.cjs.entry.js +1 -1
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +8 -8
- package/dist/cjs/justifi-apple-pay_11.cjs.entry.js +60 -59
- package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +5 -6
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +5 -6
- 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 +10 -11
- package/dist/cjs/justifi-business-form.cjs.entry.js +9 -10
- package/dist/cjs/justifi-card-billing-form-simple.cjs.entry.js +1 -1
- package/dist/cjs/justifi-card-form.cjs.entry.js +5 -6
- package/dist/cjs/justifi-checkout.cjs.entry.js +6 -7
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +3 -4
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +12 -13
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +13 -14
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +19 -20
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +9 -10
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +14 -15
- package/dist/cjs/justifi-payment-details.cjs.entry.js +10 -11
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +134 -18
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +10 -11
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payments-list.cjs.entry.js +11 -12
- package/dist/cjs/justifi-payout-details.cjs.entry.js +11 -12
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +10 -11
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +3 -4
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +14 -15
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +13 -14
- package/dist/cjs/justifi-save-new-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +11 -12
- package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +4 -5
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +11 -12
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +2 -3
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +13 -14
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-CJg8qLYd.js → package-EwQYAMPH.js} +1 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +9 -10
- package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
- package/dist/cjs/{payment-provisioning-actions-J6TGZZb9.js → payment-provisioning-actions-DscyasDY.js} +18 -18
- package/dist/cjs/payment-provisioning-form-buttons_2.cjs.entry.js +52 -0
- package/dist/cjs/{payment.service-Dl9UExDw.js → payment.service-DC2FVlv-.js} +1 -2
- package/dist/cjs/payments-list-core.cjs.entry.js +2 -3
- package/dist/cjs/payout-details-core.cjs.entry.js +3 -3
- package/dist/cjs/{payout.service-kaFewwx4.js → payout.service-Bjbt6USA.js} +1 -2
- package/dist/cjs/payouts-list-core.cjs.entry.js +4 -5
- package/dist/cjs/{plaid.service-CK1ouCBC.js → plaid.service-C0ZgOkwL.js} +1 -2
- package/dist/cjs/radio-list-item.cjs.entry.js +1 -1
- package/dist/cjs/save-new-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +3 -4
- package/dist/cjs/{terminal-orders-table-07fV7wGh.js → terminal-orders-table-j_IoYD-2.js} +1 -2
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
- package/dist/cjs/{terminal.service-UUoIe0IR.js → terminal.service-YAuPfEGz.js} +1 -2
- package/dist/cjs/terminals-list-core.cjs.entry.js +2 -3
- package/dist/cjs/{utils-DvUQQLmR.js → utils-C4CgQd55.js} +4 -4
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/ApplePay.js +4 -0
- package/dist/collection/api/services/apple-pay.service.js +1 -0
- package/dist/collection/collection-manifest.json +0 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/justifi-payment-provisioning.js +181 -10
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
- package/dist/collection/components/checkout/billing-form/bank-account-billing-form-simple.js +1 -1
- package/dist/collection/components/checkout/billing-form/card-billing-form-simple.js +1 -1
- package/dist/collection/components/checkout/billing-form/justifi-billing-form.js +1 -1
- package/dist/collection/components/checkout/card-form/card-form.js +2 -2
- package/dist/collection/components/checkout/justifi-checkout.js +2 -2
- package/dist/collection/components/checkout/justifi-saved-payment-method.js +1 -1
- package/dist/collection/components/checkout/save-new-payment-method/justifi-save-new-payment-method.js +1 -1
- package/dist/collection/components/checkout/save-new-payment-method/save-new-payment-method.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +2 -2
- package/dist/collection/components/checkouts-list/justifi-checkouts-list.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/justifi-additional-statement.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/justifi-cancellation-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/justifi-customer-details.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/justifi-dispute-response.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/justifi-duplicate-charge.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/justifi-electronic-evidence.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/justifi-product-or-service.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/justifi-refund-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/justifi-shipping-details.js +1 -1
- package/dist/collection/components/dispute-management/justifi-dispute-management.js +1 -1
- package/dist/collection/components/dispute-management/justifi-dispute-notification.js +2 -2
- package/dist/collection/components/filters/table-filters-menu.js +1 -1
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
- package/dist/collection/components/modular-checkout/justifi-modular-checkout.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-apple-pay.js +1 -0
- package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-form.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-billing-form-full.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-card-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-card-form.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-checkout-summary.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
- package/dist/collection/components/order-terminals/justifi-order-terminals.js +1 -1
- package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
- package/dist/collection/components/payment-details/payment-details-core.js +8 -8
- package/dist/collection/components/payment-transactions-list/justifi-payment-transactions-list.js +1 -1
- package/dist/collection/components/payments-list/justifi-payments-list-filters.js +2 -2
- package/dist/collection/components/payments-list/justifi-payments-list.js +1 -1
- package/dist/collection/components/payments-list/payments-list-core.js +1 -1
- package/dist/collection/components/payout-details/payout-details-core.js +3 -3
- package/dist/collection/components/payout-transactions-list/justifi-payout-transactions-list.js +1 -1
- package/dist/collection/components/payouts-list/justifi-payouts-list-filters.js +2 -2
- package/dist/collection/components/payouts-list/justifi-payouts-list.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
- package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list-filters.js +3 -3
- package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list.js +1 -1
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
- package/dist/collection/components/terminals-list/justifi-terminals-list-filters.js +1 -1
- package/dist/collection/components/terminals-list/justifi-terminals-list.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
- package/dist/collection/components/tokenize-payment-method/justifi-tokenize-payment-method.js +1 -1
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
- package/dist/collection/ui-components/form/form-control-date.js +2 -2
- package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
- package/dist/collection/ui-components/form/form-control-file.js +2 -2
- package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
- package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
- package/dist/collection/ui-components/form/form-control-number.js +2 -2
- package/dist/collection/ui-components/form/form-control-radio.js +2 -2
- package/dist/collection/ui-components/form/form-control-select.js +2 -2
- package/dist/collection/ui-components/form/form-control-text.js +2 -2
- package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
- package/dist/collection/ui-components/form/hidden-input.js +1 -1
- package/dist/collection/ui-components/form/iframe-input.js +3 -3
- package/dist/collection/ui-components/internal-button.js +1 -1
- package/dist/collection/ui-components/radio-list-item.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
- package/dist/docs.json +11 -320
- package/dist/esm/{Analytics-C2EVi4Am.js → Analytics-Ds-ogIwt.js} +3 -4
- package/dist/esm/{Api-DI0-itk3.js → Api-BrYhtpEh.js} +1 -1
- package/dist/esm/{Plaid-vwPGZ5y4.js → Plaid-D40pFwwP.js} +36 -3
- package/dist/esm/additional-questions-details_5.entry.js +1 -1
- package/dist/esm/{additional-questions-form-step_9.entry.js → additional-questions-form-step_14.entry.js} +423 -35
- package/dist/esm/bank-account-billing-form-simple_4.entry.js +2 -2
- package/dist/esm/bank-account-form.entry.js +5 -5
- package/dist/esm/bank-account-read-only-value.entry.js +13 -0
- package/dist/esm/{business.service-M3YvwC-d.js → business.service-Bt68Uk7V.js} +2 -3
- package/dist/esm/card-form.entry.js +5 -5
- package/dist/esm/{check-pkg-version-qIHmWcbI.js → check-pkg-version-Bd_MOwNP.js} +1 -1
- package/dist/esm/{checkout.service-DdIBmfsp.js → checkout.service-B7K5LRx2.js} +2 -3
- package/dist/esm/checkouts-list-core.entry.js +4 -5
- package/dist/esm/{checkouts-table-4iLy6mvH.js → checkouts-table-BXm9GGFI.js} +1 -1
- package/dist/esm/custom-popper_2.entry.js +2 -2
- package/dist/esm/{dispute.service-BzzA0DeT.js → dispute.service-BPA0V42p.js} +2 -3
- package/dist/esm/form-address-fields_3.entry.js +3 -3
- package/dist/esm/form-control-checkbox.entry.js +2 -2
- package/dist/esm/form-control-date.entry.js +2 -2
- package/dist/esm/form-control-file-v2_2.entry.js +3 -3
- package/dist/esm/form-control-file.entry.js +57 -0
- package/dist/esm/form-control-monetary.entry.js +3 -3
- package/dist/esm/form-control-number_3.entry.js +2 -2
- package/dist/esm/form-control-radio.entry.js +2 -2
- package/dist/esm/form-control-select_2.entry.js +4 -4
- package/dist/esm/{get-business-BtJWpVs_.js → get-business-CijoB3Df.js} +2 -2
- package/dist/esm/{get-payment-details-CN7gUjBc.js → get-payment-details-B9JipaKX.js} +2 -3
- package/dist/esm/{get-payout-csv-D-Lnooki.js → get-payout-csv-CzWaTjoV.js} +2 -2
- package/dist/esm/{get-subaccounts-Mwx-aVcG.js → get-subaccounts-Dfo7wGVE.js} +3 -4
- package/dist/esm/gross-payment-chart-core.entry.js +2 -2
- package/dist/esm/hidden-input_2.entry.js +5 -5
- package/dist/esm/internal-button.entry.js +1 -1
- package/dist/esm/justifi-additional-statement_8.entry.js +8 -8
- package/dist/esm/justifi-apple-pay_11.entry.js +16 -15
- package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +7 -8
- package/dist/esm/justifi-bank-account-form.entry.js +7 -8
- 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 +10 -11
- package/dist/esm/justifi-business-form.entry.js +9 -10
- package/dist/esm/justifi-card-billing-form-simple.entry.js +1 -1
- package/dist/esm/justifi-card-form.entry.js +7 -8
- package/dist/esm/justifi-checkout.entry.js +8 -9
- package/dist/esm/justifi-checkouts-list-filters.entry.js +4 -5
- package/dist/esm/justifi-checkouts-list.entry.js +11 -12
- package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
- package/dist/esm/justifi-dispute-management.entry.js +10 -11
- package/dist/esm/justifi-dispute-notification_3.entry.js +13 -14
- package/dist/esm/justifi-gross-payment-chart.entry.js +7 -8
- package/dist/esm/justifi-order-terminals.entry.js +11 -12
- package/dist/esm/justifi-payment-details.entry.js +10 -11
- package/dist/esm/justifi-payment-provisioning.entry.js +133 -17
- package/dist/esm/justifi-payment-transactions-list.entry.js +9 -10
- package/dist/esm/justifi-payments-list-filters.entry.js +3 -3
- package/dist/esm/justifi-payments-list.entry.js +10 -11
- package/dist/esm/justifi-payout-details.entry.js +9 -10
- package/dist/esm/justifi-payout-transactions-list.entry.js +9 -10
- package/dist/esm/justifi-payouts-list-filters.entry.js +4 -5
- package/dist/esm/justifi-payouts-list.entry.js +12 -13
- package/dist/esm/justifi-refund-payment.entry.js +9 -10
- package/dist/esm/justifi-save-new-payment-method.entry.js +1 -1
- package/dist/esm/justifi-saved-payment-method.entry.js +1 -1
- package/dist/esm/justifi-season-interruption-insurance.entry.js +7 -8
- package/dist/esm/justifi-skeleton.entry.js +1 -1
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +5 -6
- package/dist/esm/justifi-terminal-orders-list.entry.js +9 -10
- package/dist/esm/justifi-terminals-list-filters.entry.js +3 -4
- package/dist/esm/justifi-terminals-list.entry.js +11 -12
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-CIYOQWsL.js → package-B5w1e9rb.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +10 -11
- package/dist/esm/payment-method-option.entry.js +1 -1
- package/dist/esm/{payment-provisioning-actions-CBvplwPf.js → payment-provisioning-actions-Bv2HP9Cx.js} +3 -3
- package/dist/esm/payment-provisioning-form-buttons_2.entry.js +49 -0
- package/dist/esm/{payment.service-0k8z2rOV.js → payment.service-J7iQtC5z.js} +2 -3
- package/dist/esm/payments-list-core.entry.js +4 -5
- package/dist/esm/{payments-table-Bz7LmU_J.js → payments-table-n1VrIKIR.js} +1 -1
- package/dist/esm/payout-details-core.entry.js +4 -4
- package/dist/esm/{payout.service-C14YvCWQ.js → payout.service-Dsz8f37z.js} +2 -3
- package/dist/esm/payouts-list-core.entry.js +4 -5
- package/dist/esm/{payouts-table-Bpt__avQ.js → payouts-table-CbzI90ci.js} +1 -1
- package/dist/esm/{plaid.service-Dtxfrsm8.js → plaid.service-D1nDrcPY.js} +2 -3
- package/dist/esm/radio-list-item.entry.js +1 -1
- package/dist/esm/save-new-payment-method.entry.js +1 -1
- package/dist/esm/table-filters-menu.entry.js +1 -1
- package/dist/esm/terminal-orders-list-core.entry.js +4 -5
- package/dist/esm/{terminal-orders-table-DRnRR4zn.js → terminal-orders-table-DlVbBgNh.js} +2 -3
- package/dist/esm/terminal-quantity-selector.entry.js +1 -1
- package/dist/esm/{terminal.service-rxvEhqqF.js → terminal.service-Sg45obrZ.js} +2 -3
- package/dist/esm/terminals-list-core.entry.js +4 -5
- package/dist/esm/{terminals-table-DSDZgJ77.js → terminals-table-Bja7MP5H.js} +1 -1
- package/dist/esm/{utils-C_8ZxLti.js → utils-De6tr4ug.js} +1 -1
- package/dist/esm/{utils-BeQLScSm.js → utils-jaFbbifV.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/ApplePay.js +4 -0
- package/dist/module/Business.js +1 -1
- package/dist/module/bank-account-billing-form-simple2.js +1 -1
- package/dist/module/bank-account-document-form-inputs2.js +1 -1
- package/dist/module/bank-account-form-inputs-canada2.js +1 -1
- package/dist/module/bank-account-form-inputs2.js +1 -1
- package/dist/module/bank-account-form2.js +2 -2
- package/dist/module/bank-account-read-only-value2.js +1 -1
- package/dist/module/business-representative-form-inputs2.js +2 -2
- package/dist/module/business-terms-conditions-form-step2.js +1 -1
- package/dist/module/card-billing-form-simple2.js +1 -1
- package/dist/module/card-form2.js +2 -2
- package/dist/module/checkouts-list-core2.js +1 -1
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/dispute-management-core.js +1 -1
- package/dist/module/dispute-response-core.js +1 -1
- package/dist/module/form-address-fields2.js +1 -1
- package/dist/module/form-control-checkbox2.js +2 -2
- package/dist/module/form-control-date2.js +2 -2
- package/dist/module/form-control-file-v22.js +1 -1
- package/dist/module/form-control-file2.js +2 -2
- package/dist/module/form-control-monetary2.js +2 -2
- package/dist/module/form-control-number-masked2.js +2 -2
- package/dist/module/form-control-number2.js +2 -2
- package/dist/module/form-control-radio2.js +2 -2
- package/dist/module/form-control-select2.js +2 -2
- package/dist/module/form-control-text2.js +2 -2
- package/dist/module/form-control-textarea2.js +2 -2
- package/dist/module/gross-payment-chart-core2.js +2 -2
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/iframe-input2.js +3 -3
- package/dist/module/internal-button2.js +1 -1
- package/dist/module/justifi-additional-statement2.js +1 -1
- package/dist/module/justifi-apple-pay2.js +2 -0
- package/dist/module/justifi-bank-account-billing-form-simple.js +1 -1
- package/dist/module/justifi-bank-account-form.js +1 -1
- package/dist/module/justifi-billing-form-full.js +1 -1
- package/dist/module/justifi-billing-form.js +1 -1
- package/dist/module/justifi-business-form.js +1 -1
- package/dist/module/justifi-button2.js +1 -1
- package/dist/module/justifi-cancellation-policy2.js +1 -1
- package/dist/module/justifi-card-billing-form-simple.js +1 -1
- package/dist/module/justifi-card-form.js +1 -1
- package/dist/module/justifi-checkout-summary2.js +1 -1
- package/dist/module/justifi-checkout.js +2 -2
- package/dist/module/justifi-checkouts-list-filters.js +2 -2
- package/dist/module/justifi-checkouts-list.js +1 -1
- package/dist/module/justifi-customer-details2.js +1 -1
- package/dist/module/justifi-dispute-management.js +1 -1
- package/dist/module/justifi-dispute-notification2.js +2 -2
- package/dist/module/justifi-dispute-response2.js +1 -1
- package/dist/module/justifi-duplicate-charge2.js +1 -1
- package/dist/module/justifi-electronic-evidence2.js +1 -1
- package/dist/module/justifi-header2.js +1 -1
- package/dist/module/justifi-modular-checkout2.js +1 -1
- package/dist/module/justifi-order-terminals.js +1 -1
- package/dist/module/justifi-payment-provisioning.js +182 -65
- package/dist/module/justifi-payment-transactions-list.js +1 -1
- package/dist/module/justifi-payments-list-filters.js +2 -2
- package/dist/module/justifi-payments-list.js +1 -1
- package/dist/module/justifi-payout-transactions-list.js +1 -1
- package/dist/module/justifi-payouts-list-filters.js +2 -2
- package/dist/module/justifi-payouts-list.js +1 -1
- package/dist/module/justifi-product-or-service2.js +1 -1
- package/dist/module/justifi-refund-policy2.js +1 -1
- package/dist/module/justifi-save-new-payment-method.js +1 -1
- package/dist/module/justifi-saved-payment-method.js +1 -1
- package/dist/module/justifi-shipping-details2.js +1 -1
- package/dist/module/justifi-skeleton.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +3 -3
- package/dist/module/justifi-terminal-orders-list.js +1 -1
- package/dist/module/justifi-terminals-list-filters.js +1 -1
- package/dist/module/justifi-terminals-list.js +1 -1
- package/dist/module/justifi-tokenize-payment-method2.js +1 -1
- package/dist/module/package.js +1 -1
- package/dist/module/payment-details-core2.js +8 -8
- package/dist/module/payment-method-option.js +1 -1
- package/dist/module/payment-provisioning-form-buttons2.js +1 -1
- package/dist/module/payment-provisioning-form-steps2.js +1 -1
- package/dist/module/payments-list-core2.js +1 -1
- package/dist/module/payout-details-core2.js +3 -3
- package/dist/module/payouts-list-core2.js +1 -1
- package/dist/module/radio-list-item2.js +1 -1
- package/dist/module/save-new-payment-method2.js +1 -1
- package/dist/module/table-filters-menu2.js +1 -1
- package/dist/module/terminal-orders-list-core2.js +1 -1
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/terminals-list-core2.js +2 -2
- package/dist/module/utils2.js +1 -1
- package/dist/types/api/ApplePay.d.ts +3 -0
- package/dist/types/components/business-forms/payment-provisioning/justifi-payment-provisioning.d.ts +26 -4
- package/dist/types/components.d.ts +4 -51
- package/dist/webcomponents/p-0b95dd8f.entry.js +1 -0
- package/dist/webcomponents/p-0ee11ceb.entry.js +1 -0
- package/dist/webcomponents/p-15377f17.entry.js +1 -0
- package/dist/webcomponents/p-15dfb893.entry.js +1 -0
- package/dist/webcomponents/{p-6372a42a.entry.js → p-15f43759.entry.js} +1 -1
- package/dist/webcomponents/p-1628613b.entry.js +1 -0
- package/dist/webcomponents/p-17fb6153.entry.js +1 -0
- package/dist/webcomponents/p-18fc10ca.entry.js +1 -0
- package/dist/webcomponents/{p-90f2c769.entry.js → p-1b92fb9a.entry.js} +1 -1
- package/dist/webcomponents/p-1c54dc53.entry.js +1 -0
- package/dist/webcomponents/p-1f2129ec.entry.js +1 -0
- package/dist/webcomponents/p-1fe99fde.entry.js +1 -0
- package/dist/webcomponents/p-20b0f88b.entry.js +1 -0
- package/dist/webcomponents/p-257597f1.entry.js +1 -0
- package/dist/webcomponents/{p-b31c9979.entry.js → p-26c419f3.entry.js} +1 -1
- package/dist/webcomponents/p-2f71285a.entry.js +1 -0
- package/dist/webcomponents/p-30662daa.entry.js +1 -0
- package/dist/webcomponents/p-30f61950.entry.js +1 -0
- package/dist/webcomponents/{p-3d135aee.entry.js → p-39bb134c.entry.js} +1 -1
- package/dist/webcomponents/p-3O6JkTxx.js +1 -0
- package/dist/webcomponents/p-3c50f7aa.entry.js +1 -0
- package/dist/webcomponents/p-3c59fe06.entry.js +1 -0
- package/dist/webcomponents/p-3e74bd93.entry.js +1 -0
- package/dist/webcomponents/p-45212820.entry.js +1 -0
- package/dist/webcomponents/p-46d8145c.entry.js +1 -0
- package/dist/webcomponents/{p-9838b5a7.entry.js → p-4db2e291.entry.js} +1 -1
- package/dist/webcomponents/{p-c07069f1.entry.js → p-55e7e239.entry.js} +1 -1
- package/dist/webcomponents/p-58e811cc.entry.js +1 -0
- package/dist/webcomponents/{p-534881d8.entry.js → p-5d2bcf39.entry.js} +1 -1
- package/dist/webcomponents/p-6ae9b2c5.entry.js +1 -0
- package/dist/webcomponents/p-6ba76fc2.entry.js +1 -0
- package/dist/webcomponents/p-6e5ec134.entry.js +1 -0
- package/dist/webcomponents/p-707e1e27.entry.js +1 -0
- package/dist/webcomponents/p-70a7c529.entry.js +1 -0
- package/dist/webcomponents/p-71de86bf.entry.js +1 -0
- package/dist/webcomponents/p-799e1a2f.entry.js +1 -0
- package/dist/webcomponents/p-80a9216a.entry.js +1 -0
- package/dist/webcomponents/p-8d215ad8.entry.js +1 -0
- package/dist/webcomponents/p-8d5138d8.entry.js +1 -0
- package/dist/webcomponents/p-8d88556f.entry.js +1 -0
- package/dist/webcomponents/p-8dc0e73a.entry.js +1 -0
- package/dist/webcomponents/p-8e9407a1.entry.js +1 -0
- package/dist/webcomponents/p-90d106c7.entry.js +1 -0
- package/dist/webcomponents/{p-d667138d.entry.js → p-938e4dc8.entry.js} +1 -1
- package/dist/webcomponents/p-99f3e1e0.entry.js +1 -0
- package/dist/webcomponents/{p-534833ca.entry.js → p-9a00cde1.entry.js} +1 -1
- package/dist/webcomponents/{p-J7WCmj-J.js → p-B--wlcf0.js} +1 -1
- package/dist/webcomponents/p-B2OPgLr1.js +1 -0
- package/dist/webcomponents/p-B5w1e9rb.js +1 -0
- package/dist/webcomponents/p-BIiEPAAI.js +1 -0
- package/dist/webcomponents/p-BMdYr88u.js +1 -0
- package/dist/webcomponents/p-BisDKGW5.js +1 -0
- package/dist/webcomponents/p-BlW92We8.js +1 -0
- package/dist/webcomponents/{p-D2muobcE.js → p-C-Uj-u5r.js} +1 -1
- package/dist/webcomponents/{p-D2TJwp13.js → p-C6IaNDXe.js} +1 -1
- package/dist/webcomponents/{p-DL0R5vDy.js → p-C95_YBmG.js} +1 -1
- package/dist/webcomponents/p-CASlE7cE.js +1 -0
- package/dist/webcomponents/{p-CMB3sNMT.js → p-CEnTtUmd.js} +1 -1
- package/dist/webcomponents/{p-Bwzxu5wV.js → p-CSW_ZzE9.js} +1 -1
- package/dist/webcomponents/{p-MkDHT9M4.js → p-CTwm3w6I.js} +1 -1
- package/dist/webcomponents/p-ChUBhd2W.js +1 -0
- package/dist/webcomponents/p-CpPclqiT.js +1 -0
- package/dist/webcomponents/{p-D0BjjvYt.js → p-DKzki_Iz.js} +1 -1
- package/dist/webcomponents/p-DtDYtwHR.js +1 -0
- package/dist/webcomponents/p-ZiYybdMz.js +1 -0
- package/dist/webcomponents/p-a00ccf58.entry.js +1 -0
- package/dist/webcomponents/p-a511a246.entry.js +1 -0
- package/dist/webcomponents/p-a9edf63a.entry.js +1 -0
- package/dist/webcomponents/p-ad785edd.entry.js +1 -0
- package/dist/webcomponents/p-afe956d9.entry.js +1 -0
- package/dist/webcomponents/p-b822ab7e.entry.js +1 -0
- package/dist/webcomponents/{p-1c95ec74.entry.js → p-bbcaa5cc.entry.js} +2 -2
- package/dist/webcomponents/p-bd3f7117.entry.js +1 -0
- package/dist/webcomponents/{p-2bec5dca.entry.js → p-c499a613.entry.js} +1 -1
- package/dist/webcomponents/p-c4d50650.entry.js +1 -0
- package/dist/webcomponents/p-c7ecb7d3.entry.js +1 -0
- package/dist/webcomponents/p-ce8de71b.entry.js +1 -0
- package/dist/webcomponents/{p-252a4f75.entry.js → p-d072a65f.entry.js} +1 -1
- package/dist/webcomponents/{p-ea84c544.entry.js → p-d34f497c.entry.js} +1 -1
- package/dist/webcomponents/p-d791e38e.entry.js +1 -0
- package/dist/webcomponents/p-d8918d5a.entry.js +1 -0
- package/dist/webcomponents/{p-42129686.entry.js → p-de4c796a.entry.js} +1 -1
- package/dist/webcomponents/p-e204efea.entry.js +1 -0
- package/dist/webcomponents/p-e70602bd.entry.js +1 -0
- package/dist/webcomponents/p-e751e2c3.entry.js +1 -0
- package/dist/webcomponents/{p-744f57f0.entry.js → p-ef30afd5.entry.js} +1 -1
- package/dist/webcomponents/p-f7522364.entry.js +1 -0
- package/dist/webcomponents/p-fNBks3-O.js +1 -0
- package/dist/webcomponents/p-facdac1b.entry.js +1 -0
- package/dist/webcomponents/p-g6a7Gl9y.js +1 -0
- package/dist/webcomponents/p-lFx33NDk.js +1 -0
- package/dist/webcomponents/p-x7WGc-xR.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +14 -14
- package/LICENSE +0 -21
- package/dist/cjs/ComponentError-D4OLnOkg.js +0 -31
- package/dist/cjs/bank-account-document-form-inputs_9.cjs.entry.js +0 -525
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +0 -151
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +0 -353
- package/dist/esm/ComponentError-Cjcsf8ku.js +0 -31
- package/dist/esm/bank-account-document-form-inputs_9.entry.js +0 -515
- package/dist/esm/justifi-payment-provisioning-core.entry.js +0 -149
- package/dist/module/justifi-payment-provisioning-core.d.ts +0 -11
- package/dist/module/justifi-payment-provisioning-core.js +0 -6
- package/dist/module/payment-provisioning-core.js +0 -367
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-core.d.ts +0 -43
- package/dist/webcomponents/p-08424d71.entry.js +0 -1
- package/dist/webcomponents/p-089bc927.entry.js +0 -1
- package/dist/webcomponents/p-0b7fa323.entry.js +0 -1
- package/dist/webcomponents/p-16ae88d0.entry.js +0 -1
- package/dist/webcomponents/p-179fe9a0.entry.js +0 -1
- package/dist/webcomponents/p-1a9aecbf.entry.js +0 -1
- package/dist/webcomponents/p-1d1c48c3.entry.js +0 -1
- package/dist/webcomponents/p-1da3ba0f.entry.js +0 -1
- package/dist/webcomponents/p-26062991.entry.js +0 -1
- package/dist/webcomponents/p-26074643.entry.js +0 -1
- package/dist/webcomponents/p-2719f4db.entry.js +0 -1
- package/dist/webcomponents/p-2a0ce169.entry.js +0 -1
- package/dist/webcomponents/p-2b8df3c0.entry.js +0 -1
- package/dist/webcomponents/p-358f7121.entry.js +0 -1
- package/dist/webcomponents/p-383798ab.entry.js +0 -1
- package/dist/webcomponents/p-485a8795.entry.js +0 -1
- package/dist/webcomponents/p-4d222f42.entry.js +0 -1
- package/dist/webcomponents/p-53dd8569.entry.js +0 -1
- package/dist/webcomponents/p-56d58041.entry.js +0 -1
- package/dist/webcomponents/p-61784c6a.entry.js +0 -1
- package/dist/webcomponents/p-7108eead.entry.js +0 -1
- package/dist/webcomponents/p-729c9798.entry.js +0 -1
- package/dist/webcomponents/p-7742cf61.entry.js +0 -1
- package/dist/webcomponents/p-774b69a0.entry.js +0 -1
- package/dist/webcomponents/p-77600a47.entry.js +0 -1
- package/dist/webcomponents/p-783580d4.entry.js +0 -1
- package/dist/webcomponents/p-83fd4eae.entry.js +0 -1
- package/dist/webcomponents/p-848ae146.entry.js +0 -1
- package/dist/webcomponents/p-865d4604.entry.js +0 -1
- package/dist/webcomponents/p-8Kt4Rhcq.js +0 -1
- package/dist/webcomponents/p-8c52d10a.entry.js +0 -1
- package/dist/webcomponents/p-8df335d4.entry.js +0 -1
- package/dist/webcomponents/p-9639d9d0.entry.js +0 -1
- package/dist/webcomponents/p-97d16844.entry.js +0 -1
- package/dist/webcomponents/p-B6sIVWJW.js +0 -1
- package/dist/webcomponents/p-BmEX2SfZ.js +0 -1
- package/dist/webcomponents/p-C1olhiO9.js +0 -1
- package/dist/webcomponents/p-CAl_N2gi.js +0 -1
- package/dist/webcomponents/p-CBqZge6m.js +0 -1
- package/dist/webcomponents/p-CIYOQWsL.js +0 -1
- package/dist/webcomponents/p-CMqX6btO.js +0 -1
- package/dist/webcomponents/p-CWv3GX8X.js +0 -1
- package/dist/webcomponents/p-Cjcsf8ku.js +0 -1
- package/dist/webcomponents/p-CmXujxGp.js +0 -1
- package/dist/webcomponents/p-DLmWCafe.js +0 -1
- package/dist/webcomponents/p-DYGIC0QH.js +0 -1
- package/dist/webcomponents/p-Dvcgmvfg.js +0 -1
- package/dist/webcomponents/p-MLfmcsbZ.js +0 -1
- package/dist/webcomponents/p-R0FDNhyd.js +0 -1
- package/dist/webcomponents/p-a53fae42.entry.js +0 -1
- package/dist/webcomponents/p-a5640aa4.entry.js +0 -1
- package/dist/webcomponents/p-b21e5a85.entry.js +0 -1
- package/dist/webcomponents/p-b2d7a9dd.entry.js +0 -1
- package/dist/webcomponents/p-b596cbb3.entry.js +0 -1
- package/dist/webcomponents/p-b7ffdb30.entry.js +0 -1
- package/dist/webcomponents/p-bac16c16.entry.js +0 -1
- package/dist/webcomponents/p-bb4cc829.entry.js +0 -1
- package/dist/webcomponents/p-bbdae5b7.entry.js +0 -1
- package/dist/webcomponents/p-c4da12e0.entry.js +0 -1
- package/dist/webcomponents/p-c5be6300.entry.js +0 -1
- package/dist/webcomponents/p-c63b8c8f.entry.js +0 -1
- package/dist/webcomponents/p-d6350138.entry.js +0 -1
- package/dist/webcomponents/p-d6c2d51d.entry.js +0 -1
- package/dist/webcomponents/p-def798df.entry.js +0 -1
- package/dist/webcomponents/p-e2650fe5.entry.js +0 -1
- package/dist/webcomponents/p-e4ba0754.entry.js +0 -1
- package/dist/webcomponents/p-e939affa.entry.js +0 -1
- package/dist/webcomponents/p-e9c20b52.entry.js +0 -1
- package/dist/webcomponents/p-rz2BF2Sz.js +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
|
-
var
|
|
5
|
-
var paymentProvisioningActions = require('./payment-provisioning-actions-
|
|
6
|
-
var business_service = require('./business.service-
|
|
4
|
+
var Plaid = require('./Plaid-6JK8xPnG.js');
|
|
5
|
+
var paymentProvisioningActions = require('./payment-provisioning-actions-DscyasDY.js');
|
|
6
|
+
var business_service = require('./business.service-XXjIL3rT.js');
|
|
7
7
|
var businessAdditionalQuestionsSchema = require('./business-additional-questions-schema-CI80eZLJ.js');
|
|
8
8
|
var index_esm = require('./index.esm-C1ZPG85l.js');
|
|
9
9
|
var Business = require('./Business-oBifyXkW.js');
|
|
@@ -14,20 +14,23 @@ var businessFormOptions = require('./business-form-options-D_nM7NDk.js');
|
|
|
14
14
|
var eventTypes = require('./event-types-DNOUef41.js');
|
|
15
15
|
require('./config-state-BIgGhhe9.js');
|
|
16
16
|
require('./dinero-BwNN_k7x.js');
|
|
17
|
-
var Plaid = require('./Plaid-DR9WDZ98.js');
|
|
18
17
|
require('./Pagination-Dediz133.js');
|
|
19
18
|
require('./Dispute-CruQTF6_.js');
|
|
19
|
+
var utils = require('./utils-DAyWinG2.js');
|
|
20
20
|
var schemaValidations = require('./schema-validations-_yWWnnaG.js');
|
|
21
21
|
var button = require('./button-CR9Rl1-o.js');
|
|
22
22
|
require('./event-types-YOY5TKUN.js');
|
|
23
23
|
var countryConfig = require('./country-config-D7fss2oF.js');
|
|
24
|
+
var utils$1 = require('./utils-BHi4j5rB.js');
|
|
25
|
+
var skeleton = require('./skeleton-DvRCiQlA.js');
|
|
26
|
+
var inputHandlers = require('./input-handlers-_51J5q7J.js');
|
|
24
27
|
var businessIdentitySchema = require('./business-identity-schema-DWWtSiUF.js');
|
|
25
28
|
var Api = require('./Api-Bukk55YZ.js');
|
|
26
|
-
require('./
|
|
29
|
+
var styledHost = require('./styled-host-DAi5SuFa.js');
|
|
30
|
+
var plaid_service = require('./plaid.service-C0ZgOkwL.js');
|
|
31
|
+
require('./utils-C4CgQd55.js');
|
|
27
32
|
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
28
|
-
require('./skeleton-DvRCiQlA.js');
|
|
29
33
|
require('./index-W-zoNiyM.js');
|
|
30
|
-
require('./utils-BHi4j5rB.js');
|
|
31
34
|
|
|
32
35
|
class BankAccount {
|
|
33
36
|
constructor(data) {
|
|
@@ -169,8 +172,8 @@ const AdditionalQuestionsFormStep = class {
|
|
|
169
172
|
else {
|
|
170
173
|
this.errorEvent.emit({
|
|
171
174
|
message: 'Missing required props',
|
|
172
|
-
errorCode:
|
|
173
|
-
severity:
|
|
175
|
+
errorCode: Plaid.ComponentErrorCodes.MISSING_PROPS,
|
|
176
|
+
severity: Plaid.ComponentErrorSeverity.ERROR,
|
|
174
177
|
});
|
|
175
178
|
}
|
|
176
179
|
}
|
|
@@ -189,6 +192,35 @@ const AdditionalQuestionsFormStep = class {
|
|
|
189
192
|
}; }
|
|
190
193
|
};
|
|
191
194
|
|
|
195
|
+
const BankAccountDocumentFormInputs = class {
|
|
196
|
+
constructor(hostRef) {
|
|
197
|
+
index.registerInstance(this, hostRef);
|
|
198
|
+
}
|
|
199
|
+
render() {
|
|
200
|
+
return (index.h("div", { key: 'e578f34f963b144c3121b1c1b3822d70b960aa79', class: "row gy-3" }, index.h("div", { key: 'cfb038a81afcd9f8c35e3145ddb77d5edf4e6c83', class: "col-12" }, index.h("form-control-file", { key: '23ff12d7fe707a5761e13ee71dd801c563cfdd54', name: "voided_check", label: "Voided Check", documentType: Plaid.EntityDocumentType.voidedCheck, inputHandler: this.inputHandler, onFileSelected: this.storeFiles, errorText: this.errors["voided_check"], multiple: true })), index.h("div", { key: '107353c687412a90890901f9a37743fa222bdba5', class: "col-12" }, index.h("form-control-file", { key: '99223848b8937bb332b47f12245a9ef9467c8f93', name: "bank_statement", label: "Bank Statement", documentType: Plaid.EntityDocumentType.bankStatement, inputHandler: this.inputHandler, onFileSelected: this.storeFiles, errorText: this.errors["bank_statement"], multiple: true }))));
|
|
201
|
+
}
|
|
202
|
+
};
|
|
203
|
+
|
|
204
|
+
const BankAccountFormInputs = class {
|
|
205
|
+
constructor(hostRef) {
|
|
206
|
+
index.registerInstance(this, hostRef);
|
|
207
|
+
}
|
|
208
|
+
render() {
|
|
209
|
+
var _a, _b, _c, _d, _e, _f;
|
|
210
|
+
return (index.h("div", { key: '735c8fd61c0dbf8f9ff51d284af45170b5660224', class: "row gy-3" }, index.h("div", { key: '894209630dd0abb597a6c67a56f8100e4d746d49', class: "col-12" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Bank Name", value: (_a = this.defaultValue) === null || _a === void 0 ? void 0 : _a.bank_name })) : (index.h("form-control-text", { name: "bank_name", label: "Bank Name", defaultValue: this.defaultValue.bank_name, errorText: this.errors.bank_name, inputHandler: this.inputHandler }))), index.h("div", { key: '35c0f042f315c6ab4b0f8fdcac0e41cc765c17d6', class: "col-12" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Nickname", value: (_b = this.defaultValue) === null || _b === void 0 ? void 0 : _b.nickname })) : (index.h("form-control-text", { name: "nickname", label: "Nickname", defaultValue: this.defaultValue.nickname, errorText: this.errors.nickname, inputHandler: this.inputHandler }))), index.h("div", { key: '0633bcb39aacf43b924af203f8e359f984eb0714', class: "col-12" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Account Owner Name", value: (_c = this.defaultValue) === null || _c === void 0 ? void 0 : _c.account_owner_name })) : (index.h("form-control-text", { name: "account_owner_name", label: "Account Owner Name", defaultValue: this.defaultValue.account_owner_name, errorText: this.errors.account_owner_name, inputHandler: this.inputHandler }))), index.h("div", { key: 'aa31611fbc5abf27411f9057826c7371bc5775d3', class: "col-12" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Account Type", value: (_d = this.defaultValue) === null || _d === void 0 ? void 0 : _d.account_type })) : (index.h("form-control-select", { name: "account_type", label: "Account Type", options: businessFormOptions.bankAccountTypeOptions, defaultValue: this.defaultValue.account_type, errorText: this.errors.account_type, inputHandler: this.inputHandler }))), index.h("div", { key: '1c05be48c83e85a16991875c367f9d853c8ec6e7', class: "col-6" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Account Number", value: ((_e = this.defaultValue) === null || _e === void 0 ? void 0 : _e.account_number_last4) ? `**** ${this.defaultValue.account_number_last4}` : '' })) : (index.h("form-control-text", { name: "account_number", label: "Account Number", defaultValue: this.defaultValue.account_number, maxLength: 17, errorText: this.errors.account_number, inputHandler: this.inputHandler, keyDownHandler: utils.numberOnlyHandler, helpText: "Please copy the account number as shown on your statement/check. Do not include spaces or dashes." }))), index.h("div", { key: 'da84ea19a3eea3b40b3d32d0135e1fda9163427e', class: "col-6" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Routing Number", value: ((_f = this.defaultValue) === null || _f === void 0 ? void 0 : _f.routing_number) || '' })) : (index.h("form-control-text", { name: "routing_number", label: "Routing Number", defaultValue: this.defaultValue.routing_number, maxLength: 9, errorText: this.errors.routing_number, inputHandler: this.inputHandler, keyDownHandler: utils.numberOnlyHandler, helpText: "A valid routing number is nine digits. Please include any leading or trailing zeroes." })))));
|
|
211
|
+
}
|
|
212
|
+
};
|
|
213
|
+
|
|
214
|
+
const BankAccountFormInputsCanada = class {
|
|
215
|
+
constructor(hostRef) {
|
|
216
|
+
index.registerInstance(this, hostRef);
|
|
217
|
+
}
|
|
218
|
+
render() {
|
|
219
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
220
|
+
return (index.h("div", { key: 'aea608cdca19fc3adac323404606aa7c56a18572', class: "row gy-3" }, index.h("div", { key: 'ef177cde388fb2c353a7e99088f59fa7add65a95', class: "col-12" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Bank Name", value: (_a = this.defaultValue) === null || _a === void 0 ? void 0 : _a.bank_name })) : (index.h("form-control-text", { name: "bank_name", label: "Bank Name", defaultValue: this.defaultValue.bank_name, errorText: this.errors.bank_name, inputHandler: this.inputHandler }))), index.h("div", { key: '28371c86ce49071b8ba0326468124b5de5709548', class: "col-12" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Nickname", value: (_b = this.defaultValue) === null || _b === void 0 ? void 0 : _b.nickname })) : (index.h("form-control-text", { name: "nickname", label: "Nickname", defaultValue: this.defaultValue.nickname, errorText: this.errors.nickname, inputHandler: this.inputHandler }))), index.h("div", { key: 'd6d822d223d29f266ceed47ced4b8938f39b9655', class: "col-12" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Account Owner Name", value: (_c = this.defaultValue) === null || _c === void 0 ? void 0 : _c.account_owner_name })) : (index.h("form-control-text", { name: "account_owner_name", label: "Account Owner Name", defaultValue: this.defaultValue.account_owner_name, errorText: this.errors.account_owner_name, inputHandler: this.inputHandler }))), index.h("div", { key: '4c895bf0d84692d64fb79a597216913cd16e9fa9', class: "col-12" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Account Type", value: (_d = this.defaultValue) === null || _d === void 0 ? void 0 : _d.account_type })) : (index.h("form-control-select", { name: "account_type", label: "Account Type", options: businessFormOptions.bankAccountTypeOptions, defaultValue: this.defaultValue.account_type, errorText: this.errors.account_type, inputHandler: this.inputHandler }))), index.h("div", { key: '4b37594d23e84228d347e1ee2747aa4712f4258c', class: "col-3" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Transit Number", value: ((_e = this.defaultValue) === null || _e === void 0 ? void 0 : _e.transit_number) || '' })) : (index.h("form-control-text", { name: "transit_number", label: "Transit Number", defaultValue: this.defaultValue.transit_number, maxLength: 5, errorText: this.errors.transit_number, inputHandler: this.inputHandler, keyDownHandler: utils.numberOnlyHandler, helpText: "5 digits" }))), index.h("div", { key: '7a1f042244ba0f3f20ad20c5b95771128c03174c', class: "col-3" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Institution Number", value: ((_f = this.defaultValue) === null || _f === void 0 ? void 0 : _f.institution_number) || '' })) : (index.h("form-control-text", { name: "institution_number", label: "Institution Number", defaultValue: this.defaultValue.institution_number, maxLength: 3, errorText: this.errors.institution_number, inputHandler: this.inputHandler, keyDownHandler: utils.numberOnlyHandler, helpText: "3 digits" }))), index.h("div", { key: '9af8cc4227238851ca63b75fb00210ce19210b48', class: "col-6" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Account Number", value: ((_g = this.defaultValue) === null || _g === void 0 ? void 0 : _g.account_number_last4) ? `**** ${this.defaultValue.account_number_last4}` : '' })) : (index.h("form-control-text", { name: "account_number", label: "Account Number", defaultValue: this.defaultValue.account_number, maxLength: 17, errorText: this.errors.account_number, inputHandler: this.inputHandler, keyDownHandler: utils.numberOnlyHandler, helpText: "Please copy the account number as shown on your statement. Do not include spaces or dashes." })))));
|
|
221
|
+
}
|
|
222
|
+
};
|
|
223
|
+
|
|
192
224
|
const checkExistingDocs = (documents, documentType) => {
|
|
193
225
|
return documents.some((doc) => doc.document_type === documentType);
|
|
194
226
|
};
|
|
@@ -376,9 +408,9 @@ const BusinessBankAccountFormStep = class {
|
|
|
376
408
|
this.handleDocRecordResponse = (docData, response) => {
|
|
377
409
|
if (response.error) {
|
|
378
410
|
this.errorEvent.emit({
|
|
379
|
-
errorCode:
|
|
411
|
+
errorCode: Plaid.ComponentErrorCodes.POST_ERROR,
|
|
380
412
|
message: response.error.message,
|
|
381
|
-
severity:
|
|
413
|
+
severity: Plaid.ComponentErrorSeverity.ERROR,
|
|
382
414
|
data: response.error,
|
|
383
415
|
});
|
|
384
416
|
return false;
|
|
@@ -402,9 +434,9 @@ const BusinessBankAccountFormStep = class {
|
|
|
402
434
|
this.handleUploadResponse = (response) => {
|
|
403
435
|
if (response.error) {
|
|
404
436
|
this.errorEvent.emit({
|
|
405
|
-
errorCode:
|
|
437
|
+
errorCode: Plaid.ComponentErrorCodes.POST_ERROR,
|
|
406
438
|
message: response.error.message,
|
|
407
|
-
severity:
|
|
439
|
+
severity: Plaid.ComponentErrorSeverity.ERROR,
|
|
408
440
|
data: response.error,
|
|
409
441
|
});
|
|
410
442
|
return false;
|
|
@@ -459,8 +491,8 @@ const BusinessBankAccountFormStep = class {
|
|
|
459
491
|
else {
|
|
460
492
|
this.errorEvent.emit({
|
|
461
493
|
message: 'Missing required props',
|
|
462
|
-
errorCode:
|
|
463
|
-
severity:
|
|
494
|
+
errorCode: Plaid.ComponentErrorCodes.MISSING_PROPS,
|
|
495
|
+
severity: Plaid.ComponentErrorSeverity.ERROR,
|
|
464
496
|
});
|
|
465
497
|
}
|
|
466
498
|
}
|
|
@@ -522,8 +554,8 @@ const BusinessBankAccountFormStep = class {
|
|
|
522
554
|
catch (error) {
|
|
523
555
|
this.errorEvent.emit({
|
|
524
556
|
message: error,
|
|
525
|
-
errorCode:
|
|
526
|
-
severity:
|
|
557
|
+
errorCode: Plaid.ComponentErrorCodes.POST_ERROR,
|
|
558
|
+
severity: Plaid.ComponentErrorSeverity.ERROR
|
|
527
559
|
});
|
|
528
560
|
}
|
|
529
561
|
}
|
|
@@ -740,8 +772,8 @@ const BusinessCoreInfoFormStep = class {
|
|
|
740
772
|
else {
|
|
741
773
|
this.errorEvent.emit({
|
|
742
774
|
message: 'Missing required props',
|
|
743
|
-
errorCode:
|
|
744
|
-
severity:
|
|
775
|
+
errorCode: Plaid.ComponentErrorCodes.MISSING_PROPS,
|
|
776
|
+
severity: Plaid.ComponentErrorSeverity.ERROR,
|
|
745
777
|
});
|
|
746
778
|
}
|
|
747
779
|
}
|
|
@@ -763,6 +795,26 @@ const BusinessCoreInfoFormStep = class {
|
|
|
763
795
|
}; }
|
|
764
796
|
};
|
|
765
797
|
|
|
798
|
+
const BusinessDocumentsOnFile = class {
|
|
799
|
+
constructor(hostRef) {
|
|
800
|
+
index.registerInstance(this, hostRef);
|
|
801
|
+
this.documents = [];
|
|
802
|
+
this.isLoading = false;
|
|
803
|
+
}
|
|
804
|
+
render() {
|
|
805
|
+
if (this.isLoading) {
|
|
806
|
+
return index.h(skeleton.Skeleton, { height: "50px" });
|
|
807
|
+
}
|
|
808
|
+
if (!this.documents.length) {
|
|
809
|
+
return null;
|
|
810
|
+
}
|
|
811
|
+
return (index.h(index.Host, null, index.h("div", { class: "card", part: parts.card }, index.h("div", { class: "card-body" }, index.h("h5", { class: "card-title", part: parts.heading2 }, "Documents Already on File"), index.h("div", { class: "table-responsive" }, index.h("table", { class: "table table-sm table-borderless", part: parts.table }, index.h("thead", null, index.h("tr", null, index.h("th", { style: { width: "25%" }, part: parts.tableHeadCell, scope: "col" }, "File Name"), index.h("th", { style: { width: "25%" }, part: parts.tableHeadCell, scope: "col" }, "File Type"), index.h("th", { style: { width: "25%" }, part: parts.tableHeadCell, scope: "col" }, "Document Type"), index.h("th", { style: { width: "25%" }, part: parts.tableHeadCell, scope: "col" }, "Date Uploaded"))), index.h("tbody", null, this.documents.sort((a, b) => a.document_type.localeCompare(b.document_type))
|
|
812
|
+
.map((document, index$1) => {
|
|
813
|
+
return (index.h("tr", { class: index$1 === 0 ? "border-bottom border-top" : "border-bottom" }, index.h("td", { part: parts.tableCell }, document.file_name), index.h("td", { part: parts.tableCell }, document.file_type), index.h("td", { part: parts.tableCell }, utils$1.snakeCaseToHumanReadable(document.document_type)), index.h("td", { part: parts.tableCell }, `${utils$1.formatDate(document.created_at)} - ${utils$1.formatTime(document.created_at)}`)));
|
|
814
|
+
})))))), index.h("hr", null)));
|
|
815
|
+
}
|
|
816
|
+
};
|
|
817
|
+
|
|
766
818
|
const BusinessOwnersFormStep = class {
|
|
767
819
|
constructor(hostRef) {
|
|
768
820
|
index.registerInstance(this, hostRef);
|
|
@@ -911,8 +963,8 @@ const BusinessOwnersFormStep = class {
|
|
|
911
963
|
else {
|
|
912
964
|
this.errorEvent.emit({
|
|
913
965
|
message: 'Missing required props',
|
|
914
|
-
errorCode:
|
|
915
|
-
severity:
|
|
966
|
+
errorCode: Plaid.ComponentErrorCodes.MISSING_PROPS,
|
|
967
|
+
severity: Plaid.ComponentErrorSeverity.ERROR,
|
|
916
968
|
});
|
|
917
969
|
}
|
|
918
970
|
}
|
|
@@ -946,6 +998,30 @@ const BusinessOwnersFormStep = class {
|
|
|
946
998
|
}; }
|
|
947
999
|
};
|
|
948
1000
|
|
|
1001
|
+
const BusinessRepresentativeFormInputs = class {
|
|
1002
|
+
constructor(hostRef) {
|
|
1003
|
+
index.registerInstance(this, hostRef);
|
|
1004
|
+
this.isEditingIdentification = false;
|
|
1005
|
+
this.inputHandler = (name, value) => {
|
|
1006
|
+
inputHandlers.updateFormValues(this.formController, { [name]: value });
|
|
1007
|
+
};
|
|
1008
|
+
this.onAddressFormUpdate = (values) => {
|
|
1009
|
+
inputHandlers.updateAddressFormValues(this.formController, Object.assign(Object.assign({}, this.formController.values.getValue().address), values));
|
|
1010
|
+
};
|
|
1011
|
+
}
|
|
1012
|
+
render() {
|
|
1013
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
1014
|
+
return (index.h("form", { key: '042455d68a432e0e218d5b8750fb1d22b0d202fc' }, index.h("fieldset", { key: 'd8949e76f0a2185438382868e36ef6a79bbbb214' }, index.h("div", { key: '1471d4089c04b42408769ae5e964fe362c569205', class: "d-flex align-items-center gap-2" }, index.h("legend", { key: 'a59f689369a27f98dacab659f6f9c386475e9913', class: "mb-0", part: parts.heading2 }, "Representative"), index.h("form-control-tooltip", { key: '404259ace28a8bd64c8f43a630d60992c35c996c', helpText: "The representative for your business needs to be someone who has significant control over managing your business's finance. You will have an opportunity to add owners later in the form." })), index.h("hr", { key: 'bee8121f5a19680292259fba7a692a318c0d1c1e', class: "mt-2" }), index.h("div", { key: 'f7976d2ec594ff07016dccb9fcc4909ba6cabc71', class: "row gy-3" }, index.h("div", { key: '9a518fab2dd269e15afe05d8ca40157f97ca57db', class: "col-12 col-md-8" }, index.h("form-control-text", { key: '1340ac078c18d464a88b5ca6de92d887cb0b3913', name: "name", label: "Full Name", defaultValue: (_a = this.representativeDefaultValue) === null || _a === void 0 ? void 0 : _a.name, errorText: this.errors.name, inputHandler: this.inputHandler })), index.h("div", { key: 'c680cdcab436875dde00c5ea68ab0bad9c56851e', class: "col-12 col-md-4" }, index.h("form-control-text", { key: 'ff9f6656c1147478b93f564774baa296fbb64922', name: "title", label: "Title", defaultValue: (_b = this.representativeDefaultValue) === null || _b === void 0 ? void 0 : _b.title, errorText: this.errors.title, inputHandler: this.inputHandler, helpText: "Role at your business, e.g. President, CEO, Treasurer." })), index.h("div", { key: 'e6dcbe8bbe574db2756e5421e5fbcda41c7789cc', class: "col-12 col-md-6" }, index.h("form-control-text", { key: '9f42434ec29b41da77eb1c87723d6483fa5c0ebf', name: "email", label: "Email Address", defaultValue: (_c = this.representativeDefaultValue) === null || _c === void 0 ? void 0 : _c.email, errorText: this.errors.email, inputHandler: this.inputHandler })), index.h("div", { key: '1e423be80b728506ec23b69df39d58ebd2a17313', class: "col-12 col-md-6" }, index.h("form-control-number-masked", { key: 'e5694e680d8a6b022978a358a524c2163a82549f', name: "phone", label: "Phone Number", defaultValue: (_d = this.representativeDefaultValue) === null || _d === void 0 ? void 0 : _d.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: formInputMasks.PHONE_MASKS.US })), index.h("div", { key: '362dc639f0d046372a35201bfdc0ea24db87fb7c', class: "col-12 col-md-4" }, index.h("form-control-date", { key: '8d41cfc3ab11a373a42445542964d5a59f6c3f41', name: "dob_full", label: "Birth Date", defaultValue: (_e = this.representativeDefaultValue) === null || _e === void 0 ? void 0 : _e.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: (e) => inputHandlers.updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), index.h("div", { key: 'ddafa094b5d67ef9ad8312f412a8032ce708d221', class: "col-12 col-md-8" }, (!((_f = this.representativeDefaultValue) === null || _f === void 0 ? void 0 : _f.ssn_last4) || this.isEditingIdentification) ? (index.h("form-control-number-masked", { name: "identification_number", label: countryConfig.countryLabels[this.country].idNumberLabel, defaultValue: this.isEditingIdentification ? '' : (_g = this.representativeDefaultValue) === null || _g === void 0 ? void 0 : _g.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: formInputMasks.IDENTITY_MASKS[this.country], helpText: countryConfig.countryLabels[this.country].identityHelpText })) : (index.h("div", null, index.h("label", { class: "form-label", part: parts.label }, countryConfig.countryLabels[this.country].idNumberLabel), index.h("div", { class: "input-group mb-3" }, index.h("input", { type: "text", class: "form-control", part: parts.inputDisabled, value: `****${(_h = this.representativeDefaultValue) === null || _h === void 0 ? void 0 : _h.ssn_last4}`, disabled: true }), index.h("button", { class: "btn btn-secondary", type: "button", part: parts.buttonSecondary, onClick: () => {
|
|
1015
|
+
this.isEditingIdentification = true;
|
|
1016
|
+
// Clear current value to force validation
|
|
1017
|
+
inputHandlers.updateFormValues(this.formController, {
|
|
1018
|
+
identification_number: '',
|
|
1019
|
+
ssn_last4: null
|
|
1020
|
+
});
|
|
1021
|
+
} }, "Change"))))), index.h("div", { key: 'd4c54dbda49e4a141d82340f1162e1b27460d474', class: "col-12" }, index.h("identity-address-form", { key: '1d70077d2d36e5f447353cbdb78900dfec903d0c', errors: this.errors.address, defaultValues: (_j = this.representativeDefaultValue) === null || _j === void 0 ? void 0 : _j.address, handleFormUpdate: this.onAddressFormUpdate, country: this.country }))))));
|
|
1022
|
+
}
|
|
1023
|
+
};
|
|
1024
|
+
|
|
949
1025
|
const BusinessRepresentativeFormStep = class {
|
|
950
1026
|
constructor(hostRef) {
|
|
951
1027
|
index.registerInstance(this, hostRef);
|
|
@@ -1030,8 +1106,8 @@ const BusinessRepresentativeFormStep = class {
|
|
|
1030
1106
|
else {
|
|
1031
1107
|
this.errorEvent.emit({
|
|
1032
1108
|
message: 'Missing required props',
|
|
1033
|
-
errorCode:
|
|
1034
|
-
severity:
|
|
1109
|
+
errorCode: Plaid.ComponentErrorCodes.MISSING_PROPS,
|
|
1110
|
+
severity: Plaid.ComponentErrorSeverity.ERROR,
|
|
1035
1111
|
});
|
|
1036
1112
|
}
|
|
1037
1113
|
}
|
|
@@ -1040,8 +1116,8 @@ const BusinessRepresentativeFormStep = class {
|
|
|
1040
1116
|
if (!schemaFactory) {
|
|
1041
1117
|
this.errorEvent.emit({
|
|
1042
1118
|
message: 'Missing schema for selected country',
|
|
1043
|
-
errorCode:
|
|
1044
|
-
severity:
|
|
1119
|
+
errorCode: Plaid.ComponentErrorCodes.MISSING_PROPS,
|
|
1120
|
+
severity: Plaid.ComponentErrorSeverity.ERROR,
|
|
1045
1121
|
});
|
|
1046
1122
|
return;
|
|
1047
1123
|
}
|
|
@@ -1099,9 +1175,9 @@ const BusinessTermsConditionsFormStep = class {
|
|
|
1099
1175
|
}
|
|
1100
1176
|
catch (error) {
|
|
1101
1177
|
this.errorEvent.emit({
|
|
1102
|
-
errorCode:
|
|
1178
|
+
errorCode: Plaid.ComponentErrorCodes.FETCH_ERROR,
|
|
1103
1179
|
message: error.message,
|
|
1104
|
-
severity:
|
|
1180
|
+
severity: Plaid.ComponentErrorSeverity.ERROR,
|
|
1105
1181
|
data: error,
|
|
1106
1182
|
});
|
|
1107
1183
|
}
|
|
@@ -1118,9 +1194,9 @@ const BusinessTermsConditionsFormStep = class {
|
|
|
1118
1194
|
}
|
|
1119
1195
|
catch (error) {
|
|
1120
1196
|
this.errorEvent.emit({
|
|
1121
|
-
errorCode:
|
|
1197
|
+
errorCode: Plaid.ComponentErrorCodes.POST_ERROR,
|
|
1122
1198
|
message: error.message,
|
|
1123
|
-
severity:
|
|
1199
|
+
severity: Plaid.ComponentErrorSeverity.ERROR,
|
|
1124
1200
|
data: error,
|
|
1125
1201
|
});
|
|
1126
1202
|
}
|
|
@@ -1159,9 +1235,9 @@ const BusinessTermsConditionsFormStep = class {
|
|
|
1159
1235
|
handleResponse(response, onSuccess) {
|
|
1160
1236
|
if (response.error) {
|
|
1161
1237
|
this.errorEvent.emit({
|
|
1162
|
-
errorCode:
|
|
1238
|
+
errorCode: Plaid.ComponentErrorCodes.POST_ERROR,
|
|
1163
1239
|
message: response.error.message,
|
|
1164
|
-
severity:
|
|
1240
|
+
severity: Plaid.ComponentErrorSeverity.ERROR,
|
|
1165
1241
|
data: response.error,
|
|
1166
1242
|
});
|
|
1167
1243
|
}
|
|
@@ -1191,7 +1267,7 @@ const BusinessTermsConditionsFormStep = class {
|
|
|
1191
1267
|
return (index.h("a", { href: "https://justifi.tech/merchant-agreement/", target: "_blank", rel: "noopener noreferrer" }, "merchant agreement"));
|
|
1192
1268
|
}
|
|
1193
1269
|
render() {
|
|
1194
|
-
return (index.h("form", { key: '
|
|
1270
|
+
return (index.h("form", { key: 'bd5117e6c5206dbbac772e6e9cbcb23f0dd3e8ad' }, index.h("fieldset", { key: 'ae9e0a6a5296a0fbad5ad1282a18ac3fd3d4445e' }, index.h("legend", { key: '86dd2cfd7c8c0114cee2c5cfe83c9dc8f9b113df', part: parts.heading2 }, "Terms and Conditions"), index.h("hr", { key: 'c3747ca0ecaf68734a9335e14730471130d1a428' }), index.h("div", { key: 'c5e1858326c6805c9cb16b84f224f95bb764b241' }, index.h("p", { key: '352e14efc77677ce445e6437f27d68b864ec500b' }, "Please read and accept the ", this.merchantAgreementLink, " to submit your provisioning request.")), index.h("br", { key: 'b94cae3d132d7d211b0bbff5f0070717b034b256' }), index.h("div", { key: 'ab728d134034552b02f74228746785e209776172', class: "row-gy-3" }, index.h("div", { key: '645592f8eb929766c4c12f743a46c6ce03ae7459', class: "col-12" }, index.h("form-control-checkbox", { key: '9fe09f38e66c2b1d879f620ab860ea2eee284889', name: "accepted", label: "I agree to the terms and conditions", inputHandler: this.inputHandler, errorText: this.errors.accepted, disabled: this.acceptedTermsBefore, helpText: this.formHelperText, checked: this.acceptedTerms }))))));
|
|
1195
1271
|
}
|
|
1196
1272
|
};
|
|
1197
1273
|
|
|
@@ -1293,8 +1369,8 @@ const LegalAddressFormStep = class {
|
|
|
1293
1369
|
else {
|
|
1294
1370
|
this.errorEvent.emit({
|
|
1295
1371
|
message: 'Missing required props',
|
|
1296
|
-
errorCode:
|
|
1297
|
-
severity:
|
|
1372
|
+
errorCode: Plaid.ComponentErrorCodes.MISSING_PROPS,
|
|
1373
|
+
severity: Plaid.ComponentErrorSeverity.ERROR,
|
|
1298
1374
|
});
|
|
1299
1375
|
}
|
|
1300
1376
|
}
|
|
@@ -1312,53 +1388,370 @@ const LegalAddressFormStep = class {
|
|
|
1312
1388
|
}; }
|
|
1313
1389
|
};
|
|
1314
1390
|
|
|
1315
|
-
const
|
|
1391
|
+
const OwnerForm = class {
|
|
1316
1392
|
constructor(hostRef) {
|
|
1317
1393
|
index.registerInstance(this, hostRef);
|
|
1394
|
+
this.errorEvent = index.createEvent(this, "error-event", 7);
|
|
1318
1395
|
}
|
|
1319
|
-
|
|
1320
|
-
return this.
|
|
1396
|
+
async validate() {
|
|
1397
|
+
return this.coreComponent.validate();
|
|
1321
1398
|
}
|
|
1322
|
-
|
|
1323
|
-
return this.
|
|
1399
|
+
async submit() {
|
|
1400
|
+
return this.coreComponent.submit();
|
|
1324
1401
|
}
|
|
1325
|
-
|
|
1326
|
-
|
|
1402
|
+
async validateAndSubmit({ onSuccess }) {
|
|
1403
|
+
this.coreComponent.validateAndSubmit({ onSuccess });
|
|
1404
|
+
}
|
|
1405
|
+
componentWillLoad() {
|
|
1406
|
+
this.initializeApi();
|
|
1407
|
+
}
|
|
1408
|
+
initializeApi() {
|
|
1409
|
+
if (!this.authToken) {
|
|
1410
|
+
return;
|
|
1411
|
+
}
|
|
1412
|
+
this.getOwner = paymentProvisioningActions.makeGetIdentity({
|
|
1413
|
+
authToken: this.authToken,
|
|
1414
|
+
identityId: this.ownerId,
|
|
1415
|
+
service: new business_service.IdentityService()
|
|
1416
|
+
});
|
|
1417
|
+
this.patchOwner = paymentProvisioningActions.makePatchIdentity({
|
|
1418
|
+
authToken: this.authToken,
|
|
1419
|
+
identityId: this.ownerId,
|
|
1420
|
+
service: new business_service.IdentityService()
|
|
1421
|
+
});
|
|
1422
|
+
this.postOwner = paymentProvisioningActions.makePostIdentity({
|
|
1423
|
+
authToken: this.authToken,
|
|
1424
|
+
service: new business_service.IdentityService()
|
|
1425
|
+
});
|
|
1327
1426
|
}
|
|
1328
1427
|
render() {
|
|
1329
|
-
return (index.h("
|
|
1428
|
+
return (index.h("owner-form-core", { key: '82a1976007db4371de3c8da1cff48f27a9c7795e', ownerId: this.ownerId, businessId: this.businessId, getOwner: this.getOwner, patchOwner: this.patchOwner, postOwner: this.postOwner, allowOptionalFields: this.allowOptionalFields, removeOwner: this.removeOwner, newFormOpen: this.newFormOpen, ownersLength: this.ownersLength, country: this.country, ref: ref => this.coreComponent = ref }));
|
|
1330
1429
|
}
|
|
1331
1430
|
};
|
|
1332
1431
|
|
|
1333
|
-
const
|
|
1432
|
+
const PlaidVerification = class {
|
|
1334
1433
|
constructor(hostRef) {
|
|
1335
1434
|
index.registerInstance(this, hostRef);
|
|
1336
|
-
this.
|
|
1337
|
-
this.
|
|
1338
|
-
this.
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1435
|
+
this.plaidVerificationSuccess = index.createEvent(this, "plaidVerificationSuccess", 7);
|
|
1436
|
+
this.plaidVerificationError = index.createEvent(this, "plaidVerificationError", 7);
|
|
1437
|
+
this.linkToken = null;
|
|
1438
|
+
this.linkTokenId = null;
|
|
1439
|
+
this.plaidLink = null;
|
|
1440
|
+
this.isAuthenticating = false;
|
|
1441
|
+
this.isSuccess = false;
|
|
1442
|
+
this.error = null;
|
|
1443
|
+
this.isLoading = false;
|
|
1444
|
+
this.plaidService = new plaid_service.PlaidService();
|
|
1445
|
+
this.abortController = null;
|
|
1446
|
+
this.timeoutId = null;
|
|
1447
|
+
this.initializePlaidLink = async () => {
|
|
1448
|
+
try {
|
|
1449
|
+
// Check if Plaid is available globally
|
|
1450
|
+
if (typeof window.Plaid === 'undefined') {
|
|
1451
|
+
this.handleError({
|
|
1452
|
+
code: Plaid.PlaidErrorCodes.PLAID_SDK_LOAD_FAILED,
|
|
1453
|
+
message: Plaid.PLAID_ERROR_MESSAGES[Plaid.PlaidErrorCodes.PLAID_SDK_LOAD_FAILED],
|
|
1454
|
+
severity: Plaid.PLAID_ERROR_SEVERITY[Plaid.PlaidErrorCodes.PLAID_SDK_LOAD_FAILED],
|
|
1455
|
+
retryable: true,
|
|
1456
|
+
userAction: 'Refresh the page and try again',
|
|
1457
|
+
});
|
|
1458
|
+
return;
|
|
1459
|
+
}
|
|
1460
|
+
// Get link token from backend
|
|
1461
|
+
await this.getLinkToken();
|
|
1462
|
+
if (!this.linkToken) {
|
|
1463
|
+
this.handleError({
|
|
1464
|
+
code: Plaid.PlaidErrorCodes.PLAID_LINK_TOKEN_FAILED,
|
|
1465
|
+
message: Plaid.PLAID_ERROR_MESSAGES[Plaid.PlaidErrorCodes.PLAID_LINK_TOKEN_FAILED],
|
|
1466
|
+
severity: Plaid.PLAID_ERROR_SEVERITY[Plaid.PlaidErrorCodes.PLAID_LINK_TOKEN_FAILED],
|
|
1467
|
+
retryable: true,
|
|
1468
|
+
userAction: 'Click to try again',
|
|
1469
|
+
});
|
|
1470
|
+
return;
|
|
1471
|
+
}
|
|
1472
|
+
// Initialize Plaid Link
|
|
1473
|
+
const Plaid$1 = window.Plaid;
|
|
1474
|
+
this.plaidLink = Plaid$1.create({
|
|
1475
|
+
token: this.linkToken,
|
|
1476
|
+
onSuccess: this.handlePlaidSuccess,
|
|
1477
|
+
onExit: this.handlePlaidExit,
|
|
1478
|
+
onEvent: this.handlePlaidEvent,
|
|
1479
|
+
onLoad: this.handlePlaidLoad,
|
|
1480
|
+
});
|
|
1481
|
+
}
|
|
1482
|
+
catch (error) {
|
|
1483
|
+
this.handleError({
|
|
1484
|
+
code: Plaid.PlaidErrorCodes.PLAID_LINK_INIT_FAILED,
|
|
1485
|
+
message: Plaid.PLAID_ERROR_MESSAGES[Plaid.PlaidErrorCodes.PLAID_LINK_INIT_FAILED],
|
|
1486
|
+
severity: Plaid.PLAID_ERROR_SEVERITY[Plaid.PlaidErrorCodes.PLAID_LINK_INIT_FAILED],
|
|
1487
|
+
originalError: error,
|
|
1488
|
+
retryable: true,
|
|
1489
|
+
userAction: 'Click to try again',
|
|
1490
|
+
});
|
|
1491
|
+
}
|
|
1492
|
+
};
|
|
1493
|
+
this.getLinkToken = async () => {
|
|
1494
|
+
var _a, _b, _c, _d;
|
|
1495
|
+
try {
|
|
1496
|
+
if (!this.authToken || !this.accountId) {
|
|
1497
|
+
this.handleError({
|
|
1498
|
+
code: Plaid.PlaidErrorCodes.PLAID_LINK_TOKEN_FAILED,
|
|
1499
|
+
message: 'Missing authentication. Please provide authToken and accountId.',
|
|
1500
|
+
severity: Plaid.ComponentErrorSeverity.ERROR,
|
|
1501
|
+
retryable: false,
|
|
1502
|
+
userAction: 'Provide required props',
|
|
1503
|
+
});
|
|
1504
|
+
return;
|
|
1505
|
+
}
|
|
1506
|
+
// Create abort controller for timeout handling
|
|
1507
|
+
this.abortController = new AbortController();
|
|
1508
|
+
// Set timeout for the request
|
|
1509
|
+
this.timeoutId = setTimeout(() => {
|
|
1510
|
+
var _a;
|
|
1511
|
+
(_a = this.abortController) === null || _a === void 0 ? void 0 : _a.abort();
|
|
1512
|
+
}, 30000); // 30 second timeout
|
|
1513
|
+
const response = await this.plaidService.getLinkTokenForVerification(this.authToken, this.businessId, this.abortController.signal);
|
|
1514
|
+
// Clear timeout
|
|
1515
|
+
if (this.timeoutId) {
|
|
1516
|
+
clearTimeout(this.timeoutId);
|
|
1517
|
+
this.timeoutId = null;
|
|
1518
|
+
}
|
|
1519
|
+
if (response.error) {
|
|
1520
|
+
const errorMessage = typeof response.error === 'string'
|
|
1521
|
+
? response.error
|
|
1522
|
+
: response.error.message || 'Failed to get link token';
|
|
1523
|
+
throw new Error(errorMessage);
|
|
1524
|
+
}
|
|
1525
|
+
this.linkToken = response.data.link_token;
|
|
1526
|
+
this.linkTokenId = response.data.id;
|
|
1527
|
+
}
|
|
1528
|
+
catch (error) {
|
|
1529
|
+
// Clear timeout
|
|
1530
|
+
if (this.timeoutId) {
|
|
1531
|
+
clearTimeout(this.timeoutId);
|
|
1532
|
+
this.timeoutId = null;
|
|
1533
|
+
}
|
|
1534
|
+
let errorCode = Plaid.PlaidErrorCodes.PLAID_LINK_TOKEN_FAILED;
|
|
1535
|
+
let message = Plaid.PLAID_ERROR_MESSAGES[errorCode];
|
|
1536
|
+
let retryable = true;
|
|
1537
|
+
// Handle specific error types
|
|
1538
|
+
if (error.name === 'AbortError') {
|
|
1539
|
+
errorCode = Plaid.PlaidErrorCodes.PLAID_TIMEOUT;
|
|
1540
|
+
message = Plaid.PLAID_ERROR_MESSAGES[errorCode];
|
|
1541
|
+
retryable = true;
|
|
1542
|
+
}
|
|
1543
|
+
else if (((_a = error.message) === null || _a === void 0 ? void 0 : _a.includes('network')) || ((_b = error.message) === null || _b === void 0 ? void 0 : _b.includes('fetch'))) {
|
|
1544
|
+
errorCode = Plaid.PlaidErrorCodes.PLAID_NETWORK_ERROR;
|
|
1545
|
+
message = Plaid.PLAID_ERROR_MESSAGES[errorCode];
|
|
1546
|
+
retryable = true;
|
|
1547
|
+
}
|
|
1548
|
+
else if (((_c = error.message) === null || _c === void 0 ? void 0 : _c.includes('401')) || ((_d = error.message) === null || _d === void 0 ? void 0 : _d.includes('unauthorized'))) {
|
|
1549
|
+
errorCode = Plaid.PlaidErrorCodes.PLAID_INVALID_CREDENTIALS;
|
|
1550
|
+
message = 'Authentication failed. Please check your credentials.';
|
|
1551
|
+
retryable = false;
|
|
1552
|
+
}
|
|
1553
|
+
this.handleError({
|
|
1554
|
+
code: errorCode,
|
|
1555
|
+
message: message,
|
|
1556
|
+
severity: Plaid.PLAID_ERROR_SEVERITY[errorCode],
|
|
1557
|
+
originalError: error,
|
|
1558
|
+
retryable,
|
|
1559
|
+
userAction: retryable ? 'Click to try again' : 'Check your credentials',
|
|
1560
|
+
});
|
|
1561
|
+
}
|
|
1562
|
+
};
|
|
1563
|
+
this.openPlaidLink = () => {
|
|
1564
|
+
if (this.plaidLink && this.linkToken) {
|
|
1565
|
+
this.isAuthenticating = true;
|
|
1566
|
+
this.clearError();
|
|
1567
|
+
this.plaidLink.open();
|
|
1568
|
+
}
|
|
1569
|
+
};
|
|
1570
|
+
this.handlePlaidSuccess = async (publicToken, _metadata) => {
|
|
1571
|
+
var _a;
|
|
1572
|
+
this.isAuthenticating = false;
|
|
1573
|
+
this.isLoading = true;
|
|
1574
|
+
this.clearError();
|
|
1575
|
+
try {
|
|
1576
|
+
// Send publicToken to backend
|
|
1577
|
+
const response = await this.plaidService.postPlaidVerifiedBankAccountData(this.authToken, this.businessId, { public_token: publicToken, link_token_id: this.linkTokenId }, (_a = this.abortController) === null || _a === void 0 ? void 0 : _a.signal);
|
|
1578
|
+
if (response.error) {
|
|
1579
|
+
const errorMessage = typeof response.error === 'string'
|
|
1580
|
+
? response.error
|
|
1581
|
+
: response.error.message || 'Failed to verify bank account';
|
|
1582
|
+
throw new Error(errorMessage);
|
|
1583
|
+
}
|
|
1584
|
+
// Success - display success message
|
|
1585
|
+
this.isSuccess = true;
|
|
1586
|
+
this.isLoading = false;
|
|
1587
|
+
// Emit success event
|
|
1588
|
+
this.plaidVerificationSuccess.emit({ publicToken, bankAccount: response.data });
|
|
1589
|
+
}
|
|
1590
|
+
catch (error) {
|
|
1591
|
+
this.isLoading = false;
|
|
1592
|
+
this.handleError({
|
|
1593
|
+
code: Plaid.PlaidErrorCodes.PLAID_AUTHENTICATION_FAILED,
|
|
1594
|
+
message: (error === null || error === void 0 ? void 0 : error.message) || 'Failed to verify bank account',
|
|
1595
|
+
severity: Plaid.PLAID_ERROR_SEVERITY[Plaid.PlaidErrorCodes.PLAID_AUTHENTICATION_FAILED],
|
|
1596
|
+
originalError: error,
|
|
1597
|
+
retryable: true,
|
|
1598
|
+
userAction: 'Click to try again',
|
|
1599
|
+
});
|
|
1600
|
+
}
|
|
1601
|
+
};
|
|
1602
|
+
this.handlePlaidExit = (err, _metadata) => {
|
|
1603
|
+
this.isAuthenticating = false;
|
|
1604
|
+
if (err) {
|
|
1605
|
+
this.handlePlaidError(err);
|
|
1606
|
+
}
|
|
1607
|
+
};
|
|
1608
|
+
this.handlePlaidEvent = (eventName, metadata) => {
|
|
1609
|
+
// Handle specific events if needed
|
|
1610
|
+
switch (eventName) {
|
|
1611
|
+
case 'OPEN':
|
|
1612
|
+
this.isAuthenticating = true;
|
|
1613
|
+
break;
|
|
1614
|
+
case 'CLOSE':
|
|
1615
|
+
this.isAuthenticating = false;
|
|
1616
|
+
break;
|
|
1617
|
+
case 'ERROR':
|
|
1618
|
+
this.handlePlaidError(metadata);
|
|
1619
|
+
break;
|
|
1620
|
+
}
|
|
1621
|
+
};
|
|
1622
|
+
this.handlePlaidLoad = () => {
|
|
1623
|
+
// Plaid Link loaded successfully
|
|
1624
|
+
};
|
|
1625
|
+
this.handlePlaidError = (error) => {
|
|
1626
|
+
let errorCode = Plaid.PlaidErrorCodes.PLAID_AUTHENTICATION_FAILED;
|
|
1627
|
+
let message = Plaid.PLAID_ERROR_MESSAGES[errorCode];
|
|
1628
|
+
let retryable = true;
|
|
1629
|
+
let userAction = 'Click to try again';
|
|
1630
|
+
// Map Plaid error codes to our error codes
|
|
1631
|
+
if (error.error_code) {
|
|
1632
|
+
switch (error.error_code) {
|
|
1633
|
+
case 'INVALID_CREDENTIALS':
|
|
1634
|
+
errorCode = Plaid.PlaidErrorCodes.PLAID_INVALID_CREDENTIALS;
|
|
1635
|
+
message = Plaid.PLAID_ERROR_MESSAGES[errorCode];
|
|
1636
|
+
retryable = true;
|
|
1637
|
+
break;
|
|
1638
|
+
case 'ITEM_LOGIN_REQUIRED':
|
|
1639
|
+
errorCode = Plaid.PlaidErrorCodes.PLAID_INVALID_CREDENTIALS;
|
|
1640
|
+
message = 'Your bank requires re-authentication. Please try again.';
|
|
1641
|
+
retryable = true;
|
|
1642
|
+
break;
|
|
1643
|
+
case 'ITEM_LOCKED':
|
|
1644
|
+
errorCode = Plaid.PlaidErrorCodes.PLAID_ACCOUNT_LOCKED;
|
|
1645
|
+
message = Plaid.PLAID_ERROR_MESSAGES[errorCode];
|
|
1646
|
+
retryable = false;
|
|
1647
|
+
userAction = 'Contact your bank';
|
|
1648
|
+
break;
|
|
1649
|
+
case 'INSTITUTION_NOT_RESPONDING':
|
|
1650
|
+
errorCode = Plaid.PlaidErrorCodes.PLAID_MAINTENANCE;
|
|
1651
|
+
message = Plaid.PLAID_ERROR_MESSAGES[errorCode];
|
|
1652
|
+
retryable = true;
|
|
1653
|
+
break;
|
|
1654
|
+
case 'RATE_LIMIT_EXCEEDED':
|
|
1655
|
+
errorCode = Plaid.PlaidErrorCodes.PLAID_RATE_LIMITED;
|
|
1656
|
+
message = Plaid.PLAID_ERROR_MESSAGES[errorCode];
|
|
1657
|
+
retryable = true;
|
|
1658
|
+
break;
|
|
1659
|
+
default:
|
|
1660
|
+
if (error.error_message) {
|
|
1661
|
+
message = error.error_message;
|
|
1662
|
+
}
|
|
1663
|
+
break;
|
|
1664
|
+
}
|
|
1665
|
+
}
|
|
1666
|
+
this.handleError({
|
|
1667
|
+
code: errorCode,
|
|
1668
|
+
message,
|
|
1669
|
+
severity: Plaid.PLAID_ERROR_SEVERITY[errorCode],
|
|
1670
|
+
originalError: error,
|
|
1671
|
+
retryable,
|
|
1672
|
+
userAction,
|
|
1673
|
+
});
|
|
1674
|
+
this.isAuthenticating = false;
|
|
1675
|
+
};
|
|
1676
|
+
this.handleError = (plaidError) => {
|
|
1677
|
+
this.error = plaidError;
|
|
1678
|
+
this.isLoading = false;
|
|
1679
|
+
// Emit error event for parent components
|
|
1680
|
+
this.plaidVerificationError.emit(plaidError);
|
|
1681
|
+
console.error('Plaid verification error:', plaidError);
|
|
1682
|
+
};
|
|
1683
|
+
this.clearError = () => {
|
|
1684
|
+
if (this.error) {
|
|
1685
|
+
this.error = null;
|
|
1686
|
+
}
|
|
1687
|
+
};
|
|
1688
|
+
}
|
|
1689
|
+
componentDidRender() {
|
|
1690
|
+
if (!this.scriptRef)
|
|
1691
|
+
return;
|
|
1692
|
+
this.scriptRef.onload = () => {
|
|
1693
|
+
this.initializePlaidLink();
|
|
1694
|
+
};
|
|
1695
|
+
this.scriptRef.onerror = () => {
|
|
1696
|
+
this.handleError({
|
|
1697
|
+
code: Plaid.PlaidErrorCodes.PLAID_SDK_LOAD_FAILED,
|
|
1698
|
+
message: Plaid.PLAID_ERROR_MESSAGES[Plaid.PlaidErrorCodes.PLAID_SDK_LOAD_FAILED],
|
|
1699
|
+
severity: Plaid.PLAID_ERROR_SEVERITY[Plaid.PlaidErrorCodes.PLAID_SDK_LOAD_FAILED],
|
|
1700
|
+
retryable: true,
|
|
1701
|
+
userAction: 'Refresh the page and try again',
|
|
1702
|
+
});
|
|
1346
1703
|
};
|
|
1347
1704
|
}
|
|
1348
|
-
|
|
1349
|
-
|
|
1705
|
+
disconnectedCallback() {
|
|
1706
|
+
// Clean up timeouts and abort controllers
|
|
1707
|
+
if (this.timeoutId) {
|
|
1708
|
+
clearTimeout(this.timeoutId);
|
|
1709
|
+
}
|
|
1710
|
+
if (this.abortController) {
|
|
1711
|
+
this.abortController.abort();
|
|
1712
|
+
}
|
|
1350
1713
|
}
|
|
1351
1714
|
render() {
|
|
1352
|
-
|
|
1715
|
+
const renderErrorState = () => {
|
|
1716
|
+
if (!this.error)
|
|
1717
|
+
return null;
|
|
1718
|
+
const errorClass = this.error.severity === Plaid.ComponentErrorSeverity.ERROR
|
|
1719
|
+
? 'text-danger'
|
|
1720
|
+
: this.error.severity === Plaid.ComponentErrorSeverity.WARNING
|
|
1721
|
+
? 'text-warning'
|
|
1722
|
+
: 'text-info';
|
|
1723
|
+
return (index.h("div", { class: `${errorClass} mt-2` }, index.h("small", null, this.error.message), index.h("br", null), this.error.userAction && (index.h("small", { class: "text-muted" }, this.error.userAction))));
|
|
1724
|
+
};
|
|
1725
|
+
const renderStatusState = () => {
|
|
1726
|
+
if (this.error)
|
|
1727
|
+
return null;
|
|
1728
|
+
if (this.isLoading) {
|
|
1729
|
+
return (index.h("div", { class: "text-info mt-2" }, index.h("small", null, "Verifying bank account...")));
|
|
1730
|
+
}
|
|
1731
|
+
if (this.isSuccess) {
|
|
1732
|
+
return (index.h("div", { class: "text-success mt-2" }, index.h("small", null, "\u2713 Bank account verified successfully")));
|
|
1733
|
+
}
|
|
1734
|
+
if (this.isAuthenticating) {
|
|
1735
|
+
return (index.h("div", { class: "text-info mt-2" }, index.h("small", null, "Connecting to your bank...")));
|
|
1736
|
+
}
|
|
1737
|
+
return null;
|
|
1738
|
+
};
|
|
1739
|
+
const plaidLogo = (index.h("svg", { class: "plaid-logo-img", height: "20", width: "20", viewBox: "0 0 28 29", xmlns: "http://www.w3.org/2000/svg", style: { display: 'inline', marginLeft: '5px', marginRight: '5px', marginTop: '-2px' } }, index.h("g", { fill: "#fff", "fill-rule": "evenodd" }, index.h("path", { d: "M25.7629 26.2628L28 17.5309L24.9691 14.5001L27.9999 11.4691L25.7628 2.73706L17.0309 0.5L14.0001 3.531L10.969 0.50014L2.23706 2.73734L0 11.4691L3.03128 14.4999L0.00014 17.531L2.2372 26.2629L10.9691 28.5L14.0001 25.469L17.031 28.4999L25.7629 26.2628ZM15.7321 23.7371L18.6186 20.8505L22.2912 24.5233L17.6956 25.7007L15.7321 23.7371ZM11.1136 9.88154L14.0003 6.99502L16.8868 9.8814L14.0001 12.7679L11.1136 9.88154ZM12.2682 14.5L9.38154 17.3865L6.49502 14.5L9.38154 11.6135L12.2682 14.5ZM18.6187 11.6133L21.5053 14.5L18.6186 17.3865L15.7321 14.5L18.6187 11.6133ZM16.8867 19.1186L14.0001 22.0051L11.1135 19.1185L14.0001 16.2319L16.8867 19.1186ZM10.3044 25.7007L5.70864 24.5233L9.38154 20.8504L12.2682 23.7371L10.3044 25.7007ZM4.76308 16.2319L7.6496 19.1185L3.9767 22.7914L2.7993 18.1957L4.76308 16.2319ZM3.9767 6.20836L7.64974 9.8814L4.76308 12.7681L2.7993 10.8041L3.9767 6.20836ZM12.2683 5.26294L9.38168 8.1496L5.70892 4.4767L10.3047 3.2993L12.2683 5.26294ZM17.6959 3.2993L22.2915 4.4767L18.6186 8.14946L15.7321 5.26294L17.6959 3.2993ZM23.2372 12.7681L20.3505 9.8814L24.0233 6.20878L25.2007 10.8046L23.2372 12.7681ZM24.0233 22.7914L20.3505 19.1186L23.2372 16.2321L25.2007 18.1957L24.0233 22.7914Z" }))));
|
|
1740
|
+
return (index.h(styledHost.StyledHost, null, index.h("script", { src: "https://cdn.plaid.com/link/v2/stable/link-initialize.js", async: true, ref: (el) => (this.scriptRef = el) }), index.h("div", null, index.h("div", { class: "mb-3" }, index.h(button.Button, { variant: "primary", type: "button", onClick: (event) => { event.preventDefault(); this.openPlaidLink(); }, disabled: this.isLoading, part: parts.buttonPrimary }, "Connect with Plaid ", plaidLogo, " (instant verification)")), renderErrorState(), renderStatusState())));
|
|
1353
1741
|
}
|
|
1354
1742
|
};
|
|
1355
1743
|
|
|
1356
1744
|
exports.additional_questions_form_step = AdditionalQuestionsFormStep;
|
|
1745
|
+
exports.bank_account_document_form_inputs = BankAccountDocumentFormInputs;
|
|
1746
|
+
exports.bank_account_form_inputs = BankAccountFormInputs;
|
|
1747
|
+
exports.bank_account_form_inputs_canada = BankAccountFormInputsCanada;
|
|
1357
1748
|
exports.business_bank_account_form_step = BusinessBankAccountFormStep;
|
|
1358
1749
|
exports.business_core_info_form_step = BusinessCoreInfoFormStep;
|
|
1750
|
+
exports.business_documents_on_file = BusinessDocumentsOnFile;
|
|
1359
1751
|
exports.business_owners_form_step = BusinessOwnersFormStep;
|
|
1752
|
+
exports.business_representative_form_inputs = BusinessRepresentativeFormInputs;
|
|
1360
1753
|
exports.business_representative_form_step = BusinessRepresentativeFormStep;
|
|
1361
1754
|
exports.business_terms_conditions_form_step = BusinessTermsConditionsFormStep;
|
|
1362
1755
|
exports.legal_address_form_step = LegalAddressFormStep;
|
|
1363
|
-
exports.
|
|
1364
|
-
exports.
|
|
1756
|
+
exports.owner_form = OwnerForm;
|
|
1757
|
+
exports.plaid_verification = PlaidVerification;
|