@justifi/webcomponents 5.7.2 → 5.7.3-rc-01
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-hqYwYpQq.js → Analytics-DYN4hp2b.js} +25 -24
- package/dist/cjs/{Api-Dp4CW5K6.js → Api-BTdkb3Zh.js} +1 -1
- package/dist/cjs/{Checkout-TZnRz3-3.js → Checkout-BsYZoJ0a.js} +1 -3
- package/dist/cjs/{ComponentError-C4MdBBMe.js → ComponentError-CEv9ltwy.js} +2 -0
- package/dist/cjs/Document-rXGBUaOh.js +58 -0
- package/dist/cjs/{Document-Qt0qiXeh.js → Payment-D5UynU2f.js} +0 -56
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
- package/dist/cjs/{badge-BxoJOyTJ.js → badge-sO_Hcamo.js} +1 -1
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +11 -10
- package/dist/cjs/{bank-account-form_9.cjs.entry.js → bank-account-form_7.cjs.entry.js} +30 -200
- package/dist/cjs/billing-form-schema-oZ4GROWP.js +26 -0
- package/dist/cjs/{business-additional-questions-schema-JlysTRE3.js → business-additional-questions-schema-CHOaeZot.js} +6 -6
- package/dist/cjs/business-details-core.cjs.entry.js +4 -4
- package/dist/cjs/{business-identity-schema-BksYFWls.js → business-identity-schema-DmpEndsx.js} +10 -10
- package/dist/cjs/{business.service-DMIMZpx4.js → business.service-ev-3rHag.js} +5 -4
- package/dist/cjs/{button-BPFSRx4d.js → button-CCZd8WSY.js} +1 -1
- package/dist/cjs/checkout-actions-CRbQgLn0.js +61 -0
- package/dist/cjs/{checkout.service-DKH8NODe.js → checkout.service-D4hTYr1i.js} +5 -4
- package/dist/cjs/checkout.store-osqdxFMq.js +29 -0
- package/dist/cjs/checkouts-list-core.cjs.entry.js +13 -12
- package/dist/cjs/{checkouts-list-params-state-BvG5Ysrg.js → checkouts-list-params-state-fVsfZZ5G.js} +1 -1
- package/dist/cjs/{checkouts-table-Cj2iSB_P.js → checkouts-table-C1Jv_A7m.js} +2 -2
- package/dist/cjs/{config-state-D7p-XunE.js → config-state-BTfJl-LU.js} +1 -1
- package/dist/cjs/custom-popper_4.cjs.entry.js +8 -8
- package/dist/cjs/{dispute.service-8j6tLV4i.js → dispute.service-Dru9NStj.js} +5 -4
- package/dist/cjs/{index.esm-CVuJLXJZ.js → form-CWW8IM-X.js} +10509 -10509
- package/dist/cjs/form-alert_5.cjs.entry.js +1 -1
- 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-D9XDyFoW.js → form-control-error-text-DPDsFdAT.js} +1 -1
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
- package/dist/cjs/{form-control-help-text-J_boqSMc.js → form-control-help-text-CT5HzEnX.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 +3 -3
- package/dist/cjs/form-control-monetary.cjs.entry.js +5 -5
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +4 -4
- 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/{get-business-BJrtsomz.js → get-business-BiEc-jdH.js} +2 -2
- package/dist/cjs/{get-payment-details-MM1u5jMc.js → get-payment-details-AOibpML7.js} +7 -6
- package/dist/cjs/{get-payout-csv-CXEQkjDm.js → get-payout-csv-CdNRRH0t.js} +2 -2
- package/dist/cjs/{get-subaccounts-CkjWYxIU.js → get-subaccounts-Dw7CbPDi.js} +7 -6
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +4 -4
- package/dist/cjs/{header-1-auSUfIpO.js → header-1--wdCXxjA.js} +1 -1
- package/dist/cjs/{header-3-B-bXHCpC.js → header-3-DxUQJ7TT.js} +1 -1
- package/dist/cjs/{iframe-input.cjs.entry.js → hidden-input_2.cjs.entry.js} +112 -15
- package/dist/cjs/{index-BYd8IvAa.js → index-2GwnTbNA.js} +22 -4
- package/dist/cjs/{index-B8ljHEN1.js → index-DEMVrrsF.js} +1 -1
- package/dist/cjs/{insurance-state-CFxbKNWH.js → insurance-state-BmAF1Sef.js} +2 -2
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +21 -20
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +18 -17
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +43 -43
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +85 -0
- package/dist/cjs/justifi-billing-information-form.cjs.entry.js +51 -0
- package/dist/cjs/justifi-business-details.cjs.entry.js +16 -15
- package/dist/cjs/justifi-business-form.cjs.entry.js +25 -24
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
- package/dist/cjs/justifi-card-form.cjs.entry.js +93 -0
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +9 -9
- package/dist/cjs/justifi-checkout-summary.cjs.entry.js +21 -0
- package/dist/cjs/justifi-checkout.cjs.entry.js +28 -71
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +10 -9
- 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 +15 -14
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +20 -19
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +14 -13
- package/dist/cjs/justifi-modular-checkout.cjs.entry.js +205 -0
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +19 -18
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +16 -15
- package/dist/cjs/justifi-payment-details.cjs.entry.js +16 -15
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +15 -14
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +18 -17
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payments-list.cjs.entry.js +20 -19
- package/dist/cjs/justifi-payout-details.cjs.entry.js +16 -15
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +18 -17
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +21 -20
- package/dist/cjs/justifi-postal-code-form.cjs.entry.js +50 -0
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +25 -24
- package/dist/cjs/justifi-saved-payment-methods.cjs.entry.js +31 -0
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +5 -5
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +21 -22
- package/dist/cjs/justifi-sezzle-payment-method.cjs.entry.js +80 -0
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +11 -10
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +17 -16
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +10 -9
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +19 -18
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +22 -14
- package/dist/cjs/loader.cjs.js +3 -4
- package/dist/cjs/{package-BCOEGxFC.js → package-DF9mLjoQ.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +14 -14
- package/dist/cjs/payment-method-option-utils-imuSE7KV.js +25 -0
- package/dist/cjs/{payment-provisioning-actions-BkWSDJQQ.js → payment-provisioning-actions-SNMCdsyF.js} +2 -2
- package/dist/cjs/{payment.service-CCxGhTwZ.js → payment.service-rsnscZu7.js} +5 -4
- package/dist/cjs/payments-list-core.cjs.entry.js +14 -13
- package/dist/cjs/{payments-list-params-state-BvG5Ysrg.js → payments-list-params-state-fVsfZZ5G.js} +1 -1
- package/dist/cjs/{payments-status-BTykBx8i.js → payments-status-DPqU5v9h.js} +2 -2
- package/dist/cjs/{payments-table-BR97ybd6.js → payments-table-BM3AoAJf.js} +2 -2
- package/dist/cjs/payout-details-core.cjs.entry.js +10 -10
- package/dist/cjs/{payout.service-CtphIhUK.js → payout.service-BnmI3X4n.js} +5 -4
- package/dist/cjs/payouts-list-core.cjs.entry.js +14 -13
- package/dist/cjs/{payouts-list-params-state-BvG5Ysrg.js → payouts-list-params-state-fVsfZZ5G.js} +1 -1
- package/dist/cjs/{payouts-status-YCqmbd4K.js → payouts-status-CU8aqIhH.js} +2 -2
- package/dist/cjs/{payouts-table-DMcQiC1g.js → payouts-table-1HL4kk9B.js} +2 -2
- package/dist/cjs/{schema-validations-BUor-ySb.js → schema-validations-C0BNwMBi.js} +33 -33
- package/dist/cjs/{skeleton-aMh0RMHq.js → skeleton-ByLavxr1.js} +1 -1
- package/dist/cjs/{spinner-BTyIjlMM.js → spinner-DOC4Ab7M.js} +1 -1
- package/dist/cjs/{styled-host-udkBJV5h.js → styled-host-IMxk64cc.js} +1 -1
- package/dist/cjs/{table-DKVauFHc.js → table-BgQP2M2-.js} +2 -2
- package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +13 -12
- package/dist/cjs/{terminal-orders-list-params-state-BvG5Ysrg.js → terminal-orders-list-params-state-fVsfZZ5G.js} +1 -1
- package/dist/cjs/{terminal-orders-table-D-CLcZws.js → terminal-orders-table-OxMHSAJ1.js} +7 -6
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
- package/dist/cjs/{terminal.service-Dv_WJkue.js → terminal.service--PPaq5xS.js} +5 -4
- package/dist/cjs/terminals-list-core.cjs.entry.js +13 -12
- package/dist/cjs/terminals-list-params-state-fVsfZZ5G.js +22 -0
- package/dist/cjs/{terminals-table-BEJ6sF7w.js → terminals-table-yRGsrfBw.js} +2 -2
- package/dist/cjs/{utils-l0veqT9y.js → utils-IGCnjtqc.js} +1 -1
- package/dist/cjs/{utils-5lco6NzU.js → utils-bn0fXuc-.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +4 -5
- package/dist/collection/api/BillingInformation.js +1 -0
- package/dist/collection/api/Checkout.js +1 -3
- package/dist/collection/api/ComponentError.js +2 -0
- package/dist/collection/api/PaymentMethod.js +1 -0
- package/dist/collection/collection-manifest.json +9 -2
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
- package/dist/collection/components/checkout/billing-form/billing-form.js +1 -1
- package/dist/collection/components/checkout/card-form/card-form.js +2 -2
- package/dist/collection/components/checkout/checkout.js +11 -2
- package/dist/collection/components/checkout/payment-method-options.js +3 -33
- 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/season-interruption/season-interruption-insurance.js +10 -12
- package/dist/collection/components/modular-checkout/modular-checkout.js +345 -0
- package/dist/collection/components/modular-checkout-parts/bank-account-skeleton.js +10 -0
- package/dist/collection/components/modular-checkout-parts/bank-account.js +119 -0
- package/dist/collection/components/modular-checkout-parts/billing-form-schema.js +21 -0
- package/dist/collection/components/modular-checkout-parts/billing-form.js +116 -0
- package/dist/collection/components/modular-checkout-parts/card-form-skeleton.js +10 -0
- package/dist/collection/components/modular-checkout-parts/card-form.js +123 -0
- package/dist/collection/components/modular-checkout-parts/postal-code-form.js +114 -0
- package/dist/collection/components/modular-checkout-parts/saved-payment-methods.js +23 -0
- package/dist/collection/components/modular-checkout-parts/sezzle-payment-method.js +127 -0
- package/dist/collection/components/modular-checkout-parts/summary.js +12 -0
- 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 +10 -3
- package/dist/collection/store/checkout.store.js +25 -0
- 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 +10 -5
- package/dist/docs.json +1236 -425
- package/dist/esm/{check-pkg-version-BykGn7tx.js → Analytics-DR277kvb.js} +27 -26
- package/dist/esm/{Api-cgKcLG0y.js → Api-CqimcNgb.js} +2 -2
- package/dist/esm/{Checkout-B9LrTq63.js → Checkout-CV6qgU0r.js} +2 -4
- package/dist/esm/{ComponentError-SdntD1xf.js → ComponentError-BhrFjjAs.js} +2 -0
- package/dist/esm/{Dispute-BH0Xfn-F.js → Dispute-7MWRbTXI.js} +1 -1
- package/dist/esm/Document-Ct-uNz2r.js +55 -0
- package/dist/esm/{Document-DvWsQBM6.js → Payment-BEvE6jAC.js} +3 -57
- package/dist/esm/{Refund-zZewCvey.js → Refund-CwUn_GFj.js} +1 -1
- package/dist/esm/additional-questions-details_5.entry.js +4 -4
- package/dist/esm/{badge-Du9GTXoB.js → badge-D_Q0kAPD.js} +2 -2
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +15 -14
- package/dist/esm/{bank-account-form_9.entry.js → bank-account-form_7.entry.js} +22 -190
- package/dist/esm/billing-form-schema-PFvYpvy4.js +24 -0
- package/dist/esm/{business-additional-questions-schema-CBUm3D7O.js → business-additional-questions-schema-0lssJqN7.js} +2 -2
- package/dist/esm/business-details-core.entry.js +5 -5
- package/dist/esm/{business-identity-schema-CntGz8jo.js → business-identity-schema-Bel1K5mu.js} +2 -2
- package/dist/esm/{business.service-BWivPbyO.js → business.service-BM8hLxHS.js} +7 -6
- package/dist/esm/{button-CjH5C0pG.js → button-BVAxQPpP.js} +2 -2
- package/dist/esm/checkout-actions-UQ6g1s7I.js +58 -0
- package/dist/esm/{checkout.service-Bh-Q24Cr.js → checkout.service-CuCgG9hv.js} +7 -6
- package/dist/esm/checkout.store-DQrlfeus.js +27 -0
- package/dist/esm/checkouts-list-core.entry.js +17 -16
- package/dist/esm/{checkouts-list-params-state-Bn7pL-8x.js → checkouts-list-params-state-DhPyCV-V.js} +1 -1
- package/dist/esm/{checkouts-table-DcVkD83l.js → checkouts-table-Cc6U-0md.js} +4 -4
- package/dist/esm/{config-state-CkKrqnpZ.js → config-state-BjXhUj2q.js} +1 -1
- package/dist/esm/custom-popper_4.entry.js +9 -9
- package/dist/esm/{dispute.service-1AYcALSg.js → dispute.service-rB4Hq6ot.js} +7 -6
- package/dist/esm/{index.esm-BCNUj0Dx.js → form-BjGUIqxU.js} +10509 -10509
- package/dist/esm/form-alert_5.entry.js +2 -2
- 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-tGFxd6kW.js → form-control-error-text-_SAT-ts2.js} +2 -2
- package/dist/esm/form-control-file-v2_2.entry.js +6 -6
- package/dist/esm/{form-control-help-text-2DawN8-N.js → form-control-help-text-Cjeu_VrV.js} +2 -2
- package/dist/esm/form-control-help-text.entry.js +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +4 -4
- package/dist/esm/form-control-monetary.entry.js +7 -7
- package/dist/esm/form-control-number-masked_2.entry.js +5 -5
- package/dist/esm/form-control-number.entry.js +6 -6
- package/dist/esm/form-control-radio.entry.js +4 -4
- package/dist/esm/{get-business-GEPTefIj.js → get-business-BSRtbTh7.js} +2 -2
- package/dist/esm/{get-payment-details-DXhXxFPr.js → get-payment-details-DtkGDTwo.js} +9 -8
- package/dist/esm/{get-payout-csv-D7IYYqVL.js → get-payout-csv-U_pgdPpb.js} +2 -2
- package/dist/esm/{get-subaccounts-CtHj1UM6.js → get-subaccounts-C-ENQBmY.js} +10 -9
- package/dist/esm/gross-payment-chart-core.entry.js +6 -6
- package/dist/esm/{header-1-D2gZb3iT.js → header-1-5FIT-wD7.js} +2 -2
- package/dist/esm/{header-3-DAg8Vh4B.js → header-3-Ce9WLWBm.js} +2 -2
- package/dist/esm/{iframe-input.entry.js → hidden-input_2.entry.js} +106 -10
- package/dist/esm/{index-D6FDxSyt.js → index-Bta_r52Z.js} +22 -5
- package/dist/esm/{index-Cc3u0uDC.js → index-Cf8VXyXg.js} +1 -1
- package/dist/esm/{insurance-state-CsZbKSgm.js → insurance-state-BcwZy_5w.js} +3 -3
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +17 -16
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +17 -16
- package/dist/esm/justifi-additional-statement_8.entry.js +11 -11
- package/dist/esm/justifi-bank-account-form.entry.js +83 -0
- package/dist/esm/justifi-billing-information-form.entry.js +49 -0
- package/dist/esm/justifi-business-details.entry.js +18 -17
- package/dist/esm/justifi-business-form.entry.js +25 -24
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
- package/dist/esm/justifi-card-form.entry.js +91 -0
- package/dist/esm/justifi-checkout-core.entry.js +11 -11
- package/dist/esm/justifi-checkout-summary.entry.js +19 -0
- package/dist/esm/justifi-checkout.entry.js +27 -70
- package/dist/esm/justifi-checkouts-list-filters.entry.js +14 -13
- package/dist/esm/justifi-checkouts-list.entry.js +21 -20
- 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 +16 -15
- package/dist/esm/justifi-dispute-notification_3.entry.js +22 -21
- package/dist/esm/justifi-gross-payment-chart.entry.js +16 -15
- package/dist/esm/justifi-modular-checkout.entry.js +203 -0
- package/dist/esm/justifi-order-terminals.entry.js +21 -20
- package/dist/esm/justifi-owner-form_3.entry.js +19 -18
- package/dist/esm/justifi-payment-details.entry.js +18 -17
- package/dist/esm/justifi-payment-provisioning-core.entry.js +5 -5
- package/dist/esm/justifi-payment-provisioning.entry.js +16 -15
- package/dist/esm/justifi-payment-transactions-list.entry.js +20 -19
- package/dist/esm/justifi-payments-list-filters.entry.js +8 -8
- package/dist/esm/justifi-payments-list.entry.js +21 -20
- package/dist/esm/justifi-payout-details.entry.js +18 -17
- package/dist/esm/justifi-payout-transactions-list.entry.js +20 -19
- package/dist/esm/justifi-payouts-list-filters.entry.js +8 -8
- package/dist/esm/justifi-payouts-list.entry.js +23 -22
- package/dist/esm/justifi-postal-code-form.entry.js +48 -0
- package/dist/esm/justifi-refund-payment.entry.js +21 -20
- package/dist/esm/justifi-saved-payment-methods.entry.js +29 -0
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +7 -7
- package/dist/esm/justifi-season-interruption-insurance.entry.js +22 -23
- package/dist/esm/justifi-sezzle-payment-method.entry.js +78 -0
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +15 -14
- package/dist/esm/justifi-terminal-orders-list.entry.js +19 -18
- package/dist/esm/justifi-terminals-list-filters.entry.js +14 -13
- package/dist/esm/justifi-terminals-list.entry.js +21 -20
- package/dist/esm/justifi-tokenize-payment-method.entry.js +24 -16
- package/dist/esm/loader.js +3 -4
- package/dist/esm/{package-BjMTOtI1.js → package-CyXXks-Q.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +2 -2
- package/dist/esm/{parts-BrLVc_85.js → parts-_6eQgwfE.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +16 -16
- package/dist/esm/payment-method-option-utils-8n_ALxec.js +23 -0
- package/dist/esm/{payment-provisioning-actions-BIfyW239.js → payment-provisioning-actions-2qP7AtHj.js} +2 -2
- package/dist/esm/{payment.service-2afJc31y.js → payment.service-DoUv1QsX.js} +7 -6
- package/dist/esm/payments-list-core.entry.js +18 -17
- package/dist/esm/{payments-list-params-state-Bn7pL-8x.js → payments-list-params-state-DhPyCV-V.js} +1 -1
- package/dist/esm/{payments-status-CIUXcA0w.js → payments-status-BeL2gi3P.js} +2 -2
- package/dist/esm/{payments-table-B8316Kqz.js → payments-table-MrDAlH2o.js} +4 -4
- package/dist/esm/payout-details-core.entry.js +12 -12
- package/dist/esm/{payout.service-Bd8Tc7-Q.js → payout.service-B_Fm08zQ.js} +7 -6
- package/dist/esm/payouts-list-core.entry.js +18 -17
- package/dist/esm/{payouts-list-params-state-Bn7pL-8x.js → payouts-list-params-state-DhPyCV-V.js} +1 -1
- package/dist/esm/{payouts-status-Clo03qUI.js → payouts-status-BxbhUjA3.js} +2 -2
- package/dist/esm/{payouts-table-Ip10eH4Q.js → payouts-table-HoX3UYIj.js} +4 -4
- package/dist/esm/{schema-validations-C7D5tPzq.js → schema-validations-DYV7urvw.js} +3 -3
- package/dist/esm/{skeleton-Dlpibtr0.js → skeleton-CPNYhX-V.js} +2 -2
- package/dist/esm/{spinner-onCBxbdo.js → spinner-Cl-6YJPf.js} +2 -2
- package/dist/esm/{styled-host-C7vaWLiB.js → styled-host-BSX_LSdk.js} +1 -1
- package/dist/esm/{table-p4dOlFPi.js → table-RCk8zh4L.js} +3 -3
- package/dist/esm/table-filters-menu.entry.js +4 -4
- package/dist/esm/terminal-orders-list-core.entry.js +17 -16
- package/dist/esm/{terminal-orders-list-params-state-Bn7pL-8x.js → terminal-orders-list-params-state-DhPyCV-V.js} +1 -1
- package/dist/esm/{terminal-orders-table-CCJT7oq4.js → terminal-orders-table-DxHLNkx_.js} +11 -10
- package/dist/esm/terminal-quantity-selector.entry.js +3 -3
- package/dist/esm/{terminal.service-8kwGru35.js → terminal.service-2VkdfNas.js} +7 -6
- package/dist/esm/terminals-list-core.entry.js +17 -16
- package/dist/esm/terminals-list-params-state-DhPyCV-V.js +16 -0
- package/dist/esm/{terminals-table-cMkKUVff.js → terminals-table-v-LOevYA.js} +4 -4
- package/dist/esm/{utils-BpP_VJGf.js → utils-1WrbuHVR.js} +2 -2
- package/dist/esm/{utils-Dccsn9BY.js → utils-BZvep88z.js} +1 -1
- package/dist/esm/{utils-DB5fh6Iv.js → utils-BjLkBMLe.js} +1 -1
- package/dist/esm/webcomponents.js +4 -5
- package/dist/module/{check-pkg-version.js → Analytics.js} +21 -21
- package/dist/module/Checkout.js +3 -3
- package/dist/module/additional-statement.js +1 -1
- package/dist/module/bank-account-form2.js +2 -2
- package/dist/module/billing-form-schema.js +24 -0
- package/dist/module/billing-form.js +3 -3
- package/dist/module/business-address-schema.js +1 -1
- package/dist/module/business-bank-account-form-step-core.js +1 -1
- package/dist/module/business-core-info-schema.js +1 -1
- package/dist/module/business-identity-schema.js +1 -1
- package/dist/module/button.js +1 -1
- package/dist/module/cancellation-policy.js +1 -1
- package/dist/module/card-form2.js +2 -2
- package/dist/module/checkout-actions.js +58 -0
- package/dist/module/checkout-core.js +32 -38
- package/dist/module/checkout.store.js +27 -0
- package/dist/module/checkouts-list-core2.js +2 -2
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +1 -1
- package/dist/module/dispute-management-core.js +1 -1
- package/dist/module/dispute-notification.js +1 -1
- package/dist/module/dispute-response-core.js +1 -1
- package/dist/module/dispute-response.js +2 -2
- package/dist/module/duplicate-charge.js +1 -1
- package/dist/module/electronic-evidence.js +1 -1
- package/dist/module/form-control-checkbox2.js +2 -2
- package/dist/module/form-control-date2.js +2 -2
- package/dist/module/form-control-file-v22.js +1 -1
- package/dist/module/form-control-file2.js +2 -2
- package/dist/module/form-control-monetary2.js +2 -2
- package/dist/module/form-control-number-masked2.js +2 -2
- package/dist/module/form-control-number.js +2 -2
- package/dist/module/form-control-radio2.js +2 -2
- package/dist/module/form-control-select2.js +2 -2
- package/dist/module/form-control-text2.js +2 -2
- package/dist/module/form-control-textarea2.js +2 -2
- package/dist/module/gross-payment-chart-core2.js +1 -1
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/iframe-input2.js +5 -5
- package/dist/module/justifi-bank-account-form.d.ts +11 -0
- package/dist/module/justifi-bank-account-form.js +103 -0
- package/dist/module/justifi-billing-information-form.d.ts +11 -0
- package/dist/module/justifi-billing-information-form.js +94 -0
- package/dist/module/justifi-business-details.js +1 -1
- package/dist/module/justifi-business-form.js +1 -1
- package/dist/module/justifi-card-form.d.ts +11 -0
- package/dist/module/justifi-card-form.js +111 -0
- package/dist/module/justifi-checkout-summary.d.ts +11 -0
- package/dist/module/justifi-checkout-summary.js +37 -0
- package/dist/module/justifi-checkout.js +48 -99
- package/dist/module/justifi-checkouts-list-filters.js +2 -2
- package/dist/module/justifi-checkouts-list.js +2 -2
- package/dist/module/justifi-dispute-management.js +2 -2
- package/dist/module/justifi-gross-payment-chart.js +1 -1
- package/dist/module/justifi-modular-checkout.d.ts +11 -0
- package/dist/module/justifi-modular-checkout.js +219 -0
- package/dist/module/justifi-order-terminals.js +3 -3
- package/dist/module/justifi-payment-details.js +1 -1
- package/dist/module/justifi-payment-provisioning.js +1 -1
- package/dist/module/justifi-payment-transactions-list.js +3 -3
- package/dist/module/justifi-payments-list-filters.js +3 -3
- package/dist/module/justifi-payments-list.js +2 -2
- package/dist/module/justifi-payout-details.js +1 -1
- package/dist/module/justifi-payout-transactions-list.js +3 -3
- package/dist/module/justifi-payouts-list-filters.js +3 -3
- package/dist/module/justifi-payouts-list.js +2 -2
- package/dist/module/justifi-postal-code-form.d.ts +11 -0
- package/dist/module/justifi-postal-code-form.js +86 -0
- package/dist/module/justifi-refund-payment.js +1 -1
- package/dist/module/justifi-saved-payment-methods.d.ts +11 -0
- package/dist/module/justifi-saved-payment-methods.js +58 -0
- package/dist/module/justifi-season-interruption-insurance.js +9 -11
- package/dist/module/justifi-sezzle-payment-method.js +108 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +3 -3
- package/dist/module/justifi-terminal-orders-list.js +2 -2
- package/dist/module/justifi-terminals-list-filters.js +2 -2
- package/dist/module/justifi-terminals-list.js +2 -2
- package/dist/module/justifi-tokenize-payment-method.js +41 -40
- package/dist/module/package.js +3 -3
- package/dist/module/parts.js +1 -1
- package/dist/module/payment-details-core2.js +8 -8
- package/dist/module/payment-method-option-utils.js +23 -0
- package/dist/module/payment-method-options.js +34 -51
- package/dist/module/payments-list-core2.js +2 -2
- package/dist/module/payout-details-core2.js +3 -3
- package/dist/module/payouts-list-core2.js +2 -2
- package/dist/module/product-or-service.js +1 -1
- package/dist/module/refund-policy.js +1 -1
- package/dist/module/saved-payment-method.js +2 -22
- package/dist/module/schema-validations.js +1 -1
- package/dist/module/shipping-details.js +1 -1
- package/dist/module/table-filters-menu2.js +2 -2
- package/dist/module/terminal-orders-list-core2.js +2 -2
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/terminals-list-core2.js +2 -2
- package/dist/types/api/BillingInformation.d.ts +13 -0
- package/dist/types/api/Checkout.d.ts +14 -13
- package/dist/types/api/ComponentError.d.ts +3 -1
- package/dist/types/api/PaymentMethod.d.ts +21 -0
- package/dist/types/components/checkout/checkout.d.ts +1 -0
- package/dist/types/components/checkout/payment-method-options.d.ts +0 -1
- package/dist/types/components/insurance/season-interruption/season-interruption-insurance.d.ts +2 -2
- package/dist/types/components/modular-checkout/modular-checkout.d.ts +31 -0
- package/dist/types/components/modular-checkout-parts/bank-account-skeleton.d.ts +6 -0
- package/dist/types/components/modular-checkout-parts/bank-account.d.ts +18 -0
- package/dist/types/components/modular-checkout-parts/billing-form-schema.d.ts +23 -0
- package/dist/types/components/modular-checkout-parts/billing-form.d.ts +16 -0
- package/dist/types/components/modular-checkout-parts/card-form-skeleton.d.ts +6 -0
- package/dist/types/components/modular-checkout-parts/card-form.d.ts +20 -0
- package/dist/types/components/modular-checkout-parts/postal-code-form.d.ts +16 -0
- package/dist/types/components/modular-checkout-parts/saved-payment-methods.d.ts +5 -0
- package/dist/types/components/{checkout → modular-checkout-parts}/sezzle-payment-method.d.ts +2 -8
- package/dist/types/components/modular-checkout-parts/summary.d.ts +3 -0
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +2 -2
- package/dist/types/components.d.ts +429 -22
- package/dist/types/stencil-public-runtime.d.ts +1 -1
- package/dist/types/store/checkout.store.d.ts +19 -0
- package/dist/types/ui-components/form/iframe-input.d.ts +2 -1
- package/dist/webcomponents/p-00900e52.entry.js +1 -0
- package/dist/webcomponents/p-025ae692.entry.js +1 -0
- package/dist/webcomponents/p-02e26641.entry.js +1 -0
- package/dist/webcomponents/p-04c91ec1.entry.js +1 -0
- package/dist/webcomponents/{p-bf3e8295.entry.js → p-0c13f2da.entry.js} +1 -1
- package/dist/webcomponents/p-0d5e93b3.entry.js +1 -0
- package/dist/webcomponents/{p-90c24cda.entry.js → p-15c63931.entry.js} +1 -1
- package/dist/webcomponents/p-19b5f93a.entry.js +1 -0
- package/dist/webcomponents/p-1ac365b4.entry.js +1 -0
- package/dist/webcomponents/{p-b40108c0.entry.js → p-1d59c747.entry.js} +1 -1
- package/dist/webcomponents/p-1d64d86b.entry.js +1 -0
- package/dist/webcomponents/p-20d7db42.entry.js +1 -0
- package/dist/webcomponents/p-25b310f0.entry.js +1 -0
- package/dist/webcomponents/p-271b131d.entry.js +1 -0
- package/dist/webcomponents/p-2882b4e9.entry.js +1 -0
- package/dist/webcomponents/p-2a08ba01.entry.js +1 -0
- package/dist/webcomponents/p-2f027626.entry.js +1 -0
- package/dist/webcomponents/p-2fa36c0e.entry.js +1 -0
- package/dist/webcomponents/p-379584fb.entry.js +1 -0
- package/dist/webcomponents/p-39f31e23.entry.js +1 -0
- package/dist/webcomponents/p-3b6888c5.entry.js +1 -0
- package/dist/webcomponents/p-3d62f9a5.entry.js +1 -0
- package/dist/webcomponents/p-3edd5ebd.entry.js +1 -0
- package/dist/webcomponents/p-4232760b.entry.js +1 -0
- package/dist/webcomponents/p-4be4f7b4.entry.js +1 -0
- package/dist/webcomponents/p-531738ae.entry.js +1 -0
- package/dist/webcomponents/p-54019e68.entry.js +1 -0
- package/dist/webcomponents/{p-3e94cf62.entry.js → p-584ba20d.entry.js} +1 -1
- package/dist/webcomponents/p-5bc6f1e6.entry.js +20 -0
- package/dist/webcomponents/p-5bfbb0f8.entry.js +1 -0
- package/dist/webcomponents/{p-19b9c96a.entry.js → p-5da3ba38.entry.js} +1 -1
- package/dist/webcomponents/{p-bb50155f.entry.js → p-5ea3cfca.entry.js} +1 -1
- package/dist/webcomponents/p-5f9dbaff.entry.js +1 -0
- package/dist/webcomponents/p-6b229318.entry.js +1 -0
- package/dist/webcomponents/p-6fc1ace5.entry.js +1 -0
- package/dist/webcomponents/{p-7733b67b.entry.js → p-712220f9.entry.js} +1 -1
- package/dist/webcomponents/p-716d41f2.entry.js +1 -0
- package/dist/webcomponents/p-7253f1ea.entry.js +1 -0
- package/dist/webcomponents/{p-BH0Xfn-F.js → p-7MWRbTXI.js} +1 -1
- package/dist/webcomponents/p-80b662de.entry.js +1 -0
- package/dist/webcomponents/p-82164a5e.entry.js +1 -0
- package/dist/webcomponents/p-8532c68c.entry.js +1 -0
- package/dist/webcomponents/p-8590c5df.entry.js +1 -0
- package/dist/webcomponents/p-8e555a6e.entry.js +1 -0
- package/dist/webcomponents/p-96f89c69.entry.js +1 -0
- package/dist/webcomponents/p-98a39544.entry.js +1 -0
- package/dist/webcomponents/{p-BnE7qgLh.js → p-9REosSLu.js} +1 -1
- package/dist/webcomponents/{p-1678e9e3.entry.js → p-9a17fd5a.entry.js} +1 -1
- package/dist/webcomponents/p-9a9f9c57.entry.js +1 -0
- package/dist/webcomponents/{p-D5XSsLKb.js → p-B4MIwTdb.js} +1 -1
- package/dist/webcomponents/{p-n2YROtpe.js → p-B7VsiIW-.js} +1 -1
- package/dist/webcomponents/p-B8Ovjy6S.js +1 -0
- package/dist/webcomponents/p-BE5Nvydk.js +1 -0
- package/dist/webcomponents/{p-DuYlA4lj.js → p-BEDtXmpq.js} +1 -1
- package/dist/webcomponents/p-BGHVK-vQ.js +1 -0
- package/dist/webcomponents/{p-Bk4gk-f7.js → p-BPCw4WEY.js} +1 -1
- package/dist/webcomponents/p-BSUCBhkJ.js +1 -0
- package/dist/webcomponents/{p-HBDBB6lL.js → p-BhLPwu1L.js} +1 -1
- package/dist/webcomponents/p-BhrFjjAs.js +1 -0
- package/dist/webcomponents/p-BoGb-Wsw.js +1 -0
- package/dist/webcomponents/p-Bond4qGX.js +1 -0
- package/dist/webcomponents/p-BpEw7AJl.js +1 -0
- package/dist/webcomponents/p-Bta_r52Z.js +2 -0
- package/dist/webcomponents/{p-BTS3E50C.js → p-BxfUcCXo.js} +1 -1
- package/dist/webcomponents/p-C-WgCIei.js +1 -0
- package/dist/webcomponents/p-CBs671Ol.js +1 -0
- package/dist/webcomponents/{p-l3uWWMRW.js → p-CCpqJxzB.js} +1 -1
- package/dist/webcomponents/p-CDTncSrX.js +1 -0
- package/dist/webcomponents/p-CLpgfEbx.js +1 -0
- package/dist/webcomponents/p-CRYPNa2o.js +1 -0
- package/dist/webcomponents/p-CbGBEkk3.js +1 -0
- package/dist/webcomponents/p-CeNlJX4-.js +1 -0
- package/dist/webcomponents/p-CnnRWu7z.js +1 -0
- package/dist/webcomponents/{p-C0WFYqwq.js → p-CqVelcDt.js} +1 -1
- package/dist/webcomponents/p-Ct-uNz2r.js +1 -0
- package/dist/webcomponents/{p-uSM1EMk-.js → p-Ctw40vkk.js} +1 -1
- package/dist/webcomponents/p-CvChBLtI.js +1 -0
- package/dist/webcomponents/{p-D0ptm6-3.js → p-CwHYDF33.js} +1 -1
- package/dist/webcomponents/p-CyXXks-Q.js +1 -0
- package/dist/webcomponents/p-Czro_9VO.js +1 -0
- package/dist/webcomponents/{p-Cd06j2SL.js → p-D3BIZZrc.js} +1 -1
- package/dist/webcomponents/{p-DnB1x5JE.js → p-D3SYNGyb.js} +1 -1
- package/dist/webcomponents/{p-DzFysjCc.js → p-D7js9xfx.js} +1 -1
- package/dist/webcomponents/p-DKClunJd.js +1 -0
- package/dist/webcomponents/p-DOB09NZD.js +1 -0
- package/dist/webcomponents/p-DUdzWNqB.js +1 -0
- package/dist/webcomponents/p-D_FOQEGU.js +1 -0
- package/dist/webcomponents/p-DaS3t0DL.js +1 -0
- package/dist/webcomponents/p-DddGO-XR.js +1 -0
- package/dist/webcomponents/p-Dge4w7_c.js +1 -0
- package/dist/webcomponents/p-DkWBoLsd.js +1 -0
- package/dist/webcomponents/p-DknV-QPT.js +1 -0
- package/dist/webcomponents/p-DnX5CZFd.js +1 -0
- package/dist/webcomponents/p-DuiQuWNq.js +1 -0
- package/dist/webcomponents/p-Dw6NWKHn.js +1 -0
- package/dist/webcomponents/p-DzPrenCi.js +1 -0
- package/dist/webcomponents/p-NqdaxjDT.js +1 -0
- package/dist/webcomponents/p-YDuIVoos.js +1 -0
- package/dist/webcomponents/{p-D2ZiLcDE.js → p-Yj41tobi.js} +1 -1
- package/dist/webcomponents/{p-BrLVc_85.js → p-_6eQgwfE.js} +1 -1
- package/dist/webcomponents/p-a2db11b5.entry.js +1 -0
- package/dist/webcomponents/p-a31913e3.entry.js +1 -0
- package/dist/webcomponents/p-a4d457e9.entry.js +1 -0
- package/dist/webcomponents/{p-a8119fda.entry.js → p-b3e6d27c.entry.js} +1 -1
- package/dist/webcomponents/p-b8ee41c1.entry.js +1 -0
- package/dist/webcomponents/p-bde749ac.entry.js +1 -0
- package/dist/webcomponents/{p-a136ff22.entry.js → p-be51c7c5.entry.js} +1 -1
- package/dist/webcomponents/p-bf16b11c.entry.js +1 -0
- package/dist/webcomponents/p-ce291c6a.entry.js +1 -0
- package/dist/webcomponents/p-d82b509a.entry.js +1 -0
- package/dist/webcomponents/p-d9b06582.entry.js +1 -0
- package/dist/webcomponents/p-dbc02ba8.entry.js +1 -0
- package/dist/webcomponents/p-dcad0df5.entry.js +1 -0
- package/dist/webcomponents/{p-59abf1de.entry.js → p-df2ad580.entry.js} +1 -1
- package/dist/webcomponents/p-e03630ec.entry.js +1 -0
- package/dist/webcomponents/p-e07sVz4Z.js +1 -0
- package/dist/webcomponents/p-e563df65.entry.js +1 -0
- package/dist/webcomponents/{p-57c89023.entry.js → p-e8294f7e.entry.js} +1 -1
- package/dist/webcomponents/p-ea664ada.entry.js +1 -0
- package/dist/webcomponents/p-ec9bb3f6.entry.js +1 -0
- package/dist/webcomponents/p-ecf6a315.entry.js +1 -0
- package/dist/webcomponents/{p-2c7ae3ac.entry.js → p-ef9dcfe1.entry.js} +1 -1
- package/dist/webcomponents/{p-33b23638.entry.js → p-f71b1ff0.entry.js} +1 -1
- package/dist/webcomponents/{p-99b080d9.entry.js → p-f7e24a51.entry.js} +1 -1
- package/dist/webcomponents/{p-5e467788.entry.js → p-ff223825.entry.js} +1 -1
- package/dist/webcomponents/p-hDoH7hHP.js +1 -0
- package/dist/webcomponents/p-pGzabKc7.js +1 -0
- package/dist/webcomponents/p-uLUlLQpP.js +1 -0
- package/dist/webcomponents/p-zucQG3cz.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/app-globals-V2Kpy_OQ.js +0 -5
- package/dist/cjs/iframe-input-styles-state-D9vhHzZQ.js +0 -26
- package/dist/cjs/terminals-list-params-state-BvG5Ysrg.js +0 -22
- package/dist/collection/components/checkout/sezzle-payment-method.js +0 -240
- package/dist/esm/app-globals-DQuL1Twl.js +0 -3
- package/dist/esm/iframe-input-styles-state-ibYqbF--.js +0 -23
- package/dist/esm/terminals-list-params-state-Bn7pL-8x.js +0 -16
- package/dist/module/sezzle-payment-method.js +0 -104
- package/dist/webcomponents/p-10d41e17.entry.js +0 -1
- package/dist/webcomponents/p-16d29d0b.entry.js +0 -1
- package/dist/webcomponents/p-22a0b397.entry.js +0 -1
- package/dist/webcomponents/p-292da2d4.entry.js +0 -1
- package/dist/webcomponents/p-2c8d7aa9.entry.js +0 -1
- package/dist/webcomponents/p-3368d3d5.entry.js +0 -1
- package/dist/webcomponents/p-3a979295.entry.js +0 -1
- package/dist/webcomponents/p-40f7e3af.entry.js +0 -1
- package/dist/webcomponents/p-4680f931.entry.js +0 -1
- package/dist/webcomponents/p-4a070b7a.entry.js +0 -1
- package/dist/webcomponents/p-4b51a896.entry.js +0 -1
- package/dist/webcomponents/p-4f8b9b99.entry.js +0 -1
- package/dist/webcomponents/p-57fc593a.entry.js +0 -1
- package/dist/webcomponents/p-5d81f36e.entry.js +0 -1
- package/dist/webcomponents/p-5df5aa41.entry.js +0 -1
- package/dist/webcomponents/p-639baa7d.entry.js +0 -1
- package/dist/webcomponents/p-6429afb4.entry.js +0 -1
- package/dist/webcomponents/p-6n7viK-J.js +0 -1
- package/dist/webcomponents/p-70c498d4.entry.js +0 -1
- package/dist/webcomponents/p-722c5e42.entry.js +0 -1
- package/dist/webcomponents/p-758ce5e5.entry.js +0 -20
- package/dist/webcomponents/p-77896e7b.entry.js +0 -1
- package/dist/webcomponents/p-77ac321c.entry.js +0 -1
- package/dist/webcomponents/p-7d3cf734.entry.js +0 -1
- package/dist/webcomponents/p-8183c2d1.entry.js +0 -1
- package/dist/webcomponents/p-8ad67f87.entry.js +0 -1
- package/dist/webcomponents/p-8c107267.entry.js +0 -1
- package/dist/webcomponents/p-935bbc62.entry.js +0 -1
- package/dist/webcomponents/p-93df56e1.entry.js +0 -1
- package/dist/webcomponents/p-B0cQ2RjH.js +0 -1
- package/dist/webcomponents/p-B190pN0v.js +0 -1
- package/dist/webcomponents/p-BR7flk4G.js +0 -1
- package/dist/webcomponents/p-BjMTOtI1.js +0 -1
- package/dist/webcomponents/p-C0IqfGFc.js +0 -1
- package/dist/webcomponents/p-C1sOJl-_.js +0 -1
- package/dist/webcomponents/p-C5RuuShs.js +0 -1
- package/dist/webcomponents/p-COcul8pX.js +0 -1
- package/dist/webcomponents/p-CQdeVKF8.js +0 -1
- package/dist/webcomponents/p-CaGOSFHG.js +0 -1
- package/dist/webcomponents/p-CgxzrbM_.js +0 -1
- package/dist/webcomponents/p-Cm_0sqXz.js +0 -1
- package/dist/webcomponents/p-Cs0cIpIm.js +0 -1
- package/dist/webcomponents/p-Cx60eQXT.js +0 -1
- package/dist/webcomponents/p-D4Mv5jCp.js +0 -1
- package/dist/webcomponents/p-D6FDxSyt.js +0 -2
- package/dist/webcomponents/p-DClC2nMO.js +0 -1
- package/dist/webcomponents/p-DDEz7_ad.js +0 -1
- package/dist/webcomponents/p-DJzjeg3x.js +0 -1
- package/dist/webcomponents/p-DQuL1Twl.js +0 -1
- package/dist/webcomponents/p-DR89sFne.js +0 -1
- package/dist/webcomponents/p-DVnVdicA.js +0 -1
- package/dist/webcomponents/p-DgfzEZny.js +0 -1
- package/dist/webcomponents/p-DjGTAHJM.js +0 -1
- package/dist/webcomponents/p-DniQ6yo6.js +0 -1
- package/dist/webcomponents/p-DvhDilDP.js +0 -1
- package/dist/webcomponents/p-SdntD1xf.js +0 -1
- package/dist/webcomponents/p-U30-0DaA.js +0 -1
- package/dist/webcomponents/p-_pH3Hg4P.js +0 -1
- package/dist/webcomponents/p-a0662195.entry.js +0 -1
- package/dist/webcomponents/p-a33cfcfe.entry.js +0 -1
- package/dist/webcomponents/p-a6722f44.entry.js +0 -1
- package/dist/webcomponents/p-a94952f6.entry.js +0 -1
- package/dist/webcomponents/p-abdae97a.entry.js +0 -1
- package/dist/webcomponents/p-af09b6ee.entry.js +0 -1
- package/dist/webcomponents/p-b0d3aab7.entry.js +0 -1
- package/dist/webcomponents/p-b1586aa2.entry.js +0 -1
- package/dist/webcomponents/p-c01544c3.entry.js +0 -1
- package/dist/webcomponents/p-c3c7be24.entry.js +0 -1
- package/dist/webcomponents/p-c5628e09.entry.js +0 -1
- package/dist/webcomponents/p-c5b6b76f.entry.js +0 -1
- package/dist/webcomponents/p-c6490254.entry.js +0 -1
- package/dist/webcomponents/p-cNABKY0P.js +0 -1
- package/dist/webcomponents/p-ceefc483.entry.js +0 -1
- package/dist/webcomponents/p-clwP6zk3.js +0 -1
- package/dist/webcomponents/p-d8b8b17c.entry.js +0 -1
- package/dist/webcomponents/p-e2bfdba5.entry.js +0 -1
- package/dist/webcomponents/p-e73fe424.entry.js +0 -1
- package/dist/webcomponents/p-eHhqPyVW.js +0 -1
- package/dist/webcomponents/p-f23d4fdb.entry.js +0 -1
- package/dist/webcomponents/p-ffd197c2.entry.js +0 -1
- package/dist/webcomponents/p-gZGxqQgQ.js +0 -1
- package/dist/webcomponents/p-l3o3Ndc0.js +0 -1
- package/dist/webcomponents/p-r__elyG4.js +0 -1
- package/dist/webcomponents/p-um3YdOwW.js +0 -1
- package/dist/webcomponents/p-wqUvt1PB.js +0 -1
|
@@ -1,12 +1,32 @@
|
|
|
1
|
-
import { p as packageJson } from './package-
|
|
2
|
-
import { A as Api } from './Api-
|
|
3
|
-
import './ComponentError-
|
|
4
|
-
import './Checkout-
|
|
1
|
+
import { p as packageJson } from './package-CyXXks-Q.js';
|
|
2
|
+
import { A as Api } from './Api-CqimcNgb.js';
|
|
3
|
+
import './ComponentError-BhrFjjAs.js';
|
|
4
|
+
import './Checkout-CV6qgU0r.js';
|
|
5
5
|
import './Pagination-CLHwhyvu.js';
|
|
6
|
-
import './
|
|
7
|
-
import './Refund-
|
|
6
|
+
import './Payment-BEvE6jAC.js';
|
|
7
|
+
import './Refund-CwUn_GFj.js';
|
|
8
|
+
import './Document-Ct-uNz2r.js';
|
|
8
9
|
import './Business-BCoP0TAV.js';
|
|
9
|
-
import './Dispute-
|
|
10
|
+
import './Dispute-7MWRbTXI.js';
|
|
11
|
+
|
|
12
|
+
const latestVersion = async (packageName) => {
|
|
13
|
+
const response = await fetch('https://registry.npmjs.org/' + packageName + '/latest');
|
|
14
|
+
const json = await response.json();
|
|
15
|
+
return json.version;
|
|
16
|
+
};
|
|
17
|
+
const checkPkgVersion = async () => {
|
|
18
|
+
const version = packageJson.version;
|
|
19
|
+
const packageName = packageJson.name;
|
|
20
|
+
const latest = await latestVersion(packageName);
|
|
21
|
+
// remove rc from version and everything that comes after -rc
|
|
22
|
+
const latestNotRC = latest.replace(/-rc.*/, '');
|
|
23
|
+
// checkif there's a major version difference
|
|
24
|
+
const versionParts = version.split('.');
|
|
25
|
+
const latestParts = latest.split('.');
|
|
26
|
+
if (versionParts[0] !== latestParts[0]) {
|
|
27
|
+
console.warn(`The package ${packageName} is out of date. The latest version is ${latestNotRC}. Please update.`);
|
|
28
|
+
}
|
|
29
|
+
};
|
|
10
30
|
|
|
11
31
|
const api = Api();
|
|
12
32
|
class AnalyticsService {
|
|
@@ -90,23 +110,4 @@ class JustifiAnalytics {
|
|
|
90
110
|
}
|
|
91
111
|
}
|
|
92
112
|
|
|
93
|
-
const latestVersion = async (packageName) => {
|
|
94
|
-
const response = await fetch('https://registry.npmjs.org/' + packageName + '/latest');
|
|
95
|
-
const json = await response.json();
|
|
96
|
-
return json.version;
|
|
97
|
-
};
|
|
98
|
-
const checkPkgVersion = async () => {
|
|
99
|
-
const version = packageJson.version;
|
|
100
|
-
const packageName = packageJson.name;
|
|
101
|
-
const latest = await latestVersion(packageName);
|
|
102
|
-
// remove rc from version and everything that comes after -rc
|
|
103
|
-
const latestNotRC = latest.replace(/-rc.*/, '');
|
|
104
|
-
// checkif there's a major version difference
|
|
105
|
-
const versionParts = version.split('.');
|
|
106
|
-
const latestParts = latest.split('.');
|
|
107
|
-
if (versionParts[0] !== latestParts[0]) {
|
|
108
|
-
console.warn(`The package ${packageName} is out of date. The latest version is ${latestNotRC}. Please update.`);
|
|
109
|
-
}
|
|
110
|
-
};
|
|
111
|
-
|
|
112
113
|
export { JustifiAnalytics as J, checkPkgVersion as c };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { w as waitForConfig, c as configState } from './config-state-
|
|
2
|
-
import { g as generateId } from './utils-
|
|
1
|
+
import { w as waitForConfig, c as configState } from './config-state-BjXhUj2q.js';
|
|
2
|
+
import { g as generateId } from './utils-BjLkBMLe.js';
|
|
3
3
|
|
|
4
4
|
const Api = () => {
|
|
5
5
|
async function getAuthorizationHeader(authToken) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as formatCurrency } from './utils-
|
|
1
|
+
import { f as formatCurrency } from './utils-BjLkBMLe.js';
|
|
2
2
|
|
|
3
3
|
class Completion {
|
|
4
4
|
constructor(data) {
|
|
@@ -51,7 +51,7 @@ class Checkout {
|
|
|
51
51
|
return ICheckoutPaymentMode.unknown;
|
|
52
52
|
}
|
|
53
53
|
const sortedCompletions = this.completions.sort((a, b) => {
|
|
54
|
-
return new Date(b.updated_at).getTime() - new Date(a.updated_at).getTime();
|
|
54
|
+
return (new Date(b.updated_at).getTime() - new Date(a.updated_at).getTime());
|
|
55
55
|
});
|
|
56
56
|
const lastCompletion = sortedCompletions[0];
|
|
57
57
|
if (lastCompletion.payment_mode) {
|
|
@@ -65,11 +65,9 @@ class Checkout {
|
|
|
65
65
|
}
|
|
66
66
|
return paymentMode;
|
|
67
67
|
}
|
|
68
|
-
;
|
|
69
68
|
formattedPaymentAmount(amount) {
|
|
70
69
|
return formatCurrency(amount, this.payment_currency);
|
|
71
70
|
}
|
|
72
|
-
;
|
|
73
71
|
}
|
|
74
72
|
var ICheckoutPaymentMode;
|
|
75
73
|
(function (ICheckoutPaymentMode) {
|
|
@@ -6,10 +6,12 @@ var ComponentErrorCodes;
|
|
|
6
6
|
ComponentErrorCodes["POST_ERROR"] = "post-error";
|
|
7
7
|
ComponentErrorCodes["UNKNOWN_ERROR"] = "unknown-error";
|
|
8
8
|
ComponentErrorCodes["TOKENIZE_ERROR"] = "tokenize-error";
|
|
9
|
+
ComponentErrorCodes["COMPLETE_CHECKOUT_ERROR"] = "complete-checkout-error";
|
|
9
10
|
ComponentErrorCodes["NOT_AUTHENTICATED"] = "not-authenticated";
|
|
10
11
|
ComponentErrorCodes["INVALID_PARAMETER"] = "invalid-parameter";
|
|
11
12
|
ComponentErrorCodes["PROVISIONING_REQUESTED"] = "provisioning-already-requested";
|
|
12
13
|
ComponentErrorCodes["INVALID_REFUND_AMOUNT"] = "invalid-refund-amount";
|
|
14
|
+
ComponentErrorCodes["VALIDATION_ERROR"] = "validation-error";
|
|
13
15
|
})(ComponentErrorCodes || (ComponentErrorCodes = {}));
|
|
14
16
|
var ComponentErrorSeverity;
|
|
15
17
|
(function (ComponentErrorSeverity) {
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
var EntityDocumentType;
|
|
2
|
+
(function (EntityDocumentType) {
|
|
3
|
+
EntityDocumentType["voidedCheck"] = "voided_check";
|
|
4
|
+
EntityDocumentType["balanceSheet"] = "balance_sheet";
|
|
5
|
+
EntityDocumentType["bankStatement"] = "bank_statement";
|
|
6
|
+
EntityDocumentType["governmentId"] = "government_id";
|
|
7
|
+
EntityDocumentType["profitAndLossStatement"] = "profit_and_loss_statement";
|
|
8
|
+
EntityDocumentType["taxReturn"] = "tax_return";
|
|
9
|
+
EntityDocumentType["other"] = "other";
|
|
10
|
+
})(EntityDocumentType || (EntityDocumentType = {}));
|
|
11
|
+
var EntityDocumentStatus;
|
|
12
|
+
(function (EntityDocumentStatus) {
|
|
13
|
+
EntityDocumentStatus["pending"] = "pending";
|
|
14
|
+
EntityDocumentStatus["uploaded"] = "uploaded";
|
|
15
|
+
EntityDocumentStatus["canceled"] = "canceled";
|
|
16
|
+
EntityDocumentStatus["needed"] = "needed";
|
|
17
|
+
})(EntityDocumentStatus || (EntityDocumentStatus = {}));
|
|
18
|
+
class EntityDocumentStorage {
|
|
19
|
+
constructor() {
|
|
20
|
+
this.voided_check = [];
|
|
21
|
+
this.balance_sheet = [];
|
|
22
|
+
this.bank_statement = [];
|
|
23
|
+
this.government_id = [];
|
|
24
|
+
this.profit_and_loss_statement = [];
|
|
25
|
+
this.tax_return = [];
|
|
26
|
+
this.other = [];
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
class EntityDocument {
|
|
30
|
+
constructor(fileData, business_id) {
|
|
31
|
+
this.file = fileData.file;
|
|
32
|
+
this.fileString = this.getFileString();
|
|
33
|
+
this.document_type = fileData.document_type;
|
|
34
|
+
this.presigned_url = null;
|
|
35
|
+
this.record_data = {
|
|
36
|
+
business_id: business_id,
|
|
37
|
+
document_type: this.document_type,
|
|
38
|
+
file_name: this.file.name,
|
|
39
|
+
file_type: this.file.type,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
getFileString() {
|
|
43
|
+
let reader = new FileReader();
|
|
44
|
+
reader.onload = (e) => {
|
|
45
|
+
this.fileString = e.target.result;
|
|
46
|
+
};
|
|
47
|
+
reader.readAsDataURL(this.file);
|
|
48
|
+
return this.fileString;
|
|
49
|
+
}
|
|
50
|
+
setPresignedUrl(url) {
|
|
51
|
+
this.presigned_url = url;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export { EntityDocumentType as E, EntityDocumentStorage as a, EntityDocument as b };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as formatCurrency } from './utils-
|
|
2
|
-
import {
|
|
1
|
+
import { f as formatCurrency } from './utils-BjLkBMLe.js';
|
|
2
|
+
import { D as DisputeStatus } from './Dispute-7MWRbTXI.js';
|
|
3
3
|
|
|
4
4
|
var CaptureStrategy;
|
|
5
5
|
(function (CaptureStrategy) {
|
|
@@ -146,58 +146,4 @@ class Payment {
|
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
-
|
|
150
|
-
(function (EntityDocumentType) {
|
|
151
|
-
EntityDocumentType["voidedCheck"] = "voided_check";
|
|
152
|
-
EntityDocumentType["balanceSheet"] = "balance_sheet";
|
|
153
|
-
EntityDocumentType["bankStatement"] = "bank_statement";
|
|
154
|
-
EntityDocumentType["governmentId"] = "government_id";
|
|
155
|
-
EntityDocumentType["profitAndLossStatement"] = "profit_and_loss_statement";
|
|
156
|
-
EntityDocumentType["taxReturn"] = "tax_return";
|
|
157
|
-
EntityDocumentType["other"] = "other";
|
|
158
|
-
})(EntityDocumentType || (EntityDocumentType = {}));
|
|
159
|
-
var EntityDocumentStatus;
|
|
160
|
-
(function (EntityDocumentStatus) {
|
|
161
|
-
EntityDocumentStatus["pending"] = "pending";
|
|
162
|
-
EntityDocumentStatus["uploaded"] = "uploaded";
|
|
163
|
-
EntityDocumentStatus["canceled"] = "canceled";
|
|
164
|
-
EntityDocumentStatus["needed"] = "needed";
|
|
165
|
-
})(EntityDocumentStatus || (EntityDocumentStatus = {}));
|
|
166
|
-
class EntityDocumentStorage {
|
|
167
|
-
constructor() {
|
|
168
|
-
this.voided_check = [];
|
|
169
|
-
this.balance_sheet = [];
|
|
170
|
-
this.bank_statement = [];
|
|
171
|
-
this.government_id = [];
|
|
172
|
-
this.profit_and_loss_statement = [];
|
|
173
|
-
this.tax_return = [];
|
|
174
|
-
this.other = [];
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
class EntityDocument {
|
|
178
|
-
constructor(fileData, business_id) {
|
|
179
|
-
this.file = fileData.file;
|
|
180
|
-
this.fileString = this.getFileString();
|
|
181
|
-
this.document_type = fileData.document_type;
|
|
182
|
-
this.presigned_url = null;
|
|
183
|
-
this.record_data = {
|
|
184
|
-
business_id: business_id,
|
|
185
|
-
document_type: this.document_type,
|
|
186
|
-
file_name: this.file.name,
|
|
187
|
-
file_type: this.file.type,
|
|
188
|
-
};
|
|
189
|
-
}
|
|
190
|
-
getFileString() {
|
|
191
|
-
let reader = new FileReader();
|
|
192
|
-
reader.onload = (e) => {
|
|
193
|
-
this.fileString = e.target.result;
|
|
194
|
-
};
|
|
195
|
-
reader.readAsDataURL(this.file);
|
|
196
|
-
return this.fileString;
|
|
197
|
-
}
|
|
198
|
-
setPresignedUrl(url) {
|
|
199
|
-
this.presigned_url = url;
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
export { EntityDocumentType as E, Payment as P, EntityDocumentStorage as a, EntityDocument as b, PaymentMethodTypes as c };
|
|
149
|
+
export { Payment as P, PaymentMethodTypes as a };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
2
|
-
import { c as DetailItem, D as DetailSectionTitle } from './utils-
|
|
3
|
-
import {
|
|
4
|
-
import './parts-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-Bta_r52Z.js';
|
|
2
|
+
import { c as DetailItem, D as DetailSectionTitle } from './utils-1WrbuHVR.js';
|
|
3
|
+
import { m as isEmptyObject, i as snakeCaseToHumanReadable, n as formatMediumDate } from './utils-BjLkBMLe.js';
|
|
4
|
+
import './parts-_6eQgwfE.js';
|
|
5
5
|
import './_commonjsHelpers-BFTU3MAI.js';
|
|
6
6
|
|
|
7
7
|
const AdditionalQuestionsDetails = class {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { h } from './index-
|
|
2
|
-
import {
|
|
1
|
+
import { h } from './index-Bta_r52Z.js';
|
|
2
|
+
import { y as badgeDark, z as badgeLight, A as badgeInfo, B as badgeWarning, C as badgeDanger, D as badgeSuccess, E as badgeSecondary, F as badgePrimary, G as badge } from './parts-_6eQgwfE.js';
|
|
3
3
|
|
|
4
4
|
var BadgeVariant;
|
|
5
5
|
(function (BadgeVariant) {
|
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, c as createEvent,
|
|
2
|
-
import './config-state-
|
|
3
|
-
import {
|
|
4
|
-
import './ComponentError-
|
|
5
|
-
import './Checkout-
|
|
1
|
+
import { r as registerInstance, h, H as Host, c as createEvent, a as getElement } from './index-Bta_r52Z.js';
|
|
2
|
+
import './config-state-BjXhUj2q.js';
|
|
3
|
+
import { i as snakeCaseToHumanReadable, d as formatDate, j as formatTimeSeconds } from './utils-BjLkBMLe.js';
|
|
4
|
+
import './ComponentError-BhrFjjAs.js';
|
|
5
|
+
import './Checkout-CV6qgU0r.js';
|
|
6
6
|
import './Pagination-CLHwhyvu.js';
|
|
7
|
-
import
|
|
8
|
-
import './Refund-
|
|
7
|
+
import './Payment-BEvE6jAC.js';
|
|
8
|
+
import './Refund-CwUn_GFj.js';
|
|
9
|
+
import { E as EntityDocumentType } from './Document-Ct-uNz2r.js';
|
|
9
10
|
import './Business-BCoP0TAV.js';
|
|
10
|
-
import './Dispute-
|
|
11
|
+
import './Dispute-7MWRbTXI.js';
|
|
11
12
|
import { c as bankAccountTypeOptions } from './business-form-options-CgssATyg.js';
|
|
12
13
|
import './event-types-XYgDHrVL.js';
|
|
13
14
|
import { n as numberOnlyHandler } from './utils-BnjCmwMr.js';
|
|
14
|
-
import {
|
|
15
|
-
import { S as Skeleton } from './skeleton-
|
|
15
|
+
import { Z as card, x as heading2, ak as table, I as tableHeadCell, al as tableCell, c as input, l as label, b as inputInvalid, T as inputDisabled, a as inputFocused } from './parts-_6eQgwfE.js';
|
|
16
|
+
import { S as Skeleton } from './skeleton-CPNYhX-V.js';
|
|
16
17
|
import './event-types-CZfYo5-1.js';
|
|
17
|
-
import { F as FormControlErrorText } from './form-control-error-text-
|
|
18
|
-
import './index-
|
|
18
|
+
import { F as FormControlErrorText } from './form-control-error-text-_SAT-ts2.js';
|
|
19
|
+
import './index-Cf8VXyXg.js';
|
|
19
20
|
import './_commonjsHelpers-BFTU3MAI.js';
|
|
20
21
|
import './helpers-Mu7LQT-w.js';
|
|
21
22
|
import './state-options-BX8GieXu.js';
|
|
@@ -98,10 +99,10 @@ const FileInput = class {
|
|
|
98
99
|
return part;
|
|
99
100
|
}
|
|
100
101
|
render() {
|
|
101
|
-
return (h(Host, { key: '
|
|
102
|
+
return (h(Host, { key: '329fd1cedefedb6bd17acfbb30adfefecefb19ca' }, h("div", { key: 'abdd1db599e47f367bc56008386026361ee8aa3b', class: "form-group d-flex flex-column" }, h("div", { key: '9306d438e038947b68cc3b8b2faa2ab412fab203', class: "d-flex align-items-start gap-2" }, h("label", { key: '164c4e92e01d5219013623d0edaa3c96a814ff6c', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '2d7fe58881cfa259f3d2ba8edbc6f07411ea26c6', helpText: this.helpText })), h("input", { key: '1964930b98527640df99e1e22b6322e0627bc668', 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
|
-
} }), h(FormControlErrorText, { key: '
|
|
105
|
+
} }), h(FormControlErrorText, { key: '02ffabfccf4e06936e0ed44fe2ad715f7f44fe3f', errorText: this.errorText, name: this.name }))));
|
|
105
106
|
}
|
|
106
107
|
get el() { return getElement(this); }
|
|
107
108
|
};
|
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import { h, r as registerInstance, H as Host, c as createEvent } from './index-
|
|
2
|
-
import { S as Skeleton } from './skeleton-
|
|
3
|
-
import { w as waitForConfig, c as configState } from './config-state-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { H as Header3 } from './header-3-DAg8Vh4B.js';
|
|
1
|
+
import { h, r as registerInstance, H as Host, c as createEvent } from './index-Bta_r52Z.js';
|
|
2
|
+
import { S as Skeleton } from './skeleton-CPNYhX-V.js';
|
|
3
|
+
import { w as waitForConfig, c as configState } from './config-state-BjXhUj2q.js';
|
|
4
|
+
import { c as create$3, F as FormController } from './form-BjGUIqxU.js';
|
|
5
|
+
import { p as postalValidation, s as stateValidation, c as cityValidation, l as lineTwoValidation, a as lineOneValidation, i as identityNameValidation } from './schema-validations-DYV7urvw.js';
|
|
6
|
+
import { d as billingForm, r as radioListItem } from './parts-_6eQgwfE.js';
|
|
7
|
+
import { H as Header3 } from './header-3-Ce9WLWBm.js';
|
|
9
8
|
import './event-types-CZfYo5-1.js';
|
|
10
9
|
import { n as numberOnlyHandler } from './utils-BnjCmwMr.js';
|
|
11
10
|
import { S as StateOptions } from './state-options-BX8GieXu.js';
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import './index-
|
|
11
|
+
import { a as PaymentMethodTypes } from './Payment-BEvE6jAC.js';
|
|
12
|
+
import { P as PaymentMethodOption, C as CardBrandLabels } from './payment-method-option-utils-8n_ALxec.js';
|
|
13
|
+
import './index-Cf8VXyXg.js';
|
|
15
14
|
import './_commonjsHelpers-BFTU3MAI.js';
|
|
16
15
|
import './business-form-options-CgssATyg.js';
|
|
17
16
|
import './Business-BCoP0TAV.js';
|
|
18
17
|
import './helpers-Mu7LQT-w.js';
|
|
19
|
-
import './
|
|
18
|
+
import './Document-Ct-uNz2r.js';
|
|
19
|
+
import './utils-BjLkBMLe.js';
|
|
20
|
+
import './Dispute-7MWRbTXI.js';
|
|
20
21
|
|
|
21
22
|
const BankAccountFormSkeleton = (props) => {
|
|
22
23
|
const { isReady } = props;
|
|
@@ -65,10 +66,10 @@ const BankAccountForm = class {
|
|
|
65
66
|
return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
66
67
|
}
|
|
67
68
|
render() {
|
|
68
|
-
return (h(Host, { key: '
|
|
69
|
+
return (h(Host, { key: 'cdddf967e7142731f3b5aef31bfc3d004ce97733' }, h(BankAccountFormSkeleton, { key: '5eafa58bd31bbbd5ff5ca90a036fc696f7bd05fb', isReady: this.isReady }), h("div", { key: 'c8486e0337df9a61bd1979014f3de53eef22b071', class: "container-fluid p-0", style: {
|
|
69
70
|
opacity: this.isReady ? '1' : '0',
|
|
70
71
|
height: this.isReady ? 'auto' : '0',
|
|
71
|
-
} }, h("div", { key: '
|
|
72
|
+
} }, h("div", { key: '3db2146e4d770c024efab6e777dbfa4ace26f23a', class: "row mb-3" }, h("iframe-input", { key: '5f9da4873119c1a1e771c7663b98e283766a37a1', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber` })), h("div", { key: '7ed20c940afd5ffc4348e4102a4cfd351d8e2198', class: "row" }, h("iframe-input", { key: '0667de245764f1d9181682beb674c4a376447a68', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber` })))));
|
|
72
73
|
}
|
|
73
74
|
};
|
|
74
75
|
|
|
@@ -127,87 +128,10 @@ const CardForm = class {
|
|
|
127
128
|
return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
128
129
|
}
|
|
129
130
|
render() {
|
|
130
|
-
return (h(Host, { key: '
|
|
131
|
+
return (h(Host, { key: 'c43351c7ab1eb6bf413f162634f55007798bb076' }, h(CardFormSkeleton, { key: 'f0a29497de2270108868e892d666b552dea27a1e', isReady: this.isReady }), h("div", { key: '2734b111c1f2f2275435d2141445ac30482946be', class: "container-fluid p-0", style: {
|
|
131
132
|
opacity: this.isReady ? '1' : '0',
|
|
132
133
|
height: this.isReady ? 'auto' : '0',
|
|
133
|
-
} }, h("div", { key: '
|
|
134
|
-
}
|
|
135
|
-
};
|
|
136
|
-
|
|
137
|
-
const HiddenInput = class {
|
|
138
|
-
constructor(hostRef) {
|
|
139
|
-
registerInstance(this, hostRef);
|
|
140
|
-
this.isFocused = false;
|
|
141
|
-
this.errorText = '';
|
|
142
|
-
}
|
|
143
|
-
async componentDidLoad() {
|
|
144
|
-
const fontStyles = await this.getBaseFontStyles();
|
|
145
|
-
iframeInputStylesSet('fontStyles', fontStyles);
|
|
146
|
-
const focusedStyles = await this.getFocusedStyles();
|
|
147
|
-
iframeInputStylesSet('focused', focusedStyles);
|
|
148
|
-
const focusedAndInvalidStyles = await this.getFocusedAndInvalidStyles();
|
|
149
|
-
iframeInputStylesSet('focusedAndInvalid', focusedAndInvalidStyles);
|
|
150
|
-
}
|
|
151
|
-
async getBaseFontStyles() {
|
|
152
|
-
return new Promise((resolve, _reject) => {
|
|
153
|
-
setTimeout(() => {
|
|
154
|
-
const computedStyles = getComputedStyle(this.hiddenInput);
|
|
155
|
-
const styles = {
|
|
156
|
-
fontFamily: computedStyles.fontFamily,
|
|
157
|
-
fontSize: computedStyles.fontSize,
|
|
158
|
-
fontWeight: computedStyles.fontWeight,
|
|
159
|
-
lineHeight: computedStyles.lineHeight,
|
|
160
|
-
margin: computedStyles.margin,
|
|
161
|
-
padding: computedStyles.padding,
|
|
162
|
-
color: computedStyles.color,
|
|
163
|
-
};
|
|
164
|
-
resolve(styles);
|
|
165
|
-
}, 500);
|
|
166
|
-
});
|
|
167
|
-
}
|
|
168
|
-
;
|
|
169
|
-
async getFocusedStyles() {
|
|
170
|
-
return new Promise((resolve, _reject) => {
|
|
171
|
-
this.hiddenInput.focus();
|
|
172
|
-
setTimeout(() => {
|
|
173
|
-
this.hiddenInput.blur();
|
|
174
|
-
let computedStyles = getComputedStyle(this.hiddenInput);
|
|
175
|
-
resolve({
|
|
176
|
-
boxShadow: computedStyles.boxShadow,
|
|
177
|
-
border: computedStyles.border,
|
|
178
|
-
});
|
|
179
|
-
}, 500);
|
|
180
|
-
});
|
|
181
|
-
}
|
|
182
|
-
async getFocusedAndInvalidStyles() {
|
|
183
|
-
return new Promise((resolve, _reject) => {
|
|
184
|
-
this.hiddenInput.focus();
|
|
185
|
-
this.errorText = 'Error';
|
|
186
|
-
setTimeout(() => {
|
|
187
|
-
const computedStyles = getComputedStyle(this.hiddenInput);
|
|
188
|
-
const styles = {
|
|
189
|
-
boxShadow: computedStyles.boxShadow,
|
|
190
|
-
border: computedStyles.border,
|
|
191
|
-
};
|
|
192
|
-
this.hiddenInput.blur();
|
|
193
|
-
resolve(styles);
|
|
194
|
-
}, 500);
|
|
195
|
-
});
|
|
196
|
-
}
|
|
197
|
-
get part() {
|
|
198
|
-
if (this.isFocused && this.errorText) {
|
|
199
|
-
return inputInvalidAndFocused;
|
|
200
|
-
}
|
|
201
|
-
if (this.errorText) {
|
|
202
|
-
return inputInvalid;
|
|
203
|
-
}
|
|
204
|
-
if (this.isFocused) {
|
|
205
|
-
return inputFocused;
|
|
206
|
-
}
|
|
207
|
-
return input;
|
|
208
|
-
}
|
|
209
|
-
render() {
|
|
210
|
-
return (h(Host, { key: '32b302de9983db3ced26f1780bf116e63091b9ad' }, h("input", { key: 'c8fbe6dc11c8b743d307557aab107852403441ae', ref: el => this.hiddenInput = el, type: "text", class: this.errorText ? "form-control is-invalid" : "form-control", onFocus: () => this.isFocused = true, onBlur: () => this.isFocused = false, part: this.part, tabindex: "-1", style: { height: '0', opacity: '0', pointerEvents: 'none', animation: 'none' } })));
|
|
134
|
+
} }, h("div", { key: '036c359caaf8fc36fa6ba56bbcad5d01de1fe9c9', class: "mb-3" }, h("iframe-input", { key: '9baf7dc76ff18f8dee6e6cd08b93e1ba155d5cf2', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: 'cd54e4a30da50cfe5151b557fe1d92ebb483ad7e', class: "row" }, h("div", { key: '6b3e84079d606a6ffd5580deae0d6e4563d4c7ef', class: "col-4 align-content-end" }, h("iframe-input", { key: '9ea2ad1c93ca90bbb4bc7a4c83a72e8f4cc9da61', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: '9478f77f64decfcdfd77f888d54cb37f46ad8ab7', class: "col-4 align-content-end" }, h("iframe-input", { key: '43191d41eb743e0c509236ea316c1afb180b8fbb', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: '65599647fc750e6c62fb2866190ffa87689d8a5b', class: "col-4 align-content-end" }, h("iframe-input", { key: 'df367f3143aaff25ba9147698090ccbcea902cbf', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
|
|
211
135
|
}
|
|
212
136
|
};
|
|
213
137
|
|
|
@@ -269,7 +193,7 @@ const BillingForm = class {
|
|
|
269
193
|
render() {
|
|
270
194
|
const billingFormDefaultValue = this.formController.getInitialValues();
|
|
271
195
|
const showHeader = !this.isPostalOnlyMode && !this.hideAllBillingFields;
|
|
272
|
-
return (h(Host, { key: '
|
|
196
|
+
return (h(Host, { key: 'ffffb2d8a4571222645d3c47eb1e2286b8597140' }, h("div", { key: '69b4f6c623cacbf32a30a9b9f23c3de427835c25', part: billingForm, class: "mt-4", hidden: this.hideAllBillingFields }, showHeader && h(Header3, { key: '96c0781a9b3dd7c5ef0b75ac8667664fee0bd95e', text: "Billing address", class: "fs-6 fw-bold lh-lg mb-4" }), h("form", { key: '97380a90146a9732594f1c356fab952089280f99' }, h("fieldset", { key: 'fd8bbea485c10633f1d8cca62b222a8abb0d022f' }, this.legend && h("legend", { key: '8febee534a2d055093309e8f8f06078b0b35f4e4' }, this.legend), h("div", { key: '16ac8abe899cdb964d83322fa74cb00f737ab338', class: "row gy-3" }, h("div", { key: '866f73c45b807aeeea4e6addf4de5f2d3a1a232d', class: "col-12", hidden: this.isPostalOnlyMode }, h("form-control-text", { key: '1734b2aac3eb0508f9ae2e4bf41836fc5dd71cad', name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '569c0dc60b47d3e9077af401b720d7777c903bde', class: "col-12", hidden: this.isPostalOnlyMode }, h("form-control-text", { key: '74406a7f4efde53a41141a218d246408c4807fc8', name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), h("div", { key: 'a7f3b7f137b0dd6a92cce6999ef65f13bcff4a31', class: "col-12", hidden: this.isPostalOnlyMode }, h("form-control-text", { key: '8b6d28170c44af6b7701499a8a4626749d4cd36d', name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), h("div", { key: '3a9031a0ddbea7e1020c420cdd6811ea9c86b9e4', class: "col-12", hidden: this.isPostalOnlyMode }, h("form-control-text", { key: '730b395bb97c349a63f669669830cbce6ba86f83', name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), h("div", { key: '7998420d30b1957a086303862f7200f20541ead2', class: "col-12", hidden: this.isPostalOnlyMode }, h("form-control-select", { key: 'b94b623a26891646957f25e59cb03038a989eabf', name: 'address_state', label: 'State', options: StateOptions, defaultValue: billingFormDefaultValue.address_state, errorText: this.errors.address_state, inputHandler: this.inputHandler })), h("div", { key: '7b0d6eae7eb90f4b33b3e73f920b6ea25920f809', class: "col-12", hidden: this.hideAllBillingFields }, h("form-control-text", { key: '703e429c7999f5cc143c5648bd9fbdc4f5bb6ee9', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: numberOnlyHandler }))))))));
|
|
273
197
|
}
|
|
274
198
|
};
|
|
275
199
|
|
|
@@ -366,26 +290,6 @@ const NewPaymentMethod = class {
|
|
|
366
290
|
}
|
|
367
291
|
};
|
|
368
292
|
|
|
369
|
-
class PaymentMethodOption {
|
|
370
|
-
constructor(paymentMethod) {
|
|
371
|
-
this.id = paymentMethod.id;
|
|
372
|
-
this.brand = paymentMethod.brand;
|
|
373
|
-
this.acct_last_four = paymentMethod.acct_last_four;
|
|
374
|
-
this.type = snakeToCamel(paymentMethod.type);
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
var CardBrandLabels;
|
|
378
|
-
(function (CardBrandLabels) {
|
|
379
|
-
CardBrandLabels["american_express"] = "American Express";
|
|
380
|
-
CardBrandLabels["diners_club"] = "Diners Club";
|
|
381
|
-
CardBrandLabels["discover"] = "Discover";
|
|
382
|
-
CardBrandLabels["jcb"] = "JCB";
|
|
383
|
-
CardBrandLabels["mastercard"] = "Mastercard";
|
|
384
|
-
CardBrandLabels["china_unionpay"] = "UnionPay";
|
|
385
|
-
CardBrandLabels["visa"] = "Visa";
|
|
386
|
-
CardBrandLabels["unknown"] = "Unknown";
|
|
387
|
-
})(CardBrandLabels || (CardBrandLabels = {}));
|
|
388
|
-
|
|
389
293
|
const PaymentMethodOptions = class {
|
|
390
294
|
constructor(hostRef) {
|
|
391
295
|
registerInstance(this, hostRef);
|
|
@@ -402,7 +306,7 @@ const PaymentMethodOptions = class {
|
|
|
402
306
|
this.paymentMethodsChanged();
|
|
403
307
|
}
|
|
404
308
|
paymentMethodsChanged() {
|
|
405
|
-
var _a
|
|
309
|
+
var _a;
|
|
406
310
|
this.paymentMethodOptions = this.savedPaymentMethods
|
|
407
311
|
.map((paymentMethod) => new PaymentMethodOption(paymentMethod))
|
|
408
312
|
.filter((paymentMethod) => {
|
|
@@ -410,9 +314,6 @@ const PaymentMethodOptions = class {
|
|
|
410
314
|
return ((this.showCard || paymentMethod.type !== PaymentMethodTypes.card) &&
|
|
411
315
|
(this.showAch || paymentMethod.type !== PaymentMethodTypes.bankAccount));
|
|
412
316
|
});
|
|
413
|
-
if (this.showBnpl && ((_a = this.bnpl) === null || _a === void 0 ? void 0 : _a.provider) === 'sezzle' && !this.insuranceToggled) {
|
|
414
|
-
this.paymentMethodOptions.push(new PaymentMethodOption({ id: PaymentMethodTypes.sezzle }));
|
|
415
|
-
}
|
|
416
317
|
if (this.showCard) {
|
|
417
318
|
this.paymentMethodOptions.push(new PaymentMethodOption({ id: PaymentMethodTypes.card }));
|
|
418
319
|
}
|
|
@@ -420,7 +321,7 @@ const PaymentMethodOptions = class {
|
|
|
420
321
|
this.paymentMethodOptions.push(new PaymentMethodOption({ id: PaymentMethodTypes.bankAccount }));
|
|
421
322
|
}
|
|
422
323
|
if (!this.selectedPaymentMethodId) {
|
|
423
|
-
this.selectedPaymentMethodId = (
|
|
324
|
+
this.selectedPaymentMethodId = (_a = this.paymentMethodOptions[0]) === null || _a === void 0 ? void 0 : _a.id;
|
|
424
325
|
}
|
|
425
326
|
}
|
|
426
327
|
paymentMethodOptionSelected(event) {
|
|
@@ -436,11 +337,10 @@ const PaymentMethodOptions = class {
|
|
|
436
337
|
}
|
|
437
338
|
render() {
|
|
438
339
|
var _a;
|
|
439
|
-
return (h(Host, { key: '
|
|
340
|
+
return (h(Host, { key: '2d3dc8bc98cea3efbcf342a31b6883f30099b031' }, (_a = this.paymentMethodOptions) === null || _a === void 0 ? void 0 : _a.map((paymentMethodOption) => {
|
|
440
341
|
const newCard = paymentMethodOption.id === PaymentMethodTypes.card;
|
|
441
342
|
const newBankAccount = paymentMethodOption.id === PaymentMethodTypes.bankAccount;
|
|
442
343
|
const isSelected = this.selectedPaymentMethodId === paymentMethodOption.id;
|
|
443
|
-
const sezzle = paymentMethodOption.id === PaymentMethodTypes.sezzle;
|
|
444
344
|
if (newCard || newBankAccount) {
|
|
445
345
|
return (h("justifi-new-payment-method", { paymentMethodOption: paymentMethodOption, authToken: this.authToken, "account-id": this.accountId, "is-selected": isSelected, "show-card": this.showCard, "show-ach": this.showAch, paymentMethodGroupId: this.paymentMethodGroupId, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, ref: (el) => {
|
|
446
346
|
if (isSelected) {
|
|
@@ -448,13 +348,6 @@ const PaymentMethodOptions = class {
|
|
|
448
348
|
}
|
|
449
349
|
} }));
|
|
450
350
|
}
|
|
451
|
-
else if (sezzle) {
|
|
452
|
-
return (h("justifi-sezzle-payment-method", { paymentMethodOption: paymentMethodOption, "is-selected": isSelected, paymentAmount: this.paymentAmount, bnpl: this.bnpl, ref: (el) => {
|
|
453
|
-
if (isSelected) {
|
|
454
|
-
this.selectedPaymentMethodOptionRef = el;
|
|
455
|
-
}
|
|
456
|
-
} }));
|
|
457
|
-
}
|
|
458
351
|
else if (this.showSavedPaymentMethods) {
|
|
459
352
|
return (h("justifi-saved-payment-method", { paymentMethodOption: paymentMethodOption, "is-selected": isSelected, ref: (el) => {
|
|
460
353
|
if (isSelected) {
|
|
@@ -507,65 +400,4 @@ const SavedPaymentMethod = class {
|
|
|
507
400
|
}
|
|
508
401
|
};
|
|
509
402
|
|
|
510
|
-
|
|
511
|
-
display: 'inline',
|
|
512
|
-
width: '80px',
|
|
513
|
-
marginLeft: '5px',
|
|
514
|
-
marginTop: '-5px',
|
|
515
|
-
} }));
|
|
516
|
-
const SezzlePaymentMethod = class {
|
|
517
|
-
constructor(hostRef) {
|
|
518
|
-
registerInstance(this, hostRef);
|
|
519
|
-
this.paymentMethodOptionSelected = createEvent(this, "paymentMethodOptionSelected");
|
|
520
|
-
this.onPaymentMethodOptionClick = (e) => {
|
|
521
|
-
e.preventDefault();
|
|
522
|
-
this.paymentMethodOptionSelected.emit(this.paymentMethodOption);
|
|
523
|
-
};
|
|
524
|
-
this.initializeSezzleCheckout = () => {
|
|
525
|
-
let resolveSezzlePromise;
|
|
526
|
-
this.sezzlePromise = new Promise((resolve) => { resolveSezzlePromise = resolve; });
|
|
527
|
-
const bnpl = this.bnpl;
|
|
528
|
-
const amount = +this.paymentAmount; // convert to number
|
|
529
|
-
const Checkout = window.Checkout;
|
|
530
|
-
const checkout = new Checkout({
|
|
531
|
-
mode: 'popup',
|
|
532
|
-
publicKey: bnpl.provider_client_id,
|
|
533
|
-
apiMode: bnpl.provider_mode,
|
|
534
|
-
apiVersion: bnpl.provider_api_version,
|
|
535
|
-
});
|
|
536
|
-
checkout.sezzleButtonElement = this.sezzleButtonRef;
|
|
537
|
-
checkout.init({
|
|
538
|
-
onClick: function (event) {
|
|
539
|
-
event.preventDefault();
|
|
540
|
-
checkout.startCheckout({
|
|
541
|
-
checkout_url: bnpl.provider_checkout_url
|
|
542
|
-
});
|
|
543
|
-
},
|
|
544
|
-
onComplete: (event) => resolveSezzlePromise({ bnpl: event.data }),
|
|
545
|
-
onCancel: (event) => resolveSezzlePromise({ bnpl: event.data }),
|
|
546
|
-
onFailure: (event) => resolveSezzlePromise({ bnpl: event.data }),
|
|
547
|
-
});
|
|
548
|
-
this.sezzleCheckout = checkout;
|
|
549
|
-
this.installmentPlan = this.sezzleCheckout.getInstallmentPlan(amount);
|
|
550
|
-
};
|
|
551
|
-
}
|
|
552
|
-
componentDidRender() {
|
|
553
|
-
this.scriptRef.onload = () => {
|
|
554
|
-
this.sezzleButtonRef = document.createElement('button');
|
|
555
|
-
this.initializeSezzleCheckout();
|
|
556
|
-
};
|
|
557
|
-
}
|
|
558
|
-
async resolvePaymentMethod(insuranceValidation) {
|
|
559
|
-
if (!insuranceValidation.isValid) {
|
|
560
|
-
return { validationError: true };
|
|
561
|
-
}
|
|
562
|
-
this.sezzleButtonRef.click();
|
|
563
|
-
return this.sezzlePromise;
|
|
564
|
-
}
|
|
565
|
-
render() {
|
|
566
|
-
var _a, _b, _c;
|
|
567
|
-
return (h(Host, { key: '4ae50e7bbb15d0049d069edacd0d95ba7c13dbe5', class: "payment-method" }, h("script", { key: '42a0590d89626ba7a93852e421eb121626b48375', src: "https://checkout-sdk.sezzle.com/checkout.min.js", async: true, ref: (el) => (this.scriptRef = el) }), h("div", { key: '31a2a72650486c258267c6d4de3723f7afa5b063', class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick }, h("form-control-radio", { key: 'eac1adbcd82fcb4f9c440c53c40ce34af6092991', name: "paymentMethodType", value: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, checked: this.isSelected, label: h("div", null, h("div", null, "Buy now, pay later with ", sezzleLogo), this.installmentPlan && (h("small", null, h("span", null, (_b = this.installmentPlan) === null || _b === void 0 ? void 0 : _b.installments.length), "\u00A0", h("span", null, this.installmentPlan.schedule, " payments of"), "\u00A0", h("span", { class: "fw-bold" }, formatCurrency((_c = this.installmentPlan) === null || _c === void 0 ? void 0 : _c.installments[0].amountInCents))))) }))));
|
|
568
|
-
}
|
|
569
|
-
};
|
|
570
|
-
|
|
571
|
-
export { BankAccountForm as bank_account_form, CardForm as card_form, HiddenInput as hidden_input, BillingForm as justifi_billing_form, NewPaymentMethod as justifi_new_payment_method, PaymentMethodOptions as justifi_payment_method_options, SaveNewPaymentMethod as justifi_save_new_payment_method, SavedPaymentMethod as justifi_saved_payment_method, SezzlePaymentMethod as justifi_sezzle_payment_method };
|
|
403
|
+
export { BankAccountForm as bank_account_form, CardForm as card_form, BillingForm as justifi_billing_form, NewPaymentMethod as justifi_new_payment_method, PaymentMethodOptions as justifi_payment_method_options, SaveNewPaymentMethod as justifi_save_new_payment_method, SavedPaymentMethod as justifi_saved_payment_method };
|