@justifi/webcomponents 4.20.1 → 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-3c89cfb4.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-4fa0367d.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 +5 -5
- 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-3a9ac89d.js → package-cb1b1015.js} +1 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +9 -9
- package/dist/cjs/{payment.service-47e2d84e.js → payment.service-6f79aad2.js} +1 -1
- 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/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/payments-list-core.js +11 -11
- package/dist/collection/components/payments-list/payments-list-filters.js +1 -1
- 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 +628 -149
- package/dist/esm/{Analytics-b0f6936a.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-10cadb08.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 +5 -5
- 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-2ef16e2c.js → package-4ab64620.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +9 -9
- package/dist/esm/{payment.service-21a3e2d3.js → payment.service-f9c3e9d7.js} +1 -1
- 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 +7 -7
- 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/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 +7 -0
- 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.d.ts +39 -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-232016ba.entry.js → p-08d88fd2.entry.js} +1 -1
- package/dist/webcomponents/p-0c2d91a2.entry.js +1 -0
- package/dist/webcomponents/{p-034fc302.entry.js → p-11f01df5.entry.js} +1 -1
- package/dist/webcomponents/p-122c2a11.entry.js +1 -0
- package/dist/webcomponents/{p-1c04aacd.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-dc048c3c.entry.js → p-23f95a19.entry.js} +1 -1
- package/dist/webcomponents/{p-ce5fe369.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-75139399.entry.js → p-55fe2cf2.entry.js} +1 -1
- package/dist/webcomponents/{p-d99a5f30.entry.js → p-5df26e65.entry.js} +1 -1
- package/dist/webcomponents/p-5e5e8a85.js +1 -0
- package/dist/webcomponents/{p-9add7d3e.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-35846553.js → p-6d4b585d.js} +1 -1
- package/dist/webcomponents/{p-538fd427.entry.js → p-6e258b5f.entry.js} +1 -1
- 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-b91bcbfc.js → p-799ee8c3.js} +1 -1
- 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-37888614.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-d9579cd6.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-c740b6ca.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-707bdf68.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-57d7534f.entry.js → p-d0ffb01c.entry.js} +1 -1
- package/dist/webcomponents/p-da316a74.entry.js +1 -0
- package/dist/webcomponents/{p-fb7f7a8c.entry.js → p-db3d1d7d.entry.js} +1 -1
- package/dist/webcomponents/p-dee2a3f8.entry.js +1 -0
- 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-44055818.js +0 -1
- package/dist/webcomponents/p-59cf5391.entry.js +0 -1
- package/dist/webcomponents/p-60d3571e.entry.js +0 -1
- package/dist/webcomponents/p-6ac806ff.entry.js +0 -1
- package/dist/webcomponents/p-7771f64b.entry.js +0 -1
- package/dist/webcomponents/p-7ddfce86.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-ab92abb1.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-c1772671.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-f0866375.entry.js +0 -1
- package/dist/webcomponents/p-f2924369.js +0 -1
- package/dist/webcomponents/p-ffddac99.entry.js +0 -1
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { P as PHONE_MASKS, S as SSN_MASK } from './form-input-masks.js';
|
|
3
3
|
import { u as updateFormValues, a as updateAddressFormValues, b as updateDateOfBirthFormValues } from './input-handlers.js';
|
|
4
|
+
import { d as defineCustomElement$8 } from './custom-popper2.js';
|
|
4
5
|
import { d as defineCustomElement$7 } from './form-control-date2.js';
|
|
5
6
|
import { d as defineCustomElement$6 } from './form-control-error-text2.js';
|
|
6
|
-
import { d as defineCustomElement$5 } from './form-control-
|
|
7
|
-
import { d as defineCustomElement$4 } from './form-control-
|
|
8
|
-
import { d as defineCustomElement$3 } from './form-control-
|
|
9
|
-
import { d as defineCustomElement$2 } from './form-control-
|
|
7
|
+
import { d as defineCustomElement$5 } from './form-control-number-masked2.js';
|
|
8
|
+
import { d as defineCustomElement$4 } from './form-control-select2.js';
|
|
9
|
+
import { d as defineCustomElement$3 } from './form-control-text2.js';
|
|
10
|
+
import { d as defineCustomElement$2 } from './form-control-tooltip2.js';
|
|
10
11
|
import { d as defineCustomElement$1 } from './identity-address-form.js';
|
|
11
12
|
|
|
12
13
|
const BusinessOwnerFormInputs = /*@__PURE__*/ proxyCustomElement(class BusinessOwnerFormInputs extends HTMLElement {
|
|
@@ -24,7 +25,7 @@ const BusinessOwnerFormInputs = /*@__PURE__*/ proxyCustomElement(class BusinessO
|
|
|
24
25
|
this.formController = undefined;
|
|
25
26
|
}
|
|
26
27
|
render() {
|
|
27
|
-
return (h("div", { key: '6fcc165d4bc75b92403d9031ad98f05f6b1dcd34', class:
|
|
28
|
+
return (h("div", { key: '6fcc165d4bc75b92403d9031ad98f05f6b1dcd34', class: "row gy-3" }, h("div", { key: '74f1e42a13892e95497a99684ba9de64719edb72', class: "col-12 col-md-8" }, h("form-control-text", { key: '29caea2b0b0a62822cc20c99e697f3db7c22a541', name: "name", label: "Full Name", defaultValue: this.ownerDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '5b0f8da9a0512de70558baa9cb188b4d5e773dc2', class: "col-12 col-md-4" }, h("form-control-text", { key: '40d66a25fbf825fccb2e3c2b6a4b541a6888f5d7', name: "title", label: "Title", defaultValue: this.ownerDefaultValue.title, errorText: this.errors.title, inputHandler: this.inputHandler, helpText: "Role at your business, e.g. President, CEO, Treasurer." })), h("div", { key: '97646974ed1c539e70e602bfc8c42513b0d37c9d', class: "col-12 col-md-6" }, h("form-control-text", { key: '5f4497d54b17f556c74b5c18ea25091306d5b6d6', name: "email", label: "Email Address", defaultValue: this.ownerDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '9aeb1227cd9afa053d62054222a361f42d20b925', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: 'c97e405262075c980b7e571eb08ab2d9414fb4d5', name: "phone", label: "Phone Number", defaultValue: this.ownerDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: '35555ccd9bfa61bbeeb85aa9586c38902b3a08a6', class: "col-12 col-md-4" }, h("form-control-date", { key: '9d865bdf390f2f88a0dc269462b6bce1d2a2675f', name: "dob_full", label: "Birth Date", defaultValue: this.ownerDefaultValue.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: (e) => updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), h("div", { key: '8a16b08239069ac5ac5273471ab2eeae92a299d7', class: "col-12 col-md-8" }, h("form-control-number-masked", { key: '8e74b1c7fef3087bd842394847c5b4c290be190c', name: "identification_number", label: "SSN", defaultValue: this.ownerDefaultValue.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: SSN_MASK, helpText: "Enter your full Social Security Number. It is required for Federal OFAC check." })), h("div", { key: 'c07f5293a29e330d2ab62cfa72f5d56e7fdee7cf', class: "col-12" }, h("justifi-identity-address-form", { key: '2b18ebc2f7de2004993d617b80067f55c6d3de4d', errors: this.errors.address, defaultValues: this.ownerDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate }))));
|
|
28
29
|
}
|
|
29
30
|
;
|
|
30
31
|
}, [0, "owner-form-inputs", {
|
|
@@ -36,13 +37,18 @@ function defineCustomElement() {
|
|
|
36
37
|
if (typeof customElements === "undefined") {
|
|
37
38
|
return;
|
|
38
39
|
}
|
|
39
|
-
const components = ["owner-form-inputs", "form-control-date", "form-control-error-text", "form-control-
|
|
40
|
+
const components = ["owner-form-inputs", "custom-popper", "form-control-date", "form-control-error-text", "form-control-number-masked", "form-control-select", "form-control-text", "form-control-tooltip", "justifi-identity-address-form"];
|
|
40
41
|
components.forEach(tagName => { switch (tagName) {
|
|
41
42
|
case "owner-form-inputs":
|
|
42
43
|
if (!customElements.get(tagName)) {
|
|
43
44
|
customElements.define(tagName, BusinessOwnerFormInputs);
|
|
44
45
|
}
|
|
45
46
|
break;
|
|
47
|
+
case "custom-popper":
|
|
48
|
+
if (!customElements.get(tagName)) {
|
|
49
|
+
defineCustomElement$8();
|
|
50
|
+
}
|
|
51
|
+
break;
|
|
46
52
|
case "form-control-date":
|
|
47
53
|
if (!customElements.get(tagName)) {
|
|
48
54
|
defineCustomElement$7();
|
|
@@ -53,22 +59,22 @@ function defineCustomElement() {
|
|
|
53
59
|
defineCustomElement$6();
|
|
54
60
|
}
|
|
55
61
|
break;
|
|
56
|
-
case "form-control-
|
|
62
|
+
case "form-control-number-masked":
|
|
57
63
|
if (!customElements.get(tagName)) {
|
|
58
64
|
defineCustomElement$5();
|
|
59
65
|
}
|
|
60
66
|
break;
|
|
61
|
-
case "form-control-
|
|
67
|
+
case "form-control-select":
|
|
62
68
|
if (!customElements.get(tagName)) {
|
|
63
69
|
defineCustomElement$4();
|
|
64
70
|
}
|
|
65
71
|
break;
|
|
66
|
-
case "form-control-
|
|
72
|
+
case "form-control-text":
|
|
67
73
|
if (!customElements.get(tagName)) {
|
|
68
74
|
defineCustomElement$3();
|
|
69
75
|
}
|
|
70
76
|
break;
|
|
71
|
-
case "form-control-
|
|
77
|
+
case "form-control-tooltip":
|
|
72
78
|
if (!customElements.get(tagName)) {
|
|
73
79
|
defineCustomElement$2();
|
|
74
80
|
}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { b as makeGetIdentity, c as makePatchIdentity, d as makePostIdentity } from './payment-provisioning-actions.js';
|
|
3
3
|
import { I as IdentityService } from './business.service.js';
|
|
4
|
+
import { d as defineCustomElement$a } from './custom-popper2.js';
|
|
4
5
|
import { d as defineCustomElement$9 } from './form-control-date2.js';
|
|
5
6
|
import { d as defineCustomElement$8 } from './form-control-error-text2.js';
|
|
6
|
-
import { d as defineCustomElement$7 } from './form-control-
|
|
7
|
-
import { d as defineCustomElement$6 } from './form-control-
|
|
8
|
-
import { d as defineCustomElement$5 } from './form-control-
|
|
9
|
-
import { d as defineCustomElement$4 } from './form-control-
|
|
7
|
+
import { d as defineCustomElement$7 } from './form-control-number-masked2.js';
|
|
8
|
+
import { d as defineCustomElement$6 } from './form-control-select2.js';
|
|
9
|
+
import { d as defineCustomElement$5 } from './form-control-text2.js';
|
|
10
|
+
import { d as defineCustomElement$4 } from './form-control-tooltip2.js';
|
|
10
11
|
import { d as defineCustomElement$3 } from './identity-address-form.js';
|
|
11
12
|
import { d as defineCustomElement$2 } from './owner-form-core2.js';
|
|
12
13
|
import { d as defineCustomElement$1 } from './owner-form-inputs2.js';
|
|
@@ -80,13 +81,18 @@ function defineCustomElement() {
|
|
|
80
81
|
if (typeof customElements === "undefined") {
|
|
81
82
|
return;
|
|
82
83
|
}
|
|
83
|
-
const components = ["justifi-owner-form", "form-control-date", "form-control-error-text", "form-control-
|
|
84
|
+
const components = ["justifi-owner-form", "custom-popper", "form-control-date", "form-control-error-text", "form-control-number-masked", "form-control-select", "form-control-text", "form-control-tooltip", "justifi-identity-address-form", "owner-form-core", "owner-form-inputs"];
|
|
84
85
|
components.forEach(tagName => { switch (tagName) {
|
|
85
86
|
case "justifi-owner-form":
|
|
86
87
|
if (!customElements.get(tagName)) {
|
|
87
88
|
customElements.define(tagName, BusinessOwnerForm);
|
|
88
89
|
}
|
|
89
90
|
break;
|
|
91
|
+
case "custom-popper":
|
|
92
|
+
if (!customElements.get(tagName)) {
|
|
93
|
+
defineCustomElement$a();
|
|
94
|
+
}
|
|
95
|
+
break;
|
|
90
96
|
case "form-control-date":
|
|
91
97
|
if (!customElements.get(tagName)) {
|
|
92
98
|
defineCustomElement$9();
|
|
@@ -97,22 +103,22 @@ function defineCustomElement() {
|
|
|
97
103
|
defineCustomElement$8();
|
|
98
104
|
}
|
|
99
105
|
break;
|
|
100
|
-
case "form-control-
|
|
106
|
+
case "form-control-number-masked":
|
|
101
107
|
if (!customElements.get(tagName)) {
|
|
102
108
|
defineCustomElement$7();
|
|
103
109
|
}
|
|
104
110
|
break;
|
|
105
|
-
case "form-control-
|
|
111
|
+
case "form-control-select":
|
|
106
112
|
if (!customElements.get(tagName)) {
|
|
107
113
|
defineCustomElement$6();
|
|
108
114
|
}
|
|
109
115
|
break;
|
|
110
|
-
case "form-control-
|
|
116
|
+
case "form-control-text":
|
|
111
117
|
if (!customElements.get(tagName)) {
|
|
112
118
|
defineCustomElement$5();
|
|
113
119
|
}
|
|
114
120
|
break;
|
|
115
|
-
case "form-control-
|
|
121
|
+
case "form-control-tooltip":
|
|
116
122
|
if (!customElements.get(tagName)) {
|
|
117
123
|
defineCustomElement$4();
|
|
118
124
|
}
|
package/dist/module/package.js
CHANGED
|
@@ -43,14 +43,14 @@ const PaymentDetailsCore = /*@__PURE__*/ proxyCustomElement(class PaymentDetails
|
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
45
|
var _a;
|
|
46
|
-
return (h(StyledHost, { key: '
|
|
47
|
-
this.payment && (h("justifi-details", { key: '
|
|
48
|
-
h(DetailSectionTitle, { key: '
|
|
49
|
-
h("div", { key: '
|
|
46
|
+
return (h(StyledHost, { key: '0c00d8b9511be884b5455156295adc5a16e90d68' }, this.loading && LoadingState(), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
|
|
47
|
+
this.payment && (h("justifi-details", { key: '84020bce088514c6922aa9f4c60fd36515b255f2', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: 'f86bc0807e905d95f92019a9f2e5431fa04f663d', slot: "head-info", badge: h("span", { slot: 'badge', innerHTML: MapPaymentStatusToBadge(this.payment.status) }), title: `${formatCurrency(this.payment.amount)} ${(_a = this.payment) === null || _a === void 0 ? void 0 : _a.currency.toUpperCase()}` }, h(EntityHeadInfoItem, { key: '44d62082ccbb3b99e97a4a43c697c4c9de643983', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payment.updated_at)} ${formatTime(this.payment.updated_at)}` }), h(EntityHeadInfoItem, { key: '20cbf3475cdc79e8160b7bee05cb1d7492bdbd22', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payment.created_at)} ${formatTime(this.payment.created_at)}` }), h(EntityHeadInfoItem, { key: 'bd008154f65e9133aa1d370f84925c5c0b15200b', title: "ID", value: this.payment.id })), h("div", { key: 'eba9206b8b934c5bf61d039640b6729bb7d1e61e', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '5f69927701e6295f339e071ce529e94870122c1c', sectionTitle: "Details" }), h("div", { key: 'd4dba46b241ba5ed150246f1d8dafcd64a9bb019', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '9fc3188f51f5ffb019f9253a62d962536a34d6cf', title: "Amount", value: formatCurrency(this.payment.amount) }), h(DetailItem, { key: '1c4e12cde8f7368f441d92cad4f3bcf1cc9e3d52', title: "Fees", value: formatCurrency(this.payment.fee_amount) }), h(DetailItem, { key: '9dc3a4d6c5911b48122e584cfaafee1d5ec757a8', title: "Refunded", value: formatCurrency(this.payment.amount_refunded) }), h(DetailItem, { key: 'a5fcb34e1af863504c4b54b024f2960e73bd9148', title: "Net", value: formatCurrency(this.payment.balance) }), h(DetailItem, { key: '2d7960988b5dfd90645c08399ceb658f33fb8e54', title: "Status", value: MapPaymentStatusToBadge(this.payment.status) }), h(DetailItem, { key: '92ae117d22f20074494a606af6eaca5b2cf51330', title: "Payment ID", value: this.payment.id }), h(DetailItem, { key: '65dccd244aaca65369e2402c41c34614f95bcdd7', title: "Processing Fees", value: formatCurrency(this.payment.fee_amount) }), h(DetailItem, { key: 'b0b2516b604b1b60358b50a02094948200e472a1', title: "Statement Descriptor", value: this.payment.statement_descriptor }), h(DetailItem, { key: 'd26d5d18b727831fa7d7f1cdc3dbcb5187170e9c', title: "Description", value: this.payment.description })), this.payment.payment_method.card && [
|
|
48
|
+
h(DetailSectionTitle, { key: '415d1b2d0861d3eaaed37914fee27677d36d7f04', sectionTitle: "Payment Method" }),
|
|
49
|
+
h("div", { key: '56f0388177528afc4ab8acee6b1b884b93c6eaa1', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '04aac1ae9748061527f58144593a1ebd35f4c697', title: "ID", value: this.payment.payment_method.card.id }), h(DetailItem, { key: '7a3e672ba11d55e9cafbda06ba141e7d9d489280', title: "Payment Type", value: "Card" }), h(DetailItem, { key: '03a1001268a22552cdf65e60a08fd45db21f471b', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: 'df62f6d86a93d7c32eabade0ce0be19439bee824', title: "Brand", value: snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), h(DetailItem, { key: 'f80a25dfa9351a409483901d7e8b4fb298562c04', title: "Cardholder", value: this.payment.payment_method.payersName }))
|
|
50
50
|
], this.payment.payment_method.bank_account && [
|
|
51
|
-
h(DetailSectionTitle, { key: '
|
|
52
|
-
h("div", { key: '
|
|
53
|
-
], h(DetailSectionTitle, { key: '
|
|
51
|
+
h(DetailSectionTitle, { key: '87d0832646aa0b72c1bf999f0faf35165f12b61d', sectionTitle: "Payment Method" }),
|
|
52
|
+
h("div", { key: 'f92a4413b6f156bc4205a51c69d082623ab4fdc0', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '437ca707e081f3f6a8c199044f8b5c3a8d5c64ce', title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { key: 'fb951661cc27c09858dbaa2819824fb67c026a3e', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: '34ef47bb23fc7c490afa84fdad3923ec371f954a', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { key: '0af5278b4449beb21e0c4e6af04f803e5b82dff7', title: "Account Owner", value: this.payment.payment_method.payersName }))
|
|
53
|
+
], h(DetailSectionTitle, { key: '9412b62344613441a40a9cd328e30eef2a024f6c', sectionTitle: 'Metadata' }), h("div", { key: '8553e41975e932bcb132284d3dcae576a21fedb7', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '328e6815791d601ffe68af891ed46e0aff8d28c0', metadata: this.payment.metadata })))))));
|
|
54
54
|
}
|
|
55
55
|
static get watchers() { return {
|
|
56
56
|
"getPaymentDetails": ["updateOnPropChange"]
|
|
@@ -2,10 +2,11 @@ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/
|
|
|
2
2
|
import { c as config } from './config.js';
|
|
3
3
|
import { P as PaymentMethodTypes } from './Payment.js';
|
|
4
4
|
import { d as defineCustomElement$2, P as PaymentMethodOption } from './saved-payment-method.js';
|
|
5
|
+
import { d as defineCustomElement$b } from './custom-popper2.js';
|
|
5
6
|
import { d as defineCustomElement$a } from './form-control-error-text2.js';
|
|
6
|
-
import { d as defineCustomElement$9 } from './form-control-
|
|
7
|
-
import { d as defineCustomElement$8 } from './form-control-
|
|
8
|
-
import { d as defineCustomElement$7 } from './form-control-
|
|
7
|
+
import { d as defineCustomElement$9 } from './form-control-select2.js';
|
|
8
|
+
import { d as defineCustomElement$8 } from './form-control-text2.js';
|
|
9
|
+
import { d as defineCustomElement$7 } from './form-control-tooltip2.js';
|
|
9
10
|
import { d as defineCustomElement$6 } from './billing-form.js';
|
|
10
11
|
import { d as defineCustomElement$5 } from './new-payment-method.js';
|
|
11
12
|
import { d as defineCustomElement$4 } from './payment-method-form.js';
|
|
@@ -78,7 +79,7 @@ const PaymentMethodOptions = /*@__PURE__*/ proxyCustomElement(class PaymentMetho
|
|
|
78
79
|
}
|
|
79
80
|
render() {
|
|
80
81
|
var _a;
|
|
81
|
-
return (h(Host, { key: '
|
|
82
|
+
return (h(Host, { key: '56916dc3ddab28b5518c917d980bc757169a814b' }, (_a = this.paymentMethodOptions) === null || _a === void 0 ? void 0 : _a.map((paymentMethodOption) => {
|
|
82
83
|
const newCard = paymentMethodOption.id === PaymentMethodTypes.card;
|
|
83
84
|
const newBankAccount = paymentMethodOption.id === PaymentMethodTypes.bankAccount;
|
|
84
85
|
const isSelected = this.selectedPaymentMethodId === paymentMethodOption.id;
|
|
@@ -134,29 +135,34 @@ function defineCustomElement() {
|
|
|
134
135
|
if (typeof customElements === "undefined") {
|
|
135
136
|
return;
|
|
136
137
|
}
|
|
137
|
-
const components = ["justifi-payment-method-options", "form-control-error-text", "form-control-
|
|
138
|
+
const components = ["justifi-payment-method-options", "custom-popper", "form-control-error-text", "form-control-select", "form-control-text", "form-control-tooltip", "justifi-billing-form", "justifi-new-payment-method", "justifi-payment-method-form", "justifi-save-new-payment-method", "justifi-saved-payment-method", "justifi-sezzle-payment-method"];
|
|
138
139
|
components.forEach(tagName => { switch (tagName) {
|
|
139
140
|
case "justifi-payment-method-options":
|
|
140
141
|
if (!customElements.get(tagName)) {
|
|
141
142
|
customElements.define(tagName, PaymentMethodOptions);
|
|
142
143
|
}
|
|
143
144
|
break;
|
|
145
|
+
case "custom-popper":
|
|
146
|
+
if (!customElements.get(tagName)) {
|
|
147
|
+
defineCustomElement$b();
|
|
148
|
+
}
|
|
149
|
+
break;
|
|
144
150
|
case "form-control-error-text":
|
|
145
151
|
if (!customElements.get(tagName)) {
|
|
146
152
|
defineCustomElement$a();
|
|
147
153
|
}
|
|
148
154
|
break;
|
|
149
|
-
case "form-control-
|
|
155
|
+
case "form-control-select":
|
|
150
156
|
if (!customElements.get(tagName)) {
|
|
151
157
|
defineCustomElement$9();
|
|
152
158
|
}
|
|
153
159
|
break;
|
|
154
|
-
case "form-control-
|
|
160
|
+
case "form-control-text":
|
|
155
161
|
if (!customElements.get(tagName)) {
|
|
156
162
|
defineCustomElement$8();
|
|
157
163
|
}
|
|
158
164
|
break;
|
|
159
|
-
case "form-control-
|
|
165
|
+
case "form-control-tooltip":
|
|
160
166
|
if (!customElements.get(tagName)) {
|
|
161
167
|
defineCustomElement$7();
|
|
162
168
|
}
|
|
@@ -22,7 +22,7 @@ const PaymentMethodSelector = /*@__PURE__*/ proxyCustomElement(class PaymentMeth
|
|
|
22
22
|
this.paymentMethodSelected.emit(event.target.value);
|
|
23
23
|
}
|
|
24
24
|
render() {
|
|
25
|
-
return (h("div", { key: '
|
|
25
|
+
return (h("div", { key: 'f35b731306676a504c8a13c3a7a19b6c20e2cb26', class: "btn-group jfi-btn-radio-group", role: "group", "aria-label": "Radio toggle group for payment method" }, this.paymentMethodTypes.map((paymentMethodType) => (h(Fragment, null, h("input", { id: paymentMethodType, type: "radio", name: "paymentMethodType", value: paymentMethodType, onChange: (event) => this.onChangeHandler(event), checked: this.selectedPaymentMethodType === paymentMethodType, class: "btn-check jfi-btn-radio" }), h("label", { htmlFor: paymentMethodType, class: "btn btn-outline-primary jfi-btn-radio-label" }, PaymentMethodLabels[paymentMethodType]))))));
|
|
26
26
|
}
|
|
27
27
|
static get style() { return JustifiPaymentMethodSelectorStyle0; }
|
|
28
28
|
}, [0, "justifi-payment-method-selector", {
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { c 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
5
|
import { S as StyledHost } from './styled-host.js';
|
|
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$
|
|
6
|
+
import { d as defineCustomElement$y } from './custom-popper2.js';
|
|
7
|
+
import { d as defineCustomElement$x } from './form-control-checkbox2.js';
|
|
8
|
+
import { d as defineCustomElement$w } from './form-control-date2.js';
|
|
9
|
+
import { d as defineCustomElement$v } from './form-control-error-text2.js';
|
|
10
|
+
import { d as defineCustomElement$u } from './form-control-file2.js';
|
|
11
|
+
import { d as defineCustomElement$t } from './form-control-help-text2.js';
|
|
12
|
+
import { d as defineCustomElement$s } from './form-control-monetary2.js';
|
|
13
|
+
import { d as defineCustomElement$r } from './form-control-number-masked2.js';
|
|
14
|
+
import { d as defineCustomElement$q } from './form-control-select2.js';
|
|
15
|
+
import { d as defineCustomElement$p } from './form-control-text2.js';
|
|
16
|
+
import { d as defineCustomElement$o } from './form-control-tooltip2.js';
|
|
15
17
|
import { d as defineCustomElement$n } from './business-additional-questions-form-step.js';
|
|
16
18
|
import { d as defineCustomElement$m } from './business-additional-questions-form-step-core.js';
|
|
17
19
|
import { d as defineCustomElement$l } from './business-bank-account-form-step.js';
|
|
@@ -146,54 +148,64 @@ function defineCustomElement() {
|
|
|
146
148
|
if (typeof customElements === "undefined") {
|
|
147
149
|
return;
|
|
148
150
|
}
|
|
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"];
|
|
151
|
+
const components = ["justifi-payment-provisioning-core", "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-form-buttons", "justifi-payment-provisioning-form-steps", "owner-form-core", "owner-form-inputs"];
|
|
150
152
|
components.forEach(tagName => { switch (tagName) {
|
|
151
153
|
case "justifi-payment-provisioning-core":
|
|
152
154
|
if (!customElements.get(tagName)) {
|
|
153
155
|
customElements.define(tagName, PaymentProvisioningCore);
|
|
154
156
|
}
|
|
155
157
|
break;
|
|
158
|
+
case "custom-popper":
|
|
159
|
+
if (!customElements.get(tagName)) {
|
|
160
|
+
defineCustomElement$y();
|
|
161
|
+
}
|
|
162
|
+
break;
|
|
156
163
|
case "form-control-checkbox":
|
|
157
164
|
if (!customElements.get(tagName)) {
|
|
158
|
-
defineCustomElement$
|
|
165
|
+
defineCustomElement$x();
|
|
159
166
|
}
|
|
160
167
|
break;
|
|
161
168
|
case "form-control-date":
|
|
162
169
|
if (!customElements.get(tagName)) {
|
|
163
|
-
defineCustomElement$
|
|
170
|
+
defineCustomElement$w();
|
|
164
171
|
}
|
|
165
172
|
break;
|
|
166
173
|
case "form-control-error-text":
|
|
167
174
|
if (!customElements.get(tagName)) {
|
|
168
|
-
defineCustomElement$
|
|
175
|
+
defineCustomElement$v();
|
|
169
176
|
}
|
|
170
177
|
break;
|
|
171
178
|
case "form-control-file":
|
|
172
179
|
if (!customElements.get(tagName)) {
|
|
173
|
-
defineCustomElement$
|
|
180
|
+
defineCustomElement$u();
|
|
174
181
|
}
|
|
175
182
|
break;
|
|
176
183
|
case "form-control-help-text":
|
|
177
184
|
if (!customElements.get(tagName)) {
|
|
178
|
-
defineCustomElement$
|
|
185
|
+
defineCustomElement$t();
|
|
179
186
|
}
|
|
180
187
|
break;
|
|
181
188
|
case "form-control-monetary":
|
|
182
189
|
if (!customElements.get(tagName)) {
|
|
183
|
-
defineCustomElement$
|
|
190
|
+
defineCustomElement$s();
|
|
184
191
|
}
|
|
185
192
|
break;
|
|
186
193
|
case "form-control-number-masked":
|
|
187
194
|
if (!customElements.get(tagName)) {
|
|
188
|
-
defineCustomElement$
|
|
195
|
+
defineCustomElement$r();
|
|
189
196
|
}
|
|
190
197
|
break;
|
|
191
198
|
case "form-control-select":
|
|
192
199
|
if (!customElements.get(tagName)) {
|
|
193
|
-
defineCustomElement$
|
|
200
|
+
defineCustomElement$q();
|
|
194
201
|
}
|
|
195
202
|
break;
|
|
196
203
|
case "form-control-text":
|
|
204
|
+
if (!customElements.get(tagName)) {
|
|
205
|
+
defineCustomElement$p();
|
|
206
|
+
}
|
|
207
|
+
break;
|
|
208
|
+
case "form-control-tooltip":
|
|
197
209
|
if (!customElements.get(tagName)) {
|
|
198
210
|
defineCustomElement$o();
|
|
199
211
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { c as BusinessFormClickActions } from './business-form-types.js';
|
|
3
3
|
import { B as Button } from './button.js';
|
|
4
4
|
|
|
5
5
|
const PaymentProvisioningFormButtons = /*@__PURE__*/ proxyCustomElement(class PaymentProvisioningFormButtons extends HTMLElement {
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
-
import { d as defineCustomElement$
|
|
3
|
-
import { d as defineCustomElement$
|
|
4
|
-
import { d as defineCustomElement$
|
|
5
|
-
import { d as defineCustomElement$
|
|
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$
|
|
2
|
+
import { d as defineCustomElement$w } from './custom-popper2.js';
|
|
3
|
+
import { d as defineCustomElement$v } from './form-control-checkbox2.js';
|
|
4
|
+
import { d as defineCustomElement$u } from './form-control-date2.js';
|
|
5
|
+
import { d as defineCustomElement$t } from './form-control-error-text2.js';
|
|
6
|
+
import { d as defineCustomElement$s } from './form-control-file2.js';
|
|
7
|
+
import { d as defineCustomElement$r } from './form-control-help-text2.js';
|
|
8
|
+
import { d as defineCustomElement$q } from './form-control-monetary2.js';
|
|
9
|
+
import { d as defineCustomElement$p } from './form-control-number-masked2.js';
|
|
10
|
+
import { d as defineCustomElement$o } from './form-control-select2.js';
|
|
11
|
+
import { d as defineCustomElement$n } from './form-control-text2.js';
|
|
12
|
+
import { d as defineCustomElement$m } from './form-control-tooltip2.js';
|
|
11
13
|
import { d as defineCustomElement$l } from './business-additional-questions-form-step.js';
|
|
12
14
|
import { d as defineCustomElement$k } from './business-additional-questions-form-step-core.js';
|
|
13
15
|
import { d as defineCustomElement$j } from './business-bank-account-form-step.js';
|
|
@@ -70,54 +72,64 @@ function defineCustomElement() {
|
|
|
70
72
|
if (typeof customElements === "undefined") {
|
|
71
73
|
return;
|
|
72
74
|
}
|
|
73
|
-
const components = ["justifi-payment-provisioning-form-steps", "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", "owner-form-core", "owner-form-inputs"];
|
|
75
|
+
const components = ["justifi-payment-provisioning-form-steps", "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", "owner-form-core", "owner-form-inputs"];
|
|
74
76
|
components.forEach(tagName => { switch (tagName) {
|
|
75
77
|
case "justifi-payment-provisioning-form-steps":
|
|
76
78
|
if (!customElements.get(tagName)) {
|
|
77
79
|
customElements.define(tagName, PaymentProvisioningFormSteps);
|
|
78
80
|
}
|
|
79
81
|
break;
|
|
82
|
+
case "custom-popper":
|
|
83
|
+
if (!customElements.get(tagName)) {
|
|
84
|
+
defineCustomElement$w();
|
|
85
|
+
}
|
|
86
|
+
break;
|
|
80
87
|
case "form-control-checkbox":
|
|
81
88
|
if (!customElements.get(tagName)) {
|
|
82
|
-
defineCustomElement$
|
|
89
|
+
defineCustomElement$v();
|
|
83
90
|
}
|
|
84
91
|
break;
|
|
85
92
|
case "form-control-date":
|
|
86
93
|
if (!customElements.get(tagName)) {
|
|
87
|
-
defineCustomElement$
|
|
94
|
+
defineCustomElement$u();
|
|
88
95
|
}
|
|
89
96
|
break;
|
|
90
97
|
case "form-control-error-text":
|
|
91
98
|
if (!customElements.get(tagName)) {
|
|
92
|
-
defineCustomElement$
|
|
99
|
+
defineCustomElement$t();
|
|
93
100
|
}
|
|
94
101
|
break;
|
|
95
102
|
case "form-control-file":
|
|
96
103
|
if (!customElements.get(tagName)) {
|
|
97
|
-
defineCustomElement$
|
|
104
|
+
defineCustomElement$s();
|
|
98
105
|
}
|
|
99
106
|
break;
|
|
100
107
|
case "form-control-help-text":
|
|
101
108
|
if (!customElements.get(tagName)) {
|
|
102
|
-
defineCustomElement$
|
|
109
|
+
defineCustomElement$r();
|
|
103
110
|
}
|
|
104
111
|
break;
|
|
105
112
|
case "form-control-monetary":
|
|
106
113
|
if (!customElements.get(tagName)) {
|
|
107
|
-
defineCustomElement$
|
|
114
|
+
defineCustomElement$q();
|
|
108
115
|
}
|
|
109
116
|
break;
|
|
110
117
|
case "form-control-number-masked":
|
|
111
118
|
if (!customElements.get(tagName)) {
|
|
112
|
-
defineCustomElement$
|
|
119
|
+
defineCustomElement$p();
|
|
113
120
|
}
|
|
114
121
|
break;
|
|
115
122
|
case "form-control-select":
|
|
116
123
|
if (!customElements.get(tagName)) {
|
|
117
|
-
defineCustomElement$
|
|
124
|
+
defineCustomElement$o();
|
|
118
125
|
}
|
|
119
126
|
break;
|
|
120
127
|
case "form-control-text":
|
|
128
|
+
if (!customElements.get(tagName)) {
|
|
129
|
+
defineCustomElement$n();
|
|
130
|
+
}
|
|
131
|
+
break;
|
|
132
|
+
case "form-control-tooltip":
|
|
121
133
|
if (!customElements.get(tagName)) {
|
|
122
134
|
defineCustomElement$m();
|
|
123
135
|
}
|
|
@@ -9,9 +9,9 @@ import { d as defineCustomElement$1, o as onFilterChange } from './table-filters
|
|
|
9
9
|
import { d as defineCustomElement$9 } from './custom-popper2.js';
|
|
10
10
|
import { d as defineCustomElement$8 } from './form-control-date2.js';
|
|
11
11
|
import { d as defineCustomElement$7 } from './form-control-error-text2.js';
|
|
12
|
-
import { d as defineCustomElement$6 } from './form-control-
|
|
13
|
-
import { d as defineCustomElement$5 } from './form-control-
|
|
14
|
-
import { d as defineCustomElement$4 } from './form-control-
|
|
12
|
+
import { d as defineCustomElement$6 } from './form-control-select2.js';
|
|
13
|
+
import { d as defineCustomElement$5 } from './form-control-text2.js';
|
|
14
|
+
import { d as defineCustomElement$4 } from './form-control-tooltip2.js';
|
|
15
15
|
import { d as defineCustomElement$3 } from './pagination-menu2.js';
|
|
16
16
|
import { d as defineCustomElement$2 } from './payments-list-filters2.js';
|
|
17
17
|
|
|
@@ -84,13 +84,13 @@ const PaymentsListCore = /*@__PURE__*/ proxyCustomElement(class PaymentsListCore
|
|
|
84
84
|
}
|
|
85
85
|
get columnData() {
|
|
86
86
|
return [
|
|
87
|
-
['
|
|
87
|
+
['Date', 'The date and time each payment was made'],
|
|
88
88
|
['Amount', 'The dollar amount of each payment'],
|
|
89
|
+
['Status', 'The current status of each payment'],
|
|
90
|
+
['Type', 'The type of each payment'],
|
|
89
91
|
['Description', 'The payment description, if you provided one'],
|
|
90
|
-
['
|
|
92
|
+
['Account Holder', 'The name associated with the payment method'],
|
|
91
93
|
['Payment Method', 'The brand and last 4 digits of the payment method'],
|
|
92
|
-
['Status', 'The current status of each payment'],
|
|
93
|
-
['Payment ID', 'The unique identifier of each payment'],
|
|
94
94
|
];
|
|
95
95
|
}
|
|
96
96
|
get rowData() {
|
|
@@ -102,15 +102,15 @@ const PaymentsListCore = /*@__PURE__*/ proxyCustomElement(class PaymentsListCore
|
|
|
102
102
|
<div class="fw-bold">${formatTime(payment.created_at)}</div>
|
|
103
103
|
`,
|
|
104
104
|
},
|
|
105
|
-
formatCurrency(payment.amount),
|
|
106
|
-
payment.description,
|
|
107
|
-
payment.payment_method.payersName,
|
|
108
|
-
payment.payment_method.lastFourDigits,
|
|
105
|
+
formatCurrency(payment.amount, true, true),
|
|
109
106
|
{
|
|
110
107
|
type: 'inner',
|
|
111
108
|
value: MapPaymentStatusToBadge(payment.status),
|
|
112
109
|
},
|
|
113
|
-
payment.
|
|
110
|
+
payment.paymentType,
|
|
111
|
+
payment.description,
|
|
112
|
+
payment.payment_method.payersName,
|
|
113
|
+
payment.payment_method.lastFourDigits,
|
|
114
114
|
]);
|
|
115
115
|
}
|
|
116
116
|
get showEmptyState() {
|
|
@@ -124,7 +124,7 @@ const PaymentsListCore = /*@__PURE__*/ proxyCustomElement(class PaymentsListCore
|
|
|
124
124
|
}
|
|
125
125
|
render() {
|
|
126
126
|
var _a, _b;
|
|
127
|
-
return (h(StyledHost, { key: '
|
|
127
|
+
return (h(StyledHost, { key: 'c9b7ac6aadf6ff3e3c913ca3c35fb656665e79ec', exportparts: tableExportedParts }, h("payments-list-filters", { key: '36e602e9e8f607834f33a774fd171904592d28bb', params: this.params, setParamsOnChange: this.setParamsOnChange, clearParams: this.clearParams }), h("div", { key: '8ec5781a7884f9e785bc02dcc1037148a7553d1f', class: "table-wrapper" }, h("table", { key: 'b6f23a3e7f3d33839f72f76eaf388dc4b665fa5d', class: "table table-hover" }, h("thead", { key: 'eddf66479fe049392aa839786785f6e422e34292', class: "table-head sticky-top", part: "table-head" }, h("tr", { key: '5753f6b0f1ff3c860019398dd2e37be00720eee0', class: "table-light text-nowrap", part: "table-head-row" }, (_a = this.columnData) === null || _a === void 0 ? void 0 : _a.map((column) => (h("th", { part: "table-head-cell", scope: "col", title: Array.isArray(column) ? column[1] : "" }, !Array.isArray(column) ? column : column[0]))))), h("tbody", { key: '509aadeae776e891e06b8a558ddbdffd61109bef', class: "table-body", part: "table-body" }, h(TableLoadingState, { key: '7cdbec5333849e8430ff437a58282e83674f3a9f', columnSpan: this.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: 'e57c861b6c2628a9d7f5f0349ec16ddf25319352', isEmpty: this.showEmptyState, columnSpan: this.columnData.length }), h(TableErrorState, { key: 'e904618285b0ed49cd49976f3feb7184aff5649a', columnSpan: this.columnData.length, errorMessage: this.errorMessage }), this.showRowData &&
|
|
128
128
|
this.rowData.map((data, index) => (h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler, part: `table-row ${index % 2 ? "table-row-even" : "table-row-odd"}` }, data.map((dataEntry) => {
|
|
129
129
|
let nestedHtml = dataEntry === null || dataEntry === void 0 ? void 0 : dataEntry.type;
|
|
130
130
|
if (nestedHtml) {
|
|
@@ -133,7 +133,7 @@ const PaymentsListCore = /*@__PURE__*/ proxyCustomElement(class PaymentsListCore
|
|
|
133
133
|
else {
|
|
134
134
|
return h("td", { part: "table-cell" }, dataEntry);
|
|
135
135
|
}
|
|
136
|
-
}))))), this.paging && (h("tfoot", { key: '
|
|
136
|
+
}))))), this.paging && (h("tfoot", { key: '5be3c247a0f19ccb4463ece1d7e2f973cd00162a', class: "sticky-bottom" }, h("tr", { key: '41714e1fca135c22a849983e71c1a93d7a6330e9', class: "table-light align-middle" }, h("td", { key: '8af7acb966f43f353c7590ab02525c9f3e01b379', part: "pagination-bar", colSpan: (_b = this.columnData) === null || _b === void 0 ? void 0 : _b.length }, h("pagination-menu", { key: 'e6ec8d634dfd8dca68e8a9e1fc41782046f2115a', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }), params: this.params })))))))));
|
|
137
137
|
}
|
|
138
138
|
static get watchers() { return {
|
|
139
139
|
"params": ["updateOnPropChange"],
|
|
@@ -154,7 +154,7 @@ function defineCustomElement() {
|
|
|
154
154
|
if (typeof customElements === "undefined") {
|
|
155
155
|
return;
|
|
156
156
|
}
|
|
157
|
-
const components = ["payments-list-core", "custom-popper", "form-control-date", "form-control-error-text", "form-control-
|
|
157
|
+
const components = ["payments-list-core", "custom-popper", "form-control-date", "form-control-error-text", "form-control-select", "form-control-text", "form-control-tooltip", "pagination-menu", "payments-list-filters", "table-filters-menu"];
|
|
158
158
|
components.forEach(tagName => { switch (tagName) {
|
|
159
159
|
case "payments-list-core":
|
|
160
160
|
if (!customElements.get(tagName)) {
|
|
@@ -176,17 +176,17 @@ function defineCustomElement() {
|
|
|
176
176
|
defineCustomElement$7();
|
|
177
177
|
}
|
|
178
178
|
break;
|
|
179
|
-
case "form-control-
|
|
179
|
+
case "form-control-select":
|
|
180
180
|
if (!customElements.get(tagName)) {
|
|
181
181
|
defineCustomElement$6();
|
|
182
182
|
}
|
|
183
183
|
break;
|
|
184
|
-
case "form-control-
|
|
184
|
+
case "form-control-text":
|
|
185
185
|
if (!customElements.get(tagName)) {
|
|
186
186
|
defineCustomElement$5();
|
|
187
187
|
}
|
|
188
188
|
break;
|
|
189
|
-
case "form-control-
|
|
189
|
+
case "form-control-tooltip":
|
|
190
190
|
if (!customElements.get(tagName)) {
|
|
191
191
|
defineCustomElement$4();
|
|
192
192
|
}
|