@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
|
@@ -48,10 +48,10 @@ const FormControlFile = class {
|
|
|
48
48
|
return part;
|
|
49
49
|
}
|
|
50
50
|
render() {
|
|
51
|
-
return (index.h(index.Host, { key: '
|
|
51
|
+
return (index.h(index.Host, { key: 'fd3e5af54ba42014196b5cd26e4fb91ae7b04e68' }, index.h("div", { key: 'a982526be770395d5863d55612f8b7667a134526', class: "form-group d-flex flex-column" }, index.h("div", { key: 'bc99a3c94724653ff964ba327a165d4ab4314df0', class: "d-flex align-items-start gap-2" }, index.h("label", { key: '5273169e3315ca56cbea084cdb1609bb2ecaf574', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h("form-control-tooltip", { key: '289c5af9aedae97a62e1b406f8c955f95b29ae55', helpText: this.helpText })), index.h("input", { key: '98dab3b8bb3afbd9f15ddcfc3e5e2bb73df7d857', ref: (el) => this.fileInput = el, type: "file", name: this.name, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onChange: this.changeHandler, onInput: this.handleFormControlInput, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
52
52
|
this.isFocused = false;
|
|
53
53
|
this.formControlBlur.emit();
|
|
54
|
-
} }), index.h(formControlErrorText.FormControlErrorText, { key: '
|
|
54
|
+
} }), index.h(formControlErrorText.FormControlErrorText, { key: '9c78c3dd8138e90f0de3d806c61e02c85f918817', errorText: this.errorText, name: this.name }))));
|
|
55
55
|
}
|
|
56
56
|
get el() { return index.getElement(this); }
|
|
57
57
|
};
|
|
@@ -51,10 +51,10 @@ const FormControlMonetary = class {
|
|
|
51
51
|
return parts.input;
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
|
-
return (index.h(index.Host, { key: '
|
|
54
|
+
return (index.h(index.Host, { key: 'c93f2282272f252f5ebc3beaa2a9c8b5354d3e27' }, index.h("div", { key: '7ae866ddbd1f59c41aa65e1403fc4bc50e339cad', class: "form-group d-flex flex-column" }, index.h("label", { key: '1490d1484abf2bde39b66be0decf40cb631ec74f', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h(formControlHelpText.FormControlHelpText, { key: '22134cce2d545a2890b1b8a3c7f65ed6d16dc56d', name: this.name, helpText: this.helpText }), index.h("div", { key: 'd1630cf3ed7523af0c5138d3aa515d005f7d960e', class: "input-group" }, index.h("span", { key: '6513844b4374ed9cac1b8e23036086bc002ea8f0', class: "input-group-text", part: parts.inputAdornment }, "$"), index.h("input", { key: 'a59d39b8d81bef0178556d4fa0094dba0c40fd6e', ref: el => this.formControl = el, id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
55
55
|
this.isFocused = false;
|
|
56
56
|
this.formControlBlur.emit();
|
|
57
|
-
}, onInput: (event) => this.updateInput(event.target.value), onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.inputPart, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled })), index.h(formControlErrorText.FormControlErrorText, { key: '
|
|
57
|
+
}, onInput: (event) => this.updateInput(event.target.value), onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.inputPart, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled })), index.h(formControlErrorText.FormControlErrorText, { key: '777cdcb4a8872899dfea021185b83ad0f73bf153', errorText: this.errorText, name: this.name }))));
|
|
58
58
|
}
|
|
59
59
|
static get watchers() { return {
|
|
60
60
|
"defaultValue": ["handleDefaultValueChange"]
|
|
@@ -6,10 +6,10 @@ var formControlHelpText = require('./form-control-help-text-BdbTxD5g.js');
|
|
|
6
6
|
var formControlErrorText = require('./form-control-error-text-BO58Y6zF.js');
|
|
7
7
|
require('./event-types-YOY5TKUN.js');
|
|
8
8
|
var formInputMasks = require('./form-input-masks-BnNFJ3IJ.js');
|
|
9
|
-
var inputHandlers = require('./input-handlers-
|
|
10
|
-
var Business = require('./Business-
|
|
11
|
-
var countryConfig = require('./country-config-
|
|
12
|
-
var businessFormOptions = require('./business-form-options-
|
|
9
|
+
var inputHandlers = require('./input-handlers-v9h_2Ysi.js');
|
|
10
|
+
var Business = require('./Business-CNaz-VLa.js');
|
|
11
|
+
var countryConfig = require('./country-config-CFC3KuVD.js');
|
|
12
|
+
var businessFormOptions = require('./business-form-options-BHBs_yiK.js');
|
|
13
13
|
|
|
14
14
|
const FormControlNumber = class {
|
|
15
15
|
constructor(hostRef) {
|
|
@@ -50,10 +50,10 @@ const FormControlNumber = class {
|
|
|
50
50
|
return parts.input;
|
|
51
51
|
}
|
|
52
52
|
render() {
|
|
53
|
-
return (index.h(index.Host, { key: '
|
|
53
|
+
return (index.h(index.Host, { key: '9081f9d76b976b6362c1523e1de634b26b296c23' }, index.h("div", { key: '45c974d7715ed72a4a87f9f22ed83e2d817f2f06', class: 'form-group d-flex flex-column' }, index.h("label", { key: '4d106b3a4216f8972578a824ef325c7ca61cd95f', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h("input", { key: 'daa202084755debd61a2472ca43c1af5f7d01be6', id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
54
54
|
this.isFocused = false;
|
|
55
55
|
this.formControlBlur.emit();
|
|
56
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "number", disabled: this.disabled }), index.h(formControlHelpText.FormControlHelpText, { key: '
|
|
56
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "number", disabled: this.disabled }), index.h(formControlHelpText.FormControlHelpText, { key: 'b3f6136f2922dd6774fe39c8d60d44c3ba73acbc', helpText: this.helpText, name: this.name }), index.h(formControlErrorText.FormControlErrorText, { key: 'fc3e430004b05c8e57f211de263a9ebbb067f076', errorText: this.errorText, name: this.name }))));
|
|
57
57
|
}
|
|
58
58
|
get el() { return index.getElement(this); }
|
|
59
59
|
static get watchers() { return {
|
|
@@ -35,10 +35,10 @@ const FormControlRadio = class {
|
|
|
35
35
|
return parts.inputRadio;
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (index.h(index.Host, { key: '
|
|
38
|
+
return (index.h(index.Host, { key: 'f5746b8ab344d7d859495c3889c08166fc2eb6f9', class: 'form-group d-flex flex-column' }, index.h("div", { key: '65387cf2b9d2881115b3c6bc2751443b12a04631', class: "form-check" }, index.h("input", { key: 'b645faa1c0d03716f9b77467376a2b45d4bd50f1', ref: el => (this.radioElement = el), type: "radio", id: `${this.name}-${this.value}`, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
39
39
|
this.isFocused = false;
|
|
40
40
|
this.formControlBlur.emit();
|
|
41
|
-
}, onChange: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, value: this.value, checked: this.checked }), index.h("label", { key: '
|
|
41
|
+
}, onChange: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, value: this.value, checked: this.checked }), index.h("label", { key: '131481024b5a7b720f8af4f3884a3fb9b7ced09a', class: "form-check-label", htmlFor: `${this.name}-${this.value}`, part: parts.label }, this.label)), index.h("form-control-help-text", { key: '1ebbffbbc0b596aa74c603a739208792f25f4b35', helpText: this.helpText, name: this.name }), index.h("form-control-error-text", { key: '006b4e0446be98b63aaed435bc26fea81d377f26', errorText: this.errorText, name: this.name })));
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
|
|
@@ -42,10 +42,10 @@ const FormControlSelect = class {
|
|
|
42
42
|
}
|
|
43
43
|
render() {
|
|
44
44
|
var _a;
|
|
45
|
-
return (index.h(index.Host, { key: '
|
|
45
|
+
return (index.h(index.Host, { key: '7ae757edb683563ddbd741dc2b47ca8f60036739' }, index.h("div", { key: 'eddf24df01b1e4c77a79190900368804427142c6', class: "form-group d-flex flex-column" }, index.h("div", { key: '5b28bcdecb5e2f5ebe8bed6450634bc62587ec09', class: "d-flex align-items-start gap-2" }, index.h("label", { key: 'bb6d3a3cede9e07f05ee3fbfaff4b64ff4ecce36', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h("form-control-tooltip", { key: 'cb1ff06b81428b8bc9801d8b11f76dc0b6103460', helpText: this.helpText })), index.h("select", { key: '68c958cd97b38b3a5cf505ee79fff79b5c99b671', ref: el => (this.selectElement = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
46
46
|
this.isFocused = false;
|
|
47
47
|
this.formControlBlur.emit();
|
|
48
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-select is-invalid' : 'form-select', disabled: this.disabled }, (_a = this.options) === null || _a === void 0 ? void 0 : _a.map(option => (index.h("option", { value: option.value }, option.label)))), index.h(formControlErrorText.FormControlErrorText, { key: '
|
|
48
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-select is-invalid' : 'form-select', disabled: this.disabled }, (_a = this.options) === null || _a === void 0 ? void 0 : _a.map(option => (index.h("option", { value: option.value }, option.label)))), index.h(formControlErrorText.FormControlErrorText, { key: '37efe1a0cefba96986546f3efe338855ad7e1142', errorText: this.errorText, name: this.name }))));
|
|
49
49
|
}
|
|
50
50
|
static get watchers() { return {
|
|
51
51
|
"defaultValue": ["handleDefaultValueChange"]
|
|
@@ -59,10 +59,26 @@ const FormControlText = class {
|
|
|
59
59
|
this.formControlBlur = index.createEvent(this, "formControlBlur", 7);
|
|
60
60
|
this.isFocused = false;
|
|
61
61
|
this.handleFormControlInput = (event) => {
|
|
62
|
+
var _a, _b;
|
|
62
63
|
const target = event.target;
|
|
63
64
|
const name = target.getAttribute('name');
|
|
64
|
-
|
|
65
|
-
this.
|
|
65
|
+
const raw = target.value;
|
|
66
|
+
const value = this.transformValue ? this.transformValue(raw) : raw;
|
|
67
|
+
if (value !== raw) {
|
|
68
|
+
// Writing back to the input drops the caret at the end, which is wrong
|
|
69
|
+
// mid-string — and with a transform that uppercases, that would happen on
|
|
70
|
+
// every lowercase keystroke. Shift the caret by whatever the transform added.
|
|
71
|
+
const caret = (_a = target.selectionStart) !== null && _a !== void 0 ? _a : raw.length;
|
|
72
|
+
const atEnd = caret >= raw.length;
|
|
73
|
+
target.value = value;
|
|
74
|
+
const next = atEnd
|
|
75
|
+
? value.length
|
|
76
|
+
: Math.max(0, Math.min(caret + (value.length - raw.length), value.length));
|
|
77
|
+
// Stencil's mock DOM does not implement setSelectionRange.
|
|
78
|
+
(_b = target.setSelectionRange) === null || _b === void 0 ? void 0 : _b.call(target, next, next);
|
|
79
|
+
}
|
|
80
|
+
this.inputHandler(name, value);
|
|
81
|
+
this.formControlInput.emit({ name, value });
|
|
66
82
|
};
|
|
67
83
|
this.updateInput = (newValue) => {
|
|
68
84
|
const inputElement = this.el.querySelector('input');
|
|
@@ -90,10 +106,10 @@ const FormControlText = class {
|
|
|
90
106
|
return parts.input;
|
|
91
107
|
}
|
|
92
108
|
render() {
|
|
93
|
-
return (index.h(index.Host, { key: '
|
|
109
|
+
return (index.h(index.Host, { key: '4808c4fb58073827260e3b9cacb29bf255dc1be0' }, index.h("div", { key: '2b98cc1e67fefbc4c7209138399a8878db18415a', class: "form-group d-flex flex-column" }, index.h("div", { key: 'a2ee4c060e34cb7631b6d0a910c8e924a671ec7c', class: "d-flex align-items-start gap-2" }, index.h("label", { key: 'e30e5db079b64f78f34024bf57894875148a7da4', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h("form-control-tooltip", { key: '2eb82b47a70fd2acc2ca6c41485a0d4ede0cfa3a', helpText: this.helpText })), index.h("input", { key: '518f7b015ce95d515733e51a4bcf55a5326ac02e', id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
94
110
|
this.isFocused = false;
|
|
95
111
|
this.formControlBlur.emit();
|
|
96
|
-
}, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled }), index.h(formControlErrorText.FormControlErrorText, { key: '
|
|
112
|
+
}, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled }), index.h(formControlErrorText.FormControlErrorText, { key: 'fc648459c0d9ef21fdf861286e940d6bb8ac2004', errorText: this.errorText, name: this.name }))));
|
|
97
113
|
}
|
|
98
114
|
get el() { return index.getElement(this); }
|
|
99
115
|
static get watchers() { return {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var Business = require('./Business-
|
|
4
|
-
var Plaid = require('./Plaid-
|
|
5
|
-
var utils = require('./utils-
|
|
3
|
+
var Business = require('./Business-CNaz-VLa.js');
|
|
4
|
+
var Plaid = require('./Plaid-BcOAKDaU.js');
|
|
5
|
+
var utils = require('./utils-BScgWJC5.js');
|
|
6
6
|
|
|
7
7
|
const makeGetBusiness = ({ id, authToken, service }) => async ({ onSuccess, onError, final }) => {
|
|
8
8
|
var _a;
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
require('./config-state-C1YMiFpR.js');
|
|
4
4
|
require('./dinero-BwNN_k7x.js');
|
|
5
|
-
var Plaid = require('./Plaid-
|
|
5
|
+
var Plaid = require('./Plaid-BcOAKDaU.js');
|
|
6
6
|
require('./Pagination-Dediz133.js');
|
|
7
|
-
require('./Business-
|
|
8
|
-
var utils = require('./utils-
|
|
7
|
+
require('./Business-CNaz-VLa.js');
|
|
8
|
+
var utils = require('./utils-BScgWJC5.js');
|
|
9
9
|
|
|
10
10
|
const makeGetPaymentDetails = ({ id, authToken, service }) => async ({ onSuccess, onError, final }) => {
|
|
11
11
|
var _a;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var Api = require('./Api-
|
|
4
|
-
var Plaid = require('./Plaid-
|
|
3
|
+
var Api = require('./Api-DqXlEWR1.js');
|
|
4
|
+
var Plaid = require('./Plaid-BcOAKDaU.js');
|
|
5
5
|
require('./Pagination-Dediz133.js');
|
|
6
|
-
require('./Business-
|
|
6
|
+
require('./Business-CNaz-VLa.js');
|
|
7
7
|
require('./config-state-C1YMiFpR.js');
|
|
8
8
|
require('./dinero-BwNN_k7x.js');
|
|
9
|
-
var utils = require('./utils-
|
|
9
|
+
var utils = require('./utils-BScgWJC5.js');
|
|
10
10
|
|
|
11
11
|
const api = Api.Api();
|
|
12
12
|
class SubAccountService {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var Business = require('./Business-
|
|
3
|
+
var Business = require('./Business-CNaz-VLa.js');
|
|
4
4
|
|
|
5
5
|
const updateFormValues = (formController, newValues) => {
|
|
6
6
|
formController.setValues(Object.assign(Object.assign({}, formController.values.getValue()), newValues));
|
|
@@ -11,7 +11,7 @@ const InternalButton = class {
|
|
|
11
11
|
this.type = 'button';
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (index.h(button.Button, { key: '
|
|
14
|
+
return (index.h(button.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));
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
|
-
var Api = require('./Api-
|
|
5
|
-
var Plaid = require('./Plaid-
|
|
4
|
+
var Api = require('./Api-DqXlEWR1.js');
|
|
5
|
+
var Plaid = require('./Plaid-BcOAKDaU.js');
|
|
6
6
|
var styledHost = require('./styled-host-CW1WUnUq.js');
|
|
7
7
|
require('./event-types-YOY5TKUN.js');
|
|
8
8
|
var skeleton = require('./skeleton-DvRCiQlA.js');
|
|
9
|
-
var checkout_store = require('./checkout.store-
|
|
9
|
+
var checkout_store = require('./checkout.store-B5lTwvUV.js');
|
|
10
10
|
var parts = require('./parts-BXshb_S-.js');
|
|
11
11
|
var utils = require('./utils-DB4XHlAU.js');
|
|
12
12
|
var configState = require('./config-state-C1YMiFpR.js');
|
|
13
13
|
var header1 = require('./header-1-CsBQoo1f.js');
|
|
14
14
|
var insuranceState = require('./insurance-state-CHQD1ZGw.js');
|
|
15
15
|
var header3 = require('./header-3-DCYJhPro.js');
|
|
16
|
-
var Analytics = require('./Analytics-
|
|
17
|
-
var
|
|
16
|
+
var Analytics = require('./Analytics-jQsZxClw.js');
|
|
17
|
+
var detectDuplicateVersion = require('./detect-duplicate-version-D8ZajVUT.js');
|
|
18
18
|
require('./dinero-BwNN_k7x.js');
|
|
19
19
|
require('./Pagination-Dediz133.js');
|
|
20
|
-
require('./Business-
|
|
21
|
-
var checkoutActions = require('./checkout-actions-
|
|
22
|
-
var checkout_service = require('./checkout.service-
|
|
23
|
-
var plaid_service = require('./plaid.service-
|
|
20
|
+
require('./Business-CNaz-VLa.js');
|
|
21
|
+
var checkoutActions = require('./checkout-actions-CQyGpVPe.js');
|
|
22
|
+
var checkout_service = require('./checkout.service-DBHPH2ji.js');
|
|
23
|
+
var plaid_service = require('./plaid.service-d9LAwbnX.js');
|
|
24
24
|
var index$1 = require('./index-DDa1jd08.js');
|
|
25
25
|
var paymentMethodOptionUtils = require('./payment-method-option-utils-WYHIHy-l.js');
|
|
26
|
-
require('./package-
|
|
26
|
+
require('./package-B414Jbra.js');
|
|
27
27
|
require('./index-DDrfAj-j.js');
|
|
28
|
-
require('./utils-
|
|
28
|
+
require('./utils-BScgWJC5.js');
|
|
29
29
|
|
|
30
30
|
const JustifiRadioListItem = class {
|
|
31
31
|
constructor(hostRef) {
|
|
@@ -566,7 +566,7 @@ const JustifiApplePay = class {
|
|
|
566
566
|
this.error = null;
|
|
567
567
|
this.applePayStarted.emit();
|
|
568
568
|
const paymentRequest = {
|
|
569
|
-
countryCode: this.
|
|
569
|
+
countryCode: this.countryCodeForCurrency(checkout_store.checkoutStore.paymentCurrency),
|
|
570
570
|
currencyCode: checkout_store.checkoutStore.paymentCurrency,
|
|
571
571
|
merchantCapabilities: [
|
|
572
572
|
Plaid.ApplePayMerchantCapability.SUPPORTS_3DS,
|
|
@@ -630,6 +630,12 @@ const JustifiApplePay = class {
|
|
|
630
630
|
});
|
|
631
631
|
}
|
|
632
632
|
}
|
|
633
|
+
countryCodeForCurrency(currency) {
|
|
634
|
+
if (currency.toLowerCase() == "cad") {
|
|
635
|
+
return "CA";
|
|
636
|
+
}
|
|
637
|
+
return "US";
|
|
638
|
+
}
|
|
633
639
|
loadApplePaySDK() {
|
|
634
640
|
if (this.sdkLoaded)
|
|
635
641
|
return;
|
|
@@ -754,7 +760,7 @@ const JustifiCheckoutSummary = class {
|
|
|
754
760
|
index.registerInstance(this, hostRef);
|
|
755
761
|
}
|
|
756
762
|
render() {
|
|
757
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
763
|
+
return (index.h(styledHost.StyledHost, { key: '13d0570e2bdb79d842f9c0a17c7403963ea167c8' }, index.h("section", { key: 'c15f36caa2a9ebb66c7f0a16393926b643f1bc3b' }, index.h("div", { key: '1e4e5d32cebb57ceaeb3786a29a9e08c8e83ac80' }, index.h("div", { key: '42ff5c6ef33654a88858e8ed48e230dd674d1953', part: parts.text }, checkout_store.checkoutStore === null || checkout_store.checkoutStore === void 0 ? void 0 : checkout_store.checkoutStore.paymentDescription), index.h("div", { key: 'c21d5eb012664efdd71e82bf24a88d0fefedad8c' }, index.h("span", { key: 'a8876afe5d7e993077ed8c4fb140c745d98e9196', part: parts.text }, "Total"), "\u00A0", index.h("span", { key: 'b81156e9f9240656b51f6ed374db9878bb3137c9', part: parts.text }, utils.formatCurrency(+(checkout_store.checkoutStore === null || checkout_store.checkoutStore === void 0 ? void 0 : checkout_store.checkoutStore.totalAmount))))))));
|
|
758
764
|
}
|
|
759
765
|
};
|
|
760
766
|
|
|
@@ -924,6 +930,14 @@ const JustifiModularCheckout = class {
|
|
|
924
930
|
this.submitEvent = index.createEvent(this, "submit-event", 7);
|
|
925
931
|
this.checkoutChangedEvent = index.createEvent(this, "checkout-changed", 7);
|
|
926
932
|
this.plaidService = new plaid_service.PlaidService();
|
|
933
|
+
/**
|
|
934
|
+
* Mask the card number to its last four digits when the field loses focus,
|
|
935
|
+
* with an eye toggle to reveal it. Applies to the `justifi-card-form`
|
|
936
|
+
* rendered inside this checkout. Defaults to false.
|
|
937
|
+
*
|
|
938
|
+
* Anti-shoulder-surfing only, not a secrecy boundary.
|
|
939
|
+
*/
|
|
940
|
+
this.maskCardNumber = false;
|
|
927
941
|
this.handlePaypalStarted = () => {
|
|
928
942
|
checkout_store.checkoutStore.isWalletProcessing = true;
|
|
929
943
|
};
|
|
@@ -1024,6 +1038,9 @@ const JustifiModularCheckout = class {
|
|
|
1024
1038
|
checkout_store.checkoutStore.selectedPaymentMethod = undefined;
|
|
1025
1039
|
};
|
|
1026
1040
|
}
|
|
1041
|
+
maskCardNumberChanged() {
|
|
1042
|
+
checkout_store.checkoutStore.maskCardNumber = !!this.maskCardNumber;
|
|
1043
|
+
}
|
|
1027
1044
|
connectedCallback() {
|
|
1028
1045
|
var _a;
|
|
1029
1046
|
this.observer = new MutationObserver(() => {
|
|
@@ -1037,6 +1054,7 @@ const JustifiModularCheckout = class {
|
|
|
1037
1054
|
subtree: true,
|
|
1038
1055
|
});
|
|
1039
1056
|
checkout_store.checkoutStore.checkoutId = this.checkoutId;
|
|
1057
|
+
checkout_store.checkoutStore.maskCardNumber = !!this.maskCardNumber;
|
|
1040
1058
|
const config = {
|
|
1041
1059
|
authToken: this.authToken,
|
|
1042
1060
|
checkoutId: this.checkoutId,
|
|
@@ -1051,7 +1069,7 @@ const JustifiModularCheckout = class {
|
|
|
1051
1069
|
}
|
|
1052
1070
|
componentWillLoad() {
|
|
1053
1071
|
this.analytics = new Analytics.JustifiAnalytics(this);
|
|
1054
|
-
|
|
1072
|
+
detectDuplicateVersion.detectDuplicateVersion();
|
|
1055
1073
|
checkout_store.checkoutStore.authToken = this.authToken;
|
|
1056
1074
|
this.fetchCheckout();
|
|
1057
1075
|
// Refresh the checkout data when insurance values actually change (not on initial load)
|
|
@@ -1301,6 +1319,15 @@ const JustifiModularCheckout = class {
|
|
|
1301
1319
|
});
|
|
1302
1320
|
return;
|
|
1303
1321
|
}
|
|
1322
|
+
if (!isValid) {
|
|
1323
|
+
checkout_store.checkoutStore.isSubmitting = false;
|
|
1324
|
+
this.errorEvent.emit({
|
|
1325
|
+
message: "Please fill in all required fields.",
|
|
1326
|
+
errorCode: Plaid.ComponentErrorCodes.VALIDATION_ERROR,
|
|
1327
|
+
severity: Plaid.ComponentErrorSeverity.ERROR,
|
|
1328
|
+
});
|
|
1329
|
+
return;
|
|
1330
|
+
}
|
|
1304
1331
|
const isNewCard = ((_a = checkout_store.checkoutStore.selectedPaymentMethod) === null || _a === void 0 ? void 0 : _a.type) === index$1.PAYMENT_METHODS.NEW_CARD;
|
|
1305
1332
|
const isNewBankAccount = ((_b = checkout_store.checkoutStore.selectedPaymentMethod) === null || _b === void 0 ? void 0 : _b.type) === index$1.PAYMENT_METHODS.NEW_BANK_ACCOUNT;
|
|
1306
1333
|
const isPlaid = ((_c = checkout_store.checkoutStore.selectedPaymentMethod) === null || _c === void 0 ? void 0 : _c.type) === index$1.PAYMENT_METHODS.PLAID;
|
|
@@ -1355,15 +1382,6 @@ const JustifiModularCheckout = class {
|
|
|
1355
1382
|
return;
|
|
1356
1383
|
}
|
|
1357
1384
|
}
|
|
1358
|
-
if (!isValid) {
|
|
1359
|
-
checkout_store.checkoutStore.isSubmitting = false;
|
|
1360
|
-
this.errorEvent.emit({
|
|
1361
|
-
message: "Please fill in all required fields.",
|
|
1362
|
-
errorCode: Plaid.ComponentErrorCodes.VALIDATION_ERROR,
|
|
1363
|
-
severity: Plaid.ComponentErrorSeverity.ERROR,
|
|
1364
|
-
});
|
|
1365
|
-
return;
|
|
1366
|
-
}
|
|
1367
1385
|
// Sezzle has no payment token; approval comes from the Sezzle popup
|
|
1368
1386
|
const isSezzle = ((_e = checkout_store.checkoutStore.selectedPaymentMethod) === null || _e === void 0 ? void 0 : _e.type) === index$1.PAYMENT_METHODS.SEZZLE;
|
|
1369
1387
|
if (isSezzle) {
|
|
@@ -1447,9 +1465,12 @@ const JustifiModularCheckout = class {
|
|
|
1447
1465
|
});
|
|
1448
1466
|
}
|
|
1449
1467
|
render() {
|
|
1450
|
-
return index.h(index.Host, { key: '
|
|
1468
|
+
return index.h(index.Host, { key: '5f914d13899fe8da6a780a29689db7e9d7f9ed3e' });
|
|
1451
1469
|
}
|
|
1452
1470
|
get hostEl() { return index.getElement(this); }
|
|
1471
|
+
static get watchers() { return {
|
|
1472
|
+
"maskCardNumber": ["maskCardNumberChanged"]
|
|
1473
|
+
}; }
|
|
1453
1474
|
};
|
|
1454
1475
|
|
|
1455
1476
|
const api = Api.Api();
|
|
@@ -1654,7 +1675,7 @@ const JustifiPaypal = class {
|
|
|
1654
1675
|
return order;
|
|
1655
1676
|
}
|
|
1656
1677
|
render() {
|
|
1657
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
1678
|
+
return (index.h(styledHost.StyledHost, { key: '39a2b473cfa47da5e079adbaffa93663289cb8ec' }, index.h("div", { key: '9d3e3ff9236d2462157b310d691c43f54b6651dd', class: "paypal-buttons", ref: (el) => (this.buttonsEl = el) }, index.h("paypal-button", { key: 'a0049d2bcf4aa295f65563f49c3287b2da2e63b8', type: "pay", ref: (el) => (this.paypalButtonEl = el), onClick: () => this.startSession(this.paypalSession, 'paypal') }), index.h("venmo-button", { key: 'fd71ba73af2223271160601ec76039d3e0d6cb02', type: "pay", ref: (el) => (this.venmoButtonEl = el), onClick: () => this.startSession(this.venmoSession, 'venmo') })), index.h("style", { key: '7c7b62b3bbdf001760e888b4206702d210aeadcb' }, `
|
|
1658
1679
|
.paypal-buttons {
|
|
1659
1680
|
display: none;
|
|
1660
1681
|
gap: 8px;
|
|
@@ -2382,7 +2403,7 @@ const JustifiTokenizePaymentMethod = class {
|
|
|
2382
2403
|
}
|
|
2383
2404
|
}
|
|
2384
2405
|
componentWillLoad() {
|
|
2385
|
-
|
|
2406
|
+
detectDuplicateVersion.detectDuplicateVersion();
|
|
2386
2407
|
this.analytics = new Analytics.JustifiAnalytics(this);
|
|
2387
2408
|
}
|
|
2388
2409
|
handleRadioClick(event) {
|
|
@@ -2437,9 +2458,10 @@ const JustifiTokenizePaymentMethod = class {
|
|
|
2437
2458
|
this.billingFormRef.validate(),
|
|
2438
2459
|
this.paymentMethodFormRef.validate(),
|
|
2439
2460
|
]);
|
|
2461
|
+
// Field-level messages stay inside the hosted iframes, so only billing contributes errors.
|
|
2440
2462
|
const result = {
|
|
2441
2463
|
isValid: billingValidation.isValid && paymentMethodValidation.isValid,
|
|
2442
|
-
errors: Object.assign(
|
|
2464
|
+
errors: Object.assign({}, billingValidation.errors),
|
|
2443
2465
|
};
|
|
2444
2466
|
return result;
|
|
2445
2467
|
}
|
|
@@ -2601,13 +2623,13 @@ const JustifiTokenizePaymentMethod = class {
|
|
|
2601
2623
|
return paymentMethodType === index$1.PAYMENT_METHODS.NEW_CARD ? (index.h("card-form", { ref: (el) => {
|
|
2602
2624
|
if (el)
|
|
2603
2625
|
this.paymentMethodFormRef = el;
|
|
2604
|
-
} })) : (index.h("bank-account-form", { ref: (el) => {
|
|
2626
|
+
}, maskCardNumber: this.maskCardNumber })) : (index.h("bank-account-form", { ref: (el) => {
|
|
2605
2627
|
if (el)
|
|
2606
2628
|
this.paymentMethodFormRef = el;
|
|
2607
|
-
} }));
|
|
2629
|
+
}, showAccountNumberConfirmation: this.showAccountNumberConfirmation }));
|
|
2608
2630
|
}
|
|
2609
2631
|
render() {
|
|
2610
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
2632
|
+
return (index.h(styledHost.StyledHost, { key: 'd065263c69beef410298f14a3c8e595460149267' }, index.h("form", { key: 'cbf67700b366e26eb9a6aa1fe07afd3f7baf5c52' }, index.h("fieldset", { key: '3fd1ccefca659985eb2b90c1080c71c0f2ffe99a' }, index.h("div", { key: '7181cff13f4cc7aa6c00f4023757bac96625e87b', class: "row gy-3" }, index.h("div", { key: 'c04c382e858eab02206902d23e3921d15d2bfebc', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), index.h("div", { key: '9faa4417ba3e5dba526103f8d92fd5a88ce2df7d', class: "col-12" }, index.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 })))))));
|
|
2611
2633
|
}
|
|
2612
2634
|
get host() { return index.getElement(this); }
|
|
2613
2635
|
static get watchers() { return {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
|
-
var Analytics = require('./Analytics-
|
|
5
|
-
var
|
|
4
|
+
var Analytics = require('./Analytics-jQsZxClw.js');
|
|
5
|
+
var detectDuplicateVersion = require('./detect-duplicate-version-D8ZajVUT.js');
|
|
6
6
|
var configState = require('./config-state-C1YMiFpR.js');
|
|
7
7
|
var styledHost = require('./styled-host-CW1WUnUq.js');
|
|
8
8
|
require('./event-types-YOY5TKUN.js');
|
|
9
|
-
require('./package-
|
|
10
|
-
require('./Api-
|
|
9
|
+
require('./package-B414Jbra.js');
|
|
10
|
+
require('./Api-DqXlEWR1.js');
|
|
11
11
|
require('./utils-DB4XHlAU.js');
|
|
12
12
|
require('./dinero-BwNN_k7x.js');
|
|
13
|
-
require('./Plaid-
|
|
13
|
+
require('./Plaid-BcOAKDaU.js');
|
|
14
14
|
require('./Pagination-Dediz133.js');
|
|
15
|
-
require('./Business-
|
|
15
|
+
require('./Business-CNaz-VLa.js');
|
|
16
16
|
require('./index-DDrfAj-j.js');
|
|
17
17
|
|
|
18
18
|
const JustifiBankAccountBillingFormSimple = class {
|
|
@@ -21,7 +21,7 @@ const JustifiBankAccountBillingFormSimple = class {
|
|
|
21
21
|
}
|
|
22
22
|
async componentWillLoad() {
|
|
23
23
|
await configState.waitForConfig();
|
|
24
|
-
|
|
24
|
+
detectDuplicateVersion.detectDuplicateVersion();
|
|
25
25
|
this.analytics = new Analytics.JustifiAnalytics(this);
|
|
26
26
|
}
|
|
27
27
|
disconnectedCallback() {
|
|
@@ -37,7 +37,7 @@ const JustifiBankAccountBillingFormSimple = class {
|
|
|
37
37
|
return (_b = (_a = this.bankAccountBillingFormSimpleRef) === null || _a === void 0 ? void 0 : _a.validate()) !== null && _b !== void 0 ? _b : { isValid: false, errors: {} };
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
40
|
+
return (index.h(styledHost.StyledHost, { key: 'a991c5bf6a8dfac85e274b53a0c4c6388c03f661' }, index.h("bank-account-billing-form-simple", { key: '0db34cb082719bdb6d5fd62c5976734cc8b0db14', legend: this.legend, ref: (el) => (this.bankAccountBillingFormSimpleRef = el) })));
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
43
|
|
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
|
-
var
|
|
5
|
-
var Analytics = require('./Analytics-
|
|
4
|
+
var detectDuplicateVersion = require('./detect-duplicate-version-D8ZajVUT.js');
|
|
5
|
+
var Analytics = require('./Analytics-jQsZxClw.js');
|
|
6
6
|
var configState = require('./config-state-C1YMiFpR.js');
|
|
7
7
|
var styledHost = require('./styled-host-CW1WUnUq.js');
|
|
8
8
|
require('./event-types-YOY5TKUN.js');
|
|
9
|
-
require('./package-
|
|
10
|
-
require('./Api-
|
|
9
|
+
require('./package-B414Jbra.js');
|
|
10
|
+
require('./Api-DqXlEWR1.js');
|
|
11
11
|
require('./utils-DB4XHlAU.js');
|
|
12
12
|
require('./dinero-BwNN_k7x.js');
|
|
13
|
-
require('./Plaid-
|
|
13
|
+
require('./Plaid-BcOAKDaU.js');
|
|
14
14
|
require('./Pagination-Dediz133.js');
|
|
15
|
-
require('./Business-
|
|
15
|
+
require('./Business-CNaz-VLa.js');
|
|
16
16
|
require('./index-DDrfAj-j.js');
|
|
17
17
|
|
|
18
18
|
const JustifiBankAccountForm = class {
|
|
19
19
|
constructor(hostRef) {
|
|
20
20
|
index.registerInstance(this, hostRef);
|
|
21
|
+
this.showAccountNumberConfirmation = false;
|
|
21
22
|
}
|
|
22
23
|
async componentWillLoad() {
|
|
23
24
|
await configState.waitForConfig();
|
|
24
|
-
|
|
25
|
+
detectDuplicateVersion.detectDuplicateVersion();
|
|
25
26
|
this.analytics = new Analytics.JustifiAnalytics(this);
|
|
26
27
|
}
|
|
27
28
|
disconnectedCallback() {
|
|
@@ -30,7 +31,7 @@ const JustifiBankAccountForm = class {
|
|
|
30
31
|
}
|
|
31
32
|
async validate() {
|
|
32
33
|
if (!this.bankAccountFormElement) {
|
|
33
|
-
return false;
|
|
34
|
+
return { isValid: false };
|
|
34
35
|
}
|
|
35
36
|
return this.bankAccountFormElement.validate();
|
|
36
37
|
}
|
|
@@ -45,7 +46,7 @@ const JustifiBankAccountForm = class {
|
|
|
45
46
|
return this.bankAccountFormElement.tokenize({ clientId, paymentMethodMetadata, account });
|
|
46
47
|
}
|
|
47
48
|
render() {
|
|
48
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
49
|
+
return (index.h(styledHost.StyledHost, { key: '3ac1f01cffa56e4ce30214c6290af227dc21fd6f' }, index.h("bank-account-form", { key: 'd6c194dd830d1ea2cfcbdc0af2c3427aaa7652aa', ref: (el) => (this.bankAccountFormElement = el), showAccountNumberConfirmation: this.showAccountNumberConfirmation })));
|
|
49
50
|
}
|
|
50
51
|
};
|
|
51
52
|
|
|
@@ -17,7 +17,7 @@ const JustifiBillingFormFull = class {
|
|
|
17
17
|
return (_b = (_a = this.billingFormFullRef) === null || _a === void 0 ? void 0 : _a.validate()) !== null && _b !== void 0 ? _b : { isValid: false, errors: {} };
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
20
|
+
return (index.h(styledHost.StyledHost, { key: 'bc205e29da4d4db453b558744e5968486ec4816f' }, index.h("billing-form-full", { key: '624efbdb7660c6634b878c17cad3f34cf802d8e8', legend: this.legend, ref: (el) => (this.billingFormFullRef = el) })));
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
|
|
@@ -2,24 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
4
|
var utils = require('./utils-8RGQVADu.js');
|
|
5
|
-
var business_service = require('./business.service-
|
|
6
|
-
var getBusiness = require('./get-business-
|
|
7
|
-
var Plaid = require('./Plaid-
|
|
8
|
-
var Analytics = require('./Analytics-
|
|
9
|
-
var
|
|
5
|
+
var business_service = require('./business.service-Ca-olopC.js');
|
|
6
|
+
var getBusiness = require('./get-business-BVxtiSDs.js');
|
|
7
|
+
var Plaid = require('./Plaid-BcOAKDaU.js');
|
|
8
|
+
var Analytics = require('./Analytics-jQsZxClw.js');
|
|
9
|
+
var detectDuplicateVersion = require('./detect-duplicate-version-D8ZajVUT.js');
|
|
10
10
|
var styledHost = require('./styled-host-CW1WUnUq.js');
|
|
11
11
|
require('./event-types-YOY5TKUN.js');
|
|
12
12
|
var skeleton = require('./skeleton-DvRCiQlA.js');
|
|
13
13
|
require('./parts-BXshb_S-.js');
|
|
14
|
-
require('./Api-
|
|
14
|
+
require('./Api-DqXlEWR1.js');
|
|
15
15
|
require('./config-state-C1YMiFpR.js');
|
|
16
16
|
require('./index-DDrfAj-j.js');
|
|
17
17
|
require('./utils-DB4XHlAU.js');
|
|
18
18
|
require('./dinero-BwNN_k7x.js');
|
|
19
|
-
require('./package-
|
|
19
|
+
require('./package-B414Jbra.js');
|
|
20
20
|
require('./Pagination-Dediz133.js');
|
|
21
|
-
require('./Business-
|
|
22
|
-
require('./utils-
|
|
21
|
+
require('./Business-CNaz-VLa.js');
|
|
22
|
+
require('./utils-BScgWJC5.js');
|
|
23
23
|
|
|
24
24
|
const BusinessDetailsLoading = () => {
|
|
25
25
|
const Block = () => (index.h("div", { class: "mt-5" }, index.h(skeleton.Skeleton, { width: "40%", height: "1.5rem" }), index.h("hr", null), index.h("div", { class: "row g-3" }, index.h("div", { class: "col-12 col-md-6" }, index.h(skeleton.Skeleton, null), index.h(skeleton.Skeleton, null), index.h(skeleton.Skeleton, null)), index.h("div", { class: "col-12 col-md-6" }, index.h(skeleton.Skeleton, null), index.h(skeleton.Skeleton, null), index.h(skeleton.Skeleton, null)))));
|
|
@@ -33,7 +33,7 @@ const JustifiBusinessDetails = class {
|
|
|
33
33
|
this.loading = true;
|
|
34
34
|
}
|
|
35
35
|
componentWillLoad() {
|
|
36
|
-
|
|
36
|
+
detectDuplicateVersion.detectDuplicateVersion();
|
|
37
37
|
this.analytics = new Analytics.JustifiAnalytics(this);
|
|
38
38
|
this.initializeGetBusiness();
|
|
39
39
|
}
|
|
@@ -89,7 +89,7 @@ const JustifiBusinessDetails = class {
|
|
|
89
89
|
});
|
|
90
90
|
}
|
|
91
91
|
render() {
|
|
92
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
92
|
+
return (index.h(styledHost.StyledHost, { key: '5591589ce180d7102dc3403143556c1302af3fe5' }, this.loading && index.h(BusinessDetailsLoading, { key: 'c45c978e7b9b1a2e086558be669be4f9c9962965' }), !this.loading && this.errorMessage && utils.ErrorState(this.errorMessage), !this.loading && !this.errorMessage && this.business && (index.h("justifi-details", { key: 'cbb51e9f2f7ab55573349cb2106949a5ca91833d', errorMessage: this.errorMessage }, index.h("div", { key: 'c85ae2fd98b56566795383c3a799b9b93853a786', slot: 'detail-sections' }, index.h("core-info-details", { key: '2a582bf825f75176e680882f05d287b1791a411b', business: this.business }), index.h("legal-address-details", { key: '3855cc37f98885547c425e7b21f3f153604ca8ee', legalAddress: this.business.legal_address }), index.h("representative-details", { key: '16b323711a50310012ce46f8d83d2ab8f64e1461', representative: this.business.representative }), index.h("owner-details", { key: 'fd3609e46477071432a5fa276b84df00d5717f2c', owners: this.business.owners }), index.h("additional-questions-details", { key: 'b42b0499a259c3e73c91278a5515e2dcf00c3f5f', additionalQuestions: this.business.additional_questions }))))));
|
|
93
93
|
}
|
|
94
94
|
static get watchers() { return {
|
|
95
95
|
"businessId": ["propChanged"],
|