@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,20 +1,14 @@
|
|
|
1
|
-
import { BillingFormFields } from '
|
|
2
|
-
import { FormController } from '../../../ui-components/form/form';
|
|
1
|
+
import { BillingFormFields } from '../../../components';
|
|
3
2
|
export declare class BillingForm {
|
|
4
|
-
|
|
5
|
-
billingInfo: {};
|
|
6
|
-
errors: any;
|
|
3
|
+
private formRef;
|
|
7
4
|
legend?: string;
|
|
8
5
|
hideCardBillingForm?: boolean;
|
|
9
6
|
hideBankAccountBillingForm?: boolean;
|
|
10
7
|
paymentMethodType?: string;
|
|
11
|
-
componentWillLoad(): void;
|
|
12
|
-
componentDidLoad(): void;
|
|
13
|
-
inputHandler: (name: string, value: string) => void;
|
|
14
8
|
private get isPostalOnlyMode();
|
|
15
9
|
private get hideAllBillingFields();
|
|
16
10
|
getValues(): Promise<BillingFormFields>;
|
|
17
|
-
fill(fields: BillingFormFields): Promise<
|
|
11
|
+
fill(fields: BillingFormFields): Promise<any>;
|
|
18
12
|
validate(): Promise<{
|
|
19
13
|
isValid: boolean;
|
|
20
14
|
errors: any;
|
|
@@ -7,7 +7,7 @@ import { PaymentMethodOption } from './payment-method-option-utils';
|
|
|
7
7
|
export declare class Checkout {
|
|
8
8
|
analytics: JustifiAnalytics;
|
|
9
9
|
modularCheckoutRef?: HTMLJustifiModularCheckoutElement;
|
|
10
|
-
selectedPaymentMethodOptionRef?:
|
|
10
|
+
selectedPaymentMethodOptionRef?: HTMLJustifiSavedPaymentMethodElement | HTMLJustifiSezzlePaymentMethodElement;
|
|
11
11
|
checkout: ICheckout;
|
|
12
12
|
complete: Function;
|
|
13
13
|
errorMessage: string;
|
|
@@ -10,9 +10,11 @@ export declare class BillingInformationForm {
|
|
|
10
10
|
componentWillLoad(): void;
|
|
11
11
|
componentDidLoad(): void;
|
|
12
12
|
inputHandler: (name: string, value: string) => void;
|
|
13
|
+
fill(values: BillingFormFields): Promise<any>;
|
|
13
14
|
getValues(): Promise<BillingFormFields>;
|
|
14
15
|
validate(): Promise<{
|
|
15
16
|
isValid: boolean;
|
|
17
|
+
errors: any;
|
|
16
18
|
}>;
|
|
17
19
|
render(): any;
|
|
18
20
|
}
|
|
@@ -3,28 +3,51 @@ import JustifiAnalytics from '../../api/Analytics';
|
|
|
3
3
|
import { BillingFormFields } from '../../components';
|
|
4
4
|
import { PaymentMethodPayload } from '../checkout/payment-method-payload';
|
|
5
5
|
import { ComponentSubmitEvent, ComponentErrorEvent } from '../../api';
|
|
6
|
+
interface ValidationResult {
|
|
7
|
+
isValid: boolean;
|
|
8
|
+
errors?: Record<string, any>;
|
|
9
|
+
}
|
|
6
10
|
export declare class TokenizePaymentMethod {
|
|
7
|
-
|
|
11
|
+
analytics: JustifiAnalytics;
|
|
12
|
+
private billingFormRef?;
|
|
13
|
+
private paymentMethodFormRef?;
|
|
14
|
+
isLoading: boolean;
|
|
15
|
+
selectedPaymentMethodId: string;
|
|
16
|
+
saveNewPaymentMethodChecked: boolean;
|
|
8
17
|
accountId?: string;
|
|
9
|
-
|
|
10
|
-
submitButtonText: string;
|
|
11
|
-
disableCreditCard?: boolean;
|
|
18
|
+
authToken?: string;
|
|
12
19
|
disableBankAccount?: boolean;
|
|
13
|
-
|
|
14
|
-
hideCardBillingForm?: boolean;
|
|
20
|
+
disableCreditCard?: boolean;
|
|
15
21
|
hideBankAccountBillingForm?: boolean;
|
|
16
|
-
|
|
22
|
+
hideCardBillingForm?: boolean;
|
|
23
|
+
hideSubmitButton?: boolean;
|
|
24
|
+
paymentMethodGroupId: string;
|
|
25
|
+
submitButtonText: string;
|
|
17
26
|
errorEvent: EventEmitter<ComponentErrorEvent>;
|
|
18
27
|
submitEvent: EventEmitter<ComponentSubmitEvent>;
|
|
19
|
-
private paymentMethodOptionsRef?;
|
|
20
|
-
analytics: JustifiAnalytics;
|
|
21
28
|
componentWillLoad(): void;
|
|
29
|
+
connectedCallback(): void;
|
|
22
30
|
disconnectedCallback(): void;
|
|
23
|
-
|
|
31
|
+
paymentMethodsChanged(): void;
|
|
32
|
+
handleRadioClick(event: CustomEvent<string>): void;
|
|
33
|
+
handleCheckboxChanged(event: CustomEvent<boolean>): void;
|
|
24
34
|
fillBillingForm(fields: BillingFormFields): Promise<void>;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
35
|
+
tokenizePaymentMethod(event?: MouseEvent): Promise<PaymentMethodPayload>;
|
|
36
|
+
validate(): Promise<ValidationResult>;
|
|
37
|
+
private validateRequiredProps;
|
|
38
|
+
private setDefaultSelectedPaymentMethod;
|
|
39
|
+
private get availablePaymentMethods();
|
|
40
|
+
private areFormsReady;
|
|
41
|
+
private emitError;
|
|
42
|
+
private createErrorResponse;
|
|
43
|
+
resolvePaymentMethod(insuranceValidation: any): Promise<PaymentMethodPayload>;
|
|
44
|
+
private performTokenization;
|
|
45
|
+
private tokenize;
|
|
46
|
+
private buildPaymentMethodMetadata;
|
|
47
|
+
private get shouldHideRadioInput();
|
|
48
|
+
private renderPaymentMethodOption;
|
|
49
|
+
private renderSelectedPaymentMethodForm;
|
|
50
|
+
private renderPaymentMethodForm;
|
|
29
51
|
render(): any;
|
|
30
52
|
}
|
|
53
|
+
export {};
|
|
@@ -6,34 +6,34 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
8
|
import { Business, IAdditionalQuestions, IAddress } from "./api/Business";
|
|
9
|
-
import { ComponentClickEvent as ComponentClickEvent1, ComponentErrorCodes, ComponentErrorEvent as ComponentErrorEvent1, ComponentFormStepCompleteEvent as ComponentFormStepCompleteEvent1, ComponentSubmitEvent as ComponentSubmitEvent1, FileSelectEvent, IApiResponse,
|
|
9
|
+
import { ComponentClickEvent as ComponentClickEvent1, ComponentErrorCodes, ComponentErrorEvent as ComponentErrorEvent1, ComponentFormStepCompleteEvent as ComponentFormStepCompleteEvent1, ComponentSubmitEvent as ComponentSubmitEvent1, FileSelectEvent, IApiResponse, ICheckoutPaymentModeParam, ICheckoutStatus, ILoadedEventResponse, IRefund, ITerminalStatus, TerminalModelName, TerminalOrderStatus, TerminalOrderType } from "./api";
|
|
10
10
|
import { ComponentClickEvent, ComponentErrorEvent, ComponentFormStepCompleteEvent, ComponentSubmitEvent } from "./api/ComponentEvents";
|
|
11
11
|
import { Placement, PositioningStrategy } from "@popperjs/core";
|
|
12
12
|
import { EntityDocumentType, FileSelectEvent as FileSelectEvent1 } from "./api/Document";
|
|
13
13
|
import { IPaymentMethodMetadata } from "./api/PaymentMethod";
|
|
14
|
-
import { BillingFormFields
|
|
14
|
+
import { BillingFormFields, FormController } from "./components";
|
|
15
15
|
import { DisputeEvidenceDocument } from "./api/DisputeEvidenceDocument";
|
|
16
16
|
import { DisputeResponseFormStep } from "./components/dispute-management/dispute-response/dispute-response-form-types";
|
|
17
|
-
import { BillingFormFields } from "./components/checkout/billing-form/billing-form-schema";
|
|
18
17
|
import { BillingFormFields as BillingFormFields1 } from "./components/modular-checkout/sub-components/billing-form-schema";
|
|
19
18
|
import { FormController as FormController1 } from "./ui-components/form/form";
|
|
19
|
+
import { BillingFormFields as BillingFormFields2 } from "./components/checkout/billing-form/billing-form-schema";
|
|
20
20
|
import { Dispute, IDispute } from "./api/Dispute";
|
|
21
21
|
import { PaymentMethodOption } from "./components/checkout/payment-method-option-utils";
|
|
22
22
|
import { PaymentMethodPayload } from "./components/checkout/payment-method-payload";
|
|
23
23
|
import { Identity } from "./api/Identity";
|
|
24
24
|
import { PaginationProps } from "./ui-components/pagination-menu/pagination-menu";
|
|
25
25
|
export { Business, IAdditionalQuestions, IAddress } from "./api/Business";
|
|
26
|
-
export { ComponentClickEvent as ComponentClickEvent1, ComponentErrorCodes, ComponentErrorEvent as ComponentErrorEvent1, ComponentFormStepCompleteEvent as ComponentFormStepCompleteEvent1, ComponentSubmitEvent as ComponentSubmitEvent1, FileSelectEvent, IApiResponse,
|
|
26
|
+
export { ComponentClickEvent as ComponentClickEvent1, ComponentErrorCodes, ComponentErrorEvent as ComponentErrorEvent1, ComponentFormStepCompleteEvent as ComponentFormStepCompleteEvent1, ComponentSubmitEvent as ComponentSubmitEvent1, FileSelectEvent, IApiResponse, ICheckoutPaymentModeParam, ICheckoutStatus, ILoadedEventResponse, IRefund, ITerminalStatus, TerminalModelName, TerminalOrderStatus, TerminalOrderType } from "./api";
|
|
27
27
|
export { ComponentClickEvent, ComponentErrorEvent, ComponentFormStepCompleteEvent, ComponentSubmitEvent } from "./api/ComponentEvents";
|
|
28
28
|
export { Placement, PositioningStrategy } from "@popperjs/core";
|
|
29
29
|
export { EntityDocumentType, FileSelectEvent as FileSelectEvent1 } from "./api/Document";
|
|
30
30
|
export { IPaymentMethodMetadata } from "./api/PaymentMethod";
|
|
31
|
-
export { BillingFormFields
|
|
31
|
+
export { BillingFormFields, FormController } from "./components";
|
|
32
32
|
export { DisputeEvidenceDocument } from "./api/DisputeEvidenceDocument";
|
|
33
33
|
export { DisputeResponseFormStep } from "./components/dispute-management/dispute-response/dispute-response-form-types";
|
|
34
|
-
export { BillingFormFields } from "./components/checkout/billing-form/billing-form-schema";
|
|
35
34
|
export { BillingFormFields as BillingFormFields1 } from "./components/modular-checkout/sub-components/billing-form-schema";
|
|
36
35
|
export { FormController as FormController1 } from "./ui-components/form/form";
|
|
36
|
+
export { BillingFormFields as BillingFormFields2 } from "./components/checkout/billing-form/billing-form-schema";
|
|
37
37
|
export { Dispute, IDispute } from "./api/Dispute";
|
|
38
38
|
export { PaymentMethodOption } from "./components/checkout/payment-method-option-utils";
|
|
39
39
|
export { PaymentMethodPayload } from "./components/checkout/payment-method-payload";
|
|
@@ -283,7 +283,7 @@ export namespace Components {
|
|
|
283
283
|
"validate": () => Promise<any>;
|
|
284
284
|
}
|
|
285
285
|
interface JustifiBillingForm {
|
|
286
|
-
"fill": (fields: BillingFormFields) => Promise<
|
|
286
|
+
"fill": (fields: BillingFormFields) => Promise<any>;
|
|
287
287
|
"getValues": () => Promise<BillingFormFields>;
|
|
288
288
|
"hideBankAccountBillingForm"?: boolean;
|
|
289
289
|
"hideCardBillingForm"?: boolean;
|
|
@@ -292,8 +292,9 @@ export namespace Components {
|
|
|
292
292
|
"validate": () => Promise<{ isValid: boolean; errors: any; }>;
|
|
293
293
|
}
|
|
294
294
|
interface JustifiBillingInformationForm {
|
|
295
|
+
"fill": (values: BillingFormFields1) => Promise<any>;
|
|
295
296
|
"getValues": () => Promise<BillingFormFields1>;
|
|
296
|
-
"validate": () => Promise<{ isValid: boolean; }>;
|
|
297
|
+
"validate": () => Promise<{ isValid: boolean; errors: any; }>;
|
|
297
298
|
}
|
|
298
299
|
interface JustifiBusinessBankAccountFormStep {
|
|
299
300
|
"allowOptionalFields"?: boolean;
|
|
@@ -437,7 +438,7 @@ export namespace Components {
|
|
|
437
438
|
* @default false
|
|
438
439
|
*/
|
|
439
440
|
"disablePaymentMethodGroup"?: boolean;
|
|
440
|
-
"fillBillingForm": (fields:
|
|
441
|
+
"fillBillingForm": (fields: BillingFormFields2) => Promise<void>;
|
|
441
442
|
/**
|
|
442
443
|
* @default false
|
|
443
444
|
*/
|
|
@@ -587,23 +588,9 @@ export namespace Components {
|
|
|
587
588
|
*/
|
|
588
589
|
"savePaymentMethod"?: boolean;
|
|
589
590
|
"setSelectedPaymentMethod": (paymentMethodId: string) => Promise<void>;
|
|
590
|
-
"submitCheckout": (submitCheckoutArgs?:
|
|
591
|
+
"submitCheckout": (submitCheckoutArgs?: BillingFormFields) => Promise<void>;
|
|
591
592
|
"validate": () => Promise<boolean>;
|
|
592
593
|
}
|
|
593
|
-
interface JustifiNewPaymentMethod {
|
|
594
|
-
"accountId": string;
|
|
595
|
-
"authToken": string;
|
|
596
|
-
"fillBillingForm": (fields: BillingFormFields) => Promise<void>;
|
|
597
|
-
"hideBankAccountBillingForm"?: boolean;
|
|
598
|
-
"hideCardBillingForm"?: boolean;
|
|
599
|
-
"isSelected": boolean;
|
|
600
|
-
"paymentMethodGroupId"?: string;
|
|
601
|
-
"paymentMethodOption": PaymentMethodOption;
|
|
602
|
-
"resolvePaymentMethod": (insuranceValidation: any) => Promise<PaymentMethodPayload>;
|
|
603
|
-
"showAch"?: boolean;
|
|
604
|
-
"showCard"?: boolean;
|
|
605
|
-
"validate": () => Promise<{ isValid: boolean; errors: any; }>;
|
|
606
|
-
}
|
|
607
594
|
interface JustifiOrderTerminals {
|
|
608
595
|
"accountId": string;
|
|
609
596
|
"authToken": string;
|
|
@@ -633,27 +620,6 @@ export namespace Components {
|
|
|
633
620
|
"authToken": string;
|
|
634
621
|
"paymentId": string;
|
|
635
622
|
}
|
|
636
|
-
interface JustifiPaymentMethodOptions {
|
|
637
|
-
"accountId": string;
|
|
638
|
-
"authToken": string;
|
|
639
|
-
"bnpl": IBnpl;
|
|
640
|
-
"fillBillingForm": (fields: BillingFormFields) => Promise<void>;
|
|
641
|
-
"hideBankAccountBillingForm"?: boolean;
|
|
642
|
-
"hideCardBillingForm"?: boolean;
|
|
643
|
-
"insuranceToggled": boolean;
|
|
644
|
-
"paymentAmount": number;
|
|
645
|
-
"paymentMethodGroupId"?: string;
|
|
646
|
-
"resolvePaymentMethod": (insuranceValidation: any) => Promise<PaymentMethodPayload>;
|
|
647
|
-
/**
|
|
648
|
-
* @default []
|
|
649
|
-
*/
|
|
650
|
-
"savedPaymentMethods": any[];
|
|
651
|
-
"showAch": boolean;
|
|
652
|
-
"showBnpl": boolean;
|
|
653
|
-
"showCard": boolean;
|
|
654
|
-
"showSavedPaymentMethods": boolean;
|
|
655
|
-
"validate": () => Promise<{ isValid: boolean; errors?: any; }>;
|
|
656
|
-
}
|
|
657
623
|
interface JustifiPaymentProvisioning {
|
|
658
624
|
/**
|
|
659
625
|
* @default false
|
|
@@ -746,7 +712,7 @@ export namespace Components {
|
|
|
746
712
|
interface JustifiPostalCodeForm {
|
|
747
713
|
"fill": (fields: BillingFormFields1) => Promise<void>;
|
|
748
714
|
"getValues": () => Promise<BillingFormFields1>;
|
|
749
|
-
"validate": () => Promise<{ isValid: boolean; }>;
|
|
715
|
+
"validate": () => Promise<{ isValid: boolean; errors: any; }>;
|
|
750
716
|
}
|
|
751
717
|
interface JustifiProductOrService {
|
|
752
718
|
"disputeResponse": any;
|
|
@@ -756,6 +722,20 @@ export namespace Components {
|
|
|
756
722
|
"documentErrors": any;
|
|
757
723
|
"validateAndSubmit": (onSuccess: (formData: any, documentList: DisputeEvidenceDocument[], formStep: DisputeResponseFormStep) => void) => Promise<void>;
|
|
758
724
|
}
|
|
725
|
+
interface JustifiRadioListItem {
|
|
726
|
+
/**
|
|
727
|
+
* @default false
|
|
728
|
+
*/
|
|
729
|
+
"checked"?: boolean;
|
|
730
|
+
"class"?: string;
|
|
731
|
+
/**
|
|
732
|
+
* @default false
|
|
733
|
+
*/
|
|
734
|
+
"hidden"?: boolean;
|
|
735
|
+
"label": string;
|
|
736
|
+
"name": string;
|
|
737
|
+
"value": string;
|
|
738
|
+
}
|
|
759
739
|
interface JustifiRefundPayment {
|
|
760
740
|
"accountId": string;
|
|
761
741
|
"authToken": string;
|
|
@@ -866,7 +846,7 @@ export namespace Components {
|
|
|
866
846
|
"authToken"?: string;
|
|
867
847
|
"disableBankAccount"?: boolean;
|
|
868
848
|
"disableCreditCard"?: boolean;
|
|
869
|
-
"fillBillingForm": (fields:
|
|
849
|
+
"fillBillingForm": (fields: BillingFormFields) => Promise<void>;
|
|
870
850
|
"hideBankAccountBillingForm"?: boolean;
|
|
871
851
|
"hideCardBillingForm"?: boolean;
|
|
872
852
|
"hideSubmitButton"?: boolean;
|
|
@@ -875,8 +855,8 @@ export namespace Components {
|
|
|
875
855
|
* @default 'Submit'
|
|
876
856
|
*/
|
|
877
857
|
"submitButtonText": string;
|
|
878
|
-
"tokenizePaymentMethod": (event?:
|
|
879
|
-
"validate": () => Promise<
|
|
858
|
+
"tokenizePaymentMethod": (event?: MouseEvent) => Promise<PaymentMethodPayload>;
|
|
859
|
+
"validate": () => Promise<ValidationResult>;
|
|
880
860
|
}
|
|
881
861
|
interface LegalAddressDetails {
|
|
882
862
|
"legalAddress": IAddress;
|
|
@@ -1129,10 +1109,6 @@ export interface JustifiModularCheckoutCustomEvent<T> extends CustomEvent<T> {
|
|
|
1129
1109
|
detail: T;
|
|
1130
1110
|
target: HTMLJustifiModularCheckoutElement;
|
|
1131
1111
|
}
|
|
1132
|
-
export interface JustifiNewPaymentMethodCustomEvent<T> extends CustomEvent<T> {
|
|
1133
|
-
detail: T;
|
|
1134
|
-
target: HTMLJustifiNewPaymentMethodElement;
|
|
1135
|
-
}
|
|
1136
1112
|
export interface JustifiOrderTerminalsCustomEvent<T> extends CustomEvent<T> {
|
|
1137
1113
|
detail: T;
|
|
1138
1114
|
target: HTMLJustifiOrderTerminalsElement;
|
|
@@ -1173,6 +1149,10 @@ export interface JustifiPayoutsListCustomEvent<T> extends CustomEvent<T> {
|
|
|
1173
1149
|
detail: T;
|
|
1174
1150
|
target: HTMLJustifiPayoutsListElement;
|
|
1175
1151
|
}
|
|
1152
|
+
export interface JustifiRadioListItemCustomEvent<T> extends CustomEvent<T> {
|
|
1153
|
+
detail: T;
|
|
1154
|
+
target: HTMLJustifiRadioListItemElement;
|
|
1155
|
+
}
|
|
1176
1156
|
export interface JustifiRefundPaymentCustomEvent<T> extends CustomEvent<T> {
|
|
1177
1157
|
detail: T;
|
|
1178
1158
|
target: HTMLJustifiRefundPaymentElement;
|
|
@@ -2178,23 +2158,6 @@ declare global {
|
|
|
2178
2158
|
prototype: HTMLJustifiModularCheckoutElement;
|
|
2179
2159
|
new (): HTMLJustifiModularCheckoutElement;
|
|
2180
2160
|
};
|
|
2181
|
-
interface HTMLJustifiNewPaymentMethodElementEventMap {
|
|
2182
|
-
"paymentMethodOptionSelected": any;
|
|
2183
|
-
}
|
|
2184
|
-
interface HTMLJustifiNewPaymentMethodElement extends Components.JustifiNewPaymentMethod, HTMLStencilElement {
|
|
2185
|
-
addEventListener<K extends keyof HTMLJustifiNewPaymentMethodElementEventMap>(type: K, listener: (this: HTMLJustifiNewPaymentMethodElement, ev: JustifiNewPaymentMethodCustomEvent<HTMLJustifiNewPaymentMethodElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2186
|
-
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2187
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2188
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2189
|
-
removeEventListener<K extends keyof HTMLJustifiNewPaymentMethodElementEventMap>(type: K, listener: (this: HTMLJustifiNewPaymentMethodElement, ev: JustifiNewPaymentMethodCustomEvent<HTMLJustifiNewPaymentMethodElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2190
|
-
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2191
|
-
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2192
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2193
|
-
}
|
|
2194
|
-
var HTMLJustifiNewPaymentMethodElement: {
|
|
2195
|
-
prototype: HTMLJustifiNewPaymentMethodElement;
|
|
2196
|
-
new (): HTMLJustifiNewPaymentMethodElement;
|
|
2197
|
-
};
|
|
2198
2161
|
interface HTMLJustifiOrderTerminalsElementEventMap {
|
|
2199
2162
|
"error-event": ComponentErrorEvent1;
|
|
2200
2163
|
"submit-event": any;
|
|
@@ -2247,12 +2210,6 @@ declare global {
|
|
|
2247
2210
|
prototype: HTMLJustifiPaymentDetailsElement;
|
|
2248
2211
|
new (): HTMLJustifiPaymentDetailsElement;
|
|
2249
2212
|
};
|
|
2250
|
-
interface HTMLJustifiPaymentMethodOptionsElement extends Components.JustifiPaymentMethodOptions, HTMLStencilElement {
|
|
2251
|
-
}
|
|
2252
|
-
var HTMLJustifiPaymentMethodOptionsElement: {
|
|
2253
|
-
prototype: HTMLJustifiPaymentMethodOptionsElement;
|
|
2254
|
-
new (): HTMLJustifiPaymentMethodOptionsElement;
|
|
2255
|
-
};
|
|
2256
2213
|
interface HTMLJustifiPaymentProvisioningElementEventMap {
|
|
2257
2214
|
"error-event": ComponentErrorEvent;
|
|
2258
2215
|
}
|
|
@@ -2412,6 +2369,23 @@ declare global {
|
|
|
2412
2369
|
prototype: HTMLJustifiProductOrServiceElement;
|
|
2413
2370
|
new (): HTMLJustifiProductOrServiceElement;
|
|
2414
2371
|
};
|
|
2372
|
+
interface HTMLJustifiRadioListItemElementEventMap {
|
|
2373
|
+
"radio-click": string;
|
|
2374
|
+
}
|
|
2375
|
+
interface HTMLJustifiRadioListItemElement extends Components.JustifiRadioListItem, HTMLStencilElement {
|
|
2376
|
+
addEventListener<K extends keyof HTMLJustifiRadioListItemElementEventMap>(type: K, listener: (this: HTMLJustifiRadioListItemElement, ev: JustifiRadioListItemCustomEvent<HTMLJustifiRadioListItemElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2377
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2378
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2379
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2380
|
+
removeEventListener<K extends keyof HTMLJustifiRadioListItemElementEventMap>(type: K, listener: (this: HTMLJustifiRadioListItemElement, ev: JustifiRadioListItemCustomEvent<HTMLJustifiRadioListItemElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2381
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2382
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2383
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2384
|
+
}
|
|
2385
|
+
var HTMLJustifiRadioListItemElement: {
|
|
2386
|
+
prototype: HTMLJustifiRadioListItemElement;
|
|
2387
|
+
new (): HTMLJustifiRadioListItemElement;
|
|
2388
|
+
};
|
|
2415
2389
|
interface HTMLJustifiRefundPaymentElementEventMap {
|
|
2416
2390
|
"error-event": ComponentErrorEvent1;
|
|
2417
2391
|
"submit-event": ComponentSubmitEvent1;
|
|
@@ -2863,11 +2837,9 @@ declare global {
|
|
|
2863
2837
|
"justifi-legal-address-form-step": HTMLJustifiLegalAddressFormStepElement;
|
|
2864
2838
|
"justifi-legal-address-form-step-core": HTMLJustifiLegalAddressFormStepCoreElement;
|
|
2865
2839
|
"justifi-modular-checkout": HTMLJustifiModularCheckoutElement;
|
|
2866
|
-
"justifi-new-payment-method": HTMLJustifiNewPaymentMethodElement;
|
|
2867
2840
|
"justifi-order-terminals": HTMLJustifiOrderTerminalsElement;
|
|
2868
2841
|
"justifi-owner-form": HTMLJustifiOwnerFormElement;
|
|
2869
2842
|
"justifi-payment-details": HTMLJustifiPaymentDetailsElement;
|
|
2870
|
-
"justifi-payment-method-options": HTMLJustifiPaymentMethodOptionsElement;
|
|
2871
2843
|
"justifi-payment-provisioning": HTMLJustifiPaymentProvisioningElement;
|
|
2872
2844
|
"justifi-payment-provisioning-core": HTMLJustifiPaymentProvisioningCoreElement;
|
|
2873
2845
|
"justifi-payment-provisioning-form-buttons": HTMLJustifiPaymentProvisioningFormButtonsElement;
|
|
@@ -2881,6 +2853,7 @@ declare global {
|
|
|
2881
2853
|
"justifi-payouts-list-filters": HTMLJustifiPayoutsListFiltersElement;
|
|
2882
2854
|
"justifi-postal-code-form": HTMLJustifiPostalCodeFormElement;
|
|
2883
2855
|
"justifi-product-or-service": HTMLJustifiProductOrServiceElement;
|
|
2856
|
+
"justifi-radio-list-item": HTMLJustifiRadioListItemElement;
|
|
2884
2857
|
"justifi-refund-payment": HTMLJustifiRefundPaymentElement;
|
|
2885
2858
|
"justifi-refund-policy": HTMLJustifiRefundPolicyElement;
|
|
2886
2859
|
"justifi-save-new-payment-method": HTMLJustifiSaveNewPaymentMethodElement;
|
|
@@ -3509,18 +3482,6 @@ declare namespace LocalJSX {
|
|
|
3509
3482
|
*/
|
|
3510
3483
|
"savePaymentMethod"?: boolean;
|
|
3511
3484
|
}
|
|
3512
|
-
interface JustifiNewPaymentMethod {
|
|
3513
|
-
"accountId"?: string;
|
|
3514
|
-
"authToken"?: string;
|
|
3515
|
-
"hideBankAccountBillingForm"?: boolean;
|
|
3516
|
-
"hideCardBillingForm"?: boolean;
|
|
3517
|
-
"isSelected"?: boolean;
|
|
3518
|
-
"onPaymentMethodOptionSelected"?: (event: JustifiNewPaymentMethodCustomEvent<any>) => void;
|
|
3519
|
-
"paymentMethodGroupId"?: string;
|
|
3520
|
-
"paymentMethodOption"?: PaymentMethodOption;
|
|
3521
|
-
"showAch"?: boolean;
|
|
3522
|
-
"showCard"?: boolean;
|
|
3523
|
-
}
|
|
3524
3485
|
interface JustifiOrderTerminals {
|
|
3525
3486
|
"accountId"?: string;
|
|
3526
3487
|
"authToken"?: string;
|
|
@@ -3551,24 +3512,6 @@ declare namespace LocalJSX {
|
|
|
3551
3512
|
"onError-event"?: (event: JustifiPaymentDetailsCustomEvent<ComponentErrorEvent>) => void;
|
|
3552
3513
|
"paymentId"?: string;
|
|
3553
3514
|
}
|
|
3554
|
-
interface JustifiPaymentMethodOptions {
|
|
3555
|
-
"accountId"?: string;
|
|
3556
|
-
"authToken"?: string;
|
|
3557
|
-
"bnpl"?: IBnpl;
|
|
3558
|
-
"hideBankAccountBillingForm"?: boolean;
|
|
3559
|
-
"hideCardBillingForm"?: boolean;
|
|
3560
|
-
"insuranceToggled"?: boolean;
|
|
3561
|
-
"paymentAmount"?: number;
|
|
3562
|
-
"paymentMethodGroupId"?: string;
|
|
3563
|
-
/**
|
|
3564
|
-
* @default []
|
|
3565
|
-
*/
|
|
3566
|
-
"savedPaymentMethods"?: any[];
|
|
3567
|
-
"showAch"?: boolean;
|
|
3568
|
-
"showBnpl"?: boolean;
|
|
3569
|
-
"showCard"?: boolean;
|
|
3570
|
-
"showSavedPaymentMethods"?: boolean;
|
|
3571
|
-
}
|
|
3572
3515
|
interface JustifiPaymentProvisioning {
|
|
3573
3516
|
/**
|
|
3574
3517
|
* @default false
|
|
@@ -3678,6 +3621,21 @@ declare namespace LocalJSX {
|
|
|
3678
3621
|
*/
|
|
3679
3622
|
"documentErrors"?: any;
|
|
3680
3623
|
}
|
|
3624
|
+
interface JustifiRadioListItem {
|
|
3625
|
+
/**
|
|
3626
|
+
* @default false
|
|
3627
|
+
*/
|
|
3628
|
+
"checked"?: boolean;
|
|
3629
|
+
"class"?: string;
|
|
3630
|
+
/**
|
|
3631
|
+
* @default false
|
|
3632
|
+
*/
|
|
3633
|
+
"hidden"?: boolean;
|
|
3634
|
+
"label": string;
|
|
3635
|
+
"name": string;
|
|
3636
|
+
"onRadio-click"?: (event: JustifiRadioListItemCustomEvent<string>) => void;
|
|
3637
|
+
"value": string;
|
|
3638
|
+
}
|
|
3681
3639
|
interface JustifiRefundPayment {
|
|
3682
3640
|
"accountId"?: string;
|
|
3683
3641
|
"authToken"?: string;
|
|
@@ -3973,11 +3931,9 @@ declare namespace LocalJSX {
|
|
|
3973
3931
|
"justifi-legal-address-form-step": JustifiLegalAddressFormStep;
|
|
3974
3932
|
"justifi-legal-address-form-step-core": JustifiLegalAddressFormStepCore;
|
|
3975
3933
|
"justifi-modular-checkout": JustifiModularCheckout;
|
|
3976
|
-
"justifi-new-payment-method": JustifiNewPaymentMethod;
|
|
3977
3934
|
"justifi-order-terminals": JustifiOrderTerminals;
|
|
3978
3935
|
"justifi-owner-form": JustifiOwnerForm;
|
|
3979
3936
|
"justifi-payment-details": JustifiPaymentDetails;
|
|
3980
|
-
"justifi-payment-method-options": JustifiPaymentMethodOptions;
|
|
3981
3937
|
"justifi-payment-provisioning": JustifiPaymentProvisioning;
|
|
3982
3938
|
"justifi-payment-provisioning-core": JustifiPaymentProvisioningCore;
|
|
3983
3939
|
"justifi-payment-provisioning-form-buttons": JustifiPaymentProvisioningFormButtons;
|
|
@@ -3991,6 +3947,7 @@ declare namespace LocalJSX {
|
|
|
3991
3947
|
"justifi-payouts-list-filters": JustifiPayoutsListFilters;
|
|
3992
3948
|
"justifi-postal-code-form": JustifiPostalCodeForm;
|
|
3993
3949
|
"justifi-product-or-service": JustifiProductOrService;
|
|
3950
|
+
"justifi-radio-list-item": JustifiRadioListItem;
|
|
3994
3951
|
"justifi-refund-payment": JustifiRefundPayment;
|
|
3995
3952
|
"justifi-refund-policy": JustifiRefundPolicy;
|
|
3996
3953
|
"justifi-save-new-payment-method": JustifiSaveNewPaymentMethod;
|
|
@@ -4105,11 +4062,9 @@ declare module "@stencil/core" {
|
|
|
4105
4062
|
"justifi-legal-address-form-step": LocalJSX.JustifiLegalAddressFormStep & JSXBase.HTMLAttributes<HTMLJustifiLegalAddressFormStepElement>;
|
|
4106
4063
|
"justifi-legal-address-form-step-core": LocalJSX.JustifiLegalAddressFormStepCore & JSXBase.HTMLAttributes<HTMLJustifiLegalAddressFormStepCoreElement>;
|
|
4107
4064
|
"justifi-modular-checkout": LocalJSX.JustifiModularCheckout & JSXBase.HTMLAttributes<HTMLJustifiModularCheckoutElement>;
|
|
4108
|
-
"justifi-new-payment-method": LocalJSX.JustifiNewPaymentMethod & JSXBase.HTMLAttributes<HTMLJustifiNewPaymentMethodElement>;
|
|
4109
4065
|
"justifi-order-terminals": LocalJSX.JustifiOrderTerminals & JSXBase.HTMLAttributes<HTMLJustifiOrderTerminalsElement>;
|
|
4110
4066
|
"justifi-owner-form": LocalJSX.JustifiOwnerForm & JSXBase.HTMLAttributes<HTMLJustifiOwnerFormElement>;
|
|
4111
4067
|
"justifi-payment-details": LocalJSX.JustifiPaymentDetails & JSXBase.HTMLAttributes<HTMLJustifiPaymentDetailsElement>;
|
|
4112
|
-
"justifi-payment-method-options": LocalJSX.JustifiPaymentMethodOptions & JSXBase.HTMLAttributes<HTMLJustifiPaymentMethodOptionsElement>;
|
|
4113
4068
|
"justifi-payment-provisioning": LocalJSX.JustifiPaymentProvisioning & JSXBase.HTMLAttributes<HTMLJustifiPaymentProvisioningElement>;
|
|
4114
4069
|
"justifi-payment-provisioning-core": LocalJSX.JustifiPaymentProvisioningCore & JSXBase.HTMLAttributes<HTMLJustifiPaymentProvisioningCoreElement>;
|
|
4115
4070
|
"justifi-payment-provisioning-form-buttons": LocalJSX.JustifiPaymentProvisioningFormButtons & JSXBase.HTMLAttributes<HTMLJustifiPaymentProvisioningFormButtonsElement>;
|
|
@@ -4123,6 +4078,7 @@ declare module "@stencil/core" {
|
|
|
4123
4078
|
"justifi-payouts-list-filters": LocalJSX.JustifiPayoutsListFilters & JSXBase.HTMLAttributes<HTMLJustifiPayoutsListFiltersElement>;
|
|
4124
4079
|
"justifi-postal-code-form": LocalJSX.JustifiPostalCodeForm & JSXBase.HTMLAttributes<HTMLJustifiPostalCodeFormElement>;
|
|
4125
4080
|
"justifi-product-or-service": LocalJSX.JustifiProductOrService & JSXBase.HTMLAttributes<HTMLJustifiProductOrServiceElement>;
|
|
4081
|
+
"justifi-radio-list-item": LocalJSX.JustifiRadioListItem & JSXBase.HTMLAttributes<HTMLJustifiRadioListItemElement>;
|
|
4126
4082
|
"justifi-refund-payment": LocalJSX.JustifiRefundPayment & JSXBase.HTMLAttributes<HTMLJustifiRefundPaymentElement>;
|
|
4127
4083
|
"justifi-refund-policy": LocalJSX.JustifiRefundPolicy & JSXBase.HTMLAttributes<HTMLJustifiRefundPolicyElement>;
|
|
4128
4084
|
"justifi-save-new-payment-method": LocalJSX.JustifiSaveNewPaymentMethod & JSXBase.HTMLAttributes<HTMLJustifiSaveNewPaymentMethodElement>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
+
export declare class JustifiRadioListItem {
|
|
3
|
+
name: string;
|
|
4
|
+
value: string;
|
|
5
|
+
label: string;
|
|
6
|
+
checked?: boolean;
|
|
7
|
+
hidden?: boolean;
|
|
8
|
+
class?: string;
|
|
9
|
+
radioClick: EventEmitter<string>;
|
|
10
|
+
handleClick: () => void;
|
|
11
|
+
render(): any;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as i,c as s,h as e}from"./p-N3w5zrz2.js";import{r as t,af as r}from"./p-CKg_luIy.js";import{S as a}from"./p-o5iASgog.js";const d=class{constructor(e){i(this,e),this.radioClick=s(this,"radio-click"),this.checked=!1,this.hidden=!1,this.handleClick=()=>{this.radioClick.emit(this.value)}}render(){return e(a,{key:"492a73e2bab02c04aa8733ce0b9ab801e5ff8875"},e("div",{key:"c095a98ba11739b85ece4c7bb0e0c30e7e08ec7b",class:`radio-list-item p-3 ${this.class||""}`,part:t,onClick:this.handleClick,hidden:this.hidden},e("form-control-radio",{key:"e76be985c8c7a69799869e58b9c9b749e7bd363f",name:this.name,value:this.value,checked:this.checked,label:this.label})))}},l=class{constructor(s){i(this,s)}get isPostalOnlyMode(){return"card"===this.paymentMethodType&&this.hideCardBillingForm}get hideAllBillingFields(){return"bankAccount"===this.paymentMethodType&&this.hideBankAccountBillingForm}async getValues(){return this.formRef.getValues()}async fill(i){return this.formRef.fill(i)}async validate(){const{isValid:i,errors:s}=await this.formRef.validate();return{isValid:i,errors:s}}render(){return e("div",{key:"b1d80f02eee8bdc4fe4b9bfd7e9fb86d89af53b3",part:r,class:"mt-4",hidden:this.hideAllBillingFields},!this.isPostalOnlyMode&&!this.hideAllBillingFields&&e("justifi-header",{key:"f3d7d02561a3de2c777b869a8b874fe0e03d1924",text:"Billing address",level:"h3",class:"fs-6 fw-bold lh-lg mb-4"}),this.legend&&e("legend",{key:"9218d5b52eed27d86970e745cbbd9d02c6df513b"},this.legend),e(this.isPostalOnlyMode?"justifi-postal-code-form":"justifi-billing-information-form",{ref:i=>this.formRef=i}))}};export{l as justifi_billing_form,d as justifi_radio_list_item}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,c as i,h as t}from"./p-N3w5zrz2.js";import{c as o,J as r}from"./p-
|
|
1
|
+
import{r as s,c as i,h as t}from"./p-N3w5zrz2.js";import{c as o,J as r}from"./p-ClSZshaa.js";import{C as e,a as n}from"./p-BhrFjjAs.js";import{m as p,a}from"./p-BxfUcCXo.js";import{B as h}from"./p-BJuv5Y2i.js";import{A as m}from"./p-DPnS0F0Y.js";import"./p-C3e-DgwK.js";import"./p-CLHwhyvu.js";import"./p-BlJnA265.js";import"./p-BH0Xfn-F.js";import"./p-BRJ4FIJH.js";import"./p-NqdaxjDT.js";import"./p-CfBKn_Vl.js";import"./p-Dcbfnfn2.js";import"./p-DniBAXrh.js";import"./p-ChzWF0s3.js";import"./p-BFTU3MAI.js";import"./p-Dt-vy9Le.js";import"./p-BX8GieXu.js";const u=m();class d{async postProvisioning(s,i,t){return u.post({endpoint:"entities/provisioning",body:{business_id:i,product_category:t},authToken:s})}}const c=class{constructor(t){s(this,t),this.errorEvent=i(this,"error-event"),this.allowOptionalFields=!1,this.formTitle="Business Information"}propChanged(){this.initializeApi()}componentWillLoad(){o(),this.analytics=new r(this),this.initializeApi()}disconnectedCallback(){var s;null===(s=this.analytics)||void 0===s||s.cleanup()}initializeApi(){this.authToken&&this.businessId?(this.getBusiness=p({authToken:this.authToken,businessId:this.businessId,service:new h}),this.postProvisioning=a({authToken:this.authToken,businessId:this.businessId,product:"payment",service:new d})):this.errorEvent.emit({message:"auth-token and business-id are required",errorCode:n.MISSING_PROPS,severity:e.ERROR})}render(){return t("justifi-payment-provisioning-core",{key:"6d77016584f204fdc4be5fd554b4eb1639e856ab",businessId:this.businessId,authToken:this.authToken,allowOptionalFields:this.allowOptionalFields,formTitle:this.formTitle,getBusiness:this.getBusiness,postProvisioning:this.postProvisioning})}static get watchers(){return{authToken:["propChanged"],businessId:["propChanged"]}}};export{c as justifi_payment_provisioning}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as a}from"./p-N3w5zrz2.js";import{u as d,a as t,b as l}from"./p-1ydcg9ti.js";import{P as s,S as o}from"./p-B-iV5cYd.js";import{G as r}from"./p-CKg_luIy.js";import"./p-Dt-vy9Le.js";import"./p-BX8GieXu.js";const i=class{constructor(a){e(this,a),this.inputHandler=(e,a)=>{d(this.formController,{[e]:a})},this.onAddressFormUpdate=e=>{t(this.formController,Object.assign(Object.assign({},this.formController.values.getValue().address),e))}}render(){var e,d,t,i,c,f,n;return a("form",{key:"e4b7a532e18a921a5a28aab31f679fbbad164198"},a("fieldset",{key:"d7056e5ee25625adb563e2687f581157653c8a9d"},a("div",{key:"456aab0ef1399a7c1d272059c881c6c6f3d0e87c",class:"d-flex align-items-center gap-2"},a("legend",{key:"430b3731bbd97ff1589bd81bd6fdaa4082161180",class:"mb-0",part:r},"Representative"),a("form-control-tooltip",{key:"47676ededb80e0f766cb786265d8fb307c60d125",helpText:"The representative for your business needs to be someone who has significant control over managing your business’s finance. You will have an opportunity to add owners later in the form."})),a("hr",{key:"514197b5bd4868ec29e75dc74367deb187b32063",class:"mt-2"}),a("div",{key:"f2986d55d0bfbf0e6059f0b2a766d2dc603acdc5",class:"row gy-3"},a("div",{key:"e4a3749c5e972f505527b8fc172f9a4214806345",class:"col-12 col-md-8"},a("form-control-text",{key:"d54c8d17f0360277fe04dd91a528e303182495c7",name:"name",label:"Full Name",defaultValue:null===(e=this.representativeDefaultValue)||void 0===e?void 0:e.name,errorText:this.errors.name,inputHandler:this.inputHandler})),a("div",{key:"4fa0b1a192fb39a982c957d202ea2ac1e40dedd8",class:"col-12 col-md-4"},a("form-control-text",{key:"8c3bca4234ea0e7ae3c79d810ffb469637898eb6",name:"title",label:"Title",defaultValue:null===(d=this.representativeDefaultValue)||void 0===d?void 0:d.title,errorText:this.errors.title,inputHandler:this.inputHandler,helpText:"Role at your business, e.g. President, CEO, Treasurer."})),a("div",{key:"7e14a61364883172f2938bd8b1e53883ddd369fe",class:"col-12 col-md-6"},a("form-control-text",{key:"8d9c81d374998dbaea5322906fddb5eeadea1546",name:"email",label:"Email Address",defaultValue:null===(t=this.representativeDefaultValue)||void 0===t?void 0:t.email,errorText:this.errors.email,inputHandler:this.inputHandler})),a("div",{key:"c3f369b226a08497926b26d0732b7dc9d6413559",class:"col-12 col-md-6"},a("form-control-number-masked",{key:"734625aeac8384f2b8676c4d350368675cff3a6f",name:"phone",label:"Phone Number",defaultValue:null===(i=this.representativeDefaultValue)||void 0===i?void 0:i.phone,errorText:this.errors.phone,inputHandler:this.inputHandler,mask:s.US})),a("div",{key:"23d509b724f2617eb0a4f85c74238b09a052a6cb",class:"col-12 col-md-4"},a("form-control-date",{key:"0f838cc474beab9822a84856733a86ecf43f0ec3",name:"dob_full",label:"Birth Date",defaultValue:null===(c=this.representativeDefaultValue)||void 0===c?void 0:c.dob_full,errorText:this.errors.dob_full,inputHandler:this.inputHandler,onFormControlInput:e=>l(e,this.formController),helpText:"Must be 18 or older."})),a("div",{key:"f6d08c53dad2e9a550adf893ac59166015ffb6e4",class:"col-12 col-md-8"},a("form-control-number-masked",{key:"dd610955fb7c62fd0aab9af925af34cdc47ab3e9",name:"identification_number",label:"SSN",defaultValue:null===(f=this.representativeDefaultValue)||void 0===f?void 0:f.identification_number,errorText:this.errors.identification_number,inputHandler:this.inputHandler,mask:o,helpText:"Enter your full Social Security Number. It is required for Federal OFAC check."})),a("div",{key:"d4e2a212a87ca9be4be8e21f3e47008b2201871c",class:"col-12"},a("justifi-identity-address-form",{key:"bb2d0d01e07be4d37acfd448796c8a33460111ed",errors:this.errors.address,defaultValues:null===(n=this.representativeDefaultValue)||void 0===n?void 0:n.address,handleFormUpdate:this.onAddressFormUpdate})))))}};export{i as justifi_business_representative_form_inputs}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as s,h as e,H as i}from"./p-N3w5zrz2.js";import{C as o}from"./p-DR0bMp9p.js";import{r as d}from"./p-CKg_luIy.js";import"./p-ChzWF0s3.js";import"./p-BFTU3MAI.js";const r=class{constructor(e){t(this,e),this.paymentMethodOptionSelected=s(this,"paymentMethodOptionSelected"),this.onPaymentMethodOptionClick=t=>{t.preventDefault(),this.paymentMethodOptionSelected.emit(this.paymentMethodOption)}}async resolvePaymentMethod(t){var s;return t.isValid?{token:null===(s=this.paymentMethodOption)||void 0===s?void 0:s.id}:{validationError:!0}}render(){var t,s,r;return e(i,{key:"5f69545a8ce1bfb45f043c55a82c8f0b2d316d6f",class:"payment-method"},e("div",{key:"85970200bf61dedf1916f5564d2b9dfed9012cd7",class:"radio-list-item p-3",part:d,onClick:this.onPaymentMethodOptionClick},e("form-control-radio",{key:"15ddbf64c39bfe955153b64bc42cf12a1c3147cd",name:"paymentMethodType",value:null===(t=this.paymentMethodOption)||void 0===t?void 0:t.id,checked:this.isSelected,label:`${o[null===(s=this.paymentMethodOption)||void 0===s?void 0:s.brand]||""} *${null===(r=this.paymentMethodOption)||void 0===r?void 0:r.acct_last_four}`})))}};export{r as justifi_saved_payment_method}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as s,h as i}from"./p-N3w5zrz2.js";import{C as r,a as e}from"./p-BhrFjjAs.js";import{c as o,J as p}from"./p-ClSZshaa.js";import{D as a}from"./p-BH0Xfn-F.js";import{g as n,a as h}from"./p-NqdaxjDT.js";import{D as m}from"./p-DZR542ci.js";import"./p-BRJ4FIJH.js";import"./p-DPnS0F0Y.js";import"./p-CfBKn_Vl.js";import"./p-Dcbfnfn2.js";import"./p-DniBAXrh.js";import"./p-ChzWF0s3.js";import"./p-BFTU3MAI.js";import"./p-C3e-DgwK.js";import"./p-CLHwhyvu.js";import"./p-BlJnA265.js";import"./p-Dt-vy9Le.js";import"./p-BX8GieXu.js";const c=class{constructor(i){t(this,i),this.errorEvent=s(this,"error-event"),this.errorMessage=null,this.handleErrorEvent=t=>{this.errorMessage=t.detail.message,this.errorEvent.emit(t.detail)}}componentWillLoad(){o(),this.analytics=new p(this),this.initializeGetDispute()}disconnectedCallback(){var t;null===(t=this.analytics)||void 0===t||t.cleanup()}propChanged(){this.initializeGetDispute()}initializeGetDispute(){this.disputeId&&this.authToken?this.getDispute=(({id:t,authToken:s,service:i})=>async({onSuccess:e,onError:o})=>{var p;try{const m=await i.fetchDispute(t,s);if(m.error)return o({error:h(m.error),code:n(null===(p=m.error)||void 0===p?void 0:p.code),severity:r.ERROR});{const t=Object.assign({},m.page_info);e({dispute:new a(m.data),pagingInfo:t})}}catch(t){const s=n(null==t?void 0:t.code);return o({error:t.message||t,code:s,severity:r.ERROR})}})({id:this.disputeId,authToken:this.authToken,service:new m}):(this.errorMessage="Dispute ID and Auth Token are required",this.errorEvent.emit({message:this.errorMessage,errorCode:e.MISSING_PROPS,severity:r.ERROR}))}render(){return i("justifi-dispute-management-core",{key:"8c800827aaa9d549a734ea05698763685e160a98",getDispute:this.getDispute,disputeId:this.disputeId,authToken:this.authToken,"onError-event":this.handleErrorEvent})}static get watchers(){return{disputeId:["propChanged"],authToken:["propChanged"]}}};export{c as justifi_dispute_management}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,c as i,h as t}from"./p-N3w5zrz2.js";import{E as r}from"./p-
|
|
1
|
+
import{r as s,c as i,h as t}from"./p-N3w5zrz2.js";import{E as r}from"./p-D0I-tRSs.js";import{B as o}from"./p-BJuv5Y2i.js";import{m as p}from"./p-DKClunJd.js";import{C as e,a as n}from"./p-BhrFjjAs.js";import{c as h,J as m}from"./p-ClSZshaa.js";import"./p-CKg_luIy.js";import"./p-DPnS0F0Y.js";import"./p-CfBKn_Vl.js";import"./p-Dcbfnfn2.js";import"./p-DniBAXrh.js";import"./p-ChzWF0s3.js";import"./p-BFTU3MAI.js";import"./p-C3e-DgwK.js";import"./p-BH0Xfn-F.js";import"./p-CLHwhyvu.js";import"./p-BlJnA265.js";import"./p-Dt-vy9Le.js";import"./p-BX8GieXu.js";import"./p-NqdaxjDT.js";import"./p-BRJ4FIJH.js";const a=class{constructor(t){s(this,t),this.errorEvent=i(this,"error-event"),this.errorMessage=null,this.handleErrorEvent=s=>{this.errorMessage=s.detail.message,this.errorEvent.emit(s.detail)}}componentWillLoad(){h(),this.analytics=new m(this),this.initializeGetBusiness()}disconnectedCallback(){var s;null===(s=this.analytics)||void 0===s||s.cleanup()}initializeGetBusiness(){if(!this.businessId||!this.authToken)return this.errorMessage="Invalid business id or auth token",void this.errorEvent.emit({errorCode:n.MISSING_PROPS,message:this.errorMessage,severity:e.ERROR});this.getBusiness=p({id:this.businessId,authToken:this.authToken,service:new o})}render(){return this.errorMessage?r(this.errorMessage):t("business-details-core",{getBusiness:this.getBusiness,"onError-event":this.handleErrorEvent})}};export{a as justifi_business_details}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{A as o}from"./p-DPnS0F0Y.js";import{C as s}from"./p-BhrFjjAs.js";import{S as r}from"./p-C3e-DgwK.js";import"./p-CLHwhyvu.js";import"./p-BlJnA265.js";import"./p-BH0Xfn-F.js";import"./p-CfBKn_Vl.js";import"./p-ChzWF0s3.js";import{g as t,a as n}from"./p-NqdaxjDT.js";const c=o();class a{async fetchSubAccounts(o,s,r){return c.get({authToken:s,endpoint:"sub_accounts",params:r,headers:{Account:o}})}}const e=({accountId:o,authToken:c,service:a})=>async({params:e,onSuccess:p,onError:i})=>{var u,m;try{const j=await a.fetchSubAccounts(o,c,e);if(j.error){return i({error:n(j.error),code:t(null===(m=j.error)||void 0===m?void 0:m.code),severity:s.ERROR})}{const o=Object.assign({},j.page_info);p({subAccounts:(null===(u=j.data)||void 0===u?void 0:u.map((o=>new r(o))))||[],pagingInfo:o})}}catch(o){const r=t(null==o?void 0:o.code);return i({error:o.message||o,code:r,severity:s.ERROR})}};export{a as S,e as m}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,h as t}from"./p-N3w5zrz2.js";import{E as a}from"./p-
|
|
1
|
+
import{r as s,h as t}from"./p-N3w5zrz2.js";import{E as a}from"./p-D0I-tRSs.js";import"./p-CKg_luIy.js";const e=class{constructor(t){s(this,t)}render(){return t("div",{key:"3c1c4e729711c6676c176a5a04228ec7ebb7acfa"},this.errorMessage?a(this.errorMessage):t("main",{class:"p-2"},t("slot",{name:"head-info"}),t("slot",{name:"detail-sections"})))}};export{e as justifi_details}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as e,c as s,H as i,a as o}from"./p-N3w5zrz2.js";import{D as a,r}from"./p-CKg_luIy.js";import{f as n}from"./p-DniBAXrh.js";import{c,o as d}from"./p-BtT7kqMw.js";import{S as l}from"./p-o5iASgog.js";import"./p-CZfYo5-1.js";import{J as h,c as u}from"./p-ClSZshaa.js";import"./p-CfBKn_Vl.js";import"./p-ChzWF0s3.js";import{C as m,a as p}from"./p-BhrFjjAs.js";import"./p-C3e-DgwK.js";import"./p-CLHwhyvu.js";import"./p-BlJnA265.js";import"./p-BH0Xfn-F.js";import{g as f,a as v}from"./p-NqdaxjDT.js";import{C as y}from"./p-RXUoM7A2.js";import{b,i as k}from"./p-xIyLUOJ6.js";import{C as j}from"./p-DR0bMp9p.js";import"./p-Dcbfnfn2.js";import"./p-BRJ4FIJH.js";import"./p-DPnS0F0Y.js";import"./p-BFTU3MAI.js";import"./p-Dt-vy9Le.js";import"./p-BX8GieXu.js";const C=class{constructor(e){t(this,e)}render(){return e(l,{key:"1bafeffc42f1e98f50551ca971f52e8294782168"},e("section",{key:"bf1a89bf030ae5a953abe092d0a5c543ed7f543f"},e("div",{key:"ce0b98733c2e158c1caef43b751513a0565ecfc6"},e("div",{key:"8d0525c31ac3a93a5ce1aa2afde5c9bd7da26dc0",part:a},null==c?void 0:c.paymentDescription),e("div",{key:"7885858ddcd2819522fa08fbbc2d3dce2f0132f6"},e("span",{key:"57ce1d9a9dd1269c4d958c78210565e9cb68d22a",part:a},"Total")," ",e("span",{key:"0b6673bd2c841cb0e50db93c148bfe15f96b577a",part:a},n(+(null==c?void 0:c.totalAmount)))))))}},g=class{constructor(e){t(this,e),this.errorEvent=s(this,"error-event"),this.submitEvent=s(this,"submit-event"),this.paymentMethodChangedEvent=s(this,"payment-method-changed"),this.savePaymentMethod=!1}connectedCallback(){this.observer=new MutationObserver((()=>{this.queryFormRefs()})),this.observer.observe(this.hostEl,{childList:!0,subtree:!0}),c.checkoutId=this.checkoutId;const t={authToken:this.authToken,checkoutId:this.checkoutId,service:new y};this.getCheckout=(({authToken:t,checkoutId:e,service:s})=>async({onSuccess:i,onError:o})=>{var a;try{const r=await s.fetchCheckout(t,e);if(r.error)return o({error:v(r.error),code:f(null===(a=r.error)||void 0===a?void 0:a.code),severity:m.ERROR});i({checkout:r.data})}catch(t){const e=f(null==t?void 0:t.code);return o({error:t.message||t,code:e,severity:m.ERROR})}})(t),this.completeCheckout=(({authToken:t,checkoutId:e,service:s})=>async({payment:i,onSuccess:o,onError:a})=>{var r;try{const n=await s.complete(t,e,i);if(n.error)return a({error:v(n.error),code:f(null===(r=n.error)||void 0===r?void 0:r.code),severity:m.ERROR});o(n)}catch(t){const e=f(null==t?void 0:t.code);return a({error:t.message||t,code:e,severity:m.ERROR})}})(t),d("selectedPaymentMethod",(t=>{this.paymentMethodChangedEvent.emit(t)}))}componentWillLoad(){this.analytics=new h(this),u(),c.authToken=this.authToken,this.fetchCheckout(),b("set",(t=>{void 0!==k[t]&&this.fetchCheckout()}))}componentDidLoad(){this.queryFormRefs()}disconnectedCallback(){var t;null===(t=this.observer)||void 0===t||t.disconnect()}fetchCheckout(){this.getCheckout&&this.getCheckout({onSuccess:({checkout:t})=>{this.updateStore(t)},onError:t=>{this.errorEvent.emit({message:t.message,errorCode:p.FETCH_ERROR,severity:m.ERROR})}})}updateStore(t){var e,s,i,o;c.accountId=t.account_id,c.paymentMethods=t.payment_methods,c.paymentMethodGroupId=t.payment_method_group_id,c.paymentDescription=t.payment_description,c.totalAmount=t.total_amount,c.paymentAmount=t.payment_amount,c.bnplEnabled=t.payment_settings.bnpl_payments,c.bnplProviderClientId=null===(e=null==t?void 0:t.bnpl)||void 0===e?void 0:e.provider_client_id,c.bnplProviderMode=null===(s=null==t?void 0:t.bnpl)||void 0===s?void 0:s.provider_mode,c.bnplProviderApiVersion=null===(i=null==t?void 0:t.bnpl)||void 0===i?void 0:i.provider_api_version,c.bnplProviderCheckoutUrl=null===(o=null==t?void 0:t.bnpl)||void 0===o?void 0:o.provider_checkout_url}queryFormRefs(){this.paymentMethodFormRef=this.hostEl.querySelector("justifi-card-form, justifi-bank-account-form"),this.tokenizeComponentRef=this.hostEl.querySelector("justifi-tokenize-payment-method"),this.billingInformationFormRef=this.hostEl.querySelector("justifi-billing-information-form, justifi-postal-code-form"),this.insuranceFormRef=this.hostEl.querySelector("justifi-season-interruption-insurance"),this.sezzlePaymentMethodRef=this.hostEl.querySelector("justifi-sezzle-payment-method")}async tokenizePaymentMethod(t){var e,s;const i=null!==(s=await(null===(e=this.billingInformationFormRef)||void 0===e?void 0:e.getValues()))&&void 0!==s?s:{},o=Object.assign(Object.assign({},t),i),a=Object.assign({accountId:c.accountId,payment_method_group_id:void 0},o);if(this.savePaymentMethod&&(a.payment_method_group_id=c.paymentMethodGroupId),this.tokenizeComponentRef){const t=await this.tokenizeComponentRef.tokenizePaymentMethod();if(t.error)return t}return this.paymentMethodFormRef.tokenize({clientId:this.authToken,paymentMethodMetadata:a,account:c.accountId})}async getPaymentMethod(t){if(!this.paymentMethodFormRef)return c.selectedPaymentMethod;const{error:e,id:s}=await this.tokenizePaymentMethod(t);if(!e)return s;this.errorEvent.emit({errorCode:e.code,message:e.message,severity:m.ERROR})}async validate(){var t,e;const s=[null===(t=this.paymentMethodFormRef)||void 0===t?void 0:t.validate(),null===(e=this.billingInformationFormRef)||void 0===e?void 0:e.validate()];return this.insuranceFormRef&&s.push(this.insuranceFormRef.validate()),(await Promise.all(s)).every((t=>!1!==(null==t?void 0:t.isValid)))}async submitCheckout(t){var e;if(!await this.validate())return void this.errorEvent.emit({message:"Please fill in all required fields.",errorCode:p.VALIDATION_ERROR,severity:m.ERROR});let s;if("sezzle"===c.selectedPaymentMethod){const t=this.insuranceFormRef?await this.insuranceFormRef.validate():{isValid:!0},i=await this.sezzlePaymentMethodRef.resolvePaymentMethod(t);if(i.error)return void this.errorEvent.emit({message:i.error.message,errorCode:p.TOKENIZE_ERROR,severity:m.ERROR});"success"===(null===(e=i.bnpl)||void 0===e?void 0:e.status)&&(s={payment_mode:"bnpl",payment_token:void 0})}else{const e=await this.getPaymentMethod(t);if(!e)return void this.errorEvent.emit({message:"Payment method tokenization failed.",errorCode:p.TOKENIZE_ERROR,severity:m.ERROR});s={payment_mode:"ecom",payment_token:e}}this.completeCheckout({payment:s,onSuccess:({checkout:t})=>{this.submitEvent.emit({checkout:t,message:"Checkout completed successfully"})},onError:t=>{this.errorEvent.emit({message:t.message,errorCode:p.COMPLETE_CHECKOUT_ERROR,severity:m.ERROR})}})}async setSelectedPaymentMethod(t){c.selectedPaymentMethod=t}render(){return e(i,{key:"6949f68031572493fae333731c78cc07ccd7fafd"})}get hostEl(){return o(this)}},z=class{constructor(e){t(this,e),this.onPaymentMethodOptionClick=t=>e=>{e.preventDefault(),c.selectedPaymentMethod=t},this.isAllowedPaymentMethod=t=>!("card"===t.type&&c.disableCreditCard||"bank_account"===t.type&&c.disableBankAccount)}componentWillLoad(){c.paymentMethods.length||console.warn("No saved payment methods available."),c.disablePaymentMethodGroup&&console.warn("Payment method group is disabled.")}render(){return c.disablePaymentMethodGroup?null:e(l,null,e("div",{class:"saved-payment-methods"},c.paymentMethods.length?c.paymentMethods.filter(this.isAllowedPaymentMethod).map((t=>e("div",{class:"radio-list-item p-3",part:r,onClick:this.onPaymentMethodOptionClick(null==t?void 0:t.id)},e("form-control-radio",{name:"paymentMethodType",value:null==t?void 0:t.id,checked:c.selectedPaymentMethod===(null==t?void 0:t.id),label:`${j[null==t?void 0:t.brand]||""} *${null==t?void 0:t.acct_last_four}`})))):null))}},w=e("img",{class:"sezzle-smart-button-logo-img",src:"https://media.sezzle.com/branding/2.0/Sezzle_Logo_FullColor.svg",alt:"Sezzle",style:{display:"inline",width:"80px",marginLeft:"5px",marginTop:"-5px"}}),_=class{constructor(e){t(this,e),this.paymentMethodOptionSelected=s(this,"paymentMethodOptionSelected"),this.paymentMethodOptionId="sezzle",this.onPaymentMethodOptionClick=t=>{t.preventDefault(),c.selectedPaymentMethod=this.paymentMethodOptionId,this.paymentMethodOptionSelected.emit(this.paymentMethodOptionId)},this.initializeSezzleCheckout=()=>{let t;this.sezzlePromise=new Promise((e=>{t=e}));const e=Number(c.paymentAmount),s=new(0,window.Checkout)({mode:"popup",publicKey:c.bnplProviderClientId,apiMode:c.bnplProviderMode,apiVersion:c.bnplProviderApiVersion});s.sezzleButtonElement=this.sezzleButtonRef,s.init({onClick:function(t){t.preventDefault(),s.startCheckout({checkout_url:c.bnplProviderCheckoutUrl})},onComplete:e=>t({bnpl:e.data}),onCancel:e=>t({bnpl:e.data}),onFailure:e=>t({bnpl:e.data})}),this.sezzleCheckout=s,this.installmentPlan=this.sezzleCheckout.getInstallmentPlan(e)}}componentDidRender(){this.scriptRef&&(this.scriptRef.onload=()=>{this.sezzleButtonRef=document.createElement("button"),this.initializeSezzleCheckout()})}async resolvePaymentMethod(t){return t.isValid?(this.sezzleButtonRef.click(),this.sezzlePromise):{validationError:!0}}render(){var t,s;return!c.bnplEnabled||c.disableBnpl?(console.warn("justifi-sezzle-payment-method: BNPL is not enabled for this account."),null):e(l,{class:"payment-method"},e("script",{src:"https://checkout-sdk.sezzle.com/checkout.min.js",async:!0,ref:t=>this.scriptRef=t}),e("div",{class:"radio-list-item p-3",part:r,onClick:this.onPaymentMethodOptionClick},e("form-control-radio",{name:"paymentMethodType",value:this.paymentMethodOptionId,checked:c.selectedPaymentMethod===this.paymentMethodOptionId,label:e("div",null,e("div",null,"Buy now, pay later with ",w),this.installmentPlan&&e("small",null,e("span",null,null===(t=this.installmentPlan)||void 0===t?void 0:t.installments.length)," ",e("span",null,this.installmentPlan.schedule," payments of")," ",e("span",{class:"fw-bold"},n(null===(s=this.installmentPlan)||void 0===s?void 0:s.installments[0].amountInCents))))})))}},M=class{constructor(e){t(this,e)}render(){return e(l,{key:"a8c7ba94cf471c0b12f65c6fa9be1d1b6fc28910",class:"payment-method"},e("div",{key:"fae8daae8c7b3d00a5ba7a713522766bfe41dfae",class:"radio-list-item p-3",part:r,onClick:this.clickHandler,hidden:this.radioButtonHidden},e("form-control-radio",{key:"51b8f509374e771c9e0cd7ff463c8a3d3b9d9a35",name:"paymentMethodType",value:this.paymentMethodOptionId,checked:this.isSelected,label:this.label})))}};export{C as justifi_checkout_summary,g as justifi_modular_checkout,z as justifi_saved_payment_methods,_ as justifi_sezzle_payment_method,M as payment_method_option}
|