@justifi/webcomponents 5.0.0 → 5.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{Api-f5280a80.js → Api-b0e4be29.js} +12 -0
- package/dist/cjs/{Checkout-a528241d.js → Checkout-2ff4f9c8.js} +6 -0
- package/dist/cjs/{Payment-d074b246.js → Payment-84817e2d.js} +10 -1
- package/dist/cjs/{SubAccount-fda5ec5b.js → SubAccount-f236913b.js} +6 -1
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -3
- package/dist/cjs/badge-fbf58cb9.js +44 -0
- package/dist/cjs/bank-account-form_9.cjs.entry.js +60 -65
- package/dist/cjs/{iframe-input.cjs.entry.js → billing-form_3.cjs.entry.js} +99 -6
- package/dist/cjs/business-details-core.cjs.entry.js +3 -3
- package/dist/cjs/business.service-ffb6f478.js +38 -0
- package/dist/cjs/{button-94bdc1f0.js → button-e7796b07.js} +1 -1
- package/dist/cjs/{check-pkg-version-05db7d8e.js → check-pkg-version-dee8dbb7.js} +3 -4
- package/dist/cjs/{checkout.service-671fab62.js → checkout.service-e9c05c15.js} +7 -8
- package/dist/cjs/checkouts-list-core.cjs.entry.js +10 -9
- package/dist/cjs/checkouts-table-0f19c1e6.js +57 -0
- package/dist/cjs/custom-popper.cjs.entry.js +2 -2
- package/dist/cjs/{dispute.service-c362a953.js → dispute.service-9272a2a6.js} +8 -9
- package/dist/cjs/{event-types-4df47396.js → event-types-aa1a9be1.js} +3 -3
- package/dist/cjs/form-alert_5.cjs.entry.js +5 -5
- package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/form-control-date.cjs.entry.js +4 -4
- package/dist/cjs/{form-control-error-text-a2fd5fc1.js → form-control-error-text-c1f49f35.js} +1 -1
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +4 -4
- package/dist/cjs/form-control-file.cjs.entry.js +4 -4
- package/dist/cjs/{form-control-help-text-b6f7ae6e.js → form-control-help-text-e6cc71a7.js} +1 -1
- package/dist/cjs/form-control-monetary.cjs.entry.js +5 -5
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +5 -5
- package/dist/cjs/form-control-number.cjs.entry.js +5 -5
- package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
- package/dist/cjs/form-control-select_3.cjs.entry.js +6 -6
- package/dist/cjs/{get-payout-csv-d2aed52c.js → get-payout-csv-778db023.js} +7 -8
- package/dist/cjs/{get-subaccounts-9aa22224.js → get-subaccounts-b087fa39.js} +5 -6
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +5 -5
- package/dist/cjs/{header-1-cb7af794.js → header-1-96b97cab.js} +1 -1
- package/dist/cjs/{header-3-75e50713.js → header-3-ce77b96b.js} +1 -1
- package/dist/cjs/{insurance-state-001cfe12.js → insurance-state-8959c7c7.js} +1 -1
- package/dist/cjs/{justifi-additional-questions-form-step-core_8.cjs.entry.js → justifi-additional-questions-form-step-core_9.cjs.entry.js} +225 -16
- package/dist/cjs/justifi-additional-questions-form-step_10.cjs.entry.js +54 -161
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +9 -9
- package/dist/cjs/justifi-business-details.cjs.entry.js +6 -7
- package/dist/cjs/justifi-business-form.cjs.entry.js +40 -15
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +10 -11
- package/dist/cjs/justifi-checkout.cjs.entry.js +11 -11
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +14 -14
- package/dist/cjs/justifi-details.cjs.entry.js +3 -3
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +10 -10
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +15 -16
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +6 -7
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +8 -9
- package/dist/cjs/justifi-payment-details.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +7 -8
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payments-list.cjs.entry.js +14 -14
- package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +15 -15
- package/dist/cjs/justifi-refund-form.cjs.entry.js +7 -7
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +21 -4
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +13 -11
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +15 -14
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +28 -15
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-48c58886.js → package-8b9059cc.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
- package/dist/cjs/{parts-811ddb9c.js → parts-addf2176.js} +20 -2
- package/dist/cjs/payment-details-core.cjs.entry.js +27 -13
- package/dist/cjs/{payment-provisioning-actions-06466dda.js → payment-provisioning-actions-fbd30d1b.js} +31 -0
- package/dist/cjs/{payment.service-9a5336f1.js → payment.service-042c7c99.js} +6 -7
- package/dist/cjs/payments-list-core.cjs.entry.js +11 -10
- package/dist/cjs/payments-status-411c325c.js +58 -0
- package/dist/cjs/{payments-table-cf5d1c33.js → payments-table-16f3f95e.js} +12 -12
- package/dist/cjs/payout-details-core.cjs.entry.js +22 -7
- package/dist/cjs/payouts-list-core.cjs.entry.js +11 -10
- package/dist/cjs/payouts-status-0951e39d.js +53 -0
- package/dist/cjs/{payouts-table-58881d95.js → payouts-table-bc15179c.js} +14 -16
- package/dist/cjs/{skeleton-5ca03840.js → skeleton-c4903a53.js} +1 -1
- package/dist/cjs/{spinner-c11fcb44.js → spinner-aac395e3.js} +1 -1
- package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
- package/dist/cjs/terminals-list-core.cjs.entry.js +10 -8
- package/dist/cjs/terminals-table-3c19847b.js +45 -0
- package/dist/cjs/{utils-a21b7453.js → utils-5fb95d31.js} +6 -8
- package/dist/cjs/{utils-fc17191b.js → utils-a05a8bf6.js} +2 -2
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/BankAccount.js +12 -0
- package/dist/collection/api/Checkout.js +5 -0
- package/dist/collection/api/Payment.js +10 -1
- package/dist/collection/api/Payout.js +5 -1
- package/dist/collection/api/services/business.service.js +6 -0
- package/dist/collection/collection-manifest.json +4 -1
- package/dist/collection/components/{billing-form → billing-forms/billing-form}/billing-form.js +10 -10
- package/dist/collection/components/{billing-form → billing-forms}/billing-form-schema.js +13 -2
- package/dist/collection/components/billing-forms/billing-form-wrapper.js +183 -0
- package/dist/collection/components/billing-forms/postal-form/postal-form.js +136 -0
- package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +1 -1
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +1 -1
- package/dist/collection/components/business-forms/business-form/business-form-loading.js +6 -0
- package/dist/collection/components/business-forms/business-form/business-form.js +10 -4
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +1 -1
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +1 -1
- package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +13 -3
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +270 -0
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +37 -146
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +13 -3
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +11 -3
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +13 -3
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-input-group.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +13 -3
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-actions.js +30 -0
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-loading.js +6 -0
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.js +1 -1
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +1 -1
- package/dist/collection/components/checkout/card-form/card-form.js +1 -1
- package/dist/collection/components/checkout/checkout-core.js +30 -27
- package/dist/collection/components/checkout/checkout.js +29 -24
- package/dist/collection/components/checkout/new-payment-method.js +39 -33
- package/dist/collection/components/checkout/payment-method-options.js +29 -44
- package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
- package/dist/collection/components/checkout/saved-payment-method.js +1 -21
- package/dist/collection/components/checkout/sezzle-payment-method.js +1 -21
- package/dist/collection/components/checkout/test/checkout.js +0 -1
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-status.js +26 -11
- package/dist/collection/components/checkouts-list/checkouts-table.js +7 -7
- package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management.js +1 -1
- package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +4 -1
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-loading.js +4 -0
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +4 -2
- package/dist/collection/components/payment-details/payment-details-core.js +10 -12
- package/dist/collection/components/payment-details/payment-details-loading.js +4 -0
- package/dist/collection/components/payments-list/payments-list-core.js +1 -1
- package/dist/collection/components/payments-list/payments-list-filters.js +1 -1
- package/dist/collection/components/payments-list/payments-list.js +1 -1
- package/dist/collection/components/payments-list/payments-status.js +51 -21
- package/dist/collection/components/payments-list/payments-table.js +8 -8
- package/dist/collection/components/payout-details/payout-details-core.js +3 -4
- package/dist/collection/components/payout-details/payout-details-loading.js +4 -0
- package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-filters.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list.js +1 -1
- package/dist/collection/components/payouts-list/payouts-status.js +46 -19
- package/dist/collection/components/payouts-list/payouts-table.js +10 -10
- package/dist/collection/components/refund-form/refund-form.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list.js +1 -1
- package/dist/collection/components/terminals-list/terminals-status.js +21 -9
- package/dist/collection/components/terminals-list/terminals-table.js +4 -4
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +60 -25
- package/dist/collection/styles/parts.js +11 -2
- package/dist/collection/ui-components/badge/badge.js +39 -0
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/details/details.js +1 -1
- package/dist/collection/ui-components/details/utils.js +1 -1
- package/dist/collection/ui-components/filters/table-filters-menu.js +1 -1
- package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
- package/dist/collection/ui-components/form/form-control-date.js +2 -2
- package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
- package/dist/collection/ui-components/form/form-control-file.js +2 -2
- package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
- package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
- package/dist/collection/ui-components/form/form-control-number.js +2 -2
- package/dist/collection/ui-components/form/form-control-radio.js +2 -2
- package/dist/collection/ui-components/form/form-control-select.js +2 -2
- package/dist/collection/ui-components/form/form-control-text.js +2 -2
- package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
- package/dist/collection/ui-components/form/hidden-input.js +1 -1
- package/dist/collection/ui-components/form/iframe-input.js +3 -3
- package/dist/collection/utils/table.js +1 -1
- package/dist/collection/utils/utils.js +6 -8
- package/dist/config.js +0 -1
- package/dist/docs.json +780 -198
- package/dist/esm/{Api-391d00e2.js → Api-0cac5b8a.js} +12 -1
- package/dist/esm/{Checkout-0b4086f8.js → Checkout-d476bb83.js} +6 -0
- package/dist/esm/{Payment-4f72d277.js → Payment-47630113.js} +10 -1
- package/dist/esm/{SubAccount-99a00594.js → SubAccount-f31349a9.js} +6 -1
- package/dist/esm/additional-questions-details_5.entry.js +3 -3
- package/dist/esm/badge-b034e71b.js +42 -0
- package/dist/esm/bank-account-form_9.entry.js +59 -64
- package/dist/esm/{iframe-input.entry.js → billing-form_3.entry.js} +98 -7
- package/dist/esm/{business-additional-questions-schema-48e93928.js → business-additional-questions-schema-aba9747e.js} +1 -1
- package/dist/esm/business-details-core.entry.js +3 -3
- package/dist/esm/{business-identity-schema-75126188.js → business-identity-schema-8b0f1619.js} +1 -1
- package/dist/esm/{business.service-182aea6f.js → business.service-ab2663a3.js} +8 -3
- package/dist/esm/{button-1886a33d.js → button-8a02823c.js} +1 -1
- package/dist/esm/{check-pkg-version-95b9be89.js → check-pkg-version-51d2616b.js} +2 -3
- package/dist/esm/{checkout.service-32a6ebe8.js → checkout.service-c275270e.js} +4 -5
- package/dist/esm/checkouts-list-core.entry.js +10 -9
- package/dist/esm/checkouts-table-115bacc4.js +53 -0
- package/dist/esm/custom-popper.entry.js +2 -2
- package/dist/esm/{dispute.service-4e5059aa.js → dispute.service-882e35ed.js} +4 -5
- package/dist/esm/{event-types-01dcdcbd.js → event-types-948c3b14.js} +3 -3
- package/dist/esm/form-alert_5.entry.js +5 -5
- package/dist/esm/form-control-checkbox.entry.js +5 -5
- package/dist/esm/form-control-date.entry.js +4 -4
- package/dist/esm/{form-control-error-text-3b2553b5.js → form-control-error-text-066cdad4.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +4 -4
- package/dist/esm/form-control-file.entry.js +4 -4
- package/dist/esm/{form-control-help-text-a2fc3617.js → form-control-help-text-3b6f5980.js} +1 -1
- package/dist/esm/form-control-monetary.entry.js +5 -5
- package/dist/esm/form-control-number-masked_2.entry.js +5 -5
- package/dist/esm/form-control-number.entry.js +5 -5
- package/dist/esm/form-control-radio.entry.js +3 -3
- package/dist/esm/form-control-select_3.entry.js +6 -6
- package/dist/esm/{get-payout-csv-e6058aa7.js → get-payout-csv-50aea928.js} +4 -5
- package/dist/esm/{get-subaccounts-0b8af245.js → get-subaccounts-ab3dd32c.js} +4 -5
- package/dist/esm/gross-payment-chart-core.entry.js +5 -5
- package/dist/esm/{header-1-c6a00a22.js → header-1-75c284dd.js} +1 -1
- package/dist/esm/{header-3-a1c6d475.js → header-3-4a327395.js} +1 -1
- package/dist/esm/{insurance-state-8fc9376f.js → insurance-state-b495be64.js} +1 -1
- package/dist/esm/{justifi-additional-questions-form-step-core_8.entry.js → justifi-additional-questions-form-step-core_9.entry.js} +230 -22
- package/dist/esm/justifi-additional-questions-form-step_10.entry.js +53 -160
- package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
- package/dist/esm/justifi-business-details.entry.js +6 -7
- package/dist/esm/justifi-business-form.entry.js +43 -18
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
- package/dist/esm/justifi-checkout-core.entry.js +10 -11
- package/dist/esm/justifi-checkout.entry.js +11 -11
- package/dist/esm/justifi-checkouts-list-filters.entry.js +1 -1
- package/dist/esm/justifi-checkouts-list.entry.js +13 -13
- package/dist/esm/justifi-details.entry.js +3 -3
- package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
- package/dist/esm/justifi-dispute-management.entry.js +9 -9
- package/dist/esm/justifi-dispute-notification_3.entry.js +14 -15
- package/dist/esm/justifi-gross-payment-chart.entry.js +5 -6
- package/dist/esm/justifi-owner-form_3.entry.js +10 -11
- package/dist/esm/justifi-payment-details.entry.js +10 -10
- package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -3
- package/dist/esm/justifi-payment-provisioning.entry.js +6 -7
- package/dist/esm/justifi-payments-list-filters.entry.js +2 -2
- package/dist/esm/justifi-payments-list.entry.js +13 -13
- package/dist/esm/justifi-payout-details.entry.js +10 -10
- package/dist/esm/justifi-payouts-list-filters.entry.js +2 -2
- package/dist/esm/justifi-payouts-list.entry.js +14 -14
- package/dist/esm/justifi-refund-form.entry.js +6 -6
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +22 -5
- package/dist/esm/justifi-season-interruption-insurance.entry.js +11 -9
- package/dist/esm/justifi-terminals-list-filters.entry.js +1 -1
- package/dist/esm/justifi-terminals-list.entry.js +12 -11
- package/dist/esm/justifi-tokenize-payment-method.entry.js +29 -16
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-223933b4.js → package-5eedfd72.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/{parts-186d437f.js → parts-93f379ab.js} +12 -3
- package/dist/esm/payment-details-core.entry.js +28 -14
- package/dist/esm/{payment-provisioning-actions-0635eff7.js → payment-provisioning-actions-a262ee82.js} +31 -1
- package/dist/esm/{payment.service-45f90e06.js → payment.service-92b90855.js} +4 -5
- package/dist/esm/payments-list-core.entry.js +11 -10
- package/dist/esm/payments-status-82466054.js +56 -0
- package/dist/esm/{payments-table-d6fbab5b.js → payments-table-c0bb25b6.js} +12 -12
- package/dist/esm/payout-details-core.entry.js +23 -8
- package/dist/esm/payouts-list-core.entry.js +11 -10
- package/dist/esm/payouts-status-b98c8297.js +51 -0
- package/dist/esm/{payouts-table-2e61a116.js → payouts-table-4382a264.js} +14 -16
- package/dist/esm/{schema-validations-c7d4f9df.js → schema-validations-5b0ac96b.js} +1 -1
- package/dist/esm/{skeleton-8f71cdf7.js → skeleton-3bcb2b5d.js} +1 -1
- package/dist/esm/{spinner-879489b3.js → spinner-b83f3a87.js} +1 -1
- package/dist/esm/table-filters-menu.entry.js +3 -3
- package/dist/esm/terminals-list-core.entry.js +10 -8
- package/dist/esm/terminals-table-8f1c2146.js +41 -0
- package/dist/esm/{utils-d7633e66.js → utils-7fb6331d.js} +2 -2
- package/dist/esm/{utils-54543523.js → utils-b76d791e.js} +7 -9
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Checkout.js +6 -0
- package/dist/module/Payment.js +11 -1
- package/dist/module/SubAccount.js +6 -1
- package/dist/module/additional-questions.js +2 -2
- package/dist/module/additional-statement.js +2 -2
- package/dist/module/badge.js +42 -0
- package/dist/module/bank-account-form2.js +1 -1
- package/dist/module/billing-form-schema.js +16 -0
- package/dist/module/billing-form-wrapper.js +114 -0
- package/dist/module/{justifi-billing-form.d.ts → billing-form.d.ts} +4 -4
- package/dist/module/billing-form.js +4 -97
- package/dist/module/billing-form2.js +90 -0
- package/dist/module/business-additional-questions-form-step-core.js +13 -3
- package/dist/module/business-additional-questions-form-step.js +1 -1
- package/dist/module/business-additional-questions-schema.js +1 -1
- package/dist/module/business-address-schema.js +1 -1
- package/dist/module/business-bank-account-form-step-core.js +206 -0
- package/dist/module/business-bank-account-form-step.js +49 -157
- package/dist/module/business-core-info-form-step-core.js +14 -4
- package/dist/module/business-core-info-form-step.js +1 -1
- package/dist/module/business-core-info.js +2 -2
- package/dist/module/business-document-upload-form-step.js +2 -3
- package/dist/module/business-document-upload-input-group.js +1 -1
- package/dist/module/business-documents-on-file.js +1 -1
- package/dist/module/business-form-options.js +1 -1
- package/dist/module/business-owners-form-step-core.js +10 -2
- package/dist/module/business-owners-form-step.js +1 -1
- package/dist/module/business-representative-form-inputs.js +1 -1
- package/dist/module/business-representative-form-step-core.js +12 -2
- package/dist/module/business-representative-form-step.js +1 -1
- package/dist/module/business-representative.js +1 -1
- package/dist/module/business-terms-conditions-form-step.js +2 -3
- package/dist/module/business-terms-conditions-text.js +2 -2
- package/dist/module/business.service.js +8 -3
- package/dist/module/button.js +1 -1
- package/dist/module/cancellation-policy.js +2 -2
- package/dist/module/card-form2.js +1 -1
- package/dist/module/check-pkg-version.js +1 -2
- package/dist/module/checkout-core.js +51 -40
- package/dist/module/checkout.service.js +1 -2
- package/dist/module/checkouts-list-core2.js +36 -27
- package/dist/module/config.js +116 -2
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +2 -2
- package/dist/module/details.js +1 -1
- package/dist/module/dispute-management-core.js +1 -1
- package/dist/module/dispute-notification.js +2 -2
- package/dist/module/dispute-response-actions.js +2 -3
- package/dist/module/dispute-response-core.js +2 -2
- package/dist/module/dispute-response.js +1 -1
- package/dist/module/duplicate-charge.js +2 -2
- package/dist/module/electronic-evidence.js +2 -2
- package/dist/module/event-types.js +2 -2
- package/dist/module/form-alert2.js +1 -1
- package/dist/module/form-control-checkbox2.js +3 -3
- package/dist/module/form-control-date2.js +3 -3
- package/dist/module/form-control-file-v22.js +1 -1
- package/dist/module/form-control-file2.js +3 -3
- package/dist/module/form-control-monetary2.js +3 -3
- package/dist/module/form-control-number-masked2.js +3 -3
- package/dist/module/form-control-number.js +2 -2
- package/dist/module/form-control-radio2.js +3 -3
- package/dist/module/form-control-select2.js +3 -3
- package/dist/module/form-control-text2.js +3 -3
- package/dist/module/form-control-textarea2.js +3 -3
- package/dist/module/form-control-tooltip2.js +1 -1
- package/dist/module/get-payout-csv.js +2 -3
- package/dist/module/get-subaccounts.js +2 -3
- package/dist/module/gross-payment-chart-core2.js +1 -1
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/identity-address-form.js +2 -2
- package/dist/module/iframe-input2.js +3 -3
- package/dist/module/justifi-billing-form-wrapper.d.ts +11 -0
- package/dist/module/justifi-billing-form-wrapper.js +6 -0
- package/dist/module/justifi-business-bank-account-form-step-core.d.ts +11 -0
- package/dist/module/justifi-business-bank-account-form-step-core.js +6 -0
- package/dist/module/justifi-business-details.js +1 -1
- package/dist/module/justifi-business-form.js +32 -7
- package/dist/module/justifi-checkout.js +53 -41
- package/dist/module/justifi-checkouts-list-filters.js +1 -1
- package/dist/module/justifi-checkouts-list.js +2 -2
- package/dist/module/justifi-dispute-management.js +2 -2
- package/dist/module/justifi-gross-payment-chart.js +2 -3
- package/dist/module/justifi-payment-details.js +1 -1
- package/dist/module/justifi-payment-provisioning.js +33 -28
- package/dist/module/justifi-payments-list-filters.js +1 -1
- package/dist/module/justifi-payments-list.js +2 -2
- package/dist/module/justifi-payout-details.js +1 -1
- package/dist/module/justifi-payouts-list-filters.js +1 -1
- package/dist/module/justifi-payouts-list.js +2 -2
- package/dist/module/justifi-refund-form.js +2 -3
- package/dist/module/justifi-season-interruption-insurance.js +6 -5
- package/dist/module/justifi-terminals-list-filters.js +1 -1
- package/dist/module/justifi-terminals-list.js +3 -4
- package/dist/module/justifi-tokenize-payment-method.js +73 -45
- package/dist/module/legal-address-form-step-core.js +13 -3
- package/dist/module/legal-address-form-step.js +1 -1
- package/dist/module/legal-address-form.js +2 -2
- package/dist/module/new-payment-method.js +54 -44
- package/dist/module/owner-form-core2.js +2 -2
- package/dist/module/owner-form-inputs2.js +1 -1
- package/dist/module/owner-form.js +2 -2
- package/dist/module/package.js +1 -1
- package/dist/module/pagination-menu2.js +1 -1
- package/dist/module/parts.js +12 -3
- package/dist/module/payment-details-core2.js +25 -13
- package/dist/module/payment-method-options.js +49 -39
- package/dist/module/payment-provisioning-actions.js +32 -2
- package/dist/module/payment-provisioning-core.js +31 -25
- package/dist/module/payment-provisioning-form-buttons.js +1 -1
- package/dist/module/payment-provisioning-form-steps.js +32 -26
- package/dist/module/payment-provisioning-loading.js +25 -0
- package/dist/module/payment.service.js +1 -2
- package/dist/module/payments-list-core2.js +12 -12
- package/dist/module/payments-status.js +52 -20
- package/dist/module/payout-details-core2.js +18 -5
- package/dist/module/payouts-list-core2.js +14 -16
- package/dist/module/payouts-status.js +47 -18
- package/dist/module/postal-form.d.ts +11 -0
- package/dist/module/postal-form.js +6 -0
- package/dist/module/postal-form2.js +83 -0
- package/dist/module/product-or-service.js +2 -2
- package/dist/module/refund-policy.js +2 -2
- package/dist/module/save-new-payment-method.js +1 -1
- package/dist/module/saved-payment-method.js +2 -5
- package/dist/module/schema-validations.js +2 -2
- package/dist/module/season-interruption-insurance-core.js +19 -2
- package/dist/module/sezzle-payment-method.js +2 -5
- package/dist/module/shipping-details.js +2 -2
- package/dist/module/spinner.js +1 -1
- package/dist/module/table-filters-menu2.js +2 -2
- package/dist/module/terminals-list-core2.js +26 -14
- package/dist/module/utils.js +1 -1
- package/dist/module/utils2.js +6 -8
- package/dist/module/utils3.js +23 -24
- package/dist/module/utils4.js +24 -23
- package/dist/types/api/BankAccount.d.ts +11 -0
- package/dist/types/api/Checkout.d.ts +4 -2
- package/dist/types/api/Payment.d.ts +9 -4
- package/dist/types/api/Payout.d.ts +4 -2
- package/dist/types/api/services/business.service.d.ts +7 -0
- package/dist/types/components/{billing-form → billing-forms/billing-form}/billing-form.d.ts +2 -2
- package/dist/types/components/{billing-form → billing-forms}/billing-form-schema.d.ts +11 -2
- package/dist/types/components/billing-forms/billing-form-wrapper.d.ts +19 -0
- package/dist/types/components/billing-forms/postal-form/postal-form.d.ts +20 -0
- package/dist/types/components/business-forms/business-form/business-form-loading.d.ts +1 -0
- package/dist/types/components/business-forms/business-form/business-form.d.ts +1 -0
- package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.d.ts +1 -0
- package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.d.ts +35 -0
- package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +6 -24
- package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +1 -0
- package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.d.ts +1 -0
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +1 -0
- package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +1 -0
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-actions.d.ts +9 -0
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-loading.d.ts +1 -0
- package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +2 -2
- package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +1 -1
- package/dist/types/components/checkout/checkout-core.d.ts +3 -6
- package/dist/types/components/checkout/checkout.d.ts +3 -3
- package/dist/types/components/checkout/new-payment-method.d.ts +4 -4
- package/dist/types/components/checkout/payment-method-options.d.ts +3 -5
- package/dist/types/components/checkout/payment-method-payload.d.ts +2 -0
- package/dist/types/components/checkout/saved-payment-method.d.ts +0 -1
- package/dist/types/components/checkout/sezzle-payment-method.d.ts +0 -1
- package/dist/types/components/checkouts-list/checkouts-list-core.d.ts +1 -1
- package/dist/types/components/checkouts-list/checkouts-status.d.ts +1 -1
- package/dist/types/components/checkouts-list/checkouts-table.d.ts +7 -6
- package/dist/types/components/insurance/season-interruption/season-interruption-insurance-loading.d.ts +2 -0
- package/dist/types/components/payment-details/payment-details-loading.d.ts +2 -0
- package/dist/types/components/payments-list/payments-list-core.d.ts +1 -1
- package/dist/types/components/payments-list/payments-status.d.ts +1 -1
- package/dist/types/components/payments-list/payments-table.d.ts +8 -7
- package/dist/types/components/payout-details/payout-details-loading.d.ts +2 -0
- package/dist/types/components/payouts-list/payouts-list-core.d.ts +1 -1
- package/dist/types/components/payouts-list/payouts-status.d.ts +1 -1
- package/dist/types/components/payouts-list/payouts-table.d.ts +10 -9
- package/dist/types/components/terminals-list/terminals-list-core.d.ts +1 -1
- package/dist/types/components/terminals-list/terminals-status.d.ts +1 -1
- package/dist/types/components/terminals-list/terminals-table.d.ts +5 -4
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +3 -1
- package/dist/types/components.d.ts +123 -77
- package/dist/types/home/runner/work/web-component-library/web-component-library/packages/webcomponents/.stencil/packages/webcomponents/config.d.ts +0 -1
- package/dist/types/styles/parts.d.ts +10 -1
- package/dist/types/ui-components/badge/badge.d.ts +18 -0
- package/dist/types/utils/table.d.ts +3 -3
- package/dist/types/utils/utils.d.ts +2 -1
- package/dist/webcomponents/p-04ce1f82.js +1 -0
- package/dist/webcomponents/p-0544f4a4.entry.js +1 -0
- package/dist/webcomponents/p-060ff1a1.js +1 -0
- package/dist/webcomponents/p-0658b707.entry.js +1 -0
- package/dist/webcomponents/{p-1dbae48b.entry.js → p-09fd4ee2.entry.js} +1 -1
- package/dist/webcomponents/p-0d7e7957.js +1 -0
- package/dist/webcomponents/p-10cface4.entry.js +1 -0
- package/dist/webcomponents/p-10f9ff7b.entry.js +1 -0
- package/dist/webcomponents/p-12233a57.entry.js +1 -0
- package/dist/webcomponents/p-135e24c0.js +1 -0
- package/dist/webcomponents/p-1a27f22e.js +1 -0
- package/dist/webcomponents/p-1e2526c8.entry.js +1 -0
- package/dist/webcomponents/p-24a9c773.js +1 -0
- package/dist/webcomponents/p-270033ba.entry.js +1 -0
- package/dist/webcomponents/{p-47e7f876.entry.js → p-2a17a29c.entry.js} +1 -1
- package/dist/webcomponents/{p-b056034f.entry.js → p-2b081961.entry.js} +1 -1
- package/dist/webcomponents/p-2bd8650b.js +1 -0
- package/dist/webcomponents/p-2c7441ea.entry.js +1 -0
- package/dist/webcomponents/p-2ce40098.js +1 -0
- package/dist/webcomponents/p-2d27d054.entry.js +1 -0
- package/dist/webcomponents/p-2d801915.js +1 -0
- package/dist/webcomponents/p-332bd5ab.entry.js +1 -0
- package/dist/webcomponents/p-351c7fa3.entry.js +1 -0
- package/dist/webcomponents/p-39177d5a.js +1 -0
- package/dist/webcomponents/p-3f209fcc.entry.js +1 -0
- package/dist/webcomponents/p-411382f3.js +1 -0
- package/dist/webcomponents/p-427881b1.entry.js +1 -0
- package/dist/webcomponents/p-44604a45.js +1 -0
- package/dist/webcomponents/p-46769ec3.entry.js +1 -0
- package/dist/webcomponents/p-47cd431c.js +1 -0
- package/dist/webcomponents/p-4acfed0d.entry.js +1 -0
- package/dist/webcomponents/{p-0aa63869.entry.js → p-4bcfdb99.entry.js} +1 -1
- package/dist/webcomponents/p-4c4f9e3b.js +1 -0
- package/dist/webcomponents/p-4e122ace.js +1 -0
- package/dist/webcomponents/{p-d75b52c8.entry.js → p-541b7c36.entry.js} +1 -1
- package/dist/webcomponents/p-5d0763a5.js +1 -0
- package/dist/webcomponents/p-5d177a30.js +1 -0
- package/dist/webcomponents/p-64a1ae2c.entry.js +1 -0
- package/dist/webcomponents/p-67aef066.entry.js +1 -0
- package/dist/webcomponents/p-6ad11a9f.entry.js +1 -0
- package/dist/webcomponents/p-6bc01617.js +1 -0
- package/dist/webcomponents/{p-323ba4df.entry.js → p-6e8be579.entry.js} +1 -1
- package/dist/webcomponents/p-72a90154.entry.js +1 -0
- package/dist/webcomponents/{p-8c7a81c1.js → p-730e8425.js} +1 -1
- package/dist/webcomponents/p-73323a41.entry.js +1 -0
- package/dist/webcomponents/p-73619f0a.js +1 -0
- package/dist/webcomponents/{p-f4722957.js → p-74736657.js} +1 -1
- package/dist/webcomponents/p-74d6e182.entry.js +1 -0
- package/dist/webcomponents/p-7aff48a1.entry.js +1 -0
- package/dist/webcomponents/{p-08b8d1f0.entry.js → p-7b1fcab5.entry.js} +1 -1
- package/dist/webcomponents/p-7bddbee4.js +1 -0
- package/dist/webcomponents/{p-c9670f3c.entry.js → p-7db2a4d5.entry.js} +1 -1
- package/dist/webcomponents/p-83aa33f0.js +1 -0
- package/dist/webcomponents/p-87ce7b69.js +1 -0
- package/dist/webcomponents/p-8d61499c.entry.js +1 -0
- package/dist/webcomponents/p-9069fab5.js +1 -0
- package/dist/webcomponents/p-92d78790.js +1 -0
- package/dist/webcomponents/p-948b7710.entry.js +1 -0
- package/dist/webcomponents/p-96bc127e.entry.js +1 -0
- package/dist/webcomponents/p-98b027b7.entry.js +1 -0
- package/dist/webcomponents/p-a3df6c3e.entry.js +1 -0
- package/dist/webcomponents/p-a5008b32.entry.js +1 -0
- package/dist/webcomponents/p-a59636ed.js +1 -0
- package/dist/webcomponents/p-a7b04e24.js +1 -0
- package/dist/webcomponents/{p-7b9f21cd.entry.js → p-ac2588af.entry.js} +1 -1
- package/dist/webcomponents/{p-b1d4e520.entry.js → p-b78da082.entry.js} +1 -1
- package/dist/webcomponents/p-b86e804e.entry.js +1 -0
- package/dist/webcomponents/p-ba202e33.js +1 -0
- package/dist/webcomponents/p-bb842885.entry.js +1 -0
- package/dist/webcomponents/p-bf07d5d0.entry.js +1 -0
- package/dist/webcomponents/{p-1e6077f4.js → p-c2efe406.js} +1 -1
- package/dist/webcomponents/p-c358b253.entry.js +1 -0
- package/dist/webcomponents/p-c6051278.entry.js +1 -0
- package/dist/webcomponents/{p-7216ef00.entry.js → p-ca6214ca.entry.js} +1 -1
- package/dist/webcomponents/{p-af834eb8.js → p-cb8f7bf4.js} +1 -1
- package/dist/webcomponents/p-ce2de434.entry.js +1 -0
- package/dist/webcomponents/{p-bb61c6e0.js → p-d1f78cb5.js} +1 -1
- package/dist/webcomponents/p-d5dace8b.entry.js +1 -0
- package/dist/webcomponents/p-d6e51c2f.js +1 -0
- package/dist/webcomponents/{p-f9fdcc1a.entry.js → p-d86c1f11.entry.js} +2 -2
- package/dist/webcomponents/{p-a47971d8.entry.js → p-dc6e1e5f.entry.js} +1 -1
- package/dist/webcomponents/{p-fa2e3dc7.entry.js → p-e0f21a47.entry.js} +1 -1
- package/dist/webcomponents/{p-79b7c30d.js → p-eb644cb7.js} +1 -1
- package/dist/webcomponents/p-f2158e48.entry.js +1 -0
- package/dist/webcomponents/p-f3867b82.entry.js +1 -0
- package/dist/webcomponents/p-f5a7a7d1.entry.js +1 -0
- package/dist/webcomponents/p-f65abd18.js +1 -0
- package/dist/webcomponents/{p-663a00cd.entry.js → p-f76a7f9c.entry.js} +1 -1
- package/dist/webcomponents/p-fd6619d0.entry.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/business.service-285f6f26.js +0 -32
- package/dist/cjs/checkouts-table-17648e93.js +0 -48
- package/dist/cjs/config-b190e93e.js +0 -15
- package/dist/cjs/payments-status-68ac449d.js +0 -26
- package/dist/cjs/payouts-status-2f7be07d.js +0 -24
- package/dist/cjs/terminals-table-91985249.js +0 -33
- package/dist/esm/checkouts-table-8b116232.js +0 -44
- package/dist/esm/config-187b3ae1.js +0 -13
- package/dist/esm/payments-status-a7c18f2a.js +0 -24
- package/dist/esm/payouts-status-cd58e525.js +0 -22
- package/dist/esm/terminals-table-8e42977c.js +0 -29
- package/dist/module/Api.js +0 -116
- package/dist/module/justifi-billing-form.js +0 -6
- package/dist/webcomponents/p-01f32098.entry.js +0 -1
- package/dist/webcomponents/p-0201ec6c.entry.js +0 -1
- package/dist/webcomponents/p-050a6855.entry.js +0 -1
- package/dist/webcomponents/p-0cc6c539.js +0 -1
- package/dist/webcomponents/p-0ccbc022.entry.js +0 -1
- package/dist/webcomponents/p-0e180654.js +0 -1
- package/dist/webcomponents/p-0eb86b3f.entry.js +0 -1
- package/dist/webcomponents/p-0f23ff58.js +0 -1
- package/dist/webcomponents/p-16d2932d.js +0 -1
- package/dist/webcomponents/p-1ce22da6.entry.js +0 -1
- package/dist/webcomponents/p-206fde40.js +0 -1
- package/dist/webcomponents/p-20a24f3a.entry.js +0 -1
- package/dist/webcomponents/p-238f1ff8.entry.js +0 -1
- package/dist/webcomponents/p-2462bf86.entry.js +0 -1
- package/dist/webcomponents/p-32a5bf4e.js +0 -1
- package/dist/webcomponents/p-34c14f59.js +0 -1
- package/dist/webcomponents/p-3db8b3c7.js +0 -1
- package/dist/webcomponents/p-3eabbdd4.entry.js +0 -1
- package/dist/webcomponents/p-438df53f.entry.js +0 -1
- package/dist/webcomponents/p-441c1cf8.js +0 -1
- package/dist/webcomponents/p-4972d608.entry.js +0 -1
- package/dist/webcomponents/p-4a576796.js +0 -1
- package/dist/webcomponents/p-4d916b2d.js +0 -1
- package/dist/webcomponents/p-5968ff8a.js +0 -1
- package/dist/webcomponents/p-597bd1e1.entry.js +0 -1
- package/dist/webcomponents/p-5bbe1133.entry.js +0 -1
- package/dist/webcomponents/p-5cb947bc.entry.js +0 -1
- package/dist/webcomponents/p-5d3f81c0.entry.js +0 -1
- package/dist/webcomponents/p-6677c60d.entry.js +0 -1
- package/dist/webcomponents/p-68694a17.entry.js +0 -1
- package/dist/webcomponents/p-6ab77b89.js +0 -1
- package/dist/webcomponents/p-6b840696.entry.js +0 -1
- package/dist/webcomponents/p-6fbd6abb.js +0 -1
- package/dist/webcomponents/p-6feeb9f2.js +0 -1
- package/dist/webcomponents/p-70eea098.entry.js +0 -1
- package/dist/webcomponents/p-73a18b5a.entry.js +0 -1
- package/dist/webcomponents/p-7a975a3c.js +0 -1
- package/dist/webcomponents/p-808bb677.entry.js +0 -1
- package/dist/webcomponents/p-80b1bcc2.entry.js +0 -1
- package/dist/webcomponents/p-88acfa7c.entry.js +0 -1
- package/dist/webcomponents/p-8a94d2c8.js +0 -1
- package/dist/webcomponents/p-8fe80110.entry.js +0 -1
- package/dist/webcomponents/p-90dc2f2c.js +0 -1
- package/dist/webcomponents/p-9c2d5229.entry.js +0 -1
- package/dist/webcomponents/p-9c2e00cc.js +0 -1
- package/dist/webcomponents/p-a3949f32.js +0 -1
- package/dist/webcomponents/p-ac147eef.entry.js +0 -1
- package/dist/webcomponents/p-b392ec21.js +0 -1
- package/dist/webcomponents/p-b6d76082.entry.js +0 -1
- package/dist/webcomponents/p-bb0f8b70.js +0 -1
- package/dist/webcomponents/p-bb71cef3.js +0 -1
- package/dist/webcomponents/p-bbcaa29b.entry.js +0 -1
- package/dist/webcomponents/p-c092cbb2.js +0 -1
- package/dist/webcomponents/p-c212414b.entry.js +0 -1
- package/dist/webcomponents/p-c2a2b9fe.entry.js +0 -1
- package/dist/webcomponents/p-cc977850.js +0 -1
- package/dist/webcomponents/p-d53c5ea5.entry.js +0 -1
- package/dist/webcomponents/p-d8fdf2b5.entry.js +0 -1
- package/dist/webcomponents/p-d960db89.entry.js +0 -1
- package/dist/webcomponents/p-db8c12ee.js +0 -1
- package/dist/webcomponents/p-e396506c.entry.js +0 -1
- package/dist/webcomponents/p-e4421e98.entry.js +0 -1
- package/dist/webcomponents/p-e7bb6520.js +0 -1
- package/dist/webcomponents/p-ed8918d1.entry.js +0 -1
- package/dist/webcomponents/p-edb57087.js +0 -1
- package/dist/webcomponents/p-ee4a2aac.entry.js +0 -1
- package/dist/webcomponents/p-ef4c49b9.js +0 -1
- package/dist/webcomponents/p-f88d5c0d.entry.js +0 -1
|
@@ -1,31 +1,32 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { c as formatCurrency } from './utils2.js';
|
|
3
|
-
import { c as config } from './config.js';
|
|
4
3
|
import { C as Checkout } from './Checkout.js';
|
|
5
4
|
import { a as ComponentErrorSeverity } from './ComponentError.js';
|
|
6
5
|
import { i as insuranceValuesOn, v as validateInsuranceValues, H as Header2, a as insuranceValues } from './insurance-state.js';
|
|
7
6
|
import { B as Button } from './button.js';
|
|
8
7
|
import { S as StyledHost } from './styled-host.js';
|
|
9
|
-
import { t as text } from './parts.js';
|
|
8
|
+
import { t as text, Z as checkoutSummary } from './parts.js';
|
|
10
9
|
import { S as Skeleton } from './skeleton.js';
|
|
11
|
-
import { d as defineCustomElement$
|
|
10
|
+
import { d as defineCustomElement$7, H as Header3 } from './billing-form-wrapper.js';
|
|
12
11
|
import './details.js';
|
|
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$
|
|
24
|
-
import { d as defineCustomElement$
|
|
25
|
-
import { d as defineCustomElement$
|
|
26
|
-
import { d as defineCustomElement$
|
|
27
|
-
import { d as defineCustomElement$
|
|
28
|
-
import { d as defineCustomElement$
|
|
12
|
+
import { d as defineCustomElement$j } from './bank-account-form2.js';
|
|
13
|
+
import { d as defineCustomElement$i } from './billing-form2.js';
|
|
14
|
+
import { d as defineCustomElement$h } from './card-form2.js';
|
|
15
|
+
import { d as defineCustomElement$g } from './custom-popper2.js';
|
|
16
|
+
import { d as defineCustomElement$f } from './form-control-checkbox2.js';
|
|
17
|
+
import { d as defineCustomElement$e } from './form-control-help-text3.js';
|
|
18
|
+
import { d as defineCustomElement$d } from './form-control-radio2.js';
|
|
19
|
+
import { d as defineCustomElement$c } from './form-control-select2.js';
|
|
20
|
+
import { d as defineCustomElement$b } from './form-control-text2.js';
|
|
21
|
+
import { d as defineCustomElement$a } from './form-control-tooltip2.js';
|
|
22
|
+
import { d as defineCustomElement$9 } from './hidden-input2.js';
|
|
23
|
+
import { d as defineCustomElement$8 } from './iframe-input2.js';
|
|
24
|
+
import { d as defineCustomElement$6 } from './new-payment-method.js';
|
|
25
|
+
import { d as defineCustomElement$5 } from './payment-method-options.js';
|
|
26
|
+
import { d as defineCustomElement$4 } from './save-new-payment-method.js';
|
|
27
|
+
import { d as defineCustomElement$3 } from './saved-payment-method.js';
|
|
28
|
+
import { d as defineCustomElement$2 } from './sezzle-payment-method.js';
|
|
29
|
+
import { d as defineCustomElement$1 } from './postal-form2.js';
|
|
29
30
|
|
|
30
31
|
const CheckoutCore = /*@__PURE__*/ proxyCustomElement(class CheckoutCore extends HTMLElement {
|
|
31
32
|
constructor() {
|
|
@@ -55,7 +56,6 @@ const CheckoutCore = /*@__PURE__*/ proxyCustomElement(class CheckoutCore extends
|
|
|
55
56
|
});
|
|
56
57
|
this.renderState = 'error';
|
|
57
58
|
};
|
|
58
|
-
this.iframeOrigin = config.iframeOrigin;
|
|
59
59
|
this.authToken = undefined;
|
|
60
60
|
this.getCheckout = undefined;
|
|
61
61
|
this.complete = undefined;
|
|
@@ -64,6 +64,7 @@ const CheckoutCore = /*@__PURE__*/ proxyCustomElement(class CheckoutCore extends
|
|
|
64
64
|
this.disableBankAccount = undefined;
|
|
65
65
|
this.disableBnpl = undefined;
|
|
66
66
|
this.disablePaymentMethodGroup = undefined;
|
|
67
|
+
this.hideCardBillingForm = undefined;
|
|
67
68
|
this.hasLoadedFonts = false;
|
|
68
69
|
this.checkout = undefined;
|
|
69
70
|
this.serverError = undefined;
|
|
@@ -144,17 +145,16 @@ const CheckoutCore = /*@__PURE__*/ proxyCustomElement(class CheckoutCore extends
|
|
|
144
145
|
}
|
|
145
146
|
get paymentType() {
|
|
146
147
|
var _a, _b, _c, _d, _e;
|
|
147
|
-
return (h("section", null, h("div", { class: !this.isLoading && 'visually-hidden' }, h(Skeleton, { height: "300px" })), h("div", { class: this.isLoading && 'visually-hidden' }, h("justifi-payment-method-options", { ref: (el) => (this.paymentMethodOptionsRef = el), "show-card": !this.disableCreditCard, "show-ach": !this.disableBankAccount, "show-bnpl": !this.disableBnpl, paymentMethodGroupId: (_a = this.checkout) === null || _a === void 0 ? void 0 : _a.payment_method_group_id, "show-saved-payment-methods": !this.disablePaymentMethodGroup, bnpl: (_b = this.checkout) === null || _b === void 0 ? void 0 : _b.bnpl, authToken: this.authToken, "account-id": (_c = this.checkout) === null || _c === void 0 ? void 0 : _c.account_id, savedPaymentMethods: ((_d = this.checkout) === null || _d === void 0 ? void 0 : _d.payment_methods) || [], paymentAmount: (_e = this.checkout) === null || _e === void 0 ? void 0 : _e.payment_amount, insuranceToggled: this.insuranceToggled }))));
|
|
148
|
+
return (h("section", null, h("div", { class: !this.isLoading && 'visually-hidden' }, h(Skeleton, { height: "300px" })), h("div", { class: this.isLoading && 'visually-hidden' }, h("justifi-payment-method-options", { ref: (el) => (this.paymentMethodOptionsRef = el), "show-card": !this.disableCreditCard, "show-ach": !this.disableBankAccount, "show-bnpl": !this.disableBnpl, paymentMethodGroupId: (_a = this.checkout) === null || _a === void 0 ? void 0 : _a.payment_method_group_id, "show-saved-payment-methods": !this.disablePaymentMethodGroup, hideCardBillingForm: this.hideCardBillingForm, bnpl: (_b = this.checkout) === null || _b === void 0 ? void 0 : _b.bnpl, authToken: this.authToken, "account-id": (_c = this.checkout) === null || _c === void 0 ? void 0 : _c.account_id, savedPaymentMethods: ((_d = this.checkout) === null || _d === void 0 ? void 0 : _d.payment_methods) || [], paymentAmount: (_e = this.checkout) === null || _e === void 0 ? void 0 : _e.payment_amount, insuranceToggled: this.insuranceToggled }))));
|
|
148
149
|
}
|
|
149
150
|
get summary() {
|
|
150
151
|
var _a, _b;
|
|
151
152
|
return (h("section", null, h("div", { class: !this.isLoading && 'visually-hidden' }, h(Skeleton, { height: "24px" })), h("div", { class: this.isLoading && 'visually-hidden' }, h("div", { part: text }, (_a = this.checkout) === null || _a === void 0 ? void 0 : _a.payment_description), h("div", null, h("span", { part: text }, "Total"), "\u00A0", h("span", { part: text }, formatCurrency(+((_b = this.checkout) === null || _b === void 0 ? void 0 : _b.total_amount)))))));
|
|
152
153
|
}
|
|
153
154
|
render() {
|
|
154
|
-
return (h(StyledHost, { key: '
|
|
155
|
+
return (h(StyledHost, { key: '27b5f6263124c9c288fb81e6a0a97ef9565a49ed' }, h("div", { key: '8444c6ea0c1b4f9a63e46407c90ee1d14556f832', class: "row gy-3 jfi-checkout-core" }, h("div", { key: '920ddc8692ce6a0cc129fc9de0353c7d1cce0fcf', class: "col-12", part: checkoutSummary }, h(Header2, { key: 'c48cfc8be18363aa522e38a6dd09acccf2f51bf4', text: "Summary", class: "fs-5 fw-bold pb-3" }), this.summary), h("div", { key: '1f9615177d056357b9c960bbf86360324a2330dc', class: "col-12" }, h("slot", { key: '2a3845fe83eb3c0a213f97a0ccc74c268690818b', name: "insurance" })), h("div", { key: 'c7e588bb71c6bc3f84636cde3346021b51978bfd', class: "col-12 mt-4" }, h(Header2, { key: '512bef8ae536558eba77019531f38485983b1a2f', text: "Payment", class: "fs-5 fw-bold pb-3" }), h(Header3, { key: '84a1d01dbae527ca1bff19b2f3dfcd47f9b3782f', text: "Select payment type", class: "fs-6 fw-bold lh-lg" }), h("div", { key: '8770c420bf092ad3173fb7308d795e1e9ab6d00d', class: "d-flex flex-column" }, this.paymentType)), h("div", { key: '2c907e60023119910220a57725d52a2133a4e5ba', class: "col-12" }, h("div", { key: 'b2303b22c1a83755726eb08d7e732b4c472f75d7', class: "d-flex justify-content-end" }, h(Button, { key: '6c5910476d57f439648810a8fe200b190256bb2d', type: "submit", variant: "primary", onClick: (e) => this.submit(e), disabled: this.isLoading, isLoading: this.isLoading, style: { width: '100%' } }, "Pay"))))));
|
|
155
156
|
}
|
|
156
157
|
}, [1, "justifi-checkout-core", {
|
|
157
|
-
"iframeOrigin": [1025, "iframe-origin"],
|
|
158
158
|
"authToken": [1, "auth-token"],
|
|
159
159
|
"getCheckout": [16],
|
|
160
160
|
"complete": [16],
|
|
@@ -163,6 +163,7 @@ const CheckoutCore = /*@__PURE__*/ proxyCustomElement(class CheckoutCore extends
|
|
|
163
163
|
"disableBankAccount": [4, "disable-bank-account"],
|
|
164
164
|
"disableBnpl": [4, "disable-bnpl"],
|
|
165
165
|
"disablePaymentMethodGroup": [4, "disable-payment-method-group"],
|
|
166
|
+
"hideCardBillingForm": [4, "hide-card-billing-form"],
|
|
166
167
|
"hasLoadedFonts": [32],
|
|
167
168
|
"checkout": [32],
|
|
168
169
|
"serverError": [32],
|
|
@@ -175,7 +176,7 @@ function defineCustomElement() {
|
|
|
175
176
|
if (typeof customElements === "undefined") {
|
|
176
177
|
return;
|
|
177
178
|
}
|
|
178
|
-
const components = ["justifi-checkout-core", "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"];
|
|
179
|
+
const components = ["justifi-checkout-core", "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"];
|
|
179
180
|
components.forEach(tagName => { switch (tagName) {
|
|
180
181
|
case "justifi-checkout-core":
|
|
181
182
|
if (!customElements.get(tagName)) {
|
|
@@ -184,85 +185,95 @@ function defineCustomElement() {
|
|
|
184
185
|
break;
|
|
185
186
|
case "bank-account-form":
|
|
186
187
|
if (!customElements.get(tagName)) {
|
|
187
|
-
defineCustomElement$
|
|
188
|
+
defineCustomElement$j();
|
|
189
|
+
}
|
|
190
|
+
break;
|
|
191
|
+
case "billing-form":
|
|
192
|
+
if (!customElements.get(tagName)) {
|
|
193
|
+
defineCustomElement$i();
|
|
188
194
|
}
|
|
189
195
|
break;
|
|
190
196
|
case "card-form":
|
|
191
197
|
if (!customElements.get(tagName)) {
|
|
192
|
-
defineCustomElement$
|
|
198
|
+
defineCustomElement$h();
|
|
193
199
|
}
|
|
194
200
|
break;
|
|
195
201
|
case "custom-popper":
|
|
196
202
|
if (!customElements.get(tagName)) {
|
|
197
|
-
defineCustomElement$
|
|
203
|
+
defineCustomElement$g();
|
|
198
204
|
}
|
|
199
205
|
break;
|
|
200
206
|
case "form-control-checkbox":
|
|
201
207
|
if (!customElements.get(tagName)) {
|
|
202
|
-
defineCustomElement$
|
|
208
|
+
defineCustomElement$f();
|
|
203
209
|
}
|
|
204
210
|
break;
|
|
205
211
|
case "form-control-help-text":
|
|
206
212
|
if (!customElements.get(tagName)) {
|
|
207
|
-
defineCustomElement$
|
|
213
|
+
defineCustomElement$e();
|
|
208
214
|
}
|
|
209
215
|
break;
|
|
210
216
|
case "form-control-radio":
|
|
211
217
|
if (!customElements.get(tagName)) {
|
|
212
|
-
defineCustomElement$
|
|
218
|
+
defineCustomElement$d();
|
|
213
219
|
}
|
|
214
220
|
break;
|
|
215
221
|
case "form-control-select":
|
|
216
222
|
if (!customElements.get(tagName)) {
|
|
217
|
-
defineCustomElement$
|
|
223
|
+
defineCustomElement$c();
|
|
218
224
|
}
|
|
219
225
|
break;
|
|
220
226
|
case "form-control-text":
|
|
221
227
|
if (!customElements.get(tagName)) {
|
|
222
|
-
defineCustomElement$
|
|
228
|
+
defineCustomElement$b();
|
|
223
229
|
}
|
|
224
230
|
break;
|
|
225
231
|
case "form-control-tooltip":
|
|
226
232
|
if (!customElements.get(tagName)) {
|
|
227
|
-
defineCustomElement$
|
|
233
|
+
defineCustomElement$a();
|
|
228
234
|
}
|
|
229
235
|
break;
|
|
230
236
|
case "hidden-input":
|
|
231
237
|
if (!customElements.get(tagName)) {
|
|
232
|
-
defineCustomElement$
|
|
238
|
+
defineCustomElement$9();
|
|
233
239
|
}
|
|
234
240
|
break;
|
|
235
241
|
case "iframe-input":
|
|
242
|
+
if (!customElements.get(tagName)) {
|
|
243
|
+
defineCustomElement$8();
|
|
244
|
+
}
|
|
245
|
+
break;
|
|
246
|
+
case "justifi-billing-form-wrapper":
|
|
236
247
|
if (!customElements.get(tagName)) {
|
|
237
248
|
defineCustomElement$7();
|
|
238
249
|
}
|
|
239
250
|
break;
|
|
240
|
-
case "justifi-
|
|
251
|
+
case "justifi-new-payment-method":
|
|
241
252
|
if (!customElements.get(tagName)) {
|
|
242
253
|
defineCustomElement$6();
|
|
243
254
|
}
|
|
244
255
|
break;
|
|
245
|
-
case "justifi-
|
|
256
|
+
case "justifi-payment-method-options":
|
|
246
257
|
if (!customElements.get(tagName)) {
|
|
247
258
|
defineCustomElement$5();
|
|
248
259
|
}
|
|
249
260
|
break;
|
|
250
|
-
case "justifi-payment-method
|
|
261
|
+
case "justifi-save-new-payment-method":
|
|
251
262
|
if (!customElements.get(tagName)) {
|
|
252
263
|
defineCustomElement$4();
|
|
253
264
|
}
|
|
254
265
|
break;
|
|
255
|
-
case "justifi-
|
|
266
|
+
case "justifi-saved-payment-method":
|
|
256
267
|
if (!customElements.get(tagName)) {
|
|
257
268
|
defineCustomElement$3();
|
|
258
269
|
}
|
|
259
270
|
break;
|
|
260
|
-
case "justifi-
|
|
271
|
+
case "justifi-sezzle-payment-method":
|
|
261
272
|
if (!customElements.get(tagName)) {
|
|
262
273
|
defineCustomElement$2();
|
|
263
274
|
}
|
|
264
275
|
break;
|
|
265
|
-
case "
|
|
276
|
+
case "postal-form":
|
|
266
277
|
if (!customElements.get(tagName)) {
|
|
267
278
|
defineCustomElement$1();
|
|
268
279
|
}
|
|
@@ -3,24 +3,39 @@ import './Checkout.js';
|
|
|
3
3
|
import { p as pagingDefaults } from './Pagination.js';
|
|
4
4
|
import './Payment.js';
|
|
5
5
|
import './SubAccount.js';
|
|
6
|
-
import {
|
|
6
|
+
import { m as tableHeadCell, n as getAlternateTableCellPart, o as table, p as tableCell } from './parts.js';
|
|
7
7
|
import { T as TableClickActions, a as Table, b as TableLoadingState, c as TableEmptyState, d as TableErrorState } from './event-types.js';
|
|
8
8
|
import './details.js';
|
|
9
|
-
import { a as formatDate, b as formatTime
|
|
9
|
+
import { a as formatDate, b as formatTime } from './utils2.js';
|
|
10
|
+
import { B as Badge, a as BadgeVariant } from './badge.js';
|
|
10
11
|
import { o as onQueryParamsChange, q as queryParams } from './checkouts-list-params-state.js';
|
|
11
12
|
import { d as defineCustomElement$1 } from './pagination-menu2.js';
|
|
12
13
|
|
|
13
14
|
const MapCheckoutStatusToBadge = (status) => {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
15
|
+
const statusToBadgeProps = {
|
|
16
|
+
created: {
|
|
17
|
+
variant: BadgeVariant.PRIMARY,
|
|
18
|
+
title: 'The checkout has been created',
|
|
19
|
+
text: 'Created',
|
|
20
|
+
},
|
|
21
|
+
completed: {
|
|
22
|
+
variant: BadgeVariant.SUCCESS,
|
|
23
|
+
title: 'The checkout has been completed',
|
|
24
|
+
text: 'Completed',
|
|
25
|
+
},
|
|
26
|
+
attempted: {
|
|
27
|
+
variant: BadgeVariant.SECONDARY,
|
|
28
|
+
title: 'The checkout has been attempted',
|
|
29
|
+
text: 'Attempted',
|
|
30
|
+
},
|
|
31
|
+
expired: {
|
|
32
|
+
variant: BadgeVariant.DANGER,
|
|
33
|
+
title: 'The checkout has expired',
|
|
34
|
+
text: 'Expired',
|
|
35
|
+
},
|
|
36
|
+
};
|
|
37
|
+
const badgeProps = statusToBadgeProps[status];
|
|
38
|
+
return h(Badge, Object.assign({}, badgeProps));
|
|
24
39
|
};
|
|
25
40
|
|
|
26
41
|
const defaultColumnsKeys = 'created_at,payment_amount,payment_description,payment_mode,status';
|
|
@@ -33,20 +48,14 @@ const checkoutTableColumns = {
|
|
|
33
48
|
status: () => (h("th", { part: tableHeadCell, scope: "col", title: "The current status of each checkout" }, "Status")),
|
|
34
49
|
};
|
|
35
50
|
const checkoutTableCells = {
|
|
36
|
-
created_at: (
|
|
37
|
-
h("div", { class: "fw-bold" },
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
formatCurrency(value, true, true),
|
|
45
|
-
" ")),
|
|
46
|
-
payment_description: (value, index) => (h("td", { part: getAlternateTableCellPart(index) }, value)),
|
|
47
|
-
sub_account_name: (value, index) => (h("td", { part: getAlternateTableCellPart(index) }, value)),
|
|
48
|
-
payment_mode: (value, index) => (h("td", { part: getAlternateTableCellPart(index) }, value)),
|
|
49
|
-
status: (value, index) => (h("td", { part: getAlternateTableCellPart(index), innerHTML: MapCheckoutStatusToBadge(value) })),
|
|
51
|
+
created_at: (checkout, index) => (h("td", { part: getAlternateTableCellPart(index) },
|
|
52
|
+
h("div", { class: "fw-bold" }, formatDate(checkout.created_at)),
|
|
53
|
+
h("div", { class: "fw-bold" }, formatTime(checkout.created_at)))),
|
|
54
|
+
payment_amount: (checkout, index) => (h("td", { part: getAlternateTableCellPart(index) }, checkout.formattedPaymentAmount(checkout.payment_amount))),
|
|
55
|
+
payment_description: (checkout, index) => (h("td", { part: getAlternateTableCellPart(index) }, checkout.payment_description)),
|
|
56
|
+
sub_account_name: (checkout, index) => (h("td", { part: getAlternateTableCellPart(index) }, checkout.sub_account_name)),
|
|
57
|
+
payment_mode: (checkout, index) => (h("td", { part: getAlternateTableCellPart(index) }, checkout.payment_mode)),
|
|
58
|
+
status: (checkout, index) => (h("td", { part: getAlternateTableCellPart(index) }, MapCheckoutStatusToBadge(checkout.status))),
|
|
50
59
|
};
|
|
51
60
|
|
|
52
61
|
const CheckoutsListCore = /*@__PURE__*/ proxyCustomElement(class CheckoutsListCore extends HTMLElement {
|
|
@@ -170,7 +179,7 @@ const CheckoutsListCore = /*@__PURE__*/ proxyCustomElement(class CheckoutsListCo
|
|
|
170
179
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
171
180
|
}
|
|
172
181
|
render() {
|
|
173
|
-
return (h("div", { key: '
|
|
182
|
+
return (h("div", { key: '910d95f94623ddd9e90a182a7a47e7dfdff1d9a6' }, h("div", { key: 'c296c31fe48bec06067215f6aa4cfb1a9d1b681a', class: "table-wrapper" }, h("table", { key: 'dddd43e74de4989261b8014d2c66cba7c26e9d98', class: "table table-hover", part: table }, h("thead", { key: '4eabd9c8687fbf316420c9a838a95016b20f12dd', class: "table-head sticky-top" }, h("tr", { key: '2cdd7f438099613e5a670343723b883470a65dbd', class: "table-light text-nowrap" }, this.checkoutsTable.columnData.map((column) => column))), h("tbody", { key: 'e3fd8f783e0e405d18bc120bf8c2ca4e2ca25f15', class: "table-body" }, h(TableLoadingState, { key: 'ec8e73a90b9951b5fba78651fdd9a93b7531ba49', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '6b1ebf8bbd62b0ba9c7032be47c87b929bc413db', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: 'a44e8985fb208b91635afe4910fdce5fb94d17e7', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.rowData.map((data, index) => (h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h("tfoot", { key: '05ac7e9796a7b4e4450151e762a409c050fc037f', class: "sticky-bottom" }, h("tr", { key: 'd6135d93dafeee69c6d9a12b9bd35e8c77ec3c5a', class: "table-light align-middle" }, h("td", { key: 'ad7b4df45f54519b759797f665bcfa68a1cd512d', part: tableCell, colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: '3c97cf5daeb90e9b9a881280f25e4307b7392bcf', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
174
183
|
}
|
|
175
184
|
static get watchers() { return {
|
|
176
185
|
"queryParams": ["updateOnPropChange"],
|
package/dist/module/config.js
CHANGED
|
@@ -1,5 +1,119 @@
|
|
|
1
|
+
// Unique ID creation requires a high quality random # generator. In the browser we therefore
|
|
2
|
+
// require the crypto API and do not support built-in fallback to lower quality random number
|
|
3
|
+
// generators (like Math.random()).
|
|
4
|
+
let getRandomValues;
|
|
5
|
+
const rnds8 = new Uint8Array(16);
|
|
6
|
+
function rng() {
|
|
7
|
+
// lazy load so that environments that need to polyfill have a chance to do so
|
|
8
|
+
if (!getRandomValues) {
|
|
9
|
+
// getRandomValues needs to be invoked in a context where "this" is a Crypto implementation.
|
|
10
|
+
getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto);
|
|
11
|
+
|
|
12
|
+
if (!getRandomValues) {
|
|
13
|
+
throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
return getRandomValues(rnds8);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Convert array of 16 byte values to UUID string format of the form:
|
|
22
|
+
* XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
const byteToHex = [];
|
|
26
|
+
|
|
27
|
+
for (let i = 0; i < 256; ++i) {
|
|
28
|
+
byteToHex.push((i + 0x100).toString(16).slice(1));
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
function unsafeStringify(arr, offset = 0) {
|
|
32
|
+
// Note: Be careful editing this code! It's been tuned for performance
|
|
33
|
+
// and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434
|
|
34
|
+
return byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]];
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
|
38
|
+
const native = {
|
|
39
|
+
randomUUID
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
function v4(options, buf, offset) {
|
|
43
|
+
if (native.randomUUID && !buf && !options) {
|
|
44
|
+
return native.randomUUID();
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
options = options || {};
|
|
48
|
+
const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
|
|
49
|
+
|
|
50
|
+
rnds[6] = rnds[6] & 0x0f | 0x40;
|
|
51
|
+
rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided
|
|
52
|
+
|
|
53
|
+
if (buf) {
|
|
54
|
+
offset = offset || 0;
|
|
55
|
+
|
|
56
|
+
for (let i = 0; i < 16; ++i) {
|
|
57
|
+
buf[offset + i] = rnds[i];
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
return buf;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
return unsafeStringify(rnds);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
const Api = ({ authToken, apiOrigin }) => {
|
|
67
|
+
async function getAuthorizationHeader() {
|
|
68
|
+
if (!authToken) {
|
|
69
|
+
return {
|
|
70
|
+
'Content-Type': 'application/json',
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
return {
|
|
74
|
+
Authorization: `Bearer ${authToken}`,
|
|
75
|
+
'Idempotency-Key': v4(),
|
|
76
|
+
'Content-Type': 'application/json',
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
async function makeRequest(endpoint, method, params, body, signal, headers) {
|
|
80
|
+
const url = `${apiOrigin}/v1/${endpoint}`;
|
|
81
|
+
const requestUrl = params ? `${url}?${new URLSearchParams(params)}` : url;
|
|
82
|
+
const defaultHeaders = await getAuthorizationHeader();
|
|
83
|
+
const mergedHeaders = Object.assign(Object.assign({}, defaultHeaders), headers);
|
|
84
|
+
const response = await fetch(requestUrl, {
|
|
85
|
+
method: method,
|
|
86
|
+
headers: mergedHeaders,
|
|
87
|
+
body: body,
|
|
88
|
+
signal: signal,
|
|
89
|
+
});
|
|
90
|
+
if (response) {
|
|
91
|
+
return response.status === 204 ? {} : response.json();
|
|
92
|
+
}
|
|
93
|
+
handleError(requestUrl);
|
|
94
|
+
}
|
|
95
|
+
async function get(endpoint, params, signal, headers) {
|
|
96
|
+
return makeRequest(endpoint, 'GET', params, null, signal, headers);
|
|
97
|
+
}
|
|
98
|
+
async function post(endpoint, body, params, signal) {
|
|
99
|
+
return makeRequest(endpoint, 'POST', params, JSON.stringify(body), signal);
|
|
100
|
+
}
|
|
101
|
+
async function put(endpoint, body, params, signal) {
|
|
102
|
+
return makeRequest(endpoint, 'PUT', params, JSON.stringify(body), signal);
|
|
103
|
+
}
|
|
104
|
+
async function patch(endpoint, body, params, signal) {
|
|
105
|
+
return makeRequest(endpoint, 'PATCH', params, JSON.stringify(body), signal);
|
|
106
|
+
}
|
|
107
|
+
async function destroy(endpoint, params, signal) {
|
|
108
|
+
return makeRequest(endpoint, 'DELETE', params, null, signal);
|
|
109
|
+
}
|
|
110
|
+
return { get, post, put, patch, destroy };
|
|
111
|
+
};
|
|
112
|
+
function handleError(requestUrl) {
|
|
113
|
+
console.error(`Error fetching from ${requestUrl}`);
|
|
114
|
+
}
|
|
115
|
+
|
|
1
116
|
const config = {
|
|
2
|
-
iframeOrigin: "https://components.justifi.ai/v2",
|
|
3
117
|
proxyApiOrigin: "https://wc-proxy.justifi.ai",
|
|
4
118
|
proxyAuthToken: 'eyJraWQiOiJqdXN0aWZpLWUyNDgyMmU3ODE1MmEzZjRkMjU1IiwidHlwIjoiSldUIiwiYWxnIjoiUlMyNTYifQ.eyJpc3MiOiJodHRwczovL2F1dGguanVzdGlmaS5haS8iLCJhenAiOiJvYXNfMmlsWHBqOHQ2WVlEQ0xWU0FiVFczMiIsInN1YiI6Im9hc18yaWxYcGo4dDZZWURDTFZTQWJUVzMyQHNlc3Npb25zIiwiYXVkIjoiaHR0cHM6Ly9hcGkuanVzdGlmaS5haS92MSIsImd0eSI6ImNsaWVudC1jcmVkZW50aWFscyIsInBlcm1pc3Npb25zIjpbeyJyb2xlIjoicmVhZDphY2NvdW50IiwicmVzb3VyY2VfaWQiOiJhY2NfNUV0OWlYclNTQVpSMktTb3VRR0FXaSJ9LHsicm9sZSI6InJlYWQ6YnVzaW5lc3MiLCJyZXNvdXJjZV9pZCI6ImJpel8zYmg2OWJxMXJrM2RtWE5vQUtWb251In1dLCJleHAiOjE3MTE1NTk0MTQsImlhdCI6MTcwMzc4MzQxNCwicGxhdGZvcm1fYWNjb3VudF9pZCI6ImFjY18zcmVOYjRhTll5MmlXRFpRVmN6bXg0In0.oPOoDYxzrnpE8PRUaz-FCU4KqnSuNbFTeDkl3AtMscjUkIctP1OIFh-ZGBjbH5eVH5noXCbaiin0j92dS7jx4gLpxuYT2Q8gpZbuIsT7fa58elvGeRkUUJ-AC5ueZxlv90yPWMm0OIbyrV7XZhuwYyKbV-ZczEbl2JpvBMe40CM-LdClQV66d_-Kw9a23SabBVfYgP5V-5OsagOIESvzZoO-27tGlNkV2a-hxqddDCOZv0HvRYAtp5S7EQrmRdEBu5gCNbf1eRFG424hxZUFVr2LdetYuKQLxJjDdUjf86ZwEUecrEaDSupiN1VC3CitdOwBVf6-R_N0VpN4VLVD5g',
|
|
5
119
|
exampleAccountId: 'acc_5Et9iXrSSAZR2KSouQGAWi',
|
|
@@ -10,4 +124,4 @@ const config = {
|
|
|
10
124
|
privateAuthToken: '',
|
|
11
125
|
};
|
|
12
126
|
|
|
13
|
-
export { config as c };
|
|
127
|
+
export { Api as A, config as c };
|
|
@@ -1876,7 +1876,7 @@ const CustomPopper = /*@__PURE__*/ proxyCustomElement(class CustomPopper extends
|
|
|
1876
1876
|
this.hideEvent.emit();
|
|
1877
1877
|
}
|
|
1878
1878
|
render() {
|
|
1879
|
-
return (h("div", { key: '
|
|
1879
|
+
return (h("div", { key: '277df43099c0dd77e7dc69927ef51d2457cec263' }, h("style", { key: 'b0bce6ba8275da36f98a9a12abd541fc0ae423f9' }, `
|
|
1880
1880
|
.popper-content {
|
|
1881
1881
|
display: none;
|
|
1882
1882
|
}
|
|
@@ -1884,7 +1884,7 @@ const CustomPopper = /*@__PURE__*/ proxyCustomElement(class CustomPopper extends
|
|
|
1884
1884
|
display: block;
|
|
1885
1885
|
z-index: 1030;
|
|
1886
1886
|
}
|
|
1887
|
-
`), h("div", { key: '
|
|
1887
|
+
`), h("div", { key: '23b70bc63642a5a3ec4e67da2d698f4ce70325dd', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: 'c7fdc0e2e03def596ca1eb4a4cb813a93f8cea21' }))));
|
|
1888
1888
|
}
|
|
1889
1889
|
}, [4, "custom-popper", {
|
|
1890
1890
|
"placement": [1],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { c as create$3, a as create$6, F as FormController } from './form.js';
|
|
3
3
|
import { D as DisputeEvidenceDocument, a as DisputeResponseFormStep } from './dispute-response-form-types.js';
|
|
4
|
-
import {
|
|
4
|
+
import { S as heading5 } from './parts.js';
|
|
5
5
|
import { d as defineCustomElement$6 } from './custom-popper2.js';
|
|
6
6
|
import { d as defineCustomElement$5 } from './form-control-file-v22.js';
|
|
7
7
|
import { d as defineCustomElement$4 } from './form-control-help-text3.js';
|
|
@@ -49,7 +49,7 @@ const CustomerDetails = /*@__PURE__*/ proxyCustomElement(class CustomerDetails e
|
|
|
49
49
|
}
|
|
50
50
|
render() {
|
|
51
51
|
var _a, _b, _c;
|
|
52
|
-
return (h("div", { key: '
|
|
52
|
+
return (h("div", { key: 'f13b1b07f7e47661e94730ac84a2f579e20c407c' }, h("div", { key: 'b50fcf45a6c872543c6a691f43e82b697706c0eb', class: "row gy-3" }, h("div", { key: '71c5a773cd7254a76d4071abbecb4067417266f7', class: "col-12" }, h("h2", { key: '84beef4a3879bb36c3d5755b5e2b23c04e018247', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: 'f58feed75554bdf80574dd6a961f07bc6ff67a68', class: "col-12" }, h("form-control-text", { key: 'e781dad51a096012a9fdbe56169c62abd1c7558d', label: "Full Name", name: "customer_name", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_name, inputHandler: this.inputHandler, errorText: this.errors.customer_name })), h("div", { key: 'c617221a62a8226432216fa3cf1a6bdcaea53dd8', class: "col-12" }, h("form-control-text", { key: '5c4a2d8cf779c0a4cb38c5bfd29e21d610c3283b', label: "Email", name: "customer_email_address", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.customer_email_address, inputHandler: this.inputHandler, errorText: this.errors.customer_email_address })), h("div", { key: '639449c6544b6fcbaca4a777b0b2e31573c6fb85', class: "col-12" }, h("form-control-textarea", { key: '54794fdbf93af16f55f0d7e9f3b2152a774e9ff7', label: "Billing Address", name: "customer_billing_address", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.customer_billing_address, inputHandler: this.inputHandler, errorText: this.errors.customer_billing_address })), h("div", { key: '24c0ad1a768f69d4f181ca12cb1520d9d89df06d', class: "col-12" }, h("form-control-file-v2", { key: '20ba764e44adfd05da308dd98de210b6a6a1918c', label: "Customer Signature", name: "customer_signature", onChange: this.handleFileSelection })), h("div", { key: '0171a822afcd450db5202e4ec1925fd85ff68090', class: "col-12" }, h("form-control-file-v2", { key: '24d31b7c0ae09f10f144e80045eadab93c01ee14', label: "Customer Communication", name: "customer_communication", onChange: this.handleFileSelection })))));
|
|
53
53
|
}
|
|
54
54
|
}, [0, "justifi-customer-details", {
|
|
55
55
|
"disputeResponse": [8, "dispute-response"],
|
package/dist/module/details.js
CHANGED
|
@@ -8,7 +8,7 @@ const Details = /*@__PURE__*/ proxyCustomElement(class Details extends HTMLEleme
|
|
|
8
8
|
this.errorMessage = undefined;
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h(Host, { key: '
|
|
11
|
+
return (h(Host, { key: 'd00d3b1c3b5d73af5a0eb1a18f2095f023aeb816' }, this.errorMessage ?
|
|
12
12
|
ErrorState(this.errorMessage)
|
|
13
13
|
:
|
|
14
14
|
h("main", { class: "p-2" }, h("slot", { name: "head-info" }), h("slot", { name: 'detail-sections' }))));
|
|
@@ -72,7 +72,7 @@ const DisputeManagementCore = /*@__PURE__*/ proxyCustomElement(class DisputeMana
|
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
74
|
render() {
|
|
75
|
-
return (h("div", { key: '
|
|
75
|
+
return (h("div", { key: 'd7763c7713e5278f02a1b903bbc0b2c905bd23b0' }, this.showDisputeResponseForm ? (h("justifi-dispute-response", { disputeId: this.disputeId, disputeResponse: this.dispute.dispute_response, authToken: this.authToken })) : (h("justifi-dispute-notification", { dispute: this.dispute, authToken: this.authToken, isLoading: this.isLoading }))));
|
|
76
76
|
}
|
|
77
77
|
static get watchers() { return {
|
|
78
78
|
"getDispute": ["updateOnPropChange"]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { c as formatCurrency } from './utils2.js';
|
|
3
|
-
import { t as text,
|
|
3
|
+
import { t as text, a0 as heading4 } from './parts.js';
|
|
4
4
|
import { B as Button } from './button.js';
|
|
5
5
|
import { S as StyledHost } from './styled-host.js';
|
|
6
6
|
import { S as Skeleton } from './skeleton.js';
|
|
@@ -44,7 +44,7 @@ const DisputeNotification = /*@__PURE__*/ proxyCustomElement(class DisputeNotifi
|
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
46
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
47
|
-
return (h(StyledHost, { key: '
|
|
47
|
+
return (h(StyledHost, { key: 'dfcc9e5fd86a26e8d321bc5caafa3b046b022c54' }, this.isLoading && (h("div", { key: 'deffb8dc0d001fb4dc114b6810408de098ed9621', style: { marginBottom: '8px' } }, h(Skeleton, { key: '6ea0998a7a9c4b0b161e7838e5863c6581a56ccc', height: '28px', width: '70%', styles: { marginBottom: '16px' } }), h(Skeleton, { key: 'ea46373e18690a0cf1131bdf5a6b0bfc7761c68f', height: '18px', styles: { marginBottom: '8px' } }), h(Skeleton, { key: '98c3b1ad8eca5f77a7c73998835b57a7bc5df4a2', height: '18px', styles: { marginBottom: '8px' } }))), ((_a = this.dispute) === null || _a === void 0 ? void 0 : _a.needsResponse) && (h("div", { key: '3098144d29605462b4f042b74a0a44303cddd80f', part: text }, h("h1", { key: '7c175c4c1b5c93833d0eef68b3e6509608995483', class: "h4", part: heading4 }, "This payment is disputed"), h("p", { key: 'df222fa47c5df85feead831a19af3b681feeb28d' }, "The cardholder is disputing this payment. You may accept this dispute, or proceed to provide evidence in a counter dispute."), h("h2", { key: '60f58219182bf56b788a17f53556c7245180cae9', class: "h5" }, "Dispute details"), h("div", { key: '490b807d57ff8baff1d15b644c4fb8948a786125', class: "d-table gap-2" }, h("div", { key: '86ac0b527c0a742f70c487129790d722af385bea', class: "d-table-row gap-2" }, h("span", { key: '6cd2e5172ae2c4581b672a80bad96dbc372980ba', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Amount"), h("span", { key: 'e2e465afca27df4b2b5831c223c93e483cbe5ed3', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, formatCurrency((_b = this.dispute) === null || _b === void 0 ? void 0 : _b.amount))), h("div", { key: 'ecb4a882296f4195a9ea123ee699ec55fc0fe55f', class: "d-table-row gap-2" }, h("span", { key: '6801b0a252336c9edfc1ffbdbdf54dc404fb80ca', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Reason"), h("span", { key: 'ffb49e592ef36e469295f5c59284aa4be249f58d', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_c = this.dispute) === null || _c === void 0 ? void 0 : _c.reason)), h("div", { key: '652a8b454f305fc57ad1455869ac17e45fad27f9', class: "d-table-row gap-2" }, h("span", { key: '9c8f0399a88238643c029916e44c759f1db3c2f5', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Dispute ID"), h("span", { key: 'b20779034577e48a5960a91db06a5627e8c17282', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_d = this.dispute) === null || _d === void 0 ? void 0 : _d.id))), h("div", { key: 'c02bb382f4dca09cb660c878ff2560815ce4d20a', class: "d-flex gap-2 mt-4 justify-content-end" }, h(Button, { key: 'e2cac0a0b92fff128b5d92675f2345ed7126f420', variant: "secondary", onClick: () => this.acceptDispute() }, "Accept dispute"), h(Button, { key: '000d8e1d9f96c33608637780c8b2f9d7cc476213', variant: "primary", onClick: () => this.initiateRespondToDispute() }, "Counter dispute")))), ((_e = this.dispute) === null || _e === void 0 ? void 0 : _e.underReview) && (h("div", { key: 'bbcf4a7d6acc61a55ed33512b2297195a1bc6d72' }, h("h1", { key: '53ecca8c1f9d9a30a173dc058757df984e82a94e', class: "h4" }, "This payment is disputed and under review"), h("p", { key: '3afc7790dee77ec5934020ea42c8b9c47dda4d4b' }, "The cardholder is disputing this payment. A counter dispute has been submitEvent and is under review."))), ((_f = this.dispute) === null || _f === void 0 ? void 0 : _f.won) && (h("div", { key: 'bfd88724984130c42e15882859d01cf680b34696' }, h("h1", { key: '3ab454f4e8475770cd71aada9341c035137c7989', class: "h4" }, "This payment was disputed"), h("p", { key: 'dc3c81bd81a5bc139b0eb94bdaef779a7dd217fc' }, "The cardholder disputed this payment and the card issuer has settled it in your favor."))), ((_g = this.dispute) === null || _g === void 0 ? void 0 : _g.lost) && (h("div", { key: '0bd9ca6a71e978e63fff49dbc105a9078d1c0f38' }, h("h1", { key: '3e6bdea906b38af5c5191b17cbf2482ba701a481', class: "h4" }, "This payment was disputed"), h("p", { key: '05f6d5c04c28a2128bb06d27ef085eeb33377094' }, "The cardholder disputed this payment and the card issuer has settled it their favor.")))));
|
|
48
48
|
}
|
|
49
49
|
}, [1, "justifi-dispute-notification", {
|
|
50
50
|
"dispute": [16],
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { A as Api } from './
|
|
1
|
+
import { A as Api, c as config } from './config.js';
|
|
2
2
|
import './Checkout.js';
|
|
3
3
|
import './Pagination.js';
|
|
4
4
|
import './Payment.js';
|
|
5
5
|
import './SubAccount.js';
|
|
6
|
-
import { c as config } from './config.js';
|
|
7
6
|
import { a as ComponentErrorSeverity } from './ComponentError.js';
|
|
8
|
-
import { g as getErrorMessage, a as getErrorCode } from './
|
|
7
|
+
import { g as getErrorMessage, a as getErrorCode } from './utils4.js';
|
|
9
8
|
|
|
10
9
|
class DisputeService {
|
|
11
10
|
async fetchDispute(disputeId, authToken) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { D as DisputeManagementClickActions } from './event-types3.js';
|
|
3
|
-
import {
|
|
3
|
+
import { a0 as heading4 } from './parts.js';
|
|
4
4
|
import { B as Button } from './button.js';
|
|
5
5
|
import { d as defineCustomElement$f } from './custom-popper2.js';
|
|
6
6
|
import { d as defineCustomElement$e } from './form-control-date2.js';
|
|
@@ -175,7 +175,7 @@ const DisputeResponseCore = /*@__PURE__*/ proxyCustomElement(class DisputeRespon
|
|
|
175
175
|
return this.currentStep === 0;
|
|
176
176
|
}
|
|
177
177
|
render() {
|
|
178
|
-
return (h("div", { key: '
|
|
178
|
+
return (h("div", { key: '1ef9afc69174ac55282cf69d2a274bb993f663c3', class: "row gy-3" }, h("div", { key: 'e031c76cb6d3b1ce494436a9ab8daaa11c705d0c', class: "col-12" }, h("h1", { key: '424df36d16527588c91b246b0f355ee289161e8e', class: "h4", part: heading4 }, "Counter dispute")), h("div", { key: '34a33e5de2842fddf668d45ca9e1e23a0827f061', class: "col-12" }, this.currentStepComponent), h("div", { key: 'b278568d8f69511b02642d1469adfc9ac9e7921d', class: "col-12" }, h("div", { key: '59c32d48e318f805f7c7466fa64b6ebdc9ca14b0', class: "d-flex gap-2 mt-4 justify-content-end" }, this.isFirstStep ? (h(Button, { variant: "secondary", onClick: () => this.onCancel(), disabled: this.isLoading, isLoading: this.isLoading }, "Cancel")) : (h(Button, { variant: "secondary", onClick: () => this.onBack(), disabled: this.isLoading, isLoading: this.isLoading }, "Back")), this.isLastStep ? (h(Button, { variant: "primary", onClick: () => this.onSubmit(), disabled: this.isLoading, isLoading: this.isLoading }, "Submit Counter Dispute")) : (h(Button, { variant: "primary", onClick: () => this.onNext(), disabled: this.isLoading, isLoading: this.isLoading }, "Next"))))));
|
|
179
179
|
}
|
|
180
180
|
}, [0, "justifi-dispute-response-core", {
|
|
181
181
|
"updateDisputeResponse": [16],
|
|
@@ -80,7 +80,7 @@ const DisputeResponse = /*@__PURE__*/ proxyCustomElement(class DisputeResponse e
|
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
render() {
|
|
83
|
-
return (h(StyledHost, { key: '
|
|
83
|
+
return (h(StyledHost, { key: 'a74ece02e19d5f6d57fc43c0eb1ed5177309b01b' }, h("justifi-dispute-response-core", { key: 'd0ad4a758750616ebce34964c9647606ff72c357', "onError-event": this.handleErrorEvent, "dispute-id": this.disputeId, disputeResponse: this.disputeResponse, createDisputeEvidence: this.createDisputeEvidence, updateDisputeResponse: this.updateDisputeResponse, submitDisputeResponse: this.submitDisputeResponse })));
|
|
84
84
|
}
|
|
85
85
|
;
|
|
86
86
|
static get watchers() { return {
|