@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,4 +1,4 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, h
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { D as DetailSectionTitle, a as DetailItem } from './utils.js';
|
|
3
3
|
import { i as isEmptyObject } from './utils2.js';
|
|
4
4
|
|
|
@@ -9,9 +9,9 @@ const LegalAddressDetails = /*@__PURE__*/ proxyCustomElement(class LegalAddressD
|
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
11
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
12
|
-
if (isEmptyObject(this.legalAddress))
|
|
12
|
+
if (!this.legalAddress || isEmptyObject(this.legalAddress))
|
|
13
13
|
return null;
|
|
14
|
-
return (h(
|
|
14
|
+
return (h("div", null, h(DetailSectionTitle, { sectionTitle: "Business Legal Address 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: "Country", value: (_a = this.legalAddress) === null || _a === void 0 ? void 0 : _a.country }), h(DetailItem, { title: "Legal Address", value: (_b = this.legalAddress) === null || _b === void 0 ? void 0 : _b.line1 }), h(DetailItem, { title: "Address Line 2", value: (_c = this.legalAddress) === null || _c === void 0 ? void 0 : _c.line2 })), h("div", { class: "col-12 col-md-6" }, h(DetailItem, { title: "City", value: (_d = this.legalAddress) === null || _d === void 0 ? void 0 : _d.city }), h(DetailItem, { title: "State", value: (_e = this.legalAddress) === null || _e === void 0 ? void 0 : _e.state }), h(DetailItem, { title: "Postal Code", value: (_g = (_f = this.legalAddress) === null || _f === void 0 ? void 0 : _f.postal_code) === null || _g === void 0 ? void 0 : _g.toString() }))))));
|
|
15
15
|
}
|
|
16
16
|
}, [0, "legal-address-details", {
|
|
17
17
|
"legalAddress": [16, "legal-address"]
|
|
@@ -40,9 +40,18 @@ const NewPaymentMethod = /*@__PURE__*/ proxyCustomElement(class NewPaymentMethod
|
|
|
40
40
|
if (!this.paymentMethodFormRef || !this.billingFormRef)
|
|
41
41
|
return;
|
|
42
42
|
try {
|
|
43
|
-
const isValid = await this.validate();
|
|
43
|
+
const { isValid, errors } = await this.validate();
|
|
44
44
|
if (!isValid || !insuranceValidation.isValid) {
|
|
45
|
-
|
|
45
|
+
// get propety value from first property in errors object
|
|
46
|
+
const message = `${Object.values(errors)[0] || 'Validation error'}`;
|
|
47
|
+
return {
|
|
48
|
+
validationError: true,
|
|
49
|
+
error: {
|
|
50
|
+
code: 'validation_error',
|
|
51
|
+
message,
|
|
52
|
+
decline_code: undefined
|
|
53
|
+
}
|
|
54
|
+
};
|
|
46
55
|
}
|
|
47
56
|
const tokenizeResponse = await this.tokenize();
|
|
48
57
|
if (tokenizeResponse.error) {
|
|
@@ -63,7 +72,9 @@ const NewPaymentMethod = /*@__PURE__*/ proxyCustomElement(class NewPaymentMethod
|
|
|
63
72
|
async validate() {
|
|
64
73
|
const billingFormValidation = await this.billingFormRef.validate();
|
|
65
74
|
const paymentMethodFormValidation = await this.paymentMethodFormRef.validate();
|
|
66
|
-
|
|
75
|
+
const isValid = billingFormValidation.isValid && paymentMethodFormValidation.isValid;
|
|
76
|
+
const errors = Object.assign(Object.assign({}, billingFormValidation.errors), paymentMethodFormValidation.errors);
|
|
77
|
+
return { isValid, errors };
|
|
67
78
|
}
|
|
68
79
|
async tokenize() {
|
|
69
80
|
try {
|
|
@@ -93,7 +104,7 @@ const NewPaymentMethod = /*@__PURE__*/ proxyCustomElement(class NewPaymentMethod
|
|
|
93
104
|
}
|
|
94
105
|
render() {
|
|
95
106
|
var _a, _b;
|
|
96
|
-
return (h(Host, { key: '
|
|
107
|
+
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));
|
|
97
108
|
}
|
|
98
109
|
}, [0, "justifi-new-payment-method", {
|
|
99
110
|
"authToken": [1, "auth-token"],
|
package/dist/module/package.js
CHANGED
|
@@ -64,12 +64,11 @@ const PaymentMethodOptions = /*@__PURE__*/ proxyCustomElement(class PaymentMetho
|
|
|
64
64
|
}
|
|
65
65
|
async validate() {
|
|
66
66
|
const newPaymentMethodElement = this.selectedPaymentMethodOptionRef;
|
|
67
|
-
|
|
68
|
-
return { isValid: isValid };
|
|
67
|
+
return newPaymentMethodElement.validate();
|
|
69
68
|
}
|
|
70
69
|
render() {
|
|
71
70
|
var _a;
|
|
72
|
-
return (h(Host, { key: '
|
|
71
|
+
return (h(Host, { key: 'c61e82c72aaa25e87ded723799a1eb0961c05444' }, (_a = this.paymentMethodOptions) === null || _a === void 0 ? void 0 : _a.map((paymentMethodOption) => {
|
|
73
72
|
const newCard = paymentMethodOption.id === PaymentMethodTypes.card;
|
|
74
73
|
const newBankAccount = paymentMethodOption.id === PaymentMethodTypes.bankAccount;
|
|
75
74
|
const isSelected = this.selectedPaymentMethodId === paymentMethodOption.id;
|
|
@@ -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';
|
|
@@ -5,7 +5,6 @@ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkou
|
|
|
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,4 +1,4 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, h
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { D as DetailSectionTitle, a as DetailItem } from './utils.js';
|
|
3
3
|
import { i as isEmptyObject, f as formatMediumDate } from './utils2.js';
|
|
4
4
|
|
|
@@ -9,9 +9,9 @@ const JustifiRepresentativeDetails = /*@__PURE__*/ proxyCustomElement(class Just
|
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
11
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
12
|
-
if (isEmptyObject(this.representative))
|
|
12
|
+
if (!this.representative || isEmptyObject(this.representative))
|
|
13
13
|
return null;
|
|
14
|
-
return (h(
|
|
14
|
+
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) }))))));
|
|
15
15
|
}
|
|
16
16
|
}, [0, "representative-details", {
|
|
17
17
|
"representative": [16]
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { a as create$6
|
|
1
|
+
import { a as create$6 } from './form.js';
|
|
2
2
|
import { S as StateOptions } from './state-options.js';
|
|
3
3
|
import { c as businessClassificationOptions, a as businessServiceReceivedOptions, r as recurringPaymentsOptions, s as seasonalBusinessOptions, b as bankAccountTypeOptions } from './business-form-options.js';
|
|
4
|
-
import { E as EntityDocumentType } from './Document.js';
|
|
5
4
|
|
|
6
5
|
const transformEmptyString = (value) => {
|
|
7
6
|
return value === '' ? null : value;
|
|
@@ -77,7 +76,7 @@ const identityTitleValidation = create$6()
|
|
|
77
76
|
.max(50, 'Title must be less than 50 characters')
|
|
78
77
|
.transform(transformEmptyString);
|
|
79
78
|
const dobValidation = (role) => {
|
|
80
|
-
return
|
|
79
|
+
return create$6()
|
|
81
80
|
.test('min', 'Enter a valid date', (value) => {
|
|
82
81
|
const date = new Date(value);
|
|
83
82
|
const minDate = new Date('1902-01-01');
|
|
@@ -89,7 +88,7 @@ const dobValidation = (role) => {
|
|
|
89
88
|
minAgeDate.setFullYear(minAgeDate.getFullYear() - 18);
|
|
90
89
|
return date <= minAgeDate;
|
|
91
90
|
})
|
|
92
|
-
.transform(transformEmptyString)
|
|
91
|
+
.transform(transformEmptyString);
|
|
93
92
|
};
|
|
94
93
|
const ssnValidation = create$6()
|
|
95
94
|
.matches(ssnRegex, 'Enter valid SSN')
|
|
@@ -124,7 +123,7 @@ const cityValidation = create$6()
|
|
|
124
123
|
.max(50, 'City must be less than 50 characters')
|
|
125
124
|
.transform(transformEmptyString);
|
|
126
125
|
const stateValidation = create$6()
|
|
127
|
-
.oneOf(StateOptions.map((option) => option.value), '
|
|
126
|
+
.oneOf(StateOptions.map((option) => option.value), 'Enter a 2-letter state abbreviation, such as CA')
|
|
128
127
|
.transform(transformEmptyString);
|
|
129
128
|
const postalValidation = create$6()
|
|
130
129
|
.matches(/^[0-9]{5}$/, 'Enter valid postal code')
|
|
@@ -152,8 +151,7 @@ const recurringPaymentsPercentageValidation = create$6()
|
|
|
152
151
|
const seasonalBusinessValidation = create$6()
|
|
153
152
|
.oneOf(seasonalBusinessOptions.map((option) => option.value), 'Select seasonal business')
|
|
154
153
|
.transform(transformEmptyString);
|
|
155
|
-
const otherPaymentDetailsValidation = create$6()
|
|
156
|
-
.transform(transformEmptyString);
|
|
154
|
+
const otherPaymentDetailsValidation = create$6().transform(transformEmptyString);
|
|
157
155
|
// Bank Account Validations
|
|
158
156
|
const bankNameValidation = create$6()
|
|
159
157
|
.min(2, 'Name must be at least 2 characters')
|
|
@@ -184,25 +182,5 @@ const routingNumberValidation = create$6()
|
|
|
184
182
|
return validateRoutingNumber(value);
|
|
185
183
|
})
|
|
186
184
|
.transform(transformEmptyString);
|
|
187
|
-
// Document Upload Validations
|
|
188
|
-
const documentUploadValidation = create$8();
|
|
189
|
-
const voidedCheckValidation = (documents, allowOptionalFields) => {
|
|
190
|
-
const existingDoc = documents.some((doc) => doc.document_type === EntityDocumentType.voidedCheck);
|
|
191
|
-
if (existingDoc || allowOptionalFields) {
|
|
192
|
-
return documentUploadValidation.nullable();
|
|
193
|
-
}
|
|
194
|
-
else {
|
|
195
|
-
return documentUploadValidation.required('Please select one or more files');
|
|
196
|
-
}
|
|
197
|
-
};
|
|
198
|
-
const bankStatementValidation = (documents, allowOptionalFields) => {
|
|
199
|
-
const existingDoc = documents.some((doc) => doc.document_type === EntityDocumentType.bankStatement);
|
|
200
|
-
if (existingDoc || allowOptionalFields) {
|
|
201
|
-
return documentUploadValidation.nullable();
|
|
202
|
-
}
|
|
203
|
-
else {
|
|
204
|
-
return documentUploadValidation.required('Please select one or more files');
|
|
205
|
-
}
|
|
206
|
-
};
|
|
207
185
|
|
|
208
|
-
export {
|
|
186
|
+
export { accountNumberValidation as A, accountTypeValidation as B, nicknameValidation as C, bankNameValidation as D, revenueValidation as a, recurringPaymentsPercentageValidation as b, businessClassificationValidation as c, dateOfIncorporationValidation as d, doingBusinessAsValidation as e, phoneValidation as f, emailValidation as g, websiteUrlValidation as h, industryValidation as i, businessNameValidation as j, ssnValidation as k, dobValidation as l, identityTitleValidation as m, identityNameValidation as n, otherPaymentDetailsValidation as o, paymentVolumeValidation as p, postalValidation as q, recurringPaymentsValidation as r, seasonalBusinessValidation as s, taxIdValidation as t, stateValidation as u, cityValidation as v, whenServiceReceivedValidation as w, lineTwoValidation as x, lineOneValidation as y, routingNumberValidation as z };
|
|
@@ -8,7 +8,6 @@ import './Checkout.js';
|
|
|
8
8
|
import { p as pagingDefaults } from './Pagination.js';
|
|
9
9
|
import './Payment.js';
|
|
10
10
|
import { a as TerminalOrderType } from './Refund.js';
|
|
11
|
-
import './Document.js';
|
|
12
11
|
import './Business.js';
|
|
13
12
|
import { n as tableHeadCell, a7 as getAlternateTableCellPart } from './parts.js';
|
|
14
13
|
import { B as Badge, a as BadgeVariant } from './badge.js';
|
|
@@ -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';
|
package/dist/module/utils2.js
CHANGED
|
@@ -23919,6 +23919,9 @@ function snakeToCamel(str) {
|
|
|
23919
23919
|
}
|
|
23920
23920
|
// Object Utilities
|
|
23921
23921
|
function isEmptyObject(obj) {
|
|
23922
|
+
if (obj === null) {
|
|
23923
|
+
return true;
|
|
23924
|
+
}
|
|
23922
23925
|
return Object.keys(obj).length === 0 && obj.constructor === Object;
|
|
23923
23926
|
}
|
|
23924
23927
|
function removeAttribute(htmlString, attribute) {
|
|
@@ -28,10 +28,3 @@ export declare const nicknameValidation: import("yup").StringSchema<string, impo
|
|
|
28
28
|
export declare const accountTypeValidation: import("yup").StringSchema<string, import("yup").AnyObject, undefined, "">;
|
|
29
29
|
export declare const accountNumberValidation: import("yup").StringSchema<string, import("yup").AnyObject, undefined, "">;
|
|
30
30
|
export declare const routingNumberValidation: import("yup").StringSchema<string, import("yup").AnyObject, undefined, "">;
|
|
31
|
-
export declare const ss4Validation: import("yup").MixedSchema<{}, import("yup").AnyObject, undefined, "">;
|
|
32
|
-
export declare const governmentIdValidation: import("yup").MixedSchema<{}, import("yup").AnyObject, undefined, "">;
|
|
33
|
-
export declare const otherDocumentValidation: import("yup").MixedSchema<{}, import("yup").AnyObject, undefined, "">;
|
|
34
|
-
export declare const voidedCheckValidation: (documents: any[], allowOptionalFields: boolean) => import("yup").MixedSchema<{}, import("yup").AnyObject, undefined, "">;
|
|
35
|
-
export declare const bankStatementValidation: (documents: any[], allowOptionalFields: boolean) => import("yup").MixedSchema<{}, import("yup").AnyObject, undefined, "">;
|
|
36
|
-
export declare const balanceSheetValidation: (volume: string, documents: any[], allowOptionalFields: boolean) => import("yup").MixedSchema<{}, import("yup").AnyObject, undefined, "">;
|
|
37
|
-
export declare const profitAndLossStatementValidation: (volume: string, documents: any[], allowOptionalFields: boolean) => import("yup").MixedSchema<{}, import("yup").AnyObject, undefined, "">;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IBusiness } from "../../../
|
|
1
|
+
import { IBusiness } from "../../../api/Business";
|
|
2
2
|
export declare function getStateAbbreviation(stateName: string): string | undefined;
|
|
3
3
|
export declare function filterNumber(num: string): string;
|
|
4
4
|
export declare function constructDate(year: string, month: string, day: string): string | void;
|
|
@@ -19,7 +19,10 @@ export declare class NewPaymentMethod {
|
|
|
19
19
|
handleCheckboxChanged(event: CustomEvent<boolean>): void;
|
|
20
20
|
fillBillingForm(fields: BillingFormFields): Promise<void>;
|
|
21
21
|
resolvePaymentMethod(insuranceValidation: any): Promise<PaymentMethodPayload>;
|
|
22
|
-
validate(): Promise<
|
|
22
|
+
validate(): Promise<{
|
|
23
|
+
isValid: boolean;
|
|
24
|
+
errors: any;
|
|
25
|
+
}>;
|
|
23
26
|
tokenize(): Promise<any>;
|
|
24
27
|
onPaymentMethodOptionClick: (e: any) => void;
|
|
25
28
|
showNewPaymentMethodForm(): any;
|