@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
package/dist/collection/components/business-details/representative-details/representative-details.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
2
|
import { DetailItem, DetailSectionTitle } from "../../../ui-components/details/utils";
|
|
3
3
|
import { formatMediumDate, isEmptyObject } from "../../../utils/utils";
|
|
4
4
|
export class JustifiRepresentativeDetails {
|
|
5
5
|
render() {
|
|
6
6
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
7
|
-
if (isEmptyObject(this.representative))
|
|
7
|
+
if (!this.representative || isEmptyObject(this.representative))
|
|
8
8
|
return null;
|
|
9
|
-
return (h(
|
|
9
|
+
return (h("div", null, h(DetailSectionTitle, { sectionTitle: "Representative 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: "Name", value: (_a = this.representative) === null || _a === void 0 ? void 0 : _a.name }), h(DetailItem, { title: "ID", value: (_b = this.representative) === null || _b === void 0 ? void 0 : _b.id }), h(DetailItem, { title: "Address", value: (_d = (_c = this.representative) === null || _c === void 0 ? void 0 : _c.address) === null || _d === void 0 ? void 0 : _d.line1 }), h(DetailItem, { title: "Created At", value: ((_e = this.representative) === null || _e === void 0 ? void 0 : _e.created_at) && formatMediumDate((_f = this.representative) === null || _f === void 0 ? void 0 : _f.created_at) })), h("div", { class: "col-12 col-md-6" }, h(DetailItem, { title: "Title", value: (_g = this.representative) === null || _g === void 0 ? void 0 : _g.title }), h(DetailItem, { title: "Is Owner?", value: (_h = this.representative) === null || _h === void 0 ? void 0 : _h.is_owner.toString() }), h(DetailItem, { title: "Date Of Birth", value: this.representative && formatMediumDate(new Date(Number((_j = this.representative) === null || _j === void 0 ? void 0 : _j.dob_year), Number((_k = this.representative) === null || _k === void 0 ? void 0 : _k.dob_month) - 1, Number((_l = this.representative) === null || _l === void 0 ? void 0 : _l.dob_day))) }), h(DetailItem, { title: "Email", value: (_m = this.representative) === null || _m === void 0 ? void 0 : _m.email }), h(DetailItem, { title: "Phone", value: (_o = this.representative) === null || _o === void 0 ? void 0 : _o.phone }), h(DetailItem, { title: "Updated At", value: this.representative && formatMediumDate((_p = this.representative) === null || _p === void 0 ? void 0 : _p.updated_at) }))))));
|
|
10
10
|
}
|
|
11
11
|
static get is() { return "representative-details"; }
|
|
12
12
|
static get properties() {
|
|
@@ -219,7 +219,7 @@ export class BusinessBankAccountFormStepCore {
|
|
|
219
219
|
if (this.isLoading) {
|
|
220
220
|
return h(PaymentProvisioningLoading, null);
|
|
221
221
|
}
|
|
222
|
-
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: "
|
|
222
|
+
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 }))));
|
|
223
223
|
}
|
|
224
224
|
static get is() { return "justifi-business-bank-account-form-step-core"; }
|
|
225
225
|
static get properties() {
|
|
@@ -30,7 +30,7 @@ export class BusinessTermsConditionsFormStep {
|
|
|
30
30
|
this.formLoading.emit(true);
|
|
31
31
|
try {
|
|
32
32
|
const payload = this.termsPayload;
|
|
33
|
-
const response = await this.api.post({ endpoint: this.termsConditionsEndpoint, body: payload });
|
|
33
|
+
const response = await this.api.post({ endpoint: this.termsConditionsEndpoint, body: payload, authToken: this.authToken });
|
|
34
34
|
this.handleResponse(response, onSuccess);
|
|
35
35
|
}
|
|
36
36
|
catch (error) {
|
|
@@ -108,7 +108,7 @@ export class BusinessTermsConditionsFormStep {
|
|
|
108
108
|
return (h("a", { href: "https://justifi.tech/merchant-agreement/", target: "_blank", rel: "noopener noreferrer" }, "merchant agreement"));
|
|
109
109
|
}
|
|
110
110
|
render() {
|
|
111
|
-
return (h("form", { key: '
|
|
111
|
+
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 }))))));
|
|
112
112
|
}
|
|
113
113
|
static get is() { return "justifi-business-terms-conditions-form-step"; }
|
|
114
114
|
static get properties() {
|
|
@@ -1,16 +1,44 @@
|
|
|
1
|
-
import { object } from "yup";
|
|
2
|
-
import {
|
|
1
|
+
import { object, mixed } from "yup";
|
|
2
|
+
import { EntityDocumentType } from "../../../api/Document";
|
|
3
|
+
import { accountNumberValidation, accountTypeValidation, bankNameValidation, identityNameValidation, nicknameValidation, routingNumberValidation } from "./schema-validations";
|
|
4
|
+
const checkExistingDocs = (documents, documentType) => {
|
|
5
|
+
return documents.some((doc) => doc.document_type === documentType);
|
|
6
|
+
};
|
|
7
|
+
const documentErrorText = 'Please upload either a voided check or a bank statement. Only one is required.';
|
|
3
8
|
export const businessBankAccountSchema = (documents, allowOptionalFields) => {
|
|
4
|
-
const
|
|
9
|
+
const existingVoidedCheck = checkExistingDocs(documents, EntityDocumentType.voidedCheck);
|
|
10
|
+
const existingBankStatement = checkExistingDocs(documents, EntityDocumentType.bankStatement);
|
|
11
|
+
const existingDocument = existingVoidedCheck || existingBankStatement;
|
|
12
|
+
const schema = object().shape({
|
|
5
13
|
bank_name: bankNameValidation.required('Enter bank name'),
|
|
6
14
|
nickname: nicknameValidation.required('Enter nickname'),
|
|
7
15
|
account_owner_name: identityNameValidation.required('Enter account owner name'),
|
|
8
16
|
account_type: accountTypeValidation.required('Select account type'),
|
|
9
17
|
account_number: accountNumberValidation.required('Enter account number'),
|
|
10
18
|
routing_number: routingNumberValidation.required('Enter routing number'),
|
|
11
|
-
voided_check:
|
|
12
|
-
|
|
13
|
-
|
|
19
|
+
voided_check: mixed().when('bank_statement', {
|
|
20
|
+
is: (val) => {
|
|
21
|
+
return !val && !existingDocument;
|
|
22
|
+
},
|
|
23
|
+
then: (schema) => {
|
|
24
|
+
return schema.required(documentErrorText);
|
|
25
|
+
},
|
|
26
|
+
otherwise: (schema) => {
|
|
27
|
+
return schema.notRequired();
|
|
28
|
+
}
|
|
29
|
+
}),
|
|
30
|
+
bank_statement: mixed().when('voided_check', {
|
|
31
|
+
is: (val) => {
|
|
32
|
+
return !val && !existingDocument;
|
|
33
|
+
},
|
|
34
|
+
then: (schema) => {
|
|
35
|
+
return schema.required(documentErrorText);
|
|
36
|
+
},
|
|
37
|
+
otherwise: (schema) => {
|
|
38
|
+
return schema.notRequired();
|
|
39
|
+
}
|
|
40
|
+
}),
|
|
41
|
+
}, [['voided_check', 'bank_statement']]);
|
|
14
42
|
const easySchema = object({
|
|
15
43
|
bank_name: bankNameValidation.nullable(),
|
|
16
44
|
nickname: nicknameValidation.nullable(),
|
|
@@ -18,8 +46,8 @@ export const businessBankAccountSchema = (documents, allowOptionalFields) => {
|
|
|
18
46
|
account_type: accountTypeValidation.nullable(),
|
|
19
47
|
account_number: accountNumberValidation.nullable(),
|
|
20
48
|
routing_number: routingNumberValidation.nullable(),
|
|
21
|
-
voided_check:
|
|
22
|
-
bank_statement:
|
|
49
|
+
voided_check: mixed().nullable(),
|
|
50
|
+
bank_statement: mixed().nullable(),
|
|
23
51
|
});
|
|
24
52
|
return allowOptionalFields ? easySchema : schema;
|
|
25
53
|
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { string } from "yup";
|
|
2
2
|
import StateOptions from "../../../utils/state-options";
|
|
3
|
-
import { businessServiceReceivedOptions, recurringPaymentsOptions, seasonalBusinessOptions, bankAccountTypeOptions, businessClassificationOptions } from "../utils/business-form-options";
|
|
4
|
-
import { numbersOnlyRegex, phoneRegex, poBoxRegex, ssnRegex, transformEmptyString, urlRegex, validateRoutingNumber } from "./schema-helpers";
|
|
5
|
-
import { EntityDocumentType } from "../../../api/Document";
|
|
3
|
+
import { businessServiceReceivedOptions, recurringPaymentsOptions, seasonalBusinessOptions, bankAccountTypeOptions, businessClassificationOptions, } from "../utils/business-form-options";
|
|
4
|
+
import { numbersOnlyRegex, phoneRegex, poBoxRegex, ssnRegex, transformEmptyString, urlRegex, validateRoutingNumber, } from "./schema-helpers";
|
|
6
5
|
// Common Validations
|
|
7
6
|
export const emailValidation = string()
|
|
8
7
|
.email('Enter valid email')
|
|
@@ -55,7 +54,7 @@ export const identityTitleValidation = string()
|
|
|
55
54
|
.max(50, 'Title must be less than 50 characters')
|
|
56
55
|
.transform(transformEmptyString);
|
|
57
56
|
export const dobValidation = (role) => {
|
|
58
|
-
return
|
|
57
|
+
return string()
|
|
59
58
|
.test('min', 'Enter a valid date', (value) => {
|
|
60
59
|
const date = new Date(value);
|
|
61
60
|
const minDate = new Date('1902-01-01');
|
|
@@ -67,7 +66,7 @@ export const dobValidation = (role) => {
|
|
|
67
66
|
minAgeDate.setFullYear(minAgeDate.getFullYear() - 18);
|
|
68
67
|
return date <= minAgeDate;
|
|
69
68
|
})
|
|
70
|
-
.transform(transformEmptyString)
|
|
69
|
+
.transform(transformEmptyString);
|
|
71
70
|
};
|
|
72
71
|
export const ssnValidation = string()
|
|
73
72
|
.matches(ssnRegex, 'Enter valid SSN')
|
|
@@ -102,7 +101,7 @@ export const cityValidation = string()
|
|
|
102
101
|
.max(50, 'City must be less than 50 characters')
|
|
103
102
|
.transform(transformEmptyString);
|
|
104
103
|
export const stateValidation = string()
|
|
105
|
-
.oneOf(StateOptions.map((option) => option.value), '
|
|
104
|
+
.oneOf(StateOptions.map((option) => option.value), 'Enter a 2-letter state abbreviation, such as CA')
|
|
106
105
|
.transform(transformEmptyString);
|
|
107
106
|
export const postalValidation = string()
|
|
108
107
|
.matches(/^[0-9]{5}$/, 'Enter valid postal code')
|
|
@@ -130,8 +129,7 @@ export const recurringPaymentsPercentageValidation = string()
|
|
|
130
129
|
export const seasonalBusinessValidation = string()
|
|
131
130
|
.oneOf(seasonalBusinessOptions.map((option) => option.value), 'Select seasonal business')
|
|
132
131
|
.transform(transformEmptyString);
|
|
133
|
-
export const otherPaymentDetailsValidation = string()
|
|
134
|
-
.transform(transformEmptyString);
|
|
132
|
+
export const otherPaymentDetailsValidation = string().transform(transformEmptyString);
|
|
135
133
|
// Bank Account Validations
|
|
136
134
|
export const bankNameValidation = string()
|
|
137
135
|
.min(2, 'Name must be at least 2 characters')
|
|
@@ -162,48 +160,3 @@ export const routingNumberValidation = string()
|
|
|
162
160
|
return validateRoutingNumber(value);
|
|
163
161
|
})
|
|
164
162
|
.transform(transformEmptyString);
|
|
165
|
-
// Document Upload Validations
|
|
166
|
-
const documentUploadValidation = mixed();
|
|
167
|
-
export const ss4Validation = documentUploadValidation;
|
|
168
|
-
export const governmentIdValidation = documentUploadValidation;
|
|
169
|
-
export const otherDocumentValidation = documentUploadValidation;
|
|
170
|
-
export const voidedCheckValidation = (documents, allowOptionalFields) => {
|
|
171
|
-
const existingDoc = documents.some((doc) => doc.document_type === EntityDocumentType.voidedCheck);
|
|
172
|
-
if (existingDoc || allowOptionalFields) {
|
|
173
|
-
return documentUploadValidation.nullable();
|
|
174
|
-
}
|
|
175
|
-
else {
|
|
176
|
-
return documentUploadValidation.required('Please select one or more files');
|
|
177
|
-
}
|
|
178
|
-
};
|
|
179
|
-
export const bankStatementValidation = (documents, allowOptionalFields) => {
|
|
180
|
-
const existingDoc = documents.some((doc) => doc.document_type === EntityDocumentType.bankStatement);
|
|
181
|
-
if (existingDoc || allowOptionalFields) {
|
|
182
|
-
return documentUploadValidation.nullable();
|
|
183
|
-
}
|
|
184
|
-
else {
|
|
185
|
-
return documentUploadValidation.required('Please select one or more files');
|
|
186
|
-
}
|
|
187
|
-
};
|
|
188
|
-
export const balanceSheetValidation = (volume, documents, allowOptionalFields) => {
|
|
189
|
-
const vol = parseInt(volume);
|
|
190
|
-
const balanceSheetRequiredAmount = 1000000;
|
|
191
|
-
const existingDoc = documents.some((doc) => doc.document_type === EntityDocumentType.balanceSheet);
|
|
192
|
-
if (existingDoc || allowOptionalFields) {
|
|
193
|
-
return documentUploadValidation.nullable();
|
|
194
|
-
}
|
|
195
|
-
else if (vol >= balanceSheetRequiredAmount && !allowOptionalFields) {
|
|
196
|
-
return documentUploadValidation.required('Please select one or more files');
|
|
197
|
-
}
|
|
198
|
-
};
|
|
199
|
-
export const profitAndLossStatementValidation = (volume, documents, allowOptionalFields) => {
|
|
200
|
-
const vol = parseInt(volume);
|
|
201
|
-
const profitLossRequiredAmount = 1000000;
|
|
202
|
-
const existingDoc = documents.some((doc) => doc.document_type === EntityDocumentType.profitAndLossStatement);
|
|
203
|
-
if (existingDoc || allowOptionalFields) {
|
|
204
|
-
return documentUploadValidation.nullable();
|
|
205
|
-
}
|
|
206
|
-
else if (vol >= profitLossRequiredAmount && !allowOptionalFields) {
|
|
207
|
-
return documentUploadValidation.required('Please select one or more files');
|
|
208
|
-
}
|
|
209
|
-
};
|
|
@@ -35,13 +35,14 @@ export class BillingForm {
|
|
|
35
35
|
this.formController.setInitialValues(fields);
|
|
36
36
|
}
|
|
37
37
|
async validate() {
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
const isValid = await this.formController.validate();
|
|
39
|
+
const errors = this.formController.errors.getValue();
|
|
40
|
+
return { isValid, errors };
|
|
40
41
|
}
|
|
41
42
|
render() {
|
|
42
43
|
const billingFormDefaultValue = this.formController.getInitialValues();
|
|
43
44
|
const showHeader = !this.isPostalOnlyMode && !this.hideAllBillingFields;
|
|
44
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: 'df86239c476aadde3af18742bbf643d61825c051' }, h("div", { key: '186f3ef6c2295223da888b7645a0af7aa8df4535', part: billingForm, class: "mt-4", hidden: this.hideAllBillingFields }, showHeader && h(Header3, { key: '72284e3fcea18cbdfe879989fb7f1b007e2a37df', text: "Billing address", class: "fs-6 fw-bold lh-lg mb-4" }), h("form", { key: '9479d696a0486e63edfad4bd0dbe374a21cb7b8c' }, h("fieldset", { key: 'b780abf09a714f2e9588670ad149c3ca999cbc87' }, this.legend && h("legend", { key: 'f102dc51722fe2f050c951e7b56117c9577f3b83' }, this.legend), h("div", { key: '00d6c7e35d768f3357cc17836c916e2bf24e3a7e', class: "row gy-3" }, h("div", { key: 'cb2b29aa769c97ccab246dc74e463d389497edbd', class: "col-12", hidden: this.isPostalOnlyMode }, h("form-control-text", { key: '3cb8ca5e3ecd0817f8e16aafbb5d3ca5ee7824ed', name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '781338b1c79fd815d2ab2dbc15e7b56b534a2278', class: "col-12", hidden: this.isPostalOnlyMode }, h("form-control-text", { key: '682a37c6b417fbc0edf76b89122b5bf618603360', name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), h("div", { key: '50d657891e492c8568bf179d752b9aadf10f2387', class: "col-12", hidden: this.isPostalOnlyMode }, h("form-control-text", { key: 'ce1f04bfc3307af7a025390bcbcce6a6b3da6fab', name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), h("div", { key: 'ddb45c1cbdc6aa5d27c6a0c4b6f29366ed0e8eba', class: "col-12", hidden: this.isPostalOnlyMode }, h("form-control-text", { key: '410efdbcd5381bdf61d9c752f292f794d8e12670', name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), h("div", { key: 'a65811acc25443a07cdb1401231ce1e703096fd4', class: "col-12", hidden: this.isPostalOnlyMode }, h("form-control-select", { key: 'bed28d564c9e5a2ebfc10b6ab47e43e2b17bd6e6', name: 'address_state', label: 'State', options: StateOptions, defaultValue: billingFormDefaultValue.address_state, errorText: this.errors.address_state, inputHandler: this.inputHandler })), h("div", { key: '8aca307d318e87b17e09122fa91e817c0a59c8d5', class: "col-12", hidden: this.hideAllBillingFields }, h("form-control-text", { key: '4dd06dc9ae01fc2953780e52f9e9c918a38a7bbd', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: numberOnlyHandler }))))))));
|
|
45
46
|
}
|
|
46
47
|
static get is() { return "justifi-billing-form"; }
|
|
47
48
|
static get properties() {
|
|
@@ -183,7 +184,7 @@ export class BillingForm {
|
|
|
183
184
|
},
|
|
184
185
|
"validate": {
|
|
185
186
|
"complexType": {
|
|
186
|
-
"signature": "() => Promise<{ isValid: boolean; }>",
|
|
187
|
+
"signature": "() => Promise<{ isValid: boolean; errors: any; }>",
|
|
187
188
|
"parameters": [],
|
|
188
189
|
"references": {
|
|
189
190
|
"Promise": {
|
|
@@ -191,7 +192,7 @@ export class BillingForm {
|
|
|
191
192
|
"id": "global::Promise"
|
|
192
193
|
}
|
|
193
194
|
},
|
|
194
|
-
"return": "Promise<{ isValid: boolean; }>"
|
|
195
|
+
"return": "Promise<{ isValid: boolean; errors: any; }>"
|
|
195
196
|
},
|
|
196
197
|
"docs": {
|
|
197
198
|
"text": "",
|
|
@@ -23,9 +23,18 @@ export class NewPaymentMethod {
|
|
|
23
23
|
if (!this.paymentMethodFormRef || !this.billingFormRef)
|
|
24
24
|
return;
|
|
25
25
|
try {
|
|
26
|
-
const isValid = await this.validate();
|
|
26
|
+
const { isValid, errors } = await this.validate();
|
|
27
27
|
if (!isValid || !insuranceValidation.isValid) {
|
|
28
|
-
|
|
28
|
+
// get propety value from first property in errors object
|
|
29
|
+
const message = `${Object.values(errors)[0] || 'Validation error'}`;
|
|
30
|
+
return {
|
|
31
|
+
validationError: true,
|
|
32
|
+
error: {
|
|
33
|
+
code: 'validation_error',
|
|
34
|
+
message,
|
|
35
|
+
decline_code: undefined
|
|
36
|
+
}
|
|
37
|
+
};
|
|
29
38
|
}
|
|
30
39
|
const tokenizeResponse = await this.tokenize();
|
|
31
40
|
if (tokenizeResponse.error) {
|
|
@@ -46,7 +55,9 @@ export class NewPaymentMethod {
|
|
|
46
55
|
async validate() {
|
|
47
56
|
const billingFormValidation = await this.billingFormRef.validate();
|
|
48
57
|
const paymentMethodFormValidation = await this.paymentMethodFormRef.validate();
|
|
49
|
-
|
|
58
|
+
const isValid = billingFormValidation.isValid && paymentMethodFormValidation.isValid;
|
|
59
|
+
const errors = Object.assign(Object.assign({}, billingFormValidation.errors), paymentMethodFormValidation.errors);
|
|
60
|
+
return { isValid, errors };
|
|
50
61
|
}
|
|
51
62
|
async tokenize() {
|
|
52
63
|
try {
|
|
@@ -76,7 +87,7 @@ export class NewPaymentMethod {
|
|
|
76
87
|
}
|
|
77
88
|
render() {
|
|
78
89
|
var _a, _b;
|
|
79
|
-
return (h(Host, { key: '
|
|
90
|
+
return (h(Host, { key: '137378e62a729bd2287b1bdf89cb85c702cd4e12', class: "payment-method" }, h("div", { key: 'dabfcf5c56169708a8968a16aeaafefb43ca3ab8', class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick, hidden: this.hiddenRadioInput }, h("form-control-radio", { key: 'd098e2b8f6e1230fc16fdc2cbfd616559bcf2b89', name: "paymentMethodType", value: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, checked: this.isSelected, label: PaymentMethodTypeLabels[(_b = this.paymentMethodOption) === null || _b === void 0 ? void 0 : _b.id] })), this.isSelected ? this.showNewPaymentMethodForm() : null));
|
|
80
91
|
}
|
|
81
92
|
static get is() { return "justifi-new-payment-method"; }
|
|
82
93
|
static get properties() {
|
|
@@ -338,7 +349,7 @@ export class NewPaymentMethod {
|
|
|
338
349
|
},
|
|
339
350
|
"validate": {
|
|
340
351
|
"complexType": {
|
|
341
|
-
"signature": "() => Promise<boolean>",
|
|
352
|
+
"signature": "() => Promise<{ isValid: boolean; errors: any; }>",
|
|
342
353
|
"parameters": [],
|
|
343
354
|
"references": {
|
|
344
355
|
"Promise": {
|
|
@@ -346,7 +357,7 @@ export class NewPaymentMethod {
|
|
|
346
357
|
"id": "global::Promise"
|
|
347
358
|
}
|
|
348
359
|
},
|
|
349
|
-
"return": "Promise<boolean>"
|
|
360
|
+
"return": "Promise<{ isValid: boolean; errors: any; }>"
|
|
350
361
|
},
|
|
351
362
|
"docs": {
|
|
352
363
|
"text": "",
|
|
@@ -46,12 +46,11 @@ export class PaymentMethodOptions {
|
|
|
46
46
|
}
|
|
47
47
|
async validate() {
|
|
48
48
|
const newPaymentMethodElement = this.selectedPaymentMethodOptionRef;
|
|
49
|
-
|
|
50
|
-
return { isValid: isValid };
|
|
49
|
+
return newPaymentMethodElement.validate();
|
|
51
50
|
}
|
|
52
51
|
render() {
|
|
53
52
|
var _a;
|
|
54
|
-
return (h(Host, { key: '
|
|
53
|
+
return (h(Host, { key: 'c61e82c72aaa25e87ded723799a1eb0961c05444' }, (_a = this.paymentMethodOptions) === null || _a === void 0 ? void 0 : _a.map((paymentMethodOption) => {
|
|
55
54
|
const newCard = paymentMethodOption.id === PaymentMethodTypes.card;
|
|
56
55
|
const newBankAccount = paymentMethodOption.id === PaymentMethodTypes.bankAccount;
|
|
57
56
|
const isSelected = this.selectedPaymentMethodId === paymentMethodOption.id;
|
|
@@ -402,7 +401,7 @@ export class PaymentMethodOptions {
|
|
|
402
401
|
},
|
|
403
402
|
"validate": {
|
|
404
403
|
"complexType": {
|
|
405
|
-
"signature": "() => Promise<{ isValid: boolean; }>",
|
|
404
|
+
"signature": "() => Promise<{ isValid: boolean; errors?: any; }>",
|
|
406
405
|
"parameters": [],
|
|
407
406
|
"references": {
|
|
408
407
|
"Promise": {
|
|
@@ -414,7 +413,7 @@ export class PaymentMethodOptions {
|
|
|
414
413
|
"id": "global::HTMLJustifiNewPaymentMethodElement"
|
|
415
414
|
}
|
|
416
415
|
},
|
|
417
|
-
"return": "Promise<{ isValid: boolean; }>"
|
|
416
|
+
"return": "Promise<{ isValid: boolean; errors?: any; }>"
|
|
418
417
|
},
|
|
419
418
|
"docs": {
|
|
420
419
|
"text": "",
|
|
@@ -49,11 +49,10 @@ export class TokenizePaymentMethod {
|
|
|
49
49
|
this.paymentMethodOptionsRef.fillBillingForm(fields);
|
|
50
50
|
}
|
|
51
51
|
async validate() {
|
|
52
|
-
|
|
53
|
-
return { isValid };
|
|
52
|
+
return this.paymentMethodOptionsRef.validate();
|
|
54
53
|
}
|
|
55
54
|
render() {
|
|
56
|
-
return (h(StyledHost, { key: '
|
|
55
|
+
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)))))));
|
|
57
56
|
}
|
|
58
57
|
static get is() { return "justifi-tokenize-payment-method"; }
|
|
59
58
|
static get encapsulation() { return "shadow"; }
|
|
@@ -348,7 +347,7 @@ export class TokenizePaymentMethod {
|
|
|
348
347
|
},
|
|
349
348
|
"validate": {
|
|
350
349
|
"complexType": {
|
|
351
|
-
"signature": "() => Promise<{ isValid: boolean; }>",
|
|
350
|
+
"signature": "() => Promise<{ isValid: boolean; errors?: any; }>",
|
|
352
351
|
"parameters": [],
|
|
353
352
|
"references": {
|
|
354
353
|
"Promise": {
|
|
@@ -356,7 +355,7 @@ export class TokenizePaymentMethod {
|
|
|
356
355
|
"id": "global::Promise"
|
|
357
356
|
}
|
|
358
357
|
},
|
|
359
|
-
"return": "Promise<{ isValid: boolean; }>"
|
|
358
|
+
"return": "Promise<{ isValid: boolean; errors?: any; }>"
|
|
360
359
|
},
|
|
361
360
|
"docs": {
|
|
362
361
|
"text": "",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { h
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
2
|
import { ErrorState } from "./utils";
|
|
3
3
|
export class Details {
|
|
4
4
|
render() {
|
|
5
|
-
return (h(
|
|
5
|
+
return (h("div", { key: '3c1c4e729711c6676c176a5a04228ec7ebb7acfa' }, this.errorMessage ?
|
|
6
6
|
ErrorState(this.errorMessage)
|
|
7
7
|
:
|
|
8
8
|
h("main", { class: "p-2" }, h("slot", { name: "head-info" }), h("slot", { name: 'detail-sections' }))));
|
|
@@ -125,6 +125,9 @@ export function snakeToCamel(str) {
|
|
|
125
125
|
}
|
|
126
126
|
// Object Utilities
|
|
127
127
|
export function isEmptyObject(obj) {
|
|
128
|
+
if (obj === null) {
|
|
129
|
+
return true;
|
|
130
|
+
}
|
|
128
131
|
return Object.keys(obj).length === 0 && obj.constructor === Object;
|
|
129
132
|
}
|
|
130
133
|
export const isInRange = (num, min, max) => {
|