@justifi/webcomponents 6.15.0-rc.2 → 6.16.0-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/{Analytics-COhunq0p.js → Analytics-jQsZxClw.js} +4 -4
- package/dist/cjs/{Api-Do6SaltY.js → Api-DqXlEWR1.js} +1 -1
- package/dist/cjs/{Business-oBifyXkW.js → Business-CNaz-VLa.js} +5 -1
- package/dist/cjs/{Plaid-D85oV9FN.js → Plaid-BcOAKDaU.js} +1 -1
- package/dist/cjs/additional-questions-form-step_15.cjs.entry.js +14 -14
- package/dist/cjs/additional-questions_4.cjs.entry.js +3 -3
- package/dist/cjs/additional-statement_8.cjs.entry.js +8 -8
- package/dist/cjs/bank-account-billing-form-simple_4.cjs.entry.js +15 -9
- package/dist/cjs/bank-account-document-form-inputs.cjs.entry.js +2 -2
- package/dist/cjs/bank-account-form.cjs.entry.js +68 -14
- package/dist/cjs/{business-form-options-CnlrfbQ6.js → business-form-options-BHBs_yiK.js} +1 -1
- package/dist/cjs/{business-identity-schema-hpDJFnB4.js → business-identity-schema-DuOIMFjG.js} +3 -3
- package/dist/cjs/{business.service-72YETCdB.js → business.service-Ca-olopC.js} +3 -3
- package/dist/cjs/card-form.cjs.entry.js +16 -12
- package/dist/cjs/{checkout-actions-BRQFQ6n-.js → checkout-actions-CQyGpVPe.js} +2 -2
- package/dist/cjs/{checkout.service-CPsXfx0Z.js → checkout.service-DBHPH2ji.js} +3 -3
- package/dist/cjs/{checkout.store-DaV9lvEQ.js → checkout.store-B5lTwvUV.js} +1 -0
- package/dist/cjs/{country-config-C1bWmF8P.js → country-config-CFC3KuVD.js} +25 -3
- package/dist/cjs/custom-popper_2.cjs.entry.js +2 -2
- package/dist/cjs/detect-duplicate-version-D8ZajVUT.js +29 -0
- package/dist/cjs/dispute-notification_2.cjs.entry.js +12 -12
- package/dist/cjs/{event-types-UHzCC7Ga.js → event-types-luy3xnYR.js} +3 -3
- package/dist/cjs/form-address-fields_3.cjs.entry.js +6 -6
- package/dist/cjs/form-alert_3.cjs.entry.js +116 -15
- package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/form-control-date.cjs.entry.js +2 -2
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +1 -1
- package/dist/cjs/form-control-file.cjs.entry.js +2 -2
- package/dist/cjs/form-control-monetary.cjs.entry.js +2 -2
- package/dist/cjs/form-control-number_2.cjs.entry.js +6 -6
- package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
- package/dist/cjs/form-control-select_2.cjs.entry.js +22 -6
- package/dist/cjs/{get-business-BpaRbn5S.js → get-business-BVxtiSDs.js} +3 -3
- package/dist/cjs/{get-payment-details-Cmg8gWvo.js → get-payment-details-DR1GgpyX.js} +3 -3
- package/dist/cjs/{get-subaccounts-Bp7DOmM_.js → get-subaccounts-D11aTYj1.js} +4 -4
- package/dist/cjs/{input-handlers-_51J5q7J.js → input-handlers-v9h_2Ysi.js} +1 -1
- package/dist/cjs/internal-button.cjs.entry.js +1 -1
- package/dist/cjs/justifi-apple-pay_12.cjs.entry.js +52 -30
- package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +8 -8
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +10 -9
- package/dist/cjs/justifi-billing-form-full.cjs.entry.js +1 -1
- package/dist/cjs/justifi-business-details.cjs.entry.js +11 -11
- package/dist/cjs/justifi-business-form.cjs.entry.js +14 -14
- package/dist/cjs/justifi-card-billing-form-simple.cjs.entry.js +1 -1
- package/dist/cjs/justifi-card-form.cjs.entry.js +11 -8
- package/dist/cjs/justifi-checkout-qr-code.cjs.entry.js +7 -7
- package/dist/cjs/justifi-checkout.cjs.entry.js +12 -10
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +6 -4
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +12 -12
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +10 -10
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +34 -21
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +12 -12
- package/dist/cjs/justifi-payment-details.cjs.entry.js +18 -18
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payments-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payout-details.cjs.entry.js +13 -13
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +12 -12
- package/dist/cjs/justifi-qr-terminal.cjs.entry.js +10 -10
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +10 -10
- package/dist/cjs/justifi-save-new-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +9 -9
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +5 -5
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +3 -3
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +11 -11
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-G3Vs7Jx5.js → package-B414Jbra.js} +1 -3
- package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
- package/dist/cjs/{payment-provisioning-actions-DDooZhhk.js → payment-provisioning-actions-SVp7B8pR.js} +2 -2
- package/dist/cjs/payment-provisioning-form-buttons_2.cjs.entry.js +1 -1
- package/dist/cjs/{payment.service-CVwTrHEL.js → payment.service-CNTe8vrp.js} +3 -3
- package/dist/cjs/{payout.service-CL3VR0hN.js → payout.service-BmU3q9jO.js} +3 -3
- package/dist/cjs/{payouts-status-1IUtW-UQ.js → payouts-status-BvHeuy9v.js} +2 -2
- package/dist/cjs/{plaid.service-Cukg5wuY.js → plaid.service-d9LAwbnX.js} +3 -3
- package/dist/cjs/radio-list-item.cjs.entry.js +1 -1
- package/dist/cjs/save-new-payment-method.cjs.entry.js +2 -2
- package/dist/cjs/{schema-validations-DehT309E.js → schema-validations-BDFa_oIq.js} +12 -5
- package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
- package/dist/cjs/{terminal.service-C0KG7BqL.js → terminal.service-BkQWZv9b.js} +3 -3
- package/dist/cjs/{utils-CBriZzRC.js → utils-BScgWJC5.js} +1 -1
- package/dist/cjs/utils-Ct_X5q0U.js +62 -0
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/Business.js +2 -0
- package/dist/collection/api/Checkout.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/business-details/justifi-business-details.js +3 -3
- package/dist/collection/components/business-forms/business-form/justifi-business-form.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.js +3 -2
- package/dist/collection/components/business-forms/payment-provisioning/justifi-payment-provisioning.js +2 -2
- package/dist/collection/components/business-forms/schemas/schema-helpers.js +2 -1
- package/dist/collection/components/business-forms/schemas/schema-validations.js +8 -1
- package/dist/collection/components/business-forms/utils/country-config.js +3 -2
- package/dist/collection/components/business-forms/utils/helpers.js +3 -1
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +90 -12
- package/dist/collection/components/checkout/billing-form/billing-form-full.js +6 -2
- package/dist/collection/components/checkout/billing-form/card-billing-form-simple.js +6 -2
- package/dist/collection/components/checkout/card-form/card-form.js +39 -11
- package/dist/collection/components/checkout/justifi-checkout.js +26 -4
- package/dist/collection/components/checkout/message-event-types.js +2 -0
- package/dist/collection/components/checkout/save-new-payment-method/justifi-save-new-payment-method.js +1 -1
- package/dist/collection/components/checkout/save-new-payment-method/save-new-payment-method.js +1 -1
- package/dist/collection/components/checkout-qr-code/justifi-checkout-qr-code.js +2 -2
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +4 -2
- package/dist/collection/components/checkouts-list/justifi-checkouts-list.js +5 -5
- package/dist/collection/components/dispute-management/dispute-notification.js +2 -2
- package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +3 -3
- package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
- package/dist/collection/components/dispute-management/justifi-dispute-management.js +3 -3
- package/dist/collection/components/filters/table-filters-menu.js +1 -1
- package/dist/collection/components/gross-payment-chart/justifi-gross-payment-chart.js +2 -2
- package/dist/collection/components/insurance/season-interruption/justifi-season-interruption-insurance.js +2 -2
- package/dist/collection/components/modular-checkout/justifi-modular-checkout.js +50 -12
- package/dist/collection/components/modular-checkout/sub-components/justifi-apple-pay.js +7 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-billing-form-simple.js +3 -3
- package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-form.js +33 -6
- package/dist/collection/components/modular-checkout/sub-components/justifi-billing-form-full.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-card-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-card-form.js +28 -3
- package/dist/collection/components/modular-checkout/sub-components/justifi-checkout-summary.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/paypal/justifi-paypal.js +1 -1
- package/dist/collection/components/order-terminals/justifi-order-terminals.js +3 -3
- package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
- package/dist/collection/components/payment-details/justifi-payment-details.js +10 -10
- package/dist/collection/components/payment-transactions-list/justifi-payment-transactions-list.js +3 -3
- package/dist/collection/components/payments-list/justifi-payments-list-filters.js +2 -2
- package/dist/collection/components/payments-list/justifi-payments-list.js +3 -3
- package/dist/collection/components/payout-details/justifi-payout-details.js +5 -5
- package/dist/collection/components/payout-transactions-list/justifi-payout-transactions-list.js +3 -3
- package/dist/collection/components/payouts-list/justifi-payouts-list-filters.js +2 -2
- package/dist/collection/components/payouts-list/justifi-payouts-list.js +3 -3
- package/dist/collection/components/qr-terminal/justifi-qr-terminal.js +2 -2
- package/dist/collection/components/refund-payment/justifi-refund-payment.js +2 -2
- package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list-filters.js +3 -3
- package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list.js +4 -4
- package/dist/collection/components/terminals-list/justifi-terminals-list-filters.js +1 -1
- package/dist/collection/components/terminals-list/justifi-terminals-list.js +3 -3
- package/dist/collection/components/tokenize-payment-method/justifi-tokenize-payment-method.js +45 -6
- package/dist/collection/store/checkout.store.js +1 -0
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- 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-select.js +2 -2
- package/dist/collection/ui-components/form/form-control-text.js +37 -4
- package/dist/collection/ui-components/form/iframe-input.js +136 -14
- package/dist/collection/ui-components/form/utils.js +32 -0
- package/dist/collection/ui-components/internal-button.js +1 -1
- package/dist/collection/ui-components/radio-list-item.js +1 -1
- package/dist/collection/utils/detect-duplicate-version.js +24 -0
- package/dist/collection/utils/postal-code.js +19 -0
- package/dist/docs.json +287 -18
- package/dist/esm/{Analytics-3WmRTICF.js → Analytics-DihSSvAP.js} +4 -4
- package/dist/esm/{Api-83B3f28Q.js → Api-INJHjnya.js} +1 -1
- package/dist/esm/{Business-DaDqgDrb.js → Business-CTtGaVYs.js} +5 -1
- package/dist/esm/{Plaid-BP3xNxQF.js → Plaid-CRcTLeaz.js} +1 -1
- package/dist/esm/additional-questions-form-step_15.entry.js +14 -14
- package/dist/esm/additional-questions_4.entry.js +3 -3
- package/dist/esm/additional-statement_8.entry.js +8 -8
- package/dist/esm/bank-account-billing-form-simple_4.entry.js +15 -9
- package/dist/esm/bank-account-document-form-inputs.entry.js +2 -2
- package/dist/esm/bank-account-form.entry.js +68 -14
- package/dist/esm/{business-form-options-BxVQL9ar.js → business-form-options-DLRkVtee.js} +1 -1
- package/dist/esm/{business-identity-schema-BkmRlnQo.js → business-identity-schema-BLKCH6xV.js} +3 -3
- package/dist/esm/{business.service-CTqiKKy5.js → business.service-C8f7OSEu.js} +3 -3
- package/dist/esm/card-form.entry.js +16 -12
- package/dist/esm/{checkout-actions-0ftD0elo.js → checkout-actions-CWnrb317.js} +2 -2
- package/dist/esm/{checkout.service-wjFjBxIB.js → checkout.service-BYDkC7uy.js} +3 -3
- package/dist/esm/{checkout.store-B2mtQcB5.js → checkout.store-B8CGkx0o.js} +1 -0
- package/dist/esm/{country-config-CJwnhkdq.js → country-config-DJFj1v-Q.js} +24 -4
- package/dist/esm/custom-popper_2.entry.js +2 -2
- package/dist/esm/detect-duplicate-version-C4r1WAzO.js +27 -0
- package/dist/esm/dispute-notification_2.entry.js +12 -12
- package/dist/esm/{event-types-cqQHLwCy.js → event-types-S8CgMbPg.js} +3 -3
- package/dist/esm/form-address-fields_3.entry.js +6 -6
- package/dist/esm/form-alert_3.entry.js +116 -15
- package/dist/esm/form-control-checkbox.entry.js +2 -2
- package/dist/esm/form-control-date.entry.js +2 -2
- package/dist/esm/form-control-file-v2_2.entry.js +1 -1
- package/dist/esm/form-control-file.entry.js +2 -2
- package/dist/esm/form-control-monetary.entry.js +2 -2
- package/dist/esm/form-control-number_2.entry.js +6 -6
- package/dist/esm/form-control-radio.entry.js +2 -2
- package/dist/esm/form-control-select_2.entry.js +22 -6
- package/dist/esm/{get-business-BLCT-zfN.js → get-business-IZpxKRZM.js} +3 -3
- package/dist/esm/{get-payment-details-BokzuPGl.js → get-payment-details-DSI41Pq5.js} +3 -3
- package/dist/esm/{get-subaccounts-ClGG-LRZ.js → get-subaccounts-BHWiH8q9.js} +4 -4
- package/dist/esm/{input-handlers-Dfuc6aDW.js → input-handlers-Dm8jO-BT.js} +1 -1
- package/dist/esm/internal-button.entry.js +1 -1
- package/dist/esm/justifi-apple-pay_12.entry.js +52 -30
- package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +8 -8
- package/dist/esm/justifi-bank-account-form.entry.js +10 -9
- package/dist/esm/justifi-billing-form-full.entry.js +1 -1
- package/dist/esm/justifi-business-details.entry.js +11 -11
- package/dist/esm/justifi-business-form.entry.js +14 -14
- package/dist/esm/justifi-card-billing-form-simple.entry.js +1 -1
- package/dist/esm/justifi-card-form.entry.js +11 -8
- package/dist/esm/justifi-checkout-qr-code.entry.js +7 -7
- package/dist/esm/justifi-checkout.entry.js +12 -10
- package/dist/esm/justifi-checkouts-list-filters.entry.js +6 -4
- package/dist/esm/justifi-checkouts-list.entry.js +12 -12
- package/dist/esm/justifi-dispute-management.entry.js +10 -10
- package/dist/esm/justifi-gross-payment-chart.entry.js +34 -21
- package/dist/esm/justifi-order-terminals.entry.js +12 -12
- package/dist/esm/justifi-payment-details.entry.js +18 -18
- package/dist/esm/justifi-payment-provisioning.entry.js +10 -10
- package/dist/esm/justifi-payment-transactions-list.entry.js +10 -10
- package/dist/esm/justifi-payments-list-filters.entry.js +2 -2
- package/dist/esm/justifi-payments-list.entry.js +10 -10
- package/dist/esm/justifi-payout-details.entry.js +13 -13
- package/dist/esm/justifi-payout-transactions-list.entry.js +10 -10
- package/dist/esm/justifi-payouts-list-filters.entry.js +4 -4
- package/dist/esm/justifi-payouts-list.entry.js +12 -12
- package/dist/esm/justifi-qr-terminal.entry.js +10 -10
- package/dist/esm/justifi-refund-payment.entry.js +10 -10
- package/dist/esm/justifi-save-new-payment-method.entry.js +1 -1
- package/dist/esm/justifi-season-interruption-insurance.entry.js +9 -9
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +5 -5
- package/dist/esm/justifi-terminal-orders-list.entry.js +10 -10
- package/dist/esm/justifi-terminals-list-filters.entry.js +3 -3
- package/dist/esm/justifi-terminals-list.entry.js +11 -11
- package/dist/esm/loader.js +1 -1
- package/dist/esm/package-BQpbTebi.js +5 -0
- package/dist/esm/payment-method-option.entry.js +1 -1
- package/dist/esm/{payment-provisioning-actions-VRIPjnAQ.js → payment-provisioning-actions-VtleD509.js} +2 -2
- package/dist/esm/payment-provisioning-form-buttons_2.entry.js +1 -1
- package/dist/esm/{payment.service-D7uv5vym.js → payment.service-CQXRsu6Y.js} +3 -3
- package/dist/esm/{payout.service-BoSyqft1.js → payout.service-RRyWfpEK.js} +3 -3
- package/dist/esm/{payouts-status-CaiC5qpn.js → payouts-status-CnIf4XDi.js} +2 -2
- package/dist/esm/{plaid.service-DufQkxDk.js → plaid.service-Cg3E3Plo.js} +3 -3
- package/dist/esm/radio-list-item.entry.js +1 -1
- package/dist/esm/save-new-payment-method.entry.js +2 -2
- package/dist/esm/{schema-validations-8dbMCACI.js → schema-validations-8GJ34Do1.js} +12 -5
- package/dist/esm/table-filters-menu.entry.js +1 -1
- package/dist/esm/terminal-quantity-selector.entry.js +1 -1
- package/dist/esm/{terminal.service-BM2aebB6.js → terminal.service-Dy6D8bnl.js} +3 -3
- package/dist/esm/utils-Cpck08K0.js +59 -0
- package/dist/esm/{utils-YUOJKtjO.js → utils-DaPywmTI.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Business.js +5 -1
- package/dist/module/Plaid.js +1 -1
- package/dist/module/additional-statement2.js +1 -1
- package/dist/module/bank-account-form2.js +65 -10
- package/dist/module/billing-form-full2.js +6 -2
- package/dist/module/cancellation-policy2.js +1 -1
- package/dist/module/card-billing-form-simple2.js +6 -2
- package/dist/module/card-form2.js +14 -9
- package/dist/module/checkout.store.js +1 -0
- package/dist/module/country-config.js +23 -3
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details2.js +1 -1
- package/dist/module/detect-duplicate-version.js +27 -0
- package/dist/module/dispute-notification2.js +2 -2
- package/dist/module/dispute-response2.js +3 -3
- package/dist/module/duplicate-charge2.js +1 -1
- package/dist/module/electronic-evidence2.js +1 -1
- package/dist/module/form-address-fields2.js +3 -3
- 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-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-select2.js +2 -2
- package/dist/module/form-control-text2.js +21 -4
- package/dist/module/iframe-input2.js +119 -15
- package/dist/module/internal-button2.js +1 -1
- package/dist/module/justifi-apple-pay2.js +7 -1
- package/dist/module/justifi-bank-account-billing-form-simple.js +3 -3
- package/dist/module/justifi-bank-account-form.js +6 -4
- package/dist/module/justifi-billing-form-full.js +1 -1
- package/dist/module/justifi-business-details.js +3 -3
- package/dist/module/justifi-business-form.js +2 -2
- package/dist/module/justifi-card-billing-form-simple.js +1 -1
- package/dist/module/justifi-card-form.js +6 -3
- package/dist/module/justifi-checkout-qr-code2.js +2 -2
- package/dist/module/justifi-checkout-summary2.js +1 -1
- package/dist/module/justifi-checkout.js +7 -4
- package/dist/module/justifi-checkouts-list-filters.js +4 -2
- package/dist/module/justifi-checkouts-list.js +4 -4
- package/dist/module/justifi-dispute-management.js +3 -3
- package/dist/module/justifi-gross-payment-chart.js +28 -15
- package/dist/module/justifi-modular-checkout2.js +30 -12
- package/dist/module/justifi-order-terminals.js +3 -3
- package/dist/module/justifi-payment-details.js +10 -10
- package/dist/module/justifi-payment-provisioning.js +2 -2
- package/dist/module/justifi-payment-transactions-list.js +3 -3
- package/dist/module/justifi-payments-list-filters.js +2 -2
- package/dist/module/justifi-payments-list.js +3 -3
- package/dist/module/justifi-payout-details.js +5 -5
- package/dist/module/justifi-payout-transactions-list.js +3 -3
- package/dist/module/justifi-payouts-list-filters.js +2 -2
- package/dist/module/justifi-payouts-list.js +3 -3
- package/dist/module/justifi-paypal2.js +1 -1
- package/dist/module/justifi-qr-terminal.js +2 -2
- package/dist/module/justifi-refund-payment.js +2 -2
- package/dist/module/justifi-save-new-payment-method.js +1 -1
- package/dist/module/justifi-season-interruption-insurance.js +2 -2
- package/dist/module/justifi-terminal-orders-list-filters.js +3 -3
- package/dist/module/justifi-terminal-orders-list.js +4 -4
- package/dist/module/justifi-terminals-list-filters.js +1 -1
- package/dist/module/justifi-terminals-list.js +3 -3
- package/dist/module/justifi-tokenize-payment-method2.js +9 -6
- package/dist/module/package.js +1 -3
- package/dist/module/payment-method-option.js +1 -1
- package/dist/module/product-or-service2.js +1 -1
- package/dist/module/radio-list-item2.js +1 -1
- package/dist/module/refund-policy2.js +1 -1
- package/dist/module/save-new-payment-method2.js +1 -1
- package/dist/module/schema-validations.js +10 -3
- package/dist/module/shipping-details2.js +1 -1
- package/dist/module/table-filters-menu2.js +1 -1
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/utils4.js +33 -1
- package/dist/types/api/Business.d.ts +2 -0
- package/dist/types/api/Checkout.d.ts +7 -7
- package/dist/types/components/checkout/bank-account-form/bank-account-form.d.ts +8 -1
- package/dist/types/components/checkout/card-form/card-form.d.ts +5 -1
- package/dist/types/components/checkout/justifi-checkout.d.ts +2 -0
- package/dist/types/components/checkout/message-event-types.d.ts +2 -0
- package/dist/types/components/checkouts-list/justifi-checkouts-list.d.ts +1 -1
- package/dist/types/components/modular-checkout/justifi-modular-checkout.d.ts +9 -0
- package/dist/types/components/modular-checkout/sub-components/justifi-apple-pay.d.ts +1 -0
- package/dist/types/components/modular-checkout/sub-components/justifi-bank-account-form.d.ts +4 -1
- package/dist/types/components/modular-checkout/sub-components/justifi-card-form.d.ts +9 -0
- package/dist/types/components/tokenize-payment-method/justifi-tokenize-payment-method.d.ts +9 -0
- package/dist/types/components.d.ts +86 -4
- package/dist/types/store/checkout.store.d.ts +1 -0
- package/dist/types/ui-components/form/form-control-text.d.ts +1 -0
- package/dist/types/ui-components/form/iframe-input.d.ts +24 -0
- package/dist/types/ui-components/form/utils.d.ts +1 -0
- package/dist/types/utils/detect-duplicate-version.d.ts +7 -0
- package/dist/types/utils/postal-code.d.ts +3 -0
- package/dist/webcomponents/p-12daf522.entry.js +1 -0
- package/dist/webcomponents/p-1a1aef42.entry.js +1 -0
- package/dist/webcomponents/p-1ceb65cc.entry.js +1 -0
- package/dist/webcomponents/p-1ff1dcc5.entry.js +20 -0
- package/dist/webcomponents/{p-777470cb.entry.js → p-2272a65b.entry.js} +1 -1
- package/dist/webcomponents/{p-c4889a06.entry.js → p-2d25f1d1.entry.js} +1 -1
- package/dist/webcomponents/{p-c5424fda.entry.js → p-30ec1cd6.entry.js} +1 -1
- package/dist/webcomponents/p-357d14ee.entry.js +1 -0
- package/dist/webcomponents/{p-ead48010.entry.js → p-4450dbe9.entry.js} +1 -1
- package/dist/webcomponents/p-4c7e7880.entry.js +1 -0
- package/dist/webcomponents/p-4d85dd63.entry.js +1 -0
- package/dist/webcomponents/p-521c534c.entry.js +1 -0
- package/dist/webcomponents/p-5babaaa9.entry.js +1 -0
- package/dist/webcomponents/{p-1cdbe8c1.entry.js → p-5c889829.entry.js} +1 -1
- package/dist/webcomponents/{p-f5358a80.entry.js → p-5e8f26ec.entry.js} +1 -1
- package/dist/webcomponents/p-622c2af4.entry.js +1 -0
- package/dist/webcomponents/{p-9e3e2e32.entry.js → p-6aaf2758.entry.js} +1 -1
- package/dist/webcomponents/p-6bfdc443.entry.js +1 -0
- package/dist/webcomponents/{p-42021e67.entry.js → p-6f3b035b.entry.js} +1 -1
- package/dist/webcomponents/p-73af269e.entry.js +1 -0
- package/dist/webcomponents/{p-ced6f6f1.entry.js → p-7ff788f8.entry.js} +1 -1
- package/dist/webcomponents/{p-c3818a5a.entry.js → p-846ae5d5.entry.js} +1 -1
- package/dist/webcomponents/p-8758aec4.entry.js +1 -0
- package/dist/webcomponents/p-87f8d4e7.entry.js +1 -0
- package/dist/webcomponents/p-8c22ff9c.entry.js +1 -0
- package/dist/webcomponents/p-91358854.entry.js +1 -0
- package/dist/webcomponents/{p-f3682c72.entry.js → p-956707a2.entry.js} +1 -1
- package/dist/webcomponents/p-9c1863d5.entry.js +1 -0
- package/dist/webcomponents/p-BDtSw_d-.js +1 -0
- package/dist/webcomponents/{p-CIpBEUtx.js → p-BG8NxEUn.js} +1 -1
- package/dist/webcomponents/p-BKtKrQzN.js +1 -0
- package/dist/webcomponents/p-BQpbTebi.js +1 -0
- package/dist/webcomponents/{p-nbKvRcwU.js → p-Bh5BNj74.js} +1 -1
- package/dist/webcomponents/{p-CLq3Og7o.js → p-BhpaUYtS.js} +1 -1
- package/dist/webcomponents/{p-vIQBTQmc.js → p-BtiJJJwv.js} +1 -1
- package/dist/webcomponents/{p-DZQBPUfH.js → p-Bxc0NRj8.js} +1 -1
- package/dist/webcomponents/p-BzESNgd8.js +1 -0
- package/dist/webcomponents/p-C9p1gWAC.js +1 -0
- package/dist/webcomponents/p-CTtGaVYs.js +1 -0
- package/dist/webcomponents/p-CgOgijHy.js +1 -0
- package/dist/webcomponents/p-CkrzG0pB.js +1 -0
- package/dist/webcomponents/p-Cl6irPVE.js +1 -0
- package/dist/webcomponents/p-Cpck08K0.js +1 -0
- package/dist/webcomponents/{p-OReJ-ZQb.js → p-CtlBL-X6.js} +1 -1
- package/dist/webcomponents/p-Cy_sz0Tx.js +1 -0
- package/dist/webcomponents/p-D42DvqTW.js +1 -0
- package/dist/webcomponents/p-D7nyPi2Q.js +1 -0
- package/dist/webcomponents/p-DBudSN_h.js +1 -0
- package/dist/webcomponents/p-DMzYgqml.js +1 -0
- package/dist/webcomponents/{p-B0DHIvEj.js → p-DQmijfCN.js} +1 -1
- package/dist/webcomponents/p-Dqxyi-uK.js +1 -0
- package/dist/webcomponents/p-FsWkrvEF.js +1 -0
- package/dist/webcomponents/p-MLQyjvrV.js +1 -0
- package/dist/webcomponents/p-a095b86d.entry.js +1 -0
- package/dist/webcomponents/p-a1e1afa4.entry.js +1 -0
- package/dist/webcomponents/p-a2c4e99f.entry.js +1 -0
- package/dist/webcomponents/p-a8f1c9b3.entry.js +1 -0
- package/dist/webcomponents/{p-5d7b3d71.entry.js → p-b665841f.entry.js} +1 -1
- package/dist/webcomponents/p-b925d666.entry.js +1 -0
- package/dist/webcomponents/p-bc3e46af.entry.js +1 -0
- package/dist/webcomponents/p-c172decb.entry.js +1 -0
- package/dist/webcomponents/p-c9871158.entry.js +1 -0
- package/dist/webcomponents/p-d19d7d41.entry.js +1 -0
- package/dist/webcomponents/{p-6c94218c.entry.js → p-d35cde99.entry.js} +1 -1
- package/dist/webcomponents/{p-cb1cc88e.entry.js → p-d48f80d1.entry.js} +1 -1
- package/dist/webcomponents/{p-eb31024f.entry.js → p-dae31a59.entry.js} +1 -1
- package/dist/webcomponents/p-deff4422.entry.js +1 -0
- package/dist/webcomponents/{p-1365a46b.entry.js → p-e3c7b4e5.entry.js} +1 -1
- package/dist/webcomponents/{p-d98bc829.entry.js → p-e6d1e3e2.entry.js} +1 -1
- package/dist/webcomponents/{p-97c6593d.entry.js → p-ebae270b.entry.js} +1 -1
- package/dist/webcomponents/p-ebed68aa.entry.js +1 -0
- package/dist/webcomponents/{p-bf3866b3.entry.js → p-f0084d20.entry.js} +1 -1
- package/dist/webcomponents/p-f0da2ca5.entry.js +1 -0
- package/dist/webcomponents/p-f23d7d13.entry.js +1 -0
- package/dist/webcomponents/p-f2c99647.entry.js +1 -0
- package/dist/webcomponents/{p-e55216fb.entry.js → p-f39889f2.entry.js} +1 -1
- package/dist/webcomponents/p-f458928d.entry.js +1 -0
- package/dist/webcomponents/{p-0aa96018.entry.js → p-f5686720.entry.js} +1 -1
- package/dist/webcomponents/p-f681f747.entry.js +1 -0
- package/dist/webcomponents/{p-6eb65d23.entry.js → p-f6efd9e0.entry.js} +1 -1
- package/dist/webcomponents/{p-7002286e.entry.js → p-fa0427d5.entry.js} +1 -1
- package/dist/webcomponents/p-fb1f2fe8.entry.js +1 -0
- package/dist/webcomponents/p-fcc5af24.entry.js +1 -0
- package/dist/webcomponents/p-hdPjEOdB.js +1 -0
- package/dist/webcomponents/{p-CJEetAx7.js → p-l3JhjHLW.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +2 -4
- package/dist/cjs/check-pkg-version-BxGoSXGD.js +0 -47
- package/dist/cjs/utils-DAyWinG2.js +0 -29
- package/dist/collection/utils/check-pkg-version.js +0 -42
- package/dist/esm/check-pkg-version-CmFl6VLH.js +0 -45
- package/dist/esm/package-CAVi_ne1.js +0 -7
- package/dist/esm/utils-BnjCmwMr.js +0 -27
- package/dist/module/check-pkg-version.js +0 -45
- package/dist/types/utils/check-pkg-version.d.ts +0 -1
- package/dist/webcomponents/p-0fbc806f.entry.js +0 -1
- package/dist/webcomponents/p-10787684.entry.js +0 -1
- package/dist/webcomponents/p-1fa62eba.entry.js +0 -1
- package/dist/webcomponents/p-25f70d5f.entry.js +0 -1
- package/dist/webcomponents/p-27igUlku.js +0 -1
- package/dist/webcomponents/p-36340e63.entry.js +0 -1
- package/dist/webcomponents/p-3642e189.entry.js +0 -1
- package/dist/webcomponents/p-388082cd.entry.js +0 -1
- package/dist/webcomponents/p-3f2fb856.entry.js +0 -1
- package/dist/webcomponents/p-4cad48c1.entry.js +0 -1
- package/dist/webcomponents/p-50c2b8f0.entry.js +0 -1
- package/dist/webcomponents/p-5842d4e8.entry.js +0 -1
- package/dist/webcomponents/p-5c89dcdf.entry.js +0 -1
- package/dist/webcomponents/p-5dcb1713.entry.js +0 -1
- package/dist/webcomponents/p-5f8c30b6.entry.js +0 -1
- package/dist/webcomponents/p-68e88747.entry.js +0 -1
- package/dist/webcomponents/p-6931a1f2.entry.js +0 -1
- package/dist/webcomponents/p-72bb4aff.entry.js +0 -1
- package/dist/webcomponents/p-74575a99.entry.js +0 -1
- package/dist/webcomponents/p-7c405573.entry.js +0 -1
- package/dist/webcomponents/p-825a7ee6.entry.js +0 -1
- package/dist/webcomponents/p-909a9828.entry.js +0 -20
- package/dist/webcomponents/p-955c06d3.entry.js +0 -1
- package/dist/webcomponents/p-9e9a2546.entry.js +0 -1
- package/dist/webcomponents/p-9f0ef3f3.entry.js +0 -1
- package/dist/webcomponents/p-BAKuMxC9.js +0 -1
- package/dist/webcomponents/p-BEL8sLz6.js +0 -1
- package/dist/webcomponents/p-BSxXlu9H.js +0 -1
- package/dist/webcomponents/p-BnjCmwMr.js +0 -1
- package/dist/webcomponents/p-CAVi_ne1.js +0 -1
- package/dist/webcomponents/p-CXsRwohv.js +0 -1
- package/dist/webcomponents/p-CawcnSoV.js +0 -1
- package/dist/webcomponents/p-CbyGKcz_.js +0 -1
- package/dist/webcomponents/p-Cy2N3vAg.js +0 -1
- package/dist/webcomponents/p-CyOXIqHo.js +0 -1
- package/dist/webcomponents/p-D6uhYbLo.js +0 -1
- package/dist/webcomponents/p-DN7VhlTn.js +0 -1
- package/dist/webcomponents/p-DNuxxP2B.js +0 -1
- package/dist/webcomponents/p-D_84NsmN.js +0 -1
- package/dist/webcomponents/p-DaDqgDrb.js +0 -1
- package/dist/webcomponents/p-Do9dxNjh.js +0 -1
- package/dist/webcomponents/p-Fpaf7CLD.js +0 -1
- package/dist/webcomponents/p-PdwJswAy.js +0 -1
- package/dist/webcomponents/p-acb0b66c.entry.js +0 -1
- package/dist/webcomponents/p-b23dfa13.entry.js +0 -1
- package/dist/webcomponents/p-b98ea26a.entry.js +0 -1
- package/dist/webcomponents/p-ca13117d.entry.js +0 -1
- package/dist/webcomponents/p-ca6c5365.entry.js +0 -1
- package/dist/webcomponents/p-d59676ea.entry.js +0 -1
- package/dist/webcomponents/p-ee7fe3a8.entry.js +0 -1
- package/dist/webcomponents/p-f0434a13.entry.js +0 -1
- package/dist/webcomponents/p-f9f0cb1f.entry.js +0 -1
- package/dist/webcomponents/p-fda6f27d.entry.js +0 -1
- package/dist/webcomponents/p-fdd087d4.entry.js +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index_esm = require('./index.esm-BNETBIV_.js');
|
|
4
|
-
var countryConfig = require('./country-config-
|
|
5
|
-
var Business = require('./Business-
|
|
6
|
-
var businessFormOptions = require('./business-form-options-
|
|
4
|
+
var countryConfig = require('./country-config-CFC3KuVD.js');
|
|
5
|
+
var Business = require('./Business-CNaz-VLa.js');
|
|
6
|
+
var businessFormOptions = require('./business-form-options-BHBs_yiK.js');
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* US states/territories + Canadian provinces/territories for checkout billing only.
|
|
@@ -34,7 +34,8 @@ const validateRoutingNumber = (routingNumber) => {
|
|
|
34
34
|
const phoneRegex = /^\d{10}$/;
|
|
35
35
|
const urlRegex = /^(?:http(s)?:\/\/)?(?:www\.)?[-a-zA-Z0-9@:%._+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_+.~#?&//=]*)$/;
|
|
36
36
|
const numbersOnlyRegex = /^\d+$/;
|
|
37
|
-
|
|
37
|
+
// 9XX area allowed so ITINs pass
|
|
38
|
+
const ssnRegex = /^(?!000|666)\d{3}(?!00)\d{2}(?!0000)\d{4}$/;
|
|
38
39
|
const poBoxRegex = /P\.?\s?O\.?\s?Box|Postal\sBox/i;
|
|
39
40
|
|
|
40
41
|
// Common Validations
|
|
@@ -72,6 +73,11 @@ const taxIdValidation = index_esm.create$6()
|
|
|
72
73
|
.transform(transformEmptyString);
|
|
73
74
|
// Country-aware helpers (backward compatible)
|
|
74
75
|
const makePostalValidation = (country) => index_esm.create$6()
|
|
76
|
+
// Normalize before matching so a stored value that predates the canonical
|
|
77
|
+
// format — 'm5v2t6', 'M5V-2T6' — still validates. Nothing in vault or
|
|
78
|
+
// entity_management ever enforced a format, and Stripe imports copy the
|
|
79
|
+
// merchant's own spelling verbatim.
|
|
80
|
+
.transform(countryConfig.normalizePostalCode)
|
|
75
81
|
.matches(countryConfig.countryValidation[country].postalRegex, 'Enter valid postal code')
|
|
76
82
|
.transform(transformEmptyString);
|
|
77
83
|
const makeIdentityNumberValidation = (country) => {
|
|
@@ -194,7 +200,8 @@ const stateValidation = index_esm.create$6()
|
|
|
194
200
|
.oneOf(checkoutBillingStateOptions.map((option) => option.value), 'Select a valid state or province')
|
|
195
201
|
.transform(transformEmptyString);
|
|
196
202
|
const postalValidation = index_esm.create$6()
|
|
197
|
-
.
|
|
203
|
+
.transform(countryConfig.normalizePostalCode)
|
|
204
|
+
.matches(countryConfig.CA_OR_US_POSTAL_REGEX, 'Enter valid postal code')
|
|
198
205
|
.transform(transformEmptyString);
|
|
199
206
|
// Additional Questions Validations
|
|
200
207
|
const revenueValidation = index_esm.create$6()
|
|
@@ -29,7 +29,7 @@ const TableFiltersMenu = class {
|
|
|
29
29
|
this.showClearButton = hasFilters(this.params);
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
return (index.h("div", { key: '
|
|
32
|
+
return (index.h("div", { key: 'dfea7fc09cd4d3799af064eb413088d2e68b379e', class: "d-flex gap-2" }, index.h("div", { key: 'dfc0ff09dc4117ce6871167376ce0b66d2df123a', class: "dropdown pb-3" }, index.h("button", { key: '2796cf3464e59b95edbd77e3bc9e0d60f22a9a86', type: "button dropdown-toggle", ref: (el) => (this.anchorButton = el), class: "btn btn-primary dropdown-toggle", part: parts.dropdownMenuButton, "data-test-id": "open-filters-button", "data-bs-toggle": "dropdown" }, "Filters"), index.h("custom-popper", { key: 'e9edff3a2c800ab9fbfd834cb55338caebac1fdc', offset: [20, 10], strategy: "fixed", anchorRef: this.anchorButton, trigger: "click" }, index.h("form", { key: 'abf8d0f0f059a9981897e231a2255c7f2b545a0c', class: "dropdown-menu", part: parts.dropdownMenu, "data-test-id": "filter-menu", ref: (el) => (this.menu = el), onSubmit: (e) => e.preventDefault() }, index.h("slot", { key: '1816909bb5bc3c9f7ddd2c37a6edc5bb00260900' })))), index.h("div", { key: '2e3dbb4b5b8caeacc1a64dc74e2df9f7d975b680' }, index.h(button.Button, { key: '2b588ef261aa1ff4db00a90c21ca4e6c7cc90f1e', variant: "secondary", onClick: () => this.clearParams(), hidden: !this.showClearButton, "data-test-id": "clear-filters-button" }, "Clear Filters"))));
|
|
33
33
|
}
|
|
34
34
|
static get watchers() { return {
|
|
35
35
|
"params": ["watchParamsHandler"]
|
|
@@ -23,7 +23,7 @@ const TerminalQuantitySelector = class {
|
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
|
-
return (index.h("div", { key: '
|
|
26
|
+
return (index.h("div", { key: '38cd0765871fd366af0adc09910add544ecefb93', class: "rounded shadow-sm card p-2", part: parts.card }, index.h("div", { key: '5e367d97287d3fef28e4f24d78384c6d02ab1540', class: "d-flex gap-3" }, index.h("div", { key: 'e031d923a5a01665a7f1a37e1d7df529ba51b0b2', class: "d-flex align-items-center" }, index.h("img", { key: 'b520afcdbd4946105324410499aa4ede31da1a72', src: this.imageUrl, alt: this.modelName, height: 75, width: 75, part: parts.image })), index.h("div", { key: '5bdb4760b16241d9cd76e70245a19555dce6f723', class: "d-flex flex-column flex-grow-1 gap-3 p-4 justify-content-center" }, index.h("div", { key: '598bab6407c43f94896a1782b60f048696361113', class: "row" }, index.h("div", { key: 'c340942cadb9dc0411f7d7815f1ccc9df75cbfbc', class: "col-6 d-flex gap-2" }, this.modelName, index.h("form-control-tooltip", { key: '1f0a3deeb00abcf3e3cd01fecdeb0435f091cbac', helpText: this.description })), index.h("div", { key: 'df8b8567640a567a4b8f238a21c6ed57d60e444a', class: "col-6 d-flex justify-content-end align-items-center" }, index.h("button", { key: 'baf59d5ede260d44a8ebfaaf95d8d134f3ef60da', class: "p-0 minus btn", onClick: this.removeUnit, part: parts.buttonLink }, "-"), index.h("div", { key: 'cd3f528e9a56385cd17b23eb85185c51cd0dff67', class: "w-25 text-center" }, this.selectedQuantity), index.h("button", { key: '6a55baa1403892f79600ff4ee85734c14a5f2ecc', class: "p-0 plus btn", onClick: this.addUnit, part: parts.buttonLink }, "+")))))));
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
29
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var Api = require('./Api-
|
|
4
|
-
require('./Plaid-
|
|
3
|
+
var Api = require('./Api-DqXlEWR1.js');
|
|
4
|
+
require('./Plaid-BcOAKDaU.js');
|
|
5
5
|
require('./Pagination-Dediz133.js');
|
|
6
|
-
require('./Business-
|
|
6
|
+
require('./Business-CNaz-VLa.js');
|
|
7
7
|
|
|
8
8
|
const api = Api.Api();
|
|
9
9
|
class TerminalService {
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const numberOnlyHandler = (e) => {
|
|
4
|
+
var _a;
|
|
5
|
+
const specialKeys = ['Backspace', 'Tab', 'Enter', 'ArrowUp', 'ArrowDown', 'ArrowLeft', 'ArrowRight', 'Delete'];
|
|
6
|
+
// Check if the key is a special key
|
|
7
|
+
if (e instanceof KeyboardEvent && specialKeys.includes(e.key)) {
|
|
8
|
+
return;
|
|
9
|
+
}
|
|
10
|
+
// Allow Ctrl+V / Command+V for pasting
|
|
11
|
+
const isPaste = e instanceof KeyboardEvent && (e.ctrlKey || e.metaKey) && e.key.toLowerCase() === 'v';
|
|
12
|
+
if (isPaste) {
|
|
13
|
+
return;
|
|
14
|
+
}
|
|
15
|
+
// Handle paste event
|
|
16
|
+
if (e instanceof ClipboardEvent) {
|
|
17
|
+
const clipboardData = (_a = e.clipboardData) === null || _a === void 0 ? void 0 : _a.getData('text');
|
|
18
|
+
if (clipboardData && !/^\d+$/.test(clipboardData)) {
|
|
19
|
+
e.preventDefault();
|
|
20
|
+
}
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
// Prevent default action if the key is not a digit
|
|
24
|
+
if (e instanceof KeyboardEvent && !/^\d$/.test(e.key)) {
|
|
25
|
+
e.preventDefault();
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
// A US ZIP+4 ("44240-5555") carries a hyphen, which numberOnlyHandler blocks,
|
|
29
|
+
// so the postal field gets its own handler: digits plus a single hyphen.
|
|
30
|
+
const zipCodeOnlyHandler = (e) => {
|
|
31
|
+
var _a, _b, _c;
|
|
32
|
+
const specialKeys = ['Backspace', 'Tab', 'Enter', 'ArrowUp', 'ArrowDown', 'ArrowLeft', 'ArrowRight', 'Delete'];
|
|
33
|
+
// Handle paste event. `ClipboardEvent` is not a global in the spec
|
|
34
|
+
// environment, so the paste branch is recognized by its payload.
|
|
35
|
+
if ('clipboardData' in e) {
|
|
36
|
+
const clipboardData = (_a = e.clipboardData) === null || _a === void 0 ? void 0 : _a.getData('text');
|
|
37
|
+
if (clipboardData && !/^\d+(-\d+)?$/.test(clipboardData)) {
|
|
38
|
+
e.preventDefault();
|
|
39
|
+
}
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
// Check if the key is a special key
|
|
43
|
+
if (specialKeys.includes(e.key)) {
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
46
|
+
// Allow Ctrl+V / Command+V for pasting
|
|
47
|
+
if ((e.ctrlKey || e.metaKey) && e.key.toLowerCase() === 'v') {
|
|
48
|
+
return;
|
|
49
|
+
}
|
|
50
|
+
// A single hyphen separates the ZIP from the +4; a second one never does.
|
|
51
|
+
const alreadyHyphenated = !!((_c = (_b = e.target) === null || _b === void 0 ? void 0 : _b.value) === null || _c === void 0 ? void 0 : _c.includes('-'));
|
|
52
|
+
if (e.key === '-' && !alreadyHyphenated) {
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
// Prevent default action if the key is not a digit
|
|
56
|
+
if (!/^\d$/.test(e.key)) {
|
|
57
|
+
e.preventDefault();
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
exports.numberOnlyHandler = numberOnlyHandler;
|
|
62
|
+
exports.zipCodeOnlyHandler = zipCodeOnlyHandler;
|
|
@@ -46,7 +46,7 @@ var patchCloneNodeFix = (HTMLElementPrototype) => {
|
|
|
46
46
|
|
|
47
47
|
patchBrowser().then(async (options) => {
|
|
48
48
|
await appGlobals.globalScripts();
|
|
49
|
-
return index.bootstrapLazy(JSON.parse("[[\"justifi-checkout.cjs\",[[260,\"justifi-checkout\",{\"authToken\":[1,\"auth-token\"],\"checkoutId\":[1,\"checkout-id\"],\"disableBankAccount\":[4,\"disable-bank-account\"],\"disableBnpl\":[4,\"disable-bnpl\"],\"disableCreditCard\":[4,\"disable-credit-card\"],\"disablePaymentMethodGroup\":[4,\"disable-payment-method-group\"],\"hideBankAccountBillingForm\":[4,\"hide-bank-account-billing-form\"],\"hideCardBillingForm\":[4,\"hide-card-billing-form\"],\"googlePayEnv\":[1,\"google-pay-env\"],\"preCompleteHook\":[16],\"availablePaymentMethods\":[32],\"checkout\":[32],\"complete\":[32],\"errorMessage\":[32],\"insuranceToggled\":[32],\"serverError\":[32],\"fillBillingForm\":[64],\"validate\":[64]},[[0,\"submit-event\",\"checkoutComplete\"],[0,\"error-event\",\"checkoutError\"],[0,\"checkout-changed\",\"checkoutChanged\"]],{\"authToken\":[\"propChanged\"],\"checkoutId\":[\"propChanged\"],\"disableCreditCard\":[\"propChanged\"],\"disableBankAccount\":[\"propChanged\"],\"disablePaymentMethodGroup\":[\"propChanged\"]}]]],[\"justifi-payment-provisioning.cjs\",[[257,\"justifi-payment-provisioning\",{\"businessId\":[1,\"business-id\"],\"authToken\":[1,\"auth-token\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formTitle\":[1,\"form-title\"],\"loading\":[32],\"businessLoading\":[32],\"businessProvisioned\":[32],\"formSubmitted\":[32],\"submissionFailed\":[32],\"currentStep\":[32],\"errorMessage\":[32],\"country\":[32]},[[0,\"formCompleted\",\"handleFormCompleted\"],[0,\"formLoading\",\"handleFormLoading\"]],{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}]]],[\"justifi-dispute-management.cjs\",[[257,\"justifi-dispute-management\",{\"disputeId\":[1,\"dispute-id\"],\"authToken\":[1,\"auth-token\"],\"getDispute\":[32],\"dispute\":[32],\"isLoading\":[32],\"showDisputeResponseForm\":[32]},[[0,\"click-event\",\"disputeResponseHandler\"],[0,\"submit-event\",\"disputeSubmittedHandler\"]],{\"disputeId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-business-form.cjs\",[[257,\"justifi-business-form\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"hideErrors\":[4,\"hide-errors\"],\"formTitle\":[1,\"form-title\"],\"removeTitle\":[4,\"remove-title\"],\"isLoading\":[32],\"isSaving\":[32],\"errorMessage\":[32],\"country\":[32]}]]],[\"justifi-billing-form.cjs\",[[257,\"justifi-billing-form\",{\"legend\":[1025],\"hideCardBillingForm\":[4,\"hide-card-billing-form\"],\"hideBankAccountBillingForm\":[4,\"hide-bank-account-billing-form\"],\"paymentMethodType\":[1,\"payment-method-type\"],\"getValues\":[64],\"validate\":[64]}]]],[\"justifi-business-details.cjs\",[[257,\"justifi-business-details\",{\"businessId\":[1,\"business-id\"],\"authToken\":[1,\"auth-token\"],\"getBusiness\":[32],\"business\":[32],\"loading\":[32],\"errorMessage\":[32]},null,{\"businessId\":[\"propChanged\"],\"authToken\":[\"propChanged\"],\"getBusiness\":[\"updateOnPropChange\"]}]]],[\"justifi-checkouts-list-filters.cjs\",[[257,\"justifi-checkouts-list-filters\",{\"checkoutStatus\":[1,\"checkout-status\"],\"paymentMode\":[1,\"payment-mode\"],\"checkoutId\":[1,\"checkout-id\"],\"successfulPaymentId\":[1,\"successful-payment-id\"],\"createdAfter\":[1,\"created-after\"],\"createdBefore\":[1,\"created-before\"]}]]],[\"justifi-payments-list-filters.cjs\",[[257,\"justifi-payments-list-filters\",{\"paymentId\":[1,\"payment-id\"],\"terminalId\":[1,\"terminal-id\"],\"paymentStatus\":[1,\"payment-status\"],\"paymentMode\":[1,\"payment-mode\"],\"checkoutId\":[1,\"checkout-id\"],\"accountHolder\":[1,\"account-holder\"],\"createdAfter\":[1,\"created-after\"],\"createdBefore\":[1,\"created-before\"]}]]],[\"justifi-refund-payment.cjs\",[[257,\"justifi-refund-payment\",{\"authToken\":[1,\"auth-token\"],\"accountId\":[1,\"account-id\"],\"paymentId\":[1,\"payment-id\"],\"hideSubmitButton\":[4,\"hide-submit-button\"],\"formController\":[32],\"refundPayload\":[32],\"displayAmount\":[32],\"errors\":[32],\"paymentLoading\":[32],\"refundLoading\":[32],\"submitDisabled\":[32],\"payment\":[32],\"refundPayment\":[64]}]]],[\"justifi-terminal-orders-list-filters.cjs\",[[257,\"justifi-terminal-orders-list-filters\",{\"orderStatus\":[1,\"order-status\"],\"orderType\":[1,\"order-type\"],\"createdAfter\":[1,\"created-after\"],\"createdBefore\":[1,\"created-before\"],\"companyName\":[1,\"company-name\"]}]]],[\"justifi-terminals-list-filters.cjs\",[[257,\"justifi-terminals-list-filters\",{\"terminalId\":[1,\"terminal-id\"],\"terminalOrderId\":[1,\"terminal-order-id\"],\"providerId\":[1,\"provider-id\"],\"serialNumber\":[1,\"serial-number\"],\"terminalStatus\":[1,\"terminal-status\"],\"createdAfter\":[1,\"created-after\"],\"createdBefore\":[1,\"created-before\"]}]]],[\"justifi-billing-form-full.cjs\",[[257,\"justifi-billing-form-full\",{\"legend\":[1025],\"getValues\":[64],\"validate\":[64]}]]],[\"justifi-payouts-list-filters.cjs\",[[257,\"justifi-payouts-list-filters\",{\"status\":[1],\"createdAfter\":[1,\"created-after\"],\"createdBefore\":[1,\"created-before\"]}]]],[\"justifi-bank-account-billing-form-simple.cjs\",[[257,\"justifi-bank-account-billing-form-simple\",{\"legend\":[1025],\"getValues\":[64],\"validate\":[64]}]]],[\"justifi-bank-account-form.cjs\",[[257,\"justifi-bank-account-form\",{\"validate\":[64],\"tokenize\":[64]}]]],[\"justifi-card-billing-form-simple.cjs\",[[257,\"justifi-card-billing-form-simple\",{\"legend\":[1025],\"getValues\":[64],\"validate\":[64]}]]],[\"justifi-card-form.cjs\",[[257,\"justifi-card-form\",{\"validate\":[64],\"tokenize\":[64]}]]],[\"form-control-file.cjs\",[[256,\"form-control-file\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"multiple\":[4],\"documentType\":[1,\"document-type\"],\"inputHandler\":[16],\"disabled\":[4],\"files\":[32],\"fileString\":[32],\"isFocused\":[32]}]]],[\"bank-account-document-form-inputs.cjs\",[[256,\"bank-account-document-form-inputs\",{\"inputHandler\":[16],\"errors\":[8],\"storeFiles\":[16]}]]],[\"justifi-order-terminals.cjs\",[[257,\"justifi-order-terminals\",{\"businessId\":[1,\"business-id\"],\"authToken\":[1,\"auth-token\"],\"accountId\":[1,\"account-id\"],\"shipping\":[4],\"submitButtonText\":[1,\"submit-button-text\"],\"loading\":[32],\"submitting\":[32],\"error\":[32],\"business\":[32],\"terminalModels\":[32],\"orderLimit\":[32],\"order\":[32],\"totalQuantity\":[32]}]]],[\"form-control-checkbox.cjs\",[[256,\"form-control-checkbox\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"checked\":[4],\"inputHandler\":[16],\"disabled\":[4],\"isFocused\":[32]}]]],[\"justifi-save-new-payment-method.cjs\",[[257,\"justifi-save-new-payment-method\",{\"label\":[1],\"hidden\":[4]}]]],[\"justifi-saved-payment-method.cjs\",[[256,\"justifi-saved-payment-method\",{\"paymentMethodOption\":[16],\"isSelected\":[4,\"is-selected\"],\"resolvePaymentMethod\":[64]}]]],[\"justifi-season-interruption-insurance.cjs\",[[257,\"justifi-season-interruption-insurance\",{\"authToken\":[1,\"auth-token\"],\"checkoutId\":[1,\"checkout-id\"],\"primaryIdentityFirstName\":[1,\"primary-identity-first-name\"],\"primaryIdentityLastName\":[1,\"primary-identity-last-name\"],\"primaryIdentityState\":[1,\"primary-identity-state\"],\"primaryIdentityPostalCode\":[1,\"primary-identity-postal-code\"],\"primaryIdentityCountry\":[1,\"primary-identity-country\"],\"primaryIdentityEmailAddress\":[1,\"primary-identity-email-address\"],\"policyAttributesInsurableAmount\":[2,\"policy-attributes-insurable-amount\"],\"policyAttributesStartDate\":[1,\"policy-attributes-start-date\"],\"policyAttributesEndDate\":[1,\"policy-attributes-end-date\"],\"coveredIdentityFirstName\":[1,\"covered-identity-first-name\"],\"coveredIdentityLastName\":[1,\"covered-identity-last-name\"],\"getQuote\":[32],\"toggleCoverage\":[32],\"quote\":[32],\"isLoading\":[32],\"accepted\":[32],\"validate\":[64]}]]],[\"payment-method-option.cjs\",[[257,\"payment-method-option\",{\"paymentMethodOptionId\":[1,\"payment-method-option-id\"],\"isSelected\":[4,\"is-selected\"],\"clickHandler\":[16],\"radioButtonHidden\":[4,\"radio-button-hidden\"],\"label\":[1]}]]],[\"justifi-checkouts-list.cjs\",[[257,\"justifi-checkouts-list\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"columns\":[1],\"subAccountId\":[1,\"sub-account-id\"],\"checkouts\":[32],\"checkoutsTable\":[32],\"subAccounts\":[32],\"loading\":[32],\"errorMessage\":[32],\"paging\":[32],\"pagingParams\":[32],\"getCheckouts\":[32],\"getSubAccounts\":[32]},null,{\"accountId\":[\"authPropChanged\"],\"authToken\":[\"authPropChanged\"],\"subAccountId\":[\"authPropChanged\"],\"pagingParams\":[\"pagingOrColumnsChanged\"],\"columns\":[\"pagingOrColumnsChanged\"]}]]],[\"justifi-payment-details.cjs\",[[257,\"justifi-payment-details\",{\"paymentId\":[1,\"payment-id\"],\"authToken\":[1,\"auth-token\"],\"getPaymentDetails\":[32],\"payment\":[32],\"loading\":[32],\"errorMessage\":[32]},null,{\"paymentId\":[\"propChanged\"],\"authToken\":[\"propChanged\"],\"getPaymentDetails\":[\"updateOnPropChange\"]}]]],[\"justifi-payment-transactions-list.cjs\",[[257,\"justifi-payment-transactions-list\",{\"paymentId\":[1,\"payment-id\"],\"authToken\":[1,\"auth-token\"],\"columns\":[1],\"balanceTransactions\":[32],\"transactionsTable\":[32],\"isLoading\":[32],\"errorMessage\":[32],\"paging\":[32],\"pagingParams\":[32]},null,{\"pagingParams\":[\"propChanged\"],\"paymentId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-payments-list.cjs\",[[257,\"justifi-payments-list\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"columns\":[1],\"getPayments\":[32],\"errorMessage\":[32],\"payments\":[32],\"paymentsTable\":[32],\"loading\":[32],\"paging\":[32],\"pagingParams\":[32]},null,{\"accountId\":[\"propChanged\"],\"authToken\":[\"propChanged\"],\"pagingParams\":[\"updateOnPropChange\"],\"getPayments\":[\"updateOnPropChange\"],\"columns\":[\"updateOnPropChange\"]}]]],[\"justifi-payout-details.cjs\",[[257,\"justifi-payout-details\",{\"payoutId\":[1,\"payout-id\"],\"authToken\":[1,\"auth-token\"],\"enableRecordClick\":[4,\"enable-record-click\"],\"getPayout\":[32],\"getPayoutCSV\":[32],\"payout\":[32],\"loading\":[32],\"errorMessage\":[32]},null,{\"payoutId\":[\"propChanged\"],\"authToken\":[\"propChanged\"],\"getPayout\":[\"getPayoutWatcher\"]}]]],[\"justifi-payout-transactions-list.cjs\",[[257,\"justifi-payout-transactions-list\",{\"payoutId\":[1,\"payout-id\"],\"authToken\":[1,\"auth-token\"],\"columns\":[1],\"balanceTransactions\":[32],\"transactionsTable\":[32],\"isLoading\":[32],\"errorMessage\":[32],\"paging\":[32],\"pagingParams\":[32]},null,{\"pagingParams\":[\"propChanged\"],\"payoutId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-payouts-list.cjs\",[[257,\"justifi-payouts-list\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"columns\":[1],\"getPayouts\":[32],\"getPayoutCSV\":[32],\"getSubAccounts\":[32],\"errorMessage\":[32],\"payouts\":[32],\"payoutsTable\":[32],\"subAccounts\":[32],\"loading\":[32],\"paging\":[32],\"pagingParams\":[32]},null,{\"accountId\":[\"propChanged\"],\"authToken\":[\"propChanged\"],\"pagingParams\":[\"updateOnPropChange\"],\"getPayouts\":[\"updateOnPropChange\"],\"getSubAccounts\":[\"updateOnPropChange\"]}]]],[\"justifi-qr-terminal.cjs\",[[256,\"justifi-qr-terminal\",{\"authToken\":[1,\"auth-token\"],\"checkoutId\":[1,\"checkout-id\"],\"pollIntervalMs\":[2,\"poll-interval-ms\"],\"pollTimeoutMs\":[2,\"poll-timeout-ms\"],\"terminalState\":[32],\"paymentStatus\":[32],\"errorMessage\":[32]},[[0,\"error-event\",\"suppressInnerErrors\"]],{\"authToken\":[\"propChanged\"],\"checkoutId\":[\"propChanged\"]}]]],[\"justifi-terminal-orders-list.cjs\",[[257,\"justifi-terminal-orders-list\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"columns\":[1],\"terminalOrders\":[32],\"terminalOrdersTable\":[32],\"loading\":[32],\"errorMessage\":[32],\"paging\":[32],\"pagingParams\":[32],\"getTerminalOrders\":[32]},null,{\"accountId\":[\"authPropChanged\"],\"authToken\":[\"authPropChanged\"],\"pagingParams\":[\"pagingOrColumnsChanged\"],\"columns\":[\"pagingOrColumnsChanged\"]}]]],[\"justifi-terminals-list.cjs\",[[257,\"justifi-terminals-list\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"columns\":[1],\"getTerminals\":[32],\"getSubAccounts\":[32],\"terminals\":[32],\"terminalsTable\":[32],\"subAccounts\":[32],\"loading\":[32],\"errorMessage\":[32],\"paging\":[32],\"pagingParams\":[32]},null,{\"accountId\":[\"propChanged\"],\"authToken\":[\"propChanged\"],\"pagingParams\":[\"updateOnPropChange\"],\"getTerminals\":[\"updateOnPropChange\"],\"getSubAccounts\":[\"updateOnPropChange\"],\"columns\":[\"updateOnPropChange\"]}]]],[\"justifi-config-provider.cjs\",[[256,\"justifi-config-provider\",{\"apiOrigin\":[1,\"api-origin\"],\"iframeOrigin\":[1,\"iframe-origin\"],\"accountId\":[1,\"account-id\"]}]]],[\"justifi-gross-payment-chart.cjs\",[[257,\"justifi-gross-payment-chart\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"getGrossPayment\":[32],\"grossVolumeReport\":[32],\"loading\":[32],\"errorMessage\":[32],\"wrapperErrorMessage\":[32]},null,{\"accountId\":[\"authPropChanged\"],\"authToken\":[\"authPropChanged\"],\"grossVolumeReport\":[\"grossVolumeReportChanged\"]}]]],[\"justifi-skeleton.cjs\",[[257,\"justifi-skeleton\",{\"component\":[1],\"height\":[8],\"width\":[8],\"class\":[1],\"customStyle\":[16]}]]],[\"terminal-quantity-selector.cjs\",[[256,\"terminal-quantity-selector\",{\"modelName\":[1,\"model-name\"],\"imageUrl\":[1,\"image-url\"],\"description\":[1],\"helpUrl\":[1,\"help-url\"],\"limit\":[2],\"selectedQuantity\":[32]}]]],[\"form-control-monetary.cjs\",[[256,\"form-control-monetary\",{\"name\":[8],\"label\":[1],\"inputHandler\":[16],\"defaultValue\":[1,\"default-value\"],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"maxLength\":[2,\"max-length\"],\"keyDownHandler\":[16],\"disabled\":[4],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"justifi-checkout-qr-code.cjs\",[[256,\"justifi-checkout-qr-code\",{\"checkoutId\":[1,\"checkout-id\"],\"size\":[2]},null,{\"checkoutId\":[\"propChanged\"],\"size\":[\"propChanged\"]}]]],[\"form-address-fields_3.cjs\",[[256,\"identity-address-form\",{\"handleFormUpdate\":[16],\"errors\":[8],\"defaultValues\":[8,\"default-values\"],\"country\":[1],\"address\":[32]},null,{\"address\":[\"handleAddressChange\"]}],[256,\"form-control-number-masked\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"defaultValue\":[1,\"default-value\"],\"inputHandler\":[16],\"mask\":[1],\"disabled\":[4],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}],[256,\"form-address-fields\",{\"country\":[1],\"errors\":[8],\"defaultValues\":[8,\"default-values\"],\"inputHandler\":[16]}]]],[\"payment-provisioning-form-buttons_2.cjs\",[[256,\"payment-provisioning-form-steps\",{\"businessId\":[1,\"business-id\"],\"authToken\":[1,\"auth-token\"],\"refs\":[16],\"currentStep\":[2,\"current-step\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"country\":[1],\"handleFormLoading\":[16]}],[256,\"payment-provisioning-form-buttons\",{\"currentStep\":[2,\"current-step\"],\"totalSteps\":[2,\"total-steps\"],\"formLoading\":[4,\"form-loading\"],\"formDisabled\":[4,\"form-disabled\"],\"previousStepButtonOnClick\":[16],\"nextStepButtonOnClick\":[16]}]]],[\"dispute-notification_2.cjs\",[[256,\"dispute-response\",{\"authToken\":[1,\"auth-token\"],\"disputeId\":[1,\"dispute-id\"],\"disputeResponse\":[8,\"dispute-response\"],\"apiOrigin\":[1,\"api-origin\"],\"updateDisputeResponse\":[32],\"submitDisputeResponse\":[32],\"createDisputeEvidence\":[32],\"errorMessage\":[32],\"isLoading\":[32],\"documentList\":[32],\"documentErrors\":[32],\"currentStep\":[32],\"currentStepComponentRef\":[32]},null,{\"disputeId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}],[256,\"dispute-notification\",{\"dispute\":[16],\"authToken\":[1,\"auth-token\"],\"isLoading\":[4,\"is-loading\"]}]]],[\"bank-account-form.cjs\",[[256,\"bank-account-form\",{\"iframeOrigin\":[32],\"tabId\":[32],\"iframeState\":[32],\"validate\":[64],\"tokenize\":[64]}]]],[\"card-form.cjs\",[[256,\"card-form\",{\"iframeOrigin\":[32],\"tabId\":[32],\"iframeState\":[32],\"validate\":[64],\"tokenize\":[64]}]]],[\"form-control-help-text.cjs\",[[256,\"form-control-help-text\",{\"helpText\":[1,\"help-text\"],\"name\":[1]}]]],[\"form-control-radio.cjs\",[[256,\"form-control-radio\",{\"label\":[8],\"name\":[8],\"value\":[1],\"helpText\":[1,\"help-text\"],\"inputHandler\":[16],\"disabled\":[4],\"errorText\":[1,\"error-text\"],\"checked\":[4],\"isFocused\":[32]}]]],[\"radio-list-item.cjs\",[[256,\"radio-list-item\",{\"name\":[1],\"value\":[1],\"label\":[8],\"checked\":[4],\"hidden\":[4],\"class\":[1]}]]],[\"save-new-payment-method.cjs\",[[256,\"save-new-payment-method\",{\"label\":[1],\"hidden\":[4],\"isChecked\":[32]}]]],[\"internal-button.cjs\",[[256,\"internal-button\",{\"text\":[1],\"variant\":[1],\"isLoading\":[4,\"is-loading\"],\"clickHandler\":[16],\"disabled\":[4],\"type\":[1],\"class\":[1],\"customStyle\":[1,\"custom-style\"],\"hidden\":[4]}]]],[\"justifi-details.cjs\",[[260,\"justifi-details\",{\"errorMessage\":[1,\"error-message\"]}]]],[\"table-filters-menu.cjs\",[[260,\"table-filters-menu\",{\"params\":[8],\"clearParams\":[16],\"anchorButton\":[32],\"menu\":[32],\"showClearButton\":[32]},[[0,\"showEvent\",\"show\"],[0,\"hideEvent\",\"hide\"]],{\"params\":[\"watchParamsHandler\"]}]]],[\"form-control-select_2.cjs\",[[256,\"form-control-select\",{\"name\":[8],\"label\":[1],\"options\":[16],\"inputHandler\":[16],\"defaultValue\":[1,\"default-value\"],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"disabled\":[4],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}],[256,\"form-control-text\",{\"name\":[8],\"label\":[1],\"inputHandler\":[16],\"defaultValue\":[1,\"default-value\"],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"maxLength\":[2,\"max-length\"],\"keyDownHandler\":[16],\"disabled\":[4],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"additional-questions_4.cjs\",[[256,\"business-representative\",{\"formController\":[16],\"country\":[1],\"errors\":[32],\"representative\":[32],\"isEditingIdentification\":[32]}],[256,\"business-core-info\",{\"formController\":[16],\"country\":[1],\"errors\":[32],\"coreInfo\":[32],\"isEditingTaxId\":[32]}],[256,\"additional-questions\",{\"formController\":[16],\"errors\":[32],\"additional_questions\":[32]}],[256,\"legal-address-form\",{\"formController\":[16],\"country\":[1],\"errors\":[32],\"legal_address\":[32]}]]],[\"additional-questions-details_5.cjs\",[[256,\"additional-questions-details\",{\"additionalQuestions\":[16]}],[256,\"core-info-details\",{\"business\":[16]}],[256,\"legal-address-details\",{\"legalAddress\":[16]}],[256,\"owner-details\",{\"owners\":[16]}],[256,\"representative-details\",{\"representative\":[16]}]]],[\"bank-account-read-only-value.cjs\",[[256,\"bank-account-read-only-value\",{\"label\":[1],\"value\":[1]}]]],[\"form-control-monetary-provisioning.cjs\",[[256,\"form-control-monetary-provisioning\",{\"label\":[1],\"name\":[1],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"defaultValue\":[1,\"default-value\"],\"inputHandler\":[16],\"maskOptions\":[8,\"mask-options\"],\"disabled\":[4],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"pagination-menu.cjs\",[[256,\"pagination-menu\",{\"paging\":[16],\"params\":[16]}]]],[\"form-control-number_2.cjs\",[[256,\"owner-form-inputs\",{\"ownerDefaultValue\":[8,\"owner-default-value\"],\"errors\":[8],\"formController\":[16],\"country\":[1],\"isEditingIdentification\":[32]}],[256,\"form-control-number\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"defaultValue\":[1,\"default-value\"],\"inputHandler\":[16],\"disabled\":[4],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"bank-account-billing-form-simple_4.cjs\",[[256,\"billing-form\",{\"legend\":[1025],\"hideCardBillingForm\":[4,\"hide-card-billing-form\"],\"hideBankAccountBillingForm\":[4,\"hide-bank-account-billing-form\"],\"paymentMethodType\":[1,\"payment-method-type\"],\"getValues\":[64],\"validate\":[64]}],[256,\"billing-form-full\",{\"legend\":[1025],\"formController\":[32],\"billingInfo\":[32],\"errors\":[32],\"getValues\":[64],\"validate\":[64]}],[256,\"bank-account-billing-form-simple\",{\"legend\":[1025],\"formController\":[32],\"billingInfo\":[32],\"errors\":[32],\"getValues\":[64],\"validate\":[64]}],[256,\"card-billing-form-simple\",{\"legend\":[1025],\"formController\":[32],\"billingInfo\":[32],\"errors\":[32],\"getValues\":[64],\"validate\":[64]}]]],[\"form-control-file-v2_2.cjs\",[[256,\"form-control-textarea\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"defaultValue\":[1,\"default-value\"],\"maxLength\":[2,\"max-length\"],\"inputHandler\":[16],\"keyDownHandler\":[16],\"disabled\":[4],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}],[256,\"form-control-file-v2\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"multiple\":[4],\"inputHandler\":[16],\"disabled\":[4],\"files\":[32]}]]],[\"form-alert_3.cjs\",[[256,\"hidden-input\",{\"isFocused\":[32],\"errorText\":[32]}],[256,\"iframe-input\",{\"inputId\":[1,\"input-id\"],\"label\":[1],\"iframeOrigin\":[1,\"iframe-origin\"],\"isFocused\":[32],\"isValid\":[32],\"errorText\":[32],\"validate\":[64],\"tokenize\":[64],\"reload\":[64]}],[256,\"form-alert\",{\"text\":[1],\"hideAlert\":[4,\"hide-alert\"]}]]],[\"custom-popper_2.cjs\",[[256,\"form-control-tooltip\",{\"helpText\":[1,\"help-text\"],\"anchorIcon\":[32],\"tooltip\":[32]},[[0,\"showEvent\",\"show\"],[0,\"hideEvent\",\"hide\"]]],[260,\"custom-popper\",{\"placement\":[1],\"offset\":[16],\"strategy\":[1],\"trigger\":[1],\"anchorRef\":[16],\"isOpen\":[32]},null,{\"anchorRef\":[\"onAnchorRefChange\"]}]]],[\"justifi-apple-pay_12.cjs\",[[257,\"justifi-tokenize-payment-method\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"disableBankAccount\":[4,\"disable-bank-account\"],\"disableCreditCard\":[4,\"disable-credit-card\"],\"hideBankAccountBillingForm\":[4,\"hide-bank-account-billing-form\"],\"hideCardBillingForm\":[4,\"hide-card-billing-form\"],\"hideSubmitButton\":[4,\"hide-submit-button\"],\"paymentMethodGroupId\":[1,\"payment-method-group-id\"],\"submitButtonText\":[1,\"submit-button-text\"],\"savePaymentMethodLabel\":[1,\"save-payment-method-label\"],\"computedHideSubmitButton\":[32],\"isLoading\":[32],\"selectedPaymentMethod\":[32],\"tokenizePaymentMethod\":[64],\"fillBillingForm\":[64],\"validate\":[64],\"getValues\":[64],\"tokenize\":[64]},[[0,\"radio-click\",\"handleRadioClick\"]],{\"disableCreditCard\":[\"paymentMethodsChanged\"],\"disableBankAccount\":[\"paymentMethodsChanged\"]}],[257,\"justifi-radio-list-item\",{\"name\":[1],\"value\":[1],\"label\":[8],\"checked\":[4],\"hidden\":[4],\"class\":[1]}],[257,\"justifi-saved-payment-methods\"],[257,\"justifi-button\",{\"text\":[1],\"variant\":[1],\"isLoading\":[4,\"is-loading\"],\"clickHandler\":[16],\"disabled\":[4],\"type\":[1],\"class\":[1],\"customStyle\":[1,\"custom-style\"],\"hidden\":[4]}],[257,\"justifi-apple-pay\",{\"countryCode\":[1,\"country-code\"],\"merchantIdentifier\":[1,\"merchant-identifier\"],\"merchantDisplayName\":[1,\"merchant-display-name\"],\"initiativeContext\":[1,\"initiative-context\"],\"buttonType\":[1,\"button-type\"],\"buttonStyle\":[1,\"button-style\"],\"disabled\":[4],\"width\":[1],\"height\":[1],\"isLoading\":[32],\"isProcessing\":[32],\"isAvailable\":[32],\"canMakePayments\":[32],\"isConfigValid\":[32],\"error\":[32],\"isSupported\":[64],\"getPaymentMethods\":[64],\"abort\":[64]}],[257,\"justifi-checkout-summary\"],[257,\"justifi-google-pay\",{\"environment\":[1],\"merchantDisplayName\":[1,\"merchant-display-name\"],\"useNativePaymentRequest\":[4,\"use-native-payment-request\"],\"iframeOrigin\":[32],\"iframeReady\":[32],\"sdkLoaded\":[32],\"isReadyToPay\":[32]}],[257,\"justifi-header\",{\"text\":[1],\"level\":[1],\"class\":[1]}],[256,\"justifi-modular-checkout\",{\"authToken\":[1,\"auth-token\"],\"checkoutId\":[1,\"checkout-id\"],\"preCompleteHook\":[16],\"fillBillingForm\":[64],\"setSelectedPaymentMethod\":[64],\"validate\":[64],\"submitCheckout\":[64]}],[257,\"justifi-paypal\"],[257,\"justifi-plaid-payment-method\",{\"isAuthenticating\":[32],\"publicToken\":[32],\"linkToken\":[32],\"linkTokenId\":[32],\"error\":[32],\"plaidLink\":[32],\"isSelected\":[32],\"retryCount\":[32],\"isRetrying\":[32],\"resolvePaymentMethod\":[64],\"getPaymentToken\":[64],\"handleSelectionClick\":[64],\"setSelected\":[64],\"isCurrentlySelected\":[64],\"deselect\":[64],\"reset\":[64],\"isReadyForAuthentication\":[64],\"retry\":[64],\"getErrorInfo\":[64]},null,{\"isSelected\":[\"onSelectionChange\"]}],[257,\"justifi-sezzle-payment-method\",{\"installmentPlan\":[32],\"sezzleCheckout\":[32],\"resolvePaymentMethod\":[64],\"handleSelectionClick\":[64]}]]],[\"form-control-date.cjs\",[[256,\"form-control-date\",{\"name\":[1],\"label\":[1],\"inputHandler\":[16],\"defaultValue\":[1,\"default-value\"],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"disabled\":[4],\"showTime\":[4,\"show-time\"],\"maxDate\":[1,\"max-date\"],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"additional-statement_8.cjs\",[[256,\"shipping-details\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"documents\":[32],\"documentList\":[32],\"validateAndSubmit\":[64]}],[256,\"customer-details\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"documents\":[32],\"validateAndSubmit\":[64]}],[256,\"duplicate-charge\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"documents\":[32],\"validateAndSubmit\":[64]}],[256,\"additional-statement\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"acceptedTerms\":[32],\"acceptedTermsErrorText\":[32],\"documents\":[32],\"validateAndSubmit\":[64]}],[256,\"cancellation-policy\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"documents\":[32],\"validateAndSubmit\":[64]}],[256,\"product-or-service\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"documents\":[32],\"validateAndSubmit\":[64]}],[256,\"refund-policy\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"documents\":[32],\"validateAndSubmit\":[64]}],[256,\"electronic-evidence\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"documents\":[32],\"validateAndSubmit\":[64]}]]],[\"additional-questions-form-step_15.cjs\",[[256,\"business-owners-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"country\":[1],\"getBusiness\":[32],\"patchBusiness\":[32],\"ownersPayload\":[32],\"refs\":[32],\"newFormOpen\":[32],\"isLoading\":[32],\"representativeIsOwner\":[32],\"representative\":[32],\"validateAndSubmit\":[64]},[[0,\"ownerSubmitted\",\"handleOwnerSubmit\"]],{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"],\"ownersPayload\":[\"ownersWatcher\"]}],[256,\"business-representative-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"country\":[1],\"getBusiness\":[32],\"patchBusiness\":[32],\"formController\":[32],\"errors\":[32],\"representative\":[32],\"isLoading\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}],[256,\"business-bank-account-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"country\":[1],\"formController\":[32],\"errors\":[32],\"bankAccount\":[32],\"isLoading\":[32],\"viewMode\":[32],\"getBusiness\":[32],\"postBankAccount\":[32],\"bankAccountVerification\":[32],\"platformAccountId\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"],\"isLoading\":[\"watchHandler\"]}],[256,\"additional-questions-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"getBusiness\":[32],\"patchBusiness\":[32],\"formController\":[32],\"errors\":[32],\"additional_questions\":[32],\"recurringPayments\":[32],\"isLoading\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"],\"additional_questions\":[\"recurringPaymentsWatcher\"]}],[256,\"business-core-info-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"country\":[1],\"getBusiness\":[32],\"patchBusiness\":[32],\"formController\":[32],\"errors\":[32],\"coreInfo\":[32],\"isLoading\":[32],\"isEditingTaxId\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}],[256,\"document-upload-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"country\":[1],\"owners\":[32],\"existingDocuments\":[32],\"selectedCategory\":[32],\"selectedDocType\":[32],\"uploadQueue\":[32],\"isLoading\":[32],\"errors\":[32],\"fileInputKey\":[32],\"getBusiness\":[32],\"postDocumentRecord\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"],\"isLoading\":[\"watchHandler\"]}],[256,\"legal-address-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"country\":[1],\"getBusiness\":[32],\"patchBusiness\":[32],\"formController\":[32],\"errors\":[32],\"legal_address\":[32],\"isLoading\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}],[256,\"business-terms-conditions-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"acceptedTermsBefore\":[32],\"acceptedTerms\":[32],\"validateAndSubmit\":[64]}],[256,\"owner-form\",{\"authToken\":[1,\"auth-token\"],\"ownerId\":[1,\"owner-id\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"removeOwner\":[16],\"newFormOpen\":[4,\"new-form-open\"],\"ownersLength\":[2,\"owners-length\"],\"country\":[1],\"isLoading\":[32],\"formController\":[32],\"errors\":[32],\"owner\":[32],\"getOwner\":[32],\"patchOwner\":[32],\"postOwner\":[32],\"returnOwnerData\":[64],\"getOwnershipPercentage\":[64],\"setOwnershipPercentageError\":[64],\"getEmail\":[64],\"setEmailError\":[64],\"validate\":[64],\"submit\":[64],\"validateAndSubmit\":[64]},null,{\"isLoading\":[\"loadingWatcher\"]}],[256,\"business-representative-form-inputs\",{\"representativeDefaultValue\":[8,\"representative-default-value\"],\"errors\":[8],\"formController\":[16],\"country\":[1],\"isEditingIdentification\":[32]}],[256,\"bank-account-form-inputs\",{\"defaultValue\":[8,\"default-value\"],\"errors\":[8],\"inputHandler\":[16],\"formDisabled\":[4,\"form-disabled\"]}],[256,\"bank-account-form-inputs-canada\",{\"defaultValue\":[8,\"default-value\"],\"errors\":[8],\"inputHandler\":[16],\"formDisabled\":[4,\"form-disabled\"]}],[256,\"business-documents-on-file\",{\"documents\":[8],\"isLoading\":[4,\"is-loading\"]}],[256,\"document-upload-list\",{\"documents\":[16]}],[256,\"plaid-verification\",{\"authToken\":[1,\"auth-token\"],\"accountId\":[1,\"account-id\"],\"businessId\":[1,\"business-id\"],\"linkToken\":[32],\"linkTokenId\":[32],\"plaidLink\":[32],\"isAuthenticating\":[32],\"isSuccess\":[32],\"error\":[32],\"isLoading\":[32]}]]]]"), options);
|
|
49
|
+
return index.bootstrapLazy(JSON.parse("[[\"justifi-checkout.cjs\",[[260,\"justifi-checkout\",{\"authToken\":[1,\"auth-token\"],\"checkoutId\":[1,\"checkout-id\"],\"disableBankAccount\":[4,\"disable-bank-account\"],\"disableBnpl\":[4,\"disable-bnpl\"],\"disableCreditCard\":[4,\"disable-credit-card\"],\"disablePaymentMethodGroup\":[4,\"disable-payment-method-group\"],\"hideBankAccountBillingForm\":[4,\"hide-bank-account-billing-form\"],\"hideCardBillingForm\":[4,\"hide-card-billing-form\"],\"googlePayEnv\":[1,\"google-pay-env\"],\"preCompleteHook\":[16],\"showAccountNumberConfirmation\":[4,\"show-account-number-confirmation\"],\"availablePaymentMethods\":[32],\"checkout\":[32],\"complete\":[32],\"errorMessage\":[32],\"insuranceToggled\":[32],\"serverError\":[32],\"fillBillingForm\":[64],\"validate\":[64]},[[0,\"submit-event\",\"checkoutComplete\"],[0,\"error-event\",\"checkoutError\"],[0,\"checkout-changed\",\"checkoutChanged\"]],{\"authToken\":[\"propChanged\"],\"checkoutId\":[\"propChanged\"],\"disableCreditCard\":[\"propChanged\"],\"disableBankAccount\":[\"propChanged\"],\"disablePaymentMethodGroup\":[\"propChanged\"]}]]],[\"justifi-payment-provisioning.cjs\",[[257,\"justifi-payment-provisioning\",{\"businessId\":[1,\"business-id\"],\"authToken\":[1,\"auth-token\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formTitle\":[1,\"form-title\"],\"loading\":[32],\"businessLoading\":[32],\"businessProvisioned\":[32],\"formSubmitted\":[32],\"submissionFailed\":[32],\"currentStep\":[32],\"errorMessage\":[32],\"country\":[32]},[[0,\"formCompleted\",\"handleFormCompleted\"],[0,\"formLoading\",\"handleFormLoading\"]],{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}]]],[\"justifi-dispute-management.cjs\",[[257,\"justifi-dispute-management\",{\"disputeId\":[1,\"dispute-id\"],\"authToken\":[1,\"auth-token\"],\"getDispute\":[32],\"dispute\":[32],\"isLoading\":[32],\"showDisputeResponseForm\":[32]},[[0,\"click-event\",\"disputeResponseHandler\"],[0,\"submit-event\",\"disputeSubmittedHandler\"]],{\"disputeId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-business-form.cjs\",[[257,\"justifi-business-form\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"hideErrors\":[4,\"hide-errors\"],\"formTitle\":[1,\"form-title\"],\"removeTitle\":[4,\"remove-title\"],\"isLoading\":[32],\"isSaving\":[32],\"errorMessage\":[32],\"country\":[32]}]]],[\"justifi-billing-form.cjs\",[[257,\"justifi-billing-form\",{\"legend\":[1025],\"hideCardBillingForm\":[4,\"hide-card-billing-form\"],\"hideBankAccountBillingForm\":[4,\"hide-bank-account-billing-form\"],\"paymentMethodType\":[1,\"payment-method-type\"],\"getValues\":[64],\"validate\":[64]}]]],[\"justifi-business-details.cjs\",[[257,\"justifi-business-details\",{\"businessId\":[1,\"business-id\"],\"authToken\":[1,\"auth-token\"],\"getBusiness\":[32],\"business\":[32],\"loading\":[32],\"errorMessage\":[32]},null,{\"businessId\":[\"propChanged\"],\"authToken\":[\"propChanged\"],\"getBusiness\":[\"updateOnPropChange\"]}]]],[\"justifi-checkouts-list-filters.cjs\",[[257,\"justifi-checkouts-list-filters\",{\"checkoutStatus\":[1,\"checkout-status\"],\"paymentMode\":[1,\"payment-mode\"],\"checkoutId\":[1,\"checkout-id\"],\"successfulPaymentId\":[1,\"successful-payment-id\"],\"createdAfter\":[1,\"created-after\"],\"createdBefore\":[1,\"created-before\"]}]]],[\"justifi-payments-list-filters.cjs\",[[257,\"justifi-payments-list-filters\",{\"paymentId\":[1,\"payment-id\"],\"terminalId\":[1,\"terminal-id\"],\"paymentStatus\":[1,\"payment-status\"],\"paymentMode\":[1,\"payment-mode\"],\"checkoutId\":[1,\"checkout-id\"],\"accountHolder\":[1,\"account-holder\"],\"createdAfter\":[1,\"created-after\"],\"createdBefore\":[1,\"created-before\"]}]]],[\"justifi-refund-payment.cjs\",[[257,\"justifi-refund-payment\",{\"authToken\":[1,\"auth-token\"],\"accountId\":[1,\"account-id\"],\"paymentId\":[1,\"payment-id\"],\"hideSubmitButton\":[4,\"hide-submit-button\"],\"formController\":[32],\"refundPayload\":[32],\"displayAmount\":[32],\"errors\":[32],\"paymentLoading\":[32],\"refundLoading\":[32],\"submitDisabled\":[32],\"payment\":[32],\"refundPayment\":[64]}]]],[\"justifi-terminal-orders-list-filters.cjs\",[[257,\"justifi-terminal-orders-list-filters\",{\"orderStatus\":[1,\"order-status\"],\"orderType\":[1,\"order-type\"],\"createdAfter\":[1,\"created-after\"],\"createdBefore\":[1,\"created-before\"],\"companyName\":[1,\"company-name\"]}]]],[\"justifi-terminals-list-filters.cjs\",[[257,\"justifi-terminals-list-filters\",{\"terminalId\":[1,\"terminal-id\"],\"terminalOrderId\":[1,\"terminal-order-id\"],\"providerId\":[1,\"provider-id\"],\"serialNumber\":[1,\"serial-number\"],\"terminalStatus\":[1,\"terminal-status\"],\"createdAfter\":[1,\"created-after\"],\"createdBefore\":[1,\"created-before\"]}]]],[\"justifi-billing-form-full.cjs\",[[257,\"justifi-billing-form-full\",{\"legend\":[1025],\"getValues\":[64],\"validate\":[64]}]]],[\"justifi-payouts-list-filters.cjs\",[[257,\"justifi-payouts-list-filters\",{\"status\":[1],\"createdAfter\":[1,\"created-after\"],\"createdBefore\":[1,\"created-before\"]}]]],[\"justifi-bank-account-billing-form-simple.cjs\",[[257,\"justifi-bank-account-billing-form-simple\",{\"legend\":[1025],\"getValues\":[64],\"validate\":[64]}]]],[\"justifi-bank-account-form.cjs\",[[257,\"justifi-bank-account-form\",{\"showAccountNumberConfirmation\":[4,\"show-account-number-confirmation\"],\"validate\":[64],\"tokenize\":[64]}]]],[\"justifi-card-billing-form-simple.cjs\",[[257,\"justifi-card-billing-form-simple\",{\"legend\":[1025],\"getValues\":[64],\"validate\":[64]}]]],[\"justifi-card-form.cjs\",[[257,\"justifi-card-form\",{\"maskCardNumber\":[4,\"mask-card-number\"],\"validate\":[64],\"tokenize\":[64]}]]],[\"form-control-file.cjs\",[[256,\"form-control-file\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"multiple\":[4],\"documentType\":[1,\"document-type\"],\"inputHandler\":[16],\"disabled\":[4],\"files\":[32],\"fileString\":[32],\"isFocused\":[32]}]]],[\"bank-account-document-form-inputs.cjs\",[[256,\"bank-account-document-form-inputs\",{\"inputHandler\":[16],\"errors\":[8],\"storeFiles\":[16]}]]],[\"justifi-order-terminals.cjs\",[[257,\"justifi-order-terminals\",{\"businessId\":[1,\"business-id\"],\"authToken\":[1,\"auth-token\"],\"accountId\":[1,\"account-id\"],\"shipping\":[4],\"submitButtonText\":[1,\"submit-button-text\"],\"loading\":[32],\"submitting\":[32],\"error\":[32],\"business\":[32],\"terminalModels\":[32],\"orderLimit\":[32],\"order\":[32],\"totalQuantity\":[32]}]]],[\"form-control-checkbox.cjs\",[[256,\"form-control-checkbox\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"checked\":[4],\"inputHandler\":[16],\"disabled\":[4],\"isFocused\":[32]}]]],[\"justifi-save-new-payment-method.cjs\",[[257,\"justifi-save-new-payment-method\",{\"label\":[1],\"hidden\":[4]}]]],[\"justifi-saved-payment-method.cjs\",[[256,\"justifi-saved-payment-method\",{\"paymentMethodOption\":[16],\"isSelected\":[4,\"is-selected\"],\"resolvePaymentMethod\":[64]}]]],[\"justifi-season-interruption-insurance.cjs\",[[257,\"justifi-season-interruption-insurance\",{\"authToken\":[1,\"auth-token\"],\"checkoutId\":[1,\"checkout-id\"],\"primaryIdentityFirstName\":[1,\"primary-identity-first-name\"],\"primaryIdentityLastName\":[1,\"primary-identity-last-name\"],\"primaryIdentityState\":[1,\"primary-identity-state\"],\"primaryIdentityPostalCode\":[1,\"primary-identity-postal-code\"],\"primaryIdentityCountry\":[1,\"primary-identity-country\"],\"primaryIdentityEmailAddress\":[1,\"primary-identity-email-address\"],\"policyAttributesInsurableAmount\":[2,\"policy-attributes-insurable-amount\"],\"policyAttributesStartDate\":[1,\"policy-attributes-start-date\"],\"policyAttributesEndDate\":[1,\"policy-attributes-end-date\"],\"coveredIdentityFirstName\":[1,\"covered-identity-first-name\"],\"coveredIdentityLastName\":[1,\"covered-identity-last-name\"],\"getQuote\":[32],\"toggleCoverage\":[32],\"quote\":[32],\"isLoading\":[32],\"accepted\":[32],\"validate\":[64]}]]],[\"payment-method-option.cjs\",[[257,\"payment-method-option\",{\"paymentMethodOptionId\":[1,\"payment-method-option-id\"],\"isSelected\":[4,\"is-selected\"],\"clickHandler\":[16],\"radioButtonHidden\":[4,\"radio-button-hidden\"],\"label\":[1]}]]],[\"justifi-checkouts-list.cjs\",[[257,\"justifi-checkouts-list\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"columns\":[1],\"subAccountId\":[1,\"sub-account-id\"],\"checkouts\":[32],\"checkoutsTable\":[32],\"subAccounts\":[32],\"loading\":[32],\"errorMessage\":[32],\"paging\":[32],\"pagingParams\":[32],\"getCheckouts\":[32],\"getSubAccounts\":[32]},null,{\"accountId\":[\"authPropChanged\"],\"authToken\":[\"authPropChanged\"],\"subAccountId\":[\"authPropChanged\"],\"pagingParams\":[\"pagingOrColumnsChanged\"],\"columns\":[\"pagingOrColumnsChanged\"]}]]],[\"justifi-payment-details.cjs\",[[257,\"justifi-payment-details\",{\"paymentId\":[1,\"payment-id\"],\"authToken\":[1,\"auth-token\"],\"getPaymentDetails\":[32],\"payment\":[32],\"loading\":[32],\"errorMessage\":[32]},null,{\"paymentId\":[\"propChanged\"],\"authToken\":[\"propChanged\"],\"getPaymentDetails\":[\"updateOnPropChange\"]}]]],[\"justifi-payment-transactions-list.cjs\",[[257,\"justifi-payment-transactions-list\",{\"paymentId\":[1,\"payment-id\"],\"authToken\":[1,\"auth-token\"],\"columns\":[1],\"balanceTransactions\":[32],\"transactionsTable\":[32],\"isLoading\":[32],\"errorMessage\":[32],\"paging\":[32],\"pagingParams\":[32]},null,{\"pagingParams\":[\"propChanged\"],\"paymentId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-payments-list.cjs\",[[257,\"justifi-payments-list\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"columns\":[1],\"getPayments\":[32],\"errorMessage\":[32],\"payments\":[32],\"paymentsTable\":[32],\"loading\":[32],\"paging\":[32],\"pagingParams\":[32]},null,{\"accountId\":[\"propChanged\"],\"authToken\":[\"propChanged\"],\"pagingParams\":[\"updateOnPropChange\"],\"getPayments\":[\"updateOnPropChange\"],\"columns\":[\"updateOnPropChange\"]}]]],[\"justifi-payout-details.cjs\",[[257,\"justifi-payout-details\",{\"payoutId\":[1,\"payout-id\"],\"authToken\":[1,\"auth-token\"],\"enableRecordClick\":[4,\"enable-record-click\"],\"getPayout\":[32],\"getPayoutCSV\":[32],\"payout\":[32],\"loading\":[32],\"errorMessage\":[32]},null,{\"payoutId\":[\"propChanged\"],\"authToken\":[\"propChanged\"],\"getPayout\":[\"getPayoutWatcher\"]}]]],[\"justifi-payout-transactions-list.cjs\",[[257,\"justifi-payout-transactions-list\",{\"payoutId\":[1,\"payout-id\"],\"authToken\":[1,\"auth-token\"],\"columns\":[1],\"balanceTransactions\":[32],\"transactionsTable\":[32],\"isLoading\":[32],\"errorMessage\":[32],\"paging\":[32],\"pagingParams\":[32]},null,{\"pagingParams\":[\"propChanged\"],\"payoutId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-payouts-list.cjs\",[[257,\"justifi-payouts-list\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"columns\":[1],\"getPayouts\":[32],\"getPayoutCSV\":[32],\"getSubAccounts\":[32],\"errorMessage\":[32],\"payouts\":[32],\"payoutsTable\":[32],\"subAccounts\":[32],\"loading\":[32],\"paging\":[32],\"pagingParams\":[32]},null,{\"accountId\":[\"propChanged\"],\"authToken\":[\"propChanged\"],\"pagingParams\":[\"updateOnPropChange\"],\"getPayouts\":[\"updateOnPropChange\"],\"getSubAccounts\":[\"updateOnPropChange\"]}]]],[\"justifi-qr-terminal.cjs\",[[256,\"justifi-qr-terminal\",{\"authToken\":[1,\"auth-token\"],\"checkoutId\":[1,\"checkout-id\"],\"pollIntervalMs\":[2,\"poll-interval-ms\"],\"pollTimeoutMs\":[2,\"poll-timeout-ms\"],\"terminalState\":[32],\"paymentStatus\":[32],\"errorMessage\":[32]},[[0,\"error-event\",\"suppressInnerErrors\"]],{\"authToken\":[\"propChanged\"],\"checkoutId\":[\"propChanged\"]}]]],[\"justifi-terminal-orders-list.cjs\",[[257,\"justifi-terminal-orders-list\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"columns\":[1],\"terminalOrders\":[32],\"terminalOrdersTable\":[32],\"loading\":[32],\"errorMessage\":[32],\"paging\":[32],\"pagingParams\":[32],\"getTerminalOrders\":[32]},null,{\"accountId\":[\"authPropChanged\"],\"authToken\":[\"authPropChanged\"],\"pagingParams\":[\"pagingOrColumnsChanged\"],\"columns\":[\"pagingOrColumnsChanged\"]}]]],[\"justifi-terminals-list.cjs\",[[257,\"justifi-terminals-list\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"columns\":[1],\"getTerminals\":[32],\"getSubAccounts\":[32],\"terminals\":[32],\"terminalsTable\":[32],\"subAccounts\":[32],\"loading\":[32],\"errorMessage\":[32],\"paging\":[32],\"pagingParams\":[32]},null,{\"accountId\":[\"propChanged\"],\"authToken\":[\"propChanged\"],\"pagingParams\":[\"updateOnPropChange\"],\"getTerminals\":[\"updateOnPropChange\"],\"getSubAccounts\":[\"updateOnPropChange\"],\"columns\":[\"updateOnPropChange\"]}]]],[\"justifi-config-provider.cjs\",[[256,\"justifi-config-provider\",{\"apiOrigin\":[1,\"api-origin\"],\"iframeOrigin\":[1,\"iframe-origin\"],\"accountId\":[1,\"account-id\"]}]]],[\"justifi-gross-payment-chart.cjs\",[[257,\"justifi-gross-payment-chart\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"getGrossPayment\":[32],\"grossVolumeReport\":[32],\"loading\":[32],\"errorMessage\":[32],\"wrapperErrorMessage\":[32]},null,{\"accountId\":[\"authPropChanged\"],\"authToken\":[\"authPropChanged\"],\"grossVolumeReport\":[\"grossVolumeReportChanged\"]}]]],[\"justifi-skeleton.cjs\",[[257,\"justifi-skeleton\",{\"component\":[1],\"height\":[8],\"width\":[8],\"class\":[1],\"customStyle\":[16]}]]],[\"terminal-quantity-selector.cjs\",[[256,\"terminal-quantity-selector\",{\"modelName\":[1,\"model-name\"],\"imageUrl\":[1,\"image-url\"],\"description\":[1],\"helpUrl\":[1,\"help-url\"],\"limit\":[2],\"selectedQuantity\":[32]}]]],[\"form-control-monetary.cjs\",[[256,\"form-control-monetary\",{\"name\":[8],\"label\":[1],\"inputHandler\":[16],\"defaultValue\":[1,\"default-value\"],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"maxLength\":[2,\"max-length\"],\"keyDownHandler\":[16],\"disabled\":[4],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"justifi-checkout-qr-code.cjs\",[[256,\"justifi-checkout-qr-code\",{\"checkoutId\":[1,\"checkout-id\"],\"size\":[2]},null,{\"checkoutId\":[\"propChanged\"],\"size\":[\"propChanged\"]}]]],[\"form-address-fields_3.cjs\",[[256,\"identity-address-form\",{\"handleFormUpdate\":[16],\"errors\":[8],\"defaultValues\":[8,\"default-values\"],\"country\":[1],\"address\":[32]},null,{\"address\":[\"handleAddressChange\"]}],[256,\"form-control-number-masked\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"defaultValue\":[1,\"default-value\"],\"inputHandler\":[16],\"mask\":[1],\"disabled\":[4],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}],[256,\"form-address-fields\",{\"country\":[1],\"errors\":[8],\"defaultValues\":[8,\"default-values\"],\"inputHandler\":[16]}]]],[\"payment-provisioning-form-buttons_2.cjs\",[[256,\"payment-provisioning-form-steps\",{\"businessId\":[1,\"business-id\"],\"authToken\":[1,\"auth-token\"],\"refs\":[16],\"currentStep\":[2,\"current-step\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"country\":[1],\"handleFormLoading\":[16]}],[256,\"payment-provisioning-form-buttons\",{\"currentStep\":[2,\"current-step\"],\"totalSteps\":[2,\"total-steps\"],\"formLoading\":[4,\"form-loading\"],\"formDisabled\":[4,\"form-disabled\"],\"previousStepButtonOnClick\":[16],\"nextStepButtonOnClick\":[16]}]]],[\"dispute-notification_2.cjs\",[[256,\"dispute-response\",{\"authToken\":[1,\"auth-token\"],\"disputeId\":[1,\"dispute-id\"],\"disputeResponse\":[8,\"dispute-response\"],\"apiOrigin\":[1,\"api-origin\"],\"updateDisputeResponse\":[32],\"submitDisputeResponse\":[32],\"createDisputeEvidence\":[32],\"errorMessage\":[32],\"isLoading\":[32],\"documentList\":[32],\"documentErrors\":[32],\"currentStep\":[32],\"currentStepComponentRef\":[32]},null,{\"disputeId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}],[256,\"dispute-notification\",{\"dispute\":[16],\"authToken\":[1,\"auth-token\"],\"isLoading\":[4,\"is-loading\"]}]]],[\"bank-account-form.cjs\",[[256,\"bank-account-form\",{\"showAccountNumberConfirmation\":[4,\"show-account-number-confirmation\"],\"iframeOrigin\":[32],\"tabId\":[32],\"iframeState\":[32],\"validate\":[64],\"tokenize\":[64]}]]],[\"card-form.cjs\",[[256,\"card-form\",{\"maskCardNumber\":[4,\"mask-card-number\"],\"iframeOrigin\":[32],\"tabId\":[32],\"iframeState\":[32],\"validate\":[64],\"tokenize\":[64]}]]],[\"form-control-help-text.cjs\",[[256,\"form-control-help-text\",{\"helpText\":[1,\"help-text\"],\"name\":[1]}]]],[\"form-control-radio.cjs\",[[256,\"form-control-radio\",{\"label\":[8],\"name\":[8],\"value\":[1],\"helpText\":[1,\"help-text\"],\"inputHandler\":[16],\"disabled\":[4],\"errorText\":[1,\"error-text\"],\"checked\":[4],\"isFocused\":[32]}]]],[\"radio-list-item.cjs\",[[256,\"radio-list-item\",{\"name\":[1],\"value\":[1],\"label\":[8],\"checked\":[4],\"hidden\":[4],\"class\":[1]}]]],[\"save-new-payment-method.cjs\",[[256,\"save-new-payment-method\",{\"label\":[1],\"hidden\":[4],\"isChecked\":[32]}]]],[\"internal-button.cjs\",[[256,\"internal-button\",{\"text\":[1],\"variant\":[1],\"isLoading\":[4,\"is-loading\"],\"clickHandler\":[16],\"disabled\":[4],\"type\":[1],\"class\":[1],\"customStyle\":[1,\"custom-style\"],\"hidden\":[4]}]]],[\"justifi-details.cjs\",[[260,\"justifi-details\",{\"errorMessage\":[1,\"error-message\"]}]]],[\"table-filters-menu.cjs\",[[260,\"table-filters-menu\",{\"params\":[8],\"clearParams\":[16],\"anchorButton\":[32],\"menu\":[32],\"showClearButton\":[32]},[[0,\"showEvent\",\"show\"],[0,\"hideEvent\",\"hide\"]],{\"params\":[\"watchParamsHandler\"]}]]],[\"form-control-select_2.cjs\",[[256,\"form-control-select\",{\"name\":[8],\"label\":[1],\"options\":[16],\"inputHandler\":[16],\"defaultValue\":[1,\"default-value\"],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"disabled\":[4],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}],[256,\"form-control-text\",{\"name\":[8],\"label\":[1],\"inputHandler\":[16],\"defaultValue\":[1,\"default-value\"],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"maxLength\":[2,\"max-length\"],\"keyDownHandler\":[16],\"transformValue\":[16],\"disabled\":[4],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"additional-questions_4.cjs\",[[256,\"business-representative\",{\"formController\":[16],\"country\":[1],\"errors\":[32],\"representative\":[32],\"isEditingIdentification\":[32]}],[256,\"business-core-info\",{\"formController\":[16],\"country\":[1],\"errors\":[32],\"coreInfo\":[32],\"isEditingTaxId\":[32]}],[256,\"additional-questions\",{\"formController\":[16],\"errors\":[32],\"additional_questions\":[32]}],[256,\"legal-address-form\",{\"formController\":[16],\"country\":[1],\"errors\":[32],\"legal_address\":[32]}]]],[\"additional-questions-details_5.cjs\",[[256,\"additional-questions-details\",{\"additionalQuestions\":[16]}],[256,\"core-info-details\",{\"business\":[16]}],[256,\"legal-address-details\",{\"legalAddress\":[16]}],[256,\"owner-details\",{\"owners\":[16]}],[256,\"representative-details\",{\"representative\":[16]}]]],[\"bank-account-read-only-value.cjs\",[[256,\"bank-account-read-only-value\",{\"label\":[1],\"value\":[1]}]]],[\"form-control-monetary-provisioning.cjs\",[[256,\"form-control-monetary-provisioning\",{\"label\":[1],\"name\":[1],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"defaultValue\":[1,\"default-value\"],\"inputHandler\":[16],\"maskOptions\":[8,\"mask-options\"],\"disabled\":[4],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"pagination-menu.cjs\",[[256,\"pagination-menu\",{\"paging\":[16],\"params\":[16]}]]],[\"form-control-number_2.cjs\",[[256,\"owner-form-inputs\",{\"ownerDefaultValue\":[8,\"owner-default-value\"],\"errors\":[8],\"formController\":[16],\"country\":[1],\"isEditingIdentification\":[32]}],[256,\"form-control-number\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"defaultValue\":[1,\"default-value\"],\"inputHandler\":[16],\"disabled\":[4],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"bank-account-billing-form-simple_4.cjs\",[[256,\"billing-form\",{\"legend\":[1025],\"hideCardBillingForm\":[4,\"hide-card-billing-form\"],\"hideBankAccountBillingForm\":[4,\"hide-bank-account-billing-form\"],\"paymentMethodType\":[1,\"payment-method-type\"],\"getValues\":[64],\"validate\":[64]}],[256,\"billing-form-full\",{\"legend\":[1025],\"formController\":[32],\"billingInfo\":[32],\"errors\":[32],\"getValues\":[64],\"validate\":[64]}],[256,\"bank-account-billing-form-simple\",{\"legend\":[1025],\"formController\":[32],\"billingInfo\":[32],\"errors\":[32],\"getValues\":[64],\"validate\":[64]}],[256,\"card-billing-form-simple\",{\"legend\":[1025],\"formController\":[32],\"billingInfo\":[32],\"errors\":[32],\"getValues\":[64],\"validate\":[64]}]]],[\"form-control-file-v2_2.cjs\",[[256,\"form-control-textarea\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"defaultValue\":[1,\"default-value\"],\"maxLength\":[2,\"max-length\"],\"inputHandler\":[16],\"keyDownHandler\":[16],\"disabled\":[4],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}],[256,\"form-control-file-v2\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"multiple\":[4],\"inputHandler\":[16],\"disabled\":[4],\"files\":[32]}]]],[\"form-alert_3.cjs\",[[256,\"hidden-input\",{\"isFocused\":[32],\"errorText\":[32]}],[260,\"iframe-input\",{\"inputId\":[1,\"input-id\"],\"label\":[1],\"iframeOrigin\":[1,\"iframe-origin\"],\"maskCardNumber\":[4,\"mask-card-number\"],\"isFocused\":[32],\"isValid\":[32],\"errorText\":[32],\"validate\":[64],\"tokenize\":[64],\"reload\":[64]},null,{\"maskCardNumber\":[\"maskCardNumberChanged\"]}],[256,\"form-alert\",{\"text\":[1],\"hideAlert\":[4,\"hide-alert\"]}]]],[\"custom-popper_2.cjs\",[[256,\"form-control-tooltip\",{\"helpText\":[1,\"help-text\"],\"anchorIcon\":[32],\"tooltip\":[32]},[[0,\"showEvent\",\"show\"],[0,\"hideEvent\",\"hide\"]]],[260,\"custom-popper\",{\"placement\":[1],\"offset\":[16],\"strategy\":[1],\"trigger\":[1],\"anchorRef\":[16],\"isOpen\":[32]},null,{\"anchorRef\":[\"onAnchorRefChange\"]}]]],[\"justifi-apple-pay_12.cjs\",[[257,\"justifi-tokenize-payment-method\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"disableBankAccount\":[4,\"disable-bank-account\"],\"disableCreditCard\":[4,\"disable-credit-card\"],\"hideBankAccountBillingForm\":[4,\"hide-bank-account-billing-form\"],\"hideCardBillingForm\":[4,\"hide-card-billing-form\"],\"hideSubmitButton\":[4,\"hide-submit-button\"],\"paymentMethodGroupId\":[1,\"payment-method-group-id\"],\"showAccountNumberConfirmation\":[4,\"show-account-number-confirmation\"],\"submitButtonText\":[1,\"submit-button-text\"],\"savePaymentMethodLabel\":[1,\"save-payment-method-label\"],\"maskCardNumber\":[4,\"mask-card-number\"],\"computedHideSubmitButton\":[32],\"isLoading\":[32],\"selectedPaymentMethod\":[32],\"tokenizePaymentMethod\":[64],\"fillBillingForm\":[64],\"validate\":[64],\"getValues\":[64],\"tokenize\":[64]},[[0,\"radio-click\",\"handleRadioClick\"]],{\"disableCreditCard\":[\"paymentMethodsChanged\"],\"disableBankAccount\":[\"paymentMethodsChanged\"]}],[257,\"justifi-radio-list-item\",{\"name\":[1],\"value\":[1],\"label\":[8],\"checked\":[4],\"hidden\":[4],\"class\":[1]}],[257,\"justifi-saved-payment-methods\"],[257,\"justifi-button\",{\"text\":[1],\"variant\":[1],\"isLoading\":[4,\"is-loading\"],\"clickHandler\":[16],\"disabled\":[4],\"type\":[1],\"class\":[1],\"customStyle\":[1,\"custom-style\"],\"hidden\":[4]}],[257,\"justifi-apple-pay\",{\"countryCode\":[1,\"country-code\"],\"merchantIdentifier\":[1,\"merchant-identifier\"],\"merchantDisplayName\":[1,\"merchant-display-name\"],\"initiativeContext\":[1,\"initiative-context\"],\"buttonType\":[1,\"button-type\"],\"buttonStyle\":[1,\"button-style\"],\"disabled\":[4],\"width\":[1],\"height\":[1],\"isLoading\":[32],\"isProcessing\":[32],\"isAvailable\":[32],\"canMakePayments\":[32],\"isConfigValid\":[32],\"error\":[32],\"isSupported\":[64],\"getPaymentMethods\":[64],\"abort\":[64]}],[257,\"justifi-checkout-summary\"],[257,\"justifi-google-pay\",{\"environment\":[1],\"merchantDisplayName\":[1,\"merchant-display-name\"],\"useNativePaymentRequest\":[4,\"use-native-payment-request\"],\"iframeOrigin\":[32],\"iframeReady\":[32],\"sdkLoaded\":[32],\"isReadyToPay\":[32]}],[257,\"justifi-header\",{\"text\":[1],\"level\":[1],\"class\":[1]}],[256,\"justifi-modular-checkout\",{\"authToken\":[1,\"auth-token\"],\"checkoutId\":[1,\"checkout-id\"],\"preCompleteHook\":[16],\"maskCardNumber\":[4,\"mask-card-number\"],\"fillBillingForm\":[64],\"setSelectedPaymentMethod\":[64],\"validate\":[64],\"submitCheckout\":[64]},null,{\"maskCardNumber\":[\"maskCardNumberChanged\"]}],[257,\"justifi-paypal\"],[257,\"justifi-plaid-payment-method\",{\"isAuthenticating\":[32],\"publicToken\":[32],\"linkToken\":[32],\"linkTokenId\":[32],\"error\":[32],\"plaidLink\":[32],\"isSelected\":[32],\"retryCount\":[32],\"isRetrying\":[32],\"resolvePaymentMethod\":[64],\"getPaymentToken\":[64],\"handleSelectionClick\":[64],\"setSelected\":[64],\"isCurrentlySelected\":[64],\"deselect\":[64],\"reset\":[64],\"isReadyForAuthentication\":[64],\"retry\":[64],\"getErrorInfo\":[64]},null,{\"isSelected\":[\"onSelectionChange\"]}],[257,\"justifi-sezzle-payment-method\",{\"installmentPlan\":[32],\"sezzleCheckout\":[32],\"resolvePaymentMethod\":[64],\"handleSelectionClick\":[64]}]]],[\"form-control-date.cjs\",[[256,\"form-control-date\",{\"name\":[1],\"label\":[1],\"inputHandler\":[16],\"defaultValue\":[1,\"default-value\"],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"disabled\":[4],\"showTime\":[4,\"show-time\"],\"maxDate\":[1,\"max-date\"],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"additional-statement_8.cjs\",[[256,\"shipping-details\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"documents\":[32],\"documentList\":[32],\"validateAndSubmit\":[64]}],[256,\"customer-details\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"documents\":[32],\"validateAndSubmit\":[64]}],[256,\"duplicate-charge\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"documents\":[32],\"validateAndSubmit\":[64]}],[256,\"additional-statement\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"acceptedTerms\":[32],\"acceptedTermsErrorText\":[32],\"documents\":[32],\"validateAndSubmit\":[64]}],[256,\"cancellation-policy\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"documents\":[32],\"validateAndSubmit\":[64]}],[256,\"product-or-service\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"documents\":[32],\"validateAndSubmit\":[64]}],[256,\"refund-policy\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"documents\":[32],\"validateAndSubmit\":[64]}],[256,\"electronic-evidence\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"documents\":[32],\"validateAndSubmit\":[64]}]]],[\"additional-questions-form-step_15.cjs\",[[256,\"business-owners-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"country\":[1],\"getBusiness\":[32],\"patchBusiness\":[32],\"ownersPayload\":[32],\"refs\":[32],\"newFormOpen\":[32],\"isLoading\":[32],\"representativeIsOwner\":[32],\"representative\":[32],\"validateAndSubmit\":[64]},[[0,\"ownerSubmitted\",\"handleOwnerSubmit\"]],{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"],\"ownersPayload\":[\"ownersWatcher\"]}],[256,\"business-representative-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"country\":[1],\"getBusiness\":[32],\"patchBusiness\":[32],\"formController\":[32],\"errors\":[32],\"representative\":[32],\"isLoading\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}],[256,\"business-bank-account-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"country\":[1],\"formController\":[32],\"errors\":[32],\"bankAccount\":[32],\"isLoading\":[32],\"viewMode\":[32],\"getBusiness\":[32],\"postBankAccount\":[32],\"bankAccountVerification\":[32],\"platformAccountId\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"],\"isLoading\":[\"watchHandler\"]}],[256,\"additional-questions-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"getBusiness\":[32],\"patchBusiness\":[32],\"formController\":[32],\"errors\":[32],\"additional_questions\":[32],\"recurringPayments\":[32],\"isLoading\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"],\"additional_questions\":[\"recurringPaymentsWatcher\"]}],[256,\"business-core-info-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"country\":[1],\"getBusiness\":[32],\"patchBusiness\":[32],\"formController\":[32],\"errors\":[32],\"coreInfo\":[32],\"isLoading\":[32],\"isEditingTaxId\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}],[256,\"document-upload-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"country\":[1],\"owners\":[32],\"existingDocuments\":[32],\"selectedCategory\":[32],\"selectedDocType\":[32],\"uploadQueue\":[32],\"isLoading\":[32],\"errors\":[32],\"fileInputKey\":[32],\"getBusiness\":[32],\"postDocumentRecord\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"],\"isLoading\":[\"watchHandler\"]}],[256,\"legal-address-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"country\":[1],\"getBusiness\":[32],\"patchBusiness\":[32],\"formController\":[32],\"errors\":[32],\"legal_address\":[32],\"isLoading\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}],[256,\"business-terms-conditions-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"acceptedTermsBefore\":[32],\"acceptedTerms\":[32],\"validateAndSubmit\":[64]}],[256,\"owner-form\",{\"authToken\":[1,\"auth-token\"],\"ownerId\":[1,\"owner-id\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"removeOwner\":[16],\"newFormOpen\":[4,\"new-form-open\"],\"ownersLength\":[2,\"owners-length\"],\"country\":[1],\"isLoading\":[32],\"formController\":[32],\"errors\":[32],\"owner\":[32],\"getOwner\":[32],\"patchOwner\":[32],\"postOwner\":[32],\"returnOwnerData\":[64],\"getOwnershipPercentage\":[64],\"setOwnershipPercentageError\":[64],\"getEmail\":[64],\"setEmailError\":[64],\"validate\":[64],\"submit\":[64],\"validateAndSubmit\":[64]},null,{\"isLoading\":[\"loadingWatcher\"]}],[256,\"business-representative-form-inputs\",{\"representativeDefaultValue\":[8,\"representative-default-value\"],\"errors\":[8],\"formController\":[16],\"country\":[1],\"isEditingIdentification\":[32]}],[256,\"bank-account-form-inputs\",{\"defaultValue\":[8,\"default-value\"],\"errors\":[8],\"inputHandler\":[16],\"formDisabled\":[4,\"form-disabled\"]}],[256,\"bank-account-form-inputs-canada\",{\"defaultValue\":[8,\"default-value\"],\"errors\":[8],\"inputHandler\":[16],\"formDisabled\":[4,\"form-disabled\"]}],[256,\"business-documents-on-file\",{\"documents\":[8],\"isLoading\":[4,\"is-loading\"]}],[256,\"document-upload-list\",{\"documents\":[16]}],[256,\"plaid-verification\",{\"authToken\":[1,\"auth-token\"],\"accountId\":[1,\"account-id\"],\"businessId\":[1,\"business-id\"],\"linkToken\":[32],\"linkTokenId\":[32],\"plaidLink\":[32],\"isAuthenticating\":[32],\"isSuccess\":[32],\"error\":[32],\"isLoading\":[32]}]]]]"), options);
|
|
50
50
|
});
|
|
51
51
|
|
|
52
52
|
exports.setNonce = index.setNonce;
|
|
@@ -97,10 +97,12 @@ export class CoreBusinessInfo {
|
|
|
97
97
|
}
|
|
98
98
|
export class Business {
|
|
99
99
|
constructor(business) {
|
|
100
|
+
var _a;
|
|
100
101
|
this.additional_questions = business.additional_questions
|
|
101
102
|
? new AdditionalQuestions(business.additional_questions)
|
|
102
103
|
: null;
|
|
103
104
|
this.associated_accounts = business.associated_accounts;
|
|
105
|
+
this.provisioned = (_a = business.provisioned) !== null && _a !== void 0 ? _a : [];
|
|
104
106
|
this.classification = business.classification;
|
|
105
107
|
this.bank_accounts = business.bank_accounts;
|
|
106
108
|
this.created_at = business.created_at;
|
|
@@ -47,6 +47,7 @@
|
|
|
47
47
|
"components/checkout/billing-form/billing-form.js",
|
|
48
48
|
"components/checkout/billing-form/card-billing-form-simple.js",
|
|
49
49
|
"components/checkout/billing-form/justifi-billing-form.js",
|
|
50
|
+
"ui-components/form/form-control-text.js",
|
|
50
51
|
"components/checkout/card-form/card-form.js",
|
|
51
52
|
"components/checkout/save-new-payment-method/justifi-save-new-payment-method.js",
|
|
52
53
|
"components/checkout/save-new-payment-method/save-new-payment-method.js",
|
|
@@ -111,7 +112,6 @@
|
|
|
111
112
|
"ui-components/form/form-control-number-masked.js",
|
|
112
113
|
"ui-components/form/form-control-number.js",
|
|
113
114
|
"ui-components/form/form-control-radio.js",
|
|
114
|
-
"ui-components/form/form-control-text.js",
|
|
115
115
|
"ui-components/form/form-control-textarea.js",
|
|
116
116
|
"ui-components/form/hidden-input.js",
|
|
117
117
|
"ui-components/form/iframe-input.js",
|
|
@@ -4,7 +4,7 @@ import { BusinessService } from "../../api/services/business.service";
|
|
|
4
4
|
import { makeGetBusiness } from "../../actions/business/get-business";
|
|
5
5
|
import { ComponentErrorCodes, ComponentErrorSeverity } from "../../api/ComponentError";
|
|
6
6
|
import JustifiAnalytics from "../../api/Analytics";
|
|
7
|
-
import {
|
|
7
|
+
import { detectDuplicateVersion } from "../../utils/detect-duplicate-version";
|
|
8
8
|
import { StyledHost } from "../../ui-components";
|
|
9
9
|
import { BusinessDetailsLoading } from "./business-details-loading";
|
|
10
10
|
export class JustifiBusinessDetails {
|
|
@@ -12,7 +12,7 @@ export class JustifiBusinessDetails {
|
|
|
12
12
|
this.loading = true;
|
|
13
13
|
}
|
|
14
14
|
componentWillLoad() {
|
|
15
|
-
|
|
15
|
+
detectDuplicateVersion();
|
|
16
16
|
this.analytics = new JustifiAnalytics(this);
|
|
17
17
|
this.initializeGetBusiness();
|
|
18
18
|
}
|
|
@@ -68,7 +68,7 @@ export class JustifiBusinessDetails {
|
|
|
68
68
|
});
|
|
69
69
|
}
|
|
70
70
|
render() {
|
|
71
|
-
return (h(StyledHost, { key: '
|
|
71
|
+
return (h(StyledHost, { key: '5591589ce180d7102dc3403143556c1302af3fe5' }, this.loading && h(BusinessDetailsLoading, { key: 'c45c978e7b9b1a2e086558be669be4f9c9962965' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage && this.business && (h("justifi-details", { key: 'cbb51e9f2f7ab55573349cb2106949a5ca91833d', errorMessage: this.errorMessage }, h("div", { key: 'c85ae2fd98b56566795383c3a799b9b93853a786', slot: 'detail-sections' }, h("core-info-details", { key: '2a582bf825f75176e680882f05d287b1791a411b', business: this.business }), h("legal-address-details", { key: '3855cc37f98885547c425e7b21f3f153604ca8ee', legalAddress: this.business.legal_address }), h("representative-details", { key: '16b323711a50310012ce46f8d83d2ab8f64e1461', representative: this.business.representative }), h("owner-details", { key: 'fd3609e46477071432a5fa276b84df00d5717f2c', owners: this.business.owners }), h("additional-questions-details", { key: 'b42b0499a259c3e73c91278a5515e2dcf00c3f5f', additionalQuestions: this.business.additional_questions }))))));
|
|
72
72
|
}
|
|
73
73
|
static get is() { return "justifi-business-details"; }
|
|
74
74
|
static get encapsulation() { return "shadow"; }
|
|
@@ -6,7 +6,7 @@ import { Business, BusinessFormServerErrors } from "../../../api/Business";
|
|
|
6
6
|
import JustifiAnalytics from "../../../api/Analytics";
|
|
7
7
|
import { Button, Header1, StyledHost } from "../../../ui-components";
|
|
8
8
|
import { CountryCode } from "../../../utils/country-codes";
|
|
9
|
-
import {
|
|
9
|
+
import { detectDuplicateVersion } from "../../../utils/detect-duplicate-version";
|
|
10
10
|
import { BusinessFormLoading } from "./business-form-loading";
|
|
11
11
|
import { BusinessFormClickActions } from "../utils";
|
|
12
12
|
import { makeGetBusiness, makePatchBusiness } from "../payment-provisioning/payment-provisioning-actions";
|
|
@@ -49,7 +49,7 @@ export class JustifiBusinessForm {
|
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
51
|
componentWillLoad() {
|
|
52
|
-
|
|
52
|
+
detectDuplicateVersion();
|
|
53
53
|
this.analytics = new JustifiAnalytics(this);
|
|
54
54
|
this.formController = new FormController(businessFormSchema);
|
|
55
55
|
this.initializeApi();
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
import { CountryCode } from "../../../../utils/country-codes";
|
|
3
|
-
import {
|
|
3
|
+
import { zipCodeOnlyHandler } from "../../../../ui-components/form/utils";
|
|
4
|
+
import { normalizePostalCode } from "../../../../utils/postal-code";
|
|
4
5
|
import { countryLabels, countryOptions } from "../../utils/country-config";
|
|
5
6
|
export class FormAddressFields {
|
|
6
7
|
constructor() {
|
|
@@ -10,7 +11,7 @@ export class FormAddressFields {
|
|
|
10
11
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
11
12
|
const labels = countryLabels[this.country];
|
|
12
13
|
const options = countryOptions[this.country];
|
|
13
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: 'a1bbc92e63a973d2ad70019597132b599529d3b5' }, h("div", { key: 'f52aee4bdb8987e40693e75627bd5f852e20f9c9', class: "row gy-3" }, h("div", { key: '3557621ecc4910bba3d41551ffc6fbf88cabb1ef', class: "col-12" }, h("form-control-text", { key: '5d0df84b735ff1364bf62185db33afdc4c0782e2', 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: '671665f83b6569830296842ac089fdcfafa19b0d', class: "col-12" }, h("form-control-text", { key: '21b3f2e4dfc8b30603d22ffb4d59480be2035aff', 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: '731c4bb3c8fcbf2f68f0a721415210819d3721c6', class: "col-12" }, h("form-control-text", { key: 'b0283f71fe2d8efdadc918257d119c0af2b02243', 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: '42c208d228cf9c1f278c9c666d15f1508d6c8c51', class: "col-12 col-md-6" }, h("form-control-select", { key: '9da34256e043df09cf924c110b059304e35a3451', 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: '24622af99d38f69c942e3e73d6705a68a2a3dc07', class: "col-12 col-md-6" }, h("form-control-text", { key: '24405b8aff1b14bcb00583085efeb8b3f33a6903', 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, transformValue: normalizePostalCode, maxLength: this.country === CountryCode.USA ? 10 : 7, keyDownHandler: this.country === CountryCode.USA ? zipCodeOnlyHandler : undefined })))));
|
|
14
15
|
}
|
|
15
16
|
static get is() { return "form-address-fields"; }
|
|
16
17
|
static get properties() {
|
|
@@ -4,7 +4,7 @@ import { ComponentErrorCodes, ComponentErrorSeverity, } from "../../../api/Compo
|
|
|
4
4
|
import { makeGetBusiness, makePostProvisioning, } from "./payment-provisioning-actions";
|
|
5
5
|
import { BusinessService } from "../../../api/services/business.service";
|
|
6
6
|
import { ProvisionService } from "../../../api/services/provision.service";
|
|
7
|
-
import {
|
|
7
|
+
import { detectDuplicateVersion } from "../../../utils/detect-duplicate-version";
|
|
8
8
|
import { isTokenExpired } from "../../../utils/utils";
|
|
9
9
|
import { checkProvisioningStatus } from "../utils/helpers";
|
|
10
10
|
import { Header1, StyledHost } from "../../../ui-components";
|
|
@@ -105,7 +105,7 @@ export class JustifiPaymentProvisioning {
|
|
|
105
105
|
this.loading = event.detail;
|
|
106
106
|
}
|
|
107
107
|
async componentWillLoad() {
|
|
108
|
-
|
|
108
|
+
detectDuplicateVersion();
|
|
109
109
|
this.analytics = new JustifiAnalytics(this);
|
|
110
110
|
this.initializeApi();
|
|
111
111
|
if (this.getBusiness) {
|
|
@@ -19,6 +19,7 @@ export const phoneRegex = /^\d{10}$/;
|
|
|
19
19
|
export const urlRegex = /^(?:http(s)?:\/\/)?(?:www\.)?[-a-zA-Z0-9@:%._+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_+.~#?&//=]*)$/;
|
|
20
20
|
export const stringLettersOnlyRegex = /^(?!^\s+$)[a-zA-Z\s]*$/;
|
|
21
21
|
export const numbersOnlyRegex = /^\d+$/;
|
|
22
|
-
|
|
22
|
+
// 9XX area allowed so ITINs pass
|
|
23
|
+
export const ssnRegex = /^(?!000|666)\d{3}(?!00)\d{2}(?!0000)\d{4}$/;
|
|
23
24
|
export const streetAddressRegex = /^(?!^\s+$)[a-zA-Z0-9\s,&.-]*$/;
|
|
24
25
|
export const poBoxRegex = /P\.?\s?O\.?\s?Box|Postal\sBox/i;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { string } from "yup";
|
|
2
2
|
import checkoutBillingStateOptions from "../../../utils/checkout-billing-state-options";
|
|
3
3
|
import { CountryCode } from "../../../utils/country-codes";
|
|
4
|
+
import { CA_OR_US_POSTAL_REGEX, normalizePostalCode } from "../../../utils/postal-code";
|
|
4
5
|
import { countryValidation } from "../utils/country-config";
|
|
5
6
|
import { businessServiceReceivedOptions, bankAccountTypeOptions, } from "../utils/business-form-options";
|
|
6
7
|
import { numbersOnlyRegex, phoneRegex, poBoxRegex, ssnRegex, transformEmptyString, urlRegex, validateRoutingNumber, } from "./schema-helpers";
|
|
@@ -39,6 +40,11 @@ export const taxIdValidation = string()
|
|
|
39
40
|
.transform(transformEmptyString);
|
|
40
41
|
// Country-aware helpers (backward compatible)
|
|
41
42
|
export const makePostalValidation = (country) => string()
|
|
43
|
+
// Normalize before matching so a stored value that predates the canonical
|
|
44
|
+
// format — 'm5v2t6', 'M5V-2T6' — still validates. Nothing in vault or
|
|
45
|
+
// entity_management ever enforced a format, and Stripe imports copy the
|
|
46
|
+
// merchant's own spelling verbatim.
|
|
47
|
+
.transform(normalizePostalCode)
|
|
42
48
|
.matches(countryValidation[country].postalRegex, 'Enter valid postal code')
|
|
43
49
|
.transform(transformEmptyString);
|
|
44
50
|
export const makeIdentityNumberValidation = (country) => {
|
|
@@ -162,7 +168,8 @@ export const stateValidation = string()
|
|
|
162
168
|
.oneOf(checkoutBillingStateOptions.map((option) => option.value), 'Select a valid state or province')
|
|
163
169
|
.transform(transformEmptyString);
|
|
164
170
|
export const postalValidation = string()
|
|
165
|
-
.
|
|
171
|
+
.transform(normalizePostalCode)
|
|
172
|
+
.matches(CA_OR_US_POSTAL_REGEX, 'Enter valid postal code')
|
|
166
173
|
.transform(transformEmptyString);
|
|
167
174
|
// Additional Questions Validations
|
|
168
175
|
export const revenueValidation = string()
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import StateOptions from "../../../utils/state-options";
|
|
2
2
|
import ProvinceOptions from "../../../utils/province-options";
|
|
3
|
+
import { CA_OR_US_POSTAL_REGEX, US_ZIP_REGEX } from "../../../utils/postal-code";
|
|
3
4
|
import { businessClassificationOptions } from "./business-form-options";
|
|
4
5
|
export const countryLabels = {
|
|
5
6
|
USA: {
|
|
@@ -38,12 +39,12 @@ export const countryOptions = {
|
|
|
38
39
|
};
|
|
39
40
|
export const countryValidation = {
|
|
40
41
|
USA: {
|
|
41
|
-
postalRegex:
|
|
42
|
+
postalRegex: US_ZIP_REGEX,
|
|
42
43
|
identityDigits: 9,
|
|
43
44
|
taxIdDigits: 9,
|
|
44
45
|
},
|
|
45
46
|
CAN: {
|
|
46
|
-
postalRegex:
|
|
47
|
+
postalRegex: CA_OR_US_POSTAL_REGEX,
|
|
47
48
|
identityDigits: 9,
|
|
48
49
|
taxIdDigits: 9,
|
|
49
50
|
},
|
|
@@ -22,5 +22,7 @@ export function deconstructDate(formInput) {
|
|
|
22
22
|
return { dob_year, dob_month, dob_day };
|
|
23
23
|
}
|
|
24
24
|
export function checkProvisioningStatus(business) {
|
|
25
|
-
|
|
25
|
+
var _a, _b;
|
|
26
|
+
// Succeeded provisioning records; an associated account alone doesn't mean payments were provisioned.
|
|
27
|
+
return (_b = (_a = business.provisioned) === null || _a === void 0 ? void 0 : _a.includes('payments')) !== null && _b !== void 0 ? _b : false;
|
|
26
28
|
}
|