@justifi/webcomponents 6.0.0-rc.9 → 6.0.1-rc.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 +11 -11
- 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-B48ZmuJS.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/{checkouts-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 +5 -5
- 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 +5 -5
- package/dist/cjs/form-control-monetary.cjs.entry.js +6 -6
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +5 -5
- 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 +17 -17
- 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 +26 -44
- 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 +2 -2
- package/dist/cjs/justifi-checkout-summary_7.cjs.entry.js +200 -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 +3 -3
- 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 +11 -11
- package/dist/cjs/justifi-payment-details.cjs.entry.js +11 -11
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +10 -10
- 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 +2 -2
- 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-C3FMDKcV.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +4 -4
- 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/{payments-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/{payouts-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/{terminal-orders-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 +3 -3
- package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +6 -6
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +1 -1
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +6 -6
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +6 -6
- package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +6 -6
- package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
- 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/checkout/saved-payment-method.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +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 +113 -72
- 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-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
- package/dist/collection/components/modular-checkout/sub-components/card-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/card-form.js +2 -2
- package/dist/collection/components/modular-checkout/sub-components/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 +31 -13
- 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/details/details.js +1 -1
- 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/pagination-menu/pagination-menu.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 +167 -190
- 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 +11 -11
- 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-DSO4z-Vx.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 +5 -5
- 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 +5 -5
- package/dist/esm/form-control-monetary.entry.js +6 -6
- package/dist/esm/form-control-number-masked_2.entry.js +5 -5
- 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 +17 -17
- 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 +26 -44
- 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 +2 -2
- package/dist/esm/justifi-checkout-summary_7.entry.js +193 -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 +3 -3
- 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 +11 -11
- package/dist/esm/justifi-payment-details.entry.js +11 -11
- package/dist/esm/justifi-payment-provisioning-core.entry.js +4 -4
- package/dist/esm/justifi-payment-provisioning.entry.js +10 -10
- 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 +2 -2
- 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-tyhA5jkt.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +4 -4
- 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 +6 -4
- package/dist/module/additional-statement.js +5 -3
- package/dist/module/bank-account-billing-form-simple.js +5 -3
- package/dist/module/bank-account-document-inputs.js +5 -3
- package/dist/module/bank-account-form-inputs2.js +5 -3
- 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 +5 -3
- package/dist/module/business-bank-account-form-step-core.js +4 -2
- package/dist/module/business-bank-account-form-step.js +5 -3
- package/dist/module/business-core-info-form-step-core.js +4 -2
- package/dist/module/business-core-info-form-step.js +5 -3
- package/dist/module/business-core-info.js +5 -3
- 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 +5 -3
- package/dist/module/business-representative-form-inputs.js +5 -3
- package/dist/module/business-representative-form-step-core.js +4 -2
- package/dist/module/business-representative-form-step.js +5 -3
- package/dist/module/business-representative.js +6 -4
- package/dist/module/business-terms-conditions-form-step.js +5 -3
- package/dist/module/button.js +1 -2
- package/dist/module/cancellation-policy.js +5 -3
- package/dist/module/card-billing-form-simple.js +5 -3
- 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 +5 -3
- 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 +6 -4
- 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 +5 -3
- 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 +5 -3
- 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 +5 -3
- 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 +5 -3
- package/dist/module/legal-address-form.js +6 -4
- package/dist/module/modular-checkout.js +102 -39
- package/dist/module/owner-details2.js +4 -2
- package/dist/module/owner-form-core2.js +5 -3
- package/dist/module/owner-form-inputs2.js +6 -4
- package/dist/module/owner-form.js +5 -3
- package/dist/module/package.js +1 -1
- package/dist/module/pagination-menu2.js +7 -5
- 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 +5 -3
- package/dist/module/payment-provisioning-form-buttons.js +5 -3
- package/dist/module/payment-provisioning-form-steps.js +5 -3
- 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/business-forms/schemas/business-form-schema.d.ts +1 -1
- 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 +31 -29
- 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-497632ad.entry.js → p-037d7061.entry.js} +1 -1
- package/dist/webcomponents/{p-4e3bf98f.entry.js → p-070c29ce.entry.js} +1 -1
- package/dist/webcomponents/{p-54ca3070.entry.js → p-0801324e.entry.js} +1 -1
- package/dist/webcomponents/{p-6255c685.entry.js → p-10278c48.entry.js} +1 -1
- package/dist/webcomponents/p-19ccbeee.entry.js +1 -0
- package/dist/webcomponents/{p-15705e8a.entry.js → p-1b3b6956.entry.js} +1 -1
- package/dist/webcomponents/{p-9846b23d.entry.js → p-1b7926f6.entry.js} +1 -1
- package/dist/webcomponents/p-1c433962.entry.js +1 -0
- package/dist/webcomponents/{p-2f01dfd2.entry.js → p-1d7139d3.entry.js} +1 -1
- package/dist/webcomponents/p-214fa6e0.entry.js +1 -0
- 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-4213d10e.entry.js → p-27fc3ef0.entry.js} +3 -3
- package/dist/webcomponents/p-2d818d44.entry.js +1 -0
- package/dist/webcomponents/p-30147031.entry.js +1 -0
- package/dist/webcomponents/p-3546a5aa.entry.js +1 -0
- package/dist/webcomponents/p-3621a429.entry.js +1 -0
- package/dist/webcomponents/{p-f1cba43c.entry.js → p-3d37045d.entry.js} +1 -1
- package/dist/webcomponents/p-406ba650.entry.js +1 -0
- package/dist/webcomponents/{p-36a71a36.entry.js → p-4215ea76.entry.js} +1 -1
- package/dist/webcomponents/p-44d1341c.entry.js +1 -0
- package/dist/webcomponents/{p-36d9d95a.entry.js → p-4b1abc3b.entry.js} +1 -1
- package/dist/webcomponents/p-4d5c71c4.entry.js +1 -0
- package/dist/webcomponents/p-4ea83bfd.entry.js +1 -0
- package/dist/webcomponents/p-558f7967.entry.js +1 -0
- package/dist/webcomponents/p-5c477f08.entry.js +1 -0
- package/dist/webcomponents/p-62a16ef9.entry.js +1 -0
- package/dist/webcomponents/p-65286b2b.entry.js +1 -0
- package/dist/webcomponents/p-68329f16.entry.js +1 -0
- package/dist/webcomponents/p-6af851c5.entry.js +1 -0
- package/dist/webcomponents/{p-aeeb0f68.entry.js → p-6d4ae6c7.entry.js} +1 -1
- package/dist/webcomponents/p-6fe79f16.entry.js +1 -0
- package/dist/webcomponents/p-7494c1b6.entry.js +1 -0
- package/dist/webcomponents/p-7aeb20d2.entry.js +1 -0
- package/dist/webcomponents/{p-28618e6f.entry.js → p-7c5cd118.entry.js} +1 -1
- package/dist/webcomponents/p-8018523d.entry.js +1 -0
- package/dist/webcomponents/{p-4178bdbe.entry.js → p-83fa6da1.entry.js} +1 -1
- package/dist/webcomponents/p-84043580.entry.js +1 -0
- package/dist/webcomponents/{p-48e87a26.entry.js → p-84ccc7bb.entry.js} +1 -1
- package/dist/webcomponents/p-8975bf93.entry.js +1 -0
- package/dist/webcomponents/{p-bc2da364.entry.js → p-9046afd6.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-70f51444.entry.js → p-914e168d.entry.js} +1 -1
- package/dist/webcomponents/p-91c1e2ac.entry.js +1 -0
- package/dist/webcomponents/p-95348ff6.entry.js +1 -0
- package/dist/webcomponents/p-9f04cac4.entry.js +1 -0
- package/dist/webcomponents/{p-0mMX1Zv4.js → p-B4idKqyn.js} +1 -1
- 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-B_6n1dAh.js → p-CtA2NMVz.js} +1 -1
- 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-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-a0909318.entry.js +1 -0
- package/dist/webcomponents/p-a57c1400.entry.js +1 -0
- package/dist/webcomponents/{p-d46dbb83.entry.js → p-a71a5e64.entry.js} +1 -1
- package/dist/webcomponents/p-a85cf3e0.entry.js +1 -0
- package/dist/webcomponents/{p-72dda22b.entry.js → p-a90b8b93.entry.js} +1 -1
- package/dist/webcomponents/p-bb03a95a.entry.js +1 -0
- package/dist/webcomponents/p-c16c0cbc.entry.js +1 -0
- package/dist/webcomponents/p-c4Mh3ZZ_.js +1 -0
- package/dist/webcomponents/p-d2259dfd.entry.js +1 -0
- package/dist/webcomponents/p-d8e5d7b7.entry.js +1 -0
- package/dist/webcomponents/p-df385efe.entry.js +1 -0
- package/dist/webcomponents/{p-14ff3155.entry.js → p-df7f36aa.entry.js} +1 -1
- package/dist/webcomponents/p-e035a92e.entry.js +1 -0
- package/dist/webcomponents/{p-3e667b07.entry.js → p-e2a38ad0.entry.js} +1 -1
- package/dist/webcomponents/p-e628a0c8.entry.js +1 -0
- 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-e7edf4f4.entry.js +1 -0
- package/dist/webcomponents/p-eafd179b.entry.js +1 -0
- package/dist/webcomponents/p-f5c3f489.entry.js +1 -0
- package/dist/webcomponents/{p-C5id7s_l.js → p-fUtq2xDs.js} +1 -1
- package/dist/webcomponents/{p-7cf87637.entry.js → p-ffe01f1b.entry.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-tyhA5jkt.js +1 -0
- package/dist/webcomponents/p-xY5RkFuA.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +14 -14
- package/LICENSE +0 -21
- 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-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-43c5f490.entry.js +0 -1
- package/dist/webcomponents/p-44450a94.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-613421d4.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-8ff839a4.entry.js +0 -1
- package/dist/webcomponents/p-95cbb655.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-f680e617.entry.js +0 -1
- package/dist/webcomponents/p-fd4ffaa2.entry.js +0 -1
- package/dist/webcomponents/p-sw5RO19U.js +0 -1
|
@@ -11,9 +11,11 @@ const hasFilters = (params) => {
|
|
|
11
11
|
};
|
|
12
12
|
|
|
13
13
|
const TableFiltersMenu = /*@__PURE__*/ proxyCustomElement(class TableFiltersMenu extends HTMLElement {
|
|
14
|
-
constructor() {
|
|
14
|
+
constructor(registerHost) {
|
|
15
15
|
super();
|
|
16
|
-
|
|
16
|
+
if (registerHost !== false) {
|
|
17
|
+
this.__registerHost();
|
|
18
|
+
}
|
|
17
19
|
this.showClearButton = false;
|
|
18
20
|
}
|
|
19
21
|
watchParamsHandler(newValue) {
|
|
@@ -29,7 +31,7 @@ const TableFiltersMenu = /*@__PURE__*/ proxyCustomElement(class TableFiltersMenu
|
|
|
29
31
|
this.showClearButton = hasFilters(this.params);
|
|
30
32
|
}
|
|
31
33
|
render() {
|
|
32
|
-
return (h("div", { key: '
|
|
34
|
+
return (h("div", { key: 'db1619bbaa73d4102c684b2ca1b4897d1c36fa66', class: "d-flex gap-2" }, h("div", { key: '68f4538d4465aadbf20e322264e219ce7ca8078a', class: "dropdown pb-3" }, h("button", { key: 'cc1835756c1fa2a24a4bbc4ec2960caca0d24e75', type: "button dropdown-toggle", ref: (el) => (this.anchorButton = el), class: "btn btn-primary dropdown-toggle", part: dropdownMenuButton, "data-test-id": "open-filters-button", "data-bs-toggle": "dropdown" }, "Filters"), h("custom-popper", { key: '14f88ecd195fcf3770cadd71659b00d4c117c460', offset: [20, 10], strategy: "fixed", anchorRef: this.anchorButton, trigger: "click" }, h("form", { key: 'd33a6875f30413f3a2f5b8d706cf0bf0e3d6620a', class: "dropdown-menu", part: dropdownMenu, "data-test-id": "filter-menu", ref: (el) => (this.menu = el), onSubmit: (e) => e.preventDefault() }, h("slot", { key: '5923bb3684fc9f710a6686d9bf90a6d0f35a1818' })))), h("div", { key: 'eba66abc4ef60bf7603fd9459cf4040ed6105e8c' }, h(Button, { key: 'f5de28962ac56636904cee2a5e5d41204e07143c', variant: "secondary", onClick: () => this.clearParams(), hidden: !this.showClearButton, "data-test-id": "clear-filters-button" }, "Clear Filters"))));
|
|
33
35
|
}
|
|
34
36
|
static get watchers() { return {
|
|
35
37
|
"params": ["watchParamsHandler"]
|
package/dist/module/table.js
CHANGED
|
@@ -35,8 +35,7 @@ const TableEmptyState = (props) => {
|
|
|
35
35
|
if (!columnSpan || !isEmpty) {
|
|
36
36
|
return null;
|
|
37
37
|
}
|
|
38
|
-
return (h("tr", null,
|
|
39
|
-
h("td", { class: "empty-state", part: tableEmpty, colSpan: columnSpan, style: { textAlign: 'center' } }, "No results")));
|
|
38
|
+
return (h("tr", null, h("td", { class: "empty-state", part: tableEmpty, colSpan: columnSpan, style: { textAlign: 'center' } }, "No results")));
|
|
40
39
|
};
|
|
41
40
|
|
|
42
41
|
const TableErrorState = (props) => {
|
|
@@ -44,10 +43,7 @@ const TableErrorState = (props) => {
|
|
|
44
43
|
if (!columnSpan || !errorMessage) {
|
|
45
44
|
return null;
|
|
46
45
|
}
|
|
47
|
-
return (h("tr", null,
|
|
48
|
-
h("td", { class: "error-state", part: tableError, colSpan: columnSpan, "data-test-id": "table-error-state", style: { textAlign: 'center' } },
|
|
49
|
-
"An unexpected error occurred: ",
|
|
50
|
-
errorMessage)));
|
|
46
|
+
return (h("tr", null, h("td", { class: "error-state", part: tableError, colSpan: columnSpan, "data-test-id": "table-error-state", style: { textAlign: 'center' } }, "An unexpected error occurred: ", errorMessage)));
|
|
51
47
|
};
|
|
52
48
|
|
|
53
49
|
const TableLoadingState = (props) => {
|
|
@@ -55,9 +51,7 @@ const TableLoadingState = (props) => {
|
|
|
55
51
|
if (!columnSpan || !isLoading) {
|
|
56
52
|
return null;
|
|
57
53
|
}
|
|
58
|
-
return (h("tr", null,
|
|
59
|
-
h("td", { class: "loading-state", part: tableCell, colSpan: columnSpan, style: { textAlign: 'center' } },
|
|
60
|
-
h(Spinner, null))));
|
|
54
|
+
return (h("tr", null, h("td", { class: "loading-state", part: tableCell, colSpan: columnSpan, style: { textAlign: 'center' } }, h(Spinner, null))));
|
|
61
55
|
};
|
|
62
56
|
|
|
63
57
|
class Table {
|
|
@@ -63,12 +63,8 @@ const terminalOrdersTableColumns = {
|
|
|
63
63
|
quantity: () => (h("th", { part: tableHeadCell, scope: "col", title: "The number of terminals associated with the order" }, "Order Quantity")),
|
|
64
64
|
};
|
|
65
65
|
const terminalOrdersTableCells = {
|
|
66
|
-
created_at: (terminalOrder, index) => (h("td", { part: getAlternateTableCellPart(index) },
|
|
67
|
-
|
|
68
|
-
h("div", { class: "fw-bold" }, convertToLocal(terminalOrder.created_at, { showTime: true })))),
|
|
69
|
-
updated_at: (terminalOrder, index) => (h("td", { part: getAlternateTableCellPart(index) },
|
|
70
|
-
h("div", { class: "fw-bold" }, convertToLocal(terminalOrder.updated_at, { showDisplayDate: true })),
|
|
71
|
-
h("div", { class: "fw-bold" }, convertToLocal(terminalOrder.updated_at, { showTime: true })))),
|
|
66
|
+
created_at: (terminalOrder, index) => (h("td", { part: getAlternateTableCellPart(index) }, h("div", { class: "fw-bold" }, convertToLocal(terminalOrder.created_at, { showDisplayDate: true })), h("div", { class: "fw-bold" }, convertToLocal(terminalOrder.created_at, { showTime: true })))),
|
|
67
|
+
updated_at: (terminalOrder, index) => (h("td", { part: getAlternateTableCellPart(index) }, h("div", { class: "fw-bold" }, convertToLocal(terminalOrder.updated_at, { showDisplayDate: true })), h("div", { class: "fw-bold" }, convertToLocal(terminalOrder.updated_at, { showTime: true })))),
|
|
72
68
|
order_status: (terminalOrder, index) => (h("td", { part: getAlternateTableCellPart(index) }, MapTerminalOrderStatusToBadge(terminalOrder.order_status))),
|
|
73
69
|
business_id: (terminalOrder, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminalOrder.business_id)),
|
|
74
70
|
company_name: (terminalOrder, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminalOrder.company_name)),
|
|
@@ -87,9 +83,11 @@ const terminalOrdersTableCells = {
|
|
|
87
83
|
};
|
|
88
84
|
|
|
89
85
|
const TerminalOrdersListCore = /*@__PURE__*/ proxyCustomElement(class TerminalOrdersListCore extends HTMLElement {
|
|
90
|
-
constructor() {
|
|
86
|
+
constructor(registerHost) {
|
|
91
87
|
super();
|
|
92
|
-
|
|
88
|
+
if (registerHost !== false) {
|
|
89
|
+
this.__registerHost();
|
|
90
|
+
}
|
|
93
91
|
this.clickEvent = createEvent(this, "click-event", 7);
|
|
94
92
|
this.errorEvent = createEvent(this, "error-event", 7);
|
|
95
93
|
this.terminalOrders = [];
|
|
@@ -166,7 +164,7 @@ const TerminalOrdersListCore = /*@__PURE__*/ proxyCustomElement(class TerminalOr
|
|
|
166
164
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
167
165
|
}
|
|
168
166
|
render() {
|
|
169
|
-
return (h(TableWrapper, { key: '
|
|
167
|
+
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 }) }))))))));
|
|
170
168
|
}
|
|
171
169
|
static get watchers() { return {
|
|
172
170
|
"pagingParams": ["updateOnPropChange"],
|
|
@@ -4,9 +4,11 @@ import { d as defineCustomElement$2 } from './custom-popper2.js';
|
|
|
4
4
|
import { d as defineCustomElement$1 } from './form-control-tooltip2.js';
|
|
5
5
|
|
|
6
6
|
const TerminalQuantitySelector = /*@__PURE__*/ proxyCustomElement(class TerminalQuantitySelector extends HTMLElement {
|
|
7
|
-
constructor() {
|
|
7
|
+
constructor(registerHost) {
|
|
8
8
|
super();
|
|
9
|
-
|
|
9
|
+
if (registerHost !== false) {
|
|
10
|
+
this.__registerHost();
|
|
11
|
+
}
|
|
10
12
|
this.selectedQuantityChange = createEvent(this, "selectedQuantityChange", 7);
|
|
11
13
|
this.limit = Infinity;
|
|
12
14
|
this.selectedQuantity = 0;
|
|
@@ -24,7 +26,7 @@ const TerminalQuantitySelector = /*@__PURE__*/ proxyCustomElement(class Terminal
|
|
|
24
26
|
};
|
|
25
27
|
}
|
|
26
28
|
render() {
|
|
27
|
-
return (h("div", { key: '
|
|
29
|
+
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 }, "+")))))));
|
|
28
30
|
}
|
|
29
31
|
}, [256, "terminal-quantity-selector", {
|
|
30
32
|
"modelName": [1, "model-name"],
|
|
@@ -10,7 +10,7 @@ import { T as TableClickActions } from './event-types.js';
|
|
|
10
10
|
import './justifi-radio-list-item2.js';
|
|
11
11
|
import { B as Badge, a as BadgeVariant } from './badge.js';
|
|
12
12
|
import { v as tableHeadCell, a8 as getAlternateTableCellPart } from './parts.js';
|
|
13
|
-
import {
|
|
13
|
+
import { k as capitalFirstLetter } from './utils2.js';
|
|
14
14
|
import { o as onQueryParamsChange, g as getRequestParams } from './terminals-list-params-state.js';
|
|
15
15
|
import { d as defineCustomElement$1 } from './pagination-menu2.js';
|
|
16
16
|
|
|
@@ -64,9 +64,11 @@ const terminalTableCells = {
|
|
|
64
64
|
};
|
|
65
65
|
|
|
66
66
|
const TerminalsListCore = /*@__PURE__*/ proxyCustomElement(class TerminalsListCore extends HTMLElement {
|
|
67
|
-
constructor() {
|
|
67
|
+
constructor(registerHost) {
|
|
68
68
|
super();
|
|
69
|
-
|
|
69
|
+
if (registerHost !== false) {
|
|
70
|
+
this.__registerHost();
|
|
71
|
+
}
|
|
70
72
|
this.clickEvent = createEvent(this, "click-event", 7);
|
|
71
73
|
this.errorEvent = createEvent(this, "error-event", 7);
|
|
72
74
|
this.terminals = [];
|
|
@@ -180,7 +182,7 @@ const TerminalsListCore = /*@__PURE__*/ proxyCustomElement(class TerminalsListCo
|
|
|
180
182
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
181
183
|
}
|
|
182
184
|
render() {
|
|
183
|
-
return (h(TableWrapper, { key: '
|
|
185
|
+
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 }) }))))))));
|
|
184
186
|
}
|
|
185
187
|
static get watchers() { return {
|
|
186
188
|
"pagingParams": ["updateOnPropChange"],
|
|
@@ -9,7 +9,8 @@ import './dinero.js';
|
|
|
9
9
|
import { a as ComponentErrorCodes, C as ComponentErrorSeverity } from './Refund.js';
|
|
10
10
|
import './Pagination.js';
|
|
11
11
|
import './Business.js';
|
|
12
|
-
import { c as checkoutStore
|
|
12
|
+
import { c as checkoutStore } from './checkout.store.js';
|
|
13
|
+
import { P as PAYMENT_METHODS } from './ModularCheckout.js';
|
|
13
14
|
import { d as defineCustomElement$i } from './custom-popper2.js';
|
|
14
15
|
import { d as defineCustomElement$h } from './form-control-checkbox2.js';
|
|
15
16
|
import { d as defineCustomElement$g } from './form-control-help-text2.js';
|
|
@@ -40,9 +41,11 @@ const ERROR_MESSAGES = {
|
|
|
40
41
|
VALIDATION_ERROR: 'Validation error',
|
|
41
42
|
};
|
|
42
43
|
const TokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class TokenizePaymentMethod extends HTMLElement {
|
|
43
|
-
constructor() {
|
|
44
|
+
constructor(registerHost) {
|
|
44
45
|
super();
|
|
45
|
-
|
|
46
|
+
if (registerHost !== false) {
|
|
47
|
+
this.__registerHost();
|
|
48
|
+
}
|
|
46
49
|
this.errorEvent = createEvent(this, "error-event", 7);
|
|
47
50
|
this.submitEvent = createEvent(this, "submit-event", 7);
|
|
48
51
|
this.computedHideSubmitButton = false;
|
|
@@ -69,7 +72,7 @@ const TokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class TokenizePay
|
|
|
69
72
|
}
|
|
70
73
|
handleRadioClick(event) {
|
|
71
74
|
this.selectedPaymentMethod = event.detail;
|
|
72
|
-
checkoutStore.selectedPaymentMethod = event.detail;
|
|
75
|
+
checkoutStore.selectedPaymentMethod = { type: event.detail };
|
|
73
76
|
}
|
|
74
77
|
async fillBillingForm(fields) {
|
|
75
78
|
var _a;
|
|
@@ -161,11 +164,11 @@ const TokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class TokenizePay
|
|
|
161
164
|
}
|
|
162
165
|
if (!this.disableCreditCard) {
|
|
163
166
|
this.selectedPaymentMethod = PAYMENT_METHODS.NEW_CARD;
|
|
164
|
-
checkoutStore.selectedPaymentMethod = PAYMENT_METHODS.NEW_CARD;
|
|
167
|
+
checkoutStore.selectedPaymentMethod = { type: PAYMENT_METHODS.NEW_CARD };
|
|
165
168
|
}
|
|
166
169
|
else if (!this.disableBankAccount) {
|
|
167
170
|
this.selectedPaymentMethod = PAYMENT_METHODS.NEW_BANK_ACCOUNT;
|
|
168
|
-
checkoutStore.selectedPaymentMethod = PAYMENT_METHODS.NEW_BANK_ACCOUNT;
|
|
171
|
+
checkoutStore.selectedPaymentMethod = { type: PAYMENT_METHODS.NEW_BANK_ACCOUNT };
|
|
169
172
|
}
|
|
170
173
|
}
|
|
171
174
|
setComputedHideSubmitButton() {
|
|
@@ -264,17 +267,17 @@ const TokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class TokenizePay
|
|
|
264
267
|
return this.disableCreditCard || this.disableBankAccount;
|
|
265
268
|
}
|
|
266
269
|
renderPaymentMethodOption(paymentMethodType) {
|
|
267
|
-
const isSelected = this.selectedPaymentMethod === paymentMethodType;
|
|
270
|
+
const isSelected = this.selectedPaymentMethod === paymentMethodType && checkoutStore.selectedPaymentMethod.id === undefined;
|
|
268
271
|
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)));
|
|
269
272
|
}
|
|
270
|
-
renderSelectedPaymentMethodForm(
|
|
271
|
-
return (h("div", { class: "mt-4 pb-4" }, this.renderPaymentMethodForm(
|
|
273
|
+
renderSelectedPaymentMethodForm(paymentMethodType) {
|
|
274
|
+
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 }))));
|
|
272
275
|
}
|
|
273
|
-
renderPaymentMethodForm(
|
|
274
|
-
return
|
|
276
|
+
renderPaymentMethodForm(paymentMethodType) {
|
|
277
|
+
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) }));
|
|
275
278
|
}
|
|
276
279
|
render() {
|
|
277
|
-
return (h(StyledHost, { key: '
|
|
280
|
+
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 })))))));
|
|
278
281
|
}
|
|
279
282
|
get host() { return this; }
|
|
280
283
|
static get watchers() { return {
|
|
@@ -291,6 +294,7 @@ const TokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class TokenizePay
|
|
|
291
294
|
"hideSubmitButton": [4, "hide-submit-button"],
|
|
292
295
|
"paymentMethodGroupId": [1, "payment-method-group-id"],
|
|
293
296
|
"submitButtonText": [1, "submit-button-text"],
|
|
297
|
+
"savePaymentMethodLabel": [1, "save-payment-method-label"],
|
|
294
298
|
"computedHideSubmitButton": [32],
|
|
295
299
|
"isLoading": [32],
|
|
296
300
|
"selectedPaymentMethod": [32],
|
package/dist/module/utils.js
CHANGED
|
@@ -1,22 +1,11 @@
|
|
|
1
1
|
import { h } from '@stencil/core/internal/client';
|
|
2
2
|
import { h as heading2, t as text, a as heading1 } from './parts.js';
|
|
3
3
|
|
|
4
|
-
const ErrorState = (errorMessage) => (h("main", { class: "p-4 d-flex justify-content-center text-center", style: { fontSize: '1.2rem' } },
|
|
5
|
-
h("p", { part: text }, errorMessage)));
|
|
4
|
+
const ErrorState = (errorMessage) => (h("main", { class: "p-4 d-flex justify-content-center text-center", style: { fontSize: '1.2rem' } }, h("p", { part: text }, errorMessage)));
|
|
6
5
|
const DetailSectionTitle = (props) => (h("h2", { part: heading2, class: "mt-4 fs-5 border-bottom pb-3" }, props.sectionTitle));
|
|
7
|
-
const DetailItem = ({ title, value, }) => title && value ? (h("div", { class: "d-table-row gap-2" },
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
const
|
|
11
|
-
h("span", { class: "fw-bold border-1 border-bottom ps-2 pe-2", part: heading2 }, title),
|
|
12
|
-
h("span", { class: "pt-2 ps-2 pe-2", part: text }, value)));
|
|
13
|
-
const EntityHeadInfo = ({ title, slot, badge }, children) => (h("div", { slot: slot, class: "p-2" },
|
|
14
|
-
h("div", { class: "d-flex flex-row align-items-center gap-2 mb-2" },
|
|
15
|
-
h("h1", { class: "m-0", part: heading1 }, title),
|
|
16
|
-
badge),
|
|
17
|
-
h("div", { class: "d-flex flex-row align-items-top", part: text }, children)));
|
|
18
|
-
const CodeBlock = ({ metadata }) => metadata && Object.keys(metadata).length ? (h("div", { class: 'mt-4' },
|
|
19
|
-
h("pre", { class: "p-2", "aria-label": "metadata content" },
|
|
20
|
-
h("code", null, JSON.stringify(metadata, null, 2))))) : null;
|
|
6
|
+
const DetailItem = ({ title, value, }) => title && value ? (h("div", { class: "d-table-row gap-2" }, h("span", { class: "fw-bold d-table-cell px-2", part: text }, title), h("span", { class: "flex-1 d-table-cell px-2 text-wrap", part: text }, value))) : null;
|
|
7
|
+
const EntityHeadInfoItem = ({ title, value, classes, }) => (h("div", { class: `d-flex flex-column ${classes}` }, h("span", { class: "fw-bold border-1 border-bottom ps-2 pe-2", part: heading2 }, title), h("span", { class: "pt-2 ps-2 pe-2", part: text }, value)));
|
|
8
|
+
const EntityHeadInfo = ({ title, slot, badge }, children) => (h("div", { slot: slot, class: "p-2" }, h("div", { class: "d-flex flex-row align-items-center gap-2 mb-2" }, h("h1", { class: "m-0", part: heading1 }, title), badge), h("div", { class: "d-flex flex-row align-items-top", part: text }, children)));
|
|
9
|
+
const CodeBlock = ({ metadata }) => metadata && Object.keys(metadata).length ? (h("div", { class: 'mt-4' }, h("pre", { class: "p-2", "aria-label": "metadata content" }, h("code", null, JSON.stringify(metadata, null, 2))))) : null;
|
|
21
10
|
|
|
22
11
|
export { CodeBlock as C, DetailSectionTitle as D, ErrorState as E, DetailItem as a, EntityHeadInfo as b, EntityHeadInfoItem as c };
|
package/dist/module/utils2.js
CHANGED
|
@@ -22295,5 +22295,10 @@ function generateId(length = 10) {
|
|
|
22295
22295
|
}
|
|
22296
22296
|
return result;
|
|
22297
22297
|
}
|
|
22298
|
+
function generateTabId() {
|
|
22299
|
+
var _a;
|
|
22300
|
+
return (((_a = crypto.randomUUID) === null || _a === void 0 ? void 0 : _a.call(crypto)) ||
|
|
22301
|
+
`${Date.now()}-${Math.random().toString(36).slice(2)}`);
|
|
22302
|
+
}
|
|
22298
22303
|
|
|
22299
|
-
export { formatDate as a, formatTimeSeconds as b, formatCurrency as c, formatTime as d, convertToLocal as e, formatMediumDate as f, generateId as g, convertToUTC as h, isEmptyObject as i,
|
|
22304
|
+
export { formatDate as a, formatTimeSeconds as b, formatCurrency as c, formatTime as d, convertToLocal as e, formatMediumDate as f, generateId as g, convertToUTC as h, isEmptyObject as i, generateTabId as j, capitalFirstLetter as k, formatDisplayDate as l, addAttribute as m, formatPhoneNumber as n, processHTML as p, removeAttribute as r, snakeCaseToHumanReadable as s };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { IApiResponse } from './Api';
|
|
2
2
|
import { CurrencyTypes } from './Payment';
|
|
3
|
+
import { PAYMENT_METHOD_TYPES } from '../components/modular-checkout/ModularCheckout';
|
|
3
4
|
export interface IBnpl {
|
|
4
5
|
provider: string;
|
|
5
6
|
provider_client_id: string;
|
|
@@ -48,19 +49,7 @@ export interface ICheckout {
|
|
|
48
49
|
payment_amount: number;
|
|
49
50
|
payment_client_id: string;
|
|
50
51
|
payment_description: string;
|
|
51
|
-
payment_methods:
|
|
52
|
-
id: string;
|
|
53
|
-
status: string;
|
|
54
|
-
invalid_reason: null;
|
|
55
|
-
name: string;
|
|
56
|
-
brand: string;
|
|
57
|
-
acct_last_four: string;
|
|
58
|
-
month: string;
|
|
59
|
-
year: string;
|
|
60
|
-
address_line1_check: string;
|
|
61
|
-
address_postal_code_check: string;
|
|
62
|
-
bin_details: null;
|
|
63
|
-
}[];
|
|
52
|
+
payment_methods: ICheckoutPaymentMethod[];
|
|
64
53
|
payment_method_group_id: string;
|
|
65
54
|
payment_settings: {
|
|
66
55
|
ach_payments: boolean;
|
|
@@ -155,14 +144,17 @@ export interface CheckoutsQueryParams {
|
|
|
155
144
|
status?: ICheckoutStatus;
|
|
156
145
|
payment_mode?: ICheckoutPaymentMode;
|
|
157
146
|
}
|
|
147
|
+
export type CardBrand = 'visa' | 'mastercard' | 'american_express' | 'discover' | 'jcb' | 'diners_club' | 'unionpay';
|
|
148
|
+
export type AccountType = 'checking' | 'savings';
|
|
158
149
|
export interface ICheckoutPaymentMethod {
|
|
159
150
|
id: string;
|
|
160
|
-
type
|
|
151
|
+
type: PAYMENT_METHOD_TYPES;
|
|
161
152
|
status: string;
|
|
162
153
|
invalid_reason: null;
|
|
163
154
|
name: string;
|
|
164
|
-
brand:
|
|
155
|
+
brand: CardBrand;
|
|
165
156
|
acct_last_four: string;
|
|
157
|
+
account_type: AccountType;
|
|
166
158
|
month: string;
|
|
167
159
|
year: string;
|
|
168
160
|
address_line1_check: string;
|
|
@@ -7,7 +7,9 @@ export declare enum CaptureStrategy {
|
|
|
7
7
|
export declare enum PaymentMethodTypes {
|
|
8
8
|
card = "card",
|
|
9
9
|
bankAccount = "bankAccount",
|
|
10
|
-
sezzle = "sezzle"
|
|
10
|
+
sezzle = "sezzle",
|
|
11
|
+
plaid = "plaid",
|
|
12
|
+
applePay = "applePay"
|
|
11
13
|
}
|
|
12
14
|
export declare enum PaymentTypes {
|
|
13
15
|
card = "Card",
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
export * from './Api';
|
|
2
2
|
export * from './ComponentEvents';
|
|
3
3
|
export * from './ComponentError';
|
|
4
|
-
export
|
|
4
|
+
export { IBnpl, Completion, ICheckout, Checkout, ICheckoutPaymentMode, ICheckoutPaymentModeParam, ICheckoutStatus, CompletionStatuses, ICheckoutCompleteResponse, ILoadedEventResponse, CheckoutsQueryParams, ICheckoutPaymentMethod, } from './Checkout';
|
|
5
|
+
export { CardBrand as CheckoutCardBrand, AccountType as BankAccountType, } from './Checkout';
|
|
5
6
|
export * from './Insurance';
|
|
6
7
|
export * from './Pagination';
|
|
7
8
|
export * from './Payment';
|
|
@@ -16,7 +17,6 @@ export * from './Document';
|
|
|
16
17
|
export * from './Refund';
|
|
17
18
|
export * from './Business';
|
|
18
19
|
export * from './Identity';
|
|
19
|
-
export * from './Document';
|
|
20
20
|
export * from './Dispute';
|
|
21
21
|
export * from './GrossVolume';
|
|
22
22
|
export { BankAccount, IBankAccount } from './BankAccount';
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import { IApplePayConfig, IApplePayPaymentRequest, IApplePayError, ApplePayConfig, IMerchantSession, IApplePayService, IApplePayPaymentProcessRequest, IApplePayPaymentResponse, IApplePayToken } from '../ApplePay';
|
|
2
|
+
export declare enum ApplePayServiceErrorCode {
|
|
3
|
+
UNAVAILABLE = "UNAVAILABLE",
|
|
4
|
+
SESSION_ERROR = "SESSION_ERROR",
|
|
5
|
+
MERCHANT_VALIDATION_ERROR = "MERCHANT_VALIDATION_ERROR",
|
|
6
|
+
PAYMENT_PROCESSING_ERROR = "PAYMENT_PROCESSING_ERROR",
|
|
7
|
+
USER_CANCELLED = "USER_CANCELLED"
|
|
8
|
+
}
|
|
2
9
|
export declare class ApplePayService implements IApplePayService {
|
|
3
10
|
private applePayConfig?;
|
|
4
11
|
private currentSession?;
|
|
@@ -3,10 +3,14 @@ import JustifiAnalytics from '../../api/Analytics';
|
|
|
3
3
|
import { BillingFormFields } from './billing-form/billing-form-schema';
|
|
4
4
|
import { ICheckout, ILoadedEventResponse } from '../../api';
|
|
5
5
|
import { ComponentErrorEvent, ComponentSubmitEvent } from '../../api/ComponentEvents';
|
|
6
|
+
import { CheckoutChangedEventDetail, PAYMENT_METHODS } from '../modular-checkout/ModularCheckout';
|
|
6
7
|
export declare class Checkout {
|
|
7
8
|
analytics: JustifiAnalytics;
|
|
8
9
|
modularCheckoutRef?: HTMLJustifiModularCheckoutElement;
|
|
9
10
|
tokenizePaymentMethodRef?: HTMLJustifiTokenizePaymentMethodElement;
|
|
11
|
+
plaidPaymentMethodRef?: HTMLJustifiPlaidPaymentMethodElement;
|
|
12
|
+
sezzlePaymentMethodRef?: HTMLJustifiSezzlePaymentMethodElement;
|
|
13
|
+
availablePaymentMethods: PAYMENT_METHODS[];
|
|
10
14
|
checkout: ICheckout;
|
|
11
15
|
complete: Function;
|
|
12
16
|
errorMessage: string;
|
|
@@ -30,6 +34,7 @@ export declare class Checkout {
|
|
|
30
34
|
disconnectedCallback(): void;
|
|
31
35
|
checkoutComplete(_event: CustomEvent<any>): void;
|
|
32
36
|
checkoutError(_event: CustomEvent<any>): void;
|
|
37
|
+
checkoutChanged(event: CustomEvent<CheckoutChangedEventDetail>): void;
|
|
33
38
|
fillBillingForm(fields: BillingFormFields): Promise<void>;
|
|
34
39
|
validate(): Promise<{
|
|
35
40
|
isValid: boolean;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CardBrand, ICheckoutPaymentMethod } from '../../api';
|
|
1
2
|
export declare enum PAYMENT_MODE {
|
|
2
3
|
ECOM = "ecom",
|
|
3
4
|
BNPL = "bnpl",
|
|
@@ -21,3 +22,43 @@ export declare enum PAYMENT_METHODS {
|
|
|
21
22
|
SEZZLE = "sezzle",
|
|
22
23
|
PLAID = "plaid"
|
|
23
24
|
}
|
|
25
|
+
export type SelectedPaymentMethod = {
|
|
26
|
+
id?: string;
|
|
27
|
+
type: PAYMENT_METHODS;
|
|
28
|
+
};
|
|
29
|
+
export type SavedPaymentMethod = {
|
|
30
|
+
id: string;
|
|
31
|
+
type: PAYMENT_METHODS;
|
|
32
|
+
status: string;
|
|
33
|
+
invalid_reason: null;
|
|
34
|
+
name: string;
|
|
35
|
+
brand: CardBrand;
|
|
36
|
+
acct_last_four: string;
|
|
37
|
+
account_type: string;
|
|
38
|
+
month: string;
|
|
39
|
+
year: string;
|
|
40
|
+
address_line1_check: string;
|
|
41
|
+
address_postal_code_check: string;
|
|
42
|
+
bin_details: null;
|
|
43
|
+
};
|
|
44
|
+
export declare class PaymentMethod implements SavedPaymentMethod {
|
|
45
|
+
id: string;
|
|
46
|
+
type: PAYMENT_METHODS;
|
|
47
|
+
status: string;
|
|
48
|
+
invalid_reason: null;
|
|
49
|
+
name: string;
|
|
50
|
+
brand: CardBrand;
|
|
51
|
+
acct_last_four: string;
|
|
52
|
+
account_type: string;
|
|
53
|
+
month: string;
|
|
54
|
+
year: string;
|
|
55
|
+
address_line1_check: string;
|
|
56
|
+
address_postal_code_check: string;
|
|
57
|
+
bin_details: null;
|
|
58
|
+
constructor(paymentMethod: ICheckoutPaymentMethod);
|
|
59
|
+
}
|
|
60
|
+
export interface CheckoutChangedEventDetail {
|
|
61
|
+
availablePaymentMethodTypes: PAYMENT_METHODS[];
|
|
62
|
+
selectedPaymentMethod: SelectedPaymentMethod | undefined;
|
|
63
|
+
savedPaymentMethods: SavedPaymentMethod[];
|
|
64
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
2
|
import JustifiAnalytics from "../../api/Analytics";
|
|
3
3
|
import { BillingFormFields } from "../../components";
|
|
4
|
-
import {
|
|
4
|
+
import { CheckoutChangedEventDetail, SelectedPaymentMethod } from "./ModularCheckout";
|
|
5
5
|
export declare class ModularCheckout {
|
|
6
6
|
analytics: JustifiAnalytics;
|
|
7
7
|
private observer?;
|
|
@@ -11,20 +11,20 @@ export declare class ModularCheckout {
|
|
|
11
11
|
private applePayRef?;
|
|
12
12
|
private getCheckout;
|
|
13
13
|
private completeCheckout;
|
|
14
|
+
private plaidService;
|
|
14
15
|
authToken: string;
|
|
15
16
|
checkoutId: string;
|
|
16
|
-
savePaymentMethod?: boolean;
|
|
17
17
|
hostEl: HTMLElement;
|
|
18
18
|
errorEvent: EventEmitter;
|
|
19
19
|
submitEvent: EventEmitter;
|
|
20
|
-
|
|
21
|
-
savePaymentMethodChanged(newValue: boolean): void;
|
|
20
|
+
checkoutChangedEvent: EventEmitter<CheckoutChangedEventDetail>;
|
|
22
21
|
connectedCallback(): void;
|
|
23
22
|
componentWillLoad(): void;
|
|
24
23
|
componentDidLoad(): void;
|
|
25
24
|
disconnectedCallback(): void;
|
|
26
25
|
private fetchCheckout;
|
|
27
26
|
private updateStore;
|
|
27
|
+
private emitCheckoutChanged;
|
|
28
28
|
private queryFormRefs;
|
|
29
29
|
private setupApplePayListeners;
|
|
30
30
|
private removeApplePayListeners;
|
|
@@ -32,7 +32,7 @@ export declare class ModularCheckout {
|
|
|
32
32
|
private handleApplePayError;
|
|
33
33
|
private handleApplePayCancelled;
|
|
34
34
|
private tokenizePaymentMethod;
|
|
35
|
-
setSelectedPaymentMethod(paymentMethod:
|
|
35
|
+
setSelectedPaymentMethod(paymentMethod: SelectedPaymentMethod): Promise<void>;
|
|
36
36
|
validate(): Promise<boolean>;
|
|
37
37
|
submitCheckout(submitCheckoutArgs?: BillingFormFields): Promise<void>;
|
|
38
38
|
render(): any;
|
|
@@ -14,6 +14,7 @@ export declare class ApplePay {
|
|
|
14
14
|
isProcessing: boolean;
|
|
15
15
|
isAvailable: boolean;
|
|
16
16
|
canMakePayments: boolean;
|
|
17
|
+
isConfigValid: boolean;
|
|
17
18
|
error: string | null;
|
|
18
19
|
applePayStarted: EventEmitter<void>;
|
|
19
20
|
applePayCompleted: EventEmitter<{
|
|
@@ -25,10 +26,15 @@ export declare class ApplePay {
|
|
|
25
26
|
applePayCancelled: EventEmitter<void>;
|
|
26
27
|
applePayError: EventEmitter<{
|
|
27
28
|
error: string;
|
|
29
|
+
code: string;
|
|
28
30
|
}>;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
31
|
+
static ErrorCode: {
|
|
32
|
+
readonly CONFIG_ERROR: "CONFIG_ERROR";
|
|
33
|
+
readonly NOT_SUPPORTED: "NOT_SUPPORTED";
|
|
34
|
+
readonly NOT_AVAILABLE: "NOT_AVAILABLE";
|
|
35
|
+
readonly INITIALIZATION_ERROR: "INITIALIZATION_ERROR";
|
|
36
|
+
readonly PAYMENT_FAILED: "PAYMENT_FAILED";
|
|
37
|
+
};
|
|
32
38
|
private initializeApplePay;
|
|
33
39
|
private handleApplePayClick;
|
|
34
40
|
isSupported(): Promise<boolean>;
|
|
@@ -51,13 +51,12 @@ export declare class PlaidPaymentMethod {
|
|
|
51
51
|
waitForStoreAndInitialize: () => void;
|
|
52
52
|
resolvePaymentMethod(): Promise<PaymentMethodPayload>;
|
|
53
53
|
getPaymentToken(): Promise<string | undefined>;
|
|
54
|
-
|
|
54
|
+
handleSelectionClick(): Promise<void>;
|
|
55
55
|
initializePlaidLink: () => Promise<void>;
|
|
56
56
|
getLinkToken: () => Promise<void>;
|
|
57
57
|
mapApiErrorToPlaidError: (apiError: any) => PlaidErrorCodes;
|
|
58
58
|
openPlaidLink: () => void;
|
|
59
59
|
handlePlaidSuccess: (publicToken: string, _metadata: any) => void;
|
|
60
|
-
private exchangePublicTokenForPaymentMethod;
|
|
61
60
|
handlePlaidExit: (err: any, _metadata: any) => void;
|
|
62
61
|
handlePlaidEvent: (eventName: string, metadata: any) => void;
|
|
63
62
|
handlePlaidLoad: () => void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PAYMENT_METHODS, SavedPaymentMethod } from "../ModularCheckout";
|
|
2
2
|
export declare class SavedPaymentMethods {
|
|
3
3
|
componentWillLoad(): void;
|
|
4
|
-
onPaymentMethodOptionClick: (paymentMethod:
|
|
5
|
-
isAllowedPaymentMethod: (
|
|
4
|
+
onPaymentMethodOptionClick: (paymentMethod: SavedPaymentMethod) => (e: Event) => void;
|
|
5
|
+
isAllowedPaymentMethod: (paymentMethodType: PAYMENT_METHODS) => boolean;
|
|
6
6
|
render(): any;
|
|
7
7
|
}
|
|
@@ -10,7 +10,7 @@ export declare class SezzlePaymentMethod {
|
|
|
10
10
|
paymentMethodOptionSelected: EventEmitter;
|
|
11
11
|
componentDidRender(): void;
|
|
12
12
|
resolvePaymentMethod(insuranceValidation: any): Promise<PaymentMethodPayload>;
|
|
13
|
-
|
|
13
|
+
handleSelectionClick(): Promise<void>;
|
|
14
14
|
initializeSezzleCheckout: () => void;
|
|
15
15
|
render(): any;
|
|
16
16
|
}
|