@justifi/webcomponents 5.7.1 → 5.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{Api-C8nf_gS9.js → Api-CJ1_RDQW.js} +2 -2
- package/dist/cjs/{Business-DyiDiIuO.js → Business-DCRzZf0w.js} +3 -1
- package/dist/cjs/{Checkout-RAGvjVPj.js → Checkout-TZnRz3-3.js} +1 -1
- package/dist/cjs/{Document-CL5Zc72Q.js → Payment-D5UynU2f.js} +1 -57
- package/dist/cjs/{Refund-CYxocU06.js → Refund-BFE-2OxN.js} +57 -1
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +14 -15
- package/dist/cjs/{badge-BxoJOyTJ.js → badge-ByHiVqEE.js} +1 -1
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +12 -12
- package/dist/cjs/bank-account-form_9.cjs.entry.js +40 -29
- package/dist/cjs/{business-additional-questions-schema-DR8vt11M.js → business-additional-questions-schema-e3GCIHk5.js} +1 -1
- 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-Diqj_WVQ.js} +1 -1
- package/dist/cjs/{business.service-C2rg_zSw.js → business.service-CsKKWn0g.js} +5 -5
- package/dist/cjs/{button-BPFSRx4d.js → button-DXvFLf3b.js} +1 -1
- package/dist/cjs/{check-pkg-version-BqC8BOhm.js → check-pkg-version-BqLxQqZQ.js} +6 -6
- package/dist/cjs/{checkout.service-CyvIIMeq.js → checkout.service-CugpgJy_.js} +5 -5
- package/dist/cjs/checkouts-list-core.cjs.entry.js +13 -13
- package/dist/cjs/{payouts-list-params-state-BvG5Ysrg.js → checkouts-list-params-state-BZPc3hJS.js} +1 -1
- package/dist/cjs/{checkouts-table-_T5eblyc.js → checkouts-table-BV-36YfA.js} +3 -3
- package/dist/cjs/{config-state-D7p-XunE.js → config-state-BH7lf2ok.js} +1 -1
- package/dist/cjs/custom-popper_4.cjs.entry.js +2 -2
- package/dist/cjs/{dispute.service-CKPR1vFS.js → dispute.service-B8vLwAZm.js} +5 -5
- package/dist/cjs/form-alert_5.cjs.entry.js +3 -3
- package/dist/cjs/form-control-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/form-control-date.cjs.entry.js +2 -2
- package/dist/cjs/{form-control-error-text-D9XDyFoW.js → form-control-error-text-B-3qE49U.js} +1 -1
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +2 -2
- package/dist/cjs/{form-control-help-text-J_boqSMc.js → form-control-help-text-BlYVOrII.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 +4 -4
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +2 -2
- package/dist/cjs/form-control-number.cjs.entry.js +3 -3
- package/dist/cjs/form-control-radio.cjs.entry.js +1 -1
- package/dist/cjs/{get-business-DHg5rpse.js → get-business-BJrtsomz.js} +1 -1
- package/dist/cjs/{get-payment-details-C9HqIv-M.js → get-payment-details-CudOQBpU.js} +7 -7
- package/dist/cjs/{get-subaccounts-BNpIanJ9.js → get-subaccounts-DjwsQffs.js} +7 -7
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +4 -4
- package/dist/cjs/{header-1-auSUfIpO.js → header-1-agnQ4uEf.js} +1 -1
- package/dist/cjs/{header-3-B-bXHCpC.js → header-3-BAx5OhvM.js} +1 -1
- package/dist/cjs/{iframe-input-styles-state-D9vhHzZQ.js → iframe-input-styles-state-CFjq45QT.js} +1 -1
- package/dist/cjs/iframe-input.cjs.entry.js +5 -5
- package/dist/cjs/{index-B8ljHEN1.js → index-oahmQhrI.js} +1 -1
- package/dist/cjs/{index-BYd8IvAa.js → index-y-rskGFM.js} +1 -1
- package/dist/cjs/{insurance-state-CFxbKNWH.js → insurance-state-CCo-Gmfe.js} +2 -2
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +50 -23
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +13 -13
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +1 -1
- package/dist/cjs/justifi-business-details.cjs.entry.js +21 -16
- package/dist/cjs/justifi-business-form.cjs.entry.js +20 -20
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +9 -9
- package/dist/cjs/justifi-checkout.cjs.entry.js +12 -12
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +10 -10
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +16 -16
- 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 +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +12 -12
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +15 -15
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +12 -12
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +16 -16
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +14 -14
- package/dist/cjs/justifi-payment-details.cjs.entry.js +14 -14
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +12 -12
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +15 -15
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +5 -5
- package/dist/cjs/justifi-payments-list.cjs.entry.js +17 -17
- package/dist/cjs/justifi-payout-details.cjs.entry.js +13 -13
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +15 -15
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +5 -5
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +17 -17
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +16 -16
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +6 -6
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +11 -11
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +10 -10
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +14 -14
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +10 -10
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +16 -16
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +15 -16
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{package-Biee4Hdo.js → package-a_vXN-Ly.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +7 -7
- package/dist/cjs/{payment.service-C996aLGw.js → payment.service-aqlDvgDe.js} +5 -5
- package/dist/cjs/payments-list-core.cjs.entry.js +14 -14
- package/dist/cjs/{payments-list-params-state-BvG5Ysrg.js → payments-list-params-state-BZPc3hJS.js} +1 -1
- package/dist/cjs/{payments-status-BTykBx8i.js → payments-status-CWK1uHtj.js} +2 -2
- package/dist/cjs/{payments-table-BkRhDePE.js → payments-table-CP8LGibG.js} +3 -3
- package/dist/cjs/payout-details-core.cjs.entry.js +8 -8
- package/dist/cjs/{payout.service-BwKgEbDo.js → payout.service-CL-hcMGg.js} +5 -5
- package/dist/cjs/payouts-list-core.cjs.entry.js +14 -14
- package/dist/cjs/{terminal-orders-list-params-state-BvG5Ysrg.js → payouts-list-params-state-BZPc3hJS.js} +1 -1
- package/dist/cjs/{payouts-status-YCqmbd4K.js → payouts-status-Jz2Mh3JP.js} +2 -2
- package/dist/cjs/{payouts-table-DJMz3bVh.js → payouts-table-DyuoNtFw.js} +3 -3
- package/dist/cjs/{schema-validations-Bhz09M42.js → schema-validations-BSeMee-o.js} +5 -29
- package/dist/cjs/{skeleton-aMh0RMHq.js → skeleton-CgT0siC5.js} +1 -1
- package/dist/cjs/{spinner-BTyIjlMM.js → spinner-Cz4By3FY.js} +1 -1
- package/dist/cjs/{styled-host-udkBJV5h.js → styled-host-LD5MpzHs.js} +1 -1
- package/dist/cjs/{table-DKVauFHc.js → table-Cvr8-PLT.js} +2 -2
- package/dist/cjs/table-filters-menu.cjs.entry.js +2 -2
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +13 -13
- package/dist/cjs/{checkouts-list-params-state-BvG5Ysrg.js → terminal-orders-list-params-state-BZPc3hJS.js} +1 -1
- package/dist/cjs/{terminal-orders-table-CxY1ykZ7.js → terminal-orders-table-CslE3Ojj.js} +8 -8
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
- package/dist/cjs/{terminal.service-D7dxg9ZQ.js → terminal.service-3geWla42.js} +5 -5
- package/dist/cjs/terminals-list-core.cjs.entry.js +13 -13
- package/dist/cjs/terminals-list-params-state-BZPc3hJS.js +22 -0
- package/dist/cjs/{terminals-table-D2XUsf_J.js → terminals-table-DlZSKdHC.js} +3 -3
- package/dist/cjs/{utils-5lco6NzU.js → utils-B4fXt0os.js} +1 -1
- package/dist/cjs/{utils-DmZ8Dia3.js → utils-qOon0GWm.js} +3 -0
- package/dist/cjs/webcomponents.cjs.js +3 -3
- package/dist/collection/api/Business.js +3 -1
- package/dist/collection/collection-manifest.json +2 -2
- 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/bank-account/business-bank-account-form-step-core.js +1 -1
- 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/business-bank-account-schema.js +36 -8
- package/dist/collection/components/business-forms/schemas/schema-validations.js +7 -54
- package/dist/collection/components/checkout/billing-form/billing-form.js +6 -5
- package/dist/collection/components/checkout/new-payment-method.js +17 -6
- package/dist/collection/components/checkout/payment-method-options.js +4 -5
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +4 -5
- package/dist/collection/ui-components/details/details.js +2 -2
- package/dist/collection/utils/utils.js +3 -0
- package/dist/docs.json +349 -122
- package/dist/esm/{Api-KYhsw8Nv.js → Api-CZhQlPMs.js} +2 -2
- package/dist/esm/{Business-D6XNzizo.js → Business-BCoP0TAV.js} +3 -1
- package/dist/esm/{Checkout-Dfpql997.js → Checkout-B9LrTq63.js} +1 -1
- package/dist/esm/{Dispute-BH0Xfn-F.js → Dispute-7MWRbTXI.js} +1 -1
- package/dist/esm/{Document-cNXrKmGy.js → Payment-BGiKmQYR.js} +3 -57
- package/dist/esm/{Refund-2YJqP9qX.js → Refund-DDIEc_gu.js} +56 -2
- package/dist/esm/additional-questions-details_5.entry.js +14 -15
- package/dist/esm/{badge-Du9GTXoB.js → badge-Bbh4S1LJ.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +12 -12
- package/dist/esm/bank-account-form_9.entry.js +33 -22
- package/dist/esm/{business-additional-questions-schema-GpN_koGK.js → business-additional-questions-schema-uQlQ8fXQ.js} +1 -1
- package/dist/esm/business-details-core.entry.js +5 -6
- 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-BsrgqgDl.js} +1 -1
- package/dist/esm/{business.service-ClD_YDeT.js → business.service-CUWiJ5Un.js} +6 -6
- package/dist/esm/{button-CjH5C0pG.js → button-BrZXQ8gb.js} +1 -1
- package/dist/esm/{check-pkg-version-DxnKX9GQ.js → check-pkg-version-CxnnjoM3.js} +7 -7
- package/dist/esm/{checkout.service-DfzkmIe4.js → checkout.service-DqXrjRw7.js} +6 -6
- package/dist/esm/checkouts-list-core.entry.js +14 -14
- package/dist/esm/{checkouts-list-params-state-Bn7pL-8x.js → checkouts-list-params-state-BI3u1DYG.js} +1 -1
- package/dist/esm/{checkouts-table-DKd0QLys.js → checkouts-table-p7UZFB5v.js} +3 -3
- package/dist/esm/{config-state-CkKrqnpZ.js → config-state-ecb1EsvM.js} +1 -1
- package/dist/esm/custom-popper_4.entry.js +2 -2
- package/dist/esm/{dispute.service-BTOWqnmk.js → dispute.service-DpgnWZA1.js} +6 -6
- package/dist/esm/form-alert_5.entry.js +3 -3
- package/dist/esm/form-control-checkbox.entry.js +3 -3
- package/dist/esm/form-control-date.entry.js +2 -2
- package/dist/esm/{form-control-error-text-tGFxd6kW.js → form-control-error-text-lGsxANkt.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +2 -2
- package/dist/esm/{form-control-help-text-2DawN8-N.js → form-control-help-text-DjU4NWmt.js} +1 -1
- package/dist/esm/form-control-help-text.entry.js +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +3 -3
- package/dist/esm/form-control-monetary.entry.js +4 -4
- package/dist/esm/form-control-number-masked_2.entry.js +2 -2
- package/dist/esm/form-control-number.entry.js +3 -3
- package/dist/esm/form-control-radio.entry.js +1 -1
- package/dist/esm/{get-business-CIKToQur.js → get-business-GEPTefIj.js} +1 -1
- package/dist/esm/{get-payment-details-D-prcfRc.js → get-payment-details-ChRlNtIz.js} +7 -7
- package/dist/esm/{get-subaccounts-B0uEyOp_.js → get-subaccounts-DiROU10G.js} +8 -8
- package/dist/esm/gross-payment-chart-core.entry.js +4 -4
- package/dist/esm/{header-1-D2gZb3iT.js → header-1-Xbhp2rfA.js} +1 -1
- package/dist/esm/{header-3-DAg8Vh4B.js → header-3-DwjHOg3C.js} +1 -1
- package/dist/esm/{iframe-input-styles-state-ibYqbF--.js → iframe-input-styles-state-BEips-at.js} +1 -1
- package/dist/esm/iframe-input.entry.js +5 -5
- package/dist/esm/{index-Cc3u0uDC.js → index-Dc7aGxx-.js} +1 -1
- package/dist/esm/{index-D6FDxSyt.js → index-DeiW2BDb.js} +1 -1
- package/dist/esm/{insurance-state-CsZbKSgm.js → insurance-state-CiK3s-Fy.js} +2 -2
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +50 -23
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +14 -14
- package/dist/esm/justifi-additional-statement_8.entry.js +1 -1
- package/dist/esm/justifi-business-details.entry.js +22 -17
- package/dist/esm/justifi-business-form.entry.js +21 -21
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
- package/dist/esm/justifi-checkout-core.entry.js +9 -9
- package/dist/esm/justifi-checkout.entry.js +13 -13
- package/dist/esm/justifi-checkouts-list-filters.entry.js +11 -11
- package/dist/esm/justifi-checkouts-list.entry.js +17 -17
- 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 +2 -2
- package/dist/esm/justifi-dispute-management.entry.js +13 -13
- package/dist/esm/justifi-dispute-notification_3.entry.js +16 -16
- package/dist/esm/justifi-gross-payment-chart.entry.js +13 -13
- package/dist/esm/justifi-order-terminals.entry.js +17 -17
- package/dist/esm/justifi-owner-form_3.entry.js +15 -15
- package/dist/esm/justifi-payment-details.entry.js +15 -15
- package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -3
- package/dist/esm/justifi-payment-provisioning.entry.js +13 -13
- package/dist/esm/justifi-payment-transactions-list.entry.js +16 -16
- package/dist/esm/justifi-payments-list-filters.entry.js +5 -5
- package/dist/esm/justifi-payments-list.entry.js +17 -17
- package/dist/esm/justifi-payout-details.entry.js +14 -14
- package/dist/esm/justifi-payout-transactions-list.entry.js +16 -16
- package/dist/esm/justifi-payouts-list-filters.entry.js +5 -5
- package/dist/esm/justifi-payouts-list.entry.js +18 -18
- package/dist/esm/justifi-refund-payment.entry.js +17 -17
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +6 -6
- package/dist/esm/justifi-season-interruption-insurance.entry.js +12 -12
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +11 -11
- package/dist/esm/justifi-terminal-orders-list.entry.js +15 -15
- package/dist/esm/justifi-terminals-list-filters.entry.js +11 -11
- package/dist/esm/justifi-terminals-list.entry.js +17 -17
- package/dist/esm/justifi-tokenize-payment-method.entry.js +16 -17
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{package-DPiTQ9dr.js → package-DCoo9Ds8.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/payment-details-core.entry.js +7 -7
- package/dist/esm/{payment.service-CgwLo1_s.js → payment.service-BV8Gg3vY.js} +6 -6
- package/dist/esm/payments-list-core.entry.js +15 -15
- package/dist/esm/{payments-list-params-state-Bn7pL-8x.js → payments-list-params-state-BI3u1DYG.js} +1 -1
- package/dist/esm/{payments-status-CIUXcA0w.js → payments-status-DIH2IxWy.js} +2 -2
- package/dist/esm/{payments-table-BBf5fV74.js → payments-table-DiEtudGk.js} +3 -3
- package/dist/esm/payout-details-core.entry.js +8 -8
- package/dist/esm/{payout.service-DYFCNfLa.js → payout.service-DA9Y4buU.js} +6 -6
- package/dist/esm/payouts-list-core.entry.js +15 -15
- package/dist/esm/{payouts-list-params-state-Bn7pL-8x.js → payouts-list-params-state-BI3u1DYG.js} +1 -1
- package/dist/esm/{payouts-status-Clo03qUI.js → payouts-status-ZOiWvFE-.js} +2 -2
- package/dist/esm/{payouts-table-DhZEXhGH.js → payouts-table-DbzIHwgZ.js} +3 -3
- package/dist/esm/{schema-validations-D9YNVLiI.js → schema-validations-DLWfpHyI.js} +7 -29
- package/dist/esm/{skeleton-Dlpibtr0.js → skeleton-B9rUHFom.js} +1 -1
- package/dist/esm/{spinner-onCBxbdo.js → spinner-CrzsUbgI.js} +1 -1
- package/dist/esm/{styled-host-C7vaWLiB.js → styled-host-_2J3PYDn.js} +1 -1
- package/dist/esm/{table-p4dOlFPi.js → table-CqDcXJpP.js} +2 -2
- package/dist/esm/table-filters-menu.entry.js +2 -2
- package/dist/esm/terminal-orders-list-core.entry.js +14 -14
- package/dist/esm/{terminal-orders-list-params-state-Bn7pL-8x.js → terminal-orders-list-params-state-BI3u1DYG.js} +1 -1
- package/dist/esm/{terminal-orders-table-BopP465z.js → terminal-orders-table-D7EOk3GS.js} +9 -9
- package/dist/esm/terminal-quantity-selector.entry.js +1 -1
- package/dist/esm/{terminal.service-f-whs_d4.js → terminal.service-VdIvwUEC.js} +6 -6
- package/dist/esm/terminals-list-core.entry.js +14 -14
- package/dist/esm/terminals-list-params-state-BI3u1DYG.js +16 -0
- package/dist/esm/{terminals-table-CkWr-6tD.js → terminals-table-C-fA-3eP.js} +3 -3
- package/dist/esm/{utils-BpP_VJGf.js → utils-CcleFgVO.js} +1 -1
- package/dist/esm/{utils-BWcTxbSg.js → utils-DB5fh6Iv.js} +3 -0
- package/dist/esm/webcomponents.js +4 -4
- package/dist/module/Business.js +3 -1
- package/dist/module/Refund.js +55 -1
- package/dist/module/additional-questions-details2.js +3 -4
- package/dist/module/bank-account-document-inputs.js +1 -2
- package/dist/module/billing-form.js +4 -3
- package/dist/module/business-bank-account-form-step-core.js +37 -11
- package/dist/module/business-bank-account-form-step.js +0 -1
- package/dist/module/business-details-core2.js +11 -7
- package/dist/module/business-terms-conditions-form-step.js +3 -4
- package/dist/module/business.service.js +0 -1
- package/dist/module/check-pkg-version.js +0 -1
- package/dist/module/checkout.service.js +0 -1
- package/dist/module/checkouts-list-core2.js +0 -1
- 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/details.js +2 -2
- package/dist/module/dispute-response-actions.js +0 -1
- package/dist/module/form.js +1 -1
- package/dist/module/get-payment-details.js +0 -1
- package/dist/module/get-subaccounts.js +0 -1
- package/dist/module/justifi-business-details.js +20 -9
- package/dist/module/justifi-business-form.js +0 -1
- package/dist/module/justifi-checkouts-list-filters.js +0 -1
- package/dist/module/justifi-checkouts-list.js +0 -1
- package/dist/module/justifi-gross-payment-chart.js +0 -1
- package/dist/module/justifi-order-terminals.js +1 -2
- package/dist/module/justifi-payment-provisioning.js +0 -1
- package/dist/module/justifi-payment-transactions-list.js +1 -2
- package/dist/module/justifi-payments-list.js +0 -1
- package/dist/module/justifi-payout-details.js +0 -1
- package/dist/module/justifi-payout-transactions-list.js +1 -2
- package/dist/module/justifi-payouts-list.js +0 -1
- package/dist/module/justifi-refund-payment.js +1 -2
- package/dist/module/justifi-season-interruption-insurance.js +0 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +0 -1
- package/dist/module/justifi-terminal-orders-list.js +1 -2
- package/dist/module/justifi-terminals-list-filters.js +0 -1
- package/dist/module/justifi-terminals-list.js +1 -2
- package/dist/module/justifi-tokenize-payment-method.js +2 -4
- package/dist/module/legal-address-details2.js +3 -3
- package/dist/module/new-payment-method.js +15 -4
- package/dist/module/package.js +1 -1
- package/dist/module/payment-method-options.js +2 -3
- package/dist/module/payment.service.js +0 -1
- package/dist/module/payments-list-core2.js +0 -1
- package/dist/module/payout.service.js +0 -1
- package/dist/module/payouts-list-core2.js +0 -1
- package/dist/module/representative-details2.js +3 -3
- package/dist/module/schema-validations.js +6 -28
- package/dist/module/terminal-orders-list-core2.js +0 -1
- package/dist/module/terminal.service.js +0 -1
- package/dist/module/terminals-list-core2.js +0 -1
- package/dist/module/utils2.js +3 -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/schemas/schema-validations.d.ts +0 -7
- 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/new-payment-method.d.ts +4 -1
- package/dist/types/components/checkout/payment-method-options.d.ts +1 -0
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +1 -0
- package/dist/types/components.d.ts +285 -21
- package/dist/types/utils/utils.d.ts +1 -1
- package/dist/webcomponents/p--B09FkmB.js +1 -0
- package/dist/webcomponents/p-070a74b0.entry.js +1 -0
- package/dist/webcomponents/{p-4194214c.entry.js → p-0bab65ad.entry.js} +1 -1
- package/dist/webcomponents/{p-5e467788.entry.js → p-0e3122fd.entry.js} +1 -1
- package/dist/webcomponents/{p-ceefc483.entry.js → p-0f4572d3.entry.js} +1 -1
- package/dist/webcomponents/{p-3abc8eab.entry.js → p-19f24867.entry.js} +1 -1
- package/dist/webcomponents/{p-799000c1.entry.js → p-214d8301.entry.js} +1 -1
- package/dist/webcomponents/{p-40541e0c.entry.js → p-217c0657.entry.js} +1 -1
- package/dist/webcomponents/{p-83154291.entry.js → p-2182e23d.entry.js} +1 -1
- package/dist/webcomponents/p-2648b61f.entry.js +1 -0
- package/dist/webcomponents/{p-3a979295.entry.js → p-29402bea.entry.js} +1 -1
- package/dist/webcomponents/p-30e036bd.entry.js +1 -0
- package/dist/webcomponents/p-342016ec.entry.js +1 -0
- package/dist/webcomponents/{p-916ea4fc.entry.js → p-35299b25.entry.js} +1 -1
- package/dist/webcomponents/{p-2b8ac00a.entry.js → p-388e3afc.entry.js} +1 -1
- package/dist/webcomponents/{p-19b9c96a.entry.js → p-3ef0b42b.entry.js} +1 -1
- package/dist/webcomponents/{p-b40108c0.entry.js → p-410b3f65.entry.js} +1 -1
- package/dist/webcomponents/p-4d4aed9d.entry.js +1 -0
- package/dist/webcomponents/p-5023d221.entry.js +1 -0
- package/dist/webcomponents/{p-d1331dbb.entry.js → p-57ec45d9.entry.js} +1 -1
- package/dist/webcomponents/{p-54281359.entry.js → p-5886b41e.entry.js} +1 -1
- package/dist/webcomponents/{p-6429afb4.entry.js → p-61daf152.entry.js} +1 -1
- package/dist/webcomponents/{p-bf3e8295.entry.js → p-6a89c4c8.entry.js} +1 -1
- package/dist/webcomponents/{p-cab175e9.entry.js → p-70b87e0c.entry.js} +1 -1
- package/dist/webcomponents/{p-BH0Xfn-F.js → p-7MWRbTXI.js} +1 -1
- package/dist/webcomponents/{p-25ea4450.entry.js → p-7ba945a9.entry.js} +1 -1
- package/dist/webcomponents/{p-n2YROtpe.js → p-8qo1QTjv.js} +1 -1
- package/dist/webcomponents/{p-d9c70010.entry.js → p-9154c9ae.entry.js} +1 -1
- package/dist/webcomponents/p-95d4c1ec.entry.js +1 -0
- package/dist/webcomponents/{p-3e94cf62.entry.js → p-9633ee66.entry.js} +1 -1
- package/dist/webcomponents/{p-b2192f8b.entry.js → p-9814a858.entry.js} +1 -1
- package/dist/webcomponents/p-9c7574a3.entry.js +1 -0
- package/dist/webcomponents/{p-7733b67b.entry.js → p-9c9bef60.entry.js} +1 -1
- package/dist/webcomponents/p-B0b_XePt.js +1 -0
- package/dist/webcomponents/p-B50n1fKP.js +1 -0
- package/dist/webcomponents/p-B9zTkzgI.js +1 -0
- package/dist/webcomponents/{p-C0UUR9CN.js → p-BC1dBUlF.js} +1 -1
- package/dist/webcomponents/p-BNqn5ta3.js +1 -0
- package/dist/webcomponents/p-BUJ--tSs.js +1 -0
- package/dist/webcomponents/p-BdTK0wi9.js +1 -0
- package/dist/webcomponents/{p-DDEz7_ad.js → p-BeW-xdck.js} +1 -1
- package/dist/webcomponents/{p-D5XSsLKb.js → p-Bjf1_zhy.js} +1 -1
- package/dist/webcomponents/p-Bkffx_rQ.js +1 -0
- package/dist/webcomponents/{p-DuYlA4lj.js → p-Bl3ch-Ez.js} +1 -1
- package/dist/webcomponents/{p-BrvbVMVq.js → p-BlJnA265.js} +1 -1
- package/dist/webcomponents/{p-CpTwq2jw.js → p-BnE7qgLh.js} +1 -1
- package/dist/webcomponents/p-BpDYt_Ep.js +1 -0
- package/dist/webcomponents/{p-CgxzrbM_.js → p-C1uPQOvi.js} +1 -1
- package/dist/webcomponents/p-C2HQYreI.js +1 -0
- package/dist/webcomponents/p-CJ5VkiBV.js +1 -0
- package/dist/webcomponents/{p-ByRPlUBS.js → p-CKAgqwwJ.js} +1 -1
- package/dist/webcomponents/{p-cNABKY0P.js → p-CaGTuT2-.js} +1 -1
- package/dist/webcomponents/{p-CQdeVKF8.js → p-CeSHqD1r.js} +1 -1
- package/dist/webcomponents/{p-Cd06j2SL.js → p-CgSqi8wc.js} +1 -1
- package/dist/webcomponents/{p-OSmuQKbK.js → p-ChL8tkhB.js} +1 -1
- package/dist/webcomponents/p-ClM8H2uM.js +1 -0
- package/dist/webcomponents/p-CoZ_5FVT.js +1 -0
- package/dist/webcomponents/p-CopnqpXU.js +1 -0
- package/dist/webcomponents/p-Cs0cIpIm.js +1 -0
- package/dist/webcomponents/p-D9siq_gL.js +1 -0
- package/dist/webcomponents/p-DCoo9Ds8.js +1 -0
- package/dist/webcomponents/{p-BiPRf6d2.js → p-DGg9nHVL.js} +1 -1
- package/dist/webcomponents/{p-ZE1NEnP3.js → p-DMNpawhg.js} +1 -1
- package/dist/webcomponents/p-DQCcSXwL.js +1 -0
- package/dist/webcomponents/{p-DvHZ2jYI.js → p-DXhY2Usd.js} +1 -1
- package/dist/webcomponents/p-Ddc5F_89.js +1 -0
- package/dist/webcomponents/{p-l3o3Ndc0.js → p-DyCvl10I.js} +1 -1
- package/dist/webcomponents/{p-BjB_yKBJ.js → p-DzFysjCc.js} +1 -1
- package/dist/webcomponents/{p-C0WFYqwq.js → p-EbNktJEa.js} +1 -1
- package/dist/webcomponents/p-HiTlvG5T.js +1 -0
- package/dist/webcomponents/p-JOSiCHl7.js +1 -0
- package/dist/webcomponents/{p-82kiZkHt.js → p-SoKRLnnI.js} +1 -1
- package/dist/webcomponents/{p-d-_oUZor.js → p-XBoMjcoi.js} +1 -1
- package/dist/webcomponents/p-_5PRoEe6.js +1 -0
- package/dist/webcomponents/p-a32ae525.entry.js +1 -0
- package/dist/webcomponents/p-a60abc68.entry.js +1 -0
- package/dist/webcomponents/{p-24792e8e.entry.js → p-aa539239.entry.js} +1 -1
- package/dist/webcomponents/{p-22a0b397.entry.js → p-aa949920.entry.js} +1 -1
- package/dist/webcomponents/{p-d2dc6f22.entry.js → p-ab1353b0.entry.js} +3 -3
- package/dist/webcomponents/p-ac5f5d89.entry.js +1 -0
- package/dist/webcomponents/{p-bb50155f.entry.js → p-b0d1afd7.entry.js} +1 -1
- package/dist/webcomponents/p-b17ed568.entry.js +1 -0
- package/dist/webcomponents/p-b59fc73d.entry.js +1 -0
- package/dist/webcomponents/{p-3babed12.entry.js → p-b5c7c78d.entry.js} +1 -1
- package/dist/webcomponents/p-b72eca25.entry.js +1 -0
- package/dist/webcomponents/{p-3368d3d5.entry.js → p-b9283a1b.entry.js} +1 -1
- package/dist/webcomponents/{p-0deb6a38.entry.js → p-b95a7dc5.entry.js} +1 -1
- package/dist/webcomponents/p-bO_FomzV.js +1 -0
- package/dist/webcomponents/p-bd1df685.entry.js +1 -0
- package/dist/webcomponents/p-bfb2bad3.entry.js +1 -0
- package/dist/webcomponents/{p-935bbc62.entry.js → p-c13538df.entry.js} +1 -1
- package/dist/webcomponents/{p-9105f700.entry.js → p-c535a165.entry.js} +1 -1
- package/dist/webcomponents/{p-639baa7d.entry.js → p-c7a1439a.entry.js} +1 -1
- package/dist/webcomponents/{p-4ee0cd96.entry.js → p-c80d077b.entry.js} +1 -1
- package/dist/webcomponents/{p-a4dd3835.entry.js → p-ccd256f5.entry.js} +1 -1
- package/dist/webcomponents/{p-947239a6.entry.js → p-cfb4491e.entry.js} +1 -1
- package/dist/webcomponents/p-d049acb4.entry.js +1 -0
- package/dist/webcomponents/p-d0b3a10e.entry.js +1 -0
- package/dist/webcomponents/p-d3f5c51e.entry.js +1 -0
- package/dist/webcomponents/{p-90c24cda.entry.js → p-d3ff71df.entry.js} +1 -1
- package/dist/webcomponents/p-d6a66b58.entry.js +1 -0
- package/dist/webcomponents/{p-CCGhF18e.js → p-d6tXI5Iw.js} +1 -1
- package/dist/webcomponents/p-d8f92442.entry.js +1 -0
- package/dist/webcomponents/{p-59abf1de.entry.js → p-da6c0277.entry.js} +1 -1
- package/dist/webcomponents/{p-f389c2aa.entry.js → p-e0e3a939.entry.js} +1 -1
- package/dist/webcomponents/p-e3a07cb8.entry.js +1 -0
- package/dist/webcomponents/{p-1a85f26f.entry.js → p-f03acabd.entry.js} +1 -1
- package/dist/webcomponents/{p-ad85bd0d.entry.js → p-f1e54daa.entry.js} +1 -1
- package/dist/webcomponents/{p-99b080d9.entry.js → p-f3d3070a.entry.js} +1 -1
- package/dist/webcomponents/p-hG0Fy7E9.js +1 -0
- package/dist/webcomponents/p-vTsHmSQQ.js +1 -0
- package/dist/webcomponents/{p-IA90llLO.js → p-yH3TC3ZQ.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- 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/esm/terminals-list-params-state-Bn7pL-8x.js +0 -16
- package/dist/module/Document.js +0 -55
- package/dist/module/generic-info-details.js +0 -6
- package/dist/module/generic-info-details2.js +0 -34
- 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-16adfe77.entry.js +0 -1
- package/dist/webcomponents/p-1b22572d.entry.js +0 -1
- package/dist/webcomponents/p-22e9ff07.entry.js +0 -1
- package/dist/webcomponents/p-2adda453.entry.js +0 -1
- package/dist/webcomponents/p-2dbc4b19.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-6n7viK-J.js +0 -1
- package/dist/webcomponents/p-7c62b59d.entry.js +0 -1
- package/dist/webcomponents/p-82515f70.entry.js +0 -1
- package/dist/webcomponents/p-84d27581.entry.js +0 -1
- package/dist/webcomponents/p-935fa555.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-BmWpHZ-Z.js +0 -1
- package/dist/webcomponents/p-BzPi8Ea_.js +0 -1
- package/dist/webcomponents/p-C0IqfGFc.js +0 -1
- package/dist/webcomponents/p-CffckWWF.js +0 -1
- package/dist/webcomponents/p-D0ptm6-3.js +0 -1
- package/dist/webcomponents/p-D4Mv5jCp.js +0 -1
- package/dist/webcomponents/p-D5Sh88BE.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-DZfxGQ1I.js +0 -1
- package/dist/webcomponents/p-DgfzEZny.js +0 -1
- package/dist/webcomponents/p-DjGTAHJM.js +0 -1
- package/dist/webcomponents/p-DuBhW0xA.js +0 -1
- package/dist/webcomponents/p-M61ygz6l.js +0 -1
- package/dist/webcomponents/p-U30-0DaA.js +0 -1
- package/dist/webcomponents/p-a46730eb.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-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-f8b205f7.entry.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
- /package/dist/webcomponents/{p-D6FDxSyt.js → p-DeiW2BDb.js} +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
-
import { c as create$3, F as FormController } from './form.js';
|
|
3
|
-
import {
|
|
2
|
+
import { c as create$3, d as create$8, F as FormController } from './form.js';
|
|
3
|
+
import { E as EntityDocumentType, b as EntityDocumentStorage, c as EntityDocument } from './Refund.js';
|
|
4
|
+
import { z as routingNumberValidation, A as accountNumberValidation, B as accountTypeValidation, n as identityNameValidation, C as nicknameValidation, D as bankNameValidation } from './schema-validations.js';
|
|
4
5
|
import './Business.js';
|
|
5
6
|
import { B as BusinessFormStep } from './event-types2.js';
|
|
6
7
|
import { h as heading2 } from './parts.js';
|
|
@@ -10,8 +11,6 @@ import './utils2.js';
|
|
|
10
11
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkout.js';
|
|
11
12
|
import './Pagination.js';
|
|
12
13
|
import './Payment.js';
|
|
13
|
-
import './Refund.js';
|
|
14
|
-
import { a as EntityDocumentStorage, b as EntityDocument } from './Document.js';
|
|
15
14
|
import { d as defineCustomElement$8 } from './bank-account-document-inputs.js';
|
|
16
15
|
import { d as defineCustomElement$7 } from './bank-account-form-inputs2.js';
|
|
17
16
|
import { d as defineCustomElement$6 } from './business-documents-on-file2.js';
|
|
@@ -54,17 +53,44 @@ class BankAccount {
|
|
|
54
53
|
}
|
|
55
54
|
}
|
|
56
55
|
|
|
56
|
+
const checkExistingDocs = (documents, documentType) => {
|
|
57
|
+
return documents.some((doc) => doc.document_type === documentType);
|
|
58
|
+
};
|
|
59
|
+
const documentErrorText = 'Please upload either a voided check or a bank statement. Only one is required.';
|
|
57
60
|
const businessBankAccountSchema = (documents, allowOptionalFields) => {
|
|
58
|
-
const
|
|
61
|
+
const existingVoidedCheck = checkExistingDocs(documents, EntityDocumentType.voidedCheck);
|
|
62
|
+
const existingBankStatement = checkExistingDocs(documents, EntityDocumentType.bankStatement);
|
|
63
|
+
const existingDocument = existingVoidedCheck || existingBankStatement;
|
|
64
|
+
const schema = create$3().shape({
|
|
59
65
|
bank_name: bankNameValidation.required('Enter bank name'),
|
|
60
66
|
nickname: nicknameValidation.required('Enter nickname'),
|
|
61
67
|
account_owner_name: identityNameValidation.required('Enter account owner name'),
|
|
62
68
|
account_type: accountTypeValidation.required('Select account type'),
|
|
63
69
|
account_number: accountNumberValidation.required('Enter account number'),
|
|
64
70
|
routing_number: routingNumberValidation.required('Enter routing number'),
|
|
65
|
-
voided_check:
|
|
66
|
-
|
|
67
|
-
|
|
71
|
+
voided_check: create$8().when('bank_statement', {
|
|
72
|
+
is: (val) => {
|
|
73
|
+
return !val && !existingDocument;
|
|
74
|
+
},
|
|
75
|
+
then: (schema) => {
|
|
76
|
+
return schema.required(documentErrorText);
|
|
77
|
+
},
|
|
78
|
+
otherwise: (schema) => {
|
|
79
|
+
return schema.notRequired();
|
|
80
|
+
}
|
|
81
|
+
}),
|
|
82
|
+
bank_statement: create$8().when('voided_check', {
|
|
83
|
+
is: (val) => {
|
|
84
|
+
return !val && !existingDocument;
|
|
85
|
+
},
|
|
86
|
+
then: (schema) => {
|
|
87
|
+
return schema.required(documentErrorText);
|
|
88
|
+
},
|
|
89
|
+
otherwise: (schema) => {
|
|
90
|
+
return schema.notRequired();
|
|
91
|
+
}
|
|
92
|
+
}),
|
|
93
|
+
}, [['voided_check', 'bank_statement']]);
|
|
68
94
|
const easySchema = create$3({
|
|
69
95
|
bank_name: bankNameValidation.nullable(),
|
|
70
96
|
nickname: nicknameValidation.nullable(),
|
|
@@ -72,8 +98,8 @@ const businessBankAccountSchema = (documents, allowOptionalFields) => {
|
|
|
72
98
|
account_type: accountTypeValidation.nullable(),
|
|
73
99
|
account_number: accountNumberValidation.nullable(),
|
|
74
100
|
routing_number: routingNumberValidation.nullable(),
|
|
75
|
-
voided_check:
|
|
76
|
-
bank_statement:
|
|
101
|
+
voided_check: create$8().nullable(),
|
|
102
|
+
bank_statement: create$8().nullable(),
|
|
77
103
|
});
|
|
78
104
|
return allowOptionalFields ? easySchema : schema;
|
|
79
105
|
};
|
|
@@ -297,7 +323,7 @@ const BusinessBankAccountFormStepCore = /*@__PURE__*/ proxyCustomElement(class B
|
|
|
297
323
|
if (this.isLoading) {
|
|
298
324
|
return h(PaymentProvisioningLoading, null);
|
|
299
325
|
}
|
|
300
|
-
return (h("form", null, h("fieldset", { class: "mb-4" }, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Bank Account Info"), h("form-control-tooltip", { helpText: "This direct deposit account is the designated bank account where incoming funds will be deposited. The name of this account must match the registered business name exactly. We are not able to accept personal accounts unless your business is a registered sole proprietorship." })), h("hr", { class: "mt-2" }), h("bank-account-form-inputs", { defaultValue: bankAccountDefaultValue, errors: this.errors, inputHandler: this.inputHandler, formDisabled: this.existingBankAccount })), h("fieldset", { class: "mt-4" }, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Document Uploads"), h("form-control-tooltip", { helpText: "
|
|
326
|
+
return (h("form", null, h("fieldset", { class: "mb-4" }, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Bank Account Info"), h("form-control-tooltip", { helpText: "This direct deposit account is the designated bank account where incoming funds will be deposited. The name of this account must match the registered business name exactly. We are not able to accept personal accounts unless your business is a registered sole proprietorship." })), h("hr", { class: "mt-2" }), h("bank-account-form-inputs", { defaultValue: bankAccountDefaultValue, errors: this.errors, inputHandler: this.inputHandler, formDisabled: this.existingBankAccount })), h("fieldset", { class: "mt-4" }, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Document Uploads"), h("form-control-tooltip", { helpText: "One document (voided check or bank statement) is required for underwriting purposes. It needs to visibly show the name tied to the account and the account number. Various file formats such as PDF, DOC, DOCX, JPEG are accepted. Multiple files can be uploaded for each document category." })), h("hr", { class: "mt-2" }), h("business-documents-on-file", { documents: this.existingDocuments, isLoading: this.isLoading }), h("bank-account-document-form-inputs", { inputHandler: this.inputHandler, errors: this.errors, storeFiles: this.storeFiles }))));
|
|
301
327
|
}
|
|
302
328
|
static get watchers() { return {
|
|
303
329
|
"isLoading": ["watchHandler"]
|
|
@@ -5,7 +5,6 @@ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkou
|
|
|
5
5
|
import './Pagination.js';
|
|
6
6
|
import './Payment.js';
|
|
7
7
|
import './Refund.js';
|
|
8
|
-
import './Document.js';
|
|
9
8
|
import './Business.js';
|
|
10
9
|
import { m as makeGetBusiness, b as makePostBankAccount, c as makePostDocumentRecord } from './payment-provisioning-actions.js';
|
|
11
10
|
import { B as BusinessService, a as BusinessBankAccountService, D as DocumentRecordService } from './business.service.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { h, Fragment, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
|
|
2
2
|
import { E as ErrorState } from './utils.js';
|
|
3
3
|
import { S as StyledHost } from './styled-host.js';
|
|
4
|
-
import './details.js';
|
|
4
|
+
import { d as defineCustomElement$4 } from './details.js';
|
|
5
5
|
import './event-types.js';
|
|
6
6
|
import { S as Skeleton } from './skeleton.js';
|
|
7
|
-
import { d as defineCustomElement$
|
|
8
|
-
import { d as defineCustomElement$
|
|
7
|
+
import { d as defineCustomElement$6 } from './additional-questions-details2.js';
|
|
8
|
+
import { d as defineCustomElement$5 } from './core-info-details2.js';
|
|
9
9
|
import { d as defineCustomElement$3 } from './legal-address-details2.js';
|
|
10
10
|
import { d as defineCustomElement$2 } from './owner-details2.js';
|
|
11
11
|
import { d as defineCustomElement$1 } from './representative-details2.js';
|
|
@@ -42,7 +42,6 @@ const BusinessDetailsCore = /*@__PURE__*/ proxyCustomElement(class BusinessDetai
|
|
|
42
42
|
this.__registerHost();
|
|
43
43
|
this.errorEvent = createEvent(this, "error-event", 7);
|
|
44
44
|
this.renderState = RENDER_STATES.LOADING;
|
|
45
|
-
this.errorMessage = 'An error ocurred.';
|
|
46
45
|
}
|
|
47
46
|
async componentWillLoad() {
|
|
48
47
|
if (this.getBusiness) {
|
|
@@ -74,7 +73,7 @@ const BusinessDetailsCore = /*@__PURE__*/ proxyCustomElement(class BusinessDetai
|
|
|
74
73
|
if (this.renderState === RENDER_STATES.ERROR) {
|
|
75
74
|
return h(StyledHost, null, ErrorState(this.errorMessage));
|
|
76
75
|
}
|
|
77
|
-
return (h(StyledHost, null, h("
|
|
76
|
+
return (h(StyledHost, null, h("justifi-details", { "error-message": this.errorMessage }, h("div", { slot: 'detail-sections' }, h("core-info-details", { business: this.business }), h("legal-address-details", { legalAddress: this.business.legal_address }), h("representative-details", { representative: this.business.representative }), h("owner-details", { owners: this.business.owners }), h("additional-questions-details", { additionalQuestions: this.business.additional_questions })))));
|
|
78
77
|
}
|
|
79
78
|
}, [0, "business-details-core", {
|
|
80
79
|
"getBusiness": [16, "get-business"],
|
|
@@ -86,7 +85,7 @@ function defineCustomElement() {
|
|
|
86
85
|
if (typeof customElements === "undefined") {
|
|
87
86
|
return;
|
|
88
87
|
}
|
|
89
|
-
const components = ["business-details-core", "additional-questions-details", "
|
|
88
|
+
const components = ["business-details-core", "additional-questions-details", "core-info-details", "justifi-details", "legal-address-details", "owner-details", "representative-details"];
|
|
90
89
|
components.forEach(tagName => { switch (tagName) {
|
|
91
90
|
case "business-details-core":
|
|
92
91
|
if (!customElements.get(tagName)) {
|
|
@@ -94,11 +93,16 @@ function defineCustomElement() {
|
|
|
94
93
|
}
|
|
95
94
|
break;
|
|
96
95
|
case "additional-questions-details":
|
|
96
|
+
if (!customElements.get(tagName)) {
|
|
97
|
+
defineCustomElement$6();
|
|
98
|
+
}
|
|
99
|
+
break;
|
|
100
|
+
case "core-info-details":
|
|
97
101
|
if (!customElements.get(tagName)) {
|
|
98
102
|
defineCustomElement$5();
|
|
99
103
|
}
|
|
100
104
|
break;
|
|
101
|
-
case "
|
|
105
|
+
case "justifi-details":
|
|
102
106
|
if (!customElements.get(tagName)) {
|
|
103
107
|
defineCustomElement$4();
|
|
104
108
|
}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
-
import { c as create$3,
|
|
2
|
+
import { c as create$3, b as create$7, F as FormController } from './form.js';
|
|
3
3
|
import { A as Api } from './Api.js';
|
|
4
4
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkout.js';
|
|
5
5
|
import './Pagination.js';
|
|
6
6
|
import './Payment.js';
|
|
7
7
|
import './Refund.js';
|
|
8
|
-
import './Document.js';
|
|
9
8
|
import './Business.js';
|
|
10
9
|
import { h as heading2 } from './parts.js';
|
|
11
10
|
import { B as BusinessFormStep } from './event-types2.js';
|
|
@@ -54,7 +53,7 @@ const BusinessTermsConditionsFormStep = /*@__PURE__*/ proxyCustomElement(class B
|
|
|
54
53
|
this.formLoading.emit(true);
|
|
55
54
|
try {
|
|
56
55
|
const payload = this.termsPayload;
|
|
57
|
-
const response = await this.api.post({ endpoint: this.termsConditionsEndpoint, body: payload });
|
|
56
|
+
const response = await this.api.post({ endpoint: this.termsConditionsEndpoint, body: payload, authToken: this.authToken });
|
|
58
57
|
this.handleResponse(response, onSuccess);
|
|
59
58
|
}
|
|
60
59
|
catch (error) {
|
|
@@ -132,7 +131,7 @@ const BusinessTermsConditionsFormStep = /*@__PURE__*/ proxyCustomElement(class B
|
|
|
132
131
|
return (h("a", { href: "https://justifi.tech/merchant-agreement/", target: "_blank", rel: "noopener noreferrer" }, "merchant agreement"));
|
|
133
132
|
}
|
|
134
133
|
render() {
|
|
135
|
-
return (h("form", { key: '
|
|
134
|
+
return (h("form", { key: 'c1ca0ecd364a999e7525e9ac3da82e874a8784e8' }, h("fieldset", { key: 'a77178a38044c458d8dbd31a7e1aeb3f1a34c968' }, h("legend", { key: '7e933517fca8d54095466715bf1f0485625be74f', part: heading2 }, "Terms and Conditions"), h("hr", { key: '1c1da0b7378c51ad2be5efc0e51dedd3ed178c8f' }), h("div", { key: 'bc37aa5162dddc8ade4316b5f24deb1d4a4b6f86' }, h("p", { key: 'aef3d0c9186845e3f44b8e1906c405647f489b53' }, "Please read and accept the ", this.merchantAgreementLink, " to submit your provisioning request.")), h("br", { key: '2a6a480916cc0c4bf35d96c96c3f0250e87149cb' }), h("div", { key: '2e3bed3a57bcb026152fcdc82debab0e667f8148', class: "row-gy-3" }, h("div", { key: '3243c1819e4e61921421467271b2a4d2a89e73d4', class: "col-12" }, h("form-control-checkbox", { key: '20b9b72809148ef390a6da7d9f5bc216436d34a5', name: "accepted", label: "I agree to the terms and conditions", inputHandler: this.inputHandler, errorText: this.errors.accepted, disabled: this.acceptedTermsBefore, helpText: this.formHelperText, checked: this.acceptedTerms }))))));
|
|
136
135
|
}
|
|
137
136
|
}, [0, "justifi-business-terms-conditions-form-step", {
|
|
138
137
|
"authToken": [1, "auth-token"],
|
|
@@ -5,7 +5,6 @@ import './Checkout.js';
|
|
|
5
5
|
import { p as pagingDefaults } from './Pagination.js';
|
|
6
6
|
import './Payment.js';
|
|
7
7
|
import './Refund.js';
|
|
8
|
-
import './Document.js';
|
|
9
8
|
import './Business.js';
|
|
10
9
|
import './details.js';
|
|
11
10
|
import { T as Table, a as TableWrapper, b as TableComponent, c as TableHead, d as TableHeadRow, e as TableBody, f as TableLoadingState, g as TableEmptyState, h as TableErrorState, i as TableRow, j as TableFoot, k as TableFootRow, l as TableFootCell } from './table.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Components, JSX } from "../types/components";
|
|
2
2
|
|
|
3
|
-
interface
|
|
4
|
-
export const
|
|
5
|
-
prototype:
|
|
6
|
-
new ():
|
|
3
|
+
interface CoreInfoDetails extends Components.CoreInfoDetails, HTMLElement {}
|
|
4
|
+
export const CoreInfoDetails: {
|
|
5
|
+
prototype: CoreInfoDetails;
|
|
6
|
+
new (): CoreInfoDetails;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { D as DetailSectionTitle, a as DetailItem } from './utils.js';
|
|
3
|
+
import { s as snakeCaseToHumanReadable } from './utils2.js';
|
|
4
|
+
|
|
5
|
+
const CoreInfoDetails = /*@__PURE__*/ proxyCustomElement(class CoreInfoDetails extends HTMLElement {
|
|
6
|
+
constructor() {
|
|
7
|
+
super();
|
|
8
|
+
this.__registerHost();
|
|
9
|
+
}
|
|
10
|
+
render() {
|
|
11
|
+
if (!this.business) {
|
|
12
|
+
return null;
|
|
13
|
+
}
|
|
14
|
+
return (h("div", null, h(DetailSectionTitle, { sectionTitle: "Business Core Info Details" }), h("div", { class: "d-table gap-2 w-100 mt-3" }, h("div", { class: "row gy-3" }, h("div", { class: "col-12 col-md-6" }, h(DetailItem, { title: "Legal Name", value: this.business.legal_name }), h(DetailItem, { title: "Doing Business As (DBA)", value: this.business.doing_business_as }), h(DetailItem, { title: "Business Classification", value: snakeCaseToHumanReadable(this.business.classification) }), h(DetailItem, { title: "Industry", value: this.business.industry })), h("div", { class: "col-12 col-md-6" }, h(DetailItem, { title: "Tax ID", value: this.business.tax_id }), h(DetailItem, { title: "Website URL", value: this.business.website_url }), h(DetailItem, { title: "Email Address", value: this.business.email }), h(DetailItem, { title: "Phone Number", value: this.business.phone }))))));
|
|
15
|
+
}
|
|
16
|
+
}, [0, "core-info-details", {
|
|
17
|
+
"business": [16]
|
|
18
|
+
}]);
|
|
19
|
+
function defineCustomElement() {
|
|
20
|
+
if (typeof customElements === "undefined") {
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
const components = ["core-info-details"];
|
|
24
|
+
components.forEach(tagName => { switch (tagName) {
|
|
25
|
+
case "core-info-details":
|
|
26
|
+
if (!customElements.get(tagName)) {
|
|
27
|
+
customElements.define(tagName, CoreInfoDetails);
|
|
28
|
+
}
|
|
29
|
+
break;
|
|
30
|
+
} });
|
|
31
|
+
}
|
|
32
|
+
defineCustomElement();
|
|
33
|
+
|
|
34
|
+
export { CoreInfoDetails as C, defineCustomElement as d };
|
package/dist/module/details.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, h
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { E as ErrorState } from './utils.js';
|
|
3
3
|
|
|
4
4
|
const Details = /*@__PURE__*/ proxyCustomElement(class Details extends HTMLElement {
|
|
@@ -7,7 +7,7 @@ const Details = /*@__PURE__*/ proxyCustomElement(class Details extends HTMLEleme
|
|
|
7
7
|
this.__registerHost();
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(
|
|
10
|
+
return (h("div", { key: '3c1c4e729711c6676c176a5a04228ec7ebb7acfa' }, this.errorMessage ?
|
|
11
11
|
ErrorState(this.errorMessage)
|
|
12
12
|
:
|
|
13
13
|
h("main", { class: "p-2" }, h("slot", { name: "head-info" }), h("slot", { name: 'detail-sections' }))));
|
package/dist/module/form.js
CHANGED
|
@@ -11798,4 +11798,4 @@ class FormController {
|
|
|
11798
11798
|
}
|
|
11799
11799
|
}
|
|
11800
11800
|
|
|
11801
|
-
export { FormController as F, create$6 as a, create$
|
|
11801
|
+
export { FormController as F, create$6 as a, create$7 as b, create$3 as c, create$8 as d };
|
|
@@ -4,7 +4,6 @@ import { C as ComponentErrorSeverity } from './Checkout.js';
|
|
|
4
4
|
import './Pagination.js';
|
|
5
5
|
import { b as Payment } from './Payment.js';
|
|
6
6
|
import './Refund.js';
|
|
7
|
-
import './Document.js';
|
|
8
7
|
import './Business.js';
|
|
9
8
|
import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
|
|
10
9
|
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, createEvent, h
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { E as ErrorState } from './utils.js';
|
|
3
3
|
import { B as BusinessService } from './business.service.js';
|
|
4
4
|
import { m as makeGetBusiness } from './get-business.js';
|
|
5
5
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkout.js';
|
|
6
6
|
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
|
|
7
|
-
import { d as defineCustomElement$
|
|
8
|
-
import { d as defineCustomElement$
|
|
9
|
-
import { d as defineCustomElement$
|
|
7
|
+
import { d as defineCustomElement$8 } from './additional-questions-details2.js';
|
|
8
|
+
import { d as defineCustomElement$7 } from './business-details-core2.js';
|
|
9
|
+
import { d as defineCustomElement$6 } from './core-info-details2.js';
|
|
10
|
+
import { d as defineCustomElement$5 } from './details.js';
|
|
10
11
|
import { d as defineCustomElement$4 } from './legal-address-details2.js';
|
|
11
12
|
import { d as defineCustomElement$3 } from './owner-details2.js';
|
|
12
13
|
import { d as defineCustomElement$2 } from './representative-details2.js';
|
|
@@ -17,6 +18,11 @@ const BusinessDetails = /*@__PURE__*/ proxyCustomElement(class BusinessDetails e
|
|
|
17
18
|
this.__registerHost();
|
|
18
19
|
this.__attachShadow();
|
|
19
20
|
this.errorEvent = createEvent(this, "error-event", 7);
|
|
21
|
+
this.errorMessage = null;
|
|
22
|
+
this.handleErrorEvent = event => {
|
|
23
|
+
this.errorMessage = event.detail.message;
|
|
24
|
+
this.errorEvent.emit(event.detail);
|
|
25
|
+
};
|
|
20
26
|
}
|
|
21
27
|
componentWillLoad() {
|
|
22
28
|
checkPkgVersion();
|
|
@@ -46,9 +52,9 @@ const BusinessDetails = /*@__PURE__*/ proxyCustomElement(class BusinessDetails e
|
|
|
46
52
|
}
|
|
47
53
|
render() {
|
|
48
54
|
if (this.errorMessage) {
|
|
49
|
-
return
|
|
55
|
+
return ErrorState(this.errorMessage);
|
|
50
56
|
}
|
|
51
|
-
return (h(
|
|
57
|
+
return (h("business-details-core", { getBusiness: this.getBusiness, "onError-event": this.handleErrorEvent }));
|
|
52
58
|
}
|
|
53
59
|
}, [1, "justifi-business-details", {
|
|
54
60
|
"businessId": [1, "business-id"],
|
|
@@ -60,7 +66,7 @@ function defineCustomElement$1() {
|
|
|
60
66
|
if (typeof customElements === "undefined") {
|
|
61
67
|
return;
|
|
62
68
|
}
|
|
63
|
-
const components = ["justifi-business-details", "additional-questions-details", "business-details-core", "
|
|
69
|
+
const components = ["justifi-business-details", "additional-questions-details", "business-details-core", "core-info-details", "justifi-details", "legal-address-details", "owner-details", "representative-details"];
|
|
64
70
|
components.forEach(tagName => { switch (tagName) {
|
|
65
71
|
case "justifi-business-details":
|
|
66
72
|
if (!customElements.get(tagName)) {
|
|
@@ -69,15 +75,20 @@ function defineCustomElement$1() {
|
|
|
69
75
|
break;
|
|
70
76
|
case "additional-questions-details":
|
|
71
77
|
if (!customElements.get(tagName)) {
|
|
72
|
-
defineCustomElement$
|
|
78
|
+
defineCustomElement$8();
|
|
73
79
|
}
|
|
74
80
|
break;
|
|
75
81
|
case "business-details-core":
|
|
82
|
+
if (!customElements.get(tagName)) {
|
|
83
|
+
defineCustomElement$7();
|
|
84
|
+
}
|
|
85
|
+
break;
|
|
86
|
+
case "core-info-details":
|
|
76
87
|
if (!customElements.get(tagName)) {
|
|
77
88
|
defineCustomElement$6();
|
|
78
89
|
}
|
|
79
90
|
break;
|
|
80
|
-
case "
|
|
91
|
+
case "justifi-details":
|
|
81
92
|
if (!customElements.get(tagName)) {
|
|
82
93
|
defineCustomElement$5();
|
|
83
94
|
}
|
|
@@ -10,7 +10,6 @@ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkou
|
|
|
10
10
|
import './Pagination.js';
|
|
11
11
|
import './Payment.js';
|
|
12
12
|
import './Refund.js';
|
|
13
|
-
import './Document.js';
|
|
14
13
|
import { a as Business, c as BusinessFormServerErrors } from './Business.js';
|
|
15
14
|
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
|
|
16
15
|
import { B as Button } from './button.js';
|
|
@@ -5,7 +5,6 @@ import { I as ICheckoutStatus, c as ICheckoutPaymentModeParam } from './Checkout
|
|
|
5
5
|
import './Pagination.js';
|
|
6
6
|
import './Payment.js';
|
|
7
7
|
import './Refund.js';
|
|
8
|
-
import './Document.js';
|
|
9
8
|
import './Business.js';
|
|
10
9
|
import { f as filterParams, p as propsParams, c as clearParams } from './checkouts-list-params-state.js';
|
|
11
10
|
import { a2 as checkoutsListFilterMenu, a3 as statusCheckoutsListFilterParam, a4 as paymentModeCheckoutsListFilterParam } from './parts.js';
|
|
@@ -5,7 +5,6 @@ import { b as Checkout, C as ComponentErrorSeverity, a as ComponentErrorCodes }
|
|
|
5
5
|
import './Pagination.js';
|
|
6
6
|
import './Payment.js';
|
|
7
7
|
import './Refund.js';
|
|
8
|
-
import './Document.js';
|
|
9
8
|
import './Business.js';
|
|
10
9
|
import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
|
|
11
10
|
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
|
|
@@ -4,7 +4,6 @@ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkou
|
|
|
4
4
|
import './Pagination.js';
|
|
5
5
|
import './Payment.js';
|
|
6
6
|
import './Refund.js';
|
|
7
|
-
import './Document.js';
|
|
8
7
|
import './Business.js';
|
|
9
8
|
import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
|
|
10
9
|
import { E as ErrorState } from './utils.js';
|
|
@@ -13,8 +13,7 @@ import './config-state.js';
|
|
|
13
13
|
import { n as formatPhoneNumber } from './utils2.js';
|
|
14
14
|
import './Pagination.js';
|
|
15
15
|
import './Payment.js';
|
|
16
|
-
import {
|
|
17
|
-
import './Document.js';
|
|
16
|
+
import { h as TerminalModel, g as TerminalOrder, a as TerminalOrderType } from './Refund.js';
|
|
18
17
|
import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
|
|
19
18
|
import { T as TerminalService } from './terminal.service.js';
|
|
20
19
|
import { d as defineCustomElement$4 } from './custom-popper2.js';
|
|
@@ -7,7 +7,6 @@ import { A as Api } from './Api.js';
|
|
|
7
7
|
import './Pagination.js';
|
|
8
8
|
import './Payment.js';
|
|
9
9
|
import './Refund.js';
|
|
10
|
-
import './Document.js';
|
|
11
10
|
import './Business.js';
|
|
12
11
|
import { d as defineCustomElement$y } from './bank-account-document-inputs.js';
|
|
13
12
|
import { d as defineCustomElement$x } from './bank-account-form-inputs2.js';
|
|
@@ -4,8 +4,7 @@ import { h as convertToLocal } from './utils2.js';
|
|
|
4
4
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkout.js';
|
|
5
5
|
import { p as pagingDefaults } from './Pagination.js';
|
|
6
6
|
import './Payment.js';
|
|
7
|
-
import {
|
|
8
|
-
import './Document.js';
|
|
7
|
+
import { e as PaymentBalanceTransaction } from './Refund.js';
|
|
9
8
|
import './Business.js';
|
|
10
9
|
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
|
|
11
10
|
import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
|
|
@@ -6,7 +6,6 @@ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkou
|
|
|
6
6
|
import './Pagination.js';
|
|
7
7
|
import { b as Payment } from './Payment.js';
|
|
8
8
|
import './Refund.js';
|
|
9
|
-
import './Document.js';
|
|
10
9
|
import './Business.js';
|
|
11
10
|
import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
|
|
12
11
|
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
|
|
@@ -6,7 +6,6 @@ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkou
|
|
|
6
6
|
import './Pagination.js';
|
|
7
7
|
import './Payment.js';
|
|
8
8
|
import { P as Payout } from './Refund.js';
|
|
9
|
-
import './Document.js';
|
|
10
9
|
import './Business.js';
|
|
11
10
|
import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
|
|
12
11
|
import { E as ErrorState } from './utils.js';
|
|
@@ -4,8 +4,7 @@ import { h as convertToLocal } from './utils2.js';
|
|
|
4
4
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkout.js';
|
|
5
5
|
import { p as pagingDefaults } from './Pagination.js';
|
|
6
6
|
import './Payment.js';
|
|
7
|
-
import {
|
|
8
|
-
import './Document.js';
|
|
7
|
+
import { f as PayoutBalanceTransaction } from './Refund.js';
|
|
9
8
|
import './Business.js';
|
|
10
9
|
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
|
|
11
10
|
import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
|
|
@@ -7,7 +7,6 @@ import './utils2.js';
|
|
|
7
7
|
import './Pagination.js';
|
|
8
8
|
import './Payment.js';
|
|
9
9
|
import { P as Payout } from './Refund.js';
|
|
10
|
-
import './Document.js';
|
|
11
10
|
import './Business.js';
|
|
12
11
|
import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
|
|
13
12
|
import { m as makeGetPayoutCSV } from './get-payout-csv.js';
|
|
@@ -5,8 +5,7 @@ import './config-state.js';
|
|
|
5
5
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkout.js';
|
|
6
6
|
import './Pagination.js';
|
|
7
7
|
import './Payment.js';
|
|
8
|
-
import { R as RefundReasons,
|
|
9
|
-
import './Document.js';
|
|
8
|
+
import { R as RefundReasons, i as RefundPayload } from './Refund.js';
|
|
10
9
|
import './Business.js';
|
|
11
10
|
import { B as Button } from './button.js';
|
|
12
11
|
import { S as StyledHost } from './styled-host.js';
|
|
@@ -4,7 +4,6 @@ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkou
|
|
|
4
4
|
import './Pagination.js';
|
|
5
5
|
import './Payment.js';
|
|
6
6
|
import './Refund.js';
|
|
7
|
-
import './Document.js';
|
|
8
7
|
import './Business.js';
|
|
9
8
|
import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
|
|
10
9
|
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
|
|
@@ -10,7 +10,6 @@ import './Checkout.js';
|
|
|
10
10
|
import './Pagination.js';
|
|
11
11
|
import './Payment.js';
|
|
12
12
|
import { T as TerminalOrderStatus, a as TerminalOrderType } from './Refund.js';
|
|
13
|
-
import './Document.js';
|
|
14
13
|
import './Business.js';
|
|
15
14
|
import { d as defineCustomElement$6 } from './custom-popper2.js';
|
|
16
15
|
import { d as defineCustomElement$5 } from './form-control-date2.js';
|
|
@@ -9,8 +9,7 @@ import './utils2.js';
|
|
|
9
9
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkout.js';
|
|
10
10
|
import './Pagination.js';
|
|
11
11
|
import './Payment.js';
|
|
12
|
-
import {
|
|
13
|
-
import './Document.js';
|
|
12
|
+
import { g as TerminalOrder } from './Refund.js';
|
|
14
13
|
import './Business.js';
|
|
15
14
|
import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
|
|
16
15
|
import { A as Api } from './Api.js';
|
|
@@ -11,7 +11,6 @@ import './Checkout.js';
|
|
|
11
11
|
import './Pagination.js';
|
|
12
12
|
import './Payment.js';
|
|
13
13
|
import { I as ITerminalStatus } from './Refund.js';
|
|
14
|
-
import './Document.js';
|
|
15
14
|
import './Business.js';
|
|
16
15
|
import { d as defineCustomElement$6 } from './custom-popper2.js';
|
|
17
16
|
import { d as defineCustomElement$5 } from './form-control-select2.js';
|
|
@@ -6,8 +6,7 @@ import './config-state.js';
|
|
|
6
6
|
import './utils2.js';
|
|
7
7
|
import './Pagination.js';
|
|
8
8
|
import './Payment.js';
|
|
9
|
-
import {
|
|
10
|
-
import './Document.js';
|
|
9
|
+
import { d as Terminal } from './Refund.js';
|
|
11
10
|
import './Business.js';
|
|
12
11
|
import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
|
|
13
12
|
import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts.js';
|
|
@@ -10,7 +10,6 @@ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkou
|
|
|
10
10
|
import './Pagination.js';
|
|
11
11
|
import './Payment.js';
|
|
12
12
|
import './Refund.js';
|
|
13
|
-
import './Document.js';
|
|
14
13
|
import './Business.js';
|
|
15
14
|
import { d as defineCustomElement$i } from './bank-account-form2.js';
|
|
16
15
|
import { d as defineCustomElement$h } from './card-form2.js';
|
|
@@ -81,11 +80,10 @@ const TokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class TokenizePay
|
|
|
81
80
|
this.paymentMethodOptionsRef.fillBillingForm(fields);
|
|
82
81
|
}
|
|
83
82
|
async validate() {
|
|
84
|
-
|
|
85
|
-
return { isValid };
|
|
83
|
+
return this.paymentMethodOptionsRef.validate();
|
|
86
84
|
}
|
|
87
85
|
render() {
|
|
88
|
-
return (h(StyledHost, { key: '
|
|
86
|
+
return (h(StyledHost, { key: '9f12f7a83b2cb06c83694454ea5884bd7392eb83' }, h("form", { key: '0a0a4b4a049aa85863ef5c65313b89ebf58455c5' }, h("fieldset", { key: 'c35ed423483d49615f9ebe500fcef405394f4eb6' }, h("div", { key: '80419e9ca3431d9d75cffc958daab84a2c232f49', class: "row gy-3" }, h("div", { key: 'bd465d8b364c1bc46a6a3dee3fb74087bc087580', class: "col-12" }, h("justifi-payment-method-options", { key: 'c363e501622ef81c78a728ebbd15a3a4cd89867a', ref: (el) => (this.paymentMethodOptionsRef = el), "show-card": !this.disableCreditCard, "show-ach": !this.disableBankAccount, "show-bnpl": false, paymentMethodGroupId: this.paymentMethodGroupId, "show-saved-payment-methods": false, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, authToken: this.authToken, "account-id": this.accountId })), h("div", { key: 'ad252991a12f6d21a012b6422ecaae13412f789b', class: "col-12" }, h(Button, { key: '4bb1dcdfeb71c21d3268c11fabd1ab92b43fca5e', variant: "primary", type: "submit", onClick: event => this.tokenizePaymentMethod(event), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.hideSubmitButton }, this.submitButtonText)))))));
|
|
89
87
|
}
|
|
90
88
|
}, [1, "justifi-tokenize-payment-method", {
|
|
91
89
|
"authToken": [1, "auth-token"],
|