@justifi/webcomponents 5.7.6-rc-21 → 5.7.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{Api-CPuq_15r.js → Api-DLhABIj9.js} +2 -2
- package/dist/cjs/Checkout-BbhldGDh.js +103 -0
- package/dist/cjs/{ComponentError-D4OLnOkg.js → ComponentError-C4MdBBMe.js} +0 -10
- package/dist/cjs/Payment-D6XuQ4Ve.js +151 -0
- package/dist/cjs/{Refund-CqWNG8sx.js → Refund-1bG6RRPO.js} +1 -245
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -4
- package/dist/cjs/{badge-CMmPvqtE.js → badge-CcJ9H85-.js} +1 -1
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +14 -13
- package/dist/cjs/bank-account-form_9.cjs.entry.js +544 -0
- package/dist/cjs/business-details-core.cjs.entry.js +4 -4
- package/dist/cjs/{business.service-C3BdUPlm.js → business.service-CaCyLLFW.js} +5 -3
- package/dist/cjs/{button-CfVQSysQ.js → button-DsHDMHaa.js} +1 -1
- package/dist/cjs/{check-pkg-version-BzCIWkkG.js → check-pkg-version-D6Kztnv7.js} +6 -4
- package/dist/cjs/{checkout.service-B0ZmvWwI.js → checkout.service-DgD37tJv.js} +5 -3
- package/dist/cjs/checkouts-list-core.cjs.entry.js +14 -13
- package/dist/cjs/{payments-list-params-state-BNbT1fuJ.js → checkouts-list-params-state-Cewmin_p.js} +1 -1
- package/dist/cjs/{checkouts-table-UN5gPpQ_.js → checkouts-table-Bzpqcsu0.js} +3 -3
- package/dist/cjs/{config-state-5xZf-jax.js → config-state-BBOZIS8x.js} +1 -1
- package/dist/cjs/{custom-popper_2.cjs.entry.js → custom-popper.cjs.entry.js} +3 -23
- package/dist/cjs/{dispute.service-DsPEAcDn.js → dispute.service-C0w_4Agq.js} +5 -3
- package/dist/cjs/form-alert_5.cjs.entry.js +5 -5
- package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/form-control-date.cjs.entry.js +4 -4
- package/dist/cjs/{form-control-error-text-HM0zQerh.js → form-control-error-text-B-P5UDhm.js} +1 -1
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
- package/dist/cjs/{form-control-help-text-5KIUw1IP.js → form-control-help-text-JoZjhb9m.js} +1 -1
- package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +5 -5
- package/dist/cjs/form-control-monetary.cjs.entry.js +6 -7
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +5 -5
- package/dist/cjs/form-control-number.cjs.entry.js +5 -5
- package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
- package/dist/cjs/{form-control-select_2.cjs.entry.js → form-control-select_3.cjs.entry.js} +25 -6
- package/dist/cjs/{get-business-o5jPq_ME.js → get-business-BJrtsomz.js} +2 -2
- package/dist/cjs/{get-payment-details-DtCXaIMx.js → get-payment-details-BbfnopoD.js} +8 -6
- package/dist/cjs/{get-payout-csv-DE_D9y08.js → get-payout-csv-CXEQkjDm.js} +2 -2
- package/dist/cjs/{get-subaccounts-CwCH5rC8.js → get-subaccounts-CpCJjnYt.js} +8 -6
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +5 -6
- package/dist/cjs/{header-1-DD41iNlG.js → header-1-DRA3f4Jh.js} +1 -1
- package/dist/cjs/{header-3-D9Wa0IfT.js → header-3-sOdOpfx3.js} +1 -1
- package/dist/cjs/iframe-input-styles-state-DH-5a2Mg.js +26 -0
- package/dist/cjs/{hidden-input_2.cjs.entry.js → iframe-input_4.cjs.entry.js} +154 -112
- package/dist/cjs/{index-Yd9aLenr.js → index-B32W0A3m.js} +1 -1
- package/dist/cjs/{index-dm_GlYlb.js → index-C9hBD-32.js} +2 -2
- package/dist/cjs/{insurance-state-Cyva9u6S.js → insurance-state-e44s1lUQ.js} +2 -20
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +10 -9
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +22 -21
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +9 -9
- package/dist/cjs/justifi-business-details.cjs.entry.js +16 -15
- package/dist/cjs/justifi-business-form.cjs.entry.js +18 -17
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +141 -0
- package/dist/cjs/justifi-checkout.cjs.entry.js +99 -91
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +17 -16
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +19 -18
- package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
- package/dist/cjs/justifi-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +14 -13
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +20 -19
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +13 -12
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +18 -17
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +17 -16
- package/dist/cjs/justifi-payment-details.cjs.entry.js +16 -15
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +5 -5
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +15 -14
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +17 -16
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +7 -8
- package/dist/cjs/justifi-payments-list.cjs.entry.js +19 -18
- package/dist/cjs/justifi-payout-details.cjs.entry.js +15 -14
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +17 -16
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +7 -8
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +20 -19
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +17 -16
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +124 -0
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +21 -118
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +12 -11
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +16 -15
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +11 -10
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +18 -17
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +80 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{package-B9ks67gS.js → package-C0-LCfay.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +15 -16
- package/dist/cjs/{payment-provisioning-actions-CZVlnRA0.js → payment-provisioning-actions-BkWSDJQQ.js} +2 -2
- package/dist/cjs/{payment.service-1H0VC3LV.js → payment.service-CtSdIJoy.js} +5 -3
- package/dist/cjs/payments-list-core.cjs.entry.js +15 -14
- package/dist/cjs/{payouts-list-params-state-BNbT1fuJ.js → payments-list-params-state-Cewmin_p.js} +1 -1
- package/dist/cjs/{payments-status-PB63klt3.js → payments-status-DXRh_ekP.js} +2 -2
- package/dist/cjs/{payments-table-quF0NnsS.js → payments-table-CUGE6F-R.js} +3 -3
- package/dist/cjs/payout-details-core.cjs.entry.js +11 -12
- package/dist/cjs/{payout.service-CIZFU-hV.js → payout.service-7DP6F8x7.js} +5 -3
- package/dist/cjs/payouts-list-core.cjs.entry.js +15 -14
- package/dist/cjs/{terminal-orders-list-params-state-BNbT1fuJ.js → payouts-list-params-state-Cewmin_p.js} +1 -1
- package/dist/cjs/{payouts-status-Bk1JFzbP.js → payouts-status-DxTQZv3i.js} +2 -2
- package/dist/cjs/{payouts-table-D_CCTR_k.js → payouts-table-Ca9HqjV7.js} +3 -3
- package/dist/cjs/{skeleton-x-GSs3xk.js → skeleton-C7DQRD6r.js} +1 -1
- package/dist/cjs/{spinner-Kb1BFvnL.js → spinner-jmeA44Ee.js} +1 -1
- package/dist/cjs/{styled-host-CqQYxX-w.js → styled-host-BfVJlAsJ.js} +1 -1
- package/dist/cjs/{table-BJVUhh3s.js → table-Ccdrt0v_.js} +2 -2
- package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +14 -13
- package/dist/cjs/{checkouts-list-params-state-BNbT1fuJ.js → terminal-orders-list-params-state-Cewmin_p.js} +1 -1
- package/dist/cjs/{terminal-orders-table-0O5jtzYj.js → terminal-orders-table-DPe_2FNB.js} +8 -6
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
- package/dist/cjs/{terminal.service-DUlyMTrX.js → terminal.service-BR9g1yaB.js} +5 -3
- package/dist/cjs/terminals-list-core.cjs.entry.js +14 -13
- package/dist/cjs/terminals-list-params-state-Cewmin_p.js +22 -0
- package/dist/cjs/{terminals-table-C2BNRUS5.js → terminals-table-DDoJIYZu.js} +3 -3
- package/dist/cjs/{utils-Df-pajL7.js → utils-Bzyj4qWe.js} +1 -1
- package/dist/cjs/{utils-BaGF9XIe.js → utils-Dewr6SlQ.js} +1667 -3
- package/dist/cjs/{utils-DvUQQLmR.js → utils-l0veqT9y.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +3 -3
- package/dist/collection/actions/checkout/checkout-actions.js +1 -2
- package/dist/collection/api/Checkout.js +3 -1
- package/dist/collection/api/ComponentError.js +0 -10
- package/dist/collection/collection-manifest.json +10 -16
- package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +1 -1
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +1 -1
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +1 -1
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +1 -1
- package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.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/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 +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +6 -3
- package/dist/collection/components/{modular-checkout/sub-components → checkout/billing-form}/bank-account-billing-form-simple.js +5 -7
- package/dist/collection/components/{modular-checkout/sub-components → checkout/billing-form}/billing-form-full.js +8 -12
- package/dist/collection/components/checkout/billing-form/billing-form-schema.js +3 -3
- package/dist/collection/components/{modular-checkout/sub-components → checkout/billing-form}/card-billing-form-simple.js +5 -7
- package/dist/collection/components/checkout/card-form/card-form.js +6 -3
- package/dist/collection/components/checkout/checkout-core.js +454 -0
- package/dist/collection/components/checkout/checkout.js +51 -156
- package/dist/collection/components/checkout/new-payment-method.js +378 -0
- package/dist/collection/components/checkout/payment-method-option-utils.js +1 -0
- package/dist/collection/components/checkout/payment-method-options.js +440 -0
- package/dist/collection/components/checkout/save-new-payment-method.js +5 -9
- package/dist/collection/components/checkout/saved-payment-method.js +1 -1
- package/dist/collection/components/checkout/sezzle-payment-method.js +240 -0
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management.js +1 -1
- package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
- 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/insurance/insurance-state.js +1 -18
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +447 -0
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +12 -114
- package/dist/collection/components/order-terminals/order-terminals.js +1 -1
- package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
- package/dist/collection/components/payment-details/payment-details-core.js +8 -8
- package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
- package/dist/collection/components/payments-list/payments-list-core.js +1 -1
- package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
- package/dist/collection/components/payments-list/payments-list.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 +1 -1
- package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
- package/dist/collection/components/payouts-list/payouts-list.js +1 -1
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
- package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list.js +1 -1
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +83 -293
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
- package/dist/collection/ui-components/form/form-control-date.js +2 -2
- package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
- package/dist/collection/ui-components/form/form-control-file.js +2 -2
- package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
- package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
- package/dist/collection/ui-components/form/form-control-number.js +2 -2
- package/dist/collection/ui-components/form/form-control-radio.js +2 -2
- package/dist/collection/ui-components/form/form-control-select.js +2 -2
- package/dist/collection/ui-components/form/form-control-text.js +2 -2
- package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
- package/dist/collection/ui-components/form/hidden-input.js +1 -1
- package/dist/collection/ui-components/form/iframe-input.js +5 -10
- package/dist/collection/ui-components/index.js +0 -1
- package/dist/collection/utils/utils.js +5 -0
- package/dist/docs.json +2822 -2308
- package/dist/esm/{Api-N_veT2p6.js → Api-BJv2_XdA.js} +2 -2
- package/dist/esm/Checkout-CIUkm9aQ.js +101 -0
- package/dist/esm/{ComponentError-Cjcsf8ku.js → ComponentError-SdntD1xf.js} +1 -11
- package/dist/esm/{Dispute-BH0Xfn-F.js → Dispute-7MWRbTXI.js} +1 -1
- package/dist/esm/Payment-DrCqUoz-.js +149 -0
- package/dist/esm/{Refund-Di6J0oN2.js → Refund-Dwnnpqim.js} +2 -244
- package/dist/esm/additional-questions-details_5.entry.js +4 -5
- package/dist/esm/{badge-D_mzXSCQ.js → badge-XXatxWS0.js} +2 -2
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +16 -15
- package/dist/esm/bank-account-form_9.entry.js +534 -0
- package/dist/esm/business-details-core.entry.js +5 -5
- package/dist/esm/{business.service-Bdvhdc_d.js → business.service-Di9jP2_p.js} +6 -4
- package/dist/esm/{button-CeR8qVS3.js → button-C-ZZ9yD1.js} +2 -2
- package/dist/esm/{check-pkg-version-D3fhoIFS.js → check-pkg-version-8KHO3ihW.js} +7 -5
- package/dist/esm/{checkout.service-XgGFa7H8.js → checkout.service-l-H_OIZa.js} +6 -4
- package/dist/esm/checkouts-list-core.entry.js +16 -15
- package/dist/esm/{checkouts-list-params-state-SMXQIZTt.js → checkouts-list-params-state-D8tzsGR_.js} +1 -1
- package/dist/esm/{checkouts-table-CFZYoYjn.js → checkouts-table-DmwocPX2.js} +4 -4
- package/dist/esm/{config-state-BrllxiM0.js → config-state-DZeVYerv.js} +1 -1
- package/dist/esm/{custom-popper_2.entry.js → custom-popper.entry.js} +4 -23
- package/dist/esm/{dispute.service-CKPcmwhH.js → dispute.service-CaEbHFjw.js} +6 -4
- package/dist/esm/form-alert_5.entry.js +6 -6
- package/dist/esm/form-control-checkbox.entry.js +6 -6
- package/dist/esm/form-control-date.entry.js +5 -5
- package/dist/esm/{form-control-error-text-D3ZwkOv-.js → form-control-error-text-eKr_QuRZ.js} +2 -2
- package/dist/esm/form-control-file-v2_2.entry.js +6 -6
- package/dist/esm/{form-control-help-text-C39ZW65w.js → form-control-help-text-Dw2vjMQ5.js} +2 -2
- package/dist/esm/form-control-help-text.entry.js +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +6 -6
- package/dist/esm/form-control-monetary.entry.js +7 -8
- package/dist/esm/form-control-number-masked_2.entry.js +6 -6
- package/dist/esm/form-control-number.entry.js +6 -6
- package/dist/esm/form-control-radio.entry.js +4 -4
- package/dist/esm/{form-control-select_2.entry.js → form-control-select_3.entry.js} +26 -8
- package/dist/esm/{get-business-Crb6P-iI.js → get-business-GEPTefIj.js} +2 -2
- package/dist/esm/{get-payment-details-Dt-dr16k.js → get-payment-details-BOpjKcRB.js} +8 -6
- package/dist/esm/{get-payout-csv-D-Lnooki.js → get-payout-csv-D7IYYqVL.js} +2 -2
- package/dist/esm/{get-subaccounts-BsoVLANw.js → get-subaccounts-0Ri4RB5r.js} +9 -7
- package/dist/esm/gross-payment-chart-core.entry.js +6 -7
- package/dist/esm/{header-1-E-hEi3wF.js → header-1-BnwrlkS-.js} +2 -2
- package/dist/esm/{header-3-Dm7M85kz.js → header-3-IOnOCyak.js} +2 -2
- package/dist/esm/iframe-input-styles-state-Cqb62KAu.js +23 -0
- package/dist/esm/{hidden-input_2.entry.js → iframe-input_4.entry.js} +146 -106
- package/dist/esm/{index-B9me4yN2.js → index-B_KxSZIF.js} +1 -1
- package/dist/esm/{index-kpoIU4v_.js → index-Bn7inNWG.js} +2 -2
- package/dist/esm/insurance-state-DRFl0tWj.js +28 -0
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +12 -11
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +24 -23
- package/dist/esm/justifi-additional-statement_8.entry.js +10 -10
- package/dist/esm/justifi-business-details.entry.js +17 -16
- package/dist/esm/justifi-business-form.entry.js +20 -19
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +3 -3
- package/dist/esm/justifi-checkout-core.entry.js +139 -0
- package/dist/esm/justifi-checkout.entry.js +99 -91
- package/dist/esm/justifi-checkouts-list-filters.entry.js +13 -12
- package/dist/esm/justifi-checkouts-list.entry.js +20 -19
- package/dist/esm/justifi-config-provider.entry.js +3 -3
- package/dist/esm/justifi-details.entry.js +3 -3
- package/dist/esm/justifi-dispute-management-core.entry.js +3 -3
- package/dist/esm/justifi-dispute-management.entry.js +15 -14
- package/dist/esm/justifi-dispute-notification_3.entry.js +21 -20
- package/dist/esm/justifi-gross-payment-chart.entry.js +15 -14
- package/dist/esm/justifi-order-terminals.entry.js +20 -19
- package/dist/esm/justifi-owner-form_3.entry.js +18 -17
- package/dist/esm/justifi-payment-details.entry.js +17 -16
- package/dist/esm/justifi-payment-provisioning-core.entry.js +6 -6
- package/dist/esm/justifi-payment-provisioning.entry.js +16 -15
- package/dist/esm/justifi-payment-transactions-list.entry.js +19 -18
- package/dist/esm/justifi-payments-list-filters.entry.js +8 -9
- package/dist/esm/justifi-payments-list.entry.js +20 -19
- package/dist/esm/justifi-payout-details.entry.js +17 -16
- package/dist/esm/justifi-payout-transactions-list.entry.js +19 -18
- package/dist/esm/justifi-payouts-list-filters.entry.js +8 -9
- package/dist/esm/justifi-payouts-list.entry.js +22 -21
- package/dist/esm/justifi-refund-payment.entry.js +19 -18
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +122 -0
- package/dist/esm/justifi-season-interruption-insurance.entry.js +22 -119
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +14 -13
- package/dist/esm/justifi-terminal-orders-list.entry.js +18 -17
- package/dist/esm/justifi-terminals-list-filters.entry.js +13 -12
- package/dist/esm/justifi-terminals-list.entry.js +20 -19
- package/dist/esm/justifi-tokenize-payment-method.entry.js +78 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{package-wutYt_7D.js → package-BOCuVjGs.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +2 -2
- package/dist/esm/{parts-CfF8KKwx.js → parts-CVGBVdVC.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +16 -17
- package/dist/esm/{payment-provisioning-actions-ONP8lDnV.js → payment-provisioning-actions-BIfyW239.js} +2 -2
- package/dist/esm/{payment.service-BWO84KlP.js → payment.service-Dz5mhgIm.js} +6 -4
- package/dist/esm/payments-list-core.entry.js +17 -16
- package/dist/esm/{payments-list-params-state-SMXQIZTt.js → payments-list-params-state-D8tzsGR_.js} +1 -1
- package/dist/esm/{payments-status-XoZrlbiZ.js → payments-status-CN8wEqKC.js} +2 -2
- package/dist/esm/{payments-table-Dh4P9mTb.js → payments-table-SmMgUr5X.js} +4 -4
- package/dist/esm/payout-details-core.entry.js +12 -13
- package/dist/esm/{payout.service-Cld6TS5W.js → payout.service-DUnRbCmv.js} +6 -4
- package/dist/esm/payouts-list-core.entry.js +17 -16
- package/dist/esm/{payouts-list-params-state-SMXQIZTt.js → payouts-list-params-state-D8tzsGR_.js} +1 -1
- package/dist/esm/{payouts-status-Qm2jZG1-.js → payouts-status-BzTh9X2W.js} +2 -2
- package/dist/esm/{payouts-table-DMVAZp-r.js → payouts-table-SB6q0e7V.js} +4 -4
- package/dist/esm/{skeleton-DrHwsgs_.js → skeleton-DK6mW457.js} +2 -2
- package/dist/esm/{spinner-XBq6mVJW.js → spinner-CWoD0q_S.js} +2 -2
- package/dist/esm/{styled-host-B_XBaM7z.js → styled-host-CTAGIN84.js} +1 -1
- package/dist/esm/{table-qqt2Ew5y.js → table-KCj3mM1K.js} +3 -3
- package/dist/esm/table-filters-menu.entry.js +4 -4
- package/dist/esm/terminal-orders-list-core.entry.js +16 -15
- package/dist/esm/{terminal-orders-list-params-state-SMXQIZTt.js → terminal-orders-list-params-state-D8tzsGR_.js} +1 -1
- package/dist/esm/{terminal-orders-table-BN4Co4T8.js → terminal-orders-table-CPsSDEWs.js} +10 -8
- package/dist/esm/terminal-quantity-selector.entry.js +3 -3
- package/dist/esm/{terminal.service-DmYCUQcA.js → terminal.service-Vhk3qPk2.js} +6 -4
- package/dist/esm/terminals-list-core.entry.js +16 -15
- package/dist/esm/terminals-list-params-state-D8tzsGR_.js +16 -0
- package/dist/esm/{terminals-table-C8LczeG_.js → terminals-table-CAavYaG5.js} +4 -4
- package/dist/esm/{utils-lb8p1Exq.js → utils-CKEiU2Q5.js} +1665 -3
- package/dist/esm/{utils-BeQLScSm.js → utils-Dccsn9BY.js} +1 -1
- package/dist/esm/{utils-kWaZhFAd.js → utils-_kzStVq_.js} +2 -2
- package/dist/esm/webcomponents.js +4 -4
- package/dist/module/Checkout.js +121 -0
- package/dist/module/Payment.js +204 -0
- package/dist/module/Refund.js +1 -328
- package/dist/module/additional-questions.js +1 -1
- package/dist/module/additional-statement.js +2 -2
- package/dist/module/badge.js +1 -1
- package/dist/module/bank-account-billing-form-simple.js +4 -9
- package/dist/module/bank-account-document-inputs.js +5 -3
- package/dist/module/bank-account-form-inputs2.js +1 -1
- package/dist/module/bank-account-form.js +1 -83
- package/dist/module/{bank-account.js → bank-account-form2.js} +11 -26
- package/dist/module/billing-form-full.js +11 -14
- package/dist/module/billing-form-schema.js +3 -3
- package/dist/module/business-additional-questions-form-step.js +2 -2
- package/dist/module/business-bank-account-form-step-core.js +4 -2
- package/dist/module/business-bank-account-form-step.js +5 -3
- package/dist/module/business-core-info-form-step.js +2 -2
- package/dist/module/business-core-info.js +1 -1
- package/dist/module/business-details-core2.js +0 -1
- package/dist/module/business-documents-on-file2.js +1 -2
- package/dist/module/business-owners-form-step-core.js +0 -1
- package/dist/module/business-owners-form-step.js +2 -2
- package/dist/module/business-representative-form-inputs.js +1 -1
- package/dist/module/business-representative-form-step.js +2 -2
- package/dist/module/business-representative.js +1 -1
- package/dist/module/business-terms-conditions-form-step.js +4 -2
- package/dist/module/business.service.js +3 -1
- package/dist/module/button.js +1 -1
- package/dist/module/cancellation-policy.js +2 -2
- package/dist/module/card-billing-form-simple.js +4 -9
- package/dist/module/card-form.js +1 -91
- package/dist/module/card-form2.js +13 -28
- package/dist/module/{Analytics.js → check-pkg-version.js} +24 -22
- package/dist/module/checkout-core.js +292 -0
- package/dist/module/checkout.service.js +3 -1
- package/dist/module/checkouts-list-core2.js +6 -6
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +2 -2
- package/dist/module/dispute-management-core.js +2 -2
- package/dist/module/dispute-notification.js +2 -3
- package/dist/module/dispute-response-actions.js +3 -1
- package/dist/module/dispute-response-core.js +2 -2
- package/dist/module/dispute-response.js +3 -4
- package/dist/module/duplicate-charge.js +2 -2
- package/dist/module/electronic-evidence.js +2 -2
- package/dist/module/form-alert2.js +1 -1
- package/dist/module/form-control-checkbox2.js +3 -4
- package/dist/module/form-control-date2.js +2 -3
- package/dist/module/form-control-file-v22.js +1 -1
- package/dist/module/form-control-file2.js +2 -3
- package/dist/module/form-control-monetary-provisioning2.js +3 -4
- package/dist/module/form-control-monetary2.js +3 -4
- package/dist/module/form-control-number-masked2.js +2 -3
- package/dist/module/form-control-number.js +3 -4
- package/dist/module/form-control-radio2.js +3 -3
- package/dist/module/form-control-select2.js +2 -3
- package/dist/module/form-control-text2.js +2 -3
- package/dist/module/form-control-textarea2.js +3 -3
- package/dist/module/get-business.js +1 -1
- package/dist/module/get-payment-details.js +4 -2
- package/dist/module/get-payout-csv.js +1 -1
- package/dist/module/get-subaccounts.js +4 -2
- package/dist/module/gross-payment-chart-core2.js +2 -2
- package/dist/module/hidden-input2.js +2 -2
- package/dist/module/identity-address-form.js +1 -1
- package/dist/module/iframe-input2.js +6 -6
- package/dist/module/insurance-state.js +7 -18
- package/dist/module/justifi-business-details.js +2 -2
- package/dist/module/justifi-business-form.js +5 -4
- package/dist/module/{justifi-header.d.ts → justifi-checkout-core.d.ts} +4 -4
- package/dist/module/justifi-checkout-core.js +6 -0
- package/dist/module/justifi-checkout.js +137 -157
- package/dist/module/justifi-checkouts-list-filters.js +5 -4
- package/dist/module/justifi-checkouts-list.js +6 -5
- package/dist/module/justifi-dispute-management.js +4 -3
- package/dist/module/justifi-gross-payment-chart.js +4 -2
- package/dist/module/justifi-new-payment-method.d.ts +11 -0
- package/dist/module/justifi-new-payment-method.js +6 -0
- package/dist/module/justifi-order-terminals.js +7 -7
- package/dist/module/justifi-payment-details.js +2 -2
- package/dist/module/justifi-payment-method-options.d.ts +11 -0
- package/dist/module/justifi-payment-method-options.js +6 -0
- package/dist/module/justifi-payment-provisioning.js +5 -3
- package/dist/module/justifi-payment-transactions-list.js +7 -7
- package/dist/module/justifi-payments-list-filters.js +3 -4
- package/dist/module/justifi-payments-list.js +6 -5
- package/dist/module/justifi-payout-details.js +5 -3
- package/dist/module/justifi-payout-transactions-list.js +7 -7
- package/dist/module/justifi-payouts-list-filters.js +3 -4
- package/dist/module/justifi-payouts-list.js +6 -5
- package/dist/module/justifi-refund-payment.js +4 -3
- package/dist/module/justifi-saved-payment-method.js +1 -57
- package/dist/module/justifi-season-interruption-insurance-core.d.ts +11 -0
- package/dist/module/justifi-season-interruption-insurance-core.js +6 -0
- package/dist/module/justifi-season-interruption-insurance.js +24 -120
- package/dist/module/justifi-terminal-orders-list-filters.js +6 -5
- package/dist/module/justifi-terminal-orders-list.js +6 -5
- package/dist/module/justifi-terminals-list-filters.js +5 -4
- package/dist/module/justifi-terminals-list.js +6 -5
- package/dist/module/justifi-tokenize-payment-method.js +219 -1
- package/dist/module/legal-address-form-step.js +2 -2
- package/dist/module/legal-address-form.js +1 -1
- package/dist/module/new-payment-method.js +222 -0
- package/dist/module/owner-form-core2.js +2 -3
- package/dist/module/owner-form-inputs2.js +1 -1
- package/dist/module/owner-form.js +1 -1
- package/dist/module/package.js +3 -3
- package/dist/module/pagination-menu2.js +1 -1
- package/dist/module/parts.js +1 -1
- package/dist/module/payment-details-core2.js +9 -10
- package/dist/module/payment-method-options.js +237 -0
- package/dist/module/payment-provisioning-actions.js +1 -1
- package/dist/module/payment-provisioning-core.js +2 -3
- package/dist/module/payment-provisioning-form-buttons.js +1 -2
- package/dist/module/payment-provisioning-form-steps.js +1 -1
- package/dist/module/payment-provisioning-loading.js +0 -1
- package/dist/module/payment.service.js +3 -1
- package/dist/module/payments-list-core2.js +6 -6
- package/dist/module/payout-details-core2.js +4 -5
- package/dist/module/payout.service.js +3 -1
- package/dist/module/payouts-list-core2.js +6 -6
- package/dist/module/product-or-service.js +2 -2
- package/dist/module/refund-policy.js +2 -2
- package/dist/module/save-new-payment-method.js +6 -13
- package/dist/module/saved-payment-method.js +79 -0
- package/dist/module/season-interruption-insurance-core.js +168 -0
- package/dist/module/sezzle-payment-method.js +18 -25
- package/dist/module/shipping-details.js +2 -2
- package/dist/module/spinner.js +1 -1
- package/dist/module/table-filters-menu2.js +1 -1
- package/dist/module/table.js +1 -1
- package/dist/module/terminal-orders-list-core2.js +6 -6
- package/dist/module/terminal-quantity-selector2.js +2 -2
- package/dist/module/terminal.service.js +3 -1
- package/dist/module/terminals-list-core2.js +6 -6
- package/dist/module/utils2.js +1665 -3
- package/dist/module/utils4.js +1 -1
- package/dist/types/api/Checkout.d.ts +13 -15
- package/dist/types/api/ComponentError.d.ts +1 -10
- package/dist/types/components/checkout/bank-account-form/bank-account-form.d.ts +1 -0
- package/dist/types/components/{modular-checkout/sub-components → checkout/billing-form}/bank-account-billing-form-simple.d.ts +1 -1
- package/dist/types/components/{modular-checkout/sub-components → checkout/billing-form}/billing-form-full.d.ts +2 -1
- package/dist/types/components/checkout/billing-form/billing-form-schema.d.ts +4 -4
- package/dist/types/components/{modular-checkout/sub-components → checkout/billing-form}/card-billing-form-simple.d.ts +1 -1
- package/dist/types/components/checkout/card-form/card-form.d.ts +1 -0
- package/dist/types/components/checkout/checkout-core.d.ts +49 -0
- package/dist/types/components/checkout/checkout.d.ts +11 -27
- package/dist/types/components/checkout/new-payment-method.d.ts +31 -0
- package/dist/types/components/checkout/payment-method-options.d.ts +32 -0
- package/dist/types/components/checkout/save-new-payment-method.d.ts +1 -1
- package/dist/types/components/{modular-checkout/sub-components → checkout}/sezzle-payment-method.d.ts +9 -3
- package/dist/types/components/insurance/insurance-state.d.ts +1 -2
- package/dist/types/components/insurance/season-interruption/season-interruption-insurance-core.d.ts +32 -0
- package/dist/types/components/insurance/season-interruption/season-interruption-insurance.d.ts +3 -9
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +15 -42
- package/dist/types/components.d.ts +219 -303
- package/dist/types/ui-components/form/iframe-input.d.ts +1 -2
- package/dist/types/ui-components/index.d.ts +0 -1
- package/dist/types/utils/utils.d.ts +1 -0
- package/dist/webcomponents/p-08e1bf28.entry.js +1 -0
- package/dist/webcomponents/p-09cb06ed.entry.js +1 -0
- package/dist/webcomponents/p-0adbbb23.entry.js +1 -0
- package/dist/webcomponents/p-0b067d3c.entry.js +1 -0
- package/dist/webcomponents/p-0bfd309e.entry.js +1 -0
- package/dist/webcomponents/p-0f005fdd.entry.js +1 -0
- package/dist/webcomponents/p-0nMw2Aul.js +1 -0
- package/dist/webcomponents/p-14dc17fd.entry.js +1 -0
- package/dist/webcomponents/p-266f1ff3.entry.js +1 -0
- package/dist/webcomponents/p-35387685.entry.js +1 -0
- package/dist/webcomponents/p-3946adfa.entry.js +1 -0
- package/dist/webcomponents/p-3c44b724.entry.js +1 -0
- package/dist/webcomponents/p-3e3b5cdb.entry.js +1 -0
- package/dist/webcomponents/p-41876098.entry.js +1 -0
- package/dist/webcomponents/p-45edf188.entry.js +1 -0
- package/dist/webcomponents/p-4786f2d0.entry.js +1 -0
- package/dist/webcomponents/p-4c1c55bb.entry.js +1 -0
- package/dist/webcomponents/p-4f358b63.entry.js +1 -0
- package/dist/webcomponents/p-5375df08.entry.js +1 -0
- package/dist/webcomponents/p-575b972d.entry.js +1 -0
- package/dist/webcomponents/p-580aa2e3.entry.js +1 -0
- package/dist/webcomponents/p-5b857a1c.entry.js +1 -0
- package/dist/webcomponents/p-5c9d1c35.entry.js +1 -0
- package/dist/webcomponents/p-690514f2.entry.js +1 -0
- package/dist/webcomponents/p-6a853571.entry.js +1 -0
- package/dist/webcomponents/p-724e4e6c.entry.js +1 -0
- package/dist/webcomponents/p-756a7021.entry.js +1 -0
- package/dist/webcomponents/{p-BH0Xfn-F.js → p-7MWRbTXI.js} +1 -1
- package/dist/webcomponents/{p-28c7bef7.entry.js → p-7a0661a2.entry.js} +4 -4
- package/dist/webcomponents/{p-a8205044.entry.js → p-80b6c011.entry.js} +1 -1
- package/dist/webcomponents/p-89431ee2.entry.js +1 -0
- package/dist/webcomponents/p-8f5c1ae6.entry.js +1 -0
- package/dist/webcomponents/{p-b0bfa20f.entry.js → p-96247d70.entry.js} +1 -1
- package/dist/webcomponents/p-989d56de.entry.js +1 -0
- package/dist/webcomponents/p-99f7a36d.entry.js +1 -0
- package/dist/webcomponents/p-BCgpQGhw.js +1 -0
- package/dist/webcomponents/p-BOCuVjGs.js +1 -0
- package/dist/webcomponents/p-BQ2TIFoY.js +1 -0
- package/dist/webcomponents/{p-YND5pTuF.js → p-BQQ7ifKz.js} +1 -1
- package/dist/webcomponents/{p-5aA7gjr5.js → p-BTS3E50C.js} +1 -1
- package/dist/webcomponents/p-BUSn_ReW.js +1 -0
- package/dist/webcomponents/p-BY1mRAvj.js +1 -0
- package/dist/webcomponents/p-BZtgbC0H.js +1 -0
- package/dist/webcomponents/p-B_t2t34m.js +1 -0
- package/dist/webcomponents/{p-kpoIU4v_.js → p-Bn7inNWG.js} +1 -1
- package/dist/webcomponents/{p-BisQ61nK.js → p-BpWSwi9x.js} +1 -1
- package/dist/webcomponents/p-Bs-84XY6.js +1 -0
- package/dist/webcomponents/{p-Dvxpy_P1.js → p-BtyEAd0R.js} +1 -1
- package/dist/webcomponents/p-BvXjypQm.js +1 -0
- package/dist/webcomponents/p-C-wMveZe.js +1 -0
- package/dist/webcomponents/{p-D2muobcE.js → p-C5RuuShs.js} +1 -1
- package/dist/webcomponents/p-CCl9g-ln.js +1 -0
- package/dist/webcomponents/p-CDPZXQAo.js +1 -0
- package/dist/webcomponents/p-CKEiU2Q5.js +1 -0
- package/dist/webcomponents/p-CS4_rnSp.js +1 -0
- package/dist/webcomponents/{p-CfF8KKwx.js → p-CVGBVdVC.js} +1 -1
- package/dist/webcomponents/p-CnMP2-Xk.js +1 -0
- package/dist/webcomponents/p-CpaS1Lex.js +1 -0
- package/dist/webcomponents/p-Cs0cIpIm.js +1 -0
- package/dist/webcomponents/p-CxHdQoIo.js +1 -0
- package/dist/webcomponents/p-DFWnHEN2.js +1 -0
- package/dist/webcomponents/{p-BbYVgLcf.js → p-DK0C7j0u.js} +1 -1
- package/dist/webcomponents/p-DKSNNnPC.js +1 -0
- package/dist/webcomponents/{p-BeszVz87.js → p-DV1c2IYS.js} +1 -1
- package/dist/webcomponents/{p-Bz164TKZ.js → p-DetWIU1e.js} +1 -1
- package/dist/webcomponents/{p-9y5MOK55.js → p-DhGNCW2f.js} +1 -1
- package/dist/webcomponents/p-DjFzWJxk.js +1 -0
- package/dist/webcomponents/p-DnGswpsl.js +1 -0
- package/dist/webcomponents/p-DniQ6yo6.js +1 -0
- package/dist/webcomponents/p-DsLxs70Z.js +1 -0
- package/dist/webcomponents/p-DsZZxRXY.js +1 -0
- package/dist/webcomponents/p-DtdcFDM_.js +1 -0
- package/dist/webcomponents/p-DwF36W04.js +1 -0
- package/dist/webcomponents/{p-CRFzwZW6.js → p-DxqCFDtF.js} +1 -1
- package/dist/webcomponents/p-L4y68wud.js +1 -0
- package/dist/webcomponents/p-SdntD1xf.js +1 -0
- package/dist/webcomponents/p-a09ca567.entry.js +1 -0
- package/dist/webcomponents/p-a3313ebe.entry.js +1 -0
- package/dist/webcomponents/{p-463ae23a.entry.js → p-abbf14b5.entry.js} +1 -1
- package/dist/webcomponents/p-aeaafe28.entry.js +1 -0
- package/dist/webcomponents/p-b25bbf0a.entry.js +1 -0
- package/dist/webcomponents/p-b7594923.entry.js +1 -0
- package/dist/webcomponents/p-b79e302a.entry.js +1 -0
- package/dist/webcomponents/p-ba268a78.entry.js +1 -0
- package/dist/webcomponents/p-ba68ea4f.entry.js +1 -0
- package/dist/webcomponents/{p-48bccf3b.entry.js → p-bcadc072.entry.js} +1 -1
- package/dist/webcomponents/p-bf0e00be.entry.js +1 -0
- package/dist/webcomponents/p-c15d8dd0.entry.js +1 -0
- package/dist/webcomponents/p-c28f2569.entry.js +1 -0
- package/dist/webcomponents/{p-c5b48e8d.entry.js → p-c51651aa.entry.js} +1 -1
- package/dist/webcomponents/p-c5911cd9.entry.js +1 -0
- package/dist/webcomponents/{p-4ba144ac.entry.js → p-cdd2c7c8.entry.js} +1 -1
- package/dist/webcomponents/p-cefb9a76.entry.js +1 -0
- package/dist/webcomponents/{p-I8XpD1TX.js → p-ck6bcYXe.js} +1 -1
- package/dist/webcomponents/p-d2ae3c55.entry.js +1 -0
- package/dist/webcomponents/p-d2e1d179.entry.js +1 -0
- package/dist/webcomponents/{p-ded22005.entry.js → p-d43a4316.entry.js} +1 -1
- package/dist/webcomponents/{p-5e10aa65.entry.js → p-d46dbb83.entry.js} +1 -1
- package/dist/webcomponents/p-d4d58793.entry.js +1 -0
- package/dist/webcomponents/{p-57143978.entry.js → p-d53c3370.entry.js} +1 -1
- package/dist/webcomponents/p-dc6b707a.entry.js +1 -0
- package/dist/webcomponents/p-dfd9aff0.entry.js +1 -0
- package/dist/webcomponents/{p-CsNubTqD.js → p-dzS7n4Xj.js} +1 -1
- package/dist/webcomponents/p-e4682bb6.entry.js +1 -0
- package/dist/webcomponents/p-eP3fmhta.js +1 -0
- package/dist/webcomponents/p-ee566062.entry.js +1 -0
- package/dist/webcomponents/p-ef07d761.entry.js +1 -0
- package/dist/webcomponents/p-f24b04eb.entry.js +1 -0
- package/dist/webcomponents/p-f8e974af.entry.js +1 -0
- package/dist/webcomponents/p-fb60bc7a.entry.js +1 -0
- package/dist/webcomponents/{p-DO3INvI2.js → p-qGbNz93o.js} +1 -1
- package/dist/webcomponents/p-sw5RO19U.js +1 -0
- package/dist/webcomponents/p-v6yK8Vbe.js +1 -0
- package/dist/webcomponents/p-znmwKCgq.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/bank-account-form.cjs.entry.js +0 -63
- package/dist/cjs/card-form.cjs.entry.js +0 -71
- package/dist/cjs/checkout.store-CV_fuGQw.js +0 -39
- package/dist/cjs/dinero-BwNN_k7x.js +0 -1657
- package/dist/cjs/justifi-bank-account-billing-form-simple_9.cjs.entry.js +0 -372
- package/dist/cjs/justifi-checkout-summary_6.cjs.entry.js +0 -706
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +0 -31
- package/dist/cjs/justifi-skeleton.cjs.entry.js +0 -17
- package/dist/cjs/payment-method-option-utils-WYHIHy-l.js +0 -15
- package/dist/cjs/payment-method-option.cjs.entry.js +0 -17
- package/dist/cjs/terminals-list-params-state-BNbT1fuJ.js +0 -22
- package/dist/collection/api/BillingInformation.js +0 -1
- package/dist/collection/api/PaymentMethod.js +0 -1
- package/dist/collection/components/modular-checkout/modular-checkout.js +0 -430
- package/dist/collection/components/modular-checkout/sub-components/bank-account-skeleton.js +0 -10
- package/dist/collection/components/modular-checkout/sub-components/bank-account.js +0 -98
- package/dist/collection/components/modular-checkout/sub-components/card-form-skeleton.js +0 -10
- package/dist/collection/components/modular-checkout/sub-components/card-form.js +0 -102
- package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +0 -113
- package/dist/collection/components/modular-checkout/sub-components/saved-payment-methods.js +0 -40
- package/dist/collection/components/modular-checkout/sub-components/sezzle-payment-method.js +0 -127
- package/dist/collection/components/modular-checkout/sub-components/summary.js +0 -12
- package/dist/collection/store/checkout.store.js +0 -34
- package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +0 -176
- package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +0 -83
- package/dist/collection/ui-components/shadow-dom-components/justifi-radio-list-item.js +0 -155
- package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +0 -108
- package/dist/esm/bank-account-form.entry.js +0 -61
- package/dist/esm/card-form.entry.js +0 -69
- package/dist/esm/checkout.store-B60siz2l.js +0 -36
- package/dist/esm/dinero-HXpYMWUU.js +0 -1655
- package/dist/esm/insurance-state-CB4l8sOv.js +0 -45
- package/dist/esm/justifi-bank-account-billing-form-simple_9.entry.js +0 -362
- package/dist/esm/justifi-checkout-summary_6.entry.js +0 -699
- package/dist/esm/justifi-saved-payment-method.entry.js +0 -29
- package/dist/esm/justifi-skeleton.entry.js +0 -15
- package/dist/esm/payment-method-option-utils-lUHAQVFl.js +0 -15
- package/dist/esm/payment-method-option.entry.js +0 -15
- package/dist/esm/terminals-list-params-state-SMXQIZTt.js +0 -16
- package/dist/module/checkout.store.js +0 -36
- package/dist/module/dinero.js +0 -1655
- package/dist/module/header-2.js +0 -8
- package/dist/module/header-3.js +0 -8
- package/dist/module/justifi-bank-account-form.d.ts +0 -11
- package/dist/module/justifi-bank-account-form.js +0 -6
- package/dist/module/justifi-button.d.ts +0 -11
- package/dist/module/justifi-button.js +0 -6
- package/dist/module/justifi-button2.js +0 -41
- package/dist/module/justifi-card-form.d.ts +0 -11
- package/dist/module/justifi-card-form.js +0 -6
- package/dist/module/justifi-checkout-summary.d.ts +0 -11
- package/dist/module/justifi-checkout-summary.js +0 -6
- package/dist/module/justifi-header.js +0 -6
- package/dist/module/justifi-header2.js +0 -43
- package/dist/module/justifi-modular-checkout.d.ts +0 -11
- package/dist/module/justifi-modular-checkout.js +0 -6
- package/dist/module/justifi-radio-list-item.d.ts +0 -11
- package/dist/module/justifi-radio-list-item.js +0 -6
- package/dist/module/justifi-radio-list-item2.js +0 -55
- package/dist/module/justifi-saved-payment-methods.d.ts +0 -11
- package/dist/module/justifi-saved-payment-methods.js +0 -6
- package/dist/module/justifi-skeleton.d.ts +0 -11
- package/dist/module/justifi-skeleton.js +0 -39
- package/dist/module/modular-checkout.js +0 -336
- package/dist/module/payment-method-option-utils.js +0 -15
- package/dist/module/payment-method-option.d.ts +0 -11
- package/dist/module/payment-method-option.js +0 -54
- package/dist/module/saved-payment-methods.js +0 -73
- package/dist/module/summary.js +0 -35
- package/dist/module/tokenize-payment-method.js +0 -400
- package/dist/types/api/BillingInformation.d.ts +0 -13
- package/dist/types/api/PaymentMethod.d.ts +0 -21
- package/dist/types/components/modular-checkout/modular-checkout.d.ts +0 -34
- package/dist/types/components/modular-checkout/sub-components/bank-account-skeleton.d.ts +0 -6
- package/dist/types/components/modular-checkout/sub-components/bank-account.d.ts +0 -18
- package/dist/types/components/modular-checkout/sub-components/card-form-skeleton.d.ts +0 -6
- package/dist/types/components/modular-checkout/sub-components/card-form.d.ts +0 -20
- package/dist/types/components/modular-checkout/sub-components/payment-method-option.d.ts +0 -8
- package/dist/types/components/modular-checkout/sub-components/saved-payment-methods.d.ts +0 -7
- package/dist/types/components/modular-checkout/sub-components/summary.d.ts +0 -3
- package/dist/types/store/checkout.store.d.ts +0 -27
- package/dist/types/ui-components/shadow-dom-components/justifi-button.d.ts +0 -13
- package/dist/types/ui-components/shadow-dom-components/justifi-radio-list-item.d.ts +0 -12
- package/dist/types/ui-components/shadow-dom-components/justifi-skeleton.d.ts +0 -10
- package/dist/webcomponents/p-08ea8974.entry.js +0 -1
- package/dist/webcomponents/p-0932f6a9.entry.js +0 -1
- package/dist/webcomponents/p-09e768fe.entry.js +0 -1
- package/dist/webcomponents/p-15777cfe.entry.js +0 -1
- package/dist/webcomponents/p-22be0859.entry.js +0 -1
- package/dist/webcomponents/p-283cd78b.entry.js +0 -1
- package/dist/webcomponents/p-2a3d5af2.entry.js +0 -1
- package/dist/webcomponents/p-2ec9f293.entry.js +0 -1
- package/dist/webcomponents/p-3095775c.entry.js +0 -1
- package/dist/webcomponents/p-36d72e2d.entry.js +0 -1
- package/dist/webcomponents/p-39b79825.entry.js +0 -1
- package/dist/webcomponents/p-3d85d046.entry.js +0 -1
- package/dist/webcomponents/p-40ba49e4.entry.js +0 -1
- package/dist/webcomponents/p-424f491c.entry.js +0 -1
- package/dist/webcomponents/p-466f33d7.entry.js +0 -1
- package/dist/webcomponents/p-596b2653.entry.js +0 -1
- package/dist/webcomponents/p-5b09c0d8.entry.js +0 -1
- package/dist/webcomponents/p-5rVtZ2GJ.js +0 -1
- package/dist/webcomponents/p-6e18d13f.entry.js +0 -1
- package/dist/webcomponents/p-6f847539.entry.js +0 -1
- package/dist/webcomponents/p-7721a457.entry.js +0 -1
- package/dist/webcomponents/p-77515be6.entry.js +0 -1
- package/dist/webcomponents/p-79055216.entry.js +0 -1
- package/dist/webcomponents/p-7WIgS5RM.js +0 -1
- package/dist/webcomponents/p-7c51805a.entry.js +0 -1
- package/dist/webcomponents/p-7d944f7e.entry.js +0 -1
- package/dist/webcomponents/p-7ef0b68d.entry.js +0 -1
- package/dist/webcomponents/p-818f51fd.entry.js +0 -1
- package/dist/webcomponents/p-89e27079.entry.js +0 -1
- package/dist/webcomponents/p-8f0339de.entry.js +0 -1
- package/dist/webcomponents/p-904a95e5.entry.js +0 -1
- package/dist/webcomponents/p-9b75aced.entry.js +0 -1
- package/dist/webcomponents/p-9bb8bebf.entry.js +0 -1
- package/dist/webcomponents/p-BC8YDY7M.js +0 -1
- package/dist/webcomponents/p-BTkXk7ol.js +0 -1
- package/dist/webcomponents/p-BVD7g3cE.js +0 -1
- package/dist/webcomponents/p-Bb6FBEPP.js +0 -1
- package/dist/webcomponents/p-Bpcb3SsP.js +0 -1
- package/dist/webcomponents/p-Bt388eye.js +0 -1
- package/dist/webcomponents/p-BySyDTv5.js +0 -1
- package/dist/webcomponents/p-C1fMfnu0.js +0 -1
- package/dist/webcomponents/p-CCME-fyU.js +0 -1
- package/dist/webcomponents/p-CEsXw0Ph.js +0 -1
- package/dist/webcomponents/p-CLwzqWk2.js +0 -1
- package/dist/webcomponents/p-CVQyw7ao.js +0 -1
- package/dist/webcomponents/p-C_CXv7AN.js +0 -1
- package/dist/webcomponents/p-Cjcsf8ku.js +0 -1
- package/dist/webcomponents/p-CwZKT93w.js +0 -1
- package/dist/webcomponents/p-D599ZMGU.js +0 -1
- package/dist/webcomponents/p-DD74a16D.js +0 -1
- package/dist/webcomponents/p-DH8F0bsw.js +0 -1
- package/dist/webcomponents/p-DWUnL_zj.js +0 -1
- package/dist/webcomponents/p-DYGIC0QH.js +0 -1
- package/dist/webcomponents/p-DaDsBt65.js +0 -1
- package/dist/webcomponents/p-HXpYMWUU.js +0 -1
- package/dist/webcomponents/p-JgbsbAhz.js +0 -1
- package/dist/webcomponents/p-UD2JhYS2.js +0 -1
- package/dist/webcomponents/p-WEguiGt1.js +0 -1
- package/dist/webcomponents/p-ZpPDShvP.js +0 -1
- package/dist/webcomponents/p-a357be7d.entry.js +0 -1
- package/dist/webcomponents/p-a3d005dc.entry.js +0 -1
- package/dist/webcomponents/p-a4172773.entry.js +0 -1
- package/dist/webcomponents/p-a7d5e434.entry.js +0 -1
- package/dist/webcomponents/p-ae5a3c2a.entry.js +0 -1
- package/dist/webcomponents/p-b107ad76.entry.js +0 -1
- package/dist/webcomponents/p-b504a22b.entry.js +0 -1
- package/dist/webcomponents/p-b6f55d70.entry.js +0 -1
- package/dist/webcomponents/p-ba8ae31f.entry.js +0 -1
- package/dist/webcomponents/p-bdb56836.entry.js +0 -1
- package/dist/webcomponents/p-be06d86a.entry.js +0 -1
- package/dist/webcomponents/p-cb0effeb.entry.js +0 -1
- package/dist/webcomponents/p-cfca1837.entry.js +0 -1
- package/dist/webcomponents/p-d0e24727.entry.js +0 -1
- package/dist/webcomponents/p-d77908ca.entry.js +0 -1
- package/dist/webcomponents/p-dd6d6ddb.entry.js +0 -1
- package/dist/webcomponents/p-df199396.entry.js +0 -1
- package/dist/webcomponents/p-e2174f21.entry.js +0 -1
- package/dist/webcomponents/p-e57263b7.entry.js +0 -1
- package/dist/webcomponents/p-e830a580.entry.js +0 -1
- package/dist/webcomponents/p-e859ece8.entry.js +0 -1
- package/dist/webcomponents/p-eaea7cc1.entry.js +0 -1
- package/dist/webcomponents/p-f2149974.entry.js +0 -1
- package/dist/webcomponents/p-fa33df9f.entry.js +0 -1
- package/dist/webcomponents/p-ff3377e7.entry.js +0 -1
- package/dist/webcomponents/p-ff869ded.entry.js +0 -1
- package/dist/webcomponents/p-pska2q1M.js +0 -1
- package/dist/webcomponents/p-qMrd7_Gp.js +0 -1
- package/dist/webcomponents/p-vRhNRfmB.js +0 -1
- package/dist/webcomponents/p-wutYt_7D.js +0 -1
- package/dist/webcomponents/p-zdIeCUeh.js +0 -1
- package/dist/webcomponents/p-zrUQD0Wr.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var configState = require('./config-state-
|
|
4
|
-
var utils = require('./utils-
|
|
3
|
+
var configState = require('./config-state-BBOZIS8x.js');
|
|
4
|
+
var utils = require('./utils-Dewr6SlQ.js');
|
|
5
5
|
|
|
6
6
|
const Api = () => {
|
|
7
7
|
async function getAuthorizationHeader(authToken) {
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var utils = require('./utils-Dewr6SlQ.js');
|
|
4
|
+
|
|
5
|
+
class Completion {
|
|
6
|
+
constructor(data) {
|
|
7
|
+
this.payment_mode = ICheckoutPaymentMode[data.payment_mode];
|
|
8
|
+
this.payment_token = data.payment_token;
|
|
9
|
+
this.payment_status = data.payment_status;
|
|
10
|
+
this.payment_response = data.payment_response;
|
|
11
|
+
this.payment_error_code = data.payment_error_code;
|
|
12
|
+
this.payment_error_description = data.payment_error_description;
|
|
13
|
+
this.checkout_id = data.checkout_id;
|
|
14
|
+
this.additional_transactions = data.additional_transactions;
|
|
15
|
+
this.payment_id = data.payment_id;
|
|
16
|
+
this.payment_method_id = data.payment_method_id;
|
|
17
|
+
this.status = data.status;
|
|
18
|
+
this.created_at = data.created_at;
|
|
19
|
+
this.updated_at = data.updated_at;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
class Checkout {
|
|
23
|
+
constructor(data) {
|
|
24
|
+
var _a;
|
|
25
|
+
this.id = data.id;
|
|
26
|
+
this.description = data.description;
|
|
27
|
+
this.payment_intent_id = data.payment_intent_id;
|
|
28
|
+
this.account_id = data.account_id;
|
|
29
|
+
this.platform_account_id = data.platform_account_id;
|
|
30
|
+
this.payment_amount = data.payment_amount;
|
|
31
|
+
this.payment_client_id = data.payment_client_id;
|
|
32
|
+
this.payment_description = data.payment_description;
|
|
33
|
+
this.payment_methods = data.payment_methods;
|
|
34
|
+
this.payment_method_group_id = data.payment_method_group_id;
|
|
35
|
+
this.payment_settings = data.payment_settings;
|
|
36
|
+
this.bnpl = data.bnpl;
|
|
37
|
+
this.total_amount = data.total_amount;
|
|
38
|
+
this.insurance_amount = data.insurance_amount;
|
|
39
|
+
this.status = exports.ICheckoutStatus[data.status];
|
|
40
|
+
this.payment_currency = data.payment_currency;
|
|
41
|
+
this.mode = data.mode;
|
|
42
|
+
this.statement_descriptor = data.statement_descriptor;
|
|
43
|
+
this.application_fees = data.application_fees;
|
|
44
|
+
this.successful_payment_id = data.successful_payment_id;
|
|
45
|
+
this.created_at = data.created_at;
|
|
46
|
+
this.updated_at = data.updated_at;
|
|
47
|
+
this.completions = (_a = data.completions) === null || _a === void 0 ? void 0 : _a.map((completion) => new Completion(completion));
|
|
48
|
+
}
|
|
49
|
+
get payment_mode() {
|
|
50
|
+
var _a, _b, _c, _d, _e, _f;
|
|
51
|
+
let paymentMode;
|
|
52
|
+
if (!this.completions || this.completions.length === 0) {
|
|
53
|
+
return ICheckoutPaymentMode.unknown;
|
|
54
|
+
}
|
|
55
|
+
const sortedCompletions = this.completions.sort((a, b) => {
|
|
56
|
+
return new Date(b.updated_at).getTime() - new Date(a.updated_at).getTime();
|
|
57
|
+
});
|
|
58
|
+
const lastCompletion = sortedCompletions[0];
|
|
59
|
+
if (lastCompletion.payment_mode) {
|
|
60
|
+
paymentMode = lastCompletion.payment_mode;
|
|
61
|
+
}
|
|
62
|
+
else if ((_c = (_b = (_a = lastCompletion.payment_response) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.payment_method) === null || _c === void 0 ? void 0 : _c.card) {
|
|
63
|
+
paymentMode = ICheckoutPaymentMode.card;
|
|
64
|
+
}
|
|
65
|
+
else if ((_f = (_e = (_d = lastCompletion.payment_response) === null || _d === void 0 ? void 0 : _d.data) === null || _e === void 0 ? void 0 : _e.payment_method) === null || _f === void 0 ? void 0 : _f.bank_account) {
|
|
66
|
+
paymentMode = ICheckoutPaymentMode.bank_account;
|
|
67
|
+
}
|
|
68
|
+
return paymentMode;
|
|
69
|
+
}
|
|
70
|
+
;
|
|
71
|
+
formattedPaymentAmount(amount) {
|
|
72
|
+
return utils.formatCurrency(amount, this.payment_currency);
|
|
73
|
+
}
|
|
74
|
+
;
|
|
75
|
+
}
|
|
76
|
+
var ICheckoutPaymentMode;
|
|
77
|
+
(function (ICheckoutPaymentMode) {
|
|
78
|
+
ICheckoutPaymentMode["bnpl"] = "Buy Now Pay Later";
|
|
79
|
+
ICheckoutPaymentMode["ecom"] = "E-commerce";
|
|
80
|
+
ICheckoutPaymentMode["card"] = "Card";
|
|
81
|
+
ICheckoutPaymentMode["bank_account"] = "Bank Account";
|
|
82
|
+
ICheckoutPaymentMode["card_present"] = "Card Present";
|
|
83
|
+
ICheckoutPaymentMode["unknown"] = "";
|
|
84
|
+
})(ICheckoutPaymentMode || (ICheckoutPaymentMode = {}));
|
|
85
|
+
exports.ICheckoutPaymentModeParam = void 0;
|
|
86
|
+
(function (ICheckoutPaymentModeParam) {
|
|
87
|
+
ICheckoutPaymentModeParam["bnpl"] = "bnpl";
|
|
88
|
+
ICheckoutPaymentModeParam["ecom"] = "ecom";
|
|
89
|
+
})(exports.ICheckoutPaymentModeParam || (exports.ICheckoutPaymentModeParam = {}));
|
|
90
|
+
exports.ICheckoutStatus = void 0;
|
|
91
|
+
(function (ICheckoutStatus) {
|
|
92
|
+
ICheckoutStatus["created"] = "created";
|
|
93
|
+
ICheckoutStatus["completed"] = "completed";
|
|
94
|
+
ICheckoutStatus["attempted"] = "attempted";
|
|
95
|
+
ICheckoutStatus["expired"] = "expired";
|
|
96
|
+
})(exports.ICheckoutStatus || (exports.ICheckoutStatus = {}));
|
|
97
|
+
var CompletionStatuses;
|
|
98
|
+
(function (CompletionStatuses) {
|
|
99
|
+
CompletionStatuses["failed"] = "failed";
|
|
100
|
+
CompletionStatuses["succeeded"] = "succeeded";
|
|
101
|
+
})(CompletionStatuses || (CompletionStatuses = {}));
|
|
102
|
+
|
|
103
|
+
exports.Checkout = Checkout;
|
|
@@ -8,14 +8,10 @@ exports.ComponentErrorCodes = void 0;
|
|
|
8
8
|
ComponentErrorCodes["POST_ERROR"] = "post-error";
|
|
9
9
|
ComponentErrorCodes["UNKNOWN_ERROR"] = "unknown-error";
|
|
10
10
|
ComponentErrorCodes["TOKENIZE_ERROR"] = "tokenize-error";
|
|
11
|
-
ComponentErrorCodes["COMPLETE_CHECKOUT_ERROR"] = "complete-checkout-error";
|
|
12
|
-
ComponentErrorCodes["CHECKOUT_ALREADY_COMPLETED"] = "checkout-already-completed";
|
|
13
|
-
ComponentErrorCodes["CHECKOUT_EXPIRED"] = "checkout-expired";
|
|
14
11
|
ComponentErrorCodes["NOT_AUTHENTICATED"] = "not-authenticated";
|
|
15
12
|
ComponentErrorCodes["INVALID_PARAMETER"] = "invalid-parameter";
|
|
16
13
|
ComponentErrorCodes["PROVISIONING_REQUESTED"] = "provisioning-already-requested";
|
|
17
14
|
ComponentErrorCodes["INVALID_REFUND_AMOUNT"] = "invalid-refund-amount";
|
|
18
|
-
ComponentErrorCodes["VALIDATION_ERROR"] = "validation-error";
|
|
19
15
|
})(exports.ComponentErrorCodes || (exports.ComponentErrorCodes = {}));
|
|
20
16
|
exports.ComponentErrorSeverity = void 0;
|
|
21
17
|
(function (ComponentErrorSeverity) {
|
|
@@ -23,9 +19,3 @@ exports.ComponentErrorSeverity = void 0;
|
|
|
23
19
|
ComponentErrorSeverity["WARNING"] = "warning";
|
|
24
20
|
ComponentErrorSeverity["ERROR"] = "error";
|
|
25
21
|
})(exports.ComponentErrorSeverity || (exports.ComponentErrorSeverity = {}));
|
|
26
|
-
exports.ComponentErrorMessages = void 0;
|
|
27
|
-
(function (ComponentErrorMessages) {
|
|
28
|
-
ComponentErrorMessages["NOT_AUTHENTICATED"] = "Not authenticated. Please provide a valid auth token, checkout id, and account id.";
|
|
29
|
-
ComponentErrorMessages["CHECKOUT_ALREADY_COMPLETED"] = "Checkout already completed. Please create a new checkout.";
|
|
30
|
-
ComponentErrorMessages["CHECKOUT_EXPIRED"] = "Checkout expired. Please create a new checkout.";
|
|
31
|
-
})(exports.ComponentErrorMessages || (exports.ComponentErrorMessages = {}));
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var utils = require('./utils-Dewr6SlQ.js');
|
|
4
|
+
var Dispute = require('./Dispute-CruQTF6_.js');
|
|
5
|
+
|
|
6
|
+
var CaptureStrategy;
|
|
7
|
+
(function (CaptureStrategy) {
|
|
8
|
+
CaptureStrategy["automatic"] = "automatic";
|
|
9
|
+
CaptureStrategy["manual"] = "manual";
|
|
10
|
+
})(CaptureStrategy || (CaptureStrategy = {}));
|
|
11
|
+
exports.PaymentMethodTypes = void 0;
|
|
12
|
+
(function (PaymentMethodTypes) {
|
|
13
|
+
PaymentMethodTypes["card"] = "card";
|
|
14
|
+
PaymentMethodTypes["bankAccount"] = "bankAccount";
|
|
15
|
+
PaymentMethodTypes["sezzle"] = "sezzle";
|
|
16
|
+
PaymentMethodTypes["saved"] = "saved";
|
|
17
|
+
})(exports.PaymentMethodTypes || (exports.PaymentMethodTypes = {}));
|
|
18
|
+
var PaymentTypes;
|
|
19
|
+
(function (PaymentTypes) {
|
|
20
|
+
PaymentTypes["card"] = "Card";
|
|
21
|
+
PaymentTypes["bankAccount"] = "ACH";
|
|
22
|
+
PaymentTypes["unknown"] = "Unknown";
|
|
23
|
+
})(PaymentTypes || (PaymentTypes = {}));
|
|
24
|
+
var PaymentStatuses;
|
|
25
|
+
(function (PaymentStatuses) {
|
|
26
|
+
PaymentStatuses["pending"] = "pending";
|
|
27
|
+
PaymentStatuses["automatic"] = "automatic";
|
|
28
|
+
PaymentStatuses["authorized"] = "authorized";
|
|
29
|
+
PaymentStatuses["succeeded"] = "succeeded";
|
|
30
|
+
PaymentStatuses["failed"] = "failed";
|
|
31
|
+
PaymentStatuses["canceled"] = "canceled";
|
|
32
|
+
PaymentStatuses["disputed"] = "disputed";
|
|
33
|
+
PaymentStatuses["fully_refunded"] = "fully_refunded";
|
|
34
|
+
PaymentStatuses["partially_refunded"] = "partially_refunded";
|
|
35
|
+
})(PaymentStatuses || (PaymentStatuses = {}));
|
|
36
|
+
var CurrencyTypes;
|
|
37
|
+
(function (CurrencyTypes) {
|
|
38
|
+
CurrencyTypes["usd"] = "usd";
|
|
39
|
+
CurrencyTypes["cad"] = "cad";
|
|
40
|
+
})(CurrencyTypes || (CurrencyTypes = {}));
|
|
41
|
+
class PaymentMethod {
|
|
42
|
+
constructor(paymentMethod) {
|
|
43
|
+
this.card = paymentMethod.card ? new Card(paymentMethod.card) : undefined;
|
|
44
|
+
this.bank_account = paymentMethod.bank_account
|
|
45
|
+
? new BankAccount(paymentMethod.bank_account)
|
|
46
|
+
: undefined;
|
|
47
|
+
}
|
|
48
|
+
get payersName() {
|
|
49
|
+
if (this.card) {
|
|
50
|
+
return this.card.name;
|
|
51
|
+
}
|
|
52
|
+
else if (this.bank_account) {
|
|
53
|
+
return this.bank_account.name;
|
|
54
|
+
}
|
|
55
|
+
return null;
|
|
56
|
+
}
|
|
57
|
+
get lastFourDigits() {
|
|
58
|
+
if (this.card) {
|
|
59
|
+
return `**** ${this.card.acct_last_four}`;
|
|
60
|
+
}
|
|
61
|
+
else if (this.bank_account) {
|
|
62
|
+
return `**** ${this.bank_account.acct_last_four}`;
|
|
63
|
+
}
|
|
64
|
+
return null;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
class BankAccount {
|
|
68
|
+
constructor(bankAccount) {
|
|
69
|
+
this.id = bankAccount.id;
|
|
70
|
+
this.acct_last_four = bankAccount.acct_last_four;
|
|
71
|
+
this.name = bankAccount.name;
|
|
72
|
+
this.brand = bankAccount.brand;
|
|
73
|
+
this.token = bankAccount.token;
|
|
74
|
+
this.created_at = bankAccount.created_at;
|
|
75
|
+
this.updated_at = bankAccount.updated_at;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
class Card {
|
|
79
|
+
constructor(card) {
|
|
80
|
+
this.id = card.id || '';
|
|
81
|
+
this.acct_last_four = card.acct_last_four;
|
|
82
|
+
this.name = card.name;
|
|
83
|
+
this.brand = card.brand;
|
|
84
|
+
this.token = card.token;
|
|
85
|
+
this.created_at = card.created_at;
|
|
86
|
+
this.updated_at = card.updated_at;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
class Payment {
|
|
90
|
+
constructor(payment) {
|
|
91
|
+
this.id = payment.id;
|
|
92
|
+
this.account_id = payment.account_id;
|
|
93
|
+
this.currency = payment.currency;
|
|
94
|
+
this.amount = payment.amount;
|
|
95
|
+
this.amount_disputed = payment.amount_disputed;
|
|
96
|
+
this.amount_refundable = payment.amount_refundable;
|
|
97
|
+
this.amount_refunded = payment.amount_refunded;
|
|
98
|
+
this.balance = payment.balance;
|
|
99
|
+
this.captured = payment.captured;
|
|
100
|
+
this.capture_strategy = payment.capture_strategy;
|
|
101
|
+
this.description = payment.description;
|
|
102
|
+
this.disputed = payment.disputed;
|
|
103
|
+
this.disputes = payment.disputes;
|
|
104
|
+
this.error_code = payment.error_code;
|
|
105
|
+
this.error_description = payment.error_description;
|
|
106
|
+
this.expedited = payment.expedited;
|
|
107
|
+
this.fee_amount = payment.fee_amount;
|
|
108
|
+
this.is_test = payment.is_test;
|
|
109
|
+
this.metadata = payment.metadata;
|
|
110
|
+
this.payment_method = new PaymentMethod(payment.payment_method);
|
|
111
|
+
this.payment_intent_id = payment.payment_intent_id;
|
|
112
|
+
this.refunded = payment.refunded;
|
|
113
|
+
this.status = payment.status;
|
|
114
|
+
this.created_at = payment.created_at;
|
|
115
|
+
this.updated_at = payment.updated_at;
|
|
116
|
+
}
|
|
117
|
+
get disputedStatus() {
|
|
118
|
+
const lost = this.disputes.some((dispute) => dispute.status === Dispute.DisputeStatus.lost);
|
|
119
|
+
// if a dispute is 'won', we don't show a dispute status, just general status
|
|
120
|
+
// TODO: update this logic to work with new DisputeStatus enum
|
|
121
|
+
// (cast 'open' as DisputeStatus in the meantime to keep existing functionality)
|
|
122
|
+
if (!this.disputed) {
|
|
123
|
+
return null;
|
|
124
|
+
}
|
|
125
|
+
else if (lost) {
|
|
126
|
+
return Dispute.DisputeStatus.lost;
|
|
127
|
+
}
|
|
128
|
+
else {
|
|
129
|
+
return 'open';
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
get payment_type() {
|
|
133
|
+
if (this.payment_method) {
|
|
134
|
+
return this.payment_method.card ? PaymentTypes.card : PaymentTypes.bankAccount;
|
|
135
|
+
}
|
|
136
|
+
else {
|
|
137
|
+
return PaymentTypes.unknown;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
get payers_name() {
|
|
141
|
+
return this.payment_method.payersName;
|
|
142
|
+
}
|
|
143
|
+
get last_four_digits() {
|
|
144
|
+
return this.payment_method.lastFourDigits;
|
|
145
|
+
}
|
|
146
|
+
formattedPaymentAmount(amount) {
|
|
147
|
+
return utils.formatCurrency(amount, this.currency);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
exports.Payment = Payment;
|
|
@@ -1,248 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var utils = require('./utils-
|
|
4
|
-
var Dispute = require('./Dispute-CruQTF6_.js');
|
|
5
|
-
|
|
6
|
-
class Completion {
|
|
7
|
-
constructor(data) {
|
|
8
|
-
this.payment_mode = ICheckoutPaymentMode[data.payment_mode];
|
|
9
|
-
this.payment_token = data.payment_token;
|
|
10
|
-
this.payment_status = data.payment_status;
|
|
11
|
-
this.payment_response = data.payment_response;
|
|
12
|
-
this.payment_error_code = data.payment_error_code;
|
|
13
|
-
this.payment_error_description = data.payment_error_description;
|
|
14
|
-
this.checkout_id = data.checkout_id;
|
|
15
|
-
this.additional_transactions = data.additional_transactions;
|
|
16
|
-
this.payment_id = data.payment_id;
|
|
17
|
-
this.payment_method_id = data.payment_method_id;
|
|
18
|
-
this.status = data.status;
|
|
19
|
-
this.created_at = data.created_at;
|
|
20
|
-
this.updated_at = data.updated_at;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
class Checkout {
|
|
24
|
-
constructor(data) {
|
|
25
|
-
var _a;
|
|
26
|
-
this.id = data.id;
|
|
27
|
-
this.description = data.description;
|
|
28
|
-
this.payment_intent_id = data.payment_intent_id;
|
|
29
|
-
this.account_id = data.account_id;
|
|
30
|
-
this.platform_account_id = data.platform_account_id;
|
|
31
|
-
this.payment_amount = data.payment_amount;
|
|
32
|
-
this.payment_client_id = data.payment_client_id;
|
|
33
|
-
this.payment_description = data.payment_description;
|
|
34
|
-
this.payment_methods = data.payment_methods;
|
|
35
|
-
this.payment_method_group_id = data.payment_method_group_id;
|
|
36
|
-
this.payment_settings = data.payment_settings;
|
|
37
|
-
this.bnpl = data.bnpl;
|
|
38
|
-
this.total_amount = data.total_amount;
|
|
39
|
-
this.insurance_amount = data.insurance_amount;
|
|
40
|
-
this.status = exports.ICheckoutStatus[data.status];
|
|
41
|
-
this.payment_currency = data.payment_currency;
|
|
42
|
-
this.mode = data.mode;
|
|
43
|
-
this.statement_descriptor = data.statement_descriptor;
|
|
44
|
-
this.application_fees = data.application_fees;
|
|
45
|
-
this.successful_payment_id = data.successful_payment_id;
|
|
46
|
-
this.created_at = data.created_at;
|
|
47
|
-
this.updated_at = data.updated_at;
|
|
48
|
-
this.completions = (_a = data.completions) === null || _a === void 0 ? void 0 : _a.map((completion) => new Completion(completion));
|
|
49
|
-
}
|
|
50
|
-
get payment_mode() {
|
|
51
|
-
var _a, _b, _c, _d, _e, _f;
|
|
52
|
-
let paymentMode;
|
|
53
|
-
if (!this.completions || this.completions.length === 0) {
|
|
54
|
-
return ICheckoutPaymentMode.unknown;
|
|
55
|
-
}
|
|
56
|
-
const sortedCompletions = this.completions.sort((a, b) => {
|
|
57
|
-
return (new Date(b.updated_at).getTime() - new Date(a.updated_at).getTime());
|
|
58
|
-
});
|
|
59
|
-
const lastCompletion = sortedCompletions[0];
|
|
60
|
-
if (lastCompletion.payment_mode) {
|
|
61
|
-
paymentMode = lastCompletion.payment_mode;
|
|
62
|
-
}
|
|
63
|
-
else if ((_c = (_b = (_a = lastCompletion.payment_response) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.payment_method) === null || _c === void 0 ? void 0 : _c.card) {
|
|
64
|
-
paymentMode = ICheckoutPaymentMode.card;
|
|
65
|
-
}
|
|
66
|
-
else if ((_f = (_e = (_d = lastCompletion.payment_response) === null || _d === void 0 ? void 0 : _d.data) === null || _e === void 0 ? void 0 : _e.payment_method) === null || _f === void 0 ? void 0 : _f.bank_account) {
|
|
67
|
-
paymentMode = ICheckoutPaymentMode.bank_account;
|
|
68
|
-
}
|
|
69
|
-
return paymentMode;
|
|
70
|
-
}
|
|
71
|
-
formattedPaymentAmount(amount) {
|
|
72
|
-
return utils.formatCurrency(amount, this.payment_currency);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
var ICheckoutPaymentMode;
|
|
76
|
-
(function (ICheckoutPaymentMode) {
|
|
77
|
-
ICheckoutPaymentMode["bnpl"] = "Buy Now Pay Later";
|
|
78
|
-
ICheckoutPaymentMode["ecom"] = "E-commerce";
|
|
79
|
-
ICheckoutPaymentMode["card"] = "Card";
|
|
80
|
-
ICheckoutPaymentMode["bank_account"] = "Bank Account";
|
|
81
|
-
ICheckoutPaymentMode["card_present"] = "Card Present";
|
|
82
|
-
ICheckoutPaymentMode["unknown"] = "";
|
|
83
|
-
})(ICheckoutPaymentMode || (ICheckoutPaymentMode = {}));
|
|
84
|
-
exports.ICheckoutPaymentModeParam = void 0;
|
|
85
|
-
(function (ICheckoutPaymentModeParam) {
|
|
86
|
-
ICheckoutPaymentModeParam["bnpl"] = "bnpl";
|
|
87
|
-
ICheckoutPaymentModeParam["ecom"] = "ecom";
|
|
88
|
-
})(exports.ICheckoutPaymentModeParam || (exports.ICheckoutPaymentModeParam = {}));
|
|
89
|
-
exports.ICheckoutStatus = void 0;
|
|
90
|
-
(function (ICheckoutStatus) {
|
|
91
|
-
ICheckoutStatus["created"] = "created";
|
|
92
|
-
ICheckoutStatus["completed"] = "completed";
|
|
93
|
-
ICheckoutStatus["attempted"] = "attempted";
|
|
94
|
-
ICheckoutStatus["expired"] = "expired";
|
|
95
|
-
})(exports.ICheckoutStatus || (exports.ICheckoutStatus = {}));
|
|
96
|
-
var CompletionStatuses;
|
|
97
|
-
(function (CompletionStatuses) {
|
|
98
|
-
CompletionStatuses["failed"] = "failed";
|
|
99
|
-
CompletionStatuses["succeeded"] = "succeeded";
|
|
100
|
-
})(CompletionStatuses || (CompletionStatuses = {}));
|
|
101
|
-
|
|
102
|
-
var CaptureStrategy;
|
|
103
|
-
(function (CaptureStrategy) {
|
|
104
|
-
CaptureStrategy["automatic"] = "automatic";
|
|
105
|
-
CaptureStrategy["manual"] = "manual";
|
|
106
|
-
})(CaptureStrategy || (CaptureStrategy = {}));
|
|
107
|
-
exports.PaymentMethodTypes = void 0;
|
|
108
|
-
(function (PaymentMethodTypes) {
|
|
109
|
-
PaymentMethodTypes["card"] = "card";
|
|
110
|
-
PaymentMethodTypes["bankAccount"] = "bankAccount";
|
|
111
|
-
PaymentMethodTypes["sezzle"] = "sezzle";
|
|
112
|
-
PaymentMethodTypes["saved"] = "saved";
|
|
113
|
-
})(exports.PaymentMethodTypes || (exports.PaymentMethodTypes = {}));
|
|
114
|
-
var PaymentTypes;
|
|
115
|
-
(function (PaymentTypes) {
|
|
116
|
-
PaymentTypes["card"] = "Card";
|
|
117
|
-
PaymentTypes["bankAccount"] = "ACH";
|
|
118
|
-
PaymentTypes["unknown"] = "Unknown";
|
|
119
|
-
})(PaymentTypes || (PaymentTypes = {}));
|
|
120
|
-
var PaymentStatuses;
|
|
121
|
-
(function (PaymentStatuses) {
|
|
122
|
-
PaymentStatuses["pending"] = "pending";
|
|
123
|
-
PaymentStatuses["automatic"] = "automatic";
|
|
124
|
-
PaymentStatuses["authorized"] = "authorized";
|
|
125
|
-
PaymentStatuses["succeeded"] = "succeeded";
|
|
126
|
-
PaymentStatuses["failed"] = "failed";
|
|
127
|
-
PaymentStatuses["canceled"] = "canceled";
|
|
128
|
-
PaymentStatuses["disputed"] = "disputed";
|
|
129
|
-
PaymentStatuses["fully_refunded"] = "fully_refunded";
|
|
130
|
-
PaymentStatuses["partially_refunded"] = "partially_refunded";
|
|
131
|
-
})(PaymentStatuses || (PaymentStatuses = {}));
|
|
132
|
-
var CurrencyTypes;
|
|
133
|
-
(function (CurrencyTypes) {
|
|
134
|
-
CurrencyTypes["usd"] = "usd";
|
|
135
|
-
CurrencyTypes["cad"] = "cad";
|
|
136
|
-
})(CurrencyTypes || (CurrencyTypes = {}));
|
|
137
|
-
class PaymentMethod {
|
|
138
|
-
constructor(paymentMethod) {
|
|
139
|
-
this.card = paymentMethod.card ? new Card(paymentMethod.card) : undefined;
|
|
140
|
-
this.bank_account = paymentMethod.bank_account
|
|
141
|
-
? new BankAccount(paymentMethod.bank_account)
|
|
142
|
-
: undefined;
|
|
143
|
-
}
|
|
144
|
-
get payersName() {
|
|
145
|
-
if (this.card) {
|
|
146
|
-
return this.card.name;
|
|
147
|
-
}
|
|
148
|
-
else if (this.bank_account) {
|
|
149
|
-
return this.bank_account.name;
|
|
150
|
-
}
|
|
151
|
-
return null;
|
|
152
|
-
}
|
|
153
|
-
get lastFourDigits() {
|
|
154
|
-
if (this.card) {
|
|
155
|
-
return `**** ${this.card.acct_last_four}`;
|
|
156
|
-
}
|
|
157
|
-
else if (this.bank_account) {
|
|
158
|
-
return `**** ${this.bank_account.acct_last_four}`;
|
|
159
|
-
}
|
|
160
|
-
return null;
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
class BankAccount {
|
|
164
|
-
constructor(bankAccount) {
|
|
165
|
-
this.id = bankAccount.id;
|
|
166
|
-
this.acct_last_four = bankAccount.acct_last_four;
|
|
167
|
-
this.name = bankAccount.name;
|
|
168
|
-
this.brand = bankAccount.brand;
|
|
169
|
-
this.token = bankAccount.token;
|
|
170
|
-
this.created_at = bankAccount.created_at;
|
|
171
|
-
this.updated_at = bankAccount.updated_at;
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
class Card {
|
|
175
|
-
constructor(card) {
|
|
176
|
-
this.id = card.id || '';
|
|
177
|
-
this.acct_last_four = card.acct_last_four;
|
|
178
|
-
this.name = card.name;
|
|
179
|
-
this.brand = card.brand;
|
|
180
|
-
this.token = card.token;
|
|
181
|
-
this.created_at = card.created_at;
|
|
182
|
-
this.updated_at = card.updated_at;
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
class Payment {
|
|
186
|
-
constructor(payment) {
|
|
187
|
-
this.id = payment.id;
|
|
188
|
-
this.account_id = payment.account_id;
|
|
189
|
-
this.currency = payment.currency;
|
|
190
|
-
this.amount = payment.amount;
|
|
191
|
-
this.amount_disputed = payment.amount_disputed;
|
|
192
|
-
this.amount_refundable = payment.amount_refundable;
|
|
193
|
-
this.amount_refunded = payment.amount_refunded;
|
|
194
|
-
this.balance = payment.balance;
|
|
195
|
-
this.captured = payment.captured;
|
|
196
|
-
this.capture_strategy = payment.capture_strategy;
|
|
197
|
-
this.description = payment.description;
|
|
198
|
-
this.disputed = payment.disputed;
|
|
199
|
-
this.disputes = payment.disputes;
|
|
200
|
-
this.error_code = payment.error_code;
|
|
201
|
-
this.error_description = payment.error_description;
|
|
202
|
-
this.expedited = payment.expedited;
|
|
203
|
-
this.fee_amount = payment.fee_amount;
|
|
204
|
-
this.is_test = payment.is_test;
|
|
205
|
-
this.metadata = payment.metadata;
|
|
206
|
-
this.payment_method = new PaymentMethod(payment.payment_method);
|
|
207
|
-
this.payment_intent_id = payment.payment_intent_id;
|
|
208
|
-
this.refunded = payment.refunded;
|
|
209
|
-
this.status = payment.status;
|
|
210
|
-
this.created_at = payment.created_at;
|
|
211
|
-
this.updated_at = payment.updated_at;
|
|
212
|
-
}
|
|
213
|
-
get disputedStatus() {
|
|
214
|
-
const lost = this.disputes.some((dispute) => dispute.status === Dispute.DisputeStatus.lost);
|
|
215
|
-
// if a dispute is 'won', we don't show a dispute status, just general status
|
|
216
|
-
// TODO: update this logic to work with new DisputeStatus enum
|
|
217
|
-
// (cast 'open' as DisputeStatus in the meantime to keep existing functionality)
|
|
218
|
-
if (!this.disputed) {
|
|
219
|
-
return null;
|
|
220
|
-
}
|
|
221
|
-
else if (lost) {
|
|
222
|
-
return Dispute.DisputeStatus.lost;
|
|
223
|
-
}
|
|
224
|
-
else {
|
|
225
|
-
return 'open';
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
get payment_type() {
|
|
229
|
-
if (this.payment_method) {
|
|
230
|
-
return this.payment_method.card ? PaymentTypes.card : PaymentTypes.bankAccount;
|
|
231
|
-
}
|
|
232
|
-
else {
|
|
233
|
-
return PaymentTypes.unknown;
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
get payers_name() {
|
|
237
|
-
return this.payment_method.payersName;
|
|
238
|
-
}
|
|
239
|
-
get last_four_digits() {
|
|
240
|
-
return this.payment_method.lastFourDigits;
|
|
241
|
-
}
|
|
242
|
-
formattedPaymentAmount(amount) {
|
|
243
|
-
return utils.formatCurrency(amount, this.currency);
|
|
244
|
-
}
|
|
245
|
-
}
|
|
3
|
+
var utils = require('./utils-Dewr6SlQ.js');
|
|
246
4
|
|
|
247
5
|
var PaymentBalanceTxnType;
|
|
248
6
|
(function (PaymentBalanceTxnType) {
|
|
@@ -583,10 +341,8 @@ class RefundPayload {
|
|
|
583
341
|
}
|
|
584
342
|
}
|
|
585
343
|
|
|
586
|
-
exports.Checkout = Checkout;
|
|
587
344
|
exports.EntityDocument = EntityDocument;
|
|
588
345
|
exports.EntityDocumentStorage = EntityDocumentStorage;
|
|
589
|
-
exports.Payment = Payment;
|
|
590
346
|
exports.PaymentBalanceTransaction = PaymentBalanceTransaction;
|
|
591
347
|
exports.Payout = Payout;
|
|
592
348
|
exports.PayoutBalanceTransaction = PayoutBalanceTransaction;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var utils$1 = require('./utils-
|
|
5
|
-
var utils = require('./utils-
|
|
3
|
+
var index = require('./index-C9hBD-32.js');
|
|
4
|
+
var utils$1 = require('./utils-Bzyj4qWe.js');
|
|
5
|
+
var utils = require('./utils-Dewr6SlQ.js');
|
|
6
6
|
require('./parts-9jMf1erK.js');
|
|
7
|
-
require('./dinero-BwNN_k7x.js');
|
|
8
7
|
|
|
9
8
|
const AdditionalQuestionsDetails = class {
|
|
10
9
|
constructor(hostRef) {
|
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
require('./config-state-
|
|
5
|
-
require('./
|
|
6
|
-
require('./ComponentError-
|
|
7
|
-
|
|
3
|
+
var index = require('./index-C9hBD-32.js');
|
|
4
|
+
require('./config-state-BBOZIS8x.js');
|
|
5
|
+
var utils$1 = require('./utils-Dewr6SlQ.js');
|
|
6
|
+
require('./ComponentError-C4MdBBMe.js');
|
|
7
|
+
require('./Checkout-BbhldGDh.js');
|
|
8
8
|
require('./Pagination-Dediz133.js');
|
|
9
|
+
require('./Payment-D6XuQ4Ve.js');
|
|
10
|
+
var Refund = require('./Refund-1bG6RRPO.js');
|
|
9
11
|
require('./Business-DCRzZf0w.js');
|
|
10
12
|
require('./Dispute-CruQTF6_.js');
|
|
11
13
|
var businessFormOptions = require('./business-form-options-CMII7nIK.js');
|
|
12
14
|
require('./event-types-DNOUef41.js');
|
|
13
15
|
var utils = require('./utils-DAyWinG2.js');
|
|
14
|
-
var utils$1 = require('./utils-BaGF9XIe.js');
|
|
15
16
|
var parts = require('./parts-9jMf1erK.js');
|
|
16
|
-
var skeleton = require('./skeleton-
|
|
17
|
+
var skeleton = require('./skeleton-C7DQRD6r.js');
|
|
17
18
|
require('./event-types-YOY5TKUN.js');
|
|
18
|
-
var formControlErrorText = require('./form-control-error-text-
|
|
19
|
-
require('./index-
|
|
19
|
+
var formControlErrorText = require('./form-control-error-text-B-P5UDhm.js');
|
|
20
|
+
require('./index-B32W0A3m.js');
|
|
20
21
|
require('./helpers-B5OCqlIM.js');
|
|
21
22
|
require('./state-options-CIT9xdTz.js');
|
|
22
23
|
|
|
@@ -25,7 +26,7 @@ const BankAccountDocumentFormInputs = class {
|
|
|
25
26
|
index.registerInstance(this, hostRef);
|
|
26
27
|
}
|
|
27
28
|
render() {
|
|
28
|
-
return (index.h("div", { key: '
|
|
29
|
+
return (index.h("div", { key: 'a3ff8b1ff23923beb847e66d6c56a39de9a86434', class: "row gy-3" }, index.h("div", { key: '86f9ba3a8f0f87f7fa67ba0fcf1d7c04f67e9bc5', class: "col-12" }, index.h("form-control-file", { key: '9cc2bc21414c8e3f4b25ac47b76340a4ce569c42', name: "voided_check", label: "Voided Check", documentType: Refund.EntityDocumentType.voidedCheck, inputHandler: this.inputHandler, onFileSelected: this.storeFiles, errorText: this.errors["voided_check"], multiple: true })), index.h("div", { key: 'bee72d6c63514cdbd3200910d3a53b045c60d05d', class: "col-12" }, index.h("form-control-file", { key: '80a79f352d078cd210768b4060cad7014b1060c5', name: "bank_statement", label: "Bank Statement", documentType: Refund.EntityDocumentType.bankStatement, inputHandler: this.inputHandler, onFileSelected: this.storeFiles, errorText: this.errors["bank_statement"], multiple: true }))));
|
|
29
30
|
}
|
|
30
31
|
};
|
|
31
32
|
|
|
@@ -34,7 +35,7 @@ const BankAccountFormInputs = class {
|
|
|
34
35
|
index.registerInstance(this, hostRef);
|
|
35
36
|
}
|
|
36
37
|
render() {
|
|
37
|
-
return (index.h("div", { key: '
|
|
38
|
+
return (index.h("div", { key: 'b18e803521d67b40e4e5af03a66dcdca0b678968', class: "row gy-3" }, index.h("div", { key: 'e2e6667ffbcebb6a9aa50739814e7bbebceaabfa', class: "col-12" }, index.h("form-control-text", { key: 'e1ad63fb7db32dbb6ed67cf18919c681d6d192ef', name: "bank_name", label: "Bank Name", defaultValue: this.defaultValue.bank_name, errorText: this.errors.bank_name, inputHandler: this.inputHandler, disabled: this.formDisabled })), index.h("div", { key: '54db821813e7eb931b8f19fad7fce976cdeb0045', class: "col-12" }, index.h("form-control-text", { key: '4ecf222c1918e364f319d07e0a770d68dba099d0', name: "nickname", label: "Nickname", defaultValue: this.defaultValue.nickname, errorText: this.errors.nickname, inputHandler: this.inputHandler, disabled: this.formDisabled })), index.h("div", { key: 'a92c38f2abbcb3dcaee4bc5ea73df44b31adc3f9', class: "col-12" }, index.h("form-control-text", { key: '492ff1a4d1e9c4f2fa9d0e527a34dc5ccb09afe6', name: "account_owner_name", label: "Account Owner Name", defaultValue: this.defaultValue.account_owner_name, errorText: this.errors.account_owner_name, inputHandler: this.inputHandler, disabled: this.formDisabled })), index.h("div", { key: '8e14e6e3de43822d139085d3a05bfd0e7ae5b1be', class: "col-12" }, index.h("form-control-select", { key: 'f6648b6f7c4a475f88b849bf3a75d446bb539c69', name: "account_type", label: "Account Type", options: businessFormOptions.bankAccountTypeOptions, defaultValue: this.defaultValue.account_type, errorText: this.errors.account_type, inputHandler: this.inputHandler, disabled: this.formDisabled })), index.h("div", { key: '68a2efc082f5b6414ebde10b6da4365677dbefca', class: "col-12" }, index.h("form-control-text", { key: '3ef9b3db5882063708ccf1eb282f3e90ed53ce82', name: "account_number", label: "Account Number", defaultValue: this.defaultValue.account_number, maxLength: 17, errorText: this.errors.account_number, inputHandler: this.inputHandler, keyDownHandler: utils.numberOnlyHandler, disabled: this.formDisabled, helpText: "Please copy the account number as shown on your statement/check. Do not include spaces or dashes." })), index.h("div", { key: 'e3270db28269bc25dd4d5a99274f042c1efd1fc6', class: "col-12" }, index.h("form-control-text", { key: 'a8e801f65a4cc164cdc7bf186fed67f87abc828f', name: "routing_number", label: "Routing Number", defaultValue: this.defaultValue.routing_number, maxLength: 9, errorText: this.errors.routing_number, inputHandler: this.inputHandler, keyDownHandler: utils.numberOnlyHandler, disabled: this.formDisabled, helpText: "A valid routing number is nine digits. Please include any leading or trailing zeroes." }))));
|
|
38
39
|
}
|
|
39
40
|
};
|
|
40
41
|
|
|
@@ -98,10 +99,10 @@ const FileInput = class {
|
|
|
98
99
|
return part;
|
|
99
100
|
}
|
|
100
101
|
render() {
|
|
101
|
-
return (index.h(index.Host, { key: '
|
|
102
|
+
return (index.h(index.Host, { key: 'd2a65bf95224f0c7a4ee68d926e2895df0a3503d' }, index.h("div", { key: '522a1224df863e600dfa574642cc93716c11280f', class: "form-group d-flex flex-column" }, index.h("div", { key: 'a7d95e45e7faac780142ae5a0cdf6eb6bf23012b', class: "d-flex align-items-start gap-2" }, index.h("label", { key: '19d0d2c0282d443b36e6a817c622e2015f1d636e', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h("form-control-tooltip", { key: '52ecd0a5185ea7cedb5b13de82b3e66eb8252915', helpText: this.helpText })), index.h("input", { key: '1414537ee264cbbc7e69edb38911401c6de29717', ref: (el) => this.fileInput = el, type: "file", name: this.name, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onChange: this.changeHandler, onInput: this.handleFormControlInput, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
102
103
|
this.isFocused = false;
|
|
103
104
|
this.formControlBlur.emit();
|
|
104
|
-
} }), index.h(formControlErrorText.FormControlErrorText, { key: '
|
|
105
|
+
} }), index.h(formControlErrorText.FormControlErrorText, { key: 'de236bb9de009da258b2780c6097bf8f7101bd18', errorText: this.errorText, name: this.name }))));
|
|
105
106
|
}
|
|
106
107
|
get el() { return index.getElement(this); }
|
|
107
108
|
};
|