@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
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
8
|
import { IAdditionalQuestions, IAddress, IBusiness } from "./api/Business";
|
|
9
|
+
import { ComponentErrorEvent as ComponentErrorEvent1, ComponentFormStepCompleteEvent as ComponentFormStepCompleteEvent1, FileSelectEvent, IApiResponse, IBnpl, ILoadedEventResponse } from "./api";
|
|
9
10
|
import { BillingFormFields, PostalFormFields } from "./components/billing-forms/billing-form-schema";
|
|
10
11
|
import { ComponentClickEvent, ComponentErrorEvent, ComponentFormStepCompleteEvent, ComponentSubmitEvent } from "./api/ComponentEvents";
|
|
11
12
|
import { Placement, PositioningStrategy } from "@popperjs/core";
|
|
12
|
-
import { EntityDocumentType, FileSelectEvent } from "./api/Document";
|
|
13
|
+
import { EntityDocumentType, FileSelectEvent as FileSelectEvent1 } from "./api/Document";
|
|
13
14
|
import { BillingFormFields as BillingFormFields1, FormController } from "./components";
|
|
14
15
|
import { DisputeEvidenceDocument } from "./api/DisputeEvidenceDocument";
|
|
15
16
|
import { DisputeResponseFormStep } from "./components/dispute-management/dispute-response/dispute-response-form-types";
|
|
16
17
|
import { FormController as FormController1 } from "./ui-components/form/form";
|
|
17
|
-
import { IApiResponse, IBnpl, ILoadedEventResponse } from "./api";
|
|
18
18
|
import { ILoadedEventResponse as ILoadedEventResponse1 } from "./api/Checkout";
|
|
19
19
|
import { Dispute, IDispute } from "./api/Dispute";
|
|
20
20
|
import { PaymentMethodOption } from "./components/checkout/payment-method-option-utils";
|
|
@@ -24,15 +24,15 @@ import { ComponentErrorCodes } from "./api/ComponentError";
|
|
|
24
24
|
import { Identity } from "./api/Identity";
|
|
25
25
|
import { PaginationProps } from "./components/pagination-menu/pagination-menu";
|
|
26
26
|
export { IAdditionalQuestions, IAddress, IBusiness } from "./api/Business";
|
|
27
|
+
export { ComponentErrorEvent as ComponentErrorEvent1, ComponentFormStepCompleteEvent as ComponentFormStepCompleteEvent1, FileSelectEvent, IApiResponse, IBnpl, ILoadedEventResponse } from "./api";
|
|
27
28
|
export { BillingFormFields, PostalFormFields } from "./components/billing-forms/billing-form-schema";
|
|
28
29
|
export { ComponentClickEvent, ComponentErrorEvent, ComponentFormStepCompleteEvent, ComponentSubmitEvent } from "./api/ComponentEvents";
|
|
29
30
|
export { Placement, PositioningStrategy } from "@popperjs/core";
|
|
30
|
-
export { EntityDocumentType, FileSelectEvent } from "./api/Document";
|
|
31
|
+
export { EntityDocumentType, FileSelectEvent as FileSelectEvent1 } from "./api/Document";
|
|
31
32
|
export { BillingFormFields as BillingFormFields1, FormController } from "./components";
|
|
32
33
|
export { DisputeEvidenceDocument } from "./api/DisputeEvidenceDocument";
|
|
33
34
|
export { DisputeResponseFormStep } from "./components/dispute-management/dispute-response/dispute-response-form-types";
|
|
34
35
|
export { FormController as FormController1 } from "./ui-components/form/form";
|
|
35
|
-
export { IApiResponse, IBnpl, ILoadedEventResponse } from "./api";
|
|
36
36
|
export { ILoadedEventResponse as ILoadedEventResponse1 } from "./api/Checkout";
|
|
37
37
|
export { Dispute, IDispute } from "./api/Dispute";
|
|
38
38
|
export { PaymentMethodOption } from "./components/checkout/payment-method-option-utils";
|
|
@@ -45,10 +45,21 @@ export namespace Components {
|
|
|
45
45
|
interface AdditionalQuestionsDetails {
|
|
46
46
|
"additionalQuestions": IAdditionalQuestions;
|
|
47
47
|
}
|
|
48
|
+
interface BankAccountDocumentFormInputs {
|
|
49
|
+
"errors": any;
|
|
50
|
+
"inputHandler": (name: string, value: string) => void;
|
|
51
|
+
"storeFiles": (e: CustomEvent<FileSelectEvent>) => void;
|
|
52
|
+
}
|
|
48
53
|
interface BankAccountForm {
|
|
49
54
|
"tokenize": (clientId: string, paymentMethodMetadata: any, account?: string) => Promise<any>;
|
|
50
55
|
"validate": () => Promise<any>;
|
|
51
56
|
}
|
|
57
|
+
interface BankAccountFormInputs {
|
|
58
|
+
"defaultValue": any;
|
|
59
|
+
"errors": any;
|
|
60
|
+
"formDisabled": boolean;
|
|
61
|
+
"inputHandler": (name: string, value: string) => void;
|
|
62
|
+
}
|
|
52
63
|
interface BillingForm {
|
|
53
64
|
"fill": (fields: BillingFormFields) => Promise<void>;
|
|
54
65
|
"getValues": () => Promise<BillingFormFields>;
|
|
@@ -61,6 +72,10 @@ export namespace Components {
|
|
|
61
72
|
interface BusinessDetailsCore {
|
|
62
73
|
"getBusiness": Function;
|
|
63
74
|
}
|
|
75
|
+
interface BusinessDocumentsOnFile {
|
|
76
|
+
"documents": any;
|
|
77
|
+
"isLoading": boolean;
|
|
78
|
+
}
|
|
64
79
|
interface CardForm {
|
|
65
80
|
"tokenize": (clientId: string, paymentMethodMetadata: any, account?: string) => Promise<any>;
|
|
66
81
|
"validate": () => Promise<any>;
|
|
@@ -254,6 +269,7 @@ export namespace Components {
|
|
|
254
269
|
"businessId": string;
|
|
255
270
|
"getBusiness": Function;
|
|
256
271
|
"postBankAccount": Function;
|
|
272
|
+
"postDocumentRecord": Function;
|
|
257
273
|
"validateAndSubmit": ({ onSuccess }: { onSuccess: any; }) => Promise<void>;
|
|
258
274
|
}
|
|
259
275
|
/**
|
|
@@ -281,21 +297,6 @@ export namespace Components {
|
|
|
281
297
|
"authToken": string;
|
|
282
298
|
"businessId": string;
|
|
283
299
|
}
|
|
284
|
-
interface JustifiBusinessDocumentUploadFormStep {
|
|
285
|
-
"allowOptionalFields"?: boolean;
|
|
286
|
-
"authToken": string;
|
|
287
|
-
"businessId": string;
|
|
288
|
-
"validateAndSubmit": ({ onSuccess }: { onSuccess: any; }) => Promise<void>;
|
|
289
|
-
}
|
|
290
|
-
interface JustifiBusinessDocumentUploadInputGroup {
|
|
291
|
-
"errors": any;
|
|
292
|
-
"inputHandler": (name: string, value: string) => void;
|
|
293
|
-
"paymentVolume": string;
|
|
294
|
-
"storeFiles": (e: CustomEvent<FileSelectEvent>) => void;
|
|
295
|
-
}
|
|
296
|
-
interface JustifiBusinessDocumentsOnFile {
|
|
297
|
-
"documents": any;
|
|
298
|
-
}
|
|
299
300
|
interface JustifiBusinessForm {
|
|
300
301
|
"authToken": string;
|
|
301
302
|
"businessId": string;
|
|
@@ -343,8 +344,6 @@ export namespace Components {
|
|
|
343
344
|
"businessId": string;
|
|
344
345
|
"validateAndSubmit": ({ onSuccess }: { onSuccess: any; }) => Promise<void>;
|
|
345
346
|
}
|
|
346
|
-
interface JustifiBusinessTermsConditionsText {
|
|
347
|
-
}
|
|
348
347
|
interface JustifiCancellationPolicy {
|
|
349
348
|
"disputeResponse": any;
|
|
350
349
|
"validateAndSubmit": (onSuccess: (formData: any, documentList: DisputeEvidenceDocument[], formStep: DisputeResponseFormStep) => void) => Promise<void>;
|
|
@@ -536,6 +535,11 @@ export namespace Components {
|
|
|
536
535
|
"columns"?: string;
|
|
537
536
|
}
|
|
538
537
|
interface JustifiPaymentsListFilters {
|
|
538
|
+
"createdAfter"?: string;
|
|
539
|
+
"createdBefore"?: string;
|
|
540
|
+
"paymentId"?: string;
|
|
541
|
+
"paymentStatus"?: string;
|
|
542
|
+
"terminalId"?: string;
|
|
539
543
|
}
|
|
540
544
|
interface JustifiPayoutDetails {
|
|
541
545
|
"authToken": string;
|
|
@@ -813,10 +817,6 @@ export interface JustifiBusinessDetailsCustomEvent<T> extends CustomEvent<T> {
|
|
|
813
817
|
detail: T;
|
|
814
818
|
target: HTMLJustifiBusinessDetailsElement;
|
|
815
819
|
}
|
|
816
|
-
export interface JustifiBusinessDocumentUploadFormStepCustomEvent<T> extends CustomEvent<T> {
|
|
817
|
-
detail: T;
|
|
818
|
-
target: HTMLJustifiBusinessDocumentUploadFormStepElement;
|
|
819
|
-
}
|
|
820
820
|
export interface JustifiBusinessFormCustomEvent<T> extends CustomEvent<T> {
|
|
821
821
|
detail: T;
|
|
822
822
|
target: HTMLJustifiBusinessFormElement;
|
|
@@ -980,12 +980,24 @@ declare global {
|
|
|
980
980
|
prototype: HTMLAdditionalQuestionsDetailsElement;
|
|
981
981
|
new (): HTMLAdditionalQuestionsDetailsElement;
|
|
982
982
|
};
|
|
983
|
+
interface HTMLBankAccountDocumentFormInputsElement extends Components.BankAccountDocumentFormInputs, HTMLStencilElement {
|
|
984
|
+
}
|
|
985
|
+
var HTMLBankAccountDocumentFormInputsElement: {
|
|
986
|
+
prototype: HTMLBankAccountDocumentFormInputsElement;
|
|
987
|
+
new (): HTMLBankAccountDocumentFormInputsElement;
|
|
988
|
+
};
|
|
983
989
|
interface HTMLBankAccountFormElement extends Components.BankAccountForm, HTMLStencilElement {
|
|
984
990
|
}
|
|
985
991
|
var HTMLBankAccountFormElement: {
|
|
986
992
|
prototype: HTMLBankAccountFormElement;
|
|
987
993
|
new (): HTMLBankAccountFormElement;
|
|
988
994
|
};
|
|
995
|
+
interface HTMLBankAccountFormInputsElement extends Components.BankAccountFormInputs, HTMLStencilElement {
|
|
996
|
+
}
|
|
997
|
+
var HTMLBankAccountFormInputsElement: {
|
|
998
|
+
prototype: HTMLBankAccountFormInputsElement;
|
|
999
|
+
new (): HTMLBankAccountFormInputsElement;
|
|
1000
|
+
};
|
|
989
1001
|
interface HTMLBillingFormElement extends Components.BillingForm, HTMLStencilElement {
|
|
990
1002
|
}
|
|
991
1003
|
var HTMLBillingFormElement: {
|
|
@@ -1009,6 +1021,12 @@ declare global {
|
|
|
1009
1021
|
prototype: HTMLBusinessDetailsCoreElement;
|
|
1010
1022
|
new (): HTMLBusinessDetailsCoreElement;
|
|
1011
1023
|
};
|
|
1024
|
+
interface HTMLBusinessDocumentsOnFileElement extends Components.BusinessDocumentsOnFile, HTMLStencilElement {
|
|
1025
|
+
}
|
|
1026
|
+
var HTMLBusinessDocumentsOnFileElement: {
|
|
1027
|
+
prototype: HTMLBusinessDocumentsOnFileElement;
|
|
1028
|
+
new (): HTMLBusinessDocumentsOnFileElement;
|
|
1029
|
+
};
|
|
1012
1030
|
interface HTMLCardFormElement extends Components.CardForm, HTMLStencilElement {
|
|
1013
1031
|
}
|
|
1014
1032
|
var HTMLCardFormElement: {
|
|
@@ -1096,7 +1114,7 @@ declare global {
|
|
|
1096
1114
|
interface HTMLFormControlFileElementEventMap {
|
|
1097
1115
|
"formControlInput": any;
|
|
1098
1116
|
"formControlBlur": any;
|
|
1099
|
-
"fileSelected":
|
|
1117
|
+
"fileSelected": FileSelectEvent1;
|
|
1100
1118
|
}
|
|
1101
1119
|
interface HTMLFormControlFileElement extends Components.FormControlFile, HTMLStencilElement {
|
|
1102
1120
|
addEventListener<K extends keyof HTMLFormControlFileElementEventMap>(type: K, listener: (this: HTMLFormControlFileElement, ev: FormControlFileCustomEvent<HTMLFormControlFileElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -1358,7 +1376,7 @@ declare global {
|
|
|
1358
1376
|
new (): HTMLJustifiBillingFormWrapperElement;
|
|
1359
1377
|
};
|
|
1360
1378
|
interface HTMLJustifiBusinessBankAccountFormStepElementEventMap {
|
|
1361
|
-
"error-event":
|
|
1379
|
+
"error-event": ComponentErrorEvent1;
|
|
1362
1380
|
}
|
|
1363
1381
|
interface HTMLJustifiBusinessBankAccountFormStepElement extends Components.JustifiBusinessBankAccountFormStep, HTMLStencilElement {
|
|
1364
1382
|
addEventListener<K extends keyof HTMLJustifiBusinessBankAccountFormStepElementEventMap>(type: K, listener: (this: HTMLJustifiBusinessBankAccountFormStepElement, ev: JustifiBusinessBankAccountFormStepCustomEvent<HTMLJustifiBusinessBankAccountFormStepElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -1375,8 +1393,8 @@ declare global {
|
|
|
1375
1393
|
new (): HTMLJustifiBusinessBankAccountFormStepElement;
|
|
1376
1394
|
};
|
|
1377
1395
|
interface HTMLJustifiBusinessBankAccountFormStepCoreElementEventMap {
|
|
1378
|
-
"complete-form-step-event":
|
|
1379
|
-
"error-event":
|
|
1396
|
+
"complete-form-step-event": ComponentFormStepCompleteEvent1;
|
|
1397
|
+
"error-event": ComponentErrorEvent1;
|
|
1380
1398
|
"formLoading": boolean;
|
|
1381
1399
|
}
|
|
1382
1400
|
interface HTMLJustifiBusinessBankAccountFormStepCoreElement extends Components.JustifiBusinessBankAccountFormStepCore, HTMLStencilElement {
|
|
@@ -1457,37 +1475,6 @@ declare global {
|
|
|
1457
1475
|
prototype: HTMLJustifiBusinessDetailsElement;
|
|
1458
1476
|
new (): HTMLJustifiBusinessDetailsElement;
|
|
1459
1477
|
};
|
|
1460
|
-
interface HTMLJustifiBusinessDocumentUploadFormStepElementEventMap {
|
|
1461
|
-
"complete-form-step-event": ComponentFormStepCompleteEvent;
|
|
1462
|
-
"error-event": ComponentErrorEvent;
|
|
1463
|
-
"formLoading": boolean;
|
|
1464
|
-
}
|
|
1465
|
-
interface HTMLJustifiBusinessDocumentUploadFormStepElement extends Components.JustifiBusinessDocumentUploadFormStep, HTMLStencilElement {
|
|
1466
|
-
addEventListener<K extends keyof HTMLJustifiBusinessDocumentUploadFormStepElementEventMap>(type: K, listener: (this: HTMLJustifiBusinessDocumentUploadFormStepElement, ev: JustifiBusinessDocumentUploadFormStepCustomEvent<HTMLJustifiBusinessDocumentUploadFormStepElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1467
|
-
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1468
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1469
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1470
|
-
removeEventListener<K extends keyof HTMLJustifiBusinessDocumentUploadFormStepElementEventMap>(type: K, listener: (this: HTMLJustifiBusinessDocumentUploadFormStepElement, ev: JustifiBusinessDocumentUploadFormStepCustomEvent<HTMLJustifiBusinessDocumentUploadFormStepElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1471
|
-
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1472
|
-
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1473
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1474
|
-
}
|
|
1475
|
-
var HTMLJustifiBusinessDocumentUploadFormStepElement: {
|
|
1476
|
-
prototype: HTMLJustifiBusinessDocumentUploadFormStepElement;
|
|
1477
|
-
new (): HTMLJustifiBusinessDocumentUploadFormStepElement;
|
|
1478
|
-
};
|
|
1479
|
-
interface HTMLJustifiBusinessDocumentUploadInputGroupElement extends Components.JustifiBusinessDocumentUploadInputGroup, HTMLStencilElement {
|
|
1480
|
-
}
|
|
1481
|
-
var HTMLJustifiBusinessDocumentUploadInputGroupElement: {
|
|
1482
|
-
prototype: HTMLJustifiBusinessDocumentUploadInputGroupElement;
|
|
1483
|
-
new (): HTMLJustifiBusinessDocumentUploadInputGroupElement;
|
|
1484
|
-
};
|
|
1485
|
-
interface HTMLJustifiBusinessDocumentsOnFileElement extends Components.JustifiBusinessDocumentsOnFile, HTMLStencilElement {
|
|
1486
|
-
}
|
|
1487
|
-
var HTMLJustifiBusinessDocumentsOnFileElement: {
|
|
1488
|
-
prototype: HTMLJustifiBusinessDocumentsOnFileElement;
|
|
1489
|
-
new (): HTMLJustifiBusinessDocumentsOnFileElement;
|
|
1490
|
-
};
|
|
1491
1478
|
interface HTMLJustifiBusinessFormElementEventMap {
|
|
1492
1479
|
"submit-event": ComponentSubmitEvent;
|
|
1493
1480
|
"click-event": ComponentClickEvent;
|
|
@@ -1611,12 +1598,6 @@ declare global {
|
|
|
1611
1598
|
prototype: HTMLJustifiBusinessTermsConditionsFormStepElement;
|
|
1612
1599
|
new (): HTMLJustifiBusinessTermsConditionsFormStepElement;
|
|
1613
1600
|
};
|
|
1614
|
-
interface HTMLJustifiBusinessTermsConditionsTextElement extends Components.JustifiBusinessTermsConditionsText, HTMLStencilElement {
|
|
1615
|
-
}
|
|
1616
|
-
var HTMLJustifiBusinessTermsConditionsTextElement: {
|
|
1617
|
-
prototype: HTMLJustifiBusinessTermsConditionsTextElement;
|
|
1618
|
-
new (): HTMLJustifiBusinessTermsConditionsTextElement;
|
|
1619
|
-
};
|
|
1620
1601
|
interface HTMLJustifiCancellationPolicyElement extends Components.JustifiCancellationPolicy, HTMLStencilElement {
|
|
1621
1602
|
}
|
|
1622
1603
|
var HTMLJustifiCancellationPolicyElement: {
|
|
@@ -2344,9 +2325,12 @@ declare global {
|
|
|
2344
2325
|
};
|
|
2345
2326
|
interface HTMLElementTagNameMap {
|
|
2346
2327
|
"additional-questions-details": HTMLAdditionalQuestionsDetailsElement;
|
|
2328
|
+
"bank-account-document-form-inputs": HTMLBankAccountDocumentFormInputsElement;
|
|
2347
2329
|
"bank-account-form": HTMLBankAccountFormElement;
|
|
2330
|
+
"bank-account-form-inputs": HTMLBankAccountFormInputsElement;
|
|
2348
2331
|
"billing-form": HTMLBillingFormElement;
|
|
2349
2332
|
"business-details-core": HTMLBusinessDetailsCoreElement;
|
|
2333
|
+
"business-documents-on-file": HTMLBusinessDocumentsOnFileElement;
|
|
2350
2334
|
"card-form": HTMLCardFormElement;
|
|
2351
2335
|
"checkouts-list-core": HTMLCheckoutsListCoreElement;
|
|
2352
2336
|
"custom-popper": HTMLCustomPopperElement;
|
|
@@ -2379,9 +2363,6 @@ declare global {
|
|
|
2379
2363
|
"justifi-business-core-info-form-step": HTMLJustifiBusinessCoreInfoFormStepElement;
|
|
2380
2364
|
"justifi-business-core-info-form-step-core": HTMLJustifiBusinessCoreInfoFormStepCoreElement;
|
|
2381
2365
|
"justifi-business-details": HTMLJustifiBusinessDetailsElement;
|
|
2382
|
-
"justifi-business-document-upload-form-step": HTMLJustifiBusinessDocumentUploadFormStepElement;
|
|
2383
|
-
"justifi-business-document-upload-input-group": HTMLJustifiBusinessDocumentUploadInputGroupElement;
|
|
2384
|
-
"justifi-business-documents-on-file": HTMLJustifiBusinessDocumentsOnFileElement;
|
|
2385
2366
|
"justifi-business-form": HTMLJustifiBusinessFormElement;
|
|
2386
2367
|
"justifi-business-owners-form-step": HTMLJustifiBusinessOwnersFormStepElement;
|
|
2387
2368
|
"justifi-business-owners-form-step-core": HTMLJustifiBusinessOwnersFormStepCoreElement;
|
|
@@ -2390,7 +2371,6 @@ declare global {
|
|
|
2390
2371
|
"justifi-business-representative-form-step": HTMLJustifiBusinessRepresentativeFormStepElement;
|
|
2391
2372
|
"justifi-business-representative-form-step-core": HTMLJustifiBusinessRepresentativeFormStepCoreElement;
|
|
2392
2373
|
"justifi-business-terms-conditions-form-step": HTMLJustifiBusinessTermsConditionsFormStepElement;
|
|
2393
|
-
"justifi-business-terms-conditions-text": HTMLJustifiBusinessTermsConditionsTextElement;
|
|
2394
2374
|
"justifi-cancellation-policy": HTMLJustifiCancellationPolicyElement;
|
|
2395
2375
|
"justifi-checkout": HTMLJustifiCheckoutElement;
|
|
2396
2376
|
"justifi-checkout-core": HTMLJustifiCheckoutCoreElement;
|
|
@@ -2454,8 +2434,19 @@ declare namespace LocalJSX {
|
|
|
2454
2434
|
interface AdditionalQuestionsDetails {
|
|
2455
2435
|
"additionalQuestions"?: IAdditionalQuestions;
|
|
2456
2436
|
}
|
|
2437
|
+
interface BankAccountDocumentFormInputs {
|
|
2438
|
+
"errors"?: any;
|
|
2439
|
+
"inputHandler"?: (name: string, value: string) => void;
|
|
2440
|
+
"storeFiles"?: (e: CustomEvent<FileSelectEvent>) => void;
|
|
2441
|
+
}
|
|
2457
2442
|
interface BankAccountForm {
|
|
2458
2443
|
}
|
|
2444
|
+
interface BankAccountFormInputs {
|
|
2445
|
+
"defaultValue"?: any;
|
|
2446
|
+
"errors"?: any;
|
|
2447
|
+
"formDisabled"?: boolean;
|
|
2448
|
+
"inputHandler"?: (name: string, value: string) => void;
|
|
2449
|
+
}
|
|
2459
2450
|
interface BillingForm {
|
|
2460
2451
|
/**
|
|
2461
2452
|
* (Optional) A label for the form.
|
|
@@ -2466,6 +2457,10 @@ declare namespace LocalJSX {
|
|
|
2466
2457
|
"getBusiness"?: Function;
|
|
2467
2458
|
"onError-event"?: (event: BusinessDetailsCoreCustomEvent<ComponentErrorEvent>) => void;
|
|
2468
2459
|
}
|
|
2460
|
+
interface BusinessDocumentsOnFile {
|
|
2461
|
+
"documents"?: any;
|
|
2462
|
+
"isLoading"?: boolean;
|
|
2463
|
+
}
|
|
2469
2464
|
interface CardForm {
|
|
2470
2465
|
}
|
|
2471
2466
|
interface CheckoutsListCore {
|
|
@@ -2521,7 +2516,7 @@ declare namespace LocalJSX {
|
|
|
2521
2516
|
"label"?: string;
|
|
2522
2517
|
"multiple"?: boolean;
|
|
2523
2518
|
"name"?: any;
|
|
2524
|
-
"onFileSelected"?: (event: FormControlFileCustomEvent<
|
|
2519
|
+
"onFileSelected"?: (event: FormControlFileCustomEvent<FileSelectEvent1>) => void;
|
|
2525
2520
|
"onFormControlBlur"?: (event: FormControlFileCustomEvent<any>) => void;
|
|
2526
2521
|
"onFormControlInput"?: (event: FormControlFileCustomEvent<any>) => void;
|
|
2527
2522
|
}
|
|
@@ -2674,16 +2669,17 @@ declare namespace LocalJSX {
|
|
|
2674
2669
|
"allowOptionalFields"?: boolean;
|
|
2675
2670
|
"authToken"?: string;
|
|
2676
2671
|
"businessId"?: string;
|
|
2677
|
-
"onError-event"?: (event: JustifiBusinessBankAccountFormStepCustomEvent<
|
|
2672
|
+
"onError-event"?: (event: JustifiBusinessBankAccountFormStepCustomEvent<ComponentErrorEvent1>) => void;
|
|
2678
2673
|
}
|
|
2679
2674
|
interface JustifiBusinessBankAccountFormStepCore {
|
|
2680
2675
|
"allowOptionalFields"?: boolean;
|
|
2681
2676
|
"businessId"?: string;
|
|
2682
2677
|
"getBusiness"?: Function;
|
|
2683
|
-
"onComplete-form-step-event"?: (event: JustifiBusinessBankAccountFormStepCoreCustomEvent<
|
|
2684
|
-
"onError-event"?: (event: JustifiBusinessBankAccountFormStepCoreCustomEvent<
|
|
2678
|
+
"onComplete-form-step-event"?: (event: JustifiBusinessBankAccountFormStepCoreCustomEvent<ComponentFormStepCompleteEvent1>) => void;
|
|
2679
|
+
"onError-event"?: (event: JustifiBusinessBankAccountFormStepCoreCustomEvent<ComponentErrorEvent1>) => void;
|
|
2685
2680
|
"onFormLoading"?: (event: JustifiBusinessBankAccountFormStepCoreCustomEvent<boolean>) => void;
|
|
2686
2681
|
"postBankAccount"?: Function;
|
|
2682
|
+
"postDocumentRecord"?: Function;
|
|
2687
2683
|
}
|
|
2688
2684
|
/**
|
|
2689
2685
|
* The difference between this component and business-core-info-details
|
|
@@ -2713,23 +2709,6 @@ declare namespace LocalJSX {
|
|
|
2713
2709
|
"businessId"?: string;
|
|
2714
2710
|
"onError-event"?: (event: JustifiBusinessDetailsCustomEvent<ComponentErrorEvent>) => void;
|
|
2715
2711
|
}
|
|
2716
|
-
interface JustifiBusinessDocumentUploadFormStep {
|
|
2717
|
-
"allowOptionalFields"?: boolean;
|
|
2718
|
-
"authToken"?: string;
|
|
2719
|
-
"businessId"?: string;
|
|
2720
|
-
"onComplete-form-step-event"?: (event: JustifiBusinessDocumentUploadFormStepCustomEvent<ComponentFormStepCompleteEvent>) => void;
|
|
2721
|
-
"onError-event"?: (event: JustifiBusinessDocumentUploadFormStepCustomEvent<ComponentErrorEvent>) => void;
|
|
2722
|
-
"onFormLoading"?: (event: JustifiBusinessDocumentUploadFormStepCustomEvent<boolean>) => void;
|
|
2723
|
-
}
|
|
2724
|
-
interface JustifiBusinessDocumentUploadInputGroup {
|
|
2725
|
-
"errors"?: any;
|
|
2726
|
-
"inputHandler"?: (name: string, value: string) => void;
|
|
2727
|
-
"paymentVolume"?: string;
|
|
2728
|
-
"storeFiles"?: (e: CustomEvent<FileSelectEvent>) => void;
|
|
2729
|
-
}
|
|
2730
|
-
interface JustifiBusinessDocumentsOnFile {
|
|
2731
|
-
"documents"?: any;
|
|
2732
|
-
}
|
|
2733
2712
|
interface JustifiBusinessForm {
|
|
2734
2713
|
"authToken"?: string;
|
|
2735
2714
|
"businessId"?: string;
|
|
@@ -2787,8 +2766,6 @@ declare namespace LocalJSX {
|
|
|
2787
2766
|
"onFormCompleted"?: (event: JustifiBusinessTermsConditionsFormStepCustomEvent<any>) => void;
|
|
2788
2767
|
"onFormLoading"?: (event: JustifiBusinessTermsConditionsFormStepCustomEvent<boolean>) => void;
|
|
2789
2768
|
}
|
|
2790
|
-
interface JustifiBusinessTermsConditionsText {
|
|
2791
|
-
}
|
|
2792
2769
|
interface JustifiCancellationPolicy {
|
|
2793
2770
|
"disputeResponse"?: any;
|
|
2794
2771
|
}
|
|
@@ -2994,6 +2971,11 @@ declare namespace LocalJSX {
|
|
|
2994
2971
|
"onError-event"?: (event: JustifiPaymentsListCustomEvent<ComponentErrorEvent>) => void;
|
|
2995
2972
|
}
|
|
2996
2973
|
interface JustifiPaymentsListFilters {
|
|
2974
|
+
"createdAfter"?: string;
|
|
2975
|
+
"createdBefore"?: string;
|
|
2976
|
+
"paymentId"?: string;
|
|
2977
|
+
"paymentStatus"?: string;
|
|
2978
|
+
"terminalId"?: string;
|
|
2997
2979
|
}
|
|
2998
2980
|
interface JustifiPayoutDetails {
|
|
2999
2981
|
"authToken"?: string;
|
|
@@ -3195,9 +3177,12 @@ declare namespace LocalJSX {
|
|
|
3195
3177
|
}
|
|
3196
3178
|
interface IntrinsicElements {
|
|
3197
3179
|
"additional-questions-details": AdditionalQuestionsDetails;
|
|
3180
|
+
"bank-account-document-form-inputs": BankAccountDocumentFormInputs;
|
|
3198
3181
|
"bank-account-form": BankAccountForm;
|
|
3182
|
+
"bank-account-form-inputs": BankAccountFormInputs;
|
|
3199
3183
|
"billing-form": BillingForm;
|
|
3200
3184
|
"business-details-core": BusinessDetailsCore;
|
|
3185
|
+
"business-documents-on-file": BusinessDocumentsOnFile;
|
|
3201
3186
|
"card-form": CardForm;
|
|
3202
3187
|
"checkouts-list-core": CheckoutsListCore;
|
|
3203
3188
|
"custom-popper": CustomPopper;
|
|
@@ -3230,9 +3215,6 @@ declare namespace LocalJSX {
|
|
|
3230
3215
|
"justifi-business-core-info-form-step": JustifiBusinessCoreInfoFormStep;
|
|
3231
3216
|
"justifi-business-core-info-form-step-core": JustifiBusinessCoreInfoFormStepCore;
|
|
3232
3217
|
"justifi-business-details": JustifiBusinessDetails;
|
|
3233
|
-
"justifi-business-document-upload-form-step": JustifiBusinessDocumentUploadFormStep;
|
|
3234
|
-
"justifi-business-document-upload-input-group": JustifiBusinessDocumentUploadInputGroup;
|
|
3235
|
-
"justifi-business-documents-on-file": JustifiBusinessDocumentsOnFile;
|
|
3236
3218
|
"justifi-business-form": JustifiBusinessForm;
|
|
3237
3219
|
"justifi-business-owners-form-step": JustifiBusinessOwnersFormStep;
|
|
3238
3220
|
"justifi-business-owners-form-step-core": JustifiBusinessOwnersFormStepCore;
|
|
@@ -3241,7 +3223,6 @@ declare namespace LocalJSX {
|
|
|
3241
3223
|
"justifi-business-representative-form-step": JustifiBusinessRepresentativeFormStep;
|
|
3242
3224
|
"justifi-business-representative-form-step-core": JustifiBusinessRepresentativeFormStepCore;
|
|
3243
3225
|
"justifi-business-terms-conditions-form-step": JustifiBusinessTermsConditionsFormStep;
|
|
3244
|
-
"justifi-business-terms-conditions-text": JustifiBusinessTermsConditionsText;
|
|
3245
3226
|
"justifi-cancellation-policy": JustifiCancellationPolicy;
|
|
3246
3227
|
"justifi-checkout": JustifiCheckout;
|
|
3247
3228
|
"justifi-checkout-core": JustifiCheckoutCore;
|
|
@@ -3306,9 +3287,12 @@ declare module "@stencil/core" {
|
|
|
3306
3287
|
export namespace JSX {
|
|
3307
3288
|
interface IntrinsicElements {
|
|
3308
3289
|
"additional-questions-details": LocalJSX.AdditionalQuestionsDetails & JSXBase.HTMLAttributes<HTMLAdditionalQuestionsDetailsElement>;
|
|
3290
|
+
"bank-account-document-form-inputs": LocalJSX.BankAccountDocumentFormInputs & JSXBase.HTMLAttributes<HTMLBankAccountDocumentFormInputsElement>;
|
|
3309
3291
|
"bank-account-form": LocalJSX.BankAccountForm & JSXBase.HTMLAttributes<HTMLBankAccountFormElement>;
|
|
3292
|
+
"bank-account-form-inputs": LocalJSX.BankAccountFormInputs & JSXBase.HTMLAttributes<HTMLBankAccountFormInputsElement>;
|
|
3310
3293
|
"billing-form": LocalJSX.BillingForm & JSXBase.HTMLAttributes<HTMLBillingFormElement>;
|
|
3311
3294
|
"business-details-core": LocalJSX.BusinessDetailsCore & JSXBase.HTMLAttributes<HTMLBusinessDetailsCoreElement>;
|
|
3295
|
+
"business-documents-on-file": LocalJSX.BusinessDocumentsOnFile & JSXBase.HTMLAttributes<HTMLBusinessDocumentsOnFileElement>;
|
|
3312
3296
|
"card-form": LocalJSX.CardForm & JSXBase.HTMLAttributes<HTMLCardFormElement>;
|
|
3313
3297
|
"checkouts-list-core": LocalJSX.CheckoutsListCore & JSXBase.HTMLAttributes<HTMLCheckoutsListCoreElement>;
|
|
3314
3298
|
"custom-popper": LocalJSX.CustomPopper & JSXBase.HTMLAttributes<HTMLCustomPopperElement>;
|
|
@@ -3346,9 +3330,6 @@ declare module "@stencil/core" {
|
|
|
3346
3330
|
"justifi-business-core-info-form-step": LocalJSX.JustifiBusinessCoreInfoFormStep & JSXBase.HTMLAttributes<HTMLJustifiBusinessCoreInfoFormStepElement>;
|
|
3347
3331
|
"justifi-business-core-info-form-step-core": LocalJSX.JustifiBusinessCoreInfoFormStepCore & JSXBase.HTMLAttributes<HTMLJustifiBusinessCoreInfoFormStepCoreElement>;
|
|
3348
3332
|
"justifi-business-details": LocalJSX.JustifiBusinessDetails & JSXBase.HTMLAttributes<HTMLJustifiBusinessDetailsElement>;
|
|
3349
|
-
"justifi-business-document-upload-form-step": LocalJSX.JustifiBusinessDocumentUploadFormStep & JSXBase.HTMLAttributes<HTMLJustifiBusinessDocumentUploadFormStepElement>;
|
|
3350
|
-
"justifi-business-document-upload-input-group": LocalJSX.JustifiBusinessDocumentUploadInputGroup & JSXBase.HTMLAttributes<HTMLJustifiBusinessDocumentUploadInputGroupElement>;
|
|
3351
|
-
"justifi-business-documents-on-file": LocalJSX.JustifiBusinessDocumentsOnFile & JSXBase.HTMLAttributes<HTMLJustifiBusinessDocumentsOnFileElement>;
|
|
3352
3333
|
"justifi-business-form": LocalJSX.JustifiBusinessForm & JSXBase.HTMLAttributes<HTMLJustifiBusinessFormElement>;
|
|
3353
3334
|
"justifi-business-owners-form-step": LocalJSX.JustifiBusinessOwnersFormStep & JSXBase.HTMLAttributes<HTMLJustifiBusinessOwnersFormStepElement>;
|
|
3354
3335
|
"justifi-business-owners-form-step-core": LocalJSX.JustifiBusinessOwnersFormStepCore & JSXBase.HTMLAttributes<HTMLJustifiBusinessOwnersFormStepCoreElement>;
|
|
@@ -3357,7 +3338,6 @@ declare module "@stencil/core" {
|
|
|
3357
3338
|
"justifi-business-representative-form-step": LocalJSX.JustifiBusinessRepresentativeFormStep & JSXBase.HTMLAttributes<HTMLJustifiBusinessRepresentativeFormStepElement>;
|
|
3358
3339
|
"justifi-business-representative-form-step-core": LocalJSX.JustifiBusinessRepresentativeFormStepCore & JSXBase.HTMLAttributes<HTMLJustifiBusinessRepresentativeFormStepCoreElement>;
|
|
3359
3340
|
"justifi-business-terms-conditions-form-step": LocalJSX.JustifiBusinessTermsConditionsFormStep & JSXBase.HTMLAttributes<HTMLJustifiBusinessTermsConditionsFormStepElement>;
|
|
3360
|
-
"justifi-business-terms-conditions-text": LocalJSX.JustifiBusinessTermsConditionsText & JSXBase.HTMLAttributes<HTMLJustifiBusinessTermsConditionsTextElement>;
|
|
3361
3341
|
"justifi-cancellation-policy": LocalJSX.JustifiCancellationPolicy & JSXBase.HTMLAttributes<HTMLJustifiCancellationPolicyElement>;
|
|
3362
3342
|
"justifi-checkout": LocalJSX.JustifiCheckout & JSXBase.HTMLAttributes<HTMLJustifiCheckoutElement>;
|
|
3363
3343
|
"justifi-checkout-core": LocalJSX.JustifiCheckoutCore & JSXBase.HTMLAttributes<HTMLJustifiCheckoutCoreElement>;
|
|
@@ -65,3 +65,11 @@ export declare const radioListItem = "radio-list-item text color font-family";
|
|
|
65
65
|
export declare const skeleton = "skeleton";
|
|
66
66
|
export declare const billingForm = "billing-form";
|
|
67
67
|
export declare const checkoutSummary = "checkout-summary";
|
|
68
|
+
export declare const filterMenu = "filter-menu";
|
|
69
|
+
export declare const paymentsListFilterMenu = "filter-menu payments-list-filter-menu";
|
|
70
|
+
export declare const paymentsListFilterParam = "payments-list-filter-param";
|
|
71
|
+
export declare const paymentIdPaymentsListFilterParam = "payments-list-filter-param payment-id-payments-list-filter-param";
|
|
72
|
+
export declare const terminalIdPaymentsListFilterParam = "payments-list-filter-param terminal-id-payments-list-filter-param";
|
|
73
|
+
export declare const paymentStatusPaymentsListFilterParam = "payments-list-filter-param payment-status-payments-list-filter-param";
|
|
74
|
+
export declare const createdAfterPaymentsListFilterParam = "payments-list-filter-param created-after-payments-list-filter-param";
|
|
75
|
+
export declare const createdBeforePaymentsListFilterParam = "payments-list-filter-param created-before-payments-list-filter-param";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{f as t}from"./p-
|
|
1
|
+
import{f as t}from"./p-2ca5b5e4.js";var s,i,h,e,n,c;!function(t){t.paid="paid",t.failed="failed",t.forwarded="forwarded",t.scheduled="scheduled",t.in_transit="in_transit",t.canceled="canceled"}(s||(s={})),function(t){t.paid="Paid",t.failed="Failed",t.forwarded="Forwarded",t.scheduled="Scheduled",t.in_transit="In Transit",t.canceled="Canceled"}(i||(i={}));class d{constructor(t){this.id=t.id,this.account_id=t.account_id,this.currency=t.currency,this.amount=t.amount,this.bank_account=t.bank_account,this.delivery_method=t.delivery_method||"standard",this.description=t.description,this.deposits_at=t.deposits_at,this.fees_total=t.fees_total,this.refunds_count=t.refunds_count,this.refunds_total=t.refunds_total,this.payments_count=t.payments_count,this.payments_total=t.payments_total,this.payout_type=t.payout_type,this.other_total=t.other_total,this.status=t.status,this.metadata=t.metadata,this.created_at=t.created_at,this.updated_at=t.updated_at}get csv(){return this.id}formattedPaymentAmount(s){return t(s,this.currency)}}!function(t){t.connected="connected",t.disconnected="disconnected",t.unknown="unknown"}(h||(h={})),function(t){t.verifone="verifone"}(e||(e={}));class a{constructor(t){this.id=t.id||"",this.status=t.status,this.account_id=t.account_id||"",this.platform_account_id=t.platform_account_id||"",this.provider=t.provider||"",this.provider_id=t.provider_id||"",this.created_at=t.created_at||"",this.updated_at=t.updated_at||"",this.verified_at=t.verified_at||"",this.nickname=t.nickname||""}}!function(t){t.test="test",t.live="live"}(n||(n={})),function(t){t.created="created",t.submitted="submitted",t.information_needed="information_needed",t.rejected="rejected",t.enabled="enabled",t.disabled="disabled",t.archived="archived"}(c||(c={}));class r{constructor(t){this.id=t.id,this.name=t.name,this.account_type=t.account_type,this.status=t.status,this.currency=t.currency,this.platform_account_id=t.platform_account_id,this.payout_account_id=t.payout_account_id,this.business_id=t.business_id,this.application_fee_rates=t.application_fee_rates,this.processing_ready=t.processing_ready,this.payout_ready=t.payout_ready,this.related_accounts=t.related_accounts,this.created_at=t.created_at,this.updated_at=t.updated_at}}export{d as P,r as S,a as T}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as e,a as t}from"./p-5844a0f0.js";import{l as a,k as n,m as s,n as r,q as o,u as i,v as l,e as c,p as
|
|
1
|
+
import{c as e,a as t}from"./p-5844a0f0.js";import{l as a,k as n,m as s,n as r,q as o,u as i,v as l,e as c,p as d,x as m,y as p}from"./p-de13f23c.js";const u=i=>{const l=e({line1:a.required("Enter street address"),line2:n.nullable(),city:s.required("Enter city"),state:r.required("Select state"),postal_code:o.required("Enter postal code"),country:t().required("Select country")}),c=e({line1:a.nullable(),line2:n.nullable(),city:s.nullable(),state:r.nullable(),postal_code:o.nullable(),country:t().required("Select country")});return i?c:l},f=(a,n)=>{const s=e({name:i.required(`Enter ${a} name`),title:l.required(`Enter ${a} title`),email:c.required(`Enter ${a} email`),phone:d.required("Enter phone number"),dob_full:m(a).required("Enter date of birth"),ssn_last4:t().nullable(),identification_number:p,address:u(n)}),r=e({name:i.required(`Enter ${a} name`),title:l.nullable(),email:c.nullable(),phone:d.nullable(),dob_full:m(a).nullable(),ssn_last4:t().nullable(),identification_number:p.nullable(),address:u(n)});return n?r:s};export{u as a,f as i}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as t}from"./p-2783e363.js";import{B as a}from"./p-298e290e.js";import{Q as s}from"./p-d8c04275.js";const d=e=>{const t=["after_cursor","before_cursor"];return!!Object.keys(e).filter((e=>!t.includes(e))).length},r=class{constructor(t){e(this,t),this.anchorButton=void 0,this.menu=void 0,this.showClearButton=!1,this.params=void 0,this.clearParams=void 0}watchParamsHandler(e){this.showClearButton=d(e)}show(){this.menu.classList.add("show")}hide(){this.menu.classList.remove("show")}componentWillLoad(){this.showClearButton=d(this.params)}render(){return t("div",{key:"d45f459f317d7a5c10083e4d6c7a1855e606ccff",class:"d-flex gap-2"},t("div",{key:"cd9625444bf3e4a084508a52f2f4ee52ec108602",class:"dropdown pb-3"},t(a,{key:"328dfff010a31a5e49a6a893bd9a8b49ebc44a6a",variant:"primary",type:"button dropdown-toggle",ref:e=>this.anchorButton=e,class:"btn btn-primary dropdown-toggle","data-test-id":"open-filters-button","data-bs-toggle":"dropdown"},"Filters"),t("custom-popper",{key:"591b15ad81d875d9f0249978394281ee134dd63f",offset:[20,10],strategy:"fixed",anchorRef:this.anchorButton,trigger:"click"},t("form",{key:"dbab8762dddfaa425e13d8f6ca9993ee1811a404",class:"dropdown-menu",part:s,"data-test-id":"filter-menu",ref:e=>this.menu=e,onSubmit:e=>e.preventDefault()},t("slot",{key:"b4c174ce6d565e7cadcd3ce62af69eaaeac5054c"})))),t("div",{key:"1daabbe4fa3551640c075ee20e39b2c9363bf59a"},t(a,{key:"b09b43e46ad9b40797efd06ede82044c8a6e25df",variant:"secondary",onClick:()=>this.clearParams(),hidden:!this.showClearButton,"data-test-id":"clear-filters-button"},"Clear Filters")))}static get watchers(){return{params:["watchParamsHandler"]}}};export{r as table_filters_menu}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as s,h as e}from"./p-2783e363.js";import{a,C as i}from"./p-14c91ffd.js";import"./p-7c31ec70.js";import{p as r}from"./p-56f6ce4c.js";import"./p-9894484a.js";import"./p-01d4e35a.js";import"./p-61f0a2ce.js";import{E as o,F as h}from"./p-d8c04275.js";import{T as c,a as d,b as p,c as n,d as b}from"./p-e8c3c23f.js";import{p as f,a as m}from"./p-21431a04.js";import{o as u,q as l}from"./p-9f773228.js";import"./p-2ca5b5e4.js";import"./p-abdbcd8e.js";import"./p-9540d2f2.js";import"./p-3e716e03.js";import"./p-938993c7.js";import"./p-f20b6ce1.js";const y=class{constructor(e){t(this,e),this.clickEvent=s(this,"click-event",7),this.errorEvent=s(this,"error-event",7),this.downloadCSV=t=>{this.getPayoutCSV({payoutId:t,onError:()=>{this.errorEvent.emit({errorCode:a.FETCH_ERROR,message:"Failed to download CSV",severity:i.ERROR})}})},this.handleClickPrevious=t=>{this.pagingParams={before_cursor:t},this.clickEvent.emit({name:c.previous})},this.handleClickNext=t=>{this.pagingParams={after_cursor:t},this.clickEvent.emit({name:c.next})},this.rowClickHandler=t=>{const s=t.target.closest("tr").dataset.rowEntityId;if(!s)return;const e=this.payouts.find((t=>t.id===s));this.clickEvent.emit({name:c.row,data:e})},this.getPayouts=void 0,this.getSubAccounts=void 0,this.getPayoutCSV=void 0,this.columns=void 0,this.payouts=[],this.payoutsTable=void 0,this.subAccounts=[],this.loading=!0,this.errorMessage=void 0,this.paging=r,this.pagingParams={}}updateOnPropChange(){this.fetchData()}componentWillLoad(){this.payoutsTable=new d(this.payouts,this.columns,f,m(this.downloadCSV)),this.getPayouts&&this.getSubAccounts&&this.fetchData(),u("set",(()=>{this.pagingParams={}})),u("reset",(()=>{this.pagingParams={},this.errorMessage=""}))}fetchData(){this.loading=!0,this.getPayouts({params:this.requestParams,onSuccess:({payouts:t,pagingInfo:s})=>{this.payouts=t,this.paging=s,this.payoutsTable.collectionData=this.payouts,this.payoutsTable.columnKeys.includes("sub_account_name")?this.fetchSubAccounts():this.loading=!1},onError:({error:t,code:s,severity:e})=>{this.errorMessage=t,this.errorEvent.emit({errorCode:s,message:t,severity:e}),this.loading=!1}})}async fetchSubAccounts(){this.getSubAccounts({params:this.subAccountParams,onSuccess:({subAccounts:t})=>{this.subAccounts=t,this.payouts=this.payouts.map((t=>{var s;return t.sub_account_name=null===(s=this.subAccounts.find((s=>s.id===t.account_id)))||void 0===s?void 0:s.name,t})),this.loading=!1},onError:({error:t,code:s,severity:e})=>{this.errorMessage=t,this.errorEvent.emit({errorCode:s,message:t,severity:e}),this.loading=!1}})}get requestParams(){return Object.assign(Object.assign({},l),this.pagingParams)}get subAccountParams(){let t=this.payouts.map((t=>t.account_id));return{sub_account_id:[...new Set(t)].join(",")}}get entityId(){return this.payouts.map((t=>t.id))}get showEmptyState(){return!this.loading&&!this.errorMessage&&this.payoutsTable.rowData.length<1}get showErrorState(){return!this.loading&&!!this.errorMessage}get showRowData(){return!this.showEmptyState&&!this.showErrorState&&!this.loading}render(){return e("div",{key:"80d7b9e09153270375ef79961996ed56f0ee6ba2"},e("div",{key:"bb769ab3fc09acea181a231f98f5aa99be24e675",class:"table-wrapper",part:"table-wrapper"},e("table",{key:"b008fd21153c738b85e1a37c2e43932e13b8f58d",class:"table table-hover",part:o},e("thead",{key:"f4c7146142cc714f24dccddda4404d5534e068b5",class:"table-head sticky-top",part:"table-head"},e("tr",{key:"bfd485e191f11725681a1055b049c7c11eda7858",class:"table-light text-nowrap",part:"table-head-row"},this.payoutsTable.columnData.map((t=>t)))),e("tbody",{key:"77797d4d7ebfed8206fb5b693d973c8fb539f1b8",class:"table-body"},e(p,{key:"d8c55ac393e2952b9cde96b8fcb45cf88978d90b",columnSpan:this.payoutsTable.columnKeys.length,isLoading:this.loading}),e(n,{key:"4122715eaa2363e9a21a3dec18a935bc98ac530e",isEmpty:this.showEmptyState,columnSpan:this.payoutsTable.columnKeys.length}),e(b,{key:"5017f0eca302fe6c80d62d8e9af73b68d04db658",columnSpan:this.payoutsTable.columnKeys.length,errorMessage:this.errorMessage}),this.showRowData&&this.payoutsTable.rowData.map(((t,s)=>e("tr",{"data-test-id":"table-row","data-row-entity-id":this.entityId[s],onClick:this.rowClickHandler},t)))),this.paging&&e("tfoot",{key:"da997bb2d356800bdc918415a60c03d09ab0d158",class:"sticky-bottom"},e("tr",{key:"22a61b245c6aeb630bb3887525d826d5b3589c7c",class:"table-light align-middle"},e("td",{key:"f378c94db17592855e94066113bc064d0f936d45",part:h,colSpan:this.payoutsTable.columnData.length},e("pagination-menu",{key:"32f8c9fc1a401a5f7f40669d56be3f703a3fdd40",paging:Object.assign(Object.assign({},this.paging),{handleClickPrevious:this.handleClickPrevious,handleClickNext:this.handleClickNext})})))))))}static get watchers(){return{queryParams:["updateOnPropChange"],pagingParams:["updateOnPropChange"],getPayouts:["updateOnPropChange"],getSubAccounts:["updateOnPropChange"]}}};export{y as payouts_list_core}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,c as t,h as a,H as i}from"./p-2783e363.js";import{I as s}from"./p-1ad5995e.js";import{b as d,S as o,a as l,c as r,l as c}from"./p-d8c04275.js";import{F as n}from"./p-40e23b13.js";import{S as h}from"./p-6078a370.js";import{n as f}from"./p-e3c22aa9.js";const b=class{constructor(a){e(this,a),this.formControlInput=t(this,"formControlInput",7),this.formControlBlur=t(this,"formControlBlur",7),this.imask=null,this.initializeIMask=()=>{this.textInput&&(this.imask=s(this.textInput,{mask:this.mask}),this.imask.on("accept",(()=>{var e;const t=null===(e=this.imask)||void 0===e?void 0:e.unmaskedValue;void 0!==t&&this.inputHandler(this.name,t)})),this.textInput.addEventListener("blur",(()=>this.formControlBlur.emit())))},this.handleFormControlInput=e=>{const t=e.target,a=t.getAttribute("name");this.formControlInput.emit({name:a,value:t.value})},this.updateInput=e=>{this.imask&&e&&(this.imask.value=String(e))},this.isFocused=!1,this.label=void 0,this.name=void 0,this.helpText=void 0,this.errorText=void 0,this.defaultValue=void 0,this.inputHandler=void 0,this.mask=void 0,this.disabled=void 0}handleDefaultValueChange(e){this.initializeIMask(),this.updateInput(e)}disconnectedCallback(){var e;null===(e=this.imask)||void 0===e||e.destroy()}componentDidLoad(){this.textInput&&(this.initializeIMask(),this.updateInput(this.defaultValue))}get part(){return this.errorText?d:this.disabled?o:this.isFocused?l:r}render(){return a(i,{key:"b99a11bcbe47c9cd1ec7f52ff081b56c7c56fa9a"},a("div",{key:"2d549b26a4d88b4653a9433de7e0ab6b07aa8f8a",class:"form-group d-flex flex-column"},a("div",{key:"a923b55bc2d2bd9d0097ffa452fe46816870aa18",class:"d-flex align-items-start gap-2"},a("label",{key:"af645e990ec448bad5d1b8fe2b6b415fb062c129",part:c,class:"form-label",htmlFor:this.name},this.label),a("form-control-tooltip",{key:"3bbeaa5fff2964e1f635aab612e1f9b8fa1929d7",helpText:this.helpText})),a("input",{key:"f1fe3e4749703f7658164e9bb31c500db9699cbf",ref:e=>this.textInput=e,id:this.name,name:this.name,onFocus:()=>this.isFocused=!0,onBlur:()=>{this.isFocused=!1,this.formControlBlur.emit()},onInput:this.handleFormControlInput,part:this.part,class:this.errorText?"form-control is-invalid":"form-control",type:"text",disabled:this.disabled}),a(n,{key:"9574288a9424638ee0f72731848813863dffe718",errorText:this.errorText,name:this.name})))}static get watchers(){return{defaultValue:["handleDefaultValueChange"]}}},u=class{constructor(t){e(this,t),this.inputHandler=(e,t)=>{this.address[e]=t,this.address=Object.assign({},this.address)},this.handleFormUpdate=void 0,this.errors=void 0,this.defaultValues=void 0,this.address={}}handleAddressChange(e){this.handleFormUpdate(e)}render(){var e,t,s,d,o,l,r,c,n,b,u,v;return a(i,{key:"fee663d501d8ed69d8959f3edbb7d40c8d599ed1"},a("div",{key:"62cf6575afc3a416efbf262d9ad9e9999fd0b480",class:"row gy-3"},a("div",{key:"353941d7f75be1a8f607bcfd6796e84c2923c5d4",class:"col-12 col-md-8"},a("form-control-text",{key:"029374e05a1a4523223eff583b29c264d12c34b9",name:"line1",label:"Street Address",defaultValue:null===(e=this.defaultValues)||void 0===e?void 0:e.line1,errorText:null===(t=this.errors)||void 0===t?void 0:t.line1,inputHandler:this.inputHandler,helpText:"Enter your address exactly as stated on your driver's license. No PO Boxes."})),a("div",{key:"5a6efdc6724785c67088a9325c427d7594061db7",class:"col-12 col-md-4"},a("form-control-text",{key:"42b98d49c6e3ccce6c4f27f0edc0b45199ad2011",name:"line2",label:"Apartment, Suite, etc. (optional)",defaultValue:null===(s=this.defaultValues)||void 0===s?void 0:s.line2,errorText:null===(d=this.errors)||void 0===d?void 0:d.line2,inputHandler:this.inputHandler})),a("div",{key:"6e8019d952b5c9b2a1eb1a291a3768e0b1281a10",class:"col-12"},a("form-control-text",{key:"46a9ccdaa06d6f7bcc83589122fb84661091898a",name:"city",label:"City",defaultValue:null===(o=this.defaultValues)||void 0===o?void 0:o.city,errorText:null===(l=this.errors)||void 0===l?void 0:l.city,inputHandler:this.inputHandler})),a("div",{key:"60d5dd274bdafbe4fa9a690cd552e680028c6e5c",class:"col-12 col-md-6"},a("form-control-select",{key:"132d048d21dff090951ffdec6812be06d13be30c",name:"state",label:"State",defaultValue:null===(r=this.defaultValues)||void 0===r?void 0:r.state,options:h,errorText:null===(c=this.errors)||void 0===c?void 0:c.state,inputHandler:this.inputHandler})),a("div",{key:"1f583d9c35eb86fd7067c619bde6d39120ac9581",class:"col-12 col-md-6"},a("form-control-text",{key:"34ae70fda0faab6da9c5a278203144ecebce15b3",name:"postal_code",label:"Postal Code",defaultValue:null===(n=this.defaultValues)||void 0===n?void 0:n.postal_code,errorText:null===(b=this.errors)||void 0===b?void 0:b.postal_code,maxLength:5,keyDownHandler:f,inputHandler:this.inputHandler})),a("div",{key:"b04acb1677d176d7b8ab3086c7ac85ece03a9f31",class:"col-12"},a("form-control-select",{key:"77bd3623328cfb5e090838adb729edc4138134fa",name:"country",label:"Country",options:[{label:"United States",value:"USA"}],inputHandler:this.inputHandler,defaultValue:null===(u=this.defaultValues)||void 0===u?void 0:u.country,errorText:null===(v=this.errors)||void 0===v?void 0:v.country,disabled:!0}))))}static get watchers(){return{address:["handleAddressChange"]}}};export{b as form_control_number_masked,u as justifi_identity_address_form}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as s,r as i,c as t}from"./p-2783e363.js";import{c as o,F as e}from"./p-5844a0f0.js";import{b as r,a}from"./p-c5c03d88.js";import{a as h,i as n}from"./p-0277c1b2.js";import{A as c,c as l}from"./p-2d801915.js";import"./p-14c91ffd.js";import"./p-7c31ec70.js";import"./p-56f6ce4c.js";import"./p-9894484a.js";import"./p-01d4e35a.js";import"./p-61f0a2ce.js";import{B as p,a as m}from"./p-275f2154.js";import{c as d,J as f}from"./p-2a136295.js";import{B as j}from"./p-298e290e.js";import{S as u}from"./p-bfe9748b.js";import{H as b}from"./p-1603fe4d.js";import{S as v}from"./p-aa02cf71.js";import{B as w}from"./p-73f9be7c.js";import"./p-de13f23c.js";import"./p-6078a370.js";import"./p-0ea387a2.js";import"./p-2ca5b5e4.js";import"./p-abdbcd8e.js";import"./p-1ff8810b.js";import"./p-c845cb7a.js";import"./p-d8c04275.js";const g=o(Object.assign(Object.assign({},r().fields),{legal_address:h(),additional_questions:a(),representative:n("representative")})),x=()=>s("div",{class:"row gap-3"},s("div",{class:"col-12"},s(v,{width:"25%"})),s("div",{class:"col-12"},s(v,{width:"100%"})),s("div",{class:"col-12 d-flex gap-3"},s(v,{width:"50%"}),s(v,{width:"50%"})),s("div",{class:"col-12 d-flex gap-3"},s(v,{width:"65%"}),s(v,{width:"35%"}))),y=()=>s("div",{class:"row gap-5"},s("div",{class:"col-12"},s(v,{width:"40%",height:"40px"})),s(x,null),s(x,null),s(x,null)),C=class{constructor(s){i(this,s),this.submitEvent=t(this,"submit-event",7),this.clickEvent=t(this,"click-event",7),this.instantiateBusiness=s=>{const i=new p(s);this.formController.setInitialValues(Object.assign({},i))},this.sendData=async()=>{this.isSaving=!0;try{const s=this.formController.values.getValue(),i=this.formController.getInitialValues(),t=new p(Object.assign(Object.assign({},i),s)).payload,o=await this.api.patch(this.businessEndpoint,t);this.handleReponse(o)}catch(s){this.errorMessage=m.patchData}finally{this.isSaving=!1}},this.fetchData=async()=>{this.isLoading=!0;try{const s=await this.api.get(this.businessEndpoint);this.instantiateBusiness(s.data)}catch(s){this.errorMessage=m.fetchData}finally{this.isLoading=!1}},this.validateAndSubmit=s=>{s.preventDefault(),this.formController.validateAndSubmit(this.sendData)},this.authToken=void 0,this.businessId=void 0,this.hideErrors=!1,this.formTitle="Business Information",this.removeTitle=!1,this.isLoading=!1,this.isSaving=!1,this.errorMessage=void 0}componentWillLoad(){d(),this.analytics=new f(this),this.authToken||console.error("Warning: Missing auth-token. The form will not be functional without it."),this.businessId||console.error("Warning: Missing business-id. The form requires an existing business-id to function."),this.formController=new e(g),this.api=c({authToken:this.authToken,apiOrigin:l.proxyApiOrigin}),this.fetchData()}disconnectedCallback(){this.analytics.cleanup()}get title(){return this.removeTitle?"":this.formTitle}get disabledState(){return this.isSaving}get businessEndpoint(){return`entities/business/${this.businessId}`}handleReponse(s){s.error&&(this.errorMessage=m.patchData),this.submitEvent.emit({response:s}),this.instantiateBusiness(s.data)}render(){return s(u,null,this.isLoading?s(y,null):s("form",{onSubmit:this.validateAndSubmit},s("div",{class:"row gap-3"},s(b,{text:this.title}),s("form-alert",{text:this.errorMessage,hideAlert:this.hideErrors}),s("div",{class:"col-12 mb-4"},s("justifi-business-core-info",{formController:this.formController})),s("div",{class:"col-12 mb-4"},s("justifi-legal-address-form",{formController:this.formController})),s("div",{class:"col-12 mb-4"},s("justifi-additional-questions",{formController:this.formController})),s("div",{class:"col-12 mb-4"},s("justifi-business-representative",{formController:this.formController})),s("div",{class:"col-12 d-flex flex-row-reverse"},s(j,{type:"submit",disabled:this.disabledState,variant:"primary",onClick:()=>this.clickEvent.emit({name:w.submit}),isLoading:this.isSaving},"Submit")))))}};export{C as justifi_business_form}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as s,F as i,r as t,c as e}from"./p-2783e363.js";import{E as l}from"./p-
|
|
1
|
+
import{h as s,F as i,r as t,c as e}from"./p-2783e363.js";import{E as l}from"./p-8f25f016.js";import{S as r}from"./p-bfe9748b.js";import{S as n}from"./p-aa02cf71.js";import"./p-d8c04275.js";const o=()=>{const t=()=>s("div",{class:"mt-5"},s(n,{width:"40%",height:"1.5rem"}),s("hr",null),s("div",{class:"row g-3"},s("div",{class:"col-12 col-md-6"},s(n,null),s(n,null),s(n,null)),s("div",{class:"col-12 col-md-6"},s(n,null),s(n,null),s(n,null))));return s(i,null,s(t,null),s(t,null),s(t,null),s(t,null))};var a;!function(s){s.LOADING="loading",s.READY="ready",s.ERROR="error"}(a||(a={}));const d=class{constructor(s){t(this,s),this.errorEvent=e(this,"error-event",7),this.getBusiness=void 0,this.business=void 0,this.renderState=a.LOADING,this.errorMessage="An error ocurred."}async componentWillLoad(){this.getBusiness&&this.fetchData()}fetchData(){this.renderState=a.LOADING,this.getBusiness({onSuccess:({business:s})=>{this.business=s,this.renderState=a.READY},onError:({error:s,code:i,severity:t})=>{this.errorMessage=s,this.renderState=a.ERROR,this.errorEvent.emit({errorCode:i,message:s,severity:t})}})}render(){return this.renderState===a.LOADING?s(r,null,s(o,null)):this.renderState===a.ERROR?s(r,null,l(this.errorMessage)):s(r,null,s("generic-info-details",{business:this.business}),s("legal-address-details",{legalAddress:this.business.legal_address}),s("representative-details",{representative:this.business.representative}),s("owner-details",{owners:this.business.owners}),s("additional-questions-details",{additionalQuestions:this.business.additional_questions}))}};export{d as business_details_core}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as s,h as e}from"./p-2783e363.js";import"./p-14c91ffd.js";import"./p-7c31ec70.js";import{p as a}from"./p-56f6ce4c.js";import"./p-9894484a.js";import"./p-01d4e35a.js";import"./p-61f0a2ce.js";import{E as i,F as r}from"./p-d8c04275.js";import{T as c,a as h,b as o,c as d,d as n}from"./p-e8c3c23f.js";import{t as b,a as p}from"./p-5b72bab7.js";import{o as f,q as m}from"./p-8da3667c.js";import"./p-2ca5b5e4.js";import"./p-abdbcd8e.js";import"./p-9540d2f2.js";import"./p-938993c7.js";import"./p-f20b6ce1.js";const u=class{constructor(e){t(this,e),this.clickEvent=s(this,"click-event",7),this.errorEvent=s(this,"error-event",7),this.handleClickPrevious=t=>{this.pagingParams={before_cursor:t},this.clickEvent.emit({name:c.previous})},this.handleClickNext=t=>{this.pagingParams={after_cursor:t},this.clickEvent.emit({name:c.next})},this.rowClickHandler=t=>{const s=t.target.closest("tr").dataset.rowEntityId;if(!s)return;const e=this.terminals.find((t=>t.id===s));this.clickEvent.emit({name:c.row,data:e})},this.getTerminals=void 0,this.getSubAccounts=void 0,this.columns=void 0,this.terminals=[],this.terminalsTable=void 0,this.subAccounts=[],this.loading=!0,this.errorMessage=void 0,this.paging=a,this.pagingParams={}}updateOnPropChange(){this.fetchData()}componentWillLoad(){this.terminalsTable=new h(this.terminals,this.columns,b,p),this.getTerminals&&this.getSubAccounts&&this.fetchData(),f("set",(()=>{this.pagingParams={}})),f("reset",(()=>{this.pagingParams={},this.errorMessage=""}))}fetchData(){this.loading=!0,this.getTerminals({params:this.requestParams,onSuccess:async({terminals:t,pagingInfo:s})=>{this.terminals=t,this.paging=s,this.terminalsTable.collectionData=this.terminals,this.terminalsTable.columnKeys.includes("sub_account_name")?await this.fetchSubAccounts():this.loading=!1},onError:({error:t,code:s,severity:e})=>{this.errorMessage=t,this.errorEvent.emit({errorCode:s,message:t,severity:e}),this.loading=!1}})}async fetchSubAccounts(){this.getSubAccounts({params:this.subAccountParams,onSuccess:({subAccounts:t})=>{this.subAccounts=t,this.terminals=this.terminals.map((t=>{var s;return t.sub_account_name=null===(s=this.subAccounts.find((s=>s.id===t.account_id)))||void 0===s?void 0:s.name,t})),this.loading=!1},onError:({error:t,code:s,severity:e})=>{this.errorMessage=t,this.errorEvent.emit({errorCode:s,message:t,severity:e}),this.loading=!1}})}get requestParams(){return Object.assign(Object.assign({},m),this.pagingParams)}get subAccountParams(){let t=this.terminals.map((t=>t.account_id));return{sub_account_id:[...new Set(t)].join(",")}}get entityId(){return this.terminals.map((t=>t.id))}get showEmptyState(){return!this.loading&&!this.errorMessage&&this.terminalsTable.rowData.length<1}get showErrorState(){return!this.loading&&!!this.errorMessage}get showRowData(){return!this.showEmptyState&&!this.showErrorState&&!this.loading}render(){return e("div",{key:"a80b76fc1f535c9d1fea371b7655a2baa373e53c"},e("div",{key:"3c6fb067ed034fd09c767e5f1b7ffa7ab2b0b6c2",class:"table-wrapper"},e("table",{key:"e24cff12e153db046b1565011bbae3db133609f9",class:"table table-hover",part:i},e("thead",{key:"d91e948a4b0a6da3bc67ea489bf6deb828ccb9e5",class:"table-head sticky-top"},e("tr",{key:"7e629ab6636fceb70dd75e1163094cd44d1f525d",class:"table-light text-nowrap"},this.terminalsTable.columnData.map((t=>t)))),e("tbody",{key:"760ed57f2a669d3a6cd54953c9d5259cb6518a60",class:"table-body"},e(o,{key:"4cb50cce3d9644904fffd1969de19647c6eabc11",columnSpan:this.terminalsTable.columnKeys.length,isLoading:this.loading}),e(d,{key:"84ea8077a878aa6b94c1bd2eb1c9393ffc41b983",isEmpty:this.showEmptyState,columnSpan:this.terminalsTable.columnKeys.length}),e(n,{key:"94cb9745f2951383625833a783d4d2bf8e88b1b2",columnSpan:this.terminalsTable.columnKeys.length,errorMessage:this.errorMessage}),this.showRowData&&this.terminalsTable.rowData.map(((t,s)=>e("tr",{"data-test-id":"table-row","data-row-entity-id":this.entityId[s],onClick:this.rowClickHandler},t)))),this.paging&&e("tfoot",{key:"0e111df52934ff81bddd77a15d720c44f53e3096",class:"sticky-bottom"},e("tr",{key:"0abc10194bb09342ecefb62b7a981c3809542a99",class:"table-light align-middle"},e("td",{key:"828f58c6054dd437cb597696d5bdaf33069e69cf",part:r,colSpan:this.terminalsTable.columnData.length},e("pagination-menu",{key:"d9f4db3f7c580fda067afff8919a695776c8f502",paging:Object.assign(Object.assign({},this.paging),{handleClickPrevious:this.handleClickPrevious,handleClickNext:this.handleClickNext})})))))))}static get watchers(){return{queryParams:["updateOnPropChange"],pagingParams:["updateOnPropChange"],getTerminals:["updateOnPropChange"],getSubAccounts:["updateOnPropChange"],columns:["updateOnPropChange"]}}};export{u as terminals_list_core}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as o}from"./p-2783e363.js";import{e as r}from"./p-d8c04275.js";const s=s=>o("h1",{class:`header-1 ${null==s?void 0:s.class}`,part:r},s.text);export{s as H}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as s,h as e,H as i}from"./p-2783e363.js";import{l as a,c as h,b as o,S as r,a as c}from"./p-d8c04275.js";import{F as d}from"./p-40e23b13.js";const l=class{constructor(e){t(this,e),this.formControlInput=s(this,"formControlInput",7),this.formControlBlur=s(this,"formControlBlur",7),this.handleFormControlInput=t=>{const s=t.target.value;this.inputHandler(this.name,s),this.formControlInput.emit({name:this.name,value:s})},this.isFocused=!1,this.name=void 0,this.label=void 0,this.inputHandler=void 0,this.defaultValue=void 0,this.helpText=void 0,this.errorText=void 0,this.disabled=void 0,this.showTime=void 0,this.maxDate=this.currentDate}handleDefaultValueChange(t){this.updateInput(t)}get currentDate(){return this.showTime?(new Date).toISOString().slice(0,16):(new Date).toISOString().split("T")[0]}componentDidLoad(){this.updateInput(this.defaultValue)}updateInput(t){this.dateInput.value=t}get part(){let t=h;return this.errorText&&(t=o),this.disabled&&(t=r),this.isFocused&&(t=c),t}render(){return e(i,{key:"a2e8ffbb23d128699730acd686fc06ce0ade5270"},e("div",{key:"d43b72838047707022bd3527b610eec234af6cd9",class:"form-group d-flex flex-column"},e("div",{key:"416954342c2113ff1f4fc77cf714852e0bb66527",class:"d-flex gap-2"},e("label",{key:"e0c366b390fbb3ef8d183b5ca71935b8274a0b22",part:a,class:"form-label",htmlFor:this.name},this.label),e("form-control-tooltip",{key:"e4aa76ce751db6fa45a8f11f8026e68102f484f4",helpText:this.helpText})),e("input",{key:"4022e4c857527cffb19b747815acad73c81025d4",type:this.showTime?"datetime-local":"date",ref:t=>this.dateInput=t,id:this.name,name:this.name,onFocus:()=>this.isFocused=!0,onBlur:()=>{this.isFocused=!1,this.formControlBlur.emit()},onInput:this.handleFormControlInput,part:this.part,class:this.errorText?"form-control is-invalid":"form-control",disabled:this.disabled,max:this.maxDate}),e(d,{key:"31c0122e9737c704b087dbb2a4791fd7965be3c7",errorText:this.errorText,name:this.name})))}static get watchers(){return{defaultValue:["handleDefaultValueChange"]}}};export{l as form_control_date}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as e,r as a,c as t}from"./p-2783e363.js";import{b as s,a as d,s as c}from"./p-2ca5b5e4.js";import{M as i}from"./p-94eba309.js";import{a as b,b as f,D as l,c as h,C as r,E as o}from"./p-8f25f016.js";import{S as y}from"./p-bfe9748b.js";import{S as n}from"./p-aa02cf71.js";import"./p-938993c7.js";import"./p-d8c04275.js";const v=()=>e("div",{class:"row gap-3"},e("div",{class:"col-12"},e(n,{width:"35%",height:"30px"})),e("div",{class:"col-12"},e(n,{width:"70%"})),e("div",{class:"col-12"},e(n,{width:"40%"})),e("div",{class:"col-12"},e(n,{width:"40%"})),e("div",{class:"col-12"},e(n,{width:"100%"})),e("div",{class:"col-12"},e(n,{width:"80%"}))),k=class{constructor(e){a(this,e),this.errorEvent=t(this,"error-event",7),this.getPaymentDetails=void 0,this.payment=void 0,this.loading=!0,this.errorMessage=void 0}componentWillLoad(){this.getPaymentDetails&&this.fetchData()}updateOnPropChange(){this.fetchData()}fetchData(){this.loading=!0,this.getPaymentDetails({onSuccess:({payment:e})=>{this.payment=e,this.loading=!1,this.errorMessage=null},onError:({error:e,code:a,severity:t})=>{this.errorMessage=e,this.errorEvent.emit({errorCode:a,message:e,severity:t}),this.loading=!1}})}render(){return e(y,{key:"b35aadc771c0b521cf558f0ab2c010ac167999f1"},this.loading&&e(v,{key:"9a45f73df71ecf776308acb3e0715e114166548d"}),!this.loading&&this.errorMessage&&o(this.errorMessage),!this.loading&&!this.errorMessage&&this.payment&&e("justifi-details",{key:"0e754696b095b549dafd1789c7a1a462738f9856","error-message":this.errorMessage},e(b,{key:"ef94f025849fefde53daecdb2a3f6475993e2634",slot:"head-info",badge:i(this.payment.status),title:this.payment.formattedPaymentAmount(this.payment.amount)},e(f,{key:"566fd465a660a2fd31e3af18b42b1ad2f687d328",classes:"border-1 border-end",title:"Updated At",value:`${s(this.payment.updated_at)} ${d(this.payment.updated_at)}`}),e(f,{key:"e85a469aba3c07b93ac768189b108b3940e6bd1f",classes:"border-1 border-end",title:"Created At",value:`${s(this.payment.created_at)} ${d(this.payment.created_at)}`}),e(f,{key:"74c237c68cba09dd5568fa82883c69dc10e45897",title:"ID",value:this.payment.id})),e("div",{key:"69c6daf0c74b2fb003db1a7e785258f1146de701",slot:"detail-sections"},e(l,{key:"4f87cd9f2a0c8777132d7b8726bdcd09cf7be433",sectionTitle:"Details"}),e("div",{key:"134845f91eef1b6dcd335ac96e59f19684ebd491",class:"d-table gap-2 w-100"},e(h,{key:"65c8b3540b5a0c5a4efe8f3a7aac5251def031d3",title:"Amount",value:this.payment.formattedPaymentAmount(this.payment.amount)}),e(h,{key:"e25d3093be7ab1b564a4af92d7face28d49d213b",title:"Fees",value:this.payment.formattedPaymentAmount(this.payment.fee_amount)}),e(h,{key:"7d05d55d2f04facff86bdafc51e6c17e4cab80de",title:"Refunded",value:this.payment.formattedPaymentAmount(this.payment.amount_refunded)}),e(h,{key:"28a436948de1aa09f09891f597c40293b86d8870",title:"Net",value:this.payment.formattedPaymentAmount(this.payment.balance)}),e(h,{key:"670f5c3b79325d473cc0765c87769db9ec65434c",title:"Status",value:i(this.payment.status)}),e(h,{key:"aa2fbe3ddee9341a0c9aadcf4bb484014a672bc6",title:"Payment ID",value:this.payment.id}),e(h,{key:"214b5ded4fbf4e6310a2da856053a4f353b86363",title:"Processing Fees",value:this.payment.formattedPaymentAmount(this.payment.fee_amount)}),e(h,{key:"ffdf2b03994b584f7be6dd1e53ab8078f85c1b7e",title:"Statement Descriptor",value:this.payment.statement_descriptor}),e(h,{key:"0f6bd6fa810b152c02b8ed59540755ddbd74ffba",title:"Description",value:this.payment.description})),this.payment.payment_method.card&&[e(l,{key:"d464f0b7d46d433105e3ca30130c5fe563816282",sectionTitle:"Payment Method"}),e("div",{key:"60485f42c8f2490d7119c5b6ecd7febca1aa77ef",class:"d-table gap-2 w-100"},e(h,{key:"67cd2ef5f5270294ebf607628c9597210fe65be4",title:"ID",value:this.payment.payment_method.card.id}),e(h,{key:"c1000dc756f1b9dcfef34cf82b274b66324c8300",title:"Payment Type",value:"Card"}),e(h,{key:"dc5ce24f30293851230a721fb5e0cb17841a0c26",title:"Last 4 Numbers",value:this.payment.payment_method.lastFourDigits}),e(h,{key:"4d5046cc3f23ad11ca97698ced951baa9520ab09",title:"Brand",value:c(this.payment.payment_method.card.brand)}),e(h,{key:"97ac51fcd928d4d4fdf79dddb5577b048e0d81e9",title:"Cardholder",value:this.payment.payment_method.payersName}))],this.payment.payment_method.bank_account&&[e(l,{key:"35a79ce77f5169316113a4db24a2ef8ce19e95f9",sectionTitle:"Payment Method"}),e("div",{key:"32ad717125ad1de2ef98c652bb09f82673cf1cb9",class:"d-table gap-2 w-100"},e(h,{key:"18e8fafc324e72bc252939b5143c596dd43ec698",title:"ID",value:this.payment.payment_method.bank_account.id}),e(h,{key:"09ff2cfc2b6925b972c63061b19f14db20cfba3e",title:"Last 4 Numbers",value:this.payment.last_four_digits}),e(h,{key:"80ecb22f35368ebd46b44bc05e28083feefb38e5",title:"Bank Name",value:this.payment.payment_method.bank_account.brand}),e(h,{key:"3f813a886d42fc43523f3f936c68f1733105d62c",title:"Account Owner",value:this.payment.payment_method.payersName}))],e(l,{key:"1f73daaaeeab874b7b12d12eb1dd2f82b63b8bba",sectionTitle:"Metadata"}),e("div",{key:"a3ca93b3151773f4a98af2f703b62dba3cbb2957",class:"d-table gap-2 w-100"},e(r,{key:"a40ac95709ef184daa3be5034c8b96bba12acbd4",metadata:this.payment.metadata})))))}static get watchers(){return{getPaymentDetails:["updateOnPropChange"]}}};export{k as payment_details_core}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as t}from"./p-2783e363.js";import{c as a}from"./p-
|
|
1
|
+
import{h as t}from"./p-2783e363.js";import{c as a}from"./p-2ca5b5e4.js";import{M as e}from"./p-3e716e03.js";import{m as o,k as s}from"./p-d8c04275.js";const p="created_at,amount,status,payments_total,refunds_total,fees_total,other_total,csv",c={created_at:()=>t("th",{part:s,scope:"col",title:"The date the payout was deposited"},"Created"),sub_account_name:()=>t("th",{part:s,scope:"col",title:"The sub account associated with the payout"},"Sub Account"),payments_total:()=>t("th",{part:s,scope:"col",title:"The total payments amount associated with the payout"},"Payments"),refunds_total:()=>t("th",{part:s,scope:"col",title:"The total refunds amount associated with the payout"},"Refunds"),fees_total:()=>t("th",{part:s,scope:"col",title:"The total fees amount associated with the payout"},"Fees"),other_total:()=>t("th",{part:s,scope:"col",title:"The total other amount"},"Other"),amount:()=>t("th",{part:s,scope:"col",title:"The total amount of the payout"},"Amount"),status:()=>t("th",{part:s,scope:"col",title:"The real-time status of each payout"},"Status"),csv:()=>t("th",{part:s,scope:"col",title:"Export CSV"})},r=s=>({created_at:(e,s)=>t("td",{part:o(s)},t("div",{class:"fw-bold"},a(e.created_at,{showDisplayDate:!0}))),sub_account_name:(a,e)=>t("td",{part:o(e)},a.sub_account_name),payments_total:(a,e)=>t("td",{part:o(e)},a.formattedPaymentAmount(a.payments_total)),refunds_total:(a,e)=>t("td",{part:o(e)},a.formattedPaymentAmount(a.refunds_total)),fees_total:(a,e)=>t("td",{part:o(e)},a.formattedPaymentAmount(a.fees_total)),other_total:(a,e)=>t("td",{part:o(e)},a.formattedPaymentAmount(a.other_total)),amount:(a,e)=>t("td",{part:o(e)},a.formattedPaymentAmount(a.amount)),status:(a,s)=>t("td",{part:o(s)},e(a.status)),csv:(a,e)=>t("td",{part:o(e)},t("a",{href:"#",onClick:t=>{t.preventDefault(),s(a)}},"CSV"))});export{r as a,p as d,c as p}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as i,h as s}from"./p-2783e363.js";import{C as e,a as r}from"./p-14c91ffd.js";import{c as o,J as a}from"./p-2a136295.js";import{a as p}from"./p-abdbcd8e.js";import{g as n,a as c}from"./p-8115b2f4.js";import{D as h}from"./p-c470a150.js";import{c as d}from"./p-2d801915.js";import"./p-c845cb7a.js";import"./p-7c31ec70.js";import"./p-2ca5b5e4.js";import"./p-56f6ce4c.js";import"./p-9894484a.js";import"./p-01d4e35a.js";import"./p-61f0a2ce.js";const m=class{constructor(s){t(this,s),this.errorEvent=i(this,"error-event",7),this.handleErrorEvent=t=>{this.errorMessage=t.detail.message,this.errorEvent.emit(t.detail)},this.disputeId=void 0,this.authToken=void 0,this.apiOrigin=d.proxyApiOrigin,this.getDispute=void 0,this.errorMessage=null}componentWillLoad(){o(),this.analytics=new a(this),this.initializeGetDispute()}disconnectedCallback(){this.analytics.cleanup()}propChanged(){this.initializeGetDispute()}initializeGetDispute(){this.disputeId&&this.authToken?this.getDispute=(({id:t,authToken:i,service:s,apiOrigin:r})=>async({onSuccess:o,onError:a})=>{var h;try{const d=await s.fetchDispute(t,i,r);if(d.error)return a({error:n(d.error),code:c(null===(h=d.error)||void 0===h?void 0:h.code),severity:e.ERROR});{const t=Object.assign({},d.page_info);o({dispute:new p(d.data),pagingInfo:t})}}catch(t){const i=c(null==t?void 0:t.code);return a({error:t.message||t,code:i,severity:e.ERROR})}})({id:this.disputeId,authToken:this.authToken,service:new h,apiOrigin:this.apiOrigin}):(this.errorMessage="Dispute ID and Auth Token are required",this.errorEvent.emit({message:this.errorMessage,errorCode:r.MISSING_PROPS,severity:e.ERROR}))}render(){return s("justifi-dispute-management-core",{key:"ac225c68cd03070f60bf00bef92ddcc8d5fe4e47",getDispute:this.getDispute,disputeId:this.disputeId,authToken:this.authToken,"onError-event":this.handleErrorEvent})}static get watchers(){return{disputeId:["propChanged"],authToken:["propChanged"]}}};export{m as justifi_dispute_management}
|