@justifi/webcomponents 6.9.1-rc.1 → 6.10.1
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/LICENSE +21 -0
- package/dist/cjs/{Api-Bp3jtSK2.js → Api-Bukk55YZ.js} +1 -1
- package/dist/cjs/{Plaid-DB_gUhoy.js → Plaid-B_UkFjIV.js} +1 -1
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +1 -1
- package/dist/cjs/bank-account-document-form-inputs_9.cjs.entry.js +13 -13
- package/dist/cjs/bank-account-form.cjs.entry.js +3 -3
- package/dist/cjs/{business-additional-questions-schema-DSMQTU1W.js → business-additional-questions-schema-CI80eZLJ.js} +3 -3
- package/dist/cjs/{business-identity-schema-Ds1cJOr9.js → business-identity-schema-DWWtSiUF.js} +2 -2
- package/dist/cjs/{business.service-Cz5Mw8or.js → business.service-Kplx8w_D.js} +2 -2
- package/dist/cjs/card-form.cjs.entry.js +3 -3
- package/dist/cjs/{check-pkg-version-CjIXCBRy.js → check-pkg-version-PX_ogtrH.js} +20 -3
- package/dist/cjs/{checkout.service-BhUfe1za.js → checkout.service-B2toaeKY.js} +2 -2
- package/dist/cjs/checkouts-list-core.cjs.entry.js +4 -4
- package/dist/cjs/{checkouts-table-BY52AnEw.js → checkouts-table-CXgizBib.js} +1 -1
- package/dist/cjs/{dispute.service-C4UxnT-i.js → dispute.service-C4n1SOsu.js} +2 -2
- package/dist/cjs/form-alert_5.cjs.entry.js +6 -6
- package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +2 -2
- package/dist/cjs/form-control-monetary.cjs.entry.js +1 -1
- package/dist/cjs/form-control-number-masked_3.cjs.entry.js +2 -2
- package/dist/cjs/form-control-number_3.cjs.entry.js +6 -6
- package/dist/cjs/{get-payment-details-r0afJz4u.js → get-payment-details-Atcodhcd.js} +1 -1
- package/dist/cjs/{get-subaccounts-D0vg5CC5.js → get-subaccounts-BUyf9EhG.js} +2 -2
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
- package/dist/cjs/hidden-input_2.cjs.entry.js +1 -1
- package/dist/cjs/{index.esm-ByC0D4sJ.js → index.esm-C1ZPG85l.js} +18 -0
- package/dist/cjs/internal-tokenize-payment-method_7.cjs.entry.js +7 -7
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +28 -13
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +1 -1
- package/dist/cjs/justifi-apple-pay_8.cjs.entry.js +7 -8
- package/dist/cjs/justifi-bank-account-billing-form-simple_3.cjs.entry.js +4 -4
- package/dist/cjs/justifi-business-details.cjs.entry.js +6 -6
- package/dist/cjs/justifi-business-form.cjs.entry.js +11 -11
- package/dist/cjs/justifi-checkout.cjs.entry.js +7 -7
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +4 -4
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +9 -9
- package/dist/cjs/justifi-details.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +6 -6
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +6 -6
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +5 -5
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payment-details.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +20 -0
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/justifi-payments-list.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payout-details.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +8 -8
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +8 -8
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +5 -5
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +6 -6
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +8 -8
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-CjrDwZ1_.js → package-uJFBawLq.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +3 -3
- package/dist/cjs/payment-details-core.cjs.entry.js +2 -2
- package/dist/cjs/{payment-provisioning-actions-CZVlnRA0.js → payment-provisioning-actions-J6TGZZb9.js} +2 -0
- package/dist/cjs/{payment.service-Caa1AMvr.js → payment.service-CxSGTv_O.js} +2 -2
- package/dist/cjs/payments-list-core.cjs.entry.js +3 -3
- package/dist/cjs/{payments-table-C4EdksTV.js → payments-table-D5Hw3JDe.js} +1 -1
- package/dist/cjs/payout-details-core.cjs.entry.js +1 -1
- package/dist/cjs/{payout.service-sSIuVYJ3.js → payout.service-CO2wDM6M.js} +2 -2
- package/dist/cjs/payouts-list-core.cjs.entry.js +3 -3
- package/dist/cjs/{payouts-table-BJNUv0WA.js → payouts-table-DmVthJLU.js} +1 -1
- package/dist/cjs/{plaid-icon-JDI0tO2m.js → plaid-icon-DiZrP1DM.js} +2 -2
- package/dist/cjs/{schema-validations-CDAKixyQ.js → schema-validations-_yWWnnaG.js} +1 -1
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +3 -3
- package/dist/cjs/{terminal-orders-table-B-79Vr6S.js → terminal-orders-table-DPHz95-0.js} +2 -2
- package/dist/cjs/{terminal.service-jNz6aX1i.js → terminal.service-CUVwCH-a.js} +2 -2
- package/dist/cjs/terminals-list-core.cjs.entry.js +3 -3
- package/dist/cjs/{terminals-table-BF0epngC.js → terminals-table-C6rm50Mk.js} +1 -1
- package/dist/cjs/{utils-Xm42fjFZ.js → utils-BHi4j5rB.js} +14 -92
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +6 -7
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +2 -2
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +7 -8
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +6 -7
- package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +7 -8
- package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +10 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +6 -0
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-actions.js +2 -0
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-already-provisioned.js +6 -0
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +15 -0
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-submission-complete.js +6 -0
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
- package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +1 -1
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
- package/dist/collection/components/checkout/card-form/card-form.js +2 -2
- package/dist/collection/components/checkout/checkout.js +2 -2
- package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
- package/dist/collection/components/checkout/saved-payment-method.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +2 -2
- package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
- package/dist/collection/components/modular-checkout/modular-checkout.js +3 -2
- package/dist/collection/components/modular-checkout/sub-components/bank-account-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/card-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/google-pay.js +0 -20
- package/dist/collection/components/tokenize-payment-method/internal-tokenize-payment-method.js +3 -2
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +9 -4
- package/dist/collection/ui-components/details/details.js +1 -1
- package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
- package/dist/collection/ui-components/form/form.js +18 -0
- package/dist/collection/ui-components/pagination-menu/pagination-menu.js +3 -3
- package/dist/collection/ui-components/shadow-dom-components/justifi-radio-list-item.js +1 -1
- package/dist/collection/utils/check-pkg-version.js +17 -0
- package/dist/collection/utils/utils.js +14 -1
- package/dist/docs.json +55 -56
- package/dist/esm/{Api-DTLHOAbP.js → Api-CLZVsXZg.js} +1 -1
- package/dist/esm/{Plaid-4KgZeVz6.js → Plaid-Cmyilr-q.js} +1 -1
- package/dist/esm/additional-questions-details_5.entry.js +1 -1
- package/dist/esm/bank-account-document-form-inputs_9.entry.js +13 -13
- package/dist/esm/bank-account-form.entry.js +3 -3
- package/dist/esm/{business-additional-questions-schema-BOmaLaX-.js → business-additional-questions-schema-DKudYaoE.js} +3 -3
- package/dist/esm/{business-identity-schema-M_EirLHo.js → business-identity-schema-CFhSc0cA.js} +2 -2
- package/dist/esm/{business.service-BUqlnFDc.js → business.service-CS-wQJoN.js} +2 -2
- package/dist/esm/card-form.entry.js +3 -3
- package/dist/esm/{check-pkg-version-CZI1PwGp.js → check-pkg-version-Dun0W_E2.js} +20 -3
- package/dist/esm/{checkout.service-Biz7SQlj.js → checkout.service-BcQ_onZq.js} +2 -2
- package/dist/esm/checkouts-list-core.entry.js +4 -4
- package/dist/esm/{checkouts-table-CJHeGiIb.js → checkouts-table-C5aYyqpX.js} +1 -1
- package/dist/esm/{dispute.service-vbHc3EuA.js → dispute.service-B_oe0uFV.js} +2 -2
- package/dist/esm/form-alert_5.entry.js +6 -6
- package/dist/esm/form-control-checkbox.entry.js +2 -2
- package/dist/esm/form-control-monetary-provisioning.entry.js +2 -2
- package/dist/esm/form-control-monetary.entry.js +1 -1
- package/dist/esm/form-control-number-masked_3.entry.js +2 -2
- package/dist/esm/form-control-number_3.entry.js +6 -6
- package/dist/esm/{get-payment-details-vuAQFTzs.js → get-payment-details-BdewJSTH.js} +1 -1
- package/dist/esm/{get-subaccounts-DD38mpGM.js → get-subaccounts-BFALCYFr.js} +2 -2
- package/dist/esm/gross-payment-chart-core.entry.js +1 -1
- package/dist/esm/hidden-input_2.entry.js +1 -1
- package/dist/esm/{index.esm-IWS0494Y.js → index.esm-BHdVU4hV.js} +18 -0
- package/dist/esm/internal-tokenize-payment-method_7.entry.js +7 -7
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +28 -13
- package/dist/esm/justifi-additional-statement_8.entry.js +1 -1
- package/dist/esm/justifi-apple-pay_8.entry.js +7 -8
- package/dist/esm/justifi-bank-account-billing-form-simple_3.entry.js +4 -4
- package/dist/esm/justifi-business-details.entry.js +6 -6
- package/dist/esm/justifi-business-form.entry.js +11 -11
- package/dist/esm/justifi-checkout.entry.js +7 -7
- package/dist/esm/justifi-checkouts-list-filters.entry.js +4 -4
- package/dist/esm/justifi-checkouts-list.entry.js +9 -9
- package/dist/esm/justifi-details.entry.js +1 -1
- package/dist/esm/justifi-dispute-management.entry.js +6 -6
- package/dist/esm/justifi-dispute-notification_3.entry.js +6 -6
- package/dist/esm/justifi-gross-payment-chart.entry.js +5 -5
- package/dist/esm/justifi-order-terminals.entry.js +7 -7
- package/dist/esm/justifi-payment-details.entry.js +7 -7
- package/dist/esm/justifi-payment-provisioning-core.entry.js +21 -1
- package/dist/esm/justifi-payment-provisioning.entry.js +8 -8
- package/dist/esm/justifi-payment-transactions-list.entry.js +6 -6
- package/dist/esm/justifi-payments-list-filters.entry.js +1 -1
- package/dist/esm/justifi-payments-list.entry.js +7 -7
- package/dist/esm/justifi-payout-details.entry.js +6 -6
- package/dist/esm/justifi-payout-transactions-list.entry.js +6 -6
- package/dist/esm/justifi-payouts-list-filters.entry.js +2 -2
- package/dist/esm/justifi-payouts-list.entry.js +8 -8
- package/dist/esm/justifi-refund-payment.entry.js +8 -8
- package/dist/esm/justifi-saved-payment-method.entry.js +1 -1
- package/dist/esm/justifi-season-interruption-insurance.entry.js +5 -5
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +2 -2
- package/dist/esm/justifi-terminal-orders-list.entry.js +6 -6
- package/dist/esm/justifi-terminals-list-filters.entry.js +2 -2
- package/dist/esm/justifi-terminals-list.entry.js +8 -8
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-CbOhX1R1.js → package-CfQ5vkQ3.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +3 -3
- package/dist/esm/payment-details-core.entry.js +2 -2
- package/dist/esm/{payment-provisioning-actions-ONP8lDnV.js → payment-provisioning-actions-CBvplwPf.js} +2 -0
- package/dist/esm/{payment.service-DH_pKHdp.js → payment.service-Nvz1TYZB.js} +2 -2
- package/dist/esm/payments-list-core.entry.js +3 -3
- package/dist/esm/{payments-table-CeWcDUam.js → payments-table-BDaiD836.js} +1 -1
- package/dist/esm/payout-details-core.entry.js +1 -1
- package/dist/esm/{payout.service-rnQOd5Tm.js → payout.service-tTxsxoqF.js} +2 -2
- package/dist/esm/payouts-list-core.entry.js +3 -3
- package/dist/esm/{payouts-table-DeAdGsCH.js → payouts-table-B4nuJlpC.js} +1 -1
- package/dist/esm/{plaid-icon-HuYeMyv2.js → plaid-icon-B7a1QC7F.js} +2 -2
- package/dist/esm/{schema-validations-aBXPWENt.js → schema-validations-v6WGlZkq.js} +1 -1
- package/dist/esm/terminal-orders-list-core.entry.js +3 -3
- package/dist/esm/{terminal-orders-table-DNLwQbfo.js → terminal-orders-table-B-xs6ocO.js} +2 -2
- package/dist/esm/{terminal.service-CeWqP59G.js → terminal.service-Dv1-CZ4Y.js} +2 -2
- package/dist/esm/terminals-list-core.entry.js +3 -3
- package/dist/esm/{terminals-table-Ct1DZaR0.js → terminals-table-CnKH-UOw.js} +1 -1
- package/dist/esm/{utils-D08l50KN.js → utils-7bp92NC7.js} +14 -92
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Analytics.js +17 -0
- package/dist/module/additional-questions.js +2 -2
- package/dist/module/bank-account-billing-form-simple.js +1 -1
- package/dist/module/bank-account-document-inputs.js +1 -1
- package/dist/module/bank-account-form-inputs-canada2.js +1 -1
- package/dist/module/bank-account-form-inputs2.js +1 -1
- package/dist/module/bank-account-form.js +2 -2
- package/dist/module/bank-account-read-only-value2.js +1 -1
- package/dist/module/business-core-info-form-step.js +10 -1
- package/dist/module/business-core-info-schema.js +1 -1
- package/dist/module/business-core-info.js +2 -2
- package/dist/module/business-owners-form-step.js +6 -0
- package/dist/module/business-representative-form-inputs.js +2 -2
- package/dist/module/business-representative.js +3 -3
- package/dist/module/business-terms-conditions-form-step.js +1 -1
- package/dist/module/card-billing-form-simple.js +1 -1
- package/dist/module/card-form.js +2 -2
- package/dist/module/checkouts-list-core2.js +1 -1
- package/dist/module/details.js +1 -1
- package/dist/module/form-address-fields.js +1 -1
- package/dist/module/form-control-checkbox2.js +2 -2
- package/dist/module/form-control-monetary-provisioning2.js +2 -2
- package/dist/module/form.js +18 -0
- package/dist/module/google-pay.js +0 -2
- package/dist/module/identity-address-form.js +1 -1
- package/dist/module/justifi-checkout.js +2 -2
- package/dist/module/justifi-checkouts-list-filters.js +2 -2
- package/dist/module/justifi-checkouts-list.js +1 -1
- package/dist/module/justifi-payment-provisioning.js +1 -1
- package/dist/module/justifi-radio-list-item2.js +1 -1
- package/dist/module/justifi-saved-payment-method.js +1 -1
- package/dist/module/legal-address-form.js +2 -2
- package/dist/module/owner-form-core2.js +1 -1
- package/dist/module/owner-form-inputs2.js +3 -3
- package/dist/module/owner-form.js +1 -1
- package/dist/module/package.js +1 -1
- package/dist/module/pagination-menu2.js +3 -3
- package/dist/module/payment-provisioning-actions.js +2 -0
- package/dist/module/payment-provisioning-core.js +22 -1
- package/dist/module/payment-provisioning-form-buttons.js +1 -1
- package/dist/module/payment-provisioning-form-steps.js +1 -1
- package/dist/module/save-new-payment-method.js +1 -1
- package/dist/module/utils2.js +14 -92
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-already-provisioned.d.ts +1 -0
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-core.d.ts +1 -0
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-submission-complete.d.ts +1 -0
- package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +3 -3
- package/dist/types/components/modular-checkout/sub-components/google-pay.d.ts +0 -1
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +1 -1
- package/dist/types/components.d.ts +22 -22
- package/dist/types/ui-components/form/form.d.ts +2 -0
- package/dist/webcomponents/{p-cf32d418.entry.js → p-092653b6.entry.js} +1 -1
- package/dist/webcomponents/p-0f1c100d.entry.js +1 -0
- package/dist/webcomponents/{p-676bbeb5.entry.js → p-11402020.entry.js} +1 -1
- package/dist/webcomponents/p-12665340.entry.js +1 -0
- package/dist/webcomponents/{p-95dd1412.entry.js → p-154efb83.entry.js} +1 -1
- package/dist/webcomponents/p-18658148.entry.js +1 -0
- package/dist/webcomponents/p-19f1e643.entry.js +1 -0
- package/dist/webcomponents/{p-463ba2e5.entry.js → p-32a8b10f.entry.js} +1 -1
- package/dist/webcomponents/p-334beb48.entry.js +1 -0
- package/dist/webcomponents/{p-dcd7d550.entry.js → p-3798d389.entry.js} +1 -1
- package/dist/webcomponents/{p-90f807e7.entry.js → p-3bbacc8e.entry.js} +1 -1
- package/dist/webcomponents/{p-d1e435e7.entry.js → p-3c647db5.entry.js} +1 -1
- package/dist/webcomponents/{p-a5bb5dd8.entry.js → p-3caa3604.entry.js} +1 -1
- package/dist/webcomponents/p-402ba9aa.entry.js +1 -0
- package/dist/webcomponents/{p-ad742a9f.entry.js → p-4116808e.entry.js} +1 -1
- package/dist/webcomponents/p-5206cd09.entry.js +1 -0
- package/dist/webcomponents/p-52dc271f.entry.js +1 -0
- package/dist/webcomponents/{p-d1ca9e14.entry.js → p-540e2ef2.entry.js} +1 -1
- package/dist/webcomponents/{p-BlyTcLL_.js → p-55QcjheA.js} +1 -1
- package/dist/webcomponents/{p-eea11396.entry.js → p-5862236f.entry.js} +1 -1
- package/dist/webcomponents/{p-98bf0cfb.entry.js → p-5f402409.entry.js} +1 -1
- package/dist/webcomponents/{p-86c74415.entry.js → p-62f9c008.entry.js} +1 -1
- package/dist/webcomponents/p-660a04c0.entry.js +1 -0
- package/dist/webcomponents/{p-B2dyhwDq.js → p-6V4e6Fb_.js} +1 -1
- package/dist/webcomponents/{p-10f840fc.entry.js → p-6c503a00.entry.js} +1 -1
- package/dist/webcomponents/p-6d565cd6.entry.js +1 -0
- package/dist/webcomponents/{p-6e84725b.entry.js → p-7f3dcd42.entry.js} +1 -1
- package/dist/webcomponents/{p-af42af18.entry.js → p-88c6713a.entry.js} +1 -1
- package/dist/webcomponents/p-8Wa_-5QM.js +1 -0
- package/dist/webcomponents/{p-be6ec1b5.entry.js → p-8a42d4fe.entry.js} +1 -1
- package/dist/webcomponents/{p-d885366e.entry.js → p-8c55dac0.entry.js} +1 -1
- package/dist/webcomponents/p-8e631781.entry.js +1 -0
- package/dist/webcomponents/{p-28334844.entry.js → p-917daf31.entry.js} +1 -1
- package/dist/webcomponents/p-98158303.entry.js +1 -0
- package/dist/webcomponents/p-990d3709.entry.js +1 -0
- package/dist/webcomponents/{p-e14ce95f.entry.js → p-9a11f17b.entry.js} +1 -1
- package/dist/webcomponents/{p-64bb17f7.entry.js → p-9d69ae9f.entry.js} +3 -3
- package/dist/webcomponents/p-BHA4oSi3.js +1 -0
- package/dist/webcomponents/p-B_KHnbK8.js +1 -0
- package/dist/webcomponents/{p-ABUL3rRn.js → p-BiNakvsa.js} +1 -1
- package/dist/webcomponents/p-BovgIz83.js +1 -0
- package/dist/webcomponents/{p-DZCi07iw.js → p-CGJ_mnry.js} +1 -1
- package/dist/webcomponents/{p-BlXjEymw.js → p-CIh-k9yP.js} +1 -1
- package/dist/webcomponents/p-CJZ09QNH.js +1 -0
- package/dist/webcomponents/{p-DiJD6Iqx.js → p-CKiAlBsU.js} +1 -1
- package/dist/webcomponents/{p-DVkAKcyF.js → p-CemnnRdZ.js} +1 -1
- package/dist/webcomponents/p-CfQ5vkQ3.js +1 -0
- package/dist/webcomponents/p-CkX7qWsc.js +1 -0
- package/dist/webcomponents/{p--wa_2SG9.js → p-D8EGHc_m.js} +1 -1
- package/dist/webcomponents/{p-ChplphEP.js → p-DYEXDs2k.js} +1 -1
- package/dist/webcomponents/{p-6EQtYg98.js → p-DqtDbB8E.js} +1 -1
- package/dist/webcomponents/{p-C6GGU0xz.js → p-DyJ1zSHJ.js} +1 -1
- package/dist/webcomponents/{p-CCqnAJz7.js → p-HT_4DkD0.js} +1 -1
- package/dist/webcomponents/{p-n8CiFsbh.js → p-Jz9qdPhR.js} +1 -1
- package/dist/webcomponents/{p-CE85O0Lk.js → p-MeSAYDNh.js} +1 -1
- package/dist/webcomponents/p-R0FDNhyd.js +1 -0
- package/dist/webcomponents/{p-a980af27.entry.js → p-a141c90b.entry.js} +1 -1
- package/dist/webcomponents/p-a713a90d.entry.js +1 -0
- package/dist/webcomponents/{p-6a0c47c7.entry.js → p-a87a7fad.entry.js} +1 -1
- package/dist/webcomponents/{p-303c2b00.entry.js → p-ab365375.entry.js} +1 -1
- package/dist/webcomponents/{p-52988183.entry.js → p-ad962b59.entry.js} +1 -1
- package/dist/webcomponents/{p-960c2c6f.entry.js → p-b6ffa313.entry.js} +1 -1
- package/dist/webcomponents/{p-ffbd244c.entry.js → p-bcba5950.entry.js} +1 -1
- package/dist/webcomponents/{p-73df3099.entry.js → p-c0592f5f.entry.js} +1 -1
- package/dist/webcomponents/{p-d66d23e6.entry.js → p-c6aee723.entry.js} +1 -1
- package/dist/webcomponents/p-c72c5b99.entry.js +1 -0
- package/dist/webcomponents/{p-38dcc482.entry.js → p-c7930f9a.entry.js} +1 -1
- package/dist/webcomponents/p-cb9abd2c.entry.js +1 -0
- package/dist/webcomponents/p-d5516a10.entry.js +1 -0
- package/dist/webcomponents/{p-8a8a2e10.entry.js → p-d9118b1e.entry.js} +1 -1
- package/dist/webcomponents/{p-234233bd.entry.js → p-e8eeb4f1.entry.js} +1 -1
- package/dist/webcomponents/p-eEJMJXTG.js +1 -0
- package/dist/webcomponents/{p-DPe-NMaf.js → p-eEJvKFFX.js} +1 -1
- package/dist/webcomponents/{p-d75b2d8e.entry.js → p-f5362ed9.entry.js} +1 -1
- package/dist/webcomponents/p-fbfe6211.entry.js +1 -0
- package/dist/webcomponents/{p-cccaf5d8.entry.js → p-ff4d485f.entry.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +14 -14
- package/dist/webcomponents/p-031a3b85.entry.js +0 -1
- package/dist/webcomponents/p-05bf6f64.entry.js +0 -1
- package/dist/webcomponents/p-0ce755a3.entry.js +0 -1
- package/dist/webcomponents/p-108fc8fc.entry.js +0 -1
- package/dist/webcomponents/p-1ecce619.entry.js +0 -1
- package/dist/webcomponents/p-382f7f5e.entry.js +0 -1
- package/dist/webcomponents/p-40be2abf.entry.js +0 -1
- package/dist/webcomponents/p-5120da66.entry.js +0 -1
- package/dist/webcomponents/p-5aA7gjr5.js +0 -1
- package/dist/webcomponents/p-5c7a4c5d.entry.js +0 -1
- package/dist/webcomponents/p-708cb37d.entry.js +0 -1
- package/dist/webcomponents/p-8fdf5660.entry.js +0 -1
- package/dist/webcomponents/p-95b42970.entry.js +0 -1
- package/dist/webcomponents/p-CNqhJq0U.js +0 -1
- package/dist/webcomponents/p-CbOhX1R1.js +0 -1
- package/dist/webcomponents/p-D3sBnuT0.js +0 -1
- package/dist/webcomponents/p-D8LR-wfI.js +0 -1
- package/dist/webcomponents/p-DK2dYSfn.js +0 -1
- package/dist/webcomponents/p-DLuCaZKz.js +0 -1
- package/dist/webcomponents/p-DelrHXqf.js +0 -1
- package/dist/webcomponents/p-afa2ebd9.entry.js +0 -1
- package/dist/webcomponents/p-b0c03283.entry.js +0 -1
- package/dist/webcomponents/p-b711510b.entry.js +0 -1
- package/dist/webcomponents/p-bb52e8d5.entry.js +0 -1
- package/dist/webcomponents/p-e9ac9556.entry.js +0 -1
- package/dist/webcomponents/p-f6ea2000.entry.js +0 -1
- package/dist/webcomponents/p-iRcGYAKD.js +0 -1
|
@@ -2,7 +2,7 @@ import { r as registerInstance, h, H as Host, c as createEvent, g as getElement
|
|
|
2
2
|
import './config-state-kKn89dp1.js';
|
|
3
3
|
import './dinero-HXpYMWUU.js';
|
|
4
4
|
import { C as ComponentErrorSeverity } from './ComponentError-Cjcsf8ku.js';
|
|
5
|
-
import { E as EntityDocumentType, m as PLAID_ERROR_SEVERITY, n as PLAID_ERROR_MESSAGES, o as PlaidErrorCodes } from './Plaid-
|
|
5
|
+
import { E as EntityDocumentType, m as PLAID_ERROR_SEVERITY, n as PLAID_ERROR_MESSAGES, o as PlaidErrorCodes } from './Plaid-Cmyilr-q.js';
|
|
6
6
|
import './Pagination-CLHwhyvu.js';
|
|
7
7
|
import './Business-BcNb9bVO.js';
|
|
8
8
|
import './Dispute-BH0Xfn-F.js';
|
|
@@ -10,28 +10,28 @@ import { a as bankAccountTypeOptions } from './business-form-options-DRalxlqN.js
|
|
|
10
10
|
import './event-types-XYgDHrVL.js';
|
|
11
11
|
import { n as numberOnlyHandler } from './utils-BnjCmwMr.js';
|
|
12
12
|
import { H as text, a5 as card, J as heading2, av as table, V as tableHeadCell, aE as tableCell, _ as input, $ as label, X as inputInvalid, Y as inputDisabled, Z as inputFocused, am as buttonSecondary } from './parts-C4FLe2pT.js';
|
|
13
|
-
import { s as snakeCaseToHumanReadable, e as formatDate, d as formatTime } from './utils-
|
|
13
|
+
import { s as snakeCaseToHumanReadable, e as formatDate, d as formatTime } from './utils-7bp92NC7.js';
|
|
14
14
|
import { S as Skeleton } from './skeleton-C162KC3u.js';
|
|
15
15
|
import './event-types-CZfYo5-1.js';
|
|
16
16
|
import { F as FormControlErrorText } from './form-control-error-text-xEskXF-M.js';
|
|
17
17
|
import { u as updateFormValues, a as updateAddressFormValues, b as updateDateOfBirthFormValues } from './input-handlers-1lVyzImK.js';
|
|
18
18
|
import { P as PHONE_MASKS, I as IDENTITY_MASKS } from './form-input-masks-CVaOFfrI.js';
|
|
19
19
|
import { c as countryLabels } from './country-config-P042rrI3.js';
|
|
20
|
-
import { c as makeGetIdentity, d as makePatchIdentity, e as makePostIdentity } from './payment-provisioning-actions-
|
|
21
|
-
import { I as IdentityService } from './business.service-
|
|
20
|
+
import { c as makeGetIdentity, d as makePatchIdentity, e as makePostIdentity } from './payment-provisioning-actions-CBvplwPf.js';
|
|
21
|
+
import { I as IdentityService } from './business.service-CS-wQJoN.js';
|
|
22
22
|
import { B as Button } from './button-DOkTCYSa.js';
|
|
23
23
|
import { S as StyledHost } from './styled-host-D6byRazK.js';
|
|
24
|
-
import { P as PlaidService, p as plaidIconSvg } from './plaid-icon-
|
|
24
|
+
import { P as PlaidService, p as plaidIconSvg } from './plaid-icon-B7a1QC7F.js';
|
|
25
25
|
import './index-cDVGjRkU.js';
|
|
26
26
|
import './utils-BeQLScSm.js';
|
|
27
|
-
import './Api-
|
|
27
|
+
import './Api-CLZVsXZg.js';
|
|
28
28
|
|
|
29
29
|
const BankAccountDocumentFormInputs = class {
|
|
30
30
|
constructor(hostRef) {
|
|
31
31
|
registerInstance(this, hostRef);
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (h("div", { key: '
|
|
34
|
+
return (h("div", { key: '7f9ea576aad16f3c2ea45c987a38878ea65f2df2', class: "row gy-3" }, h("div", { key: '316fe3f20df7c7dce2b8903e6073e0fe7920e5e8', class: "col-12" }, h("form-control-file", { key: '320d6b7f3de2cfeeb30eb1e08ca4122123854ffd', name: "voided_check", label: "Voided Check", documentType: EntityDocumentType.voidedCheck, inputHandler: this.inputHandler, onFileSelected: this.storeFiles, errorText: this.errors["voided_check"], multiple: true })), h("div", { key: 'f33a936c61c14c701e40d375e4dfc4c554b8293c', class: "col-12" }, h("form-control-file", { key: '1e160d8211a71175d6a45b10590fb2c8774f61e1', name: "bank_statement", label: "Bank Statement", documentType: EntityDocumentType.bankStatement, inputHandler: this.inputHandler, onFileSelected: this.storeFiles, errorText: this.errors["bank_statement"], multiple: true }))));
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
37
|
|
|
@@ -41,7 +41,7 @@ const BankAccountFormInputs = class {
|
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
43
|
var _a, _b, _c, _d, _e, _f;
|
|
44
|
-
return (h("div", { key: '
|
|
44
|
+
return (h("div", { key: '5dc7139f54d11979410d0d67ca29e65b02f30200', class: "row gy-3" }, h("div", { key: '118f15bf02855b24baec5ce2a2c3cf5b241b3da4', class: "col-12" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Bank Name", value: (_a = this.defaultValue) === null || _a === void 0 ? void 0 : _a.bank_name })) : (h("form-control-text", { name: "bank_name", label: "Bank Name", defaultValue: this.defaultValue.bank_name, errorText: this.errors.bank_name, inputHandler: this.inputHandler }))), h("div", { key: 'db03eccee03ec4b7d0de637306315982a2cd770d', class: "col-12" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Nickname", value: (_b = this.defaultValue) === null || _b === void 0 ? void 0 : _b.nickname })) : (h("form-control-text", { name: "nickname", label: "Nickname", defaultValue: this.defaultValue.nickname, errorText: this.errors.nickname, inputHandler: this.inputHandler }))), h("div", { key: '217120e0052b8ee41cac8f901ac4d9742b0c6ea9', class: "col-12" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Account Owner Name", value: (_c = this.defaultValue) === null || _c === void 0 ? void 0 : _c.account_owner_name })) : (h("form-control-text", { name: "account_owner_name", label: "Account Owner Name", defaultValue: this.defaultValue.account_owner_name, errorText: this.errors.account_owner_name, inputHandler: this.inputHandler }))), h("div", { key: 'f589511545d6262966a6fa2888cb78babacfb770', class: "col-12" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Account Type", value: (_d = this.defaultValue) === null || _d === void 0 ? void 0 : _d.account_type })) : (h("form-control-select", { name: "account_type", label: "Account Type", options: bankAccountTypeOptions, defaultValue: this.defaultValue.account_type, errorText: this.errors.account_type, inputHandler: this.inputHandler }))), h("div", { key: '24df83bb2666cee381c266608c43f3fd729db4cf', class: "col-6" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Account Number", value: ((_e = this.defaultValue) === null || _e === void 0 ? void 0 : _e.account_number_last4) ? `**** ${this.defaultValue.account_number_last4}` : '' })) : (h("form-control-text", { name: "account_number", label: "Account Number", defaultValue: this.defaultValue.account_number, maxLength: 17, errorText: this.errors.account_number, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, helpText: "Please copy the account number as shown on your statement/check. Do not include spaces or dashes." }))), h("div", { key: '75fe11d71e57707d088f8a90a250621fce82647f', class: "col-6" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Routing Number", value: ((_f = this.defaultValue) === null || _f === void 0 ? void 0 : _f.routing_number) || '' })) : (h("form-control-text", { name: "routing_number", label: "Routing Number", defaultValue: this.defaultValue.routing_number, maxLength: 9, errorText: this.errors.routing_number, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, helpText: "A valid routing number is nine digits. Please include any leading or trailing zeroes." })))));
|
|
45
45
|
}
|
|
46
46
|
};
|
|
47
47
|
|
|
@@ -51,7 +51,7 @@ const BankAccountFormInputsCanada = class {
|
|
|
51
51
|
}
|
|
52
52
|
render() {
|
|
53
53
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
54
|
-
return (h("div", { key: '
|
|
54
|
+
return (h("div", { key: '34cbf10449df73748095fd7122d0ae1355a83e13', class: "row gy-3" }, h("div", { key: '607cc5cbc70fdd2d5a325bef7002a44740394282', class: "col-12" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Bank Name", value: (_a = this.defaultValue) === null || _a === void 0 ? void 0 : _a.bank_name })) : (h("form-control-text", { name: "bank_name", label: "Bank Name", defaultValue: this.defaultValue.bank_name, errorText: this.errors.bank_name, inputHandler: this.inputHandler }))), h("div", { key: 'f57f4cd733f2dd439d6d83f32078371618f5fa06', class: "col-12" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Nickname", value: (_b = this.defaultValue) === null || _b === void 0 ? void 0 : _b.nickname })) : (h("form-control-text", { name: "nickname", label: "Nickname", defaultValue: this.defaultValue.nickname, errorText: this.errors.nickname, inputHandler: this.inputHandler }))), h("div", { key: 'b92dface0116321ea990bfcaf1b036b5629385db', class: "col-12" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Account Owner Name", value: (_c = this.defaultValue) === null || _c === void 0 ? void 0 : _c.account_owner_name })) : (h("form-control-text", { name: "account_owner_name", label: "Account Owner Name", defaultValue: this.defaultValue.account_owner_name, errorText: this.errors.account_owner_name, inputHandler: this.inputHandler }))), h("div", { key: '45d68efa47de76ee420cedfb97e82f498a2de97b', class: "col-12" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Account Type", value: (_d = this.defaultValue) === null || _d === void 0 ? void 0 : _d.account_type })) : (h("form-control-select", { name: "account_type", label: "Account Type", options: bankAccountTypeOptions, defaultValue: this.defaultValue.account_type, errorText: this.errors.account_type, inputHandler: this.inputHandler }))), h("div", { key: '8419925e8470d63d506e1f7e82ccdf1a1132ecc0', class: "col-3" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Transit Number", value: ((_e = this.defaultValue) === null || _e === void 0 ? void 0 : _e.transit_number) || '' })) : (h("form-control-text", { name: "transit_number", label: "Transit Number", defaultValue: this.defaultValue.transit_number, maxLength: 5, errorText: this.errors.transit_number, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, helpText: "5 digits" }))), h("div", { key: 'aa6e83c409e0cf93f1903394f63c0b719ec8808e', class: "col-3" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Institution Number", value: ((_f = this.defaultValue) === null || _f === void 0 ? void 0 : _f.institution_number) || '' })) : (h("form-control-text", { name: "institution_number", label: "Institution Number", defaultValue: this.defaultValue.institution_number, maxLength: 3, errorText: this.errors.institution_number, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, helpText: "3 digits" }))), h("div", { key: '029058c023daca9d0488f45478af6edafe359df7', class: "col-6" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Account Number", value: ((_g = this.defaultValue) === null || _g === void 0 ? void 0 : _g.account_number_last4) ? `**** ${this.defaultValue.account_number_last4}` : '' })) : (h("form-control-text", { name: "account_number", label: "Account Number", defaultValue: this.defaultValue.account_number, maxLength: 17, errorText: this.errors.account_number, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, helpText: "Please copy the account number as shown on your statement. Do not include spaces or dashes." })))));
|
|
55
55
|
}
|
|
56
56
|
};
|
|
57
57
|
|
|
@@ -60,7 +60,7 @@ const BankAccountReadOnlyValue = class {
|
|
|
60
60
|
registerInstance(this, hostRef);
|
|
61
61
|
}
|
|
62
62
|
render() {
|
|
63
|
-
return (h("div", { key: '
|
|
63
|
+
return (h("div", { key: 'ad9eadcf49dbc67e51cd814d3ded334a587cc17c' }, h("label", { key: 'b8ba3d8b7ef9fc33e0e0870f71b7df5dbfae4759', class: "form-label", part: text }, this.label), h("div", { key: '1839bdadb96b3c814c73991530497f9a7be6a10d', part: text }, this.value || '')));
|
|
64
64
|
}
|
|
65
65
|
};
|
|
66
66
|
|
|
@@ -148,14 +148,14 @@ const RepresentativeFormInputs = class {
|
|
|
148
148
|
}
|
|
149
149
|
render() {
|
|
150
150
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
151
|
-
return (h("form", { key: '
|
|
151
|
+
return (h("form", { key: 'a9c0f6332bf302d5eb9f93c4ca045d572a40468f' }, h("fieldset", { key: '115c564826335a9c7b670bbc0409912c3eb7a4aa' }, h("div", { key: '6de8909b4b2f3c7d8ec4665aad77ef59cdf035b4', class: "d-flex align-items-center gap-2" }, h("legend", { key: 'bb8b5a3775eae450a866356a9e149a0bf57b5699', class: "mb-0", part: heading2 }, "Representative"), h("form-control-tooltip", { key: 'a0296d4a3c35a039525f39501e117ee6fdd12257', helpText: "The representative for your business needs to be someone who has significant control over managing your business\u2019s finance. You will have an opportunity to add owners later in the form." })), h("hr", { key: 'abbee22f5664275f27dd8eeb2b12c87b059ff024', class: "mt-2" }), h("div", { key: 'e165ff125df62dc1d22b7329fe7fe2ff200cbbb3', class: "row gy-3" }, h("div", { key: '114ff752eeda3ffa90529ff6bc675b874f543336', class: "col-12 col-md-8" }, h("form-control-text", { key: '8b6ce9f4a327ca5282aa32c226f671945aa10404', name: "name", label: "Full Name", defaultValue: (_a = this.representativeDefaultValue) === null || _a === void 0 ? void 0 : _a.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: 'bce864367883c6bbf7bd0841114a3dbb39db692b', class: "col-12 col-md-4" }, h("form-control-text", { key: 'ec3e72dc3f84c0daee2c6509f7dbf2bad22f5db6', name: "title", label: "Title", defaultValue: (_b = this.representativeDefaultValue) === null || _b === void 0 ? void 0 : _b.title, errorText: this.errors.title, inputHandler: this.inputHandler, helpText: "Role at your business, e.g. President, CEO, Treasurer." })), h("div", { key: '200ae959d897d9d22016553d3c586cf3f0438dd9', class: "col-12 col-md-6" }, h("form-control-text", { key: '4f77d6ca6c3c85edabc11af6f5703ab1327f05e7', name: "email", label: "Email Address", defaultValue: (_c = this.representativeDefaultValue) === null || _c === void 0 ? void 0 : _c.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: 'cf642ee73f7ae8b254920a3f781c23dc456f16ae', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: 'df609213bec728f17b2527a2e99ff3e0e69604aa', name: "phone", label: "Phone Number", defaultValue: (_d = this.representativeDefaultValue) === null || _d === void 0 ? void 0 : _d.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: '2e4565c06976723ae4e497a5305cea7468bac2f4', class: "col-12 col-md-4" }, h("form-control-date", { key: 'ca7d4bf05c32d1d9983df430d338cc3433015957', name: "dob_full", label: "Birth Date", defaultValue: (_e = this.representativeDefaultValue) === null || _e === void 0 ? void 0 : _e.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: (e) => updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), h("div", { key: 'f6cbe1b7f4e5575f626e6d73f31b4a1a09ac33e3', class: "col-12 col-md-8" }, (!((_f = this.representativeDefaultValue) === null || _f === void 0 ? void 0 : _f.ssn_last4) || this.isEditingIdentification) ? (h("form-control-number-masked", { name: "identification_number", label: countryLabels[this.country].idNumberLabel, defaultValue: this.isEditingIdentification ? '' : (_g = this.representativeDefaultValue) === null || _g === void 0 ? void 0 : _g.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: IDENTITY_MASKS[this.country], helpText: countryLabels[this.country].identityHelpText })) : (h("div", null, h("label", { class: "form-label", part: label }, countryLabels[this.country].idNumberLabel), h("div", { class: "input-group mb-3" }, h("input", { type: "text", class: "form-control", part: inputDisabled, value: `****${(_h = this.representativeDefaultValue) === null || _h === void 0 ? void 0 : _h.ssn_last4}`, disabled: true }), h("button", { class: "btn btn-secondary", type: "button", part: buttonSecondary, onClick: () => {
|
|
152
152
|
this.isEditingIdentification = true;
|
|
153
153
|
// Clear current value to force validation
|
|
154
154
|
updateFormValues(this.formController, {
|
|
155
155
|
identification_number: '',
|
|
156
156
|
ssn_last4: null
|
|
157
157
|
});
|
|
158
|
-
} }, "Change"))))), h("div", { key: '
|
|
158
|
+
} }, "Change"))))), h("div", { key: 'e3fa556dece2feaf5eb175ae3734c2319777ef48', class: "col-12" }, h("justifi-identity-address-form", { key: 'fe3d349371d11b8a246b9c31aebd7d9c84e03f8e', errors: this.errors.address, defaultValues: (_j = this.representativeDefaultValue) === null || _j === void 0 ? void 0 : _j.address, handleFormUpdate: this.onAddressFormUpdate, country: this.country }))))));
|
|
159
159
|
}
|
|
160
160
|
};
|
|
161
161
|
|
|
@@ -196,7 +196,7 @@ const BusinessOwnerForm = class {
|
|
|
196
196
|
});
|
|
197
197
|
}
|
|
198
198
|
render() {
|
|
199
|
-
return (h("owner-form-core", { key: '
|
|
199
|
+
return (h("owner-form-core", { key: '47c36dfc76ac8a108950e17770d1a0fb06fe4e42', ownerId: this.ownerId, businessId: this.businessId, getOwner: this.getOwner, patchOwner: this.patchOwner, postOwner: this.postOwner, allowOptionalFields: this.allowOptionalFields, removeOwner: this.removeOwner, newFormOpen: this.newFormOpen, ownersLength: this.ownersLength, country: this.country, ref: ref => this.coreComponent = ref }));
|
|
200
200
|
}
|
|
201
201
|
};
|
|
202
202
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, r as registerInstance, H as Host } from './index-CV0Pyo1O.js';
|
|
2
2
|
import { S as Skeleton } from './skeleton-C162KC3u.js';
|
|
3
3
|
import { w as waitForConfig, c as configState } from './config-state-kKn89dp1.js';
|
|
4
|
-
import { b as generateTabId } from './utils-
|
|
4
|
+
import { b as generateTabId } from './utils-7bp92NC7.js';
|
|
5
5
|
import './parts-C4FLe2pT.js';
|
|
6
6
|
import './index-cDVGjRkU.js';
|
|
7
7
|
import './dinero-HXpYMWUU.js';
|
|
@@ -46,10 +46,10 @@ const BankAccountForm = class {
|
|
|
46
46
|
return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
47
47
|
}
|
|
48
48
|
render() {
|
|
49
|
-
return (h(Host, { key: '
|
|
49
|
+
return (h(Host, { key: 'a104b2e88e818472d0158990ccf2cac6d7315616' }, h(BankAccountFormSkeleton, { key: '1ed1ac87a66aedf6a7528247e0ff3a803c74e4c3', isReady: this.isReady }), h("div", { key: 'a96c05c60c51f97c8abb7dc6a8cfebc940ea1513', class: "container-fluid p-0", style: {
|
|
50
50
|
opacity: this.isReady ? '1' : '0',
|
|
51
51
|
height: this.isReady ? 'auto' : '0',
|
|
52
|
-
} }, h("div", { key: '
|
|
52
|
+
} }, h("div", { key: '3d168fd241702b30f0c8727d3c0aae65c20b69aa', class: "row mb-3" }, h("iframe-input", { key: 'dc1da989b1577ed62b3eeafd33128aca38e4610d', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber?tabId=${this.tabId}` })), h("div", { key: '1179ae9d6b9f476bb01a1ee4f4edd7da6f22f635', class: "row" }, h("iframe-input", { key: '7e79b383876be1711a2e21ab7462f86281ebf28c', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber?tabId=${this.tabId}` })))));
|
|
53
53
|
}
|
|
54
54
|
};
|
|
55
55
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as create$3, a as create$6 } from './index.esm-
|
|
2
|
-
import { m as makeTaxIdValidation, d as dateOfIncorporationValidation, i as industryValidation, b as businessClassificationValidation, a as doingBusinessAsValidation, p as phoneValidation, e as emailValidation, w as websiteUrlValidation, c as businessNameValidation, t as taxIdValidation, o as otherPaymentDetailsValidation, f as whenServiceReceivedValidation, r as revenueValidation, g as paymentVolumeValidation } from './schema-validations-
|
|
1
|
+
import { c as create$3, a as create$6 } from './index.esm-BHdVU4hV.js';
|
|
2
|
+
import { m as makeTaxIdValidation, d as dateOfIncorporationValidation, i as industryValidation, b as businessClassificationValidation, a as doingBusinessAsValidation, p as phoneValidation, e as emailValidation, w as websiteUrlValidation, c as businessNameValidation, t as taxIdValidation, o as otherPaymentDetailsValidation, f as whenServiceReceivedValidation, r as revenueValidation, g as paymentVolumeValidation } from './schema-validations-v6WGlZkq.js';
|
|
3
3
|
import { C as CountryCode } from './Business-BcNb9bVO.js';
|
|
4
4
|
import { c as countryLabels } from './country-config-P042rrI3.js';
|
|
5
5
|
|
|
@@ -13,7 +13,7 @@ const baseBusinessCoreInfoSchema = (allowOptionalFields) => {
|
|
|
13
13
|
doing_business_as: doingBusinessAsValidation.nullable(),
|
|
14
14
|
classification: businessClassificationValidation.required('Select business classification'),
|
|
15
15
|
industry: industryValidation.required('Enter a business industry'),
|
|
16
|
-
date_of_incorporation: dateOfIncorporationValidation.required('Enter date of
|
|
16
|
+
date_of_incorporation: dateOfIncorporationValidation.required('Enter date of registration'),
|
|
17
17
|
});
|
|
18
18
|
const easySchema = create$3({
|
|
19
19
|
legal_name: businessNameValidation.required('Enter legal name'),
|
package/dist/esm/{business-identity-schema-M_EirLHo.js → business-identity-schema-CFhSc0cA.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as create$3, a as create$6 } from './index.esm-
|
|
2
|
-
import { h as cityValidation, l as lineTwoValidation, j as lineOneValidation, k as makePostalValidation, n as ownershipPercentageValidation, s as ssnValidation, q as dobValidation, p as phoneValidation, e as emailValidation, u as identityTitleValidation, v as identityNameValidation, x as makeIdentityNumberValidation } from './schema-validations-
|
|
1
|
+
import { c as create$3, a as create$6 } from './index.esm-BHdVU4hV.js';
|
|
2
|
+
import { h as cityValidation, l as lineTwoValidation, j as lineOneValidation, k as makePostalValidation, n as ownershipPercentageValidation, s as ssnValidation, q as dobValidation, p as phoneValidation, e as emailValidation, u as identityTitleValidation, v as identityNameValidation, x as makeIdentityNumberValidation } from './schema-validations-v6WGlZkq.js';
|
|
3
3
|
import { C as CountryCode } from './Business-BcNb9bVO.js';
|
|
4
4
|
|
|
5
5
|
// Internal USA schemas
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as Api } from './Api-
|
|
1
|
+
import { A as Api } from './Api-CLZVsXZg.js';
|
|
2
2
|
import './ComponentError-Cjcsf8ku.js';
|
|
3
|
-
import './Plaid-
|
|
3
|
+
import './Plaid-Cmyilr-q.js';
|
|
4
4
|
import './Pagination-CLHwhyvu.js';
|
|
5
5
|
import './Business-BcNb9bVO.js';
|
|
6
6
|
import './Dispute-BH0Xfn-F.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, r as registerInstance, H as Host } from './index-CV0Pyo1O.js';
|
|
2
2
|
import { S as Skeleton } from './skeleton-C162KC3u.js';
|
|
3
3
|
import { w as waitForConfig, c as configState } from './config-state-kKn89dp1.js';
|
|
4
|
-
import { b as generateTabId } from './utils-
|
|
4
|
+
import { b as generateTabId } from './utils-7bp92NC7.js';
|
|
5
5
|
import './parts-C4FLe2pT.js';
|
|
6
6
|
import './index-cDVGjRkU.js';
|
|
7
7
|
import './dinero-HXpYMWUU.js';
|
|
@@ -50,10 +50,10 @@ const CardForm = class {
|
|
|
50
50
|
return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
51
51
|
}
|
|
52
52
|
render() {
|
|
53
|
-
return (h(Host, { key: '
|
|
53
|
+
return (h(Host, { key: 'fd58409622904cfdbe1df9e7aa893cec0b469472' }, h(CardFormSkeleton, { key: '7bd4dbc17afc1641eafa5cc6c12349901a05b862', isReady: this.isReady }), h("div", { key: '1eb88b3443cb12f592a247335d5a6de2597bf10d', class: "container-fluid p-0", style: {
|
|
54
54
|
opacity: this.isReady ? '1' : '0',
|
|
55
55
|
height: this.isReady ? 'auto' : '0',
|
|
56
|
-
} }, h("div", { key: '
|
|
56
|
+
} }, h("div", { key: '4b50883a1094343e1f039c8bafed2ecfb42be0e8', class: "mb-3" }, h("iframe-input", { key: '83930c6af6b6a7eb82bf66565fa2e9d16b3bfa59', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber?tabId=${this.tabId}` })), h("div", { key: '33c8a34d012abc533d5b69baa3fddfcb3714be61', class: "d-flex align-items-start" }, h("div", { key: 'b37fedaab03b543789fb2909d0daa91d28d9b772', class: "flex-fill me-3" }, h("iframe-input", { key: 'd5fa7b25f4726e6896ee8fcf0a2ab882b1df5260', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Exp. Month", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth?tabId=${this.tabId}` })), h("div", { key: '38798bb90f5457d3e5c3659c716fe38a79a2f2a0', class: "flex-fill me-3" }, h("iframe-input", { key: '44d57ddbe4221e1d0000a9db7a19d8878211cb50', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "Exp. Year", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear?tabId=${this.tabId}` })), h("div", { key: '233f99090baecc6097f2226d93a14d428571b03f', class: "flex-fill" }, h("iframe-input", { key: '0d353a3bc4c1ece3a5ff3aecc9aabf349d59bc90', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV?tabId=${this.tabId}` }))))));
|
|
57
57
|
}
|
|
58
58
|
};
|
|
59
59
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { p as packageJson } from './package-
|
|
2
|
-
import { A as Api } from './Api-
|
|
1
|
+
import { p as packageJson } from './package-CfQ5vkQ3.js';
|
|
2
|
+
import { A as Api } from './Api-CLZVsXZg.js';
|
|
3
3
|
import './ComponentError-Cjcsf8ku.js';
|
|
4
|
-
import './Plaid-
|
|
4
|
+
import './Plaid-Cmyilr-q.js';
|
|
5
5
|
import './Pagination-CLHwhyvu.js';
|
|
6
6
|
import './Business-BcNb9bVO.js';
|
|
7
7
|
import './Dispute-BH0Xfn-F.js';
|
|
@@ -89,6 +89,22 @@ class JustifiAnalytics {
|
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
+
const JUSTIFI_VERSION_KEY = '__JUSTIFI_WC_VERSION__';
|
|
93
|
+
const detectDuplicateVersion = () => {
|
|
94
|
+
if (typeof globalThis === 'undefined')
|
|
95
|
+
return;
|
|
96
|
+
const currentVersion = packageJson.version;
|
|
97
|
+
const existingVersion = globalThis[JUSTIFI_VERSION_KEY];
|
|
98
|
+
if (existingVersion && existingVersion !== currentVersion) {
|
|
99
|
+
console.error(`@justifi/webcomponents: Multiple versions detected. ` +
|
|
100
|
+
`Version ${existingVersion} was loaded first and registered all components. ` +
|
|
101
|
+
`Version ${currentVersion} is also present but its components will NOT be used. ` +
|
|
102
|
+
`To fix this, add to your package.json:\n` +
|
|
103
|
+
`"pnpm": { "overrides": { "@justifi/webcomponents": "${currentVersion}" } }`);
|
|
104
|
+
return;
|
|
105
|
+
}
|
|
106
|
+
globalThis[JUSTIFI_VERSION_KEY] = currentVersion;
|
|
107
|
+
};
|
|
92
108
|
const latestVersion = async (packageName) => {
|
|
93
109
|
const response = await fetch('https://registry.npmjs.org/' + packageName + '/latest');
|
|
94
110
|
const json = await response.json();
|
|
@@ -96,6 +112,7 @@ const latestVersion = async (packageName) => {
|
|
|
96
112
|
};
|
|
97
113
|
const checkPkgVersion = async () => {
|
|
98
114
|
var _a, _b;
|
|
115
|
+
detectDuplicateVersion();
|
|
99
116
|
// Skip version check in test environments to avoid async logs after tests complete
|
|
100
117
|
if (typeof process !== 'undefined' &&
|
|
101
118
|
(((_a = process.env) === null || _a === void 0 ? void 0 : _a.NODE_ENV) === 'test' || ((_b = process.env) === null || _b === void 0 ? void 0 : _b.JEST_WORKER_ID))) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as Api } from './Api-
|
|
1
|
+
import { A as Api } from './Api-CLZVsXZg.js';
|
|
2
2
|
import './ComponentError-Cjcsf8ku.js';
|
|
3
|
-
import './Plaid-
|
|
3
|
+
import './Plaid-Cmyilr-q.js';
|
|
4
4
|
import './Pagination-CLHwhyvu.js';
|
|
5
5
|
import './Business-BcNb9bVO.js';
|
|
6
6
|
import './Dispute-BH0Xfn-F.js';
|
|
@@ -2,16 +2,16 @@ import { r as registerInstance, c as createEvent, h } from './index-CV0Pyo1O.js'
|
|
|
2
2
|
import './config-state-kKn89dp1.js';
|
|
3
3
|
import './dinero-HXpYMWUU.js';
|
|
4
4
|
import './ComponentError-Cjcsf8ku.js';
|
|
5
|
-
import './Plaid-
|
|
5
|
+
import './Plaid-Cmyilr-q.js';
|
|
6
6
|
import { p as pagingDefaults } from './Pagination-CLHwhyvu.js';
|
|
7
7
|
import './Business-BcNb9bVO.js';
|
|
8
8
|
import './Dispute-BH0Xfn-F.js';
|
|
9
9
|
import { T as Table, a as TableComponent, b as TableHead, c as TableHeadRow, d as TableBody, e as TableLoadingState, f as TableEmptyState, g as TableErrorState, h as TableRow, i as TableFoot, j as TableFootRow, k as TableFootCell, l as TableWrapper } from './table-hHARNoRM.js';
|
|
10
10
|
import { T as TableClickActions } from './event-types-CZfYo5-1.js';
|
|
11
|
-
import { c as checkoutTableColumns, a as checkoutTableCells } from './checkouts-table-
|
|
11
|
+
import { c as checkoutTableColumns, a as checkoutTableCells } from './checkouts-table-C5aYyqpX.js';
|
|
12
12
|
import { o as onQueryParamsChange, g as getRequestParams } from './checkouts-list-params-state-CiGfmyWW.js';
|
|
13
13
|
import './index-cDVGjRkU.js';
|
|
14
|
-
import './utils-
|
|
14
|
+
import './utils-7bp92NC7.js';
|
|
15
15
|
import './parts-C4FLe2pT.js';
|
|
16
16
|
import './spinner-BfjGGaND.js';
|
|
17
17
|
import './badge-AZ7Z3PKH.js';
|
|
@@ -132,7 +132,7 @@ const CheckoutsListCore = class {
|
|
|
132
132
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
133
133
|
}
|
|
134
134
|
render() {
|
|
135
|
-
return (h(TableWrapper, { key: '
|
|
135
|
+
return (h(TableWrapper, { key: '54239d9ac3afe4d4594d523f9b84b5bf852190b7' }, h(TableComponent, { key: '0c466e435625f08326fc521690c055648a0d3a6e' }, h(TableHead, { key: '6ac0b1a9bf3d42eb5bac5910f341c84a75d15eaa' }, h(TableHeadRow, { key: '171cc43a933be88dcfe2385414d6368755a66a00' }, this.checkoutsTable.columnData.map((column) => column))), h(TableBody, { key: '238b814cfb2e27fa0ae0aee319da04fb7a9da477' }, h(TableLoadingState, { key: '3e73b173a14edea582ee06caa248dd31bf7e8971', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'cd2ec244aa3663f4255f245727790c30c28438f7', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: 'e2f458e70836a01cca79aa6e43c7d8a89bfa593d', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '97d1c34429fba943a752e9ece7348dd19d742c68' }, h(TableFootRow, { key: '252e8f76070a8a6a531c710cf36117a04625271a' }, h(TableFootCell, { key: 'a3fcfa5e6a90cac15348a387f65fa5b7ed2517f8', colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: 'e4fa2774647748fd12c3742b3dd078aee8fdf483', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
136
136
|
}
|
|
137
137
|
static get watchers() { return {
|
|
138
138
|
"pagingParams": ["updateOnPropChange"],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-CV0Pyo1O.js';
|
|
2
|
-
import { d as formatTime, e as formatDate } from './utils-
|
|
2
|
+
import { d as formatTime, e as formatDate } from './utils-7bp92NC7.js';
|
|
3
3
|
import { B as BadgeVariant, a as Badge } from './badge-AZ7Z3PKH.js';
|
|
4
4
|
import { V as tableHeadCell, W as getAlternateTableCellPart } from './parts-C4FLe2pT.js';
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as Api } from './Api-
|
|
1
|
+
import { A as Api } from './Api-CLZVsXZg.js';
|
|
2
2
|
import './ComponentError-Cjcsf8ku.js';
|
|
3
|
-
import './Plaid-
|
|
3
|
+
import './Plaid-Cmyilr-q.js';
|
|
4
4
|
import './Pagination-CLHwhyvu.js';
|
|
5
5
|
import './Business-BcNb9bVO.js';
|
|
6
6
|
import './Dispute-BH0Xfn-F.js';
|
|
@@ -37,7 +37,7 @@ const AdditionalQuestions = class {
|
|
|
37
37
|
render() {
|
|
38
38
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
39
39
|
const additionalQuestionsDefaultValue = this.formController.getInitialValues().additional_questions;
|
|
40
|
-
return (h(Host, { key: '
|
|
40
|
+
return (h(Host, { key: '825ad2a859cacac1b9ba7be60ade5f3bb108abee' }, h("fieldset", { key: 'be913775846b09d99c0c5809a93dfc2779bbae9c' }, h("legend", { key: '52db62eb99455247f317f3dfce9ed260139d9b92', part: heading2 }, "Additional Questions"), h("div", { key: '9bca42f1668874643cb2c46f3ac39df85fb0cc45', class: "row gy-3" }, h("div", { key: '4f5cfbb11109a00d5427096503bceeb443349925', class: "col-12 col-md-6" }, h("form-control-monetary-provisioning", { key: '8d467c76af23e7aaa0a437a6b8631f8966dd7c41', name: "business_revenue", label: "What is the business' estimated annual revenue from its primary business activities?", inputHandler: this.inputHandler, errorText: (_b = (_a = this.errors) === null || _a === void 0 ? void 0 : _a.additional_questions) === null || _b === void 0 ? void 0 : _b.business_revenue, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_revenue, maskOptions: CURRENCY_MASK.WHOLE })), h("div", { key: '4e5ed2a46af18734a97e498fe03d0b39b6d64895', class: "col-12 col-md-6" }, h("form-control-monetary-provisioning", { key: '5dac6143381928fa469e610a51c680dc2d6458ba', name: "business_payment_volume", label: "What is the business' annual credit card & ACH volume anticipated to process?", inputHandler: this.inputHandler, errorText: (_d = (_c = this.errors) === null || _c === void 0 ? void 0 : _c.additional_questions) === null || _d === void 0 ? void 0 : _d.business_payment_volume, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_payment_volume, maskOptions: CURRENCY_MASK.WHOLE })), h("div", { key: '7ffc0942f4aa7a28fe5cb647af3fb4d0fbdfb19f', class: "col-12" }, h("form-control-select", { key: 'dd323dcdb5152040737ad91715e5f1eba17afaed', name: 'business_when_service_received', label: 'On average, how long after paying will your customers typically receive their goods or services?', inputHandler: this.inputHandler, errorText: (_f = (_e = this.errors) === null || _e === void 0 ? void 0 : _e.additional_questions) === null || _f === void 0 ? void 0 : _f.business_when_service_received, options: businessServiceReceivedOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_when_service_received })), h("div", { key: 'f7d98dcddaee8beb583b7436007660012c856d06', class: "col-12" }, h("form-control-select", { key: 'c3dd0af43353221f0b6f34555afc6627eb6e4805', name: 'business_recurring_payments', label: 'Does your business offer recurring payments?', inputHandler: this.inputHandler, errorText: (_h = (_g = this.errors) === null || _g === void 0 ? void 0 : _g.additional_questions) === null || _h === void 0 ? void 0 : _h.business_recurring_payments, options: recurringPaymentsOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_recurring_payments })), h("div", { key: '6afac5b74ebf3f833f3a773c4c364ec805c827ee', class: "col-12" }, h("form-control-text", { key: '8730d4945250eaf2aee10e2eb2327876f98e07f3', name: 'business_recurring_payments_percentage', label: 'What percent of revenue is generated from each recurring payment type offered?', inputHandler: this.inputHandler, errorText: (_k = (_j = this.errors) === null || _j === void 0 ? void 0 : _j.additional_questions) === null || _k === void 0 ? void 0 : _k.business_recurring_payments_percentage, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_recurring_payments_percentage })), h("div", { key: '4e13389f89aad6598817c4a45e5a8125ae21b9a4', class: "col-12" }, h("form-control-select", { key: '5cb9f4af9b1a1a707f6110073356474397b46489', name: 'business_seasonal', label: 'Is this business seasonal?', inputHandler: this.inputHandler, errorText: (_m = (_l = this.errors) === null || _l === void 0 ? void 0 : _l.additional_questions) === null || _m === void 0 ? void 0 : _m.business_seasonal, options: seasonalBusinessOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_seasonal })), h("div", { key: '705affae85c29fe6d5270ad32a2af9bdeed9b6e9', class: "col-12" }, h("form-control-text", { key: '08807d448e5a4f1865a22d06d9e1e34d27bb5f5f', name: 'business_other_payment_details', label: 'Is there anything else you would like us to know about how your customers pay the business?', inputHandler: this.inputHandler, errorText: (_p = (_o = this.errors) === null || _o === void 0 ? void 0 : _o.additional_questions) === null || _p === void 0 ? void 0 : _p.business_other_payment_details, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_other_payment_details }))))));
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
43
|
|
|
@@ -61,10 +61,10 @@ const BusinessCoreInfo = class {
|
|
|
61
61
|
render() {
|
|
62
62
|
var _a, _b;
|
|
63
63
|
const coreInfoDefaultValue = this.formController.getInitialValues();
|
|
64
|
-
return (h(Host, { key: '
|
|
64
|
+
return (h(Host, { key: 'd60b250bd327a8f49ac2854ef90a50149952d91f' }, h("fieldset", { key: '99523dc8f944bbbd51fd1cd660fcd2908658a5b8' }, h("legend", { key: 'f709a73ed08970d75e83617d9d4927a33fc8bcc4', part: heading2 }, "General Info"), h("div", { key: '7519e5f5b18247f63010edb6b15994413a1349f1', class: "row gy-3" }, h("div", { key: 'd11c9b6bc5f91ed3c521eeee88ee866ec81cb363', class: "col-12" }, h("form-control-text", { key: '8d346946db7275e1f64c84019dc2e202be77f8f7', name: "legal_name", label: "Legal Name", defaultValue: coreInfoDefaultValue.legal_name, errorText: this.errors.legal_name, inputHandler: this.inputHandler })), h("div", { key: '4bdfff98f5652dfd22c04a4340b1ac882bf3ce65', class: "col-12" }, h("form-control-text", { key: '97055ec207286cb931e04f301fb6a0abef8e1085', name: "doing_business_as", label: "Doing Business As (DBA)", defaultValue: coreInfoDefaultValue.doing_business_as, errorText: this.errors.doing_business_as, inputHandler: this.inputHandler })), h("div", { key: 'aa43935a6d369a3f7c7fea36805fe2b15b908e06', class: "col-12 col-md-8" }, h("form-control-select", { key: 'fe958c7152cc3da4f33f666c4f57e692119fda18', name: "classification", label: "Business Classification", options: businessClassificationOptions, defaultValue: coreInfoDefaultValue.classification, errorText: this.errors.classification, inputHandler: this.inputHandler })), h("div", { key: 'c6c3233c998973732545d3f9623ee0e7f2606ead', class: "col-12 col-md-4" }, h("form-control-date", { key: 'a87ac87813b6fe6c84cafbda1977c4ba93741342', name: "date_of_incorporation", label: "Date of Incorporation", defaultValue: coreInfoDefaultValue.date_of_incorporation, errorText: this.errors.date_of_incorporation, inputHandler: this.inputHandler })), h("div", { key: '5046bf2e0c9e2bbc6bbb6c8809b7147acab1ee1f', class: "col-12 col-md-6" }, h("form-control-text", { key: '1771cd9caf5e29d4e03666e3cebed92dcdaa686a', name: "industry", label: "Industry", defaultValue: coreInfoDefaultValue.industry, errorText: this.errors.industry, inputHandler: this.inputHandler })), h("div", { key: '1a9beb47f729497275e15ad8d4910ad5b4c9951d', class: "col-12 col-md-6" }, (!((_a = this.coreInfo) === null || _a === void 0 ? void 0 : _a.tax_id_last4) || this.isEditingTaxId) ? (h("form-control-number-masked", { name: "tax_id", label: countryLabels[this.country].taxIdLabel, defaultValue: this.isEditingTaxId ? '' : coreInfoDefaultValue.tax_id, errorText: this.errors.tax_id, inputHandler: this.inputHandler, mask: IDENTITY_MASKS[this.country], helpText: countryLabels[this.country].taxIdHelpText })) : (h("div", null, h("label", { class: "form-label", part: label }, countryLabels[this.country].taxIdLabel), h("div", { class: "input-group mb-3" }, h("input", { type: "text", class: "form-control", part: inputDisabled, value: `****${(_b = this.coreInfo) === null || _b === void 0 ? void 0 : _b.tax_id_last4}`, disabled: true }), h("button", { class: "btn btn-secondary", type: "button", part: buttonSecondary, onClick: () => {
|
|
65
65
|
this.isEditingTaxId = true;
|
|
66
66
|
this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { tax_id: '' }));
|
|
67
|
-
} }, "Change"))))), h("div", { key: '
|
|
67
|
+
} }, "Change"))))), h("div", { key: '94b23160df7686b910628f02451c12a7752b72cd', class: "col-12" }, h("form-control-text", { key: '40faf5a4b4f9c8d21385ee078ed9f4aaa9f47583', name: "website_url", label: "Website URL", defaultValue: coreInfoDefaultValue.website_url, errorText: this.errors.website_url, inputHandler: this.inputHandler })), h("div", { key: '36a7c80684f7fb5259f3e9385393a2787bbd1516', class: "col-12 col-md-6" }, h("form-control-text", { key: 'a3bf801d4789e2b6328842b4bb1dfe8758f946b6', name: "email", label: "Email Address", defaultValue: coreInfoDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '437eeff1d27957a77b7bf4c9e4aa2fc4fa436867', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '0780f85cedacda3b8288ba54b5b40b86338ce877', name: "phone", label: "Phone Number", defaultValue: coreInfoDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US }))))));
|
|
68
68
|
}
|
|
69
69
|
};
|
|
70
70
|
|
|
@@ -98,11 +98,11 @@ const BusinessRepresentative = class {
|
|
|
98
98
|
render() {
|
|
99
99
|
var _a, _b;
|
|
100
100
|
const representativeDefaultValue = this.formController.getInitialValues().representative;
|
|
101
|
-
return (h(Host, { key: '
|
|
101
|
+
return (h(Host, { key: '23d11271b1ec0b5a36222cf972b3cbb94a436a99' }, h("fieldset", { key: '9062abcf81faf8c1bd136a7ad28ee9f21831b4fb' }, h("legend", { key: '61cf510c63cfe30278e1a07a0186a4feac0c31ec', part: heading2 }, "Representative"), h("div", { key: '431ab7681cc1dc022d251dd4caaf4fc6a7def9b1', class: "row gy-3" }, h("div", { key: 'd94add92e02afa9dbb7cc617fea60bd0bc37db9c', class: "col-12 col-md-8" }, h("form-control-text", { key: '2cdf16e8f5984de4db422fde0b0e353fb6029912', name: "name", label: "Full Name", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: 'cff4220ba8704a02a7f8642b562116ef63400bd8', class: "col-12 col-md-4" }, h("form-control-text", { key: '949b4eea179738a03ff0b9336e8325320da56473', name: "title", label: "Title", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.title, errorText: this.errors.title, inputHandler: this.inputHandler })), h("div", { key: 'dc21ee17586cce9b39a924df668ad9c5be1ab84b', class: "col-12 col-md-6" }, h("form-control-text", { key: '0470770dbe028c8247bd8405d68d4d1690b5e4e4', name: "email", label: "Email Address", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: 'dcbd23ab368e630ebaea9e8bdbb6985a98d5fbeb', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '6625e7fda86feabad127a97b7c06a40d19903b34', name: "phone", label: "Phone Number", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: '6f9df4495d3fea041a643eb6bb0560b1747b094a', class: "col-12 col-md-4" }, h("form-control-date", { key: 'a8c3cbc3d2c075e82e82c8fd4a123eade5a64e5c', name: "dob_full", label: "Birth Date", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: this.onDateOfBirthUpdate })), h("div", { key: 'a5be0388dbfa97375cedaf059e51b680170d806f', class: "col-12 col-md-8" }, (!((_a = this.representative) === null || _a === void 0 ? void 0 : _a.ssn_last4) || this.isEditingIdentification) ? (h("form-control-number-masked", { name: "identification_number", label: this.identificationNumberLabel, defaultValue: this.isEditingIdentification ? '' : representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: IDENTITY_MASKS[this.country], helpText: countryLabels[this.country].identityHelpText })) : (h("div", null, h("label", { class: "form-label", part: label }, this.identificationNumberLabel), h("div", { class: "input-group mb-3" }, h("input", { type: "text", class: "form-control", part: inputDisabled, value: `****${(_b = this.representative) === null || _b === void 0 ? void 0 : _b.ssn_last4}`, disabled: true }), h("button", { class: "btn btn-secondary", type: "button", part: buttonSecondary, onClick: () => {
|
|
102
102
|
this.isEditingIdentification = true;
|
|
103
103
|
// Clear last4 and current value to force validation
|
|
104
104
|
this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { representative: Object.assign(Object.assign({}, this.formController.values.getValue().representative), { ssn_last4: null, identification_number: '' }) }));
|
|
105
|
-
} }, "Change"))))), h("div", { key: '
|
|
105
|
+
} }, "Change"))))), h("div", { key: 'be522af99631fad573411bc5415fd6a712bc5486', class: "col-12" }, h("justifi-identity-address-form", { key: '145c76eb8c16fdd113dcd61faff219f852b22214', errors: this.errors.address, defaultValues: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate, country: this.country }))))));
|
|
106
106
|
}
|
|
107
107
|
};
|
|
108
108
|
|
|
@@ -122,7 +122,7 @@ const LegalAddressForm = class {
|
|
|
122
122
|
render() {
|
|
123
123
|
var _a;
|
|
124
124
|
const legalAddressDefaultValue = this.formController.getInitialValues().legal_address;
|
|
125
|
-
return (h(Host, { key: '
|
|
125
|
+
return (h(Host, { key: '11d54eb58574e9afdeed03b357f4c5b89752b48b' }, h("fieldset", { key: '3608fc95fb7d60fcd5485394fc1a8210f91d13a8' }, h("legend", { key: 'ffe6b8794039b1df22e0bd1775cf497edac543d7', part: heading2 }, "Business Legal Address"), h("justifi-form-address-fields", { key: '34adccfea54d0603d3e8899df048f3aab1b8b64c', country: this.country, errors: (_a = this.errors) === null || _a === void 0 ? void 0 : _a.legal_address, defaultValues: legalAddressDefaultValue, inputHandler: this.inputHandler }))));
|
|
126
126
|
}
|
|
127
127
|
};
|
|
128
128
|
|
|
@@ -40,10 +40,10 @@ const CheckboxInput = class {
|
|
|
40
40
|
return inputCheckbox;
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
|
-
return (h(Host, { key: '
|
|
43
|
+
return (h(Host, { key: '56962751d91674cfeb2716ba90bb9e9751ea4f66' }, h("div", { key: 'e3bb3cac2bf8ae03fc72558b3c00ef32ee56f61d', class: 'form-group d-flex flex-column' }, h("div", { key: '7be82e8be1da073c8f0e5ca7d609ce1d29c82c5e', class: "form-check" }, h("input", { key: 'f6b5f0ed365937feeb6ee0d885c55a27f21eaec0', ref: el => (this.checkboxElement = el), type: "checkbox", id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
44
44
|
this.isFocused = false;
|
|
45
45
|
this.formControlBlur.emit();
|
|
46
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, checked: this.checked }), h("label", { key: '
|
|
46
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, checked: this.checked }), h("label", { key: 'dda8703d86506cdd5a3b3549f3c54296830ff20f', class: "form-check-label", htmlFor: this.name, part: label }, this.label)), h(FormControlHelpText, { key: 'a4260e0cc463ad937128d46a3eb251191319473d', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: 'de41ad6865a3d0414fa850ee5439cc11abf31f4f', errorText: this.errorText, name: this.name }))));
|
|
47
47
|
}
|
|
48
48
|
};
|
|
49
49
|
|
|
@@ -66,10 +66,10 @@ const MonetaryInputProvisioning = class {
|
|
|
66
66
|
return part;
|
|
67
67
|
}
|
|
68
68
|
render() {
|
|
69
|
-
return (h(Host, { key: '
|
|
69
|
+
return (h(Host, { key: '7a72954c74f3cb31f92d565835de4aceb874a1b5' }, h("div", { key: 'e05612ec4b1b195a24f5a2d2a00ca5b284b4c2f7', class: "form-group d-flex flex-column" }, h("label", { key: 'ffabdebea58878f550cad78430783bcb8372f2c1', part: label, class: "form-label", htmlFor: this.name }, this.label), h("div", { key: '3593ef8b4adda873a7d6b1789253bc6e1748dcfc', class: "input-group" }, h("span", { key: 'b42f4a51f38451ee36fff437b3a60bd1292d6307', class: "input-group-text", part: inputAdornment }, "$"), h("input", { key: 'd49072c9c3653540fc8edca8a8dd86ad34bef902', ref: el => (this.textInput = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
70
70
|
this.isFocused = false;
|
|
71
71
|
this.formControlBlur.emit();
|
|
72
|
-
}, onInput: this.handleFormControlInput, part: this.inputPart, class: this.errorText ? 'form-control monetary is-invalid' : 'form-control monetary', type: "text", disabled: this.disabled })), h(FormControlHelpText, { key: '
|
|
72
|
+
}, onInput: this.handleFormControlInput, part: this.inputPart, class: this.errorText ? 'form-control monetary is-invalid' : 'form-control monetary', type: "text", disabled: this.disabled })), h(FormControlHelpText, { key: 'd714b88d923f5f38f1b66620c5513ce7c82a7ef0', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: '47b9d96f588785bb2597b16a685c18889e1945c1', errorText: this.errorText, name: this.name }))));
|
|
73
73
|
}
|
|
74
74
|
static get watchers() { return {
|
|
75
75
|
"defaultValue": ["handleDefaultValueChange"]
|
|
@@ -3,7 +3,7 @@ import { X as inputInvalid, Y as inputDisabled, Z as inputFocused, _ as input, $
|
|
|
3
3
|
import { F as FormControlHelpText } from './form-control-help-text-Dgnv4IId.js';
|
|
4
4
|
import { F as FormControlErrorText } from './form-control-error-text-xEskXF-M.js';
|
|
5
5
|
import './event-types-CZfYo5-1.js';
|
|
6
|
-
import { f as formatCurrency } from './utils-
|
|
6
|
+
import { f as formatCurrency } from './utils-7bp92NC7.js';
|
|
7
7
|
import './dinero-HXpYMWUU.js';
|
|
8
8
|
|
|
9
9
|
const MonetaryInput = class {
|
|
@@ -90,7 +90,7 @@ const FormAddressFields = class {
|
|
|
90
90
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
91
91
|
const labels = countryLabels[this.country];
|
|
92
92
|
const options = countryOptions[this.country];
|
|
93
|
-
return (h(Host, { key: '
|
|
93
|
+
return (h(Host, { key: '8dabbee93e0f319db333ada6c20af49ed6131b8d' }, h("div", { key: '4b308ca9fa92321e5f60f3e4d9ab1c4e60cbd703', class: "row gy-3" }, h("div", { key: '9c25eec2effd7caed70a3f02f6a780513fae930c', class: "col-12" }, h("form-control-text", { key: '6c2ae178c2122d1f6085906690adadf98cb0774b', name: "line1", label: "Street Address", inputHandler: this.inputHandler, defaultValue: (_a = this.defaultValues) === null || _a === void 0 ? void 0 : _a.line1, errorText: (_b = this.errors) === null || _b === void 0 ? void 0 : _b.line1, helpText: "No PO Boxes." })), h("div", { key: 'eba53a69fc4c869014ef8b7bf6ff9b1d8f5be566', class: "col-12" }, h("form-control-text", { key: '11c743ce2388173c41cb16f1865fe58b2015d6bb', name: "line2", label: "Address Line 2 (optional)", inputHandler: this.inputHandler, defaultValue: (_c = this.defaultValues) === null || _c === void 0 ? void 0 : _c.line2, errorText: (_d = this.errors) === null || _d === void 0 ? void 0 : _d.line2 })), h("div", { key: '2025c9bb15286f5c3e4693b596372a7dff730ce8', class: "col-12" }, h("form-control-text", { key: '5e0e40fd028d12b88cb15a38906738320e30aeca', name: "city", label: "City", inputHandler: this.inputHandler, defaultValue: (_e = this.defaultValues) === null || _e === void 0 ? void 0 : _e.city, errorText: (_f = this.errors) === null || _f === void 0 ? void 0 : _f.city })), h("div", { key: '5ec53f357907749c9abdcf568c027b71faad19fa', class: "col-12" }, h("form-control-select", { key: 'b9eef22eb507ffbd58c26bffa41b5b225925297c', name: "state", label: labels.stateLabel, options: options.stateOptions, inputHandler: this.inputHandler, defaultValue: (_g = this.defaultValues) === null || _g === void 0 ? void 0 : _g.state, errorText: (_h = this.errors) === null || _h === void 0 ? void 0 : _h.state })), h("div", { key: '7456cd4f6b62b59bc9289ca3721440083e9aa4f3', class: "col-12" }, h("form-control-text", { key: 'c483c93d0f09d5ded3c11145216273ba75822009', name: "postal_code", label: labels.postalLabel, inputHandler: this.inputHandler, defaultValue: (_j = this.defaultValues) === null || _j === void 0 ? void 0 : _j.postal_code, errorText: (_k = this.errors) === null || _k === void 0 ? void 0 : _k.postal_code, maxLength: this.country === CountryCode.USA ? 5 : 7, keyDownHandler: this.country === CountryCode.USA ? numberOnlyHandler : undefined })))));
|
|
94
94
|
}
|
|
95
95
|
};
|
|
96
96
|
|
|
@@ -107,7 +107,7 @@ const IdentityAddressForm = class {
|
|
|
107
107
|
this.handleFormUpdate(newValues);
|
|
108
108
|
}
|
|
109
109
|
render() {
|
|
110
|
-
return (h(Host, { key: '
|
|
110
|
+
return (h(Host, { key: '1b644425472c68880a9be150d52029a64d75ea26' }, h("justifi-form-address-fields", { key: 'd5e95bc81c654d00a0fcac4760705bd21b3b8c8d', country: this.country, errors: this.errors, defaultValues: this.defaultValues, inputHandler: this.inputHandler })));
|
|
111
111
|
}
|
|
112
112
|
static get watchers() { return {
|
|
113
113
|
"address": ["handleAddressChange"]
|