@justifi/webcomponents 5.3.1 → 5.3.3
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/{check-pkg-version-526a9ce5.js → Analytics-f448aa27.js} +8 -23
- package/dist/cjs/{Api-089e7501.js → Api-f5280a80.js} +0 -13
- package/dist/cjs/{Business-cfd6a2dd.js → Business-d88b77fd.js} +6 -2
- package/dist/cjs/{Checkout-0f1c8abe.js → Checkout-1c07dc32.js} +14 -7
- package/dist/cjs/{SubAccount-509ebf93.js → SubAccount-b4811a8e.js} +6 -9
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
- package/dist/cjs/{badge-ccfe03bf.js → badge-86a6a7f8.js} +1 -1
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +9 -9
- package/dist/cjs/bank-account-form_9.cjs.entry.js +78 -5
- package/dist/cjs/billing-form_3.cjs.entry.js +11 -11
- package/dist/cjs/{business-additional-questions-schema-2f66f025.js → business-additional-questions-schema-5c100f58.js} +1 -1
- package/dist/cjs/business-details-core.cjs.entry.js +3 -3
- package/dist/cjs/{business-form-options-4bcb8943.js → business-form-options-62e9c8ab.js} +1 -1
- package/dist/cjs/{business-identity-schema-be495474.js → business-identity-schema-3b4d16f1.js} +1 -1
- package/dist/cjs/{business.service-33d7c7f2.js → business.service-6b05ee96.js} +8 -8
- package/dist/cjs/{button-8b634147.js → button-5f6c437f.js} +1 -1
- package/dist/cjs/check-pkg-version-d75dc147.js +24 -0
- package/dist/cjs/{checkout.service-d9047ddb.js → checkout.service-aa037531.js} +6 -6
- package/dist/cjs/checkouts-list-core.cjs.entry.js +16 -15
- package/dist/cjs/checkouts-list-params-state-644d3639.js +22 -0
- package/dist/cjs/{checkouts-table-efa1cbab.js → checkouts-table-cf3e245e.js} +2 -2
- package/dist/cjs/custom-popper_4.cjs.entry.js +8 -8
- package/dist/cjs/{dispute.service-739631c7.js → dispute.service-27dcd7f4.js} +7 -7
- package/dist/cjs/event-types-b6d34593.js +8 -0
- package/dist/cjs/form-alert_5.cjs.entry.js +3 -3
- 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-46a7f2dd.js → form-control-error-text-9905e3b8.js} +1 -1
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +4 -4
- package/dist/cjs/{form-control-help-text-98c882e3.js → form-control-help-text-8d031bfb.js} +1 -1
- package/dist/cjs/form-control-monetary.cjs.entry.js +5 -5
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +4 -4
- package/dist/cjs/form-control-number.cjs.entry.js +5 -5
- package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
- package/dist/cjs/get-business-0bd063d2.js +34 -0
- package/dist/cjs/{get-payout-csv-bdaff21b.js → get-payout-csv-7646128d.js} +6 -15
- package/dist/cjs/{get-subaccounts-2db9fc01.js → get-subaccounts-cc933b3e.js} +4 -7
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +4 -4
- package/dist/cjs/{header-1-4c21f7ca.js → header-1-b202dbbb.js} +1 -1
- package/dist/cjs/{header-3-130206cc.js → header-3-5f78acd1.js} +1 -1
- package/dist/cjs/{insurance-state-21fde44f.js → insurance-state-ba0c39a9.js} +1 -1
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +10 -10
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +9 -9
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +9 -9
- package/dist/cjs/justifi-business-details.cjs.entry.js +13 -38
- package/dist/cjs/justifi-business-form.cjs.entry.js +17 -16
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +6 -6
- package/dist/cjs/justifi-checkout.cjs.entry.js +11 -10
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +32 -9
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +14 -13
- package/dist/cjs/justifi-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +10 -9
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +15 -14
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +8 -7
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +102 -0
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payment-details.cjs.entry.js +10 -9
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +7 -6
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payments-list.cjs.entry.js +14 -13
- package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -9
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +20 -3
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +15 -14
- package/dist/cjs/justifi-refund-form.cjs.entry.js +5 -5
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +3 -3
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +10 -9
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +41 -0
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +27 -6
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +15 -20
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +23 -14
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-45874555.js → package-a24ad889.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
- package/dist/cjs/{parts-b2ff8b68.js → parts-c2655003.js} +32 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +12 -12
- package/dist/cjs/{payment.service-87924c1a.js → payment.service-65fbac72.js} +5 -8
- package/dist/cjs/payments-list-core.cjs.entry.js +17 -16
- package/dist/cjs/{payments-status-ec12ee6a.js → payments-status-92abe577.js} +1 -1
- package/dist/cjs/{payments-table-f3aa174d.js → payments-table-c58e3ca8.js} +2 -2
- package/dist/cjs/payout-details-core.cjs.entry.js +7 -7
- package/dist/cjs/payouts-list-core.cjs.entry.js +22 -17
- package/dist/cjs/payouts-list-params-state-033b76d6.js +22 -0
- package/dist/cjs/{payouts-status-9f2e9a3a.js → payouts-status-703d62af.js} +1 -1
- package/dist/cjs/{payouts-table-4efa53fa.js → payouts-table-70fc1498.js} +3 -3
- package/dist/cjs/{schema-validations-cc4e6071.js → schema-validations-47a256f4.js} +2 -2
- package/dist/cjs/{skeleton-0353466d.js → skeleton-84102a44.js} +1 -1
- package/dist/cjs/{spinner-4fc60a51.js → spinner-70f38e5e.js} +1 -1
- package/dist/cjs/{event-types-34b103b4.js → table-fc82fa81.js} +2 -9
- package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +80 -0
- package/dist/cjs/terminal-orders-table-61081532.js +18 -0
- package/dist/cjs/terminals-list-core.cjs.entry.js +16 -15
- package/dist/cjs/terminals-list-params-state-236f06f6.js +22 -0
- package/dist/cjs/{terminals-table-5e4bce93.js → terminals-table-db58a0c0.js} +3 -3
- package/dist/cjs/{utils-134dda01.js → utils-7c5b2837.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/{api → actions/sub-account}/get-subaccounts.js +2 -3
- package/dist/collection/api/Analytics.js +5 -0
- package/dist/collection/api/Business.js +6 -2
- package/dist/collection/api/Checkout.js +8 -1
- package/dist/collection/api/Payout.js +0 -3
- package/dist/collection/api/Terminal.js +6 -6
- package/dist/collection/api/services/analytics.service.js +1 -2
- package/dist/collection/api/services/business.service.js +7 -8
- package/dist/collection/api/services/checkout.service.js +4 -5
- package/dist/collection/api/services/dispute.service.js +4 -5
- package/dist/collection/api/services/insurance.service.js +2 -3
- package/dist/collection/api/services/payment.service.js +2 -6
- package/dist/collection/api/services/payout.service.js +3 -13
- package/dist/collection/api/services/provision.service.js +1 -2
- package/dist/collection/api/services/reports.service.js +1 -2
- package/dist/collection/api/services/subaccounts.service.js +1 -5
- package/dist/collection/api/services/terminal.service.js +2 -9
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/business-details/business-details.js +1 -1
- package/dist/collection/components/business-forms/business-form/business-form.js +1 -2
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +2 -3
- package/dist/collection/components/business-forms/schemas/schema-validations.js +1 -1
- package/dist/collection/components/checkout/bank-account-form/bank-account-form-skeleton.js +10 -0
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +24 -1
- package/dist/collection/components/checkout/card-form/card-form-skeleton.js +10 -0
- package/dist/collection/components/checkout/card-form/card-form.js +26 -1
- package/dist/collection/components/checkout/checkout.js +5 -6
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +7 -9
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +75 -9
- package/dist/collection/components/checkouts-list/checkouts-list-params-state.js +11 -5
- package/dist/collection/components/checkouts-list/checkouts-list.js +5 -6
- package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management.js +4 -5
- 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 +3 -4
- 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/gross-payment-chart/gross-payment-chart.js +1 -1
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +2 -2
- package/dist/collection/components/order-terminals/order-terminals-loading.js +6 -0
- package/dist/collection/components/order-terminals/order-terminals.js +139 -0
- package/dist/collection/components/payment-details/payment-details-core.js +7 -7
- package/dist/collection/components/payment-details/payment-details.js +1 -1
- package/dist/collection/components/payments-list/payments-list-core.js +7 -7
- package/dist/collection/components/payments-list/payments-list-filters.js +3 -3
- package/dist/collection/components/payments-list/payments-list.js +4 -5
- package/dist/collection/components/payout-details/payout-details-core.js +1 -1
- package/dist/collection/components/payout-details/payout-details.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-core.js +12 -10
- package/dist/collection/components/payouts-list/payouts-list-filters.js +58 -3
- package/dist/collection/components/payouts-list/payouts-list-params-state.js +11 -5
- package/dist/collection/components/payouts-list/payouts-list.js +5 -6
- package/dist/collection/components/payouts-list/payouts-table.js +1 -1
- package/dist/collection/components/refund-form/refund-form.js +2 -3
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +141 -0
- package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +113 -0
- package/dist/collection/components/terminal-orders-list/terminal-orders-table.js +11 -0
- package/dist/collection/components/terminals-list/terminals-list-core.js +7 -9
- package/dist/collection/components/terminals-list/terminals-list-filters.js +64 -6
- package/dist/collection/components/terminals-list/terminals-list-params-state.js +11 -5
- package/dist/collection/components/terminals-list/terminals-list.js +5 -6
- package/dist/collection/components/terminals-list/terminals-table.js +1 -1
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +26 -21
- package/dist/collection/styles/parts.js +19 -0
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/filters/table-filters-menu.js +1 -1
- package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
- package/dist/collection/ui-components/form/form-control-date.js +2 -2
- package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
- package/dist/collection/ui-components/form/form-control-file.js +2 -2
- package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
- package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
- package/dist/collection/ui-components/form/form-control-number.js +2 -2
- package/dist/collection/ui-components/form/form-control-radio.js +2 -2
- package/dist/collection/ui-components/form/form-control-select.js +2 -2
- package/dist/collection/ui-components/form/form-control-text.js +2 -2
- package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
- package/dist/collection/ui-components/form/hidden-input.js +1 -1
- package/dist/collection/ui-components/form/iframe-input.js +23 -7
- package/dist/docs.json +537 -31
- package/dist/esm/{check-pkg-version-f91ed31f.js → Analytics-c083a998.js} +9 -23
- package/dist/esm/{Api-97801a4b.js → Api-391d00e2.js} +1 -13
- package/dist/esm/{Business-29c69f22.js → Business-0855931c.js} +6 -2
- package/dist/esm/{Checkout-8325c97a.js → Checkout-919eb1ba.js} +9 -2
- package/dist/esm/{ComponentError-3ce7f437.js → ComponentError-c61dce41.js} +1 -1
- package/dist/esm/{SubAccount-a73bf971.js → SubAccount-9aad3891.js} +7 -10
- package/dist/esm/additional-questions-details_5.entry.js +2 -2
- package/dist/esm/{badge-938ba4b1.js → badge-2eb79416.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +10 -10
- package/dist/esm/bank-account-form_9.entry.js +79 -6
- package/dist/esm/billing-form_3.entry.js +12 -12
- package/dist/esm/{business-additional-questions-schema-212a96ed.js → business-additional-questions-schema-df76728f.js} +1 -1
- package/dist/esm/business-details-core.entry.js +3 -3
- package/dist/esm/{business-form-options-018f62a5.js → business-form-options-86a13078.js} +1 -1
- package/dist/esm/{business-identity-schema-05bd2a5f.js → business-identity-schema-0a78fc59.js} +1 -1
- package/dist/esm/{business.service-45c7df3c.js → business.service-98709b1e.js} +8 -8
- package/dist/esm/{button-4b3f3934.js → button-cc455199.js} +1 -1
- package/dist/esm/check-pkg-version-6d475fed.js +22 -0
- package/dist/esm/{checkout.service-36e3355e.js → checkout.service-9330c18a.js} +7 -7
- package/dist/esm/checkouts-list-core.entry.js +16 -15
- package/dist/esm/checkouts-list-params-state-7bdf00bd.js +16 -0
- package/dist/esm/{checkouts-table-1634366d.js → checkouts-table-53981285.js} +2 -2
- package/dist/esm/custom-popper_4.entry.js +8 -8
- package/dist/esm/{dispute.service-9b9b87e5.js → dispute.service-a14ac172.js} +8 -8
- package/dist/esm/event-types-0a83d0b4.js +8 -0
- package/dist/esm/form-alert_5.entry.js +3 -3
- 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-b3d14e92.js → form-control-error-text-74c6b38a.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +4 -4
- package/dist/esm/{form-control-help-text-7b07fc37.js → form-control-help-text-76a4196e.js} +1 -1
- package/dist/esm/form-control-monetary.entry.js +5 -5
- package/dist/esm/form-control-number-masked_2.entry.js +4 -4
- package/dist/esm/form-control-number.entry.js +5 -5
- package/dist/esm/form-control-radio.entry.js +3 -3
- package/dist/esm/get-business-464419f6.js +32 -0
- package/dist/esm/{get-payout-csv-80210301.js → get-payout-csv-87cc2147.js} +8 -17
- package/dist/esm/{get-subaccounts-d3eeb85d.js → get-subaccounts-26454771.js} +6 -9
- package/dist/esm/gross-payment-chart-core.entry.js +4 -4
- package/dist/esm/{header-1-4db0c986.js → header-1-797ca789.js} +1 -1
- package/dist/esm/{header-3-fd150ccf.js → header-3-544afa0b.js} +1 -1
- package/dist/esm/{insurance-state-529e2d0d.js → insurance-state-307335d6.js} +1 -1
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +11 -11
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +12 -12
- package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
- package/dist/esm/justifi-business-details.entry.js +11 -36
- package/dist/esm/justifi-business-form.entry.js +17 -16
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
- package/dist/esm/justifi-checkout-core.entry.js +7 -7
- package/dist/esm/justifi-checkout.entry.js +12 -11
- package/dist/esm/justifi-checkouts-list-filters.entry.js +32 -9
- package/dist/esm/justifi-checkouts-list.entry.js +15 -14
- 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 +11 -10
- package/dist/esm/justifi-dispute-notification_3.entry.js +16 -15
- package/dist/esm/justifi-gross-payment-chart.entry.js +9 -8
- package/dist/esm/justifi-order-terminals.entry.js +98 -0
- package/dist/esm/justifi-owner-form_3.entry.js +11 -11
- package/dist/esm/justifi-payment-details.entry.js +11 -10
- package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -3
- package/dist/esm/justifi-payment-provisioning.entry.js +9 -8
- package/dist/esm/justifi-payments-list-filters.entry.js +3 -3
- package/dist/esm/justifi-payments-list.entry.js +15 -14
- package/dist/esm/justifi-payout-details.entry.js +11 -10
- package/dist/esm/justifi-payouts-list-filters.entry.js +20 -3
- package/dist/esm/justifi-payouts-list.entry.js +16 -15
- package/dist/esm/justifi-refund-form.entry.js +6 -6
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +3 -3
- package/dist/esm/justifi-season-interruption-insurance.entry.js +11 -10
- package/dist/esm/justifi-terminal-orders-list.entry.js +37 -0
- package/dist/esm/justifi-terminals-list-filters.entry.js +27 -6
- package/dist/esm/justifi-terminals-list.entry.js +16 -21
- package/dist/esm/justifi-tokenize-payment-method.entry.js +23 -14
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-2b7c7bc0.js → package-13968013.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/{parts-ab2bb4b5.js → parts-489f0af6.js} +21 -1
- package/dist/esm/payment-details-core.entry.js +12 -12
- package/dist/esm/{payment-provisioning-actions-726795a0.js → payment-provisioning-actions-beadac34.js} +2 -2
- package/dist/esm/{payment.service-c847c1f6.js → payment.service-35bbab8f.js} +6 -9
- package/dist/esm/payments-list-core.entry.js +17 -16
- package/dist/esm/{payments-status-abf1724b.js → payments-status-35255b2c.js} +1 -1
- package/dist/esm/{payments-table-88fbab49.js → payments-table-6e97396a.js} +2 -2
- package/dist/esm/payout-details-core.entry.js +7 -7
- package/dist/esm/payouts-list-core.entry.js +22 -17
- package/dist/esm/payouts-list-params-state-ebcee300.js +16 -0
- package/dist/esm/{payouts-status-d9987a8a.js → payouts-status-a0cc00c5.js} +1 -1
- package/dist/esm/{payouts-table-055d3633.js → payouts-table-6b8ba8f1.js} +3 -3
- package/dist/esm/{schema-validations-ccea6a06.js → schema-validations-b1aec6a0.js} +2 -2
- package/dist/esm/{skeleton-ee7c3b32.js → skeleton-74fbfb68.js} +1 -1
- package/dist/esm/{spinner-8ec6669a.js → spinner-6b708842.js} +1 -1
- package/dist/esm/{event-types-fd7a05d9.js → table-e287f1c0.js} +3 -10
- package/dist/esm/table-filters-menu.entry.js +3 -3
- package/dist/esm/terminal-orders-list-core.entry.js +76 -0
- package/dist/esm/terminal-orders-table-765c44d5.js +14 -0
- package/dist/esm/terminals-list-core.entry.js +16 -15
- package/dist/esm/terminals-list-params-state-e4b2ec23.js +16 -0
- package/dist/esm/{terminals-table-2963e65b.js → terminals-table-c6258344.js} +3 -3
- package/dist/esm/{utils-c2dc83b2.js → utils-6c26bccc.js} +1 -1
- package/dist/esm/{utils-b10dae27.js → utils-fd99b806.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Analytics.js +82 -0
- package/dist/module/{config.js → Api.js} +1 -13
- package/dist/module/Business.js +6 -2
- package/dist/module/Checkout.js +9 -2
- package/dist/module/SubAccount.js +7 -10
- package/dist/module/additional-statement.js +1 -1
- package/dist/module/bank-account-form2.js +37 -2
- package/dist/module/business-terms-conditions-form-step.js +3 -3
- package/dist/module/business.service.js +8 -8
- package/dist/module/cancellation-policy.js +1 -1
- package/dist/module/card-form2.js +43 -2
- package/dist/module/check-pkg-version.js +1 -75
- package/dist/module/checkout.service.js +4 -4
- package/dist/module/checkouts-list-core2.js +9 -9
- package/dist/module/checkouts-list-params-state.js +11 -5
- 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 +2 -2
- package/dist/module/dispute-response-actions.js +5 -5
- package/dist/module/dispute-response-core.js +2 -2
- package/dist/module/dispute-response.js +4 -4
- package/dist/module/duplicate-charge.js +1 -1
- package/dist/module/electronic-evidence.js +1 -1
- package/dist/module/event-types2.js +1 -55
- 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-monetary2.js +2 -2
- 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/get-business.js +32 -0
- package/dist/module/get-payout-csv.js +4 -13
- package/dist/module/get-subaccounts.js +2 -5
- package/dist/module/gross-payment-chart-core2.js +1 -1
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/iframe-input2.js +6 -7
- package/dist/module/justifi-business-details.js +4 -31
- package/dist/module/justifi-business-form.js +4 -3
- package/dist/module/justifi-checkout.js +5 -5
- package/dist/module/justifi-checkouts-list-filters.js +34 -10
- package/dist/module/justifi-checkouts-list.js +4 -4
- package/dist/module/justifi-dispute-management.js +4 -4
- package/dist/module/justifi-gross-payment-chart.js +4 -3
- package/dist/module/justifi-order-terminals.d.ts +11 -0
- package/dist/module/justifi-order-terminals.js +119 -0
- package/dist/module/justifi-payment-details.js +2 -1
- package/dist/module/justifi-payment-provisioning.js +4 -3
- package/dist/module/justifi-payments-list-filters.js +3 -3
- package/dist/module/justifi-payments-list.js +4 -4
- package/dist/module/justifi-payout-details.js +2 -1
- package/dist/module/justifi-payouts-list-filters.js +24 -4
- package/dist/module/justifi-payouts-list.js +4 -4
- package/dist/module/justifi-refund-form.js +3 -3
- package/dist/module/justifi-season-interruption-insurance.js +6 -5
- package/dist/module/justifi-terminal-orders-list.d.ts +11 -0
- package/dist/module/justifi-terminal-orders-list.js +73 -0
- package/dist/module/justifi-terminals-list-filters.js +29 -7
- package/dist/module/justifi-terminals-list.js +7 -12
- package/dist/module/justifi-tokenize-payment-method.js +16 -10
- package/dist/module/package.js +1 -1
- package/dist/module/parts.js +21 -1
- package/dist/module/payment-details-core2.js +7 -7
- package/dist/module/payment.service.js +3 -6
- package/dist/module/payments-list-core2.js +9 -8
- package/dist/module/payout-details-core2.js +1 -1
- package/dist/module/payouts-list-core2.js +15 -11
- package/dist/module/payouts-list-params-state.js +11 -5
- package/dist/module/product-or-service.js +1 -1
- package/dist/module/refund-policy.js +1 -1
- package/dist/module/schema-validations.js +1 -1
- package/dist/module/shipping-details.js +1 -1
- package/dist/module/table-filters-menu2.js +2 -2
- package/dist/module/table.js +55 -0
- package/dist/module/terminal-orders-list-core.d.ts +11 -0
- package/dist/module/terminal-orders-list-core.js +6 -0
- package/dist/module/terminal-orders-list-core2.js +117 -0
- package/dist/module/terminals-list-core2.js +10 -10
- package/dist/module/terminals-list-params-state.js +11 -5
- package/dist/types/api/Business.d.ts +4 -4
- package/dist/types/api/Checkout.d.ts +6 -1
- package/dist/types/api/Payout.d.ts +0 -1
- package/dist/types/api/Terminal.d.ts +6 -12
- package/dist/types/components/checkout/bank-account-form/bank-account-form-skeleton.d.ts +6 -0
- package/dist/types/components/checkout/bank-account-form/bank-account-form.d.ts +2 -0
- package/dist/types/components/checkout/card-form/card-form-skeleton.d.ts +6 -0
- package/dist/types/components/checkout/card-form/card-form.d.ts +2 -0
- package/dist/types/components/checkouts-list/checkouts-list-core.d.ts +1 -1
- package/dist/types/components/checkouts-list/checkouts-list-filters.d.ts +5 -2
- package/dist/types/components/checkouts-list/checkouts-list-params-state.d.ts +4 -3
- package/dist/types/components/order-terminals/order-terminals-loading.d.ts +1 -0
- package/dist/types/components/order-terminals/order-terminals.d.ts +16 -0
- package/dist/types/components/payments-list/payments-list-core.d.ts +1 -1
- package/dist/types/components/payouts-list/payouts-list-core.d.ts +1 -1
- package/dist/types/components/payouts-list/payouts-list-filters.d.ts +3 -0
- package/dist/types/components/payouts-list/payouts-list-params-state.d.ts +4 -3
- package/dist/types/components/terminal-orders-list/terminal-orders-list-core.d.ts +25 -0
- package/dist/types/components/terminal-orders-list/terminal-orders-list.d.ts +11 -0
- package/dist/types/components/terminal-orders-list/terminal-orders-table.d.ts +9 -0
- package/dist/types/components/terminals-list/terminals-list-core.d.ts +1 -1
- package/dist/types/components/terminals-list/terminals-list-filters.d.ts +4 -1
- package/dist/types/components/terminals-list/terminals-list-params-state.d.ts +4 -3
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +4 -3
- package/dist/types/components.d.ts +125 -12
- package/dist/types/styles/parts.d.ts +14 -0
- package/dist/types/ui-components/form/iframe-input.d.ts +2 -1
- package/dist/webcomponents/p-020e7d5d.entry.js +1 -0
- package/dist/webcomponents/{p-0f6ae5ea.entry.js → p-060896c4.entry.js} +1 -1
- package/dist/webcomponents/{p-298e290e.js → p-06f5b709.js} +1 -1
- package/dist/webcomponents/p-092515e0.js +1 -0
- package/dist/webcomponents/{p-94eba309.js → p-09496255.js} +1 -1
- package/dist/webcomponents/p-0b38cfbf.js +1 -0
- package/dist/webcomponents/p-0c768ac5.entry.js +1 -0
- package/dist/webcomponents/p-0e180654.js +1 -0
- package/dist/webcomponents/p-0f0c5556.entry.js +1 -0
- package/dist/webcomponents/{p-f19f9f61.js → p-1278dedf.js} +1 -1
- package/dist/webcomponents/p-15675401.entry.js +1 -0
- package/dist/webcomponents/p-185181a8.js +1 -0
- package/dist/webcomponents/{p-5bf4535a.entry.js → p-19063270.entry.js} +1 -1
- package/dist/webcomponents/p-1906c67d.entry.js +1 -0
- package/dist/webcomponents/p-1a2eea29.entry.js +1 -0
- package/dist/webcomponents/p-1f4e26f3.entry.js +1 -0
- package/dist/webcomponents/p-1f99a902.js +1 -0
- package/dist/webcomponents/{p-bada4783.entry.js → p-235abbd1.entry.js} +1 -1
- package/dist/webcomponents/p-245819b0.entry.js +1 -0
- package/dist/webcomponents/p-26864218.entry.js +1 -0
- package/dist/webcomponents/p-27c72b92.entry.js +1 -0
- package/dist/webcomponents/p-2e0ae487.js +1 -0
- package/dist/webcomponents/p-2f9af679.js +1 -0
- package/dist/webcomponents/{p-21431a04.js → p-300a99ee.js} +1 -1
- package/dist/webcomponents/p-309dc8aa.js +1 -0
- package/dist/webcomponents/p-32ca779f.js +1 -0
- package/dist/webcomponents/p-375b4d2c.entry.js +1 -0
- package/dist/webcomponents/p-37b7b200.entry.js +1 -0
- package/dist/webcomponents/p-389e1eb7.js +1 -0
- package/dist/webcomponents/p-3a7a2a64.entry.js +1 -0
- package/dist/webcomponents/p-3ab7a49e.entry.js +1 -0
- package/dist/webcomponents/{p-938993c7.js → p-3b680e50.js} +1 -1
- package/dist/webcomponents/p-3bb21097.entry.js +1 -0
- package/dist/webcomponents/p-3d486f37.entry.js +1 -0
- package/dist/webcomponents/p-42a48c59.js +1 -0
- package/dist/webcomponents/p-45bf8573.js +1 -0
- package/dist/webcomponents/p-49df4962.entry.js +1 -0
- package/dist/webcomponents/{p-ab1504b6.entry.js → p-4a71c90b.entry.js} +1 -1
- package/dist/webcomponents/{p-c5c03d88.js → p-4acf8ca2.js} +1 -1
- package/dist/webcomponents/p-4b6256e0.entry.js +1 -0
- package/dist/webcomponents/p-553dba95.entry.js +1 -0
- package/dist/webcomponents/p-595479da.entry.js +1 -0
- package/dist/webcomponents/p-5a96a2a2.entry.js +1 -0
- package/dist/webcomponents/{p-275f2154.js → p-5d1d2fd7.js} +1 -1
- package/dist/webcomponents/p-61b5417f.entry.js +1 -0
- package/dist/webcomponents/p-66ae2a0e.entry.js +1 -0
- package/dist/webcomponents/p-69242bad.entry.js +1 -0
- package/dist/webcomponents/p-73b98298.entry.js +1 -0
- package/dist/webcomponents/p-78a204f9.entry.js +1 -0
- package/dist/webcomponents/p-794cce10.entry.js +1 -0
- package/dist/webcomponents/{p-4c820f81.js → p-7bf21156.js} +1 -1
- package/dist/webcomponents/p-7c541199.entry.js +1 -0
- package/dist/webcomponents/p-7ee5a90e.entry.js +1 -0
- package/dist/webcomponents/p-87a7c3aa.js +1 -0
- package/dist/webcomponents/{p-8115b2f4.js → p-87f8c596.js} +1 -1
- package/dist/webcomponents/{p-5afefc50.entry.js → p-89ecfbf4.entry.js} +2 -2
- package/dist/webcomponents/{p-3e716e03.js → p-8a7266b4.js} +1 -1
- package/dist/webcomponents/{p-8f25f016.js → p-8b16a20f.js} +1 -1
- package/dist/webcomponents/p-8bedece0.entry.js +1 -0
- package/dist/webcomponents/{p-e63fdbca.js → p-906a6027.js} +1 -1
- package/dist/webcomponents/p-939d0a35.entry.js +1 -0
- package/dist/webcomponents/{p-de13f23c.js → p-95e55bb1.js} +1 -1
- package/dist/webcomponents/p-95fbb4b0.entry.js +1 -0
- package/dist/webcomponents/p-9a4d0e1d.entry.js +1 -0
- package/dist/webcomponents/{p-14c91ffd.js → p-9dd8685c.js} +1 -1
- package/dist/webcomponents/p-9edd6ad8.js +1 -0
- package/dist/webcomponents/p-a0082e77.entry.js +1 -0
- package/dist/webcomponents/{p-1820fd87.entry.js → p-a31ba276.entry.js} +1 -1
- package/dist/webcomponents/p-a90d8f4f.entry.js +1 -0
- package/dist/webcomponents/p-ab45511e.js +1 -0
- package/dist/webcomponents/p-b1aa7d2b.entry.js +1 -0
- package/dist/webcomponents/p-b2d57b2c.entry.js +1 -0
- package/dist/webcomponents/p-b7084adc.js +1 -0
- package/dist/webcomponents/{p-f2f2e20e.js → p-b84ee6d8.js} +1 -1
- package/dist/webcomponents/p-c4ca0038.js +1 -0
- package/dist/webcomponents/p-c78b5581.js +1 -0
- package/dist/webcomponents/{p-0ea387a2.js → p-c9b78275.js} +1 -1
- package/dist/webcomponents/p-cba89310.entry.js +1 -0
- package/dist/webcomponents/p-cbb6cc19.js +1 -0
- package/dist/webcomponents/p-cbe05f11.js +1 -0
- package/dist/webcomponents/p-cc552f59.entry.js +1 -0
- package/dist/webcomponents/p-d398ce81.js +1 -0
- package/dist/webcomponents/p-d432f0fd.entry.js +1 -0
- package/dist/webcomponents/{p-0277c1b2.js → p-d43a38a4.js} +1 -1
- package/dist/webcomponents/p-d5c41ec6.js +1 -0
- package/dist/webcomponents/{p-db37b175.entry.js → p-e007002a.entry.js} +1 -1
- package/dist/webcomponents/p-e15f749c.entry.js +1 -0
- package/dist/webcomponents/{p-d07c45e6.entry.js → p-e3e0d791.entry.js} +1 -1
- package/dist/webcomponents/p-e8cd9691.js +1 -0
- package/dist/webcomponents/{p-5baec916.entry.js → p-e8fc36c1.entry.js} +1 -1
- package/dist/webcomponents/p-e9e80a62.js +1 -0
- package/dist/webcomponents/{p-7542ebd6.entry.js → p-ea0f2446.entry.js} +1 -1
- package/dist/webcomponents/p-ebbe93ac.entry.js +1 -0
- package/dist/webcomponents/p-ec019b89.js +1 -0
- package/dist/webcomponents/p-edae0bb0.entry.js +1 -0
- package/dist/webcomponents/p-f162c569.entry.js +1 -0
- package/dist/webcomponents/p-f30cb232.js +1 -0
- package/dist/webcomponents/p-f4739d31.js +1 -0
- package/dist/webcomponents/{p-facada09.entry.js → p-f7d9ea0b.entry.js} +1 -1
- package/dist/webcomponents/{p-3e0f3d87.entry.js → p-fea43254.entry.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/checkouts-list-params-state-418c75a3.js +0 -14
- package/dist/cjs/payouts-list-params-state-16348184.js +0 -14
- package/dist/cjs/terminals-list-params-state-95ff6a64.js +0 -14
- package/dist/config.js +0 -11
- package/dist/esm/checkouts-list-params-state-1d968971.js +0 -10
- package/dist/esm/payouts-list-params-state-49618e7a.js +0 -10
- package/dist/esm/terminals-list-params-state-2c48d35f.js +0 -10
- package/dist/types/home/runner/work/web-component-library/web-component-library/packages/webcomponents/.stencil/packages/webcomponents/config.d.ts +0 -11
- package/dist/webcomponents/p-00c32bb9.entry.js +0 -1
- package/dist/webcomponents/p-01d4e35a.js +0 -1
- package/dist/webcomponents/p-045d4ebf.entry.js +0 -1
- package/dist/webcomponents/p-08d87a52.entry.js +0 -1
- package/dist/webcomponents/p-0e68b7d6.entry.js +0 -1
- package/dist/webcomponents/p-131db5d1.entry.js +0 -1
- package/dist/webcomponents/p-1603fe4d.js +0 -1
- package/dist/webcomponents/p-16ba9bea.js +0 -1
- package/dist/webcomponents/p-189affee.entry.js +0 -1
- package/dist/webcomponents/p-18a7a9e6.entry.js +0 -1
- package/dist/webcomponents/p-1e8a1e01.entry.js +0 -1
- package/dist/webcomponents/p-2916bb62.entry.js +0 -1
- package/dist/webcomponents/p-2f94d478.entry.js +0 -1
- package/dist/webcomponents/p-31cbc05a.entry.js +0 -1
- package/dist/webcomponents/p-31e2d12c.entry.js +0 -1
- package/dist/webcomponents/p-35b00a0d.js +0 -1
- package/dist/webcomponents/p-40e23b13.js +0 -1
- package/dist/webcomponents/p-415deed1.entry.js +0 -1
- package/dist/webcomponents/p-44d2c762.entry.js +0 -1
- package/dist/webcomponents/p-47a3003c.entry.js +0 -1
- package/dist/webcomponents/p-4bad3621.js +0 -1
- package/dist/webcomponents/p-58f5e37b.entry.js +0 -1
- package/dist/webcomponents/p-5b72bab7.js +0 -1
- package/dist/webcomponents/p-62696f63.entry.js +0 -1
- package/dist/webcomponents/p-63caad6e.entry.js +0 -1
- package/dist/webcomponents/p-66b6c56b.js +0 -1
- package/dist/webcomponents/p-6d2c8be2.entry.js +0 -1
- package/dist/webcomponents/p-72992c97.entry.js +0 -1
- package/dist/webcomponents/p-72ff0d5f.entry.js +0 -1
- package/dist/webcomponents/p-74014392.entry.js +0 -1
- package/dist/webcomponents/p-778e9dd0.entry.js +0 -1
- package/dist/webcomponents/p-7b04f492.entry.js +0 -1
- package/dist/webcomponents/p-7bcec768.entry.js +0 -1
- package/dist/webcomponents/p-7c31ec70.js +0 -1
- package/dist/webcomponents/p-85b5eeb6.entry.js +0 -1
- package/dist/webcomponents/p-8815bf82.entry.js +0 -1
- package/dist/webcomponents/p-8da3667c.js +0 -1
- package/dist/webcomponents/p-9540d2f2.js +0 -1
- package/dist/webcomponents/p-960a8ec2.js +0 -1
- package/dist/webcomponents/p-98dad117.entry.js +0 -1
- package/dist/webcomponents/p-991df3a1.entry.js +0 -1
- package/dist/webcomponents/p-9ad6e792.entry.js +0 -1
- package/dist/webcomponents/p-9f773228.js +0 -1
- package/dist/webcomponents/p-a2076a0e.js +0 -1
- package/dist/webcomponents/p-aa02cf71.js +0 -1
- package/dist/webcomponents/p-ab254da1.entry.js +0 -1
- package/dist/webcomponents/p-af66f580.entry.js +0 -1
- package/dist/webcomponents/p-b15ad5df.js +0 -1
- package/dist/webcomponents/p-b2209632.entry.js +0 -1
- package/dist/webcomponents/p-b6e90400.entry.js +0 -1
- package/dist/webcomponents/p-ca361ef6.entry.js +0 -1
- package/dist/webcomponents/p-ccd91d8a.entry.js +0 -1
- package/dist/webcomponents/p-d0bde1cb.js +0 -1
- package/dist/webcomponents/p-d8c04275.js +0 -1
- package/dist/webcomponents/p-d91c46dc.js +0 -1
- package/dist/webcomponents/p-dd867d1f.js +0 -1
- package/dist/webcomponents/p-ddcd2ff7.entry.js +0 -1
- package/dist/webcomponents/p-e8c3c23f.js +0 -1
- package/dist/webcomponents/p-eae512f0.entry.js +0 -1
- package/dist/webcomponents/p-f0c0cbc8.entry.js +0 -1
- package/dist/webcomponents/p-f28ddbe8.entry.js +0 -1
- package/dist/webcomponents/p-f694e1c8.js +0 -1
- package/dist/webcomponents/p-fa2b405c.entry.js +0 -1
- package/dist/webcomponents/p-fdbcd486.js +0 -1
- /package/dist/collection/{components/business-details → actions/business}/get-business.js +0 -0
- /package/dist/collection/{components → actions}/checkout/checkout-actions.js +0 -0
- /package/dist/collection/{components/checkouts-list → actions/checkout}/get-checkouts.js +0 -0
- /package/dist/collection/{components/dispute-management → actions/dispute}/dispute-actions.js +0 -0
- /package/dist/collection/{components/gross-payment-chart → actions/gross-payment}/get-gross-payment-chart-data.js +0 -0
- /package/dist/collection/{components → actions}/insurance/insurance-actions.js +0 -0
- /package/dist/collection/{components/payment-details → actions/payment}/get-payment-details.js +0 -0
- /package/dist/collection/{components/payments-list → actions/payment}/get-payments.js +0 -0
- /package/dist/collection/{components/payout-details → actions/payout}/get-payout-details.js +0 -0
- /package/dist/collection/{components/payouts-list → actions/payout}/get-payouts.js +0 -0
- /package/dist/collection/{components/terminals-list → actions/terminal}/get-terminal-detail.js +0 -0
- /package/dist/collection/{components/terminals-list → actions/terminal}/get-terminals.js +0 -0
- /package/dist/types/{components/business-details → actions/business}/get-business.d.ts +0 -0
- /package/dist/types/{components → actions}/checkout/checkout-actions.d.ts +0 -0
- /package/dist/types/{components/checkouts-list → actions/checkout}/get-checkouts.d.ts +0 -0
- /package/dist/types/{components/dispute-management → actions/dispute}/dispute-actions.d.ts +0 -0
- /package/dist/types/{components/gross-payment-chart → actions/gross-payment}/get-gross-payment-chart-data.d.ts +0 -0
- /package/dist/types/{components → actions}/insurance/insurance-actions.d.ts +0 -0
- /package/dist/types/{components/payment-details → actions/payment}/get-payment-details.d.ts +0 -0
- /package/dist/types/{components/payments-list → actions/payment}/get-payments.d.ts +0 -0
- /package/dist/types/{components/payout-details → actions/payout}/get-payout-details.d.ts +0 -0
- /package/dist/types/{components/payouts-list → actions/payout}/get-payouts.d.ts +0 -0
- /package/dist/types/{api → actions/sub-account}/get-subaccounts.d.ts +0 -0
- /package/dist/types/{components/terminals-list → actions/terminal}/get-terminal-detail.d.ts +0 -0
- /package/dist/types/{components/terminals-list → actions/terminal}/get-terminals.d.ts +0 -0
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
8
|
import { IAdditionalQuestions, IAddress, IBusiness } from "./api/Business";
|
|
9
|
-
import { ComponentErrorEvent as ComponentErrorEvent1, ComponentFormStepCompleteEvent as ComponentFormStepCompleteEvent1, FileSelectEvent, IApiResponse, IBnpl, ILoadedEventResponse } from "./api";
|
|
9
|
+
import { ComponentErrorCodes, ComponentErrorEvent as ComponentErrorEvent1, ComponentFormStepCompleteEvent as ComponentFormStepCompleteEvent1, ComponentSubmitEvent as ComponentSubmitEvent1, FileSelectEvent, IApiResponse, IBnpl, ICheckoutPaymentMode, ICheckoutStatus, ILoadedEventResponse, ITerminalStatus } from "./api";
|
|
10
10
|
import { BillingFormFields, PostalFormFields } from "./components/billing-forms/billing-form-schema";
|
|
11
11
|
import { ComponentClickEvent, ComponentErrorEvent, ComponentFormStepCompleteEvent, ComponentSubmitEvent } from "./api/ComponentEvents";
|
|
12
12
|
import { Placement, PositioningStrategy } from "@popperjs/core";
|
|
13
13
|
import { EntityDocumentType, FileSelectEvent as FileSelectEvent1 } from "./api/Document";
|
|
14
|
-
import {
|
|
14
|
+
import { FormController } from "./components";
|
|
15
15
|
import { DisputeEvidenceDocument } from "./api/DisputeEvidenceDocument";
|
|
16
16
|
import { DisputeResponseFormStep } from "./components/dispute-management/dispute-response/dispute-response-form-types";
|
|
17
17
|
import { FormController as FormController1 } from "./ui-components/form/form";
|
|
@@ -20,16 +20,15 @@ import { Dispute, IDispute } from "./api/Dispute";
|
|
|
20
20
|
import { PaymentMethodOption } from "./components/checkout/payment-method-option-utils";
|
|
21
21
|
import { PaymentMethodPayload } from "./components/checkout/payment-method-payload";
|
|
22
22
|
import { RefundFormFields } from "./components/refund-form/refund-form-schema";
|
|
23
|
-
import { ComponentErrorCodes } from "./api/ComponentError";
|
|
24
23
|
import { Identity } from "./api/Identity";
|
|
25
24
|
import { PaginationProps } from "./components/pagination-menu/pagination-menu";
|
|
26
25
|
export { IAdditionalQuestions, IAddress, IBusiness } from "./api/Business";
|
|
27
|
-
export { ComponentErrorEvent as ComponentErrorEvent1, ComponentFormStepCompleteEvent as ComponentFormStepCompleteEvent1, FileSelectEvent, IApiResponse, IBnpl, ILoadedEventResponse } from "./api";
|
|
26
|
+
export { ComponentErrorCodes, ComponentErrorEvent as ComponentErrorEvent1, ComponentFormStepCompleteEvent as ComponentFormStepCompleteEvent1, ComponentSubmitEvent as ComponentSubmitEvent1, FileSelectEvent, IApiResponse, IBnpl, ICheckoutPaymentMode, ICheckoutStatus, ILoadedEventResponse, ITerminalStatus } from "./api";
|
|
28
27
|
export { BillingFormFields, PostalFormFields } from "./components/billing-forms/billing-form-schema";
|
|
29
28
|
export { ComponentClickEvent, ComponentErrorEvent, ComponentFormStepCompleteEvent, ComponentSubmitEvent } from "./api/ComponentEvents";
|
|
30
29
|
export { Placement, PositioningStrategy } from "@popperjs/core";
|
|
31
30
|
export { EntityDocumentType, FileSelectEvent as FileSelectEvent1 } from "./api/Document";
|
|
32
|
-
export {
|
|
31
|
+
export { FormController } from "./components";
|
|
33
32
|
export { DisputeEvidenceDocument } from "./api/DisputeEvidenceDocument";
|
|
34
33
|
export { DisputeResponseFormStep } from "./components/dispute-management/dispute-response/dispute-response-form-types";
|
|
35
34
|
export { FormController as FormController1 } from "./ui-components/form/form";
|
|
@@ -38,7 +37,6 @@ export { Dispute, IDispute } from "./api/Dispute";
|
|
|
38
37
|
export { PaymentMethodOption } from "./components/checkout/payment-method-option-utils";
|
|
39
38
|
export { PaymentMethodPayload } from "./components/checkout/payment-method-payload";
|
|
40
39
|
export { RefundFormFields } from "./components/refund-form/refund-form-schema";
|
|
41
|
-
export { ComponentErrorCodes } from "./api/ComponentError";
|
|
42
40
|
export { Identity } from "./api/Identity";
|
|
43
41
|
export { PaginationProps } from "./components/pagination-menu/pagination-menu";
|
|
44
42
|
export namespace Components {
|
|
@@ -381,6 +379,8 @@ export namespace Components {
|
|
|
381
379
|
"columns"?: string;
|
|
382
380
|
}
|
|
383
381
|
interface JustifiCheckoutsListFilters {
|
|
382
|
+
"checkoutStatus"?: ICheckoutStatus;
|
|
383
|
+
"paymentMode"?: ICheckoutPaymentMode;
|
|
384
384
|
}
|
|
385
385
|
interface JustifiCustomerDetails {
|
|
386
386
|
"disputeResponse": any;
|
|
@@ -471,6 +471,10 @@ export namespace Components {
|
|
|
471
471
|
"paymentMethodOption": PaymentMethodOption;
|
|
472
472
|
"resolvePaymentMethod": (insuranceValidation: any) => Promise<PaymentMethodPayload>;
|
|
473
473
|
}
|
|
474
|
+
interface JustifiOrderTerminals {
|
|
475
|
+
"authToken": string;
|
|
476
|
+
"businessId": string;
|
|
477
|
+
}
|
|
474
478
|
interface JustifiOwnerForm {
|
|
475
479
|
"allowOptionalFields"?: boolean;
|
|
476
480
|
"authToken": string;
|
|
@@ -558,6 +562,8 @@ export namespace Components {
|
|
|
558
562
|
"columns"?: string;
|
|
559
563
|
}
|
|
560
564
|
interface JustifiPayoutsListFilters {
|
|
565
|
+
"createdAfter"?: string;
|
|
566
|
+
"createdBefore"?: string;
|
|
561
567
|
}
|
|
562
568
|
interface JustifiProductOrService {
|
|
563
569
|
"disputeResponse": any;
|
|
@@ -646,6 +652,12 @@ export namespace Components {
|
|
|
646
652
|
"disputeResponse": any;
|
|
647
653
|
"validateAndSubmit": (onSuccess: (formData: any, documentList: DisputeEvidenceDocument[], formStep: DisputeResponseFormStep) => void) => Promise<void>;
|
|
648
654
|
}
|
|
655
|
+
interface JustifiTerminalOrdersList {
|
|
656
|
+
"apiOrigin"?: string;
|
|
657
|
+
"authToken": string;
|
|
658
|
+
"businessId": string;
|
|
659
|
+
"columns"?: string;
|
|
660
|
+
}
|
|
649
661
|
interface JustifiTerminalsList {
|
|
650
662
|
"accountId": string;
|
|
651
663
|
"apiOrigin"?: string;
|
|
@@ -653,19 +665,21 @@ export namespace Components {
|
|
|
653
665
|
"columns"?: string;
|
|
654
666
|
}
|
|
655
667
|
interface JustifiTerminalsListFilters {
|
|
668
|
+
"terminalId"?: string;
|
|
669
|
+
"terminalStatus"?: ITerminalStatus;
|
|
656
670
|
}
|
|
657
671
|
interface JustifiTokenizePaymentMethod {
|
|
658
672
|
"accountId": string;
|
|
659
673
|
"authToken": string;
|
|
660
674
|
"disableBankAccount"?: boolean;
|
|
661
675
|
"disableCreditCard"?: boolean;
|
|
662
|
-
"fillBillingForm": (fields:
|
|
676
|
+
"fillBillingForm": (fields: BillingFormFields) => Promise<void>;
|
|
663
677
|
"hideCardBillingForm"?: boolean;
|
|
664
678
|
"hideSubmitButton"?: boolean;
|
|
665
679
|
"iframeOrigin"?: string;
|
|
666
680
|
"paymentMethodGroupId": string;
|
|
667
681
|
"submitButtonText": string;
|
|
668
|
-
"tokenizePaymentMethod": (event?: CustomEvent) => Promise<
|
|
682
|
+
"tokenizePaymentMethod": (event?: CustomEvent) => Promise<PaymentMethodPayload>;
|
|
669
683
|
}
|
|
670
684
|
interface LegalAddressDetails {
|
|
671
685
|
"legalAddress": IAddress;
|
|
@@ -730,6 +744,10 @@ export namespace Components {
|
|
|
730
744
|
"clearParams": () => void;
|
|
731
745
|
"params": any;
|
|
732
746
|
}
|
|
747
|
+
interface TerminalOrdersListCore {
|
|
748
|
+
"columns": string;
|
|
749
|
+
"getTerminalOrders": Function;
|
|
750
|
+
}
|
|
733
751
|
interface TerminalsListCore {
|
|
734
752
|
"columns": string;
|
|
735
753
|
"getSubAccounts": Function;
|
|
@@ -796,6 +814,10 @@ export interface GrossPaymentChartCoreCustomEvent<T> extends CustomEvent<T> {
|
|
|
796
814
|
detail: T;
|
|
797
815
|
target: HTMLGrossPaymentChartCoreElement;
|
|
798
816
|
}
|
|
817
|
+
export interface IframeInputCustomEvent<T> extends CustomEvent<T> {
|
|
818
|
+
detail: T;
|
|
819
|
+
target: HTMLIframeInputElement;
|
|
820
|
+
}
|
|
799
821
|
export interface JustifiAdditionalQuestionsFormStepCustomEvent<T> extends CustomEvent<T> {
|
|
800
822
|
detail: T;
|
|
801
823
|
target: HTMLJustifiAdditionalQuestionsFormStepElement;
|
|
@@ -896,6 +918,10 @@ export interface JustifiNewPaymentMethodCustomEvent<T> extends CustomEvent<T> {
|
|
|
896
918
|
detail: T;
|
|
897
919
|
target: HTMLJustifiNewPaymentMethodElement;
|
|
898
920
|
}
|
|
921
|
+
export interface JustifiOrderTerminalsCustomEvent<T> extends CustomEvent<T> {
|
|
922
|
+
detail: T;
|
|
923
|
+
target: HTMLJustifiOrderTerminalsElement;
|
|
924
|
+
}
|
|
899
925
|
export interface JustifiOwnerFormCustomEvent<T> extends CustomEvent<T> {
|
|
900
926
|
detail: T;
|
|
901
927
|
target: HTMLJustifiOwnerFormElement;
|
|
@@ -976,6 +1002,10 @@ export interface PayoutsListCoreCustomEvent<T> extends CustomEvent<T> {
|
|
|
976
1002
|
detail: T;
|
|
977
1003
|
target: HTMLPayoutsListCoreElement;
|
|
978
1004
|
}
|
|
1005
|
+
export interface TerminalOrdersListCoreCustomEvent<T> extends CustomEvent<T> {
|
|
1006
|
+
detail: T;
|
|
1007
|
+
target: HTMLTerminalOrdersListCoreElement;
|
|
1008
|
+
}
|
|
979
1009
|
export interface TerminalsListCoreCustomEvent<T> extends CustomEvent<T> {
|
|
980
1010
|
detail: T;
|
|
981
1011
|
target: HTMLTerminalsListCoreElement;
|
|
@@ -1322,7 +1352,18 @@ declare global {
|
|
|
1322
1352
|
prototype: HTMLHiddenInputElement;
|
|
1323
1353
|
new (): HTMLHiddenInputElement;
|
|
1324
1354
|
};
|
|
1355
|
+
interface HTMLIframeInputElementEventMap {
|
|
1356
|
+
"iframeLoaded": void;
|
|
1357
|
+
}
|
|
1325
1358
|
interface HTMLIframeInputElement extends Components.IframeInput, HTMLStencilElement {
|
|
1359
|
+
addEventListener<K extends keyof HTMLIframeInputElementEventMap>(type: K, listener: (this: HTMLIframeInputElement, ev: IframeInputCustomEvent<HTMLIframeInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1360
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1361
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1362
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1363
|
+
removeEventListener<K extends keyof HTMLIframeInputElementEventMap>(type: K, listener: (this: HTMLIframeInputElement, ev: IframeInputCustomEvent<HTMLIframeInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1364
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1365
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1366
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1326
1367
|
}
|
|
1327
1368
|
var HTMLIframeInputElement: {
|
|
1328
1369
|
prototype: HTMLIframeInputElement;
|
|
@@ -1867,6 +1908,23 @@ declare global {
|
|
|
1867
1908
|
prototype: HTMLJustifiNewPaymentMethodElement;
|
|
1868
1909
|
new (): HTMLJustifiNewPaymentMethodElement;
|
|
1869
1910
|
};
|
|
1911
|
+
interface HTMLJustifiOrderTerminalsElementEventMap {
|
|
1912
|
+
"error-event": ComponentErrorEvent1;
|
|
1913
|
+
}
|
|
1914
|
+
interface HTMLJustifiOrderTerminalsElement extends Components.JustifiOrderTerminals, HTMLStencilElement {
|
|
1915
|
+
addEventListener<K extends keyof HTMLJustifiOrderTerminalsElementEventMap>(type: K, listener: (this: HTMLJustifiOrderTerminalsElement, ev: JustifiOrderTerminalsCustomEvent<HTMLJustifiOrderTerminalsElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1916
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1917
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1918
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1919
|
+
removeEventListener<K extends keyof HTMLJustifiOrderTerminalsElementEventMap>(type: K, listener: (this: HTMLJustifiOrderTerminalsElement, ev: JustifiOrderTerminalsCustomEvent<HTMLJustifiOrderTerminalsElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1920
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1921
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1922
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1923
|
+
}
|
|
1924
|
+
var HTMLJustifiOrderTerminalsElement: {
|
|
1925
|
+
prototype: HTMLJustifiOrderTerminalsElement;
|
|
1926
|
+
new (): HTMLJustifiOrderTerminalsElement;
|
|
1927
|
+
};
|
|
1870
1928
|
interface HTMLJustifiOwnerFormElementEventMap {
|
|
1871
1929
|
"error-event": ComponentErrorEvent;
|
|
1872
1930
|
}
|
|
@@ -2139,6 +2197,12 @@ declare global {
|
|
|
2139
2197
|
prototype: HTMLJustifiShippingDetailsElement;
|
|
2140
2198
|
new (): HTMLJustifiShippingDetailsElement;
|
|
2141
2199
|
};
|
|
2200
|
+
interface HTMLJustifiTerminalOrdersListElement extends Components.JustifiTerminalOrdersList, HTMLStencilElement {
|
|
2201
|
+
}
|
|
2202
|
+
var HTMLJustifiTerminalOrdersListElement: {
|
|
2203
|
+
prototype: HTMLJustifiTerminalOrdersListElement;
|
|
2204
|
+
new (): HTMLJustifiTerminalOrdersListElement;
|
|
2205
|
+
};
|
|
2142
2206
|
interface HTMLJustifiTerminalsListElementEventMap {
|
|
2143
2207
|
"error-event": ComponentErrorEvent;
|
|
2144
2208
|
}
|
|
@@ -2163,8 +2227,8 @@ declare global {
|
|
|
2163
2227
|
new (): HTMLJustifiTerminalsListFiltersElement;
|
|
2164
2228
|
};
|
|
2165
2229
|
interface HTMLJustifiTokenizePaymentMethodElementEventMap {
|
|
2166
|
-
"error-event":
|
|
2167
|
-
"submit-event":
|
|
2230
|
+
"error-event": ComponentErrorEvent1;
|
|
2231
|
+
"submit-event": ComponentSubmitEvent1;
|
|
2168
2232
|
}
|
|
2169
2233
|
interface HTMLJustifiTokenizePaymentMethodElement extends Components.JustifiTokenizePaymentMethod, HTMLStencilElement {
|
|
2170
2234
|
addEventListener<K extends keyof HTMLJustifiTokenizePaymentMethodElementEventMap>(type: K, listener: (this: HTMLJustifiTokenizePaymentMethodElement, ev: JustifiTokenizePaymentMethodCustomEvent<HTMLJustifiTokenizePaymentMethodElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -2312,6 +2376,23 @@ declare global {
|
|
|
2312
2376
|
prototype: HTMLTableFiltersMenuElement;
|
|
2313
2377
|
new (): HTMLTableFiltersMenuElement;
|
|
2314
2378
|
};
|
|
2379
|
+
interface HTMLTerminalOrdersListCoreElementEventMap {
|
|
2380
|
+
"error-event": any;
|
|
2381
|
+
}
|
|
2382
|
+
interface HTMLTerminalOrdersListCoreElement extends Components.TerminalOrdersListCore, HTMLStencilElement {
|
|
2383
|
+
addEventListener<K extends keyof HTMLTerminalOrdersListCoreElementEventMap>(type: K, listener: (this: HTMLTerminalOrdersListCoreElement, ev: TerminalOrdersListCoreCustomEvent<HTMLTerminalOrdersListCoreElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2384
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2385
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
2386
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
2387
|
+
removeEventListener<K extends keyof HTMLTerminalOrdersListCoreElementEventMap>(type: K, listener: (this: HTMLTerminalOrdersListCoreElement, ev: TerminalOrdersListCoreCustomEvent<HTMLTerminalOrdersListCoreElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
2388
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2389
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
2390
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
2391
|
+
}
|
|
2392
|
+
var HTMLTerminalOrdersListCoreElement: {
|
|
2393
|
+
prototype: HTMLTerminalOrdersListCoreElement;
|
|
2394
|
+
new (): HTMLTerminalOrdersListCoreElement;
|
|
2395
|
+
};
|
|
2315
2396
|
interface HTMLTerminalsListCoreElementEventMap {
|
|
2316
2397
|
"click-event": ComponentClickEvent;
|
|
2317
2398
|
"error-event": ComponentErrorEvent;
|
|
@@ -2398,6 +2479,7 @@ declare global {
|
|
|
2398
2479
|
"justifi-legal-address-form-step": HTMLJustifiLegalAddressFormStepElement;
|
|
2399
2480
|
"justifi-legal-address-form-step-core": HTMLJustifiLegalAddressFormStepCoreElement;
|
|
2400
2481
|
"justifi-new-payment-method": HTMLJustifiNewPaymentMethodElement;
|
|
2482
|
+
"justifi-order-terminals": HTMLJustifiOrderTerminalsElement;
|
|
2401
2483
|
"justifi-owner-form": HTMLJustifiOwnerFormElement;
|
|
2402
2484
|
"justifi-payment-details": HTMLJustifiPaymentDetailsElement;
|
|
2403
2485
|
"justifi-payment-method-options": HTMLJustifiPaymentMethodOptionsElement;
|
|
@@ -2419,6 +2501,7 @@ declare global {
|
|
|
2419
2501
|
"justifi-season-interruption-insurance-core": HTMLJustifiSeasonInterruptionInsuranceCoreElement;
|
|
2420
2502
|
"justifi-sezzle-payment-method": HTMLJustifiSezzlePaymentMethodElement;
|
|
2421
2503
|
"justifi-shipping-details": HTMLJustifiShippingDetailsElement;
|
|
2504
|
+
"justifi-terminal-orders-list": HTMLJustifiTerminalOrdersListElement;
|
|
2422
2505
|
"justifi-terminals-list": HTMLJustifiTerminalsListElement;
|
|
2423
2506
|
"justifi-terminals-list-filters": HTMLJustifiTerminalsListFiltersElement;
|
|
2424
2507
|
"justifi-tokenize-payment-method": HTMLJustifiTokenizePaymentMethodElement;
|
|
@@ -2434,6 +2517,7 @@ declare global {
|
|
|
2434
2517
|
"postal-form": HTMLPostalFormElement;
|
|
2435
2518
|
"representative-details": HTMLRepresentativeDetailsElement;
|
|
2436
2519
|
"table-filters-menu": HTMLTableFiltersMenuElement;
|
|
2520
|
+
"terminal-orders-list-core": HTMLTerminalOrdersListCoreElement;
|
|
2437
2521
|
"terminals-list-core": HTMLTerminalsListCoreElement;
|
|
2438
2522
|
}
|
|
2439
2523
|
}
|
|
@@ -2645,6 +2729,7 @@ declare namespace LocalJSX {
|
|
|
2645
2729
|
"iframeOrigin"?: string;
|
|
2646
2730
|
"inputId"?: string;
|
|
2647
2731
|
"label"?: string;
|
|
2732
|
+
"onIframeLoaded"?: (event: IframeInputCustomEvent<void>) => void;
|
|
2648
2733
|
}
|
|
2649
2734
|
interface JustifiAdditionalQuestions {
|
|
2650
2735
|
"formController"?: FormController;
|
|
@@ -2813,6 +2898,8 @@ declare namespace LocalJSX {
|
|
|
2813
2898
|
"onError-event"?: (event: JustifiCheckoutsListCustomEvent<ComponentErrorEvent>) => void;
|
|
2814
2899
|
}
|
|
2815
2900
|
interface JustifiCheckoutsListFilters {
|
|
2901
|
+
"checkoutStatus"?: ICheckoutStatus;
|
|
2902
|
+
"paymentMode"?: ICheckoutPaymentMode;
|
|
2816
2903
|
}
|
|
2817
2904
|
interface JustifiCustomerDetails {
|
|
2818
2905
|
"disputeResponse"?: any;
|
|
@@ -2912,6 +2999,11 @@ declare namespace LocalJSX {
|
|
|
2912
2999
|
"paymentMethodGroupId"?: string;
|
|
2913
3000
|
"paymentMethodOption"?: PaymentMethodOption;
|
|
2914
3001
|
}
|
|
3002
|
+
interface JustifiOrderTerminals {
|
|
3003
|
+
"authToken"?: string;
|
|
3004
|
+
"businessId"?: string;
|
|
3005
|
+
"onError-event"?: (event: JustifiOrderTerminalsCustomEvent<ComponentErrorEvent1>) => void;
|
|
3006
|
+
}
|
|
2915
3007
|
interface JustifiOwnerForm {
|
|
2916
3008
|
"allowOptionalFields"?: boolean;
|
|
2917
3009
|
"authToken"?: string;
|
|
@@ -3003,6 +3095,8 @@ declare namespace LocalJSX {
|
|
|
3003
3095
|
"onError-event"?: (event: JustifiPayoutsListCustomEvent<ComponentErrorEvent>) => void;
|
|
3004
3096
|
}
|
|
3005
3097
|
interface JustifiPayoutsListFilters {
|
|
3098
|
+
"createdAfter"?: string;
|
|
3099
|
+
"createdBefore"?: string;
|
|
3006
3100
|
}
|
|
3007
3101
|
interface JustifiProductOrService {
|
|
3008
3102
|
"disputeResponse"?: any;
|
|
@@ -3094,6 +3188,12 @@ declare namespace LocalJSX {
|
|
|
3094
3188
|
interface JustifiShippingDetails {
|
|
3095
3189
|
"disputeResponse"?: any;
|
|
3096
3190
|
}
|
|
3191
|
+
interface JustifiTerminalOrdersList {
|
|
3192
|
+
"apiOrigin"?: string;
|
|
3193
|
+
"authToken"?: string;
|
|
3194
|
+
"businessId"?: string;
|
|
3195
|
+
"columns"?: string;
|
|
3196
|
+
}
|
|
3097
3197
|
interface JustifiTerminalsList {
|
|
3098
3198
|
"accountId"?: string;
|
|
3099
3199
|
"apiOrigin"?: string;
|
|
@@ -3102,6 +3202,8 @@ declare namespace LocalJSX {
|
|
|
3102
3202
|
"onError-event"?: (event: JustifiTerminalsListCustomEvent<ComponentErrorEvent>) => void;
|
|
3103
3203
|
}
|
|
3104
3204
|
interface JustifiTerminalsListFilters {
|
|
3205
|
+
"terminalId"?: string;
|
|
3206
|
+
"terminalStatus"?: ITerminalStatus;
|
|
3105
3207
|
}
|
|
3106
3208
|
interface JustifiTokenizePaymentMethod {
|
|
3107
3209
|
"accountId"?: string;
|
|
@@ -3111,8 +3213,8 @@ declare namespace LocalJSX {
|
|
|
3111
3213
|
"hideCardBillingForm"?: boolean;
|
|
3112
3214
|
"hideSubmitButton"?: boolean;
|
|
3113
3215
|
"iframeOrigin"?: string;
|
|
3114
|
-
"onError-event"?: (event: JustifiTokenizePaymentMethodCustomEvent<
|
|
3115
|
-
"onSubmit-event"?: (event: JustifiTokenizePaymentMethodCustomEvent<
|
|
3216
|
+
"onError-event"?: (event: JustifiTokenizePaymentMethodCustomEvent<ComponentErrorEvent1>) => void;
|
|
3217
|
+
"onSubmit-event"?: (event: JustifiTokenizePaymentMethodCustomEvent<ComponentSubmitEvent1>) => void;
|
|
3116
3218
|
"paymentMethodGroupId"?: string;
|
|
3117
3219
|
"submitButtonText"?: string;
|
|
3118
3220
|
}
|
|
@@ -3182,6 +3284,11 @@ declare namespace LocalJSX {
|
|
|
3182
3284
|
"clearParams"?: () => void;
|
|
3183
3285
|
"params"?: any;
|
|
3184
3286
|
}
|
|
3287
|
+
interface TerminalOrdersListCore {
|
|
3288
|
+
"columns"?: string;
|
|
3289
|
+
"getTerminalOrders"?: Function;
|
|
3290
|
+
"onError-event"?: (event: TerminalOrdersListCoreCustomEvent<any>) => void;
|
|
3291
|
+
}
|
|
3185
3292
|
interface TerminalsListCore {
|
|
3186
3293
|
"columns"?: string;
|
|
3187
3294
|
"getSubAccounts"?: Function;
|
|
@@ -3257,6 +3364,7 @@ declare namespace LocalJSX {
|
|
|
3257
3364
|
"justifi-legal-address-form-step": JustifiLegalAddressFormStep;
|
|
3258
3365
|
"justifi-legal-address-form-step-core": JustifiLegalAddressFormStepCore;
|
|
3259
3366
|
"justifi-new-payment-method": JustifiNewPaymentMethod;
|
|
3367
|
+
"justifi-order-terminals": JustifiOrderTerminals;
|
|
3260
3368
|
"justifi-owner-form": JustifiOwnerForm;
|
|
3261
3369
|
"justifi-payment-details": JustifiPaymentDetails;
|
|
3262
3370
|
"justifi-payment-method-options": JustifiPaymentMethodOptions;
|
|
@@ -3278,6 +3386,7 @@ declare namespace LocalJSX {
|
|
|
3278
3386
|
"justifi-season-interruption-insurance-core": JustifiSeasonInterruptionInsuranceCore;
|
|
3279
3387
|
"justifi-sezzle-payment-method": JustifiSezzlePaymentMethod;
|
|
3280
3388
|
"justifi-shipping-details": JustifiShippingDetails;
|
|
3389
|
+
"justifi-terminal-orders-list": JustifiTerminalOrdersList;
|
|
3281
3390
|
"justifi-terminals-list": JustifiTerminalsList;
|
|
3282
3391
|
"justifi-terminals-list-filters": JustifiTerminalsListFilters;
|
|
3283
3392
|
"justifi-tokenize-payment-method": JustifiTokenizePaymentMethod;
|
|
@@ -3293,6 +3402,7 @@ declare namespace LocalJSX {
|
|
|
3293
3402
|
"postal-form": PostalForm;
|
|
3294
3403
|
"representative-details": RepresentativeDetails;
|
|
3295
3404
|
"table-filters-menu": TableFiltersMenu;
|
|
3405
|
+
"terminal-orders-list-core": TerminalOrdersListCore;
|
|
3296
3406
|
"terminals-list-core": TerminalsListCore;
|
|
3297
3407
|
}
|
|
3298
3408
|
}
|
|
@@ -3372,6 +3482,7 @@ declare module "@stencil/core" {
|
|
|
3372
3482
|
"justifi-legal-address-form-step": LocalJSX.JustifiLegalAddressFormStep & JSXBase.HTMLAttributes<HTMLJustifiLegalAddressFormStepElement>;
|
|
3373
3483
|
"justifi-legal-address-form-step-core": LocalJSX.JustifiLegalAddressFormStepCore & JSXBase.HTMLAttributes<HTMLJustifiLegalAddressFormStepCoreElement>;
|
|
3374
3484
|
"justifi-new-payment-method": LocalJSX.JustifiNewPaymentMethod & JSXBase.HTMLAttributes<HTMLJustifiNewPaymentMethodElement>;
|
|
3485
|
+
"justifi-order-terminals": LocalJSX.JustifiOrderTerminals & JSXBase.HTMLAttributes<HTMLJustifiOrderTerminalsElement>;
|
|
3375
3486
|
"justifi-owner-form": LocalJSX.JustifiOwnerForm & JSXBase.HTMLAttributes<HTMLJustifiOwnerFormElement>;
|
|
3376
3487
|
"justifi-payment-details": LocalJSX.JustifiPaymentDetails & JSXBase.HTMLAttributes<HTMLJustifiPaymentDetailsElement>;
|
|
3377
3488
|
"justifi-payment-method-options": LocalJSX.JustifiPaymentMethodOptions & JSXBase.HTMLAttributes<HTMLJustifiPaymentMethodOptionsElement>;
|
|
@@ -3393,6 +3504,7 @@ declare module "@stencil/core" {
|
|
|
3393
3504
|
"justifi-season-interruption-insurance-core": LocalJSX.JustifiSeasonInterruptionInsuranceCore & JSXBase.HTMLAttributes<HTMLJustifiSeasonInterruptionInsuranceCoreElement>;
|
|
3394
3505
|
"justifi-sezzle-payment-method": LocalJSX.JustifiSezzlePaymentMethod & JSXBase.HTMLAttributes<HTMLJustifiSezzlePaymentMethodElement>;
|
|
3395
3506
|
"justifi-shipping-details": LocalJSX.JustifiShippingDetails & JSXBase.HTMLAttributes<HTMLJustifiShippingDetailsElement>;
|
|
3507
|
+
"justifi-terminal-orders-list": LocalJSX.JustifiTerminalOrdersList & JSXBase.HTMLAttributes<HTMLJustifiTerminalOrdersListElement>;
|
|
3396
3508
|
"justifi-terminals-list": LocalJSX.JustifiTerminalsList & JSXBase.HTMLAttributes<HTMLJustifiTerminalsListElement>;
|
|
3397
3509
|
"justifi-terminals-list-filters": LocalJSX.JustifiTerminalsListFilters & JSXBase.HTMLAttributes<HTMLJustifiTerminalsListFiltersElement>;
|
|
3398
3510
|
"justifi-tokenize-payment-method": LocalJSX.JustifiTokenizePaymentMethod & JSXBase.HTMLAttributes<HTMLJustifiTokenizePaymentMethodElement>;
|
|
@@ -3408,6 +3520,7 @@ declare module "@stencil/core" {
|
|
|
3408
3520
|
"postal-form": LocalJSX.PostalForm & JSXBase.HTMLAttributes<HTMLPostalFormElement>;
|
|
3409
3521
|
"representative-details": LocalJSX.RepresentativeDetails & JSXBase.HTMLAttributes<HTMLRepresentativeDetailsElement>;
|
|
3410
3522
|
"table-filters-menu": LocalJSX.TableFiltersMenu & JSXBase.HTMLAttributes<HTMLTableFiltersMenuElement>;
|
|
3523
|
+
"terminal-orders-list-core": LocalJSX.TerminalOrdersListCore & JSXBase.HTMLAttributes<HTMLTerminalOrdersListCoreElement>;
|
|
3411
3524
|
"terminals-list-core": LocalJSX.TerminalsListCore & JSXBase.HTMLAttributes<HTMLTerminalsListCoreElement>;
|
|
3412
3525
|
}
|
|
3413
3526
|
}
|
|
@@ -62,6 +62,8 @@ export declare const badgeLight = "badge font-family badge-light";
|
|
|
62
62
|
export declare const badgeDark = "badge font-family badge-dark";
|
|
63
63
|
export declare const dropdownMenu = "dropdown-menu text color font-family";
|
|
64
64
|
export declare const radioListItem = "radio-list-item text color font-family";
|
|
65
|
+
export declare const listGroup = "list-group text color font-family background-color";
|
|
66
|
+
export declare const listGroupItem = "list-group-item text color font-family background-color";
|
|
65
67
|
export declare const skeleton = "skeleton";
|
|
66
68
|
export declare const billingForm = "billing-form";
|
|
67
69
|
export declare const checkoutSummary = "checkout-summary";
|
|
@@ -73,3 +75,15 @@ export declare const terminalIdPaymentsListFilterParam = "payments-list-filter-p
|
|
|
73
75
|
export declare const paymentStatusPaymentsListFilterParam = "payments-list-filter-param payment-status-payments-list-filter-param";
|
|
74
76
|
export declare const createdAfterPaymentsListFilterParam = "payments-list-filter-param created-after-payments-list-filter-param";
|
|
75
77
|
export declare const createdBeforePaymentsListFilterParam = "payments-list-filter-param created-before-payments-list-filter-param";
|
|
78
|
+
export declare const payoutsListFilterMenu = "filter-menu payouts-list-filter-menu";
|
|
79
|
+
export declare const payoutsListFilterParam = "payouts-list-filter-param";
|
|
80
|
+
export declare const createdAfterPayoutsListFilterParam = "payouts-list-filter-param created-after-payouts-list-filter-param";
|
|
81
|
+
export declare const createdBeforePayoutsListFilterParam = "payouts-list-filter-param created-before-payouts-list-filter-param";
|
|
82
|
+
export declare const checkoutsListFilterMenu = "filter-menu checkouts-list-filter-menu";
|
|
83
|
+
export declare const checkoutsListFilterParam = "checkouts-list-filter-param";
|
|
84
|
+
export declare const statusCheckoutsListFilterParam = "checkouts-list-filter-param checkout-status-checkouts-list-filter-param";
|
|
85
|
+
export declare const paymentModeCheckoutsListFilterParam = "checkouts-list-filter-param payment-mode-checkouts-list-filter-param";
|
|
86
|
+
export declare const terminalsListFilterMenu = "filter-menu terminals-list-filter-menu";
|
|
87
|
+
export declare const terminalsListFilterParam = "terminals-list-filter-param";
|
|
88
|
+
export declare const terminalIdTerminalsListFilterParam = "terminals-list-filter-param terminal-id-terminals-list-filter-param";
|
|
89
|
+
export declare const terminalStatusTerminalsListFilterParam = "terminals-list-filter-param terminal-status-terminals-list-filter-param";
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
import { EventEmitter } from "../../stencil-public-runtime";
|
|
1
2
|
export declare class IframeInput {
|
|
2
3
|
private iframeElement;
|
|
3
4
|
private frameService;
|
|
4
5
|
el: HTMLElement;
|
|
6
|
+
iframeLoaded: EventEmitter<void>;
|
|
5
7
|
isFocused: boolean;
|
|
6
8
|
isValid: boolean;
|
|
7
9
|
errorText: string;
|
|
8
|
-
iframeLoaded: boolean;
|
|
9
10
|
inputId: string;
|
|
10
11
|
label: string;
|
|
11
12
|
iframeOrigin: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as e,h as s,H as a}from"./p-2783e363.js";import{l as i,c as h,b as o,a1 as d,a as r}from"./p-e8cd9691.js";import{F as c}from"./p-2f9af679.js";const l=class{constructor(s){t(this,s),this.formControlInput=e(this,"formControlInput",7),this.formControlBlur=e(this,"formControlBlur",7),this.handleFormControlInput=t=>{const e=t.target.value;this.inputHandler(this.name,e),this.formControlInput.emit({name:this.name,value:e})},this.isFocused=!1,this.name=void 0,this.label=void 0,this.inputHandler=void 0,this.defaultValue=void 0,this.helpText=void 0,this.errorText=void 0,this.disabled=void 0,this.showTime=void 0,this.maxDate=this.currentDate}handleDefaultValueChange(t){this.updateInput(t)}get currentDate(){return this.showTime?(new Date).toISOString().slice(0,16):(new Date).toISOString().split("T")[0]}componentDidLoad(){this.updateInput(this.defaultValue)}updateInput(t){this.dateInput.value=t}get part(){let t=h;return this.errorText&&(t=o),this.disabled&&(t=d),this.isFocused&&(t=r),t}render(){return s(a,{key:"c1add6b2191a1b3263c12bcbf5d0be368df38dab"},s("div",{key:"34be414bc3a4499a8fef8de45855ecc1e00edcd4",class:"form-group d-flex flex-column"},s("div",{key:"f5198a9aabd0e12c0f1597ac357a433a84ce56a6",class:"d-flex gap-2"},s("label",{key:"084a1eb6ddfd7b728e0c5402c995b1f561e9cc7d",part:i,class:"form-label",htmlFor:this.name},this.label),s("form-control-tooltip",{key:"0328133482e9cc0f3082aa41c143fd21e95ee8ee",helpText:this.helpText})),s("input",{key:"59cbf8ccd7d2a08f38f07c73b1b457eb109d1571",type:this.showTime?"datetime-local":"date",ref:t=>this.dateInput=t,id:this.name,name:this.name,onFocus:()=>this.isFocused=!0,onBlur:()=>{this.isFocused=!1,this.formControlBlur.emit()},onInput:this.handleFormControlInput,part:this.part,class:this.errorText?"form-control is-invalid":"form-control",disabled:this.disabled,max:this.maxDate}),s(c,{key:"d71b3de2d560c4a44a3a00a7e5f28d9bfc5843b1",errorText:this.errorText,name:this.name})))}static get watchers(){return{defaultValue:["handleDefaultValueChange"]}}};export{l as form_control_date}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as s,F as i,r as t,c as e}from"./p-2783e363.js";import{E as l}from"./p-
|
|
1
|
+
import{h as s,F as i,r as t,c as e}from"./p-2783e363.js";import{E as l}from"./p-8b16a20f.js";import{S as r}from"./p-bfe9748b.js";import{S as n}from"./p-e9e80a62.js";import"./p-e8cd9691.js";const o=()=>{const t=()=>s("div",{class:"mt-5"},s(n,{width:"40%",height:"1.5rem"}),s("hr",null),s("div",{class:"row g-3"},s("div",{class:"col-12 col-md-6"},s(n,null),s(n,null),s(n,null)),s("div",{class:"col-12 col-md-6"},s(n,null),s(n,null),s(n,null))));return s(i,null,s(t,null),s(t,null),s(t,null),s(t,null))};var a;!function(s){s.LOADING="loading",s.READY="ready",s.ERROR="error"}(a||(a={}));const d=class{constructor(s){t(this,s),this.errorEvent=e(this,"error-event",7),this.getBusiness=void 0,this.business=void 0,this.renderState=a.LOADING,this.errorMessage="An error ocurred."}async componentWillLoad(){this.getBusiness&&this.fetchData()}fetchData(){this.renderState=a.LOADING,this.getBusiness({onSuccess:({business:s})=>{this.business=s,this.renderState=a.READY},onError:({error:s,code:i,severity:t})=>{this.errorMessage=s,this.renderState=a.ERROR,this.errorEvent.emit({errorCode:i,message:s,severity:t})}})}render(){return this.renderState===a.LOADING?s(r,null,s(o,null)):this.renderState===a.ERROR?s(r,null,l(this.errorMessage)):s(r,null,s("generic-info-details",{business:this.business}),s("legal-address-details",{legalAddress:this.business.legal_address}),s("representative-details",{representative:this.business.representative}),s("owner-details",{owners:this.business.owners}),s("additional-questions-details",{additionalQuestions:this.business.additional_questions}))}};export{d as business_details_core}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as s}from"./p-2783e363.js";import{f as r,g as n,j as a}from"./p-
|
|
1
|
+
import{h as s}from"./p-2783e363.js";import{f as r,g as n,j as a}from"./p-e8cd9691.js";const t=(t,o)=>s("button",Object.assign({class:`btn btn-${t.variant}`,onClick:t.clickHandler,part:`${{primary:n,secondary:a}[t.variant]} ${t.isLoading?r:""}`},t),t.isLoading?s("div",{class:"spinner-border spinner-border-sm",role:"status",part:"button-spinner"},s("span",{class:"visually-hidden"},"Loading...")):o);export{t as B}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as s}from"./p-f20b6ce1.js";const t={},a={},c=s((()=>t)),{state:e,on:o}=c,p=s((()=>a)),{state:b}=p,f=()=>Object.assign(Object.assign({},e),b),j=()=>{c.reset()};export{j as c,e as f,f as g,o,b as p}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as e}from"./p-2783e363.js";import{B as t,a}from"./p-
|
|
1
|
+
import{h as e}from"./p-2783e363.js";import{B as t,a}from"./p-3b680e50.js";const i=i=>e(t,Object.assign({},{succeeded:{variant:a.SUCCESS,title:"This payment was successfully captured",text:"Succeeded"},authorized:{variant:a.PRIMARY,title:"This card payment was authorized, but not captured. It could still succeed or fail.",text:"Authorized"},pending:{variant:a.PRIMARY,title:"This ACH payment was processed, but the funds have not settled. It could still succeed or fail.",text:"Pending"},achFailed:{variant:a.DANGER,title:"The funds couldn't be collected for this ACH payment (in addition to the original payment, an ACH return and fee will appear in a payout)",text:"ACH Failed"},failed:{variant:a.DANGER,title:"This card payment did not go through (it will not appear in a payout)",text:"Failed"},canceled:{variant:a.DANGER,title:"This payment was canceled",text:"Canceled"},disputed:{variant:a.SECONDARY,title:"The account holder disputed this payment. The amount has been returned and a fee assessed.",text:"Disputed"},fully_refunded:{variant:a.SECONDARY,title:"The full amount of this payment has been refunded",text:"Fully Refunded"},partially_refunded:{variant:a.SECONDARY,title:"A portion of this payment has been refunded",text:"Partially Refunded"}}[i]));export{i as M}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as s}from"./p-2783e363.js";import{h as a}from"./p-e8cd9691.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 i,h as s}from"./p-2783e363.js";import{a as e,C as r}from"./p-9dd8685c.js";import{J as o}from"./p-b7084adc.js";import{c as a}from"./p-87a7c3aa.js";import{a as p}from"./p-abdbcd8e.js";import{g as n,a as c}from"./p-87f8c596.js";import{D as h}from"./p-32ca779f.js";import"./p-7bf21156.js";import"./p-0e180654.js";import"./p-389e1eb7.js";import"./p-2ca5b5e4.js";import"./p-56f6ce4c.js";import"./p-9894484a.js";import"./p-42a48c59.js";import"./p-61f0a2ce.js";const d=class{constructor(s){t(this,s),this.errorEvent=i(this,"error-event",7),this.handleErrorEvent=t=>{this.errorMessage=t.detail.message,this.errorEvent.emit(t.detail)},this.disputeId=void 0,this.authToken=void 0,this.apiOrigin=void 0,this.getDispute=void 0,this.errorMessage=null}componentWillLoad(){a(),this.analytics=new o(this),this.initializeGetDispute()}disconnectedCallback(){this.analytics.cleanup()}propChanged(){this.initializeGetDispute()}initializeGetDispute(){this.disputeId&&this.authToken?this.getDispute=(({id:t,authToken:i,service:s,apiOrigin:r})=>async({onSuccess:o,onError:a})=>{var h;try{const d=await s.fetchDispute(t,i,r);if(d.error)return a({error:n(d.error),code:c(null===(h=d.error)||void 0===h?void 0:h.code),severity:e.ERROR});{const t=Object.assign({},d.page_info);o({dispute:new p(d.data),pagingInfo:t})}}catch(t){const i=c(null==t?void 0:t.code);return a({error:t.message||t,code:i,severity:e.ERROR})}})({id:this.disputeId,authToken:this.authToken,service:new h,apiOrigin:this.apiOrigin}):(this.errorMessage="Dispute ID and Auth Token are required",this.errorEvent.emit({message:this.errorMessage,errorCode:r.MISSING_PROPS,severity:e.ERROR}))}render(){return s("justifi-dispute-management-core",{key:"ae0e4a208d6250c4da7033e1d8bf8c33ec041c36",getDispute:this.getDispute,disputeId:this.disputeId,authToken:this.authToken,"onError-event":this.handleErrorEvent})}static get watchers(){return{disputeId:["propChanged"],authToken:["propChanged"]}}};export{d as justifi_dispute_management}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
let n;const t=new Uint8Array(16);function r(){if(!n&&(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!n))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(t)}const o=[];for(let n=0;n<256;++n)o.push((n+256).toString(16).slice(1));const e={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function c(n,t,c){if(e.randomUUID&&!t&&!n)return e.randomUUID();const u=(n=n||{}).random||(n.rng||r)();if(u[6]=15&u[6]|64,u[8]=63&u[8]|128,t){c=c||0;for(let n=0;n<16;++n)t[c+n]=u[n];return t}return function(n,t=0){return o[n[t+0]]+o[n[t+1]]+o[n[t+2]]+o[n[t+3]]+"-"+o[n[t+4]]+o[n[t+5]]+"-"+o[n[t+6]]+o[n[t+7]]+"-"+o[n[t+8]]+o[n[t+9]]+"-"+o[n[t+10]]+o[n[t+11]]+o[n[t+12]]+o[n[t+13]]+o[n[t+14]]+o[n[t+15]]}(u)}const u=({authToken:n,apiOrigin:t})=>{async function r(r,o,e,u,i,a){const p=`${t}/v1/${r}`,s=e?`${p}?${new URLSearchParams(e)}`:p,y=await async function(){return n?{Authorization:`Bearer ${n}`,"Idempotency-Key":c(),"Content-Type":"application/json"}:{"Content-Type":"application/json"}}(),f=Object.assign(Object.assign({},y),a),d=await fetch(s,{method:o,headers:f,body:u,signal:i});if(d)return 204===d.status?{}:d.json();!function(n){console.error(`Error fetching from ${n}`)}(s)}return{get:async function(n,t,o,e){return r(n,"GET",t,null,o,e)},post:async function(n,t,o,e){return r(n,"POST",o,JSON.stringify(t),e)},put:async function(n,t,o,e){return r(n,"PUT",o,JSON.stringify(t),e)},patch:async function(n,t,o,e){return r(n,"PATCH",o,JSON.stringify(t),e)},destroy:async function(n,t,o){return r(n,"DELETE",t,null,o)}}};export{u as A}
|
|
@@ -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-cbb6cc19.js";import{a as e,C as a}from"./p-9dd8685c.js";import"./p-389e1eb7.js";import"./p-56f6ce4c.js";import"./p-9894484a.js";import{P as p}from"./p-42a48c59.js";import"./p-61f0a2ce.js";import{g as h,a as c}from"./p-87f8c596.js";import{E as d}from"./p-8b16a20f.js";import{J as n}from"./p-b7084adc.js";import{c as m}from"./p-87a7c3aa.js";import"./p-0e180654.js";import"./p-2ca5b5e4.js";import"./p-abdbcd8e.js";import"./p-e8cd9691.js";import"./p-7bf21156.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(){m(),this.analytics=new n(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 a;try{const d=await i.fetchPayout(t,s);d.error?r({error:h(d.error),code:c(null===(a=d.error)||void 0===a?void 0:a.code),severity:e.ERROR}):o(new p(d.data))}catch(t){r({error:h(t),code:c(null==t?void 0:t.code),severity:e.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:a.MISSING_PROPS,severity:e.ERROR}))}render(){return this.errorMessage?d(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{h as t}from"./p-2783e363.js";import{M as
|
|
1
|
+
import{h as t}from"./p-2783e363.js";import{M as e}from"./p-09496255.js";import{c as a}from"./p-2ca5b5e4.js";import{k as p,m as o}from"./p-e8cd9691.js";const s="created_at,amount,status,payment_type,description,payers_name,last_four_digits",r={created_at:()=>t("th",{part:p,scope:"col",title:"The date and time each payment was made"},"Date"),amount:()=>t("th",{part:p,scope:"col",title:"The dollar amount of each payment"},"Amount"),status:()=>t("th",{part:p,scope:"col",title:"The current status of each payment"},"Status"),payment_type:()=>t("th",{part:p,scope:"col",title:"The type of each payment"},"Type"),description:()=>t("th",{part:p,scope:"col",title:"The payment description, if you provided one"},"Description"),payers_name:()=>t("th",{part:p,scope:"col",title:"The name associated with the payment method"},"Account Holder"),last_four_digits:()=>t("th",{part:p,scope:"col",title:"The brand and last 4 digits of the payment method"},"Payment Method")},i={created_at:(e,p)=>t("td",{part:o(p)},t("div",{class:"fw-bold"},a(e.created_at,{showDisplayDate:!0})),t("div",{class:"fw-bold"},a(e.created_at,{showTime:!0}))),amount:(e,a)=>t("td",{part:o(a)},e.formattedPaymentAmount(e.amount)),status:(a,p)=>t("td",{part:o(p)},e(a.status)),payment_type:(e,a)=>t("td",{part:o(a)},e.payment_type),description:(e,a)=>t("td",{part:o(a)},e.description),payers_name:(e,a)=>t("td",{part:o(a)},e.payers_name),last_four_digits:(e,a)=>t("td",{part:o(a)},e.last_four_digits)};export{i as a,s as d,r as p}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as s,r as i,c as t}from"./p-2783e363.js";import{c as o,F as e}from"./p-5844a0f0.js";import{b as r,a}from"./p-4acf8ca2.js";import{a as h,i as n}from"./p-d43a38a4.js";import{A as l}from"./p-0e180654.js";import"./p-9dd8685c.js";import"./p-389e1eb7.js";import"./p-56f6ce4c.js";import"./p-9894484a.js";import"./p-42a48c59.js";import"./p-61f0a2ce.js";import{B as p,a as c}from"./p-5d1d2fd7.js";import{J as d}from"./p-b7084adc.js";import{B as m}from"./p-06f5b709.js";import{S as f}from"./p-bfe9748b.js";import{H as b}from"./p-9edd6ad8.js";import{c as j}from"./p-87a7c3aa.js";import{S as u}from"./p-e9e80a62.js";import{B as v}from"./p-73f9be7c.js";import"./p-95e55bb1.js";import"./p-6078a370.js";import"./p-c9b78275.js";import"./p-2ca5b5e4.js";import"./p-abdbcd8e.js";import"./p-1ff8810b.js";import"./p-7bf21156.js";import"./p-e8cd9691.js";const w=o(Object.assign(Object.assign({},r().fields),{legal_address:h(),additional_questions:a(),representative:n("representative")})),g=()=>s("div",{class:"row gap-3"},s("div",{class:"col-12"},s(u,{width:"25%"})),s("div",{class:"col-12"},s(u,{width:"100%"})),s("div",{class:"col-12 d-flex gap-3"},s(u,{width:"50%"}),s(u,{width:"50%"})),s("div",{class:"col-12 d-flex gap-3"},s(u,{width:"65%"}),s(u,{width:"35%"}))),x=()=>s("div",{class:"row gap-5"},s("div",{class:"col-12"},s(u,{width:"40%",height:"40px"})),s(g,null),s(g,null),s(g,null)),y=class{constructor(s){i(this,s),this.submitEvent=t(this,"submit-event",7),this.clickEvent=t(this,"click-event",7),this.instantiateBusiness=s=>{const i=new p(s);this.formController.setInitialValues(Object.assign({},i))},this.sendData=async()=>{this.isSaving=!0;try{const s=this.formController.values.getValue(),i=this.formController.getInitialValues(),t=new p(Object.assign(Object.assign({},i),s)).payload,o=await this.api.patch(this.businessEndpoint,t);this.handleReponse(o)}catch(s){this.errorMessage=c.patchData}finally{this.isSaving=!1}},this.fetchData=async()=>{this.isLoading=!0;try{const s=await this.api.get(this.businessEndpoint);this.instantiateBusiness(s.data)}catch(s){this.errorMessage=c.fetchData}finally{this.isLoading=!1}},this.validateAndSubmit=s=>{s.preventDefault(),this.formController.validateAndSubmit(this.sendData)},this.authToken=void 0,this.businessId=void 0,this.hideErrors=!1,this.formTitle="Business Information",this.removeTitle=!1,this.isLoading=!1,this.isSaving=!1,this.errorMessage=void 0}componentWillLoad(){j(),this.analytics=new d(this),this.authToken||console.error("Warning: Missing auth-token. The form will not be functional without it."),this.businessId||console.error("Warning: Missing business-id. The form requires an existing business-id to function."),this.formController=new e(w),this.api=l({authToken:this.authToken,apiOrigin:void 0}),this.fetchData()}disconnectedCallback(){this.analytics.cleanup()}get title(){return this.removeTitle?"":this.formTitle}get disabledState(){return this.isSaving}get businessEndpoint(){return`entities/business/${this.businessId}`}handleReponse(s){s.error&&(this.errorMessage=c.patchData),this.submitEvent.emit({response:s}),this.instantiateBusiness(s.data)}render(){return s(f,null,this.isLoading?s(x,null):s("form",{onSubmit:this.validateAndSubmit},s("div",{class:"row gap-3"},s(b,{text:this.title}),s("form-alert",{text:this.errorMessage,hideAlert:this.hideErrors}),s("div",{class:"col-12 mb-4"},s("justifi-business-core-info",{formController:this.formController})),s("div",{class:"col-12 mb-4"},s("justifi-legal-address-form",{formController:this.formController})),s("div",{class:"col-12 mb-4"},s("justifi-additional-questions",{formController:this.formController})),s("div",{class:"col-12 mb-4"},s("justifi-business-representative",{formController:this.formController})),s("div",{class:"col-12 d-flex flex-row-reverse"},s(m,{type:"submit",disabled:this.disabledState,variant:"primary",onClick:()=>this.clickEvent.emit({name:v.submit}),isLoading:this.isSaving},"Submit")))))}};export{y as justifi_business_form}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{A as t}from"./p-0e180654.js";import"./p-9dd8685c.js";import"./p-389e1eb7.js";import"./p-56f6ce4c.js";import"./p-9894484a.js";import"./p-42a48c59.js";import"./p-61f0a2ce.js";class o{async fetchCheckout(o,c){const e=`checkouts/${c}`;return t({authToken:o,apiOrigin:void 0}).get(e)}async fetchCheckouts(o,c,e,p){p||(p=void 0);const s={Account:o};return t({authToken:c,apiOrigin:p}).get("checkouts",e,null,s)}async complete(o,c,e){const p=`checkouts/${c}/complete`,s={payment_mode:e.payment_mode};return e.payment_token&&(s.payment_token=e.payment_token),t({authToken:o,apiOrigin:void 0}).post(p,s)}}export{o as C}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as a,H as t}from"./p-2783e363.js";import{J as d,h as l}from"./p-d8c04275.js";import{a as i,r as s,s as c,b as o}from"./p-0ea387a2.js";import{C as r,T as n,P as f,S as b}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,o,n,f,b,u,h,m,v,y,p,k,x;const j=this.formController.getInitialValues().additional_questions;return a(t,{key:"618736c7be498f1665c5cf4aa470dd90eed52334"},a("fieldset",{key:"fae6781f258757e72146d1c99b66654880d72cc0"},a("legend",{key:"96be34e12f5445c7b67b22c5636c74fc44e7532d",part:l},"Additional Questions"),a("div",{key:"cb2ee5e23c714bd950bd586d0cb72cc09489f2d3",class:"row gy-3"},a("div",{key:"f0f781b138c954b6ad1f9039d295b5c4134ed8ed",class:"col-12 col-md-6"},a("form-control-monetary",{key:"df81f8827a2a619570c3664873192219d6a01e7a",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:"1a051cae5f83329287f07b9964125757a3fb0965",class:"col-12 col-md-6"},a("form-control-monetary",{key:"d2662f5858e71554a318d17fb8ee4950ababb781",name:"business_payment_volume",label:"What is the business' annual credit card & ACH volume anticipated to process?",inputHandler:this.inputHandler,errorText:null===(n=null===(o=this.errors)||void 0===o?void 0:o.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:"04da123a8656cb50676a3b8981f3d5aba1188cc1",class:"col-12"},a("form-control-select",{key:"8fcc2ac015c53a82e412f6dfccad4e6759a5d0b6",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===(b=null===(f=this.errors)||void 0===f?void 0:f.additional_questions)||void 0===b?void 0:b.business_when_service_received,options:i,defaultValue:null==j?void 0:j.business_when_service_received})),a("div",{key:"c12eca7ac3d5b58a792fc96dd79bc080ffd0d2f8",class:"col-12"},a("form-control-select",{key:"e77bc7b5daab33b00fe098cd0f5200ee200085e9",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:"27a94ad5b8fe71c6eb775816422151e3cd865040",class:"col-12"},a("form-control-text",{key:"5ae2d05e20022b0d8d6b765df38bb0137537d122",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:"370e2ced766d57fcada32adff6b67644b164acfd",class:"col-12"},a("form-control-select",{key:"1155dc7935f4ef243d1beec8136e5ccc10e808eb",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:c,defaultValue:null==j?void 0:j.business_seasonal})),a("div",{key:"f303957137b424aa3893d7fca83f239512189b6e",class:"col-12"},a("form-control-text",{key:"1d5a1fe15fe3e85df4269f5b397e80a22b2f3bd4",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:"0a54d6f8c056defa8cabdb4dc179c163221da666"},a("fieldset",{key:"4b0c98edb14fd99bdc1b69452f46176d13138521"},a("legend",{key:"ffa4420337c8c0007ea50ed903c2708fcda98027",part:l},"General Info"),a("div",{key:"2e81c755b2f5b8dc881dfac4bb0cb5c61efef68c",class:"row gy-3"},a("div",{key:"02cd06cd22a47c19fe0f7ef56332946383c8fb09",class:"col-12"},a("form-control-text",{key:"9eb76d9b46ca559acc02bd74146249c2d3b75032",name:"legal_name",label:"Legal Name",defaultValue:e.legal_name,errorText:this.errors.legal_name,inputHandler:this.inputHandler})),a("div",{key:"6b3e5d12395548523ec27109b3498e17d160ebb5",class:"col-12"},a("form-control-text",{key:"8ce4c6867f5ca0842b925448196eaae1299663de",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:"b66a589959a2ac7095ab87b9d123e79ed31588ab",class:"col-12 col-md-8"},a("form-control-select",{key:"1ace9df2d442f1fc9411fba5c4f549a3d94f3e04",name:"classification",label:"Business Classification",options:o,defaultValue:e.classification,errorText:this.errors.classification,inputHandler:this.inputHandler})),a("div",{key:"008b69ab22ea29d8555db618734910de2a5d5740",class:"col-12 col-md-4"},a("form-control-date",{key:"19d75c0375ae52cdf139024aff14d9d8911f7ec3",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:"dfa1903977fb2d0f2c7bbc8b990ab67d2040e9b1",class:"col-12 col-md-6"},a("form-control-text",{key:"fd7d05bd1401f86eb45b8c647d54714e14f2190a",name:"industry",label:"Industry",defaultValue:e.industry,errorText:this.errors.industry,inputHandler:this.inputHandler})),a("div",{key:"ae9e24843b6909b288553ec54f99c577b5931417",class:"col-12 col-md-6"},a("form-control-number-masked",{key:"a19f2126f9b24d2fb14a5887a8f83b548f36f4ad",name:"tax_id",label:"Tax ID",defaultValue:e.tax_id,errorText:this.errors.tax_id,inputHandler:this.inputHandler,mask:n.US})),a("div",{key:"029aaf6b714d7a0e1240176fe43e9c7d80e256bf",class:"col-12"},a("form-control-text",{key:"a81b306b6ab4bbe5bd1aa67ff10a2fd1e9bf092e",name:"website_url",label:"Website URL",defaultValue:e.website_url,errorText:this.errors.website_url,inputHandler:this.inputHandler})),a("div",{key:"408bc1916656193648b306cad6b3f6bd343ffc3b",class:"col-12 col-md-6"},a("form-control-text",{key:"d15350befa68b8125c0d292e6ffe7d2a09af5590",name:"email",label:"Email Address",defaultValue:e.email,errorText:this.errors.email,inputHandler:this.inputHandler})),a("div",{key:"5835a78ff6cd8e08b364e4d0016df0fdffaa2fb6",class:"col-12 col-md-6"},a("form-control-number-masked",{key:"4a8507cd54812937df751f69b90cc1d3df503de6",name:"phone",label:"Phone Number",defaultValue:e.phone,errorText:this.errors.phone,inputHandler:this.inputHandler,mask:f.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:"f6ec629438bef335e9a3e04fccc0223f7bafbc26"},a("fieldset",{key:"82eac6e79e74cbcc76438fe3180ef1af9ae467ac"},a("legend",{key:"31ca1bf5cc4e8eea0c28a690b28637dcd42ffa58",part:l},"Representative"),a("div",{key:"f9e554f72dfd3f0dec491158ad83dd47baf6d6cc",class:"row gy-3"},a("div",{key:"79350e59178a94a5af9dbacf13ed6b20fdde8d73",class:"col-12 col-md-8"},a("form-control-text",{key:"78ce85dafde41cd8343898baa4ab802ce2f2d166",name:"name",label:"Full Name",defaultValue:null==e?void 0:e.name,errorText:this.errors.name,inputHandler:this.inputHandler})),a("div",{key:"0b145987fc92bce37bcf3543b544754ed77db31e",class:"col-12 col-md-4"},a("form-control-text",{key:"7d49c2ee8b342ca631cf55f57f529a77bd7c6e3f",name:"title",label:"Title",defaultValue:null==e?void 0:e.title,errorText:this.errors.title,inputHandler:this.inputHandler})),a("div",{key:"a5c758e42bfed677f38b18298e550d1cbb753f3d",class:"col-12 col-md-6"},a("form-control-text",{key:"5e0e9672443f2b1a7b0b63b95d007c29eae0c64d",name:"email",label:"Email Address",defaultValue:null==e?void 0:e.email,errorText:this.errors.email,inputHandler:this.inputHandler})),a("div",{key:"32d63091cdc630f5d0908ff17f0cea17685ecb64",class:"col-12 col-md-6"},a("form-control-number-masked",{key:"975381119e6dc8de8caf969c432ab498b600c156",name:"phone",label:"Phone Number",defaultValue:null==e?void 0:e.phone,errorText:this.errors.phone,inputHandler:this.inputHandler,mask:f.US})),a("div",{key:"86095ab1f1152242fcd68ad153e38b1d7f1ee98f",class:"col-12 col-md-4"},a("form-control-date",{key:"361690e38df5bfe260bfaa200856f6e41c0c624c",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:"b0a24f235e569fe65b518871fe90f3202a4c9666",class:"col-12 col-md-8"},a("form-control-number-masked",{key:"54edaef9d4fed9e5dc2f6743e8168cda6e01c717",name:"identification_number",label:this.identificationNumberLabel,defaultValue:null==e?void 0:e.identification_number,errorText:this.errors.identification_number,inputHandler:this.inputHandler,mask:b})),a("div",{key:"efa8fb991a119b6640d876f48cca69fc19d19301",class:"col-12"},a("justifi-identity-address-form",{key:"50b7dcee0b96a38de05d04fbae8b986bb755c888",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,c,o,r,n,f,b,u,h;const y=this.formController.getInitialValues().legal_address;return a(t,{key:"a9e2d2fa0e1ac8bd37eef9b40ae3ebee44e6246f"},a("fieldset",{key:"defd51a5bdbc9ecf4e640d2008bb1f1f83de5dda"},a("legend",{key:"6d4d4563e426a02539f86c58a6eaa11927ec96e2",part:l},"Business Legal Address"),a("div",{key:"c4d0786717af5da9baca6aca93b4e81f474a1746",class:"row gy-3"},a("div",{key:"f8be78e845a720143e3f175eec6c9f9ee929d612",class:"col-12"},a("form-control-text",{key:"341d426271136e734d9dd8d1968de01938b5eebb",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:"ac5f410a9b12def5284636dd384560af93c982d6",class:"col-12"},a("form-control-text",{key:"b96a18e42af33fbfca0645d9aa039a2430dc0043",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:"c3ac5227e34c525b6be906b5cf06a428bebe2ad4",class:"col-12"},a("form-control-text",{key:"972602adcf764500928eca67660b20344a1313ec",name:"city",label:"City",inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.city,errorText:null===(o=null===(c=this.errors)||void 0===c?void 0:c.legal_address)||void 0===o?void 0:o.city})),a("div",{key:"8ca2e4c78b986f5156976c5adb6b5a63c584607b",class:"col-12"},a("form-control-select",{key:"2f0eacc656e741706064c10234e471fb53ca2be2",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:"e4d51b2347c78f5c47d5ce309c46baa5fc07f7f5",class:"col-12"},a("form-control-text",{key:"e237d5830f0c24bf40e43ba8d2d6b0fd095405ed",name:"postal_code",label:"Postal Code",inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.postal_code,errorText:null===(b=null===(f=this.errors)||void 0===f?void 0:f.legal_address)||void 0===b?void 0:b.postal_code,maxLength:5,keyDownHandler:v})),a("div",{key:"a7bdcd1a867ff4816f20e89f651fe80fed2193cf",class:"col-12"},a("form-control-select",{key:"d345dd93d46618572c3aea87893c135ac688bde5",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}
|
|
1
|
+
import{r as e,h as a,H as t}from"./p-2783e363.js";import{V as d,h as l}from"./p-e8cd9691.js";import{a as i,r as s,s as c,b as o}from"./p-c9b78275.js";import{C as r,T as n,P as f,S as b}from"./p-525db3e8.js";import{C as u}from"./p-5d1d2fd7.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,o,n,f,b,u,h,m,v,y,p,k,x;const j=this.formController.getInitialValues().additional_questions;return a(t,{key:"618736c7be498f1665c5cf4aa470dd90eed52334"},a("fieldset",{key:"fae6781f258757e72146d1c99b66654880d72cc0"},a("legend",{key:"96be34e12f5445c7b67b22c5636c74fc44e7532d",part:l},"Additional Questions"),a("div",{key:"cb2ee5e23c714bd950bd586d0cb72cc09489f2d3",class:"row gy-3"},a("div",{key:"f0f781b138c954b6ad1f9039d295b5c4134ed8ed",class:"col-12 col-md-6"},a("form-control-monetary",{key:"df81f8827a2a619570c3664873192219d6a01e7a",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:"1a051cae5f83329287f07b9964125757a3fb0965",class:"col-12 col-md-6"},a("form-control-monetary",{key:"d2662f5858e71554a318d17fb8ee4950ababb781",name:"business_payment_volume",label:"What is the business' annual credit card & ACH volume anticipated to process?",inputHandler:this.inputHandler,errorText:null===(n=null===(o=this.errors)||void 0===o?void 0:o.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:"04da123a8656cb50676a3b8981f3d5aba1188cc1",class:"col-12"},a("form-control-select",{key:"8fcc2ac015c53a82e412f6dfccad4e6759a5d0b6",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===(b=null===(f=this.errors)||void 0===f?void 0:f.additional_questions)||void 0===b?void 0:b.business_when_service_received,options:i,defaultValue:null==j?void 0:j.business_when_service_received})),a("div",{key:"c12eca7ac3d5b58a792fc96dd79bc080ffd0d2f8",class:"col-12"},a("form-control-select",{key:"e77bc7b5daab33b00fe098cd0f5200ee200085e9",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:"27a94ad5b8fe71c6eb775816422151e3cd865040",class:"col-12"},a("form-control-text",{key:"5ae2d05e20022b0d8d6b765df38bb0137537d122",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:"370e2ced766d57fcada32adff6b67644b164acfd",class:"col-12"},a("form-control-select",{key:"1155dc7935f4ef243d1beec8136e5ccc10e808eb",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:c,defaultValue:null==j?void 0:j.business_seasonal})),a("div",{key:"f303957137b424aa3893d7fca83f239512189b6e",class:"col-12"},a("form-control-text",{key:"1d5a1fe15fe3e85df4269f5b397e80a22b2f3bd4",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:"0a54d6f8c056defa8cabdb4dc179c163221da666"},a("fieldset",{key:"4b0c98edb14fd99bdc1b69452f46176d13138521"},a("legend",{key:"ffa4420337c8c0007ea50ed903c2708fcda98027",part:l},"General Info"),a("div",{key:"2e81c755b2f5b8dc881dfac4bb0cb5c61efef68c",class:"row gy-3"},a("div",{key:"02cd06cd22a47c19fe0f7ef56332946383c8fb09",class:"col-12"},a("form-control-text",{key:"9eb76d9b46ca559acc02bd74146249c2d3b75032",name:"legal_name",label:"Legal Name",defaultValue:e.legal_name,errorText:this.errors.legal_name,inputHandler:this.inputHandler})),a("div",{key:"6b3e5d12395548523ec27109b3498e17d160ebb5",class:"col-12"},a("form-control-text",{key:"8ce4c6867f5ca0842b925448196eaae1299663de",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:"b66a589959a2ac7095ab87b9d123e79ed31588ab",class:"col-12 col-md-8"},a("form-control-select",{key:"1ace9df2d442f1fc9411fba5c4f549a3d94f3e04",name:"classification",label:"Business Classification",options:o,defaultValue:e.classification,errorText:this.errors.classification,inputHandler:this.inputHandler})),a("div",{key:"008b69ab22ea29d8555db618734910de2a5d5740",class:"col-12 col-md-4"},a("form-control-date",{key:"19d75c0375ae52cdf139024aff14d9d8911f7ec3",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:"dfa1903977fb2d0f2c7bbc8b990ab67d2040e9b1",class:"col-12 col-md-6"},a("form-control-text",{key:"fd7d05bd1401f86eb45b8c647d54714e14f2190a",name:"industry",label:"Industry",defaultValue:e.industry,errorText:this.errors.industry,inputHandler:this.inputHandler})),a("div",{key:"ae9e24843b6909b288553ec54f99c577b5931417",class:"col-12 col-md-6"},a("form-control-number-masked",{key:"a19f2126f9b24d2fb14a5887a8f83b548f36f4ad",name:"tax_id",label:"Tax ID",defaultValue:e.tax_id,errorText:this.errors.tax_id,inputHandler:this.inputHandler,mask:n.US})),a("div",{key:"029aaf6b714d7a0e1240176fe43e9c7d80e256bf",class:"col-12"},a("form-control-text",{key:"a81b306b6ab4bbe5bd1aa67ff10a2fd1e9bf092e",name:"website_url",label:"Website URL",defaultValue:e.website_url,errorText:this.errors.website_url,inputHandler:this.inputHandler})),a("div",{key:"408bc1916656193648b306cad6b3f6bd343ffc3b",class:"col-12 col-md-6"},a("form-control-text",{key:"d15350befa68b8125c0d292e6ffe7d2a09af5590",name:"email",label:"Email Address",defaultValue:e.email,errorText:this.errors.email,inputHandler:this.inputHandler})),a("div",{key:"5835a78ff6cd8e08b364e4d0016df0fdffaa2fb6",class:"col-12 col-md-6"},a("form-control-number-masked",{key:"4a8507cd54812937df751f69b90cc1d3df503de6",name:"phone",label:"Phone Number",defaultValue:e.phone,errorText:this.errors.phone,inputHandler:this.inputHandler,mask:f.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:"f6ec629438bef335e9a3e04fccc0223f7bafbc26"},a("fieldset",{key:"82eac6e79e74cbcc76438fe3180ef1af9ae467ac"},a("legend",{key:"31ca1bf5cc4e8eea0c28a690b28637dcd42ffa58",part:l},"Representative"),a("div",{key:"f9e554f72dfd3f0dec491158ad83dd47baf6d6cc",class:"row gy-3"},a("div",{key:"79350e59178a94a5af9dbacf13ed6b20fdde8d73",class:"col-12 col-md-8"},a("form-control-text",{key:"78ce85dafde41cd8343898baa4ab802ce2f2d166",name:"name",label:"Full Name",defaultValue:null==e?void 0:e.name,errorText:this.errors.name,inputHandler:this.inputHandler})),a("div",{key:"0b145987fc92bce37bcf3543b544754ed77db31e",class:"col-12 col-md-4"},a("form-control-text",{key:"7d49c2ee8b342ca631cf55f57f529a77bd7c6e3f",name:"title",label:"Title",defaultValue:null==e?void 0:e.title,errorText:this.errors.title,inputHandler:this.inputHandler})),a("div",{key:"a5c758e42bfed677f38b18298e550d1cbb753f3d",class:"col-12 col-md-6"},a("form-control-text",{key:"5e0e9672443f2b1a7b0b63b95d007c29eae0c64d",name:"email",label:"Email Address",defaultValue:null==e?void 0:e.email,errorText:this.errors.email,inputHandler:this.inputHandler})),a("div",{key:"32d63091cdc630f5d0908ff17f0cea17685ecb64",class:"col-12 col-md-6"},a("form-control-number-masked",{key:"975381119e6dc8de8caf969c432ab498b600c156",name:"phone",label:"Phone Number",defaultValue:null==e?void 0:e.phone,errorText:this.errors.phone,inputHandler:this.inputHandler,mask:f.US})),a("div",{key:"86095ab1f1152242fcd68ad153e38b1d7f1ee98f",class:"col-12 col-md-4"},a("form-control-date",{key:"361690e38df5bfe260bfaa200856f6e41c0c624c",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:"b0a24f235e569fe65b518871fe90f3202a4c9666",class:"col-12 col-md-8"},a("form-control-number-masked",{key:"54edaef9d4fed9e5dc2f6743e8168cda6e01c717",name:"identification_number",label:this.identificationNumberLabel,defaultValue:null==e?void 0:e.identification_number,errorText:this.errors.identification_number,inputHandler:this.inputHandler,mask:b})),a("div",{key:"efa8fb991a119b6640d876f48cca69fc19d19301",class:"col-12"},a("justifi-identity-address-form",{key:"50b7dcee0b96a38de05d04fbae8b986bb755c888",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,c,o,r,n,f,b,u,h;const y=this.formController.getInitialValues().legal_address;return a(t,{key:"a9e2d2fa0e1ac8bd37eef9b40ae3ebee44e6246f"},a("fieldset",{key:"defd51a5bdbc9ecf4e640d2008bb1f1f83de5dda"},a("legend",{key:"6d4d4563e426a02539f86c58a6eaa11927ec96e2",part:l},"Business Legal Address"),a("div",{key:"c4d0786717af5da9baca6aca93b4e81f474a1746",class:"row gy-3"},a("div",{key:"f8be78e845a720143e3f175eec6c9f9ee929d612",class:"col-12"},a("form-control-text",{key:"341d426271136e734d9dd8d1968de01938b5eebb",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:"ac5f410a9b12def5284636dd384560af93c982d6",class:"col-12"},a("form-control-text",{key:"b96a18e42af33fbfca0645d9aa039a2430dc0043",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:"c3ac5227e34c525b6be906b5cf06a428bebe2ad4",class:"col-12"},a("form-control-text",{key:"972602adcf764500928eca67660b20344a1313ec",name:"city",label:"City",inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.city,errorText:null===(o=null===(c=this.errors)||void 0===c?void 0:c.legal_address)||void 0===o?void 0:o.city})),a("div",{key:"8ca2e4c78b986f5156976c5adb6b5a63c584607b",class:"col-12"},a("form-control-select",{key:"2f0eacc656e741706064c10234e471fb53ca2be2",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:"e4d51b2347c78f5c47d5ce309c46baa5fc07f7f5",class:"col-12"},a("form-control-text",{key:"e237d5830f0c24bf40e43ba8d2d6b0fd095405ed",name:"postal_code",label:"Postal Code",inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.postal_code,errorText:null===(b=null===(f=this.errors)||void 0===f?void 0:f.legal_address)||void 0===b?void 0:b.postal_code,maxLength:5,keyDownHandler:v})),a("div",{key:"a7bdcd1a867ff4816f20e89f651fe80fed2193cf",class:"col-12"},a("form-control-select",{key:"d345dd93d46618572c3aea87893c135ac688bde5",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}
|