@justifi/webcomponents 6.9.0 → 6.9.1-rc.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/dist/cjs/{Api-CVbEWBG6.js → Api-Bp3jtSK2.js} +1 -1
- package/dist/cjs/{Business-CB8EVrhD.js → Business-oBifyXkW.js} +3 -31
- package/dist/cjs/{Plaid-DxPvVu0H.js → Plaid-DB_gUhoy.js} +3 -295
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -3
- package/dist/cjs/{badge-xJttyTNv.js → badge-Cl6qJPK_.js} +1 -1
- package/dist/cjs/bank-account-document-form-inputs_9.cjs.entry.js +22 -23
- package/dist/cjs/bank-account-form.cjs.entry.js +5 -5
- package/dist/cjs/{business-additional-questions-schema-Cnh6AXQU.js → business-additional-questions-schema-DSMQTU1W.js} +3 -3
- package/dist/cjs/business-details-core.cjs.entry.js +3 -3
- package/dist/cjs/{business-form-options-B3CbEmdc.js → business-form-options-D_nM7NDk.js} +1 -1
- package/dist/cjs/{business-identity-schema-0jg2Thn9.js → business-identity-schema-Ds1cJOr9.js} +2 -2
- package/dist/cjs/{business.service-zGEitIbP.js → business.service-Cz5Mw8or.js} +3 -3
- package/dist/cjs/{button-BlYRmuPs.js → button-Cr3iHpyf.js} +1 -1
- package/dist/cjs/card-form.cjs.entry.js +5 -5
- package/dist/cjs/{check-pkg-version-DYPDNKpa.js → check-pkg-version-CjIXCBRy.js} +4 -4
- package/dist/cjs/{checkout.service-DT13pWxH.js → checkout.service-BhUfe1za.js} +3 -3
- package/dist/cjs/checkout.store-zTfjieKa.js +111 -0
- package/dist/cjs/checkouts-list-core.cjs.entry.js +9 -10
- package/dist/cjs/{checkouts-table-sE8amz4g.js → checkouts-table-BY52AnEw.js} +3 -3
- package/dist/cjs/{country-config-ETD-7Wb7.js → country-config-D7fss2oF.js} +1 -1
- package/dist/cjs/custom-popper_2.cjs.entry.js +3 -3
- package/dist/cjs/{dispute.service-GDUl1Wjs.js → dispute.service-C4UxnT-i.js} +3 -3
- package/dist/cjs/form-alert_5.cjs.entry.js +10 -10
- package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/form-control-date.cjs.entry.js +4 -4
- package/dist/cjs/{form-control-error-text-DukLkr-1.js → form-control-error-text-6-HeM6bw.js} +1 -1
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
- package/dist/cjs/{form-control-help-text-BylrKCQO.js → form-control-help-text-D0LaZkGk.js} +1 -1
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +5 -5
- package/dist/cjs/form-control-monetary.cjs.entry.js +6 -6
- package/dist/cjs/form-control-number-masked_3.cjs.entry.js +8 -8
- package/dist/cjs/form-control-number_3.cjs.entry.js +15 -15
- package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
- package/dist/cjs/form-control-select_2.cjs.entry.js +4 -4
- package/dist/cjs/{get-business-CP0ALW9n.js → get-business-DF-XBH8G.js} +1 -1
- package/dist/cjs/{get-payment-details-IA5Toi7Z.js → get-payment-details-r0afJz4u.js} +2 -2
- package/dist/cjs/{get-subaccounts-DiGMPvU0.js → get-subaccounts-D0vg5CC5.js} +3 -3
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +4 -4
- package/dist/cjs/{header-1-BHbPS-jr.js → header-1-BOijdmPN.js} +1 -1
- package/dist/cjs/{header-3-DEAkFNHs.js → header-3-FeTJjrR1.js} +1 -1
- package/dist/cjs/hidden-input_2.cjs.entry.js +7 -7
- package/dist/cjs/{input-handlers-gV1LyFy3.js → input-handlers-_51J5q7J.js} +1 -1
- package/dist/cjs/{insurance-state-C2diJME7.js → insurance-state-DIV_moDI.js} +1 -1
- package/dist/cjs/internal-tokenize-payment-method_7.cjs.entry.js +25 -24
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +17 -18
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +1 -1
- package/dist/cjs/justifi-apple-pay_8.cjs.entry.js +210 -810
- package/dist/cjs/justifi-bank-account-billing-form-simple_3.cjs.entry.js +8 -8
- package/dist/cjs/justifi-business-details.cjs.entry.js +10 -11
- package/dist/cjs/justifi-business-form.cjs.entry.js +16 -17
- package/dist/cjs/justifi-checkout.cjs.entry.js +18 -17
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +6 -7
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +12 -13
- package/dist/cjs/justifi-details.cjs.entry.js +3 -3
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +7 -8
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +10 -11
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +8 -9
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +12 -13
- package/dist/cjs/justifi-payment-details.cjs.entry.js +10 -11
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +5 -5
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +29 -23
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +11 -12
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +15 -4
- package/dist/cjs/justifi-payments-list.cjs.entry.js +12 -13
- package/dist/cjs/justifi-payout-details.cjs.entry.js +9 -10
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +11 -12
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +22 -4
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +13 -14
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +11 -12
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +2 -2
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +13 -12
- package/dist/cjs/justifi-skeleton.cjs.entry.js +3 -3
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +6 -7
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +10 -11
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +5 -6
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +12 -13
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-BvYokEHF.js → package-CjrDwZ1_.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +4 -4
- package/dist/cjs/{parts-DtJdaXeM.js → parts-C0AyF3nd.js} +8 -0
- package/dist/cjs/payment-details-core.cjs.entry.js +16 -17
- package/dist/cjs/payment-method-option.cjs.entry.js +2 -2
- package/dist/cjs/{payment-provisioning-loading-hyJJ0bBW.js → payment-provisioning-loading-CbcFPETB.js} +1 -1
- package/dist/cjs/{payment.service-QODfB293.js → payment.service-Caa1AMvr.js} +3 -3
- package/dist/cjs/payments-list-core.cjs.entry.js +11 -11
- package/dist/cjs/{payments-status-WKcRbqRT.js → payments-status-EZ95BQex.js} +1 -1
- package/dist/cjs/{payments-table-DayHhWCE.js → payments-table-C4EdksTV.js} +3 -3
- package/dist/cjs/payout-details-core.cjs.entry.js +10 -10
- package/dist/cjs/{payout.service-k7GBuYzk.js → payout.service-sSIuVYJ3.js} +3 -3
- package/dist/cjs/payouts-list-core.cjs.entry.js +10 -11
- package/dist/cjs/{payouts-status-DXeHIDMX.js → payouts-status-D1IbE3-c.js} +1 -1
- package/dist/cjs/{payouts-table-B1ShNA4P.js → payouts-table-BJNUv0WA.js} +3 -3
- package/dist/cjs/{plaid-icon-DTpONc_Q.js → plaid-icon-JDI0tO2m.js} +3 -3
- package/dist/cjs/{schema-validations-BakyfJpE.js → schema-validations-CDAKixyQ.js} +3 -3
- package/dist/cjs/{skeleton-B-Otnf5t.js → skeleton-C9Aio7v_.js} +1 -1
- package/dist/cjs/{spinner-B1rgGfdc.js → spinner-oLSXKwxU.js} +1 -1
- package/dist/cjs/{table-CNGkG0a8.js → table-CEW0_wq-.js} +2 -2
- package/dist/cjs/table-filters-menu.cjs.entry.js +2 -2
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +9 -10
- package/dist/cjs/{terminal-orders-table-Aj4dJNdG.js → terminal-orders-table-B-79Vr6S.js} +5 -5
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
- package/dist/cjs/{terminal.service-A90K3XNq.js → terminal.service-jNz6aX1i.js} +3 -3
- package/dist/cjs/terminals-list-core.cjs.entry.js +9 -10
- package/dist/cjs/{terminals-table-aQQov5qX.js → terminals-table-BF0epngC.js} +3 -3
- package/dist/cjs/{utils-cLBudEdA.js → utils-Vwo0VR7n.js} +1 -1
- package/dist/cjs/{utils-D4WPxuzW.js → utils-Xm42fjFZ.js} +106 -0
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/Business.js +3 -31
- package/dist/collection/api/index.js +0 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +7 -6
- 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 +8 -7
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +7 -6
- 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 +8 -7
- 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-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-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.js +23 -15
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.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 +2 -3
- 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 +115 -499
- package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/summary.js +1 -1
- package/dist/collection/components/order-terminals/order-terminals.js +1 -1
- package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
- package/dist/collection/components/payment-details/payment-details-core.js +8 -8
- package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
- package/dist/collection/components/payments-list/payments-list-core.js +2 -1
- package/dist/collection/components/payments-list/payments-list-filters.js +71 -3
- package/dist/collection/components/payments-list/payments-list.js +1 -1
- package/dist/collection/components/payout-details/payout-details-core.js +3 -3
- package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-filters.js +35 -3
- package/dist/collection/components/payouts-list/payouts-list.js +1 -1
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
- package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list.js +1 -1
- package/dist/collection/components/tokenize-payment-method/internal-tokenize-payment-method.js +3 -4
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +5 -10
- package/dist/collection/styles/parts.js +4 -0
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- 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-control-date.js +2 -2
- package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
- package/dist/collection/ui-components/form/form-control-file.js +2 -2
- package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
- package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
- package/dist/collection/ui-components/form/form-control-number.js +2 -2
- package/dist/collection/ui-components/form/form-control-radio.js +2 -2
- package/dist/collection/ui-components/form/form-control-text.js +2 -2
- package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
- package/dist/collection/ui-components/form/hidden-input.js +1 -1
- package/dist/collection/ui-components/form/iframe-input.js +3 -3
- package/dist/collection/ui-components/pagination-menu/pagination-menu.js +3 -3
- package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-radio-list-item.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
- package/dist/collection/utils/utils.js +14 -0
- package/dist/docs.json +148 -537
- package/dist/esm/{Api-ohkSjyhl.js → Api-DTLHOAbP.js} +1 -1
- package/dist/esm/{Business-GgW1g7FQ.js → Business-BcNb9bVO.js} +3 -31
- package/dist/esm/{Plaid-CBrksnBN.js → Plaid-4KgZeVz6.js} +2 -286
- package/dist/esm/additional-questions-details_5.entry.js +3 -3
- package/dist/esm/{badge-C1EiQTzO.js → badge-AZ7Z3PKH.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_9.entry.js +22 -23
- package/dist/esm/bank-account-form.entry.js +5 -5
- package/dist/esm/{business-additional-questions-schema-CQ8CuEfQ.js → business-additional-questions-schema-BOmaLaX-.js} +3 -3
- package/dist/esm/business-details-core.entry.js +3 -3
- package/dist/esm/{business-form-options-DamBLV7N.js → business-form-options-DRalxlqN.js} +1 -1
- package/dist/esm/{business-identity-schema-BTyJz7M9.js → business-identity-schema-M_EirLHo.js} +2 -2
- package/dist/esm/{business.service-BWm7Kqs4.js → business.service-BUqlnFDc.js} +3 -3
- package/dist/esm/{button-BcuzSsnr.js → button-DOkTCYSa.js} +1 -1
- package/dist/esm/card-form.entry.js +5 -5
- package/dist/esm/{check-pkg-version-DU70zoMs.js → check-pkg-version-CZI1PwGp.js} +4 -4
- package/dist/esm/{checkout.service-D4Mljqjr.js → checkout.service-Biz7SQlj.js} +3 -3
- package/dist/esm/checkout.store-iNkW80yV.js +105 -0
- package/dist/esm/checkouts-list-core.entry.js +9 -10
- package/dist/esm/{checkouts-table-BPrSrgLm.js → checkouts-table-CJHeGiIb.js} +3 -3
- package/dist/esm/{country-config-D-9YmU94.js → country-config-P042rrI3.js} +1 -1
- package/dist/esm/custom-popper_2.entry.js +3 -3
- package/dist/esm/{dispute.service-ZpqfPDC0.js → dispute.service-vbHc3EuA.js} +3 -3
- package/dist/esm/form-alert_5.entry.js +10 -10
- package/dist/esm/form-control-checkbox.entry.js +5 -5
- package/dist/esm/form-control-date.entry.js +4 -4
- package/dist/esm/{form-control-error-text-BEfFiFoH.js → form-control-error-text-xEskXF-M.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +5 -5
- package/dist/esm/{form-control-help-text-CC-MQWel.js → form-control-help-text-Dgnv4IId.js} +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +5 -5
- package/dist/esm/form-control-monetary.entry.js +6 -6
- package/dist/esm/form-control-number-masked_3.entry.js +8 -8
- package/dist/esm/form-control-number_3.entry.js +15 -15
- package/dist/esm/form-control-radio.entry.js +3 -3
- package/dist/esm/form-control-select_2.entry.js +4 -4
- package/dist/esm/{get-business-BMB2IxN_.js → get-business-BtJWpVs_.js} +1 -1
- package/dist/esm/{get-payment-details-B71Qi6mF.js → get-payment-details-vuAQFTzs.js} +2 -2
- package/dist/esm/{get-subaccounts-BYnEN5xd.js → get-subaccounts-DD38mpGM.js} +3 -3
- package/dist/esm/gross-payment-chart-core.entry.js +4 -4
- package/dist/esm/{header-1-BhMrVhZJ.js → header-1-xlSavD5o.js} +1 -1
- package/dist/esm/{header-3-D4YKnb9t.js → header-3-egutsoDI.js} +1 -1
- package/dist/esm/hidden-input_2.entry.js +7 -7
- package/dist/esm/{input-handlers-CzWCJ849.js → input-handlers-1lVyzImK.js} +1 -1
- package/dist/esm/{insurance-state-DTR-V07V.js → insurance-state-jZTKdt60.js} +1 -1
- package/dist/esm/internal-tokenize-payment-method_7.entry.js +14 -13
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +17 -18
- package/dist/esm/justifi-additional-statement_8.entry.js +1 -1
- package/dist/esm/justifi-apple-pay_8.entry.js +114 -714
- package/dist/esm/justifi-bank-account-billing-form-simple_3.entry.js +8 -8
- package/dist/esm/justifi-business-details.entry.js +10 -11
- package/dist/esm/justifi-business-form.entry.js +16 -17
- package/dist/esm/justifi-checkout.entry.js +11 -10
- package/dist/esm/justifi-checkouts-list-filters.entry.js +6 -7
- package/dist/esm/justifi-checkouts-list.entry.js +12 -13
- package/dist/esm/justifi-details.entry.js +3 -3
- package/dist/esm/justifi-dispute-management.entry.js +7 -8
- package/dist/esm/justifi-dispute-notification_3.entry.js +10 -11
- package/dist/esm/justifi-gross-payment-chart.entry.js +8 -9
- package/dist/esm/justifi-order-terminals.entry.js +12 -13
- package/dist/esm/justifi-payment-details.entry.js +10 -11
- package/dist/esm/justifi-payment-provisioning-core.entry.js +5 -5
- package/dist/esm/justifi-payment-provisioning.entry.js +29 -23
- package/dist/esm/justifi-payment-transactions-list.entry.js +11 -12
- package/dist/esm/justifi-payments-list-filters.entry.js +15 -4
- package/dist/esm/justifi-payments-list.entry.js +12 -13
- package/dist/esm/justifi-payout-details.entry.js +9 -10
- package/dist/esm/justifi-payout-transactions-list.entry.js +11 -12
- package/dist/esm/justifi-payouts-list-filters.entry.js +22 -4
- package/dist/esm/justifi-payouts-list.entry.js +13 -14
- package/dist/esm/justifi-refund-payment.entry.js +11 -12
- package/dist/esm/justifi-saved-payment-method.entry.js +2 -2
- package/dist/esm/justifi-season-interruption-insurance.entry.js +10 -9
- package/dist/esm/justifi-skeleton.entry.js +3 -3
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +6 -7
- package/dist/esm/justifi-terminal-orders-list.entry.js +10 -11
- package/dist/esm/justifi-terminals-list-filters.entry.js +5 -6
- package/dist/esm/justifi-terminals-list.entry.js +12 -13
- package/dist/esm/justifi-tokenize-payment-method.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-Cnc2WKdS.js → package-CbOhX1R1.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +4 -4
- package/dist/esm/{parts-fTIONWal.js → parts-C4FLe2pT.js} +5 -1
- package/dist/esm/payment-details-core.entry.js +16 -17
- package/dist/esm/payment-method-option.entry.js +2 -2
- package/dist/esm/{payment-provisioning-loading-C5aC-7Xf.js → payment-provisioning-loading-D_VKtlLm.js} +1 -1
- package/dist/esm/{payment.service-C2lFq1yV.js → payment.service-DH_pKHdp.js} +3 -3
- package/dist/esm/payments-list-core.entry.js +11 -11
- package/dist/esm/{payments-status-ChFodVw0.js → payments-status-D4XkcfLU.js} +1 -1
- package/dist/esm/{payments-table-DHYfybe9.js → payments-table-CeWcDUam.js} +3 -3
- package/dist/esm/payout-details-core.entry.js +10 -10
- package/dist/esm/{payout.service-ChupMPKT.js → payout.service-rnQOd5Tm.js} +3 -3
- package/dist/esm/payouts-list-core.entry.js +10 -11
- package/dist/esm/{payouts-status-BFp0DBRt.js → payouts-status-BR1vd6-D.js} +1 -1
- package/dist/esm/{payouts-table-CPFbykKY.js → payouts-table-DeAdGsCH.js} +3 -3
- package/dist/esm/{plaid-icon-wJLd-2NX.js → plaid-icon-HuYeMyv2.js} +3 -3
- package/dist/esm/{schema-validations-CfHWzMvr.js → schema-validations-aBXPWENt.js} +3 -3
- package/dist/esm/{skeleton-C0UU9Mei.js → skeleton-C162KC3u.js} +1 -1
- package/dist/esm/{spinner-CkUdH9X9.js → spinner-BfjGGaND.js} +1 -1
- package/dist/esm/table-filters-menu.entry.js +2 -2
- package/dist/esm/{table-DiZqpIWv.js → table-hHARNoRM.js} +2 -2
- package/dist/esm/terminal-orders-list-core.entry.js +9 -10
- package/dist/esm/{terminal-orders-table-BwGEq9On.js → terminal-orders-table-DNLwQbfo.js} +5 -5
- package/dist/esm/terminal-quantity-selector.entry.js +2 -2
- package/dist/esm/{terminal.service-DqibXFHt.js → terminal.service-CeWqP59G.js} +3 -3
- package/dist/esm/terminals-list-core.entry.js +9 -10
- package/dist/esm/{terminals-table-BeYpMiBC.js → terminals-table-Ct1DZaR0.js} +3 -3
- package/dist/esm/{utils-DBWsd4R9.js → utils-BSpK1eMX.js} +1 -1
- package/dist/esm/{utils-CDaVtz_6.js → utils-D08l50KN.js} +106 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Analytics.js +0 -1
- package/dist/module/Business.js +3 -31
- package/dist/module/Plaid.js +1 -1
- 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 -2
- 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-bank-account-form-step.js +1 -2
- package/dist/module/business-core-info.js +2 -2
- 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 -2
- package/dist/module/business.service.js +0 -1
- package/dist/module/card-billing-form-simple.js +1 -1
- package/dist/module/card-form.js +2 -2
- package/dist/module/checkout.service.js +0 -1
- package/dist/module/checkouts-list-core2.js +1 -2
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/details.js +1 -1
- package/dist/module/dispute-response-actions.js +0 -1
- package/dist/module/form-address-fields.js +1 -1
- package/dist/module/form-control-checkbox2.js +2 -2
- package/dist/module/form-control-date2.js +2 -2
- package/dist/module/form-control-file-v22.js +1 -1
- package/dist/module/form-control-file2.js +2 -2
- package/dist/module/form-control-monetary-provisioning2.js +2 -2
- package/dist/module/form-control-monetary2.js +2 -2
- package/dist/module/form-control-number-masked2.js +2 -2
- package/dist/module/form-control-number2.js +2 -2
- package/dist/module/form-control-radio2.js +2 -2
- package/dist/module/form-control-text2.js +2 -2
- package/dist/module/form-control-textarea2.js +2 -2
- package/dist/module/get-payment-details.js +0 -1
- package/dist/module/get-subaccounts.js +0 -1
- package/dist/module/google-pay.js +102 -721
- package/dist/module/gross-payment-chart-core2.js +1 -1
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/identity-address-form.js +1 -1
- package/dist/module/iframe-input2.js +3 -3
- package/dist/module/internal-tokenize-payment-method2.js +1 -2
- package/dist/module/justifi-business-form.js +0 -1
- package/dist/module/justifi-button2.js +1 -1
- package/dist/module/justifi-checkout.js +2 -2
- package/dist/module/justifi-checkouts-list-filters.js +2 -3
- package/dist/module/justifi-checkouts-list.js +2 -3
- package/dist/module/justifi-gross-payment-chart.js +0 -1
- package/dist/module/justifi-header2.js +1 -1
- package/dist/module/justifi-order-terminals.js +3 -4
- package/dist/module/justifi-payment-provisioning.js +23 -16
- package/dist/module/justifi-payment-transactions-list.js +2 -3
- package/dist/module/justifi-payments-list-filters.js +17 -3
- package/dist/module/justifi-payments-list.js +1 -2
- package/dist/module/justifi-payout-details.js +1 -2
- package/dist/module/justifi-payout-transactions-list.js +2 -3
- package/dist/module/justifi-payouts-list-filters.js +31 -7
- package/dist/module/justifi-payouts-list.js +2 -3
- package/dist/module/justifi-radio-list-item2.js +1 -1
- package/dist/module/justifi-refund-payment.js +1 -2
- package/dist/module/justifi-saved-payment-method.js +1 -1
- package/dist/module/justifi-season-interruption-insurance.js +1 -2
- package/dist/module/justifi-skeleton.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +4 -5
- package/dist/module/justifi-terminal-orders-list.js +2 -3
- package/dist/module/justifi-terminals-list-filters.js +3 -4
- package/dist/module/justifi-terminals-list.js +2 -3
- package/dist/module/justifi-tokenize-payment-method.js +1 -1
- package/dist/module/legal-address-form.js +2 -2
- package/dist/module/modular-checkout.js +0 -1
- 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/parts.js +5 -1
- package/dist/module/payment-details-core2.js +8 -9
- package/dist/module/payment-method-option.js +1 -1
- package/dist/module/payment-provisioning-form-buttons.js +1 -1
- package/dist/module/payment-provisioning-form-steps.js +1 -1
- package/dist/module/payment.service.js +0 -1
- package/dist/module/payments-list-core2.js +2 -2
- package/dist/module/payout-details-core2.js +3 -3
- package/dist/module/payout.service.js +0 -1
- package/dist/module/payouts-list-core2.js +1 -2
- package/dist/module/plaid.service.js +0 -1
- package/dist/module/save-new-payment-method.js +1 -1
- package/dist/module/summary.js +1 -1
- package/dist/module/table.js +1 -1
- package/dist/module/terminal-orders-list-core2.js +2 -3
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/terminal.service.js +0 -1
- package/dist/module/terminals-list-core2.js +2 -3
- package/dist/module/utils2.js +106 -1
- package/dist/types/api/Business.d.ts +10 -10
- package/dist/types/api/Payment.d.ts +3 -0
- package/dist/types/api/Payout.d.ts +1 -0
- package/dist/types/api/index.d.ts +0 -1
- package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.d.ts +5 -5
- 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 +19 -49
- package/dist/types/components/payments-list/payments-list-filters.d.ts +7 -0
- package/dist/types/components/payouts-list/payouts-list-filters.d.ts +5 -0
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +1 -1
- package/dist/types/components.d.ts +41 -120
- package/dist/types/styles/parts.d.ts +4 -0
- package/dist/types/utils/utils.d.ts +1 -0
- package/dist/webcomponents/p--Kvji7o2.js +1 -0
- package/dist/webcomponents/{p-Y-EhaLdV.js → p--wa_2SG9.js} +1 -1
- package/dist/webcomponents/p-031a3b85.entry.js +1 -0
- package/dist/webcomponents/p-05bf6f64.entry.js +1 -0
- package/dist/webcomponents/p-05d11c40.entry.js +1 -0
- package/dist/webcomponents/p-0ce755a3.entry.js +1 -0
- package/dist/webcomponents/p-108fc8fc.entry.js +1 -0
- package/dist/webcomponents/p-10f840fc.entry.js +1 -0
- package/dist/webcomponents/p-1b973781.entry.js +1 -0
- package/dist/webcomponents/p-1ecce619.entry.js +1 -0
- package/dist/webcomponents/p-234233bd.entry.js +1 -0
- package/dist/webcomponents/p-28334844.entry.js +1 -0
- package/dist/webcomponents/{p-3cc40df9.entry.js → p-2d39358b.entry.js} +1 -1
- package/dist/webcomponents/p-303c2b00.entry.js +1 -0
- package/dist/webcomponents/p-382f7f5e.entry.js +1 -0
- package/dist/webcomponents/p-38dcc482.entry.js +1 -0
- package/dist/webcomponents/p-40be2abf.entry.js +1 -0
- package/dist/webcomponents/p-463ba2e5.entry.js +1 -0
- package/dist/webcomponents/p-5120da66.entry.js +1 -0
- package/dist/webcomponents/{p-90240aa6.entry.js → p-52988183.entry.js} +1 -1
- package/dist/webcomponents/p-5c7a4c5d.entry.js +1 -0
- package/dist/webcomponents/{p-CBiNYzSf.js → p-5mt2ek0H.js} +1 -1
- package/dist/webcomponents/{p-4301e975.entry.js → p-64bb17f7.entry.js} +1 -1
- package/dist/webcomponents/{p-ab89e764.entry.js → p-676bbeb5.entry.js} +1 -1
- package/dist/webcomponents/{p-CWyW004b.js → p-6EQtYg98.js} +1 -1
- package/dist/webcomponents/p-6a0c47c7.entry.js +1 -0
- package/dist/webcomponents/p-6e84725b.entry.js +1 -0
- package/dist/webcomponents/p-708cb37d.entry.js +1 -0
- package/dist/webcomponents/p-73df3099.entry.js +1 -0
- package/dist/webcomponents/{p-8f29877f.entry.js → p-7e14f6ac.entry.js} +1 -1
- package/dist/webcomponents/{p-3fc100b7.entry.js → p-808bf425.entry.js} +1 -1
- package/dist/webcomponents/p-86c74415.entry.js +1 -0
- package/dist/webcomponents/{p-2e1e489f.entry.js → p-8a8a2e10.entry.js} +1 -1
- package/dist/webcomponents/p-8fdf5660.entry.js +1 -0
- package/dist/webcomponents/p-90f807e7.entry.js +1 -0
- package/dist/webcomponents/p-95b42970.entry.js +1 -0
- package/dist/webcomponents/{p-88eb0648.entry.js → p-95dd1412.entry.js} +1 -1
- package/dist/webcomponents/p-960c2c6f.entry.js +1 -0
- package/dist/webcomponents/p-98bf0cfb.entry.js +1 -0
- package/dist/webcomponents/p-ABUL3rRn.js +1 -0
- package/dist/webcomponents/p-B2dyhwDq.js +1 -0
- package/dist/webcomponents/{p-GgW1g7FQ.js → p-BcNb9bVO.js} +1 -1
- package/dist/webcomponents/{p-Bfu8Pqrd.js → p-BlXjEymw.js} +1 -1
- package/dist/webcomponents/{p-y8av3w9x.js → p-BlyTcLL_.js} +1 -1
- package/dist/webcomponents/p-BoO2BHR_.js +1 -0
- package/dist/webcomponents/{p-BZbvHgMz.js → p-Bt4GjEWL.js} +1 -1
- package/dist/webcomponents/p-BtFe5yQU.js +1 -0
- package/dist/webcomponents/{p--afWnVJc.js → p-C3kbpEIZ.js} +1 -1
- package/dist/webcomponents/p-C4FLe2pT.js +1 -0
- package/dist/webcomponents/{p-D6D_29Tw.js → p-C6GGU0xz.js} +1 -1
- package/dist/webcomponents/p-C6o0liMT.js +1 -0
- package/dist/webcomponents/{p-ygekUw3Q.js → p-CCqnAJz7.js} +1 -1
- package/dist/webcomponents/{p-B09GVew-.js → p-CE85O0Lk.js} +1 -1
- package/dist/webcomponents/p-CI11WF1E.js +1 -0
- package/dist/webcomponents/{p-g0kDRH6Z.js → p-CMqX6btO.js} +1 -1
- package/dist/webcomponents/{p-By-Mu1IX.js → p-CNqhJq0U.js} +1 -1
- package/dist/webcomponents/p-CbOhX1R1.js +1 -0
- package/dist/webcomponents/{p-DSlxs7BR.js → p-ChplphEP.js} +1 -1
- package/dist/webcomponents/{p-DKemQxaE.js → p-D3sBnuT0.js} +1 -1
- package/dist/webcomponents/p-D8LR-wfI.js +1 -0
- package/dist/webcomponents/p-DAZtHA62.js +1 -0
- package/dist/webcomponents/{p-YiF4YKVz.js → p-DFiTyYE9.js} +1 -1
- package/dist/webcomponents/{p-m_Ly-YPk.js → p-DK2dYSfn.js} +1 -1
- package/dist/webcomponents/p-DLuCaZKz.js +1 -0
- package/dist/webcomponents/{p-lDnX3HTT.js → p-DO4RBao8.js} +1 -1
- package/dist/webcomponents/{p-DowKbhRa.js → p-DPe-NMaf.js} +1 -1
- package/dist/webcomponents/{p--cI8fPJx.js → p-DVkAKcyF.js} +1 -1
- package/dist/webcomponents/{p-ShBqgGPM.js → p-DZCi07iw.js} +1 -1
- package/dist/webcomponents/p-Daew0gTO.js +1 -0
- package/dist/webcomponents/{p-BRPbLfCN.js → p-DelrHXqf.js} +1 -1
- package/dist/webcomponents/p-DqVU8ohH.js +1 -0
- package/dist/webcomponents/p-DsT0m0mo.js +1 -0
- package/dist/webcomponents/p-DyETkJs3.js +1 -0
- package/dist/webcomponents/p-EaBIgUj8.js +1 -0
- package/dist/webcomponents/{p-B2v3zyF0.js → p-HfLk4CG0.js} +1 -1
- package/dist/webcomponents/{p-B1AMrMly.js → p-_-2E_vYf.js} +1 -1
- package/dist/webcomponents/{p-5d13c0c0.entry.js → p-a105de67.entry.js} +1 -1
- package/dist/webcomponents/p-a5bb5dd8.entry.js +1 -0
- package/dist/webcomponents/p-a980af27.entry.js +1 -0
- package/dist/webcomponents/p-ad742a9f.entry.js +1 -0
- package/dist/webcomponents/p-af42af18.entry.js +1 -0
- package/dist/webcomponents/{p-f7128387.entry.js → p-afa2ebd9.entry.js} +1 -1
- package/dist/webcomponents/p-b0c03283.entry.js +1 -0
- package/dist/webcomponents/p-b54bf8da.entry.js +1 -0
- package/dist/webcomponents/p-b711510b.entry.js +1 -0
- package/dist/webcomponents/p-bb52e8d5.entry.js +1 -0
- package/dist/webcomponents/p-be6ec1b5.entry.js +1 -0
- package/dist/webcomponents/p-c6a9410d.entry.js +1 -0
- package/dist/webcomponents/{p-412ae576.entry.js → p-cb09959d.entry.js} +1 -1
- package/dist/webcomponents/{p-f9af4ade.entry.js → p-cccaf5d8.entry.js} +1 -1
- package/dist/webcomponents/p-cf32d418.entry.js +1 -0
- package/dist/webcomponents/{p-6be6d4ec.entry.js → p-d1ca9e14.entry.js} +1 -1
- package/dist/webcomponents/p-d1e435e7.entry.js +1 -0
- package/dist/webcomponents/p-d66d23e6.entry.js +1 -0
- package/dist/webcomponents/p-d75b2d8e.entry.js +1 -0
- package/dist/webcomponents/p-d885366e.entry.js +1 -0
- package/dist/webcomponents/p-dcd7d550.entry.js +1 -0
- package/dist/webcomponents/p-e14ce95f.entry.js +1 -0
- package/dist/webcomponents/p-e71e4c49.entry.js +1 -0
- package/dist/webcomponents/{p-f90d7db1.entry.js → p-e89d0f36.entry.js} +1 -1
- package/dist/webcomponents/p-e9ac9556.entry.js +1 -0
- package/dist/webcomponents/p-eea11396.entry.js +1 -0
- package/dist/webcomponents/p-f6ea2000.entry.js +1 -0
- package/dist/webcomponents/p-ffbd244c.entry.js +1 -0
- package/dist/webcomponents/p-iRcGYAKD.js +1 -0
- package/dist/webcomponents/{p-wSi5d4-j.js → p-n8CiFsbh.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +14 -13
- package/LICENSE +0 -21
- package/dist/collection/api/GooglePay.js +0 -181
- package/dist/collection/api/services/google-pay.service.js +0 -241
- package/dist/collection/ui-components/google-pay-button.js +0 -251
- package/dist/module/GooglePay.js +0 -184
- package/dist/types/api/GooglePay.d.ts +0 -271
- package/dist/types/api/services/google-pay.service.d.ts +0 -60
- package/dist/types/ui-components/google-pay-button.d.ts +0 -18
- package/dist/webcomponents/p-0188cdac.entry.js +0 -1
- package/dist/webcomponents/p-0b9b50f8.entry.js +0 -1
- package/dist/webcomponents/p-0c2728c3.entry.js +0 -1
- package/dist/webcomponents/p-130473c3.entry.js +0 -1
- package/dist/webcomponents/p-1c044649.entry.js +0 -1
- package/dist/webcomponents/p-1c5d1853.entry.js +0 -1
- package/dist/webcomponents/p-1d610dba.entry.js +0 -1
- package/dist/webcomponents/p-2019fdfd.entry.js +0 -1
- package/dist/webcomponents/p-29d056ed.entry.js +0 -1
- package/dist/webcomponents/p-2e2494ef.entry.js +0 -1
- package/dist/webcomponents/p-3299c8c2.entry.js +0 -1
- package/dist/webcomponents/p-33ceb1cf.entry.js +0 -1
- package/dist/webcomponents/p-36103b16.entry.js +0 -1
- package/dist/webcomponents/p-387c76a4.entry.js +0 -1
- package/dist/webcomponents/p-3f7cffdc.entry.js +0 -1
- package/dist/webcomponents/p-403b2248.entry.js +0 -1
- package/dist/webcomponents/p-4ddee6a9.entry.js +0 -1
- package/dist/webcomponents/p-5087ce6d.entry.js +0 -1
- package/dist/webcomponents/p-55af29a1.entry.js +0 -1
- package/dist/webcomponents/p-5985f6af.entry.js +0 -1
- package/dist/webcomponents/p-5c8bf8a6.entry.js +0 -1
- package/dist/webcomponents/p-5dv0txs0.js +0 -1
- package/dist/webcomponents/p-6c4be54a.entry.js +0 -1
- package/dist/webcomponents/p-6f82657a.entry.js +0 -1
- package/dist/webcomponents/p-76919e48.entry.js +0 -1
- package/dist/webcomponents/p-7a48659c.entry.js +0 -1
- package/dist/webcomponents/p-88716a35.entry.js +0 -1
- package/dist/webcomponents/p-88735d18.entry.js +0 -1
- package/dist/webcomponents/p-9484af96.entry.js +0 -1
- package/dist/webcomponents/p-96e9f41b.entry.js +0 -1
- package/dist/webcomponents/p-9a215fc7.entry.js +0 -1
- package/dist/webcomponents/p-9d0b6f34.entry.js +0 -1
- package/dist/webcomponents/p-BRieSe65.js +0 -1
- package/dist/webcomponents/p-Bg7JIRrk.js +0 -1
- package/dist/webcomponents/p-C0dMwnDO.js +0 -1
- package/dist/webcomponents/p-C3dkSx6l.js +0 -1
- package/dist/webcomponents/p-Cf0Rt_Os.js +0 -1
- package/dist/webcomponents/p-CkYB1zGe.js +0 -1
- package/dist/webcomponents/p-Cnc2WKdS.js +0 -1
- package/dist/webcomponents/p-CsilKlYU.js +0 -1
- package/dist/webcomponents/p-CuaXkS6j.js +0 -1
- package/dist/webcomponents/p-DCwnBXF7.js +0 -1
- package/dist/webcomponents/p-DmwvaeZd.js +0 -1
- package/dist/webcomponents/p-DqD32M9M.js +0 -1
- package/dist/webcomponents/p-MVBgKFOv.js +0 -1
- package/dist/webcomponents/p-Tj4VxUWO.js +0 -1
- package/dist/webcomponents/p-a1dafcb9.entry.js +0 -1
- package/dist/webcomponents/p-a7907856.entry.js +0 -1
- package/dist/webcomponents/p-aONkyLLS.js +0 -1
- package/dist/webcomponents/p-aab50c09.entry.js +0 -1
- package/dist/webcomponents/p-bd0404bf.entry.js +0 -1
- package/dist/webcomponents/p-bdfc61b0.entry.js +0 -1
- package/dist/webcomponents/p-bf242a98.entry.js +0 -1
- package/dist/webcomponents/p-bf3a552e.entry.js +0 -1
- package/dist/webcomponents/p-c1d48f19.entry.js +0 -1
- package/dist/webcomponents/p-c835c19b.entry.js +0 -1
- package/dist/webcomponents/p-caadf62a.entry.js +0 -1
- package/dist/webcomponents/p-ccc26acf.entry.js +0 -1
- package/dist/webcomponents/p-d375e82b.entry.js +0 -1
- package/dist/webcomponents/p-d84e5a0e.entry.js +0 -1
- package/dist/webcomponents/p-def9b542.entry.js +0 -1
- package/dist/webcomponents/p-edb8dae3.entry.js +0 -1
- package/dist/webcomponents/p-f57cb5d1.entry.js +0 -1
- package/dist/webcomponents/p-f5d407af.entry.js +0 -1
- package/dist/webcomponents/p-f7dac1c8.entry.js +0 -1
- package/dist/webcomponents/p-fTIONWal.js +0 -1
|
@@ -452,17 +452,7 @@ class CoreBusinessInfo {
|
|
|
452
452
|
this.date_of_incorporation = coreBusinessInfo.date_of_incorporation;
|
|
453
453
|
}
|
|
454
454
|
get payload() {
|
|
455
|
-
return {
|
|
456
|
-
classification: this.classification || '',
|
|
457
|
-
legal_name: this.legal_name || '',
|
|
458
|
-
doing_business_as: this.doing_business_as || '',
|
|
459
|
-
industry: this.industry || '',
|
|
460
|
-
tax_id: this.tax_id || '',
|
|
461
|
-
website_url: this.website_url || '',
|
|
462
|
-
email: this.email || '',
|
|
463
|
-
phone: this.phone || '',
|
|
464
|
-
date_of_incorporation: this.date_of_incorporation || '',
|
|
465
|
-
};
|
|
455
|
+
return Object.assign(Object.assign({ classification: this.classification || '', legal_name: this.legal_name || '', doing_business_as: this.doing_business_as || '', industry: this.industry || '' }, (!this.tax_id_last4 && { tax_id: this.tax_id || '' })), { website_url: this.website_url || '', email: this.email || '', phone: this.phone || '', date_of_incorporation: this.date_of_incorporation || '' });
|
|
466
456
|
}
|
|
467
457
|
}
|
|
468
458
|
class Business {
|
|
@@ -501,26 +491,8 @@ class Business {
|
|
|
501
491
|
this.bank_account_verification = business.bank_account_verification;
|
|
502
492
|
}
|
|
503
493
|
get payload() {
|
|
504
|
-
return {
|
|
505
|
-
|
|
506
|
-
.payload,
|
|
507
|
-
classification: this.classification || '',
|
|
508
|
-
doing_business_as: this.doing_business_as || '',
|
|
509
|
-
email: this.email || '',
|
|
510
|
-
industry: this.industry || '',
|
|
511
|
-
legal_address: new Address(this.legal_address).payload,
|
|
512
|
-
legal_name: this.legal_name || '',
|
|
513
|
-
metadata: this.metadata || {},
|
|
514
|
-
owners: this.owners.map((owner) => ({ id: owner.id })),
|
|
515
|
-
phone: this.phone || '',
|
|
516
|
-
platform_account_id: this.platform_account_id || '',
|
|
517
|
-
representative: new Representative(this.representative).payload,
|
|
518
|
-
tax_id: this.tax_id || '',
|
|
519
|
-
tax_id_last4: this.tax_id_last4 || '',
|
|
520
|
-
website_url: this.website_url || '',
|
|
521
|
-
date_of_incorporation: this.date_of_incorporation || '',
|
|
522
|
-
country_of_establishment: this.country_of_establishment || exports.CountryCode.USA,
|
|
523
|
-
};
|
|
494
|
+
return Object.assign(Object.assign({ additional_questions: new AdditionalQuestions(this.additional_questions)
|
|
495
|
+
.payload, classification: this.classification || '', doing_business_as: this.doing_business_as || '', email: this.email || '', industry: this.industry || '', legal_address: new Address(this.legal_address).payload, legal_name: this.legal_name || '', metadata: this.metadata || {}, owners: this.owners.map((owner) => ({ id: owner.id })), phone: this.phone || '', platform_account_id: this.platform_account_id || '', representative: new Representative(this.representative).payload }, (!this.tax_id_last4 && { tax_id: this.tax_id || '' })), { tax_id_last4: this.tax_id_last4 || '', website_url: this.website_url || '', date_of_incorporation: this.date_of_incorporation || '', country_of_establishment: this.country_of_establishment || exports.CountryCode.USA });
|
|
524
496
|
}
|
|
525
497
|
}
|
|
526
498
|
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var utils = require('./utils-
|
|
3
|
+
var utils = require('./utils-Xm42fjFZ.js');
|
|
4
4
|
var Dispute = require('./Dispute-CruQTF6_.js');
|
|
5
|
-
var index = require('./index-W-zoNiyM.js');
|
|
6
|
-
var index$1 = require('./index-CajjbB9t.js');
|
|
7
5
|
var ComponentError = require('./ComponentError-D4OLnOkg.js');
|
|
8
6
|
|
|
9
7
|
class Completion {
|
|
@@ -304,7 +302,7 @@ var PayoutStatuses;
|
|
|
304
302
|
PayoutStatuses["in_transit"] = "in_transit";
|
|
305
303
|
PayoutStatuses["canceled"] = "canceled";
|
|
306
304
|
})(PayoutStatuses || (PayoutStatuses = {}));
|
|
307
|
-
|
|
305
|
+
exports.PayoutStatusesSafeNames = void 0;
|
|
308
306
|
(function (PayoutStatusesSafeNames) {
|
|
309
307
|
PayoutStatusesSafeNames["paid"] = "Paid";
|
|
310
308
|
PayoutStatusesSafeNames["failed"] = "Failed";
|
|
@@ -312,7 +310,7 @@ var PayoutStatusesSafeNames;
|
|
|
312
310
|
PayoutStatusesSafeNames["scheduled"] = "Scheduled";
|
|
313
311
|
PayoutStatusesSafeNames["in_transit"] = "In Transit";
|
|
314
312
|
PayoutStatusesSafeNames["canceled"] = "Canceled";
|
|
315
|
-
})(PayoutStatusesSafeNames || (PayoutStatusesSafeNames = {}));
|
|
313
|
+
})(exports.PayoutStatusesSafeNames || (exports.PayoutStatusesSafeNames = {}));
|
|
316
314
|
class Payout {
|
|
317
315
|
constructor(payout) {
|
|
318
316
|
this.id = payout.id;
|
|
@@ -712,288 +710,6 @@ class ApplePayHelpers {
|
|
|
712
710
|
}
|
|
713
711
|
}
|
|
714
712
|
|
|
715
|
-
const initialState = {
|
|
716
|
-
accountId: '',
|
|
717
|
-
authToken: '',
|
|
718
|
-
billingFormFields: {
|
|
719
|
-
address_postal_code: '',
|
|
720
|
-
},
|
|
721
|
-
bnplEnabled: false,
|
|
722
|
-
applePayEnabled: false,
|
|
723
|
-
googlePayEnabled: false,
|
|
724
|
-
insuranceEnabled: false,
|
|
725
|
-
bnplProviderApiVersion: '',
|
|
726
|
-
bnplProviderCheckoutUrl: '',
|
|
727
|
-
bnplProviderClientId: '',
|
|
728
|
-
bnplProviderMode: '',
|
|
729
|
-
checkoutId: '',
|
|
730
|
-
checkoutLoaded: false,
|
|
731
|
-
bankAccountVerification: undefined,
|
|
732
|
-
disableBankAccount: false,
|
|
733
|
-
disableCreditCard: false,
|
|
734
|
-
disablePaymentMethodGroup: false,
|
|
735
|
-
paymentAmount: 0,
|
|
736
|
-
paymentCurrency: 'USD',
|
|
737
|
-
paymentDescription: '',
|
|
738
|
-
paymentMethodGroupId: undefined,
|
|
739
|
-
paymentMethods: [],
|
|
740
|
-
paymentToken: undefined,
|
|
741
|
-
savePaymentMethod: false,
|
|
742
|
-
selectedPaymentMethod: undefined,
|
|
743
|
-
totalAmount: 0,
|
|
744
|
-
plaidPublicToken: undefined,
|
|
745
|
-
plaidLinkTokenId: undefined,
|
|
746
|
-
};
|
|
747
|
-
const { state: checkoutStore, onChange } = index.createStore(initialState);
|
|
748
|
-
Object.keys(initialState).forEach((key) => {
|
|
749
|
-
// @ts-ignore
|
|
750
|
-
onChange(key, (newValue) => {
|
|
751
|
-
checkoutStore[key] = newValue;
|
|
752
|
-
});
|
|
753
|
-
});
|
|
754
|
-
// Helper: compute available payment methods based on store flags
|
|
755
|
-
function getAvailablePaymentMethodTypes() {
|
|
756
|
-
var _a;
|
|
757
|
-
const methods = [];
|
|
758
|
-
if (!checkoutStore.disablePaymentMethodGroup &&
|
|
759
|
-
((_a = checkoutStore.paymentMethods) === null || _a === void 0 ? void 0 : _a.length)) {
|
|
760
|
-
const hasSavedCard = checkoutStore.paymentMethods.some((pm) => pm.type === index$1.PAYMENT_METHODS.SAVED_CARD);
|
|
761
|
-
const hasSavedBank = checkoutStore.paymentMethods.some((pm) => pm.type === index$1.PAYMENT_METHODS.SAVED_BANK_ACCOUNT);
|
|
762
|
-
if (hasSavedCard && !checkoutStore.disableCreditCard) {
|
|
763
|
-
methods.push(index$1.PAYMENT_METHODS.SAVED_CARD);
|
|
764
|
-
}
|
|
765
|
-
if (hasSavedBank && !checkoutStore.disableBankAccount) {
|
|
766
|
-
methods.push(index$1.PAYMENT_METHODS.SAVED_BANK_ACCOUNT);
|
|
767
|
-
}
|
|
768
|
-
}
|
|
769
|
-
if (!checkoutStore.disableCreditCard) {
|
|
770
|
-
methods.push(index$1.PAYMENT_METHODS.NEW_CARD);
|
|
771
|
-
}
|
|
772
|
-
if (!checkoutStore.disableBankAccount) {
|
|
773
|
-
methods.push(index$1.PAYMENT_METHODS.NEW_BANK_ACCOUNT);
|
|
774
|
-
}
|
|
775
|
-
if (checkoutStore.bnplEnabled) {
|
|
776
|
-
methods.push(index$1.PAYMENT_METHODS.SEZZLE);
|
|
777
|
-
}
|
|
778
|
-
if (checkoutStore.applePayEnabled) {
|
|
779
|
-
methods.push(index$1.PAYMENT_METHODS.APPLE_PAY);
|
|
780
|
-
}
|
|
781
|
-
if (checkoutStore.googlePayEnabled) {
|
|
782
|
-
methods.push(index$1.PAYMENT_METHODS.GOOGLE_PAY);
|
|
783
|
-
}
|
|
784
|
-
if (checkoutStore.bankAccountVerification === true &&
|
|
785
|
-
!checkoutStore.disableBankAccount) {
|
|
786
|
-
methods.push(index$1.PAYMENT_METHODS.PLAID);
|
|
787
|
-
}
|
|
788
|
-
return methods;
|
|
789
|
-
}
|
|
790
|
-
function getCheckoutState() {
|
|
791
|
-
var _a;
|
|
792
|
-
return {
|
|
793
|
-
selectedPaymentMethod: checkoutStore.selectedPaymentMethod,
|
|
794
|
-
paymentAmount: checkoutStore.paymentAmount,
|
|
795
|
-
totalAmount: checkoutStore.totalAmount,
|
|
796
|
-
paymentCurrency: checkoutStore.paymentCurrency,
|
|
797
|
-
paymentDescription: checkoutStore.paymentDescription,
|
|
798
|
-
savedPaymentMethods: checkoutStore.paymentMethods,
|
|
799
|
-
savePaymentMethod: checkoutStore.savePaymentMethod,
|
|
800
|
-
bnplEnabled: checkoutStore.bnplEnabled,
|
|
801
|
-
applePayEnabled: checkoutStore.applePayEnabled,
|
|
802
|
-
insuranceEnabled: checkoutStore.insuranceEnabled,
|
|
803
|
-
disableBankAccount: checkoutStore.disableBankAccount,
|
|
804
|
-
disableCreditCard: checkoutStore.disableCreditCard,
|
|
805
|
-
disablePaymentMethodGroup: checkoutStore.disablePaymentMethodGroup,
|
|
806
|
-
paymentToken: (_a = checkoutStore.paymentToken) !== null && _a !== void 0 ? _a : undefined,
|
|
807
|
-
};
|
|
808
|
-
}
|
|
809
|
-
function onAnyChange(callback) {
|
|
810
|
-
Object.keys(initialState).forEach((key) => {
|
|
811
|
-
// @ts-ignore - onChange is generically typed by stencil/store but not exported here
|
|
812
|
-
onChange(key, (newValue) => callback(key, newValue));
|
|
813
|
-
});
|
|
814
|
-
}
|
|
815
|
-
|
|
816
|
-
exports.GooglePayButtonType = void 0;
|
|
817
|
-
(function (GooglePayButtonType) {
|
|
818
|
-
GooglePayButtonType["PLAIN"] = "plain";
|
|
819
|
-
GooglePayButtonType["BUY"] = "buy";
|
|
820
|
-
GooglePayButtonType["BOOK"] = "book";
|
|
821
|
-
GooglePayButtonType["CHECKOUT"] = "checkout";
|
|
822
|
-
GooglePayButtonType["DONATE"] = "donate";
|
|
823
|
-
GooglePayButtonType["ORDER"] = "order";
|
|
824
|
-
GooglePayButtonType["PAY"] = "pay";
|
|
825
|
-
GooglePayButtonType["SUBSCRIBE"] = "subscribe";
|
|
826
|
-
})(exports.GooglePayButtonType || (exports.GooglePayButtonType = {}));
|
|
827
|
-
exports.GooglePayButtonStyle = void 0;
|
|
828
|
-
(function (GooglePayButtonStyle) {
|
|
829
|
-
GooglePayButtonStyle["BLACK"] = "black";
|
|
830
|
-
GooglePayButtonStyle["WHITE"] = "white";
|
|
831
|
-
})(exports.GooglePayButtonStyle || (exports.GooglePayButtonStyle = {}));
|
|
832
|
-
exports.GooglePayButtonSizeMode = void 0;
|
|
833
|
-
(function (GooglePayButtonSizeMode) {
|
|
834
|
-
GooglePayButtonSizeMode["STATIC"] = "static";
|
|
835
|
-
GooglePayButtonSizeMode["FILL"] = "fill";
|
|
836
|
-
})(exports.GooglePayButtonSizeMode || (exports.GooglePayButtonSizeMode = {}));
|
|
837
|
-
exports.GooglePayEnvironment = void 0;
|
|
838
|
-
(function (GooglePayEnvironment) {
|
|
839
|
-
GooglePayEnvironment["PRODUCTION"] = "PRODUCTION";
|
|
840
|
-
GooglePayEnvironment["TEST"] = "TEST";
|
|
841
|
-
})(exports.GooglePayEnvironment || (exports.GooglePayEnvironment = {}));
|
|
842
|
-
class GooglePayConfig {
|
|
843
|
-
constructor(data) {
|
|
844
|
-
this.environment = data.environment;
|
|
845
|
-
this.merchantId = data.merchantId;
|
|
846
|
-
this.merchantName = data.merchantName;
|
|
847
|
-
this.buttonType = data.buttonType || exports.GooglePayButtonType.PLAIN;
|
|
848
|
-
this.buttonStyle = data.buttonStyle || exports.GooglePayButtonStyle.BLACK;
|
|
849
|
-
this.buttonSizeMode = data.buttonSizeMode || exports.GooglePayButtonSizeMode.STATIC;
|
|
850
|
-
this.buttonLocale = data.buttonLocale || 'en';
|
|
851
|
-
}
|
|
852
|
-
get isValid() {
|
|
853
|
-
return !!(this.environment && this.merchantName);
|
|
854
|
-
}
|
|
855
|
-
}
|
|
856
|
-
class GooglePayPaymentDataRequest {
|
|
857
|
-
constructor(data) {
|
|
858
|
-
this.apiVersion = data.apiVersion;
|
|
859
|
-
this.apiVersionMinor = data.apiVersionMinor;
|
|
860
|
-
this.allowedPaymentMethods = data.allowedPaymentMethods;
|
|
861
|
-
this.transactionInfo = data.transactionInfo;
|
|
862
|
-
this.merchantInfo = data.merchantInfo;
|
|
863
|
-
this.callbackIntents = data.callbackIntents;
|
|
864
|
-
this.shippingAddressRequired = data.shippingAddressRequired;
|
|
865
|
-
this.shippingAddressParameters = data.shippingAddressParameters;
|
|
866
|
-
this.emailRequired = data.emailRequired;
|
|
867
|
-
}
|
|
868
|
-
get isValid() {
|
|
869
|
-
var _a, _b, _c, _d;
|
|
870
|
-
const hasApiVersion = typeof this.apiVersion === 'number' && this.apiVersion > 0;
|
|
871
|
-
const hasApiVersionMinor = typeof this.apiVersionMinor === 'number' && this.apiVersionMinor >= 0;
|
|
872
|
-
const hasAllowedMethods = Array.isArray(this.allowedPaymentMethods) &&
|
|
873
|
-
this.allowedPaymentMethods.length > 0;
|
|
874
|
-
const hasTxnCountry = Boolean((_a = this.transactionInfo) === null || _a === void 0 ? void 0 : _a.countryCode);
|
|
875
|
-
const hasTxnCurrency = Boolean((_b = this.transactionInfo) === null || _b === void 0 ? void 0 : _b.currencyCode);
|
|
876
|
-
const hasTxnTotal = Boolean((_c = this.transactionInfo) === null || _c === void 0 ? void 0 : _c.totalPrice);
|
|
877
|
-
const hasMerchantName = Boolean((_d = this.merchantInfo) === null || _d === void 0 ? void 0 : _d.merchantName);
|
|
878
|
-
return (hasApiVersion &&
|
|
879
|
-
hasApiVersionMinor &&
|
|
880
|
-
hasAllowedMethods &&
|
|
881
|
-
hasTxnCountry &&
|
|
882
|
-
hasTxnCurrency &&
|
|
883
|
-
hasTxnTotal &&
|
|
884
|
-
hasMerchantName);
|
|
885
|
-
}
|
|
886
|
-
}
|
|
887
|
-
class GooglePayHelpers {
|
|
888
|
-
/**
|
|
889
|
-
* Check if Google Pay is supported in the current environment
|
|
890
|
-
*/
|
|
891
|
-
static isGooglePaySupported() {
|
|
892
|
-
return (typeof window !== 'undefined' &&
|
|
893
|
-
'google' in window &&
|
|
894
|
-
'payments' in window.google &&
|
|
895
|
-
'api' in window.google.payments);
|
|
896
|
-
}
|
|
897
|
-
/**
|
|
898
|
-
* Create a Google Pay client instance
|
|
899
|
-
*/
|
|
900
|
-
static createGooglePayClient(environment) {
|
|
901
|
-
if (!this.isGooglePaySupported()) {
|
|
902
|
-
return null;
|
|
903
|
-
}
|
|
904
|
-
try {
|
|
905
|
-
return new window.google.payments.api.PaymentsClient({
|
|
906
|
-
environment: environment === exports.GooglePayEnvironment.PRODUCTION
|
|
907
|
-
? 'PRODUCTION'
|
|
908
|
-
: 'TEST',
|
|
909
|
-
});
|
|
910
|
-
}
|
|
911
|
-
catch (_error) {
|
|
912
|
-
return null;
|
|
913
|
-
}
|
|
914
|
-
}
|
|
915
|
-
/**
|
|
916
|
-
* Format amount for Google Pay (expects string in full currency units)
|
|
917
|
-
*/
|
|
918
|
-
static formatAmount(amount) {
|
|
919
|
-
return (amount / 100).toFixed(2);
|
|
920
|
-
}
|
|
921
|
-
/**
|
|
922
|
-
* Parse amount from Google Pay format to cents
|
|
923
|
-
*/
|
|
924
|
-
static parseAmount(amount) {
|
|
925
|
-
return Math.round(parseFloat(amount) * 100);
|
|
926
|
-
}
|
|
927
|
-
/**
|
|
928
|
-
* Create a line item for Google Pay
|
|
929
|
-
*/
|
|
930
|
-
static createLineItem(label, amount, type = 'LINE_ITEM') {
|
|
931
|
-
return {
|
|
932
|
-
label,
|
|
933
|
-
price: this.formatAmount(amount),
|
|
934
|
-
type,
|
|
935
|
-
};
|
|
936
|
-
}
|
|
937
|
-
/**
|
|
938
|
-
* Get default supported card networks
|
|
939
|
-
*/
|
|
940
|
-
static getDefaultSupportedNetworks() {
|
|
941
|
-
return ['VISA', 'MASTERCARD', 'AMEX', 'DISCOVER'];
|
|
942
|
-
}
|
|
943
|
-
/**
|
|
944
|
-
* Get default allowed authentication methods
|
|
945
|
-
*/
|
|
946
|
-
static getDefaultAuthMethods() {
|
|
947
|
-
return ['CRYPTOGRAM_3DS', 'PAN_ONLY'];
|
|
948
|
-
}
|
|
949
|
-
/**
|
|
950
|
-
* Create default card parameters
|
|
951
|
-
*/
|
|
952
|
-
static createDefaultCardParameters() {
|
|
953
|
-
return {
|
|
954
|
-
allowedAuthMethods: this.getDefaultAuthMethods(),
|
|
955
|
-
allowedCardNetworks: this.getDefaultSupportedNetworks(),
|
|
956
|
-
billingAddressRequired: false,
|
|
957
|
-
};
|
|
958
|
-
}
|
|
959
|
-
/**
|
|
960
|
-
* Create default tokenization specification
|
|
961
|
-
*/
|
|
962
|
-
static createTokenizationSpecification() {
|
|
963
|
-
return {
|
|
964
|
-
type: 'PAYMENT_GATEWAY',
|
|
965
|
-
parameters: {
|
|
966
|
-
gateway: 'justifi',
|
|
967
|
-
gatewayMerchantId: checkoutStore.accountId,
|
|
968
|
-
},
|
|
969
|
-
};
|
|
970
|
-
}
|
|
971
|
-
/**
|
|
972
|
-
* Create default payment method data
|
|
973
|
-
*/
|
|
974
|
-
static createPaymentMethodData() {
|
|
975
|
-
return {
|
|
976
|
-
type: 'CARD',
|
|
977
|
-
parameters: this.createDefaultCardParameters(),
|
|
978
|
-
tokenizationSpecification: this.createTokenizationSpecification(),
|
|
979
|
-
};
|
|
980
|
-
}
|
|
981
|
-
/**
|
|
982
|
-
* Create base payment data request check
|
|
983
|
-
*/
|
|
984
|
-
static createBasePaymentDataRequest() {
|
|
985
|
-
const base = {
|
|
986
|
-
apiVersion: 2,
|
|
987
|
-
apiVersionMinor: 0,
|
|
988
|
-
allowedPaymentMethods: [this.createPaymentMethodData()],
|
|
989
|
-
};
|
|
990
|
-
// For development and broader availability of the button, do not require an existing card
|
|
991
|
-
// This allows isReadyToPay to return true on supported browsers even without a saved payment method
|
|
992
|
-
base.existingPaymentMethodRequired = false;
|
|
993
|
-
return base;
|
|
994
|
-
}
|
|
995
|
-
}
|
|
996
|
-
|
|
997
713
|
// Plaid-specific error codes
|
|
998
714
|
exports.PlaidErrorCodes = void 0;
|
|
999
715
|
(function (PlaidErrorCodes) {
|
|
@@ -1050,9 +766,6 @@ exports.ApplePayPaymentRequest = ApplePayPaymentRequest;
|
|
|
1050
766
|
exports.Checkout = Checkout;
|
|
1051
767
|
exports.EntityDocument = EntityDocument;
|
|
1052
768
|
exports.EntityDocumentStorage = EntityDocumentStorage;
|
|
1053
|
-
exports.GooglePayConfig = GooglePayConfig;
|
|
1054
|
-
exports.GooglePayHelpers = GooglePayHelpers;
|
|
1055
|
-
exports.GooglePayPaymentDataRequest = GooglePayPaymentDataRequest;
|
|
1056
769
|
exports.PLAID_ERROR_MESSAGES = PLAID_ERROR_MESSAGES;
|
|
1057
770
|
exports.PLAID_ERROR_SEVERITY = PLAID_ERROR_SEVERITY;
|
|
1058
771
|
exports.Payment = Payment;
|
|
@@ -1064,8 +777,3 @@ exports.SubAccount = SubAccount;
|
|
|
1064
777
|
exports.Terminal = Terminal;
|
|
1065
778
|
exports.TerminalModel = TerminalModel;
|
|
1066
779
|
exports.TerminalOrder = TerminalOrder;
|
|
1067
|
-
exports.checkoutStore = checkoutStore;
|
|
1068
|
-
exports.getAvailablePaymentMethodTypes = getAvailablePaymentMethodTypes;
|
|
1069
|
-
exports.getCheckoutState = getCheckoutState;
|
|
1070
|
-
exports.onAnyChange = onAnyChange;
|
|
1071
|
-
exports.onChange = onChange;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
|
-
var utils$1 = require('./utils-
|
|
5
|
-
var utils = require('./utils-
|
|
6
|
-
require('./parts-
|
|
4
|
+
var utils$1 = require('./utils-Vwo0VR7n.js');
|
|
5
|
+
var utils = require('./utils-Xm42fjFZ.js');
|
|
6
|
+
require('./parts-C0AyF3nd.js');
|
|
7
7
|
require('./dinero-BwNN_k7x.js');
|
|
8
8
|
|
|
9
9
|
const AdditionalQuestionsDetails = class {
|
|
@@ -4,37 +4,36 @@ var index = require('./index-p7cvUYAE.js');
|
|
|
4
4
|
require('./config-state-BIgGhhe9.js');
|
|
5
5
|
require('./dinero-BwNN_k7x.js');
|
|
6
6
|
var ComponentError = require('./ComponentError-D4OLnOkg.js');
|
|
7
|
-
var Plaid = require('./Plaid-
|
|
7
|
+
var Plaid = require('./Plaid-DB_gUhoy.js');
|
|
8
8
|
require('./Pagination-Dediz133.js');
|
|
9
|
-
require('./Business-
|
|
9
|
+
require('./Business-oBifyXkW.js');
|
|
10
10
|
require('./Dispute-CruQTF6_.js');
|
|
11
|
-
var businessFormOptions = require('./business-form-options-
|
|
11
|
+
var businessFormOptions = require('./business-form-options-D_nM7NDk.js');
|
|
12
12
|
require('./event-types-DNOUef41.js');
|
|
13
13
|
var utils = require('./utils-DAyWinG2.js');
|
|
14
|
-
var parts = require('./parts-
|
|
15
|
-
var utils$1 = require('./utils-
|
|
16
|
-
var skeleton = require('./skeleton-
|
|
14
|
+
var parts = require('./parts-C0AyF3nd.js');
|
|
15
|
+
var utils$1 = require('./utils-Xm42fjFZ.js');
|
|
16
|
+
var skeleton = require('./skeleton-C9Aio7v_.js');
|
|
17
17
|
require('./event-types-YOY5TKUN.js');
|
|
18
|
-
var formControlErrorText = require('./form-control-error-text-
|
|
19
|
-
var inputHandlers = require('./input-handlers-
|
|
18
|
+
var formControlErrorText = require('./form-control-error-text-6-HeM6bw.js');
|
|
19
|
+
var inputHandlers = require('./input-handlers-_51J5q7J.js');
|
|
20
20
|
var formInputMasks = require('./form-input-masks-BnNFJ3IJ.js');
|
|
21
|
-
var countryConfig = require('./country-config-
|
|
21
|
+
var countryConfig = require('./country-config-D7fss2oF.js');
|
|
22
22
|
var paymentProvisioningActions = require('./payment-provisioning-actions-CZVlnRA0.js');
|
|
23
|
-
var business_service = require('./business.service-
|
|
24
|
-
var button = require('./button-
|
|
23
|
+
var business_service = require('./business.service-Cz5Mw8or.js');
|
|
24
|
+
var button = require('./button-Cr3iHpyf.js');
|
|
25
25
|
var styledHost = require('./styled-host-DAi5SuFa.js');
|
|
26
|
-
var plaidIcon = require('./plaid-icon-
|
|
26
|
+
var plaidIcon = require('./plaid-icon-JDI0tO2m.js');
|
|
27
27
|
require('./index-W-zoNiyM.js');
|
|
28
|
-
require('./index-CajjbB9t.js');
|
|
29
28
|
require('./utils-DvUQQLmR.js');
|
|
30
|
-
require('./Api-
|
|
29
|
+
require('./Api-Bp3jtSK2.js');
|
|
31
30
|
|
|
32
31
|
const BankAccountDocumentFormInputs = class {
|
|
33
32
|
constructor(hostRef) {
|
|
34
33
|
index.registerInstance(this, hostRef);
|
|
35
34
|
}
|
|
36
35
|
render() {
|
|
37
|
-
return (index.h("div", { key: '
|
|
36
|
+
return (index.h("div", { key: '24350c0318d8daab8d8678dfb38b95f69e89b6b6', class: "row gy-3" }, index.h("div", { key: '29b09e3d6073450049ec5baa527d368fb92d9b61', class: "col-12" }, index.h("form-control-file", { key: '76d19e87bd32fcbb161cb11a804182dbca85d2a8', name: "voided_check", label: "Voided Check", documentType: Plaid.EntityDocumentType.voidedCheck, inputHandler: this.inputHandler, onFileSelected: this.storeFiles, errorText: this.errors["voided_check"], multiple: true })), index.h("div", { key: 'dab0b920670533a64638b3e0dd39d0535a71f0cd', class: "col-12" }, index.h("form-control-file", { key: 'b1ca73e08188c70fe3077ed06113199b1c0a247b', name: "bank_statement", label: "Bank Statement", documentType: Plaid.EntityDocumentType.bankStatement, inputHandler: this.inputHandler, onFileSelected: this.storeFiles, errorText: this.errors["bank_statement"], multiple: true }))));
|
|
38
37
|
}
|
|
39
38
|
};
|
|
40
39
|
|
|
@@ -44,7 +43,7 @@ const BankAccountFormInputs = class {
|
|
|
44
43
|
}
|
|
45
44
|
render() {
|
|
46
45
|
var _a, _b, _c, _d, _e, _f;
|
|
47
|
-
return (index.h("div", { key: '
|
|
46
|
+
return (index.h("div", { key: 'd191f5edcc80edd95d0fd66b10a33bb1c39df75a', class: "row gy-3" }, index.h("div", { key: '9e636bd38d87d0b5107aa3a161d8e5015d4357ba', class: "col-12" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Bank Name", value: (_a = this.defaultValue) === null || _a === void 0 ? void 0 : _a.bank_name })) : (index.h("form-control-text", { name: "bank_name", label: "Bank Name", defaultValue: this.defaultValue.bank_name, errorText: this.errors.bank_name, inputHandler: this.inputHandler }))), index.h("div", { key: '27ef07f09b667bcaaa2068c0548c1163438f7ee4', class: "col-12" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Nickname", value: (_b = this.defaultValue) === null || _b === void 0 ? void 0 : _b.nickname })) : (index.h("form-control-text", { name: "nickname", label: "Nickname", defaultValue: this.defaultValue.nickname, errorText: this.errors.nickname, inputHandler: this.inputHandler }))), index.h("div", { key: '4a883cb8dd55309ba7b89d619f971a354b0985f9', class: "col-12" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Account Owner Name", value: (_c = this.defaultValue) === null || _c === void 0 ? void 0 : _c.account_owner_name })) : (index.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 }))), index.h("div", { key: '6d960223c6f552c9b525c2f570a9f77f61206e6a', class: "col-12" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Account Type", value: (_d = this.defaultValue) === null || _d === void 0 ? void 0 : _d.account_type })) : (index.h("form-control-select", { name: "account_type", label: "Account Type", options: businessFormOptions.bankAccountTypeOptions, defaultValue: this.defaultValue.account_type, errorText: this.errors.account_type, inputHandler: this.inputHandler }))), index.h("div", { key: 'c9c72ddccbe70f174796f93828144bb820b259cd', class: "col-6" }, this.formDisabled ? (index.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}` : '' })) : (index.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: utils.numberOnlyHandler, helpText: "Please copy the account number as shown on your statement/check. Do not include spaces or dashes." }))), index.h("div", { key: '424f263e125a7ef473e1aedadb1eff546562be4c', class: "col-6" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Routing Number", value: ((_f = this.defaultValue) === null || _f === void 0 ? void 0 : _f.routing_number) || '' })) : (index.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: utils.numberOnlyHandler, helpText: "A valid routing number is nine digits. Please include any leading or trailing zeroes." })))));
|
|
48
47
|
}
|
|
49
48
|
};
|
|
50
49
|
|
|
@@ -54,7 +53,7 @@ const BankAccountFormInputsCanada = class {
|
|
|
54
53
|
}
|
|
55
54
|
render() {
|
|
56
55
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
57
|
-
return (index.h("div", { key: '
|
|
56
|
+
return (index.h("div", { key: 'f937e1773d1e9eaf7546921700e054a4e6de5849', class: "row gy-3" }, index.h("div", { key: '64aa79711415e58d80b038c901d3777ac5a9de76', class: "col-12" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Bank Name", value: (_a = this.defaultValue) === null || _a === void 0 ? void 0 : _a.bank_name })) : (index.h("form-control-text", { name: "bank_name", label: "Bank Name", defaultValue: this.defaultValue.bank_name, errorText: this.errors.bank_name, inputHandler: this.inputHandler }))), index.h("div", { key: '4396fa17114ddbf314ccd82263a19301f6714d73', class: "col-12" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Nickname", value: (_b = this.defaultValue) === null || _b === void 0 ? void 0 : _b.nickname })) : (index.h("form-control-text", { name: "nickname", label: "Nickname", defaultValue: this.defaultValue.nickname, errorText: this.errors.nickname, inputHandler: this.inputHandler }))), index.h("div", { key: 'b4364a626f81f7e729a06dd44372a6b3ea24364e', class: "col-12" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Account Owner Name", value: (_c = this.defaultValue) === null || _c === void 0 ? void 0 : _c.account_owner_name })) : (index.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 }))), index.h("div", { key: '347f30f2f0596470d7b229d7aa56c9666604ef5e', class: "col-12" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Account Type", value: (_d = this.defaultValue) === null || _d === void 0 ? void 0 : _d.account_type })) : (index.h("form-control-select", { name: "account_type", label: "Account Type", options: businessFormOptions.bankAccountTypeOptions, defaultValue: this.defaultValue.account_type, errorText: this.errors.account_type, inputHandler: this.inputHandler }))), index.h("div", { key: '1091f114b79f746df8bfc5495755f326313e963f', class: "col-3" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Transit Number", value: ((_e = this.defaultValue) === null || _e === void 0 ? void 0 : _e.transit_number) || '' })) : (index.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: utils.numberOnlyHandler, helpText: "5 digits" }))), index.h("div", { key: '5c8c01b5febfb19ae117f3660f333728c9ad5d0f', class: "col-3" }, this.formDisabled ? (index.h("bank-account-read-only-value", { label: "Institution Number", value: ((_f = this.defaultValue) === null || _f === void 0 ? void 0 : _f.institution_number) || '' })) : (index.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: utils.numberOnlyHandler, helpText: "3 digits" }))), index.h("div", { key: '3b6a633b94750afaa8be9bafd4ec8e98a91fe70a', class: "col-6" }, this.formDisabled ? (index.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}` : '' })) : (index.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: utils.numberOnlyHandler, helpText: "Please copy the account number as shown on your statement. Do not include spaces or dashes." })))));
|
|
58
57
|
}
|
|
59
58
|
};
|
|
60
59
|
|
|
@@ -63,7 +62,7 @@ const BankAccountReadOnlyValue = class {
|
|
|
63
62
|
index.registerInstance(this, hostRef);
|
|
64
63
|
}
|
|
65
64
|
render() {
|
|
66
|
-
return (index.h("div", { key: '
|
|
65
|
+
return (index.h("div", { key: 'c8d001bcf70346b56d11a6e8a57d4f1b4b6df131' }, index.h("label", { key: '42763d750bf9023be1738da70501689dd642d05a', class: "form-label", part: parts.text }, this.label), index.h("div", { key: '28168af46c525caa15207832ca32a16b88946b86', part: parts.text }, this.value || '')));
|
|
67
66
|
}
|
|
68
67
|
};
|
|
69
68
|
|
|
@@ -130,10 +129,10 @@ const FileInput = class {
|
|
|
130
129
|
return part;
|
|
131
130
|
}
|
|
132
131
|
render() {
|
|
133
|
-
return (index.h(index.Host, { key: '
|
|
132
|
+
return (index.h(index.Host, { key: '8172f7df27c42c6d5211d29ef595dd2e4dbd9def' }, index.h("div", { key: '99740d980c280502242ee1cdcee2a3df6ba53146', class: "form-group d-flex flex-column" }, index.h("div", { key: '5fb94f2b710d5fd734172ee91b59621d736e129b', class: "d-flex align-items-start gap-2" }, index.h("label", { key: '12fedf016c7d789fad8692c7ae03975481964005', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h("form-control-tooltip", { key: '6d59be5a27d3c9a171292244fc9e9bb598b9ecce', helpText: this.helpText })), index.h("input", { key: '64c7d9eaa46f95714d5527cf94d28c206065a411', ref: (el) => this.fileInput = el, type: "file", name: this.name, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onChange: this.changeHandler, onInput: this.handleFormControlInput, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
134
133
|
this.isFocused = false;
|
|
135
134
|
this.formControlBlur.emit();
|
|
136
|
-
} }), index.h(formControlErrorText.FormControlErrorText, { key: '
|
|
135
|
+
} }), index.h(formControlErrorText.FormControlErrorText, { key: '9610c0676934fd616fbdac08e98a102240773084', errorText: this.errorText, name: this.name }))));
|
|
137
136
|
}
|
|
138
137
|
get el() { return index.getElement(this); }
|
|
139
138
|
};
|
|
@@ -151,14 +150,14 @@ const RepresentativeFormInputs = class {
|
|
|
151
150
|
}
|
|
152
151
|
render() {
|
|
153
152
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
154
|
-
return (index.h("form", { key: '
|
|
153
|
+
return (index.h("form", { key: '49cf871c395fd9cf6c46f0de67659bf5bf8496dc' }, index.h("fieldset", { key: '354f9360bb8965a3260966d7d520e9d4c9a02b51' }, index.h("div", { key: '032079d62b1fafe04f2a86f2447a8c1ae2e4c0a2', class: "d-flex align-items-center gap-2" }, index.h("legend", { key: '9043d6362eb35ab7831c56588148c382812d3a1b', class: "mb-0", part: parts.heading2 }, "Representative"), index.h("form-control-tooltip", { key: 'c10dffef5cb210d2cebb4d5e75ddab923f64a53a', 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." })), index.h("hr", { key: '23fabdbe0645bdab53ee2bddeab162ed04668532', class: "mt-2" }), index.h("div", { key: '021322a6527599b1735d2479a8844fddfb4c060d', class: "row gy-3" }, index.h("div", { key: '4ac7e566aa68f6bd92f616c0da773091ae2726e4', class: "col-12 col-md-8" }, index.h("form-control-text", { key: '2343d83546a7e9b5838667fe373deba4be304070', name: "name", label: "Full Name", defaultValue: (_a = this.representativeDefaultValue) === null || _a === void 0 ? void 0 : _a.name, errorText: this.errors.name, inputHandler: this.inputHandler })), index.h("div", { key: 'd2a982947c9c223025b90e28b6bcd5b666fcb210', class: "col-12 col-md-4" }, index.h("form-control-text", { key: 'f8e9ad40481d6590d20ed829768c9847685edf82', 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." })), index.h("div", { key: 'd50a316f6be3028b3912b491687911a171e4c287', class: "col-12 col-md-6" }, index.h("form-control-text", { key: 'ea2dbfa784647b7d4ed3248f621b516e6e78c234', name: "email", label: "Email Address", defaultValue: (_c = this.representativeDefaultValue) === null || _c === void 0 ? void 0 : _c.email, errorText: this.errors.email, inputHandler: this.inputHandler })), index.h("div", { key: '03d7a10fc0068b9707dfdd1efd8aaed984e62b7f', class: "col-12 col-md-6" }, index.h("form-control-number-masked", { key: '925a0a048a76b16643a85463ddf3a18269a121e3', 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: formInputMasks.PHONE_MASKS.US })), index.h("div", { key: '5fe6a99ef58e869bb9b33e53021a5dc7333c05af', class: "col-12 col-md-4" }, index.h("form-control-date", { key: 'ebcda1a0f94cb6e223de7e142d9845caedf81e4b', 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) => inputHandlers.updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), index.h("div", { key: 'f0af7d3ff85b1dde397d8242fd2c0864e3321faa', class: "col-12 col-md-8" }, (!((_f = this.representativeDefaultValue) === null || _f === void 0 ? void 0 : _f.ssn_last4) || this.isEditingIdentification) ? (index.h("form-control-number-masked", { name: "identification_number", label: countryConfig.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: formInputMasks.IDENTITY_MASKS[this.country], helpText: countryConfig.countryLabels[this.country].identityHelpText })) : (index.h("div", null, index.h("label", { class: "form-label", part: parts.label }, countryConfig.countryLabels[this.country].idNumberLabel), index.h("div", { class: "input-group mb-3" }, index.h("input", { type: "text", class: "form-control", part: parts.inputDisabled, value: `****${(_h = this.representativeDefaultValue) === null || _h === void 0 ? void 0 : _h.ssn_last4}`, disabled: true }), index.h("button", { class: "btn btn-secondary", type: "button", part: parts.buttonSecondary, onClick: () => {
|
|
155
154
|
this.isEditingIdentification = true;
|
|
156
155
|
// Clear current value to force validation
|
|
157
156
|
inputHandlers.updateFormValues(this.formController, {
|
|
158
157
|
identification_number: '',
|
|
159
158
|
ssn_last4: null
|
|
160
159
|
});
|
|
161
|
-
} }, "Change"))))), index.h("div", { key: '
|
|
160
|
+
} }, "Change"))))), index.h("div", { key: 'e67216c4d580f2b41c2210ed4d3556a72b72f65d', class: "col-12" }, index.h("justifi-identity-address-form", { key: 'a01a4eacfba39b73667a51376bd41e175d5e2f58', errors: this.errors.address, defaultValues: (_j = this.representativeDefaultValue) === null || _j === void 0 ? void 0 : _j.address, handleFormUpdate: this.onAddressFormUpdate, country: this.country }))))));
|
|
162
161
|
}
|
|
163
162
|
};
|
|
164
163
|
|
|
@@ -199,7 +198,7 @@ const BusinessOwnerForm = class {
|
|
|
199
198
|
});
|
|
200
199
|
}
|
|
201
200
|
render() {
|
|
202
|
-
return (index.h("owner-form-core", { key: '
|
|
201
|
+
return (index.h("owner-form-core", { key: '267a74a9f3f4a7a11b9087d8bbf198b169fba5a8', 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 }));
|
|
203
202
|
}
|
|
204
203
|
};
|
|
205
204
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
|
-
var skeleton = require('./skeleton-
|
|
4
|
+
var skeleton = require('./skeleton-C9Aio7v_.js');
|
|
5
5
|
var configState = require('./config-state-BIgGhhe9.js');
|
|
6
|
-
var utils = require('./utils-
|
|
7
|
-
require('./parts-
|
|
6
|
+
var utils = require('./utils-Xm42fjFZ.js');
|
|
7
|
+
require('./parts-C0AyF3nd.js');
|
|
8
8
|
require('./index-W-zoNiyM.js');
|
|
9
9
|
require('./dinero-BwNN_k7x.js');
|
|
10
10
|
|
|
@@ -48,10 +48,10 @@ const BankAccountForm = class {
|
|
|
48
48
|
return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
49
49
|
}
|
|
50
50
|
render() {
|
|
51
|
-
return (index.h(index.Host, { key: '
|
|
51
|
+
return (index.h(index.Host, { key: 'bf1ad4147eb02d40474da5b279c2108cc92354ad' }, index.h(BankAccountFormSkeleton, { key: 'fd48d133da8c5374d1798ab7dbfd4cb1d24c764c', isReady: this.isReady }), index.h("div", { key: '1bc997342726f0cbfaaa7fff47a9fd31759cb4ff', class: "container-fluid p-0", style: {
|
|
52
52
|
opacity: this.isReady ? '1' : '0',
|
|
53
53
|
height: this.isReady ? 'auto' : '0',
|
|
54
|
-
} }, index.h("div", { key: '
|
|
54
|
+
} }, index.h("div", { key: '908092f68da2e5c3c000aa8518c22806bcfc50a0', class: "row mb-3" }, index.h("iframe-input", { key: 'b4839448ac9a27c19e8f496020131d513035cf7a', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber?tabId=${this.tabId}` })), index.h("div", { key: 'bf887d3f66821921bddac522b27121c7616c572b', class: "row" }, index.h("iframe-input", { key: '3a0493130819326eef1ed6670d35604d3d7a545f', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber?tabId=${this.tabId}` })))));
|
|
55
55
|
}
|
|
56
56
|
};
|
|
57
57
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index_esm = require('./index.esm-ByC0D4sJ.js');
|
|
4
|
-
var schemaValidations = require('./schema-validations-
|
|
5
|
-
var Business = require('./Business-
|
|
6
|
-
var countryConfig = require('./country-config-
|
|
4
|
+
var schemaValidations = require('./schema-validations-CDAKixyQ.js');
|
|
5
|
+
var Business = require('./Business-oBifyXkW.js');
|
|
6
|
+
var countryConfig = require('./country-config-D7fss2oF.js');
|
|
7
7
|
|
|
8
8
|
// Base schema (no country-specific rules for classification/tax id)
|
|
9
9
|
const baseBusinessCoreInfoSchema = (allowOptionalFields) => {
|