@justifi/webcomponents 6.14.5 → 6.15.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-BVHauOC2.js → Analytics-VQGAbMVS.js} +3 -3
- package/dist/cjs/{Api-BzB0rppJ.js → Api--EGkA-pT.js} +1 -1
- package/dist/cjs/{Plaid-B2o4c_Ej.js → Plaid-D85oV9FN.js} +5 -0
- package/dist/cjs/additional-questions-form-step_15.cjs.entry.js +7 -7
- package/dist/cjs/additional-statement_8.cjs.entry.js +8 -8
- package/dist/cjs/bank-account-billing-form-simple_4.cjs.entry.js +4 -4
- package/dist/cjs/bank-account-document-form-inputs.cjs.entry.js +1 -1
- package/dist/cjs/bank-account-form.cjs.entry.js +5 -5
- package/dist/cjs/{business.service-j_VDzA2-.js → business.service-B51fjG_j.js} +2 -2
- package/dist/cjs/card-form.cjs.entry.js +5 -5
- package/dist/cjs/{check-pkg-version-JMiLuNXu.js → check-pkg-version-RMsgKzFc.js} +1 -1
- package/dist/cjs/{checkout-actions-VCJi-q4z.js → checkout-actions-BRQFQ6n-.js} +2 -2
- package/dist/cjs/{checkout.service-0vHtBDZY.js → checkout.service-BsOwkSNp.js} +2 -2
- package/dist/cjs/{checkout.store-DOa1-SjA.js → checkout.store-DaV9lvEQ.js} +6 -1
- package/dist/cjs/custom-popper_2.cjs.entry.js +2 -2
- package/dist/cjs/dispute-notification_2.cjs.entry.js +10 -10
- package/dist/cjs/{event-types-CMpeGHw8.js → event-types-C_LP6UcW.js} +2 -2
- package/dist/cjs/form-address-fields_3.cjs.entry.js +2 -2
- package/dist/cjs/form-alert_3.cjs.entry.js +5 -5
- 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 +3 -3
- 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 +2 -2
- package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
- package/dist/cjs/form-control-select_2.cjs.entry.js +4 -4
- package/dist/cjs/{get-business-BBDsPv-b.js → get-business-BpaRbn5S.js} +2 -2
- package/dist/cjs/{get-payment-details-BYZeUFAB.js → get-payment-details-Cmg8gWvo.js} +2 -2
- package/dist/cjs/{get-subaccounts-B7e8Eovg.js → get-subaccounts-d4CUegsn.js} +3 -3
- package/dist/cjs/{index-CajjbB9t.js → index-DDa1jd08.js} +4 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/internal-button.cjs.entry.js +1 -1
- package/dist/cjs/{justifi-apple-pay_11.cjs.entry.js → justifi-apple-pay_12.cjs.entry.js} +283 -26
- package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +6 -6
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +6 -6
- package/dist/cjs/justifi-billing-form-full.cjs.entry.js +1 -1
- package/dist/cjs/justifi-billing-form.cjs.entry.js +1 -1
- package/dist/cjs/justifi-business-details.cjs.entry.js +8 -8
- package/dist/cjs/justifi-business-form.cjs.entry.js +8 -8
- package/dist/cjs/justifi-card-billing-form-simple.cjs.entry.js +1 -1
- package/dist/cjs/justifi-card-form.cjs.entry.js +6 -6
- package/dist/cjs/justifi-checkout-qr-code.cjs.entry.js +5 -5
- package/dist/cjs/justifi-checkout.cjs.entry.js +8 -8
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +3 -3
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +8 -8
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +6 -6
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payment-details.cjs.entry.js +16 -16
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payments-list.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payout-details.cjs.entry.js +11 -11
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-qr-terminal.cjs.entry.js +8 -8
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +8 -8
- package/dist/cjs/justifi-save-new-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +8 -8
- package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +4 -4
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +8 -8
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +9 -9
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-DfdMLmz7.js → package-DfwuePUh.js} +1 -1
- package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
- package/dist/cjs/{payment-provisioning-actions-CIsDrh8k.js → payment-provisioning-actions-DDooZhhk.js} +2 -2
- package/dist/cjs/{payment.service-Bs3HJ4Kv.js → payment.service-Vy_JnuSA.js} +2 -2
- package/dist/cjs/{payout.service-DNWZxt3R.js → payout.service-BEPglFXf.js} +2 -2
- package/dist/cjs/{payouts-status-DVU5138C.js → payouts-status-1IUtW-UQ.js} +2 -2
- package/dist/cjs/{plaid.service-B_YQGBoC.js → plaid.service-DXQ7q51E.js} +2 -2
- package/dist/cjs/radio-list-item.cjs.entry.js +1 -1
- package/dist/cjs/save-new-payment-method.cjs.entry.js +3 -3
- 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-CvFZEemr.js → terminal.service-BP2YecQ_.js} +2 -2
- package/dist/cjs/{utils-WrOn06xB.js → utils-CBriZzRC.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/Checkout.js +5 -0
- package/dist/collection/api/Paypal.js +1 -0
- package/dist/collection/api/index.js +1 -0
- package/dist/collection/api/services/paypal.service.js +9 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/checkout/billing-form/bank-account-billing-form-simple.js +1 -1
- package/dist/collection/components/checkout/billing-form/card-billing-form-simple.js +1 -1
- package/dist/collection/components/checkout/billing-form/justifi-billing-form.js +1 -1
- package/dist/collection/components/checkout/card-form/card-form.js +2 -2
- package/dist/collection/components/checkout/justifi-checkout.js +1 -1
- package/dist/collection/components/checkout/justifi-saved-payment-method.js +1 -1
- 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/checkouts-list/checkouts-list-filters.js +3 -3
- package/dist/collection/components/checkouts-list/justifi-checkouts-list.js +2 -2
- 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 +1 -1
- 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 +1 -1
- package/dist/collection/components/filters/table-filters-menu.js +1 -1
- package/dist/collection/components/modular-checkout/ModularCheckout.js +4 -0
- package/dist/collection/components/modular-checkout/justifi-modular-checkout.js +75 -11
- package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-form.js +1 -1
- 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 +1 -1
- 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 +253 -0
- package/dist/collection/components/modular-checkout/sub-components/paypal/paypal.js +17 -0
- package/dist/collection/components/order-terminals/justifi-order-terminals.js +1 -1
- package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
- package/dist/collection/components/payment-details/justifi-payment-details.js +8 -8
- package/dist/collection/components/payment-transactions-list/justifi-payment-transactions-list.js +1 -1
- package/dist/collection/components/payments-list/justifi-payments-list-filters.js +2 -2
- package/dist/collection/components/payments-list/justifi-payments-list.js +1 -1
- package/dist/collection/components/payout-details/justifi-payout-details.js +3 -3
- package/dist/collection/components/payout-transactions-list/justifi-payout-transactions-list.js +1 -1
- package/dist/collection/components/payouts-list/justifi-payouts-list-filters.js +2 -2
- package/dist/collection/components/payouts-list/justifi-payouts-list.js +1 -1
- 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 +2 -2
- package/dist/collection/components/terminals-list/justifi-terminals-list-filters.js +1 -1
- package/dist/collection/components/terminals-list/justifi-terminals-list.js +1 -1
- package/dist/collection/components/tokenize-payment-method/justifi-tokenize-payment-method.js +1 -1
- package/dist/collection/store/checkout.store.js +5 -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 +2 -2
- package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
- package/dist/collection/ui-components/form/hidden-input.js +1 -1
- package/dist/collection/ui-components/form/iframe-input.js +3 -3
- package/dist/collection/ui-components/internal-button.js +1 -1
- package/dist/collection/ui-components/radio-list-item.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
- package/dist/docs.json +115 -3
- package/dist/esm/{Analytics-Dgz_MQ1D.js → Analytics-hKJLmoJl.js} +3 -3
- package/dist/esm/{Api-DScockhO.js → Api-DAJ9sMMj.js} +1 -1
- package/dist/esm/{Plaid-DJ-4YL0_.js → Plaid-BP3xNxQF.js} +5 -0
- package/dist/esm/additional-questions-form-step_15.entry.js +7 -7
- package/dist/esm/additional-statement_8.entry.js +8 -8
- package/dist/esm/bank-account-billing-form-simple_4.entry.js +4 -4
- package/dist/esm/bank-account-document-form-inputs.entry.js +1 -1
- package/dist/esm/bank-account-form.entry.js +5 -5
- package/dist/esm/{business.service-DR2ldRqG.js → business.service-kmkjOyTm.js} +2 -2
- package/dist/esm/card-form.entry.js +5 -5
- package/dist/esm/{check-pkg-version-CPMg0K2m.js → check-pkg-version-FEAmKlDW.js} +1 -1
- package/dist/esm/{checkout-actions-DhL8YxrK.js → checkout-actions-0ftD0elo.js} +2 -2
- package/dist/esm/{checkout.service-CU4BnB34.js → checkout.service-BVBmNheb.js} +2 -2
- package/dist/esm/{checkout.store-B6amfNq_.js → checkout.store-B2mtQcB5.js} +6 -1
- package/dist/esm/custom-popper_2.entry.js +2 -2
- package/dist/esm/dispute-notification_2.entry.js +10 -10
- package/dist/esm/{event-types-BNfdthYa.js → event-types-B5-lsGjZ.js} +2 -2
- package/dist/esm/form-address-fields_3.entry.js +2 -2
- package/dist/esm/form-alert_3.entry.js +5 -5
- 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 +3 -3
- 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 +2 -2
- package/dist/esm/form-control-radio.entry.js +2 -2
- package/dist/esm/form-control-select_2.entry.js +4 -4
- package/dist/esm/{get-business-BSyOONF0.js → get-business-BLCT-zfN.js} +2 -2
- package/dist/esm/{get-payment-details-CoGzqJ6o.js → get-payment-details-BokzuPGl.js} +2 -2
- package/dist/esm/{get-subaccounts-BraeNX17.js → get-subaccounts-By7m_FxO.js} +3 -3
- package/dist/esm/{index-DkoufM1t.js → index-DEx8fQeW.js} +4 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/internal-button.entry.js +1 -1
- package/dist/esm/{justifi-apple-pay_11.entry.js → justifi-apple-pay_12.entry.js} +283 -27
- package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +6 -6
- package/dist/esm/justifi-bank-account-form.entry.js +6 -6
- package/dist/esm/justifi-billing-form-full.entry.js +1 -1
- package/dist/esm/justifi-billing-form.entry.js +1 -1
- package/dist/esm/justifi-business-details.entry.js +8 -8
- package/dist/esm/justifi-business-form.entry.js +8 -8
- package/dist/esm/justifi-card-billing-form-simple.entry.js +1 -1
- package/dist/esm/justifi-card-form.entry.js +6 -6
- package/dist/esm/justifi-checkout-qr-code.entry.js +5 -5
- package/dist/esm/justifi-checkout.entry.js +8 -8
- package/dist/esm/justifi-checkouts-list-filters.entry.js +3 -3
- package/dist/esm/justifi-checkouts-list.entry.js +10 -10
- package/dist/esm/justifi-dispute-management.entry.js +8 -8
- package/dist/esm/justifi-gross-payment-chart.entry.js +6 -6
- package/dist/esm/justifi-order-terminals.entry.js +10 -10
- package/dist/esm/justifi-payment-details.entry.js +16 -16
- package/dist/esm/justifi-payment-provisioning.entry.js +8 -8
- package/dist/esm/justifi-payment-transactions-list.entry.js +8 -8
- package/dist/esm/justifi-payments-list-filters.entry.js +2 -2
- package/dist/esm/justifi-payments-list.entry.js +8 -8
- package/dist/esm/justifi-payout-details.entry.js +11 -11
- package/dist/esm/justifi-payout-transactions-list.entry.js +8 -8
- package/dist/esm/justifi-payouts-list-filters.entry.js +3 -3
- package/dist/esm/justifi-payouts-list.entry.js +10 -10
- package/dist/esm/justifi-qr-terminal.entry.js +8 -8
- package/dist/esm/justifi-refund-payment.entry.js +8 -8
- package/dist/esm/justifi-save-new-payment-method.entry.js +1 -1
- package/dist/esm/justifi-saved-payment-method.entry.js +1 -1
- package/dist/esm/justifi-season-interruption-insurance.entry.js +8 -8
- package/dist/esm/justifi-skeleton.entry.js +1 -1
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +4 -4
- package/dist/esm/justifi-terminal-orders-list.entry.js +8 -8
- package/dist/esm/justifi-terminals-list-filters.entry.js +2 -2
- package/dist/esm/justifi-terminals-list.entry.js +9 -9
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-CiypNylL.js → package-Dn9_7aQh.js} +1 -1
- package/dist/esm/payment-method-option.entry.js +1 -1
- package/dist/esm/{payment-provisioning-actions-DJKGndr3.js → payment-provisioning-actions-VRIPjnAQ.js} +2 -2
- package/dist/esm/{payment.service-BxBf9T-D.js → payment.service-CMUlMV1Y.js} +2 -2
- package/dist/esm/{payout.service-DKe3_O4y.js → payout.service-C0yd0JZS.js} +2 -2
- package/dist/esm/{payouts-status-C0nijel1.js → payouts-status-CaiC5qpn.js} +2 -2
- package/dist/esm/{plaid.service-DwWljJOH.js → plaid.service-CqihCTBS.js} +2 -2
- package/dist/esm/radio-list-item.entry.js +1 -1
- package/dist/esm/save-new-payment-method.entry.js +3 -3
- 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-Q4KXLOka.js → terminal.service-DuF3uTuA.js} +2 -2
- package/dist/esm/{utils-D6LKoG0M.js → utils-YUOJKtjO.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/ModularCheckout.js +4 -0
- package/dist/module/Plaid.js +5 -0
- package/dist/module/additional-statement2.js +1 -1
- package/dist/module/bank-account-billing-form-simple2.js +1 -1
- package/dist/module/cancellation-policy2.js +1 -1
- package/dist/module/card-billing-form-simple2.js +1 -1
- package/dist/module/card-form2.js +2 -2
- package/dist/module/checkout.store.js +5 -0
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details2.js +1 -1
- package/dist/module/dispute-notification2.js +2 -2
- package/dist/module/dispute-response2.js +1 -1
- package/dist/module/duplicate-charge2.js +1 -1
- package/dist/module/electronic-evidence2.js +1 -1
- package/dist/module/form-control-checkbox2.js +2 -2
- package/dist/module/form-control-date2.js +2 -2
- package/dist/module/form-control-file-v22.js +1 -1
- package/dist/module/form-control-file2.js +2 -2
- package/dist/module/form-control-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 +2 -2
- package/dist/module/form-control-textarea2.js +2 -2
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/iframe-input2.js +3 -3
- package/dist/module/internal-button2.js +1 -1
- package/dist/module/justifi-bank-account-billing-form-simple.js +1 -1
- package/dist/module/justifi-bank-account-form.js +1 -1
- package/dist/module/justifi-billing-form-full.js +1 -1
- package/dist/module/justifi-billing-form.js +1 -1
- package/dist/module/justifi-button2.js +1 -1
- package/dist/module/justifi-card-billing-form-simple.js +1 -1
- package/dist/module/justifi-card-form.js +1 -1
- package/dist/module/justifi-checkout-summary2.js +1 -1
- package/dist/module/justifi-checkout.js +53 -47
- package/dist/module/justifi-checkouts-list-filters.js +2 -2
- package/dist/module/justifi-checkouts-list.js +2 -2
- package/dist/module/justifi-dispute-management.js +1 -1
- package/dist/module/justifi-header2.js +1 -1
- package/dist/module/justifi-modular-checkout2.js +75 -11
- package/dist/module/justifi-order-terminals.js +1 -1
- package/dist/module/justifi-payment-details.js +8 -8
- package/dist/module/justifi-payment-transactions-list.js +1 -1
- package/dist/module/justifi-payments-list-filters.js +2 -2
- package/dist/module/justifi-payments-list.js +1 -1
- package/dist/module/justifi-payout-details.js +3 -3
- package/dist/module/justifi-payout-transactions-list.js +1 -1
- package/dist/module/justifi-payouts-list-filters.js +2 -2
- package/dist/module/justifi-payouts-list.js +1 -1
- package/dist/module/justifi-paypal.d.ts +11 -0
- package/dist/module/justifi-paypal.js +6 -0
- package/dist/module/justifi-paypal2.js +226 -0
- package/dist/module/justifi-save-new-payment-method.js +1 -1
- package/dist/module/justifi-saved-payment-method.js +1 -1
- package/dist/module/justifi-skeleton.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +3 -3
- package/dist/module/justifi-terminal-orders-list.js +2 -2
- package/dist/module/justifi-terminals-list-filters.js +1 -1
- package/dist/module/justifi-terminals-list.js +1 -1
- package/dist/module/justifi-tokenize-payment-method2.js +1 -1
- package/dist/module/package.js +1 -1
- 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/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/types/api/Checkout.d.ts +13 -1
- package/dist/types/api/Paypal.d.ts +11 -0
- package/dist/types/api/index.d.ts +1 -0
- package/dist/types/api/services/paypal.service.d.ts +8 -0
- package/dist/types/components/modular-checkout/ModularCheckout.d.ts +6 -2
- package/dist/types/components/modular-checkout/justifi-modular-checkout.d.ts +7 -0
- package/dist/types/components/modular-checkout/sub-components/paypal/justifi-paypal.d.ts +36 -0
- package/dist/types/components/modular-checkout/sub-components/paypal/paypal.d.ts +39 -0
- package/dist/types/components.d.ts +53 -0
- package/dist/types/store/checkout.store.d.ts +2 -0
- package/dist/webcomponents/index.esm.js +1 -1
- package/dist/webcomponents/{p-e7909732.entry.js → p-0d8a256c.entry.js} +1 -1
- package/dist/webcomponents/{p-027ef7e9.entry.js → p-0f7cc07b.entry.js} +1 -1
- package/dist/webcomponents/p-1034e83d.entry.js +1 -0
- package/dist/webcomponents/{p-373586db.entry.js → p-10b91a6c.entry.js} +1 -1
- package/dist/webcomponents/p-18306b40.entry.js +1 -0
- package/dist/webcomponents/{p-e954f46c.entry.js → p-1a55efda.entry.js} +1 -1
- package/dist/webcomponents/p-22a57828.entry.js +1 -0
- package/dist/webcomponents/p-2458de56.entry.js +1 -0
- package/dist/webcomponents/{p-29f68bd0.entry.js → p-2549c891.entry.js} +1 -1
- package/dist/webcomponents/{p-36d7033b.entry.js → p-27b07530.entry.js} +1 -1
- package/dist/webcomponents/{p-4f54d1b2.entry.js → p-28fb6b50.entry.js} +1 -1
- package/dist/webcomponents/p-2e82a488.entry.js +1 -0
- package/dist/webcomponents/{p-f0083ace.entry.js → p-31204dd5.entry.js} +1 -1
- package/dist/webcomponents/p-33281304.entry.js +1 -0
- package/dist/webcomponents/{p-da21ae43.entry.js → p-36340e63.entry.js} +1 -1
- package/dist/webcomponents/p-3642e189.entry.js +1 -0
- package/dist/webcomponents/p-36f05f5f.entry.js +1 -0
- package/dist/webcomponents/{p-b8d46fc5.entry.js → p-3c33b3c1.entry.js} +1 -1
- package/dist/webcomponents/{p-3870712e.entry.js → p-408a4f5f.entry.js} +4 -4
- package/dist/webcomponents/{p-041a22dd.entry.js → p-42021e67.entry.js} +1 -1
- package/dist/webcomponents/{p-6884fa3d.entry.js → p-5348209c.entry.js} +1 -1
- package/dist/webcomponents/p-5a11c49f.entry.js +1 -0
- package/dist/webcomponents/{p-2139497d.entry.js → p-5bdae8c7.entry.js} +1 -1
- package/dist/webcomponents/p-636c9571.entry.js +1 -0
- package/dist/webcomponents/p-76e96874.entry.js +1 -0
- package/dist/webcomponents/p-772ab8a3.entry.js +1 -0
- package/dist/webcomponents/p-777470cb.entry.js +1 -0
- package/dist/webcomponents/p-7e64a668.entry.js +1 -0
- package/dist/webcomponents/{p-543fcff2.entry.js → p-80a9f84c.entry.js} +1 -1
- package/dist/webcomponents/{p-bc435cae.entry.js → p-86f9d5f6.entry.js} +1 -1
- package/dist/webcomponents/{p-d57ae599.entry.js → p-8a5ce8ff.entry.js} +1 -1
- package/dist/webcomponents/p-8d11aa27.entry.js +1 -0
- package/dist/webcomponents/{p-3086ee7a.entry.js → p-9c45729d.entry.js} +1 -1
- package/dist/webcomponents/p-9ed85832.entry.js +1 -0
- package/dist/webcomponents/{p-cb977890.entry.js → p-9f0ef3f3.entry.js} +1 -1
- package/dist/webcomponents/{p-DD9-ceDZ.js → p-B0DHIvEj.js} +1 -1
- package/dist/webcomponents/{p-BL112JyU.js → p-BFi5l0xt.js} +1 -1
- package/dist/webcomponents/{p-C8g8unYJ.js → p-BHaO3c8W.js} +1 -1
- package/dist/webcomponents/{p-rIJv0FaI.js → p-Ba0_MQtJ.js} +1 -1
- package/dist/webcomponents/{p-WnMmPpEb.js → p-Bl00tHyn.js} +1 -1
- package/dist/webcomponents/{p-DcA_wt-j.js → p-ByQMBEDC.js} +1 -1
- package/dist/webcomponents/p-C-buCQRx.js +1 -0
- package/dist/webcomponents/p-CKgQN8v0.js +1 -0
- package/dist/webcomponents/p-CLq3Og7o.js +1 -0
- package/dist/webcomponents/p-CXsRwohv.js +1 -0
- package/dist/webcomponents/p-Cy2N3vAg.js +1 -0
- package/dist/webcomponents/p-CyOXIqHo.js +1 -0
- package/dist/webcomponents/p-D6uhYbLo.js +1 -0
- package/dist/webcomponents/p-DEx8fQeW.js +1 -0
- package/dist/webcomponents/{p-Co3Rtlnu.js → p-DZQBPUfH.js} +1 -1
- package/dist/webcomponents/p-Dn9_7aQh.js +1 -0
- package/dist/webcomponents/{p-CnHbIkmu.js → p-DnLqZpI1.js} +1 -1
- package/dist/webcomponents/{p-BlqdDtQr.js → p-DsvK2pes.js} +1 -1
- package/dist/webcomponents/{p-H4vl65HO.js → p-FWuMPTxn.js} +1 -1
- package/dist/webcomponents/p-Fpaf7CLD.js +1 -0
- package/dist/webcomponents/p-a891caf8.entry.js +1 -0
- package/dist/webcomponents/{p-537ea763.entry.js → p-aebd2149.entry.js} +1 -1
- package/dist/webcomponents/{p-f6b900f4.entry.js → p-af728bc6.entry.js} +1 -1
- package/dist/webcomponents/p-b6ce91f0.entry.js +1 -0
- package/dist/webcomponents/{p-c14dde7c.entry.js → p-b9664e84.entry.js} +1 -1
- package/dist/webcomponents/{p-b17fabdc.entry.js → p-b98ea26a.entry.js} +1 -1
- package/dist/webcomponents/{p-61eae8cd.entry.js → p-c4889a06.entry.js} +1 -1
- package/dist/webcomponents/p-c6f85bef.entry.js +1 -0
- package/dist/webcomponents/p-ca6c5365.entry.js +1 -0
- package/dist/webcomponents/p-d05257f9.entry.js +1 -0
- package/dist/webcomponents/p-d2e890a3.entry.js +1 -0
- package/dist/webcomponents/p-d397b38f.entry.js +1 -0
- package/dist/webcomponents/{p-387aba3d.entry.js → p-d446ab68.entry.js} +1 -1
- package/dist/webcomponents/{p-49e40ebe.entry.js → p-d4de565d.entry.js} +1 -1
- package/dist/webcomponents/{p-b945fa49.entry.js → p-d555220f.entry.js} +1 -1
- package/dist/webcomponents/p-dd4eea27.entry.js +1 -0
- package/dist/webcomponents/{p-b9316945.entry.js → p-ddba9ab3.entry.js} +1 -1
- package/dist/webcomponents/p-e0bce67a.entry.js +1 -0
- package/dist/webcomponents/p-e1e5bddf.entry.js +1 -0
- package/dist/webcomponents/{p-b9b5d046.entry.js → p-e55216fb.entry.js} +1 -1
- package/dist/webcomponents/{p-cb5d2198.entry.js → p-ead48010.entry.js} +1 -1
- package/dist/webcomponents/{p-f8f01bbb.entry.js → p-f8764c8e.entry.js} +1 -1
- package/dist/webcomponents/{p-c5560a87.entry.js → p-fa2e7534.entry.js} +1 -1
- package/dist/webcomponents/p-fda6f27d.entry.js +1 -0
- package/dist/webcomponents/p-rznJBkm3.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +15 -15
- package/LICENSE +0 -21
- package/dist/webcomponents/p-04153e8c.entry.js +0 -1
- package/dist/webcomponents/p-0464be7b.entry.js +0 -1
- package/dist/webcomponents/p-0c1cc1e9.entry.js +0 -1
- package/dist/webcomponents/p-0d9022e5.entry.js +0 -1
- package/dist/webcomponents/p-0fe976d6.entry.js +0 -1
- package/dist/webcomponents/p-15934f30.entry.js +0 -1
- package/dist/webcomponents/p-2128265d.entry.js +0 -1
- package/dist/webcomponents/p-21a5c3d8.entry.js +0 -1
- package/dist/webcomponents/p-25d24964.entry.js +0 -1
- package/dist/webcomponents/p-3ef039ec.entry.js +0 -1
- package/dist/webcomponents/p-49f279c3.entry.js +0 -1
- package/dist/webcomponents/p-4d60d249.entry.js +0 -1
- package/dist/webcomponents/p-51714ea9.entry.js +0 -1
- package/dist/webcomponents/p-558677a7.entry.js +0 -1
- package/dist/webcomponents/p-568b81a2.entry.js +0 -1
- package/dist/webcomponents/p-6f34fa90.entry.js +0 -1
- package/dist/webcomponents/p-8fO8CrtQ.js +0 -1
- package/dist/webcomponents/p-9b758a11.entry.js +0 -1
- package/dist/webcomponents/p-9c506058.entry.js +0 -1
- package/dist/webcomponents/p-BEOJqK7T.js +0 -1
- package/dist/webcomponents/p-C0w_sG9P.js +0 -1
- package/dist/webcomponents/p-CMvr3y5s.js +0 -1
- package/dist/webcomponents/p-CaLXuYmg.js +0 -1
- package/dist/webcomponents/p-CiypNylL.js +0 -1
- package/dist/webcomponents/p-CnDagPty.js +0 -1
- package/dist/webcomponents/p-D1H6VUbM.js +0 -1
- package/dist/webcomponents/p-DNxN6bjU.js +0 -1
- package/dist/webcomponents/p-DkoufM1t.js +0 -1
- package/dist/webcomponents/p-Dl0CAW76.js +0 -1
- package/dist/webcomponents/p-a14d3d7d.entry.js +0 -1
- package/dist/webcomponents/p-a47854b9.entry.js +0 -1
- package/dist/webcomponents/p-c0bd4006.entry.js +0 -1
- package/dist/webcomponents/p-c4799285.entry.js +0 -1
- package/dist/webcomponents/p-cc5a97a0.entry.js +0 -1
- package/dist/webcomponents/p-d6122124.entry.js +0 -1
- package/dist/webcomponents/p-de8c6cd4.entry.js +0 -1
- package/dist/webcomponents/p-f6941969.entry.js +0 -1
- package/dist/webcomponents/p-f8cff289.entry.js +0 -1
|
@@ -25,7 +25,7 @@ const JustifiCardBillingFormSimple$1 = /*@__PURE__*/ proxyCustomElement(class Ju
|
|
|
25
25
|
return (_b = (_a = this.cardBillingFormSimpleRef) === null || _a === void 0 ? void 0 : _a.validate()) !== null && _b !== void 0 ? _b : { isValid: false, errors: {} };
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
|
-
return (h(StyledHost, { key: '
|
|
28
|
+
return (h(StyledHost, { key: '252d0c30a2ce3775759aa0490592bea6608620ca' }, h("card-billing-form-simple", { key: '62a33d79b9b12dfefbfef68f0cf9ec8beb52d177', legend: this.legend, ref: (el) => (this.cardBillingFormSimpleRef = el) })));
|
|
29
29
|
}
|
|
30
30
|
}, [257, "justifi-card-billing-form-simple", {
|
|
31
31
|
"legend": [1025],
|
|
@@ -35,7 +35,7 @@ const JustifiCardForm$1 = /*@__PURE__*/ proxyCustomElement(class JustifiCardForm
|
|
|
35
35
|
return this.cardFormElement.tokenize({ clientId, paymentMethodMetadata, account });
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (h(StyledHost, { key: '
|
|
38
|
+
return (h(StyledHost, { key: '4fa9ff677d40a6733c33d34135fe85e52392f8b0' }, h("card-form", { key: '3fe97adcb966b78dc28d5902409671e88525ca41', ref: (el) => (this.cardFormElement = el) })));
|
|
39
39
|
}
|
|
40
40
|
}, [257, "justifi-card-form", {
|
|
41
41
|
"validate": [64],
|
|
@@ -16,7 +16,7 @@ const JustifiCheckoutSummary = /*@__PURE__*/ proxyCustomElement(class JustifiChe
|
|
|
16
16
|
this.__attachShadow();
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (h(StyledHost, { key: '
|
|
19
|
+
return (h(StyledHost, { key: '7d3447ff4daa9bf4f603ca381027b3f43cfcc6a1' }, h("section", { key: '1c8189ccde6dc986ad2d4c74da2dd10cacfc1c36' }, h("div", { key: '45e6d5f47d8a92e0bd4a7bfa427630a96f049b4a' }, h("div", { key: '9900b5fd770cd59b00803c3614216c16a803da41', part: text }, checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.paymentDescription), h("div", { key: '16cec140ef6912533a80b1f6341fcc9cb341b478' }, h("span", { key: 'f8883538c99a524017bb102bfd8cfaea7062e650', part: text }, "Total"), "\u00A0", h("span", { key: '11baa64630a60c56cedfa53548c107ec3fe3c0f5', part: text }, formatCurrency(+(checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.totalAmount))))))));
|
|
20
20
|
}
|
|
21
21
|
}, [257, "justifi-checkout-summary"]);
|
|
22
22
|
function defineCustomElement() {
|
|
@@ -8,29 +8,30 @@ import './justifi-details2.js';
|
|
|
8
8
|
import './event-types.js';
|
|
9
9
|
import { d as defineCustomElement$7 } from './justifi-radio-list-item2.js';
|
|
10
10
|
import { P as PAYMENT_METHODS } from './ModularCheckout.js';
|
|
11
|
-
import { d as defineCustomElement$
|
|
12
|
-
import { d as defineCustomElement$
|
|
13
|
-
import { d as defineCustomElement$
|
|
14
|
-
import { d as defineCustomElement$
|
|
15
|
-
import { d as defineCustomElement$
|
|
16
|
-
import { d as defineCustomElement$
|
|
17
|
-
import { d as defineCustomElement$
|
|
18
|
-
import { d as defineCustomElement$
|
|
19
|
-
import { d as defineCustomElement$
|
|
20
|
-
import { d as defineCustomElement$
|
|
21
|
-
import { d as defineCustomElement$
|
|
22
|
-
import { d as defineCustomElement$
|
|
23
|
-
import { d as defineCustomElement$
|
|
24
|
-
import { d as defineCustomElement$
|
|
25
|
-
import { d as defineCustomElement$
|
|
26
|
-
import { d as defineCustomElement$
|
|
27
|
-
import { d as defineCustomElement$
|
|
28
|
-
import { d as defineCustomElement$
|
|
29
|
-
import { d as defineCustomElement$
|
|
30
|
-
import { d as defineCustomElement$
|
|
31
|
-
import { d as defineCustomElement$
|
|
32
|
-
import { d as defineCustomElement$
|
|
33
|
-
import { d as defineCustomElement$
|
|
11
|
+
import { d as defineCustomElement$w } from './bank-account-billing-form-simple2.js';
|
|
12
|
+
import { d as defineCustomElement$v } from './bank-account-form2.js';
|
|
13
|
+
import { d as defineCustomElement$u } from './billing-form2.js';
|
|
14
|
+
import { d as defineCustomElement$t } from './billing-form-full2.js';
|
|
15
|
+
import { d as defineCustomElement$s } from './card-billing-form-simple2.js';
|
|
16
|
+
import { d as defineCustomElement$r } from './card-form2.js';
|
|
17
|
+
import { d as defineCustomElement$q } from './custom-popper2.js';
|
|
18
|
+
import { d as defineCustomElement$p } from './form-alert2.js';
|
|
19
|
+
import { d as defineCustomElement$o } from './form-control-checkbox2.js';
|
|
20
|
+
import { d as defineCustomElement$n } from './form-control-help-text3.js';
|
|
21
|
+
import { d as defineCustomElement$m } from './form-control-radio2.js';
|
|
22
|
+
import { d as defineCustomElement$l } from './form-control-select2.js';
|
|
23
|
+
import { d as defineCustomElement$k } from './form-control-text2.js';
|
|
24
|
+
import { d as defineCustomElement$j } from './form-control-tooltip2.js';
|
|
25
|
+
import { d as defineCustomElement$i } from './hidden-input2.js';
|
|
26
|
+
import { d as defineCustomElement$h } from './iframe-input2.js';
|
|
27
|
+
import { d as defineCustomElement$g } from './internal-button2.js';
|
|
28
|
+
import { d as defineCustomElement$f } from './justifi-apple-pay2.js';
|
|
29
|
+
import { d as defineCustomElement$e } from './justifi-button2.js';
|
|
30
|
+
import { d as defineCustomElement$d } from './justifi-checkout-summary2.js';
|
|
31
|
+
import { d as defineCustomElement$c } from './justifi-google-pay2.js';
|
|
32
|
+
import { d as defineCustomElement$b } from './justifi-header2.js';
|
|
33
|
+
import { d as defineCustomElement$a } from './justifi-modular-checkout2.js';
|
|
34
|
+
import { d as defineCustomElement$9 } from './justifi-paypal2.js';
|
|
34
35
|
import { d as defineCustomElement$8 } from './justifi-plaid-payment-method2.js';
|
|
35
36
|
import { d as defineCustomElement$6 } from './justifi-saved-payment-methods2.js';
|
|
36
37
|
import { d as defineCustomElement$5 } from './justifi-sezzle-payment-method2.js';
|
|
@@ -108,7 +109,7 @@ const JustifiCheckout$1 = /*@__PURE__*/ proxyCustomElement(class JustifiCheckout
|
|
|
108
109
|
var _a, _b;
|
|
109
110
|
return (h(StyledHost, { key: 'be64697a74e404e567c718562f72ca6cf644a2a4' }, h("justifi-modular-checkout", { key: '49be0912aa949927cb11bde45c6ade0eb25744be', ref: (el) => {
|
|
110
111
|
this.modularCheckoutRef = el;
|
|
111
|
-
}, authToken: this.authToken, checkoutId: this.checkoutId, preCompleteHook: this.preCompleteHook }, h("div", { key: '7ae8865515c16d119d0c951670b86f53006f5a2f', class: "row gy-3 jfi-checkout-core" }, h("div", { key: '697f67f1603f78d852c3900f424fea1559dcbbc7', class: "col-12", part: checkoutSummary }, h("justifi-header", { key: '005b320bb2318b6e5a888911fe90aeeeb8ca58f1', text: "Summary", level: "h2", class: "fs-5 fw-bold pb-3" }), h("section", { key: 'e6e4e720e0d619aa338b1a64ccc75f6bcfb53129' }, h("justifi-checkout-summary", { key: '5bbc4d7223f56fe70bcc9810ebcde55264e17943' }))), h("div", { key: '7c5f714e729c26a8c3589e912100d38e61cb3846', class: "col-12 mt-4" }, h("slot", { key: 'ae66ebfe4a0e1456aaabd706523ef17e9c2c4b50', name: "insurance" })), h("div", { key: '3d74c4078230299a0d093568f9edf61ddede06d6', class: "col-12 mt-4" }, h("justifi-header", { key: '98fad7779ad81e44f56d488f8f9bebb843c8b044', text: "Payment", level: "h2", class: "fs-5 fw-bold pb-3" }), this.showPaymentTypeHeader && (h("justifi-header", { key: 'a522e1c11e8412c0df0b272201a9eb929e8f38a5', text: "Select payment type", level: "h3", class: "fs-6 fw-bold lh-lg" })), h("div", { key: '670a875b91e3c4f41cc1f99e159ddb62d5d2cd9d', class: "d-flex flex-column" }, h("section", { key: '660a700bfdffa79b3e00da2ae186f98fbefc59de' }, h("div", { key: '3c314f058f5a6bf745800790dcad6b0f09ec9fdf' }, this.availablePaymentMethods.includes(PAYMENT_METHODS.APPLE_PAY) && (h("div", { key: '9b3003bc6a7e2a85c64d28ac1457871297fcb570', class: "mb-3" }, h("justifi-apple-pay", { key: '25fb043d7fdd2308ceaf8cef9b8e3db72c276ec8' }))), this.availablePaymentMethods.includes(PAYMENT_METHODS.GOOGLE_PAY) && (h("div", { key: '62ea38828ed1e7fe795cd92c1523e0a09dbb1249', class: "mb-3" }, h("justifi-google-pay", Object.assign({ key: '6bf9455e95950766204a4b9a16c51512961dab6d', ref: (el) => (this.googlePayRef = el) }, (this.googlePayEnv != null ? { environment: this.googlePayEnv } : {}))))), h("justifi-saved-payment-methods", { key: '
|
|
112
|
+
}, authToken: this.authToken, checkoutId: this.checkoutId, preCompleteHook: this.preCompleteHook }, h("div", { key: '7ae8865515c16d119d0c951670b86f53006f5a2f', class: "row gy-3 jfi-checkout-core" }, h("div", { key: '697f67f1603f78d852c3900f424fea1559dcbbc7', class: "col-12", part: checkoutSummary }, h("justifi-header", { key: '005b320bb2318b6e5a888911fe90aeeeb8ca58f1', text: "Summary", level: "h2", class: "fs-5 fw-bold pb-3" }), h("section", { key: 'e6e4e720e0d619aa338b1a64ccc75f6bcfb53129' }, h("justifi-checkout-summary", { key: '5bbc4d7223f56fe70bcc9810ebcde55264e17943' }))), h("div", { key: '7c5f714e729c26a8c3589e912100d38e61cb3846', class: "col-12 mt-4" }, h("slot", { key: 'ae66ebfe4a0e1456aaabd706523ef17e9c2c4b50', name: "insurance" })), h("div", { key: '3d74c4078230299a0d093568f9edf61ddede06d6', class: "col-12 mt-4" }, h("justifi-header", { key: '98fad7779ad81e44f56d488f8f9bebb843c8b044', text: "Payment", level: "h2", class: "fs-5 fw-bold pb-3" }), this.showPaymentTypeHeader && (h("justifi-header", { key: 'a522e1c11e8412c0df0b272201a9eb929e8f38a5', text: "Select payment type", level: "h3", class: "fs-6 fw-bold lh-lg" })), h("div", { key: '670a875b91e3c4f41cc1f99e159ddb62d5d2cd9d', class: "d-flex flex-column" }, h("section", { key: '660a700bfdffa79b3e00da2ae186f98fbefc59de' }, h("div", { key: '3c314f058f5a6bf745800790dcad6b0f09ec9fdf' }, this.availablePaymentMethods.includes(PAYMENT_METHODS.APPLE_PAY) && (h("div", { key: '9b3003bc6a7e2a85c64d28ac1457871297fcb570', class: "mb-3" }, h("justifi-apple-pay", { key: '25fb043d7fdd2308ceaf8cef9b8e3db72c276ec8' }))), this.availablePaymentMethods.includes(PAYMENT_METHODS.GOOGLE_PAY) && (h("div", { key: '62ea38828ed1e7fe795cd92c1523e0a09dbb1249', class: "mb-3" }, h("justifi-google-pay", Object.assign({ key: '6bf9455e95950766204a4b9a16c51512961dab6d', ref: (el) => (this.googlePayRef = el) }, (this.googlePayEnv != null ? { environment: this.googlePayEnv } : {}))))), this.availablePaymentMethods.includes(PAYMENT_METHODS.PAYPAL) && (h("div", { key: 'a1af9d7ec013aced03e3eb1e768c0dcb378c8ff2', class: "mb-3" }, h("justifi-paypal", { key: '7e0106b73a4844ffc99c353cbc6365cf9c17964c' }))), h("justifi-saved-payment-methods", { key: '4f4aae6378928ebd28d1015fd9f4dde7403e20a5' }), this.availablePaymentMethods.includes(PAYMENT_METHODS.SEZZLE) && !this.disableBnpl && (h("justifi-radio-list-item", { key: 'ac9a3b1ce4d8dff5c75417ff62aeddbb1aac5aa2', 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: '92fa98d5d28cfa4327631238b5fbf58e2a6096c9', 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: 'f40e4195ed8ef1dbff50a870b1d0136968d78fb1', 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 }))))), h("div", { key: '3d6b6108fa078dc2ce7a7048dffd61b5767010be', class: "mt-4" }, h("justifi-button", { key: '43370805937c92ad494cce2c493d641066c0b894', 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" } }))))));
|
|
112
113
|
}
|
|
113
114
|
static get watchers() { return {
|
|
114
115
|
"authToken": ["propChanged"],
|
|
@@ -147,7 +148,7 @@ function defineCustomElement$1() {
|
|
|
147
148
|
if (typeof customElements === "undefined") {
|
|
148
149
|
return;
|
|
149
150
|
}
|
|
150
|
-
const components = ["justifi-checkout", "bank-account-billing-form-simple", "bank-account-form", "billing-form", "billing-form-full", "card-billing-form-simple", "card-form", "custom-popper", "form-alert", "form-control-checkbox", "form-control-help-text", "form-control-radio", "form-control-select", "form-control-text", "form-control-tooltip", "hidden-input", "iframe-input", "internal-button", "justifi-apple-pay", "justifi-button", "justifi-checkout-summary", "justifi-google-pay", "justifi-header", "justifi-modular-checkout", "justifi-plaid-payment-method", "justifi-radio-list-item", "justifi-saved-payment-methods", "justifi-sezzle-payment-method", "justifi-tokenize-payment-method", "radio-list-item", "save-new-payment-method"];
|
|
151
|
+
const components = ["justifi-checkout", "bank-account-billing-form-simple", "bank-account-form", "billing-form", "billing-form-full", "card-billing-form-simple", "card-form", "custom-popper", "form-alert", "form-control-checkbox", "form-control-help-text", "form-control-radio", "form-control-select", "form-control-text", "form-control-tooltip", "hidden-input", "iframe-input", "internal-button", "justifi-apple-pay", "justifi-button", "justifi-checkout-summary", "justifi-google-pay", "justifi-header", "justifi-modular-checkout", "justifi-paypal", "justifi-plaid-payment-method", "justifi-radio-list-item", "justifi-saved-payment-methods", "justifi-sezzle-payment-method", "justifi-tokenize-payment-method", "radio-list-item", "save-new-payment-method"];
|
|
151
152
|
components.forEach(tagName => { switch (tagName) {
|
|
152
153
|
case "justifi-checkout":
|
|
153
154
|
if (!customElements.get(tagName)) {
|
|
@@ -156,115 +157,120 @@ function defineCustomElement$1() {
|
|
|
156
157
|
break;
|
|
157
158
|
case "bank-account-billing-form-simple":
|
|
158
159
|
if (!customElements.get(tagName)) {
|
|
159
|
-
defineCustomElement$
|
|
160
|
+
defineCustomElement$w();
|
|
160
161
|
}
|
|
161
162
|
break;
|
|
162
163
|
case "bank-account-form":
|
|
163
164
|
if (!customElements.get(tagName)) {
|
|
164
|
-
defineCustomElement$
|
|
165
|
+
defineCustomElement$v();
|
|
165
166
|
}
|
|
166
167
|
break;
|
|
167
168
|
case "billing-form":
|
|
168
169
|
if (!customElements.get(tagName)) {
|
|
169
|
-
defineCustomElement$
|
|
170
|
+
defineCustomElement$u();
|
|
170
171
|
}
|
|
171
172
|
break;
|
|
172
173
|
case "billing-form-full":
|
|
173
174
|
if (!customElements.get(tagName)) {
|
|
174
|
-
defineCustomElement$
|
|
175
|
+
defineCustomElement$t();
|
|
175
176
|
}
|
|
176
177
|
break;
|
|
177
178
|
case "card-billing-form-simple":
|
|
178
179
|
if (!customElements.get(tagName)) {
|
|
179
|
-
defineCustomElement$
|
|
180
|
+
defineCustomElement$s();
|
|
180
181
|
}
|
|
181
182
|
break;
|
|
182
183
|
case "card-form":
|
|
183
184
|
if (!customElements.get(tagName)) {
|
|
184
|
-
defineCustomElement$
|
|
185
|
+
defineCustomElement$r();
|
|
185
186
|
}
|
|
186
187
|
break;
|
|
187
188
|
case "custom-popper":
|
|
188
189
|
if (!customElements.get(tagName)) {
|
|
189
|
-
defineCustomElement$
|
|
190
|
+
defineCustomElement$q();
|
|
190
191
|
}
|
|
191
192
|
break;
|
|
192
193
|
case "form-alert":
|
|
193
194
|
if (!customElements.get(tagName)) {
|
|
194
|
-
defineCustomElement$
|
|
195
|
+
defineCustomElement$p();
|
|
195
196
|
}
|
|
196
197
|
break;
|
|
197
198
|
case "form-control-checkbox":
|
|
198
199
|
if (!customElements.get(tagName)) {
|
|
199
|
-
defineCustomElement$
|
|
200
|
+
defineCustomElement$o();
|
|
200
201
|
}
|
|
201
202
|
break;
|
|
202
203
|
case "form-control-help-text":
|
|
203
204
|
if (!customElements.get(tagName)) {
|
|
204
|
-
defineCustomElement$
|
|
205
|
+
defineCustomElement$n();
|
|
205
206
|
}
|
|
206
207
|
break;
|
|
207
208
|
case "form-control-radio":
|
|
208
209
|
if (!customElements.get(tagName)) {
|
|
209
|
-
defineCustomElement$
|
|
210
|
+
defineCustomElement$m();
|
|
210
211
|
}
|
|
211
212
|
break;
|
|
212
213
|
case "form-control-select":
|
|
213
214
|
if (!customElements.get(tagName)) {
|
|
214
|
-
defineCustomElement$
|
|
215
|
+
defineCustomElement$l();
|
|
215
216
|
}
|
|
216
217
|
break;
|
|
217
218
|
case "form-control-text":
|
|
218
219
|
if (!customElements.get(tagName)) {
|
|
219
|
-
defineCustomElement$
|
|
220
|
+
defineCustomElement$k();
|
|
220
221
|
}
|
|
221
222
|
break;
|
|
222
223
|
case "form-control-tooltip":
|
|
223
224
|
if (!customElements.get(tagName)) {
|
|
224
|
-
defineCustomElement$
|
|
225
|
+
defineCustomElement$j();
|
|
225
226
|
}
|
|
226
227
|
break;
|
|
227
228
|
case "hidden-input":
|
|
228
229
|
if (!customElements.get(tagName)) {
|
|
229
|
-
defineCustomElement$
|
|
230
|
+
defineCustomElement$i();
|
|
230
231
|
}
|
|
231
232
|
break;
|
|
232
233
|
case "iframe-input":
|
|
233
234
|
if (!customElements.get(tagName)) {
|
|
234
|
-
defineCustomElement$
|
|
235
|
+
defineCustomElement$h();
|
|
235
236
|
}
|
|
236
237
|
break;
|
|
237
238
|
case "internal-button":
|
|
238
239
|
if (!customElements.get(tagName)) {
|
|
239
|
-
defineCustomElement$
|
|
240
|
+
defineCustomElement$g();
|
|
240
241
|
}
|
|
241
242
|
break;
|
|
242
243
|
case "justifi-apple-pay":
|
|
243
244
|
if (!customElements.get(tagName)) {
|
|
244
|
-
defineCustomElement$
|
|
245
|
+
defineCustomElement$f();
|
|
245
246
|
}
|
|
246
247
|
break;
|
|
247
248
|
case "justifi-button":
|
|
248
249
|
if (!customElements.get(tagName)) {
|
|
249
|
-
defineCustomElement$
|
|
250
|
+
defineCustomElement$e();
|
|
250
251
|
}
|
|
251
252
|
break;
|
|
252
253
|
case "justifi-checkout-summary":
|
|
253
254
|
if (!customElements.get(tagName)) {
|
|
254
|
-
defineCustomElement$
|
|
255
|
+
defineCustomElement$d();
|
|
255
256
|
}
|
|
256
257
|
break;
|
|
257
258
|
case "justifi-google-pay":
|
|
258
259
|
if (!customElements.get(tagName)) {
|
|
259
|
-
defineCustomElement$
|
|
260
|
+
defineCustomElement$c();
|
|
260
261
|
}
|
|
261
262
|
break;
|
|
262
263
|
case "justifi-header":
|
|
263
264
|
if (!customElements.get(tagName)) {
|
|
264
|
-
defineCustomElement$
|
|
265
|
+
defineCustomElement$b();
|
|
265
266
|
}
|
|
266
267
|
break;
|
|
267
268
|
case "justifi-modular-checkout":
|
|
269
|
+
if (!customElements.get(tagName)) {
|
|
270
|
+
defineCustomElement$a();
|
|
271
|
+
}
|
|
272
|
+
break;
|
|
273
|
+
case "justifi-paypal":
|
|
268
274
|
if (!customElements.get(tagName)) {
|
|
269
275
|
defineCustomElement$9();
|
|
270
276
|
}
|
|
@@ -70,8 +70,8 @@ const JustifiCheckoutsListFilters$1 = /*@__PURE__*/ proxyCustomElement(class Jus
|
|
|
70
70
|
}
|
|
71
71
|
render() {
|
|
72
72
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
73
|
-
return (h(StyledHost, { key: '
|
|
74
|
-
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: filterParam })), h("div", { key: '
|
|
73
|
+
return (h(StyledHost, { key: '175f4d80e539b956be529d9e0e7bd94dd00aef32' }, h("table-filters-menu", { key: '4d8acfb715b038948bce514d501b567be0e3d15d', params: filterMenuParams, clearParams: clearParams, part: filterMenu }, h("div", { key: '062bc3404f5985a84bf716976b617f9816012d0c', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '77d933a6d6b78350295b8169aa252157188625fa', class: "p-2" }, h("form-control-text", { key: 'd5193421fd54a05069d2c93b2d9702fe614a5b12', name: "checkout_id", label: "Checkout ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.checkoutId || filterParams.checkout_id, disabled: !!this.checkoutId, part: filterParam })), h("div", { key: '964eb355ce3c7d089d832aac9909d81d12a13001', class: "p-2" }, h("form-control-text", { key: '5942e0937e04b6957efed9eabc770f28665669f6', name: "successful_payment_id", label: "Successful Payment ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.successfulPaymentId || filterParams.successful_payment_id, disabled: !!this.successfulPaymentId, part: filterParam })), h("div", { key: '35a093a384d2c386cbfc117714409ee3e262bc72', class: "p-2" }, h("form-control-select", { key: '7bdbb5d2f9e3a1b82ff9f5245767992308d8ba7d', name: "status", label: "Status", options: this.checkoutStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.checkoutStatus || filterParams.status || '', disabled: !!this.checkoutStatus, part: filterParam })), h("div", { key: '59de4b040ac72aa2f26ea52c729125de23c561cd', class: "p-2" }, h("form-control-select", { key: 'c6f202c97e0dce53b11da79369659de1f01aa4e7', name: "payment_mode", label: "Payment Mode", options: this.checkoutPaymentModeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentMode || filterParams.payment_mode || '', disabled: !!this.paymentMode, part: filterParam })), h("div", { key: '63094ad30d30ede904b82b40b4223b466258b43b', class: "p-2" }, h("form-control-date", { key: 'dc8a121917086233970feff405edfab4a5a84794', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
|
|
74
|
+
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: filterParam })), h("div", { key: 'fa9eefce1d398a0be634a03a72ce98f28ecac696', class: "p-2" }, h("form-control-date", { key: '9b07c3693396a1bf47d996fa83d1902188cf78cb', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
|
|
75
75
|
convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: filterParam }))))));
|
|
76
76
|
}
|
|
77
77
|
}, [257, "justifi-checkouts-list-filters", {
|
|
@@ -269,8 +269,8 @@ const JustifiCheckoutsList$1 = /*@__PURE__*/ proxyCustomElement(class JustifiChe
|
|
|
269
269
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
270
270
|
}
|
|
271
271
|
render() {
|
|
272
|
-
return (h(StyledHost, { key: '
|
|
273
|
-
this.checkoutsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '
|
|
272
|
+
return (h(StyledHost, { key: 'f022fc9244c2c8d6e43136ef67d584b7e02d88c0' }, h(TableWrapper, { key: '4426bfe67f6847fc4e7afac5bc6f49003eab7bdc' }, h(TableComponent, { key: 'd0c5683a6d86166853a184902c0492d7d692053d' }, h(TableHead, { key: '414525dcdce777fb9b96da4577f9df9dbc5209e5' }, h(TableHeadRow, { key: '059f355e53d1610e9a98caefc2e843042b82a401' }, this.checkoutsTable.columnData.map((column) => column))), h(TableBody, { key: 'a084de3e1cd2463d94e189d5d3241a19a885e43d' }, h(TableLoadingState, { key: '3efa17a9737fcac772f9d97880b4a990a97a7e99', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '636f2bf2b881e3ae93fd2ae5b78f4951eb2aa55e', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: 'd17071cdf4f1295f6aa53efb566fa470f40ef8cd', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData &&
|
|
273
|
+
this.checkoutsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: 'dc301ba7b3039400a3dbb9761ca8d7894e619e7d' }, h(TableFootRow, { key: '18936a6e7bbc6c0ed07181e22beb9488ef5d3fcd' }, h(TableFootCell, { key: '56749d191e514a9ef47d505efe831d808abf59db', colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: '7cd65843172cb881640de5e3815ec1e85984b9be', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
274
274
|
}
|
|
275
275
|
static get watchers() { return {
|
|
276
276
|
"accountId": ["authPropChanged"],
|
|
@@ -146,7 +146,7 @@ const JustifiDisputeManagement$1 = /*@__PURE__*/ proxyCustomElement(class Justif
|
|
|
146
146
|
});
|
|
147
147
|
}
|
|
148
148
|
render() {
|
|
149
|
-
return (h(StyledHost, { key: '
|
|
149
|
+
return (h(StyledHost, { key: 'd5af8e699e5b96a91d866a274addac1da03c2a10' }, h("div", { key: '14b445c20f27bed7e3131cbd6c8d87c0d3030c57' }, this.showDisputeResponseForm ? (h("dispute-response", { disputeId: this.disputeId, disputeResponse: this.dispute.dispute_response, authToken: this.authToken })) : (h("dispute-notification", { dispute: this.dispute, authToken: this.authToken, isLoading: this.isLoading })))));
|
|
150
150
|
}
|
|
151
151
|
static get watchers() { return {
|
|
152
152
|
"disputeId": ["propChanged"],
|
|
@@ -20,7 +20,7 @@ const JustifiHeader = /*@__PURE__*/ proxyCustomElement(class JustifiHeader exten
|
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
22
|
const HeaderComponent = this.levels[this.level];
|
|
23
|
-
return (h(StyledHost, { key: '
|
|
23
|
+
return (h(StyledHost, { key: 'b51ffe7c6ff6de409396fd941d39321eb837665d' }, h(HeaderComponent, { key: 'dfba7ab895567a38b6b08fc1b734bdb9e98afff5', text: this.text, class: this.class })));
|
|
24
24
|
}
|
|
25
25
|
}, [257, "justifi-header", {
|
|
26
26
|
"text": [1],
|
|
@@ -24,6 +24,43 @@ const JustifiModularCheckout = /*@__PURE__*/ proxyCustomElement(class JustifiMod
|
|
|
24
24
|
this.submitEvent = createEvent(this, "submit-event", 7);
|
|
25
25
|
this.checkoutChangedEvent = createEvent(this, "checkout-changed", 7);
|
|
26
26
|
this.plaidService = new PlaidService();
|
|
27
|
+
this.handlePaypalStarted = () => {
|
|
28
|
+
checkoutStore.isWalletProcessing = true;
|
|
29
|
+
};
|
|
30
|
+
this.handlePaypalCompleted = (event) => {
|
|
31
|
+
const { success, paymentMethodId, fundingSource } = event.detail || {};
|
|
32
|
+
checkoutStore.isWalletProcessing = false;
|
|
33
|
+
if (success && paymentMethodId) {
|
|
34
|
+
checkoutStore.paymentToken = paymentMethodId;
|
|
35
|
+
checkoutStore.selectedPaymentMethod = {
|
|
36
|
+
type: fundingSource === "venmo"
|
|
37
|
+
? PAYMENT_METHODS.VENMO
|
|
38
|
+
: PAYMENT_METHODS.PAYPAL,
|
|
39
|
+
};
|
|
40
|
+
this.submitCheckout();
|
|
41
|
+
}
|
|
42
|
+
else {
|
|
43
|
+
this.errorEvent.emit({
|
|
44
|
+
message: "Paypal payment failed",
|
|
45
|
+
errorCode: ComponentErrorCodes.TOKENIZE_ERROR,
|
|
46
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
this.handlePaypalCancelled = () => {
|
|
51
|
+
checkoutStore.isWalletProcessing = false;
|
|
52
|
+
checkoutStore.paymentToken = undefined;
|
|
53
|
+
checkoutStore.selectedPaymentMethod = undefined;
|
|
54
|
+
};
|
|
55
|
+
this.handlePaypalError = (event) => {
|
|
56
|
+
checkoutStore.isWalletProcessing = false;
|
|
57
|
+
const { error, code } = event.detail || {};
|
|
58
|
+
this.errorEvent.emit({
|
|
59
|
+
message: error || "Paypal error occurred",
|
|
60
|
+
errorCode: `PAYPAL_${code}`,
|
|
61
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
62
|
+
});
|
|
63
|
+
};
|
|
27
64
|
this.handleApplePayStarted = () => {
|
|
28
65
|
checkoutStore.isWalletProcessing = true;
|
|
29
66
|
};
|
|
@@ -93,6 +130,7 @@ const JustifiModularCheckout = /*@__PURE__*/ proxyCustomElement(class JustifiMod
|
|
|
93
130
|
this.queryFormRefs();
|
|
94
131
|
this.setupApplePayListeners(); // set up again listeners when DOM changes
|
|
95
132
|
this.setupGooglePayListeners();
|
|
133
|
+
this.setupPaypalListeners();
|
|
96
134
|
});
|
|
97
135
|
this.observer.observe(this.hostEl, {
|
|
98
136
|
childList: true,
|
|
@@ -128,6 +166,7 @@ const JustifiModularCheckout = /*@__PURE__*/ proxyCustomElement(class JustifiMod
|
|
|
128
166
|
this.queryFormRefs();
|
|
129
167
|
this.setupApplePayListeners();
|
|
130
168
|
this.setupGooglePayListeners();
|
|
169
|
+
this.setupPaypalListeners();
|
|
131
170
|
}
|
|
132
171
|
disconnectedCallback() {
|
|
133
172
|
var _a, _b;
|
|
@@ -136,6 +175,7 @@ const JustifiModularCheckout = /*@__PURE__*/ proxyCustomElement(class JustifiMod
|
|
|
136
175
|
(_b = this.observer) === null || _b === void 0 ? void 0 : _b.disconnect();
|
|
137
176
|
this.removeApplePayListeners();
|
|
138
177
|
this.removeGooglePayListeners();
|
|
178
|
+
this.removePaypalListeners();
|
|
139
179
|
}
|
|
140
180
|
fetchCheckout() {
|
|
141
181
|
if (!this.authToken || !this.checkoutId) {
|
|
@@ -178,9 +218,8 @@ const JustifiModularCheckout = /*@__PURE__*/ proxyCustomElement(class JustifiMod
|
|
|
178
218
|
}
|
|
179
219
|
}
|
|
180
220
|
updateStore(checkout) {
|
|
181
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
221
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
182
222
|
checkoutStore.accountId = checkout.account_id;
|
|
183
|
-
checkoutStore.checkoutLoaded = true;
|
|
184
223
|
const rawMode = checkout.mode != null ? String(checkout.mode).toLowerCase() : '';
|
|
185
224
|
checkoutStore.checkoutMode =
|
|
186
225
|
rawMode === 'test' ? 'test' : rawMode === 'live' ? 'live' : null;
|
|
@@ -192,16 +231,20 @@ const JustifiModularCheckout = /*@__PURE__*/ proxyCustomElement(class JustifiMod
|
|
|
192
231
|
checkoutStore.totalAmount = checkout.total_amount;
|
|
193
232
|
checkoutStore.paymentAmount = checkout.payment_amount;
|
|
194
233
|
checkoutStore.bnplEnabled = checkout.payment_settings.bnpl_payments;
|
|
195
|
-
checkoutStore.insuranceEnabled = checkout.payment_settings.insurance_payments;
|
|
196
|
-
checkoutStore.bankAccountVerification = (
|
|
197
|
-
checkoutStore.applePayEnabled = (
|
|
198
|
-
checkoutStore.googlePayEnabled = (
|
|
234
|
+
checkoutStore.insuranceEnabled = (_b = checkout.payment_settings.insurance_payments) !== null && _b !== void 0 ? _b : false;
|
|
235
|
+
checkoutStore.bankAccountVerification = (_c = checkout.payment_settings) === null || _c === void 0 ? void 0 : _c.bank_account_verification;
|
|
236
|
+
checkoutStore.applePayEnabled = (_e = (_d = checkout.payment_settings) === null || _d === void 0 ? void 0 : _d.apple_payments) !== null && _e !== void 0 ? _e : false;
|
|
237
|
+
checkoutStore.googlePayEnabled = (_g = (_f = checkout.payment_settings) === null || _f === void 0 ? void 0 : _f.google_payments) !== null && _g !== void 0 ? _g : false;
|
|
238
|
+
checkoutStore.paypalEnabled = (_j = (_h = checkout.payment_settings) === null || _h === void 0 ? void 0 : _h.paypal_payments) !== null && _j !== void 0 ? _j : false;
|
|
239
|
+
checkoutStore.paypalProviderClientId = (_l = (_k = checkout.paypal) === null || _k === void 0 ? void 0 : _k.provider_client_id) !== null && _l !== void 0 ? _l : '';
|
|
199
240
|
checkoutStore.achPaymentsEnabled = achEnabled;
|
|
200
|
-
checkoutStore.bnplProviderClientId = (
|
|
201
|
-
checkoutStore.bnplProviderMode = (
|
|
202
|
-
checkoutStore.bnplProviderApiVersion = (
|
|
241
|
+
checkoutStore.bnplProviderClientId = (_m = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _m === void 0 ? void 0 : _m.provider_client_id;
|
|
242
|
+
checkoutStore.bnplProviderMode = (_o = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _o === void 0 ? void 0 : _o.provider_mode;
|
|
243
|
+
checkoutStore.bnplProviderApiVersion = (_p = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _p === void 0 ? void 0 : _p.provider_api_version;
|
|
203
244
|
checkoutStore.bnplProviderCheckoutUrl =
|
|
204
|
-
(
|
|
245
|
+
(_q = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _q === void 0 ? void 0 : _q.provider_checkout_url;
|
|
246
|
+
checkoutStore.paymentCurrency = (checkout.payment_currency || checkoutStore.paymentCurrency).toUpperCase();
|
|
247
|
+
checkoutStore.checkoutLoaded = true;
|
|
205
248
|
}
|
|
206
249
|
emitCheckoutChanged() {
|
|
207
250
|
const detail = {
|
|
@@ -215,6 +258,7 @@ const JustifiModularCheckout = /*@__PURE__*/ proxyCustomElement(class JustifiMod
|
|
|
215
258
|
this.billingFormRef = this.hostEl.querySelector("justifi-billing-form, justifi-bank-account-billing-form-simple, justifi-card-billing-form-simple, justifi-billing-form-full, justifi-tokenize-payment-method");
|
|
216
259
|
this.applePayRef = this.hostEl.querySelector("justifi-apple-pay");
|
|
217
260
|
this.googlePayRef = this.hostEl.querySelector("justifi-google-pay");
|
|
261
|
+
this.paypalRef = this.hostEl.querySelector("justifi-paypal");
|
|
218
262
|
this.paymentMethodFormRef =
|
|
219
263
|
this.hostEl.querySelector('justifi-card-form, justifi-bank-account-form, justifi-tokenize-payment-method');
|
|
220
264
|
if (!checkoutStore.selectedPaymentMethod && this.paymentMethodFormRef) {
|
|
@@ -259,6 +303,22 @@ const JustifiModularCheckout = /*@__PURE__*/ proxyCustomElement(class JustifiMod
|
|
|
259
303
|
this.googlePayRef.removeEventListener("googlePayCancelled", this.handleGooglePayCancelled);
|
|
260
304
|
}
|
|
261
305
|
}
|
|
306
|
+
setupPaypalListeners() {
|
|
307
|
+
if (this.paypalRef) {
|
|
308
|
+
this.paypalRef.addEventListener("paypalStarted", this.handlePaypalStarted);
|
|
309
|
+
this.paypalRef.addEventListener("paypalCompleted", this.handlePaypalCompleted);
|
|
310
|
+
this.paypalRef.addEventListener("paypalCancelled", this.handlePaypalCancelled);
|
|
311
|
+
this.paypalRef.addEventListener("paypalError", this.handlePaypalError);
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
removePaypalListeners() {
|
|
315
|
+
if (this.paypalRef) {
|
|
316
|
+
this.paypalRef.removeEventListener("paypalStarted", this.handlePaypalStarted);
|
|
317
|
+
this.paypalRef.removeEventListener("paypalCompleted", this.handlePaypalCompleted);
|
|
318
|
+
this.paypalRef.removeEventListener("paypalCancelled", this.handlePaypalCancelled);
|
|
319
|
+
this.paypalRef.removeEventListener("paypalError", this.handlePaypalError);
|
|
320
|
+
}
|
|
321
|
+
}
|
|
262
322
|
async tokenizePaymentMethod(tokenizeArgs) {
|
|
263
323
|
var _a, _b, _c;
|
|
264
324
|
const billingInfoValues = (_b = (await ((_a = this.billingFormRef) === null || _a === void 0 ? void 0 : _a.getValues()))) !== null && _b !== void 0 ? _b : {};
|
|
@@ -442,6 +502,10 @@ const JustifiModularCheckout = /*@__PURE__*/ proxyCustomElement(class JustifiMod
|
|
|
442
502
|
return PAYMENT_MODE.APPLE_PAY;
|
|
443
503
|
case PAYMENT_METHODS.GOOGLE_PAY:
|
|
444
504
|
return PAYMENT_MODE.GOOGLE_PAY;
|
|
505
|
+
case PAYMENT_METHODS.PAYPAL:
|
|
506
|
+
return PAYMENT_MODE.PAYPAL;
|
|
507
|
+
case PAYMENT_METHODS.VENMO:
|
|
508
|
+
return PAYMENT_MODE.VENMO;
|
|
445
509
|
default:
|
|
446
510
|
return undefined;
|
|
447
511
|
}
|
|
@@ -483,7 +547,7 @@ const JustifiModularCheckout = /*@__PURE__*/ proxyCustomElement(class JustifiMod
|
|
|
483
547
|
});
|
|
484
548
|
}
|
|
485
549
|
render() {
|
|
486
|
-
return h(Host, { key: '
|
|
550
|
+
return h(Host, { key: '127bf2aea6758c7d91e33f252a3db4bc27b066ff' });
|
|
487
551
|
}
|
|
488
552
|
get hostEl() { return this; }
|
|
489
553
|
}, [256, "justifi-modular-checkout", {
|
|
@@ -208,7 +208,7 @@ const JustifiOrderTerminals$1 = /*@__PURE__*/ proxyCustomElement(class JustifiOr
|
|
|
208
208
|
return (h("div", { class: "mt-3" }, h("div", { class: "text-end" }, "Order limit: ", this.orderLimit), h("div", { class: "d-flex justify-content-end mt-3" }, h("button", { class: "btn btn-primary submit-btn", onClick: this.submitOrder.bind(this), disabled: this.order.totalQuantity === 0 || this.submitting, part: buttonPrimary }, this.submitting ? 'Submitting...' : this.submitButtonText))));
|
|
209
209
|
}
|
|
210
210
|
render() {
|
|
211
|
-
return (h(StyledHost, { key: '
|
|
211
|
+
return (h(StyledHost, { key: '284975f2cc9a27877e8ede55097cfeef7d951cf1' }, h("div", { key: '1be899276b0b935738a916773f310d2c2d60e29a', part: text }, this.renderLoading(), this.renderBusinessDetails(), this.renderTerminals(), this.renderOrderSection())));
|
|
212
212
|
}
|
|
213
213
|
}, [257, "justifi-order-terminals", {
|
|
214
214
|
"businessId": [1, "business-id"],
|
|
@@ -97,16 +97,16 @@ const JustifiPaymentDetails$1 = /*@__PURE__*/ proxyCustomElement(class JustifiPa
|
|
|
97
97
|
return this.payment.status;
|
|
98
98
|
}
|
|
99
99
|
render() {
|
|
100
|
-
return (h(StyledHost, { key: '
|
|
101
|
-
this.payment && (h("justifi-details", { key: '
|
|
102
|
-
h(DetailSectionTitle, { key: '
|
|
103
|
-
h("div", { key: '
|
|
100
|
+
return (h(StyledHost, { key: 'b77daed074c1f07abcfeee7638fbf647b069bde1' }, this.loading && h(PaymentDetailsLoading, { key: '45a19735c7e7701b296b965089b6ef1ede777124' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
|
|
101
|
+
this.payment && (h("justifi-details", { key: '502d8daa5846c5cc788c14be4cd057d895d2a7fd', errorMessage: this.errorMessage }, h(EntityHeadInfo, { key: '6ff5ebc6ef1b77b1cbcc2ca208685537c1645d3a', slot: "head-info", badge: (h("div", { class: "d-flex gap-1" }, MapPaymentStatusToBadge(this.PaymentStatus), this.payment.expedited ? (h(Badge, { variant: BadgeVariant.WARNING, title: "Expedited", text: "Expedited" })) : null)), title: this.payment.formattedPaymentAmount(this.payment.amount) }, h(EntityHeadInfoItem, { key: 'a897ad7896a9799c93359385e58411e545a61d90', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payment.updated_at)} ${formatTime(this.payment.updated_at)}` }), h(EntityHeadInfoItem, { key: '81fbaad82e06b4812dfb160ab5f02d4f869b93fa', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payment.created_at)} ${formatTime(this.payment.created_at)}` }), h(EntityHeadInfoItem, { key: 'f5082d85c20ce6bd99e064bca362cd4aadee681f', title: "ID", value: this.payment.id })), h("div", { key: 'c15a688cbbde60de1b8c1c6039eb96b007f825f6', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '1fdc9a1a427eef5ea84d19980888fdd0e0fd466f', sectionTitle: "Details" }), h("div", { key: 'd9bcd098ad4872100efba37fe193c118ec2a38b6', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: '782927345108d65ec1d8ebfa62334f62b1c653ac', title: "Amount", value: this.payment.formattedPaymentAmount(this.payment.amount) }), h(DetailItem, { key: '1c7e30ecc5b221c4216e3ad62286e315add6c674', title: "Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: '1dea42fd59f8df49a511501f6c20a2239f412170', title: "Refunded", value: this.payment.formattedPaymentAmount(this.payment.amount_refunded) }), h(DetailItem, { key: 'daa6a42ac01396f59e74da0d652b573ad45210b9', title: "Net", value: this.payment.formattedPaymentAmount(this.payment.balance) }), h(DetailItem, { key: '5357b6c460c0ffe3a43b256b51e2b357fb05dd56', title: "Status", value: MapPaymentStatusToBadge(this.PaymentStatus) }), h(DetailItem, { key: 'cf46249e7c4257997d08ca5fb8228e0426628dd8', title: "Payment ID", value: this.payment.id }), h(DetailItem, { key: '7517d6cae93f52f38c0610e9f7a67752f8b7883a', title: "Processing Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: '605d9022e18e47a99b77e63b7ca7ceb37c3ec5c4', title: "Statement Descriptor", value: this.payment.statement_descriptor }), h(DetailItem, { key: '853ec1f5830af8da7e9661fff631ef40a8bd18e8', title: "Description", value: this.payment.description }), h(DetailItem, { key: '202359a55318667dec12aec368600083f623448b', title: "Expedited", value: this.payment.expedited ? 'Yes' : 'No' })), this.payment.payment_method.card && [
|
|
102
|
+
h(DetailSectionTitle, { key: '422d91eeafdfd0562f277ab9962e07dd6223298f', sectionTitle: "Payment Method" }),
|
|
103
|
+
h("div", { key: '8d5d46182aa5530c6a043ad547c6d1bc98f7f61d', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: '1b5e9376aea8ec371d882fa1e537124c99ab2506', title: "ID", value: this.payment.payment_method.card.id }), h(DetailItem, { key: 'bc3c4eb6bd54360e0d715968e9b2c476c904afcf', title: "Payment Type", value: "Card" }), h(DetailItem, { key: 'b6b020a7372d3256d2fd8296788afbfb4c771075', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: '38b37931c22669c0d2914d9480891a08215259d2', title: "Brand", value: snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), h(DetailItem, { key: '74d43cadb0a8bff45e84cd7c8cb8384c309a7439', title: "Cardholder", value: this.payment.payment_method.payersName }))
|
|
104
104
|
], this.payment.payment_method.bank_account && [
|
|
105
|
-
h(DetailSectionTitle, { key: '
|
|
106
|
-
h("div", { key: '
|
|
105
|
+
h(DetailSectionTitle, { key: '90c6d65d001e6a5d6d608858c12a39fa976c672d', sectionTitle: "Payment Method" }),
|
|
106
|
+
h("div", { key: '6907fb557de0817d22d150770d5fcfe21bacaa4a', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: '5cc2abe0007d5527563c8c1893c104a6464ab467', title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { key: 'bc743e7e9fccd70e7a7ea75031e5d605066fbcf2', title: "Last 4 Numbers", value: this.payment.last_four_digits }), h(DetailItem, { key: 'd708a73bbe7df3f1e858b3a596e1fb5b38e4e2a4', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { key: '5975c7912a3e0dc2f706d1d9b3d47b21bcebc8a9', title: "Account Owner", value: this.payment.payment_method.payersName }))
|
|
107
107
|
], this.payment.metadata && [
|
|
108
|
-
h(DetailSectionTitle, { key: '
|
|
109
|
-
h("div", { key: '
|
|
108
|
+
h(DetailSectionTitle, { key: '197374ce471a49da70ac888d17a5d7ab2a048e5b', sectionTitle: 'Metadata' }),
|
|
109
|
+
h("div", { key: 'a5e94195d5b193aac71fae2ec02cb9be966cca91', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '0b909d0164abd958eba48461fd816ef6001b3e2b', metadata: this.payment.metadata }))
|
|
110
110
|
])))));
|
|
111
111
|
}
|
|
112
112
|
static get watchers() { return {
|
|
@@ -187,7 +187,7 @@ const JustifiPaymentTransactionsList$1 = /*@__PURE__*/ proxyCustomElement(class
|
|
|
187
187
|
return !this.showEmptyState && !this.showErrorState && !this.isLoading;
|
|
188
188
|
}
|
|
189
189
|
render() {
|
|
190
|
-
return (h(StyledHost, { key: '
|
|
190
|
+
return (h(StyledHost, { key: '0f3e26b2c3f60508208665182d225851b661ce52' }, h(TableWrapper, { key: 'cec0e06941349943965f48f1724891b08eb2a9f0' }, h(TableComponent, { key: '0cc4ed8dba379a5007129098d9fafc666771bd68' }, h(TableHead, { key: '2cf86dc1d70add019c7a60a19776926987c6669d' }, h(TableHeadRow, { key: '26ee0bade994b3f103fbf143974095e24df3100f' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: '68e61b6f6ce309c66444868cc76fa5d5975cbf51' }, h(TableLoadingState, { key: 'd71b0929a60dd74f1cd14e4bbafe2030f50fdd1f', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: 'cb9ff5c2f19c506cb04dd0ff89e1ac3b2d9477cc', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: 'cc194ed6bd9985ecc11052159636abf93d72baa1', columnSpan: this.transactionsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.transactionsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '466be6cad4dc5aa82d492758845a36ab7ded07cb' }, h(TableFootRow, { key: '635a3e29fd03027eae0430afe0777905342bda35' }, h(TableFootCell, { key: '87cacd49245ab6e07ae7c2adef2cb26561fae1c6', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: '3b54af40f5aa9ac5e1198fc52218ec887cbd4e59', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
191
191
|
}
|
|
192
192
|
static get watchers() { return {
|
|
193
193
|
"pagingParams": ["propChanged"],
|
|
@@ -69,8 +69,8 @@ const JustifiPaymentsListFilters$1 = /*@__PURE__*/ proxyCustomElement(class Just
|
|
|
69
69
|
}
|
|
70
70
|
render() {
|
|
71
71
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
72
|
-
return (h(StyledHost, { key: '
|
|
73
|
-
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: filterParam })), h("div", { key: '
|
|
72
|
+
return (h(StyledHost, { key: 'f19bb83c021b72fc0cba7ac570411276e3a8cd2a' }, h("table-filters-menu", { key: '2427475b87179e05fc44995b57fc2be9b9c23a22', params: filterMenuParams, clearParams: clearParams, part: filterMenu }, h("div", { key: 'f6c00222acbda692bfc96a77f790c0b9f92a0b06', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '924bf8180a4c78d0899c58ad3c306d7af31b9c72', class: "p-2" }, h("form-control-text", { key: '29e7f5d581a78b9c843a844636cfebf17ec196c1', name: "payment_id", label: "Payment ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.paymentId || filterParams.payment_id, disabled: !!this.paymentId, part: filterParam })), h("div", { key: '92edd8c13e031b568d6beb928eb41037726666dd', class: "p-2" }, h("form-control-text", { key: '61ac4d0412a50c2fef1fc9564fde8312055a6a4a', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: filterParam })), h("div", { key: '1463d128da8051d6b7e94921f87534bd24134293', class: "p-2" }, h("form-control-select", { key: 'c8234d00cd7caee263daf3f585cffb6dc113d666', name: "payment_status", label: "Status", options: this.paymentStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentStatus || filterParams.payment_status || '', disabled: !!this.paymentStatus, part: filterParam })), h("div", { key: '89b8c58f7aca4272157e420efa3185372ccab934', class: "p-2" }, h("form-control-select", { key: '4c872ce7bd1064c7eb16ce9aa715088ab2e9be51', name: "payment_mode", label: "Payment Mode", options: this.paymentModeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentMode || filterParams.payment_mode || '', disabled: !!this.paymentMode, part: filterParam })), h("div", { key: 'ffda8cfc8bdc3599d952f9efbcd1b2465d6e601c', class: "p-2" }, h("form-control-text", { key: 'd165ec8d4dcee2d9a7b6c519afb7ae40b6e00c4d', name: "checkout_id", label: "Checkout ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.checkoutId || filterParams.checkout_id, disabled: !!this.checkoutId, part: filterParam })), h("div", { key: '931df5bc1d177f69699552b04e62070fcf707a3c', class: "p-2" }, h("form-control-text", { key: 'b062770ff72d40f3057cd80a187fd9c67bae0e62', name: "account_holder", label: "Account Holder", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.accountHolder || filterParams.account_holder, disabled: !!this.accountHolder, part: filterParam })), h("div", { key: 'a56ee10b2dfe557e548d58910be9279ce1d68b60', class: "p-2" }, h("form-control-date", { key: '07e1be45c6ab427760f0aa33235242b6073648d5', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
|
|
73
|
+
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: filterParam })), h("div", { key: 'd89eb4e09a2e402c5cbfc293fcba7b9d17da2f86', class: "p-2" }, h("form-control-date", { key: '45dc2a2e1a2532f6cd2eac9e9e8deeb1e3cd3ea8', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
|
|
74
74
|
convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: filterParam }))))));
|
|
75
75
|
}
|
|
76
76
|
}, [257, "justifi-payments-list-filters", {
|