@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
|
@@ -2,30 +2,43 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
4
|
var Api = require('./Api-Bukk55YZ.js');
|
|
5
|
-
var Plaid = require('./Plaid-
|
|
5
|
+
var Plaid = require('./Plaid-DR9WDZ98.js');
|
|
6
6
|
var styledHost = require('./styled-host-DAi5SuFa.js');
|
|
7
7
|
require('./event-types-YOY5TKUN.js');
|
|
8
|
-
var skeleton = require('./skeleton-
|
|
8
|
+
var skeleton = require('./skeleton-DvRCiQlA.js');
|
|
9
9
|
var checkout_store = require('./checkout.store-zTfjieKa.js');
|
|
10
|
-
var parts = require('./parts-
|
|
10
|
+
var parts = require('./parts-BXshb_S-.js');
|
|
11
11
|
var utils = require('./utils-BHi4j5rB.js');
|
|
12
12
|
var configState = require('./config-state-BIgGhhe9.js');
|
|
13
|
-
var header1 = require('./header-1-
|
|
14
|
-
var insuranceState = require('./insurance-state-
|
|
15
|
-
var header3 = require('./header-3-
|
|
16
|
-
var
|
|
13
|
+
var header1 = require('./header-1-CsBQoo1f.js');
|
|
14
|
+
var insuranceState = require('./insurance-state-Xe2auE-N.js');
|
|
15
|
+
var header3 = require('./header-3-DCYJhPro.js');
|
|
16
|
+
var Analytics = require('./Analytics-DZCXB2Za.js');
|
|
17
|
+
var checkPkgVersion = require('./check-pkg-version-CUhnNGii.js');
|
|
17
18
|
require('./dinero-BwNN_k7x.js');
|
|
18
19
|
var ComponentError = require('./ComponentError-D4OLnOkg.js');
|
|
19
20
|
require('./Pagination-Dediz133.js');
|
|
20
21
|
require('./Business-oBifyXkW.js');
|
|
21
22
|
require('./Dispute-CruQTF6_.js');
|
|
22
23
|
var utils$1 = require('./utils-DvUQQLmR.js');
|
|
23
|
-
var checkout_service = require('./checkout.service-
|
|
24
|
-
var plaid_service = require('./plaid.service-
|
|
24
|
+
var checkout_service = require('./checkout.service-Cok0vRot.js');
|
|
25
|
+
var plaid_service = require('./plaid.service-CK1ouCBC.js');
|
|
25
26
|
var index$1 = require('./index-CajjbB9t.js');
|
|
26
27
|
var paymentMethodOptionUtils = require('./payment-method-option-utils-WYHIHy-l.js');
|
|
27
28
|
require('./index-W-zoNiyM.js');
|
|
28
|
-
require('./package-
|
|
29
|
+
require('./package-CJg8qLYd.js');
|
|
30
|
+
|
|
31
|
+
const JustifiRadioListItem = class {
|
|
32
|
+
constructor(hostRef) {
|
|
33
|
+
index.registerInstance(this, hostRef);
|
|
34
|
+
this.radioClick = index.createEvent(this, "radio-click", 7);
|
|
35
|
+
this.checked = false;
|
|
36
|
+
this.hidden = false;
|
|
37
|
+
}
|
|
38
|
+
render() {
|
|
39
|
+
return (index.h(styledHost.StyledHost, { key: '02955940079320bd9c6bf94e239545385ac36458' }, index.h("radio-list-item", { key: 'fc6b98e456e4326b843b2b3248b7327436767cf4', name: this.name, value: this.value, label: this.label, checked: this.checked, hidden: this.hidden, class: this.class, "onRadio-click": (e) => this.radioClick.emit(e.detail) })));
|
|
40
|
+
}
|
|
41
|
+
};
|
|
29
42
|
|
|
30
43
|
// Centralized error codes for Apple Pay service
|
|
31
44
|
var ApplePayServiceErrorCode;
|
|
@@ -62,7 +75,7 @@ class ApplePayService {
|
|
|
62
75
|
'Sub-Account': accountId,
|
|
63
76
|
},
|
|
64
77
|
body: {
|
|
65
|
-
domain: window.location.
|
|
78
|
+
domain: window.location.hostname,
|
|
66
79
|
display_name: this.applePayConfig.displayName
|
|
67
80
|
}
|
|
68
81
|
});
|
|
@@ -520,7 +533,7 @@ const ApplePayButton = (props) => {
|
|
|
520
533
|
`)));
|
|
521
534
|
};
|
|
522
535
|
|
|
523
|
-
const
|
|
536
|
+
const JustifiApplePay = class {
|
|
524
537
|
constructor(hostRef) {
|
|
525
538
|
index.registerInstance(this, hostRef);
|
|
526
539
|
this.applePayStarted = index.createEvent(this, "applePayStarted", 7);
|
|
@@ -578,7 +591,7 @@ const ApplePay = class {
|
|
|
578
591
|
});
|
|
579
592
|
this.applePayError.emit({
|
|
580
593
|
error: ((_a = result.error) === null || _a === void 0 ? void 0 : _a.message) || "Payment failed",
|
|
581
|
-
code: ((_b = result.error) === null || _b === void 0 ? void 0 : _b.code) ||
|
|
594
|
+
code: ((_b = result.error) === null || _b === void 0 ? void 0 : _b.code) || JustifiApplePay.ErrorCode.PAYMENT_FAILED,
|
|
582
595
|
});
|
|
583
596
|
}
|
|
584
597
|
}
|
|
@@ -589,7 +602,7 @@ const ApplePay = class {
|
|
|
589
602
|
else {
|
|
590
603
|
const errorMessage = error instanceof Error ? error.message : "Payment failed";
|
|
591
604
|
this.error = errorMessage;
|
|
592
|
-
this.applePayError.emit({ error: errorMessage, code:
|
|
605
|
+
this.applePayError.emit({ error: errorMessage, code: JustifiApplePay.ErrorCode.PAYMENT_FAILED });
|
|
593
606
|
this.applePayCompleted.emit({
|
|
594
607
|
success: false,
|
|
595
608
|
error: errorMessage,
|
|
@@ -618,7 +631,7 @@ const ApplePay = class {
|
|
|
618
631
|
hasAuthToken: Boolean(checkout_store.checkoutStore.authToken),
|
|
619
632
|
accountId: checkout_store.checkoutStore.accountId,
|
|
620
633
|
});
|
|
621
|
-
this.applePayError.emit({ error: this.error, code:
|
|
634
|
+
this.applePayError.emit({ error: this.error, code: JustifiApplePay.ErrorCode.CONFIG_ERROR });
|
|
622
635
|
this.isLoading = false;
|
|
623
636
|
return;
|
|
624
637
|
}
|
|
@@ -627,14 +640,14 @@ const ApplePay = class {
|
|
|
627
640
|
if (!this.isAvailable) {
|
|
628
641
|
this.error = "Apple Pay is not supported on this device";
|
|
629
642
|
console.error(this.error);
|
|
630
|
-
this.applePayError.emit({ error: this.error, code:
|
|
643
|
+
this.applePayError.emit({ error: this.error, code: JustifiApplePay.ErrorCode.NOT_SUPPORTED });
|
|
631
644
|
this.isLoading = false;
|
|
632
645
|
return;
|
|
633
646
|
}
|
|
634
647
|
if (!this.canMakePayments) {
|
|
635
648
|
this.error = "Apple Pay is not available";
|
|
636
649
|
console.error(this.error);
|
|
637
|
-
this.applePayError.emit({ error: this.error, code:
|
|
650
|
+
this.applePayError.emit({ error: this.error, code: JustifiApplePay.ErrorCode.NOT_AVAILABLE });
|
|
638
651
|
this.isLoading = false;
|
|
639
652
|
return;
|
|
640
653
|
}
|
|
@@ -659,7 +672,7 @@ const ApplePay = class {
|
|
|
659
672
|
error instanceof Error
|
|
660
673
|
? error.message
|
|
661
674
|
: "Failed to initialize Apple Pay";
|
|
662
|
-
this.applePayError.emit({ error: this.error, code:
|
|
675
|
+
this.applePayError.emit({ error: this.error, code: JustifiApplePay.ErrorCode.INITIALIZATION_ERROR });
|
|
663
676
|
}
|
|
664
677
|
finally {
|
|
665
678
|
this.isLoading = false;
|
|
@@ -698,7 +711,7 @@ const ApplePay = class {
|
|
|
698
711
|
}
|
|
699
712
|
};
|
|
700
713
|
// Centralized error codes for the Apple Pay component layer
|
|
701
|
-
|
|
714
|
+
JustifiApplePay.ErrorCode = {
|
|
702
715
|
CONFIG_ERROR: 'CONFIG_ERROR',
|
|
703
716
|
NOT_SUPPORTED: 'NOT_SUPPORTED',
|
|
704
717
|
NOT_AVAILABLE: 'NOT_AVAILABLE',
|
|
@@ -706,12 +719,23 @@ ApplePay.ErrorCode = {
|
|
|
706
719
|
PAYMENT_FAILED: 'PAYMENT_FAILED',
|
|
707
720
|
};
|
|
708
721
|
|
|
709
|
-
const
|
|
722
|
+
const JustifiButton = class {
|
|
710
723
|
constructor(hostRef) {
|
|
711
724
|
index.registerInstance(this, hostRef);
|
|
725
|
+
this.variant = 'primary';
|
|
726
|
+
this.type = 'button';
|
|
712
727
|
}
|
|
713
728
|
render() {
|
|
714
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
729
|
+
return (index.h(styledHost.StyledHost, { key: 'f1ac17863df571d72e7db9b748b1980218145322' }, index.h("internal-button", { key: '0b7052d216fb79ed5d9f90aacff97d39dce87473', text: this.text, variant: this.variant, isLoading: this.isLoading, clickHandler: this.clickHandler, type: this.type, disabled: this.disabled, class: this.class, customStyle: this.customStyle, hidden: this.hidden })));
|
|
730
|
+
}
|
|
731
|
+
};
|
|
732
|
+
|
|
733
|
+
const JustifiCheckoutSummary = class {
|
|
734
|
+
constructor(hostRef) {
|
|
735
|
+
index.registerInstance(this, hostRef);
|
|
736
|
+
}
|
|
737
|
+
render() {
|
|
738
|
+
return (index.h(styledHost.StyledHost, { key: '43b48a771bd617b3b3481e0976aa50b6b63e2d6e' }, index.h("section", { key: 'e112a767fef56b095f002dfb272a43eda42ede46' }, index.h("div", { key: '079ce3aa4eb74004f5ecd3a634d2b42cf9c7a863' }, index.h("div", { key: '5d816254f104e238122080fcf43356fd7f01bcfd', part: parts.text }, checkout_store.checkoutStore === null || checkout_store.checkoutStore === void 0 ? void 0 : checkout_store.checkoutStore.paymentDescription), index.h("div", { key: 'e7d28a3a4cce7399c1fb45194f4fad172e0a2751' }, index.h("span", { key: 'b1683801875c39a8de8d93e0cdc8778a669eebfd', part: parts.text }, "Total"), "\u00A0", index.h("span", { key: 'ae2efd44a3ea54d77fcb284fee7361d0ba9b87e1', part: parts.text }, utils.formatCurrency(+(checkout_store.checkoutStore === null || checkout_store.checkoutStore === void 0 ? void 0 : checkout_store.checkoutStore.totalAmount))))))));
|
|
715
739
|
}
|
|
716
740
|
};
|
|
717
741
|
|
|
@@ -736,7 +760,7 @@ var GooglePayEventTypes;
|
|
|
736
760
|
GooglePayEventTypes["paymentCanceled"] = "justifi.googlePay.paymentCanceled";
|
|
737
761
|
GooglePayEventTypes["paymentError"] = "justifi.googlePay.paymentError";
|
|
738
762
|
})(GooglePayEventTypes || (GooglePayEventTypes = {}));
|
|
739
|
-
const
|
|
763
|
+
const JustifiGooglePay = class {
|
|
740
764
|
constructor(hostRef) {
|
|
741
765
|
index.registerInstance(this, hostRef);
|
|
742
766
|
this.googlePayCompleted = index.createEvent(this, "googlePayCompleted", 7);
|
|
@@ -842,7 +866,7 @@ const GooglePay = class {
|
|
|
842
866
|
}
|
|
843
867
|
};
|
|
844
868
|
|
|
845
|
-
const
|
|
869
|
+
const JustifiHeader = class {
|
|
846
870
|
constructor(hostRef) {
|
|
847
871
|
index.registerInstance(this, hostRef);
|
|
848
872
|
this.levels = {
|
|
@@ -854,7 +878,7 @@ const Header = class {
|
|
|
854
878
|
}
|
|
855
879
|
render() {
|
|
856
880
|
const HeaderComponent = this.levels[this.level];
|
|
857
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
881
|
+
return (index.h(styledHost.StyledHost, { key: '879e301ec35e7cc536dec135e11daf140c67eeed' }, index.h(HeaderComponent, { key: '1766cb9a4d84bee1b3365b4df93515274cf31565', text: this.text, class: this.class })));
|
|
858
882
|
}
|
|
859
883
|
};
|
|
860
884
|
|
|
@@ -913,7 +937,7 @@ const makeCheckoutComplete = ({ authToken, checkoutId, service }) => async ({ pa
|
|
|
913
937
|
}
|
|
914
938
|
};
|
|
915
939
|
|
|
916
|
-
const
|
|
940
|
+
const JustifiModularCheckout = class {
|
|
917
941
|
constructor(hostRef) {
|
|
918
942
|
index.registerInstance(this, hostRef);
|
|
919
943
|
this.errorEvent = index.createEvent(this, "error-event", 7);
|
|
@@ -994,7 +1018,7 @@ const ModularCheckout = class {
|
|
|
994
1018
|
});
|
|
995
1019
|
}
|
|
996
1020
|
componentWillLoad() {
|
|
997
|
-
this.analytics = new
|
|
1021
|
+
this.analytics = new Analytics.JustifiAnalytics(this);
|
|
998
1022
|
checkPkgVersion.checkPkgVersion();
|
|
999
1023
|
checkout_store.checkoutStore.authToken = this.authToken;
|
|
1000
1024
|
this.fetchCheckout();
|
|
@@ -1086,11 +1110,20 @@ const ModularCheckout = class {
|
|
|
1086
1110
|
this.checkoutChangedEvent.emit(detail);
|
|
1087
1111
|
}
|
|
1088
1112
|
queryFormRefs() {
|
|
1089
|
-
this.billingFormRef = this.hostEl.querySelector("justifi-billing-form, justifi-bank-account-billing-form-simple, justifi-card-billing-form-simple, justifi-billing-form-full");
|
|
1113
|
+
this.billingFormRef = this.hostEl.querySelector("justifi-billing-form, justifi-bank-account-billing-form-simple, justifi-card-billing-form-simple, justifi-billing-form-full, justifi-tokenize-payment-method");
|
|
1090
1114
|
this.applePayRef = this.hostEl.querySelector("justifi-apple-pay");
|
|
1091
1115
|
this.googlePayRef = this.hostEl.querySelector("justifi-google-pay");
|
|
1092
1116
|
this.paymentMethodFormRef =
|
|
1093
1117
|
this.hostEl.querySelector('justifi-card-form, justifi-bank-account-form, justifi-tokenize-payment-method');
|
|
1118
|
+
if (!checkout_store.checkoutStore.selectedPaymentMethod && this.paymentMethodFormRef) {
|
|
1119
|
+
const tag = this.paymentMethodFormRef.tagName.toLowerCase();
|
|
1120
|
+
if (tag === 'justifi-card-form') {
|
|
1121
|
+
checkout_store.checkoutStore.selectedPaymentMethod = { type: index$1.PAYMENT_METHODS.NEW_CARD };
|
|
1122
|
+
}
|
|
1123
|
+
else if (tag === 'justifi-bank-account-form') {
|
|
1124
|
+
checkout_store.checkoutStore.selectedPaymentMethod = { type: index$1.PAYMENT_METHODS.NEW_BANK_ACCOUNT };
|
|
1125
|
+
}
|
|
1126
|
+
}
|
|
1094
1127
|
this.insuranceFormRef = this.hostEl.querySelector('justifi-season-interruption-insurance');
|
|
1095
1128
|
}
|
|
1096
1129
|
setupApplePayListeners() {
|
|
@@ -1139,6 +1172,9 @@ const ModularCheckout = class {
|
|
|
1139
1172
|
checkout_store.checkoutStore.paymentToken = tokenizeResult.id;
|
|
1140
1173
|
return tokenizeResult.id;
|
|
1141
1174
|
}
|
|
1175
|
+
async fillBillingForm(fields) {
|
|
1176
|
+
checkout_store.checkoutStore.billingFormFields = fields;
|
|
1177
|
+
}
|
|
1142
1178
|
// set the selected payment method to the checkout store from outside the component
|
|
1143
1179
|
async setSelectedPaymentMethod(paymentMethod) {
|
|
1144
1180
|
checkout_store.checkoutStore.selectedPaymentMethod = paymentMethod;
|
|
@@ -1313,14 +1349,14 @@ const ModularCheckout = class {
|
|
|
1313
1349
|
});
|
|
1314
1350
|
}
|
|
1315
1351
|
render() {
|
|
1316
|
-
return index.h(index.Host, { key: '
|
|
1352
|
+
return index.h(index.Host, { key: 'f97e00da82355bfd1bf1ce34acefc4adfe0863dc' });
|
|
1317
1353
|
}
|
|
1318
1354
|
get hostEl() { return index.getElement(this); }
|
|
1319
1355
|
};
|
|
1320
1356
|
|
|
1321
1357
|
const plaidIconSvg = 'data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjQ4IiB2aWV3Qm94PSIwIDAgMjggMjkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgY2xhc3M9ImNzcy0xcmRhajhtIj48ZyBmaWxsPSIjMTExIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yNS43NjI5IDI2LjI2MjhMMjggMTcuNTMwOUwyNC45NjkxIDE0LjUwMDFMMjcuOTk5OSAxMS40NjkxTDI1Ljc2MjggMi43MzcwNkwxNy4wMzA5IDAuNUwxNC4wMDAxIDMuNTMxTDEwLjk2OSAwLjUwMDE0TDIuMjM3MDYgMi43MzczNEwwIDExLjQ2OTFMMy4wMzEyOCAxNC40OTk5TDAuMDAwMTQgMTcuNTMxTDIuMjM3MiAyNi4yNjI5TDEwLjk2OTEgMjguNUwxNC4wMDAxIDI1LjQ2OUwxNy4wMzEgMjguNDk5OUwyNS43NjI5IDI2LjI2MjhaTTE1LjczMjEgMjMuNzM3MUwxOC42MTg2IDIwLjg1MDVMMjIuMjkxMiAyNC41MjMzTDE3LjY5NTYgMjUuNzAwN0wxNS43MzIxIDIzLjczNzFaTTExLjExMzYgOS44ODE1NEwxNC4wMDAzIDYuOTk1MDJMMTYuODg2OCA5Ljg4MTRMMTQuMDAwMSAxMi43Njc5TDExLjExMzYgOS44ODE1NFpNMTIuMjY4MiAxNC41TDkuMzgxNTQgMTcuMzg2NUw2LjQ5NTAyIDE0LjVMOS4zODE1NCAxMS42MTM1TDEyLjI2ODIgMTQuNVpNMTguNjE4NyAxMS42MTMzTDIxLjUwNTMgMTQuNUwxOC42MTg2IDE3LjM4NjVMMTUuNzMyMSAxNC41TDE4LjYxODcgMTEuNjEzM1pNMTYuODg2NyAxOS4xMTg2TDE0LjAwMDEgMjIuMDA1MUwxMS4xMTM1IDE5LjExODVMMTQuMDAwMSAxNi4yMzE5TDE2Ljg4NjcgMTkuMTE4NlpNMTAuMzA0NCAyNS43MDA3TDUuNzA4NjQgMjQuNTIzM0w5LjM4MTU0IDIwLjg1MDRMMTIuMjY4MiAyMy43MzcxTDEwLjMwNDQgMjUuNzAwN1pNNC43NjMwOCAxNi4yMzE5TDcuNjQ5NiAxOS4xMTg1TDMuOTc2NyAyMi43OTE0TDIuNzk5MyAxOC4xOTU3TDQuNzYzMDggMTYuMjMxOVpNMy45NzY3IDYuMjA4MzZMNy42NDk3NCA5Ljg4MTRMNC43NjMwOCAxMi43NjgxTDIuNzk5MyAxMC44MDQxTDMuOTc2NyA2LjIwODM2Wk0xMi4yNjgzIDUuMjYyOTRMOS4zODE2OCA4LjE0OTZMNS43MDg5MiA0LjQ3NjdMMTAuMzA0NyAzLjI5OTNMMTIuMjY4MyA1LjI2Mjk0Wk0xNy42OTU5IDMuMjk5M0wyMi4yOTE1IDQuNDc2N0wxOC42MTg2IDguMTQ5NDZMMTUuNzMyMSA1LjI2Mjk0TDE3LjY5NTkgMy4yOTkzWk0yMy4yMzcyIDEyLjc2ODFMMjAuMzUwNSA5Ljg4MTRMMjQuMDIzMyA2LjIwODc4TDI1LjIwMDcgMTAuODA0NkwyMy4yMzcyIDEyLjc2ODFaTTI0LjAyMzMgMjIuNzkxNEwyMC4zNTA1IDE5LjExODZMMjMuMjM3MiAxNi4yMzIxTDI1LjIwMDcgMTguMTk1N0wyNC4wMjMzIDIyLjc5MTRaIj48L3BhdGg+PC9nPjwvc3ZnPgo=';
|
|
1322
1358
|
|
|
1323
|
-
const
|
|
1359
|
+
const JustifiPlaidPaymentMethod = class {
|
|
1324
1360
|
constructor(hostRef) {
|
|
1325
1361
|
index.registerInstance(this, hostRef);
|
|
1326
1362
|
this.paymentMethodOptionSelected = index.createEvent(this, "paymentMethodOptionSelected", 7);
|
|
@@ -1812,7 +1848,7 @@ const PlaidPaymentMethod = class {
|
|
|
1812
1848
|
if (checkout_store.checkoutStore.bankAccountVerification !== true) {
|
|
1813
1849
|
if (!this.hasLoggedDisabledWarning) {
|
|
1814
1850
|
// Log once per component lifecycle
|
|
1815
|
-
console.warn('[
|
|
1851
|
+
console.warn('[JustifiPlaidPaymentMethod] bank_account_verification is disabled. Component will not render.');
|
|
1816
1852
|
this.hasLoggedDisabledWarning = true;
|
|
1817
1853
|
}
|
|
1818
1854
|
return null;
|
|
@@ -1855,7 +1891,7 @@ const PlaidPaymentMethod = class {
|
|
|
1855
1891
|
}; }
|
|
1856
1892
|
};
|
|
1857
1893
|
|
|
1858
|
-
const
|
|
1894
|
+
const JustifiSavedPaymentMethods = class {
|
|
1859
1895
|
constructor(hostRef) {
|
|
1860
1896
|
index.registerInstance(this, hostRef);
|
|
1861
1897
|
this.onPaymentMethodOptionClick = (paymentMethod) => (e) => {
|
|
@@ -1899,7 +1935,7 @@ const sezzleLogo = (index.h("img", { class: "sezzle-smart-button-logo-img", src:
|
|
|
1899
1935
|
marginLeft: '5px',
|
|
1900
1936
|
marginTop: '-5px',
|
|
1901
1937
|
} }));
|
|
1902
|
-
const
|
|
1938
|
+
const JustifiSezzlePaymentMethod = class {
|
|
1903
1939
|
constructor(hostRef) {
|
|
1904
1940
|
index.registerInstance(this, hostRef);
|
|
1905
1941
|
this.paymentMethodOptionSelected = index.createEvent(this, "paymentMethodOptionSelected", 7);
|
|
@@ -1960,11 +1996,281 @@ const SezzlePaymentMethod = class {
|
|
|
1960
1996
|
}
|
|
1961
1997
|
};
|
|
1962
1998
|
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1999
|
+
// Constants
|
|
2000
|
+
const PAYMENT_METHOD_TYPE_LABELS = {
|
|
2001
|
+
[index$1.PAYMENT_METHODS.NEW_BANK_ACCOUNT]: 'New bank account',
|
|
2002
|
+
[index$1.PAYMENT_METHODS.NEW_CARD]: 'New credit or debit card',
|
|
2003
|
+
};
|
|
2004
|
+
const ERROR_MESSAGES = {
|
|
2005
|
+
AUTH_TOKEN_REQUIRED: 'Auth token is required when using the tokenize-payment-method component not slotted in justifi-modular-checkout',
|
|
2006
|
+
ACCOUNT_ID_REQUIRED: 'Account ID is required when using the tokenize-payment-method component not slotted in justifi-modular-checkout',
|
|
2007
|
+
FORM_NOT_READY: 'Payment form not ready',
|
|
2008
|
+
VALIDATION_ERROR: 'Validation error',
|
|
2009
|
+
};
|
|
2010
|
+
const JustifiTokenizePaymentMethod = class {
|
|
2011
|
+
constructor(hostRef) {
|
|
2012
|
+
index.registerInstance(this, hostRef);
|
|
2013
|
+
this.errorEvent = index.createEvent(this, "error-event", 7);
|
|
2014
|
+
this.submitEvent = index.createEvent(this, "submit-event", 7);
|
|
2015
|
+
this.computedHideSubmitButton = false;
|
|
2016
|
+
this.isLoading = false;
|
|
2017
|
+
this.submitButtonText = 'Submit';
|
|
2018
|
+
}
|
|
2019
|
+
paymentMethodsChanged() {
|
|
2020
|
+
this.setDefaultSelectedPaymentMethod();
|
|
2021
|
+
}
|
|
2022
|
+
connectedCallback() {
|
|
2023
|
+
this.setDefaultSelectedPaymentMethod();
|
|
2024
|
+
this.setComputedHideSubmitButton();
|
|
2025
|
+
}
|
|
2026
|
+
disconnectedCallback() {
|
|
2027
|
+
var _a;
|
|
2028
|
+
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
2029
|
+
if (this.unsubscribeFromStore) {
|
|
2030
|
+
this.unsubscribeFromStore();
|
|
2031
|
+
}
|
|
2032
|
+
}
|
|
2033
|
+
componentWillLoad() {
|
|
2034
|
+
checkPkgVersion.checkPkgVersion();
|
|
2035
|
+
this.analytics = new Analytics.JustifiAnalytics(this);
|
|
2036
|
+
}
|
|
2037
|
+
handleRadioClick(event) {
|
|
2038
|
+
this.selectedPaymentMethod = event.detail;
|
|
2039
|
+
checkout_store.checkoutStore.selectedPaymentMethod = { type: event.detail };
|
|
2040
|
+
}
|
|
2041
|
+
async tokenizePaymentMethod(event) {
|
|
2042
|
+
event === null || event === void 0 ? void 0 : event.preventDefault();
|
|
2043
|
+
this.validateRequiredProps();
|
|
2044
|
+
this.isLoading = true;
|
|
2045
|
+
try {
|
|
2046
|
+
const validation = await this.validate();
|
|
2047
|
+
if (!validation.isValid) {
|
|
2048
|
+
this.errorEvent.emit({
|
|
2049
|
+
errorCode: ComponentError.ComponentErrorCodes.TOKENIZE_ERROR,
|
|
2050
|
+
message: ERROR_MESSAGES.VALIDATION_ERROR,
|
|
2051
|
+
});
|
|
2052
|
+
this.isLoading = false;
|
|
2053
|
+
return;
|
|
2054
|
+
}
|
|
2055
|
+
const tokenizeResponse = await this.resolvePaymentMethod({ isValid: true });
|
|
2056
|
+
if (tokenizeResponse.error) {
|
|
2057
|
+
this.emitError({
|
|
2058
|
+
errorCode: tokenizeResponse.error.code,
|
|
2059
|
+
message: tokenizeResponse.error.message,
|
|
2060
|
+
});
|
|
2061
|
+
}
|
|
2062
|
+
this.submitEvent.emit({ response: tokenizeResponse });
|
|
2063
|
+
return tokenizeResponse;
|
|
2064
|
+
}
|
|
2065
|
+
catch (error) {
|
|
2066
|
+
const errorResponse = this.createErrorResponse(ComponentError.ComponentErrorCodes.TOKENIZE_ERROR, error.message);
|
|
2067
|
+
this.emitError({
|
|
2068
|
+
errorCode: ComponentError.ComponentErrorCodes.TOKENIZE_ERROR,
|
|
2069
|
+
message: error.message,
|
|
2070
|
+
});
|
|
2071
|
+
this.submitEvent.emit({ response: errorResponse });
|
|
2072
|
+
return errorResponse;
|
|
2073
|
+
}
|
|
2074
|
+
finally {
|
|
2075
|
+
this.isLoading = false;
|
|
2076
|
+
}
|
|
2077
|
+
}
|
|
2078
|
+
async fillBillingForm(fields) {
|
|
2079
|
+
checkout_store.checkoutStore.billingFormFields = fields;
|
|
2080
|
+
}
|
|
2081
|
+
async validate() {
|
|
2082
|
+
if (!this.areFormsReady()) {
|
|
2083
|
+
return { isValid: false, errors: { general: ERROR_MESSAGES.FORM_NOT_READY } };
|
|
2084
|
+
}
|
|
2085
|
+
const [billingValidation, paymentMethodValidation] = await Promise.all([
|
|
2086
|
+
this.billingFormRef.validate(),
|
|
2087
|
+
this.paymentMethodFormRef.validate(),
|
|
2088
|
+
]);
|
|
2089
|
+
const result = {
|
|
2090
|
+
isValid: billingValidation.isValid && paymentMethodValidation.isValid,
|
|
2091
|
+
errors: Object.assign(Object.assign({}, billingValidation.errors), paymentMethodValidation.errors),
|
|
2092
|
+
};
|
|
2093
|
+
return result;
|
|
2094
|
+
}
|
|
2095
|
+
async getValues() {
|
|
2096
|
+
return this.billingFormRef.getValues();
|
|
2097
|
+
}
|
|
2098
|
+
async tokenize() {
|
|
2099
|
+
try {
|
|
2100
|
+
const billingFormFieldValues = await this.billingFormRef.getValues();
|
|
2101
|
+
const config = {
|
|
2102
|
+
clientId: this.authToken || checkout_store.checkoutStore.authToken,
|
|
2103
|
+
account: this.accountId || checkout_store.checkoutStore.accountId,
|
|
2104
|
+
paymentMethodMetadata: this.buildPaymentMethodMetadata(billingFormFieldValues),
|
|
2105
|
+
};
|
|
2106
|
+
const result = await this.paymentMethodFormRef.tokenize(config);
|
|
2107
|
+
return result;
|
|
2108
|
+
}
|
|
2109
|
+
catch (error) {
|
|
2110
|
+
return error;
|
|
2111
|
+
}
|
|
2112
|
+
}
|
|
2113
|
+
// 9. Local methods
|
|
2114
|
+
validateRequiredProps() {
|
|
2115
|
+
if (!this.authToken && !checkout_store.checkoutStore.authToken) {
|
|
2116
|
+
this.emitError({
|
|
2117
|
+
errorCode: ComponentError.ComponentErrorCodes.TOKENIZE_ERROR,
|
|
2118
|
+
message: ERROR_MESSAGES.AUTH_TOKEN_REQUIRED,
|
|
2119
|
+
});
|
|
2120
|
+
}
|
|
2121
|
+
if (!this.accountId && !checkout_store.checkoutStore.accountId) {
|
|
2122
|
+
this.emitError({
|
|
2123
|
+
errorCode: ComponentError.ComponentErrorCodes.TOKENIZE_ERROR,
|
|
2124
|
+
message: ERROR_MESSAGES.ACCOUNT_ID_REQUIRED,
|
|
2125
|
+
});
|
|
2126
|
+
}
|
|
2127
|
+
}
|
|
2128
|
+
setDefaultSelectedPaymentMethod() {
|
|
2129
|
+
if (this.selectedPaymentMethod) {
|
|
2130
|
+
return;
|
|
2131
|
+
}
|
|
2132
|
+
if (!this.disableCreditCard) {
|
|
2133
|
+
this.selectedPaymentMethod = index$1.PAYMENT_METHODS.NEW_CARD;
|
|
2134
|
+
checkout_store.checkoutStore.selectedPaymentMethod = { type: index$1.PAYMENT_METHODS.NEW_CARD };
|
|
2135
|
+
}
|
|
2136
|
+
else if (!this.disableBankAccount) {
|
|
2137
|
+
this.selectedPaymentMethod = index$1.PAYMENT_METHODS.NEW_BANK_ACCOUNT;
|
|
2138
|
+
checkout_store.checkoutStore.selectedPaymentMethod = { type: index$1.PAYMENT_METHODS.NEW_BANK_ACCOUNT };
|
|
2139
|
+
}
|
|
2140
|
+
}
|
|
2141
|
+
setComputedHideSubmitButton() {
|
|
2142
|
+
// If hideSubmitButton prop is explicitly set, use that value
|
|
2143
|
+
if (this.hideSubmitButton !== undefined) {
|
|
2144
|
+
this.computedHideSubmitButton = this.hideSubmitButton;
|
|
2145
|
+
return;
|
|
2146
|
+
}
|
|
2147
|
+
// Otherwise, auto-detect if component is slotted within modular-checkout
|
|
2148
|
+
const isWithinModularCheckout = this.isSlottedWithinModularCheckout();
|
|
2149
|
+
this.computedHideSubmitButton = isWithinModularCheckout;
|
|
2150
|
+
}
|
|
2151
|
+
isSlottedWithinModularCheckout() {
|
|
2152
|
+
var _a;
|
|
2153
|
+
let parent = (_a = this.host) === null || _a === void 0 ? void 0 : _a.parentElement;
|
|
2154
|
+
while (parent) {
|
|
2155
|
+
if (parent.tagName === 'JUSTIFI-MODULAR-CHECKOUT') {
|
|
2156
|
+
return true;
|
|
2157
|
+
}
|
|
2158
|
+
parent = parent.parentElement;
|
|
2159
|
+
}
|
|
2160
|
+
return false;
|
|
2161
|
+
}
|
|
2162
|
+
get availablePaymentMethods() {
|
|
2163
|
+
const methods = [];
|
|
2164
|
+
if (!this.disableCreditCard) {
|
|
2165
|
+
methods.push(index$1.PAYMENT_METHODS.NEW_CARD);
|
|
2166
|
+
}
|
|
2167
|
+
if (!this.disableBankAccount) {
|
|
2168
|
+
methods.push(index$1.PAYMENT_METHODS.NEW_BANK_ACCOUNT);
|
|
2169
|
+
}
|
|
2170
|
+
return methods;
|
|
2171
|
+
}
|
|
2172
|
+
areFormsReady() {
|
|
2173
|
+
return !!(this.billingFormRef && this.paymentMethodFormRef);
|
|
2174
|
+
}
|
|
2175
|
+
emitError(errorData) {
|
|
2176
|
+
this.errorEvent.emit(Object.assign(Object.assign({}, errorData), { severity: ComponentError.ComponentErrorSeverity.ERROR }));
|
|
2177
|
+
}
|
|
2178
|
+
createErrorResponse(code, message) {
|
|
2179
|
+
return {
|
|
2180
|
+
error: {
|
|
2181
|
+
code: code,
|
|
2182
|
+
message,
|
|
2183
|
+
decline_code: undefined,
|
|
2184
|
+
},
|
|
2185
|
+
};
|
|
2186
|
+
}
|
|
2187
|
+
async resolvePaymentMethod(insuranceValidation) {
|
|
2188
|
+
if (!this.areFormsReady()) {
|
|
2189
|
+
return this.createErrorResponse('form_not_ready', ERROR_MESSAGES.FORM_NOT_READY);
|
|
2190
|
+
}
|
|
2191
|
+
try {
|
|
2192
|
+
const validation = await this.validate();
|
|
2193
|
+
if (!validation.isValid || !insuranceValidation.isValid) {
|
|
2194
|
+
const errorMessage = Object.values(validation.errors)[0] || ERROR_MESSAGES.VALIDATION_ERROR;
|
|
2195
|
+
return {
|
|
2196
|
+
validationError: true,
|
|
2197
|
+
error: {
|
|
2198
|
+
code: 'validation_error',
|
|
2199
|
+
message: String(errorMessage),
|
|
2200
|
+
decline_code: undefined,
|
|
2201
|
+
},
|
|
2202
|
+
};
|
|
2203
|
+
}
|
|
2204
|
+
const result = await this.performTokenization();
|
|
2205
|
+
return result;
|
|
2206
|
+
}
|
|
2207
|
+
catch (error) {
|
|
2208
|
+
return { error };
|
|
2209
|
+
}
|
|
2210
|
+
}
|
|
2211
|
+
async performTokenization() {
|
|
2212
|
+
var _a, _b;
|
|
2213
|
+
const tokenizeResponse = await this.tokenize();
|
|
2214
|
+
if (tokenizeResponse.error) {
|
|
2215
|
+
return { error: tokenizeResponse.error };
|
|
2216
|
+
}
|
|
2217
|
+
const tokenizeResponseData = tokenizeResponse.data;
|
|
2218
|
+
const result = {
|
|
2219
|
+
token: ((_a = tokenizeResponseData.card) === null || _a === void 0 ? void 0 : _a.token) || ((_b = tokenizeResponseData.bank_account) === null || _b === void 0 ? void 0 : _b.token),
|
|
2220
|
+
data: tokenizeResponseData,
|
|
2221
|
+
};
|
|
2222
|
+
return result;
|
|
2223
|
+
}
|
|
2224
|
+
buildPaymentMethodMetadata(billingFormFieldValues) {
|
|
2225
|
+
return this.shouldSavePaymentMethod
|
|
2226
|
+
? Object.assign(Object.assign({}, billingFormFieldValues), { payment_method_group_id: this.paymentMethodGroupID }) : Object.assign({}, billingFormFieldValues);
|
|
2227
|
+
}
|
|
2228
|
+
get paymentMethodGroupID() {
|
|
2229
|
+
return this.paymentMethodGroupId || checkout_store.checkoutStore.paymentMethodGroupId;
|
|
2230
|
+
}
|
|
2231
|
+
get shouldSavePaymentMethod() {
|
|
2232
|
+
return !!(this.paymentMethodGroupId || checkout_store.checkoutStore.savePaymentMethod);
|
|
2233
|
+
}
|
|
2234
|
+
get shouldHideRadioInput() {
|
|
2235
|
+
return this.disableCreditCard || this.disableBankAccount;
|
|
2236
|
+
}
|
|
2237
|
+
renderPaymentMethodOption(paymentMethodType) {
|
|
2238
|
+
const isSelected = this.selectedPaymentMethod === paymentMethodType && checkout_store.checkoutStore.selectedPaymentMethod.id === undefined;
|
|
2239
|
+
return (index.h("div", { class: "payment-method" }, index.h("radio-list-item", { name: "paymentMethodType", value: paymentMethodType, checked: isSelected, label: PAYMENT_METHOD_TYPE_LABELS[paymentMethodType], hidden: this.shouldHideRadioInput }), isSelected && this.renderSelectedPaymentMethodForm(paymentMethodType)));
|
|
2240
|
+
}
|
|
2241
|
+
renderSelectedPaymentMethodForm(paymentMethodType) {
|
|
2242
|
+
return (index.h("div", { class: "mt-4 pb-4" }, this.renderPaymentMethodForm(paymentMethodType), index.h("div", { class: "mt-4" }, index.h("billing-form", { ref: (el) => {
|
|
2243
|
+
if (el)
|
|
2244
|
+
this.billingFormRef = el;
|
|
2245
|
+
}, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, paymentMethodType: paymentMethodType })), index.h("div", { class: "mt-4" }, index.h("save-new-payment-method", { hidden: !this.paymentMethodGroupID, label: this.savePaymentMethodLabel }))));
|
|
2246
|
+
}
|
|
2247
|
+
renderPaymentMethodForm(paymentMethodType) {
|
|
2248
|
+
return paymentMethodType === index$1.PAYMENT_METHODS.NEW_CARD ? (index.h("card-form", { ref: (el) => {
|
|
2249
|
+
if (el)
|
|
2250
|
+
this.paymentMethodFormRef = el;
|
|
2251
|
+
} })) : (index.h("bank-account-form", { ref: (el) => {
|
|
2252
|
+
if (el)
|
|
2253
|
+
this.paymentMethodFormRef = el;
|
|
2254
|
+
} }));
|
|
2255
|
+
}
|
|
2256
|
+
render() {
|
|
2257
|
+
return (index.h(styledHost.StyledHost, { key: '2d4349f3e5ad632981cdeb14dbe4e483f79379da' }, index.h("form", { key: '754afee2c5229cf016bd8fc0cf81041cf37270a8' }, index.h("fieldset", { key: '01867151a09d384e1258ef7f62fbc88c526706cc' }, index.h("div", { key: '7ba453d4629a0c2ef583daddcb9cf02ac5eee265', class: "row gy-3" }, index.h("div", { key: '4148f2269c738a00f2684d69d4a83a4ab2424f2b', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), index.h("div", { key: 'e67b09357571aadfb3d2712f55954506748b3826', class: "col-12" }, index.h("internal-button", { key: 'c2e805060ff7e9e97144533ffad3b4a02433e792', text: this.submitButtonText, variant: "primary", type: "submit", clickHandler: (e) => this.tokenizePaymentMethod(e), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.computedHideSubmitButton })))))));
|
|
2258
|
+
}
|
|
2259
|
+
get host() { return index.getElement(this); }
|
|
2260
|
+
static get watchers() { return {
|
|
2261
|
+
"disableCreditCard": ["paymentMethodsChanged"],
|
|
2262
|
+
"disableBankAccount": ["paymentMethodsChanged"]
|
|
2263
|
+
}; }
|
|
2264
|
+
};
|
|
2265
|
+
|
|
2266
|
+
exports.justifi_apple_pay = JustifiApplePay;
|
|
2267
|
+
exports.justifi_button = JustifiButton;
|
|
2268
|
+
exports.justifi_checkout_summary = JustifiCheckoutSummary;
|
|
2269
|
+
exports.justifi_google_pay = JustifiGooglePay;
|
|
2270
|
+
exports.justifi_header = JustifiHeader;
|
|
2271
|
+
exports.justifi_modular_checkout = JustifiModularCheckout;
|
|
2272
|
+
exports.justifi_plaid_payment_method = JustifiPlaidPaymentMethod;
|
|
2273
|
+
exports.justifi_radio_list_item = JustifiRadioListItem;
|
|
2274
|
+
exports.justifi_saved_payment_methods = JustifiSavedPaymentMethods;
|
|
2275
|
+
exports.justifi_sezzle_payment_method = JustifiSezzlePaymentMethod;
|
|
2276
|
+
exports.justifi_tokenize_payment_method = JustifiTokenizePaymentMethod;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-p7cvUYAE.js');
|
|
4
|
+
var Analytics = require('./Analytics-DZCXB2Za.js');
|
|
5
|
+
var checkPkgVersion = require('./check-pkg-version-CUhnNGii.js');
|
|
6
|
+
var configState = require('./config-state-BIgGhhe9.js');
|
|
7
|
+
var styledHost = require('./styled-host-DAi5SuFa.js');
|
|
8
|
+
require('./event-types-YOY5TKUN.js');
|
|
9
|
+
require('./package-CJg8qLYd.js');
|
|
10
|
+
require('./Api-Bukk55YZ.js');
|
|
11
|
+
require('./utils-BHi4j5rB.js');
|
|
12
|
+
require('./dinero-BwNN_k7x.js');
|
|
13
|
+
require('./ComponentError-D4OLnOkg.js');
|
|
14
|
+
require('./Plaid-DR9WDZ98.js');
|
|
15
|
+
require('./Dispute-CruQTF6_.js');
|
|
16
|
+
require('./Pagination-Dediz133.js');
|
|
17
|
+
require('./Business-oBifyXkW.js');
|
|
18
|
+
require('./index-W-zoNiyM.js');
|
|
19
|
+
|
|
20
|
+
const JustifiBankAccountBillingFormSimple = class {
|
|
21
|
+
constructor(hostRef) {
|
|
22
|
+
index.registerInstance(this, hostRef);
|
|
23
|
+
}
|
|
24
|
+
async componentWillLoad() {
|
|
25
|
+
await configState.waitForConfig();
|
|
26
|
+
checkPkgVersion.checkPkgVersion();
|
|
27
|
+
this.analytics = new Analytics.JustifiAnalytics(this);
|
|
28
|
+
}
|
|
29
|
+
disconnectedCallback() {
|
|
30
|
+
var _a;
|
|
31
|
+
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
32
|
+
}
|
|
33
|
+
async getValues() {
|
|
34
|
+
var _a, _b;
|
|
35
|
+
return (_b = (_a = this.bankAccountBillingFormSimpleRef) === null || _a === void 0 ? void 0 : _a.getValues()) !== null && _b !== void 0 ? _b : {};
|
|
36
|
+
}
|
|
37
|
+
async validate() {
|
|
38
|
+
var _a, _b;
|
|
39
|
+
return (_b = (_a = this.bankAccountBillingFormSimpleRef) === null || _a === void 0 ? void 0 : _a.validate()) !== null && _b !== void 0 ? _b : { isValid: false, errors: {} };
|
|
40
|
+
}
|
|
41
|
+
render() {
|
|
42
|
+
return (index.h(styledHost.StyledHost, { key: 'a172aac4c90a5056ab32c1d146e3420b6307b53a' }, index.h("bank-account-billing-form-simple", { key: 'c3a15c1a55f446e1a905382ee70f97e57a0136ac', legend: this.legend, ref: (el) => (this.bankAccountBillingFormSimpleRef = el) })));
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
exports.justifi_bank_account_billing_form_simple = JustifiBankAccountBillingFormSimple;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-p7cvUYAE.js');
|
|
4
|
+
var checkPkgVersion = require('./check-pkg-version-CUhnNGii.js');
|
|
5
|
+
var Analytics = require('./Analytics-DZCXB2Za.js');
|
|
6
|
+
var configState = require('./config-state-BIgGhhe9.js');
|
|
7
|
+
var styledHost = require('./styled-host-DAi5SuFa.js');
|
|
8
|
+
require('./event-types-YOY5TKUN.js');
|
|
9
|
+
require('./package-CJg8qLYd.js');
|
|
10
|
+
require('./Api-Bukk55YZ.js');
|
|
11
|
+
require('./utils-BHi4j5rB.js');
|
|
12
|
+
require('./dinero-BwNN_k7x.js');
|
|
13
|
+
require('./ComponentError-D4OLnOkg.js');
|
|
14
|
+
require('./Plaid-DR9WDZ98.js');
|
|
15
|
+
require('./Dispute-CruQTF6_.js');
|
|
16
|
+
require('./Pagination-Dediz133.js');
|
|
17
|
+
require('./Business-oBifyXkW.js');
|
|
18
|
+
require('./index-W-zoNiyM.js');
|
|
19
|
+
|
|
20
|
+
const JustifiBankAccountForm = class {
|
|
21
|
+
constructor(hostRef) {
|
|
22
|
+
index.registerInstance(this, hostRef);
|
|
23
|
+
}
|
|
24
|
+
async componentWillLoad() {
|
|
25
|
+
await configState.waitForConfig();
|
|
26
|
+
checkPkgVersion.checkPkgVersion();
|
|
27
|
+
this.analytics = new Analytics.JustifiAnalytics(this);
|
|
28
|
+
}
|
|
29
|
+
disconnectedCallback() {
|
|
30
|
+
var _a;
|
|
31
|
+
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
32
|
+
}
|
|
33
|
+
async validate() {
|
|
34
|
+
return this.bankAccountFormElement.validate();
|
|
35
|
+
}
|
|
36
|
+
async tokenize({ clientId, paymentMethodMetadata, account }) {
|
|
37
|
+
return this.bankAccountFormElement.tokenize({ clientId, paymentMethodMetadata, account });
|
|
38
|
+
}
|
|
39
|
+
render() {
|
|
40
|
+
return (index.h(styledHost.StyledHost, { key: '5f3b8fbc0592dce5def5def74cbc724338acf93c' }, index.h("bank-account-form", { key: '3c8e92e35ea8faf35b08df04190413770211d42f', ref: (el) => (this.bankAccountFormElement = el) })));
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
exports.justifi_bank_account_form = JustifiBankAccountForm;
|