@justifi/webcomponents 4.20.0 → 4.21.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-03981aad.js → Analytics-880f5152.js} +1 -1
- package/dist/cjs/{Payment-1a8a8ca6.js → Payment-04a842f4.js} +15 -0
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +1 -1
- package/dist/cjs/business-details-core.cjs.entry.js +1 -1
- package/dist/cjs/{business-form-types-6e1fcda3.js → business-form-types-719b7f52.js} +11 -0
- package/dist/cjs/{check-pkg-version-89d6d146.js → check-pkg-version-54f7dfda.js} +1 -1
- package/dist/cjs/{custom-popper.cjs.entry.js → custom-popper_5.cjs.entry.js} +121 -2
- package/dist/cjs/form-control-checkbox_9.cjs.entry.js +51 -28
- package/dist/cjs/form-control-date_3.cjs.entry.js +47 -8
- package/dist/cjs/form-control-file.cjs.entry.js +1 -1
- package/dist/cjs/{form-control-monetary.cjs.entry.js → form-control-help-text_2.cjs.entry.js} +16 -1
- package/dist/cjs/form-control-number.cjs.entry.js +1 -1
- package/dist/cjs/{get-payout-csv-3a3260ec.js → get-payout-csv-a82b2c1c.js} +1 -1
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-additional-questions-form-step_10.cjs.entry.js +23 -11
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +2 -2
- package/dist/cjs/justifi-billing-form_2.cjs.entry.js +2 -2
- package/dist/cjs/justifi-business-details.cjs.entry.js +3 -3
- package/dist/cjs/justifi-business-form.cjs.entry.js +6 -6
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
- package/dist/cjs/justifi-card-form.cjs.entry.js +3 -3
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +3 -3
- package/dist/cjs/justifi-checkout.cjs.entry.js +6 -6
- package/dist/cjs/justifi-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +3 -3
- package/dist/cjs/justifi-new-payment-method_4.cjs.entry.js +6 -6
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-details.cjs.entry.js +5 -5
- package/dist/cjs/justifi-payment-form.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payment-method-form.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-method-selector.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payments-list.cjs.entry.js +12 -10
- package/dist/cjs/justifi-payout-details.cjs.entry.js +5 -5
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +5 -5
- package/dist/cjs/justifi-refund-form.cjs.entry.js +3 -3
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +4 -4
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +5 -5
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-7fdd14b9.js → package-cb1b1015.js} +1 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +9 -9
- package/dist/cjs/{payment.service-4b1c0a20.js → payment.service-6f79aad2.js} +6 -3
- package/dist/cjs/payments-list-core.cjs.entry.js +14 -14
- package/dist/cjs/payments-list-filters_2.cjs.entry.js +2 -2
- package/dist/cjs/payout-details-core.cjs.entry.js +3 -3
- package/dist/cjs/payouts-list-core.cjs.entry.js +5 -5
- package/dist/cjs/styled-host-1adf46c3.js +14 -0
- package/dist/cjs/{utils-af1b60a9.js → utils-52fb7fa1.js} +13 -10
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/Payment.js +15 -0
- package/dist/collection/api/services/payment.service.js +5 -2
- package/dist/collection/collection-manifest.json +1 -0
- 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-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +42 -2
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +31 -3
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +24 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +25 -3
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +24 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.js +25 -2
- package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-input-group.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/document-uploads/input-configurations.js +17 -17
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +24 -1
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +24 -2
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.js +1 -1
- package/dist/collection/components/business-forms/utils/business-form-types.js +11 -0
- package/dist/collection/components/card-form/card-form.js +1 -1
- package/dist/collection/components/checkout/checkout-core.js +1 -1
- package/dist/collection/components/checkout/checkout.js +2 -2
- package/dist/collection/components/checkout/new-payment-method.js +1 -1
- package/dist/collection/components/checkout/payment-method-options.js +1 -1
- package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
- package/dist/collection/components/checkout/saved-payment-method.js +1 -1
- package/dist/collection/components/checkout/sezzle-payment-method.js +1 -1
- package/dist/collection/components/details/details.js +1 -1
- package/dist/collection/components/form/form-control-checkbox.js +1 -1
- package/dist/collection/components/form/form-control-date.js +80 -6
- 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/form-helpers/form-control-tooltip/form-control-tooltip.js +63 -0
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +2 -2
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +1 -1
- package/dist/collection/components/payment-details/payment-details-core.js +7 -7
- package/dist/collection/components/payment-form/payment-form.js +3 -3
- package/dist/collection/components/payment-form/payment-method-selector.js +1 -1
- package/dist/collection/components/payments-list/get-payments.js +2 -2
- package/dist/collection/components/payments-list/payments-list-core.js +11 -11
- package/dist/collection/components/payments-list/payments-list-filters.js +1 -1
- package/dist/collection/components/payments-list/payments-list.js +23 -2
- package/dist/collection/components/payout-details/payout-details-core.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-core.js +2 -2
- package/dist/collection/components/refund-form/refund-form.js +1 -1
- package/dist/collection/ui-components/custom-popper/custom-popper.js +8 -4
- package/dist/collection/ui-components/filters/table-filters-menu.js +1 -1
- package/dist/collection/utils/utils.js +13 -10
- package/dist/docs.json +650 -149
- package/dist/esm/{Analytics-3103f8e9.js → Analytics-3dde5a98.js} +1 -1
- package/dist/esm/{Payment-6bf26fe2.js → Payment-30790721.js} +15 -0
- package/dist/esm/additional-questions-details_5.entry.js +1 -1
- package/dist/esm/business-details-core.entry.js +1 -1
- package/dist/esm/{business-form-types-1bc5fe08.js → business-form-types-8fd61b0e.js} +12 -1
- package/dist/esm/{check-pkg-version-44e6ad15.js → check-pkg-version-4d144b72.js} +1 -1
- package/dist/esm/{custom-popper.entry.js → custom-popper_5.entry.js} +119 -4
- package/dist/esm/form-control-checkbox_9.entry.js +51 -28
- package/dist/esm/form-control-date_3.entry.js +47 -8
- package/dist/esm/form-control-file.entry.js +1 -1
- package/dist/esm/{form-control-monetary.entry.js → form-control-help-text_2.entry.js} +17 -3
- package/dist/esm/form-control-number.entry.js +1 -1
- package/dist/esm/{get-payout-csv-93427146.js → get-payout-csv-d29146ee.js} +1 -1
- package/dist/esm/gross-payment-chart-core.entry.js +2 -2
- package/dist/esm/justifi-additional-questions-form-step_10.entry.js +23 -11
- package/dist/esm/justifi-bank-account-form.entry.js +2 -2
- package/dist/esm/justifi-billing-form_2.entry.js +2 -2
- package/dist/esm/justifi-business-details.entry.js +3 -3
- package/dist/esm/justifi-business-form.entry.js +6 -6
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
- package/dist/esm/justifi-card-form.entry.js +3 -3
- package/dist/esm/justifi-checkout-core.entry.js +3 -3
- package/dist/esm/justifi-checkout.entry.js +6 -6
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-gross-payment-chart.entry.js +3 -3
- package/dist/esm/justifi-new-payment-method_4.entry.js +6 -6
- package/dist/esm/justifi-owner-form_3.entry.js +2 -2
- package/dist/esm/justifi-payment-details.entry.js +5 -5
- package/dist/esm/justifi-payment-form.entry.js +9 -9
- package/dist/esm/justifi-payment-method-form.entry.js +2 -2
- package/dist/esm/justifi-payment-method-selector.entry.js +2 -2
- package/dist/esm/justifi-payment-provisioning-core.entry.js +2 -2
- package/dist/esm/justifi-payment-provisioning.entry.js +3 -3
- package/dist/esm/justifi-payments-list.entry.js +12 -10
- package/dist/esm/justifi-payout-details.entry.js +5 -5
- package/dist/esm/justifi-payouts-list.entry.js +5 -5
- package/dist/esm/justifi-refund-form.entry.js +3 -3
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +4 -4
- package/dist/esm/justifi-season-interruption-insurance.entry.js +5 -5
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-0e3cc41e.js → package-4ab64620.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +9 -9
- package/dist/esm/{payment.service-02c596b9.js → payment.service-f9c3e9d7.js} +6 -3
- package/dist/esm/payments-list-core.entry.js +14 -14
- package/dist/esm/payments-list-filters_2.entry.js +2 -2
- package/dist/esm/payout-details-core.entry.js +3 -3
- package/dist/esm/payouts-list-core.entry.js +5 -5
- package/dist/esm/styled-host-e0ddb759.js +12 -0
- package/dist/esm/{utils-e66d8bca.js → utils-620f2d78.js} +13 -10
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Payment.js +15 -0
- package/dist/module/additional-questions.js +22 -10
- package/dist/module/billing-form.js +13 -7
- package/dist/module/business-additional-questions-form-step-core.js +42 -11
- package/dist/module/business-additional-questions-form-step.js +23 -11
- package/dist/module/business-bank-account-form-step.js +23 -10
- package/dist/module/business-core-info-form-step-core.js +19 -10
- package/dist/module/business-core-info-form-step.js +16 -10
- package/dist/module/business-core-info.js +15 -9
- package/dist/module/business-document-upload-form-step.js +14 -5
- package/dist/module/business-document-upload-input-group.js +27 -21
- package/dist/module/business-form-types.js +12 -1
- package/dist/module/business-owners-form-step-core.js +20 -12
- package/dist/module/business-owners-form-step.js +16 -10
- package/dist/module/business-representative-form-inputs.js +16 -10
- package/dist/module/business-representative-form-step-core.js +19 -10
- package/dist/module/business-representative-form-step.js +16 -10
- package/dist/module/business-representative.js +15 -9
- package/dist/module/business-terms-conditions-form-step.js +4 -2
- package/dist/module/business-terms-conditions-text.js +1 -1
- package/dist/module/checkout-core.js +14 -8
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/details.js +1 -1
- package/dist/module/form-control-checkbox2.js +1 -1
- package/dist/module/form-control-date2.js +57 -10
- package/dist/module/form-control-file2.js +10 -4
- package/dist/module/form-control-monetary2.js +1 -1
- package/dist/module/form-control-number-masked2.js +10 -4
- package/dist/module/form-control-number.js +1 -1
- package/dist/module/form-control-select2.js +10 -4
- package/dist/module/form-control-text2.js +10 -4
- package/dist/module/form-control-tooltip.d.ts +11 -0
- package/dist/module/form-control-tooltip.js +6 -0
- package/dist/module/form-control-tooltip2.js +49 -0
- package/dist/module/gross-payment-chart-core2.js +1 -1
- package/dist/module/identity-address-form.js +14 -8
- package/dist/module/justifi-business-form.js +29 -17
- package/dist/module/justifi-card-form.js +1 -1
- package/dist/module/justifi-checkout.js +15 -9
- package/dist/module/justifi-payment-form.js +16 -10
- package/dist/module/justifi-payment-provisioning.js +30 -18
- package/dist/module/justifi-payments-list.js +15 -11
- package/dist/module/justifi-payouts-list.js +9 -3
- package/dist/module/justifi-refund-form.js +21 -9
- package/dist/module/justifi-season-interruption-insurance.js +1 -1
- package/dist/module/legal-address-form-step-core.js +17 -8
- package/dist/module/legal-address-form-step.js +14 -8
- package/dist/module/legal-address-form.js +13 -7
- package/dist/module/new-payment-method.js +14 -8
- package/dist/module/owner-form-core2.js +16 -10
- package/dist/module/owner-form-inputs2.js +16 -10
- package/dist/module/owner-form.js +15 -9
- package/dist/module/package.js +1 -1
- package/dist/module/payment-details-core2.js +7 -7
- package/dist/module/payment-method-options.js +14 -8
- package/dist/module/payment-method-selector.js +1 -1
- package/dist/module/payment-provisioning-core.js +31 -19
- package/dist/module/payment-provisioning-form-buttons.js +1 -1
- package/dist/module/payment-provisioning-form-steps.js +30 -18
- package/dist/module/payment.service.js +5 -2
- package/dist/module/payments-list-core2.js +18 -18
- package/dist/module/payments-list-filters2.js +8 -8
- package/dist/module/payout-details-core2.js +1 -1
- package/dist/module/payouts-list-core2.js +11 -5
- package/dist/module/save-new-payment-method.js +1 -1
- package/dist/module/saved-payment-method.js +1 -1
- package/dist/module/season-interruption-insurance-core.js +2 -2
- package/dist/module/sezzle-payment-method.js +1 -1
- package/dist/module/styled-host.js +1 -1
- package/dist/module/table-filters-menu2.js +1 -1
- package/dist/module/utils2.js +13 -10
- package/dist/types/api/Payment.d.ts +8 -0
- package/dist/types/api/services/payment.service.d.ts +2 -2
- package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.d.ts +4 -1
- package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +2 -1
- package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +2 -1
- package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.d.ts +2 -1
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +2 -1
- package/dist/types/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.d.ts +2 -1
- package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +2 -1
- package/dist/types/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.d.ts +2 -1
- package/dist/types/components/business-forms/utils/business-form-types.d.ts +15 -0
- package/dist/types/components/form/form-control-date.d.ts +5 -0
- package/dist/types/components/form/form-helpers/form-control-tooltip/form-control-tooltip.d.ts +8 -0
- package/dist/types/components/payments-list/get-payments.d.ts +2 -1
- package/dist/types/components/payments-list/payments-list.d.ts +3 -2
- package/dist/types/components.d.ts +41 -4
- package/dist/types/ui-components/custom-popper/custom-popper.d.ts +1 -1
- package/dist/types/utils/utils.d.ts +2 -2
- package/dist/webcomponents/{p-0de026dd.entry.js → p-08d88fd2.entry.js} +1 -1
- package/dist/webcomponents/p-0c2d91a2.entry.js +1 -0
- package/dist/webcomponents/p-11f01df5.entry.js +1 -0
- package/dist/webcomponents/p-122c2a11.entry.js +1 -0
- package/dist/webcomponents/{p-4628cc9b.entry.js → p-1d29488a.entry.js} +1 -1
- package/dist/webcomponents/{p-1eee25f3.entry.js → p-1e178dd1.entry.js} +2 -2
- package/dist/webcomponents/p-1eb60948.entry.js +1 -0
- package/dist/webcomponents/{p-05718341.entry.js → p-23f95a19.entry.js} +1 -1
- package/dist/webcomponents/{p-0e84986e.entry.js → p-2874d4b2.entry.js} +1 -1
- package/dist/webcomponents/{p-430f81c6.entry.js → p-43dfda70.entry.js} +1 -1
- package/dist/webcomponents/{p-804c0f1f.entry.js → p-55fe2cf2.entry.js} +1 -1
- package/dist/webcomponents/{p-8c83b73e.entry.js → p-5df26e65.entry.js} +1 -1
- package/dist/webcomponents/p-5e5e8a85.js +1 -0
- package/dist/webcomponents/{p-20dafb46.entry.js → p-605614f2.entry.js} +1 -1
- package/dist/webcomponents/{p-d76002d5.entry.js → p-61514f78.entry.js} +1 -1
- package/dist/webcomponents/p-6962044f.entry.js +1 -0
- package/dist/webcomponents/{p-570a0f02.entry.js → p-6a9e908b.entry.js} +1 -1
- package/dist/webcomponents/p-6ba660f2.entry.js +1 -0
- package/dist/webcomponents/{p-8281f09a.js → p-6d4b585d.js} +1 -1
- package/dist/webcomponents/p-6e258b5f.entry.js +1 -0
- package/dist/webcomponents/p-74da98da.js +1 -0
- package/dist/webcomponents/{p-ad47f37c.entry.js → p-770f60f9.entry.js} +1 -1
- package/dist/webcomponents/p-799ee8c3.js +1 -0
- package/dist/webcomponents/p-7cb3854c.entry.js +1 -0
- package/dist/webcomponents/p-7fec2bcb.js +1 -0
- package/dist/webcomponents/{p-b14da2fd.entry.js → p-80730b71.entry.js} +1 -1
- package/dist/webcomponents/{p-938bf2b4.entry.js → p-8f04747b.entry.js} +1 -1
- package/dist/webcomponents/{p-c64ce69d.entry.js → p-8f447993.entry.js} +1 -1
- package/dist/webcomponents/p-9a37eee5.entry.js +1 -0
- package/dist/webcomponents/{p-428e9b64.entry.js → p-a1d037cb.entry.js} +1 -1
- package/dist/webcomponents/{p-056e75be.entry.js → p-a3265844.entry.js} +1 -1
- package/dist/webcomponents/{p-f6a2dc78.entry.js → p-a680c982.entry.js} +1 -1
- package/dist/webcomponents/{p-e2c88817.entry.js → p-a765230f.entry.js} +1 -1
- package/dist/webcomponents/p-a76ece26.js +1 -0
- package/dist/webcomponents/p-b7b18954.entry.js +1 -0
- package/dist/webcomponents/{p-437f9114.js → p-bc9ae56f.js} +1 -1
- package/dist/webcomponents/p-c241cc62.entry.js +1 -0
- package/dist/webcomponents/{p-5e2c9ec8.js → p-ca8e126f.js} +1 -1
- package/dist/webcomponents/{p-e31f0f3e.entry.js → p-cd74be05.entry.js} +1 -1
- package/dist/webcomponents/{p-8d03a7bd.entry.js → p-d0ffb01c.entry.js} +1 -1
- package/dist/webcomponents/p-da316a74.entry.js +1 -0
- package/dist/webcomponents/{p-7bdffc78.entry.js → p-db3d1d7d.entry.js} +1 -1
- package/dist/webcomponents/{p-dbc1d7b3.entry.js → p-dee2a3f8.entry.js} +1 -1
- package/dist/webcomponents/{p-7ff329b1.js → p-e56ade55.js} +1 -1
- package/dist/webcomponents/p-e927fd5c.entry.js +1 -0
- package/dist/webcomponents/p-f3e00572.entry.js +1 -0
- package/dist/webcomponents/p-f71a5975.entry.js +1 -0
- package/dist/webcomponents/{p-3c7fac29.entry.js → p-ffe27126.entry.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/form-control-error-text_4.cjs.entry.js +0 -118
- package/dist/cjs/styled-host-9e0b67b3.js +0 -14
- package/dist/esm/form-control-error-text_4.entry.js +0 -111
- package/dist/esm/styled-host-3171ae1f.js +0 -12
- package/dist/webcomponents/p-1612894d.js +0 -1
- package/dist/webcomponents/p-3a1f19f3.entry.js +0 -1
- package/dist/webcomponents/p-44055818.js +0 -1
- package/dist/webcomponents/p-4cc9df76.entry.js +0 -1
- package/dist/webcomponents/p-5540a47c.entry.js +0 -1
- package/dist/webcomponents/p-59cf5391.entry.js +0 -1
- package/dist/webcomponents/p-6ac806ff.entry.js +0 -1
- package/dist/webcomponents/p-7ddfce86.entry.js +0 -1
- package/dist/webcomponents/p-7fe67d7f.entry.js +0 -1
- package/dist/webcomponents/p-8921a478.entry.js +0 -1
- package/dist/webcomponents/p-8a7112a0.entry.js +0 -1
- package/dist/webcomponents/p-9b154d98.entry.js +0 -1
- package/dist/webcomponents/p-aedb421f.entry.js +0 -1
- package/dist/webcomponents/p-bbed6107.entry.js +0 -1
- package/dist/webcomponents/p-bdc91c61.entry.js +0 -1
- package/dist/webcomponents/p-d8355f91.entry.js +0 -1
- package/dist/webcomponents/p-d89bad72.js +0 -1
- package/dist/webcomponents/p-df21aaad.js +0 -1
- package/dist/webcomponents/p-e3f4a2a6.js +0 -1
- package/dist/webcomponents/p-eea79a55.entry.js +0 -1
- package/dist/webcomponents/p-f0866375.entry.js +0 -1
|
@@ -6,15 +6,17 @@ import { B as BusinessService } from './business.service.js';
|
|
|
6
6
|
import { c as config } from './config.js';
|
|
7
7
|
import { A as Api } from './Api.js';
|
|
8
8
|
import { c as checkPkgVersion } from './check-pkg-version.js';
|
|
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$
|
|
9
|
+
import { d as defineCustomElement$A } from './custom-popper2.js';
|
|
10
|
+
import { d as defineCustomElement$z } from './form-control-checkbox2.js';
|
|
11
|
+
import { d as defineCustomElement$y } from './form-control-date2.js';
|
|
12
|
+
import { d as defineCustomElement$x } from './form-control-error-text2.js';
|
|
13
|
+
import { d as defineCustomElement$w } from './form-control-file2.js';
|
|
14
|
+
import { d as defineCustomElement$v } from './form-control-help-text2.js';
|
|
15
|
+
import { d as defineCustomElement$u } from './form-control-monetary2.js';
|
|
16
|
+
import { d as defineCustomElement$t } from './form-control-number-masked2.js';
|
|
17
|
+
import { d as defineCustomElement$s } from './form-control-select2.js';
|
|
18
|
+
import { d as defineCustomElement$r } from './form-control-text2.js';
|
|
19
|
+
import { d as defineCustomElement$q } from './form-control-tooltip2.js';
|
|
18
20
|
import { d as defineCustomElement$p } from './business-additional-questions-form-step.js';
|
|
19
21
|
import { d as defineCustomElement$o } from './business-additional-questions-form-step-core.js';
|
|
20
22
|
import { d as defineCustomElement$n } from './business-bank-account-form-step.js';
|
|
@@ -118,54 +120,64 @@ function defineCustomElement$1() {
|
|
|
118
120
|
if (typeof customElements === "undefined") {
|
|
119
121
|
return;
|
|
120
122
|
}
|
|
121
|
-
const components = ["justifi-payment-provisioning", "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-core", "justifi-payment-provisioning-form-buttons", "justifi-payment-provisioning-form-steps", "owner-form-core", "owner-form-inputs"];
|
|
123
|
+
const components = ["justifi-payment-provisioning", "custom-popper", "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", "form-control-tooltip", "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-core", "justifi-payment-provisioning-form-buttons", "justifi-payment-provisioning-form-steps", "owner-form-core", "owner-form-inputs"];
|
|
122
124
|
components.forEach(tagName => { switch (tagName) {
|
|
123
125
|
case "justifi-payment-provisioning":
|
|
124
126
|
if (!customElements.get(tagName)) {
|
|
125
127
|
customElements.define(tagName, PaymentProvisioning);
|
|
126
128
|
}
|
|
127
129
|
break;
|
|
130
|
+
case "custom-popper":
|
|
131
|
+
if (!customElements.get(tagName)) {
|
|
132
|
+
defineCustomElement$A();
|
|
133
|
+
}
|
|
134
|
+
break;
|
|
128
135
|
case "form-control-checkbox":
|
|
129
136
|
if (!customElements.get(tagName)) {
|
|
130
|
-
defineCustomElement$
|
|
137
|
+
defineCustomElement$z();
|
|
131
138
|
}
|
|
132
139
|
break;
|
|
133
140
|
case "form-control-date":
|
|
134
141
|
if (!customElements.get(tagName)) {
|
|
135
|
-
defineCustomElement$
|
|
142
|
+
defineCustomElement$y();
|
|
136
143
|
}
|
|
137
144
|
break;
|
|
138
145
|
case "form-control-error-text":
|
|
139
146
|
if (!customElements.get(tagName)) {
|
|
140
|
-
defineCustomElement$
|
|
147
|
+
defineCustomElement$x();
|
|
141
148
|
}
|
|
142
149
|
break;
|
|
143
150
|
case "form-control-file":
|
|
144
151
|
if (!customElements.get(tagName)) {
|
|
145
|
-
defineCustomElement$
|
|
152
|
+
defineCustomElement$w();
|
|
146
153
|
}
|
|
147
154
|
break;
|
|
148
155
|
case "form-control-help-text":
|
|
149
156
|
if (!customElements.get(tagName)) {
|
|
150
|
-
defineCustomElement$
|
|
157
|
+
defineCustomElement$v();
|
|
151
158
|
}
|
|
152
159
|
break;
|
|
153
160
|
case "form-control-monetary":
|
|
154
161
|
if (!customElements.get(tagName)) {
|
|
155
|
-
defineCustomElement$
|
|
162
|
+
defineCustomElement$u();
|
|
156
163
|
}
|
|
157
164
|
break;
|
|
158
165
|
case "form-control-number-masked":
|
|
159
166
|
if (!customElements.get(tagName)) {
|
|
160
|
-
defineCustomElement$
|
|
167
|
+
defineCustomElement$t();
|
|
161
168
|
}
|
|
162
169
|
break;
|
|
163
170
|
case "form-control-select":
|
|
164
171
|
if (!customElements.get(tagName)) {
|
|
165
|
-
defineCustomElement$
|
|
172
|
+
defineCustomElement$s();
|
|
166
173
|
}
|
|
167
174
|
break;
|
|
168
175
|
case "form-control-text":
|
|
176
|
+
if (!customElements.get(tagName)) {
|
|
177
|
+
defineCustomElement$r();
|
|
178
|
+
}
|
|
179
|
+
break;
|
|
180
|
+
case "form-control-tooltip":
|
|
169
181
|
if (!customElements.get(tagName)) {
|
|
170
182
|
defineCustomElement$q();
|
|
171
183
|
}
|
|
@@ -8,21 +8,22 @@ import { g as getErrorMessage, a as getErrorCode } from './utils3.js';
|
|
|
8
8
|
import { E as ErrorState } from './utils.js';
|
|
9
9
|
import { J as JustifiAnalytics } from './Analytics.js';
|
|
10
10
|
import { c as checkPkgVersion } from './check-pkg-version.js';
|
|
11
|
+
import { c as config } from './config.js';
|
|
11
12
|
import { d as defineCustomElement$b } from './custom-popper2.js';
|
|
12
13
|
import { d as defineCustomElement$a } from './form-control-date2.js';
|
|
13
14
|
import { d as defineCustomElement$9 } from './form-control-error-text2.js';
|
|
14
|
-
import { d as defineCustomElement$8 } from './form-control-
|
|
15
|
-
import { d as defineCustomElement$7 } from './form-control-
|
|
16
|
-
import { d as defineCustomElement$6 } from './form-control-
|
|
15
|
+
import { d as defineCustomElement$8 } from './form-control-select2.js';
|
|
16
|
+
import { d as defineCustomElement$7 } from './form-control-text2.js';
|
|
17
|
+
import { d as defineCustomElement$6 } from './form-control-tooltip2.js';
|
|
17
18
|
import { d as defineCustomElement$5 } from './pagination-menu2.js';
|
|
18
19
|
import { d as defineCustomElement$4 } from './payments-list-core2.js';
|
|
19
20
|
import { d as defineCustomElement$3 } from './payments-list-filters2.js';
|
|
20
21
|
import { d as defineCustomElement$2 } from './table-filters-menu2.js';
|
|
21
22
|
|
|
22
|
-
const makeGetPayments = ({ id, authToken, service }) => async ({ params, onSuccess, onError }) => {
|
|
23
|
+
const makeGetPayments = ({ id, authToken, service, apiOrigin }) => async ({ params, onSuccess, onError }) => {
|
|
23
24
|
var _a, _b;
|
|
24
25
|
try {
|
|
25
|
-
const response = await service.fetchPayments(id, authToken, params);
|
|
26
|
+
const response = await service.fetchPayments(id, authToken, params, apiOrigin);
|
|
26
27
|
if (!response.error) {
|
|
27
28
|
const pagingInfo = Object.assign({}, response.page_info);
|
|
28
29
|
const payments = ((_a = response.data) === null || _a === void 0 ? void 0 : _a.map((dataItem) => new Payment(dataItem))) || [];
|
|
@@ -58,10 +59,11 @@ const PaymentsList = /*@__PURE__*/ proxyCustomElement(class PaymentsList extends
|
|
|
58
59
|
this.errorMessage = event.detail.message;
|
|
59
60
|
this.errorEvent.emit(event.detail);
|
|
60
61
|
};
|
|
61
|
-
this.accountId = undefined;
|
|
62
|
-
this.authToken = undefined;
|
|
63
62
|
this.getPayments = undefined;
|
|
64
63
|
this.errorMessage = null;
|
|
64
|
+
this.accountId = undefined;
|
|
65
|
+
this.authToken = undefined;
|
|
66
|
+
this.apiOrigin = config.proxyApiOrigin;
|
|
65
67
|
}
|
|
66
68
|
componentWillLoad() {
|
|
67
69
|
checkPkgVersion();
|
|
@@ -80,6 +82,7 @@ const PaymentsList = /*@__PURE__*/ proxyCustomElement(class PaymentsList extends
|
|
|
80
82
|
id: this.accountId,
|
|
81
83
|
authToken: this.authToken,
|
|
82
84
|
service: new PaymentService(),
|
|
85
|
+
apiOrigin: this.apiOrigin,
|
|
83
86
|
});
|
|
84
87
|
}
|
|
85
88
|
else {
|
|
@@ -104,6 +107,7 @@ const PaymentsList = /*@__PURE__*/ proxyCustomElement(class PaymentsList extends
|
|
|
104
107
|
}, [1, "justifi-payments-list", {
|
|
105
108
|
"accountId": [1, "account-id"],
|
|
106
109
|
"authToken": [1, "auth-token"],
|
|
110
|
+
"apiOrigin": [1, "api-origin"],
|
|
107
111
|
"getPayments": [32],
|
|
108
112
|
"errorMessage": [32]
|
|
109
113
|
}, undefined, {
|
|
@@ -114,7 +118,7 @@ function defineCustomElement$1() {
|
|
|
114
118
|
if (typeof customElements === "undefined") {
|
|
115
119
|
return;
|
|
116
120
|
}
|
|
117
|
-
const components = ["justifi-payments-list", "custom-popper", "form-control-date", "form-control-error-text", "form-control-
|
|
121
|
+
const components = ["justifi-payments-list", "custom-popper", "form-control-date", "form-control-error-text", "form-control-select", "form-control-text", "form-control-tooltip", "pagination-menu", "payments-list-core", "payments-list-filters", "table-filters-menu"];
|
|
118
122
|
components.forEach(tagName => { switch (tagName) {
|
|
119
123
|
case "justifi-payments-list":
|
|
120
124
|
if (!customElements.get(tagName)) {
|
|
@@ -136,17 +140,17 @@ function defineCustomElement$1() {
|
|
|
136
140
|
defineCustomElement$9();
|
|
137
141
|
}
|
|
138
142
|
break;
|
|
139
|
-
case "form-control-
|
|
143
|
+
case "form-control-select":
|
|
140
144
|
if (!customElements.get(tagName)) {
|
|
141
145
|
defineCustomElement$8();
|
|
142
146
|
}
|
|
143
147
|
break;
|
|
144
|
-
case "form-control-
|
|
148
|
+
case "form-control-text":
|
|
145
149
|
if (!customElements.get(tagName)) {
|
|
146
150
|
defineCustomElement$7();
|
|
147
151
|
}
|
|
148
152
|
break;
|
|
149
|
-
case "form-control-
|
|
153
|
+
case "form-control-tooltip":
|
|
150
154
|
if (!customElements.get(tagName)) {
|
|
151
155
|
defineCustomElement$6();
|
|
152
156
|
}
|
|
@@ -9,9 +9,10 @@ import { g as getErrorMessage, a as getErrorCode } from './utils3.js';
|
|
|
9
9
|
import { E as ErrorState } from './utils.js';
|
|
10
10
|
import { J as JustifiAnalytics } from './Analytics.js';
|
|
11
11
|
import { c as checkPkgVersion } from './check-pkg-version.js';
|
|
12
|
+
import { d as defineCustomElement$7 } from './custom-popper2.js';
|
|
12
13
|
import { d as defineCustomElement$6 } from './form-control-date2.js';
|
|
13
14
|
import { d as defineCustomElement$5 } from './form-control-error-text2.js';
|
|
14
|
-
import { d as defineCustomElement$4 } from './form-control-
|
|
15
|
+
import { d as defineCustomElement$4 } from './form-control-tooltip2.js';
|
|
15
16
|
import { d as defineCustomElement$3 } from './pagination-menu2.js';
|
|
16
17
|
import { d as defineCustomElement$2 } from './payouts-list-core2.js';
|
|
17
18
|
|
|
@@ -114,13 +115,18 @@ function defineCustomElement$1() {
|
|
|
114
115
|
if (typeof customElements === "undefined") {
|
|
115
116
|
return;
|
|
116
117
|
}
|
|
117
|
-
const components = ["justifi-payouts-list", "form-control-date", "form-control-error-text", "form-control-
|
|
118
|
+
const components = ["justifi-payouts-list", "custom-popper", "form-control-date", "form-control-error-text", "form-control-tooltip", "pagination-menu", "payouts-list-core"];
|
|
118
119
|
components.forEach(tagName => { switch (tagName) {
|
|
119
120
|
case "justifi-payouts-list":
|
|
120
121
|
if (!customElements.get(tagName)) {
|
|
121
122
|
customElements.define(tagName, PayoutsList);
|
|
122
123
|
}
|
|
123
124
|
break;
|
|
125
|
+
case "custom-popper":
|
|
126
|
+
if (!customElements.get(tagName)) {
|
|
127
|
+
defineCustomElement$7();
|
|
128
|
+
}
|
|
129
|
+
break;
|
|
124
130
|
case "form-control-date":
|
|
125
131
|
if (!customElements.get(tagName)) {
|
|
126
132
|
defineCustomElement$6();
|
|
@@ -131,7 +137,7 @@ function defineCustomElement$1() {
|
|
|
131
137
|
defineCustomElement$5();
|
|
132
138
|
}
|
|
133
139
|
break;
|
|
134
|
-
case "form-control-
|
|
140
|
+
case "form-control-tooltip":
|
|
135
141
|
if (!customElements.get(tagName)) {
|
|
136
142
|
defineCustomElement$4();
|
|
137
143
|
}
|
|
@@ -7,10 +7,12 @@ import './Payout.js';
|
|
|
7
7
|
import { c as config } from './config.js';
|
|
8
8
|
import { C as CURRENCY_MASK } from './form-input-masks.js';
|
|
9
9
|
import { S as StyledHost } from './styled-host.js';
|
|
10
|
-
import { d as defineCustomElement$
|
|
11
|
-
import { d as defineCustomElement$
|
|
12
|
-
import { d as defineCustomElement$
|
|
13
|
-
import { d as defineCustomElement$
|
|
10
|
+
import { d as defineCustomElement$7 } from './custom-popper2.js';
|
|
11
|
+
import { d as defineCustomElement$6 } from './form-control-error-text2.js';
|
|
12
|
+
import { d as defineCustomElement$5 } from './form-control-help-text2.js';
|
|
13
|
+
import { d as defineCustomElement$4 } from './form-control-monetary2.js';
|
|
14
|
+
import { d as defineCustomElement$3 } from './form-control-text2.js';
|
|
15
|
+
import { d as defineCustomElement$2 } from './form-control-tooltip2.js';
|
|
14
16
|
|
|
15
17
|
const RefundFormSchema = create$3().shape({
|
|
16
18
|
amount: create$5()
|
|
@@ -100,7 +102,7 @@ const RefundForm = /*@__PURE__*/ proxyCustomElement(class RefundForm extends HTM
|
|
|
100
102
|
}
|
|
101
103
|
render() {
|
|
102
104
|
var _a;
|
|
103
|
-
return (h(StyledHost, { key: '
|
|
105
|
+
return (h(StyledHost, { key: '516b98561c2ef689f55e5e8d9f51d4402a4ea10e' }, h("h1", { key: '9abb0e3a97718c07b3a5f14386568fd0e923948a' }, "Refund"), this.refundInfoText && (h("div", { key: '7192d63f4bd998dfd9df34c9546c0574b5f0e8ab', class: "d-flex align-items-center flex-row gap-4 border-top border-bottom my-4 p-3", role: "alert" }, h("img", { key: '305285344f17b371b9b1ea5f99b415848130449a', src: "/info-icon.svg", alt: "Information", height: "30", width: "30" }), h("p", { key: '1e52a501d4c3aec869e7298cce5c738abc4c2bbe', class: "m-0", innerHTML: this.refundInfoText }))), h("form", { key: '80b32c70ebec874e42657fe46f8e56c258784e75', onSubmit: e => this.handleSubmit(e), class: "d-grid gap-4" }, h("div", { key: '7f94e31cf8b06568e8b06323ea0d6c3604479ef8', class: "form-group" }, h("form-control-monetary", { key: '9f72b96326de41ac1e1af2879556ced5bd07ec17', name: "amount", label: "Refund Amount", defaultValue: ((_a = this.amount) === null || _a === void 0 ? void 0 : _a.toString()) || '', maskOptions: CURRENCY_MASK.DECIMAL, inputHandler: (name, value) => this.handleInput(name, value), errorText: this.errors.amount })), h("div", { key: '10723487f0b8d28c64730d071690137f1a02488c', class: "form-group" }, h("form-control-text", { key: 'cb974dcab2da25415d1dbb6525a3c2e91660582d', name: "notes", label: "Additional Notes", inputHandler: (name, value) => this.handleInput(name, value), errorText: this.errors.notes })), this.withButton && (h("div", { key: '9abd0558ab409a97ea529de04307edfb1c7a6054', class: "form-group d-flex flex-row-reverse" }, h("button", { key: '5e64b5ec2c5d4c8bb19038f70cbab6093275d8eb', type: "submit", disabled: !!this.isSubmitting, class: "btn btn-primary ml-auto" }, this.submitButtonText))))));
|
|
104
106
|
}
|
|
105
107
|
static get style() { return JustifiRefundFormStyle0; }
|
|
106
108
|
}, [1, "justifi-refund-form", {
|
|
@@ -117,29 +119,39 @@ function defineCustomElement$1() {
|
|
|
117
119
|
if (typeof customElements === "undefined") {
|
|
118
120
|
return;
|
|
119
121
|
}
|
|
120
|
-
const components = ["justifi-refund-form", "form-control-error-text", "form-control-help-text", "form-control-monetary", "form-control-text"];
|
|
122
|
+
const components = ["justifi-refund-form", "custom-popper", "form-control-error-text", "form-control-help-text", "form-control-monetary", "form-control-text", "form-control-tooltip"];
|
|
121
123
|
components.forEach(tagName => { switch (tagName) {
|
|
122
124
|
case "justifi-refund-form":
|
|
123
125
|
if (!customElements.get(tagName)) {
|
|
124
126
|
customElements.define(tagName, RefundForm);
|
|
125
127
|
}
|
|
126
128
|
break;
|
|
129
|
+
case "custom-popper":
|
|
130
|
+
if (!customElements.get(tagName)) {
|
|
131
|
+
defineCustomElement$7();
|
|
132
|
+
}
|
|
133
|
+
break;
|
|
127
134
|
case "form-control-error-text":
|
|
128
135
|
if (!customElements.get(tagName)) {
|
|
129
|
-
defineCustomElement$
|
|
136
|
+
defineCustomElement$6();
|
|
130
137
|
}
|
|
131
138
|
break;
|
|
132
139
|
case "form-control-help-text":
|
|
133
140
|
if (!customElements.get(tagName)) {
|
|
134
|
-
defineCustomElement$
|
|
141
|
+
defineCustomElement$5();
|
|
135
142
|
}
|
|
136
143
|
break;
|
|
137
144
|
case "form-control-monetary":
|
|
138
145
|
if (!customElements.get(tagName)) {
|
|
139
|
-
defineCustomElement$
|
|
146
|
+
defineCustomElement$4();
|
|
140
147
|
}
|
|
141
148
|
break;
|
|
142
149
|
case "form-control-text":
|
|
150
|
+
if (!customElements.get(tagName)) {
|
|
151
|
+
defineCustomElement$3();
|
|
152
|
+
}
|
|
153
|
+
break;
|
|
154
|
+
case "form-control-tooltip":
|
|
143
155
|
if (!customElements.get(tagName)) {
|
|
144
156
|
defineCustomElement$2();
|
|
145
157
|
}
|
|
@@ -129,7 +129,7 @@ const SeasonInterruptionInsurance = /*@__PURE__*/ proxyCustomElement(class Seaso
|
|
|
129
129
|
});
|
|
130
130
|
}
|
|
131
131
|
render() {
|
|
132
|
-
return (h("justifi-season-interruption-insurance-core", { key: '
|
|
132
|
+
return (h("justifi-season-interruption-insurance-core", { key: '015172f31ca5ad7e00c107ac61282f44f9b7a60f', ref: (el) => (this.seasonInterruptionCoreRef = el), "checkout-id": this.checkoutId, getQuote: this.getQuote, toggleCoverage: this.toggleCoverage, "primary-identity-first-name": this.primaryIdentityFirstName, "primary-identity-last-name": this.primaryIdentityLastName, "primary-identity-state": this.primaryIdentityState, "primary-identity-postal-code": this.primaryIdentityPostalCode, "primary-identity-country": this.primaryIdentityCountry, "primary-identity-email-address": this.primaryIdentityEmailAddress, "policy-attributes-insurable-amount": this.policyAttributesInsurableAmount, "policy-attributes-start-date": this.policyAttributesStartDate, "policy-attributes-end-date": this.policyAttributesEndDate, "covered-identity-first-name": this.coveredIdentityFirstName, "covered-identity-last-name": this.coveredIdentityLastName }));
|
|
133
133
|
}
|
|
134
134
|
}, [1, "justifi-season-interruption-insurance", {
|
|
135
135
|
"authToken": [1, "auth-token"],
|
|
@@ -2,18 +2,21 @@ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/i
|
|
|
2
2
|
import { a as addressSchema } from './business-address-schema.js';
|
|
3
3
|
import { F as FormController } from './form.js';
|
|
4
4
|
import { b as Address } from './Business.js';
|
|
5
|
+
import { B as BusinessFormStepV2 } from './business-form-types.js';
|
|
5
6
|
import { S as StateOptions } from './state-options.js';
|
|
6
7
|
import { n as numberOnlyHandler } from './utils4.js';
|
|
8
|
+
import { d as defineCustomElement$5 } from './custom-popper2.js';
|
|
7
9
|
import { d as defineCustomElement$4 } from './form-control-error-text2.js';
|
|
8
|
-
import { d as defineCustomElement$3 } from './form-control-
|
|
9
|
-
import { d as defineCustomElement$2 } from './form-control-
|
|
10
|
-
import { d as defineCustomElement$1 } from './form-control-
|
|
10
|
+
import { d as defineCustomElement$3 } from './form-control-select2.js';
|
|
11
|
+
import { d as defineCustomElement$2 } from './form-control-text2.js';
|
|
12
|
+
import { d as defineCustomElement$1 } from './form-control-tooltip2.js';
|
|
11
13
|
|
|
12
14
|
const LegalAddressFormStepCore = /*@__PURE__*/ proxyCustomElement(class LegalAddressFormStepCore extends HTMLElement {
|
|
13
15
|
constructor() {
|
|
14
16
|
super();
|
|
15
17
|
this.__registerHost();
|
|
16
18
|
this.submitted = createEvent(this, "submitted", 7);
|
|
19
|
+
this.stepCompleted = createEvent(this, "form-step-completed", 7);
|
|
17
20
|
this.formLoading = createEvent(this, "formLoading", 7);
|
|
18
21
|
this.errorEvent = createEvent(this, "error-event", 7);
|
|
19
22
|
this.getData = () => {
|
|
@@ -52,6 +55,7 @@ const LegalAddressFormStepCore = /*@__PURE__*/ proxyCustomElement(class LegalAdd
|
|
|
52
55
|
},
|
|
53
56
|
final: () => {
|
|
54
57
|
this.submitted.emit({ data: { submittedData } });
|
|
58
|
+
this.stepCompleted.emit({ data: submittedData, formStep: BusinessFormStepV2.legalAddress });
|
|
55
59
|
this.formLoading.emit(false);
|
|
56
60
|
}
|
|
57
61
|
});
|
|
@@ -86,7 +90,7 @@ const LegalAddressFormStepCore = /*@__PURE__*/ proxyCustomElement(class LegalAdd
|
|
|
86
90
|
render() {
|
|
87
91
|
var _a, _b, _c, _d, _e, _f;
|
|
88
92
|
const legalAddressDefaultValue = this.formController.getInitialValues();
|
|
89
|
-
return (h("form", { key: '
|
|
93
|
+
return (h("form", { key: '0b6da6f38496eed7699b642e3855a085ee004105' }, h("fieldset", { key: '18e56d0ab1c9dfa6f768d16c9f82ce0c203c8cca' }, h("div", { key: '286505d10fdacddf89663069a3f45837fa3f5434', class: "d-flex align-items-center gap-2" }, h("legend", { key: '1632a05fce65e9df5b14e4e61e4f925644b66afe', class: "mb-0" }, "Legal Address of your Business"), h("form-control-tooltip", { key: '2013d53e29f31b923c5304b1d534e8d6edf248c5', helpText: "No PO Boxes." })), h("hr", { key: '95f1dd6e945af35db3b9c107741125c86298d043', class: "mt-2" }), h("div", { key: '33c940f3eb99c742cd7bc26eb30bf2593beee7e7', class: "row gy-3" }, h("div", { key: 'a70c712478ea1c1535dfb7b121a27f73c250737f', class: "col-12" }, h("form-control-text", { key: 'a2295eff889da276b0e7d3c49c0479f684edeab8', name: "line1", label: "Legal Address", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.line1, errorText: (_a = this.errors) === null || _a === void 0 ? void 0 : _a.line1 })), h("div", { key: 'b7c7bbeac63558be4bce0b14857321246c54e03e', class: "col-12" }, h("form-control-text", { key: '67fdffdae07317978b9830af28f2a13d13f49cbe', name: "line2", label: "Address Line 2 (optional)", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.line2, errorText: (_b = this.errors) === null || _b === void 0 ? void 0 : _b.line2 })), h("div", { key: '2fc87bc9415822b9317e680c6e39065e0410088d', class: "col-12" }, h("form-control-text", { key: 'e3b768d6830c8c6746e22affac093c09239b7b1a', name: "city", label: "City", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.city, errorText: (_c = this.errors) === null || _c === void 0 ? void 0 : _c.city })), h("div", { key: 'b7567c4ca4ecece2927ea79cf0872fe907c45b5b', class: "col-12" }, h("form-control-select", { key: '294fe774b7e621707d800fab28a6efc97f7a0aaf', name: "state", label: "State", options: StateOptions, inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.state, errorText: (_d = this.errors) === null || _d === void 0 ? void 0 : _d.state })), h("div", { key: '7dc1741c28d20f006050083bfc371364a3588242', class: "col-12" }, h("form-control-text", { key: '3a38d6a710c5eab2234b40a631b3fbc08f601fea', name: "postal_code", label: "Postal Code", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.postal_code, errorText: (_e = this.errors) === null || _e === void 0 ? void 0 : _e.postal_code, maxLength: 5, keyDownHandler: numberOnlyHandler })), h("div", { key: '8f1a3fab096961e6b0afc09303ee959b263d6677', class: "col-12" }, h("form-control-select", { key: '8f9be74731bafc3377b262779ac6bae0ad374c19', name: "country", label: "Country", options: [{ label: "United States", value: "USA" }], inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.country, errorText: (_f = this.errors) === null || _f === void 0 ? void 0 : _f.country,
|
|
90
94
|
// just for now so we skip handling country specificities
|
|
91
95
|
disabled: true }))))));
|
|
92
96
|
}
|
|
@@ -103,29 +107,34 @@ function defineCustomElement() {
|
|
|
103
107
|
if (typeof customElements === "undefined") {
|
|
104
108
|
return;
|
|
105
109
|
}
|
|
106
|
-
const components = ["justifi-legal-address-form-step-core", "form-control-error-text", "form-control-
|
|
110
|
+
const components = ["justifi-legal-address-form-step-core", "custom-popper", "form-control-error-text", "form-control-select", "form-control-text", "form-control-tooltip"];
|
|
107
111
|
components.forEach(tagName => { switch (tagName) {
|
|
108
112
|
case "justifi-legal-address-form-step-core":
|
|
109
113
|
if (!customElements.get(tagName)) {
|
|
110
114
|
customElements.define(tagName, LegalAddressFormStepCore);
|
|
111
115
|
}
|
|
112
116
|
break;
|
|
117
|
+
case "custom-popper":
|
|
118
|
+
if (!customElements.get(tagName)) {
|
|
119
|
+
defineCustomElement$5();
|
|
120
|
+
}
|
|
121
|
+
break;
|
|
113
122
|
case "form-control-error-text":
|
|
114
123
|
if (!customElements.get(tagName)) {
|
|
115
124
|
defineCustomElement$4();
|
|
116
125
|
}
|
|
117
126
|
break;
|
|
118
|
-
case "form-control-
|
|
127
|
+
case "form-control-select":
|
|
119
128
|
if (!customElements.get(tagName)) {
|
|
120
129
|
defineCustomElement$3();
|
|
121
130
|
}
|
|
122
131
|
break;
|
|
123
|
-
case "form-control-
|
|
132
|
+
case "form-control-text":
|
|
124
133
|
if (!customElements.get(tagName)) {
|
|
125
134
|
defineCustomElement$2();
|
|
126
135
|
}
|
|
127
136
|
break;
|
|
128
|
-
case "form-control-
|
|
137
|
+
case "form-control-tooltip":
|
|
129
138
|
if (!customElements.get(tagName)) {
|
|
130
139
|
defineCustomElement$1();
|
|
131
140
|
}
|
|
@@ -2,10 +2,11 @@ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/i
|
|
|
2
2
|
import { C as ComponentErrorCodes, a as ComponentErrorSeverity } from './ComponentError.js';
|
|
3
3
|
import { m as makeGetBusiness, a as makePatchBusiness } from './payment-provisioning-actions.js';
|
|
4
4
|
import { B as BusinessService } from './business.service.js';
|
|
5
|
+
import { d as defineCustomElement$6 } from './custom-popper2.js';
|
|
5
6
|
import { d as defineCustomElement$5 } from './form-control-error-text2.js';
|
|
6
|
-
import { d as defineCustomElement$4 } from './form-control-
|
|
7
|
-
import { d as defineCustomElement$3 } from './form-control-
|
|
8
|
-
import { d as defineCustomElement$2 } from './form-control-
|
|
7
|
+
import { d as defineCustomElement$4 } from './form-control-select2.js';
|
|
8
|
+
import { d as defineCustomElement$3 } from './form-control-text2.js';
|
|
9
|
+
import { d as defineCustomElement$2 } from './form-control-tooltip2.js';
|
|
9
10
|
import { d as defineCustomElement$1 } from './legal-address-form-step-core.js';
|
|
10
11
|
|
|
11
12
|
const LegalAddressFormStep = /*@__PURE__*/ proxyCustomElement(class LegalAddressFormStep extends HTMLElement {
|
|
@@ -50,7 +51,7 @@ const LegalAddressFormStep = /*@__PURE__*/ proxyCustomElement(class LegalAddress
|
|
|
50
51
|
}
|
|
51
52
|
}
|
|
52
53
|
render() {
|
|
53
|
-
return (h("justifi-legal-address-form-step-core", { key: '
|
|
54
|
+
return (h("justifi-legal-address-form-step-core", { key: '06ac5acac2cc9c167a86448b0e12d885d21361fb', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
|
|
54
55
|
}
|
|
55
56
|
static get watchers() { return {
|
|
56
57
|
"authToken": ["propChanged"],
|
|
@@ -71,29 +72,34 @@ function defineCustomElement() {
|
|
|
71
72
|
if (typeof customElements === "undefined") {
|
|
72
73
|
return;
|
|
73
74
|
}
|
|
74
|
-
const components = ["justifi-legal-address-form-step", "form-control-error-text", "form-control-
|
|
75
|
+
const components = ["justifi-legal-address-form-step", "custom-popper", "form-control-error-text", "form-control-select", "form-control-text", "form-control-tooltip", "justifi-legal-address-form-step-core"];
|
|
75
76
|
components.forEach(tagName => { switch (tagName) {
|
|
76
77
|
case "justifi-legal-address-form-step":
|
|
77
78
|
if (!customElements.get(tagName)) {
|
|
78
79
|
customElements.define(tagName, LegalAddressFormStep);
|
|
79
80
|
}
|
|
80
81
|
break;
|
|
82
|
+
case "custom-popper":
|
|
83
|
+
if (!customElements.get(tagName)) {
|
|
84
|
+
defineCustomElement$6();
|
|
85
|
+
}
|
|
86
|
+
break;
|
|
81
87
|
case "form-control-error-text":
|
|
82
88
|
if (!customElements.get(tagName)) {
|
|
83
89
|
defineCustomElement$5();
|
|
84
90
|
}
|
|
85
91
|
break;
|
|
86
|
-
case "form-control-
|
|
92
|
+
case "form-control-select":
|
|
87
93
|
if (!customElements.get(tagName)) {
|
|
88
94
|
defineCustomElement$4();
|
|
89
95
|
}
|
|
90
96
|
break;
|
|
91
|
-
case "form-control-
|
|
97
|
+
case "form-control-text":
|
|
92
98
|
if (!customElements.get(tagName)) {
|
|
93
99
|
defineCustomElement$3();
|
|
94
100
|
}
|
|
95
101
|
break;
|
|
96
|
-
case "form-control-
|
|
102
|
+
case "form-control-tooltip":
|
|
97
103
|
if (!customElements.get(tagName)) {
|
|
98
104
|
defineCustomElement$2();
|
|
99
105
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { S as StateOptions } from './state-options.js';
|
|
3
3
|
import { n as numberOnlyHandler } from './utils4.js';
|
|
4
|
+
import { d as defineCustomElement$5 } from './custom-popper2.js';
|
|
4
5
|
import { d as defineCustomElement$4 } from './form-control-error-text2.js';
|
|
5
|
-
import { d as defineCustomElement$3 } from './form-control-
|
|
6
|
-
import { d as defineCustomElement$2 } from './form-control-
|
|
7
|
-
import { d as defineCustomElement$1 } from './form-control-
|
|
6
|
+
import { d as defineCustomElement$3 } from './form-control-select2.js';
|
|
7
|
+
import { d as defineCustomElement$2 } from './form-control-text2.js';
|
|
8
|
+
import { d as defineCustomElement$1 } from './form-control-tooltip2.js';
|
|
8
9
|
|
|
9
10
|
const LegalAddressForm = /*@__PURE__*/ proxyCustomElement(class LegalAddressForm extends HTMLElement {
|
|
10
11
|
constructor() {
|
|
@@ -38,29 +39,34 @@ function defineCustomElement() {
|
|
|
38
39
|
if (typeof customElements === "undefined") {
|
|
39
40
|
return;
|
|
40
41
|
}
|
|
41
|
-
const components = ["justifi-legal-address-form", "form-control-error-text", "form-control-
|
|
42
|
+
const components = ["justifi-legal-address-form", "custom-popper", "form-control-error-text", "form-control-select", "form-control-text", "form-control-tooltip"];
|
|
42
43
|
components.forEach(tagName => { switch (tagName) {
|
|
43
44
|
case "justifi-legal-address-form":
|
|
44
45
|
if (!customElements.get(tagName)) {
|
|
45
46
|
customElements.define(tagName, LegalAddressForm);
|
|
46
47
|
}
|
|
47
48
|
break;
|
|
49
|
+
case "custom-popper":
|
|
50
|
+
if (!customElements.get(tagName)) {
|
|
51
|
+
defineCustomElement$5();
|
|
52
|
+
}
|
|
53
|
+
break;
|
|
48
54
|
case "form-control-error-text":
|
|
49
55
|
if (!customElements.get(tagName)) {
|
|
50
56
|
defineCustomElement$4();
|
|
51
57
|
}
|
|
52
58
|
break;
|
|
53
|
-
case "form-control-
|
|
59
|
+
case "form-control-select":
|
|
54
60
|
if (!customElements.get(tagName)) {
|
|
55
61
|
defineCustomElement$3();
|
|
56
62
|
}
|
|
57
63
|
break;
|
|
58
|
-
case "form-control-
|
|
64
|
+
case "form-control-text":
|
|
59
65
|
if (!customElements.get(tagName)) {
|
|
60
66
|
defineCustomElement$2();
|
|
61
67
|
}
|
|
62
68
|
break;
|
|
63
|
-
case "form-control-
|
|
69
|
+
case "form-control-tooltip":
|
|
64
70
|
if (!customElements.get(tagName)) {
|
|
65
71
|
defineCustomElement$1();
|
|
66
72
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { c as config } from './config.js';
|
|
3
|
+
import { d as defineCustomElement$8 } from './custom-popper2.js';
|
|
3
4
|
import { d as defineCustomElement$7 } from './form-control-error-text2.js';
|
|
4
|
-
import { d as defineCustomElement$6 } from './form-control-
|
|
5
|
-
import { d as defineCustomElement$5 } from './form-control-
|
|
6
|
-
import { d as defineCustomElement$4 } from './form-control-
|
|
5
|
+
import { d as defineCustomElement$6 } from './form-control-select2.js';
|
|
6
|
+
import { d as defineCustomElement$5 } from './form-control-text2.js';
|
|
7
|
+
import { d as defineCustomElement$4 } from './form-control-tooltip2.js';
|
|
7
8
|
import { d as defineCustomElement$3 } from './billing-form.js';
|
|
8
9
|
import { d as defineCustomElement$2 } from './payment-method-form.js';
|
|
9
10
|
import { d as defineCustomElement$1 } from './save-new-payment-method.js';
|
|
@@ -80,7 +81,7 @@ const NewPaymentMethod = /*@__PURE__*/ proxyCustomElement(class NewPaymentMethod
|
|
|
80
81
|
}
|
|
81
82
|
render() {
|
|
82
83
|
var _a, _b, _c, _d;
|
|
83
|
-
return (h("div", { key: '
|
|
84
|
+
return (h("div", { key: 'a3ab3946d37bc52aff2a08a99b5f9e0a1dce9902', class: "payment-method" }, h("div", { key: '8bd1d2c2f4272e383ab93fff3829013307316369', class: `payment-method-header p-3`, onClick: () => this.onPaymentMethodOptionClick() }, h("input", { key: '5fb9efbdcee3ca7f53e1592862188db5a4ae59a3', type: "radio", name: "paymentMethodType", id: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, value: (_b = this.paymentMethodOption) === null || _b === void 0 ? void 0 : _b.id, onClick: (event) => event.preventDefault(), checked: this.isSelected, class: "form-check-input me-2" }), h("label", { key: 'cf174ee431e67f9e4483ff15d1a7841fc61bbc95', htmlFor: (_c = this.paymentMethodOption) === null || _c === void 0 ? void 0 : _c.id, class: "form-check-label" }, PaymentMethodTypeLabels[(_d = this.paymentMethodOption) === null || _d === void 0 ? void 0 : _d.id])), this.isSelected ? this.showNewPaymentMethodForm() : null));
|
|
84
85
|
}
|
|
85
86
|
}, [0, "justifi-new-payment-method", {
|
|
86
87
|
"iframeOrigin": [1025, "iframe-origin"],
|
|
@@ -97,29 +98,34 @@ function defineCustomElement() {
|
|
|
97
98
|
if (typeof customElements === "undefined") {
|
|
98
99
|
return;
|
|
99
100
|
}
|
|
100
|
-
const components = ["justifi-new-payment-method", "form-control-error-text", "form-control-
|
|
101
|
+
const components = ["justifi-new-payment-method", "custom-popper", "form-control-error-text", "form-control-select", "form-control-text", "form-control-tooltip", "justifi-billing-form", "justifi-payment-method-form", "justifi-save-new-payment-method"];
|
|
101
102
|
components.forEach(tagName => { switch (tagName) {
|
|
102
103
|
case "justifi-new-payment-method":
|
|
103
104
|
if (!customElements.get(tagName)) {
|
|
104
105
|
customElements.define(tagName, NewPaymentMethod);
|
|
105
106
|
}
|
|
106
107
|
break;
|
|
108
|
+
case "custom-popper":
|
|
109
|
+
if (!customElements.get(tagName)) {
|
|
110
|
+
defineCustomElement$8();
|
|
111
|
+
}
|
|
112
|
+
break;
|
|
107
113
|
case "form-control-error-text":
|
|
108
114
|
if (!customElements.get(tagName)) {
|
|
109
115
|
defineCustomElement$7();
|
|
110
116
|
}
|
|
111
117
|
break;
|
|
112
|
-
case "form-control-
|
|
118
|
+
case "form-control-select":
|
|
113
119
|
if (!customElements.get(tagName)) {
|
|
114
120
|
defineCustomElement$6();
|
|
115
121
|
}
|
|
116
122
|
break;
|
|
117
|
-
case "form-control-
|
|
123
|
+
case "form-control-text":
|
|
118
124
|
if (!customElements.get(tagName)) {
|
|
119
125
|
defineCustomElement$5();
|
|
120
126
|
}
|
|
121
127
|
break;
|
|
122
|
-
case "form-control-
|
|
128
|
+
case "form-control-tooltip":
|
|
123
129
|
if (!customElements.get(tagName)) {
|
|
124
130
|
defineCustomElement$4();
|
|
125
131
|
}
|