@justifi/webcomponents 4.17.0 → 4.19.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-80336968.js → Analytics-ff013cbc.js} +1 -1
- package/dist/cjs/{Payment-24f22eca.js → Payment-1a8a8ca6.js} +0 -21
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +13 -13
- package/dist/cjs/business-details-core.cjs.entry.js +6 -9
- package/dist/cjs/{business-form-types-11130bab.js → business-form-types-6e1fcda3.js} +4 -7
- package/dist/cjs/business.service-f63650f5.js +32 -0
- package/dist/cjs/button-3f400a66.js +26 -0
- package/dist/cjs/form-alert_5.cjs.entry.js +6 -6
- package/dist/cjs/{form-control-checkbox_5.cjs.entry.js → form-control-checkbox_9.cjs.entry.js} +437 -172
- package/dist/cjs/form-control-date_3.cjs.entry.js +15 -9
- package/dist/cjs/form-control-error-text_4.cjs.entry.js +3 -3
- 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-number.cjs.entry.js +2 -2
- package/dist/cjs/get-payout-csv-f3aee6d0.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/input-handlers-cff032bb.js +20 -0
- 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 +197 -482
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +4 -4
- package/dist/cjs/justifi-billing-form_2.cjs.entry.js +6 -5
- package/dist/cjs/justifi-business-details.cjs.entry.js +5 -5
- package/dist/cjs/justifi-business-form.cjs.entry.js +9 -8
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +30 -0
- package/dist/cjs/justifi-card-form.cjs.entry.js +4 -4
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +14 -9
- package/dist/cjs/justifi-checkout.cjs.entry.js +6 -6
- 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 +12 -9
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +268 -0
- package/dist/cjs/justifi-payment-details.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payment-form.cjs.entry.js +11 -11
- package/dist/cjs/justifi-payment-method-form.cjs.entry.js +5 -5
- package/dist/cjs/justifi-payment-method-selector.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +9 -8
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +9 -65
- package/dist/cjs/justifi-payments-list.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payout-details.cjs.entry.js +16 -11
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +16 -13
- package/dist/cjs/justifi-refund-form.cjs.entry.js +5 -4
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +14 -9
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +9 -4
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{package-7b63c02b.js → package-cb0f8cb1.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +25 -0
- package/dist/cjs/{payload-parsers-78445405.js → payload-parsers-1cbc3b57.js} +2 -0
- package/dist/cjs/payment-details-core.cjs.entry.js +11 -14
- package/dist/cjs/payment-provisioning-actions-06466dda.js +185 -0
- package/dist/cjs/{payment.service-35298e95.js → payment.service-0a64f9cd.js} +1 -1
- package/dist/cjs/payments-list-core.cjs.entry.js +73 -44
- package/dist/cjs/payout-details-core.cjs.entry.js +19 -8
- package/dist/cjs/payouts-list-core.cjs.entry.js +96 -59
- package/dist/cjs/skeleton-748c5dde.js +43 -0
- package/dist/cjs/styled-host-cc053016.js +14 -0
- package/dist/cjs/table-loading-state-8b406852.js +38 -0
- package/dist/cjs/{utils-80191fbe.js → utils-89d86e29.js} +0 -33
- package/dist/cjs/{utils-0c3168ef.js → utils-c1d2e426.js} +1 -1
- package/dist/cjs/{utils-742da2e3.js → utils-ddacfc44.js} +0 -5
- package/dist/cjs/webcomponents.cjs.js +2 -2
- package/dist/collection/api/Payment.js +0 -20
- package/dist/collection/api/services/business.service.js +18 -0
- 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 +9 -14
- package/dist/collection/components/bank-account-form/bank-account-form.js +1 -1
- package/dist/collection/components/billing-form/billing-form.css +2 -8162
- package/dist/collection/components/billing-form/billing-form.js +4 -3
- 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-core-info/business-core-info.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/business-form/business-representative/business-representative.js +1 -1
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +1 -1
- package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +520 -0
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +80 -0
- package/dist/collection/components/business-forms/owner-form/owner-form.js +55 -225
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +235 -0
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +41 -121
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +255 -0
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +42 -131
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +342 -0
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +34 -189
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +81 -0
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +229 -0
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +42 -133
- package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.js +23 -18
- package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-input-group.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-documents-on-file.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +238 -0
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +41 -124
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-actions.js +122 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +19 -8
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +6 -6
- 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-form-step.js +2 -2
- 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/utils/business-form-types.js +4 -7
- package/dist/collection/components/business-forms/utils/input-handlers.js +13 -0
- package/dist/collection/components/business-forms/utils/payload-parsers.js +2 -0
- package/dist/collection/components/card-form/card-form.js +1 -1
- package/dist/collection/components/checkout/checkout-core.css +3 -8147
- package/dist/collection/components/checkout/checkout-core.js +7 -7
- package/dist/collection/components/checkout/checkout.js +2 -2
- 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 +2 -2
- package/dist/collection/components/checkout/payment-method-options.css +1 -7088
- package/dist/collection/components/checkout/payment-method-options.js +4 -4
- package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
- package/dist/collection/components/checkout/saved-payment-method.js +2 -2
- package/dist/collection/components/checkout/sezzle-payment-method.js +2 -2
- 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 +11 -5
- 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 +0 -2
- 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 +6 -2
- package/dist/collection/components/pagination-menu/pagination-menu.js +3 -14
- 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 -7
- 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/payment-method-form/payment-method-form.js +2 -2
- package/dist/collection/components/payments-list/payments-list-core.js +70 -48
- 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 +111 -65
- package/dist/collection/components/payouts-list/payouts-list.js +14 -6
- 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/ui-components/button-spinner.js +2 -0
- package/dist/collection/ui-components/button.js +19 -0
- package/dist/collection/ui-components/index.js +7 -0
- package/dist/collection/ui-components/skeleton.js +39 -0
- package/dist/collection/ui-components/styled-host/styled-host.js +5 -0
- package/dist/collection/ui-components/table-empty-state.js +8 -0
- package/dist/collection/ui-components/table-error-state.js +8 -0
- package/dist/collection/ui-components/table-loading-state.js +8 -0
- package/dist/collection/utils/utils.js +0 -21
- package/dist/docs.json +2153 -1711
- package/dist/esm/{Analytics-c52faca6.js → Analytics-33b8fa8d.js} +1 -1
- package/dist/esm/{Payment-3e94da9c.js → Payment-6bf26fe2.js} +1 -21
- package/dist/esm/additional-questions-details_5.entry.js +13 -13
- package/dist/esm/business-details-core.entry.js +6 -9
- package/dist/esm/{business-form-types-60f50b98.js → business-form-types-1bc5fe08.js} +5 -8
- package/dist/esm/business.service-74bd1212.js +29 -0
- package/dist/esm/button-34e75e0f.js +24 -0
- package/dist/esm/form-alert_5.entry.js +6 -6
- package/dist/esm/{form-control-checkbox_5.entry.js → form-control-checkbox_9.entry.js} +434 -173
- package/dist/esm/form-control-date_3.entry.js +15 -9
- package/dist/esm/form-control-error-text_4.entry.js +3 -3
- 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-number.entry.js +2 -2
- package/dist/esm/get-payout-csv-b494abfe.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/input-handlers-270ac806.js +16 -0
- package/dist/esm/{insurance-state-09754ab9.js → insurance-state-8ce01e59.js} +1 -1
- package/dist/esm/justifi-additional-questions-form-step_10.entry.js +198 -483
- package/dist/esm/justifi-bank-account-form.entry.js +4 -4
- package/dist/esm/justifi-billing-form_2.entry.js +6 -5
- package/dist/esm/justifi-business-details.entry.js +5 -5
- package/dist/esm/justifi-business-form.entry.js +9 -8
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +26 -0
- package/dist/esm/justifi-card-form.entry.js +4 -4
- package/dist/esm/justifi-checkout-core.entry.js +14 -9
- package/dist/esm/justifi-checkout.entry.js +6 -6
- 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 +12 -9
- package/dist/esm/justifi-owner-form_3.entry.js +262 -0
- package/dist/esm/justifi-payment-details.entry.js +6 -6
- package/dist/esm/justifi-payment-form.entry.js +11 -11
- package/dist/esm/justifi-payment-method-form.entry.js +5 -5
- package/dist/esm/justifi-payment-method-selector.entry.js +4 -4
- package/dist/esm/justifi-payment-provisioning-core.entry.js +9 -8
- package/dist/esm/justifi-payment-provisioning.entry.js +8 -64
- package/dist/esm/justifi-payments-list.entry.js +6 -6
- package/dist/esm/justifi-payout-details.entry.js +15 -10
- package/dist/esm/justifi-payouts-list.entry.js +15 -12
- package/dist/esm/justifi-refund-form.entry.js +5 -4
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +14 -9
- package/dist/esm/justifi-season-interruption-insurance.entry.js +9 -4
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{package-8ab448a3.js → package-3e407c6d.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +21 -0
- package/dist/esm/{payload-parsers-57289fc4.js → payload-parsers-acb719d1.js} +2 -0
- package/dist/esm/payment-details-core.entry.js +11 -14
- package/dist/esm/payment-provisioning-actions-0635eff7.js +178 -0
- package/dist/esm/{payment.service-c62d82d3.js → payment.service-3ca4a492.js} +1 -1
- package/dist/esm/payments-list-core.entry.js +73 -44
- package/dist/esm/payout-details-core.entry.js +19 -8
- package/dist/esm/payouts-list-core.entry.js +96 -59
- package/dist/esm/skeleton-145a80d4.js +41 -0
- package/dist/esm/styled-host-ab9da520.js +12 -0
- package/dist/esm/table-loading-state-356c7215.js +34 -0
- package/dist/esm/{utils-1e583166.js → utils-01413a95.js} +2 -2
- package/dist/esm/{utils-c7b3f21a.js → utils-3bb6347a.js} +1 -5
- package/dist/esm/{utils-5f4c4faa.js → utils-3c1dd2fa.js} +1 -31
- package/dist/esm/webcomponents.js +3 -3
- package/dist/module/Payment.js +1 -21
- package/dist/module/additional-questions-details2.js +3 -4
- package/dist/module/additional-questions.js +1 -1
- package/dist/module/billing-form.js +6 -5
- package/dist/module/business-additional-questions-form-step-core.js +141 -0
- package/dist/module/business-additional-questions-form-step.js +55 -100
- package/dist/module/business-additional-questions-schema.js +1 -1
- package/dist/module/business-address-schema.js +1 -1
- package/dist/module/business-bank-account-form-step.js +4 -4
- package/dist/module/business-core-info-form-step-core.js +151 -0
- package/dist/module/business-core-info-form-step.js +57 -106
- package/dist/module/business-core-info-schema.js +1 -1
- package/dist/module/business-core-info.js +1 -1
- package/dist/module/business-details-core2.js +5 -8
- package/dist/module/business-document-upload-form-step.js +34 -35
- package/dist/module/business-document-upload-input-group.js +2 -2
- package/dist/module/business-documents-on-file.js +1 -1
- package/dist/module/business-form-types.js +5 -8
- package/dist/module/business-identity-schema.js +1 -1
- package/dist/module/business-owners-form-step-core.js +216 -0
- package/dist/module/business-owners-form-step.js +67 -154
- package/dist/module/business-representative-form-inputs.js +85 -0
- package/dist/module/business-representative-form-step-core.js +152 -0
- package/dist/module/business-representative-form-step.js +63 -111
- package/dist/module/business-representative.js +1 -1
- package/dist/module/business-terms-conditions-form-step.js +3 -3
- package/dist/module/business-terms-conditions-text.js +2 -2
- package/dist/module/business.service.js +19 -1
- package/dist/module/button.js +24 -0
- package/dist/module/checkout-core.js +34 -35
- package/dist/module/details.js +3 -6
- package/dist/module/exported-parts.js +40 -0
- 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 +11 -5
- 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/identity-address-form.js +2 -2
- package/dist/module/input-handlers.js +16 -0
- package/dist/module/justifi-additional-questions-form-step-core.d.ts +11 -0
- package/dist/module/justifi-additional-questions-form-step-core.js +6 -0
- package/dist/module/justifi-bank-account-form.js +1 -1
- package/dist/module/justifi-business-core-info-form-step-core.d.ts +11 -0
- package/dist/module/justifi-business-core-info-form-step-core.js +6 -0
- package/dist/module/justifi-business-details.js +1 -1
- package/dist/module/justifi-business-form.js +5 -4
- package/dist/module/justifi-business-owners-form-step-core.d.ts +11 -0
- package/dist/module/justifi-business-owners-form-step-core.js +6 -0
- package/dist/module/justifi-business-representative-form-inputs.d.ts +11 -0
- package/dist/module/justifi-business-representative-form-inputs.js +6 -0
- package/dist/module/justifi-business-representative-form-step-core.d.ts +11 -0
- package/dist/module/justifi-business-representative-form-step-core.js +6 -0
- package/dist/module/justifi-card-form.js +1 -1
- package/dist/module/justifi-checkout.js +27 -33
- package/dist/module/justifi-gross-payment-chart.js +1 -1
- package/dist/module/justifi-legal-address-form-step-core.d.ts +11 -0
- package/dist/module/justifi-legal-address-form-step-core.js +6 -0
- package/dist/module/justifi-payment-details.js +2 -2
- package/dist/module/justifi-payment-form.js +8 -8
- package/dist/module/justifi-payment-provisioning.js +98 -114
- package/dist/module/justifi-payments-list.js +17 -5
- package/dist/module/justifi-payout-details.js +12 -6
- package/dist/module/justifi-payouts-list.js +28 -11
- package/dist/module/justifi-refund-form.js +5 -4
- package/dist/module/justifi-season-interruption-insurance.js +7 -3
- package/dist/module/legal-address-details2.js +3 -4
- package/dist/module/legal-address-form-step-core.js +138 -0
- package/dist/module/legal-address-form-step.js +53 -98
- package/dist/module/legal-address-form.js +2 -2
- package/dist/module/new-payment-method.js +1 -1
- package/dist/module/owner-details2.js +3 -4
- package/dist/module/{justifi-table.d.ts → owner-form-core.d.ts} +4 -4
- package/dist/module/owner-form-core.js +6 -0
- package/dist/module/owner-form-core2.js +264 -0
- package/dist/module/{justifi-skeleton.d.ts → owner-form-inputs.d.ts} +4 -4
- package/dist/module/owner-form-inputs.js +6 -0
- package/dist/module/owner-form-inputs2.js +85 -0
- package/dist/module/owner-form.js +62 -188
- 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 +9 -12
- package/dist/module/payment-method-form.js +2 -2
- package/dist/module/payment-method-options.js +7 -4
- package/dist/module/payment-method-selector.js +3 -4
- package/dist/module/payment-provisioning-actions.js +178 -0
- package/dist/module/payment-provisioning-core.js +104 -60
- package/dist/module/payment-provisioning-form-buttons.js +2 -2
- package/dist/module/payment-provisioning-form-steps.js +94 -52
- package/dist/module/payments-list-core2.js +85 -45
- package/dist/module/payout-details-core2.js +18 -6
- package/dist/module/payouts-list-core2.js +110 -60
- package/dist/module/representative-details2.js +3 -4
- package/dist/module/save-new-payment-method.js +1 -1
- package/dist/module/saved-payment-method.js +1 -1
- package/dist/module/schema-validations.js +1 -1
- package/dist/module/season-interruption-insurance-core.js +12 -7
- package/dist/module/sezzle-payment-method.js +1 -1
- package/dist/module/skeleton.js +18 -50
- package/dist/module/styled-host.js +12 -0
- package/dist/module/utils2.js +1 -31
- package/dist/module/utils3.js +23 -26
- package/dist/module/utils4.js +23 -24
- package/dist/types/api/Payment.d.ts +0 -28
- package/dist/types/api/services/business.service.d.ts +10 -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-core.d.ts +43 -0
- package/dist/types/components/business-forms/owner-form/owner-form-inputs.d.ts +9 -0
- package/dist/types/components/business-forms/owner-form/owner-form.d.ts +9 -28
- package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.d.ts +26 -0
- package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.d.ts +5 -15
- package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +27 -0
- package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.d.ts +6 -21
- package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.d.ts +35 -0
- package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.d.ts +5 -21
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.d.ts +9 -0
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +25 -0
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.d.ts +5 -17
- package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +26 -0
- package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.d.ts +5 -15
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-actions.d.ts +40 -1
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-core.d.ts +2 -2
- package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +1 -1
- package/dist/types/components/business-forms/utils/business-form-types.d.ts +6 -11
- package/dist/types/components/business-forms/utils/input-handlers.d.ts +4 -0
- package/dist/types/components/checkout/checkout-core.d.ts +0 -1
- package/dist/types/components/form/utils.d.ts +0 -1
- package/dist/types/components/insurance/season-interruption/season-interruption-insurance.d.ts +3 -0
- package/dist/types/components/payments-list/payments-list-core.d.ts +13 -2
- 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 +13 -3
- package/dist/types/components/payouts-list/payouts-list.d.ts +5 -1
- package/dist/types/components.d.ts +337 -482
- package/dist/types/ui-components/button-spinner.d.ts +1 -0
- package/dist/types/ui-components/button.d.ts +10 -0
- package/dist/types/ui-components/index.d.ts +7 -0
- package/dist/types/ui-components/skeleton.d.ts +13 -0
- package/dist/types/ui-components/styled-host/styled-host.d.ts +2 -0
- package/dist/types/ui-components/table-empty-state.d.ts +6 -0
- package/dist/types/ui-components/table-error-state.d.ts +6 -0
- package/dist/types/ui-components/table-loading-state.d.ts +6 -0
- package/dist/types/utils/utils.d.ts +0 -3
- package/dist/webcomponents/p-07109641.entry.js +1 -0
- package/dist/webcomponents/p-08b0fb31.js +1 -0
- package/dist/webcomponents/p-0f7b9555.entry.js +1 -0
- package/dist/webcomponents/p-17e4246f.entry.js +1 -0
- package/dist/webcomponents/{p-6006e085.entry.js → p-195f92e9.entry.js} +1 -1
- package/dist/webcomponents/p-1a43e355.entry.js +19 -0
- package/dist/webcomponents/p-23014988.entry.js +1 -0
- package/dist/webcomponents/{p-f7b6dcc4.js → p-2338affa.js} +1 -1
- package/dist/webcomponents/p-25dba252.entry.js +1 -0
- package/dist/webcomponents/{p-5309e887.entry.js → p-27981600.entry.js} +1 -1
- package/dist/webcomponents/{p-e7915927.entry.js → p-301e0493.entry.js} +1 -1
- package/dist/webcomponents/p-304dd644.entry.js +1 -0
- package/dist/webcomponents/p-30a493cd.entry.js +1 -0
- package/dist/webcomponents/p-462dc522.entry.js +1 -0
- package/dist/webcomponents/p-487b72a8.entry.js +1 -0
- package/dist/webcomponents/p-4abc17f0.entry.js +1 -0
- package/dist/webcomponents/{p-b7d9d9fa.js → p-4b4580dd.js} +1 -1
- package/dist/webcomponents/p-52021fa1.entry.js +1 -0
- package/dist/webcomponents/p-53e64f15.entry.js +1 -0
- package/dist/webcomponents/p-5968ff8a.js +1 -0
- package/dist/webcomponents/p-60a370fc.entry.js +1 -0
- package/dist/webcomponents/p-623a4479.entry.js +1 -0
- package/dist/webcomponents/p-62b32c4c.entry.js +1 -0
- package/dist/webcomponents/{p-edb605b3.js → p-63acf322.js} +1 -1
- package/dist/webcomponents/p-6f03b35a.entry.js +1 -0
- package/dist/webcomponents/p-75b4daef.js +1 -0
- package/dist/webcomponents/p-7d85af5c.js +1 -0
- package/dist/webcomponents/{p-e8c651b8.js → p-83125497.js} +1 -1
- package/dist/webcomponents/p-85fc69e5.js +1 -0
- package/dist/webcomponents/p-8603348a.js +1 -0
- package/dist/webcomponents/{p-a34c28af.entry.js → p-8c1e981b.entry.js} +1 -1
- package/dist/webcomponents/p-8df7bde8.js +1 -0
- package/dist/webcomponents/{p-a90a6703.entry.js → p-8e541a32.entry.js} +1 -1
- package/dist/webcomponents/p-9279aa49.entry.js +1 -0
- package/dist/webcomponents/{p-95c18035.entry.js → p-96b42e7d.entry.js} +1 -1
- package/dist/webcomponents/{p-fcf42299.entry.js → p-99022846.entry.js} +1 -1
- package/dist/webcomponents/p-9c9c7dac.js +1 -0
- package/dist/webcomponents/p-b16dfd5d.entry.js +1 -0
- package/dist/webcomponents/p-ba4bae6f.js +1 -0
- package/dist/webcomponents/p-bbed6107.entry.js +1 -0
- package/dist/webcomponents/p-bc92235c.entry.js +1 -0
- package/dist/webcomponents/p-be39c802.entry.js +1 -0
- package/dist/webcomponents/p-c4b87db2.entry.js +1 -0
- package/dist/webcomponents/p-c9f8f7ec.entry.js +1 -0
- package/dist/webcomponents/{p-c2d6a5e2.entry.js → p-cd7105dd.entry.js} +1 -1
- package/dist/webcomponents/p-d101c5db.js +1 -0
- package/dist/webcomponents/{p-1c60004a.entry.js → p-d1fbeae5.entry.js} +1 -1
- package/dist/webcomponents/p-d8355f91.entry.js +1 -0
- package/dist/webcomponents/p-d89bad72.js +1 -0
- package/dist/webcomponents/{p-cb68e8fa.js → p-dce846bf.js} +1 -1
- package/dist/webcomponents/{p-e8706cc4.js → p-df21aaad.js} +1 -1
- package/dist/webcomponents/p-e2c88817.entry.js +1 -0
- package/dist/webcomponents/{p-9936c393.entry.js → p-e31f0f3e.entry.js} +1 -1
- package/dist/webcomponents/p-e333620e.js +1 -0
- package/dist/webcomponents/p-e7067ef2.entry.js +1 -0
- package/dist/webcomponents/{p-84b3cead.entry.js → p-f0866375.entry.js} +1 -1
- package/dist/webcomponents/p-fad19d75.js +2 -0
- package/dist/webcomponents/p-fb58feb5.entry.js +1 -0
- package/dist/webcomponents/p-fe33151d.entry.js +1 -0
- package/dist/webcomponents/webcomponents.css +6 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/SubAccount-135ff8c8.js +0 -107
- package/dist/cjs/business.service-9214509a.js +0 -13
- package/dist/cjs/justifi-business-list.cjs.entry.js +0 -113
- package/dist/cjs/justifi-payment-balance-transactions.cjs.entry.js +0 -89
- package/dist/cjs/justifi-proceeds-list.cjs.entry.js +0 -162
- package/dist/cjs/justifi-skeleton.cjs.entry.js +0 -54
- package/dist/cjs/justifi-subaccount-details.cjs.entry.js +0 -80
- package/dist/cjs/justifi-subaccounts-list.cjs.entry.js +0 -105
- package/dist/cjs/justifi-table_2.cjs.entry.js +0 -84
- package/dist/cjs/payout.service-eec372aa.js +0 -22
- package/dist/cjs/subaccount-account-details_4.cjs.entry.js +0 -74
- package/dist/cjs/subaccount-bank-details.cjs.entry.js +0 -23
- package/dist/cjs/subaccount-terms-details.cjs.entry.js +0 -23
- package/dist/collection/api/Proceed.js +0 -41
- package/dist/collection/api/SubAccount.js +0 -103
- 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-forms/payment-provisioning/payment-provisioning.css +0 -9211
- package/dist/collection/components/business-list/business-list.css +0 -579
- package/dist/collection/components/business-list/business-list.js +0 -194
- package/dist/collection/components/business-list/business-list.stories.js +0 -68
- package/dist/collection/components/business-list/example.js +0 -12
- 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-balance-transactions/payment-balance-transactions.js +0 -153
- package/dist/collection/components/payment-balance-transactions/payment-balance-transactions.stories.js +0 -32
- 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/example.js +0 -12
- package/dist/collection/components/proceeds-list/proceeds-list.css +0 -579
- package/dist/collection/components/proceeds-list/proceeds-list.js +0 -214
- package/dist/collection/components/proceeds-list/proceeds-list.stories.js +0 -69
- package/dist/collection/components/skeleton/skeleton.css +0 -583
- package/dist/collection/components/skeleton/skeleton.js +0 -160
- package/dist/collection/components/subaccount-details/subaccount-account-details/subaccount-account-details.css +0 -7352
- package/dist/collection/components/subaccount-details/subaccount-account-details/subaccount-account-details.js +0 -70
- package/dist/collection/components/subaccount-details/subaccount-bank-details/subaccount-bank-details.css +0 -7352
- package/dist/collection/components/subaccount-details/subaccount-bank-details/subaccount-bank-details.js +0 -48
- package/dist/collection/components/subaccount-details/subaccount-details.css +0 -7993
- package/dist/collection/components/subaccount-details/subaccount-details.js +0 -145
- package/dist/collection/components/subaccount-details/subaccount-details.stories.js +0 -25
- package/dist/collection/components/subaccount-details/subaccount-merchant-details/subaccount-merchant-details.css +0 -7352
- package/dist/collection/components/subaccount-details/subaccount-merchant-details/subaccount-merchant-details.js +0 -49
- package/dist/collection/components/subaccount-details/subaccount-owners-details/subaccount-owners-details.css +0 -7352
- package/dist/collection/components/subaccount-details/subaccount-owners-details/subaccount-owners-details.js +0 -49
- package/dist/collection/components/subaccount-details/subaccount-representative-details/subaccount-representative-details.css +0 -7352
- package/dist/collection/components/subaccount-details/subaccount-representative-details/subaccount-representative-details.js +0 -49
- package/dist/collection/components/subaccount-details/subaccount-terms-details/subaccount-terms-details.css +0 -7352
- package/dist/collection/components/subaccount-details/subaccount-terms-details/subaccount-terms-details.js +0 -48
- package/dist/collection/components/subaccounts-list/subaccounts-list.css +0 -3
- package/dist/collection/components/subaccounts-list/subaccounts-list.js +0 -179
- package/dist/collection/components/subaccounts-list/subaccounts-list.stories.js +0 -69
- package/dist/collection/components/table/table.css +0 -8092
- package/dist/collection/components/table/table.js +0 -223
- package/dist/collection/components/table/utils.js +0 -4
- package/dist/esm/SubAccount-7fcb1450.js +0 -105
- package/dist/esm/business.service-19a0c8d3.js +0 -11
- package/dist/esm/justifi-business-list.entry.js +0 -109
- package/dist/esm/justifi-payment-balance-transactions.entry.js +0 -85
- package/dist/esm/justifi-proceeds-list.entry.js +0 -158
- package/dist/esm/justifi-skeleton.entry.js +0 -50
- package/dist/esm/justifi-subaccount-details.entry.js +0 -76
- package/dist/esm/justifi-subaccounts-list.entry.js +0 -101
- package/dist/esm/justifi-table_2.entry.js +0 -79
- package/dist/esm/payout.service-28b9594f.js +0 -20
- package/dist/esm/subaccount-account-details_4.entry.js +0 -67
- package/dist/esm/subaccount-bank-details.entry.js +0 -19
- package/dist/esm/subaccount-terms-details.entry.js +0 -19
- package/dist/module/SubAccount.js +0 -105
- package/dist/module/justifi-business-list.d.ts +0 -11
- package/dist/module/justifi-business-list.js +0 -150
- package/dist/module/justifi-payment-balance-transactions.d.ts +0 -11
- package/dist/module/justifi-payment-balance-transactions.js +0 -127
- package/dist/module/justifi-proceeds-list.d.ts +0 -11
- package/dist/module/justifi-proceeds-list.js +0 -201
- package/dist/module/justifi-skeleton.js +0 -6
- package/dist/module/justifi-subaccount-details.d.ts +0 -11
- package/dist/module/justifi-subaccount-details.js +0 -136
- package/dist/module/justifi-subaccounts-list.d.ts +0 -11
- package/dist/module/justifi-subaccounts-list.js +0 -144
- package/dist/module/justifi-table.js +0 -6
- package/dist/module/payout.service.js +0 -20
- package/dist/module/subaccount-account-details.d.ts +0 -11
- package/dist/module/subaccount-account-details.js +0 -6
- package/dist/module/subaccount-account-details2.js +0 -39
- package/dist/module/subaccount-bank-details.d.ts +0 -11
- package/dist/module/subaccount-bank-details.js +0 -40
- package/dist/module/subaccount-merchant-details.d.ts +0 -11
- package/dist/module/subaccount-merchant-details.js +0 -6
- package/dist/module/subaccount-merchant-details2.js +0 -38
- package/dist/module/subaccount-owners-details.d.ts +0 -11
- package/dist/module/subaccount-owners-details.js +0 -6
- package/dist/module/subaccount-owners-details2.js +0 -38
- package/dist/module/subaccount-representative-details.d.ts +0 -11
- package/dist/module/subaccount-representative-details.js +0 -6
- package/dist/module/subaccount-representative-details2.js +0 -38
- package/dist/module/subaccount-terms-details.d.ts +0 -11
- package/dist/module/subaccount-terms-details.js +0 -40
- package/dist/module/table.js +0 -94
- package/dist/types/api/Proceed.d.ts +0 -60
- package/dist/types/api/SubAccount.d.ts +0 -163
- package/dist/types/components/business-list/business-list.d.ts +0 -48
- package/dist/types/components/business-list/business-list.stories.d.ts +0 -9
- package/dist/types/components/payment-balance-transactions/payment-balance-transactions.d.ts +0 -17
- package/dist/types/components/payment-balance-transactions/payment-balance-transactions.stories.d.ts +0 -8
- package/dist/types/components/proceeds-list/proceeds-list.d.ts +0 -39
- package/dist/types/components/proceeds-list/proceeds-list.stories.d.ts +0 -9
- package/dist/types/components/skeleton/skeleton.d.ts +0 -12
- package/dist/types/components/subaccount-details/subaccount-account-details/subaccount-account-details.d.ts +0 -6
- package/dist/types/components/subaccount-details/subaccount-bank-details/subaccount-bank-details.d.ts +0 -5
- package/dist/types/components/subaccount-details/subaccount-details.d.ts +0 -16
- package/dist/types/components/subaccount-details/subaccount-details.stories.d.ts +0 -7
- package/dist/types/components/subaccount-details/subaccount-merchant-details/subaccount-merchant-details.d.ts +0 -5
- package/dist/types/components/subaccount-details/subaccount-owners-details/subaccount-owners-details.d.ts +0 -5
- package/dist/types/components/subaccount-details/subaccount-representative-details/subaccount-representative-details.d.ts +0 -5
- package/dist/types/components/subaccount-details/subaccount-terms-details/subaccount-terms-details.d.ts +0 -5
- package/dist/types/components/subaccounts-list/subaccounts-list.d.ts +0 -19
- package/dist/types/components/subaccounts-list/subaccounts-list.stories.d.ts +0 -9
- package/dist/types/components/table/table.d.ts +0 -23
- package/dist/types/components/table/utils.d.ts +0 -3
- package/dist/webcomponents/p-00de4ae0.entry.js +0 -1
- package/dist/webcomponents/p-015ba24e.entry.js +0 -1
- package/dist/webcomponents/p-023fe908.entry.js +0 -1
- package/dist/webcomponents/p-0575daac.js +0 -1
- package/dist/webcomponents/p-0a09edbb.entry.js +0 -1
- package/dist/webcomponents/p-0fc18c89.entry.js +0 -1
- package/dist/webcomponents/p-100cb35c.entry.js +0 -1
- package/dist/webcomponents/p-189dee9f.entry.js +0 -1
- package/dist/webcomponents/p-30a7bebc.entry.js +0 -19
- package/dist/webcomponents/p-378bb067.entry.js +0 -1
- package/dist/webcomponents/p-404d7c56.entry.js +0 -1
- package/dist/webcomponents/p-43326623.entry.js +0 -1
- package/dist/webcomponents/p-4c5f9260.entry.js +0 -1
- package/dist/webcomponents/p-61e486ad.entry.js +0 -1
- package/dist/webcomponents/p-64d1aeb8.entry.js +0 -1
- package/dist/webcomponents/p-6700ac49.js +0 -1
- package/dist/webcomponents/p-68f3a7b0.entry.js +0 -1
- package/dist/webcomponents/p-738049aa.entry.js +0 -1
- package/dist/webcomponents/p-739f1e09.entry.js +0 -1
- package/dist/webcomponents/p-7f77d91f.entry.js +0 -1
- package/dist/webcomponents/p-8805d083.entry.js +0 -1
- package/dist/webcomponents/p-95c8c313.entry.js +0 -1
- package/dist/webcomponents/p-97220d5b.entry.js +0 -1
- package/dist/webcomponents/p-98985c7d.entry.js +0 -1
- package/dist/webcomponents/p-9d03464e.entry.js +0 -1
- package/dist/webcomponents/p-a63a6fb9.js +0 -2
- package/dist/webcomponents/p-a6477232.entry.js +0 -1
- package/dist/webcomponents/p-b1a24d24.entry.js +0 -1
- package/dist/webcomponents/p-b27d2ce1.entry.js +0 -1
- package/dist/webcomponents/p-b53d7b7f.js +0 -1
- package/dist/webcomponents/p-be049573.entry.js +0 -1
- package/dist/webcomponents/p-bfe69314.entry.js +0 -1
- package/dist/webcomponents/p-c4264aaf.js +0 -1
- package/dist/webcomponents/p-c69713c2.entry.js +0 -1
- package/dist/webcomponents/p-c8c08fe3.js +0 -1
- package/dist/webcomponents/p-ca39c89f.js +0 -1
- package/dist/webcomponents/p-d779f2f2.entry.js +0 -1
- package/dist/webcomponents/p-da313a7e.entry.js +0 -1
- package/dist/webcomponents/p-e04f7070.entry.js +0 -1
- package/dist/webcomponents/p-eb142b8a.entry.js +0 -1
- package/dist/webcomponents/p-ed844504.js +0 -1
- package/dist/webcomponents/p-efe744ce.entry.js +0 -1
- package/dist/webcomponents/p-f6858597.entry.js +0 -1
- package/dist/webcomponents/p-f68cf935.entry.js +0 -1
- package/dist/module/{index.esm.js → form.js} +2733 -2733
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import { a as ComponentErrorSeverity } from './ComponentError.js';
|
|
2
|
+
import { g as getErrorMessage, a as getErrorCode } from './utils3.js';
|
|
3
|
+
|
|
4
|
+
// Entity API Actions
|
|
5
|
+
const makeGetBusiness = ({ authToken, businessId, service }) => async ({ onSuccess, onError, final = () => { } }) => {
|
|
6
|
+
var _a;
|
|
7
|
+
try {
|
|
8
|
+
const response = await service.fetchBusiness(businessId, authToken);
|
|
9
|
+
if (!response.error) {
|
|
10
|
+
onSuccess(response);
|
|
11
|
+
}
|
|
12
|
+
else {
|
|
13
|
+
const responseError = getErrorMessage(response.error);
|
|
14
|
+
const code = getErrorCode((_a = response.error) === null || _a === void 0 ? void 0 : _a.code);
|
|
15
|
+
return onError({
|
|
16
|
+
error: responseError,
|
|
17
|
+
code,
|
|
18
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
catch (error) {
|
|
23
|
+
const code = getErrorCode(error === null || error === void 0 ? void 0 : error.code);
|
|
24
|
+
return onError({
|
|
25
|
+
error: error.message || error,
|
|
26
|
+
code,
|
|
27
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
finally {
|
|
31
|
+
return final();
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
const makePatchBusiness = ({ authToken, businessId, service }) => async ({ payload, onSuccess, onError, final = () => { } }) => {
|
|
35
|
+
var _a;
|
|
36
|
+
try {
|
|
37
|
+
const response = await service.patchBusiness(authToken, businessId, payload);
|
|
38
|
+
if (!response.error) {
|
|
39
|
+
onSuccess(response);
|
|
40
|
+
}
|
|
41
|
+
else {
|
|
42
|
+
const responseError = getErrorMessage(response.error);
|
|
43
|
+
const code = getErrorCode((_a = response.error) === null || _a === void 0 ? void 0 : _a.code);
|
|
44
|
+
return onError({
|
|
45
|
+
error: responseError,
|
|
46
|
+
code,
|
|
47
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
catch (error) {
|
|
52
|
+
const code = getErrorCode(error === null || error === void 0 ? void 0 : error.code);
|
|
53
|
+
return onError({
|
|
54
|
+
error: error.message || error,
|
|
55
|
+
code,
|
|
56
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
finally {
|
|
60
|
+
return final();
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
const makePostProvisioning = ({ authToken, businessId, product, service }) => async ({ onSuccess, onError }) => {
|
|
64
|
+
var _a;
|
|
65
|
+
try {
|
|
66
|
+
const response = await service.postProvisioning(authToken, businessId, product);
|
|
67
|
+
if (!response.error) {
|
|
68
|
+
onSuccess(response);
|
|
69
|
+
}
|
|
70
|
+
else {
|
|
71
|
+
const responseError = getErrorMessage(response.error);
|
|
72
|
+
const code = getErrorCode((_a = response.error) === null || _a === void 0 ? void 0 : _a.code);
|
|
73
|
+
return onError({
|
|
74
|
+
error: responseError,
|
|
75
|
+
code,
|
|
76
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
catch (error) {
|
|
81
|
+
const code = getErrorCode(error === null || error === void 0 ? void 0 : error.code);
|
|
82
|
+
return onError({
|
|
83
|
+
error: error.message || error,
|
|
84
|
+
code,
|
|
85
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
};
|
|
89
|
+
// Identity API Actions
|
|
90
|
+
const makeGetIdentity = ({ authToken, identityId, service }) => async ({ onSuccess, onError, final = () => { } }) => {
|
|
91
|
+
var _a;
|
|
92
|
+
try {
|
|
93
|
+
const response = await service.fetchIdentity(identityId, authToken);
|
|
94
|
+
if (!response.error) {
|
|
95
|
+
onSuccess(response);
|
|
96
|
+
}
|
|
97
|
+
else {
|
|
98
|
+
const responseError = getErrorMessage(response.error);
|
|
99
|
+
const code = getErrorCode((_a = response.error) === null || _a === void 0 ? void 0 : _a.code);
|
|
100
|
+
return onError({
|
|
101
|
+
error: responseError,
|
|
102
|
+
code,
|
|
103
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
catch (error) {
|
|
108
|
+
const code = getErrorCode(error === null || error === void 0 ? void 0 : error.code);
|
|
109
|
+
return onError({
|
|
110
|
+
error: error.message || error,
|
|
111
|
+
code,
|
|
112
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
finally {
|
|
116
|
+
return final();
|
|
117
|
+
}
|
|
118
|
+
};
|
|
119
|
+
const makePatchIdentity = ({ authToken, identityId, service }) => async ({ payload, onSuccess, onError, final = () => { } }) => {
|
|
120
|
+
var _a;
|
|
121
|
+
try {
|
|
122
|
+
const response = await service.patchIdentity(authToken, identityId, payload);
|
|
123
|
+
if (!response.error) {
|
|
124
|
+
onSuccess(response);
|
|
125
|
+
}
|
|
126
|
+
else {
|
|
127
|
+
const responseError = getErrorMessage(response.error);
|
|
128
|
+
const code = getErrorCode((_a = response.error) === null || _a === void 0 ? void 0 : _a.code);
|
|
129
|
+
return onError({
|
|
130
|
+
error: responseError,
|
|
131
|
+
code,
|
|
132
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
catch (error) {
|
|
137
|
+
const code = getErrorCode(error === null || error === void 0 ? void 0 : error.code);
|
|
138
|
+
return onError({
|
|
139
|
+
error: error.message || error,
|
|
140
|
+
code,
|
|
141
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
142
|
+
});
|
|
143
|
+
}
|
|
144
|
+
finally {
|
|
145
|
+
return final();
|
|
146
|
+
}
|
|
147
|
+
};
|
|
148
|
+
const makePostIdentity = ({ authToken, service }) => async ({ payload, onSuccess, onError, final = () => { } }) => {
|
|
149
|
+
var _a;
|
|
150
|
+
try {
|
|
151
|
+
const response = await service.postIdentity(authToken, payload);
|
|
152
|
+
if (!response.error) {
|
|
153
|
+
onSuccess(response);
|
|
154
|
+
}
|
|
155
|
+
else {
|
|
156
|
+
const responseError = getErrorMessage(response.error);
|
|
157
|
+
const code = getErrorCode((_a = response.error) === null || _a === void 0 ? void 0 : _a.code);
|
|
158
|
+
return onError({
|
|
159
|
+
error: responseError,
|
|
160
|
+
code,
|
|
161
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
catch (error) {
|
|
166
|
+
const code = getErrorCode(error === null || error === void 0 ? void 0 : error.code);
|
|
167
|
+
return onError({
|
|
168
|
+
error: error.message || error,
|
|
169
|
+
code,
|
|
170
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
171
|
+
});
|
|
172
|
+
}
|
|
173
|
+
finally {
|
|
174
|
+
return final();
|
|
175
|
+
}
|
|
176
|
+
};
|
|
177
|
+
|
|
178
|
+
export { makePatchBusiness as a, makeGetIdentity as b, makePatchIdentity as c, makePostIdentity as d, makePostProvisioning as e, makeGetBusiness as m };
|
|
@@ -1,37 +1,46 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, createEvent, h
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { b as BusinessFormClickActions } from './business-form-types.js';
|
|
3
3
|
import { C as ComponentErrorCodes, a as ComponentErrorSeverity } from './ComponentError.js';
|
|
4
4
|
import { a as checkProvisioningStatus } from './helpers.js';
|
|
5
|
-
import {
|
|
6
|
-
import { d as defineCustomElement$
|
|
7
|
-
import { d as defineCustomElement$
|
|
8
|
-
import { d as defineCustomElement$
|
|
9
|
-
import { d as defineCustomElement$
|
|
10
|
-
import { d as defineCustomElement$
|
|
11
|
-
import { d as defineCustomElement$
|
|
12
|
-
import { d as defineCustomElement$
|
|
13
|
-
import { d as defineCustomElement$
|
|
14
|
-
import { d as defineCustomElement$
|
|
15
|
-
import { d as defineCustomElement$
|
|
16
|
-
import { d as defineCustomElement$
|
|
17
|
-
import { d as defineCustomElement$
|
|
18
|
-
import { d as defineCustomElement$
|
|
19
|
-
import { d as defineCustomElement$
|
|
20
|
-
import { d as defineCustomElement$
|
|
21
|
-
import { d as defineCustomElement$
|
|
22
|
-
import { d as defineCustomElement$
|
|
23
|
-
import { d as defineCustomElement$
|
|
24
|
-
import { d as defineCustomElement$
|
|
25
|
-
import { d as defineCustomElement$
|
|
26
|
-
import { d as defineCustomElement$
|
|
27
|
-
import { d as defineCustomElement$
|
|
28
|
-
import { d as defineCustomElement$
|
|
29
|
-
import { d as defineCustomElement$
|
|
5
|
+
import { S as StyledHost } from './styled-host.js';
|
|
6
|
+
import { d as defineCustomElement$w } from './form-control-checkbox2.js';
|
|
7
|
+
import { d as defineCustomElement$v } from './form-control-date2.js';
|
|
8
|
+
import { d as defineCustomElement$u } from './form-control-error-text2.js';
|
|
9
|
+
import { d as defineCustomElement$t } from './form-control-file2.js';
|
|
10
|
+
import { d as defineCustomElement$s } from './form-control-help-text2.js';
|
|
11
|
+
import { d as defineCustomElement$r } from './form-control-monetary2.js';
|
|
12
|
+
import { d as defineCustomElement$q } from './form-control-number-masked2.js';
|
|
13
|
+
import { d as defineCustomElement$p } from './form-control-select2.js';
|
|
14
|
+
import { d as defineCustomElement$o } from './form-control-text2.js';
|
|
15
|
+
import { d as defineCustomElement$n } from './business-additional-questions-form-step.js';
|
|
16
|
+
import { d as defineCustomElement$m } from './business-additional-questions-form-step-core.js';
|
|
17
|
+
import { d as defineCustomElement$l } from './business-bank-account-form-step.js';
|
|
18
|
+
import { d as defineCustomElement$k } from './business-core-info-form-step.js';
|
|
19
|
+
import { d as defineCustomElement$j } from './business-core-info-form-step-core.js';
|
|
20
|
+
import { d as defineCustomElement$i } from './business-document-upload-form-step.js';
|
|
21
|
+
import { d as defineCustomElement$h } from './business-document-upload-input-group.js';
|
|
22
|
+
import { d as defineCustomElement$g } from './business-documents-on-file.js';
|
|
23
|
+
import { d as defineCustomElement$f } from './business-owners-form-step.js';
|
|
24
|
+
import { d as defineCustomElement$e } from './business-owners-form-step-core.js';
|
|
25
|
+
import { d as defineCustomElement$d } from './business-representative-form-inputs.js';
|
|
26
|
+
import { d as defineCustomElement$c } from './business-representative-form-step.js';
|
|
27
|
+
import { d as defineCustomElement$b } from './business-representative-form-step-core.js';
|
|
28
|
+
import { d as defineCustomElement$a } from './business-terms-conditions-form-step.js';
|
|
29
|
+
import { d as defineCustomElement$9 } from './business-terms-conditions-text.js';
|
|
30
|
+
import { d as defineCustomElement$8 } from './identity-address-form.js';
|
|
31
|
+
import { d as defineCustomElement$7 } from './legal-address-form-step.js';
|
|
32
|
+
import { d as defineCustomElement$6 } from './legal-address-form-step-core.js';
|
|
33
|
+
import { d as defineCustomElement$5 } from './owner-form.js';
|
|
34
|
+
import { d as defineCustomElement$4 } from './payment-provisioning-form-buttons.js';
|
|
35
|
+
import { d as defineCustomElement$3 } from './payment-provisioning-form-steps.js';
|
|
36
|
+
import { d as defineCustomElement$2 } from './owner-form-core2.js';
|
|
37
|
+
import { d as defineCustomElement$1 } from './owner-form-inputs2.js';
|
|
30
38
|
|
|
31
39
|
const PaymentProvisioningCore = /*@__PURE__*/ proxyCustomElement(class PaymentProvisioningCore extends HTMLElement {
|
|
32
40
|
constructor() {
|
|
33
41
|
super();
|
|
34
42
|
this.__registerHost();
|
|
43
|
+
this.__attachShadow();
|
|
35
44
|
this.clickEvent = createEvent(this, "click-event", 7);
|
|
36
45
|
this.errorEvent = createEvent(this, "error-event", 7);
|
|
37
46
|
this.submitted = createEvent(this, "submitted", 7);
|
|
@@ -72,9 +81,6 @@ const PaymentProvisioningCore = /*@__PURE__*/ proxyCustomElement(class PaymentPr
|
|
|
72
81
|
});
|
|
73
82
|
};
|
|
74
83
|
this.refs = [];
|
|
75
|
-
this.handleFormLoading = (e) => {
|
|
76
|
-
this.formLoading = e.detail;
|
|
77
|
-
};
|
|
78
84
|
this.incrementSteps = () => {
|
|
79
85
|
if (this.currentStep < this.totalSteps) {
|
|
80
86
|
return this.currentStep++;
|
|
@@ -91,7 +97,7 @@ const PaymentProvisioningCore = /*@__PURE__*/ proxyCustomElement(class PaymentPr
|
|
|
91
97
|
const currentStep = this.refs[this.currentStep];
|
|
92
98
|
currentStep.validateAndSubmit({ onSuccess: this.incrementSteps });
|
|
93
99
|
};
|
|
94
|
-
this.
|
|
100
|
+
this.loading = false;
|
|
95
101
|
this.businessProvisioned = false;
|
|
96
102
|
this.currentStep = 0;
|
|
97
103
|
this.errorMessage = undefined;
|
|
@@ -110,7 +116,7 @@ const PaymentProvisioningCore = /*@__PURE__*/ proxyCustomElement(class PaymentPr
|
|
|
110
116
|
return `entities/business/${this.businessId}`;
|
|
111
117
|
}
|
|
112
118
|
get formDisabled() {
|
|
113
|
-
return this.
|
|
119
|
+
return this.loading || this.businessProvisioned;
|
|
114
120
|
}
|
|
115
121
|
get totalSteps() {
|
|
116
122
|
return this.refs.length - 1;
|
|
@@ -118,26 +124,29 @@ const PaymentProvisioningCore = /*@__PURE__*/ proxyCustomElement(class PaymentPr
|
|
|
118
124
|
get stepCounter() {
|
|
119
125
|
return `${this.currentStep + 1} of ${this.totalSteps + 1}`;
|
|
120
126
|
}
|
|
127
|
+
handleFormLoading(event) {
|
|
128
|
+
this.loading = event.detail;
|
|
129
|
+
}
|
|
121
130
|
render() {
|
|
122
|
-
return (h(
|
|
131
|
+
return (h(StyledHost, { key: '80f2730a6a4e273391888b086c3633a3dec012b8', exportparts: 'label,input,input-invalid' }, h("div", { key: 'b4e7be2fed14b404ee7bcbe42c3c1c54bb78fdb6', class: 'row gap-3' }, h("h1", { key: 'f477beb7934a94a74dfc6b8a9c18cc54a720f70e' }, this.formTitle), h("justifi-payment-provisioning-form-steps", { key: 'e74aa3a01cfe7550f4917d28ccda1aca211d9394', businessId: this.businessId, authToken: this.authToken, refs: this.refs, currentStep: this.currentStep, allowOptionalFields: this.allowOptionalFields, handleFormLoading: this.handleFormLoading, onFormCompleted: () => this.postProvisioningData() }), h("div", { key: '26a585ec4b6b677cb01ac17696269168887f4c76', class: 'd-flex justify-content-between align-items-center' }, h("div", { key: 'ca5ddc176f8c2eb3315620076b401e47f45039bd', class: 'd-flex align-items-center' }, this.stepCounter), h("justifi-payment-provisioning-form-buttons", { key: '8299387bf859b33c829d29d66947c3c053ffa53c', currentStep: this.currentStep, totalSteps: this.totalSteps, formLoading: this.loading, formDisabled: this.formDisabled, previousStepButtonOnClick: this.previousStepButtonOnClick, nextStepButtonOnClick: this.nextStepButtonOnClick })))));
|
|
123
132
|
}
|
|
124
|
-
}, [
|
|
133
|
+
}, [1, "justifi-payment-provisioning-core", {
|
|
125
134
|
"businessId": [1, "business-id"],
|
|
126
135
|
"authToken": [1, "auth-token"],
|
|
127
136
|
"allowOptionalFields": [4, "allow-optional-fields"],
|
|
128
137
|
"formTitle": [1, "form-title"],
|
|
129
138
|
"getBusiness": [16],
|
|
130
139
|
"postProvisioning": [16],
|
|
131
|
-
"
|
|
140
|
+
"loading": [32],
|
|
132
141
|
"businessProvisioned": [32],
|
|
133
142
|
"currentStep": [32],
|
|
134
143
|
"errorMessage": [32]
|
|
135
|
-
}]);
|
|
144
|
+
}, [[0, "formLoading", "handleFormLoading"]]]);
|
|
136
145
|
function defineCustomElement() {
|
|
137
146
|
if (typeof customElements === "undefined") {
|
|
138
147
|
return;
|
|
139
148
|
}
|
|
140
|
-
const components = ["justifi-payment-provisioning-core", "form-control-checkbox", "form-control-date", "form-control-error-text", "form-control-file", "form-control-help-text", "form-control-monetary", "form-control-number-masked", "form-control-select", "form-control-text", "justifi-additional-questions-form-step", "justifi-business-bank-account-form-step", "justifi-business-core-info-form-step", "justifi-business-document-upload-form-step", "justifi-business-document-upload-input-group", "justifi-business-documents-on-file", "justifi-business-owners-form-step", "justifi-business-representative-form-step", "justifi-business-terms-conditions-form-step", "justifi-business-terms-conditions-text", "justifi-identity-address-form", "justifi-legal-address-form-step", "justifi-owner-form", "justifi-payment-provisioning-form-buttons", "justifi-payment-provisioning-form-steps", "
|
|
149
|
+
const components = ["justifi-payment-provisioning-core", "form-control-checkbox", "form-control-date", "form-control-error-text", "form-control-file", "form-control-help-text", "form-control-monetary", "form-control-number-masked", "form-control-select", "form-control-text", "justifi-additional-questions-form-step", "justifi-additional-questions-form-step-core", "justifi-business-bank-account-form-step", "justifi-business-core-info-form-step", "justifi-business-core-info-form-step-core", "justifi-business-document-upload-form-step", "justifi-business-document-upload-input-group", "justifi-business-documents-on-file", "justifi-business-owners-form-step", "justifi-business-owners-form-step-core", "justifi-business-representative-form-inputs", "justifi-business-representative-form-step", "justifi-business-representative-form-step-core", "justifi-business-terms-conditions-form-step", "justifi-business-terms-conditions-text", "justifi-identity-address-form", "justifi-legal-address-form-step", "justifi-legal-address-form-step-core", "justifi-owner-form", "justifi-payment-provisioning-form-buttons", "justifi-payment-provisioning-form-steps", "owner-form-core", "owner-form-inputs"];
|
|
141
150
|
components.forEach(tagName => { switch (tagName) {
|
|
142
151
|
case "justifi-payment-provisioning-core":
|
|
143
152
|
if (!customElements.get(tagName)) {
|
|
@@ -146,125 +155,160 @@ function defineCustomElement() {
|
|
|
146
155
|
break;
|
|
147
156
|
case "form-control-checkbox":
|
|
148
157
|
if (!customElements.get(tagName)) {
|
|
149
|
-
defineCustomElement$
|
|
158
|
+
defineCustomElement$w();
|
|
150
159
|
}
|
|
151
160
|
break;
|
|
152
161
|
case "form-control-date":
|
|
153
162
|
if (!customElements.get(tagName)) {
|
|
154
|
-
defineCustomElement$
|
|
163
|
+
defineCustomElement$v();
|
|
155
164
|
}
|
|
156
165
|
break;
|
|
157
166
|
case "form-control-error-text":
|
|
158
167
|
if (!customElements.get(tagName)) {
|
|
159
|
-
defineCustomElement$
|
|
168
|
+
defineCustomElement$u();
|
|
160
169
|
}
|
|
161
170
|
break;
|
|
162
171
|
case "form-control-file":
|
|
163
172
|
if (!customElements.get(tagName)) {
|
|
164
|
-
defineCustomElement$
|
|
173
|
+
defineCustomElement$t();
|
|
165
174
|
}
|
|
166
175
|
break;
|
|
167
176
|
case "form-control-help-text":
|
|
168
177
|
if (!customElements.get(tagName)) {
|
|
169
|
-
defineCustomElement$
|
|
178
|
+
defineCustomElement$s();
|
|
170
179
|
}
|
|
171
180
|
break;
|
|
172
181
|
case "form-control-monetary":
|
|
173
182
|
if (!customElements.get(tagName)) {
|
|
174
|
-
defineCustomElement$
|
|
183
|
+
defineCustomElement$r();
|
|
175
184
|
}
|
|
176
185
|
break;
|
|
177
186
|
case "form-control-number-masked":
|
|
178
187
|
if (!customElements.get(tagName)) {
|
|
179
|
-
defineCustomElement$
|
|
188
|
+
defineCustomElement$q();
|
|
180
189
|
}
|
|
181
190
|
break;
|
|
182
191
|
case "form-control-select":
|
|
183
192
|
if (!customElements.get(tagName)) {
|
|
184
|
-
defineCustomElement$
|
|
193
|
+
defineCustomElement$p();
|
|
185
194
|
}
|
|
186
195
|
break;
|
|
187
196
|
case "form-control-text":
|
|
188
197
|
if (!customElements.get(tagName)) {
|
|
189
|
-
defineCustomElement$
|
|
198
|
+
defineCustomElement$o();
|
|
190
199
|
}
|
|
191
200
|
break;
|
|
192
201
|
case "justifi-additional-questions-form-step":
|
|
193
202
|
if (!customElements.get(tagName)) {
|
|
194
|
-
defineCustomElement$
|
|
203
|
+
defineCustomElement$n();
|
|
204
|
+
}
|
|
205
|
+
break;
|
|
206
|
+
case "justifi-additional-questions-form-step-core":
|
|
207
|
+
if (!customElements.get(tagName)) {
|
|
208
|
+
defineCustomElement$m();
|
|
195
209
|
}
|
|
196
210
|
break;
|
|
197
211
|
case "justifi-business-bank-account-form-step":
|
|
198
212
|
if (!customElements.get(tagName)) {
|
|
199
|
-
defineCustomElement$
|
|
213
|
+
defineCustomElement$l();
|
|
200
214
|
}
|
|
201
215
|
break;
|
|
202
216
|
case "justifi-business-core-info-form-step":
|
|
203
217
|
if (!customElements.get(tagName)) {
|
|
204
|
-
defineCustomElement$
|
|
218
|
+
defineCustomElement$k();
|
|
219
|
+
}
|
|
220
|
+
break;
|
|
221
|
+
case "justifi-business-core-info-form-step-core":
|
|
222
|
+
if (!customElements.get(tagName)) {
|
|
223
|
+
defineCustomElement$j();
|
|
205
224
|
}
|
|
206
225
|
break;
|
|
207
226
|
case "justifi-business-document-upload-form-step":
|
|
208
227
|
if (!customElements.get(tagName)) {
|
|
209
|
-
defineCustomElement$
|
|
228
|
+
defineCustomElement$i();
|
|
210
229
|
}
|
|
211
230
|
break;
|
|
212
231
|
case "justifi-business-document-upload-input-group":
|
|
213
232
|
if (!customElements.get(tagName)) {
|
|
214
|
-
defineCustomElement$
|
|
233
|
+
defineCustomElement$h();
|
|
215
234
|
}
|
|
216
235
|
break;
|
|
217
236
|
case "justifi-business-documents-on-file":
|
|
218
237
|
if (!customElements.get(tagName)) {
|
|
219
|
-
defineCustomElement$
|
|
238
|
+
defineCustomElement$g();
|
|
220
239
|
}
|
|
221
240
|
break;
|
|
222
241
|
case "justifi-business-owners-form-step":
|
|
223
242
|
if (!customElements.get(tagName)) {
|
|
224
|
-
defineCustomElement$
|
|
243
|
+
defineCustomElement$f();
|
|
244
|
+
}
|
|
245
|
+
break;
|
|
246
|
+
case "justifi-business-owners-form-step-core":
|
|
247
|
+
if (!customElements.get(tagName)) {
|
|
248
|
+
defineCustomElement$e();
|
|
249
|
+
}
|
|
250
|
+
break;
|
|
251
|
+
case "justifi-business-representative-form-inputs":
|
|
252
|
+
if (!customElements.get(tagName)) {
|
|
253
|
+
defineCustomElement$d();
|
|
225
254
|
}
|
|
226
255
|
break;
|
|
227
256
|
case "justifi-business-representative-form-step":
|
|
228
257
|
if (!customElements.get(tagName)) {
|
|
229
|
-
defineCustomElement$
|
|
258
|
+
defineCustomElement$c();
|
|
259
|
+
}
|
|
260
|
+
break;
|
|
261
|
+
case "justifi-business-representative-form-step-core":
|
|
262
|
+
if (!customElements.get(tagName)) {
|
|
263
|
+
defineCustomElement$b();
|
|
230
264
|
}
|
|
231
265
|
break;
|
|
232
266
|
case "justifi-business-terms-conditions-form-step":
|
|
233
267
|
if (!customElements.get(tagName)) {
|
|
234
|
-
defineCustomElement$
|
|
268
|
+
defineCustomElement$a();
|
|
235
269
|
}
|
|
236
270
|
break;
|
|
237
271
|
case "justifi-business-terms-conditions-text":
|
|
238
272
|
if (!customElements.get(tagName)) {
|
|
239
|
-
defineCustomElement$
|
|
273
|
+
defineCustomElement$9();
|
|
240
274
|
}
|
|
241
275
|
break;
|
|
242
276
|
case "justifi-identity-address-form":
|
|
243
277
|
if (!customElements.get(tagName)) {
|
|
244
|
-
defineCustomElement$
|
|
278
|
+
defineCustomElement$8();
|
|
245
279
|
}
|
|
246
280
|
break;
|
|
247
281
|
case "justifi-legal-address-form-step":
|
|
248
282
|
if (!customElements.get(tagName)) {
|
|
249
|
-
defineCustomElement$
|
|
283
|
+
defineCustomElement$7();
|
|
284
|
+
}
|
|
285
|
+
break;
|
|
286
|
+
case "justifi-legal-address-form-step-core":
|
|
287
|
+
if (!customElements.get(tagName)) {
|
|
288
|
+
defineCustomElement$6();
|
|
250
289
|
}
|
|
251
290
|
break;
|
|
252
291
|
case "justifi-owner-form":
|
|
253
292
|
if (!customElements.get(tagName)) {
|
|
254
|
-
defineCustomElement$
|
|
293
|
+
defineCustomElement$5();
|
|
255
294
|
}
|
|
256
295
|
break;
|
|
257
296
|
case "justifi-payment-provisioning-form-buttons":
|
|
258
297
|
if (!customElements.get(tagName)) {
|
|
259
|
-
defineCustomElement$
|
|
298
|
+
defineCustomElement$4();
|
|
260
299
|
}
|
|
261
300
|
break;
|
|
262
301
|
case "justifi-payment-provisioning-form-steps":
|
|
302
|
+
if (!customElements.get(tagName)) {
|
|
303
|
+
defineCustomElement$3();
|
|
304
|
+
}
|
|
305
|
+
break;
|
|
306
|
+
case "owner-form-core":
|
|
263
307
|
if (!customElements.get(tagName)) {
|
|
264
308
|
defineCustomElement$2();
|
|
265
309
|
}
|
|
266
310
|
break;
|
|
267
|
-
case "
|
|
311
|
+
case "owner-form-inputs":
|
|
268
312
|
if (!customElements.get(tagName)) {
|
|
269
313
|
defineCustomElement$1();
|
|
270
314
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { b as BusinessFormClickActions } from './business-form-types.js';
|
|
3
|
-
import {
|
|
3
|
+
import { B as Button } from './button.js';
|
|
4
4
|
|
|
5
5
|
const PaymentProvisioningFormButtons = /*@__PURE__*/ proxyCustomElement(class PaymentProvisioningFormButtons extends HTMLElement {
|
|
6
6
|
constructor() {
|
|
@@ -23,7 +23,7 @@ const PaymentProvisioningFormButtons = /*@__PURE__*/ proxyCustomElement(class Pa
|
|
|
23
23
|
return this.currentStep === this.totalSteps;
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
|
-
return (h("div", { key: '
|
|
26
|
+
return (h("div", { key: '3df3796f2bb35819373564c0002e35d14c85e360', class: 'd-flex gap-2' }, h(Button, { key: '3f8fd4e288b2eed6776c77b44dda816e8a0580cd', variant: "secondary", type: "button", onClick: () => this.previousStepButtonOnClick(), disabled: this.formDisabled, hidden: !this.showPreviousStepButton }, "Previous"), h(Button, { key: '83c7d2405d6e4f88f721a95250aa847a6999a211', variant: "primary", type: "button", onClick: (e) => this.nextStepButtonOnClick(e, BusinessFormClickActions.nextStep), disabled: this.formDisabled, isLoading: this.formLoading, hidden: !this.showNextStepButton }, "Next"), h(Button, { key: 'd87bcdc9bea52b11307e31bd1d99636be05d7156', variant: "primary", type: "submit", onClick: (e) => this.nextStepButtonOnClick(e, BusinessFormClickActions.submit), disabled: this.formDisabled, isLoading: this.formLoading, hidden: !this.showSubmitButton }, "Submit")));
|
|
27
27
|
}
|
|
28
28
|
}, [0, "justifi-payment-provisioning-form-buttons", {
|
|
29
29
|
"currentStep": [2, "current-step"],
|