@justifi/webcomponents 6.10.4 → 6.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{check-pkg-version-Mv0ez8Cf.js → Analytics-DZCXB2Za.js} +2 -45
- package/dist/cjs/{Plaid-B_UkFjIV.js → Plaid-DR9WDZ98.js} +1 -1
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +4 -4
- package/dist/cjs/{justifi-additional-questions-form-step_9.cjs.entry.js → additional-questions-form-step_9.cjs.entry.js} +28 -28
- package/dist/cjs/{form-alert_5.cjs.entry.js → additional-questions_5.cjs.entry.js} +26 -26
- package/dist/cjs/{badge-Bd6H9TX2.js → badge-GBNtUypt.js} +1 -1
- package/dist/cjs/bank-account-billing-form-simple_4.cjs.entry.js +203 -0
- package/dist/cjs/bank-account-document-form-inputs_9.cjs.entry.js +43 -43
- package/dist/cjs/bank-account-form.cjs.entry.js +10 -6
- package/dist/cjs/business-details-core.cjs.entry.js +3 -3
- package/dist/cjs/{business.service-Kplx8w_D.js → business.service-mliLE8kX.js} +1 -1
- package/dist/cjs/{button-DAbSQPoU.js → button-CR9Rl1-o.js} +1 -1
- package/dist/cjs/card-form.cjs.entry.js +10 -6
- package/dist/cjs/check-pkg-version-CUhnNGii.js +47 -0
- package/dist/cjs/{checkout.service-B2toaeKY.js → checkout.service-Cok0vRot.js} +1 -1
- package/dist/cjs/checkouts-list-core.cjs.entry.js +7 -7
- package/dist/cjs/{checkouts-table-KuNixae0.js → checkouts-table-CCxrsy0x.js} +2 -2
- package/dist/cjs/custom-popper_2.cjs.entry.js +5 -5
- package/dist/cjs/{dispute.service-C4n1SOsu.js → dispute.service-DEH_I2G9.js} +1 -1
- package/dist/cjs/{form-control-number-masked_3.cjs.entry.js → form-address-fields_3.cjs.entry.js} +24 -24
- package/dist/cjs/form-control-checkbox.cjs.entry.js +7 -7
- package/dist/cjs/form-control-date.cjs.entry.js +6 -6
- package/dist/cjs/{form-control-error-text-C4Wqr79O.js → form-control-error-text-BO58Y6zF.js} +1 -1
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +9 -9
- package/dist/cjs/{form-control-help-text-Bo9d_mCH.js → form-control-help-text-BdbTxD5g.js} +1 -1
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +7 -7
- package/dist/cjs/form-control-monetary.cjs.entry.js +7 -7
- package/dist/cjs/form-control-number_3.cjs.entry.js +15 -15
- package/dist/cjs/form-control-radio.cjs.entry.js +5 -5
- package/dist/cjs/form-control-select_2.cjs.entry.js +10 -10
- package/dist/cjs/{get-payment-details-Atcodhcd.js → get-payment-details-DNpOyUyR.js} +1 -1
- package/dist/cjs/{get-subaccounts-BUyf9EhG.js → get-subaccounts-BQW_RPW5.js} +1 -1
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +4 -4
- package/dist/cjs/{header-1-DR-eAlp1.js → header-1-CsBQoo1f.js} +1 -1
- package/dist/cjs/{header-3-kgnQtxEu.js → header-3-DCYJhPro.js} +1 -1
- package/dist/cjs/hidden-input_2.cjs.entry.js +7 -7
- package/dist/cjs/{insurance-state-CRhLwPxQ.js → insurance-state-Xe2auE-N.js} +1 -1
- package/dist/cjs/internal-button.cjs.entry.js +18 -0
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +25 -25
- package/dist/cjs/{justifi-apple-pay_8.cjs.entry.js → justifi-apple-pay_11.cjs.entry.js} +346 -40
- package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +46 -0
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +44 -0
- package/dist/cjs/justifi-billing-form-full.cjs.entry.js +24 -0
- package/dist/cjs/justifi-billing-form.cjs.entry.js +24 -0
- package/dist/cjs/justifi-business-details.cjs.entry.js +10 -9
- package/dist/cjs/justifi-business-form.cjs.entry.js +13 -12
- package/dist/cjs/justifi-card-billing-form-simple.cjs.entry.js +24 -0
- package/dist/cjs/justifi-card-form.cjs.entry.js +44 -0
- package/dist/cjs/justifi-checkout.cjs.entry.js +10 -11
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +8 -7
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +13 -12
- package/dist/cjs/justifi-config-provider.cjs.entry.js +2 -2
- package/dist/cjs/justifi-details.cjs.entry.js +5 -5
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +3 -3
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +9 -8
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +19 -18
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +9 -8
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +12 -11
- package/dist/cjs/justifi-payment-details.cjs.entry.js +11 -10
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +9 -8
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +12 -11
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payments-list.cjs.entry.js +13 -12
- package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -9
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +12 -11
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +14 -13
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +12 -11
- package/dist/cjs/justifi-save-new-payment-method.cjs.entry.js +18 -0
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +4 -4
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +10 -9
- package/dist/cjs/justifi-skeleton.cjs.entry.js +3 -3
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +12 -8
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +11 -10
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +7 -5
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +13 -12
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-OpgJzVo3.js → package-CJg8qLYd.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
- package/dist/cjs/{parts-WjOn_TIy.js → parts-BXshb_S-.js} +3 -70
- package/dist/cjs/payment-details-core.cjs.entry.js +14 -14
- package/dist/cjs/payment-method-option.cjs.entry.js +2 -2
- package/dist/cjs/{payment-provisioning-loading-BHAFHTuI.js → payment-provisioning-loading-tM9WWmxv.js} +1 -1
- package/dist/cjs/{payment.service-CxSGTv_O.js → payment.service-Dl9UExDw.js} +1 -1
- package/dist/cjs/payments-list-core.cjs.entry.js +8 -8
- package/dist/cjs/{payments-status-BngaUiWA.js → payments-status-Bj_bCKUP.js} +1 -1
- package/dist/cjs/{payments-table-DFOF8yrM.js → payments-table-CUxpxNnc.js} +2 -2
- package/dist/cjs/payout-details-core.cjs.entry.js +9 -9
- package/dist/cjs/{payout.service-CO2wDM6M.js → payout.service-kaFewwx4.js} +1 -1
- package/dist/cjs/payouts-list-core.cjs.entry.js +8 -8
- package/dist/cjs/{payouts-status-CP5T9uAc.js → payouts-status-DXZ5fl4v.js} +1 -1
- package/dist/cjs/{payouts-table-CHNRLZ3K.js → payouts-table-Dex2W8r1.js} +2 -2
- package/dist/cjs/{plaid.service-DvbLnuph.js → plaid.service-CK1ouCBC.js} +1 -1
- package/dist/cjs/radio-list-item.cjs.entry.js +21 -0
- package/dist/cjs/save-new-payment-method.cjs.entry.js +25 -0
- package/dist/cjs/{skeleton-BfN_sjaY.js → skeleton-DvRCiQlA.js} +1 -1
- package/dist/cjs/{spinner-51BOfCoS.js → spinner-C6ZGOB2P.js} +1 -1
- package/dist/cjs/{table-CimkSek7.js → table-DjbNv28p.js} +2 -2
- package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +7 -7
- package/dist/cjs/{terminal-orders-table-DDLvv83x.js → terminal-orders-table-07fV7wGh.js} +3 -3
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
- package/dist/cjs/{terminal.service-CUVwCH-a.js → terminal.service-UUoIe0IR.js} +1 -1
- package/dist/cjs/terminals-list-core.cjs.entry.js +7 -7
- package/dist/cjs/{terminals-table-BU73whCF.js → terminals-table-DmnAuog5.js} +2 -2
- package/dist/cjs/{utils-CowQ4GdN.js → utils-8RGQVADu.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/Terminal.js +1 -1
- package/dist/collection/api/services/apple-pay.service.js +1 -1
- package/dist/collection/collection-manifest.json +58 -52
- package/dist/collection/components/business-details/{business-details.js → justifi-business-details.js} +1 -1
- package/dist/collection/components/business-details/representative-details/representative-details.js +1 -1
- package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +2 -2
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +3 -3
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +3 -3
- package/dist/collection/components/business-forms/business-form/{business-form.js → justifi-business-form.js} +2 -2
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +2 -2
- package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +2 -2
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +2 -2
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +3 -3
- package/dist/collection/components/business-forms/owner-form/owner-form.js +3 -3
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/{business-additional-questions-form-step.js → additional-questions-form-step.js} +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/{bank-account-document-inputs.js → 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/bank-account/business-bank-account-form-step.js +1 -1
- 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 +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +4 -4
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +3 -3
- package/dist/collection/components/business-forms/payment-provisioning/{payment-provisioning.js → justifi-payment-provisioning.js} +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +9 -9
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +2 -2
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +11 -16
- package/dist/collection/components/{modular-checkout/sub-components → checkout/billing-form}/bank-account-billing-form-simple.js +16 -35
- package/dist/collection/components/{modular-checkout/sub-components → checkout/billing-form}/billing-form-full.js +19 -37
- package/dist/collection/components/checkout/billing-form/billing-form.js +5 -35
- package/dist/collection/components/{modular-checkout/sub-components → checkout/billing-form}/card-billing-form-simple.js +16 -35
- package/dist/collection/components/checkout/billing-form/justifi-billing-form.js +140 -0
- package/dist/collection/components/checkout/card-form/card-form.js +11 -16
- package/dist/collection/components/checkout/{checkout.js → justifi-checkout.js} +3 -24
- package/dist/collection/components/checkout/{saved-payment-method.js → justifi-saved-payment-method.js} +2 -2
- package/dist/collection/components/checkout/save-new-payment-method/justifi-save-new-payment-method.js +73 -0
- package/dist/collection/components/checkout/{save-new-payment-method.js → save-new-payment-method/save-new-payment-method.js} +23 -6
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +25 -5
- package/dist/collection/components/checkouts-list/{checkouts-list.js → justifi-checkouts-list.js} +2 -2
- package/dist/collection/components/config-provider/{config-provider.js → justifi-config-provider.js} +1 -1
- package/dist/collection/components/dispute-management/dispute-management-core.js +2 -2
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +2 -2
- package/dist/collection/components/dispute-management/dispute-response/{additional-statement.js → justifi-additional-statement.js} +2 -2
- package/dist/collection/components/dispute-management/dispute-response/{cancellation-policy.js → justifi-cancellation-policy.js} +2 -2
- package/dist/collection/components/dispute-management/dispute-response/{customer-details.js → justifi-customer-details.js} +2 -2
- package/dist/collection/components/dispute-management/dispute-response/{dispute-response.js → justifi-dispute-response.js} +5 -4
- package/dist/collection/components/dispute-management/dispute-response/{duplicate-charge.js → justifi-duplicate-charge.js} +2 -2
- package/dist/collection/components/dispute-management/dispute-response/{electronic-evidence.js → justifi-electronic-evidence.js} +2 -2
- package/dist/collection/components/dispute-management/dispute-response/{product-or-service.js → justifi-product-or-service.js} +2 -2
- package/dist/collection/components/dispute-management/dispute-response/{refund-policy.js → justifi-refund-policy.js} +2 -2
- package/dist/collection/components/dispute-management/dispute-response/{shipping-details.js → justifi-shipping-details.js} +2 -2
- package/dist/collection/components/dispute-management/{dispute-management.js → justifi-dispute-management.js} +2 -2
- package/dist/collection/components/dispute-management/{dispute-notification.js → justifi-dispute-notification.js} +3 -3
- 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/gross-payment-chart/{gross-payment-chart.js → justifi-gross-payment-chart.js} +1 -1
- package/dist/collection/components/insurance/season-interruption/{season-interruption-insurance.js → justifi-season-interruption-insurance.js} +1 -1
- package/dist/collection/components/modular-checkout/{modular-checkout.js → justifi-modular-checkout.js} +41 -3
- package/dist/collection/components/modular-checkout/sub-components/{apple-pay.js → justifi-apple-pay.js} +8 -11
- package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-billing-form-simple.js +95 -0
- package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-form.js +69 -0
- package/dist/collection/components/modular-checkout/sub-components/justifi-billing-form-full.js +83 -0
- package/dist/collection/components/modular-checkout/sub-components/justifi-card-billing-form-simple.js +83 -0
- package/dist/collection/components/modular-checkout/sub-components/justifi-card-form.js +69 -0
- package/dist/collection/components/modular-checkout/sub-components/justifi-checkout-summary.js +12 -0
- package/dist/collection/components/modular-checkout/sub-components/{google-pay.js → justifi-google-pay.js} +1 -1
- package/dist/collection/components/modular-checkout/sub-components/{plaid-payment-method.js → justifi-plaid-payment-method.js} +2 -2
- package/dist/collection/components/modular-checkout/sub-components/{saved-payment-methods.js → justifi-saved-payment-methods.js} +1 -1
- package/dist/collection/components/modular-checkout/sub-components/{sezzle-payment-method.js → justifi-sezzle-payment-method.js} +1 -1
- package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
- package/dist/collection/components/order-terminals/{order-terminals.js → justifi-order-terminals.js} +2 -2
- package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
- package/dist/collection/components/payment-details/{payment-details.js → justifi-payment-details.js} +1 -1
- package/dist/collection/components/payment-details/payment-details-core.js +8 -8
- package/dist/collection/components/payment-transactions-list/{payment-transactions-list.js → justifi-payment-transactions-list.js} +2 -2
- package/dist/collection/components/payments-list/{payments-list-filters.js → justifi-payments-list-filters.js} +5 -5
- package/dist/collection/components/payments-list/{payments-list.js → justifi-payments-list.js} +2 -2
- package/dist/collection/components/payments-list/payments-list-core.js +1 -1
- package/dist/collection/components/payout-details/{payout-details.js → justifi-payout-details.js} +1 -1
- package/dist/collection/components/payout-details/payout-details-core.js +3 -3
- package/dist/collection/components/payout-transactions-list/{payout-transactions-list.js → justifi-payout-transactions-list.js} +2 -2
- package/dist/collection/components/payouts-list/{payouts-list-filters.js → justifi-payouts-list-filters.js} +5 -5
- package/dist/collection/components/payouts-list/{payouts-list.js → justifi-payouts-list.js} +2 -2
- package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
- package/dist/collection/components/refund-payment/{refund-payment.js → justifi-refund-payment.js} +1 -1
- package/dist/collection/components/terminal-orders-list/{terminal-orders-list-filters.js → justifi-terminal-orders-list-filters.js} +28 -6
- package/dist/collection/components/terminal-orders-list/{terminal-orders-list.js → justifi-terminal-orders-list.js} +2 -2
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
- package/dist/collection/components/terminals-list/{terminals-list-filters.js → justifi-terminals-list-filters.js} +43 -3
- package/dist/collection/components/terminals-list/{terminals-list.js → justifi-terminals-list.js} +2 -2
- package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
- package/dist/collection/components/tokenize-payment-method/{internal-tokenize-payment-method.js → justifi-tokenize-payment-method.js} +73 -37
- package/dist/collection/styles/parts.js +1 -40
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/details/{details.js → justifi-details.js} +2 -2
- package/dist/collection/ui-components/form/form-control-checkbox.js +3 -3
- package/dist/collection/ui-components/form/form-control-date.js +3 -3
- package/dist/collection/ui-components/form/form-control-file-v2.js +2 -2
- package/dist/collection/ui-components/form/form-control-file.js +3 -3
- package/dist/collection/ui-components/form/form-control-monetary.js +3 -3
- package/dist/collection/ui-components/form/form-control-number-masked.js +3 -3
- package/dist/collection/ui-components/form/form-control-number.js +3 -3
- package/dist/collection/ui-components/form/form-control-radio.js +3 -3
- package/dist/collection/ui-components/form/form-control-select.js +3 -3
- package/dist/collection/ui-components/form/form-control-text.js +3 -3
- package/dist/collection/ui-components/form/form-control-textarea.js +3 -3
- package/dist/collection/ui-components/form/form-helpers/form-control-tooltip/form-control-tooltip.js +1 -1
- 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/index.js +1 -1
- package/dist/collection/ui-components/internal-button.js +192 -0
- package/dist/collection/ui-components/radio-list-item.js +153 -0
- package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +20 -2
- package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +2 -2
- package/dist/collection/ui-components/shadow-dom-components/justifi-radio-list-item.js +1 -5
- package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
- package/dist/docs.json +11209 -10644
- package/dist/esm/{check-pkg-version-QOngucT4.js → Analytics-C2EVi4Am.js} +4 -46
- package/dist/esm/{Api-CLZVsXZg.js → Api-DI0-itk3.js} +1 -1
- package/dist/esm/{Plaid-Cmyilr-q.js → Plaid-vwPGZ5y4.js} +2 -2
- package/dist/esm/additional-questions-details_5.entry.js +5 -5
- package/dist/esm/{justifi-additional-questions-form-step_9.entry.js → additional-questions-form-step_9.entry.js} +22 -22
- package/dist/esm/{form-alert_5.entry.js → additional-questions_5.entry.js} +23 -23
- package/dist/esm/{badge-BfWXAKIJ.js → badge-B_DdhQ3Q.js} +1 -1
- package/dist/esm/bank-account-billing-form-simple_4.entry.js +198 -0
- package/dist/esm/bank-account-document-form-inputs_9.entry.js +43 -43
- package/dist/esm/bank-account-form.entry.js +12 -8
- package/dist/esm/business-details-core.entry.js +3 -3
- package/dist/esm/{business.service-CS-wQJoN.js → business.service-M3YvwC-d.js} +2 -2
- package/dist/esm/{button-DoF-zpiW.js → button-B-Agn8yQ.js} +1 -1
- package/dist/esm/card-form.entry.js +12 -8
- package/dist/esm/check-pkg-version-qIHmWcbI.js +45 -0
- package/dist/esm/{checkout.service-BcQ_onZq.js → checkout.service-DdIBmfsp.js} +2 -2
- package/dist/esm/{checkout.store-iNkW80yV.js → checkout.store-C1TdhFf6.js} +1 -1
- package/dist/esm/checkouts-list-core.entry.js +8 -8
- package/dist/esm/{checkouts-table-XjFiAWCw.js → checkouts-table-4iLy6mvH.js} +3 -3
- package/dist/esm/custom-popper_2.entry.js +5 -5
- package/dist/esm/{dispute.service-B_oe0uFV.js → dispute.service-BzzA0DeT.js} +2 -2
- package/dist/esm/{form-control-number-masked_3.entry.js → form-address-fields_3.entry.js} +23 -23
- package/dist/esm/form-control-checkbox.entry.js +7 -7
- package/dist/esm/form-control-date.entry.js +6 -6
- package/dist/esm/{form-control-error-text-D5B0Wy4Q.js → form-control-error-text-DMKhr8QA.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +8 -8
- package/dist/esm/{form-control-help-text-XuRclELV.js → form-control-help-text-CsdCuw5-.js} +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +7 -7
- package/dist/esm/form-control-monetary.entry.js +8 -8
- package/dist/esm/form-control-number_3.entry.js +13 -13
- package/dist/esm/form-control-radio.entry.js +5 -5
- package/dist/esm/form-control-select_2.entry.js +9 -9
- package/dist/esm/{get-payment-details-BdewJSTH.js → get-payment-details-CN7gUjBc.js} +1 -1
- package/dist/esm/{get-subaccounts-BFALCYFr.js → get-subaccounts-Mwx-aVcG.js} +2 -2
- package/dist/esm/gross-payment-chart-core.entry.js +5 -5
- package/dist/esm/{header-1-BIaO3iDb.js → header-1-bRxxOyI-.js} +1 -1
- package/dist/esm/{header-3-UswhFvUr.js → header-3-E533c0A3.js} +1 -1
- package/dist/esm/hidden-input_2.entry.js +7 -7
- package/dist/esm/{insurance-state-MpA7uaXF.js → insurance-state-obAKb1XR.js} +1 -1
- package/dist/esm/internal-button.entry.js +16 -0
- package/dist/esm/justifi-additional-statement_8.entry.js +18 -18
- package/dist/esm/{justifi-apple-pay_8.entry.js → justifi-apple-pay_11.entry.js} +339 -36
- package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +44 -0
- package/dist/esm/justifi-bank-account-form.entry.js +42 -0
- package/dist/esm/justifi-billing-form-full.entry.js +22 -0
- package/dist/esm/justifi-billing-form.entry.js +22 -0
- package/dist/esm/justifi-business-details.entry.js +11 -10
- package/dist/esm/justifi-business-form.entry.js +14 -13
- package/dist/esm/justifi-card-billing-form-simple.entry.js +22 -0
- package/dist/esm/justifi-card-form.entry.js +42 -0
- package/dist/esm/justifi-checkout.entry.js +12 -13
- package/dist/esm/justifi-checkouts-list-filters.entry.js +9 -8
- package/dist/esm/justifi-checkouts-list.entry.js +14 -13
- package/dist/esm/justifi-config-provider.entry.js +2 -2
- package/dist/esm/justifi-details.entry.js +5 -5
- package/dist/esm/justifi-dispute-management-core.entry.js +3 -3
- package/dist/esm/justifi-dispute-management.entry.js +10 -9
- package/dist/esm/justifi-dispute-notification_3.entry.js +18 -17
- package/dist/esm/justifi-gross-payment-chart.entry.js +10 -9
- package/dist/esm/justifi-order-terminals.entry.js +13 -12
- package/dist/esm/justifi-payment-details.entry.js +12 -11
- package/dist/esm/justifi-payment-provisioning-core.entry.js +7 -7
- package/dist/esm/justifi-payment-provisioning.entry.js +10 -9
- package/dist/esm/justifi-payment-transactions-list.entry.js +13 -12
- package/dist/esm/justifi-payments-list-filters.entry.js +7 -7
- package/dist/esm/justifi-payments-list.entry.js +14 -13
- package/dist/esm/justifi-payout-details.entry.js +11 -10
- package/dist/esm/justifi-payout-transactions-list.entry.js +13 -12
- package/dist/esm/justifi-payouts-list-filters.entry.js +8 -8
- package/dist/esm/justifi-payouts-list.entry.js +15 -14
- package/dist/esm/justifi-refund-payment.entry.js +13 -12
- package/dist/esm/justifi-save-new-payment-method.entry.js +16 -0
- package/dist/esm/justifi-saved-payment-method.entry.js +4 -4
- package/dist/esm/justifi-season-interruption-insurance.entry.js +12 -11
- package/dist/esm/justifi-skeleton.entry.js +3 -3
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +13 -9
- package/dist/esm/justifi-terminal-orders-list.entry.js +12 -11
- package/dist/esm/justifi-terminals-list-filters.entry.js +8 -6
- package/dist/esm/justifi-terminals-list.entry.js +14 -13
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-Cc6518FT.js → package-CIYOQWsL.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/parts-D50Rx76J.js +110 -0
- package/dist/esm/payment-details-core.entry.js +15 -15
- package/dist/esm/payment-method-option.entry.js +2 -2
- package/dist/esm/{payment-provisioning-loading-DRFgrvp1.js → payment-provisioning-loading-BAoIyEOj.js} +1 -1
- package/dist/esm/{payment.service-Nvz1TYZB.js → payment.service-0k8z2rOV.js} +2 -2
- package/dist/esm/payments-list-core.entry.js +9 -9
- package/dist/esm/{payments-status-Dkt38hpB.js → payments-status-7P7L51CK.js} +1 -1
- package/dist/esm/{payments-table-ghXGJ-N6.js → payments-table-Bz7LmU_J.js} +3 -3
- package/dist/esm/payout-details-core.entry.js +10 -10
- package/dist/esm/{payout.service-tTxsxoqF.js → payout.service-C14YvCWQ.js} +2 -2
- package/dist/esm/payouts-list-core.entry.js +9 -9
- package/dist/esm/{payouts-status-B4iry-1w.js → payouts-status-CGZRMu-q.js} +1 -1
- package/dist/esm/{payouts-table-CBsTdL9_.js → payouts-table-Bpt__avQ.js} +3 -3
- package/dist/esm/{plaid.service-C59iS7tB.js → plaid.service-Dtxfrsm8.js} +2 -2
- package/dist/esm/radio-list-item.entry.js +19 -0
- package/dist/esm/save-new-payment-method.entry.js +23 -0
- package/dist/esm/{skeleton-DzBAY0bs.js → skeleton-DV6yJalo.js} +1 -1
- package/dist/esm/{spinner-DQpyMqKv.js → spinner--fEgBBOG.js} +1 -1
- package/dist/esm/{table-BwxLvetJ.js → table-Deugl8h5.js} +2 -2
- package/dist/esm/table-filters-menu.entry.js +3 -3
- package/dist/esm/terminal-orders-list-core.entry.js +8 -8
- package/dist/esm/{terminal-orders-table-Cy0qV96Y.js → terminal-orders-table-DRnRR4zn.js} +4 -4
- package/dist/esm/terminal-quantity-selector.entry.js +2 -2
- package/dist/esm/{terminal.service-Dv1-CZ4Y.js → terminal.service-rxvEhqqF.js} +2 -2
- package/dist/esm/terminals-list-core.entry.js +8 -8
- package/dist/esm/{terminals-table-BQQs_JoR.js → terminals-table-DSDZgJ77.js} +3 -3
- package/dist/esm/{utils-7bp92NC7.js → utils-C_8ZxLti.js} +1 -1
- package/dist/esm/{utils-BGbtbDiV.js → utils-DJOBwFeP.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Analytics.js +1 -43
- package/dist/module/Plaid.js +2 -2
- package/dist/module/additional-questions-form-step.d.ts +11 -0
- package/dist/module/additional-questions-form-step.js +6 -0
- package/dist/module/{business-additional-questions-form-step.js → additional-questions-form-step2.js} +5 -5
- package/dist/module/additional-questions.d.ts +11 -0
- package/dist/module/additional-questions.js +4 -76
- package/dist/module/additional-questions2.js +78 -0
- package/dist/module/badge.js +1 -1
- package/dist/module/bank-account-billing-form-simple.d.ts +11 -0
- package/dist/module/bank-account-billing-form-simple.js +4 -86
- package/dist/module/bank-account-billing-form-simple2.js +91 -0
- package/dist/module/bank-account-document-form-inputs.js +1 -1
- package/dist/module/{bank-account-document-inputs.js → bank-account-document-form-inputs2.js} +1 -1
- package/dist/module/bank-account-form-inputs-canada2.js +3 -3
- package/dist/module/bank-account-form-inputs2.js +3 -3
- package/dist/module/bank-account-form.js +1 -80
- package/dist/module/{bank-account.js → bank-account-form2.js} +10 -19
- package/dist/module/bank-account-read-only-value2.js +2 -2
- package/dist/module/billing-form-full.d.ts +11 -0
- package/dist/module/billing-form-full.js +4 -97
- package/dist/module/billing-form-full2.js +105 -0
- package/dist/module/billing-form-schema.js +1 -1
- package/dist/module/billing-form.d.ts +11 -0
- package/dist/module/billing-form.js +4 -102
- package/dist/module/billing-form2.js +99 -0
- package/dist/module/business-additional-questions-schema.js +1 -1
- package/dist/module/business-address-schema.js +2 -2
- package/dist/module/business-bank-account-form-step.d.ts +11 -0
- package/dist/module/business-bank-account-form-step.js +4 -602
- package/dist/module/business-bank-account-form-step2.js +604 -0
- package/dist/module/business-core-info-form-step.d.ts +11 -0
- package/dist/module/business-core-info-form-step.js +4 -215
- package/dist/module/business-core-info-form-step2.js +217 -0
- package/dist/module/{justifi-owner-form.d.ts → business-core-info.d.ts} +4 -4
- package/dist/module/business-core-info.js +4 -92
- package/dist/module/business-core-info2.js +94 -0
- package/dist/module/business-details-core2.js +1 -1
- package/dist/module/business-documents-on-file2.js +3 -3
- package/dist/module/business-form-options.js +1 -1
- package/dist/module/business-identity-schema.js +2 -2
- package/dist/module/business-owners-form-step.d.ts +11 -0
- package/dist/module/business-owners-form-step.js +4 -302
- package/dist/module/business-owners-form-step2.js +304 -0
- package/dist/module/business-representative-form-inputs.d.ts +11 -0
- package/dist/module/business-representative-form-inputs.js +4 -100
- package/dist/module/business-representative-form-inputs2.js +102 -0
- package/dist/module/business-representative-form-step.d.ts +11 -0
- package/dist/module/business-representative-form-step.js +4 -220
- package/dist/module/business-representative-form-step2.js +222 -0
- package/dist/module/business-representative.d.ts +11 -0
- package/dist/module/business-representative.js +4 -114
- package/dist/module/business-representative2.js +116 -0
- package/dist/module/business-terms-conditions-form-step.d.ts +11 -0
- package/dist/module/business-terms-conditions-form-step.js +4 -165
- package/dist/module/business-terms-conditions-form-step2.js +167 -0
- package/dist/module/button.js +1 -1
- package/dist/module/card-billing-form-simple.d.ts +11 -0
- package/dist/module/card-billing-form-simple.js +4 -86
- package/dist/module/card-billing-form-simple2.js +91 -0
- package/dist/module/card-form.js +1 -84
- package/dist/module/card-form2.js +12 -21
- package/dist/module/check-pkg-version.js +45 -0
- package/dist/module/checkout.store.js +2 -2
- package/dist/module/checkouts-list-core2.js +4 -4
- package/dist/module/checkouts-list-params-state.js +1 -1
- package/dist/module/config-state.js +1 -1
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/dispute-management-core.js +15 -15
- package/dist/module/dispute-response-actions.js +2 -2
- package/dist/module/dispute-response-core.js +13 -13
- package/dist/module/form-address-fields.d.ts +11 -0
- package/dist/module/form-address-fields.js +4 -63
- package/dist/module/form-address-fields2.js +65 -0
- package/dist/module/form-alert2.js +1 -1
- package/dist/module/form-control-checkbox.js +2 -2
- package/dist/module/form-control-checkbox2.js +8 -8
- package/dist/module/form-control-date.js +2 -2
- package/dist/module/form-control-date2.js +7 -7
- package/dist/module/form-control-file-v2.js +2 -2
- package/dist/module/form-control-file-v22.js +4 -4
- package/dist/module/form-control-file.js +2 -2
- package/dist/module/form-control-file2.js +7 -7
- package/dist/module/form-control-help-text.js +1 -1
- package/dist/module/form-control-help-text2.js +9 -32
- package/dist/module/form-control-help-text3.js +32 -9
- package/dist/module/form-control-monetary-provisioning.js +2 -2
- package/dist/module/form-control-monetary-provisioning2.js +9 -9
- package/dist/module/form-control-monetary.js +2 -2
- package/dist/module/form-control-monetary2.js +8 -8
- package/dist/module/form-control-number-masked.js +2 -2
- package/dist/module/form-control-number-masked2.js +8 -8
- package/dist/module/form-control-number.js +2 -2
- package/dist/module/form-control-number2.js +8 -8
- package/dist/module/form-control-radio.js +2 -2
- package/dist/module/form-control-radio2.js +7 -7
- package/dist/module/form-control-select.js +2 -2
- package/dist/module/form-control-select2.js +7 -7
- package/dist/module/form-control-text.js +2 -2
- package/dist/module/form-control-text2.js +7 -7
- package/dist/module/form-control-textarea.js +2 -2
- package/dist/module/form-control-textarea2.js +7 -7
- package/dist/module/form-control-tooltip.js +2 -2
- package/dist/module/form-control-tooltip2.js +4 -4
- package/dist/module/get-business.js +2 -2
- package/dist/module/get-payment-details.js +2 -2
- package/dist/module/get-payout-csv.js +2 -2
- package/dist/module/get-subaccounts.js +2 -2
- package/dist/module/gross-payment-chart-core2.js +1 -1
- package/dist/module/header-1.js +1 -1
- package/dist/module/header-3.js +1 -1
- package/dist/module/hidden-input2.js +2 -2
- package/dist/module/identity-address-form.d.ts +11 -0
- package/dist/module/identity-address-form.js +4 -76
- package/dist/module/identity-address-form2.js +78 -0
- package/dist/module/iframe-input-styles-state.js +1 -1
- package/dist/module/iframe-input2.js +4 -4
- package/dist/module/index2.js +3567 -246
- package/dist/module/index3.js +246 -3567
- package/dist/module/insurance-state.js +1 -1
- package/dist/module/internal-button.d.ts +11 -0
- package/dist/module/internal-button.js +6 -0
- package/dist/module/internal-button2.js +42 -0
- package/dist/module/justifi-additional-statement.js +2 -2
- package/dist/module/{additional-statement.js → justifi-additional-statement2.js} +5 -5
- package/dist/module/justifi-apple-pay.js +2 -2
- package/dist/module/{apple-pay.js → justifi-apple-pay2.js} +12 -12
- package/dist/module/justifi-bank-account-billing-form-simple.js +81 -2
- package/dist/module/justifi-bank-account-form.js +72 -2
- package/dist/module/justifi-billing-form-full.js +75 -2
- package/dist/module/justifi-billing-form.js +96 -2
- package/dist/module/justifi-business-details.js +7 -6
- package/dist/module/justifi-business-form.js +38 -37
- package/dist/module/justifi-button2.js +10 -4
- package/dist/module/justifi-cancellation-policy.js +2 -2
- package/dist/module/{cancellation-policy.js → justifi-cancellation-policy2.js} +5 -5
- package/dist/module/justifi-card-billing-form-simple.js +69 -2
- package/dist/module/justifi-card-form.js +71 -1
- package/dist/module/justifi-checkout-summary.js +2 -2
- package/dist/module/{summary.js → justifi-checkout-summary2.js} +6 -6
- package/dist/module/justifi-checkout.js +73 -62
- package/dist/module/justifi-checkouts-list-filters.js +10 -8
- package/dist/module/justifi-checkouts-list.js +9 -8
- package/dist/module/justifi-config-provider.js +3 -3
- package/dist/module/justifi-customer-details.js +2 -2
- package/dist/module/{customer-details.js → justifi-customer-details2.js} +5 -5
- package/dist/module/justifi-details.js +2 -2
- package/dist/module/{details.js → justifi-details2.js} +4 -4
- package/dist/module/justifi-dispute-management-core.js +2 -2
- package/dist/module/justifi-dispute-management.js +19 -18
- package/dist/module/justifi-dispute-notification.js +2 -2
- package/dist/module/{dispute-notification.js → justifi-dispute-notification2.js} +7 -7
- package/dist/module/justifi-dispute-response-core.js +2 -2
- package/dist/module/justifi-dispute-response.js +2 -2
- package/dist/module/{dispute-response.js → justifi-dispute-response2.js} +17 -16
- package/dist/module/justifi-duplicate-charge.js +2 -2
- package/dist/module/{duplicate-charge.js → justifi-duplicate-charge2.js} +5 -5
- package/dist/module/justifi-electronic-evidence.js +2 -2
- package/dist/module/{electronic-evidence.js → justifi-electronic-evidence2.js} +4 -4
- package/dist/module/justifi-google-pay.js +2 -2
- package/dist/module/{google-pay.js → justifi-google-pay2.js} +4 -4
- package/dist/module/justifi-gross-payment-chart.js +7 -6
- package/dist/module/justifi-header.js +2 -2
- package/dist/module/justifi-header2.js +4 -4
- package/dist/module/justifi-modular-checkout.js +2 -2
- package/dist/module/{modular-checkout.js → justifi-modular-checkout2.js} +23 -9
- package/dist/module/justifi-order-terminals.js +10 -9
- package/dist/module/justifi-payment-details.js +7 -6
- package/dist/module/justifi-payment-provisioning-core.js +2 -2
- package/dist/module/justifi-payment-provisioning.js +70 -69
- package/dist/module/justifi-payment-transactions-list.js +10 -9
- package/dist/module/justifi-payments-list-filters.js +8 -8
- package/dist/module/justifi-payments-list.js +9 -8
- package/dist/module/justifi-payout-details.js +8 -7
- package/dist/module/justifi-payout-transactions-list.js +10 -9
- package/dist/module/justifi-payouts-list-filters.js +8 -8
- package/dist/module/justifi-payouts-list.js +9 -8
- package/dist/module/justifi-plaid-payment-method.js +2 -2
- package/dist/module/{plaid-payment-method.js → justifi-plaid-payment-method2.js} +7 -7
- package/dist/module/justifi-product-or-service.js +2 -2
- package/dist/module/{product-or-service.js → justifi-product-or-service2.js} +4 -4
- package/dist/module/justifi-radio-list-item2.js +11 -9
- package/dist/module/justifi-refund-payment.js +9 -8
- package/dist/module/justifi-refund-policy.js +2 -2
- package/dist/module/{refund-policy.js → justifi-refund-policy2.js} +5 -5
- package/dist/module/justifi-save-new-payment-method.js +50 -2
- package/dist/module/justifi-saved-payment-method.js +6 -6
- package/dist/module/justifi-saved-payment-methods.js +2 -2
- package/dist/module/{saved-payment-methods.js → justifi-saved-payment-methods2.js} +6 -6
- package/dist/module/justifi-season-interruption-insurance.js +10 -9
- package/dist/module/justifi-sezzle-payment-method.js +2 -2
- package/dist/module/{sezzle-payment-method.js → justifi-sezzle-payment-method2.js} +4 -4
- package/dist/module/justifi-shipping-details.js +2 -2
- package/dist/module/{shipping-details.js → justifi-shipping-details2.js} +5 -5
- package/dist/module/justifi-skeleton.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +26 -16
- package/dist/module/justifi-terminal-orders-list.js +9 -8
- package/dist/module/justifi-terminals-list-filters.js +10 -6
- package/dist/module/justifi-terminals-list.js +9 -8
- package/dist/module/justifi-tokenize-payment-method.js +2 -167
- package/dist/module/{internal-tokenize-payment-method2.js → justifi-tokenize-payment-method2.js} +73 -56
- package/dist/module/legal-address-form-step.d.ts +11 -0
- package/dist/module/legal-address-form-step.js +4 -189
- package/dist/module/legal-address-form-step2.js +191 -0
- package/dist/module/legal-address-form.d.ts +11 -0
- package/dist/module/legal-address-form.js +4 -74
- package/dist/module/legal-address-form2.js +76 -0
- package/dist/module/owner-details2.js +1 -1
- package/dist/module/owner-form-core.js +2 -2
- package/dist/module/owner-form-core2.js +23 -23
- package/dist/module/owner-form-inputs.js +2 -2
- package/dist/module/owner-form-inputs2.js +23 -23
- package/dist/module/owner-form.d.ts +11 -0
- package/dist/module/owner-form.js +4 -142
- package/dist/module/owner-form2.js +144 -0
- package/dist/module/package.js +1 -1
- package/dist/module/pagination-menu2.js +1 -1
- package/dist/module/parts.js +2 -41
- package/dist/module/payment-details-core2.js +10 -10
- package/dist/module/payment-method-option.js +4 -4
- package/dist/module/payment-provisioning-actions.js +2 -2
- package/dist/module/payment-provisioning-core.js +68 -68
- package/dist/module/payment-provisioning-form-buttons.d.ts +11 -0
- package/dist/module/payment-provisioning-form-buttons.js +4 -49
- package/dist/module/payment-provisioning-form-buttons2.js +51 -0
- package/dist/module/payment-provisioning-form-steps.d.ts +11 -0
- package/dist/module/payment-provisioning-form-steps.js +4 -224
- package/dist/module/payment-provisioning-form-steps2.js +226 -0
- package/dist/module/payment-provisioning-loading.js +1 -1
- package/dist/module/payments-list-core2.js +3 -3
- package/dist/module/payments-list-params-state.js +1 -1
- package/dist/module/payout-details-core2.js +5 -5
- package/dist/module/payouts-list-core2.js +4 -4
- package/dist/module/payouts-list-params-state.js +1 -1
- package/dist/module/plaid-verification2.js +3 -3
- package/dist/module/radio-list-item.d.ts +11 -0
- package/dist/module/radio-list-item.js +6 -0
- package/dist/module/radio-list-item2.js +55 -0
- package/dist/module/representative-details.js +2 -2
- package/dist/module/representative-details2.js +4 -4
- package/dist/module/save-new-payment-method.d.ts +11 -0
- package/dist/module/save-new-payment-method.js +4 -50
- package/dist/module/save-new-payment-method2.js +48 -0
- package/dist/module/schema-validations.js +2 -2
- package/dist/module/skeleton.js +1 -1
- package/dist/module/spinner.js +1 -1
- package/dist/module/table-filters-menu2.js +2 -2
- package/dist/module/table.js +1 -1
- package/dist/module/terminal-orders-list-core2.js +3 -3
- package/dist/module/terminal-orders-list-params-state.js +1 -1
- package/dist/module/terminal-quantity-selector2.js +2 -2
- package/dist/module/terminals-list-core2.js +3 -3
- package/dist/module/terminals-list-params-state.js +1 -1
- package/dist/module/utils.js +1 -1
- package/dist/module/utils2.js +1 -1
- package/dist/module/utils3.js +24 -23
- package/dist/module/utils4.js +23 -24
- package/dist/types/api/Checkout.d.ts +1 -0
- package/dist/types/api/Terminal.d.ts +3 -1
- package/dist/types/api/TerminalOrder.d.ts +1 -0
- package/dist/types/components/business-details/{business-details.d.ts → justifi-business-details.d.ts} +1 -1
- package/dist/types/components/business-details/representative-details/representative-details.d.ts +1 -1
- package/dist/types/components/business-forms/business-form/{business-form.d.ts → justifi-business-form.d.ts} +1 -1
- package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +1 -1
- package/dist/types/components/business-forms/owner-form/owner-form-inputs.d.ts +1 -1
- package/dist/types/components/business-forms/owner-form/owner-form.d.ts +1 -1
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.d.ts +1 -1
- package/dist/types/components/business-forms/payment-provisioning/form-control-monetary-provisioning.d.ts +1 -1
- package/dist/types/components/business-forms/payment-provisioning/{payment-provisioning.d.ts → justifi-payment-provisioning.d.ts} +1 -1
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-core.d.ts +1 -1
- package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +6 -6
- package/dist/types/components/checkout/bank-account-form/bank-account-form.d.ts +5 -1
- package/dist/types/components/{modular-checkout/sub-components → checkout/billing-form}/bank-account-billing-form-simple.d.ts +3 -2
- package/dist/types/components/{modular-checkout/sub-components → checkout/billing-form}/billing-form-full.d.ts +4 -2
- package/dist/types/components/checkout/billing-form/billing-form-schema.d.ts +1 -1
- package/dist/types/components/checkout/billing-form/billing-form.d.ts +0 -1
- package/dist/types/components/{modular-checkout/sub-components → checkout/billing-form}/card-billing-form-simple.d.ts +3 -2
- package/dist/types/components/checkout/billing-form/justifi-billing-form.d.ts +14 -0
- package/dist/types/components/checkout/card-form/card-form.d.ts +5 -1
- package/dist/types/components/checkout/{checkout.d.ts → justifi-checkout.d.ts} +2 -21
- package/dist/types/components/checkout/{saved-payment-method.d.ts → justifi-saved-payment-method.d.ts} +1 -1
- package/dist/types/components/checkout/save-new-payment-method/justifi-save-new-payment-method.d.ts +7 -0
- package/dist/types/components/checkout/{save-new-payment-method.d.ts → save-new-payment-method/save-new-payment-method.d.ts} +2 -1
- package/dist/types/components/checkouts-list/checkouts-list-filters.d.ts +2 -1
- package/dist/types/components/checkouts-list/{checkouts-list.d.ts → justifi-checkouts-list.d.ts} +1 -1
- package/dist/types/components/config-provider/{config-provider.d.ts → justifi-config-provider.d.ts} +1 -1
- package/dist/types/components/dispute-management/dispute-management-core.d.ts +1 -1
- package/dist/types/components/dispute-management/dispute-response/dispute-response-core.d.ts +1 -1
- package/dist/types/components/dispute-management/dispute-response/{additional-statement.d.ts → justifi-additional-statement.d.ts} +1 -1
- package/dist/types/components/dispute-management/dispute-response/{cancellation-policy.d.ts → justifi-cancellation-policy.d.ts} +1 -1
- package/dist/types/components/dispute-management/dispute-response/{customer-details.d.ts → justifi-customer-details.d.ts} +1 -1
- package/dist/types/components/dispute-management/dispute-response/{dispute-response.d.ts → justifi-dispute-response.d.ts} +2 -2
- package/dist/types/components/dispute-management/dispute-response/{duplicate-charge.d.ts → justifi-duplicate-charge.d.ts} +1 -1
- package/dist/types/components/dispute-management/dispute-response/{electronic-evidence.d.ts → justifi-electronic-evidence.d.ts} +1 -1
- package/dist/types/components/dispute-management/dispute-response/{product-or-service.d.ts → justifi-product-or-service.d.ts} +1 -1
- package/dist/types/components/dispute-management/dispute-response/{refund-policy.d.ts → justifi-refund-policy.d.ts} +1 -1
- package/dist/types/components/dispute-management/dispute-response/{shipping-details.d.ts → justifi-shipping-details.d.ts} +1 -1
- package/dist/types/components/dispute-management/{dispute-management.d.ts → justifi-dispute-management.d.ts} +1 -1
- package/dist/types/components/dispute-management/{dispute-notification.d.ts → justifi-dispute-notification.d.ts} +1 -1
- package/dist/types/components/gross-payment-chart/{gross-payment-chart.d.ts → justifi-gross-payment-chart.d.ts} +1 -1
- package/dist/types/components/insurance/season-interruption/{season-interruption-insurance.d.ts → justifi-season-interruption-insurance.d.ts} +1 -1
- package/dist/types/components/modular-checkout/{modular-checkout.d.ts → justifi-modular-checkout.d.ts} +2 -1
- package/dist/types/components/modular-checkout/sub-components/{apple-pay.d.ts → justifi-apple-pay.d.ts} +1 -4
- package/dist/types/components/modular-checkout/sub-components/justifi-bank-account-billing-form-simple.d.ts +15 -0
- package/dist/types/components/modular-checkout/sub-components/{bank-account.d.ts → justifi-bank-account-form.d.ts} +2 -7
- package/dist/types/components/modular-checkout/sub-components/justifi-billing-form-full.d.ts +11 -0
- package/dist/types/components/modular-checkout/sub-components/justifi-card-billing-form-simple.d.ts +11 -0
- package/dist/types/components/modular-checkout/sub-components/{card-form.d.ts → justifi-card-form.d.ts} +1 -8
- package/dist/types/components/modular-checkout/sub-components/justifi-checkout-summary.d.ts +3 -0
- package/dist/types/components/modular-checkout/sub-components/{google-pay.d.ts → justifi-google-pay.d.ts} +1 -1
- package/dist/types/components/modular-checkout/sub-components/{plaid-payment-method.d.ts → justifi-plaid-payment-method.d.ts} +1 -1
- package/dist/types/components/modular-checkout/sub-components/{saved-payment-methods.d.ts → justifi-saved-payment-methods.d.ts} +1 -1
- package/dist/types/components/modular-checkout/sub-components/{sezzle-payment-method.d.ts → justifi-sezzle-payment-method.d.ts} +1 -1
- package/dist/types/components/order-terminals/{order-terminals.d.ts → justifi-order-terminals.d.ts} +1 -1
- package/dist/types/components/payment-details/{payment-details.d.ts → justifi-payment-details.d.ts} +1 -1
- package/dist/types/components/payment-transactions-list/{payment-transactions-list.d.ts → justifi-payment-transactions-list.d.ts} +1 -1
- package/dist/types/components/payments-list/{payments-list-filters.d.ts → justifi-payments-list-filters.d.ts} +1 -1
- package/dist/types/components/payments-list/{payments-list.d.ts → justifi-payments-list.d.ts} +1 -1
- package/dist/types/components/payout-details/{payout-details.d.ts → justifi-payout-details.d.ts} +1 -1
- package/dist/types/components/payout-transactions-list/{payout-transactions-list.d.ts → justifi-payout-transactions-list.d.ts} +1 -1
- package/dist/types/components/payouts-list/{payouts-list-filters.d.ts → justifi-payouts-list-filters.d.ts} +1 -1
- package/dist/types/components/payouts-list/{payouts-list.d.ts → justifi-payouts-list.d.ts} +1 -1
- package/dist/types/components/refund-payment/{refund-payment.d.ts → justifi-refund-payment.d.ts} +1 -1
- package/dist/types/components/terminal-orders-list/{terminal-orders-list-filters.d.ts → justifi-terminal-orders-list-filters.d.ts} +3 -1
- package/dist/types/components/terminal-orders-list/{terminal-orders-list.d.ts → justifi-terminal-orders-list.d.ts} +1 -1
- package/dist/types/components/terminals-list/{terminals-list-filters.d.ts → justifi-terminals-list-filters.d.ts} +3 -1
- package/dist/types/components/terminals-list/{terminals-list.d.ts → justifi-terminals-list.d.ts} +1 -1
- package/dist/types/components/tokenize-payment-method/{internal-tokenize-payment-method.d.ts → justifi-tokenize-payment-method.d.ts} +4 -3
- package/dist/types/components.d.ts +834 -657
- package/dist/types/styles/parts.d.ts +1 -35
- package/dist/types/ui-components/details/{details.d.ts → justifi-details.d.ts} +1 -1
- package/dist/types/ui-components/form/form-control-checkbox.d.ts +1 -1
- package/dist/types/ui-components/form/form-control-date.d.ts +1 -1
- package/dist/types/ui-components/form/form-control-file-v2.d.ts +1 -1
- package/dist/types/ui-components/form/form-control-file.d.ts +1 -1
- package/dist/types/ui-components/form/form-control-monetary.d.ts +1 -1
- package/dist/types/ui-components/form/form-control-number-masked.d.ts +1 -1
- package/dist/types/ui-components/form/form-control-number.d.ts +1 -1
- package/dist/types/ui-components/form/form-control-radio.d.ts +1 -1
- package/dist/types/ui-components/form/form-control-select.d.ts +1 -1
- package/dist/types/ui-components/form/form-control-text.d.ts +1 -1
- package/dist/types/ui-components/form/form-control-textarea.d.ts +1 -1
- package/dist/types/ui-components/form/form-helpers/form-control-tooltip/form-control-tooltip.d.ts +1 -1
- package/dist/types/ui-components/index.d.ts +1 -1
- package/dist/types/ui-components/internal-button.d.ts +14 -0
- package/dist/types/ui-components/radio-list-item.d.ts +12 -0
- package/dist/types/ui-components/shadow-dom-components/justifi-button.d.ts +1 -0
- package/dist/types/ui-components/shadow-dom-components/justifi-radio-list-item.d.ts +0 -1
- package/dist/webcomponents/p-08424d71.entry.js +1 -0
- package/dist/webcomponents/{p-56362fb6.entry.js → p-089bc927.entry.js} +1 -1
- package/dist/webcomponents/p-0b7fa323.entry.js +1 -0
- package/dist/webcomponents/p-16ae88d0.entry.js +1 -0
- package/dist/webcomponents/p-179fe9a0.entry.js +1 -0
- package/dist/webcomponents/p-1a9aecbf.entry.js +1 -0
- package/dist/webcomponents/{p-d07748fa.entry.js → p-1c95ec74.entry.js} +4 -4
- package/dist/webcomponents/{p-a6d56b36.entry.js → p-1d1c48c3.entry.js} +1 -1
- package/dist/webcomponents/p-1da3ba0f.entry.js +1 -0
- package/dist/webcomponents/{p-393c9065.entry.js → p-252a4f75.entry.js} +1 -1
- package/dist/webcomponents/p-26062991.entry.js +1 -0
- package/dist/webcomponents/p-26074643.entry.js +1 -0
- package/dist/webcomponents/{p-3cfc202a.entry.js → p-2719f4db.entry.js} +1 -1
- package/dist/webcomponents/p-2a0ce169.entry.js +1 -0
- package/dist/webcomponents/p-2b8df3c0.entry.js +1 -0
- package/dist/webcomponents/p-2bec5dca.entry.js +1 -0
- package/dist/webcomponents/p-358f7121.entry.js +1 -0
- package/dist/webcomponents/{p-6b6d8263.entry.js → p-38281490.entry.js} +1 -1
- package/dist/webcomponents/p-383798ab.entry.js +1 -0
- package/dist/webcomponents/p-3d135aee.entry.js +1 -0
- package/dist/webcomponents/{p-ec9f527d.entry.js → p-42129686.entry.js} +1 -1
- package/dist/webcomponents/p-431ad048.entry.js +1 -0
- package/dist/webcomponents/p-485a8795.entry.js +1 -0
- package/dist/webcomponents/p-4d222f42.entry.js +1 -0
- package/dist/webcomponents/{p-277bc549.entry.js → p-534833ca.entry.js} +1 -1
- package/dist/webcomponents/p-534881d8.entry.js +1 -0
- package/dist/webcomponents/p-53dd8569.entry.js +1 -0
- package/dist/webcomponents/p-56d58041.entry.js +1 -0
- package/dist/webcomponents/p-61784c6a.entry.js +1 -0
- package/dist/webcomponents/p-6372a42a.entry.js +1 -0
- package/dist/webcomponents/p-7108eead.entry.js +1 -0
- package/dist/webcomponents/p-729c9798.entry.js +1 -0
- package/dist/webcomponents/{p-df110446.entry.js → p-744f57f0.entry.js} +1 -1
- package/dist/webcomponents/p-7742cf61.entry.js +1 -0
- package/dist/webcomponents/p-774b69a0.entry.js +1 -0
- package/dist/webcomponents/p-77600a47.entry.js +1 -0
- package/dist/webcomponents/p-7791b55e.entry.js +1 -0
- package/dist/webcomponents/p-783580d4.entry.js +1 -0
- package/dist/webcomponents/p-83fd4eae.entry.js +1 -0
- package/dist/webcomponents/p-848ae146.entry.js +1 -0
- package/dist/webcomponents/p-865d4604.entry.js +1 -0
- package/dist/webcomponents/p-89bf64ef.entry.js +1 -0
- package/dist/webcomponents/p-8Kt4Rhcq.js +1 -0
- package/dist/webcomponents/p-8c52d10a.entry.js +1 -0
- package/dist/webcomponents/p-8df335d4.entry.js +1 -0
- package/dist/webcomponents/p-90f2c769.entry.js +1 -0
- package/dist/webcomponents/p-9639d9d0.entry.js +1 -0
- package/dist/webcomponents/p-97d16844.entry.js +1 -0
- package/dist/webcomponents/p-9838b5a7.entry.js +1 -0
- package/dist/webcomponents/{p-DqtDbB8E.js → p-B6sIVWJW.js} +1 -1
- package/dist/webcomponents/p-BJtvT9BX.js +1 -0
- package/dist/webcomponents/{p-6V4e6Fb_.js → p-BmEX2SfZ.js} +1 -1
- package/dist/webcomponents/p-BrO0HEFJ.js +1 -0
- package/dist/webcomponents/{p-b4MDVEve.js → p-Bwzxu5wV.js} +1 -1
- package/dist/webcomponents/p-C-QiUcEa.js +1 -0
- package/dist/webcomponents/{p-CkX7qWsc.js → p-C1olhiO9.js} +1 -1
- package/dist/webcomponents/p-CAl_N2gi.js +1 -0
- package/dist/webcomponents/p-CBqZge6m.js +1 -0
- package/dist/webcomponents/p-CIYOQWsL.js +1 -0
- package/dist/webcomponents/{p-55QcjheA.js → p-CMB3sNMT.js} +1 -1
- package/dist/webcomponents/{p-CemnnRdZ.js → p-CWv3GX8X.js} +1 -1
- package/dist/webcomponents/{p-PtJwUDIK.js → p-CbM9cuX_.js} +1 -1
- package/dist/webcomponents/p-CjuaXEuI.js +1 -0
- package/dist/webcomponents/{p-3kNggPyP.js → p-CmXujxGp.js} +1 -1
- package/dist/webcomponents/{p-DL3PPUGZ.js → p-CwdQ1VdH.js} +1 -1
- package/dist/webcomponents/{p-DvptzT44.js → p-CzdAS9Jo.js} +1 -1
- package/dist/webcomponents/p-D0BjjvYt.js +1 -0
- package/dist/webcomponents/{p-CV5ZI_qC.js → p-D2TJwp13.js} +1 -1
- package/dist/webcomponents/p-D50Rx76J.js +1 -0
- package/dist/webcomponents/p-D5MdA21U.js +1 -0
- package/dist/webcomponents/p-D68EHdgA.js +1 -0
- package/dist/webcomponents/p-DB_pqjwH.js +1 -0
- package/dist/webcomponents/{p-C47u26qr.js → p-DL0R5vDy.js} +1 -1
- package/dist/webcomponents/{p-B_KHnbK8.js → p-DLmWCafe.js} +1 -1
- package/dist/webcomponents/p-Da4efjxw.js +1 -0
- package/dist/webcomponents/p-Df9FVwA7.js +1 -0
- package/dist/webcomponents/{p-8Wa_-5QM.js → p-Dvcgmvfg.js} +1 -1
- package/dist/webcomponents/{p-Daew0gTO.js → p-EBsfAkrP.js} +1 -1
- package/dist/webcomponents/p-J7WCmj-J.js +1 -0
- package/dist/webcomponents/{p-CMq8FpAG.js → p-MLfmcsbZ.js} +1 -1
- package/dist/webcomponents/{p-MeSAYDNh.js → p-MkDHT9M4.js} +1 -1
- package/dist/webcomponents/p-N60pPiy5.js +1 -0
- package/dist/webcomponents/{p-DrSNQm-e.js → p-_fynNk40.js} +1 -1
- package/dist/webcomponents/p-a53fae42.entry.js +1 -0
- package/dist/webcomponents/p-a5640aa4.entry.js +1 -0
- package/dist/webcomponents/p-b21e5a85.entry.js +1 -0
- package/dist/webcomponents/p-b2d7a9dd.entry.js +1 -0
- package/dist/webcomponents/p-b31c9979.entry.js +1 -0
- package/dist/webcomponents/p-b322d2f3.entry.js +1 -0
- package/dist/webcomponents/p-b596cbb3.entry.js +1 -0
- package/dist/webcomponents/p-b7ffdb30.entry.js +1 -0
- package/dist/webcomponents/p-bac16c16.entry.js +1 -0
- package/dist/webcomponents/p-bb4cc829.entry.js +1 -0
- package/dist/webcomponents/p-bbdae5b7.entry.js +1 -0
- package/dist/webcomponents/p-c07069f1.entry.js +1 -0
- package/dist/webcomponents/p-c4da12e0.entry.js +1 -0
- package/dist/webcomponents/p-c5be6300.entry.js +1 -0
- package/dist/webcomponents/p-c63b8c8f.entry.js +1 -0
- package/dist/webcomponents/p-d6350138.entry.js +1 -0
- package/dist/webcomponents/{p-79d76cd4.entry.js → p-d667138d.entry.js} +1 -1
- package/dist/webcomponents/p-d6c2d51d.entry.js +1 -0
- package/dist/webcomponents/p-def798df.entry.js +1 -0
- package/dist/webcomponents/p-e2650fe5.entry.js +1 -0
- package/dist/webcomponents/p-e4ba0754.entry.js +1 -0
- package/dist/webcomponents/p-e939affa.entry.js +1 -0
- package/dist/webcomponents/p-e9c20b52.entry.js +1 -0
- package/dist/webcomponents/p-ea84c544.entry.js +1 -0
- package/dist/webcomponents/p-rz2BF2Sz.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/internal-tokenize-payment-method_7.cjs.entry.js +0 -470
- package/dist/cjs/justifi-bank-account-billing-form-simple_3.cjs.entry.js +0 -147
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +0 -24
- package/dist/collection/components/modular-checkout/sub-components/bank-account.js +0 -101
- package/dist/collection/components/modular-checkout/sub-components/card-form.js +0 -105
- package/dist/collection/components/modular-checkout/sub-components/summary.js +0 -12
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +0 -296
- package/dist/esm/internal-tokenize-payment-method_7.entry.js +0 -462
- package/dist/esm/justifi-bank-account-billing-form-simple_3.entry.js +0 -143
- package/dist/esm/justifi-tokenize-payment-method.entry.js +0 -22
- package/dist/esm/parts-c8J1gsDg.js +0 -149
- package/dist/module/internal-tokenize-payment-method.d.ts +0 -11
- package/dist/module/internal-tokenize-payment-method.js +0 -6
- package/dist/module/justifi-additional-questions-form-step.d.ts +0 -11
- package/dist/module/justifi-additional-questions-form-step.js +0 -6
- package/dist/module/justifi-additional-questions.d.ts +0 -11
- package/dist/module/justifi-additional-questions.js +0 -6
- package/dist/module/justifi-business-bank-account-form-step.d.ts +0 -11
- package/dist/module/justifi-business-bank-account-form-step.js +0 -6
- package/dist/module/justifi-business-core-info-form-step.d.ts +0 -11
- package/dist/module/justifi-business-core-info-form-step.js +0 -6
- package/dist/module/justifi-business-core-info.d.ts +0 -11
- package/dist/module/justifi-business-core-info.js +0 -6
- package/dist/module/justifi-business-owners-form-step.d.ts +0 -11
- package/dist/module/justifi-business-owners-form-step.js +0 -6
- package/dist/module/justifi-business-representative-form-inputs.d.ts +0 -11
- package/dist/module/justifi-business-representative-form-inputs.js +0 -6
- package/dist/module/justifi-business-representative-form-step.d.ts +0 -11
- package/dist/module/justifi-business-representative-form-step.js +0 -6
- package/dist/module/justifi-business-representative.d.ts +0 -11
- package/dist/module/justifi-business-representative.js +0 -6
- package/dist/module/justifi-business-terms-conditions-form-step.d.ts +0 -11
- package/dist/module/justifi-business-terms-conditions-form-step.js +0 -6
- package/dist/module/justifi-form-address-fields.d.ts +0 -11
- package/dist/module/justifi-form-address-fields.js +0 -6
- package/dist/module/justifi-identity-address-form.d.ts +0 -11
- package/dist/module/justifi-identity-address-form.js +0 -6
- package/dist/module/justifi-legal-address-form-step.d.ts +0 -11
- package/dist/module/justifi-legal-address-form-step.js +0 -6
- package/dist/module/justifi-legal-address-form.d.ts +0 -11
- package/dist/module/justifi-legal-address-form.js +0 -6
- package/dist/module/justifi-owner-form.js +0 -6
- package/dist/module/justifi-payment-provisioning-form-buttons.d.ts +0 -11
- package/dist/module/justifi-payment-provisioning-form-buttons.js +0 -6
- package/dist/module/justifi-payment-provisioning-form-steps.d.ts +0 -11
- package/dist/module/justifi-payment-provisioning-form-steps.js +0 -6
- package/dist/types/components/modular-checkout/sub-components/summary.d.ts +0 -3
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +0 -19
- package/dist/webcomponents/p-01a84bc8.entry.js +0 -1
- package/dist/webcomponents/p-02cf51ab.entry.js +0 -1
- package/dist/webcomponents/p-0559b9c1.entry.js +0 -1
- package/dist/webcomponents/p-06af9f9f.entry.js +0 -1
- package/dist/webcomponents/p-09401e56.entry.js +0 -1
- package/dist/webcomponents/p-2531ee6c.entry.js +0 -1
- package/dist/webcomponents/p-27518699.entry.js +0 -1
- package/dist/webcomponents/p-2b60c926.entry.js +0 -1
- package/dist/webcomponents/p-319ac08d.entry.js +0 -1
- package/dist/webcomponents/p-32bf8202.entry.js +0 -1
- package/dist/webcomponents/p-3469a272.entry.js +0 -1
- package/dist/webcomponents/p-37407a7f.entry.js +0 -1
- package/dist/webcomponents/p-392c431d.entry.js +0 -1
- package/dist/webcomponents/p-43c70ddf.entry.js +0 -1
- package/dist/webcomponents/p-4556535d.entry.js +0 -1
- package/dist/webcomponents/p-559ff95b.entry.js +0 -1
- package/dist/webcomponents/p-5895654d.entry.js +0 -1
- package/dist/webcomponents/p-5d4e607a.entry.js +0 -1
- package/dist/webcomponents/p-5d5e26f7.entry.js +0 -1
- package/dist/webcomponents/p-64d78daf.entry.js +0 -1
- package/dist/webcomponents/p-654573c2.entry.js +0 -1
- package/dist/webcomponents/p-6986bd9d.entry.js +0 -1
- package/dist/webcomponents/p-6b6195c9.entry.js +0 -1
- package/dist/webcomponents/p-71b6fdd9.entry.js +0 -1
- package/dist/webcomponents/p-77CuiIig.js +0 -1
- package/dist/webcomponents/p-79975b5d.entry.js +0 -1
- package/dist/webcomponents/p-81b3f90f.entry.js +0 -1
- package/dist/webcomponents/p-91bf7445.entry.js +0 -1
- package/dist/webcomponents/p-91ee58e0.entry.js +0 -1
- package/dist/webcomponents/p-941eac67.entry.js +0 -1
- package/dist/webcomponents/p-9438f755.entry.js +0 -1
- package/dist/webcomponents/p-95b78da8.entry.js +0 -1
- package/dist/webcomponents/p-98a1b12a.entry.js +0 -1
- package/dist/webcomponents/p-9eeaf2f9.entry.js +0 -1
- package/dist/webcomponents/p-BBNT9yj5.js +0 -1
- package/dist/webcomponents/p-BHA4oSi3.js +0 -1
- package/dist/webcomponents/p-BMqYkvp1.js +0 -1
- package/dist/webcomponents/p-BiNakvsa.js +0 -1
- package/dist/webcomponents/p-BnVuFEgH.js +0 -1
- package/dist/webcomponents/p-BylxH1fV.js +0 -1
- package/dist/webcomponents/p-CVa33GsE.js +0 -1
- package/dist/webcomponents/p-CVkk7TvR.js +0 -1
- package/dist/webcomponents/p-Cc6518FT.js +0 -1
- package/dist/webcomponents/p-CmRrs0bo.js +0 -1
- package/dist/webcomponents/p-CmYy5XDp.js +0 -1
- package/dist/webcomponents/p-CncaMWc8.js +0 -1
- package/dist/webcomponents/p-CtxSp8dd.js +0 -1
- package/dist/webcomponents/p-DmrpBh4P.js +0 -1
- package/dist/webcomponents/p-a0134f5a.entry.js +0 -1
- package/dist/webcomponents/p-a75bc18b.entry.js +0 -1
- package/dist/webcomponents/p-abc769fa.entry.js +0 -1
- package/dist/webcomponents/p-b3675b20.entry.js +0 -1
- package/dist/webcomponents/p-b9248f88.entry.js +0 -1
- package/dist/webcomponents/p-bafe9deb.entry.js +0 -1
- package/dist/webcomponents/p-bb4da414.entry.js +0 -1
- package/dist/webcomponents/p-c5540693.entry.js +0 -1
- package/dist/webcomponents/p-c8J1gsDg.js +0 -1
- package/dist/webcomponents/p-cb09959d.entry.js +0 -1
- package/dist/webcomponents/p-d0abe57d.entry.js +0 -1
- package/dist/webcomponents/p-d47909f1.entry.js +0 -1
- package/dist/webcomponents/p-d6bf1592.entry.js +0 -1
- package/dist/webcomponents/p-dbf2ba9e.entry.js +0 -1
- package/dist/webcomponents/p-e0cca91e.entry.js +0 -1
- package/dist/webcomponents/p-e4ef4a19.entry.js +0 -1
- package/dist/webcomponents/p-eEJMJXTG.js +0 -1
- package/dist/webcomponents/p-ee06f2fa.entry.js +0 -1
- package/dist/webcomponents/p-f01cdb9f.entry.js +0 -1
- package/dist/webcomponents/p-f2110cd2.entry.js +0 -1
- package/dist/webcomponents/p-f9f0a5c8.entry.js +0 -1
- package/dist/webcomponents/p-fa876b02.entry.js +0 -1
- package/dist/webcomponents/p-fe0feef1.entry.js +0 -1
- /package/dist/types/components/business-forms/payment-provisioning/additional-questions/{business-additional-questions-form-step.d.ts → additional-questions-form-step.d.ts} +0 -0
- /package/dist/types/components/business-forms/payment-provisioning/bank-account/{bank-account-document-inputs.d.ts → bank-account-document-form-inputs.d.ts} +0 -0
- /package/dist/webcomponents/{p-99065f37.entry.js → p-9399f4f1.entry.js} +0 -0
|
@@ -11,9 +11,9 @@ export class IdentityAddressForm {
|
|
|
11
11
|
this.handleFormUpdate(newValues);
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '98aa8fad1d8e4fef6f015968dea21d6a3257ad9c' }, h("form-address-fields", { key: '24f34471d209fc94bb00ce9b47b6018ba57019a7', country: this.country, errors: this.errors, defaultValues: this.defaultValues, inputHandler: this.inputHandler })));
|
|
15
15
|
}
|
|
16
|
-
static get is() { return "
|
|
16
|
+
static get is() { return "identity-address-form"; }
|
|
17
17
|
static get properties() {
|
|
18
18
|
return {
|
|
19
19
|
"handleFormUpdate": {
|
|
@@ -5,7 +5,7 @@ import { identitySchemaByCountry } from "../schemas/business-identity-schema";
|
|
|
5
5
|
import { Button } from "../../../ui-components";
|
|
6
6
|
import { heading3 } from "../../../styles/parts";
|
|
7
7
|
import { BusinessFormClickActions } from "../utils/event-types";
|
|
8
|
-
export class
|
|
8
|
+
export class OwnerFormCore {
|
|
9
9
|
loadingWatcher() {
|
|
10
10
|
this.formLoading.emit(this.isLoading);
|
|
11
11
|
}
|
|
@@ -145,7 +145,7 @@ export class BusinessOwnerFormCore {
|
|
|
145
145
|
this.formController.errors.subscribe(errors => (this.errors = Object.assign({}, errors)));
|
|
146
146
|
}
|
|
147
147
|
render() {
|
|
148
|
-
return (h("form", { key: '
|
|
148
|
+
return (h("form", { key: '6705c84411498ae63ac74d8e1591244ad4aad1e2', onSubmit: this.validateAndSubmit }, h("fieldset", { key: 'd07a5ebef58a3324dd122da2b0cdebdee10ad2e5' }, h("legend", { key: 'dc334d9a75b88a887d393e2c6fd50fcea3b15d22', class: "fw-semibold fs-5", part: heading3 }, this.formTitle), h("br", { key: '54e3d33a5ce1399d0f35196d80ae3261016d2cd6' }), h("div", { key: 'a9f23ec75a53751db207e1bdb1e55afc53b28e4e', class: "row gy-3" }, h("owner-form-inputs", { key: '37b6df39ba21b4238790f4e8707514931c24c525', ownerDefaultValue: this.formController.getInitialValues(), errors: this.errors, formController: this.formController, country: this.country }), h("div", { key: 'f057d4176ddd6e07074bedffed5c46ee67c3d492', class: "d-flex gap-2 justify-content-start" }, h(Button, { key: '3a5060f48638d82c5df9fbae449717dbee3315ae', variant: "secondary", type: "button", onClick: this.handleRemoveOwner, hidden: !this.showRemoveButton }, "Remove"), h(Button, { key: '02608516d0ebc2df452c0f592b62cebd7033a88b', variant: "primary", type: "submit", onClick: this.handleAddOwner, disabled: this.isLoading }, this.submitButtonText))), h("hr", { key: '842817aafad086dd27357e0050ccd8cacd2055ff' }))));
|
|
149
149
|
}
|
|
150
150
|
static get is() { return "owner-form-core"; }
|
|
151
151
|
static get properties() {
|
|
@@ -3,7 +3,7 @@ import { IDENTITY_MASKS, PHONE_MASKS } from "../../../utils/form-input-masks";
|
|
|
3
3
|
import { updateAddressFormValues, updateDateOfBirthFormValues, updateFormValues } from "../utils/input-handlers";
|
|
4
4
|
import { countryLabels } from "../utils/country-config";
|
|
5
5
|
import { label, inputDisabled, buttonSecondary } from "../../../styles/parts";
|
|
6
|
-
export class
|
|
6
|
+
export class OwnerFormInputs {
|
|
7
7
|
constructor() {
|
|
8
8
|
this.isEditingIdentification = false;
|
|
9
9
|
this.inputHandler = (name, value) => {
|
|
@@ -15,14 +15,14 @@ export class BusinessOwnerFormInputs {
|
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
17
|
var _a, _b, _c;
|
|
18
|
-
return (h("div", { key: '
|
|
18
|
+
return (h("div", { key: '23441b62bcb42f0ca9d8e361242310564b8a3ed7', class: "row gy-3" }, h("div", { key: 'ae42abf0f8edda6bd715278857657029a2855336', class: "col-12 col-md-8" }, h("form-control-text", { key: 'b83f35442a6354461cf583dd23b48d047656ffd6', name: "name", label: "Full Name", defaultValue: this.ownerDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '15ab3b55445533d65553e075e8471a95556702e9', class: "col-12 col-md-4" }, h("form-control-text", { key: 'eff52904d3c8eadbafe1e6ca0dc29894846e74ad', name: "title", label: "Title", defaultValue: this.ownerDefaultValue.title, errorText: this.errors.title, inputHandler: this.inputHandler, helpText: "Role at your business, e.g. President, CEO, Treasurer." })), h("div", { key: '0f2d385f6aaede51cc519c9e2fac75f041d5ab42', class: "col-12 col-md-6" }, h("form-control-text", { key: '5b27e9343f3d3ca5706d2d294d7ab9fe5e15ab28', name: "email", label: "Email Address", defaultValue: this.ownerDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '811751b44ff2290f95d9fb9874c5bd2c6ca89a42', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '07f32b1711d2977fa5e7abd2aad21d4c6b47bb1e', name: "phone", label: "Phone Number", defaultValue: this.ownerDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: 'db8254d91e059fb610f607d5e905a970509497f7', class: "col-12 col-md-3" }, h("form-control-date", { key: '7f3001fa6e204f7307d758f595594838c792a301', 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: '90e1846c32df8b94dd0ea13950daf0bebaf81c13', class: "col-12 col-md-3" }, h("form-control-number", { key: '6c43d8dcb99b411b02f67f6100db5ce85b750eb9', 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: '4e28b49a6bf1eee3fa78422dd5f7d88917b87a75', 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: 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 }, 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: () => {
|
|
19
19
|
this.isEditingIdentification = true;
|
|
20
20
|
// Clear last4 and current value to force validation
|
|
21
21
|
updateFormValues(this.formController, {
|
|
22
22
|
ssn_last4: null,
|
|
23
23
|
identification_number: ''
|
|
24
24
|
});
|
|
25
|
-
} }, "Change"))))), h("div", { key: '
|
|
25
|
+
} }, "Change"))))), h("div", { key: '61203d0283d7e335dd559629bab77640e73202a4', class: "col-12" }, h("identity-address-form", { key: 'd3f349ba237f771520369198da9e76126498a536', errors: this.errors.address, defaultValues: this.ownerDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate, country: this.country }))));
|
|
26
26
|
}
|
|
27
27
|
;
|
|
28
28
|
static get is() { return "owner-form-inputs"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { makeGetIdentity, makePatchIdentity, makePostIdentity } from "../payment-provisioning/payment-provisioning-actions";
|
|
3
3
|
import { IdentityService } from "../../../api/services/business.service";
|
|
4
|
-
export class
|
|
4
|
+
export class OwnerForm {
|
|
5
5
|
async validate() {
|
|
6
6
|
return this.coreComponent.validate();
|
|
7
7
|
}
|
|
@@ -34,9 +34,9 @@ export class BusinessOwnerForm {
|
|
|
34
34
|
});
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
|
-
return (h("owner-form-core", { key: '
|
|
37
|
+
return (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 }));
|
|
38
38
|
}
|
|
39
|
-
static get is() { return "
|
|
39
|
+
static get is() { return "owner-form"; }
|
|
40
40
|
static get properties() {
|
|
41
41
|
return {
|
|
42
42
|
"authToken": {
|
|
@@ -121,7 +121,7 @@ export class AdditionalQuestionsFormStep {
|
|
|
121
121
|
}
|
|
122
122
|
return (h("form", null, h("fieldset", null, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Additional Questions"), h("form-control-tooltip", { helpText: "This information helps us understand the business and identify and monitor trends to safeguard you and your customers." })), h("hr", { class: "mt-2" }), h("div", { class: "row gy-3" }, h("div", { class: "col-12 col-md-6" }, h("form-control-monetary-provisioning", { name: "business_revenue", label: "What is your business' estimated annual revenue from its primary business activities?", inputHandler: this.inputHandler, errorText: (_a = this.errors) === null || _a === void 0 ? void 0 : _a.business_revenue, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_revenue, maskOptions: CURRENCY_MASK.WHOLE })), h("div", { class: "col-12 col-md-6" }, h("form-control-monetary-provisioning", { name: "business_payment_volume", label: "What is your business' annual credit card & ACH volume anticipated to process?", inputHandler: this.inputHandler, errorText: (_b = this.errors) === null || _b === void 0 ? void 0 : _b.business_payment_volume, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_payment_volume, maskOptions: CURRENCY_MASK.WHOLE })), h("div", { class: "col-12" }, h("form-control-text", { name: "business_average_transaction_amount", label: "What is your average transaction size?", inputHandler: this.inputHandler, errorText: (_c = this.errors) === null || _c === void 0 ? void 0 : _c.business_average_transaction_amount, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_average_transaction_amount })), h("div", { class: "col-12" }, h("form-control-select", { name: "business_when_service_received", label: "On average, how long after paying will your customers typically receive their goods or services?", inputHandler: this.inputHandler, errorText: (_d = this.errors) === null || _d === void 0 ? void 0 : _d.business_when_service_received, options: businessServiceReceivedOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_when_service_received })), h("div", { class: "col-12" }, h("form-control-text", { name: "business_other_payment_details", label: "Is there anything else you would like us to know about how your customers pay the business? (optional)", inputHandler: this.inputHandler, errorText: (_e = this.errors) === null || _e === void 0 ? void 0 : _e.business_other_payment_details, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_other_payment_details }))))));
|
|
123
123
|
}
|
|
124
|
-
static get is() { return "
|
|
124
|
+
static get is() { return "additional-questions-form-step"; }
|
|
125
125
|
static get properties() {
|
|
126
126
|
return {
|
|
127
127
|
"authToken": {
|
|
@@ -2,7 +2,7 @@ import { h } from "@stencil/core";
|
|
|
2
2
|
import { EntityDocumentType } from "../../../../api";
|
|
3
3
|
export class BankAccountDocumentFormInputs {
|
|
4
4
|
render() {
|
|
5
|
-
return (h("div", { key: '
|
|
5
|
+
return (h("div", { key: '21704b76489b20612c7cdd58c88eece76b22eedc', class: "row gy-3" }, h("div", { key: '2ce2b542e045ab94cb09a15edd6f5856f94568b4', class: "col-12" }, h("form-control-file", { key: '5c00356384dc5c25005d90c40ccb9c0958f927da', 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: '7736a13bf2055c797168260e3d8e3feb99f931d0', class: "col-12" }, h("form-control-file", { key: '14cc4abc95227840de14c5f4278b668fc759469e', name: "bank_statement", label: "Bank Statement", documentType: EntityDocumentType.bankStatement, inputHandler: this.inputHandler, onFileSelected: this.storeFiles, errorText: this.errors["bank_statement"], multiple: true }))));
|
|
6
6
|
}
|
|
7
7
|
static get is() { return "bank-account-document-form-inputs"; }
|
|
8
8
|
static get properties() {
|
|
@@ -4,7 +4,7 @@ import { numberOnlyHandler } from "../../../../ui-components/form/utils";
|
|
|
4
4
|
export class BankAccountFormInputsCanada {
|
|
5
5
|
render() {
|
|
6
6
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
7
|
-
return (h("div", { key: '
|
|
7
|
+
return (h("div", { key: '9c6cd8a4758f33bfa57f8db04ab69739ddbe47fa', class: "row gy-3" }, h("div", { key: '7d59df10771a07fcf04ab4ca80e0a8da15d76ec0', class: "col-12" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Bank Name", value: (_a = this.defaultValue) === null || _a === void 0 ? void 0 : _a.bank_name })) : (h("form-control-text", { name: "bank_name", label: "Bank Name", defaultValue: this.defaultValue.bank_name, errorText: this.errors.bank_name, inputHandler: this.inputHandler }))), h("div", { key: 'ab2d9643d66bd7ad481190a731e7f1d44daeaf35', class: "col-12" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Nickname", value: (_b = this.defaultValue) === null || _b === void 0 ? void 0 : _b.nickname })) : (h("form-control-text", { name: "nickname", label: "Nickname", defaultValue: this.defaultValue.nickname, errorText: this.errors.nickname, inputHandler: this.inputHandler }))), h("div", { key: '5a61a86d9f9170ab19adec07fe2e86951c3579d8', class: "col-12" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Account Owner Name", value: (_c = this.defaultValue) === null || _c === void 0 ? void 0 : _c.account_owner_name })) : (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 }))), h("div", { key: '415209fa3008a1cb3e690d5638aae25b2d5bc627', class: "col-12" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Account Type", value: (_d = this.defaultValue) === null || _d === void 0 ? void 0 : _d.account_type })) : (h("form-control-select", { name: "account_type", label: "Account Type", options: bankAccountTypeOptions, defaultValue: this.defaultValue.account_type, errorText: this.errors.account_type, inputHandler: this.inputHandler }))), h("div", { key: 'b026df714d79815dd93906f7cff0f875d4d43216', class: "col-3" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Transit Number", value: ((_e = this.defaultValue) === null || _e === void 0 ? void 0 : _e.transit_number) || '' })) : (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: numberOnlyHandler, helpText: "5 digits" }))), h("div", { key: '9ebdf63a1330f891556fa0b8ca4c76705f9671ea', class: "col-3" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Institution Number", value: ((_f = this.defaultValue) === null || _f === void 0 ? void 0 : _f.institution_number) || '' })) : (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: numberOnlyHandler, helpText: "3 digits" }))), h("div", { key: '4735d605033bd646088b8701508000376cc690f3', class: "col-6" }, this.formDisabled ? (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}` : '' })) : (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: numberOnlyHandler, helpText: "Please copy the account number as shown on your statement. Do not include spaces or dashes." })))));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "bank-account-form-inputs-canada"; }
|
|
10
10
|
static get properties() {
|
|
@@ -4,7 +4,7 @@ import { numberOnlyHandler } from "../../../../ui-components/form/utils";
|
|
|
4
4
|
export class BankAccountFormInputs {
|
|
5
5
|
render() {
|
|
6
6
|
var _a, _b, _c, _d, _e, _f;
|
|
7
|
-
return (h("div", { key: '
|
|
7
|
+
return (h("div", { key: '99049fb4516527dfa898467b2bb990e408a41af5', class: "row gy-3" }, h("div", { key: '84f1acf2f116b9835642825cecd5acbce8a33b59', class: "col-12" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Bank Name", value: (_a = this.defaultValue) === null || _a === void 0 ? void 0 : _a.bank_name })) : (h("form-control-text", { name: "bank_name", label: "Bank Name", defaultValue: this.defaultValue.bank_name, errorText: this.errors.bank_name, inputHandler: this.inputHandler }))), h("div", { key: '53e7f5892b460196d73eff31f1549e144b919935', class: "col-12" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Nickname", value: (_b = this.defaultValue) === null || _b === void 0 ? void 0 : _b.nickname })) : (h("form-control-text", { name: "nickname", label: "Nickname", defaultValue: this.defaultValue.nickname, errorText: this.errors.nickname, inputHandler: this.inputHandler }))), h("div", { key: '07738bf8baacf5e0b5f336cfbd2a527423293de1', class: "col-12" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Account Owner Name", value: (_c = this.defaultValue) === null || _c === void 0 ? void 0 : _c.account_owner_name })) : (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 }))), h("div", { key: '4f616bad64f7f3c5cb81bbc17bb0c04b3090e1f3', class: "col-12" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Account Type", value: (_d = this.defaultValue) === null || _d === void 0 ? void 0 : _d.account_type })) : (h("form-control-select", { name: "account_type", label: "Account Type", options: bankAccountTypeOptions, defaultValue: this.defaultValue.account_type, errorText: this.errors.account_type, inputHandler: this.inputHandler }))), h("div", { key: 'cb7294a8009929a7ff9c3a540ddfc82175845f07', class: "col-6" }, this.formDisabled ? (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}` : '' })) : (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: numberOnlyHandler, helpText: "Please copy the account number as shown on your statement/check. Do not include spaces or dashes." }))), h("div", { key: '94a1ed2a323c53eb911126aed75300df5883165c', class: "col-6" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Routing Number", value: ((_f = this.defaultValue) === null || _f === void 0 ? void 0 : _f.routing_number) || '' })) : (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: numberOnlyHandler, helpText: "A valid routing number is nine digits. Please include any leading or trailing zeroes." })))));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "bank-account-form-inputs"; }
|
|
10
10
|
static get properties() {
|
|
@@ -2,7 +2,7 @@ import { h } from "@stencil/core";
|
|
|
2
2
|
import { text } from "../../../../styles/parts";
|
|
3
3
|
export class BankAccountReadOnlyValue {
|
|
4
4
|
render() {
|
|
5
|
-
return (h("div", { key: '
|
|
5
|
+
return (h("div", { key: 'eb03c591b0c8169da34549d08b4964f6c6bf26cb' }, h("label", { key: '0864f3322be289d5213ab3bf689fab81768a55df', class: "form-label", part: text }, this.label), h("div", { key: '5ffdc1c3a5b84d7c55c9dcdb25d58f14b51c34e3', part: text }, this.value || '')));
|
|
6
6
|
}
|
|
7
7
|
static get is() { return "bank-account-read-only-value"; }
|
|
8
8
|
static get properties() {
|
|
@@ -357,7 +357,7 @@ export class BusinessBankAccountFormStep {
|
|
|
357
357
|
}
|
|
358
358
|
return (h("form", null, h("fieldset", { class: "mb-4" }, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Bank Account Info"), h("form-control-tooltip", { helpText: "This direct deposit account is the designated bank account where incoming funds will be deposited. The name of this account must match the registered business name exactly. We are not able to accept personal accounts unless your business is a registered sole proprietorship." })), h("hr", { class: "mt-2" }), this.viewMode === 'readonly' && this.renderReadonlyView(), this.viewMode === 'plaid' && this.renderPlaidView(), this.viewMode === 'manual' && this.renderManualEntryView()), this.viewMode !== 'plaid' && this.renderDocumentUploads()));
|
|
359
359
|
}
|
|
360
|
-
static get is() { return "
|
|
360
|
+
static get is() { return "business-bank-account-form-step"; }
|
|
361
361
|
static get properties() {
|
|
362
362
|
return {
|
|
363
363
|
"authToken": {
|
|
@@ -134,7 +134,7 @@ export class BusinessCoreInfoFormStep {
|
|
|
134
134
|
this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { tax_id: '', tax_id_last4: null }));
|
|
135
135
|
} }, "Change"))))), h("div", { class: "col-12" }, h("form-control-text", { name: "website_url", label: "Business Website URL", defaultValue: coreInfoDefaultValue.website_url, errorText: this.errors.website_url, inputHandler: this.inputHandler, helpText: "Don't have a live website? You can use your social media business page, app store link, or staging site URL." })), h("div", { class: "col-12 col-md-6" }, h("form-control-text", { name: "email", label: "Business Email Address", defaultValue: coreInfoDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { class: "col-12 col-md-6" }, h("form-control-number-masked", { name: "phone", label: "Business Phone Number", defaultValue: coreInfoDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US }))))));
|
|
136
136
|
}
|
|
137
|
-
static get is() { return "
|
|
137
|
+
static get is() { return "business-core-info-form-step"; }
|
|
138
138
|
static get properties() {
|
|
139
139
|
return {
|
|
140
140
|
"authToken": {
|
|
@@ -175,10 +175,10 @@ export class BusinessOwnersFormStep {
|
|
|
175
175
|
const isRepresentativeOwner = this.ownersPayload.some(owner => owner.id === this.representative.id);
|
|
176
176
|
const shouldShowRepresentativeIsOwner = this.representativeIsOwner === null && !isRepresentativeOwner;
|
|
177
177
|
return (h(Host, null, h("div", null, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Owners"), h("form-control-tooltip", { helpText: "For partnerships, LLCs or privately held corporations, the business is required to apply with all individuals with 25% or more ownership to the application. For charities and registered non-profits, the business is required to apply with 1 individual with substantial control over the entity, such as a board member or director." })), h("hr", { class: "mt-2" }), shouldShowRepresentativeIsOwner && (h("div", { class: `alert alert-warning mb-3`, part: alert }, h("div", { class: "card-body" }, h("div", { class: "d-flex align-items-center mb-3" }, h("strong", null, "Is the representative of this business also an owner?")), h("div", { class: "d-flex gap-2" }, h(Button, { variant: 'primary', onClick: () => this.handleRepresentativeIsOwnerChange(true) }, "Yes"), h(Button, { variant: 'secondary', onClick: () => this.handleRepresentativeIsOwnerChange(false) }, "No"))))), h("div", { class: 'row gy-3' }, this.ownersPayload.map((owner) => {
|
|
178
|
-
return (h("
|
|
178
|
+
return (h("owner-form", { key: owner.id, authToken: this.authToken, businessId: this.businessId, ownerId: owner.id, removeOwner: this.removeOwnerForm, newFormOpen: this.newFormOpen, ownersLength: this.ownersPayload.length, country: this.country, allowOptionalFields: this.allowOptionalFields, ref: (ref) => this.matchRef(ref, owner.id) }));
|
|
179
179
|
})), h("div", { class: 'd-flex justify-content-start' }, h("div", { class: 'gap-2' }, h(Button, { variant: 'primary', onClick: () => this.addOwnerForm(true), hidden: !this.showAddOwnerButton }, "Add Owner"))))));
|
|
180
180
|
}
|
|
181
|
-
static get is() { return "
|
|
181
|
+
static get is() { return "business-owners-form-step"; }
|
|
182
182
|
static get properties() {
|
|
183
183
|
return {
|
|
184
184
|
"authToken": {
|
|
@@ -3,7 +3,7 @@ import { updateAddressFormValues, updateDateOfBirthFormValues, updateFormValues
|
|
|
3
3
|
import { PHONE_MASKS, IDENTITY_MASKS } from "../../../../utils/form-input-masks";
|
|
4
4
|
import { heading2, label, inputDisabled, buttonSecondary } from "../../../../styles/parts";
|
|
5
5
|
import { countryLabels } from "../../utils/country-config";
|
|
6
|
-
export class
|
|
6
|
+
export class BusinessRepresentativeFormInputs {
|
|
7
7
|
constructor() {
|
|
8
8
|
this.isEditingIdentification = false;
|
|
9
9
|
this.inputHandler = (name, value) => {
|
|
@@ -15,16 +15,16 @@ export class RepresentativeFormInputs {
|
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
17
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
18
|
-
return (h("form", { key: '
|
|
18
|
+
return (h("form", { key: '580cc163d4a4ef66cbb0fe81af2166d759caeeeb' }, h("fieldset", { key: '08086211fcb72f513bd5be32356617573ef70490' }, h("div", { key: '6685a37111331c6a9398827bccc81983f0710dec', class: "d-flex align-items-center gap-2" }, h("legend", { key: '426288711b83c90a00b5fc5848d9ed73d5cba497', class: "mb-0", part: heading2 }, "Representative"), h("form-control-tooltip", { key: '12fcc06fb816415b4e3ebaf500dbeffda0ada39b', 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." })), h("hr", { key: 'a405d27e2fdf8cf582e64b13a7bc46ffb746200d', class: "mt-2" }), h("div", { key: '083901b24bf65cea21850e409d51d65d69d7755a', class: "row gy-3" }, h("div", { key: '1f5cc8b3478849a3ded3ac7d00a3235d281653fb', class: "col-12 col-md-8" }, h("form-control-text", { key: '123959d648781de5937725731e81659f886d8331', name: "name", label: "Full Name", defaultValue: (_a = this.representativeDefaultValue) === null || _a === void 0 ? void 0 : _a.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: 'a0184a9578b9c479795ef1647f0fd3afef9ca0be', class: "col-12 col-md-4" }, h("form-control-text", { key: 'c15816619a4d257dbe962ae0979472495e5cf9a4', 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." })), h("div", { key: '102d285365880f746517ee49f7bee1bd4753a4df', class: "col-12 col-md-6" }, h("form-control-text", { key: 'cd81f70f7ae01f06cebd66da58950943578cc5a1', name: "email", label: "Email Address", defaultValue: (_c = this.representativeDefaultValue) === null || _c === void 0 ? void 0 : _c.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '7b2d40d02a5b7d21901aed889609bf168a2adbbe', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '43a781692abe57493fbdc40080c4f03919878791', 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: PHONE_MASKS.US })), h("div", { key: '22e2d29dd536eb9ece522dad9b8138c0df4090f7', class: "col-12 col-md-4" }, h("form-control-date", { key: '7bc2e191dcca6b840d6d50e4714af5053844ffc7', 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) => updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), h("div", { key: '80c790db5b938b70fb74642ab4e5ced869f46f3a', class: "col-12 col-md-8" }, (!((_f = this.representativeDefaultValue) === null || _f === void 0 ? void 0 : _f.ssn_last4) || this.isEditingIdentification) ? (h("form-control-number-masked", { name: "identification_number", label: 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: IDENTITY_MASKS[this.country], helpText: countryLabels[this.country].identityHelpText })) : (h("div", null, h("label", { class: "form-label", part: label }, countryLabels[this.country].idNumberLabel), h("div", { class: "input-group mb-3" }, h("input", { type: "text", class: "form-control", part: inputDisabled, value: `****${(_h = this.representativeDefaultValue) === null || _h === void 0 ? void 0 : _h.ssn_last4}`, disabled: true }), h("button", { class: "btn btn-secondary", type: "button", part: buttonSecondary, onClick: () => {
|
|
19
19
|
this.isEditingIdentification = true;
|
|
20
20
|
// Clear current value to force validation
|
|
21
21
|
updateFormValues(this.formController, {
|
|
22
22
|
identification_number: '',
|
|
23
23
|
ssn_last4: null
|
|
24
24
|
});
|
|
25
|
-
} }, "Change"))))), h("div", { key: '
|
|
25
|
+
} }, "Change"))))), h("div", { key: '84afac0a4f45f734bf1dd5266882feaed8e3a4ea', class: "col-12" }, h("identity-address-form", { key: 'dfe5ddbccc76a3b60e0594c8a7ba30b893682a59', errors: this.errors.address, defaultValues: (_j = this.representativeDefaultValue) === null || _j === void 0 ? void 0 : _j.address, handleFormUpdate: this.onAddressFormUpdate, country: this.country }))))));
|
|
26
26
|
}
|
|
27
|
-
static get is() { return "
|
|
27
|
+
static get is() { return "business-representative-form-inputs"; }
|
|
28
28
|
static get properties() {
|
|
29
29
|
return {
|
|
30
30
|
"representativeDefaultValue": {
|
|
@@ -120,9 +120,9 @@ export class BusinessRepresentativeFormStep {
|
|
|
120
120
|
if (!this.formController || this.isLoading) {
|
|
121
121
|
return (h(PaymentProvisioningLoading, null));
|
|
122
122
|
}
|
|
123
|
-
return (h("
|
|
123
|
+
return (h("business-representative-form-inputs", { representativeDefaultValue: this.formController.getInitialValues(), errors: this.errors, formController: this.formController, country: this.country }));
|
|
124
124
|
}
|
|
125
|
-
static get is() { return "
|
|
125
|
+
static get is() { return "business-representative-form-step"; }
|
|
126
126
|
static get properties() {
|
|
127
127
|
return {
|
|
128
128
|
"authToken": {
|
|
@@ -10,9 +10,9 @@ export class FormAddressFields {
|
|
|
10
10
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
11
11
|
const labels = countryLabels[this.country];
|
|
12
12
|
const options = countryOptions[this.country];
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: 'e29f7f83cadc904cfc99431b72503ec7db545d0d' }, h("div", { key: 'f12e1246925a1a1fbfe25e07144aee46f698c24f', class: "row gy-3" }, h("div", { key: '109e36cc204e6798d8c4698aa92872226a885020', class: "col-12" }, h("form-control-text", { key: '9d458a0cad4fd33ac5ab1211a0930e23109cbe6c', name: "line1", label: "Street Address", inputHandler: this.inputHandler, defaultValue: (_a = this.defaultValues) === null || _a === void 0 ? void 0 : _a.line1, errorText: (_b = this.errors) === null || _b === void 0 ? void 0 : _b.line1, helpText: "No PO Boxes." })), h("div", { key: '7001ca8f0f123d3bd6c819b51bcd9859c138875d', class: "col-12" }, h("form-control-text", { key: '47b8ffbf8e14d731187dfa6903ccc50ef7719eca', name: "line2", label: "Address Line 2 (optional)", inputHandler: this.inputHandler, defaultValue: (_c = this.defaultValues) === null || _c === void 0 ? void 0 : _c.line2, errorText: (_d = this.errors) === null || _d === void 0 ? void 0 : _d.line2 })), h("div", { key: '24795c8373dfb546e7bb9bd841646a24455c72af', class: "col-12" }, h("form-control-text", { key: '124aab7c415c972f010b98eca83e9eef51f96f33', name: "city", label: "City", inputHandler: this.inputHandler, defaultValue: (_e = this.defaultValues) === null || _e === void 0 ? void 0 : _e.city, errorText: (_f = this.errors) === null || _f === void 0 ? void 0 : _f.city })), h("div", { key: 'b710a554fa639a3c0a7a31661379b480a537d776', class: "col-12 col-md-6" }, h("form-control-select", { key: '3bca33f351147286fa34fdff51f0cfd9b5443658', name: "state", label: labels.stateLabel, options: options.stateOptions, inputHandler: this.inputHandler, defaultValue: (_g = this.defaultValues) === null || _g === void 0 ? void 0 : _g.state, errorText: (_h = this.errors) === null || _h === void 0 ? void 0 : _h.state })), h("div", { key: 'b869501766aa4482e9ea9edda29af9ecd05fac0e', class: "col-12 col-md-6" }, h("form-control-text", { key: '29b3412e69ee4bf83bf211fa3f8395d6d80fde2d', name: "postal_code", label: labels.postalLabel, inputHandler: this.inputHandler, defaultValue: (_j = this.defaultValues) === null || _j === void 0 ? void 0 : _j.postal_code, errorText: (_k = this.errors) === null || _k === void 0 ? void 0 : _k.postal_code, maxLength: this.country === CountryCode.USA ? 5 : 7, keyDownHandler: this.country === CountryCode.USA ? numberOnlyHandler : undefined })))));
|
|
14
14
|
}
|
|
15
|
-
static get is() { return "
|
|
15
|
+
static get is() { return "form-address-fields"; }
|
|
16
16
|
static get properties() {
|
|
17
17
|
return {
|
|
18
18
|
"country": {
|
|
@@ -3,7 +3,7 @@ import IMask from "imask";
|
|
|
3
3
|
import { CURRENCY_MASK } from "../../../utils/form-input-masks";
|
|
4
4
|
import { FormControlErrorText, FormControlHelpText } from "../../../ui-components";
|
|
5
5
|
import { inputAdornment, inputDisabled, inputFocused, inputGroup, inputInvalid, label } from "../../../styles/parts";
|
|
6
|
-
export class
|
|
6
|
+
export class FormControlMonetaryProvisioning {
|
|
7
7
|
constructor() {
|
|
8
8
|
this.imask = null;
|
|
9
9
|
this.isFocused = false;
|
|
@@ -60,10 +60,10 @@ export class MonetaryInputProvisioning {
|
|
|
60
60
|
return part;
|
|
61
61
|
}
|
|
62
62
|
render() {
|
|
63
|
-
return (h(Host, { key: '
|
|
63
|
+
return (h(Host, { key: '3bfa76f9374c9e9c08ae44dfc3a579fc07a9292d' }, h("div", { key: 'd7f92783fa26877f673963237b67be2f3dc7eb2b', class: "form-group d-flex flex-column" }, h("label", { key: 'd2adedb97996bac860c3161548652f83a65c6c26', part: label, class: "form-label", htmlFor: this.name }, this.label), h("div", { key: 'be26aeee918412b59d296f18da7d81dfcbfd6a69', class: "input-group" }, h("span", { key: 'a4fca49f6a2d274e7609d86030553100d94bbd7a', class: "input-group-text", part: inputAdornment }, "$"), h("input", { key: '551ea231e6af58ef27ed186905db553d90e1f1c8', ref: el => (this.textInput = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
64
64
|
this.isFocused = false;
|
|
65
65
|
this.formControlBlur.emit();
|
|
66
|
-
}, onInput: this.handleFormControlInput, part: this.inputPart, class: this.errorText ? 'form-control monetary is-invalid' : 'form-control monetary', type: "text", disabled: this.disabled })), h(FormControlHelpText, { key: '
|
|
66
|
+
}, onInput: this.handleFormControlInput, part: this.inputPart, class: this.errorText ? 'form-control monetary is-invalid' : 'form-control monetary', type: "text", disabled: this.disabled })), h(FormControlHelpText, { key: 'd66e64755451907a6a2593babc6c4e9766cf3025', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: 'ff373668801ac2c1eb30f515a2f7f6fb7c04387f', errorText: this.errorText, name: this.name }))));
|
|
67
67
|
}
|
|
68
68
|
static get is() { return "form-control-monetary-provisioning"; }
|
|
69
69
|
static get properties() {
|
|
@@ -6,7 +6,7 @@ import { BusinessService } from "../../../api/services/business.service";
|
|
|
6
6
|
import { ProvisionService } from "../../../api/services/provision.service";
|
|
7
7
|
import { checkPkgVersion } from "../../../utils/check-pkg-version";
|
|
8
8
|
import { isTokenExpired } from "../../../utils/utils";
|
|
9
|
-
export class
|
|
9
|
+
export class JustifiPaymentProvisioning {
|
|
10
10
|
constructor() {
|
|
11
11
|
this.allowOptionalFields = false;
|
|
12
12
|
this.formTitle = 'Business Information';
|
|
@@ -54,7 +54,7 @@ export class PaymentProvisioning {
|
|
|
54
54
|
});
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
|
-
return (h("justifi-payment-provisioning-core", { key: '
|
|
57
|
+
return (h("justifi-payment-provisioning-core", { key: 'e0e707c564262573b709f427a31f6d532b0e82c3', businessId: this.businessId, authToken: this.authToken, allowOptionalFields: this.allowOptionalFields, formTitle: this.formTitle, getBusiness: this.getBusiness, postProvisioning: this.postProvisioning }));
|
|
58
58
|
}
|
|
59
59
|
static get is() { return "justifi-payment-provisioning"; }
|
|
60
60
|
static get encapsulation() { return "shadow"; }
|
|
@@ -113,9 +113,9 @@ export class LegalAddressFormStep {
|
|
|
113
113
|
if (this.isLoading) {
|
|
114
114
|
return h(PaymentProvisioningLoading, null);
|
|
115
115
|
}
|
|
116
|
-
return (h("form", null, h("fieldset", null, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Legal Address of your Business"), h("form-control-tooltip", { helpText: "No PO Boxes." })), h("hr", { class: "mt-2" }), h("
|
|
116
|
+
return (h("form", null, h("fieldset", null, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Legal Address of your Business"), h("form-control-tooltip", { helpText: "No PO Boxes." })), h("hr", { class: "mt-2" }), h("form-address-fields", { country: this.country, errors: this.errors, defaultValues: legalAddressDefaultValue, inputHandler: this.inputHandler }))));
|
|
117
117
|
}
|
|
118
|
-
static get is() { return "
|
|
118
|
+
static get is() { return "legal-address-form-step"; }
|
|
119
119
|
static get properties() {
|
|
120
120
|
return {
|
|
121
121
|
"authToken": {
|
package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js
CHANGED
|
@@ -9,7 +9,7 @@ import { Business } from "../../../api/Business";
|
|
|
9
9
|
import { PaymentProvisioningLoading } from "./payment-provisioning-loading";
|
|
10
10
|
import { PaymentProvisioningAlreadyProvisioned } from "./payment-provisioning-already-provisioned";
|
|
11
11
|
import { PaymentProvisioningSubmissionComplete } from "./payment-provisioning-submission-complete";
|
|
12
|
-
export class
|
|
12
|
+
export class JustifiPaymentProvisioningCore {
|
|
13
13
|
constructor() {
|
|
14
14
|
this.loading = false;
|
|
15
15
|
this.businessLoading = true;
|
|
@@ -130,7 +130,7 @@ export class PaymentProvisioningCore {
|
|
|
130
130
|
return (h(StyledHost, null, h(PaymentProvisioningSubmissionComplete, null)));
|
|
131
131
|
}
|
|
132
132
|
// State 4: Form Steps (default)
|
|
133
|
-
return (h(StyledHost, null, h("div", { class: 'row gap-3' }, h(Header1, { text: this.formTitle }), h("
|
|
133
|
+
return (h(StyledHost, null, h("div", { class: 'row gap-3' }, h(Header1, { text: this.formTitle }), h("payment-provisioning-form-steps", { businessId: this.businessId, authToken: this.authToken, refs: this.refs, currentStep: this.currentStep, allowOptionalFields: this.allowOptionalFields, country: this.country, handleFormLoading: this.handleFormLoading }), h("div", { class: 'd-flex justify-content-between align-items-center' }, h("div", { class: 'd-flex align-items-center', part: text }, this.stepCounter), h("payment-provisioning-form-buttons", { currentStep: this.currentStep, totalSteps: this.totalSteps, formLoading: this.loading, formDisabled: this.formDisabled, previousStepButtonOnClick: this.previousStepButtonOnClick, nextStepButtonOnClick: this.nextStepButtonOnClick })))));
|
|
134
134
|
}
|
|
135
135
|
static get is() { return "justifi-payment-provisioning-core"; }
|
|
136
136
|
static get properties() {
|
|
@@ -12,9 +12,9 @@ export class PaymentProvisioningFormButtons {
|
|
|
12
12
|
return this.currentStep === this.totalSteps;
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (h("div", { key: '
|
|
15
|
+
return (h("div", { key: '84faa27ba9737bc546ed0ff0d169cea53e3599f3', class: 'd-flex gap-2' }, h(Button, { key: '615c83981ca574001fc7219611f512486415cbd8', variant: "secondary", type: "button", onClick: () => this.previousStepButtonOnClick(), disabled: this.formDisabled, hidden: !this.showPreviousStepButton }, "Previous"), h(Button, { key: 'a75dc66a0f067d9153c69cc9756291ef5ef34748', variant: "primary", type: "button", onClick: (e) => this.nextStepButtonOnClick(e, BusinessFormClickActions.nextStep), disabled: this.formDisabled, isLoading: this.formLoading, hidden: !this.showNextStepButton }, "Next"), h(Button, { key: '9aa26b8592823ecce24aae8bfbf230b6deab5336', variant: "primary", type: "submit", onClick: (e) => this.nextStepButtonOnClick(e, BusinessFormClickActions.submit), disabled: this.formDisabled, isLoading: this.formLoading, hidden: !this.showSubmitButton }, "Submit")));
|
|
16
16
|
}
|
|
17
|
-
static get is() { return "
|
|
17
|
+
static get is() { return "payment-provisioning-form-buttons"; }
|
|
18
18
|
static get properties() {
|
|
19
19
|
return {
|
|
20
20
|
"currentStep": {
|
|
@@ -5,22 +5,22 @@ export class PaymentProvisioningFormSteps {
|
|
|
5
5
|
this.allowOptionalFields = false;
|
|
6
6
|
this.country = CountryCode.USA;
|
|
7
7
|
this.componentStepMapping = {
|
|
8
|
-
0: () => h("
|
|
9
|
-
1: () => h("
|
|
10
|
-
2: () => h("
|
|
11
|
-
3: () => h("
|
|
12
|
-
4: () => h("
|
|
13
|
-
5: () => h("
|
|
14
|
-
6: () => h("
|
|
8
|
+
0: () => h("business-core-info-form-step", { businessId: this.businessId, authToken: this.authToken, ref: (el) => this.refs[0] = el, allowOptionalFields: this.allowOptionalFields, country: this.country }),
|
|
9
|
+
1: () => h("legal-address-form-step", { businessId: this.businessId, authToken: this.authToken, ref: (el) => this.refs[1] = el, allowOptionalFields: this.allowOptionalFields, country: this.country }),
|
|
10
|
+
2: () => h("additional-questions-form-step", { businessId: this.businessId, authToken: this.authToken, ref: (el) => this.refs[2] = el, allowOptionalFields: this.allowOptionalFields }),
|
|
11
|
+
3: () => h("business-representative-form-step", { businessId: this.businessId, authToken: this.authToken, ref: (el) => this.refs[3] = el, allowOptionalFields: this.allowOptionalFields, country: this.country }),
|
|
12
|
+
4: () => h("business-owners-form-step", { businessId: this.businessId, authToken: this.authToken, ref: (el) => this.refs[4] = el, allowOptionalFields: this.allowOptionalFields, country: this.country }),
|
|
13
|
+
5: () => h("business-bank-account-form-step", { businessId: this.businessId, authToken: this.authToken, ref: (el) => this.refs[5] = el, allowOptionalFields: this.allowOptionalFields, country: this.country }),
|
|
14
|
+
6: () => h("business-terms-conditions-form-step", { businessId: this.businessId, authToken: this.authToken, ref: (el) => this.refs[6] = el, onFormLoading: this.handleFormLoading, allowOptionalFields: this.allowOptionalFields }),
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
17
|
get currentStepComponent() {
|
|
18
18
|
return this.componentStepMapping[this.currentStep]();
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return (h("div", { key: '
|
|
21
|
+
return (h("div", { key: '0dc1675cbaf760028c6631eb64192c61361fdec9', class: 'col-12 mb-4' }, this.currentStepComponent));
|
|
22
22
|
}
|
|
23
|
-
static get is() { return "
|
|
23
|
+
static get is() { return "payment-provisioning-form-steps"; }
|
|
24
24
|
static get properties() {
|
|
25
25
|
return {
|
|
26
26
|
"businessId": {
|
|
@@ -108,9 +108,9 @@ export class BusinessTermsConditionsFormStep {
|
|
|
108
108
|
return (h("a", { href: "https://justifi.tech/merchant-agreement/", target: "_blank", rel: "noopener noreferrer" }, "merchant agreement"));
|
|
109
109
|
}
|
|
110
110
|
render() {
|
|
111
|
-
return (h("form", { key: '
|
|
111
|
+
return (h("form", { key: '325cb8ddd72c0fcd8ea14eae5c8abff286c57b90' }, h("fieldset", { key: '4376945ecca9dc5f462099b8a7b893b84d72ee28' }, h("legend", { key: 'd2c83a8d552091c1e546fe663be6674fb5cc623a', part: heading2 }, "Terms and Conditions"), h("hr", { key: '608620cec864f21eed1c0263236e160171543881' }), h("div", { key: '58942ff2e4a620695485b9e80443c9cbfae74186' }, h("p", { key: '487df1718bb9a5dfc486c8589d75c627d325edd8' }, "Please read and accept the ", this.merchantAgreementLink, " to submit your provisioning request.")), h("br", { key: 'ee3cc0ccedd353030abc05d80b20d7ae5b3f327c' }), h("div", { key: 'd9ff9f7aeb18da7253f6ed1705ac0ebd4aebbc15', class: "row-gy-3" }, h("div", { key: 'f9e9fd3bdc0b74872fa58940af54952a138cc988', class: "col-12" }, h("form-control-checkbox", { key: '63cdad138445ac5b5fa4beb678475048c5b8c589', 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 }))))));
|
|
112
112
|
}
|
|
113
|
-
static get is() { return "
|
|
113
|
+
static get is() { return "business-terms-conditions-form-step"; }
|
|
114
114
|
static get properties() {
|
|
115
115
|
return {
|
|
116
116
|
"authToken": {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { h
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
2
|
import BankAccountFormSkeleton from "./bank-account-form-skeleton";
|
|
3
3
|
import { configState, waitForConfig } from "../../config-provider/config-state";
|
|
4
4
|
import { generateTabId } from "../../../utils/utils";
|
|
5
|
+
import { checkPkgVersion } from "../../../utils/check-pkg-version";
|
|
5
6
|
export class BankAccountForm {
|
|
6
7
|
constructor() {
|
|
7
8
|
this.isReady = false;
|
|
@@ -10,6 +11,7 @@ export class BankAccountForm {
|
|
|
10
11
|
await waitForConfig();
|
|
11
12
|
this.iframeOrigin = configState.iframeOrigin;
|
|
12
13
|
this.tabId = generateTabId();
|
|
14
|
+
checkPkgVersion();
|
|
13
15
|
}
|
|
14
16
|
componentDidRender() {
|
|
15
17
|
const elements = [
|
|
@@ -29,14 +31,15 @@ export class BankAccountForm {
|
|
|
29
31
|
const routingNumberIsValid = await this.routingNumberIframeElement.validate();
|
|
30
32
|
return accountNumberIsValid && routingNumberIsValid;
|
|
31
33
|
}
|
|
32
|
-
async tokenize(clientId, paymentMethodMetadata, account) {
|
|
33
|
-
|
|
34
|
+
async tokenize({ clientId, paymentMethodMetadata, account }) {
|
|
35
|
+
const result = await this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
36
|
+
return result;
|
|
34
37
|
}
|
|
35
38
|
render() {
|
|
36
|
-
return (h(
|
|
39
|
+
return (h("div", { key: '73e3f3c28652ec1a0256ea8668db6ebe56e929ba' }, h(BankAccountFormSkeleton, { key: 'cf8bd04492e821a4c39c61c549dec728fc24696e', isReady: this.isReady }), h("hidden-input", { key: '877eeb9963fb9971e372a05eb3de1bee66d5b765' }), h("div", { key: '8a5c6dced3dfd9ce2486712e6a7d90b3710721bc', class: "container-fluid p-0", style: {
|
|
37
40
|
opacity: this.isReady ? '1' : '0',
|
|
38
41
|
height: this.isReady ? 'auto' : '0',
|
|
39
|
-
} }, h("div", { key: '
|
|
42
|
+
} }, h("div", { key: '35f116944ac3fbda6f46cd3335dd442fc5284fc3', class: "row mb-3" }, h("iframe-input", { key: 'c9bfd6124f3107b703ee4c43946560940b93899f', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber?tabId=${this.tabId}` })), h("div", { key: '43a3d810081ad218ce3fd57627c1c93efc4fb1eb', class: "row" }, h("iframe-input", { key: '4b2d6d3213c4ba44cf63a1297d34975c894010f6', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber?tabId=${this.tabId}` })))));
|
|
40
43
|
}
|
|
41
44
|
static get is() { return "bank-account-form"; }
|
|
42
45
|
static get states() {
|
|
@@ -67,18 +70,10 @@ export class BankAccountForm {
|
|
|
67
70
|
},
|
|
68
71
|
"tokenize": {
|
|
69
72
|
"complexType": {
|
|
70
|
-
"signature": "(clientId: string
|
|
73
|
+
"signature": "({ clientId, paymentMethodMetadata, account }: { clientId: string; paymentMethodMetadata: any; account?: string; }) => Promise<any>",
|
|
71
74
|
"parameters": [{
|
|
72
|
-
"name": "
|
|
73
|
-
"type": "string",
|
|
74
|
-
"docs": ""
|
|
75
|
-
}, {
|
|
76
|
-
"name": "paymentMethodMetadata",
|
|
77
|
-
"type": "any",
|
|
78
|
-
"docs": ""
|
|
79
|
-
}, {
|
|
80
|
-
"name": "account",
|
|
81
|
-
"type": "string",
|
|
75
|
+
"name": "__0",
|
|
76
|
+
"type": "{ clientId: string; paymentMethodMetadata: any; account?: string; }",
|
|
82
77
|
"docs": ""
|
|
83
78
|
}],
|
|
84
79
|
"references": {
|