@justifi/webcomponents 5.7.6-rc-02 → 5.7.6-rc-04
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-c8NBCwu4.js → Api-eP0XeJLd.js} +1 -1
- package/dist/cjs/{ComponentError-CEv9ltwy.js → ComponentError-D4OLnOkg.js} +8 -0
- package/dist/cjs/{Refund-Dt1CMUjx.js → Refund-08OcZkXX.js} +148 -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 -8
- package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
- package/dist/cjs/{business.service-W2PRAU9J.js → business.service--Zv-Xtu4.js} +3 -4
- package/dist/cjs/card-form.cjs.entry.js +2 -2
- package/dist/cjs/{check-pkg-version-DmONJMn1.js → check-pkg-version-Bp51QhAR.js} +4 -5
- package/dist/cjs/{checkout.service-XwOh98gt.js → checkout.service-BBD6v0cl.js} +3 -4
- package/dist/cjs/{checkout.store--pVCO0L1.js → checkout.store-B58bewb_.js} +2 -1
- package/dist/cjs/checkouts-list-core.cjs.entry.js +6 -6
- package/dist/cjs/{checkouts-table-CrpOOe_e.js → checkouts-table-Cp7rNkNd.js} +1 -1
- package/dist/cjs/custom-popper.cjs.entry.js +2 -2
- package/dist/cjs/dinero-J-SRFKIR.js +1673 -0
- package/dist/cjs/{dispute.service-Dh82Wru1.js → dispute.service-BHApwZdH.js} +3 -4
- 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 +4 -4
- package/dist/cjs/{get-business-BiEc-jdH.js → get-business-o5jPq_ME.js} +2 -2
- package/dist/cjs/{get-payment-details-W4PgTPkL.js → get-payment-details-7PreAOdF.js} +5 -6
- package/dist/cjs/{get-payout-csv-CdNRRH0t.js → get-payout-csv-DE_D9y08.js} +2 -2
- package/dist/cjs/{get-subaccounts-D4woaGSs.js → get-subaccounts-CtelAONX.js} +5 -6
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +3 -2
- package/dist/cjs/header-2-BXQLJn1q.js +10 -0
- package/dist/cjs/hidden-input_2.cjs.entry.js +5 -5
- package/dist/cjs/insurance-state-B3CYpJWi.js +45 -0
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +4 -4
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +17 -17
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +8 -8
- package/dist/cjs/{justifi-bank-account-form_5.cjs.entry.js → justifi-bank-account-form_7.cjs.entry.js} +66 -23
- package/dist/cjs/justifi-billing-form_2.cjs.entry.js +52 -0
- package/dist/cjs/justifi-business-details.cjs.entry.js +11 -11
- package/dist/cjs/justifi-business-form.cjs.entry.js +10 -10
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
- package/dist/cjs/{justifi-button_5.cjs.entry.js → justifi-checkout-summary_5.cjs.entry.js} +162 -56
- package/dist/cjs/justifi-checkout.cjs.entry.js +14 -14
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +5 -5
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +12 -12
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +10 -10
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +13 -13
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +8 -8
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +12 -12
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +12 -12
- package/dist/cjs/justifi-payment-details.cjs.entry.js +11 -11
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +11 -11
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +4 -3
- package/dist/cjs/justifi-payments-list.cjs.entry.js +12 -12
- package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +4 -3
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +13 -13
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +10 -10
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +3 -3
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +5 -3
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +10 -10
- package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +6 -6
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +5 -5
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +12 -12
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +216 -34
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-oywezDpy.js → package-BMSb1ui9.js} +1 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +10 -9
- package/dist/cjs/{payment-method-option-utils-imuSE7KV.js → payment-method-option-utils-QODgEWhU.js} +1 -11
- package/dist/cjs/{payment-provisioning-actions-SNMCdsyF.js → payment-provisioning-actions-CZVlnRA0.js} +2 -2
- package/dist/cjs/{payment.service-BrvtS3F7.js → payment.service-C9qxqaJk.js} +3 -4
- package/dist/cjs/payments-list-core.cjs.entry.js +6 -6
- package/dist/cjs/{payments-table-BqxFc71K.js → payments-table-DaW6SvdL.js} +1 -1
- package/dist/cjs/payout-details-core.cjs.entry.js +5 -4
- package/dist/cjs/{payout.service-DNH6gRrP.js → payout.service-DiSYeR_q.js} +3 -4
- package/dist/cjs/payouts-list-core.cjs.entry.js +6 -6
- package/dist/cjs/{payouts-table-iT2IauEa.js → payouts-table-D5hMHcaY.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 -6
- package/dist/cjs/{terminal-orders-table-xi_a-EnM.js → terminal-orders-table-DnZjcbSQ.js} +3 -4
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
- package/dist/cjs/{terminal.service-CdzmTRQE.js → terminal.service-DEIY9toR.js} +3 -4
- package/dist/cjs/terminals-list-core.cjs.entry.js +6 -6
- package/dist/cjs/{terminals-table-sf-s5v6D.js → terminals-table-DOqVeHM1.js} +1 -1
- package/dist/cjs/{utils-qOon0GWm.js → utils-DqlrBltg.js} +2 -1676
- package/dist/cjs/{utils-IGCnjtqc.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/ComponentError.js +8 -0
- package/dist/collection/collection-manifest.json +7 -8
- 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/bank-account-form/bank-account-form.js +2 -2
- package/dist/collection/components/checkout/billing-form/billing-form.js +13 -37
- package/dist/collection/components/checkout/card-form/card-form.js +2 -2
- package/dist/collection/components/checkout/checkout.js +1 -1
- package/dist/collection/components/checkout/payment-method-option-utils.js +0 -1
- package/dist/collection/components/checkout/save-new-payment-method.js +7 -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 +1 -1
- package/dist/collection/components/modular-checkout/modular-checkout.js +43 -9
- package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
- package/dist/collection/components/modular-checkout/sub-components/billing-information-form.js +36 -5
- 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/postal-code-form.js +5 -4
- 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 +291 -87
- package/dist/collection/store/checkout.store.js +2 -1
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
- package/dist/collection/ui-components/form/form-control-date.js +2 -2
- package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
- package/dist/collection/ui-components/form/form-control-file.js +2 -2
- package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
- package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
- package/dist/collection/ui-components/form/form-control-number.js +2 -2
- package/dist/collection/ui-components/form/form-control-radio.js +2 -2
- package/dist/collection/ui-components/form/form-control-select.js +2 -2
- package/dist/collection/ui-components/form/form-control-text.js +2 -2
- package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
- package/dist/collection/ui-components/form/hidden-input.js +1 -1
- package/dist/collection/ui-components/form/iframe-input.js +3 -3
- package/dist/collection/ui-components/index.js +1 -0
- package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-radio-list-item.js +155 -0
- package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
- package/dist/docs.json +727 -1331
- package/dist/esm/{Api-C3T8XYbb.js → Api-BCeKXDaf.js} +1 -1
- package/dist/esm/{ComponentError-BhrFjjAs.js → ComponentError-Cjcsf8ku.js} +9 -1
- package/dist/esm/{Dispute-7MWRbTXI.js → Dispute-BH0Xfn-F.js} +1 -1
- package/dist/esm/{Refund-0aZtuMmz.js → Refund-DBHZkemk.js} +148 -2
- package/dist/esm/additional-questions-details_5.entry.js +4 -3
- package/dist/esm/{badge-Dr7gkD2I.js → badge-BrapPg3R.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +12 -12
- package/dist/esm/bank-account-form.entry.js +4 -4
- package/dist/esm/business-details-core.entry.js +3 -3
- package/dist/esm/{business.service-C5vrjgZf.js → business.service-ArD_uRLb.js} +4 -5
- package/dist/esm/{button-xfPDSpPt.js → button-BB-N4vit.js} +1 -1
- package/dist/esm/card-form.entry.js +4 -4
- package/dist/esm/{check-pkg-version-DqhSXPRt.js → check-pkg-version-CwPXpnQZ.js} +5 -6
- package/dist/esm/{checkout.service-CW2_CEte.js → checkout.service-BgDCPjQU.js} +4 -5
- package/dist/esm/{checkout.store-GXtlf5-4.js → checkout.store-td03RV8y.js} +2 -1
- package/dist/esm/checkouts-list-core.entry.js +11 -11
- package/dist/esm/{checkouts-table-BHhaS5bv.js → checkouts-table-COpCngi0.js} +3 -3
- package/dist/esm/custom-popper.entry.js +2 -2
- package/dist/esm/dinero-DizZAUMY.js +1671 -0
- package/dist/esm/{dispute.service-C3bmfjsZ.js → dispute.service-C2dMLW9w.js} +4 -5
- 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-Cn0aPzHx.js → form-control-error-text-Bk3yfpFX.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +5 -5
- package/dist/esm/{form-control-help-text-C91TeHXs.js → form-control-help-text-mOLCXs00.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 +6 -6
- package/dist/esm/{get-business-BSRtbTh7.js → get-business-Crb6P-iI.js} +2 -2
- package/dist/esm/{get-payment-details-BdPvFl1W.js → get-payment-details-BN-K_5Ry.js} +5 -6
- package/dist/esm/{get-payout-csv-U_pgdPpb.js → get-payout-csv-D-Lnooki.js} +2 -2
- package/dist/esm/{get-subaccounts-BqqR44dV.js → get-subaccounts-DrFpGKDV.js} +6 -7
- package/dist/esm/gross-payment-chart-core.entry.js +6 -5
- package/dist/esm/{header-1-noRVFQY9.js → header-1-DYuf6mkF.js} +1 -1
- package/dist/esm/header-2-C4ZCdZwi.js +8 -0
- package/dist/esm/hidden-input_2.entry.js +7 -7
- package/dist/esm/insurance-state-BQks6cMA.js +39 -0
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +8 -8
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +20 -20
- package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
- package/dist/esm/{justifi-bank-account-form_5.entry.js → justifi-bank-account-form_7.entry.js} +67 -26
- package/dist/esm/justifi-billing-form_2.entry.js +49 -0
- package/dist/esm/justifi-business-details.entry.js +13 -13
- package/dist/esm/justifi-business-form.entry.js +15 -15
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
- package/dist/esm/{justifi-button_5.entry.js → justifi-checkout-summary_5.entry.js} +161 -55
- package/dist/esm/justifi-checkout.entry.js +11 -11
- package/dist/esm/justifi-checkouts-list-filters.entry.js +7 -7
- package/dist/esm/justifi-checkouts-list.entry.js +15 -15
- 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 -11
- package/dist/esm/justifi-dispute-notification_3.entry.js +16 -16
- package/dist/esm/justifi-gross-payment-chart.entry.js +11 -11
- package/dist/esm/justifi-order-terminals.entry.js +15 -15
- package/dist/esm/justifi-owner-form_3.entry.js +14 -14
- package/dist/esm/justifi-payment-details.entry.js +13 -13
- package/dist/esm/justifi-payment-provisioning-core.entry.js +4 -4
- package/dist/esm/justifi-payment-provisioning.entry.js +12 -12
- package/dist/esm/justifi-payment-transactions-list.entry.js +14 -14
- package/dist/esm/justifi-payments-list-filters.entry.js +5 -4
- package/dist/esm/justifi-payments-list.entry.js +15 -15
- package/dist/esm/justifi-payout-details.entry.js +13 -13
- package/dist/esm/justifi-payout-transactions-list.entry.js +14 -14
- package/dist/esm/justifi-payouts-list-filters.entry.js +5 -4
- package/dist/esm/justifi-payouts-list.entry.js +17 -17
- package/dist/esm/justifi-refund-payment.entry.js +14 -14
- package/dist/esm/justifi-saved-payment-method.entry.js +4 -4
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +6 -4
- package/dist/esm/justifi-season-interruption-insurance.entry.js +11 -11
- package/dist/esm/justifi-skeleton.entry.js +3 -3
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +8 -8
- package/dist/esm/justifi-terminal-orders-list.entry.js +13 -13
- package/dist/esm/justifi-terminals-list-filters.entry.js +7 -7
- package/dist/esm/justifi-terminals-list.entry.js +15 -15
- package/dist/esm/justifi-tokenize-payment-method.entry.js +218 -36
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-DR0dQ8Fv.js → package-HlNEzyiZ.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/{parts-D3G5aVLy.js → parts-CKg_luIy.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +15 -14
- package/dist/esm/{payment-method-option-utils-8n_ALxec.js → payment-method-option-utils-zFDtQrgQ.js} +2 -10
- package/dist/esm/{payment-provisioning-actions-2qP7AtHj.js → payment-provisioning-actions-ONP8lDnV.js} +2 -2
- package/dist/esm/{payment.service-CnQdP32J.js → payment.service-DPsRcwWM.js} +4 -5
- package/dist/esm/payments-list-core.entry.js +12 -12
- package/dist/esm/{payments-status-DUM0WZkk.js → payments-status-CawBLR48.js} +1 -1
- package/dist/esm/{payments-table-DVQzx7MJ.js → payments-table-WQAD1CSz.js} +3 -3
- package/dist/esm/payout-details-core.entry.js +11 -10
- package/dist/esm/{payout.service-EJuPNpfs.js → payout.service-CoVFefK5.js} +4 -5
- package/dist/esm/payouts-list-core.entry.js +12 -12
- package/dist/esm/{payouts-status-7saoFNoA.js → payouts-status-DB_PJap6.js} +1 -1
- package/dist/esm/{payouts-table-dca-F2iQ.js → payouts-table-DRISll8u.js} +3 -3
- package/dist/esm/{skeleton-C1-JoGFC.js → skeleton-D1Z4a8af.js} +1 -1
- package/dist/esm/{spinner-Ca9uu5Nd.js → spinner-BlffecO5.js} +1 -1
- package/dist/esm/{table-fsCYq8m9.js → table-BqxKVRry.js} +2 -2
- 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-table-BNasCnjz.js → terminal-orders-table-Da4IvBtB.js} +6 -7
- package/dist/esm/terminal-quantity-selector.entry.js +2 -2
- package/dist/esm/{terminal.service-Cfacmeto.js → terminal.service-CnPV1i9J.js} +4 -5
- package/dist/esm/terminals-list-core.entry.js +11 -11
- package/dist/esm/{terminals-table-DBk-eg_3.js → terminals-table-BBPQRWja.js} +3 -3
- package/dist/esm/{utils-BZvep88z.js → utils-BeQLScSm.js} +1 -1
- package/dist/esm/{utils-BjLkBMLe.js → utils-Cu5hITuT.js} +2 -1675
- package/dist/esm/{utils-CNwvOLkk.js → utils-sZ_6zOKQ.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Analytics.js +0 -1
- package/dist/module/Refund.js +210 -1
- package/dist/module/additional-questions.js +1 -1
- package/dist/module/additional-statement.js +1 -1
- package/dist/module/badge.js +1 -1
- package/dist/module/bank-account-document-inputs.js +2 -3
- package/dist/module/bank-account-form-inputs2.js +1 -1
- package/dist/module/bank-account-form.js +2 -2
- package/dist/module/bank-account.js +3 -2
- package/dist/module/billing-form.js +23 -57
- package/dist/module/billing-information-form.js +10 -3
- package/dist/module/business-additional-questions-form-step.js +1 -1
- package/dist/module/business-bank-account-form-step-core.js +2 -3
- package/dist/module/business-bank-account-form-step.js +2 -3
- package/dist/module/business-core-info-form-step.js +1 -1
- 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 +1 -1
- package/dist/module/business-representative-form-inputs.js +1 -1
- package/dist/module/business-representative-form-step.js +1 -1
- package/dist/module/business-representative.js +1 -1
- package/dist/module/business-terms-conditions-form-step.js +1 -2
- package/dist/module/business.service.js +0 -1
- package/dist/module/cancellation-policy.js +1 -1
- package/dist/module/card-form.js +2 -2
- package/dist/module/card-form2.js +3 -2
- package/dist/module/checkout.service.js +0 -1
- package/dist/module/checkout.store.js +2 -1
- package/dist/module/checkouts-list-core2.js +5 -4
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +1 -1
- package/dist/module/dinero.js +1671 -0
- package/dist/module/dispute-management-core.js +2 -2
- package/dist/module/dispute-notification.js +2 -1
- package/dist/module/dispute-response-actions.js +0 -1
- package/dist/module/dispute-response-core.js +1 -1
- package/dist/module/dispute-response.js +2 -1
- package/dist/module/duplicate-charge.js +1 -1
- package/dist/module/electronic-evidence.js +1 -1
- 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 +3 -3
- 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-payment-details.js +2 -3
- package/dist/module/get-subaccounts.js +1 -2
- package/dist/module/gross-payment-chart-core2.js +2 -2
- package/dist/module/hidden-input2.js +2 -2
- package/dist/module/identity-address-form.js +1 -1
- package/dist/module/iframe-input2.js +4 -4
- package/dist/module/insurance-state.js +18 -1
- package/dist/module/justifi-business-form.js +2 -2
- package/dist/module/justifi-button2.js +1 -1
- package/dist/module/justifi-checkout.js +3 -2
- package/dist/module/justifi-checkouts-list-filters.js +4 -4
- package/dist/module/justifi-checkouts-list.js +4 -4
- package/dist/module/justifi-dispute-management.js +2 -3
- package/dist/module/justifi-gross-payment-chart.js +0 -1
- package/dist/module/justifi-header2.js +7 -3
- package/dist/module/justifi-modular-checkout.js +2 -2
- package/dist/module/justifi-order-terminals.js +5 -4
- package/dist/module/justifi-payment-provisioning.js +1 -2
- package/dist/module/justifi-payment-transactions-list.js +6 -5
- package/dist/module/justifi-payments-list-filters.js +4 -3
- package/dist/module/justifi-payments-list.js +4 -4
- package/dist/module/justifi-payout-details.js +2 -3
- package/dist/module/justifi-payout-transactions-list.js +6 -5
- package/dist/module/justifi-payouts-list-filters.js +4 -3
- package/dist/module/justifi-payouts-list.js +4 -4
- 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 +2 -2
- package/dist/module/justifi-saved-payment-method.js +2 -2
- package/dist/module/justifi-season-interruption-insurance.js +1 -2
- package/dist/module/justifi-skeleton.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +5 -5
- package/dist/module/justifi-terminal-orders-list.js +4 -4
- package/dist/module/justifi-terminals-list-filters.js +4 -4
- package/dist/module/justifi-terminals-list.js +4 -4
- package/dist/module/justifi-tokenize-payment-method.js +311 -47
- package/dist/module/legal-address-form-step.js +1 -1
- package/dist/module/legal-address-form.js +1 -1
- package/dist/module/modular-checkout.js +47 -14
- 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 +1 -1
- 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 +2 -10
- package/dist/module/payment-method-option2.js +3 -2
- package/dist/module/payment-provisioning-core.js +2 -1
- 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 +0 -1
- package/dist/module/payments-list-core2.js +5 -4
- package/dist/module/payout-details-core2.js +5 -4
- package/dist/module/payout.service.js +0 -1
- package/dist/module/payouts-list-core2.js +5 -4
- package/dist/module/postal-code-form.js +4 -2
- package/dist/module/product-or-service.js +1 -1
- package/dist/module/refund-policy.js +1 -1
- package/dist/module/save-new-payment-method.js +8 -5
- package/dist/module/saved-payment-methods.js +2 -1
- package/dist/module/season-interruption-insurance-core.js +2 -1
- package/dist/module/sezzle-payment-method.js +2 -1
- package/dist/module/shipping-details.js +1 -1
- package/dist/module/spinner.js +1 -1
- package/dist/module/summary.js +2 -1
- 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 -5
- package/dist/module/terminal-quantity-selector2.js +2 -2
- package/dist/module/terminal.service.js +0 -1
- package/dist/module/terminals-list-core2.js +5 -4
- package/dist/module/utils2.js +2 -1675
- package/dist/types/api/ComponentError.d.ts +7 -0
- package/dist/types/components/checkout/billing-form/billing-form.d.ts +3 -9
- package/dist/types/components/checkout/checkout.d.ts +1 -1
- 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/modular-checkout/modular-checkout.d.ts +2 -1
- package/dist/types/components/modular-checkout/sub-components/billing-information-form.d.ts +2 -0
- package/dist/types/components/modular-checkout/sub-components/postal-code-form.d.ts +1 -0
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +41 -14
- package/dist/types/components.d.ts +70 -114
- package/dist/types/store/checkout.store.d.ts +2 -1
- package/dist/types/ui-components/index.d.ts +1 -0
- package/dist/types/ui-components/shadow-dom-components/justifi-radio-list-item.d.ts +12 -0
- package/dist/webcomponents/p-00c2f5d5.entry.js +1 -0
- package/dist/webcomponents/{p-d7f62287.entry.js → p-046fee8c.entry.js} +1 -1
- package/dist/webcomponents/{p-30d3d0cd.entry.js → p-0a0ed7a4.entry.js} +1 -1
- package/dist/webcomponents/p-0cb64945.entry.js +1 -0
- package/dist/webcomponents/{p-70774a5a.entry.js → p-0e44afa7.entry.js} +1 -1
- package/dist/webcomponents/p-0e6797c4.entry.js +1 -0
- package/dist/webcomponents/p-0fc026aa.entry.js +1 -0
- package/dist/webcomponents/p-16583f91.entry.js +1 -0
- package/dist/webcomponents/p-195cf5cc.entry.js +1 -0
- package/dist/webcomponents/{p-7d2de2d4.entry.js → p-1b1fe3de.entry.js} +1 -1
- package/dist/webcomponents/{p-50bfec55.entry.js → p-1b7b7210.entry.js} +1 -1
- package/dist/webcomponents/p-1c7d9b90.entry.js +1 -0
- package/dist/webcomponents/p-1ce1df1e.entry.js +1 -0
- package/dist/webcomponents/p-24e1a686.entry.js +1 -0
- package/dist/webcomponents/p-2a5ac7c9.entry.js +1 -0
- package/dist/webcomponents/p-2abf1785.entry.js +1 -0
- package/dist/webcomponents/p-2dcf196f.entry.js +1 -0
- package/dist/webcomponents/{p-7c63d61d.entry.js → p-302f7632.entry.js} +1 -1
- package/dist/webcomponents/{p-2f482f5b.entry.js → p-351ffd2a.entry.js} +1 -1
- package/dist/webcomponents/{p-cb7c712f.entry.js → p-39ca43e0.entry.js} +1 -1
- package/dist/webcomponents/p-3eb5f196.entry.js +1 -0
- package/dist/webcomponents/p-4045631f.entry.js +1 -0
- package/dist/webcomponents/{p-05c604d2.entry.js → p-429618a4.entry.js} +1 -1
- package/dist/webcomponents/{p-a02ce003.entry.js → p-444fb5a6.entry.js} +1 -1
- package/dist/webcomponents/{p-ac538ffd.entry.js → p-45b0a91c.entry.js} +1 -1
- package/dist/webcomponents/p-4907e95b.entry.js +1 -0
- package/dist/webcomponents/p-4a0a4314.entry.js +1 -0
- package/dist/webcomponents/p-4aaaa44e.entry.js +1 -0
- package/dist/webcomponents/p-4b34b9af.entry.js +1 -0
- package/dist/webcomponents/p-55iuf7iW.js +1 -0
- package/dist/webcomponents/{p-BxfUcCXo.js → p-5aA7gjr5.js} +1 -1
- package/dist/webcomponents/p-5e71f4d4.entry.js +1 -0
- package/dist/webcomponents/{p-0e4e662b.entry.js → p-6a06da8a.entry.js} +1 -1
- package/dist/webcomponents/p-6bafb4b5.entry.js +1 -0
- package/dist/webcomponents/p-6d1f2d57.entry.js +1 -0
- package/dist/webcomponents/p-6f397c80.entry.js +1 -0
- package/dist/webcomponents/p-75545aec.entry.js +1 -0
- package/dist/webcomponents/p-7b07255f.entry.js +1 -0
- package/dist/webcomponents/p-7b925204.entry.js +1 -0
- package/dist/webcomponents/p-831857dc.entry.js +1 -0
- package/dist/webcomponents/p-85c0953d.entry.js +1 -0
- package/dist/webcomponents/p-85ebdce5.entry.js +1 -0
- package/dist/webcomponents/p-86b166eb.entry.js +1 -0
- package/dist/webcomponents/{p-1bddf354.entry.js → p-880718b9.entry.js} +1 -1
- package/dist/webcomponents/p-88b6dbdd.entry.js +1 -0
- package/dist/webcomponents/p-8e0c6f60.entry.js +1 -0
- package/dist/webcomponents/{p-66861ea5.entry.js → p-90edbaa3.entry.js} +1 -1
- package/dist/webcomponents/p-97c0d873.entry.js +1 -0
- package/dist/webcomponents/p-9e48a264.entry.js +1 -0
- package/dist/webcomponents/{p-Dh6FEdp8.js → p-AbSg_vYv.js} +1 -1
- package/dist/webcomponents/p-B2uBb14Y.js +1 -0
- package/dist/webcomponents/{p-BtT7kqMw.js → p-B3qJZUMy.js} +1 -1
- package/dist/webcomponents/p-BF51n3KG.js +1 -0
- package/dist/webcomponents/{p-7MWRbTXI.js → p-BH0Xfn-F.js} +1 -1
- package/dist/webcomponents/p-BNd9xVOU.js +1 -0
- package/dist/webcomponents/p-BQLEjYfZ.js +1 -0
- package/dist/webcomponents/p-BZ9YQ3FA.js +1 -0
- package/dist/webcomponents/{p-BqK0rIZQ.js → p-BfEOvp9h.js} +1 -1
- package/dist/webcomponents/p-Bka75aL-.js +1 -0
- package/dist/webcomponents/p-C3e-DgwK.js +1 -0
- package/dist/webcomponents/{p-DAVX1-sW.js → p-CDIPkflV.js} +1 -1
- package/dist/webcomponents/{p-D3G5aVLy.js → p-CKg_luIy.js} +1 -1
- package/dist/webcomponents/{p-DDpc1huF.js → p-Ce8QXyUM.js} +1 -1
- package/dist/webcomponents/p-ChzWF0s3.js +1 -0
- package/dist/webcomponents/p-CjAMuB2J.js +1 -0
- package/dist/webcomponents/p-Cjcsf8ku.js +1 -0
- package/dist/webcomponents/{p-DAoffYFW.js → p-D0I-tRSs.js} +1 -1
- package/dist/webcomponents/p-D2muobcE.js +1 -0
- package/dist/webcomponents/p-DC63XVwu.js +1 -0
- package/dist/webcomponents/p-DH8F0bsw.js +1 -0
- package/dist/webcomponents/p-DMuY7Dka.js +1 -0
- package/dist/webcomponents/p-DPfZxsq9.js +1 -0
- package/dist/webcomponents/{p-DHvfrLVU.js → p-DPnS0F0Y.js} +1 -1
- package/dist/webcomponents/p-DR0bMp9p.js +1 -0
- package/dist/webcomponents/p-DYGIC0QH.js +1 -0
- package/dist/webcomponents/p-DgxD9dbc.js +1 -0
- package/dist/webcomponents/p-DniBAXrh.js +1 -0
- package/dist/webcomponents/p-Do0fsKZk.js +1 -0
- package/dist/webcomponents/{p-1adN6FVa.js → p-DpUqxsf5.js} +1 -1
- package/dist/webcomponents/p-DxEnw2tJ.js +1 -0
- package/dist/webcomponents/{p-fUv1jFAw.js → p-EAEmpCru.js} +1 -1
- package/dist/webcomponents/p-HlNEzyiZ.js +1 -0
- package/dist/webcomponents/p-O50LiN_p.js +1 -0
- package/dist/webcomponents/p-S_UV9-px.js +1 -0
- package/dist/webcomponents/p-X2PeOHf5.js +1 -0
- package/dist/webcomponents/p-_WsRuUBr.js +1 -0
- package/dist/webcomponents/{p-683630d0.entry.js → p-a1c7c873.entry.js} +1 -1
- package/dist/webcomponents/p-a3c6c55e.entry.js +1 -0
- package/dist/webcomponents/p-af935779.entry.js +1 -0
- package/dist/webcomponents/p-b01801a6.entry.js +1 -0
- package/dist/webcomponents/p-b47000f7.entry.js +1 -0
- package/dist/webcomponents/p-b58fb1b1.entry.js +1 -0
- package/dist/webcomponents/{p-f5d12ae3.entry.js → p-b8906c49.entry.js} +1 -1
- package/dist/webcomponents/p-c1bf875b.entry.js +1 -0
- package/dist/webcomponents/p-c26ef276.entry.js +1 -0
- package/dist/webcomponents/p-c5331724.entry.js +1 -0
- package/dist/webcomponents/p-c6bd05ef.entry.js +1 -0
- package/dist/webcomponents/{p-0890869b.entry.js → p-d5e4e888.entry.js} +4 -4
- package/dist/webcomponents/{p-e48a2d25.entry.js → p-e2ee826e.entry.js} +1 -1
- package/dist/webcomponents/{p-ae00a6f3.entry.js → p-e9c44dc2.entry.js} +1 -1
- package/dist/webcomponents/p-edf9128c.entry.js +1 -0
- package/dist/webcomponents/p-f3c2de89.entry.js +1 -0
- package/dist/webcomponents/p-f6ff7255.entry.js +1 -0
- package/dist/webcomponents/p-f8a0821d.entry.js +1 -0
- package/dist/webcomponents/p-fcb6c171.entry.js +1 -0
- package/dist/webcomponents/p-fd4d7c7e.entry.js +1 -0
- package/dist/webcomponents/p-pMAKJWDL.js +1 -0
- package/dist/webcomponents/p-rPeW3G6n.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/Payment-D5UynU2f.js +0 -151
- package/dist/cjs/header-3-BnKbOjvz.js +0 -10
- package/dist/cjs/insurance-state-BsGy_svD.js +0 -34
- package/dist/cjs/justifi-billing-form.cjs.entry.js +0 -76
- package/dist/cjs/justifi-new-payment-method.cjs.entry.js +0 -99
- package/dist/cjs/justifi-payment-method-options.cjs.entry.js +0 -76
- package/dist/cjs/justifi-saved-payment-methods_2.cjs.entry.js +0 -117
- package/dist/collection/components/checkout/new-payment-method.js +0 -378
- package/dist/collection/components/checkout/payment-method-options.js +0 -421
- package/dist/esm/Payment-00TwhwCx.js +0 -149
- package/dist/esm/header-3-Bsi4loU1.js +0 -8
- package/dist/esm/insurance-state-pL8MRpxn.js +0 -28
- package/dist/esm/justifi-billing-form.entry.js +0 -74
- package/dist/esm/justifi-new-payment-method.entry.js +0 -97
- package/dist/esm/justifi-payment-method-options.entry.js +0 -74
- package/dist/esm/justifi-saved-payment-methods_2.entry.js +0 -114
- package/dist/module/Payment.js +0 -204
- package/dist/module/header-3.js +0 -8
- package/dist/module/justifi-new-payment-method.d.ts +0 -11
- package/dist/module/justifi-new-payment-method.js +0 -219
- package/dist/module/justifi-payment-method-options.d.ts +0 -11
- package/dist/module/justifi-payment-method-options.js +0 -6
- package/dist/module/payment-method-options.js +0 -129
- 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/webcomponents/p-00d7c2e6.entry.js +0 -1
- package/dist/webcomponents/p-03e9a98c.entry.js +0 -1
- package/dist/webcomponents/p-05fc864a.entry.js +0 -1
- package/dist/webcomponents/p-09c24135.entry.js +0 -1
- package/dist/webcomponents/p-0f511cc1.entry.js +0 -1
- package/dist/webcomponents/p-100008fa.entry.js +0 -1
- package/dist/webcomponents/p-17825dfb.entry.js +0 -1
- package/dist/webcomponents/p-18b941d3.entry.js +0 -1
- package/dist/webcomponents/p-19308a1b.entry.js +0 -1
- package/dist/webcomponents/p-1a7942f7.entry.js +0 -1
- package/dist/webcomponents/p-1d1d956b.entry.js +0 -1
- package/dist/webcomponents/p-26bf2fda.entry.js +0 -1
- package/dist/webcomponents/p-2d3949f7.entry.js +0 -1
- package/dist/webcomponents/p-326f4860.entry.js +0 -1
- package/dist/webcomponents/p-359b8f54.entry.js +0 -1
- package/dist/webcomponents/p-37aeeeee.entry.js +0 -1
- package/dist/webcomponents/p-4887bcb3.entry.js +0 -1
- package/dist/webcomponents/p-54406229.entry.js +0 -1
- package/dist/webcomponents/p-56af4fd0.entry.js +0 -1
- package/dist/webcomponents/p-59656e08.entry.js +0 -1
- package/dist/webcomponents/p-5d145701.entry.js +0 -1
- package/dist/webcomponents/p-5e813b93.entry.js +0 -1
- package/dist/webcomponents/p-64a46b8a.entry.js +0 -1
- package/dist/webcomponents/p-6bd83369.entry.js +0 -1
- package/dist/webcomponents/p-6ee2b118.entry.js +0 -1
- package/dist/webcomponents/p-73afde1b.entry.js +0 -1
- package/dist/webcomponents/p-73bbd71c.entry.js +0 -1
- package/dist/webcomponents/p-74f78a4e.entry.js +0 -1
- package/dist/webcomponents/p-755a8d9b.entry.js +0 -1
- package/dist/webcomponents/p-7c456c10.entry.js +0 -1
- package/dist/webcomponents/p-7c6d7283.entry.js +0 -1
- package/dist/webcomponents/p-7e9832b3.entry.js +0 -1
- package/dist/webcomponents/p-810cad17.entry.js +0 -1
- package/dist/webcomponents/p-81478598.entry.js +0 -1
- package/dist/webcomponents/p-91a2707a.entry.js +0 -1
- package/dist/webcomponents/p-9348a7c8.entry.js +0 -1
- package/dist/webcomponents/p-967c3374.entry.js +0 -1
- package/dist/webcomponents/p-9REosSLu.js +0 -1
- package/dist/webcomponents/p-9c27f87f.entry.js +0 -1
- package/dist/webcomponents/p-B9ROmZzw.js +0 -1
- package/dist/webcomponents/p-BCPBc18Y.js +0 -1
- package/dist/webcomponents/p-BQ5bL1Y5.js +0 -1
- package/dist/webcomponents/p-BSW9VS7r.js +0 -1
- package/dist/webcomponents/p-BSexQ2qc.js +0 -1
- package/dist/webcomponents/p-Bc5u1WjM.js +0 -1
- package/dist/webcomponents/p-BhrFjjAs.js +0 -1
- package/dist/webcomponents/p-BjQrbohd.js +0 -1
- package/dist/webcomponents/p-BxWsrx5h.js +0 -1
- package/dist/webcomponents/p-By9Lz2e0.js +0 -1
- package/dist/webcomponents/p-CEp46FZK.js +0 -1
- package/dist/webcomponents/p-CMNxLEJP.js +0 -1
- package/dist/webcomponents/p-CZItg0Yo.js +0 -1
- package/dist/webcomponents/p-D7WGjeDy.js +0 -1
- package/dist/webcomponents/p-DIDbcp63.js +0 -1
- package/dist/webcomponents/p-DKClunJd.js +0 -1
- package/dist/webcomponents/p-DR0dQ8Fv.js +0 -1
- package/dist/webcomponents/p-DUqRxn4Y.js +0 -1
- package/dist/webcomponents/p-DbcOhajT.js +0 -1
- package/dist/webcomponents/p-DhAmsAOH.js +0 -1
- package/dist/webcomponents/p-DoEkFs2i.js +0 -1
- package/dist/webcomponents/p-DvXSA0b0.js +0 -1
- package/dist/webcomponents/p-NqdaxjDT.js +0 -1
- package/dist/webcomponents/p-a05062d8.entry.js +0 -1
- package/dist/webcomponents/p-a27405fb.entry.js +0 -1
- package/dist/webcomponents/p-a2f0d61c.entry.js +0 -1
- package/dist/webcomponents/p-a95741ee.entry.js +0 -1
- package/dist/webcomponents/p-b193bf46.entry.js +0 -1
- package/dist/webcomponents/p-b398856f.entry.js +0 -1
- package/dist/webcomponents/p-d33baab9.entry.js +0 -1
- package/dist/webcomponents/p-d3f438ca.entry.js +0 -1
- package/dist/webcomponents/p-d5b3c65c.entry.js +0 -1
- package/dist/webcomponents/p-d62e6c16.entry.js +0 -1
- package/dist/webcomponents/p-eba620cd.entry.js +0 -1
- package/dist/webcomponents/p-ecdda6e6.entry.js +0 -1
- package/dist/webcomponents/p-f24e201f.entry.js +0 -1
- package/dist/webcomponents/p-m2jmX-Hz.js +0 -1
- package/dist/webcomponents/p-pGzabKc7.js +0 -1
- package/dist/webcomponents/p-sT4o5vru.js +0 -1
- package/dist/webcomponents/p-ys9CWfNG.js +0 -1
- package/dist/webcomponents/p-zucQG3cz.js +0 -1
|
@@ -1,421 +0,0 @@
|
|
|
1
|
-
import { h } from "@stencil/core";
|
|
2
|
-
import { PaymentMethodTypes } from "../../api/Payment";
|
|
3
|
-
import { PaymentMethodOption } from "./payment-method-option-utils";
|
|
4
|
-
import { checkoutStore } from "../../store/checkout.store";
|
|
5
|
-
import { radioListItem } from "../../styles/parts";
|
|
6
|
-
const PaymentMethodTypeLabels = {
|
|
7
|
-
bankAccount: 'New bank account',
|
|
8
|
-
card: 'New credit or debit card',
|
|
9
|
-
};
|
|
10
|
-
export class PaymentMethodOptions {
|
|
11
|
-
constructor() {
|
|
12
|
-
this.savedPaymentMethods = [];
|
|
13
|
-
this.paymentMethodOptions = [];
|
|
14
|
-
}
|
|
15
|
-
async fillBillingForm(fields) {
|
|
16
|
-
const newPaymentMethodElement = this.selectedPaymentMethodOptionRef;
|
|
17
|
-
if (newPaymentMethodElement.fillBillingForm) {
|
|
18
|
-
newPaymentMethodElement.fillBillingForm(fields);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
connectedCallback() {
|
|
22
|
-
this.paymentMethodsChanged();
|
|
23
|
-
}
|
|
24
|
-
paymentMethodsChanged() {
|
|
25
|
-
var _a, _b;
|
|
26
|
-
this.paymentMethodOptions = this.savedPaymentMethods
|
|
27
|
-
.map((paymentMethod) => new PaymentMethodOption(paymentMethod))
|
|
28
|
-
.filter((paymentMethod) => {
|
|
29
|
-
// Don't saved card or bank account if they are disabled
|
|
30
|
-
return ((this.showCard || paymentMethod.type !== PaymentMethodTypes.card) &&
|
|
31
|
-
(this.showAch || paymentMethod.type !== PaymentMethodTypes.bankAccount));
|
|
32
|
-
});
|
|
33
|
-
if (this.showBnpl && ((_a = this.bnpl) === null || _a === void 0 ? void 0 : _a.provider) === 'sezzle' && !this.insuranceToggled) {
|
|
34
|
-
this.paymentMethodOptions.push(new PaymentMethodOption({ id: PaymentMethodTypes.sezzle }));
|
|
35
|
-
}
|
|
36
|
-
if (this.showCard) {
|
|
37
|
-
this.paymentMethodOptions.push(new PaymentMethodOption({ id: PaymentMethodTypes.card }));
|
|
38
|
-
}
|
|
39
|
-
if (this.showAch) {
|
|
40
|
-
this.paymentMethodOptions.push(new PaymentMethodOption({ id: PaymentMethodTypes.bankAccount }));
|
|
41
|
-
}
|
|
42
|
-
if (!checkoutStore.selectedPaymentMethod) {
|
|
43
|
-
checkoutStore.selectedPaymentMethod = (_b = this.paymentMethodOptions[0]) === null || _b === void 0 ? void 0 : _b.id;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
paymentMethodOptionSelected(event) {
|
|
47
|
-
checkoutStore.selectedPaymentMethod = event.detail.id;
|
|
48
|
-
}
|
|
49
|
-
get hiddenRadioInput() {
|
|
50
|
-
return !this.showAch || !this.showCard;
|
|
51
|
-
}
|
|
52
|
-
async resolvePaymentMethod(insuranceValidation) {
|
|
53
|
-
var _a;
|
|
54
|
-
return await ((_a = this.selectedPaymentMethodOptionRef) === null || _a === void 0 ? void 0 : _a.resolvePaymentMethod(insuranceValidation));
|
|
55
|
-
}
|
|
56
|
-
async validate() {
|
|
57
|
-
const newPaymentMethodElement = this.selectedPaymentMethodOptionRef;
|
|
58
|
-
return newPaymentMethodElement.validate();
|
|
59
|
-
}
|
|
60
|
-
render() {
|
|
61
|
-
return (h("div", { key: 'e1a46216f766f12306302210bcba3147a4312cfa' }, h("justifi-saved-payment-methods", { key: '72ac4e440719ed1bbafc90f4cf0a2e3a52530713' }), h("justifi-sezzle-payment-method", { key: 'aaa89521f18ac4833d561c08b3fa50b00800a4bf' }), h("div", { key: '209001587e9f7e23f1147d4ef2d8ec4691f6c9fb', class: "radio-list-item p-3", part: radioListItem, onClick: () => { checkoutStore.selectedPaymentMethod = PaymentMethodTypes.card; }, hidden: this.hiddenRadioInput }, h("form-control-radio", { key: '0baed32a40efc6ff0d77dcf53ae9e3ff3aab1185', name: "paymentMethodType", value: PaymentMethodTypes.card, checked: checkoutStore.selectedPaymentMethod === PaymentMethodTypes.card, label: PaymentMethodTypeLabels[PaymentMethodTypes.card] })), h("div", { key: '53d8360fdecec5a6860f480901911bd2c396e1a2', class: "radio-list-item p-3", part: radioListItem, onClick: () => { checkoutStore.selectedPaymentMethod = PaymentMethodTypes.bankAccount; }, hidden: this.hiddenRadioInput }, h("form-control-radio", { key: '901a45bae4b3faeed8daa147db5c8264c4bee08c', name: "paymentMethodType", value: PaymentMethodTypes.bankAccount, checked: checkoutStore.selectedPaymentMethod === PaymentMethodTypes.bankAccount, label: PaymentMethodTypeLabels[PaymentMethodTypes.bankAccount] }))));
|
|
62
|
-
}
|
|
63
|
-
static get is() { return "justifi-payment-method-options"; }
|
|
64
|
-
static get properties() {
|
|
65
|
-
return {
|
|
66
|
-
"showCard": {
|
|
67
|
-
"type": "boolean",
|
|
68
|
-
"attribute": "show-card",
|
|
69
|
-
"mutable": false,
|
|
70
|
-
"complexType": {
|
|
71
|
-
"original": "boolean",
|
|
72
|
-
"resolved": "boolean",
|
|
73
|
-
"references": {}
|
|
74
|
-
},
|
|
75
|
-
"required": false,
|
|
76
|
-
"optional": false,
|
|
77
|
-
"docs": {
|
|
78
|
-
"tags": [],
|
|
79
|
-
"text": ""
|
|
80
|
-
},
|
|
81
|
-
"getter": false,
|
|
82
|
-
"setter": false,
|
|
83
|
-
"reflect": false
|
|
84
|
-
},
|
|
85
|
-
"showAch": {
|
|
86
|
-
"type": "boolean",
|
|
87
|
-
"attribute": "show-ach",
|
|
88
|
-
"mutable": false,
|
|
89
|
-
"complexType": {
|
|
90
|
-
"original": "boolean",
|
|
91
|
-
"resolved": "boolean",
|
|
92
|
-
"references": {}
|
|
93
|
-
},
|
|
94
|
-
"required": false,
|
|
95
|
-
"optional": false,
|
|
96
|
-
"docs": {
|
|
97
|
-
"tags": [],
|
|
98
|
-
"text": ""
|
|
99
|
-
},
|
|
100
|
-
"getter": false,
|
|
101
|
-
"setter": false,
|
|
102
|
-
"reflect": false
|
|
103
|
-
},
|
|
104
|
-
"showSavedPaymentMethods": {
|
|
105
|
-
"type": "boolean",
|
|
106
|
-
"attribute": "show-saved-payment-methods",
|
|
107
|
-
"mutable": false,
|
|
108
|
-
"complexType": {
|
|
109
|
-
"original": "boolean",
|
|
110
|
-
"resolved": "boolean",
|
|
111
|
-
"references": {}
|
|
112
|
-
},
|
|
113
|
-
"required": false,
|
|
114
|
-
"optional": false,
|
|
115
|
-
"docs": {
|
|
116
|
-
"tags": [],
|
|
117
|
-
"text": ""
|
|
118
|
-
},
|
|
119
|
-
"getter": false,
|
|
120
|
-
"setter": false,
|
|
121
|
-
"reflect": false
|
|
122
|
-
},
|
|
123
|
-
"showBnpl": {
|
|
124
|
-
"type": "boolean",
|
|
125
|
-
"attribute": "show-bnpl",
|
|
126
|
-
"mutable": false,
|
|
127
|
-
"complexType": {
|
|
128
|
-
"original": "boolean",
|
|
129
|
-
"resolved": "boolean",
|
|
130
|
-
"references": {}
|
|
131
|
-
},
|
|
132
|
-
"required": false,
|
|
133
|
-
"optional": false,
|
|
134
|
-
"docs": {
|
|
135
|
-
"tags": [],
|
|
136
|
-
"text": ""
|
|
137
|
-
},
|
|
138
|
-
"getter": false,
|
|
139
|
-
"setter": false,
|
|
140
|
-
"reflect": false
|
|
141
|
-
},
|
|
142
|
-
"paymentMethodGroupId": {
|
|
143
|
-
"type": "string",
|
|
144
|
-
"attribute": "payment-method-group-id",
|
|
145
|
-
"mutable": false,
|
|
146
|
-
"complexType": {
|
|
147
|
-
"original": "string",
|
|
148
|
-
"resolved": "string",
|
|
149
|
-
"references": {}
|
|
150
|
-
},
|
|
151
|
-
"required": false,
|
|
152
|
-
"optional": true,
|
|
153
|
-
"docs": {
|
|
154
|
-
"tags": [],
|
|
155
|
-
"text": ""
|
|
156
|
-
},
|
|
157
|
-
"getter": false,
|
|
158
|
-
"setter": false,
|
|
159
|
-
"reflect": false
|
|
160
|
-
},
|
|
161
|
-
"bnpl": {
|
|
162
|
-
"type": "unknown",
|
|
163
|
-
"attribute": "bnpl",
|
|
164
|
-
"mutable": false,
|
|
165
|
-
"complexType": {
|
|
166
|
-
"original": "IBnpl",
|
|
167
|
-
"resolved": "IBnpl",
|
|
168
|
-
"references": {
|
|
169
|
-
"IBnpl": {
|
|
170
|
-
"location": "import",
|
|
171
|
-
"path": "../../api",
|
|
172
|
-
"id": "src/api/index.ts::IBnpl"
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
},
|
|
176
|
-
"required": false,
|
|
177
|
-
"optional": false,
|
|
178
|
-
"docs": {
|
|
179
|
-
"tags": [],
|
|
180
|
-
"text": ""
|
|
181
|
-
},
|
|
182
|
-
"getter": false,
|
|
183
|
-
"setter": false
|
|
184
|
-
},
|
|
185
|
-
"insuranceToggled": {
|
|
186
|
-
"type": "boolean",
|
|
187
|
-
"attribute": "insurance-toggled",
|
|
188
|
-
"mutable": false,
|
|
189
|
-
"complexType": {
|
|
190
|
-
"original": "boolean",
|
|
191
|
-
"resolved": "boolean",
|
|
192
|
-
"references": {}
|
|
193
|
-
},
|
|
194
|
-
"required": false,
|
|
195
|
-
"optional": false,
|
|
196
|
-
"docs": {
|
|
197
|
-
"tags": [],
|
|
198
|
-
"text": ""
|
|
199
|
-
},
|
|
200
|
-
"getter": false,
|
|
201
|
-
"setter": false,
|
|
202
|
-
"reflect": false
|
|
203
|
-
},
|
|
204
|
-
"authToken": {
|
|
205
|
-
"type": "string",
|
|
206
|
-
"attribute": "auth-token",
|
|
207
|
-
"mutable": false,
|
|
208
|
-
"complexType": {
|
|
209
|
-
"original": "string",
|
|
210
|
-
"resolved": "string",
|
|
211
|
-
"references": {}
|
|
212
|
-
},
|
|
213
|
-
"required": false,
|
|
214
|
-
"optional": false,
|
|
215
|
-
"docs": {
|
|
216
|
-
"tags": [],
|
|
217
|
-
"text": ""
|
|
218
|
-
},
|
|
219
|
-
"getter": false,
|
|
220
|
-
"setter": false,
|
|
221
|
-
"reflect": false
|
|
222
|
-
},
|
|
223
|
-
"accountId": {
|
|
224
|
-
"type": "string",
|
|
225
|
-
"attribute": "account-id",
|
|
226
|
-
"mutable": false,
|
|
227
|
-
"complexType": {
|
|
228
|
-
"original": "string",
|
|
229
|
-
"resolved": "string",
|
|
230
|
-
"references": {}
|
|
231
|
-
},
|
|
232
|
-
"required": false,
|
|
233
|
-
"optional": false,
|
|
234
|
-
"docs": {
|
|
235
|
-
"tags": [],
|
|
236
|
-
"text": ""
|
|
237
|
-
},
|
|
238
|
-
"getter": false,
|
|
239
|
-
"setter": false,
|
|
240
|
-
"reflect": false
|
|
241
|
-
},
|
|
242
|
-
"savedPaymentMethods": {
|
|
243
|
-
"type": "unknown",
|
|
244
|
-
"attribute": "saved-payment-methods",
|
|
245
|
-
"mutable": false,
|
|
246
|
-
"complexType": {
|
|
247
|
-
"original": "any[]",
|
|
248
|
-
"resolved": "any[]",
|
|
249
|
-
"references": {}
|
|
250
|
-
},
|
|
251
|
-
"required": false,
|
|
252
|
-
"optional": false,
|
|
253
|
-
"docs": {
|
|
254
|
-
"tags": [],
|
|
255
|
-
"text": ""
|
|
256
|
-
},
|
|
257
|
-
"getter": false,
|
|
258
|
-
"setter": false,
|
|
259
|
-
"defaultValue": "[]"
|
|
260
|
-
},
|
|
261
|
-
"paymentAmount": {
|
|
262
|
-
"type": "number",
|
|
263
|
-
"attribute": "payment-amount",
|
|
264
|
-
"mutable": false,
|
|
265
|
-
"complexType": {
|
|
266
|
-
"original": "number",
|
|
267
|
-
"resolved": "number",
|
|
268
|
-
"references": {}
|
|
269
|
-
},
|
|
270
|
-
"required": false,
|
|
271
|
-
"optional": false,
|
|
272
|
-
"docs": {
|
|
273
|
-
"tags": [],
|
|
274
|
-
"text": ""
|
|
275
|
-
},
|
|
276
|
-
"getter": false,
|
|
277
|
-
"setter": false,
|
|
278
|
-
"reflect": false
|
|
279
|
-
},
|
|
280
|
-
"hideCardBillingForm": {
|
|
281
|
-
"type": "boolean",
|
|
282
|
-
"attribute": "hide-card-billing-form",
|
|
283
|
-
"mutable": false,
|
|
284
|
-
"complexType": {
|
|
285
|
-
"original": "boolean",
|
|
286
|
-
"resolved": "boolean",
|
|
287
|
-
"references": {}
|
|
288
|
-
},
|
|
289
|
-
"required": false,
|
|
290
|
-
"optional": true,
|
|
291
|
-
"docs": {
|
|
292
|
-
"tags": [],
|
|
293
|
-
"text": ""
|
|
294
|
-
},
|
|
295
|
-
"getter": false,
|
|
296
|
-
"setter": false,
|
|
297
|
-
"reflect": false
|
|
298
|
-
},
|
|
299
|
-
"hideBankAccountBillingForm": {
|
|
300
|
-
"type": "boolean",
|
|
301
|
-
"attribute": "hide-bank-account-billing-form",
|
|
302
|
-
"mutable": false,
|
|
303
|
-
"complexType": {
|
|
304
|
-
"original": "boolean",
|
|
305
|
-
"resolved": "boolean",
|
|
306
|
-
"references": {}
|
|
307
|
-
},
|
|
308
|
-
"required": false,
|
|
309
|
-
"optional": true,
|
|
310
|
-
"docs": {
|
|
311
|
-
"tags": [],
|
|
312
|
-
"text": ""
|
|
313
|
-
},
|
|
314
|
-
"getter": false,
|
|
315
|
-
"setter": false,
|
|
316
|
-
"reflect": false
|
|
317
|
-
}
|
|
318
|
-
};
|
|
319
|
-
}
|
|
320
|
-
static get states() {
|
|
321
|
-
return {
|
|
322
|
-
"paymentMethodOptions": {}
|
|
323
|
-
};
|
|
324
|
-
}
|
|
325
|
-
static get methods() {
|
|
326
|
-
return {
|
|
327
|
-
"fillBillingForm": {
|
|
328
|
-
"complexType": {
|
|
329
|
-
"signature": "(fields: BillingFormFields) => Promise<void>",
|
|
330
|
-
"parameters": [{
|
|
331
|
-
"name": "fields",
|
|
332
|
-
"type": "BillingFormFields",
|
|
333
|
-
"docs": ""
|
|
334
|
-
}],
|
|
335
|
-
"references": {
|
|
336
|
-
"Promise": {
|
|
337
|
-
"location": "global",
|
|
338
|
-
"id": "global::Promise"
|
|
339
|
-
},
|
|
340
|
-
"BillingFormFields": {
|
|
341
|
-
"location": "import",
|
|
342
|
-
"path": "./billing-form/billing-form-schema",
|
|
343
|
-
"id": "src/components/checkout/billing-form/billing-form-schema.ts::BillingFormFields"
|
|
344
|
-
},
|
|
345
|
-
"HTMLJustifiNewPaymentMethodElement": {
|
|
346
|
-
"location": "global",
|
|
347
|
-
"id": "global::HTMLJustifiNewPaymentMethodElement"
|
|
348
|
-
}
|
|
349
|
-
},
|
|
350
|
-
"return": "Promise<void>"
|
|
351
|
-
},
|
|
352
|
-
"docs": {
|
|
353
|
-
"text": "",
|
|
354
|
-
"tags": []
|
|
355
|
-
}
|
|
356
|
-
},
|
|
357
|
-
"resolvePaymentMethod": {
|
|
358
|
-
"complexType": {
|
|
359
|
-
"signature": "(insuranceValidation: any) => Promise<PaymentMethodPayload>",
|
|
360
|
-
"parameters": [{
|
|
361
|
-
"name": "insuranceValidation",
|
|
362
|
-
"type": "any",
|
|
363
|
-
"docs": ""
|
|
364
|
-
}],
|
|
365
|
-
"references": {
|
|
366
|
-
"Promise": {
|
|
367
|
-
"location": "global",
|
|
368
|
-
"id": "global::Promise"
|
|
369
|
-
},
|
|
370
|
-
"PaymentMethodPayload": {
|
|
371
|
-
"location": "import",
|
|
372
|
-
"path": "./payment-method-payload",
|
|
373
|
-
"id": "src/components/checkout/payment-method-payload.ts::PaymentMethodPayload"
|
|
374
|
-
}
|
|
375
|
-
},
|
|
376
|
-
"return": "Promise<PaymentMethodPayload>"
|
|
377
|
-
},
|
|
378
|
-
"docs": {
|
|
379
|
-
"text": "",
|
|
380
|
-
"tags": []
|
|
381
|
-
}
|
|
382
|
-
},
|
|
383
|
-
"validate": {
|
|
384
|
-
"complexType": {
|
|
385
|
-
"signature": "() => Promise<{ isValid: boolean; errors?: any; }>",
|
|
386
|
-
"parameters": [],
|
|
387
|
-
"references": {
|
|
388
|
-
"Promise": {
|
|
389
|
-
"location": "global",
|
|
390
|
-
"id": "global::Promise"
|
|
391
|
-
},
|
|
392
|
-
"HTMLJustifiNewPaymentMethodElement": {
|
|
393
|
-
"location": "global",
|
|
394
|
-
"id": "global::HTMLJustifiNewPaymentMethodElement"
|
|
395
|
-
}
|
|
396
|
-
},
|
|
397
|
-
"return": "Promise<{ isValid: boolean; errors?: any; }>"
|
|
398
|
-
},
|
|
399
|
-
"docs": {
|
|
400
|
-
"text": "",
|
|
401
|
-
"tags": []
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
};
|
|
405
|
-
}
|
|
406
|
-
static get watchers() {
|
|
407
|
-
return [{
|
|
408
|
-
"propName": "savedPaymentMethods",
|
|
409
|
-
"methodName": "paymentMethodsChanged"
|
|
410
|
-
}];
|
|
411
|
-
}
|
|
412
|
-
static get listeners() {
|
|
413
|
-
return [{
|
|
414
|
-
"name": "paymentMethodOptionSelected",
|
|
415
|
-
"method": "paymentMethodOptionSelected",
|
|
416
|
-
"target": undefined,
|
|
417
|
-
"capture": false,
|
|
418
|
-
"passive": false
|
|
419
|
-
}];
|
|
420
|
-
}
|
|
421
|
-
}
|
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
import { f as formatCurrency } from './utils-BjLkBMLe.js';
|
|
2
|
-
import { D as DisputeStatus } from './Dispute-7MWRbTXI.js';
|
|
3
|
-
|
|
4
|
-
var CaptureStrategy;
|
|
5
|
-
(function (CaptureStrategy) {
|
|
6
|
-
CaptureStrategy["automatic"] = "automatic";
|
|
7
|
-
CaptureStrategy["manual"] = "manual";
|
|
8
|
-
})(CaptureStrategy || (CaptureStrategy = {}));
|
|
9
|
-
var PaymentMethodTypes;
|
|
10
|
-
(function (PaymentMethodTypes) {
|
|
11
|
-
PaymentMethodTypes["card"] = "card";
|
|
12
|
-
PaymentMethodTypes["bankAccount"] = "bankAccount";
|
|
13
|
-
PaymentMethodTypes["sezzle"] = "sezzle";
|
|
14
|
-
PaymentMethodTypes["saved"] = "saved";
|
|
15
|
-
})(PaymentMethodTypes || (PaymentMethodTypes = {}));
|
|
16
|
-
var PaymentTypes;
|
|
17
|
-
(function (PaymentTypes) {
|
|
18
|
-
PaymentTypes["card"] = "Card";
|
|
19
|
-
PaymentTypes["bankAccount"] = "ACH";
|
|
20
|
-
PaymentTypes["unknown"] = "Unknown";
|
|
21
|
-
})(PaymentTypes || (PaymentTypes = {}));
|
|
22
|
-
var PaymentStatuses;
|
|
23
|
-
(function (PaymentStatuses) {
|
|
24
|
-
PaymentStatuses["pending"] = "pending";
|
|
25
|
-
PaymentStatuses["automatic"] = "automatic";
|
|
26
|
-
PaymentStatuses["authorized"] = "authorized";
|
|
27
|
-
PaymentStatuses["succeeded"] = "succeeded";
|
|
28
|
-
PaymentStatuses["failed"] = "failed";
|
|
29
|
-
PaymentStatuses["canceled"] = "canceled";
|
|
30
|
-
PaymentStatuses["disputed"] = "disputed";
|
|
31
|
-
PaymentStatuses["fully_refunded"] = "fully_refunded";
|
|
32
|
-
PaymentStatuses["partially_refunded"] = "partially_refunded";
|
|
33
|
-
})(PaymentStatuses || (PaymentStatuses = {}));
|
|
34
|
-
var CurrencyTypes;
|
|
35
|
-
(function (CurrencyTypes) {
|
|
36
|
-
CurrencyTypes["usd"] = "usd";
|
|
37
|
-
CurrencyTypes["cad"] = "cad";
|
|
38
|
-
})(CurrencyTypes || (CurrencyTypes = {}));
|
|
39
|
-
class PaymentMethod {
|
|
40
|
-
constructor(paymentMethod) {
|
|
41
|
-
this.card = paymentMethod.card ? new Card(paymentMethod.card) : undefined;
|
|
42
|
-
this.bank_account = paymentMethod.bank_account
|
|
43
|
-
? new BankAccount(paymentMethod.bank_account)
|
|
44
|
-
: undefined;
|
|
45
|
-
}
|
|
46
|
-
get payersName() {
|
|
47
|
-
if (this.card) {
|
|
48
|
-
return this.card.name;
|
|
49
|
-
}
|
|
50
|
-
else if (this.bank_account) {
|
|
51
|
-
return this.bank_account.name;
|
|
52
|
-
}
|
|
53
|
-
return null;
|
|
54
|
-
}
|
|
55
|
-
get lastFourDigits() {
|
|
56
|
-
if (this.card) {
|
|
57
|
-
return `**** ${this.card.acct_last_four}`;
|
|
58
|
-
}
|
|
59
|
-
else if (this.bank_account) {
|
|
60
|
-
return `**** ${this.bank_account.acct_last_four}`;
|
|
61
|
-
}
|
|
62
|
-
return null;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
class BankAccount {
|
|
66
|
-
constructor(bankAccount) {
|
|
67
|
-
this.id = bankAccount.id;
|
|
68
|
-
this.acct_last_four = bankAccount.acct_last_four;
|
|
69
|
-
this.name = bankAccount.name;
|
|
70
|
-
this.brand = bankAccount.brand;
|
|
71
|
-
this.token = bankAccount.token;
|
|
72
|
-
this.created_at = bankAccount.created_at;
|
|
73
|
-
this.updated_at = bankAccount.updated_at;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
class Card {
|
|
77
|
-
constructor(card) {
|
|
78
|
-
this.id = card.id || '';
|
|
79
|
-
this.acct_last_four = card.acct_last_four;
|
|
80
|
-
this.name = card.name;
|
|
81
|
-
this.brand = card.brand;
|
|
82
|
-
this.token = card.token;
|
|
83
|
-
this.created_at = card.created_at;
|
|
84
|
-
this.updated_at = card.updated_at;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
class Payment {
|
|
88
|
-
constructor(payment) {
|
|
89
|
-
this.id = payment.id;
|
|
90
|
-
this.account_id = payment.account_id;
|
|
91
|
-
this.currency = payment.currency;
|
|
92
|
-
this.amount = payment.amount;
|
|
93
|
-
this.amount_disputed = payment.amount_disputed;
|
|
94
|
-
this.amount_refundable = payment.amount_refundable;
|
|
95
|
-
this.amount_refunded = payment.amount_refunded;
|
|
96
|
-
this.balance = payment.balance;
|
|
97
|
-
this.captured = payment.captured;
|
|
98
|
-
this.capture_strategy = payment.capture_strategy;
|
|
99
|
-
this.description = payment.description;
|
|
100
|
-
this.disputed = payment.disputed;
|
|
101
|
-
this.disputes = payment.disputes;
|
|
102
|
-
this.error_code = payment.error_code;
|
|
103
|
-
this.error_description = payment.error_description;
|
|
104
|
-
this.expedited = payment.expedited;
|
|
105
|
-
this.fee_amount = payment.fee_amount;
|
|
106
|
-
this.is_test = payment.is_test;
|
|
107
|
-
this.metadata = payment.metadata;
|
|
108
|
-
this.payment_method = new PaymentMethod(payment.payment_method);
|
|
109
|
-
this.payment_intent_id = payment.payment_intent_id;
|
|
110
|
-
this.refunded = payment.refunded;
|
|
111
|
-
this.status = payment.status;
|
|
112
|
-
this.created_at = payment.created_at;
|
|
113
|
-
this.updated_at = payment.updated_at;
|
|
114
|
-
}
|
|
115
|
-
get disputedStatus() {
|
|
116
|
-
const lost = this.disputes.some((dispute) => dispute.status === DisputeStatus.lost);
|
|
117
|
-
// if a dispute is 'won', we don't show a dispute status, just general status
|
|
118
|
-
// TODO: update this logic to work with new DisputeStatus enum
|
|
119
|
-
// (cast 'open' as DisputeStatus in the meantime to keep existing functionality)
|
|
120
|
-
if (!this.disputed) {
|
|
121
|
-
return null;
|
|
122
|
-
}
|
|
123
|
-
else if (lost) {
|
|
124
|
-
return DisputeStatus.lost;
|
|
125
|
-
}
|
|
126
|
-
else {
|
|
127
|
-
return 'open';
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
get payment_type() {
|
|
131
|
-
if (this.payment_method) {
|
|
132
|
-
return this.payment_method.card ? PaymentTypes.card : PaymentTypes.bankAccount;
|
|
133
|
-
}
|
|
134
|
-
else {
|
|
135
|
-
return PaymentTypes.unknown;
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
get payers_name() {
|
|
139
|
-
return this.payment_method.payersName;
|
|
140
|
-
}
|
|
141
|
-
get last_four_digits() {
|
|
142
|
-
return this.payment_method.lastFourDigits;
|
|
143
|
-
}
|
|
144
|
-
formattedPaymentAmount(amount) {
|
|
145
|
-
return formatCurrency(amount, this.currency);
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
export { PaymentMethodTypes as P, Payment as a };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { h } from './index-N3w5zrz2.js';
|
|
2
|
-
import { V as heading3 } from './parts-D3G5aVLy.js';
|
|
3
|
-
|
|
4
|
-
const Header3 = (props) => {
|
|
5
|
-
return h("h3", { class: `header-3 ${props === null || props === void 0 ? void 0 : props.class}`, part: heading3 }, props.text);
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
export { Header3 as H };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { h } from './index-N3w5zrz2.js';
|
|
2
|
-
import { C as heading2 } from './parts-D3G5aVLy.js';
|
|
3
|
-
import { c as createStore } from './index-BAq5IUBW.js';
|
|
4
|
-
|
|
5
|
-
const Header2 = (props) => {
|
|
6
|
-
return h("h2", { class: `header-2 ${props === null || props === void 0 ? void 0 : props.class}`, part: heading2 }, props.text);
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
const insuranceValuesStore = createStore({});
|
|
10
|
-
const { state: insuranceValues, on: insuranceValuesOn } = insuranceValuesStore;
|
|
11
|
-
const insuranceErrorsStore = createStore({});
|
|
12
|
-
const { state: insuranceErrors } = insuranceErrorsStore;
|
|
13
|
-
const validateInsuranceValues = () => {
|
|
14
|
-
let valid = true;
|
|
15
|
-
Object.keys(insuranceValues).forEach((key) => {
|
|
16
|
-
const noSelection = insuranceValues[key] === null;
|
|
17
|
-
if (noSelection) {
|
|
18
|
-
insuranceErrors[key] = true;
|
|
19
|
-
valid = false;
|
|
20
|
-
}
|
|
21
|
-
else {
|
|
22
|
-
insuranceErrors[key] = false;
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
return { isValid: valid };
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
export { Header2 as H, insuranceErrors as a, insuranceValuesOn as b, insuranceValues as i, validateInsuranceValues as v };
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-N3w5zrz2.js';
|
|
2
|
-
import { c as create$3, F as FormController } from './index.esm-BCNUj0Dx.js';
|
|
3
|
-
import { k as postalValidation, l as stateValidation, m as cityValidation, n as lineTwoValidation, q as lineOneValidation, y as identityNameValidation } from './schema-validations-DLWfpHyI.js';
|
|
4
|
-
import { ag as billingForm } from './parts-D3G5aVLy.js';
|
|
5
|
-
import { H as Header3 } from './header-3-Bsi4loU1.js';
|
|
6
|
-
import './event-types-CZfYo5-1.js';
|
|
7
|
-
import './_commonjsHelpers-BFTU3MAI.js';
|
|
8
|
-
import './state-options-BX8GieXu.js';
|
|
9
|
-
import './business-form-options-CgssATyg.js';
|
|
10
|
-
import './Business-BCoP0TAV.js';
|
|
11
|
-
import './helpers-Mu7LQT-w.js';
|
|
12
|
-
|
|
13
|
-
const billingFormSchema = (postalOnly) => {
|
|
14
|
-
const fullBillingForm = create$3({
|
|
15
|
-
name: identityNameValidation.required('Enter full name'),
|
|
16
|
-
address_line1: lineOneValidation.required('Enter street address'),
|
|
17
|
-
address_line2: lineTwoValidation.nullable(),
|
|
18
|
-
address_city: cityValidation.required('Enter city'),
|
|
19
|
-
address_state: stateValidation.required('Select state'),
|
|
20
|
-
address_postal_code: postalValidation.required('Enter postal code'),
|
|
21
|
-
});
|
|
22
|
-
const postalForm = create$3({
|
|
23
|
-
name: identityNameValidation.nullable(),
|
|
24
|
-
address_line1: lineOneValidation.nullable(),
|
|
25
|
-
address_line2: lineTwoValidation.nullable(),
|
|
26
|
-
address_city: cityValidation.nullable(),
|
|
27
|
-
address_state: stateValidation.nullable(),
|
|
28
|
-
address_postal_code: postalValidation.required('Enter postal code'),
|
|
29
|
-
});
|
|
30
|
-
return postalOnly ? postalForm : fullBillingForm;
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
const BillingForm = class {
|
|
34
|
-
constructor(hostRef) {
|
|
35
|
-
registerInstance(this, hostRef);
|
|
36
|
-
this.errors = {};
|
|
37
|
-
this.inputHandler = (name, value) => {
|
|
38
|
-
this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { [name]: value }));
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
componentWillLoad() {
|
|
42
|
-
const postalOnly = this.isPostalOnlyMode;
|
|
43
|
-
this.formController = new FormController(billingFormSchema(postalOnly));
|
|
44
|
-
}
|
|
45
|
-
componentDidLoad() {
|
|
46
|
-
this.formController.values.subscribe(values => this.billingInfo = Object.assign({}, values));
|
|
47
|
-
this.formController.errors.subscribe(errors => {
|
|
48
|
-
this.errors = Object.assign({}, errors);
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
get isPostalOnlyMode() {
|
|
52
|
-
return this.paymentMethodType === 'card' && this.hideCardBillingForm;
|
|
53
|
-
}
|
|
54
|
-
get hideAllBillingFields() {
|
|
55
|
-
return this.paymentMethodType === 'bankAccount' && this.hideBankAccountBillingForm;
|
|
56
|
-
}
|
|
57
|
-
async getValues() {
|
|
58
|
-
return this.formController.values.getValue();
|
|
59
|
-
}
|
|
60
|
-
async fill(fields) {
|
|
61
|
-
this.formController.setInitialValues(fields);
|
|
62
|
-
}
|
|
63
|
-
async validate() {
|
|
64
|
-
const isValid = await this.formController.validate();
|
|
65
|
-
const errors = this.formController.errors.getValue();
|
|
66
|
-
return { isValid, errors };
|
|
67
|
-
}
|
|
68
|
-
render() {
|
|
69
|
-
const showHeader = !this.isPostalOnlyMode && !this.hideAllBillingFields;
|
|
70
|
-
return (h("div", { key: '91beaa8646dd35b12e4ef90ce4cdcb73f1a441b2', part: billingForm, class: "mt-4", hidden: this.hideAllBillingFields }, showHeader && h(Header3, { key: 'ca3c1fbba66828371c2172e0d6c6607b36836b00', text: "Billing address", class: "fs-6 fw-bold lh-lg mb-4" }), this.legend && h("legend", { key: '50f2c5e1f7a7b4f14841a91afb7ad7be79e0f89d' }, this.legend), this.isPostalOnlyMode ? (h("justifi-postal-code-form", null)) : (h("justifi-billing-information-form", null))));
|
|
71
|
-
}
|
|
72
|
-
};
|
|
73
|
-
|
|
74
|
-
export { BillingForm as justifi_billing_form };
|