@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
|
@@ -9,7 +9,7 @@ const InternalButton = class {
|
|
|
9
9
|
this.type = 'button';
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Button, { key: '
|
|
12
|
+
return (h(Button, { key: '11cadb5b781ec348014026437735c904aa32e254', variant: this.variant, isLoading: this.isLoading, clickHandler: this.clickHandler, class: this.class, type: this.type, disabled: this.disabled, style: this.customStyle, hidden: this.hidden }, this.text));
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-CV0Pyo1O.js';
|
|
2
|
-
import { A as Api } from './Api-
|
|
3
|
-
import { A as ApplePayConfig, r as ApplePayHelpers, s as ApplePayPaymentRequest, t as ApplePaySessionStatus, u as ApplePayButtonStyle, v as ApplePayButtonType, w as ApplePayMerchantCapability, C as ComponentErrorSeverity, b as ComponentErrorCodes, c as ComponentErrorMessages, I as ICheckoutStatus, x as PLAID_ERROR_SEVERITY, y as PLAID_ERROR_MESSAGES, z as PlaidErrorCodes } from './Plaid-
|
|
2
|
+
import { A as Api } from './Api-INJHjnya.js';
|
|
3
|
+
import { A as ApplePayConfig, r as ApplePayHelpers, s as ApplePayPaymentRequest, t as ApplePaySessionStatus, u as ApplePayButtonStyle, v as ApplePayButtonType, w as ApplePayMerchantCapability, C as ComponentErrorSeverity, b as ComponentErrorCodes, c as ComponentErrorMessages, I as ICheckoutStatus, x as PLAID_ERROR_SEVERITY, y as PLAID_ERROR_MESSAGES, z as PlaidErrorCodes } from './Plaid-CRcTLeaz.js';
|
|
4
4
|
import { S as StyledHost } from './styled-host-RvPhw8Gu.js';
|
|
5
5
|
import './event-types-CZfYo5-1.js';
|
|
6
6
|
import { S as Skeleton } from './skeleton-dbktEkFS.js';
|
|
7
|
-
import { c as checkoutStore, o as onChange, a as onAnyChange, g as getAvailablePaymentMethodTypes, b as getCheckoutState } from './checkout.store-
|
|
7
|
+
import { c as checkoutStore, o as onChange, a as onAnyChange, g as getAvailablePaymentMethodTypes, b as getCheckoutState } from './checkout.store-B8CGkx0o.js';
|
|
8
8
|
import { t as text, r as radioListItem } from './parts-Bu7gdOaV.js';
|
|
9
9
|
import { f as formatCurrency } from './utils-D8J8OvxY.js';
|
|
10
10
|
import { w as waitForConfig, c as configState } from './config-state-BKOsYBXZ.js';
|
|
11
11
|
import { H as Header1 } from './header-1-BI0o3rMW.js';
|
|
12
12
|
import { H as Header2, b as insuranceValuesOn, h as hasInsuranceValueChanged, i as insuranceValues } from './insurance-state-DM0VaTpH.js';
|
|
13
13
|
import { H as Header3 } from './header-3-DNqRk_HO.js';
|
|
14
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
15
|
-
import {
|
|
14
|
+
import { J as JustifiAnalytics } from './Analytics-DihSSvAP.js';
|
|
15
|
+
import { d as detectDuplicateVersion } from './detect-duplicate-version-C4r1WAzO.js';
|
|
16
16
|
import './dinero-HXpYMWUU.js';
|
|
17
17
|
import './Pagination-CLHwhyvu.js';
|
|
18
|
-
import './Business-
|
|
19
|
-
import { m as makeGetCheckout, a as makeCheckoutComplete } from './checkout-actions-
|
|
20
|
-
import { C as CheckoutService } from './checkout.service-
|
|
21
|
-
import { P as PlaidService } from './plaid.service-
|
|
18
|
+
import './Business-CTtGaVYs.js';
|
|
19
|
+
import { m as makeGetCheckout, a as makeCheckoutComplete } from './checkout-actions-CWnrb317.js';
|
|
20
|
+
import { C as CheckoutService } from './checkout.service-BYDkC7uy.js';
|
|
21
|
+
import { P as PlaidService } from './plaid.service-Cg3E3Plo.js';
|
|
22
22
|
import { P as PAYMENT_METHODS, a as PaymentMethod, b as PAYMENT_MODE } from './index-DEx8fQeW.js';
|
|
23
23
|
import { C as CardBrandLabels } from './payment-method-option-utils-lUHAQVFl.js';
|
|
24
|
-
import './package-
|
|
24
|
+
import './package-BQpbTebi.js';
|
|
25
25
|
import './index-3wWWWrhn.js';
|
|
26
|
-
import './utils-
|
|
26
|
+
import './utils-DaPywmTI.js';
|
|
27
27
|
|
|
28
28
|
const JustifiRadioListItem = class {
|
|
29
29
|
constructor(hostRef) {
|
|
@@ -564,7 +564,7 @@ const JustifiApplePay = class {
|
|
|
564
564
|
this.error = null;
|
|
565
565
|
this.applePayStarted.emit();
|
|
566
566
|
const paymentRequest = {
|
|
567
|
-
countryCode: this.
|
|
567
|
+
countryCode: this.countryCodeForCurrency(checkoutStore.paymentCurrency),
|
|
568
568
|
currencyCode: checkoutStore.paymentCurrency,
|
|
569
569
|
merchantCapabilities: [
|
|
570
570
|
ApplePayMerchantCapability.SUPPORTS_3DS,
|
|
@@ -628,6 +628,12 @@ const JustifiApplePay = class {
|
|
|
628
628
|
});
|
|
629
629
|
}
|
|
630
630
|
}
|
|
631
|
+
countryCodeForCurrency(currency) {
|
|
632
|
+
if (currency.toLowerCase() == "cad") {
|
|
633
|
+
return "CA";
|
|
634
|
+
}
|
|
635
|
+
return "US";
|
|
636
|
+
}
|
|
631
637
|
loadApplePaySDK() {
|
|
632
638
|
if (this.sdkLoaded)
|
|
633
639
|
return;
|
|
@@ -752,7 +758,7 @@ const JustifiCheckoutSummary = class {
|
|
|
752
758
|
registerInstance(this, hostRef);
|
|
753
759
|
}
|
|
754
760
|
render() {
|
|
755
|
-
return (h(StyledHost, { key: '
|
|
761
|
+
return (h(StyledHost, { key: '13d0570e2bdb79d842f9c0a17c7403963ea167c8' }, h("section", { key: 'c15f36caa2a9ebb66c7f0a16393926b643f1bc3b' }, h("div", { key: '1e4e5d32cebb57ceaeb3786a29a9e08c8e83ac80' }, h("div", { key: '42ff5c6ef33654a88858e8ed48e230dd674d1953', part: text }, checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.paymentDescription), h("div", { key: 'c21d5eb012664efdd71e82bf24a88d0fefedad8c' }, h("span", { key: 'a8876afe5d7e993077ed8c4fb140c745d98e9196', part: text }, "Total"), "\u00A0", h("span", { key: 'b81156e9f9240656b51f6ed374db9878bb3137c9', part: text }, formatCurrency(+(checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.totalAmount))))))));
|
|
756
762
|
}
|
|
757
763
|
};
|
|
758
764
|
|
|
@@ -922,6 +928,14 @@ const JustifiModularCheckout = class {
|
|
|
922
928
|
this.submitEvent = createEvent(this, "submit-event", 7);
|
|
923
929
|
this.checkoutChangedEvent = createEvent(this, "checkout-changed", 7);
|
|
924
930
|
this.plaidService = new PlaidService();
|
|
931
|
+
/**
|
|
932
|
+
* Mask the card number to its last four digits when the field loses focus,
|
|
933
|
+
* with an eye toggle to reveal it. Applies to the `justifi-card-form`
|
|
934
|
+
* rendered inside this checkout. Defaults to false.
|
|
935
|
+
*
|
|
936
|
+
* Anti-shoulder-surfing only, not a secrecy boundary.
|
|
937
|
+
*/
|
|
938
|
+
this.maskCardNumber = false;
|
|
925
939
|
this.handlePaypalStarted = () => {
|
|
926
940
|
checkoutStore.isWalletProcessing = true;
|
|
927
941
|
};
|
|
@@ -1022,6 +1036,9 @@ const JustifiModularCheckout = class {
|
|
|
1022
1036
|
checkoutStore.selectedPaymentMethod = undefined;
|
|
1023
1037
|
};
|
|
1024
1038
|
}
|
|
1039
|
+
maskCardNumberChanged() {
|
|
1040
|
+
checkoutStore.maskCardNumber = !!this.maskCardNumber;
|
|
1041
|
+
}
|
|
1025
1042
|
connectedCallback() {
|
|
1026
1043
|
var _a;
|
|
1027
1044
|
this.observer = new MutationObserver(() => {
|
|
@@ -1035,6 +1052,7 @@ const JustifiModularCheckout = class {
|
|
|
1035
1052
|
subtree: true,
|
|
1036
1053
|
});
|
|
1037
1054
|
checkoutStore.checkoutId = this.checkoutId;
|
|
1055
|
+
checkoutStore.maskCardNumber = !!this.maskCardNumber;
|
|
1038
1056
|
const config = {
|
|
1039
1057
|
authToken: this.authToken,
|
|
1040
1058
|
checkoutId: this.checkoutId,
|
|
@@ -1049,7 +1067,7 @@ const JustifiModularCheckout = class {
|
|
|
1049
1067
|
}
|
|
1050
1068
|
componentWillLoad() {
|
|
1051
1069
|
this.analytics = new JustifiAnalytics(this);
|
|
1052
|
-
|
|
1070
|
+
detectDuplicateVersion();
|
|
1053
1071
|
checkoutStore.authToken = this.authToken;
|
|
1054
1072
|
this.fetchCheckout();
|
|
1055
1073
|
// Refresh the checkout data when insurance values actually change (not on initial load)
|
|
@@ -1299,6 +1317,15 @@ const JustifiModularCheckout = class {
|
|
|
1299
1317
|
});
|
|
1300
1318
|
return;
|
|
1301
1319
|
}
|
|
1320
|
+
if (!isValid) {
|
|
1321
|
+
checkoutStore.isSubmitting = false;
|
|
1322
|
+
this.errorEvent.emit({
|
|
1323
|
+
message: "Please fill in all required fields.",
|
|
1324
|
+
errorCode: ComponentErrorCodes.VALIDATION_ERROR,
|
|
1325
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
1326
|
+
});
|
|
1327
|
+
return;
|
|
1328
|
+
}
|
|
1302
1329
|
const isNewCard = ((_a = checkoutStore.selectedPaymentMethod) === null || _a === void 0 ? void 0 : _a.type) === PAYMENT_METHODS.NEW_CARD;
|
|
1303
1330
|
const isNewBankAccount = ((_b = checkoutStore.selectedPaymentMethod) === null || _b === void 0 ? void 0 : _b.type) === PAYMENT_METHODS.NEW_BANK_ACCOUNT;
|
|
1304
1331
|
const isPlaid = ((_c = checkoutStore.selectedPaymentMethod) === null || _c === void 0 ? void 0 : _c.type) === PAYMENT_METHODS.PLAID;
|
|
@@ -1353,15 +1380,6 @@ const JustifiModularCheckout = class {
|
|
|
1353
1380
|
return;
|
|
1354
1381
|
}
|
|
1355
1382
|
}
|
|
1356
|
-
if (!isValid) {
|
|
1357
|
-
checkoutStore.isSubmitting = false;
|
|
1358
|
-
this.errorEvent.emit({
|
|
1359
|
-
message: "Please fill in all required fields.",
|
|
1360
|
-
errorCode: ComponentErrorCodes.VALIDATION_ERROR,
|
|
1361
|
-
severity: ComponentErrorSeverity.ERROR,
|
|
1362
|
-
});
|
|
1363
|
-
return;
|
|
1364
|
-
}
|
|
1365
1383
|
// Sezzle has no payment token; approval comes from the Sezzle popup
|
|
1366
1384
|
const isSezzle = ((_e = checkoutStore.selectedPaymentMethod) === null || _e === void 0 ? void 0 : _e.type) === PAYMENT_METHODS.SEZZLE;
|
|
1367
1385
|
if (isSezzle) {
|
|
@@ -1445,9 +1463,12 @@ const JustifiModularCheckout = class {
|
|
|
1445
1463
|
});
|
|
1446
1464
|
}
|
|
1447
1465
|
render() {
|
|
1448
|
-
return h(Host, { key: '
|
|
1466
|
+
return h(Host, { key: '5f914d13899fe8da6a780a29689db7e9d7f9ed3e' });
|
|
1449
1467
|
}
|
|
1450
1468
|
get hostEl() { return getElement(this); }
|
|
1469
|
+
static get watchers() { return {
|
|
1470
|
+
"maskCardNumber": ["maskCardNumberChanged"]
|
|
1471
|
+
}; }
|
|
1451
1472
|
};
|
|
1452
1473
|
|
|
1453
1474
|
const api = Api();
|
|
@@ -1652,7 +1673,7 @@ const JustifiPaypal = class {
|
|
|
1652
1673
|
return order;
|
|
1653
1674
|
}
|
|
1654
1675
|
render() {
|
|
1655
|
-
return (h(StyledHost, { key: '
|
|
1676
|
+
return (h(StyledHost, { key: '39a2b473cfa47da5e079adbaffa93663289cb8ec' }, h("div", { key: '9d3e3ff9236d2462157b310d691c43f54b6651dd', class: "paypal-buttons", ref: (el) => (this.buttonsEl = el) }, h("paypal-button", { key: 'a0049d2bcf4aa295f65563f49c3287b2da2e63b8', type: "pay", ref: (el) => (this.paypalButtonEl = el), onClick: () => this.startSession(this.paypalSession, 'paypal') }), h("venmo-button", { key: 'fd71ba73af2223271160601ec76039d3e0d6cb02', type: "pay", ref: (el) => (this.venmoButtonEl = el), onClick: () => this.startSession(this.venmoSession, 'venmo') })), h("style", { key: '7c7b62b3bbdf001760e888b4206702d210aeadcb' }, `
|
|
1656
1677
|
.paypal-buttons {
|
|
1657
1678
|
display: none;
|
|
1658
1679
|
gap: 8px;
|
|
@@ -2380,7 +2401,7 @@ const JustifiTokenizePaymentMethod = class {
|
|
|
2380
2401
|
}
|
|
2381
2402
|
}
|
|
2382
2403
|
componentWillLoad() {
|
|
2383
|
-
|
|
2404
|
+
detectDuplicateVersion();
|
|
2384
2405
|
this.analytics = new JustifiAnalytics(this);
|
|
2385
2406
|
}
|
|
2386
2407
|
handleRadioClick(event) {
|
|
@@ -2435,9 +2456,10 @@ const JustifiTokenizePaymentMethod = class {
|
|
|
2435
2456
|
this.billingFormRef.validate(),
|
|
2436
2457
|
this.paymentMethodFormRef.validate(),
|
|
2437
2458
|
]);
|
|
2459
|
+
// Field-level messages stay inside the hosted iframes, so only billing contributes errors.
|
|
2438
2460
|
const result = {
|
|
2439
2461
|
isValid: billingValidation.isValid && paymentMethodValidation.isValid,
|
|
2440
|
-
errors: Object.assign(
|
|
2462
|
+
errors: Object.assign({}, billingValidation.errors),
|
|
2441
2463
|
};
|
|
2442
2464
|
return result;
|
|
2443
2465
|
}
|
|
@@ -2599,13 +2621,13 @@ const JustifiTokenizePaymentMethod = class {
|
|
|
2599
2621
|
return paymentMethodType === PAYMENT_METHODS.NEW_CARD ? (h("card-form", { ref: (el) => {
|
|
2600
2622
|
if (el)
|
|
2601
2623
|
this.paymentMethodFormRef = el;
|
|
2602
|
-
} })) : (h("bank-account-form", { ref: (el) => {
|
|
2624
|
+
}, maskCardNumber: this.maskCardNumber })) : (h("bank-account-form", { ref: (el) => {
|
|
2603
2625
|
if (el)
|
|
2604
2626
|
this.paymentMethodFormRef = el;
|
|
2605
|
-
} }));
|
|
2627
|
+
}, showAccountNumberConfirmation: this.showAccountNumberConfirmation }));
|
|
2606
2628
|
}
|
|
2607
2629
|
render() {
|
|
2608
|
-
return (h(StyledHost, { key: '
|
|
2630
|
+
return (h(StyledHost, { key: 'd065263c69beef410298f14a3c8e595460149267' }, h("form", { key: 'cbf67700b366e26eb9a6aa1fe07afd3f7baf5c52' }, h("fieldset", { key: '3fd1ccefca659985eb2b90c1080c71c0f2ffe99a' }, h("div", { key: '7181cff13f4cc7aa6c00f4023757bac96625e87b', class: "row gy-3" }, h("div", { key: 'c04c382e858eab02206902d23e3921d15d2bfebc', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), h("div", { key: '9faa4417ba3e5dba526103f8d92fd5a88ce2df7d', class: "col-12" }, h("internal-button", { key: 'e4fc2482631553212e5cf62b07f2f44f32239b75', text: this.submitButtonText, variant: "primary", type: "submit", clickHandler: (e) => this.tokenizePaymentMethod(e), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.computedHideSubmitButton })))))));
|
|
2609
2631
|
}
|
|
2610
2632
|
get host() { return getElement(this); }
|
|
2611
2633
|
static get watchers() { return {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-CV0Pyo1O.js';
|
|
2
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
3
|
-
import {
|
|
2
|
+
import { J as JustifiAnalytics } from './Analytics-DihSSvAP.js';
|
|
3
|
+
import { d as detectDuplicateVersion } from './detect-duplicate-version-C4r1WAzO.js';
|
|
4
4
|
import { w as waitForConfig } from './config-state-BKOsYBXZ.js';
|
|
5
5
|
import { S as StyledHost } from './styled-host-RvPhw8Gu.js';
|
|
6
6
|
import './event-types-CZfYo5-1.js';
|
|
7
|
-
import './package-
|
|
8
|
-
import './Api-
|
|
7
|
+
import './package-BQpbTebi.js';
|
|
8
|
+
import './Api-INJHjnya.js';
|
|
9
9
|
import './utils-D8J8OvxY.js';
|
|
10
10
|
import './dinero-HXpYMWUU.js';
|
|
11
|
-
import './Plaid-
|
|
11
|
+
import './Plaid-CRcTLeaz.js';
|
|
12
12
|
import './Pagination-CLHwhyvu.js';
|
|
13
|
-
import './Business-
|
|
13
|
+
import './Business-CTtGaVYs.js';
|
|
14
14
|
import './index-3wWWWrhn.js';
|
|
15
15
|
|
|
16
16
|
const JustifiBankAccountBillingFormSimple = class {
|
|
@@ -19,7 +19,7 @@ const JustifiBankAccountBillingFormSimple = class {
|
|
|
19
19
|
}
|
|
20
20
|
async componentWillLoad() {
|
|
21
21
|
await waitForConfig();
|
|
22
|
-
|
|
22
|
+
detectDuplicateVersion();
|
|
23
23
|
this.analytics = new JustifiAnalytics(this);
|
|
24
24
|
}
|
|
25
25
|
disconnectedCallback() {
|
|
@@ -35,7 +35,7 @@ const JustifiBankAccountBillingFormSimple = class {
|
|
|
35
35
|
return (_b = (_a = this.bankAccountBillingFormSimpleRef) === null || _a === void 0 ? void 0 : _a.validate()) !== null && _b !== void 0 ? _b : { isValid: false, errors: {} };
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (h(StyledHost, { key: '
|
|
38
|
+
return (h(StyledHost, { key: 'a991c5bf6a8dfac85e274b53a0c4c6388c03f661' }, h("bank-account-billing-form-simple", { key: '0db34cb082719bdb6d5fd62c5976734cc8b0db14', legend: this.legend, ref: (el) => (this.bankAccountBillingFormSimpleRef = el) })));
|
|
39
39
|
}
|
|
40
40
|
};
|
|
41
41
|
|
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-CV0Pyo1O.js';
|
|
2
|
-
import {
|
|
3
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
2
|
+
import { d as detectDuplicateVersion } from './detect-duplicate-version-C4r1WAzO.js';
|
|
3
|
+
import { J as JustifiAnalytics } from './Analytics-DihSSvAP.js';
|
|
4
4
|
import { w as waitForConfig } from './config-state-BKOsYBXZ.js';
|
|
5
5
|
import { S as StyledHost } from './styled-host-RvPhw8Gu.js';
|
|
6
6
|
import './event-types-CZfYo5-1.js';
|
|
7
|
-
import './package-
|
|
8
|
-
import './Api-
|
|
7
|
+
import './package-BQpbTebi.js';
|
|
8
|
+
import './Api-INJHjnya.js';
|
|
9
9
|
import './utils-D8J8OvxY.js';
|
|
10
10
|
import './dinero-HXpYMWUU.js';
|
|
11
|
-
import './Plaid-
|
|
11
|
+
import './Plaid-CRcTLeaz.js';
|
|
12
12
|
import './Pagination-CLHwhyvu.js';
|
|
13
|
-
import './Business-
|
|
13
|
+
import './Business-CTtGaVYs.js';
|
|
14
14
|
import './index-3wWWWrhn.js';
|
|
15
15
|
|
|
16
16
|
const JustifiBankAccountForm = class {
|
|
17
17
|
constructor(hostRef) {
|
|
18
18
|
registerInstance(this, hostRef);
|
|
19
|
+
this.showAccountNumberConfirmation = false;
|
|
19
20
|
}
|
|
20
21
|
async componentWillLoad() {
|
|
21
22
|
await waitForConfig();
|
|
22
|
-
|
|
23
|
+
detectDuplicateVersion();
|
|
23
24
|
this.analytics = new JustifiAnalytics(this);
|
|
24
25
|
}
|
|
25
26
|
disconnectedCallback() {
|
|
@@ -28,7 +29,7 @@ const JustifiBankAccountForm = class {
|
|
|
28
29
|
}
|
|
29
30
|
async validate() {
|
|
30
31
|
if (!this.bankAccountFormElement) {
|
|
31
|
-
return false;
|
|
32
|
+
return { isValid: false };
|
|
32
33
|
}
|
|
33
34
|
return this.bankAccountFormElement.validate();
|
|
34
35
|
}
|
|
@@ -43,7 +44,7 @@ const JustifiBankAccountForm = class {
|
|
|
43
44
|
return this.bankAccountFormElement.tokenize({ clientId, paymentMethodMetadata, account });
|
|
44
45
|
}
|
|
45
46
|
render() {
|
|
46
|
-
return (h(StyledHost, { key: '
|
|
47
|
+
return (h(StyledHost, { key: '3ac1f01cffa56e4ce30214c6290af227dc21fd6f' }, h("bank-account-form", { key: 'd6c194dd830d1ea2cfcbdc0af2c3427aaa7652aa', ref: (el) => (this.bankAccountFormElement = el), showAccountNumberConfirmation: this.showAccountNumberConfirmation })));
|
|
47
48
|
}
|
|
48
49
|
};
|
|
49
50
|
|
|
@@ -15,7 +15,7 @@ const JustifiBillingFormFull = class {
|
|
|
15
15
|
return (_b = (_a = this.billingFormFullRef) === null || _a === void 0 ? void 0 : _a.validate()) !== null && _b !== void 0 ? _b : { isValid: false, errors: {} };
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return (h(StyledHost, { key: '
|
|
18
|
+
return (h(StyledHost, { key: 'bc205e29da4d4db453b558744e5968486ec4816f' }, h("billing-form-full", { key: '624efbdb7660c6634b878c17cad3f34cf802d8e8', legend: this.legend, ref: (el) => (this.billingFormFullRef = el) })));
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { h, F as Fragment, r as registerInstance, c as createEvent } from './index-CV0Pyo1O.js';
|
|
2
2
|
import { E as ErrorState } from './utils-BFduyAPr.js';
|
|
3
|
-
import { B as BusinessService } from './business.service-
|
|
4
|
-
import { m as makeGetBusiness } from './get-business-
|
|
5
|
-
import { C as ComponentErrorSeverity, b as ComponentErrorCodes } from './Plaid-
|
|
6
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
7
|
-
import {
|
|
3
|
+
import { B as BusinessService } from './business.service-C8f7OSEu.js';
|
|
4
|
+
import { m as makeGetBusiness } from './get-business-IZpxKRZM.js';
|
|
5
|
+
import { C as ComponentErrorSeverity, b as ComponentErrorCodes } from './Plaid-CRcTLeaz.js';
|
|
6
|
+
import { J as JustifiAnalytics } from './Analytics-DihSSvAP.js';
|
|
7
|
+
import { d as detectDuplicateVersion } from './detect-duplicate-version-C4r1WAzO.js';
|
|
8
8
|
import { S as StyledHost } from './styled-host-RvPhw8Gu.js';
|
|
9
9
|
import './event-types-CZfYo5-1.js';
|
|
10
10
|
import { S as Skeleton } from './skeleton-dbktEkFS.js';
|
|
11
11
|
import './parts-Bu7gdOaV.js';
|
|
12
|
-
import './Api-
|
|
12
|
+
import './Api-INJHjnya.js';
|
|
13
13
|
import './config-state-BKOsYBXZ.js';
|
|
14
14
|
import './index-3wWWWrhn.js';
|
|
15
15
|
import './utils-D8J8OvxY.js';
|
|
16
16
|
import './dinero-HXpYMWUU.js';
|
|
17
|
-
import './package-
|
|
17
|
+
import './package-BQpbTebi.js';
|
|
18
18
|
import './Pagination-CLHwhyvu.js';
|
|
19
|
-
import './Business-
|
|
20
|
-
import './utils-
|
|
19
|
+
import './Business-CTtGaVYs.js';
|
|
20
|
+
import './utils-DaPywmTI.js';
|
|
21
21
|
|
|
22
22
|
const BusinessDetailsLoading = () => {
|
|
23
23
|
const Block = () => (h("div", { class: "mt-5" }, h(Skeleton, { width: "40%", height: "1.5rem" }), h("hr", null), h("div", { class: "row g-3" }, h("div", { class: "col-12 col-md-6" }, h(Skeleton, null), h(Skeleton, null), h(Skeleton, null)), h("div", { class: "col-12 col-md-6" }, h(Skeleton, null), h(Skeleton, null), h(Skeleton, null)))));
|
|
@@ -31,7 +31,7 @@ const JustifiBusinessDetails = class {
|
|
|
31
31
|
this.loading = true;
|
|
32
32
|
}
|
|
33
33
|
componentWillLoad() {
|
|
34
|
-
|
|
34
|
+
detectDuplicateVersion();
|
|
35
35
|
this.analytics = new JustifiAnalytics(this);
|
|
36
36
|
this.initializeGetBusiness();
|
|
37
37
|
}
|
|
@@ -87,7 +87,7 @@ const JustifiBusinessDetails = class {
|
|
|
87
87
|
});
|
|
88
88
|
}
|
|
89
89
|
render() {
|
|
90
|
-
return (h(StyledHost, { key: '
|
|
90
|
+
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 }))))));
|
|
91
91
|
}
|
|
92
92
|
static get watchers() { return {
|
|
93
93
|
"businessId": ["propChanged"],
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { h, r as registerInstance, c as createEvent } from './index-CV0Pyo1O.js';
|
|
2
2
|
import { c as create$3, F as FormController } from './index.esm-KCSohgHx.js';
|
|
3
|
-
import { b as businessCoreInfoSchemaUSA, i as identitySchemaUSA, a as additionalQuestionsSchema, c as addressSchemaUSA, d as businessCoreInfoSchemaCAN, e as identitySchemaCAN, f as addressSchemaCAN } from './business-identity-schema-
|
|
3
|
+
import { b as businessCoreInfoSchemaUSA, i as identitySchemaUSA, a as additionalQuestionsSchema, c as addressSchemaUSA, d as businessCoreInfoSchemaCAN, e as identitySchemaCAN, f as addressSchemaCAN } from './business-identity-schema-BLKCH6xV.js';
|
|
4
4
|
import './config-state-BKOsYBXZ.js';
|
|
5
5
|
import './dinero-HXpYMWUU.js';
|
|
6
|
-
import { C as ComponentErrorSeverity, b as ComponentErrorCodes } from './Plaid-
|
|
6
|
+
import { C as ComponentErrorSeverity, b as ComponentErrorCodes } from './Plaid-CRcTLeaz.js';
|
|
7
7
|
import './Pagination-CLHwhyvu.js';
|
|
8
|
-
import { C as CountryCode, B as Business, b as BusinessFormServerErrors } from './Business-
|
|
9
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
8
|
+
import { C as CountryCode, B as Business, b as BusinessFormServerErrors } from './Business-CTtGaVYs.js';
|
|
9
|
+
import { J as JustifiAnalytics } from './Analytics-DihSSvAP.js';
|
|
10
10
|
import { B as Button } from './button-CBzHAOFW.js';
|
|
11
11
|
import { S as StyledHost } from './styled-host-RvPhw8Gu.js';
|
|
12
12
|
import { H as Header1 } from './header-1-BI0o3rMW.js';
|
|
13
13
|
import './event-types-CZfYo5-1.js';
|
|
14
|
-
import {
|
|
14
|
+
import { d as detectDuplicateVersion } from './detect-duplicate-version-C4r1WAzO.js';
|
|
15
15
|
import { S as Skeleton } from './skeleton-dbktEkFS.js';
|
|
16
16
|
import { B as BusinessFormClickActions } from './event-types-XYgDHrVL.js';
|
|
17
|
-
import { m as makeGetBusiness, a as makePatchBusiness } from './payment-provisioning-actions-
|
|
18
|
-
import { B as BusinessService } from './business.service-
|
|
17
|
+
import { m as makeGetBusiness, a as makePatchBusiness } from './payment-provisioning-actions-VtleD509.js';
|
|
18
|
+
import { B as BusinessService } from './business.service-C8f7OSEu.js';
|
|
19
19
|
import './_commonjsHelpers-BFTU3MAI.js';
|
|
20
|
-
import './schema-validations-
|
|
21
|
-
import './country-config-
|
|
22
|
-
import './business-form-options-
|
|
20
|
+
import './schema-validations-8GJ34Do1.js';
|
|
21
|
+
import './country-config-DJFj1v-Q.js';
|
|
22
|
+
import './business-form-options-DLRkVtee.js';
|
|
23
23
|
import './index-3wWWWrhn.js';
|
|
24
24
|
import './utils-D8J8OvxY.js';
|
|
25
|
-
import './package-
|
|
26
|
-
import './Api-
|
|
25
|
+
import './package-BQpbTebi.js';
|
|
26
|
+
import './Api-INJHjnya.js';
|
|
27
27
|
import './parts-Bu7gdOaV.js';
|
|
28
|
-
import './utils-
|
|
28
|
+
import './utils-DaPywmTI.js';
|
|
29
29
|
|
|
30
30
|
const businessFormSchemaUSA = create$3(Object.assign(Object.assign({}, businessCoreInfoSchemaUSA().fields), { legal_address: addressSchemaUSA(), additional_questions: additionalQuestionsSchema(), representative: identitySchemaUSA('representative') }));
|
|
31
31
|
create$3(Object.assign(Object.assign({}, businessCoreInfoSchemaCAN().fields), { legal_address: addressSchemaCAN(), additional_questions: additionalQuestionsSchema(), representative: identitySchemaCAN('representative') }));
|
|
@@ -79,7 +79,7 @@ const JustifiBusinessForm = class {
|
|
|
79
79
|
};
|
|
80
80
|
}
|
|
81
81
|
componentWillLoad() {
|
|
82
|
-
|
|
82
|
+
detectDuplicateVersion();
|
|
83
83
|
this.analytics = new JustifiAnalytics(this);
|
|
84
84
|
this.formController = new FormController(businessFormSchema);
|
|
85
85
|
this.initializeApi();
|
|
@@ -15,7 +15,7 @@ const JustifiCardBillingFormSimple = class {
|
|
|
15
15
|
return (_b = (_a = this.cardBillingFormSimpleRef) === null || _a === void 0 ? void 0 : _a.validate()) !== null && _b !== void 0 ? _b : { isValid: false, errors: {} };
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return (h(StyledHost, { key: '
|
|
18
|
+
return (h(StyledHost, { key: 'f8cdac6b006bbaf15d7e6b92db8f781afa40899f' }, h("card-billing-form-simple", { key: 'b0973b5459109da5eac937fd0aefbff1c924924c', legend: this.legend, ref: (el) => (this.cardBillingFormSimpleRef = el) })));
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-CV0Pyo1O.js';
|
|
2
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
3
|
-
import {
|
|
2
|
+
import { J as JustifiAnalytics } from './Analytics-DihSSvAP.js';
|
|
3
|
+
import { d as detectDuplicateVersion } from './detect-duplicate-version-C4r1WAzO.js';
|
|
4
4
|
import { w as waitForConfig } from './config-state-BKOsYBXZ.js';
|
|
5
5
|
import { S as StyledHost } from './styled-host-RvPhw8Gu.js';
|
|
6
6
|
import './event-types-CZfYo5-1.js';
|
|
7
|
-
import './
|
|
8
|
-
import './
|
|
7
|
+
import { c as checkoutStore } from './checkout.store-B8CGkx0o.js';
|
|
8
|
+
import './package-BQpbTebi.js';
|
|
9
|
+
import './Api-INJHjnya.js';
|
|
9
10
|
import './utils-D8J8OvxY.js';
|
|
10
11
|
import './dinero-HXpYMWUU.js';
|
|
11
|
-
import './Plaid-
|
|
12
|
+
import './Plaid-CRcTLeaz.js';
|
|
12
13
|
import './Pagination-CLHwhyvu.js';
|
|
13
|
-
import './Business-
|
|
14
|
+
import './Business-CTtGaVYs.js';
|
|
14
15
|
import './index-3wWWWrhn.js';
|
|
16
|
+
import './index-DEx8fQeW.js';
|
|
15
17
|
|
|
16
18
|
const JustifiCardForm = class {
|
|
17
19
|
constructor(hostRef) {
|
|
@@ -19,7 +21,7 @@ const JustifiCardForm = class {
|
|
|
19
21
|
}
|
|
20
22
|
async componentWillLoad() {
|
|
21
23
|
await waitForConfig();
|
|
22
|
-
|
|
24
|
+
detectDuplicateVersion();
|
|
23
25
|
this.analytics = new JustifiAnalytics(this);
|
|
24
26
|
}
|
|
25
27
|
disconnectedCallback() {
|
|
@@ -33,7 +35,8 @@ const JustifiCardForm = class {
|
|
|
33
35
|
return this.cardFormElement.tokenize({ clientId, paymentMethodMetadata, account });
|
|
34
36
|
}
|
|
35
37
|
render() {
|
|
36
|
-
|
|
38
|
+
var _a;
|
|
39
|
+
return (h(StyledHost, { key: '49cf4f202b0f327bd8ca4b4b3c892ae6df4a81f6' }, h("card-form", { key: '480abf1238ed4b5bb1edd5362a432639fc9a7fb9', ref: (el) => (this.cardFormElement = el), maskCardNumber: (_a = this.maskCardNumber) !== null && _a !== void 0 ? _a : checkoutStore.maskCardNumber })));
|
|
37
40
|
}
|
|
38
41
|
};
|
|
39
42
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-CV0Pyo1O.js';
|
|
2
2
|
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-BFTU3MAI.js';
|
|
3
|
-
import { C as ComponentErrorSeverity, b as ComponentErrorCodes } from './Plaid-
|
|
4
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
5
|
-
import {
|
|
3
|
+
import { C as ComponentErrorSeverity, b as ComponentErrorCodes } from './Plaid-CRcTLeaz.js';
|
|
4
|
+
import { J as JustifiAnalytics } from './Analytics-DihSSvAP.js';
|
|
5
|
+
import { d as detectDuplicateVersion } from './detect-duplicate-version-C4r1WAzO.js';
|
|
6
6
|
import './utils-D8J8OvxY.js';
|
|
7
7
|
import './dinero-HXpYMWUU.js';
|
|
8
|
-
import './package-
|
|
9
|
-
import './Api-
|
|
8
|
+
import './package-BQpbTebi.js';
|
|
9
|
+
import './Api-INJHjnya.js';
|
|
10
10
|
import './config-state-BKOsYBXZ.js';
|
|
11
11
|
import './index-3wWWWrhn.js';
|
|
12
12
|
import './Pagination-CLHwhyvu.js';
|
|
13
|
-
import './Business-
|
|
13
|
+
import './Business-CTtGaVYs.js';
|
|
14
14
|
|
|
15
15
|
var browser = {};
|
|
16
16
|
|
|
@@ -3090,7 +3090,7 @@ const JustifiCheckoutQrCode = class {
|
|
|
3090
3090
|
this.size = 256;
|
|
3091
3091
|
}
|
|
3092
3092
|
componentWillLoad() {
|
|
3093
|
-
|
|
3093
|
+
detectDuplicateVersion();
|
|
3094
3094
|
this.analytics = new JustifiAnalytics(this);
|
|
3095
3095
|
}
|
|
3096
3096
|
componentDidLoad() {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-CV0Pyo1O.js';
|
|
2
|
-
import { J as JustifiAnalytics } from './Analytics-
|
|
3
|
-
import {
|
|
4
|
-
import { c as checkoutStore } from './checkout.store-
|
|
2
|
+
import { J as JustifiAnalytics } from './Analytics-DihSSvAP.js';
|
|
3
|
+
import { d as detectDuplicateVersion } from './detect-duplicate-version-C4r1WAzO.js';
|
|
4
|
+
import { c as checkoutStore } from './checkout.store-B8CGkx0o.js';
|
|
5
5
|
import { c as checkoutSummary } from './parts-Bu7gdOaV.js';
|
|
6
6
|
import { S as StyledHost } from './styled-host-RvPhw8Gu.js';
|
|
7
7
|
import './event-types-CZfYo5-1.js';
|
|
8
8
|
import { P as PAYMENT_METHODS } from './index-DEx8fQeW.js';
|
|
9
|
-
import './package-
|
|
10
|
-
import './Api-
|
|
9
|
+
import './package-BQpbTebi.js';
|
|
10
|
+
import './Api-INJHjnya.js';
|
|
11
11
|
import './config-state-BKOsYBXZ.js';
|
|
12
12
|
import './index-3wWWWrhn.js';
|
|
13
13
|
import './utils-D8J8OvxY.js';
|
|
14
14
|
import './dinero-HXpYMWUU.js';
|
|
15
|
-
import './Plaid-
|
|
15
|
+
import './Plaid-CRcTLeaz.js';
|
|
16
16
|
import './Pagination-CLHwhyvu.js';
|
|
17
|
-
import './Business-
|
|
17
|
+
import './Business-CTtGaVYs.js';
|
|
18
18
|
|
|
19
19
|
const JustifiCheckout = class {
|
|
20
20
|
constructor(hostRef) {
|
|
@@ -31,6 +31,8 @@ const JustifiCheckout = class {
|
|
|
31
31
|
this.disablePaymentMethodGroup = false;
|
|
32
32
|
this.hideBankAccountBillingForm = false;
|
|
33
33
|
this.hideCardBillingForm = false;
|
|
34
|
+
/** Renders a "Confirm Account Number" field in the bank account form. */
|
|
35
|
+
this.showAccountNumberConfirmation = false;
|
|
34
36
|
}
|
|
35
37
|
propChanged() {
|
|
36
38
|
this.updateStore();
|
|
@@ -41,7 +43,7 @@ const JustifiCheckout = class {
|
|
|
41
43
|
}
|
|
42
44
|
}
|
|
43
45
|
componentWillLoad() {
|
|
44
|
-
|
|
46
|
+
detectDuplicateVersion();
|
|
45
47
|
this.analytics = new JustifiAnalytics(this);
|
|
46
48
|
}
|
|
47
49
|
disconnectedCallback() {
|
|
@@ -81,9 +83,9 @@ const JustifiCheckout = class {
|
|
|
81
83
|
}
|
|
82
84
|
render() {
|
|
83
85
|
var _a, _b;
|
|
84
|
-
return (h(StyledHost, { key: '
|
|
86
|
+
return (h(StyledHost, { key: '17fb502cfbf3a09b1bd59ded0cf5900cb8f9d441' }, h("justifi-modular-checkout", { key: '726bfa331037983083c4246caaabf080e6d318a1', ref: (el) => {
|
|
85
87
|
this.modularCheckoutRef = el;
|
|
86
|
-
}, authToken: this.authToken, checkoutId: this.checkoutId, preCompleteHook: this.preCompleteHook }, h("div", { key: '
|
|
88
|
+
}, authToken: this.authToken, checkoutId: this.checkoutId, preCompleteHook: this.preCompleteHook }, h("div", { key: '791fcaec6a9dcae8b7388bdcd51d84acce4338d2', class: "row gy-3 jfi-checkout-core" }, h("div", { key: '558b4603f48e7e60b51cfe01072c072020be3711', class: "col-12", part: checkoutSummary }, h("justifi-header", { key: '560f2b20143721b0de9e43369aa7b1c80cdf462e', text: "Summary", level: "h2", class: "fs-5 fw-bold pb-3" }), h("section", { key: '6c32d796b8f9f5b3124454ffab7649decf40bf0a' }, h("justifi-checkout-summary", { key: 'ff259c5635a56d75f54489986533ff4bbc44f9e1' }))), h("div", { key: '8541d52ae153d6b10952f8b5f92fa23241989cba', class: "col-12 mt-4" }, h("slot", { key: '71d802a975a1c3cdd2fc5f4e2e97079533885d1e', name: "insurance" })), h("div", { key: 'bdc8639a188f5b141ed59df898731e3872d994a8', class: "col-12 mt-4" }, h("justifi-header", { key: '79f2374e4538c1478f0de462739d46c3d24dfc7f', text: "Payment", level: "h2", class: "fs-5 fw-bold pb-3" }), this.showPaymentTypeHeader && (h("justifi-header", { key: '2220521026073d7bb93b26abaf2c2b91dd5d0be6', text: "Select payment type", level: "h3", class: "fs-6 fw-bold lh-lg" })), h("div", { key: '4e809c7ba032149e32c97ce262254307ccd5e372', class: "d-flex flex-column" }, h("section", { key: '2b25ebfb62a2e0293728987e4c362e799197f301' }, h("div", { key: '1094a63702a042682b5de049968687db34d56340' }, this.availablePaymentMethods.includes(PAYMENT_METHODS.APPLE_PAY) && (h("div", { key: 'ac2b2083a082000f605a623a2b4e937dc67f773b', class: "mb-3" }, h("justifi-apple-pay", { key: 'e8d6dfcf70c3e645a6b8beefa107a904738c8013' }))), this.availablePaymentMethods.includes(PAYMENT_METHODS.GOOGLE_PAY) && (h("div", { key: 'e7551b4165ccacbab1f305e2ff2e592ec6cb13c7', class: "mb-3" }, h("justifi-google-pay", Object.assign({ key: '3905dd687cafbfd59a496492bddaea368584e7fa', ref: (el) => (this.googlePayRef = el) }, (this.googlePayEnv != null ? { environment: this.googlePayEnv } : {}))))), this.availablePaymentMethods.includes(PAYMENT_METHODS.PAYPAL) && (h("div", { key: 'f11d39c2c4b7120b3b0fd8427bfc0c033115c28f', class: "mb-3" }, h("justifi-paypal", { key: '3560bd46b2b4b2957936b8cfe67e70c2cc4d1798' }))), h("justifi-saved-payment-methods", { key: '83298cc717152c8917b63c71c763812f8646f73e' }), this.availablePaymentMethods.includes(PAYMENT_METHODS.SEZZLE) && !this.disableBnpl && (h("justifi-radio-list-item", { key: 'b5c94c614920fd238dd490f1aa957bc9dbe7ce3f', name: "paymentMethodType", value: PAYMENT_METHODS.SEZZLE, checked: ((_a = checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.selectedPaymentMethod) === null || _a === void 0 ? void 0 : _a.type) === PAYMENT_METHODS.SEZZLE, label: h("justifi-sezzle-payment-method", { ref: (el) => (this.sezzlePaymentMethodRef = el) }), "onRadio-click": () => { var _a; (_a = this.sezzlePaymentMethodRef) === null || _a === void 0 ? void 0 : _a.handleSelectionClick(); } })), this.availablePaymentMethods.includes(PAYMENT_METHODS.PLAID) && (h("justifi-radio-list-item", { key: '53ce4f366dd81745c88987a5f88502c1d7cdc530', name: "paymentMethodType", value: PAYMENT_METHODS.PLAID, checked: ((_b = checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.selectedPaymentMethod) === null || _b === void 0 ? void 0 : _b.type) === PAYMENT_METHODS.PLAID, label: h("justifi-plaid-payment-method", { ref: (el) => (this.plaidPaymentMethodRef = el) }), "onRadio-click": () => { var _a; (_a = this.plaidPaymentMethodRef) === null || _a === void 0 ? void 0 : _a.handleSelectionClick(); } })), h("justifi-tokenize-payment-method", { key: '051f49f4c0ac5a2c27fab834658f5d0f51f51889', ref: (el) => (this.tokenizePaymentMethodRef = el), authToken: this.authToken, accountId: checkoutStore.accountId, disableCreditCard: this.disableCreditCard, disableBankAccount: this.disableBankAccount, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, hideSubmitButton: true, paymentMethodGroupId: checkoutStore.paymentMethodGroupId, showAccountNumberConfirmation: this.showAccountNumberConfirmation }))))), h("div", { key: '9d0653c43d59b2c671e4fb07dac828f822f4e8bd', class: "mt-4" }, h("justifi-button", { key: 'b4dcb91c821577fa98f0f2129eff849e70e541c7', text: "Pay", type: "submit", variant: "primary", clickHandler: (e) => this.submit(e), disabled: checkoutStore.isSubmitting || checkoutStore.isWalletProcessing, isLoading: checkoutStore.isSubmitting || checkoutStore.isWalletProcessing, customStyle: { width: '100%', textAlign: "center" } }))))));
|
|
87
89
|
}
|
|
88
90
|
static get watchers() { return {
|
|
89
91
|
"authToken": ["propChanged"],
|