@justifi/webcomponents 6.7.2 → 6.7.3
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-QUTWjGTy.js → Api-CVbEWBG6.js} +1 -1
- package/dist/cjs/{Business-DWHy_-z9.js → Business-uoeKyW_a.js} +5 -0
- package/dist/cjs/{GooglePay-BwiJ_80p.js → GooglePay-CbKCUEfb.js} +1 -1
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -3
- package/dist/cjs/{badge-Cc87HAsf.js → badge-DkOPisAV.js} +2 -2
- package/dist/cjs/bank-account-document-form-inputs_8.cjs.entry.js +29 -26
- package/dist/cjs/bank-account-form.cjs.entry.js +7 -7
- package/dist/cjs/{business-additional-questions-schema-Y1mXnwUT.js → business-additional-questions-schema-BtOuMq_U.js} +5 -3
- package/dist/cjs/business-details-core.cjs.entry.js +7 -7
- package/dist/cjs/{business-form-options-e9UFw4P-.js → business-form-options-D1r-wJpo.js} +1 -1
- package/dist/cjs/{business-identity-schema-D_OO0Suf.js → business-identity-schema-CMvq6f8m.js} +6 -2
- package/dist/cjs/{business.service-q93NsTG_.js → business.service-DR4Ce5XV.js} +3 -3
- package/dist/cjs/{button-fUPGXjU_.js → button-C2p1BMP-.js} +2 -2
- package/dist/cjs/card-form.cjs.entry.js +7 -7
- package/dist/cjs/{check-pkg-version-BG-Rfkh5.js → check-pkg-version-Bs_9oZb4.js} +4 -4
- package/dist/cjs/{checkout.service-CwelwhrT.js → checkout.service-CQqd4X4y.js} +3 -3
- package/dist/cjs/checkouts-list-core.cjs.entry.js +14 -14
- package/dist/cjs/{payments-list-params-state-DfZySwaC.js → checkouts-list-params-state-vGJZ6Oe2.js} +1 -1
- package/dist/cjs/{checkouts-table-BBtqxG2F.js → checkouts-table-DftTbgXr.js} +3 -3
- package/dist/cjs/{config-state-CYoBVAca.js → config-state-BIgGhhe9.js} +1 -1
- package/dist/cjs/{country-config-MCOhn8o3.js → country-config-DGi9t3Ma.js} +1 -1
- package/dist/cjs/custom-popper_2.cjs.entry.js +6 -6
- package/dist/cjs/{dispute.service-q5ha39uN.js → dispute.service-aok1_zRv.js} +3 -3
- package/dist/cjs/form-alert_5.cjs.entry.js +11 -11
- package/dist/cjs/form-control-checkbox.cjs.entry.js +11 -8
- package/dist/cjs/form-control-date.cjs.entry.js +7 -7
- package/dist/cjs/{form-control-error-text-Dg_65HGK.js → form-control-error-text-BC5aRpfl.js} +2 -2
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +17 -10
- package/dist/cjs/{form-control-help-text-tB5u1-5M.js → form-control-help-text-B2yMic8i.js} +2 -2
- package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +12 -8
- package/dist/cjs/form-control-monetary.cjs.entry.js +8 -8
- package/dist/cjs/form-control-number-masked_3.cjs.entry.js +13 -11
- package/dist/cjs/{owner-form-core_2.cjs.entry.js → form-control-number_3.cjs.entry.js} +71 -18
- package/dist/cjs/form-control-radio.cjs.entry.js +9 -6
- package/dist/cjs/form-control-select_2.cjs.entry.js +11 -11
- package/dist/cjs/{get-business-D9ZHyPem.js → get-business-CtsxSYA6.js} +1 -1
- package/dist/cjs/{get-payment-details-DidIAK2i.js → get-payment-details-tCICJHBb.js} +3 -3
- package/dist/cjs/{get-subaccounts-BE_wcfM7.js → get-subaccounts-BcsCQAVN.js} +4 -4
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +6 -6
- package/dist/cjs/{header-1-Bqejh9no.js → header-1-B-nd_U7n.js} +2 -2
- package/dist/cjs/{header-3-DQ649Me2.js → header-3--BEJGMFA.js} +2 -2
- package/dist/cjs/hidden-input_2.cjs.entry.js +10 -10
- package/dist/cjs/{index-mmd0OhmD.js → index-W-zoNiyM.js} +90 -21
- package/dist/cjs/index-p7cvUYAE.js +4450 -0
- package/dist/cjs/{input-handlers-D6QMwPTB.js → input-handlers-DaRKFvGI.js} +1 -1
- package/dist/cjs/{insurance-state-DsGnIHMM.js → insurance-state-CiVJ5e26.js} +3 -3
- package/dist/cjs/internal-tokenize-payment-method_7.cjs.entry.js +23 -23
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +78 -57
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +10 -10
- package/dist/cjs/justifi-apple-pay_8.cjs.entry.js +34 -34
- package/dist/cjs/justifi-bank-account-billing-form-simple_3.cjs.entry.js +10 -10
- package/dist/cjs/justifi-business-details.cjs.entry.js +13 -13
- package/dist/cjs/justifi-business-form.cjs.entry.js +22 -22
- package/dist/cjs/justifi-checkout.cjs.entry.js +15 -15
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +10 -10
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +16 -16
- package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
- package/dist/cjs/justifi-details.cjs.entry.js +4 -4
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +3 -3
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +11 -11
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +25 -25
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +11 -11
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +17 -17
- package/dist/cjs/justifi-payment-details.cjs.entry.js +14 -14
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +23 -11
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +11 -11
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +16 -16
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payments-list.cjs.entry.js +16 -16
- package/dist/cjs/justifi-payout-details.cjs.entry.js +12 -12
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +16 -16
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +17 -17
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +16 -16
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +4 -4
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +14 -14
- package/dist/cjs/justifi-skeleton.cjs.entry.js +5 -5
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +10 -10
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +14 -14
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +9 -9
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +16 -16
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{package-Df5lTFe6.js → package-DcGEg97O.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +2 -2
- package/dist/cjs/{parts-BVbaniVM.js → parts-BsBVknuf.js} +1 -0
- package/dist/cjs/payment-details-core.cjs.entry.js +20 -20
- package/dist/cjs/payment-method-option.cjs.entry.js +4 -4
- package/dist/cjs/payment-provisioning-loading-B3hvtd9o.js +12 -0
- package/dist/cjs/{payment.service-CyHFdJ7n.js → payment.service-B4ACB8Q3.js} +3 -3
- package/dist/cjs/payments-list-core.cjs.entry.js +15 -15
- package/dist/cjs/{payouts-list-params-state-DfZySwaC.js → payments-list-params-state-vGJZ6Oe2.js} +1 -1
- package/dist/cjs/{payments-status-BP4u31jU.js → payments-status-BAR25wA6.js} +2 -2
- package/dist/cjs/{payments-table-CWXVhECV.js → payments-table-BLJ54fGU.js} +3 -3
- package/dist/cjs/payout-details-core.cjs.entry.js +13 -13
- package/dist/cjs/{payout.service-Half-hdB.js → payout.service-qVbNnemO.js} +3 -3
- package/dist/cjs/payouts-list-core.cjs.entry.js +15 -15
- package/dist/cjs/{checkouts-list-params-state-DfZySwaC.js → payouts-list-params-state-vGJZ6Oe2.js} +1 -1
- package/dist/cjs/{payouts-status-CM5Zy-0J.js → payouts-status-uZAaS1RP.js} +2 -2
- package/dist/cjs/{payouts-table-ZLTcfkUm.js → payouts-table-C4jZJ8rq.js} +3 -3
- package/dist/cjs/{schema-validations-Bf2mk2xU.js → schema-validations-DYYDrVol.js} +19 -3
- package/dist/cjs/{skeleton-B8dzxFFr.js → skeleton-BGGMhPJj.js} +2 -2
- package/dist/cjs/{spinner-jHyLNCGO.js → spinner-CV2CNXOQ.js} +2 -2
- package/dist/cjs/{styled-host-D5g7INLE.js → styled-host-DAi5SuFa.js} +1 -1
- package/dist/cjs/{table-CrtpRwGN.js → table-eTN_pRIP.js} +3 -3
- package/dist/cjs/table-filters-menu.cjs.entry.js +4 -4
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +14 -14
- package/dist/cjs/{terminal-orders-list-params-state-DfZySwaC.js → terminal-orders-list-params-state-vGJZ6Oe2.js} +1 -1
- package/dist/cjs/{terminal-orders-table-DT53anT3.js → terminal-orders-table-C2jG4WQa.js} +6 -6
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +4 -4
- package/dist/cjs/{terminal.service-CFt55QNO.js → terminal.service-D1ohedi-.js} +3 -3
- package/dist/cjs/terminals-list-core.cjs.entry.js +14 -14
- package/dist/cjs/terminals-list-params-state-vGJZ6Oe2.js +22 -0
- package/dist/cjs/{terminals-table-DahpSz98.js → terminals-table-DZz8k4tP.js} +3 -3
- package/dist/cjs/{utils-CMiA4X7s.js → utils-T6hRmGuY.js} +2 -2
- package/dist/cjs/webcomponents.cjs.js +30 -3
- package/dist/collection/api/Business.js +2 -0
- package/dist/collection/api/Identity.js +3 -0
- package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +1 -1
- package/dist/collection/components/business-details/business-details-core.js +2 -2
- package/dist/collection/components/business-details/business-details.js +2 -2
- package/dist/collection/components/business-details/core-info-details/core-info-details.js +1 -1
- package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +1 -1
- package/dist/collection/components/business-details/owner-details/owner-details.js +1 -1
- package/dist/collection/components/business-details/representative-details/representative-details.js +1 -1
- package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +2 -2
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +4 -4
- package/dist/collection/components/business-forms/business-form/business-form.js +2 -2
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +4 -4
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +3 -3
- package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +5 -5
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +6 -6
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +7 -7
- package/dist/collection/components/business-forms/owner-form/owner-form.js +4 -4
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +4 -4
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +4 -4
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.js +5 -5
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +5 -5
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +3 -3
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +3 -3
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +35 -7
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +6 -6
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.js +4 -4
- package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +19 -11
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +20 -8
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +7 -7
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +6 -6
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +3 -3
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +3 -3
- package/dist/collection/components/business-forms/schemas/business-additional-questions-schema.js +2 -0
- package/dist/collection/components/business-forms/schemas/business-identity-schema.js +5 -1
- package/dist/collection/components/business-forms/schemas/schema-validations.js +15 -0
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
- package/dist/collection/components/checkout/card-form/card-form.js +2 -2
- package/dist/collection/components/checkout/checkout.js +23 -4
- package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
- package/dist/collection/components/checkout/saved-payment-method.js +3 -3
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +4 -4
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +2 -2
- package/dist/collection/components/checkouts-list/checkouts-list.js +3 -3
- package/dist/collection/components/dispute-management/dispute-management-core.js +4 -4
- package/dist/collection/components/dispute-management/dispute-management.js +3 -3
- package/dist/collection/components/dispute-management/dispute-notification.js +5 -5
- package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +2 -2
- package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +2 -2
- package/dist/collection/components/dispute-management/dispute-response/customer-details.js +2 -2
- 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 +4 -4
- package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +2 -2
- package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +2 -2
- package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +2 -2
- package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +2 -2
- package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +2 -2
- package/dist/collection/components/filters/table-filters-menu.js +3 -3
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +2 -2
- package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +2 -2
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +7 -7
- package/dist/collection/components/modular-checkout/modular-checkout.js +3 -3
- package/dist/collection/components/modular-checkout/sub-components/apple-pay.js +3 -0
- package/dist/collection/components/modular-checkout/sub-components/bank-account-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
- package/dist/collection/components/modular-checkout/sub-components/card-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/card-form.js +2 -2
- package/dist/collection/components/modular-checkout/sub-components/google-pay.js +2 -2
- package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +6 -6
- package/dist/collection/components/modular-checkout/sub-components/summary.js +1 -1
- package/dist/collection/components/order-terminals/order-terminals.js +4 -4
- package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +5 -5
- package/dist/collection/components/payment-details/payment-details-core.js +9 -9
- package/dist/collection/components/payment-details/payment-details.js +2 -2
- package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +3 -3
- package/dist/collection/components/payments-list/payments-list-core.js +3 -3
- package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
- package/dist/collection/components/payments-list/payments-list.js +3 -3
- package/dist/collection/components/payout-details/payout-details-core.js +5 -5
- package/dist/collection/components/payout-details/payout-details.js +2 -2
- package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +3 -3
- package/dist/collection/components/payouts-list/payouts-list-core.js +5 -5
- package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
- package/dist/collection/components/payouts-list/payouts-list.js +3 -3
- package/dist/collection/components/refund-payment/refund-payment.js +3 -3
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +3 -3
- 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 +3 -3
- package/dist/collection/components/terminals-list/terminals-list-core.js +4 -4
- package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list.js +3 -3
- package/dist/collection/components/tokenize-payment-method/internal-tokenize-payment-method.js +1 -1
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +1 -1
- package/dist/collection/ui-components/custom-popper/custom-popper.js +3 -3
- package/dist/collection/ui-components/details/details.js +2 -2
- package/dist/collection/ui-components/form/form-control-checkbox.js +16 -10
- package/dist/collection/ui-components/form/form-control-date.js +5 -5
- package/dist/collection/ui-components/form/form-control-file-v2.js +16 -8
- package/dist/collection/ui-components/form/form-control-file.js +16 -10
- package/dist/collection/ui-components/form/form-control-monetary.js +5 -5
- package/dist/collection/ui-components/form/form-control-number-masked.js +14 -10
- package/dist/collection/ui-components/form/form-control-number.js +10 -8
- package/dist/collection/ui-components/form/form-control-radio.js +18 -12
- package/dist/collection/ui-components/form/form-control-select.js +6 -6
- package/dist/collection/ui-components/form/form-control-text.js +5 -5
- package/dist/collection/ui-components/form/form-control-textarea.js +19 -11
- package/dist/collection/ui-components/form/form-helpers/form-alert/form-alert.js +2 -2
- package/dist/collection/ui-components/form/form-helpers/form-control-help-text/form-control-help-text.js +2 -2
- package/dist/collection/ui-components/form/form-helpers/form-control-tooltip/form-control-tooltip.js +1 -1
- package/dist/collection/ui-components/form/hidden-input.js +1 -1
- package/dist/collection/ui-components/form/iframe-input.js +6 -6
- package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +2 -2
- package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
- package/dist/docs.json +577 -277
- package/dist/esm/{Api-Dln8a6No.js → Api-ohkSjyhl.js} +1 -1
- package/dist/esm/{Business-B5rtFhtR.js → Business-CHJTjG_5.js} +5 -0
- package/dist/esm/{GooglePay-NNHE-OLJ.js → GooglePay-5EiPffHy.js} +1 -1
- package/dist/esm/additional-questions-details_5.entry.js +3 -3
- package/dist/esm/{badge-DtrH25ss.js → badge-BW9VFFkp.js} +2 -2
- package/dist/esm/bank-account-document-form-inputs_8.entry.js +29 -26
- package/dist/esm/bank-account-form.entry.js +7 -7
- package/dist/esm/{business-additional-questions-schema-woG5-pgK.js → business-additional-questions-schema-DQb10ehS.js} +5 -3
- package/dist/esm/business-details-core.entry.js +7 -7
- package/dist/esm/{business-form-options-D6s5H4RI.js → business-form-options-Bm89rMmk.js} +1 -1
- package/dist/esm/{business-identity-schema-B7VTDF4j.js → business-identity-schema-CaMnpPqx.js} +7 -3
- package/dist/esm/{business.service-BrUSam2T.js → business.service-C7smiL6_.js} +3 -3
- package/dist/esm/{button-Bpf3VX8Q.js → button-DMeChykB.js} +2 -2
- package/dist/esm/card-form.entry.js +7 -7
- package/dist/esm/{check-pkg-version-c_8fDHCB.js → check-pkg-version-DIZ2yD72.js} +4 -4
- package/dist/esm/{checkout.service-Bxt1qPaY.js → checkout.service-CYq6KXZv.js} +3 -3
- package/dist/esm/checkouts-list-core.entry.js +14 -14
- package/dist/esm/{checkouts-list-params-state-gllzDQAb.js → checkouts-list-params-state-CiGfmyWW.js} +1 -1
- package/dist/esm/{checkouts-table-CB4GdlcZ.js → checkouts-table-B9YTe5fJ.js} +3 -3
- package/dist/esm/{config-state-C2NXATwF.js → config-state-kKn89dp1.js} +1 -1
- package/dist/esm/{country-config-BQ4D46Lb.js → country-config-CQxaTFuP.js} +1 -1
- package/dist/esm/custom-popper_2.entry.js +6 -6
- package/dist/esm/{dispute.service-DYRYxxaT.js → dispute.service-D7Dv8LTn.js} +3 -3
- package/dist/esm/form-alert_5.entry.js +11 -11
- package/dist/esm/form-control-checkbox.entry.js +11 -8
- package/dist/esm/form-control-date.entry.js +7 -7
- package/dist/esm/{form-control-error-text-BZYykCDp.js → form-control-error-text-CTQxgr7_.js} +2 -2
- package/dist/esm/form-control-file-v2_2.entry.js +17 -10
- package/dist/esm/{form-control-help-text-D-p66Yxr.js → form-control-help-text-B-aaeX6n.js} +2 -2
- package/dist/esm/form-control-help-text.entry.js +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +12 -8
- package/dist/esm/form-control-monetary.entry.js +8 -8
- package/dist/esm/form-control-number-masked_3.entry.js +13 -11
- package/dist/esm/{owner-form-core_2.entry.js → form-control-number_3.entry.js} +71 -19
- package/dist/esm/form-control-radio.entry.js +9 -6
- package/dist/esm/form-control-select_2.entry.js +11 -11
- package/dist/esm/{get-business-Xt7B5dSo.js → get-business-BAmwId14.js} +1 -1
- package/dist/esm/{get-payment-details-BJ1PLhJZ.js → get-payment-details-CPJZp31y.js} +3 -3
- package/dist/esm/{get-subaccounts-CzGHjlUF.js → get-subaccounts-CqMFocN0.js} +4 -4
- package/dist/esm/gross-payment-chart-core.entry.js +6 -6
- package/dist/esm/{header-1-WwkF5F9y.js → header-1-DFMANSXo.js} +2 -2
- package/dist/esm/{header-3-C5jS39cE.js → header-3-Ck64YtdM.js} +2 -2
- package/dist/esm/hidden-input_2.entry.js +10 -10
- package/dist/esm/index-CV0Pyo1O.js +4434 -0
- package/dist/esm/{index-B-fWxE5e.js → index-cDVGjRkU.js} +90 -21
- package/dist/esm/{input-handlers-D3y0TzH9.js → input-handlers-AgwQ-yKX.js} +1 -1
- package/dist/esm/{insurance-state-C11WKZU6.js → insurance-state-DQ3xzFpR.js} +3 -3
- package/dist/esm/internal-tokenize-payment-method_7.entry.js +23 -23
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +72 -51
- package/dist/esm/justifi-additional-statement_8.entry.js +10 -10
- package/dist/esm/justifi-apple-pay_8.entry.js +34 -34
- package/dist/esm/justifi-bank-account-billing-form-simple_3.entry.js +10 -10
- package/dist/esm/justifi-business-details.entry.js +13 -13
- package/dist/esm/justifi-business-form.entry.js +22 -22
- package/dist/esm/justifi-checkout.entry.js +15 -15
- package/dist/esm/justifi-checkouts-list-filters.entry.js +10 -10
- package/dist/esm/justifi-checkouts-list.entry.js +16 -16
- package/dist/esm/justifi-config-provider.entry.js +3 -3
- package/dist/esm/justifi-details.entry.js +4 -4
- package/dist/esm/justifi-dispute-management-core.entry.js +3 -3
- package/dist/esm/justifi-dispute-management.entry.js +11 -11
- package/dist/esm/justifi-dispute-notification_3.entry.js +25 -25
- package/dist/esm/justifi-gross-payment-chart.entry.js +11 -11
- package/dist/esm/justifi-order-terminals.entry.js +17 -17
- package/dist/esm/justifi-payment-details.entry.js +14 -14
- package/dist/esm/justifi-payment-provisioning-core.entry.js +23 -11
- package/dist/esm/justifi-payment-provisioning.entry.js +11 -11
- package/dist/esm/justifi-payment-transactions-list.entry.js +16 -16
- package/dist/esm/justifi-payments-list-filters.entry.js +7 -7
- package/dist/esm/justifi-payments-list.entry.js +16 -16
- package/dist/esm/justifi-payout-details.entry.js +12 -12
- package/dist/esm/justifi-payout-transactions-list.entry.js +16 -16
- package/dist/esm/justifi-payouts-list-filters.entry.js +7 -7
- package/dist/esm/justifi-payouts-list.entry.js +17 -17
- package/dist/esm/justifi-refund-payment.entry.js +16 -16
- package/dist/esm/justifi-saved-payment-method.entry.js +4 -4
- package/dist/esm/justifi-season-interruption-insurance.entry.js +14 -14
- package/dist/esm/justifi-skeleton.entry.js +5 -5
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +10 -10
- package/dist/esm/justifi-terminal-orders-list.entry.js +14 -14
- package/dist/esm/justifi-terminals-list-filters.entry.js +9 -9
- package/dist/esm/justifi-terminals-list.entry.js +16 -16
- package/dist/esm/justifi-tokenize-payment-method.entry.js +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{package-BzT9OxlN.js → package-ZkBwsSuI.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +2 -2
- package/dist/esm/{parts-sA8HBfkI.js → parts-DrquDBSk.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +20 -20
- package/dist/esm/payment-method-option.entry.js +4 -4
- package/dist/esm/payment-provisioning-loading-DU0pNyqx.js +10 -0
- package/dist/esm/{payment.service-BoGemgMw.js → payment.service-BGf8F56_.js} +3 -3
- package/dist/esm/payments-list-core.entry.js +15 -15
- package/dist/esm/{payments-list-params-state-gllzDQAb.js → payments-list-params-state-CiGfmyWW.js} +1 -1
- package/dist/esm/{payments-status-CADg1cD0.js → payments-status-Bn-MvMcF.js} +2 -2
- package/dist/esm/{payments-table-C6zHWwGO.js → payments-table-CF3_zGnh.js} +3 -3
- package/dist/esm/payout-details-core.entry.js +13 -13
- package/dist/esm/{payout.service-BSG50wqN.js → payout.service-Co3xg-7j.js} +3 -3
- package/dist/esm/payouts-list-core.entry.js +15 -15
- package/dist/esm/{payouts-list-params-state-gllzDQAb.js → payouts-list-params-state-CiGfmyWW.js} +1 -1
- package/dist/esm/{payouts-status-4VDQvaYV.js → payouts-status-ehZrz-Xx.js} +2 -2
- package/dist/esm/{payouts-table-BU5XbzB9.js → payouts-table-CGZJfsje.js} +3 -3
- package/dist/esm/{schema-validations-iamDi5JD.js → schema-validations-jBrJ0mYI.js} +19 -4
- package/dist/esm/{skeleton-Dtt56Fl3.js → skeleton-D9UXuoik.js} +2 -2
- package/dist/esm/{spinner-DikooWuI.js → spinner-ACMfJh3a.js} +2 -2
- package/dist/esm/{styled-host-DhOcKWqZ.js → styled-host-D6byRazK.js} +1 -1
- package/dist/esm/{table-1hqe6s5m.js → table-BbMG2jg9.js} +3 -3
- package/dist/esm/table-filters-menu.entry.js +4 -4
- package/dist/esm/terminal-orders-list-core.entry.js +14 -14
- package/dist/esm/{terminal-orders-list-params-state-gllzDQAb.js → terminal-orders-list-params-state-CiGfmyWW.js} +1 -1
- package/dist/esm/{terminal-orders-table-BsVBelxB.js → terminal-orders-table-uNYLd8i5.js} +6 -6
- package/dist/esm/terminal-quantity-selector.entry.js +4 -4
- package/dist/esm/{terminal.service-YKfi6Mr9.js → terminal.service-Cxs-IO0Z.js} +3 -3
- package/dist/esm/terminals-list-core.entry.js +14 -14
- package/dist/esm/terminals-list-params-state-CiGfmyWW.js +16 -0
- package/dist/esm/{terminals-table-CXJTn-0I.js → terminals-table-B-7FR4ug.js} +3 -3
- package/dist/esm/{utils-CgFsPVsv.js → utils-DhCv62Pi.js} +2 -2
- package/dist/esm/webcomponents.js +31 -4
- package/dist/module/Business.js +5 -0
- package/dist/module/additional-questions.js +1 -1
- package/dist/module/additional-statement.js +2 -2
- package/dist/module/bank-account-billing-form-simple.js +1 -1
- package/dist/module/bank-account-document-inputs.js +1 -1
- package/dist/module/bank-account-form-inputs-canada2.js +1 -1
- package/dist/module/bank-account-form-inputs2.js +1 -1
- package/dist/module/bank-account-form.js +2 -2
- package/dist/module/bank-account-read-only-value2.js +1 -1
- package/dist/module/bank-account.js +2 -2
- package/dist/module/business-additional-questions-form-step.js +2 -2
- package/dist/module/business-additional-questions-schema.js +3 -1
- package/dist/module/business-address-schema.js +1 -1
- package/dist/module/business-bank-account-form-step.js +1 -1
- package/dist/module/business-core-info.js +2 -2
- package/dist/module/business-details-core2.js +1 -1
- package/dist/module/business-identity-schema.js +5 -1
- package/dist/module/business-owners-form-step.js +41 -7
- package/dist/module/business-representative-form-inputs.js +2 -2
- package/dist/module/business-representative.js +2 -2
- package/dist/module/business-terms-conditions-form-step.js +1 -1
- package/dist/module/button.js +1 -1
- package/dist/module/cancellation-policy.js +2 -2
- package/dist/module/card-billing-form-simple.js +1 -1
- package/dist/module/card-form.js +2 -2
- package/dist/module/card-form2.js +2 -2
- package/dist/module/checkouts-list-core2.js +2 -2
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +2 -2
- package/dist/module/details.js +1 -1
- package/dist/module/dispute-management-core.js +1 -1
- package/dist/module/dispute-notification.js +3 -3
- package/dist/module/dispute-response-core.js +2 -2
- package/dist/module/dispute-response.js +1 -1
- package/dist/module/duplicate-charge.js +2 -2
- package/dist/module/electronic-evidence.js +2 -2
- package/dist/module/form-address-fields.js +1 -1
- package/dist/module/form-control-checkbox2.js +5 -2
- package/dist/module/form-control-date2.js +2 -2
- package/dist/module/form-control-file-v22.js +4 -1
- package/dist/module/form-control-file2.js +5 -2
- package/dist/module/form-control-monetary-provisioning2.js +6 -2
- package/dist/module/form-control-monetary2.js +2 -2
- package/dist/module/form-control-number-masked2.js +4 -2
- package/dist/module/form-control-number.js +1 -84
- package/dist/module/form-control-number2.js +87 -0
- package/dist/module/form-control-radio2.js +5 -2
- package/dist/module/form-control-select2.js +2 -2
- package/dist/module/form-control-text2.js +2 -2
- package/dist/module/form-control-textarea2.js +6 -2
- package/dist/module/google-pay.js +2 -2
- package/dist/module/gross-payment-chart-core2.js +1 -1
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/identity-address-form.js +1 -1
- package/dist/module/iframe-input2.js +3 -3
- package/dist/module/index2.js +90 -21
- package/dist/module/internal-tokenize-payment-method2.js +1 -1
- package/dist/module/justifi-button2.js +1 -1
- package/dist/module/justifi-checkout.js +3 -3
- package/dist/module/justifi-checkouts-list-filters.js +3 -3
- package/dist/module/justifi-checkouts-list.js +1 -1
- package/dist/module/justifi-dispute-management.js +1 -1
- package/dist/module/justifi-header2.js +1 -1
- package/dist/module/justifi-order-terminals.js +2 -2
- package/dist/module/justifi-payment-provisioning.js +27 -21
- package/dist/module/justifi-payment-transactions-list.js +2 -2
- package/dist/module/justifi-payments-list-filters.js +3 -3
- package/dist/module/justifi-payments-list.js +1 -1
- package/dist/module/justifi-payout-transactions-list.js +2 -2
- package/dist/module/justifi-payouts-list-filters.js +3 -3
- package/dist/module/justifi-payouts-list.js +1 -1
- package/dist/module/justifi-saved-payment-method.js +1 -1
- package/dist/module/justifi-skeleton.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +3 -3
- package/dist/module/justifi-terminal-orders-list.js +1 -1
- package/dist/module/justifi-terminals-list-filters.js +2 -2
- package/dist/module/justifi-terminals-list.js +1 -1
- package/dist/module/justifi-tokenize-payment-method.js +1 -1
- package/dist/module/legal-address-form.js +1 -1
- package/dist/module/modular-checkout.js +1 -1
- package/dist/module/owner-form-core2.js +11 -5
- package/dist/module/owner-form-inputs2.js +13 -7
- package/dist/module/owner-form.js +11 -5
- package/dist/module/package.js +1 -1
- package/dist/module/parts.js +1 -1
- package/dist/module/payment-details-core2.js +8 -8
- package/dist/module/payment-method-option.js +1 -1
- package/dist/module/payment-provisioning-core.js +41 -23
- package/dist/module/payment-provisioning-form-buttons.js +1 -1
- package/dist/module/payment-provisioning-form-steps.js +27 -21
- package/dist/module/payments-list-core2.js +2 -2
- package/dist/module/payout-details-core2.js +3 -3
- package/dist/module/payouts-list-core2.js +2 -2
- package/dist/module/product-or-service.js +2 -2
- package/dist/module/refund-policy.js +2 -2
- package/dist/module/save-new-payment-method.js +1 -1
- package/dist/module/schema-validations.js +16 -1
- package/dist/module/shipping-details.js +2 -2
- package/dist/module/summary.js +1 -1
- package/dist/module/table-filters-menu2.js +2 -2
- package/dist/module/table.js +1 -1
- package/dist/module/terminal-orders-list-core2.js +2 -2
- package/dist/module/terminal-quantity-selector2.js +2 -2
- package/dist/module/terminals-list-core2.js +2 -2
- package/dist/types/api/Business.d.ts +4 -0
- package/dist/types/api/Identity.d.ts +4 -0
- package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.d.ts +1 -0
- package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.d.ts +4 -0
- package/dist/types/components/business-forms/payment-provisioning/form-control-monetary-provisioning.d.ts +3 -3
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-core.d.ts +1 -0
- package/dist/types/components/business-forms/schemas/business-additional-questions-schema.d.ts +2 -0
- package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +12 -0
- package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +10 -0
- package/dist/types/components/business-forms/schemas/schema-validations.d.ts +1 -0
- package/dist/types/components/checkout/checkout.d.ts +19 -0
- package/dist/types/components/modular-checkout/sub-components/apple-pay.d.ts +3 -0
- package/dist/types/components.d.ts +378 -240
- package/dist/types/ui-components/form/form-control-checkbox.d.ts +2 -2
- package/dist/types/ui-components/form/form-control-file-v2.d.ts +2 -2
- package/dist/types/ui-components/form/form-control-file.d.ts +2 -2
- package/dist/types/ui-components/form/form-control-number-masked.d.ts +2 -2
- package/dist/types/ui-components/form/form-control-number.d.ts +1 -1
- package/dist/types/ui-components/form/form-control-radio.d.ts +3 -3
- package/dist/types/ui-components/form/form-control-textarea.d.ts +2 -2
- package/dist/webcomponents/p-001ce9f8.entry.js +1 -0
- package/dist/webcomponents/{p-36a0af30.entry.js → p-0467df5d.entry.js} +1 -1
- package/dist/webcomponents/p-0f6fa1c0.entry.js +1 -0
- package/dist/webcomponents/p-0fb3fd77.entry.js +1 -0
- package/dist/webcomponents/{p-d0c4b0ea.entry.js → p-172b0c96.entry.js} +1 -1
- package/dist/webcomponents/p-198d2941.entry.js +1 -0
- package/dist/webcomponents/p-1dbf3473.entry.js +1 -0
- package/dist/webcomponents/p-1eefdd41.entry.js +1 -0
- package/dist/webcomponents/p-252bd81d.entry.js +1 -0
- package/dist/webcomponents/p-265a7cb3.entry.js +1 -0
- package/dist/webcomponents/p-2e7143b8.entry.js +1 -0
- package/dist/webcomponents/p-32fac30b.entry.js +1 -0
- package/dist/webcomponents/p-393c9065.entry.js +1 -0
- package/dist/webcomponents/p-3d2495df.entry.js +1 -0
- package/dist/webcomponents/p-4165281d.entry.js +1 -0
- package/dist/webcomponents/p-4786d1ea.entry.js +1 -0
- package/dist/webcomponents/p-493e73a9.entry.js +1 -0
- package/dist/webcomponents/p-4d7a2565.entry.js +1 -0
- package/dist/webcomponents/p-50cc771a.entry.js +1 -0
- package/dist/webcomponents/p-50f16cca.entry.js +1 -0
- package/dist/webcomponents/p-52203b01.entry.js +1 -0
- package/dist/webcomponents/p-53be30e9.entry.js +1 -0
- package/dist/webcomponents/p-55e63bdd.entry.js +1 -0
- package/dist/webcomponents/p-5af4bb01.entry.js +1 -0
- package/dist/webcomponents/p-639e5ce9.entry.js +1 -0
- package/dist/webcomponents/p-65f4681c.entry.js +1 -0
- package/dist/webcomponents/p-66e8b443.entry.js +1 -0
- package/dist/webcomponents/p-6ed0be7f.entry.js +1 -0
- package/dist/webcomponents/p-7184c2f8.entry.js +1 -0
- package/dist/webcomponents/p-73b9cc29.entry.js +1 -0
- package/dist/webcomponents/p-782ccafb.entry.js +1 -0
- package/dist/webcomponents/p-79d1d6b3.entry.js +1 -0
- package/dist/webcomponents/{p-897b794b.entry.js → p-7b4e9ae8.entry.js} +2 -2
- package/dist/webcomponents/p-7c4fa66f.entry.js +1 -0
- package/dist/webcomponents/p-7ec771bc.entry.js +1 -0
- package/dist/webcomponents/{p-1a327b0e.entry.js → p-7fdfc2c8.entry.js} +1 -1
- package/dist/webcomponents/p-86db9040.entry.js +1 -0
- package/dist/webcomponents/{p-725319f3.entry.js → p-931ea171.entry.js} +1 -1
- package/dist/webcomponents/{p-20af8597.entry.js → p-99065f37.entry.js} +1 -1
- package/dist/webcomponents/p-9ce5fcb6.entry.js +1 -0
- package/dist/webcomponents/p-9d844936.entry.js +1 -0
- package/dist/webcomponents/p-AMVhBsGv.js +1 -0
- package/dist/webcomponents/{p-B4xdk4mG.js → p-APob2Eta.js} +1 -1
- package/dist/webcomponents/p-B8CPGGs6.js +1 -0
- package/dist/webcomponents/{p-CPpUGsw5.js → p-BAu40WfT.js} +1 -1
- package/dist/webcomponents/p-BPTtWj7E.js +1 -0
- package/dist/webcomponents/{p-Dit3fZpU.js → p-BXdZKjdB.js} +1 -1
- package/dist/webcomponents/p-BZ4YUsyP.js +1 -0
- package/dist/webcomponents/{p-CV8xqdt6.js → p-Bhk8tHxs.js} +1 -1
- package/dist/webcomponents/p-BhvkOTYA.js +1 -0
- package/dist/webcomponents/p-BqL4QuAa.js +1 -0
- package/dist/webcomponents/{p-BP2sTIQV.js → p-BqNNwq6C.js} +1 -1
- package/dist/webcomponents/p-Bz97Ujvk.js +1 -0
- package/dist/webcomponents/{p-C77ElQ41.js → p-C-LV3hNf.js} +1 -1
- package/dist/webcomponents/p-C3E-JbVM.js +1 -0
- package/dist/webcomponents/{p-BMJe4lzg.js → p-CAZzU98o.js} +1 -1
- package/dist/webcomponents/p-CGKWIBVk.js +1 -0
- package/dist/webcomponents/p-CHJTjG_5.js +1 -0
- package/dist/webcomponents/{p-DUmUUj9r.js → p-COcg4_A3.js} +1 -1
- package/dist/webcomponents/{p-C2Senazf.js → p-CQ36pja3.js} +1 -1
- package/dist/webcomponents/p-CV0Pyo1O.js +2 -0
- package/dist/webcomponents/{p-DfKxeSrC.js → p-Ce785aMx.js} +1 -1
- package/dist/webcomponents/p-CpGEMRkH.js +1 -0
- package/dist/webcomponents/{p-CBbwdoSa.js → p-CruQSM5j.js} +1 -1
- package/dist/webcomponents/p-D0PhRMmy.js +1 -0
- package/dist/webcomponents/p-D4EBPNuU.js +1 -0
- package/dist/webcomponents/{p-sCHf--Vc.js → p-D81X4BBI.js} +1 -1
- package/dist/webcomponents/p-D8GTwl9v.js +1 -0
- package/dist/webcomponents/{p-Dlrq1iZf.js → p-DBOsYeYk.js} +1 -1
- package/dist/webcomponents/p-DDjKoqh6.js +1 -0
- package/dist/webcomponents/{p-11wdbrqX.js → p-DLLFAj4z.js} +1 -1
- package/dist/webcomponents/p-DOnVHzNq.js +1 -0
- package/dist/webcomponents/{p-tGDdRx0W.js → p-DVJaoI_m.js} +1 -1
- package/dist/webcomponents/p-DaZF_q9T.js +1 -0
- package/dist/webcomponents/p-Dm07nLGs.js +1 -0
- package/dist/webcomponents/{p-BrRsgB8S.js → p-DpkIbI5R.js} +1 -1
- package/dist/webcomponents/p-DrquDBSk.js +1 -0
- package/dist/webcomponents/p-Dw63wyhO.js +1 -0
- package/dist/webcomponents/{p-D6bKoyRc.js → p-JO-3z7ao.js} +1 -1
- package/dist/webcomponents/{p-CCxsFwC4.js → p-MBH9QO2m.js} +1 -1
- package/dist/webcomponents/p-NO0z-S2W.js +1 -0
- package/dist/webcomponents/{p-W9WWoLzT.js → p-YYXsr-bI.js} +1 -1
- package/dist/webcomponents/p-ZkBwsSuI.js +1 -0
- package/dist/webcomponents/p-_LSWCi-4.js +1 -0
- package/dist/webcomponents/p-a20bddd2.entry.js +1 -0
- package/dist/webcomponents/p-a3510078.entry.js +1 -0
- package/dist/webcomponents/p-a4834220.entry.js +1 -0
- package/dist/webcomponents/p-a9b493c1.entry.js +1 -0
- package/dist/webcomponents/p-a9ecaf0f.entry.js +1 -0
- package/dist/webcomponents/p-b2371f43.entry.js +1 -0
- package/dist/webcomponents/p-bc56446a.entry.js +1 -0
- package/dist/webcomponents/p-c11512e7.entry.js +1 -0
- package/dist/webcomponents/p-c5afb831.entry.js +1 -0
- package/dist/webcomponents/{p-f37f3e94.entry.js → p-c7c79332.entry.js} +1 -1
- package/dist/webcomponents/p-c90f7ed6.entry.js +1 -0
- package/dist/webcomponents/p-ca8d78af.entry.js +1 -0
- package/dist/webcomponents/p-d0d6d1cc.entry.js +1 -0
- package/dist/webcomponents/p-d55c348b.entry.js +1 -0
- package/dist/webcomponents/p-d7fa8461.entry.js +1 -0
- package/dist/webcomponents/p-dff12534.entry.js +1 -0
- package/dist/webcomponents/p-e11c7df0.entry.js +1 -0
- package/dist/webcomponents/p-e1a8785d.entry.js +1 -0
- package/dist/webcomponents/p-e54cdb00.entry.js +1 -0
- package/dist/webcomponents/p-e5651bb1.entry.js +1 -0
- package/dist/webcomponents/p-e926be0d.entry.js +1 -0
- package/dist/webcomponents/p-e9daf75f.entry.js +1 -0
- package/dist/webcomponents/p-ea0cd47d.entry.js +1 -0
- package/dist/webcomponents/p-f13c4a88.entry.js +1 -0
- package/dist/webcomponents/p-f5f46f2d.entry.js +1 -0
- package/dist/webcomponents/p-mhEMV8M-.js +1 -0
- package/dist/webcomponents/p-sPEyLX4E.js +1 -0
- package/dist/webcomponents/p-wqq-X93m.js +1 -0
- package/dist/webcomponents/{p-DGGjRqDa.js → p-y-FoILTI.js} +1 -1
- package/dist/webcomponents/{p-yyedWKWX.js → p-y8av3w9x.js} +1 -1
- package/dist/webcomponents/p-ztF3Y786.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +8 -12
- package/dist/cjs/form-control-number.cjs.entry.js +0 -58
- package/dist/cjs/index-BhI7cJcE.js +0 -1891
- package/dist/cjs/terminals-list-params-state-DfZySwaC.js +0 -22
- package/dist/esm/form-control-number.entry.js +0 -56
- package/dist/esm/index-DwYM91AU.js +0 -1879
- package/dist/esm/terminals-list-params-state-gllzDQAb.js +0 -16
- package/dist/webcomponents/p-016b3e4c.entry.js +0 -1
- package/dist/webcomponents/p-035a4adc.entry.js +0 -1
- package/dist/webcomponents/p-06cae9e2.entry.js +0 -1
- package/dist/webcomponents/p-06f81525.entry.js +0 -1
- package/dist/webcomponents/p-0935600b.entry.js +0 -1
- package/dist/webcomponents/p-0ab9a3ae.entry.js +0 -1
- package/dist/webcomponents/p-0b7c4ed5.entry.js +0 -1
- package/dist/webcomponents/p-0bb616fc.entry.js +0 -1
- package/dist/webcomponents/p-138ada4a.entry.js +0 -1
- package/dist/webcomponents/p-148d3327.entry.js +0 -1
- package/dist/webcomponents/p-1575ca68.entry.js +0 -1
- package/dist/webcomponents/p-1e761d96.entry.js +0 -1
- package/dist/webcomponents/p-20e85114.entry.js +0 -1
- package/dist/webcomponents/p-2cb9edad.entry.js +0 -1
- package/dist/webcomponents/p-2d4a2d26.entry.js +0 -1
- package/dist/webcomponents/p-368b37ad.entry.js +0 -1
- package/dist/webcomponents/p-3a3935a3.entry.js +0 -1
- package/dist/webcomponents/p-3f14d0c4.entry.js +0 -1
- package/dist/webcomponents/p-4d2589b2.entry.js +0 -1
- package/dist/webcomponents/p-511e80a4.entry.js +0 -1
- package/dist/webcomponents/p-5996879d.entry.js +0 -1
- package/dist/webcomponents/p-5a748e49.entry.js +0 -1
- package/dist/webcomponents/p-5c6727ae.entry.js +0 -1
- package/dist/webcomponents/p-622af881.entry.js +0 -1
- package/dist/webcomponents/p-6454626a.entry.js +0 -1
- package/dist/webcomponents/p-64ebff16.entry.js +0 -1
- package/dist/webcomponents/p-66713269.entry.js +0 -1
- package/dist/webcomponents/p-679b36b5.entry.js +0 -1
- package/dist/webcomponents/p-71577fa1.entry.js +0 -1
- package/dist/webcomponents/p-77754a65.entry.js +0 -1
- package/dist/webcomponents/p-7ec4838f.entry.js +0 -1
- package/dist/webcomponents/p-88a8741b.entry.js +0 -1
- package/dist/webcomponents/p-899b981b.entry.js +0 -1
- package/dist/webcomponents/p-8c4b502d.entry.js +0 -1
- package/dist/webcomponents/p-8df30672.entry.js +0 -1
- package/dist/webcomponents/p-911b3d63.entry.js +0 -1
- package/dist/webcomponents/p-97b8bf5c.entry.js +0 -1
- package/dist/webcomponents/p-9b74a642.entry.js +0 -1
- package/dist/webcomponents/p-9b8aee30.entry.js +0 -1
- package/dist/webcomponents/p-9e94c9ef.entry.js +0 -1
- package/dist/webcomponents/p-B5rtFhtR.js +0 -1
- package/dist/webcomponents/p-BOqOio4U.js +0 -1
- package/dist/webcomponents/p-BUsqF4-J.js +0 -1
- package/dist/webcomponents/p-BYsgavgS.js +0 -1
- package/dist/webcomponents/p-BhqSAzpT.js +0 -1
- package/dist/webcomponents/p-BzT9OxlN.js +0 -1
- package/dist/webcomponents/p-C9VmfRis.js +0 -1
- package/dist/webcomponents/p-CK_XkZku.js +0 -1
- package/dist/webcomponents/p-CQGIjIgZ.js +0 -1
- package/dist/webcomponents/p-CZ3F1ZAT.js +0 -1
- package/dist/webcomponents/p-CgiDds_u.js +0 -1
- package/dist/webcomponents/p-CsgUIrv8.js +0 -1
- package/dist/webcomponents/p-D032AB34.js +0 -1
- package/dist/webcomponents/p-DATDsXcA.js +0 -1
- package/dist/webcomponents/p-DKGn-ILd.js +0 -1
- package/dist/webcomponents/p-DOcRWTul.js +0 -1
- package/dist/webcomponents/p-DY_3dcgR.js +0 -1
- package/dist/webcomponents/p-DdJYXOQX.js +0 -1
- package/dist/webcomponents/p-DmdEjScI.js +0 -1
- package/dist/webcomponents/p-DwYM91AU.js +0 -2
- package/dist/webcomponents/p-RTAZ4tdd.js +0 -1
- package/dist/webcomponents/p-Ty7R7tsw.js +0 -1
- package/dist/webcomponents/p-U3nU15el.js +0 -1
- package/dist/webcomponents/p-Uqevvbqm.js +0 -1
- package/dist/webcomponents/p-VRubcA-q.js +0 -1
- package/dist/webcomponents/p-a0b4c42b.entry.js +0 -1
- package/dist/webcomponents/p-af7c219d.entry.js +0 -1
- package/dist/webcomponents/p-b0f0d53c.entry.js +0 -1
- package/dist/webcomponents/p-b752c5bc.entry.js +0 -1
- package/dist/webcomponents/p-bbff6196.entry.js +0 -1
- package/dist/webcomponents/p-c0c36187.entry.js +0 -1
- package/dist/webcomponents/p-c920dc54.entry.js +0 -1
- package/dist/webcomponents/p-cdf1e61c.entry.js +0 -1
- package/dist/webcomponents/p-d077569e.entry.js +0 -1
- package/dist/webcomponents/p-d7b1b7b5.entry.js +0 -1
- package/dist/webcomponents/p-dc6c9c79.entry.js +0 -1
- package/dist/webcomponents/p-e4335938.entry.js +0 -1
- package/dist/webcomponents/p-e805b011.entry.js +0 -1
- package/dist/webcomponents/p-ecbc83bf.entry.js +0 -1
- package/dist/webcomponents/p-f30c939f.entry.js +0 -1
- package/dist/webcomponents/p-f56d7b4c.entry.js +0 -1
- package/dist/webcomponents/p-f99403d8.entry.js +0 -1
- package/dist/webcomponents/p-fb644da6.entry.js +0 -1
- package/dist/webcomponents/p-fc4b27ec.entry.js +0 -1
- package/dist/webcomponents/p-fe43449c.entry.js +0 -1
- package/dist/webcomponents/p-giyZ3C4E.js +0 -1
- package/dist/webcomponents/p-sA8HBfkI.js +0 -1
- package/docs/.eslintrc.cjs +0 -17
- package/docs/changelog/index.mdx +0 -17
- package/docs/entities/businessdetails/index.mdx +0 -143
- package/docs/entities/businessform/index.mdx +0 -241
- package/docs/entities/index.mdx +0 -19
- package/docs/entities/payment-provisioning/index.mdx +0 -128
- package/docs/frameworks/angular/index.mdx +0 -112
- package/docs/frameworks/index.mdx +0 -18
- package/docs/frameworks/react/index.mdx +0 -125
- package/docs/frameworks/vue/index.mdx +0 -102
- package/docs/helpers/PartsTable.js +0 -50
- package/docs/helpers/PropsTable.js +0 -56
- package/docs/helpers/index.ts +0 -3
- package/docs/helpers/version.js +0 -32
- package/docs/introduction/index.mdx +0 -125
- package/docs/merchant-tools/checkouts-list/index.mdx +0 -97
- package/docs/merchant-tools/gross-payments-chart/index.mdx +0 -83
- package/docs/merchant-tools/index.mdx +0 -25
- package/docs/merchant-tools/order-terminals/index.mdx +0 -84
- package/docs/merchant-tools/payment-details/index.mdx +0 -132
- package/docs/merchant-tools/payment-transactions-list/index.mdx +0 -85
- package/docs/merchant-tools/payments-list/index.mdx +0 -109
- package/docs/merchant-tools/payout-details/index.mdx +0 -84
- package/docs/merchant-tools/payout-transactions-list/index.mdx +0 -84
- package/docs/merchant-tools/payouts-list/index.mdx +0 -92
- package/docs/merchant-tools/terminal-orders-list/index.mdx +0 -85
- package/docs/merchant-tools/terminals-list/index.mdx +0 -93
- package/docs/modular-checkout/complete-examples/index.mdx +0 -20
- package/docs/modular-checkout/index.mdx +0 -20
- package/docs/modular-checkout/introduction/index.mdx +0 -102
- package/docs/modular-checkout/sub-components/apple-pay.mdx +0 -106
- package/docs/modular-checkout/sub-components/bank-account-form.mdx +0 -167
- package/docs/modular-checkout/sub-components/card-form.mdx +0 -178
- package/docs/modular-checkout/sub-components/index.mdx +0 -23
- package/docs/modular-checkout/sub-components/payment-method-options.mdx +0 -87
- package/docs/modular-checkout/sub-components/plaid-payment-method.mdx +0 -158
- package/docs/modular-checkout/sub-components/saved-payment-methods.mdx +0 -183
- package/docs/modular-checkout/sub-components/season-interruption-insurance.mdx +0 -221
- package/docs/modular-checkout/sub-components/sezzle-payment-method.mdx +0 -183
- package/docs/modular-checkout/sub-components/summary.mdx +0 -111
- package/docs/payment-facilitation/dispute-management/index.mdx +0 -99
- package/docs/payment-facilitation/index.mdx +0 -21
- package/docs/payment-facilitation/refund-payment/index.mdx +0 -241
- package/docs/payment-facilitation/tokenize-payment-method/index.mdx +0 -350
- package/docs/payment-facilitation/unified-fintech-checkout/342/204/242/index.mdx +0 -150
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as s,h as e}from"./p-CV0Pyo1O.js";import"./p-DVJaoI_m.js";import"./p-HXpYMWUU.js";import"./p-Cjcsf8ku.js";import"./p-DpkIbI5R.js";import{p as i}from"./p-CLHwhyvu.js";import"./p-CHJTjG_5.js";import"./p-BH0Xfn-F.js";import{T as a,a as r,b as h,c,d as o,e as n,f as p,g as d,h as b,i as m,j as f,k as u,l as g}from"./p-CAZzU98o.js";import{T as y}from"./p-CZfYo5-1.js";import{t as j,a as l}from"./p-Bhk8tHxs.js";import{o as k,g as C}from"./p-Dw63wyhO.js";import"./p-D8GTwl9v.js";import"./p-B09GVew-.js";import"./p-DkoufM1t.js";import"./p-DrquDBSk.js";import"./p-ztF3Y786.js";import"./p-BZ4YUsyP.js";const w=class{constructor(e){t(this,e),this.clickEvent=s(this,"click-event",7),this.errorEvent=s(this,"error-event",7),this.terminals=[],this.subAccounts=[],this.loading=!0,this.paging=i,this.pagingParams={},this.handleClickPrevious=t=>{this.pagingParams={before_cursor:t},this.clickEvent.emit({name:y.previous})},this.handleClickNext=t=>{this.pagingParams={after_cursor:t},this.clickEvent.emit({name:y.next})},this.rowClickHandler=t=>{const s=t.target.closest("tr").dataset.rowEntityId;if(!s)return;const e=this.terminals.find((t=>t.id===s));this.clickEvent.emit({name:y.row,data:e})}}updateOnPropChange(){this.fetchData()}componentWillLoad(){this.terminalsTable=new a(this.terminals,this.columns,j,l),this.getTerminals&&this.getSubAccounts&&this.fetchData(),k("set",(()=>{this.pagingParams={}})),k("reset",(()=>{this.pagingParams={},this.errorMessage=""}))}fetchData(){this.loading=!0,this.getTerminals({params:this.terminalParams,onSuccess:async({terminals:t,pagingInfo:s})=>{this.terminals=t,this.paging=s,this.terminalsTable.collectionData=this.terminals,this.terminalsTable.columnKeys.includes("sub_account_name")?await this.fetchSubAccounts():this.loading=!1},onError:({error:t,code:s,severity:e})=>{this.errorMessage=t,this.errorEvent.emit({errorCode:s,message:t,severity:e}),this.loading=!1}})}async fetchSubAccounts(){this.getSubAccounts({params:this.subAccountParams,onSuccess:({subAccounts:t})=>{this.subAccounts=t,this.terminals=this.terminals.map((t=>{var s;return t.sub_account_name=null===(s=this.subAccounts.find((s=>s.id===t.account_id)))||void 0===s?void 0:s.name,t})),this.loading=!1},onError:({error:t,code:s,severity:e})=>{this.errorMessage=t,this.errorEvent.emit({errorCode:s,message:t,severity:e}),this.loading=!1}})}get terminalParams(){const t=C();return Object.assign(Object.assign({},t),this.pagingParams)}get subAccountParams(){let t=this.terminals.map((t=>t.account_id));return{sub_account_id:[...new Set(t)].join(",")}}get entityId(){return this.terminals.map((t=>t.id))}get showEmptyState(){return!this.loading&&!this.errorMessage&&this.terminalsTable.rowData.length<1}get showErrorState(){return!this.loading&&!!this.errorMessage}get showRowData(){return!this.showEmptyState&&!this.showErrorState&&!this.loading}render(){return e(g,{key:"ef0bd2935c30d3065d6895e9ea3d017a7b0e2a47"},e(r,{key:"6a092c9fa2c2fe41fbf225cf9f91bbcfa33d9ebc"},e(h,{key:"3a39f78023e7190c1536333dae2b4eebc976ccd2"},e(c,{key:"c0dc5c27bc1cbbfd96478e7cec4a22a1cd7e425f"},this.terminalsTable.columnData.map((t=>t)))),e(o,{key:"b674c0d5d96d9499eb562c349b1a46978373acb3"},e(n,{key:"768dead47d904ba69b8deb4954ac78f9b59e2780",columnSpan:this.terminalsTable.columnKeys.length,isLoading:this.loading}),e(p,{key:"3455ac4471dc72f09163b9e02098e279933807ea",isEmpty:this.showEmptyState,columnSpan:this.terminalsTable.columnKeys.length}),e(d,{key:"11738c367700be7f17c2f181fdccf63423ebb42e",columnSpan:this.terminalsTable.columnKeys.length,errorMessage:this.errorMessage}),this.showRowData&&this.terminalsTable.rowData.map(((t,s)=>e(b,{"data-test-id":"table-row","data-row-entity-id":this.entityId[s],onClick:this.rowClickHandler},t)))),this.paging&&e(m,{key:"e77a039ab5c1cdf9277aa1c1c45651e88f9dc8d0"},e(f,{key:"b72612350c482c8d3cba4e30a30bed44209ffa33"},e(u,{key:"e28fec03032f29ec5be4dae9af2592dfd57adcd4",colSpan:this.terminalsTable.columnData.length},e("pagination-menu",{key:"3b253351477c3ac1c6b664acefb0eddb6b5467bf",paging:Object.assign(Object.assign({},this.paging),{handleClickPrevious:this.handleClickPrevious,handleClickNext:this.handleClickNext})}))))))}static get watchers(){return{pagingParams:["updateOnPropChange"],getTerminals:["updateOnPropChange"],getSubAccounts:["updateOnPropChange"],columns:["updateOnPropChange"]}}};export{w as terminals_list_core}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as e,h as i,g as s,H as a}from"./p-CV0Pyo1O.js";import{S as r}from"./p-BqNNwq6C.js";import"./p-CZfYo5-1.js";import{c as n,J as d}from"./p-DLLFAj4z.js";import{w as o,c}from"./p-DVJaoI_m.js";import"./p-HXpYMWUU.js";import{a as h,C as l}from"./p-Cjcsf8ku.js";import{c as f}from"./p-DpkIbI5R.js";import"./p-CLHwhyvu.js";import"./p-CHJTjG_5.js";import"./p-BH0Xfn-F.js";import{P as u}from"./p-DkoufM1t.js";import{S as b}from"./p-DaZF_q9T.js";import{b as m}from"./p-B09GVew-.js";import{B as p}from"./p-BqL4QuAa.js";import{r as y}from"./p-DrquDBSk.js";import"./p-ZkBwsSuI.js";import"./p-y8av3w9x.js";import"./p-D8GTwl9v.js";const v=class{constructor(i){t(this,i),this.radioClick=e(this,"radio-click",7),this.checked=!1,this.hidden=!1,this.handleClick=()=>{this.radioClick.emit(this.value)}}render(){return i(r,{key:"1ae40f787970160e38b72f917bda96f480d2a890"},i("div",{key:"2130596c8294cc38365e6126806735da0f93ef4a",class:`radio-list-item p-3 ${this.class||""}`,part:y,onClick:this.handleClick,hidden:this.hidden},i("form-control-radio",{key:"7d5524f518430f2bfd1c9863f354318929353cfb",name:this.name,value:this.value,checked:this.checked,label:this.label,inputHandler:()=>null})))}},k={[u.NEW_BANK_ACCOUNT]:"New bank account",[u.NEW_CARD]:"New credit or debit card"},g="Payment form not ready",w="Validation error",j=class{constructor(i){t(this,i),this.errorEvent=e(this,"error-event",7),this.submitEvent=e(this,"submit-event",7),this.computedHideSubmitButton=!1,this.isLoading=!1,this.submitButtonText="Submit"}paymentMethodsChanged(){this.setDefaultSelectedPaymentMethod()}connectedCallback(){this.setDefaultSelectedPaymentMethod(),this.setComputedHideSubmitButton()}disconnectedCallback(){var t;null===(t=this.analytics)||void 0===t||t.cleanup(),this.unsubscribeFromStore&&this.unsubscribeFromStore()}componentWillLoad(){n(),this.analytics=new d(this)}handleRadioClick(t){this.selectedPaymentMethod=t.detail,f.selectedPaymentMethod={type:t.detail}}async fillBillingForm(t){var e;null===(e=this.billingFormRef)||void 0===e||e.fill(t)}async tokenizePaymentMethod(t){null==t||t.preventDefault(),this.validateRequiredProps(),this.isLoading=!0;try{if(!(await this.validate()).isValid)return this.errorEvent.emit({errorCode:h.TOKENIZE_ERROR,message:w}),void(this.isLoading=!1);const t=await this.resolvePaymentMethod({isValid:!0});return t.error&&this.emitError({errorCode:t.error.code,message:t.error.message}),this.submitEvent.emit({response:t}),t}catch(t){const e=this.createErrorResponse(h.TOKENIZE_ERROR,t.message);return this.emitError({errorCode:h.TOKENIZE_ERROR,message:t.message}),this.submitEvent.emit({response:e}),e}finally{this.isLoading=!1}}async validate(){if(!this.areFormsReady())return{isValid:!1,errors:{general:g}};const[t,e]=await Promise.all([this.billingFormRef.validate(),this.paymentMethodFormRef.validate()]);return{isValid:t.isValid&&e.isValid,errors:Object.assign(Object.assign({},t.errors),e.errors)}}async tokenize(){try{const t=await this.billingFormRef.getValues(),e={clientId:this.authToken||f.authToken,account:this.accountId||f.accountId,paymentMethodMetadata:this.buildPaymentMethodMetadata(t)};return await this.paymentMethodFormRef.tokenize(e)}catch(t){return t}}validateRequiredProps(){this.authToken||f.authToken||this.emitError({errorCode:h.TOKENIZE_ERROR,message:"Auth token is required when using the tokenize-payment-method component not slotted in justifi-modular-checkout"}),this.accountId||f.accountId||this.emitError({errorCode:h.TOKENIZE_ERROR,message:"Account ID is required when using the tokenize-payment-method component not slotted in justifi-modular-checkout"})}setDefaultSelectedPaymentMethod(){this.selectedPaymentMethod||(this.disableCreditCard?this.disableBankAccount||(this.selectedPaymentMethod=u.NEW_BANK_ACCOUNT,f.selectedPaymentMethod={type:u.NEW_BANK_ACCOUNT}):(this.selectedPaymentMethod=u.NEW_CARD,f.selectedPaymentMethod={type:u.NEW_CARD}))}setComputedHideSubmitButton(){if(void 0!==this.hideSubmitButton)return void(this.computedHideSubmitButton=this.hideSubmitButton);const t=this.isSlottedWithinModularCheckout();this.computedHideSubmitButton=t}isSlottedWithinModularCheckout(){var t;let e=null===(t=this.host)||void 0===t?void 0:t.parentElement;for(;e;){if("JUSTIFI-MODULAR-CHECKOUT"===e.tagName)return!0;e=e.parentElement}return!1}get availablePaymentMethods(){const t=[];return this.disableCreditCard||t.push(u.NEW_CARD),this.disableBankAccount||t.push(u.NEW_BANK_ACCOUNT),t}areFormsReady(){return!(!this.billingFormRef||!this.paymentMethodFormRef)}emitError(t){this.errorEvent.emit(Object.assign(Object.assign({},t),{severity:l.ERROR}))}createErrorResponse(t,e){return{error:{code:t,message:e,decline_code:void 0}}}async resolvePaymentMethod(t){if(!this.areFormsReady())return this.createErrorResponse("form_not_ready",g);try{const e=await this.validate();if(!e.isValid||!t.isValid){const t=Object.values(e.errors)[0]||w;return{validationError:!0,error:{code:"validation_error",message:String(t),decline_code:void 0}}}return await this.performTokenization()}catch(t){return{error:t}}}async performTokenization(){var t,e;const i=await this.tokenize();if(i.error)return{error:i.error};const s=i.data;return{token:(null===(t=s.card)||void 0===t?void 0:t.token)||(null===(e=s.bank_account)||void 0===e?void 0:e.token),data:s}}buildPaymentMethodMetadata(t){return this.shouldSavePaymentMethod?Object.assign(Object.assign({},t),{payment_method_group_id:this.paymentMethodGroupID}):Object.assign({},t)}get paymentMethodGroupID(){return this.paymentMethodGroupId||f.paymentMethodGroupId}get shouldSavePaymentMethod(){return!(!this.paymentMethodGroupId&&!f.savePaymentMethod)}get shouldHideRadioInput(){return this.disableCreditCard||this.disableBankAccount}renderPaymentMethodOption(t){const e=this.selectedPaymentMethod===t&&void 0===f.selectedPaymentMethod.id;return i("div",{class:"payment-method"},i("justifi-radio-list-item",{name:"paymentMethodType",value:t,checked:e,label:k[t],hidden:this.shouldHideRadioInput}),e&&this.renderSelectedPaymentMethodForm(t))}renderSelectedPaymentMethodForm(t){return i("div",{class:"mt-4 pb-4"},this.renderPaymentMethodForm(t),i("div",{class:"mt-4"},i("justifi-billing-form",{ref:t=>this.billingFormRef=t,hideCardBillingForm:this.hideCardBillingForm,hideBankAccountBillingForm:this.hideBankAccountBillingForm,paymentMethodType:t})),i("div",{class:"mt-4"},i("justifi-save-new-payment-method",{hidden:!this.paymentMethodGroupID,label:this.savePaymentMethodLabel})))}renderPaymentMethodForm(t){return i(t===u.NEW_CARD?"justifi-card-form":"justifi-bank-account-form",{ref:t=>this.paymentMethodFormRef=t})}render(){return i(r,{key:"ffe62ce1bf31ab84080d3a4c158db3b537aea2fb"},i("form",{key:"26d7942c4d88a758e03627a6042892a4dcb0a306"},i("fieldset",{key:"b789b31bad42d4c6912103abe653205165e44e8d"},i("div",{key:"2e0fe382eb8a0018692ca9da2c911229ed981f0d",class:"row gy-3"},i("div",{key:"3120e6ddd56b184f2530a1e8c1bb28f2c0f70579",class:"col-12"},this.availablePaymentMethods.map((t=>this.renderPaymentMethodOption(t)))),i("div",{key:"9de5bfc72cce2818aba19408ee835d0762d1e777",class:"col-12"},i("justifi-button",{key:"5bd8cfb66fd34cc6773342175ae22771a095fcab",text:this.submitButtonText,variant:"primary",type:"submit",clickHandler:t=>this.tokenizePaymentMethod(t),isLoading:this.isLoading,"data-testid":"submit-button",hidden:this.computedHideSubmitButton}))))))}get host(){return s(this)}static get watchers(){return{disableCreditCard:["paymentMethodsChanged"],disableBankAccount:["paymentMethodsChanged"]}}},C=t=>{const{isReady:e}=t;return e?null:i("div",{class:"container-fluid p-0"},i("div",{class:"row mb-3"},i("div",{class:"col-12 align-content-end"},i(b,{height:"18px",width:"120px"}),i(b,{height:"36px"}))),i("div",{class:"row"},i("div",{class:"col-12 align-content-end"},i(b,{height:"18px",width:"110px"}),i(b,{height:"36px"}))))},M=class{constructor(e){t(this,e),this.isReady=!1}async componentWillLoad(){await o(),this.iframeOrigin=c.iframeOrigin,this.tabId=m(),n(),this.analytics=new d(this)}componentDidRender(){Promise.all([this.accountNumberIframeElement,this.routingNumberIframeElement].map((t=>new Promise((e=>{t.addEventListener("iframeLoaded",(()=>{e()}))}))))).then((()=>{this.isReady=!0}))}disconnectedCallback(){var t;null===(t=this.analytics)||void 0===t||t.cleanup()}async validate(){const t=await this.accountNumberIframeElement.validate(),e=await this.routingNumberIframeElement.validate();return t&&e}async tokenize({clientId:t,paymentMethodMetadata:e,account:i}){return this.accountNumberIframeElement.tokenize(t,e,i)}render(){return i(r,{key:"6c1e183b7ba2c70b41e22386d74a9cf7430aa8d5"},i(C,{key:"2755f4d21f8d62919ef56909f2dc6b9211bf550d",isReady:this.isReady}),i("hidden-input",{key:"c35448285cd2b53973caa4a56c28a135e1ed7d74"}),i("div",{key:"9fae602596267bafc39b9e3e9946a289b38393b6",class:"container-fluid p-0",style:{opacity:this.isReady?"1":"0",height:this.isReady?"auto":"0"}},i("div",{key:"bfaee6ed0eaa2a68175f18146d56195cc1a23e91",class:"row mb-3"},i("iframe-input",{key:"7385c2582ad5b397eb2afcb9c87b789d4918542c",inputId:"accountNumber",ref:t=>this.accountNumberIframeElement=t,label:"Account Number",iframeOrigin:`${this.iframeOrigin}/v2/accountNumber?tabId=${this.tabId}`})),i("div",{key:"effe6b1f18d5fa531f4537accfe8279b81bc7b49",class:"row"},i("iframe-input",{key:"19cc7e46d8f7cb79c70ba21f2e9c15c7665eca47",inputId:"routingNumber",ref:t=>this.routingNumberIframeElement=t,label:"Routing Number",iframeOrigin:`${this.iframeOrigin}/v2/routingNumber?tabId=${this.tabId}`}))))}},_=class{constructor(e){t(this,e)}get showSimpleCardBillingForm(){return this.paymentMethodType===u.NEW_CARD&&this.hideCardBillingForm}get showSimpleBankAccountBillingForm(){return this.paymentMethodType===u.NEW_BANK_ACCOUNT&&this.hideBankAccountBillingForm}async getValues(){var t;return null===(t=this.selectedFormRef)||void 0===t?void 0:t.getValues()}async fill(t){var e;null===(e=this.selectedFormRef)||void 0===e||e.fill(t)}async validate(){var t;return null===(t=this.selectedFormRef)||void 0===t?void 0:t.validate()}render(){return i(a,null,i(this.showSimpleBankAccountBillingForm?"justifi-bank-account-billing-form-simple":this.showSimpleCardBillingForm?"justifi-card-billing-form-simple":"justifi-billing-form-full",{legend:this.legend,ref:t=>this.selectedFormRef=t}))}},x=class{constructor(e){t(this,e),this.variant="primary",this.type="button"}render(){return i(r,{key:"2ef29be35c350bbd0530dbad83f65cd4ad4dbe27"},i(p,{key:"526763deaf2d228f0142d8efcb805557b8fe6ed9",variant:this.variant,isLoading:this.isLoading,clickHandler:this.clickHandler,class:this.class,type:this.type,disabled:this.disabled,style:this.customStyle},this.text))}},I=t=>{const{isReady:e}=t;return e?null:i("div",{class:"container-fluid p-0"},i("div",{class:"mb-3"},i(b,{height:"18px",width:"100px"}),i(b,{height:"36px"})),i("div",{class:"row"},i("div",{class:"col-4 align-content-end"},i(b,{height:"18px",width:"80px"}),i(b,{height:"36px"})),i("div",{class:"col-4 align-content-end"},i(b,{height:"36px"})),i("div",{class:"col-4 align-content-end"},i(b,{height:"18px",width:"30px"}),i(b,{height:"36px"}))))},P=class{constructor(e){t(this,e),this.isReady=!1}async componentWillLoad(){await o(),this.iframeOrigin=c.iframeOrigin,this.tabId=m(),n(),this.analytics=new d(this)}componentDidRender(){Promise.all([this.cardNumberIframeElement,this.expirationMonthIframeElement,this.expirationYearIframeElement,this.cvvIframeElement].map((t=>new Promise((e=>{t.addEventListener("iframeLoaded",(()=>{e()}))}))))).then((()=>{this.isReady=!0}))}disconnectedCallback(){var t;null===(t=this.analytics)||void 0===t||t.cleanup()}async validate(){const t=await this.cardNumberIframeElement.validate(),e=await this.expirationMonthIframeElement.validate(),i=await this.expirationYearIframeElement.validate(),s=await this.cvvIframeElement.validate();return t&&e&&i&&s}async tokenize({clientId:t,paymentMethodMetadata:e,account:i}){return this.cardNumberIframeElement.tokenize(t,e,i)}render(){return i(r,{key:"e204cee1fc875392b8056baf58b7234a739fffce"},i(I,{key:"3accfb88d66661ceaef39f765bb3fddfd0f98393",isReady:this.isReady}),i("hidden-input",{key:"0416ddca8b444cf8702f3fff52065bf647bd4b61"}),i("div",{key:"37c1d5014e5a6658bfd28e08e361ffaa6488f6d7",class:"container-fluid p-0",style:{opacity:this.isReady?"1":"0",height:this.isReady?"auto":"0"}},i("div",{key:"e2956855dfbcab38a782c22e93bd49252196baa8",class:"mb-3"},i("iframe-input",{key:"55105f1eebab4b846e1b5c55448259368a412349",inputId:"cardNumber",ref:t=>this.cardNumberIframeElement=t,label:"Card Number",iframeOrigin:`${this.iframeOrigin}/v2/cardNumber?tabId=${this.tabId}`})),i("div",{key:"9464b1a500a84dcaa438a9ebdad756637d14cb24",class:"row"},i("div",{key:"adc51687629fb00d26c6627e95c0228f5a4dfd11",class:"col-4 align-content-end"},i("iframe-input",{key:"52a0e5e198b6bfac00515ec220370e289674b613",inputId:"expirationMonth",ref:t=>this.expirationMonthIframeElement=t,label:"Expiration",iframeOrigin:`${this.iframeOrigin}/v2/expirationMonth?tabId=${this.tabId}`})),i("div",{key:"1b09582711d838643db265b003ed18b18042713e",class:"col-4 align-content-end"},i("iframe-input",{key:"a1731a8dc02723398e1aae58b3812fccf62e6157",inputId:"expirationYear",ref:t=>this.expirationYearIframeElement=t,label:"",iframeOrigin:`${this.iframeOrigin}/v2/expirationYear?tabId=${this.tabId}`})),i("div",{key:"1e2c3205f2e0b28d036480d2c61934da5e7da620",class:"col-4 align-content-end"},i("iframe-input",{key:"b7b87360068434122f9b5a8935468240684b7a1d",inputId:"CVV",ref:t=>this.cvvIframeElement=t,label:"CVV",iframeOrigin:`${this.iframeOrigin}/v2/CVV?tabId=${this.tabId}`})))))}},O=class{constructor(i){t(this,i),this.checkboxChanged=e(this,"checkboxChanged",7),this.label="Save New Payment Method",this.isChecked=!1,this.handleCheckboxChange=(t,e)=>{this.isChecked=e,f.savePaymentMethod=e,this.checkboxChanged.emit(this.isChecked)}}render(){return i(r,{key:"981f6a84fc14a7b687e1b6567b30fb9f861b0aa2"},i("form-control-checkbox",{key:"566f6261d19f96b87b9382b26a86b71461a29d08",label:this.label||"Save New Payment Method",name:"saveNewPaymentMethod",checked:this.isChecked,inputHandler:this.handleCheckboxChange}))}};export{j as internal_tokenize_payment_method,M as justifi_bank_account_form,_ as justifi_billing_form,x as justifi_button,P as justifi_card_form,v as justifi_radio_list_item,O as justifi_save_new_payment_method}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,c as t,h as r}from"./p-CV0Pyo1O.js";import{P as o}from"./p-y-FoILTI.js";import"./p-DVJaoI_m.js";import"./p-HXpYMWUU.js";import{C as i,a as e}from"./p-Cjcsf8ku.js";import{P as p}from"./p-DpkIbI5R.js";import"./p-CLHwhyvu.js";import"./p-CHJTjG_5.js";import"./p-BH0Xfn-F.js";import{g as a,a as n}from"./p-D2muobcE.js";import{c,J as m}from"./p-DLLFAj4z.js";import{S as h}from"./p-BqNNwq6C.js";import"./p-CZfYo5-1.js";import{d}from"./p-D4EBPNuU.js";import"./p-y8av3w9x.js";import"./p-B09GVew-.js";import"./p-D8GTwl9v.js";import"./p-DkoufM1t.js";import"./p-ZkBwsSuI.js";import"./p-YYXsr-bI.js";import"./p-BZ4YUsyP.js";import"./p-DrquDBSk.js";const u=class{constructor(r){s(this,r),this.errorEvent=t(this,"error-event",7),this.errorMessage=null,this.columns=d,this.handleErrorEvent=s=>{this.errorMessage=s.detail.message,this.errorEvent.emit(s.detail)}}componentWillLoad(){c(),this.analytics=new m(this),this.initializeGetPayments()}disconnectedCallback(){var s;null===(s=this.analytics)||void 0===s||s.cleanup()}propChanged(){this.initializeGetPayments()}initializeGetPayments(){this.accountId&&this.authToken?this.getPayments=(({id:s,authToken:t,service:r})=>async({params:o,onSuccess:e,onError:c,final:m})=>{var h,d;try{const m=await r.fetchPayments(s,t,o);if(m.error)return c({error:n(m.error),code:a(null===(d=m.error)||void 0===d?void 0:d.code),severity:i.ERROR});{const s=Object.assign({},m.page_info);e({payments:(null===(h=m.data)||void 0===h?void 0:h.map((s=>new p(s))))||[],pagingInfo:s})}}catch(s){const t=a(null==s?void 0:s.code);return c({error:s.message||s,code:t,severity:i.ERROR})}finally{return m()}})({id:this.accountId,authToken:this.authToken,service:new o}):(this.errorMessage="Account ID and Auth Token are required",this.errorEvent.emit({errorCode:e.MISSING_PROPS,message:this.errorMessage,severity:i.ERROR}))}render(){return r(h,{key:"dacd185484da020c13c83796ae4b0cfc62d0e24d"},r("payments-list-core",{key:"c57ef13bb93c1c168e96053f3ca0efad460a39f6",getPayments:this.getPayments,"onError-event":this.handleErrorEvent,columns:this.columns}))}static get watchers(){return{accountId:["propChanged"],authToken:["propChanged"]}}};export{u as justifi_payments_list}
|