@justifi/webcomponents 6.0.0-rc.9 → 6.0.0
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/{Api-y2G49jOh.js → Api-CwTLkFY4.js} +2 -2
- package/dist/cjs/{Refund-BVZHsa6Z.js → Refund-BPSBtjQC.js} +3 -1
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -3
- package/dist/cjs/{badge-CcJ9H85-.js → badge-BmOSt4gS.js} +1 -1
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +9 -9
- package/dist/cjs/bank-account-form.cjs.entry.js +10 -15
- package/dist/cjs/business-details-core.cjs.entry.js +6 -21
- package/dist/cjs/{business.service-D5IhSyRJ.js → business.service-Dkhqyggm.js} +2 -2
- package/dist/cjs/{button-DsHDMHaa.js → button-7c2RN2yp.js} +2 -3
- package/dist/cjs/card-form.cjs.entry.js +10 -19
- package/dist/cjs/{check-pkg-version-VnhfIX0p.js → check-pkg-version-7FBAUhHw.js} +3 -3
- package/dist/cjs/{checkout.service-4aS641tN.js → checkout.service-LwZVVgP5.js} +2 -2
- package/dist/cjs/checkout.store-C3f3E24L.js +84 -0
- package/dist/cjs/checkouts-list-core.cjs.entry.js +11 -11
- package/dist/cjs/{payments-list-params-state-Cewmin_p.js → checkouts-list-params-state-C4c8UZtP.js} +1 -1
- package/dist/cjs/{checkouts-table-B_gpjGhs.js → checkouts-table-BQUhZZd_.js} +4 -6
- package/dist/cjs/{config-state-BBOZIS8x.js → config-state-B_gyIchD.js} +1 -1
- package/dist/cjs/custom-popper_2.cjs.entry.js +3 -3
- package/dist/cjs/{dispute.service-64ciJH0r.js → dispute.service-927Gzb0N.js} +2 -2
- 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-B-P5UDhm.js → form-control-error-text-DD0dHGu8.js} +1 -1
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
- package/dist/cjs/{form-control-help-text-JoZjhb9m.js → form-control-help-text-2QwKi78M.js} +1 -1
- package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +3 -3
- package/dist/cjs/form-control-monetary.cjs.entry.js +6 -6
- package/dist/cjs/form-control-number-masked_2.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-DE5xUUpt.js → get-payment-details-BSxp1HX0.js} +2 -2
- package/dist/cjs/{get-subaccounts-CH477rHs.js → get-subaccounts-B31f95PR.js} +3 -3
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +5 -5
- package/dist/cjs/{header-1-DRA3f4Jh.js → header-1-DMsp0XM7.js} +1 -1
- package/dist/cjs/{header-3-sOdOpfx3.js → header-3-BSvFq_IF.js} +1 -1
- package/dist/cjs/hidden-input_2.cjs.entry.js +8 -8
- package/dist/cjs/{checkout.store-MSwLBCby.js → index-C2ITzalN.js} +29 -41
- package/dist/cjs/{index-B32W0A3m.js → index-D1Ba20gi.js} +1 -1
- package/dist/cjs/{index-C9hBD-32.js → index-Dyzl8Hn6.js} +8 -2
- package/dist/cjs/index.cjs.js +8 -0
- package/dist/cjs/{insurance-state-d2thhXUX.js → insurance-state-uWOl6jJN.js} +2 -2
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +9 -24
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +8 -8
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +9 -9
- package/dist/cjs/justifi-apple-pay.cjs.entry.js +177 -86
- package/dist/cjs/justifi-bank-account-billing-form-simple_9.cjs.entry.js +24 -42
- package/dist/cjs/justifi-business-details.cjs.entry.js +10 -10
- package/dist/cjs/justifi-business-form.cjs.entry.js +15 -30
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
- package/dist/cjs/justifi-checkout-summary_7.cjs.entry.js +192 -164
- package/dist/cjs/justifi-checkout.cjs.entry.js +19 -11
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +8 -8
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +14 -14
- package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
- package/dist/cjs/justifi-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +10 -10
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +15 -15
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +9 -9
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +16 -44
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payment-details.cjs.entry.js +11 -11
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +14 -16
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payments-list.cjs.entry.js +14 -14
- package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +16 -22
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +15 -15
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +15 -21
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +14 -25
- package/dist/cjs/justifi-skeleton.cjs.entry.js +4 -4
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +9 -9
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +12 -12
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +8 -8
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +14 -14
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{package-BS0_inF6.js → package-BNN5fdIc.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +16 -28
- package/dist/cjs/payment-method-option.cjs.entry.js +3 -3
- package/dist/cjs/{payment.service--kzMop3L.js → payment.service-DUq-W7tS.js} +2 -2
- package/dist/cjs/payments-list-core.cjs.entry.js +12 -12
- package/dist/cjs/{payouts-list-params-state-Cewmin_p.js → payments-list-params-state-C4c8UZtP.js} +1 -1
- package/dist/cjs/{payments-status-DXRh_ekP.js → payments-status-3iIQkoov.js} +2 -2
- package/dist/cjs/{payments-table-DFRtk-T9.js → payments-table-BSHUQhM-.js} +4 -6
- package/dist/cjs/payout-details-core.cjs.entry.js +12 -24
- package/dist/cjs/{payout.service-D3omzNG_.js → payout.service-DoKMr8Xw.js} +2 -2
- package/dist/cjs/payouts-list-core.cjs.entry.js +12 -12
- package/dist/cjs/{terminal-orders-list-params-state-Cewmin_p.js → payouts-list-params-state-C4c8UZtP.js} +1 -1
- package/dist/cjs/{payouts-status-DxTQZv3i.js → payouts-status-DoQbxIms.js} +2 -2
- package/dist/cjs/{payouts-table-DE3t0x93.js → payouts-table-BD_Fhz_j.js} +5 -7
- package/dist/cjs/{skeleton-C7DQRD6r.js → skeleton-CuIMC98G.js} +1 -1
- package/dist/cjs/spinner-CMZXdrPe.js +10 -0
- package/dist/cjs/{styled-host-BfVJlAsJ.js → styled-host-2KXbjOFw.js} +2 -4
- package/dist/cjs/{table-Ccdrt0v_.js → table-DlQCUVag.js} +5 -11
- package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +11 -11
- package/dist/cjs/{checkouts-list-params-state-Cewmin_p.js → terminal-orders-list-params-state-C4c8UZtP.js} +1 -1
- package/dist/cjs/{terminal-orders-table-B1LJitwE.js → terminal-orders-table-t6XxNy_K.js} +7 -11
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
- package/dist/cjs/{terminal.service-BOvYfpQW.js → terminal.service-Iyje71vN.js} +2 -2
- package/dist/cjs/terminals-list-core.cjs.entry.js +11 -11
- package/dist/cjs/terminals-list-params-state-C4c8UZtP.js +22 -0
- package/dist/cjs/{terminals-table-DYt7exFQ.js → terminals-table-BTdKRiBN.js} +3 -3
- package/dist/cjs/{utils-BaGF9XIe.js → utils-ChCUZgUy.js} +6 -0
- package/dist/cjs/utils-FFP5ZHyE.js +18 -0
- package/dist/cjs/webcomponents.cjs.js +3 -3
- package/dist/collection/api/Payment.js +2 -0
- package/dist/collection/api/index.js +1 -2
- package/dist/collection/api/services/apple-pay.service.js +95 -8
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +6 -3
- package/dist/collection/components/checkout/card-form/card-form.js +6 -3
- package/dist/collection/components/checkout/checkout.js +16 -1
- package/dist/collection/components/checkout/save-new-payment-method.js +26 -1
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
- 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 +1 -1
- 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 +27 -0
- package/dist/collection/components/modular-checkout/modular-checkout.js +104 -70
- package/dist/collection/components/modular-checkout/sub-components/apple-pay-skeleton.js +2 -2
- package/dist/collection/components/modular-checkout/sub-components/apple-pay.js +72 -70
- 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/plaid-payment-method.js +57 -65
- package/dist/collection/components/modular-checkout/sub-components/plaid-payment-method.test.js +8 -6
- package/dist/collection/components/modular-checkout/sub-components/saved-payment-methods.js +8 -10
- package/dist/collection/components/modular-checkout/sub-components/sezzle-payment-method.js +22 -7
- 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 +29 -10
- package/dist/collection/index.js +1 -0
- package/dist/collection/store/checkout.store.js +46 -3
- 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 +5 -5
- 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/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-radio-list-item.js +4 -4
- package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
- package/dist/collection/utils/utils.js +5 -0
- package/dist/docs.json +153 -97
- package/dist/esm/{Api-C1I68Tfr.js → Api-D4tj-h4P.js} +2 -2
- package/dist/esm/{Refund-kKW8S1h6.js → Refund-Bc5By0lb.js} +3 -1
- package/dist/esm/additional-questions-details_5.entry.js +3 -3
- package/dist/esm/{badge-DSYSJcRy.js → badge-ChwzCNAF.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +9 -9
- package/dist/esm/bank-account-form.entry.js +10 -15
- package/dist/esm/business-details-core.entry.js +6 -21
- package/dist/esm/{business.service-B3wlBl1x.js → business.service-CsbtEDNi.js} +2 -2
- package/dist/esm/{button-CpllL0At.js → button-SAIS_5os.js} +2 -3
- package/dist/esm/card-form.entry.js +10 -19
- package/dist/esm/{check-pkg-version-CGQdCjwh.js → check-pkg-version-BUkwdVdm.js} +3 -3
- package/dist/esm/{checkout.service-KDp7tISm.js → checkout.service-BCkQ9pOA.js} +2 -2
- package/dist/esm/checkout.store-DBvS7cVB.js +79 -0
- package/dist/esm/checkouts-list-core.entry.js +11 -11
- package/dist/esm/{checkouts-list-params-state-D8tzsGR_.js → checkouts-list-params-state-C2_GlMKR.js} +1 -1
- package/dist/esm/{checkouts-table-QOdiLpak.js → checkouts-table-CItEo0DU.js} +4 -6
- package/dist/esm/{config-state-DZeVYerv.js → config-state-Blo0ywwc.js} +1 -1
- package/dist/esm/custom-popper_2.entry.js +3 -3
- package/dist/esm/{dispute.service-DEZEPwn-.js → dispute.service-CyLtJREK.js} +2 -2
- 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-R7U07nTg.js → form-control-error-text-IXJJ4JpV.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +5 -5
- package/dist/esm/{form-control-help-text-CRLH-2f7.js → form-control-help-text-CuhIsM3v.js} +1 -1
- package/dist/esm/form-control-help-text.entry.js +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +3 -3
- package/dist/esm/form-control-monetary.entry.js +6 -6
- 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 +6 -6
- package/dist/esm/{get-payment-details-CYASKLT7.js → get-payment-details-BuT0QNOo.js} +2 -2
- package/dist/esm/{get-subaccounts-E0PYy_pc.js → get-subaccounts-VjY6-x_9.js} +3 -3
- package/dist/esm/gross-payment-chart-core.entry.js +5 -5
- package/dist/esm/{header-1-3M9If0gM.js → header-1-zXsamUS3.js} +1 -1
- package/dist/esm/{header-3-CWa41YWq.js → header-3-DVtaUAlf.js} +1 -1
- package/dist/esm/hidden-input_2.entry.js +8 -8
- package/dist/esm/{checkout.store-UMe84fjY.js → index-DCIW8z1f.js} +27 -38
- package/dist/esm/{index-B_KxSZIF.js → index-ZfXl6Xrm.js} +1 -1
- package/dist/esm/{index-Bn7inNWG.js → index-qipqIMyC.js} +8 -2
- package/dist/esm/index.js +1 -1
- package/dist/esm/{insurance-state-CTalqbNa.js → insurance-state-Dh9f36Qh.js} +2 -2
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +9 -24
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +8 -8
- package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
- package/dist/esm/justifi-apple-pay.entry.js +177 -86
- package/dist/esm/justifi-bank-account-billing-form-simple_9.entry.js +24 -42
- package/dist/esm/justifi-business-details.entry.js +10 -10
- package/dist/esm/justifi-business-form.entry.js +15 -30
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
- package/dist/esm/justifi-checkout-summary_7.entry.js +185 -157
- package/dist/esm/justifi-checkout.entry.js +19 -11
- package/dist/esm/justifi-checkouts-list-filters.entry.js +8 -8
- package/dist/esm/justifi-checkouts-list.entry.js +14 -14
- package/dist/esm/justifi-config-provider.entry.js +3 -3
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-dispute-management-core.entry.js +2 -2
- package/dist/esm/justifi-dispute-management.entry.js +10 -10
- package/dist/esm/justifi-dispute-notification_3.entry.js +15 -15
- package/dist/esm/justifi-gross-payment-chart.entry.js +9 -9
- package/dist/esm/justifi-order-terminals.entry.js +16 -44
- package/dist/esm/justifi-owner-form_3.entry.js +8 -8
- package/dist/esm/justifi-payment-details.entry.js +11 -11
- package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -3
- package/dist/esm/justifi-payment-provisioning.entry.js +9 -9
- package/dist/esm/justifi-payment-transactions-list.entry.js +14 -16
- package/dist/esm/justifi-payments-list-filters.entry.js +7 -7
- package/dist/esm/justifi-payments-list.entry.js +14 -14
- package/dist/esm/justifi-payout-details.entry.js +10 -10
- package/dist/esm/justifi-payout-transactions-list.entry.js +16 -22
- package/dist/esm/justifi-payouts-list-filters.entry.js +7 -7
- package/dist/esm/justifi-payouts-list.entry.js +15 -15
- package/dist/esm/justifi-refund-payment.entry.js +15 -21
- package/dist/esm/justifi-saved-payment-method.entry.js +1 -1
- package/dist/esm/justifi-season-interruption-insurance.entry.js +14 -25
- package/dist/esm/justifi-skeleton.entry.js +4 -4
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +9 -9
- package/dist/esm/justifi-terminal-orders-list.entry.js +12 -12
- package/dist/esm/justifi-terminals-list-filters.entry.js +8 -8
- package/dist/esm/justifi-terminals-list.entry.js +14 -14
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{package-BiWRKUx3.js → package-BBpkkt2-.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/payment-details-core.entry.js +16 -28
- package/dist/esm/payment-method-option.entry.js +3 -3
- package/dist/esm/{payment.service-uJpJaX2Z.js → payment.service-QJEmd6Nl.js} +2 -2
- package/dist/esm/payments-list-core.entry.js +12 -12
- package/dist/esm/{payments-list-params-state-D8tzsGR_.js → payments-list-params-state-C2_GlMKR.js} +1 -1
- package/dist/esm/{payments-status-5orNU2Rd.js → payments-status-DDafc8Yr.js} +2 -2
- package/dist/esm/{payments-table-B0uyodyJ.js → payments-table-De3Jb6rY.js} +4 -6
- package/dist/esm/payout-details-core.entry.js +12 -24
- package/dist/esm/{payout.service-ClUgtbbb.js → payout.service-XxyEr0rj.js} +2 -2
- package/dist/esm/payouts-list-core.entry.js +12 -12
- package/dist/esm/{payouts-list-params-state-D8tzsGR_.js → payouts-list-params-state-C2_GlMKR.js} +1 -1
- package/dist/esm/{payouts-status-CZPwa2AE.js → payouts-status-u1eSRz3Q.js} +2 -2
- package/dist/esm/{payouts-table-CaCSX_0q.js → payouts-table-BO-MCzXj.js} +5 -7
- package/dist/esm/{skeleton-qMb0_Cjy.js → skeleton-DtpkgjZ6.js} +1 -1
- package/dist/esm/spinner-CIXUVK4F.js +8 -0
- package/dist/esm/{styled-host-CTAGIN84.js → styled-host-CbizlfAU.js} +2 -4
- package/dist/esm/{table-Br3n9Xu-.js → table-DcRHK_sm.js} +5 -11
- package/dist/esm/table-filters-menu.entry.js +3 -3
- package/dist/esm/terminal-orders-list-core.entry.js +11 -11
- package/dist/esm/{terminal-orders-list-params-state-D8tzsGR_.js → terminal-orders-list-params-state-C2_GlMKR.js} +1 -1
- package/dist/esm/{terminal-orders-table-DPtof5Zb.js → terminal-orders-table-9nsnrAq8.js} +7 -11
- package/dist/esm/terminal-quantity-selector.entry.js +2 -2
- package/dist/esm/{terminal.service-ClNtE3e-.js → terminal.service-D2oETGnk.js} +2 -2
- package/dist/esm/terminals-list-core.entry.js +11 -11
- package/dist/esm/terminals-list-params-state-C2_GlMKR.js +16 -0
- package/dist/esm/{terminals-table-ClkR_jrC.js → terminals-table-C6NO2m-t.js} +3 -3
- package/dist/esm/{utils-lb8p1Exq.js → utils-BscIVFn8.js} +6 -1
- package/dist/esm/utils-_ckvHjSW.js +11 -0
- package/dist/esm/webcomponents.js +4 -4
- package/dist/module/ModularCheckout.js +57 -0
- package/dist/module/Refund.js +2 -0
- package/dist/module/additional-questions-details2.js +4 -2
- package/dist/module/additional-questions.js +4 -2
- package/dist/module/additional-statement.js +5 -3
- package/dist/module/bank-account-billing-form-simple.js +4 -2
- package/dist/module/bank-account-document-inputs.js +4 -2
- package/dist/module/bank-account-form-inputs2.js +4 -2
- package/dist/module/bank-account-form.js +10 -13
- package/dist/module/bank-account.js +7 -13
- package/dist/module/billing-form-full.js +4 -2
- package/dist/module/billing-form.js +4 -2
- package/dist/module/business-additional-questions-form-step-core.js +4 -2
- package/dist/module/business-additional-questions-form-step.js +4 -2
- package/dist/module/business-bank-account-form-step-core.js +4 -2
- package/dist/module/business-bank-account-form-step.js +4 -2
- package/dist/module/business-core-info-form-step-core.js +4 -2
- package/dist/module/business-core-info-form-step.js +4 -2
- package/dist/module/business-core-info.js +4 -2
- package/dist/module/business-details-core2.js +6 -19
- package/dist/module/business-documents-on-file2.js +4 -2
- package/dist/module/business-owners-form-step-core.js +4 -2
- package/dist/module/business-owners-form-step.js +4 -2
- package/dist/module/business-representative-form-inputs.js +4 -2
- package/dist/module/business-representative-form-step-core.js +4 -2
- package/dist/module/business-representative-form-step.js +4 -2
- package/dist/module/business-representative.js +4 -2
- package/dist/module/business-terms-conditions-form-step.js +4 -2
- package/dist/module/button.js +1 -2
- package/dist/module/cancellation-policy.js +5 -3
- package/dist/module/card-billing-form-simple.js +4 -2
- package/dist/module/card-form.js +10 -17
- package/dist/module/card-form2.js +7 -17
- package/dist/module/checkout.store.js +42 -31
- package/dist/module/checkouts-list-core2.js +6 -6
- package/dist/module/core-info-details2.js +4 -2
- package/dist/module/custom-popper2.js +6 -4
- package/dist/module/customer-details.js +5 -3
- package/dist/module/details.js +4 -2
- package/dist/module/dispute-management-core.js +5 -3
- package/dist/module/dispute-notification.js +5 -3
- package/dist/module/dispute-response-core.js +5 -3
- package/dist/module/dispute-response.js +5 -3
- package/dist/module/duplicate-charge.js +5 -3
- package/dist/module/electronic-evidence.js +5 -3
- package/dist/module/form-alert2.js +4 -2
- package/dist/module/form-control-checkbox2.js +6 -4
- package/dist/module/form-control-date2.js +6 -4
- package/dist/module/form-control-file-v22.js +5 -3
- package/dist/module/form-control-file2.js +6 -4
- package/dist/module/form-control-help-text2.js +4 -2
- package/dist/module/form-control-monetary-provisioning2.js +4 -2
- package/dist/module/form-control-monetary2.js +6 -4
- package/dist/module/form-control-number-masked2.js +6 -4
- package/dist/module/form-control-number.js +6 -4
- package/dist/module/form-control-radio2.js +7 -5
- package/dist/module/form-control-select2.js +6 -4
- package/dist/module/form-control-text2.js +6 -4
- package/dist/module/form-control-textarea2.js +6 -4
- package/dist/module/form-control-tooltip2.js +4 -2
- package/dist/module/gross-payment-chart-core2.js +6 -4
- package/dist/module/hidden-input2.js +5 -3
- package/dist/module/identity-address-form.js +4 -2
- package/dist/module/iframe-input2.js +7 -5
- package/dist/module/index.js +1 -0
- package/dist/module/justifi-apple-pay.js +174 -86
- package/dist/module/justifi-business-details.js +4 -2
- package/dist/module/justifi-business-form.js +6 -19
- package/dist/module/justifi-button2.js +5 -3
- package/dist/module/justifi-checkout.js +15 -4
- package/dist/module/justifi-checkouts-list-filters.js +5 -3
- package/dist/module/justifi-checkouts-list.js +5 -3
- package/dist/module/justifi-config-provider.js +4 -2
- package/dist/module/justifi-dispute-management.js +5 -3
- package/dist/module/justifi-gross-payment-chart.js +4 -2
- package/dist/module/justifi-header2.js +5 -3
- package/dist/module/justifi-order-terminals.js +9 -35
- package/dist/module/justifi-payment-details.js +4 -2
- package/dist/module/justifi-payment-provisioning.js +4 -2
- package/dist/module/justifi-payment-transactions-list.js +6 -6
- package/dist/module/justifi-payments-list-filters.js +6 -4
- package/dist/module/justifi-payments-list.js +5 -3
- package/dist/module/justifi-payout-details.js +4 -2
- package/dist/module/justifi-payout-transactions-list.js +8 -12
- package/dist/module/justifi-payouts-list-filters.js +6 -4
- package/dist/module/justifi-payouts-list.js +5 -3
- package/dist/module/justifi-radio-list-item2.js +6 -4
- package/dist/module/justifi-refund-payment.js +6 -10
- package/dist/module/justifi-saved-payment-method.js +4 -2
- package/dist/module/justifi-season-interruption-insurance.js +6 -16
- package/dist/module/justifi-skeleton.js +5 -3
- package/dist/module/justifi-terminal-orders-list-filters.js +6 -4
- package/dist/module/justifi-terminal-orders-list.js +5 -3
- package/dist/module/justifi-terminals-list-filters.js +5 -3
- package/dist/module/justifi-terminals-list.js +5 -3
- package/dist/module/legal-address-details2.js +4 -2
- package/dist/module/legal-address-form-step-core.js +4 -2
- package/dist/module/legal-address-form-step.js +4 -2
- package/dist/module/legal-address-form.js +4 -2
- package/dist/module/modular-checkout.js +94 -39
- package/dist/module/owner-details2.js +4 -2
- package/dist/module/owner-form-core2.js +4 -2
- package/dist/module/owner-form-inputs2.js +4 -2
- package/dist/module/owner-form.js +4 -2
- package/dist/module/package.js +1 -1
- package/dist/module/pagination-menu2.js +4 -2
- package/dist/module/payment-details-core2.js +13 -23
- package/dist/module/payment-method-option.js +5 -3
- package/dist/module/payment-provisioning-core.js +4 -2
- package/dist/module/payment-provisioning-form-buttons.js +4 -2
- package/dist/module/payment-provisioning-form-steps.js +4 -2
- package/dist/module/payment-provisioning-loading.js +2 -17
- package/dist/module/payments-list-core2.js +6 -6
- package/dist/module/payout-details-core2.js +8 -18
- package/dist/module/payouts-list-core2.js +7 -7
- package/dist/module/plaid-payment-method.js +49 -104
- package/dist/module/plaid.service.js +26 -0
- package/dist/module/product-or-service.js +5 -3
- package/dist/module/refund-policy.js +5 -3
- package/dist/module/representative-details2.js +4 -2
- package/dist/module/save-new-payment-method.js +7 -3
- package/dist/module/saved-payment-methods.js +13 -12
- package/dist/module/sezzle-payment-method.js +14 -24
- package/dist/module/shipping-details.js +5 -3
- package/dist/module/spinner.js +1 -3
- package/dist/module/styled-host.js +1 -3
- package/dist/module/summary.js +5 -3
- package/dist/module/table-filters-menu2.js +5 -3
- package/dist/module/table.js +3 -9
- package/dist/module/terminal-orders-list-core2.js +7 -9
- package/dist/module/terminal-quantity-selector2.js +5 -3
- package/dist/module/terminals-list-core2.js +6 -4
- package/dist/module/tokenize-payment-method.js +16 -12
- package/dist/module/utils.js +5 -16
- package/dist/module/utils2.js +6 -1
- package/dist/types/api/Checkout.d.ts +7 -15
- package/dist/types/api/Payment.d.ts +3 -1
- package/dist/types/api/index.d.ts +2 -2
- package/dist/types/api/services/apple-pay.service.d.ts +7 -0
- package/dist/types/components/checkout/bank-account-form/bank-account-form.d.ts +1 -0
- package/dist/types/components/checkout/card-form/card-form.d.ts +1 -0
- package/dist/types/components/checkout/checkout.d.ts +5 -0
- package/dist/types/components/checkout/save-new-payment-method.d.ts +1 -0
- package/dist/types/components/modular-checkout/ModularCheckout.d.ts +41 -0
- package/dist/types/components/modular-checkout/modular-checkout.d.ts +5 -5
- package/dist/types/components/modular-checkout/sub-components/apple-pay-skeleton.d.ts +1 -1
- package/dist/types/components/modular-checkout/sub-components/apple-pay.d.ts +9 -3
- package/dist/types/components/modular-checkout/sub-components/plaid-payment-method.d.ts +1 -2
- package/dist/types/components/modular-checkout/sub-components/saved-payment-methods.d.ts +3 -3
- package/dist/types/components/modular-checkout/sub-components/sezzle-payment-method.d.ts +1 -1
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +2 -1
- package/dist/types/components.d.ts +23 -19
- package/dist/types/index.d.ts +4 -0
- package/dist/types/stencil-public-runtime.d.ts +21 -0
- package/dist/types/store/checkout.store.d.ts +12 -5
- package/dist/types/ui-components/form/form-control-radio.d.ts +1 -1
- package/dist/types/ui-components/shadow-dom-components/justifi-radio-list-item.d.ts +1 -1
- package/dist/types/utils/utils.d.ts +1 -0
- package/dist/webcomponents/index.esm.js +1 -0
- package/dist/webcomponents/p-005efe51.entry.js +1 -0
- package/dist/webcomponents/p-0142114f.entry.js +1 -0
- package/dist/webcomponents/{p-54ca3070.entry.js → p-0801324e.entry.js} +1 -1
- package/dist/webcomponents/p-0d8fe5f2.entry.js +1 -0
- package/dist/webcomponents/{p-613421d4.entry.js → p-146de253.entry.js} +1 -1
- package/dist/webcomponents/p-17f7590c.entry.js +1 -0
- package/dist/webcomponents/{p-9846b23d.entry.js → p-1b7926f6.entry.js} +1 -1
- package/dist/webcomponents/{p-44450a94.entry.js → p-20f036cc.entry.js} +1 -1
- package/dist/webcomponents/{p-f13ae573.entry.js → p-2246aa69.entry.js} +1 -1
- package/dist/webcomponents/p-246ef4ff.entry.js +1 -0
- package/dist/webcomponents/p-25484e99.entry.js +1 -0
- package/dist/webcomponents/{p-4e3bf98f.entry.js → p-265d0a1d.entry.js} +1 -1
- package/dist/webcomponents/{p-4213d10e.entry.js → p-27fc3ef0.entry.js} +3 -3
- package/dist/webcomponents/{p-aeeb0f68.entry.js → p-2a43e77f.entry.js} +1 -1
- package/dist/webcomponents/p-30c414b5.entry.js +1 -0
- package/dist/webcomponents/{p-497632ad.entry.js → p-3152c84f.entry.js} +1 -1
- package/dist/webcomponents/p-3546a5aa.entry.js +1 -0
- package/dist/webcomponents/p-3621a429.entry.js +1 -0
- package/dist/webcomponents/p-3906296f.entry.js +1 -0
- package/dist/webcomponents/{p-f1cba43c.entry.js → p-3d37045d.entry.js} +1 -1
- package/dist/webcomponents/p-3e320c0d.entry.js +1 -0
- package/dist/webcomponents/p-406ba650.entry.js +1 -0
- package/dist/webcomponents/p-44d1341c.entry.js +1 -0
- package/dist/webcomponents/{p-6255c685.entry.js → p-44e32f85.entry.js} +1 -1
- package/dist/webcomponents/p-4ea83bfd.entry.js +1 -0
- package/dist/webcomponents/p-558f7967.entry.js +1 -0
- package/dist/webcomponents/p-5c3d8de5.entry.js +1 -0
- package/dist/webcomponents/p-5c477f08.entry.js +1 -0
- package/dist/webcomponents/p-68329f16.entry.js +1 -0
- package/dist/webcomponents/p-6fdc03bc.entry.js +1 -0
- package/dist/webcomponents/p-6fe79f16.entry.js +1 -0
- package/dist/webcomponents/p-7aeb20d2.entry.js +1 -0
- package/dist/webcomponents/p-7b103dad.entry.js +1 -0
- package/dist/webcomponents/{p-28618e6f.entry.js → p-7c5cd118.entry.js} +1 -1
- package/dist/webcomponents/{p-36d9d95a.entry.js → p-7cb6cc9f.entry.js} +1 -1
- package/dist/webcomponents/p-7e04d5af.entry.js +1 -0
- package/dist/webcomponents/p-82781411.entry.js +1 -0
- package/dist/webcomponents/p-84043580.entry.js +1 -0
- package/dist/webcomponents/p-8467851a.entry.js +1 -0
- package/dist/webcomponents/{p-95cbb655.entry.js → p-8d3f5638.entry.js} +1 -1
- package/dist/webcomponents/p-906fdf0c.entry.js +1 -0
- package/dist/webcomponents/{p-9a2c044f.entry.js → p-90e43440.entry.js} +1 -1
- package/dist/webcomponents/p-95348ff6.entry.js +1 -0
- package/dist/webcomponents/{p-15705e8a.entry.js → p-9c4079cc.entry.js} +1 -1
- package/dist/webcomponents/{p-43c5f490.entry.js → p-9d7b5d07.entry.js} +1 -1
- package/dist/webcomponents/{p-bc2da364.entry.js → p-9fc464eb.entry.js} +1 -1
- package/dist/webcomponents/{p-0mMX1Zv4.js → p-B4idKqyn.js} +1 -1
- package/dist/webcomponents/p-BBpkkt2-.js +1 -0
- package/dist/webcomponents/{p-zdIeCUeh.js → p-BHf9IqGw.js} +1 -1
- package/dist/webcomponents/{p-DNo0OPOP.js → p-BIPdn2VU.js} +1 -1
- package/dist/webcomponents/{p-BPtcGAzB.js → p-BUa0YOaw.js} +1 -1
- package/dist/webcomponents/{p-B8iBcmNu.js → p-BY2p6Sxk.js} +1 -1
- package/dist/webcomponents/{p-CB0mCq1M.js → p-BZ7C9duj.js} +1 -1
- package/dist/webcomponents/{p-DGmp4ErD.js → p-BdLLGV9t.js} +1 -1
- package/dist/webcomponents/p-BguBT6Hn.js +1 -0
- package/dist/webcomponents/{p-DhGNCW2f.js → p-Bp_QFeog.js} +1 -1
- package/dist/webcomponents/{p-B71k50jz.js → p-Bvp7uul3.js} +1 -1
- package/dist/webcomponents/{p-CvG-itHC.js → p-C1xGBPma.js} +1 -1
- package/dist/webcomponents/p-C3n7-tlg.js +1 -0
- package/dist/webcomponents/{p-DxqCFDtF.js → p-CLQx9p9q.js} +1 -1
- package/dist/webcomponents/{p-b21ncS7l.js → p-CPVN4dXS.js} +1 -1
- package/dist/webcomponents/p-CQeex56P.js +1 -0
- package/dist/webcomponents/p-CU4XQ3fO.js +1 -0
- package/dist/webcomponents/{p-Bb-6bNcq.js → p-C_3N7nqh.js} +1 -1
- package/dist/webcomponents/{p-BRLwUSZk.js → p-CaxjN6Uo.js} +1 -1
- package/dist/webcomponents/p-CpKvg1ok.js +1 -0
- package/dist/webcomponents/p-CrQgyTRz.js +1 -0
- package/dist/webcomponents/{p-Bu1jU017.js → p-CxzFvTgf.js} +1 -1
- package/dist/webcomponents/{p-DVBbk00Z.js → p-CzPUMw00.js} +1 -1
- package/dist/webcomponents/{p-DDUmOl3v.js → p-D--yCspA.js} +1 -1
- package/dist/webcomponents/{p-qWQmu-fb.js → p-D-JYHdJ7.js} +1 -1
- package/dist/webcomponents/p-D6XirF21.js +1 -0
- package/dist/webcomponents/p-DCIW8z1f.js +1 -0
- package/dist/webcomponents/{p-BfM6X7lF.js → p-DCMrHeJI.js} +1 -1
- package/dist/webcomponents/{p-B_6n1dAh.js → p-D_5McRD_.js} +1 -1
- package/dist/webcomponents/p-DbX0g1WF.js +1 -0
- package/dist/webcomponents/p-De8UloOS.js +1 -0
- package/dist/webcomponents/p-DsAwPf2y.js +1 -0
- package/dist/webcomponents/p-DvZcI6pC.js +1 -0
- package/dist/webcomponents/p-DyDHaG6n.js +1 -0
- package/dist/webcomponents/{p-D2_iJUrZ.js → p-DyOgQlh2.js} +1 -1
- package/dist/webcomponents/p-IG_KR8zP.js +1 -0
- package/dist/webcomponents/p-Xv8DuU3Y.js +1 -0
- package/dist/webcomponents/{p-d46dbb83.entry.js → p-a71a5e64.entry.js} +1 -1
- package/dist/webcomponents/p-a7e40e91.entry.js +1 -0
- package/dist/webcomponents/{p-72dda22b.entry.js → p-a90b8b93.entry.js} +1 -1
- package/dist/webcomponents/{p-70f51444.entry.js → p-a928c6fb.entry.js} +1 -1
- package/dist/webcomponents/p-b90999af.entry.js +1 -0
- package/dist/webcomponents/{p-4178bdbe.entry.js → p-bc3cdc7b.entry.js} +1 -1
- package/dist/webcomponents/p-c16c0cbc.entry.js +1 -0
- package/dist/webcomponents/p-c262d10f.entry.js +1 -0
- package/dist/webcomponents/p-c4Mh3ZZ_.js +1 -0
- package/dist/webcomponents/p-c70e1aac.entry.js +1 -0
- package/dist/webcomponents/{p-f680e617.entry.js → p-cecb65c4.entry.js} +1 -1
- package/dist/webcomponents/p-d7555ff1.entry.js +1 -0
- package/dist/webcomponents/{p-8ff839a4.entry.js → p-df329742.entry.js} +1 -1
- package/dist/webcomponents/{p-3e667b07.entry.js → p-e2a38ad0.entry.js} +1 -1
- package/dist/webcomponents/p-e6516014.entry.js +1 -0
- package/dist/webcomponents/{p-97c0dde4.entry.js → p-e6e96be2.entry.js} +1 -1
- package/dist/webcomponents/p-e79338f9.entry.js +1 -0
- package/dist/webcomponents/p-ea2a9a81.entry.js +1 -0
- package/dist/webcomponents/p-f5c3f489.entry.js +1 -0
- package/dist/webcomponents/p-f6fbd43d.entry.js +1 -0
- package/dist/webcomponents/{p-36a71a36.entry.js → p-f7690165.entry.js} +1 -1
- package/dist/webcomponents/{p-7cf87637.entry.js → p-f8cbcbe9.entry.js} +1 -1
- package/dist/webcomponents/p-f99e4566.entry.js +1 -0
- package/dist/webcomponents/{p-C5id7s_l.js → p-fUtq2xDs.js} +1 -1
- package/dist/webcomponents/{p-Dgflaz6J.js → p-oGKW57R8.js} +1 -1
- package/dist/webcomponents/p-qipqIMyC.js +2 -0
- package/dist/webcomponents/p-xY5RkFuA.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +2 -2
- package/dist/cjs/spinner-jmeA44Ee.js +0 -12
- package/dist/cjs/terminals-list-params-state-Cewmin_p.js +0 -22
- package/dist/cjs/utils-Bzyj4qWe.js +0 -29
- package/dist/esm/spinner-DUzyWLhj.js +0 -10
- package/dist/esm/terminals-list-params-state-D8tzsGR_.js +0 -16
- package/dist/esm/utils-Dg6gMUTv.js +0 -22
- package/dist/webcomponents/p-040e8524.entry.js +0 -1
- package/dist/webcomponents/p-0db9943e.entry.js +0 -1
- package/dist/webcomponents/p-1288fda5.entry.js +0 -1
- package/dist/webcomponents/p-14ff3155.entry.js +0 -1
- package/dist/webcomponents/p-2f01dfd2.entry.js +0 -1
- package/dist/webcomponents/p-3aecd2cd.entry.js +0 -1
- package/dist/webcomponents/p-3bf63d1e.entry.js +0 -1
- package/dist/webcomponents/p-41e17edd.entry.js +0 -1
- package/dist/webcomponents/p-48e87a26.entry.js +0 -1
- package/dist/webcomponents/p-5580e6ca.entry.js +0 -1
- package/dist/webcomponents/p-57dde36e.entry.js +0 -1
- package/dist/webcomponents/p-5bc6f5ca.entry.js +0 -1
- package/dist/webcomponents/p-5f87add5.entry.js +0 -1
- package/dist/webcomponents/p-60206d9c.entry.js +0 -1
- package/dist/webcomponents/p-6c9732b6.entry.js +0 -1
- package/dist/webcomponents/p-7089fb85.entry.js +0 -1
- package/dist/webcomponents/p-7500c5b7.entry.js +0 -1
- package/dist/webcomponents/p-79da5350.entry.js +0 -1
- package/dist/webcomponents/p-87884ca5.entry.js +0 -1
- package/dist/webcomponents/p-88905a54.entry.js +0 -1
- package/dist/webcomponents/p-8990707a.entry.js +0 -1
- package/dist/webcomponents/p-8b7cbdbf.entry.js +0 -1
- package/dist/webcomponents/p-8cca8903.entry.js +0 -1
- package/dist/webcomponents/p-8dc4eb6a.entry.js +0 -1
- package/dist/webcomponents/p-98cffba9.entry.js +0 -1
- package/dist/webcomponents/p-9df86b97.entry.js +0 -1
- package/dist/webcomponents/p-9edfd38c.entry.js +0 -1
- package/dist/webcomponents/p-9f5c9e41.entry.js +0 -1
- package/dist/webcomponents/p-B5Rc83j1.js +0 -1
- package/dist/webcomponents/p-BEPUC3Po.js +0 -1
- package/dist/webcomponents/p-BP7op0vq.js +0 -1
- package/dist/webcomponents/p-BQ2TIFoY.js +0 -1
- package/dist/webcomponents/p-BSt6p1oq.js +0 -1
- package/dist/webcomponents/p-BY1mRAvj.js +0 -1
- package/dist/webcomponents/p-BbZwa5UI.js +0 -1
- package/dist/webcomponents/p-BiWRKUx3.js +0 -1
- package/dist/webcomponents/p-Bn7inNWG.js +0 -2
- package/dist/webcomponents/p-C6c6Q0E7.js +0 -1
- package/dist/webcomponents/p-CaAVuW6B.js +0 -1
- package/dist/webcomponents/p-CpaS1Lex.js +0 -1
- package/dist/webcomponents/p-DD0Mvpeu.js +0 -1
- package/dist/webcomponents/p-DIDloHpm.js +0 -1
- package/dist/webcomponents/p-Dc1CS9Mi.js +0 -1
- package/dist/webcomponents/p-DsZZxRXY.js +0 -1
- package/dist/webcomponents/p-a1d3bb81.entry.js +0 -1
- package/dist/webcomponents/p-a9957ca5.entry.js +0 -1
- package/dist/webcomponents/p-abbf14b5.entry.js +0 -1
- package/dist/webcomponents/p-b2dcef65.entry.js +0 -1
- package/dist/webcomponents/p-c44325f8.entry.js +0 -1
- package/dist/webcomponents/p-c874ca2b.entry.js +0 -1
- package/dist/webcomponents/p-caac63bf.entry.js +0 -1
- package/dist/webcomponents/p-d72e8541.entry.js +0 -1
- package/dist/webcomponents/p-da44dc6e.entry.js +0 -1
- package/dist/webcomponents/p-e0cb5de5.entry.js +0 -1
- package/dist/webcomponents/p-eP3fmhta.js +0 -1
- package/dist/webcomponents/p-ecce97b3.entry.js +0 -1
- package/dist/webcomponents/p-fd4ffaa2.entry.js +0 -1
- package/dist/webcomponents/p-sw5RO19U.js +0 -1
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { formatCurrency } from "../../../utils/utils";
|
|
3
|
-
import { radioListItem } from "../../../styles/parts";
|
|
4
3
|
import { checkoutStore } from "../../../store/checkout.store";
|
|
5
4
|
import { StyledHost } from "../../../ui-components";
|
|
6
5
|
import { PAYMENT_METHODS } from "../ModularCheckout";
|
|
@@ -13,11 +12,6 @@ const sezzleLogo = (h("img", { class: "sezzle-smart-button-logo-img", src: "http
|
|
|
13
12
|
export class SezzlePaymentMethod {
|
|
14
13
|
constructor() {
|
|
15
14
|
this.paymentMethodOptionId = PAYMENT_METHODS.SEZZLE;
|
|
16
|
-
this.onPaymentMethodOptionClick = (e) => {
|
|
17
|
-
e.preventDefault();
|
|
18
|
-
checkoutStore.selectedPaymentMethod = this.paymentMethodOptionId;
|
|
19
|
-
this.paymentMethodOptionSelected.emit(this.paymentMethodOptionId);
|
|
20
|
-
};
|
|
21
15
|
this.initializeSezzleCheckout = () => {
|
|
22
16
|
let resolveSezzlePromise;
|
|
23
17
|
this.sezzlePromise = new Promise((resolve) => { resolveSezzlePromise = resolve; });
|
|
@@ -60,13 +54,17 @@ export class SezzlePaymentMethod {
|
|
|
60
54
|
this.sezzleButtonRef.click();
|
|
61
55
|
return this.sezzlePromise;
|
|
62
56
|
}
|
|
57
|
+
async handleSelectionClick() {
|
|
58
|
+
checkoutStore.selectedPaymentMethod = { type: PAYMENT_METHODS.SEZZLE };
|
|
59
|
+
this.paymentMethodOptionSelected.emit(this.paymentMethodOptionId);
|
|
60
|
+
}
|
|
63
61
|
render() {
|
|
64
62
|
var _a, _b;
|
|
65
63
|
if (!checkoutStore.bnplEnabled || checkoutStore.disableBnpl) {
|
|
66
64
|
console.warn('justifi-sezzle-payment-method: BNPL is not enabled for this account.');
|
|
67
65
|
return null;
|
|
68
66
|
}
|
|
69
|
-
return (h(StyledHost, { class: "payment-method" }, h("script", { src: "https://checkout-sdk.sezzle.com/checkout.min.js", async: true, ref: (el) => (this.scriptRef = el) }), h("div",
|
|
67
|
+
return (h(StyledHost, { class: "payment-method" }, h("script", { src: "https://checkout-sdk.sezzle.com/checkout.min.js", async: true, ref: (el) => (this.scriptRef = el) }), h("div", null, h("div", null, "Buy now, pay later with ", sezzleLogo), this.installmentPlan && (h("small", null, h("span", null, (_a = this.installmentPlan) === null || _a === void 0 ? void 0 : _a.installments.length), "\u00A0", h("span", null, this.installmentPlan.schedule, " payments of"), "\u00A0", h("span", { class: "fw-bold" }, formatCurrency((_b = this.installmentPlan) === null || _b === void 0 ? void 0 : _b.installments[0].amountInCents)))))));
|
|
70
68
|
}
|
|
71
69
|
static get is() { return "justifi-sezzle-payment-method"; }
|
|
72
70
|
static get encapsulation() { return "shadow"; }
|
|
@@ -122,6 +120,23 @@ export class SezzlePaymentMethod {
|
|
|
122
120
|
"text": "",
|
|
123
121
|
"tags": []
|
|
124
122
|
}
|
|
123
|
+
},
|
|
124
|
+
"handleSelectionClick": {
|
|
125
|
+
"complexType": {
|
|
126
|
+
"signature": "() => Promise<void>",
|
|
127
|
+
"parameters": [],
|
|
128
|
+
"references": {
|
|
129
|
+
"Promise": {
|
|
130
|
+
"location": "global",
|
|
131
|
+
"id": "global::Promise"
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
"return": "Promise<void>"
|
|
135
|
+
},
|
|
136
|
+
"docs": {
|
|
137
|
+
"text": "",
|
|
138
|
+
"tags": []
|
|
139
|
+
}
|
|
125
140
|
}
|
|
126
141
|
};
|
|
127
142
|
}
|
|
@@ -5,7 +5,7 @@ import { checkoutStore } from "../../../store/checkout.store";
|
|
|
5
5
|
import { StyledHost } from "../../../ui-components";
|
|
6
6
|
export class Summary {
|
|
7
7
|
render() {
|
|
8
|
-
return (h(StyledHost, { key: '
|
|
8
|
+
return (h(StyledHost, { key: '3161e6f6a196c79d684574cafbc90bcf741b2150' }, h("section", { key: '594b4485ed4fd9d7c1ee7f4556f071139f92ef0c' }, h("div", { key: '5c2d14677dda6fc7ddcb074d4887b839385dca3a' }, h("div", { key: 'fb850cd7e9c11741349710696dd4e6241c98e805', part: text }, checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.paymentDescription), h("div", { key: '959014d7fa2a9c97bae0c986313a604930c1e0f3' }, h("span", { key: '14ab0932a083568419b1c36c95f9072c73962b11', part: text }, "Total"), "\u00A0", h("span", { key: '08a9e00332253070ae984b77eb2a9bab88eb3472', part: text }, formatCurrency(+(checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.totalAmount))))))));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "justifi-checkout-summary"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -126,7 +126,7 @@ export class OrderTerminals {
|
|
|
126
126
|
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))));
|
|
127
127
|
}
|
|
128
128
|
render() {
|
|
129
|
-
return (h(StyledHost, { key: '
|
|
129
|
+
return (h(StyledHost, { key: '3ea6cebd4ab6bc47090056581482dab8502175c1' }, h("div", { key: '383dc710920b5119841d5cf6f1b596ebc349fd5a', part: text }, this.renderLoading(), this.renderBusinessDetails(), this.renderTerminals(), this.renderOrderSection())));
|
|
130
130
|
}
|
|
131
131
|
static get is() { return "justifi-order-terminals"; }
|
|
132
132
|
static get encapsulation() { return "shadow"; }
|
|
@@ -18,7 +18,7 @@ export class TerminalQuantitySelector {
|
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return (h("div", { key: '
|
|
21
|
+
return (h("div", { key: '852621f3c36375e9c300201e4405c95501488c6d', class: "rounded shadow-sm card p-2", part: card }, h("div", { key: '1695cd25eaf56619ef4cc39d81c11ca9b6a5cd45', class: "d-flex gap-3" }, h("div", { key: '9930b0bd8881bc70bc5bdb2b31428980ec83a49b', class: "d-flex align-items-center" }, h("img", { key: 'ac71b5e64fd9081e8dc9c962cac1e747f2234fc4', src: this.imageUrl, alt: this.modelName, height: 75, width: 75, part: image })), h("div", { key: '0d575087df793cdeaf7bc04744d60647ea7d563f', class: "d-flex flex-column flex-grow-1 gap-3 p-4 justify-content-center" }, h("div", { key: '35f18a705ee606a825c8ad7a6ebe449e6941e4e5', class: "row" }, h("div", { key: 'bf4f916904479fc7abf3167cacd9a655709a5048', class: "col-6 d-flex gap-2" }, this.modelName, h("form-control-tooltip", { key: '1a96f19f6f9732c5f8d9dbb2405de2d3f24b142d', helpText: this.description })), h("div", { key: 'af1ca75c5134c832d8f64b63833b7494c8c11ca5', class: "col-6 d-flex justify-content-end align-items-center" }, h("button", { key: '0d400a00a808c508ba870dc8e37d597581dd86ae', class: "p-0 minus btn", onClick: this.removeUnit, part: buttonLink }, "-"), h("div", { key: '4348aef4cf19c02c574242f82061087e74e82617', class: "w-25 text-center" }, this.selectedQuantity), h("button", { key: '75791dfdb7861bb7c1e4a2dc5376bceb12a19009', class: "p-0 plus btn", onClick: this.addUnit, part: buttonLink }, "+")))))));
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "terminal-quantity-selector"; }
|
|
24
24
|
static get properties() {
|
|
@@ -38,16 +38,16 @@ export class PaymentDetailsCore {
|
|
|
38
38
|
});
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
|
-
return (h(StyledHost, { key: '
|
|
42
|
-
this.payment && (h("justifi-details", { key: '
|
|
43
|
-
h(DetailSectionTitle, { key: '
|
|
44
|
-
h("div", { key: '
|
|
41
|
+
return (h(StyledHost, { key: 'a94fc292445a0d8d3d77b0702fe5f19efc432634' }, this.loading && h(PaymentDetailsLoading, { key: 'd07e44b295fd5ce424a0a67d21e3c4ceec4634f4' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
|
|
42
|
+
this.payment && (h("justifi-details", { key: 'c6cd0c034c948b4b96415b5bde6a3808dc1686e2', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: 'cff0b6a11617d68a42f20d6e3631097bafc34971', 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: 'a143d34fd230aa855286b1252b8e032f94fbd9a9', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payment.updated_at)} ${formatTime(this.payment.updated_at)}` }), h(EntityHeadInfoItem, { key: '96e5af4a6c37667a4be5bf27cdfec6a5ea3978fd', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payment.created_at)} ${formatTime(this.payment.created_at)}` }), h(EntityHeadInfoItem, { key: '76f2fd4b5569ad4f6463fb36984e3d4309235473', title: "ID", value: this.payment.id })), h("div", { key: '9d5b04c789c248b358ffecfebac6b62a1d8f0a27', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '78f20430c4935b222c954fdc6eba89e715f668fc', sectionTitle: "Details" }), h("div", { key: '77d314983116b6dd2fc9989c1987d2371b5902b7', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '41c4eb6797577967d4ee6bc6a546faf62bca48c6', title: "Amount", value: this.payment.formattedPaymentAmount(this.payment.amount) }), h(DetailItem, { key: '51308e304e515290f1d4e96fda9ed0b7c9523055', title: "Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: 'e6d24cb563963c8a540969437dd70674f04c02fc', title: "Refunded", value: this.payment.formattedPaymentAmount(this.payment.amount_refunded) }), h(DetailItem, { key: '1640fe0c210efb6193cc791624fd274299516f4e', title: "Net", value: this.payment.formattedPaymentAmount(this.payment.balance) }), h(DetailItem, { key: '9f2f34ef1aa4e2ec522ceda4bcdf398ede745c65', title: "Status", value: MapPaymentStatusToBadge(this.payment.status) }), h(DetailItem, { key: '9f1cf33ce4a80dc55efc2d88882e9f52933e4aaa', title: "Payment ID", value: this.payment.id }), h(DetailItem, { key: '2ec3eca801e5187912dc8107644270da03679a79', title: "Processing Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: '14065f819a71be0bee5a7980f66d88852a96a152', title: "Statement Descriptor", value: this.payment.statement_descriptor }), h(DetailItem, { key: '7c5f72aaf86eaf7ef035cd359822988573a42862', title: "Description", value: this.payment.description }), h(DetailItem, { key: 'b1081bad614684d8205ca3377e16bd2377d6da88', title: "Expedited", value: this.payment.expedited ? 'Yes' : 'No' })), this.payment.payment_method.card && [
|
|
43
|
+
h(DetailSectionTitle, { key: 'a3e655f58e6482800dc53e55c5dd17d9e41ad08d', sectionTitle: "Payment Method" }),
|
|
44
|
+
h("div", { key: '225667fced83ad89e25cfc19c950b870a2558308', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '58c44b427b356a3576584c6a59301efcab0ed67f', title: "ID", value: this.payment.payment_method.card.id }), h(DetailItem, { key: 'a2b60b522a6fbed58ad06f0df88e551070faf752', title: "Payment Type", value: "Card" }), h(DetailItem, { key: '6e094728a62fcdd01d0fdadab0bce26894dcd4b6', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: '3d703d83c3c7a115c6e64227a417997b63cf8748', title: "Brand", value: snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), h(DetailItem, { key: 'cf5dd3615ce5770f071aad7f1144862f00af760d', title: "Cardholder", value: this.payment.payment_method.payersName }))
|
|
45
45
|
], this.payment.payment_method.bank_account && [
|
|
46
|
-
h(DetailSectionTitle, { key: '
|
|
47
|
-
h("div", { key: '
|
|
46
|
+
h(DetailSectionTitle, { key: '8b167fe0967859af1555245634e4f6cdaae77ccf', sectionTitle: "Payment Method" }),
|
|
47
|
+
h("div", { key: '3b84740a7e8f792b4f3987a88bff3e85003ea549', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '1ef1e3781ea046145c58c721f1abfb2183e81db1', title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { key: '383f4756aac8901eef21786d9c9c6ff5ce097d7d', title: "Last 4 Numbers", value: this.payment.last_four_digits }), h(DetailItem, { key: '3cbb0f11eaf47b3b3923d3371f33df95ca022bd8', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { key: 'b122e28ddb446b03b0a70b6cf3ac23fe84fd945d', title: "Account Owner", value: this.payment.payment_method.payersName }))
|
|
48
48
|
], this.payment.metadata && [
|
|
49
|
-
h(DetailSectionTitle, { key: '
|
|
50
|
-
h("div", { key: '
|
|
49
|
+
h(DetailSectionTitle, { key: '5b6d6c2ade6badd80f8b6c4a4c6427710ba9ac66', sectionTitle: 'Metadata' }),
|
|
50
|
+
h("div", { key: 'a3d59ae07f2601b0895624c0a640693ef076b71e', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: 'b61349ed2f6536b2131b05ed0e8e337733309117', metadata: this.payment.metadata }))
|
|
51
51
|
])))));
|
|
52
52
|
}
|
|
53
53
|
static get is() { return "payment-details-core"; }
|
|
@@ -91,7 +91,7 @@ export class PaymentTransactionsList {
|
|
|
91
91
|
return !this.showEmptyState && !this.showErrorState && !this.isLoading;
|
|
92
92
|
}
|
|
93
93
|
render() {
|
|
94
|
-
return (h(StyledHost, { key: '
|
|
94
|
+
return (h(StyledHost, { key: 'c73dfcd1d3038dbca6800b9bd0f4e6c5fba2b8bf' }, h(TableWrapper, { key: '66d8f92a96f2ace82c05d10a9f538d6ad22b588f' }, h(TableComponent, { key: 'cff0e6344efd035f264326ecc79615bddfe8d0ac' }, h(TableHead, { key: '702e53ae1d59ab674425f4753c1cf0b6415feacd' }, h(TableHeadRow, { key: '7773de2d113af30b3a0d64405dce5d5e09a0bb8c' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: '7b86d982f52037349b5cc2f7ec5fa800e38ed519' }, h(TableLoadingState, { key: '040c3dfb101c1ea127cfcf982e4415ae94661b2a', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: '6d25f8a886cf9b15ea9c17c44dfe0bce6125c557', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: '60bb435ecf7a595cdb028df4cd95c1361ce06c8d', 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: 'accb2e3cb9dc8521c50db6a8ed306f91e5aa44c7' }, h(TableFootRow, { key: 'a4408276ce552fe4c43c60f79e7a2a3602566b2c' }, h(TableFootCell, { key: '20b13cc71f8b62166e8b6e9fce5dea2d1b4c5ac0', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: '90657ed6a805af46446bc8fb316a52252a9a2bf4', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
95
95
|
}
|
|
96
96
|
static get is() { return "justifi-payment-transactions-list"; }
|
|
97
97
|
static get encapsulation() { return "shadow"; }
|
|
@@ -83,7 +83,7 @@ export class PaymentsListCore {
|
|
|
83
83
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
84
84
|
}
|
|
85
85
|
render() {
|
|
86
|
-
return (h(TableWrapper, { key: '
|
|
86
|
+
return (h(TableWrapper, { key: '0f667b8996650351ee636d548437217696ba8845' }, h(TableComponent, { key: 'ea49b5f4a53b03525a960954df711f39ee1ec41d' }, h(TableHead, { key: '7e06f612e6aa80267abba505c5b44506a907ae1a' }, h(TableHeadRow, { key: '561827555ab274f70fe4e2e08442689b82f8b2c9' }, this.paymentsTable.columnData.map((column) => column))), h(TableBody, { key: 'a1f724d553ca43fbe20aeeb1bcbedf87e7d5b917' }, h(TableLoadingState, { key: '27c9f9e459857cf208f9bcb1a5a81f02fcac0850', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: '546e87c7198e6b7efaf1dde4dba0e2bc9dd9e4a7', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), h(TableErrorState, { key: 'cbb35d379ac52943549b58128af24f682b53254f', 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: '4b8de6a6841bd6f087f8819febd3136742e535eb' }, h(TableFootRow, { key: 'cb2f446cd73c72e551378d73d5fb7089bcf9b8a0' }, h(TableFootCell, { key: '01098f6891794529ddfc1d7b1303706313694316', colSpan: this.paymentsTable.columnData.length }, h("pagination-menu", { key: 'a907422b1d6246570d14862478154465c4ad59c9', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
87
87
|
}
|
|
88
88
|
static get is() { return "payments-list-core"; }
|
|
89
89
|
static get properties() {
|
|
@@ -43,8 +43,8 @@ export class PaymentsListFilters {
|
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
45
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
46
|
-
return (h(StyledHost, { key: '
|
|
47
|
-
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterPaymentsListFilterParam })), h("div", { key: '
|
|
46
|
+
return (h(StyledHost, { key: 'ef06ca5d0df145fd2c7f82fb164a4098b1654e7c' }, h("table-filters-menu", { key: '32739ded26b3a11092e5237d363b5b280c859f0c', params: filterMenuParams, clearParams: clearParams, part: paymentsListFilterMenu }, h("div", { key: '2e123d80c45a92944811b9124e13f6cfc2e11cc0', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: 'd9e5facfe21e0896a4f0542a12592f11c54c0bc8', class: "p-2" }, h("form-control-text", { key: '084cec1084b8be08a5520891479aa4b4ab168ab7', name: "payment_id", label: "Payment ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.paymentId || filterParams.payment_id, disabled: !!this.paymentId, part: paymentIdPaymentsListFilterParam })), h("div", { key: 'c86027af0c49931a34e31e185cfc3c0d1093caf9', class: "p-2" }, h("form-control-text", { key: '694b5ddd5f90af1d73320cb6e29ce2e3aafce0b8', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: terminalIdPaymentsListFilterParam })), h("div", { key: '4d2e5e1a0e76a58be68255e08a2a4f09dbbbc481', class: "p-2" }, h("form-control-select", { key: 'd4fa79604b6f9a390a63601001bc2ba8f8af425a', 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: '54cc9fb98d5c0f6d96abb592d5e22c037634089c', class: "p-2" }, h("form-control-date", { key: '95001198266f09607e34d0c1fa5c1d0693b67b0a', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
|
|
47
|
+
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterPaymentsListFilterParam })), h("div", { key: '3510ccb63020969b2777c65ed82cfab9027dccd8', class: "p-2" }, h("form-control-date", { key: '428a3195efb976842c186aa0b4ec76ebfb1b7836', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
|
|
48
48
|
convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: createdBeforePaymentsListFilterParam }))))));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "justifi-payments-list-filters"; }
|
|
@@ -46,7 +46,7 @@ export class PaymentsList {
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
render() {
|
|
49
|
-
return (h(StyledHost, { key: '
|
|
49
|
+
return (h(StyledHost, { key: '4cdd2e9a318226408d47198bf2de40a750a71d01' }, h("payments-list-core", { key: '87964c5dd33fd3b716964227cd990539d5d13fc4', getPayments: this.getPayments, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
50
50
|
}
|
|
51
51
|
static get is() { return "justifi-payments-list"; }
|
|
52
52
|
static get encapsulation() { return "shadow"; }
|
|
@@ -52,9 +52,9 @@ export class PayoutDetailsCore {
|
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
54
|
var _a;
|
|
55
|
-
return (h(StyledHost, { key: '
|
|
56
|
-
h(DetailSectionTitle, { key: '
|
|
57
|
-
h("div", { key: '
|
|
55
|
+
return (h(StyledHost, { key: '142cd93a5538d48542c001dfaf8ecf0a8f0649e1' }, this.loading && h(PayoutDetailsLoading, { key: 'e4a301d09a48776c7cbc3c9b606e42558748301b' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: '65c7a12cf23056d1940d08b0c3ff96368c601720', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: 'ef299affbf2facfb03f4af8f7d8933fb7cc0dac5', 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: '585d7d174f20f6b49e3fce34e0e236a89b90d083', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: '6066bfdaef670375ae97453d84422228d2a5eead', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: '7e526cbd6e31ca6139c8f31e7946749a59905fea', title: "ID", value: this.payout.id }), h("div", { key: 'eeeab1a03a0097c3c1be036d6f3f2a72dfb376dc', class: "m-4" }, h(Button, { key: 'ac90d236d37a925c157b99e1c348128bb0835060', variant: "secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: '3d01f52695bb407cba4a2166ebbd90d09580cbe9', slot: 'detail-sections' }, h(DetailSectionTitle, { key: 'ec7727a7c9a93bd51ae670f20c1453538676a95c', sectionTitle: "Details" }), h("div", { key: '469fad5f27810729811fba91c4a4275d27cbf18e', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '5f32a3e8631fdd2d047f5ccd933e200322d50de2', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: '807284a840687b7257176366ff06f5150ba4a0ad', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: '908464c42582f596e114c18f873ec3b3eac332ed', title: "Payout Method", value: this.payout.delivery_method }), h(DetailItem, { key: '736b86cfb1cbfaad58e042e6a936db4237e5fbb7', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), h(DetailItem, { key: '919453e082a6f8534df07f3fd2cd0ffc6bf81539', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), h(DetailSectionTitle, { key: '7b033d532fa94ddb0a6e53861d126a50601f8bdf', sectionTitle: "Account" }), h("div", { key: '373c6745a0ab57d21fa88e9a470e63bd8c0ad999', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'ea140c2b46fd503a85c97ec9cd5859fa8c0fc8e3', title: "ID", value: this.payout.account_id }), h(DetailItem, { key: 'd94a8db9bdc0f5ab359e3cb7b9c0cfb1002db550', title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '5317a5bef89080a7e70732025ab030674fcb79c3', title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { key: 'f46e83995276c83361933381bc620336ef44f166', title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { key: '933aee12e24e152a5a8628f303b7c7e9709baf64', title: "Account Number", value: this.payout.bank_account.account_number_last4 })), this.payout.metadata && [
|
|
56
|
+
h(DetailSectionTitle, { key: '1e5233f88f9254c0a5525032470273e2f58ed59c', sectionTitle: 'Metadata' }),
|
|
57
|
+
h("div", { key: '63678c1f4eb207a4aced6f132e95c7cd646da9a3', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '7e5095e9be051524e8ab17ffe380b1315c5f7c98', metadata: this.payout.metadata }))
|
|
58
58
|
])))));
|
|
59
59
|
}
|
|
60
60
|
static get is() { return "payout-details-core"; }
|
|
@@ -95,7 +95,7 @@ export class PayoutTransactionsList {
|
|
|
95
95
|
return Object.assign({ payout_id: this.payoutId, limit: '15' }, this.pagingParams);
|
|
96
96
|
}
|
|
97
97
|
render() {
|
|
98
|
-
return (h(StyledHost, { key: '
|
|
98
|
+
return (h(StyledHost, { key: 'f795f89fe39f8cded7f0d9c671df8e3e86de6f03' }, h(TableWrapper, { key: '5bb5f805a78965068f675012a1a491e5dd3d4416' }, h(TableComponent, { key: 'c75e72fb5bde6b3f8f127be4d76ef1fa66ce6781' }, h(TableHead, { key: '3dfb03ed0205f6fff21953e0a4c85e8b151680a1' }, h(TableHeadRow, { key: '169156e61bdf1ce6e10b89c660526a7ec9efb860' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: '1e59e340e98ace8291acfbe26836e5b2b7b7dd29' }, h(TableLoadingState, { key: '3c1a420d293d24ac9434f034c7e6de7a83698b63', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: '2038ebb6ff5480d74b0bb6a6ecf31a9531f606ef', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: '48582c83e384b4e5ba81c4d0055dc9e727a81cdd', 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: '0bb2c1f4085278db7b114c8b9c5a11702a1840d1' }, h(TableFootRow, { key: '2cc9fe5d66b433b392da1e0a1ae265db6404002d' }, h(TableFootCell, { key: 'cb21e30d68c92758efa03fbd16509ff28ab5e316', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: 'e5ac8aa63ddb08d7f70976cfceccbadab3b8efa9', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
99
99
|
}
|
|
100
100
|
static get is() { return "justifi-payout-transactions-list"; }
|
|
101
101
|
static get encapsulation() { return "shadow"; }
|
|
@@ -135,7 +135,7 @@ export class PayoutsListCore {
|
|
|
135
135
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
136
136
|
}
|
|
137
137
|
render() {
|
|
138
|
-
return (h(TableWrapper, { key: '
|
|
138
|
+
return (h(TableWrapper, { key: '503793db2fd72d3854bfa1eba2051bc822000a1a' }, h(TableComponent, { key: '1db195f7f1206bef7236ccd814c464c61b12f3d3' }, h(TableHead, { key: 'a61137a34fddf3f854102ec7a2964f127d7555f9' }, h(TableHeadRow, { key: '3d3c330e5758ccb4aa14bb7b5ae993d8d2c1718e' }, this.payoutsTable.columnData.map((column) => column))), h(TableBody, { key: 'a483803ea8dd9db844f36f9f8c7a89e81d7322b4' }, h(TableLoadingState, { key: '10bee5e971e10b0313b9b411c292f8f65bf1cf82', columnSpan: this.payoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'c8ec9f17a98baa81b4b1830eb8d0bfad45cc8ee1', isEmpty: this.showEmptyState, columnSpan: this.payoutsTable.columnKeys.length }), h(TableErrorState, { key: '94cd786053173ce22f797b0da263488cab9b5139', columnSpan: this.payoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.payoutsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '533bb1571ae70a03f60d13d5742296f425512919' }, h(TableFootRow, { key: '15924c92e5c9f2202066ebfa02aebc2c52fccee3' }, h(TableFootCell, { key: '48bd284c90d4ac044b5fd5f323c90fab5e9fdb5d', colSpan: this.payoutsTable.columnData.length }, h("pagination-menu", { key: 'cfc4bc6b077267ced59bf8b2519ee0354e676560', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
139
139
|
}
|
|
140
140
|
static get is() { return "payouts-list-core"; }
|
|
141
141
|
static get properties() {
|
|
@@ -26,8 +26,8 @@ export class PayoutsListFilters {
|
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
28
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
29
|
-
return (h(StyledHost, { key: '
|
|
30
|
-
convertToLocal(filterParams.created_after, { showInputDate: true }), disabled: !!this.createdAfter, part: createdAfterPayoutsListFilterParam })), h("div", { key: '
|
|
29
|
+
return (h(StyledHost, { key: '83debaafb73e9143b6e2e7804f69c4124845d01e' }, h("table-filters-menu", { key: '162c3af697cef40e2a93c7e0245ec4d7d385f361', params: filterMenuParams, clearParams: clearParams, part: payoutsListFilterMenu }, h("div", { key: '7e118d535a6bed14a1ea6e7ed920fd682bbd3705', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: 'dfd557f8d5a3f834bbaa5164ef2c1e7d3c19adcc', class: "p-2" }, h("form-control-date", { key: '01d9e16489abce36d4f770c4c06912923026860f', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDate: true }) ||
|
|
30
|
+
convertToLocal(filterParams.created_after, { showInputDate: true }), disabled: !!this.createdAfter, part: createdAfterPayoutsListFilterParam })), h("div", { key: '9e7167618cc737911056c9217dc6a1ca77c1f41b', class: "p-2" }, h("form-control-date", { key: 'd80e6e2ebda1cd8f290daff21908f7dba1af2d7a', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDate: true }) ||
|
|
31
31
|
convertToLocal(filterParams.created_before, { showInputDate: true }), disabled: !!this.createdBefore, part: createdBeforePayoutsListFilterParam }))))));
|
|
32
32
|
}
|
|
33
33
|
static get is() { return "justifi-payouts-list-filters"; }
|
|
@@ -64,7 +64,7 @@ export class PayoutsList {
|
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
render() {
|
|
67
|
-
return (h(StyledHost, { key: '
|
|
67
|
+
return (h(StyledHost, { key: '73ac65b309e80186e0f7799385d012e91ceb1b8b' }, h("payouts-list-core", { key: 'f7767376f3155521445cb2ee48b9a20c362c8137', getPayouts: this.getPayouts, getPayoutCSV: this.getPayoutCSV, getSubAccounts: this.getSubAccounts, "onError-event": this.handleOnError, columns: this.columns })));
|
|
68
68
|
}
|
|
69
69
|
static get is() { return "justifi-payouts-list"; }
|
|
70
70
|
static get encapsulation() { return "shadow"; }
|
|
@@ -81,7 +81,7 @@ export class TerminalOrdersListCore {
|
|
|
81
81
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
82
82
|
}
|
|
83
83
|
render() {
|
|
84
|
-
return (h(TableWrapper, { key: '
|
|
84
|
+
return (h(TableWrapper, { key: 'a8131df17851ab1468e025932371fa4b97ccc144' }, h(TableComponent, { key: '0fc81f64fb8a8f138f25c70522d046921edbd094' }, h(TableHead, { key: '7cc8be0184008cf08128eb1f241ab670538ecc65' }, h(TableHeadRow, { key: '5a7aa37a2b8f02469ca6c703e098da9431c0b45f' }, this.terminalOrdersTable.columnData.map((column) => column))), h(TableBody, { key: 'ff32aad8d5c4f319550d47ae1e0f77b617aa3d70' }, h(TableLoadingState, { key: 'dcc25430c77867a2c9639eba359c0d54cbacb73a', columnSpan: this.terminalOrdersTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '474ecda7420d595f49777f31910a380b48a8a1bc', isEmpty: this.showEmptyState, columnSpan: this.terminalOrdersTable.columnKeys.length }), h(TableErrorState, { key: 'd91e28581823ca91778159914157a003b011caaf', columnSpan: this.terminalOrdersTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalOrdersTable.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: '6dea4a93ab757d35916b9351e4e5fa7f76b4afd9' }, h(TableFootRow, { key: '5098c2d994bb0ba397bc94d7a0e9419b06e582a5' }, h(TableFootCell, { key: '5a8f90708691987f672cde0c102323225568d989', colSpan: this.terminalOrdersTable.columnData.length }, h("pagination-menu", { key: '509e53f4c070fc9a8b479dc673c526417aceb5ef', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
85
85
|
}
|
|
86
86
|
static get is() { return "terminal-orders-list-core"; }
|
|
87
87
|
static get properties() {
|
|
@@ -47,8 +47,8 @@ export class TerminalOrdersListFilters {
|
|
|
47
47
|
}
|
|
48
48
|
render() {
|
|
49
49
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
50
|
-
return (h(StyledHost, { key: '
|
|
51
|
-
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterTerminalOrdersListFilterParam })), h("div", { key: '
|
|
50
|
+
return (h(StyledHost, { key: '3042752f6f3bf4eb4f379aa256ff2a17d7fe8627' }, h("table-filters-menu", { key: '9a2a446701c17e3aa1ecbc89fa383c3a3c16b3d1', params: filterMenuParams, clearParams: clearParams, part: terminalOrdersListFilterMenu }, h("div", { key: '8c5533b280615974883fba9da4b87c066f7af5be', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: 'bbe71c8c5f2b49da9a38638ac4bda646cc4f7770', class: "p-2" }, h("form-control-select", { key: '235922673a4ef8e7392b3e46b3c0bd326f7abe79', 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: 'd66c4305848a6f85867307d0448bfb2d7a80b698', class: "p-2" }, h("form-control-select", { key: '480bd03e3ba6ea595c1602bbdf657f369f133adb', 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: 'ffdbbbac93a6498fe52f21c91a70998ad1094596', class: "p-2" }, h("form-control-date", { key: '60c95da005a50430e5a81d3b14f0b7a627480534', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
|
|
51
|
+
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterTerminalOrdersListFilterParam })), h("div", { key: '7e30fed8bbf9ba6db03d70d7b70a5f669d761ce9', class: "p-2" }, h("form-control-date", { key: 'ce490f4c346a3e455ae6f44e781b126ca46391d5', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
|
|
52
52
|
convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: createdBeforeTerminalOrdersListFilterParam }))))));
|
|
53
53
|
}
|
|
54
54
|
static get is() { return "justifi-terminal-orders-list-filters"; }
|
|
@@ -43,7 +43,7 @@ export class TerminalOrdersList {
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
|
-
return (h(StyledHost, { key: '
|
|
46
|
+
return (h(StyledHost, { key: '55f0bf858787e00c304972c941a477815712df9d' }, h("terminal-orders-list-core", { key: '2d47e23bc2157d79254f34dfe0551fb32a9d88cc', getTerminalOrders: this.getTerminalOrders, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
47
47
|
}
|
|
48
48
|
static get is() { return "justifi-terminal-orders-list"; }
|
|
49
49
|
static get encapsulation() { return "shadow"; }
|
|
@@ -118,7 +118,7 @@ export class TerminalsListCore {
|
|
|
118
118
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
119
119
|
}
|
|
120
120
|
render() {
|
|
121
|
-
return (h(TableWrapper, { key: '
|
|
121
|
+
return (h(TableWrapper, { key: '27022f23dcede378c6a6d16bffb040aa6448f4be' }, h(TableComponent, { key: '5d369cf93698adb50b843f65c747672abeb74cb4' }, h(TableHead, { key: '21173a74ccb82d7c3278157dae4ef3d471dbee5f' }, h(TableHeadRow, { key: '43e425567500ff324fd6ed68647a9504df812bf6' }, this.terminalsTable.columnData.map((column) => column))), h(TableBody, { key: '1151ee93144161308f8b27b0172acb32d2096d25' }, h(TableLoadingState, { key: '353fb24dfbd941e8bba6f62799e0feea42d05c53', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'daa19b965b5519e766ba8bbb63cfc4327128bf22', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), h(TableErrorState, { key: 'ee44061fa93cd20a59040a7b3faaeac10a925810', columnSpan: this.terminalsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalsTable.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: '12cb09495ba8d416fd3593ccae4f205735226ecf' }, h(TableFootRow, { key: 'da2e2695e6101193db9f67a0a76ce1ce8abdc646' }, h(TableFootCell, { key: 'bffd81b4e90e668caa47813f96ab1a7764fa0f1b', colSpan: this.terminalsTable.columnData.length }, h("pagination-menu", { key: '61c268da3402e0675f54515617a6bd2d58834e17', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
122
122
|
}
|
|
123
123
|
static get is() { return "terminals-list-core"; }
|
|
124
124
|
static get properties() {
|
|
@@ -35,7 +35,7 @@ export class TerminalsListFilters {
|
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
37
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
38
|
-
return (h(StyledHost, { key: '
|
|
38
|
+
return (h(StyledHost, { key: '5e6f1e8abcc7cffc26c101160bff40ff5092ff90' }, h("table-filters-menu", { key: '6a57cb7deeb0c6927ee557402ef2618a3d3d8a29', params: filterMenuParams, clearParams: clearParams, part: terminalsListFilterMenu }, h("div", { key: 'aaa63156c9603aafbe1b9dd4d4f87670b4e0ab66', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: 'f76ca827834a98595a98d6bb6f982807506fe240', class: "p-2" }, h("form-control-text", { key: 'f9acf97e42e3e5f5ee216a10e116ab1aff2e6390', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: terminalIdTerminalsListFilterParam })), h("div", { key: 'c4ac977f7433193e7a9c52be483c65cb5f96f214', class: "p-2" }, h("form-control-text", { key: '035fc59523056240eea5da7b63d75028278d3102', 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: 'ab72f5ef8a0191b1726cd84c36a7cca28a78ecf0', class: "p-2" }, h("form-control-select", { key: '4a684c87e04e11f55c59d45a281f7c258fae4f0d', name: "status", label: "Status", options: this.terminalStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.terminalStatus || filterParams.status, disabled: !!this.terminalStatus, part: terminalStatusTerminalsListFilterParam }))))));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "justifi-terminals-list-filters"; }
|
|
41
41
|
static get encapsulation() { return "shadow"; }
|
|
@@ -61,7 +61,7 @@ export class TerminalsList {
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
render() {
|
|
64
|
-
return (h(StyledHost, { key: '
|
|
64
|
+
return (h(StyledHost, { key: '705ee40711e90c28a6b1699f450befa7c5b5529b' }, h("terminals-list-core", { key: '3d54a1519e5299eb83d16bf2034711fc0dd0cc18', getTerminals: this.getTerminals, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
65
65
|
}
|
|
66
66
|
static get is() { return "justifi-terminals-list"; }
|
|
67
67
|
static get encapsulation() { return "shadow"; }
|
|
@@ -2,7 +2,7 @@ import { h } from "@stencil/core";
|
|
|
2
2
|
import { StyledHost } from "../../ui-components";
|
|
3
3
|
import { checkPkgVersion } from "../../utils/check-pkg-version";
|
|
4
4
|
import JustifiAnalytics from "../../api/Analytics";
|
|
5
|
-
import { ComponentErrorCodes, ComponentErrorSeverity } from "../../api";
|
|
5
|
+
import { ComponentErrorCodes, ComponentErrorSeverity, } from "../../api";
|
|
6
6
|
import { checkoutStore } from "../../store/checkout.store";
|
|
7
7
|
import { PAYMENT_METHODS } from "../modular-checkout/ModularCheckout";
|
|
8
8
|
// Constants
|
|
@@ -42,7 +42,7 @@ export class TokenizePaymentMethod {
|
|
|
42
42
|
}
|
|
43
43
|
handleRadioClick(event) {
|
|
44
44
|
this.selectedPaymentMethod = event.detail;
|
|
45
|
-
checkoutStore.selectedPaymentMethod = event.detail;
|
|
45
|
+
checkoutStore.selectedPaymentMethod = { type: event.detail };
|
|
46
46
|
}
|
|
47
47
|
async fillBillingForm(fields) {
|
|
48
48
|
var _a;
|
|
@@ -134,11 +134,11 @@ export class TokenizePaymentMethod {
|
|
|
134
134
|
}
|
|
135
135
|
if (!this.disableCreditCard) {
|
|
136
136
|
this.selectedPaymentMethod = PAYMENT_METHODS.NEW_CARD;
|
|
137
|
-
checkoutStore.selectedPaymentMethod = PAYMENT_METHODS.NEW_CARD;
|
|
137
|
+
checkoutStore.selectedPaymentMethod = { type: PAYMENT_METHODS.NEW_CARD };
|
|
138
138
|
}
|
|
139
139
|
else if (!this.disableBankAccount) {
|
|
140
140
|
this.selectedPaymentMethod = PAYMENT_METHODS.NEW_BANK_ACCOUNT;
|
|
141
|
-
checkoutStore.selectedPaymentMethod = PAYMENT_METHODS.NEW_BANK_ACCOUNT;
|
|
141
|
+
checkoutStore.selectedPaymentMethod = { type: PAYMENT_METHODS.NEW_BANK_ACCOUNT };
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
setComputedHideSubmitButton() {
|
|
@@ -237,17 +237,17 @@ export class TokenizePaymentMethod {
|
|
|
237
237
|
return this.disableCreditCard || this.disableBankAccount;
|
|
238
238
|
}
|
|
239
239
|
renderPaymentMethodOption(paymentMethodType) {
|
|
240
|
-
const isSelected = this.selectedPaymentMethod === paymentMethodType;
|
|
240
|
+
const isSelected = this.selectedPaymentMethod === paymentMethodType && checkoutStore.selectedPaymentMethod.id === undefined;
|
|
241
241
|
return (h("div", { class: "payment-method" }, h("justifi-radio-list-item", { name: "paymentMethodType", value: paymentMethodType, checked: isSelected, label: PAYMENT_METHOD_TYPE_LABELS[paymentMethodType], hidden: this.shouldHideRadioInput }), isSelected && this.renderSelectedPaymentMethodForm(paymentMethodType)));
|
|
242
242
|
}
|
|
243
|
-
renderSelectedPaymentMethodForm(
|
|
244
|
-
return (h("div", { class: "mt-4 pb-4" }, this.renderPaymentMethodForm(
|
|
243
|
+
renderSelectedPaymentMethodForm(paymentMethodType) {
|
|
244
|
+
return (h("div", { class: "mt-4 pb-4" }, this.renderPaymentMethodForm(paymentMethodType), h("div", { class: "mt-4" }, h("justifi-billing-form", { ref: (el) => (this.billingFormRef = el), hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, paymentMethodType: paymentMethodType })), h("div", { class: "mt-4" }, h("justifi-save-new-payment-method", { hidden: !this.paymentMethodGroupID, label: this.savePaymentMethodLabel }))));
|
|
245
245
|
}
|
|
246
|
-
renderPaymentMethodForm(
|
|
247
|
-
return
|
|
246
|
+
renderPaymentMethodForm(paymentMethodType) {
|
|
247
|
+
return paymentMethodType === PAYMENT_METHODS.NEW_CARD ? (h("justifi-card-form", { ref: (el) => (this.paymentMethodFormRef = el) })) : (h("justifi-bank-account-form", { ref: (el) => (this.paymentMethodFormRef = el) }));
|
|
248
248
|
}
|
|
249
249
|
render() {
|
|
250
|
-
return (h(StyledHost, { key: '
|
|
250
|
+
return (h(StyledHost, { key: '5fc5dad15215fe24b421f4d6c13355fb849b8a76' }, h("form", { key: '0e0330e5b11ee3ae0bef9e092fa2fb2a0a6af3e7' }, h("fieldset", { key: 'ee4c026ccda62a249e019a9e105e40ea465fc400' }, h("div", { key: '15a8a86fa5be8a545745260d76a8c3b2569d6a0e', class: "row gy-3" }, h("div", { key: 'bbbeed6ee96311394a876b4beb206e8e335184c2', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), h("div", { key: 'da2a2009abe4348e25a5fc712557e81e9f6c4c1f', class: "col-12" }, h("justifi-button", { key: '050939c757999383226f281ee0eff1ec178be203', text: this.submitButtonText, variant: "primary", type: "submit", clickHandler: (e) => this.tokenizePaymentMethod(e), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.computedHideSubmitButton })))))));
|
|
251
251
|
}
|
|
252
252
|
static get is() { return "justifi-tokenize-payment-method"; }
|
|
253
253
|
static get properties() {
|
|
@@ -423,6 +423,25 @@ export class TokenizePaymentMethod {
|
|
|
423
423
|
"setter": false,
|
|
424
424
|
"reflect": false,
|
|
425
425
|
"defaultValue": "'Submit'"
|
|
426
|
+
},
|
|
427
|
+
"savePaymentMethodLabel": {
|
|
428
|
+
"type": "string",
|
|
429
|
+
"attribute": "save-payment-method-label",
|
|
430
|
+
"mutable": false,
|
|
431
|
+
"complexType": {
|
|
432
|
+
"original": "string",
|
|
433
|
+
"resolved": "string",
|
|
434
|
+
"references": {}
|
|
435
|
+
},
|
|
436
|
+
"required": false,
|
|
437
|
+
"optional": true,
|
|
438
|
+
"docs": {
|
|
439
|
+
"tags": [],
|
|
440
|
+
"text": ""
|
|
441
|
+
},
|
|
442
|
+
"getter": false,
|
|
443
|
+
"setter": false,
|
|
444
|
+
"reflect": false
|
|
426
445
|
}
|
|
427
446
|
};
|
|
428
447
|
}
|
package/dist/collection/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createStore } from "@stencil/store";
|
|
2
|
-
import { PAYMENT_METHODS } from "../components/modular-checkout/ModularCheckout";
|
|
2
|
+
import { PAYMENT_METHODS, } from "../components/modular-checkout/ModularCheckout";
|
|
3
3
|
const initialState = {
|
|
4
4
|
accountId: '',
|
|
5
5
|
authToken: '',
|
|
@@ -13,6 +13,7 @@ const initialState = {
|
|
|
13
13
|
bnplProviderClientId: '',
|
|
14
14
|
bnplProviderMode: '',
|
|
15
15
|
checkoutId: '',
|
|
16
|
+
checkoutLoaded: false,
|
|
16
17
|
bankAccountVerification: undefined,
|
|
17
18
|
disableBankAccount: false,
|
|
18
19
|
disableBnpl: false,
|
|
@@ -25,8 +26,10 @@ const initialState = {
|
|
|
25
26
|
paymentMethods: [],
|
|
26
27
|
paymentToken: undefined,
|
|
27
28
|
savePaymentMethod: false,
|
|
28
|
-
selectedPaymentMethod:
|
|
29
|
+
selectedPaymentMethod: undefined,
|
|
29
30
|
totalAmount: 0,
|
|
31
|
+
plaidPublicToken: undefined,
|
|
32
|
+
plaidLinkTokenId: undefined,
|
|
30
33
|
};
|
|
31
34
|
const { state: checkoutStore, onChange } = createStore(initialState);
|
|
32
35
|
Object.keys(initialState).forEach((key) => {
|
|
@@ -35,4 +38,44 @@ Object.keys(initialState).forEach((key) => {
|
|
|
35
38
|
checkoutStore[key] = newValue;
|
|
36
39
|
});
|
|
37
40
|
});
|
|
38
|
-
|
|
41
|
+
// Helper: compute available payment methods based on store flags
|
|
42
|
+
export function getAvailablePaymentMethodTypes() {
|
|
43
|
+
var _a;
|
|
44
|
+
const methods = [];
|
|
45
|
+
if (!checkoutStore.disablePaymentMethodGroup &&
|
|
46
|
+
((_a = checkoutStore.paymentMethods) === null || _a === void 0 ? void 0 : _a.length)) {
|
|
47
|
+
const hasSavedCard = checkoutStore.paymentMethods.some((pm) => pm.type === PAYMENT_METHODS.SAVED_CARD);
|
|
48
|
+
const hasSavedBank = checkoutStore.paymentMethods.some((pm) => pm.type === PAYMENT_METHODS.SAVED_BANK_ACCOUNT);
|
|
49
|
+
if (hasSavedCard && !checkoutStore.disableCreditCard) {
|
|
50
|
+
methods.push(PAYMENT_METHODS.SAVED_CARD);
|
|
51
|
+
}
|
|
52
|
+
if (hasSavedBank && !checkoutStore.disableBankAccount) {
|
|
53
|
+
methods.push(PAYMENT_METHODS.SAVED_BANK_ACCOUNT);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
if (!checkoutStore.disableCreditCard) {
|
|
57
|
+
methods.push(PAYMENT_METHODS.NEW_CARD);
|
|
58
|
+
}
|
|
59
|
+
if (!checkoutStore.disableBankAccount) {
|
|
60
|
+
methods.push(PAYMENT_METHODS.NEW_BANK_ACCOUNT);
|
|
61
|
+
}
|
|
62
|
+
if (checkoutStore.bnplEnabled && !checkoutStore.disableBnpl) {
|
|
63
|
+
methods.push(PAYMENT_METHODS.SEZZLE);
|
|
64
|
+
}
|
|
65
|
+
if (checkoutStore.bankAccountVerification === true &&
|
|
66
|
+
!checkoutStore.disableBankAccount) {
|
|
67
|
+
methods.push(PAYMENT_METHODS.PLAID);
|
|
68
|
+
}
|
|
69
|
+
return methods;
|
|
70
|
+
}
|
|
71
|
+
export function isNewCardSelected() {
|
|
72
|
+
var _a;
|
|
73
|
+
return ((_a = checkoutStore.selectedPaymentMethod) === null || _a === void 0 ? void 0 : _a.type) === PAYMENT_METHODS.NEW_CARD;
|
|
74
|
+
}
|
|
75
|
+
export { checkoutStore as checkoutStore, onChange };
|
|
76
|
+
export function onAnyChange(callback) {
|
|
77
|
+
Object.keys(initialState).forEach((key) => {
|
|
78
|
+
// @ts-ignore - onChange is generically typed by stencil/store but not exported here
|
|
79
|
+
onChange(key, (newValue) => callback(key, newValue));
|
|
80
|
+
});
|
|
81
|
+
}
|
|
@@ -80,7 +80,7 @@ export class CustomPopper {
|
|
|
80
80
|
this.hideEvent.emit();
|
|
81
81
|
}
|
|
82
82
|
render() {
|
|
83
|
-
return (h("div", { key: '
|
|
83
|
+
return (h("div", { key: '6249f59c6bcced199fe4d509988644633d783b6b' }, h("style", { key: '9d6a47ff5b927ebfb318b7d0852678f7ade406ca' }, `
|
|
84
84
|
.popper-content {
|
|
85
85
|
display: none;
|
|
86
86
|
}
|
|
@@ -88,7 +88,7 @@ export class CustomPopper {
|
|
|
88
88
|
display: block;
|
|
89
89
|
z-index: 1030;
|
|
90
90
|
}
|
|
91
|
-
`), h("div", { key: '
|
|
91
|
+
`), h("div", { key: '311f13edc07bc1aea0569fb6c92fbbc241704529', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: '93e806d8db16cd7c1b29ce6b6bec784c8126ab67' }))));
|
|
92
92
|
}
|
|
93
93
|
static get is() { return "custom-popper"; }
|
|
94
94
|
static get properties() {
|