@justifi/webcomponents 4.16.0 → 4.18.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-423b2bb5.js → Analytics-d4aa8c07.js} +1 -1
- package/dist/cjs/{SubAccount-4f4fac22.js → SubAccount-135ff8c8.js} +1 -1
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +13 -13
- package/dist/cjs/{business-additional-questions-schema-606d1292.js → business-additional-questions-schema-cf545610.js} +2 -2
- package/dist/cjs/business-details-core.cjs.entry.js +6 -9
- package/dist/cjs/form-alert_5.cjs.entry.js +3 -3
- package/dist/cjs/form-control-checkbox_5.cjs.entry.js +10 -13
- package/dist/cjs/form-control-date.cjs.entry.js +43 -0
- package/dist/cjs/form-control-error-text_2.cjs.entry.js +36 -0
- package/dist/cjs/form-control-file.cjs.entry.js +2 -2
- package/dist/cjs/form-control-monetary.cjs.entry.js +2 -2
- package/dist/cjs/{form-control-date_3.cjs.entry.js → form-control-number-masked_2.cjs.entry.js} +3 -40
- package/dist/cjs/form-control-number.cjs.entry.js +2 -2
- package/dist/cjs/{form-control-error-text_4.cjs.entry.js → form-control-select_2.cjs.entry.js} +3 -33
- package/dist/cjs/get-payout-csv-e4e4771a.js +48 -0
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +5 -5
- package/dist/cjs/{index-b4498996.js → index-fb499e95.js} +15 -3
- package/dist/cjs/{insurance-state-3f044af7.js → insurance-state-80e24caf.js} +1 -1
- package/dist/cjs/justifi-additional-questions-form-step_10.cjs.entry.js +9 -12
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +3 -3
- package/dist/cjs/justifi-billing-form_2.cjs.entry.js +16 -1680
- package/dist/cjs/justifi-business-details.cjs.entry.js +4 -4
- package/dist/cjs/justifi-business-form.cjs.entry.js +9 -8
- package/dist/cjs/justifi-business-list.cjs.entry.js +4 -7
- package/dist/cjs/justifi-card-form.cjs.entry.js +3 -3
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +21 -9
- package/dist/cjs/justifi-checkout.cjs.entry.js +12 -4
- package/dist/cjs/justifi-details.cjs.entry.js +4 -7
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +4 -4
- package/dist/cjs/justifi-new-payment-method_4.cjs.entry.js +73 -28
- package/dist/cjs/justifi-payment-balance-transactions.cjs.entry.js +4 -7
- package/dist/cjs/justifi-payment-details.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payment-form.cjs.entry.js +9 -8
- package/dist/cjs/justifi-payment-method-form.cjs.entry.js +1688 -0
- package/dist/cjs/justifi-payment-method-selector.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +7 -2
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +4 -8
- package/dist/cjs/justifi-payments-list.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payout-details.cjs.entry.js +15 -10
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +15 -12
- package/dist/cjs/justifi-proceeds-list.cjs.entry.js +4 -7
- package/dist/cjs/justifi-refund-form.cjs.entry.js +4 -3
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +14 -9
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +2 -3
- package/dist/cjs/justifi-skeleton.cjs.entry.js +3 -3
- package/dist/cjs/justifi-subaccount-details.cjs.entry.js +6 -9
- package/dist/cjs/justifi-subaccounts-list.cjs.entry.js +4 -4
- package/dist/cjs/justifi-table_2.cjs.entry.js +8 -12
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{package-b40227dd.js → package-5fee1ffb.js} +1 -1
- package/dist/cjs/{payload-parsers-6e4cf5d7.js → payload-parsers-1cbc3b57.js} +3 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +11 -14
- package/dist/cjs/payments-list-core.cjs.entry.js +7 -7
- package/dist/cjs/payout-details-core.cjs.entry.js +19 -8
- package/dist/cjs/payouts-list-core.cjs.entry.js +29 -8
- package/dist/cjs/{schema-validations-9668fd79.js → schema-validations-2733de42.js} +3 -4
- package/dist/cjs/styled-host-b8bed12a.js +14 -0
- package/dist/cjs/subaccount-account-details_4.cjs.entry.js +7 -23
- package/dist/cjs/subaccount-bank-details.cjs.entry.js +3 -7
- package/dist/cjs/subaccount-terms-details.cjs.entry.js +3 -7
- package/dist/cjs/{utils-17869710.js → utils-80191fbe.js} +6 -0
- package/dist/cjs/{utils-fd644316.js → utils-8c3bf659.js} +13 -4
- package/dist/cjs/{utils-0c3168ef.js → utils-c1d2e426.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +2 -2
- package/dist/collection/api/Checkout.js +0 -1
- package/dist/collection/api/services/payout.service.js +5 -0
- package/dist/collection/assets/download-icon.js +2 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/billing-form/billing-form.css +2 -8162
- package/dist/collection/components/billing-form/billing-form.js +5 -4
- package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +2 -3
- package/dist/collection/components/business-details/business-details-core.js +5 -14
- package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +2 -3
- package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +2 -3
- package/dist/collection/components/business-details/owner-details/owner-details.js +2 -3
- package/dist/collection/components/business-details/representative-details/representative-details.js +2 -3
- package/dist/collection/components/business-details/shared-business-details.css +3 -0
- package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +1 -1
- package/dist/collection/components/business-forms/business-form/business-form.css +5 -8768
- package/dist/collection/components/business-forms/business-form/business-form.js +4 -3
- package/dist/collection/components/business-forms/owner-form/owner-form.js +2 -5
- 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/business-core-info/business-core-info-form-step.js +3 -2
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -4
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +14 -2
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.css +4 -9155
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -12
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.css +5 -763
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.js +2 -2
- package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +1 -1
- package/dist/collection/components/business-forms/schemas/schema-helpers.js +0 -1
- package/dist/collection/components/business-forms/schemas/schema-validations.js +4 -4
- package/dist/collection/components/business-forms/utils/payload-parsers.js +2 -0
- package/dist/collection/components/business-list/business-list.js +3 -12
- package/dist/collection/components/checkout/checkout-core.css +3 -8147
- package/dist/collection/components/checkout/checkout-core.js +68 -8
- package/dist/collection/components/checkout/checkout.js +59 -1
- package/dist/collection/components/checkout/form-check-input.css +20 -0
- package/dist/collection/components/checkout/header.css +4 -0
- package/dist/collection/components/checkout/new-payment-method.js +95 -15
- package/dist/collection/components/checkout/payment-method-option-utils.js +2 -0
- package/dist/collection/components/checkout/payment-method-options.css +1 -7080
- package/dist/collection/components/checkout/payment-method-options.js +101 -17
- package/dist/collection/components/checkout/save-new-payment-method.js +38 -0
- package/dist/collection/components/checkout/saved-payment-method.js +12 -5
- package/dist/collection/components/checkout/sezzle-payment-method.js +12 -5
- package/dist/collection/components/details/details.js +3 -12
- package/dist/collection/components/form/form-control-checkbox.js +1 -1
- package/dist/collection/components/form/form-control-date.js +1 -1
- package/dist/collection/components/form/form-control-file.js +1 -1
- package/dist/collection/components/form/form-control-monetary.js +1 -1
- package/dist/collection/components/form/form-control-number-masked.js +1 -1
- package/dist/collection/components/form/form-control-number.js +1 -1
- package/dist/collection/components/form/form-control-select.js +1 -1
- package/dist/collection/components/form/form-control-text.js +1 -1
- package/dist/collection/components/form/utils.js +12 -3
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +2 -2
- package/dist/collection/components/gross-payment-chart/gross-payment-chart.css +1 -573
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.css +6 -8183
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +6 -7
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +1 -2
- package/dist/collection/components/pagination-menu/pagination-menu.js +3 -14
- package/dist/collection/components/payment-balance-transactions/payment-balance-transactions.js +3 -13
- package/dist/collection/components/payment-details/payment-details-core.js +9 -18
- package/dist/collection/components/payment-form/payment-form.css +3 -2513
- package/dist/collection/components/payment-form/payment-form.js +6 -5
- package/dist/collection/components/payment-form/payment-method-selector.css +5 -1881
- package/dist/collection/components/payment-form/payment-method-selector.js +2 -3
- package/dist/collection/components/payments-list/payments-list-core.js +6 -12
- package/dist/collection/components/payments-list/payments-list.js +3 -0
- package/dist/collection/components/payout-details/get-payout-csv.js +19 -0
- package/dist/collection/components/payout-details/payout-details-core.js +37 -12
- package/dist/collection/components/payout-details/payout-details.js +11 -4
- package/dist/collection/components/payouts-list/payouts-list-core.js +45 -14
- package/dist/collection/components/payouts-list/payouts-list.js +14 -6
- package/dist/collection/components/proceeds-list/proceeds-list.js +3 -12
- package/dist/collection/components/refund-form/refund-form.css +1 -7737
- package/dist/collection/components/refund-form/refund-form.js +4 -3
- package/dist/collection/components/skeleton/skeleton.css +1 -573
- package/dist/collection/components/skeleton/skeleton.js +2 -2
- package/dist/collection/components/subaccount-details/subaccount-account-details/subaccount-account-details.js +1 -12
- package/dist/collection/components/subaccount-details/subaccount-bank-details/subaccount-bank-details.js +1 -12
- package/dist/collection/components/subaccount-details/subaccount-details.js +3 -12
- package/dist/collection/components/subaccount-details/subaccount-merchant-details/subaccount-merchant-details.js +1 -12
- package/dist/collection/components/subaccount-details/subaccount-owners-details/subaccount-owners-details.js +1 -12
- package/dist/collection/components/subaccount-details/subaccount-representative-details/subaccount-representative-details.js +1 -12
- package/dist/collection/components/subaccount-details/subaccount-terms-details/subaccount-terms-details.js +1 -12
- package/dist/collection/components/subaccounts-list/subaccounts-list.js +1 -1
- package/dist/collection/components/table/table.css +0 -8085
- package/dist/collection/components/table/table.js +3 -4
- package/dist/collection/utils/styled-host/styled-host.js +6 -0
- package/dist/collection/utils/utils.js +5 -0
- package/dist/docs.json +546 -64
- package/dist/esm/{Analytics-17c33e9e.js → Analytics-29fac206.js} +1 -1
- package/dist/esm/{SubAccount-8bf9cb0c.js → SubAccount-7fcb1450.js} +1 -1
- package/dist/esm/additional-questions-details_5.entry.js +13 -13
- package/dist/esm/{business-additional-questions-schema-b00a73ba.js → business-additional-questions-schema-956e3caf.js} +2 -2
- package/dist/esm/business-details-core.entry.js +6 -9
- package/dist/esm/form-alert_5.entry.js +3 -3
- package/dist/esm/form-control-checkbox_5.entry.js +10 -13
- package/dist/esm/form-control-date.entry.js +39 -0
- package/dist/esm/form-control-error-text_2.entry.js +31 -0
- package/dist/esm/form-control-file.entry.js +2 -2
- package/dist/esm/form-control-monetary.entry.js +2 -2
- package/dist/esm/{form-control-date_3.entry.js → form-control-number-masked_2.entry.js} +4 -40
- package/dist/esm/form-control-number.entry.js +2 -2
- package/dist/esm/{form-control-error-text_4.entry.js → form-control-select_2.entry.js} +4 -32
- package/dist/esm/get-payout-csv-9b4aaada.js +45 -0
- package/dist/esm/gross-payment-chart-core.entry.js +5 -5
- package/dist/esm/{index-4bd1eae9.js → index-57431c24.js} +15 -3
- package/dist/esm/{insurance-state-09754ab9.js → insurance-state-8ce01e59.js} +1 -1
- package/dist/esm/justifi-additional-questions-form-step_10.entry.js +10 -13
- package/dist/esm/justifi-bank-account-form.entry.js +3 -3
- package/dist/esm/justifi-billing-form_2.entry.js +16 -1680
- package/dist/esm/justifi-business-details.entry.js +4 -4
- package/dist/esm/justifi-business-form.entry.js +9 -8
- package/dist/esm/justifi-business-list.entry.js +4 -7
- package/dist/esm/justifi-card-form.entry.js +3 -3
- package/dist/esm/justifi-checkout-core.entry.js +21 -9
- package/dist/esm/justifi-checkout.entry.js +12 -4
- package/dist/esm/justifi-details.entry.js +4 -7
- package/dist/esm/justifi-gross-payment-chart.entry.js +4 -4
- package/dist/esm/justifi-new-payment-method_4.entry.js +73 -28
- package/dist/esm/justifi-payment-balance-transactions.entry.js +4 -7
- package/dist/esm/justifi-payment-details.entry.js +4 -4
- package/dist/esm/justifi-payment-form.entry.js +9 -8
- package/dist/esm/justifi-payment-method-form.entry.js +1684 -0
- package/dist/esm/justifi-payment-method-selector.entry.js +3 -3
- package/dist/esm/justifi-payment-provisioning-core.entry.js +7 -2
- package/dist/esm/justifi-payment-provisioning.entry.js +4 -8
- package/dist/esm/justifi-payments-list.entry.js +4 -4
- package/dist/esm/justifi-payout-details.entry.js +14 -9
- package/dist/esm/justifi-payouts-list.entry.js +14 -11
- package/dist/esm/justifi-proceeds-list.entry.js +4 -7
- package/dist/esm/justifi-refund-form.entry.js +4 -3
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +14 -9
- package/dist/esm/justifi-season-interruption-insurance.entry.js +2 -3
- package/dist/esm/justifi-skeleton.entry.js +3 -3
- package/dist/esm/justifi-subaccount-details.entry.js +6 -9
- package/dist/esm/justifi-subaccounts-list.entry.js +4 -4
- package/dist/esm/justifi-table_2.entry.js +8 -12
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{package-02a6e473.js → package-1123f528.js} +1 -1
- package/dist/esm/{payload-parsers-a9e8f8cc.js → payload-parsers-acb719d1.js} +3 -1
- package/dist/esm/payment-details-core.entry.js +11 -14
- package/dist/esm/payments-list-core.entry.js +7 -7
- package/dist/esm/payout-details-core.entry.js +19 -8
- package/dist/esm/payouts-list-core.entry.js +29 -8
- package/dist/esm/{schema-validations-770bdf3e.js → schema-validations-a83ff220.js} +3 -4
- package/dist/esm/styled-host-57aae7fa.js +12 -0
- package/dist/esm/subaccount-account-details_4.entry.js +7 -23
- package/dist/esm/subaccount-bank-details.entry.js +3 -7
- package/dist/esm/subaccount-terms-details.entry.js +3 -7
- package/dist/esm/{utils-1e583166.js → utils-56719d07.js} +1 -1
- package/dist/esm/{utils-61a21dea.js → utils-5f4c4faa.js} +6 -1
- package/dist/esm/{utils-8de964da.js → utils-f4c4ba7d.js} +13 -4
- package/dist/esm/webcomponents.js +3 -3
- package/dist/module/SubAccount.js +1 -1
- package/dist/module/additional-questions-details2.js +3 -4
- package/dist/module/additional-questions.js +1 -1
- package/dist/module/billing-form.js +5 -4
- package/dist/module/business-additional-questions-form-step.js +1 -1
- package/dist/module/business-core-info-form-step.js +3 -2
- package/dist/module/business-core-info-schema.js +1 -1
- package/dist/module/business-details-core2.js +5 -8
- package/dist/module/business-representative-form-step.js +1 -4
- package/dist/module/business-terms-conditions-text.js +2 -2
- package/dist/module/checkout-core.js +44 -24
- package/dist/module/details.js +3 -6
- package/dist/module/form-control-checkbox2.js +1 -1
- package/dist/module/form-control-date2.js +1 -1
- package/dist/module/form-control-file2.js +1 -1
- package/dist/module/form-control-monetary2.js +1 -1
- package/dist/module/form-control-number-masked2.js +1 -1
- package/dist/module/form-control-number.js +1 -1
- package/dist/module/form-control-select2.js +1 -1
- package/dist/module/form-control-text2.js +1 -1
- package/dist/module/generic-info-details2.js +3 -4
- package/dist/module/get-payout-csv.js +45 -0
- package/dist/module/gross-payment-chart-core2.js +2 -2
- package/dist/module/justifi-business-form.js +4 -3
- package/dist/module/justifi-business-list.js +3 -6
- package/dist/module/justifi-checkout.js +35 -20
- package/dist/module/justifi-payment-balance-transactions.js +5 -9
- package/dist/module/justifi-payment-form.js +6 -5
- package/dist/module/justifi-payment-provisioning.js +2 -7
- package/dist/module/justifi-payments-list.js +19 -1
- package/dist/module/justifi-payout-details.js +11 -5
- package/dist/module/justifi-payouts-list.js +30 -8
- package/dist/module/justifi-proceeds-list.js +3 -6
- package/dist/module/justifi-refund-form.js +4 -3
- package/dist/module/justifi-save-new-payment-method.d.ts +11 -0
- package/dist/module/justifi-save-new-payment-method.js +6 -0
- package/dist/module/justifi-season-interruption-insurance.js +1 -2
- package/dist/module/justifi-subaccount-details.js +4 -7
- package/dist/module/justifi-subaccounts-list.js +2 -2
- package/dist/module/legal-address-details2.js +3 -4
- package/dist/module/new-payment-method.js +52 -24
- package/dist/module/owner-details2.js +3 -4
- package/dist/module/owner-form.js +2 -5
- package/dist/module/package.js +1 -1
- package/dist/module/pagination-menu2.js +4 -9
- package/dist/module/payload-parsers.js +2 -0
- package/dist/module/payment-details-core2.js +10 -13
- package/dist/module/payment-method-options.js +56 -28
- package/dist/module/payment-method-selector.js +3 -4
- package/dist/module/payment-provisioning-core.js +9 -3
- package/dist/module/payments-list-core2.js +26 -8
- package/dist/module/payout-details-core2.js +19 -7
- package/dist/module/payouts-list-core2.js +49 -9
- package/dist/module/representative-details2.js +3 -4
- package/dist/module/save-new-payment-method.js +36 -0
- package/dist/module/saved-payment-method.js +7 -2
- package/dist/module/schema-validations.js +3 -4
- package/dist/module/season-interruption-insurance-core.js +12 -7
- package/dist/module/sezzle-payment-method.js +5 -2
- package/dist/module/skeleton.js +2 -2
- package/dist/module/styled-host.js +12 -0
- package/dist/module/subaccount-account-details2.js +2 -7
- package/dist/module/subaccount-bank-details.js +2 -7
- package/dist/module/subaccount-merchant-details2.js +3 -8
- package/dist/module/subaccount-owners-details2.js +2 -7
- package/dist/module/subaccount-representative-details2.js +2 -7
- package/dist/module/subaccount-terms-details.js +2 -7
- package/dist/module/table.js +4 -5
- package/dist/module/utils2.js +6 -1
- package/dist/module/utils3.js +12 -3
- package/dist/types/api/Checkout.d.ts +6 -0
- package/dist/types/api/services/payout.service.d.ts +2 -0
- package/dist/types/assets/download-icon.d.ts +1 -0
- package/dist/types/components/business-forms/owner-form/owner-form.d.ts +0 -1
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.d.ts +0 -1
- package/dist/types/components/business-forms/schemas/schema-helpers.d.ts +0 -1
- package/dist/types/components/checkout/checkout-core.d.ts +5 -1
- package/dist/types/components/checkout/checkout.d.ts +5 -0
- package/dist/types/components/checkout/new-payment-method.d.ts +8 -2
- package/dist/types/components/checkout/payment-method-option-utils.d.ts +1 -0
- package/dist/types/components/checkout/payment-method-options.d.ts +6 -2
- package/dist/types/components/checkout/payment-method-payload.d.ts +1 -0
- package/dist/types/components/checkout/save-new-payment-method.d.ts +7 -0
- package/dist/types/components/checkout/saved-payment-method.d.ts +1 -1
- package/dist/types/components/checkout/sezzle-payment-method.d.ts +1 -1
- package/dist/types/components/form/utils.d.ts +1 -1
- package/dist/types/components/payment-method-form/payment-method-responses.d.ts +6 -4
- package/dist/types/components/payments-list/payments-list-core.d.ts +1 -0
- package/dist/types/components/payments-list/payments-list.d.ts +3 -0
- package/dist/types/components/payout-details/get-payout-csv.d.ts +7 -0
- package/dist/types/components/payout-details/payout-details-core.d.ts +2 -0
- package/dist/types/components/payout-details/payout-details.d.ts +2 -1
- package/dist/types/components/payouts-list/payouts-list-core.d.ts +3 -0
- package/dist/types/components/payouts-list/payouts-list.d.ts +5 -1
- package/dist/types/components.d.ts +83 -12
- package/dist/types/utils/styled-host/styled-host.d.ts +3 -0
- package/dist/types/utils/utils.d.ts +1 -0
- package/dist/webcomponents/{p-851e57f4.js → p-092e080c.js} +1 -1
- package/dist/webcomponents/p-09affce4.entry.js +1 -0
- package/dist/webcomponents/p-0a4a9ccd.entry.js +1 -0
- package/dist/webcomponents/{p-7c28a80d.entry.js → p-0dca0770.entry.js} +1 -1
- package/dist/webcomponents/p-0e4a54c8.entry.js +1 -0
- package/dist/webcomponents/p-0ed3c1d2.entry.js +1 -0
- package/dist/webcomponents/p-10b57ac6.entry.js +1 -0
- package/dist/webcomponents/p-1737f6bf.entry.js +1 -0
- package/dist/webcomponents/{p-ebce7b2f.entry.js → p-2244e679.entry.js} +1 -1
- package/dist/webcomponents/p-2306d44d.entry.js +1 -0
- package/dist/webcomponents/{p-f7b6dcc4.js → p-2338affa.js} +1 -1
- package/dist/webcomponents/p-2af3672b.entry.js +1 -0
- package/dist/webcomponents/p-3294856b.entry.js +1 -0
- package/dist/webcomponents/p-3514b616.entry.js +1 -0
- package/dist/webcomponents/p-390157c9.entry.js +1 -0
- package/dist/webcomponents/p-3fd13ca3.js +1 -0
- package/dist/webcomponents/p-412c7a22.entry.js +1 -0
- package/dist/webcomponents/p-464e4dfe.entry.js +1 -0
- package/dist/webcomponents/p-49b8e112.js +1 -0
- package/dist/webcomponents/{p-808c8988.entry.js → p-4b9587ec.entry.js} +1 -1
- package/dist/webcomponents/p-531d873a.entry.js +1 -0
- package/dist/webcomponents/p-54287db6.entry.js +1 -0
- package/dist/webcomponents/p-547a2cd0.entry.js +1 -0
- package/dist/webcomponents/p-571d7f1a.entry.js +1 -0
- package/dist/webcomponents/p-5963bcdc.entry.js +1 -0
- package/dist/webcomponents/p-5b1451e7.entry.js +1 -0
- package/dist/webcomponents/p-66758365.entry.js +1 -0
- package/dist/webcomponents/{p-3394ff6c.js → p-667a5aa8.js} +1 -1
- package/dist/webcomponents/p-67e497aa.entry.js +1 -0
- package/dist/webcomponents/p-68fd8283.js +1 -0
- package/dist/webcomponents/p-6bcf621a.entry.js +1 -0
- package/dist/webcomponents/p-6bd5d569.entry.js +1 -0
- package/dist/webcomponents/p-76180bb4.entry.js +1 -0
- package/dist/webcomponents/p-77dc159c.entry.js +1 -0
- package/dist/webcomponents/{p-3a7e0753.entry.js → p-7a346c0b.entry.js} +1 -1
- package/dist/webcomponents/p-7d6aba64.entry.js +1 -0
- package/dist/webcomponents/p-81d3eda6.entry.js +1 -0
- package/dist/webcomponents/p-85fc69e5.js +1 -0
- package/dist/webcomponents/p-87932e16.js +1 -0
- package/dist/webcomponents/p-88c7ef46.entry.js +1 -0
- package/dist/webcomponents/p-89887332.js +1 -0
- package/dist/webcomponents/p-8cc7a418.entry.js +1 -0
- package/dist/webcomponents/p-8dd22c8d.entry.js +1 -0
- package/dist/webcomponents/p-959b478a.entry.js +19 -0
- package/dist/webcomponents/{p-3f06ce2f.entry.js → p-9631b768.entry.js} +1 -1
- package/dist/webcomponents/p-9e7c3231.entry.js +1 -0
- package/dist/webcomponents/{p-9601cf9d.entry.js → p-bb32b91c.entry.js} +1 -1
- package/dist/webcomponents/p-bbc18b9f.entry.js +1 -0
- package/dist/webcomponents/{p-4b4fc43d.js → p-c4264aaf.js} +1 -1
- package/dist/webcomponents/p-cb9ee476.entry.js +1 -0
- package/dist/webcomponents/p-d083a342.entry.js +1 -0
- package/dist/webcomponents/{p-288c95b3.entry.js → p-d5612f35.entry.js} +1 -1
- package/dist/webcomponents/p-debeefbb.entry.js +1 -0
- package/dist/webcomponents/{p-e3a31451.entry.js → p-df38dd21.entry.js} +1 -1
- package/dist/webcomponents/p-e0bcfdb5.entry.js +1 -0
- package/dist/webcomponents/{p-cb68e8fa.js → p-e1651130.js} +1 -1
- package/dist/webcomponents/p-e46929a1.entry.js +1 -0
- package/dist/webcomponents/{p-fee616cf.entry.js → p-e85ef4af.entry.js} +1 -1
- package/dist/webcomponents/{p-fb53112b.js → p-e8c651b8.js} +1 -1
- package/dist/webcomponents/p-ea7c77a3.entry.js +1 -0
- package/dist/webcomponents/{p-2451611d.entry.js → p-f3555f0b.entry.js} +1 -1
- package/dist/webcomponents/p-fad19d75.js +2 -0
- package/dist/webcomponents/webcomponents.css +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/payout.service-eec372aa.js +0 -22
- package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.css +0 -7348
- package/dist/collection/components/business-details/business-details.css +0 -6446
- package/dist/collection/components/business-details/generic-info-details/generic-info-details.css +0 -7348
- package/dist/collection/components/business-details/legal-address-details/legal-address-details.css +0 -7348
- package/dist/collection/components/business-details/owner-details/owner-details.css +0 -7348
- package/dist/collection/components/business-details/representative-details/representative-details.css +0 -7348
- package/dist/collection/components/business-list/business-list.css +0 -579
- package/dist/collection/components/details/details.css +0 -7993
- package/dist/collection/components/payment-balance-transactions/payment-balance-transactions.css +0 -0
- package/dist/collection/components/payment-details/payment-details.css +0 -7993
- package/dist/collection/components/payments-list/payments-list.css +0 -579
- package/dist/collection/components/payout-details/payout-details.css +0 -7993
- package/dist/collection/components/payouts-list/payouts-list.css +0 -579
- package/dist/collection/components/proceeds-list/proceeds-list.css +0 -579
- package/dist/collection/components/subaccount-details/subaccount-account-details/subaccount-account-details.css +0 -7352
- package/dist/collection/components/subaccount-details/subaccount-bank-details/subaccount-bank-details.css +0 -7352
- package/dist/collection/components/subaccount-details/subaccount-details.css +0 -7993
- package/dist/collection/components/subaccount-details/subaccount-merchant-details/subaccount-merchant-details.css +0 -7352
- package/dist/collection/components/subaccount-details/subaccount-owners-details/subaccount-owners-details.css +0 -7352
- package/dist/collection/components/subaccount-details/subaccount-representative-details/subaccount-representative-details.css +0 -7352
- package/dist/collection/components/subaccount-details/subaccount-terms-details/subaccount-terms-details.css +0 -7352
- package/dist/esm/payout.service-28b9594f.js +0 -20
- package/dist/module/payout.service.js +0 -20
- package/dist/webcomponents/p-023fe908.entry.js +0 -1
- package/dist/webcomponents/p-038fb958.entry.js +0 -1
- package/dist/webcomponents/p-06baf263.entry.js +0 -1
- package/dist/webcomponents/p-0f10316f.entry.js +0 -1
- package/dist/webcomponents/p-144e4bda.js +0 -1
- package/dist/webcomponents/p-1e53021d.entry.js +0 -1
- package/dist/webcomponents/p-1feebf9c.entry.js +0 -1
- package/dist/webcomponents/p-26779944.entry.js +0 -1
- package/dist/webcomponents/p-306aea52.entry.js +0 -1
- package/dist/webcomponents/p-31031d15.entry.js +0 -1
- package/dist/webcomponents/p-4791c1f2.entry.js +0 -1
- package/dist/webcomponents/p-4b260a52.entry.js +0 -1
- package/dist/webcomponents/p-56275f64.entry.js +0 -1
- package/dist/webcomponents/p-64d1aeb8.entry.js +0 -1
- package/dist/webcomponents/p-65969627.entry.js +0 -19
- package/dist/webcomponents/p-68f3a7b0.entry.js +0 -1
- package/dist/webcomponents/p-6b05f357.entry.js +0 -1
- package/dist/webcomponents/p-6ce586e0.entry.js +0 -1
- package/dist/webcomponents/p-71800e4c.js +0 -1
- package/dist/webcomponents/p-7ae2d26f.entry.js +0 -1
- package/dist/webcomponents/p-88d68804.entry.js +0 -1
- package/dist/webcomponents/p-8a6049ed.js +0 -1
- package/dist/webcomponents/p-8e8f5033.entry.js +0 -1
- package/dist/webcomponents/p-9228912b.entry.js +0 -1
- package/dist/webcomponents/p-923c37a2.entry.js +0 -1
- package/dist/webcomponents/p-9b1e7f5e.entry.js +0 -1
- package/dist/webcomponents/p-9c00adf1.entry.js +0 -1
- package/dist/webcomponents/p-9e5d765c.js +0 -1
- package/dist/webcomponents/p-a33c3e1c.entry.js +0 -1
- package/dist/webcomponents/p-a63a6fb9.js +0 -2
- package/dist/webcomponents/p-b01c0120.entry.js +0 -1
- package/dist/webcomponents/p-b94bf537.entry.js +0 -1
- package/dist/webcomponents/p-bacd9d6e.entry.js +0 -1
- package/dist/webcomponents/p-c85fb952.entry.js +0 -1
- package/dist/webcomponents/p-ca39c89f.js +0 -1
- package/dist/webcomponents/p-d42e284d.entry.js +0 -1
- package/dist/webcomponents/p-e673e681.entry.js +0 -1
- package/dist/webcomponents/p-eefe2f29.entry.js +0 -1
- package/dist/webcomponents/p-f14db665.entry.js +0 -1
- package/dist/webcomponents/p-f18e63c3.entry.js +0 -1
- package/dist/webcomponents/p-f3ae3cb6.entry.js +0 -1
- package/dist/webcomponents/p-fa9773c0.entry.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
2
|
import { FormController } from "../../form/form";
|
|
3
3
|
import { businessFormSchema } from "../schemas/business-form-schema";
|
|
4
4
|
import { Api } from "../../../api";
|
|
@@ -7,6 +7,7 @@ import { config } from "../../../../config";
|
|
|
7
7
|
import { BusinessFormClickActions, BusinessFormServerErrors } from "../utils/business-form-types";
|
|
8
8
|
import { Business } from "../../../api/Business";
|
|
9
9
|
import JustifiAnalytics from "../../../api/Analytics";
|
|
10
|
+
import StyledHost from "../../../utils/styled-host/styled-host";
|
|
10
11
|
/**
|
|
11
12
|
* @exportedPart label: Label for inputs
|
|
12
13
|
* @exportedPart input: The input fields
|
|
@@ -96,13 +97,13 @@ export class BusinessForm {
|
|
|
96
97
|
this.instantiateBusiness(response.data);
|
|
97
98
|
}
|
|
98
99
|
render() {
|
|
99
|
-
return (h(
|
|
100
|
+
return (h(StyledHost, { key: '4f1e4f5126536bb778a5d5292ea320432874096d', exportparts: "label,input,input-invalid" }, h("form", { key: '10a2ed6a9b406ce8b7d47bc8f883469ac53d83e6', onSubmit: this.validateAndSubmit }, h("div", { key: '7409bfa5188eddb37f866c4c5524bad91d6f416f', class: "row gap-3" }, h("h1", { key: '62108bc12ecf3a799ce1b26714c0ad18640f120c' }, this.title), h("form-alert", { key: '1cb678fc4ad2792e30fbe462dab72c8e5b7f67f0', text: this.errorMessage, hideAlert: this.hideErrors }), h("div", { key: 'a3aca83b156586dd33aa188308471b4ba94976b9', class: "col-12 mb-4" }, h("justifi-business-core-info", { key: '1e586dc338f84fe18230763520e07cce36edb639', formController: this.formController })), h("div", { key: '965ab59b189a5b165575fbdbc78ed6a3378c1afd', class: "col-12 mb-4" }, h("justifi-legal-address-form", { key: '883131879c4a30f9b27cace42bc980f0ceabd6dc', formController: this.formController })), h("div", { key: '8ddd7cfa816b977f2b8ee59b375a23bfdae7e3c0', class: "col-12 mb-4" }, h("justifi-additional-questions", { key: '812f878b5204f35ca1ddf25fe18a0ed2df320441', formController: this.formController })), h("div", { key: '0eeb17ac78fea83a2062b0c850d446aad53000a1', class: "col-12 mb-4" }, h("justifi-business-representative", { key: 'd5d478718a20337d86d3fd635d4ce1c7c6159ab5', formController: this.formController })), h("div", { key: '6911c9d8f27c675e47197e41f6cfc7185c014af8', class: "col-12 d-flex flex-row-reverse" }, h("button", { key: '8b6e15a727b988c7c473cfb0d34ad4815e7cd09e', type: "submit", class: "btn btn-primary jfi-submit-button", disabled: this.disabledState, onClick: () => this.fireClickEvents({ name: BusinessFormClickActions.submit }) }, this.isLoading ? 'Loading...' : 'Submit'))))));
|
|
100
101
|
}
|
|
101
102
|
static get is() { return "justifi-business-form"; }
|
|
102
103
|
static get encapsulation() { return "shadow"; }
|
|
103
104
|
static get originalStyleUrls() {
|
|
104
105
|
return {
|
|
105
|
-
"$": ["business-form.
|
|
106
|
+
"$": ["business-form.css"]
|
|
106
107
|
};
|
|
107
108
|
}
|
|
108
109
|
static get styleUrls() {
|
|
@@ -110,9 +110,6 @@ export class BusinessOwnerForm {
|
|
|
110
110
|
get identityEndpoint() {
|
|
111
111
|
return this.ownerId ? `entities/identity/${this.ownerId}` : 'entities/identity';
|
|
112
112
|
}
|
|
113
|
-
get identificationNumberLabel() {
|
|
114
|
-
return this.owner.ssn_last4 ? 'Update SSN (optional)' : 'SSN';
|
|
115
|
-
}
|
|
116
113
|
get formTitle() {
|
|
117
114
|
return this.ownerId ? 'Edit Business Owner' : 'Add Business Owner';
|
|
118
115
|
}
|
|
@@ -175,8 +172,8 @@ export class BusinessOwnerForm {
|
|
|
175
172
|
}
|
|
176
173
|
render() {
|
|
177
174
|
const ownerDefaultValue = this.formController.getInitialValues();
|
|
178
|
-
return (h(Host, { key: '
|
|
179
|
-
h("button", { key: '
|
|
175
|
+
return (h(Host, { key: '3a578c58fa8c11c2baf46a95e623414a694c18a2', exportparts: 'label,input,input-invalid' }, h("form", { key: 'ef53b26ec0ed5a41559bf3d4dbf85f8b79c8d8db', onSubmit: this.validateAndSubmit }, h("fieldset", { key: 'f23d280aa2ff12c685b87dcd3dc3dcb34bbf1784' }, h("legend", { key: '3d825e9ec1ad52471e175d78e8f012d1f1de2594', class: 'fw-semibold fs-5' }, this.formTitle), h("br", { key: '38d6a4fb10ddf4be97950e2eb985f0e136d295c4' }), h("div", { key: '3d1ede4480f325cc18ba22458527a8ba60159360', class: 'row gy-3' }, h("div", { key: '5f542713f105488bcf0b83d7f8cbd3702e8fd2da', class: 'col-12 col-md-6' }, h("form-control-text", { key: '4b415df939665d4a2ae29a78b0d6f3036b824233', name: 'name', label: 'Full Name', defaultValue: ownerDefaultValue === null || ownerDefaultValue === void 0 ? void 0 : ownerDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: 'f92a0fdd5fa3288586ddc3815aa8e475b48687e3', class: 'col-12 col-md-4' }, h("form-control-text", { key: 'f3defa8f646072654ff528c4c3f7029a3e94e188', name: 'title', label: 'Title', defaultValue: ownerDefaultValue === null || ownerDefaultValue === void 0 ? void 0 : ownerDefaultValue.title, errorText: this.errors.title, inputHandler: this.inputHandler })), h("div", { key: 'cf0ad4643b076a5611526a30b753b349326fdc5c', class: 'col-12 col-md-6' }, h("form-control-text", { key: '4dff997ae72b053586ab9a89c8cfa253d786c2e6', name: 'email', label: 'Email Address', defaultValue: ownerDefaultValue === null || ownerDefaultValue === void 0 ? void 0 : ownerDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: 'baf2251fe3813beca1943ea3c37090ae31cff04c', class: 'col-12 col-md-6' }, h("form-control-number-masked", { key: '465c8e61db06d11cf7fe85cf49868fc50375ca01', name: 'phone', label: 'Phone Number', defaultValue: ownerDefaultValue === null || ownerDefaultValue === void 0 ? void 0 : ownerDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: '862ec747120b5b4a05091545bbba8e8e0649a063', class: 'col-12 col-md-4' }, h("form-control-date", { key: '1724de6338244e687135d992df528ffc9286284b', name: 'dob_full', label: 'Birth Date', defaultValue: ownerDefaultValue === null || ownerDefaultValue === void 0 ? void 0 : ownerDefaultValue.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: this.onDateOfBirthUpdate })), h("div", { key: '9289f44bcb62e4b7baa36f6d5a88d1f2eab8f9dc', class: 'col-12 col-md-8' }, h("form-control-number-masked", { key: '4e2ac4ee3edc0cce36e97014184029b09be47e80', name: 'identification_number', label: 'SSN', defaultValue: ownerDefaultValue === null || ownerDefaultValue === void 0 ? void 0 : ownerDefaultValue.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: SSN_MASK })), h("div", { key: '1373375140a0c071c80764b69c2bacc26c22cf42', class: 'col-12' }, h("justifi-identity-address-form", { key: 'cc01cfc035e53ff6d995f387cd1dce713c5a6199', errors: this.errors.address, defaultValues: ownerDefaultValue === null || ownerDefaultValue === void 0 ? void 0 : ownerDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate })), h("div", { key: 'f51f56934730f45b5ea8cad8c051c7995a101d01', class: 'col-12 d-flex gap-2' }, h("button", { key: 'e267c7f93110b5b45fea9e170718dd74fd2dba3e', type: 'submit', class: `btn btn-primary jfi-submit-button${this.isLoading ? ' jfi-submit-button-loading' : ''}`, onClick: () => this.handleAddOwner(), disabled: this.isLoading }, this.isLoading ? LoadingSpinner() : this.submitButtonText), this.showRemoveButton &&
|
|
176
|
+
h("button", { key: '61486f9ae64c488abf267c15ddcbc61537b3e433', type: 'button', class: 'btn btn-danger', onClick: () => this.handleRemoveOwner() }, "Remove owner"))), h("hr", { key: 'c599a8b0f3f41f58691cb353f91d3b167bbcab11' })))));
|
|
180
177
|
}
|
|
181
178
|
static get is() { return "justifi-owner-form"; }
|
|
182
179
|
static get properties() {
|
|
@@ -98,7 +98,7 @@ export class AdditionalQuestionsFormStep {
|
|
|
98
98
|
render() {
|
|
99
99
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
100
100
|
const additionalQuestionsDefaultValue = this.formController.getInitialValues();
|
|
101
|
-
return (h(Host, { key: 'a6c4f79702b3ebeb087c7e0beb1353e243c26bb2', exportparts: "label,input,input-invalid" }, h("form", { key: 'e4f918d7b7a84b8a2332f14d79dcb8bc7c50da73' }, h("fieldset", { key: '921f14f225be38b665780a5640bc38302497a5b4' }, h("legend", { key: '01fa03c8134995cb23a67766febb6d4522e3d41a' }, "Additional Questions"), h("hr", { key: '61131730389e979b6aa7d68ca5f58a070aa2534e' }), h("div", { key: '54b3af3d2fe06b20463fa548a60ab986f246a3d7', class: "row gy-3" }, h("div", { key: '55c113e9d5f4746cc78de3f91cbf0a069d7a8e41', class: "col-12 col-md-6" }, h("form-control-monetary", { key: '
|
|
101
|
+
return (h(Host, { key: 'a6c4f79702b3ebeb087c7e0beb1353e243c26bb2', exportparts: "label,input,input-invalid" }, h("form", { key: 'e4f918d7b7a84b8a2332f14d79dcb8bc7c50da73' }, h("fieldset", { key: '921f14f225be38b665780a5640bc38302497a5b4' }, h("legend", { key: '01fa03c8134995cb23a67766febb6d4522e3d41a' }, "Additional Questions"), h("hr", { key: '61131730389e979b6aa7d68ca5f58a070aa2534e' }), h("div", { key: '54b3af3d2fe06b20463fa548a60ab986f246a3d7', class: "row gy-3" }, h("div", { key: '55c113e9d5f4746cc78de3f91cbf0a069d7a8e41', class: "col-12 col-md-6" }, h("form-control-monetary", { key: '86a6cacf09105f5c4415a01738ba77b7eeb7622c', name: "business_revenue", label: "What is the business' estimated annual revenue from its primary business activities?", inputHandler: this.inputHandler, errorText: (_a = this.errors) === null || _a === void 0 ? void 0 : _a.business_revenue, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_revenue, maskOptions: CURRENCY_MASK.WHOLE })), h("div", { key: 'ae68b9c006ea41e1f214226efdb4e14098d5e800', class: "col-12 col-md-6" }, h("form-control-monetary", { key: 'ddbff877fc74121bbf84eb7f4ee278558f35d853', name: "business_payment_volume", label: "What is the business' annual credit card & ACH volume anticipated to process?", inputHandler: this.inputHandler, errorText: (_b = this.errors) === null || _b === void 0 ? void 0 : _b.business_payment_volume, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_payment_volume, maskOptions: CURRENCY_MASK.WHOLE })), h("div", { key: '80fa2c11d3cadd1a1ab07ad79b7ff736a15a38d3', class: "col-12" }, h("form-control-select", { key: '7fca901a87105b9a401309d5841279bac7a6f5cd', 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: (_c = this.errors) === null || _c === void 0 ? void 0 : _c.business_when_service_received, options: businessServiceReceivedOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_when_service_received })), h("div", { key: 'a20763d9518cd84b062f81fdce325be2a8dfb40e', class: "col-12" }, h("form-control-select", { key: 'cfec3aab19c544b16f8a0fab7541433130c3b749', name: 'business_recurring_payments', label: 'Does your business offer recurring payments?', inputHandler: this.inputHandler, errorText: (_d = this.errors) === null || _d === void 0 ? void 0 : _d.business_recurring_payments, options: recurringPaymentsOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_recurring_payments })), h("div", { key: '0ef1a0473a5870428a741be696e08c881ebee524', class: "col-12" }, h("form-control-text", { key: '512a4924c14b7c2da661b5ffe966d8d1497cb706', name: 'business_recurring_payments_percentage', label: 'What percent of revenue is generated from each recurring payment type offered?', inputHandler: this.inputHandler, errorText: (_e = this.errors) === null || _e === void 0 ? void 0 : _e.business_recurring_payments_percentage, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_recurring_payments_percentage })), h("div", { key: '75a7b0adfde53443a53ca4e4143f1ff060291837', class: "col-12" }, h("form-control-select", { key: '1474ce5f608be57a36486ad46c7a7bd68fc44fc7', name: 'business_seasonal', label: 'Is this business seasonal?', inputHandler: this.inputHandler, errorText: (_f = this.errors) === null || _f === void 0 ? void 0 : _f.business_seasonal, options: seasonalBusinessOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_seasonal })), h("div", { key: '7de2fd399754cc0c77e2b08b7d1a4d0082903f61', class: "col-12" }, h("form-control-text", { key: '5de14ae950223e353dd6d58430a4493ffd26da4e', 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: (_g = this.errors) === null || _g === void 0 ? void 0 : _g.business_other_payment_details, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_other_payment_details })))))));
|
|
102
102
|
}
|
|
103
103
|
static get is() { return "justifi-additional-questions-form-step"; }
|
|
104
104
|
static get properties() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
|
2
2
|
import { FormController } from "../../../form/form";
|
|
3
|
-
import { PHONE_MASKS
|
|
3
|
+
import { PHONE_MASKS } from "../../../../utils/form-input-masks";
|
|
4
4
|
import { CoreBusinessInfo } from "../../../../api/Business";
|
|
5
5
|
import { Api } from "../../../../api";
|
|
6
6
|
import { businessCoreInfoSchema } from "../../schemas/business-core-info-schema";
|
|
@@ -10,6 +10,7 @@ import { flattenNestedObject } from "../../../../utils/utils";
|
|
|
10
10
|
import { BusinessFormStep } from "../../utils/business-form-types";
|
|
11
11
|
import { businessClassificationOptions } from "../../utils/business-form-options";
|
|
12
12
|
import { ComponentErrorCodes, ComponentErrorSeverity } from "../../../../api/ComponentError";
|
|
13
|
+
import { numberOnlyHandler } from "../../../form/utils";
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* The difference between this component and business-generic-info-details
|
|
@@ -106,7 +107,7 @@ export class BusinessCoreInfoFormStep {
|
|
|
106
107
|
}
|
|
107
108
|
render() {
|
|
108
109
|
const coreInfoDefaultValue = this.formController.getInitialValues();
|
|
109
|
-
return (h(Host, { key: '
|
|
110
|
+
return (h(Host, { key: '4ea42b813bdd6e5c59a62ae4ae869e86dfddd7ce', exportparts: 'label,input,input-invalid' }, h("form", { key: 'f5ec3be342eda82dee8a51fe2ee5a6da1ee8902e' }, h("fieldset", { key: 'e07041577f53badc6c172a2c6dc20b1066c03f4c' }, h("legend", { key: '2bcc8cc013eeee4e27c874d0bed4471515b68610' }, "General Info"), h("hr", { key: '6dc6f73cf851b9244c8d797bc5cefdfda848c7bc' }), h("div", { key: 'b2bfad85255ddfa76d405e45df3d668ad02a6fea', class: 'row gy-3' }, h("div", { key: 'a9a65df07f40621513ce4881dd203e90142d7670', class: 'col-12' }, h("form-control-text", { key: '7fe7ac765902c7cd9ed60004dc7be687d43b2e49', name: 'legal_name', label: 'Legal Name', defaultValue: coreInfoDefaultValue.legal_name, errorText: this.errors.legal_name, inputHandler: this.inputHandler })), h("div", { key: '6fe2e395e4391480f4d6dafcfc57619176efc45c', class: 'col-12' }, h("form-control-text", { key: 'd19870345d79e4c44c3e667e2751ff6f344e1d58', 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: '39acda8180c70f7684aa2d73ef31bc199233c358', class: 'col-12 col-md-8' }, h("form-control-select", { key: '67f98ac21a69a851bb9489df198e06c8b517d45e', name: 'classification', label: 'Business Classification', options: businessClassificationOptions, defaultValue: coreInfoDefaultValue.classification, errorText: this.errors.classification, inputHandler: this.inputHandler })), h("div", { key: 'd54631f13e8998170de1f175d52d89d90035e688', class: 'col-12 col-md-4' }, h("form-control-date", { key: '8038e4f909c9bb2e5f3a8dd577f7b7f75e3d4f41', 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: 'ca43f206b14494ddaa55c625a2c408426ebcf529', class: 'col-12 col-md-6' }, h("form-control-text", { key: '7ccf50e04dad1a7e001c37074925f27f53ec831c', name: 'industry', label: 'Industry', defaultValue: coreInfoDefaultValue.industry, errorText: this.errors.industry, inputHandler: this.inputHandler })), h("div", { key: '76136df0a434b7fce1b0307e962e4ea387a063d3', class: 'col-12 col-md-6' }, h("form-control-text", { key: 'ddfd853ed46b3995484dff54d47af0c0d6c93b0c', name: 'tax_id', label: 'Tax ID (EIN or SSN)', defaultValue: coreInfoDefaultValue.tax_id, errorText: this.errors.tax_id, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, maxLength: 9 })), h("div", { key: '1084c4d7a261b8fc0a9ceacc16b5823f09cfb807', class: 'col-12' }, h("form-control-text", { key: 'c9ca186a6f2cc10f43966de56e6a224103ddd1f3', name: 'website_url', label: 'Website URL', defaultValue: coreInfoDefaultValue.website_url, errorText: this.errors.website_url, inputHandler: this.inputHandler })), h("div", { key: '55bc2f83a170fc1bec20c208460cc63b8f42a566', class: 'col-12 col-md-6' }, h("form-control-text", { key: '5c35db62f1d7d56e01a839df29b39aa55e569d5c', name: 'email', label: 'Email Address', defaultValue: coreInfoDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: 'f74aadc2ea606365918f29091a6f6bb08841bf00', class: 'col-12 col-md-6' }, h("form-control-number-masked", { key: 'ef54ee012cbc30464bcdc7e887d5eb0523e30057', name: 'phone', label: 'Phone Number', defaultValue: coreInfoDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })))))));
|
|
110
111
|
}
|
|
111
112
|
static get is() { return "justifi-business-core-info-form-step"; }
|
|
112
113
|
static get properties() {
|
|
@@ -74,9 +74,6 @@ export class BusinessRepresentativeFormStep {
|
|
|
74
74
|
get businessEndpoint() {
|
|
75
75
|
return `entities/business/${this.businessId}`;
|
|
76
76
|
}
|
|
77
|
-
get identificationNumberLabel() {
|
|
78
|
-
return this.representative.ssn_last4 ? 'Update SSN (optional)' : 'SSN';
|
|
79
|
-
}
|
|
80
77
|
handleResponse(response, onSuccess) {
|
|
81
78
|
if (response.error) {
|
|
82
79
|
this.errorEvent.emit({
|
|
@@ -108,7 +105,7 @@ export class BusinessRepresentativeFormStep {
|
|
|
108
105
|
}
|
|
109
106
|
render() {
|
|
110
107
|
const representativeDefaultValue = this.formController.getInitialValues();
|
|
111
|
-
return (h(Host, { key: '
|
|
108
|
+
return (h(Host, { key: 'd2c9bc0dd40d85403688d4c0ff482d7b0c3c35ab', exportparts: 'label,input,input-invalid' }, h("form", { key: '99a6b23b13b893f760e322dfe2e6f603e86e718c' }, h("fieldset", { key: '7c3b1897a7fe0fa672fa2d8d1a35ba4c81e9c256' }, h("legend", { key: 'f0fe4c93f757167e631d6e21bda5b559556550ad' }, "Representative"), h("hr", { key: '1dd5db7898b510bcdae492460f2ce57d7871c282' }), h("div", { key: '33d1935e5b6cc441bd0193e35aaaedcecfc2bc95', class: 'row gy-3' }, h("div", { key: 'c872b5a20469e3609178106b019fe1d0aecb2a24', class: 'col-12 col-md-8' }, h("form-control-text", { key: '31f37067b3c46bb4f7120169878dae88c1d4e918', name: 'name', label: 'Full Name', defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '9bdc8c1756a693f48bf060ee66f6fcf44cabc025', class: 'col-12 col-md-4' }, h("form-control-text", { key: '1686ff4c8e7b2e2fb74cc104966bf56d2754f8a8', name: 'title', label: 'Title', defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.title, errorText: this.errors.title, inputHandler: this.inputHandler })), h("div", { key: '789443ed50f9f0957e6bd8b4f6dea8d6ba7421a9', class: 'col-12 col-md-6' }, h("form-control-text", { key: 'fcf1bd082368ee1adcc6b661ec75e3693fcc30dd', name: 'email', label: 'Email Address', defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '163d3f6e3ea1d2b7833b7a232e4726e56fda6416', class: 'col-12 col-md-6' }, h("form-control-number-masked", { key: '3eba7a3ab6a7e8631cb9f100bfd7e5e5566efecc', name: 'phone', label: 'Phone Number', defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: '42fc6d656c069f073b08e77398a266e367e771ad', class: 'col-12 col-md-4' }, h("form-control-date", { key: 'f627ff9478974305c83a8947b6c7f60d46189104', name: 'dob_full', label: 'Birth Date', defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: this.onDateOfBirthUpdate })), h("div", { key: 'ffded118a7a2d1c5889c46ac879cdadc289f1c1e', class: 'col-12 col-md-8' }, h("form-control-number-masked", { key: 'bf9cda57b1b7579a38d4f1f276c5cbc7b1723e2d', name: 'identification_number', label: 'SSN', defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: SSN_MASK })), h("div", { key: 'b033205960692dc7b3cea5ce59e12a13c58d5243', class: 'col-12' }, h("justifi-identity-address-form", { key: 'f243060451c630da18d175a93f55bb1fcabd0cec', errors: this.errors.address, defaultValues: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate })))))));
|
|
112
109
|
}
|
|
113
110
|
static get is() { return "justifi-business-representative-form-step"; }
|
|
114
111
|
static get properties() {
|
package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { h
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
2
|
import { BusinessFormClickActions } from "../utils/business-form-types";
|
|
3
3
|
import { ComponentErrorCodes, ComponentErrorSeverity } from "../../../api/ComponentError";
|
|
4
4
|
import { checkProvisioningStatus } from "../utils/helpers";
|
|
5
|
+
import StyledHost from "../../../utils/styled-host/styled-host";
|
|
5
6
|
export class PaymentProvisioningCore {
|
|
6
7
|
constructor() {
|
|
7
8
|
this.setBusinessProvisioned = () => {
|
|
@@ -88,9 +89,20 @@ export class PaymentProvisioningCore {
|
|
|
88
89
|
return `${this.currentStep + 1} of ${this.totalSteps + 1}`;
|
|
89
90
|
}
|
|
90
91
|
render() {
|
|
91
|
-
return (h(
|
|
92
|
+
return (h(StyledHost, { key: 'c7a292617e8b8e168bcf0fa96e2b2d8876aaaf94', exportparts: 'label,input,input-invalid' }, h("div", { key: '2555ee0dd6a4d59f8eadf3d2cc95ff9139be1782', class: 'row gap-3' }, h("h1", { key: '9c51c3a0b10cd9e1457391284f2d1c956f82edc0' }, this.formTitle), h("justifi-payment-provisioning-form-steps", { key: 'b15f8271687486995c2f0d22788f456eba0d645f', businessId: this.businessId, authToken: this.authToken, refs: this.refs, currentStep: this.currentStep, allowOptionalFields: this.allowOptionalFields, handleFormLoading: this.handleFormLoading, onFormCompleted: () => this.postProvisioningData() }), h("div", { key: '904636b51586f75290f37ea5c14459edf571e1db', class: 'd-flex justify-content-between align-items-center' }, h("div", { key: '7f3f4ca59494b65e8c52e4e43602e8471b6773ae', class: 'd-flex align-items-center' }, this.stepCounter), h("justifi-payment-provisioning-form-buttons", { key: '6fc0ba13ec40ab487b5fa6c8448652fdc5233857', currentStep: this.currentStep, totalSteps: this.totalSteps, formLoading: this.formLoading, formDisabled: this.formDisabled, previousStepButtonOnClick: this.previousStepButtonOnClick, nextStepButtonOnClick: this.nextStepButtonOnClick })))));
|
|
92
93
|
}
|
|
93
94
|
static get is() { return "justifi-payment-provisioning-core"; }
|
|
95
|
+
static get encapsulation() { return "shadow"; }
|
|
96
|
+
static get originalStyleUrls() {
|
|
97
|
+
return {
|
|
98
|
+
"$": ["payment-provisioning.css"]
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
static get styleUrls() {
|
|
102
|
+
return {
|
|
103
|
+
"$": ["payment-provisioning.css"]
|
|
104
|
+
};
|
|
105
|
+
}
|
|
94
106
|
static get properties() {
|
|
95
107
|
return {
|
|
96
108
|
"businessId": {
|