@justifi/webcomponents 6.6.0 → 6.7.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/{Refund-BX0mjsAQ.js → GooglePay-BwiJ_80p.js} +415 -0
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
- package/dist/cjs/{badge-_nY1l5Rq.js → badge-Cc87HAsf.js} +1 -1
- package/dist/cjs/bank-account-document-form-inputs_8.cjs.entry.js +9 -8
- package/dist/cjs/bank-account-form.cjs.entry.js +4 -4
- package/dist/cjs/business-details-core.cjs.entry.js +3 -3
- package/dist/cjs/{business.service-Dffp64u6.js → business.service-q93NsTG_.js} +1 -1
- package/dist/cjs/{button-CARQPDm-.js → button-fUPGXjU_.js} +1 -1
- package/dist/cjs/card-form.cjs.entry.js +4 -4
- package/dist/cjs/{check-pkg-version-DZC7jOGP.js → check-pkg-version-cLAIX_H6.js} +2 -2
- package/dist/cjs/{checkout.service-C1HcsrjQ.js → checkout.service-CwelwhrT.js} +1 -1
- package/dist/cjs/checkouts-list-core.cjs.entry.js +8 -7
- package/dist/cjs/{checkouts-table-Bgqkaez4.js → checkouts-table-BBtqxG2F.js} +2 -2
- package/dist/cjs/custom-popper_2.cjs.entry.js +3 -3
- package/dist/cjs/{dispute.service-CJsWYMYk.js → dispute.service-q5ha39uN.js} +1 -1
- package/dist/cjs/form-alert_5.cjs.entry.js +1 -1
- package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/form-control-date.cjs.entry.js +4 -4
- package/dist/cjs/{form-control-error-text-mhOq2Edp.js → form-control-error-text-Dg_65HGK.js} +1 -1
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
- package/dist/cjs/{form-control-help-text-BoRpAoX6.js → form-control-help-text-tB5u1-5M.js} +1 -1
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +3 -3
- package/dist/cjs/form-control-monetary.cjs.entry.js +5 -5
- package/dist/cjs/form-control-number-masked_3.cjs.entry.js +4 -4
- package/dist/cjs/form-control-number.cjs.entry.js +5 -5
- package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
- package/dist/cjs/form-control-select_2.cjs.entry.js +6 -6
- package/dist/cjs/{get-payment-details-BblcGN2B.js → get-payment-details-DidIAK2i.js} +2 -2
- package/dist/cjs/{get-subaccounts-z4dNQDjx.js → get-subaccounts-BE_wcfM7.js} +2 -2
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +4 -4
- package/dist/cjs/{header-1-CBO8uDuZ.js → header-1-Bqejh9no.js} +1 -1
- package/dist/cjs/{header-3-CPWtI1t0.js → header-3-DQ649Me2.js} +1 -1
- package/dist/cjs/hidden-input_2.cjs.entry.js +7 -7
- package/dist/cjs/{index-C2ITzalN.js → index-CajjbB9t.js} +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{insurance-state-BMHITXoD.js → insurance-state-DsGnIHMM.js} +1 -1
- package/dist/cjs/internal-tokenize-payment-method_7.cjs.entry.js +25 -26
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +12 -11
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +9 -9
- package/dist/cjs/{justifi-apple-pay_7.cjs.entry.js → justifi-apple-pay_8.cjs.entry.js} +905 -258
- package/dist/cjs/justifi-bank-account-billing-form-simple_3.cjs.entry.js +4 -4
- package/dist/cjs/justifi-business-details.cjs.entry.js +7 -6
- package/dist/cjs/justifi-business-form.cjs.entry.js +9 -8
- package/dist/cjs/justifi-checkout.cjs.entry.js +15 -16
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +26 -12
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +11 -10
- package/dist/cjs/justifi-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +6 -5
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +12 -11
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +6 -5
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +12 -11
- package/dist/cjs/justifi-payment-details.cjs.entry.js +8 -7
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +5 -4
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +10 -9
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payments-list.cjs.entry.js +11 -10
- package/dist/cjs/justifi-payout-details.cjs.entry.js +8 -7
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +10 -9
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +12 -11
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +13 -12
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +2 -2
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +10 -11
- package/dist/cjs/justifi-skeleton.cjs.entry.js +3 -3
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +13 -12
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +9 -8
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +9 -8
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +11 -10
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/owner-form-core_2.cjs.entry.js +2 -2
- package/dist/cjs/{package-CkO7M9IQ.js → package-C9E_BIbT.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
- package/dist/cjs/{parts-Pb06tUMp.js → parts-BVbaniVM.js} +6 -0
- package/dist/cjs/payment-details-core.cjs.entry.js +16 -15
- package/dist/cjs/payment-method-option.cjs.entry.js +2 -2
- package/dist/cjs/{payment.service-BZatGHKc.js → payment.service-CyHFdJ7n.js} +1 -1
- package/dist/cjs/payments-list-core.cjs.entry.js +9 -8
- package/dist/cjs/{payments-status-t4fVj8f9.js → payments-status-BP4u31jU.js} +1 -1
- package/dist/cjs/{payments-table-CaJt-yMH.js → payments-table-CWXVhECV.js} +2 -2
- package/dist/cjs/payout-details-core.cjs.entry.js +9 -9
- package/dist/cjs/{payout.service-DbgLWhwh.js → payout.service-Half-hdB.js} +1 -1
- package/dist/cjs/payouts-list-core.cjs.entry.js +9 -8
- package/dist/cjs/{payouts-status-pIO9qZG6.js → payouts-status-CM5Zy-0J.js} +1 -1
- package/dist/cjs/{payouts-table-DZv0WnTS.js → payouts-table-ZLTcfkUm.js} +2 -2
- package/dist/cjs/{skeleton-BF3HGL9X.js → skeleton-B8dzxFFr.js} +1 -1
- package/dist/cjs/{spinner-BBdv3Iq1.js → spinner-jHyLNCGO.js} +1 -1
- package/dist/cjs/{table-CfBpaApw.js → table-CrtpRwGN.js} +2 -2
- package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +8 -7
- package/dist/cjs/{terminal-orders-table-F-ZFUBwH.js → terminal-orders-table-DT53anT3.js} +5 -5
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
- package/dist/cjs/{terminal.service-KC8wBTJJ.js → terminal.service-CFt55QNO.js} +1 -1
- package/dist/cjs/terminals-list-core.cjs.entry.js +8 -7
- package/dist/cjs/{terminals-table-D7sf_DBN.js → terminals-table-DahpSz98.js} +2 -2
- package/dist/cjs/{utils-Cjq3ZCad.js → utils-CMiA4X7s.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/GooglePay.js +181 -0
- package/dist/collection/api/index.js +2 -0
- package/dist/collection/api/services/google-pay.service.js +241 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
- package/dist/collection/components/checkout/card-form/card-form.js +2 -2
- package/dist/collection/components/checkout/checkout.js +2 -2
- package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
- package/dist/collection/components/checkout/saved-payment-method.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +72 -2
- package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management.js +1 -1
- 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-core.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/filters/table-filters-menu.js +1 -1
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
- package/dist/collection/components/modular-checkout/ModularCheckout.js +1 -0
- package/dist/collection/components/modular-checkout/modular-checkout.js +44 -6
- package/dist/collection/components/modular-checkout/sub-components/bank-account-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
- package/dist/collection/components/modular-checkout/sub-components/card-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/card-form.js +2 -2
- package/dist/collection/components/modular-checkout/sub-components/google-pay-skeleton.js +10 -0
- package/dist/collection/components/modular-checkout/sub-components/google-pay.js +609 -0
- package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/summary.js +1 -1
- package/dist/collection/components/order-terminals/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/payment-details-core.js +8 -8
- package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
- package/dist/collection/components/payments-list/payments-list-core.js +1 -1
- package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
- package/dist/collection/components/payments-list/payments-list.js +1 -1
- package/dist/collection/components/payout-details/payout-details-core.js +3 -3
- package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
- package/dist/collection/components/payouts-list/payouts-list.js +1 -1
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
- package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list.js +1 -1
- package/dist/collection/components/tokenize-payment-method/internal-tokenize-payment-method.js +1 -1
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +1 -1
- package/dist/collection/store/checkout.store.js +4 -0
- package/dist/collection/styles/parts.js +3 -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/google-pay-button.js +251 -0
- 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 +727 -102
- package/dist/esm/{Refund-DDWRtCuX.js → GooglePay-NNHE-OLJ.js} +405 -1
- package/dist/esm/additional-questions-details_5.entry.js +2 -2
- package/dist/esm/{badge-BWd10d-w.js → badge-DtrH25ss.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_8.entry.js +8 -7
- package/dist/esm/bank-account-form.entry.js +4 -4
- package/dist/esm/business-details-core.entry.js +3 -3
- package/dist/esm/{business.service-CmSijtcP.js → business.service-BrUSam2T.js} +1 -1
- package/dist/esm/{button-BDwVDLs-.js → button-Bpf3VX8Q.js} +1 -1
- package/dist/esm/card-form.entry.js +4 -4
- package/dist/esm/{check-pkg-version-B83yUQEx.js → check-pkg-version-o2X_8wJ4.js} +2 -2
- package/dist/esm/{checkout.service-E60GnrZv.js → checkout.service-Bxt1qPaY.js} +1 -1
- package/dist/esm/checkouts-list-core.entry.js +8 -7
- package/dist/esm/{checkouts-table-BVWL1wN9.js → checkouts-table-CB4GdlcZ.js} +2 -2
- package/dist/esm/custom-popper_2.entry.js +3 -3
- package/dist/esm/{dispute.service-CAZJigrO.js → dispute.service-DYRYxxaT.js} +1 -1
- package/dist/esm/form-alert_5.entry.js +1 -1
- package/dist/esm/form-control-checkbox.entry.js +5 -5
- package/dist/esm/form-control-date.entry.js +4 -4
- package/dist/esm/{form-control-error-text-BYooqu0N.js → form-control-error-text-BZYykCDp.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +5 -5
- package/dist/esm/{form-control-help-text-CF1UA5Sl.js → form-control-help-text-D-p66Yxr.js} +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +3 -3
- package/dist/esm/form-control-monetary.entry.js +5 -5
- package/dist/esm/form-control-number-masked_3.entry.js +4 -4
- package/dist/esm/form-control-number.entry.js +5 -5
- package/dist/esm/form-control-radio.entry.js +3 -3
- package/dist/esm/form-control-select_2.entry.js +6 -6
- package/dist/esm/{get-payment-details-Dg5WRkOM.js → get-payment-details-BJ1PLhJZ.js} +1 -1
- package/dist/esm/{get-subaccounts-CbxzednA.js → get-subaccounts-CzGHjlUF.js} +1 -1
- package/dist/esm/gross-payment-chart-core.entry.js +4 -4
- package/dist/esm/{header-1-CzkA4zNY.js → header-1-WwkF5F9y.js} +1 -1
- package/dist/esm/{header-3-eIE1RpMN.js → header-3-C5jS39cE.js} +1 -1
- package/dist/esm/hidden-input_2.entry.js +7 -7
- package/dist/esm/{index-DCIW8z1f.js → index-DkoufM1t.js} +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/{insurance-state-By2QaBZo.js → insurance-state-C11WKZU6.js} +1 -1
- package/dist/esm/internal-tokenize-payment-method_7.entry.js +14 -15
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +6 -5
- package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
- package/dist/esm/{justifi-apple-pay_7.entry.js → justifi-apple-pay_8.entry.js} +788 -142
- package/dist/esm/justifi-bank-account-billing-form-simple_3.entry.js +4 -4
- package/dist/esm/justifi-business-details.entry.js +7 -6
- package/dist/esm/justifi-business-form.entry.js +9 -8
- package/dist/esm/justifi-checkout.entry.js +8 -9
- package/dist/esm/justifi-checkouts-list-filters.entry.js +19 -5
- package/dist/esm/justifi-checkouts-list.entry.js +10 -9
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
- package/dist/esm/justifi-dispute-management.entry.js +6 -5
- package/dist/esm/justifi-dispute-notification_3.entry.js +12 -11
- package/dist/esm/justifi-gross-payment-chart.entry.js +6 -5
- package/dist/esm/justifi-order-terminals.entry.js +9 -8
- package/dist/esm/justifi-payment-details.entry.js +8 -7
- package/dist/esm/justifi-payment-provisioning-core.entry.js +2 -2
- package/dist/esm/justifi-payment-provisioning.entry.js +5 -4
- package/dist/esm/justifi-payment-transactions-list.entry.js +9 -8
- package/dist/esm/justifi-payments-list-filters.entry.js +3 -3
- package/dist/esm/justifi-payments-list.entry.js +10 -9
- package/dist/esm/justifi-payout-details.entry.js +7 -6
- package/dist/esm/justifi-payout-transactions-list.entry.js +9 -8
- package/dist/esm/justifi-payouts-list-filters.entry.js +3 -3
- package/dist/esm/justifi-payouts-list.entry.js +11 -10
- package/dist/esm/justifi-refund-payment.entry.js +9 -8
- package/dist/esm/justifi-saved-payment-method.entry.js +2 -2
- package/dist/esm/justifi-season-interruption-insurance.entry.js +7 -8
- package/dist/esm/justifi-skeleton.entry.js +3 -3
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +5 -4
- package/dist/esm/justifi-terminal-orders-list.entry.js +8 -7
- package/dist/esm/justifi-terminals-list-filters.entry.js +4 -3
- package/dist/esm/justifi-terminals-list.entry.js +10 -9
- package/dist/esm/justifi-tokenize-payment-method.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/owner-form-core_2.entry.js +2 -2
- package/dist/esm/{package-CdVle3mx.js → package-Dr8Z8wfP.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/{parts-QmGrQis7.js → parts-sA8HBfkI.js} +4 -1
- package/dist/esm/payment-details-core.entry.js +15 -14
- package/dist/esm/payment-method-option.entry.js +2 -2
- package/dist/esm/{payment.service-CWc5BPv-.js → payment.service-BoGemgMw.js} +1 -1
- package/dist/esm/payments-list-core.entry.js +9 -8
- package/dist/esm/{payments-status-BdCVusHE.js → payments-status-CADg1cD0.js} +1 -1
- package/dist/esm/{payments-table-9rC3BvV0.js → payments-table-C6zHWwGO.js} +2 -2
- package/dist/esm/payout-details-core.entry.js +9 -9
- package/dist/esm/{payout.service-iBVqRzf_.js → payout.service-BSG50wqN.js} +1 -1
- package/dist/esm/payouts-list-core.entry.js +9 -8
- package/dist/esm/{payouts-status-DhowllYh.js → payouts-status-4VDQvaYV.js} +1 -1
- package/dist/esm/{payouts-table-Ci_J6mmU.js → payouts-table-BU5XbzB9.js} +2 -2
- package/dist/esm/{skeleton-BX70wCwq.js → skeleton-Dtt56Fl3.js} +1 -1
- package/dist/esm/{spinner-CcDNFgNu.js → spinner-DikooWuI.js} +1 -1
- package/dist/esm/{table-KZoMaoUh.js → table-1hqe6s5m.js} +2 -2
- package/dist/esm/table-filters-menu.entry.js +3 -3
- package/dist/esm/terminal-orders-list-core.entry.js +8 -7
- package/dist/esm/{terminal-orders-table-BGiWS5cM.js → terminal-orders-table-BsVBelxB.js} +3 -3
- package/dist/esm/terminal-quantity-selector.entry.js +2 -2
- package/dist/esm/{terminal.service-CxSKhtwB.js → terminal.service-YKfi6Mr9.js} +1 -1
- package/dist/esm/terminals-list-core.entry.js +8 -7
- package/dist/esm/{terminals-table-DROFEdyn.js → terminals-table-CXJTn-0I.js} +2 -2
- package/dist/esm/{utils-C1PX_3uA.js → utils-CgFsPVsv.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Analytics.js +2 -0
- package/dist/module/ApplePay.js +121 -0
- package/dist/module/GooglePay.js +184 -0
- package/dist/module/ModularCheckout.js +1 -0
- package/dist/module/additional-statement.js +1 -1
- package/dist/module/apple-pay.js +1 -120
- package/dist/module/bank-account-billing-form-simple.js +1 -1
- package/dist/module/bank-account-document-inputs.js +2 -0
- package/dist/module/bank-account-form.js +2 -2
- package/dist/module/bank-account.js +2 -2
- package/dist/module/business-bank-account-form-step.js +2 -0
- package/dist/module/business-terms-conditions-form-step.js +2 -0
- package/dist/module/business.service.js +2 -0
- package/dist/module/cancellation-policy.js +1 -1
- package/dist/module/card-billing-form-simple.js +1 -1
- package/dist/module/card-form.js +2 -2
- package/dist/module/card-form2.js +2 -2
- package/dist/module/checkout.service.js +2 -0
- package/dist/module/checkout.store.js +4 -0
- package/dist/module/checkouts-list-core2.js +4 -2
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +1 -1
- package/dist/module/dispute-management-core.js +1 -1
- package/dist/module/dispute-notification.js +2 -2
- package/dist/module/dispute-response-actions.js +2 -0
- package/dist/module/dispute-response-core.js +1 -1
- package/dist/module/dispute-response.js +1 -1
- package/dist/module/duplicate-charge.js +1 -1
- package/dist/module/electronic-evidence.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-number.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/get-payment-details.js +2 -0
- package/dist/module/get-subaccounts.js +2 -0
- package/dist/module/google-pay.js +782 -0
- package/dist/module/gross-payment-chart-core2.js +1 -1
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/iframe-input2.js +3 -3
- package/dist/module/internal-tokenize-payment-method2.js +3 -1
- package/dist/module/justifi-business-form.js +2 -0
- package/dist/module/justifi-button2.js +1 -1
- package/dist/module/justifi-checkout.js +46 -40
- package/dist/module/justifi-checkouts-list-filters.js +37 -8
- package/dist/module/justifi-checkouts-list.js +3 -1
- package/dist/module/justifi-dispute-management.js +1 -1
- package/dist/module/justifi-google-pay.d.ts +11 -0
- package/dist/module/justifi-google-pay.js +6 -0
- package/dist/module/justifi-gross-payment-chart.js +2 -0
- package/dist/module/justifi-header2.js +1 -1
- package/dist/module/justifi-order-terminals.js +3 -1
- package/dist/module/justifi-payment-provisioning.js +2 -0
- package/dist/module/justifi-payment-transactions-list.js +5 -3
- package/dist/module/justifi-payments-list-filters.js +4 -4
- package/dist/module/justifi-payments-list.js +3 -1
- package/dist/module/justifi-payout-details.js +2 -0
- package/dist/module/justifi-payout-transactions-list.js +5 -3
- package/dist/module/justifi-payouts-list-filters.js +4 -4
- package/dist/module/justifi-payouts-list.js +3 -1
- package/dist/module/justifi-refund-payment.js +2 -0
- package/dist/module/justifi-saved-payment-method.js +1 -1
- package/dist/module/justifi-season-interruption-insurance.js +2 -0
- package/dist/module/justifi-skeleton.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +6 -4
- package/dist/module/justifi-terminal-orders-list.js +3 -1
- package/dist/module/justifi-terminals-list-filters.js +4 -2
- package/dist/module/justifi-terminals-list.js +3 -1
- package/dist/module/justifi-tokenize-payment-method.js +1 -1
- package/dist/module/modular-checkout.js +46 -6
- package/dist/module/package.js +1 -1
- package/dist/module/parts.js +4 -1
- package/dist/module/payment-details-core2.js +10 -8
- package/dist/module/payment-method-option.js +1 -1
- package/dist/module/payment.service.js +2 -0
- package/dist/module/payments-list-core2.js +5 -3
- package/dist/module/payout-details-core2.js +3 -3
- package/dist/module/payout.service.js +2 -0
- package/dist/module/payouts-list-core2.js +5 -3
- package/dist/module/plaid.service.js +2 -0
- package/dist/module/product-or-service.js +1 -1
- package/dist/module/refund-policy.js +1 -1
- package/dist/module/save-new-payment-method.js +1 -1
- package/dist/module/shipping-details.js +1 -1
- package/dist/module/summary.js +1 -1
- package/dist/module/table-filters-menu2.js +2 -2
- package/dist/module/table.js +1 -1
- package/dist/module/terminal-orders-list-core2.js +5 -3
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/terminal.service.js +2 -0
- package/dist/module/terminals-list-core2.js +4 -2
- package/dist/module/utils2.js +1 -1
- package/dist/types/api/Checkout.d.ts +5 -0
- package/dist/types/api/GooglePay.d.ts +271 -0
- package/dist/types/api/index.d.ts +2 -0
- package/dist/types/api/services/google-pay.service.d.ts +60 -0
- package/dist/types/components/checkout/checkout.d.ts +1 -0
- package/dist/types/components/checkouts-list/checkouts-list-filters.d.ts +5 -0
- package/dist/types/components/modular-checkout/ModularCheckout.d.ts +2 -1
- package/dist/types/components/modular-checkout/modular-checkout.d.ts +5 -0
- package/dist/types/components/modular-checkout/sub-components/google-pay-skeleton.d.ts +6 -0
- package/dist/types/components/modular-checkout/sub-components/google-pay.d.ts +59 -0
- package/dist/types/components.d.ts +146 -0
- package/dist/types/store/checkout.store.d.ts +1 -0
- package/dist/types/styles/parts.d.ts +3 -0
- package/dist/types/ui-components/google-pay-button.d.ts +18 -0
- package/dist/webcomponents/index.esm.js +1 -1
- package/dist/webcomponents/p-016b3e4c.entry.js +1 -0
- package/dist/webcomponents/{p-fdcb24aa.entry.js → p-062fcfd5.entry.js} +1 -1
- package/dist/webcomponents/p-06cae9e2.entry.js +1 -0
- package/dist/webcomponents/p-06f81525.entry.js +1 -0
- package/dist/webcomponents/{p-3482ab40.entry.js → p-0b7c4ed5.entry.js} +1 -1
- package/dist/webcomponents/{p-9c7c60f3.entry.js → p-0bb616fc.entry.js} +1 -1
- package/dist/webcomponents/p-1575ca68.entry.js +1 -0
- package/dist/webcomponents/{p-8740871d.entry.js → p-1a327b0e.entry.js} +1 -1
- package/dist/webcomponents/p-1df660a9.entry.js +1 -0
- package/dist/webcomponents/p-1e761d96.entry.js +1 -0
- package/dist/webcomponents/{p-0eb7abed.entry.js → p-20e85114.entry.js} +1 -1
- package/dist/webcomponents/p-262e4b23.entry.js +1 -0
- package/dist/webcomponents/p-296bd0b6.entry.js +1 -0
- package/dist/webcomponents/{p-5490e39c.entry.js → p-368b37ad.entry.js} +1 -1
- package/dist/webcomponents/{p-d41ad7a8.entry.js → p-36a0af30.entry.js} +1 -1
- package/dist/webcomponents/p-3a3935a3.entry.js +1 -0
- package/dist/webcomponents/p-3fb1cf2b.entry.js +1 -0
- package/dist/webcomponents/p-3fbe8ac3.entry.js +1 -0
- package/dist/webcomponents/p-4d2589b2.entry.js +1 -0
- package/dist/webcomponents/p-4dc358aa.entry.js +1 -0
- package/dist/webcomponents/{p-99c1059c.entry.js → p-511e80a4.entry.js} +1 -1
- package/dist/webcomponents/p-5996879d.entry.js +1 -0
- package/dist/webcomponents/p-5a7207c0.entry.js +1 -0
- package/dist/webcomponents/p-5a748e49.entry.js +1 -0
- package/dist/webcomponents/p-5e6f2128.entry.js +1 -0
- package/dist/webcomponents/p-6454626a.entry.js +1 -0
- package/dist/webcomponents/p-66713269.entry.js +1 -0
- package/dist/webcomponents/p-679b36b5.entry.js +1 -0
- package/dist/webcomponents/{p-c9920e22.entry.js → p-725319f3.entry.js} +1 -1
- package/dist/webcomponents/p-77754a65.entry.js +1 -0
- package/dist/webcomponents/p-7bb7aaca.entry.js +1 -0
- package/dist/webcomponents/p-8884e000.entry.js +1 -0
- package/dist/webcomponents/p-88a8741b.entry.js +1 -0
- package/dist/webcomponents/{p-c3a625ec.entry.js → p-897b794b.entry.js} +4 -4
- package/dist/webcomponents/p-899b981b.entry.js +1 -0
- package/dist/webcomponents/p-8c4b502d.entry.js +1 -0
- package/dist/webcomponents/p-8df30672.entry.js +1 -0
- package/dist/webcomponents/p-911b3d63.entry.js +1 -0
- package/dist/webcomponents/p-97b8bf5c.entry.js +1 -0
- package/dist/webcomponents/p-9b74a642.entry.js +1 -0
- package/dist/webcomponents/p-9b8aee30.entry.js +1 -0
- package/dist/webcomponents/p-9e94c9ef.entry.js +1 -0
- package/dist/webcomponents/{p-B69TWr1K.js → p-B4xdk4mG.js} +1 -1
- package/dist/webcomponents/{p-MFnmyvti.js → p-BEu9YFnf.js} +1 -1
- package/dist/webcomponents/{p-gcRtE71H.js → p-BMJe4lzg.js} +1 -1
- package/dist/webcomponents/p-BhqSAzpT.js +1 -0
- package/dist/webcomponents/p-BrRsgB8S.js +1 -0
- package/dist/webcomponents/{p-DUQxAYW4.js → p-C2Senazf.js} +1 -1
- package/dist/webcomponents/p-C9VmfRis.js +1 -0
- package/dist/webcomponents/{p-BDRSfgZJ.js → p-CBbwdoSa.js} +1 -1
- package/dist/webcomponents/{p-C0FpWzgU.js → p-CCxsFwC4.js} +1 -1
- package/dist/webcomponents/p-CK_XkZku.js +1 -0
- package/dist/webcomponents/p-CQGIjIgZ.js +1 -0
- package/dist/webcomponents/{p-Qmo430x1.js → p-CV8xqdt6.js} +1 -1
- package/dist/webcomponents/p-CZ3F1ZAT.js +1 -0
- package/dist/webcomponents/p-CgiDds_u.js +1 -0
- package/dist/webcomponents/p-CsgUIrv8.js +1 -0
- package/dist/webcomponents/{p-BIzMmHpn.js → p-D6bKoyRc.js} +1 -1
- package/dist/webcomponents/{p-E8uzhk39.js → p-DATDsXcA.js} +1 -1
- package/dist/webcomponents/{p-H_emngUs.js → p-DGGjRqDa.js} +1 -1
- package/dist/webcomponents/{p-CJ4viNrp.js → p-DUmUUj9r.js} +1 -1
- package/dist/webcomponents/p-DY_3dcgR.js +1 -0
- package/dist/webcomponents/{p-DircQtPA.js → p-Dit3fZpU.js} +1 -1
- package/dist/webcomponents/p-DkoufM1t.js +1 -0
- package/dist/webcomponents/{p-DcHTywGe.js → p-Dlrq1iZf.js} +1 -1
- package/dist/webcomponents/p-DmdEjScI.js +1 -0
- package/dist/webcomponents/p-Dr8Z8wfP.js +1 -0
- package/dist/webcomponents/p-RTAZ4tdd.js +1 -0
- package/dist/webcomponents/p-Ty7R7tsw.js +1 -0
- package/dist/webcomponents/{p-CYz0Hubu.js → p-U3nU15el.js} +1 -1
- package/dist/webcomponents/{p-CjfgyxBN.js → p-VRubcA-q.js} +1 -1
- package/dist/webcomponents/{p-KS3Bf_2D.js → p-W9WWoLzT.js} +1 -1
- package/dist/webcomponents/p-a0b4c42b.entry.js +1 -0
- package/dist/webcomponents/p-abcb4945.entry.js +1 -0
- package/dist/webcomponents/p-ad3a73af.entry.js +1 -0
- package/dist/webcomponents/p-b0f0d53c.entry.js +1 -0
- package/dist/webcomponents/p-c8a5a2a9.entry.js +1 -0
- package/dist/webcomponents/p-c920dc54.entry.js +1 -0
- package/dist/webcomponents/p-ca0d1c6c.entry.js +1 -0
- package/dist/webcomponents/p-cbd52897.entry.js +1 -0
- package/dist/webcomponents/p-cc0c722c.entry.js +1 -0
- package/dist/webcomponents/p-cc2a1c7c.entry.js +1 -0
- package/dist/webcomponents/{p-b31bf32a.entry.js → p-cdf1e61c.entry.js} +1 -1
- package/dist/webcomponents/p-cf644e46.entry.js +1 -0
- package/dist/webcomponents/{p-d79f9a54.entry.js → p-d0c4b0ea.entry.js} +1 -1
- package/dist/webcomponents/p-d5765545.entry.js +1 -0
- package/dist/webcomponents/p-def84700.entry.js +1 -0
- package/dist/webcomponents/p-e2d33311.entry.js +1 -0
- package/dist/webcomponents/{p-dd0c456f.entry.js → p-e4335938.entry.js} +1 -1
- package/dist/webcomponents/{p-c8bd7e0d.entry.js → p-e805b011.entry.js} +1 -1
- package/dist/webcomponents/p-f30c939f.entry.js +1 -0
- package/dist/webcomponents/{p-50308873.entry.js → p-f99403d8.entry.js} +1 -1
- package/dist/webcomponents/p-fb644da6.entry.js +1 -0
- package/dist/webcomponents/p-fc4b27ec.entry.js +1 -0
- package/dist/webcomponents/p-fe43449c.entry.js +1 -0
- package/dist/webcomponents/p-sA8HBfkI.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/checkout.store-BA6h-dp2.js +0 -107
- package/dist/esm/checkout.store-CaS_htQd.js +0 -101
- package/dist/webcomponents/p-0867547d.entry.js +0 -1
- package/dist/webcomponents/p-091d6a7e.entry.js +0 -1
- package/dist/webcomponents/p-0d4bea62.entry.js +0 -1
- package/dist/webcomponents/p-1634262a.entry.js +0 -1
- package/dist/webcomponents/p-1a4d0ad6.entry.js +0 -1
- package/dist/webcomponents/p-25e3cb85.entry.js +0 -1
- package/dist/webcomponents/p-278988e8.entry.js +0 -1
- package/dist/webcomponents/p-3b5a9e94.entry.js +0 -1
- package/dist/webcomponents/p-44efe4ca.entry.js +0 -1
- package/dist/webcomponents/p-49a0ef9d.entry.js +0 -1
- package/dist/webcomponents/p-4bff1285.entry.js +0 -1
- package/dist/webcomponents/p-4d87be74.entry.js +0 -1
- package/dist/webcomponents/p-51107c8f.entry.js +0 -1
- package/dist/webcomponents/p-51d7b9f7.entry.js +0 -1
- package/dist/webcomponents/p-5c60ba00.entry.js +0 -1
- package/dist/webcomponents/p-5d56a293.entry.js +0 -1
- package/dist/webcomponents/p-654d91d7.entry.js +0 -1
- package/dist/webcomponents/p-68c2ce90.entry.js +0 -1
- package/dist/webcomponents/p-69b0be17.entry.js +0 -1
- package/dist/webcomponents/p-6e99cd4c.entry.js +0 -1
- package/dist/webcomponents/p-7e4bfba1.entry.js +0 -1
- package/dist/webcomponents/p-87d23cf8.entry.js +0 -1
- package/dist/webcomponents/p-9065f077.entry.js +0 -1
- package/dist/webcomponents/p-908f6b79.entry.js +0 -1
- package/dist/webcomponents/p-93d98b07.entry.js +0 -1
- package/dist/webcomponents/p-94b2d6a1.entry.js +0 -1
- package/dist/webcomponents/p-980db13b.entry.js +0 -1
- package/dist/webcomponents/p-B10U2_Sw.js +0 -1
- package/dist/webcomponents/p-BqXh8qSb.js +0 -1
- package/dist/webcomponents/p-CA9okQxT.js +0 -1
- package/dist/webcomponents/p-CMTxbXEr.js +0 -1
- package/dist/webcomponents/p-CdVle3mx.js +0 -1
- package/dist/webcomponents/p-CiMKKjGV.js +0 -1
- package/dist/webcomponents/p-CjxyejYl.js +0 -1
- package/dist/webcomponents/p-CpP3EZBK.js +0 -1
- package/dist/webcomponents/p-DCIW8z1f.js +0 -1
- package/dist/webcomponents/p-DQKNMVh7.js +0 -1
- package/dist/webcomponents/p-DU8dqq9U.js +0 -1
- package/dist/webcomponents/p-Dp2W4Eq3.js +0 -1
- package/dist/webcomponents/p-GenVH2BR.js +0 -1
- package/dist/webcomponents/p-InCWAej0.js +0 -1
- package/dist/webcomponents/p-QmGrQis7.js +0 -1
- package/dist/webcomponents/p-VodztElu.js +0 -1
- package/dist/webcomponents/p-a4a647bd.entry.js +0 -1
- package/dist/webcomponents/p-abcbfb22.entry.js +0 -1
- package/dist/webcomponents/p-af29e819.entry.js +0 -1
- package/dist/webcomponents/p-b6286d7b.entry.js +0 -1
- package/dist/webcomponents/p-b8c816fe.entry.js +0 -1
- package/dist/webcomponents/p-bcec4201.entry.js +0 -1
- package/dist/webcomponents/p-c6ee5aa7.entry.js +0 -1
- package/dist/webcomponents/p-c900ccca.entry.js +0 -1
- package/dist/webcomponents/p-ca3733e5.entry.js +0 -1
- package/dist/webcomponents/p-cb61af93.entry.js +0 -1
- package/dist/webcomponents/p-d29ce58e.entry.js +0 -1
- package/dist/webcomponents/p-d34f5a20.entry.js +0 -1
- package/dist/webcomponents/p-d8ec7cfc.entry.js +0 -1
- package/dist/webcomponents/p-dda50611.entry.js +0 -1
- package/dist/webcomponents/p-df7e2530.entry.js +0 -1
- package/dist/webcomponents/p-e4a43e31.entry.js +0 -1
- package/dist/webcomponents/p-ea75759b.entry.js +0 -1
- package/dist/webcomponents/p-edcb6de1.entry.js +0 -1
- package/dist/webcomponents/p-faaba66d.entry.js +0 -1
- package/dist/webcomponents/p-fc680b08.entry.js +0 -1
- package/dist/webcomponents/p-fcaaed23.entry.js +0 -1
- package/dist/webcomponents/p-fefc4dea.entry.js +0 -1
- package/dist/webcomponents/p-ff1bc3de.entry.js +0 -1
|
@@ -4,6 +4,8 @@ import './dinero.js';
|
|
|
4
4
|
import { n as PayoutBalanceTransaction, a as ComponentErrorSeverity, C as ComponentErrorCodes } from './Refund.js';
|
|
5
5
|
import { p as pagingDefaults } from './Pagination.js';
|
|
6
6
|
import './Business.js';
|
|
7
|
+
import './ApplePay.js';
|
|
8
|
+
import './GooglePay.js';
|
|
7
9
|
import { c as checkPkgVersion, J as JustifiAnalytics } from './Analytics.js';
|
|
8
10
|
import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
|
|
9
11
|
import { P as PayoutService } from './payout.service.js';
|
|
@@ -12,8 +14,8 @@ import { S as StyledHost } from './styled-host.js';
|
|
|
12
14
|
import './details.js';
|
|
13
15
|
import { T as TableClickActions } from './event-types.js';
|
|
14
16
|
import './justifi-radio-list-item2.js';
|
|
15
|
-
import {
|
|
16
|
-
import { w as tableHeadCell,
|
|
17
|
+
import { e as convertToLocal } from './utils2.js';
|
|
18
|
+
import { w as tableHeadCell, ac as getAlternateTableCellPart } from './parts.js';
|
|
17
19
|
import { d as defineCustomElement$2 } from './pagination-menu2.js';
|
|
18
20
|
|
|
19
21
|
const makeGetPayoutTransactions = ({ accountId, authToken, service }) => async ({ params, onSuccess, onError, final }) => {
|
|
@@ -186,7 +188,7 @@ const PayoutTransactionsList = /*@__PURE__*/ proxyCustomElement(class PayoutTran
|
|
|
186
188
|
return Object.assign({ payout_id: this.payoutId, limit: '15' }, this.pagingParams);
|
|
187
189
|
}
|
|
188
190
|
render() {
|
|
189
|
-
return (h(StyledHost, { key: '
|
|
191
|
+
return (h(StyledHost, { key: '8c59c0783d3d77d1e4101ee52cf1df932f35c436' }, h(TableWrapper, { key: 'c1c05be0dc6e1aff5874777f57c961e65d484463' }, h(TableComponent, { key: '3ac2ed7f128d96443ba47a33628012c380ee3cc8' }, h(TableHead, { key: '01ad306c5c2336ef70b6de8df8afe11e4aaea853' }, h(TableHeadRow, { key: 'e7df4606ff90f549c6909ce62869be064cf65e44' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: '01e49a1b4a04028c133079aee90a1ab75c69debf' }, h(TableLoadingState, { key: '73ff57f00ad0b36bc20ce25c191f2a59b9412984', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: '43deaa2102856c17bdc990847e4246b5cba33aa4', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: 'c0096e0dd83a313e54df516a4959172edb2bf9a2', 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: '0c337d21c169b74123afe93432bb70059d7c20f4' }, h(TableFootRow, { key: '736325de92a1462dea67950c2a15a54906894bab' }, h(TableFootCell, { key: 'd71681536976869a146417945d461da154d7364b', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: '2f3d4d05a5522c0ac4314ee15f5083bc919e0164', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
190
192
|
}
|
|
191
193
|
static get watchers() { return {
|
|
192
194
|
"pagingParams": ["propChanged"],
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { f as filterParams, p as propsParams, c as clearParams } from './payouts-list-params-state.js';
|
|
3
|
-
import {
|
|
3
|
+
import { aj as payoutsListFilterMenu, ak as createdAfterPayoutsListFilterParam, al as createdBeforePayoutsListFilterParam } from './parts.js';
|
|
4
4
|
import { S as StyledHost } from './styled-host.js';
|
|
5
5
|
import './details.js';
|
|
6
6
|
import './event-types.js';
|
|
7
7
|
import './justifi-radio-list-item2.js';
|
|
8
|
-
import {
|
|
8
|
+
import { d as convertToUTC, e as convertToLocal } from './utils2.js';
|
|
9
9
|
import { d as defineCustomElement$5 } from './custom-popper2.js';
|
|
10
10
|
import { d as defineCustomElement$4 } from './form-control-date2.js';
|
|
11
11
|
import { d as defineCustomElement$3 } from './form-control-tooltip2.js';
|
|
@@ -39,8 +39,8 @@ const PayoutsListFilters = /*@__PURE__*/ proxyCustomElement(class PayoutsListFil
|
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
41
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
42
|
-
return (h(StyledHost, { key: '
|
|
43
|
-
convertToLocal(filterParams.created_after, { showInputDate: true }), disabled: !!this.createdAfter, part: createdAfterPayoutsListFilterParam })), h("div", { key: '
|
|
42
|
+
return (h(StyledHost, { key: '7f37e9cde5eab98ae5e0ebda4fda8ac005791582' }, h("table-filters-menu", { key: '001f50ef209ca65ae239bec69fec1ed1be2d1536', params: filterMenuParams, clearParams: clearParams, part: payoutsListFilterMenu }, h("div", { key: '21b4b97154ff4db17147ae8978477581920735dc', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '743396fc70115e61e0e77f76adc67a31a2a2cbc8', class: "p-2" }, h("form-control-date", { key: '24f18be15d2b566c2807abfe8b4eb2800318c51a', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDate: true }) ||
|
|
43
|
+
convertToLocal(filterParams.created_after, { showInputDate: true }), disabled: !!this.createdAfter, part: createdAfterPayoutsListFilterParam })), h("div", { key: '89bb4799afb2d1be13989cf63448a799bf547201', class: "p-2" }, h("form-control-date", { key: '04d707521a42f397839a5159b0211a4569f5bd80', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDate: true }) ||
|
|
44
44
|
convertToLocal(filterParams.created_before, { showInputDate: true }), disabled: !!this.createdBefore, part: createdBeforePayoutsListFilterParam }))))));
|
|
45
45
|
}
|
|
46
46
|
}, [257, "justifi-payouts-list-filters", {
|
|
@@ -6,6 +6,8 @@ import './config-state.js';
|
|
|
6
6
|
import './dinero.js';
|
|
7
7
|
import './Pagination.js';
|
|
8
8
|
import './Business.js';
|
|
9
|
+
import './ApplePay.js';
|
|
10
|
+
import './GooglePay.js';
|
|
9
11
|
import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
|
|
10
12
|
import { m as makeGetPayoutCSV } from './get-payout-csv.js';
|
|
11
13
|
import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts.js';
|
|
@@ -106,7 +108,7 @@ const PayoutsList = /*@__PURE__*/ proxyCustomElement(class PayoutsList extends H
|
|
|
106
108
|
}
|
|
107
109
|
}
|
|
108
110
|
render() {
|
|
109
|
-
return (h(StyledHost, { key: '
|
|
111
|
+
return (h(StyledHost, { key: '767b8a3f2407435d86766c1ea947f406246a001d' }, h("payouts-list-core", { key: '4e579cf8e2049033bc554319178b42511b164573', getPayouts: this.getPayouts, getPayoutCSV: this.getPayoutCSV, getSubAccounts: this.getSubAccounts, "onError-event": this.handleOnError, columns: this.columns })));
|
|
110
112
|
}
|
|
111
113
|
static get watchers() { return {
|
|
112
114
|
"accountId": ["propChanged"],
|
|
@@ -5,6 +5,8 @@ import './config-state.js';
|
|
|
5
5
|
import { R as RefundReasons, a as ComponentErrorSeverity, C as ComponentErrorCodes, q as RefundPayload } from './Refund.js';
|
|
6
6
|
import './Pagination.js';
|
|
7
7
|
import './Business.js';
|
|
8
|
+
import './ApplePay.js';
|
|
9
|
+
import './GooglePay.js';
|
|
8
10
|
import { B as Button } from './button.js';
|
|
9
11
|
import { S as StyledHost } from './styled-host.js';
|
|
10
12
|
import './details.js';
|
|
@@ -26,7 +26,7 @@ const SavedPaymentMethod = /*@__PURE__*/ proxyCustomElement(class SavedPaymentMe
|
|
|
26
26
|
;
|
|
27
27
|
render() {
|
|
28
28
|
var _a, _b, _c;
|
|
29
|
-
return (h(Host, { key: '
|
|
29
|
+
return (h(Host, { key: 'feeb934714fe00e87f6c89ec3954dafebef81733', class: "payment-method" }, h("div", { key: '62370e3c41538e5a5aed16dc0f2d9056bebc01c0', class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick }, h("form-control-radio", { key: '583aa5751277bb585b6b1686d229810d830c8686', name: "paymentMethodType", value: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, checked: this.isSelected, label: `${CardBrandLabels[(_b = this.paymentMethodOption) === null || _b === void 0 ? void 0 : _b.brand] || ''} *${(_c = this.paymentMethodOption) === null || _c === void 0 ? void 0 : _c.acct_last_four}` }))));
|
|
30
30
|
}
|
|
31
31
|
}, [256, "justifi-saved-payment-method", {
|
|
32
32
|
"paymentMethodOption": [16],
|
|
@@ -3,6 +3,8 @@ import { A as Api } from './Api.js';
|
|
|
3
3
|
import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './Refund.js';
|
|
4
4
|
import './Pagination.js';
|
|
5
5
|
import './Business.js';
|
|
6
|
+
import './ApplePay.js';
|
|
7
|
+
import './GooglePay.js';
|
|
6
8
|
import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
|
|
7
9
|
import { c as checkPkgVersion, J as JustifiAnalytics } from './Analytics.js';
|
|
8
10
|
import { c as checkoutStore } from './checkout.store.js';
|
|
@@ -11,7 +11,7 @@ const JustifiSkeleton$1 = /*@__PURE__*/ proxyCustomElement(class JustifiSkeleton
|
|
|
11
11
|
this.__attachShadow();
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(StyledHost, { key: '
|
|
14
|
+
return (h(StyledHost, { key: '2bb7c8b02477b880d0ebefebe37e62573b2a68d3' }, h(Skeleton, { key: '067e503b0e6047b9f14603336cba0112247c2a54', component: this.component, height: this.height, width: this.width, className: this.class, styles: this.customStyle })));
|
|
15
15
|
}
|
|
16
16
|
}, [257, "justifi-skeleton", {
|
|
17
17
|
"component": [1],
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { f as filterParams, p as propsParams, c as clearParams } from './terminal-orders-list-params-state.js';
|
|
3
|
-
import {
|
|
3
|
+
import { am as terminalOrdersListFilterMenu, an as orderStatusTerminalOrdersListFilterParam, ao as orderTypeTerminalOrdersListFilterParam, ap as createdAfterTerminalOrdersListFilterParam, aq as createdBeforeTerminalOrdersListFilterParam } from './parts.js';
|
|
4
4
|
import { S as StyledHost } from './styled-host.js';
|
|
5
5
|
import './details.js';
|
|
6
6
|
import './event-types.js';
|
|
7
7
|
import './justifi-radio-list-item2.js';
|
|
8
8
|
import './config-state.js';
|
|
9
|
-
import {
|
|
9
|
+
import { d as convertToUTC, e as convertToLocal } from './utils2.js';
|
|
10
10
|
import { T as TerminalOrderStatus, f as TerminalOrderType } from './Refund.js';
|
|
11
11
|
import './Pagination.js';
|
|
12
12
|
import './Business.js';
|
|
13
|
+
import './ApplePay.js';
|
|
14
|
+
import './GooglePay.js';
|
|
13
15
|
import { d as defineCustomElement$6 } from './custom-popper2.js';
|
|
14
16
|
import { d as defineCustomElement$5 } from './form-control-date2.js';
|
|
15
17
|
import { d as defineCustomElement$4 } from './form-control-select2.js';
|
|
@@ -64,8 +66,8 @@ const TerminalOrdersListFilters = /*@__PURE__*/ proxyCustomElement(class Termina
|
|
|
64
66
|
}
|
|
65
67
|
render() {
|
|
66
68
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
67
|
-
return (h(StyledHost, { key: '
|
|
68
|
-
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterTerminalOrdersListFilterParam })), h("div", { key: '
|
|
69
|
+
return (h(StyledHost, { key: '70418a386030b340813ba6b4015cec977c7ed542' }, h("table-filters-menu", { key: '7ba680b0cc5cccc8fd8de210e8e9bed4b99b8790', params: filterMenuParams, clearParams: clearParams, part: terminalOrdersListFilterMenu }, h("div", { key: '2c4da0d02234051d3b48724d359f5c74c913bbf7', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: 'ad35b10dba39d2acf44eb078cf616d73815a258c', class: "p-2" }, h("form-control-select", { key: '9674d6da3301cd66562effa5aa062b004db4715c', name: "order_status", label: "Order Status", options: this.terminalOrderStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.orderStatus || filterParams.order_status || '', disabled: !!this.orderStatus, part: orderStatusTerminalOrdersListFilterParam })), h("div", { key: 'f94a308a3af71a8982ce120f2a3a532431473dcb', class: "p-2" }, h("form-control-select", { key: '295de18dd0af6229fff627cb3236dfdb1635b693', name: "order_type", label: "Order Type", options: this.terminalOrderTypeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.orderType || filterParams.order_type || '', disabled: !!this.orderType, part: orderTypeTerminalOrdersListFilterParam })), h("div", { key: 'eb9b7a1fe7454722b38c9bb989b4f702bf7ae8af', class: "p-2" }, h("form-control-date", { key: '9d616f29de5b6dfb32abba8249d21986ba7ba4e8', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
|
|
70
|
+
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterTerminalOrdersListFilterParam })), h("div", { key: 'f1e6fbb2147d0ec7e446dcef704c2f347ed21efa', class: "p-2" }, h("form-control-date", { key: 'c49dc4cff66936c2a943771658f57200c825a168', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
|
|
69
71
|
convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: createdBeforeTerminalOrdersListFilterParam }))))));
|
|
70
72
|
}
|
|
71
73
|
}, [257, "justifi-terminal-orders-list-filters", {
|
|
@@ -10,6 +10,8 @@ import './dinero.js';
|
|
|
10
10
|
import { o as TerminalOrder, a as ComponentErrorSeverity, C as ComponentErrorCodes } from './Refund.js';
|
|
11
11
|
import './Pagination.js';
|
|
12
12
|
import './Business.js';
|
|
13
|
+
import './ApplePay.js';
|
|
14
|
+
import './GooglePay.js';
|
|
13
15
|
import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
|
|
14
16
|
import { A as Api } from './Api.js';
|
|
15
17
|
import { d as defineCustomElement$3 } from './pagination-menu2.js';
|
|
@@ -98,7 +100,7 @@ const TerminalOrdersList = /*@__PURE__*/ proxyCustomElement(class TerminalOrders
|
|
|
98
100
|
}
|
|
99
101
|
}
|
|
100
102
|
render() {
|
|
101
|
-
return (h(StyledHost, { key: '
|
|
103
|
+
return (h(StyledHost, { key: 'ff51026cc99afbe51442832292c46053ad0c538a' }, h("terminal-orders-list-core", { key: 'c99fe72d7ab55b4560b4af08b1152cec7a8d663b', getTerminalOrders: this.getTerminalOrders, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
102
104
|
}
|
|
103
105
|
}, [257, "justifi-terminal-orders-list", {
|
|
104
106
|
"accountId": [1, "account-id"],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { l as lodashExports } from './lodash.js';
|
|
3
3
|
import { f as filterParams, p as propsParams, c as clearParams } from './terminals-list-params-state.js';
|
|
4
|
-
import {
|
|
4
|
+
import { ar as terminalsListFilterMenu, as as terminalIdTerminalsListFilterParam, at as terminalOrderIdTerminalsListFilterParam, au as terminalStatusTerminalsListFilterParam } from './parts.js';
|
|
5
5
|
import { S as StyledHost } from './styled-host.js';
|
|
6
6
|
import './details.js';
|
|
7
7
|
import './event-types.js';
|
|
@@ -11,6 +11,8 @@ import './dinero.js';
|
|
|
11
11
|
import { g as ITerminalStatus } from './Refund.js';
|
|
12
12
|
import './Pagination.js';
|
|
13
13
|
import './Business.js';
|
|
14
|
+
import './ApplePay.js';
|
|
15
|
+
import './GooglePay.js';
|
|
14
16
|
import { d as defineCustomElement$6 } from './custom-popper2.js';
|
|
15
17
|
import { d as defineCustomElement$5 } from './form-control-select2.js';
|
|
16
18
|
import { d as defineCustomElement$4 } from './form-control-text2.js';
|
|
@@ -54,7 +56,7 @@ const TerminalsListFilters = /*@__PURE__*/ proxyCustomElement(class TerminalsLis
|
|
|
54
56
|
}
|
|
55
57
|
render() {
|
|
56
58
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
57
|
-
return (h(StyledHost, { key: '
|
|
59
|
+
return (h(StyledHost, { key: '7c585aa8a485f4149ae02c4140e31095410dd9c8' }, h("table-filters-menu", { key: 'e1c2942e51ebf395887121618daef8ca18d2dd40', params: filterMenuParams, clearParams: clearParams, part: terminalsListFilterMenu }, h("div", { key: 'f74518d5d7ad56059eb6c0ab02a3616e16c1550c', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: 'ae16ebe09430d29a8ca2c46dbb3d05feec008989', class: "p-2" }, h("form-control-text", { key: '9d7fc72298a0f7fa1b7fa342bcaa0e345a1bfd88', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: terminalIdTerminalsListFilterParam })), h("div", { key: 'adc78c533b4ff9ba0c8ae3ea5b6704953633c6fc', class: "p-2" }, h("form-control-text", { key: '4ef8c16fcdce029b2701deed5638cbbad89746b5', name: "terminal_order_id", label: "Terminal Order ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalOrderId || filterParams.terminal_order_id, disabled: !!this.terminalOrderId, part: terminalOrderIdTerminalsListFilterParam })), h("div", { key: 'd27c793b20fc5ff8b6ec8a08457e9cd6e9640604', class: "p-2" }, h("form-control-select", { key: '850a1b21e667fe1e1ec79051909d153a7a19c5cb', name: "status", label: "Status", options: this.terminalStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.terminalStatus || filterParams.status || '', disabled: !!this.terminalStatus, part: terminalStatusTerminalsListFilterParam }))))));
|
|
58
60
|
}
|
|
59
61
|
}, [257, "justifi-terminals-list-filters", {
|
|
60
62
|
"terminalId": [1, "terminal-id"],
|
|
@@ -6,6 +6,8 @@ import './config-state.js';
|
|
|
6
6
|
import './dinero.js';
|
|
7
7
|
import './Pagination.js';
|
|
8
8
|
import './Business.js';
|
|
9
|
+
import './ApplePay.js';
|
|
10
|
+
import './GooglePay.js';
|
|
9
11
|
import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
|
|
10
12
|
import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts.js';
|
|
11
13
|
import { S as StyledHost } from './styled-host.js';
|
|
@@ -103,7 +105,7 @@ const TerminalsList = /*@__PURE__*/ proxyCustomElement(class TerminalsList exten
|
|
|
103
105
|
}
|
|
104
106
|
}
|
|
105
107
|
render() {
|
|
106
|
-
return (h(StyledHost, { key: '
|
|
108
|
+
return (h(StyledHost, { key: '9bf1797fc21c7fdf2b58aedab5819513338e714b' }, h("terminals-list-core", { key: '46c5f5cc5a436d47e4813207cce07d28a4f20ef7', getTerminals: this.getTerminals, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
107
109
|
}
|
|
108
110
|
static get watchers() { return {
|
|
109
111
|
"accountId": ["propChanged"],
|
|
@@ -38,7 +38,7 @@ const TokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class TokenizePay
|
|
|
38
38
|
return this.tokenizePaymentMethodRef.validate();
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
|
-
return (h("internal-tokenize-payment-method", { key: '
|
|
41
|
+
return (h("internal-tokenize-payment-method", { key: 'ccbe4443b3e88f221eb828cae14450c5ea8dc172', ref: (el) => this.tokenizePaymentMethodRef = el, authToken: this.authToken, accountId: this.accountId, disableCreditCard: this.disableCreditCard, disableBankAccount: this.disableBankAccount, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, hideSubmitButton: this.hideSubmitButton, paymentMethodGroupId: this.paymentMethodGroupId }));
|
|
42
42
|
}
|
|
43
43
|
}, [257, "justifi-tokenize-payment-method", {
|
|
44
44
|
"accountId": [1, "account-id"],
|
|
@@ -6,6 +6,8 @@ import './dinero.js';
|
|
|
6
6
|
import { a as ComponentErrorSeverity, C as ComponentErrorCodes, c as ComponentErrorMessages, I as ICheckoutStatus } from './Refund.js';
|
|
7
7
|
import './Pagination.js';
|
|
8
8
|
import './Business.js';
|
|
9
|
+
import './ApplePay.js';
|
|
10
|
+
import './GooglePay.js';
|
|
9
11
|
import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
|
|
10
12
|
import { C as CheckoutService } from './checkout.service.js';
|
|
11
13
|
import { P as PlaidService } from './plaid.service.js';
|
|
@@ -77,6 +79,25 @@ const ModularCheckout = /*@__PURE__*/ proxyCustomElement(class ModularCheckout e
|
|
|
77
79
|
this.submitEvent = createEvent(this, "submit-event", 7);
|
|
78
80
|
this.checkoutChangedEvent = createEvent(this, "checkout-changed", 7);
|
|
79
81
|
this.plaidService = new PlaidService();
|
|
82
|
+
this.handleGooglePayCompleted = (event) => {
|
|
83
|
+
const { success, paymentMethodId, error } = event.detail || {};
|
|
84
|
+
if (success && paymentMethodId) {
|
|
85
|
+
checkoutStore.paymentToken = paymentMethodId;
|
|
86
|
+
checkoutStore.selectedPaymentMethod = { type: PAYMENT_METHODS.GOOGLE_PAY };
|
|
87
|
+
this.submitCheckout();
|
|
88
|
+
}
|
|
89
|
+
else {
|
|
90
|
+
this.errorEvent.emit({
|
|
91
|
+
message: (error && error.message) || "Google Pay payment failed",
|
|
92
|
+
errorCode: ComponentErrorCodes.TOKENIZE_ERROR,
|
|
93
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
this.handleGooglePayCancelled = () => {
|
|
98
|
+
checkoutStore.paymentToken = undefined;
|
|
99
|
+
checkoutStore.selectedPaymentMethod = undefined;
|
|
100
|
+
};
|
|
80
101
|
this.handleApplePayCompleted = (event) => {
|
|
81
102
|
const { success, token, paymentMethodId, error } = event.detail;
|
|
82
103
|
if (success && token) {
|
|
@@ -112,6 +133,7 @@ const ModularCheckout = /*@__PURE__*/ proxyCustomElement(class ModularCheckout e
|
|
|
112
133
|
this.observer = new MutationObserver(() => {
|
|
113
134
|
this.queryFormRefs();
|
|
114
135
|
this.setupApplePayListeners(); // set up again listeners when DOM changes
|
|
136
|
+
this.setupGooglePayListeners();
|
|
115
137
|
});
|
|
116
138
|
this.observer.observe(this.hostEl, {
|
|
117
139
|
childList: true,
|
|
@@ -146,11 +168,13 @@ const ModularCheckout = /*@__PURE__*/ proxyCustomElement(class ModularCheckout e
|
|
|
146
168
|
componentDidLoad() {
|
|
147
169
|
this.queryFormRefs();
|
|
148
170
|
this.setupApplePayListeners();
|
|
171
|
+
this.setupGooglePayListeners();
|
|
149
172
|
}
|
|
150
173
|
disconnectedCallback() {
|
|
151
174
|
var _a;
|
|
152
175
|
(_a = this.observer) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
153
176
|
this.removeApplePayListeners();
|
|
177
|
+
this.removeGooglePayListeners();
|
|
154
178
|
}
|
|
155
179
|
fetchCheckout() {
|
|
156
180
|
if (!this.authToken || !this.checkoutId) {
|
|
@@ -193,7 +217,7 @@ const ModularCheckout = /*@__PURE__*/ proxyCustomElement(class ModularCheckout e
|
|
|
193
217
|
}
|
|
194
218
|
}
|
|
195
219
|
updateStore(checkout) {
|
|
196
|
-
var _a, _b, _c, _d, _e, _f;
|
|
220
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
197
221
|
checkoutStore.accountId = checkout.account_id;
|
|
198
222
|
checkoutStore.checkoutLoaded = true;
|
|
199
223
|
checkoutStore.paymentMethods = checkout.payment_methods.map((paymentMethod) => new PaymentMethod(paymentMethod));
|
|
@@ -205,11 +229,12 @@ const ModularCheckout = /*@__PURE__*/ proxyCustomElement(class ModularCheckout e
|
|
|
205
229
|
checkoutStore.insuranceEnabled = checkout.payment_settings.insurance_payments;
|
|
206
230
|
checkoutStore.bankAccountVerification = (_a = checkout.payment_settings) === null || _a === void 0 ? void 0 : _a.bank_account_verification;
|
|
207
231
|
checkoutStore.applePayEnabled = (_b = checkout.payment_settings) === null || _b === void 0 ? void 0 : _b.apple_payments;
|
|
208
|
-
checkoutStore.
|
|
209
|
-
checkoutStore.
|
|
210
|
-
checkoutStore.
|
|
232
|
+
checkoutStore.googlePayEnabled = (_c = checkout.payment_settings) === null || _c === void 0 ? void 0 : _c.google_payments;
|
|
233
|
+
checkoutStore.bnplProviderClientId = (_d = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _d === void 0 ? void 0 : _d.provider_client_id;
|
|
234
|
+
checkoutStore.bnplProviderMode = (_e = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _e === void 0 ? void 0 : _e.provider_mode;
|
|
235
|
+
checkoutStore.bnplProviderApiVersion = (_f = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _f === void 0 ? void 0 : _f.provider_api_version;
|
|
211
236
|
checkoutStore.bnplProviderCheckoutUrl =
|
|
212
|
-
(
|
|
237
|
+
(_g = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _g === void 0 ? void 0 : _g.provider_checkout_url;
|
|
213
238
|
}
|
|
214
239
|
emitCheckoutChanged() {
|
|
215
240
|
const detail = {
|
|
@@ -222,6 +247,7 @@ const ModularCheckout = /*@__PURE__*/ proxyCustomElement(class ModularCheckout e
|
|
|
222
247
|
queryFormRefs() {
|
|
223
248
|
this.billingFormRef = this.hostEl.querySelector("justifi-billing-form, justifi-bank-account-billing-form-simple, justifi-card-billing-form-simple, justifi-billing-form-full");
|
|
224
249
|
this.applePayRef = this.hostEl.querySelector("justifi-apple-pay");
|
|
250
|
+
this.googlePayRef = this.hostEl.querySelector("justifi-google-pay");
|
|
225
251
|
this.paymentMethodFormRef =
|
|
226
252
|
this.hostEl.querySelector('justifi-card-form, justifi-bank-account-form, justifi-tokenize-payment-method');
|
|
227
253
|
this.insuranceFormRef = this.hostEl.querySelector('justifi-season-interruption-insurance');
|
|
@@ -240,6 +266,18 @@ const ModularCheckout = /*@__PURE__*/ proxyCustomElement(class ModularCheckout e
|
|
|
240
266
|
this.applePayRef.removeEventListener("applePayCancelled", this.handleApplePayCancelled);
|
|
241
267
|
}
|
|
242
268
|
}
|
|
269
|
+
setupGooglePayListeners() {
|
|
270
|
+
if (this.googlePayRef) {
|
|
271
|
+
this.googlePayRef.addEventListener("googlePayCompleted", this.handleGooglePayCompleted);
|
|
272
|
+
this.googlePayRef.addEventListener("googlePayCancelled", this.handleGooglePayCancelled);
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
removeGooglePayListeners() {
|
|
276
|
+
if (this.googlePayRef) {
|
|
277
|
+
this.googlePayRef.removeEventListener("googlePayCompleted", this.handleGooglePayCompleted);
|
|
278
|
+
this.googlePayRef.removeEventListener("googlePayCancelled", this.handleGooglePayCancelled);
|
|
279
|
+
}
|
|
280
|
+
}
|
|
243
281
|
async tokenizePaymentMethod(tokenizeArgs) {
|
|
244
282
|
var _a, _b, _c;
|
|
245
283
|
const billingInfoValues = (_b = (await ((_a = this.billingFormRef) === null || _a === void 0 ? void 0 : _a.getValues()))) !== null && _b !== void 0 ? _b : {};
|
|
@@ -394,6 +432,8 @@ const ModularCheckout = /*@__PURE__*/ proxyCustomElement(class ModularCheckout e
|
|
|
394
432
|
return PAYMENT_MODE.BNPL;
|
|
395
433
|
case PAYMENT_METHODS.APPLE_PAY:
|
|
396
434
|
return PAYMENT_MODE.APPLE_PAY;
|
|
435
|
+
case PAYMENT_METHODS.GOOGLE_PAY:
|
|
436
|
+
return PAYMENT_MODE.GOOGLE_PAY;
|
|
397
437
|
default:
|
|
398
438
|
return undefined;
|
|
399
439
|
}
|
|
@@ -431,7 +471,7 @@ const ModularCheckout = /*@__PURE__*/ proxyCustomElement(class ModularCheckout e
|
|
|
431
471
|
});
|
|
432
472
|
}
|
|
433
473
|
render() {
|
|
434
|
-
return h(Host, { key: '
|
|
474
|
+
return h(Host, { key: 'e771926ee79c47b09145bd44b47cbba3c21be3eb' });
|
|
435
475
|
}
|
|
436
476
|
get hostEl() { return this; }
|
|
437
477
|
}, [256, "justifi-modular-checkout", {
|
package/dist/module/package.js
CHANGED
package/dist/module/parts.js
CHANGED
|
@@ -115,6 +115,9 @@ const checkoutsListFilterMenu = `${filterMenu} checkouts-list-filter-menu`;
|
|
|
115
115
|
const checkoutsListFilterParam = `checkouts-list-filter-param`;
|
|
116
116
|
const statusCheckoutsListFilterParam = `${checkoutsListFilterParam} checkout-status-checkouts-list-filter-param`;
|
|
117
117
|
const paymentModeCheckoutsListFilterParam = `${checkoutsListFilterParam} payment-mode-checkouts-list-filter-param`;
|
|
118
|
+
const checkoutIdCheckoutsListFilterParam = `${checkoutsListFilterParam} checkout-id-checkouts-list-filter-param`;
|
|
119
|
+
const createdAfterCheckoutsListFilterParam = `${checkoutsListFilterParam} created-after-checkouts-list-filter-param`;
|
|
120
|
+
const createdBeforeCheckoutsListFilterParam = `${checkoutsListFilterParam} created-before-checkouts-list-filter-param`;
|
|
118
121
|
// Terminals List Filters
|
|
119
122
|
const terminalsListFilterMenu = `${filterMenu} terminals-list-filter-menu`;
|
|
120
123
|
const terminalsListFilterParam = `terminals-list-filter-param`;
|
|
@@ -129,4 +132,4 @@ const orderTypeTerminalOrdersListFilterParam = `${terminalOrdersListFilterParam}
|
|
|
129
132
|
const createdAfterTerminalOrdersListFilterParam = `${terminalOrdersListFilterParam} created-after-terminal-orders-list-filter-param`;
|
|
130
133
|
const createdBeforeTerminalOrdersListFilterParam = `${terminalOrdersListFilterParam} created-before-terminal-orders-list-filter-param`;
|
|
131
134
|
|
|
132
|
-
export { buttonLink as $, paginationButtonIconPrevious as A, paginationButtonText as B, paginationButtonIconNext as C, loadingSpinner as D, badgeDark as E, badgeLight as F, badgeInfo as G, badgeWarning as H, badgeDanger as I, badgeSuccess as J, badgeSecondary as K, badgePrimary as L, badge as M, alertDanger as N, inputCheckboxInvalid as O, inputCheckboxCheckedFocused as P, inputCheckboxFocused as Q, inputCheckboxChecked as R, inputCheckbox as S, inputAdornment as T, inputGroup as U, inputInvalidAndFocused as V, billingForm as W, heading3 as X, buttonSecondary as Y, heading4 as Z, image as _, heading1 as a, buttonPrimary as a0, buttonLoading as a1, heading5 as a2, checkoutSummary as a3, checkoutsListFilterMenu as a4,
|
|
135
|
+
export { buttonLink as $, paginationButtonIconPrevious as A, paginationButtonText as B, paginationButtonIconNext as C, loadingSpinner as D, badgeDark as E, badgeLight as F, badgeInfo as G, badgeWarning as H, badgeDanger as I, badgeSuccess as J, badgeSecondary as K, badgePrimary as L, badge as M, alertDanger as N, inputCheckboxInvalid as O, inputCheckboxCheckedFocused as P, inputCheckboxFocused as Q, inputCheckboxChecked as R, inputCheckbox as S, inputAdornment as T, inputGroup as U, inputInvalidAndFocused as V, billingForm as W, heading3 as X, buttonSecondary as Y, heading4 as Z, image as _, heading1 as a, buttonPrimary as a0, buttonLoading as a1, heading5 as a2, checkoutSummary as a3, checkoutsListFilterMenu as a4, checkoutIdCheckoutsListFilterParam as a5, statusCheckoutsListFilterParam as a6, paymentModeCheckoutsListFilterParam as a7, createdAfterCheckoutsListFilterParam as a8, createdBeforeCheckoutsListFilterParam as a9, tableFootCell as aA, tableEmpty as aB, tableError as aC, dropdownMenuButton as aa, dropdownMenu as ab, getAlternateTableCellPart as ac, paymentsListFilterMenu as ad, paymentIdPaymentsListFilterParam as ae, terminalIdPaymentsListFilterParam as af, paymentStatusPaymentsListFilterParam as ag, createdAfterPaymentsListFilterParam as ah, createdBeforePaymentsListFilterParam as ai, payoutsListFilterMenu as aj, createdAfterPayoutsListFilterParam as ak, createdBeforePayoutsListFilterParam as al, terminalOrdersListFilterMenu as am, orderStatusTerminalOrdersListFilterParam as an, orderTypeTerminalOrdersListFilterParam as ao, createdAfterTerminalOrdersListFilterParam as ap, createdBeforeTerminalOrdersListFilterParam as aq, terminalsListFilterMenu as ar, terminalIdTerminalsListFilterParam as as, terminalOrderIdTerminalsListFilterParam as at, terminalStatusTerminalsListFilterParam as au, tableHead as av, tableHeadRow as aw, tableRow as ax, tableFoot as ay, tableFootRow as az, label as b, inputInvalid as c, inputDisabled as d, inputFocused as e, tooltipIcon as f, tooltip as g, heading2 as h, input as i, tooltipInner as j, textDanger as k, link as l, inputRadioInvalid as m, inputRadioCheckedFocused as n, inputRadioChecked as o, inputRadioFocused as p, inputRadio as q, radioListItem as r, skeleton as s, text as t, card as u, table as v, tableHeadCell as w, tableCell as x, paginationButton as y, paginationButtonDisabled as z };
|
|
@@ -4,6 +4,8 @@ import { a as formatDate, b as formatTime, s as snakeCaseToHumanReadable } from
|
|
|
4
4
|
import { e as PaymentStatuses, b as DisputeStatus } from './Refund.js';
|
|
5
5
|
import './Pagination.js';
|
|
6
6
|
import './Business.js';
|
|
7
|
+
import './ApplePay.js';
|
|
8
|
+
import './GooglePay.js';
|
|
7
9
|
import { P as PaymentStatusBadge, M as MapPaymentStatusToBadge } from './payments-status.js';
|
|
8
10
|
import { E as ErrorState, b as EntityHeadInfo, c as EntityHeadInfoItem, D as DetailSectionTitle, a as DetailItem, C as CodeBlock } from './utils.js';
|
|
9
11
|
import { S as StyledHost } from './styled-host.js';
|
|
@@ -62,16 +64,16 @@ const PaymentDetailsCore = /*@__PURE__*/ proxyCustomElement(class PaymentDetails
|
|
|
62
64
|
return this.payment.status;
|
|
63
65
|
}
|
|
64
66
|
render() {
|
|
65
|
-
return (h(StyledHost, { key: '
|
|
66
|
-
this.payment && (h("justifi-details", { key: '
|
|
67
|
-
h(DetailSectionTitle, { key: '
|
|
68
|
-
h("div", { key: '
|
|
67
|
+
return (h(StyledHost, { key: '897f110cc1e602d25eaed1e4c7ff633761e11f8a' }, this.loading && h(PaymentDetailsLoading, { key: '2390e14caa62f12f4adcfdb50589bf17d854f853' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
|
|
68
|
+
this.payment && (h("justifi-details", { key: 'da4af7a21cc4920dc3b8d72166e0d9710a8e3d14', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '6b72f81416a4d1f4be88660d86d4f7cd178bf7c1', 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: '8335dd749f3dc4224e605ad8f8de0efcb85ac6f1', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payment.updated_at)} ${formatTime(this.payment.updated_at)}` }), h(EntityHeadInfoItem, { key: '7826a2307a07a7c4618c5072de941c92be442919', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payment.created_at)} ${formatTime(this.payment.created_at)}` }), h(EntityHeadInfoItem, { key: 'a9d7dc401d17f3e54c210dc43d575d7aa685cebb', title: "ID", value: this.payment.id })), h("div", { key: '6c8a9d26224eb8908d3f9f0d2481a9b0291ec0e8', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '275233e1c562417f4c62f19d6e486870c75f509e', sectionTitle: "Details" }), h("div", { key: '8b64a27dcf138499d05f1120b52127d056adb3ef', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: '53fd8b67735b9fd79b7e1d0c6889b49d05561d2c', title: "Amount", value: this.payment.formattedPaymentAmount(this.payment.amount) }), h(DetailItem, { key: 'f985817210327ddb08f6995a6bb74749c74ca412', title: "Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: '035ebe3c300b343baf1a6e1358ff360eb5a7ebdc', title: "Refunded", value: this.payment.formattedPaymentAmount(this.payment.amount_refunded) }), h(DetailItem, { key: '5476a76cb3c7f0b4f06c3d0cbc6c2b31c2e6aa30', title: "Net", value: this.payment.formattedPaymentAmount(this.payment.balance) }), h(DetailItem, { key: '93ec44f691a0103760552105b14e63e65d876cc2', title: "Status", value: MapPaymentStatusToBadge(this.PaymentStatus) }), h(DetailItem, { key: 'd25eb1e7c904b4de2e713c7e5a9ac9dfc6932725', title: "Payment ID", value: this.payment.id }), h(DetailItem, { key: '0f79064481e04ee543895b8c5e34b010aa47cf10', title: "Processing Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: 'bfab2390b0828d8186490b929c9208a2174b194e', title: "Statement Descriptor", value: this.payment.statement_descriptor }), h(DetailItem, { key: 'd0bb93f953fa340fbc8cae5a95c8869aa368740c', title: "Description", value: this.payment.description }), h(DetailItem, { key: 'b4e838f2ad05e26e38dfff7d4497a59a18f03515', title: "Expedited", value: this.payment.expedited ? 'Yes' : 'No' })), this.payment.payment_method.card && [
|
|
69
|
+
h(DetailSectionTitle, { key: '1aee93fd414a6b0710ee9123eaa2476e8d9c1b91', sectionTitle: "Payment Method" }),
|
|
70
|
+
h("div", { key: '4af47995db0b4dd4eacb33275304ada1d5f5a614', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: '028460cb83da1828def26a84af5c03aafc69881b', title: "ID", value: this.payment.payment_method.card.id }), h(DetailItem, { key: '6c0108fdc8062a8c97ad4261fb5235d10a255ca1', title: "Payment Type", value: "Card" }), h(DetailItem, { key: '036bb0a94869285ce164c580cf6a51a74f6e6a98', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: '354f34777d3e302aaa42843bd2a473490d54af81', title: "Brand", value: snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), h(DetailItem, { key: 'cb00b1f1197157cd887b32ba045f7c497a0d82f1', title: "Cardholder", value: this.payment.payment_method.payersName }))
|
|
69
71
|
], this.payment.payment_method.bank_account && [
|
|
70
|
-
h(DetailSectionTitle, { key: '
|
|
71
|
-
h("div", { key: '
|
|
72
|
+
h(DetailSectionTitle, { key: 'a3552321a808a9925de285734c3964971ebd1fd0', sectionTitle: "Payment Method" }),
|
|
73
|
+
h("div", { key: '2839e5f7d22262403897030396cc967e699c6004', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: 'a553c56003fd661f070441e0c4cc54e66f755079', title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { key: 'e7ea5f7cac2c0af4c7007aa7e51fb39b8148799c', title: "Last 4 Numbers", value: this.payment.last_four_digits }), h(DetailItem, { key: 'c97b78da4ad5f1ff60febed316cf742d770dd5ca', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { key: 'f6864e9c96af985f2f016c8e0e6da79ee8072f2c', title: "Account Owner", value: this.payment.payment_method.payersName }))
|
|
72
74
|
], this.payment.metadata && [
|
|
73
|
-
h(DetailSectionTitle, { key: '
|
|
74
|
-
h("div", { key: '
|
|
75
|
+
h(DetailSectionTitle, { key: 'f78d841cdcd9ab97b3de6a9d10777f93e0e44606', sectionTitle: 'Metadata' }),
|
|
76
|
+
h("div", { key: '32eb14cbb95287318d1024389c6bf59ceaa2733a', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '9acf835dba75070dac3cdfa4f19ea5f1d13e68a4', metadata: this.payment.metadata }))
|
|
75
77
|
])))));
|
|
76
78
|
}
|
|
77
79
|
static get watchers() { return {
|
|
@@ -16,7 +16,7 @@ const PaymentMethodOption$1 = /*@__PURE__*/ proxyCustomElement(class PaymentMeth
|
|
|
16
16
|
this.__attachShadow();
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (h(StyledHost, { key: '
|
|
19
|
+
return (h(StyledHost, { key: 'def03655a2fec491cdcf915e86ce076fbce3fe2c', class: "payment-method" }, h("div", { key: '774b1eddeb552374158a085152d78f03345a56a0', class: "radio-list-item p-3", part: radioListItem, onClick: this.clickHandler, hidden: this.radioButtonHidden }, h("form-control-radio", { key: '24dbc2f35760401d64eeb252b178ede3fb0631fe', name: "paymentMethodType", value: this.paymentMethodOptionId, checked: this.isSelected, label: this.label }))));
|
|
20
20
|
}
|
|
21
21
|
}, [257, "payment-method-option", {
|
|
22
22
|
"paymentMethodOptionId": [1, "payment-method-option-id"],
|
|
@@ -4,13 +4,15 @@ import './dinero.js';
|
|
|
4
4
|
import './Refund.js';
|
|
5
5
|
import { p as pagingDefaults } from './Pagination.js';
|
|
6
6
|
import './Business.js';
|
|
7
|
+
import './ApplePay.js';
|
|
8
|
+
import './GooglePay.js';
|
|
7
9
|
import './details.js';
|
|
8
10
|
import { T as Table, a as TableWrapper, b as TableComponent, c as TableHead, d as TableHeadRow, e as TableBody, f as TableLoadingState, g as TableEmptyState, h as TableErrorState, i as TableRow, j as TableFoot, k as TableFootRow, l as TableFootCell } from './table.js';
|
|
9
11
|
import { T as TableClickActions } from './event-types.js';
|
|
10
12
|
import './justifi-radio-list-item2.js';
|
|
11
13
|
import { M as MapPaymentStatusToBadge } from './payments-status.js';
|
|
12
|
-
import {
|
|
13
|
-
import { w as tableHeadCell,
|
|
14
|
+
import { e as convertToLocal } from './utils2.js';
|
|
15
|
+
import { w as tableHeadCell, ac as getAlternateTableCellPart } from './parts.js';
|
|
14
16
|
import { o as onQueryParamsChange, g as getRequestParams } from './payments-list-params-state.js';
|
|
15
17
|
import { d as defineCustomElement$1 } from './pagination-menu2.js';
|
|
16
18
|
|
|
@@ -138,7 +140,7 @@ const PaymentsListCore = /*@__PURE__*/ proxyCustomElement(class PaymentsListCore
|
|
|
138
140
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
139
141
|
}
|
|
140
142
|
render() {
|
|
141
|
-
return (h(TableWrapper, { key: '
|
|
143
|
+
return (h(TableWrapper, { key: 'd1835e29713b4e898eb0360bfcbd66f0bea0adf2' }, h(TableComponent, { key: 'd017b046fba909fa4f75ef397864f88efcb53c44' }, h(TableHead, { key: 'ecb800c2cea73b3bebcc0f3d712c3fe2f2bc984b' }, h(TableHeadRow, { key: '1d1265e3fa2800020e5bad43e8f388d440d0edca' }, this.paymentsTable.columnData.map((column) => column))), h(TableBody, { key: 'cb1db03ab0d90119a50ce72c8b266cf8b842fd00' }, h(TableLoadingState, { key: 'd813568fc6c46f45cea6c569cb9718794f08363c', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: '7098219b76eacd775fc9e6bd23405fe4474f1ee4', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), h(TableErrorState, { key: '7e9eb58438419f3cb52830ddba399aaba228962e', 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: '4c47f2929bd54d87fe9c9d85e25ac2ff73fb3312' }, h(TableFootRow, { key: '749e0e604319a50388ae2357fc9b9a6c55f958dd' }, h(TableFootCell, { key: '7d411e1f8b95d72cd30f8348c7a9bc831ba58540', colSpan: this.paymentsTable.columnData.length }, h("pagination-menu", { key: '66399288373d1539bd8f9e09bc02513b84d7ce82', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
142
144
|
}
|
|
143
145
|
static get watchers() { return {
|
|
144
146
|
"pagingParams": ["updateOnPropChange"],
|
|
@@ -77,9 +77,9 @@ const PayoutDetailsCore = /*@__PURE__*/ proxyCustomElement(class PayoutDetailsCo
|
|
|
77
77
|
}
|
|
78
78
|
render() {
|
|
79
79
|
var _a;
|
|
80
|
-
return (h(StyledHost, { key: '
|
|
81
|
-
h(DetailSectionTitle, { key: '
|
|
82
|
-
h("div", { key: '
|
|
80
|
+
return (h(StyledHost, { key: 'bce8893748b454d55c8d2651f0decaf24f9d23f0' }, this.loading && h(PayoutDetailsLoading, { key: '6779860e9708f71da7466911a23e4b6bae082f33' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: 'bc148d8ac046381a625f1ca46061f2d1038cd962', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '08a12c76478d3c877b27cbc778e8d8946bfd4f61', 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: 'eed2fc60701ee7a63316fc107071ce1b0f8a7887', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: '47256f8c5220bd891e015b66deeeada1d8686896', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: '55768b182ed868f01ecc13a17760ba3e50be406c', title: "ID", value: this.payout.id }), h("div", { key: '3a3eb255b1dc769c48123b0290d2e326beb05486', class: "m-4" }, h(Button, { key: 'ad8109745fb5266e908ce46b7997880679eef419', variant: "secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: 'dd04956b57d3fc8f8a2ab04e3773cedbdc609e7e', slot: 'detail-sections' }, h(DetailSectionTitle, { key: 'ad19ec1078837f472f09adafc6de1bb285774a57', sectionTitle: "Details" }), h("div", { key: '2abbe66f3c1fb693d108e625b224d2abd2c79856', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: 'bedfc199018c36d5f5e2bc397be7145486e88b06', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: '0abebcb95d22281fd711e282e91e0a946a8aa9d9', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: 'a65008e3edc341a951e68335d6302258cb0423c0', title: "Payout Method", value: this.formatMethod(this.payout.delivery_method) }), h(DetailItem, { key: '62284db58bb08fa8ec78380d226c551c1c40aa5c', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), h(DetailItem, { key: '657392699e94a0ca8a7f114c0b94bb7fe2a863fd', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), h(DetailSectionTitle, { key: 'dd553173a96aa066585c42e274b5397ce32f12c8', sectionTitle: "Account" }), h("div", { key: 'a078180c0e26466aa95b7e627b3f0ae0157f88fd', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: '8fc8379e47bea1c18e39ec526587eebc11a63233', title: "ID", value: this.payout.account_id, onClick: this.enableRecordClick ? () => this.handleRecordClick(this.payout.account_id) : undefined }), h(DetailItem, { key: '9caec1c44313a19192a025968ff2055e9871cd2c', title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { key: 'f3e0eec504eff9831aea0258d136224c5331b77e', title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { key: 'd9f4e1cf8ceec76af0992e4774d098120af1ecd7', title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { key: '5cab1bcc2be4c60412ef3f7263ac700a4b0a127b', title: "Account Number", value: `**** ${this.payout.bank_account.account_number_last4}` })), this.payout.metadata && [
|
|
81
|
+
h(DetailSectionTitle, { key: 'ad8a029e6f19bb586b6f124160bc565a07ef7515', sectionTitle: 'Metadata' }),
|
|
82
|
+
h("div", { key: '2ad3cb860977116929da7b475787c90e0202e7ad', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: 'ceab82b2cab61a721af79a62b7e4fe0f6c2035e6', metadata: this.payout.metadata }))
|
|
83
83
|
])))));
|
|
84
84
|
}
|
|
85
85
|
static get watchers() { return {
|