@justifi/webcomponents 4.23.1 → 5.0.0-rc-2
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/{Business-aa799fec.js → Business-cfd6a2dd.js} +5 -0
- package/dist/cjs/Dispute-eb6bad54.js +59 -0
- package/dist/cjs/{Payment-87b47c43.js → Payment-d074b246.js} +7 -9
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +9 -28
- package/dist/cjs/bank-account-form_9.cjs.entry.js +493 -0
- package/dist/cjs/{business-additional-questions-schema-f5591026.js → business-additional-questions-schema-caa23e95.js} +2 -2
- package/dist/cjs/business-details-core.cjs.entry.js +26 -4
- package/dist/cjs/{business-form-options-5db0bd5e.js → business-form-options-4bcb8943.js} +1 -1
- package/dist/cjs/{business-identity-schema-804a4bd7.js → business-identity-schema-0c537067.js} +2 -2
- package/dist/cjs/{business.service-7faffa0b.js → business.service-285f6f26.js} +1 -1
- package/dist/cjs/button-94bdc1f0.js +20 -0
- package/dist/cjs/{Analytics-7ab90cae.js → check-pkg-version-18426209.js} +23 -3
- package/dist/cjs/{checkout.service-aae1996c.js → checkout.service-671fab62.js} +2 -2
- package/dist/cjs/checkouts-list-core.cjs.entry.js +37 -30
- package/dist/cjs/checkouts-list-params-state-418c75a3.js +14 -0
- package/dist/cjs/checkouts-table-17648e93.js +48 -0
- package/dist/cjs/{config-05767cba.js → config-b190e93e.js} +1 -1
- package/dist/cjs/{custom-popper_4.cjs.entry.js → custom-popper.cjs.entry.js} +3 -107
- package/dist/cjs/dispute.service-c362a953.js +29 -0
- package/dist/cjs/event-types-180a85a9.js +23 -0
- package/dist/cjs/{table-ec9ce9f7.js → event-types-4df47396.js} +16 -8
- package/dist/cjs/event-types-8edaabbb.js +22 -0
- package/dist/cjs/form-alert_5.cjs.entry.js +9 -8
- package/dist/cjs/form-control-checkbox.cjs.entry.js +57 -0
- package/dist/cjs/form-control-date.cjs.entry.js +21 -2
- package/dist/cjs/form-control-error-text-a2fd5fc1.js +14 -0
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +90 -0
- package/dist/cjs/form-control-file.cjs.entry.js +21 -2
- package/dist/cjs/form-control-help-text-b6f7ae6e.js +14 -0
- package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
- package/dist/cjs/form-control-monetary.cjs.entry.js +22 -2
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +21 -3
- package/dist/cjs/form-control-number.cjs.entry.js +21 -2
- package/dist/cjs/form-control-radio.cjs.entry.js +25 -17
- package/dist/cjs/form-control-select_3.cjs.entry.js +145 -0
- package/dist/cjs/{get-payout-csv-1eed32ee.js → get-payout-csv-d2aed52c.js} +2 -2
- package/dist/cjs/{get-subaccounts-1d2fb201.js → get-subaccounts-9aa22224.js} +2 -2
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +6 -8
- package/dist/cjs/header-1-cb7af794.js +10 -0
- package/dist/cjs/header-3-75e50713.js +10 -0
- package/dist/cjs/iframe-input-styles-state-d0de0b24.js +26 -0
- package/dist/cjs/{justifi-billing-form_2.cjs.entry.js → iframe-input.cjs.entry.js} +73 -180
- package/dist/cjs/{index-fb499e95.js → index-5b9a3b5f.js} +1 -93
- package/dist/cjs/{insurance-state-80e24caf.js → index-d2d0b181.js} +2 -24
- package/dist/cjs/{index.esm-97cf6825.js → index.esm-a397536a.js} +1 -1
- package/dist/cjs/insurance-state-001cfe12.js +34 -0
- package/dist/cjs/justifi-additional-questions-form-step-core_8.cjs.entry.js +591 -0
- package/dist/cjs/justifi-additional-questions-form-step_10.cjs.entry.js +43 -43
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +413 -0
- package/dist/cjs/justifi-business-details.cjs.entry.js +9 -9
- package/dist/cjs/justifi-business-form.cjs.entry.js +25 -32
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +3 -2
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +16 -20
- package/dist/cjs/justifi-checkout.cjs.entry.js +10 -10
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +38 -0
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +14 -14
- package/dist/cjs/justifi-details.cjs.entry.js +4 -4
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +50 -11
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +87 -2
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +378 -0
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +7 -7
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +18 -28
- package/dist/cjs/justifi-payment-details.cjs.entry.js +10 -9
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +13 -8
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +7 -8
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +43 -0
- package/dist/cjs/justifi-payments-list.cjs.entry.js +13 -13
- package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -9
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +27 -0
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +20 -14
- package/dist/cjs/justifi-refund-form.cjs.entry.js +7 -10
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +17 -18
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +8 -8
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +35 -0
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +12 -12
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +11 -15
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{package-6d1daab8.js → package-d6ef89ed.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +26 -0
- package/dist/cjs/parts-811ddb9c.js +119 -0
- package/dist/cjs/payment-details-core.cjs.entry.js +13 -11
- package/dist/cjs/{payment.service-86871f43.js → payment.service-9a5336f1.js} +2 -2
- package/dist/cjs/payments-list-core.cjs.entry.js +34 -27
- package/dist/cjs/payments-list-params-state-0ff968a7.js +14 -0
- package/dist/cjs/payments-table-cf5d1c33.js +32 -0
- package/dist/cjs/payout-details-core.cjs.entry.js +8 -5
- package/dist/cjs/payouts-list-core.cjs.entry.js +37 -30
- package/dist/cjs/payouts-list-params-state-16348184.js +14 -0
- package/dist/cjs/payouts-table-58881d95.js +38 -0
- package/dist/cjs/{schema-validations-f0363047.js → schema-validations-0be8068a.js} +2 -2
- package/dist/cjs/skeleton-5ca03840.js +13 -0
- package/dist/cjs/spinner-c11fcb44.js +12 -0
- package/dist/cjs/styled-host-94309bab.js +14 -0
- package/dist/cjs/table-filters-menu.cjs.entry.js +45 -0
- package/dist/cjs/terminals-list-core.cjs.entry.js +36 -29
- package/dist/cjs/terminals-list-params-state-95ff6a64.js +14 -0
- package/dist/cjs/terminals-table-91985249.js +33 -0
- package/dist/cjs/{utils-e88fbc94.js → utils-a21b7453.js} +31 -28
- package/dist/cjs/utils-fc17191b.js +29 -0
- package/dist/cjs/webcomponents.cjs.js +2 -2
- package/dist/collection/api/Analytics.js +1 -1
- package/dist/collection/api/Business.js +5 -0
- package/dist/collection/api/Dispute.js +55 -0
- package/dist/collection/api/DisputeEvidenceDocument.js +44 -0
- package/dist/collection/api/Payment.js +6 -9
- package/dist/collection/api/services/dispute.service.js +20 -0
- package/dist/collection/collection-manifest.json +16 -17
- package/dist/collection/components/billing-form/billing-form.js +2 -19
- package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +1 -19
- package/dist/collection/components/business-details/business-details-core.js +8 -7
- package/dist/collection/components/business-details/business-details-loading.js +6 -0
- package/dist/collection/components/business-details/business-details.js +5 -13
- package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +1 -11
- package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +1 -11
- package/dist/collection/components/business-details/owner-details/owner-details.js +1 -11
- package/dist/collection/components/business-details/representative-details/representative-details.js +1 -19
- package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +2 -6
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +2 -4
- package/dist/collection/components/business-forms/business-form/business-form.js +18 -59
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +2 -1
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +2 -6
- package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +22 -52
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form.js +6 -6
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +18 -40
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +6 -11
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +19 -44
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +18 -40
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +6 -11
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +26 -47
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +6 -11
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +2 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +17 -39
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +6 -6
- package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.js +21 -42
- package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-input-group.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-documents-on-file.js +4 -3
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +18 -39
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +6 -11
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +32 -23
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +2 -20
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +7 -11
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +30 -31
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.js +2 -11
- package/dist/collection/components/business-forms/utils/event-types.js +21 -0
- package/dist/collection/components/business-forms/utils/index.js +4 -0
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +65 -0
- package/dist/collection/components/checkout/card-form/card-form.js +67 -0
- package/dist/collection/components/checkout/checkout-core.js +19 -28
- package/dist/collection/components/checkout/checkout.js +7 -7
- package/dist/collection/components/checkout/message-event-types.js +4 -0
- package/dist/collection/components/checkout/new-payment-method.js +23 -15
- package/dist/collection/components/checkout/payment-method-options.js +1 -11
- package/dist/collection/components/checkout/save-new-payment-method.js +3 -4
- package/dist/collection/components/checkout/saved-payment-method.js +6 -5
- package/dist/collection/components/checkout/sezzle-payment-method.js +6 -4
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +43 -36
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +8 -61
- package/dist/collection/components/checkouts-list/checkouts-list-params-state.js +8 -0
- package/dist/collection/components/checkouts-list/checkouts-list.js +7 -29
- package/dist/collection/components/checkouts-list/checkouts-table.js +13 -12
- package/dist/collection/components/dispute-management/dispute-actions.js +31 -0
- package/dist/collection/components/dispute-management/dispute-management-core.js +131 -17
- package/dist/collection/components/dispute-management/dispute-management.js +143 -2
- package/dist/collection/components/dispute-management/dispute-notification.js +135 -15
- package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +110 -0
- package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +106 -0
- package/dist/collection/components/dispute-management/dispute-response/customer-details.js +106 -0
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-actions.js +117 -0
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +362 -0
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-form-types.js +12 -0
- package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +186 -0
- package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +106 -0
- package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +106 -0
- package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +106 -0
- package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +106 -0
- package/dist/collection/components/dispute-management/dispute-response/schemas/additional-statement-schema.js +5 -0
- package/dist/collection/components/dispute-management/dispute-response/schemas/cancellation-policy-schema.js +6 -0
- package/dist/collection/components/dispute-management/dispute-response/schemas/customer-details-schema.js +7 -0
- package/dist/collection/components/dispute-management/dispute-response/schemas/dispute-reason-schema.js +5 -0
- package/dist/collection/components/dispute-management/dispute-response/schemas/duplicate-charge-schema.js +6 -0
- package/dist/collection/components/dispute-management/dispute-response/schemas/electronic-evidence-schema.js +5 -0
- package/dist/collection/components/dispute-management/dispute-response/schemas/product-or-service-schema.js +6 -0
- package/dist/collection/components/dispute-management/dispute-response/schemas/refund-policy-schema.js +6 -0
- package/dist/collection/components/dispute-management/dispute-response/schemas/shipping-details-schema.js +8 -0
- package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +106 -0
- package/dist/collection/components/dispute-management/event-types.js +20 -0
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +8 -17
- package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +5 -5
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +19 -22
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +6 -6
- package/dist/collection/components/pagination-menu/pagination-menu.js +5 -4
- package/dist/collection/components/payment-details/payment-details-core.js +15 -13
- package/dist/collection/components/payment-details/payment-details.js +5 -28
- package/dist/collection/components/payments-list/payments-list-core.js +40 -33
- package/dist/collection/components/payments-list/payments-list-filters.js +8 -61
- package/dist/collection/components/payments-list/payments-list-params-state.js +8 -0
- package/dist/collection/components/payments-list/payments-list.js +7 -29
- package/dist/collection/components/payments-list/payments-table.js +15 -14
- package/dist/collection/components/payout-details/payout-details-core.js +10 -8
- package/dist/collection/components/payout-details/payout-details.js +5 -5
- package/dist/collection/components/payouts-list/payouts-list-core.js +43 -36
- package/dist/collection/components/payouts-list/payouts-list-filters.js +8 -60
- package/dist/collection/components/payouts-list/payouts-list-params-state.js +8 -0
- package/dist/collection/components/payouts-list/payouts-list.js +6 -28
- package/dist/collection/components/payouts-list/payouts-table.js +19 -18
- package/dist/collection/components/refund-form/refund-form.js +1 -11
- package/dist/collection/components/refund-form/refund-form.stories.js +1 -60
- package/dist/collection/components/terminals-list/terminals-list-core.js +43 -36
- package/dist/collection/components/terminals-list/terminals-list-filters.js +8 -61
- package/dist/collection/components/terminals-list/terminals-list-params-state.js +8 -0
- package/dist/collection/components/terminals-list/terminals-list.js +7 -29
- package/dist/collection/components/terminals-list/terminals-table.js +9 -8
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +20 -24
- package/dist/collection/styles/parts.js +74 -0
- package/dist/collection/ui-components/button.js +6 -12
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/details/details.js +2 -4
- package/dist/collection/ui-components/details/utils.js +7 -10
- package/dist/collection/ui-components/filters/table-filters-menu.js +5 -1
- package/dist/collection/ui-components/form/form-control-checkbox.js +31 -16
- package/dist/collection/ui-components/form/form-control-date.js +25 -1
- package/dist/collection/ui-components/form/form-control-file-v2.js +177 -0
- package/dist/collection/ui-components/form/form-control-file.js +22 -2
- package/dist/collection/ui-components/form/form-control-monetary.js +25 -1
- package/dist/collection/ui-components/form/form-control-number-masked.js +24 -1
- package/dist/collection/ui-components/form/form-control-number.js +24 -1
- package/dist/collection/ui-components/form/form-control-radio.js +50 -40
- package/dist/collection/ui-components/form/form-control-select.js +25 -1
- package/dist/collection/ui-components/form/form-control-text.js +24 -1
- package/dist/collection/ui-components/form/form-control-textarea.js +27 -2
- package/dist/collection/ui-components/form/form-helpers/form-alert/form-alert.js +2 -1
- package/dist/collection/ui-components/form/form-helpers/form-control-error-text.js +9 -0
- package/dist/collection/ui-components/form/form-helpers/form-control-help-text.js +9 -0
- package/dist/collection/ui-components/form/form-helpers/form-control-tooltip/form-control-tooltip.js +2 -1
- package/dist/collection/ui-components/form/form.js +1 -1
- package/dist/collection/ui-components/form/hidden-input.js +85 -0
- package/dist/collection/ui-components/form/iframe-input-styles-state.js +21 -0
- package/dist/collection/ui-components/form/iframe-input.js +215 -0
- package/dist/collection/ui-components/headers/header-1.js +5 -0
- package/dist/collection/ui-components/headers/header-2.js +5 -0
- package/dist/collection/ui-components/headers/header-3.js +5 -0
- package/dist/collection/ui-components/index.js +6 -0
- package/dist/collection/ui-components/skeleton.js +4 -34
- package/dist/collection/ui-components/spinner.js +6 -0
- package/dist/collection/ui-components/table/event-types.js +6 -0
- package/dist/collection/ui-components/table-empty-state.js +2 -1
- package/dist/collection/ui-components/table-error-state.js +2 -1
- package/dist/collection/ui-components/table-loading-state.js +3 -1
- package/dist/collection/utils/table.js +2 -2
- package/dist/collection/utils/utils.js +27 -26
- package/dist/docs.json +3573 -4721
- package/dist/esm/{Business-b73d5055.js → Business-29c69f22.js} +6 -1
- package/dist/esm/Dispute-5fd28ec9.js +57 -0
- package/dist/esm/{Payment-2a868d0c.js → Payment-4f72d277.js} +7 -9
- package/dist/esm/additional-questions-details_5.entry.js +9 -28
- package/dist/esm/bank-account-form_9.entry.js +481 -0
- package/dist/esm/{business-additional-questions-schema-d94f8975.js → business-additional-questions-schema-48e93928.js} +2 -2
- package/dist/esm/business-details-core.entry.js +26 -4
- package/dist/esm/{business-form-options-d790973e.js → business-form-options-018f62a5.js} +1 -1
- package/dist/esm/{business-identity-schema-2756dbc6.js → business-identity-schema-75126188.js} +2 -2
- package/dist/esm/{business.service-97a3da69.js → business.service-182aea6f.js} +1 -1
- package/dist/esm/button-1886a33d.js +18 -0
- package/dist/esm/{Analytics-77dc80f3.js → check-pkg-version-157854b7.js} +23 -4
- package/dist/esm/{checkout.service-c1e44e0c.js → checkout.service-32a6ebe8.js} +2 -2
- package/dist/esm/checkouts-list-core.entry.js +36 -29
- package/dist/esm/checkouts-list-params-state-1d968971.js +10 -0
- package/dist/esm/checkouts-table-8b116232.js +44 -0
- package/dist/esm/{config-27764a9d.js → config-187b3ae1.js} +1 -1
- package/dist/esm/{custom-popper_4.entry.js → custom-popper.entry.js} +4 -105
- package/dist/esm/dispute.service-4e5059aa.js +27 -0
- package/dist/esm/{table-44e3d1e7.js → event-types-01dcdcbd.js} +17 -9
- package/dist/esm/event-types-07cdb9a0.js +22 -0
- package/dist/esm/event-types-5c87de02.js +23 -0
- package/dist/esm/form-alert_5.entry.js +9 -8
- package/dist/esm/form-control-checkbox.entry.js +53 -0
- package/dist/esm/form-control-date.entry.js +21 -2
- package/dist/esm/form-control-error-text-3b2553b5.js +12 -0
- package/dist/esm/form-control-file-v2_2.entry.js +85 -0
- package/dist/esm/form-control-file.entry.js +21 -2
- package/dist/esm/form-control-help-text-a2fc3617.js +12 -0
- package/dist/esm/form-control-help-text.entry.js +1 -1
- package/dist/esm/form-control-monetary.entry.js +22 -2
- package/dist/esm/form-control-number-masked_2.entry.js +21 -3
- package/dist/esm/form-control-number.entry.js +21 -2
- package/dist/esm/form-control-radio.entry.js +25 -17
- package/dist/esm/form-control-select_3.entry.js +139 -0
- package/dist/esm/{get-payout-csv-3b83b088.js → get-payout-csv-e6058aa7.js} +2 -2
- package/dist/esm/{get-subaccounts-dd20cfa4.js → get-subaccounts-0b8af245.js} +2 -2
- package/dist/esm/gross-payment-chart-core.entry.js +6 -8
- package/dist/esm/header-1-c6a00a22.js +8 -0
- package/dist/esm/header-3-a1c6d475.js +8 -0
- package/dist/esm/iframe-input-styles-state-ff730fe5.js +23 -0
- package/dist/esm/{justifi-billing-form_2.entry.js → iframe-input.entry.js} +73 -179
- package/dist/esm/{index-57431c24.js → index-29fcfdf5.js} +1 -93
- package/dist/esm/{insurance-state-8ce01e59.js → index-a47fdc7f.js} +2 -21
- package/dist/esm/{index.esm-ed37201b.js → index.esm-0b6849c2.js} +1 -1
- package/dist/esm/insurance-state-8fc9376f.js +28 -0
- package/dist/esm/justifi-additional-questions-form-step-core_8.entry.js +580 -0
- package/dist/esm/justifi-additional-questions-form-step_10.entry.js +43 -43
- package/dist/esm/justifi-additional-statement_8.entry.js +402 -0
- package/dist/esm/justifi-business-details.entry.js +8 -8
- package/dist/esm/justifi-business-form.entry.js +21 -28
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +3 -2
- package/dist/esm/justifi-checkout-core.entry.js +16 -20
- package/dist/esm/justifi-checkout.entry.js +9 -9
- package/dist/esm/justifi-checkouts-list-filters.entry.js +34 -0
- package/dist/esm/justifi-checkouts-list.entry.js +13 -13
- package/dist/esm/justifi-details.entry.js +4 -4
- package/dist/esm/justifi-dispute-management-core.entry.js +50 -11
- package/dist/esm/justifi-dispute-management.entry.js +87 -2
- package/dist/esm/justifi-dispute-notification_3.entry.js +372 -0
- package/dist/esm/justifi-gross-payment-chart.entry.js +6 -6
- package/dist/esm/justifi-owner-form_3.entry.js +16 -26
- package/dist/esm/justifi-payment-details.entry.js +9 -8
- package/dist/esm/justifi-payment-provisioning-core.entry.js +12 -7
- package/dist/esm/justifi-payment-provisioning.entry.js +6 -7
- package/dist/esm/justifi-payments-list-filters.entry.js +39 -0
- package/dist/esm/justifi-payments-list.entry.js +12 -12
- package/dist/esm/justifi-payout-details.entry.js +9 -8
- package/dist/esm/justifi-payouts-list-filters.entry.js +23 -0
- package/dist/esm/justifi-payouts-list.entry.js +19 -13
- package/dist/esm/justifi-refund-form.entry.js +7 -10
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +17 -18
- package/dist/esm/justifi-season-interruption-insurance.entry.js +7 -7
- package/dist/esm/justifi-terminals-list-filters.entry.js +31 -0
- package/dist/esm/justifi-terminals-list.entry.js +11 -11
- package/dist/esm/justifi-tokenize-payment-method.entry.js +10 -14
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{package-627f73c1.js → package-9e3b7f9e.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +22 -0
- package/dist/esm/parts-186d437f.js +72 -0
- package/dist/esm/payment-details-core.entry.js +13 -11
- package/dist/esm/{payment.service-ca6b5bc5.js → payment.service-45f90e06.js} +2 -2
- package/dist/esm/payments-list-core.entry.js +33 -26
- package/dist/esm/payments-list-params-state-b3dab8bc.js +10 -0
- package/dist/esm/payments-table-d6fbab5b.js +28 -0
- package/dist/esm/payout-details-core.entry.js +8 -5
- package/dist/esm/payouts-list-core.entry.js +36 -29
- package/dist/esm/payouts-list-params-state-49618e7a.js +10 -0
- package/dist/esm/payouts-table-2e61a116.js +34 -0
- package/dist/esm/{schema-validations-93a9d504.js → schema-validations-c7d4f9df.js} +2 -2
- package/dist/esm/skeleton-8f71cdf7.js +11 -0
- package/dist/esm/spinner-879489b3.js +10 -0
- package/dist/esm/styled-host-32228b45.js +12 -0
- package/dist/esm/table-filters-menu.entry.js +41 -0
- package/dist/esm/terminals-list-core.entry.js +35 -28
- package/dist/esm/terminals-list-params-state-2c48d35f.js +10 -0
- package/dist/esm/terminals-table-8e42977c.js +29 -0
- package/dist/esm/{utils-1df1e55a.js → utils-54543523.js} +31 -30
- package/dist/esm/utils-d7633e66.js +22 -0
- package/dist/esm/webcomponents.js +3 -3
- package/dist/module/Business.js +6 -1
- package/dist/module/Payment.js +62 -10
- package/dist/module/additional-questions-details2.js +1 -5
- package/dist/module/additional-questions.js +4 -15
- package/dist/module/additional-statement.js +52 -13
- package/dist/module/{justifi-card-form.d.ts → bank-account-form.d.ts} +4 -4
- package/dist/module/bank-account-form.js +6 -0
- package/dist/module/bank-account-form2.js +44 -0
- package/dist/module/billing-form.js +6 -18
- package/dist/module/business-additional-questions-form-step-core.js +8 -21
- package/dist/module/business-additional-questions-form-step.js +3 -15
- package/dist/module/business-bank-account-form-step.js +11 -18
- package/dist/module/business-core-info-form-step-core.js +11 -18
- package/dist/module/business-core-info-form-step.js +5 -11
- package/dist/module/business-core-info.js +6 -11
- package/dist/module/business-details-core2.js +25 -3
- package/dist/module/business-document-upload-form-step.js +12 -18
- package/dist/module/business-document-upload-input-group.js +3 -9
- package/dist/module/business-documents-on-file.js +4 -3
- package/dist/module/business-owners-form-step-core.js +12 -18
- package/dist/module/business-owners-form-step.js +5 -11
- package/dist/module/business-representative-form-inputs.js +6 -11
- package/dist/module/business-representative-form-step-core.js +9 -17
- package/dist/module/business-representative-form-step.js +5 -11
- package/dist/module/business-representative.js +6 -11
- package/dist/module/business-terms-conditions-form-step.js +16 -22
- package/dist/module/business-terms-conditions-text.js +2 -5
- package/dist/module/button.js +6 -12
- package/dist/module/cancellation-policy.js +49 -13
- package/dist/module/{justifi-payment-form.d.ts → card-form.d.ts} +4 -4
- package/dist/module/card-form.js +6 -0
- package/dist/module/card-form2.js +46 -0
- package/dist/module/check-pkg-version.js +76 -1
- package/dist/module/checkout-core.js +55 -30
- package/dist/module/checkouts-list-core2.js +47 -77
- package/dist/module/checkouts-list-params-state.js +10 -0
- package/dist/module/config.js +1 -1
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +50 -13
- package/dist/module/details.js +3 -5
- package/dist/module/dispute-management-core.js +74 -39
- package/dist/module/dispute-notification.js +41 -8
- package/dist/module/dispute-response-actions.js +117 -0
- package/dist/module/dispute-response-core.js +280 -0
- package/dist/module/dispute-response-form-types.js +59 -0
- package/dist/module/dispute-response.js +198 -0
- package/dist/module/duplicate-charge.js +49 -13
- package/dist/module/electronic-evidence.js +49 -20
- package/dist/module/{table.js → event-types.js} +16 -8
- package/dist/module/event-types2.js +23 -0
- package/dist/module/event-types3.js +22 -0
- package/dist/module/form-alert2.js +2 -1
- package/dist/module/form-control-checkbox2.js +29 -27
- package/dist/module/form-control-date2.js +25 -10
- package/dist/module/form-control-error-text.js +10 -4
- package/dist/module/{payouts-list-filters.d.ts → form-control-file-v2.d.ts} +4 -4
- package/dist/module/form-control-file-v2.js +6 -0
- package/dist/module/form-control-file-v22.js +59 -0
- package/dist/module/form-control-file2.js +25 -10
- package/dist/module/form-control-help-text.js +1 -1
- package/dist/module/form-control-help-text2.js +9 -32
- package/dist/module/form-control-help-text3.js +35 -0
- package/dist/module/form-control-monetary2.js +26 -16
- package/dist/module/form-control-number-masked2.js +25 -11
- package/dist/module/form-control-number.js +24 -15
- package/dist/module/form-control-radio2.js +31 -30
- package/dist/module/form-control-select2.js +25 -10
- package/dist/module/form-control-text2.js +24 -10
- package/dist/module/form-control-textarea2.js +26 -11
- package/dist/module/form-control-tooltip2.js +2 -1
- package/dist/module/form.js +1 -1
- package/dist/module/generic-info-details2.js +1 -5
- package/dist/module/get-payout-csv.js +1 -1
- package/dist/module/get-subaccounts.js +1 -1
- package/dist/module/gross-payment-chart-core2.js +3 -6
- package/dist/module/header-1.js +8 -0
- package/dist/module/{payments-list-filters.d.ts → hidden-input.d.ts} +4 -4
- package/dist/module/hidden-input.js +6 -0
- package/dist/module/hidden-input2.js +100 -0
- package/dist/module/identity-address-form.js +4 -10
- package/dist/module/iframe-input-styles-state.js +23 -0
- package/dist/module/iframe-input.d.ts +11 -0
- package/dist/module/iframe-input.js +6 -0
- package/dist/module/{payment-method-form.js → iframe-input2.js} +83 -131
- package/dist/module/index2.js +167 -3572
- package/dist/module/index3.js +3599 -0
- package/dist/module/insurance-state.js +6 -191
- package/dist/module/justifi-business-details.js +2 -3
- package/dist/module/justifi-business-form.js +16 -36
- package/dist/module/justifi-checkout.js +52 -23
- package/dist/module/justifi-checkouts-list-filters.d.ts +11 -0
- package/dist/module/justifi-checkouts-list-filters.js +77 -0
- package/dist/module/justifi-checkouts-list.js +8 -45
- package/dist/module/justifi-dispute-management.js +109 -34
- package/dist/module/justifi-dispute-response-core.d.ts +11 -0
- package/dist/module/justifi-dispute-response-core.js +6 -0
- package/dist/module/justifi-dispute-response.d.ts +11 -0
- package/dist/module/justifi-dispute-response.js +6 -0
- package/dist/module/justifi-gross-payment-chart.js +2 -3
- package/dist/module/justifi-payment-details.js +3 -4
- package/dist/module/justifi-payment-provisioning.js +12 -24
- package/dist/module/justifi-payments-list-filters.d.ts +11 -0
- package/dist/module/justifi-payments-list-filters.js +94 -0
- package/dist/module/justifi-payments-list.js +9 -58
- package/dist/module/justifi-payout-details.js +2 -3
- package/dist/module/justifi-payouts-list-filters.d.ts +11 -0
- package/dist/module/justifi-payouts-list-filters.js +66 -0
- package/dist/module/justifi-payouts-list.js +14 -45
- package/dist/module/justifi-refund-form.js +4 -19
- package/dist/module/justifi-season-interruption-insurance.js +16 -5
- package/dist/module/justifi-terminals-list-filters.d.ts +11 -0
- package/dist/module/{terminals-list-filters2.js → justifi-terminals-list-filters.js} +25 -28
- package/dist/module/justifi-terminals-list.js +8 -51
- package/dist/module/justifi-tokenize-payment-method.js +51 -25
- package/dist/module/legal-address-details2.js +1 -5
- package/dist/module/legal-address-form-step-core.js +10 -17
- package/dist/module/legal-address-form-step.js +3 -9
- package/dist/module/legal-address-form.js +5 -10
- package/dist/module/new-payment-method.js +72 -30
- package/dist/module/owner-details2.js +1 -5
- package/dist/module/owner-form-core2.js +10 -25
- package/dist/module/owner-form-inputs2.js +5 -11
- package/dist/module/owner-form.js +5 -11
- package/dist/module/package.js +1 -1
- package/dist/module/pagination-menu2.js +4 -3
- package/dist/module/parts.js +72 -0
- package/dist/module/payment-details-core2.js +11 -9
- package/dist/module/payment-method-options.js +47 -24
- package/dist/module/payment-provisioning-actions.js +1 -1
- package/dist/module/payment-provisioning-core.js +21 -28
- package/dist/module/payment-provisioning-form-buttons.js +4 -2
- package/dist/module/payment-provisioning-form-steps.js +11 -24
- package/dist/module/payments-list-core2.js +46 -88
- package/dist/module/payments-list-params-state.js +10 -0
- package/dist/module/payout-details-core2.js +6 -3
- package/dist/module/payouts-list-core2.js +53 -83
- package/dist/module/payouts-list-params-state.js +10 -0
- package/dist/module/product-or-service.js +46 -13
- package/dist/module/refund-policy.js +49 -13
- package/dist/module/representative-details2.js +1 -5
- package/dist/module/save-new-payment-method.js +10 -5
- package/dist/module/saved-payment-method.js +19 -6
- package/dist/module/season-interruption-insurance-core.js +29 -19
- package/dist/module/sezzle-payment-method.js +19 -5
- package/dist/module/shipping-details.js +53 -19
- package/dist/module/skeleton.js +4 -34
- package/dist/module/spinner.js +10 -0
- package/dist/module/styled-host.js +1 -1
- package/dist/module/table-filters-menu2.js +12 -2
- package/dist/module/terminals-list-core2.js +43 -79
- package/dist/module/terminals-list-params-state.js +10 -0
- package/dist/module/utils.js +14 -19
- package/dist/module/utils2.js +31 -30
- package/dist/module/utils3.js +25 -30
- package/dist/module/utils4.js +23 -24
- package/dist/types/api/Business.d.ts +4 -0
- package/dist/types/api/Checkout.d.ts +1 -3
- package/dist/types/api/ComponentError.d.ts +0 -6
- package/dist/types/api/ComponentEvents.d.ts +23 -0
- package/dist/types/api/Dispute.d.ts +76 -0
- package/dist/types/api/DisputeEvidenceDocument.d.ts +23 -0
- package/dist/types/api/Payment.d.ts +6 -11
- package/dist/types/api/Payout.d.ts +1 -3
- package/dist/types/api/Terminal.d.ts +1 -4
- package/dist/types/api/services/dispute.service.d.ts +14 -0
- package/dist/types/components/billing-form/billing-form.d.ts +0 -5
- package/dist/types/components/business-details/additional-questions-details/additional-questions-details.d.ts +0 -8
- package/dist/types/components/business-details/business-details-core.d.ts +2 -2
- package/dist/types/components/business-details/business-details-loading.d.ts +1 -0
- package/dist/types/components/business-details/business-details.d.ts +2 -10
- package/dist/types/components/business-details/representative-details/representative-details.d.ts +0 -8
- package/dist/types/components/business-forms/business-form/additional-questions/additional-questions.d.ts +0 -5
- package/dist/types/components/business-forms/business-form/business-core-info/business-core-info.d.ts +0 -3
- package/dist/types/components/business-forms/business-form/business-form.d.ts +4 -11
- package/dist/types/components/business-forms/business-form/legal-address-form/legal-address-form.d.ts +0 -5
- package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +4 -6
- package/dist/types/components/business-forms/owner-form/owner-form.d.ts +2 -2
- package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.d.ts +3 -5
- package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.d.ts +2 -7
- package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +3 -8
- package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +3 -5
- package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.d.ts +2 -7
- package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.d.ts +4 -6
- package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.d.ts +2 -7
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +3 -5
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.d.ts +2 -2
- package/dist/types/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.d.ts +3 -5
- package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +3 -5
- package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.d.ts +2 -7
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-core.d.ts +5 -5
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-form-steps.d.ts +0 -2
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning.d.ts +2 -7
- package/dist/types/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.d.ts +5 -5
- package/dist/types/components/business-forms/utils/event-types.d.ts +19 -0
- package/dist/types/components/business-forms/utils/index.d.ts +4 -0
- package/dist/types/components/checkout/bank-account-form/bank-account-form.d.ts +7 -0
- package/dist/types/components/checkout/card-form/card-form.d.ts +9 -0
- package/dist/types/components/checkout/checkout-core.d.ts +5 -4
- package/dist/types/components/checkout/checkout.d.ts +2 -2
- package/dist/types/components/checkout/message-event-types.d.ts +4 -0
- package/dist/types/components/checkout/new-payment-method.d.ts +3 -3
- package/dist/types/components/checkout/save-new-payment-method.d.ts +1 -1
- package/dist/types/components/checkout/saved-payment-method.d.ts +1 -1
- package/dist/types/components/checkout/sezzle-payment-method.d.ts +1 -1
- package/dist/types/components/checkouts-list/checkouts-list-core.d.ts +7 -8
- package/dist/types/components/checkouts-list/checkouts-list-filters.d.ts +1 -3
- package/dist/types/components/checkouts-list/checkouts-list-params-state.d.ts +5 -0
- package/dist/types/components/checkouts-list/checkouts-list.d.ts +2 -24
- package/dist/types/components/checkouts-list/checkouts-table.d.ts +6 -6
- package/dist/types/components/dispute-management/dispute-actions.d.ts +9 -0
- package/dist/types/components/dispute-management/dispute-management-core.d.ts +14 -3
- package/dist/types/components/dispute-management/dispute-management.d.ts +15 -0
- package/dist/types/components/dispute-management/dispute-notification.d.ts +9 -3
- package/dist/types/components/dispute-management/dispute-response/additional-statement.d.ts +17 -0
- package/dist/types/components/dispute-management/dispute-response/cancellation-policy.d.ts +15 -0
- package/dist/types/components/dispute-management/dispute-response/customer-details.d.ts +15 -0
- package/dist/types/components/dispute-management/dispute-response/dispute-response-actions.d.ts +40 -0
- package/dist/types/components/dispute-management/dispute-response/dispute-response-core.d.ts +46 -0
- package/dist/types/components/dispute-management/dispute-response/dispute-response-form-types.d.ts +20 -0
- package/dist/types/components/dispute-management/dispute-response/dispute-response.d.ts +35 -0
- package/dist/types/components/dispute-management/dispute-response/duplicate-charge.d.ts +15 -0
- package/dist/types/components/dispute-management/dispute-response/electronic-evidence.d.ts +15 -0
- package/dist/types/components/dispute-management/dispute-response/product-or-service.d.ts +15 -0
- package/dist/types/components/dispute-management/dispute-response/refund-policy.d.ts +15 -0
- package/dist/types/components/dispute-management/dispute-response/schemas/additional-statement-schema.d.ts +6 -0
- package/dist/types/components/dispute-management/dispute-response/schemas/cancellation-policy-schema.d.ts +8 -0
- package/dist/types/components/dispute-management/dispute-response/schemas/customer-details-schema.d.ts +10 -0
- package/dist/types/components/dispute-management/dispute-response/schemas/dispute-reason-schema.d.ts +6 -0
- package/dist/types/components/dispute-management/dispute-response/schemas/duplicate-charge-schema.d.ts +8 -0
- package/dist/types/components/dispute-management/dispute-response/schemas/electronic-evidence-schema.d.ts +6 -0
- package/dist/types/components/dispute-management/dispute-response/schemas/product-or-service-schema.d.ts +8 -0
- package/dist/types/components/dispute-management/dispute-response/schemas/refund-policy-schema.d.ts +8 -0
- package/dist/types/components/dispute-management/dispute-response/schemas/shipping-details-schema.d.ts +12 -0
- package/dist/types/components/dispute-management/dispute-response/shipping-details.d.ts +15 -0
- package/dist/types/components/dispute-management/event-types.d.ts +18 -0
- package/dist/types/components/gross-payment-chart/gross-payment-chart-core.d.ts +2 -2
- package/dist/types/components/gross-payment-chart/gross-payment-chart.d.ts +3 -3
- package/dist/types/components/insurance/season-interruption/season-interruption-insurance-core.d.ts +4 -4
- package/dist/types/components/insurance/season-interruption/season-interruption-insurance.d.ts +2 -2
- package/dist/types/components/payment-details/payment-details-core.d.ts +2 -2
- package/dist/types/components/payment-details/payment-details.d.ts +2 -25
- package/dist/types/components/payments-list/payments-list-core.d.ts +6 -7
- package/dist/types/components/payments-list/payments-list-filters.d.ts +1 -4
- package/dist/types/components/payments-list/payments-list-params-state.d.ts +5 -0
- package/dist/types/components/payments-list/payments-list.d.ts +2 -24
- package/dist/types/components/payments-list/payments-table.d.ts +7 -7
- package/dist/types/components/payout-details/payout-details-core.d.ts +2 -2
- package/dist/types/components/payout-details/payout-details.d.ts +3 -3
- package/dist/types/components/payouts-list/payouts-list-core.d.ts +7 -8
- package/dist/types/components/payouts-list/payouts-list-filters.d.ts +0 -3
- package/dist/types/components/payouts-list/payouts-list-params-state.d.ts +5 -0
- package/dist/types/components/payouts-list/payouts-list.d.ts +2 -24
- package/dist/types/components/payouts-list/payouts-table.d.ts +9 -9
- package/dist/types/components/terminals-list/terminals-list-core.d.ts +7 -8
- package/dist/types/components/terminals-list/terminals-list-filters.d.ts +1 -4
- package/dist/types/components/terminals-list/terminals-list-params-state.d.ts +5 -0
- package/dist/types/components/terminals-list/terminals-list.d.ts +2 -24
- package/dist/types/components/terminals-list/terminals-table.d.ts +4 -4
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +4 -5
- package/dist/types/components.d.ts +465 -1338
- package/dist/types/styles/parts.d.ts +58 -0
- package/dist/types/ui-components/details/utils.d.ts +0 -1
- package/dist/types/ui-components/filters/table-filters-menu.d.ts +1 -0
- package/dist/types/ui-components/form/form-control-checkbox.d.ts +3 -3
- package/dist/types/ui-components/form/form-control-date.d.ts +2 -0
- package/dist/types/ui-components/form/form-control-file-v2.d.ts +15 -0
- package/dist/types/ui-components/form/form-control-file.d.ts +2 -0
- package/dist/types/ui-components/form/form-control-monetary.d.ts +2 -0
- package/dist/types/ui-components/form/form-control-number-masked.d.ts +2 -0
- package/dist/types/ui-components/form/form-control-number.d.ts +2 -0
- package/dist/types/ui-components/form/form-control-radio.d.ts +6 -7
- package/dist/types/ui-components/form/form-control-select.d.ts +2 -0
- package/dist/types/ui-components/form/form-control-text.d.ts +2 -0
- package/dist/types/ui-components/form/form-control-textarea.d.ts +2 -0
- package/dist/types/ui-components/form/form-helpers/form-control-error-text.d.ts +4 -0
- package/dist/types/ui-components/form/form-helpers/form-control-help-text.d.ts +4 -0
- package/dist/types/ui-components/form/form.d.ts +1 -1
- package/dist/types/ui-components/form/hidden-input.d.ts +11 -0
- package/dist/types/ui-components/form/iframe-input-styles-state.d.ts +3 -0
- package/dist/types/ui-components/form/iframe-input.d.ts +21 -0
- package/dist/types/ui-components/headers/header-1.d.ts +6 -0
- package/dist/types/ui-components/headers/header-2.d.ts +6 -0
- package/dist/types/ui-components/headers/header-3.d.ts +6 -0
- package/dist/types/ui-components/index.d.ts +6 -0
- package/dist/types/ui-components/skeleton.d.ts +1 -2
- package/dist/types/ui-components/spinner.d.ts +2 -0
- package/dist/types/ui-components/table/event-types.d.ts +5 -0
- package/dist/types/utils/utils.d.ts +3 -2
- package/dist/webcomponents/p-0201ec6c.entry.js +1 -0
- package/dist/webcomponents/p-08b8d1f0.entry.js +1 -0
- package/dist/webcomponents/p-0aa63869.entry.js +1 -0
- package/dist/webcomponents/p-0cc6c539.js +1 -0
- package/dist/webcomponents/p-0ccbc022.entry.js +1 -0
- package/dist/webcomponents/{p-1815a43b.js → p-0ea387a2.js} +1 -1
- package/dist/webcomponents/p-0eb86b3f.entry.js +1 -0
- package/dist/webcomponents/{p-5a62fca2.js → p-0f23ff58.js} +1 -1
- package/dist/webcomponents/p-110cae83.entry.js +1 -0
- package/dist/webcomponents/p-16ba9bea.js +1 -0
- package/dist/webcomponents/p-1ce22da6.entry.js +1 -0
- package/dist/webcomponents/p-1dbae48b.entry.js +1 -0
- package/dist/webcomponents/p-275f2154.js +1 -0
- package/dist/webcomponents/p-2783e363.js +2 -0
- package/dist/webcomponents/p-28029272.entry.js +1 -0
- package/dist/webcomponents/p-323ba4df.entry.js +1 -0
- package/dist/webcomponents/p-32a5bf4e.js +1 -0
- package/dist/webcomponents/p-34c14f59.js +1 -0
- package/dist/webcomponents/p-438df53f.entry.js +1 -0
- package/dist/webcomponents/p-441c1cf8.js +1 -0
- package/dist/webcomponents/p-4972d608.entry.js +1 -0
- package/dist/webcomponents/p-4a576796.js +1 -0
- package/dist/webcomponents/p-4cc3c7f9.js +1 -0
- package/dist/webcomponents/p-4d916b2d.js +1 -0
- package/dist/webcomponents/p-4eb3dcfa.entry.js +1 -0
- package/dist/webcomponents/p-5456a794.js +1 -0
- package/dist/webcomponents/p-5844a0f0.js +1 -0
- package/dist/webcomponents/p-597bd1e1.entry.js +1 -0
- package/dist/webcomponents/p-5bbe1133.entry.js +1 -0
- package/dist/webcomponents/p-5c6d08a6.entry.js +1 -0
- package/dist/webcomponents/p-5cb947bc.entry.js +1 -0
- package/dist/webcomponents/p-5d3f81c0.entry.js +1 -0
- package/dist/webcomponents/p-663a00cd.entry.js +1 -0
- package/dist/webcomponents/p-6677c60d.entry.js +1 -0
- package/dist/webcomponents/p-667ebd79.js +1 -0
- package/dist/webcomponents/p-68694a17.entry.js +1 -0
- package/dist/webcomponents/p-6ab77b89.js +1 -0
- package/dist/webcomponents/p-6b840696.entry.js +1 -0
- package/dist/webcomponents/p-6f4bfdff.entry.js +1 -0
- package/dist/webcomponents/p-6fbd6abb.js +1 -0
- package/dist/webcomponents/p-6feeb9f2.js +1 -0
- package/dist/webcomponents/p-7216ef00.entry.js +1 -0
- package/dist/webcomponents/p-73a18b5a.entry.js +1 -0
- package/dist/webcomponents/p-73f9be7c.js +1 -0
- package/dist/webcomponents/p-7693ed02.entry.js +1 -0
- package/dist/webcomponents/{p-4cf7f4ae.js → p-79b7c30d.js} +1 -1
- package/dist/webcomponents/p-7a975a3c.js +1 -0
- package/dist/webcomponents/p-7b9f21cd.entry.js +1 -0
- package/dist/webcomponents/p-7f796066.entry.js +1 -0
- package/dist/webcomponents/p-808bb677.entry.js +1 -0
- package/dist/webcomponents/p-83584c56.entry.js +1 -0
- package/dist/webcomponents/p-88acfa7c.entry.js +1 -0
- package/dist/webcomponents/p-8a94d2c8.js +1 -0
- package/dist/webcomponents/p-8c7a81c1.js +1 -0
- package/dist/webcomponents/p-8da3667c.js +1 -0
- package/dist/webcomponents/p-90dc2f2c.js +1 -0
- package/dist/webcomponents/p-9c2e00cc.js +1 -0
- package/dist/webcomponents/p-9ef9a625.entry.js +1 -0
- package/dist/webcomponents/p-9f773228.js +1 -0
- package/dist/webcomponents/p-a07b1816.js +1 -0
- package/dist/webcomponents/p-a3949f32.js +1 -0
- package/dist/webcomponents/p-abdbcd8e.js +1 -0
- package/dist/webcomponents/p-ac147eef.entry.js +1 -0
- package/dist/webcomponents/{p-b0311e88.js → p-af834eb8.js} +1 -1
- package/dist/webcomponents/p-b056034f.entry.js +1 -0
- package/dist/webcomponents/p-b1d4e520.entry.js +1 -0
- package/dist/webcomponents/p-b392ec21.js +1 -0
- package/dist/webcomponents/p-b867dd5d.entry.js +1 -0
- package/dist/webcomponents/{p-544a4e7a.js → p-bb0f8b70.js} +1 -1
- package/dist/webcomponents/p-bb61c6e0.js +1 -0
- package/dist/webcomponents/p-bbcaa29b.entry.js +1 -0
- package/dist/webcomponents/p-bfe9748b.js +1 -0
- package/dist/webcomponents/p-c092cbb2.js +1 -0
- package/dist/webcomponents/p-c2a2b9fe.entry.js +1 -0
- package/dist/webcomponents/p-c9670f3c.entry.js +1 -0
- package/dist/webcomponents/p-cc977850.js +1 -0
- package/dist/webcomponents/p-cefd50f8.entry.js +1 -0
- package/dist/webcomponents/p-d53c5ea5.entry.js +1 -0
- package/dist/webcomponents/p-d75b52c8.entry.js +1 -0
- package/dist/webcomponents/p-d960db89.entry.js +1 -0
- package/dist/webcomponents/p-db8c12ee.js +1 -0
- package/dist/webcomponents/p-e1ee92f5.entry.js +1 -0
- package/dist/webcomponents/p-e396506c.entry.js +1 -0
- package/dist/webcomponents/p-e723bc30.entry.js +1 -0
- package/dist/webcomponents/p-ec60d318.entry.js +1 -0
- package/dist/webcomponents/p-ed8918d1.entry.js +1 -0
- package/dist/webcomponents/{p-f6f8dabc.js → p-edb57087.js} +1 -1
- package/dist/webcomponents/p-ee4a2aac.entry.js +1 -0
- package/dist/webcomponents/p-ef4c49b9.js +1 -0
- package/dist/webcomponents/p-f20b6ce1.js +1 -0
- package/dist/webcomponents/{p-c13a7d10.js → p-f4722957.js} +1 -1
- package/dist/webcomponents/p-f88d5c0d.entry.js +1 -0
- package/dist/webcomponents/p-f8a3b942.entry.js +1 -0
- package/dist/webcomponents/p-f99e8150.entry.js +1 -0
- package/dist/webcomponents/{p-628693c1.entry.js → p-f9fdcc1a.entry.js} +4 -4
- package/dist/webcomponents/p-fa2e3dc7.entry.js +1 -0
- package/dist/webcomponents/{p-ccbff4fa.entry.js → p-faa35b47.entry.js} +1 -1
- package/dist/webcomponents/p-fc3daedd.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/business-form-types-719b7f52.js +0 -50
- package/dist/cjs/button-3f400a66.js +0 -26
- package/dist/cjs/check-pkg-version-fe8c72a9.js +0 -24
- package/dist/cjs/checkouts-list-filters.cjs.entry.js +0 -35
- package/dist/cjs/checkouts-table-00b6482f.js +0 -47
- package/dist/cjs/dispute-30c806f6.js +0 -10
- package/dist/cjs/exported-parts-a994d693.js +0 -9
- package/dist/cjs/form-control-checkbox_9.cjs.entry.js +0 -641
- package/dist/cjs/form-control-error-text.cjs.entry.js +0 -21
- package/dist/cjs/form-control-textarea.cjs.entry.js +0 -49
- package/dist/cjs/justifi-additional-statement_11.cjs.entry.js +0 -173
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +0 -79
- package/dist/cjs/justifi-card-form.cjs.entry.js +0 -80
- package/dist/cjs/justifi-new-payment-method_5.cjs.entry.js +0 -320
- package/dist/cjs/justifi-payment-form.cjs.entry.js +0 -141
- package/dist/cjs/justifi-payment-method-selector.cjs.entry.js +0 -34
- package/dist/cjs/pagination-menu_2.cjs.entry.js +0 -54
- package/dist/cjs/payments-list-filters.cjs.entry.js +0 -40
- package/dist/cjs/payments-table-7087e771.js +0 -31
- package/dist/cjs/payouts-list-filters.cjs.entry.js +0 -24
- package/dist/cjs/payouts-table-4858eb84.js +0 -37
- package/dist/cjs/skeleton-748c5dde.js +0 -43
- package/dist/cjs/styled-host-1adf46c3.js +0 -14
- package/dist/cjs/terminals-list-filters.cjs.entry.js +0 -32
- package/dist/cjs/terminals-table-12410159.js +0 -32
- package/dist/cjs/utils-189dc30d.js +0 -35
- package/dist/cjs/utils-ba79e868.js +0 -37
- package/dist/collection/components/bank-account-form/bank-account-form.js +0 -281
- package/dist/collection/components/billing-form/billing-form.css +0 -51
- package/dist/collection/components/business-details/shared-business-details.css +0 -3
- package/dist/collection/components/business-forms/business-form/business-form.css +0 -121
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.css +0 -18
- package/dist/collection/components/business-forms/utils/business-form-types.js +0 -48
- package/dist/collection/components/card-form/card-form.js +0 -300
- package/dist/collection/components/checkout/checkout-core.css +0 -110
- package/dist/collection/components/checkout/form-check-input.css +0 -20
- package/dist/collection/components/checkout/header.css +0 -4
- package/dist/collection/components/checkout/payment-method-options.css +0 -15
- package/dist/collection/components/dispute-management/counter-dispute/additional-statement.js +0 -8
- package/dist/collection/components/dispute-management/counter-dispute/cancellation-policy.js +0 -8
- package/dist/collection/components/dispute-management/counter-dispute/counter-dispute.js +0 -90
- package/dist/collection/components/dispute-management/counter-dispute/customer-details.js +0 -8
- package/dist/collection/components/dispute-management/counter-dispute/dispute-reason.js +0 -8
- package/dist/collection/components/dispute-management/counter-dispute/duplicate-charge.js +0 -8
- package/dist/collection/components/dispute-management/counter-dispute/electronic-evidence.js +0 -8
- package/dist/collection/components/dispute-management/counter-dispute/product-or-service.js +0 -16
- package/dist/collection/components/dispute-management/counter-dispute/refund-policy.js +0 -8
- package/dist/collection/components/dispute-management/counter-dispute/shipping-details.js +0 -12
- package/dist/collection/components/dispute-management/dispute.js +0 -8
- package/dist/collection/components/gross-payment-chart/gross-payment-chart.css +0 -3
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.css +0 -11
- package/dist/collection/components/payment-form/payment-form.css +0 -97
- package/dist/collection/components/payment-form/payment-form.js +0 -372
- package/dist/collection/components/payment-form/payment-method-selector.css +0 -39
- package/dist/collection/components/payment-form/payment-method-selector.js +0 -74
- package/dist/collection/components/payment-method-form/message-event-types.js +0 -16
- package/dist/collection/components/payment-method-form/payment-method-form.css +0 -13
- package/dist/collection/components/payment-method-form/payment-method-form.js +0 -298
- package/dist/collection/components/refund-form/refund-form.css +0 -59
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.css +0 -9
- package/dist/collection/ui-components/form/form-helpers/form-control-error-text/form-control-error-text.js +0 -52
- package/dist/collection/utils/get-computed-theme.js +0 -50
- package/dist/esm/business-form-types-8fd61b0e.js +0 -50
- package/dist/esm/button-34e75e0f.js +0 -24
- package/dist/esm/check-pkg-version-fbf01ce7.js +0 -22
- package/dist/esm/checkouts-list-filters.entry.js +0 -31
- package/dist/esm/checkouts-table-cd33b57c.js +0 -43
- package/dist/esm/dispute-4d2e0a04.js +0 -10
- package/dist/esm/exported-parts-70e7a12b.js +0 -7
- package/dist/esm/form-control-checkbox_9.entry.js +0 -629
- package/dist/esm/form-control-error-text.entry.js +0 -17
- package/dist/esm/form-control-textarea.entry.js +0 -45
- package/dist/esm/justifi-additional-statement_11.entry.js +0 -159
- package/dist/esm/justifi-bank-account-form.entry.js +0 -75
- package/dist/esm/justifi-card-form.entry.js +0 -76
- package/dist/esm/justifi-new-payment-method_5.entry.js +0 -312
- package/dist/esm/justifi-payment-form.entry.js +0 -137
- package/dist/esm/justifi-payment-method-selector.entry.js +0 -30
- package/dist/esm/pagination-menu_2.entry.js +0 -49
- package/dist/esm/payments-list-filters.entry.js +0 -36
- package/dist/esm/payments-table-bba91324.js +0 -27
- package/dist/esm/payouts-list-filters.entry.js +0 -20
- package/dist/esm/payouts-table-edff9bbe.js +0 -33
- package/dist/esm/skeleton-145a80d4.js +0 -41
- package/dist/esm/styled-host-e0ddb759.js +0 -12
- package/dist/esm/terminals-list-filters.entry.js +0 -28
- package/dist/esm/terminals-table-dc787616.js +0 -28
- package/dist/esm/utils-218275b7.js +0 -27
- package/dist/esm/utils-4006c425.js +0 -33
- package/dist/module/Analytics.js +0 -78
- package/dist/module/business-form-types.js +0 -50
- package/dist/module/checkouts-list-filters.d.ts +0 -11
- package/dist/module/checkouts-list-filters.js +0 -6
- package/dist/module/checkouts-list-filters2.js +0 -80
- package/dist/module/counter-dispute.js +0 -189
- package/dist/module/dispute-reason.js +0 -45
- package/dist/module/exported-parts.js +0 -7
- package/dist/module/form-control-error-text.d.ts +0 -11
- package/dist/module/form-control-error-text2.js +0 -35
- package/dist/module/justifi-bank-account-form.d.ts +0 -11
- package/dist/module/justifi-bank-account-form.js +0 -104
- package/dist/module/justifi-card-form.js +0 -106
- package/dist/module/justifi-counter-dispute.d.ts +0 -11
- package/dist/module/justifi-counter-dispute.js +0 -6
- package/dist/module/justifi-dispute-reason.d.ts +0 -11
- package/dist/module/justifi-dispute-reason.js +0 -6
- package/dist/module/justifi-payment-form.js +0 -216
- package/dist/module/justifi-payment-method-form.d.ts +0 -11
- package/dist/module/justifi-payment-method-form.js +0 -6
- package/dist/module/justifi-payment-method-selector.d.ts +0 -11
- package/dist/module/justifi-payment-method-selector.js +0 -6
- package/dist/module/payment-method-selector.js +0 -47
- package/dist/module/payments-list-filters.js +0 -6
- package/dist/module/payments-list-filters2.js +0 -97
- package/dist/module/payouts-list-filters.js +0 -6
- package/dist/module/payouts-list-filters2.js +0 -69
- package/dist/module/terminals-list-filters.d.ts +0 -11
- package/dist/module/terminals-list-filters.js +0 -6
- package/dist/module/utils5.js +0 -27
- package/dist/types/components/bank-account-form/bank-account-form.d.ts +0 -62
- package/dist/types/components/business-forms/utils/business-form-types.d.ts +0 -76
- package/dist/types/components/card-form/card-form.d.ts +0 -72
- package/dist/types/components/dispute-management/counter-dispute/additional-statement.d.ts +0 -3
- package/dist/types/components/dispute-management/counter-dispute/cancellation-policy.d.ts +0 -3
- package/dist/types/components/dispute-management/counter-dispute/counter-dispute.d.ts +0 -14
- package/dist/types/components/dispute-management/counter-dispute/customer-details.d.ts +0 -3
- package/dist/types/components/dispute-management/counter-dispute/dispute-reason.d.ts +0 -3
- package/dist/types/components/dispute-management/counter-dispute/duplicate-charge.d.ts +0 -3
- package/dist/types/components/dispute-management/counter-dispute/electronic-evidence.d.ts +0 -3
- package/dist/types/components/dispute-management/counter-dispute/product-or-service.d.ts +0 -4
- package/dist/types/components/dispute-management/counter-dispute/refund-policy.d.ts +0 -3
- package/dist/types/components/dispute-management/counter-dispute/shipping-details.d.ts +0 -3
- package/dist/types/components/dispute-management/dispute.d.ts +0 -7
- package/dist/types/components/payment-form/payment-form.d.ts +0 -36
- package/dist/types/components/payment-form/payment-method-selector.d.ts +0 -10
- package/dist/types/components/payment-form/tokenize.d.ts +0 -5
- package/dist/types/components/payment-method-form/message-event-types.d.ts +0 -16
- package/dist/types/components/payment-method-form/payment-method-form.d.ts +0 -25
- package/dist/types/ui-components/form/form-helpers/form-control-error-text/form-control-error-text.d.ts +0 -5
- package/dist/types/utils/get-computed-theme.d.ts +0 -3
- package/dist/webcomponents/p-08b0fb31.js +0 -1
- package/dist/webcomponents/p-0a963f7e.entry.js +0 -1
- package/dist/webcomponents/p-0d6ddff2.js +0 -1
- package/dist/webcomponents/p-0fbab710.entry.js +0 -1
- package/dist/webcomponents/p-2338affa.js +0 -1
- package/dist/webcomponents/p-25d2ed4c.js +0 -1
- package/dist/webcomponents/p-286b87ab.js +0 -1
- package/dist/webcomponents/p-28bd6dcd.js +0 -1
- package/dist/webcomponents/p-297faf3d.js +0 -1
- package/dist/webcomponents/p-29c8fa3d.entry.js +0 -1
- package/dist/webcomponents/p-2f422aad.entry.js +0 -1
- package/dist/webcomponents/p-3186d1fb.entry.js +0 -1
- package/dist/webcomponents/p-3bfb4f80.entry.js +0 -1
- package/dist/webcomponents/p-3c654c07.js +0 -1
- package/dist/webcomponents/p-3ed7fc42.entry.js +0 -1
- package/dist/webcomponents/p-404a847c.entry.js +0 -1
- package/dist/webcomponents/p-41c1c1f7.entry.js +0 -1
- package/dist/webcomponents/p-41c7ee13.entry.js +0 -1
- package/dist/webcomponents/p-420adedb.entry.js +0 -1
- package/dist/webcomponents/p-431d7a9e.entry.js +0 -1
- package/dist/webcomponents/p-448826a7.entry.js +0 -1
- package/dist/webcomponents/p-469804a9.entry.js +0 -1
- package/dist/webcomponents/p-486da67e.entry.js +0 -1
- package/dist/webcomponents/p-4a5e5574.entry.js +0 -1
- package/dist/webcomponents/p-52f9d8a0.entry.js +0 -1
- package/dist/webcomponents/p-54145a37.entry.js +0 -1
- package/dist/webcomponents/p-56d84fb3.entry.js +0 -1
- package/dist/webcomponents/p-57125bd1.js +0 -1
- package/dist/webcomponents/p-5e7c60d8.js +0 -1
- package/dist/webcomponents/p-5ec82df8.entry.js +0 -1
- package/dist/webcomponents/p-673cf8c4.js +0 -1
- package/dist/webcomponents/p-69527219.entry.js +0 -1
- package/dist/webcomponents/p-6cc30da2.js +0 -1
- package/dist/webcomponents/p-6d51aed8.entry.js +0 -1
- package/dist/webcomponents/p-72819173.entry.js +0 -1
- package/dist/webcomponents/p-74da98da.js +0 -1
- package/dist/webcomponents/p-8037704c.js +0 -1
- package/dist/webcomponents/p-89f6691e.js +0 -1
- package/dist/webcomponents/p-91de21cc.js +0 -1
- package/dist/webcomponents/p-942be28b.entry.js +0 -1
- package/dist/webcomponents/p-95ec39f6.entry.js +0 -1
- package/dist/webcomponents/p-9690eca9.entry.js +0 -1
- package/dist/webcomponents/p-9c9c7dac.js +0 -1
- package/dist/webcomponents/p-a76ece26.js +0 -1
- package/dist/webcomponents/p-a7830e98.entry.js +0 -1
- package/dist/webcomponents/p-a8b4f429.js +0 -1
- package/dist/webcomponents/p-abe513e6.entry.js +0 -1
- package/dist/webcomponents/p-ada9ac19.entry.js +0 -1
- package/dist/webcomponents/p-b0dc68b3.entry.js +0 -1
- package/dist/webcomponents/p-b3cac576.entry.js +0 -1
- package/dist/webcomponents/p-b97233cc.entry.js +0 -1
- package/dist/webcomponents/p-bc1984ec.entry.js +0 -1
- package/dist/webcomponents/p-bc8205ec.js +0 -1
- package/dist/webcomponents/p-bfb990fc.entry.js +0 -1
- package/dist/webcomponents/p-c1bf9285.entry.js +0 -1
- package/dist/webcomponents/p-c3fb5d3a.entry.js +0 -1
- package/dist/webcomponents/p-c420cb7d.entry.js +0 -1
- package/dist/webcomponents/p-c8243721.js +0 -1
- package/dist/webcomponents/p-cd19c597.entry.js +0 -1
- package/dist/webcomponents/p-d1f75fa6.js +0 -1
- package/dist/webcomponents/p-d291dc4c.entry.js +0 -1
- package/dist/webcomponents/p-d2eb61e6.entry.js +0 -1
- package/dist/webcomponents/p-d516e700.js +0 -1
- package/dist/webcomponents/p-da176d01.entry.js +0 -1
- package/dist/webcomponents/p-dcb288a3.entry.js +0 -1
- package/dist/webcomponents/p-df3ca87f.entry.js +0 -1
- package/dist/webcomponents/p-df5a1202.entry.js +0 -1
- package/dist/webcomponents/p-e2ce097c.js +0 -1
- package/dist/webcomponents/p-e5790011.entry.js +0 -1
- package/dist/webcomponents/p-e69b2ff8.entry.js +0 -1
- package/dist/webcomponents/p-e8be1b55.entry.js +0 -1
- package/dist/webcomponents/p-e99957ff.entry.js +0 -1
- package/dist/webcomponents/p-eb9ba917.entry.js +0 -1
- package/dist/webcomponents/p-ed95feec.entry.js +0 -1
- package/dist/webcomponents/p-f28a4c03.entry.js +0 -1
- package/dist/webcomponents/p-f698d6d9.entry.js +0 -1
- package/dist/webcomponents/p-fad19d75.js +0 -2
- package/dist/webcomponents/p-fc6f697d.entry.js +0 -1
- package/dist/webcomponents/p-ffe27126.entry.js +0 -1
- package/dist/webcomponents/webcomponents.css +0 -6
- /package/dist/collection/{components/payment-form/tokenize.js → api/ComponentEvents.js} +0 -0
- /package/dist/collection/components/{payment-method-form → checkout}/payment-method-responses.js +0 -0
- /package/dist/types/components/{payment-method-form → checkout}/payment-method-responses.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as a,H as t}from"./p-2783e363.js";import{u as d,h as l}from"./p-ef4c49b9.js";import{a as i,r as s,s as o,b as c}from"./p-0ea387a2.js";import{C as r,T as n,P as b,S as f}from"./p-525db3e8.js";import{C as u}from"./p-275f2154.js";import{d as h}from"./p-1ff8810b.js";import{S as m}from"./p-6078a370.js";import{n as v}from"./p-e3c22aa9.js";const y=class{constructor(a){e(this,a),this.text=void 0,this.hideAlert=void 0}render(){return this.text?this.hideAlert?null:a("div",{class:"alert alert-danger d-flex align-items-center",role:"alert",part:d},a("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"currentColor",class:"bi bi-exclamation-triangle-fill flex-shrink-0 me-2",viewBox:"0 0 16 16",role:"img","aria-label":"Warning:"},a("path",{d:"M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z"})),a("div",null,this.text)):null}},p=class{constructor(a){e(this,a),this.formController=void 0,this.errors={},this.additional_questions={},this.inputHandler=this.inputHandler.bind(this)}componentDidLoad(){this.formController.errors.subscribe((e=>this.errors=Object.assign({},e))),this.formController.values.subscribe((e=>this.additional_questions=Object.assign({},e.additional_questions)))}inputHandler(e,a){this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{additional_questions:Object.assign(Object.assign({},this.formController.values.getValue().additional_questions),{[e]:a})}))}render(){var e,d,c,n,b,f,u,h,m,v,y,p,k,x;const j=this.formController.getInitialValues().additional_questions;return a(t,{key:"bb84bd6a1e3fa028c187a1d50c905e726549793d"},a("fieldset",{key:"749a84c04210a561575b7182740fc6e5225756cb"},a("legend",{key:"9b469b3014f11c3b108ca1ab85cfe61e202b9948",part:l},"Additional Questions"),a("div",{key:"1681a5e6f88b005dbf12c6e85c5b3b451a32d326",class:"row gy-3"},a("div",{key:"8b29f94ac08449ed9d1995e1b3bd8e61692defa0",class:"col-12 col-md-6"},a("form-control-monetary",{key:"c05f4c9e4c14e2be2ce71f669d4f80661fac5812",name:"business_revenue",label:"What is the business' estimated annual revenue from its primary business activities?",inputHandler:this.inputHandler,errorText:null===(d=null===(e=this.errors)||void 0===e?void 0:e.additional_questions)||void 0===d?void 0:d.business_revenue,defaultValue:null==j?void 0:j.business_revenue,maskOptions:r.WHOLE})),a("div",{key:"bb7b1d913c72ead01ed7c1887ab3822082e156b4",class:"col-12 col-md-6"},a("form-control-monetary",{key:"33c9e231009d4368b5dcc45851f96e6329de64aa",name:"business_payment_volume",label:"What is the business' annual credit card & ACH volume anticipated to process?",inputHandler:this.inputHandler,errorText:null===(n=null===(c=this.errors)||void 0===c?void 0:c.additional_questions)||void 0===n?void 0:n.business_payment_volume,defaultValue:null==j?void 0:j.business_payment_volume,maskOptions:r.WHOLE})),a("div",{key:"b2e265d1eb6199f37cc667df427213f874764450",class:"col-12"},a("form-control-select",{key:"0eb29219e1ee105088cd7b4953db890f31060a27",name:"business_when_service_received",label:"On average, how long after paying will your customers typically receive their goods or services?",inputHandler:this.inputHandler,errorText:null===(f=null===(b=this.errors)||void 0===b?void 0:b.additional_questions)||void 0===f?void 0:f.business_when_service_received,options:i,defaultValue:null==j?void 0:j.business_when_service_received})),a("div",{key:"368372379f4e361c1a85e56b4f5f9f46f490024e",class:"col-12"},a("form-control-select",{key:"20c055aaecbc1c98861f675416bd17631f4427af",name:"business_recurring_payments",label:"Does your business offer recurring payments?",inputHandler:this.inputHandler,errorText:null===(h=null===(u=this.errors)||void 0===u?void 0:u.additional_questions)||void 0===h?void 0:h.business_recurring_payments,options:s,defaultValue:null==j?void 0:j.business_recurring_payments})),a("div",{key:"bd9761c491278329673db6fc552aa81d410d3d4e",class:"col-12"},a("form-control-text",{key:"7824d74e9855743c0fa3192aa67d091676ac8032",name:"business_recurring_payments_percentage",label:"What percent of revenue is generated from each recurring payment type offered?",inputHandler:this.inputHandler,errorText:null===(v=null===(m=this.errors)||void 0===m?void 0:m.additional_questions)||void 0===v?void 0:v.business_recurring_payments_percentage,defaultValue:null==j?void 0:j.business_recurring_payments_percentage})),a("div",{key:"5eaf43f760d3ca83fe6ce92934827eda00bce848",class:"col-12"},a("form-control-select",{key:"bf239e5e8ea008e0617f4930836e2cc54b7d0bfb",name:"business_seasonal",label:"Is this business seasonal?",inputHandler:this.inputHandler,errorText:null===(p=null===(y=this.errors)||void 0===y?void 0:y.additional_questions)||void 0===p?void 0:p.business_seasonal,options:o,defaultValue:null==j?void 0:j.business_seasonal})),a("div",{key:"67bf5e9add4e24d12feb6398fd55bd8d29d293ff",class:"col-12"},a("form-control-text",{key:"c7956d361e51bb80a96e42f208af4b3499a54c66",name:"business_other_payment_details",label:"Is there anything else you would like us to know about how your customers pay the business?",inputHandler:this.inputHandler,errorText:null===(x=null===(k=this.errors)||void 0===k?void 0:k.additional_questions)||void 0===x?void 0:x.business_other_payment_details,defaultValue:null==j?void 0:j.business_other_payment_details})))))}},k=class{constructor(a){e(this,a),this.formController=void 0,this.errors={},this.coreInfo={},this.inputHandler=this.inputHandler.bind(this)}componentDidLoad(){this.formController.values.subscribe((e=>this.coreInfo=Object.assign({},new u(e)))),this.formController.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}inputHandler(e,a){this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[e]:a}))}render(){const e=this.formController.getInitialValues();return a(t,{key:"e4137edfffdb68e6dd792a9b38b13752734f5fd2"},a("fieldset",{key:"7652930c2d961361969a454b6632ece8d34e9a7b"},a("legend",{key:"cb6e3a3eb561d862ea57d74bfd8a59fc8f2bb017",part:l},"General Info"),a("div",{key:"7becc4c5b16f7a77ff425b40e961fb478e50b3b4",class:"row gy-3"},a("div",{key:"1c4d8eba65f262bf35e405e38818c2bb489c4c1a",class:"col-12"},a("form-control-text",{key:"f71636cf4bb91ee161e6e056cafc275950642e20",name:"legal_name",label:"Legal Name",defaultValue:e.legal_name,errorText:this.errors.legal_name,inputHandler:this.inputHandler})),a("div",{key:"1865bb01a25c5f6148331a15804e31f48af4c6e8",class:"col-12"},a("form-control-text",{key:"9d8a77ea431d826c864fe833fdb7866aa3fc6283",name:"doing_business_as",label:"Doing Business As (DBA)",defaultValue:e.doing_business_as,errorText:this.errors.doing_business_as,inputHandler:this.inputHandler})),a("div",{key:"a271782b9750547ff609653307db7f3bfaccf25b",class:"col-12 col-md-8"},a("form-control-select",{key:"52144fe64984bfbddc7d4488e48cc44decf44943",name:"classification",label:"Business Classification",options:c,defaultValue:e.classification,errorText:this.errors.classification,inputHandler:this.inputHandler})),a("div",{key:"88c72bf4401345def76beff2f555f8dcd04724a5",class:"col-12 col-md-4"},a("form-control-date",{key:"6c8b11e80c6959f257ed9a1022d6f0bc9437cf79",name:"date_of_incorporation",label:"Date of Incorporation",defaultValue:e.date_of_incorporation,errorText:this.errors.date_of_incorporation,inputHandler:this.inputHandler})),a("div",{key:"f5ddb61e0b705a4c16a0ae2b4610a6407cc4d919",class:"col-12 col-md-6"},a("form-control-text",{key:"8e816266819351742ec3a00683a211d3b9ed5969",name:"industry",label:"Industry",defaultValue:e.industry,errorText:this.errors.industry,inputHandler:this.inputHandler})),a("div",{key:"0e23adafca4f1dbde3a40d5f28a84278a00ef5df",class:"col-12 col-md-6"},a("form-control-number-masked",{key:"143ad2c24b1643532186d0bbb4a0f4ada84cc880",name:"tax_id",label:"Tax ID",defaultValue:e.tax_id,errorText:this.errors.tax_id,inputHandler:this.inputHandler,mask:n.US})),a("div",{key:"3549c796c3c9653e2006f7441a3aedff5c559660",class:"col-12"},a("form-control-text",{key:"ae1794226a4aeffdc0ec0ae1a1959a7e1f599024",name:"website_url",label:"Website URL",defaultValue:e.website_url,errorText:this.errors.website_url,inputHandler:this.inputHandler})),a("div",{key:"a10bae7797bdc5c0bad910281dba1006dcf336b7",class:"col-12 col-md-6"},a("form-control-text",{key:"f6c80857ae53d6949d9276d4df3d04e459300c5f",name:"email",label:"Email Address",defaultValue:e.email,errorText:this.errors.email,inputHandler:this.inputHandler})),a("div",{key:"d680203bd386b10a8385bf50d2b7a8e5a5564e29",class:"col-12 col-md-6"},a("form-control-number-masked",{key:"ca47e1b1d774b1fd61242ddd8d8adbeb21576970",name:"phone",label:"Phone Number",defaultValue:e.phone,errorText:this.errors.phone,inputHandler:this.inputHandler,mask:b.US})))))}},x=class{constructor(a){e(this,a),this.inputHandler=(e,a)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{representative:Object.assign(Object.assign({},this.formController.values.getValue().representative),{[e]:a})}))},this.onAddressFormUpdate=e=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{representative:Object.assign(Object.assign({},this.formController.values.getValue().representative),{address:Object.assign(Object.assign({},this.formController.values.getValue().representative.address),e)})}))},this.onDateOfBirthUpdate=e=>{const a=h(e.detail);this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{representative:Object.assign(Object.assign({},this.formController.values.getValue().representative),{dob_day:a.dob_day,dob_month:a.dob_month,dob_year:a.dob_year})}))},this.formController=void 0,this.errors={},this.representative={}}get identificationNumberLabel(){return this.representative.ssn_last4?"Update SSN (optional)":"SSN"}componentDidLoad(){this.formController.errors.subscribe((e=>this.errors=Object.assign({},e.representative))),this.formController.values.subscribe((e=>this.representative=Object.assign({},e.representative)))}render(){const e=this.formController.getInitialValues().representative;return a(t,{key:"6953e0a161c91c96bbd1175f827c408532d9671d"},a("fieldset",{key:"6d964e41c2cbe52659cff1947f34a4bed0ac086b"},a("legend",{key:"f7cc0797ebbfabd6cf316507949f023eecb064eb",part:l},"Representative"),a("div",{key:"83c9b653887b11a242a64da2d6e56ee0a5928c09",class:"row gy-3"},a("div",{key:"641bf82762b34021bb4de999b7ac7bdfc7467992",class:"col-12 col-md-8"},a("form-control-text",{key:"5c467daf7356de89b9f83d1ad623b278a8728237",name:"name",label:"Full Name",defaultValue:null==e?void 0:e.name,errorText:this.errors.name,inputHandler:this.inputHandler})),a("div",{key:"3fe3718a17b31d15c538708bf04ac3709e4fc693",class:"col-12 col-md-4"},a("form-control-text",{key:"12d100d5169fc48738b948ae427a25f9e56a3a43",name:"title",label:"Title",defaultValue:null==e?void 0:e.title,errorText:this.errors.title,inputHandler:this.inputHandler})),a("div",{key:"96cc8dcd98a219da320060afecbe606484d5e366",class:"col-12 col-md-6"},a("form-control-text",{key:"77847b0d23fd7e12330965948c983e8d6d4dc9a7",name:"email",label:"Email Address",defaultValue:null==e?void 0:e.email,errorText:this.errors.email,inputHandler:this.inputHandler})),a("div",{key:"85c1991710d1eb0459d6ec38f11e3e04db190e41",class:"col-12 col-md-6"},a("form-control-number-masked",{key:"978cb087ff6dc7cb2b9de885eafb3ef129e9c98f",name:"phone",label:"Phone Number",defaultValue:null==e?void 0:e.phone,errorText:this.errors.phone,inputHandler:this.inputHandler,mask:b.US})),a("div",{key:"abf26703f0a54067e37b1431730c88b3bec66ea0",class:"col-12 col-md-4"},a("form-control-date",{key:"1dce5eca05db74ac62070152c169acf527cecde0",name:"dob_full",label:"Birth Date",defaultValue:null==e?void 0:e.dob_full,errorText:this.errors.dob_full,inputHandler:this.inputHandler,onFormControlInput:this.onDateOfBirthUpdate})),a("div",{key:"b95022325c2954a38fd28d0e601b948c1dea1af9",class:"col-12 col-md-8"},a("form-control-number-masked",{key:"c3e85a5a69b44bb009756ea431433e6997dbf33e",name:"identification_number",label:this.identificationNumberLabel,defaultValue:null==e?void 0:e.identification_number,errorText:this.errors.identification_number,inputHandler:this.inputHandler,mask:f})),a("div",{key:"f4e5fd0ee95bd83fc0916ebf70045e78e6ea0500",class:"col-12"},a("justifi-identity-address-form",{key:"3559f515326eea50c760522f4a22a0231214ffc8",errors:this.errors.address,defaultValues:null==e?void 0:e.address,handleFormUpdate:this.onAddressFormUpdate})))))}},j=class{constructor(a){e(this,a),this.formController=void 0,this.errors={},this.legal_address=void 0,this.inputHandler=this.inputHandler.bind(this)}componentDidLoad(){this.formController.errors.subscribe((e=>this.errors=Object.assign({},e))),this.formController.values.subscribe((e=>this.legal_address=Object.assign({},e.legal_address)))}inputHandler(e,a){this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{legal_address:Object.assign(Object.assign({},this.formController.values.getValue().legal_address),{[e]:a})}))}render(){var e,d,i,s,o,c,r,n,b,f,u,h;const y=this.formController.getInitialValues().legal_address;return a(t,{key:"cdc38fd9219f476ab7e96dc822e011e576ffd4a4"},a("fieldset",{key:"2ede5cb6b37f1e3777ca0cc67301df09c3fba094"},a("legend",{key:"172c62472d8604980ad3852706753fa57ca7de61",part:l},"Business Legal Address"),a("div",{key:"e06b8a7685b684d0b13dca7d353a25657a193d7f",class:"row gy-3"},a("div",{key:"666b922155f4867095c42bc8e5d532666bfa5dae",class:"col-12"},a("form-control-text",{key:"3438b500fa38f5a8598087e9f1443c81727a25f7",name:"line1",label:"Legal Address",inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.line1,errorText:null===(d=null===(e=this.errors)||void 0===e?void 0:e.legal_address)||void 0===d?void 0:d.line1})),a("div",{key:"161beeeed0ee761e3a46eedf8be84fa41d3baa97",class:"col-12"},a("form-control-text",{key:"50529cbf0bace2992f1a26904711b44900e7f9ae",name:"line2",label:"Address Line 2",inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.line2,errorText:null===(s=null===(i=this.errors)||void 0===i?void 0:i.legal_address)||void 0===s?void 0:s.line2})),a("div",{key:"9197e0c08d20fb1b4833bd5e3753bc9a98be38d3",class:"col-12"},a("form-control-text",{key:"a4f76e3e053a970971c65315679a26046e4bf93d",name:"city",label:"City",inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.city,errorText:null===(c=null===(o=this.errors)||void 0===o?void 0:o.legal_address)||void 0===c?void 0:c.city})),a("div",{key:"fc0751e18457603a59d6f159a8355b05f3199098",class:"col-12"},a("form-control-select",{key:"3b9c78bdc3997badec0d0752fd8a0dcfa278ebbe",name:"state",label:"State",options:m,inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.state,errorText:null===(n=null===(r=this.errors)||void 0===r?void 0:r.legal_address)||void 0===n?void 0:n.state})),a("div",{key:"088917f3ec58d3e0b91a80fc545be78cb7a0d5f2",class:"col-12"},a("form-control-text",{key:"abb1e41d287a7ea0165f68811ee60a7985d3bcc7",name:"postal_code",label:"Postal Code",inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.postal_code,errorText:null===(f=null===(b=this.errors)||void 0===b?void 0:b.legal_address)||void 0===f?void 0:f.postal_code,maxLength:5,keyDownHandler:v})),a("div",{key:"2f042e9969d48a35618124975def5b2fd06a9b98",class:"col-12"},a("form-control-select",{key:"67bf02cb2b3e786b2a5a4f5817a4ffd5ff2fee96",name:"country",label:"Country",options:[{label:"United States",value:"USA"}],inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.country,errorText:null===(h=null===(u=this.errors)||void 0===u?void 0:u.legal_address)||void 0===h?void 0:h.country,disabled:!0})))))}};export{y as form_alert,p as justifi_additional_questions,k as justifi_business_core_info,x as justifi_business_representative,j as justifi_legal_address_form}
|
|
@@ -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,D as o,a as l,c as r,l as c}from"./p-ef4c49b9.js";import{F as n}from"./p-4d916b2d.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:"e4b85378d57333a4408c941f49fde3a074128173"},a("div",{key:"c93d07e39bfbf1bfbc4ae424861a3b0a582a8d32",class:"form-group d-flex flex-column"},a("div",{key:"0ea90b20800bf4c24e61e28e25575a77db7d42ef",class:"d-flex align-items-start gap-2"},a("label",{key:"96ba0eb2bd01f4d9a5ab249ae718e4b699cc1497",part:c,class:"form-label",htmlFor:this.name},this.label),a("form-control-tooltip",{key:"ea12ab4a5b24d7baf2480f0a3a9e9ea2b792e144",helpText:this.helpText})),a("input",{key:"46e7d3817e1556ab91101085c41af284cdc14e24",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:"46fe5efdc607c8ffacbc9e7a061e6af9eb06d0a9",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:"f656800204764998e856bc6e424d5b925556f74c"},a("div",{key:"414d5507b883730806e43e7ee6b019eb1790b881",class:"row gy-3"},a("div",{key:"20581fd2b6e19efeb59fb34d196da8d831961da7",class:"col-12 col-md-8"},a("form-control-text",{key:"8cbdb2cd9e68a68344c58ca024dbdc45b04dd2b4",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:"e1725384142b69f39412cbdb01d9d036b1e13dc3",class:"col-12 col-md-4"},a("form-control-text",{key:"c90910fff750cae3133e84f01af76260d13c6848",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:"e5afde1beebbf0b23558b028ee06baebf15704ce",class:"col-12"},a("form-control-text",{key:"972d1fb59ee22fa414c46e9d913de9f9fafa3e75",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:"75fa447f21b17cc42853fd0c6cf01e94c04a6fa5",class:"col-12 col-md-6"},a("form-control-select",{key:"5c0acedaea09564d0936c8d4facd45162658a204",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:"6f2a269d614a16786cdc2675bf004afe2500a4b2",class:"col-12 col-md-6"},a("form-control-text",{key:"713c45106b050b6d92e2335b0a574c6f2538050a",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:"de7ad3baaaed9d197cbf8c68e77c92e45ebeb384",class:"col-12"},a("form-control-select",{key:"a3283696fc83f3f891888588a313c70af989b04d",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
|
+
var e,t;!function(e){e.nextStep="nextStep",e.previousStep="previousStep",e.cancelDispute="cancelDispute",e.respondToDispute="respondToDispute",e.submit="submit"}(e||(e={})),function(e){e.disputeReason="dispute_reason",e.productOrService="product_or_service",e.customerDetails="customer_details",e.cancellationPolicy="cancellation_policy",e.refundPolicy="refund_policy",e.duplicateCharge="duplicate_charge",e.electronicEvidence="electronic_evidence",e.shippingDetails="shipping_details",e.additionalStatement="additional_statement"}(t||(t={}));export{e as D}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as a}from"./p-2783e363.js";import{u as t,a as d,b as s}from"./p-7d85af5c.js";import{P as o,S as i}from"./p-525db3e8.js";import{h as l}from"./p-ef4c49b9.js";import"./p-1ff8810b.js";import"./p-6078a370.js";const r=class{constructor(a){e(this,a),this.inputHandler=(e,a)=>{t(this.formController,{[e]:a})},this.onAddressFormUpdate=e=>{d(this.formController,Object.assign(Object.assign({},this.formController.values.getValue().address),e))},this.representativeDefaultValue=void 0,this.errors=void 0,this.formController=void 0}render(){var e,t,d,r,c,f,n;return a("form",{key:"0995ea70a1732744cf159fc59a0e4aa8d9f37c1c"},a("fieldset",{key:"0186de6a306858075d58a32af6a36d07c0b7ae39"},a("div",{key:"70c643b23570551f0c82df144cdba8020a89c9ef",class:"d-flex align-items-center gap-2"},a("legend",{key:"fec6925b259580935a526a79428f9b0a7f1f4d65",class:"mb-0",part:l},"Representative"),a("form-control-tooltip",{key:"45e3af519e4ad082fcef1ab14b1c66decfd1b2ba",helpText:"The representative for your business needs to be someone who has significant control over managing your business’s finance. You will have an opportunity to add owners later in the form."})),a("hr",{key:"b55f8129932bfbdba4d010c60931b188a7d88c57",class:"mt-2"}),a("div",{key:"2b8b87ebd71763798127aece44a91c8143612458",class:"row gy-3"},a("div",{key:"27310ee20317a0fa977bc623bd6fa16fb1e9387a",class:"col-12 col-md-8"},a("form-control-text",{key:"ae638a4e2c13e5e1319eb316290ce3116244174c",name:"name",label:"Full Name",defaultValue:null===(e=this.representativeDefaultValue)||void 0===e?void 0:e.name,errorText:this.errors.name,inputHandler:this.inputHandler})),a("div",{key:"864731a0668a86ce3fa85911b0c97e5db8878d08",class:"col-12 col-md-4"},a("form-control-text",{key:"8f07886343469e5a054f49dfd01de4f9913f42f4",name:"title",label:"Title",defaultValue:null===(t=this.representativeDefaultValue)||void 0===t?void 0:t.title,errorText:this.errors.title,inputHandler:this.inputHandler,helpText:"Role at your business, e.g. President, CEO, Treasurer."})),a("div",{key:"0efff4560cd543839a364b0b769f1b1f71163b66",class:"col-12 col-md-6"},a("form-control-text",{key:"11f738a73989ce789770b36ce1d437d53aa53e07",name:"email",label:"Email Address",defaultValue:null===(d=this.representativeDefaultValue)||void 0===d?void 0:d.email,errorText:this.errors.email,inputHandler:this.inputHandler})),a("div",{key:"aedf826b2e02f5bdd403451ed47051e1077fe65e",class:"col-12 col-md-6"},a("form-control-number-masked",{key:"ea237c5c3772e8bfeea31995ab0eac23014bd0fd",name:"phone",label:"Phone Number",defaultValue:null===(r=this.representativeDefaultValue)||void 0===r?void 0:r.phone,errorText:this.errors.phone,inputHandler:this.inputHandler,mask:o.US})),a("div",{key:"286a392a94ed5e9a9fe175116d835952cd565947",class:"col-12 col-md-4"},a("form-control-date",{key:"f0c5dde29769188f7d5ccc06360f69918a8bae5e",name:"dob_full",label:"Birth Date",defaultValue:null===(c=this.representativeDefaultValue)||void 0===c?void 0:c.dob_full,errorText:this.errors.dob_full,inputHandler:this.inputHandler,onFormControlInput:e=>s(e,this.formController),helpText:"Must be 18 or older."})),a("div",{key:"1326dd00d94fe8feec7ca411689370a747709eec",class:"col-12 col-md-8"},a("form-control-number-masked",{key:"5b084d36a3be5b58534169076f34282a3d8565ac",name:"identification_number",label:"SSN",defaultValue:null===(f=this.representativeDefaultValue)||void 0===f?void 0:f.identification_number,errorText:this.errors.identification_number,inputHandler:this.inputHandler,mask:i,helpText:"Enter your full Social Security Number. It is required for Federal OFAC check."})),a("div",{key:"c0ca035fd4ff10f9529be1ff6c28f8c4479c95b1",class:"col-12"},a("justifi-identity-address-form",{key:"1f9e30e790dc3facd5590492a99490e06d74c17a",errors:this.errors.address,defaultValues:null===(n=this.representativeDefaultValue)||void 0===n?void 0:n.address,handleFormUpdate:this.onAddressFormUpdate})))))}};export{r as justifi_business_representative_form_inputs}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{A as t}from"./p-0e180654.js";import"./p-16d2932d.js";import"./p-56f6ce4c.js";import"./p-6fbd6abb.js";import"./p-3db8b3c7.js";import{c as a}from"./p-0f23ff58.js";import{C as o}from"./p-14c91ffd.js";import{g as r,a as s}from"./p-8115b2f4.js";class p{async fetchPayouts(o,r,s,p){return p||(p=a.proxyApiOrigin),t({authToken:r,apiOrigin:p}).get(`account/${o}/payouts`,s)}async fetchPayout(o,r,s){return s||(s=a.proxyApiOrigin),t({authToken:r,apiOrigin:s}).get(`payouts/${o}`)}async fetchCSV(o,r,s){return s||(s=a.proxyApiOrigin),t({authToken:r,apiOrigin:s}).get(`reports/payouts/${o}`)}}const c=({authToken:t,service:a})=>async({payoutId:p,onError:c})=>{try{const{data:o}=await a.fetchCSV(p,t),r=document.createElement("a");r.href=o.csv_url,r.click()}catch(t){c({error:r(t),code:s(null==t?void 0:t.code),severity:o.ERROR})}};export{p as P,c as m}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as e,h as s}from"./p-2783e363.js";import"./p-16d2932d.js";import{p as a}from"./p-56f6ce4c.js";import"./p-6fbd6abb.js";import"./p-3db8b3c7.js";import{n as i,o as r}from"./p-ef4c49b9.js";import{T as c,a as h,b as o,c as d,d as p}from"./p-8c7a81c1.js";import{p as n,a as b}from"./p-34c14f59.js";import{o as f,q as m}from"./p-fc3daedd.js";import"./p-abdbcd8e.js";import"./p-90dc2f2c.js";import"./p-bb71cef3.js";import"./p-f4722957.js";import"./p-f20b6ce1.js";const l=class{constructor(s){t(this,s),this.clickEvent=e(this,"click-event",7),this.errorEvent=e(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 e=t.target.closest("tr").dataset.rowEntityId;if(!e)return;const s=this.payments.find((t=>t.id===e));this.clickEvent.emit({name:c.row,data:s})},this.getPayments=void 0,this.columns=void 0,this.payments=[],this.paymentsTable=void 0,this.loading=!0,this.errorMessage=void 0,this.paging=a,this.pagingParams={}}updateOnPropChange(){this.fetchData()}componentWillLoad(){this.paymentsTable=new h(this.payments,this.columns,n,b),this.getPayments&&this.fetchData(),f("set",(()=>{this.pagingParams={}})),f("reset",(()=>{this.pagingParams={},this.errorMessage=""}))}fetchData(){this.loading=!0,this.getPayments({params:this.requestParams,onSuccess:({payments:t,pagingInfo:e})=>{this.payments=t,this.paging=e,this.paymentsTable.collectionData=this.payments,this.loading=!1},onError:({error:t,code:e,severity:s})=>{this.errorMessage=t,this.errorEvent.emit({errorCode:e,message:t,severity:s}),this.loading=!1}})}get entityId(){return this.payments.map((t=>t.id))}get showEmptyState(){return!this.loading&&!this.errorMessage&&this.paymentsTable.rowData.length<1}get showErrorState(){return!this.loading&&!!this.errorMessage}get showRowData(){return!this.showEmptyState&&!this.showErrorState&&!this.loading}get requestParams(){return Object.assign(Object.assign({},m),this.pagingParams)}render(){return s("div",{key:"6d3aeab1a53d5a9f73ed770de5d936e290189a9e"},s("div",{key:"f9750011da7c0bf0e4bc5eb91fc5c54489798890",class:"table-wrapper"},s("table",{key:"7361cc478802a1de5513bf92ea9ec7f105168d55",class:"table table-hover",part:i},s("thead",{key:"239402e85ae6537f4fc605b06f9f747233aef37a",class:"table-head sticky-top"},s("tr",{key:"f3330dae27878b313848a057d1094e094bdd66f4",class:"table-light text-nowrap"},this.paymentsTable.columnData.map((t=>t)))),s("tbody",{key:"1441e8920b68c7cf759188694b1cbc65a2c37795",class:"table-body"},s(o,{key:"55bf8e8b8c6c859ce363ce30fb6db75f328ebca1",columnSpan:this.paymentsTable.columnData.length,isLoading:this.loading}),s(d,{key:"20d7f82636bc4b1a54a56ca89f2444261e26c0d6",isEmpty:this.showEmptyState,columnSpan:this.paymentsTable.columnData.length}),s(p,{key:"10c160fafc746dece6e3837aa43021e48d7f49b9",columnSpan:this.paymentsTable.columnData.length,errorMessage:this.errorMessage}),this.showRowData&&this.paymentsTable.rowData.map(((t,e)=>s("tr",{"data-test-id":"table-row","data-row-entity-id":this.entityId[e],onClick:this.rowClickHandler},t)))),this.paging&&s("tfoot",{key:"058476cc6c3369cf4700203c28f3d2c9c002656b",class:"sticky-bottom"},s("tr",{key:"87c051940f9e49e64d661d12f5387ef5263091b4",class:"table-light align-middle"},s("td",{key:"06fe26d1f9d57c6598fe71ebb9b48780a35fba5a",part:r,colSpan:this.paymentsTable.columnData.length},s("pagination-menu",{key:"d23dedce32252f08d0a24eb4a474e9ee62ebd0e1",paging:Object.assign(Object.assign({},this.paging),{handleClickPrevious:this.handleClickPrevious,handleClickNext:this.handleClickNext})})))))))}static get watchers(){return{queryParams:["updateOnPropChange"],pagingParams:["updateOnPropChange"],getPayments:["updateOnPropChange"],columns:["updateOnPropChange"]}}};export{l as payments_list_core}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,c as s,h as t}from"./p-2783e363.js";import{B as i}from"./p-32a5bf4e.js";import{S as a}from"./p-bfe9748b.js";import{C as o}from"./p-14c91ffd.js";import{c as d,J as c}from"./p-5456a794.js";import"./p-ef4c49b9.js";import"./p-a07b1816.js";import"./p-0f23ff58.js";import"./p-0e180654.js";const h=class{constructor(t){e(this,t),this.errorEvent=s(this,"error-event",7),this.submitEvent=s(this,"submit-event",7),this.authToken=void 0,this.accountId=void 0,this.paymentMethodGroupId=void 0,this.isLoading=!0,this.submitButtonText=void 0,this.disableCreditCard=void 0,this.disableBankAccount=void 0}componentWillLoad(){d(),this.analytics=new c(this),this.isLoading=!1}async tokenizePaymentMethod(e){e&&e.preventDefault();const s=await this.paymentMethodOptionsRef.resolvePaymentMethod({isValid:!0});s.error?this.errorEvent.emit({errorCode:s.error.code,message:s.error.message,severity:o.ERROR}):s.token&&this.submitEvent.emit({response:s})}async fillBillingForm(e){this.paymentMethodOptionsRef.fillBillingForm(e)}render(){return t(a,{key:"1f0ab23a66f201b93ad60c42a0cd59a9960a5034"},t("form",{key:"b4b6e0b75e99505d53bdeae210a15c11e764a1e0"},t("fieldset",{key:"8094449e89e44f99e4bf3e3517517d5ef5136974"},t("div",{key:"aaf859db2a1d7377b3ab37fd9bfa57ed3246ebd9",class:"row gy-3"},t("div",{key:"3c5b24886edc5d991c5ba760e60741e01818c310",class:"col-12"},t("justifi-payment-method-options",{key:"39ad866846a9c8ae32f9d34c1cecf812ed6d7c45",ref:e=>this.paymentMethodOptionsRef=e,"show-card":!this.disableCreditCard,"show-ach":!this.disableBankAccount,"show-bnpl":!1,paymentMethodGroupId:this.paymentMethodGroupId,"show-saved-payment-methods":!1,authToken:this.authToken,"account-id":this.accountId})),t("div",{key:"1ed6ae634f618a9fafc11961c4db5aea60f368ec",class:"col-12"},t(i,{key:"eed74cc9b5a475b925986b087cd34cc2e912aae6",variant:"primary",type:"submit",onClick:e=>this.tokenizePaymentMethod(e),isLoading:this.isLoading,"data-testid":"submit-button"},this.submitButtonText||"Submit"))))))}};export{h as justifi_tokenize_payment_method}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{D as t}from"./p-abdbcd8e.js";var s,i,h,e;!function(t){t.automatic="automatic",t.manual="manual"}(s||(s={})),function(t){t.card="card",t.bankAccount="bankAccount",t.sezzle="sezzle",t.saved="saved"}(i||(i={})),function(t){t.card="Card",t.bankAccount="ACH",t.unknown="Unknown"}(h||(h={})),function(t){t.pending="pending",t.automatic="automatic",t.authorized="authorized",t.succeeded="succeeded",t.failed="failed",t.canceled="canceled",t.disputed="disputed",t.fully_refunded="fully_refunded",t.partially_refunded="partially_refunded"}(e||(e={}));class n{constructor(t){this.card=t.card?new a(t.card):void 0,this.bank_account=t.bank_account?new r(t.bank_account):void 0}get payersName(){return this.card?this.card.name:this.bank_account?this.bank_account.name:null}get lastFourDigits(){return this.card?`**** ${this.card.acct_last_four}`:this.bank_account?`**** ${this.bank_account.acct_last_four}`:null}}class r{constructor(t){this.id=t.id,this.acct_last_four=t.acct_last_four,this.name=t.name,this.brand=t.brand,this.token=t.token,this.created_at=t.created_at,this.updated_at=t.updated_at}}class a{constructor(t){this.id=t.id||"",this.acct_last_four=t.acct_last_four,this.name=t.name,this.brand=t.brand,this.token=t.token,this.created_at=t.created_at,this.updated_at=t.updated_at}}class u{constructor(t){this.id=t.id,this.account_id=t.account_id,this.amount=t.amount,this.amount_disputed=t.amount_disputed,this.amount_refundable=t.amount_refundable,this.amount_refunded=t.amount_refunded,this.balance=t.balance,this.captured=t.captured,this.capture_strategy=t.capture_strategy,this.currency=t.currency,this.description=t.description,this.disputed=t.disputed,this.disputes=t.disputes,this.error_code=t.error_code,this.error_description=t.error_description,this.fee_amount=t.fee_amount,this.is_test=t.is_test,this.metadata=t.metadata,this.payment_method=new n(t.payment_method),this.payment_intent_id=t.payment_intent_id,this.refunded=t.refunded,this.status=t.status,this.created_at=t.created_at,this.updated_at=t.updated_at}get disputedStatus(){const s=this.disputes.some((s=>s.status===t.lost));return this.disputed?s?t.lost:"open":null}get payment_type(){return this.payment_method?this.payment_method.card?h.card:h.bankAccount:h.unknown}get payers_name(){return this.payment_method.payersName}get last_four_digits(){return this.payment_method.lastFourDigits}}export{u as P,i as a}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as e}from"./p-2783e363.js";import{f as t,a,b as c}from"./p-f4722957.js";import{k as s,m as o}from"./p-ef4c49b9.js";const p=e=>{switch(e){case"created":return"<span class='badge bg-primary' title='The checkout has been created'>Created</span>";case"completed":return"<span class='badge bg-success' title='The checkout has been completed'>Completed</span>";case"attempted":return"<span class='badge bg-secondary' title='The checkout has been attempted'>Attempted</span>";case"expired":return"<span class='badge bg-danger' title='The checkout has expired'>Expired</span>"}},r="created_at,payment_amount,payment_description,payment_mode,status",n={created_at:()=>e("th",{part:s,scope:"col",title:"The date each checkout occurred"},"Processed On"),payment_amount:()=>e("th",{part:s,scope:"col",title:"The dollar amount of each checkout"},"Payment Amount"),payment_description:()=>e("th",{part:s,scope:"col",title:"The description of each checkout"},"Payment Description"),sub_account_name:()=>e("th",{part:s,scope:"col",title:"The sub account associated with the checkout"},"Sub Account"),payment_mode:()=>e("th",{part:s,scope:"col",title:"The payment mode of each checkout"},"Payment Mode"),status:()=>e("th",{part:s,scope:"col",title:"The current status of each checkout"},"Status")},d={created_at:(c,s)=>e("td",{part:o(s)},e("div",{class:"fw-bold"},a(c)," "),e("div",{class:"fw-bold"},t(c)," ")),payment_amount:(t,a)=>e("td",{part:o(a)},c(t,!0,!0)," "),payment_description:(t,a)=>e("td",{part:o(a)},t),sub_account_name:(t,a)=>e("td",{part:o(a)},t),payment_mode:(t,a)=>e("td",{part:o(a)},t),status:(t,a)=>e("td",{part:o(a),innerHTML:p(t)})};export{d as a,n as c,r as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as s,h as i,H as e,g as a}from"./p-2783e363.js";import{l as o,c as h,b as r,D as d,a as l}from"./p-ef4c49b9.js";import{F as f}from"./p-4d916b2d.js";const c=class{constructor(i){t(this,i),this.formControlInput=s(this,"formControlInput",7),this.formControlBlur=s(this,"formControlBlur",7),this.fileSelected=s(this,"fileSelected",7),this.handleFormControlInput=t=>{const s=t.target,i=s.getAttribute("name");this.inputHandler(i,s.value),this.formControlInput.emit({name:i,value:s.value})},this.changeHandler=()=>{const t=this.fileInput.files;t&&this.fileSelected.emit({fileList:t,document_type:this.documentType})},this.files=void 0,this.fileString=void 0,this.isFocused=!1,this.label=void 0,this.name=void 0,this.helpText=void 0,this.errorText=void 0,this.multiple=void 0,this.documentType=void 0,this.inputHandler=void 0,this.disabled=void 0}componentDidLoad(){this.fileInput=this.el.querySelector("input")}get part(){let t=h;return this.errorText&&(t=r),this.disabled&&(t=d),this.isFocused&&(t=l),t}render(){return i(e,{key:"fe114fda9b6ad4863b1c770721a0740571b7fc97"},i("div",{key:"75a98a14cb2a1d6b75d6652122a38955a75824d5",class:"form-group d-flex flex-column"},i("div",{key:"888de79af6f8a11cc60b4caf106ae06ad8279493",class:"d-flex align-items-start gap-2"},i("label",{key:"9db2a6b00f02b89cab1784749e2d0043a71ece6c",part:o,class:"form-label",htmlFor:this.name},this.label),i("form-control-tooltip",{key:"6a2e7377ee731403185d47a45d6e6e5c7287f05f",helpText:this.helpText})),i("input",{key:"4528e49dfa270f8fd72ad58669767558f63389a4",ref:t=>this.fileInput=t,type:"file",name:this.name,part:this.part,class:this.errorText?"form-control is-invalid":"form-control",multiple:this.multiple,disabled:this.disabled,onChange:this.changeHandler,onInput:this.handleFormControlInput,onFocus:()=>this.isFocused=!0,onBlur:()=>{this.isFocused=!1,this.formControlBlur.emit()}}),i(f,{key:"fa1ac29957babba015d0a18eb07d5dba8d550fc8",errorText:this.errorText,name:this.name})))}get el(){return a(this)}};export{c as form_control_file}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,c as a,h as t}from"./p-2783e363.js";import{b as d,a as s,f as c,s as i}from"./p-f4722957.js";import{a as b,b as f,D as l,c as r,C as h,E as o}from"./p-9c2e00cc.js";import{w as y}from"./p-ef4c49b9.js";import{S as n}from"./p-bfe9748b.js";import{S as k}from"./p-90dc2f2c.js";import{M as u}from"./p-bb71cef3.js";const v=class{constructor(t){e(this,t),this.errorEvent=a(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(){var e;return t(n,{key:"7550877e5bc7bf30d0964d496b07c39f57ea23c7"},this.loading&&t(k,{key:"320d191ef2cbd736158382f693bd4e1b2676a850"}),!this.loading&&this.errorMessage&&o(this.errorMessage),!this.loading&&!this.errorMessage&&this.payment&&t("justifi-details",{key:"cc147622d2821fb3070d3acb17dabbe0d6acb44e","error-message":this.errorMessage},t(b,{key:"102fbe95740cfcbeed7d79c500841e4e69644c1b",slot:"head-info",badge:t("span",{slot:"badge",part:y,innerHTML:u(this.payment.status)}),title:`${d(this.payment.amount)} ${null===(e=this.payment)||void 0===e?void 0:e.currency.toUpperCase()}`},t(f,{key:"1f6b55ebbc0abb37ced9cda26b193a779f7ba4a9",classes:"border-1 border-end",title:"Updated At",value:`${s(this.payment.updated_at)} ${c(this.payment.updated_at)}`}),t(f,{key:"cb64b263862128ef00b4923cdfd986ee63d40670",classes:"border-1 border-end",title:"Created At",value:`${s(this.payment.created_at)} ${c(this.payment.created_at)}`}),t(f,{key:"4a245ba3ad052ef015d7c5c2abb8d05051e0784a",title:"ID",value:this.payment.id})),t("div",{key:"9721335ed8558618cae9685f83c68e2eff8dfb8b",slot:"detail-sections"},t(l,{key:"8c460e5675898d68ceb335a56da05b459b81b112",sectionTitle:"Details"}),t("div",{key:"1094ca8b231926460913bbabd9c9816e04d5bb1f",class:"d-table gap-2 w-100"},t(r,{key:"e9640bbcf361dbeead436eea32a69fa962e34663",title:"Amount",value:d(this.payment.amount)}),t(r,{key:"ffa1411af9d4d78dbeaedcf7c12ce7d7c1e6eb53",title:"Fees",value:d(this.payment.fee_amount)}),t(r,{key:"c5843ff4773b7a2be2afdd659226dd46096f585d",title:"Refunded",value:d(this.payment.amount_refunded)}),t(r,{key:"8ec788ae9ed769f6af4f32882d72d10877d1de30",title:"Net",value:d(this.payment.balance)}),t(r,{key:"ddd659af132d2628b8187d81ea72fc604e7ea7a8",title:"Status",value:u(this.payment.status)}),t(r,{key:"15cb99e66dfc876d65aa8d446564f873aef1ef8a",title:"Payment ID",value:this.payment.id}),t(r,{key:"499a906f13648cd49a3bf92ccadcc01f0fb430f6",title:"Processing Fees",value:d(this.payment.fee_amount)}),t(r,{key:"75ab13ff4c06f0f58dec6c0fcaad692d6d03b68b",title:"Statement Descriptor",value:this.payment.statement_descriptor}),t(r,{key:"aeb538897b387e4811d35dde9fb19a5813c1c049",title:"Description",value:this.payment.description})),this.payment.payment_method.card&&[t(l,{key:"4c8aa277b28bb1ffaf5fbada3a35f284ee2fabb2",sectionTitle:"Payment Method"}),t("div",{key:"ce52033a650a4f5db13e5c3cdf97191bcb3539b1",class:"d-table gap-2 w-100"},t(r,{key:"168e45e35fc2e11adbf6881b17ebfd36d0a54a71",title:"ID",value:this.payment.payment_method.card.id}),t(r,{key:"38af59143d2961cdc29b03e46af06b720dad3c8e",title:"Payment Type",value:"Card"}),t(r,{key:"07518b2789187d2ae0b3f5edc6510a4b44798154",title:"Last 4 Numbers",value:this.payment.payment_method.lastFourDigits}),t(r,{key:"724207946a3e0b1b1cfe00bf0e77bfcd2f8c5982",title:"Brand",value:i(this.payment.payment_method.card.brand)}),t(r,{key:"34deb890ddf58566794fcb451d4d422d31f3f8b7",title:"Cardholder",value:this.payment.payment_method.payersName}))],this.payment.payment_method.bank_account&&[t(l,{key:"fbc24139e24a3d72624db86e30d0ce7b602cafe1",sectionTitle:"Payment Method"}),t("div",{key:"cba8888ffd57b95d82ab307f5de83c61f16a75b8",class:"d-table gap-2 w-100"},t(r,{key:"5d7bbf52c0b06be00bdca98df4926dfa5c7ee25f",title:"ID",value:this.payment.payment_method.bank_account.id}),t(r,{key:"19f2450384c28970a69a13aa623a0360c7818f46",title:"Last 4 Numbers",value:this.payment.payment_method.lastFourDigits}),t(r,{key:"c81914830e67c477c2407112e74afaa127c406c2",title:"Bank Name",value:this.payment.payment_method.bank_account.brand}),t(r,{key:"5c8581983f368d84d6d9044d49ea2cab923b6615",title:"Account Owner",value:this.payment.payment_method.payersName}))],t(l,{key:"c8ed7c6c2480365d7fec6c388103aeb1c3622c44",sectionTitle:"Metadata"}),t("div",{key:"cca65ed21900b912ea4a22b2e852d0c46946efd1",class:"d-table gap-2 w-100"},t(h,{key:"c96c267005a5ee26064d7cd6c03768f83442dfc6",metadata:this.payment.metadata})))))}static get watchers(){return{getPaymentDetails:["updateOnPropChange"]}}};export{v as payment_details_core}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e,n;!function(e){e.nextStep="nextStep",e.previousStep="previousStep",e.submit="submit",e.removeOwner="removeOwner",e.addOwner="addOwner",e.addOwnerForm="addOwnerForm",e.updateOwner="updateOwner"}(e||(e={})),function(e){e.businessInfo="business_info",e.legalAddress="legal_address",e.additionalQuestions="additional_questions",e.representative="representative",e.owners="owners",e.bankAccount="bank_account",e.documentUpload="document_upload",e.termsAndConditions="terms_and_conditions"}(n||(n={}));export{e as B,n as a}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as s,h as i}from"./p-2783e363.js";import{C as e,a as o}from"./p-14c91ffd.js";import{c as a,J as r}from"./p-5456a794.js";import{c as n}from"./p-0f23ff58.js";import{m as p,P as h}from"./p-6ab77b89.js";import"./p-16d2932d.js";import"./p-56f6ce4c.js";import"./p-6fbd6abb.js";import{P as d}from"./p-3db8b3c7.js";import{g as c,a as b}from"./p-8115b2f4.js";import{m as l,S as m}from"./p-db8c12ee.js";import{S as u}from"./p-bfe9748b.js";import{d as f}from"./p-a3949f32.js";import"./p-a07b1816.js";import"./p-0e180654.js";import"./p-abdbcd8e.js";import"./p-f4722957.js";import"./p-206fde40.js";import"./p-ef4c49b9.js";const g=class{constructor(i){t(this,i),this.errorEvent=s(this,"error-event",7),this.handleOnError=t=>{this.errorMessage=t.detail.message,this.errorEvent.emit(t.detail)},this.getPayouts=void 0,this.getPayoutCSV=void 0,this.getSubAccounts=void 0,this.errorMessage=null,this.accountId=void 0,this.authToken=void 0,this.apiOrigin=n.proxyApiOrigin,this.columns=f}componentWillLoad(){a(),this.analytics=new r(this),this.initializeGetData()}disconnectedCallback(){this.analytics.cleanup()}propChanged(){this.initializeGetData()}initializeGetData(){this.initializePayoutsServices(),this.initializeGetSubAccounts()}initializePayoutsServices(){if(this.accountId&&this.authToken){const t={id:this.accountId,authToken:this.authToken,service:new h,apiOrigin:this.apiOrigin};this.getPayouts=(({id:t,authToken:s,service:i,apiOrigin:o})=>async({params:a,onSuccess:r,onError:n})=>{var p,h;try{const l=await i.fetchPayouts(t,s,a,o);if(l.error)return n({error:c(l.error),code:b(null===(h=l.error)||void 0===h?void 0:h.code),severity:e.ERROR});{const t=Object.assign({},l.page_info);r({payouts:(null===(p=l.data)||void 0===p?void 0:p.map((t=>new d(t))))||[],pagingInfo:t})}}catch(t){const s=b(null==t?void 0:t.code);return n({error:t.message||t,code:s,severity:e.ERROR})}})(t),this.getPayoutCSV=p(t)}else this.errorMessage="Account ID and Auth Token are required",this.errorEvent.emit({errorCode:o.MISSING_PROPS,message:this.errorMessage,severity:e.ERROR})}initializeGetSubAccounts(){this.accountId&&this.authToken&&(this.getSubAccounts=l({accountId:this.accountId,authToken:this.authToken,service:new m,apiOrigin:this.apiOrigin}))}render(){return i(u,{key:"78316ffab976d4674ed157de643d0e579a503050",exportedparts:"\ntable-head,table-head-row,table-head-cell,table-body,table-row,table-row-even,\ntable-row-odd,table-cell,loading-state-cell,loading-state-spinner,error-state,\nempty-state,pagination-bar,page-arrow,page-button,page-button-disabled,page-button-text\n"},i("payouts-list-core",{key:"6d258120f1ab81723505f76db75f4d4289e072b4",getPayouts:this.getPayouts,getPayoutCSV:this.getPayoutCSV,getSubAccounts:this.getSubAccounts,"onError-event":this.handleOnError,columns:this.columns}))}static get watchers(){return{accountId:["propChanged"],authToken:["propChanged"]}}};export{g as justifi_payouts_list}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as e}from"./p-
|
|
1
|
+
import{c as e}from"./p-5844a0f0.js";import{b as s,w as n,e as a,p as i,d as r,a as t,i as _,t as u,c as o,r as c,f as b,g as l,h as m,j as p,s as d,o as g}from"./p-af834eb8.js";const y=c=>{const b=e({legal_name:s.required("Enter legal name"),website_url:n.required("Enter business website url"),email:a.required("Enter business email"),phone:i.required("Enter phone number"),doing_business_as:r.nullable(),classification:t.required("Select business classification"),industry:_.required("Enter a business industry"),tax_id:u.required("Enter tax id, SSN, or EIN"),date_of_incorporation:o.required("Enter date of incorporation")}),l=e({legal_name:s.required("Enter legal name"),website_url:n.nullable(),email:a.nullable(),phone:i.nullable(),doing_business_as:r.nullable(),classification:t.nullable(),industry:_.nullable(),tax_id:u.nullable(),date_of_incorporation:o.nullable()});return c?l:b},v=s=>{const n=e({business_revenue:c.required("Enter business revenue"),business_payment_volume:b.required("Enter business payment volume"),business_when_service_received:l.required("Select when service is received"),business_recurring_payments:m.required("Select recurring payments"),business_recurring_payments_percentage:p,business_seasonal:d.required("Select business seasonal"),business_other_payment_details:g.nullable()}),a=e({business_revenue:c.nullable(),business_payment_volume:b.nullable(),business_when_service_received:l.nullable(),business_recurring_payments:m.nullable(),business_recurring_payments_percentage:p,business_seasonal:d.nullable(),business_other_payment_details:g.nullable()});return s?a:n};export{v as a,y as b}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as s}from"./p-2783e363.js";import{h as a}from"./p-ef4c49b9.js";import{c as t}from"./p-f20b6ce1.js";const e=t=>s("h2",{class:`header-2 ${null==t?void 0:t.class}`,part:a},t.text),r=t({}),{state:o,on:p}=r,i=t({}),{state:l}=i,c=()=>{let s=!0;return Object.keys(o).forEach((a=>{null===o[a]?(l[a]=!0,s=!1):l[a]=!1})),{isValid:s}};export{e as H,o as a,l as b,p as i,c as v}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as e,h as i,H as s,g as a}from"./p-2783e363.js";import{i as o,b as r,a as h,D as d,c as l,l as f}from"./p-ef4c49b9.js";const c=class{constructor(i){t(this,i),this.formControlInput=e(this,"formControlInput",7),this.formControlBlur=e(this,"formControlBlur",7),this.files=void 0,this.label=void 0,this.name=void 0,this.helpText=void 0,this.errorText=void 0,this.multiple=void 0,this.inputHandler=void 0,this.disabled=void 0}render(){return i(s,{key:"0ff92310d25c06e1fa0271f4dcb1f2c3f9af6bc9",exportparts:"label,input,input-invalid"},i("div",{key:"c07d1173914b8f4a474656108219502dcd356798",class:"form-group d-flex flex-column"},i("div",{key:"cc37bcfa3d65f4dc8b1d6f6b43b52a2282398b29",class:"d-flex align-items-start gap-2"},i("label",{key:"5a042d4b42b5372ca465c3636dfedec7beea91f0",part:"label",class:"form-label",htmlFor:this.name},this.label),i("form-control-tooltip",{key:"2b227a49d2e65d2b4a5d4248a5d1dbc234a8aaf0",helpText:this.helpText})),i("input",{key:"9c81ac8b2fe6742959d7502b99b43bd192efecd3",type:"file",name:this.name,part:`input ${this.errorText?"input-invalid ":""}${this.disabled?"input-disabled":""}`,class:this.errorText?"form-control is-invalid":"form-control",multiple:this.multiple,disabled:this.disabled,onBlur:()=>this.formControlBlur.emit()}),i("form-control-error-text",{key:"e650ab21dce572c1ed4c20f6d5f64253a39d5420",errorText:this.errorText,name:this.name})))}get el(){return a(this)}},n=class{constructor(i){t(this,i),this.formControlInput=e(this,"formControlInput",7),this.formControlBlur=e(this,"formControlBlur",7),this.handleFormControlInput=t=>{const e=t.target,i=e.getAttribute("name");this.inputHandler(i,e.value),this.formControlInput.emit({name:i,value:e.value})},this.updateInput=t=>{const e=this.el.querySelector("textarea");e&&(e.value=t||"")},this.isFocused=!1,this.label=void 0,this.name=void 0,this.helpText=void 0,this.errorText=void 0,this.defaultValue=void 0,this.maxLength=void 0,this.inputHandler=void 0,this.keyDownHandler=void 0,this.disabled=void 0}handleDefaultValueChange(t){this.updateInput(t)}componentDidLoad(){this.updateInput(this.defaultValue)}get part(){return this.isFocused&&this.errorText?o:this.errorText?r:this.isFocused?h:this.disabled?d:l}render(){return i(s,{key:"2bf7205da9907d7e72c57bdb8cf7225ba79df6f8"},i("div",{key:"bba562087283e69f6bf30d644befa71f3e7edd82",class:"form-group d-flex flex-column"},i("label",{key:"6337fd2a00e5feff788aa867fb357bb42ee76f0e",part:f,class:"form-label",htmlFor:this.name},this.label),i("textarea",{key:"fa0e759bb588317b24ea8ba9c554c93a8c5c8934",id:this.name,name:this.name,onFocus:()=>this.isFocused=!0,onBlur:()=>{this.isFocused=!1,this.formControlBlur.emit()},onInput:this.handleFormControlInput,onKeyDown:this.keyDownHandler,onPaste:this.keyDownHandler,maxLength:this.maxLength,part:this.part,class:this.errorText?"form-control is-invalid":"form-control",disabled:this.disabled}),i("form-control-help-text",{key:"f03979b74b6cc7fd80b46345df805cf81f120dc5",helpText:this.helpText,name:this.name}),i("form-control-error-text",{key:"5ab2c830a5f1345034e2c2abeca8d3e6e0a1a2ec",errorText:this.errorText,name:this.name})))}get el(){return a(this)}static get watchers(){return{defaultValue:["handleDefaultValueChange"]}}};export{c as form_control_file_v2,n as form_control_textarea}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,c as t,h as r}from"./p-2783e363.js";import{c as o}from"./p-0f23ff58.js";import{A as e}from"./p-0e180654.js";import{C as i,a}from"./p-14c91ffd.js";import{g as n,a as c}from"./p-8115b2f4.js";import{E as h}from"./p-9c2e00cc.js";import{c as p,J as m}from"./p-5456a794.js";import"./p-ef4c49b9.js";import"./p-a07b1816.js";class d{async fetchGrossVolumeChartData(s,t){return e({authToken:t,apiOrigin:o.proxyApiOrigin}).get(`account/${s}/reports/gross_volume`)}}const u=class{constructor(r){s(this,r),this.errorEvent=t(this,"error-event",7),this.handleErrorEvent=s=>{this.errorMessage=s.detail.message,this.errorEvent.emit(s.detail)},this.accountId=void 0,this.authToken=void 0,this.getGrossPayment=void 0,this.errorMessage=null}componentWillLoad(){p(),this.analytics=new m(this),this.initializeGetGrossPayment()}disconnectedCallback(){this.analytics.cleanup()}propChanged(){this.initializeGetGrossPayment()}initializeGetGrossPayment(){this.accountId&&this.authToken?this.getGrossPayment=(({id:s,authToken:t,service:r})=>async({onSuccess:o,onError:e})=>{var a;try{const h=await r.fetchGrossVolumeChartData(s,t);h.error?e({error:n(h.error),code:c(null===(a=h.error)||void 0===a?void 0:a.code),severity:i.ERROR}):o(h.data)}catch(s){const t=c(null==s?void 0:s.code);e({error:n(s),code:t,severity:i.ERROR})}})({id:this.accountId,authToken:this.authToken,service:new d}):(this.errorMessage="Account ID and Auth Token are required",this.errorEvent.emit({errorCode:a.MISSING_PROPS,message:this.errorMessage,severity:i.ERROR}))}render(){return this.errorMessage?h(this.errorMessage):r("gross-payment-chart-core",{getGrossPayment:this.getGrossPayment,"onError-event":this.handleErrorEvent})}static get watchers(){return{accountId:["propChanged"],authToken:["propChanged"]}}};export{u as justifi_gross_payment_chart}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as t,H as a}from"./p-2783e363.js";import{E as e}from"./p-9c2e00cc.js";import"./p-ef4c49b9.js";const i=class{constructor(t){s(this,t),this.errorMessage=void 0}render(){return t(a,{key:"14ab849e7b60f834d823bb6d10f8b772a1184ad4"},this.errorMessage?e(this.errorMessage):t("main",{class:"p-2"},t("slot",{name:"head-info"}),t("slot",{name:"detail-sections"})))}};export{i as justifi_details}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,c as t,h as i}from"./p-2783e363.js";import{P as r}from"./p-cc977850.js";import"./p-16d2932d.js";import"./p-56f6ce4c.js";import{P as e}from"./p-6fbd6abb.js";import"./p-3db8b3c7.js";import{C as o,a}from"./p-14c91ffd.js";import{g as p,a as c}from"./p-8115b2f4.js";import{c as n,J as h}from"./p-5456a794.js";import{c as m}from"./p-0f23ff58.js";import{S as d}from"./p-bfe9748b.js";import{d as f}from"./p-34c14f59.js";import"./p-0e180654.js";import"./p-abdbcd8e.js";import"./p-a07b1816.js";import"./p-bb71cef3.js";import"./p-f4722957.js";import"./p-ef4c49b9.js";const j=class{constructor(i){s(this,i),this.errorEvent=t(this,"error-event",7),this.handleErrorEvent=s=>{this.errorMessage=s.detail.message,this.errorEvent.emit(s.detail)},this.getPayments=void 0,this.errorMessage=null,this.accountId=void 0,this.authToken=void 0,this.apiOrigin=m.proxyApiOrigin,this.columns=f}componentWillLoad(){n(),this.analytics=new h(this),this.initializeGetPayments()}disconnectedCallback(){this.analytics.cleanup()}propChanged(){this.initializeGetPayments()}initializeGetPayments(){this.accountId&&this.authToken?this.getPayments=(({id:s,authToken:t,service:i,apiOrigin:r})=>async({params:a,onSuccess:n,onError:h})=>{var m,d;try{const f=await i.fetchPayments(s,t,a,r);if(f.error)return h({error:p(f.error),code:c(null===(d=f.error)||void 0===d?void 0:d.code),severity:o.ERROR});{const s=Object.assign({},f.page_info);n({payments:(null===(m=f.data)||void 0===m?void 0:m.map((s=>new e(s))))||[],pagingInfo:s})}}catch(s){const t=c(null==s?void 0:s.code);return h({error:s.message||s,code:t,severity:o.ERROR})}})({id:this.accountId,authToken:this.authToken,service:new r,apiOrigin:this.apiOrigin}):(this.errorMessage="Account ID and Auth Token are required",this.errorEvent.emit({errorCode:a.MISSING_PROPS,message:this.errorMessage,severity:o.ERROR}))}render(){return i(d,{key:"35086c06a347cb7ee577366cd5674a2c50c4ffe5"},i("payments-list-core",{key:"bee1a7cf3e600a0060a62cf8151eea390dfd2cfa",getPayments:this.getPayments,"onError-event":this.handleErrorEvent,columns:this.columns}))}static get watchers(){return{accountId:["propChanged"],authToken:["propChanged"]}}};export{j as justifi_payments_list}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,c as t,h as s}from"./p-2783e363.js";import{c as i,d as r,e as a}from"./p-5968ff8a.js";import{I as o}from"./p-edb57087.js";import{F as d}from"./p-5844a0f0.js";import{O as h}from"./p-275f2154.js";import{i as c}from"./p-bb61c6e0.js";import{B as n}from"./p-32a5bf4e.js";import{v as l}from"./p-ef4c49b9.js";import{B as f}from"./p-73f9be7c.js";import{S as b,P as m}from"./p-525db3e8.js";import{u,a as p,b as v}from"./p-7d85af5c.js";import"./p-14c91ffd.js";import"./p-8115b2f4.js";import"./p-0f23ff58.js";import"./p-0e180654.js";import"./p-1ff8810b.js";import"./p-6078a370.js";import"./p-af834eb8.js";import"./p-0ea387a2.js";const y=class{constructor(s){e(this,s),this.errorEvent=t(this,"error-event",7),this.getOwner=void 0,this.patchOwner=void 0,this.postOwner=void 0,this.authToken=void 0,this.ownerId=void 0,this.businessId=void 0,this.allowOptionalFields=void 0,this.removeOwner=void 0,this.newFormOpen=void 0,this.ownersLength=void 0}async validate(){return this.coreComponent.validate()}async submit(){return this.coreComponent.submit()}async validateAndSubmit({onSuccess:e}){this.coreComponent.validateAndSubmit({onSuccess:e})}componentWillLoad(){this.initializeApi()}initializeApi(){this.authToken&&(this.getOwner=i({authToken:this.authToken,identityId:this.ownerId,service:new o}),this.patchOwner=r({authToken:this.authToken,identityId:this.ownerId,service:new o}),this.postOwner=a({authToken:this.authToken,service:new o}))}render(){return s("owner-form-core",{key:"994ef390ec2423419aa777656a49d9087ef61e72",ownerId:this.ownerId,businessId:this.businessId,getOwner:this.getOwner,patchOwner:this.patchOwner,postOwner:this.postOwner,allowOptionalFields:this.allowOptionalFields,removeOwner:this.removeOwner,newFormOpen:this.newFormOpen,ownersLength:this.ownersLength,ref:e=>this.coreComponent=e})}},k=class{loadingWatcher(){this.formLoading.emit(this.isLoading)}constructor(s){e(this,s),this.clickEvent=t(this,"click-event",7),this.errorEvent=t(this,"error-event",7),this.formLoading=t(this,"formLoading",7),this.ownerSubmitted=t(this,"ownerSubmitted",7),this.getData=()=>{this.isLoading=!0,this.getOwner({onSuccess:e=>{this.instantiateOwner(e.data)},onError:({error:e,code:t,severity:s})=>{this.errorEvent.emit({message:e,errorCode:t,severity:s})},final:()=>this.isLoading=!1})},this.sendData=()=>(this.isLoading=!0,new Promise((e=>{this.ownerId?this.patchOwner({payload:this.payload,onSuccess:t=>{this.ownerSubmitted.emit({id:t.data.id}),this.instantiateOwner(t.data),e(!0)},onError:({error:t,code:s,severity:i})=>{this.errorEvent.emit({message:t,errorCode:s,severity:i}),e(!1)},final:()=>this.isLoading=!1}):this.postOwner({payload:this.payload,onSuccess:t=>{this.ownerSubmitted.emit({id:t.data.id}),this.instantiateOwner(t.data),e(!0)},onError:({error:t,code:s,severity:i})=>{this.errorEvent.emit({message:t,errorCode:s,severity:i}),e(!1)},final:()=>this.isLoading=!1})}))),this.instantiateOwner=async e=>{this.owner=Object.assign({},new h(e)),await this.formController.setInitialValues(this.owner)},this.handleAddOwner=()=>{this.clickEvent.emit({name:this.ownerId?f.updateOwner:f.addOwner})},this.handleRemoveOwner=()=>{this.removeOwner(this.ownerId),this.clickEvent.emit({name:f.removeOwner})},this.isLoading=!1,this.formController=void 0,this.errors={},this.owner={},this.ownerId=void 0,this.businessId=void 0,this.getOwner=void 0,this.patchOwner=void 0,this.postOwner=void 0,this.allowOptionalFields=void 0,this.removeOwner=void 0,this.newFormOpen=void 0,this.ownersLength=void 0,this.validate=this.validate.bind(this),this.submit=this.submit.bind(this),this.validateAndSubmit=this.validateAndSubmit.bind(this)}async returnOwnerData(){return this.ownerId}async validate(){return this.formController.validate()}async submit(){if(await this.validate())return this.sendData()}async validateAndSubmit(e){e.preventDefault(),await this.validate()&&this.submit()}get payload(){let e=new h(this.formController.values.getValue()).payload;return this.ownerId?e:Object.assign(Object.assign({},e),{business_id:this.businessId})}get formTitle(){return this.ownerId?"Edit Business Owner":"Add Business Owner"}get submitButtonText(){return this.ownerId?"Update":"Add"}get showRemoveButton(){return!(this.ownersLength<=1)&&(!(this.ownerId||!this.newFormOpen)||!(!this.ownerId||this.newFormOpen)||void 0)}componentWillLoad(){this.formController=new d(c("owner",this.allowOptionalFields)),this.ownerId?this.getData():this.instantiateOwner({})}componentDidLoad(){this.formController.errors.subscribe((e=>this.errors=Object.assign({},e)))}render(){return s("form",{key:"58cbb6a1f804dc14fc3d3c873b733353b01d9365",onSubmit:this.validateAndSubmit},s("fieldset",{key:"23cb93fab96a2d1a3a372057a93f8a5e3b5e886b"},s("legend",{key:"06f0a9595c675d7f2f708741ef292018ad2b98e7",class:"fw-semibold fs-5",part:l},this.formTitle),s("br",{key:"cdde6f04d559cc83bf50282feab27e2917889b74"}),s("div",{key:"25fd59a4755a4344ed0d6c116de79c95db8660df",class:"row gy-3"},s("owner-form-inputs",{key:"f839d830b204439f88594b0a16cce37286fe3e0b",ownerDefaultValue:this.formController.getInitialValues(),errors:this.errors,formController:this.formController}),s("div",{key:"5dad56a053aa7ad0c04869374769965eba872247",class:"d-flex gap-2 justify-content-start"},s(n,{key:"22342bc0f6a5978a94927aa9edddb9979309e647",variant:"secondary",type:"button",onClick:this.handleRemoveOwner,hidden:!this.showRemoveButton},"Remove"),s(n,{key:"ef3d494677011f095d199e736043e3c02a855f2b",variant:"primary",type:"submit",onClick:this.handleAddOwner,disabled:this.isLoading},this.submitButtonText))),s("hr",{key:"d2d503eabc8b633ec84cabeacfe04c3802689604"})))}static get watchers(){return{isLoading:["loadingWatcher"]}}},w=class{constructor(t){e(this,t),this.inputHandler=(e,t)=>{u(this.formController,{[e]:t})},this.onAddressFormUpdate=e=>{p(this.formController,Object.assign(Object.assign({},this.formController.values.getValue().address),e))},this.ownerDefaultValue=void 0,this.errors=void 0,this.formController=void 0}render(){return s("div",{key:"6604b31d64967fbabb85189c72d7d78d98d2c8c8",class:"row gy-3"},s("div",{key:"7b52874d08593e28ac8e2369534d3697f07128c3",class:"col-12 col-md-8"},s("form-control-text",{key:"080456fae1d1f024d3e82be43939922fb19f6ef9",name:"name",label:"Full Name",defaultValue:this.ownerDefaultValue.name,errorText:this.errors.name,inputHandler:this.inputHandler})),s("div",{key:"e0e431c1d7d6716bc368eb1fa06b80d0576a05ee",class:"col-12 col-md-4"},s("form-control-text",{key:"9134c2a32853cfa00edb42a2db30a85943e0c3f5",name:"title",label:"Title",defaultValue:this.ownerDefaultValue.title,errorText:this.errors.title,inputHandler:this.inputHandler,helpText:"Role at your business, e.g. President, CEO, Treasurer."})),s("div",{key:"b129332c1547d43a2d2e09f19940e3a5a1df988a",class:"col-12 col-md-6"},s("form-control-text",{key:"1e56b33c0c12898bdb0dd121fa832869deca9a2b",name:"email",label:"Email Address",defaultValue:this.ownerDefaultValue.email,errorText:this.errors.email,inputHandler:this.inputHandler})),s("div",{key:"0a551a3d5f820e1f0146ee2603b687559756b80b",class:"col-12 col-md-6"},s("form-control-number-masked",{key:"26c8366c9a8c93e69e8396ae1bb8d2478cc9eb81",name:"phone",label:"Phone Number",defaultValue:this.ownerDefaultValue.phone,errorText:this.errors.phone,inputHandler:this.inputHandler,mask:m.US})),s("div",{key:"e9416e635eceb13bee1cd259bad100cb165b9e74",class:"col-12 col-md-4"},s("form-control-date",{key:"9a69bdc97c104169bdc742c341105a208b9a815a",name:"dob_full",label:"Birth Date",defaultValue:this.ownerDefaultValue.dob_full,errorText:this.errors.dob_full,inputHandler:this.inputHandler,onFormControlInput:e=>v(e,this.formController),helpText:"Must be 18 or older."})),s("div",{key:"9dedc8f023a3e6cc47835fc3a749f427c29bbee4",class:"col-12 col-md-8"},s("form-control-number-masked",{key:"f1bedfe4d166ed0453a1814a5f02f7912da1e699",name:"identification_number",label:"SSN",defaultValue:this.ownerDefaultValue.identification_number,errorText:this.errors.identification_number,inputHandler:this.inputHandler,mask:b,helpText:"Enter your full Social Security Number. It is required for Federal OFAC check."})),s("div",{key:"32b1cd3be64345be08b27297478ab654d9201b8b",class:"col-12"},s("justifi-identity-address-form",{key:"e3292e32b13c290081989a562e22454f1bfe4f83",errors:this.errors.address,defaultValues:this.ownerDefaultValue.address,handleFormUpdate:this.onAddressFormUpdate})))}};export{y as justifi_owner_form,k as owner_form_core,w as owner_form_inputs}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as o}from"./p-2783e363.js";import{v as r}from"./p-ef4c49b9.js";const s=s=>o("h3",{class:`header-3 ${null==s?void 0:s.class}`,part:r},s.text);export{s as H}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as t}from"./p-2783e363.js";import{p as s,q as e,o as r}from"./p-ef4c49b9.js";import{S as a}from"./p-90dc2f2c.js";const n=e=>{const{columnSpan:r,isEmpty:a}=e;return r&&a?t("tr",null,t("td",{class:"empty-state",part:s,colSpan:r,style:{textAlign:"center"}},"No results")):null},l=s=>{const{columnSpan:r,errorMessage:a}=s;return r&&a?t("tr",null,t("td",{class:"error-state",part:e,colSpan:r,"data-test-id":"table-error-state",style:{textAlign:"center"}},"An unexpected error occurred: ",a)):null},o=s=>{const{columnSpan:e,isLoading:n}=s;return e&&n?t("tr",null,t("td",{class:"loading-state",part:r,colSpan:e,style:{textAlign:"center"}},t(a,null))):null};class c{get columnData(){return this.columnKeys.map((t=>this.tableColumns[t]()))}get rowData(){return this.collection.map(((t,s)=>this.columnKeys.map((e=>this.tableCells[e](t[e],s)))))}set collectionData(t){this.collection=t}constructor(t,s,e,r){this.columnKeys=s.split(","),this.collection=t,this.tableColumns=e,this.tableCells=r}}var i;!function(t){t.row="tableRow",t.next="nextPage",t.previous="previousPage"}(i||(i={}));export{i as T,c as a,o as b,n as c,l as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as s}from"./p-f20b6ce1.js";const o={},a=s((()=>o)),{state:t,on:c}=a,e=()=>{a.reset()};export{e as c,c as o,t as q}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as s}from"./p-2783e363.js";import{r}from"./p-ef4c49b9.js";const e=()=>s("div",{class:"d-flex justify-content-center"},s("div",{class:"spinner-border",role:"status",part:r},s("span",{class:"visually-hidden"},"Loading...")));export{e as S}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as a}from"./p-2783e363.js";import{t as s,h as l,e as t}from"./p-ef4c49b9.js";const e=l=>a("main",{class:"p-4 d-flex justify-content-center text-center",style:{fontSize:"1.2rem"}},a("p",{part:s},l)),p=s=>a("h2",{part:l,class:"mt-4 fs-5 border-bottom pb-3"},s.sectionTitle),r=({title:l,value:t})=>l&&t?a("div",{class:"d-table-row gap-2"},a("span",{class:"fw-bold d-table-cell px-2",part:s},l),a("span",{class:"flex-1 d-table-cell px-2 text-wrap",part:s,innerHTML:t})):null,c=({title:t,value:e,classes:p})=>a("div",{class:`d-flex flex-column ${p}`},a("span",{class:"fw-bold border-1 border-bottom ps-2 pe-2",part:l},t),a("span",{class:"pt-2 ps-2 pe-2",part:s},e)),o=({title:l,slot:e,badge:p},r)=>a("div",{slot:e,class:"p-2"},a("div",{class:"d-flex flex-row align-items-center gap-2 mb-2"},a("h1",{class:"m-0",part:t},l),p),a("div",{class:"d-flex flex-row align-items-top",part:s},r)),n=({metadata:s})=>s&&Object.keys(s).length?a("div",{class:"mt-4"},a("pre",{class:"p-2","aria-label":"metadata content"},a("code",null,JSON.stringify(s,null,2)))):null;export{n as C,p as D,e as E,o as a,c as b,r as c}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as e,h as i}from"./p-2783e363.js";import{C as s,a as o}from"./p-14c91ffd.js";import{g as r,a as c}from"./p-8115b2f4.js";import{C as a}from"./p-bb0f8b70.js";import{c as h,J as d}from"./p-5456a794.js";import"./p-0f23ff58.js";import"./p-0e180654.js";import"./p-16d2932d.js";import"./p-56f6ce4c.js";import"./p-6fbd6abb.js";import"./p-abdbcd8e.js";import"./p-3db8b3c7.js";import"./p-a07b1816.js";const n=class{constructor(i){t(this,i),this.errorEvent=e(this,"error-event",7),this.loadedEvent=e(this,"loaded",7),this.iframeOrigin=void 0,this.authToken=void 0,this.checkoutId=void 0,this.disableCreditCard=void 0,this.disableBankAccount=void 0,this.disableBnpl=void 0,this.disablePaymentMethodGroup=void 0,this.getCheckout=void 0,this.complete=void 0,this.errorMessage=""}componentWillLoad(){h(),this.analytics=new d(this),this.initializeGetCheckout()}disconnectedCallback(){this.analytics.cleanup()}initializeGetCheckout(){this.authToken&&this.checkoutId?(this.getCheckout=(({authToken:t,checkoutId:e,service:i})=>async({onSuccess:o,onError:a})=>{var h;try{const d=await i.fetchCheckout(t,e);if(d.error)return a({error:r(d.error),code:c(null===(h=d.error)||void 0===h?void 0:h.code),severity:s.ERROR});o({checkout:d.data})}catch(t){const e=c(null==t?void 0:t.code);return a({error:t.message||t,code:e,severity:s.ERROR})}})({authToken:this.authToken,checkoutId:this.checkoutId,service:new a}),this.complete=(({authToken:t,checkoutId:e,service:i})=>async({payment:o,onSuccess:a,onError:h})=>{var d;try{const n=await i.complete(t,e,o);if(n.error)return h({error:r(n.error),code:c(null===(d=n.error)||void 0===d?void 0:d.code),severity:s.ERROR});a(n)}catch(t){const e=c(null==t?void 0:t.code);return h({error:t.message||t,code:e,severity:s.ERROR})}})({authToken:this.authToken,checkoutId:this.checkoutId,service:new a})):this.errorEvent.emit({message:"auth-token and checkout-id are required",errorCode:o.MISSING_PROPS,severity:s.ERROR})}propChanged(){this.initializeGetCheckout()}async fillBillingForm(t){this.checkoutCoreRef.fillBillingForm(t)}render(){return i("justifi-checkout-core",{key:"1a31304be74cae8c70683b9a26319d59f1462362",getCheckout:this.getCheckout,authToken:this.authToken,complete:this.complete,disableCreditCard:this.disableCreditCard,disableBankAccount:this.disableBankAccount,disableBnpl:this.disableBnpl,disablePaymentMethodGroup:this.disablePaymentMethodGroup,ref:t=>{t&&(this.checkoutCoreRef=t)}},i("div",{key:"ad9e6466d374849862f48c25c61a2a511b8465af",slot:"insurance"},i("slot",{key:"eb94e33e0ab10320aede52292f732de5d92e3341",name:"insurance"})))}static get watchers(){return{authToken:["propChanged"],checkoutId:["propChanged"]}}};export{n as justifi_checkout}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as s}from"./p-f20b6ce1.js";const o={},a=s((()=>o)),{state:t,on:c}=a,e=()=>{a.reset()};export{e as c,c as o,t as q}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={name:"@justifi/webcomponents",version:"5.0.0-rc-2",description:"JustiFi Web Components",collection:"dist/collection/collection-manifest.json",main:"dist/index.cjs.js",module:"dist/module/index.js",types:"dist/module/index.d.ts",repository:{type:"git",url:"git+https://github.com/justifi-tech/web-component-library.git"},homepage:"https://storybook.justifi.ai/?path=/docs/introduction--docs",publishConfig:{registry:"https://registry.npmjs.org"},files:["dist/"],scripts:{build:"stencil build --docs",dev:"stencil build --watch",lint:"eslint . --max-warnings 0",clean:"rm -rf .turbo && rm -rf node_modules && rm -rf dist",generate:"stencil generate",test:"TZ=utc stencil test --spec","test:watch":"TZ=utc stencil test --spec --watchAll","test:file":"stencil test --spec --watch --"},dependencies:{"@popperjs/core":"^2.11.8","@stencil/core":"^4.0.5","@stencil/store":"^2.0.8",bootstrap:"^5.2.3","chart.js":"^4.4.1","date-fns":"^2.30.0","dinero.js":"^1.9.1","iframe-resizer":"^4.3.7",imask:"^7.6.0",lodash:"^4.17.21",rxjs:"^7.8.1","ts-dedent":"^2.2.0",uuid:"^9.0.0",yup:"^1.0.0"},devDependencies:{"@babel/preset-env":"^7.21.5","@babel/preset-react":"^7.18.6","@babel/preset-typescript":"^7.21.5","@rollup/plugin-replace":"^6.0.1","@stencil/sass":"^3.0.1","@types/jest":"27.0.3","@types/react":"^18.0.37","@types/react-dom":"^18.0.11",dotenv:"^16.3.1",jest:"^29.7.0","jest-cli":"^29.7.0","jest-environment-node":"^29.7.0","ts-jest":"^29.1.2"},license:"MIT",gitHead:"507bac1d941eae6e1f56e185ecd9bc9d22637783"};export{e as p}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as t}from"./p-2783e363.js";import{c as a,b as e}from"./p-f4722957.js";import{M as o}from"./p-206fde40.js";import{m as s,k as p}from"./p-ef4c49b9.js";const r="created_at,amount,status,payments_total,refunds_total,fees_total,other_total,csv",c={created_at:()=>t("th",{part:p,scope:"col",title:"The date the payout was deposited"},"Created"),sub_account_name:()=>t("th",{part:p,scope:"col",title:"The sub account associated with the payout"},"Sub Account"),payments_total:()=>t("th",{part:p,scope:"col",title:"The total payments amount associated with the payout"},"Payments"),refunds_total:()=>t("th",{part:p,scope:"col",title:"The total refunds amount associated with the payout"},"Refunds"),fees_total:()=>t("th",{part:p,scope:"col",title:"The total fees amount associated with the payout"},"Fees"),other_total:()=>t("th",{part:p,scope:"col",title:"The total other amount"},"Other"),amount:()=>t("th",{part:p,scope:"col",title:"The total amount of the payout"},"Amount"),status:()=>t("th",{part:p,scope:"col",title:"The real-time status of each payout"},"Status"),csv:()=>t("th",{part:p,scope:"col",title:"Export CSV"})},l=p=>({created_at:(e,o)=>t("td",{part:s(o)},t("div",{class:"fw-bold"},a(e,{showDisplayDate:!0})," ")),sub_account_name:(a,e)=>t("td",{part:s(e)},a),payments_total:(a,o)=>t("td",{part:s(o)},e(a)),refunds_total:(a,o)=>t("td",{part:s(o)},e(a)),fees_total:(a,o)=>t("td",{part:s(o)},e(a)),other_total:(a,o)=>t("td",{part:s(o)},e(a)),amount:(a,o)=>t("td",{part:s(o)},e(a)),status:(a,e)=>t("td",{part:s(e),innerHTML:o(a)}),csv:(a,e)=>t("td",{part:s(e)},t("a",{href:"#",onClick:t=>{t.preventDefault(),p(a)}},"CSV"))});export{l as a,r as d,c as p}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var s;!function(s){s.won="won",s.lost="lost",s.underReview="under_review",s.needsResponse="needs_response"}(s||(s={}));class t{get needsResponse(){return this.status==s.needsResponse}get underReview(){return this.status==s.underReview}get won(){return this.status==s.won}get lost(){return this.status==s.lost}constructor(s){this.id=s.id,this.amount=s.amount,this.currency=s.currency,this.payment_id=s.payment_id,this.reason=s.reason,this.due_date=s.due_date,this.status=s.status,this.metadata=s.metadata,this.created_at=s.created_at,this.updated_at=s.updated_at,this.dispute_response=s.dispute_response?new i(s.dispute_response):void 0}}class i{constructor(s){this.additional_statement=s.additional_statement,this.cancellation_policy_disclosure=s.cancellation_policy_disclosure,this.cancellation_rebuttal=s.cancellation_rebuttal,this.customer_billing_address=s.customer_billing_address,this.customer_email_address=s.customer_email_address,this.customer_name=s.customer_name,this.customer_purchase_ip_address=s.customer_purchase_ip_address,this.duplicate_charge_explanation=s.duplicate_charge_explanation,this.product_description=s.product_description,this.refund_policy_disclosure=s.refund_policy_disclosure,this.refund_refusal_explanation=s.refund_refusal_explanation,this.service_date=s.service_date,this.shipping_address=s.shipping_address,this.shipping_carrier=s.shipping_carrier,this.shipping_date=s.shipping_date,this.shipping_tracking_number=s.shipping_tracking_number,this.duplicate_charge_original_payment_id=s.duplicate_charge_original_payment_id}}export{s as D,t as a}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as s,h as e}from"./p-2783e363.js";import"./p-16d2932d.js";import{p as a}from"./p-56f6ce4c.js";import"./p-6fbd6abb.js";import"./p-3db8b3c7.js";import{n as i,o as r}from"./p-ef4c49b9.js";import{T as h,a as c,b as o,c as d,d as n}from"./p-8c7a81c1.js";import{t as b,a as p}from"./p-4a576796.js";import{o as f,q as m}from"./p-8da3667c.js";import"./p-abdbcd8e.js";import"./p-90dc2f2c.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:h.previous})},this.handleClickNext=t=>{this.pagingParams={after_cursor:t},this.clickEvent.emit({name:h.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:h.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 c(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:"a293f76edb152df4636282a1bdb64526743ba62b"},e("div",{key:"91c87549f3da243bcbc5e8c3f30690b4f3568312",class:"table-wrapper"},e("table",{key:"b8666ef07d7cddecfd576520004cb9ae369816d0",class:"table table-hover",part:i},e("thead",{key:"82f882e9c8ad8cb8b86fdd8054b2db202f31aee6",class:"table-head sticky-top"},e("tr",{key:"db96b27008b1cdfb394f7480d163ba98a564e654",class:"table-light text-nowrap"},this.terminalsTable.columnData.map((t=>t)))),e("tbody",{key:"afe168ca0facd25953f8e23c82ee40b37ff56418",class:"table-body"},e(o,{key:"fa4a276edaa35687efd922d987b51248670aad4c",columnSpan:this.terminalsTable.columnKeys.length,isLoading:this.loading}),e(d,{key:"a7450b6fc3b6e659c46c57c4bb1e06c8102da809",isEmpty:this.showEmptyState,columnSpan:this.terminalsTable.columnKeys.length}),e(n,{key:"89894e4c62d1ec4b4d10f1ca8fd50098e655dcf1",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:"ba93ff43a8562b4e77b48a0a026d75d9f84e5249",class:"sticky-bottom"},e("tr",{key:"bd75b89450eec1db55c7e92b2e79eab559605bba",class:"table-light align-middle"},e("td",{key:"b27b8a0bbe6c2d38393684752809d5e909948567",part:r,colSpan:this.terminalsTable.columnData.length},e("pagination-menu",{key:"959649b1f3c8099c5b929543557823eccd3e9dd9",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}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e,b as t}from"./p-
|
|
1
|
+
import{a as e,b as t}from"./p-5844a0f0.js";import{S as s}from"./p-6078a370.js";import{b as a,a as r,r as n,s as i,c}from"./p-0ea387a2.js";const l=e=>""===e?null:e,o=/^\d+$/,u=/P\.?\s?O\.?\s?Box|Postal\sBox/i;var d,m;!function(e){e.voidedCheck="voided_check",e.balanceSheet="balance_sheet",e.bankStatement="bank_statement",e.governmentId="government_id",e.profitAndLossStatement="profit_and_loss_statement",e.taxReturn="tax_return",e.other="other"}(d||(d={})),function(e){e.pending="pending",e.uploaded="uploaded",e.canceled="canceled",e.needed="needed"}(m||(m={}));class h{constructor(){this.voided_check=[],this.balance_sheet=[],this.bank_statement=[],this.government_id=[],this.profit_and_loss_statement=[],this.tax_return=[],this.other=[]}}class b{constructor(e,t){this.file=e.file,this.fileString=this.getFileString(),this.document_type=e.document_type,this.presigned_url=null,this.record_data={business_id:t,document_type:this.document_type,file_name:this.file.name,file_type:this.file.type}}getFileString(){let e=new FileReader;return e.onload=e=>{this.fileString=e.target.result},e.readAsDataURL(this.file),this.fileString}setPresignedUrl(e){this.presigned_url=e}}const p=e().email("Enter valid email").transform(l),v=e().matches(/^\d{10}$/,"Enter valid phone number").transform(l),E=e().min(2,"Name must be at least 2 characters").max(100,"Name must be less than 100 characters").transform(l),S=e().min(2,"Name must be at least 2 characters").max(100,"Name must be less than 100 characters").transform(l),N=e().matches(/^(?:http(s)?:\/\/)?(?:www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)$/,"Enter valid website url").transform(l),f=e().oneOf(a.map((e=>e.value)),"Select business classification").transform(l),g=e().min(2,"Industry must be at least 2 characters").max(50,"Industry must be less than 50 characters").transform(l),_=e().matches(o,"Enter valid tax id, SSN, or EIN").test("not-repeat","Enter valid tax id, SSN, or EIN",(e=>!/^(\d)\1+$/.test(e))).test("not-seq","Enter valid tax id, SSN, or EIN",(e=>"123456789"!==e)).transform(l),y=e().test("not-future","Date of incorporation cannot be in the future",(e=>new Date(e)<=new Date)).transform(l),w=e().min(2,"Name must be at least 2 characters").max(100,"Name must be less than 100 characters").transform(l),x=e().min(2,"Title must be at least 2 characters").max(50,"Title must be less than 50 characters").transform(l),A=t=>e().test("min","Enter a valid date",(e=>new Date(e)>=new Date("1902-01-01"))).test("age",`${t} must be at least 18 years old`,(e=>{const t=new Date(e),s=new Date;return s.setFullYear(s.getFullYear()-18),t<=s})).transform(l),$=e().matches(/^(?!000|666|9\d{2})\d{3}(?!00)\d{2}(?!0000)\d{4}$/,"Enter valid SSN").when("ssn_last4",{is:e=>!e||0===e.length,then:e=>e.required("Enter SSN"),otherwise:e=>e.nullable()}).test("not-repeat","Enter valid SSN",(e=>!/^(\d)\1+$/.test(e))).test("not-seq","Enter valid SSN",(e=>"123456789"!==e)).transform(l),I=e().min(5,"Address must be at least 5 characters").max(100,"Address must be less than 100 characters").test("not-po-box","A PO Box is not a valid address entry",(e=>!u.test(e))).transform(l),P=e().max(100,"Address must be less than 100 characters").test("not-po-box","A PO Box is not a valid address entry",(e=>!u.test(e))).transform(l),D=e().min(2,"City must be at least 2 characters").max(50,"City must be less than 50 characters").transform(l),B=e().oneOf(s.map((e=>e.value)),"Select state").transform(l),j=e().matches(/^[0-9]{5}$/,"Enter valid postal code").transform(l),z=e().matches(o,"Enter valid revenue").transform(l),k=e().matches(o,"Enter valid payment volume").transform(l),q=e().oneOf(r.map((e=>e.value)),"Select when service is received").transform(l),C=e().oneOf(n.map((e=>e.value)),"Select recurring payments").transform(l),F=e().when("business_recurring_payments",{is:e=>"Yes"===e,then:e=>e.required("Enter recurring payments percentage"),otherwise:e=>e.nullable()}).transform(l),O=e().oneOf(i.map((e=>e.value)),"Select seasonal business").transform(l),R=e().transform(l),T=e().min(2,"Name must be at least 2 characters").max(50,"Name must be less than 50 characters").transform(l),Z=e().min(2,"Name must be at least 2 characters").max(50,"Name must be less than 50 characters").transform(l),G=e().oneOf(c.map((e=>e.value)),"Select account type").transform(l),H=e().min(7,"Account number must be at least 7 digits").max(17,"Account number must be less than 17 digits").matches(o,"Enter valid account number").test("not-repeat","Enter valid account number",(e=>!/^(\d)\1+$/.test(e))).transform(l),J=e().length(9,"Routing number must be 9 digits").matches(o,"Enter valid routing number").test("not-repeat","Enter valid routing number",(e=>!/^(\d)\1+$/.test(e))).test("valid","Enter valid routing number",(e=>(e=>{if(!e)return!1;const t=Array.from(String(e),Number);return 9===t.length&&0==(3*(t[0]+t[3]+t[6])+7*(t[1]+t[4]+t[7])+(t[2]+t[5]+t[8]))%10})(e))).transform(l),K=t(),L=K,M=K,U=K,Y=(e,t)=>e.some((e=>e.document_type===d.voidedCheck))||t?K.nullable():K.required("Please select one or more files"),Q=(e,t,s)=>{const a=parseInt(e);return t.some((e=>e.document_type===d.bankStatement))||s?K.nullable():a>=25e4&&!s?K.required("Please select one or more files"):void 0},V=(e,t,s)=>{const a=parseInt(e);return t.some((e=>e.document_type===d.balanceSheet))||s?K.nullable():a>=1e6&&!s?K.required("Please select one or more files"):void 0},W=(e,t,s)=>{const a=parseInt(e);return t.some((e=>e.document_type===d.profitAndLossStatement))||s?K.nullable():a>=1e6&&!s?K.required("Please select one or more files"):void 0};export{Z as A,G as B,H as C,J as D,Y as E,M as F,L as G,U as H,V as I,Q as J,W as K,b as L,h as M,d as N,f as a,E as b,y as c,S as d,p as e,k as f,q as g,C as h,g as i,F as j,P as k,I as l,D as m,B as n,R as o,v as p,j as q,z as r,O as s,_ as t,w as u,x as v,N as w,A as x,$ as y,T as z}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as l,h as i,H as t}from"./p-2783e363.js";import{c as e,D as s}from"./p-9c2e00cc.js";import{i as v,s as d,h as o}from"./p-f4722957.js";import"./p-ef4c49b9.js";const u=class{constructor(i){l(this,i),this.additionalQuestions=void 0}render(){var l,d;return v(this.additionalQuestions)?null:i(t,null,i(s,{sectionTitle:"Additional Questions"}),i("div",{class:"d-table gap-2 w-100 mt-3"},i("div",{class:"row gy-3"},i("div",{class:"col-12 col-md-6"},i(e,{title:"Business Revenue",value:null===(l=this.additionalQuestions.business_revenue)||void 0===l?void 0:l.toString()}),i(e,{title:"Business Payment Volume",value:null===(d=this.additionalQuestions.business_payment_volume)||void 0===d?void 0:d.toString()})))))}},a=class{constructor(i){l(this,i),this.business=void 0}render(){var l,v,o,u,a,n,r,c;return this.business?i(t,null,i(s,{sectionTitle:"Business Generic Info Details"}),i("div",{class:"d-table gap-2 w-100 mt-3"},i("div",{class:"row gy-3"},i("div",{class:"col-12 col-md-6"},i(e,{title:"Legal Name",value:null===(l=this.business)||void 0===l?void 0:l.legal_name}),i(e,{title:"Doing Business As (DBA)",value:null===(v=this.business)||void 0===v?void 0:v.doing_business_as}),i(e,{title:"Business Classification",value:d(null===(o=this.business)||void 0===o?void 0:o.classification)}),i(e,{title:"Industry",value:null===(u=this.business)||void 0===u?void 0:u.industry})),i("div",{class:"col-12 col-md-6"},i(e,{title:"Tax ID",value:null===(a=this.business)||void 0===a?void 0:a.tax_id}),i(e,{title:"Website URL",value:null===(n=this.business)||void 0===n?void 0:n.website_url}),i(e,{title:"Email Address",value:null===(r=this.business)||void 0===r?void 0:r.email}),i(e,{title:"Phone Number",value:null===(c=this.business)||void 0===c?void 0:c.phone}))))):null}},n=class{constructor(i){l(this,i),this.legalAddress=void 0}render(){var l,d,o,u,a,n,r;return v(this.legalAddress)?null:i(t,null,i(s,{sectionTitle:"Business Legal Address Details"}),i("div",{class:"d-table gap-2 w-100 mt-3"},i("div",{class:"row gy-3"},i("div",{class:"col-12 col-md-6"},i(e,{title:"Country",value:null===(l=this.legalAddress)||void 0===l?void 0:l.country}),i(e,{title:"Legal Address",value:null===(d=this.legalAddress)||void 0===d?void 0:d.line1}),i(e,{title:"Address Line 2",value:null===(o=this.legalAddress)||void 0===o?void 0:o.line2})),i("div",{class:"col-12 col-md-6"},i(e,{title:"City",value:null===(u=this.legalAddress)||void 0===u?void 0:u.city}),i(e,{title:"State",value:null===(a=this.legalAddress)||void 0===a?void 0:a.state}),i(e,{title:"Postal Code",value:null===(r=null===(n=this.legalAddress)||void 0===n?void 0:n.postal_code)||void 0===r?void 0:r.toString()})))))}},r=class{constructor(i){l(this,i),this.owners=void 0}render(){var l;return(null===(l=null==this?void 0:this.owners)||void 0===l?void 0:l.length)?i(t,null,!!(null==this?void 0:this.owners.length)&&this.owners.map((l=>{var t,v,d,u,a;return[i(s,{sectionTitle:`Owner ${null==l?void 0:l.name}'s Details`}),i("div",{class:"d-table gap-2 w-100 mt-3"},i(e,{title:"Name",value:null==l?void 0:l.name}),i(e,{title:"Title",value:null==l?void 0:l.title}),i(e,{title:"Email",value:null==l?void 0:l.email}),i(e,{title:"Phone",value:null==l?void 0:l.phone}),i(e,{title:"Date of Birth",value:o(new Date(Number(null==l?void 0:l.dob_day),Number(null==l?void 0:l.dob_month),Number(null==l?void 0:l.dob_year)))}),i(e,{title:"Identification Number",value:`********${null==l?void 0:l.ssn_last4}`}),i(e,{title:"Line 1",value:null===(t=null==l?void 0:l.address)||void 0===t?void 0:t.line1}),i(e,{title:"Line 2",value:null===(v=null==l?void 0:l.address)||void 0===v?void 0:v.line2}),i(e,{title:"City",value:null===(d=null==l?void 0:l.address)||void 0===d?void 0:d.city}),i(e,{title:"State",value:null===(u=null==l?void 0:l.address)||void 0===u?void 0:u.state}),i(e,{title:"Zip",value:null===(a=null==l?void 0:l.address)||void 0===a?void 0:a.postal_code}))]}))):null}},c=class{constructor(i){l(this,i),this.representative=void 0}render(){var l,d,u,a,n,r,c,h,m,p,b,g,w,D;return v(this.representative)?null:i(t,null,i(s,{sectionTitle:"Representative Details"}),i("div",{class:"d-table gap-2 w-100 mt-3"},i("div",{class:"row gy-3"},i("div",{class:"col-12 col-md-6"},i(e,{title:"Name",value:null===(l=this.representative)||void 0===l?void 0:l.name}),i(e,{title:"ID",value:null===(d=this.representative)||void 0===d?void 0:d.id}),i(e,{title:"Address",value:null===(a=null===(u=this.representative)||void 0===u?void 0:u.address)||void 0===a?void 0:a.line1}),i(e,{title:"Created At",value:(null===(n=this.representative)||void 0===n?void 0:n.created_at)&&o(null===(r=this.representative)||void 0===r?void 0:r.created_at)})),i("div",{class:"col-12 col-md-6"},i(e,{title:"Title",value:null===(c=this.representative)||void 0===c?void 0:c.title}),i(e,{title:"Is Owner?",value:null===(h=this.representative)||void 0===h?void 0:h.is_owner.toString()}),i(e,{title:"Date Of Birth",value:this.representative&&o(new Date(Number(null===(m=this.representative)||void 0===m?void 0:m.dob_year),Number(null===(p=this.representative)||void 0===p?void 0:p.dob_month)-1,Number(null===(b=this.representative)||void 0===b?void 0:b.dob_day)))}),i(e,{title:"Email",value:null===(g=this.representative)||void 0===g?void 0:g.email}),i(e,{title:"Phone",value:null===(w=this.representative)||void 0===w?void 0:w.phone}),i(e,{title:"Updated At",value:this.representative&&o(null===(D=this.representative)||void 0===D?void 0:D.updated_at)})))))}};export{u as additional_questions_details,a as generic_info_details,n as legal_address_details,r as owner_details,c as representative_details}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as a}from"./p-2783e363.js";import{c as t,a as i,F as c}from"./p-5844a0f0.js";import{B as d}from"./p-ef4c49b9.js";const s=t({additional_statement:i().nullable()});var o,l;!function(e){e.activity_log="activity_log",e.cancellationPolicy="cancellation_policy",e.customerCommunication="customer_communication",e.customerSignature="customer_signature",e.duplicateChargeDocumentation="duplicate_charge_documentation",e.receipt="receipt",e.refundPolicy="refund_policy",e.serviceDocumentation="service_documentation",e.shippingDocumentation="shipping_documentation",e.uncategorizedFile="uncategorized_file"}(o||(o={}));class n{set presignedUrl(e){this._presignedUrl=e}get presignedUrl(){return this._presignedUrl}async getFileString(){let e="";const a=new Promise(((a,t)=>{const i=new FileReader;i.onload=t=>{e=t.target.result,a(e)},i.onerror=()=>{t(new Error("Error reading file"))},i.readAsDataURL(this._file)}));return await a,e}constructor(e,a){this._file=e,this.file_name=e.name,this.file_type=e.type,this.dispute_evidence_type=a}}!function(e){e.disputeReason="dispute_reason",e.productOrService="product_or_service",e.customerDetails="customer_details",e.cancellationPolicy="cancellation_policy",e.refundPolicy="refund_policy",e.duplicateCharge="duplicate_charge",e.electronicEvidence="electronic_evidence",e.shippingDetails="shipping_details",e.additionalStatement="additional_statement"}(l||(l={}));const r=class{constructor(a){e(this,a),this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))},this.handleFileSelection=e=>{const a=e.target,t=a.name,i=a.files;for(const e of i)this.documentList.push(new n(e,t))},this.disputeResponse=void 0,this.form=void 0,this.errors={},this.documentList=[],this.acceptedTerms=!1,this.acceptedTermsErrorText=void 0}async validateAndSubmit(e){this.form.validateAndSubmit((a=>e(a,this.documentList,l.additionalStatement)))}componentWillLoad(){this.form=new c(s)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e;return a("div",{key:"b87dba6b6f0cfd8be3bd034996ad0848f31df3da"},a("div",{key:"b2af872dd182dede7cb2c697aa8297acc49eb6c1",class:"row gy-3"},a("div",{key:"34815036600a5030f388c0dcb840ab7f4db0b66f",class:"col-12"},a("h2",{key:"c7922a6dd81112aefc028d1f7662aed993cd4c58",class:"h5",part:d},"Additional Evidence")),a("div",{key:"1e760ad49f1a7494181b4658f8e73a3f6ede2a22",class:"col-12"},a("form-control-textarea",{key:"7226c1a3ef90a9f2db529f20470678bf8277738f",label:"Is there anything else you would like to say about this dispute?",name:"additional_statement",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.additional_statement,inputHandler:this.inputHandler,errorText:this.errors.additional_statement})),a("div",{key:"cbf8886bd32f9859e6cbe75d5c499ea3eb23aea3",class:"col-12"},a("form-control-file-v2",{key:"05d52880aa75af84bab03122ef39c2fbc0d0cf7b",label:"Additional files",name:"uncategorized_file",multiple:!0,helpText:"Upload any additional pieces of evidence that have not already been provided.",onChange:this.handleFileSelection}))))}},f=t({cancellation_policy_disclosure:i().nullable(),cancellation_rebuttal:i().nullable()}),h=class{constructor(a){e(this,a),this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))},this.handleFileSelection=e=>{const a=e.target,t=a.name,i=a.files;for(const e of i)this.documentList.push(new n(e,t))},this.disputeResponse=void 0,this.form=void 0,this.errors={},this.documentList=[]}async validateAndSubmit(e){this.form.validateAndSubmit((a=>e(a,this.documentList,l.cancellationPolicy)))}componentWillLoad(){this.form=new c(f)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t;return a("div",{key:"e4e9bc25a430c01e60345523341a52e343d8ada8"},a("div",{key:"3a22fcf75e13235e40b30686cc953a5c7963f676",class:"row gy-3"},a("div",{key:"88cfd3d1fdc811e20367caa917ee88a1531fae96",class:"col-12"},a("h2",{key:"56030d5fb77119d324b33c8290e62ca220425afc",class:"h5",part:d},"Cancellation Policy")),a("div",{key:"816d7868525662ae14d549852c816840933a15e6",class:"col-12"},a("form-control-textarea",{key:"165335b23db8c03976da96f1a369f28f1ad46505",label:"Cancellation Policy Disclosure",name:"cancellation_policy_disclosure",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.cancellation_policy_disclosure,inputHandler:this.inputHandler,errorText:this.errors.cancellation_policy_disclosure})),a("div",{key:"b7f0333145ef1c1f3a1a6bd69f0e01a199f09da6",class:"col-12"},a("form-control-textarea",{key:"a456a76fd6745bd6386787e69fee81b7b48c7dc2",label:"Cancellation Rebuttal",name:"cancellation_rebuttal",defaultValue:null===(t=this.disputeResponse)||void 0===t?void 0:t.cancellation_rebuttal,inputHandler:this.inputHandler,errorText:this.errors.cancellation_rebuttal})),a("div",{key:"929e6f0e5fee8e6c4be4558e82b22a15806c1723",class:"col-12"},a("form-control-file-v2",{key:"661504e19c6d2304a93a95f716b6b215832c4a90",label:"Upload Cancellation Policy",name:"cancellation_policy_file",onChange:this.handleFileSelection}))))}},b=t({customer_name:i().nullable(),customer_email_address:i().nullable(),customer_billing_address:i().nullable()}),u=class{constructor(a){e(this,a),this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))},this.handleFileSelection=e=>{const a=e.target,t=a.name,i=a.files;for(const e of i)this.documentList.push(new n(e,t))},this.disputeResponse=void 0,this.form=void 0,this.errors={},this.documentList=[]}async validateAndSubmit(e){this.form.validateAndSubmit((a=>e(a,this.documentList,l.customerDetails)))}componentWillLoad(){this.form=new c(b)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t,i;return a("div",{key:"f3b9a18d93cea09e6c9f7a134ed566ad12887839"},a("div",{key:"f9d3594930e9ae5d5907462bbe76c242019a19bc",class:"row gy-3"},a("div",{key:"809f4e25c8a4d8652ae4711a33321b17d35f5796",class:"col-12"},a("h2",{key:"56f784698452620cb30b532840b02ee2ca3b6a7a",class:"h5",part:d},"Customer Details")),a("div",{key:"6775574f0e8f1047a11e3e9594f9f237aee09aa2",class:"col-12"},a("form-control-text",{key:"4fc621b96baed074292ccbe8507a58d18f005237",label:"Full Name",name:"customer_name",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.customer_name,inputHandler:this.inputHandler,errorText:this.errors.customer_name})),a("div",{key:"f57ace60afc3a74711dc98ea054345413ff51d48",class:"col-12"},a("form-control-text",{key:"31a88ff6476ecd98fd6def5c39778940b448da51",label:"Email",name:"customer_email_address",defaultValue:null===(t=this.disputeResponse)||void 0===t?void 0:t.customer_email_address,inputHandler:this.inputHandler,errorText:this.errors.customer_email_address})),a("div",{key:"3ea9b1729c1a516fdbf33b28674e33a5ec5f200a",class:"col-12"},a("form-control-textarea",{key:"6eb19b40b3a514db9e1ead3e57832da37d791db6",label:"Billing Address",name:"customer_billing_address",defaultValue:null===(i=this.disputeResponse)||void 0===i?void 0:i.customer_billing_address,inputHandler:this.inputHandler,errorText:this.errors.customer_billing_address})),a("div",{key:"363371261754410c5548fc9286a5d9edbec5e4a0",class:"col-12"},a("form-control-file-v2",{key:"bf3976ab48c50bb7cd6fd7c29a39a36bee8a70c5",label:"Customer Signature",name:"customer_signature",onChange:this.handleFileSelection})),a("div",{key:"7a85113b3a4c95e0571759f040a63757eead2788",class:"col-12"},a("form-control-file-v2",{key:"686b82077404ce7c345a51b4c572452fa0491b7d",label:"Customer Communication",name:"customer_communication",onChange:this.handleFileSelection}))))}},v=t({duplicate_charge_original_payment_id:i().nullable(),duplicate_charge_explanation:i().nullable()}),p=class{constructor(a){e(this,a),this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))},this.handleFileSelection=e=>{const a=e.target,t=a.name,i=a.files;for(const e of i)this.documentList.push(new n(e,t))},this.disputeResponse=void 0,this.form=void 0,this.errors={},this.documentList=[]}async validateAndSubmit(e){this.form.validateAndSubmit((a=>e(a,this.documentList,l.duplicateCharge)))}componentWillLoad(){this.form=new c(v)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t;return a("div",{key:"a6729feaab17744bbd3c256b5bdee89939c9be55"},a("div",{key:"d3729ddaa5983766f87aa634399704c52ee4979c",class:"row gy-3"},a("div",{key:"9c9288b63b688e83f53353a110ec31c078068312",class:"col-12"},a("h2",{key:"431878c838002b8a15d202793ab3701cbc81df7e",class:"h5",part:d},"Duplicate Charge")),a("div",{key:"f8b9a8dbb78777cb9c63a4296e41fdfe4edb2c7c",class:"col-12"},a("form-control-text",{key:"8dc4ddad5ab952a09c99deef8734374891075575",label:"Original Payment ID",name:"duplicate_charge_original_payment_id",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.duplicate_charge_original_payment_id,inputHandler:this.inputHandler,errorText:this.errors.duplicate_charge_original_payment_id})),a("div",{key:"c5445211510dbdf1f6b547ef82ce128d3a316554",class:"col-12"},a("form-control-textarea",{key:"a650bf8ca839ae86d00d9df0eb77815a63ebafd6",label:"Duplicate Charge Explanation",name:"duplicate_charge_explanation",defaultValue:null===(t=this.disputeResponse)||void 0===t?void 0:t.duplicate_charge_explanation,inputHandler:this.inputHandler,errorText:this.errors.duplicate_charge_explanation})),a("div",{key:"47625dc4a02045230234220e24295b8260f38043",class:"col-12"},a("form-control-file-v2",{key:"242b9ae244cc8fbad3721053a50042a76d8f40ad",label:"Duplicate Charge Documentation",name:"duplicate_charge_documentation",onChange:this.handleFileSelection}))))}},m=t({customer_purchase_ip_address:i().nullable()}),y=class{constructor(a){e(this,a),this.handleFileSelection=e=>{const a=e.target,t=a.name,i=a.files;for(const e of i)this.documentList.push(new n(e,t))},this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))},this.disputeResponse=void 0,this.form=void 0,this.errors={},this.documentList=[]}async validateAndSubmit(e){this.form.validateAndSubmit((a=>e(a,this.documentList,l.electronicEvidence)))}componentWillLoad(){this.form=new c(m)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e;return a("div",{key:"5521599b8e6d23412a06b4a9c6f5360f92ec9c12"},a("div",{key:"b1863623b1ffa07c18940d744184c7678515e1f3",class:"row gy-3"},a("div",{key:"131410f3882f96e0346776db4c213e2ef17b546e",class:"col-12"},a("h2",{key:"30120f59c8a7896f5294b4ccaf09165c1d28771e",class:"h5",part:d},"Electronic Evidence")),a("div",{key:"7211111acc93fd40b4140d49d4b1e3d268d13829",class:"col-12"},a("form-control-text",{key:"eeb3aeaa550569db5c977f3d2ef68b879be446c6",label:"Purchase IP Address",name:"customer_purchase_ip_address",helpText:"The IP address used by the customer during the purchase.",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.customer_purchase_ip_address,inputHandler:this.inputHandler,errorText:this.errors.customer_purchase_ip_address})),a("div",{key:"7f98aae20a9f87d4f4f0b42f86350bb1468cc767",class:"col-12"},a("form-control-file-v2",{key:"342b76753a12784852f2eb087941796874b90d39",label:"Activity Logs",name:"activity_log",helpText:"Any server or activity logs that provide evidence of the customer's access to or download of the purchased digital product. This information should encompass IP addresses, relevant timestamps, and any detailed records of activity.",onChange:this.handleFileSelection,errorText:this.errors.activity_log}))))}},_=t({product_description:i().nullable(),service_date:i().nullable()}),k=class{constructor(a){e(this,a),this.handleFileSelection=e=>{const a=e.target,t=a.name,i=a.files;for(const e of i)this.documentList.push(new n(e,t))},this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))},this.disputeResponse=void 0,this.form=void 0,this.errors={},this.documentList=[]}async validateAndSubmit(e){this.form.validateAndSubmit((a=>e(a,this.documentList,l.productOrService)))}componentWillLoad(){this.form=new c(_)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t;return a("div",{key:"ad4e3c33f8bc1c295ea51257afc41e6247537022"},a("div",{key:"a87f06ff09eadf63ee358a84759d6bd9223c76ec",class:"row gy-3"},a("div",{key:"a3053e1d5e2192786fab4592a3ef5a6614fa0de3",class:"col-12"},a("h2",{key:"e2b97bf1d8e6f964306f1d2292f00daf5f4e997d",class:"h5",part:d},"Product & Service Details")),a("div",{key:"0f4e0c72a0b145ec689e7f0a96df86d10be38423",class:"col-12"},a("form-control-text",{key:"dd6a94690ac454a35d3b9ddeadde3ae5926ae170",label:"Product Description",name:"product_description",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.product_description,inputHandler:this.inputHandler,errorText:this.errors.product_description})),a("div",{key:"d9c437dfc8e02bfacc27143e16b753b7940db409",class:"col-12"},a("form-control-text",{key:"42e638a983cf713f0055d409b305b8fca2ac6bda",label:"Service Date",name:"service_date",defaultValue:null===(t=this.disputeResponse)||void 0===t?void 0:t.service_date,inputHandler:this.inputHandler,errorText:this.errors.service_date})),a("div",{key:"df1f9b6153433e60973723ab20139fe3c739a4cf",class:"col-12"},a("form-control-file-v2",{key:"6a03cdafcf9d8a4913eaf9b876500792022c58f4",label:"Service Documentation",name:"service_documentation",onChange:this.handleFileSelection,errorText:this.errors.service_documentation}))))}},g=t({refund_policy_disclosure:i().nullable(),refund_refusal_explanation:i().nullable()}),x=class{constructor(a){e(this,a),this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))},this.handleFileSelection=e=>{const a=e.target,t=a.name,i=a.files;for(const e of i)this.documentList.push(new n(e,t))},this.disputeResponse=void 0,this.form=void 0,this.errors={},this.documentList=[]}async validateAndSubmit(e){this.form.validateAndSubmit((a=>e(a,this.documentList,l.refundPolicy)))}componentWillLoad(){this.form=new c(g)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t;return a("div",{key:"54885e971c2d21be1d3c2a4654616e6406a425e5"},a("div",{key:"aefe693ee221d72f44a87806ca5ddc257bbf4073",class:"row gy-3"},a("div",{key:"5a4c220a9cbcd8accd8dd3a3e9c5db74f520f483",class:"col-12"},a("h2",{key:"fee6747bc31eeee7648c5af1fec4e86dd33d2f21",class:"h5",part:d},"Refund Policy and Receipt")),a("div",{key:"70f2d38f553a77c6e5a4e2ec25bed11665cd56e5",class:"col-12"},a("form-control-textarea",{key:"a0635424932726c980d68bad1c7758159d382575",label:"Refund Policy Disclosure",name:"refund_policy_disclosure",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.refund_policy_disclosure,inputHandler:this.inputHandler})),a("div",{key:"b63f29f32b4a2bb35ec2dbeb2d26695bd58d2c32",class:"col-12"},a("form-control-textarea",{key:"41787fd17b44810eb19945ce7ea5f340ee40ea98",label:"Refund Refusal Explanation",name:"refund_refusal_explanation",defaultValue:null===(t=this.disputeResponse)||void 0===t?void 0:t.refund_refusal_explanation,inputHandler:this.inputHandler})),a("div",{key:"acff917b1af1babc1f93cf0541d9d2f22f8f4460",class:"col-12"},a("form-control-file-v2",{key:"52bee3670ca1cae28fd2d07033796245b13306d4",label:"Upload Refund Policy",name:"refund_policy",onChange:this.handleFileSelection})),a("div",{key:"6e63ed1828f61cfec3882fba0ce0439668111a7a",class:"col-12"},a("form-control-file-v2",{key:"99a13cfd6c0e662794c013368209c88065a7e404",label:"Upload Receipt",name:"receipt",onChange:this.handleFileSelection}))))}},j=t({shipping_carrier:i().nullable(),shipping_tracking_number:i().nullable(),shipping_date:i().nullable(),shipping_address:i().nullable()}),w=class{constructor(a){e(this,a),this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))},this.handleFileSelection=e=>{const a=e.target,t=a.name,i=a.files;for(const e of i)this.documentList.push(new n(e,t))},this.disputeResponse=void 0,this.form=void 0,this.errors={},this.documentList=[]}async validateAndSubmit(e){this.form.validateAndSubmit((a=>e(a,this.documentList,l.shippingDetails)))}componentWillLoad(){this.form=new c(j)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t,i,c;return a("div",{key:"b2d81ec85e534890a691547a2ec8d28dcc61e784"},a("div",{key:"3b49e0e3647e66196f586c2e58699e878658c9f3",class:"row gy-3"},a("div",{key:"ba6f52f0c2a44c7a39641cb9cb51bf799892a78f",class:"col-12"},a("h2",{key:"70a108aa928d392d47bf72a32c3a2c71538fc068",class:"h5",part:d},"Shipping Details")),a("div",{key:"f5e1b4c54c4d59b7b558fe817d23e5cbc71acec1",class:"col-12"},a("form-control-text",{key:"32da6155a22359d291506e7d864b0b09fda34f99",label:"Shipping Carrier Name",name:"shipping_carrier",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.shipping_carrier,inputHandler:this.inputHandler,errorText:this.errors.shipping_carrier})),a("div",{key:"55a1082190a09f2723ffbcb6075c18a094ddf5e5",class:"col-12"},a("form-control-text",{key:"63e0883c7a8f9e01396b7c395eeac7d8612d8dcf",label:"Tracking Number",name:"shipping_tracking_number",defaultValue:null===(t=this.disputeResponse)||void 0===t?void 0:t.shipping_tracking_number,inputHandler:this.inputHandler,errorText:this.errors.shipping_tracking_number})),a("div",{key:"0d2f87a06e90191c274d96aed25dbc106ea3c347",class:"col-12"},a("form-control-date",{key:"33e5da0712b67146147eea9a2de66f0b05d64a69",label:"Date Shipped",name:"shipping_date",defaultValue:null===(i=this.disputeResponse)||void 0===i?void 0:i.shipping_date,inputHandler:this.inputHandler,errorText:this.errors.shipping_date})),a("div",{key:"9aff91d4c4055cfe55a35fc28cf07167b4767992",class:"col-12"},a("form-control-textarea",{key:"840beacaf520e1155cc2acc21d7e2eeaba2dacca",label:"Shipping Address",name:"shipping_address",defaultValue:null===(c=this.disputeResponse)||void 0===c?void 0:c.shipping_address,inputHandler:this.inputHandler,errorText:this.errors.shipping_address})),a("div",{key:"244eb1c41ee0a26c3ba8b7754404b9c736f0e1a2",class:"col-12"},a("form-control-file-v2",{key:"e09e9d04a0a5bb26232271fa29dbc5fcf1549dec",label:"Shipping Documentation",name:"shipping_documentation",onChange:this.handleFileSelection}))))}};export{r as justifi_additional_statement,h as justifi_cancellation_policy,u as justifi_customer_details,p as justifi_duplicate_charge,y as justifi_electronic_evidence,k as justifi_product_or_service,x as justifi_refund_policy,w as justifi_shipping_details}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as o}from"./p-2783e363.js";import{e as r}from"./p-ef4c49b9.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 i}from"./p-2783e363.js";import{m as o,P as r}from"./p-6ab77b89.js";import"./p-16d2932d.js";import"./p-56f6ce4c.js";import"./p-6fbd6abb.js";import{P as e}from"./p-3db8b3c7.js";import{C as a,a as p}from"./p-14c91ffd.js";import{g as h,a as d}from"./p-8115b2f4.js";import{E as c}from"./p-9c2e00cc.js";import{c as n,J as m}from"./p-5456a794.js";import"./p-0e180654.js";import"./p-0f23ff58.js";import"./p-abdbcd8e.js";import"./p-ef4c49b9.js";import"./p-a07b1816.js";const u=class{constructor(i){t(this,i),this.errorEvent=s(this,"error-event",7),this.handleErrorEvent=t=>{this.errorMessage=t.detail.message,this.errorEvent.emit(t.detail)},this.payoutId=void 0,this.authToken=void 0,this.getPayout=void 0,this.getPayoutCSV=void 0,this.errorMessage=null}componentWillLoad(){n(),this.analytics=new m(this),this.initializeServices()}disconnectedCallback(){this.analytics.cleanup()}propChanged(){this.initializeServices()}initializeServices(){this.payoutId&&this.authToken?(this.getPayout=(({id:t,authToken:s,service:i})=>async({onSuccess:o,onError:r})=>{var p;try{const c=await i.fetchPayout(t,s);c.error?r({error:h(c.error),code:d(null===(p=c.error)||void 0===p?void 0:p.code),severity:a.ERROR}):o(new e(c.data))}catch(t){r({error:h(t),code:d(null==t?void 0:t.code),severity:a.ERROR})}})({id:this.payoutId,authToken:this.authToken,service:new r}),this.getPayoutCSV=o({authToken:this.authToken,service:new r})):(this.errorMessage="Failed to load payout details. payoutId or authToken is not provided.",this.errorEvent.emit({message:this.errorMessage,errorCode:p.MISSING_PROPS,severity:a.ERROR}))}render(){return this.errorMessage?c(this.errorMessage):i("payout-details-core",{getPayout:this.getPayout,getPayoutCSV:this.getPayoutCSV,"onError-event":this.handleErrorEvent})}static get watchers(){return{payoutId:["propChanged"],authToken:["propChanged"]}}};export{u as justifi_payout_details}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as t}from"./p-
|
|
1
|
+
import{c as t}from"./p-0f23ff58.js";import{A as c}from"./p-0e180654.js";import"./p-16d2932d.js";import"./p-56f6ce4c.js";import"./p-6fbd6abb.js";import"./p-3db8b3c7.js";class o{async fetchCheckout(o,e){const s=`checkouts/${e}`;return c({authToken:o,apiOrigin:t.proxyApiOrigin}).get(s)}async fetchCheckouts(o,e,s,p){p||(p=t.proxyApiOrigin);const n={Account:o};return c({authToken:e,apiOrigin:p}).get("checkouts",s,null,n)}async complete(o,e,s){const p=`checkouts/${e}/complete`,n={payment_mode:s.payment_mode};return s.payment_token&&(n.payment_token=s.payment_token),c({authToken:o,apiOrigin:t.proxyApiOrigin}).post(p,n)}}export{o as C}
|
|
@@ -0,0 +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 m,x as d,y as p}from"./p-af834eb8.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:m.required("Enter phone number"),dob_full:d(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:m.nullable(),dob_full:d(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 s,c as i,h as t}from"./p-2783e363.js";import{b as e}from"./p-f4722957.js";import{c as a}from"./p-0f23ff58.js";import{C as o}from"./p-16d2932d.js";import{C as r}from"./p-14c91ffd.js";import{i as c,v as d,H as h,a as n}from"./p-7a975a3c.js";import{B as l}from"./p-32a5bf4e.js";import{S as f}from"./p-bfe9748b.js";import{t as v}from"./p-ef4c49b9.js";import{S as m}from"./p-0cc6c539.js";import{H as b}from"./p-8a94d2c8.js";import"./p-f20b6ce1.js";const p=class{constructor(t){s(this,t),this.submitEvent=i(this,"submit-event",7),this.errorEvent=i(this,"error-event",7),this.loaded=i(this,"loaded",7),this.completeCheckout=async s=>{this.complete({payment:s,onSuccess:this.onSubmitted,onError:this.onError})},this.onSubmitted=s=>{this.submitEvent.emit({response:s}),this.renderState="success"},this.onError=({error:s,code:i,severity:t})=>{this.serverError=s,this.errorEvent.emit({errorCode:i,message:s,severity:t}),this.renderState="error"},this.iframeOrigin=a.iframeOrigin,this.authToken=void 0,this.getCheckout=void 0,this.complete=void 0,this.checkoutId=void 0,this.disableCreditCard=void 0,this.disableBankAccount=void 0,this.disableBnpl=void 0,this.disablePaymentMethodGroup=void 0,this.hasLoadedFonts=!1,this.checkout=void 0,this.serverError=void 0,this.renderState="loading",this.creatingNewPaymentMethod=!1,this.insuranceToggled=!1}async fillBillingForm(s){this.paymentMethodOptionsRef.fillBillingForm(s)}componentWillLoad(){this.getCheckout&&(this.fetchData(),c("set",(s=>{const i=n[s];void 0!==i&&(this.insuranceToggled=i,this.fetchData())})))}fetchData(){this.renderState="loading",this.getCheckout({onSuccess:({checkout:s})=>{this.checkout=new o(s);const{status:i}=this.checkout;this.loaded.emit({checkout_status:i}),this.renderState="success"},onError:({error:s,code:i,severity:t})=>{this.serverError=s,this.renderState="error",this.errorEvent.emit({errorCode:i,message:s,severity:t})}})}async submit(s){var i;s.preventDefault(),this.renderState="loading";const t=d(),e=await this.paymentMethodOptionsRef.resolvePaymentMethod(t);e.validationError?this.renderState="error":e.error?(this.renderState="error",this.serverError=e.error.message,this.onError({code:e.error.code,error:e.error.message,severity:r.ERROR})):e.token?this.completeCheckout({payment_mode:"ecom",payment_token:e.token}):"success"===(null===(i=e.bnpl)||void 0===i?void 0:i.status)?this.completeCheckout({payment_mode:"bnpl"}):this.renderState="error"}get isLoading(){return"loading"===this.renderState}get isError(){return"error"===this.renderState}get paymentType(){var s,i,e,a,o;return t("section",null,t("div",{class:!this.isLoading&&"visually-hidden"},t(m,{height:"300px"})),t("div",{class:this.isLoading&&"visually-hidden"},t("justifi-payment-method-options",{ref:s=>this.paymentMethodOptionsRef=s,"show-card":!this.disableCreditCard,"show-ach":!this.disableBankAccount,"show-bnpl":!this.disableBnpl,paymentMethodGroupId:null===(s=this.checkout)||void 0===s?void 0:s.payment_method_group_id,"show-saved-payment-methods":!this.disablePaymentMethodGroup,bnpl:null===(i=this.checkout)||void 0===i?void 0:i.bnpl,authToken:this.authToken,"account-id":null===(e=this.checkout)||void 0===e?void 0:e.account_id,savedPaymentMethods:(null===(a=this.checkout)||void 0===a?void 0:a.payment_methods)||[],paymentAmount:null===(o=this.checkout)||void 0===o?void 0:o.payment_amount,insuranceToggled:this.insuranceToggled})))}get summary(){var s,i;return t("section",null,t("div",{class:!this.isLoading&&"visually-hidden"},t(m,{height:"24px"})),t("div",{class:this.isLoading&&"visually-hidden"},t("div",{part:v},null===(s=this.checkout)||void 0===s?void 0:s.payment_description),t("div",null,t("span",{part:v},"Total")," ",t("span",{part:v},e(+(null===(i=this.checkout)||void 0===i?void 0:i.total_amount))))))}render(){return t(f,{key:"7ea5d909a307d335327b652bc247718a7b2973ff"},t("div",{key:"0f7e9baffebadad78c28c318a770b681cabd7579",class:"row gy-3 jfi-checkout-core"},t("div",{key:"2453b63f1a3cffe56a85b38005a8e3cabd666f47",class:"col-12"},t(h,{key:"ea4bbc494746c1042d8976aa72f66ebc20f257ef",text:"Summary",class:"fs-5 fw-bold pb-3"}),this.summary),t("div",{key:"bee560cf279315e76551513c5135ab1a0b180de4",class:"col-12"},t("slot",{key:"3b2260c580a2a3a4b8bafe46d215cd5821b17815",name:"insurance"})),t("div",{key:"6d0f4b6ea7ea611fe4eacc13e6cf1bf2cddfba64",class:"col-12 mt-4"},t(h,{key:"1eae72a345d5f255573237cf45b4b6359ff5729c",text:"Payment",class:"fs-5 fw-bold pb-3"}),t(b,{key:"89a6fefa7693ef3094128485531cb7c57a314b36",text:"Select payment type",class:"fs-6 fw-bold lh-lg"}),t("div",{key:"ffe09e15c81fbb821fc99031c13b753bfa943596",class:"d-flex flex-column"},this.paymentType)),t("div",{key:"8b635fa70dbaadc8530ccb7105ed9590ce87e2ed",class:"col-12"},t("div",{key:"9caa17a123c1ff08391c48632facfb4fe33809d2",class:"d-flex justify-content-end"},t(l,{key:"53faa444e15b719e9e41d8ce01295f841b9507d2",type:"submit",variant:"primary",onClick:s=>this.submit(s),disabled:this.isLoading,isLoading:this.isLoading,style:{width:"100%"}},"Pay")))))}};export{p as justifi_checkout_core}
|