@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,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
2
|
import BillingFormSchema from "./billing-form-schema";
|
|
3
3
|
import StateOptions from "../../utils/state-options";
|
|
4
4
|
import { FormController } from "../form/form";
|
|
5
5
|
import { numberOnlyHandler } from "../form/utils";
|
|
6
|
+
import StyledHost from "../../utils/styled-host/styled-host";
|
|
6
7
|
/**
|
|
7
8
|
* @exportedPart label: Label for inputs
|
|
8
9
|
* @exportedPart input: The input fields
|
|
@@ -31,7 +32,7 @@ export class BillingForm {
|
|
|
31
32
|
return this.formController.values.getValue();
|
|
32
33
|
}
|
|
33
34
|
async fill(fields) {
|
|
34
|
-
this.formController.
|
|
35
|
+
this.formController.setInitialValues(fields);
|
|
35
36
|
}
|
|
36
37
|
async validate() {
|
|
37
38
|
let isValid = await this.formController.validate();
|
|
@@ -39,13 +40,13 @@ export class BillingForm {
|
|
|
39
40
|
}
|
|
40
41
|
render() {
|
|
41
42
|
const billingFormDefaultValue = this.formController.getInitialValues();
|
|
42
|
-
return (h(
|
|
43
|
+
return (h(StyledHost, { key: '8104e81c71bc567bfa5e0375cd33e9faca89d011', exportparts: "label,input,input-invalid" }, h("form", { key: 'c6cc67debae73514e2615f95c2bf864b912a73cb' }, h("fieldset", { key: '9a7c04e44a7428748dad4c303e69a138ddb9101d' }, this.legend && h("legend", { key: '7aff51cff0b829134b99179d05c8184ee434258e' }, this.legend), h("div", { key: '53ed47c893e7f8348a0ab1f637175e7b456e1992', class: "row gy-3" }, h("div", { key: '4b93bf1abd9be0735560cd2db646be68fc1a6916', class: "col-12" }, h("form-control-text", { key: '18f7be54e35cac629a0122b7ff040e424b39dcea', name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '5358865082c4158083f0232441255622f339105a', class: "col-12" }, h("form-control-text", { key: '8ba417bede5bde2c6d7a99869caab780e0887b9b', name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), h("div", { key: 'ffadcbe419b78f4e96283c3366141e20e2f157d3', class: "col-12" }, h("form-control-text", { key: '14ca2064c4651405c443d75961c8937d7136a95d', name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), h("div", { key: '52cd79784b86d18cc35c80ae5f4006e8e25337f7', class: "col-12" }, h("form-control-text", { key: '741129396330fb3d7e40143391ab3422d648c997', name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), h("div", { key: 'ec80e7986f8189d4a08df9924d9cbecab512ae3d', class: "col-12" }, h("form-control-select", { key: '0cea8474f7f72ebb2591f48bd85ea4e008f65d94', name: 'address_state', label: 'State', options: StateOptions, defaultValue: billingFormDefaultValue.address_state, errorText: this.errors.address_state, inputHandler: this.inputHandler })), h("div", { key: '59935a8aaf2b91df9e33c284132ca1372591d797', class: "col-12" }, h("form-control-text", { key: '9316b7c2aec054c251eb9eba7641f239b43f3714', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: numberOnlyHandler })))))));
|
|
43
44
|
}
|
|
44
45
|
static get is() { return "justifi-billing-form"; }
|
|
45
46
|
static get encapsulation() { return "shadow"; }
|
|
46
47
|
static get originalStyleUrls() {
|
|
47
48
|
return {
|
|
48
|
-
"$": ["billing-form.
|
|
49
|
+
"$": ["billing-form.css"]
|
|
49
50
|
};
|
|
50
51
|
}
|
|
51
52
|
static get styleUrls() {
|
|
@@ -20,15 +20,14 @@ export class AdditionalQuestionsDetails {
|
|
|
20
20
|
return (h(Host, null, h(DetailSectionTitle, { sectionTitle: "Additional Questions" }), h("div", { class: "d-table gap-2 w-100" }, h("div", { class: "row gy-3" }, h("div", { class: "col-12 col-md-6" }, h(DetailItem, { title: "Business Revenue", value: (_a = this.additionalQuestions.business_revenue) === null || _a === void 0 ? void 0 : _a.toString() }), h(DetailItem, { title: "Business Payment Volume", value: (_b = this.additionalQuestions.business_payment_volume) === null || _b === void 0 ? void 0 : _b.toString() }))))));
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "additional-questions-details"; }
|
|
23
|
-
static get encapsulation() { return "shadow"; }
|
|
24
23
|
static get originalStyleUrls() {
|
|
25
24
|
return {
|
|
26
|
-
"$": ["
|
|
25
|
+
"$": ["../shared-business-details.css"]
|
|
27
26
|
};
|
|
28
27
|
}
|
|
29
28
|
static get styleUrls() {
|
|
30
29
|
return {
|
|
31
|
-
"$": ["
|
|
30
|
+
"$": ["../shared-business-details.css"]
|
|
32
31
|
};
|
|
33
32
|
}
|
|
34
33
|
static get properties() {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
2
|
import { ErrorState, LoadingState } from "../details/utils";
|
|
3
|
+
import StyledHost from "../../utils/styled-host/styled-host";
|
|
3
4
|
var RENDER_STATES;
|
|
4
5
|
(function (RENDER_STATES) {
|
|
5
6
|
RENDER_STATES["LOADING"] = "loading";
|
|
@@ -38,24 +39,14 @@ export class BusinessDetailsCore {
|
|
|
38
39
|
}
|
|
39
40
|
render() {
|
|
40
41
|
if (this.renderState === RENDER_STATES.LOADING) {
|
|
41
|
-
return h(
|
|
42
|
+
return h(StyledHost, null, LoadingState());
|
|
42
43
|
}
|
|
43
44
|
if (this.renderState === RENDER_STATES.ERROR) {
|
|
44
|
-
return h(
|
|
45
|
+
return h(StyledHost, null, ErrorState(this.errorMessage));
|
|
45
46
|
}
|
|
46
|
-
return (h(
|
|
47
|
+
return (h(StyledHost, null, h("generic-info-details", { business: this.business }), h("legal-address-details", { legalAddress: this.business.legal_address }), h("representative-details", { representative: this.business.representative }), h("owner-details", { owners: this.business.owners }), h("additional-questions-details", { additionalQuestions: this.business.additional_questions })));
|
|
47
48
|
}
|
|
48
49
|
static get is() { return "business-details-core"; }
|
|
49
|
-
static get originalStyleUrls() {
|
|
50
|
-
return {
|
|
51
|
-
"$": ["business-details.scss"]
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
static get styleUrls() {
|
|
55
|
-
return {
|
|
56
|
-
"$": ["business-details.css"]
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
50
|
static get properties() {
|
|
60
51
|
return {
|
|
61
52
|
"getBusiness": {
|
package/dist/collection/components/business-details/generic-info-details/generic-info-details.js
CHANGED
|
@@ -12,15 +12,14 @@ export class GenericInfoDetails {
|
|
|
12
12
|
return (h(Host, null, h(DetailSectionTitle, { sectionTitle: "Business Generic Info Details" }), h("div", { class: "d-table gap-2 w-100" }, h("div", { class: "row gy-3" }, h("div", { class: "col-12 col-md-6" }, h(DetailItem, { title: "Legal Name", value: (_a = this.business) === null || _a === void 0 ? void 0 : _a.legal_name }), h(DetailItem, { title: "Doing Business As (DBA)", value: (_b = this.business) === null || _b === void 0 ? void 0 : _b.doing_business_as }), h(DetailItem, { title: "Business Classification", value: snakeCaseToHumanReadable((_c = this.business) === null || _c === void 0 ? void 0 : _c.classification) }), h(DetailItem, { title: "Industry", value: (_d = this.business) === null || _d === void 0 ? void 0 : _d.industry })), h("div", { class: "col-12 col-md-6" }, h(DetailItem, { title: "Tax ID", value: (_e = this.business) === null || _e === void 0 ? void 0 : _e.tax_id }), h(DetailItem, { title: "Website URL", value: (_f = this.business) === null || _f === void 0 ? void 0 : _f.website_url }), h(DetailItem, { title: "Email Address", value: (_g = this.business) === null || _g === void 0 ? void 0 : _g.email }), h(DetailItem, { title: "Phone Number", value: (_h = this.business) === null || _h === void 0 ? void 0 : _h.phone }))))));
|
|
13
13
|
}
|
|
14
14
|
static get is() { return "generic-info-details"; }
|
|
15
|
-
static get encapsulation() { return "shadow"; }
|
|
16
15
|
static get originalStyleUrls() {
|
|
17
16
|
return {
|
|
18
|
-
"$": ["
|
|
17
|
+
"$": ["../shared-business-details.css"]
|
|
19
18
|
};
|
|
20
19
|
}
|
|
21
20
|
static get styleUrls() {
|
|
22
21
|
return {
|
|
23
|
-
"$": ["
|
|
22
|
+
"$": ["../shared-business-details.css"]
|
|
24
23
|
};
|
|
25
24
|
}
|
|
26
25
|
static get properties() {
|
package/dist/collection/components/business-details/legal-address-details/legal-address-details.js
CHANGED
|
@@ -12,15 +12,14 @@ export class LegalAddressDetails {
|
|
|
12
12
|
return (h(Host, null, h(DetailSectionTitle, { sectionTitle: "Business Legal Address Details" }), h("div", { class: "d-table gap-2 w-100" }, h("div", { class: "row gy-3" }, h("div", { class: "col-12 col-md-6" }, h(DetailItem, { title: "Country", value: (_a = this.legalAddress) === null || _a === void 0 ? void 0 : _a.country }), h(DetailItem, { title: "Legal Address", value: (_b = this.legalAddress) === null || _b === void 0 ? void 0 : _b.line1 }), h(DetailItem, { title: "Address Line 2", value: (_c = this.legalAddress) === null || _c === void 0 ? void 0 : _c.line2 })), h("div", { class: "col-12 col-md-6" }, h(DetailItem, { title: "City", value: (_d = this.legalAddress) === null || _d === void 0 ? void 0 : _d.city }), h(DetailItem, { title: "State", value: (_e = this.legalAddress) === null || _e === void 0 ? void 0 : _e.state }), h(DetailItem, { title: "Postal Code", value: (_g = (_f = this.legalAddress) === null || _f === void 0 ? void 0 : _f.postal_code) === null || _g === void 0 ? void 0 : _g.toString() }))))));
|
|
13
13
|
}
|
|
14
14
|
static get is() { return "legal-address-details"; }
|
|
15
|
-
static get encapsulation() { return "shadow"; }
|
|
16
15
|
static get originalStyleUrls() {
|
|
17
16
|
return {
|
|
18
|
-
"$": ["
|
|
17
|
+
"$": ["../shared-business-details.css"]
|
|
19
18
|
};
|
|
20
19
|
}
|
|
21
20
|
static get styleUrls() {
|
|
22
21
|
return {
|
|
23
|
-
"$": ["
|
|
22
|
+
"$": ["../shared-business-details.css"]
|
|
24
23
|
};
|
|
25
24
|
}
|
|
26
25
|
static get properties() {
|
|
@@ -18,15 +18,14 @@ export class OwnerDetails {
|
|
|
18
18
|
}))));
|
|
19
19
|
}
|
|
20
20
|
static get is() { return "owner-details"; }
|
|
21
|
-
static get encapsulation() { return "shadow"; }
|
|
22
21
|
static get originalStyleUrls() {
|
|
23
22
|
return {
|
|
24
|
-
"$": ["
|
|
23
|
+
"$": ["../shared-business-details.css"]
|
|
25
24
|
};
|
|
26
25
|
}
|
|
27
26
|
static get styleUrls() {
|
|
28
27
|
return {
|
|
29
|
-
"$": ["
|
|
28
|
+
"$": ["../shared-business-details.css"]
|
|
30
29
|
};
|
|
31
30
|
}
|
|
32
31
|
static get properties() {
|
package/dist/collection/components/business-details/representative-details/representative-details.js
CHANGED
|
@@ -20,15 +20,14 @@ export class JustifiRepresentativeDetails {
|
|
|
20
20
|
return (h(Host, null, h(DetailSectionTitle, { sectionTitle: "Representative Details" }), h("div", { class: "d-table gap-2 w-100" }, h("div", { class: "row gy-3" }, h("div", { class: "col-12 col-md-6" }, h(DetailItem, { title: "Name", value: (_a = this.representative) === null || _a === void 0 ? void 0 : _a.name }), h(DetailItem, { title: "ID", value: (_b = this.representative) === null || _b === void 0 ? void 0 : _b.id }), h(DetailItem, { title: "Address", value: (_d = (_c = this.representative) === null || _c === void 0 ? void 0 : _c.address) === null || _d === void 0 ? void 0 : _d.line1 }), h(DetailItem, { title: "Created At", value: ((_e = this.representative) === null || _e === void 0 ? void 0 : _e.created_at) && formatMediumDate((_f = this.representative) === null || _f === void 0 ? void 0 : _f.created_at) })), h("div", { class: "col-12 col-md-6" }, h(DetailItem, { title: "Title", value: (_g = this.representative) === null || _g === void 0 ? void 0 : _g.title }), h(DetailItem, { title: "Is Owner?", value: (_h = this.representative) === null || _h === void 0 ? void 0 : _h.is_owner.toString() }), h(DetailItem, { title: "Date Of Birth", value: this.representative && formatMediumDate(new Date(Number((_j = this.representative) === null || _j === void 0 ? void 0 : _j.dob_year), Number((_k = this.representative) === null || _k === void 0 ? void 0 : _k.dob_month) - 1, Number((_l = this.representative) === null || _l === void 0 ? void 0 : _l.dob_day))) }), h(DetailItem, { title: "Email", value: (_m = this.representative) === null || _m === void 0 ? void 0 : _m.email }), h(DetailItem, { title: "Phone", value: (_o = this.representative) === null || _o === void 0 ? void 0 : _o.phone }), h(DetailItem, { title: "Updated At", value: this.representative && formatMediumDate((_p = this.representative) === null || _p === void 0 ? void 0 : _p.updated_at) }))))));
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "representative-details"; }
|
|
23
|
-
static get encapsulation() { return "shadow"; }
|
|
24
23
|
static get originalStyleUrls() {
|
|
25
24
|
return {
|
|
26
|
-
"$": ["
|
|
25
|
+
"$": ["../shared-business-details.css"]
|
|
27
26
|
};
|
|
28
27
|
}
|
|
29
28
|
static get styleUrls() {
|
|
30
29
|
return {
|
|
31
|
-
"$": ["
|
|
30
|
+
"$": ["../shared-business-details.css"]
|
|
32
31
|
};
|
|
33
32
|
}
|
|
34
33
|
static get properties() {
|
|
@@ -23,7 +23,7 @@ export class AdditionalQuestions {
|
|
|
23
23
|
render() {
|
|
24
24
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
25
25
|
const additionalQuestionsDefaultValue = this.formController.getInitialValues().additional_questions;
|
|
26
|
-
return (h(Host, { key: 'cd9fd951b9e84303a435ea6120c6af7f62771ea0', exportparts: "label,input,input-invalid" }, h("fieldset", { key: '67169db7aaeef558b7b42aa5bf8feb7249b252fc' }, h("legend", { key: '0e07b0796e7524e98a9a03d035a9ef1166a76da1' }, "Additional Questions"), h("hr", { key: 'f807a4735dbad35409d2dac134f2db2163c1b61d' }), h("div", { key: 'c22d89cc083087f017011d983b68ed305b70febf', class: "row gy-3" }, h("div", { key: 'f5053d99a1b9a01c2e5c639ce693c58b1a1fc2db', class: "col-12 col-md-6" }, h("form-control-monetary", { key: '
|
|
26
|
+
return (h(Host, { key: 'cd9fd951b9e84303a435ea6120c6af7f62771ea0', exportparts: "label,input,input-invalid" }, h("fieldset", { key: '67169db7aaeef558b7b42aa5bf8feb7249b252fc' }, h("legend", { key: '0e07b0796e7524e98a9a03d035a9ef1166a76da1' }, "Additional Questions"), h("hr", { key: 'f807a4735dbad35409d2dac134f2db2163c1b61d' }), h("div", { key: 'c22d89cc083087f017011d983b68ed305b70febf', class: "row gy-3" }, h("div", { key: 'f5053d99a1b9a01c2e5c639ce693c58b1a1fc2db', class: "col-12 col-md-6" }, h("form-control-monetary", { key: '34f1986f6c71ea767419b24cf6aaf4a98109b30a', name: "business_revenue", label: "What is the business' estimated annual revenue from its primary business activities?", inputHandler: this.inputHandler, errorText: (_b = (_a = this.errors) === null || _a === void 0 ? void 0 : _a.additional_questions) === null || _b === void 0 ? void 0 : _b.business_revenue, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_revenue, maskOptions: CURRENCY_MASK.WHOLE })), h("div", { key: 'c527d560cc82ea78df2b49560349b0dd06622c8e', class: "col-12 col-md-6" }, h("form-control-monetary", { key: 'b3fab39178309431f03f6e6f954fbd764c98e73c', name: "business_payment_volume", label: "What is the business' annual credit card & ACH volume anticipated to process?", inputHandler: this.inputHandler, errorText: (_d = (_c = this.errors) === null || _c === void 0 ? void 0 : _c.additional_questions) === null || _d === void 0 ? void 0 : _d.business_payment_volume, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_payment_volume, maskOptions: CURRENCY_MASK.WHOLE })), h("div", { key: '7bd162ba9c80f6ad943435a03cdf89f3486424e8', class: "col-12" }, h("form-control-select", { key: 'b9f4414df1e05852bee4988a517139dbf442308a', 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: (_f = (_e = this.errors) === null || _e === void 0 ? void 0 : _e.additional_questions) === null || _f === void 0 ? void 0 : _f.business_when_service_received, options: businessServiceReceivedOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_when_service_received })), h("div", { key: 'b3de6b94ead1b905e6fb37972351c220c676cb1b', class: "col-12" }, h("form-control-select", { key: '069d66fdbed25c1d69cfdb1f2931fcec6bbcf9cf', name: 'business_recurring_payments', label: 'Does your business offer recurring payments?', inputHandler: this.inputHandler, errorText: (_h = (_g = this.errors) === null || _g === void 0 ? void 0 : _g.additional_questions) === null || _h === void 0 ? void 0 : _h.business_recurring_payments, options: recurringPaymentsOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_recurring_payments })), h("div", { key: 'da00423ade550ebda7d7b5d8fa2d322c8536c87b', class: "col-12" }, h("form-control-text", { key: 'a52855e1506358bc2f0880a0a85dffa43b230722', name: 'business_recurring_payments_percentage', label: 'What percent of revenue is generated from each recurring payment type offered?', inputHandler: this.inputHandler, errorText: (_k = (_j = this.errors) === null || _j === void 0 ? void 0 : _j.additional_questions) === null || _k === void 0 ? void 0 : _k.business_recurring_payments_percentage, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_recurring_payments_percentage })), h("div", { key: 'd0605e153c29adb0edac15362e4e4703f8f586ba', class: "col-12" }, h("form-control-select", { key: 'bc502dbf3f40232eb9fb644afe679c4a5884866b', name: 'business_seasonal', label: 'Is this business seasonal?', inputHandler: this.inputHandler, errorText: (_m = (_l = this.errors) === null || _l === void 0 ? void 0 : _l.additional_questions) === null || _m === void 0 ? void 0 : _m.business_seasonal, options: seasonalBusinessOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_seasonal })), h("div", { key: '63dd09e3c8af15fe377248121912e313767e93b3', class: "col-12" }, h("form-control-text", { key: '9a20fd45a57e717496b97f4c94b5cf819dc6ff7a', 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: (_p = (_o = this.errors) === null || _o === void 0 ? void 0 : _o.additional_questions) === null || _p === void 0 ? void 0 : _p.business_other_payment_details, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_other_payment_details }))))));
|
|
27
27
|
}
|
|
28
28
|
static get is() { return "justifi-additional-questions"; }
|
|
29
29
|
static get properties() {
|