@justifi/webcomponents 5.0.0 → 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-05db7d8e.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-48c58886.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-95b9be89.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-223933b4.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-1e6077f4.js → p-6b21b6c9.js} +1 -1
- 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-a47971d8.entry.js → p-c0e18724.entry.js} +1 -1
- package/dist/webcomponents/{p-47e7f876.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-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
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { c as create$3, e as create$5, F as FormController } from './form.js';
|
|
3
|
-
import { A as Api } from './
|
|
3
|
+
import { A as Api, c as config } from './config.js';
|
|
4
4
|
import './Checkout.js';
|
|
5
5
|
import './Pagination.js';
|
|
6
6
|
import './Payment.js';
|
|
7
7
|
import './SubAccount.js';
|
|
8
|
-
import { c as config } from './config.js';
|
|
9
8
|
import { C as CURRENCY_MASK } from './form-input-masks.js';
|
|
10
9
|
import { S as StyledHost } from './styled-host.js';
|
|
11
10
|
import './details.js';
|
|
@@ -99,7 +98,7 @@ const RefundForm = /*@__PURE__*/ proxyCustomElement(class RefundForm extends HTM
|
|
|
99
98
|
}
|
|
100
99
|
render() {
|
|
101
100
|
var _a;
|
|
102
|
-
return (h(StyledHost, { key: '
|
|
101
|
+
return (h(StyledHost, { key: 'a337107e01f347769c24535d875ae75e7cfff526' }, h("h1", { key: '254b014414fffc6e3af12d22c50528915ea4d698' }, "Refund"), this.refundInfoText && (h("div", { key: 'c8eee08dfdd58a87add1a8bbf6b76521db955d32', class: "d-flex align-items-center flex-row gap-4 border-top border-bottom my-4 p-3", role: "alert" }, h("img", { key: '8374d6e0854c35e41429b588ef373c7ed2e2368d', src: "/info-icon.svg", alt: "Information", height: "30", width: "30" }), h("p", { key: '0c4412de09f5538e3f125e9413b75b416c10f820', class: "m-0", innerHTML: this.refundInfoText }))), h("form", { key: '5c51fdc06f7c57851e4db6f797a830602cb31b33', onSubmit: e => this.handleSubmit(e), class: "d-grid gap-4" }, h("div", { key: '1b1e09d20d0b191491cdbcea601762c6c967d56b', class: "form-group" }, h("form-control-monetary", { key: 'f90e440f11213dfe4ae84675bf8ca22dc67b0e12', name: "amount", label: "Refund Amount", defaultValue: ((_a = this.amount) === null || _a === void 0 ? void 0 : _a.toString()) || '', maskOptions: CURRENCY_MASK.DECIMAL, inputHandler: (name, value) => this.handleInput(name, value), errorText: this.errors.amount })), h("div", { key: 'd61ef9b10a1ef128afaee01f91c70fb621f50cb0', class: "form-group" }, h("form-control-text", { key: 'bbe2fc33746f333cbc35fa25b2852219e2dbfbef', name: "notes", label: "Additional Notes", inputHandler: (name, value) => this.handleInput(name, value), errorText: this.errors.notes })), this.withButton && (h("div", { key: '5ca8e922e08881739b403bd9cc4ab21719793961', class: "form-group d-flex flex-row-reverse" }, h("button", { key: '2d971109b53c27779bcf11cd38d3b1b073ecd65d', type: "submit", disabled: !!this.isSubmitting, class: "btn btn-primary ml-auto" }, this.submitButtonText))))));
|
|
103
102
|
}
|
|
104
103
|
}, [1, "justifi-refund-form", {
|
|
105
104
|
"authToken": [1, "auth-token"],
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
-
import { A as Api } from './
|
|
2
|
+
import { A as Api, c as config } from './config.js';
|
|
3
3
|
import './Checkout.js';
|
|
4
4
|
import './Pagination.js';
|
|
5
5
|
import './Payment.js';
|
|
6
6
|
import './SubAccount.js';
|
|
7
|
-
import {
|
|
8
|
-
import { g as getErrorMessage, a as getErrorCode } from './utils3.js';
|
|
7
|
+
import { g as getErrorMessage, a as getErrorCode } from './utils4.js';
|
|
9
8
|
import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './ComponentError.js';
|
|
10
9
|
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
|
|
11
10
|
import { d as defineCustomElement$4 } from './form-control-help-text3.js';
|
|
@@ -110,7 +109,9 @@ const SeasonInterruptionInsurance = /*@__PURE__*/ proxyCustomElement(class Seaso
|
|
|
110
109
|
this.initializeServiceMethods();
|
|
111
110
|
}
|
|
112
111
|
disconnectedCallback() {
|
|
113
|
-
this.analytics
|
|
112
|
+
if (this.analytics) {
|
|
113
|
+
this.analytics.cleanup();
|
|
114
|
+
}
|
|
114
115
|
}
|
|
115
116
|
initializeServiceMethods() {
|
|
116
117
|
if (!this.authToken) {
|
|
@@ -131,7 +132,7 @@ const SeasonInterruptionInsurance = /*@__PURE__*/ proxyCustomElement(class Seaso
|
|
|
131
132
|
});
|
|
132
133
|
}
|
|
133
134
|
render() {
|
|
134
|
-
return (h("justifi-season-interruption-insurance-core", { key: '
|
|
135
|
+
return (h("justifi-season-interruption-insurance-core", { key: '737ad53975405a658c2fc46533eb02351833b280', ref: (el) => (this.seasonInterruptionCoreRef = el), "checkout-id": this.checkoutId, getQuote: this.getQuote, toggleCoverage: this.toggleCoverage, "primary-identity-first-name": this.primaryIdentityFirstName, "primary-identity-last-name": this.primaryIdentityLastName, "primary-identity-state": this.primaryIdentityState, "primary-identity-postal-code": this.primaryIdentityPostalCode, "primary-identity-country": this.primaryIdentityCountry, "primary-identity-email-address": this.primaryIdentityEmailAddress, "policy-attributes-insurable-amount": this.policyAttributesInsurableAmount, "policy-attributes-start-date": this.policyAttributesStartDate, "policy-attributes-end-date": this.policyAttributesEndDate, "covered-identity-first-name": this.coveredIdentityFirstName, "covered-identity-last-name": this.coveredIdentityLastName }));
|
|
135
136
|
}
|
|
136
137
|
}, [1, "justifi-season-interruption-insurance", {
|
|
137
138
|
"authToken": [1, "auth-token"],
|
|
@@ -31,7 +31,7 @@ const TerminalsListFilters = /*@__PURE__*/ proxyCustomElement(class TerminalsLis
|
|
|
31
31
|
];
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (h(StyledHost, { key: '
|
|
34
|
+
return (h(StyledHost, { key: 'ab88bb5f5cf8f00a875a8c42cacb9649482a8758' }, h("table-filters-menu", { key: 'a214db5a19018dd6df144ef014cf8ea17f6e5efe', params: Object.assign({}, queryParams), clearParams: clearParams }, h("div", { key: '359432076455e6b25bfd30179bd1c66e13cacd52', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '5747e19b82b667d6d3381fd02767d4a27dd82c44', class: "p-2" }, h("form-control-text", { key: 'bc20c285338bf9d1d5c8633bc658c39ccadfeb40', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: queryParams.terminal_id })), h("div", { key: 'fed89678f531c8d3041fdcbc4f77eb81e5387018', class: "p-2" }, h("form-control-select", { key: '5958ccdebe430ce930d1258fa825aeebb6e9065a', name: "status", label: "Status", options: this.terminalStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: queryParams.status || '' }))))));
|
|
35
35
|
}
|
|
36
36
|
}, [1, "justifi-terminals-list-filters"]);
|
|
37
37
|
function defineCustomElement$1() {
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './ComponentError.js';
|
|
3
3
|
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
|
|
4
|
-
import { c as config } from './config.js';
|
|
5
|
-
import { A as Api } from './Api.js';
|
|
4
|
+
import { A as Api, c as config } from './config.js';
|
|
6
5
|
import './Checkout.js';
|
|
7
6
|
import './Pagination.js';
|
|
8
7
|
import './Payment.js';
|
|
9
8
|
import { T as Terminal } from './SubAccount.js';
|
|
10
|
-
import { g as getErrorMessage, a as getErrorCode } from './
|
|
9
|
+
import { g as getErrorMessage, a as getErrorCode } from './utils4.js';
|
|
11
10
|
import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts.js';
|
|
12
11
|
import { S as StyledHost } from './styled-host.js';
|
|
13
12
|
import './details.js';
|
|
@@ -124,7 +123,7 @@ const TerminalsList = /*@__PURE__*/ proxyCustomElement(class TerminalsList exten
|
|
|
124
123
|
}
|
|
125
124
|
}
|
|
126
125
|
render() {
|
|
127
|
-
return (h(StyledHost, { key: '
|
|
126
|
+
return (h(StyledHost, { key: '50ee7da4209367703551642456e6df1b38c20cb7' }, h("terminals-list-core", { key: 'e445dbf65c53397757f60d844bd50cafa8d32556', getTerminals: this.getTerminals, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
128
127
|
}
|
|
129
128
|
static get watchers() { return {
|
|
130
129
|
"accountId": ["propChanged"],
|
|
@@ -2,25 +2,27 @@ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/i
|
|
|
2
2
|
import { B as Button } from './button.js';
|
|
3
3
|
import { S as StyledHost } from './styled-host.js';
|
|
4
4
|
import './details.js';
|
|
5
|
-
import { a as ComponentErrorSeverity } from './ComponentError.js';
|
|
5
|
+
import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './ComponentError.js';
|
|
6
6
|
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
|
|
7
|
-
import { d as defineCustomElement$
|
|
8
|
-
import { d as defineCustomElement$
|
|
9
|
-
import { d as defineCustomElement$
|
|
10
|
-
import { d as defineCustomElement$
|
|
11
|
-
import { d as defineCustomElement$
|
|
12
|
-
import { d as defineCustomElement$
|
|
13
|
-
import { d as defineCustomElement$
|
|
14
|
-
import { d as defineCustomElement$
|
|
15
|
-
import { d as defineCustomElement$
|
|
16
|
-
import { d as defineCustomElement$
|
|
17
|
-
import { d as defineCustomElement$
|
|
18
|
-
import { d as defineCustomElement$
|
|
19
|
-
import { d as defineCustomElement$
|
|
20
|
-
import { d as defineCustomElement$
|
|
21
|
-
import { d as defineCustomElement$
|
|
22
|
-
import { d as defineCustomElement$
|
|
23
|
-
import { d as defineCustomElement$
|
|
7
|
+
import { d as defineCustomElement$k } from './bank-account-form2.js';
|
|
8
|
+
import { d as defineCustomElement$j } from './billing-form2.js';
|
|
9
|
+
import { d as defineCustomElement$i } from './card-form2.js';
|
|
10
|
+
import { d as defineCustomElement$h } from './custom-popper2.js';
|
|
11
|
+
import { d as defineCustomElement$g } from './form-control-checkbox2.js';
|
|
12
|
+
import { d as defineCustomElement$f } from './form-control-help-text3.js';
|
|
13
|
+
import { d as defineCustomElement$e } from './form-control-radio2.js';
|
|
14
|
+
import { d as defineCustomElement$d } from './form-control-select2.js';
|
|
15
|
+
import { d as defineCustomElement$c } from './form-control-text2.js';
|
|
16
|
+
import { d as defineCustomElement$b } from './form-control-tooltip2.js';
|
|
17
|
+
import { d as defineCustomElement$a } from './hidden-input2.js';
|
|
18
|
+
import { d as defineCustomElement$9 } from './iframe-input2.js';
|
|
19
|
+
import { d as defineCustomElement$8 } from './billing-form-wrapper.js';
|
|
20
|
+
import { d as defineCustomElement$7 } from './new-payment-method.js';
|
|
21
|
+
import { d as defineCustomElement$6 } from './payment-method-options.js';
|
|
22
|
+
import { d as defineCustomElement$5 } from './save-new-payment-method.js';
|
|
23
|
+
import { d as defineCustomElement$4 } from './saved-payment-method.js';
|
|
24
|
+
import { d as defineCustomElement$3 } from './sezzle-payment-method.js';
|
|
25
|
+
import { d as defineCustomElement$2 } from './postal-form2.js';
|
|
24
26
|
|
|
25
27
|
const TokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class TokenizePaymentMethod extends HTMLElement {
|
|
26
28
|
constructor() {
|
|
@@ -32,44 +34,60 @@ const TokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class TokenizePay
|
|
|
32
34
|
this.authToken = undefined;
|
|
33
35
|
this.accountId = undefined;
|
|
34
36
|
this.paymentMethodGroupId = undefined;
|
|
35
|
-
this.isLoading = true;
|
|
36
37
|
this.submitButtonText = undefined;
|
|
37
38
|
this.disableCreditCard = undefined;
|
|
38
39
|
this.disableBankAccount = undefined;
|
|
40
|
+
this.hideSubmitButton = undefined;
|
|
41
|
+
this.hideCardBillingForm = undefined;
|
|
42
|
+
this.isLoading = false;
|
|
39
43
|
}
|
|
40
44
|
componentWillLoad() {
|
|
41
45
|
checkPkgVersion();
|
|
42
46
|
this.analytics = new JustifiAnalytics(this);
|
|
43
|
-
this.isLoading = false;
|
|
44
47
|
}
|
|
45
48
|
async tokenizePaymentMethod(event) {
|
|
46
49
|
event && event.preventDefault();
|
|
47
|
-
|
|
48
|
-
|
|
50
|
+
this.isLoading = true;
|
|
51
|
+
try {
|
|
52
|
+
const tokenizeResponse = await this.paymentMethodOptionsRef.resolvePaymentMethod({ isValid: true });
|
|
53
|
+
if (tokenizeResponse.error) {
|
|
54
|
+
this.errorEvent.emit({
|
|
55
|
+
errorCode: tokenizeResponse.error.code,
|
|
56
|
+
message: tokenizeResponse.error.message,
|
|
57
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
else if (tokenizeResponse.token) {
|
|
61
|
+
this.submitEvent.emit({ response: tokenizeResponse });
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
catch (error) {
|
|
49
65
|
this.errorEvent.emit({
|
|
50
|
-
errorCode:
|
|
51
|
-
message:
|
|
66
|
+
errorCode: ComponentErrorCodes.TOKENIZE_ERROR,
|
|
67
|
+
message: error.message,
|
|
52
68
|
severity: ComponentErrorSeverity.ERROR,
|
|
53
69
|
});
|
|
54
70
|
}
|
|
55
|
-
|
|
56
|
-
this.
|
|
71
|
+
finally {
|
|
72
|
+
this.isLoading = false;
|
|
57
73
|
}
|
|
58
74
|
}
|
|
59
75
|
async fillBillingForm(fields) {
|
|
60
76
|
this.paymentMethodOptionsRef.fillBillingForm(fields);
|
|
61
77
|
}
|
|
62
78
|
render() {
|
|
63
|
-
return (h(StyledHost, { key: '
|
|
79
|
+
return (h(StyledHost, { key: 'c8c9318c6bbde09a0d56ded9c7333958c5595574' }, h("form", { key: '1c36ac872c58b1a560a658f0b5a0cab9284d3969' }, h("fieldset", { key: 'c43c95a5debbb5a58db162c1f34e0845a2ab76f2' }, h("div", { key: 'c6bc1f6148395e6cfc9185919b0bd81716c1ac99', class: "row gy-3" }, h("div", { key: '887ae3e3bf713ee79b24ae1b4cd12156502d6143', class: "col-12" }, h("justifi-payment-method-options", { key: '06c89583f5d1dee641c90145d129f7192911d00e', ref: (el) => (this.paymentMethodOptionsRef = el), "show-card": !this.disableCreditCard, "show-ach": !this.disableBankAccount, "show-bnpl": false, paymentMethodGroupId: this.paymentMethodGroupId, "show-saved-payment-methods": false, hideCardBillingForm: this.hideCardBillingForm, authToken: this.authToken, "account-id": this.accountId })), h("div", { key: '04e0ee27d0978a68d44c71c6f7767d685449ed1d', class: "col-12" }, h(Button, { key: '3e43eb8295cc7eba0e2914d94a337f724cd52b57', variant: "primary", type: "submit", onClick: event => this.tokenizePaymentMethod(event), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.hideSubmitButton }, this.submitButtonText || 'Submit')))))));
|
|
64
80
|
}
|
|
65
81
|
}, [1, "justifi-tokenize-payment-method", {
|
|
66
82
|
"authToken": [1, "auth-token"],
|
|
67
83
|
"accountId": [1, "account-id"],
|
|
68
84
|
"paymentMethodGroupId": [1, "payment-method-group-id"],
|
|
69
|
-
"isLoading": [4, "is-loading"],
|
|
70
85
|
"submitButtonText": [1, "submit-button-text"],
|
|
71
86
|
"disableCreditCard": [4, "disable-credit-card"],
|
|
72
87
|
"disableBankAccount": [4, "disable-bank-account"],
|
|
88
|
+
"hideSubmitButton": [4, "hide-submit-button"],
|
|
89
|
+
"hideCardBillingForm": [4, "hide-card-billing-form"],
|
|
90
|
+
"isLoading": [32],
|
|
73
91
|
"tokenizePaymentMethod": [64],
|
|
74
92
|
"fillBillingForm": [64]
|
|
75
93
|
}]);
|
|
@@ -77,7 +95,7 @@ function defineCustomElement$1() {
|
|
|
77
95
|
if (typeof customElements === "undefined") {
|
|
78
96
|
return;
|
|
79
97
|
}
|
|
80
|
-
const components = ["justifi-tokenize-payment-method", "bank-account-form", "card-form", "custom-popper", "form-control-checkbox", "form-control-help-text", "form-control-radio", "form-control-select", "form-control-text", "form-control-tooltip", "hidden-input", "iframe-input", "justifi-billing-form", "justifi-new-payment-method", "justifi-payment-method-options", "justifi-save-new-payment-method", "justifi-saved-payment-method", "justifi-sezzle-payment-method"];
|
|
98
|
+
const components = ["justifi-tokenize-payment-method", "bank-account-form", "billing-form", "card-form", "custom-popper", "form-control-checkbox", "form-control-help-text", "form-control-radio", "form-control-select", "form-control-text", "form-control-tooltip", "hidden-input", "iframe-input", "justifi-billing-form-wrapper", "justifi-new-payment-method", "justifi-payment-method-options", "justifi-save-new-payment-method", "justifi-saved-payment-method", "justifi-sezzle-payment-method", "postal-form"];
|
|
81
99
|
components.forEach(tagName => { switch (tagName) {
|
|
82
100
|
case "justifi-tokenize-payment-method":
|
|
83
101
|
if (!customElements.get(tagName)) {
|
|
@@ -86,85 +104,95 @@ function defineCustomElement$1() {
|
|
|
86
104
|
break;
|
|
87
105
|
case "bank-account-form":
|
|
88
106
|
if (!customElements.get(tagName)) {
|
|
89
|
-
defineCustomElement$
|
|
107
|
+
defineCustomElement$k();
|
|
108
|
+
}
|
|
109
|
+
break;
|
|
110
|
+
case "billing-form":
|
|
111
|
+
if (!customElements.get(tagName)) {
|
|
112
|
+
defineCustomElement$j();
|
|
90
113
|
}
|
|
91
114
|
break;
|
|
92
115
|
case "card-form":
|
|
93
116
|
if (!customElements.get(tagName)) {
|
|
94
|
-
defineCustomElement$
|
|
117
|
+
defineCustomElement$i();
|
|
95
118
|
}
|
|
96
119
|
break;
|
|
97
120
|
case "custom-popper":
|
|
98
121
|
if (!customElements.get(tagName)) {
|
|
99
|
-
defineCustomElement$
|
|
122
|
+
defineCustomElement$h();
|
|
100
123
|
}
|
|
101
124
|
break;
|
|
102
125
|
case "form-control-checkbox":
|
|
103
126
|
if (!customElements.get(tagName)) {
|
|
104
|
-
defineCustomElement$
|
|
127
|
+
defineCustomElement$g();
|
|
105
128
|
}
|
|
106
129
|
break;
|
|
107
130
|
case "form-control-help-text":
|
|
108
131
|
if (!customElements.get(tagName)) {
|
|
109
|
-
defineCustomElement$
|
|
132
|
+
defineCustomElement$f();
|
|
110
133
|
}
|
|
111
134
|
break;
|
|
112
135
|
case "form-control-radio":
|
|
113
136
|
if (!customElements.get(tagName)) {
|
|
114
|
-
defineCustomElement$
|
|
137
|
+
defineCustomElement$e();
|
|
115
138
|
}
|
|
116
139
|
break;
|
|
117
140
|
case "form-control-select":
|
|
118
141
|
if (!customElements.get(tagName)) {
|
|
119
|
-
defineCustomElement$
|
|
142
|
+
defineCustomElement$d();
|
|
120
143
|
}
|
|
121
144
|
break;
|
|
122
145
|
case "form-control-text":
|
|
123
146
|
if (!customElements.get(tagName)) {
|
|
124
|
-
defineCustomElement$
|
|
147
|
+
defineCustomElement$c();
|
|
125
148
|
}
|
|
126
149
|
break;
|
|
127
150
|
case "form-control-tooltip":
|
|
128
151
|
if (!customElements.get(tagName)) {
|
|
129
|
-
defineCustomElement$
|
|
152
|
+
defineCustomElement$b();
|
|
130
153
|
}
|
|
131
154
|
break;
|
|
132
155
|
case "hidden-input":
|
|
133
156
|
if (!customElements.get(tagName)) {
|
|
134
|
-
defineCustomElement$
|
|
157
|
+
defineCustomElement$a();
|
|
135
158
|
}
|
|
136
159
|
break;
|
|
137
160
|
case "iframe-input":
|
|
161
|
+
if (!customElements.get(tagName)) {
|
|
162
|
+
defineCustomElement$9();
|
|
163
|
+
}
|
|
164
|
+
break;
|
|
165
|
+
case "justifi-billing-form-wrapper":
|
|
138
166
|
if (!customElements.get(tagName)) {
|
|
139
167
|
defineCustomElement$8();
|
|
140
168
|
}
|
|
141
169
|
break;
|
|
142
|
-
case "justifi-
|
|
170
|
+
case "justifi-new-payment-method":
|
|
143
171
|
if (!customElements.get(tagName)) {
|
|
144
172
|
defineCustomElement$7();
|
|
145
173
|
}
|
|
146
174
|
break;
|
|
147
|
-
case "justifi-
|
|
175
|
+
case "justifi-payment-method-options":
|
|
148
176
|
if (!customElements.get(tagName)) {
|
|
149
177
|
defineCustomElement$6();
|
|
150
178
|
}
|
|
151
179
|
break;
|
|
152
|
-
case "justifi-payment-method
|
|
180
|
+
case "justifi-save-new-payment-method":
|
|
153
181
|
if (!customElements.get(tagName)) {
|
|
154
182
|
defineCustomElement$5();
|
|
155
183
|
}
|
|
156
184
|
break;
|
|
157
|
-
case "justifi-
|
|
185
|
+
case "justifi-saved-payment-method":
|
|
158
186
|
if (!customElements.get(tagName)) {
|
|
159
187
|
defineCustomElement$4();
|
|
160
188
|
}
|
|
161
189
|
break;
|
|
162
|
-
case "justifi-
|
|
190
|
+
case "justifi-sezzle-payment-method":
|
|
163
191
|
if (!customElements.get(tagName)) {
|
|
164
192
|
defineCustomElement$3();
|
|
165
193
|
}
|
|
166
194
|
break;
|
|
167
|
-
case "
|
|
195
|
+
case "postal-form":
|
|
168
196
|
if (!customElements.get(tagName)) {
|
|
169
197
|
defineCustomElement$2();
|
|
170
198
|
}
|
|
@@ -3,8 +3,9 @@ import { a as addressSchema } from './business-address-schema.js';
|
|
|
3
3
|
import { F as FormController } from './form.js';
|
|
4
4
|
import { c as Address } from './Business.js';
|
|
5
5
|
import { S as StateOptions } from './state-options.js';
|
|
6
|
-
import { n as numberOnlyHandler } from './
|
|
6
|
+
import { n as numberOnlyHandler } from './utils3.js';
|
|
7
7
|
import { h as heading2 } from './parts.js';
|
|
8
|
+
import { P as PaymentProvisioningLoading } from './payment-provisioning-loading.js';
|
|
8
9
|
import { B as BusinessFormStep } from './event-types2.js';
|
|
9
10
|
import { d as defineCustomElement$4 } from './custom-popper2.js';
|
|
10
11
|
import { d as defineCustomElement$3 } from './form-control-select2.js';
|
|
@@ -20,6 +21,7 @@ const LegalAddressFormStepCore = /*@__PURE__*/ proxyCustomElement(class LegalAdd
|
|
|
20
21
|
this.formLoading = createEvent(this, "formLoading", 7);
|
|
21
22
|
this.getData = () => {
|
|
22
23
|
this.formLoading.emit(true);
|
|
24
|
+
this.isLoading = true;
|
|
23
25
|
this.getBusiness({
|
|
24
26
|
onSuccess: (response) => {
|
|
25
27
|
this.legal_address = new Address(response.data.legal_address || {});
|
|
@@ -32,7 +34,10 @@ const LegalAddressFormStepCore = /*@__PURE__*/ proxyCustomElement(class LegalAdd
|
|
|
32
34
|
severity: severity
|
|
33
35
|
});
|
|
34
36
|
},
|
|
35
|
-
final: () =>
|
|
37
|
+
final: () => {
|
|
38
|
+
this.formLoading.emit(false);
|
|
39
|
+
this.isLoading = false;
|
|
40
|
+
}
|
|
36
41
|
});
|
|
37
42
|
};
|
|
38
43
|
this.sendData = (onSuccess) => {
|
|
@@ -64,6 +69,7 @@ const LegalAddressFormStepCore = /*@__PURE__*/ proxyCustomElement(class LegalAdd
|
|
|
64
69
|
this.formController = undefined;
|
|
65
70
|
this.errors = {};
|
|
66
71
|
this.legal_address = {};
|
|
72
|
+
this.isLoading = false;
|
|
67
73
|
this.getBusiness = undefined;
|
|
68
74
|
this.patchBusiness = undefined;
|
|
69
75
|
this.allowOptionalFields = undefined;
|
|
@@ -88,7 +94,10 @@ const LegalAddressFormStepCore = /*@__PURE__*/ proxyCustomElement(class LegalAdd
|
|
|
88
94
|
render() {
|
|
89
95
|
var _a, _b, _c, _d, _e, _f;
|
|
90
96
|
const legalAddressDefaultValue = this.formController.getInitialValues();
|
|
91
|
-
|
|
97
|
+
if (this.isLoading) {
|
|
98
|
+
return h(PaymentProvisioningLoading, null);
|
|
99
|
+
}
|
|
100
|
+
return (h("form", null, h("fieldset", null, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Legal Address of your Business"), h("form-control-tooltip", { helpText: "No PO Boxes." })), h("hr", { class: "mt-2" }), h("div", { class: "row gy-3" }, h("div", { class: "col-12" }, h("form-control-text", { name: "line1", label: "Legal Address", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.line1, errorText: (_a = this.errors) === null || _a === void 0 ? void 0 : _a.line1 })), h("div", { class: "col-12" }, h("form-control-text", { name: "line2", label: "Address Line 2 (optional)", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.line2, errorText: (_b = this.errors) === null || _b === void 0 ? void 0 : _b.line2 })), h("div", { class: "col-12" }, h("form-control-text", { name: "city", label: "City", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.city, errorText: (_c = this.errors) === null || _c === void 0 ? void 0 : _c.city })), h("div", { class: "col-12" }, h("form-control-select", { name: "state", label: "State", options: StateOptions, inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.state, errorText: (_d = this.errors) === null || _d === void 0 ? void 0 : _d.state })), h("div", { class: "col-12" }, h("form-control-text", { name: "postal_code", label: "Postal Code", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.postal_code, errorText: (_e = this.errors) === null || _e === void 0 ? void 0 : _e.postal_code, maxLength: 5, keyDownHandler: numberOnlyHandler })), h("div", { class: "col-12" }, h("form-control-select", { name: "country", label: "Country", options: [{ label: "United States", value: "USA" }], inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.country, errorText: (_f = this.errors) === null || _f === void 0 ? void 0 : _f.country,
|
|
92
101
|
// just for now so we skip handling country specificities
|
|
93
102
|
disabled: true }))))));
|
|
94
103
|
}
|
|
@@ -99,6 +108,7 @@ const LegalAddressFormStepCore = /*@__PURE__*/ proxyCustomElement(class LegalAdd
|
|
|
99
108
|
"formController": [32],
|
|
100
109
|
"errors": [32],
|
|
101
110
|
"legal_address": [32],
|
|
111
|
+
"isLoading": [32],
|
|
102
112
|
"validateAndSubmit": [64]
|
|
103
113
|
}]);
|
|
104
114
|
function defineCustomElement() {
|
|
@@ -50,7 +50,7 @@ const LegalAddressFormStep = /*@__PURE__*/ proxyCustomElement(class LegalAddress
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
render() {
|
|
53
|
-
return (h("justifi-legal-address-form-step-core", { key: '
|
|
53
|
+
return (h("justifi-legal-address-form-step-core", { key: '598e4684d6344d783f7a9de8effbac5bda79834f', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
|
|
54
54
|
}
|
|
55
55
|
static get watchers() { return {
|
|
56
56
|
"authToken": ["propChanged"],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { S as StateOptions } from './state-options.js';
|
|
3
|
-
import { n as numberOnlyHandler } from './
|
|
3
|
+
import { n as numberOnlyHandler } from './utils3.js';
|
|
4
4
|
import { h as heading2 } from './parts.js';
|
|
5
5
|
import { d as defineCustomElement$4 } from './custom-popper2.js';
|
|
6
6
|
import { d as defineCustomElement$3 } from './form-control-select2.js';
|
|
@@ -26,7 +26,7 @@ const LegalAddressForm = /*@__PURE__*/ proxyCustomElement(class LegalAddressForm
|
|
|
26
26
|
render() {
|
|
27
27
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
28
28
|
const legalAddressDefaultValue = this.formController.getInitialValues().legal_address;
|
|
29
|
-
return (h(Host, { key: '
|
|
29
|
+
return (h(Host, { key: 'a9e2d2fa0e1ac8bd37eef9b40ae3ebee44e6246f' }, h("fieldset", { key: 'defd51a5bdbc9ecf4e640d2008bb1f1f83de5dda' }, h("legend", { key: '6d4d4563e426a02539f86c58a6eaa11927ec96e2', part: heading2 }, "Business Legal Address"), h("div", { key: 'c4d0786717af5da9baca6aca93b4e81f474a1746', class: "row gy-3" }, h("div", { key: 'f8be78e845a720143e3f175eec6c9f9ee929d612', class: "col-12" }, h("form-control-text", { key: '341d426271136e734d9dd8d1968de01938b5eebb', name: "line1", label: "Legal Address", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.line1, errorText: (_b = (_a = this.errors) === null || _a === void 0 ? void 0 : _a.legal_address) === null || _b === void 0 ? void 0 : _b.line1 })), h("div", { key: 'ac5f410a9b12def5284636dd384560af93c982d6', class: "col-12" }, h("form-control-text", { key: 'b96a18e42af33fbfca0645d9aa039a2430dc0043', name: "line2", label: "Address Line 2", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.line2, errorText: (_d = (_c = this.errors) === null || _c === void 0 ? void 0 : _c.legal_address) === null || _d === void 0 ? void 0 : _d.line2 })), h("div", { key: 'c3ac5227e34c525b6be906b5cf06a428bebe2ad4', class: "col-12" }, h("form-control-text", { key: '972602adcf764500928eca67660b20344a1313ec', name: "city", label: "City", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.city, errorText: (_f = (_e = this.errors) === null || _e === void 0 ? void 0 : _e.legal_address) === null || _f === void 0 ? void 0 : _f.city })), h("div", { key: '8ca2e4c78b986f5156976c5adb6b5a63c584607b', class: "col-12" }, h("form-control-select", { key: '2f0eacc656e741706064c10234e471fb53ca2be2', name: "state", label: "State", options: StateOptions, inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.state, errorText: (_h = (_g = this.errors) === null || _g === void 0 ? void 0 : _g.legal_address) === null || _h === void 0 ? void 0 : _h.state })), h("div", { key: 'e4d51b2347c78f5c47d5ce309c46baa5fc07f7f5', class: "col-12" }, h("form-control-text", { key: 'e237d5830f0c24bf40e43ba8d2d6b0fd095405ed', name: "postal_code", label: "Postal Code", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.postal_code, errorText: (_k = (_j = this.errors) === null || _j === void 0 ? void 0 : _j.legal_address) === null || _k === void 0 ? void 0 : _k.postal_code, maxLength: 5, keyDownHandler: numberOnlyHandler })), h("div", { key: 'a7bdcd1a867ff4816f20e89f651fe80fed2193cf', class: "col-12" }, h("form-control-select", { key: 'd345dd93d46618572c3aea87893c135ac688bde5', name: "country", label: "Country", options: [{ label: 'United States', value: 'USA' }], inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.country, errorText: (_m = (_l = this.errors) === null || _l === void 0 ? void 0 : _l.legal_address) === null || _m === void 0 ? void 0 : _m.country,
|
|
30
30
|
// just for now so we skip handling country specificities
|
|
31
31
|
disabled: true }))))));
|
|
32
32
|
}
|