@justifi/webcomponents 5.0.0 → 5.2.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/{Api-f5280a80.js → Api-b0e4be29.js} +12 -0
- package/dist/cjs/{Checkout-a528241d.js → Checkout-2ff4f9c8.js} +6 -0
- package/dist/cjs/{Payment-d074b246.js → Payment-84817e2d.js} +10 -1
- package/dist/cjs/{SubAccount-fda5ec5b.js → SubAccount-f236913b.js} +6 -1
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -3
- package/dist/cjs/badge-fbf58cb9.js +44 -0
- package/dist/cjs/bank-account-form_9.cjs.entry.js +60 -65
- package/dist/cjs/{iframe-input.cjs.entry.js → billing-form_3.cjs.entry.js} +99 -6
- package/dist/cjs/business-details-core.cjs.entry.js +3 -3
- package/dist/cjs/business.service-ffb6f478.js +38 -0
- package/dist/cjs/{button-94bdc1f0.js → button-e7796b07.js} +1 -1
- package/dist/cjs/{check-pkg-version-05db7d8e.js → check-pkg-version-dee8dbb7.js} +3 -4
- package/dist/cjs/{checkout.service-671fab62.js → checkout.service-e9c05c15.js} +7 -8
- package/dist/cjs/checkouts-list-core.cjs.entry.js +10 -9
- package/dist/cjs/checkouts-table-0f19c1e6.js +57 -0
- package/dist/cjs/custom-popper.cjs.entry.js +2 -2
- package/dist/cjs/{dispute.service-c362a953.js → dispute.service-9272a2a6.js} +8 -9
- package/dist/cjs/{event-types-4df47396.js → event-types-aa1a9be1.js} +3 -3
- package/dist/cjs/form-alert_5.cjs.entry.js +5 -5
- package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/form-control-date.cjs.entry.js +4 -4
- package/dist/cjs/{form-control-error-text-a2fd5fc1.js → form-control-error-text-c1f49f35.js} +1 -1
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +4 -4
- package/dist/cjs/form-control-file.cjs.entry.js +4 -4
- package/dist/cjs/{form-control-help-text-b6f7ae6e.js → form-control-help-text-e6cc71a7.js} +1 -1
- package/dist/cjs/form-control-monetary.cjs.entry.js +5 -5
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +5 -5
- package/dist/cjs/form-control-number.cjs.entry.js +5 -5
- package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
- package/dist/cjs/form-control-select_3.cjs.entry.js +6 -6
- package/dist/cjs/{get-payout-csv-d2aed52c.js → get-payout-csv-778db023.js} +7 -8
- package/dist/cjs/{get-subaccounts-9aa22224.js → get-subaccounts-b087fa39.js} +5 -6
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +5 -5
- package/dist/cjs/{header-1-cb7af794.js → header-1-96b97cab.js} +1 -1
- package/dist/cjs/{header-3-75e50713.js → header-3-ce77b96b.js} +1 -1
- package/dist/cjs/{insurance-state-001cfe12.js → insurance-state-8959c7c7.js} +1 -1
- package/dist/cjs/{justifi-additional-questions-form-step-core_8.cjs.entry.js → justifi-additional-questions-form-step-core_9.cjs.entry.js} +225 -16
- package/dist/cjs/justifi-additional-questions-form-step_10.cjs.entry.js +54 -161
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +9 -9
- package/dist/cjs/justifi-business-details.cjs.entry.js +6 -7
- package/dist/cjs/justifi-business-form.cjs.entry.js +40 -15
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +10 -11
- package/dist/cjs/justifi-checkout.cjs.entry.js +11 -11
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +14 -14
- package/dist/cjs/justifi-details.cjs.entry.js +3 -3
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +10 -10
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +15 -16
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +6 -7
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +8 -9
- package/dist/cjs/justifi-payment-details.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +7 -8
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payments-list.cjs.entry.js +14 -14
- package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +15 -15
- package/dist/cjs/justifi-refund-form.cjs.entry.js +7 -7
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +21 -4
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +13 -11
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +15 -14
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +28 -15
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-48c58886.js → package-8b9059cc.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
- package/dist/cjs/{parts-811ddb9c.js → parts-addf2176.js} +20 -2
- package/dist/cjs/payment-details-core.cjs.entry.js +27 -13
- package/dist/cjs/{payment-provisioning-actions-06466dda.js → payment-provisioning-actions-fbd30d1b.js} +31 -0
- package/dist/cjs/{payment.service-9a5336f1.js → payment.service-042c7c99.js} +6 -7
- package/dist/cjs/payments-list-core.cjs.entry.js +11 -10
- package/dist/cjs/payments-status-411c325c.js +58 -0
- package/dist/cjs/{payments-table-cf5d1c33.js → payments-table-16f3f95e.js} +12 -12
- package/dist/cjs/payout-details-core.cjs.entry.js +22 -7
- package/dist/cjs/payouts-list-core.cjs.entry.js +11 -10
- package/dist/cjs/payouts-status-0951e39d.js +53 -0
- package/dist/cjs/{payouts-table-58881d95.js → payouts-table-bc15179c.js} +14 -16
- package/dist/cjs/{skeleton-5ca03840.js → skeleton-c4903a53.js} +1 -1
- package/dist/cjs/{spinner-c11fcb44.js → spinner-aac395e3.js} +1 -1
- package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
- package/dist/cjs/terminals-list-core.cjs.entry.js +10 -8
- package/dist/cjs/terminals-table-3c19847b.js +45 -0
- package/dist/cjs/{utils-a21b7453.js → utils-5fb95d31.js} +6 -8
- package/dist/cjs/{utils-fc17191b.js → utils-a05a8bf6.js} +2 -2
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/BankAccount.js +12 -0
- package/dist/collection/api/Checkout.js +5 -0
- package/dist/collection/api/Payment.js +10 -1
- package/dist/collection/api/Payout.js +5 -1
- package/dist/collection/api/services/business.service.js +6 -0
- package/dist/collection/collection-manifest.json +4 -1
- package/dist/collection/components/{billing-form → billing-forms/billing-form}/billing-form.js +10 -10
- package/dist/collection/components/{billing-form → billing-forms}/billing-form-schema.js +13 -2
- package/dist/collection/components/billing-forms/billing-form-wrapper.js +183 -0
- package/dist/collection/components/billing-forms/postal-form/postal-form.js +136 -0
- package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +1 -1
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +1 -1
- package/dist/collection/components/business-forms/business-form/business-form-loading.js +6 -0
- package/dist/collection/components/business-forms/business-form/business-form.js +10 -4
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +1 -1
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +1 -1
- package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +13 -3
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +270 -0
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +37 -146
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +13 -3
- 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-core.js +11 -3
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +13 -3
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-input-group.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +13 -3
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-actions.js +30 -0
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-loading.js +6 -0
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.js +1 -1
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +1 -1
- package/dist/collection/components/checkout/card-form/card-form.js +1 -1
- package/dist/collection/components/checkout/checkout-core.js +30 -27
- package/dist/collection/components/checkout/checkout.js +29 -24
- package/dist/collection/components/checkout/new-payment-method.js +39 -33
- package/dist/collection/components/checkout/payment-method-options.js +29 -44
- package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
- package/dist/collection/components/checkout/saved-payment-method.js +1 -21
- package/dist/collection/components/checkout/sezzle-payment-method.js +1 -21
- package/dist/collection/components/checkout/test/checkout.js +0 -1
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-status.js +26 -11
- package/dist/collection/components/checkouts-list/checkouts-table.js +7 -7
- package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management.js +1 -1
- package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +4 -1
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-loading.js +4 -0
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +4 -2
- package/dist/collection/components/payment-details/payment-details-core.js +10 -12
- package/dist/collection/components/payment-details/payment-details-loading.js +4 -0
- package/dist/collection/components/payments-list/payments-list-core.js +1 -1
- package/dist/collection/components/payments-list/payments-list-filters.js +1 -1
- package/dist/collection/components/payments-list/payments-list.js +1 -1
- package/dist/collection/components/payments-list/payments-status.js +51 -21
- package/dist/collection/components/payments-list/payments-table.js +8 -8
- package/dist/collection/components/payout-details/payout-details-core.js +3 -4
- package/dist/collection/components/payout-details/payout-details-loading.js +4 -0
- package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-filters.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list.js +1 -1
- package/dist/collection/components/payouts-list/payouts-status.js +46 -19
- package/dist/collection/components/payouts-list/payouts-table.js +10 -10
- package/dist/collection/components/refund-form/refund-form.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list.js +1 -1
- package/dist/collection/components/terminals-list/terminals-status.js +21 -9
- package/dist/collection/components/terminals-list/terminals-table.js +4 -4
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +60 -25
- package/dist/collection/styles/parts.js +11 -2
- package/dist/collection/ui-components/badge/badge.js +39 -0
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/details/details.js +1 -1
- package/dist/collection/ui-components/details/utils.js +1 -1
- package/dist/collection/ui-components/filters/table-filters-menu.js +1 -1
- package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
- package/dist/collection/ui-components/form/form-control-date.js +2 -2
- package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
- package/dist/collection/ui-components/form/form-control-file.js +2 -2
- package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
- package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
- package/dist/collection/ui-components/form/form-control-number.js +2 -2
- package/dist/collection/ui-components/form/form-control-radio.js +2 -2
- package/dist/collection/ui-components/form/form-control-select.js +2 -2
- package/dist/collection/ui-components/form/form-control-text.js +2 -2
- package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
- package/dist/collection/ui-components/form/hidden-input.js +1 -1
- package/dist/collection/ui-components/form/iframe-input.js +3 -3
- package/dist/collection/utils/table.js +1 -1
- package/dist/collection/utils/utils.js +6 -8
- package/dist/config.js +0 -1
- package/dist/docs.json +780 -198
- package/dist/esm/{Api-391d00e2.js → Api-0cac5b8a.js} +12 -1
- package/dist/esm/{Checkout-0b4086f8.js → Checkout-d476bb83.js} +6 -0
- package/dist/esm/{Payment-4f72d277.js → Payment-47630113.js} +10 -1
- package/dist/esm/{SubAccount-99a00594.js → SubAccount-f31349a9.js} +6 -1
- package/dist/esm/additional-questions-details_5.entry.js +3 -3
- package/dist/esm/badge-b034e71b.js +42 -0
- package/dist/esm/bank-account-form_9.entry.js +59 -64
- package/dist/esm/{iframe-input.entry.js → billing-form_3.entry.js} +98 -7
- package/dist/esm/{business-additional-questions-schema-48e93928.js → business-additional-questions-schema-aba9747e.js} +1 -1
- package/dist/esm/business-details-core.entry.js +3 -3
- package/dist/esm/{business-identity-schema-75126188.js → business-identity-schema-8b0f1619.js} +1 -1
- package/dist/esm/{business.service-182aea6f.js → business.service-ab2663a3.js} +8 -3
- package/dist/esm/{button-1886a33d.js → button-8a02823c.js} +1 -1
- package/dist/esm/{check-pkg-version-95b9be89.js → check-pkg-version-51d2616b.js} +2 -3
- package/dist/esm/{checkout.service-32a6ebe8.js → checkout.service-c275270e.js} +4 -5
- package/dist/esm/checkouts-list-core.entry.js +10 -9
- package/dist/esm/checkouts-table-115bacc4.js +53 -0
- package/dist/esm/custom-popper.entry.js +2 -2
- package/dist/esm/{dispute.service-4e5059aa.js → dispute.service-882e35ed.js} +4 -5
- package/dist/esm/{event-types-01dcdcbd.js → event-types-948c3b14.js} +3 -3
- package/dist/esm/form-alert_5.entry.js +5 -5
- package/dist/esm/form-control-checkbox.entry.js +5 -5
- package/dist/esm/form-control-date.entry.js +4 -4
- package/dist/esm/{form-control-error-text-3b2553b5.js → form-control-error-text-066cdad4.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +4 -4
- package/dist/esm/form-control-file.entry.js +4 -4
- package/dist/esm/{form-control-help-text-a2fc3617.js → form-control-help-text-3b6f5980.js} +1 -1
- package/dist/esm/form-control-monetary.entry.js +5 -5
- package/dist/esm/form-control-number-masked_2.entry.js +5 -5
- package/dist/esm/form-control-number.entry.js +5 -5
- package/dist/esm/form-control-radio.entry.js +3 -3
- package/dist/esm/form-control-select_3.entry.js +6 -6
- package/dist/esm/{get-payout-csv-e6058aa7.js → get-payout-csv-50aea928.js} +4 -5
- package/dist/esm/{get-subaccounts-0b8af245.js → get-subaccounts-ab3dd32c.js} +4 -5
- package/dist/esm/gross-payment-chart-core.entry.js +5 -5
- package/dist/esm/{header-1-c6a00a22.js → header-1-75c284dd.js} +1 -1
- package/dist/esm/{header-3-a1c6d475.js → header-3-4a327395.js} +1 -1
- package/dist/esm/{insurance-state-8fc9376f.js → insurance-state-b495be64.js} +1 -1
- package/dist/esm/{justifi-additional-questions-form-step-core_8.entry.js → justifi-additional-questions-form-step-core_9.entry.js} +230 -22
- package/dist/esm/justifi-additional-questions-form-step_10.entry.js +53 -160
- package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
- package/dist/esm/justifi-business-details.entry.js +6 -7
- package/dist/esm/justifi-business-form.entry.js +43 -18
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
- package/dist/esm/justifi-checkout-core.entry.js +10 -11
- package/dist/esm/justifi-checkout.entry.js +11 -11
- package/dist/esm/justifi-checkouts-list-filters.entry.js +1 -1
- package/dist/esm/justifi-checkouts-list.entry.js +13 -13
- package/dist/esm/justifi-details.entry.js +3 -3
- package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
- package/dist/esm/justifi-dispute-management.entry.js +9 -9
- package/dist/esm/justifi-dispute-notification_3.entry.js +14 -15
- package/dist/esm/justifi-gross-payment-chart.entry.js +5 -6
- package/dist/esm/justifi-owner-form_3.entry.js +10 -11
- package/dist/esm/justifi-payment-details.entry.js +10 -10
- package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -3
- package/dist/esm/justifi-payment-provisioning.entry.js +6 -7
- package/dist/esm/justifi-payments-list-filters.entry.js +2 -2
- package/dist/esm/justifi-payments-list.entry.js +13 -13
- package/dist/esm/justifi-payout-details.entry.js +10 -10
- package/dist/esm/justifi-payouts-list-filters.entry.js +2 -2
- package/dist/esm/justifi-payouts-list.entry.js +14 -14
- package/dist/esm/justifi-refund-form.entry.js +6 -6
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +22 -5
- package/dist/esm/justifi-season-interruption-insurance.entry.js +11 -9
- package/dist/esm/justifi-terminals-list-filters.entry.js +1 -1
- package/dist/esm/justifi-terminals-list.entry.js +12 -11
- package/dist/esm/justifi-tokenize-payment-method.entry.js +29 -16
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-223933b4.js → package-5eedfd72.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/{parts-186d437f.js → parts-93f379ab.js} +12 -3
- package/dist/esm/payment-details-core.entry.js +28 -14
- package/dist/esm/{payment-provisioning-actions-0635eff7.js → payment-provisioning-actions-a262ee82.js} +31 -1
- package/dist/esm/{payment.service-45f90e06.js → payment.service-92b90855.js} +4 -5
- package/dist/esm/payments-list-core.entry.js +11 -10
- package/dist/esm/payments-status-82466054.js +56 -0
- package/dist/esm/{payments-table-d6fbab5b.js → payments-table-c0bb25b6.js} +12 -12
- package/dist/esm/payout-details-core.entry.js +23 -8
- package/dist/esm/payouts-list-core.entry.js +11 -10
- package/dist/esm/payouts-status-b98c8297.js +51 -0
- package/dist/esm/{payouts-table-2e61a116.js → payouts-table-4382a264.js} +14 -16
- package/dist/esm/{schema-validations-c7d4f9df.js → schema-validations-5b0ac96b.js} +1 -1
- package/dist/esm/{skeleton-8f71cdf7.js → skeleton-3bcb2b5d.js} +1 -1
- package/dist/esm/{spinner-879489b3.js → spinner-b83f3a87.js} +1 -1
- package/dist/esm/table-filters-menu.entry.js +3 -3
- package/dist/esm/terminals-list-core.entry.js +10 -8
- package/dist/esm/terminals-table-8f1c2146.js +41 -0
- package/dist/esm/{utils-d7633e66.js → utils-7fb6331d.js} +2 -2
- package/dist/esm/{utils-54543523.js → utils-b76d791e.js} +7 -9
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Checkout.js +6 -0
- package/dist/module/Payment.js +11 -1
- package/dist/module/SubAccount.js +6 -1
- package/dist/module/additional-questions.js +2 -2
- package/dist/module/additional-statement.js +2 -2
- package/dist/module/badge.js +42 -0
- package/dist/module/bank-account-form2.js +1 -1
- package/dist/module/billing-form-schema.js +16 -0
- package/dist/module/billing-form-wrapper.js +114 -0
- package/dist/module/{justifi-billing-form.d.ts → billing-form.d.ts} +4 -4
- package/dist/module/billing-form.js +4 -97
- package/dist/module/billing-form2.js +90 -0
- package/dist/module/business-additional-questions-form-step-core.js +13 -3
- package/dist/module/business-additional-questions-form-step.js +1 -1
- package/dist/module/business-additional-questions-schema.js +1 -1
- package/dist/module/business-address-schema.js +1 -1
- package/dist/module/business-bank-account-form-step-core.js +206 -0
- package/dist/module/business-bank-account-form-step.js +49 -157
- package/dist/module/business-core-info-form-step-core.js +14 -4
- package/dist/module/business-core-info-form-step.js +1 -1
- package/dist/module/business-core-info.js +2 -2
- package/dist/module/business-document-upload-form-step.js +2 -3
- package/dist/module/business-document-upload-input-group.js +1 -1
- package/dist/module/business-documents-on-file.js +1 -1
- package/dist/module/business-form-options.js +1 -1
- package/dist/module/business-owners-form-step-core.js +10 -2
- package/dist/module/business-owners-form-step.js +1 -1
- package/dist/module/business-representative-form-inputs.js +1 -1
- package/dist/module/business-representative-form-step-core.js +12 -2
- package/dist/module/business-representative-form-step.js +1 -1
- package/dist/module/business-representative.js +1 -1
- package/dist/module/business-terms-conditions-form-step.js +2 -3
- package/dist/module/business-terms-conditions-text.js +2 -2
- package/dist/module/business.service.js +8 -3
- package/dist/module/button.js +1 -1
- package/dist/module/cancellation-policy.js +2 -2
- package/dist/module/card-form2.js +1 -1
- package/dist/module/check-pkg-version.js +1 -2
- package/dist/module/checkout-core.js +51 -40
- package/dist/module/checkout.service.js +1 -2
- package/dist/module/checkouts-list-core2.js +36 -27
- package/dist/module/config.js +116 -2
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +2 -2
- package/dist/module/details.js +1 -1
- package/dist/module/dispute-management-core.js +1 -1
- package/dist/module/dispute-notification.js +2 -2
- package/dist/module/dispute-response-actions.js +2 -3
- package/dist/module/dispute-response-core.js +2 -2
- package/dist/module/dispute-response.js +1 -1
- package/dist/module/duplicate-charge.js +2 -2
- package/dist/module/electronic-evidence.js +2 -2
- package/dist/module/event-types.js +2 -2
- package/dist/module/form-alert2.js +1 -1
- package/dist/module/form-control-checkbox2.js +3 -3
- package/dist/module/form-control-date2.js +3 -3
- package/dist/module/form-control-file-v22.js +1 -1
- package/dist/module/form-control-file2.js +3 -3
- package/dist/module/form-control-monetary2.js +3 -3
- package/dist/module/form-control-number-masked2.js +3 -3
- package/dist/module/form-control-number.js +2 -2
- package/dist/module/form-control-radio2.js +3 -3
- package/dist/module/form-control-select2.js +3 -3
- package/dist/module/form-control-text2.js +3 -3
- package/dist/module/form-control-textarea2.js +3 -3
- package/dist/module/form-control-tooltip2.js +1 -1
- package/dist/module/get-payout-csv.js +2 -3
- package/dist/module/get-subaccounts.js +2 -3
- package/dist/module/gross-payment-chart-core2.js +1 -1
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/identity-address-form.js +2 -2
- package/dist/module/iframe-input2.js +3 -3
- package/dist/module/justifi-billing-form-wrapper.d.ts +11 -0
- package/dist/module/justifi-billing-form-wrapper.js +6 -0
- package/dist/module/justifi-business-bank-account-form-step-core.d.ts +11 -0
- package/dist/module/justifi-business-bank-account-form-step-core.js +6 -0
- package/dist/module/justifi-business-details.js +1 -1
- package/dist/module/justifi-business-form.js +32 -7
- package/dist/module/justifi-checkout.js +53 -41
- package/dist/module/justifi-checkouts-list-filters.js +1 -1
- package/dist/module/justifi-checkouts-list.js +2 -2
- package/dist/module/justifi-dispute-management.js +2 -2
- package/dist/module/justifi-gross-payment-chart.js +2 -3
- package/dist/module/justifi-payment-details.js +1 -1
- package/dist/module/justifi-payment-provisioning.js +33 -28
- package/dist/module/justifi-payments-list-filters.js +1 -1
- package/dist/module/justifi-payments-list.js +2 -2
- package/dist/module/justifi-payout-details.js +1 -1
- package/dist/module/justifi-payouts-list-filters.js +1 -1
- package/dist/module/justifi-payouts-list.js +2 -2
- package/dist/module/justifi-refund-form.js +2 -3
- package/dist/module/justifi-season-interruption-insurance.js +6 -5
- package/dist/module/justifi-terminals-list-filters.js +1 -1
- package/dist/module/justifi-terminals-list.js +3 -4
- package/dist/module/justifi-tokenize-payment-method.js +73 -45
- package/dist/module/legal-address-form-step-core.js +13 -3
- package/dist/module/legal-address-form-step.js +1 -1
- package/dist/module/legal-address-form.js +2 -2
- package/dist/module/new-payment-method.js +54 -44
- package/dist/module/owner-form-core2.js +2 -2
- package/dist/module/owner-form-inputs2.js +1 -1
- package/dist/module/owner-form.js +2 -2
- package/dist/module/package.js +1 -1
- package/dist/module/pagination-menu2.js +1 -1
- package/dist/module/parts.js +12 -3
- package/dist/module/payment-details-core2.js +25 -13
- package/dist/module/payment-method-options.js +49 -39
- package/dist/module/payment-provisioning-actions.js +32 -2
- package/dist/module/payment-provisioning-core.js +31 -25
- package/dist/module/payment-provisioning-form-buttons.js +1 -1
- package/dist/module/payment-provisioning-form-steps.js +32 -26
- package/dist/module/payment-provisioning-loading.js +25 -0
- package/dist/module/payment.service.js +1 -2
- package/dist/module/payments-list-core2.js +12 -12
- package/dist/module/payments-status.js +52 -20
- package/dist/module/payout-details-core2.js +18 -5
- package/dist/module/payouts-list-core2.js +14 -16
- package/dist/module/payouts-status.js +47 -18
- package/dist/module/postal-form.d.ts +11 -0
- package/dist/module/postal-form.js +6 -0
- package/dist/module/postal-form2.js +83 -0
- package/dist/module/product-or-service.js +2 -2
- package/dist/module/refund-policy.js +2 -2
- package/dist/module/save-new-payment-method.js +1 -1
- package/dist/module/saved-payment-method.js +2 -5
- package/dist/module/schema-validations.js +2 -2
- package/dist/module/season-interruption-insurance-core.js +19 -2
- package/dist/module/sezzle-payment-method.js +2 -5
- package/dist/module/shipping-details.js +2 -2
- package/dist/module/spinner.js +1 -1
- package/dist/module/table-filters-menu2.js +2 -2
- package/dist/module/terminals-list-core2.js +26 -14
- package/dist/module/utils.js +1 -1
- package/dist/module/utils2.js +6 -8
- package/dist/module/utils3.js +23 -24
- package/dist/module/utils4.js +24 -23
- package/dist/types/api/BankAccount.d.ts +11 -0
- package/dist/types/api/Checkout.d.ts +4 -2
- package/dist/types/api/Payment.d.ts +9 -4
- package/dist/types/api/Payout.d.ts +4 -2
- package/dist/types/api/services/business.service.d.ts +7 -0
- package/dist/types/components/{billing-form → billing-forms/billing-form}/billing-form.d.ts +2 -2
- package/dist/types/components/{billing-form → billing-forms}/billing-form-schema.d.ts +11 -2
- package/dist/types/components/billing-forms/billing-form-wrapper.d.ts +19 -0
- package/dist/types/components/billing-forms/postal-form/postal-form.d.ts +20 -0
- package/dist/types/components/business-forms/business-form/business-form-loading.d.ts +1 -0
- package/dist/types/components/business-forms/business-form/business-form.d.ts +1 -0
- package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.d.ts +1 -0
- package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.d.ts +35 -0
- package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +6 -24
- package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +1 -0
- package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.d.ts +1 -0
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +1 -0
- package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +1 -0
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-actions.d.ts +9 -0
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-loading.d.ts +1 -0
- package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +2 -2
- package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +1 -1
- package/dist/types/components/checkout/checkout-core.d.ts +3 -6
- package/dist/types/components/checkout/checkout.d.ts +3 -3
- package/dist/types/components/checkout/new-payment-method.d.ts +4 -4
- package/dist/types/components/checkout/payment-method-options.d.ts +3 -5
- package/dist/types/components/checkout/payment-method-payload.d.ts +2 -0
- package/dist/types/components/checkout/saved-payment-method.d.ts +0 -1
- package/dist/types/components/checkout/sezzle-payment-method.d.ts +0 -1
- package/dist/types/components/checkouts-list/checkouts-list-core.d.ts +1 -1
- package/dist/types/components/checkouts-list/checkouts-status.d.ts +1 -1
- package/dist/types/components/checkouts-list/checkouts-table.d.ts +7 -6
- package/dist/types/components/insurance/season-interruption/season-interruption-insurance-loading.d.ts +2 -0
- package/dist/types/components/payment-details/payment-details-loading.d.ts +2 -0
- package/dist/types/components/payments-list/payments-list-core.d.ts +1 -1
- package/dist/types/components/payments-list/payments-status.d.ts +1 -1
- package/dist/types/components/payments-list/payments-table.d.ts +8 -7
- package/dist/types/components/payout-details/payout-details-loading.d.ts +2 -0
- package/dist/types/components/payouts-list/payouts-list-core.d.ts +1 -1
- package/dist/types/components/payouts-list/payouts-status.d.ts +1 -1
- package/dist/types/components/payouts-list/payouts-table.d.ts +10 -9
- package/dist/types/components/terminals-list/terminals-list-core.d.ts +1 -1
- package/dist/types/components/terminals-list/terminals-status.d.ts +1 -1
- package/dist/types/components/terminals-list/terminals-table.d.ts +5 -4
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +3 -1
- package/dist/types/components.d.ts +123 -77
- package/dist/types/home/runner/work/web-component-library/web-component-library/packages/webcomponents/.stencil/packages/webcomponents/config.d.ts +0 -1
- package/dist/types/styles/parts.d.ts +10 -1
- package/dist/types/ui-components/badge/badge.d.ts +18 -0
- package/dist/types/utils/table.d.ts +3 -3
- package/dist/types/utils/utils.d.ts +2 -1
- package/dist/webcomponents/p-04ce1f82.js +1 -0
- package/dist/webcomponents/p-0544f4a4.entry.js +1 -0
- package/dist/webcomponents/p-060ff1a1.js +1 -0
- package/dist/webcomponents/p-0658b707.entry.js +1 -0
- package/dist/webcomponents/{p-1dbae48b.entry.js → p-09fd4ee2.entry.js} +1 -1
- package/dist/webcomponents/p-0d7e7957.js +1 -0
- package/dist/webcomponents/p-10cface4.entry.js +1 -0
- package/dist/webcomponents/p-10f9ff7b.entry.js +1 -0
- package/dist/webcomponents/p-12233a57.entry.js +1 -0
- package/dist/webcomponents/p-135e24c0.js +1 -0
- package/dist/webcomponents/p-1a27f22e.js +1 -0
- package/dist/webcomponents/p-1e2526c8.entry.js +1 -0
- package/dist/webcomponents/p-24a9c773.js +1 -0
- package/dist/webcomponents/p-270033ba.entry.js +1 -0
- package/dist/webcomponents/{p-47e7f876.entry.js → p-2a17a29c.entry.js} +1 -1
- package/dist/webcomponents/{p-b056034f.entry.js → p-2b081961.entry.js} +1 -1
- package/dist/webcomponents/p-2bd8650b.js +1 -0
- package/dist/webcomponents/p-2c7441ea.entry.js +1 -0
- package/dist/webcomponents/p-2ce40098.js +1 -0
- package/dist/webcomponents/p-2d27d054.entry.js +1 -0
- package/dist/webcomponents/p-2d801915.js +1 -0
- package/dist/webcomponents/p-332bd5ab.entry.js +1 -0
- package/dist/webcomponents/p-351c7fa3.entry.js +1 -0
- package/dist/webcomponents/p-39177d5a.js +1 -0
- package/dist/webcomponents/p-3f209fcc.entry.js +1 -0
- package/dist/webcomponents/p-411382f3.js +1 -0
- package/dist/webcomponents/p-427881b1.entry.js +1 -0
- package/dist/webcomponents/p-44604a45.js +1 -0
- package/dist/webcomponents/p-46769ec3.entry.js +1 -0
- package/dist/webcomponents/p-47cd431c.js +1 -0
- package/dist/webcomponents/p-4acfed0d.entry.js +1 -0
- package/dist/webcomponents/{p-0aa63869.entry.js → p-4bcfdb99.entry.js} +1 -1
- package/dist/webcomponents/p-4c4f9e3b.js +1 -0
- package/dist/webcomponents/p-4e122ace.js +1 -0
- package/dist/webcomponents/{p-d75b52c8.entry.js → p-541b7c36.entry.js} +1 -1
- package/dist/webcomponents/p-5d0763a5.js +1 -0
- package/dist/webcomponents/p-5d177a30.js +1 -0
- package/dist/webcomponents/p-64a1ae2c.entry.js +1 -0
- package/dist/webcomponents/p-67aef066.entry.js +1 -0
- package/dist/webcomponents/p-6ad11a9f.entry.js +1 -0
- package/dist/webcomponents/p-6bc01617.js +1 -0
- package/dist/webcomponents/{p-323ba4df.entry.js → p-6e8be579.entry.js} +1 -1
- package/dist/webcomponents/p-72a90154.entry.js +1 -0
- package/dist/webcomponents/{p-8c7a81c1.js → p-730e8425.js} +1 -1
- package/dist/webcomponents/p-73323a41.entry.js +1 -0
- package/dist/webcomponents/p-73619f0a.js +1 -0
- package/dist/webcomponents/{p-f4722957.js → p-74736657.js} +1 -1
- package/dist/webcomponents/p-74d6e182.entry.js +1 -0
- package/dist/webcomponents/p-7aff48a1.entry.js +1 -0
- package/dist/webcomponents/{p-08b8d1f0.entry.js → p-7b1fcab5.entry.js} +1 -1
- package/dist/webcomponents/p-7bddbee4.js +1 -0
- package/dist/webcomponents/{p-c9670f3c.entry.js → p-7db2a4d5.entry.js} +1 -1
- package/dist/webcomponents/p-83aa33f0.js +1 -0
- package/dist/webcomponents/p-87ce7b69.js +1 -0
- package/dist/webcomponents/p-8d61499c.entry.js +1 -0
- package/dist/webcomponents/p-9069fab5.js +1 -0
- package/dist/webcomponents/p-92d78790.js +1 -0
- package/dist/webcomponents/p-948b7710.entry.js +1 -0
- package/dist/webcomponents/p-96bc127e.entry.js +1 -0
- package/dist/webcomponents/p-98b027b7.entry.js +1 -0
- package/dist/webcomponents/p-a3df6c3e.entry.js +1 -0
- package/dist/webcomponents/p-a5008b32.entry.js +1 -0
- package/dist/webcomponents/p-a59636ed.js +1 -0
- package/dist/webcomponents/p-a7b04e24.js +1 -0
- package/dist/webcomponents/{p-7b9f21cd.entry.js → p-ac2588af.entry.js} +1 -1
- package/dist/webcomponents/{p-b1d4e520.entry.js → p-b78da082.entry.js} +1 -1
- package/dist/webcomponents/p-b86e804e.entry.js +1 -0
- package/dist/webcomponents/p-ba202e33.js +1 -0
- package/dist/webcomponents/p-bb842885.entry.js +1 -0
- package/dist/webcomponents/p-bf07d5d0.entry.js +1 -0
- package/dist/webcomponents/{p-1e6077f4.js → p-c2efe406.js} +1 -1
- package/dist/webcomponents/p-c358b253.entry.js +1 -0
- package/dist/webcomponents/p-c6051278.entry.js +1 -0
- package/dist/webcomponents/{p-7216ef00.entry.js → p-ca6214ca.entry.js} +1 -1
- package/dist/webcomponents/{p-af834eb8.js → p-cb8f7bf4.js} +1 -1
- package/dist/webcomponents/p-ce2de434.entry.js +1 -0
- package/dist/webcomponents/{p-bb61c6e0.js → p-d1f78cb5.js} +1 -1
- package/dist/webcomponents/p-d5dace8b.entry.js +1 -0
- package/dist/webcomponents/p-d6e51c2f.js +1 -0
- package/dist/webcomponents/{p-f9fdcc1a.entry.js → p-d86c1f11.entry.js} +2 -2
- package/dist/webcomponents/{p-a47971d8.entry.js → p-dc6e1e5f.entry.js} +1 -1
- package/dist/webcomponents/{p-fa2e3dc7.entry.js → p-e0f21a47.entry.js} +1 -1
- package/dist/webcomponents/{p-79b7c30d.js → p-eb644cb7.js} +1 -1
- package/dist/webcomponents/p-f2158e48.entry.js +1 -0
- package/dist/webcomponents/p-f3867b82.entry.js +1 -0
- package/dist/webcomponents/p-f5a7a7d1.entry.js +1 -0
- package/dist/webcomponents/p-f65abd18.js +1 -0
- package/dist/webcomponents/{p-663a00cd.entry.js → p-f76a7f9c.entry.js} +1 -1
- package/dist/webcomponents/p-fd6619d0.entry.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/business.service-285f6f26.js +0 -32
- package/dist/cjs/checkouts-table-17648e93.js +0 -48
- package/dist/cjs/config-b190e93e.js +0 -15
- package/dist/cjs/payments-status-68ac449d.js +0 -26
- package/dist/cjs/payouts-status-2f7be07d.js +0 -24
- package/dist/cjs/terminals-table-91985249.js +0 -33
- package/dist/esm/checkouts-table-8b116232.js +0 -44
- package/dist/esm/config-187b3ae1.js +0 -13
- package/dist/esm/payments-status-a7c18f2a.js +0 -24
- package/dist/esm/payouts-status-cd58e525.js +0 -22
- package/dist/esm/terminals-table-8e42977c.js +0 -29
- package/dist/module/Api.js +0 -116
- package/dist/module/justifi-billing-form.js +0 -6
- package/dist/webcomponents/p-01f32098.entry.js +0 -1
- package/dist/webcomponents/p-0201ec6c.entry.js +0 -1
- package/dist/webcomponents/p-050a6855.entry.js +0 -1
- package/dist/webcomponents/p-0cc6c539.js +0 -1
- package/dist/webcomponents/p-0ccbc022.entry.js +0 -1
- package/dist/webcomponents/p-0e180654.js +0 -1
- package/dist/webcomponents/p-0eb86b3f.entry.js +0 -1
- package/dist/webcomponents/p-0f23ff58.js +0 -1
- package/dist/webcomponents/p-16d2932d.js +0 -1
- package/dist/webcomponents/p-1ce22da6.entry.js +0 -1
- package/dist/webcomponents/p-206fde40.js +0 -1
- package/dist/webcomponents/p-20a24f3a.entry.js +0 -1
- package/dist/webcomponents/p-238f1ff8.entry.js +0 -1
- package/dist/webcomponents/p-2462bf86.entry.js +0 -1
- package/dist/webcomponents/p-32a5bf4e.js +0 -1
- package/dist/webcomponents/p-34c14f59.js +0 -1
- package/dist/webcomponents/p-3db8b3c7.js +0 -1
- package/dist/webcomponents/p-3eabbdd4.entry.js +0 -1
- package/dist/webcomponents/p-438df53f.entry.js +0 -1
- package/dist/webcomponents/p-441c1cf8.js +0 -1
- package/dist/webcomponents/p-4972d608.entry.js +0 -1
- package/dist/webcomponents/p-4a576796.js +0 -1
- package/dist/webcomponents/p-4d916b2d.js +0 -1
- package/dist/webcomponents/p-5968ff8a.js +0 -1
- package/dist/webcomponents/p-597bd1e1.entry.js +0 -1
- package/dist/webcomponents/p-5bbe1133.entry.js +0 -1
- package/dist/webcomponents/p-5cb947bc.entry.js +0 -1
- package/dist/webcomponents/p-5d3f81c0.entry.js +0 -1
- package/dist/webcomponents/p-6677c60d.entry.js +0 -1
- package/dist/webcomponents/p-68694a17.entry.js +0 -1
- package/dist/webcomponents/p-6ab77b89.js +0 -1
- package/dist/webcomponents/p-6b840696.entry.js +0 -1
- package/dist/webcomponents/p-6fbd6abb.js +0 -1
- package/dist/webcomponents/p-6feeb9f2.js +0 -1
- package/dist/webcomponents/p-70eea098.entry.js +0 -1
- package/dist/webcomponents/p-73a18b5a.entry.js +0 -1
- package/dist/webcomponents/p-7a975a3c.js +0 -1
- package/dist/webcomponents/p-808bb677.entry.js +0 -1
- package/dist/webcomponents/p-80b1bcc2.entry.js +0 -1
- package/dist/webcomponents/p-88acfa7c.entry.js +0 -1
- package/dist/webcomponents/p-8a94d2c8.js +0 -1
- package/dist/webcomponents/p-8fe80110.entry.js +0 -1
- package/dist/webcomponents/p-90dc2f2c.js +0 -1
- package/dist/webcomponents/p-9c2d5229.entry.js +0 -1
- package/dist/webcomponents/p-9c2e00cc.js +0 -1
- package/dist/webcomponents/p-a3949f32.js +0 -1
- package/dist/webcomponents/p-ac147eef.entry.js +0 -1
- package/dist/webcomponents/p-b392ec21.js +0 -1
- package/dist/webcomponents/p-b6d76082.entry.js +0 -1
- package/dist/webcomponents/p-bb0f8b70.js +0 -1
- package/dist/webcomponents/p-bb71cef3.js +0 -1
- package/dist/webcomponents/p-bbcaa29b.entry.js +0 -1
- package/dist/webcomponents/p-c092cbb2.js +0 -1
- package/dist/webcomponents/p-c212414b.entry.js +0 -1
- package/dist/webcomponents/p-c2a2b9fe.entry.js +0 -1
- package/dist/webcomponents/p-cc977850.js +0 -1
- package/dist/webcomponents/p-d53c5ea5.entry.js +0 -1
- package/dist/webcomponents/p-d8fdf2b5.entry.js +0 -1
- package/dist/webcomponents/p-d960db89.entry.js +0 -1
- package/dist/webcomponents/p-db8c12ee.js +0 -1
- package/dist/webcomponents/p-e396506c.entry.js +0 -1
- package/dist/webcomponents/p-e4421e98.entry.js +0 -1
- package/dist/webcomponents/p-e7bb6520.js +0 -1
- package/dist/webcomponents/p-ed8918d1.entry.js +0 -1
- package/dist/webcomponents/p-edb57087.js +0 -1
- package/dist/webcomponents/p-ee4a2aac.entry.js +0 -1
- package/dist/webcomponents/p-ef4c49b9.js +0 -1
- package/dist/webcomponents/p-f88d5c0d.entry.js +0 -1
|
@@ -11,7 +11,7 @@ export class CardForm {
|
|
|
11
11
|
return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: 'cc49f963960cc00ea499484ce257d0b902837c1e', class: "container-fluid p-0" }, h("div", { key: '873ee92597101d80c5c05f50a1428402061ed27f', class: "mb-3" }, h("iframe-input", { key: '4987b5fd997954e30450b5f0b5089c91523afe4f', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${IFRAME_ORIGIN}/cardNumber` })), h("div", { key: '7a50424f955163f9c213d81057338c915e046a41', class: "row" }, h("div", { key: 'ab117b543d5ba1b1ca5db6030480048fc266250b', class: "col-4 align-content-end" }, h("iframe-input", { key: 'e5b0f96d4be64fd07ac2417b23d8a3913d67145a', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${IFRAME_ORIGIN}/expirationMonth` })), h("div", { key: 'c66377e9ae6b0f1a750933ca628edcb62b227e34', class: "col-4 align-content-end" }, h("iframe-input", { key: '2fb5328b3b8b82d0bd2b0ad2272cd73b133cb548', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${IFRAME_ORIGIN}/expirationYear` })), h("div", { key: 'add1b6be0df27a95b5c244a7bb2320f6f40ec930', class: "col-4 align-content-end" }, h("iframe-input", { key: '3c0341c1111b1980d9868d314221857e7ff07996', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${IFRAME_ORIGIN}/CVV` })))));
|
|
15
15
|
}
|
|
16
16
|
static get is() { return "card-form"; }
|
|
17
17
|
static get methods() {
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { formatCurrency } from "../../utils/utils";
|
|
3
|
-
import { config } from "../../../config";
|
|
4
3
|
import { Checkout } from "../../api/Checkout";
|
|
5
4
|
import { ComponentErrorSeverity } from "../../api/ComponentError";
|
|
6
5
|
import { insuranceValues, insuranceValuesOn, validateInsuranceValues } from "../insurance/insurance-state";
|
|
7
6
|
import { Button, StyledHost, Skeleton, Header2, Header3 } from "../../ui-components";
|
|
8
|
-
import { text } from "../../styles/parts";
|
|
7
|
+
import { checkoutSummary, text } from "../../styles/parts";
|
|
9
8
|
export class CheckoutCore {
|
|
10
9
|
constructor() {
|
|
11
10
|
this.completeCheckout = async (payment) => {
|
|
@@ -28,7 +27,6 @@ export class CheckoutCore {
|
|
|
28
27
|
});
|
|
29
28
|
this.renderState = 'error';
|
|
30
29
|
};
|
|
31
|
-
this.iframeOrigin = config.iframeOrigin;
|
|
32
30
|
this.authToken = undefined;
|
|
33
31
|
this.getCheckout = undefined;
|
|
34
32
|
this.complete = undefined;
|
|
@@ -37,6 +35,7 @@ export class CheckoutCore {
|
|
|
37
35
|
this.disableBankAccount = undefined;
|
|
38
36
|
this.disableBnpl = undefined;
|
|
39
37
|
this.disablePaymentMethodGroup = undefined;
|
|
38
|
+
this.hideCardBillingForm = undefined;
|
|
40
39
|
this.hasLoadedFonts = false;
|
|
41
40
|
this.checkout = undefined;
|
|
42
41
|
this.serverError = undefined;
|
|
@@ -117,37 +116,19 @@ export class CheckoutCore {
|
|
|
117
116
|
}
|
|
118
117
|
get paymentType() {
|
|
119
118
|
var _a, _b, _c, _d, _e;
|
|
120
|
-
return (h("section", null, h("div", { class: !this.isLoading && 'visually-hidden' }, h(Skeleton, { height: "300px" })), h("div", { class: this.isLoading && 'visually-hidden' }, h("justifi-payment-method-options", { ref: (el) => (this.paymentMethodOptionsRef = el), "show-card": !this.disableCreditCard, "show-ach": !this.disableBankAccount, "show-bnpl": !this.disableBnpl, paymentMethodGroupId: (_a = this.checkout) === null || _a === void 0 ? void 0 : _a.payment_method_group_id, "show-saved-payment-methods": !this.disablePaymentMethodGroup, bnpl: (_b = this.checkout) === null || _b === void 0 ? void 0 : _b.bnpl, authToken: this.authToken, "account-id": (_c = this.checkout) === null || _c === void 0 ? void 0 : _c.account_id, savedPaymentMethods: ((_d = this.checkout) === null || _d === void 0 ? void 0 : _d.payment_methods) || [], paymentAmount: (_e = this.checkout) === null || _e === void 0 ? void 0 : _e.payment_amount, insuranceToggled: this.insuranceToggled }))));
|
|
119
|
+
return (h("section", null, h("div", { class: !this.isLoading && 'visually-hidden' }, h(Skeleton, { height: "300px" })), h("div", { class: this.isLoading && 'visually-hidden' }, h("justifi-payment-method-options", { ref: (el) => (this.paymentMethodOptionsRef = el), "show-card": !this.disableCreditCard, "show-ach": !this.disableBankAccount, "show-bnpl": !this.disableBnpl, paymentMethodGroupId: (_a = this.checkout) === null || _a === void 0 ? void 0 : _a.payment_method_group_id, "show-saved-payment-methods": !this.disablePaymentMethodGroup, hideCardBillingForm: this.hideCardBillingForm, bnpl: (_b = this.checkout) === null || _b === void 0 ? void 0 : _b.bnpl, authToken: this.authToken, "account-id": (_c = this.checkout) === null || _c === void 0 ? void 0 : _c.account_id, savedPaymentMethods: ((_d = this.checkout) === null || _d === void 0 ? void 0 : _d.payment_methods) || [], paymentAmount: (_e = this.checkout) === null || _e === void 0 ? void 0 : _e.payment_amount, insuranceToggled: this.insuranceToggled }))));
|
|
121
120
|
}
|
|
122
121
|
get summary() {
|
|
123
122
|
var _a, _b;
|
|
124
123
|
return (h("section", null, h("div", { class: !this.isLoading && 'visually-hidden' }, h(Skeleton, { height: "24px" })), h("div", { class: this.isLoading && 'visually-hidden' }, h("div", { part: text }, (_a = this.checkout) === null || _a === void 0 ? void 0 : _a.payment_description), h("div", null, h("span", { part: text }, "Total"), "\u00A0", h("span", { part: text }, formatCurrency(+((_b = this.checkout) === null || _b === void 0 ? void 0 : _b.total_amount)))))));
|
|
125
124
|
}
|
|
126
125
|
render() {
|
|
127
|
-
return (h(StyledHost, { key: '
|
|
126
|
+
return (h(StyledHost, { key: '27b5f6263124c9c288fb81e6a0a97ef9565a49ed' }, h("div", { key: '8444c6ea0c1b4f9a63e46407c90ee1d14556f832', class: "row gy-3 jfi-checkout-core" }, h("div", { key: '920ddc8692ce6a0cc129fc9de0353c7d1cce0fcf', class: "col-12", part: checkoutSummary }, h(Header2, { key: 'c48cfc8be18363aa522e38a6dd09acccf2f51bf4', text: "Summary", class: "fs-5 fw-bold pb-3" }), this.summary), h("div", { key: '1f9615177d056357b9c960bbf86360324a2330dc', class: "col-12" }, h("slot", { key: '2a3845fe83eb3c0a213f97a0ccc74c268690818b', name: "insurance" })), h("div", { key: 'c7e588bb71c6bc3f84636cde3346021b51978bfd', class: "col-12 mt-4" }, h(Header2, { key: '512bef8ae536558eba77019531f38485983b1a2f', text: "Payment", class: "fs-5 fw-bold pb-3" }), h(Header3, { key: '84a1d01dbae527ca1bff19b2f3dfcd47f9b3782f', text: "Select payment type", class: "fs-6 fw-bold lh-lg" }), h("div", { key: '8770c420bf092ad3173fb7308d795e1e9ab6d00d', class: "d-flex flex-column" }, this.paymentType)), h("div", { key: '2c907e60023119910220a57725d52a2133a4e5ba', class: "col-12" }, h("div", { key: 'b2303b22c1a83755726eb08d7e732b4c472f75d7', class: "d-flex justify-content-end" }, h(Button, { key: '6c5910476d57f439648810a8fe200b190256bb2d', type: "submit", variant: "primary", onClick: (e) => this.submit(e), disabled: this.isLoading, isLoading: this.isLoading, style: { width: '100%' } }, "Pay"))))));
|
|
128
127
|
}
|
|
129
128
|
static get is() { return "justifi-checkout-core"; }
|
|
130
129
|
static get encapsulation() { return "shadow"; }
|
|
131
130
|
static get properties() {
|
|
132
131
|
return {
|
|
133
|
-
"iframeOrigin": {
|
|
134
|
-
"type": "string",
|
|
135
|
-
"mutable": true,
|
|
136
|
-
"complexType": {
|
|
137
|
-
"original": "string",
|
|
138
|
-
"resolved": "string",
|
|
139
|
-
"references": {}
|
|
140
|
-
},
|
|
141
|
-
"required": false,
|
|
142
|
-
"optional": true,
|
|
143
|
-
"docs": {
|
|
144
|
-
"tags": [],
|
|
145
|
-
"text": "URL for the rendered iFrame. End-users need not use this."
|
|
146
|
-
},
|
|
147
|
-
"attribute": "iframe-origin",
|
|
148
|
-
"reflect": false,
|
|
149
|
-
"defaultValue": "config.iframeOrigin"
|
|
150
|
-
},
|
|
151
132
|
"authToken": {
|
|
152
133
|
"type": "string",
|
|
153
134
|
"mutable": false,
|
|
@@ -289,6 +270,23 @@ export class CheckoutCore {
|
|
|
289
270
|
},
|
|
290
271
|
"attribute": "disable-payment-method-group",
|
|
291
272
|
"reflect": false
|
|
273
|
+
},
|
|
274
|
+
"hideCardBillingForm": {
|
|
275
|
+
"type": "boolean",
|
|
276
|
+
"mutable": false,
|
|
277
|
+
"complexType": {
|
|
278
|
+
"original": "boolean",
|
|
279
|
+
"resolved": "boolean",
|
|
280
|
+
"references": {}
|
|
281
|
+
},
|
|
282
|
+
"required": false,
|
|
283
|
+
"optional": true,
|
|
284
|
+
"docs": {
|
|
285
|
+
"tags": [],
|
|
286
|
+
"text": ""
|
|
287
|
+
},
|
|
288
|
+
"attribute": "hide-card-billing-form",
|
|
289
|
+
"reflect": false
|
|
292
290
|
}
|
|
293
291
|
};
|
|
294
292
|
}
|
|
@@ -372,10 +370,10 @@ export class CheckoutCore {
|
|
|
372
370
|
return {
|
|
373
371
|
"fillBillingForm": {
|
|
374
372
|
"complexType": {
|
|
375
|
-
"signature": "(fields: BillingFormFields) => Promise<void>",
|
|
373
|
+
"signature": "(fields: BillingFormFields | PostalFormFields) => Promise<void>",
|
|
376
374
|
"parameters": [{
|
|
377
375
|
"name": "fields",
|
|
378
|
-
"type": "BillingFormFields",
|
|
376
|
+
"type": "BillingFormFields | PostalFormFields",
|
|
379
377
|
"docs": ""
|
|
380
378
|
}],
|
|
381
379
|
"references": {
|
|
@@ -385,8 +383,13 @@ export class CheckoutCore {
|
|
|
385
383
|
},
|
|
386
384
|
"BillingFormFields": {
|
|
387
385
|
"location": "import",
|
|
388
|
-
"path": "../billing-
|
|
389
|
-
"id": "src/components/billing-
|
|
386
|
+
"path": "../billing-forms/billing-form-schema",
|
|
387
|
+
"id": "src/components/billing-forms/billing-form-schema.ts::BillingFormFields"
|
|
388
|
+
},
|
|
389
|
+
"PostalFormFields": {
|
|
390
|
+
"location": "import",
|
|
391
|
+
"path": "../billing-forms/billing-form-schema",
|
|
392
|
+
"id": "src/components/billing-forms/billing-form-schema.ts::PostalFormFields"
|
|
390
393
|
}
|
|
391
394
|
},
|
|
392
395
|
"return": "Promise<void>"
|
|
@@ -6,13 +6,13 @@ import JustifiAnalytics from "../../api/Analytics";
|
|
|
6
6
|
import { checkPkgVersion } from "../../utils/check-pkg-version";
|
|
7
7
|
export class Checkout {
|
|
8
8
|
constructor() {
|
|
9
|
-
this.iframeOrigin = undefined;
|
|
10
9
|
this.authToken = undefined;
|
|
11
10
|
this.checkoutId = undefined;
|
|
12
11
|
this.disableCreditCard = undefined;
|
|
13
12
|
this.disableBankAccount = undefined;
|
|
14
13
|
this.disableBnpl = undefined;
|
|
15
14
|
this.disablePaymentMethodGroup = undefined;
|
|
15
|
+
this.hideCardBillingForm = undefined;
|
|
16
16
|
this.getCheckout = undefined;
|
|
17
17
|
this.complete = undefined;
|
|
18
18
|
this.errorMessage = '';
|
|
@@ -53,32 +53,15 @@ export class Checkout {
|
|
|
53
53
|
this.checkoutCoreRef.fillBillingForm(fields);
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
56
|
-
return (h("justifi-checkout-core", { key: '
|
|
56
|
+
return (h("justifi-checkout-core", { key: '573ac7486b2523d6918f5f8eb97a17dcf47edd3a', getCheckout: this.getCheckout, authToken: this.authToken, complete: this.complete, disableCreditCard: this.disableCreditCard, disableBankAccount: this.disableBankAccount, disableBnpl: this.disableBnpl, disablePaymentMethodGroup: this.disablePaymentMethodGroup, hideCardBillingForm: this.hideCardBillingForm, ref: el => {
|
|
57
57
|
if (el) {
|
|
58
58
|
this.checkoutCoreRef = el;
|
|
59
59
|
}
|
|
60
|
-
} }, h("div", { key: '
|
|
60
|
+
} }, h("div", { key: '649338a229597a0c6a9987975f91e678ca489890', slot: "insurance" }, h("slot", { key: 'ddfb4986d89a9792e7dad6ffad7dd134bedc9e25', name: "insurance" }))));
|
|
61
61
|
}
|
|
62
62
|
static get is() { return "justifi-checkout"; }
|
|
63
63
|
static get properties() {
|
|
64
64
|
return {
|
|
65
|
-
"iframeOrigin": {
|
|
66
|
-
"type": "string",
|
|
67
|
-
"mutable": false,
|
|
68
|
-
"complexType": {
|
|
69
|
-
"original": "string",
|
|
70
|
-
"resolved": "string",
|
|
71
|
-
"references": {}
|
|
72
|
-
},
|
|
73
|
-
"required": false,
|
|
74
|
-
"optional": true,
|
|
75
|
-
"docs": {
|
|
76
|
-
"tags": [],
|
|
77
|
-
"text": ""
|
|
78
|
-
},
|
|
79
|
-
"attribute": "iframe-origin",
|
|
80
|
-
"reflect": false
|
|
81
|
-
},
|
|
82
65
|
"authToken": {
|
|
83
66
|
"type": "string",
|
|
84
67
|
"mutable": false,
|
|
@@ -180,6 +163,23 @@ export class Checkout {
|
|
|
180
163
|
},
|
|
181
164
|
"attribute": "disable-payment-method-group",
|
|
182
165
|
"reflect": false
|
|
166
|
+
},
|
|
167
|
+
"hideCardBillingForm": {
|
|
168
|
+
"type": "boolean",
|
|
169
|
+
"mutable": false,
|
|
170
|
+
"complexType": {
|
|
171
|
+
"original": "boolean",
|
|
172
|
+
"resolved": "boolean",
|
|
173
|
+
"references": {}
|
|
174
|
+
},
|
|
175
|
+
"required": false,
|
|
176
|
+
"optional": true,
|
|
177
|
+
"docs": {
|
|
178
|
+
"tags": [],
|
|
179
|
+
"text": ""
|
|
180
|
+
},
|
|
181
|
+
"attribute": "hide-card-billing-form",
|
|
182
|
+
"reflect": false
|
|
183
183
|
}
|
|
184
184
|
};
|
|
185
185
|
}
|
|
@@ -239,10 +239,10 @@ export class Checkout {
|
|
|
239
239
|
return {
|
|
240
240
|
"fillBillingForm": {
|
|
241
241
|
"complexType": {
|
|
242
|
-
"signature": "(fields: BillingFormFields) => Promise<void>",
|
|
242
|
+
"signature": "(fields: BillingFormFields | PostalFormFields) => Promise<void>",
|
|
243
243
|
"parameters": [{
|
|
244
244
|
"name": "fields",
|
|
245
|
-
"type": "BillingFormFields",
|
|
245
|
+
"type": "BillingFormFields | PostalFormFields",
|
|
246
246
|
"docs": ""
|
|
247
247
|
}],
|
|
248
248
|
"references": {
|
|
@@ -252,8 +252,13 @@ export class Checkout {
|
|
|
252
252
|
},
|
|
253
253
|
"BillingFormFields": {
|
|
254
254
|
"location": "import",
|
|
255
|
-
"path": "../billing-
|
|
256
|
-
"id": "src/components/billing-
|
|
255
|
+
"path": "../billing-forms/billing-form-schema",
|
|
256
|
+
"id": "src/components/billing-forms/billing-form-schema.ts::BillingFormFields"
|
|
257
|
+
},
|
|
258
|
+
"PostalFormFields": {
|
|
259
|
+
"location": "import",
|
|
260
|
+
"path": "../billing-forms/billing-form-schema",
|
|
261
|
+
"id": "src/components/billing-forms/billing-form-schema.ts::PostalFormFields"
|
|
257
262
|
}
|
|
258
263
|
},
|
|
259
264
|
"return": "Promise<void>"
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
|
-
import {
|
|
3
|
-
import { Header3 } from "../../ui-components";
|
|
4
|
-
import { billingForm, radioListItem } from "../../styles/parts";
|
|
2
|
+
import { radioListItem } from "../../styles/parts";
|
|
5
3
|
const PaymentMethodTypeLabels = {
|
|
6
4
|
bankAccount: 'New bank account',
|
|
7
5
|
card: 'New credit or debit card',
|
|
@@ -12,23 +10,23 @@ export class NewPaymentMethod {
|
|
|
12
10
|
e.preventDefault();
|
|
13
11
|
this.paymentMethodOptionSelected.emit(this.paymentMethodOption);
|
|
14
12
|
};
|
|
15
|
-
this.iframeOrigin = config.iframeOrigin;
|
|
16
13
|
this.authToken = undefined;
|
|
17
14
|
this.accountId = undefined;
|
|
18
15
|
this.paymentMethodOption = undefined;
|
|
19
16
|
this.paymentMethodGroupId = undefined;
|
|
20
17
|
this.isSelected = undefined;
|
|
18
|
+
this.hideCardBillingForm = undefined;
|
|
21
19
|
this.saveNewPaymentMethodChecked = false;
|
|
22
20
|
}
|
|
23
21
|
handleCheckboxChanged(event) {
|
|
24
22
|
this.saveNewPaymentMethodChecked = event.detail;
|
|
25
23
|
}
|
|
26
24
|
async fillBillingForm(fields) {
|
|
27
|
-
this.
|
|
25
|
+
this.billingFormWrapperRef.fill(fields);
|
|
28
26
|
}
|
|
29
27
|
async resolvePaymentMethod(insuranceValidation) {
|
|
30
28
|
var _a, _b;
|
|
31
|
-
if (!this.paymentMethodFormRef || !this.
|
|
29
|
+
if (!this.paymentMethodFormRef || !this.billingFormWrapperRef)
|
|
32
30
|
return;
|
|
33
31
|
try {
|
|
34
32
|
const isValid = await this.validate();
|
|
@@ -41,7 +39,10 @@ export class NewPaymentMethod {
|
|
|
41
39
|
}
|
|
42
40
|
else {
|
|
43
41
|
const tokenizeRessponseData = tokenizeResponse.data;
|
|
44
|
-
return {
|
|
42
|
+
return {
|
|
43
|
+
token: ((_a = tokenizeRessponseData.card) === null || _a === void 0 ? void 0 : _a.token) || ((_b = tokenizeRessponseData.bank_account) === null || _b === void 0 ? void 0 : _b.token),
|
|
44
|
+
data: tokenizeRessponseData
|
|
45
|
+
};
|
|
45
46
|
}
|
|
46
47
|
}
|
|
47
48
|
catch (error) {
|
|
@@ -49,13 +50,13 @@ export class NewPaymentMethod {
|
|
|
49
50
|
}
|
|
50
51
|
}
|
|
51
52
|
async validate() {
|
|
52
|
-
const billingFormValidation = await this.
|
|
53
|
+
const billingFormValidation = await this.billingFormWrapperRef.validate();
|
|
53
54
|
const paymentMethodFormValidation = await this.paymentMethodFormRef.validate();
|
|
54
55
|
return billingFormValidation.isValid && paymentMethodFormValidation.isValid;
|
|
55
56
|
}
|
|
56
57
|
async tokenize() {
|
|
57
58
|
try {
|
|
58
|
-
const billingFormFieldValues = await this.
|
|
59
|
+
const billingFormFieldValues = await this.billingFormWrapperRef.getValues();
|
|
59
60
|
let paymentMethodData;
|
|
60
61
|
if (this.saveNewPaymentMethodChecked) {
|
|
61
62
|
paymentMethodData = Object.assign(Object.assign({}, billingFormFieldValues), { payment_method_group_id: this.paymentMethodGroupId });
|
|
@@ -73,33 +74,16 @@ export class NewPaymentMethod {
|
|
|
73
74
|
}
|
|
74
75
|
showNewPaymentMethodForm() {
|
|
75
76
|
var _a;
|
|
76
|
-
|
|
77
|
+
const paymentMethodType = (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id;
|
|
78
|
+
return (h("div", { class: "mt-4 pb-4 border-bottom" }, h("hidden-input", null), h("div", { class: "mb-4" }, paymentMethodType === 'card' ? (h("card-form", { ref: (el) => this.paymentMethodFormRef = el })) : (h("bank-account-form", { ref: (el) => this.paymentMethodFormRef = el }))), h("justifi-billing-form-wrapper", { ref: (el) => (this.billingFormWrapperRef = el), hideCardBillingForm: this.hideCardBillingForm, paymentMethodType: paymentMethodType }), h("justifi-save-new-payment-method", { hidden: !this.paymentMethodGroupId })));
|
|
77
79
|
}
|
|
78
80
|
render() {
|
|
79
81
|
var _a, _b;
|
|
80
|
-
return (h(Host, { key: '
|
|
82
|
+
return (h(Host, { key: 'c0d2a7efd367d357a4c205960f8765e488f7e376', class: "payment-method" }, h("div", { key: '697f5d543ed4690b11f6d8e36bb88eabbc8cc368', class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick }, h("form-control-radio", { key: '43bf63f112ef40cca0332b77bf447c5f8b5e0379', name: "paymentMethodType", value: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, checked: this.isSelected, label: PaymentMethodTypeLabels[(_b = this.paymentMethodOption) === null || _b === void 0 ? void 0 : _b.id] })), this.isSelected ? this.showNewPaymentMethodForm() : null));
|
|
81
83
|
}
|
|
82
84
|
static get is() { return "justifi-new-payment-method"; }
|
|
83
85
|
static get properties() {
|
|
84
86
|
return {
|
|
85
|
-
"iframeOrigin": {
|
|
86
|
-
"type": "string",
|
|
87
|
-
"mutable": true,
|
|
88
|
-
"complexType": {
|
|
89
|
-
"original": "string",
|
|
90
|
-
"resolved": "string",
|
|
91
|
-
"references": {}
|
|
92
|
-
},
|
|
93
|
-
"required": false,
|
|
94
|
-
"optional": true,
|
|
95
|
-
"docs": {
|
|
96
|
-
"tags": [],
|
|
97
|
-
"text": ""
|
|
98
|
-
},
|
|
99
|
-
"attribute": "iframe-origin",
|
|
100
|
-
"reflect": false,
|
|
101
|
-
"defaultValue": "config.iframeOrigin"
|
|
102
|
-
},
|
|
103
87
|
"authToken": {
|
|
104
88
|
"type": "string",
|
|
105
89
|
"mutable": false,
|
|
@@ -188,6 +172,23 @@ export class NewPaymentMethod {
|
|
|
188
172
|
},
|
|
189
173
|
"attribute": "is-selected",
|
|
190
174
|
"reflect": false
|
|
175
|
+
},
|
|
176
|
+
"hideCardBillingForm": {
|
|
177
|
+
"type": "boolean",
|
|
178
|
+
"mutable": false,
|
|
179
|
+
"complexType": {
|
|
180
|
+
"original": "boolean",
|
|
181
|
+
"resolved": "boolean",
|
|
182
|
+
"references": {}
|
|
183
|
+
},
|
|
184
|
+
"required": false,
|
|
185
|
+
"optional": true,
|
|
186
|
+
"docs": {
|
|
187
|
+
"tags": [],
|
|
188
|
+
"text": ""
|
|
189
|
+
},
|
|
190
|
+
"attribute": "hide-card-billing-form",
|
|
191
|
+
"reflect": false
|
|
191
192
|
}
|
|
192
193
|
};
|
|
193
194
|
}
|
|
@@ -218,10 +219,10 @@ export class NewPaymentMethod {
|
|
|
218
219
|
return {
|
|
219
220
|
"fillBillingForm": {
|
|
220
221
|
"complexType": {
|
|
221
|
-
"signature": "(fields: BillingFormFields) => Promise<void>",
|
|
222
|
+
"signature": "(fields: BillingFormFields | PostalFormFields) => Promise<void>",
|
|
222
223
|
"parameters": [{
|
|
223
224
|
"name": "fields",
|
|
224
|
-
"type": "BillingFormFields",
|
|
225
|
+
"type": "BillingFormFields | PostalFormFields",
|
|
225
226
|
"docs": ""
|
|
226
227
|
}],
|
|
227
228
|
"references": {
|
|
@@ -231,8 +232,13 @@ export class NewPaymentMethod {
|
|
|
231
232
|
},
|
|
232
233
|
"BillingFormFields": {
|
|
233
234
|
"location": "import",
|
|
234
|
-
"path": "../billing-
|
|
235
|
-
"id": "src/components/billing-
|
|
235
|
+
"path": "../billing-forms/billing-form-schema",
|
|
236
|
+
"id": "src/components/billing-forms/billing-form-schema.ts::BillingFormFields"
|
|
237
|
+
},
|
|
238
|
+
"PostalFormFields": {
|
|
239
|
+
"location": "import",
|
|
240
|
+
"path": "../billing-forms/billing-form-schema",
|
|
241
|
+
"id": "src/components/billing-forms/billing-form-schema.ts::PostalFormFields"
|
|
236
242
|
}
|
|
237
243
|
},
|
|
238
244
|
"return": "Promise<void>"
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
|
-
import { config } from "../../../config";
|
|
3
2
|
import { PaymentMethodTypes } from "../../api/Payment";
|
|
4
3
|
import { PaymentMethodOption } from "./payment-method-option-utils";
|
|
5
4
|
export class PaymentMethodOptions {
|
|
@@ -13,9 +12,9 @@ export class PaymentMethodOptions {
|
|
|
13
12
|
this.insuranceToggled = undefined;
|
|
14
13
|
this.authToken = undefined;
|
|
15
14
|
this.accountId = undefined;
|
|
16
|
-
this.iframeOrigin = config.iframeOrigin;
|
|
17
15
|
this.savedPaymentMethods = [];
|
|
18
16
|
this.paymentAmount = undefined;
|
|
17
|
+
this.hideCardBillingForm = undefined;
|
|
19
18
|
this.selectedPaymentMethodId = undefined;
|
|
20
19
|
this.paymentMethodOptions = [];
|
|
21
20
|
}
|
|
@@ -59,13 +58,13 @@ export class PaymentMethodOptions {
|
|
|
59
58
|
}
|
|
60
59
|
render() {
|
|
61
60
|
var _a;
|
|
62
|
-
return (h(Host, { key: '
|
|
61
|
+
return (h(Host, { key: '22ab195ec840e971c774ad2886ebce979c13394d' }, (_a = this.paymentMethodOptions) === null || _a === void 0 ? void 0 : _a.map((paymentMethodOption) => {
|
|
63
62
|
const newCard = paymentMethodOption.id === PaymentMethodTypes.card;
|
|
64
63
|
const newBankAccount = paymentMethodOption.id === PaymentMethodTypes.bankAccount;
|
|
65
64
|
const isSelected = this.selectedPaymentMethodId === paymentMethodOption.id;
|
|
66
65
|
const sezzle = paymentMethodOption.id === PaymentMethodTypes.sezzle;
|
|
67
66
|
if (newCard || newBankAccount) {
|
|
68
|
-
return (h("justifi-new-payment-method", { paymentMethodOption: paymentMethodOption, authToken: this.authToken, "account-id": this.accountId, "is-selected": isSelected, paymentMethodGroupId: this.paymentMethodGroupId, ref: (el) => {
|
|
67
|
+
return (h("justifi-new-payment-method", { paymentMethodOption: paymentMethodOption, authToken: this.authToken, "account-id": this.accountId, "is-selected": isSelected, paymentMethodGroupId: this.paymentMethodGroupId, hideCardBillingForm: this.hideCardBillingForm, ref: (el) => {
|
|
69
68
|
if (isSelected) {
|
|
70
69
|
this.selectedPaymentMethodOptionRef = el;
|
|
71
70
|
}
|
|
@@ -247,24 +246,6 @@ export class PaymentMethodOptions {
|
|
|
247
246
|
"attribute": "account-id",
|
|
248
247
|
"reflect": false
|
|
249
248
|
},
|
|
250
|
-
"iframeOrigin": {
|
|
251
|
-
"type": "string",
|
|
252
|
-
"mutable": true,
|
|
253
|
-
"complexType": {
|
|
254
|
-
"original": "string",
|
|
255
|
-
"resolved": "string",
|
|
256
|
-
"references": {}
|
|
257
|
-
},
|
|
258
|
-
"required": false,
|
|
259
|
-
"optional": true,
|
|
260
|
-
"docs": {
|
|
261
|
-
"tags": [],
|
|
262
|
-
"text": ""
|
|
263
|
-
},
|
|
264
|
-
"attribute": "iframe-origin",
|
|
265
|
-
"reflect": false,
|
|
266
|
-
"defaultValue": "config.iframeOrigin"
|
|
267
|
-
},
|
|
268
249
|
"savedPaymentMethods": {
|
|
269
250
|
"type": "unknown",
|
|
270
251
|
"mutable": false,
|
|
@@ -297,6 +278,23 @@ export class PaymentMethodOptions {
|
|
|
297
278
|
},
|
|
298
279
|
"attribute": "payment-amount",
|
|
299
280
|
"reflect": false
|
|
281
|
+
},
|
|
282
|
+
"hideCardBillingForm": {
|
|
283
|
+
"type": "boolean",
|
|
284
|
+
"mutable": false,
|
|
285
|
+
"complexType": {
|
|
286
|
+
"original": "boolean",
|
|
287
|
+
"resolved": "boolean",
|
|
288
|
+
"references": {}
|
|
289
|
+
},
|
|
290
|
+
"required": false,
|
|
291
|
+
"optional": true,
|
|
292
|
+
"docs": {
|
|
293
|
+
"tags": [],
|
|
294
|
+
"text": ""
|
|
295
|
+
},
|
|
296
|
+
"attribute": "hide-card-billing-form",
|
|
297
|
+
"reflect": false
|
|
300
298
|
}
|
|
301
299
|
};
|
|
302
300
|
}
|
|
@@ -306,32 +304,14 @@ export class PaymentMethodOptions {
|
|
|
306
304
|
"paymentMethodOptions": {}
|
|
307
305
|
};
|
|
308
306
|
}
|
|
309
|
-
static get events() {
|
|
310
|
-
return [{
|
|
311
|
-
"method": "toggleCreatingNewPaymentMethod",
|
|
312
|
-
"name": "toggleCreatingNewPaymentMethod",
|
|
313
|
-
"bubbles": true,
|
|
314
|
-
"cancelable": true,
|
|
315
|
-
"composed": true,
|
|
316
|
-
"docs": {
|
|
317
|
-
"tags": [],
|
|
318
|
-
"text": ""
|
|
319
|
-
},
|
|
320
|
-
"complexType": {
|
|
321
|
-
"original": "any",
|
|
322
|
-
"resolved": "any",
|
|
323
|
-
"references": {}
|
|
324
|
-
}
|
|
325
|
-
}];
|
|
326
|
-
}
|
|
327
307
|
static get methods() {
|
|
328
308
|
return {
|
|
329
309
|
"fillBillingForm": {
|
|
330
310
|
"complexType": {
|
|
331
|
-
"signature": "(fields: BillingFormFields) => Promise<void>",
|
|
311
|
+
"signature": "(fields: BillingFormFields | PostalFormFields) => Promise<void>",
|
|
332
312
|
"parameters": [{
|
|
333
313
|
"name": "fields",
|
|
334
|
-
"type": "BillingFormFields",
|
|
314
|
+
"type": "BillingFormFields | PostalFormFields",
|
|
335
315
|
"docs": ""
|
|
336
316
|
}],
|
|
337
317
|
"references": {
|
|
@@ -341,8 +321,13 @@ export class PaymentMethodOptions {
|
|
|
341
321
|
},
|
|
342
322
|
"BillingFormFields": {
|
|
343
323
|
"location": "import",
|
|
344
|
-
"path": "../billing-
|
|
345
|
-
"id": "src/components/billing-
|
|
324
|
+
"path": "../billing-forms/billing-form-schema",
|
|
325
|
+
"id": "src/components/billing-forms/billing-form-schema.ts::BillingFormFields"
|
|
326
|
+
},
|
|
327
|
+
"PostalFormFields": {
|
|
328
|
+
"location": "import",
|
|
329
|
+
"path": "../billing-forms/billing-form-schema",
|
|
330
|
+
"id": "src/components/billing-forms/billing-form-schema.ts::PostalFormFields"
|
|
346
331
|
},
|
|
347
332
|
"HTMLJustifiNewPaymentMethodElement": {
|
|
348
333
|
"location": "global",
|
|
@@ -8,7 +8,7 @@ export class SaveNewPaymentMethod {
|
|
|
8
8
|
this.checkboxChanged.emit(this.isChecked);
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h("div", { key: '
|
|
11
|
+
return (h("div", { key: '017cbce906d331b82eb5dc726197da3ea3ba51e5', class: "mt-4 form-check" }, h("form-control-checkbox", { key: 'ca22562653b216d16bd19765f1834ff2428820cc', label: "Save new payment method", name: "saveNewPaymentMethod", checked: this.isChecked, inputHandler: this.handleCheckboxChange.bind(this) })));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "justifi-save-new-payment-method"; }
|
|
14
14
|
static get states() {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
|
-
import { config } from "../../../config";
|
|
3
2
|
import { CardBrandLabels } from "./payment-method-option-utils";
|
|
4
3
|
import { radioListItem } from "../../styles/parts";
|
|
5
4
|
export class SavedPaymentMethod {
|
|
@@ -8,7 +7,6 @@ export class SavedPaymentMethod {
|
|
|
8
7
|
e.preventDefault();
|
|
9
8
|
this.paymentMethodOptionSelected.emit(this.paymentMethodOption);
|
|
10
9
|
};
|
|
11
|
-
this.iframeOrigin = config.iframeOrigin;
|
|
12
10
|
this.paymentMethodOption = undefined;
|
|
13
11
|
this.isSelected = undefined;
|
|
14
12
|
}
|
|
@@ -22,29 +20,11 @@ export class SavedPaymentMethod {
|
|
|
22
20
|
;
|
|
23
21
|
render() {
|
|
24
22
|
var _a, _b, _c;
|
|
25
|
-
return (h(Host, { key: '
|
|
23
|
+
return (h(Host, { key: '10b18a7c77250aac57d6afef89aea752e3bc2c35', class: "payment-method" }, h("div", { key: '80910960904f3e01fd10cba4789af4004b434490', class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick }, h("form-control-radio", { key: 'abccf6aca9316de983ba899eabfffcc7b05b1d48', name: "paymentMethodType", value: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, checked: this.isSelected, label: `${CardBrandLabels[(_b = this.paymentMethodOption) === null || _b === void 0 ? void 0 : _b.brand] || ''} *${(_c = this.paymentMethodOption) === null || _c === void 0 ? void 0 : _c.acct_last_four}` }))));
|
|
26
24
|
}
|
|
27
25
|
static get is() { return "justifi-saved-payment-method"; }
|
|
28
26
|
static get properties() {
|
|
29
27
|
return {
|
|
30
|
-
"iframeOrigin": {
|
|
31
|
-
"type": "string",
|
|
32
|
-
"mutable": true,
|
|
33
|
-
"complexType": {
|
|
34
|
-
"original": "string",
|
|
35
|
-
"resolved": "string",
|
|
36
|
-
"references": {}
|
|
37
|
-
},
|
|
38
|
-
"required": false,
|
|
39
|
-
"optional": true,
|
|
40
|
-
"docs": {
|
|
41
|
-
"tags": [],
|
|
42
|
-
"text": ""
|
|
43
|
-
},
|
|
44
|
-
"attribute": "iframe-origin",
|
|
45
|
-
"reflect": false,
|
|
46
|
-
"defaultValue": "config.iframeOrigin"
|
|
47
|
-
},
|
|
48
28
|
"paymentMethodOption": {
|
|
49
29
|
"type": "unknown",
|
|
50
30
|
"mutable": false,
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
|
-
import { config } from "../../../config";
|
|
3
2
|
import { formatCurrency } from "../../utils/utils";
|
|
4
3
|
import { radioListItem } from "../../styles/parts";
|
|
5
4
|
const sezzleLogo = (h("img", { class: "sezzle-smart-button-logo-img", src: "https://media.sezzle.com/branding/2.0/Sezzle_Logo_FullColor.svg", alt: "Sezzle", style: {
|
|
@@ -41,7 +40,6 @@ export class SezzlePaymentMethod {
|
|
|
41
40
|
this.sezzleCheckout = checkout;
|
|
42
41
|
this.installmentPlan = this.sezzleCheckout.getInstallmentPlan(amount);
|
|
43
42
|
};
|
|
44
|
-
this.iframeOrigin = config.iframeOrigin;
|
|
45
43
|
this.bnpl = undefined;
|
|
46
44
|
this.clientId = undefined;
|
|
47
45
|
this.accountId = undefined;
|
|
@@ -67,29 +65,11 @@ export class SezzlePaymentMethod {
|
|
|
67
65
|
}
|
|
68
66
|
render() {
|
|
69
67
|
var _a, _b, _c;
|
|
70
|
-
return (h(Host, { key: '
|
|
68
|
+
return (h(Host, { key: 'eaf1bd457f91f77bffa661875277c0709d5926d3', class: "payment-method" }, h("script", { key: '897bccdb0090b3e3b45b9913f7bdea6b838f63cb', src: "https://checkout-sdk.sezzle.com/checkout.min.js", async: true, ref: (el) => (this.scriptRef = el) }), h("div", { key: 'db32690b54bdb5045d701c888cd67c7d97d66243', class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick }, h("form-control-radio", { key: 'c3746a50bc7a5b8f079ed76c204790555983def1', name: "paymentMethodType", value: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, checked: this.isSelected, label: h("div", null, h("div", null, "Buy now, pay later with ", sezzleLogo), this.installmentPlan && (h("small", null, h("span", null, (_b = this.installmentPlan) === null || _b === void 0 ? void 0 : _b.installments.length), "\u00A0", h("span", null, this.installmentPlan.schedule, " payments of"), "\u00A0", h("span", { class: "fw-bold" }, formatCurrency((_c = this.installmentPlan) === null || _c === void 0 ? void 0 : _c.installments[0].amountInCents))))) }))));
|
|
71
69
|
}
|
|
72
70
|
static get is() { return "justifi-sezzle-payment-method"; }
|
|
73
71
|
static get properties() {
|
|
74
72
|
return {
|
|
75
|
-
"iframeOrigin": {
|
|
76
|
-
"type": "string",
|
|
77
|
-
"mutable": true,
|
|
78
|
-
"complexType": {
|
|
79
|
-
"original": "string",
|
|
80
|
-
"resolved": "string",
|
|
81
|
-
"references": {}
|
|
82
|
-
},
|
|
83
|
-
"required": false,
|
|
84
|
-
"optional": true,
|
|
85
|
-
"docs": {
|
|
86
|
-
"tags": [],
|
|
87
|
-
"text": ""
|
|
88
|
-
},
|
|
89
|
-
"attribute": "iframe-origin",
|
|
90
|
-
"reflect": false,
|
|
91
|
-
"defaultValue": "config.iframeOrigin"
|
|
92
|
-
},
|
|
93
73
|
"bnpl": {
|
|
94
74
|
"type": "any",
|
|
95
75
|
"mutable": false,
|