@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,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-2GwnTbNA.js');
|
|
4
4
|
var parts = require('./parts-9jMf1erK.js');
|
|
5
|
-
var index$1 = require('./index-
|
|
5
|
+
var index$1 = require('./index-DEMVrrsF.js');
|
|
6
6
|
|
|
7
7
|
const Header2 = (props) => {
|
|
8
8
|
return index.h("h2", { class: `header-2 ${props === null || props === void 0 ? void 0 : props.class}`, part: parts.heading2 }, props.text);
|
|
@@ -1,31 +1,32 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var businessAdditionalQuestionsSchema = require('./business-additional-questions-schema-
|
|
5
|
-
var
|
|
3
|
+
var index = require('./index-2GwnTbNA.js');
|
|
4
|
+
var businessAdditionalQuestionsSchema = require('./business-additional-questions-schema-CHOaeZot.js');
|
|
5
|
+
var form = require('./form-CWW8IM-X.js');
|
|
6
6
|
var Business = require('./Business-DCRzZf0w.js');
|
|
7
7
|
var formInputMasks = require('./form-input-masks-DgXd0f4V.js');
|
|
8
8
|
var parts = require('./parts-9jMf1erK.js');
|
|
9
|
-
var skeleton = require('./skeleton-
|
|
9
|
+
var skeleton = require('./skeleton-ByLavxr1.js');
|
|
10
10
|
require('./event-types-YOY5TKUN.js');
|
|
11
11
|
var businessFormOptions = require('./business-form-options-CMII7nIK.js');
|
|
12
12
|
var eventTypes = require('./event-types-DNOUef41.js');
|
|
13
|
-
var schemaValidations = require('./schema-validations-
|
|
14
|
-
require('./config-state-
|
|
13
|
+
var schemaValidations = require('./schema-validations-C0BNwMBi.js');
|
|
14
|
+
require('./config-state-BTfJl-LU.js');
|
|
15
15
|
require('./utils-qOon0GWm.js');
|
|
16
|
-
var ComponentError = require('./ComponentError-
|
|
17
|
-
require('./Checkout-
|
|
16
|
+
var ComponentError = require('./ComponentError-CEv9ltwy.js');
|
|
17
|
+
require('./Checkout-BsYZoJ0a.js');
|
|
18
18
|
require('./Pagination-Dediz133.js');
|
|
19
|
-
|
|
19
|
+
require('./Payment-D5UynU2f.js');
|
|
20
20
|
require('./Refund-BDFOEJv_.js');
|
|
21
|
+
var Document = require('./Document-rXGBUaOh.js');
|
|
21
22
|
require('./Dispute-CruQTF6_.js');
|
|
22
23
|
var utils = require('./utils-DAyWinG2.js');
|
|
23
|
-
var button = require('./button-
|
|
24
|
-
var businessIdentitySchema = require('./business-identity-schema-
|
|
24
|
+
var button = require('./button-CCZd8WSY.js');
|
|
25
|
+
var businessIdentitySchema = require('./business-identity-schema-DmpEndsx.js');
|
|
25
26
|
var stateOptions = require('./state-options-CIT9xdTz.js');
|
|
26
27
|
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
27
28
|
require('./helpers-B5OCqlIM.js');
|
|
28
|
-
require('./index-
|
|
29
|
+
require('./index-DEMVrrsF.js');
|
|
29
30
|
|
|
30
31
|
class BankAccount {
|
|
31
32
|
constructor(data) {
|
|
@@ -157,7 +158,7 @@ const AdditionalQuestionsFormStepCore = class {
|
|
|
157
158
|
}
|
|
158
159
|
componentWillLoad() {
|
|
159
160
|
this.getBusiness && this.getData();
|
|
160
|
-
this.formController = new
|
|
161
|
+
this.formController = new form.FormController(businessAdditionalQuestionsSchema.additionalQuestionsSchema(this.allowOptionalFields));
|
|
161
162
|
}
|
|
162
163
|
componentDidLoad() {
|
|
163
164
|
this.formController.errors.subscribe(errors => {
|
|
@@ -178,7 +179,7 @@ const AdditionalQuestionsFormStepCore = class {
|
|
|
178
179
|
};
|
|
179
180
|
|
|
180
181
|
const businessBankAccountSchema = (documents, allowOptionalFields) => {
|
|
181
|
-
const schema =
|
|
182
|
+
const schema = form.create$3({
|
|
182
183
|
bank_name: schemaValidations.bankNameValidation.required('Enter bank name'),
|
|
183
184
|
nickname: schemaValidations.nicknameValidation.required('Enter nickname'),
|
|
184
185
|
account_owner_name: schemaValidations.identityNameValidation.required('Enter account owner name'),
|
|
@@ -188,7 +189,7 @@ const businessBankAccountSchema = (documents, allowOptionalFields) => {
|
|
|
188
189
|
voided_check: schemaValidations.voidedCheckValidation(documents, allowOptionalFields),
|
|
189
190
|
bank_statement: schemaValidations.bankStatementValidation(documents, allowOptionalFields)
|
|
190
191
|
});
|
|
191
|
-
const easySchema =
|
|
192
|
+
const easySchema = form.create$3({
|
|
192
193
|
bank_name: schemaValidations.bankNameValidation.nullable(),
|
|
193
194
|
nickname: schemaValidations.nicknameValidation.nullable(),
|
|
194
195
|
account_owner_name: schemaValidations.identityNameValidation.nullable(),
|
|
@@ -213,7 +214,7 @@ const BusinessBankAccountFormStepCore = class {
|
|
|
213
214
|
this.documentData = new Document.EntityDocumentStorage();
|
|
214
215
|
this.isLoading = false;
|
|
215
216
|
this.initializeFormController = () => {
|
|
216
|
-
this.formController = new
|
|
217
|
+
this.formController = new form.FormController(businessBankAccountSchema(this.existingDocuments, this.allowOptionalFields));
|
|
217
218
|
this.formController.setInitialValues(Object.assign({}, this.bankAccount));
|
|
218
219
|
this.formController.errors.subscribe(errors => {
|
|
219
220
|
this.errors = Object.assign({}, errors);
|
|
@@ -329,7 +330,7 @@ const BusinessBankAccountFormStepCore = class {
|
|
|
329
330
|
}
|
|
330
331
|
componentWillLoad() {
|
|
331
332
|
this.getBusiness && this.getData();
|
|
332
|
-
this.formController = new
|
|
333
|
+
this.formController = new form.FormController(businessBankAccountSchema(this.existingDocuments, this.allowOptionalFields));
|
|
333
334
|
}
|
|
334
335
|
componentDidLoad() {
|
|
335
336
|
this.formController.errors.subscribe(errors => {
|
|
@@ -493,7 +494,7 @@ const BusinessCoreInfoFormStepCore = class {
|
|
|
493
494
|
}
|
|
494
495
|
componentWillLoad() {
|
|
495
496
|
this.getBusiness && this.getData();
|
|
496
|
-
this.formController = new
|
|
497
|
+
this.formController = new form.FormController(businessAdditionalQuestionsSchema.businessCoreInfoSchema(this.allowOptionalFields));
|
|
497
498
|
}
|
|
498
499
|
componentDidLoad() {
|
|
499
500
|
this.formController.errors.subscribe(errors => {
|
|
@@ -696,7 +697,7 @@ const BusinessRepresentativeFormStepCore = class {
|
|
|
696
697
|
}
|
|
697
698
|
componentWillLoad() {
|
|
698
699
|
this.getBusiness && this.getData();
|
|
699
|
-
this.formController = new
|
|
700
|
+
this.formController = new form.FormController(businessIdentitySchema.identitySchema('representative', this.allowOptionalFields));
|
|
700
701
|
}
|
|
701
702
|
componentDidLoad() {
|
|
702
703
|
this.formController.errors.subscribe(errors => {
|
|
@@ -778,7 +779,7 @@ const LegalAddressFormStepCore = class {
|
|
|
778
779
|
}
|
|
779
780
|
componentWillLoad() {
|
|
780
781
|
this.getBusiness && this.getData();
|
|
781
|
-
this.formController = new
|
|
782
|
+
this.formController = new form.FormController(businessIdentitySchema.addressSchema(this.allowOptionalFields));
|
|
782
783
|
}
|
|
783
784
|
componentDidLoad() {
|
|
784
785
|
this.formController.errors.subscribe(errors => {
|
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var ComponentError = require('./ComponentError-
|
|
5
|
-
var paymentProvisioningActions = require('./payment-provisioning-actions-
|
|
6
|
-
var business_service = require('./business.service-
|
|
7
|
-
require('./config-state-
|
|
3
|
+
var index = require('./index-2GwnTbNA.js');
|
|
4
|
+
var ComponentError = require('./ComponentError-CEv9ltwy.js');
|
|
5
|
+
var paymentProvisioningActions = require('./payment-provisioning-actions-SNMCdsyF.js');
|
|
6
|
+
var business_service = require('./business.service-ev-3rHag.js');
|
|
7
|
+
require('./config-state-BTfJl-LU.js');
|
|
8
8
|
require('./utils-qOon0GWm.js');
|
|
9
|
-
require('./Checkout-
|
|
9
|
+
require('./Checkout-BsYZoJ0a.js');
|
|
10
10
|
require('./Pagination-Dediz133.js');
|
|
11
|
-
require('./
|
|
11
|
+
require('./Payment-D5UynU2f.js');
|
|
12
12
|
require('./Refund-BDFOEJv_.js');
|
|
13
|
+
require('./Document-rXGBUaOh.js');
|
|
13
14
|
require('./Business-DCRzZf0w.js');
|
|
14
15
|
require('./Dispute-CruQTF6_.js');
|
|
15
|
-
var
|
|
16
|
-
var Api = require('./Api-
|
|
16
|
+
var form = require('./form-CWW8IM-X.js');
|
|
17
|
+
var Api = require('./Api-BTdkb3Zh.js');
|
|
17
18
|
var parts = require('./parts-9jMf1erK.js');
|
|
18
19
|
var eventTypes = require('./event-types-DNOUef41.js');
|
|
19
|
-
var button = require('./button-
|
|
20
|
+
var button = require('./button-CCZd8WSY.js');
|
|
20
21
|
require('./event-types-YOY5TKUN.js');
|
|
21
|
-
require('./utils-
|
|
22
|
-
require('./index-
|
|
22
|
+
require('./utils-IGCnjtqc.js');
|
|
23
|
+
require('./index-DEMVrrsF.js');
|
|
23
24
|
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
24
25
|
require('./helpers-B5OCqlIM.js');
|
|
25
26
|
require('./state-options-CIT9xdTz.js');
|
|
@@ -248,13 +249,13 @@ const BusinessRepresentativeFormStep = class {
|
|
|
248
249
|
};
|
|
249
250
|
|
|
250
251
|
const businessTermsConditionsSchema = (allowOptionalFields) => {
|
|
251
|
-
const schema =
|
|
252
|
-
accepted:
|
|
252
|
+
const schema = form.create$3({
|
|
253
|
+
accepted: form.create$7()
|
|
253
254
|
.oneOf([true], 'You must agree to the terms and conditions to continue')
|
|
254
255
|
.required('You must agree to the terms and conditions to continue')
|
|
255
256
|
});
|
|
256
|
-
const easySchema =
|
|
257
|
-
accepted:
|
|
257
|
+
const easySchema = form.create$3({
|
|
258
|
+
accepted: form.create$7().nullable()
|
|
258
259
|
});
|
|
259
260
|
return allowOptionalFields ? easySchema : schema;
|
|
260
261
|
};
|
|
@@ -327,7 +328,7 @@ const BusinessTermsConditionsFormStep = class {
|
|
|
327
328
|
}
|
|
328
329
|
async componentWillLoad() {
|
|
329
330
|
this.api = Api.Api();
|
|
330
|
-
this.formController = new
|
|
331
|
+
this.formController = new form.FormController(businessTermsConditionsSchema(this.allowOptionalFields));
|
|
331
332
|
if (this.businessId && this.authToken) {
|
|
332
333
|
this.fetchData();
|
|
333
334
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var
|
|
3
|
+
var index = require('./index-2GwnTbNA.js');
|
|
4
|
+
var form = require('./form-CWW8IM-X.js');
|
|
5
5
|
var parts = require('./parts-9jMf1erK.js');
|
|
6
6
|
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
7
7
|
|
|
8
|
-
const AdditionalStatementSchema =
|
|
9
|
-
additional_statement:
|
|
8
|
+
const AdditionalStatementSchema = form.create$3({
|
|
9
|
+
additional_statement: form.create$6().nullable(),
|
|
10
10
|
});
|
|
11
11
|
|
|
12
12
|
var DisputeResponseFormStep;
|
|
@@ -94,7 +94,7 @@ const AdditionalStatement = class {
|
|
|
94
94
|
}
|
|
95
95
|
;
|
|
96
96
|
componentWillLoad() {
|
|
97
|
-
this.form = new
|
|
97
|
+
this.form = new form.FormController(AdditionalStatementSchema);
|
|
98
98
|
}
|
|
99
99
|
componentDidLoad() {
|
|
100
100
|
this.form.errors.subscribe(errors => {
|
|
@@ -103,13 +103,13 @@ const AdditionalStatement = class {
|
|
|
103
103
|
}
|
|
104
104
|
render() {
|
|
105
105
|
var _a, _b;
|
|
106
|
-
return (index.h("div", { key: '
|
|
106
|
+
return (index.h("div", { key: 'f407dba7be750c75d9bd3163647e62b57f7b32df' }, index.h("div", { key: '5d690bf3227112c1d6f86d956bb98dd5bb2d585d', class: "row gy-3" }, index.h("div", { key: 'e12ecbe52d9383b449cde0ffafe32b952c293ad8', class: "col-12" }, index.h("h2", { key: 'aaeeeed0024985d9be89ce02f252ef999dd9d197', class: "h5", part: parts.heading5 }, "Additional Evidence")), index.h("div", { key: 'aedfe85e833e387998815246faa21f46184ddcdb', class: "col-12" }, index.h("form-control-textarea", { key: 'affa35eb587e6b70546f18414d7436bc267c0201', label: "Is there anything else you would like to say about this dispute?", name: "additional_statement", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.additional_statement, inputHandler: this.inputHandler, errorText: this.errors.additional_statement })), index.h("div", { key: 'ec650c06058b30773dacf1c1f9cafedb526ced90', class: "col-12" }, index.h("form-control-file-v2", { key: 'd9a75a49a8ada0dfe0b2466ec03a8842c75bddf8', label: "Additional files", name: "uncategorized_file", multiple: true, helpText: "Upload any additional pieces of evidence that have not already been provided.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.uncategorized_file })))));
|
|
107
107
|
}
|
|
108
108
|
};
|
|
109
109
|
|
|
110
|
-
const CancellationPolicySchema =
|
|
111
|
-
cancellation_policy_disclosure:
|
|
112
|
-
cancellation_rebuttal:
|
|
110
|
+
const CancellationPolicySchema = form.create$3({
|
|
111
|
+
cancellation_policy_disclosure: form.create$6().nullable(),
|
|
112
|
+
cancellation_rebuttal: form.create$6().nullable(),
|
|
113
113
|
});
|
|
114
114
|
|
|
115
115
|
const CancellationPolicy = class {
|
|
@@ -128,7 +128,7 @@ const CancellationPolicy = class {
|
|
|
128
128
|
}
|
|
129
129
|
;
|
|
130
130
|
componentWillLoad() {
|
|
131
|
-
this.form = new
|
|
131
|
+
this.form = new form.FormController(CancellationPolicySchema);
|
|
132
132
|
}
|
|
133
133
|
componentDidLoad() {
|
|
134
134
|
this.form.errors.subscribe(errors => {
|
|
@@ -137,14 +137,14 @@ const CancellationPolicy = class {
|
|
|
137
137
|
}
|
|
138
138
|
render() {
|
|
139
139
|
var _a, _b, _c;
|
|
140
|
-
return (index.h("div", { key: '
|
|
140
|
+
return (index.h("div", { key: '53b8b9ca5ef0b2fbb3801aeed7c442517b54ffa8' }, index.h("div", { key: 'e122c095d856545b52d5958db10b8e982de73073', class: "row gy-3" }, index.h("div", { key: '9ddc0fa91765209b3fa393c0ebf17598af90b3b9', class: "col-12" }, index.h("h2", { key: 'a7e3001dbc2b36e20e2a1dd1d16b44a023610010', class: "h5", part: parts.heading5 }, "Cancellation Policy")), index.h("div", { key: '7b5481566998713ba87519b999e5acdf3eb0ef52', class: "col-12" }, index.h("form-control-textarea", { key: 'c67604fa2133a3ed9b5b67a7150e488673d21478', label: "Cancellation Policy Disclosure", name: "cancellation_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.cancellation_policy_disclosure, inputHandler: this.inputHandler, errorText: this.errors.cancellation_policy_disclosure })), index.h("div", { key: '4b96c57d15060a0a6c42bede64110d67be557060', class: "col-12" }, index.h("form-control-textarea", { key: '60ddac4a5c2574461dbb28281b89851d0e89600c', label: "Cancellation Rebuttal", name: "cancellation_rebuttal", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.cancellation_rebuttal, inputHandler: this.inputHandler, errorText: this.errors.cancellation_rebuttal })), index.h("div", { key: '42015bc3bbcbf208d39906d7b270776e3e90ddac', class: "col-12" }, index.h("form-control-file-v2", { key: '76365a80cd7068267a8a40c6be608a9344e884ce', label: "Upload Cancellation Policy", name: "cancellation_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.cancellation_policy })))));
|
|
141
141
|
}
|
|
142
142
|
};
|
|
143
143
|
|
|
144
|
-
const CustomerDetailsSchema =
|
|
145
|
-
customer_name:
|
|
146
|
-
customer_email_address:
|
|
147
|
-
customer_billing_address:
|
|
144
|
+
const CustomerDetailsSchema = form.create$3({
|
|
145
|
+
customer_name: form.create$6().nullable(),
|
|
146
|
+
customer_email_address: form.create$6().nullable(),
|
|
147
|
+
customer_billing_address: form.create$6().nullable(),
|
|
148
148
|
});
|
|
149
149
|
|
|
150
150
|
const CustomerDetails = class {
|
|
@@ -163,7 +163,7 @@ const CustomerDetails = class {
|
|
|
163
163
|
}
|
|
164
164
|
;
|
|
165
165
|
componentWillLoad() {
|
|
166
|
-
this.form = new
|
|
166
|
+
this.form = new form.FormController(CustomerDetailsSchema);
|
|
167
167
|
}
|
|
168
168
|
componentDidLoad() {
|
|
169
169
|
this.form.errors.subscribe(errors => {
|
|
@@ -172,13 +172,13 @@ const CustomerDetails = class {
|
|
|
172
172
|
}
|
|
173
173
|
render() {
|
|
174
174
|
var _a, _b, _c, _d, _e;
|
|
175
|
-
return (index.h("div", { key: '
|
|
175
|
+
return (index.h("div", { key: 'a8fde002d56a1c5ff7bace9e7ad8282b3e8396c1' }, index.h("div", { key: 'b1ec9e406e26de2bdb179afbfa3a9a7ad7612fe9', class: "row gy-3" }, index.h("div", { key: 'a0a31924c5cc7f0a35859899851e003eec970c50', class: "col-12" }, index.h("h2", { key: 'de62f11cc36fbf96a0a1d409cc35adba2e997bb8', class: "h5", part: parts.heading5 }, "Customer Details")), index.h("div", { key: '65cd3d78b510ad95f97dcadcbb60d91caf950f22', class: "col-12" }, index.h("form-control-text", { key: 'e539cbbac218f3d1927f3ddccca4c0c0e958eec1', label: "Full Name", name: "customer_name", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_name, inputHandler: this.inputHandler, errorText: this.errors.customer_name })), index.h("div", { key: 'a6eca53da11014123325064fe09b6df37709f113', class: "col-12" }, index.h("form-control-text", { key: '9b874331a62dffb2f00af002b0637fdd0f1a8d2c', label: "Email", name: "customer_email_address", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.customer_email_address, inputHandler: this.inputHandler, errorText: this.errors.customer_email_address })), index.h("div", { key: '69be313a715c3fe9a78ecffaca75b3a4dff5bed2', class: "col-12" }, index.h("form-control-textarea", { key: 'e366f5ebed7a117c2e1f4e1c3c3a740aa9e5475a', label: "Billing Address", name: "customer_billing_address", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.customer_billing_address, inputHandler: this.inputHandler, errorText: this.errors.customer_billing_address })), index.h("div", { key: '3b177078766a8b04f3de68889cb991b23c15752c', class: "col-12" }, index.h("form-control-file-v2", { key: '0d2cc6edded1211028460ef506ef470d14a09718', label: "Customer Signature", name: "customer_signature", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.customer_signature })), index.h("div", { key: '4a624251414dcfad4b5e2b6d34b99dc2ef9b59dc', class: "col-12" }, index.h("form-control-file-v2", { key: '442dc7cc2f851879ebb1504d761e2315c6f45141', label: "Customer Communication", name: "customer_communication", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.customer_communication })))));
|
|
176
176
|
}
|
|
177
177
|
};
|
|
178
178
|
|
|
179
|
-
const DuplicateChargeSchema =
|
|
180
|
-
duplicate_charge_original_payment_id:
|
|
181
|
-
duplicate_charge_explanation:
|
|
179
|
+
const DuplicateChargeSchema = form.create$3({
|
|
180
|
+
duplicate_charge_original_payment_id: form.create$6().nullable(),
|
|
181
|
+
duplicate_charge_explanation: form.create$6().nullable(),
|
|
182
182
|
});
|
|
183
183
|
|
|
184
184
|
const DuplicateCharge = class {
|
|
@@ -197,7 +197,7 @@ const DuplicateCharge = class {
|
|
|
197
197
|
}
|
|
198
198
|
;
|
|
199
199
|
componentWillLoad() {
|
|
200
|
-
this.form = new
|
|
200
|
+
this.form = new form.FormController(DuplicateChargeSchema);
|
|
201
201
|
}
|
|
202
202
|
componentDidLoad() {
|
|
203
203
|
this.form.errors.subscribe(errors => {
|
|
@@ -206,12 +206,12 @@ const DuplicateCharge = class {
|
|
|
206
206
|
}
|
|
207
207
|
render() {
|
|
208
208
|
var _a, _b, _c;
|
|
209
|
-
return (index.h("div", { key: '
|
|
209
|
+
return (index.h("div", { key: 'fcf2b846ac2f612a53895836df0a5287da15b20a' }, index.h("div", { key: '953be0fa8732b94991d1c078a9102666e5a91a81', class: "row gy-3" }, index.h("div", { key: '60f7ef7802a5f3ff7cd2167ba747d37e258e3f99', class: "col-12" }, index.h("h2", { key: '3e1336abfca85298ee392459dfa22401a8e47259', class: "h5", part: parts.heading5 }, "Duplicate Charge")), index.h("div", { key: '75fa5b181b617cd68010e01f91a8513c9c828acb', class: "col-12" }, index.h("form-control-text", { key: 'b54f2d3d86aabc2072acaf2b961de118934bedcd', label: "Original Payment ID", name: "duplicate_charge_original_payment_id", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.duplicate_charge_original_payment_id, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_original_payment_id })), index.h("div", { key: '614f070bd6d0aad1e2e64c2e2f9c447402fd161a', class: "col-12" }, index.h("form-control-textarea", { key: 'a0653f81b9e237b669bfc47e7788b9027a1d5a6a', label: "Duplicate Charge Explanation", name: "duplicate_charge_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.duplicate_charge_explanation, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_explanation })), index.h("div", { key: 'f358128dbb1715a40841521f9602e30bb6c7d702', class: "col-12" }, index.h("form-control-file-v2", { key: 'ad7f1b8219560600ef3fba20a0b968a9d3930b3d', label: "Duplicate Charge Documentation", name: "duplicate_charge_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.duplicate_charge_documentation })))));
|
|
210
210
|
}
|
|
211
211
|
};
|
|
212
212
|
|
|
213
|
-
const ElectronicEvidenceSchema =
|
|
214
|
-
customer_purchase_ip_address:
|
|
213
|
+
const ElectronicEvidenceSchema = form.create$3({
|
|
214
|
+
customer_purchase_ip_address: form.create$6().nullable(),
|
|
215
215
|
});
|
|
216
216
|
|
|
217
217
|
const ElectronicEvidence = class {
|
|
@@ -230,7 +230,7 @@ const ElectronicEvidence = class {
|
|
|
230
230
|
}
|
|
231
231
|
;
|
|
232
232
|
componentWillLoad() {
|
|
233
|
-
this.form = new
|
|
233
|
+
this.form = new form.FormController(ElectronicEvidenceSchema);
|
|
234
234
|
}
|
|
235
235
|
componentDidLoad() {
|
|
236
236
|
this.form.errors.subscribe(errors => {
|
|
@@ -239,13 +239,13 @@ const ElectronicEvidence = class {
|
|
|
239
239
|
}
|
|
240
240
|
render() {
|
|
241
241
|
var _a, _b;
|
|
242
|
-
return (index.h("div", { key: '
|
|
242
|
+
return (index.h("div", { key: 'fb40a53ecb355271bfdff95eed90e6b5e4827ae9' }, index.h("div", { key: 'fcbcdd6a8bb4891ac5a3cb26d54d26d6f317f401', class: "row gy-3" }, index.h("div", { key: 'b605ae860e8e6efd21ee21ed851d23af5e813c04', class: "col-12" }, index.h("h2", { key: 'a7c8d699c79f92334f159025acbbe65969452594', class: "h5", part: parts.heading5 }, "Electronic Evidence")), index.h("div", { key: '1a623a273c2e6a82ffcb9c709d6953ba01590a02', class: "col-12" }, index.h("form-control-text", { key: '7d8b0ee30a8c7b6bef84f19fe7734484ba84b0e1', label: "Purchase IP Address", name: "customer_purchase_ip_address", helpText: "The IP address used by the customer during the purchase.", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_purchase_ip_address, inputHandler: this.inputHandler, errorText: this.errors.customer_purchase_ip_address })), index.h("div", { key: 'd50d372a0881ce648fa61ba96e61f3f28d4136ae', class: "col-12" }, index.h("form-control-file-v2", { key: 'e635514b9a48cfabb7d16c53293585ad1740c608', label: "Activity Logs", name: "activity_log", helpText: "Any server or activity logs that provide evidence of the customer's access to or download of the purchased digital product. This information should encompass IP addresses, relevant timestamps, and any detailed records of activity.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.activity_log })))));
|
|
243
243
|
}
|
|
244
244
|
};
|
|
245
245
|
|
|
246
|
-
const ProductOrServiceSchema =
|
|
247
|
-
product_description:
|
|
248
|
-
service_date:
|
|
246
|
+
const ProductOrServiceSchema = form.create$3({
|
|
247
|
+
product_description: form.create$6().nullable(),
|
|
248
|
+
service_date: form.create$6().nullable(),
|
|
249
249
|
});
|
|
250
250
|
|
|
251
251
|
const ProductOrService = class {
|
|
@@ -264,7 +264,7 @@ const ProductOrService = class {
|
|
|
264
264
|
}
|
|
265
265
|
;
|
|
266
266
|
componentWillLoad() {
|
|
267
|
-
this.form = new
|
|
267
|
+
this.form = new form.FormController(ProductOrServiceSchema);
|
|
268
268
|
}
|
|
269
269
|
componentDidLoad() {
|
|
270
270
|
this.form.errors.subscribe(errors => {
|
|
@@ -273,13 +273,13 @@ const ProductOrService = class {
|
|
|
273
273
|
}
|
|
274
274
|
render() {
|
|
275
275
|
var _a, _b, _c;
|
|
276
|
-
return (index.h("div", { key: '
|
|
276
|
+
return (index.h("div", { key: '53894694d5f6c1cfe7d8d699af69e4dc6c496fb8' }, index.h("div", { key: 'c1cb70ef48be5e50bdb1fd0d47416b48342f7620', class: "row gy-3" }, index.h("div", { key: '837aa7683621d26ee08a1f8f3b1f5ae65b63bd94', class: "col-12" }, index.h("h2", { key: '9c51ee3f6df442237cd3c23306f79b7e15fed133', class: "h5", part: parts.heading5 }, "Product & Service Details")), index.h("div", { key: '259ea001a1896c34088a6a03a725564c5cd48a74', class: "col-12" }, index.h("form-control-text", { key: 'f237fc051614689b9b8c8227d6a6d7266a9adeaa', label: "Product Description", name: "product_description", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.product_description, inputHandler: this.inputHandler, errorText: this.errors.product_description })), index.h("div", { key: 'a0f7a0cb813c7ee2a4423abc1506f7c775ad9e07', class: "col-12" }, index.h("form-control-date", { key: 'fca7aef52b721fa472b5459b9dc47f95dca1ce76', label: "Service Date", name: "service_date", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.service_date, inputHandler: this.inputHandler, errorText: this.errors.service_date })), index.h("div", { key: 'f285bfe4242cc1179c5a7b4864b907101edeaebb', class: "col-12" }, index.h("form-control-file-v2", { key: '9ad064a5be5381cccbe33e4dc1e00879996ad513', label: "Service Documentation", name: "service_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.service_documentation })))));
|
|
277
277
|
}
|
|
278
278
|
};
|
|
279
279
|
|
|
280
|
-
const RefundPolicySchema =
|
|
281
|
-
refund_policy_disclosure:
|
|
282
|
-
refund_refusal_explanation:
|
|
280
|
+
const RefundPolicySchema = form.create$3({
|
|
281
|
+
refund_policy_disclosure: form.create$6().nullable(),
|
|
282
|
+
refund_refusal_explanation: form.create$6().nullable(),
|
|
283
283
|
});
|
|
284
284
|
|
|
285
285
|
const RefundPolicy = class {
|
|
@@ -298,7 +298,7 @@ const RefundPolicy = class {
|
|
|
298
298
|
}
|
|
299
299
|
;
|
|
300
300
|
componentWillLoad() {
|
|
301
|
-
this.form = new
|
|
301
|
+
this.form = new form.FormController(RefundPolicySchema);
|
|
302
302
|
}
|
|
303
303
|
componentDidLoad() {
|
|
304
304
|
this.form.errors.subscribe(errors => {
|
|
@@ -307,15 +307,15 @@ const RefundPolicy = class {
|
|
|
307
307
|
}
|
|
308
308
|
render() {
|
|
309
309
|
var _a, _b, _c, _d;
|
|
310
|
-
return (index.h("div", { key: '
|
|
310
|
+
return (index.h("div", { key: '839a9b7ea7f978987e44f643af2d2aa8ac9557ff' }, index.h("div", { key: '410211fe20a2e9ab23ec1e3f172b200afb2db8ae', class: "row gy-3" }, index.h("div", { key: '9e6121b760cf47feaeffdc231780490ce47342f7', class: "col-12" }, index.h("h2", { key: 'fe64c8a2be67d179ddc4157c4fa8876937c2e4b8', class: "h5", part: parts.heading5 }, "Refund Policy and Receipt")), index.h("div", { key: 'db91b2f1c102026cc6998f9f8163761d1bf85024', class: "col-12" }, index.h("form-control-textarea", { key: '199cd5d32ff726681a918ced7f1790bd292e0cf7', label: "Refund Policy Disclosure", name: "refund_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.refund_policy_disclosure, inputHandler: this.inputHandler })), index.h("div", { key: 'e48e83b580182698374627889cf0cff69dd3779f', class: "col-12" }, index.h("form-control-textarea", { key: '627faade4d3afaad7d700494652d559ede4f69af', label: "Refund Refusal Explanation", name: "refund_refusal_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.refund_refusal_explanation, inputHandler: this.inputHandler })), index.h("div", { key: 'bdfca2b3878de2a665961fd6cd4fc10833f385bc', class: "col-12" }, index.h("form-control-file-v2", { key: 'a8d0d09bf0d8298ba85ead4b643d5ea774336ba0', label: "Upload Refund Policy", name: "refund_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.refund_policy })), index.h("div", { key: '41f43575895d15f34bfa2f6095462068cd6ad5d6', class: "col-12" }, index.h("form-control-file-v2", { key: 'aceae6c113bc38019bc20125eb3e8be0d111c15f', label: "Upload Receipt", name: "receipt", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.receipt })))));
|
|
311
311
|
}
|
|
312
312
|
};
|
|
313
313
|
|
|
314
|
-
const ShippingDetailsSchema =
|
|
315
|
-
shipping_carrier:
|
|
316
|
-
shipping_tracking_number:
|
|
317
|
-
shipping_date:
|
|
318
|
-
shipping_address:
|
|
314
|
+
const ShippingDetailsSchema = form.create$3({
|
|
315
|
+
shipping_carrier: form.create$6().nullable(),
|
|
316
|
+
shipping_tracking_number: form.create$6().nullable(),
|
|
317
|
+
shipping_date: form.create$6().nullable(),
|
|
318
|
+
shipping_address: form.create$6().nullable(),
|
|
319
319
|
});
|
|
320
320
|
|
|
321
321
|
const ShippingDetails = class {
|
|
@@ -335,7 +335,7 @@ const ShippingDetails = class {
|
|
|
335
335
|
}
|
|
336
336
|
;
|
|
337
337
|
componentWillLoad() {
|
|
338
|
-
this.form = new
|
|
338
|
+
this.form = new form.FormController(ShippingDetailsSchema);
|
|
339
339
|
}
|
|
340
340
|
componentDidLoad() {
|
|
341
341
|
this.form.errors.subscribe(errors => {
|
|
@@ -344,7 +344,7 @@ const ShippingDetails = class {
|
|
|
344
344
|
}
|
|
345
345
|
render() {
|
|
346
346
|
var _a, _b, _c, _d, _e;
|
|
347
|
-
return (index.h("div", { key: '
|
|
347
|
+
return (index.h("div", { key: '9e142fde27da140959115d1acf4a64d7420f90ba' }, index.h("div", { key: 'bf322d6ec351e67bd4f3fdfec759e1f5c5d381a6', class: "row gy-3" }, index.h("div", { key: '165a55dc932d0110728c87726231d0cb4b962650', class: "col-12" }, index.h("h2", { key: '43f318effe869349595025a76ced5ea39093a0ef', class: "h5", part: parts.heading5 }, "Shipping Details")), index.h("div", { key: '1de38ece17aa8b93cfc00858a4d495a950d46239', class: "col-12" }, index.h("form-control-text", { key: 'd9cfd173732a42abf831ee632ca05d3db78b7135', label: "Shipping Carrier Name", name: "shipping_carrier", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.shipping_carrier, inputHandler: this.inputHandler, errorText: this.errors.shipping_carrier })), index.h("div", { key: '5b298a18d97e06904c22c9a918c6f9ebc25f8219', class: "col-12" }, index.h("form-control-text", { key: 'c164c2bfc1772498f3e21c51e2979479021cf86d', label: "Tracking Number", name: "shipping_tracking_number", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.shipping_tracking_number, inputHandler: this.inputHandler, errorText: this.errors.shipping_tracking_number })), index.h("div", { key: '82128f9527e8061ecf2897af65d908af03c46bbe', class: "col-12" }, index.h("form-control-date", { key: '13e602a61a85978f129890423a36a95a8b055258', label: "Date Shipped", name: "shipping_date", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.shipping_date, inputHandler: this.inputHandler, errorText: this.errors.shipping_date })), index.h("div", { key: '5591510c56724f58567c88792cbbeb3cd15e1d0e', class: "col-12" }, index.h("form-control-textarea", { key: '1e7cbc326345feebd0ffae9b6ec56bfbc36a8193', label: "Shipping Address", name: "shipping_address", defaultValue: (_d = this.disputeResponse) === null || _d === void 0 ? void 0 : _d.shipping_address, inputHandler: this.inputHandler, errorText: this.errors.shipping_address })), index.h("div", { key: 'd2d1026fd1c7c3b32a6988fb940c431948630b08', class: "col-12" }, index.h("form-control-file-v2", { key: '21abf54f6a64980c73200ae89130626316917aa7', label: "Shipping Documentation", name: "shipping_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.shipping_documentation })))));
|
|
348
348
|
}
|
|
349
349
|
};
|
|
350
350
|
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-2GwnTbNA.js');
|
|
4
|
+
var styledHost = require('./styled-host-IMxk64cc.js');
|
|
5
|
+
require('./event-types-YOY5TKUN.js');
|
|
6
|
+
var skeleton = require('./skeleton-ByLavxr1.js');
|
|
7
|
+
var Analytics = require('./Analytics-DYN4hp2b.js');
|
|
8
|
+
require('./parts-9jMf1erK.js');
|
|
9
|
+
require('./package-DF9mLjoQ.js');
|
|
10
|
+
require('./Api-BTdkb3Zh.js');
|
|
11
|
+
require('./config-state-BTfJl-LU.js');
|
|
12
|
+
require('./index-DEMVrrsF.js');
|
|
13
|
+
require('./utils-qOon0GWm.js');
|
|
14
|
+
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
15
|
+
require('./ComponentError-CEv9ltwy.js');
|
|
16
|
+
require('./Checkout-BsYZoJ0a.js');
|
|
17
|
+
require('./Pagination-Dediz133.js');
|
|
18
|
+
require('./Payment-D5UynU2f.js');
|
|
19
|
+
require('./Dispute-CruQTF6_.js');
|
|
20
|
+
require('./Refund-BDFOEJv_.js');
|
|
21
|
+
require('./Document-rXGBUaOh.js');
|
|
22
|
+
require('./Business-DCRzZf0w.js');
|
|
23
|
+
require('./helpers-B5OCqlIM.js');
|
|
24
|
+
require('./state-options-CIT9xdTz.js');
|
|
25
|
+
|
|
26
|
+
const BankAccountFormSkeleton = (props) => {
|
|
27
|
+
const { isReady } = props;
|
|
28
|
+
if (isReady) {
|
|
29
|
+
return null;
|
|
30
|
+
}
|
|
31
|
+
return (index.h("div", { class: "container-fluid p-0" },
|
|
32
|
+
index.h("div", { class: "row mb-3" },
|
|
33
|
+
index.h("div", { class: "col-12 align-content-end" },
|
|
34
|
+
index.h(skeleton.Skeleton, { height: "18px", width: "120px" }),
|
|
35
|
+
index.h(skeleton.Skeleton, { height: "36px" }))),
|
|
36
|
+
index.h("div", { class: "row" },
|
|
37
|
+
index.h("div", { class: "col-12 align-content-end" },
|
|
38
|
+
index.h(skeleton.Skeleton, { height: "18px", width: "110px" }),
|
|
39
|
+
index.h(skeleton.Skeleton, { height: "36px" })))));
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
const BankAccountForm = class {
|
|
43
|
+
constructor(hostRef) {
|
|
44
|
+
index.registerInstance(this, hostRef);
|
|
45
|
+
this.iframeOrigin = "https://components.justifi.ai";
|
|
46
|
+
this.isReady = false;
|
|
47
|
+
}
|
|
48
|
+
componentWillLoad() {
|
|
49
|
+
Analytics.checkPkgVersion();
|
|
50
|
+
this.analytics = new Analytics.JustifiAnalytics(this);
|
|
51
|
+
}
|
|
52
|
+
componentDidRender() {
|
|
53
|
+
const elements = [
|
|
54
|
+
this.accountNumberIframeElement,
|
|
55
|
+
this.routingNumberIframeElement,
|
|
56
|
+
];
|
|
57
|
+
Promise.all(elements.map((element) => {
|
|
58
|
+
return new Promise((resolve) => {
|
|
59
|
+
element.addEventListener('iframeLoaded', () => { resolve(); });
|
|
60
|
+
});
|
|
61
|
+
})).then(() => {
|
|
62
|
+
this.isReady = true;
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
disconnectedCallback() {
|
|
66
|
+
var _a;
|
|
67
|
+
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
68
|
+
}
|
|
69
|
+
async validate() {
|
|
70
|
+
const accountNumberIsValid = await this.accountNumberIframeElement.validate();
|
|
71
|
+
const routingNumberIsValid = await this.routingNumberIframeElement.validate();
|
|
72
|
+
return accountNumberIsValid && routingNumberIsValid;
|
|
73
|
+
}
|
|
74
|
+
async tokenize({ clientId, paymentMethodMetadata, account }) {
|
|
75
|
+
return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
76
|
+
}
|
|
77
|
+
render() {
|
|
78
|
+
return (index.h(styledHost.StyledHost, { key: 'e0a71dff66a2786c0f182595758c2fc7a36c940e' }, index.h(BankAccountFormSkeleton, { key: 'b8e530e282ff062f53e196782c49855aed5084d3', isReady: this.isReady }), index.h("hidden-input", { key: '9b877adccc33cfa1151c6fcc0a847fddd7459875' }), index.h("div", { key: '6fc462b4aea6d7a3d469eda6c077c09202ac5066', class: "container-fluid p-0", style: {
|
|
79
|
+
opacity: this.isReady ? '1' : '0',
|
|
80
|
+
height: this.isReady ? 'auto' : '0',
|
|
81
|
+
} }, index.h("div", { key: 'bad1c793767232d22139f06e91c63fecb75d5e6b', class: "row mb-3" }, index.h("iframe-input", { key: '2e015f0d5e526f309d63b122f0ea900224b0eb91', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber` })), index.h("div", { key: '7f2c7e8ca7675c3f936702f605a26f4698addf65', class: "row" }, index.h("iframe-input", { key: '21eb81b7e69f3e1b376b38e7d533992d977cc2c7', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber` })))));
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
exports.justifi_bank_account_form = BankAccountForm;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-2GwnTbNA.js');
|
|
4
|
+
var billingFormSchema = require('./billing-form-schema-oZ4GROWP.js');
|
|
5
|
+
var parts = require('./parts-9jMf1erK.js');
|
|
6
|
+
var utils = require('./utils-DAyWinG2.js');
|
|
7
|
+
var stateOptions = require('./state-options-CIT9xdTz.js');
|
|
8
|
+
var form = require('./form-CWW8IM-X.js');
|
|
9
|
+
var styledHost = require('./styled-host-IMxk64cc.js');
|
|
10
|
+
require('./event-types-YOY5TKUN.js');
|
|
11
|
+
require('./schema-validations-C0BNwMBi.js');
|
|
12
|
+
require('./business-form-options-CMII7nIK.js');
|
|
13
|
+
require('./Business-DCRzZf0w.js');
|
|
14
|
+
require('./helpers-B5OCqlIM.js');
|
|
15
|
+
require('./Document-rXGBUaOh.js');
|
|
16
|
+
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
17
|
+
|
|
18
|
+
const BillingInformationForm = class {
|
|
19
|
+
constructor(hostRef) {
|
|
20
|
+
index.registerInstance(this, hostRef);
|
|
21
|
+
this.errors = {};
|
|
22
|
+
this.inputHandler = (name, value) => {
|
|
23
|
+
this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { [name]: value }));
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
componentWillLoad() {
|
|
27
|
+
this.formController = new form.FormController(billingFormSchema.billingFormSchema());
|
|
28
|
+
}
|
|
29
|
+
componentDidLoad() {
|
|
30
|
+
this.formController.values.subscribe(values => this.billingInfo = Object.assign({}, values));
|
|
31
|
+
this.formController.errors.subscribe(errors => {
|
|
32
|
+
this.errors = Object.assign({}, errors);
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
async getValues() {
|
|
36
|
+
return this.formController.values.getValue();
|
|
37
|
+
}
|
|
38
|
+
async fill(fields) {
|
|
39
|
+
this.formController.setInitialValues(fields);
|
|
40
|
+
}
|
|
41
|
+
async validate() {
|
|
42
|
+
let isValid = await this.formController.validate();
|
|
43
|
+
return { isValid: isValid };
|
|
44
|
+
}
|
|
45
|
+
render() {
|
|
46
|
+
const billingFormDefaultValue = this.formController.getInitialValues();
|
|
47
|
+
return (index.h(styledHost.StyledHost, { key: '69c50df0f08e367aeb924bdde683793a542179d5' }, index.h("div", { key: 'de669a4fc15f3041672d9a093ce6cc80cef65d9e', part: parts.billingForm }, index.h("form", { key: 'fb079f46703caaed345a9d7cadd380eba599a972' }, index.h("fieldset", { key: '8ebed9ab4c21b4c4bd490df6654287ac5dd301c8' }, index.h("div", { key: 'a5a9d27770724af4ea4e2ffed03b26a1d12773f9', class: "row gy-3" }, index.h("div", { key: 'e5ed5cca7c1bee4033df78c86c8e992b6851ed10', class: "col-12" }, index.h("form-control-text", { key: '427c31a6f1344a2786dbde7288a0f958957fdd22', name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), index.h("div", { key: '6e222b1644b34f20f11f516d6de5e8e85f8277ac', class: "col-12" }, index.h("form-control-text", { key: '011574712b4ae735bfee96c7d6739e23ddd7318c', name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), index.h("div", { key: 'ecddd8f79102ef471053b5920072350e39ac313d', class: "col-12" }, index.h("form-control-text", { key: '95a37ac3c37c4c717bbefe9fa1b172e84027422e', name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), index.h("div", { key: '3b14bb063904e57a5e2b1112b6f719875bbf33b7', class: "col-12" }, index.h("form-control-text", { key: 'cfaf3a8bd3c7ce50f47d721170829e2bfb92fff6', name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), index.h("div", { key: '5613add4617df1e292ed0b0ea3a8cefc619c71e2', class: "col-12" }, index.h("form-control-select", { key: '698b66f67beb9bb5d3501e23f49655e2b3a0a4f1', name: 'address_state', label: 'State', options: stateOptions.StateOptions, defaultValue: billingFormDefaultValue.address_state, errorText: this.errors.address_state, inputHandler: this.inputHandler })), index.h("div", { key: '5dd514ba36bb2e1f398c88053dbb35356f3ef811', class: "col-12" }, index.h("form-control-text", { key: '8825a1a2c2235ee83461a626b0ccdfeb9adbb74a', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: utils.numberOnlyHandler }))))))));
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
exports.justifi_billing_information_form = BillingInformationForm;
|