@justifi/webcomponents 6.11.0 → 6.12.0
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/{check-pkg-version-Di4JmtKX.js → Analytics-DZCXB2Za.js} +1 -44
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
- package/dist/cjs/{justifi-additional-questions-form-step_9.cjs.entry.js → additional-questions-form-step_9.cjs.entry.js} +22 -22
- package/dist/cjs/{form-alert_5.cjs.entry.js → additional-questions_5.cjs.entry.js} +26 -26
- package/dist/cjs/bank-account-billing-form-simple_4.cjs.entry.js +203 -0
- package/dist/cjs/bank-account-document-form-inputs_9.cjs.entry.js +37 -37
- package/dist/cjs/bank-account-form.cjs.entry.js +8 -4
- package/dist/cjs/card-form.cjs.entry.js +8 -4
- package/dist/cjs/check-pkg-version-CUhnNGii.js +47 -0
- package/dist/cjs/checkouts-list-core.cjs.entry.js +1 -1
- package/dist/cjs/custom-popper_2.cjs.entry.js +4 -4
- package/dist/cjs/{form-control-number-masked_3.cjs.entry.js → form-address-fields_3.cjs.entry.js} +23 -23
- package/dist/cjs/form-control-checkbox.cjs.entry.js +4 -4
- package/dist/cjs/form-control-date.cjs.entry.js +4 -4
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +7 -7
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +4 -4
- package/dist/cjs/form-control-monetary.cjs.entry.js +4 -4
- package/dist/cjs/form-control-number_3.cjs.entry.js +11 -11
- package/dist/cjs/form-control-radio.cjs.entry.js +4 -4
- package/dist/cjs/form-control-select_2.cjs.entry.js +8 -8
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
- package/dist/cjs/hidden-input_2.cjs.entry.js +5 -5
- package/dist/cjs/internal-button.cjs.entry.js +18 -0
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +24 -24
- package/dist/cjs/{justifi-apple-pay_8.cjs.entry.js → justifi-apple-pay_11.cjs.entry.js} +337 -31
- package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +46 -0
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +44 -0
- package/dist/cjs/justifi-billing-form-full.cjs.entry.js +24 -0
- package/dist/cjs/justifi-billing-form.cjs.entry.js +24 -0
- package/dist/cjs/justifi-business-details.cjs.entry.js +6 -5
- package/dist/cjs/justifi-business-form.cjs.entry.js +7 -6
- package/dist/cjs/justifi-card-billing-form-simple.cjs.entry.js +24 -0
- package/dist/cjs/justifi-card-form.cjs.entry.js +44 -0
- package/dist/cjs/justifi-checkout.cjs.entry.js +8 -9
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +4 -4
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +7 -6
- package/dist/cjs/justifi-config-provider.cjs.entry.js +2 -2
- package/dist/cjs/justifi-details.cjs.entry.js +3 -3
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +3 -3
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +7 -6
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +14 -13
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +6 -5
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +7 -6
- package/dist/cjs/justifi-payment-details.cjs.entry.js +6 -5
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +7 -6
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +7 -6
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payments-list.cjs.entry.js +7 -6
- package/dist/cjs/justifi-payout-details.cjs.entry.js +6 -5
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +7 -6
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +7 -6
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +6 -5
- package/dist/cjs/justifi-save-new-payment-method.cjs.entry.js +18 -0
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +3 -3
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +6 -5
- 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 +7 -6
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +3 -3
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +7 -6
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-D8NG-zuY.js → package-CJg8qLYd.js} +1 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +8 -8
- package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
- package/dist/cjs/payments-list-core.cjs.entry.js +1 -1
- package/dist/cjs/payout-details-core.cjs.entry.js +3 -3
- package/dist/cjs/payouts-list-core.cjs.entry.js +1 -1
- package/dist/cjs/radio-list-item.cjs.entry.js +21 -0
- package/dist/cjs/save-new-payment-method.cjs.entry.js +25 -0
- package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +1 -1
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
- package/dist/cjs/terminals-list-core.cjs.entry.js +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +58 -52
- package/dist/collection/components/business-details/{business-details.js → justifi-business-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 +3 -3
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +3 -3
- package/dist/collection/components/business-forms/business-form/{business-form.js → justifi-business-form.js} +2 -2
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +2 -2
- package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +2 -2
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +2 -2
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +3 -3
- package/dist/collection/components/business-forms/owner-form/owner-form.js +3 -3
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/{business-additional-questions-form-step.js → additional-questions-form-step.js} +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/{bank-account-document-inputs.js → bank-account-document-form-inputs.js} +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.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/bank-account-read-only-value.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 +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +4 -4
- 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 +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +3 -3
- package/dist/collection/components/business-forms/payment-provisioning/{payment-provisioning.js → justifi-payment-provisioning.js} +2 -2
- 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 +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +9 -9
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +2 -2
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +11 -16
- package/dist/collection/components/{modular-checkout/sub-components → checkout/billing-form}/bank-account-billing-form-simple.js +16 -35
- package/dist/collection/components/{modular-checkout/sub-components → checkout/billing-form}/billing-form-full.js +19 -37
- package/dist/collection/components/checkout/billing-form/billing-form.js +5 -35
- package/dist/collection/components/{modular-checkout/sub-components → checkout/billing-form}/card-billing-form-simple.js +16 -35
- package/dist/collection/components/checkout/billing-form/justifi-billing-form.js +140 -0
- package/dist/collection/components/checkout/card-form/card-form.js +11 -16
- package/dist/collection/components/checkout/{checkout.js → justifi-checkout.js} +3 -24
- package/dist/collection/components/checkout/{saved-payment-method.js → justifi-saved-payment-method.js} +2 -2
- package/dist/collection/components/checkout/save-new-payment-method/justifi-save-new-payment-method.js +73 -0
- package/dist/collection/components/checkout/{save-new-payment-method.js → save-new-payment-method/save-new-payment-method.js} +23 -6
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +3 -3
- package/dist/collection/components/checkouts-list/{checkouts-list.js → justifi-checkouts-list.js} +2 -2
- package/dist/collection/components/config-provider/{config-provider.js → justifi-config-provider.js} +1 -1
- package/dist/collection/components/dispute-management/dispute-management-core.js +2 -2
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +2 -2
- package/dist/collection/components/dispute-management/dispute-response/{additional-statement.js → justifi-additional-statement.js} +2 -2
- package/dist/collection/components/dispute-management/dispute-response/{cancellation-policy.js → justifi-cancellation-policy.js} +2 -2
- package/dist/collection/components/dispute-management/dispute-response/{customer-details.js → justifi-customer-details.js} +2 -2
- package/dist/collection/components/dispute-management/dispute-response/{dispute-response.js → justifi-dispute-response.js} +5 -4
- package/dist/collection/components/dispute-management/dispute-response/{duplicate-charge.js → justifi-duplicate-charge.js} +2 -2
- package/dist/collection/components/dispute-management/dispute-response/{electronic-evidence.js → justifi-electronic-evidence.js} +2 -2
- package/dist/collection/components/dispute-management/dispute-response/{product-or-service.js → justifi-product-or-service.js} +2 -2
- package/dist/collection/components/dispute-management/dispute-response/{refund-policy.js → justifi-refund-policy.js} +2 -2
- package/dist/collection/components/dispute-management/dispute-response/{shipping-details.js → justifi-shipping-details.js} +2 -2
- package/dist/collection/components/dispute-management/{dispute-management.js → justifi-dispute-management.js} +2 -2
- package/dist/collection/components/dispute-management/{dispute-notification.js → justifi-dispute-notification.js} +3 -3
- 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/gross-payment-chart/{gross-payment-chart.js → justifi-gross-payment-chart.js} +1 -1
- package/dist/collection/components/insurance/season-interruption/{season-interruption-insurance.js → justifi-season-interruption-insurance.js} +1 -1
- package/dist/collection/components/modular-checkout/{modular-checkout.js → justifi-modular-checkout.js} +41 -3
- package/dist/collection/components/modular-checkout/sub-components/{apple-pay.js → justifi-apple-pay.js} +8 -11
- package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-billing-form-simple.js +95 -0
- package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-form.js +69 -0
- package/dist/collection/components/modular-checkout/sub-components/justifi-billing-form-full.js +83 -0
- package/dist/collection/components/modular-checkout/sub-components/justifi-card-billing-form-simple.js +83 -0
- package/dist/collection/components/modular-checkout/sub-components/justifi-card-form.js +69 -0
- package/dist/collection/components/modular-checkout/sub-components/justifi-checkout-summary.js +12 -0
- package/dist/collection/components/modular-checkout/sub-components/{google-pay.js → justifi-google-pay.js} +1 -1
- package/dist/collection/components/modular-checkout/sub-components/{plaid-payment-method.js → justifi-plaid-payment-method.js} +2 -2
- package/dist/collection/components/modular-checkout/sub-components/{saved-payment-methods.js → justifi-saved-payment-methods.js} +1 -1
- package/dist/collection/components/modular-checkout/sub-components/{sezzle-payment-method.js → justifi-sezzle-payment-method.js} +1 -1
- package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
- package/dist/collection/components/order-terminals/{order-terminals.js → justifi-order-terminals.js} +2 -2
- package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
- package/dist/collection/components/payment-details/{payment-details.js → justifi-payment-details.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 → justifi-payment-transactions-list.js} +2 -2
- package/dist/collection/components/payments-list/{payments-list-filters.js → justifi-payments-list-filters.js} +3 -3
- package/dist/collection/components/payments-list/{payments-list.js → justifi-payments-list.js} +2 -2
- package/dist/collection/components/payments-list/payments-list-core.js +1 -1
- package/dist/collection/components/payout-details/{payout-details.js → justifi-payout-details.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 → justifi-payout-transactions-list.js} +2 -2
- package/dist/collection/components/payouts-list/{payouts-list-filters.js → justifi-payouts-list-filters.js} +3 -3
- package/dist/collection/components/payouts-list/{payouts-list.js → justifi-payouts-list.js} +2 -2
- package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
- package/dist/collection/components/refund-payment/{refund-payment.js → justifi-refund-payment.js} +1 -1
- package/dist/collection/components/terminal-orders-list/{terminal-orders-list-filters.js → justifi-terminal-orders-list-filters.js} +4 -4
- package/dist/collection/components/terminal-orders-list/{terminal-orders-list.js → justifi-terminal-orders-list.js} +2 -2
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
- package/dist/collection/components/terminals-list/{terminals-list-filters.js → justifi-terminals-list-filters.js} +2 -2
- package/dist/collection/components/terminals-list/{terminals-list.js → justifi-terminals-list.js} +2 -2
- package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
- package/dist/collection/components/tokenize-payment-method/{internal-tokenize-payment-method.js → justifi-tokenize-payment-method.js} +73 -37
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/details/{details.js → justifi-details.js} +2 -2
- package/dist/collection/ui-components/form/form-control-checkbox.js +3 -3
- package/dist/collection/ui-components/form/form-control-date.js +3 -3
- package/dist/collection/ui-components/form/form-control-file-v2.js +2 -2
- package/dist/collection/ui-components/form/form-control-file.js +3 -3
- package/dist/collection/ui-components/form/form-control-monetary.js +3 -3
- package/dist/collection/ui-components/form/form-control-number-masked.js +3 -3
- package/dist/collection/ui-components/form/form-control-number.js +3 -3
- package/dist/collection/ui-components/form/form-control-radio.js +3 -3
- package/dist/collection/ui-components/form/form-control-select.js +3 -3
- package/dist/collection/ui-components/form/form-control-text.js +3 -3
- package/dist/collection/ui-components/form/form-control-textarea.js +3 -3
- 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 +3 -3
- package/dist/collection/ui-components/index.js +1 -1
- package/dist/collection/ui-components/internal-button.js +192 -0
- package/dist/collection/ui-components/radio-list-item.js +153 -0
- package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +20 -2
- package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +2 -2
- package/dist/collection/ui-components/shadow-dom-components/justifi-radio-list-item.js +1 -5
- package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
- package/dist/docs.json +10905 -10441
- package/dist/esm/{check-pkg-version-Dn83YYz_.js → Analytics-C2EVi4Am.js} +4 -46
- package/dist/esm/{Api-CLZVsXZg.js → Api-DI0-itk3.js} +1 -1
- package/dist/esm/{Plaid-DOdR_CNb.js → Plaid-vwPGZ5y4.js} +1 -1
- package/dist/esm/additional-questions-details_5.entry.js +5 -5
- package/dist/esm/{justifi-additional-questions-form-step_9.entry.js → additional-questions-form-step_9.entry.js} +22 -22
- package/dist/esm/{form-alert_5.entry.js → additional-questions_5.entry.js} +23 -23
- package/dist/esm/{badge-guwZ0VTf.js → badge-B_DdhQ3Q.js} +1 -1
- package/dist/esm/bank-account-billing-form-simple_4.entry.js +198 -0
- package/dist/esm/bank-account-document-form-inputs_9.entry.js +43 -43
- package/dist/esm/bank-account-form.entry.js +12 -8
- package/dist/esm/business-details-core.entry.js +3 -3
- package/dist/esm/{business.service-DSolii9Q.js → business.service-M3YvwC-d.js} +2 -2
- package/dist/esm/{button-CdXktiZq.js → button-B-Agn8yQ.js} +1 -1
- package/dist/esm/card-form.entry.js +12 -8
- package/dist/esm/check-pkg-version-qIHmWcbI.js +45 -0
- package/dist/esm/{checkout.service-BTXHVtxI.js → checkout.service-DdIBmfsp.js} +2 -2
- package/dist/esm/{checkout.store-iNkW80yV.js → checkout.store-C1TdhFf6.js} +1 -1
- package/dist/esm/checkouts-list-core.entry.js +8 -8
- package/dist/esm/{checkouts-table-Bf6gjMf8.js → checkouts-table-4iLy6mvH.js} +3 -3
- package/dist/esm/custom-popper_2.entry.js +5 -5
- package/dist/esm/{dispute.service-CpDEYnHy.js → dispute.service-BzzA0DeT.js} +2 -2
- package/dist/esm/{form-control-number-masked_3.entry.js → form-address-fields_3.entry.js} +23 -23
- package/dist/esm/form-control-checkbox.entry.js +7 -7
- package/dist/esm/form-control-date.entry.js +6 -6
- package/dist/esm/{form-control-error-text-JYoDicr0.js → form-control-error-text-DMKhr8QA.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +8 -8
- package/dist/esm/{form-control-help-text-DxL7yVgi.js → form-control-help-text-CsdCuw5-.js} +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +7 -7
- package/dist/esm/form-control-monetary.entry.js +8 -8
- package/dist/esm/form-control-number_3.entry.js +13 -13
- package/dist/esm/form-control-radio.entry.js +5 -5
- package/dist/esm/form-control-select_2.entry.js +9 -9
- package/dist/esm/{get-payment-details-VEzqfeuZ.js → get-payment-details-CN7gUjBc.js} +1 -1
- package/dist/esm/{get-subaccounts-DUdsxExJ.js → get-subaccounts-Mwx-aVcG.js} +2 -2
- package/dist/esm/gross-payment-chart-core.entry.js +5 -5
- package/dist/esm/{header-1-CU8Erek9.js → header-1-bRxxOyI-.js} +1 -1
- package/dist/esm/{header-3-BwJ-9MsW.js → header-3-E533c0A3.js} +1 -1
- package/dist/esm/hidden-input_2.entry.js +7 -7
- package/dist/esm/{insurance-state-gsU4kKgc.js → insurance-state-obAKb1XR.js} +1 -1
- package/dist/esm/internal-button.entry.js +16 -0
- package/dist/esm/justifi-additional-statement_8.entry.js +18 -18
- package/dist/esm/{justifi-apple-pay_8.entry.js → justifi-apple-pay_11.entry.js} +338 -35
- package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +44 -0
- package/dist/esm/justifi-bank-account-form.entry.js +42 -0
- package/dist/esm/justifi-billing-form-full.entry.js +22 -0
- package/dist/esm/justifi-billing-form.entry.js +22 -0
- package/dist/esm/justifi-business-details.entry.js +11 -10
- package/dist/esm/justifi-business-form.entry.js +14 -13
- package/dist/esm/justifi-card-billing-form-simple.entry.js +22 -0
- package/dist/esm/justifi-card-form.entry.js +42 -0
- package/dist/esm/justifi-checkout.entry.js +12 -13
- package/dist/esm/justifi-checkouts-list-filters.entry.js +7 -7
- package/dist/esm/justifi-checkouts-list.entry.js +14 -13
- package/dist/esm/justifi-config-provider.entry.js +2 -2
- package/dist/esm/justifi-details.entry.js +5 -5
- package/dist/esm/justifi-dispute-management-core.entry.js +3 -3
- package/dist/esm/justifi-dispute-management.entry.js +10 -9
- package/dist/esm/justifi-dispute-notification_3.entry.js +18 -17
- package/dist/esm/justifi-gross-payment-chart.entry.js +10 -9
- package/dist/esm/justifi-order-terminals.entry.js +13 -12
- package/dist/esm/justifi-payment-details.entry.js +12 -11
- package/dist/esm/justifi-payment-provisioning-core.entry.js +7 -7
- package/dist/esm/justifi-payment-provisioning.entry.js +10 -9
- package/dist/esm/justifi-payment-transactions-list.entry.js +13 -12
- package/dist/esm/justifi-payments-list-filters.entry.js +6 -6
- package/dist/esm/justifi-payments-list.entry.js +14 -13
- package/dist/esm/justifi-payout-details.entry.js +11 -10
- package/dist/esm/justifi-payout-transactions-list.entry.js +13 -12
- package/dist/esm/justifi-payouts-list-filters.entry.js +7 -7
- package/dist/esm/justifi-payouts-list.entry.js +15 -14
- package/dist/esm/justifi-refund-payment.entry.js +13 -12
- package/dist/esm/justifi-save-new-payment-method.entry.js +16 -0
- package/dist/esm/justifi-saved-payment-method.entry.js +4 -4
- package/dist/esm/justifi-season-interruption-insurance.entry.js +12 -11
- package/dist/esm/justifi-skeleton.entry.js +3 -3
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +8 -8
- package/dist/esm/justifi-terminal-orders-list.entry.js +12 -11
- package/dist/esm/justifi-terminals-list-filters.entry.js +6 -6
- package/dist/esm/justifi-terminals-list.entry.js +14 -13
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-qNXIkzDE.js → package-CIYOQWsL.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/{parts-D3V9AE6o.js → parts-D50Rx76J.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +15 -15
- package/dist/esm/payment-method-option.entry.js +2 -2
- package/dist/esm/{payment-provisioning-loading-CQfDKCwy.js → payment-provisioning-loading-BAoIyEOj.js} +1 -1
- package/dist/esm/{payment.service-BjU4B__W.js → payment.service-0k8z2rOV.js} +2 -2
- package/dist/esm/payments-list-core.entry.js +9 -9
- package/dist/esm/{payments-status-DT4VNKKg.js → payments-status-7P7L51CK.js} +1 -1
- package/dist/esm/{payments-table-BJ1F2ZZU.js → payments-table-Bz7LmU_J.js} +3 -3
- package/dist/esm/payout-details-core.entry.js +10 -10
- package/dist/esm/{payout.service-CzCd8AaC.js → payout.service-C14YvCWQ.js} +2 -2
- package/dist/esm/payouts-list-core.entry.js +9 -9
- package/dist/esm/{payouts-status-LTNE_gQc.js → payouts-status-CGZRMu-q.js} +1 -1
- package/dist/esm/{payouts-table-Yp2d9OgA.js → payouts-table-Bpt__avQ.js} +3 -3
- package/dist/esm/{plaid.service-D61Eq14d.js → plaid.service-Dtxfrsm8.js} +2 -2
- package/dist/esm/radio-list-item.entry.js +19 -0
- package/dist/esm/save-new-payment-method.entry.js +23 -0
- package/dist/esm/{skeleton-CV6EpBqb.js → skeleton-DV6yJalo.js} +1 -1
- package/dist/esm/{spinner-CG3aWl8K.js → spinner--fEgBBOG.js} +1 -1
- package/dist/esm/{table-DZ6rurWg.js → table-Deugl8h5.js} +2 -2
- package/dist/esm/table-filters-menu.entry.js +3 -3
- package/dist/esm/terminal-orders-list-core.entry.js +8 -8
- package/dist/esm/{terminal-orders-table-CJg6dKsL.js → terminal-orders-table-DRnRR4zn.js} +4 -4
- package/dist/esm/terminal-quantity-selector.entry.js +2 -2
- package/dist/esm/{terminal.service-BBdRhDxm.js → terminal.service-rxvEhqqF.js} +2 -2
- package/dist/esm/terminals-list-core.entry.js +8 -8
- package/dist/esm/{terminals-table-iGSICJeZ.js → terminals-table-DSDZgJ77.js} +3 -3
- package/dist/esm/{utils-7bp92NC7.js → utils-C_8ZxLti.js} +1 -1
- package/dist/esm/{utils-DUArY3am.js → utils-DJOBwFeP.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Analytics.js +1 -43
- package/dist/module/Plaid.js +1 -1
- package/dist/module/additional-questions-form-step.d.ts +11 -0
- package/dist/module/additional-questions-form-step.js +6 -0
- package/dist/module/{business-additional-questions-form-step.js → additional-questions-form-step2.js} +5 -5
- package/dist/module/additional-questions.d.ts +11 -0
- package/dist/module/additional-questions.js +4 -76
- package/dist/module/additional-questions2.js +78 -0
- package/dist/module/badge.js +1 -1
- package/dist/module/bank-account-billing-form-simple.d.ts +11 -0
- package/dist/module/bank-account-billing-form-simple.js +4 -86
- package/dist/module/bank-account-billing-form-simple2.js +91 -0
- package/dist/module/bank-account-document-form-inputs.js +1 -1
- package/dist/module/{bank-account-document-inputs.js → bank-account-document-form-inputs2.js} +1 -1
- package/dist/module/bank-account-form-inputs-canada2.js +3 -3
- package/dist/module/bank-account-form-inputs2.js +3 -3
- package/dist/module/bank-account-form.js +1 -80
- package/dist/module/{bank-account.js → bank-account-form2.js} +10 -19
- package/dist/module/bank-account-read-only-value2.js +2 -2
- package/dist/module/billing-form-full.d.ts +11 -0
- package/dist/module/billing-form-full.js +4 -97
- package/dist/module/billing-form-full2.js +105 -0
- package/dist/module/billing-form-schema.js +1 -1
- package/dist/module/billing-form.d.ts +11 -0
- package/dist/module/billing-form.js +4 -102
- package/dist/module/billing-form2.js +99 -0
- package/dist/module/business-additional-questions-schema.js +1 -1
- package/dist/module/business-address-schema.js +2 -2
- package/dist/module/business-bank-account-form-step.d.ts +11 -0
- package/dist/module/business-bank-account-form-step.js +4 -602
- package/dist/module/business-bank-account-form-step2.js +604 -0
- package/dist/module/business-core-info-form-step.d.ts +11 -0
- package/dist/module/business-core-info-form-step.js +4 -215
- package/dist/module/business-core-info-form-step2.js +217 -0
- package/dist/module/{justifi-owner-form.d.ts → business-core-info.d.ts} +4 -4
- package/dist/module/business-core-info.js +4 -92
- package/dist/module/business-core-info2.js +94 -0
- package/dist/module/business-details-core2.js +1 -1
- package/dist/module/business-documents-on-file2.js +3 -3
- package/dist/module/business-form-options.js +1 -1
- package/dist/module/business-identity-schema.js +2 -2
- package/dist/module/business-owners-form-step.d.ts +11 -0
- package/dist/module/business-owners-form-step.js +4 -302
- package/dist/module/business-owners-form-step2.js +304 -0
- package/dist/module/business-representative-form-inputs.d.ts +11 -0
- package/dist/module/business-representative-form-inputs.js +4 -100
- package/dist/module/business-representative-form-inputs2.js +102 -0
- package/dist/module/business-representative-form-step.d.ts +11 -0
- package/dist/module/business-representative-form-step.js +4 -220
- package/dist/module/business-representative-form-step2.js +222 -0
- package/dist/module/business-representative.d.ts +11 -0
- package/dist/module/business-representative.js +4 -114
- package/dist/module/business-representative2.js +116 -0
- package/dist/module/business-terms-conditions-form-step.d.ts +11 -0
- package/dist/module/business-terms-conditions-form-step.js +4 -165
- package/dist/module/business-terms-conditions-form-step2.js +167 -0
- package/dist/module/button.js +1 -1
- package/dist/module/card-billing-form-simple.d.ts +11 -0
- package/dist/module/card-billing-form-simple.js +4 -86
- package/dist/module/card-billing-form-simple2.js +91 -0
- package/dist/module/card-form.js +1 -84
- package/dist/module/card-form2.js +12 -21
- package/dist/module/check-pkg-version.js +45 -0
- package/dist/module/checkout.store.js +2 -2
- package/dist/module/checkouts-list-core2.js +4 -4
- package/dist/module/checkouts-list-params-state.js +1 -1
- package/dist/module/config-state.js +1 -1
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/dispute-management-core.js +15 -15
- package/dist/module/dispute-response-actions.js +2 -2
- package/dist/module/dispute-response-core.js +13 -13
- package/dist/module/form-address-fields.d.ts +11 -0
- package/dist/module/form-address-fields.js +4 -63
- package/dist/module/form-address-fields2.js +65 -0
- package/dist/module/form-alert2.js +1 -1
- package/dist/module/form-control-checkbox.js +2 -2
- package/dist/module/form-control-checkbox2.js +8 -8
- package/dist/module/form-control-date.js +2 -2
- package/dist/module/form-control-date2.js +7 -7
- package/dist/module/form-control-file-v2.js +2 -2
- package/dist/module/form-control-file-v22.js +4 -4
- package/dist/module/form-control-file.js +2 -2
- package/dist/module/form-control-file2.js +7 -7
- package/dist/module/form-control-help-text.js +1 -1
- package/dist/module/form-control-help-text2.js +9 -32
- package/dist/module/form-control-help-text3.js +32 -9
- package/dist/module/form-control-monetary-provisioning.js +2 -2
- package/dist/module/form-control-monetary-provisioning2.js +9 -9
- package/dist/module/form-control-monetary.js +2 -2
- package/dist/module/form-control-monetary2.js +8 -8
- package/dist/module/form-control-number-masked.js +2 -2
- package/dist/module/form-control-number-masked2.js +8 -8
- package/dist/module/form-control-number.js +2 -2
- package/dist/module/form-control-number2.js +8 -8
- package/dist/module/form-control-radio.js +2 -2
- package/dist/module/form-control-radio2.js +7 -7
- package/dist/module/form-control-select.js +2 -2
- package/dist/module/form-control-select2.js +7 -7
- package/dist/module/form-control-text.js +2 -2
- package/dist/module/form-control-text2.js +7 -7
- package/dist/module/form-control-textarea.js +2 -2
- package/dist/module/form-control-textarea2.js +7 -7
- package/dist/module/form-control-tooltip.js +2 -2
- package/dist/module/form-control-tooltip2.js +4 -4
- package/dist/module/get-business.js +2 -2
- package/dist/module/get-payment-details.js +2 -2
- package/dist/module/get-payout-csv.js +2 -2
- package/dist/module/get-subaccounts.js +2 -2
- package/dist/module/gross-payment-chart-core2.js +1 -1
- package/dist/module/header-1.js +1 -1
- package/dist/module/header-3.js +1 -1
- package/dist/module/hidden-input2.js +2 -2
- package/dist/module/identity-address-form.d.ts +11 -0
- package/dist/module/identity-address-form.js +4 -76
- package/dist/module/identity-address-form2.js +78 -0
- package/dist/module/iframe-input-styles-state.js +1 -1
- package/dist/module/iframe-input2.js +4 -4
- package/dist/module/index2.js +3567 -246
- package/dist/module/index3.js +246 -3567
- package/dist/module/insurance-state.js +1 -1
- package/dist/module/internal-button.d.ts +11 -0
- package/dist/module/internal-button.js +6 -0
- package/dist/module/internal-button2.js +42 -0
- package/dist/module/justifi-additional-statement.js +2 -2
- package/dist/module/{additional-statement.js → justifi-additional-statement2.js} +5 -5
- package/dist/module/justifi-apple-pay.js +2 -2
- package/dist/module/{apple-pay.js → justifi-apple-pay2.js} +11 -11
- package/dist/module/justifi-bank-account-billing-form-simple.js +81 -2
- package/dist/module/justifi-bank-account-form.js +72 -2
- package/dist/module/justifi-billing-form-full.js +75 -2
- package/dist/module/justifi-billing-form.js +96 -2
- package/dist/module/justifi-business-details.js +7 -6
- package/dist/module/justifi-business-form.js +38 -37
- package/dist/module/justifi-button2.js +10 -4
- package/dist/module/justifi-cancellation-policy.js +2 -2
- package/dist/module/{cancellation-policy.js → justifi-cancellation-policy2.js} +5 -5
- package/dist/module/justifi-card-billing-form-simple.js +69 -2
- package/dist/module/justifi-card-form.js +71 -1
- package/dist/module/justifi-checkout-summary.js +2 -2
- package/dist/module/{summary.js → justifi-checkout-summary2.js} +6 -6
- package/dist/module/justifi-checkout.js +73 -62
- package/dist/module/justifi-checkouts-list-filters.js +6 -6
- package/dist/module/justifi-checkouts-list.js +9 -8
- package/dist/module/justifi-config-provider.js +3 -3
- package/dist/module/justifi-customer-details.js +2 -2
- package/dist/module/{customer-details.js → justifi-customer-details2.js} +5 -5
- package/dist/module/justifi-details.js +2 -2
- package/dist/module/{details.js → justifi-details2.js} +4 -4
- package/dist/module/justifi-dispute-management-core.js +2 -2
- package/dist/module/justifi-dispute-management.js +19 -18
- package/dist/module/justifi-dispute-notification.js +2 -2
- package/dist/module/{dispute-notification.js → justifi-dispute-notification2.js} +7 -7
- package/dist/module/justifi-dispute-response-core.js +2 -2
- package/dist/module/justifi-dispute-response.js +2 -2
- package/dist/module/{dispute-response.js → justifi-dispute-response2.js} +17 -16
- package/dist/module/justifi-duplicate-charge.js +2 -2
- package/dist/module/{duplicate-charge.js → justifi-duplicate-charge2.js} +5 -5
- package/dist/module/justifi-electronic-evidence.js +2 -2
- package/dist/module/{electronic-evidence.js → justifi-electronic-evidence2.js} +4 -4
- package/dist/module/justifi-google-pay.js +2 -2
- package/dist/module/{google-pay.js → justifi-google-pay2.js} +4 -4
- package/dist/module/justifi-gross-payment-chart.js +7 -6
- package/dist/module/justifi-header.js +2 -2
- package/dist/module/justifi-header2.js +4 -4
- package/dist/module/justifi-modular-checkout.js +2 -2
- package/dist/module/{modular-checkout.js → justifi-modular-checkout2.js} +23 -9
- package/dist/module/justifi-order-terminals.js +10 -9
- package/dist/module/justifi-payment-details.js +7 -6
- package/dist/module/justifi-payment-provisioning-core.js +2 -2
- package/dist/module/justifi-payment-provisioning.js +70 -69
- package/dist/module/justifi-payment-transactions-list.js +10 -9
- package/dist/module/justifi-payments-list-filters.js +6 -6
- package/dist/module/justifi-payments-list.js +9 -8
- package/dist/module/justifi-payout-details.js +8 -7
- package/dist/module/justifi-payout-transactions-list.js +10 -9
- package/dist/module/justifi-payouts-list-filters.js +6 -6
- package/dist/module/justifi-payouts-list.js +9 -8
- package/dist/module/justifi-plaid-payment-method.js +2 -2
- package/dist/module/{plaid-payment-method.js → justifi-plaid-payment-method2.js} +7 -7
- package/dist/module/justifi-product-or-service.js +2 -2
- package/dist/module/{product-or-service.js → justifi-product-or-service2.js} +4 -4
- package/dist/module/justifi-radio-list-item2.js +11 -9
- package/dist/module/justifi-refund-payment.js +9 -8
- package/dist/module/justifi-refund-policy.js +2 -2
- package/dist/module/{refund-policy.js → justifi-refund-policy2.js} +5 -5
- package/dist/module/justifi-save-new-payment-method.js +50 -2
- package/dist/module/justifi-saved-payment-method.js +6 -6
- package/dist/module/justifi-saved-payment-methods.js +2 -2
- package/dist/module/{saved-payment-methods.js → justifi-saved-payment-methods2.js} +6 -6
- package/dist/module/justifi-season-interruption-insurance.js +10 -9
- package/dist/module/justifi-sezzle-payment-method.js +2 -2
- package/dist/module/{sezzle-payment-method.js → justifi-sezzle-payment-method2.js} +4 -4
- package/dist/module/justifi-shipping-details.js +2 -2
- package/dist/module/{shipping-details.js → justifi-shipping-details2.js} +5 -5
- package/dist/module/justifi-skeleton.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +7 -7
- package/dist/module/justifi-terminal-orders-list.js +9 -8
- package/dist/module/justifi-terminals-list-filters.js +5 -5
- package/dist/module/justifi-terminals-list.js +9 -8
- package/dist/module/justifi-tokenize-payment-method.js +2 -167
- package/dist/module/{internal-tokenize-payment-method2.js → justifi-tokenize-payment-method2.js} +73 -56
- package/dist/module/legal-address-form-step.d.ts +11 -0
- package/dist/module/legal-address-form-step.js +4 -189
- package/dist/module/legal-address-form-step2.js +191 -0
- package/dist/module/legal-address-form.d.ts +11 -0
- package/dist/module/legal-address-form.js +4 -74
- package/dist/module/legal-address-form2.js +76 -0
- package/dist/module/owner-details2.js +1 -1
- package/dist/module/owner-form-core.js +2 -2
- package/dist/module/owner-form-core2.js +23 -23
- package/dist/module/owner-form-inputs.js +2 -2
- package/dist/module/owner-form-inputs2.js +23 -23
- package/dist/module/owner-form.d.ts +11 -0
- package/dist/module/owner-form.js +4 -142
- package/dist/module/owner-form2.js +144 -0
- 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 -10
- package/dist/module/payment-method-option.js +4 -4
- package/dist/module/payment-provisioning-actions.js +2 -2
- package/dist/module/payment-provisioning-core.js +68 -68
- package/dist/module/payment-provisioning-form-buttons.d.ts +11 -0
- package/dist/module/payment-provisioning-form-buttons.js +4 -49
- package/dist/module/payment-provisioning-form-buttons2.js +51 -0
- package/dist/module/payment-provisioning-form-steps.d.ts +11 -0
- package/dist/module/payment-provisioning-form-steps.js +4 -224
- package/dist/module/payment-provisioning-form-steps2.js +226 -0
- package/dist/module/payment-provisioning-loading.js +1 -1
- package/dist/module/payments-list-core2.js +3 -3
- package/dist/module/payments-list-params-state.js +1 -1
- package/dist/module/payout-details-core2.js +5 -5
- package/dist/module/payouts-list-core2.js +4 -4
- package/dist/module/payouts-list-params-state.js +1 -1
- package/dist/module/plaid-verification2.js +3 -3
- package/dist/module/radio-list-item.d.ts +11 -0
- package/dist/module/radio-list-item.js +6 -0
- package/dist/module/radio-list-item2.js +55 -0
- package/dist/module/representative-details.js +2 -2
- package/dist/module/representative-details2.js +4 -4
- package/dist/module/save-new-payment-method.d.ts +11 -0
- package/dist/module/save-new-payment-method.js +4 -50
- package/dist/module/save-new-payment-method2.js +48 -0
- package/dist/module/schema-validations.js +2 -2
- package/dist/module/skeleton.js +1 -1
- package/dist/module/spinner.js +1 -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 +3 -3
- package/dist/module/terminal-orders-list-params-state.js +1 -1
- package/dist/module/terminal-quantity-selector2.js +2 -2
- package/dist/module/terminals-list-core2.js +3 -3
- package/dist/module/terminals-list-params-state.js +1 -1
- package/dist/module/utils.js +1 -1
- package/dist/module/utils2.js +1 -1
- package/dist/module/utils3.js +24 -23
- package/dist/module/utils4.js +23 -24
- package/dist/types/components/business-details/{business-details.d.ts → justifi-business-details.d.ts} +1 -1
- package/dist/types/components/business-details/representative-details/representative-details.d.ts +1 -1
- package/dist/types/components/business-forms/business-form/{business-form.d.ts → justifi-business-form.d.ts} +1 -1
- package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +1 -1
- package/dist/types/components/business-forms/owner-form/owner-form-inputs.d.ts +1 -1
- package/dist/types/components/business-forms/owner-form/owner-form.d.ts +1 -1
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.d.ts +1 -1
- package/dist/types/components/business-forms/payment-provisioning/form-control-monetary-provisioning.d.ts +1 -1
- package/dist/types/components/business-forms/payment-provisioning/{payment-provisioning.d.ts → justifi-payment-provisioning.d.ts} +1 -1
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-core.d.ts +1 -1
- package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +6 -6
- package/dist/types/components/checkout/bank-account-form/bank-account-form.d.ts +5 -1
- package/dist/types/components/{modular-checkout/sub-components → checkout/billing-form}/bank-account-billing-form-simple.d.ts +3 -2
- package/dist/types/components/{modular-checkout/sub-components → checkout/billing-form}/billing-form-full.d.ts +4 -2
- package/dist/types/components/checkout/billing-form/billing-form-schema.d.ts +1 -1
- package/dist/types/components/checkout/billing-form/billing-form.d.ts +0 -1
- package/dist/types/components/{modular-checkout/sub-components → checkout/billing-form}/card-billing-form-simple.d.ts +3 -2
- package/dist/types/components/checkout/billing-form/justifi-billing-form.d.ts +14 -0
- package/dist/types/components/checkout/card-form/card-form.d.ts +5 -1
- package/dist/types/components/checkout/{checkout.d.ts → justifi-checkout.d.ts} +2 -21
- package/dist/types/components/checkout/{saved-payment-method.d.ts → justifi-saved-payment-method.d.ts} +1 -1
- package/dist/types/components/checkout/save-new-payment-method/justifi-save-new-payment-method.d.ts +7 -0
- package/dist/types/components/checkout/{save-new-payment-method.d.ts → save-new-payment-method/save-new-payment-method.d.ts} +2 -1
- package/dist/types/components/checkouts-list/checkouts-list-filters.d.ts +1 -1
- package/dist/types/components/checkouts-list/{checkouts-list.d.ts → justifi-checkouts-list.d.ts} +1 -1
- package/dist/types/components/config-provider/{config-provider.d.ts → justifi-config-provider.d.ts} +1 -1
- package/dist/types/components/dispute-management/dispute-management-core.d.ts +1 -1
- package/dist/types/components/dispute-management/dispute-response/dispute-response-core.d.ts +1 -1
- package/dist/types/components/dispute-management/dispute-response/{additional-statement.d.ts → justifi-additional-statement.d.ts} +1 -1
- package/dist/types/components/dispute-management/dispute-response/{cancellation-policy.d.ts → justifi-cancellation-policy.d.ts} +1 -1
- package/dist/types/components/dispute-management/dispute-response/{customer-details.d.ts → justifi-customer-details.d.ts} +1 -1
- package/dist/types/components/dispute-management/dispute-response/{dispute-response.d.ts → justifi-dispute-response.d.ts} +2 -2
- package/dist/types/components/dispute-management/dispute-response/{duplicate-charge.d.ts → justifi-duplicate-charge.d.ts} +1 -1
- package/dist/types/components/dispute-management/dispute-response/{electronic-evidence.d.ts → justifi-electronic-evidence.d.ts} +1 -1
- package/dist/types/components/dispute-management/dispute-response/{product-or-service.d.ts → justifi-product-or-service.d.ts} +1 -1
- package/dist/types/components/dispute-management/dispute-response/{refund-policy.d.ts → justifi-refund-policy.d.ts} +1 -1
- package/dist/types/components/dispute-management/dispute-response/{shipping-details.d.ts → justifi-shipping-details.d.ts} +1 -1
- package/dist/types/components/dispute-management/{dispute-management.d.ts → justifi-dispute-management.d.ts} +1 -1
- package/dist/types/components/dispute-management/{dispute-notification.d.ts → justifi-dispute-notification.d.ts} +1 -1
- package/dist/types/components/gross-payment-chart/{gross-payment-chart.d.ts → justifi-gross-payment-chart.d.ts} +1 -1
- package/dist/types/components/insurance/season-interruption/{season-interruption-insurance.d.ts → justifi-season-interruption-insurance.d.ts} +1 -1
- package/dist/types/components/modular-checkout/{modular-checkout.d.ts → justifi-modular-checkout.d.ts} +2 -1
- package/dist/types/components/modular-checkout/sub-components/{apple-pay.d.ts → justifi-apple-pay.d.ts} +1 -4
- package/dist/types/components/modular-checkout/sub-components/justifi-bank-account-billing-form-simple.d.ts +15 -0
- package/dist/types/components/modular-checkout/sub-components/{bank-account.d.ts → justifi-bank-account-form.d.ts} +2 -7
- package/dist/types/components/modular-checkout/sub-components/justifi-billing-form-full.d.ts +11 -0
- package/dist/types/components/modular-checkout/sub-components/justifi-card-billing-form-simple.d.ts +11 -0
- package/dist/types/components/modular-checkout/sub-components/{card-form.d.ts → justifi-card-form.d.ts} +1 -8
- package/dist/types/components/modular-checkout/sub-components/justifi-checkout-summary.d.ts +3 -0
- package/dist/types/components/modular-checkout/sub-components/{google-pay.d.ts → justifi-google-pay.d.ts} +1 -1
- package/dist/types/components/modular-checkout/sub-components/{plaid-payment-method.d.ts → justifi-plaid-payment-method.d.ts} +1 -1
- package/dist/types/components/modular-checkout/sub-components/{saved-payment-methods.d.ts → justifi-saved-payment-methods.d.ts} +1 -1
- package/dist/types/components/modular-checkout/sub-components/{sezzle-payment-method.d.ts → justifi-sezzle-payment-method.d.ts} +1 -1
- package/dist/types/components/order-terminals/{order-terminals.d.ts → justifi-order-terminals.d.ts} +1 -1
- package/dist/types/components/payment-details/{payment-details.d.ts → justifi-payment-details.d.ts} +1 -1
- package/dist/types/components/payment-transactions-list/{payment-transactions-list.d.ts → justifi-payment-transactions-list.d.ts} +1 -1
- package/dist/types/components/payments-list/{payments-list-filters.d.ts → justifi-payments-list-filters.d.ts} +1 -1
- package/dist/types/components/payments-list/{payments-list.d.ts → justifi-payments-list.d.ts} +1 -1
- package/dist/types/components/payout-details/{payout-details.d.ts → justifi-payout-details.d.ts} +1 -1
- package/dist/types/components/payout-transactions-list/{payout-transactions-list.d.ts → justifi-payout-transactions-list.d.ts} +1 -1
- package/dist/types/components/payouts-list/{payouts-list-filters.d.ts → justifi-payouts-list-filters.d.ts} +1 -1
- package/dist/types/components/payouts-list/{payouts-list.d.ts → justifi-payouts-list.d.ts} +1 -1
- package/dist/types/components/refund-payment/{refund-payment.d.ts → justifi-refund-payment.d.ts} +1 -1
- package/dist/types/components/terminal-orders-list/{terminal-orders-list-filters.d.ts → justifi-terminal-orders-list-filters.d.ts} +1 -1
- package/dist/types/components/terminal-orders-list/{terminal-orders-list.d.ts → justifi-terminal-orders-list.d.ts} +1 -1
- package/dist/types/components/terminals-list/{terminals-list-filters.d.ts → justifi-terminals-list-filters.d.ts} +1 -1
- package/dist/types/components/terminals-list/{terminals-list.d.ts → justifi-terminals-list.d.ts} +1 -1
- package/dist/types/components/tokenize-payment-method/{internal-tokenize-payment-method.d.ts → justifi-tokenize-payment-method.d.ts} +4 -3
- package/dist/types/components.d.ts +826 -657
- package/dist/types/ui-components/details/{details.d.ts → justifi-details.d.ts} +1 -1
- package/dist/types/ui-components/form/form-control-checkbox.d.ts +1 -1
- package/dist/types/ui-components/form/form-control-date.d.ts +1 -1
- package/dist/types/ui-components/form/form-control-file-v2.d.ts +1 -1
- package/dist/types/ui-components/form/form-control-file.d.ts +1 -1
- package/dist/types/ui-components/form/form-control-monetary.d.ts +1 -1
- package/dist/types/ui-components/form/form-control-number-masked.d.ts +1 -1
- package/dist/types/ui-components/form/form-control-number.d.ts +1 -1
- package/dist/types/ui-components/form/form-control-radio.d.ts +1 -1
- package/dist/types/ui-components/form/form-control-select.d.ts +1 -1
- package/dist/types/ui-components/form/form-control-text.d.ts +1 -1
- package/dist/types/ui-components/form/form-control-textarea.d.ts +1 -1
- package/dist/types/ui-components/form/form-helpers/form-control-tooltip/form-control-tooltip.d.ts +1 -1
- package/dist/types/ui-components/index.d.ts +1 -1
- package/dist/types/ui-components/internal-button.d.ts +14 -0
- package/dist/types/ui-components/radio-list-item.d.ts +12 -0
- package/dist/types/ui-components/shadow-dom-components/justifi-button.d.ts +1 -0
- package/dist/types/ui-components/shadow-dom-components/justifi-radio-list-item.d.ts +0 -1
- package/dist/webcomponents/p-08424d71.entry.js +1 -0
- package/dist/webcomponents/p-089bc927.entry.js +1 -0
- package/dist/webcomponents/p-0b7fa323.entry.js +1 -0
- package/dist/webcomponents/p-16ae88d0.entry.js +1 -0
- package/dist/webcomponents/p-179fe9a0.entry.js +1 -0
- package/dist/webcomponents/p-1a9aecbf.entry.js +1 -0
- package/dist/webcomponents/{p-132c8d4c.entry.js → p-1c95ec74.entry.js} +3 -3
- package/dist/webcomponents/{p-541da1ed.entry.js → p-1d1c48c3.entry.js} +1 -1
- package/dist/webcomponents/p-1da3ba0f.entry.js +1 -0
- package/dist/webcomponents/{p-368d8543.entry.js → p-252a4f75.entry.js} +1 -1
- package/dist/webcomponents/{p-ef98982e.entry.js → p-26062991.entry.js} +1 -1
- package/dist/webcomponents/p-26074643.entry.js +1 -0
- package/dist/webcomponents/{p-251f6c90.entry.js → p-2719f4db.entry.js} +1 -1
- package/dist/webcomponents/p-2a0ce169.entry.js +1 -0
- package/dist/webcomponents/p-2b8df3c0.entry.js +1 -0
- package/dist/webcomponents/p-2bec5dca.entry.js +1 -0
- package/dist/webcomponents/p-358f7121.entry.js +1 -0
- package/dist/webcomponents/{p-ca307ba0.entry.js → p-38281490.entry.js} +1 -1
- package/dist/webcomponents/p-383798ab.entry.js +1 -0
- package/dist/webcomponents/p-3d135aee.entry.js +1 -0
- package/dist/webcomponents/{p-15919744.entry.js → p-42129686.entry.js} +1 -1
- package/dist/webcomponents/p-431ad048.entry.js +1 -0
- package/dist/webcomponents/p-485a8795.entry.js +1 -0
- package/dist/webcomponents/p-4d222f42.entry.js +1 -0
- package/dist/webcomponents/{p-c751bb5f.entry.js → p-534833ca.entry.js} +1 -1
- package/dist/webcomponents/p-534881d8.entry.js +1 -0
- package/dist/webcomponents/p-53dd8569.entry.js +1 -0
- package/dist/webcomponents/{p-e646422f.entry.js → p-56d58041.entry.js} +1 -1
- package/dist/webcomponents/p-61784c6a.entry.js +1 -0
- package/dist/webcomponents/p-6372a42a.entry.js +1 -0
- package/dist/webcomponents/p-7108eead.entry.js +1 -0
- package/dist/webcomponents/p-729c9798.entry.js +1 -0
- package/dist/webcomponents/{p-7cb910cf.entry.js → p-744f57f0.entry.js} +1 -1
- package/dist/webcomponents/p-7742cf61.entry.js +1 -0
- package/dist/webcomponents/p-774b69a0.entry.js +1 -0
- package/dist/webcomponents/p-77600a47.entry.js +1 -0
- package/dist/webcomponents/{p-f23b4474.entry.js → p-7791b55e.entry.js} +1 -1
- package/dist/webcomponents/p-783580d4.entry.js +1 -0
- package/dist/webcomponents/p-83fd4eae.entry.js +1 -0
- package/dist/webcomponents/p-848ae146.entry.js +1 -0
- package/dist/webcomponents/p-865d4604.entry.js +1 -0
- package/dist/webcomponents/{p-e86c713b.entry.js → p-89bf64ef.entry.js} +1 -1
- package/dist/webcomponents/p-8Kt4Rhcq.js +1 -0
- package/dist/webcomponents/p-8c52d10a.entry.js +1 -0
- package/dist/webcomponents/p-8df335d4.entry.js +1 -0
- package/dist/webcomponents/p-90f2c769.entry.js +1 -0
- package/dist/webcomponents/{p-7703ada7.entry.js → p-9639d9d0.entry.js} +1 -1
- package/dist/webcomponents/p-97d16844.entry.js +1 -0
- package/dist/webcomponents/p-9838b5a7.entry.js +1 -0
- package/dist/webcomponents/{p--UanYWb-.js → p-B6sIVWJW.js} +1 -1
- package/dist/webcomponents/{p-BXT1uJVr.js → p-BJtvT9BX.js} +1 -1
- package/dist/webcomponents/{p-DnZY6aQX.js → p-BmEX2SfZ.js} +1 -1
- package/dist/webcomponents/{p-C0tps2ph.js → p-BrO0HEFJ.js} +1 -1
- package/dist/webcomponents/{p-CMLfjWil.js → p-Bwzxu5wV.js} +1 -1
- package/dist/webcomponents/{p-o83Uy7sW.js → p-C-QiUcEa.js} +1 -1
- package/dist/webcomponents/{p-ERB63T7J.js → p-C1olhiO9.js} +1 -1
- package/dist/webcomponents/p-CAl_N2gi.js +1 -0
- package/dist/webcomponents/{p-_BHErKTQ.js → p-CBqZge6m.js} +1 -1
- package/dist/webcomponents/p-CIYOQWsL.js +1 -0
- package/dist/webcomponents/{p-55QcjheA.js → p-CMB3sNMT.js} +1 -1
- package/dist/webcomponents/{p-XxcNbSyO.js → p-CWv3GX8X.js} +1 -1
- package/dist/webcomponents/p-CbM9cuX_.js +1 -0
- package/dist/webcomponents/{p-COZ-9O53.js → p-CjuaXEuI.js} +1 -1
- package/dist/webcomponents/{p-zGGZEiGQ.js → p-CmXujxGp.js} +1 -1
- package/dist/webcomponents/{p-Csh7hxly.js → p-CwdQ1VdH.js} +1 -1
- package/dist/webcomponents/{p-BrcAwFqw.js → p-CzdAS9Jo.js} +1 -1
- package/dist/webcomponents/p-D0BjjvYt.js +1 -0
- package/dist/webcomponents/{p-C5CtnV8A.js → p-D2TJwp13.js} +1 -1
- package/dist/webcomponents/{p-D3V9AE6o.js → p-D50Rx76J.js} +1 -1
- package/dist/webcomponents/p-D5MdA21U.js +1 -0
- package/dist/webcomponents/p-D68EHdgA.js +1 -0
- package/dist/webcomponents/p-DB_pqjwH.js +1 -0
- package/dist/webcomponents/{p-vIYW-hye.js → p-DL0R5vDy.js} +1 -1
- package/dist/webcomponents/{p-DdR4lBzU.js → p-DLmWCafe.js} +1 -1
- package/dist/webcomponents/{p-BPpqjhPu.js → p-Da4efjxw.js} +1 -1
- package/dist/webcomponents/p-Df9FVwA7.js +1 -0
- package/dist/webcomponents/p-Dvcgmvfg.js +1 -0
- package/dist/webcomponents/{p-Daew0gTO.js → p-EBsfAkrP.js} +1 -1
- package/dist/webcomponents/{p-xvmoHDSy.js → p-J7WCmj-J.js} +1 -1
- package/dist/webcomponents/{p-D-cvuqv1.js → p-MLfmcsbZ.js} +1 -1
- package/dist/webcomponents/{p-MeSAYDNh.js → p-MkDHT9M4.js} +1 -1
- package/dist/webcomponents/p-N60pPiy5.js +1 -0
- package/dist/webcomponents/{p-2xM1wp0u.js → p-_fynNk40.js} +1 -1
- package/dist/webcomponents/p-a53fae42.entry.js +1 -0
- package/dist/webcomponents/p-a5640aa4.entry.js +1 -0
- package/dist/webcomponents/{p-1ddbbba8.entry.js → p-b21e5a85.entry.js} +1 -1
- package/dist/webcomponents/p-b2d7a9dd.entry.js +1 -0
- package/dist/webcomponents/p-b31c9979.entry.js +1 -0
- package/dist/webcomponents/p-b322d2f3.entry.js +1 -0
- package/dist/webcomponents/p-b596cbb3.entry.js +1 -0
- package/dist/webcomponents/p-b7ffdb30.entry.js +1 -0
- package/dist/webcomponents/p-bac16c16.entry.js +1 -0
- package/dist/webcomponents/p-bb4cc829.entry.js +1 -0
- package/dist/webcomponents/p-bbdae5b7.entry.js +1 -0
- package/dist/webcomponents/p-c07069f1.entry.js +1 -0
- package/dist/webcomponents/p-c4da12e0.entry.js +1 -0
- package/dist/webcomponents/p-c5be6300.entry.js +1 -0
- package/dist/webcomponents/p-c63b8c8f.entry.js +1 -0
- package/dist/webcomponents/p-d6350138.entry.js +1 -0
- package/dist/webcomponents/{p-f4074e9a.entry.js → p-d667138d.entry.js} +1 -1
- package/dist/webcomponents/p-d6c2d51d.entry.js +1 -0
- package/dist/webcomponents/p-def798df.entry.js +1 -0
- package/dist/webcomponents/p-e2650fe5.entry.js +1 -0
- package/dist/webcomponents/p-e4ba0754.entry.js +1 -0
- package/dist/webcomponents/p-e939affa.entry.js +1 -0
- package/dist/webcomponents/p-e9c20b52.entry.js +1 -0
- package/dist/webcomponents/p-ea84c544.entry.js +1 -0
- package/dist/webcomponents/{p-DzeWzcho.js → p-rz2BF2Sz.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/internal-tokenize-payment-method_7.cjs.entry.js +0 -470
- package/dist/cjs/justifi-bank-account-billing-form-simple_3.cjs.entry.js +0 -147
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +0 -24
- package/dist/collection/components/modular-checkout/sub-components/bank-account.js +0 -101
- package/dist/collection/components/modular-checkout/sub-components/card-form.js +0 -105
- package/dist/collection/components/modular-checkout/sub-components/summary.js +0 -12
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +0 -296
- package/dist/esm/internal-tokenize-payment-method_7.entry.js +0 -462
- package/dist/esm/justifi-bank-account-billing-form-simple_3.entry.js +0 -143
- package/dist/esm/justifi-tokenize-payment-method.entry.js +0 -22
- package/dist/module/internal-tokenize-payment-method.d.ts +0 -11
- package/dist/module/internal-tokenize-payment-method.js +0 -6
- package/dist/module/justifi-additional-questions-form-step.d.ts +0 -11
- package/dist/module/justifi-additional-questions-form-step.js +0 -6
- package/dist/module/justifi-additional-questions.d.ts +0 -11
- package/dist/module/justifi-additional-questions.js +0 -6
- package/dist/module/justifi-business-bank-account-form-step.d.ts +0 -11
- package/dist/module/justifi-business-bank-account-form-step.js +0 -6
- package/dist/module/justifi-business-core-info-form-step.d.ts +0 -11
- package/dist/module/justifi-business-core-info-form-step.js +0 -6
- package/dist/module/justifi-business-core-info.d.ts +0 -11
- package/dist/module/justifi-business-core-info.js +0 -6
- package/dist/module/justifi-business-owners-form-step.d.ts +0 -11
- package/dist/module/justifi-business-owners-form-step.js +0 -6
- package/dist/module/justifi-business-representative-form-inputs.d.ts +0 -11
- package/dist/module/justifi-business-representative-form-inputs.js +0 -6
- package/dist/module/justifi-business-representative-form-step.d.ts +0 -11
- package/dist/module/justifi-business-representative-form-step.js +0 -6
- package/dist/module/justifi-business-representative.d.ts +0 -11
- package/dist/module/justifi-business-representative.js +0 -6
- package/dist/module/justifi-business-terms-conditions-form-step.d.ts +0 -11
- package/dist/module/justifi-business-terms-conditions-form-step.js +0 -6
- package/dist/module/justifi-form-address-fields.d.ts +0 -11
- package/dist/module/justifi-form-address-fields.js +0 -6
- package/dist/module/justifi-identity-address-form.d.ts +0 -11
- package/dist/module/justifi-identity-address-form.js +0 -6
- package/dist/module/justifi-legal-address-form-step.d.ts +0 -11
- package/dist/module/justifi-legal-address-form-step.js +0 -6
- package/dist/module/justifi-legal-address-form.d.ts +0 -11
- package/dist/module/justifi-legal-address-form.js +0 -6
- package/dist/module/justifi-owner-form.js +0 -6
- package/dist/module/justifi-payment-provisioning-form-buttons.d.ts +0 -11
- package/dist/module/justifi-payment-provisioning-form-buttons.js +0 -6
- package/dist/module/justifi-payment-provisioning-form-steps.d.ts +0 -11
- package/dist/module/justifi-payment-provisioning-form-steps.js +0 -6
- package/dist/types/components/modular-checkout/sub-components/summary.d.ts +0 -3
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +0 -19
- package/dist/webcomponents/p-03b913e8.entry.js +0 -1
- package/dist/webcomponents/p-12b662e3.entry.js +0 -1
- package/dist/webcomponents/p-19e82b02.entry.js +0 -1
- package/dist/webcomponents/p-19f22078.entry.js +0 -1
- package/dist/webcomponents/p-1fc96f35.entry.js +0 -1
- package/dist/webcomponents/p-2758d129.entry.js +0 -1
- package/dist/webcomponents/p-2V38oZhe.js +0 -1
- package/dist/webcomponents/p-320aac60.entry.js +0 -1
- package/dist/webcomponents/p-337fb232.entry.js +0 -1
- package/dist/webcomponents/p-3490ede8.entry.js +0 -1
- package/dist/webcomponents/p-3bf56699.entry.js +0 -1
- package/dist/webcomponents/p-3cd30c7a.entry.js +0 -1
- package/dist/webcomponents/p-3f9c7b04.entry.js +0 -1
- package/dist/webcomponents/p-426fd524.entry.js +0 -1
- package/dist/webcomponents/p-4ae0227a.entry.js +0 -1
- package/dist/webcomponents/p-50a34a13.entry.js +0 -1
- package/dist/webcomponents/p-5148f836.entry.js +0 -1
- package/dist/webcomponents/p-55605664.entry.js +0 -1
- package/dist/webcomponents/p-55b478bc.entry.js +0 -1
- package/dist/webcomponents/p-57e09f09.entry.js +0 -1
- package/dist/webcomponents/p-5b4dfe0e.entry.js +0 -1
- package/dist/webcomponents/p-5c70a772.entry.js +0 -1
- package/dist/webcomponents/p-60df1c18.entry.js +0 -1
- package/dist/webcomponents/p-6Nv8l5n8.js +0 -1
- package/dist/webcomponents/p-6cdea3ef.entry.js +0 -1
- package/dist/webcomponents/p-77d0f2e2.entry.js +0 -1
- package/dist/webcomponents/p-8ed651b1.entry.js +0 -1
- package/dist/webcomponents/p-97e27e4a.entry.js +0 -1
- package/dist/webcomponents/p-9ed5d349.entry.js +0 -1
- package/dist/webcomponents/p-BU9iZ8OM.js +0 -1
- package/dist/webcomponents/p-BYLHkONM.js +0 -1
- package/dist/webcomponents/p-C_WlV7F_.js +0 -1
- package/dist/webcomponents/p-DSmuL_bZ.js +0 -1
- package/dist/webcomponents/p-FcERM7LF.js +0 -1
- package/dist/webcomponents/p-a109b3a1.entry.js +0 -1
- package/dist/webcomponents/p-a5db7147.entry.js +0 -1
- package/dist/webcomponents/p-b08bca2b.entry.js +0 -1
- package/dist/webcomponents/p-b2c237c6.entry.js +0 -1
- package/dist/webcomponents/p-b2d5f105.entry.js +0 -1
- package/dist/webcomponents/p-b8fc6dff.entry.js +0 -1
- package/dist/webcomponents/p-c595d3fb.entry.js +0 -1
- package/dist/webcomponents/p-c9f94919.entry.js +0 -1
- package/dist/webcomponents/p-ca7e369f.entry.js +0 -1
- package/dist/webcomponents/p-cab4c787.entry.js +0 -1
- package/dist/webcomponents/p-cd220f6c.entry.js +0 -1
- package/dist/webcomponents/p-cd2c2256.entry.js +0 -1
- package/dist/webcomponents/p-cd7a4048.entry.js +0 -1
- package/dist/webcomponents/p-d5d8ccd9.entry.js +0 -1
- package/dist/webcomponents/p-e72d05b1.entry.js +0 -1
- package/dist/webcomponents/p-e9d7f988.entry.js +0 -1
- package/dist/webcomponents/p-f1562dab.entry.js +0 -1
- package/dist/webcomponents/p-f44008d9.entry.js +0 -1
- package/dist/webcomponents/p-f657995a.entry.js +0 -1
- package/dist/webcomponents/p-fa3b5072.entry.js +0 -1
- package/dist/webcomponents/p-fb58eb13.entry.js +0 -1
- package/dist/webcomponents/p-fff25a5f.entry.js +0 -1
- package/dist/webcomponents/p-qNXIkzDE.js +0 -1
- package/dist/webcomponents/p-rgpO5xc3.js +0 -1
- package/dist/webcomponents/p-t6eP44Li.js +0 -1
- /package/dist/types/components/business-forms/payment-provisioning/additional-questions/{business-additional-questions-form-step.d.ts → additional-questions-form-step.d.ts} +0 -0
- /package/dist/types/components/business-forms/payment-provisioning/bank-account/{bank-account-document-inputs.d.ts → bank-account-document-form-inputs.d.ts} +0 -0
- /package/dist/webcomponents/{p-99065f37.entry.js → p-9399f4f1.entry.js} +0 -0
|
@@ -1,470 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var index = require('./index-p7cvUYAE.js');
|
|
4
|
-
var styledHost = require('./styled-host-DAi5SuFa.js');
|
|
5
|
-
require('./event-types-YOY5TKUN.js');
|
|
6
|
-
var checkPkgVersion = require('./check-pkg-version-Di4JmtKX.js');
|
|
7
|
-
var configState = require('./config-state-BIgGhhe9.js');
|
|
8
|
-
require('./dinero-BwNN_k7x.js');
|
|
9
|
-
var ComponentError = require('./ComponentError-D4OLnOkg.js');
|
|
10
|
-
require('./Plaid-DR9WDZ98.js');
|
|
11
|
-
require('./Pagination-Dediz133.js');
|
|
12
|
-
require('./Business-oBifyXkW.js');
|
|
13
|
-
require('./Dispute-CruQTF6_.js');
|
|
14
|
-
var checkout_store = require('./checkout.store-zTfjieKa.js');
|
|
15
|
-
var index$1 = require('./index-CajjbB9t.js');
|
|
16
|
-
var skeleton = require('./skeleton-DvRCiQlA.js');
|
|
17
|
-
var utils = require('./utils-BHi4j5rB.js');
|
|
18
|
-
var button = require('./button-CR9Rl1-o.js');
|
|
19
|
-
var parts = require('./parts-BXshb_S-.js');
|
|
20
|
-
require('./package-D8NG-zuY.js');
|
|
21
|
-
require('./Api-Bukk55YZ.js');
|
|
22
|
-
require('./index-W-zoNiyM.js');
|
|
23
|
-
|
|
24
|
-
const JustifiRadioListItem = class {
|
|
25
|
-
constructor(hostRef) {
|
|
26
|
-
index.registerInstance(this, hostRef);
|
|
27
|
-
this.radioClick = index.createEvent(this, "radio-click", 7);
|
|
28
|
-
this.checked = false;
|
|
29
|
-
this.hidden = false;
|
|
30
|
-
this.handleClick = () => {
|
|
31
|
-
this.radioClick.emit(this.value);
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
render() {
|
|
35
|
-
return (index.h(styledHost.StyledHost, { key: '1ae40f787970160e38b72f917bda96f480d2a890' }, index.h("div", { key: '2130596c8294cc38365e6126806735da0f93ef4a', class: `radio-list-item p-3 ${this.class || ''}`, part: parts.radioListItem, onClick: this.handleClick, hidden: this.hidden }, index.h("form-control-radio", { key: '7d5524f518430f2bfd1c9863f354318929353cfb', name: this.name, value: this.value, checked: this.checked, label: this.label, inputHandler: () => null }))));
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
// Constants
|
|
40
|
-
const PAYMENT_METHOD_TYPE_LABELS = {
|
|
41
|
-
[index$1.PAYMENT_METHODS.NEW_BANK_ACCOUNT]: 'New bank account',
|
|
42
|
-
[index$1.PAYMENT_METHODS.NEW_CARD]: 'New credit or debit card',
|
|
43
|
-
};
|
|
44
|
-
const ERROR_MESSAGES = {
|
|
45
|
-
AUTH_TOKEN_REQUIRED: 'Auth token is required when using the tokenize-payment-method component not slotted in justifi-modular-checkout',
|
|
46
|
-
ACCOUNT_ID_REQUIRED: 'Account ID is required when using the tokenize-payment-method component not slotted in justifi-modular-checkout',
|
|
47
|
-
FORM_NOT_READY: 'Payment form not ready',
|
|
48
|
-
VALIDATION_ERROR: 'Validation error',
|
|
49
|
-
};
|
|
50
|
-
const InternalTokenizePaymentMethod = class {
|
|
51
|
-
constructor(hostRef) {
|
|
52
|
-
index.registerInstance(this, hostRef);
|
|
53
|
-
this.errorEvent = index.createEvent(this, "error-event", 7);
|
|
54
|
-
this.submitEvent = index.createEvent(this, "submit-event", 7);
|
|
55
|
-
this.computedHideSubmitButton = false;
|
|
56
|
-
this.isLoading = false;
|
|
57
|
-
this.submitButtonText = 'Submit';
|
|
58
|
-
}
|
|
59
|
-
paymentMethodsChanged() {
|
|
60
|
-
this.setDefaultSelectedPaymentMethod();
|
|
61
|
-
}
|
|
62
|
-
connectedCallback() {
|
|
63
|
-
this.setDefaultSelectedPaymentMethod();
|
|
64
|
-
this.setComputedHideSubmitButton();
|
|
65
|
-
}
|
|
66
|
-
disconnectedCallback() {
|
|
67
|
-
var _a;
|
|
68
|
-
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
69
|
-
if (this.unsubscribeFromStore) {
|
|
70
|
-
this.unsubscribeFromStore();
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
componentWillLoad() {
|
|
74
|
-
checkPkgVersion.checkPkgVersion();
|
|
75
|
-
this.analytics = new checkPkgVersion.JustifiAnalytics(this);
|
|
76
|
-
}
|
|
77
|
-
handleRadioClick(event) {
|
|
78
|
-
this.selectedPaymentMethod = event.detail;
|
|
79
|
-
checkout_store.checkoutStore.selectedPaymentMethod = { type: event.detail };
|
|
80
|
-
}
|
|
81
|
-
async fillBillingForm(fields) {
|
|
82
|
-
var _a;
|
|
83
|
-
(_a = this.billingFormRef) === null || _a === void 0 ? void 0 : _a.fill(fields);
|
|
84
|
-
}
|
|
85
|
-
async tokenizePaymentMethod(event) {
|
|
86
|
-
event === null || event === void 0 ? void 0 : event.preventDefault();
|
|
87
|
-
this.validateRequiredProps();
|
|
88
|
-
this.isLoading = true;
|
|
89
|
-
try {
|
|
90
|
-
const validation = await this.validate();
|
|
91
|
-
if (!validation.isValid) {
|
|
92
|
-
this.errorEvent.emit({
|
|
93
|
-
errorCode: ComponentError.ComponentErrorCodes.TOKENIZE_ERROR,
|
|
94
|
-
message: ERROR_MESSAGES.VALIDATION_ERROR,
|
|
95
|
-
});
|
|
96
|
-
this.isLoading = false;
|
|
97
|
-
return;
|
|
98
|
-
}
|
|
99
|
-
const tokenizeResponse = await this.resolvePaymentMethod({ isValid: true });
|
|
100
|
-
if (tokenizeResponse.error) {
|
|
101
|
-
this.emitError({
|
|
102
|
-
errorCode: tokenizeResponse.error.code,
|
|
103
|
-
message: tokenizeResponse.error.message,
|
|
104
|
-
});
|
|
105
|
-
}
|
|
106
|
-
this.submitEvent.emit({ response: tokenizeResponse });
|
|
107
|
-
return tokenizeResponse;
|
|
108
|
-
}
|
|
109
|
-
catch (error) {
|
|
110
|
-
const errorResponse = this.createErrorResponse(ComponentError.ComponentErrorCodes.TOKENIZE_ERROR, error.message);
|
|
111
|
-
this.emitError({
|
|
112
|
-
errorCode: ComponentError.ComponentErrorCodes.TOKENIZE_ERROR,
|
|
113
|
-
message: error.message,
|
|
114
|
-
});
|
|
115
|
-
this.submitEvent.emit({ response: errorResponse });
|
|
116
|
-
return errorResponse;
|
|
117
|
-
}
|
|
118
|
-
finally {
|
|
119
|
-
this.isLoading = false;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
async validate() {
|
|
123
|
-
if (!this.areFormsReady()) {
|
|
124
|
-
return { isValid: false, errors: { general: ERROR_MESSAGES.FORM_NOT_READY } };
|
|
125
|
-
}
|
|
126
|
-
const [billingValidation, paymentMethodValidation] = await Promise.all([
|
|
127
|
-
this.billingFormRef.validate(),
|
|
128
|
-
this.paymentMethodFormRef.validate(),
|
|
129
|
-
]);
|
|
130
|
-
const result = {
|
|
131
|
-
isValid: billingValidation.isValid && paymentMethodValidation.isValid,
|
|
132
|
-
errors: Object.assign(Object.assign({}, billingValidation.errors), paymentMethodValidation.errors),
|
|
133
|
-
};
|
|
134
|
-
return result;
|
|
135
|
-
}
|
|
136
|
-
async tokenize() {
|
|
137
|
-
try {
|
|
138
|
-
const billingFormFieldValues = await this.billingFormRef.getValues();
|
|
139
|
-
const config = {
|
|
140
|
-
clientId: this.authToken || checkout_store.checkoutStore.authToken,
|
|
141
|
-
account: this.accountId || checkout_store.checkoutStore.accountId,
|
|
142
|
-
paymentMethodMetadata: this.buildPaymentMethodMetadata(billingFormFieldValues),
|
|
143
|
-
};
|
|
144
|
-
return await this.paymentMethodFormRef.tokenize(config);
|
|
145
|
-
}
|
|
146
|
-
catch (error) {
|
|
147
|
-
return error;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
// 9. Local methods
|
|
151
|
-
validateRequiredProps() {
|
|
152
|
-
if (!this.authToken && !checkout_store.checkoutStore.authToken) {
|
|
153
|
-
this.emitError({
|
|
154
|
-
errorCode: ComponentError.ComponentErrorCodes.TOKENIZE_ERROR,
|
|
155
|
-
message: ERROR_MESSAGES.AUTH_TOKEN_REQUIRED,
|
|
156
|
-
});
|
|
157
|
-
}
|
|
158
|
-
if (!this.accountId && !checkout_store.checkoutStore.accountId) {
|
|
159
|
-
this.emitError({
|
|
160
|
-
errorCode: ComponentError.ComponentErrorCodes.TOKENIZE_ERROR,
|
|
161
|
-
message: ERROR_MESSAGES.ACCOUNT_ID_REQUIRED,
|
|
162
|
-
});
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
setDefaultSelectedPaymentMethod() {
|
|
166
|
-
if (this.selectedPaymentMethod) {
|
|
167
|
-
return;
|
|
168
|
-
}
|
|
169
|
-
if (!this.disableCreditCard) {
|
|
170
|
-
this.selectedPaymentMethod = index$1.PAYMENT_METHODS.NEW_CARD;
|
|
171
|
-
checkout_store.checkoutStore.selectedPaymentMethod = { type: index$1.PAYMENT_METHODS.NEW_CARD };
|
|
172
|
-
}
|
|
173
|
-
else if (!this.disableBankAccount) {
|
|
174
|
-
this.selectedPaymentMethod = index$1.PAYMENT_METHODS.NEW_BANK_ACCOUNT;
|
|
175
|
-
checkout_store.checkoutStore.selectedPaymentMethod = { type: index$1.PAYMENT_METHODS.NEW_BANK_ACCOUNT };
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
setComputedHideSubmitButton() {
|
|
179
|
-
// If hideSubmitButton prop is explicitly set, use that value
|
|
180
|
-
if (this.hideSubmitButton !== undefined) {
|
|
181
|
-
this.computedHideSubmitButton = this.hideSubmitButton;
|
|
182
|
-
return;
|
|
183
|
-
}
|
|
184
|
-
// Otherwise, auto-detect if component is slotted within modular-checkout
|
|
185
|
-
const isWithinModularCheckout = this.isSlottedWithinModularCheckout();
|
|
186
|
-
this.computedHideSubmitButton = isWithinModularCheckout;
|
|
187
|
-
}
|
|
188
|
-
isSlottedWithinModularCheckout() {
|
|
189
|
-
var _a;
|
|
190
|
-
let parent = (_a = this.host) === null || _a === void 0 ? void 0 : _a.parentElement;
|
|
191
|
-
while (parent) {
|
|
192
|
-
if (parent.tagName === 'JUSTIFI-MODULAR-CHECKOUT') {
|
|
193
|
-
return true;
|
|
194
|
-
}
|
|
195
|
-
parent = parent.parentElement;
|
|
196
|
-
}
|
|
197
|
-
return false;
|
|
198
|
-
}
|
|
199
|
-
get availablePaymentMethods() {
|
|
200
|
-
const methods = [];
|
|
201
|
-
if (!this.disableCreditCard) {
|
|
202
|
-
methods.push(index$1.PAYMENT_METHODS.NEW_CARD);
|
|
203
|
-
}
|
|
204
|
-
if (!this.disableBankAccount) {
|
|
205
|
-
methods.push(index$1.PAYMENT_METHODS.NEW_BANK_ACCOUNT);
|
|
206
|
-
}
|
|
207
|
-
return methods;
|
|
208
|
-
}
|
|
209
|
-
areFormsReady() {
|
|
210
|
-
return !!(this.billingFormRef && this.paymentMethodFormRef);
|
|
211
|
-
}
|
|
212
|
-
emitError(errorData) {
|
|
213
|
-
this.errorEvent.emit(Object.assign(Object.assign({}, errorData), { severity: ComponentError.ComponentErrorSeverity.ERROR }));
|
|
214
|
-
}
|
|
215
|
-
createErrorResponse(code, message) {
|
|
216
|
-
return {
|
|
217
|
-
error: {
|
|
218
|
-
code: code,
|
|
219
|
-
message,
|
|
220
|
-
decline_code: undefined,
|
|
221
|
-
},
|
|
222
|
-
};
|
|
223
|
-
}
|
|
224
|
-
async resolvePaymentMethod(insuranceValidation) {
|
|
225
|
-
if (!this.areFormsReady()) {
|
|
226
|
-
return this.createErrorResponse('form_not_ready', ERROR_MESSAGES.FORM_NOT_READY);
|
|
227
|
-
}
|
|
228
|
-
try {
|
|
229
|
-
const validation = await this.validate();
|
|
230
|
-
if (!validation.isValid || !insuranceValidation.isValid) {
|
|
231
|
-
const errorMessage = Object.values(validation.errors)[0] || ERROR_MESSAGES.VALIDATION_ERROR;
|
|
232
|
-
return {
|
|
233
|
-
validationError: true,
|
|
234
|
-
error: {
|
|
235
|
-
code: 'validation_error',
|
|
236
|
-
message: String(errorMessage),
|
|
237
|
-
decline_code: undefined,
|
|
238
|
-
},
|
|
239
|
-
};
|
|
240
|
-
}
|
|
241
|
-
const result = await this.performTokenization();
|
|
242
|
-
return result;
|
|
243
|
-
}
|
|
244
|
-
catch (error) {
|
|
245
|
-
return { error };
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
async performTokenization() {
|
|
249
|
-
var _a, _b;
|
|
250
|
-
const tokenizeResponse = await this.tokenize();
|
|
251
|
-
if (tokenizeResponse.error) {
|
|
252
|
-
return { error: tokenizeResponse.error };
|
|
253
|
-
}
|
|
254
|
-
const tokenizeResponseData = tokenizeResponse.data;
|
|
255
|
-
return {
|
|
256
|
-
token: ((_a = tokenizeResponseData.card) === null || _a === void 0 ? void 0 : _a.token) || ((_b = tokenizeResponseData.bank_account) === null || _b === void 0 ? void 0 : _b.token),
|
|
257
|
-
data: tokenizeResponseData,
|
|
258
|
-
};
|
|
259
|
-
}
|
|
260
|
-
buildPaymentMethodMetadata(billingFormFieldValues) {
|
|
261
|
-
return this.shouldSavePaymentMethod
|
|
262
|
-
? Object.assign(Object.assign({}, billingFormFieldValues), { payment_method_group_id: this.paymentMethodGroupID }) : Object.assign({}, billingFormFieldValues);
|
|
263
|
-
}
|
|
264
|
-
get paymentMethodGroupID() {
|
|
265
|
-
return this.paymentMethodGroupId || checkout_store.checkoutStore.paymentMethodGroupId;
|
|
266
|
-
}
|
|
267
|
-
get shouldSavePaymentMethod() {
|
|
268
|
-
return !!(this.paymentMethodGroupId || checkout_store.checkoutStore.savePaymentMethod);
|
|
269
|
-
}
|
|
270
|
-
get shouldHideRadioInput() {
|
|
271
|
-
return this.disableCreditCard || this.disableBankAccount;
|
|
272
|
-
}
|
|
273
|
-
renderPaymentMethodOption(paymentMethodType) {
|
|
274
|
-
const isSelected = this.selectedPaymentMethod === paymentMethodType && checkout_store.checkoutStore.selectedPaymentMethod.id === undefined;
|
|
275
|
-
return (index.h("div", { class: "payment-method" }, index.h("justifi-radio-list-item", { name: "paymentMethodType", value: paymentMethodType, checked: isSelected, label: PAYMENT_METHOD_TYPE_LABELS[paymentMethodType], hidden: this.shouldHideRadioInput }), isSelected && this.renderSelectedPaymentMethodForm(paymentMethodType)));
|
|
276
|
-
}
|
|
277
|
-
renderSelectedPaymentMethodForm(paymentMethodType) {
|
|
278
|
-
return (index.h("div", { class: "mt-4 pb-4" }, this.renderPaymentMethodForm(paymentMethodType), index.h("div", { class: "mt-4" }, index.h("justifi-billing-form", { ref: (el) => (this.billingFormRef = el), hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, paymentMethodType: paymentMethodType })), index.h("div", { class: "mt-4" }, index.h("justifi-save-new-payment-method", { hidden: !this.paymentMethodGroupID, label: this.savePaymentMethodLabel }))));
|
|
279
|
-
}
|
|
280
|
-
renderPaymentMethodForm(paymentMethodType) {
|
|
281
|
-
return paymentMethodType === index$1.PAYMENT_METHODS.NEW_CARD ? (index.h("justifi-card-form", { ref: (el) => (this.paymentMethodFormRef = el) })) : (index.h("justifi-bank-account-form", { ref: (el) => (this.paymentMethodFormRef = el) }));
|
|
282
|
-
}
|
|
283
|
-
render() {
|
|
284
|
-
return (index.h(styledHost.StyledHost, { key: '86d79320ea44f9e791ab91739075d160769743fb' }, index.h("form", { key: 'd8b62d8d0442085822a51eeaef816809e2bd1f05' }, index.h("fieldset", { key: 'c792bba0b82c19f05ce551b95157479d407113e2' }, index.h("div", { key: '57e93910091e25344a371ac081aa657c683049b4', class: "row gy-3" }, index.h("div", { key: 'bc63e26c74b247ec4d5d5ee9510d8370b9e36f17', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), index.h("div", { key: '1d9acd0beee80e8b339204d7328a0d2e9078b9a3', class: "col-12" }, index.h("justifi-button", { key: '18a968b57420f0690e6f6c98b5e108f769b61d4b', text: this.submitButtonText, variant: "primary", type: "submit", clickHandler: (e) => this.tokenizePaymentMethod(e), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.computedHideSubmitButton })))))));
|
|
285
|
-
}
|
|
286
|
-
get host() { return index.getElement(this); }
|
|
287
|
-
static get watchers() { return {
|
|
288
|
-
"disableCreditCard": ["paymentMethodsChanged"],
|
|
289
|
-
"disableBankAccount": ["paymentMethodsChanged"]
|
|
290
|
-
}; }
|
|
291
|
-
};
|
|
292
|
-
|
|
293
|
-
const BankAccountFormSkeleton = (props) => {
|
|
294
|
-
const { isReady } = props;
|
|
295
|
-
if (isReady) {
|
|
296
|
-
return null;
|
|
297
|
-
}
|
|
298
|
-
return (index.h("div", { class: "container-fluid p-0" }, index.h("div", { class: "row mb-3" }, index.h("div", { class: "col-12 align-content-end" }, index.h(skeleton.Skeleton, { height: "18px", width: "120px" }), index.h(skeleton.Skeleton, { height: "36px" }))), index.h("div", { class: "row" }, index.h("div", { class: "col-12 align-content-end" }, index.h(skeleton.Skeleton, { height: "18px", width: "110px" }), index.h(skeleton.Skeleton, { height: "36px" })))));
|
|
299
|
-
};
|
|
300
|
-
|
|
301
|
-
const BankAccountForm = class {
|
|
302
|
-
constructor(hostRef) {
|
|
303
|
-
index.registerInstance(this, hostRef);
|
|
304
|
-
this.isReady = false;
|
|
305
|
-
}
|
|
306
|
-
async componentWillLoad() {
|
|
307
|
-
await configState.waitForConfig();
|
|
308
|
-
this.iframeOrigin = configState.configState.iframeOrigin;
|
|
309
|
-
this.tabId = utils.generateTabId();
|
|
310
|
-
checkPkgVersion.checkPkgVersion();
|
|
311
|
-
this.analytics = new checkPkgVersion.JustifiAnalytics(this);
|
|
312
|
-
}
|
|
313
|
-
componentDidRender() {
|
|
314
|
-
const elements = [
|
|
315
|
-
this.accountNumberIframeElement,
|
|
316
|
-
this.routingNumberIframeElement,
|
|
317
|
-
];
|
|
318
|
-
Promise.all(elements.map((element) => {
|
|
319
|
-
return new Promise((resolve) => {
|
|
320
|
-
element.addEventListener('iframeLoaded', () => { resolve(); });
|
|
321
|
-
});
|
|
322
|
-
})).then(() => {
|
|
323
|
-
this.isReady = true;
|
|
324
|
-
});
|
|
325
|
-
}
|
|
326
|
-
disconnectedCallback() {
|
|
327
|
-
var _a;
|
|
328
|
-
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
329
|
-
}
|
|
330
|
-
async validate() {
|
|
331
|
-
const accountNumberIsValid = await this.accountNumberIframeElement.validate();
|
|
332
|
-
const routingNumberIsValid = await this.routingNumberIframeElement.validate();
|
|
333
|
-
return accountNumberIsValid && routingNumberIsValid;
|
|
334
|
-
}
|
|
335
|
-
async tokenize({ clientId, paymentMethodMetadata, account }) {
|
|
336
|
-
return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
337
|
-
}
|
|
338
|
-
render() {
|
|
339
|
-
return (index.h(styledHost.StyledHost, { key: 'b9674b4e8cfd28e440f28c3e08772bc879f0d1b6' }, index.h(BankAccountFormSkeleton, { key: '87adb553cd4fefac370379bbfcc373fbd8935f60', isReady: this.isReady }), index.h("hidden-input", { key: '1395bba6465865528e94e945ca614107027e86c4' }), index.h("div", { key: '7ce58ad6226ac6cb3c4ec45895a5e3a94885d3a9', class: "container-fluid p-0", style: {
|
|
340
|
-
opacity: this.isReady ? '1' : '0',
|
|
341
|
-
height: this.isReady ? 'auto' : '0',
|
|
342
|
-
} }, index.h("div", { key: '85a4a2955404571823404bd9aa46c0744b5f1469', class: "row mb-3" }, index.h("iframe-input", { key: 'af85c82af0770b89bbba09347b5f3bf65d581e5a', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber?tabId=${this.tabId}` })), index.h("div", { key: '201171891252c6384e47657b007e7e0381d12cfa', class: "row" }, index.h("iframe-input", { key: '1f2b63b6cb11c0dd906727aaba3127e68ecb540c', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber?tabId=${this.tabId}` })))));
|
|
343
|
-
}
|
|
344
|
-
};
|
|
345
|
-
|
|
346
|
-
const BillingForm = class {
|
|
347
|
-
constructor(hostRef) {
|
|
348
|
-
index.registerInstance(this, hostRef);
|
|
349
|
-
}
|
|
350
|
-
get showSimpleCardBillingForm() {
|
|
351
|
-
return this.paymentMethodType === index$1.PAYMENT_METHODS.NEW_CARD && this.hideCardBillingForm;
|
|
352
|
-
}
|
|
353
|
-
get showSimpleBankAccountBillingForm() {
|
|
354
|
-
return this.paymentMethodType === index$1.PAYMENT_METHODS.NEW_BANK_ACCOUNT && this.hideBankAccountBillingForm;
|
|
355
|
-
}
|
|
356
|
-
async getValues() {
|
|
357
|
-
var _a;
|
|
358
|
-
return (_a = this.selectedFormRef) === null || _a === void 0 ? void 0 : _a.getValues();
|
|
359
|
-
}
|
|
360
|
-
async fill(fields) {
|
|
361
|
-
var _a;
|
|
362
|
-
(_a = this.selectedFormRef) === null || _a === void 0 ? void 0 : _a.fill(fields);
|
|
363
|
-
}
|
|
364
|
-
async validate() {
|
|
365
|
-
var _a;
|
|
366
|
-
return (_a = this.selectedFormRef) === null || _a === void 0 ? void 0 : _a.validate();
|
|
367
|
-
}
|
|
368
|
-
render() {
|
|
369
|
-
if (this.showSimpleBankAccountBillingForm) {
|
|
370
|
-
return (index.h(index.Host, null, index.h("justifi-bank-account-billing-form-simple", { legend: this.legend, ref: (el) => (this.selectedFormRef = el) })));
|
|
371
|
-
}
|
|
372
|
-
if (this.showSimpleCardBillingForm) {
|
|
373
|
-
return (index.h(index.Host, null, index.h("justifi-card-billing-form-simple", { legend: this.legend, ref: (el) => (this.selectedFormRef = el) })));
|
|
374
|
-
}
|
|
375
|
-
return (index.h(index.Host, null, index.h("justifi-billing-form-full", { legend: this.legend, ref: (el) => (this.selectedFormRef = el) })));
|
|
376
|
-
}
|
|
377
|
-
};
|
|
378
|
-
|
|
379
|
-
const JustifiButton = class {
|
|
380
|
-
constructor(hostRef) {
|
|
381
|
-
index.registerInstance(this, hostRef);
|
|
382
|
-
this.variant = 'primary';
|
|
383
|
-
this.type = 'button';
|
|
384
|
-
}
|
|
385
|
-
render() {
|
|
386
|
-
return (index.h(styledHost.StyledHost, { key: 'b9a4be42df1dbeca39a2c310ab6375cc2c1946f3' }, index.h(button.Button, { key: '04bfb3aaa6af8b2dafa07dbcebaf6b7a03a07442', variant: this.variant, isLoading: this.isLoading, clickHandler: this.clickHandler, class: this.class, type: this.type, disabled: this.disabled, style: this.customStyle }, this.text)));
|
|
387
|
-
}
|
|
388
|
-
};
|
|
389
|
-
|
|
390
|
-
const CardFormSkeleton = (props) => {
|
|
391
|
-
const { isReady } = props;
|
|
392
|
-
if (isReady) {
|
|
393
|
-
return null;
|
|
394
|
-
}
|
|
395
|
-
return (index.h("div", { class: "container-fluid p-0" }, index.h("div", { class: "mb-3" }, index.h(skeleton.Skeleton, { height: "18px", width: "100px" }), index.h(skeleton.Skeleton, { height: "36px" })), index.h("div", { class: "row" }, index.h("div", { class: "col-4 align-content-end" }, index.h(skeleton.Skeleton, { height: "18px", width: "80px" }), index.h(skeleton.Skeleton, { height: "36px" })), index.h("div", { class: "col-4 align-content-end" }, index.h(skeleton.Skeleton, { height: "36px" })), index.h("div", { class: "col-4 align-content-end" }, index.h(skeleton.Skeleton, { height: "18px", width: "30px" }), index.h(skeleton.Skeleton, { height: "36px" })))));
|
|
396
|
-
};
|
|
397
|
-
|
|
398
|
-
const JustifiCardForm = class {
|
|
399
|
-
constructor(hostRef) {
|
|
400
|
-
index.registerInstance(this, hostRef);
|
|
401
|
-
this.isReady = false;
|
|
402
|
-
}
|
|
403
|
-
async componentWillLoad() {
|
|
404
|
-
await configState.waitForConfig();
|
|
405
|
-
this.iframeOrigin = configState.configState.iframeOrigin;
|
|
406
|
-
this.tabId = utils.generateTabId();
|
|
407
|
-
checkPkgVersion.checkPkgVersion();
|
|
408
|
-
this.analytics = new checkPkgVersion.JustifiAnalytics(this);
|
|
409
|
-
}
|
|
410
|
-
componentDidRender() {
|
|
411
|
-
const elements = [
|
|
412
|
-
this.cardNumberIframeElement,
|
|
413
|
-
this.expirationMonthIframeElement,
|
|
414
|
-
this.expirationYearIframeElement,
|
|
415
|
-
this.cvvIframeElement,
|
|
416
|
-
];
|
|
417
|
-
Promise.all(elements.map((element) => {
|
|
418
|
-
return new Promise((resolve) => {
|
|
419
|
-
element.addEventListener('iframeLoaded', () => { resolve(); });
|
|
420
|
-
});
|
|
421
|
-
})).then(() => {
|
|
422
|
-
this.isReady = true;
|
|
423
|
-
});
|
|
424
|
-
}
|
|
425
|
-
disconnectedCallback() {
|
|
426
|
-
var _a;
|
|
427
|
-
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
428
|
-
}
|
|
429
|
-
async validate() {
|
|
430
|
-
const cardNumberIsValid = await this.cardNumberIframeElement.validate();
|
|
431
|
-
const expirationMonthIsValid = await this.expirationMonthIframeElement.validate();
|
|
432
|
-
const expirationYearIsValid = await this.expirationYearIframeElement.validate();
|
|
433
|
-
const cvvIsValid = await this.cvvIframeElement.validate();
|
|
434
|
-
return cardNumberIsValid && expirationMonthIsValid && expirationYearIsValid && cvvIsValid;
|
|
435
|
-
}
|
|
436
|
-
async tokenize({ clientId, paymentMethodMetadata, account, }) {
|
|
437
|
-
return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
438
|
-
}
|
|
439
|
-
render() {
|
|
440
|
-
return (index.h(styledHost.StyledHost, { key: '20d4ea593b1f53fdbe8cc301e64c1a7743802678' }, index.h(CardFormSkeleton, { key: 'f3d2569ddcf94c8cf5f07ba4e1a862d6991c686e', isReady: this.isReady }), index.h("hidden-input", { key: '4804eb065aa5c2c21a84cd5e4ae02d8e00544081' }), index.h("div", { key: '0c98ea9d4218a70a95b620a969481083aac623f3', class: "container-fluid p-0", style: {
|
|
441
|
-
opacity: this.isReady ? '1' : '0',
|
|
442
|
-
height: this.isReady ? 'auto' : '0',
|
|
443
|
-
} }, index.h("div", { key: '6674294528ffdf8b3e90aa75827d88c891f74f65', class: "mb-3" }, index.h("iframe-input", { key: 'a08798d454cf5b7e572c334bdf3238f08071fa43', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber?tabId=${this.tabId}` })), index.h("div", { key: 'e5aca3795c1788bd0862f7dbf28dec58bbcc3f03', class: "row" }, index.h("div", { key: '29c8dcbf332349d1b81e98b17630de0cd3ef8b77', class: "col-4 align-content-end" }, index.h("iframe-input", { key: '88dd4b4601010543f2d02b4b5ca6814431de1e63', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth?tabId=${this.tabId}` })), index.h("div", { key: 'd7b557547cdb3e18103c9ad0588733448a22d4f6', class: "col-4 align-content-end" }, index.h("iframe-input", { key: '2b9915cd264167e2c3080688290765590061ae6d', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear?tabId=${this.tabId}` })), index.h("div", { key: '241ead4a324fc65ddc787e8fa81cb8ed62e3114d', class: "col-4 align-content-end" }, index.h("iframe-input", { key: 'c254b90ef75b5bcf1ff86bddf2d488de0a2bb709', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV?tabId=${this.tabId}` }))))));
|
|
444
|
-
}
|
|
445
|
-
};
|
|
446
|
-
|
|
447
|
-
const SaveNewPaymentMethod = class {
|
|
448
|
-
constructor(hostRef) {
|
|
449
|
-
index.registerInstance(this, hostRef);
|
|
450
|
-
this.checkboxChanged = index.createEvent(this, "checkboxChanged", 7);
|
|
451
|
-
this.label = 'Save New Payment Method';
|
|
452
|
-
this.isChecked = false;
|
|
453
|
-
this.handleCheckboxChange = (_name, value) => {
|
|
454
|
-
this.isChecked = value;
|
|
455
|
-
checkout_store.checkoutStore.savePaymentMethod = value;
|
|
456
|
-
this.checkboxChanged.emit(this.isChecked);
|
|
457
|
-
};
|
|
458
|
-
}
|
|
459
|
-
render() {
|
|
460
|
-
return (index.h(styledHost.StyledHost, { key: '981f6a84fc14a7b687e1b6567b30fb9f861b0aa2' }, index.h("form-control-checkbox", { key: '566f6261d19f96b87b9382b26a86b71461a29d08', label: this.label || 'Save New Payment Method', name: "saveNewPaymentMethod", checked: this.isChecked, inputHandler: this.handleCheckboxChange })));
|
|
461
|
-
}
|
|
462
|
-
};
|
|
463
|
-
|
|
464
|
-
exports.internal_tokenize_payment_method = InternalTokenizePaymentMethod;
|
|
465
|
-
exports.justifi_bank_account_form = BankAccountForm;
|
|
466
|
-
exports.justifi_billing_form = BillingForm;
|
|
467
|
-
exports.justifi_button = JustifiButton;
|
|
468
|
-
exports.justifi_card_form = JustifiCardForm;
|
|
469
|
-
exports.justifi_radio_list_item = JustifiRadioListItem;
|
|
470
|
-
exports.justifi_save_new_payment_method = SaveNewPaymentMethod;
|
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var index = require('./index-p7cvUYAE.js');
|
|
4
|
-
var index_esm = require('./index.esm-C1ZPG85l.js');
|
|
5
|
-
var schemaValidations = require('./schema-validations-_yWWnnaG.js');
|
|
6
|
-
var parts = require('./parts-BXshb_S-.js');
|
|
7
|
-
var styledHost = require('./styled-host-DAi5SuFa.js');
|
|
8
|
-
require('./event-types-YOY5TKUN.js');
|
|
9
|
-
var header3 = require('./header-3-DCYJhPro.js');
|
|
10
|
-
var Business = require('./Business-oBifyXkW.js');
|
|
11
|
-
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
12
|
-
require('./country-config-D7fss2oF.js');
|
|
13
|
-
require('./business-form-options-D_nM7NDk.js');
|
|
14
|
-
|
|
15
|
-
const fullBillingSchema = () => index_esm.create$3({
|
|
16
|
-
name: schemaValidations.identityNameValidation.required('Enter full name'),
|
|
17
|
-
address_line1: schemaValidations.lineOneValidation.required('Enter street address'),
|
|
18
|
-
address_line2: schemaValidations.lineTwoValidation.nullable(),
|
|
19
|
-
address_city: schemaValidations.cityValidation.required('Enter city'),
|
|
20
|
-
address_state: schemaValidations.stateValidation.required('Select state'),
|
|
21
|
-
address_postal_code: schemaValidations.postalValidation.required('Enter postal code'),
|
|
22
|
-
});
|
|
23
|
-
const postalOnlySchema = () => index_esm.create$3({
|
|
24
|
-
name: schemaValidations.identityNameValidation.nullable(),
|
|
25
|
-
address_line1: schemaValidations.lineOneValidation.nullable(),
|
|
26
|
-
address_line2: schemaValidations.lineTwoValidation.nullable(),
|
|
27
|
-
address_city: schemaValidations.cityValidation.nullable(),
|
|
28
|
-
address_state: schemaValidations.stateValidation.nullable(),
|
|
29
|
-
address_postal_code: schemaValidations.postalValidation.required('Enter postal code'),
|
|
30
|
-
});
|
|
31
|
-
const nameOnlySchema = () => index_esm.create$3({
|
|
32
|
-
name: schemaValidations.identityNameValidation.required('Enter full name'),
|
|
33
|
-
address_line1: schemaValidations.lineOneValidation.nullable(),
|
|
34
|
-
address_line2: schemaValidations.lineTwoValidation.nullable(),
|
|
35
|
-
address_city: schemaValidations.cityValidation.nullable(),
|
|
36
|
-
address_state: schemaValidations.stateValidation.nullable(),
|
|
37
|
-
address_postal_code: schemaValidations.postalValidation.nullable(),
|
|
38
|
-
});
|
|
39
|
-
|
|
40
|
-
const BankAccountBillingFormSimple = class {
|
|
41
|
-
constructor(hostRef) {
|
|
42
|
-
index.registerInstance(this, hostRef);
|
|
43
|
-
this.errors = {};
|
|
44
|
-
this.inputHandler = (name, value) => {
|
|
45
|
-
this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { [name]: value }));
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
componentWillLoad() {
|
|
49
|
-
this.formController = new index_esm.FormController(nameOnlySchema());
|
|
50
|
-
}
|
|
51
|
-
componentDidLoad() {
|
|
52
|
-
this.formController.values.subscribe(values => this.billingInfo = Object.assign({}, values));
|
|
53
|
-
this.formController.errors.subscribe(errors => {
|
|
54
|
-
this.errors = Object.assign({}, errors);
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
async getValues() {
|
|
58
|
-
return this.formController.values.getValue();
|
|
59
|
-
}
|
|
60
|
-
async fill(fields) {
|
|
61
|
-
this.formController.setInitialValues(fields);
|
|
62
|
-
}
|
|
63
|
-
async validate() {
|
|
64
|
-
const isValid = await this.formController.validate();
|
|
65
|
-
const errors = this.formController.errors.getValue();
|
|
66
|
-
return { isValid, errors };
|
|
67
|
-
}
|
|
68
|
-
render() {
|
|
69
|
-
const billingFormDefaultValue = this.formController.getInitialValues();
|
|
70
|
-
return (index.h(styledHost.StyledHost, { key: '1ad536d9f27bdb1cb3da9721c486cd4f1006ecb1' }, index.h("div", { key: 'b1589bbc4bba3703c54e6a5651aaad5499c218f4', part: parts.billingForm, class: "mt-4" }, index.h("form", { key: 'd60bc906ec293d45c1887c0864ff4c1f28845461' }, index.h("fieldset", { key: '166465d844cbfb0d55dae03d88b52ad202d1616c' }, this.legend && (index.h("legend", { key: '509d5e560791fb6f96a5e755931fd7a363b21e06' }, this.legend)), index.h("div", { key: '979e4bae922ff88aae107d921136215474a847ea', class: "row gy-3" }, index.h("div", { key: '4014b6c65739d39077d69f0e649eec0fadab0c87', class: "col-12" }, index.h("form-control-text", { key: '2e9e1dbb43ffdd9848415ceefc8df75ec60a35e0', name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler }))))))));
|
|
71
|
-
}
|
|
72
|
-
};
|
|
73
|
-
|
|
74
|
-
const BillingFormFull = class {
|
|
75
|
-
constructor(hostRef) {
|
|
76
|
-
index.registerInstance(this, hostRef);
|
|
77
|
-
this.errors = {};
|
|
78
|
-
this.inputHandler = (name, value) => {
|
|
79
|
-
this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { [name]: value }));
|
|
80
|
-
};
|
|
81
|
-
}
|
|
82
|
-
componentWillLoad() {
|
|
83
|
-
this.formController = new index_esm.FormController(fullBillingSchema());
|
|
84
|
-
// Set up subscriptions here to avoid warnings about setting state during componentDidLoad
|
|
85
|
-
this.formController.values.subscribe(values => this.billingInfo = Object.assign({}, values));
|
|
86
|
-
this.formController.errors.subscribe(errors => {
|
|
87
|
-
this.errors = Object.assign({}, errors);
|
|
88
|
-
});
|
|
89
|
-
}
|
|
90
|
-
async getValues() {
|
|
91
|
-
return this.formController.values.getValue();
|
|
92
|
-
}
|
|
93
|
-
async fill(fields) {
|
|
94
|
-
this.formController.setInitialValues(fields);
|
|
95
|
-
}
|
|
96
|
-
async validate() {
|
|
97
|
-
const isValid = await this.formController.validate();
|
|
98
|
-
const errors = this.formController.errors.getValue();
|
|
99
|
-
return { isValid, errors };
|
|
100
|
-
}
|
|
101
|
-
render() {
|
|
102
|
-
// Guard clause to ensure formController is initialized before rendering
|
|
103
|
-
if (!this.formController) {
|
|
104
|
-
return null;
|
|
105
|
-
}
|
|
106
|
-
const billingFormDefaultValue = this.formController.getInitialValues();
|
|
107
|
-
return (index.h(styledHost.StyledHost, null, index.h("div", { part: parts.billingForm, class: "mt-4" }, index.h(header3.Header3, { text: "Billing address", class: "fs-6 fw-bold lh-lg mb-4" }), index.h("form", null, index.h("fieldset", null, this.legend && (index.h("legend", null, this.legend)), index.h("div", { class: "row gy-3" }, index.h("div", { class: "col-12" }, index.h("form-control-text", { name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), index.h("div", { class: "col-12" }, index.h("form-control-text", { name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), index.h("div", { class: "col-12" }, index.h("form-control-text", { name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), index.h("div", { class: "col-12" }, index.h("form-control-text", { name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), index.h("div", { class: "col-12" }, index.h("form-control-select", { name: 'address_state', label: 'State', options: Business.StateOptions, defaultValue: billingFormDefaultValue.address_state, errorText: this.errors.address_state, inputHandler: this.inputHandler })), index.h("div", { class: "col-12" }, index.h("form-control-text", { name: 'address_postal_code', label: "Postal Code", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 7 }))))))));
|
|
108
|
-
}
|
|
109
|
-
};
|
|
110
|
-
|
|
111
|
-
const CardBillingFormSimple = class {
|
|
112
|
-
constructor(hostRef) {
|
|
113
|
-
index.registerInstance(this, hostRef);
|
|
114
|
-
this.errors = {};
|
|
115
|
-
this.inputHandler = (name, value) => {
|
|
116
|
-
this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { [name]: value }));
|
|
117
|
-
};
|
|
118
|
-
}
|
|
119
|
-
componentWillLoad() {
|
|
120
|
-
this.formController = new index_esm.FormController(postalOnlySchema());
|
|
121
|
-
}
|
|
122
|
-
componentDidLoad() {
|
|
123
|
-
this.formController.values.subscribe(values => this.billingInfo = Object.assign({}, values));
|
|
124
|
-
this.formController.errors.subscribe(errors => {
|
|
125
|
-
this.errors = Object.assign({}, errors);
|
|
126
|
-
});
|
|
127
|
-
}
|
|
128
|
-
async getValues() {
|
|
129
|
-
return this.formController.values.getValue();
|
|
130
|
-
}
|
|
131
|
-
async fill(fields) {
|
|
132
|
-
this.formController.setInitialValues(fields);
|
|
133
|
-
}
|
|
134
|
-
async validate() {
|
|
135
|
-
const isValid = await this.formController.validate();
|
|
136
|
-
const errors = this.formController.errors.getValue();
|
|
137
|
-
return { isValid, errors };
|
|
138
|
-
}
|
|
139
|
-
render() {
|
|
140
|
-
const billingFormDefaultValue = this.formController.getInitialValues();
|
|
141
|
-
return (index.h(styledHost.StyledHost, { key: '5d685e6a8e7b22780431b4f2315a95c43766242e' }, index.h("div", { key: 'c71d5e6b49162ff2c21cd7b9ee0e9951c264034e', part: parts.billingForm }, index.h("form", { key: 'a935f2ee1999afe079c13bd3b0e3b2b5225c12d2' }, index.h("fieldset", { key: '1808d8afc17a22d4156534dc7e54af8350d406b4' }, this.legend && (index.h("legend", { key: 'c73a35b4311515cf57d6ed5193056a9197cddaa9' }, this.legend)), index.h("div", { key: 'a36b221db49c567f6fc5e20af2a60fd30eeb4568', class: "row gy-3" }, index.h("div", { key: '907f29bec68ac9d43fd66f28226b87f2003efbaa', class: "col-12" }, index.h("form-control-text", { key: '93024133c94fc8eb2f1a34073ea7945d873420c4', name: 'address_postal_code', label: "Postal Code", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 7 }))))))));
|
|
142
|
-
}
|
|
143
|
-
};
|
|
144
|
-
|
|
145
|
-
exports.justifi_bank_account_billing_form_simple = BankAccountBillingFormSimple;
|
|
146
|
-
exports.justifi_billing_form_full = BillingFormFull;
|
|
147
|
-
exports.justifi_card_billing_form_simple = CardBillingFormSimple;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var index = require('./index-p7cvUYAE.js');
|
|
4
|
-
|
|
5
|
-
const TokenizePaymentMethod = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
index.registerInstance(this, hostRef);
|
|
8
|
-
this.submitButtonText = 'Submit';
|
|
9
|
-
}
|
|
10
|
-
async tokenizePaymentMethod(event) {
|
|
11
|
-
return this.tokenizePaymentMethodRef.tokenizePaymentMethod(event);
|
|
12
|
-
}
|
|
13
|
-
async fillBillingForm(fields) {
|
|
14
|
-
return this.tokenizePaymentMethodRef.fillBillingForm(fields);
|
|
15
|
-
}
|
|
16
|
-
async validate() {
|
|
17
|
-
return this.tokenizePaymentMethodRef.validate();
|
|
18
|
-
}
|
|
19
|
-
render() {
|
|
20
|
-
return (index.h("internal-tokenize-payment-method", { key: '136cf8d3b079e2c0fb08fd55900a0c540ad43497', ref: (el) => this.tokenizePaymentMethodRef = el, authToken: this.authToken, accountId: this.accountId, disableCreditCard: this.disableCreditCard, disableBankAccount: this.disableBankAccount, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, hideSubmitButton: this.hideSubmitButton, paymentMethodGroupId: this.paymentMethodGroupId }));
|
|
21
|
-
}
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
exports.justifi_tokenize_payment_method = TokenizePaymentMethod;
|