@justifi/webcomponents 6.14.5 → 6.15.0-rc.2
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-COhunq0p.js} +3 -3
- package/dist/cjs/{Api-BzB0rppJ.js → Api-Do6SaltY.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-72YETCdB.js} +2 -2
- package/dist/cjs/card-form.cjs.entry.js +5 -5
- package/dist/cjs/{check-pkg-version-JMiLuNXu.js → check-pkg-version-BxGoSXGD.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-CPsXfx0Z.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-UHzCC7Ga.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-Bp7DOmM_.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} +314 -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-G3Vs7Jx5.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-CVwTrHEL.js} +2 -2
- package/dist/cjs/{payout.service-DNWZxt3R.js → payout.service-CL3VR0hN.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-Cukg5wuY.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-C0KG7BqL.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 +278 -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-3WmRTICF.js} +3 -3
- package/dist/esm/{Api-DScockhO.js → Api-83B3f28Q.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-CTqiKKy5.js} +2 -2
- package/dist/esm/card-form.entry.js +5 -5
- package/dist/esm/{check-pkg-version-CPMg0K2m.js → check-pkg-version-CmFl6VLH.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-wjFjBxIB.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-cqQHLwCy.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-ClGG-LRZ.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} +314 -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-CAVi_ne1.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-D7uv5vym.js} +2 -2
- package/dist/esm/{payout.service-DKe3_O4y.js → payout.service-BoSyqft1.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-DufQkxDk.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-BM2aebB6.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 +254 -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 +43 -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-49e40ebe.entry.js → p-0aa96018.entry.js} +1 -1
- package/dist/webcomponents/p-0fbc806f.entry.js +1 -0
- package/dist/webcomponents/p-10787684.entry.js +1 -0
- package/dist/webcomponents/{p-bc435cae.entry.js → p-1365a46b.entry.js} +1 -1
- package/dist/webcomponents/p-1fa62eba.entry.js +1 -0
- package/dist/webcomponents/p-25f70d5f.entry.js +1 -0
- package/dist/webcomponents/{p-BlqdDtQr.js → p-27igUlku.js} +1 -1
- package/dist/webcomponents/{p-4f54d1b2.entry.js → p-28fb6b50.entry.js} +1 -1
- package/dist/webcomponents/{p-f0083ace.entry.js → p-2b5533a1.entry.js} +1 -1
- 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-388082cd.entry.js +1 -0
- package/dist/webcomponents/p-3f2fb856.entry.js +1 -0
- package/dist/webcomponents/{p-041a22dd.entry.js → p-42021e67.entry.js} +1 -1
- package/dist/webcomponents/{p-0d9022e5.entry.js → p-4cad48c1.entry.js} +1 -1
- package/dist/webcomponents/{p-373586db.entry.js → p-50c2b8f0.entry.js} +1 -1
- package/dist/webcomponents/p-5842d4e8.entry.js +1 -0
- package/dist/webcomponents/{p-e7909732.entry.js → p-5c89dcdf.entry.js} +1 -1
- package/dist/webcomponents/p-5d7b3d71.entry.js +1 -0
- package/dist/webcomponents/p-5dcb1713.entry.js +1 -0
- package/dist/webcomponents/p-5f8c30b6.entry.js +1 -0
- package/dist/webcomponents/p-68e88747.entry.js +1 -0
- package/dist/webcomponents/p-6931a1f2.entry.js +1 -0
- package/dist/webcomponents/{p-f8f01bbb.entry.js → p-6c94218c.entry.js} +1 -1
- package/dist/webcomponents/{p-e954f46c.entry.js → p-6eb65d23.entry.js} +1 -1
- package/dist/webcomponents/{p-027ef7e9.entry.js → p-7002286e.entry.js} +1 -1
- package/dist/webcomponents/{p-d6122124.entry.js → p-72bb4aff.entry.js} +1 -1
- package/dist/webcomponents/p-74575a99.entry.js +1 -0
- package/dist/webcomponents/p-777470cb.entry.js +1 -0
- package/dist/webcomponents/p-7c405573.entry.js +1 -0
- package/dist/webcomponents/p-825a7ee6.entry.js +1 -0
- package/dist/webcomponents/p-8d11aa27.entry.js +1 -0
- package/dist/webcomponents/{p-3870712e.entry.js → p-909a9828.entry.js} +4 -4
- package/dist/webcomponents/p-955c06d3.entry.js +1 -0
- package/dist/webcomponents/{p-2139497d.entry.js → p-97c6593d.entry.js} +1 -1
- package/dist/webcomponents/p-9e3e2e32.entry.js +1 -0
- package/dist/webcomponents/{p-29f68bd0.entry.js → p-9e9a2546.entry.js} +1 -1
- 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-BAKuMxC9.js} +1 -1
- package/dist/webcomponents/{p-DcA_wt-j.js → p-BEL8sLz6.js} +1 -1
- package/dist/webcomponents/{p-H4vl65HO.js → p-BSxXlu9H.js} +1 -1
- package/dist/webcomponents/p-CAVi_ne1.js +1 -0
- package/dist/webcomponents/{p-rIJv0FaI.js → p-CIpBEUtx.js} +1 -1
- package/dist/webcomponents/{p-CnHbIkmu.js → p-CJEetAx7.js} +1 -1
- 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-DN7VhlTn.js +1 -0
- package/dist/webcomponents/{p-Co3Rtlnu.js → p-DZQBPUfH.js} +1 -1
- package/dist/webcomponents/p-D_84NsmN.js +1 -0
- package/dist/webcomponents/p-Fpaf7CLD.js +1 -0
- package/dist/webcomponents/{p-CnDagPty.js → p-PdwJswAy.js} +1 -1
- package/dist/webcomponents/p-acb0b66c.entry.js +1 -0
- package/dist/webcomponents/p-b23dfa13.entry.js +1 -0
- package/dist/webcomponents/{p-b17fabdc.entry.js → p-b98ea26a.entry.js} +1 -1
- package/dist/webcomponents/{p-6884fa3d.entry.js → p-c3818a5a.entry.js} +1 -1
- package/dist/webcomponents/{p-61eae8cd.entry.js → p-c4889a06.entry.js} +1 -1
- package/dist/webcomponents/{p-b9316945.entry.js → p-c5424fda.entry.js} +1 -1
- package/dist/webcomponents/p-ca13117d.entry.js +1 -0
- package/dist/webcomponents/p-ca6c5365.entry.js +1 -0
- package/dist/webcomponents/{p-f6b900f4.entry.js → p-cb1cc88e.entry.js} +1 -1
- package/dist/webcomponents/{p-387aba3d.entry.js → p-ced6f6f1.entry.js} +1 -1
- package/dist/webcomponents/{p-c5560a87.entry.js → p-d59676ea.entry.js} +1 -1
- package/dist/webcomponents/p-d98bc829.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-eb31024f.entry.js +1 -0
- package/dist/webcomponents/{p-543fcff2.entry.js → p-ee7fe3a8.entry.js} +1 -1
- package/dist/webcomponents/p-f0434a13.entry.js +1 -0
- package/dist/webcomponents/{p-c14dde7c.entry.js → p-f3682c72.entry.js} +1 -1
- package/dist/webcomponents/{p-537ea763.entry.js → p-f5358a80.entry.js} +1 -1
- package/dist/webcomponents/{p-b945fa49.entry.js → p-f9f0cb1f.entry.js} +1 -1
- package/dist/webcomponents/p-fda6f27d.entry.js +1 -0
- package/dist/webcomponents/p-fdd087d4.entry.js +1 -0
- package/dist/webcomponents/{p-C8g8unYJ.js → p-nbKvRcwU.js} +1 -1
- package/dist/webcomponents/{p-WnMmPpEb.js → p-vIQBTQmc.js} +1 -1
- 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-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-3086ee7a.entry.js +0 -1
- package/dist/webcomponents/p-36d7033b.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-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-b8d46fc5.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-d57ae599.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
|
@@ -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: '54455809df1f26151a5ef7d5935e38a8329cbc2e' }, h("div", { key: '6ea3b5336d4c779da65bf2b710aa8fa5757c3b19', 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: 'c20a9881f121383742df4097abd211fc01fa614c' }, this.loading && h(PaymentDetailsLoading, { key: 'cea1dbe1de00b872e3eb83207c2f3f198dd0ce3f' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
|
|
101
|
+
this.payment && (h("justifi-details", { key: '821173761c94527c920ced8af53634389ee5e6fd', errorMessage: this.errorMessage }, h(EntityHeadInfo, { key: 'c596fc0f0a72f1775295fddb96490c9c2b7c8a4d', 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: 'bd77afb1bffcf42d07858f7f717fcbf672762766', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payment.updated_at)} ${formatTime(this.payment.updated_at)}` }), h(EntityHeadInfoItem, { key: 'ccfb0af2a6680eb76a4e6db01728204725b752c0', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payment.created_at)} ${formatTime(this.payment.created_at)}` }), h(EntityHeadInfoItem, { key: '60f832dd62f9b4aed3495c6aeb38d7798aedf420', title: "ID", value: this.payment.id })), h("div", { key: '3073acb5c67e330e18f45d00b62912bcb5d6b49f', slot: 'detail-sections' }, h(DetailSectionTitle, { key: 'aae396fef7ef9394ac4f90a0d3ae5090dfd91e5c', sectionTitle: "Details" }), h("div", { key: '71330cbb6fef542f60d76a1a6bee1e1d950a95da', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: '0d64521a40aff244e599a0f8946c8c1a06f6c1f5', title: "Amount", value: this.payment.formattedPaymentAmount(this.payment.amount) }), h(DetailItem, { key: 'b67670f8c89d38b5dac856e0326e8dc4aa79240b', title: "Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: 'ec82b98af9fc602c273c7d624aae13b2121f40ab', title: "Refunded", value: this.payment.formattedPaymentAmount(this.payment.amount_refunded) }), h(DetailItem, { key: 'f785ac60c1a5520d3fefdcd746629431db689dae', title: "Net", value: this.payment.formattedPaymentAmount(this.payment.balance) }), h(DetailItem, { key: 'ad986f25d781e51ba7991b5487dcacb63c0e2422', title: "Status", value: MapPaymentStatusToBadge(this.PaymentStatus) }), h(DetailItem, { key: 'aa9918c2962d5e17a3bc7550dc134a85c9f863ab', title: "Payment ID", value: this.payment.id }), h(DetailItem, { key: '4052d75ce51d350d3f82b05a2447cb0481b9ffa0', title: "Processing Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: '2f89484e36dc4e5a01e27033f7ff9602b2d181d7', title: "Statement Descriptor", value: this.payment.statement_descriptor }), h(DetailItem, { key: '41768b7db45146a949180eebb0ae53d19d39cb7b', title: "Description", value: this.payment.description }), h(DetailItem, { key: 'fef4e8b59d7ca04ee895a7b4eba58503b97956f9', title: "Expedited", value: this.payment.expedited ? 'Yes' : 'No' })), this.payment.payment_method.card && [
|
|
102
|
+
h(DetailSectionTitle, { key: '615d5d3a1df6e0b32cd5d7d4dd264250f732a2f4', sectionTitle: "Payment Method" }),
|
|
103
|
+
h("div", { key: '37811c349258526f1fb5e1d7dda8547a01fbc4c7', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: 'eee5b8828dc3b5e7bf5738d95d488b03d7704934', title: "ID", value: this.payment.payment_method.card.id }), h(DetailItem, { key: 'dbda1d8cf16914f1adf0803340d807abc504758b', title: "Payment Type", value: "Card" }), h(DetailItem, { key: '2887c82fcaec3a7322644a928e4291970a69d4a4', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: 'dc707f794882ba9143cc46541ce89f072e98a653', title: "Brand", value: snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), h(DetailItem, { key: '8de60a9b5d5f781d1554108fc80ae0799e3143a6', 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: '697f50418855675ea222fe2dc7558d30f884ed47', sectionTitle: "Payment Method" }),
|
|
106
|
+
h("div", { key: 'c7a013952b32f95a74d0e0f281a0750966e58c0d', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: 'ea9692b3a3dac313aa366ec22f0d766ba5eb0d52', title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { key: '5826fd24417df7fbaf952d60dbb21eb7ebf6ce36', title: "Last 4 Numbers", value: this.payment.last_four_digits }), h(DetailItem, { key: 'a16f0171e05a59eb302404b1c5ccfc4a62e9899b', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { key: '88dbbfe65ef4e7d1e31c9fc98de3dfddd33526c1', 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: '7f686436fda99b434f651758e420f2ad6be5d60a', sectionTitle: 'Metadata' }),
|
|
109
|
+
h("div", { key: '67b2e9543eba5c27c1d5b7e1a70115a2eb7f274a', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: 'f2dc90048696d2c8b0868d966d1e318e2c16fdbf', 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: 'f8b0f3a58ef7f88c0ac42fc58955b28ad97922e4' }, h(TableWrapper, { key: '2dc653b63611cbdfa388b386cec9b3adf751bd12' }, h(TableComponent, { key: 'a0bd64c01870ccd4bb921d5d90c7453650131f16' }, h(TableHead, { key: 'b92ce24dab41cbaf1d8ecb1df43739d2548fe73f' }, h(TableHeadRow, { key: '5f983b93b2b9b6661cae2cf74802519175aae8cc' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: 'd9a51ecfc54c16a4859f9d66fb783f3876fc3428' }, h(TableLoadingState, { key: '232f1b59ddeb9f949901678a67c652cc3aedfdf7', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: 'bd9a853887da939c651c234cd4f0e3ab35d610d1', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: 'da157eb9d18d89353f6aebb085bb4becb15ac89f', 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: '41ffc1c9d3591dad7973f862b78b488e089af863' }, h(TableFootRow, { key: '17780690e1b44eb6ba13128d3ecfee73c6be06a7' }, h(TableFootCell, { key: '312b9a0b9649ffd9033ec1333b2d9d8eb666d185', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: '4ef805672cf530850ecdf13e26eefc8015f80fa3', 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: 'e3eaa38735042ba3618a8c042e7e1b351ba3c92d' }, h("table-filters-menu", { key: 'af5a94add7dcefe868e65d46a38a662b4d7986b3', params: filterMenuParams, clearParams: clearParams, part: filterMenu }, h("div", { key: 'c2c02f915eaf984458b3f99dac4bb9317aac8b7e', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '2130e16ffea403ac5fec93e7d77aba470529264f', class: "p-2" }, h("form-control-text", { key: '4e45a57455eed0be81236e1939c2ca5e5d741c81', name: "payment_id", label: "Payment ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.paymentId || filterParams.payment_id, disabled: !!this.paymentId, part: filterParam })), h("div", { key: 'fef1849cf8f58c70f0fe8a5604545cabb58901d6', class: "p-2" }, h("form-control-text", { key: 'f8f076fff19c4a90901e1adacc61023a88d0bbfa', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: filterParam })), h("div", { key: '304d816e47dae74e1d493df5ffd34cef2cd93600', class: "p-2" }, h("form-control-select", { key: '265350ed2411acc1bbfe6dec019a79e808713349', 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: 'd644bf25f3e524403ee5d7590d4d32fad0e56688', class: "p-2" }, h("form-control-select", { key: '871056ad4364d14a18621e4da6e49bda609ef17a', 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: 'e568ba09614c66e5a589b745dee36465e5c962b5', class: "p-2" }, h("form-control-text", { key: 'e58eb1b507c87220437ef0d9b3fcee8643408244', name: "checkout_id", label: "Checkout ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.checkoutId || filterParams.checkout_id, disabled: !!this.checkoutId, part: filterParam })), h("div", { key: 'b27cde43483bffbef99f22d707d28bebce514069', class: "p-2" }, h("form-control-text", { key: 'bf35df034fcb1e3c2e09503b94adca74083ccb7f', name: "account_holder", label: "Account Holder", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.accountHolder || filterParams.account_holder, disabled: !!this.accountHolder, part: filterParam })), h("div", { key: '3ef0ccf656c147044586a2f88c718a0c833ee6c4', class: "p-2" }, h("form-control-date", { key: 'c6b2dbfab6749f853ecf54959cd5f94c8db7a9ae', 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: '02c746e653dac58005381d19eaa5371347e02297', class: "p-2" }, h("form-control-date", { key: 'dd7d369a655e0f1e10497f45cfa7085c045287d3', 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", {
|
|
@@ -207,7 +207,7 @@ const JustifiPaymentsList$1 = /*@__PURE__*/ proxyCustomElement(class JustifiPaym
|
|
|
207
207
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
208
208
|
}
|
|
209
209
|
render() {
|
|
210
|
-
return (h(StyledHost, { key: '
|
|
210
|
+
return (h(StyledHost, { key: 'eb828891504cbcb38a6d7b73ab2411b23bca30a2' }, h(TableWrapper, { key: 'f523dae8af945d79a36734bb35ecca94ea094fff' }, h(TableComponent, { key: '8a69883c8217fdc36280cc3f2f95c83ad449b621' }, h(TableHead, { key: '1b47d5b433eaf0a749f8bdf97afb269518840e10' }, h(TableHeadRow, { key: '4a1be7574f03aefd7687f200dc5cdc2b92a47d90' }, this.paymentsTable.columnData.map((column) => column))), h(TableBody, { key: '02ad2f601a923526c2555f598f54e674763c3cc6' }, h(TableLoadingState, { key: '274a86633dfbf13395acdfe9725cd14e13c59d8a', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: '18ceb62121b9387a1bb8a8a74dfa458dba869b01', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), h(TableErrorState, { key: '7cbbc7524f44ac22d16c257c5bdc4998f21d1983', columnSpan: this.paymentsTable.columnData.length, errorMessage: this.errorMessage }), this.showRowData && this.paymentsTable.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: '0da01573eaaa7cf98b08f9f5910d536a687dc6a3' }, h(TableFootRow, { key: '402175c67d164d0f6deba109ff11230ef4772675' }, h(TableFootCell, { key: 'e2c8b098aacadcf5b0a5587e01f1191e287cd9fa', colSpan: this.paymentsTable.columnData.length }, h("pagination-menu", { key: '91bffb1511a93c0b39f7cdc711c1f92e5381f5ec', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
211
211
|
}
|
|
212
212
|
static get watchers() { return {
|
|
213
213
|
"accountId": ["propChanged"],
|
|
@@ -149,9 +149,9 @@ const JustifiPayoutDetails$1 = /*@__PURE__*/ proxyCustomElement(class JustifiPay
|
|
|
149
149
|
}
|
|
150
150
|
render() {
|
|
151
151
|
var _a, _b, _c, _d;
|
|
152
|
-
return (h(StyledHost, { key: '
|
|
153
|
-
h(DetailSectionTitle, { key: '
|
|
154
|
-
h("div", { key: '
|
|
152
|
+
return (h(StyledHost, { key: '142db792aa54d2e598071b2787e9c3225ac53561' }, this.loading && h(PayoutDetailsLoading, { key: '34f30e5076a727a1ac1ec3e510ee497dd2118781' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: '1a35e41004c25f3d1aa6f9e422dade0149d1864f', errorMessage: this.errorMessage }, h(EntityHeadInfo, { key: '159e5f4ce02466d1679ab9a7288e39b58422cbc1', slot: "head-info", badge: (h("div", { class: "d-flex gap-1" }, MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status), this.payout.settlement_priority === 'expedited' ? (h(Badge, { variant: BadgeVariant.WARNING, title: "Expedited", text: "Expedited" })) : (h(Badge, { variant: BadgeVariant.SECONDARY, title: "Standard", text: "Standard" })))), title: this.payout.formattedPaymentAmount(this.payout.amount) }, h(EntityHeadInfoItem, { key: '33852a41177edfbf5df0419dc3d09a33e8b1bea5', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: '158b9ce9844ebc705582921133e3bd8748d11722', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: '1066d269cec1d90311add505d19c17ca2f9a0863', title: "ID", value: this.payout.id }), h("div", { key: '4dcbce85c6e11ef99b7370f03ed33acd384d5891', class: "m-4" }, h(Button, { key: '5206d2702ba0379db1304b77ac07c92e69754f14', variant: "outline-secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: 'd6a4a013fb6e48f4c4ef79361a92240b6c7ee5e4', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '170281f71a4decf37ba3a5525b38935131f68600', sectionTitle: "Details" }), h("div", { key: '500a4b494c633a9dd7a029c0b742c7316dff9c16', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: '72bcd40ca0b5a172e4a9854071630761e95bc0e6', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: '1429c2ffb77148dbaedb73e45849bbbf3f18e65e', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: 'cb7541a3c40f8dc9dce258b8f2c55c68782144f6', title: "Payout Method", value: this.formatMethod(this.payout.delivery_method) }), h(DetailItem, { key: 'f871fdcc0a606267b04cc3865a918c7acdad9a2a', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), h(DetailItem, { key: '32b60dd33cc414bbe87ad24f6aec31fd6a907346', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), h(DetailSectionTitle, { key: 'be9b1a451d296029e7fecc3b37f7cc994dbccc05', sectionTitle: "Account" }), h("div", { key: '97e6a3b1fbf8096ee44293262e4554bbe8400b31', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: '48765886ae8274f95789e5262c280e4a8fc71116', title: "ID", value: this.payout.account_id, onClick: this.enableRecordClick ? () => this.handleRecordClick(this.payout.account_id) : undefined }), h(DetailItem, { key: '26c552db6cae6855a50550b05258ea37d279e8c6', title: "Account Type", value: (_b = this.payout.bank_account) === null || _b === void 0 ? void 0 : _b.account_type }), h(DetailItem, { key: '5844b3d0c9b1b84da8111ea70233335246524244', title: "Institution", value: (_c = this.payout.bank_account) === null || _c === void 0 ? void 0 : _c.account_type }), h(DetailItem, { key: 'd3582f8418241f330d3b02a823f32def67dd6cc3', title: "Routing Number", value: (_d = this.payout.bank_account) === null || _d === void 0 ? void 0 : _d.routing_number }), h(DetailItem, { key: '872d385fb085bf8c908ee47d1b4e0a851125ad3c', title: "Account Number", value: this.payout.bank_account ? `**** ${this.payout.bank_account.account_number_last4}` : undefined })), this.payout.metadata && [
|
|
153
|
+
h(DetailSectionTitle, { key: '4e8c13627b364b0bfc59a85ee15cc8212872f279', sectionTitle: 'Metadata' }),
|
|
154
|
+
h("div", { key: 'f0071fcf1edf15c19303ac1af0760312f17ed2d4', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: 'ae1ef093dac17315972e3aa5350028d08a34a90d', metadata: this.payout.metadata }))
|
|
155
155
|
])))));
|
|
156
156
|
}
|
|
157
157
|
static get watchers() { return {
|
|
@@ -194,7 +194,7 @@ const JustifiPayoutTransactionsList$1 = /*@__PURE__*/ proxyCustomElement(class J
|
|
|
194
194
|
return Object.assign({ payout_id: this.payoutId, limit: '15' }, this.pagingParams);
|
|
195
195
|
}
|
|
196
196
|
render() {
|
|
197
|
-
return (h(StyledHost, { key: '
|
|
197
|
+
return (h(StyledHost, { key: '1572d59b82d7e4f2140fe94dbbb91c810f9ecda0' }, h(TableWrapper, { key: '908f08eb27b6650a86574ffb7f19e021e7ff4659' }, h(TableComponent, { key: 'ef8ae77a07274833c0ce56e90685d2001b32cfce' }, h(TableHead, { key: 'b9672731713b7bfa60d08f67359c0fb54a3d313e' }, h(TableHeadRow, { key: '175cfdf101b8d263af2163a7a51fef7a69036132' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: '74475a34dde0dabee89d84013114f68e6e5f12ee' }, h(TableLoadingState, { key: '5a60a046c259d614dc830e7bb2bdc950ace10ede', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: '25c2bde71c004b7a190a80e0a92cd51be80cccd1', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: '1cc2b6cc80ccd0eb6fc8d7b69f0b44a369e660f8', 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: '2a1229c56c8665515bacde6da6c96b522a2af136' }, h(TableFootRow, { key: '9fe927466e38927d412ffc862ddd6bda6a6abbf5' }, h(TableFootCell, { key: 'dee4c152b024f62c1b12f542034adb894e61ac26', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: '183fcc59d45b69133fba561b441bb7e63ba22ac9', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
198
198
|
}
|
|
199
199
|
static get watchers() { return {
|
|
200
200
|
"pagingParams": ["propChanged"],
|
|
@@ -57,8 +57,8 @@ const JustifiPayoutsListFilters$1 = /*@__PURE__*/ proxyCustomElement(class Justi
|
|
|
57
57
|
}
|
|
58
58
|
render() {
|
|
59
59
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
60
|
-
return (h(StyledHost, { key: '
|
|
61
|
-
convertToLocal(filterParams.created_after, { showInputDate: true }), disabled: !!this.createdAfter, part: filterParam })), h("div", { key: '
|
|
60
|
+
return (h(StyledHost, { key: 'b9fee98684dd11dde1a3acb0182b5fa01e243e08' }, h("table-filters-menu", { key: '94afefa2154a91b5f3298b871036c1b43390b346', params: filterMenuParams, clearParams: clearParams, part: filterMenu }, h("div", { key: '92fea66d7ab1a268d98904aeb5feef5dda6ac470', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: 'c3a6e8a2706cebfbc288dbf6c2416193b111964c', class: "p-2" }, h("form-control-select", { key: 'c40703185d3ec20f7b53f601c927510dbf5c8f35', name: "status", label: "Status", options: this.statusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.status || filterParams.status || '', disabled: !!this.status, part: filterParam })), h("div", { key: '7d8f007a0206e9a622526acfceed1f1ed67757d7', class: "p-2" }, h("form-control-date", { key: '2ca95ac4deaae4fed48b8bc0ba0e73586dcdd0ac', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDate: true }) ||
|
|
61
|
+
convertToLocal(filterParams.created_after, { showInputDate: true }), disabled: !!this.createdAfter, part: filterParam })), h("div", { key: 'c5aa9f2f5dfb91de4b31efbc1019398a1377d2b1', class: "p-2" }, h("form-control-date", { key: '24d4adf0c73e773dfdb60f585c7739112dc46290', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDate: true }) ||
|
|
62
62
|
convertToLocal(filterParams.created_before, { showInputDate: true }), disabled: !!this.createdBefore, part: filterParam }))))));
|
|
63
63
|
}
|
|
64
64
|
}, [257, "justifi-payouts-list-filters", {
|
|
@@ -255,7 +255,7 @@ const JustifiPayoutsList$1 = /*@__PURE__*/ proxyCustomElement(class JustifiPayou
|
|
|
255
255
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
256
256
|
}
|
|
257
257
|
render() {
|
|
258
|
-
return (h(StyledHost, { key: '
|
|
258
|
+
return (h(StyledHost, { key: '4cd005fa6c9e95d155cd7a79c49232581c070c14' }, h(TableWrapper, { key: '177a2a96737ca085cbb7399144a75c0d1f4475dc' }, h(TableComponent, { key: '7140a202ae38a658351184f14530bd5dadce75f5' }, h(TableHead, { key: '9bf81a259376cd822593622a1266d2cc03ad6d94' }, h(TableHeadRow, { key: '339c82a1e59e594c3353b65745b99e9cbeff9250' }, this.payoutsTable.columnData.map((column) => column))), h(TableBody, { key: 'ca06c1cea570eaefa6df729075fac76c9fa7a7e9' }, h(TableLoadingState, { key: 'f4d4c97961f944625c28e748767e18c0234d148d', columnSpan: this.payoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'c741073dc9d10f85034271d584484d565d6ac0e1', isEmpty: this.showEmptyState, columnSpan: this.payoutsTable.columnKeys.length }), h(TableErrorState, { key: '56f140df9f6ee94ee49128dba19cca5da3882c61', columnSpan: this.payoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.payoutsTable.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: '5ca01383d201beb41821941e2ec8500c88e0e31a' }, h(TableFootRow, { key: 'd929128878a42f208a153680fc70e8f408d9978f' }, h(TableFootCell, { key: '39f8af7ebd1cafee09ed9279d9114ce6f9667d87', colSpan: this.payoutsTable.columnData.length }, h("pagination-menu", { key: '83fd64853950a14cd1fe0c31b033aff0f54c014f', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
259
259
|
}
|
|
260
260
|
static get watchers() { return {
|
|
261
261
|
"accountId": ["propChanged"],
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface JustifiPaypal extends Components.JustifiPaypal, HTMLElement {}
|
|
4
|
+
export const JustifiPaypal: {
|
|
5
|
+
prototype: JustifiPaypal;
|
|
6
|
+
new (): JustifiPaypal;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|