@justifi/webcomponents 5.0.0-rc-2 → 5.1.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 +56 -64
- 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-18426209.js → check-pkg-version-931df996.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-d6ef89ed.js → package-52ac8376.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 +35 -32
- 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 +779 -197
- 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 +55 -63
- 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-157854b7.js → check-pkg-version-f613bceb.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-9e3b7f9e.js → package-9b94eb81.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 +50 -43
- 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/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-0f4168f4.entry.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-14d21d66.entry.js +1 -0
- package/dist/webcomponents/p-156f0a23.entry.js +1 -0
- package/dist/webcomponents/p-16a9e343.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-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-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-3fa7d9c9.entry.js +1 -0
- package/dist/webcomponents/p-411382f3.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-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-4e92b1ac.entry.js +1 -0
- package/dist/webcomponents/{p-d75b52c8.entry.js → p-541b7c36.entry.js} +1 -1
- package/dist/webcomponents/p-560bc606.entry.js +1 -0
- package/dist/webcomponents/p-5d0763a5.js +1 -0
- package/dist/webcomponents/p-5d177a30.js +1 -0
- package/dist/webcomponents/p-67aef066.entry.js +1 -0
- package/dist/webcomponents/p-6b21b6c9.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-783f72a5.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-850b7717.entry.js +1 -0
- package/dist/webcomponents/p-87ce7b69.js +1 -0
- package/dist/webcomponents/p-8d61499c.entry.js +1 -0
- package/dist/webcomponents/p-9154210a.entry.js +1 -0
- package/dist/webcomponents/p-92d78790.js +1 -0
- package/dist/webcomponents/p-96bc127e.entry.js +1 -0
- package/dist/webcomponents/p-98e49e54.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-aee49e6e.entry.js +1 -0
- package/dist/webcomponents/p-b04da0de.entry.js +1 -0
- package/dist/webcomponents/{p-b1d4e520.entry.js → p-b78da082.entry.js} +1 -1
- package/dist/webcomponents/p-b7b18a0f.entry.js +1 -0
- package/dist/webcomponents/p-ba202e33.js +1 -0
- package/dist/webcomponents/p-bf07d5d0.entry.js +1 -0
- package/dist/webcomponents/p-c0e18724.entry.js +1 -0
- package/dist/webcomponents/{p-cefd50f8.entry.js → p-c65c07f7.entry.js} +1 -1
- 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-d6e51c2f.js +1 -0
- package/dist/webcomponents/{p-f9fdcc1a.entry.js → p-d86c1f11.entry.js} +2 -2
- package/dist/webcomponents/p-def672dc.entry.js +1 -0
- package/dist/webcomponents/p-df795bd0.entry.js +1 -0
- 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-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-0201ec6c.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-110cae83.entry.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-28029272.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-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-4eb3dcfa.entry.js +0 -1
- package/dist/webcomponents/p-5456a794.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-5c6d08a6.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-6f4bfdff.entry.js +0 -1
- package/dist/webcomponents/p-6fbd6abb.js +0 -1
- package/dist/webcomponents/p-6feeb9f2.js +0 -1
- package/dist/webcomponents/p-73a18b5a.entry.js +0 -1
- package/dist/webcomponents/p-7693ed02.entry.js +0 -1
- package/dist/webcomponents/p-7a975a3c.js +0 -1
- package/dist/webcomponents/p-7f796066.entry.js +0 -1
- package/dist/webcomponents/p-808bb677.entry.js +0 -1
- package/dist/webcomponents/p-83584c56.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-90dc2f2c.js +0 -1
- package/dist/webcomponents/p-9c2e00cc.js +0 -1
- package/dist/webcomponents/p-9ef9a625.entry.js +0 -1
- package/dist/webcomponents/p-a07b1816.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-b867dd5d.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-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-d960db89.entry.js +0 -1
- package/dist/webcomponents/p-db8c12ee.js +0 -1
- package/dist/webcomponents/p-e1ee92f5.entry.js +0 -1
- package/dist/webcomponents/p-e396506c.entry.js +0 -1
- package/dist/webcomponents/p-e723bc30.entry.js +0 -1
- package/dist/webcomponents/p-ec60d318.entry.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
- package/dist/webcomponents/p-f8a3b942.entry.js +0 -1
- package/dist/webcomponents/p-f99e8150.entry.js +0 -1
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
const config = {
|
|
2
|
+
proxyApiOrigin: "https://wc-proxy.justifi.ai",
|
|
3
|
+
proxyAuthToken: 'eyJraWQiOiJqdXN0aWZpLWUyNDgyMmU3ODE1MmEzZjRkMjU1IiwidHlwIjoiSldUIiwiYWxnIjoiUlMyNTYifQ.eyJpc3MiOiJodHRwczovL2F1dGguanVzdGlmaS5haS8iLCJhenAiOiJvYXNfMmlsWHBqOHQ2WVlEQ0xWU0FiVFczMiIsInN1YiI6Im9hc18yaWxYcGo4dDZZWURDTFZTQWJUVzMyQHNlc3Npb25zIiwiYXVkIjoiaHR0cHM6Ly9hcGkuanVzdGlmaS5haS92MSIsImd0eSI6ImNsaWVudC1jcmVkZW50aWFscyIsInBlcm1pc3Npb25zIjpbeyJyb2xlIjoicmVhZDphY2NvdW50IiwicmVzb3VyY2VfaWQiOiJhY2NfNUV0OWlYclNTQVpSMktTb3VRR0FXaSJ9LHsicm9sZSI6InJlYWQ6YnVzaW5lc3MiLCJyZXNvdXJjZV9pZCI6ImJpel8zYmg2OWJxMXJrM2RtWE5vQUtWb251In1dLCJleHAiOjE3MTE1NTk0MTQsImlhdCI6MTcwMzc4MzQxNCwicGxhdGZvcm1fYWNjb3VudF9pZCI6ImFjY18zcmVOYjRhTll5MmlXRFpRVmN6bXg0In0.oPOoDYxzrnpE8PRUaz-FCU4KqnSuNbFTeDkl3AtMscjUkIctP1OIFh-ZGBjbH5eVH5noXCbaiin0j92dS7jx4gLpxuYT2Q8gpZbuIsT7fa58elvGeRkUUJ-AC5ueZxlv90yPWMm0OIbyrV7XZhuwYyKbV-ZczEbl2JpvBMe40CM-LdClQV66d_-Kw9a23SabBVfYgP5V-5OsagOIESvzZoO-27tGlNkV2a-hxqddDCOZv0HvRYAtp5S7EQrmRdEBu5gCNbf1eRFG424hxZUFVr2LdetYuKQLxJjDdUjf86ZwEUecrEaDSupiN1VC3CitdOwBVf6-R_N0VpN4VLVD5g',
|
|
4
|
+
exampleAccountId: 'acc_5Et9iXrSSAZR2KSouQGAWi',
|
|
5
|
+
exampleBusinessId: 'biz_3bh69bq1rk3dmXNoAKVonu',
|
|
6
|
+
examplePaymentId: 'py_1NNeEnf4FbelxDCQN2RHcE',
|
|
7
|
+
examplePayoutId: 'po_17745yESnHyEgWNeunmhmR',
|
|
8
|
+
privateApiOrigin: '',
|
|
9
|
+
privateAuthToken: '',
|
|
10
|
+
};
|
|
11
|
+
|
|
1
12
|
// Unique ID creation requires a high quality random # generator. In the browser we therefore
|
|
2
13
|
// require the crypto API and do not support built-in fallback to lower quality random number
|
|
3
14
|
// generators (like Math.random()).
|
|
@@ -113,4 +124,4 @@ function handleError(requestUrl) {
|
|
|
113
124
|
console.error(`Error fetching from ${requestUrl}`);
|
|
114
125
|
}
|
|
115
126
|
|
|
116
|
-
export { Api as A };
|
|
127
|
+
export { Api as A, config as c };
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { f as formatCurrency } from './utils-b76d791e.js';
|
|
2
|
+
|
|
1
3
|
class Completion {
|
|
2
4
|
constructor(data) {
|
|
3
5
|
this.payment_mode = ICheckoutPaymentMode[data.payment_mode];
|
|
@@ -64,6 +66,10 @@ class Checkout {
|
|
|
64
66
|
return paymentMode;
|
|
65
67
|
}
|
|
66
68
|
;
|
|
69
|
+
formattedPaymentAmount(amount) {
|
|
70
|
+
return formatCurrency(amount, this.payment_currency);
|
|
71
|
+
}
|
|
72
|
+
;
|
|
67
73
|
}
|
|
68
74
|
var ICheckoutPaymentMode;
|
|
69
75
|
(function (ICheckoutPaymentMode) {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { f as formatCurrency } from './utils-b76d791e.js';
|
|
1
2
|
import { D as DisputeStatus } from './Dispute-5fd28ec9.js';
|
|
2
3
|
|
|
3
4
|
var CaptureStrategy;
|
|
@@ -30,6 +31,11 @@ var PaymentStatuses;
|
|
|
30
31
|
PaymentStatuses["fully_refunded"] = "fully_refunded";
|
|
31
32
|
PaymentStatuses["partially_refunded"] = "partially_refunded";
|
|
32
33
|
})(PaymentStatuses || (PaymentStatuses = {}));
|
|
34
|
+
var CurrencyTypes;
|
|
35
|
+
(function (CurrencyTypes) {
|
|
36
|
+
CurrencyTypes["usd"] = "usd";
|
|
37
|
+
CurrencyTypes["cad"] = "cad";
|
|
38
|
+
})(CurrencyTypes || (CurrencyTypes = {}));
|
|
33
39
|
class PaymentMethod {
|
|
34
40
|
constructor(paymentMethod) {
|
|
35
41
|
this.card = paymentMethod.card ? new Card(paymentMethod.card) : undefined;
|
|
@@ -82,6 +88,7 @@ class Payment {
|
|
|
82
88
|
constructor(payment) {
|
|
83
89
|
this.id = payment.id;
|
|
84
90
|
this.account_id = payment.account_id;
|
|
91
|
+
this.currency = payment.currency;
|
|
85
92
|
this.amount = payment.amount;
|
|
86
93
|
this.amount_disputed = payment.amount_disputed;
|
|
87
94
|
this.amount_refundable = payment.amount_refundable;
|
|
@@ -89,7 +96,6 @@ class Payment {
|
|
|
89
96
|
this.balance = payment.balance;
|
|
90
97
|
this.captured = payment.captured;
|
|
91
98
|
this.capture_strategy = payment.capture_strategy;
|
|
92
|
-
this.currency = payment.currency;
|
|
93
99
|
this.description = payment.description;
|
|
94
100
|
this.disputed = payment.disputed;
|
|
95
101
|
this.disputes = payment.disputes;
|
|
@@ -134,6 +140,9 @@ class Payment {
|
|
|
134
140
|
get last_four_digits() {
|
|
135
141
|
return this.payment_method.lastFourDigits;
|
|
136
142
|
}
|
|
143
|
+
formattedPaymentAmount(amount) {
|
|
144
|
+
return formatCurrency(amount, this.currency);
|
|
145
|
+
}
|
|
137
146
|
}
|
|
138
147
|
|
|
139
148
|
export { Payment as P, PaymentMethodTypes as a };
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { f as formatCurrency } from './utils-b76d791e.js';
|
|
2
|
+
|
|
1
3
|
var PayoutStatuses;
|
|
2
4
|
(function (PayoutStatuses) {
|
|
3
5
|
PayoutStatuses["paid"] = "paid";
|
|
@@ -20,9 +22,9 @@ class Payout {
|
|
|
20
22
|
constructor(payout) {
|
|
21
23
|
this.id = payout.id;
|
|
22
24
|
this.account_id = payout.account_id;
|
|
25
|
+
this.currency = payout.currency;
|
|
23
26
|
this.amount = payout.amount;
|
|
24
27
|
this.bank_account = payout.bank_account;
|
|
25
|
-
this.currency = payout.currency;
|
|
26
28
|
this.delivery_method = payout.delivery_method || 'standard';
|
|
27
29
|
this.description = payout.description;
|
|
28
30
|
this.deposits_at = payout.deposits_at;
|
|
@@ -41,6 +43,9 @@ class Payout {
|
|
|
41
43
|
get csv() {
|
|
42
44
|
return this.id;
|
|
43
45
|
}
|
|
46
|
+
formattedPaymentAmount(amount) {
|
|
47
|
+
return formatCurrency(amount, this.currency);
|
|
48
|
+
}
|
|
44
49
|
}
|
|
45
50
|
|
|
46
51
|
var TerminalStatuses;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host } from './index-29fcfdf5.js';
|
|
2
|
-
import { c as DetailItem, D as DetailSectionTitle } from './utils-
|
|
3
|
-
import { i as isEmptyObject, s as snakeCaseToHumanReadable, h as formatMediumDate } from './utils-
|
|
4
|
-
import './parts-
|
|
2
|
+
import { c as DetailItem, D as DetailSectionTitle } from './utils-7fb6331d.js';
|
|
3
|
+
import { i as isEmptyObject, s as snakeCaseToHumanReadable, h as formatMediumDate } from './utils-b76d791e.js';
|
|
4
|
+
import './parts-93f379ab.js';
|
|
5
5
|
|
|
6
6
|
const AdditionalQuestionsDetails = class {
|
|
7
7
|
constructor(hostRef) {
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { h } from './index-29fcfdf5.js';
|
|
2
|
+
import { n as badge, o as badgePrimary, p as badgeSecondary, q as badgeSuccess, r as badgeDanger, u as badgeWarning, v as badgeInfo, w as badgeLight, x as badgeDark } from './parts-93f379ab.js';
|
|
3
|
+
|
|
4
|
+
var BadgeVariant;
|
|
5
|
+
(function (BadgeVariant) {
|
|
6
|
+
BadgeVariant["PRIMARY"] = "primary";
|
|
7
|
+
BadgeVariant["SECONDARY"] = "secondary";
|
|
8
|
+
BadgeVariant["SUCCESS"] = "success";
|
|
9
|
+
BadgeVariant["DANGER"] = "danger";
|
|
10
|
+
BadgeVariant["WARNING"] = "warning";
|
|
11
|
+
BadgeVariant["INFO"] = "info";
|
|
12
|
+
BadgeVariant["LIGHT"] = "light";
|
|
13
|
+
BadgeVariant["DARK"] = "dark";
|
|
14
|
+
})(BadgeVariant || (BadgeVariant = {}));
|
|
15
|
+
const Badge = (props) => {
|
|
16
|
+
const { variant, text, title } = props;
|
|
17
|
+
const cssClasses = {
|
|
18
|
+
default: 'badge',
|
|
19
|
+
primary: 'badge bg-primary',
|
|
20
|
+
secondary: 'badge bg-secondary',
|
|
21
|
+
success: 'badge bg-success',
|
|
22
|
+
danger: 'badge bg-danger',
|
|
23
|
+
warning: 'badge bg-warning',
|
|
24
|
+
info: 'badge bg-info',
|
|
25
|
+
light: 'badge bg-light',
|
|
26
|
+
dark: 'badge bg-dark',
|
|
27
|
+
};
|
|
28
|
+
const badgeVariant = {
|
|
29
|
+
default: badge,
|
|
30
|
+
primary: badgePrimary,
|
|
31
|
+
secondary: badgeSecondary,
|
|
32
|
+
success: badgeSuccess,
|
|
33
|
+
danger: badgeDanger,
|
|
34
|
+
warning: badgeWarning,
|
|
35
|
+
info: badgeInfo,
|
|
36
|
+
light: badgeLight,
|
|
37
|
+
dark: badgeDark,
|
|
38
|
+
};
|
|
39
|
+
return (h("span", { class: cssClasses[variant] || cssClasses.default, part: badgeVariant[variant] || badgeVariant.default, title: title }, text));
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
export { Badge as B, BadgeVariant as a };
|
|
@@ -1,18 +1,10 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, c as createEvent } from './index-29fcfdf5.js';
|
|
2
2
|
import { i as iframeInputStylesSet } from './iframe-input-styles-state-ff730fe5.js';
|
|
3
|
-
import { i as inputInvalidAndFocused, b as inputInvalid, a as inputFocused, c as input,
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { n as numberOnlyHandler } from './utils-20cdf321.js';
|
|
8
|
-
import { c as config } from './config-187b3ae1.js';
|
|
9
|
-
import { H as Header3 } from './header-3-a1c6d475.js';
|
|
10
|
-
import { a as PaymentMethodTypes } from './Payment-4f72d277.js';
|
|
11
|
-
import { j as snakeToCamel, b as formatCurrency } from './utils-54543523.js';
|
|
3
|
+
import { i as inputInvalidAndFocused, b as inputInvalid, a as inputFocused, c as input, H as billingForm, I as radioListItem } from './parts-93f379ab.js';
|
|
4
|
+
import { H as Header3 } from './header-3-4a327395.js';
|
|
5
|
+
import { a as PaymentMethodTypes } from './Payment-47630113.js';
|
|
6
|
+
import { j as snakeToCamel, f as formatCurrency } from './utils-b76d791e.js';
|
|
12
7
|
import './index-a47fdc7f.js';
|
|
13
|
-
import './business-form-options-018f62a5.js';
|
|
14
|
-
import './Business-29c69f22.js';
|
|
15
|
-
import './helpers-96ea3464.js';
|
|
16
8
|
import './Dispute-5fd28ec9.js';
|
|
17
9
|
|
|
18
10
|
const BankAccountForm = class {
|
|
@@ -28,7 +20,7 @@ const BankAccountForm = class {
|
|
|
28
20
|
return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
29
21
|
}
|
|
30
22
|
render() {
|
|
31
|
-
return (h(Host, { key: '
|
|
23
|
+
return (h(Host, { key: '1fb5075ddb4ee824fa3fbb12079ae0b978ef4e45' }, h("div", { key: '5384dda318b8e809cbee84f5e7796b68f19b780c', class: "container-fluid p-0" }, h("div", { key: '8e9a05728736960ac0e7f0d33a7e46d37b6a04fa', class: "row mb-3" }, h("iframe-input", { key: '46f8a193ed56ea621aac1399e8d7b22a286fd857', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${"https://components.justifi.ai/v2"}/accountNumber` })), h("div", { key: '18db1dd7882e9c3d395f4c72833d96a8f7e1176d', class: "row" }, h("iframe-input", { key: 'ea1545703839166cb3352b789bac329f0d0b2918', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${"https://components.justifi.ai/v2"}/routingNumber` })))));
|
|
32
24
|
}
|
|
33
25
|
};
|
|
34
26
|
|
|
@@ -47,7 +39,7 @@ const CardForm = class {
|
|
|
47
39
|
return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
48
40
|
}
|
|
49
41
|
render() {
|
|
50
|
-
return (h(Host, { key: '
|
|
42
|
+
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: `${"https://components.justifi.ai/v2"}/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: `${"https://components.justifi.ai/v2"}/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: `${"https://components.justifi.ai/v2"}/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: `${"https://components.justifi.ai/v2"}/CVV` })))));
|
|
51
43
|
}
|
|
52
44
|
};
|
|
53
45
|
|
|
@@ -124,52 +116,54 @@ const HiddenInput = class {
|
|
|
124
116
|
return input;
|
|
125
117
|
}
|
|
126
118
|
render() {
|
|
127
|
-
return (h(Host, { key: '
|
|
119
|
+
return (h(Host, { key: 'ae03d3be50b34d6c98c8e1bd619f1d97049099a7' }, h("input", { key: '347725ba26e6aab3c0da4f9e3da5b2e4ec9f0e37', 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' } })));
|
|
128
120
|
}
|
|
129
121
|
};
|
|
130
122
|
|
|
131
|
-
const
|
|
132
|
-
name: identityNameValidation.required('Enter full name'),
|
|
133
|
-
address_line1: lineOneValidation.required('Enter street address'),
|
|
134
|
-
address_line2: lineTwoValidation.nullable(),
|
|
135
|
-
address_city: cityValidation.required('Enter city'),
|
|
136
|
-
address_state: stateValidation.required('Select state'),
|
|
137
|
-
address_postal_code: postalValidation.required('Enter postal code'),
|
|
138
|
-
});
|
|
139
|
-
|
|
140
|
-
const BillingForm = class {
|
|
123
|
+
const BillingFormWrapper = class {
|
|
141
124
|
constructor(hostRef) {
|
|
142
125
|
registerInstance(this, hostRef);
|
|
143
|
-
this.inputHandler = (name, value) => {
|
|
144
|
-
this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { [name]: value }));
|
|
145
|
-
};
|
|
146
126
|
this.legend = undefined;
|
|
147
|
-
this.
|
|
148
|
-
this.
|
|
149
|
-
this.errors = {};
|
|
127
|
+
this.hideCardBillingForm = undefined;
|
|
128
|
+
this.paymentMethodType = undefined;
|
|
150
129
|
}
|
|
151
|
-
|
|
152
|
-
this.
|
|
130
|
+
get hideFullBillingForm() {
|
|
131
|
+
return this.hideCardBillingForm && this.paymentMethodType === 'card';
|
|
153
132
|
}
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
133
|
+
async fill(fields) {
|
|
134
|
+
if (this.hideFullBillingForm) {
|
|
135
|
+
this.postalFormRef.fill(fields);
|
|
136
|
+
}
|
|
137
|
+
else {
|
|
138
|
+
this.billingFormRef.fill(fields);
|
|
139
|
+
}
|
|
159
140
|
}
|
|
160
141
|
async getValues() {
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
142
|
+
if (this.hideFullBillingForm) {
|
|
143
|
+
return this.postalFormRef.getValues();
|
|
144
|
+
}
|
|
145
|
+
else {
|
|
146
|
+
return this.billingFormRef.getValues();
|
|
147
|
+
}
|
|
165
148
|
}
|
|
166
149
|
async validate() {
|
|
167
|
-
|
|
168
|
-
|
|
150
|
+
if (this.hideFullBillingForm) {
|
|
151
|
+
return this.postalFormRef.validate();
|
|
152
|
+
}
|
|
153
|
+
else {
|
|
154
|
+
return this.billingFormRef.validate();
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
get renderedForm() {
|
|
158
|
+
if (this.hideFullBillingForm) {
|
|
159
|
+
return (h("postal-form", { ref: (el) => (this.postalFormRef = el) }));
|
|
160
|
+
}
|
|
161
|
+
else {
|
|
162
|
+
return (h("div", null, h(Header3, { text: "Billing address", class: "fs-6 fw-bold lh-lg mb-4" }), h("billing-form", { ref: (el) => (this.billingFormRef = el) })));
|
|
163
|
+
}
|
|
169
164
|
}
|
|
170
165
|
render() {
|
|
171
|
-
|
|
172
|
-
return (h(Host, { key: 'b3bb548839b39a87ad330b9048426baff317cae0' }, h("form", { key: '32e999825e5094e8e5399d46f67b67186f18d7b2' }, h("fieldset", { key: 'c8f13e2d392c45804bb51907a21ff80cb1148fd3' }, this.legend && h("legend", { key: 'c4117087a3391f8c28815069d832d6133459b250' }, this.legend), h("div", { key: '61d9de519f93d42bab36670108a6b923e30cff7f', class: "row gy-3" }, h("div", { key: '4753e297cbab92db6f073e9679ea9f3e9dacf432', class: "col-12" }, h("form-control-text", { key: '1f366def4cd8449cc242eb3bd71952a1548def08', name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: 'c7efc6968d6f776be84ac16b56a785965a81501b', class: "col-12" }, h("form-control-text", { key: '789ca132aabfe42381ce55ec343494b9ac766e73', name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), h("div", { key: 'f750e3800a361e78c58a31091b8d07437fe7fdcf', class: "col-12" }, h("form-control-text", { key: '66e06c53dec8b254bf5f7b1d4029c17523f2ceb7', name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), h("div", { key: '9868c2a9bcbed8c65ac8ca8d89ea2102fd0dd1c6', class: "col-12" }, h("form-control-text", { key: 'a637775b91a89fa32c54c97e6a97ec18b2e69024', name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), h("div", { key: '274656a1a879790c99a684da3aa6070f473e2d0b', class: "col-12" }, h("form-control-select", { key: '5fca9ff62f2e2f26fc936474133dbdf24183e86d', name: 'address_state', label: 'State', options: StateOptions, defaultValue: billingFormDefaultValue.address_state, errorText: this.errors.address_state, inputHandler: this.inputHandler })), h("div", { key: 'e24b2e9961e1a464a1d99fa4982814e7d43c5a79', class: "col-12" }, h("form-control-text", { key: '1992d68c496b1331a0efbbbeb03153f9155a77d3', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: numberOnlyHandler })))))));
|
|
166
|
+
return (h(Host, { key: '585ffd5fea9537675f0df77e1e4697a53dacf56f' }, h("div", { key: 'fb7cf4c2f763d64512b6f905aa29aded8060374c', part: billingForm }, this.renderedForm)));
|
|
173
167
|
}
|
|
174
168
|
};
|
|
175
169
|
|
|
@@ -185,23 +179,23 @@ const NewPaymentMethod = class {
|
|
|
185
179
|
e.preventDefault();
|
|
186
180
|
this.paymentMethodOptionSelected.emit(this.paymentMethodOption);
|
|
187
181
|
};
|
|
188
|
-
this.iframeOrigin = config.iframeOrigin;
|
|
189
182
|
this.authToken = undefined;
|
|
190
183
|
this.accountId = undefined;
|
|
191
184
|
this.paymentMethodOption = undefined;
|
|
192
185
|
this.paymentMethodGroupId = undefined;
|
|
193
186
|
this.isSelected = undefined;
|
|
187
|
+
this.hideCardBillingForm = undefined;
|
|
194
188
|
this.saveNewPaymentMethodChecked = false;
|
|
195
189
|
}
|
|
196
190
|
handleCheckboxChanged(event) {
|
|
197
191
|
this.saveNewPaymentMethodChecked = event.detail;
|
|
198
192
|
}
|
|
199
193
|
async fillBillingForm(fields) {
|
|
200
|
-
this.
|
|
194
|
+
this.billingFormWrapperRef.fill(fields);
|
|
201
195
|
}
|
|
202
196
|
async resolvePaymentMethod(insuranceValidation) {
|
|
203
197
|
var _a, _b;
|
|
204
|
-
if (!this.paymentMethodFormRef || !this.
|
|
198
|
+
if (!this.paymentMethodFormRef || !this.billingFormWrapperRef)
|
|
205
199
|
return;
|
|
206
200
|
try {
|
|
207
201
|
const isValid = await this.validate();
|
|
@@ -222,13 +216,13 @@ const NewPaymentMethod = class {
|
|
|
222
216
|
}
|
|
223
217
|
}
|
|
224
218
|
async validate() {
|
|
225
|
-
const billingFormValidation = await this.
|
|
219
|
+
const billingFormValidation = await this.billingFormWrapperRef.validate();
|
|
226
220
|
const paymentMethodFormValidation = await this.paymentMethodFormRef.validate();
|
|
227
221
|
return billingFormValidation.isValid && paymentMethodFormValidation.isValid;
|
|
228
222
|
}
|
|
229
223
|
async tokenize() {
|
|
230
224
|
try {
|
|
231
|
-
const billingFormFieldValues = await this.
|
|
225
|
+
const billingFormFieldValues = await this.billingFormWrapperRef.getValues();
|
|
232
226
|
let paymentMethodData;
|
|
233
227
|
if (this.saveNewPaymentMethodChecked) {
|
|
234
228
|
paymentMethodData = Object.assign(Object.assign({}, billingFormFieldValues), { payment_method_group_id: this.paymentMethodGroupId });
|
|
@@ -246,11 +240,12 @@ const NewPaymentMethod = class {
|
|
|
246
240
|
}
|
|
247
241
|
showNewPaymentMethodForm() {
|
|
248
242
|
var _a;
|
|
249
|
-
|
|
243
|
+
const paymentMethodType = (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id;
|
|
244
|
+
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 })));
|
|
250
245
|
}
|
|
251
246
|
render() {
|
|
252
247
|
var _a, _b;
|
|
253
|
-
return (h(Host, { key: '
|
|
248
|
+
return (h(Host, { key: 'd28e0908fee9817719cd79d91621792862cd4e81', class: "payment-method" }, h("div", { key: '021d8458af22180cd5db65f346ab5d205e214e45', class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick }, h("form-control-radio", { key: 'adaca7a258a726e97150e677e92004955e99a12c', 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));
|
|
254
249
|
}
|
|
255
250
|
};
|
|
256
251
|
|
|
@@ -277,7 +272,6 @@ var CardBrandLabels;
|
|
|
277
272
|
const PaymentMethodOptions = class {
|
|
278
273
|
constructor(hostRef) {
|
|
279
274
|
registerInstance(this, hostRef);
|
|
280
|
-
this.toggleCreatingNewPaymentMethod = createEvent(this, "toggleCreatingNewPaymentMethod", 7);
|
|
281
275
|
this.showCard = undefined;
|
|
282
276
|
this.showAch = undefined;
|
|
283
277
|
this.showBnpl = undefined;
|
|
@@ -287,9 +281,9 @@ const PaymentMethodOptions = class {
|
|
|
287
281
|
this.insuranceToggled = undefined;
|
|
288
282
|
this.authToken = undefined;
|
|
289
283
|
this.accountId = undefined;
|
|
290
|
-
this.iframeOrigin = config.iframeOrigin;
|
|
291
284
|
this.savedPaymentMethods = [];
|
|
292
285
|
this.paymentAmount = undefined;
|
|
286
|
+
this.hideCardBillingForm = undefined;
|
|
293
287
|
this.selectedPaymentMethodId = undefined;
|
|
294
288
|
this.paymentMethodOptions = [];
|
|
295
289
|
}
|
|
@@ -333,13 +327,13 @@ const PaymentMethodOptions = class {
|
|
|
333
327
|
}
|
|
334
328
|
render() {
|
|
335
329
|
var _a;
|
|
336
|
-
return (h(Host, { key: '
|
|
330
|
+
return (h(Host, { key: '22ab195ec840e971c774ad2886ebce979c13394d' }, (_a = this.paymentMethodOptions) === null || _a === void 0 ? void 0 : _a.map((paymentMethodOption) => {
|
|
337
331
|
const newCard = paymentMethodOption.id === PaymentMethodTypes.card;
|
|
338
332
|
const newBankAccount = paymentMethodOption.id === PaymentMethodTypes.bankAccount;
|
|
339
333
|
const isSelected = this.selectedPaymentMethodId === paymentMethodOption.id;
|
|
340
334
|
const sezzle = paymentMethodOption.id === PaymentMethodTypes.sezzle;
|
|
341
335
|
if (newCard || newBankAccount) {
|
|
342
|
-
return (h("justifi-new-payment-method", { paymentMethodOption: paymentMethodOption, authToken: this.authToken, "account-id": this.accountId, "is-selected": isSelected, paymentMethodGroupId: this.paymentMethodGroupId, ref: (el) => {
|
|
336
|
+
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) => {
|
|
343
337
|
if (isSelected) {
|
|
344
338
|
this.selectedPaymentMethodOptionRef = el;
|
|
345
339
|
}
|
|
@@ -377,7 +371,7 @@ const SaveNewPaymentMethod = class {
|
|
|
377
371
|
this.checkboxChanged.emit(this.isChecked);
|
|
378
372
|
}
|
|
379
373
|
render() {
|
|
380
|
-
return (h("div", { key: '
|
|
374
|
+
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) })));
|
|
381
375
|
}
|
|
382
376
|
};
|
|
383
377
|
|
|
@@ -389,7 +383,6 @@ const SavedPaymentMethod = class {
|
|
|
389
383
|
e.preventDefault();
|
|
390
384
|
this.paymentMethodOptionSelected.emit(this.paymentMethodOption);
|
|
391
385
|
};
|
|
392
|
-
this.iframeOrigin = config.iframeOrigin;
|
|
393
386
|
this.paymentMethodOption = undefined;
|
|
394
387
|
this.isSelected = undefined;
|
|
395
388
|
}
|
|
@@ -403,7 +396,7 @@ const SavedPaymentMethod = class {
|
|
|
403
396
|
;
|
|
404
397
|
render() {
|
|
405
398
|
var _a, _b, _c;
|
|
406
|
-
return (h(Host, { key: '
|
|
399
|
+
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}` }))));
|
|
407
400
|
}
|
|
408
401
|
};
|
|
409
402
|
|
|
@@ -448,7 +441,6 @@ const SezzlePaymentMethod = class {
|
|
|
448
441
|
this.sezzleCheckout = checkout;
|
|
449
442
|
this.installmentPlan = this.sezzleCheckout.getInstallmentPlan(amount);
|
|
450
443
|
};
|
|
451
|
-
this.iframeOrigin = config.iframeOrigin;
|
|
452
444
|
this.bnpl = undefined;
|
|
453
445
|
this.clientId = undefined;
|
|
454
446
|
this.accountId = undefined;
|
|
@@ -474,8 +466,8 @@ const SezzlePaymentMethod = class {
|
|
|
474
466
|
}
|
|
475
467
|
render() {
|
|
476
468
|
var _a, _b, _c;
|
|
477
|
-
return (h(Host, { key: '
|
|
469
|
+
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))))) }))));
|
|
478
470
|
}
|
|
479
471
|
};
|
|
480
472
|
|
|
481
|
-
export { BankAccountForm as bank_account_form, CardForm as card_form, HiddenInput as hidden_input,
|
|
473
|
+
export { BankAccountForm as bank_account_form, CardForm as card_form, HiddenInput as hidden_input, BillingFormWrapper as justifi_billing_form_wrapper, NewPaymentMethod as justifi_new_payment_method, PaymentMethodOptions as justifi_payment_method_options, SaveNewPaymentMethod as justifi_save_new_payment_method, SavedPaymentMethod as justifi_saved_payment_method, SezzlePaymentMethod as justifi_sezzle_payment_method };
|
|
@@ -1,10 +1,65 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-29fcfdf5.js';
|
|
2
|
-
import { F as
|
|
3
|
-
import {
|
|
2
|
+
import { c as create$3, F as FormController } from './index.esm-0b6849c2.js';
|
|
3
|
+
import { u as identityNameValidation, l as lineOneValidation, k as lineTwoValidation, m as cityValidation, n as stateValidation, q as postalValidation } from './schema-validations-5b0ac96b.js';
|
|
4
|
+
import { S as StateOptions } from './state-options-a356fb11.js';
|
|
5
|
+
import { n as numberOnlyHandler } from './utils-20cdf321.js';
|
|
6
|
+
import { F as FormControlErrorText } from './form-control-error-text-066cdad4.js';
|
|
7
|
+
import { p as packageJson } from './package-9b94eb81.js';
|
|
4
8
|
import { a as iframeInputStyles } from './iframe-input-styles-state-ff730fe5.js';
|
|
5
|
-
import { i as inputInvalidAndFocused, b as inputInvalid, a as inputFocused, c as input, l as label } from './parts-
|
|
9
|
+
import { i as inputInvalidAndFocused, b as inputInvalid, a as inputFocused, c as input, l as label } from './parts-93f379ab.js';
|
|
10
|
+
import './business-form-options-018f62a5.js';
|
|
11
|
+
import './Business-29c69f22.js';
|
|
12
|
+
import './helpers-96ea3464.js';
|
|
6
13
|
import './index-a47fdc7f.js';
|
|
7
14
|
|
|
15
|
+
const BillingFormSchema = create$3({
|
|
16
|
+
name: identityNameValidation.required('Enter full name'),
|
|
17
|
+
address_line1: lineOneValidation.required('Enter street address'),
|
|
18
|
+
address_line2: lineTwoValidation.nullable(),
|
|
19
|
+
address_city: cityValidation.required('Enter city'),
|
|
20
|
+
address_state: stateValidation.required('Select state'),
|
|
21
|
+
address_postal_code: postalValidation.required('Enter postal code'),
|
|
22
|
+
});
|
|
23
|
+
const PostalFormSchema = create$3({
|
|
24
|
+
address_postal_code: postalValidation.required('Enter postal code'),
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
const BillingForm = class {
|
|
28
|
+
constructor(hostRef) {
|
|
29
|
+
registerInstance(this, hostRef);
|
|
30
|
+
this.inputHandler = (name, value) => {
|
|
31
|
+
this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { [name]: value }));
|
|
32
|
+
};
|
|
33
|
+
this.legend = undefined;
|
|
34
|
+
this.formController = undefined;
|
|
35
|
+
this.billingInfo = undefined;
|
|
36
|
+
this.errors = {};
|
|
37
|
+
}
|
|
38
|
+
componentWillLoad() {
|
|
39
|
+
this.formController = new FormController(BillingFormSchema);
|
|
40
|
+
}
|
|
41
|
+
componentDidLoad() {
|
|
42
|
+
this.formController.values.subscribe(values => this.billingInfo = Object.assign({}, values));
|
|
43
|
+
this.formController.errors.subscribe(errors => {
|
|
44
|
+
this.errors = Object.assign({}, errors);
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
async getValues() {
|
|
48
|
+
return this.formController.values.getValue();
|
|
49
|
+
}
|
|
50
|
+
async fill(fields) {
|
|
51
|
+
this.formController.setInitialValues(fields);
|
|
52
|
+
}
|
|
53
|
+
async validate() {
|
|
54
|
+
let isValid = await this.formController.validate();
|
|
55
|
+
return { isValid: isValid };
|
|
56
|
+
}
|
|
57
|
+
render() {
|
|
58
|
+
const billingFormDefaultValue = this.formController.getInitialValues();
|
|
59
|
+
return (h(Host, { key: '2763b7ac25e51e9d206d6a0bc6ed28ec13f54cc3' }, h("form", { key: '758b52530cc945e9c3ce5a2ee11838a3776abc6b' }, h("fieldset", { key: '2ab7312e043d3cbc03993f11ac5692692319af4b' }, this.legend && h("legend", { key: '8e324a5bb2fabc975742e866341a3434e1950a3c' }, this.legend), h("div", { key: 'fafd0d9fa2784341dc80fea8c53d081d2c84af5d', class: "row gy-3" }, h("div", { key: '3aa18a756f3ea6ff9dcfa061cd845c714cab3540', class: "col-12" }, h("form-control-text", { key: '4b75c876eef667f3d353c802376774e7c1af1b84', name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: 'dddc81024aef4757c18b31db84204fc9e70f9ab1', class: "col-12" }, h("form-control-text", { key: 'd9d63301e3d87885de9414164c820df2013cb6ae', name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), h("div", { key: 'f96675211a63fc785b9e759aef44f4dd4b22e0a3', class: "col-12" }, h("form-control-text", { key: 'f2c6a24150d640f9efbfa1748f577e32550b3507', name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), h("div", { key: '83cf74afae2c4e899151cc5461a06632fef3c756', class: "col-12" }, h("form-control-text", { key: 'cbbf7dfac17eb69b2c9e80534051822cd4f94afd', name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), h("div", { key: '9331b691855dc4f9a60b746089552228a5b12942', class: "col-12" }, h("form-control-select", { key: 'f0f726fe2633ab45754691726a0008c4e50f41ac', name: 'address_state', label: 'State', options: StateOptions, defaultValue: billingFormDefaultValue.address_state, errorText: this.errors.address_state, inputHandler: this.inputHandler })), h("div", { key: '0d1d00ca86d09a370330cd9f3807783a8cd981a4', class: "col-12" }, h("form-control-text", { key: '0e43cfe70ca05a3d795d82f554453d12562b2ec9', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: numberOnlyHandler })))))));
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
|
|
8
63
|
var iframeResizer = {exports: {}};
|
|
9
64
|
|
|
10
65
|
/*
|
|
@@ -1614,10 +1669,10 @@ const IframeInput = class {
|
|
|
1614
1669
|
return params;
|
|
1615
1670
|
}
|
|
1616
1671
|
render() {
|
|
1617
|
-
return (h(Host, { key: '
|
|
1672
|
+
return (h(Host, { key: '0f84e1044b6bddb480dbb4b4fd2ba6f18d75a2a0', class: "form-group d-flex flex-column" }, h("div", { key: '25e6e196ccf3973b9a382f09efe5997bfb4abd1b', style: {
|
|
1618
1673
|
visibility: this.iframeLoaded ? 'visible' : 'hidden',
|
|
1619
1674
|
height: this.iframeLoaded ? 'auto' : '0',
|
|
1620
|
-
} }, h("label", { key: '
|
|
1675
|
+
} }, h("label", { key: 'eeddbc0a03692c053898b761fca84635cb3c9323', class: "form-label", htmlFor: "", part: label }, this.label || ''), h("div", { key: 'ce10d714ca67511b059adc4fb942ed42885f0a1a', 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: '85bedd02d3013ad4973d3ecfa0a7c530fddf5a7a', id: this.inputId, name: this.inputId, src: `${this.iframeOrigin}?${this.urlParams}`, ref: el => {
|
|
1621
1676
|
this.iframeElement = el;
|
|
1622
1677
|
this.initializeFrameCommunicationService();
|
|
1623
1678
|
}, width: "100%", onLoad: () => {
|
|
@@ -1627,9 +1682,45 @@ const IframeInput = class {
|
|
|
1627
1682
|
this.iframeLoaded = true;
|
|
1628
1683
|
}
|
|
1629
1684
|
}, this.iframeElement);
|
|
1630
|
-
} })), h(FormControlErrorText, { key: '
|
|
1685
|
+
} })), h(FormControlErrorText, { key: '6533642027fa5184e120452f19e5274476210301', errorText: this.errorText, name: this.inputId }))));
|
|
1631
1686
|
}
|
|
1632
1687
|
get el() { return getElement(this); }
|
|
1633
1688
|
};
|
|
1634
1689
|
|
|
1635
|
-
|
|
1690
|
+
const PostalForm = class {
|
|
1691
|
+
constructor(hostRef) {
|
|
1692
|
+
registerInstance(this, hostRef);
|
|
1693
|
+
this.inputHandler = (name, value) => {
|
|
1694
|
+
this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { [name]: value }));
|
|
1695
|
+
};
|
|
1696
|
+
this.legend = undefined;
|
|
1697
|
+
this.formController = undefined;
|
|
1698
|
+
this.billingInfo = undefined;
|
|
1699
|
+
this.errors = {};
|
|
1700
|
+
}
|
|
1701
|
+
componentWillLoad() {
|
|
1702
|
+
this.formController = new FormController(PostalFormSchema);
|
|
1703
|
+
}
|
|
1704
|
+
componentDidLoad() {
|
|
1705
|
+
this.formController.values.subscribe(values => this.billingInfo = Object.assign({}, values));
|
|
1706
|
+
this.formController.errors.subscribe(errors => {
|
|
1707
|
+
this.errors = Object.assign({}, errors);
|
|
1708
|
+
});
|
|
1709
|
+
}
|
|
1710
|
+
async getValues() {
|
|
1711
|
+
return this.formController.values.getValue();
|
|
1712
|
+
}
|
|
1713
|
+
async fill(fields) {
|
|
1714
|
+
this.formController.setInitialValues(fields);
|
|
1715
|
+
}
|
|
1716
|
+
async validate() {
|
|
1717
|
+
let isValid = await this.formController.validate();
|
|
1718
|
+
return { isValid: isValid };
|
|
1719
|
+
}
|
|
1720
|
+
render() {
|
|
1721
|
+
const postalFormDefaultValue = this.formController.getInitialValues();
|
|
1722
|
+
return (h(Host, { key: 'e798e67c159b53a995e4a60246c6f6d6e872f1ec' }, h("form", { key: '24d6980de772a360c0218e9ab50550dcee5786d5' }, h("fieldset", { key: '9e990836becccdf5d12a9e15e2eb7f4078f74b08' }, this.legend && h("legend", { key: '12d445b392cf03114dbd2a37391ecc1b87304868' }, this.legend), h("div", { key: '2d2fed9cf30b3869633b80b39b7684dfde66f6b7', class: "row gy-3" }, h("div", { key: '8ec042863e646d5daffeb3fbb5395336406adcde', class: "col-12" }, h("form-control-text", { key: '82a2c18c2a7eef7ba7ac46e53dfc9c975c8d28b7', name: 'address_postal_code', label: "ZIP", defaultValue: postalFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: numberOnlyHandler })))))));
|
|
1723
|
+
}
|
|
1724
|
+
};
|
|
1725
|
+
|
|
1726
|
+
export { BillingForm as billing_form, IframeInput as iframe_input, PostalForm as postal_form };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as create$3 } from './index.esm-0b6849c2.js';
|
|
2
|
-
import { b as businessNameValidation, w as websiteUrlValidation, e as emailValidation, p as phoneValidation, d as doingBusinessAsValidation, a as businessClassificationValidation, i as industryValidation, t as taxIdValidation, c as dateOfIncorporationValidation, r as revenueValidation, f as paymentVolumeValidation, g as whenServiceReceivedValidation, h as recurringPaymentsValidation, j as recurringPaymentsPercentageValidation, s as seasonalBusinessValidation, o as otherPaymentDetailsValidation } from './schema-validations-
|
|
2
|
+
import { b as businessNameValidation, w as websiteUrlValidation, e as emailValidation, p as phoneValidation, d as doingBusinessAsValidation, a as businessClassificationValidation, i as industryValidation, t as taxIdValidation, c as dateOfIncorporationValidation, r as revenueValidation, f as paymentVolumeValidation, g as whenServiceReceivedValidation, h as recurringPaymentsValidation, j as recurringPaymentsPercentageValidation, s as seasonalBusinessValidation, o as otherPaymentDetailsValidation } from './schema-validations-5b0ac96b.js';
|
|
3
3
|
|
|
4
4
|
const businessCoreInfoSchema = (allowOptionalFields) => {
|
|
5
5
|
const schema = create$3({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h, F as Fragment, r as registerInstance, c as createEvent } from './index-29fcfdf5.js';
|
|
2
|
-
import { E as ErrorState } from './utils-
|
|
2
|
+
import { E as ErrorState } from './utils-7fb6331d.js';
|
|
3
3
|
import { S as StyledHost } from './styled-host-32228b45.js';
|
|
4
|
-
import { S as Skeleton } from './skeleton-
|
|
5
|
-
import './parts-
|
|
4
|
+
import { S as Skeleton } from './skeleton-3bcb2b5d.js';
|
|
5
|
+
import './parts-93f379ab.js';
|
|
6
6
|
|
|
7
7
|
const BusinessDetailsLoading = () => {
|
|
8
8
|
const Block = () => (h("div", { class: "mt-5" },
|
package/dist/esm/{business-identity-schema-75126188.js → business-identity-schema-8b0f1619.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as create$3, a as create$6 } from './index.esm-0b6849c2.js';
|
|
2
|
-
import { l as lineOneValidation, k as lineTwoValidation, m as cityValidation, n as stateValidation, q as postalValidation, u as identityNameValidation, v as identityTitleValidation, e as emailValidation, p as phoneValidation, x as dobValidation, y as ssnValidation } from './schema-validations-
|
|
2
|
+
import { l as lineOneValidation, k as lineTwoValidation, m as cityValidation, n as stateValidation, q as postalValidation, u as identityNameValidation, v as identityTitleValidation, e as emailValidation, p as phoneValidation, x as dobValidation, y as ssnValidation } from './schema-validations-5b0ac96b.js';
|
|
3
3
|
|
|
4
4
|
const addressSchema = (allowOptionalFields) => {
|
|
5
5
|
const schema = create$3({
|