@justifi/webcomponents 6.0.0-rc.3 → 6.0.0-rc.5
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/bank-account-document-form-inputs_4.cjs.entry.js +2 -2
- package/dist/cjs/{check-pkg-version-DvwUM1uA.js → check-pkg-version-BsodhBbK.js} +1 -1
- package/dist/cjs/{checkout.store-CV_fuGQw.js → checkout.store-Cn3Jj5gi.js} +1 -0
- package/dist/cjs/custom-popper_2.cjs.entry.js +2 -2
- 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-monetary.cjs.entry.js +2 -2
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +2 -2
- package/dist/cjs/form-control-number.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 +2 -2
- package/dist/cjs/hidden-input_2.cjs.entry.js +5 -5
- package/dist/cjs/justifi-apple-pay.cjs.entry.js +836 -0
- package/dist/cjs/justifi-bank-account-billing-form-simple_9.cjs.entry.js +8 -8
- package/dist/cjs/justifi-business-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-business-form.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkout-summary_6.cjs.entry.js +141 -35
- package/dist/cjs/justifi-checkout.cjs.entry.js +3 -3
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +2 -2
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +2 -2
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payment-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payments-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payout-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +2 -2
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +3 -3
- package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +3 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-BLAsoHSG.js → package-DJaHaxMC.js} +1 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +8 -8
- package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
- package/dist/cjs/payments-list-core.cjs.entry.js +1 -1
- package/dist/cjs/payout-details-core.cjs.entry.js +3 -3
- package/dist/cjs/payouts-list-core.cjs.entry.js +1 -1
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +1 -1
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
- package/dist/cjs/terminals-list-core.cjs.entry.js +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/ApplePay.js +119 -0
- package/dist/collection/api/services/apple-pay.service.js +334 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/modular-checkout/modular-checkout.js +137 -32
- package/dist/collection/components/modular-checkout/sub-components/apple-pay-skeleton.js +10 -0
- package/dist/collection/components/modular-checkout/sub-components/apple-pay.js +555 -0
- package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
- package/dist/collection/components/modular-checkout/sub-components/card-form.js +2 -2
- 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/tokenize-payment-method.js +3 -3
- package/dist/collection/store/checkout.store.js +1 -0
- package/dist/collection/ui-components/apple-pay-button.js +146 -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-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/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 +463 -1
- package/dist/esm/additional-questions-details_5.entry.js +2 -2
- package/dist/esm/{badge-D_mzXSCQ.js → badge-D4ZXPFjL.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +5 -5
- package/dist/esm/bank-account-form.entry.js +2 -2
- package/dist/esm/business-details-core.entry.js +3 -3
- package/dist/esm/{button-CeR8qVS3.js → button-C0wLsDP3.js} +1 -1
- package/dist/esm/card-form.entry.js +2 -2
- package/dist/esm/{check-pkg-version-D1hbenUd.js → check-pkg-version-D_w9UM2s.js} +1 -1
- package/dist/esm/{checkout.store-B60siz2l.js → checkout.store-OAv_iY1u.js} +1 -0
- package/dist/esm/checkouts-list-core.entry.js +5 -5
- package/dist/esm/{checkouts-table-CFZYoYjn.js → checkouts-table-DjGKtqoc.js} +2 -2
- package/dist/esm/custom-popper_2.entry.js +3 -3
- 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-D3ZwkOv-.js → form-control-error-text-Bzfs_rxk.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +5 -5
- package/dist/esm/{form-control-help-text-C39ZW65w.js → form-control-help-text-ueLctOBN.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_2.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 +4 -4
- package/dist/esm/gross-payment-chart-core.entry.js +3 -3
- package/dist/esm/{header-1-E-hEi3wF.js → header-1-BMKEv9y6.js} +1 -1
- package/dist/esm/{header-3-Dm7M85kz.js → header-3-C3t3m27b.js} +1 -1
- package/dist/esm/hidden-input_2.entry.js +7 -7
- package/dist/esm/{insurance-state-CB4l8sOv.js → insurance-state-d4hjThzE.js} +1 -1
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +3 -3
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +2 -2
- package/dist/esm/justifi-additional-statement_8.entry.js +1 -1
- package/dist/esm/justifi-apple-pay.entry.js +834 -0
- package/dist/esm/justifi-bank-account-billing-form-simple_9.entry.js +12 -12
- package/dist/esm/justifi-business-details.entry.js +4 -4
- package/dist/esm/justifi-business-form.entry.js +6 -6
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
- package/dist/esm/justifi-checkout-summary_6.entry.js +145 -39
- package/dist/esm/justifi-checkout.entry.js +4 -4
- package/dist/esm/justifi-checkouts-list-filters.entry.js +1 -1
- package/dist/esm/justifi-checkouts-list.entry.js +5 -5
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-dispute-management.entry.js +2 -2
- package/dist/esm/justifi-dispute-notification_3.entry.js +5 -5
- package/dist/esm/justifi-gross-payment-chart.entry.js +4 -4
- package/dist/esm/justifi-order-terminals.entry.js +5 -5
- package/dist/esm/justifi-owner-form_3.entry.js +2 -2
- package/dist/esm/justifi-payment-details.entry.js +4 -4
- package/dist/esm/justifi-payment-provisioning-core.entry.js +2 -2
- package/dist/esm/justifi-payment-provisioning.entry.js +2 -2
- package/dist/esm/justifi-payment-transactions-list.entry.js +6 -6
- package/dist/esm/justifi-payments-list-filters.entry.js +3 -3
- package/dist/esm/justifi-payments-list.entry.js +7 -7
- package/dist/esm/justifi-payout-details.entry.js +4 -4
- package/dist/esm/justifi-payout-transactions-list.entry.js +6 -6
- package/dist/esm/justifi-payouts-list-filters.entry.js +3 -3
- package/dist/esm/justifi-payouts-list.entry.js +7 -7
- package/dist/esm/justifi-refund-payment.entry.js +5 -5
- package/dist/esm/justifi-saved-payment-method.entry.js +1 -1
- package/dist/esm/justifi-season-interruption-insurance.entry.js +6 -6
- package/dist/esm/justifi-skeleton.entry.js +3 -3
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +3 -3
- package/dist/esm/justifi-terminal-orders-list.entry.js +6 -6
- package/dist/esm/justifi-terminals-list-filters.entry.js +2 -2
- package/dist/esm/justifi-terminals-list.entry.js +6 -6
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-DqFAlAve.js → package-78C4rMuv.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/{parts-CfF8KKwx.js → parts-RvUQ__Pq.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +13 -13
- package/dist/esm/payment-method-option.entry.js +2 -2
- package/dist/esm/payments-list-core.entry.js +7 -7
- package/dist/esm/{payments-status-XoZrlbiZ.js → payments-status-1yRdTNeS.js} +1 -1
- package/dist/esm/{payments-table-Dh4P9mTb.js → payments-table-8RADYkma.js} +2 -2
- package/dist/esm/payout-details-core.entry.js +9 -9
- package/dist/esm/payouts-list-core.entry.js +7 -7
- package/dist/esm/{payouts-status-Qm2jZG1-.js → payouts-status-BqsQVtBp.js} +1 -1
- package/dist/esm/{payouts-table-DMVAZp-r.js → payouts-table-DPw7yIx8.js} +2 -2
- package/dist/esm/{skeleton-DrHwsgs_.js → skeleton-BmTjpTYa.js} +1 -1
- package/dist/esm/{spinner-XBq6mVJW.js → spinner-YGDOI-CS.js} +1 -1
- package/dist/esm/table-filters-menu.entry.js +2 -2
- package/dist/esm/{table-qqt2Ew5y.js → table-ybHxxc9f.js} +2 -2
- package/dist/esm/terminal-orders-list-core.entry.js +6 -6
- package/dist/esm/{terminal-orders-table-BN4Co4T8.js → terminal-orders-table-D-xP5WuM.js} +2 -2
- package/dist/esm/terminal-quantity-selector.entry.js +2 -2
- package/dist/esm/terminals-list-core.entry.js +6 -6
- package/dist/esm/{terminals-table-C8LczeG_.js → terminals-table-DVAPCgEr.js} +2 -2
- package/dist/esm/{utils-kWaZhFAd.js → utils-DG5aMFmf.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/bank-account.js +2 -2
- package/dist/module/card-form2.js +2 -2
- package/dist/module/checkout.store.js +1 -0
- package/dist/module/custom-popper2.js +2 -2
- 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-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/justifi-apple-pay.d.ts +11 -0
- package/dist/module/justifi-apple-pay.js +877 -0
- package/dist/module/justifi-button2.js +1 -1
- package/dist/module/justifi-header2.js +1 -1
- package/dist/module/justifi-order-terminals.js +1 -1
- 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-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-skeleton.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +2 -2
- package/dist/module/justifi-terminal-orders-list.js +1 -1
- package/dist/module/justifi-terminals-list-filters.js +1 -1
- package/dist/module/justifi-terminals-list.js +1 -1
- package/dist/module/modular-checkout.js +133 -27
- package/dist/module/package.js +1 -1
- package/dist/module/payment-details-core2.js +8 -8
- package/dist/module/payment-method-option.js +1 -1
- package/dist/module/payments-list-core2.js +1 -1
- package/dist/module/payout-details-core2.js +3 -3
- package/dist/module/payouts-list-core2.js +1 -1
- package/dist/module/summary.js +1 -1
- package/dist/module/terminal-orders-list-core2.js +1 -1
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/terminals-list-core2.js +1 -1
- package/dist/module/tokenize-payment-method.js +3 -3
- package/dist/types/api/ApplePay.d.ts +196 -0
- package/dist/types/api/services/apple-pay.service.d.ts +66 -0
- package/dist/types/components/modular-checkout/modular-checkout.d.ts +9 -0
- package/dist/types/components/modular-checkout/sub-components/apple-pay-skeleton.d.ts +6 -0
- package/dist/types/components/modular-checkout/sub-components/apple-pay.d.ts +39 -0
- package/dist/types/components.d.ts +122 -0
- package/dist/types/store/checkout.store.d.ts +1 -0
- package/dist/types/ui-components/apple-pay-button.d.ts +17 -0
- package/dist/webcomponents/{p-48bccf3b.entry.js → p-03c7cee8.entry.js} +1 -1
- package/dist/webcomponents/{p-738e0511.entry.js → p-08a5cc2f.entry.js} +1 -1
- package/dist/webcomponents/{p-43d693a3.entry.js → p-0aee6da6.entry.js} +1 -1
- package/dist/webcomponents/{p-f21549f3.entry.js → p-0e290b6e.entry.js} +1 -1
- package/dist/webcomponents/{p-0cab7d5d.entry.js → p-0e64cd09.entry.js} +1 -1
- package/dist/webcomponents/{p-9f289c31.entry.js → p-1246b999.entry.js} +1 -1
- package/dist/webcomponents/p-12c312a0.entry.js +1 -0
- package/dist/webcomponents/{p-a3ab166f.entry.js → p-134d5029.entry.js} +1 -1
- package/dist/webcomponents/{p-f7e62bfa.entry.js → p-1b892b3a.entry.js} +1 -1
- package/dist/webcomponents/p-1c0c1d7b.entry.js +1 -0
- package/dist/webcomponents/p-1e206c92.entry.js +1 -0
- package/dist/webcomponents/p-1ea7868a.entry.js +1 -0
- package/dist/webcomponents/{p-84ce3bae.entry.js → p-281e36be.entry.js} +1 -1
- package/dist/webcomponents/p-2a0a907d.entry.js +1 -0
- package/dist/webcomponents/{p-c65f157f.entry.js → p-2ab0a2b3.entry.js} +1 -1
- package/dist/webcomponents/{p-93e7df50.entry.js → p-32cecfaf.entry.js} +1 -1
- package/dist/webcomponents/{p-a069c345.entry.js → p-3ffe1e2e.entry.js} +1 -1
- package/dist/webcomponents/p-48f42f07.entry.js +1 -0
- package/dist/webcomponents/{p-37445ce9.entry.js → p-4a1198ee.entry.js} +1 -1
- package/dist/webcomponents/{p-befda39d.entry.js → p-4a79c737.entry.js} +1 -1
- package/dist/webcomponents/{p-a8205044.entry.js → p-4c994761.entry.js} +1 -1
- package/dist/webcomponents/p-5510b57c.entry.js +1 -0
- package/dist/webcomponents/p-5a5f07be.entry.js +1 -0
- package/dist/webcomponents/p-5acd6add.entry.js +1 -0
- package/dist/webcomponents/{p-6e18d13f.entry.js → p-5ad70aae.entry.js} +1 -1
- package/dist/webcomponents/p-5afbfafb.entry.js +1 -0
- package/dist/webcomponents/p-6974a44c.entry.js +1 -0
- package/dist/webcomponents/p-6df132e6.entry.js +1 -0
- package/dist/webcomponents/p-6f2b41f5.entry.js +1 -0
- package/dist/webcomponents/p-6f9755cc.entry.js +1 -0
- package/dist/webcomponents/p-70cd4cbd.entry.js +1 -0
- package/dist/webcomponents/p-7288473f.entry.js +1 -0
- package/dist/webcomponents/{p-79055216.entry.js → p-76a95d07.entry.js} +1 -1
- package/dist/webcomponents/{p-e6a1a851.entry.js → p-776699bd.entry.js} +1 -1
- package/dist/webcomponents/p-78C4rMuv.js +1 -0
- package/dist/webcomponents/{p-29b6f15a.entry.js → p-7b9fa1fb.entry.js} +1 -1
- package/dist/webcomponents/{p-7ed7b2f6.entry.js → p-9009dede.entry.js} +1 -1
- package/dist/webcomponents/p-98939b74.entry.js +1 -0
- package/dist/webcomponents/{p-BTkXk7ol.js → p-BUadwxkh.js} +1 -1
- package/dist/webcomponents/{p-CCME-fyU.js → p-BXKEChoo.js} +1 -1
- package/dist/webcomponents/p-BZzESzqz.js +1 -0
- package/dist/webcomponents/{p-Dvxpy_P1.js → p-BhdBpAn9.js} +1 -1
- package/dist/webcomponents/p-BmFoKOM3.js +1 -0
- package/dist/webcomponents/p-BtOB_CaO.js +1 -0
- package/dist/webcomponents/{p-qMrd7_Gp.js → p-C0AHrswP.js} +1 -1
- package/dist/webcomponents/{p-BeszVz87.js → p-CP_tg-uH.js} +1 -1
- package/dist/webcomponents/{p-JgbsbAhz.js → p-D48iERjQ.js} +1 -1
- package/dist/webcomponents/p-D7eeJWA-.js +1 -0
- package/dist/webcomponents/{p-CsNubTqD.js → p-DBsw4qpn.js} +1 -1
- package/dist/webcomponents/{p-vRhNRfmB.js → p-DKRXPZKS.js} +1 -1
- package/dist/webcomponents/p-DOd8HaWV.js +1 -0
- package/dist/webcomponents/p-DcE8SQPv.js +1 -0
- package/dist/webcomponents/{p-D456WTYf.js → p-DhRb39as.js} +1 -1
- package/dist/webcomponents/p-Drz6LnIw.js +1 -0
- package/dist/webcomponents/{p-DO3INvI2.js → p-DuXN7Akd.js} +1 -1
- package/dist/webcomponents/{p-Bz164TKZ.js → p-HAk7yBNq.js} +1 -1
- package/dist/webcomponents/{p-CfF8KKwx.js → p-RvUQ__Pq.js} +1 -1
- package/dist/webcomponents/p-a1483fbd.entry.js +1 -0
- package/dist/webcomponents/{p-53c81d62.entry.js → p-a1a8f6bd.entry.js} +1 -1
- package/dist/webcomponents/{p-15777cfe.entry.js → p-a406bf1a.entry.js} +1 -1
- package/dist/webcomponents/p-a4cb5604.entry.js +1 -0
- package/dist/webcomponents/{p-f4f3cae8.entry.js → p-a70bc148.entry.js} +1 -1
- package/dist/webcomponents/{p-57143978.entry.js → p-a9d2dd5e.entry.js} +1 -1
- package/dist/webcomponents/{p-c5b48e8d.entry.js → p-afc83e27.entry.js} +1 -1
- package/dist/webcomponents/{p-3d85d046.entry.js → p-b04cc606.entry.js} +1 -1
- package/dist/webcomponents/{p-a0b8c888.entry.js → p-b10e34b0.entry.js} +1 -1
- package/dist/webcomponents/p-b41d2b8f.entry.js +1 -0
- package/dist/webcomponents/p-b8f63e28.entry.js +1 -0
- package/dist/webcomponents/{p-4b808606.entry.js → p-bbbb9225.entry.js} +1 -1
- package/dist/webcomponents/p-bd560810.entry.js +1 -0
- package/dist/webcomponents/{p-c217869b.entry.js → p-c029fc20.entry.js} +1 -1
- package/dist/webcomponents/p-c62e23c1.entry.js +1 -0
- package/dist/webcomponents/{p-b0bfa20f.entry.js → p-c6860f60.entry.js} +1 -1
- package/dist/webcomponents/{p-0e287092.entry.js → p-cbfc8269.entry.js} +1 -1
- package/dist/webcomponents/{p-0935b6e5.entry.js → p-d0729065.entry.js} +1 -1
- package/dist/webcomponents/{p-4bba4e66.entry.js → p-dad15b15.entry.js} +1 -1
- package/dist/webcomponents/{p-0b790fa4.entry.js → p-dc245644.entry.js} +4 -4
- package/dist/webcomponents/{p-d1a65c6d.entry.js → p-e00fd71d.entry.js} +1 -1
- package/dist/webcomponents/{p-e2267656.entry.js → p-e6ca1872.entry.js} +1 -1
- package/dist/webcomponents/{p-e546b8f8.entry.js → p-e70a5f50.entry.js} +1 -1
- package/dist/webcomponents/{p-904a95e5.entry.js → p-e8a198fa.entry.js} +1 -1
- package/dist/webcomponents/{p-9a4c1990.entry.js → p-eca1e808.entry.js} +1 -1
- package/dist/webcomponents/p-fb1904d2.entry.js +1 -0
- package/dist/webcomponents/{p-35bbfbf8.entry.js → p-fbaf62a5.entry.js} +1 -1
- package/dist/webcomponents/p-fcb6e870.entry.js +1 -0
- package/dist/webcomponents/{p-YND5pTuF.js → p-nWGo6sHu.js} +1 -1
- package/dist/webcomponents/{p-BisQ61nK.js → p-wyEq9Pa1.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/webcomponents/p-0cc85003.entry.js +0 -1
- package/dist/webcomponents/p-1975406a.entry.js +0 -1
- package/dist/webcomponents/p-2a59547b.entry.js +0 -1
- package/dist/webcomponents/p-2da63719.entry.js +0 -1
- package/dist/webcomponents/p-4ae2a0b9.entry.js +0 -1
- package/dist/webcomponents/p-4b795b77.entry.js +0 -1
- package/dist/webcomponents/p-5001e722.entry.js +0 -1
- package/dist/webcomponents/p-5477c449.entry.js +0 -1
- package/dist/webcomponents/p-56980ef3.entry.js +0 -1
- package/dist/webcomponents/p-614fcef6.entry.js +0 -1
- package/dist/webcomponents/p-63b1fffd.entry.js +0 -1
- package/dist/webcomponents/p-739d6f13.entry.js +0 -1
- package/dist/webcomponents/p-74ae5db7.entry.js +0 -1
- package/dist/webcomponents/p-9ccd19f5.entry.js +0 -1
- package/dist/webcomponents/p-BC8YDY7M.js +0 -1
- package/dist/webcomponents/p-BbYVgLcf.js +0 -1
- package/dist/webcomponents/p-C1fMfnu0.js +0 -1
- package/dist/webcomponents/p-C_CXv7AN.js +0 -1
- package/dist/webcomponents/p-CwZKT93w.js +0 -1
- package/dist/webcomponents/p-D599ZMGU.js +0 -1
- package/dist/webcomponents/p-DqFAlAve.js +0 -1
- package/dist/webcomponents/p-a33ea645.entry.js +0 -1
- package/dist/webcomponents/p-ba018d57.entry.js +0 -1
- package/dist/webcomponents/p-be06d86a.entry.js +0 -1
- package/dist/webcomponents/p-dd4ef924.entry.js +0 -1
- package/dist/webcomponents/p-df4f2af9.entry.js +0 -1
- package/dist/webcomponents/p-e1ba5735.entry.js +0 -1
- package/dist/webcomponents/p-e4e30e84.entry.js +0 -1
- package/dist/webcomponents/p-e898de89.entry.js +0 -1
- package/dist/webcomponents/p-f200cbda.entry.js +0 -1
- package/dist/webcomponents/p-f4645aef.entry.js +0 -1
- package/dist/webcomponents/p-zrUQD0Wr.js +0 -1
|
@@ -11,7 +11,7 @@ const JustifiButton = /*@__PURE__*/ proxyCustomElement(class JustifiButton exten
|
|
|
11
11
|
this.type = 'button';
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(StyledHost, { key: '
|
|
14
|
+
return (h(StyledHost, { key: '0cc61730e0afccbf438382a3d709397ebe327a9a' }, h(Button, { key: 'c82eb8f914aa50df8b3e51d271a9e4c29602369e', variant: this.variant, isLoading: this.isLoading, clickHandler: this.clickHandler, class: this.class, type: this.type, disabled: this.disabled, style: this.customStyle }, this.text)));
|
|
15
15
|
}
|
|
16
16
|
}, [257, "justifi-button", {
|
|
17
17
|
"text": [1],
|
|
@@ -18,7 +18,7 @@ const Header = /*@__PURE__*/ proxyCustomElement(class Header extends HTMLElement
|
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
20
|
const HeaderComponent = this.levels[this.level];
|
|
21
|
-
return (h(StyledHost, { key: '
|
|
21
|
+
return (h(StyledHost, { key: '73104ea086f8a9948e69f86451adf19e0f39fb32' }, h(HeaderComponent, { key: 'a8582109634299a24e2a9b3c7181c6bba511fde7', text: this.text, class: this.class })));
|
|
22
22
|
}
|
|
23
23
|
}, [257, "justifi-header", {
|
|
24
24
|
"text": [1],
|
|
@@ -231,7 +231,7 @@ const OrderTerminals = /*@__PURE__*/ proxyCustomElement(class OrderTerminals ext
|
|
|
231
231
|
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))));
|
|
232
232
|
}
|
|
233
233
|
render() {
|
|
234
|
-
return (h(StyledHost, { key: '
|
|
234
|
+
return (h(StyledHost, { key: 'bd9a460778680855f021376a57d6cecd71f9e560' }, h("div", { key: '7ac80b5f2499bdecb6f2c0e001f6c6631040c71e', part: text }, this.renderLoading(), this.renderBusinessDetails(), this.renderTerminals(), this.renderOrderSection())));
|
|
235
235
|
}
|
|
236
236
|
}, [257, "justifi-order-terminals", {
|
|
237
237
|
"businessId": [1, "business-id"],
|
|
@@ -181,7 +181,7 @@ const PaymentTransactionsList = /*@__PURE__*/ proxyCustomElement(class PaymentTr
|
|
|
181
181
|
return !this.showEmptyState && !this.showErrorState && !this.isLoading;
|
|
182
182
|
}
|
|
183
183
|
render() {
|
|
184
|
-
return (h(StyledHost, { key: '
|
|
184
|
+
return (h(StyledHost, { key: '841ebb8426d9c6036e15a0327c4e02f0d9fab4d6' }, h(TableWrapper, { key: '7bbf6d05061ac70a84e7876147b33df2f1f470d7' }, h(TableComponent, { key: 'a60c1a98ed33ab0e572ab4296dc873405985be1a' }, h(TableHead, { key: '105c43a14e0a833a7f866def78e5658d7d08070f' }, h(TableHeadRow, { key: '67f3e503be6efb7606c79c894af4e5f357a8cfa0' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: 'e628b0bac4c53cd129ce43c68acd18f038c9e887' }, h(TableLoadingState, { key: '0ffff5bd7c9c505981a7d51a917be1d928d0619b', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: '92a9b0251b8fec1a2b57cf5c9665390873619e87', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: '71aac087777b219aaec57c6b9e6ac7751c322c3c', 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: '6dd7ede10307d376aa3df322dd71d469b2bb248a' }, h(TableFootRow, { key: 'e047fd731c36694aadd6a30726f5191f09f0ade9' }, h(TableFootCell, { key: '84001cf23c2b71a657131607d84179319de85c86', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: '6dcbc441a602a2ee1ef046d2f425c8c7198e063a', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
185
185
|
}
|
|
186
186
|
static get watchers() { return {
|
|
187
187
|
"pagingParams": ["propChanged"],
|
|
@@ -56,8 +56,8 @@ const PaymentsListFilters = /*@__PURE__*/ proxyCustomElement(class PaymentsListF
|
|
|
56
56
|
}
|
|
57
57
|
render() {
|
|
58
58
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
59
|
-
return (h(StyledHost, { key: '
|
|
60
|
-
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterPaymentsListFilterParam })), h("div", { key: '
|
|
59
|
+
return (h(StyledHost, { key: 'b15957bb15b290d70e7861c34050677fabd9264d' }, h("table-filters-menu", { key: 'df4025d8caf104173172efa54452fb0d55c01c2a', params: filterMenuParams, clearParams: clearParams, part: paymentsListFilterMenu }, h("div", { key: 'c02dd26d5abb1d3fe60496f12a119ad5c88131a0', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: 'dcf37cf67a1778511554079ead35eb8291d87798', class: "p-2" }, h("form-control-text", { key: '6d788162b3b1f909ac57613e45b45e750535ee3d', name: "payment_id", label: "Payment ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.paymentId || filterParams.payment_id, disabled: !!this.paymentId, part: paymentIdPaymentsListFilterParam })), h("div", { key: '375b1391dd75fe06853ff956cf2f0d91bc2518d2', class: "p-2" }, h("form-control-text", { key: '2199451d90e6700f43d2b36d32266c3ab4ae9bd1', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: terminalIdPaymentsListFilterParam })), h("div", { key: 'f7bbcda32b31b5bbba4d7989abcdef277f20f063', class: "p-2" }, h("form-control-select", { key: 'e54397eda17d94a09247c4a1a732baed03a85238', name: "payment_status", label: "Status", options: this.paymentStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentStatus || filterParams.payment_status, disabled: !!this.paymentStatus, part: paymentStatusPaymentsListFilterParam })), h("div", { key: '6b6ded01e6b08c311b3806088cb4639755816dbd', class: "p-2" }, h("form-control-date", { key: 'aed2a28b21c0197e9ea7250ca7798c63ebeb6be4', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
|
|
60
|
+
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterPaymentsListFilterParam })), h("div", { key: '47470293a8368b6fc6c2a6d4392ca3da5ca4e3b4', class: "p-2" }, h("form-control-date", { key: 'e9d53abf3b92bc63e80427df2ac0503adeeec8da', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
|
|
61
61
|
convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: createdBeforePaymentsListFilterParam }))))));
|
|
62
62
|
}
|
|
63
63
|
}, [257, "justifi-payments-list-filters", {
|
|
@@ -90,7 +90,7 @@ const PaymentsList = /*@__PURE__*/ proxyCustomElement(class PaymentsList extends
|
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
92
|
render() {
|
|
93
|
-
return (h(StyledHost, { key: '
|
|
93
|
+
return (h(StyledHost, { key: '2c77c3faa07c2f363a0c0ff2f4262de157effafc' }, h("payments-list-core", { key: '374dc84e80696157b60bfc04f836bcd8e59e67ff', getPayments: this.getPayments, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
94
94
|
}
|
|
95
95
|
static get watchers() { return {
|
|
96
96
|
"accountId": ["propChanged"],
|
|
@@ -190,7 +190,7 @@ const PayoutTransactionsList = /*@__PURE__*/ proxyCustomElement(class PayoutTran
|
|
|
190
190
|
return Object.assign({ payout_id: this.payoutId, limit: '15' }, this.pagingParams);
|
|
191
191
|
}
|
|
192
192
|
render() {
|
|
193
|
-
return (h(StyledHost, { key: '
|
|
193
|
+
return (h(StyledHost, { key: '0a993aa9157e9ea6f75a4c745dd2751ab22d0623' }, h(TableWrapper, { key: '56a300b72bb39bf9aa4d9829f1634e5a48b71b15' }, h(TableComponent, { key: '7d3f9fc3159ea7568bd2904ed74a5d90198eecb7' }, h(TableHead, { key: '106703b0ed82206aca0b18a1217fbdad9316cca0' }, h(TableHeadRow, { key: '3d01490dc673358566747dd3aac4c61d1f8681f9' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: 'a1bf3cc192ef3434ff4626390f33361a984e276f' }, h(TableLoadingState, { key: 'edaf059907492b9911bfe11f6ae476711db7200f', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: 'b75807ecc951d0e62993b905246c3e58d676bb7c', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: '7d759684cb4f42733028e734479ba2000495dcee', 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: 'a657e7edf27d011926e2228b7a55ba6fb05f9dff' }, h(TableFootRow, { key: 'c1c592833f527432b53d42cca3a70637065b1918' }, h(TableFootCell, { key: 'b4dba89aa35e7632a9442ad3e804cdd3946377f7', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: '935a7f48b344774fb6058de565a135ae70deb80e', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
194
194
|
}
|
|
195
195
|
static get watchers() { return {
|
|
196
196
|
"pagingParams": ["propChanged"],
|
|
@@ -37,8 +37,8 @@ const PayoutsListFilters = /*@__PURE__*/ proxyCustomElement(class PayoutsListFil
|
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
39
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
40
|
-
return (h(StyledHost, { key: '
|
|
41
|
-
convertToLocal(filterParams.created_after, { showInputDate: true }), disabled: !!this.createdAfter, part: createdAfterPayoutsListFilterParam })), h("div", { key: '
|
|
40
|
+
return (h(StyledHost, { key: '4058d69f87431a4060160bc14912998ea14670dc' }, h("table-filters-menu", { key: '406371a2c3c552e6973da18b0e59a022a7c1ac99', params: filterMenuParams, clearParams: clearParams, part: payoutsListFilterMenu }, h("div", { key: '3d77e00351223fc512062193a19ab874a3c8799e', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '8be6000e3aa3de82e73ebb0133131c2f836def64', class: "p-2" }, h("form-control-date", { key: 'e6c5c50c8a5890573159c6de1955f33762f183b8', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDate: true }) ||
|
|
41
|
+
convertToLocal(filterParams.created_after, { showInputDate: true }), disabled: !!this.createdAfter, part: createdAfterPayoutsListFilterParam })), h("div", { key: '14c666a50387a2f58ea7a4871ef846eadf044e3a', class: "p-2" }, h("form-control-date", { key: 'ee56b0ca27c7d8f8562b23862d5aaebb3d4b3188', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDate: true }) ||
|
|
42
42
|
convertToLocal(filterParams.created_before, { showInputDate: true }), disabled: !!this.createdBefore, part: createdBeforePayoutsListFilterParam }))))));
|
|
43
43
|
}
|
|
44
44
|
}, [257, "justifi-payouts-list-filters", {
|
|
@@ -104,7 +104,7 @@ const PayoutsList = /*@__PURE__*/ proxyCustomElement(class PayoutsList extends H
|
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
106
|
render() {
|
|
107
|
-
return (h(StyledHost, { key: '
|
|
107
|
+
return (h(StyledHost, { key: 'b668ecfbc78e07ffeb5830a10f7a8675d15c5c97' }, h("payouts-list-core", { key: 'ae082078d735cafc42684db978e3e9dc48d75dd4', getPayouts: this.getPayouts, getPayoutCSV: this.getPayoutCSV, getSubAccounts: this.getSubAccounts, "onError-event": this.handleOnError, columns: this.columns })));
|
|
108
108
|
}
|
|
109
109
|
static get watchers() { return {
|
|
110
110
|
"accountId": ["propChanged"],
|
|
@@ -9,7 +9,7 @@ const JustifiSkeleton$1 = /*@__PURE__*/ proxyCustomElement(class JustifiSkeleton
|
|
|
9
9
|
this.__attachShadow();
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h(StyledHost, { key: '
|
|
12
|
+
return (h(StyledHost, { key: '0dbb20245a88851e3cf9fc853029b22847f1cdfe' }, h(Skeleton, { key: '7778f32d71f1b7d46b0f8eab39bb7d98a215ebb3', component: this.component, height: this.height, width: this.width, className: this.class, styles: this.customStyle })));
|
|
13
13
|
}
|
|
14
14
|
}, [257, "justifi-skeleton", {
|
|
15
15
|
"component": [1],
|
|
@@ -62,8 +62,8 @@ const TerminalOrdersListFilters = /*@__PURE__*/ proxyCustomElement(class Termina
|
|
|
62
62
|
}
|
|
63
63
|
render() {
|
|
64
64
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
65
|
-
return (h(StyledHost, { key: '
|
|
66
|
-
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterTerminalOrdersListFilterParam })), h("div", { key: '
|
|
65
|
+
return (h(StyledHost, { key: '4530e57f1df87b7879ab5b3d51c64e814083cc39' }, h("table-filters-menu", { key: '541be463a6ac04afb5f46305035e78766746390a', params: filterMenuParams, clearParams: clearParams, part: terminalOrdersListFilterMenu }, h("div", { key: '5273439008474a436974c44984568650d156aa56', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '1a6f3539862e84a09179f9605741500099e016e5', class: "p-2" }, h("form-control-select", { key: 'ec4d26a33592df8ee137e9263e5fc221e17e43bb', 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: '33a18f94f0893f1ce0d45d383bd623025384e8b9', class: "p-2" }, h("form-control-select", { key: '9f3c8cb6bc85dbbe04b17128a7ff676dd2f97331', 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: '4b4a6abf9b42eb9a1021db266d9b1de1eb0d5b66', class: "p-2" }, h("form-control-date", { key: '63433b6ba954d96cb1195eb70a39aaf08a8c4c6c', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
|
|
66
|
+
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterTerminalOrdersListFilterParam })), h("div", { key: '17b19607536bdf75de23cd4ed5ee4cdbd814de1a', class: "p-2" }, h("form-control-date", { key: 'de1e85a7a164cd86c9190501b14f6a2097b8e34a', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
|
|
67
67
|
convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: createdBeforeTerminalOrdersListFilterParam }))))));
|
|
68
68
|
}
|
|
69
69
|
}, [257, "justifi-terminal-orders-list-filters", {
|
|
@@ -96,7 +96,7 @@ const TerminalOrdersList = /*@__PURE__*/ proxyCustomElement(class TerminalOrders
|
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
render() {
|
|
99
|
-
return (h(StyledHost, { key: '
|
|
99
|
+
return (h(StyledHost, { key: '524e7a9d033a2b5e95d0285eae5a070bbf6bc685' }, h("terminal-orders-list-core", { key: '1d4713c71ca85517ce627a1cdfd8c2345c49997a', getTerminalOrders: this.getTerminalOrders, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
100
100
|
}
|
|
101
101
|
}, [257, "justifi-terminal-orders-list", {
|
|
102
102
|
"accountId": [1, "account-id"],
|
|
@@ -51,7 +51,7 @@ const TerminalsListFilters = /*@__PURE__*/ proxyCustomElement(class TerminalsLis
|
|
|
51
51
|
}
|
|
52
52
|
render() {
|
|
53
53
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
54
|
-
return (h(StyledHost, { key: '
|
|
54
|
+
return (h(StyledHost, { key: '783ba48774e186ebb313aea1b2cba29f52be65aa' }, h("table-filters-menu", { key: 'd4408146ca806b5192011ed875fe46742fd4a9a9', params: filterMenuParams, clearParams: clearParams, part: terminalsListFilterMenu }, h("div", { key: '61356d7fa355bfd54646b7eeee1b7506f8fc1ff9', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '6233bdcb3ed8b37855ef07bd49c7d7bd51079e22', class: "p-2" }, h("form-control-text", { key: 'dadc1036b832290710c15e9dc4faeaf0ce847033', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: terminalIdTerminalsListFilterParam })), h("div", { key: '242a2b4fe9430a8c22a321a08638188d97a5dafc', class: "p-2" }, h("form-control-text", { key: 'ed2bd47281f33af574e5f49aba7a87f5155ea271', 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: '684eaf93576057e25030a8ffbd1c3c4d921b26bb', class: "p-2" }, h("form-control-select", { key: 'a308c124fd6379aa4767352033c736fe0c33b3fa', name: "status", label: "Status", options: this.terminalStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.terminalStatus || filterParams.status, disabled: !!this.terminalStatus, part: terminalStatusTerminalsListFilterParam }))))));
|
|
55
55
|
}
|
|
56
56
|
}, [257, "justifi-terminals-list-filters", {
|
|
57
57
|
"terminalId": [1, "terminal-id"],
|
|
@@ -101,7 +101,7 @@ const TerminalsList = /*@__PURE__*/ proxyCustomElement(class TerminalsList exten
|
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
render() {
|
|
104
|
-
return (h(StyledHost, { key: '
|
|
104
|
+
return (h(StyledHost, { key: '3c9b98a7e1b854420c30c19db04a8f2885894fa1' }, h("terminals-list-core", { key: '2dc457c44c142f3a2072015a2abe812e67d421bb', getTerminals: this.getTerminals, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
105
105
|
}
|
|
106
106
|
static get watchers() { return {
|
|
107
107
|
"accountId": ["propChanged"],
|
|
@@ -73,6 +73,43 @@ const ModularCheckout = /*@__PURE__*/ proxyCustomElement(class ModularCheckout e
|
|
|
73
73
|
this.submitEvent = createEvent(this, "submit-event", 7);
|
|
74
74
|
this.paymentMethodChangedEvent = createEvent(this, "payment-method-changed", 7);
|
|
75
75
|
this.savePaymentMethod = false;
|
|
76
|
+
this.handleApplePayCompleted = (event) => {
|
|
77
|
+
const { success, token, paymentMethodId, error } = event.detail;
|
|
78
|
+
console.log('=== APPLE PAY COMPLETED EVENT ===');
|
|
79
|
+
console.log('Event detail:', event.detail);
|
|
80
|
+
console.log('Payment Method ID received:', paymentMethodId);
|
|
81
|
+
if (success && token) {
|
|
82
|
+
this.applePayToken = token;
|
|
83
|
+
this.applePayPaymentMethodId = paymentMethodId;
|
|
84
|
+
console.log('=== STORED PAYMENT METHOD ID ===');
|
|
85
|
+
console.log('Stored paymentMethodId:', this.applePayPaymentMethodId);
|
|
86
|
+
// Complete the checkout with Apple Pay token
|
|
87
|
+
this.submitCheckoutWithApplePay();
|
|
88
|
+
}
|
|
89
|
+
else {
|
|
90
|
+
console.error("Apple Pay completed but failed:", error);
|
|
91
|
+
this.errorEvent.emit({
|
|
92
|
+
message: (error === null || error === void 0 ? void 0 : error.message) || "Apple Pay payment failed",
|
|
93
|
+
errorCode: ComponentErrorCodes.TOKENIZE_ERROR,
|
|
94
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
this.handleApplePayError = (event) => {
|
|
99
|
+
const { error } = event.detail;
|
|
100
|
+
console.error("Apple Pay error:", error);
|
|
101
|
+
this.errorEvent.emit({
|
|
102
|
+
message: error || "Apple Pay error occurred",
|
|
103
|
+
errorCode: ComponentErrorCodes.TOKENIZE_ERROR,
|
|
104
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
105
|
+
});
|
|
106
|
+
};
|
|
107
|
+
this.handleApplePayCancelled = () => {
|
|
108
|
+
console.log("Apple Pay cancelled by user");
|
|
109
|
+
// Reset the token if cancelled
|
|
110
|
+
this.applePayToken = undefined;
|
|
111
|
+
this.applePayPaymentMethodId = undefined;
|
|
112
|
+
};
|
|
76
113
|
}
|
|
77
114
|
savePaymentMethodChanged(newValue) {
|
|
78
115
|
checkoutStore.savePaymentMethod = newValue;
|
|
@@ -80,20 +117,21 @@ const ModularCheckout = /*@__PURE__*/ proxyCustomElement(class ModularCheckout e
|
|
|
80
117
|
connectedCallback() {
|
|
81
118
|
this.observer = new MutationObserver(() => {
|
|
82
119
|
this.queryFormRefs();
|
|
120
|
+
this.setupApplePayListeners(); // set up again listeners when DOM changes
|
|
83
121
|
});
|
|
84
122
|
this.observer.observe(this.hostEl, {
|
|
85
123
|
childList: true,
|
|
86
|
-
subtree: true
|
|
124
|
+
subtree: true,
|
|
87
125
|
});
|
|
88
126
|
checkoutStore.checkoutId = this.checkoutId;
|
|
89
127
|
const config = {
|
|
90
128
|
authToken: this.authToken,
|
|
91
129
|
checkoutId: this.checkoutId,
|
|
92
|
-
service: new CheckoutService()
|
|
130
|
+
service: new CheckoutService(),
|
|
93
131
|
};
|
|
94
132
|
this.getCheckout = makeGetCheckout(config);
|
|
95
133
|
this.completeCheckout = makeCheckoutComplete(config);
|
|
96
|
-
onChange(
|
|
134
|
+
onChange("selectedPaymentMethod", (newValue) => {
|
|
97
135
|
this.paymentMethodChangedEvent.emit(newValue);
|
|
98
136
|
});
|
|
99
137
|
}
|
|
@@ -112,7 +150,7 @@ const ModularCheckout = /*@__PURE__*/ proxyCustomElement(class ModularCheckout e
|
|
|
112
150
|
checkoutStore.savePaymentMethod = this.savePaymentMethod;
|
|
113
151
|
this.fetchCheckout();
|
|
114
152
|
// Refresh the checkout data when insurance values actually change (not on initial load)
|
|
115
|
-
insuranceValuesOn(
|
|
153
|
+
insuranceValuesOn("set", (key) => {
|
|
116
154
|
const value = insuranceValues[key];
|
|
117
155
|
if (value !== undefined && hasInsuranceValueChanged(key, value)) {
|
|
118
156
|
this.fetchCheckout();
|
|
@@ -121,10 +159,12 @@ const ModularCheckout = /*@__PURE__*/ proxyCustomElement(class ModularCheckout e
|
|
|
121
159
|
}
|
|
122
160
|
componentDidLoad() {
|
|
123
161
|
this.queryFormRefs();
|
|
162
|
+
this.setupApplePayListeners();
|
|
124
163
|
}
|
|
125
164
|
disconnectedCallback() {
|
|
126
165
|
var _a;
|
|
127
166
|
(_a = this.observer) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
167
|
+
this.removeApplePayListeners();
|
|
128
168
|
}
|
|
129
169
|
fetchCheckout() {
|
|
130
170
|
if (this.getCheckout) {
|
|
@@ -154,7 +194,7 @@ const ModularCheckout = /*@__PURE__*/ proxyCustomElement(class ModularCheckout e
|
|
|
154
194
|
errorCode: ComponentErrorCodes.FETCH_ERROR,
|
|
155
195
|
severity: ComponentErrorSeverity.ERROR,
|
|
156
196
|
});
|
|
157
|
-
}
|
|
197
|
+
},
|
|
158
198
|
});
|
|
159
199
|
}
|
|
160
200
|
}
|
|
@@ -170,21 +210,76 @@ const ModularCheckout = /*@__PURE__*/ proxyCustomElement(class ModularCheckout e
|
|
|
170
210
|
checkoutStore.bnplProviderClientId = (_a = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _a === void 0 ? void 0 : _a.provider_client_id;
|
|
171
211
|
checkoutStore.bnplProviderMode = (_b = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _b === void 0 ? void 0 : _b.provider_mode;
|
|
172
212
|
checkoutStore.bnplProviderApiVersion = (_c = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _c === void 0 ? void 0 : _c.provider_api_version;
|
|
173
|
-
checkoutStore.bnplProviderCheckoutUrl =
|
|
213
|
+
checkoutStore.bnplProviderCheckoutUrl =
|
|
214
|
+
(_d = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _d === void 0 ? void 0 : _d.provider_checkout_url;
|
|
174
215
|
}
|
|
175
216
|
queryFormRefs() {
|
|
176
|
-
this.paymentMethodFormRef = this.hostEl.querySelector(
|
|
177
|
-
this.billingFormRef = this.hostEl.querySelector(
|
|
178
|
-
this.insuranceFormRef = this.hostEl.querySelector(
|
|
179
|
-
this.sezzlePaymentMethodRef = this.hostEl.querySelector(
|
|
217
|
+
this.paymentMethodFormRef = this.hostEl.querySelector("justifi-card-form, justifi-bank-account-form");
|
|
218
|
+
this.billingFormRef = this.hostEl.querySelector("justifi-billing-form, justifi-bank-account-billing-form-simple, justifi-card-billing-form-simple, justifi-billing-form-full");
|
|
219
|
+
this.insuranceFormRef = this.hostEl.querySelector("justifi-season-interruption-insurance");
|
|
220
|
+
this.sezzlePaymentMethodRef = this.hostEl.querySelector("justifi-sezzle-payment-method");
|
|
221
|
+
this.applePayRef = this.hostEl.querySelector("justifi-apple-pay");
|
|
222
|
+
}
|
|
223
|
+
setupApplePayListeners() {
|
|
224
|
+
if (this.applePayRef) {
|
|
225
|
+
this.applePayRef.addEventListener("applePayCompleted", this.handleApplePayCompleted);
|
|
226
|
+
this.applePayRef.addEventListener("applePayError", this.handleApplePayError);
|
|
227
|
+
this.applePayRef.addEventListener("applePayCancelled", this.handleApplePayCancelled);
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
removeApplePayListeners() {
|
|
231
|
+
if (this.applePayRef) {
|
|
232
|
+
this.applePayRef.removeEventListener("applePayCompleted", this.handleApplePayCompleted);
|
|
233
|
+
this.applePayRef.removeEventListener("applePayError", this.handleApplePayError);
|
|
234
|
+
this.applePayRef.removeEventListener("applePayCancelled", this.handleApplePayCancelled);
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
async submitCheckoutWithApplePay() {
|
|
238
|
+
if (!this.applePayToken) {
|
|
239
|
+
this.errorEvent.emit({
|
|
240
|
+
message: "No Apple Pay token available",
|
|
241
|
+
errorCode: ComponentErrorCodes.TOKENIZE_ERROR,
|
|
242
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
243
|
+
});
|
|
244
|
+
return;
|
|
245
|
+
}
|
|
246
|
+
console.log('=== SUBMITTING CHECKOUT WITH APPLE PAY ===');
|
|
247
|
+
console.log('Payment method ID to send:', this.applePayPaymentMethodId);
|
|
248
|
+
const payment = {
|
|
249
|
+
payment_mode: "apple_pay",
|
|
250
|
+
payment_token: this.applePayPaymentMethodId,
|
|
251
|
+
};
|
|
252
|
+
console.log('=== CHECKOUT COMPLETE PAYLOAD ===');
|
|
253
|
+
console.log('Payment object:', payment);
|
|
254
|
+
this.completeCheckout({
|
|
255
|
+
payment,
|
|
256
|
+
onSuccess: ({ checkout }) => {
|
|
257
|
+
console.log('=== CHECKOUT COMPLETE SUCCESS ===');
|
|
258
|
+
console.log('Checkout result:', checkout);
|
|
259
|
+
this.submitEvent.emit({
|
|
260
|
+
checkout,
|
|
261
|
+
message: "Apple Pay checkout completed successfully",
|
|
262
|
+
});
|
|
263
|
+
},
|
|
264
|
+
onError: (error) => {
|
|
265
|
+
console.error('=== CHECKOUT COMPLETE ERROR ===');
|
|
266
|
+
console.error('Error:', error);
|
|
267
|
+
this.errorEvent.emit({
|
|
268
|
+
message: error.message,
|
|
269
|
+
errorCode: ComponentErrorCodes.COMPLETE_CHECKOUT_ERROR,
|
|
270
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
271
|
+
});
|
|
272
|
+
},
|
|
273
|
+
});
|
|
180
274
|
}
|
|
181
275
|
async tokenizePaymentMethod(tokenizeArgs) {
|
|
182
276
|
var _a, _b, _c;
|
|
183
|
-
const billingInfoValues = (_b = await ((_a = this.billingFormRef) === null || _a === void 0 ? void 0 : _a.getValues())) !== null && _b !== void 0 ? _b : {};
|
|
277
|
+
const billingInfoValues = (_b = (await ((_a = this.billingFormRef) === null || _a === void 0 ? void 0 : _a.getValues()))) !== null && _b !== void 0 ? _b : {};
|
|
184
278
|
const combinedBillingInfo = Object.assign(Object.assign({}, tokenizeArgs), billingInfoValues);
|
|
185
279
|
const paymentMethodMetadata = Object.assign({ accountId: checkoutStore.accountId, payment_method_group_id: undefined }, combinedBillingInfo);
|
|
186
280
|
if (checkoutStore.savePaymentMethod) {
|
|
187
|
-
paymentMethodMetadata.payment_method_group_id =
|
|
281
|
+
paymentMethodMetadata.payment_method_group_id =
|
|
282
|
+
checkoutStore.paymentMethodGroupId;
|
|
188
283
|
}
|
|
189
284
|
return (_c = this.paymentMethodFormRef) === null || _c === void 0 ? void 0 : _c.tokenize({
|
|
190
285
|
clientId: this.authToken,
|
|
@@ -193,6 +288,10 @@ const ModularCheckout = /*@__PURE__*/ proxyCustomElement(class ModularCheckout e
|
|
|
193
288
|
});
|
|
194
289
|
}
|
|
195
290
|
async getPaymentMethod(submitCheckoutArgs) {
|
|
291
|
+
// If Apple Pay token is available, return a placeholder since we handle it differently
|
|
292
|
+
if (this.applePayToken) {
|
|
293
|
+
return "apple_pay_token";
|
|
294
|
+
}
|
|
196
295
|
// If we have a payment token from the store (set by tokenize-payment-method), use it
|
|
197
296
|
if (checkoutStore.paymentToken) {
|
|
198
297
|
return checkoutStore.paymentToken;
|
|
@@ -214,34 +313,41 @@ const ModularCheckout = /*@__PURE__*/ proxyCustomElement(class ModularCheckout e
|
|
|
214
313
|
}
|
|
215
314
|
async validate() {
|
|
216
315
|
var _a, _b;
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
316
|
+
// If Apple Pay token is available, validation is already complete
|
|
317
|
+
if (this.applePayToken) {
|
|
318
|
+
return true;
|
|
319
|
+
}
|
|
221
320
|
const promises = [
|
|
222
321
|
(_a = this.paymentMethodFormRef) === null || _a === void 0 ? void 0 : _a.validate(),
|
|
223
|
-
(_b = this.billingFormRef) === null || _b === void 0 ? void 0 : _b.validate()
|
|
322
|
+
(_b = this.billingFormRef) === null || _b === void 0 ? void 0 : _b.validate(),
|
|
224
323
|
];
|
|
225
324
|
if (this.insuranceFormRef) {
|
|
226
325
|
promises.push(this.insuranceFormRef.validate());
|
|
227
326
|
}
|
|
228
327
|
const validationResults = await Promise.all(promises);
|
|
229
|
-
return validationResults.every(result => (result === null || result === void 0 ? void 0 : result.isValid) !== false);
|
|
328
|
+
return validationResults.every((result) => (result === null || result === void 0 ? void 0 : result.isValid) !== false);
|
|
230
329
|
}
|
|
231
330
|
async submitCheckout(submitCheckoutArgs) {
|
|
232
331
|
var _a;
|
|
332
|
+
// If Apple Pay token is available, use Apple Pay flow
|
|
333
|
+
if (this.applePayToken) {
|
|
334
|
+
await this.submitCheckoutWithApplePay();
|
|
335
|
+
return;
|
|
336
|
+
}
|
|
233
337
|
const isValid = await this.validate();
|
|
234
338
|
if (!isValid) {
|
|
235
339
|
this.errorEvent.emit({
|
|
236
|
-
message:
|
|
340
|
+
message: "Please fill in all required fields.",
|
|
237
341
|
errorCode: ComponentErrorCodes.VALIDATION_ERROR,
|
|
238
342
|
severity: ComponentErrorSeverity.ERROR,
|
|
239
343
|
});
|
|
240
344
|
return;
|
|
241
345
|
}
|
|
242
346
|
let payment;
|
|
243
|
-
if (checkoutStore.selectedPaymentMethod ===
|
|
244
|
-
const insuranceValidation = this.insuranceFormRef
|
|
347
|
+
if (checkoutStore.selectedPaymentMethod === "sezzle") {
|
|
348
|
+
const insuranceValidation = this.insuranceFormRef
|
|
349
|
+
? await this.insuranceFormRef.validate()
|
|
350
|
+
: { isValid: true };
|
|
245
351
|
const sezzleResult = await this.sezzlePaymentMethodRef.resolvePaymentMethod(insuranceValidation);
|
|
246
352
|
if (sezzleResult.error) {
|
|
247
353
|
this.errorEvent.emit({
|
|
@@ -251,9 +357,9 @@ const ModularCheckout = /*@__PURE__*/ proxyCustomElement(class ModularCheckout e
|
|
|
251
357
|
});
|
|
252
358
|
return;
|
|
253
359
|
}
|
|
254
|
-
else if (((_a = sezzleResult.bnpl) === null || _a === void 0 ? void 0 : _a.status) ===
|
|
360
|
+
else if (((_a = sezzleResult.bnpl) === null || _a === void 0 ? void 0 : _a.status) === "success") {
|
|
255
361
|
payment = {
|
|
256
|
-
payment_mode:
|
|
362
|
+
payment_mode: "bnpl",
|
|
257
363
|
payment_token: undefined,
|
|
258
364
|
};
|
|
259
365
|
}
|
|
@@ -262,14 +368,14 @@ const ModularCheckout = /*@__PURE__*/ proxyCustomElement(class ModularCheckout e
|
|
|
262
368
|
const paymentMethod = await this.getPaymentMethod(submitCheckoutArgs);
|
|
263
369
|
if (!paymentMethod) {
|
|
264
370
|
this.errorEvent.emit({
|
|
265
|
-
message:
|
|
371
|
+
message: "Payment method tokenization failed.",
|
|
266
372
|
errorCode: ComponentErrorCodes.TOKENIZE_ERROR,
|
|
267
373
|
severity: ComponentErrorSeverity.ERROR,
|
|
268
374
|
});
|
|
269
375
|
return;
|
|
270
376
|
}
|
|
271
377
|
payment = {
|
|
272
|
-
payment_mode:
|
|
378
|
+
payment_mode: "ecom",
|
|
273
379
|
payment_token: paymentMethod,
|
|
274
380
|
};
|
|
275
381
|
}
|
|
@@ -278,7 +384,7 @@ const ModularCheckout = /*@__PURE__*/ proxyCustomElement(class ModularCheckout e
|
|
|
278
384
|
onSuccess: ({ checkout }) => {
|
|
279
385
|
this.submitEvent.emit({
|
|
280
386
|
checkout,
|
|
281
|
-
message:
|
|
387
|
+
message: "Checkout completed successfully",
|
|
282
388
|
});
|
|
283
389
|
},
|
|
284
390
|
onError: (error) => {
|
|
@@ -294,7 +400,7 @@ const ModularCheckout = /*@__PURE__*/ proxyCustomElement(class ModularCheckout e
|
|
|
294
400
|
checkoutStore.selectedPaymentMethod = paymentMethodId;
|
|
295
401
|
}
|
|
296
402
|
render() {
|
|
297
|
-
return
|
|
403
|
+
return h(Host, { key: '5831cf966bbdf5236cfcb9a58652908c4a020138' });
|
|
298
404
|
}
|
|
299
405
|
get hostEl() { return this; }
|
|
300
406
|
static get watchers() { return {
|
package/dist/module/package.js
CHANGED
|
@@ -59,16 +59,16 @@ const PaymentDetailsCore = /*@__PURE__*/ proxyCustomElement(class PaymentDetails
|
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
61
|
render() {
|
|
62
|
-
return (h(StyledHost, { key: '
|
|
63
|
-
this.payment && (h("justifi-details", { key: '
|
|
64
|
-
h(DetailSectionTitle, { key: '
|
|
65
|
-
h("div", { key: '
|
|
62
|
+
return (h(StyledHost, { key: '78772ac113e59c6a0dfb11b38807cbdd42ca2b75' }, this.loading && h(PaymentDetailsLoading, { key: 'ee7b54bb8679f20fc2d7665ef335320154f1631c' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
|
|
63
|
+
this.payment && (h("justifi-details", { key: '09f20b99d15bd751771de65edf1770ad0e3e4caa', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '0a070793ef25425601400c8a0139d84123adcb38', slot: "head-info", badge: (h("div", { class: "d-flex gap-1" }, MapPaymentStatusToBadge(this.payment.status), this.payment.expedited ? (h(Badge, { variant: BadgeVariant.WARNING, title: "Expedited", text: "Expedited" })) : null)), title: this.payment.formattedPaymentAmount(this.payment.amount) }, h(EntityHeadInfoItem, { key: '5d4c3fd1f483c6a9cba7098dbba7fb7df9e62459', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payment.updated_at)} ${formatTime(this.payment.updated_at)}` }), h(EntityHeadInfoItem, { key: 'a770d473ef8ead583dca3d261fc22daeb452aa42', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payment.created_at)} ${formatTime(this.payment.created_at)}` }), h(EntityHeadInfoItem, { key: 'd0e8a38cff4bdccc6347108ecbdc90e200613470', title: "ID", value: this.payment.id })), h("div", { key: '001543a66055203a430fb3231eedb39cc4bd4d31', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '37229e3e35782dc9e3bc56e7ab5411719507f55e', sectionTitle: "Details" }), h("div", { key: '08a7f2025131fec223ef014374e5784a6c97e531', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '92643e94e0f8f70d09825eb8e2a658286f331464', title: "Amount", value: this.payment.formattedPaymentAmount(this.payment.amount) }), h(DetailItem, { key: '2db9994c24e29ba4b4ca1935015b6b94733fdd1c', title: "Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: 'baa2601246817358cfdbc587c354304d18e61de6', title: "Refunded", value: this.payment.formattedPaymentAmount(this.payment.amount_refunded) }), h(DetailItem, { key: '0809e47782815c57213be29e1e8d6b7703907e50', title: "Net", value: this.payment.formattedPaymentAmount(this.payment.balance) }), h(DetailItem, { key: '89c6dedc355492b70bd91dbe9d1fdd6d288c06d9', title: "Status", value: MapPaymentStatusToBadge(this.payment.status) }), h(DetailItem, { key: '278cca0991d63079c29da77be1625b5a52f64541', title: "Payment ID", value: this.payment.id }), h(DetailItem, { key: '5622513e3ded892acb9667be6579bab5a2fe17af', title: "Processing Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: 'b9970bf7af2831b75a41a346813bfbc7be54a4e3', title: "Statement Descriptor", value: this.payment.statement_descriptor }), h(DetailItem, { key: '2a6e7ded24a5849672547322b7f507487b9a1fd4', title: "Description", value: this.payment.description }), h(DetailItem, { key: '363a8b9e8a5ee160887498bf197e27ec6be58eda', title: "Expedited", value: this.payment.expedited ? 'Yes' : 'No' })), this.payment.payment_method.card && [
|
|
64
|
+
h(DetailSectionTitle, { key: '1cf6b816e8138fe5e56b3128eaefb43bd9111139', sectionTitle: "Payment Method" }),
|
|
65
|
+
h("div", { key: '363a98244887cbc9b22db1d00aefe7c57fa11e6a', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '0b55c6a07eb581fab9fd3e8a859c09ee743a9197', title: "ID", value: this.payment.payment_method.card.id }), h(DetailItem, { key: '80fdad59678b1ff7db5d8d0d2d9ff7d3f358155e', title: "Payment Type", value: "Card" }), h(DetailItem, { key: 'd470dc1614d83da766962075007e4834a0db0e9d', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: '95ae2faca13ea63373a48d49df52f06338b5c7d7', title: "Brand", value: snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), h(DetailItem, { key: '47d57b3ceb2ee5d703ba1b12424c529464fed91e', title: "Cardholder", value: this.payment.payment_method.payersName }))
|
|
66
66
|
], this.payment.payment_method.bank_account && [
|
|
67
|
-
h(DetailSectionTitle, { key: '
|
|
68
|
-
h("div", { key: '
|
|
67
|
+
h(DetailSectionTitle, { key: 'de95204583c5e94eca5b8edd14f7dacb8a6e12aa', sectionTitle: "Payment Method" }),
|
|
68
|
+
h("div", { key: '0f0703066af1aa060eec503844cedecbb5319dbe', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '7eed468aefc9b85f92e5c7b910b9d730e5a02e33', title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { key: '6da4304e0da2055c9d4877bb54f59920c2234356', title: "Last 4 Numbers", value: this.payment.last_four_digits }), h(DetailItem, { key: '9bac816e32f978caeb926f0f3c6b8b0dc4586fc3', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { key: '943a9c4d7f7db5a3dce927b35556087f89264160', title: "Account Owner", value: this.payment.payment_method.payersName }))
|
|
69
69
|
], this.payment.metadata && [
|
|
70
|
-
h(DetailSectionTitle, { key: '
|
|
71
|
-
h("div", { key: '
|
|
70
|
+
h(DetailSectionTitle, { key: '9c229051516566209d5b7fc3da2e2c5d41005201', sectionTitle: 'Metadata' }),
|
|
71
|
+
h("div", { key: '36ea2b841735fc16e858d0fc622bd1145b21657c', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '554d789b6f59982cc70e63e32169b38d8aa459bf', metadata: this.payment.metadata }))
|
|
72
72
|
])))));
|
|
73
73
|
}
|
|
74
74
|
static get watchers() { return {
|
|
@@ -14,7 +14,7 @@ const PaymentMethodOption$1 = /*@__PURE__*/ proxyCustomElement(class PaymentMeth
|
|
|
14
14
|
this.__attachShadow();
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (h(StyledHost, { key: '
|
|
17
|
+
return (h(StyledHost, { key: 'a9d1a1ac11a9a39fa8e9e27fbab66793289c1538', class: "payment-method" }, h("div", { key: 'e9672061e4e5fa5244a51fd3b4cf34ca996f6ffb', class: "radio-list-item p-3", part: radioListItem, onClick: this.clickHandler, hidden: this.radioButtonHidden }, h("form-control-radio", { key: 'a4f0985f9c9f609c14e664976c132c2bedf8db38', name: "paymentMethodType", value: this.paymentMethodOptionId, checked: this.isSelected, label: this.label }))));
|
|
18
18
|
}
|
|
19
19
|
}, [257, "payment-method-option", {
|
|
20
20
|
"paymentMethodOptionId": [1, "payment-method-option-id"],
|
|
@@ -118,7 +118,7 @@ const PaymentsListCore = /*@__PURE__*/ proxyCustomElement(class PaymentsListCore
|
|
|
118
118
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
119
119
|
}
|
|
120
120
|
render() {
|
|
121
|
-
return (h(TableWrapper, { key: '
|
|
121
|
+
return (h(TableWrapper, { key: '46dd5932d242bb0be852b76bdb030735d7e17f70' }, h(TableComponent, { key: 'ba8514e6840054ac614ec3e20086442ee386f303' }, h(TableHead, { key: '0a3495b12b1bcde7f7ff845a759a00a6ec4f86b6' }, h(TableHeadRow, { key: '01c0c3d37185252b254afe205797fab85d3007b2' }, this.paymentsTable.columnData.map((column) => column))), h(TableBody, { key: 'f5b9b2d8ffac197fc6df33ca4aa77344f2137f77' }, h(TableLoadingState, { key: 'ff4314485693a2472b683567021e35bd609e2850', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: '6c0c381354f96026b76a11eed925b49bf2169ecd', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), h(TableErrorState, { key: '823a6fa86f79a89398de22d48c0ab4b554c2cd54', 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: 'fe4809a1a5c43dd4745bc76fccdc66937b88a315' }, h(TableFootRow, { key: 'f75e79495dc130fd3d604c0e7c29fc5dc1e97e94' }, h(TableFootCell, { key: '3d30257ba1ad94eab852b5abaed9777552403da1', colSpan: this.paymentsTable.columnData.length }, h("pagination-menu", { key: '7dd714fca51b59d138a6ba27a8f0f6e81fd964de', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
122
122
|
}
|
|
123
123
|
static get watchers() { return {
|
|
124
124
|
"pagingParams": ["updateOnPropChange"],
|
|
@@ -74,9 +74,9 @@ const PayoutDetailsCore = /*@__PURE__*/ proxyCustomElement(class PayoutDetailsCo
|
|
|
74
74
|
}
|
|
75
75
|
render() {
|
|
76
76
|
var _a;
|
|
77
|
-
return (h(StyledHost, { key: '
|
|
78
|
-
h(DetailSectionTitle, { key: '
|
|
79
|
-
h("div", { key: '
|
|
77
|
+
return (h(StyledHost, { key: '84ad924d9a7697cf7fd1f7638617925b52600267' }, this.loading && h(PayoutDetailsLoading, { key: '4ba191c16f034b4e136f2a6d96a44a7e1c71b352' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: '84561101cfb511d034309906e281a36b9adba5d0', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '844df9068a80e7dfeffd2856805e5855c36842ef', 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: '5b3ecbec2c7e056afd085e21e7895f7919c0b638', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: '1f0b2a3a31b0ff2a0829daae285bd2e9fdaaadcb', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: '29ac2409362d285ca42cc57d55661281d35e7c39', title: "ID", value: this.payout.id }), h("div", { key: 'ceb5c66069d1c7404e355aeeeeb2e167cb4e8f55', class: "m-4" }, h(Button, { key: '206c57a99b0bc35c8db822507936022b8e51b89b', variant: "secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: 'a9b39de96d09d4b0c87384da5bbf7d8f33e48bc7', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '03735918d82a3af539d79b88edc2b62ca2ebe03a', sectionTitle: "Details" }), h("div", { key: '347a72ad86b6dd8917022bb3d41c1ea51afe05f5', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '644ae816ca6391e06e8cafff85773892fdffb3b7', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: '7970ee36e7575b0fb6432df46d128974fc54ef9a', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: '8d3b06b5af09992d24ad5aa5d4bc935ae40193fb', title: "Payout Method", value: this.payout.delivery_method }), h(DetailItem, { key: '2c147836ca746a8604bc8ca42a23ef9b2b78f80a', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), h(DetailItem, { key: 'c9c7fb58f4e1d6d24c7ab0a60742d48214a88a9c', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), h(DetailSectionTitle, { key: '6261217268188afab893556f8f7eea2c72fa285b', sectionTitle: "Account" }), h("div", { key: 'd1b447792330f8f5d6e11533c7ccd27578325a4f', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '199170c19d35c73f14f46a19eb9c743f12461779', title: "ID", value: this.payout.account_id }), h(DetailItem, { key: 'c6fb1a95d15547b1abc2ac95c83e865167b500a9', title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '21c1ef80ae9d2d122e30b6b94585cbfea6dbe167', title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '31f0db976c9abec3e3c9f228ed8b66c83cb134cb', title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { key: '87cc64ff4ac69c51e0932f7981f7da52565101ff', title: "Account Number", value: this.payout.bank_account.account_number_last4 })), this.payout.metadata && [
|
|
78
|
+
h(DetailSectionTitle, { key: '81b6f3c633b802afb5f0f5314b234f8ef0e1ef31', sectionTitle: 'Metadata' }),
|
|
79
|
+
h("div", { key: 'ec972893084294e690037e146b9e91783f461267', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: 'cef2518b84f1791157084b7d7cfe872963851edc', metadata: this.payout.metadata }))
|
|
80
80
|
])))));
|
|
81
81
|
}
|
|
82
82
|
static get watchers() { return {
|