@justifi/webcomponents 5.7.7 → 6.0.0-rc.10
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-DLhABIj9.js → Api-DyimBzKT.js} +1 -1
- package/dist/cjs/{ComponentError-C4MdBBMe.js → ComponentError-D4OLnOkg.js} +10 -0
- package/dist/cjs/{Refund-1bG6RRPO.js → Refund-BefKONu4.js} +248 -1
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -1
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +8 -9
- package/dist/cjs/bank-account-form.cjs.entry.js +66 -0
- package/dist/cjs/{business.service-CaCyLLFW.js → business.service-BB6zl4Gc.js} +3 -5
- package/dist/cjs/card-form.cjs.entry.js +74 -0
- package/dist/cjs/{check-pkg-version-D6Kztnv7.js → check-pkg-version-DiQ-d5Nl.js} +10 -6
- package/dist/cjs/{checkout.service-DgD37tJv.js → checkout.service-B-R80p4f.js} +3 -5
- package/dist/cjs/checkout.store-BGvYPPz0.js +88 -0
- package/dist/cjs/checkouts-list-core.cjs.entry.js +6 -7
- package/dist/cjs/{checkouts-table-Bzpqcsu0.js → checkouts-table-DjMdEiEW.js} +1 -1
- package/dist/cjs/{custom-popper.cjs.entry.js → custom-popper_2.cjs.entry.js} +22 -2
- package/dist/cjs/dinero-BwNN_k7x.js +1657 -0
- package/dist/cjs/{dispute.service-C0w_4Agq.js → dispute.service-B5tITFAh.js} +3 -5
- package/dist/cjs/form-alert_5.cjs.entry.js +4 -4
- package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/form-control-date.cjs.entry.js +2 -2
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +2 -2
- package/dist/cjs/form-control-monetary.cjs.entry.js +4 -3
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +3 -3
- package/dist/cjs/form-control-number.cjs.entry.js +2 -2
- package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
- package/dist/cjs/{form-control-select_3.cjs.entry.js → form-control-select_2.cjs.entry.js} +4 -23
- package/dist/cjs/{get-business-BJrtsomz.js → get-business-o5jPq_ME.js} +2 -2
- package/dist/cjs/{get-payment-details-BbfnopoD.js → get-payment-details-BfgRmNL4.js} +5 -7
- package/dist/cjs/{get-payout-csv-CXEQkjDm.js → get-payout-csv-DE_D9y08.js} +2 -2
- package/dist/cjs/{get-subaccounts-CpCJjnYt.js → get-subaccounts-Bnfv2tEN.js} +5 -7
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +3 -2
- package/dist/cjs/{iframe-input_4.cjs.entry.js → hidden-input_2.cjs.entry.js} +111 -153
- package/dist/cjs/index-D-dD-aC2.js +30 -0
- package/dist/cjs/index.cjs.js +8 -0
- package/dist/cjs/{insurance-state-e44s1lUQ.js → insurance-state-d2thhXUX.js} +18 -0
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +4 -5
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +17 -18
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +8 -8
- package/dist/cjs/justifi-apple-pay.cjs.entry.js +782 -0
- package/dist/cjs/justifi-bank-account-billing-form-simple_9.cjs.entry.js +373 -0
- package/dist/cjs/justifi-business-details.cjs.entry.js +11 -12
- package/dist/cjs/justifi-business-form.cjs.entry.js +10 -11
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
- package/dist/cjs/justifi-checkout-summary_7.cjs.entry.js +1421 -0
- package/dist/cjs/justifi-checkout.cjs.entry.js +69 -99
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +11 -12
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +13 -14
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +10 -11
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +13 -14
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +8 -9
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +12 -13
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +12 -13
- package/dist/cjs/justifi-payment-details.cjs.entry.js +11 -12
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +11 -12
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +10 -11
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +4 -3
- package/dist/cjs/justifi-payments-list.cjs.entry.js +12 -13
- package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -11
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +10 -11
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +4 -3
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +13 -14
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +10 -11
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +31 -0
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +120 -18
- package/dist/cjs/justifi-skeleton.cjs.entry.js +17 -0
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +6 -7
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +10 -11
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +5 -6
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +12 -13
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-C0-LCfay.js → package-Be2aoTf8.js} +1 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +10 -9
- package/dist/cjs/payment-method-option-utils-WYHIHy-l.js +15 -0
- package/dist/cjs/payment-method-option.cjs.entry.js +17 -0
- package/dist/cjs/{payment-provisioning-actions-BkWSDJQQ.js → payment-provisioning-actions-CZVlnRA0.js} +2 -2
- package/dist/cjs/{payment.service-CtSdIJoy.js → payment.service-aR96UW5e.js} +3 -5
- package/dist/cjs/payments-list-core.cjs.entry.js +6 -7
- package/dist/cjs/{payments-table-CUGE6F-R.js → payments-table-BE8u0-i0.js} +1 -1
- package/dist/cjs/payout-details-core.cjs.entry.js +5 -4
- package/dist/cjs/{payout.service-7DP6F8x7.js → payout.service-6Cl_yXXQ.js} +3 -5
- package/dist/cjs/payouts-list-core.cjs.entry.js +6 -7
- package/dist/cjs/{payouts-table-Ca9HqjV7.js → payouts-table-BbydhJUr.js} +1 -1
- package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +6 -7
- package/dist/cjs/{terminal-orders-table-DPe_2FNB.js → terminal-orders-table-B4HjERrK.js} +3 -5
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
- package/dist/cjs/{terminal.service-BR9g1yaB.js → terminal.service-D1FAYZzd.js} +3 -5
- package/dist/cjs/terminals-list-core.cjs.entry.js +6 -7
- package/dist/cjs/{terminals-table-DDoJIYZu.js → terminals-table-C79Xc4FI.js} +1 -1
- package/dist/cjs/{utils-Dewr6SlQ.js → utils-ChCUZgUy.js} +3 -1661
- package/dist/cjs/{utils-l0veqT9y.js → utils-DvUQQLmR.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/actions/checkout/checkout-actions.js +2 -1
- package/dist/collection/api/ApplePay.js +119 -0
- package/dist/collection/api/BillingInformation.js +1 -0
- package/dist/collection/api/Checkout.js +1 -3
- package/dist/collection/api/ComponentError.js +10 -0
- package/dist/collection/api/Payment.js +5 -2
- package/dist/collection/api/PaymentMethod.js +1 -0
- package/dist/collection/api/services/apple-pay.service.js +293 -0
- package/dist/collection/api/services/plaid.service.js +20 -0
- package/dist/collection/assets/plaid-icon.svg +1 -0
- package/dist/collection/collection-manifest.json +17 -9
- package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +1 -1
- 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 +1 -1
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +1 -1
- 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 +1 -1
- 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/billing-form/billing-form-schema.js +3 -3
- package/dist/collection/components/checkout/card-form/card-form.js +2 -2
- package/dist/collection/components/checkout/checkout.js +136 -53
- package/dist/collection/components/checkout/payment-method-option-utils.js +0 -1
- package/dist/collection/components/checkout/save-new-payment-method.js +9 -5
- 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/insurance/insurance-state.js +18 -1
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +118 -12
- package/dist/collection/components/modular-checkout/ModularCheckout.js +28 -0
- package/dist/collection/components/modular-checkout/modular-checkout.js +525 -0
- package/dist/collection/components/modular-checkout/sub-components/apple-pay-skeleton.js +10 -0
- package/dist/collection/components/modular-checkout/sub-components/apple-pay.js +509 -0
- package/dist/collection/components/{checkout/billing-form → modular-checkout/sub-components}/bank-account-billing-form-simple.js +7 -5
- package/dist/collection/components/modular-checkout/sub-components/bank-account-skeleton.js +10 -0
- package/dist/collection/components/modular-checkout/sub-components/bank-account.js +98 -0
- package/dist/collection/components/{checkout/billing-form → modular-checkout/sub-components}/billing-form-full.js +12 -8
- package/dist/collection/components/{checkout/billing-form → modular-checkout/sub-components}/card-billing-form-simple.js +7 -5
- package/dist/collection/components/modular-checkout/sub-components/card-form-skeleton.js +10 -0
- package/dist/collection/components/modular-checkout/sub-components/card-form.js +102 -0
- package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +113 -0
- package/dist/collection/components/modular-checkout/sub-components/plaid-payment-method.js +885 -0
- package/dist/collection/components/modular-checkout/sub-components/plaid-payment-method.test.js +124 -0
- package/dist/collection/components/modular-checkout/sub-components/saved-payment-methods.js +42 -0
- package/dist/collection/components/modular-checkout/sub-components/sezzle-payment-method.js +144 -0
- package/dist/collection/components/modular-checkout/sub-components/summary.js +12 -0
- 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 +317 -78
- package/dist/collection/index.js +1 -0
- package/dist/collection/store/checkout.store.js +78 -0
- package/dist/collection/ui-components/apple-pay-button.js +146 -0
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
- package/dist/collection/ui-components/form/form-control-date.js +2 -2
- package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
- package/dist/collection/ui-components/form/form-control-file.js +2 -2
- package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
- package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
- package/dist/collection/ui-components/form/form-control-number.js +2 -2
- package/dist/collection/ui-components/form/form-control-radio.js +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 +10 -5
- package/dist/collection/ui-components/index.js +1 -0
- package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +176 -0
- package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +83 -0
- package/dist/collection/ui-components/shadow-dom-components/justifi-radio-list-item.js +155 -0
- package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +108 -0
- package/dist/collection/utils/check-pkg-version.js +6 -0
- package/dist/docs.json +5408 -5097
- package/dist/esm/{Api-BJv2_XdA.js → Api-DAWuvzbl.js} +1 -1
- package/dist/esm/{ComponentError-SdntD1xf.js → ComponentError-Cjcsf8ku.js} +11 -1
- package/dist/esm/{Dispute-7MWRbTXI.js → Dispute-BH0Xfn-F.js} +1 -1
- package/dist/esm/{Refund-Dwnnpqim.js → Refund-CVh70dXA.js} +247 -2
- package/dist/esm/additional-questions-details_5.entry.js +4 -3
- package/dist/esm/{badge-XXatxWS0.js → badge-DSYSJcRy.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +12 -13
- package/dist/{module/bank-account-form2.js → esm/bank-account-form.entry.js} +12 -36
- package/dist/esm/business-details-core.entry.js +3 -3
- package/dist/esm/{business.service-Di9jP2_p.js → business.service-cQrH5BqF.js} +4 -6
- package/dist/esm/{button-C-ZZ9yD1.js → button-CpllL0At.js} +1 -1
- package/dist/esm/card-form.entry.js +72 -0
- package/dist/esm/{check-pkg-version-8KHO3ihW.js → check-pkg-version-CAnDiqiu.js} +11 -7
- package/dist/esm/{checkout.service-l-H_OIZa.js → checkout.service-Bbgi1I6V.js} +4 -6
- package/dist/esm/checkout.store-CCdFOPCK.js +83 -0
- package/dist/esm/checkouts-list-core.entry.js +11 -12
- package/dist/esm/{checkouts-table-DmwocPX2.js → checkouts-table-Ddf2I-Ul.js} +3 -3
- package/dist/esm/{custom-popper.entry.js → custom-popper_2.entry.js} +22 -3
- package/dist/esm/dinero-HXpYMWUU.js +1655 -0
- package/dist/esm/{dispute.service-CaEbHFjw.js → dispute.service-CrZsNDW8.js} +4 -6
- 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-eKr_QuRZ.js → form-control-error-text-R7U07nTg.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +5 -5
- package/dist/esm/{form-control-help-text-Dw2vjMQ5.js → form-control-help-text-CRLH-2f7.js} +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +5 -5
- package/dist/esm/form-control-monetary.entry.js +7 -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_3.entry.js → form-control-select_2.entry.js} +7 -25
- package/dist/esm/{get-business-GEPTefIj.js → get-business-Crb6P-iI.js} +2 -2
- package/dist/esm/{get-payment-details-BOpjKcRB.js → get-payment-details-0VzpMNY9.js} +5 -7
- package/dist/esm/{get-payout-csv-D7IYYqVL.js → get-payout-csv-D-Lnooki.js} +2 -2
- package/dist/esm/{get-subaccounts-0Ri4RB5r.js → get-subaccounts-9UMbyFiT.js} +6 -8
- package/dist/esm/gross-payment-chart-core.entry.js +6 -5
- package/dist/esm/{header-1-BnwrlkS-.js → header-1-3M9If0gM.js} +1 -1
- package/dist/esm/{header-3-IOnOCyak.js → header-3-CWa41YWq.js} +1 -1
- package/dist/esm/{iframe-input_4.entry.js → hidden-input_2.entry.js} +106 -146
- package/dist/esm/index-CbL73B6U.js +30 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/insurance-state-CTalqbNa.js +45 -0
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +8 -9
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +20 -21
- package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
- package/dist/esm/justifi-apple-pay.entry.js +780 -0
- package/dist/esm/justifi-bank-account-billing-form-simple_9.entry.js +363 -0
- package/dist/esm/justifi-business-details.entry.js +13 -14
- package/dist/esm/justifi-business-form.entry.js +15 -16
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
- package/dist/esm/justifi-checkout-summary_7.entry.js +1413 -0
- package/dist/esm/justifi-checkout.entry.js +69 -99
- package/dist/esm/justifi-checkouts-list-filters.entry.js +7 -8
- package/dist/esm/justifi-checkouts-list.entry.js +15 -16
- 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 +11 -12
- package/dist/esm/justifi-dispute-notification_3.entry.js +16 -17
- package/dist/esm/justifi-gross-payment-chart.entry.js +11 -12
- package/dist/esm/justifi-order-terminals.entry.js +15 -16
- package/dist/esm/justifi-owner-form_3.entry.js +14 -15
- package/dist/esm/justifi-payment-details.entry.js +13 -14
- package/dist/esm/justifi-payment-provisioning-core.entry.js +4 -4
- package/dist/esm/justifi-payment-provisioning.entry.js +12 -13
- package/dist/esm/justifi-payment-transactions-list.entry.js +14 -15
- package/dist/esm/justifi-payments-list-filters.entry.js +5 -4
- package/dist/esm/justifi-payments-list.entry.js +15 -16
- package/dist/esm/justifi-payout-details.entry.js +13 -14
- package/dist/esm/justifi-payout-transactions-list.entry.js +14 -15
- package/dist/esm/justifi-payouts-list-filters.entry.js +5 -4
- package/dist/esm/justifi-payouts-list.entry.js +17 -18
- package/dist/esm/justifi-refund-payment.entry.js +14 -15
- package/dist/esm/justifi-saved-payment-method.entry.js +29 -0
- package/dist/esm/justifi-season-interruption-insurance.entry.js +122 -20
- package/dist/esm/justifi-skeleton.entry.js +15 -0
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +8 -9
- package/dist/esm/justifi-terminal-orders-list.entry.js +13 -14
- package/dist/esm/justifi-terminals-list-filters.entry.js +7 -8
- package/dist/esm/justifi-terminals-list.entry.js +15 -16
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-BOCuVjGs.js → package-CnWtPu8L.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/{parts-CVGBVdVC.js → parts-RvUQ__Pq.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +15 -14
- package/dist/esm/payment-method-option-utils-lUHAQVFl.js +15 -0
- package/dist/esm/payment-method-option.entry.js +15 -0
- package/dist/esm/{payment-provisioning-actions-BIfyW239.js → payment-provisioning-actions-ONP8lDnV.js} +2 -2
- package/dist/esm/{payment.service-Dz5mhgIm.js → payment.service-TxyxCg0E.js} +4 -6
- package/dist/esm/payments-list-core.entry.js +12 -13
- package/dist/esm/{payments-status-CN8wEqKC.js → payments-status-5orNU2Rd.js} +1 -1
- package/dist/esm/{payments-table-SmMgUr5X.js → payments-table-gkJV5GNK.js} +3 -3
- package/dist/esm/payout-details-core.entry.js +11 -10
- package/dist/esm/{payout.service-DUnRbCmv.js → payout.service-BOwZ4wWh.js} +4 -6
- package/dist/esm/payouts-list-core.entry.js +12 -13
- package/dist/esm/{payouts-status-BzTh9X2W.js → payouts-status-CZPwa2AE.js} +1 -1
- package/dist/esm/{payouts-table-SB6q0e7V.js → payouts-table-0PtktGRd.js} +3 -3
- package/dist/esm/{skeleton-DK6mW457.js → skeleton-qMb0_Cjy.js} +1 -1
- package/dist/esm/{spinner-CWoD0q_S.js → spinner-DUzyWLhj.js} +1 -1
- package/dist/esm/{table-KCj3mM1K.js → table-Br3n9Xu-.js} +2 -2
- package/dist/esm/table-filters-menu.entry.js +3 -3
- package/dist/esm/terminal-orders-list-core.entry.js +11 -12
- package/dist/esm/{terminal-orders-table-CPsSDEWs.js → terminal-orders-table-DTBSIMlJ.js} +6 -8
- package/dist/esm/terminal-quantity-selector.entry.js +2 -2
- package/dist/esm/{terminal.service-Vhk3qPk2.js → terminal.service-E6dZlM43.js} +4 -6
- package/dist/esm/terminals-list-core.entry.js +11 -12
- package/dist/esm/{terminals-table-CAavYaG5.js → terminals-table-TGUKTi7I.js} +3 -3
- package/dist/esm/{utils-Dccsn9BY.js → utils-BeQLScSm.js} +1 -1
- package/dist/esm/{utils-CKEiU2Q5.js → utils-BscIVFn8.js} +3 -1660
- package/dist/esm/{utils-_kzStVq_.js → utils-Dg6gMUTv.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/{check-pkg-version.js → Analytics.js} +28 -24
- package/dist/module/ModularCheckout.js +30 -0
- package/dist/module/Refund.js +331 -1
- package/dist/module/additional-questions.js +1 -1
- package/dist/module/additional-statement.js +2 -2
- package/dist/module/badge.js +1 -1
- package/dist/module/bank-account-billing-form-simple.js +9 -4
- package/dist/module/bank-account-document-inputs.js +3 -5
- package/dist/module/bank-account-form-inputs2.js +1 -1
- package/dist/module/bank-account-form.js +86 -1
- package/dist/module/bank-account.js +103 -0
- package/dist/module/billing-form-full.js +14 -11
- package/dist/module/billing-form-schema.js +3 -3
- package/dist/module/business-additional-questions-form-step.js +2 -2
- package/dist/module/business-bank-account-form-step-core.js +2 -4
- package/dist/module/business-bank-account-form-step.js +3 -5
- package/dist/module/business-core-info-form-step.js +2 -2
- package/dist/module/business-core-info.js +1 -1
- package/dist/module/business-details-core2.js +1 -0
- package/dist/module/business-documents-on-file2.js +2 -1
- package/dist/module/business-owners-form-step-core.js +1 -0
- package/dist/module/business-owners-form-step.js +2 -2
- package/dist/module/business-representative-form-inputs.js +1 -1
- package/dist/module/business-representative-form-step.js +2 -2
- package/dist/module/business-representative.js +1 -1
- package/dist/module/business-terms-conditions-form-step.js +2 -4
- package/dist/module/business.service.js +1 -3
- package/dist/module/button.js +1 -1
- package/dist/module/cancellation-policy.js +2 -2
- package/dist/module/card-billing-form-simple.js +9 -4
- package/dist/module/card-form.js +94 -1
- package/dist/module/card-form2.js +28 -13
- package/dist/module/checkout.service.js +1 -3
- package/dist/module/checkout.store.js +81 -0
- package/dist/module/checkouts-list-core2.js +6 -6
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +2 -2
- package/dist/module/dinero.js +1655 -0
- package/dist/module/dispute-management-core.js +2 -2
- package/dist/module/dispute-notification.js +3 -2
- package/dist/module/dispute-response-actions.js +1 -3
- package/dist/module/dispute-response-core.js +2 -2
- package/dist/module/dispute-response.js +4 -3
- package/dist/module/duplicate-charge.js +2 -2
- package/dist/module/electronic-evidence.js +2 -2
- package/dist/module/form-alert2.js +1 -1
- package/dist/module/form-control-checkbox2.js +4 -3
- package/dist/module/form-control-date2.js +3 -2
- package/dist/module/form-control-file-v22.js +1 -1
- package/dist/module/form-control-file2.js +3 -2
- package/dist/module/form-control-monetary-provisioning2.js +4 -3
- package/dist/module/form-control-monetary2.js +4 -3
- package/dist/module/form-control-number-masked2.js +3 -2
- package/dist/module/form-control-number.js +4 -3
- package/dist/module/form-control-radio2.js +4 -4
- package/dist/module/form-control-select2.js +3 -2
- package/dist/module/form-control-text2.js +3 -2
- package/dist/module/form-control-textarea2.js +3 -3
- package/dist/module/get-business.js +1 -1
- package/dist/module/get-payment-details.js +2 -4
- package/dist/module/get-payout-csv.js +1 -1
- package/dist/module/get-subaccounts.js +2 -4
- package/dist/module/gross-payment-chart-core2.js +2 -2
- package/dist/module/header-2.js +8 -0
- package/dist/module/header-3.js +8 -0
- package/dist/module/hidden-input2.js +2 -2
- package/dist/module/identity-address-form.js +1 -1
- package/dist/module/iframe-input2.js +6 -6
- package/dist/module/index.js +1 -0
- package/dist/module/insurance-state.js +18 -7
- package/dist/module/{justifi-checkout-core.d.ts → justifi-apple-pay.d.ts} +4 -4
- package/dist/module/justifi-apple-pay.js +811 -0
- package/dist/module/justifi-bank-account-form.d.ts +11 -0
- package/dist/module/justifi-bank-account-form.js +6 -0
- package/dist/module/justifi-business-details.js +2 -2
- package/dist/module/justifi-business-form.js +4 -5
- package/dist/module/justifi-button.d.ts +11 -0
- package/dist/module/justifi-button.js +6 -0
- package/dist/module/justifi-button2.js +41 -0
- package/dist/module/justifi-card-form.d.ts +11 -0
- package/dist/module/justifi-card-form.js +6 -0
- package/dist/module/justifi-checkout-summary.d.ts +11 -0
- package/dist/module/justifi-checkout-summary.js +6 -0
- package/dist/module/justifi-checkout.js +147 -139
- package/dist/module/justifi-checkouts-list-filters.js +4 -5
- package/dist/module/justifi-checkouts-list.js +5 -6
- package/dist/module/justifi-dispute-management.js +3 -4
- package/dist/module/justifi-gross-payment-chart.js +2 -4
- package/dist/module/justifi-header.d.ts +11 -0
- package/dist/module/justifi-header.js +6 -0
- package/dist/module/justifi-header2.js +43 -0
- package/dist/module/justifi-modular-checkout.d.ts +11 -0
- package/dist/module/justifi-modular-checkout.js +6 -0
- package/dist/module/justifi-order-terminals.js +7 -7
- package/dist/module/justifi-payment-details.js +2 -2
- package/dist/module/justifi-payment-provisioning.js +3 -5
- package/dist/module/justifi-payment-transactions-list.js +7 -7
- package/dist/module/justifi-payments-list-filters.js +4 -3
- package/dist/module/justifi-payments-list.js +5 -6
- package/dist/module/justifi-payout-details.js +3 -5
- package/dist/module/justifi-payout-transactions-list.js +7 -7
- package/dist/module/justifi-payouts-list-filters.js +4 -3
- package/dist/module/justifi-payouts-list.js +5 -6
- package/dist/module/justifi-plaid-payment-method.d.ts +11 -0
- package/dist/module/justifi-plaid-payment-method.js +6 -0
- package/dist/module/justifi-radio-list-item.d.ts +11 -0
- package/dist/module/justifi-radio-list-item.js +6 -0
- package/dist/module/justifi-radio-list-item2.js +55 -0
- package/dist/module/justifi-refund-payment.js +3 -4
- package/dist/module/justifi-saved-payment-method.js +57 -1
- package/dist/module/justifi-saved-payment-methods.d.ts +11 -0
- package/dist/module/justifi-saved-payment-methods.js +6 -0
- package/dist/module/justifi-season-interruption-insurance.js +124 -24
- package/dist/module/justifi-skeleton.d.ts +11 -0
- package/dist/module/justifi-skeleton.js +39 -0
- package/dist/module/justifi-terminal-orders-list-filters.js +5 -6
- package/dist/module/justifi-terminal-orders-list.js +5 -6
- package/dist/module/justifi-terminals-list-filters.js +4 -5
- package/dist/module/justifi-terminals-list.js +5 -6
- package/dist/module/justifi-tokenize-payment-method.js +1 -219
- package/dist/module/legal-address-form-step.js +2 -2
- package/dist/module/legal-address-form.js +1 -1
- package/dist/module/modular-checkout.js +406 -0
- package/dist/module/owner-form-core2.js +3 -2
- package/dist/module/owner-form-inputs2.js +1 -1
- package/dist/module/owner-form.js +1 -1
- package/dist/module/package.js +3 -3
- package/dist/module/pagination-menu2.js +1 -1
- package/dist/module/parts.js +1 -1
- package/dist/module/payment-details-core2.js +10 -9
- package/dist/module/payment-method-option-utils.js +15 -0
- package/dist/module/payment-method-option.d.ts +11 -0
- package/dist/module/payment-method-option.js +54 -0
- package/dist/module/payment-provisioning-actions.js +1 -1
- package/dist/module/payment-provisioning-core.js +3 -2
- package/dist/module/payment-provisioning-form-buttons.js +2 -1
- package/dist/module/payment-provisioning-form-steps.js +1 -1
- package/dist/module/payment-provisioning-loading.js +1 -0
- package/dist/module/payment.service.js +1 -3
- package/dist/module/payments-list-core2.js +6 -6
- package/dist/module/payout-details-core2.js +5 -4
- package/dist/module/payout.service.js +1 -3
- package/dist/module/payouts-list-core2.js +6 -6
- package/dist/module/plaid-payment-method.js +687 -0
- package/dist/module/product-or-service.js +2 -2
- package/dist/module/refund-policy.js +2 -2
- package/dist/module/save-new-payment-method.js +13 -6
- package/dist/module/saved-payment-methods.js +75 -0
- package/dist/module/sezzle-payment-method.js +34 -35
- package/dist/module/shipping-details.js +2 -2
- package/dist/module/spinner.js +1 -1
- package/dist/module/summary.js +35 -0
- package/dist/module/table-filters-menu2.js +1 -1
- package/dist/module/table.js +1 -1
- package/dist/module/terminal-orders-list-core2.js +6 -6
- package/dist/module/terminal-quantity-selector2.js +2 -2
- package/dist/module/terminal.service.js +1 -3
- package/dist/module/terminals-list-core2.js +6 -6
- package/dist/module/tokenize-payment-method.js +410 -0
- package/dist/module/utils2.js +3 -1660
- package/dist/module/utils4.js +1 -1
- package/dist/types/api/ApplePay.d.ts +196 -0
- package/dist/types/api/BillingInformation.d.ts +13 -0
- package/dist/types/api/Checkout.d.ts +23 -26
- package/dist/types/api/ComponentError.d.ts +10 -1
- package/dist/types/api/Payment.d.ts +4 -3
- package/dist/types/api/PaymentMethod.d.ts +21 -0
- package/dist/types/api/services/apple-pay.service.d.ts +55 -0
- package/dist/types/api/services/plaid.service.d.ts +12 -0
- package/dist/types/components/checkout/billing-form/billing-form-schema.d.ts +4 -4
- package/dist/types/components/checkout/checkout.d.ts +26 -11
- package/dist/types/components/checkout/save-new-payment-method.d.ts +1 -1
- package/dist/types/components/insurance/insurance-state.d.ts +2 -1
- package/dist/types/components/insurance/season-interruption/season-interruption-insurance.d.ts +9 -3
- package/dist/types/components/modular-checkout/ModularCheckout.d.ts +31 -0
- package/dist/types/components/modular-checkout/modular-checkout.d.ts +43 -0
- package/dist/types/components/modular-checkout/sub-components/apple-pay-skeleton.d.ts +6 -0
- package/dist/types/components/modular-checkout/sub-components/apple-pay.d.ts +39 -0
- package/dist/types/components/{checkout/billing-form → modular-checkout/sub-components}/bank-account-billing-form-simple.d.ts +1 -1
- package/dist/types/components/modular-checkout/sub-components/bank-account-skeleton.d.ts +6 -0
- package/dist/types/components/modular-checkout/sub-components/bank-account.d.ts +18 -0
- package/dist/types/components/{checkout/billing-form → modular-checkout/sub-components}/billing-form-full.d.ts +1 -2
- package/dist/types/components/{checkout/billing-form → modular-checkout/sub-components}/card-billing-form-simple.d.ts +1 -1
- package/dist/types/components/modular-checkout/sub-components/card-form-skeleton.d.ts +6 -0
- package/dist/types/components/modular-checkout/sub-components/card-form.d.ts +20 -0
- package/dist/types/components/modular-checkout/sub-components/payment-method-option.d.ts +8 -0
- package/dist/types/components/modular-checkout/sub-components/plaid-payment-method.d.ts +80 -0
- package/dist/types/components/modular-checkout/sub-components/plaid-payment-method.test.d.ts +1 -0
- package/dist/types/components/modular-checkout/sub-components/saved-payment-methods.d.ts +7 -0
- package/dist/types/components/{checkout → modular-checkout/sub-components}/sezzle-payment-method.d.ts +4 -10
- package/dist/types/components/modular-checkout/sub-components/summary.d.ts +3 -0
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +45 -17
- package/dist/types/components.d.ts +468 -223
- package/dist/types/index.d.ts +2 -0
- package/dist/types/store/checkout.store.d.ts +38 -0
- package/dist/types/ui-components/apple-pay-button.d.ts +17 -0
- package/dist/types/ui-components/form/form-control-radio.d.ts +1 -1
- package/dist/types/ui-components/form/iframe-input.d.ts +2 -1
- package/dist/types/ui-components/index.d.ts +1 -0
- package/dist/types/ui-components/shadow-dom-components/justifi-button.d.ts +13 -0
- package/dist/types/ui-components/shadow-dom-components/justifi-radio-list-item.d.ts +12 -0
- package/dist/types/ui-components/shadow-dom-components/justifi-skeleton.d.ts +10 -0
- package/dist/webcomponents/index.esm.js +1 -0
- package/dist/webcomponents/p-0803d130.entry.js +1 -0
- package/dist/webcomponents/{p-BtyEAd0R.js → p-0Om7jLBs.js} +1 -1
- package/dist/webcomponents/p-117b7f47.entry.js +1 -0
- package/dist/webcomponents/p-17093105.entry.js +1 -0
- package/dist/webcomponents/p-1a08b47f.entry.js +1 -0
- package/dist/webcomponents/p-1bcb3852.entry.js +1 -0
- package/dist/webcomponents/p-1eb2b847.entry.js +1 -0
- package/dist/webcomponents/p-2f7aa249.entry.js +1 -0
- package/dist/webcomponents/{p-7a0661a2.entry.js → p-2fa34c82.entry.js} +4 -4
- package/dist/webcomponents/p-33311d41.entry.js +1 -0
- package/dist/webcomponents/p-336c31b3.entry.js +1 -0
- package/dist/webcomponents/p-3f33c940.entry.js +1 -0
- package/dist/webcomponents/p-442f86e8.entry.js +1 -0
- package/dist/webcomponents/{p-80b6c011.entry.js → p-44450a94.entry.js} +1 -1
- package/dist/webcomponents/p-464e7a8e.entry.js +1 -0
- package/dist/webcomponents/p-50392803.entry.js +1 -0
- package/dist/webcomponents/p-52cbd667.entry.js +1 -0
- package/dist/webcomponents/{p-d43a4316.entry.js → p-54ca3070.entry.js} +1 -1
- package/dist/webcomponents/{p-BTS3E50C.js → p-5aA7gjr5.js} +1 -1
- package/dist/webcomponents/p-5ad0f438.entry.js +1 -0
- package/dist/webcomponents/p-613421d4.entry.js +1 -0
- package/dist/webcomponents/p-62d12566.entry.js +1 -0
- package/dist/webcomponents/p-65ed60bf.entry.js +1 -0
- package/dist/webcomponents/p-6cf30a24.entry.js +1 -0
- package/dist/webcomponents/{p-bcadc072.entry.js → p-70f51444.entry.js} +1 -1
- package/dist/webcomponents/p-729dbd8f.entry.js +1 -0
- package/dist/webcomponents/p-77948b46.entry.js +1 -0
- package/dist/webcomponents/p-7bcfaff4.entry.js +1 -0
- package/dist/webcomponents/{p-96247d70.entry.js → p-7cf87637.entry.js} +1 -1
- package/dist/webcomponents/p-7dd74e6f.entry.js +1 -0
- package/dist/webcomponents/{p-ck6bcYXe.js → p-7s1gsXM5.js} +1 -1
- package/dist/webcomponents/p-80331983.entry.js +1 -0
- package/dist/webcomponents/p-85f20746.entry.js +1 -0
- package/dist/webcomponents/p-8687e5d6.entry.js +1 -0
- package/dist/webcomponents/p-89ecd650.entry.js +1 -0
- package/dist/webcomponents/p-8a6718b6.entry.js +1 -0
- package/dist/webcomponents/p-8d6b81ba.entry.js +1 -0
- package/dist/webcomponents/p-8d743490.entry.js +1 -0
- package/dist/webcomponents/p-8f7396b1.entry.js +1 -0
- package/dist/webcomponents/p-8ff839a4.entry.js +1 -0
- package/dist/webcomponents/{p-d53c3370.entry.js → p-95cbb655.entry.js} +1 -1
- package/dist/webcomponents/p-98cffba9.entry.js +1 -0
- package/dist/webcomponents/{p-cdd2c7c8.entry.js → p-9a2c044f.entry.js} +1 -1
- package/dist/webcomponents/p-9be67b19.entry.js +1 -0
- package/dist/webcomponents/p-9e8021a1.entry.js +1 -0
- package/dist/webcomponents/p-9fc0ea58.entry.js +1 -0
- package/dist/webcomponents/p-9fc567d8.entry.js +1 -0
- package/dist/webcomponents/p-9fcff84c.entry.js +1 -0
- package/dist/webcomponents/p-B71k50jz.js +1 -0
- package/dist/webcomponents/p-BF4U0yVj.js +1 -0
- package/dist/webcomponents/{p-7MWRbTXI.js → p-BH0Xfn-F.js} +1 -1
- package/dist/webcomponents/p-BHf9IqGw.js +1 -0
- package/dist/webcomponents/p-BSt6p1oq.js +1 -0
- package/dist/webcomponents/{p-BQQ7ifKz.js → p-Bb-6bNcq.js} +1 -1
- package/dist/webcomponents/p-BbZwa5UI.js +1 -0
- package/dist/webcomponents/p-BdKWuCys.js +1 -0
- package/dist/webcomponents/p-BfM6X7lF.js +1 -0
- package/dist/webcomponents/{p-DK0C7j0u.js → p-BjVfIXWC.js} +1 -1
- package/dist/webcomponents/{p-BpWSwi9x.js → p-BsGE9UDv.js} +1 -1
- package/dist/webcomponents/{p-DV1c2IYS.js → p-C5id7s_l.js} +1 -1
- package/dist/webcomponents/{p-dzS7n4Xj.js → p-CAJnQLZF.js} +1 -1
- package/dist/webcomponents/{p-DetWIU1e.js → p-CB0mCq1M.js} +1 -1
- package/dist/webcomponents/p-CaAVuW6B.js +1 -0
- package/dist/webcomponents/p-Cb0FhuyU.js +1 -0
- package/dist/webcomponents/p-CbL73B6U.js +1 -0
- package/dist/webcomponents/p-Cjcsf8ku.js +1 -0
- package/dist/webcomponents/p-CnWtPu8L.js +1 -0
- package/dist/webcomponents/{p-C5RuuShs.js → p-D2muobcE.js} +1 -1
- package/dist/webcomponents/{p-v6yK8Vbe.js → p-DD0Mvpeu.js} +1 -1
- package/dist/webcomponents/{p-B_t2t34m.js → p-DDUmOl3v.js} +1 -1
- package/dist/webcomponents/p-DH8F0bsw.js +1 -0
- package/dist/webcomponents/p-DIDloHpm.js +1 -0
- package/dist/webcomponents/p-DIjoBk44.js +1 -0
- package/dist/webcomponents/p-DK2sRMlx.js +1 -0
- package/dist/webcomponents/{p-qGbNz93o.js → p-DNo0OPOP.js} +1 -1
- package/dist/webcomponents/p-DRXvcLy9.js +1 -0
- package/dist/webcomponents/p-DYGIC0QH.js +1 -0
- package/dist/webcomponents/p-DZYcH7jA.js +1 -0
- package/dist/webcomponents/p-Da3idOSV.js +1 -0
- package/dist/webcomponents/p-Dgflaz6J.js +1 -0
- package/dist/webcomponents/p-ED_TzwCp.js +1 -0
- package/dist/webcomponents/p-HXpYMWUU.js +1 -0
- package/dist/webcomponents/p-JyHlIFWl.js +1 -0
- package/dist/webcomponents/{p-CVGBVdVC.js → p-RvUQ__Pq.js} +1 -1
- package/dist/webcomponents/p-Wh1V0gvF.js +1 -0
- package/dist/webcomponents/p-ZpPDShvP.js +1 -0
- package/dist/webcomponents/p-a55f07af.entry.js +1 -0
- package/dist/webcomponents/p-aa6194ef.entry.js +1 -0
- package/dist/webcomponents/p-ab6a5dc9.entry.js +1 -0
- package/dist/webcomponents/p-af9c4174.entry.js +1 -0
- package/dist/webcomponents/p-b7d2f2eb.entry.js +1 -0
- package/dist/webcomponents/p-bbc4b4cb.entry.js +1 -0
- package/dist/webcomponents/p-c599e526.entry.js +1 -0
- package/dist/webcomponents/p-d62cd269.entry.js +1 -0
- package/dist/webcomponents/p-d9dd7d24.entry.js +1 -0
- package/dist/webcomponents/p-dd7352da.entry.js +1 -0
- package/dist/webcomponents/p-e8a67dc7.entry.js +1 -0
- package/dist/webcomponents/p-eb2d9e5b.entry.js +1 -0
- package/dist/webcomponents/p-eddaca4e.entry.js +1 -0
- package/dist/webcomponents/p-ef32fe0e.entry.js +1 -0
- package/dist/webcomponents/{p-c51651aa.entry.js → p-f1cba43c.entry.js} +1 -1
- package/dist/webcomponents/p-f1f0b405.entry.js +1 -0
- package/dist/webcomponents/p-f499a8de.entry.js +1 -0
- package/dist/webcomponents/p-f4d0cdf0.entry.js +1 -0
- package/dist/webcomponents/p-f680e617.entry.js +1 -0
- package/dist/webcomponents/p-f7c4222f.entry.js +1 -0
- package/dist/webcomponents/p-fa1884b4.entry.js +1 -0
- package/dist/webcomponents/p-z-5r0gWn.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +2 -2
- package/dist/cjs/Checkout-BbhldGDh.js +0 -103
- package/dist/cjs/Payment-D6XuQ4Ve.js +0 -151
- package/dist/cjs/bank-account-form_9.cjs.entry.js +0 -544
- package/dist/cjs/iframe-input-styles-state-DH-5a2Mg.js +0 -26
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +0 -141
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +0 -124
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +0 -80
- package/dist/collection/components/checkout/checkout-core.js +0 -454
- package/dist/collection/components/checkout/new-payment-method.js +0 -378
- package/dist/collection/components/checkout/payment-method-options.js +0 -440
- package/dist/collection/components/checkout/sezzle-payment-method.js +0 -240
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +0 -447
- package/dist/esm/Checkout-CIUkm9aQ.js +0 -101
- package/dist/esm/Payment-DrCqUoz-.js +0 -149
- package/dist/esm/bank-account-form_9.entry.js +0 -534
- package/dist/esm/iframe-input-styles-state-Cqb62KAu.js +0 -23
- package/dist/esm/insurance-state-DRFl0tWj.js +0 -28
- package/dist/esm/justifi-checkout-core.entry.js +0 -139
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +0 -122
- package/dist/esm/justifi-tokenize-payment-method.entry.js +0 -78
- package/dist/module/Checkout.js +0 -121
- package/dist/module/Payment.js +0 -204
- package/dist/module/checkout-core.js +0 -292
- package/dist/module/justifi-checkout-core.js +0 -6
- package/dist/module/justifi-new-payment-method.d.ts +0 -11
- package/dist/module/justifi-new-payment-method.js +0 -6
- package/dist/module/justifi-payment-method-options.d.ts +0 -11
- package/dist/module/justifi-payment-method-options.js +0 -6
- package/dist/module/justifi-season-interruption-insurance-core.d.ts +0 -11
- package/dist/module/justifi-season-interruption-insurance-core.js +0 -6
- package/dist/module/new-payment-method.js +0 -222
- package/dist/module/payment-method-options.js +0 -237
- package/dist/module/saved-payment-method.js +0 -79
- package/dist/module/season-interruption-insurance-core.js +0 -168
- package/dist/types/components/checkout/checkout-core.d.ts +0 -49
- package/dist/types/components/checkout/new-payment-method.d.ts +0 -31
- package/dist/types/components/checkout/payment-method-options.d.ts +0 -32
- package/dist/types/components/insurance/season-interruption/season-interruption-insurance-core.d.ts +0 -32
- package/dist/webcomponents/p-08e1bf28.entry.js +0 -1
- package/dist/webcomponents/p-09cb06ed.entry.js +0 -1
- package/dist/webcomponents/p-0adbbb23.entry.js +0 -1
- package/dist/webcomponents/p-0b067d3c.entry.js +0 -1
- package/dist/webcomponents/p-0bfd309e.entry.js +0 -1
- package/dist/webcomponents/p-0f005fdd.entry.js +0 -1
- package/dist/webcomponents/p-0nMw2Aul.js +0 -1
- package/dist/webcomponents/p-14dc17fd.entry.js +0 -1
- package/dist/webcomponents/p-266f1ff3.entry.js +0 -1
- package/dist/webcomponents/p-35387685.entry.js +0 -1
- package/dist/webcomponents/p-3946adfa.entry.js +0 -1
- package/dist/webcomponents/p-3c44b724.entry.js +0 -1
- package/dist/webcomponents/p-3e3b5cdb.entry.js +0 -1
- package/dist/webcomponents/p-41876098.entry.js +0 -1
- package/dist/webcomponents/p-45edf188.entry.js +0 -1
- package/dist/webcomponents/p-4786f2d0.entry.js +0 -1
- package/dist/webcomponents/p-4c1c55bb.entry.js +0 -1
- package/dist/webcomponents/p-4f358b63.entry.js +0 -1
- package/dist/webcomponents/p-5375df08.entry.js +0 -1
- package/dist/webcomponents/p-575b972d.entry.js +0 -1
- package/dist/webcomponents/p-580aa2e3.entry.js +0 -1
- package/dist/webcomponents/p-5b857a1c.entry.js +0 -1
- package/dist/webcomponents/p-5c9d1c35.entry.js +0 -1
- package/dist/webcomponents/p-690514f2.entry.js +0 -1
- package/dist/webcomponents/p-6a853571.entry.js +0 -1
- package/dist/webcomponents/p-724e4e6c.entry.js +0 -1
- package/dist/webcomponents/p-756a7021.entry.js +0 -1
- package/dist/webcomponents/p-89431ee2.entry.js +0 -1
- package/dist/webcomponents/p-8f5c1ae6.entry.js +0 -1
- package/dist/webcomponents/p-989d56de.entry.js +0 -1
- package/dist/webcomponents/p-99f7a36d.entry.js +0 -1
- package/dist/webcomponents/p-BCgpQGhw.js +0 -1
- package/dist/webcomponents/p-BOCuVjGs.js +0 -1
- package/dist/webcomponents/p-BUSn_ReW.js +0 -1
- package/dist/webcomponents/p-BZtgbC0H.js +0 -1
- package/dist/webcomponents/p-Bs-84XY6.js +0 -1
- package/dist/webcomponents/p-BvXjypQm.js +0 -1
- package/dist/webcomponents/p-C-wMveZe.js +0 -1
- package/dist/webcomponents/p-CCl9g-ln.js +0 -1
- package/dist/webcomponents/p-CDPZXQAo.js +0 -1
- package/dist/webcomponents/p-CKEiU2Q5.js +0 -1
- package/dist/webcomponents/p-CS4_rnSp.js +0 -1
- package/dist/webcomponents/p-CnMP2-Xk.js +0 -1
- package/dist/webcomponents/p-Cs0cIpIm.js +0 -1
- package/dist/webcomponents/p-CxHdQoIo.js +0 -1
- package/dist/webcomponents/p-DFWnHEN2.js +0 -1
- package/dist/webcomponents/p-DKSNNnPC.js +0 -1
- package/dist/webcomponents/p-DjFzWJxk.js +0 -1
- package/dist/webcomponents/p-DnGswpsl.js +0 -1
- package/dist/webcomponents/p-DniQ6yo6.js +0 -1
- package/dist/webcomponents/p-DsLxs70Z.js +0 -1
- package/dist/webcomponents/p-DtdcFDM_.js +0 -1
- package/dist/webcomponents/p-DwF36W04.js +0 -1
- package/dist/webcomponents/p-L4y68wud.js +0 -1
- package/dist/webcomponents/p-SdntD1xf.js +0 -1
- package/dist/webcomponents/p-a09ca567.entry.js +0 -1
- package/dist/webcomponents/p-a3313ebe.entry.js +0 -1
- package/dist/webcomponents/p-aeaafe28.entry.js +0 -1
- package/dist/webcomponents/p-b25bbf0a.entry.js +0 -1
- package/dist/webcomponents/p-b7594923.entry.js +0 -1
- package/dist/webcomponents/p-b79e302a.entry.js +0 -1
- package/dist/webcomponents/p-ba268a78.entry.js +0 -1
- package/dist/webcomponents/p-ba68ea4f.entry.js +0 -1
- package/dist/webcomponents/p-bf0e00be.entry.js +0 -1
- package/dist/webcomponents/p-c15d8dd0.entry.js +0 -1
- package/dist/webcomponents/p-c28f2569.entry.js +0 -1
- package/dist/webcomponents/p-c5911cd9.entry.js +0 -1
- package/dist/webcomponents/p-cefb9a76.entry.js +0 -1
- package/dist/webcomponents/p-d2ae3c55.entry.js +0 -1
- package/dist/webcomponents/p-d2e1d179.entry.js +0 -1
- package/dist/webcomponents/p-d4d58793.entry.js +0 -1
- package/dist/webcomponents/p-dc6b707a.entry.js +0 -1
- package/dist/webcomponents/p-dfd9aff0.entry.js +0 -1
- package/dist/webcomponents/p-e4682bb6.entry.js +0 -1
- package/dist/webcomponents/p-ee566062.entry.js +0 -1
- package/dist/webcomponents/p-ef07d761.entry.js +0 -1
- package/dist/webcomponents/p-f24b04eb.entry.js +0 -1
- package/dist/webcomponents/p-f8e974af.entry.js +0 -1
- package/dist/webcomponents/p-fb60bc7a.entry.js +0 -1
- package/dist/webcomponents/p-znmwKCgq.js +0 -1
|
@@ -34,7 +34,7 @@ export class BusinessCoreInfoFormStep {
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
|
-
return (h("justifi-business-core-info-form-step-core", { key: '
|
|
37
|
+
return (h("justifi-business-core-info-form-step-core", { key: '1d2bd68e87d5f312c54f5a4bda8863b26fdeec5d', businessId: this.businessId, getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "justifi-business-core-info-form-step"; }
|
|
40
40
|
static get properties() {
|
|
@@ -34,7 +34,7 @@ export class BusinessOwnersFormStep {
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
|
-
return (h(Host, { key: '
|
|
37
|
+
return (h(Host, { key: '3420b6e74da344665583a49146b5b7fd1be40155' }, h("justifi-business-owners-form-step-core", { key: '3e092450028815a0b134af4294edbb7589864409', authToken: this.authToken, businessId: this.businessId, getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: (el) => this.coreComponent = el })));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "justifi-business-owners-form-step"; }
|
|
40
40
|
static get properties() {
|
|
@@ -13,7 +13,7 @@ export class RepresentativeFormInputs {
|
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
15
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
16
|
-
return (h("form", { key: '
|
|
16
|
+
return (h("form", { key: 'e4b7a532e18a921a5a28aab31f679fbbad164198' }, h("fieldset", { key: 'd7056e5ee25625adb563e2687f581157653c8a9d' }, h("div", { key: '456aab0ef1399a7c1d272059c881c6c6f3d0e87c', class: "d-flex align-items-center gap-2" }, h("legend", { key: '430b3731bbd97ff1589bd81bd6fdaa4082161180', class: "mb-0", part: heading2 }, "Representative"), h("form-control-tooltip", { key: '47676ededb80e0f766cb786265d8fb307c60d125', helpText: "The representative for your business needs to be someone who has significant control over managing your business\u2019s finance. You will have an opportunity to add owners later in the form." })), h("hr", { key: '514197b5bd4868ec29e75dc74367deb187b32063', class: "mt-2" }), h("div", { key: 'f2986d55d0bfbf0e6059f0b2a766d2dc603acdc5', class: "row gy-3" }, h("div", { key: 'e4a3749c5e972f505527b8fc172f9a4214806345', class: "col-12 col-md-8" }, h("form-control-text", { key: 'd54c8d17f0360277fe04dd91a528e303182495c7', name: "name", label: "Full Name", defaultValue: (_a = this.representativeDefaultValue) === null || _a === void 0 ? void 0 : _a.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '4fa0b1a192fb39a982c957d202ea2ac1e40dedd8', class: "col-12 col-md-4" }, h("form-control-text", { key: '8c3bca4234ea0e7ae3c79d810ffb469637898eb6', name: "title", label: "Title", defaultValue: (_b = this.representativeDefaultValue) === null || _b === void 0 ? void 0 : _b.title, errorText: this.errors.title, inputHandler: this.inputHandler, helpText: "Role at your business, e.g. President, CEO, Treasurer." })), h("div", { key: '7e14a61364883172f2938bd8b1e53883ddd369fe', class: "col-12 col-md-6" }, h("form-control-text", { key: '8d9c81d374998dbaea5322906fddb5eeadea1546', name: "email", label: "Email Address", defaultValue: (_c = this.representativeDefaultValue) === null || _c === void 0 ? void 0 : _c.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: 'c3f369b226a08497926b26d0732b7dc9d6413559', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '734625aeac8384f2b8676c4d350368675cff3a6f', name: "phone", label: "Phone Number", defaultValue: (_d = this.representativeDefaultValue) === null || _d === void 0 ? void 0 : _d.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: '23d509b724f2617eb0a4f85c74238b09a052a6cb', class: "col-12 col-md-4" }, h("form-control-date", { key: '0f838cc474beab9822a84856733a86ecf43f0ec3', name: "dob_full", label: "Birth Date", defaultValue: (_e = this.representativeDefaultValue) === null || _e === void 0 ? void 0 : _e.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: (e) => updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), h("div", { key: 'f6d08c53dad2e9a550adf893ac59166015ffb6e4', class: "col-12 col-md-8" }, h("form-control-number-masked", { key: 'dd610955fb7c62fd0aab9af925af34cdc47ab3e9', name: "identification_number", label: "SSN", defaultValue: (_f = this.representativeDefaultValue) === null || _f === void 0 ? void 0 : _f.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: SSN_MASK, helpText: "Enter your full Social Security Number. It is required for Federal OFAC check." })), h("div", { key: 'd4e2a212a87ca9be4be8e21f3e47008b2201871c', class: "col-12" }, h("justifi-identity-address-form", { key: 'bb2d0d01e07be4d37acfd448796c8a33460111ed', errors: this.errors.address, defaultValues: (_g = this.representativeDefaultValue) === null || _g === void 0 ? void 0 : _g.address, handleFormUpdate: this.onAddressFormUpdate }))))));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "justifi-business-representative-form-inputs"; }
|
|
19
19
|
static get properties() {
|
|
@@ -34,7 +34,7 @@ export class BusinessRepresentativeFormStep {
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
|
-
return (h("justifi-business-representative-form-step-core", { key: '
|
|
37
|
+
return (h("justifi-business-representative-form-step-core", { key: '582c77f4b763573a1d29726285a9b871afe96d89', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "justifi-business-representative-form-step"; }
|
|
40
40
|
static get properties() {
|
|
@@ -56,10 +56,10 @@ export class MonetaryInputProvisioning {
|
|
|
56
56
|
return part;
|
|
57
57
|
}
|
|
58
58
|
render() {
|
|
59
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: '59e5e4d46e7d4ece898464d846505756611f6635' }, h("div", { key: 'e82201d6777584666ec5ca04ad9e02b83fa956c0', class: "form-group d-flex flex-column" }, h("label", { key: '9bbb22bb201d3db07670e4f26521593ff229f583', part: label, class: "form-label", htmlFor: this.name }, this.label), h("div", { key: '61909b4796f78e22d9e6508d9257cdf16220e675', class: "input-group" }, h("span", { key: '152a4f1a6323e55bf6f48aa25353939569acc419', class: "input-group-text", part: inputAdornment }, "$"), h("input", { key: 'cc8055c02a4ccb4f63553f45b5ded4ee3d8cf972', ref: el => (this.textInput = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
60
60
|
this.isFocused = false;
|
|
61
61
|
this.formControlBlur.emit();
|
|
62
|
-
}, onInput: this.handleFormControlInput, part: this.inputPart, class: this.errorText ? 'form-control monetary is-invalid' : 'form-control monetary', type: "text", disabled: this.disabled })), h(FormControlHelpText, { key: '
|
|
62
|
+
}, onInput: this.handleFormControlInput, part: this.inputPart, class: this.errorText ? 'form-control monetary is-invalid' : 'form-control monetary', type: "text", disabled: this.disabled })), h(FormControlHelpText, { key: '776dfb4a9d74342ba139dda6706af8e60b4700fc', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: '74e503b7e525aeeb994b1ae94941f07365d2460e', errorText: this.errorText, name: this.name }))));
|
|
63
63
|
}
|
|
64
64
|
static get is() { return "form-control-monetary-provisioning"; }
|
|
65
65
|
static get properties() {
|
|
@@ -34,7 +34,7 @@ export class LegalAddressFormStep {
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
|
-
return (h("justifi-legal-address-form-step-core", { key: '
|
|
37
|
+
return (h("justifi-legal-address-form-step-core", { key: 'bd286476461181f2e8a435a97bf148d55876b49c', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "justifi-legal-address-form-step"; }
|
|
40
40
|
static get properties() {
|
package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js
CHANGED
|
@@ -87,7 +87,7 @@ export class PaymentProvisioningCore {
|
|
|
87
87
|
this.loading = event.detail;
|
|
88
88
|
}
|
|
89
89
|
render() {
|
|
90
|
-
return (h(StyledHost, { key: '
|
|
90
|
+
return (h(StyledHost, { key: '621b616a3b9d5be0fcc1180dcdb0db6a89ec5aa2' }, h("div", { key: 'b51c6814bb81a6cdc6cd0c5ede4d485582f154ee', class: 'row gap-3' }, h(Header1, { key: '7c03561b4c2b0cfc237d6b933aeffe532f35b626', text: this.formTitle }), h("justifi-payment-provisioning-form-steps", { key: 'b616b52cc9a0057f27ddbae1356710cee05c60fa', businessId: this.businessId, authToken: this.authToken, refs: this.refs, currentStep: this.currentStep, allowOptionalFields: this.allowOptionalFields, handleFormLoading: this.handleFormLoading }), h("div", { key: '2447bad174b5d32d253e821e76ebb32fb9ec50e3', class: 'd-flex justify-content-between align-items-center' }, h("div", { key: 'd746b5275ae0866a8619f67fe00217916153ea0a', class: 'd-flex align-items-center', part: text }, this.stepCounter), h("justifi-payment-provisioning-form-buttons", { key: 'add808398005b6076d91788cc220ab6620f3ddfc', currentStep: this.currentStep, totalSteps: this.totalSteps, formLoading: this.loading, formDisabled: this.formDisabled, previousStepButtonOnClick: this.previousStepButtonOnClick, nextStepButtonOnClick: this.nextStepButtonOnClick })))));
|
|
91
91
|
}
|
|
92
92
|
static get is() { return "justifi-payment-provisioning-core"; }
|
|
93
93
|
static get properties() {
|
|
@@ -12,7 +12,7 @@ export class PaymentProvisioningFormButtons {
|
|
|
12
12
|
return this.currentStep === this.totalSteps;
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (h("div", { key: '
|
|
15
|
+
return (h("div", { key: '5869ed8c350e3a1ae5fe62dcd04493f432eecff7', class: 'd-flex gap-2' }, h(Button, { key: 'b1e8c2fff97e9a053d715860a43ddd78c99b255a', variant: "secondary", type: "button", onClick: () => this.previousStepButtonOnClick(), disabled: this.formDisabled, hidden: !this.showPreviousStepButton }, "Previous"), h(Button, { key: '8696fe4f0bde5434e51f05f67b39a8e5b2f550bf', variant: "primary", type: "button", onClick: (e) => this.nextStepButtonOnClick(e, BusinessFormClickActions.nextStep), disabled: this.formDisabled, isLoading: this.formLoading, hidden: !this.showNextStepButton }, "Next"), h(Button, { key: 'b1750a849d60244bdb3cf82690c6cbd15b6e1110', variant: "primary", type: "submit", onClick: (e) => this.nextStepButtonOnClick(e, BusinessFormClickActions.submit), disabled: this.formDisabled, isLoading: this.formLoading, hidden: !this.showSubmitButton }, "Submit")));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "justifi-payment-provisioning-form-buttons"; }
|
|
18
18
|
static get properties() {
|
|
@@ -16,7 +16,7 @@ export class PaymentProvisioningFormSteps {
|
|
|
16
16
|
return this.componentStepMapping[this.currentStep]();
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (h("div", { key: '
|
|
19
|
+
return (h("div", { key: '9a09e562d0a3548cb40863ba5780c5d1692b6ec3', class: 'col-12 mb-4' }, this.currentStepComponent));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "justifi-payment-provisioning-form-steps"; }
|
|
22
22
|
static get properties() {
|
package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js
CHANGED
|
@@ -46,7 +46,7 @@ export class PaymentProvisioning {
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
render() {
|
|
49
|
-
return (h("justifi-payment-provisioning-core", { key: '
|
|
49
|
+
return (h("justifi-payment-provisioning-core", { key: '6d77016584f204fdc4be5fd554b4eb1639e856ab', businessId: this.businessId, authToken: this.authToken, allowOptionalFields: this.allowOptionalFields, formTitle: this.formTitle, getBusiness: this.getBusiness, postProvisioning: this.postProvisioning }));
|
|
50
50
|
}
|
|
51
51
|
static get is() { return "justifi-payment-provisioning"; }
|
|
52
52
|
static get encapsulation() { return "shadow"; }
|
|
@@ -108,7 +108,7 @@ export class BusinessTermsConditionsFormStep {
|
|
|
108
108
|
return (h("a", { href: "https://justifi.tech/merchant-agreement/", target: "_blank", rel: "noopener noreferrer" }, "merchant agreement"));
|
|
109
109
|
}
|
|
110
110
|
render() {
|
|
111
|
-
return (h("form", { key: '
|
|
111
|
+
return (h("form", { key: '8cea6fff2e5b5cbfa7de6b3adfce238153599d1e' }, h("fieldset", { key: 'ef3c4ce5d0d03f1d048e072c6f7ac3da565ffb18' }, h("legend", { key: 'caa5fee86bd4b5c2a7204a76ae3533146526b9e1', part: heading2 }, "Terms and Conditions"), h("hr", { key: '5a72caeaf2dae8f57c0be09ca21feceb0793daf4' }), h("div", { key: 'e39700b83a10c479cf6d767c1af61ac8b480e4d5' }, h("p", { key: '2b8520977bedf73c295a387095724a561391b005' }, "Please read and accept the ", this.merchantAgreementLink, " to submit your provisioning request.")), h("br", { key: '706ec9ecfd4a0909583745f90b36eeb42fa5e690' }), h("div", { key: 'd915e2c49188b829b33b03f07cc8f1ccea99ee1d', class: "row-gy-3" }, h("div", { key: 'cbbc74e6b5e80bf54884a8f41eb94f6d5bcdb6dd', class: "col-12" }, h("form-control-checkbox", { key: 'f63aed196d33f1760dae8c5ac5487c0fbc7d4838', name: "accepted", label: "I agree to the terms and conditions", inputHandler: this.inputHandler, errorText: this.errors.accepted, disabled: this.acceptedTermsBefore, helpText: this.formHelperText, checked: this.acceptedTerms }))))));
|
|
112
112
|
}
|
|
113
113
|
static get is() { return "justifi-business-terms-conditions-form-step"; }
|
|
114
114
|
static get properties() {
|
|
@@ -6,7 +6,7 @@ export const fullBillingSchema = () => object({
|
|
|
6
6
|
address_line2: lineTwoValidation.nullable(),
|
|
7
7
|
address_city: cityValidation.required('Enter city'),
|
|
8
8
|
address_state: stateValidation.required('Select state'),
|
|
9
|
-
address_postal_code: postalValidation.required('Enter postal code')
|
|
9
|
+
address_postal_code: postalValidation.required('Enter postal code'),
|
|
10
10
|
});
|
|
11
11
|
export const postalOnlySchema = () => object({
|
|
12
12
|
name: identityNameValidation.nullable(),
|
|
@@ -14,7 +14,7 @@ export const postalOnlySchema = () => object({
|
|
|
14
14
|
address_line2: lineTwoValidation.nullable(),
|
|
15
15
|
address_city: cityValidation.nullable(),
|
|
16
16
|
address_state: stateValidation.nullable(),
|
|
17
|
-
address_postal_code: postalValidation.required('Enter postal code')
|
|
17
|
+
address_postal_code: postalValidation.required('Enter postal code'),
|
|
18
18
|
});
|
|
19
19
|
export const nameOnlySchema = () => object({
|
|
20
20
|
name: identityNameValidation.required('Enter full name'),
|
|
@@ -22,5 +22,5 @@ export const nameOnlySchema = () => object({
|
|
|
22
22
|
address_line2: lineTwoValidation.nullable(),
|
|
23
23
|
address_city: cityValidation.nullable(),
|
|
24
24
|
address_state: stateValidation.nullable(),
|
|
25
|
-
address_postal_code: postalValidation.nullable()
|
|
25
|
+
address_postal_code: postalValidation.nullable(),
|
|
26
26
|
});
|
|
@@ -37,10 +37,10 @@ export class CardForm {
|
|
|
37
37
|
return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
|
-
return (h(Host, { key: '
|
|
40
|
+
return (h(Host, { key: '8a6454e0a16e0a26762627f7a42527ab243c1c7a' }, h(CardFormSkeleton, { key: 'ed7386f746518e1ebb62d1bf9bc2e98778d9804e', isReady: this.isReady }), h("div", { key: 'f3092bcce1626f04a079ebcf64f0cdf06a7029a8', class: "container-fluid p-0", style: {
|
|
41
41
|
opacity: this.isReady ? '1' : '0',
|
|
42
42
|
height: this.isReady ? 'auto' : '0',
|
|
43
|
-
} }, h("div", { key: '
|
|
43
|
+
} }, h("div", { key: '3e211e500bef824aff5b6bf6cdedc99435cacfd4', class: "mb-3" }, h("iframe-input", { key: '6ad14a317fd6cad6d6535ba661684e31c325c5ab', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber?tabId=${this.tabId}` })), h("div", { key: '931e9f1b047ff57c2b37bb2947e29f6708f239d9', class: "d-flex align-items-start" }, h("div", { key: '5ca19fbf9047bd6595557890b0bdbbf0d2e65de9', class: "flex-fill me-3" }, h("iframe-input", { key: 'c99f426b77308b15fcb174e8adbe8c120abc58b5', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Exp. Month", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth?tabId=${this.tabId}` })), h("div", { key: '677b8fb8f33a021afda90a8b4e13b5f44b5fe694', class: "flex-fill me-3" }, h("iframe-input", { key: '9bcf91464c5f2ca77b339f2fe299db6027aa9f8b', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "Exp. Year", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear?tabId=${this.tabId}` })), h("div", { key: '9b5c52d9cc5b30eedf522801c3f8f6c0530757ce', class: "flex-fill" }, h("iframe-input", { key: '3e73df1c7119193a239fcd2f5212967e109cff83', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV?tabId=${this.tabId}` }))))));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "card-form"; }
|
|
46
46
|
static get states() {
|
|
@@ -1,60 +1,79 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
-
import { makeGetCheckout, makeCheckoutComplete } from "../../actions/checkout/checkout-actions";
|
|
3
|
-
import { CheckoutService } from "../../api/services/checkout.service";
|
|
4
|
-
import { ComponentErrorCodes, ComponentErrorSeverity } from "../../api/ComponentError";
|
|
5
2
|
import JustifiAnalytics from "../../api/Analytics";
|
|
3
|
+
import { PaymentMethodTypes } from "../../api";
|
|
6
4
|
import { checkPkgVersion } from "../../utils/check-pkg-version";
|
|
5
|
+
import { checkoutStore } from "../../store/checkout.store";
|
|
6
|
+
import { checkoutSummary } from "../../styles/parts";
|
|
7
|
+
import { StyledHost } from "../../ui-components";
|
|
8
|
+
import { PAYMENT_METHODS } from "../modular-checkout/ModularCheckout";
|
|
7
9
|
export class Checkout {
|
|
8
10
|
constructor() {
|
|
11
|
+
this.availablePaymentMethods = [];
|
|
9
12
|
this.errorMessage = '';
|
|
13
|
+
this.insuranceToggled = false;
|
|
14
|
+
this.isSubmitting = false; // This is used to prevent multiple submissions and is different from loading state
|
|
15
|
+
this.disableBankAccount = false;
|
|
16
|
+
this.disableBnpl = false;
|
|
17
|
+
this.disableCreditCard = false;
|
|
18
|
+
this.disablePaymentMethodGroup = false;
|
|
19
|
+
this.hideBankAccountBillingForm = false;
|
|
20
|
+
this.hideCardBillingForm = false;
|
|
21
|
+
}
|
|
22
|
+
propChanged() {
|
|
23
|
+
this.updateStore();
|
|
24
|
+
}
|
|
25
|
+
connectedCallback() {
|
|
26
|
+
if (this.authToken && this.checkoutId) {
|
|
27
|
+
this.updateStore();
|
|
28
|
+
}
|
|
10
29
|
}
|
|
11
30
|
componentWillLoad() {
|
|
12
31
|
checkPkgVersion();
|
|
13
32
|
this.analytics = new JustifiAnalytics(this);
|
|
14
|
-
this.initializeGetCheckout();
|
|
15
33
|
}
|
|
16
34
|
disconnectedCallback() {
|
|
17
35
|
var _a;
|
|
18
36
|
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
19
37
|
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
if (this.authToken && this.checkoutId) {
|
|
23
|
-
this.getCheckout = makeGetCheckout({
|
|
24
|
-
authToken: this.authToken,
|
|
25
|
-
checkoutId: this.checkoutId,
|
|
26
|
-
service: new CheckoutService()
|
|
27
|
-
});
|
|
28
|
-
this.complete = makeCheckoutComplete({
|
|
29
|
-
authToken: this.authToken,
|
|
30
|
-
checkoutId: this.checkoutId,
|
|
31
|
-
service: new CheckoutService()
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
else {
|
|
35
|
-
this.errorEvent.emit({
|
|
36
|
-
message: 'auth-token and checkout-id are required',
|
|
37
|
-
errorCode: ComponentErrorCodes.MISSING_PROPS,
|
|
38
|
-
severity: ComponentErrorSeverity.ERROR,
|
|
39
|
-
});
|
|
40
|
-
}
|
|
38
|
+
checkoutComplete(_event) {
|
|
39
|
+
this.isSubmitting = false;
|
|
41
40
|
}
|
|
42
|
-
|
|
43
|
-
this.
|
|
41
|
+
checkoutError(_event) {
|
|
42
|
+
this.isSubmitting = false;
|
|
43
|
+
}
|
|
44
|
+
checkoutChanged(event) {
|
|
45
|
+
this.availablePaymentMethods = event.detail.availablePaymentMethodTypes;
|
|
44
46
|
}
|
|
45
47
|
async fillBillingForm(fields) {
|
|
46
|
-
|
|
48
|
+
var _a;
|
|
49
|
+
checkoutStore.billingFormFields = fields;
|
|
50
|
+
(_a = this.tokenizePaymentMethodRef) === null || _a === void 0 ? void 0 : _a.fillBillingForm(fields);
|
|
47
51
|
}
|
|
48
52
|
async validate() {
|
|
49
|
-
|
|
50
|
-
|
|
53
|
+
var _a;
|
|
54
|
+
const modularValidation = await ((_a = this.modularCheckoutRef) === null || _a === void 0 ? void 0 : _a.validate());
|
|
55
|
+
return { isValid: modularValidation };
|
|
56
|
+
}
|
|
57
|
+
updateStore() {
|
|
58
|
+
checkoutStore.checkoutId = this.checkoutId;
|
|
59
|
+
checkoutStore.authToken = this.authToken;
|
|
60
|
+
checkoutStore.disableCreditCard = this.disableCreditCard;
|
|
61
|
+
checkoutStore.disableBankAccount = this.disableBankAccount;
|
|
62
|
+
checkoutStore.disableBnpl = this.disableBnpl;
|
|
63
|
+
checkoutStore.disablePaymentMethodGroup = this.disablePaymentMethodGroup;
|
|
64
|
+
}
|
|
65
|
+
async submit(_event) {
|
|
66
|
+
var _a;
|
|
67
|
+
this.isSubmitting = true;
|
|
68
|
+
(_a = this.modularCheckoutRef) === null || _a === void 0 ? void 0 : _a.submitCheckout(checkoutStore.billingFormFields);
|
|
69
|
+
}
|
|
70
|
+
get showPaymentTypeHeader() {
|
|
71
|
+
return !this.disableCreditCard && !this.disableBankAccount;
|
|
51
72
|
}
|
|
52
73
|
render() {
|
|
53
|
-
return (h(
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
}
|
|
57
|
-
} }, h("div", { key: '7a4be7220e5eb199f94c5086c23e10dce68d4854', slot: "insurance" }, h("slot", { key: 'f5db23ef6dc82d0521518ea2dbfe99d8c8b6c2cc', name: "insurance" }))));
|
|
74
|
+
return (h(StyledHost, { key: '61cab7c3b5ca01ea70f35d23df100c2e7bd0c03a' }, h("justifi-modular-checkout", { key: '3e0c1729d51ca5e89108723b4a6ee14761965546', ref: (el) => {
|
|
75
|
+
this.modularCheckoutRef = el;
|
|
76
|
+
}, authToken: this.authToken, checkoutId: this.checkoutId, savePaymentMethod: checkoutStore.savePaymentMethod }, h("div", { key: '04a19f4c090bd8b70801b48ce24fd734bbce5b73', class: "row gy-3 jfi-checkout-core" }, h("div", { key: '50e11e53ca4274441da3813504c9a2af223a0e28', class: "col-12", part: checkoutSummary }, h("justifi-header", { key: '2de0fb5500246c8c2ea63b6beade5fea57611a6d', text: "Summary", level: "h2", class: "fs-5 fw-bold pb-3" }), h("section", { key: '918f05a55424d4a2e46011b6c5fa0c71fc19bec3' }, h("justifi-checkout-summary", { key: 'e34604b589685ee13af794c15fd25cc19f9d2ee8' }))), h("div", { key: '7d1390340bfa79592f5643a56f15a65b6dc4faac', class: "col-12 mt-4" }, h("slot", { key: '783667c66419f8718378a705c5c313f8a763f64b', name: "insurance" })), h("div", { key: '63cc63309104557bc5dfd97f2cff3c366cbd62ae', class: "col-12 mt-4" }, h("justifi-header", { key: '8981556e7dc5f4f27a81415c222c274a6aa29173', text: "Payment", level: "h2", class: "fs-5 fw-bold pb-3" }), this.showPaymentTypeHeader && (h("justifi-header", { key: '86d3b2e89c5fedaf8d9023a1597134b0a3556e22', text: "Select payment type", level: "h3", class: "fs-6 fw-bold lh-lg" })), h("div", { key: 'da9b779071f32fe740f74061aa021a980db3aa34', class: "d-flex flex-column" }, h("section", { key: 'e0e953bfbd7f2ab7f558cc226878f74cde55e5dd' }, h("div", { key: 'b28c99a3298b8aa9ec65b254b43944af42c31e56' }, h("justifi-saved-payment-methods", { key: 'b22333168f775bc0ff58fd9ec502828b27ed3063' }), this.availablePaymentMethods.includes(PAYMENT_METHODS.SEZZLE) && (h("justifi-radio-list-item", { key: '9eac787dc5ce5a2c2f2d4a54ee1e2f9b2a48bbf7', name: "paymentMethodType", value: PAYMENT_METHODS.SEZZLE, checked: checkoutStore.selectedPaymentMethod.type === PaymentMethodTypes.sezzle, label: h("justifi-sezzle-payment-method", { ref: (el) => (this.sezzlePaymentMethodRef = el) }), "onRadio-click": () => { var _a; (_a = this.sezzlePaymentMethodRef) === null || _a === void 0 ? void 0 : _a.handleSelectionClick(); } })), this.availablePaymentMethods.includes(PAYMENT_METHODS.PLAID) && (h("justifi-radio-list-item", { key: '005fb466a494525ac651893afcf38a8998511e9e', name: "paymentMethodType", value: PAYMENT_METHODS.PLAID, checked: checkoutStore.selectedPaymentMethod.type === PaymentMethodTypes.plaid, label: h("justifi-plaid-payment-method", { ref: (el) => (this.plaidPaymentMethodRef = el) }), "onRadio-click": () => { var _a; (_a = this.plaidPaymentMethodRef) === null || _a === void 0 ? void 0 : _a.handleSelectionClick(); } })), h("justifi-tokenize-payment-method", { key: '75eaa74fc65172ecbcde91ddaf397ca367ba84be', ref: (el) => (this.tokenizePaymentMethodRef = el), authToken: this.authToken, accountId: checkoutStore.accountId, disableCreditCard: this.disableCreditCard, disableBankAccount: this.disableBankAccount, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, hideSubmitButton: true, paymentMethodGroupId: checkoutStore.paymentMethodGroupId }))))), h("div", { key: '3ae7b4ad2a464ec02eaaecbef65128ea204160c0', class: "mt-4" }, h("justifi-button", { key: '387e7fde5250bcf651a9ce1639fde76ac398dd3c', text: "Pay", type: "submit", variant: "primary", clickHandler: (e) => this.submit(e), disabled: this.isSubmitting, isLoading: this.isSubmitting, customStyle: { width: '100%', textAlign: "center" } }))))));
|
|
58
77
|
}
|
|
59
78
|
static get is() { return "justifi-checkout"; }
|
|
60
79
|
static get properties() {
|
|
@@ -97,9 +116,9 @@ export class Checkout {
|
|
|
97
116
|
"setter": false,
|
|
98
117
|
"reflect": false
|
|
99
118
|
},
|
|
100
|
-
"
|
|
119
|
+
"disableBankAccount": {
|
|
101
120
|
"type": "boolean",
|
|
102
|
-
"attribute": "disable-
|
|
121
|
+
"attribute": "disable-bank-account",
|
|
103
122
|
"mutable": false,
|
|
104
123
|
"complexType": {
|
|
105
124
|
"original": "boolean",
|
|
@@ -114,11 +133,12 @@ export class Checkout {
|
|
|
114
133
|
},
|
|
115
134
|
"getter": false,
|
|
116
135
|
"setter": false,
|
|
117
|
-
"reflect": false
|
|
136
|
+
"reflect": false,
|
|
137
|
+
"defaultValue": "false"
|
|
118
138
|
},
|
|
119
|
-
"
|
|
139
|
+
"disableBnpl": {
|
|
120
140
|
"type": "boolean",
|
|
121
|
-
"attribute": "disable-
|
|
141
|
+
"attribute": "disable-bnpl",
|
|
122
142
|
"mutable": false,
|
|
123
143
|
"complexType": {
|
|
124
144
|
"original": "boolean",
|
|
@@ -133,11 +153,12 @@ export class Checkout {
|
|
|
133
153
|
},
|
|
134
154
|
"getter": false,
|
|
135
155
|
"setter": false,
|
|
136
|
-
"reflect": false
|
|
156
|
+
"reflect": false,
|
|
157
|
+
"defaultValue": "false"
|
|
137
158
|
},
|
|
138
|
-
"
|
|
159
|
+
"disableCreditCard": {
|
|
139
160
|
"type": "boolean",
|
|
140
|
-
"attribute": "disable-
|
|
161
|
+
"attribute": "disable-credit-card",
|
|
141
162
|
"mutable": false,
|
|
142
163
|
"complexType": {
|
|
143
164
|
"original": "boolean",
|
|
@@ -152,7 +173,8 @@ export class Checkout {
|
|
|
152
173
|
},
|
|
153
174
|
"getter": false,
|
|
154
175
|
"setter": false,
|
|
155
|
-
"reflect": false
|
|
176
|
+
"reflect": false,
|
|
177
|
+
"defaultValue": "false"
|
|
156
178
|
},
|
|
157
179
|
"disablePaymentMethodGroup": {
|
|
158
180
|
"type": "boolean",
|
|
@@ -171,11 +193,12 @@ export class Checkout {
|
|
|
171
193
|
},
|
|
172
194
|
"getter": false,
|
|
173
195
|
"setter": false,
|
|
174
|
-
"reflect": false
|
|
196
|
+
"reflect": false,
|
|
197
|
+
"defaultValue": "false"
|
|
175
198
|
},
|
|
176
|
-
"
|
|
199
|
+
"hideBankAccountBillingForm": {
|
|
177
200
|
"type": "boolean",
|
|
178
|
-
"attribute": "hide-
|
|
201
|
+
"attribute": "hide-bank-account-billing-form",
|
|
179
202
|
"mutable": false,
|
|
180
203
|
"complexType": {
|
|
181
204
|
"original": "boolean",
|
|
@@ -190,11 +213,12 @@ export class Checkout {
|
|
|
190
213
|
},
|
|
191
214
|
"getter": false,
|
|
192
215
|
"setter": false,
|
|
193
|
-
"reflect": false
|
|
216
|
+
"reflect": false,
|
|
217
|
+
"defaultValue": "false"
|
|
194
218
|
},
|
|
195
|
-
"
|
|
219
|
+
"hideCardBillingForm": {
|
|
196
220
|
"type": "boolean",
|
|
197
|
-
"attribute": "hide-
|
|
221
|
+
"attribute": "hide-card-billing-form",
|
|
198
222
|
"mutable": false,
|
|
199
223
|
"complexType": {
|
|
200
224
|
"original": "boolean",
|
|
@@ -209,15 +233,20 @@ export class Checkout {
|
|
|
209
233
|
},
|
|
210
234
|
"getter": false,
|
|
211
235
|
"setter": false,
|
|
212
|
-
"reflect": false
|
|
236
|
+
"reflect": false,
|
|
237
|
+
"defaultValue": "false"
|
|
213
238
|
}
|
|
214
239
|
};
|
|
215
240
|
}
|
|
216
241
|
static get states() {
|
|
217
242
|
return {
|
|
218
|
-
"
|
|
243
|
+
"availablePaymentMethods": {},
|
|
244
|
+
"checkout": {},
|
|
219
245
|
"complete": {},
|
|
220
|
-
"errorMessage": {}
|
|
246
|
+
"errorMessage": {},
|
|
247
|
+
"insuranceToggled": {},
|
|
248
|
+
"isSubmitting": {},
|
|
249
|
+
"serverError": {}
|
|
221
250
|
};
|
|
222
251
|
}
|
|
223
252
|
static get events() {
|
|
@@ -263,6 +292,27 @@ export class Checkout {
|
|
|
263
292
|
}
|
|
264
293
|
}
|
|
265
294
|
}
|
|
295
|
+
}, {
|
|
296
|
+
"method": "submitEvent",
|
|
297
|
+
"name": "submit-event",
|
|
298
|
+
"bubbles": true,
|
|
299
|
+
"cancelable": true,
|
|
300
|
+
"composed": true,
|
|
301
|
+
"docs": {
|
|
302
|
+
"tags": [],
|
|
303
|
+
"text": ""
|
|
304
|
+
},
|
|
305
|
+
"complexType": {
|
|
306
|
+
"original": "ComponentSubmitEvent",
|
|
307
|
+
"resolved": "ComponentSubmitEvent",
|
|
308
|
+
"references": {
|
|
309
|
+
"ComponentSubmitEvent": {
|
|
310
|
+
"location": "import",
|
|
311
|
+
"path": "../../api/ComponentEvents",
|
|
312
|
+
"id": "src/api/ComponentEvents.ts::ComponentSubmitEvent"
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
}
|
|
266
316
|
}];
|
|
267
317
|
}
|
|
268
318
|
static get methods() {
|
|
@@ -319,6 +369,39 @@ export class Checkout {
|
|
|
319
369
|
}, {
|
|
320
370
|
"propName": "checkoutId",
|
|
321
371
|
"methodName": "propChanged"
|
|
372
|
+
}, {
|
|
373
|
+
"propName": "disableCreditCard",
|
|
374
|
+
"methodName": "propChanged"
|
|
375
|
+
}, {
|
|
376
|
+
"propName": "disableBankAccount",
|
|
377
|
+
"methodName": "propChanged"
|
|
378
|
+
}, {
|
|
379
|
+
"propName": "disableBnpl",
|
|
380
|
+
"methodName": "propChanged"
|
|
381
|
+
}, {
|
|
382
|
+
"propName": "disablePaymentMethodGroup",
|
|
383
|
+
"methodName": "propChanged"
|
|
384
|
+
}];
|
|
385
|
+
}
|
|
386
|
+
static get listeners() {
|
|
387
|
+
return [{
|
|
388
|
+
"name": "submit-event",
|
|
389
|
+
"method": "checkoutComplete",
|
|
390
|
+
"target": undefined,
|
|
391
|
+
"capture": false,
|
|
392
|
+
"passive": false
|
|
393
|
+
}, {
|
|
394
|
+
"name": "error-event",
|
|
395
|
+
"method": "checkoutError",
|
|
396
|
+
"target": undefined,
|
|
397
|
+
"capture": false,
|
|
398
|
+
"passive": false
|
|
399
|
+
}, {
|
|
400
|
+
"name": "checkout-changed",
|
|
401
|
+
"method": "checkoutChanged",
|
|
402
|
+
"target": undefined,
|
|
403
|
+
"capture": false,
|
|
404
|
+
"passive": false
|
|
322
405
|
}];
|
|
323
406
|
}
|
|
324
407
|
}
|
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
+
import { StyledHost } from "../../ui-components";
|
|
3
|
+
import { checkoutStore } from "../../store/checkout.store";
|
|
2
4
|
export class SaveNewPaymentMethod {
|
|
3
5
|
constructor() {
|
|
4
6
|
this.isChecked = false;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
this.handleCheckboxChange = (_name, value) => {
|
|
8
|
+
this.isChecked = value;
|
|
9
|
+
checkoutStore.savePaymentMethod = value;
|
|
10
|
+
this.checkboxChanged.emit(this.isChecked);
|
|
11
|
+
};
|
|
9
12
|
}
|
|
10
13
|
render() {
|
|
11
|
-
return (h(
|
|
14
|
+
return (h(StyledHost, { key: '407e24ad9cd84378dab6a85ed813a8040f93942a' }, h("form-control-checkbox", { key: '73dc01e01c4ca57e26c6897c06a0280fda8c98db', label: "Save New Payment Method", name: "saveNewPaymentMethod", checked: this.isChecked, inputHandler: this.handleCheckboxChange })));
|
|
12
15
|
}
|
|
13
16
|
static get is() { return "justifi-save-new-payment-method"; }
|
|
17
|
+
static get encapsulation() { return "shadow"; }
|
|
14
18
|
static get states() {
|
|
15
19
|
return {
|
|
16
20
|
"isChecked": {}
|
|
@@ -18,7 +18,7 @@ export class SavedPaymentMethod {
|
|
|
18
18
|
;
|
|
19
19
|
render() {
|
|
20
20
|
var _a, _b, _c;
|
|
21
|
-
return (h(Host, { key: '
|
|
21
|
+
return (h(Host, { key: '077ad61b1a84963ebaad43397aa7c88211d9dd7e', class: "payment-method" }, h("div", { key: 'e01a2e45c55273cb0ee9774b60504d7098a74cf9', class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick }, h("form-control-radio", { key: 'f34e9fe3f52fbf1acfdc72993259d6f6f58ac470', name: "paymentMethodType", value: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, checked: this.isSelected, label: `${CardBrandLabels[(_b = this.paymentMethodOption) === null || _b === void 0 ? void 0 : _b.brand] || ''} *${(_c = this.paymentMethodOption) === null || _c === void 0 ? void 0 : _c.acct_last_four}` }))));
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "justifi-saved-payment-method"; }
|
|
24
24
|
static get properties() {
|
|
@@ -118,7 +118,7 @@ export class CheckoutsListCore {
|
|
|
118
118
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
119
119
|
}
|
|
120
120
|
render() {
|
|
121
|
-
return (h(TableWrapper, { key: '
|
|
121
|
+
return (h(TableWrapper, { key: 'ac27fa8b086e64e53a287f96be1d1212a7c23fc3' }, h(TableComponent, { key: '965b9e4761f686a254297a753b638952181d9758' }, h(TableHead, { key: '41502bb86d87acd8f730f22705d82a2bb4c3787c' }, h(TableHeadRow, { key: '9aa770a8bbb3c9623fde336580dcecda0ee6909e' }, this.checkoutsTable.columnData.map((column) => column))), h(TableBody, { key: 'ad20f6287a2eefd0aa659925cf4be8a03766c1c2' }, h(TableLoadingState, { key: 'bdd7d89bed12c4451199b59e2793cc3d4dbc24a8', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '8b89063a5cc78beb42a52375c431e834583ef12a', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: 'a557b0a68af21a5501139433f980a6c083536d71', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.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: '0ba995e692b70214b1f63f3fbb7e05e76f229304' }, h(TableFootRow, { key: '25703345e36b46ce3a4cd9d09893c744b6db4d86' }, h(TableFootCell, { key: '07f5df6019322cb80053e4c061a2b5cb6ba7187e', colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: 'daf2dd74a5f24192c9052a2906459a6d2b53544d', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
122
122
|
}
|
|
123
123
|
static get is() { return "checkouts-list-core"; }
|
|
124
124
|
static get properties() {
|
|
@@ -38,7 +38,7 @@ export class CheckoutsListFilters {
|
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
40
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
41
|
-
return (h(StyledHost, { key: '
|
|
41
|
+
return (h(StyledHost, { key: '05a4d429a1acd7bbaf202872523284e2b2cd3677' }, h("table-filters-menu", { key: 'abf61654a75212537af580f3bfd2646042eaba8a', params: filterMenuParams, clearParams: clearParams, part: checkoutsListFilterMenu }, h("div", { key: 'f8e5cfe4b0a23723d0df939a1d1873adffcb1da9', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: 'd9e23e96a7269b3609e690a1e64e8c20bd125cb7', class: "p-2" }, h("form-control-select", { key: 'e1899dbc615be07486bc54f8baa395bee776d8ce', name: "status", label: "Status", options: this.checkoutStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.checkoutStatus || filterParams.status, disabled: !!this.checkoutStatus, part: statusCheckoutsListFilterParam })), h("div", { key: 'bedbc26d9d9f6906013ef4b80542d9031822b19c', class: "p-2" }, h("form-control-select", { key: '3bfef7fabeb85a29304e11093005bb1f58b23f41', name: "payment_mode", label: "Payment Mode", options: this.checkoutPaymentModeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentMode || filterParams.payment_mode, disabled: !!this.paymentMode, part: paymentModeCheckoutsListFilterParam }))))));
|
|
42
42
|
}
|
|
43
43
|
static get is() { return "justifi-checkouts-list-filters"; }
|
|
44
44
|
static get encapsulation() { return "shadow"; }
|
|
@@ -61,7 +61,7 @@ export class CheckoutsList {
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
render() {
|
|
64
|
-
return (h(StyledHost, { key: '
|
|
64
|
+
return (h(StyledHost, { key: 'b0c774c4f56f94cd6b4a3dc8651938f9f33ca94e' }, h("checkouts-list-core", { key: 'd524423a791f70c234044f5ba27d7bc3648fc988', getCheckouts: this.getCheckouts, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
65
65
|
}
|
|
66
66
|
static get is() { return "justifi-checkouts-list"; }
|
|
67
67
|
static get encapsulation() { return "shadow"; }
|
|
@@ -46,7 +46,7 @@ export class DisputeManagementCore {
|
|
|
46
46
|
});
|
|
47
47
|
}
|
|
48
48
|
render() {
|
|
49
|
-
return (h("div", { key: '
|
|
49
|
+
return (h("div", { key: 'b5a802e8c418b3b7f3235f43260186084a6ee079' }, this.showDisputeResponseForm ? (h("justifi-dispute-response", { disputeId: this.disputeId, disputeResponse: this.dispute.dispute_response, authToken: this.authToken })) : (h("justifi-dispute-notification", { dispute: this.dispute, authToken: this.authToken, isLoading: this.isLoading }))));
|
|
50
50
|
}
|
|
51
51
|
static get is() { return "justifi-dispute-management-core"; }
|
|
52
52
|
static get properties() {
|
|
@@ -43,7 +43,7 @@ export class DisputeManagement {
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
|
-
return (h("justifi-dispute-management-core", { key: '
|
|
46
|
+
return (h("justifi-dispute-management-core", { key: '8c800827aaa9d549a734ea05698763685e160a98', getDispute: this.getDispute, disputeId: this.disputeId, authToken: this.authToken, "onError-event": this.handleErrorEvent }));
|
|
47
47
|
}
|
|
48
48
|
static get is() { return "justifi-dispute-management"; }
|
|
49
49
|
static get properties() {
|