@justifi/webcomponents 5.7.1 → 5.7.2
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-Dp4CW5K6.js} +1 -1
- 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 → Document-Qt0qiXeh.js} +1 -1
- package/dist/cjs/{Refund-CYxocU06.js → Refund-BDFOEJv_.js} +1 -1
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +12 -13
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +6 -6
- package/dist/cjs/bank-account-form_9.cjs.entry.js +26 -15
- package/dist/cjs/{business-additional-questions-schema-DR8vt11M.js → business-additional-questions-schema-JlysTRE3.js} +1 -1
- package/dist/cjs/business-details-core.cjs.entry.js +1 -2
- 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-BksYFWls.js} +1 -1
- package/dist/cjs/{business.service-C2rg_zSw.js → business.service-DMIMZpx4.js} +5 -5
- package/dist/cjs/{check-pkg-version-BqC8BOhm.js → check-pkg-version-hqYwYpQq.js} +6 -6
- package/dist/cjs/{checkout.service-CyvIIMeq.js → checkout.service-DKH8NODe.js} +5 -5
- package/dist/cjs/checkouts-list-core.cjs.entry.js +6 -6
- package/dist/cjs/{checkouts-table-_T5eblyc.js → checkouts-table-Cj2iSB_P.js} +1 -1
- package/dist/cjs/{dispute.service-CKPR1vFS.js → dispute.service-8j6tLV4i.js} +5 -5
- package/dist/cjs/form-alert_5.cjs.entry.js +2 -2
- package/dist/cjs/form-control-monetary.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-MM1u5jMc.js} +5 -5
- package/dist/cjs/{get-subaccounts-BNpIanJ9.js → get-subaccounts-CkjWYxIU.js} +6 -6
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
- package/dist/cjs/iframe-input.cjs.entry.js +1 -1
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +9 -9
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +9 -9
- package/dist/cjs/justifi-business-details.cjs.entry.js +17 -12
- package/dist/cjs/justifi-business-form.cjs.entry.js +13 -13
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkout.cjs.entry.js +9 -9
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +5 -5
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +11 -11
- package/dist/cjs/justifi-details.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +9 -9
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +9 -9
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +8 -8
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +11 -11
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payment-details.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/justifi-payments-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payout-details.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +11 -11
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +10 -10
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +8 -8
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +5 -5
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +9 -9
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +5 -5
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +11 -11
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +10 -11
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-Biee4Hdo.js → package-BCOEGxFC.js} +1 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +1 -1
- package/dist/cjs/{payment.service-C996aLGw.js → payment.service-CCxGhTwZ.js} +5 -5
- package/dist/cjs/payments-list-core.cjs.entry.js +6 -6
- package/dist/cjs/{payments-table-BkRhDePE.js → payments-table-BR97ybd6.js} +1 -1
- package/dist/cjs/payout-details-core.cjs.entry.js +1 -1
- package/dist/cjs/{payout.service-BwKgEbDo.js → payout.service-CtphIhUK.js} +5 -5
- package/dist/cjs/payouts-list-core.cjs.entry.js +6 -6
- package/dist/cjs/{payouts-table-DJMz3bVh.js → payouts-table-DMcQiC1g.js} +1 -1
- package/dist/cjs/{schema-validations-Bhz09M42.js → schema-validations-BUor-ySb.js} +6 -7
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +6 -6
- package/dist/cjs/{terminal-orders-table-CxY1ykZ7.js → terminal-orders-table-D-CLcZws.js} +5 -5
- package/dist/cjs/{terminal.service-D7dxg9ZQ.js → terminal.service-Dv_WJkue.js} +5 -5
- package/dist/cjs/terminals-list-core.cjs.entry.js +6 -6
- package/dist/cjs/{terminals-table-D2XUsf_J.js → terminals-table-BEJ6sF7w.js} +1 -1
- package/dist/cjs/{utils-DmZ8Dia3.js → utils-qOon0GWm.js} +3 -0
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/Business.js +3 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +3 -4
- package/dist/collection/components/business-details/business-details-core.js +1 -2
- package/dist/collection/components/business-details/business-details.js +10 -3
- package/dist/collection/components/business-details/core-info-details/core-info-details.js +41 -0
- package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +3 -3
- package/dist/collection/components/business-details/representative-details/representative-details.js +3 -3
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +2 -2
- package/dist/collection/components/business-forms/schemas/schema-validations.js +6 -7
- package/dist/collection/components/checkout/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 +84 -77
- package/dist/esm/{Api-KYhsw8Nv.js → Api-cgKcLG0y.js} +1 -1
- 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/{Document-cNXrKmGy.js → Document-DvWsQBM6.js} +1 -1
- package/dist/esm/{Refund-2YJqP9qX.js → Refund-zZewCvey.js} +1 -1
- package/dist/esm/additional-questions-details_5.entry.js +12 -13
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +6 -6
- package/dist/esm/bank-account-form_9.entry.js +26 -15
- package/dist/esm/{business-additional-questions-schema-GpN_koGK.js → business-additional-questions-schema-CBUm3D7O.js} +1 -1
- package/dist/esm/business-details-core.entry.js +1 -2
- 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-CntGz8jo.js} +1 -1
- package/dist/esm/{business.service-ClD_YDeT.js → business.service-BWivPbyO.js} +5 -5
- package/dist/esm/{check-pkg-version-DxnKX9GQ.js → check-pkg-version-BykGn7tx.js} +6 -6
- package/dist/esm/{checkout.service-DfzkmIe4.js → checkout.service-Bh-Q24Cr.js} +5 -5
- package/dist/esm/checkouts-list-core.entry.js +6 -6
- package/dist/esm/{checkouts-table-DKd0QLys.js → checkouts-table-DcVkD83l.js} +1 -1
- package/dist/esm/{dispute.service-BTOWqnmk.js → dispute.service-1AYcALSg.js} +5 -5
- package/dist/esm/form-alert_5.entry.js +2 -2
- package/dist/esm/form-control-monetary.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-DXhXxFPr.js} +5 -5
- package/dist/esm/{get-subaccounts-B0uEyOp_.js → get-subaccounts-CtHj1UM6.js} +6 -6
- package/dist/esm/gross-payment-chart-core.entry.js +1 -1
- package/dist/esm/iframe-input.entry.js +1 -1
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +9 -9
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +9 -9
- package/dist/esm/justifi-business-details.entry.js +18 -13
- package/dist/esm/justifi-business-form.entry.js +13 -13
- package/dist/esm/justifi-checkout-core.entry.js +2 -2
- package/dist/esm/justifi-checkout.entry.js +9 -9
- package/dist/esm/justifi-checkouts-list-filters.entry.js +5 -5
- package/dist/esm/justifi-checkouts-list.entry.js +11 -11
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-dispute-management.entry.js +9 -9
- package/dist/esm/justifi-dispute-notification_3.entry.js +9 -9
- package/dist/esm/justifi-gross-payment-chart.entry.js +8 -8
- package/dist/esm/justifi-order-terminals.entry.js +11 -11
- package/dist/esm/justifi-owner-form_3.entry.js +10 -10
- package/dist/esm/justifi-payment-details.entry.js +10 -10
- package/dist/esm/justifi-payment-provisioning.entry.js +9 -9
- package/dist/esm/justifi-payment-transactions-list.entry.js +9 -9
- package/dist/esm/justifi-payments-list-filters.entry.js +1 -1
- package/dist/esm/justifi-payments-list.entry.js +10 -10
- package/dist/esm/justifi-payout-details.entry.js +9 -9
- package/dist/esm/justifi-payout-transactions-list.entry.js +9 -9
- package/dist/esm/justifi-payouts-list-filters.entry.js +1 -1
- package/dist/esm/justifi-payouts-list.entry.js +11 -11
- package/dist/esm/justifi-refund-payment.entry.js +10 -10
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +1 -1
- package/dist/esm/justifi-season-interruption-insurance.entry.js +8 -8
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +5 -5
- package/dist/esm/justifi-terminal-orders-list.entry.js +9 -9
- package/dist/esm/justifi-terminals-list-filters.entry.js +5 -5
- package/dist/esm/justifi-terminals-list.entry.js +11 -11
- package/dist/esm/justifi-tokenize-payment-method.entry.js +10 -11
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-DPiTQ9dr.js → package-BjMTOtI1.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +1 -1
- package/dist/esm/{payment.service-CgwLo1_s.js → payment.service-2afJc31y.js} +5 -5
- package/dist/esm/payments-list-core.entry.js +6 -6
- package/dist/esm/{payments-table-BBf5fV74.js → payments-table-B8316Kqz.js} +1 -1
- package/dist/esm/payout-details-core.entry.js +1 -1
- package/dist/esm/{payout.service-DYFCNfLa.js → payout.service-Bd8Tc7-Q.js} +5 -5
- package/dist/esm/payouts-list-core.entry.js +6 -6
- package/dist/esm/{payouts-table-DhZEXhGH.js → payouts-table-Ip10eH4Q.js} +1 -1
- package/dist/esm/{schema-validations-D9YNVLiI.js → schema-validations-C7D5tPzq.js} +6 -7
- package/dist/esm/terminal-orders-list-core.entry.js +6 -6
- package/dist/esm/{terminal-orders-table-BopP465z.js → terminal-orders-table-CCJT7oq4.js} +5 -5
- package/dist/esm/{terminal.service-f-whs_d4.js → terminal.service-8kwGru35.js} +5 -5
- package/dist/esm/terminals-list-core.entry.js +6 -6
- package/dist/esm/{terminals-table-CkWr-6tD.js → terminals-table-cMkKUVff.js} +1 -1
- package/dist/esm/{utils-BWcTxbSg.js → utils-DB5fh6Iv.js} +3 -0
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Business.js +3 -1
- package/dist/module/additional-questions-details2.js +3 -4
- package/dist/module/billing-form.js +4 -3
- package/dist/module/business-details-core2.js +11 -7
- package/dist/module/business-terms-conditions-form-step.js +2 -2
- package/dist/module/{generic-info-details.d.ts → core-info-details.d.ts} +4 -4
- package/dist/module/core-info-details.js +6 -0
- package/dist/module/core-info-details2.js +34 -0
- package/dist/module/details.js +2 -2
- package/dist/module/justifi-business-details.js +20 -9
- package/dist/module/justifi-tokenize-payment-method.js +2 -3
- 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/representative-details2.js +3 -3
- package/dist/module/schema-validations.js +4 -5
- 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/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 +21 -21
- package/dist/types/utils/utils.d.ts +1 -1
- package/dist/webcomponents/{p-40541e0c.entry.js → p-10d41e17.entry.js} +1 -1
- package/dist/webcomponents/{p-b2192f8b.entry.js → p-1678e9e3.entry.js} +1 -1
- package/dist/webcomponents/p-16d29d0b.entry.js +1 -0
- package/dist/webcomponents/p-292da2d4.entry.js +1 -0
- package/dist/webcomponents/p-2c7ae3ac.entry.js +1 -0
- package/dist/webcomponents/{p-44d8c2b1.entry.js → p-2c8d7aa9.entry.js} +1 -1
- package/dist/webcomponents/p-33b23638.entry.js +1 -0
- package/dist/webcomponents/{p-4749e0d0.entry.js → p-40f7e3af.entry.js} +1 -1
- package/dist/webcomponents/p-4680f931.entry.js +1 -0
- package/dist/webcomponents/{p-d1331dbb.entry.js → p-4a070b7a.entry.js} +1 -1
- package/dist/webcomponents/{p-916ea4fc.entry.js → p-4b51a896.entry.js} +1 -1
- package/dist/webcomponents/p-4f8b9b99.entry.js +1 -0
- package/dist/webcomponents/p-57c89023.entry.js +1 -0
- package/dist/webcomponents/{p-1a85f26f.entry.js → p-57fc593a.entry.js} +1 -1
- package/dist/webcomponents/p-5d81f36e.entry.js +1 -0
- package/dist/webcomponents/{p-43d6bbed.entry.js → p-5df5aa41.entry.js} +1 -1
- package/dist/webcomponents/{p-d9c70010.entry.js → p-70c498d4.entry.js} +1 -1
- package/dist/webcomponents/{p-947239a6.entry.js → p-722c5e42.entry.js} +1 -1
- package/dist/webcomponents/{p-d2dc6f22.entry.js → p-758ce5e5.entry.js} +4 -4
- package/dist/webcomponents/{p-f389c2aa.entry.js → p-77896e7b.entry.js} +1 -1
- package/dist/webcomponents/p-77ac321c.entry.js +1 -0
- package/dist/webcomponents/p-7d3cf734.entry.js +1 -0
- package/dist/webcomponents/{p-3abc8eab.entry.js → p-8183c2d1.entry.js} +1 -1
- package/dist/webcomponents/{p-f8b205f7.entry.js → p-8ad67f87.entry.js} +1 -1
- package/dist/webcomponents/{p-9105f700.entry.js → p-8c107267.entry.js} +1 -1
- package/dist/webcomponents/p-93df56e1.entry.js +1 -0
- package/dist/webcomponents/{p-BiPRf6d2.js → p-BR7flk4G.js} +1 -1
- package/dist/webcomponents/p-BjMTOtI1.js +1 -0
- package/dist/webcomponents/{p-BzPi8Ea_.js → p-Bk4gk-f7.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-d-_oUZor.js → p-C1sOJl-_.js} +1 -1
- package/dist/webcomponents/p-COcul8pX.js +1 -0
- package/dist/webcomponents/{p-CffckWWF.js → p-CaGOSFHG.js} +1 -1
- package/dist/webcomponents/p-Cm_0sqXz.js +1 -0
- package/dist/webcomponents/p-Cs0cIpIm.js +1 -0
- package/dist/webcomponents/p-Cx60eQXT.js +1 -0
- package/dist/webcomponents/{p-OSmuQKbK.js → p-D2ZiLcDE.js} +1 -1
- package/dist/webcomponents/{p-vb3fTJEZ.js → p-DClC2nMO.js} +1 -1
- package/dist/webcomponents/p-DR89sFne.js +1 -0
- package/dist/webcomponents/{p-ByRPlUBS.js → p-DnB1x5JE.js} +1 -1
- package/dist/webcomponents/p-DvhDilDP.js +1 -0
- package/dist/webcomponents/{p-BjB_yKBJ.js → p-DzFysjCc.js} +1 -1
- package/dist/webcomponents/{p-DvHZ2jYI.js → p-HBDBB6lL.js} +1 -1
- package/dist/webcomponents/p-_pH3Hg4P.js +1 -0
- package/dist/webcomponents/{p-a4dd3835.entry.js → p-a0662195.entry.js} +1 -1
- package/dist/webcomponents/{p-82515f70.entry.js → p-a136ff22.entry.js} +1 -1
- package/dist/webcomponents/{p-2b8ac00a.entry.js → p-a33cfcfe.entry.js} +1 -1
- package/dist/webcomponents/{p-83154291.entry.js → p-a6722f44.entry.js} +1 -1
- package/dist/webcomponents/{p-24792e8e.entry.js → p-a8119fda.entry.js} +1 -1
- package/dist/webcomponents/{p-799000c1.entry.js → p-a94952f6.entry.js} +1 -1
- package/dist/webcomponents/p-abdae97a.entry.js +1 -0
- package/dist/webcomponents/p-af09b6ee.entry.js +1 -0
- package/dist/webcomponents/p-b0d3aab7.entry.js +1 -0
- package/dist/webcomponents/p-b1586aa2.entry.js +1 -0
- package/dist/webcomponents/{p-0deb6a38.entry.js → p-c01544c3.entry.js} +1 -1
- package/dist/webcomponents/{p-25ea4450.entry.js → p-c3c7be24.entry.js} +1 -1
- package/dist/webcomponents/{p-cab175e9.entry.js → p-c5628e09.entry.js} +1 -1
- package/dist/webcomponents/{p-af2c38f7.entry.js → p-c5b6b76f.entry.js} +1 -1
- package/dist/webcomponents/{p-ad85bd0d.entry.js → p-c6490254.entry.js} +1 -1
- package/dist/webcomponents/{p-C0UUR9CN.js → p-clwP6zk3.js} +1 -1
- package/dist/webcomponents/{p-3babed12.entry.js → p-d8b8b17c.entry.js} +1 -1
- package/dist/webcomponents/{p-54281359.entry.js → p-e2bfdba5.entry.js} +1 -1
- package/dist/webcomponents/p-e73fe424.entry.js +1 -0
- package/dist/webcomponents/{p-CCGhF18e.js → p-eHhqPyVW.js} +1 -1
- package/dist/webcomponents/{p-4ee0cd96.entry.js → p-f23d4fdb.entry.js} +1 -1
- package/dist/webcomponents/{p-4194214c.entry.js → p-ffd197c2.entry.js} +1 -1
- package/dist/webcomponents/p-gZGxqQgQ.js +1 -0
- package/dist/webcomponents/p-l3uWWMRW.js +1 -0
- package/dist/webcomponents/{p-ZE1NEnP3.js → p-r__elyG4.js} +1 -1
- package/dist/webcomponents/{p-82kiZkHt.js → p-uSM1EMk-.js} +1 -1
- 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/collection/components/business-details/generic-info-details/generic-info-details.js +0 -40
- 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-7c62b59d.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-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-D5Sh88BE.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-DuBhW0xA.js +0 -1
- package/dist/webcomponents/p-M61ygz6l.js +0 -1
- package/dist/webcomponents/p-a46730eb.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-o_73WSki.js +0 -1
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() {
|
|
@@ -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,7 +1,7 @@
|
|
|
1
1
|
import { mixed, 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";
|
|
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
5
|
import { EntityDocumentType } from "../../../api/Document";
|
|
6
6
|
// Common Validations
|
|
7
7
|
export const emailValidation = string()
|
|
@@ -55,7 +55,7 @@ export const identityTitleValidation = string()
|
|
|
55
55
|
.max(50, 'Title must be less than 50 characters')
|
|
56
56
|
.transform(transformEmptyString);
|
|
57
57
|
export const dobValidation = (role) => {
|
|
58
|
-
return
|
|
58
|
+
return string()
|
|
59
59
|
.test('min', 'Enter a valid date', (value) => {
|
|
60
60
|
const date = new Date(value);
|
|
61
61
|
const minDate = new Date('1902-01-01');
|
|
@@ -67,7 +67,7 @@ export const dobValidation = (role) => {
|
|
|
67
67
|
minAgeDate.setFullYear(minAgeDate.getFullYear() - 18);
|
|
68
68
|
return date <= minAgeDate;
|
|
69
69
|
})
|
|
70
|
-
.transform(transformEmptyString)
|
|
70
|
+
.transform(transformEmptyString);
|
|
71
71
|
};
|
|
72
72
|
export const ssnValidation = string()
|
|
73
73
|
.matches(ssnRegex, 'Enter valid SSN')
|
|
@@ -102,7 +102,7 @@ export const cityValidation = string()
|
|
|
102
102
|
.max(50, 'City must be less than 50 characters')
|
|
103
103
|
.transform(transformEmptyString);
|
|
104
104
|
export const stateValidation = string()
|
|
105
|
-
.oneOf(StateOptions.map((option) => option.value), '
|
|
105
|
+
.oneOf(StateOptions.map((option) => option.value), 'Enter a 2-letter state abbreviation, such as CA')
|
|
106
106
|
.transform(transformEmptyString);
|
|
107
107
|
export const postalValidation = string()
|
|
108
108
|
.matches(/^[0-9]{5}$/, 'Enter valid postal code')
|
|
@@ -130,8 +130,7 @@ export const recurringPaymentsPercentageValidation = string()
|
|
|
130
130
|
export const seasonalBusinessValidation = string()
|
|
131
131
|
.oneOf(seasonalBusinessOptions.map((option) => option.value), 'Select seasonal business')
|
|
132
132
|
.transform(transformEmptyString);
|
|
133
|
-
export const otherPaymentDetailsValidation = string()
|
|
134
|
-
.transform(transformEmptyString);
|
|
133
|
+
export const otherPaymentDetailsValidation = string().transform(transformEmptyString);
|
|
135
134
|
// Bank Account Validations
|
|
136
135
|
export const bankNameValidation = string()
|
|
137
136
|
.min(2, 'Name must be at least 2 characters')
|
|
@@ -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) => {
|
package/dist/docs.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2025-05-
|
|
2
|
+
"timestamp": "2025-05-28T19:04:17",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.31.0",
|
|
@@ -487,7 +487,8 @@
|
|
|
487
487
|
"justifi-business-details"
|
|
488
488
|
],
|
|
489
489
|
"dependencies": [
|
|
490
|
-
"
|
|
490
|
+
"justifi-details",
|
|
491
|
+
"core-info-details",
|
|
491
492
|
"legal-address-details",
|
|
492
493
|
"representative-details",
|
|
493
494
|
"owner-details",
|
|
@@ -495,7 +496,8 @@
|
|
|
495
496
|
],
|
|
496
497
|
"dependencyGraph": {
|
|
497
498
|
"business-details-core": [
|
|
498
|
-
"
|
|
499
|
+
"justifi-details",
|
|
500
|
+
"core-info-details",
|
|
499
501
|
"legal-address-details",
|
|
500
502
|
"representative-details",
|
|
501
503
|
"owner-details",
|
|
@@ -838,6 +840,61 @@
|
|
|
838
840
|
]
|
|
839
841
|
}
|
|
840
842
|
},
|
|
843
|
+
{
|
|
844
|
+
"filePath": "src/components/business-details/core-info-details/core-info-details.tsx",
|
|
845
|
+
"encapsulation": "none",
|
|
846
|
+
"tag": "core-info-details",
|
|
847
|
+
"readme": "# core-info-details\n\n\n",
|
|
848
|
+
"docs": "",
|
|
849
|
+
"docsTags": [],
|
|
850
|
+
"usage": {},
|
|
851
|
+
"props": [
|
|
852
|
+
{
|
|
853
|
+
"name": "business",
|
|
854
|
+
"type": "Business",
|
|
855
|
+
"complexType": {
|
|
856
|
+
"original": "Business",
|
|
857
|
+
"resolved": "Business",
|
|
858
|
+
"references": {
|
|
859
|
+
"Business": {
|
|
860
|
+
"location": "import",
|
|
861
|
+
"path": "../../../api/Business",
|
|
862
|
+
"id": "src/api/Business.ts::Business"
|
|
863
|
+
}
|
|
864
|
+
}
|
|
865
|
+
},
|
|
866
|
+
"mutable": false,
|
|
867
|
+
"attr": "business",
|
|
868
|
+
"reflectToAttr": false,
|
|
869
|
+
"docs": "",
|
|
870
|
+
"docsTags": [],
|
|
871
|
+
"values": [
|
|
872
|
+
{
|
|
873
|
+
"type": "Business"
|
|
874
|
+
}
|
|
875
|
+
],
|
|
876
|
+
"optional": false,
|
|
877
|
+
"required": false,
|
|
878
|
+
"getter": false,
|
|
879
|
+
"setter": false
|
|
880
|
+
}
|
|
881
|
+
],
|
|
882
|
+
"methods": [],
|
|
883
|
+
"events": [],
|
|
884
|
+
"listeners": [],
|
|
885
|
+
"styles": [],
|
|
886
|
+
"slots": [],
|
|
887
|
+
"parts": [],
|
|
888
|
+
"dependents": [
|
|
889
|
+
"business-details-core"
|
|
890
|
+
],
|
|
891
|
+
"dependencies": [],
|
|
892
|
+
"dependencyGraph": {
|
|
893
|
+
"business-details-core": [
|
|
894
|
+
"core-info-details"
|
|
895
|
+
]
|
|
896
|
+
}
|
|
897
|
+
},
|
|
841
898
|
{
|
|
842
899
|
"filePath": "src/ui-components/custom-popper/custom-popper.tsx",
|
|
843
900
|
"encapsulation": "none",
|
|
@@ -4602,61 +4659,6 @@
|
|
|
4602
4659
|
]
|
|
4603
4660
|
}
|
|
4604
4661
|
},
|
|
4605
|
-
{
|
|
4606
|
-
"filePath": "src/components/business-details/generic-info-details/generic-info-details.tsx",
|
|
4607
|
-
"encapsulation": "none",
|
|
4608
|
-
"tag": "generic-info-details",
|
|
4609
|
-
"readme": "# generic-info-details\n\n\n",
|
|
4610
|
-
"docs": "",
|
|
4611
|
-
"docsTags": [],
|
|
4612
|
-
"usage": {},
|
|
4613
|
-
"props": [
|
|
4614
|
-
{
|
|
4615
|
-
"name": "business",
|
|
4616
|
-
"type": "IBusiness",
|
|
4617
|
-
"complexType": {
|
|
4618
|
-
"original": "IBusiness",
|
|
4619
|
-
"resolved": "IBusiness",
|
|
4620
|
-
"references": {
|
|
4621
|
-
"IBusiness": {
|
|
4622
|
-
"location": "import",
|
|
4623
|
-
"path": "../../../api/Business",
|
|
4624
|
-
"id": "src/api/Business.ts::IBusiness"
|
|
4625
|
-
}
|
|
4626
|
-
}
|
|
4627
|
-
},
|
|
4628
|
-
"mutable": false,
|
|
4629
|
-
"attr": "business",
|
|
4630
|
-
"reflectToAttr": false,
|
|
4631
|
-
"docs": "",
|
|
4632
|
-
"docsTags": [],
|
|
4633
|
-
"values": [
|
|
4634
|
-
{
|
|
4635
|
-
"type": "IBusiness"
|
|
4636
|
-
}
|
|
4637
|
-
],
|
|
4638
|
-
"optional": false,
|
|
4639
|
-
"required": false,
|
|
4640
|
-
"getter": false,
|
|
4641
|
-
"setter": false
|
|
4642
|
-
}
|
|
4643
|
-
],
|
|
4644
|
-
"methods": [],
|
|
4645
|
-
"events": [],
|
|
4646
|
-
"listeners": [],
|
|
4647
|
-
"styles": [],
|
|
4648
|
-
"slots": [],
|
|
4649
|
-
"parts": [],
|
|
4650
|
-
"dependents": [
|
|
4651
|
-
"business-details-core"
|
|
4652
|
-
],
|
|
4653
|
-
"dependencies": [],
|
|
4654
|
-
"dependencyGraph": {
|
|
4655
|
-
"business-details-core": [
|
|
4656
|
-
"generic-info-details"
|
|
4657
|
-
]
|
|
4658
|
-
}
|
|
4659
|
-
},
|
|
4660
4662
|
{
|
|
4661
4663
|
"filePath": "src/components/gross-payment-chart/gross-payment-chart-core.tsx",
|
|
4662
4664
|
"encapsulation": "none",
|
|
@@ -5713,11 +5715,11 @@
|
|
|
5713
5715
|
{
|
|
5714
5716
|
"name": "validate",
|
|
5715
5717
|
"returns": {
|
|
5716
|
-
"type": "Promise<{ isValid: boolean; }>",
|
|
5718
|
+
"type": "Promise<{ isValid: boolean; errors: any; }>",
|
|
5717
5719
|
"docs": ""
|
|
5718
5720
|
},
|
|
5719
5721
|
"complexType": {
|
|
5720
|
-
"signature": "() => Promise<{ isValid: boolean; }>",
|
|
5722
|
+
"signature": "() => Promise<{ isValid: boolean; errors: any; }>",
|
|
5721
5723
|
"parameters": [],
|
|
5722
5724
|
"references": {
|
|
5723
5725
|
"Promise": {
|
|
@@ -5725,9 +5727,9 @@
|
|
|
5725
5727
|
"id": "global::Promise"
|
|
5726
5728
|
}
|
|
5727
5729
|
},
|
|
5728
|
-
"return": "Promise<{ isValid: boolean; }>"
|
|
5730
|
+
"return": "Promise<{ isValid: boolean; errors: any; }>"
|
|
5729
5731
|
},
|
|
5730
|
-
"signature": "validate() => Promise<{ isValid: boolean; }>",
|
|
5732
|
+
"signature": "validate() => Promise<{ isValid: boolean; errors: any; }>",
|
|
5731
5733
|
"parameters": [],
|
|
5732
5734
|
"docs": "",
|
|
5733
5735
|
"docsTags": []
|
|
@@ -6815,7 +6817,8 @@
|
|
|
6815
6817
|
"business-details-core"
|
|
6816
6818
|
],
|
|
6817
6819
|
"business-details-core": [
|
|
6818
|
-
"
|
|
6820
|
+
"justifi-details",
|
|
6821
|
+
"core-info-details",
|
|
6819
6822
|
"legal-address-details",
|
|
6820
6823
|
"representative-details",
|
|
6821
6824
|
"owner-details",
|
|
@@ -9835,11 +9838,15 @@
|
|
|
9835
9838
|
"slots": [],
|
|
9836
9839
|
"parts": [],
|
|
9837
9840
|
"dependents": [
|
|
9841
|
+
"business-details-core",
|
|
9838
9842
|
"payment-details-core",
|
|
9839
9843
|
"payout-details-core"
|
|
9840
9844
|
],
|
|
9841
9845
|
"dependencies": [],
|
|
9842
9846
|
"dependencyGraph": {
|
|
9847
|
+
"business-details-core": [
|
|
9848
|
+
"justifi-details"
|
|
9849
|
+
],
|
|
9843
9850
|
"payment-details-core": [
|
|
9844
9851
|
"justifi-details"
|
|
9845
9852
|
],
|
|
@@ -12152,11 +12159,11 @@
|
|
|
12152
12159
|
{
|
|
12153
12160
|
"name": "validate",
|
|
12154
12161
|
"returns": {
|
|
12155
|
-
"type": "Promise<boolean>",
|
|
12162
|
+
"type": "Promise<{ isValid: boolean; errors: any; }>",
|
|
12156
12163
|
"docs": ""
|
|
12157
12164
|
},
|
|
12158
12165
|
"complexType": {
|
|
12159
|
-
"signature": "() => Promise<boolean>",
|
|
12166
|
+
"signature": "() => Promise<{ isValid: boolean; errors: any; }>",
|
|
12160
12167
|
"parameters": [],
|
|
12161
12168
|
"references": {
|
|
12162
12169
|
"Promise": {
|
|
@@ -12164,9 +12171,9 @@
|
|
|
12164
12171
|
"id": "global::Promise"
|
|
12165
12172
|
}
|
|
12166
12173
|
},
|
|
12167
|
-
"return": "Promise<boolean>"
|
|
12174
|
+
"return": "Promise<{ isValid: boolean; errors: any; }>"
|
|
12168
12175
|
},
|
|
12169
|
-
"signature": "validate() => Promise<boolean>",
|
|
12176
|
+
"signature": "validate() => Promise<{ isValid: boolean; errors: any; }>",
|
|
12170
12177
|
"parameters": [],
|
|
12171
12178
|
"docs": "",
|
|
12172
12179
|
"docsTags": []
|
|
@@ -13250,11 +13257,11 @@
|
|
|
13250
13257
|
{
|
|
13251
13258
|
"name": "validate",
|
|
13252
13259
|
"returns": {
|
|
13253
|
-
"type": "Promise<{ isValid: boolean; }>",
|
|
13260
|
+
"type": "Promise<{ isValid: boolean; errors?: any; }>",
|
|
13254
13261
|
"docs": ""
|
|
13255
13262
|
},
|
|
13256
13263
|
"complexType": {
|
|
13257
|
-
"signature": "() => Promise<{ isValid: boolean; }>",
|
|
13264
|
+
"signature": "() => Promise<{ isValid: boolean; errors?: any; }>",
|
|
13258
13265
|
"parameters": [],
|
|
13259
13266
|
"references": {
|
|
13260
13267
|
"Promise": {
|
|
@@ -13266,9 +13273,9 @@
|
|
|
13266
13273
|
"id": "global::HTMLJustifiNewPaymentMethodElement"
|
|
13267
13274
|
}
|
|
13268
13275
|
},
|
|
13269
|
-
"return": "Promise<{ isValid: boolean; }>"
|
|
13276
|
+
"return": "Promise<{ isValid: boolean; errors?: any; }>"
|
|
13270
13277
|
},
|
|
13271
|
-
"signature": "validate() => Promise<{ isValid: boolean; }>",
|
|
13278
|
+
"signature": "validate() => Promise<{ isValid: boolean; errors?: any; }>",
|
|
13272
13279
|
"parameters": [],
|
|
13273
13280
|
"docs": "",
|
|
13274
13281
|
"docsTags": []
|
|
@@ -17973,11 +17980,11 @@
|
|
|
17973
17980
|
{
|
|
17974
17981
|
"name": "validate",
|
|
17975
17982
|
"returns": {
|
|
17976
|
-
"type": "Promise<{ isValid: boolean; }>",
|
|
17983
|
+
"type": "Promise<{ isValid: boolean; errors?: any; }>",
|
|
17977
17984
|
"docs": ""
|
|
17978
17985
|
},
|
|
17979
17986
|
"complexType": {
|
|
17980
|
-
"signature": "() => Promise<{ isValid: boolean; }>",
|
|
17987
|
+
"signature": "() => Promise<{ isValid: boolean; errors?: any; }>",
|
|
17981
17988
|
"parameters": [],
|
|
17982
17989
|
"references": {
|
|
17983
17990
|
"Promise": {
|
|
@@ -17985,9 +17992,9 @@
|
|
|
17985
17992
|
"id": "global::Promise"
|
|
17986
17993
|
}
|
|
17987
17994
|
},
|
|
17988
|
-
"return": "Promise<{ isValid: boolean; }>"
|
|
17995
|
+
"return": "Promise<{ isValid: boolean; errors?: any; }>"
|
|
17989
17996
|
},
|
|
17990
|
-
"signature": "validate() => Promise<{ isValid: boolean; }>",
|
|
17997
|
+
"signature": "validate() => Promise<{ isValid: boolean; errors?: any; }>",
|
|
17991
17998
|
"parameters": [],
|
|
17992
17999
|
"docs": "",
|
|
17993
18000
|
"docsTags": []
|
|
@@ -20015,8 +20022,8 @@
|
|
|
20015
20022
|
"docstring": "",
|
|
20016
20023
|
"path": "src/api/Business.ts"
|
|
20017
20024
|
},
|
|
20018
|
-
"src/api/Business.ts::
|
|
20019
|
-
"declaration": "
|
|
20025
|
+
"src/api/Business.ts::Business": {
|
|
20026
|
+
"declaration": "any",
|
|
20020
20027
|
"docstring": "",
|
|
20021
20028
|
"path": "src/api/Business.ts"
|
|
20022
20029
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { w as waitForConfig, c as configState } from './config-state-CkKrqnpZ.js';
|
|
2
|
-
import { g as generateId } from './utils-
|
|
2
|
+
import { g as generateId } from './utils-DB5fh6Iv.js';
|
|
3
3
|
|
|
4
4
|
const Api = () => {
|
|
5
5
|
async function getAuthorizationHeader(authToken) {
|
|
@@ -177,7 +177,9 @@ class CoreBusinessInfo {
|
|
|
177
177
|
}
|
|
178
178
|
class Business {
|
|
179
179
|
constructor(business) {
|
|
180
|
-
this.additional_questions =
|
|
180
|
+
this.additional_questions = business.additional_questions
|
|
181
|
+
? new AdditionalQuestions(business.additional_questions)
|
|
182
|
+
: null;
|
|
181
183
|
this.associated_accounts = business.associated_accounts;
|
|
182
184
|
this.classification = business.classification;
|
|
183
185
|
this.bank_accounts = business.bank_accounts;
|