@justifi/webcomponents 5.7.6-rc-02 → 5.7.6-rc-03
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/{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 +7 -7
- package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
- package/dist/cjs/{business.service-W2PRAU9J.js → business.service-CZrK48lv.js} +2 -3
- package/dist/cjs/card-form.cjs.entry.js +2 -2
- package/dist/cjs/{check-pkg-version-DmONJMn1.js → check-pkg-version-DBocF2eE.js} +3 -4
- package/dist/cjs/{checkout.service-XwOh98gt.js → checkout.service-CllLA9W6.js} +2 -3
- package/dist/cjs/checkouts-list-core.cjs.entry.js +5 -5
- 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-Chptj-DX.js} +2 -3
- 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-payment-details-W4PgTPkL.js → get-payment-details-C3qBZVdv.js} +3 -4
- package/dist/cjs/{get-subaccounts-D4woaGSs.js → get-subaccounts-DKyvT-ZF.js} +3 -4
- 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-BsGy_svD.js → insurance-state-kH0kuTD8.js} +3 -10
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +3 -3
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +14 -14
- 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} +59 -17
- package/dist/cjs/justifi-billing-form_2.cjs.entry.js +49 -0
- package/dist/cjs/justifi-business-details.cjs.entry.js +8 -8
- package/dist/cjs/justifi-business-form.cjs.entry.js +7 -7
- 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} +126 -45
- package/dist/cjs/justifi-checkout.cjs.entry.js +12 -12
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +4 -4
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +8 -8
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +11 -11
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +6 -6
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +9 -9
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payment-details.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +4 -3
- package/dist/cjs/justifi-payments-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payout-details.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +4 -3
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +8 -8
- 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 +7 -7
- package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +5 -5
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +8 -8
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +4 -4
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +188 -32
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-oywezDpy.js → package-BM2FCIB8.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.service-BrvtS3F7.js → payment.service-C6kdaQYS.js} +2 -3
- package/dist/cjs/payments-list-core.cjs.entry.js +5 -5
- 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-CLnAr59x.js} +2 -3
- package/dist/cjs/payouts-list-core.cjs.entry.js +5 -5
- 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 +5 -5
- package/dist/cjs/{terminal-orders-table-xi_a-EnM.js → terminal-orders-table-DTZUpjkG.js} +2 -3
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
- package/dist/cjs/{terminal.service-CdzmTRQE.js → terminal.service-CcBCXxNm.js} +2 -3
- package/dist/cjs/terminals-list-core.cjs.entry.js +5 -5
- 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/webcomponents.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -2
- 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 +10 -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 +1 -1
- package/dist/collection/components/checkout/saved-payment-method.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management.js +1 -1
- package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
- package/dist/collection/components/filters/table-filters-menu.js +1 -1
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +1 -1
- package/dist/collection/components/modular-checkout/modular-checkout.js +8 -1
- 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 +273 -89
- 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 +729 -1328
- package/dist/esm/{Api-C3T8XYbb.js → Api-BCeKXDaf.js} +1 -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 +11 -11
- 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-BPBxsb8B.js} +3 -4
- 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-Cic-MeLf.js} +4 -5
- package/dist/esm/{checkout.service-CW2_CEte.js → checkout.service-C1WAmUiU.js} +3 -4
- package/dist/esm/checkouts-list-core.entry.js +10 -10
- 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-bQh-LG0z.js} +3 -4
- 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-payment-details-BdPvFl1W.js → get-payment-details-B193kh7P.js} +3 -4
- package/dist/esm/{get-subaccounts-BqqR44dV.js → get-subaccounts-DcgISPei.js} +4 -5
- 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-pL8MRpxn.js → insurance-state-DeyYNyas.js} +1 -7
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +7 -7
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +17 -17
- package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
- package/dist/esm/{justifi-bank-account-form_5.entry.js → justifi-bank-account-form_7.entry.js} +60 -20
- package/dist/esm/justifi-billing-form_2.entry.js +46 -0
- package/dist/esm/justifi-business-details.entry.js +10 -10
- package/dist/esm/justifi-business-form.entry.js +12 -12
- 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} +127 -46
- package/dist/esm/justifi-checkout.entry.js +9 -9
- package/dist/esm/justifi-checkouts-list-filters.entry.js +6 -6
- package/dist/esm/justifi-checkouts-list.entry.js +13 -13
- 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 +9 -9
- package/dist/esm/justifi-dispute-notification_3.entry.js +14 -14
- package/dist/esm/justifi-gross-payment-chart.entry.js +9 -9
- package/dist/esm/justifi-order-terminals.entry.js +12 -12
- package/dist/esm/justifi-owner-form_3.entry.js +11 -11
- package/dist/esm/justifi-payment-details.entry.js +11 -11
- package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -3
- package/dist/esm/justifi-payment-provisioning.entry.js +9 -9
- package/dist/esm/justifi-payment-transactions-list.entry.js +12 -12
- package/dist/esm/justifi-payments-list-filters.entry.js +5 -4
- package/dist/esm/justifi-payments-list.entry.js +13 -13
- package/dist/esm/justifi-payout-details.entry.js +10 -10
- package/dist/esm/justifi-payout-transactions-list.entry.js +12 -12
- package/dist/esm/justifi-payouts-list-filters.entry.js +5 -4
- package/dist/esm/justifi-payouts-list.entry.js +14 -14
- package/dist/esm/justifi-refund-payment.entry.js +12 -12
- 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 +8 -8
- package/dist/esm/justifi-skeleton.entry.js +3 -3
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +7 -7
- package/dist/esm/justifi-terminal-orders-list.entry.js +11 -11
- package/dist/esm/justifi-terminals-list-filters.entry.js +6 -6
- package/dist/esm/justifi-terminals-list.entry.js +13 -13
- package/dist/esm/justifi-tokenize-payment-method.entry.js +190 -34
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-DR0dQ8Fv.js → package-BRJ4FIJH.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.service-CnQdP32J.js → payment.service-BTVtIbcY.js} +3 -4
- package/dist/esm/payments-list-core.entry.js +11 -11
- 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-j8w34GsW.js} +3 -4
- package/dist/esm/payouts-list-core.entry.js +11 -11
- 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 +10 -10
- package/dist/esm/{terminal-orders-table-BNasCnjz.js → terminal-orders-table-BWf9quiN.js} +5 -6
- package/dist/esm/terminal-quantity-selector.entry.js +2 -2
- package/dist/esm/{terminal.service-Cfacmeto.js → terminal.service-BDRGcUj-.js} +3 -4
- package/dist/esm/terminals-list-core.entry.js +10 -10
- package/dist/esm/{terminals-table-DBk-eg_3.js → terminals-table-BBPQRWja.js} +3 -3
- 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 +202 -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 +20 -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/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/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-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 +285 -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 +9 -3
- 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 +2 -1
- 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/components/checkout/billing-form/billing-form.d.ts +3 -9
- package/dist/types/components/checkout/checkout.d.ts +1 -1
- package/dist/types/components/modular-checkout/modular-checkout.d.ts +1 -0
- 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 +37 -14
- package/dist/types/components.d.ts +68 -112
- 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-072d93c9.entry.js +1 -0
- package/dist/webcomponents/{p-ae00a6f3.entry.js → p-0dcc215b.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-18aa8190.entry.js +1 -0
- package/dist/webcomponents/{p-7c63d61d.entry.js → p-19c07145.entry.js} +1 -1
- package/dist/webcomponents/p-1Or21UzV.js +1 -0
- package/dist/webcomponents/{p-50bfec55.entry.js → p-1b7b7210.entry.js} +1 -1
- package/dist/webcomponents/p-1f76ae29.entry.js +1 -0
- package/dist/webcomponents/p-20eb7015.entry.js +1 -0
- package/dist/webcomponents/{p-0e4e662b.entry.js → p-2437703b.entry.js} +1 -1
- package/dist/webcomponents/{p-a95741ee.entry.js → p-24f30623.entry.js} +1 -1
- package/dist/webcomponents/p-2a5ac7c9.entry.js +1 -0
- package/dist/webcomponents/p-2abae807.entry.js +1 -0
- package/dist/webcomponents/{p-2f482f5b.entry.js → p-351ffd2a.entry.js} +1 -1
- package/dist/webcomponents/p-35411771.entry.js +1 -0
- package/dist/webcomponents/{p-05c604d2.entry.js → p-366dba79.entry.js} +1 -1
- package/dist/webcomponents/p-3add112c.entry.js +1 -0
- package/dist/webcomponents/p-48e406f1.entry.js +1 -0
- package/dist/webcomponents/p-4d0373a7.entry.js +1 -0
- package/dist/webcomponents/p-55iuf7iW.js +1 -0
- package/dist/webcomponents/p-5cb87816.entry.js +1 -0
- package/dist/webcomponents/p-628cf20a.entry.js +1 -0
- package/dist/webcomponents/p-66422cbd.entry.js +1 -0
- package/dist/webcomponents/p-6f397c80.entry.js +1 -0
- package/dist/webcomponents/p-7929bdae.entry.js +1 -0
- package/dist/webcomponents/{p-30d3d0cd.entry.js → p-7a52bdb5.entry.js} +1 -1
- package/dist/webcomponents/p-7e24a1f7.entry.js +1 -0
- package/dist/webcomponents/p-8027e13f.entry.js +1 -0
- package/dist/webcomponents/p-86b166eb.entry.js +1 -0
- package/dist/webcomponents/p-889e8be8.entry.js +1 -0
- package/dist/webcomponents/p-8a1171de.entry.js +1 -0
- package/dist/webcomponents/{p-0890869b.entry.js → p-8aefc49f.entry.js} +4 -4
- package/dist/webcomponents/p-8b2f81b4.entry.js +1 -0
- package/dist/webcomponents/p-97429fb4.entry.js +1 -0
- package/dist/webcomponents/{p-a27405fb.entry.js → p-98b6943a.entry.js} +1 -1
- package/dist/webcomponents/{p-5d145701.entry.js → p-9bf095d2.entry.js} +1 -1
- package/dist/webcomponents/p-9c1e3fb8.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-BF51n3KG.js +1 -0
- package/dist/webcomponents/{p-7MWRbTXI.js → p-BH0Xfn-F.js} +1 -1
- package/dist/webcomponents/p-BJuv5Y2i.js +1 -0
- package/dist/webcomponents/p-BQLEjYfZ.js +1 -0
- package/dist/webcomponents/p-BRJ4FIJH.js +1 -0
- package/dist/webcomponents/p-BeNhCG1Q.js +1 -0
- package/dist/webcomponents/{p-BqK0rIZQ.js → p-BfEOvp9h.js} +1 -1
- package/dist/webcomponents/p-ButA5T4e.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-ClSZshaa.js +1 -0
- package/dist/webcomponents/{p-DAoffYFW.js → p-D0I-tRSs.js} +1 -1
- package/dist/webcomponents/p-D0Ko1H7J.js +1 -0
- package/dist/webcomponents/p-DC63XVwu.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-DZR542ci.js +1 -0
- package/dist/webcomponents/p-Dn0KGDtq.js +1 -0
- package/dist/webcomponents/p-DniBAXrh.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-Ph6Ebeu2.js +1 -0
- package/dist/webcomponents/p-RXUoM7A2.js +1 -0
- package/dist/webcomponents/{p-683630d0.entry.js → p-a1c7c873.entry.js} +1 -1
- package/dist/webcomponents/{p-64a46b8a.entry.js → p-a95db9a6.entry.js} +1 -1
- package/dist/webcomponents/{p-ac538ffd.entry.js → p-a9ed792e.entry.js} +1 -1
- package/dist/webcomponents/p-acf4c099.entry.js +1 -0
- package/dist/webcomponents/p-b47000f7.entry.js +1 -0
- package/dist/webcomponents/{p-cb7c712f.entry.js → p-b860ec37.entry.js} +1 -1
- package/dist/webcomponents/p-b893d5fa.entry.js +1 -0
- package/dist/webcomponents/p-b9d1d9dd.entry.js +1 -0
- package/dist/webcomponents/p-baa04544.entry.js +1 -0
- package/dist/webcomponents/{p-1bddf354.entry.js → p-bbd0aa4e.entry.js} +1 -1
- package/dist/webcomponents/p-bf2ba40d.entry.js +1 -0
- package/dist/webcomponents/p-c06bd8ea.entry.js +1 -0
- package/dist/webcomponents/p-c0955693.entry.js +1 -0
- package/dist/webcomponents/{p-7d2de2d4.entry.js → p-c0bd6405.entry.js} +1 -1
- package/dist/webcomponents/p-c6473b9b.entry.js +1 -0
- package/dist/webcomponents/p-c70dc6bd.entry.js +1 -0
- package/dist/webcomponents/p-ca6d05f9.entry.js +1 -0
- package/dist/webcomponents/p-d1c1c642.entry.js +1 -0
- package/dist/webcomponents/p-d3c966f4.entry.js +1 -0
- package/dist/webcomponents/{p-f5d12ae3.entry.js → p-d49b80b1.entry.js} +1 -1
- package/dist/webcomponents/p-d69d09e6.entry.js +1 -0
- package/dist/webcomponents/p-dd3749ed.entry.js +1 -0
- package/dist/webcomponents/p-dfaf5b14.entry.js +1 -0
- package/dist/webcomponents/{p-e48a2d25.entry.js → p-e2ee826e.entry.js} +1 -1
- package/dist/webcomponents/p-eccb77fa.entry.js +1 -0
- package/dist/webcomponents/p-ede5eb9d.entry.js +1 -0
- package/dist/webcomponents/p-eefe4d71.entry.js +1 -0
- package/dist/webcomponents/p-f4f3bca9.entry.js +1 -0
- package/dist/webcomponents/{p-d7f62287.entry.js → p-f67133f0.entry.js} +1 -1
- package/dist/webcomponents/{p-70774a5a.entry.js → p-f6ad1d58.entry.js} +1 -1
- package/dist/webcomponents/{p-a02ce003.entry.js → p-f9bddc04.entry.js} +1 -1
- package/dist/webcomponents/p-rPeW3G6n.js +1 -0
- package/dist/webcomponents/p-xIyLUOJ6.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/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/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-5e813b93.entry.js +0 -1
- package/dist/webcomponents/p-66861ea5.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-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-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-a05062d8.entry.js +0 -1
- package/dist/webcomponents/p-a2f0d61c.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-sT4o5vru.js +0 -1
- package/dist/webcomponents/p-ys9CWfNG.js +0 -1
- package/dist/webcomponents/p-zucQG3cz.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-N3w5zrz2.js';
|
|
2
2
|
import { u as updateFormValues, a as updateAddressFormValues, b as updateDateOfBirthFormValues } from './input-handlers-CX6mSvOM.js';
|
|
3
3
|
import { P as PHONE_MASKS, S as SSN_MASK } from './form-input-masks-B-iV5cYd.js';
|
|
4
|
-
import {
|
|
4
|
+
import { G as heading2 } from './parts-CKg_luIy.js';
|
|
5
5
|
import './helpers-Mu7LQT-w.js';
|
|
6
6
|
import './state-options-BX8GieXu.js';
|
|
7
7
|
|
|
@@ -17,7 +17,7 @@ const RepresentativeFormInputs = class {
|
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
19
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
20
|
-
return (h("form", { key: '
|
|
20
|
+
return (h("form", { key: 'e4b7a532e18a921a5a28aab31f679fbbad164198' }, h("fieldset", { key: 'd7056e5ee25625adb563e2687f581157653c8a9d' }, h("div", { key: '456aab0ef1399a7c1d272059c881c6c6f3d0e87c', class: "d-flex align-items-center gap-2" }, h("legend", { key: '430b3731bbd97ff1589bd81bd6fdaa4082161180', class: "mb-0", part: heading2 }, "Representative"), h("form-control-tooltip", { key: '47676ededb80e0f766cb786265d8fb307c60d125', helpText: "The representative for your business needs to be someone who has significant control over managing your business\u2019s finance. You will have an opportunity to add owners later in the form." })), h("hr", { key: '514197b5bd4868ec29e75dc74367deb187b32063', class: "mt-2" }), h("div", { key: 'f2986d55d0bfbf0e6059f0b2a766d2dc603acdc5', class: "row gy-3" }, h("div", { key: 'e4a3749c5e972f505527b8fc172f9a4214806345', class: "col-12 col-md-8" }, h("form-control-text", { key: 'd54c8d17f0360277fe04dd91a528e303182495c7', name: "name", label: "Full Name", defaultValue: (_a = this.representativeDefaultValue) === null || _a === void 0 ? void 0 : _a.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '4fa0b1a192fb39a982c957d202ea2ac1e40dedd8', class: "col-12 col-md-4" }, h("form-control-text", { key: '8c3bca4234ea0e7ae3c79d810ffb469637898eb6', name: "title", label: "Title", defaultValue: (_b = this.representativeDefaultValue) === null || _b === void 0 ? void 0 : _b.title, errorText: this.errors.title, inputHandler: this.inputHandler, helpText: "Role at your business, e.g. President, CEO, Treasurer." })), h("div", { key: '7e14a61364883172f2938bd8b1e53883ddd369fe', class: "col-12 col-md-6" }, h("form-control-text", { key: '8d9c81d374998dbaea5322906fddb5eeadea1546', name: "email", label: "Email Address", defaultValue: (_c = this.representativeDefaultValue) === null || _c === void 0 ? void 0 : _c.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: 'c3f369b226a08497926b26d0732b7dc9d6413559', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '734625aeac8384f2b8676c4d350368675cff3a6f', name: "phone", label: "Phone Number", defaultValue: (_d = this.representativeDefaultValue) === null || _d === void 0 ? void 0 : _d.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: '23d509b724f2617eb0a4f85c74238b09a052a6cb', class: "col-12 col-md-4" }, h("form-control-date", { key: '0f838cc474beab9822a84856733a86ecf43f0ec3', name: "dob_full", label: "Birth Date", defaultValue: (_e = this.representativeDefaultValue) === null || _e === void 0 ? void 0 : _e.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: (e) => updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), h("div", { key: 'f6d08c53dad2e9a550adf893ac59166015ffb6e4', class: "col-12 col-md-8" }, h("form-control-number-masked", { key: 'dd610955fb7c62fd0aab9af925af34cdc47ab3e9', name: "identification_number", label: "SSN", defaultValue: (_f = this.representativeDefaultValue) === null || _f === void 0 ? void 0 : _f.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: SSN_MASK, helpText: "Enter your full Social Security Number. It is required for Federal OFAC check." })), h("div", { key: 'd4e2a212a87ca9be4be8e21f3e47008b2201871c', class: "col-12" }, h("justifi-identity-address-form", { key: 'bb2d0d01e07be4d37acfd448796c8a33460111ed', errors: this.errors.address, defaultValues: (_g = this.representativeDefaultValue) === null || _g === void 0 ? void 0 : _g.address, handleFormUpdate: this.onAddressFormUpdate }))))));
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
|
|
@@ -1,63 +1,34 @@
|
|
|
1
1
|
import { r as registerInstance, h, c as createEvent, H as Host, a as getElement } from './index-N3w5zrz2.js';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { z as text, r as radioListItem } from './parts-D3G5aVLy.js';
|
|
5
|
-
import { f as formatCurrency } from './utils-BjLkBMLe.js';
|
|
2
|
+
import { D as text, r as radioListItem } from './parts-CKg_luIy.js';
|
|
3
|
+
import { f as formatCurrency } from './utils-Cu5hITuT.js';
|
|
6
4
|
import { c as checkoutStore, o as onChange } from './checkout.store-GXtlf5-4.js';
|
|
5
|
+
import { S as StyledHost } from './styled-host-DtvbNFVU.js';
|
|
7
6
|
import './event-types-CZfYo5-1.js';
|
|
8
|
-
import {
|
|
9
|
-
import { H as Header2, b as insuranceValuesOn, i as insuranceValues } from './insurance-state-pL8MRpxn.js';
|
|
10
|
-
import { H as Header3 } from './header-3-Bsi4loU1.js';
|
|
11
|
-
import { J as JustifiAnalytics, c as checkPkgVersion } from './check-pkg-version-DqhSXPRt.js';
|
|
7
|
+
import { J as JustifiAnalytics, c as checkPkgVersion } from './check-pkg-version-Cic-MeLf.js';
|
|
12
8
|
import './config-state-B3mtRA6f.js';
|
|
9
|
+
import './dinero-DizZAUMY.js';
|
|
13
10
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-BhrFjjAs.js';
|
|
14
|
-
import './Refund-
|
|
11
|
+
import './Refund-DBHZkemk.js';
|
|
15
12
|
import './Pagination-CLHwhyvu.js';
|
|
16
|
-
import './Payment-00TwhwCx.js';
|
|
17
13
|
import './Business-BCoP0TAV.js';
|
|
18
|
-
import './Dispute-
|
|
14
|
+
import './Dispute-BH0Xfn-F.js';
|
|
19
15
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BZvep88z.js';
|
|
20
|
-
import { C as CheckoutService } from './checkout.service-
|
|
21
|
-
import './
|
|
16
|
+
import { C as CheckoutService } from './checkout.service-C1WAmUiU.js';
|
|
17
|
+
import { b as insuranceValuesOn, i as insuranceValues } from './insurance-state-DeyYNyas.js';
|
|
18
|
+
import { C as CardBrandLabels } from './payment-method-option-utils-zFDtQrgQ.js';
|
|
22
19
|
import './index-BAq5IUBW.js';
|
|
23
|
-
import './package-
|
|
24
|
-
import './Api-
|
|
20
|
+
import './package-BRJ4FIJH.js';
|
|
21
|
+
import './Api-BCeKXDaf.js';
|
|
22
|
+
import './_commonjsHelpers-BFTU3MAI.js';
|
|
25
23
|
import './helpers-Mu7LQT-w.js';
|
|
26
24
|
import './state-options-BX8GieXu.js';
|
|
27
25
|
|
|
28
|
-
const JustifiButton = class {
|
|
29
|
-
constructor(hostRef) {
|
|
30
|
-
registerInstance(this, hostRef);
|
|
31
|
-
this.variant = 'primary';
|
|
32
|
-
this.type = 'button';
|
|
33
|
-
}
|
|
34
|
-
render() {
|
|
35
|
-
return (h(StyledHost, { key: 'e921657ff4c5aae07184ba6560a0f42b1e908643' }, h(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)));
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
|
|
39
26
|
const Summary = class {
|
|
40
27
|
constructor(hostRef) {
|
|
41
28
|
registerInstance(this, hostRef);
|
|
42
29
|
}
|
|
43
30
|
render() {
|
|
44
|
-
return (h(StyledHost, { key: '
|
|
45
|
-
}
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
const Header = class {
|
|
49
|
-
constructor(hostRef) {
|
|
50
|
-
registerInstance(this, hostRef);
|
|
51
|
-
this.levels = {
|
|
52
|
-
h1: Header1,
|
|
53
|
-
h2: Header2,
|
|
54
|
-
h3: Header3,
|
|
55
|
-
};
|
|
56
|
-
this.level = 'h1';
|
|
57
|
-
}
|
|
58
|
-
render() {
|
|
59
|
-
const HeaderComponent = this.levels[this.level];
|
|
60
|
-
return (h(StyledHost, { key: '1aa6a2f69da4f32ddfaae58c751134b4a8bd20b9' }, h(HeaderComponent, { key: 'f2877d1ef32662ab1a17a993d80366df01120a00', text: this.text, class: this.class })));
|
|
31
|
+
return (h(StyledHost, { key: '1bafeffc42f1e98f50551ca971f52e8294782168' }, h("section", { key: 'bf1a89bf030ae5a953abe092d0a5c543ed7f543f' }, h("div", { key: 'ce0b98733c2e158c1caef43b751513a0565ecfc6' }, h("div", { key: '8d0525c31ac3a93a5ce1aa2afde5c9bd7da26dc0', part: text }, checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.paymentDescription), h("div", { key: '7885858ddcd2819522fa08fbbc2d3dce2f0132f6' }, h("span", { key: '57ce1d9a9dd1269c4d958c78210565e9cb68d22a', part: text }, "Total"), "\u00A0", h("span", { key: '0b6673bd2c841cb0e50db93c148bfe15f96b577a', part: text }, formatCurrency(+(checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.totalAmount))))))));
|
|
61
32
|
}
|
|
62
33
|
};
|
|
63
34
|
|
|
@@ -195,6 +166,7 @@ const CheckoutWrapper = class {
|
|
|
195
166
|
}
|
|
196
167
|
queryFormRefs() {
|
|
197
168
|
this.paymentMethodFormRef = this.hostEl.querySelector('justifi-card-form, justifi-bank-account-form');
|
|
169
|
+
this.tokenizeComponentRef = this.hostEl.querySelector('justifi-tokenize-payment-method');
|
|
198
170
|
this.billingInformationFormRef = this.hostEl.querySelector('justifi-billing-information-form, justifi-postal-code-form');
|
|
199
171
|
this.insuranceFormRef = this.hostEl.querySelector('justifi-season-interruption-insurance');
|
|
200
172
|
this.sezzlePaymentMethodRef = this.hostEl.querySelector('justifi-sezzle-payment-method');
|
|
@@ -207,6 +179,12 @@ const CheckoutWrapper = class {
|
|
|
207
179
|
if (this.savePaymentMethod) {
|
|
208
180
|
paymentMethodMetadata.payment_method_group_id = checkoutStore.paymentMethodGroupId;
|
|
209
181
|
}
|
|
182
|
+
if (this.tokenizeComponentRef) {
|
|
183
|
+
const tokenizeResult = await this.tokenizeComponentRef.tokenizePaymentMethod();
|
|
184
|
+
if (tokenizeResult.error) {
|
|
185
|
+
return tokenizeResult;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
210
188
|
return this.paymentMethodFormRef.tokenize({
|
|
211
189
|
clientId: this.authToken,
|
|
212
190
|
paymentMethodMetadata,
|
|
@@ -306,18 +284,121 @@ const CheckoutWrapper = class {
|
|
|
306
284
|
checkoutStore.selectedPaymentMethod = paymentMethodId;
|
|
307
285
|
}
|
|
308
286
|
render() {
|
|
309
|
-
return (h(Host, { key: '
|
|
287
|
+
return (h(Host, { key: '6949f68031572493fae333731c78cc07ccd7fafd' }));
|
|
310
288
|
}
|
|
311
289
|
get hostEl() { return getElement(this); }
|
|
312
290
|
};
|
|
313
291
|
|
|
292
|
+
const SavedPaymentMethods = class {
|
|
293
|
+
constructor(hostRef) {
|
|
294
|
+
registerInstance(this, hostRef);
|
|
295
|
+
this.onPaymentMethodOptionClick = (paymentMethodId) => (e) => {
|
|
296
|
+
e.preventDefault();
|
|
297
|
+
checkoutStore.selectedPaymentMethod = paymentMethodId;
|
|
298
|
+
};
|
|
299
|
+
this.isAllowedPaymentMethod = (paymentMethod) => {
|
|
300
|
+
if (paymentMethod.type === 'card' && checkoutStore.disableCreditCard) {
|
|
301
|
+
return false;
|
|
302
|
+
}
|
|
303
|
+
if (paymentMethod.type === 'bank_account' && checkoutStore.disableBankAccount) {
|
|
304
|
+
return false;
|
|
305
|
+
}
|
|
306
|
+
return true;
|
|
307
|
+
};
|
|
308
|
+
}
|
|
309
|
+
componentWillLoad() {
|
|
310
|
+
if (!checkoutStore.paymentMethods.length) {
|
|
311
|
+
console.warn('No saved payment methods available.');
|
|
312
|
+
}
|
|
313
|
+
if (checkoutStore.disablePaymentMethodGroup) {
|
|
314
|
+
console.warn('Payment method group is disabled.');
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
render() {
|
|
318
|
+
if (checkoutStore.disablePaymentMethodGroup) {
|
|
319
|
+
return null;
|
|
320
|
+
}
|
|
321
|
+
return (h(StyledHost, null, h("div", { class: "saved-payment-methods" }, checkoutStore.paymentMethods.length ? checkoutStore.paymentMethods
|
|
322
|
+
.filter(this.isAllowedPaymentMethod)
|
|
323
|
+
.map((paymentMethod) => (h("div", { class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick(paymentMethod === null || paymentMethod === void 0 ? void 0 : paymentMethod.id) }, h("form-control-radio", { name: "paymentMethodType", value: paymentMethod === null || paymentMethod === void 0 ? void 0 : paymentMethod.id, checked: checkoutStore.selectedPaymentMethod === (paymentMethod === null || paymentMethod === void 0 ? void 0 : paymentMethod.id), label: `${CardBrandLabels[paymentMethod === null || paymentMethod === void 0 ? void 0 : paymentMethod.brand] || ''} *${paymentMethod === null || paymentMethod === void 0 ? void 0 : paymentMethod.acct_last_four}` })))) : null)));
|
|
324
|
+
}
|
|
325
|
+
};
|
|
326
|
+
|
|
327
|
+
const sezzleLogo = (h("img", { class: "sezzle-smart-button-logo-img", src: "https://media.sezzle.com/branding/2.0/Sezzle_Logo_FullColor.svg", alt: "Sezzle", style: {
|
|
328
|
+
display: 'inline',
|
|
329
|
+
width: '80px',
|
|
330
|
+
marginLeft: '5px',
|
|
331
|
+
marginTop: '-5px',
|
|
332
|
+
} }));
|
|
333
|
+
const SezzlePaymentMethod = class {
|
|
334
|
+
constructor(hostRef) {
|
|
335
|
+
registerInstance(this, hostRef);
|
|
336
|
+
this.paymentMethodOptionSelected = createEvent(this, "paymentMethodOptionSelected");
|
|
337
|
+
this.paymentMethodOptionId = 'sezzle';
|
|
338
|
+
this.onPaymentMethodOptionClick = (e) => {
|
|
339
|
+
e.preventDefault();
|
|
340
|
+
checkoutStore.selectedPaymentMethod = this.paymentMethodOptionId;
|
|
341
|
+
this.paymentMethodOptionSelected.emit(this.paymentMethodOptionId);
|
|
342
|
+
};
|
|
343
|
+
this.initializeSezzleCheckout = () => {
|
|
344
|
+
let resolveSezzlePromise;
|
|
345
|
+
this.sezzlePromise = new Promise((resolve) => { resolveSezzlePromise = resolve; });
|
|
346
|
+
const amount = Number(checkoutStore.paymentAmount);
|
|
347
|
+
const Checkout = window.Checkout;
|
|
348
|
+
const checkout = new Checkout({
|
|
349
|
+
mode: 'popup',
|
|
350
|
+
publicKey: checkoutStore.bnplProviderClientId,
|
|
351
|
+
apiMode: checkoutStore.bnplProviderMode,
|
|
352
|
+
apiVersion: checkoutStore.bnplProviderApiVersion,
|
|
353
|
+
});
|
|
354
|
+
checkout.sezzleButtonElement = this.sezzleButtonRef;
|
|
355
|
+
checkout.init({
|
|
356
|
+
onClick: function (event) {
|
|
357
|
+
event.preventDefault();
|
|
358
|
+
checkout.startCheckout({
|
|
359
|
+
checkout_url: checkoutStore.bnplProviderCheckoutUrl,
|
|
360
|
+
});
|
|
361
|
+
},
|
|
362
|
+
onComplete: (event) => resolveSezzlePromise({ bnpl: event.data }),
|
|
363
|
+
onCancel: (event) => resolveSezzlePromise({ bnpl: event.data }),
|
|
364
|
+
onFailure: (event) => resolveSezzlePromise({ bnpl: event.data }),
|
|
365
|
+
});
|
|
366
|
+
this.sezzleCheckout = checkout;
|
|
367
|
+
this.installmentPlan = this.sezzleCheckout.getInstallmentPlan(amount);
|
|
368
|
+
};
|
|
369
|
+
}
|
|
370
|
+
componentDidRender() {
|
|
371
|
+
if (!this.scriptRef)
|
|
372
|
+
return;
|
|
373
|
+
this.scriptRef.onload = () => {
|
|
374
|
+
this.sezzleButtonRef = document.createElement('button');
|
|
375
|
+
this.initializeSezzleCheckout();
|
|
376
|
+
};
|
|
377
|
+
}
|
|
378
|
+
async resolvePaymentMethod(insuranceValidation) {
|
|
379
|
+
if (!insuranceValidation.isValid) {
|
|
380
|
+
return { validationError: true };
|
|
381
|
+
}
|
|
382
|
+
this.sezzleButtonRef.click();
|
|
383
|
+
return this.sezzlePromise;
|
|
384
|
+
}
|
|
385
|
+
render() {
|
|
386
|
+
var _a, _b;
|
|
387
|
+
if (!checkoutStore.bnplEnabled || checkoutStore.disableBnpl) {
|
|
388
|
+
console.warn('justifi-sezzle-payment-method: BNPL is not enabled for this account.');
|
|
389
|
+
return null;
|
|
390
|
+
}
|
|
391
|
+
return (h(StyledHost, { class: "payment-method" }, h("script", { src: "https://checkout-sdk.sezzle.com/checkout.min.js", async: true, ref: (el) => (this.scriptRef = el) }), h("div", { class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick }, h("form-control-radio", { name: "paymentMethodType", value: this.paymentMethodOptionId, checked: checkoutStore.selectedPaymentMethod === this.paymentMethodOptionId, label: h("div", null, h("div", null, "Buy now, pay later with ", sezzleLogo), this.installmentPlan && (h("small", null, h("span", null, (_a = this.installmentPlan) === null || _a === void 0 ? void 0 : _a.installments.length), "\u00A0", h("span", null, this.installmentPlan.schedule, " payments of"), "\u00A0", h("span", { class: "fw-bold" }, formatCurrency((_b = this.installmentPlan) === null || _b === void 0 ? void 0 : _b.installments[0].amountInCents))))) }))));
|
|
392
|
+
}
|
|
393
|
+
};
|
|
394
|
+
|
|
314
395
|
const PaymentMethodOption = class {
|
|
315
396
|
constructor(hostRef) {
|
|
316
397
|
registerInstance(this, hostRef);
|
|
317
398
|
}
|
|
318
399
|
render() {
|
|
319
|
-
return (h(StyledHost, { key: '
|
|
400
|
+
return (h(StyledHost, { key: 'a8c7ba94cf471c0b12f65c6fa9be1d1b6fc28910', class: "payment-method" }, h("div", { key: 'fae8daae8c7b3d00a5ba7a713522766bfe41dfae', class: "radio-list-item p-3", part: radioListItem, onClick: this.clickHandler, hidden: this.radioButtonHidden }, h("form-control-radio", { key: '51b8f509374e771c9e0cd7ff463c8a3d3b9d9a35', name: "paymentMethodType", value: this.paymentMethodOptionId, checked: this.isSelected, label: this.label }))));
|
|
320
401
|
}
|
|
321
402
|
};
|
|
322
403
|
|
|
323
|
-
export {
|
|
404
|
+
export { Summary as justifi_checkout_summary, CheckoutWrapper as justifi_modular_checkout, SavedPaymentMethods as justifi_saved_payment_methods, SezzlePaymentMethod as justifi_sezzle_payment_method, PaymentMethodOption as payment_method_option };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-N3w5zrz2.js';
|
|
2
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
2
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Cic-MeLf.js';
|
|
3
3
|
import { c as checkoutStore } from './checkout.store-GXtlf5-4.js';
|
|
4
|
-
import { d as checkoutSummary } from './parts-
|
|
5
|
-
import { P as PaymentMethodTypes } from './
|
|
4
|
+
import { d as checkoutSummary } from './parts-CKg_luIy.js';
|
|
5
|
+
import { P as PaymentMethodTypes } from './Refund-DBHZkemk.js';
|
|
6
6
|
import { S as StyledHost } from './styled-host-DtvbNFVU.js';
|
|
7
7
|
import './event-types-CZfYo5-1.js';
|
|
8
|
-
import './package-
|
|
9
|
-
import './Api-
|
|
8
|
+
import './package-BRJ4FIJH.js';
|
|
9
|
+
import './Api-BCeKXDaf.js';
|
|
10
10
|
import './config-state-B3mtRA6f.js';
|
|
11
11
|
import './index-BAq5IUBW.js';
|
|
12
|
-
import './utils-
|
|
12
|
+
import './utils-Cu5hITuT.js';
|
|
13
|
+
import './dinero-DizZAUMY.js';
|
|
13
14
|
import './_commonjsHelpers-BFTU3MAI.js';
|
|
14
15
|
import './ComponentError-BhrFjjAs.js';
|
|
15
|
-
import './Refund-0aZtuMmz.js';
|
|
16
16
|
import './Pagination-CLHwhyvu.js';
|
|
17
17
|
import './Business-BCoP0TAV.js';
|
|
18
18
|
import './helpers-Mu7LQT-w.js';
|
|
19
19
|
import './state-options-BX8GieXu.js';
|
|
20
|
-
import './Dispute-
|
|
20
|
+
import './Dispute-BH0Xfn-F.js';
|
|
21
21
|
|
|
22
22
|
const PaymentMethodTypeLabels = {
|
|
23
23
|
bankAccount: 'New bank account',
|
|
@@ -106,7 +106,7 @@ const Checkout = class {
|
|
|
106
106
|
return checkoutStore.selectedPaymentMethod === PaymentMethodTypes.card && this.hideCardBillingForm;
|
|
107
107
|
}
|
|
108
108
|
render() {
|
|
109
|
-
return (h(StyledHost, { key: '
|
|
109
|
+
return (h(StyledHost, { key: '66b064eb09a9d14357b5f67ed6cb06a315e28cd3' }, h("justifi-modular-checkout", { key: '0c175af8ee77ba66a6c9e6e338f8e148485e1a44', ref: (el) => (this.modularCheckoutRef = el), authToken: this.authToken, checkoutId: this.checkoutId, savePaymentMethod: this.canSavePaymentMethod && this.savePaymentMethod }, h("div", { key: '27a831604928bae01d8a4f056065cf4bb22ed078', class: "row gy-3 jfi-checkout-core" }, h("div", { key: '42f396148f51c83fcfb6af8385bfeaa0809c80b4', class: "col-12", part: checkoutSummary }, h("justifi-header", { key: '4fdee03c9f6c2d8cb125cf00e7774486f748024b', text: "Summary", level: "h2", class: "fs-5 fw-bold pb-3" }), h("section", { key: '9dd9f8f49c714d915d33f4767196cb31912fe2d4' }, h("justifi-checkout-summary", { key: 'ab3a241477367ace71894a89cdb8df6b02b6a475' }))), h("div", { key: '2fcfa4852da6ab570999e00c900a38ce3f7b22d6', class: "col-12 mt-4" }, h("slot", { key: '0d8990a3c78a59cfad5b31de02d885dd85bdff3b', name: "insurance" })), h("div", { key: '02bcacf6467c99b50b61cd46c4393d2f21ac7f30', class: "col-12 mt-4" }, h("justifi-header", { key: 'f6c88155bcd68d4c76dd1c6d812cb3bf96556454', text: "Payment", level: "h2", class: "fs-5 fw-bold pb-3" }), this.showPaymentTypeHeader && (h("justifi-header", { key: 'dfc55a62398f0baeb3eef4d934644f68cc8483b9', text: "Select payment type", level: "h3", class: "fs-6 fw-bold lh-lg" })), h("div", { key: '3bfdf78062b252b9fc53f63e3248966cd4bd6513', class: "d-flex flex-column" }, h("section", { key: '5f51a590d33ae9074314df4a5808fa4355c3711f' }, h("div", { key: '048568eb658167dcb267a406d11e9672539e5454' }, h("justifi-saved-payment-methods", { key: '150ba48b60bd5818a6fd2004ed1d3b0571050221' }), h("justifi-sezzle-payment-method", { key: 'c959ccbba4683f37706daa889eaa60d0a371d682' }), !this.disableCreditCard && (h("div", { key: '412255d8cf36a0e3669680e09ca77d5efedf7969' }, h("payment-method-option", { key: '9aaaecfd5880a7de93e6f3c986e12f2e63407674', paymentMethodOptionId: PaymentMethodTypes.card, isSelected: checkoutStore.selectedPaymentMethod === PaymentMethodTypes.card, clickHandler: () => { checkoutStore.selectedPaymentMethod = PaymentMethodTypes.card; }, radioButtonHidden: this.disableCreditCard, label: PaymentMethodTypeLabels[PaymentMethodTypes.card] }), checkoutStore.selectedPaymentMethod === PaymentMethodTypes.card && (h("div", { key: '4fefd1eb74d9c6ba17a1d01fe59ab3334bf8bdac', class: "mt-4 mb-4" }, h("justifi-card-form", { key: '6c78f67bce200b47201220a528fb289861761727' }))))), !this.disableBankAccount && (h("div", { key: 'c5b97b68abaf8fa754b9f12e08a1b68c85b4c852' }, h("payment-method-option", { key: '24c013b3e317d26c9c7b961c0b0a87f2f94949f2', paymentMethodOptionId: PaymentMethodTypes.bankAccount, isSelected: checkoutStore.selectedPaymentMethod === PaymentMethodTypes.bankAccount, clickHandler: () => { checkoutStore.selectedPaymentMethod = PaymentMethodTypes.bankAccount; }, radioButtonHidden: this.disableBankAccount, label: PaymentMethodTypeLabels[PaymentMethodTypes.bankAccount] }), checkoutStore.selectedPaymentMethod === PaymentMethodTypes.bankAccount && (h("div", { key: 'b61b75f7e449b1217357bdaddfbfcf37d863612f', class: "mt-4 mb-4" }, h("justifi-bank-account-form", { key: 'e6d182d60e1b308f76b4364c9a757c7ca59debf2' }))))))))), this.showBillingFormSection && (h("div", { key: '71ea650fdb37ff7227b4f8027a54f74c8bf8a575', class: "col-12 mt-4" }, this.showBillingForm && (h("justifi-header", { key: 'f36db4e0d6d008d924ada83a83899377e46ece90', text: "Billing Address", level: "h2", class: "fs-5 fw-bold pb-3" })), this.showPostalCodeForm && (h("justifi-postal-code-form", { key: '19005f53df4bd597ccf6484d662d7d230a8a7b83' })), this.showBillingForm && (h("justifi-billing-information-form", { key: 'e5f501833f7aef3c603d18b29b21c39f990e8ef1' })))), h("div", { key: '828ba958634f58c641a5f6e3a848993d03e4aba0', class: "col-12" }, this.canSavePaymentMethod && (h("justifi-save-new-payment-method", { key: 'e94caf3d77e0299008e6a0bbf6852347eaa02ebf' }))), h("div", { key: '8436468192642a3f20f82b390e5ec53c4dc951bf', class: "mt-4" }, 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" } }))))));
|
|
110
110
|
}
|
|
111
111
|
static get watchers() { return {
|
|
112
112
|
"authToken": ["propChanged"],
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-N3w5zrz2.js';
|
|
2
2
|
import './config-state-B3mtRA6f.js';
|
|
3
|
-
import './
|
|
3
|
+
import './dinero-DizZAUMY.js';
|
|
4
4
|
import './ComponentError-BhrFjjAs.js';
|
|
5
|
-
import { I as ICheckoutStatus, a as ICheckoutPaymentModeParam } from './Refund-
|
|
5
|
+
import { I as ICheckoutStatus, a as ICheckoutPaymentModeParam } from './Refund-DBHZkemk.js';
|
|
6
6
|
import './Pagination-CLHwhyvu.js';
|
|
7
|
-
import './Payment-00TwhwCx.js';
|
|
8
7
|
import './Business-BCoP0TAV.js';
|
|
9
|
-
import './Dispute-
|
|
8
|
+
import './Dispute-BH0Xfn-F.js';
|
|
10
9
|
import { f as filterParams, p as propsParams, c as clearParams } from './checkouts-list-params-state-DFWVMJRJ.js';
|
|
11
|
-
import { e as checkoutsListFilterMenu, s as statusCheckoutsListFilterParam, p as paymentModeCheckoutsListFilterParam } from './parts-
|
|
10
|
+
import { e as checkoutsListFilterMenu, s as statusCheckoutsListFilterParam, p as paymentModeCheckoutsListFilterParam } from './parts-CKg_luIy.js';
|
|
12
11
|
import { S as StyledHost } from './styled-host-DtvbNFVU.js';
|
|
13
12
|
import './event-types-CZfYo5-1.js';
|
|
14
13
|
import './index-BAq5IUBW.js';
|
|
15
14
|
import './_commonjsHelpers-BFTU3MAI.js';
|
|
15
|
+
import './utils-Cu5hITuT.js';
|
|
16
16
|
import './helpers-Mu7LQT-w.js';
|
|
17
17
|
import './state-options-BX8GieXu.js';
|
|
18
18
|
|
|
@@ -52,7 +52,7 @@ const CheckoutsListFilters = class {
|
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
54
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
55
|
-
return (h(StyledHost, { key: '
|
|
55
|
+
return (h(StyledHost, { key: '05a4d429a1acd7bbaf202872523284e2b2cd3677' }, h("table-filters-menu", { key: 'abf61654a75212537af580f3bfd2646042eaba8a', params: filterMenuParams, clearParams: clearParams, part: checkoutsListFilterMenu }, h("div", { key: 'f8e5cfe4b0a23723d0df939a1d1873adffcb1da9', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: 'd9e23e96a7269b3609e690a1e64e8c20bd125cb7', class: "p-2" }, h("form-control-select", { key: 'e1899dbc615be07486bc54f8baa395bee776d8ce', name: "status", label: "Status", options: this.checkoutStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.checkoutStatus || filterParams.status, disabled: !!this.checkoutStatus, part: statusCheckoutsListFilterParam })), h("div", { key: 'bedbc26d9d9f6906013ef4b80542d9031822b19c', class: "p-2" }, h("form-control-select", { key: '3bfef7fabeb85a29304e11093005bb1f58b23f41', name: "payment_mode", label: "Payment Mode", options: this.checkoutPaymentModeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentMode || filterParams.payment_mode, disabled: !!this.paymentMode, part: paymentModeCheckoutsListFilterParam }))))));
|
|
56
56
|
}
|
|
57
57
|
};
|
|
58
58
|
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-N3w5zrz2.js';
|
|
2
2
|
import './config-state-B3mtRA6f.js';
|
|
3
|
-
import './
|
|
3
|
+
import './dinero-DizZAUMY.js';
|
|
4
4
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-BhrFjjAs.js';
|
|
5
|
-
import { C as Checkout } from './Refund-
|
|
5
|
+
import { C as Checkout } from './Refund-DBHZkemk.js';
|
|
6
6
|
import './Pagination-CLHwhyvu.js';
|
|
7
|
-
import './Payment-00TwhwCx.js';
|
|
8
7
|
import './Business-BCoP0TAV.js';
|
|
9
|
-
import './Dispute-
|
|
8
|
+
import './Dispute-BH0Xfn-F.js';
|
|
10
9
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BZvep88z.js';
|
|
11
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
12
|
-
import { C as CheckoutService } from './checkout.service-
|
|
13
|
-
import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts-
|
|
10
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Cic-MeLf.js';
|
|
11
|
+
import { C as CheckoutService } from './checkout.service-C1WAmUiU.js';
|
|
12
|
+
import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts-DcgISPei.js';
|
|
14
13
|
import { S as StyledHost } from './styled-host-DtvbNFVU.js';
|
|
15
14
|
import './event-types-CZfYo5-1.js';
|
|
16
|
-
import { d as defaultColumnsKeys } from './checkouts-table-
|
|
15
|
+
import { d as defaultColumnsKeys } from './checkouts-table-COpCngi0.js';
|
|
17
16
|
import './index-BAq5IUBW.js';
|
|
18
17
|
import './_commonjsHelpers-BFTU3MAI.js';
|
|
18
|
+
import './utils-Cu5hITuT.js';
|
|
19
19
|
import './helpers-Mu7LQT-w.js';
|
|
20
20
|
import './state-options-BX8GieXu.js';
|
|
21
|
-
import './package-
|
|
22
|
-
import './Api-
|
|
23
|
-
import './badge-
|
|
24
|
-
import './parts-
|
|
21
|
+
import './package-BRJ4FIJH.js';
|
|
22
|
+
import './Api-BCeKXDaf.js';
|
|
23
|
+
import './badge-BrapPg3R.js';
|
|
24
|
+
import './parts-CKg_luIy.js';
|
|
25
25
|
|
|
26
26
|
const makeGetCheckouts = ({ accountId, authToken, service }) => async ({ params, onSuccess, onError }) => {
|
|
27
27
|
var _a, _b;
|
|
@@ -107,7 +107,7 @@ const CheckoutsList = class {
|
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
render() {
|
|
110
|
-
return (h(StyledHost, { key: '
|
|
110
|
+
return (h(StyledHost, { key: 'b0c774c4f56f94cd6b4a3dc8651938f9f33ca94e' }, h("checkouts-list-core", { key: 'd524423a791f70c234044f5ba27d7bc3648fc988', getCheckouts: this.getCheckouts, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
111
111
|
}
|
|
112
112
|
static get watchers() { return {
|
|
113
113
|
"accountId": ["propChanged"],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-N3w5zrz2.js';
|
|
2
|
-
import { E as ErrorState } from './utils-
|
|
3
|
-
import './parts-
|
|
2
|
+
import { E as ErrorState } from './utils-sZ_6zOKQ.js';
|
|
3
|
+
import './parts-CKg_luIy.js';
|
|
4
4
|
|
|
5
5
|
const Details = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-N3w5zrz2.js';
|
|
2
2
|
import { D as DisputeManagementClickActions } from './event-types-Bg2SZArf.js';
|
|
3
|
-
import {
|
|
3
|
+
import { D as Dispute, a as DisputeStatus } from './Dispute-BH0Xfn-F.js';
|
|
4
4
|
|
|
5
5
|
const DisputeManagementCore = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -49,7 +49,7 @@ const DisputeManagementCore = class {
|
|
|
49
49
|
});
|
|
50
50
|
}
|
|
51
51
|
render() {
|
|
52
|
-
return (h("div", { key: '
|
|
52
|
+
return (h("div", { key: 'b5a802e8c418b3b7f3235f43260186084a6ee079' }, this.showDisputeResponseForm ? (h("justifi-dispute-response", { disputeId: this.disputeId, disputeResponse: this.dispute.dispute_response, authToken: this.authToken })) : (h("justifi-dispute-notification", { dispute: this.dispute, authToken: this.authToken, isLoading: this.isLoading }))));
|
|
53
53
|
}
|
|
54
54
|
static get watchers() { return {
|
|
55
55
|
"getDispute": ["updateOnPropChange"]
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-N3w5zrz2.js';
|
|
2
2
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-BhrFjjAs.js';
|
|
3
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
4
|
-
import {
|
|
3
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Cic-MeLf.js';
|
|
4
|
+
import { D as Dispute } from './Dispute-BH0Xfn-F.js';
|
|
5
5
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BZvep88z.js';
|
|
6
|
-
import { D as DisputeService } from './dispute.service-
|
|
7
|
-
import './package-
|
|
8
|
-
import './Api-
|
|
6
|
+
import { D as DisputeService } from './dispute.service-bQh-LG0z.js';
|
|
7
|
+
import './package-BRJ4FIJH.js';
|
|
8
|
+
import './Api-BCeKXDaf.js';
|
|
9
9
|
import './config-state-B3mtRA6f.js';
|
|
10
10
|
import './index-BAq5IUBW.js';
|
|
11
|
-
import './utils-
|
|
11
|
+
import './utils-Cu5hITuT.js';
|
|
12
|
+
import './dinero-DizZAUMY.js';
|
|
12
13
|
import './_commonjsHelpers-BFTU3MAI.js';
|
|
13
|
-
import './Refund-
|
|
14
|
+
import './Refund-DBHZkemk.js';
|
|
14
15
|
import './Pagination-CLHwhyvu.js';
|
|
15
|
-
import './Payment-00TwhwCx.js';
|
|
16
16
|
import './Business-BCoP0TAV.js';
|
|
17
17
|
import './helpers-Mu7LQT-w.js';
|
|
18
18
|
import './state-options-BX8GieXu.js';
|
|
@@ -87,7 +87,7 @@ const DisputeManagement = class {
|
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
render() {
|
|
90
|
-
return (h("justifi-dispute-management-core", { key: '
|
|
90
|
+
return (h("justifi-dispute-management-core", { key: '8c800827aaa9d549a734ea05698763685e160a98', getDispute: this.getDispute, disputeId: this.disputeId, authToken: this.authToken, "onError-event": this.handleErrorEvent }));
|
|
91
91
|
}
|
|
92
92
|
static get watchers() { return {
|
|
93
93
|
"disputeId": ["propChanged"],
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-N3w5zrz2.js';
|
|
2
|
-
import { f as formatCurrency } from './utils-
|
|
3
|
-
import {
|
|
4
|
-
import { B as Button } from './button-
|
|
2
|
+
import { f as formatCurrency } from './utils-Cu5hITuT.js';
|
|
3
|
+
import { D as text, am as heading4 } from './parts-CKg_luIy.js';
|
|
4
|
+
import { B as Button } from './button-BB-N4vit.js';
|
|
5
5
|
import { S as StyledHost } from './styled-host-DtvbNFVU.js';
|
|
6
|
-
import { S as Skeleton } from './skeleton-
|
|
6
|
+
import { S as Skeleton } from './skeleton-D1Z4a8af.js';
|
|
7
7
|
import './event-types-CZfYo5-1.js';
|
|
8
8
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-BhrFjjAs.js';
|
|
9
9
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BZvep88z.js';
|
|
10
|
-
import { D as DisputeService } from './dispute.service-
|
|
10
|
+
import { D as DisputeService } from './dispute.service-bQh-LG0z.js';
|
|
11
11
|
import { D as DisputeManagementClickActions } from './event-types-Bg2SZArf.js';
|
|
12
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
12
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Cic-MeLf.js';
|
|
13
|
+
import './dinero-DizZAUMY.js';
|
|
13
14
|
import './_commonjsHelpers-BFTU3MAI.js';
|
|
14
|
-
import './Api-
|
|
15
|
+
import './Api-BCeKXDaf.js';
|
|
15
16
|
import './config-state-B3mtRA6f.js';
|
|
16
17
|
import './index-BAq5IUBW.js';
|
|
17
|
-
import './Refund-
|
|
18
|
+
import './Refund-DBHZkemk.js';
|
|
19
|
+
import './Dispute-BH0Xfn-F.js';
|
|
18
20
|
import './Pagination-CLHwhyvu.js';
|
|
19
|
-
import './Payment-00TwhwCx.js';
|
|
20
|
-
import './Dispute-7MWRbTXI.js';
|
|
21
21
|
import './Business-BCoP0TAV.js';
|
|
22
22
|
import './helpers-Mu7LQT-w.js';
|
|
23
23
|
import './state-options-BX8GieXu.js';
|
|
24
|
-
import './package-
|
|
24
|
+
import './package-BRJ4FIJH.js';
|
|
25
25
|
|
|
26
26
|
const makeUpdateDisputeResponse = ({ authToken, disputeId, service }) => async ({ payload, onSuccess, onError, final = () => { } }) => {
|
|
27
27
|
var _a;
|
|
@@ -142,7 +142,7 @@ const DisputeNotification = class {
|
|
|
142
142
|
}
|
|
143
143
|
render() {
|
|
144
144
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
145
|
-
return (h(StyledHost, { key: '
|
|
145
|
+
return (h(StyledHost, { key: '90d2506d5bde2ea478fa3575fc162bb356b67fac' }, this.isLoading && (h("div", { key: '4877ae22d3d8e312640b122c9107b6bdd8f924cb', style: { marginBottom: '8px' } }, h(Skeleton, { key: '31fa0717949bbc6aa49db1c6ae0e324099ae1de2', height: '28px', width: '70%', styles: { marginBottom: '16px' } }), h(Skeleton, { key: 'ac5179232cb9ee33d3f3e16d9f93536ecfbf46a5', height: '18px', styles: { marginBottom: '8px' } }), h(Skeleton, { key: 'c22a5e3b257d01f92de7f6188fa0758861abc747', height: '18px', styles: { marginBottom: '8px' } }))), ((_a = this.dispute) === null || _a === void 0 ? void 0 : _a.needsResponse) && (h("div", { key: 'be331b1a5e2fa0baf46bc593ef7ce4f5872abcff', part: text }, h("h1", { key: '8094c16d3b375f28ffe314613f21ae25b63e59ef', class: "h4", part: heading4 }, "This payment is disputed"), h("p", { key: 'd89ae665e1f9bd99c9338e2132c1dc56e5386696' }, "The cardholder is disputing this payment. You may accept this dispute, or proceed to provide evidence in a counter dispute."), h("h2", { key: '2786733eac76628019993e13473d1f43c0c395ed', class: "h5" }, "Dispute details"), h("div", { key: '663c28c46136bd56889b6ad0b9bfce9e5adbb590', class: "d-table gap-2" }, h("div", { key: 'dc688fad875d1591dcb7f31d423b61a3df2ff954', class: "d-table-row gap-2" }, h("span", { key: '442db7a6e95524ca6b092794c7a4a4d987c9866e', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Amount"), h("span", { key: '0a31de8692c9b00f43fcf3c0508e4d00a221d096', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, formatCurrency((_b = this.dispute) === null || _b === void 0 ? void 0 : _b.amount))), h("div", { key: '9fe0c1a3d3350c36fca190ae748dafe24d41b5fc', class: "d-table-row gap-2" }, h("span", { key: '12165cb6671519130a5f2e0d8938aaa55e7e3ead', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Reason"), h("span", { key: '4a37ca8a7d64b97142997bb50ec11d737ac6a882', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_c = this.dispute) === null || _c === void 0 ? void 0 : _c.reason)), h("div", { key: '4d9cf74a8ed26dd84e4ce7325d4b8703352362a4', class: "d-table-row gap-2" }, h("span", { key: '8c0eaa24ebec7703eb18384b0b1f2eae8a684b55', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Dispute ID"), h("span", { key: '238813abf2ea0848e1fe817d5798b9b0d0b78ffc', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_d = this.dispute) === null || _d === void 0 ? void 0 : _d.id))), h("div", { key: 'd156a7e9bf0e7214ff2164fc09b12c0b8f1d2b36', class: "d-flex gap-2 mt-4 justify-content-end" }, h(Button, { key: '7822fd12dfc39bd2aced043956d012fd34cc1b01', variant: "secondary", onClick: () => this.acceptDispute() }, "Accept dispute"), h(Button, { key: '05132b3a6d1fc3d136dc227008ea1999330cdb96', variant: "primary", onClick: () => this.initiateRespondToDispute() }, "Counter dispute")))), ((_e = this.dispute) === null || _e === void 0 ? void 0 : _e.underReview) && (h("div", { key: 'b04dd0c34f608b75ea3997a9c28ce948fa9dba5c' }, h("h1", { key: 'ac2a13373315703e86247b6707097af7cf2e6757', class: "h4" }, "This payment is disputed and under review"), h("p", { key: '203aed553e01bbaebe44bb370a1d088c149cda06' }, "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) && (h("div", { key: '6325264f8ad7b6678825878ed59f03f90eee421a' }, h("h1", { key: '7b647ed77373884e0751de4fc39403211c249db6', class: "h4" }, "This payment was disputed"), h("p", { key: '2a5c1560d341af9b743234a058a1187f245a2ae8' }, "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) && (h("div", { key: 'a89e7f4d7e8926ed052023c7dbbbaf076a03ed9c' }, h("h1", { key: '534b560aa35dd43ba0eba668904ef70dc1a6954f', class: "h4" }, "This payment was disputed"), h("p", { key: '2381f2f6418b47dce67c498c56d5f3789add57dc' }, "The cardholder disputed this payment and the card issuer has settled it in their favor.")))));
|
|
146
146
|
}
|
|
147
147
|
};
|
|
148
148
|
|
|
@@ -198,7 +198,7 @@ const DisputeResponse = class {
|
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
200
|
render() {
|
|
201
|
-
return (h(StyledHost, { key: '
|
|
201
|
+
return (h(StyledHost, { key: 'b90f636418c3e11b046d36dee9accf345756b407' }, h("justifi-dispute-response-core", { key: 'ff6e510faad54506eda24b1d8dc94b67afc18014', "onError-event": this.handleErrorEvent, "dispute-id": this.disputeId, disputeResponse: this.disputeResponse, createDisputeEvidence: this.createDisputeEvidence, updateDisputeResponse: this.updateDisputeResponse, submitDisputeResponse: this.submitDisputeResponse })));
|
|
202
202
|
}
|
|
203
203
|
;
|
|
204
204
|
static get watchers() { return {
|
|
@@ -366,7 +366,7 @@ const DisputeResponseCore = class {
|
|
|
366
366
|
return this.currentStep === 0;
|
|
367
367
|
}
|
|
368
368
|
render() {
|
|
369
|
-
return (h("div", { key: '
|
|
369
|
+
return (h("div", { key: '09b09843d54a2dbced9788d16e244b2e59a3a78f', class: "row gy-3" }, h("div", { key: '6a3fe32d65ea1a74161d9ba9984543cf950e47ea', class: "col-12" }, h("h1", { key: 'bbb6f1334fd6b120e592117ba191d90b628e620f', class: "h4", part: heading4 }, "Counter dispute")), h("div", { key: '19cbc45842294e9344dbffb725f5f053bf370af7', class: "col-12" }, this.currentStepComponent), h("div", { key: 'fa875ca152ea77fc4c8363216d8ba16c7699b597', class: "col-12" }, h("div", { key: 'fa7b62fff0cbac81c19ebad919f5dd54c3679e84', class: "d-flex gap-2 mt-4 justify-content-end" }, this.isFirstStep ? (h(Button, { variant: "secondary", onClick: () => this.onCancel(), disabled: this.isLoading, isLoading: this.isLoading }, "Cancel")) : (h(Button, { variant: "secondary", onClick: () => this.onBack(), disabled: this.isLoading, isLoading: this.isLoading }, "Back")), this.isLastStep ? (h(Button, { variant: "primary", onClick: () => this.onSubmit(), disabled: this.isLoading, isLoading: this.isLoading }, "Submit Counter Dispute")) : (h(Button, { variant: "primary", onClick: () => this.onNext(), disabled: this.isLoading, isLoading: this.isLoading }, "Next"))))));
|
|
370
370
|
}
|
|
371
371
|
};
|
|
372
372
|
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-N3w5zrz2.js';
|
|
2
|
-
import { A as Api } from './Api-
|
|
2
|
+
import { A as Api } from './Api-BCeKXDaf.js';
|
|
3
3
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-BhrFjjAs.js';
|
|
4
|
-
import './Refund-
|
|
4
|
+
import './Refund-DBHZkemk.js';
|
|
5
5
|
import './Pagination-CLHwhyvu.js';
|
|
6
|
-
import './Payment-00TwhwCx.js';
|
|
7
6
|
import './Business-BCoP0TAV.js';
|
|
8
|
-
import './Dispute-
|
|
7
|
+
import './Dispute-BH0Xfn-F.js';
|
|
9
8
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BZvep88z.js';
|
|
10
|
-
import { E as ErrorState } from './utils-
|
|
11
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
9
|
+
import { E as ErrorState } from './utils-sZ_6zOKQ.js';
|
|
10
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-Cic-MeLf.js';
|
|
12
11
|
import './config-state-B3mtRA6f.js';
|
|
13
12
|
import './index-BAq5IUBW.js';
|
|
14
|
-
import './utils-
|
|
13
|
+
import './utils-Cu5hITuT.js';
|
|
14
|
+
import './dinero-DizZAUMY.js';
|
|
15
15
|
import './_commonjsHelpers-BFTU3MAI.js';
|
|
16
16
|
import './helpers-Mu7LQT-w.js';
|
|
17
17
|
import './state-options-BX8GieXu.js';
|
|
18
|
-
import './parts-
|
|
19
|
-
import './package-
|
|
18
|
+
import './parts-CKg_luIy.js';
|
|
19
|
+
import './package-BRJ4FIJH.js';
|
|
20
20
|
|
|
21
21
|
const api = Api();
|
|
22
22
|
class ReportsService {
|