@justifi/webcomponents 5.7.1 → 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-BqC8BOhm.js → Analytics-DYN4hp2b.js} +27 -26
- package/dist/cjs/{Api-C8nf_gS9.js → Api-BTdkb3Zh.js} +2 -2
- package/dist/cjs/{Business-DyiDiIuO.js → Business-DCRzZf0w.js} +3 -1
- package/dist/cjs/{Checkout-RAGvjVPj.js → Checkout-BsYZoJ0a.js} +2 -4
- package/dist/cjs/{ComponentError-C4MdBBMe.js → ComponentError-CEv9ltwy.js} +2 -0
- package/dist/cjs/Document-rXGBUaOh.js +58 -0
- package/dist/cjs/{Document-CL5Zc72Q.js → Payment-D5UynU2f.js} +1 -57
- package/dist/cjs/{Refund-CYxocU06.js → Refund-BDFOEJv_.js} +1 -1
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +14 -15
- package/dist/cjs/{badge-BxoJOyTJ.js → badge-sO_Hcamo.js} +1 -1
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +15 -14
- package/dist/cjs/{bank-account-form_9.cjs.entry.js → bank-account-form_7.cjs.entry.js} +51 -210
- package/dist/cjs/billing-form-schema-oZ4GROWP.js +26 -0
- package/dist/cjs/{business-additional-questions-schema-DR8vt11M.js → business-additional-questions-schema-CHOaeZot.js} +6 -6
- package/dist/cjs/business-details-core.cjs.entry.js +5 -6
- package/dist/cjs/{business-form-options-BCj0efiD.js → business-form-options-CMII7nIK.js} +1 -1
- package/dist/cjs/{business-identity-schema-BYaCsboD.js → business-identity-schema-DmpEndsx.js} +10 -10
- package/dist/cjs/{business.service-C2rg_zSw.js → business.service-ev-3rHag.js} +7 -6
- 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-CyvIIMeq.js → checkout.service-D4hTYr1i.js} +7 -6
- package/dist/cjs/checkout.store-osqdxFMq.js +29 -0
- package/dist/cjs/checkouts-list-core.cjs.entry.js +16 -15
- package/dist/cjs/{checkouts-list-params-state-BvG5Ysrg.js → checkouts-list-params-state-fVsfZZ5G.js} +1 -1
- package/dist/cjs/{checkouts-table-_T5eblyc.js → checkouts-table-C1Jv_A7m.js} +3 -3
- 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-CKPR1vFS.js → dispute.service-Dru9NStj.js} +7 -6
- package/dist/cjs/{index.esm-CVuJLXJZ.js → form-CWW8IM-X.js} +10509 -10509
- package/dist/cjs/form-alert_5.cjs.entry.js +3 -3
- 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 +6 -6
- 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-DHg5rpse.js → get-business-BiEc-jdH.js} +3 -3
- package/dist/cjs/{get-payment-details-C9HqIv-M.js → get-payment-details-AOibpML7.js} +10 -9
- package/dist/cjs/{get-payout-csv-CXEQkjDm.js → get-payout-csv-CdNRRH0t.js} +2 -2
- package/dist/cjs/{get-subaccounts-BNpIanJ9.js → get-subaccounts-Dw7CbPDi.js} +10 -9
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +5 -5
- 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 +25 -24
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +23 -22
- 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 +26 -20
- package/dist/cjs/justifi-business-form.cjs.entry.js +29 -28
- 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 +10 -10
- package/dist/cjs/justifi-checkout-summary.cjs.entry.js +21 -0
- package/dist/cjs/justifi-checkout.cjs.entry.js +31 -74
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +13 -12
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +22 -21
- package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
- package/dist/cjs/justifi-details.cjs.entry.js +3 -3
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +18 -17
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +23 -22
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +17 -16
- package/dist/cjs/justifi-modular-checkout.cjs.entry.js +205 -0
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +22 -21
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +20 -19
- package/dist/cjs/justifi-payment-details.cjs.entry.js +19 -18
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +18 -17
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +21 -20
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payments-list.cjs.entry.js +23 -22
- package/dist/cjs/justifi-payout-details.cjs.entry.js +19 -18
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +21 -20
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +24 -23
- package/dist/cjs/justifi-postal-code-form.cjs.entry.js +50 -0
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +28 -27
- package/dist/cjs/justifi-saved-payment-methods.cjs.entry.js +31 -0
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +6 -6
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +24 -25
- package/dist/cjs/justifi-sezzle-payment-method.cjs.entry.js +80 -0
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +14 -13
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +20 -19
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +13 -12
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +22 -21
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +26 -19
- package/dist/cjs/loader.cjs.js +3 -4
- package/dist/cjs/{package-Biee4Hdo.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 +15 -15
- 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-C996aLGw.js → payment.service-rsnscZu7.js} +7 -6
- package/dist/cjs/payments-list-core.cjs.entry.js +17 -16
- 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-BkRhDePE.js → payments-table-BM3AoAJf.js} +3 -3
- package/dist/cjs/payout-details-core.cjs.entry.js +11 -11
- package/dist/cjs/{payout.service-BwKgEbDo.js → payout.service-BnmI3X4n.js} +7 -6
- package/dist/cjs/payouts-list-core.cjs.entry.js +17 -16
- 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-DJMz3bVh.js → payouts-table-1HL4kk9B.js} +3 -3
- package/dist/cjs/{schema-validations-Bhz09M42.js → schema-validations-C0BNwMBi.js} +36 -37
- 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 +16 -15
- 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-CxY1ykZ7.js → terminal-orders-table-OxMHSAJ1.js} +10 -9
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
- package/dist/cjs/{terminal.service-D7dxg9ZQ.js → terminal.service--PPaq5xS.js} +7 -6
- package/dist/cjs/terminals-list-core.cjs.entry.js +16 -15
- package/dist/cjs/terminals-list-params-state-fVsfZZ5G.js +22 -0
- package/dist/cjs/{terminals-table-D2XUsf_J.js → terminals-table-yRGsrfBw.js} +3 -3
- 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/{utils-DmZ8Dia3.js → utils-qOon0GWm.js} +3 -0
- package/dist/cjs/webcomponents.cjs.js +4 -5
- package/dist/collection/api/BillingInformation.js +1 -0
- package/dist/collection/api/Business.js +3 -1
- 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 +10 -3
- package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +3 -4
- package/dist/collection/components/business-details/business-details-core.js +1 -2
- package/dist/collection/components/business-details/business-details.js +10 -3
- package/dist/collection/components/business-details/core-info-details/core-info-details.js +41 -0
- package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +3 -3
- package/dist/collection/components/business-details/representative-details/representative-details.js +3 -3
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +2 -2
- package/dist/collection/components/business-forms/schemas/schema-validations.js +6 -7
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
- package/dist/collection/components/checkout/billing-form/billing-form.js +6 -5
- 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/new-payment-method.js +17 -6
- package/dist/collection/components/checkout/payment-method-options.js +6 -37
- 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 +13 -7
- 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/details/details.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/collection/utils/utils.js +3 -0
- package/dist/docs.json +1290 -472
- package/dist/esm/{check-pkg-version-DxnKX9GQ.js → Analytics-DR277kvb.js} +28 -27
- package/dist/esm/{Api-KYhsw8Nv.js → Api-CqimcNgb.js} +2 -2
- package/dist/esm/{Business-D6XNzizo.js → Business-BCoP0TAV.js} +3 -1
- package/dist/esm/{Checkout-Dfpql997.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-cNXrKmGy.js → Payment-BEvE6jAC.js} +3 -57
- package/dist/esm/{Refund-2YJqP9qX.js → Refund-CwUn_GFj.js} +1 -1
- package/dist/esm/additional-questions-details_5.entry.js +15 -16
- package/dist/esm/{badge-Du9GTXoB.js → badge-D_Q0kAPD.js} +2 -2
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +17 -16
- package/dist/esm/{bank-account-form_9.entry.js → bank-account-form_7.entry.js} +43 -200
- package/dist/esm/billing-form-schema-PFvYpvy4.js +24 -0
- package/dist/esm/{business-additional-questions-schema-GpN_koGK.js → business-additional-questions-schema-0lssJqN7.js} +2 -2
- package/dist/esm/business-details-core.entry.js +6 -7
- package/dist/esm/{business-form-options-Bn05PRR4.js → business-form-options-CgssATyg.js} +1 -1
- package/dist/esm/{business-identity-schema-BjuQ6ajL.js → business-identity-schema-Bel1K5mu.js} +2 -2
- package/dist/esm/{business.service-ClD_YDeT.js → business.service-BM8hLxHS.js} +8 -7
- 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-DfzkmIe4.js → checkout.service-CuCgG9hv.js} +8 -7
- package/dist/esm/checkout.store-DQrlfeus.js +27 -0
- package/dist/esm/checkouts-list-core.entry.js +18 -17
- package/dist/esm/{checkouts-list-params-state-Bn7pL-8x.js → checkouts-list-params-state-DhPyCV-V.js} +1 -1
- package/dist/esm/{checkouts-table-DKd0QLys.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-BTOWqnmk.js → dispute.service-rB4Hq6ot.js} +8 -7
- package/dist/esm/{index.esm-BCNUj0Dx.js → form-BjGUIqxU.js} +10509 -10509
- package/dist/esm/form-alert_5.entry.js +4 -4
- 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-CIKToQur.js → get-business-BSRtbTh7.js} +3 -3
- package/dist/esm/{get-payment-details-D-prcfRc.js → get-payment-details-DtkGDTwo.js} +10 -9
- package/dist/esm/{get-payout-csv-D7IYYqVL.js → get-payout-csv-U_pgdPpb.js} +2 -2
- package/dist/esm/{get-subaccounts-B0uEyOp_.js → get-subaccounts-C-ENQBmY.js} +11 -10
- 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 +19 -18
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +20 -19
- 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 +26 -20
- package/dist/esm/justifi-business-form.entry.js +27 -26
- 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 +28 -71
- package/dist/esm/justifi-checkouts-list-filters.entry.js +15 -14
- package/dist/esm/justifi-checkouts-list.entry.js +22 -21
- package/dist/esm/justifi-config-provider.entry.js +3 -3
- package/dist/esm/justifi-details.entry.js +4 -4
- package/dist/esm/justifi-dispute-management-core.entry.js +3 -3
- package/dist/esm/justifi-dispute-management.entry.js +17 -16
- package/dist/esm/justifi-dispute-notification_3.entry.js +23 -22
- package/dist/esm/justifi-gross-payment-chart.entry.js +17 -16
- package/dist/esm/justifi-modular-checkout.entry.js +203 -0
- package/dist/esm/justifi-order-terminals.entry.js +22 -21
- package/dist/esm/justifi-owner-form_3.entry.js +21 -20
- package/dist/esm/justifi-payment-details.entry.js +19 -18
- package/dist/esm/justifi-payment-provisioning-core.entry.js +5 -5
- package/dist/esm/justifi-payment-provisioning.entry.js +17 -16
- package/dist/esm/justifi-payment-transactions-list.entry.js +21 -20
- package/dist/esm/justifi-payments-list-filters.entry.js +8 -8
- package/dist/esm/justifi-payments-list.entry.js +22 -21
- package/dist/esm/justifi-payout-details.entry.js +19 -18
- package/dist/esm/justifi-payout-transactions-list.entry.js +21 -20
- package/dist/esm/justifi-payouts-list-filters.entry.js +8 -8
- package/dist/esm/justifi-payouts-list.entry.js +24 -23
- package/dist/esm/justifi-postal-code-form.entry.js +48 -0
- package/dist/esm/justifi-refund-payment.entry.js +22 -21
- 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 +23 -24
- package/dist/esm/justifi-sezzle-payment-method.entry.js +78 -0
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +16 -15
- package/dist/esm/justifi-terminal-orders-list.entry.js +20 -19
- package/dist/esm/justifi-terminals-list-filters.entry.js +15 -14
- package/dist/esm/justifi-terminals-list.entry.js +22 -21
- package/dist/esm/justifi-tokenize-payment-method.entry.js +26 -19
- package/dist/esm/loader.js +3 -4
- package/dist/esm/{package-DPiTQ9dr.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-CgwLo1_s.js → payment.service-DoUv1QsX.js} +8 -7
- package/dist/esm/payments-list-core.entry.js +19 -18
- 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-BBf5fV74.js → payments-table-MrDAlH2o.js} +4 -4
- package/dist/esm/payout-details-core.entry.js +12 -12
- package/dist/esm/{payout.service-DYFCNfLa.js → payout.service-B_Fm08zQ.js} +8 -7
- package/dist/esm/payouts-list-core.entry.js +19 -18
- 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-DhZEXhGH.js → payouts-table-HoX3UYIj.js} +4 -4
- package/dist/esm/{schema-validations-D9YNVLiI.js → schema-validations-DYV7urvw.js} +8 -9
- 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 +18 -17
- 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-BopP465z.js → terminal-orders-table-DxHLNkx_.js} +12 -11
- package/dist/esm/terminal-quantity-selector.entry.js +3 -3
- package/dist/esm/{terminal.service-f-whs_d4.js → terminal.service-2VkdfNas.js} +8 -7
- package/dist/esm/terminals-list-core.entry.js +18 -17
- package/dist/esm/terminals-list-params-state-DhPyCV-V.js +16 -0
- package/dist/esm/{terminals-table-CkWr-6tD.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-BWcTxbSg.js → utils-BjLkBMLe.js} +4 -1
- package/dist/esm/webcomponents.js +4 -5
- package/dist/module/{check-pkg-version.js → Analytics.js} +21 -21
- package/dist/module/Business.js +3 -1
- package/dist/module/Checkout.js +3 -3
- package/dist/module/additional-questions-details2.js +3 -4
- 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 +6 -5
- 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-details-core2.js +11 -7
- package/dist/module/business-identity-schema.js +1 -1
- package/dist/module/business-terms-conditions-form-step.js +2 -2
- 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/{generic-info-details.d.ts → core-info-details.d.ts} +4 -4
- package/dist/module/core-info-details.js +6 -0
- package/dist/module/core-info-details2.js +34 -0
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +1 -1
- package/dist/module/details.js +2 -2
- 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 +21 -10
- 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 +42 -42
- package/dist/module/legal-address-details2.js +3 -3
- package/dist/module/new-payment-method.js +15 -4
- 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 +35 -53
- 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/representative-details2.js +3 -3
- package/dist/module/saved-payment-method.js +2 -22
- package/dist/module/schema-validations.js +5 -6
- 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/module/utils2.js +3 -0
- 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/business-details/business-details.d.ts +1 -0
- package/dist/types/components/business-details/core-info-details/core-info-details.d.ts +5 -0
- package/dist/types/components/business-forms/utils/helpers.d.ts +1 -1
- package/dist/types/components/checkout/billing-form/billing-form.d.ts +1 -0
- package/dist/types/components/checkout/checkout.d.ts +1 -0
- package/dist/types/components/checkout/new-payment-method.d.ts +4 -1
- package/dist/types/components/checkout/payment-method-options.d.ts +1 -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 +3 -2
- package/dist/types/components.d.ts +449 -42
- 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/types/utils/utils.d.ts +1 -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-CpTwq2jw.js → p-9REosSLu.js} +1 -1
- package/dist/webcomponents/{p-b2192f8b.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-BzPi8Ea_.js → p-BPCw4WEY.js} +1 -1
- package/dist/webcomponents/p-BSUCBhkJ.js +1 -0
- package/dist/webcomponents/{p-DvHZ2jYI.js → p-BhLPwu1L.js} +1 -1
- package/dist/webcomponents/p-BhrFjjAs.js +1 -0
- package/dist/webcomponents/{p-BrvbVMVq.js → p-BlJnA265.js} +1 -1
- 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-CCpqJxzB.js +1 -0
- 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-82kiZkHt.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-ByRPlUBS.js → p-D3SYNGyb.js} +1 -1
- package/dist/webcomponents/{p-BjB_yKBJ.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-OSmuQKbK.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-24792e8e.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-82515f70.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-e8294f7e.entry.js +1 -0
- 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-ef9dcfe1.entry.js +1 -0
- package/dist/webcomponents/p-f71b1ff0.entry.js +1 -0
- 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-IA90llLO.js → p-yH3TC3ZQ.js} +1 -1
- 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/business-details/generic-info-details/generic-info-details.js +0 -40
- 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/generic-info-details.js +0 -6
- package/dist/module/generic-info-details2.js +0 -34
- package/dist/module/sezzle-payment-method.js +0 -104
- package/dist/types/components/business-details/generic-info-details/generic-info-details.d.ts +0 -5
- package/dist/webcomponents/p-0ab2f675.entry.js +0 -1
- package/dist/webcomponents/p-0b57ecc3.entry.js +0 -1
- package/dist/webcomponents/p-0deb6a38.entry.js +0 -1
- package/dist/webcomponents/p-16adfe77.entry.js +0 -1
- package/dist/webcomponents/p-1a85f26f.entry.js +0 -1
- package/dist/webcomponents/p-1b22572d.entry.js +0 -1
- package/dist/webcomponents/p-22a0b397.entry.js +0 -1
- package/dist/webcomponents/p-22e9ff07.entry.js +0 -1
- package/dist/webcomponents/p-25ea4450.entry.js +0 -1
- package/dist/webcomponents/p-2adda453.entry.js +0 -1
- package/dist/webcomponents/p-2b8ac00a.entry.js +0 -1
- package/dist/webcomponents/p-2dbc4b19.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-3abc8eab.entry.js +0 -1
- package/dist/webcomponents/p-3babed12.entry.js +0 -1
- package/dist/webcomponents/p-40541e0c.entry.js +0 -1
- package/dist/webcomponents/p-4194214c.entry.js +0 -1
- package/dist/webcomponents/p-43d6bbed.entry.js +0 -1
- package/dist/webcomponents/p-44d8c2b1.entry.js +0 -1
- package/dist/webcomponents/p-4749e0d0.entry.js +0 -1
- package/dist/webcomponents/p-4ee0cd96.entry.js +0 -1
- package/dist/webcomponents/p-54281359.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-799000c1.entry.js +0 -1
- package/dist/webcomponents/p-7c62b59d.entry.js +0 -1
- package/dist/webcomponents/p-83154291.entry.js +0 -1
- package/dist/webcomponents/p-84d27581.entry.js +0 -1
- package/dist/webcomponents/p-9105f700.entry.js +0 -1
- package/dist/webcomponents/p-916ea4fc.entry.js +0 -1
- package/dist/webcomponents/p-935bbc62.entry.js +0 -1
- package/dist/webcomponents/p-935fa555.entry.js +0 -1
- package/dist/webcomponents/p-947239a6.entry.js +0 -1
- package/dist/webcomponents/p-B0cQ2RjH.js +0 -1
- package/dist/webcomponents/p-B190pN0v.js +0 -1
- package/dist/webcomponents/p-BM5lviat.js +0 -1
- package/dist/webcomponents/p-BWJ7zamv.js +0 -1
- package/dist/webcomponents/p-BiPRf6d2.js +0 -1
- package/dist/webcomponents/p-BmWpHZ-Z.js +0 -1
- package/dist/webcomponents/p-C0IqfGFc.js +0 -1
- package/dist/webcomponents/p-C0UUR9CN.js +0 -1
- package/dist/webcomponents/p-C5RuuShs.js +0 -1
- package/dist/webcomponents/p-CCGhF18e.js +0 -1
- package/dist/webcomponents/p-CQdeVKF8.js +0 -1
- package/dist/webcomponents/p-CffckWWF.js +0 -1
- package/dist/webcomponents/p-CgxzrbM_.js +0 -1
- package/dist/webcomponents/p-D4Mv5jCp.js +0 -1
- package/dist/webcomponents/p-D5Sh88BE.js +0 -1
- package/dist/webcomponents/p-D6FDxSyt.js +0 -2
- package/dist/webcomponents/p-DDEz7_ad.js +0 -1
- package/dist/webcomponents/p-DJzjeg3x.js +0 -1
- package/dist/webcomponents/p-DNt_pMGt.js +0 -1
- package/dist/webcomponents/p-DPiTQ9dr.js +0 -1
- package/dist/webcomponents/p-DQuL1Twl.js +0 -1
- package/dist/webcomponents/p-DVnVdicA.js +0 -1
- package/dist/webcomponents/p-DZfxGQ1I.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-DuBhW0xA.js +0 -1
- package/dist/webcomponents/p-M61ygz6l.js +0 -1
- package/dist/webcomponents/p-SdntD1xf.js +0 -1
- package/dist/webcomponents/p-U30-0DaA.js +0 -1
- package/dist/webcomponents/p-ZE1NEnP3.js +0 -1
- package/dist/webcomponents/p-a46730eb.entry.js +0 -1
- package/dist/webcomponents/p-a4dd3835.entry.js +0 -1
- package/dist/webcomponents/p-ad85bd0d.entry.js +0 -1
- package/dist/webcomponents/p-af2c38f7.entry.js +0 -1
- package/dist/webcomponents/p-afa54e39.entry.js +0 -1
- package/dist/webcomponents/p-cNABKY0P.js +0 -1
- package/dist/webcomponents/p-cab175e9.entry.js +0 -1
- package/dist/webcomponents/p-ceefc483.entry.js +0 -1
- package/dist/webcomponents/p-d-_oUZor.js +0 -1
- package/dist/webcomponents/p-d1331dbb.entry.js +0 -1
- package/dist/webcomponents/p-d2dc6f22.entry.js +0 -20
- package/dist/webcomponents/p-d9c70010.entry.js +0 -1
- package/dist/webcomponents/p-dd05cce1.entry.js +0 -1
- package/dist/webcomponents/p-e00aeb33.entry.js +0 -1
- package/dist/webcomponents/p-e1c5ee0a.entry.js +0 -1
- package/dist/webcomponents/p-ea8dd3e7.entry.js +0 -1
- package/dist/webcomponents/p-f389c2aa.entry.js +0 -1
- package/dist/webcomponents/p-f8b205f7.entry.js +0 -1
- package/dist/webcomponents/p-l3o3Ndc0.js +0 -1
- package/dist/webcomponents/p-o_73WSki.js +0 -1
- package/dist/webcomponents/p-um3YdOwW.js +0 -1
- package/dist/webcomponents/p-vb3fTJEZ.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-
|
|
4
|
-
var paymentsStatus = require('./payments-status-
|
|
5
|
-
var utils = require('./utils-
|
|
3
|
+
var index = require('./index-2GwnTbNA.js');
|
|
4
|
+
var paymentsStatus = require('./payments-status-DPqU5v9h.js');
|
|
5
|
+
var utils = require('./utils-qOon0GWm.js');
|
|
6
6
|
var parts = require('./parts-9jMf1erK.js');
|
|
7
7
|
|
|
8
8
|
const defaultColumnsKeys = 'created_at,amount,status,payment_type,description,payers_name,last_four_digits';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var utils$1 = require('./utils-
|
|
5
|
-
var utils = require('./utils-
|
|
6
|
-
var button = require('./button-
|
|
7
|
-
var styledHost = require('./styled-host-
|
|
3
|
+
var index = require('./index-2GwnTbNA.js');
|
|
4
|
+
var utils$1 = require('./utils-qOon0GWm.js');
|
|
5
|
+
var utils = require('./utils-bn0fXuc-.js');
|
|
6
|
+
var button = require('./button-CCZd8WSY.js');
|
|
7
|
+
var styledHost = require('./styled-host-IMxk64cc.js');
|
|
8
8
|
require('./event-types-YOY5TKUN.js');
|
|
9
|
-
var payoutsStatus = require('./payouts-status-
|
|
10
|
-
var skeleton = require('./skeleton-
|
|
11
|
-
var badge = require('./badge-
|
|
9
|
+
var payoutsStatus = require('./payouts-status-CU8aqIhH.js');
|
|
10
|
+
var skeleton = require('./skeleton-ByLavxr1.js');
|
|
11
|
+
var badge = require('./badge-sO_Hcamo.js');
|
|
12
12
|
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
13
13
|
require('./parts-9jMf1erK.js');
|
|
14
14
|
|
|
@@ -75,9 +75,9 @@ const PayoutDetailsCore = class {
|
|
|
75
75
|
}
|
|
76
76
|
render() {
|
|
77
77
|
var _a;
|
|
78
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
79
|
-
index.h(utils.DetailSectionTitle, { key: '
|
|
80
|
-
index.h("div", { key: '
|
|
78
|
+
return (index.h(styledHost.StyledHost, { key: 'f6b9b84a740d3e5196eca16df2f34a1b225edbc8' }, this.loading && index.h(PayoutDetailsLoading, { key: '3d24389cb52696810d93b0047f02dd44ee8a1386' }), !this.loading && this.errorMessage && utils.ErrorState(this.errorMessage), !this.loading && this.payout && (index.h("justifi-details", { key: '159849ab2d24fd2c08812dffc2323194b9cb5bbc', "error-message": this.errorMessage }, index.h(utils.EntityHeadInfo, { key: 'e42544c3d30edd29b79028d3e47e7e1fc25e2a8c', slot: "head-info", badge: (index.h("div", { class: "d-flex gap-1" }, payoutsStatus.MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status), this.payout.settlement_priority === 'expedited' ? (index.h(badge.Badge, { variant: badge.BadgeVariant.WARNING, title: "Expedited", text: "Expedited" })) : (index.h(badge.Badge, { variant: badge.BadgeVariant.SECONDARY, title: "Standard", text: "Standard" })))), title: this.payout.formattedPaymentAmount(this.payout.amount) }, index.h(utils.EntityHeadInfoItem, { key: '665e463415c851fd5198cf1ce6cbbd3e777a60ee', classes: "border-1 border-end", title: "Updated At", value: `${utils$1.formatDate(this.payout.updated_at)} ${utils$1.formatTime(this.payout.updated_at)}` }), index.h(utils.EntityHeadInfoItem, { key: '434c279f54780b4ef3a59c4a4ab5e84a0fbc536a', classes: "border-1 border-end", title: "Created At", value: `${utils$1.formatDate(this.payout.created_at)} ${utils$1.formatTime(this.payout.created_at)}` }), index.h(utils.EntityHeadInfoItem, { key: '76f7fcc47a5014a4f20dc8686b45a72eb0888228', title: "ID", value: this.payout.id }), index.h("div", { key: 'da0272c9aa553ec71d6e65f3865f6ce643f79092', class: "m-4" }, index.h(button.Button, { key: '9037551eba246803a623654a88f7f8cfbe210de3', variant: "secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), index.h("div", { key: 'b7b6f40493db4db7e1defe66f4f510c32e0fab9e', slot: 'detail-sections' }, index.h(utils.DetailSectionTitle, { key: '460e4a6bafc65e6c83dc955b99f75ed589f9ba42', sectionTitle: "Details" }), index.h("div", { key: 'cdb8280c872e55410f24b6a90ba17f64ae0414d4', class: "d-table gap-2 w-100" }, index.h(utils.DetailItem, { key: 'f401e006c82aa38c2b390668b3905bb10bf92d88', title: "Date paid", value: utils$1.formatDate(this.payout.deposits_at) }), index.h(utils.DetailItem, { key: '95fa773958f9ad5950432cba9f0f8821b87183c7', title: "Statement Description", value: this.payout.description }), index.h(utils.DetailItem, { key: '70930d62905c51939b33e6e5341a66eff7f1f80d', title: "Payout Method", value: this.payout.delivery_method }), index.h(utils.DetailItem, { key: 'f7203ba0a060df09a86fe47bb7354ba4440de247', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), index.h(utils.DetailItem, { key: '9937a4bb3cf00943ff719e2851e06066960cd518', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), index.h(utils.DetailSectionTitle, { key: '60988e407834a87285a8203e53053ebec0d109ae', sectionTitle: "Account" }), index.h("div", { key: 'd30c4e5ee64658b9ecefe9720c1a8266d1af7314', class: "d-table gap-2 w-100" }, index.h(utils.DetailItem, { key: 'a60f91b7dc0b6edf4ccad3437358f70ef8a97b2e', title: "ID", value: this.payout.account_id }), index.h(utils.DetailItem, { key: '81da5682023ce4ad02b30688859262931b6d319c', title: "Account Type", value: this.payout.bank_account.account_type }), index.h(utils.DetailItem, { key: '21ced58dd4f97df5b9839f49cce50162405416fe', title: "Institution", value: this.payout.bank_account.account_type }), index.h(utils.DetailItem, { key: '73191d6ffabdf08536f4699c3f2ba4fa867a3992', title: "Routing Number", value: this.payout.bank_account.routing_number }), index.h(utils.DetailItem, { key: 'd9ea68ef61a0cb63b1056f753a957927cf3204f7', title: "Account Number", value: this.payout.bank_account.account_number_last4 })), this.payout.metadata && [
|
|
79
|
+
index.h(utils.DetailSectionTitle, { key: '1eaca03125f7e50c62c7f731a7442c088858a317', sectionTitle: 'Metadata' }),
|
|
80
|
+
index.h("div", { key: '1368c90f240c2ea2e6711603d8599025dce2dd82', class: "d-table gap-2 w-100" }, index.h(utils.CodeBlock, { key: '52ec68588672ffa71ff98139e9d7ae193fbd55bd', metadata: this.payout.metadata }))
|
|
81
81
|
])))));
|
|
82
82
|
}
|
|
83
83
|
static get watchers() { return {
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var Api = require('./Api-
|
|
4
|
-
require('./ComponentError-
|
|
5
|
-
require('./Checkout-
|
|
3
|
+
var Api = require('./Api-BTdkb3Zh.js');
|
|
4
|
+
require('./ComponentError-CEv9ltwy.js');
|
|
5
|
+
require('./Checkout-BsYZoJ0a.js');
|
|
6
6
|
require('./Pagination-Dediz133.js');
|
|
7
|
-
require('./
|
|
8
|
-
require('./Refund-
|
|
9
|
-
require('./
|
|
7
|
+
require('./Payment-D5UynU2f.js');
|
|
8
|
+
require('./Refund-BDFOEJv_.js');
|
|
9
|
+
require('./Document-rXGBUaOh.js');
|
|
10
|
+
require('./Business-DCRzZf0w.js');
|
|
10
11
|
require('./Dispute-CruQTF6_.js');
|
|
11
12
|
|
|
12
13
|
const api = Api.Api();
|
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
require('./config-state-
|
|
5
|
-
require('./utils-
|
|
6
|
-
var ComponentError = require('./ComponentError-
|
|
7
|
-
require('./Checkout-
|
|
3
|
+
var index = require('./index-2GwnTbNA.js');
|
|
4
|
+
require('./config-state-BTfJl-LU.js');
|
|
5
|
+
require('./utils-qOon0GWm.js');
|
|
6
|
+
var ComponentError = require('./ComponentError-CEv9ltwy.js');
|
|
7
|
+
require('./Checkout-BsYZoJ0a.js');
|
|
8
8
|
var Pagination = require('./Pagination-Dediz133.js');
|
|
9
|
-
require('./
|
|
10
|
-
require('./Refund-
|
|
11
|
-
require('./
|
|
9
|
+
require('./Payment-D5UynU2f.js');
|
|
10
|
+
require('./Refund-BDFOEJv_.js');
|
|
11
|
+
require('./Document-rXGBUaOh.js');
|
|
12
|
+
require('./Business-DCRzZf0w.js');
|
|
12
13
|
require('./Dispute-CruQTF6_.js');
|
|
13
|
-
var table = require('./table-
|
|
14
|
+
var table = require('./table-BgQP2M2-.js');
|
|
14
15
|
var eventTypes = require('./event-types-YOY5TKUN.js');
|
|
15
|
-
var payoutsTable = require('./payouts-table-
|
|
16
|
-
var payoutsListParamsState = require('./payouts-list-params-state-
|
|
17
|
-
require('./index-
|
|
16
|
+
var payoutsTable = require('./payouts-table-1HL4kk9B.js');
|
|
17
|
+
var payoutsListParamsState = require('./payouts-list-params-state-fVsfZZ5G.js');
|
|
18
|
+
require('./index-DEMVrrsF.js');
|
|
18
19
|
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
19
20
|
require('./helpers-B5OCqlIM.js');
|
|
20
21
|
require('./state-options-CIT9xdTz.js');
|
|
21
22
|
require('./parts-9jMf1erK.js');
|
|
22
|
-
require('./spinner-
|
|
23
|
-
require('./payouts-status-
|
|
24
|
-
require('./badge-
|
|
23
|
+
require('./spinner-DOC4Ab7M.js');
|
|
24
|
+
require('./payouts-status-CU8aqIhH.js');
|
|
25
|
+
require('./badge-sO_Hcamo.js');
|
|
25
26
|
|
|
26
27
|
const PayoutsListCore = class {
|
|
27
28
|
constructor(hostRef) {
|
|
@@ -155,7 +156,7 @@ const PayoutsListCore = class {
|
|
|
155
156
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
156
157
|
}
|
|
157
158
|
render() {
|
|
158
|
-
return (index.h(table.TableWrapper, { key: '
|
|
159
|
+
return (index.h(table.TableWrapper, { key: '786e5a316c151acfbe4c002e578956ad1730e524' }, index.h(table.TableComponent, { key: '117086f0be468f4d50d160f8c982b93afb4b6a1b' }, index.h(table.TableHead, { key: '47433c343abf3c97e95b6cdcc2ca3a8c9bb23ae8' }, index.h(table.TableHeadRow, { key: '24403b1c5f408381e388ffe33af5823c5176a254' }, this.payoutsTable.columnData.map((column) => column))), index.h(table.TableBody, { key: '1c8c09b4cea871e728d20836156b8ebda1d72276' }, index.h(table.TableLoadingState, { key: 'bf038ef4c07745436168203a484e5e346356d48d', columnSpan: this.payoutsTable.columnKeys.length, isLoading: this.loading }), index.h(table.TableEmptyState, { key: '1fbe3787afb507258272f3e500f72ee9d4c5f7e9', isEmpty: this.showEmptyState, columnSpan: this.payoutsTable.columnKeys.length }), index.h(table.TableErrorState, { key: '256e3ea344eada4001c65ee31eb2356e63242b40', columnSpan: this.payoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.payoutsTable.rowData.map((data, index$1) => (index.h(table.TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index$1], onClick: this.rowClickHandler }, data)))), this.paging && (index.h(table.TableFoot, { key: '174590a65c18b9644c5ca7e39b384f973de4690a' }, index.h(table.TableFootRow, { key: 'd9dab09c6f24eeded0328c559b7842a543cd1fa2' }, index.h(table.TableFootCell, { key: 'bd7c7917dc2c31dccf731617000c664f6c1bed51', colSpan: this.payoutsTable.columnData.length }, index.h("pagination-menu", { key: '131a5000ad0378948411c34287471734a8575491', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
159
160
|
}
|
|
160
161
|
static get watchers() { return {
|
|
161
162
|
"pagingParams": ["updateOnPropChange"],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var badge = require('./badge-
|
|
3
|
+
var index = require('./index-2GwnTbNA.js');
|
|
4
|
+
var badge = require('./badge-sO_Hcamo.js');
|
|
5
5
|
|
|
6
6
|
const MapPayoutStatusToBadge = (status) => {
|
|
7
7
|
const statusToBadgeProps = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var utils = require('./utils-
|
|
5
|
-
var payoutsStatus = require('./payouts-status-
|
|
3
|
+
var index = require('./index-2GwnTbNA.js');
|
|
4
|
+
var utils = require('./utils-qOon0GWm.js');
|
|
5
|
+
var payoutsStatus = require('./payouts-status-CU8aqIhH.js');
|
|
6
6
|
var parts = require('./parts-9jMf1erK.js');
|
|
7
7
|
|
|
8
8
|
const defaultColumnsKeys = 'created_at,amount,status,payments_total,refunds_total,fees_total,other_total,csv';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var form = require('./form-CWW8IM-X.js');
|
|
4
4
|
var stateOptions = require('./state-options-CIT9xdTz.js');
|
|
5
|
-
var businessFormOptions = require('./business-form-options-
|
|
6
|
-
var Document = require('./Document-
|
|
5
|
+
var businessFormOptions = require('./business-form-options-CMII7nIK.js');
|
|
6
|
+
var Document = require('./Document-rXGBUaOh.js');
|
|
7
7
|
|
|
8
8
|
const transformEmptyString = (value) => {
|
|
9
9
|
return value === '' ? null : value;
|
|
@@ -28,32 +28,32 @@ const ssnRegex = /^(?!000|666|9\d{2})\d{3}(?!00)\d{2}(?!0000)\d{4}$/;
|
|
|
28
28
|
const poBoxRegex = /P\.?\s?O\.?\s?Box|Postal\sBox/i;
|
|
29
29
|
|
|
30
30
|
// Common Validations
|
|
31
|
-
const emailValidation =
|
|
31
|
+
const emailValidation = form.create$6()
|
|
32
32
|
.email('Enter valid email')
|
|
33
33
|
.transform(transformEmptyString);
|
|
34
|
-
const phoneValidation =
|
|
34
|
+
const phoneValidation = form.create$6()
|
|
35
35
|
.matches(phoneRegex, 'Enter valid phone number')
|
|
36
36
|
.transform(transformEmptyString);
|
|
37
37
|
// Core Info Validations
|
|
38
|
-
const businessNameValidation =
|
|
38
|
+
const businessNameValidation = form.create$6()
|
|
39
39
|
.min(2, 'Name must be at least 2 characters')
|
|
40
40
|
.max(100, 'Name must be less than 100 characters')
|
|
41
41
|
.transform(transformEmptyString);
|
|
42
|
-
const doingBusinessAsValidation =
|
|
42
|
+
const doingBusinessAsValidation = form.create$6()
|
|
43
43
|
.min(2, 'Name must be at least 2 characters')
|
|
44
44
|
.max(100, 'Name must be less than 100 characters')
|
|
45
45
|
.transform(transformEmptyString);
|
|
46
|
-
const websiteUrlValidation =
|
|
46
|
+
const websiteUrlValidation = form.create$6()
|
|
47
47
|
.matches(urlRegex, 'Enter valid website url')
|
|
48
48
|
.transform(transformEmptyString);
|
|
49
|
-
const businessClassificationValidation =
|
|
49
|
+
const businessClassificationValidation = form.create$6()
|
|
50
50
|
.oneOf(businessFormOptions.businessClassificationOptions.map((option) => option.value), 'Select business classification')
|
|
51
51
|
.transform(transformEmptyString);
|
|
52
|
-
const industryValidation =
|
|
52
|
+
const industryValidation = form.create$6()
|
|
53
53
|
.min(2, 'Industry must be at least 2 characters')
|
|
54
54
|
.max(50, 'Industry must be less than 50 characters')
|
|
55
55
|
.transform(transformEmptyString);
|
|
56
|
-
const taxIdValidation =
|
|
56
|
+
const taxIdValidation = form.create$6()
|
|
57
57
|
.matches(numbersOnlyRegex, 'Enter valid tax id, SSN, or EIN')
|
|
58
58
|
.test('not-repeat', 'Enter valid tax id, SSN, or EIN', (value) => {
|
|
59
59
|
return !/^(\d)\1+$/.test(value);
|
|
@@ -62,7 +62,7 @@ const taxIdValidation = index_esm.create$6()
|
|
|
62
62
|
return value !== '123456789';
|
|
63
63
|
})
|
|
64
64
|
.transform(transformEmptyString);
|
|
65
|
-
const dateOfIncorporationValidation =
|
|
65
|
+
const dateOfIncorporationValidation = form.create$6()
|
|
66
66
|
.test('not-future', 'Date of incorporation cannot be in the future', (value) => {
|
|
67
67
|
const inputDate = new Date(value);
|
|
68
68
|
const today = new Date();
|
|
@@ -70,16 +70,16 @@ const dateOfIncorporationValidation = index_esm.create$6()
|
|
|
70
70
|
})
|
|
71
71
|
.transform(transformEmptyString);
|
|
72
72
|
// Identity Validations
|
|
73
|
-
const identityNameValidation =
|
|
73
|
+
const identityNameValidation = form.create$6()
|
|
74
74
|
.min(2, 'Name must be at least 2 characters')
|
|
75
75
|
.max(100, 'Name must be less than 100 characters')
|
|
76
76
|
.transform(transformEmptyString);
|
|
77
|
-
const identityTitleValidation =
|
|
77
|
+
const identityTitleValidation = form.create$6()
|
|
78
78
|
.min(2, 'Title must be at least 2 characters')
|
|
79
79
|
.max(50, 'Title must be less than 50 characters')
|
|
80
80
|
.transform(transformEmptyString);
|
|
81
81
|
const dobValidation = (role) => {
|
|
82
|
-
return
|
|
82
|
+
return form.create$6()
|
|
83
83
|
.test('min', 'Enter a valid date', (value) => {
|
|
84
84
|
const date = new Date(value);
|
|
85
85
|
const minDate = new Date('1902-01-01');
|
|
@@ -91,9 +91,9 @@ const dobValidation = (role) => {
|
|
|
91
91
|
minAgeDate.setFullYear(minAgeDate.getFullYear() - 18);
|
|
92
92
|
return date <= minAgeDate;
|
|
93
93
|
})
|
|
94
|
-
.transform(transformEmptyString)
|
|
94
|
+
.transform(transformEmptyString);
|
|
95
95
|
};
|
|
96
|
-
const ssnValidation =
|
|
96
|
+
const ssnValidation = form.create$6()
|
|
97
97
|
.matches(ssnRegex, 'Enter valid SSN')
|
|
98
98
|
.when('ssn_last4', {
|
|
99
99
|
is: (val) => !val || val.length === 0,
|
|
@@ -108,67 +108,66 @@ const ssnValidation = index_esm.create$6()
|
|
|
108
108
|
})
|
|
109
109
|
.transform(transformEmptyString);
|
|
110
110
|
// Address Validations
|
|
111
|
-
const lineOneValidation =
|
|
111
|
+
const lineOneValidation = form.create$6()
|
|
112
112
|
.min(5, 'Address must be at least 5 characters')
|
|
113
113
|
.max(100, 'Address must be less than 100 characters')
|
|
114
114
|
.test('not-po-box', 'A PO Box is not a valid address entry', (value) => {
|
|
115
115
|
return !poBoxRegex.test(value);
|
|
116
116
|
})
|
|
117
117
|
.transform(transformEmptyString);
|
|
118
|
-
const lineTwoValidation =
|
|
118
|
+
const lineTwoValidation = form.create$6()
|
|
119
119
|
.max(100, 'Address must be less than 100 characters')
|
|
120
120
|
.test('not-po-box', 'A PO Box is not a valid address entry', (value) => {
|
|
121
121
|
return !poBoxRegex.test(value);
|
|
122
122
|
})
|
|
123
123
|
.transform(transformEmptyString);
|
|
124
|
-
const cityValidation =
|
|
124
|
+
const cityValidation = form.create$6()
|
|
125
125
|
.min(2, 'City must be at least 2 characters')
|
|
126
126
|
.max(50, 'City must be less than 50 characters')
|
|
127
127
|
.transform(transformEmptyString);
|
|
128
|
-
const stateValidation =
|
|
129
|
-
.oneOf(stateOptions.StateOptions.map((option) => option.value), '
|
|
128
|
+
const stateValidation = form.create$6()
|
|
129
|
+
.oneOf(stateOptions.StateOptions.map((option) => option.value), 'Enter a 2-letter state abbreviation, such as CA')
|
|
130
130
|
.transform(transformEmptyString);
|
|
131
|
-
const postalValidation =
|
|
131
|
+
const postalValidation = form.create$6()
|
|
132
132
|
.matches(/^[0-9]{5}$/, 'Enter valid postal code')
|
|
133
133
|
.transform(transformEmptyString);
|
|
134
134
|
// Additional Questions Validations
|
|
135
|
-
const revenueValidation =
|
|
135
|
+
const revenueValidation = form.create$6()
|
|
136
136
|
.matches(numbersOnlyRegex, 'Enter valid revenue')
|
|
137
137
|
.transform(transformEmptyString);
|
|
138
|
-
const paymentVolumeValidation =
|
|
138
|
+
const paymentVolumeValidation = form.create$6()
|
|
139
139
|
.matches(numbersOnlyRegex, 'Enter valid payment volume')
|
|
140
140
|
.transform(transformEmptyString);
|
|
141
|
-
const whenServiceReceivedValidation =
|
|
141
|
+
const whenServiceReceivedValidation = form.create$6()
|
|
142
142
|
.oneOf(businessFormOptions.businessServiceReceivedOptions.map((option) => option.value), 'Select when service is received')
|
|
143
143
|
.transform(transformEmptyString);
|
|
144
|
-
const recurringPaymentsValidation =
|
|
144
|
+
const recurringPaymentsValidation = form.create$6()
|
|
145
145
|
.oneOf(businessFormOptions.recurringPaymentsOptions.map((option) => option.value), 'Select recurring payments')
|
|
146
146
|
.transform(transformEmptyString);
|
|
147
|
-
const recurringPaymentsPercentageValidation =
|
|
147
|
+
const recurringPaymentsPercentageValidation = form.create$6()
|
|
148
148
|
.when('business_recurring_payments', {
|
|
149
149
|
is: (val) => val === 'Yes',
|
|
150
150
|
then: (schema) => schema.required('Enter recurring payments percentage'),
|
|
151
151
|
otherwise: (schema) => schema.nullable(),
|
|
152
152
|
})
|
|
153
153
|
.transform(transformEmptyString);
|
|
154
|
-
const seasonalBusinessValidation =
|
|
154
|
+
const seasonalBusinessValidation = form.create$6()
|
|
155
155
|
.oneOf(businessFormOptions.seasonalBusinessOptions.map((option) => option.value), 'Select seasonal business')
|
|
156
156
|
.transform(transformEmptyString);
|
|
157
|
-
const otherPaymentDetailsValidation =
|
|
158
|
-
.transform(transformEmptyString);
|
|
157
|
+
const otherPaymentDetailsValidation = form.create$6().transform(transformEmptyString);
|
|
159
158
|
// Bank Account Validations
|
|
160
|
-
const bankNameValidation =
|
|
159
|
+
const bankNameValidation = form.create$6()
|
|
161
160
|
.min(2, 'Name must be at least 2 characters')
|
|
162
161
|
.max(50, 'Name must be less than 50 characters')
|
|
163
162
|
.transform(transformEmptyString);
|
|
164
|
-
const nicknameValidation =
|
|
163
|
+
const nicknameValidation = form.create$6()
|
|
165
164
|
.min(2, 'Name must be at least 2 characters')
|
|
166
165
|
.max(50, 'Name must be less than 50 characters')
|
|
167
166
|
.transform(transformEmptyString);
|
|
168
|
-
const accountTypeValidation =
|
|
167
|
+
const accountTypeValidation = form.create$6()
|
|
169
168
|
.oneOf(businessFormOptions.bankAccountTypeOptions.map((option) => option.value), 'Select account type')
|
|
170
169
|
.transform(transformEmptyString);
|
|
171
|
-
const accountNumberValidation =
|
|
170
|
+
const accountNumberValidation = form.create$6()
|
|
172
171
|
.min(4, 'Account number must be at least 4 digits')
|
|
173
172
|
.max(17, 'Account number must be less than 17 digits')
|
|
174
173
|
.matches(numbersOnlyRegex, 'Enter valid account number')
|
|
@@ -176,7 +175,7 @@ const accountNumberValidation = index_esm.create$6()
|
|
|
176
175
|
return !/^(\d)\1+$/.test(value);
|
|
177
176
|
})
|
|
178
177
|
.transform(transformEmptyString);
|
|
179
|
-
const routingNumberValidation =
|
|
178
|
+
const routingNumberValidation = form.create$6()
|
|
180
179
|
.length(9, 'Routing number must be 9 digits')
|
|
181
180
|
.matches(numbersOnlyRegex, 'Enter valid routing number')
|
|
182
181
|
.test('not-repeat', 'Enter valid routing number', (value) => {
|
|
@@ -187,7 +186,7 @@ const routingNumberValidation = index_esm.create$6()
|
|
|
187
186
|
})
|
|
188
187
|
.transform(transformEmptyString);
|
|
189
188
|
// Document Upload Validations
|
|
190
|
-
const documentUploadValidation =
|
|
189
|
+
const documentUploadValidation = form.create$8();
|
|
191
190
|
const voidedCheckValidation = (documents, allowOptionalFields) => {
|
|
192
191
|
const existingDoc = documents.some((doc) => doc.document_type === Document.EntityDocumentType.voidedCheck);
|
|
193
192
|
if (existingDoc || allowOptionalFields) {
|