@justifi/webcomponents 5.1.0 → 5.3.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/{Checkout-2ff4f9c8.js → Checkout-0f1c8abe.js} +1 -1
- package/dist/cjs/Document-0b828345.js +58 -0
- package/dist/cjs/{Payment-84817e2d.js → Payment-c47ed1e1.js} +1 -1
- package/dist/cjs/{SubAccount-f236913b.js → SubAccount-509ebf93.js} +1 -1
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -3
- package/dist/cjs/{badge-fbf58cb9.js → badge-ccfe03bf.js} +1 -1
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +130 -0
- package/dist/cjs/bank-account-form_9.cjs.entry.js +16 -13
- package/dist/cjs/billing-form_3.cjs.entry.js +8 -7
- package/dist/cjs/{business-additional-questions-schema-caa23e95.js → business-additional-questions-schema-2f66f025.js} +1 -1
- package/dist/cjs/business-details-core.cjs.entry.js +3 -3
- package/dist/cjs/{business-identity-schema-0c537067.js → business-identity-schema-be495474.js} +1 -1
- package/dist/cjs/{business.service-ffb6f478.js → business.service-d575b515.js} +7 -0
- package/dist/cjs/{button-e7796b07.js → button-8b634147.js} +1 -1
- package/dist/cjs/{check-pkg-version-931df996.js → check-pkg-version-1658df6f.js} +1 -1
- package/dist/cjs/{checkout.service-e9c05c15.js → checkout.service-057b5a7a.js} +5 -3
- package/dist/cjs/checkouts-list-core.cjs.entry.js +12 -10
- package/dist/cjs/{checkouts-table-0f19c1e6.js → checkouts-table-efa1cbab.js} +3 -3
- package/dist/cjs/{custom-popper.cjs.entry.js → custom-popper_4.cjs.entry.js} +141 -2
- package/dist/cjs/{dispute.service-9272a2a6.js → dispute.service-df9e1830.js} +5 -3
- package/dist/cjs/{event-types-aa1a9be1.js → event-types-34b103b4.js} +2 -2
- package/dist/cjs/form-alert_5.cjs.entry.js +1 -1
- 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-c1f49f35.js → form-control-error-text-46a7f2dd.js} +1 -1
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +4 -4
- package/dist/cjs/{form-control-help-text-e6cc71a7.js → form-control-help-text-98c882e3.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 +4 -4
- 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/{get-payout-csv-778db023.js → get-payout-csv-527a238c.js} +5 -4
- package/dist/cjs/{get-subaccounts-b087fa39.js → get-subaccounts-6068c1aa.js} +5 -4
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +5 -5
- package/dist/cjs/{header-1-96b97cab.js → header-1-4c21f7ca.js} +1 -1
- package/dist/cjs/{header-3-ce77b96b.js → header-3-130206cc.js} +1 -1
- package/dist/cjs/{insurance-state-8959c7c7.js → insurance-state-21fde44f.js} +1 -1
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +833 -0
- package/dist/cjs/{justifi-additional-questions-form-step_10.cjs.entry.js → justifi-additional-questions-form-step_9.cjs.entry.js} +29 -226
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +9 -9
- package/dist/cjs/justifi-business-details.cjs.entry.js +5 -5
- package/dist/cjs/justifi-business-form.cjs.entry.js +15 -13
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +8 -8
- package/dist/cjs/justifi-checkout.cjs.entry.js +10 -9
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +14 -13
- package/dist/cjs/justifi-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +9 -8
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +14 -13
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +4 -4
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +7 -6
- package/dist/cjs/justifi-payment-details.cjs.entry.js +11 -10
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +25 -4
- package/dist/cjs/justifi-payments-list.cjs.entry.js +18 -14
- package/dist/cjs/justifi-payout-details.cjs.entry.js +11 -10
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +14 -13
- package/dist/cjs/justifi-refund-form.cjs.entry.js +7 -5
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +4 -4
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +9 -8
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +12 -11
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +5 -5
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-52ac8376.js → package-06419e54.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
- package/dist/cjs/{parts-addf2176.js → parts-b2ff8b68.js} +14 -0
- package/dist/cjs/payment-details-core.cjs.entry.js +13 -13
- package/dist/cjs/{payment-provisioning-actions-fbd30d1b.js → payment-provisioning-actions-382ab48c.js} +33 -2
- package/dist/cjs/{payment.service-042c7c99.js → payment.service-3eebfe3e.js} +5 -3
- package/dist/cjs/payments-list-core.cjs.entry.js +22 -19
- package/dist/cjs/payments-list-params-state-442d9944.js +22 -0
- package/dist/cjs/{payments-status-411c325c.js → payments-status-ec12ee6a.js} +1 -1
- package/dist/cjs/{payments-table-16f3f95e.js → payments-table-f3aa174d.js} +3 -3
- package/dist/cjs/payout-details-core.cjs.entry.js +8 -8
- package/dist/cjs/payouts-list-core.cjs.entry.js +13 -12
- package/dist/cjs/{payouts-status-0951e39d.js → payouts-status-9f2e9a3a.js} +1 -1
- package/dist/cjs/{payouts-table-bc15179c.js → payouts-table-4efa53fa.js} +3 -3
- package/dist/cjs/{schema-validations-0be8068a.js → schema-validations-cc4e6071.js} +5 -92
- package/dist/cjs/{skeleton-c4903a53.js → skeleton-0353466d.js} +1 -1
- package/dist/cjs/{spinner-aac395e3.js → spinner-4fc60a51.js} +1 -1
- package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
- package/dist/cjs/terminals-list-core.cjs.entry.js +12 -10
- package/dist/cjs/{terminals-table-3c19847b.js → terminals-table-5e4bce93.js} +2 -2
- package/dist/cjs/{utils-a05a8bf6.js → utils-134dda01.js} +1 -1
- package/dist/cjs/{utils-5fb95d31.js → utils-337befa9.js} +0 -4
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/index.js +5 -0
- package/dist/collection/api/services/business.service.js +6 -0
- package/dist/collection/collection-manifest.json +3 -4
- package/dist/collection/components/business-forms/payment-provisioning/{document-uploads/business-document-upload-input-group.js → bank-account/bank-account-document-inputs.js} +19 -58
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +85 -0
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +207 -47
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +15 -7
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-documents-on-file.js +63 -0
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +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.js +1 -1
- 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 +32 -2
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +2 -3
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +4 -1
- package/dist/collection/components/business-forms/schemas/business-bank-account-schema.js +8 -4
- package/dist/collection/components/business-forms/schemas/schema-validations.js +2 -4
- 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 +1 -1
- package/dist/collection/components/checkout/checkout.js +2 -2
- package/dist/collection/components/checkout/new-payment-method.js +5 -2
- package/dist/collection/components/checkout/payment-method-options.js +1 -1
- package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
- package/dist/collection/components/checkout/saved-payment-method.js +1 -1
- package/dist/collection/components/checkout/sezzle-payment-method.js +1 -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/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.js +1 -1
- package/dist/collection/components/payment-details/payment-details-core.js +7 -7
- package/dist/collection/components/payments-list/get-payments.js +4 -1
- package/dist/collection/components/payments-list/payments-list-core.js +10 -11
- package/dist/collection/components/payments-list/payments-list-filters.js +113 -3
- package/dist/collection/components/payments-list/payments-list-params-state.js +11 -5
- package/dist/collection/components/payments-list/payments-list.js +1 -1
- package/dist/collection/components/payout-details/payout-details-core.js +1 -1
- 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/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/tokenize-payment-method/tokenize-payment-method.js +1 -1
- package/dist/collection/styles/parts.js +9 -0
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- 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/docs.json +580 -520
- package/dist/esm/{Checkout-d476bb83.js → Checkout-8325c97a.js} +1 -1
- package/dist/esm/Document-1907c0d4.js +55 -0
- package/dist/esm/{Payment-47630113.js → Payment-82d2f453.js} +1 -1
- package/dist/esm/{SubAccount-f31349a9.js → SubAccount-a73bf971.js} +1 -1
- package/dist/esm/additional-questions-details_5.entry.js +3 -3
- package/dist/esm/{badge-b034e71b.js → badge-938ba4b1.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +123 -0
- package/dist/esm/bank-account-form_9.entry.js +16 -13
- package/dist/esm/billing-form_3.entry.js +8 -7
- package/dist/esm/{business-additional-questions-schema-aba9747e.js → business-additional-questions-schema-212a96ed.js} +1 -1
- package/dist/esm/business-details-core.entry.js +3 -3
- package/dist/esm/{business-identity-schema-8b0f1619.js → business-identity-schema-05bd2a5f.js} +1 -1
- package/dist/esm/{business.service-ab2663a3.js → business.service-6a208f8f.js} +7 -1
- package/dist/esm/{button-8a02823c.js → button-4b3f3934.js} +1 -1
- package/dist/esm/{check-pkg-version-f613bceb.js → check-pkg-version-bac7eb5e.js} +1 -1
- package/dist/esm/{checkout.service-c275270e.js → checkout.service-ac067baa.js} +5 -3
- package/dist/esm/checkouts-list-core.entry.js +12 -10
- package/dist/esm/{checkouts-table-115bacc4.js → checkouts-table-1634366d.js} +3 -3
- package/dist/esm/{custom-popper.entry.js → custom-popper_4.entry.js} +140 -4
- package/dist/esm/{dispute.service-882e35ed.js → dispute.service-26a788a8.js} +5 -3
- package/dist/esm/{event-types-948c3b14.js → event-types-fd7a05d9.js} +2 -2
- package/dist/esm/form-alert_5.entry.js +1 -1
- 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-066cdad4.js → form-control-error-text-b3d14e92.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +4 -4
- package/dist/esm/{form-control-help-text-3b6f5980.js → form-control-help-text-7b07fc37.js} +1 -1
- package/dist/esm/form-control-monetary.entry.js +5 -5
- package/dist/esm/form-control-number-masked_2.entry.js +4 -4
- package/dist/esm/form-control-number.entry.js +5 -5
- package/dist/esm/form-control-radio.entry.js +3 -3
- package/dist/esm/{get-payout-csv-50aea928.js → get-payout-csv-684fece6.js} +5 -4
- package/dist/esm/{get-subaccounts-ab3dd32c.js → get-subaccounts-b1bed757.js} +5 -4
- package/dist/esm/gross-payment-chart-core.entry.js +5 -5
- package/dist/esm/{header-1-75c284dd.js → header-1-4db0c986.js} +1 -1
- package/dist/esm/{header-3-4a327395.js → header-3-fd150ccf.js} +1 -1
- package/dist/esm/{insurance-state-b495be64.js → insurance-state-529e2d0d.js} +1 -1
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +824 -0
- package/dist/esm/{justifi-additional-questions-form-step_10.entry.js → justifi-additional-questions-form-step_9.entry.js} +31 -227
- package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
- package/dist/esm/justifi-business-details.entry.js +5 -5
- package/dist/esm/justifi-business-form.entry.js +15 -13
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
- package/dist/esm/justifi-checkout-core.entry.js +8 -8
- package/dist/esm/justifi-checkout.entry.js +10 -9
- package/dist/esm/justifi-checkouts-list-filters.entry.js +1 -1
- package/dist/esm/justifi-checkouts-list.entry.js +14 -13
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
- package/dist/esm/justifi-dispute-management.entry.js +9 -8
- package/dist/esm/justifi-dispute-notification_3.entry.js +14 -13
- package/dist/esm/justifi-gross-payment-chart.entry.js +4 -4
- package/dist/esm/justifi-owner-form_3.entry.js +7 -6
- package/dist/esm/justifi-payment-details.entry.js +11 -10
- package/dist/esm/justifi-payment-provisioning-core.entry.js +2 -2
- package/dist/esm/justifi-payment-provisioning.entry.js +4 -4
- package/dist/esm/justifi-payments-list-filters.entry.js +25 -4
- package/dist/esm/justifi-payments-list.entry.js +18 -14
- package/dist/esm/justifi-payout-details.entry.js +11 -10
- package/dist/esm/justifi-payouts-list-filters.entry.js +2 -2
- package/dist/esm/justifi-payouts-list.entry.js +14 -13
- package/dist/esm/justifi-refund-form.entry.js +7 -5
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +4 -4
- package/dist/esm/justifi-season-interruption-insurance.entry.js +9 -8
- 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 +5 -5
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-9b94eb81.js → package-90ebd343.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/{parts-93f379ab.js → parts-ab2bb4b5.js} +9 -1
- package/dist/esm/payment-details-core.entry.js +13 -13
- package/dist/esm/{payment-provisioning-actions-a262ee82.js → payment-provisioning-actions-726795a0.js} +33 -3
- package/dist/esm/{payment.service-92b90855.js → payment.service-2e418da1.js} +5 -3
- package/dist/esm/payments-list-core.entry.js +22 -19
- package/dist/esm/payments-list-params-state-d05b24aa.js +16 -0
- package/dist/esm/{payments-status-82466054.js → payments-status-abf1724b.js} +1 -1
- package/dist/esm/{payments-table-c0bb25b6.js → payments-table-88fbab49.js} +3 -3
- package/dist/esm/payout-details-core.entry.js +8 -8
- package/dist/esm/payouts-list-core.entry.js +13 -12
- package/dist/esm/{payouts-status-b98c8297.js → payouts-status-d9987a8a.js} +1 -1
- package/dist/esm/{payouts-table-4382a264.js → payouts-table-055d3633.js} +3 -3
- package/dist/esm/{schema-validations-5b0ac96b.js → schema-validations-ccea6a06.js} +4 -84
- package/dist/esm/{skeleton-3bcb2b5d.js → skeleton-ee7c3b32.js} +1 -1
- package/dist/esm/{spinner-b83f3a87.js → spinner-8ec6669a.js} +1 -1
- package/dist/esm/table-filters-menu.entry.js +3 -3
- package/dist/esm/terminals-list-core.entry.js +12 -10
- package/dist/esm/{terminals-table-8f1c2146.js → terminals-table-2963e65b.js} +2 -2
- package/dist/esm/{utils-7fb6331d.js → utils-c2dc83b2.js} +1 -1
- package/dist/esm/{utils-b76d791e.js → utils-c37124fc.js} +1 -4
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Checkout.js +1 -1
- package/dist/module/Payment.js +1 -1
- package/dist/module/SubAccount.js +1 -1
- package/dist/module/additional-questions.js +1 -1
- package/dist/module/additional-statement.js +2 -2
- package/dist/module/badge.js +1 -1
- package/dist/module/bank-account-document-form-inputs.d.ts +11 -0
- package/dist/module/bank-account-document-form-inputs.js +6 -0
- package/dist/module/bank-account-document-inputs.js +58 -0
- package/dist/module/bank-account-form-inputs.d.ts +11 -0
- package/dist/module/bank-account-form-inputs.js +6 -0
- package/dist/module/bank-account-form-inputs2.js +63 -0
- package/dist/module/bank-account-form2.js +1 -1
- package/dist/module/billing-form-wrapper.js +1 -1
- package/dist/module/business-additional-questions-form-step-core.js +2 -2
- package/dist/module/business-bank-account-form-step-core.js +239 -64
- package/dist/module/business-bank-account-form-step.js +42 -5
- package/dist/module/business-core-info-form-step-core.js +2 -2
- package/dist/module/business-core-info-form-step.js +1 -1
- package/dist/module/business-core-info-schema.js +1 -1
- package/dist/module/business-core-info.js +1 -1
- package/dist/module/business-documents-on-file.d.ts +11 -0
- package/dist/module/business-documents-on-file.js +4 -36
- package/dist/module/business-documents-on-file2.js +45 -0
- package/dist/module/business-form-options.js +1 -1
- package/dist/module/business-identity-schema.js +1 -1
- package/dist/module/business-owners-form-step-core.js +1 -1
- 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 +1 -1
- package/dist/module/business-representative-form-step.js +1 -1
- package/dist/module/business-terms-conditions-form-step.js +9 -11
- package/dist/module/business.service.js +7 -1
- package/dist/module/cancellation-policy.js +2 -2
- package/dist/module/card-form2.js +1 -1
- package/dist/module/checkout-core.js +2 -2
- package/dist/module/checkout.service.js +2 -0
- package/dist/module/checkouts-list-core2.js +6 -4
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +2 -2
- 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 -1
- package/dist/module/dispute-response-core.js +1 -1
- 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 +22 -61
- package/dist/module/event-types2.js +61 -22
- 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-error-text.js +1 -1
- 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 +3 -3
- 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 -1
- package/dist/module/get-subaccounts.js +2 -1
- package/dist/module/gross-payment-chart-core2.js +2 -2
- package/dist/module/hidden-input2.js +2 -2
- package/dist/module/iframe-input2.js +4 -4
- package/dist/module/justifi-business-form.js +3 -1
- package/dist/module/justifi-checkout.js +2 -2
- package/dist/module/justifi-checkouts-list-filters.js +1 -1
- package/dist/module/justifi-checkouts-list.js +3 -2
- package/dist/module/justifi-dispute-management.js +1 -1
- package/dist/module/justifi-payment-details.js +2 -1
- package/dist/module/justifi-payment-provisioning.js +50 -56
- package/dist/module/justifi-payments-list-filters.js +32 -5
- package/dist/module/justifi-payments-list.js +7 -3
- package/dist/module/justifi-payout-details.js +2 -1
- package/dist/module/justifi-payouts-list-filters.js +2 -2
- package/dist/module/justifi-payouts-list.js +2 -1
- package/dist/module/justifi-refund-form.js +3 -1
- package/dist/module/justifi-season-interruption-insurance.js +3 -2
- package/dist/module/justifi-terminals-list-filters.js +1 -1
- package/dist/module/justifi-terminals-list.js +2 -1
- package/dist/module/justifi-tokenize-payment-method.js +1 -1
- package/dist/module/legal-address-form-step-core.js +1 -1
- package/dist/module/legal-address-form-step.js +1 -1
- package/dist/module/new-payment-method.js +5 -2
- package/dist/module/owner-details2.js +1 -1
- package/dist/module/owner-form-core2.js +2 -2
- package/dist/module/owner-form.js +1 -1
- package/dist/module/package.js +1 -1
- package/dist/module/pagination-menu2.js +1 -1
- package/dist/module/parts.js +9 -1
- package/dist/module/payment-details-core2.js +8 -8
- package/dist/module/payment-method-options.js +1 -1
- package/dist/module/payment-provisioning-actions.js +33 -3
- package/dist/module/payment-provisioning-core.js +50 -56
- package/dist/module/payment-provisioning-form-buttons.js +1 -1
- package/dist/module/payment-provisioning-form-steps.js +51 -58
- package/dist/module/payment.service.js +2 -0
- package/dist/module/payments-list-core2.js +15 -13
- package/dist/module/payments-list-params-state.js +11 -5
- package/dist/module/payout-details-core2.js +2 -2
- package/dist/module/payouts-list-core2.js +6 -5
- package/dist/module/product-or-service.js +2 -2
- package/dist/module/refund-policy.js +2 -2
- package/dist/module/representative-details2.js +1 -1
- package/dist/module/save-new-payment-method.js +1 -1
- package/dist/module/saved-payment-method.js +2 -2
- package/dist/module/schema-validations.js +4 -31
- package/dist/module/season-interruption-insurance-core.js +2 -2
- package/dist/module/sezzle-payment-method.js +2 -2
- package/dist/module/shipping-details.js +2 -2
- package/dist/module/spinner.js +1 -1
- package/dist/module/table-filters-menu2.js +1 -1
- package/dist/module/terminals-list-core2.js +5 -3
- package/dist/module/utils2.js +1 -4
- package/dist/types/api/index.d.ts +4 -0
- package/dist/types/api/services/business.service.d.ts +7 -0
- package/dist/types/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.d.ts +7 -0
- package/dist/types/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.d.ts +7 -0
- package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.d.ts +18 -6
- package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +3 -1
- package/dist/types/components/business-forms/payment-provisioning/{document-uploads → bank-account}/business-documents-on-file.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-form-steps.d.ts +0 -1
- package/dist/types/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.d.ts +1 -0
- package/dist/types/components/business-forms/schemas/business-bank-account-schema.d.ts +5 -1
- package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +2 -2
- package/dist/types/components/business-forms/schemas/schema-validations.d.ts +1 -1
- package/dist/types/components/checkout/payment-method-payload.d.ts +2 -0
- package/dist/types/components/payments-list/get-payments.d.ts +2 -1
- package/dist/types/components/payments-list/payments-list-core.d.ts +1 -1
- package/dist/types/components/payments-list/payments-list-filters.d.ts +5 -0
- package/dist/types/components/payments-list/payments-list-params-state.d.ts +4 -3
- package/dist/types/components.d.ts +81 -101
- package/dist/types/styles/parts.d.ts +8 -0
- package/dist/webcomponents/{p-2ce40098.js → p-01d4e35a.js} +1 -1
- package/dist/webcomponents/{p-d1f78cb5.js → p-0277c1b2.js} +1 -1
- package/dist/webcomponents/p-045d4ebf.entry.js +1 -0
- package/dist/webcomponents/p-08d87a52.entry.js +1 -0
- package/dist/webcomponents/p-0e68b7d6.entry.js +1 -0
- package/dist/webcomponents/p-0ef9eae6.entry.js +1 -0
- package/dist/webcomponents/{p-7b1fcab5.entry.js → p-0f6ae5ea.entry.js} +1 -1
- package/dist/webcomponents/p-131db5d1.entry.js +1 -0
- package/dist/webcomponents/p-1603fe4d.js +1 -0
- package/dist/webcomponents/p-18a7a9e6.entry.js +1 -0
- package/dist/webcomponents/p-1e8a1e01.entry.js +1 -0
- package/dist/webcomponents/{p-4c4f9e3b.js → p-21431a04.js} +1 -1
- package/dist/webcomponents/p-21cf557e.entry.js +1 -0
- package/dist/webcomponents/{p-09fd4ee2.entry.js → p-2916bb62.entry.js} +1 -1
- package/dist/webcomponents/p-298e290e.js +1 -0
- package/dist/webcomponents/{p-16a9e343.js → p-2a136295.js} +1 -1
- package/dist/webcomponents/{p-74736657.js → p-2ca5b5e4.js} +1 -1
- package/dist/webcomponents/p-2f94d478.entry.js +1 -0
- package/dist/webcomponents/p-31e2d12c.entry.js +1 -0
- package/dist/webcomponents/p-3c0b56cd.entry.js +1 -0
- package/dist/webcomponents/p-3d5c8a98.entry.js +1 -0
- package/dist/webcomponents/p-3e0f3d87.entry.js +1 -0
- package/dist/webcomponents/{p-f65abd18.js → p-3e716e03.js} +1 -1
- package/dist/webcomponents/p-40e23b13.js +1 -0
- package/dist/webcomponents/p-42047b14.entry.js +1 -0
- package/dist/webcomponents/p-44d2c762.entry.js +1 -0
- package/dist/webcomponents/{p-b04da0de.entry.js → p-56addd0a.entry.js} +1 -1
- package/dist/webcomponents/p-58f5e37b.entry.js +1 -0
- package/dist/webcomponents/{p-d86c1f11.entry.js → p-5afefc50.entry.js} +2 -2
- package/dist/webcomponents/{p-92d78790.js → p-5b72bab7.js} +1 -1
- package/dist/webcomponents/{p-7db2a4d5.entry.js → p-5baec916.entry.js} +1 -1
- package/dist/webcomponents/{p-f76a7f9c.entry.js → p-5bf4535a.entry.js} +1 -1
- package/dist/webcomponents/p-61f0a2ce.js +1 -0
- package/dist/webcomponents/{p-e0f21a47.entry.js → p-62696f63.entry.js} +1 -1
- package/dist/webcomponents/p-631d54a2.entry.js +1 -0
- package/dist/webcomponents/p-63caad6e.entry.js +1 -0
- package/dist/webcomponents/p-66b6c56b.js +1 -0
- package/dist/webcomponents/p-6b0bec46.entry.js +1 -0
- package/dist/webcomponents/p-6d2c8be2.entry.js +1 -0
- package/dist/webcomponents/p-7b04f492.entry.js +1 -0
- package/dist/webcomponents/p-7bcec768.entry.js +1 -0
- package/dist/webcomponents/{p-5d0763a5.js → p-7c31ec70.js} +1 -1
- package/dist/webcomponents/{p-2bd8650b.js → p-865733bc.js} +1 -1
- package/dist/webcomponents/{p-44604a45.js → p-8f25f016.js} +1 -1
- package/dist/webcomponents/p-9235b94e.entry.js +1 -0
- package/dist/webcomponents/{p-411382f3.js → p-938993c7.js} +1 -1
- package/dist/webcomponents/{p-d6e51c2f.js → p-94eba309.js} +1 -1
- package/dist/webcomponents/p-9540d2f2.js +1 -0
- package/dist/webcomponents/{p-83aa33f0.js → p-9894484a.js} +1 -1
- package/dist/webcomponents/p-98dad117.entry.js +1 -0
- package/dist/webcomponents/p-9ad6e792.entry.js +1 -0
- package/dist/webcomponents/p-a263a3db.entry.js +1 -0
- package/dist/webcomponents/p-aa02cf71.js +1 -0
- package/dist/webcomponents/p-ab1504b6.entry.js +1 -0
- package/dist/webcomponents/p-abb46c6b.entry.js +1 -0
- package/dist/webcomponents/p-b6e90400.entry.js +1 -0
- package/dist/webcomponents/{p-2b081961.entry.js → p-bada4783.entry.js} +1 -1
- package/dist/webcomponents/p-c470a150.js +1 -0
- package/dist/webcomponents/{p-eb644cb7.js → p-c5c03d88.js} +1 -1
- package/dist/webcomponents/p-c5ce98b0.entry.js +1 -0
- package/dist/webcomponents/{p-6b21b6c9.js → p-c845cb7a.js} +1 -1
- package/dist/webcomponents/p-cc4adf97.js +1 -0
- package/dist/webcomponents/{p-72a90154.entry.js → p-cdb7fa19.entry.js} +1 -1
- package/dist/webcomponents/p-d07c45e6.entry.js +1 -0
- package/dist/webcomponents/p-d0bde1cb.js +1 -0
- package/dist/webcomponents/p-d8c04275.js +1 -0
- package/dist/webcomponents/{p-541b7c36.entry.js → p-db37b175.entry.js} +1 -1
- package/dist/webcomponents/p-ddcd2ff7.entry.js +1 -0
- package/dist/webcomponents/p-de13f23c.js +1 -0
- package/dist/webcomponents/p-dec18cc4.js +1 -0
- package/dist/webcomponents/{p-3fa7d9c9.entry.js → p-e0db920c.entry.js} +1 -1
- package/dist/webcomponents/{p-39177d5a.js → p-e63fdbca.js} +1 -1
- package/dist/webcomponents/{p-730e8425.js → p-e8c3c23f.js} +1 -1
- package/dist/webcomponents/p-ea105de3.js +1 -0
- package/dist/webcomponents/p-ea5cf135.entry.js +1 -0
- package/dist/webcomponents/p-ed17e472.entry.js +1 -0
- package/dist/webcomponents/p-f0c0cbc8.entry.js +1 -0
- package/dist/webcomponents/{p-24a9c773.js → p-f19f9f61.js} +1 -1
- package/dist/webcomponents/p-f1e01bab.entry.js +1 -0
- package/dist/webcomponents/p-f2f2e20e.js +1 -0
- package/dist/webcomponents/p-f5925b1e.entry.js +1 -0
- package/dist/webcomponents/p-f694e1c8.js +1 -0
- package/dist/webcomponents/p-f706d70e.js +1 -0
- package/dist/webcomponents/p-f9728478.entry.js +1 -0
- package/dist/webcomponents/p-f9ac523e.entry.js +1 -0
- package/dist/webcomponents/p-f9d63d9d.js +1 -0
- package/dist/webcomponents/p-fa2b405c.entry.js +1 -0
- package/dist/webcomponents/{p-bf07d5d0.entry.js → p-facada09.entry.js} +1 -1
- package/dist/webcomponents/p-fe0d245f.entry.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/form-control-file.cjs.entry.js +0 -67
- package/dist/cjs/form-control-select_3.cjs.entry.js +0 -145
- package/dist/cjs/justifi-additional-questions-form-step-core_9.cjs.entry.js +0 -800
- package/dist/cjs/payments-list-params-state-0ff968a7.js +0 -14
- package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.js +0 -338
- package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-documents-on-file.js +0 -40
- package/dist/collection/components/business-forms/payment-provisioning/document-uploads/input-configurations.js +0 -52
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.js +0 -8
- package/dist/collection/components/business-forms/schemas/business-document-upload-schema.js +0 -23
- package/dist/esm/form-control-file.entry.js +0 -63
- package/dist/esm/form-control-select_3.entry.js +0 -139
- package/dist/esm/justifi-additional-questions-form-step-core_9.entry.js +0 -788
- package/dist/esm/payments-list-params-state-b3dab8bc.js +0 -10
- package/dist/module/business-document-upload-form-step.js +0 -272
- package/dist/module/business-document-upload-input-group.js +0 -128
- package/dist/module/business-terms-conditions-text.js +0 -28
- package/dist/module/justifi-business-document-upload-form-step.d.ts +0 -11
- package/dist/module/justifi-business-document-upload-form-step.js +0 -6
- package/dist/module/justifi-business-document-upload-input-group.d.ts +0 -11
- package/dist/module/justifi-business-document-upload-input-group.js +0 -6
- package/dist/module/justifi-business-documents-on-file.d.ts +0 -11
- package/dist/module/justifi-business-documents-on-file.js +0 -6
- package/dist/module/justifi-business-terms-conditions-text.d.ts +0 -11
- package/dist/module/justifi-business-terms-conditions-text.js +0 -6
- package/dist/types/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.d.ts +0 -42
- package/dist/types/components/business-forms/payment-provisioning/document-uploads/business-document-upload-input-group.d.ts +0 -21
- package/dist/types/components/business-forms/payment-provisioning/document-uploads/input-configurations.d.ts +0 -45
- package/dist/types/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.d.ts +0 -3
- package/dist/types/components/business-forms/schemas/business-document-upload-schema.d.ts +0 -17
- package/dist/webcomponents/p-04ce1f82.js +0 -1
- package/dist/webcomponents/p-0544f4a4.entry.js +0 -1
- package/dist/webcomponents/p-060ff1a1.js +0 -1
- package/dist/webcomponents/p-0658b707.entry.js +0 -1
- package/dist/webcomponents/p-0d7e7957.js +0 -1
- package/dist/webcomponents/p-0f4168f4.entry.js +0 -1
- package/dist/webcomponents/p-10cface4.entry.js +0 -1
- package/dist/webcomponents/p-10f9ff7b.entry.js +0 -1
- package/dist/webcomponents/p-12233a57.entry.js +0 -1
- package/dist/webcomponents/p-135e24c0.js +0 -1
- package/dist/webcomponents/p-14d21d66.entry.js +0 -1
- package/dist/webcomponents/p-156f0a23.entry.js +0 -1
- package/dist/webcomponents/p-1a27f22e.js +0 -1
- package/dist/webcomponents/p-1e2526c8.entry.js +0 -1
- package/dist/webcomponents/p-2c7441ea.entry.js +0 -1
- package/dist/webcomponents/p-2d27d054.entry.js +0 -1
- package/dist/webcomponents/p-351c7fa3.entry.js +0 -1
- package/dist/webcomponents/p-3f209fcc.entry.js +0 -1
- package/dist/webcomponents/p-46769ec3.entry.js +0 -1
- package/dist/webcomponents/p-47cd431c.js +0 -1
- package/dist/webcomponents/p-4bcfdb99.entry.js +0 -1
- package/dist/webcomponents/p-4e122ace.js +0 -1
- package/dist/webcomponents/p-4e92b1ac.entry.js +0 -1
- package/dist/webcomponents/p-560bc606.entry.js +0 -1
- package/dist/webcomponents/p-5d177a30.js +0 -1
- package/dist/webcomponents/p-67aef066.entry.js +0 -1
- package/dist/webcomponents/p-6bc01617.js +0 -1
- package/dist/webcomponents/p-6e8be579.entry.js +0 -1
- package/dist/webcomponents/p-73323a41.entry.js +0 -1
- package/dist/webcomponents/p-73619f0a.js +0 -1
- package/dist/webcomponents/p-74d6e182.entry.js +0 -1
- package/dist/webcomponents/p-783f72a5.entry.js +0 -1
- package/dist/webcomponents/p-7bddbee4.js +0 -1
- package/dist/webcomponents/p-850b7717.entry.js +0 -1
- package/dist/webcomponents/p-87ce7b69.js +0 -1
- package/dist/webcomponents/p-8d61499c.entry.js +0 -1
- package/dist/webcomponents/p-9154210a.entry.js +0 -1
- package/dist/webcomponents/p-96bc127e.entry.js +0 -1
- package/dist/webcomponents/p-98e49e54.entry.js +0 -1
- package/dist/webcomponents/p-a3df6c3e.entry.js +0 -1
- package/dist/webcomponents/p-a5008b32.entry.js +0 -1
- package/dist/webcomponents/p-a59636ed.js +0 -1
- package/dist/webcomponents/p-a7b04e24.js +0 -1
- package/dist/webcomponents/p-ac2588af.entry.js +0 -1
- package/dist/webcomponents/p-aee49e6e.entry.js +0 -1
- package/dist/webcomponents/p-b78da082.entry.js +0 -1
- package/dist/webcomponents/p-b7b18a0f.entry.js +0 -1
- package/dist/webcomponents/p-ba202e33.js +0 -1
- package/dist/webcomponents/p-c0e18724.entry.js +0 -1
- package/dist/webcomponents/p-c65c07f7.entry.js +0 -1
- package/dist/webcomponents/p-ca6214ca.entry.js +0 -1
- package/dist/webcomponents/p-cb8f7bf4.js +0 -1
- package/dist/webcomponents/p-ce2de434.entry.js +0 -1
- package/dist/webcomponents/p-def672dc.entry.js +0 -1
- package/dist/webcomponents/p-df795bd0.entry.js +0 -1
- package/dist/webcomponents/p-f2158e48.entry.js +0 -1
- package/dist/webcomponents/p-f3867b82.entry.js +0 -1
- package/dist/webcomponents/p-fc3daedd.js +0 -1
- package/dist/webcomponents/p-fd6619d0.entry.js +0 -1
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { object } from "yup";
|
|
2
|
-
import { accountNumberValidation, accountTypeValidation, bankNameValidation, identityNameValidation, nicknameValidation, routingNumberValidation } from "./schema-validations";
|
|
3
|
-
export const businessBankAccountSchema = (allowOptionalFields) => {
|
|
2
|
+
import { accountNumberValidation, accountTypeValidation, bankNameValidation, identityNameValidation, nicknameValidation, routingNumberValidation, voidedCheckValidation, bankStatementValidation } from "./schema-validations";
|
|
3
|
+
export const businessBankAccountSchema = (documents, allowOptionalFields) => {
|
|
4
4
|
const schema = object({
|
|
5
5
|
bank_name: bankNameValidation.required('Enter bank name'),
|
|
6
6
|
nickname: nicknameValidation.required('Enter nickname'),
|
|
7
7
|
account_owner_name: identityNameValidation.required('Enter account owner name'),
|
|
8
8
|
account_type: accountTypeValidation.required('Select account type'),
|
|
9
9
|
account_number: accountNumberValidation.required('Enter account number'),
|
|
10
|
-
routing_number: routingNumberValidation.required('Enter routing number')
|
|
10
|
+
routing_number: routingNumberValidation.required('Enter routing number'),
|
|
11
|
+
voided_check: voidedCheckValidation(documents, allowOptionalFields),
|
|
12
|
+
bank_statement: bankStatementValidation(documents, allowOptionalFields)
|
|
11
13
|
});
|
|
12
14
|
const easySchema = object({
|
|
13
15
|
bank_name: bankNameValidation.nullable(),
|
|
@@ -15,7 +17,9 @@ export const businessBankAccountSchema = (allowOptionalFields) => {
|
|
|
15
17
|
account_owner_name: identityNameValidation.nullable(),
|
|
16
18
|
account_type: accountTypeValidation.nullable(),
|
|
17
19
|
account_number: accountNumberValidation.nullable(),
|
|
18
|
-
routing_number: routingNumberValidation.nullable()
|
|
20
|
+
routing_number: routingNumberValidation.nullable(),
|
|
21
|
+
voided_check: voidedCheckValidation(documents, allowOptionalFields),
|
|
22
|
+
bank_statement: bankStatementValidation(documents, allowOptionalFields)
|
|
19
23
|
});
|
|
20
24
|
return allowOptionalFields ? easySchema : schema;
|
|
21
25
|
};
|
|
@@ -176,14 +176,12 @@ export const voidedCheckValidation = (documents, allowOptionalFields) => {
|
|
|
176
176
|
return documentUploadValidation.required('Please select one or more files');
|
|
177
177
|
}
|
|
178
178
|
};
|
|
179
|
-
export const bankStatementValidation = (
|
|
180
|
-
const vol = parseInt(volume);
|
|
181
|
-
const bankStatementRequiredAmount = 250000;
|
|
179
|
+
export const bankStatementValidation = (documents, allowOptionalFields) => {
|
|
182
180
|
const existingDoc = documents.some((doc) => doc.document_type === EntityDocumentType.bankStatement);
|
|
183
181
|
if (existingDoc || allowOptionalFields) {
|
|
184
182
|
return documentUploadValidation.nullable();
|
|
185
183
|
}
|
|
186
|
-
else
|
|
184
|
+
else {
|
|
187
185
|
return documentUploadValidation.required('Please select one or more files');
|
|
188
186
|
}
|
|
189
187
|
};
|
|
@@ -9,7 +9,7 @@ export class BankAccountForm {
|
|
|
9
9
|
return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: '6e351c4e7bd3afe586f988855a8347c7ddd08ec8' }, h("div", { key: '822a342538c44f9d643a1b443302107cc3086ba1', class: "container-fluid p-0" }, h("div", { key: 'bacfd7176144928a80cb0bc491b9a83e7260c502', class: "row mb-3" }, h("iframe-input", { key: '77c88ac7f6c26f8467d9c1d2f8f053bd6003bfec', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${IFRAME_ORIGIN}/accountNumber` })), h("div", { key: 'da73fc03e8c124a37d0fa84a66439c879e745ef2', class: "row" }, h("iframe-input", { key: '2f36b96ecff473ef72e47ce5b9b009fe1067eee2', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${IFRAME_ORIGIN}/routingNumber` })))));
|
|
13
13
|
}
|
|
14
14
|
static get is() { return "bank-account-form"; }
|
|
15
15
|
static get methods() {
|
|
@@ -11,7 +11,7 @@ export class CardForm {
|
|
|
11
11
|
return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '279551d81ed11cde65d51e28d9dc9be9d5f0d422', class: "container-fluid p-0" }, h("div", { key: '2ab4164df7fd258243a89b02fe4a634069f31670', class: "mb-3" }, h("iframe-input", { key: '0baf4772d66bc228ef0259487c5b7be67321ebf1', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${IFRAME_ORIGIN}/cardNumber` })), h("div", { key: 'ba458f877d837bd8c3302f9888e3ddfba58c2024', class: "row" }, h("div", { key: '960975abed4e4db2ed5428e81bd0771b7f18aca7', class: "col-4 align-content-end" }, h("iframe-input", { key: 'b609e584b00cced44db0cb44cb8436f3daa18a2e', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${IFRAME_ORIGIN}/expirationMonth` })), h("div", { key: '42725f5223920f9185a384f88ba17ca1e3215b30', class: "col-4 align-content-end" }, h("iframe-input", { key: '9c2c8410b3344dc44b4538881965f6b9e1a0b6c9', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${IFRAME_ORIGIN}/expirationYear` })), h("div", { key: 'f4c3a801b0f3088b0cee30914d6088d0b140b637', class: "col-4 align-content-end" }, h("iframe-input", { key: '7bb5ebec54d900539f2bfdb85537c6d3185d3419', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${IFRAME_ORIGIN}/CVV` })))));
|
|
15
15
|
}
|
|
16
16
|
static get is() { return "card-form"; }
|
|
17
17
|
static get methods() {
|
|
@@ -123,7 +123,7 @@ export class CheckoutCore {
|
|
|
123
123
|
return (h("section", null, h("div", { class: !this.isLoading && 'visually-hidden' }, h(Skeleton, { height: "24px" })), h("div", { class: this.isLoading && 'visually-hidden' }, h("div", { part: text }, (_a = this.checkout) === null || _a === void 0 ? void 0 : _a.payment_description), h("div", null, h("span", { part: text }, "Total"), "\u00A0", h("span", { part: text }, formatCurrency(+((_b = this.checkout) === null || _b === void 0 ? void 0 : _b.total_amount)))))));
|
|
124
124
|
}
|
|
125
125
|
render() {
|
|
126
|
-
return (h(StyledHost, { key: '
|
|
126
|
+
return (h(StyledHost, { key: 'a3da58e301dbb938bad9785ef93deb58c9f8bc1c' }, h("div", { key: '1e27568848b163443823e475f60f024e0574d5a1', class: "row gy-3 jfi-checkout-core" }, h("div", { key: '1626910a51278d3605d7478967bd5510f06ab0e8', class: "col-12", part: checkoutSummary }, h(Header2, { key: 'a611cc9f961758d629ef9b60a7c721e779c2e7aa', text: "Summary", class: "fs-5 fw-bold pb-3" }), this.summary), h("div", { key: '497cbf1fb357b5da2ba33355d8b216812ca462d8', class: "col-12" }, h("slot", { key: 'ee71b1f7ee82c5309c55367585be33d911d1a77a', name: "insurance" })), h("div", { key: '77f4b551f6f8caea04cedea4331dbac1b58cc2b2', class: "col-12 mt-4" }, h(Header2, { key: 'e03f34d1368468fc3712cf3adcb3254ac729ca2c', text: "Payment", class: "fs-5 fw-bold pb-3" }), h(Header3, { key: '80b7ae6d2b965532e1def898369d9e294c9efa47', text: "Select payment type", class: "fs-6 fw-bold lh-lg" }), h("div", { key: 'fbcbb06d2f706a4f317496afbb5f932c7a954285', class: "d-flex flex-column" }, this.paymentType)), h("div", { key: 'e272325743370aa22ef9973523eb47829b9504f4', class: "col-12" }, h("div", { key: '0c0cfb11564c8008dfb05d0ec48e0c18ea63c589', class: "d-flex justify-content-end" }, h(Button, { key: '85860b67adb647db23b4944cefec1bcf0ec19d92', type: "submit", variant: "primary", onClick: (e) => this.submit(e), disabled: this.isLoading, isLoading: this.isLoading, style: { width: '100%' } }, "Pay"))))));
|
|
127
127
|
}
|
|
128
128
|
static get is() { return "justifi-checkout-core"; }
|
|
129
129
|
static get encapsulation() { return "shadow"; }
|
|
@@ -53,11 +53,11 @@ export class Checkout {
|
|
|
53
53
|
this.checkoutCoreRef.fillBillingForm(fields);
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
56
|
-
return (h("justifi-checkout-core", { key: '
|
|
56
|
+
return (h("justifi-checkout-core", { key: 'd0f0e8bd7634b09e43d7b89fc9b62dad5a46698a', getCheckout: this.getCheckout, authToken: this.authToken, complete: this.complete, disableCreditCard: this.disableCreditCard, disableBankAccount: this.disableBankAccount, disableBnpl: this.disableBnpl, disablePaymentMethodGroup: this.disablePaymentMethodGroup, hideCardBillingForm: this.hideCardBillingForm, ref: el => {
|
|
57
57
|
if (el) {
|
|
58
58
|
this.checkoutCoreRef = el;
|
|
59
59
|
}
|
|
60
|
-
} }, h("div", { key: '
|
|
60
|
+
} }, h("div", { key: 'c523d863b3c50a2a341c6afda034a847f172f64d', slot: "insurance" }, h("slot", { key: '7fc6851584286b771b300113065950fd3c36fe7b', name: "insurance" }))));
|
|
61
61
|
}
|
|
62
62
|
static get is() { return "justifi-checkout"; }
|
|
63
63
|
static get properties() {
|
|
@@ -39,7 +39,10 @@ export class NewPaymentMethod {
|
|
|
39
39
|
}
|
|
40
40
|
else {
|
|
41
41
|
const tokenizeRessponseData = tokenizeResponse.data;
|
|
42
|
-
return {
|
|
42
|
+
return {
|
|
43
|
+
token: ((_a = tokenizeRessponseData.card) === null || _a === void 0 ? void 0 : _a.token) || ((_b = tokenizeRessponseData.bank_account) === null || _b === void 0 ? void 0 : _b.token),
|
|
44
|
+
data: tokenizeRessponseData
|
|
45
|
+
};
|
|
43
46
|
}
|
|
44
47
|
}
|
|
45
48
|
catch (error) {
|
|
@@ -76,7 +79,7 @@ export class NewPaymentMethod {
|
|
|
76
79
|
}
|
|
77
80
|
render() {
|
|
78
81
|
var _a, _b;
|
|
79
|
-
return (h(Host, { key: '
|
|
82
|
+
return (h(Host, { key: '08d8aac7f71c6f7e6f55b8e43a8987ad0e0604d2', class: "payment-method" }, h("div", { key: 'd38fb7c6591df0c552ec51137b4358a2fa5a2651', class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick }, h("form-control-radio", { key: '90725e78617ea8dcd40981cac815601a75256f7d', name: "paymentMethodType", value: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, checked: this.isSelected, label: PaymentMethodTypeLabels[(_b = this.paymentMethodOption) === null || _b === void 0 ? void 0 : _b.id] })), this.isSelected ? this.showNewPaymentMethodForm() : null));
|
|
80
83
|
}
|
|
81
84
|
static get is() { return "justifi-new-payment-method"; }
|
|
82
85
|
static get properties() {
|
|
@@ -58,7 +58,7 @@ export class PaymentMethodOptions {
|
|
|
58
58
|
}
|
|
59
59
|
render() {
|
|
60
60
|
var _a;
|
|
61
|
-
return (h(Host, { key: '
|
|
61
|
+
return (h(Host, { key: 'b83f8b54a8f5a15790b263047a5eb9acc416ae2c' }, (_a = this.paymentMethodOptions) === null || _a === void 0 ? void 0 : _a.map((paymentMethodOption) => {
|
|
62
62
|
const newCard = paymentMethodOption.id === PaymentMethodTypes.card;
|
|
63
63
|
const newBankAccount = paymentMethodOption.id === PaymentMethodTypes.bankAccount;
|
|
64
64
|
const isSelected = this.selectedPaymentMethodId === paymentMethodOption.id;
|
|
@@ -8,7 +8,7 @@ export class SaveNewPaymentMethod {
|
|
|
8
8
|
this.checkboxChanged.emit(this.isChecked);
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h("div", { key: '
|
|
11
|
+
return (h("div", { key: '86520e5820d9e6ef19946566b31912c5b1050bf6', class: "mt-4 form-check" }, h("form-control-checkbox", { key: 'cc87b708b88aaf4b1f1a93f6b6ebfdd030f87bc0', label: "Save new payment method", name: "saveNewPaymentMethod", checked: this.isChecked, inputHandler: this.handleCheckboxChange.bind(this) })));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "justifi-save-new-payment-method"; }
|
|
14
14
|
static get states() {
|
|
@@ -20,7 +20,7 @@ export class SavedPaymentMethod {
|
|
|
20
20
|
;
|
|
21
21
|
render() {
|
|
22
22
|
var _a, _b, _c;
|
|
23
|
-
return (h(Host, { key: '
|
|
23
|
+
return (h(Host, { key: '34d26fc514053e2fe028a4a3ba0cbdeb8aa835f1', class: "payment-method" }, h("div", { key: 'da373a524b97bb91a0bc0849f0670c440f5cf5a8', class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick }, h("form-control-radio", { key: '824ebc566a018e342dd7f128c69fca873bbded45', name: "paymentMethodType", value: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, checked: this.isSelected, label: `${CardBrandLabels[(_b = this.paymentMethodOption) === null || _b === void 0 ? void 0 : _b.brand] || ''} *${(_c = this.paymentMethodOption) === null || _c === void 0 ? void 0 : _c.acct_last_four}` }))));
|
|
24
24
|
}
|
|
25
25
|
static get is() { return "justifi-saved-payment-method"; }
|
|
26
26
|
static get properties() {
|
|
@@ -65,7 +65,7 @@ export class SezzlePaymentMethod {
|
|
|
65
65
|
}
|
|
66
66
|
render() {
|
|
67
67
|
var _a, _b, _c;
|
|
68
|
-
return (h(Host, { key: '
|
|
68
|
+
return (h(Host, { key: '696051d9a48f0127013dcc84a25053f85ad92145', class: "payment-method" }, h("script", { key: '0dec4821a85dbef872494885c32c26719423b761', src: "https://checkout-sdk.sezzle.com/checkout.min.js", async: true, ref: (el) => (this.scriptRef = el) }), h("div", { key: 'fb9812691532a49f5c8093a989f6277d4755e531', class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick }, h("form-control-radio", { key: '3ae4c03b30a32b860231789d2f541fbfbea37bef', name: "paymentMethodType", value: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, checked: this.isSelected, label: h("div", null, h("div", null, "Buy now, pay later with ", sezzleLogo), this.installmentPlan && (h("small", null, h("span", null, (_b = this.installmentPlan) === null || _b === void 0 ? void 0 : _b.installments.length), "\u00A0", h("span", null, this.installmentPlan.schedule, " payments of"), "\u00A0", h("span", { class: "fw-bold" }, formatCurrency((_c = this.installmentPlan) === null || _c === void 0 ? void 0 : _c.installments[0].amountInCents))))) }))));
|
|
69
69
|
}
|
|
70
70
|
static get is() { return "justifi-sezzle-payment-method"; }
|
|
71
71
|
static get properties() {
|
|
@@ -123,7 +123,7 @@ export class CheckoutsListCore {
|
|
|
123
123
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
124
124
|
}
|
|
125
125
|
render() {
|
|
126
|
-
return (h("div", { key: '
|
|
126
|
+
return (h("div", { key: '525904319e2827a04ccbd44f83881504ddeba992' }, h("div", { key: '30c5800d270fe77e2a396b6379273a0639d4221e', class: "table-wrapper" }, h("table", { key: 'f8a66cf99bf0dc185d0cc541e3d38f4b68b136be', class: "table table-hover", part: table }, h("thead", { key: 'c47c664e4bc8526b494d089b8e1198dfe27fa4fc', class: "table-head sticky-top" }, h("tr", { key: '645aca7f2610bd3b86c8e775edf264c9f53c7f6f', class: "table-light text-nowrap" }, this.checkoutsTable.columnData.map((column) => column))), h("tbody", { key: '79a046fced553f214e55d56c401211d0d682394e', class: "table-body" }, h(TableLoadingState, { key: '654f967a8b9552213a232d35e74d2700cc237cfd', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '80d985f6055e254262653e240b0d16a2e46123d0', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: 'a99fa4e4f370b70cc927a9b3e65d54828e56e448', 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: '619b3f952c5e6f8e1c612927b5d976ea6e4cffe7', class: "sticky-bottom" }, h("tr", { key: '5fb77b80e4c52154c658bbd2ebc8de9d8bc903aa', class: "table-light align-middle" }, h("td", { key: 'a5d1d6d1cf164681ad7a5f59bf4ae9a70e94911c', part: tableCell, colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: 'ce6e17ee3d3a6a3f513dedef209e9d4f2d7eff31', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
127
127
|
}
|
|
128
128
|
static get is() { return "checkouts-list-core"; }
|
|
129
129
|
static get properties() {
|
|
@@ -24,7 +24,7 @@ export class CheckoutsListFilters {
|
|
|
24
24
|
];
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
|
-
return (h(StyledHost, { key: '
|
|
27
|
+
return (h(StyledHost, { key: '5015b8422169ea4c32f8e92f3931963ad0d8c8f9' }, h("table-filters-menu", { key: '2169201810641e563dc0af321c5b7367fad04a3a', params: Object.assign({}, queryParams), clearParams: clearParams }, h("div", { key: '802ce6488f2204ece4845e95d9225b05c428bc13', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '99dfed0fafadff13f37e6cbfcb98761be6d49a68', class: "p-2" }, h("form-control-select", { key: '0b37e4c6685be467c08b3c86df6f9bfc8ab52e3d', name: "status", label: "Status", options: this.checkoutStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: queryParams.status || '' })), h("div", { key: 'dec0b6be6d13847dbf748ea0a038df2db143afe2', class: "p-2" }, h("form-control-select", { key: 'acd5f387f5ea2a4b5918b9a3a80eaac199bbd8d5', name: "payment_mode", label: "Payment Mode", options: this.checkoutPaymentModeOptions, inputHandler: this.setParamsOnChange, defaultValue: queryParams.payment_mode || '' }))))));
|
|
28
28
|
}
|
|
29
29
|
static get is() { return "justifi-checkouts-list-filters"; }
|
|
30
30
|
static get encapsulation() { return "shadow"; }
|
|
@@ -67,7 +67,7 @@ export class CheckoutsList {
|
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
render() {
|
|
70
|
-
return (h(StyledHost, { key: '
|
|
70
|
+
return (h(StyledHost, { key: 'aae56ec9ac20a6ed740a5180bfedf664d7d1e0ca' }, h("checkouts-list-core", { key: '933b8b41aa468c1515b64a8fb6570609454ee361', getCheckouts: this.getCheckouts, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
71
71
|
}
|
|
72
72
|
static get is() { return "justifi-checkouts-list"; }
|
|
73
73
|
static get encapsulation() { return "shadow"; }
|
|
@@ -50,7 +50,7 @@ export class DisputeManagementCore {
|
|
|
50
50
|
});
|
|
51
51
|
}
|
|
52
52
|
render() {
|
|
53
|
-
return (h("div", { key: '
|
|
53
|
+
return (h("div", { key: 'b5a802e8c418b3b7f3235f43260186084a6ee079' }, 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 }))));
|
|
54
54
|
}
|
|
55
55
|
static get is() { return "justifi-dispute-management-core"; }
|
|
56
56
|
static get properties() {
|
|
@@ -48,7 +48,7 @@ export class DisputeManagement {
|
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
render() {
|
|
51
|
-
return (h("justifi-dispute-management-core", { key: '
|
|
51
|
+
return (h("justifi-dispute-management-core", { key: 'ac225c68cd03070f60bf00bef92ddcc8d5fe4e47', getDispute: this.getDispute, disputeId: this.disputeId, authToken: this.authToken, "onError-event": this.handleErrorEvent }));
|
|
52
52
|
}
|
|
53
53
|
static get is() { return "justifi-dispute-management"; }
|
|
54
54
|
static get properties() {
|
|
@@ -35,7 +35,7 @@ export class DisputeNotification {
|
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
37
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
38
|
-
return (h(StyledHost, { key: '
|
|
38
|
+
return (h(StyledHost, { key: '90d2506d5bde2ea478fa3575fc162bb356b67fac' }, this.isLoading && (h("div", { key: '4877ae22d3d8e312640b122c9107b6bdd8f924cb', style: { marginBottom: '8px' } }, h(Skeleton, { key: '31fa0717949bbc6aa49db1c6ae0e324099ae1de2', height: '28px', width: '70%', styles: { marginBottom: '16px' } }), h(Skeleton, { key: 'ac5179232cb9ee33d3f3e16d9f93536ecfbf46a5', height: '18px', styles: { marginBottom: '8px' } }), h(Skeleton, { key: 'c22a5e3b257d01f92de7f6188fa0758861abc747', height: '18px', styles: { marginBottom: '8px' } }))), ((_a = this.dispute) === null || _a === void 0 ? void 0 : _a.needsResponse) && (h("div", { key: 'be331b1a5e2fa0baf46bc593ef7ce4f5872abcff', part: text }, h("h1", { key: '8094c16d3b375f28ffe314613f21ae25b63e59ef', class: "h4", part: heading4 }, "This payment is disputed"), h("p", { key: 'd89ae665e1f9bd99c9338e2132c1dc56e5386696' }, "The cardholder is disputing this payment. You may accept this dispute, or proceed to provide evidence in a counter dispute."), h("h2", { key: '2786733eac76628019993e13473d1f43c0c395ed', class: "h5" }, "Dispute details"), h("div", { key: '663c28c46136bd56889b6ad0b9bfce9e5adbb590', class: "d-table gap-2" }, h("div", { key: 'dc688fad875d1591dcb7f31d423b61a3df2ff954', class: "d-table-row gap-2" }, h("span", { key: '442db7a6e95524ca6b092794c7a4a4d987c9866e', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Amount"), h("span", { key: '0a31de8692c9b00f43fcf3c0508e4d00a221d096', 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: '9fe0c1a3d3350c36fca190ae748dafe24d41b5fc', class: "d-table-row gap-2" }, h("span", { key: '12165cb6671519130a5f2e0d8938aaa55e7e3ead', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Reason"), h("span", { key: '4a37ca8a7d64b97142997bb50ec11d737ac6a882', 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: '4d9cf74a8ed26dd84e4ce7325d4b8703352362a4', class: "d-table-row gap-2" }, h("span", { key: '8c0eaa24ebec7703eb18384b0b1f2eae8a684b55', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Dispute ID"), h("span", { key: '238813abf2ea0848e1fe817d5798b9b0d0b78ffc', 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: 'd156a7e9bf0e7214ff2164fc09b12c0b8f1d2b36', class: "d-flex gap-2 mt-4 justify-content-end" }, h(Button, { key: '7822fd12dfc39bd2aced043956d012fd34cc1b01', variant: "secondary", onClick: () => this.acceptDispute() }, "Accept dispute"), h(Button, { key: '05132b3a6d1fc3d136dc227008ea1999330cdb96', variant: "primary", onClick: () => this.initiateRespondToDispute() }, "Counter dispute")))), ((_e = this.dispute) === null || _e === void 0 ? void 0 : _e.underReview) && (h("div", { key: 'b04dd0c34f608b75ea3997a9c28ce948fa9dba5c' }, h("h1", { key: 'ac2a13373315703e86247b6707097af7cf2e6757', class: "h4" }, "This payment is disputed and under review"), h("p", { key: '203aed553e01bbaebe44bb370a1d088c149cda06' }, "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: '68411e62bb5c8048e995906a5f30ef1001a0bc5b' }, h("h1", { key: '565feeac6e7aca35a0b72c9128c1edcb0d6a85b6', class: "h4" }, "This payment was disputed"), h("p", { key: '68371d393c1f4053f19827c6e46978b3d73d2873' }, "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: '99d10bf25e730dda4f4596efa100b4cff7ddc0c8' }, h("h1", { key: 'd5c6252c4236f2e5b93925db8c9a40bab6c0253a', class: "h4" }, "This payment was disputed"), h("p", { key: '773d083786d795fee7f7818f34414a7d1459925c' }, "The cardholder disputed this payment and the card issuer has settled it their favor.")))));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "justifi-dispute-notification"; }
|
|
41
41
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/dispute-management/dispute-response/additional-statement.js
CHANGED
|
@@ -38,7 +38,7 @@ export class AdditionalStatement {
|
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
40
|
var _a;
|
|
41
|
-
return (h("div", { key: '
|
|
41
|
+
return (h("div", { key: 'd0047a4d77bcab83eb40d649bef9143bd0494a29' }, h("div", { key: '6a885d8d42962477a0dc58ff7b726be0c1778fef', class: "row gy-3" }, h("div", { key: '158a7392e846f1521f64d50d6d9f4ef55399882e', class: "col-12" }, h("h2", { key: '4220ccee243d30d512fcf95ae900935f4c738d51', class: "h5", part: heading5 }, "Additional Evidence")), h("div", { key: '777e6f3a129431e612c8fdbfac456ed40c3c068f', class: "col-12" }, h("form-control-textarea", { key: 'b9ca73e48d7797d308136176ddc964f435822b8f', label: "Is there anything else you would like to say about this dispute?", name: "additional_statement", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.additional_statement, inputHandler: this.inputHandler, errorText: this.errors.additional_statement })), h("div", { key: '0eae8623234917330e16a1d0d517bc3b5e369bd9', class: "col-12" }, h("form-control-file-v2", { key: '9888c9848db8f979de5550b52990da71da468806', label: "Additional files", name: "uncategorized_file", multiple: true, helpText: "Upload any additional pieces of evidence that have not already been provided.", onChange: this.handleFileSelection })))));
|
|
42
42
|
}
|
|
43
43
|
static get is() { return "justifi-additional-statement"; }
|
|
44
44
|
static get properties() {
|
package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js
CHANGED
|
@@ -36,7 +36,7 @@ export class CancellationPolicy {
|
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
38
|
var _a, _b;
|
|
39
|
-
return (h("div", { key: '
|
|
39
|
+
return (h("div", { key: 'aea08e2f0b6e473563c2dc6013b31069136c4911' }, h("div", { key: '9218719e9e956ba07133cd2c6b001a0e17987c46', class: "row gy-3" }, h("div", { key: '255cf20c0e717a8fa0b7413d212a6709a9e596e5', class: "col-12" }, h("h2", { key: '2cf8304a39b2d6356a9ea6f7c7c1918af428da96', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: '603f5ec85922a915a5c90cc541a815dda15ddad8', class: "col-12" }, h("form-control-textarea", { key: '82eea6470c44f71e162952c07363d8c2726dcaf9', label: "Cancellation Policy Disclosure", name: "cancellation_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.cancellation_policy_disclosure, inputHandler: this.inputHandler, errorText: this.errors.cancellation_policy_disclosure })), h("div", { key: '1e6a7510617cf192fbd604d45be124eeb4add648', class: "col-12" }, h("form-control-textarea", { key: '961044ed4ed21d1706314b0c5c69408eb318a956', label: "Cancellation Rebuttal", name: "cancellation_rebuttal", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.cancellation_rebuttal, inputHandler: this.inputHandler, errorText: this.errors.cancellation_rebuttal })), h("div", { key: '079294903db0fd69c0169ea92dd589c52e91e679', class: "col-12" }, h("form-control-file-v2", { key: 'a08630234a5f4654fc135bd3ac704127ecc302b4', label: "Upload Cancellation Policy", name: "cancellation_policy_file", onChange: this.handleFileSelection })))));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "justifi-cancellation-policy"; }
|
|
42
42
|
static get properties() {
|
|
@@ -36,7 +36,7 @@ export class CustomerDetails {
|
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
38
|
var _a, _b, _c;
|
|
39
|
-
return (h("div", { key: '
|
|
39
|
+
return (h("div", { key: 'd2de3bd04c9669399f9fedec4399a05ac310ed69' }, h("div", { key: '3f04107b1e74560103db25f99b03cd585b3421bd', class: "row gy-3" }, h("div", { key: 'e421dc7b298895407fbbb6148d67effcea8bc723', class: "col-12" }, h("h2", { key: 'bc4c8e02aad8233978b8fb23f2387d140cacd85f', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: '9d578e5a681c449da348dff753809458e1389152', class: "col-12" }, h("form-control-text", { key: '7da1bb3641095a93b504b37d972e0a25bcee5131', 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: 'f5f43784fb15dbdbe1dbd747c692d5a1d39b0c4e', class: "col-12" }, h("form-control-text", { key: '1caa70711c25f25b0b517c821852b21f6fa9b69e', 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: '2f2ef97ac330b9a43deb257c10132260747f8faf', class: "col-12" }, h("form-control-textarea", { key: '11ede0b16ac7b8a2891ed10eaa89b3310b7aca93', 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: '421f0e76563910baac247673ca0d73b79e46b071', class: "col-12" }, h("form-control-file-v2", { key: '0b22b4a895f35a99d529a1a6b29873010ff727a6', label: "Customer Signature", name: "customer_signature", onChange: this.handleFileSelection })), h("div", { key: 'dc7419f81931ca5d076ac0aa2aca59109f9b6e20', class: "col-12" }, h("form-control-file-v2", { key: '6dd57aa10711fcd2f1abc4a0f926ce47b31d78f6', label: "Customer Communication", name: "customer_communication", onChange: this.handleFileSelection })))));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "justifi-customer-details"; }
|
|
42
42
|
static get properties() {
|
package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js
CHANGED
|
@@ -153,7 +153,7 @@ export class DisputeResponseCore {
|
|
|
153
153
|
return this.currentStep === 0;
|
|
154
154
|
}
|
|
155
155
|
render() {
|
|
156
|
-
return (h("div", { key: '
|
|
156
|
+
return (h("div", { key: '672d92a8ac0fb7f28ab9f412ae4f3516a29824dc', class: "row gy-3" }, h("div", { key: '32113215c9eb6393d8d816f88715390fb5d9d604', class: "col-12" }, h("h1", { key: 'f224caa363ebd00d678485fd4cd2d1c646d6d8f5', class: "h4", part: heading4 }, "Counter dispute")), h("div", { key: '49e6046f57a9b30e6746f28512cf311f1999bcc3', class: "col-12" }, this.currentStepComponent), h("div", { key: '6d843d19c9bf7ee026981bdc2ffd5108c25c741a', class: "col-12" }, h("div", { key: 'dd52a249cc37b3cfc912e04502caf96218cade78', 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"))))));
|
|
157
157
|
}
|
|
158
158
|
static get is() { return "justifi-dispute-response-core"; }
|
|
159
159
|
static get properties() {
|
|
@@ -60,7 +60,7 @@ export class DisputeResponse {
|
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
render() {
|
|
63
|
-
return (h(StyledHost, { key: '
|
|
63
|
+
return (h(StyledHost, { key: 'f45d96fd372763ebc3f786c1d2f7e06e25185afc' }, h("justifi-dispute-response-core", { key: '8b551f97d8cb40f3f9e702a35b221faa8873e642', "onError-event": this.handleErrorEvent, "dispute-id": this.disputeId, disputeResponse: this.disputeResponse, createDisputeEvidence: this.createDisputeEvidence, updateDisputeResponse: this.updateDisputeResponse, submitDisputeResponse: this.submitDisputeResponse })));
|
|
64
64
|
}
|
|
65
65
|
;
|
|
66
66
|
static get is() { return "justifi-dispute-response"; }
|
|
@@ -36,7 +36,7 @@ export class DuplicateCharge {
|
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
38
|
var _a, _b;
|
|
39
|
-
return (h("div", { key: '
|
|
39
|
+
return (h("div", { key: '00e332511293230ea1edf4c1ab3b5cae779cb11a' }, h("div", { key: 'd5273559c1cce126dadba74d7cd9296a06f9eab7', class: "row gy-3" }, h("div", { key: '0a8ed20053241dbb3e6a2e6255f72b99f4d71462', class: "col-12" }, h("h2", { key: '56be236c466893ca5bc3cf73cf345feeae5f25fc', class: "h5", part: heading5 }, "Duplicate Charge")), h("div", { key: 'bc0018fd6f471571f9a6e6c5fdbc131c48610773', class: "col-12" }, h("form-control-text", { key: '4bc56e12c31ab7189b879f58917cd373652b7a79', label: "Original Payment ID", name: "duplicate_charge_original_payment_id", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.duplicate_charge_original_payment_id, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_original_payment_id })), h("div", { key: 'f61547b546a44f04c8dd82c38c92fd221018a3ca', class: "col-12" }, h("form-control-textarea", { key: '1cb31176ebafb0f8641d96b5844cf8d8f09d5c59', label: "Duplicate Charge Explanation", name: "duplicate_charge_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.duplicate_charge_explanation, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_explanation })), h("div", { key: '86dbe8df7121c7c9e33d56785da70ff3204eab9b', class: "col-12" }, h("form-control-file-v2", { key: '38d6050f68271d8969fdfb652d571e2eeb0646fd', label: "Duplicate Charge Documentation", name: "duplicate_charge_documentation", onChange: this.handleFileSelection })))));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "justifi-duplicate-charge"; }
|
|
42
42
|
static get properties() {
|
package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js
CHANGED
|
@@ -36,7 +36,7 @@ export class ElectronicEvidence {
|
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
38
|
var _a;
|
|
39
|
-
return (h("div", { key: '
|
|
39
|
+
return (h("div", { key: 'ed2ef898b32c0dac2ee02f4fe226f3c2c0be1772' }, h("div", { key: 'df8398f845fe434ab523fda4fd19971c09209cce', class: "row gy-3" }, h("div", { key: 'e75fb6dc9d26fa7edf24b6678412fe6a3dba4e3a', class: "col-12" }, h("h2", { key: 'b26c40da6044557558cfef97dc45d216b98e5584', class: "h5", part: heading5 }, "Electronic Evidence")), h("div", { key: 'd96c532cff8eb4dbae7cd7064669164c462122b6', class: "col-12" }, h("form-control-text", { key: 'cce9eeed80d9ce9060c890ed97fb3d34fb94ec34', label: "Purchase IP Address", name: "customer_purchase_ip_address", helpText: "The IP address used by the customer during the purchase.", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_purchase_ip_address, inputHandler: this.inputHandler, errorText: this.errors.customer_purchase_ip_address })), h("div", { key: '88df79677c7c803aa4c3747669d666169148c71a', class: "col-12" }, h("form-control-file-v2", { key: 'a551b6dca12a447934655bfcb073353abf51e8ac', label: "Activity Logs", name: "activity_log", helpText: "Any server or activity logs that provide evidence of the customer's access to or download of the purchased digital product. This information should encompass IP addresses, relevant timestamps, and any detailed records of activity.", onChange: this.handleFileSelection, errorText: this.errors.activity_log })))));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "justifi-electronic-evidence"; }
|
|
42
42
|
static get properties() {
|
package/dist/collection/components/dispute-management/dispute-response/product-or-service.js
CHANGED
|
@@ -36,7 +36,7 @@ export class ProductOrService {
|
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
38
|
var _a, _b;
|
|
39
|
-
return (h("div", { key: '
|
|
39
|
+
return (h("div", { key: 'a40a8a641d5b0e56fea415895b33523f5981fdc2' }, h("div", { key: '82da6b545c20d56b4b0e02c214448a15edf27440', class: "row gy-3" }, h("div", { key: '00cc29411e76d553c1b3fcda0ad2b02a08401b15', class: "col-12" }, h("h2", { key: 'a313f27a3d7c23c428ef14a7269c051c9053305c', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: '07efb7c5c5ce83e098838b5ccd48ca8ca93e189c', class: "col-12" }, h("form-control-text", { key: '7c94f75e3555730ac5aa65b1baed84d7530ffee1', label: "Product Description", name: "product_description", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.product_description, inputHandler: this.inputHandler, errorText: this.errors.product_description })), h("div", { key: 'd679f7b7c59ac645128f99c9fed0a49bca3907bb', class: "col-12" }, h("form-control-text", { key: 'e8b13489274045c77db77c000c11a242b6aae255', label: "Service Date", name: "service_date", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.service_date, inputHandler: this.inputHandler, errorText: this.errors.service_date })), h("div", { key: 'b24282195e2818158b5b6ef3c4c0581409680f4a', class: "col-12" }, h("form-control-file-v2", { key: '3e401f3149b104bb4d346bcbe6906c206abe8067', label: "Service Documentation", name: "service_documentation", onChange: this.handleFileSelection, errorText: this.errors.service_documentation })))));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "justifi-product-or-service"; }
|
|
42
42
|
static get properties() {
|
|
@@ -36,7 +36,7 @@ export class RefundPolicy {
|
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
38
|
var _a, _b;
|
|
39
|
-
return (h("div", { key: '
|
|
39
|
+
return (h("div", { key: 'af53582fbda822cf130de3cb9ebec8ca228285ef' }, h("div", { key: '6f2bd60cc9e03a154d876f136a7776e8b168ce2d', class: "row gy-3" }, h("div", { key: '65cf646cf92f1ae0700c873f759061adb884cc81', class: "col-12" }, h("h2", { key: '74aed04947fa6868c151a31d144dbf922acf401c', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: '57632d99565dc3e007b4c4421fa26c1faf12f49b', class: "col-12" }, h("form-control-textarea", { key: '1531c99a09c71d319fc800c9108ad0ddec99704d', label: "Refund Policy Disclosure", name: "refund_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.refund_policy_disclosure, inputHandler: this.inputHandler })), h("div", { key: 'ae973eeecdf7fdafa25f00977898ba453a6180b5', class: "col-12" }, h("form-control-textarea", { key: '1b6d4d9a412b0300dcbd5bf7c52af6b43a070bc8', label: "Refund Refusal Explanation", name: "refund_refusal_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.refund_refusal_explanation, inputHandler: this.inputHandler })), h("div", { key: 'e37a85c57c72af2e7a055672caf654637d53254d', class: "col-12" }, h("form-control-file-v2", { key: 'a953f49dd1c77960deac827ad0e61e65e57ca701', label: "Upload Refund Policy", name: "refund_policy", onChange: this.handleFileSelection })), h("div", { key: 'e1d5e0afaf9dff41d58c280e88182fcef4880428', class: "col-12" }, h("form-control-file-v2", { key: '57a94d969de6a38e4d46ab06c6585401dddde1db', label: "Upload Receipt", name: "receipt", onChange: this.handleFileSelection })))));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "justifi-refund-policy"; }
|
|
42
42
|
static get properties() {
|
|
@@ -36,7 +36,7 @@ export class ShippingDetails {
|
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
38
|
var _a, _b, _c, _d;
|
|
39
|
-
return (h("div", { key: '
|
|
39
|
+
return (h("div", { key: '09f0b2ae6a8a8f7827646fc6173c173cd03227d9' }, h("div", { key: '3779ab211fe12611db274578aa00ebf168900afb', class: "row gy-3" }, h("div", { key: 'eedd3e14096dbb605ad6fd0e662115cfbd2091da', class: "col-12" }, h("h2", { key: '41ab8ac8ad5cdc2ad46e217645b58ca7f6ff243b', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: 'eacbb056741e38a64e1acdc51d8a6766a9ef25ef', class: "col-12" }, h("form-control-text", { key: 'ef39645f1557dc422ee475ba9cc6f8a0ef5109ee', label: "Shipping Carrier Name", name: "shipping_carrier", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.shipping_carrier, inputHandler: this.inputHandler, errorText: this.errors.shipping_carrier })), h("div", { key: '338495781e1d1b412b6eb88a88c231c89dddb06a', class: "col-12" }, h("form-control-text", { key: '3f208113c4db507fc14f05f2312e4056ae3bfa50', label: "Tracking Number", name: "shipping_tracking_number", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.shipping_tracking_number, inputHandler: this.inputHandler, errorText: this.errors.shipping_tracking_number })), h("div", { key: 'b7de777a2f4b413d181c54ef21b33f011b6242d1', class: "col-12" }, h("form-control-date", { key: '0bea6e634fd79db518c1377feaf0c19ba7218380', label: "Date Shipped", name: "shipping_date", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.shipping_date, inputHandler: this.inputHandler, errorText: this.errors.shipping_date })), h("div", { key: '6984cbb1e60a83ea4d15a3116634c573f8d5be8f', class: "col-12" }, h("form-control-textarea", { key: '89747dfc9ddc287c91ead9428dd1b5a8a86721eb', label: "Shipping Address", name: "shipping_address", defaultValue: (_d = this.disputeResponse) === null || _d === void 0 ? void 0 : _d.shipping_address, inputHandler: this.inputHandler, errorText: this.errors.shipping_address })), h("div", { key: 'aacc2e70654f07afeed7687464a90612da693030', class: "col-12" }, h("form-control-file-v2", { key: 'be7c004b4f56a81273f202c32e5471461e67a197', label: "Shipping Documentation", name: "shipping_documentation", onChange: this.handleFileSelection })))));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "justifi-shipping-details"; }
|
|
42
42
|
static get properties() {
|
|
@@ -69,7 +69,7 @@ export class GrossPaymentChartCore {
|
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
render() {
|
|
72
|
-
return (h(Host, { key: '
|
|
72
|
+
return (h(Host, { key: '14360f11f9b118e347ee73739f03c3631fbef1a4' }, this.loading && h(Spinner, { key: 'a5190472afdbf507c6c36c8aaae1473bffc80dcf' }), !this.errorMessage ? h("canvas", { id: "chart", ref: (elem) => this.chartRef = elem }) : ErrorState(this.errorMessage)));
|
|
73
73
|
}
|
|
74
74
|
static get is() { return "gross-payment-chart-core"; }
|
|
75
75
|
static get properties() {
|
package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js
CHANGED
|
@@ -55,7 +55,7 @@ export class SeasonInterruptionInsurance {
|
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
57
|
render() {
|
|
58
|
-
return (h("justifi-season-interruption-insurance-core", { key: '
|
|
58
|
+
return (h("justifi-season-interruption-insurance-core", { key: '50413e347b808cbf350573602701d5e6e7d4def5', 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 }));
|
|
59
59
|
}
|
|
60
60
|
static get is() { return "justifi-season-interruption-insurance"; }
|
|
61
61
|
static get encapsulation() { return "shadow"; }
|
|
@@ -39,14 +39,14 @@ export class PaymentDetailsCore {
|
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
|
-
return (h(StyledHost, { key: '
|
|
43
|
-
this.payment && (h("justifi-details", { key: '
|
|
44
|
-
h(DetailSectionTitle, { key: '
|
|
45
|
-
h("div", { key: '
|
|
42
|
+
return (h(StyledHost, { key: 'b35aadc771c0b521cf558f0ab2c010ac167999f1' }, this.loading && h(PaymentDetailsLoading, { key: '9a45f73df71ecf776308acb3e0715e114166548d' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
|
|
43
|
+
this.payment && (h("justifi-details", { key: '0e754696b095b549dafd1789c7a1a462738f9856', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: 'ef94f025849fefde53daecdb2a3f6475993e2634', slot: "head-info", badge: MapPaymentStatusToBadge(this.payment.status), title: this.payment.formattedPaymentAmount(this.payment.amount) }, h(EntityHeadInfoItem, { key: '566fd465a660a2fd31e3af18b42b1ad2f687d328', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payment.updated_at)} ${formatTime(this.payment.updated_at)}` }), h(EntityHeadInfoItem, { key: 'e85a469aba3c07b93ac768189b108b3940e6bd1f', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payment.created_at)} ${formatTime(this.payment.created_at)}` }), h(EntityHeadInfoItem, { key: '74c237c68cba09dd5568fa82883c69dc10e45897', title: "ID", value: this.payment.id })), h("div", { key: '69c6daf0c74b2fb003db1a7e785258f1146de701', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '4f87cd9f2a0c8777132d7b8726bdcd09cf7be433', sectionTitle: "Details" }), h("div", { key: '134845f91eef1b6dcd335ac96e59f19684ebd491', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '65c8b3540b5a0c5a4efe8f3a7aac5251def031d3', title: "Amount", value: this.payment.formattedPaymentAmount(this.payment.amount) }), h(DetailItem, { key: 'e25d3093be7ab1b564a4af92d7face28d49d213b', title: "Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: '7d05d55d2f04facff86bdafc51e6c17e4cab80de', title: "Refunded", value: this.payment.formattedPaymentAmount(this.payment.amount_refunded) }), h(DetailItem, { key: '28a436948de1aa09f09891f597c40293b86d8870', title: "Net", value: this.payment.formattedPaymentAmount(this.payment.balance) }), h(DetailItem, { key: '670f5c3b79325d473cc0765c87769db9ec65434c', title: "Status", value: MapPaymentStatusToBadge(this.payment.status) }), h(DetailItem, { key: 'aa2fbe3ddee9341a0c9aadcf4bb484014a672bc6', title: "Payment ID", value: this.payment.id }), h(DetailItem, { key: '214b5ded4fbf4e6310a2da856053a4f353b86363', title: "Processing Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: 'ffdf2b03994b584f7be6dd1e53ab8078f85c1b7e', title: "Statement Descriptor", value: this.payment.statement_descriptor }), h(DetailItem, { key: '0f6bd6fa810b152c02b8ed59540755ddbd74ffba', title: "Description", value: this.payment.description })), this.payment.payment_method.card && [
|
|
44
|
+
h(DetailSectionTitle, { key: 'd464f0b7d46d433105e3ca30130c5fe563816282', sectionTitle: "Payment Method" }),
|
|
45
|
+
h("div", { key: '60485f42c8f2490d7119c5b6ecd7febca1aa77ef', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '67cd2ef5f5270294ebf607628c9597210fe65be4', title: "ID", value: this.payment.payment_method.card.id }), h(DetailItem, { key: 'c1000dc756f1b9dcfef34cf82b274b66324c8300', title: "Payment Type", value: "Card" }), h(DetailItem, { key: 'dc5ce24f30293851230a721fb5e0cb17841a0c26', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: '4d5046cc3f23ad11ca97698ced951baa9520ab09', title: "Brand", value: snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), h(DetailItem, { key: '97ac51fcd928d4d4fdf79dddb5577b048e0d81e9', title: "Cardholder", value: this.payment.payment_method.payersName }))
|
|
46
46
|
], this.payment.payment_method.bank_account && [
|
|
47
|
-
h(DetailSectionTitle, { key: '
|
|
48
|
-
h("div", { key: '
|
|
49
|
-
], h(DetailSectionTitle, { key: '
|
|
47
|
+
h(DetailSectionTitle, { key: '35a79ce77f5169316113a4db24a2ef8ce19e95f9', sectionTitle: "Payment Method" }),
|
|
48
|
+
h("div", { key: '32ad717125ad1de2ef98c652bb09f82673cf1cb9', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '18e8fafc324e72bc252939b5143c596dd43ec698', title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { key: '09ff2cfc2b6925b972c63061b19f14db20cfba3e', title: "Last 4 Numbers", value: this.payment.last_four_digits }), h(DetailItem, { key: '80ecb22f35368ebd46b44bc05e28083feefb38e5', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { key: '3f813a886d42fc43523f3f936c68f1733105d62c', title: "Account Owner", value: this.payment.payment_method.payersName }))
|
|
49
|
+
], h(DetailSectionTitle, { key: '1f73daaaeeab874b7b12d12eb1dd2f82b63b8bba', sectionTitle: 'Metadata' }), h("div", { key: 'a3ca93b3151773f4a98af2f703b62dba3cbb2957', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: 'a40ac95709ef184daa3be5034c8b96bba12acbd4', metadata: this.payment.metadata })))))));
|
|
50
50
|
}
|
|
51
51
|
static get is() { return "payment-details-core"; }
|
|
52
52
|
static get properties() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Payment } from "../../api";
|
|
2
2
|
import { ComponentErrorSeverity } from "../../api/ComponentError";
|
|
3
3
|
import { getErrorCode, getErrorMessage } from "../../api/services/utils";
|
|
4
|
-
export const makeGetPayments = ({ id, authToken, service, apiOrigin }) => async ({ params, onSuccess, onError }) => {
|
|
4
|
+
export const makeGetPayments = ({ id, authToken, service, apiOrigin }) => async ({ params, onSuccess, onError, final }) => {
|
|
5
5
|
var _a, _b;
|
|
6
6
|
try {
|
|
7
7
|
const response = await service.fetchPayments(id, authToken, params, apiOrigin);
|
|
@@ -28,4 +28,7 @@ export const makeGetPayments = ({ id, authToken, service, apiOrigin }) => async
|
|
|
28
28
|
severity: ComponentErrorSeverity.ERROR,
|
|
29
29
|
});
|
|
30
30
|
}
|
|
31
|
+
finally {
|
|
32
|
+
return final();
|
|
33
|
+
}
|
|
31
34
|
};
|