@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
|
@@ -16,7 +16,7 @@ const ERROR_MESSAGES = {
|
|
|
16
16
|
FORM_NOT_READY: 'Payment form not ready',
|
|
17
17
|
VALIDATION_ERROR: 'Validation error',
|
|
18
18
|
};
|
|
19
|
-
export class
|
|
19
|
+
export class JustifiTokenizePaymentMethod {
|
|
20
20
|
constructor() {
|
|
21
21
|
this.computedHideSubmitButton = false;
|
|
22
22
|
this.isLoading = false;
|
|
@@ -44,10 +44,6 @@ export class InternalTokenizePaymentMethod {
|
|
|
44
44
|
this.selectedPaymentMethod = event.detail;
|
|
45
45
|
checkoutStore.selectedPaymentMethod = { type: event.detail };
|
|
46
46
|
}
|
|
47
|
-
async fillBillingForm(fields) {
|
|
48
|
-
var _a;
|
|
49
|
-
(_a = this.billingFormRef) === null || _a === void 0 ? void 0 : _a.fill(fields);
|
|
50
|
-
}
|
|
51
47
|
async tokenizePaymentMethod(event) {
|
|
52
48
|
event === null || event === void 0 ? void 0 : event.preventDefault();
|
|
53
49
|
this.validateRequiredProps();
|
|
@@ -85,6 +81,9 @@ export class InternalTokenizePaymentMethod {
|
|
|
85
81
|
this.isLoading = false;
|
|
86
82
|
}
|
|
87
83
|
}
|
|
84
|
+
async fillBillingForm(fields) {
|
|
85
|
+
checkoutStore.billingFormFields = fields;
|
|
86
|
+
}
|
|
88
87
|
async validate() {
|
|
89
88
|
if (!this.areFormsReady()) {
|
|
90
89
|
return { isValid: false, errors: { general: ERROR_MESSAGES.FORM_NOT_READY } };
|
|
@@ -99,6 +98,9 @@ export class InternalTokenizePaymentMethod {
|
|
|
99
98
|
};
|
|
100
99
|
return result;
|
|
101
100
|
}
|
|
101
|
+
async getValues() {
|
|
102
|
+
return this.billingFormRef.getValues();
|
|
103
|
+
}
|
|
102
104
|
async tokenize() {
|
|
103
105
|
try {
|
|
104
106
|
const billingFormFieldValues = await this.billingFormRef.getValues();
|
|
@@ -107,7 +109,8 @@ export class InternalTokenizePaymentMethod {
|
|
|
107
109
|
account: this.accountId || checkoutStore.accountId,
|
|
108
110
|
paymentMethodMetadata: this.buildPaymentMethodMetadata(billingFormFieldValues),
|
|
109
111
|
};
|
|
110
|
-
|
|
112
|
+
const result = await this.paymentMethodFormRef.tokenize(config);
|
|
113
|
+
return result;
|
|
111
114
|
}
|
|
112
115
|
catch (error) {
|
|
113
116
|
return error;
|
|
@@ -218,10 +221,11 @@ export class InternalTokenizePaymentMethod {
|
|
|
218
221
|
return { error: tokenizeResponse.error };
|
|
219
222
|
}
|
|
220
223
|
const tokenizeResponseData = tokenizeResponse.data;
|
|
221
|
-
|
|
224
|
+
const result = {
|
|
222
225
|
token: ((_a = tokenizeResponseData.card) === null || _a === void 0 ? void 0 : _a.token) || ((_b = tokenizeResponseData.bank_account) === null || _b === void 0 ? void 0 : _b.token),
|
|
223
226
|
data: tokenizeResponseData,
|
|
224
227
|
};
|
|
228
|
+
return result;
|
|
225
229
|
}
|
|
226
230
|
buildPaymentMethodMetadata(billingFormFieldValues) {
|
|
227
231
|
return this.shouldSavePaymentMethod
|
|
@@ -238,18 +242,28 @@ export class InternalTokenizePaymentMethod {
|
|
|
238
242
|
}
|
|
239
243
|
renderPaymentMethodOption(paymentMethodType) {
|
|
240
244
|
const isSelected = this.selectedPaymentMethod === paymentMethodType && checkoutStore.selectedPaymentMethod.id === undefined;
|
|
241
|
-
return (h("div", { class: "payment-method" }, h("
|
|
245
|
+
return (h("div", { class: "payment-method" }, h("radio-list-item", { name: "paymentMethodType", value: paymentMethodType, checked: isSelected, label: PAYMENT_METHOD_TYPE_LABELS[paymentMethodType], hidden: this.shouldHideRadioInput }), isSelected && this.renderSelectedPaymentMethodForm(paymentMethodType)));
|
|
242
246
|
}
|
|
243
247
|
renderSelectedPaymentMethodForm(paymentMethodType) {
|
|
244
|
-
return (h("div", { class: "mt-4 pb-4" }, this.renderPaymentMethodForm(paymentMethodType), h("div", { class: "mt-4" }, h("
|
|
248
|
+
return (h("div", { class: "mt-4 pb-4" }, this.renderPaymentMethodForm(paymentMethodType), h("div", { class: "mt-4" }, h("billing-form", { ref: (el) => {
|
|
249
|
+
if (el)
|
|
250
|
+
this.billingFormRef = el;
|
|
251
|
+
}, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, paymentMethodType: paymentMethodType })), h("div", { class: "mt-4" }, h("save-new-payment-method", { hidden: !this.paymentMethodGroupID, label: this.savePaymentMethodLabel }))));
|
|
245
252
|
}
|
|
246
253
|
renderPaymentMethodForm(paymentMethodType) {
|
|
247
|
-
return paymentMethodType === PAYMENT_METHODS.NEW_CARD ? (h("
|
|
254
|
+
return paymentMethodType === PAYMENT_METHODS.NEW_CARD ? (h("card-form", { ref: (el) => {
|
|
255
|
+
if (el)
|
|
256
|
+
this.paymentMethodFormRef = el;
|
|
257
|
+
} })) : (h("bank-account-form", { ref: (el) => {
|
|
258
|
+
if (el)
|
|
259
|
+
this.paymentMethodFormRef = el;
|
|
260
|
+
} }));
|
|
248
261
|
}
|
|
249
262
|
render() {
|
|
250
|
-
return (h(StyledHost, { key: '
|
|
263
|
+
return (h(StyledHost, { key: '2d4349f3e5ad632981cdeb14dbe4e483f79379da' }, h("form", { key: '754afee2c5229cf016bd8fc0cf81041cf37270a8' }, h("fieldset", { key: '01867151a09d384e1258ef7f62fbc88c526706cc' }, h("div", { key: '7ba453d4629a0c2ef583daddcb9cf02ac5eee265', class: "row gy-3" }, h("div", { key: '4148f2269c738a00f2684d69d4a83a4ab2424f2b', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), h("div", { key: 'e67b09357571aadfb3d2712f55954506748b3826', class: "col-12" }, h("internal-button", { key: 'c2e805060ff7e9e97144533ffad3b4a02433e792', text: this.submitButtonText, variant: "primary", type: "submit", clickHandler: (e) => this.tokenizePaymentMethod(e), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.computedHideSubmitButton })))))));
|
|
251
264
|
}
|
|
252
|
-
static get is() { return "
|
|
265
|
+
static get is() { return "justifi-tokenize-payment-method"; }
|
|
266
|
+
static get encapsulation() { return "shadow"; }
|
|
253
267
|
static get properties() {
|
|
254
268
|
return {
|
|
255
269
|
"accountId": {
|
|
@@ -499,12 +513,12 @@ export class InternalTokenizePaymentMethod {
|
|
|
499
513
|
}
|
|
500
514
|
static get methods() {
|
|
501
515
|
return {
|
|
502
|
-
"
|
|
516
|
+
"tokenizePaymentMethod": {
|
|
503
517
|
"complexType": {
|
|
504
|
-
"signature": "(
|
|
518
|
+
"signature": "(event?: MouseEvent) => Promise<PaymentMethodPayload>",
|
|
505
519
|
"parameters": [{
|
|
506
|
-
"name": "
|
|
507
|
-
"type": "
|
|
520
|
+
"name": "event",
|
|
521
|
+
"type": "MouseEvent",
|
|
508
522
|
"docs": ""
|
|
509
523
|
}],
|
|
510
524
|
"references": {
|
|
@@ -512,25 +526,34 @@ export class InternalTokenizePaymentMethod {
|
|
|
512
526
|
"location": "global",
|
|
513
527
|
"id": "global::Promise"
|
|
514
528
|
},
|
|
515
|
-
"
|
|
529
|
+
"PaymentMethodPayload": {
|
|
530
|
+
"location": "import",
|
|
531
|
+
"path": "../checkout/payment-method-payload",
|
|
532
|
+
"id": "src/components/checkout/payment-method-payload.ts::PaymentMethodPayload"
|
|
533
|
+
},
|
|
534
|
+
"MouseEvent": {
|
|
535
|
+
"location": "global",
|
|
536
|
+
"id": "global::MouseEvent"
|
|
537
|
+
},
|
|
538
|
+
"ComponentErrorCodes": {
|
|
516
539
|
"location": "import",
|
|
517
|
-
"path": "../../
|
|
518
|
-
"id": "src/
|
|
540
|
+
"path": "../../api",
|
|
541
|
+
"id": "src/api/index.ts::ComponentErrorCodes"
|
|
519
542
|
}
|
|
520
543
|
},
|
|
521
|
-
"return": "Promise<
|
|
544
|
+
"return": "Promise<PaymentMethodPayload>"
|
|
522
545
|
},
|
|
523
546
|
"docs": {
|
|
524
547
|
"text": "",
|
|
525
548
|
"tags": []
|
|
526
549
|
}
|
|
527
550
|
},
|
|
528
|
-
"
|
|
551
|
+
"fillBillingForm": {
|
|
529
552
|
"complexType": {
|
|
530
|
-
"signature": "(
|
|
553
|
+
"signature": "(fields: BillingFormFields) => Promise<void>",
|
|
531
554
|
"parameters": [{
|
|
532
|
-
"name": "
|
|
533
|
-
"type": "
|
|
555
|
+
"name": "fields",
|
|
556
|
+
"type": "BillingFormFields",
|
|
534
557
|
"docs": ""
|
|
535
558
|
}],
|
|
536
559
|
"references": {
|
|
@@ -538,22 +561,13 @@ export class InternalTokenizePaymentMethod {
|
|
|
538
561
|
"location": "global",
|
|
539
562
|
"id": "global::Promise"
|
|
540
563
|
},
|
|
541
|
-
"
|
|
542
|
-
"location": "import",
|
|
543
|
-
"path": "../checkout/payment-method-payload",
|
|
544
|
-
"id": "src/components/checkout/payment-method-payload.ts::PaymentMethodPayload"
|
|
545
|
-
},
|
|
546
|
-
"MouseEvent": {
|
|
547
|
-
"location": "global",
|
|
548
|
-
"id": "global::MouseEvent"
|
|
549
|
-
},
|
|
550
|
-
"ComponentErrorCodes": {
|
|
564
|
+
"BillingFormFields": {
|
|
551
565
|
"location": "import",
|
|
552
|
-
"path": "
|
|
553
|
-
"id": "src/
|
|
566
|
+
"path": "../checkout/billing-form/billing-form-schema",
|
|
567
|
+
"id": "src/components/checkout/billing-form/billing-form-schema.ts::BillingFormFields"
|
|
554
568
|
}
|
|
555
569
|
},
|
|
556
|
-
"return": "Promise<
|
|
570
|
+
"return": "Promise<void>"
|
|
557
571
|
},
|
|
558
572
|
"docs": {
|
|
559
573
|
"text": "",
|
|
@@ -581,6 +595,28 @@ export class InternalTokenizePaymentMethod {
|
|
|
581
595
|
"tags": []
|
|
582
596
|
}
|
|
583
597
|
},
|
|
598
|
+
"getValues": {
|
|
599
|
+
"complexType": {
|
|
600
|
+
"signature": "() => Promise<BillingFormFields>",
|
|
601
|
+
"parameters": [],
|
|
602
|
+
"references": {
|
|
603
|
+
"Promise": {
|
|
604
|
+
"location": "global",
|
|
605
|
+
"id": "global::Promise"
|
|
606
|
+
},
|
|
607
|
+
"BillingFormFields": {
|
|
608
|
+
"location": "import",
|
|
609
|
+
"path": "../checkout/billing-form/billing-form-schema",
|
|
610
|
+
"id": "src/components/checkout/billing-form/billing-form-schema.ts::BillingFormFields"
|
|
611
|
+
}
|
|
612
|
+
},
|
|
613
|
+
"return": "Promise<BillingFormFields>"
|
|
614
|
+
},
|
|
615
|
+
"docs": {
|
|
616
|
+
"text": "",
|
|
617
|
+
"tags": []
|
|
618
|
+
}
|
|
619
|
+
},
|
|
584
620
|
"tokenize": {
|
|
585
621
|
"complexType": {
|
|
586
622
|
"signature": "() => Promise<any>",
|
|
@@ -108,7 +108,7 @@ export class CustomPopper {
|
|
|
108
108
|
this.hideEvent.emit();
|
|
109
109
|
}
|
|
110
110
|
render() {
|
|
111
|
-
return (h("div", { key: '
|
|
111
|
+
return (h("div", { key: 'eb1e7317215bc36f340ac0cd8b5826cc302c3693' }, h("style", { key: '1acdb1992e684a654d659e7472758e016b4b11d6' }, `
|
|
112
112
|
.popper-content {
|
|
113
113
|
display: none;
|
|
114
114
|
}
|
|
@@ -116,7 +116,7 @@ export class CustomPopper {
|
|
|
116
116
|
display: block;
|
|
117
117
|
z-index: 1030;
|
|
118
118
|
}
|
|
119
|
-
`), h("div", { key: '
|
|
119
|
+
`), h("div", { key: '53ff89449687b84469c9cfbb83c7807b6e95e003', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: 'f8f516747c2ad6c2e32efefeaa33f319a202bba6' }))));
|
|
120
120
|
}
|
|
121
121
|
static get is() { return "custom-popper"; }
|
|
122
122
|
static get properties() {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { ErrorState } from "./utils";
|
|
3
|
-
export class
|
|
3
|
+
export class JustifiDetails {
|
|
4
4
|
render() {
|
|
5
|
-
return (h("div", { key: '
|
|
5
|
+
return (h("div", { key: 'b91f85e2f62f1ea80409367208117f805299c397' }, this.errorMessage ?
|
|
6
6
|
ErrorState(this.errorMessage)
|
|
7
7
|
:
|
|
8
8
|
h("main", { class: "p-2" }, h("slot", { name: "head-info" }), h("slot", { name: 'detail-sections' }))));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Host, h, } from "@stencil/core";
|
|
2
2
|
import { FormControlHelpText, FormControlErrorText } from "../../ui-components";
|
|
3
3
|
import { inputCheckbox, inputCheckboxChecked, inputCheckboxCheckedFocused, inputCheckboxFocused, inputCheckboxInvalid, label } from "../../styles/parts";
|
|
4
|
-
export class
|
|
4
|
+
export class FormControlCheckbox {
|
|
5
5
|
constructor() {
|
|
6
6
|
this.isFocused = false;
|
|
7
7
|
this.errorText = '';
|
|
@@ -34,10 +34,10 @@ export class CheckboxInput {
|
|
|
34
34
|
return inputCheckbox;
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
|
-
return (h(Host, { key: '
|
|
37
|
+
return (h(Host, { key: 'dc2fdbd7fd92a0205b15e4b302458d8f0d775b35' }, h("div", { key: 'f32f7d5cb559282cece071f3623bdab80998bc04', class: 'form-group d-flex flex-column' }, h("div", { key: '5481439484b97ad733a0051f1722a5c3ed45778d', class: "form-check" }, h("input", { key: '9e96a563e5b0b1a9589dff7eb4f3eb3038d4918b', ref: el => (this.checkboxElement = el), type: "checkbox", id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
38
38
|
this.isFocused = false;
|
|
39
39
|
this.formControlBlur.emit();
|
|
40
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, checked: this.checked }), h("label", { key: '
|
|
40
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, checked: this.checked }), h("label", { key: '11a27a415d7741d8a29dde8d1fd029c2e143f235', class: "form-check-label", htmlFor: this.name, part: label }, this.label)), h(FormControlHelpText, { key: '3e0ef15182200a48d3cf3142c3511a0ad8095db3', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: 'e85175ea76f6073d7ee813a3f2d8eaecc044601a', errorText: this.errorText, name: this.name }))));
|
|
41
41
|
}
|
|
42
42
|
static get is() { return "form-control-checkbox"; }
|
|
43
43
|
static get properties() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Host, h, } from "@stencil/core";
|
|
2
2
|
import { FormControlErrorText } from "../../ui-components";
|
|
3
3
|
import { input, inputDisabled, inputFocused, inputInvalid, label } from "../../styles/parts";
|
|
4
|
-
export class
|
|
4
|
+
export class FormControlDate {
|
|
5
5
|
constructor() {
|
|
6
6
|
this.isFocused = false;
|
|
7
7
|
this.maxDate = this.currentDate;
|
|
@@ -42,10 +42,10 @@ export class DateInput {
|
|
|
42
42
|
return part;
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: '4bde5edec967df1c66865f5f20d24fa386e261ff' }, h("div", { key: 'fa0a944cd5d06f7e705737bd7fa98d80b8fd1555', class: "form-group d-flex flex-column" }, h("div", { key: '44dcf29339d380087fe7a98173a2033d16ad6764', class: "d-flex gap-2" }, h("label", { key: '8a0a38ace6f4a3db0388013f12381d4afec000bd', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'c9105a132a81408c304ab24f08c559289d68648b', helpText: this.helpText })), h("input", { key: '7938856aa5c1dca7d6c1ce89b3318eec3055348a', type: this.showTime ? 'datetime-local' : 'date', ref: el => (this.dateInput = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
46
46
|
this.isFocused = false;
|
|
47
47
|
this.formControlBlur.emit();
|
|
48
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), h(FormControlErrorText, { key: '
|
|
48
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), h(FormControlErrorText, { key: '5e523b911d4b4810c7512c4dda63a3204eabb11a', errorText: this.errorText, name: this.name }))));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "form-control-date"; }
|
|
51
51
|
static get properties() {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { Host, h, } from "@stencil/core";
|
|
2
2
|
import { FormControlErrorText } from "./form-helpers/form-control-error-text";
|
|
3
|
-
export class
|
|
3
|
+
export class FormControlFileV2 {
|
|
4
4
|
constructor() {
|
|
5
5
|
this.errorText = '';
|
|
6
6
|
this.inputHandler = () => { };
|
|
7
7
|
this.disabled = false;
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(Host, { key: '
|
|
10
|
+
return (h(Host, { key: '5df12f5dc87f1c7d5b18676a9d4a7b257719b2fa', exportparts: "label,input,input-invalid" }, h("div", { key: '57b02e11bd44c405635a2f6253637b288bafdd41', class: "form-group d-flex flex-column" }, h("div", { key: 'd62f4ae4183e33af3105d76d0180ebe0f54983e5', class: "d-flex align-items-start gap-2" }, h("label", { key: '82d8b58d0147f4fc6302c3852a44a73d9fcf34e0', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'ec4e21a9d4105b751b099378ce49c55a95ef36b2', helpText: this.helpText })), h("input", { key: '332527088f01b11bb06af38c73f39d3040d925b7', type: "file", name: this.name, part: `input ${this.errorText ? "input-invalid " : ""}${this.disabled ? "input-disabled" : ""}`, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onBlur: () => this.formControlBlur.emit(), onChange: () => this.errorText = "" }), h(FormControlErrorText, { key: 'd7caedcf4b1263e3c133310312374bc6d61b82c2', errorText: this.errorText, name: this.name }))));
|
|
11
11
|
}
|
|
12
12
|
static get is() { return "form-control-file-v2"; }
|
|
13
13
|
static get properties() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Host, h, } from "@stencil/core";
|
|
2
2
|
import { FormControlErrorText } from "../../ui-components";
|
|
3
3
|
import { input, inputDisabled, inputFocused, inputInvalid, label } from "../../styles/parts";
|
|
4
|
-
export class
|
|
4
|
+
export class FormControlFile {
|
|
5
5
|
constructor() {
|
|
6
6
|
this.isFocused = false;
|
|
7
7
|
this.errorText = '';
|
|
@@ -40,10 +40,10 @@ export class FileInput {
|
|
|
40
40
|
return part;
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
|
-
return (h(Host, { key: '
|
|
43
|
+
return (h(Host, { key: '1f5c8bdc73c664cf40acb4f5b61db454bbda36a0' }, h("div", { key: '77f0007875132d26dd8df91dfb53386da9e15ce4', class: "form-group d-flex flex-column" }, h("div", { key: 'a6885165580120dbaffaedf60edf2e2cc9883a9f', class: "d-flex align-items-start gap-2" }, h("label", { key: '489b6d49a60f8339722537084f64746e5625297d', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'fc581e32bfb8935e79648c0a670bcb26bf225fe4', helpText: this.helpText })), h("input", { key: '34ddfe0796848feadcd6249ed861c5fa623840d4', ref: (el) => this.fileInput = el, type: "file", name: this.name, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onChange: this.changeHandler, onInput: this.handleFormControlInput, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
44
44
|
this.isFocused = false;
|
|
45
45
|
this.formControlBlur.emit();
|
|
46
|
-
} }), h(FormControlErrorText, { key: '
|
|
46
|
+
} }), h(FormControlErrorText, { key: '4a0c1869b8b19a01273d8f1ca3f3cd92134ddb58', errorText: this.errorText, name: this.name }))));
|
|
47
47
|
}
|
|
48
48
|
static get is() { return "form-control-file"; }
|
|
49
49
|
static get properties() {
|
|
@@ -2,7 +2,7 @@ import { Host, h, } from "@stencil/core";
|
|
|
2
2
|
import { FormControlErrorText, FormControlHelpText } from "..";
|
|
3
3
|
import { input, inputDisabled, inputFocused, inputInvalid, label, inputAdornment } from "../../styles/parts";
|
|
4
4
|
import { formatCurrency } from "../../utils/utils";
|
|
5
|
-
export class
|
|
5
|
+
export class FormControlMonetary {
|
|
6
6
|
constructor() {
|
|
7
7
|
this.isFocused = false;
|
|
8
8
|
this.defaultValue = '0';
|
|
@@ -42,10 +42,10 @@ export class MonetaryInput {
|
|
|
42
42
|
return input;
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: 'c91bf2d63e4cd717dfc472f5b16dac9c3e9fdd69' }, h("div", { key: '8f1eaae0f9dfbcc97adf788a5b955824dc68dbd2', class: "form-group d-flex flex-column" }, h("label", { key: '1965936a9e14612fdb8aec07e0def943e1e1344a', part: label, class: "form-label", htmlFor: this.name }, this.label), h(FormControlHelpText, { key: 'dd517aee7a39c71c1fe98b6c53a4528c9d3826d5', name: this.name, helpText: this.helpText }), h("div", { key: 'bb62ed9e6c9db38f39581d7f86483a242330c295', class: "input-group" }, h("span", { key: '5a358beea95c1eed695b8ca5e5f9a7a82b0864b1', class: "input-group-text", part: inputAdornment }, "$"), h("input", { key: '5c37a1edb6a229634536c2c7ad4cb4c2cfff211b', ref: el => this.formControl = el, id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
46
46
|
this.isFocused = false;
|
|
47
47
|
this.formControlBlur.emit();
|
|
48
|
-
}, onInput: (event) => this.updateInput(event.target.value), onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.inputPart, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled })), h(FormControlErrorText, { key: '
|
|
48
|
+
}, onInput: (event) => this.updateInput(event.target.value), onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.inputPart, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled })), h(FormControlErrorText, { key: '5cb05fe585766d5f037c33d86485a6002894c781', errorText: this.errorText, name: this.name }))));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "form-control-monetary"; }
|
|
51
51
|
static get properties() {
|
|
@@ -2,7 +2,7 @@ import { Host, h, } from "@stencil/core";
|
|
|
2
2
|
import IMask from "imask";
|
|
3
3
|
import { FormControlErrorText } from "../../ui-components";
|
|
4
4
|
import { input, inputDisabled, inputFocused, inputInvalid, label } from "../../styles/parts";
|
|
5
|
-
export class
|
|
5
|
+
export class FormControlNumberMasked {
|
|
6
6
|
constructor() {
|
|
7
7
|
this.imask = null;
|
|
8
8
|
this.isFocused = false;
|
|
@@ -63,10 +63,10 @@ export class NumberInputMasked {
|
|
|
63
63
|
return input;
|
|
64
64
|
}
|
|
65
65
|
render() {
|
|
66
|
-
return (h(Host, { key: '
|
|
66
|
+
return (h(Host, { key: 'c70d3fcce4d3e1e120008b03a708bb3d1038777b' }, h("div", { key: 'fc3c3cf5637121a7c6f662649a1b3910ec503afa', class: "form-group d-flex flex-column" }, h("div", { key: 'c06e87a0d72942e421c37ab406b7f71d4e7f2c54', class: "d-flex align-items-start gap-2" }, h("label", { key: 'eedeec0161e3085cd65ea08b3fb4517ff62c6ffc', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '9fb05bd91836ca51750f30a714a7940493bfad8b', helpText: this.helpText })), h("input", { key: 'ef12caf83b42b0de0c33ece690bdd927b9b9a02c', ref: el => (this.textInput = el), id: this.name, name: this.name, onFocus: () => (this.isFocused = true), onBlur: () => {
|
|
67
67
|
this.isFocused = false;
|
|
68
68
|
this.formControlBlur.emit();
|
|
69
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "text", disabled: this.disabled }), h(FormControlErrorText, { key: '
|
|
69
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "text", disabled: this.disabled }), h(FormControlErrorText, { key: '8791f48bed5d6508b7cccad7bba8da7d65f96ffc', errorText: this.errorText, name: this.name }))));
|
|
70
70
|
}
|
|
71
71
|
static get is() { return "form-control-number-masked"; }
|
|
72
72
|
static get properties() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Host, h, } from "@stencil/core";
|
|
2
2
|
import { FormControlErrorText, FormControlHelpText } from "../../ui-components";
|
|
3
3
|
import { input, inputFocused, inputInvalid, inputInvalidAndFocused, label } from "../../styles/parts";
|
|
4
|
-
export class
|
|
4
|
+
export class FormControlNumber {
|
|
5
5
|
constructor() {
|
|
6
6
|
this.isFocused = false;
|
|
7
7
|
this.disabled = false;
|
|
@@ -37,10 +37,10 @@ export class NumberInput {
|
|
|
37
37
|
return input;
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
|
-
return (h(Host, { key: '
|
|
40
|
+
return (h(Host, { key: '07b767b8c9091079f121d1df2b552c7d406f47b1' }, h("div", { key: '1c6c234435bb5571d3bbf5123f6f47cf51b095d6', class: 'form-group d-flex flex-column' }, h("label", { key: '883c05703351e32c7e12dbf7d984f888825606e3', part: label, class: "form-label", htmlFor: this.name }, this.label), h("input", { key: '9b841736efd2971cf93c1167ec1fd1c1d5045ec9', id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
41
41
|
this.isFocused = false;
|
|
42
42
|
this.formControlBlur.emit();
|
|
43
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "number", disabled: this.disabled }), h(FormControlHelpText, { key: '
|
|
43
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "number", disabled: this.disabled }), h(FormControlHelpText, { key: '26133a236b3c8b2cc14dce1c1244f3b1a9163605', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: 'e69f03f593e1632fada2d1f6dd56aaf5612a2da7', errorText: this.errorText, name: this.name }))));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "form-control-number"; }
|
|
46
46
|
static get properties() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Host, h, } from "@stencil/core";
|
|
2
2
|
import { inputRadio, inputRadioChecked, inputRadioCheckedFocused, inputRadioFocused, inputRadioInvalid, label } from "../../styles/parts";
|
|
3
|
-
export class
|
|
3
|
+
export class FormControlRadio {
|
|
4
4
|
constructor() {
|
|
5
5
|
this.isFocused = false;
|
|
6
6
|
this.inputHandler = () => { };
|
|
@@ -29,10 +29,10 @@ export class RadioInput {
|
|
|
29
29
|
return inputRadio;
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
return (h(Host, { key: '
|
|
32
|
+
return (h(Host, { key: '155f8db94cbc78a33daeaace0ea6b9e403d6856d', class: 'form-group d-flex flex-column' }, h("div", { key: 'f2c34e5513e584a68c6117775124eeb40d8a4de3', class: "form-check" }, h("input", { key: '50114b7a8428cc78b963442cf92eda6d0146f824', ref: el => (this.radioElement = el), type: "radio", id: `${this.name}-${this.value}`, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
33
33
|
this.isFocused = false;
|
|
34
34
|
this.formControlBlur.emit();
|
|
35
|
-
}, onChange: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, value: this.value, checked: this.checked }), h("label", { key: '
|
|
35
|
+
}, onChange: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, value: this.value, checked: this.checked }), h("label", { key: '759a69de65a6fc043494d394a118c55b1e948e75', class: "form-check-label", htmlFor: `${this.name}-${this.value}`, part: label }, this.label)), h("form-control-help-text", { key: '18ca0f0b27657d1a159b9eb4839290969f349d7e', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: 'e4bffdf3cd4596a3b42fb6098be620005d68296e', errorText: this.errorText, name: this.name })));
|
|
36
36
|
}
|
|
37
37
|
static get is() { return "form-control-radio"; }
|
|
38
38
|
static get properties() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Host, h, } from "@stencil/core";
|
|
2
2
|
import { FormControlErrorText } from "../../ui-components";
|
|
3
3
|
import { input, inputDisabled, inputFocused, inputInvalid, label } from "../../styles/parts";
|
|
4
|
-
export class
|
|
4
|
+
export class FormControlSelect {
|
|
5
5
|
constructor() {
|
|
6
6
|
this.isFocused = false;
|
|
7
7
|
this.handleFormControlInput = (event) => {
|
|
@@ -35,10 +35,10 @@ export class SelectInput {
|
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
37
|
var _a;
|
|
38
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: '181f9882efa122d1158475b03c5d91b6a596a029' }, h("div", { key: 'ab62345c08da6d3d33fa110937c936758e065eb3', class: "form-group d-flex flex-column" }, h("div", { key: 'a4cd1468d4c57b63ee25f25cca6f42ea08b70ef4', class: "d-flex align-items-start gap-2" }, h("label", { key: 'ebb6e16b2e11a3623c3152eb8e1b51412fa4d1ae', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '5d5d414a90927659661b6a2e167056c938e9c5a7', helpText: this.helpText })), h("select", { key: '8105c889f7fdb9376848c6057ccd58b9c62841a4', ref: el => (this.selectElement = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
39
39
|
this.isFocused = false;
|
|
40
40
|
this.formControlBlur.emit();
|
|
41
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-select is-invalid' : 'form-select', disabled: this.disabled }, (_a = this.options) === null || _a === void 0 ? void 0 : _a.map(option => (h("option", { value: option.value }, option.label)))), h(FormControlErrorText, { key: '
|
|
41
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-select is-invalid' : 'form-select', disabled: this.disabled }, (_a = this.options) === null || _a === void 0 ? void 0 : _a.map(option => (h("option", { value: option.value }, option.label)))), h(FormControlErrorText, { key: '061a26387560f0b8085e83e1c373a43340146469', errorText: this.errorText, name: this.name }))));
|
|
42
42
|
}
|
|
43
43
|
static get is() { return "form-control-select"; }
|
|
44
44
|
static get properties() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Host, h, } from "@stencil/core";
|
|
2
2
|
import { FormControlErrorText } from "../../ui-components";
|
|
3
3
|
import { input, inputDisabled, inputFocused, inputInvalid, label } from "../../styles/parts";
|
|
4
|
-
export class
|
|
4
|
+
export class FormControlText {
|
|
5
5
|
constructor() {
|
|
6
6
|
this.isFocused = false;
|
|
7
7
|
this.handleFormControlInput = (event) => {
|
|
@@ -36,10 +36,10 @@ export class TextInput {
|
|
|
36
36
|
return input;
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: '4ab9e7a2c6312b568de8a8ee429ef02f3f792173' }, h("div", { key: 'e273e0bc062be883505fe3047d41a741eaf23a44', class: "form-group d-flex flex-column" }, h("div", { key: 'a7496dd4f6b5549f26752ca2de35a34c5261e439', class: "d-flex align-items-start gap-2" }, h("label", { key: '97480c49cb0fcd3c75d123c6033df4880755baf0', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'e2a53e4e15be4f9f739a79afeaf28c3671c14a4d', helpText: this.helpText })), h("input", { key: '1571553d763734454026b2c4feaa88a9535f2057', id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
40
40
|
this.isFocused = false;
|
|
41
41
|
this.formControlBlur.emit();
|
|
42
|
-
}, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled }), h(FormControlErrorText, { key: '
|
|
42
|
+
}, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled }), h(FormControlErrorText, { key: '44f7c7847a2255ff3ddd83f542ff6690d1aed798', errorText: this.errorText, name: this.name }))));
|
|
43
43
|
}
|
|
44
44
|
static get is() { return "form-control-text"; }
|
|
45
45
|
static get properties() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Host, h, } from "@stencil/core";
|
|
2
2
|
import { input, inputDisabled, inputFocused, inputInvalid, inputInvalidAndFocused, label } from "../../styles/parts";
|
|
3
|
-
export class
|
|
3
|
+
export class FormControlTextarea {
|
|
4
4
|
constructor() {
|
|
5
5
|
this.isFocused = false;
|
|
6
6
|
this.helpText = '';
|
|
@@ -42,10 +42,10 @@ export class TextInput {
|
|
|
42
42
|
return input;
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: '1e73c7219f321b73bc6001cde222b33ba79a7338' }, h("div", { key: 'dc682efd7a21e80ed1936cf69a186d3fab258de8', class: "form-group d-flex flex-column" }, h("label", { key: '526bcc6604b03b79737e4211c6d7a282cbd71979', part: label, class: "form-label", htmlFor: this.name }, this.label), h("textarea", { key: '4dab395c565c7180631042f99ac3b91382df4ca1', id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
46
46
|
this.isFocused = false;
|
|
47
47
|
this.formControlBlur.emit();
|
|
48
|
-
}, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled }), h("form-control-help-text", { key: '
|
|
48
|
+
}, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled }), h("form-control-help-text", { key: 'dc851b2b46a3be03c65121a7e1f957f6c6d20c1b', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: '3f09a6b275b4218aff7588f90a3cdb0de02ae8bb', errorText: this.errorText, name: this.name }))));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "form-control-textarea"; }
|
|
51
51
|
static get properties() {
|
|
@@ -87,7 +87,7 @@ export class HiddenInput {
|
|
|
87
87
|
return input;
|
|
88
88
|
}
|
|
89
89
|
render() {
|
|
90
|
-
return (h(Host, { key: '
|
|
90
|
+
return (h(Host, { key: 'd3aa78cd75de1a781c8100c121933122c6db599b' }, h("input", { key: '7ac01ecc01ca776cd6928a3a1d1e0b2baa4b8965', ref: el => this.hiddenInput = el, type: "text", class: this.errorText ? "form-control is-invalid" : "form-control", onFocus: () => this.isFocused = true, onBlur: () => this.isFocused = false, part: this.part, tabindex: "-1", style: { height: '0', opacity: '0', pointerEvents: 'none', animation: 'none' } })));
|
|
91
91
|
}
|
|
92
92
|
static get is() { return "hidden-input"; }
|
|
93
93
|
static get states() {
|
|
@@ -77,10 +77,10 @@ export class IframeInput {
|
|
|
77
77
|
return params;
|
|
78
78
|
}
|
|
79
79
|
render() {
|
|
80
|
-
return (h(Host, { key: '
|
|
80
|
+
return (h(Host, { key: 'a3039409160cb6fd7dd2e7bf189e241f34ddeca6', class: "form-group d-flex flex-column" }, h("div", { key: 'dab356c30fedca21f6092cfbaf576e23df36b318', style: {
|
|
81
81
|
visibility: this.iframeLoaded ? 'visible' : 'hidden',
|
|
82
82
|
height: this.iframeLoaded ? 'auto' : '0',
|
|
83
|
-
} }, h("label", { key: '
|
|
83
|
+
} }, h("label", { key: '0469fb973476f92cd5b275b62e4a462521448273', class: "form-label", htmlFor: "", part: label }, this.label || ''), h("div", { key: 'd91253d593d700279c0d869b34d3d4f5d572759a', class: `p-0 d-flex form-control ${this.isValid ? '' : 'is-invalid'}`, part: this.part, style: Object.assign(Object.assign({}, this.style), { overflow: 'hidden' }) }, h("iframe", { key: '2a3676ad3d25daedccaa0cb2297f505641b47497', id: this.inputId, name: this.inputId, src: `${this.iframeOrigin}?${this.urlParams}`, ref: el => {
|
|
84
84
|
this.iframeElement = el;
|
|
85
85
|
this.initializeFrameCommunicationService();
|
|
86
86
|
}, width: "100%", onLoad: () => {
|
|
@@ -90,7 +90,7 @@ export class IframeInput {
|
|
|
90
90
|
this.iframeLoaded.emit();
|
|
91
91
|
}
|
|
92
92
|
}, this.iframeElement);
|
|
93
|
-
} })), h(FormControlErrorText, { key: '
|
|
93
|
+
} })), h(FormControlErrorText, { key: 'e54b9c1a7ef5da3bed2eb62e25a28c91865f1f40', errorText: this.errorText, name: this.inputId }))));
|
|
94
94
|
}
|
|
95
95
|
static get is() { return "iframe-input"; }
|
|
96
96
|
static get properties() {
|
|
@@ -7,6 +7,6 @@ export * from './headers/header-2';
|
|
|
7
7
|
export * from './headers/header-3';
|
|
8
8
|
export * from './form/form-helpers/form-control-help-text';
|
|
9
9
|
export * from './form/form-helpers/form-control-error-text';
|
|
10
|
-
export * from './details/details';
|
|
10
|
+
export * from './details/justifi-details';
|
|
11
11
|
export * from './table';
|
|
12
12
|
export * from './shadow-dom-components/justifi-radio-list-item';
|