@justifi/webcomponents 5.4.0 → 5.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{Checkout-eef27045.js → Checkout-f10bed8c.js} +1 -1
- package/dist/cjs/{Payment-c47ed1e1.js → Payment-3f483b7a.js} +1 -1
- package/dist/cjs/{SubAccount-9babbfd3.js → SubAccount-a27d4e9f.js} +4 -2
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -3
- package/dist/cjs/{badge-591df67f.js → badge-364e6311.js} +1 -1
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +11 -11
- package/dist/cjs/bank-account-form_9.cjs.entry.js +16 -16
- package/dist/cjs/billing-form_3.cjs.entry.js +11 -11
- package/dist/cjs/{business-additional-questions-schema-5c100f58.js → business-additional-questions-schema-8568cb79.js} +2 -2
- package/dist/cjs/business-details-core.cjs.entry.js +3 -3
- package/dist/cjs/{business-identity-schema-3b4d16f1.js → business-identity-schema-518ab6eb.js} +2 -2
- package/dist/cjs/{business.service-27f67b29.js → business.service-6e8a29a2.js} +2 -2
- package/dist/cjs/{button-7f272a63.js → button-4a9fd41e.js} +1 -1
- package/dist/cjs/{check-pkg-version-52c7c2ab.js → check-pkg-version-75cc34ca.js} +1 -1
- package/dist/cjs/{checkout.service-46a5b9f2.js → checkout.service-61616349.js} +3 -3
- package/dist/cjs/checkouts-list-core.cjs.entry.js +10 -10
- package/dist/cjs/{checkouts-table-7f2081df.js → checkouts-table-14fcebd0.js} +3 -3
- package/dist/cjs/{custom-popper.cjs.entry.js → custom-popper_4.cjs.entry.js} +141 -2
- package/dist/cjs/{dispute.service-a36c48bf.js → dispute.service-b68fdcc4.js} +3 -3
- package/dist/cjs/{event-types-921f3555.js → event-types-5a6ce2b0.js} +2 -2
- package/dist/cjs/form-alert_5.cjs.entry.js +5 -5
- package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/form-control-date.cjs.entry.js +4 -4
- package/dist/cjs/{form-control-error-text-377bcf59.js → form-control-error-text-3cff9b7b.js} +1 -1
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
- package/dist/cjs/{form-control-help-text-f7369e16.js → form-control-help-text-94ffed2c.js} +1 -1
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +85 -0
- package/dist/cjs/form-control-monetary.cjs.entry.js +27 -40
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +5 -5
- package/dist/cjs/form-control-number.cjs.entry.js +5 -5
- package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
- package/dist/cjs/{get-business-0bd063d2.js → get-business-d8f5db51.js} +2 -2
- package/dist/cjs/{get-payout-csv-c1c7f03f.js → get-payout-csv-f0c04d96.js} +3 -3
- package/dist/cjs/{get-subaccounts-c1d559a0.js → get-subaccounts-330a9e85.js} +3 -3
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +5 -5
- package/dist/cjs/{header-1-a63a16d5.js → header-1-43b2b905.js} +1 -1
- package/dist/cjs/{header-3-a6e0f274.js → header-3-eb250a04.js} +1 -1
- package/dist/cjs/{index.esm-a397536a.js → index.esm-544c08fd.js} +0 -122
- package/dist/cjs/{insurance-state-ff4fca5a.js → insurance-state-71f8b653.js} +1 -1
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +12 -12
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +17 -17
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +10 -10
- package/dist/cjs/justifi-business-details.cjs.entry.js +6 -6
- package/dist/cjs/justifi-business-form.cjs.entry.js +14 -14
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +8 -8
- package/dist/cjs/justifi-checkout.cjs.entry.js +9 -9
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +6 -6
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +12 -12
- package/dist/cjs/justifi-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +8 -8
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +13 -13
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +4 -4
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +20 -22
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payment-details.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payments-list.cjs.entry.js +12 -12
- package/dist/cjs/justifi-payout-details.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +13 -13
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +122 -0
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +4 -4
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +7 -7
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +7 -7
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +9 -6
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +12 -12
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +9 -9
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-53904238.js → package-459e93fd.js} +2 -2
- package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
- package/dist/cjs/{parts-3118ab4b.js → parts-5ca90f9a.js} +2 -0
- package/dist/cjs/payment-details-core.cjs.entry.js +13 -13
- package/dist/cjs/{payment.service-fedf131a.js → payment.service-ff43bfc4.js} +3 -3
- package/dist/cjs/payments-list-core.cjs.entry.js +11 -11
- package/dist/cjs/{payments-status-96156930.js → payments-status-075aad0a.js} +1 -1
- package/dist/cjs/{payments-table-6f87d43e.js → payments-table-802d767d.js} +3 -3
- package/dist/cjs/payout-details-core.cjs.entry.js +8 -8
- package/dist/cjs/payouts-list-core.cjs.entry.js +11 -11
- package/dist/cjs/{payouts-status-aa6842ac.js → payouts-status-ced97c2b.js} +1 -1
- package/dist/cjs/{payouts-table-d4c8bbbc.js → payouts-table-194a4343.js} +3 -3
- package/dist/cjs/{schema-validations-47a256f4.js → schema-validations-a7cefbdf.js} +1 -1
- package/dist/cjs/{skeleton-32198b92.js → skeleton-e8aa41d0.js} +1 -1
- package/dist/cjs/{spinner-a5c0f3c0.js → spinner-580453f2.js} +1 -1
- package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +10 -10
- package/dist/cjs/{terminal-orders-table-eb95b278.js → terminal-orders-table-4df19497.js} +3 -3
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
- package/dist/cjs/{terminal.service-ac44fc14.js → terminal.service-56397d88.js} +3 -3
- package/dist/cjs/terminals-list-core.cjs.entry.js +10 -10
- package/dist/cjs/{terminals-table-3f0c33ea.js → terminals-table-9b313566.js} +14 -2
- package/dist/cjs/{utils-337befa9.js → utils-54719fda.js} +8 -2
- package/dist/cjs/{utils-97041614.js → utils-f8714daa.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/actions/business/get-business.js +2 -2
- package/dist/collection/actions/terminal/get-terminal-models.js +2 -2
- package/dist/collection/actions/terminal/order-terminals.js +2 -2
- package/dist/collection/api/Terminal.js +3 -1
- package/dist/collection/api/services/business.service.js +2 -2
- package/dist/collection/collection-manifest.json +6 -5
- package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +1 -1
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +1 -1
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +1 -1
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +1 -1
- package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +255 -0
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
- package/dist/collection/components/{billing-forms → checkout/billing-forms}/billing-form/billing-form.js +6 -6
- package/dist/collection/components/{billing-forms → checkout/billing-forms}/billing-form-schema.js +6 -2
- package/dist/collection/components/{billing-forms → checkout/billing-forms}/billing-form-wrapper.js +7 -7
- package/dist/collection/components/{billing-forms → checkout/billing-forms}/postal-form/postal-form.js +5 -5
- package/dist/collection/components/checkout/card-form/card-form.js +2 -2
- package/dist/collection/components/checkout/checkout-core.js +5 -5
- package/dist/collection/components/checkout/checkout.js +6 -6
- package/dist/collection/components/checkout/new-payment-method.js +5 -5
- package/dist/collection/components/checkout/payment-method-options.js +5 -5
- package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
- package/dist/collection/components/checkout/saved-payment-method.js +1 -1
- package/dist/collection/components/checkout/sezzle-payment-method.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management.js +1 -1
- package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +1 -1
- package/dist/collection/components/order-terminals/order-terminals.js +23 -7
- package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
- package/dist/collection/components/payment-details/payment-details-core.js +7 -7
- package/dist/collection/components/payments-list/payments-list-core.js +1 -1
- package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
- package/dist/collection/components/payments-list/payments-list.js +1 -1
- package/dist/collection/components/payout-details/payout-details-core.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
- package/dist/collection/components/payouts-list/payouts-list.js +1 -1
- package/dist/collection/components/refund-payment/refund-payment-schema.js +16 -0
- package/dist/collection/components/{refund-form/refund-form.js → refund-payment/refund-payment.js} +26 -65
- package/dist/collection/components/refund-payment/refund-reason-options.js +19 -0
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
- package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-filters.js +23 -3
- package/dist/collection/components/terminals-list/terminals-list.js +1 -1
- package/dist/collection/components/terminals-list/terminals-status.js +5 -0
- package/dist/collection/components/terminals-list/terminals-table.js +7 -0
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +3 -3
- package/dist/collection/styles/parts.js +1 -0
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/filters/table-filters-menu.js +1 -1
- package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
- package/dist/collection/ui-components/form/form-control-date.js +2 -2
- package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
- package/dist/collection/ui-components/form/form-control-file.js +2 -2
- package/dist/collection/ui-components/form/form-control-monetary.js +72 -70
- package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
- package/dist/collection/ui-components/form/form-control-number.js +2 -2
- package/dist/collection/ui-components/form/form-control-radio.js +2 -2
- package/dist/collection/ui-components/form/form-control-select.js +2 -2
- package/dist/collection/ui-components/form/form-control-text.js +2 -2
- package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
- package/dist/collection/ui-components/form/hidden-input.js +1 -1
- package/dist/collection/ui-components/form/iframe-input.js +3 -3
- package/dist/collection/{components → ui-components}/pagination-menu/pagination-menu.js +4 -4
- package/dist/collection/utils/utils.js +8 -2
- package/dist/docs.json +396 -140
- package/dist/esm/{Checkout-2bc873fb.js → Checkout-ba139944.js} +1 -1
- package/dist/esm/{Payment-82d2f453.js → Payment-39bfdd06.js} +1 -1
- package/dist/esm/{SubAccount-0248b5ab.js → SubAccount-68403637.js} +4 -2
- package/dist/esm/additional-questions-details_5.entry.js +3 -3
- package/dist/esm/{badge-1555ad1d.js → badge-1be14e8c.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +11 -11
- package/dist/esm/bank-account-form_9.entry.js +16 -16
- package/dist/esm/billing-form_3.entry.js +11 -11
- package/dist/esm/{business-additional-questions-schema-df76728f.js → business-additional-questions-schema-56308a54.js} +2 -2
- package/dist/esm/business-details-core.entry.js +3 -3
- package/dist/esm/{business-identity-schema-0a78fc59.js → business-identity-schema-24fcc4ef.js} +2 -2
- package/dist/esm/{business.service-13890e74.js → business.service-999196a4.js} +2 -2
- package/dist/esm/{button-1e756c34.js → button-fcee4da7.js} +1 -1
- package/dist/esm/{check-pkg-version-0557a5c4.js → check-pkg-version-b4d631be.js} +1 -1
- package/dist/esm/{checkout.service-fe338804.js → checkout.service-e59354cc.js} +3 -3
- package/dist/esm/checkouts-list-core.entry.js +10 -10
- package/dist/esm/{checkouts-table-e339bf0c.js → checkouts-table-58604210.js} +3 -3
- package/dist/esm/{custom-popper.entry.js → custom-popper_4.entry.js} +140 -4
- package/dist/esm/{dispute.service-3e1320fe.js → dispute.service-8312d46a.js} +3 -3
- package/dist/esm/{event-types-359ef89e.js → event-types-1bc52f1f.js} +2 -2
- package/dist/esm/form-alert_5.entry.js +5 -5
- package/dist/esm/form-control-checkbox.entry.js +5 -5
- package/dist/esm/form-control-date.entry.js +4 -4
- package/dist/esm/{form-control-error-text-1391123f.js → form-control-error-text-176d20d8.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +5 -5
- package/dist/esm/{form-control-help-text-9918264e.js → form-control-help-text-83764e14.js} +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +81 -0
- package/dist/esm/form-control-monetary.entry.js +27 -40
- package/dist/esm/form-control-number-masked_2.entry.js +5 -5
- package/dist/esm/form-control-number.entry.js +5 -5
- package/dist/esm/form-control-radio.entry.js +3 -3
- package/dist/esm/{get-business-464419f6.js → get-business-b7511690.js} +2 -2
- package/dist/esm/{get-payout-csv-9021a002.js → get-payout-csv-74397995.js} +3 -3
- package/dist/esm/{get-subaccounts-6b048fd1.js → get-subaccounts-f8bd5c96.js} +3 -3
- package/dist/esm/gross-payment-chart-core.entry.js +5 -5
- package/dist/esm/{header-1-adb520cc.js → header-1-215a146f.js} +1 -1
- package/dist/esm/{header-3-ca58500e.js → header-3-afd16f23.js} +1 -1
- package/dist/esm/{index.esm-0b6849c2.js → index.esm-feedf26f.js} +1 -122
- package/dist/esm/{insurance-state-24af6ddb.js → insurance-state-d2df8e88.js} +1 -1
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +12 -12
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +17 -17
- package/dist/esm/justifi-additional-statement_8.entry.js +10 -10
- package/dist/esm/justifi-business-details.entry.js +6 -6
- package/dist/esm/justifi-business-form.entry.js +14 -14
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
- package/dist/esm/justifi-checkout-core.entry.js +8 -8
- package/dist/esm/justifi-checkout.entry.js +9 -9
- package/dist/esm/justifi-checkouts-list-filters.entry.js +6 -6
- package/dist/esm/justifi-checkouts-list.entry.js +12 -12
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
- package/dist/esm/justifi-dispute-management.entry.js +8 -8
- package/dist/esm/justifi-dispute-notification_3.entry.js +13 -13
- package/dist/esm/justifi-gross-payment-chart.entry.js +4 -4
- package/dist/esm/justifi-order-terminals.entry.js +20 -22
- package/dist/esm/justifi-owner-form_3.entry.js +9 -9
- package/dist/esm/justifi-payment-details.entry.js +9 -9
- package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -3
- package/dist/esm/justifi-payment-provisioning.entry.js +4 -4
- package/dist/esm/justifi-payments-list-filters.entry.js +4 -4
- package/dist/esm/justifi-payments-list.entry.js +12 -12
- package/dist/esm/justifi-payout-details.entry.js +9 -9
- package/dist/esm/justifi-payouts-list-filters.entry.js +4 -4
- package/dist/esm/justifi-payouts-list.entry.js +13 -13
- package/dist/esm/justifi-refund-payment.entry.js +118 -0
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +4 -4
- package/dist/esm/justifi-season-interruption-insurance.entry.js +7 -7
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +7 -7
- package/dist/esm/justifi-terminal-orders-list.entry.js +10 -10
- package/dist/esm/justifi-terminals-list-filters.entry.js +9 -6
- package/dist/esm/justifi-terminals-list.entry.js +12 -12
- package/dist/esm/justifi-tokenize-payment-method.entry.js +9 -9
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-25d5d805.js → package-53180f2a.js} +2 -2
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/{parts-ad835bef.js → parts-fd740f54.js} +2 -1
- package/dist/esm/payment-details-core.entry.js +13 -13
- package/dist/esm/{payment.service-2967c84b.js → payment.service-b9ec64c9.js} +3 -3
- package/dist/esm/payments-list-core.entry.js +11 -11
- package/dist/esm/{payments-status-d011e114.js → payments-status-74d22728.js} +1 -1
- package/dist/esm/{payments-table-3e33b856.js → payments-table-26054032.js} +3 -3
- package/dist/esm/payout-details-core.entry.js +8 -8
- package/dist/esm/payouts-list-core.entry.js +11 -11
- package/dist/esm/{payouts-status-181276c5.js → payouts-status-29d31099.js} +1 -1
- package/dist/esm/{payouts-table-199bdf64.js → payouts-table-7f31db9d.js} +3 -3
- package/dist/esm/{schema-validations-b1aec6a0.js → schema-validations-5af4266a.js} +1 -1
- package/dist/esm/{skeleton-0cde7cb6.js → skeleton-ab3f676e.js} +1 -1
- package/dist/esm/{spinner-342e71ff.js → spinner-27479716.js} +1 -1
- package/dist/esm/table-filters-menu.entry.js +3 -3
- package/dist/esm/terminal-orders-list-core.entry.js +10 -10
- package/dist/esm/{terminal-orders-table-2884305a.js → terminal-orders-table-1f6156c9.js} +3 -3
- package/dist/esm/terminal-quantity-selector.entry.js +2 -2
- package/dist/esm/{terminal.service-4fab5adc.js → terminal.service-fff19896.js} +3 -3
- package/dist/esm/terminals-list-core.entry.js +10 -10
- package/dist/esm/{terminals-table-4e1644e8.js → terminals-table-7d54e359.js} +14 -2
- package/dist/esm/{utils-96c6292c.js → utils-96d9c205.js} +1 -1
- package/dist/esm/{utils-c37124fc.js → utils-dc86cdde.js} +8 -3
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/SubAccount.js +3 -1
- package/dist/module/additional-questions.js +4 -4
- package/dist/module/additional-statement.js +1 -1
- package/dist/module/bank-account-document-inputs.js +1 -1
- package/dist/module/bank-account-form-inputs2.js +1 -1
- package/dist/module/bank-account-form2.js +2 -2
- package/dist/module/billing-form-wrapper.js +1 -1
- package/dist/module/billing-form2.js +3 -3
- package/dist/module/business-additional-questions-form-step-core.js +4 -4
- package/dist/module/business-additional-questions-form-step.js +4 -4
- package/dist/module/business-bank-account-form-step.js +1 -1
- package/dist/module/business-core-info-form-step.js +1 -1
- package/dist/module/business-core-info.js +1 -1
- package/dist/module/business-owners-form-step.js +1 -1
- package/dist/module/business-representative-form-inputs.js +1 -1
- package/dist/module/business-representative-form-step.js +1 -1
- package/dist/module/business-representative.js +1 -1
- package/dist/module/business-terms-conditions-form-step.js +1 -1
- package/dist/module/business.service.js +2 -2
- package/dist/module/cancellation-policy.js +1 -1
- package/dist/module/card-form2.js +2 -2
- package/dist/module/checkout-core.js +1 -1
- package/dist/module/checkouts-list-core2.js +1 -1
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +1 -1
- package/dist/module/dispute-management-core.js +1 -1
- package/dist/module/dispute-notification.js +1 -1
- package/dist/module/dispute-response-core.js +1 -1
- package/dist/module/dispute-response.js +1 -1
- package/dist/module/duplicate-charge.js +1 -1
- package/dist/module/electronic-evidence.js +1 -1
- package/dist/module/form-control-checkbox2.js +2 -2
- package/dist/module/form-control-date2.js +2 -2
- package/dist/module/form-control-file-v22.js +1 -1
- package/dist/module/form-control-file2.js +2 -2
- package/dist/module/form-control-monetary-provisioning.d.ts +11 -0
- package/dist/module/form-control-monetary-provisioning.js +6 -0
- package/dist/module/form-control-monetary-provisioning2.js +109 -0
- package/dist/module/form-control-monetary2.js +30 -42
- package/dist/module/form-control-number-masked2.js +2 -2
- package/dist/module/form-control-number.js +2 -2
- package/dist/module/form-control-radio2.js +2 -2
- package/dist/module/form-control-select2.js +2 -2
- package/dist/module/form-control-text2.js +2 -2
- package/dist/module/form-control-textarea2.js +2 -2
- package/dist/module/form.js +1 -122
- package/dist/module/get-business.js +2 -2
- package/dist/module/gross-payment-chart-core2.js +1 -1
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/identity-address-form.js +1 -1
- package/dist/module/iframe-input2.js +3 -3
- package/dist/module/justifi-business-form.js +3 -3
- package/dist/module/justifi-checkout.js +2 -2
- package/dist/module/justifi-checkouts-list-filters.js +1 -1
- package/dist/module/justifi-checkouts-list.js +1 -1
- package/dist/module/justifi-dispute-management.js +1 -1
- package/dist/module/justifi-order-terminals.js +10 -11
- package/dist/module/justifi-payment-provisioning.js +4 -4
- package/dist/module/justifi-payments-list-filters.js +2 -2
- package/dist/module/justifi-payments-list.js +1 -1
- package/dist/module/justifi-payouts-list-filters.js +2 -2
- package/dist/module/justifi-payouts-list.js +1 -1
- package/dist/module/justifi-refund-payment.d.ts +11 -0
- package/dist/module/justifi-refund-payment.js +180 -0
- package/dist/module/justifi-season-interruption-insurance.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +2 -2
- package/dist/module/justifi-terminal-orders-list.js +1 -1
- package/dist/module/justifi-terminals-list-filters.js +6 -2
- package/dist/module/justifi-terminals-list.js +1 -1
- package/dist/module/justifi-tokenize-payment-method.js +1 -1
- package/dist/module/legal-address-form-step.js +1 -1
- package/dist/module/legal-address-form.js +1 -1
- package/dist/module/new-payment-method.js +1 -1
- package/dist/module/owner-form-core2.js +1 -1
- package/dist/module/owner-form-inputs2.js +1 -1
- package/dist/module/owner-form.js +1 -1
- package/dist/module/package.js +2 -2
- package/dist/module/parts.js +2 -1
- package/dist/module/payment-details-core2.js +7 -7
- package/dist/module/payment-method-options.js +1 -1
- package/dist/module/payment-provisioning-core.js +4 -4
- package/dist/module/payment-provisioning-form-buttons.js +1 -1
- package/dist/module/payment-provisioning-form-steps.js +4 -4
- package/dist/module/payments-list-core2.js +1 -1
- package/dist/module/payout-details-core2.js +1 -1
- package/dist/module/payouts-list-core2.js +1 -1
- package/dist/module/postal-form2.js +1 -1
- package/dist/module/product-or-service.js +1 -1
- package/dist/module/refund-policy.js +1 -1
- package/dist/module/save-new-payment-method.js +1 -1
- package/dist/module/saved-payment-method.js +1 -1
- package/dist/module/sezzle-payment-method.js +1 -1
- package/dist/module/shipping-details.js +1 -1
- package/dist/module/table-filters-menu2.js +1 -1
- package/dist/module/terminal-orders-list-core2.js +1 -1
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/terminals-list-core2.js +13 -1
- package/dist/module/utils2.js +8 -3
- package/dist/types/actions/business/get-business.d.ts +2 -1
- package/dist/types/actions/terminal/get-terminal-models.d.ts +2 -1
- package/dist/types/actions/terminal/order-terminals.d.ts +2 -1
- package/dist/types/api/Terminal.d.ts +8 -3
- package/dist/types/api/services/business.service.d.ts +1 -1
- package/dist/types/components/business-forms/payment-provisioning/form-control-monetary-provisioning.d.ts +24 -0
- package/dist/types/components/{billing-forms → checkout/billing-forms}/billing-form/billing-form.d.ts +1 -1
- package/dist/types/components/{billing-forms → checkout/billing-forms}/postal-form/postal-form.d.ts +1 -1
- package/dist/types/components/checkout/checkout-core.d.ts +1 -1
- package/dist/types/components/checkout/checkout.d.ts +1 -1
- package/dist/types/components/checkout/new-payment-method.d.ts +1 -1
- package/dist/types/components/checkout/payment-method-options.d.ts +1 -1
- package/dist/types/components/order-terminals/order-terminals.d.ts +1 -1
- package/dist/types/components/refund-payment/refund-payment-schema.d.ts +11 -0
- package/dist/types/components/{refund-form/refund-form.d.ts → refund-payment/refund-payment.d.ts} +6 -13
- package/dist/types/components/refund-payment/refund-reason-options.d.ts +5 -0
- package/dist/types/components/terminals-list/terminals-list-filters.d.ts +1 -0
- package/dist/types/components/terminals-list/terminals-status.d.ts +2 -1
- package/dist/types/components/terminals-list/terminals-table.d.ts +6 -0
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +1 -1
- package/dist/types/components.d.ts +88 -51
- package/dist/types/styles/parts.d.ts +1 -0
- package/dist/types/ui-components/form/form-control-monetary.d.ts +9 -10
- package/dist/types/utils/utils.d.ts +2 -1
- package/dist/webcomponents/p-00ae938e.entry.js +1 -0
- package/dist/webcomponents/p-01033194.js +1 -0
- package/dist/webcomponents/p-0151a19f.entry.js +1 -0
- package/dist/webcomponents/{p-324587d0.js → p-03c2261c.js} +1 -1
- package/dist/webcomponents/{p-2ca5b5e4.js → p-08b64251.js} +1 -1
- package/dist/webcomponents/{p-da2a9dfa.entry.js → p-0b61d4d3.entry.js} +1 -1
- package/dist/webcomponents/{p-365e56fc.js → p-12074378.js} +1 -1
- package/dist/webcomponents/p-142bfae3.js +1 -0
- package/dist/webcomponents/p-1aa973c4.entry.js +1 -0
- package/dist/webcomponents/p-2123c150.js +1 -0
- package/dist/webcomponents/p-23cd76af.entry.js +1 -0
- package/dist/webcomponents/{p-b19a37d4.js → p-26a2e837.js} +1 -1
- package/dist/webcomponents/p-27546fa9.entry.js +1 -0
- package/dist/webcomponents/p-275c3dc9.js +1 -0
- package/dist/webcomponents/p-2b8aaa7d.entry.js +1 -0
- package/dist/webcomponents/p-2c65389c.entry.js +1 -0
- package/dist/webcomponents/p-31dcaeaf.entry.js +1 -0
- package/dist/webcomponents/p-373a19fe.entry.js +1 -0
- package/dist/webcomponents/{p-9c57de4e.entry.js → p-375657fe.entry.js} +1 -1
- package/dist/webcomponents/{p-56143442.entry.js → p-385d3637.entry.js} +1 -1
- package/dist/webcomponents/{p-e5c60276.entry.js → p-38900c29.entry.js} +1 -1
- package/dist/webcomponents/{p-daf0303f.js → p-422948eb.js} +1 -1
- package/dist/webcomponents/p-43e225d2.entry.js +1 -0
- package/dist/webcomponents/{p-1fb5677e.entry.js → p-4484aa3b.entry.js} +1 -1
- package/dist/webcomponents/p-45f48dce.entry.js +1 -0
- package/dist/webcomponents/{p-9894484a.js → p-4e010557.js} +1 -1
- package/dist/webcomponents/p-4ef98c7a.js +1 -0
- package/dist/webcomponents/p-4fc263b2.js +1 -0
- package/dist/webcomponents/{p-4acf8ca2.js → p-537bce77.js} +1 -1
- package/dist/webcomponents/p-56c7fc8d.js +1 -0
- package/dist/webcomponents/{p-13d62477.entry.js → p-58476602.entry.js} +1 -1
- package/dist/webcomponents/{p-c380213d.js → p-58ee6ce9.js} +1 -1
- package/dist/webcomponents/p-59eef054.entry.js +1 -0
- package/dist/webcomponents/{p-e52e9120.entry.js → p-5a9d7ca0.entry.js} +1 -1
- package/dist/webcomponents/{p-78255a04.entry.js → p-5ae9faf6.entry.js} +1 -1
- package/dist/webcomponents/p-5b459422.entry.js +1 -0
- package/dist/webcomponents/p-5b76dbe1.entry.js +1 -0
- package/dist/webcomponents/{p-d5960545.js → p-5efe6236.js} +1 -1
- package/dist/webcomponents/{p-d7bcf8f0.js → p-64443fc0.js} +1 -1
- package/dist/webcomponents/{p-7d93c28b.js → p-673c1bca.js} +1 -1
- package/dist/webcomponents/{p-df9ff0ce.entry.js → p-6c79e7c3.entry.js} +1 -1
- package/dist/webcomponents/{p-0d01d245.entry.js → p-6d3611b6.entry.js} +1 -1
- package/dist/webcomponents/{p-d8ba9309.entry.js → p-745a577c.entry.js} +1 -1
- package/dist/webcomponents/p-76549a24.js +1 -0
- package/dist/webcomponents/{p-485df2fe.entry.js → p-7a6feb58.entry.js} +1 -1
- package/dist/webcomponents/p-80867635.entry.js +1 -0
- package/dist/webcomponents/p-86605101.js +1 -0
- package/dist/webcomponents/{p-d273f33b.js → p-927cb6df.js} +1 -1
- package/dist/webcomponents/{p-dd3de924.entry.js → p-92e96b57.entry.js} +1 -1
- package/dist/webcomponents/{p-be6fea42.entry.js → p-942d5e8f.entry.js} +1 -1
- package/dist/webcomponents/p-a1be025c.entry.js +1 -0
- package/dist/webcomponents/p-a3cced75.entry.js +1 -0
- package/dist/webcomponents/{p-88af0d7d.js → p-a5579f53.js} +1 -1
- package/dist/webcomponents/{p-17c4edf7.js → p-a5b52c1d.js} +1 -1
- package/dist/webcomponents/{p-45e68bb3.entry.js → p-a5f5cc2e.entry.js} +1 -1
- package/dist/webcomponents/{p-17eea747.js → p-a99525c5.js} +1 -1
- package/dist/webcomponents/p-ac40e667.js +1 -0
- package/dist/webcomponents/p-adecb91a.entry.js +1 -0
- package/dist/webcomponents/p-ae891abb.entry.js +1 -0
- package/dist/webcomponents/p-ae9ef225.js +1 -0
- package/dist/webcomponents/p-b323bbde.entry.js +1 -0
- package/dist/webcomponents/p-ba6fd830.entry.js +1 -0
- package/dist/webcomponents/{p-fdd244b1.entry.js → p-bae35151.entry.js} +1 -1
- package/dist/webcomponents/p-bb4b3f79.entry.js +1 -0
- package/dist/webcomponents/{p-073f24ba.entry.js → p-bdbbee07.entry.js} +1 -1
- package/dist/webcomponents/p-bdcf3a3c.entry.js +1 -0
- package/dist/webcomponents/{p-95e55bb1.js → p-bf12999f.js} +1 -1
- package/dist/webcomponents/{p-2dd39017.js → p-bf195b35.js} +1 -1
- package/dist/webcomponents/{p-944f1cc7.js → p-bfc2d88a.js} +1 -1
- package/dist/webcomponents/p-c4f8ed38.js +1 -0
- package/dist/webcomponents/{p-34a95381.js → p-c8b78136.js} +1 -1
- package/dist/webcomponents/p-c8fa00fd.entry.js +1 -0
- package/dist/webcomponents/p-c93d643b.js +1 -0
- package/dist/webcomponents/p-cc2f75a3.entry.js +1 -0
- package/dist/webcomponents/p-ccb9ee53.js +1 -0
- package/dist/webcomponents/{p-251c8e97.js → p-cd5883b9.js} +1 -1
- package/dist/webcomponents/p-cedad1b6.entry.js +1 -0
- package/dist/webcomponents/{p-a7594f8f.entry.js → p-d70610de.entry.js} +1 -1
- package/dist/webcomponents/p-d757fcf5.js +1 -0
- package/dist/webcomponents/p-d7bf921d.entry.js +1 -0
- package/dist/webcomponents/{p-55e21977.entry.js → p-d903d838.entry.js} +1 -1
- package/dist/webcomponents/{p-36e32bc4.entry.js → p-d9b5140e.entry.js} +1 -1
- package/dist/webcomponents/p-d9dc15d4.entry.js +1 -0
- package/dist/webcomponents/p-db973fa9.entry.js +1 -0
- package/dist/webcomponents/p-dbc1a95b.js +1 -0
- package/dist/webcomponents/{p-ba113075.js → p-dbf21732.js} +1 -1
- package/dist/webcomponents/{p-f57d5d4f.entry.js → p-ddb642a4.entry.js} +2 -2
- package/dist/webcomponents/p-df20bbb3.entry.js +1 -0
- package/dist/webcomponents/p-e9867f8b.entry.js +1 -0
- package/dist/webcomponents/{p-1b3a6c40.entry.js → p-ed9d22d5.entry.js} +1 -1
- package/dist/webcomponents/{p-d78ea308.entry.js → p-ee539373.entry.js} +1 -1
- package/dist/webcomponents/{p-ed3ad073.entry.js → p-f20466f7.entry.js} +1 -1
- package/dist/webcomponents/p-f247b169.entry.js +1 -0
- package/dist/webcomponents/p-f930504f.entry.js +1 -0
- package/dist/webcomponents/p-fc43d1c8.entry.js +1 -0
- package/dist/webcomponents/{p-e8fc36c1.entry.js → p-fca89e9b.entry.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +2 -2
- package/dist/cjs/form-control-select_3.cjs.entry.js +0 -145
- package/dist/cjs/justifi-refund-form.cjs.entry.js +0 -106
- package/dist/collection/components/refund-form/refund-form-schema.js +0 -13
- package/dist/collection/components/refund-form/refund-form.stories.js +0 -109
- package/dist/esm/form-control-select_3.entry.js +0 -139
- package/dist/esm/justifi-refund-form.entry.js +0 -102
- package/dist/module/justifi-refund-form.d.ts +0 -11
- package/dist/module/justifi-refund-form.js +0 -153
- package/dist/types/components/refund-form/refund-form-schema.d.ts +0 -11
- package/dist/types/components/refund-form/refund-form.stories.d.ts +0 -27
- package/dist/webcomponents/p-00d55a4b.entry.js +0 -1
- package/dist/webcomponents/p-04d59ef8.js +0 -1
- package/dist/webcomponents/p-07c13189.entry.js +0 -1
- package/dist/webcomponents/p-0bafaf49.entry.js +0 -1
- package/dist/webcomponents/p-24203209.entry.js +0 -1
- package/dist/webcomponents/p-258087a8.entry.js +0 -1
- package/dist/webcomponents/p-2759d157.entry.js +0 -1
- package/dist/webcomponents/p-2cd9b608.entry.js +0 -1
- package/dist/webcomponents/p-3030f5e6.entry.js +0 -1
- package/dist/webcomponents/p-308ec9c7.entry.js +0 -1
- package/dist/webcomponents/p-454acd29.entry.js +0 -1
- package/dist/webcomponents/p-50b012a3.entry.js +0 -1
- package/dist/webcomponents/p-52e2cc5e.js +0 -1
- package/dist/webcomponents/p-5844a0f0.js +0 -1
- package/dist/webcomponents/p-5cf1898d.entry.js +0 -1
- package/dist/webcomponents/p-5d600828.js +0 -1
- package/dist/webcomponents/p-61a45f7d.entry.js +0 -1
- package/dist/webcomponents/p-646d007a.js +0 -1
- package/dist/webcomponents/p-651c881b.js +0 -1
- package/dist/webcomponents/p-6a4b710e.entry.js +0 -1
- package/dist/webcomponents/p-74f6cc28.entry.js +0 -1
- package/dist/webcomponents/p-8946edfd.js +0 -1
- package/dist/webcomponents/p-8ffd9f7c.js +0 -1
- package/dist/webcomponents/p-92b18902.entry.js +0 -1
- package/dist/webcomponents/p-92f29922.entry.js +0 -1
- package/dist/webcomponents/p-97f3a1b0.entry.js +0 -1
- package/dist/webcomponents/p-9fcab358.entry.js +0 -1
- package/dist/webcomponents/p-a0f715d4.js +0 -1
- package/dist/webcomponents/p-a35f3b5b.js +0 -1
- package/dist/webcomponents/p-a81cabed.js +0 -1
- package/dist/webcomponents/p-b7960f37.entry.js +0 -1
- package/dist/webcomponents/p-b7ddb76f.entry.js +0 -1
- package/dist/webcomponents/p-b97f433a.entry.js +0 -1
- package/dist/webcomponents/p-c3939138.entry.js +0 -1
- package/dist/webcomponents/p-c7c9725d.entry.js +0 -1
- package/dist/webcomponents/p-cba7d0a7.entry.js +0 -1
- package/dist/webcomponents/p-d43a38a4.js +0 -1
- package/dist/webcomponents/p-d4724349.js +0 -1
- package/dist/webcomponents/p-d575c2c1.entry.js +0 -1
- package/dist/webcomponents/p-dac9282d.entry.js +0 -1
- package/dist/webcomponents/p-e1dd47e1.entry.js +0 -1
- package/dist/webcomponents/p-e545c079.entry.js +0 -1
- package/dist/webcomponents/p-e5de1a00.entry.js +0 -1
- package/dist/webcomponents/p-f1573cad.entry.js +0 -1
- package/dist/webcomponents/p-f1d6e14f.js +0 -1
- package/dist/webcomponents/p-f30cb232.js +0 -1
- package/dist/webcomponents/p-f87e871d.js +0 -1
- package/dist/webcomponents/p-f8a95380.entry.js +0 -1
- package/dist/webcomponents/p-fa5688f7.entry.js +0 -1
- package/dist/webcomponents/p-fbdc18e4.entry.js +0 -1
- /package/dist/types/components/{billing-forms → checkout/billing-forms}/billing-form-schema.d.ts +0 -0
- /package/dist/types/components/{billing-forms → checkout/billing-forms}/billing-form-wrapper.d.ts +0 -0
- /package/dist/types/{components → ui-components}/pagination-menu/pagination-menu.d.ts +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as s,r as t,c as e}from"./p-2783e363.js";import{a as i,b as r}from"./p-4acf8ca2.js";import{F as o,c as n}from"./p-5844a0f0.js";import{A as a,C as l,R as h,c}from"./p-5d1d2fd7.js";import{C as d,P as u}from"./p-525db3e8.js";import{h as m}from"./p-2dd39017.js";import{S as p}from"./p-8946edfd.js";import{a as v,r as f,s as b,b as y}from"./p-c9b78275.js";import{a as g,B as w}from"./p-73f9be7c.js";import{z as _,A as x,u as j,B as S,C as T,D as O,E as k,F as C}from"./p-95e55bb1.js";import{C as L,a as H}from"./p-9dd8685c.js";import"./p-daf0303f.js";import"./p-56f6ce4c.js";import"./p-9894484a.js";import"./p-651c881b.js";import{a as E,b as D}from"./p-61f0a2ce.js";import{n as V}from"./p-e3c22aa9.js";import{B as A}from"./p-944f1cc7.js";import{i as P,a as B}from"./p-d43a38a4.js";import{S as I}from"./p-6078a370.js";import"./p-1ff8810b.js";import"./p-2ca5b5e4.js";import"./p-abdbcd8e.js";class W{constructor(s){this.id=s.id,this.account_owner_name=s.account_owner_name,this.full_name=s.full_name,this.account_type=s.account_type,this.account_number=s.account_number,this.acct_last_four=s.acct_last_four,this.account_number_last4=s.account_number_last4,this.routing_number=s.routing_number,this.bank_name=s.bank_name,this.country=s.country,this.currency=s.currency,this.nickname=s.nickname,this.metadata=s.metadata,this.business_id=s.business_id,this.platform_account_id=s.platform_account_id,this.created_at=s.created_at,this.updated_at=s.updated_at}get payload(){return{account_owner_name:this.account_owner_name||"",account_type:this.account_type||"",account_number:this.account_number||"",routing_number:this.routing_number||"",bank_name:this.bank_name||"",nickname:this.nickname||"",business_id:this.business_id||""}}}const F=()=>s("div",{class:"row gap-3"},s("div",{class:"col-12"},s(p,{width:"25%"})),s("div",{class:"col-12"},s(p,{width:"100%"})),s("div",{class:"col-12 d-flex gap-3"},s(p,{width:"50%"}),s(p,{width:"50%"})),s("div",{class:"col-12 d-flex gap-3"},s(p,{width:"65%"}),s(p,{width:"35%"}))),N=()=>s("div",{class:"row gap-5"},s("div",{class:"col-12"},s(p,{width:"40%",height:"40px"})),s(F,null),s(F,null),s(F,null)),U=class{constructor(s){t(this,s),this.stepCompleteEvent=e(this,"complete-form-step-event",7),this.errorEvent=e(this,"error-event",7),this.formLoading=e(this,"formLoading",7),this.getData=()=>{this.formLoading.emit(!0),this.isLoading=!0,this.getBusiness({onSuccess:s=>{this.additional_questions=new a(s.data.additional_questions||{}),this.formController.setInitialValues(Object.assign({},this.additional_questions))},onError:({error:s,code:t,severity:e})=>{this.errorEvent.emit({message:s,errorCode:t,severity:e})},final:()=>{this.formLoading.emit(!1),this.isLoading=!1}})},this.sendData=s=>{let t;this.formLoading.emit(!0),this.patchBusiness({payload:this.patchPayload,onSuccess:e=>{t=e,s()},onError:({error:s,code:e,severity:i})=>{t=s,this.errorEvent.emit({message:s,errorCode:e,severity:i})},final:()=>{this.stepCompleteEvent.emit({response:t,formStep:g.additionalQuestions}),this.formLoading.emit(!1)}})},this.inputHandler=(s,t)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[s]:t})),this.additional_questions=new a(Object.assign(Object.assign({},this.formController.values.getValue()),{[s]:t}))},this.formController=void 0,this.errors={},this.additional_questions={},this.recurringPayments=!1,this.isLoading=!1,this.getBusiness=void 0,this.patchBusiness=void 0,this.allowOptionalFields=void 0}recurringPaymentsWatcher(s){this.recurringPayments="Yes"===(null==s?void 0:s.business_recurring_payments)}async validateAndSubmit({onSuccess:s}){this.formController.validateAndSubmit((()=>this.sendData(s)))}get patchPayload(){return{additional_questions:new a(this.formController.values.getValue()).payload}}componentWillLoad(){this.getBusiness&&this.getData(),this.formController=new o(i(this.allowOptionalFields))}componentDidLoad(){this.formController.errors.subscribe((s=>{this.errors=Object.assign({},s)}))}render(){var t,e,i,r,o,n,a;const l=this.formController.getInitialValues();return this.isLoading?s(N,null):s("form",null,s("fieldset",null,s("div",{class:"d-flex align-items-center gap-2"},s("legend",{class:"mb-0",part:m},"Additional Questions"),s("form-control-tooltip",{helpText:"This information helps us understand the business and identify and monitor trends to safeguard you and your customers."})),s("hr",{class:"mt-2"}),s("div",{class:"row gy-3"},s("div",{class:"col-12 col-md-6"},s("form-control-monetary",{name:"business_revenue",label:"What is your business’ estimated annual revenue from its primary business activities?",inputHandler:this.inputHandler,errorText:null===(t=this.errors)||void 0===t?void 0:t.business_revenue,defaultValue:null==l?void 0:l.business_revenue,maskOptions:d.WHOLE})),s("div",{class:"col-12 col-md-6"},s("form-control-monetary",{name:"business_payment_volume",label:"What is your business' annual credit card & ACH volume anticipated to process?",inputHandler:this.inputHandler,errorText:null===(e=this.errors)||void 0===e?void 0:e.business_payment_volume,defaultValue:null==l?void 0:l.business_payment_volume,maskOptions:d.WHOLE})),s("div",{class:"col-12"},s("form-control-select",{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===(i=this.errors)||void 0===i?void 0:i.business_when_service_received,options:v,defaultValue:null==l?void 0:l.business_when_service_received})),s("div",{class:"col-12"},s("form-control-select",{name:"business_recurring_payments",label:"Does your business offer recurring payments?",inputHandler:this.inputHandler,errorText:null===(r=this.errors)||void 0===r?void 0:r.business_recurring_payments,options:f,defaultValue:null==l?void 0:l.business_recurring_payments})),s("div",{class:"col-12",hidden:!this.recurringPayments},s("form-control-text",{name:"business_recurring_payments_percentage",label:"What percent of revenue is generated from each recurring payment type offered?",inputHandler:this.inputHandler,errorText:null===(o=this.errors)||void 0===o?void 0:o.business_recurring_payments_percentage,defaultValue:null==l?void 0:l.business_recurring_payments_percentage,helpText:"For example: 50% monthly, 50% annual."})),s("div",{class:"col-12"},s("form-control-select",{name:"business_seasonal",label:"Is this business seasonal?",inputHandler:this.inputHandler,errorText:null===(n=this.errors)||void 0===n?void 0:n.business_seasonal,options:b,defaultValue:null==l?void 0:l.business_seasonal})),s("div",{class:"col-12"},s("form-control-text",{name:"business_other_payment_details",label:"Is there anything else you would like us to know about how your customers pay the business? (optional)",inputHandler:this.inputHandler,errorText:null===(a=this.errors)||void 0===a?void 0:a.business_other_payment_details,defaultValue:null==l?void 0:l.business_other_payment_details})))))}static get watchers(){return{additional_questions:["recurringPaymentsWatcher"]}}},q=(s,t)=>{const e=n({bank_name:_.required("Enter bank name"),nickname:x.required("Enter nickname"),account_owner_name:j.required("Enter account owner name"),account_type:S.required("Select account type"),account_number:T.required("Enter account number"),routing_number:O.required("Enter routing number"),voided_check:k(s,t),bank_statement:C(s,t)}),i=n({bank_name:_.nullable(),nickname:x.nullable(),account_owner_name:j.nullable(),account_type:S.nullable(),account_number:T.nullable(),routing_number:O.nullable(),voided_check:k(s,t),bank_statement:C(s,t)});return t?i:e},R=class{constructor(s){t(this,s),this.stepCompleteEvent=e(this,"complete-form-step-event",7),this.errorEvent=e(this,"error-event",7),this.formLoading=e(this,"formLoading",7),this.initializeFormController=()=>{this.formController=new o(q(this.existingDocuments,this.allowOptionalFields)),this.formController.setInitialValues(Object.assign({},this.bankAccount)),this.formController.errors.subscribe((s=>{this.errors=Object.assign({},s)}))},this.inputHandler=(s,t)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[s]:t}))},this.storeFiles=s=>{const t=Array.from(s.detail.fileList),e=s.detail.document_type,i=t.map((s=>new E({file:s,document_type:e},this.businessId)));this.documentData[e]=i},this.getData=()=>{this.isLoading=!0,this.getBusiness({onSuccess:s=>{s.data.bank_accounts.length>0?this.bankAccount=new W(s.data.bank_accounts[0]):(this.bankAccount=new W({}),this.bankAccount.business_id=this.businessId),this.existingDocuments=s.data.documents},onError:({error:s,code:t,severity:e})=>{this.errorEvent.emit({message:s,errorCode:t,severity:e})},final:()=>{this.initializeFormController(),this.isLoading=!1}})},this.postDocumentRecordData=async s=>{this.isLoading=!0;const t=s.record_data;return new Promise((e=>{this.postDocumentRecord({payload:t,onSuccess:t=>{e(this.handleDocRecordResponse(s,t))},onError:({error:s,code:t,severity:i})=>{this.errorEvent.emit({message:s,errorCode:t,severity:i}),e(!1)}})}))},this.handleDocRecordResponse=(s,t)=>t.error?(this.errorEvent.emit({errorCode:L.POST_ERROR,message:t.error.message,severity:H.ERROR,data:t.error}),!1):(s.setPresignedUrl(t.data.presigned_url),!0),this.uploadDocument=async s=>{if(!s.presigned_url)throw new Error("Presigned URL is not set");const t=await fetch(s.presigned_url,{method:"PUT",body:s.fileString});return this.handleUploadResponse(t)},this.handleUploadResponse=s=>!s.error||(this.errorEvent.emit({errorCode:L.POST_ERROR,message:s.error.message,severity:H.ERROR,data:s.error}),!1),this.formController=void 0,this.errors={},this.bankAccount={},this.existingDocuments=[],this.documentData=new D,this.isLoading=!1,this.businessId=void 0,this.getBusiness=void 0,this.postBankAccount=void 0,this.postDocumentRecord=void 0,this.allowOptionalFields=void 0}watchHandler(s){this.formLoading.emit(s)}async validateAndSubmit({onSuccess:s}){this.existingBankAccount?this.sendData(s):this.formController.validateAndSubmit((()=>this.sendData(s)))}componentWillLoad(){this.getBusiness&&this.getData(),this.formController=new o(q(this.existingDocuments,this.allowOptionalFields))}componentDidLoad(){this.formController.errors.subscribe((s=>{this.errors=Object.assign({},s)}))}get postPayload(){return new W(this.formController.values.getValue()).payload}get existingBankAccount(){var s;return!!(null===(s=this.bankAccount)||void 0===s?void 0:s.id)}async sendData(s){try{if(!this.existingBankAccount&&!await this.postBankAccountData())return;if(!await this.postBusinessDocuments())return;s()}catch(s){this.errorEvent.emit({message:s,errorCode:L.POST_ERROR,severity:H.ERROR})}}async postBankAccountData(){let s;return this.isLoading=!0,new Promise((t=>{let e=!1;this.postBankAccount({payload:this.postPayload,onSuccess:t=>{s=t,e=!0},onError:({error:s,code:t,severity:i})=>{e=!1,this.errorEvent.emit({message:s,errorCode:t,severity:i})},final:()=>{this.stepCompleteEvent.emit({response:s,formStep:g.bankAccount}),this.isLoading=!1,t(e)}})}))}async postBusinessDocuments(){this.isLoading=!0;try{const s=Object.values(this.documentData).flat();return!s.length||!(await Promise.all(s.map((s=>this.postDocumentRecordData(s))))).includes(!1)&&!(await Promise.all(s.map((s=>this.uploadDocument(s))))).includes(!1)}finally{this.isLoading=!1}}render(){const t=this.formController.getInitialValues();return this.isLoading?s(N,null):s("form",null,s("fieldset",{class:"mb-4"},s("div",{class:"d-flex align-items-center gap-2"},s("legend",{class:"mb-0",part:m},"Bank Account Info"),s("form-control-tooltip",{helpText:"This direct deposit account is the designated bank account where incoming funds will be deposited. The name of this account must match the registered business name exactly. We are not able to accept personal accounts unless your business is a registered sole proprietorship."})),s("hr",{class:"mt-2"}),s("bank-account-form-inputs",{defaultValue:t,errors:this.errors,inputHandler:this.inputHandler,formDisabled:this.existingBankAccount})),s("fieldset",{class:"mt-4"},s("div",{class:"d-flex align-items-center gap-2"},s("legend",{class:"mb-0",part:m},"Document Uploads"),s("form-control-tooltip",{helpText:"These documents are required for underwriting purposes. Various file formats such as PDF, DOC, DOCX, JPEG, and others are accepted. Multiple files can be uploaded for each document category."})),s("hr",{class:"mt-2"}),s("business-documents-on-file",{documents:this.existingDocuments,isLoading:this.isLoading}),s("bank-account-document-form-inputs",{inputHandler:this.inputHandler,errors:this.errors,storeFiles:this.storeFiles})))}static get watchers(){return{isLoading:["watchHandler"]}}},Y=class{constructor(s){t(this,s),this.stepCompleteEvent=e(this,"complete-form-step-event",7),this.errorEvent=e(this,"error-event",7),this.formLoading=e(this,"formLoading",7),this.getData=()=>{this.formLoading.emit(!0),this.isLoading=!0,this.getBusiness({onSuccess:s=>{this.coreInfo=new l(s.data),this.formController.setInitialValues(Object.assign({},this.coreInfo))},onError:({error:s,code:t,severity:e})=>{this.errorEvent.emit({message:s,errorCode:t,severity:e})},final:()=>{this.formLoading.emit(!1),this.isLoading=!1}})},this.sendData=s=>{let t;this.formLoading.emit(!0),this.patchBusiness({payload:this.patchPayload,onSuccess:e=>{t=e,s()},onError:({error:s,code:e,severity:i})=>{t=s,this.errorEvent.emit({message:s,errorCode:e,severity:i})},final:()=>{this.stepCompleteEvent.emit({response:t,formStep:g.businessInfo}),this.formLoading.emit(!1)}})},this.inputHandler=(s,t)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[s]:t}))},this.formController=void 0,this.errors={},this.coreInfo={},this.isLoading=!1,this.businessId=void 0,this.getBusiness=void 0,this.patchBusiness=void 0,this.allowOptionalFields=void 0}async validateAndSubmit({onSuccess:s}){this.formController.validateAndSubmit((()=>this.sendData(s)))}get patchPayload(){return new l(this.formController.values.getValue()).payload}componentWillLoad(){this.getBusiness&&this.getData(),this.formController=new o(r(this.allowOptionalFields))}componentDidLoad(){this.formController.errors.subscribe((s=>{this.errors=Object.assign({},s)}))}render(){const t=this.formController.getInitialValues();return this.isLoading?s(N,null):s("form",null,s("fieldset",null,s("div",{class:"d-flex align-items-center gap-2"},s("legend",{class:"mb-0",part:m},"Business Information")),s("hr",{class:"mt-2"}),s("div",{class:"row gy-3"},s("div",{class:"col-12"},s("form-control-text",{name:"legal_name",label:"Business Name",defaultValue:t.legal_name,errorText:this.errors.legal_name,inputHandler:this.inputHandler,helpText:"Enter this exactly as it appears on your tax records (don't use acronyms or abbreviations unless you registered that way)."})),s("div",{class:"col-12"},s("form-control-text",{name:"doing_business_as",label:"Doing Business As (DBA)",defaultValue:t.doing_business_as,errorText:this.errors.doing_business_as,inputHandler:this.inputHandler,helpText:"Enter this exactly as it appears on your tax records (leave blank if you don't have a registered DBA/trade name)"})),s("div",{class:"col-12 col-md-8"},s("form-control-select",{name:"classification",label:"Business Classification",options:y,defaultValue:t.classification,errorText:this.errors.classification,inputHandler:this.inputHandler})),s("div",{class:"col-12 col-md-4"},s("form-control-date",{name:"date_of_incorporation",label:"Date of Incorporation",defaultValue:t.date_of_incorporation,errorText:this.errors.date_of_incorporation,inputHandler:this.inputHandler})),s("div",{class:"col-12 col-md-6"},s("form-control-text",{name:"industry",label:"Industry",defaultValue:t.industry,errorText:this.errors.industry,inputHandler:this.inputHandler,helpText:"Describe what you sell"})),s("div",{class:"col-12 col-md-6"},s("form-control-text",{name:"tax_id",label:"Tax ID (EIN or SSN)",defaultValue:t.tax_id,errorText:this.errors.tax_id,inputHandler:this.inputHandler,keyDownHandler:V,maxLength:9,helpText:"Employer Identification Numbers (EINs) are nine digits. The federal tax identification number/EIN issued to you by the IRS. It can be found on your tax returns."})),s("div",{class:"col-12"},s("form-control-text",{name:"website_url",label:"Business Website URL",defaultValue:t.website_url,errorText:this.errors.website_url,inputHandler:this.inputHandler,helpText:"Don't have a live website? You can use your social media business page, app store link, or staging site URL."})),s("div",{class:"col-12 col-md-6"},s("form-control-text",{name:"email",label:"Business Email Address",defaultValue:t.email,errorText:this.errors.email,inputHandler:this.inputHandler})),s("div",{class:"col-12 col-md-6"},s("form-control-number-masked",{name:"phone",label:"Business Phone Number",defaultValue:t.phone,errorText:this.errors.phone,inputHandler:this.inputHandler,mask:u.US})))))}},z=class{constructor(s){t(this,s),this.clickEvent=e(this,"click-event",7),this.stepCompleteEvent=e(this,"complete-form-step-event",7),this.errorEvent=e(this,"error-event",7),this.formLoading=e(this,"formLoading",7),this.matchRef=(s,t)=>{const e=this.refs.findIndex((s=>s===t));-1!==e&&(this.refs[e]=s)},this.getData=()=>{this.formLoading.emit(!0),this.isLoading=!0,this.getBusiness({onSuccess:s=>{s.data.owners.length?this.ownersPayload=s.data.owners.map((s=>({id:s.id}))):this.addOwnerForm()},onError:({error:s,code:t,severity:e})=>{this.errorEvent.emit({message:s,errorCode:t,severity:e})},final:()=>{this.formLoading.emit(!1),this.isLoading=!1,this.manageRefs()}})},this.sendData=async s=>{let t;this.formLoading.emit(!0),this.patchBusiness({payload:{owners:this.ownersPayload},onSuccess:e=>{t=e,s()},onError:({error:s,code:e,severity:i})=>{t=s,this.errorEvent.emit({message:s,errorCode:e,severity:i})},final:()=>{this.stepCompleteEvent.emit({response:t,formStep:g.owners}),this.formLoading.emit(!1)}})},this.addOwnerForm=s=>{this.newFormOpen=!0,this.ownersPayload=[...this.ownersPayload,{id:""}],s&&this.clickEvent.emit({name:w.addOwnerForm})},this.removeOwnerForm=s=>{this.ownersPayload=this.ownersPayload.filter((t=>t.id!==s)),this.newFormOpen&&(this.newFormOpen=!1)},this.ownersPayload=[],this.refs=[],this.newFormOpen=void 0,this.isLoading=!1,this.authToken=void 0,this.businessId=void 0,this.getBusiness=void 0,this.patchBusiness=void 0,this.allowOptionalFields=void 0}get showAddOwnerButton(){return this.ownersPayload.length<4&&!this.newFormOpen}manageRefs(){this.refs=this.ownersPayload.map((s=>s.id))}async validateAndSubmit({onSuccess:s}){const t=this.refs.map((s=>s.validate()));if(!(await Promise.all(t)).every((s=>s)))return;const e=this.refs.map((s=>s.submit()));(await Promise.all(e)).every((s=>s))&&this.sendData(s)}componentWillLoad(){this.getBusiness&&this.getData()}ownersWatcher(){this.manageRefs()}handleOwnerSubmit(s){const t=s.detail,e=this.ownersPayload.map((s=>s.id===t.id?t:s));e.includes(t)||(e[this.ownersPayload.findIndex((s=>!s.id))]=t,this.newFormOpen&&(this.newFormOpen=!1)),this.ownersPayload=e}render(){return this.isLoading?s(N,null):s("div",null,s("div",{class:"d-flex align-items-center gap-2"},s("legend",{class:"mb-0",part:m},"Owners"),s("form-control-tooltip",{helpText:"For partnerships, LLCs or privately held corporations, the business is required to apply with all individuals with 25% or more ownership to the application. For charities and registered non-profits, the business is required to apply with 1 individual with substantial control over the entity, such as a board member or director."})),s("hr",{class:"mt-2"}),s("div",{class:"row gy-3"},this.ownersPayload.map((t=>s("justifi-owner-form",{key:t.id,authToken:this.authToken,businessId:this.businessId,ownerId:t.id,removeOwner:this.removeOwnerForm,newFormOpen:this.newFormOpen,ownersLength:this.ownersPayload.length,allowOptionalFields:this.allowOptionalFields,ref:s=>this.matchRef(s,t.id)})))),s("div",{class:"d-flex justify-content-start"},s("div",{class:"gap-2"},s(A,{variant:"primary",onClick:()=>this.addOwnerForm(!0),hidden:!this.showAddOwnerButton},"Add Owner"))))}static get watchers(){return{ownersPayload:["ownersWatcher"]}}},G=class{constructor(s){t(this,s),this.stepCompleteEvent=e(this,"complete-form-step-event",7),this.errorEvent=e(this,"error-event",7),this.formLoading=e(this,"formLoading",7),this.getData=()=>{this.formLoading.emit(!0),this.isLoading=!0,this.getBusiness({onSuccess:s=>{this.representative=new h(s.data.representative||{}),this.formController.setInitialValues(Object.assign({},this.representative))},onError:({error:s,code:t,severity:e})=>{this.errorEvent.emit({message:s,errorCode:t,severity:e})},final:()=>{this.formLoading.emit(!1),this.isLoading=!1}})},this.sendData=s=>{let t;this.formLoading.emit(!0),this.patchBusiness({payload:this.patchPayload,onSuccess:e=>{t=e,s()},onError:({error:s,code:e,severity:i})=>{t=s,this.errorEvent.emit({message:s,errorCode:e,severity:i})},final:()=>{this.stepCompleteEvent.emit({response:t,formStep:g.representative}),this.formLoading.emit(!1)}})},this.formController=void 0,this.errors={},this.representative={},this.isLoading=!1,this.getBusiness=void 0,this.patchBusiness=void 0,this.allowOptionalFields=void 0}async validateAndSubmit({onSuccess:s}){this.formController.validateAndSubmit((()=>this.sendData(s)))}get patchPayload(){return{representative:new h(this.formController.values.getValue()).payload}}componentWillLoad(){this.getBusiness&&this.getData(),this.formController=new o(P("representative",this.allowOptionalFields))}componentDidLoad(){this.formController.errors.subscribe((s=>{this.errors=Object.assign({},s)}))}render(){return this.isLoading?s(N,null):s("justifi-business-representative-form-inputs",{representativeDefaultValue:this.formController.getInitialValues(),errors:this.errors,formController:this.formController})}},J=class{constructor(s){t(this,s),this.stepCompleteEvent=e(this,"complete-form-step-event",7),this.errorEvent=e(this,"error-event",7),this.formLoading=e(this,"formLoading",7),this.getData=()=>{this.formLoading.emit(!0),this.isLoading=!0,this.getBusiness({onSuccess:s=>{this.legal_address=new c(s.data.legal_address||{}),this.formController.setInitialValues(Object.assign({},this.legal_address))},onError:({error:s,code:t,severity:e})=>{this.errorEvent.emit({message:s,errorCode:t,severity:e})},final:()=>{this.formLoading.emit(!1),this.isLoading=!1}})},this.sendData=s=>{let t;this.formLoading.emit(!0),this.patchBusiness({payload:this.patchPayload,onSuccess:e=>{t=e,s()},onError:({error:s,code:e,severity:i})=>{t=s,this.errorEvent.emit({message:s,errorCode:e,severity:i})},final:()=>{this.stepCompleteEvent.emit({response:t,formStep:g.legalAddress}),this.formLoading.emit(!1)}})},this.inputHandler=(s,t)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[s]:t}))},this.formController=void 0,this.errors={},this.legal_address={},this.isLoading=!1,this.getBusiness=void 0,this.patchBusiness=void 0,this.allowOptionalFields=void 0}async validateAndSubmit({onSuccess:s}){this.formController.validateAndSubmit((()=>this.sendData(s)))}get patchPayload(){return{legal_address:new c(this.formController.values.getValue()).payload}}componentWillLoad(){this.getBusiness&&this.getData(),this.formController=new o(B(this.allowOptionalFields))}componentDidLoad(){this.formController.errors.subscribe((s=>{this.errors=Object.assign({},s)}))}render(){var t,e,i,r,o,n;const a=this.formController.getInitialValues();return this.isLoading?s(N,null):s("form",null,s("fieldset",null,s("div",{class:"d-flex align-items-center gap-2"},s("legend",{class:"mb-0",part:m},"Legal Address of your Business"),s("form-control-tooltip",{helpText:"No PO Boxes."})),s("hr",{class:"mt-2"}),s("div",{class:"row gy-3"},s("div",{class:"col-12"},s("form-control-text",{name:"line1",label:"Legal Address",inputHandler:this.inputHandler,defaultValue:null==a?void 0:a.line1,errorText:null===(t=this.errors)||void 0===t?void 0:t.line1})),s("div",{class:"col-12"},s("form-control-text",{name:"line2",label:"Address Line 2 (optional)",inputHandler:this.inputHandler,defaultValue:null==a?void 0:a.line2,errorText:null===(e=this.errors)||void 0===e?void 0:e.line2})),s("div",{class:"col-12"},s("form-control-text",{name:"city",label:"City",inputHandler:this.inputHandler,defaultValue:null==a?void 0:a.city,errorText:null===(i=this.errors)||void 0===i?void 0:i.city})),s("div",{class:"col-12"},s("form-control-select",{name:"state",label:"State",options:I,inputHandler:this.inputHandler,defaultValue:null==a?void 0:a.state,errorText:null===(r=this.errors)||void 0===r?void 0:r.state})),s("div",{class:"col-12"},s("form-control-text",{name:"postal_code",label:"Postal Code",inputHandler:this.inputHandler,defaultValue:null==a?void 0:a.postal_code,errorText:null===(o=this.errors)||void 0===o?void 0:o.postal_code,maxLength:5,keyDownHandler:V})),s("div",{class:"col-12"},s("form-control-select",{name:"country",label:"Country",options:[{label:"United States",value:"USA"}],inputHandler:this.inputHandler,defaultValue:null==a?void 0:a.country,errorText:null===(n=this.errors)||void 0===n?void 0:n.country,disabled:!0})))))}};export{U as justifi_additional_questions_form_step_core,R as justifi_business_bank_account_form_step_core,Y as justifi_business_core_info_form_step_core,z as justifi_business_owners_form_step_core,G as justifi_business_representative_form_step_core,J as justifi_legal_address_form_step_core}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as t}from"./p-2783e363.js";import{t as e}from"./p-2dd39017.js";const r=r=>{const{helpText:m,name:o}=r;return m?t("small",{class:"form-text text-muted",id:`form-help-text-${o}`,part:e},m):null};export{r as F}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{B as r}from"./p-5d1d2fd7.js";import{a as o}from"./p-9dd8685c.js";import{g as s,a as e}from"./p-87f8c596.js";const t=({id:t,authToken:a,service:c})=>async({onSuccess:i,onError:n})=>{var d;try{const m=await c.fetchBusiness(t,a);if(m.error){return n({error:s(m.error),code:e(null===(d=m.error)||void 0===d?void 0:d.code),severity:o.ERROR})}i({business:new r(m.data)})}catch(r){const s=e(null==r?void 0:r.code);return n({error:r.message||r,code:s,severity:o.ERROR})}};export{t as m}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as t}from"./p-2783e363.js";import{B as e,a}from"./p-34a95381.js";import{k as i,m as r}from"./p-2dd39017.js";const n="nickname,provider_serial_number,status",s={nickname:()=>t("th",{part:i,scope:"col",title:"The nickname associated with the terminal"},"Nickname"),provider_serial_number:()=>t("th",{part:i,scope:"col",title:"The serial number of the terminal"},"Serial Number"),provider_id:()=>t("th",{part:i,scope:"col",title:"The provider ID of the terminal"},"Provider ID"),sub_account_name:()=>t("th",{part:i,scope:"col",title:"The sub account associated with the terminal"},"Sub Account"),status:()=>t("th",{part:i,scope:"col",title:"The current status of each terminal"},"Status")},o={nickname:(e,a)=>t("td",{part:r(a)},e.nickname),provider_serial_number:(e,a)=>t("td",{part:r(a)},e.provider_serial_number),provider_id:(e,a)=>t("td",{part:r(a)},e.provider_id),sub_account_name:(e,a)=>t("td",{part:r(a)},e.sub_account_name),status:(i,n)=>t("td",{part:r(n)},t(e,Object.assign({},{connected:{variant:a.SUCCESS,title:"This terminal is connected",text:"Connected"},disconnected:{variant:a.DANGER,title:"This terminal is disconnected",text:"Disconnected"},unknown:{variant:a.SECONDARY,title:"The status of this terminal is unknown",text:"Unknown"}}[i.status])))};export{o as a,n as d,s as t}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as e,r as a,c as t}from"./p-2783e363.js";import{b as s,a as i}from"./p-2ca5b5e4.js";import{a as d,b as c,D as b,c as f,C as o,E as r}from"./p-365e56fc.js";import{B as l}from"./p-944f1cc7.js";import{S as h}from"./p-bfe9748b.js";import{M as y}from"./p-d273f33b.js";import{S as n}from"./p-8946edfd.js";import"./p-2dd39017.js";import"./p-34a95381.js";const v=()=>e("div",{class:"row gap-3"},e("div",{class:"col-12"},e(n,{width:"35%",height:"30px"})),e("div",{class:"col-12"},e(n,{width:"70%"})),e("div",{class:"col-12"},e(n,{width:"40%"})),e("div",{class:"col-12"},e(n,{width:"40%"})),e("div",{class:"col-12"},e(n,{width:"100%"})),e("div",{class:"col-12"},e(n,{width:"80%"}))),u=class{constructor(e){a(this,e),this.errorEvent=t(this,"error-event",7),this.downloadCSV=()=>{this.getPayoutCSV({payoutId:this.payout.id,onError:({error:e,code:a,severity:t})=>{this.errorMessage=e,this.errorEvent.emit({message:e,errorCode:a,severity:t})}})},this.getPayout=void 0,this.getPayoutCSV=void 0,this.payout=void 0,this.loading=!0,this.errorMessage=null}componentWillLoad(){this.getPayout&&this.fetchData()}getPayoutWatcher(){this.fetchData()}fetchData(){this.loading=!0,this.getPayout({onSuccess:e=>{this.errorMessage=null,this.payout=e,this.loading=!1},onError:({error:e,code:a,severity:t})=>{this.errorMessage=e,this.errorEvent.emit({message:e,errorCode:a,severity:t}),this.loading=!1}})}render(){var a;return e(h,{key:"6aab170bbe708372d913c14bcb58b3b0d60dafd8"},this.loading&&e(v,{key:"0aee9ad36b3c4e74b1cb3f8251d0488cede1355c"}),!this.loading&&this.errorMessage&&r(this.errorMessage),!this.loading&&this.payout&&e("justifi-details",{key:"c9ad74b0385260d4b1f2d2f7b3e66563b2d706a4","error-message":this.errorMessage},e(d,{key:"6b67e623a6cb67207007ba4319aa437996118dd9",slot:"head-info",badge:y(null===(a=this.payout)||void 0===a?void 0:a.status),title:this.payout.formattedPaymentAmount(this.payout.amount)},e(c,{key:"ff1c335e90ad0403a607491e4ff0b0adac52f255",classes:"border-1 border-end",title:"Updated At",value:`${s(this.payout.updated_at)} ${i(this.payout.updated_at)}`}),e(c,{key:"0c2e9555136ce806bc744dd2a83c7a1e10fa7ea7",classes:"border-1 border-end",title:"Created At",value:`${s(this.payout.created_at)} ${i(this.payout.created_at)}`}),e(c,{key:"0c813d23ddbe26f29f1ad03dc43b9c5fbf2d6ab6",title:"ID",value:this.payout.id}),e("div",{key:"762b4fc60643def05b7f8e84ce170d6295654631",class:"m-4"},e(l,{key:"c5f304fb7f54838da6785a0bf19c423a98bdbf34",variant:"secondary",class:"btn btn-outline-secondary d-flex align-items-center",onClick:this.downloadCSV},"Export CSV"))),e("div",{key:"b307f177086cd6b1eeb0f384cce772cd04ff33ad",slot:"detail-sections"},e(b,{key:"bad67a9d2cde5bff23b5c959f9b7564fdc996300",sectionTitle:"Details"}),e("div",{key:"6986bef4813aadb505acaf5cdd07b853c271e442",class:"d-table gap-2 w-100"},e(f,{key:"dad10fde82b1009a9821f1e1cc2c2e65baa5f6b7",title:"Date paid",value:s(this.payout.deposits_at)}),e(f,{key:"bf21ac446b54bdfcec020d6086546a0b20f42d01",title:"Statement Description",value:this.payout.description}),e(f,{key:"30f7609216b42f3918929a6a02b30a6a23689921",title:"Payout Method",value:this.payout.delivery_method}),e(f,{key:"e7d93fa8d865162098e105d4041c12af757db68b",title:"Amount",value:this.payout.formattedPaymentAmount(this.payout.amount)}),e(f,{key:"99b76f8abc8f0077df988cf38cfb74e77a7e881f",title:"Fee",value:this.payout.formattedPaymentAmount(this.payout.fees_total)})),e(b,{key:"cfef47442eeb83514ca10fab25d12f1439414fc0",sectionTitle:"Account"}),e("div",{key:"901423f1ca47bf79ab6daa63368fea0032e46d58",class:"d-table gap-2 w-100"},e(f,{key:"f3e215b7aad43a3a3914b885189700e87758cca6",title:"ID",value:this.payout.account_id}),e(f,{key:"795054cd2f8bda2a735e9ac64652da92dac34f61",title:"Account Type",value:this.payout.bank_account.account_type}),e(f,{key:"9c190036635aed95d74bce36ec257ada41b57cba",title:"Institution",value:this.payout.bank_account.account_type}),e(f,{key:"c1002cff85b80024804a858ef519feb4a86d46ff",title:"Routing Number",value:this.payout.bank_account.routing_number}),e(f,{key:"0183bef106233f302cd8762c7483482bea849ac2",title:"Account Number",value:this.payout.bank_account.account_number_last4})),e(b,{key:"e87d57050d5dee72a8dccfe2ca2deee385e6dc61",sectionTitle:"Metadata"}),e("div",{key:"9aefd212e7aa680b34f5af6a373a47997238496e",class:"d-table gap-2 w-100"},e(o,{key:"a9c9337a788cb2611787278768968e638a8c000d",metadata:this.payout.metadata})))))}static get watchers(){return{getPayout:["getPayoutWatcher"]}}};export{u as payout_details_core}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as e,h as i}from"./p-2783e363.js";import{c as s,d as a,F as o}from"./p-5844a0f0.js";import{A as r}from"./p-5f6b4bc9.js";import"./p-9dd8685c.js";import"./p-daf0303f.js";import"./p-56f6ce4c.js";import"./p-9894484a.js";import"./p-651c881b.js";import"./p-61f0a2ce.js";import{C as n}from"./p-525db3e8.js";import{S as d}from"./p-bfe9748b.js";import"./p-2ca5b5e4.js";import"./p-abdbcd8e.js";const f=s().shape({amount:a().required("Amount is required").typeError("Amount must be a number").positive("Amount must be positive").test("amount","Refund amount cannot be more than the original payment amount",(function(t){return t<=this.options.context.amount})).nullable()}),c=class{constructor(i){t(this,i),this.submitted=e(this,"submitted",7),this.authToken=void 0,this.paymentId=void 0,this.amount=0,this.submitButtonText="Submit",this.withButton=void 0,this.refundInfoText=void 0,this.errors={},this.isSubmitting=!1}componentWillLoad(){this.formController=new o(f),this.formController.setInitialValues({amount:this.amount,message:""}),this.initializeApi()}componentDidLoad(){this.formController.errors.subscribe((t=>{this.errors=Object.assign({},t)}))}async handleSubmit(t){t.preventDefault(),this.formController.validateAndSubmit(this.submitRefund.bind(this),{amount:this.amount})}async submitRefund(){this.isSubmitting=!0;const t=this.formController.values.getValue();try{await this.api.post(`payments/${this.paymentId}/refunds`,t),this.submitted.emit(t)}catch(t){console.error("Error submitting refund:",t),this.submitted.emit(t)}finally{this.isSubmitting=!1}}handleInput(t,e){this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[t]:e}))}initializeApi(){this.authToken||console.warn("Warning: Missing auth-token."),this.api=r({authToken:this.authToken,apiOrigin:"https://wc-proxy.justifi.ai"})}render(){var t;return i(d,{key:"7becd3fcc3a0beefef5efdb860616aa60f7e61ad"},i("h1",{key:"7125ac0e8452db4013d9065054aca8d65ead0138"},"Refund"),this.refundInfoText&&i("div",{key:"b60dbcac95e75469bab9e575efe5eba40d629693",class:"d-flex align-items-center flex-row gap-4 border-top border-bottom my-4 p-3",role:"alert"},i("img",{key:"231e5bcb4fdd82ea4e9bb0597bfe194759eb8e22",src:"/info-icon.svg",alt:"Information",height:"30",width:"30"}),i("p",{key:"21faa4040e99ee142e0f06246fc8317dcc5dfa28",class:"m-0",innerHTML:this.refundInfoText})),i("form",{key:"4a8671c7f833279c14e29ae0f4054586fa7ecbba",onSubmit:t=>this.handleSubmit(t),class:"d-grid gap-4"},i("div",{key:"d4296520cb377a6b61547615a2b95a3088ace83a",class:"form-group"},i("form-control-monetary",{key:"dbe00249e022722aea24f9967408625b7460f0f7",name:"amount",label:"Refund Amount",defaultValue:(null===(t=this.amount)||void 0===t?void 0:t.toString())||"",maskOptions:n.DECIMAL,inputHandler:(t,e)=>this.handleInput(t,e),errorText:this.errors.amount})),i("div",{key:"765d36337fc31bd6ade5b9a94397b83e7f46e2a8",class:"form-group"},i("form-control-text",{key:"3f3bc7e95568944d876fcf95e98ba9d871479096",name:"notes",label:"Additional Notes",inputHandler:(t,e)=>this.handleInput(t,e),errorText:this.errors.notes})),this.withButton&&i("div",{key:"4576ce0e5d04f063fd53045845fa5a4cf5bc6383",class:"form-group d-flex flex-row-reverse"},i("button",{key:"6165726b003006432d82ce5792a961ea2f42d654",type:"submit",disabled:!!this.isSubmitting,class:"btn btn-primary ml-auto"},this.submitButtonText))))}};export{c as justifi_refund_form}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as i,c as t,h as s}from"./p-2783e363.js";import{a as r,C as e}from"./p-9dd8685c.js";import{c as o,J as a}from"./p-251c8e97.js";import{T as n}from"./p-d7bcf8f0.js";import"./p-daf0303f.js";import"./p-56f6ce4c.js";import"./p-9894484a.js";import{d as c}from"./p-651c881b.js";import"./p-61f0a2ce.js";import{g as p,a as h}from"./p-87f8c596.js";import{m as d,S as m}from"./p-52e2cc5e.js";import{S as f}from"./p-bfe9748b.js";import{d as u}from"./p-f87e871d.js";import"./p-d5960545.js";import"./p-5f6b4bc9.js";import"./p-2ca5b5e4.js";import"./p-abdbcd8e.js";import"./p-34a95381.js";import"./p-2dd39017.js";const l=class{constructor(s){i(this,s),this.errorEvent=t(this,"error-event",7),this.handleErrorEvent=i=>{this.errorMessage=i.detail.message,this.errorEvent.emit(i.detail)},this.getTerminals=void 0,this.getSubAccounts=void 0,this.errorMessage=null,this.accountId=void 0,this.authToken=void 0,this.apiOrigin="https://wc-proxy.justifi.ai",this.columns=u}componentWillLoad(){o(),this.analytics=new a(this),this.initializeGetData()}disconnectedCallback(){this.analytics.cleanup()}propChanged(){this.initializeGetData()}initializeGetData(){this.initializeGetTerminals(),this.initializeGetSubAccounts()}initializeGetTerminals(){this.accountId&&this.authToken?this.getTerminals=(({id:i,authToken:t,service:s,apiOrigin:e})=>async({params:o,onSuccess:a,onError:n})=>{var d,m;try{const f=await s.fetchTerminals(i,t,o,e);if(f.error)return n({error:p(f.error),code:h(null===(m=f.error)||void 0===m?void 0:m.code),severity:r.ERROR});{const i=Object.assign({},f.page_info);a({terminals:(null===(d=f.data)||void 0===d?void 0:d.map((i=>new c(i))))||[],pagingInfo:i})}}catch(i){const t=h(null==i?void 0:i.code);return n({error:i.message||i,code:t,severity:r.ERROR})}})({id:this.accountId,authToken:this.authToken,service:new n,apiOrigin:this.apiOrigin}):(this.errorMessage="Account ID and Auth Token are required",this.errorEvent.emit({errorCode:e.MISSING_PROPS,message:this.errorMessage,severity:r.ERROR}))}initializeGetSubAccounts(){this.accountId&&this.authToken&&(this.getSubAccounts=d({accountId:this.accountId,authToken:this.authToken,service:new m,apiOrigin:this.apiOrigin}))}render(){return s(f,{key:"9ad0d637bd745ee2296142c426d539f90cf403a5"},s("terminals-list-core",{key:"26b420a410976adea74b8545d367b5f9df7178d3",getTerminals:this.getTerminals,getSubAccounts:this.getSubAccounts,"onError-event":this.handleErrorEvent,columns:this.columns}))}static get watchers(){return{accountId:["propChanged"],authToken:["propChanged"]}}};export{l as justifi_terminals_list}
|
/package/dist/types/components/{billing-forms → checkout/billing-forms}/billing-form-schema.d.ts
RENAMED
|
File without changes
|
/package/dist/types/components/{billing-forms → checkout/billing-forms}/billing-form-wrapper.d.ts
RENAMED
|
File without changes
|
|
File without changes
|