@justifi/webcomponents 4.20.1 → 4.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{Analytics-3c89cfb4.js → Analytics-9db96975.js} +2 -2
- package/dist/cjs/{Api-b98b256f.js → Api-f5280a80.js} +6 -4
- package/dist/cjs/Checkout-a528241d.js +85 -0
- package/dist/cjs/{Payment-1a8a8ca6.js → Payment-04a842f4.js} +15 -0
- package/dist/cjs/SubAccount-cc95a4a0.js +106 -0
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
- package/dist/cjs/{business-additional-questions-schema-26b0eecb.js → business-additional-questions-schema-19f08938.js} +2 -2
- package/dist/cjs/business-details-core.cjs.entry.js +2 -2
- package/dist/cjs/{business-form-types-6e1fcda3.js → business-form-types-719b7f52.js} +11 -0
- package/dist/cjs/{business-identity-schema-503ecb77.js → business-identity-schema-a8bb2276.js} +2 -2
- package/dist/cjs/{business.service-031c0084.js → business.service-7faffa0b.js} +1 -1
- package/dist/cjs/{check-pkg-version-4fa0367d.js → check-pkg-version-23a1cabd.js} +1 -1
- package/dist/cjs/checkout.service-160f3a9c.js +36 -0
- package/dist/cjs/checkouts-list-core.cjs.entry.js +181 -0
- package/dist/cjs/checkouts-list-filters.cjs.entry.js +35 -0
- package/dist/cjs/{custom-popper.cjs.entry.js → custom-popper_4.cjs.entry.js} +106 -2
- package/dist/cjs/dispute-30c806f6.js +10 -0
- package/dist/cjs/form-alert_5.cjs.entry.js +3 -3
- package/dist/cjs/form-control-checkbox_9.cjs.entry.js +56 -33
- package/dist/cjs/form-control-date.cjs.entry.js +83 -0
- package/dist/cjs/form-control-error-text.cjs.entry.js +21 -0
- package/dist/cjs/form-control-file.cjs.entry.js +1 -1
- package/dist/cjs/form-control-help-text.cjs.entry.js +21 -0
- package/dist/cjs/form-control-monetary.cjs.entry.js +1 -1
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +99 -0
- package/dist/cjs/form-control-number.cjs.entry.js +1 -1
- package/dist/cjs/form-control-radio.cjs.entry.js +44 -0
- package/dist/cjs/form-control-textarea.cjs.entry.js +49 -0
- package/dist/cjs/{get-payout-csv-3a3260ec.js → get-payout-csv-12dc9540.js} +4 -3
- package/dist/cjs/get-subaccounts-8f7a930f.js +54 -0
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +3 -3
- package/dist/cjs/justifi-additional-questions-form-step_10.cjs.entry.js +30 -17
- package/dist/cjs/justifi-additional-statement_11.cjs.entry.js +173 -0
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +3 -3
- package/dist/cjs/justifi-billing-form_2.cjs.entry.js +1679 -14
- package/dist/cjs/justifi-business-details.cjs.entry.js +6 -6
- package/dist/cjs/justifi-business-form.cjs.entry.js +14 -13
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
- package/dist/cjs/justifi-card-form.cjs.entry.js +4 -4
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +5 -10
- package/dist/cjs/justifi-checkout.cjs.entry.js +13 -28
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +119 -0
- package/dist/cjs/justifi-details.cjs.entry.js +3 -3
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +28 -0
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +16 -0
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +5 -5
- package/dist/cjs/{justifi-new-payment-method_4.cjs.entry.js → justifi-new-payment-method_5.cjs.entry.js} +23 -6
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payment-details.cjs.entry.js +9 -8
- package/dist/cjs/justifi-payment-form.cjs.entry.js +12 -11
- package/dist/cjs/justifi-payment-method-selector.cjs.entry.js +4 -3
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +5 -5
- package/dist/cjs/justifi-payments-list.cjs.entry.js +11 -12
- package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -9
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +12 -14
- package/dist/cjs/justifi-refund-form.cjs.entry.js +7 -6
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +4 -4
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +8 -7
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +137 -0
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +59 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/{esm/payments-list-filters_2.entry.js → cjs/lodash-dbf6a6a4.js} +2 -57
- package/dist/cjs/{package-3a9ac89d.js → package-41c8f38c.js} +1 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +11 -10
- package/dist/cjs/{payment.service-47e2d84e.js → payment.service-83da752a.js} +4 -3
- package/dist/cjs/payments-list-core.cjs.entry.js +17 -17
- package/dist/cjs/payments-list-filters.cjs.entry.js +35 -0
- package/dist/cjs/payments-status-58e45b2e.js +26 -0
- package/dist/cjs/payout-details-core.cjs.entry.js +5 -4
- package/dist/cjs/payouts-list-core.cjs.entry.js +8 -24
- package/dist/cjs/payouts-status-2f7be07d.js +24 -0
- package/dist/cjs/{schema-validations-0a7e46a3.js → schema-validations-184a4356.js} +1 -1
- package/dist/cjs/styled-host-1adf46c3.js +14 -0
- package/dist/cjs/table-bb114e2f.js +20 -0
- package/dist/cjs/table-filters-menu.cjs.entry.js +35 -0
- package/dist/cjs/terminals-list-core.cjs.entry.js +166 -0
- package/dist/cjs/terminals-list-filters.cjs.entry.js +32 -0
- package/dist/cjs/{utils-af1b60a9.js → utils-3d84442d.js} +3 -44
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/Api.js +6 -4
- package/dist/collection/api/Checkout.js +77 -1
- package/dist/collection/api/Payment.js +15 -0
- package/dist/collection/api/SubAccount.js +33 -0
- package/dist/collection/api/Terminal.js +25 -0
- package/dist/collection/api/get-subaccounts.js +31 -0
- package/dist/collection/api/index.js +2 -0
- package/dist/collection/api/services/checkout.service.js +10 -1
- package/dist/collection/api/services/subaccounts.service.js +13 -0
- package/dist/collection/api/services/terminal.service.js +20 -0
- package/dist/collection/collection-manifest.json +37 -14
- package/dist/collection/components/billing-form/billing-form.js +3 -3
- package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +1 -1
- package/dist/collection/components/business-details/business-details-core.js +1 -1
- package/dist/collection/components/business-details/business-details.js +1 -1
- package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +1 -1
- package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +1 -1
- package/dist/collection/components/business-details/owner-details/owner-details.js +1 -1
- package/dist/collection/components/business-details/representative-details/representative-details.js +1 -1
- package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +2 -2
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +3 -3
- package/dist/collection/components/business-forms/business-form/business-form.js +2 -2
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +2 -2
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +4 -4
- package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +2 -2
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +2 -2
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +3 -3
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +43 -3
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +33 -5
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +26 -3
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +25 -3
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +3 -3
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +25 -2
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.js +26 -3
- package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-input-group.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/document-uploads/input-configurations.js +17 -17
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +26 -3
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +25 -3
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.js +1 -1
- package/dist/collection/components/business-forms/utils/business-form-types.js +11 -0
- package/dist/collection/components/card-form/card-form.js +1 -1
- package/dist/collection/components/checkout/checkout-core.js +2 -2
- package/dist/collection/components/checkout/checkout.js +2 -2
- package/dist/collection/components/checkout/new-payment-method.js +1 -1
- package/dist/collection/components/checkout/payment-method-options.js +1 -1
- package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
- package/dist/collection/components/checkout/saved-payment-method.js +1 -1
- package/dist/collection/components/checkout/sezzle-payment-method.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +257 -0
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +84 -0
- package/dist/collection/components/checkouts-list/checkouts-list.js +208 -0
- package/dist/collection/components/checkouts-list/checkouts-status.js +13 -0
- package/dist/collection/components/checkouts-list/checkouts-table.js +20 -0
- package/dist/collection/components/checkouts-list/get-checkouts.js +31 -0
- package/dist/collection/components/dispute-management/counter-dispute/additional-statement.js +8 -0
- package/dist/collection/components/dispute-management/counter-dispute/cancellation-policy.js +8 -0
- package/dist/collection/components/dispute-management/counter-dispute/counter-dispute.js +90 -0
- package/dist/collection/components/dispute-management/counter-dispute/customer-details.js +8 -0
- package/dist/collection/components/dispute-management/counter-dispute/dispute-reason.js +8 -0
- package/dist/collection/components/dispute-management/counter-dispute/duplicate-charge.js +8 -0
- package/dist/collection/components/dispute-management/counter-dispute/electronic-evidence.js +8 -0
- package/dist/collection/components/dispute-management/counter-dispute/product-or-service.js +16 -0
- package/dist/collection/components/dispute-management/counter-dispute/refund-policy.js +8 -0
- package/dist/collection/components/dispute-management/counter-dispute/shipping-details.js +12 -0
- package/dist/collection/components/dispute-management/dispute-management-core.js +53 -0
- package/dist/collection/components/dispute-management/dispute-management.js +8 -0
- package/dist/collection/components/dispute-management/dispute-notification.js +48 -0
- package/dist/collection/components/dispute-management/dispute.js +8 -0
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +2 -2
- package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +1 -1
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +2 -2
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +1 -1
- package/dist/collection/components/payment-details/payment-details-core.js +10 -9
- package/dist/collection/components/payment-details/payment-details.js +1 -1
- package/dist/collection/components/payment-form/payment-form.js +3 -3
- package/dist/collection/components/payment-form/payment-method-selector.js +1 -1
- package/dist/collection/components/payments-list/payments-list-core.js +14 -14
- package/dist/collection/components/payments-list/payments-list-filters.js +1 -1
- package/dist/collection/components/payments-list/payments-list.js +3 -5
- package/dist/collection/components/payments-list/payments-status.js +23 -0
- package/dist/collection/components/payout-details/payout-details-core.js +4 -3
- package/dist/collection/components/payout-details/payout-details.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-core.js +6 -22
- package/dist/collection/components/payouts-list/payouts-list.js +4 -7
- package/dist/collection/components/payouts-list/payouts-status.js +21 -0
- package/dist/collection/components/refund-form/refund-form.js +2 -2
- package/dist/collection/components/terminals-list/get-terminal-detail.js +29 -0
- package/dist/collection/components/terminals-list/get-terminals.js +31 -0
- package/dist/collection/components/terminals-list/terminals-list-core.js +257 -0
- package/dist/collection/components/terminals-list/terminals-list-filters.js +81 -0
- package/dist/collection/components/terminals-list/terminals-list.js +209 -0
- package/dist/collection/components/terminals-list/terminals-status.js +11 -0
- package/dist/collection/components/terminals-list/terminals-table.js +15 -0
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.css +9 -0
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +276 -0
- package/dist/collection/ui-components/custom-popper/custom-popper.js +8 -4
- package/dist/collection/{components → ui-components}/details/details.js +1 -1
- package/dist/collection/ui-components/filters/table-filters-menu.js +1 -1
- package/dist/collection/{components → ui-components}/form/form-control-checkbox.js +1 -1
- package/dist/collection/ui-components/form/form-control-date.js +284 -0
- package/dist/collection/{components → ui-components}/form/form-control-file.js +1 -1
- package/dist/collection/{components → ui-components}/form/form-control-monetary.js +1 -1
- package/dist/collection/{components → ui-components}/form/form-control-number-masked.js +1 -1
- package/dist/collection/{components → ui-components}/form/form-control-number.js +1 -1
- package/dist/collection/{components/form/form-control-date.js → ui-components/form/form-control-radio.js} +54 -36
- package/dist/collection/{components → ui-components}/form/form-control-select.js +1 -1
- package/dist/collection/{components → ui-components}/form/form-control-text.js +1 -1
- package/dist/collection/ui-components/form/form-control-textarea.js +229 -0
- package/dist/collection/ui-components/form/form-helpers/form-control-tooltip/form-control-tooltip.js +63 -0
- package/dist/collection/ui-components/index.js +1 -0
- package/dist/collection/utils/table.js +16 -0
- package/dist/collection/utils/utils.js +3 -42
- package/dist/docs.json +9561 -6219
- package/dist/esm/{Analytics-b0f6936a.js → Analytics-777962a4.js} +2 -2
- package/dist/esm/{Api-c8abc2e0.js → Api-391d00e2.js} +6 -4
- package/dist/esm/Checkout-0b4086f8.js +83 -0
- package/dist/esm/{Payment-6bf26fe2.js → Payment-30790721.js} +15 -0
- package/dist/esm/SubAccount-7f7e4c56.js +102 -0
- package/dist/esm/additional-questions-details_5.entry.js +2 -2
- package/dist/esm/{business-additional-questions-schema-a5583cf8.js → business-additional-questions-schema-97f52255.js} +2 -2
- package/dist/esm/business-details-core.entry.js +2 -2
- package/dist/esm/{business-form-types-1bc5fe08.js → business-form-types-8fd61b0e.js} +12 -1
- package/dist/esm/{business-identity-schema-9e3269fb.js → business-identity-schema-434e16bc.js} +2 -2
- package/dist/esm/{business.service-1f589b6e.js → business.service-97a3da69.js} +1 -1
- package/dist/esm/{check-pkg-version-10cadb08.js → check-pkg-version-bac8fac0.js} +1 -1
- package/dist/esm/checkout.service-ef1549c6.js +34 -0
- package/dist/esm/checkouts-list-core.entry.js +177 -0
- package/dist/esm/checkouts-list-filters.entry.js +31 -0
- package/dist/esm/{custom-popper.entry.js → custom-popper_4.entry.js} +105 -4
- package/dist/esm/dispute-4d2e0a04.js +10 -0
- package/dist/esm/form-alert_5.entry.js +3 -3
- package/dist/esm/form-control-checkbox_9.entry.js +56 -33
- package/dist/esm/form-control-date.entry.js +79 -0
- package/dist/esm/form-control-error-text.entry.js +17 -0
- package/dist/esm/form-control-file.entry.js +1 -1
- package/dist/esm/form-control-help-text.entry.js +17 -0
- package/dist/esm/form-control-monetary.entry.js +1 -1
- package/dist/esm/form-control-number-masked_2.entry.js +94 -0
- package/dist/esm/form-control-number.entry.js +1 -1
- package/dist/esm/form-control-radio.entry.js +40 -0
- package/dist/esm/form-control-textarea.entry.js +45 -0
- package/dist/esm/{get-payout-csv-93427146.js → get-payout-csv-70974763.js} +4 -3
- package/dist/esm/get-subaccounts-16c8ce40.js +51 -0
- package/dist/esm/gross-payment-chart-core.entry.js +3 -3
- package/dist/esm/justifi-additional-questions-form-step_10.entry.js +30 -17
- package/dist/esm/justifi-additional-statement_11.entry.js +159 -0
- package/dist/esm/justifi-bank-account-form.entry.js +3 -3
- package/dist/esm/justifi-billing-form_2.entry.js +1680 -15
- package/dist/esm/justifi-business-details.entry.js +6 -6
- package/dist/esm/justifi-business-form.entry.js +14 -13
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
- package/dist/esm/justifi-card-form.entry.js +4 -4
- package/dist/esm/justifi-checkout-core.entry.js +4 -9
- package/dist/esm/justifi-checkout.entry.js +11 -26
- package/dist/esm/justifi-checkouts-list.entry.js +115 -0
- package/dist/esm/justifi-details.entry.js +3 -3
- package/dist/esm/justifi-dispute-management-core.entry.js +24 -0
- package/dist/esm/justifi-dispute-management.entry.js +12 -0
- package/dist/esm/justifi-gross-payment-chart.entry.js +5 -5
- package/dist/esm/{justifi-new-payment-method_4.entry.js → justifi-new-payment-method_5.entry.js} +23 -7
- package/dist/esm/justifi-owner-form_3.entry.js +8 -8
- package/dist/esm/justifi-payment-details.entry.js +9 -8
- package/dist/esm/justifi-payment-form.entry.js +12 -11
- package/dist/esm/justifi-payment-method-selector.entry.js +4 -3
- package/dist/esm/justifi-payment-provisioning-core.entry.js +2 -2
- package/dist/esm/justifi-payment-provisioning.entry.js +5 -5
- package/dist/esm/justifi-payments-list.entry.js +11 -12
- package/dist/esm/justifi-payout-details.entry.js +9 -8
- package/dist/esm/justifi-payouts-list.entry.js +12 -14
- package/dist/esm/justifi-refund-form.entry.js +7 -6
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +4 -4
- package/dist/esm/justifi-season-interruption-insurance.entry.js +8 -7
- package/dist/esm/justifi-terminals-list.entry.js +133 -0
- package/dist/esm/justifi-tokenize-payment-method.entry.js +55 -0
- package/dist/esm/loader.js +1 -1
- package/dist/{cjs/payments-list-filters_2.cjs.entry.js → esm/lodash-faeb5a52.js} +1 -63
- package/dist/esm/{package-2ef16e2c.js → package-5144835c.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +11 -10
- package/dist/esm/{payment.service-21a3e2d3.js → payment.service-2f67410b.js} +4 -3
- package/dist/esm/payments-list-core.entry.js +16 -16
- package/dist/esm/payments-list-filters.entry.js +31 -0
- package/dist/esm/payments-status-4937a170.js +24 -0
- package/dist/esm/payout-details-core.entry.js +5 -4
- package/dist/esm/payouts-list-core.entry.js +8 -24
- package/dist/esm/payouts-status-cd58e525.js +22 -0
- package/dist/esm/{schema-validations-e725d701.js → schema-validations-c1728516.js} +1 -1
- package/dist/esm/styled-host-e0ddb759.js +12 -0
- package/dist/esm/table-75364107.js +18 -0
- package/dist/esm/table-filters-menu.entry.js +31 -0
- package/dist/esm/terminals-list-core.entry.js +162 -0
- package/dist/esm/terminals-list-filters.entry.js +28 -0
- package/dist/esm/{utils-e66d8bca.js → utils-3daada24.js} +4 -43
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Api.js +6 -4
- package/dist/module/Checkout.js +83 -0
- package/dist/module/Payment.js +15 -0
- package/dist/module/SubAccount.js +102 -0
- package/dist/module/additional-questions.js +22 -10
- package/dist/module/additional-statement.js +63 -0
- package/dist/module/billing-form.js +14 -8
- package/dist/module/business-additional-questions-form-step-core.js +42 -11
- package/dist/module/business-additional-questions-form-step.js +23 -11
- package/dist/module/business-bank-account-form-step.js +25 -11
- package/dist/module/business-core-info-form-step-core.js +19 -10
- package/dist/module/business-core-info-form-step.js +16 -10
- package/dist/module/business-core-info.js +16 -10
- package/dist/module/business-document-upload-form-step.js +14 -5
- package/dist/module/business-document-upload-input-group.js +28 -22
- package/dist/module/business-documents-on-file.js +1 -1
- package/dist/module/business-form-types.js +12 -1
- package/dist/module/business-owners-form-step-core.js +20 -12
- package/dist/module/business-owners-form-step.js +16 -10
- package/dist/module/business-representative-form-inputs.js +16 -10
- package/dist/module/business-representative-form-step-core.js +19 -10
- package/dist/module/business-representative-form-step.js +16 -10
- package/dist/module/business-representative.js +15 -9
- package/dist/module/business-terms-conditions-form-step.js +6 -3
- package/dist/module/business-terms-conditions-text.js +1 -1
- package/dist/module/cancellation-policy.js +63 -0
- package/dist/module/checkout-core.js +16 -15
- package/dist/module/checkout.service.js +34 -0
- package/dist/module/checkouts-list-core.d.ts +11 -0
- package/dist/module/checkouts-list-core.js +6 -0
- package/dist/module/checkouts-list-core2.js +249 -0
- package/dist/module/checkouts-list-filters.d.ts +11 -0
- package/dist/module/checkouts-list-filters.js +6 -0
- package/dist/module/checkouts-list-filters2.js +80 -0
- package/dist/module/counter-dispute.js +189 -0
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +69 -0
- package/dist/module/details.js +1 -1
- package/dist/module/dispute-management-core.js +160 -0
- package/dist/module/dispute-notification.js +36 -0
- package/dist/module/dispute-reason.js +45 -0
- package/dist/module/duplicate-charge.js +69 -0
- package/dist/module/electronic-evidence.js +63 -0
- package/dist/module/exported-parts.js +1 -34
- package/dist/module/form-control-checkbox2.js +1 -1
- package/dist/module/form-control-date2.js +59 -10
- package/dist/module/form-control-file2.js +10 -4
- package/dist/module/form-control-monetary2.js +1 -1
- package/dist/module/form-control-number-masked2.js +10 -4
- package/dist/module/form-control-number.js +1 -1
- package/dist/module/form-control-radio.d.ts +11 -0
- package/dist/module/form-control-radio.js +6 -0
- package/dist/module/form-control-radio2.js +78 -0
- package/dist/module/form-control-select2.js +10 -4
- package/dist/module/form-control-text2.js +10 -4
- package/dist/module/form-control-textarea.d.ts +11 -0
- package/dist/module/form-control-textarea.js +6 -0
- package/dist/module/form-control-textarea2.js +84 -0
- package/dist/module/form-control-tooltip.d.ts +11 -0
- package/dist/module/form-control-tooltip.js +6 -0
- package/dist/module/form-control-tooltip2.js +49 -0
- package/dist/module/get-payout-csv.js +2 -1
- package/dist/module/get-subaccounts.js +51 -0
- package/dist/module/gross-payment-chart-core2.js +2 -2
- package/dist/module/identity-address-form.js +14 -8
- package/dist/module/justifi-additional-statement.d.ts +11 -0
- package/dist/module/justifi-additional-statement.js +6 -0
- package/dist/module/justifi-business-form.js +32 -19
- package/dist/module/justifi-cancellation-policy.d.ts +11 -0
- package/dist/module/justifi-cancellation-policy.js +6 -0
- package/dist/module/justifi-card-form.js +1 -1
- package/dist/module/justifi-checkout.js +16 -31
- package/dist/module/justifi-checkouts-list.d.ts +11 -0
- package/dist/module/justifi-checkouts-list.js +191 -0
- package/dist/module/justifi-counter-dispute.d.ts +11 -0
- package/dist/module/justifi-counter-dispute.js +6 -0
- package/dist/module/justifi-customer-details.d.ts +11 -0
- package/dist/module/justifi-customer-details.js +6 -0
- package/dist/module/justifi-dispute-management-core.d.ts +11 -0
- package/dist/module/justifi-dispute-management-core.js +6 -0
- package/dist/module/justifi-dispute-management.d.ts +11 -0
- package/dist/module/justifi-dispute-management.js +157 -0
- package/dist/module/justifi-dispute-notification.d.ts +11 -0
- package/dist/module/justifi-dispute-notification.js +6 -0
- package/dist/module/justifi-dispute-reason.d.ts +11 -0
- package/dist/module/justifi-dispute-reason.js +6 -0
- package/dist/module/justifi-duplicate-charge.d.ts +11 -0
- package/dist/module/justifi-duplicate-charge.js +6 -0
- package/dist/module/justifi-electronic-evidence.d.ts +11 -0
- package/dist/module/justifi-electronic-evidence.js +6 -0
- package/dist/module/justifi-payment-details.js +2 -1
- package/dist/module/justifi-payment-form.js +18 -11
- package/dist/module/justifi-payment-provisioning.js +30 -18
- package/dist/module/justifi-payments-list.js +12 -13
- package/dist/module/justifi-payout-details.js +2 -1
- package/dist/module/justifi-payouts-list.js +14 -10
- package/dist/module/justifi-product-or-service.d.ts +11 -0
- package/dist/module/justifi-product-or-service.js +6 -0
- package/dist/module/justifi-refund-form.js +23 -10
- package/dist/module/justifi-refund-policy.d.ts +11 -0
- package/dist/module/justifi-refund-policy.js +6 -0
- package/dist/module/justifi-season-interruption-insurance.js +3 -2
- package/dist/module/justifi-shipping-details.d.ts +11 -0
- package/dist/module/justifi-shipping-details.js +6 -0
- package/dist/module/justifi-terminals-list.d.ts +11 -0
- package/dist/module/justifi-terminals-list.js +216 -0
- package/dist/module/justifi-tokenize-payment-method.d.ts +11 -0
- package/dist/module/justifi-tokenize-payment-method.js +153 -0
- package/dist/module/legal-address-form-step-core.js +17 -8
- package/dist/module/legal-address-form-step.js +14 -8
- package/dist/module/legal-address-form.js +14 -8
- package/dist/module/lodash.js +17204 -0
- package/dist/module/new-payment-method.js +14 -8
- package/dist/module/owner-form-core2.js +17 -11
- package/dist/module/owner-form-inputs2.js +16 -10
- package/dist/module/owner-form.js +15 -9
- package/dist/module/package.js +1 -1
- package/dist/module/payment-details-core2.js +9 -8
- package/dist/module/payment-method-form.js +1 -1
- package/dist/module/payment-method-options.js +14 -8
- package/dist/module/payment-method-selector.js +3 -2
- package/dist/module/payment-provisioning-core.js +31 -19
- package/dist/module/payment-provisioning-form-buttons.js +1 -1
- package/dist/module/payment-provisioning-form-steps.js +30 -18
- package/dist/module/payment.service.js +2 -1
- package/dist/module/payments-list-core2.js +23 -22
- package/dist/module/payments-list-filters2.js +9 -17211
- package/dist/module/payments-status.js +24 -0
- package/dist/module/payout-details-core2.js +3 -2
- package/dist/module/payouts-list-core2.js +17 -26
- package/dist/module/payouts-status.js +22 -0
- package/dist/module/product-or-service.js +60 -0
- package/dist/module/refund-policy.js +63 -0
- package/dist/module/save-new-payment-method.js +1 -1
- package/dist/module/saved-payment-method.js +2 -2
- package/dist/module/season-interruption-insurance-core.js +3 -3
- package/dist/module/sezzle-payment-method.js +2 -2
- package/dist/module/shipping-details.js +79 -0
- package/dist/module/styled-host.js +1 -1
- package/dist/module/table-filters-menu2.js +1 -1
- package/dist/module/table-loading-state.js +34 -0
- package/dist/module/table.js +18 -0
- package/dist/module/terminals-list-core.d.ts +11 -0
- package/dist/module/terminals-list-core.js +6 -0
- package/dist/module/terminals-list-core2.js +240 -0
- package/dist/module/terminals-list-filters.d.ts +11 -0
- package/dist/module/terminals-list-filters.js +6 -0
- package/dist/module/terminals-list-filters2.js +83 -0
- package/dist/module/utils2.js +4 -43
- package/dist/types/api/Api.d.ts +1 -1
- package/dist/types/api/Checkout.d.ts +74 -2
- package/dist/types/api/Payment.d.ts +7 -0
- package/dist/types/api/SubAccount.d.ts +51 -0
- package/dist/types/api/Terminal.d.ts +48 -0
- package/dist/types/api/get-subaccounts.d.ts +10 -0
- package/dist/types/api/index.d.ts +2 -0
- package/dist/types/api/services/checkout.service.d.ts +3 -1
- package/dist/types/api/services/subaccounts.service.d.ts +7 -0
- package/dist/types/api/services/terminal.service.d.ts +9 -0
- package/dist/types/components/billing-form/billing-form.d.ts +1 -1
- package/dist/types/components/business-forms/business-form/additional-questions/additional-questions.d.ts +1 -1
- package/dist/types/components/business-forms/business-form/business-core-info/business-core-info.d.ts +1 -1
- package/dist/types/components/business-forms/business-form/business-representative/business-representative.d.ts +1 -1
- package/dist/types/components/business-forms/business-form/legal-address-form/legal-address-form.d.ts +1 -1
- package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +1 -1
- package/dist/types/components/business-forms/owner-form/owner-form-inputs.d.ts +1 -1
- package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.d.ts +5 -2
- package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +3 -2
- package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +3 -2
- package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.d.ts +2 -1
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.d.ts +1 -1
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +3 -2
- package/dist/types/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.d.ts +3 -2
- package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +3 -2
- package/dist/types/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.d.ts +3 -2
- package/dist/types/components/business-forms/utils/business-form-types.d.ts +15 -0
- package/dist/types/components/business-forms/utils/input-handlers.d.ts +1 -1
- package/dist/types/components/checkouts-list/checkouts-list-core.d.ts +35 -0
- package/dist/types/components/checkouts-list/checkouts-list-filters.d.ts +15 -0
- package/dist/types/components/checkouts-list/checkouts-list.d.ts +44 -0
- package/dist/types/components/checkouts-list/checkouts-status.d.ts +1 -0
- package/dist/types/components/checkouts-list/checkouts-table.d.ts +17 -0
- package/dist/types/components/checkouts-list/get-checkouts.d.ts +10 -0
- package/dist/types/components/dispute-management/counter-dispute/additional-statement.d.ts +3 -0
- package/dist/types/components/dispute-management/counter-dispute/cancellation-policy.d.ts +3 -0
- package/dist/types/components/dispute-management/counter-dispute/counter-dispute.d.ts +14 -0
- package/dist/types/components/dispute-management/counter-dispute/customer-details.d.ts +3 -0
- package/dist/types/components/dispute-management/counter-dispute/dispute-reason.d.ts +3 -0
- package/dist/types/components/dispute-management/counter-dispute/duplicate-charge.d.ts +3 -0
- package/dist/types/components/dispute-management/counter-dispute/electronic-evidence.d.ts +3 -0
- package/dist/types/components/dispute-management/counter-dispute/product-or-service.d.ts +4 -0
- package/dist/types/components/dispute-management/counter-dispute/refund-policy.d.ts +3 -0
- package/dist/types/components/dispute-management/counter-dispute/shipping-details.d.ts +3 -0
- package/dist/types/components/dispute-management/dispute-management-core.d.ts +7 -0
- package/dist/types/components/dispute-management/dispute-management.d.ts +3 -0
- package/dist/types/components/dispute-management/dispute-notification.d.ts +8 -0
- package/dist/types/components/dispute-management/dispute.d.ts +7 -0
- package/dist/types/components/payments-list/payments-status.d.ts +1 -0
- package/dist/types/components/payouts-list/payouts-list-core.d.ts +1 -2
- package/dist/types/components/payouts-list/payouts-status.d.ts +1 -0
- package/dist/types/components/terminals-list/get-terminal-detail.d.ts +8 -0
- package/dist/types/components/terminals-list/get-terminals.d.ts +10 -0
- package/dist/types/components/terminals-list/terminals-list-core.d.ts +35 -0
- package/dist/types/components/terminals-list/terminals-list-filters.d.ts +13 -0
- package/dist/types/components/terminals-list/terminals-list.d.ts +44 -0
- package/dist/types/components/terminals-list/terminals-status.d.ts +1 -0
- package/dist/types/components/terminals-list/terminals-table.d.ts +13 -0
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +22 -0
- package/dist/types/components.d.ts +779 -16
- package/dist/types/ui-components/custom-popper/custom-popper.d.ts +1 -1
- package/dist/types/{components → ui-components}/form/form-control-date.d.ts +6 -0
- package/dist/types/ui-components/form/form-control-radio.d.ts +19 -0
- package/dist/types/ui-components/form/form-control-textarea.d.ts +20 -0
- package/dist/types/ui-components/form/form-helpers/form-control-tooltip/form-control-tooltip.d.ts +8 -0
- package/dist/types/ui-components/index.d.ts +1 -0
- package/dist/types/utils/table.d.ts +13 -0
- package/dist/types/utils/utils.d.ts +1 -3
- package/dist/webcomponents/p-037e3545.entry.js +1 -0
- package/dist/webcomponents/{p-232016ba.entry.js → p-04d12939.entry.js} +1 -1
- package/dist/webcomponents/p-0ac35b39.entry.js +1 -0
- package/dist/webcomponents/p-0b686ada.entry.js +1 -0
- package/dist/webcomponents/p-0c79e368.entry.js +1 -0
- package/dist/webcomponents/p-0de9e97b.entry.js +1 -0
- package/dist/webcomponents/{p-7d3be485.js → p-0e180654.js} +1 -1
- package/dist/webcomponents/{p-056e75be.entry.js → p-11ff46df.entry.js} +1 -1
- package/dist/webcomponents/p-16d2932d.js +1 -0
- package/dist/webcomponents/p-206fde40.js +1 -0
- package/dist/webcomponents/p-24392a86.entry.js +1 -0
- package/dist/webcomponents/p-269ba6fe.entry.js +1 -0
- package/dist/webcomponents/{p-1eee25f3.entry.js → p-286a4e72.entry.js} +2 -2
- package/dist/webcomponents/p-2c2b57b3.js +1 -0
- package/dist/webcomponents/{p-d76002d5.entry.js → p-2c8c214f.entry.js} +1 -1
- package/dist/webcomponents/p-2de65000.entry.js +1 -0
- package/dist/webcomponents/{p-277aee05.js → p-3d3468a8.js} +1 -1
- package/dist/webcomponents/p-47dbe17d.js +1 -0
- package/dist/webcomponents/p-4b14abbf.entry.js +1 -0
- package/dist/webcomponents/p-4c0c88e4.entry.js +1 -0
- package/dist/webcomponents/p-52ca72cd.entry.js +1 -0
- package/dist/webcomponents/{p-707bdf68.js → p-56bda985.js} +1 -1
- package/dist/webcomponents/p-56d84fb3.entry.js +1 -0
- package/dist/webcomponents/p-638c6285.entry.js +1 -0
- package/dist/webcomponents/p-69ea7334.entry.js +1 -0
- package/dist/webcomponents/p-6caf6f09.entry.js +1 -0
- package/dist/webcomponents/{p-da1d174d.entry.js → p-72819173.entry.js} +1 -1
- package/dist/webcomponents/p-74da98da.js +1 -0
- package/dist/webcomponents/p-7fec2bcb.js +1 -0
- package/dist/webcomponents/p-8480e3ab.entry.js +1 -0
- package/dist/webcomponents/p-869ae0c7.entry.js +1 -0
- package/dist/webcomponents/p-8ec550d7.entry.js +1 -0
- package/dist/webcomponents/p-8f212554.entry.js +1 -0
- package/dist/webcomponents/p-907ba963.js +1 -0
- package/dist/webcomponents/p-919e6e67.entry.js +1 -0
- package/dist/webcomponents/p-927a147c.entry.js +1 -0
- package/dist/webcomponents/p-935188c8.entry.js +1 -0
- package/dist/webcomponents/p-9bd13e22.js +1 -0
- package/dist/webcomponents/p-9f56ad71.js +1 -0
- package/dist/webcomponents/p-a2be972d.entry.js +1 -0
- package/dist/webcomponents/p-a3143d62.entry.js +1 -0
- package/dist/webcomponents/p-a76ece26.js +1 -0
- package/dist/webcomponents/{p-5e2c9ec8.js → p-a8f22d4d.js} +1 -1
- package/dist/webcomponents/p-ad443df5.entry.js +1 -0
- package/dist/webcomponents/p-b0686897.entry.js +1 -0
- package/dist/webcomponents/p-b1aacd6b.entry.js +1 -0
- package/dist/webcomponents/p-b4a7307b.entry.js +1 -0
- package/dist/webcomponents/p-bfb990fc.entry.js +1 -0
- package/dist/webcomponents/p-c1bf9285.entry.js +1 -0
- package/dist/webcomponents/{p-35846553.js → p-c1cf7d5b.js} +1 -1
- package/dist/webcomponents/p-c30c8f39.entry.js +1 -0
- package/dist/webcomponents/p-c5c6e61d.js +1 -0
- package/dist/webcomponents/{p-d99a5f30.entry.js → p-c63825d8.entry.js} +1 -1
- package/dist/webcomponents/{p-5022f21c.js → p-c65b78cf.js} +1 -1
- package/dist/webcomponents/p-c6be72b0.js +10 -0
- package/dist/webcomponents/p-c717646f.entry.js +1 -0
- package/dist/webcomponents/{p-d9579cd6.entry.js → p-cb79f06c.entry.js} +1 -1
- package/dist/webcomponents/p-ccbff4fa.entry.js +1 -0
- package/dist/webcomponents/p-cd4eaeb7.js +1 -0
- package/dist/webcomponents/p-cd7e866c.entry.js +1 -0
- package/dist/webcomponents/p-d1248039.entry.js +1 -0
- package/dist/webcomponents/{p-c64ce69d.entry.js → p-d2eb61e6.entry.js} +1 -1
- package/dist/webcomponents/p-d516e700.js +1 -0
- package/dist/webcomponents/p-dae9b10e.entry.js +1 -0
- package/dist/webcomponents/p-e412a713.entry.js +1 -0
- package/dist/webcomponents/p-e69b2ff8.entry.js +1 -0
- package/dist/webcomponents/p-e6be8845.entry.js +1 -0
- package/dist/webcomponents/{p-b91bcbfc.js → p-e7d6609d.js} +1 -1
- package/dist/webcomponents/p-e8797be0.entry.js +1 -0
- package/dist/webcomponents/p-eb9ba917.entry.js +1 -0
- package/dist/webcomponents/p-ec7e69eb.entry.js +1 -0
- package/dist/webcomponents/p-eeb70281.entry.js +1 -0
- package/dist/webcomponents/{p-e31f0f3e.entry.js → p-efb56234.entry.js} +1 -1
- package/dist/webcomponents/p-f4a8215b.entry.js +1 -0
- package/dist/webcomponents/{p-401d6607.js → p-f6f8dabc.js} +1 -1
- package/dist/webcomponents/{p-1c04aacd.entry.js → p-f7077f93.entry.js} +1 -1
- package/dist/webcomponents/p-fc4de0d2.js +1 -0
- package/dist/webcomponents/{p-3c7fac29.entry.js → p-ffe27126.entry.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/Payout-a2dd7b01.js +0 -45
- package/dist/cjs/form-control-date_3.cjs.entry.js +0 -136
- package/dist/cjs/form-control-error-text_4.cjs.entry.js +0 -118
- package/dist/cjs/justifi-payment-method-form.cjs.entry.js +0 -1688
- package/dist/cjs/styled-host-9e0b67b3.js +0 -14
- package/dist/esm/Payout-dfe15b00.js +0 -43
- package/dist/esm/form-control-date_3.entry.js +0 -130
- package/dist/esm/form-control-error-text_4.entry.js +0 -111
- package/dist/esm/justifi-payment-method-form.entry.js +0 -1684
- package/dist/esm/styled-host-3171ae1f.js +0 -12
- package/dist/module/Payout.js +0 -43
- package/dist/webcomponents/p-034fc302.entry.js +0 -1
- package/dist/webcomponents/p-37888614.entry.js +0 -1
- package/dist/webcomponents/p-430f81c6.entry.js +0 -1
- package/dist/webcomponents/p-44055818.js +0 -1
- package/dist/webcomponents/p-538fd427.entry.js +0 -1
- package/dist/webcomponents/p-55182a59.js +0 -1
- package/dist/webcomponents/p-570a0f02.entry.js +0 -1
- package/dist/webcomponents/p-57d7534f.entry.js +0 -1
- package/dist/webcomponents/p-59cf5391.entry.js +0 -1
- package/dist/webcomponents/p-60d3571e.entry.js +0 -1
- package/dist/webcomponents/p-6ac806ff.entry.js +0 -1
- package/dist/webcomponents/p-75139399.entry.js +0 -1
- package/dist/webcomponents/p-7771f64b.entry.js +0 -1
- package/dist/webcomponents/p-7ddfce86.entry.js +0 -1
- package/dist/webcomponents/p-7ff329b1.js +0 -1
- package/dist/webcomponents/p-8a7112a0.entry.js +0 -1
- package/dist/webcomponents/p-9add7d3e.entry.js +0 -1
- package/dist/webcomponents/p-9b154d98.entry.js +0 -1
- package/dist/webcomponents/p-ab92abb1.entry.js +0 -1
- package/dist/webcomponents/p-ad47f37c.entry.js +0 -1
- package/dist/webcomponents/p-aedb421f.entry.js +0 -1
- package/dist/webcomponents/p-b14da2fd.entry.js +0 -1
- package/dist/webcomponents/p-bbed6107.entry.js +0 -1
- package/dist/webcomponents/p-bdc91c61.entry.js +0 -1
- package/dist/webcomponents/p-c1772671.entry.js +0 -1
- package/dist/webcomponents/p-c740b6ca.entry.js +0 -1
- package/dist/webcomponents/p-ce5fe369.entry.js +0 -10
- package/dist/webcomponents/p-d8355f91.entry.js +0 -1
- package/dist/webcomponents/p-d89bad72.js +0 -1
- package/dist/webcomponents/p-dc048c3c.entry.js +0 -1
- package/dist/webcomponents/p-df21aaad.js +0 -1
- package/dist/webcomponents/p-e2c88817.entry.js +0 -1
- package/dist/webcomponents/p-e3fab0e2.js +0 -1
- package/dist/webcomponents/p-f0866375.entry.js +0 -1
- package/dist/webcomponents/p-f2924369.js +0 -1
- package/dist/webcomponents/p-fb7f7a8c.entry.js +0 -1
- package/dist/webcomponents/p-ffddac99.entry.js +0 -1
- /package/dist/cjs/{exported-parts-b18c68c2.js → exported-parts-a994d693.js} +0 -0
- /package/dist/cjs/{index.esm-52757963.js → index.esm-97cf6825.js} +0 -0
- /package/dist/cjs/{utils-c1d2e426.js → utils-189dc30d.js} +0 -0
- /package/dist/cjs/{utils-ddacfc44.js → utils-bc03ca40.js} +0 -0
- /package/dist/collection/{components → ui-components}/details/utils.js +0 -0
- /package/dist/collection/{components → ui-components}/form/form-helpers/form-alert/form-alert.js +0 -0
- /package/dist/collection/{components → ui-components}/form/form-helpers/form-control-error-text/form-control-error-text.js +0 -0
- /package/dist/collection/{components → ui-components}/form/form-helpers/form-control-help-text/form-control-help-text.js +0 -0
- /package/dist/collection/{components → ui-components}/form/form.js +0 -0
- /package/dist/collection/{components → ui-components}/form/utils.js +0 -0
- /package/dist/collection/{components → ui-components}/table/exported-parts.js +0 -0
- /package/dist/esm/{exported-parts-abd4c027.js → exported-parts-70e7a12b.js} +0 -0
- /package/dist/esm/{index.esm-fc4f5c0c.js → index.esm-ed37201b.js} +0 -0
- /package/dist/esm/{utils-3bb6347a.js → utils-20cdf321.js} +0 -0
- /package/dist/esm/{utils-01413a95.js → utils-218275b7.js} +0 -0
- /package/dist/types/{components → ui-components}/details/details.d.ts +0 -0
- /package/dist/types/{components → ui-components}/details/utils.d.ts +0 -0
- /package/dist/types/{components → ui-components}/form/form-control-checkbox.d.ts +0 -0
- /package/dist/types/{components → ui-components}/form/form-control-file.d.ts +0 -0
- /package/dist/types/{components → ui-components}/form/form-control-monetary.d.ts +0 -0
- /package/dist/types/{components → ui-components}/form/form-control-number-masked.d.ts +0 -0
- /package/dist/types/{components → ui-components}/form/form-control-number.d.ts +0 -0
- /package/dist/types/{components → ui-components}/form/form-control-select.d.ts +0 -0
- /package/dist/types/{components → ui-components}/form/form-control-text.d.ts +0 -0
- /package/dist/types/{components → ui-components}/form/form-helpers/form-alert/form-alert.d.ts +0 -0
- /package/dist/types/{components → ui-components}/form/form-helpers/form-control-error-text/form-control-error-text.d.ts +0 -0
- /package/dist/types/{components → ui-components}/form/form-helpers/form-control-help-text/form-control-help-text.d.ts +0 -0
- /package/dist/types/{components → ui-components}/form/form.d.ts +0 -0
- /package/dist/types/{components → ui-components}/form/utils.d.ts +0 -0
- /package/dist/types/{components → ui-components}/table/exported-parts.d.ts +0 -0
- /package/dist/webcomponents/{p-2eab3c90.js → p-3c654c07.js} +0 -0
- /package/dist/webcomponents/{p-2b6c9c4f.js → p-6cc30da2.js} +0 -0
- /package/dist/webcomponents/{p-dce846bf.js → p-a8b4f429.js} +0 -0
- /package/dist/webcomponents/{p-8df7bde8.js → p-e3c22aa9.js} +0 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export var AccountType;
|
|
2
|
+
(function (AccountType) {
|
|
3
|
+
AccountType["test"] = "test";
|
|
4
|
+
AccountType["live"] = "live";
|
|
5
|
+
})(AccountType || (AccountType = {}));
|
|
6
|
+
export var AccountStatus;
|
|
7
|
+
(function (AccountStatus) {
|
|
8
|
+
AccountStatus["created"] = "created";
|
|
9
|
+
AccountStatus["submitted"] = "submitted";
|
|
10
|
+
AccountStatus["information_needed"] = "information_needed";
|
|
11
|
+
AccountStatus["rejected"] = "rejected";
|
|
12
|
+
AccountStatus["enabled"] = "enabled";
|
|
13
|
+
AccountStatus["disabled"] = "disabled";
|
|
14
|
+
AccountStatus["archived"] = "archived";
|
|
15
|
+
})(AccountStatus || (AccountStatus = {}));
|
|
16
|
+
export class SubAccount {
|
|
17
|
+
constructor(subAccount) {
|
|
18
|
+
this.id = subAccount.id;
|
|
19
|
+
this.name = subAccount.name;
|
|
20
|
+
this.account_type = subAccount.account_type;
|
|
21
|
+
this.status = subAccount.status;
|
|
22
|
+
this.currency = subAccount.currency;
|
|
23
|
+
this.platform_account_id = subAccount.platform_account_id;
|
|
24
|
+
this.payout_account_id = subAccount.payout_account_id;
|
|
25
|
+
this.business_id = subAccount.business_id;
|
|
26
|
+
this.application_fee_rates = subAccount.application_fee_rates;
|
|
27
|
+
this.processing_ready = subAccount.processing_ready;
|
|
28
|
+
this.payout_ready = subAccount.payout_ready;
|
|
29
|
+
this.related_accounts = subAccount.related_accounts;
|
|
30
|
+
this.created_at = subAccount.created_at;
|
|
31
|
+
this.updated_at = subAccount.updated_at;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export var TerminalStatuses;
|
|
2
|
+
(function (TerminalStatuses) {
|
|
3
|
+
TerminalStatuses["connected"] = "connected";
|
|
4
|
+
TerminalStatuses["disconnected"] = "disconnected";
|
|
5
|
+
TerminalStatuses["unknown"] = "unknown";
|
|
6
|
+
})(TerminalStatuses || (TerminalStatuses = {}));
|
|
7
|
+
export var TerminalProviders;
|
|
8
|
+
(function (TerminalProviders) {
|
|
9
|
+
TerminalProviders["verifone"] = "verifone";
|
|
10
|
+
})(TerminalProviders || (TerminalProviders = {}));
|
|
11
|
+
export class Terminal {
|
|
12
|
+
constructor(data) {
|
|
13
|
+
this.id = data.id || '';
|
|
14
|
+
this.status = data.status;
|
|
15
|
+
this.account_id = data.account_id || '';
|
|
16
|
+
this.platform_account_id = data.platform_account_id || '';
|
|
17
|
+
this.provider = data.provider || '';
|
|
18
|
+
this.provider_id = data.provider_id || '';
|
|
19
|
+
this.created_at = data.created_at || '';
|
|
20
|
+
this.updated_at = data.updated_at || '';
|
|
21
|
+
this.verified_at = data.verified_at || '';
|
|
22
|
+
this.nickname = data.nickname || '';
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { SubAccount } from "./SubAccount";
|
|
2
|
+
import { ComponentErrorSeverity } from "./ComponentError";
|
|
3
|
+
import { getErrorCode, getErrorMessage } from "./services/utils";
|
|
4
|
+
export const makeGetSubAccounts = ({ accountId, authToken, service, apiOrigin }) => async ({ params, onSuccess, onError }) => {
|
|
5
|
+
var _a, _b;
|
|
6
|
+
try {
|
|
7
|
+
const response = await service.fetchSubAccounts(accountId, authToken, params, apiOrigin);
|
|
8
|
+
if (!response.error) {
|
|
9
|
+
const pagingInfo = Object.assign({}, response.page_info);
|
|
10
|
+
const subAccounts = ((_a = response.data) === null || _a === void 0 ? void 0 : _a.map((dataItem) => new SubAccount(dataItem))) || [];
|
|
11
|
+
onSuccess({ subAccounts, pagingInfo });
|
|
12
|
+
}
|
|
13
|
+
else {
|
|
14
|
+
const responseError = getErrorMessage(response.error);
|
|
15
|
+
const code = getErrorCode((_b = response.error) === null || _b === void 0 ? void 0 : _b.code);
|
|
16
|
+
return onError({
|
|
17
|
+
error: responseError,
|
|
18
|
+
code,
|
|
19
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
catch (error) {
|
|
24
|
+
const code = getErrorCode(error === null || error === void 0 ? void 0 : error.code);
|
|
25
|
+
return onError({
|
|
26
|
+
error: error.message || error,
|
|
27
|
+
code,
|
|
28
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
};
|
|
@@ -1,10 +1,19 @@
|
|
|
1
|
-
import { Api } from "..";
|
|
2
1
|
import { config } from "../../../config";
|
|
2
|
+
import { Api } from "..";
|
|
3
3
|
export class CheckoutService {
|
|
4
4
|
async fetchCheckout(authToken, checkoutId) {
|
|
5
5
|
const endpoint = `checkouts/${checkoutId}`;
|
|
6
6
|
return Api({ authToken, apiOrigin: config.proxyApiOrigin }).get(endpoint);
|
|
7
7
|
}
|
|
8
|
+
async fetchCheckouts(accountId, authToken, params, apiOrigin) {
|
|
9
|
+
if (!apiOrigin) {
|
|
10
|
+
apiOrigin = config.proxyApiOrigin;
|
|
11
|
+
}
|
|
12
|
+
const headers = { Account: accountId };
|
|
13
|
+
const api = Api({ authToken, apiOrigin: apiOrigin });
|
|
14
|
+
const endpoint = 'checkouts';
|
|
15
|
+
return api.get(endpoint, params, null, headers);
|
|
16
|
+
}
|
|
8
17
|
async complete(authToken, checkoutId, payment) {
|
|
9
18
|
const endpoint = `checkouts/${checkoutId}/complete`;
|
|
10
19
|
const payload = {
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Api } from "..";
|
|
2
|
+
import { config } from "../../../config";
|
|
3
|
+
export class SubAccountService {
|
|
4
|
+
async fetchSubAccounts(accountId, authToken, params, apiOrigin) {
|
|
5
|
+
if (!apiOrigin) {
|
|
6
|
+
apiOrigin = config.proxyApiOrigin;
|
|
7
|
+
}
|
|
8
|
+
const headers = { Account: accountId };
|
|
9
|
+
const api = Api({ authToken, apiOrigin: apiOrigin });
|
|
10
|
+
const endpoint = 'sub_accounts';
|
|
11
|
+
return api.get(endpoint, params, null, headers);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Api } from "..";
|
|
2
|
+
import { config } from "../../../config";
|
|
3
|
+
export class TerminalService {
|
|
4
|
+
async fetchTerminals(accountId, authToken, params, apiOrigin) {
|
|
5
|
+
if (!apiOrigin) {
|
|
6
|
+
apiOrigin = config.proxyApiOrigin;
|
|
7
|
+
}
|
|
8
|
+
const headers = { Account: accountId };
|
|
9
|
+
const api = Api({ authToken, apiOrigin: apiOrigin });
|
|
10
|
+
const endpoint = 'terminals';
|
|
11
|
+
return api.get(endpoint, params, null, headers);
|
|
12
|
+
}
|
|
13
|
+
async fetchTerminal(terminalId, authToken, apiOrigin) {
|
|
14
|
+
if (!apiOrigin) {
|
|
15
|
+
apiOrigin = config.proxyApiOrigin;
|
|
16
|
+
}
|
|
17
|
+
const endpoint = `terminals/${terminalId}`;
|
|
18
|
+
return Api({ authToken, apiOrigin: apiOrigin }).get(endpoint);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -49,36 +49,59 @@
|
|
|
49
49
|
"components/checkout/save-new-payment-method.js",
|
|
50
50
|
"components/checkout/saved-payment-method.js",
|
|
51
51
|
"components/checkout/sezzle-payment-method.js",
|
|
52
|
-
"components/
|
|
53
|
-
"components/
|
|
54
|
-
"components/
|
|
55
|
-
"components/
|
|
56
|
-
"components/form/form-control-
|
|
57
|
-
"components/
|
|
58
|
-
"components/
|
|
59
|
-
"components/
|
|
60
|
-
"components/
|
|
61
|
-
"components/
|
|
62
|
-
"components/
|
|
63
|
-
"components/
|
|
52
|
+
"components/checkouts-list/checkouts-list-core.js",
|
|
53
|
+
"components/checkouts-list/checkouts-list-filters.js",
|
|
54
|
+
"components/checkouts-list/checkouts-list.js",
|
|
55
|
+
"ui-components/filters/table-filters-menu.js",
|
|
56
|
+
"ui-components/form/form-control-select.js",
|
|
57
|
+
"components/dispute-management/dispute-management-core.js",
|
|
58
|
+
"components/dispute-management/dispute-management.js",
|
|
59
|
+
"components/dispute-management/dispute-notification.js",
|
|
60
|
+
"components/dispute-management/counter-dispute/additional-statement.js",
|
|
61
|
+
"components/dispute-management/counter-dispute/cancellation-policy.js",
|
|
62
|
+
"components/dispute-management/counter-dispute/counter-dispute.js",
|
|
63
|
+
"components/dispute-management/counter-dispute/customer-details.js",
|
|
64
|
+
"components/dispute-management/counter-dispute/dispute-reason.js",
|
|
65
|
+
"components/dispute-management/counter-dispute/duplicate-charge.js",
|
|
66
|
+
"components/dispute-management/counter-dispute/electronic-evidence.js",
|
|
67
|
+
"components/dispute-management/counter-dispute/product-or-service.js",
|
|
68
|
+
"components/dispute-management/counter-dispute/refund-policy.js",
|
|
69
|
+
"components/dispute-management/counter-dispute/shipping-details.js",
|
|
64
70
|
"components/gross-payment-chart/gross-payment-chart-core.js",
|
|
65
71
|
"components/gross-payment-chart/gross-payment-chart.js",
|
|
66
72
|
"components/insurance/season-interruption/season-interruption-insurance-core.js",
|
|
67
73
|
"components/insurance/season-interruption/season-interruption-insurance.js",
|
|
68
74
|
"components/payment-details/payment-details-core.js",
|
|
69
75
|
"components/payment-details/payment-details.js",
|
|
76
|
+
"ui-components/details/details.js",
|
|
70
77
|
"components/payment-form/payment-form.js",
|
|
71
78
|
"components/payment-form/payment-method-selector.js",
|
|
72
79
|
"components/payments-list/payments-list-core.js",
|
|
73
80
|
"components/payments-list/payments-list-filters.js",
|
|
74
81
|
"components/payments-list/payments-list.js",
|
|
75
|
-
"ui-components/filters/table-filters-menu.js",
|
|
76
82
|
"components/payout-details/payout-details-core.js",
|
|
77
83
|
"components/payout-details/payout-details.js",
|
|
78
84
|
"components/payouts-list/payouts-list-core.js",
|
|
79
85
|
"components/payouts-list/payouts-list.js",
|
|
80
86
|
"components/refund-form/refund-form.js",
|
|
81
|
-
"
|
|
87
|
+
"components/terminals-list/terminals-list-core.js",
|
|
88
|
+
"components/terminals-list/terminals-list-filters.js",
|
|
89
|
+
"components/terminals-list/terminals-list.js",
|
|
90
|
+
"components/tokenize-payment-method/tokenize-payment-method.js",
|
|
91
|
+
"ui-components/custom-popper/custom-popper.js",
|
|
92
|
+
"ui-components/form/form-control-checkbox.js",
|
|
93
|
+
"ui-components/form/form-control-date.js",
|
|
94
|
+
"ui-components/form/form-control-file.js",
|
|
95
|
+
"ui-components/form/form-control-monetary.js",
|
|
96
|
+
"ui-components/form/form-control-number-masked.js",
|
|
97
|
+
"ui-components/form/form-control-number.js",
|
|
98
|
+
"ui-components/form/form-control-radio.js",
|
|
99
|
+
"ui-components/form/form-control-text.js",
|
|
100
|
+
"ui-components/form/form-control-textarea.js",
|
|
101
|
+
"ui-components/form/form-helpers/form-alert/form-alert.js",
|
|
102
|
+
"ui-components/form/form-helpers/form-control-error-text/form-control-error-text.js",
|
|
103
|
+
"ui-components/form/form-helpers/form-control-help-text/form-control-help-text.js",
|
|
104
|
+
"ui-components/form/form-helpers/form-control-tooltip/form-control-tooltip.js"
|
|
82
105
|
],
|
|
83
106
|
"compiler": {
|
|
84
107
|
"name": "@stencil/core",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import BillingFormSchema from "./billing-form-schema";
|
|
3
3
|
import StateOptions from "../../utils/state-options";
|
|
4
|
-
import { FormController } from "
|
|
5
|
-
import { numberOnlyHandler } from "
|
|
4
|
+
import { FormController } from "../../ui-components/form/form";
|
|
5
|
+
import { numberOnlyHandler } from "../../ui-components/form/utils";
|
|
6
6
|
import { StyledHost } from "../../ui-components";
|
|
7
7
|
/**
|
|
8
8
|
* @exportedPart label: Label for inputs
|
|
@@ -40,7 +40,7 @@ export class BillingForm {
|
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
42
|
const billingFormDefaultValue = this.formController.getInitialValues();
|
|
43
|
-
return (h(StyledHost, { key: '
|
|
43
|
+
return (h(StyledHost, { key: '221838c3ba8255b62db0f2feee7b227b0d240627', exportparts: "label,input,input-invalid" }, h("form", { key: '87377d7776c3fdf7ffa351f25522921b233dd16f' }, h("fieldset", { key: '821487e408ec634dd23417604f02f1aa212dcb2a' }, this.legend && h("legend", { key: 'c042f51480e23ad455a6d3fc420f494c33d93f2c' }, this.legend), h("div", { key: '6a9f2c0fd10c7786b132f7208036cf878e3fe8c1', class: "row gy-3" }, h("div", { key: 'b375c19faeb23927e290c4a60b4347dc64868840', class: "col-12" }, h("form-control-text", { key: 'be3b78234607f996efe8971082ff457e63767e22', name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '95d3f3bb6ff7df39deb2967db11017e8f80ca5a9', class: "col-12" }, h("form-control-text", { key: '9e719038219bf7b7651679b617b2131ab5336289', name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), h("div", { key: '0945bca70a70abfdce40c8d52537eb06479aface', class: "col-12" }, h("form-control-text", { key: '59b9b87c005609daf501b0d7d6a8d640297c75c4', name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), h("div", { key: 'f3e9d8297e9e4009a0b16f331eeffb1316a92030', class: "col-12" }, h("form-control-text", { key: '158a4d2e3e85700a5c80304e0316391090b52f74', name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), h("div", { key: '67110a816d76d4c98062859733def72e88f1a3d9', class: "col-12" }, h("form-control-select", { key: 'd26b22251d6da9d8f7b8bb109126e804cdfbccb0', name: 'address_state', label: 'State', options: StateOptions, defaultValue: billingFormDefaultValue.address_state, errorText: this.errors.address_state, inputHandler: this.inputHandler })), h("div", { key: 'a248ef0a4860d9d634f46e96cc953c8ca0ee64f1', class: "col-12" }, h("form-control-text", { key: '36f96a7e94088dd140ca9774903387ae2be3cad8', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: numberOnlyHandler })))))));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "justifi-billing-form"; }
|
|
46
46
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
-
import { ErrorState, LoadingState } from "
|
|
2
|
+
import { ErrorState, LoadingState } from "../../ui-components/details/utils";
|
|
3
3
|
import { StyledHost } from "../../ui-components";
|
|
4
4
|
var RENDER_STATES;
|
|
5
5
|
(function (RENDER_STATES) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
|
2
|
-
import { ErrorState } from "
|
|
2
|
+
import { ErrorState } from "../../ui-components/details/utils";
|
|
3
3
|
import { BusinessService } from "../../api/services/business.service";
|
|
4
4
|
import { makeGetBusiness } from "./get-business";
|
|
5
5
|
import { ComponentErrorCodes, ComponentErrorSeverity } from "../../api/ComponentError";
|
package/dist/collection/components/business-details/generic-info-details/generic-info-details.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
|
2
|
-
import {
|
|
2
|
+
import { DetailItem, DetailSectionTitle } from "../../../ui-components/details/utils";
|
|
3
3
|
import { snakeCaseToHumanReadable } from "../../../utils/utils";
|
|
4
4
|
export class GenericInfoDetails {
|
|
5
5
|
constructor() {
|
package/dist/collection/components/business-details/legal-address-details/legal-address-details.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
|
2
|
-
import {
|
|
2
|
+
import { DetailItem, DetailSectionTitle } from "../../../ui-components/details/utils";
|
|
3
3
|
import { isEmptyObject } from "../../../utils/utils";
|
|
4
4
|
export class LegalAddressDetails {
|
|
5
5
|
constructor() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
|
2
|
-
import {
|
|
2
|
+
import { DetailItem, DetailSectionTitle } from "../../../ui-components/details/utils";
|
|
3
3
|
import { formatMediumDate } from "../../../utils/utils";
|
|
4
4
|
export class OwnerDetails {
|
|
5
5
|
constructor() {
|
package/dist/collection/components/business-details/representative-details/representative-details.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
|
2
|
-
import {
|
|
2
|
+
import { DetailItem, DetailSectionTitle } from "../../../ui-components/details/utils";
|
|
3
3
|
import { formatMediumDate, isEmptyObject } from "../../../utils/utils";
|
|
4
4
|
/**
|
|
5
5
|
*
|
|
@@ -37,8 +37,8 @@ export class AdditionalQuestions {
|
|
|
37
37
|
"references": {
|
|
38
38
|
"FormController": {
|
|
39
39
|
"location": "import",
|
|
40
|
-
"path": "
|
|
41
|
-
"id": "src/components
|
|
40
|
+
"path": "../../../../components",
|
|
41
|
+
"id": "src/components.d.ts::FormController"
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
},
|
|
@@ -30,7 +30,7 @@ export class BusinessCoreInfo {
|
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
32
|
const coreInfoDefaultValue = this.formController.getInitialValues();
|
|
33
|
-
return (h(Host, { key: '
|
|
33
|
+
return (h(Host, { key: '8d81a67cdd39073a8a2c4a392b848583bfbd3bb8', exportparts: "label,input,input-invalid" }, h("fieldset", { key: '83cf000ec3b8d66bc62d87e9adaf323e148d8caf' }, h("legend", { key: '904718bfb29a0542edf87a200c787424802a5e83' }, "General Info"), h("hr", { key: 'c62b85278d5dad53a5f87b4ce58e91092a7d8669' }), h("div", { key: 'f0bb373bf75561070fb745e0c73c3c65fd6754f1', class: "row gy-3" }, h("div", { key: 'a4d7446b5ba21a87b0f308726f0ebb6d827f4f97', class: "col-12" }, h("form-control-text", { key: '70c449d9559c0c08c449531a585fc0ffcd0a745c', name: "legal_name", label: "Legal Name", defaultValue: coreInfoDefaultValue.legal_name, errorText: this.errors.legal_name, inputHandler: this.inputHandler })), h("div", { key: '8483e884591f2f48502d59ff3c2135a38f623752', class: "col-12" }, h("form-control-text", { key: '5037e14c786af49c92c139d83ac4b600a22e0d20', name: "doing_business_as", label: "Doing Business As (DBA)", defaultValue: coreInfoDefaultValue.doing_business_as, errorText: this.errors.doing_business_as, inputHandler: this.inputHandler })), h("div", { key: '3de67ca2647f294aaea74964e7959e470d64ded6', class: "col-12 col-md-8" }, h("form-control-select", { key: '97f96111305371f1a4e037d49ed88cd9ee1864c6', name: "classification", label: "Business Classification", options: businessClassificationOptions, defaultValue: coreInfoDefaultValue.classification, errorText: this.errors.classification, inputHandler: this.inputHandler })), h("div", { key: '9e72fce44d9dedddb78e80e60de04f9d1c011c3d', class: "col-12 col-md-4" }, h("form-control-date", { key: '7ef7d6dfc1be302b7c34c03c5795d487bfecb628', name: "date_of_incorporation", label: "Date of Incorporation", defaultValue: coreInfoDefaultValue.date_of_incorporation, errorText: this.errors.date_of_incorporation, inputHandler: this.inputHandler })), h("div", { key: '1f922b07e9b518ef8803e38baf592edc5e1f3d53', class: "col-12 col-md-6" }, h("form-control-text", { key: '4db75fd442ab14ff0387967f8a91fc34b666aeca', name: "industry", label: "Industry", defaultValue: coreInfoDefaultValue.industry, errorText: this.errors.industry, inputHandler: this.inputHandler })), h("div", { key: '3f7fe65745fc046a7654a1d091c68ba54f139bda', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '3e0c9db91b9bc2eed4a048d96e7d5c8e6cf9e04e', name: "tax_id", label: "Tax ID", defaultValue: coreInfoDefaultValue.tax_id, errorText: this.errors.tax_id, inputHandler: this.inputHandler, mask: TAX_ID_MASKS.US })), h("div", { key: 'cc4f89e9b8507752c147a9f59ed6a945ccfa0d95', class: "col-12" }, h("form-control-text", { key: '7d19bd16720da687b4a0f506509ec9fd8a6185fa', name: "website_url", label: "Website URL", defaultValue: coreInfoDefaultValue.website_url, errorText: this.errors.website_url, inputHandler: this.inputHandler })), h("div", { key: 'ddfacd485ca994560955ffaf3e9dc21e6300ea06', class: "col-12 col-md-6" }, h("form-control-text", { key: '9047a690090fe0c64b580c64bed78febeffafee8', name: "email", label: "Email Address", defaultValue: coreInfoDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '54a8e1f648446f5be503c2f1f9e99e841f9a6e6f', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: 'ce8821b40c1771df94bc2a9658eea34befdd462a', name: "phone", label: "Phone Number", defaultValue: coreInfoDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US }))))));
|
|
34
34
|
}
|
|
35
35
|
static get is() { return "justifi-business-core-info"; }
|
|
36
36
|
static get properties() {
|
|
@@ -44,8 +44,8 @@ export class BusinessCoreInfo {
|
|
|
44
44
|
"references": {
|
|
45
45
|
"FormController": {
|
|
46
46
|
"location": "import",
|
|
47
|
-
"path": "
|
|
48
|
-
"id": "src/components/form/form.ts::FormController"
|
|
47
|
+
"path": "../../../../ui-components/form/form",
|
|
48
|
+
"id": "src/ui-components/form/form.ts::FormController"
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
-
import { FormController } from "
|
|
2
|
+
import { FormController } from "../../../ui-components/form/form";
|
|
3
3
|
import { businessFormSchema } from "../schemas/business-form-schema";
|
|
4
4
|
import { Api } from "../../../api";
|
|
5
5
|
import { config } from "../../../../config";
|
|
@@ -98,7 +98,7 @@ export class BusinessForm {
|
|
|
98
98
|
this.instantiateBusiness(response.data);
|
|
99
99
|
}
|
|
100
100
|
render() {
|
|
101
|
-
return (h(StyledHost, { key: '
|
|
101
|
+
return (h(StyledHost, { key: 'f04193b776865a18072bd3f1773f37a41d9439a4', exportparts: "label,input,input-invalid" }, h("form", { key: '7acb5fe47087e2ec1c3ea1b825e34b96ca6881fd', onSubmit: this.validateAndSubmit }, h("div", { key: 'd7548b77f1c7d8bb937a4c98420cfec097d73b42', class: "row gap-3" }, h("h1", { key: 'f7e74ba9d0b75f5da52a691ec16ba8068a23bbaa' }, this.title), h("form-alert", { key: 'cb83cf84afb00a4e315eee940d2f67817ba6302d', text: this.errorMessage, hideAlert: this.hideErrors }), h("div", { key: '7c6ab18da58b0ecca644d3f4644e78cfe945b8eb', class: "col-12 mb-4" }, h("justifi-business-core-info", { key: 'f5d7304ca3dd69dd1fc65954b57e4e77e24e36c9', formController: this.formController })), h("div", { key: 'c6e870483b690dac1c8bf3400e7dfb47e46db014', class: "col-12 mb-4" }, h("justifi-legal-address-form", { key: 'd04d51527b8c5a6594d5aef592a90b9db2900ee7', formController: this.formController })), h("div", { key: '669b426f578ad83d18b81a46c8e73d60ff68db5e', class: "col-12 mb-4" }, h("justifi-additional-questions", { key: '5eece0ad9248e76b5b57fd99b07c8e0c77120765', formController: this.formController })), h("div", { key: '61a4f31878ec2c4ee69985d4246016e951f8e05b', class: "col-12 mb-4" }, h("justifi-business-representative", { key: '5252a87a8f362be267232bab93565d14c2a1dd41', formController: this.formController })), h("div", { key: 'cf380d4345d5c0e25702d727e36940a9b6e4ee73', class: "col-12 d-flex flex-row-reverse" }, h("button", { key: '75b0dd58c32db365f581c2f1b8519fe90ec2ae51', type: "submit", class: "btn btn-primary jfi-submit-button", disabled: this.disabledState, onClick: () => this.fireClickEvents({ name: BusinessFormClickActions.submit }) }, this.isLoading ? 'Loading...' : 'Submit'))))));
|
|
102
102
|
}
|
|
103
103
|
static get is() { return "justifi-business-form"; }
|
|
104
104
|
static get encapsulation() { return "shadow"; }
|
|
@@ -40,8 +40,8 @@ export class BusinessRepresentative {
|
|
|
40
40
|
"references": {
|
|
41
41
|
"FormController": {
|
|
42
42
|
"location": "import",
|
|
43
|
-
"path": "
|
|
44
|
-
"id": "src/components
|
|
43
|
+
"path": "../../../../components",
|
|
44
|
+
"id": "src/components.d.ts::FormController"
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
|
2
2
|
import StateOptions from "../../../../utils/state-options";
|
|
3
|
-
import { numberOnlyHandler } from "
|
|
3
|
+
import { numberOnlyHandler } from "../../../../ui-components/form/utils";
|
|
4
4
|
/**
|
|
5
5
|
* @exportedPart label: Label for inputs
|
|
6
6
|
* @exportedPart input: The input fields
|
|
@@ -23,7 +23,7 @@ export class LegalAddressForm {
|
|
|
23
23
|
render() {
|
|
24
24
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
25
25
|
const legalAddressDefaultValue = this.formController.getInitialValues().legal_address;
|
|
26
|
-
return (h(Host, { key: '
|
|
26
|
+
return (h(Host, { key: 'c882f02585a8b78ddd35e0d28a71252324631634', exportparts: "label,input,input-invalid" }, h("fieldset", { key: '7b41893d22bc032020060200e63f80707385585c' }, h("legend", { key: 'ddd67063e34b95920080bd649c0e3cfd1f4f1c0b' }, "Business Legal Address"), h("hr", { key: '7a74e634115497c445437543120bc8d9ff2d16ef' }), h("div", { key: 'acd00ea38decc4f4605ba058e2580626a86397a4', class: "row gy-3" }, h("div", { key: 'ca5a109b181dceab7d71bf3b7aa4cbaadc70ad6f', class: "col-12" }, h("form-control-text", { key: '67271661212a45157e37fe136a4a778552a9bfc9', name: "line1", label: "Legal Address", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.line1, errorText: (_b = (_a = this.errors) === null || _a === void 0 ? void 0 : _a.legal_address) === null || _b === void 0 ? void 0 : _b.line1 })), h("div", { key: '1d2ed08d41694bf530c92c1cd6f7092c46f93b40', class: "col-12" }, h("form-control-text", { key: '66dcae505b16fe4a5cb43e541f197d7de45f374e', name: "line2", label: "Address Line 2", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.line2, errorText: (_d = (_c = this.errors) === null || _c === void 0 ? void 0 : _c.legal_address) === null || _d === void 0 ? void 0 : _d.line2 })), h("div", { key: 'ad5bd6ecb8fd5afec958d44fe6fb265b8cfac358', class: "col-12" }, h("form-control-text", { key: '33053662779ae34f6117fec9d2c8f2b3ae57ab53', name: "city", label: "City", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.city, errorText: (_f = (_e = this.errors) === null || _e === void 0 ? void 0 : _e.legal_address) === null || _f === void 0 ? void 0 : _f.city })), h("div", { key: 'fa19d830d677b2e183dff7ee8532c23e77d2d162', class: "col-12" }, h("form-control-select", { key: '481324e4af2b4af52cd9955331b402a30ca0bc45', name: "state", label: "State", options: StateOptions, inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.state, errorText: (_h = (_g = this.errors) === null || _g === void 0 ? void 0 : _g.legal_address) === null || _h === void 0 ? void 0 : _h.state })), h("div", { key: '76642ac99c59d4a4a75b2d8b03cffe807d96d62b', class: "col-12" }, h("form-control-text", { key: '0d46bb841e259ff86da5aff4e1e8ac9b000db331', name: "postal_code", label: "Postal Code", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.postal_code, errorText: (_k = (_j = this.errors) === null || _j === void 0 ? void 0 : _j.legal_address) === null || _k === void 0 ? void 0 : _k.postal_code, maxLength: 5, keyDownHandler: numberOnlyHandler })), h("div", { key: '947782f5fa17fa0df3e431fe587d1efefbecdc27', class: "col-12" }, h("form-control-select", { key: 'd8848595610231ad5bf86f21eaad4bbb45617b01', name: "country", label: "Country", options: [{ label: 'United States', value: 'USA' }], inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.country, errorText: (_m = (_l = this.errors) === null || _l === void 0 ? void 0 : _l.legal_address) === null || _m === void 0 ? void 0 : _m.country,
|
|
27
27
|
// just for now so we skip handling country specificities
|
|
28
28
|
disabled: true }))))));
|
|
29
29
|
}
|
|
@@ -39,8 +39,8 @@ export class LegalAddressForm {
|
|
|
39
39
|
"references": {
|
|
40
40
|
"FormController": {
|
|
41
41
|
"location": "import",
|
|
42
|
-
"path": "
|
|
43
|
-
"id": "src/components
|
|
42
|
+
"path": "../../../../components",
|
|
43
|
+
"id": "src/components.d.ts::FormController"
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
|
2
2
|
import StateOptions from "../../../../utils/state-options";
|
|
3
|
-
import { numberOnlyHandler } from "
|
|
3
|
+
import { numberOnlyHandler } from "../../../../ui-components/form/utils";
|
|
4
4
|
export class IdentityAddressForm {
|
|
5
5
|
constructor() {
|
|
6
6
|
this.inputHandler = (name, value) => {
|
|
@@ -17,7 +17,7 @@ export class IdentityAddressForm {
|
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
20
|
-
return (h(Host, { key: '
|
|
20
|
+
return (h(Host, { key: '5d9d020cdb5f9e0c422098f82fbd9b1c237515f2', exportparts: "label,input,input-invalid" }, h("div", { key: '280b3308698d51c8f3e60124f0433e12ff585abe', class: "row gy-3" }, h("div", { key: 'c31ef56c52561e2acaed2dac868117f6171a09cb', class: "col-12 col-md-8" }, h("form-control-text", { key: 'a53eb44a3b6ab0044ba1746025293fa5be1cd469', name: "line1", label: "Street Address", defaultValue: (_a = this.defaultValues) === null || _a === void 0 ? void 0 : _a.line1, errorText: (_b = this.errors) === null || _b === void 0 ? void 0 : _b.line1, inputHandler: this.inputHandler, helpText: "\u200B\u200BEnter your address exactly as stated on your driver's license. No PO Boxes." })), h("div", { key: 'cd62d3f1ea062f67ab71ced663954b172fa3c4ed', class: "col-12 col-md-4" }, h("form-control-text", { key: '24b4e359217b92c9d010c23f0a670f32a969c36e', name: "line2", label: "Apartment, Suite, etc. (optional)", defaultValue: (_c = this.defaultValues) === null || _c === void 0 ? void 0 : _c.line2, errorText: (_d = this.errors) === null || _d === void 0 ? void 0 : _d.line2, inputHandler: this.inputHandler })), h("div", { key: '5e2cf9ef49d42c736d8004e5063377a962857b35', class: "col-12" }, h("form-control-text", { key: 'b408fca949adc1e1f96ad1ab01d8265ef427cd18', name: "city", label: "City", defaultValue: (_e = this.defaultValues) === null || _e === void 0 ? void 0 : _e.city, errorText: (_f = this.errors) === null || _f === void 0 ? void 0 : _f.city, inputHandler: this.inputHandler })), h("div", { key: 'ab8c048e274784406a8a872650e68791d3aa5844', class: "col-12 col-md-6" }, h("form-control-select", { key: '76db258faf7a4b30f7f1b6c6e975e5ea7e7c61d6', name: "state", label: "State", defaultValue: (_g = this.defaultValues) === null || _g === void 0 ? void 0 : _g.state, options: StateOptions, errorText: (_h = this.errors) === null || _h === void 0 ? void 0 : _h.state, inputHandler: this.inputHandler })), h("div", { key: '8bd2661ad3e579a52f91ce58c6be680d9955584b', class: "col-12 col-md-6" }, h("form-control-text", { key: 'd8a2f3552e25bc57d8f09e61ee78f7f5a33e4bc7', name: "postal_code", label: "Postal Code", defaultValue: (_j = this.defaultValues) === null || _j === void 0 ? void 0 : _j.postal_code, errorText: (_k = this.errors) === null || _k === void 0 ? void 0 : _k.postal_code, maxLength: 5, keyDownHandler: numberOnlyHandler, inputHandler: this.inputHandler })), h("div", { key: '93be2db05699edaa12981e0d96a9626ecc169030', class: "col-12" }, h("form-control-select", { key: '5f99c15b72cec36dc3b895c4dadce328f4503f6a', name: "country", label: "Country", options: [{ label: 'United States', value: 'USA' }], inputHandler: this.inputHandler, defaultValue: (_l = this.defaultValues) === null || _l === void 0 ? void 0 : _l.country, errorText: (_m = this.errors) === null || _m === void 0 ? void 0 : _m.country,
|
|
21
21
|
// just for now so we skip handling country specificities
|
|
22
22
|
disabled: true })))));
|
|
23
23
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
-
import { FormController } from "
|
|
2
|
+
import { FormController } from "../../../ui-components/form/form";
|
|
3
3
|
import { Owner } from "../../../api/Identity";
|
|
4
4
|
import { BusinessFormClickActions } from "../utils/business-form-types";
|
|
5
5
|
import { identitySchema } from "../schemas/business-identity-schema";
|
|
@@ -163,7 +163,7 @@ export class BusinessOwnerFormCore {
|
|
|
163
163
|
this.formController.errors.subscribe(errors => (this.errors = Object.assign({}, errors)));
|
|
164
164
|
}
|
|
165
165
|
render() {
|
|
166
|
-
return (h("form", { key: '
|
|
166
|
+
return (h("form", { key: 'd7ab875b1efd58b9d17e40789eb43454d5601f47', onSubmit: this.validateAndSubmit }, h("fieldset", { key: '144871e2128c17ea843d3d0dc2c7b5dd51057107' }, h("legend", { key: 'b9a2229e0cb1220c2b848f56f512816253d98e36', class: "fw-semibold fs-5" }, this.formTitle), h("br", { key: 'd95786bee5d4640f970bfccea626a6d0bc7fb4a6' }), h("div", { key: 'f74c1b45eda698ca786214c2d30342ead9c820f0', class: "row gy-3" }, h("owner-form-inputs", { key: 'bc6a213dc74e1f30c7c18f65a31e1aaa9130746a', ownerDefaultValue: this.formController.getInitialValues(), errors: this.errors, formController: this.formController }), h("div", { key: 'e7536fc512a652bde416259b7f6177e5957b893f', class: "d-flex gap-2 justify-content-start" }, h(Button, { key: '61c88e81e942f2e324b24b2634fe365863a2f23f', variant: "secondary", type: "button", onClick: this.handleRemoveOwner, hidden: !this.showRemoveButton }, "Remove"), h(Button, { key: 'c280f92cf606abbc1ba30bef331407af7db9cb19', variant: "primary", type: "submit", onClick: this.handleAddOwner, disabled: this.isLoading }, this.submitButtonText))), h("hr", { key: '10658eebfb37c21186b7a5d36e60db5daa9f26f6' }))));
|
|
167
167
|
}
|
|
168
168
|
static get is() { return "owner-form-core"; }
|
|
169
169
|
static get properties() {
|
|
@@ -14,7 +14,7 @@ export class BusinessOwnerFormInputs {
|
|
|
14
14
|
this.formController = undefined;
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (h("div", { key: '
|
|
17
|
+
return (h("div", { key: '00c4e99a70bdeac642774796bb6a983ad926b86d', class: "row gy-3" }, h("div", { key: '457ba67f652e7ec33909764667b76b25c0c01f75', class: "col-12 col-md-8" }, h("form-control-text", { key: '33293c6a0fc131c1db2d498f2ea8774cb9689b8e', name: "name", label: "Full Name", defaultValue: this.ownerDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '07be686fa8f43b04bd3a925e969ecede1286e651', class: "col-12 col-md-4" }, h("form-control-text", { key: 'c89285d508e0d809332f529edef3e6d3a68c4993', name: "title", label: "Title", defaultValue: this.ownerDefaultValue.title, errorText: this.errors.title, inputHandler: this.inputHandler, helpText: "Role at your business, e.g. President, CEO, Treasurer." })), h("div", { key: '76af9226fb138b2698c254ba26749b5d372ee14d', class: "col-12 col-md-6" }, h("form-control-text", { key: '37f334b0ee260501fd99845b6196a94c56fd16da', name: "email", label: "Email Address", defaultValue: this.ownerDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '3750f6f86d1bc3c3a1796a06ef4119ee188f2b56', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '283f5179e64378a7a07a654d28511558de03ca68', name: "phone", label: "Phone Number", defaultValue: this.ownerDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: '48186c6dfe8cd2a27de92db9970953e1e99340f2', class: "col-12 col-md-4" }, h("form-control-date", { key: '6d90d43875feefd24477279232a21b4ac7a7b7bc', name: "dob_full", label: "Birth Date", defaultValue: this.ownerDefaultValue.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: (e) => updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), h("div", { key: '19b1a6fd0dd52d3d5f52cf764ff429bd26ba8cdd', class: "col-12 col-md-8" }, h("form-control-number-masked", { key: '5a7ea47c254967f0d3d546ac9949dfa3d670bc25', name: "identification_number", label: "SSN", defaultValue: this.ownerDefaultValue.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: SSN_MASK, helpText: "Enter your full Social Security Number. It is required for Federal OFAC check." })), h("div", { key: '59c4fcb4186d488497d66479fced70bf2dc24d89', class: "col-12" }, h("justifi-identity-address-form", { key: 'faff7bb194f9c2c2ff80193db18ab0030f34fc09', errors: this.errors.address, defaultValues: this.ownerDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate }))));
|
|
18
18
|
}
|
|
19
19
|
;
|
|
20
20
|
static get is() { return "owner-form-inputs"; }
|
|
@@ -63,8 +63,8 @@ export class BusinessOwnerFormInputs {
|
|
|
63
63
|
"references": {
|
|
64
64
|
"FormController": {
|
|
65
65
|
"location": "import",
|
|
66
|
-
"path": "
|
|
67
|
-
"id": "src/components
|
|
66
|
+
"path": "../../../components",
|
|
67
|
+
"id": "src/components.d.ts::FormController"
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
},
|