@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,65 +1,36 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-D5bL1DOi.js');
|
|
4
|
-
var styledHost = require('./styled-host-DXNHOiqW.js');
|
|
5
|
-
var button = require('./button-0HYMPryx.js');
|
|
6
4
|
var parts = require('./parts-9jMf1erK.js');
|
|
7
|
-
var utils = require('./utils-
|
|
8
|
-
var checkout_store = require('./checkout.store
|
|
5
|
+
var utils = require('./utils-DqlrBltg.js');
|
|
6
|
+
var checkout_store = require('./checkout.store-B58bewb_.js');
|
|
7
|
+
var styledHost = require('./styled-host-DXNHOiqW.js');
|
|
9
8
|
require('./event-types-YOY5TKUN.js');
|
|
10
|
-
var
|
|
11
|
-
var insuranceState = require('./insurance-state-BsGy_svD.js');
|
|
12
|
-
var header3 = require('./header-3-BnKbOjvz.js');
|
|
13
|
-
var checkPkgVersion = require('./check-pkg-version-DmONJMn1.js');
|
|
9
|
+
var checkPkgVersion = require('./check-pkg-version-Bp51QhAR.js');
|
|
14
10
|
require('./config-state-Dz9bnWHg.js');
|
|
15
|
-
|
|
16
|
-
require('./
|
|
11
|
+
require('./dinero-J-SRFKIR.js');
|
|
12
|
+
var ComponentError = require('./ComponentError-D4OLnOkg.js');
|
|
13
|
+
var Refund = require('./Refund-08OcZkXX.js');
|
|
17
14
|
require('./Pagination-Dediz133.js');
|
|
18
|
-
require('./Payment-D5UynU2f.js');
|
|
19
15
|
require('./Business-DCRzZf0w.js');
|
|
20
16
|
require('./Dispute-CruQTF6_.js');
|
|
21
|
-
var utils$1 = require('./utils-
|
|
22
|
-
var checkout_service = require('./checkout.service-
|
|
23
|
-
require('./
|
|
17
|
+
var utils$1 = require('./utils-DvUQQLmR.js');
|
|
18
|
+
var checkout_service = require('./checkout.service-BBD6v0cl.js');
|
|
19
|
+
var insuranceState = require('./insurance-state-B3CYpJWi.js');
|
|
20
|
+
var paymentMethodOptionUtils = require('./payment-method-option-utils-QODgEWhU.js');
|
|
24
21
|
require('./index-BCtVWU61.js');
|
|
25
|
-
require('./package-
|
|
26
|
-
require('./Api-
|
|
22
|
+
require('./package-BMSb1ui9.js');
|
|
23
|
+
require('./Api-eP0XeJLd.js');
|
|
24
|
+
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
27
25
|
require('./helpers-B5OCqlIM.js');
|
|
28
26
|
require('./state-options-CIT9xdTz.js');
|
|
29
27
|
|
|
30
|
-
const JustifiButton = class {
|
|
31
|
-
constructor(hostRef) {
|
|
32
|
-
index.registerInstance(this, hostRef);
|
|
33
|
-
this.variant = 'primary';
|
|
34
|
-
this.type = 'button';
|
|
35
|
-
}
|
|
36
|
-
render() {
|
|
37
|
-
return (index.h(styledHost.StyledHost, { key: 'e921657ff4c5aae07184ba6560a0f42b1e908643' }, index.h(button.Button, { key: '837cad8384e8d0e2e81d329beb4693ebb15b7d59', variant: this.variant, isLoading: this.isLoading, clickHandler: this.clickHandler, class: this.class, type: this.type, disabled: this.disabled, style: this.customStyle }, this.text)));
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
|
|
41
28
|
const Summary = class {
|
|
42
29
|
constructor(hostRef) {
|
|
43
30
|
index.registerInstance(this, hostRef);
|
|
44
31
|
}
|
|
45
32
|
render() {
|
|
46
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
const Header = class {
|
|
51
|
-
constructor(hostRef) {
|
|
52
|
-
index.registerInstance(this, hostRef);
|
|
53
|
-
this.levels = {
|
|
54
|
-
h1: header1.Header1,
|
|
55
|
-
h2: insuranceState.Header2,
|
|
56
|
-
h3: header3.Header3,
|
|
57
|
-
};
|
|
58
|
-
this.level = 'h1';
|
|
59
|
-
}
|
|
60
|
-
render() {
|
|
61
|
-
const HeaderComponent = this.levels[this.level];
|
|
62
|
-
return (index.h(styledHost.StyledHost, { key: '1aa6a2f69da4f32ddfaae58c751134b4a8bd20b9' }, index.h(HeaderComponent, { key: 'f2877d1ef32662ab1a17a993d80366df01120a00', text: this.text, class: this.class })));
|
|
33
|
+
return (index.h(styledHost.StyledHost, { key: 'fe4584497faaf589819dd60c5310eb427518d8c6' }, index.h("section", { key: 'ca55b0c0feea790e13ac680b955e64565633e7bd' }, index.h("div", { key: 'ae82878dc9010db77bc564e4ba1cc8fc6c04e7f2' }, index.h("div", { key: 'daf8a8514879d64d3463b5394e61b19cf8445fb9', part: parts.text }, checkout_store.checkoutStore === null || checkout_store.checkoutStore === void 0 ? void 0 : checkout_store.checkoutStore.paymentDescription), index.h("div", { key: '44845dca1b6cb8d814c48279c03bc6694175e7a1' }, index.h("span", { key: 'eebc881d4693cab79fa25edb7563979c21d049a3', part: parts.text }, "Total"), "\u00A0", index.h("span", { key: 'fbf572ba41fb575aa83c1f56d35a294e0855dc9c', part: parts.text }, utils.formatCurrency(+(checkout_store.checkoutStore === null || checkout_store.checkoutStore === void 0 ? void 0 : checkout_store.checkoutStore.totalAmount))))))));
|
|
63
34
|
}
|
|
64
35
|
};
|
|
65
36
|
|
|
@@ -95,7 +66,8 @@ const makeCheckoutComplete = ({ authToken, checkoutId, service }) => async ({ pa
|
|
|
95
66
|
try {
|
|
96
67
|
const response = await service.complete(authToken, checkoutId, payment);
|
|
97
68
|
if (!response.error) {
|
|
98
|
-
|
|
69
|
+
const checkout = response.data;
|
|
70
|
+
onSuccess({ checkout });
|
|
99
71
|
}
|
|
100
72
|
else {
|
|
101
73
|
const responseError = utils$1.getErrorMessage(response.error);
|
|
@@ -117,7 +89,7 @@ const makeCheckoutComplete = ({ authToken, checkoutId, service }) => async ({ pa
|
|
|
117
89
|
}
|
|
118
90
|
};
|
|
119
91
|
|
|
120
|
-
const
|
|
92
|
+
const ModularCheckout = class {
|
|
121
93
|
constructor(hostRef) {
|
|
122
94
|
index.registerInstance(this, hostRef);
|
|
123
95
|
this.errorEvent = index.createEvent(this, "error-event");
|
|
@@ -125,6 +97,9 @@ const CheckoutWrapper = class {
|
|
|
125
97
|
this.paymentMethodChangedEvent = index.createEvent(this, "payment-method-changed");
|
|
126
98
|
this.savePaymentMethod = false;
|
|
127
99
|
}
|
|
100
|
+
savePaymentMethodChanged(newValue) {
|
|
101
|
+
checkout_store.checkoutStore.savePaymentMethod = newValue;
|
|
102
|
+
}
|
|
128
103
|
connectedCallback() {
|
|
129
104
|
this.observer = new MutationObserver(() => {
|
|
130
105
|
this.queryFormRefs();
|
|
@@ -146,14 +121,23 @@ const CheckoutWrapper = class {
|
|
|
146
121
|
});
|
|
147
122
|
}
|
|
148
123
|
componentWillLoad() {
|
|
124
|
+
if (!this.authToken || !this.checkoutId) {
|
|
125
|
+
this.errorEvent.emit({
|
|
126
|
+
message: ComponentError.ComponentErrorMessages.NOT_AUTHENTICATED,
|
|
127
|
+
errorCode: ComponentError.ComponentErrorCodes.NOT_AUTHENTICATED,
|
|
128
|
+
severity: ComponentError.ComponentErrorSeverity.ERROR,
|
|
129
|
+
});
|
|
130
|
+
return;
|
|
131
|
+
}
|
|
149
132
|
this.analytics = new checkPkgVersion.JustifiAnalytics(this);
|
|
150
133
|
checkPkgVersion.checkPkgVersion();
|
|
151
134
|
checkout_store.checkoutStore.authToken = this.authToken;
|
|
135
|
+
checkout_store.checkoutStore.savePaymentMethod = this.savePaymentMethod;
|
|
152
136
|
this.fetchCheckout();
|
|
153
|
-
// Refresh the checkout data when insurance
|
|
137
|
+
// Refresh the checkout data when insurance values actually change (not on initial load)
|
|
154
138
|
insuranceState.insuranceValuesOn('set', (key) => {
|
|
155
139
|
const value = insuranceState.insuranceValues[key];
|
|
156
|
-
if (value !== undefined) {
|
|
140
|
+
if (value !== undefined && insuranceState.hasInsuranceValueChanged(key, value)) {
|
|
157
141
|
this.fetchCheckout();
|
|
158
142
|
}
|
|
159
143
|
});
|
|
@@ -169,6 +153,22 @@ const CheckoutWrapper = class {
|
|
|
169
153
|
if (this.getCheckout) {
|
|
170
154
|
this.getCheckout({
|
|
171
155
|
onSuccess: ({ checkout }) => {
|
|
156
|
+
if (checkout.status === Refund.ICheckoutStatus.completed) {
|
|
157
|
+
this.errorEvent.emit({
|
|
158
|
+
message: ComponentError.ComponentErrorMessages.CHECKOUT_ALREADY_COMPLETED,
|
|
159
|
+
errorCode: ComponentError.ComponentErrorCodes.CHECKOUT_ALREADY_COMPLETED,
|
|
160
|
+
severity: ComponentError.ComponentErrorSeverity.ERROR,
|
|
161
|
+
});
|
|
162
|
+
return;
|
|
163
|
+
}
|
|
164
|
+
else if (checkout.status === Refund.ICheckoutStatus.expired) {
|
|
165
|
+
this.errorEvent.emit({
|
|
166
|
+
message: ComponentError.ComponentErrorMessages.CHECKOUT_EXPIRED,
|
|
167
|
+
errorCode: ComponentError.ComponentErrorCodes.CHECKOUT_EXPIRED,
|
|
168
|
+
severity: ComponentError.ComponentErrorSeverity.ERROR,
|
|
169
|
+
});
|
|
170
|
+
return;
|
|
171
|
+
}
|
|
172
172
|
this.updateStore(checkout);
|
|
173
173
|
},
|
|
174
174
|
onError: (error) => {
|
|
@@ -202,14 +202,14 @@ const CheckoutWrapper = class {
|
|
|
202
202
|
this.sezzlePaymentMethodRef = this.hostEl.querySelector('justifi-sezzle-payment-method');
|
|
203
203
|
}
|
|
204
204
|
async tokenizePaymentMethod(tokenizeArgs) {
|
|
205
|
-
var _a, _b;
|
|
205
|
+
var _a, _b, _c;
|
|
206
206
|
const billingInfoValues = (_b = await ((_a = this.billingInformationFormRef) === null || _a === void 0 ? void 0 : _a.getValues())) !== null && _b !== void 0 ? _b : {};
|
|
207
207
|
const combinedBillingInfo = Object.assign(Object.assign({}, tokenizeArgs), billingInfoValues);
|
|
208
208
|
const paymentMethodMetadata = Object.assign({ accountId: checkout_store.checkoutStore.accountId, payment_method_group_id: undefined }, combinedBillingInfo);
|
|
209
|
-
if (
|
|
209
|
+
if (checkout_store.checkoutStore.savePaymentMethod) {
|
|
210
210
|
paymentMethodMetadata.payment_method_group_id = checkout_store.checkoutStore.paymentMethodGroupId;
|
|
211
211
|
}
|
|
212
|
-
return this.paymentMethodFormRef.tokenize({
|
|
212
|
+
return (_c = this.paymentMethodFormRef) === null || _c === void 0 ? void 0 : _c.tokenize({
|
|
213
213
|
clientId: this.authToken,
|
|
214
214
|
paymentMethodMetadata,
|
|
215
215
|
account: checkout_store.checkoutStore.accountId,
|
|
@@ -308,9 +308,115 @@ const CheckoutWrapper = class {
|
|
|
308
308
|
checkout_store.checkoutStore.selectedPaymentMethod = paymentMethodId;
|
|
309
309
|
}
|
|
310
310
|
render() {
|
|
311
|
-
return (index.h(index.Host, { key: '
|
|
311
|
+
return (index.h(index.Host, { key: '6b18f4f77b736f984ac15f168cc51b74c3927225' }));
|
|
312
312
|
}
|
|
313
313
|
get hostEl() { return index.getElement(this); }
|
|
314
|
+
static get watchers() { return {
|
|
315
|
+
"savePaymentMethod": ["savePaymentMethodChanged"]
|
|
316
|
+
}; }
|
|
317
|
+
};
|
|
318
|
+
|
|
319
|
+
const SavedPaymentMethods = class {
|
|
320
|
+
constructor(hostRef) {
|
|
321
|
+
index.registerInstance(this, hostRef);
|
|
322
|
+
this.onPaymentMethodOptionClick = (paymentMethodId) => (e) => {
|
|
323
|
+
e.preventDefault();
|
|
324
|
+
checkout_store.checkoutStore.selectedPaymentMethod = paymentMethodId;
|
|
325
|
+
};
|
|
326
|
+
this.isAllowedPaymentMethod = (paymentMethod) => {
|
|
327
|
+
if (paymentMethod.type === 'card' && checkout_store.checkoutStore.disableCreditCard) {
|
|
328
|
+
return false;
|
|
329
|
+
}
|
|
330
|
+
if (paymentMethod.type === 'bank_account' && checkout_store.checkoutStore.disableBankAccount) {
|
|
331
|
+
return false;
|
|
332
|
+
}
|
|
333
|
+
return true;
|
|
334
|
+
};
|
|
335
|
+
}
|
|
336
|
+
componentWillLoad() {
|
|
337
|
+
if (!checkout_store.checkoutStore.paymentMethods.length) {
|
|
338
|
+
console.warn('No saved payment methods available.');
|
|
339
|
+
}
|
|
340
|
+
if (checkout_store.checkoutStore.disablePaymentMethodGroup) {
|
|
341
|
+
console.warn('Payment method group is disabled.');
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
render() {
|
|
345
|
+
if (checkout_store.checkoutStore.disablePaymentMethodGroup) {
|
|
346
|
+
return null;
|
|
347
|
+
}
|
|
348
|
+
return (index.h(styledHost.StyledHost, null, index.h("div", { class: "saved-payment-methods" }, checkout_store.checkoutStore.paymentMethods.length ? checkout_store.checkoutStore.paymentMethods
|
|
349
|
+
.filter(this.isAllowedPaymentMethod)
|
|
350
|
+
.map((paymentMethod) => (index.h("div", { class: "radio-list-item p-3", part: parts.radioListItem, onClick: this.onPaymentMethodOptionClick(paymentMethod === null || paymentMethod === void 0 ? void 0 : paymentMethod.id) }, index.h("form-control-radio", { name: "paymentMethodType", value: paymentMethod === null || paymentMethod === void 0 ? void 0 : paymentMethod.id, checked: checkout_store.checkoutStore.selectedPaymentMethod === (paymentMethod === null || paymentMethod === void 0 ? void 0 : paymentMethod.id), label: `${paymentMethodOptionUtils.CardBrandLabels[paymentMethod === null || paymentMethod === void 0 ? void 0 : paymentMethod.brand] || ''} *${paymentMethod === null || paymentMethod === void 0 ? void 0 : paymentMethod.acct_last_four}` })))) : null)));
|
|
351
|
+
}
|
|
352
|
+
};
|
|
353
|
+
|
|
354
|
+
const sezzleLogo = (index.h("img", { class: "sezzle-smart-button-logo-img", src: "https://media.sezzle.com/branding/2.0/Sezzle_Logo_FullColor.svg", alt: "Sezzle", style: {
|
|
355
|
+
display: 'inline',
|
|
356
|
+
width: '80px',
|
|
357
|
+
marginLeft: '5px',
|
|
358
|
+
marginTop: '-5px',
|
|
359
|
+
} }));
|
|
360
|
+
const SezzlePaymentMethod = class {
|
|
361
|
+
constructor(hostRef) {
|
|
362
|
+
index.registerInstance(this, hostRef);
|
|
363
|
+
this.paymentMethodOptionSelected = index.createEvent(this, "paymentMethodOptionSelected");
|
|
364
|
+
this.paymentMethodOptionId = 'sezzle';
|
|
365
|
+
this.onPaymentMethodOptionClick = (e) => {
|
|
366
|
+
e.preventDefault();
|
|
367
|
+
checkout_store.checkoutStore.selectedPaymentMethod = this.paymentMethodOptionId;
|
|
368
|
+
this.paymentMethodOptionSelected.emit(this.paymentMethodOptionId);
|
|
369
|
+
};
|
|
370
|
+
this.initializeSezzleCheckout = () => {
|
|
371
|
+
let resolveSezzlePromise;
|
|
372
|
+
this.sezzlePromise = new Promise((resolve) => { resolveSezzlePromise = resolve; });
|
|
373
|
+
const amount = Number(checkout_store.checkoutStore.paymentAmount);
|
|
374
|
+
const Checkout = window.Checkout;
|
|
375
|
+
const checkout = new Checkout({
|
|
376
|
+
mode: 'popup',
|
|
377
|
+
publicKey: checkout_store.checkoutStore.bnplProviderClientId,
|
|
378
|
+
apiMode: checkout_store.checkoutStore.bnplProviderMode,
|
|
379
|
+
apiVersion: checkout_store.checkoutStore.bnplProviderApiVersion,
|
|
380
|
+
});
|
|
381
|
+
checkout.sezzleButtonElement = this.sezzleButtonRef;
|
|
382
|
+
checkout.init({
|
|
383
|
+
onClick: function (event) {
|
|
384
|
+
event.preventDefault();
|
|
385
|
+
checkout.startCheckout({
|
|
386
|
+
checkout_url: checkout_store.checkoutStore.bnplProviderCheckoutUrl,
|
|
387
|
+
});
|
|
388
|
+
},
|
|
389
|
+
onComplete: (event) => resolveSezzlePromise({ bnpl: event.data }),
|
|
390
|
+
onCancel: (event) => resolveSezzlePromise({ bnpl: event.data }),
|
|
391
|
+
onFailure: (event) => resolveSezzlePromise({ bnpl: event.data }),
|
|
392
|
+
});
|
|
393
|
+
this.sezzleCheckout = checkout;
|
|
394
|
+
this.installmentPlan = this.sezzleCheckout.getInstallmentPlan(amount);
|
|
395
|
+
};
|
|
396
|
+
}
|
|
397
|
+
componentDidRender() {
|
|
398
|
+
if (!this.scriptRef)
|
|
399
|
+
return;
|
|
400
|
+
this.scriptRef.onload = () => {
|
|
401
|
+
this.sezzleButtonRef = document.createElement('button');
|
|
402
|
+
this.initializeSezzleCheckout();
|
|
403
|
+
};
|
|
404
|
+
}
|
|
405
|
+
async resolvePaymentMethod(insuranceValidation) {
|
|
406
|
+
if (!insuranceValidation.isValid) {
|
|
407
|
+
return { validationError: true };
|
|
408
|
+
}
|
|
409
|
+
this.sezzleButtonRef.click();
|
|
410
|
+
return this.sezzlePromise;
|
|
411
|
+
}
|
|
412
|
+
render() {
|
|
413
|
+
var _a, _b;
|
|
414
|
+
if (!checkout_store.checkoutStore.bnplEnabled || checkout_store.checkoutStore.disableBnpl) {
|
|
415
|
+
console.warn('justifi-sezzle-payment-method: BNPL is not enabled for this account.');
|
|
416
|
+
return null;
|
|
417
|
+
}
|
|
418
|
+
return (index.h(styledHost.StyledHost, { class: "payment-method" }, index.h("script", { src: "https://checkout-sdk.sezzle.com/checkout.min.js", async: true, ref: (el) => (this.scriptRef = el) }), index.h("div", { class: "radio-list-item p-3", part: parts.radioListItem, onClick: this.onPaymentMethodOptionClick }, index.h("form-control-radio", { name: "paymentMethodType", value: this.paymentMethodOptionId, checked: checkout_store.checkoutStore.selectedPaymentMethod === this.paymentMethodOptionId, label: index.h("div", null, index.h("div", null, "Buy now, pay later with ", sezzleLogo), this.installmentPlan && (index.h("small", null, index.h("span", null, (_a = this.installmentPlan) === null || _a === void 0 ? void 0 : _a.installments.length), "\u00A0", index.h("span", null, this.installmentPlan.schedule, " payments of"), "\u00A0", index.h("span", { class: "fw-bold" }, utils.formatCurrency((_b = this.installmentPlan) === null || _b === void 0 ? void 0 : _b.installments[0].amountInCents))))) }))));
|
|
419
|
+
}
|
|
314
420
|
};
|
|
315
421
|
|
|
316
422
|
const PaymentMethodOption = class {
|
|
@@ -318,12 +424,12 @@ const PaymentMethodOption = class {
|
|
|
318
424
|
index.registerInstance(this, hostRef);
|
|
319
425
|
}
|
|
320
426
|
render() {
|
|
321
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
427
|
+
return (index.h(styledHost.StyledHost, { key: '8d4bc7222b08e71511017ef1292360f491de05c0', class: "payment-method" }, index.h("div", { key: '0c9efd8f33e07dfc7261010ee5d4ad96302ae36b', class: "radio-list-item p-3", part: parts.radioListItem, onClick: this.clickHandler, hidden: this.radioButtonHidden }, index.h("form-control-radio", { key: 'c87f7caa8f2770d784d7efc002762f6beb5f1896', name: "paymentMethodType", value: this.paymentMethodOptionId, checked: this.isSelected, label: this.label }))));
|
|
322
428
|
}
|
|
323
429
|
};
|
|
324
430
|
|
|
325
|
-
exports.justifi_button = JustifiButton;
|
|
326
431
|
exports.justifi_checkout_summary = Summary;
|
|
327
|
-
exports.
|
|
328
|
-
exports.
|
|
432
|
+
exports.justifi_modular_checkout = ModularCheckout;
|
|
433
|
+
exports.justifi_saved_payment_methods = SavedPaymentMethods;
|
|
434
|
+
exports.justifi_sezzle_payment_method = SezzlePaymentMethod;
|
|
329
435
|
exports.payment_method_option = PaymentMethodOption;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-D5bL1DOi.js');
|
|
4
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
5
|
-
var checkout_store = require('./checkout.store
|
|
4
|
+
var checkPkgVersion = require('./check-pkg-version-Bp51QhAR.js');
|
|
5
|
+
var checkout_store = require('./checkout.store-B58bewb_.js');
|
|
6
6
|
var parts = require('./parts-9jMf1erK.js');
|
|
7
|
-
var
|
|
7
|
+
var Refund = require('./Refund-08OcZkXX.js');
|
|
8
8
|
var styledHost = require('./styled-host-DXNHOiqW.js');
|
|
9
9
|
require('./event-types-YOY5TKUN.js');
|
|
10
|
-
require('./package-
|
|
11
|
-
require('./Api-
|
|
10
|
+
require('./package-BMSb1ui9.js');
|
|
11
|
+
require('./Api-eP0XeJLd.js');
|
|
12
12
|
require('./config-state-Dz9bnWHg.js');
|
|
13
13
|
require('./index-BCtVWU61.js');
|
|
14
|
-
require('./utils-
|
|
14
|
+
require('./utils-DqlrBltg.js');
|
|
15
|
+
require('./dinero-J-SRFKIR.js');
|
|
15
16
|
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
16
|
-
require('./ComponentError-
|
|
17
|
-
require('./Refund-Dt1CMUjx.js');
|
|
17
|
+
require('./ComponentError-D4OLnOkg.js');
|
|
18
18
|
require('./Pagination-Dediz133.js');
|
|
19
19
|
require('./Business-DCRzZf0w.js');
|
|
20
20
|
require('./helpers-B5OCqlIM.js');
|
|
@@ -92,23 +92,23 @@ const Checkout = class {
|
|
|
92
92
|
this.modularCheckoutRef.submitCheckout(checkout_store.checkoutStore.billingFormFields);
|
|
93
93
|
}
|
|
94
94
|
get canSavePaymentMethod() {
|
|
95
|
-
return checkout_store.checkoutStore.selectedPaymentMethod ===
|
|
95
|
+
return checkout_store.checkoutStore.selectedPaymentMethod === Refund.PaymentMethodTypes.card || checkout_store.checkoutStore.selectedPaymentMethod === Refund.PaymentMethodTypes.bankAccount;
|
|
96
96
|
}
|
|
97
97
|
get showBillingForm() {
|
|
98
|
-
return (checkout_store.checkoutStore.selectedPaymentMethod ===
|
|
99
|
-
|| (checkout_store.checkoutStore.selectedPaymentMethod ===
|
|
98
|
+
return (checkout_store.checkoutStore.selectedPaymentMethod === Refund.PaymentMethodTypes.card && !this.hideCardBillingForm)
|
|
99
|
+
|| (checkout_store.checkoutStore.selectedPaymentMethod === Refund.PaymentMethodTypes.bankAccount && !this.hideBankAccountBillingForm);
|
|
100
100
|
}
|
|
101
101
|
get showBillingFormSection() {
|
|
102
|
-
return checkout_store.checkoutStore.selectedPaymentMethod ===
|
|
102
|
+
return checkout_store.checkoutStore.selectedPaymentMethod === Refund.PaymentMethodTypes.card || checkout_store.checkoutStore.selectedPaymentMethod === Refund.PaymentMethodTypes.bankAccount;
|
|
103
103
|
}
|
|
104
104
|
get showPaymentTypeHeader() {
|
|
105
105
|
return !this.disableCreditCard && !this.disableBankAccount;
|
|
106
106
|
}
|
|
107
107
|
get showPostalCodeForm() {
|
|
108
|
-
return checkout_store.checkoutStore.selectedPaymentMethod ===
|
|
108
|
+
return checkout_store.checkoutStore.selectedPaymentMethod === Refund.PaymentMethodTypes.card && this.hideCardBillingForm;
|
|
109
109
|
}
|
|
110
110
|
render() {
|
|
111
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
111
|
+
return (index.h(styledHost.StyledHost, { key: '66b064eb09a9d14357b5f67ed6cb06a315e28cd3' }, index.h("justifi-modular-checkout", { key: '0c175af8ee77ba66a6c9e6e338f8e148485e1a44', ref: (el) => (this.modularCheckoutRef = el), authToken: this.authToken, checkoutId: this.checkoutId, savePaymentMethod: this.canSavePaymentMethod && this.savePaymentMethod }, index.h("div", { key: '27a831604928bae01d8a4f056065cf4bb22ed078', class: "row gy-3 jfi-checkout-core" }, index.h("div", { key: '42f396148f51c83fcfb6af8385bfeaa0809c80b4', class: "col-12", part: parts.checkoutSummary }, index.h("justifi-header", { key: '4fdee03c9f6c2d8cb125cf00e7774486f748024b', text: "Summary", level: "h2", class: "fs-5 fw-bold pb-3" }), index.h("section", { key: '9dd9f8f49c714d915d33f4767196cb31912fe2d4' }, index.h("justifi-checkout-summary", { key: 'ab3a241477367ace71894a89cdb8df6b02b6a475' }))), index.h("div", { key: '2fcfa4852da6ab570999e00c900a38ce3f7b22d6', class: "col-12 mt-4" }, index.h("slot", { key: '0d8990a3c78a59cfad5b31de02d885dd85bdff3b', name: "insurance" })), index.h("div", { key: '02bcacf6467c99b50b61cd46c4393d2f21ac7f30', class: "col-12 mt-4" }, index.h("justifi-header", { key: 'f6c88155bcd68d4c76dd1c6d812cb3bf96556454', text: "Payment", level: "h2", class: "fs-5 fw-bold pb-3" }), this.showPaymentTypeHeader && (index.h("justifi-header", { key: 'dfc55a62398f0baeb3eef4d934644f68cc8483b9', text: "Select payment type", level: "h3", class: "fs-6 fw-bold lh-lg" })), index.h("div", { key: '3bfdf78062b252b9fc53f63e3248966cd4bd6513', class: "d-flex flex-column" }, index.h("section", { key: '5f51a590d33ae9074314df4a5808fa4355c3711f' }, index.h("div", { key: '048568eb658167dcb267a406d11e9672539e5454' }, index.h("justifi-saved-payment-methods", { key: '150ba48b60bd5818a6fd2004ed1d3b0571050221' }), index.h("justifi-sezzle-payment-method", { key: 'c959ccbba4683f37706daa889eaa60d0a371d682' }), !this.disableCreditCard && (index.h("div", { key: '412255d8cf36a0e3669680e09ca77d5efedf7969' }, index.h("payment-method-option", { key: '9aaaecfd5880a7de93e6f3c986e12f2e63407674', paymentMethodOptionId: Refund.PaymentMethodTypes.card, isSelected: checkout_store.checkoutStore.selectedPaymentMethod === Refund.PaymentMethodTypes.card, clickHandler: () => { checkout_store.checkoutStore.selectedPaymentMethod = Refund.PaymentMethodTypes.card; }, radioButtonHidden: this.disableCreditCard, label: PaymentMethodTypeLabels[Refund.PaymentMethodTypes.card] }), checkout_store.checkoutStore.selectedPaymentMethod === Refund.PaymentMethodTypes.card && (index.h("div", { key: '4fefd1eb74d9c6ba17a1d01fe59ab3334bf8bdac', class: "mt-4 mb-4" }, index.h("justifi-card-form", { key: '6c78f67bce200b47201220a528fb289861761727' }))))), !this.disableBankAccount && (index.h("div", { key: 'c5b97b68abaf8fa754b9f12e08a1b68c85b4c852' }, index.h("payment-method-option", { key: '24c013b3e317d26c9c7b961c0b0a87f2f94949f2', paymentMethodOptionId: Refund.PaymentMethodTypes.bankAccount, isSelected: checkout_store.checkoutStore.selectedPaymentMethod === Refund.PaymentMethodTypes.bankAccount, clickHandler: () => { checkout_store.checkoutStore.selectedPaymentMethod = Refund.PaymentMethodTypes.bankAccount; }, radioButtonHidden: this.disableBankAccount, label: PaymentMethodTypeLabels[Refund.PaymentMethodTypes.bankAccount] }), checkout_store.checkoutStore.selectedPaymentMethod === Refund.PaymentMethodTypes.bankAccount && (index.h("div", { key: 'b61b75f7e449b1217357bdaddfbfcf37d863612f', class: "mt-4 mb-4" }, index.h("justifi-bank-account-form", { key: 'e6d182d60e1b308f76b4364c9a757c7ca59debf2' }))))))))), this.showBillingFormSection && (index.h("div", { key: '71ea650fdb37ff7227b4f8027a54f74c8bf8a575', class: "col-12 mt-4" }, this.showBillingForm && (index.h("justifi-header", { key: 'f36db4e0d6d008d924ada83a83899377e46ece90', text: "Billing Address", level: "h2", class: "fs-5 fw-bold pb-3" })), this.showPostalCodeForm && (index.h("justifi-postal-code-form", { key: '19005f53df4bd597ccf6484d662d7d230a8a7b83' })), this.showBillingForm && (index.h("justifi-billing-information-form", { key: 'e5f501833f7aef3c603d18b29b21c39f990e8ef1' })))), index.h("div", { key: '828ba958634f58c641a5f6e3a848993d03e4aba0', class: "col-12" }, this.canSavePaymentMethod && (index.h("justifi-save-new-payment-method", { key: 'e94caf3d77e0299008e6a0bbf6852347eaa02ebf' }))), index.h("div", { key: '8436468192642a3f20f82b390e5ec53c4dc951bf', class: "mt-4" }, index.h("justifi-button", { key: '981448c550a72eb1aa936d785912729a1d788cac', text: "Pay", type: "submit", variant: "primary", clickHandler: (e) => this.submit(e), disabled: this.isSubmitting, isLoading: this.isSubmitting, customStyle: { width: '100%', textAlign: "center" } }))))));
|
|
112
112
|
}
|
|
113
113
|
static get watchers() { return {
|
|
114
114
|
"authToken": ["propChanged"],
|
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./index-D5bL1DOi.js');
|
|
4
4
|
require('./config-state-Dz9bnWHg.js');
|
|
5
|
-
require('./
|
|
6
|
-
require('./ComponentError-
|
|
7
|
-
var Refund = require('./Refund-
|
|
5
|
+
require('./dinero-J-SRFKIR.js');
|
|
6
|
+
require('./ComponentError-D4OLnOkg.js');
|
|
7
|
+
var Refund = require('./Refund-08OcZkXX.js');
|
|
8
8
|
require('./Pagination-Dediz133.js');
|
|
9
|
-
require('./Payment-D5UynU2f.js');
|
|
10
9
|
require('./Business-DCRzZf0w.js');
|
|
11
10
|
require('./Dispute-CruQTF6_.js');
|
|
12
11
|
var checkoutsListParamsState = require('./checkouts-list-params-state-DZUKBmLC.js');
|
|
@@ -15,6 +14,7 @@ var styledHost = require('./styled-host-DXNHOiqW.js');
|
|
|
15
14
|
require('./event-types-YOY5TKUN.js');
|
|
16
15
|
require('./index-BCtVWU61.js');
|
|
17
16
|
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
17
|
+
require('./utils-DqlrBltg.js');
|
|
18
18
|
require('./helpers-B5OCqlIM.js');
|
|
19
19
|
require('./state-options-CIT9xdTz.js');
|
|
20
20
|
|
|
@@ -54,7 +54,7 @@ const CheckoutsListFilters = class {
|
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
56
56
|
const filterMenuParams = Object.assign({}, checkoutsListParamsState.filterParams);
|
|
57
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
57
|
+
return (index.h(styledHost.StyledHost, { key: 'd025c4862f0245938f09ea574379b262252a4e7e' }, index.h("table-filters-menu", { key: 'acd9800c723d7e956ee237e1d7944e58d5c4f332', params: filterMenuParams, clearParams: checkoutsListParamsState.clearParams, part: parts.checkoutsListFilterMenu }, index.h("div", { key: '453749cdaa376a051dbf1acdbedfa625a0c77c5c', class: "grid-cols-2 gap-3 p-1" }, index.h("div", { key: '8b83f81027c68ef9b47623ea66dc471aecf28ac4', class: "p-2" }, index.h("form-control-select", { key: '74e2548e0f96d63978e6fffe58ae1ca32b5fd4ee', name: "status", label: "Status", options: this.checkoutStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.checkoutStatus || checkoutsListParamsState.filterParams.status, disabled: !!this.checkoutStatus, part: parts.statusCheckoutsListFilterParam })), index.h("div", { key: 'ea1fe571e4cc2ae9e2d2a62d7205e27fa1c7dc3f', class: "p-2" }, index.h("form-control-select", { key: 'e948b0e57ab03d31c32a036c24f1a29a45b5a90c', name: "payment_mode", label: "Payment Mode", options: this.checkoutPaymentModeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentMode || checkoutsListParamsState.filterParams.payment_mode, disabled: !!this.paymentMode, part: parts.paymentModeCheckoutsListFilterParam }))))));
|
|
58
58
|
}
|
|
59
59
|
};
|
|
60
60
|
|
|
@@ -2,26 +2,26 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./index-D5bL1DOi.js');
|
|
4
4
|
require('./config-state-Dz9bnWHg.js');
|
|
5
|
-
require('./
|
|
6
|
-
var ComponentError = require('./ComponentError-
|
|
7
|
-
var Refund = require('./Refund-
|
|
5
|
+
require('./dinero-J-SRFKIR.js');
|
|
6
|
+
var ComponentError = require('./ComponentError-D4OLnOkg.js');
|
|
7
|
+
var Refund = require('./Refund-08OcZkXX.js');
|
|
8
8
|
require('./Pagination-Dediz133.js');
|
|
9
|
-
require('./Payment-D5UynU2f.js');
|
|
10
9
|
require('./Business-DCRzZf0w.js');
|
|
11
10
|
require('./Dispute-CruQTF6_.js');
|
|
12
|
-
var utils = require('./utils-
|
|
13
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
14
|
-
var checkout_service = require('./checkout.service-
|
|
15
|
-
var getSubaccounts = require('./get-subaccounts-
|
|
11
|
+
var utils = require('./utils-DvUQQLmR.js');
|
|
12
|
+
var checkPkgVersion = require('./check-pkg-version-Bp51QhAR.js');
|
|
13
|
+
var checkout_service = require('./checkout.service-BBD6v0cl.js');
|
|
14
|
+
var getSubaccounts = require('./get-subaccounts-CtelAONX.js');
|
|
16
15
|
var styledHost = require('./styled-host-DXNHOiqW.js');
|
|
17
16
|
require('./event-types-YOY5TKUN.js');
|
|
18
|
-
var checkoutsTable = require('./checkouts-table-
|
|
17
|
+
var checkoutsTable = require('./checkouts-table-Cp7rNkNd.js');
|
|
19
18
|
require('./index-BCtVWU61.js');
|
|
20
19
|
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
20
|
+
require('./utils-DqlrBltg.js');
|
|
21
21
|
require('./helpers-B5OCqlIM.js');
|
|
22
22
|
require('./state-options-CIT9xdTz.js');
|
|
23
|
-
require('./package-
|
|
24
|
-
require('./Api-
|
|
23
|
+
require('./package-BMSb1ui9.js');
|
|
24
|
+
require('./Api-eP0XeJLd.js');
|
|
25
25
|
require('./badge-DDksduwk.js');
|
|
26
26
|
require('./parts-9jMf1erK.js');
|
|
27
27
|
|
|
@@ -109,7 +109,7 @@ const CheckoutsList = class {
|
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
render() {
|
|
112
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
112
|
+
return (index.h(styledHost.StyledHost, { key: '073b7fb919a3f4d008a81cc7e13fb8ad72fed26c' }, index.h("checkouts-list-core", { key: '232229d4af023570ac261fda6df120a9451304cf', getCheckouts: this.getCheckouts, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
113
113
|
}
|
|
114
114
|
static get watchers() { return {
|
|
115
115
|
"accountId": ["propChanged"],
|
|
@@ -51,7 +51,7 @@ const DisputeManagementCore = class {
|
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
|
-
return (index.h("div", { key: '
|
|
54
|
+
return (index.h("div", { key: 'bb50db485b666c8a69826d3ccdccb19e1defff7f' }, this.showDisputeResponseForm ? (index.h("justifi-dispute-response", { disputeId: this.disputeId, disputeResponse: this.dispute.dispute_response, authToken: this.authToken })) : (index.h("justifi-dispute-notification", { dispute: this.dispute, authToken: this.authToken, isLoading: this.isLoading }))));
|
|
55
55
|
}
|
|
56
56
|
static get watchers() { return {
|
|
57
57
|
"getDispute": ["updateOnPropChange"]
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-D5bL1DOi.js');
|
|
4
|
-
var ComponentError = require('./ComponentError-
|
|
5
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
4
|
+
var ComponentError = require('./ComponentError-D4OLnOkg.js');
|
|
5
|
+
var checkPkgVersion = require('./check-pkg-version-Bp51QhAR.js');
|
|
6
6
|
var Dispute = require('./Dispute-CruQTF6_.js');
|
|
7
|
-
var utils = require('./utils-
|
|
8
|
-
var dispute_service = require('./dispute.service-
|
|
9
|
-
require('./package-
|
|
10
|
-
require('./Api-
|
|
7
|
+
var utils = require('./utils-DvUQQLmR.js');
|
|
8
|
+
var dispute_service = require('./dispute.service-BHApwZdH.js');
|
|
9
|
+
require('./package-BMSb1ui9.js');
|
|
10
|
+
require('./Api-eP0XeJLd.js');
|
|
11
11
|
require('./config-state-Dz9bnWHg.js');
|
|
12
12
|
require('./index-BCtVWU61.js');
|
|
13
|
-
require('./utils-
|
|
13
|
+
require('./utils-DqlrBltg.js');
|
|
14
|
+
require('./dinero-J-SRFKIR.js');
|
|
14
15
|
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
15
|
-
require('./Refund-
|
|
16
|
+
require('./Refund-08OcZkXX.js');
|
|
16
17
|
require('./Pagination-Dediz133.js');
|
|
17
|
-
require('./Payment-D5UynU2f.js');
|
|
18
18
|
require('./Business-DCRzZf0w.js');
|
|
19
19
|
require('./helpers-B5OCqlIM.js');
|
|
20
20
|
require('./state-options-CIT9xdTz.js');
|
|
@@ -89,7 +89,7 @@ const DisputeManagement = class {
|
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
render() {
|
|
92
|
-
return (index.h("justifi-dispute-management-core", { key: '
|
|
92
|
+
return (index.h("justifi-dispute-management-core", { key: 'b1139bacd020b346ffe8953489c972ae7bf35076', getDispute: this.getDispute, disputeId: this.disputeId, authToken: this.authToken, "onError-event": this.handleErrorEvent }));
|
|
93
93
|
}
|
|
94
94
|
static get watchers() { return {
|
|
95
95
|
"disputeId": ["propChanged"],
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-D5bL1DOi.js');
|
|
4
|
-
var utils$1 = require('./utils-
|
|
4
|
+
var utils$1 = require('./utils-DqlrBltg.js');
|
|
5
5
|
var parts = require('./parts-9jMf1erK.js');
|
|
6
6
|
var button = require('./button-0HYMPryx.js');
|
|
7
7
|
var styledHost = require('./styled-host-DXNHOiqW.js');
|
|
8
8
|
var skeleton = require('./skeleton-CbZBGO47.js');
|
|
9
9
|
require('./event-types-YOY5TKUN.js');
|
|
10
|
-
var ComponentError = require('./ComponentError-
|
|
11
|
-
var utils = require('./utils-
|
|
12
|
-
var dispute_service = require('./dispute.service-
|
|
10
|
+
var ComponentError = require('./ComponentError-D4OLnOkg.js');
|
|
11
|
+
var utils = require('./utils-DvUQQLmR.js');
|
|
12
|
+
var dispute_service = require('./dispute.service-BHApwZdH.js');
|
|
13
13
|
var eventTypes = require('./event-types-BWQT2lwu.js');
|
|
14
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
14
|
+
var checkPkgVersion = require('./check-pkg-version-Bp51QhAR.js');
|
|
15
|
+
require('./dinero-J-SRFKIR.js');
|
|
15
16
|
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
16
|
-
require('./Api-
|
|
17
|
+
require('./Api-eP0XeJLd.js');
|
|
17
18
|
require('./config-state-Dz9bnWHg.js');
|
|
18
19
|
require('./index-BCtVWU61.js');
|
|
19
|
-
require('./Refund-
|
|
20
|
-
require('./Pagination-Dediz133.js');
|
|
21
|
-
require('./Payment-D5UynU2f.js');
|
|
20
|
+
require('./Refund-08OcZkXX.js');
|
|
22
21
|
require('./Dispute-CruQTF6_.js');
|
|
22
|
+
require('./Pagination-Dediz133.js');
|
|
23
23
|
require('./Business-DCRzZf0w.js');
|
|
24
24
|
require('./helpers-B5OCqlIM.js');
|
|
25
25
|
require('./state-options-CIT9xdTz.js');
|
|
26
|
-
require('./package-
|
|
26
|
+
require('./package-BMSb1ui9.js');
|
|
27
27
|
|
|
28
28
|
const makeUpdateDisputeResponse = ({ authToken, disputeId, service }) => async ({ payload, onSuccess, onError, final = () => { } }) => {
|
|
29
29
|
var _a;
|
|
@@ -144,7 +144,7 @@ const DisputeNotification = class {
|
|
|
144
144
|
}
|
|
145
145
|
render() {
|
|
146
146
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
147
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
147
|
+
return (index.h(styledHost.StyledHost, { key: 'b2fe02d9cc805d8bd9a9a7c7e24aa447bb506368' }, this.isLoading && (index.h("div", { key: '3e8b6996ba3bd3b6cee9ff6aa40de111d63d6e49', style: { marginBottom: '8px' } }, index.h(skeleton.Skeleton, { key: 'a9b5a6b69637c1fcff54d0d057a9c1d555b05333', height: '28px', width: '70%', styles: { marginBottom: '16px' } }), index.h(skeleton.Skeleton, { key: '771b72567728b6ffcc3dd393a9c7e289ffb49939', height: '18px', styles: { marginBottom: '8px' } }), index.h(skeleton.Skeleton, { key: '10bbcae1a4bd006394a71ad9d93ba2c2ab00174c', height: '18px', styles: { marginBottom: '8px' } }))), ((_a = this.dispute) === null || _a === void 0 ? void 0 : _a.needsResponse) && (index.h("div", { key: '4c34718dfa9622a045c3d7ee5c45415b87ba43d2', part: parts.text }, index.h("h1", { key: '6df61476d7e98b819722ecfd94eb74b25b1165b8', class: "h4", part: parts.heading4 }, "This payment is disputed"), index.h("p", { key: '3274dd90180201005e0c281c18bea8e794c1fae6' }, "The cardholder is disputing this payment. You may accept this dispute, or proceed to provide evidence in a counter dispute."), index.h("h2", { key: '0498b48e2a1f1ca5bc0f660ee5e515fea03cb171', class: "h5" }, "Dispute details"), index.h("div", { key: '65307411698be9a095eebfe5d8783c211b41d174', class: "d-table gap-2" }, index.h("div", { key: '64363e176ce32bcbdc670f73e07548893946aedd', class: "d-table-row gap-2" }, index.h("span", { key: '20bfe036e146209037512e63abe1c6c9c6996384', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Amount"), index.h("span", { key: '7bc3b39608079b9627047e50d5d534b0722a85cd', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, utils$1.formatCurrency((_b = this.dispute) === null || _b === void 0 ? void 0 : _b.amount))), index.h("div", { key: '9fe0319d887d357f1db48ea0fea0234d183b837e', class: "d-table-row gap-2" }, index.h("span", { key: 'dfb7291c466865477e2f3e91aca16d4e8b0b388f', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Reason"), index.h("span", { key: '08a88fdf4888617b3bb6812dee8d0e3b3067b9fa', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_c = this.dispute) === null || _c === void 0 ? void 0 : _c.reason)), index.h("div", { key: 'e8ed2895586fa7c4d95bc074099d2ef1c84c662d', class: "d-table-row gap-2" }, index.h("span", { key: '2776f7600495b448feec656e078c02935d564074', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Dispute ID"), index.h("span", { key: 'd6122984a16b4eae7b1ee6aed85d43364ab14097', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_d = this.dispute) === null || _d === void 0 ? void 0 : _d.id))), index.h("div", { key: '66ffc380b6703cc0d6e5e1dc36969471eff5888a', class: "d-flex gap-2 mt-4 justify-content-end" }, index.h(button.Button, { key: '733d1bad942cab95915f9ec95a394db669501251', variant: "secondary", onClick: () => this.acceptDispute() }, "Accept dispute"), index.h(button.Button, { key: '37b2245252ec8e44ee1e2d16244a37915bf233e7', variant: "primary", onClick: () => this.initiateRespondToDispute() }, "Counter dispute")))), ((_e = this.dispute) === null || _e === void 0 ? void 0 : _e.underReview) && (index.h("div", { key: 'ce261f2fffe22a31a8342dd4bfca31da31853ae2' }, index.h("h1", { key: '2005fa90f8ca5c53cd4f3835a0ce5b6a02e7d88b', class: "h4" }, "This payment is disputed and under review"), index.h("p", { key: '37b92daa4a6efa2d1b8d38722b4cb34292145407' }, "The cardholder is disputing this payment. A counter dispute has been submitted and is under review."))), ((_f = this.dispute) === null || _f === void 0 ? void 0 : _f.won) && (index.h("div", { key: '71e849f41c4fb6594818f89a4a8358289396c121' }, index.h("h1", { key: '4a06746430e79e0117ce7bb7e6997f7c606ebad5', class: "h4" }, "This payment was disputed"), index.h("p", { key: 'e72309f0d54c499c5cb9fca1e088c95b6b341a80' }, "The cardholder disputed this payment and the card issuer has settled it in your favor."))), ((_g = this.dispute) === null || _g === void 0 ? void 0 : _g.lost) && (index.h("div", { key: 'ca1aae552813c4d6d7d952e512f8c8bfd5815957' }, index.h("h1", { key: '1d7644c907dbcdafc010ad5f44570306669f3f25', class: "h4" }, "This payment was disputed"), index.h("p", { key: '2b69366146a32a2005789d07c8af8ce4158148c3' }, "The cardholder disputed this payment and the card issuer has settled it in their favor.")))));
|
|
148
148
|
}
|
|
149
149
|
};
|
|
150
150
|
|
|
@@ -200,7 +200,7 @@ const DisputeResponse = class {
|
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
202
|
render() {
|
|
203
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
203
|
+
return (index.h(styledHost.StyledHost, { key: '757f300705d786610e958ecd2e574ec6294eb3a2' }, index.h("justifi-dispute-response-core", { key: 'c451a27a530b06072829dff517d85d2f0afd65ae', "onError-event": this.handleErrorEvent, "dispute-id": this.disputeId, disputeResponse: this.disputeResponse, createDisputeEvidence: this.createDisputeEvidence, updateDisputeResponse: this.updateDisputeResponse, submitDisputeResponse: this.submitDisputeResponse })));
|
|
204
204
|
}
|
|
205
205
|
;
|
|
206
206
|
static get watchers() { return {
|
|
@@ -368,7 +368,7 @@ const DisputeResponseCore = class {
|
|
|
368
368
|
return this.currentStep === 0;
|
|
369
369
|
}
|
|
370
370
|
render() {
|
|
371
|
-
return (index.h("div", { key: '
|
|
371
|
+
return (index.h("div", { key: '3f00a6b94c956c235145b6b5a91a097867ca00ef', class: "row gy-3" }, index.h("div", { key: '7bc1bcda8f5748999359a5286f69bddec6d92bc6', class: "col-12" }, index.h("h1", { key: '0b9ab07a2b421f9a61662a40341e464bf91c7edd', class: "h4", part: parts.heading4 }, "Counter dispute")), index.h("div", { key: 'e8782ca7ad6a04f270df67b2242b525ec52310d5', class: "col-12" }, this.currentStepComponent), index.h("div", { key: 'a305428bc3ff3801bdb7c2d086bd3b10d39c6eed', class: "col-12" }, index.h("div", { key: 'dac35a130c1c33df3b99505d7680d8affaac9906', class: "d-flex gap-2 mt-4 justify-content-end" }, this.isFirstStep ? (index.h(button.Button, { variant: "secondary", onClick: () => this.onCancel(), disabled: this.isLoading, isLoading: this.isLoading }, "Cancel")) : (index.h(button.Button, { variant: "secondary", onClick: () => this.onBack(), disabled: this.isLoading, isLoading: this.isLoading }, "Back")), this.isLastStep ? (index.h(button.Button, { variant: "primary", onClick: () => this.onSubmit(), disabled: this.isLoading, isLoading: this.isLoading }, "Submit Counter Dispute")) : (index.h(button.Button, { variant: "primary", onClick: () => this.onNext(), disabled: this.isLoading, isLoading: this.isLoading }, "Next"))))));
|
|
372
372
|
}
|
|
373
373
|
};
|
|
374
374
|
|