@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,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { C as CardBrandLabels } from './payment-method-option-utils.js';
|
|
3
|
-
import {
|
|
3
|
+
import { r as radioListItem } from './parts.js';
|
|
4
4
|
import { d as defineCustomElement$3 } from './form-control-help-text2.js';
|
|
5
5
|
import { d as defineCustomElement$2 } from './form-control-radio2.js';
|
|
6
6
|
|
|
@@ -24,7 +24,7 @@ const SavedPaymentMethod = /*@__PURE__*/ proxyCustomElement(class SavedPaymentMe
|
|
|
24
24
|
;
|
|
25
25
|
render() {
|
|
26
26
|
var _a, _b, _c;
|
|
27
|
-
return (h(Host, { key: '
|
|
27
|
+
return (h(Host, { key: '5f69545a8ce1bfb45f043c55a82c8f0b2d316d6f', class: "payment-method" }, h("div", { key: '85970200bf61dedf1916f5564d2b9dfed9012cd7', class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick }, h("form-control-radio", { key: '15ddbf64c39bfe955153b64bc42cf12a1c3147cd', 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}` }))));
|
|
28
28
|
}
|
|
29
29
|
}, [0, "justifi-saved-payment-method", {
|
|
30
30
|
"paymentMethodOption": [16, "payment-method-option"],
|
|
@@ -2,7 +2,6 @@ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/i
|
|
|
2
2
|
import { A as Api } from './Api.js';
|
|
3
3
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Refund.js';
|
|
4
4
|
import './Pagination.js';
|
|
5
|
-
import './Payment.js';
|
|
6
5
|
import './Business.js';
|
|
7
6
|
import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
|
|
8
7
|
import { c as checkPkgVersion, J as JustifiAnalytics } from './Analytics.js';
|
|
@@ -114,7 +113,7 @@ const SeasonInterruptionInsurance = /*@__PURE__*/ proxyCustomElement(class Seaso
|
|
|
114
113
|
this.toggleCoverage = makeToggleCoverage(config);
|
|
115
114
|
}
|
|
116
115
|
render() {
|
|
117
|
-
return (h("justifi-season-interruption-insurance-core", { key: '
|
|
116
|
+
return (h("justifi-season-interruption-insurance-core", { key: '590b2cfe0962ab6778faa21e618f7023fa6b4784', ref: (el) => (this.seasonInterruptionCoreRef = el), "checkout-id": this.checkoutId || checkoutStore.checkoutId, getQuote: this.getQuote, toggleCoverage: this.toggleCoverage, "primary-identity-first-name": this.primaryIdentityFirstName, "primary-identity-last-name": this.primaryIdentityLastName, "primary-identity-state": this.primaryIdentityState, "primary-identity-postal-code": this.primaryIdentityPostalCode, "primary-identity-country": this.primaryIdentityCountry, "primary-identity-email-address": this.primaryIdentityEmailAddress, "policy-attributes-insurable-amount": this.policyAttributesInsurableAmount, "policy-attributes-start-date": this.policyAttributesStartDate, "policy-attributes-end-date": this.policyAttributesEndDate, "covered-identity-first-name": this.coveredIdentityFirstName, "covered-identity-last-name": this.coveredIdentityLastName }));
|
|
118
117
|
}
|
|
119
118
|
}, [0, "justifi-season-interruption-insurance", {
|
|
120
119
|
"authToken": [1, "auth-token"],
|
|
@@ -9,7 +9,7 @@ const JustifiSkeleton$1 = /*@__PURE__*/ proxyCustomElement(class JustifiSkeleton
|
|
|
9
9
|
this.__attachShadow();
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h(StyledHost, { key: '
|
|
12
|
+
return (h(StyledHost, { key: '9928d91672d7ce5854f08d190dc55d8dd1d763e9' }, h(Skeleton, { key: 'eb9bf35e904235d89cb06a2ee4de3edc8e05b12b', component: this.component, height: this.height, width: this.width, className: this.class, styles: this.customStyle })));
|
|
13
13
|
}
|
|
14
14
|
}, [1, "justifi-skeleton", {
|
|
15
15
|
"component": [1],
|
|
@@ -4,11 +4,11 @@ import { ai as terminalOrdersListFilterMenu, aj as orderStatusTerminalOrdersList
|
|
|
4
4
|
import { S as StyledHost } from './styled-host.js';
|
|
5
5
|
import './details.js';
|
|
6
6
|
import './event-types.js';
|
|
7
|
+
import './justifi-radio-list-item2.js';
|
|
7
8
|
import './config-state.js';
|
|
8
|
-
import {
|
|
9
|
-
import { T as TerminalOrderStatus,
|
|
9
|
+
import { h as convertToUTC, e as convertToLocal } from './utils2.js';
|
|
10
|
+
import { T as TerminalOrderStatus, f as TerminalOrderType } from './Refund.js';
|
|
10
11
|
import './Pagination.js';
|
|
11
|
-
import './Payment.js';
|
|
12
12
|
import './Business.js';
|
|
13
13
|
import { d as defineCustomElement$6 } from './custom-popper2.js';
|
|
14
14
|
import { d as defineCustomElement$5 } from './form-control-date2.js';
|
|
@@ -62,8 +62,8 @@ const TerminalOrdersListFilters = /*@__PURE__*/ proxyCustomElement(class Termina
|
|
|
62
62
|
}
|
|
63
63
|
render() {
|
|
64
64
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
65
|
-
return (h(StyledHost, { key: '
|
|
66
|
-
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterTerminalOrdersListFilterParam })), h("div", { key: '
|
|
65
|
+
return (h(StyledHost, { key: '5b9798d42f48005e7422f1ed2c14372fb3837f2b' }, h("table-filters-menu", { key: '84cd025dd2f18a574cead52ab411105794c7c1c1', params: filterMenuParams, clearParams: clearParams, part: terminalOrdersListFilterMenu }, h("div", { key: '6fee37e85fcd2064793436faaff217ae8fddb326', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: 'a69fa9c6f69f75bd200a5629843d268c02595498', class: "p-2" }, h("form-control-select", { key: '03ea6ad955f8a5b31011cf3f7446867b43349ae2', name: "order_status", label: "Order Status", options: this.terminalOrderStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.orderStatus || filterParams.order_status, disabled: !!this.orderStatus, part: orderStatusTerminalOrdersListFilterParam })), h("div", { key: '11b90f152086a43bfcb01f52c8566797884e081d', class: "p-2" }, h("form-control-select", { key: 'bc63d00ea926eafe0f3b02e8ea77e85c44e15cfc', name: "order_type", label: "Order Type", options: this.terminalOrderTypeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.orderType || filterParams.order_type, disabled: !!this.orderType, part: orderTypeTerminalOrdersListFilterParam })), h("div", { key: '0a7c63e637d8f016bf0e08a2c1bdea5a13c0dde1', class: "p-2" }, h("form-control-date", { key: '449666ba9aa6992999356cd7a153c3908787d80b', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
|
|
66
|
+
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterTerminalOrdersListFilterParam })), h("div", { key: '4c02f8c7a0b0eb9b330b1a001838e02a3c4bb007', class: "p-2" }, h("form-control-date", { key: 'faebed4ecb1316d06e54cb3204d03098d2eaf892', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
|
|
67
67
|
convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: createdBeforeTerminalOrdersListFilterParam }))))));
|
|
68
68
|
}
|
|
69
69
|
}, [1, "justifi-terminal-orders-list-filters", {
|
|
@@ -2,13 +2,13 @@ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/i
|
|
|
2
2
|
import { S as StyledHost } from './styled-host.js';
|
|
3
3
|
import './details.js';
|
|
4
4
|
import './event-types.js';
|
|
5
|
+
import './justifi-radio-list-item2.js';
|
|
5
6
|
import { c as checkPkgVersion, J as JustifiAnalytics } from './Analytics.js';
|
|
6
7
|
import { d as defineCustomElement$2, a as defaultColumnsKeys } from './terminal-orders-list-core2.js';
|
|
7
8
|
import './config-state.js';
|
|
8
|
-
import './
|
|
9
|
-
import {
|
|
9
|
+
import './dinero.js';
|
|
10
|
+
import { o as TerminalOrder, C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Refund.js';
|
|
10
11
|
import './Pagination.js';
|
|
11
|
-
import './Payment.js';
|
|
12
12
|
import './Business.js';
|
|
13
13
|
import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
|
|
14
14
|
import { A as Api } from './Api.js';
|
|
@@ -96,7 +96,7 @@ const TerminalOrdersList = /*@__PURE__*/ proxyCustomElement(class TerminalOrders
|
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
render() {
|
|
99
|
-
return (h(StyledHost, { key: '
|
|
99
|
+
return (h(StyledHost, { key: 'e51250fa0af34799ed165080e8d0e1feb31cf6d8' }, h("terminal-orders-list-core", { key: 'b8f7b20bc976805fa522d3f85fe1382f1326381c', getTerminalOrders: this.getTerminalOrders, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
100
100
|
}
|
|
101
101
|
}, [1, "justifi-terminal-orders-list", {
|
|
102
102
|
"accountId": [1, "account-id"],
|
|
@@ -5,11 +5,11 @@ import { an as terminalsListFilterMenu, ao as terminalIdTerminalsListFilterParam
|
|
|
5
5
|
import { S as StyledHost } from './styled-host.js';
|
|
6
6
|
import './details.js';
|
|
7
7
|
import './event-types.js';
|
|
8
|
+
import './justifi-radio-list-item2.js';
|
|
8
9
|
import './config-state.js';
|
|
9
|
-
import './
|
|
10
|
-
import {
|
|
10
|
+
import './dinero.js';
|
|
11
|
+
import { g as ITerminalStatus } from './Refund.js';
|
|
11
12
|
import './Pagination.js';
|
|
12
|
-
import './Payment.js';
|
|
13
13
|
import './Business.js';
|
|
14
14
|
import { d as defineCustomElement$6 } from './custom-popper2.js';
|
|
15
15
|
import { d as defineCustomElement$5 } from './form-control-select2.js';
|
|
@@ -51,7 +51,7 @@ const TerminalsListFilters = /*@__PURE__*/ proxyCustomElement(class TerminalsLis
|
|
|
51
51
|
}
|
|
52
52
|
render() {
|
|
53
53
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
54
|
-
return (h(StyledHost, { key: '
|
|
54
|
+
return (h(StyledHost, { key: '81ef3685f99ca6e33c2facd2bf22f186e54f3250' }, h("table-filters-menu", { key: '97218ed4bf43e21bde0f3ac282d77f584bb042b3', params: filterMenuParams, clearParams: clearParams, part: terminalsListFilterMenu }, h("div", { key: '2f1b8d3d55be6f3448c344a90ababc120723b453', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: 'ab5d8d959bb8541df3bba8e18775fc1ead7cac48', class: "p-2" }, h("form-control-text", { key: '26234bc40edef8e4cc3be2d83e8a9beeb8906eff', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: terminalIdTerminalsListFilterParam })), h("div", { key: '1cd238d705fc3222694e882a5848e4f5caadc254', class: "p-2" }, h("form-control-text", { key: 'a8d17bb259f0003207f16c328eebc0673e8c4377', name: "terminal_order_id", label: "Terminal Order ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalOrderId || filterParams.terminal_order_id, disabled: !!this.terminalOrderId, part: terminalOrderIdTerminalsListFilterParam })), h("div", { key: 'fd1a215f7350a74dedd1eabd2c9ea3daaf72bea5', class: "p-2" }, h("form-control-select", { key: 'a2e14787e232b5415d2d4258e56e8618fd7a43bc', name: "status", label: "Status", options: this.terminalStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.terminalStatus || filterParams.status, disabled: !!this.terminalStatus, part: terminalStatusTerminalsListFilterParam }))))));
|
|
55
55
|
}
|
|
56
56
|
}, [1, "justifi-terminals-list-filters", {
|
|
57
57
|
"terminalId": [1, "terminal-id"],
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { l as Terminal, C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Refund.js';
|
|
3
3
|
import { c as checkPkgVersion, J as JustifiAnalytics } from './Analytics.js';
|
|
4
4
|
import { T as TerminalService } from './terminal.service.js';
|
|
5
5
|
import './config-state.js';
|
|
6
|
-
import './
|
|
6
|
+
import './dinero.js';
|
|
7
7
|
import './Pagination.js';
|
|
8
|
-
import './Payment.js';
|
|
9
8
|
import './Business.js';
|
|
10
9
|
import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
|
|
11
10
|
import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts.js';
|
|
12
11
|
import { S as StyledHost } from './styled-host.js';
|
|
13
12
|
import './details.js';
|
|
14
13
|
import './event-types.js';
|
|
14
|
+
import './justifi-radio-list-item2.js';
|
|
15
15
|
import { d as defineCustomElement$2, a as defaultColumnsKeys } from './terminals-list-core2.js';
|
|
16
16
|
import { d as defineCustomElement$3 } from './pagination-menu2.js';
|
|
17
17
|
|
|
@@ -101,7 +101,7 @@ const TerminalsList = /*@__PURE__*/ proxyCustomElement(class TerminalsList exten
|
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
render() {
|
|
104
|
-
return (h(StyledHost, { key: '
|
|
104
|
+
return (h(StyledHost, { key: 'fe998292778d729620666188320650f3a25c5bda' }, h("terminals-list-core", { key: '94d37a1376da8694c78d6b6dfa20528d5c008e7f', getTerminals: this.getTerminals, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
105
105
|
}
|
|
106
106
|
static get watchers() { return {
|
|
107
107
|
"accountId": ["propChanged"],
|
|
@@ -1,131 +1,395 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
-
import { B as Button } from './button.js';
|
|
3
2
|
import { S as StyledHost } from './styled-host.js';
|
|
4
3
|
import './details.js';
|
|
5
4
|
import './event-types.js';
|
|
5
|
+
import { d as defineCustomElement$3 } from './justifi-radio-list-item2.js';
|
|
6
6
|
import { c as checkPkgVersion, J as JustifiAnalytics } from './Analytics.js';
|
|
7
|
+
import { a as ComponentErrorCodes, c as PaymentMethodTypes, C as ComponentErrorSeverity } from './Refund.js';
|
|
7
8
|
import './config-state.js';
|
|
8
|
-
import './
|
|
9
|
-
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Refund.js';
|
|
9
|
+
import './dinero.js';
|
|
10
10
|
import './Pagination.js';
|
|
11
|
-
import './Payment.js';
|
|
12
11
|
import './Business.js';
|
|
13
12
|
import { c as checkoutStore } from './checkout.store.js';
|
|
14
|
-
import { d as defineCustomElement$
|
|
15
|
-
import { d as defineCustomElement$
|
|
16
|
-
import { d as defineCustomElement$
|
|
17
|
-
import { d as defineCustomElement$
|
|
18
|
-
import { d as defineCustomElement$
|
|
13
|
+
import { d as defineCustomElement$j } from './custom-popper2.js';
|
|
14
|
+
import { d as defineCustomElement$i } from './form-control-checkbox2.js';
|
|
15
|
+
import { d as defineCustomElement$h } from './form-control-help-text2.js';
|
|
16
|
+
import { d as defineCustomElement$g } from './form-control-radio2.js';
|
|
17
|
+
import { d as defineCustomElement$f } from './form-control-select2.js';
|
|
18
|
+
import { d as defineCustomElement$e } from './form-control-text2.js';
|
|
19
|
+
import { d as defineCustomElement$d } from './form-control-tooltip2.js';
|
|
20
|
+
import { d as defineCustomElement$c } from './hidden-input2.js';
|
|
21
|
+
import { d as defineCustomElement$b } from './iframe-input2.js';
|
|
22
|
+
import { d as defineCustomElement$a } from './bank-account.js';
|
|
23
|
+
import { d as defineCustomElement$9 } from './billing-form.js';
|
|
24
|
+
import { d as defineCustomElement$8 } from './billing-information-form.js';
|
|
25
|
+
import { d as defineCustomElement$7 } from './justifi-button2.js';
|
|
26
|
+
import { d as defineCustomElement$6 } from './card-form2.js';
|
|
27
|
+
import { d as defineCustomElement$5 } from './justifi-header2.js';
|
|
28
|
+
import { d as defineCustomElement$4 } from './postal-code-form.js';
|
|
29
|
+
import { d as defineCustomElement$2 } from './save-new-payment-method.js';
|
|
19
30
|
|
|
31
|
+
// Constants
|
|
32
|
+
const PAYMENT_METHOD_TYPE_LABELS = {
|
|
33
|
+
[PaymentMethodTypes.bankAccount]: 'New bank account',
|
|
34
|
+
[PaymentMethodTypes.card]: 'New credit or debit card',
|
|
35
|
+
};
|
|
36
|
+
const ERROR_MESSAGES = {
|
|
37
|
+
AUTH_TOKEN_REQUIRED: 'Auth token is required when using the tokenize-payment-method component not slotted in justifi-modular-checkout',
|
|
38
|
+
ACCOUNT_ID_REQUIRED: 'Account ID is required when using the tokenize-payment-method component not slotted in justifi-modular-checkout',
|
|
39
|
+
FORM_NOT_READY: 'Payment form not ready',
|
|
40
|
+
VALIDATION_ERROR: 'Validation error',
|
|
41
|
+
};
|
|
20
42
|
const TokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class TokenizePaymentMethod extends HTMLElement {
|
|
21
43
|
constructor() {
|
|
22
44
|
super();
|
|
23
45
|
this.__registerHost();
|
|
24
|
-
this.__attachShadow();
|
|
25
46
|
this.errorEvent = createEvent(this, "error-event", 7);
|
|
26
47
|
this.submitEvent = createEvent(this, "submit-event", 7);
|
|
27
|
-
this.submitButtonText = 'Submit';
|
|
28
48
|
this.isLoading = false;
|
|
49
|
+
this.computedHideSubmitButton = false;
|
|
50
|
+
this.submitButtonText = 'Submit';
|
|
29
51
|
}
|
|
30
52
|
componentWillLoad() {
|
|
31
53
|
checkPkgVersion();
|
|
32
54
|
this.analytics = new JustifiAnalytics(this);
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}
|
|
55
|
+
this.validateRequiredProps();
|
|
56
|
+
}
|
|
57
|
+
connectedCallback() {
|
|
58
|
+
this.setDefaultSelectedPaymentMethod();
|
|
59
|
+
this.setComputedHideSubmitButton();
|
|
39
60
|
}
|
|
40
61
|
disconnectedCallback() {
|
|
41
62
|
var _a;
|
|
42
63
|
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
43
64
|
}
|
|
44
|
-
|
|
65
|
+
paymentMethodsChanged() {
|
|
66
|
+
this.setDefaultSelectedPaymentMethod();
|
|
67
|
+
}
|
|
68
|
+
handleRadioClick(event) {
|
|
69
|
+
this.selectedPaymentMethodId = event.detail;
|
|
70
|
+
}
|
|
71
|
+
async fillBillingForm(fields) {
|
|
72
|
+
var _a;
|
|
73
|
+
(_a = this.billingFormRef) === null || _a === void 0 ? void 0 : _a.fill(fields);
|
|
74
|
+
}
|
|
45
75
|
async tokenizePaymentMethod(event) {
|
|
46
|
-
event
|
|
76
|
+
event === null || event === void 0 ? void 0 : event.preventDefault();
|
|
47
77
|
this.isLoading = true;
|
|
48
|
-
let tokenizeResponse;
|
|
49
78
|
try {
|
|
50
|
-
|
|
51
|
-
if (
|
|
79
|
+
const validation = await this.validate();
|
|
80
|
+
if (!validation.isValid) {
|
|
52
81
|
this.errorEvent.emit({
|
|
82
|
+
errorCode: ComponentErrorCodes.TOKENIZE_ERROR,
|
|
83
|
+
message: ERROR_MESSAGES.VALIDATION_ERROR,
|
|
84
|
+
});
|
|
85
|
+
this.isLoading = false;
|
|
86
|
+
return;
|
|
87
|
+
}
|
|
88
|
+
const tokenizeResponse = await this.resolvePaymentMethod({ isValid: true });
|
|
89
|
+
if (tokenizeResponse.error) {
|
|
90
|
+
this.emitError({
|
|
53
91
|
errorCode: tokenizeResponse.error.code,
|
|
54
92
|
message: tokenizeResponse.error.message,
|
|
55
|
-
severity: ComponentErrorSeverity.ERROR,
|
|
56
93
|
});
|
|
57
94
|
}
|
|
95
|
+
this.submitEvent.emit({ response: tokenizeResponse });
|
|
96
|
+
return tokenizeResponse;
|
|
58
97
|
}
|
|
59
98
|
catch (error) {
|
|
60
|
-
const
|
|
99
|
+
const errorResponse = this.createErrorResponse(ComponentErrorCodes.TOKENIZE_ERROR, error.message);
|
|
100
|
+
this.emitError({
|
|
61
101
|
errorCode: ComponentErrorCodes.TOKENIZE_ERROR,
|
|
62
102
|
message: error.message,
|
|
63
|
-
|
|
64
|
-
};
|
|
65
|
-
|
|
103
|
+
});
|
|
104
|
+
this.submitEvent.emit({ response: errorResponse });
|
|
105
|
+
return errorResponse;
|
|
66
106
|
}
|
|
67
107
|
finally {
|
|
68
|
-
this.submitEvent.emit({ response: tokenizeResponse });
|
|
69
108
|
this.isLoading = false;
|
|
70
|
-
return tokenizeResponse;
|
|
71
109
|
}
|
|
72
110
|
}
|
|
73
|
-
async fillBillingForm(fields) {
|
|
74
|
-
this.paymentMethodOptionsRef.fillBillingForm(fields);
|
|
75
|
-
}
|
|
76
111
|
async validate() {
|
|
77
|
-
|
|
112
|
+
if (!this.areFormsReady()) {
|
|
113
|
+
return { isValid: false, errors: { general: ERROR_MESSAGES.FORM_NOT_READY } };
|
|
114
|
+
}
|
|
115
|
+
const [billingValidation, paymentMethodValidation] = await Promise.all([
|
|
116
|
+
this.billingFormRef.validate(),
|
|
117
|
+
this.paymentMethodFormRef.validate(),
|
|
118
|
+
]);
|
|
119
|
+
return {
|
|
120
|
+
isValid: billingValidation.isValid && paymentMethodValidation.isValid,
|
|
121
|
+
errors: Object.assign(Object.assign({}, billingValidation.errors), paymentMethodValidation.errors),
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
validateRequiredProps() {
|
|
125
|
+
if (!this.authToken && !checkoutStore.authToken) {
|
|
126
|
+
this.emitError({
|
|
127
|
+
errorCode: ComponentErrorCodes.TOKENIZE_ERROR,
|
|
128
|
+
message: ERROR_MESSAGES.AUTH_TOKEN_REQUIRED,
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
if (!this.accountId && !checkoutStore.accountId) {
|
|
132
|
+
this.emitError({
|
|
133
|
+
errorCode: ComponentErrorCodes.TOKENIZE_ERROR,
|
|
134
|
+
message: ERROR_MESSAGES.ACCOUNT_ID_REQUIRED,
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
setDefaultSelectedPaymentMethod() {
|
|
139
|
+
if (!this.selectedPaymentMethodId) {
|
|
140
|
+
if (!this.disableCreditCard) {
|
|
141
|
+
this.selectedPaymentMethodId = PaymentMethodTypes.card;
|
|
142
|
+
}
|
|
143
|
+
else if (!this.disableBankAccount) {
|
|
144
|
+
this.selectedPaymentMethodId = PaymentMethodTypes.bankAccount;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
setComputedHideSubmitButton() {
|
|
149
|
+
// If hideSubmitButton prop is explicitly set, use that value
|
|
150
|
+
if (this.hideSubmitButton !== undefined) {
|
|
151
|
+
this.computedHideSubmitButton = this.hideSubmitButton;
|
|
152
|
+
return;
|
|
153
|
+
}
|
|
154
|
+
// Otherwise, auto-detect if component is slotted within modular-checkout
|
|
155
|
+
const isWithinModularCheckout = this.isSlottedWithinModularCheckout();
|
|
156
|
+
this.computedHideSubmitButton = isWithinModularCheckout;
|
|
157
|
+
}
|
|
158
|
+
isSlottedWithinModularCheckout() {
|
|
159
|
+
var _a;
|
|
160
|
+
let parent = (_a = this.host) === null || _a === void 0 ? void 0 : _a.parentElement;
|
|
161
|
+
while (parent) {
|
|
162
|
+
if (parent.tagName === 'JUSTIFI-MODULAR-CHECKOUT') {
|
|
163
|
+
return true;
|
|
164
|
+
}
|
|
165
|
+
parent = parent.parentElement;
|
|
166
|
+
}
|
|
167
|
+
return false;
|
|
168
|
+
}
|
|
169
|
+
get availablePaymentMethods() {
|
|
170
|
+
const methods = [];
|
|
171
|
+
if (!this.disableCreditCard) {
|
|
172
|
+
methods.push(PaymentMethodTypes.card);
|
|
173
|
+
}
|
|
174
|
+
if (!this.disableBankAccount) {
|
|
175
|
+
methods.push(PaymentMethodTypes.bankAccount);
|
|
176
|
+
}
|
|
177
|
+
return methods;
|
|
178
|
+
}
|
|
179
|
+
areFormsReady() {
|
|
180
|
+
return !!(this.billingFormRef && this.paymentMethodFormRef);
|
|
181
|
+
}
|
|
182
|
+
emitError(errorData) {
|
|
183
|
+
this.errorEvent.emit(Object.assign(Object.assign({}, errorData), { severity: ComponentErrorSeverity.ERROR }));
|
|
184
|
+
}
|
|
185
|
+
createErrorResponse(code, message) {
|
|
186
|
+
return {
|
|
187
|
+
error: {
|
|
188
|
+
code: code,
|
|
189
|
+
message,
|
|
190
|
+
decline_code: undefined,
|
|
191
|
+
},
|
|
192
|
+
};
|
|
193
|
+
}
|
|
194
|
+
async resolvePaymentMethod(insuranceValidation) {
|
|
195
|
+
if (!this.areFormsReady()) {
|
|
196
|
+
return this.createErrorResponse('form_not_ready', ERROR_MESSAGES.FORM_NOT_READY);
|
|
197
|
+
}
|
|
198
|
+
try {
|
|
199
|
+
const validation = await this.validate();
|
|
200
|
+
if (!validation.isValid || !insuranceValidation.isValid) {
|
|
201
|
+
const errorMessage = Object.values(validation.errors)[0] || ERROR_MESSAGES.VALIDATION_ERROR;
|
|
202
|
+
return {
|
|
203
|
+
validationError: true,
|
|
204
|
+
error: {
|
|
205
|
+
code: 'validation_error',
|
|
206
|
+
message: String(errorMessage),
|
|
207
|
+
decline_code: undefined,
|
|
208
|
+
},
|
|
209
|
+
};
|
|
210
|
+
}
|
|
211
|
+
return await this.performTokenization();
|
|
212
|
+
}
|
|
213
|
+
catch (error) {
|
|
214
|
+
return { error };
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
async performTokenization() {
|
|
218
|
+
var _a, _b;
|
|
219
|
+
const tokenizeResponse = await this.tokenize();
|
|
220
|
+
if (tokenizeResponse.error) {
|
|
221
|
+
return { error: tokenizeResponse.error };
|
|
222
|
+
}
|
|
223
|
+
const tokenizeResponseData = tokenizeResponse.data;
|
|
224
|
+
return {
|
|
225
|
+
token: ((_a = tokenizeResponseData.card) === null || _a === void 0 ? void 0 : _a.token) || ((_b = tokenizeResponseData.bank_account) === null || _b === void 0 ? void 0 : _b.token),
|
|
226
|
+
data: tokenizeResponseData,
|
|
227
|
+
};
|
|
228
|
+
}
|
|
229
|
+
async tokenize() {
|
|
230
|
+
try {
|
|
231
|
+
const billingFormFieldValues = await this.billingFormRef.getValues();
|
|
232
|
+
const config = {
|
|
233
|
+
clientId: this.authToken || checkoutStore.authToken,
|
|
234
|
+
account: this.accountId || checkoutStore.accountId,
|
|
235
|
+
paymentMethodMetadata: this.buildPaymentMethodMetadata(billingFormFieldValues),
|
|
236
|
+
};
|
|
237
|
+
return await this.paymentMethodFormRef.tokenize(config);
|
|
238
|
+
}
|
|
239
|
+
catch (error) {
|
|
240
|
+
return error;
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
buildPaymentMethodMetadata(billingFormFieldValues) {
|
|
244
|
+
return this.shouldSavePaymentMethod
|
|
245
|
+
? Object.assign(Object.assign({}, billingFormFieldValues), { payment_method_group_id: this.paymentMethodGroupID }) : Object.assign({}, billingFormFieldValues);
|
|
246
|
+
}
|
|
247
|
+
get paymentMethodGroupID() {
|
|
248
|
+
return this.paymentMethodGroupId || checkoutStore.paymentMethodGroupId;
|
|
249
|
+
}
|
|
250
|
+
get shouldSavePaymentMethod() {
|
|
251
|
+
return !!(this.paymentMethodGroupId || checkoutStore.savePaymentMethod);
|
|
252
|
+
}
|
|
253
|
+
get shouldHideRadioInput() {
|
|
254
|
+
const showCard = !this.disableCreditCard;
|
|
255
|
+
const showAch = !this.disableBankAccount;
|
|
256
|
+
return !showAch || !showCard;
|
|
257
|
+
}
|
|
258
|
+
renderPaymentMethodOption(paymentMethodType) {
|
|
259
|
+
const isSelected = this.selectedPaymentMethodId === paymentMethodType;
|
|
260
|
+
return (h("div", { class: "payment-method" }, h("justifi-radio-list-item", { name: "paymentMethodType", value: paymentMethodType, checked: isSelected, label: PAYMENT_METHOD_TYPE_LABELS[paymentMethodType], hidden: this.shouldHideRadioInput }), isSelected && this.renderSelectedPaymentMethodForm(paymentMethodType)));
|
|
261
|
+
}
|
|
262
|
+
renderSelectedPaymentMethodForm(paymentMethodId) {
|
|
263
|
+
return (h("div", { class: "mt-4 pb-4" }, this.renderPaymentMethodForm(paymentMethodId), h("justifi-billing-form", { ref: (el) => (this.billingFormRef = el), hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, paymentMethodType: paymentMethodId }), h("justifi-save-new-payment-method", { hidden: !this.paymentMethodGroupID })));
|
|
264
|
+
}
|
|
265
|
+
renderPaymentMethodForm(paymentMethodId) {
|
|
266
|
+
return paymentMethodId === PaymentMethodTypes.card ? (h("justifi-card-form", { ref: (el) => (this.paymentMethodFormRef = el) })) : (h("justifi-bank-account-form", { ref: (el) => (this.paymentMethodFormRef = el) }));
|
|
78
267
|
}
|
|
79
268
|
render() {
|
|
80
|
-
return (h(StyledHost, { key: '
|
|
269
|
+
return (h(StyledHost, { key: 'b8cf3e66f93bf1b1dd2c3116781ddf0168cbd4e7' }, h("form", { key: '70ad04762a32e930b6b96c2d8609577cd5d1e8d6' }, h("fieldset", { key: 'f7a7d53512b3d034999b18b666381c2df04f082b' }, h("div", { key: '6e5be958e583399ac733aefe4ddf935f5aec98df', class: "row gy-3" }, h("div", { key: '2d81034d2d95532a18bef58cdd1635b1d3b1d735', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), h("div", { key: 'a791aac6520c187fd336012d97c976ece891edeb', class: "col-12" }, h("justifi-button", { key: '9ff1733b1811fea31b1e4dc41694db4eb40be14c', text: this.submitButtonText, variant: "primary", type: "submit", clickHandler: (e) => this.tokenizePaymentMethod(e), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.computedHideSubmitButton })))))));
|
|
81
270
|
}
|
|
82
|
-
|
|
83
|
-
|
|
271
|
+
get host() { return this; }
|
|
272
|
+
static get watchers() { return {
|
|
273
|
+
"disableCreditCard": ["paymentMethodsChanged"],
|
|
274
|
+
"disableBankAccount": ["paymentMethodsChanged"]
|
|
275
|
+
}; }
|
|
276
|
+
}, [0, "justifi-tokenize-payment-method", {
|
|
84
277
|
"accountId": [1, "account-id"],
|
|
85
|
-
"
|
|
86
|
-
"submitButtonText": [1, "submit-button-text"],
|
|
87
|
-
"disableCreditCard": [4, "disable-credit-card"],
|
|
278
|
+
"authToken": [1, "auth-token"],
|
|
88
279
|
"disableBankAccount": [4, "disable-bank-account"],
|
|
89
|
-
"
|
|
90
|
-
"hideCardBillingForm": [4, "hide-card-billing-form"],
|
|
280
|
+
"disableCreditCard": [4, "disable-credit-card"],
|
|
91
281
|
"hideBankAccountBillingForm": [4, "hide-bank-account-billing-form"],
|
|
282
|
+
"hideCardBillingForm": [4, "hide-card-billing-form"],
|
|
283
|
+
"hideSubmitButton": [4, "hide-submit-button"],
|
|
284
|
+
"paymentMethodGroupId": [1, "payment-method-group-id"],
|
|
285
|
+
"submitButtonText": [1, "submit-button-text"],
|
|
92
286
|
"isLoading": [32],
|
|
93
|
-
"
|
|
287
|
+
"selectedPaymentMethodId": [32],
|
|
288
|
+
"computedHideSubmitButton": [32],
|
|
94
289
|
"fillBillingForm": [64],
|
|
290
|
+
"tokenizePaymentMethod": [64],
|
|
95
291
|
"validate": [64]
|
|
292
|
+
}, [[0, "radio-click", "handleRadioClick"]], {
|
|
293
|
+
"disableCreditCard": ["paymentMethodsChanged"],
|
|
294
|
+
"disableBankAccount": ["paymentMethodsChanged"]
|
|
96
295
|
}]);
|
|
97
296
|
function defineCustomElement$1() {
|
|
98
297
|
if (typeof customElements === "undefined") {
|
|
99
298
|
return;
|
|
100
299
|
}
|
|
101
|
-
const components = ["justifi-tokenize-payment-method", "form-control-help-text", "form-control-radio", "justifi-
|
|
300
|
+
const components = ["justifi-tokenize-payment-method", "custom-popper", "form-control-checkbox", "form-control-help-text", "form-control-radio", "form-control-select", "form-control-text", "form-control-tooltip", "hidden-input", "iframe-input", "justifi-bank-account-form", "justifi-billing-form", "justifi-billing-information-form", "justifi-button", "justifi-card-form", "justifi-header", "justifi-postal-code-form", "justifi-radio-list-item", "justifi-save-new-payment-method"];
|
|
102
301
|
components.forEach(tagName => { switch (tagName) {
|
|
103
302
|
case "justifi-tokenize-payment-method":
|
|
104
303
|
if (!customElements.get(tagName)) {
|
|
105
304
|
customElements.define(tagName, TokenizePaymentMethod);
|
|
106
305
|
}
|
|
107
306
|
break;
|
|
307
|
+
case "custom-popper":
|
|
308
|
+
if (!customElements.get(tagName)) {
|
|
309
|
+
defineCustomElement$j();
|
|
310
|
+
}
|
|
311
|
+
break;
|
|
312
|
+
case "form-control-checkbox":
|
|
313
|
+
if (!customElements.get(tagName)) {
|
|
314
|
+
defineCustomElement$i();
|
|
315
|
+
}
|
|
316
|
+
break;
|
|
108
317
|
case "form-control-help-text":
|
|
109
318
|
if (!customElements.get(tagName)) {
|
|
110
|
-
defineCustomElement$
|
|
319
|
+
defineCustomElement$h();
|
|
111
320
|
}
|
|
112
321
|
break;
|
|
113
322
|
case "form-control-radio":
|
|
323
|
+
if (!customElements.get(tagName)) {
|
|
324
|
+
defineCustomElement$g();
|
|
325
|
+
}
|
|
326
|
+
break;
|
|
327
|
+
case "form-control-select":
|
|
328
|
+
if (!customElements.get(tagName)) {
|
|
329
|
+
defineCustomElement$f();
|
|
330
|
+
}
|
|
331
|
+
break;
|
|
332
|
+
case "form-control-text":
|
|
333
|
+
if (!customElements.get(tagName)) {
|
|
334
|
+
defineCustomElement$e();
|
|
335
|
+
}
|
|
336
|
+
break;
|
|
337
|
+
case "form-control-tooltip":
|
|
338
|
+
if (!customElements.get(tagName)) {
|
|
339
|
+
defineCustomElement$d();
|
|
340
|
+
}
|
|
341
|
+
break;
|
|
342
|
+
case "hidden-input":
|
|
343
|
+
if (!customElements.get(tagName)) {
|
|
344
|
+
defineCustomElement$c();
|
|
345
|
+
}
|
|
346
|
+
break;
|
|
347
|
+
case "iframe-input":
|
|
348
|
+
if (!customElements.get(tagName)) {
|
|
349
|
+
defineCustomElement$b();
|
|
350
|
+
}
|
|
351
|
+
break;
|
|
352
|
+
case "justifi-bank-account-form":
|
|
353
|
+
if (!customElements.get(tagName)) {
|
|
354
|
+
defineCustomElement$a();
|
|
355
|
+
}
|
|
356
|
+
break;
|
|
357
|
+
case "justifi-billing-form":
|
|
358
|
+
if (!customElements.get(tagName)) {
|
|
359
|
+
defineCustomElement$9();
|
|
360
|
+
}
|
|
361
|
+
break;
|
|
362
|
+
case "justifi-billing-information-form":
|
|
363
|
+
if (!customElements.get(tagName)) {
|
|
364
|
+
defineCustomElement$8();
|
|
365
|
+
}
|
|
366
|
+
break;
|
|
367
|
+
case "justifi-button":
|
|
368
|
+
if (!customElements.get(tagName)) {
|
|
369
|
+
defineCustomElement$7();
|
|
370
|
+
}
|
|
371
|
+
break;
|
|
372
|
+
case "justifi-card-form":
|
|
373
|
+
if (!customElements.get(tagName)) {
|
|
374
|
+
defineCustomElement$6();
|
|
375
|
+
}
|
|
376
|
+
break;
|
|
377
|
+
case "justifi-header":
|
|
114
378
|
if (!customElements.get(tagName)) {
|
|
115
379
|
defineCustomElement$5();
|
|
116
380
|
}
|
|
117
381
|
break;
|
|
118
|
-
case "justifi-
|
|
382
|
+
case "justifi-postal-code-form":
|
|
119
383
|
if (!customElements.get(tagName)) {
|
|
120
384
|
defineCustomElement$4();
|
|
121
385
|
}
|
|
122
386
|
break;
|
|
123
|
-
case "justifi-
|
|
387
|
+
case "justifi-radio-list-item":
|
|
124
388
|
if (!customElements.get(tagName)) {
|
|
125
389
|
defineCustomElement$3();
|
|
126
390
|
}
|
|
127
391
|
break;
|
|
128
|
-
case "justifi-
|
|
392
|
+
case "justifi-save-new-payment-method":
|
|
129
393
|
if (!customElements.get(tagName)) {
|
|
130
394
|
defineCustomElement$2();
|
|
131
395
|
}
|
|
@@ -45,7 +45,7 @@ const LegalAddressFormStep = /*@__PURE__*/ proxyCustomElement(class LegalAddress
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
|
-
return (h("justifi-legal-address-form-step-core", { key: '
|
|
48
|
+
return (h("justifi-legal-address-form-step-core", { key: 'bd286476461181f2e8a435a97bf148d55876b49c', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
|
|
49
49
|
}
|
|
50
50
|
static get watchers() { return {
|
|
51
51
|
"authToken": ["propChanged"],
|