@justifi/webcomponents 4.19.3-rc-2 → 4.20.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-adc90fc6.js → Analytics-03981aad.js} +4 -3
- package/dist/cjs/{Api-3bc6e43f.js → Api-b98b256f.js} +3 -3
- package/dist/cjs/{Business-aacbe893.js → Business-aa799fec.js} +104 -9
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +1 -1
- package/dist/cjs/{business-additional-questions-schema-cf545610.js → business-additional-questions-schema-26b0eecb.js} +1 -1
- package/dist/cjs/business-details-core.cjs.entry.js +1 -1
- package/dist/cjs/{business-form-options-582467fe.js → business-form-options-5db0bd5e.js} +2 -2
- package/dist/cjs/{payload-parsers-1cbc3b57.js → business-identity-schema-503ecb77.js} +1 -47
- package/dist/cjs/{business.service-090a21e1.js → business.service-031c0084.js} +7 -6
- package/dist/cjs/check-pkg-version-89d6d146.js +24 -0
- package/dist/cjs/config-05767cba.js +15 -0
- package/dist/cjs/custom-popper.cjs.entry.js +1894 -0
- package/dist/cjs/form-alert_5.cjs.entry.js +2 -2
- package/dist/cjs/form-control-checkbox_9.cjs.entry.js +26 -26
- package/dist/cjs/form-control-date_3.cjs.entry.js +4 -4
- package/dist/cjs/form-control-error-text_4.cjs.entry.js +9 -9
- package/dist/cjs/{get-payout-csv-238e839a.js → get-payout-csv-3a3260ec.js} +5 -4
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-additional-questions-form-step_10.cjs.entry.js +15 -14
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +6 -5
- package/dist/cjs/justifi-billing-form_2.cjs.entry.js +4 -4
- package/dist/cjs/justifi-business-details.cjs.entry.js +8 -5
- package/dist/cjs/justifi-business-form.cjs.entry.js +17 -14
- package/dist/cjs/justifi-card-form.cjs.entry.js +6 -5
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +5 -5
- package/dist/cjs/justifi-checkout.cjs.entry.js +10 -7
- package/dist/cjs/justifi-details.cjs.entry.js +1 -1
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +7 -4
- package/dist/cjs/justifi-new-payment-method_4.cjs.entry.js +10 -12
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +12 -11
- package/dist/cjs/justifi-payment-details.cjs.entry.js +7 -4
- package/dist/cjs/justifi-payment-form.cjs.entry.js +11 -8
- package/dist/cjs/justifi-payment-method-form.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +9 -6
- package/dist/cjs/justifi-payments-list.cjs.entry.js +7 -4
- package/dist/cjs/justifi-payout-details.cjs.entry.js +7 -4
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +7 -4
- package/dist/cjs/justifi-refund-form.cjs.entry.js +5 -4
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +9 -6
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-22d30c5d.js → package-7fdd14b9.js} +4 -2
- package/dist/cjs/payment-details-core.cjs.entry.js +2 -2
- package/dist/cjs/{payment.service-c92635c8.js → payment.service-4b1c0a20.js} +4 -3
- package/dist/cjs/payments-list-core.cjs.entry.js +18 -13
- package/dist/cjs/payments-list-filters_2.cjs.entry.js +17266 -0
- package/dist/cjs/payout-details-core.cjs.entry.js +3 -3
- package/dist/cjs/payouts-list-core.cjs.entry.js +4 -4
- package/dist/cjs/{schema-validations-2733de42.js → schema-validations-0a7e46a3.js} +1 -1
- package/dist/cjs/styled-host-9e0b67b3.js +14 -0
- package/dist/cjs/{utils-89d86e29.js → utils-af1b60a9.js} +0 -16
- package/dist/cjs/utils-f8a6962c.js +25 -0
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/Api.js +3 -3
- package/dist/collection/api/Business.js +66 -7
- package/dist/collection/api/Identity.js +39 -3
- package/dist/collection/api/services/analytics.service.js +2 -1
- package/dist/collection/api/services/business.service.js +6 -5
- package/dist/collection/api/services/checkout.service.js +3 -2
- package/dist/collection/api/services/insurance.service.js +3 -2
- package/dist/collection/api/services/payment.service.js +3 -2
- package/dist/collection/api/services/payout.service.js +4 -3
- package/dist/collection/api/services/provision.service.js +2 -1
- package/dist/collection/api/services/reports.service.js +2 -1
- package/dist/collection/collection-manifest.json +4 -1
- package/dist/collection/components/bank-account-form/bank-account-form.js +4 -3
- package/dist/collection/components/business-details/business-details.js +2 -0
- package/dist/collection/components/business-forms/business-form/business-form.js +7 -5
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +4 -5
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +3 -3
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +4 -3
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +3 -5
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +3 -3
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +3 -4
- package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.js +4 -3
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +3 -4
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +3 -1
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +4 -3
- package/dist/collection/components/business-forms/utils/business-form-options.js +1 -1
- package/dist/collection/components/card-form/card-form.js +4 -3
- package/dist/collection/components/checkout/checkout-core.js +4 -4
- package/dist/collection/components/checkout/checkout.js +4 -2
- package/dist/collection/components/checkout/new-payment-method.js +4 -6
- package/dist/collection/components/checkout/payment-method-options.js +4 -3
- package/dist/collection/components/checkout/saved-payment-method.js +4 -3
- package/dist/collection/components/checkout/sezzle-payment-method.js +4 -3
- package/dist/collection/components/form/form-control-date.js +26 -28
- package/dist/collection/components/form/form-control-select.js +45 -45
- package/dist/collection/components/form/form-control-text.js +34 -34
- package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +2 -0
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +3 -1
- package/dist/collection/components/payment-details/payment-details.js +2 -0
- package/dist/collection/components/payment-form/payment-form.js +6 -3
- package/dist/collection/components/payments-list/payments-list-core.js +14 -9
- package/dist/collection/components/payments-list/payments-list-filters.js +84 -0
- package/dist/collection/components/payments-list/payments-list.js +2 -0
- package/dist/collection/components/payout-details/payout-details-core.js +1 -1
- package/dist/collection/components/payout-details/payout-details.js +2 -0
- package/dist/collection/components/payouts-list/payouts-list-core.js +2 -2
- package/dist/collection/components/payouts-list/payouts-list.js +2 -0
- package/dist/collection/components/refund-form/refund-form.js +3 -2
- package/dist/collection/ui-components/custom-popper/custom-popper.js +239 -0
- package/dist/collection/ui-components/filters/table-filters-menu.js +89 -0
- package/dist/collection/ui-components/filters/utils.js +20 -0
- package/dist/collection/utils/check-pkg-version.js +19 -0
- package/dist/config.js +11 -0
- package/dist/docs.json +531 -27
- package/dist/{webcomponents/p-15eafa87.js → esm/Analytics-3103f8e9.js} +4 -3
- package/dist/esm/{Api-b09a2f6a.js → Api-c8abc2e0.js} +3 -3
- package/dist/esm/{Business-e218b4f4.js → Business-b73d5055.js} +104 -9
- package/dist/esm/additional-questions-details_5.entry.js +1 -1
- package/dist/esm/{business-additional-questions-schema-956e3caf.js → business-additional-questions-schema-a5583cf8.js} +1 -1
- package/dist/esm/business-details-core.entry.js +1 -1
- package/dist/esm/{business-form-options-7a9a74fc.js → business-form-options-d790973e.js} +2 -2
- package/dist/esm/{payload-parsers-acb719d1.js → business-identity-schema-9e3269fb.js} +2 -44
- package/dist/esm/{business.service-37d0cc72.js → business.service-1f589b6e.js} +7 -6
- package/dist/esm/check-pkg-version-44e6ad15.js +22 -0
- package/dist/esm/config-27764a9d.js +13 -0
- package/dist/esm/custom-popper.entry.js +1890 -0
- package/dist/esm/form-alert_5.entry.js +2 -2
- package/dist/esm/form-control-checkbox_9.entry.js +21 -21
- package/dist/esm/form-control-date_3.entry.js +4 -4
- package/dist/esm/form-control-error-text_4.entry.js +9 -9
- package/dist/esm/{get-payout-csv-a702a0d9.js → get-payout-csv-93427146.js} +5 -4
- package/dist/esm/gross-payment-chart-core.entry.js +1 -1
- package/dist/esm/justifi-additional-questions-form-step_10.entry.js +15 -14
- package/dist/esm/justifi-bank-account-form.entry.js +6 -5
- package/dist/esm/justifi-billing-form_2.entry.js +4 -4
- package/dist/esm/justifi-business-details.entry.js +8 -5
- package/dist/esm/justifi-business-form.entry.js +16 -13
- package/dist/esm/justifi-card-form.entry.js +6 -5
- package/dist/esm/justifi-checkout-core.entry.js +5 -5
- package/dist/esm/justifi-checkout.entry.js +10 -7
- package/dist/esm/justifi-details.entry.js +1 -1
- package/dist/esm/justifi-gross-payment-chart.entry.js +7 -4
- package/dist/esm/justifi-new-payment-method_4.entry.js +10 -12
- package/dist/esm/justifi-owner-form_3.entry.js +11 -10
- package/dist/esm/justifi-payment-details.entry.js +7 -4
- package/dist/esm/justifi-payment-form.entry.js +11 -8
- package/dist/esm/justifi-payment-method-form.entry.js +2 -2
- package/dist/esm/justifi-payment-provisioning-core.entry.js +1 -1
- package/dist/esm/justifi-payment-provisioning.entry.js +9 -6
- package/dist/esm/justifi-payments-list.entry.js +7 -4
- package/dist/esm/justifi-payout-details.entry.js +7 -4
- package/dist/esm/justifi-payouts-list.entry.js +7 -4
- package/dist/esm/justifi-refund-form.entry.js +5 -4
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +2 -2
- package/dist/esm/justifi-season-interruption-insurance.entry.js +9 -6
- package/dist/esm/loader.js +1 -1
- package/dist/{webcomponents/p-2e8f4937.js → esm/package-0e3cc41e.js} +4 -2
- package/dist/esm/payment-details-core.entry.js +2 -2
- package/dist/esm/{payment.service-9359fe15.js → payment.service-02c596b9.js} +4 -3
- package/dist/esm/payments-list-core.entry.js +16 -11
- package/dist/esm/payments-list-filters_2.entry.js +17261 -0
- package/dist/esm/payout-details-core.entry.js +3 -3
- package/dist/esm/payouts-list-core.entry.js +4 -4
- package/dist/esm/{schema-validations-a83ff220.js → schema-validations-e725d701.js} +2 -2
- package/dist/esm/styled-host-3171ae1f.js +12 -0
- package/dist/esm/utils-3a4d8f3a.js +22 -0
- package/dist/{webcomponents/p-83125497.js → esm/utils-e66d8bca.js} +1 -16
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Analytics.js +2 -1
- package/dist/module/Api.js +3 -3
- package/dist/module/Business.js +104 -9
- package/dist/module/business-additional-questions-form-step-core.js +3 -3
- package/dist/module/business-bank-account-form-step.js +4 -3
- package/dist/module/business-core-info-form-step-core.js +3 -5
- package/dist/module/business-document-upload-form-step.js +4 -3
- package/dist/module/business-document-upload-input-group.js +1 -1
- package/dist/module/business-documents-on-file.js +1 -1
- package/dist/module/business-form-options.js +1 -1
- package/dist/module/business-owners-form-step-core.js +3 -3
- package/dist/module/business-representative-form-step-core.js +3 -4
- package/dist/module/business-terms-conditions-form-step.js +4 -3
- package/dist/module/business.service.js +6 -5
- package/dist/module/check-pkg-version.js +22 -0
- package/dist/module/checkout-core.js +3 -3
- package/dist/module/config.js +13 -0
- package/dist/module/custom-popper.d.ts +11 -0
- package/dist/module/custom-popper.js +6 -0
- package/dist/module/custom-popper2.js +1912 -0
- package/dist/module/form-control-date2.js +7 -7
- package/dist/module/form-control-select2.js +9 -9
- package/dist/module/form-control-text2.js +7 -7
- package/dist/module/get-payout-csv.js +4 -3
- package/dist/module/justifi-bank-account-form.js +3 -2
- package/dist/module/justifi-business-details.js +2 -0
- package/dist/module/justifi-business-form.js +7 -5
- package/dist/module/justifi-card-form.js +3 -2
- package/dist/module/justifi-checkout.js +7 -4
- package/dist/module/justifi-gross-payment-chart.js +4 -1
- package/dist/module/justifi-payment-details.js +2 -0
- package/dist/module/justifi-payment-form.js +6 -3
- package/dist/module/justifi-payment-provisioning.js +5 -2
- package/dist/module/justifi-payments-list.js +42 -10
- package/dist/module/justifi-payout-details.js +2 -0
- package/dist/module/justifi-payouts-list.js +2 -0
- package/dist/module/justifi-refund-form.js +3 -2
- package/dist/module/justifi-season-interruption-insurance.js +6 -3
- package/dist/module/legal-address-form-step-core.js +3 -4
- package/dist/module/new-payment-method.js +3 -5
- package/dist/module/owner-form-core2.js +4 -5
- package/dist/module/package.js +4 -2
- package/dist/module/payment-details-core2.js +1 -1
- package/dist/module/payment-method-options.js +3 -2
- package/dist/module/payment.service.js +3 -2
- package/dist/module/payments-list-core2.js +52 -18
- package/dist/module/payments-list-filters.d.ts +11 -0
- package/dist/module/payments-list-filters.js +6 -0
- package/dist/module/payments-list-filters2.js +17294 -0
- package/dist/module/payout-details-core2.js +2 -2
- package/dist/module/payouts-list-core2.js +3 -3
- package/dist/module/saved-payment-method.js +4 -3
- package/dist/module/sezzle-payment-method.js +3 -2
- package/dist/module/styled-host.js +1 -1
- package/dist/module/table-filters-menu.d.ts +11 -0
- package/dist/module/table-filters-menu.js +6 -0
- package/dist/module/table-filters-menu2.js +80 -0
- package/dist/module/utils2.js +1 -16
- package/dist/types/api/Business.d.ts +87 -1
- package/dist/types/api/Identity.d.ts +45 -1
- package/dist/types/api/Payment.d.ts +8 -0
- package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +44 -1
- package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.d.ts +11 -1
- package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +11 -1
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +24 -1
- package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +11 -1
- package/dist/types/components/checkout/new-payment-method.d.ts +0 -1
- package/dist/types/components/form/form-control-date.d.ts +4 -4
- package/dist/types/components/form/form-control-select.d.ts +6 -6
- package/dist/types/components/form/form-control-text.d.ts +4 -4
- package/dist/types/components/payments-list/payments-list-core.d.ts +6 -5
- package/dist/types/components/payments-list/payments-list-filters.d.ts +13 -0
- package/dist/types/components.d.ts +89 -10
- package/dist/types/home/runner/work/web-component-library/web-component-library/packages/webcomponents/.stencil/packages/webcomponents/config.d.ts +11 -0
- package/dist/types/ui-components/custom-popper/custom-popper.d.ts +21 -0
- package/dist/types/ui-components/filters/table-filters-menu.d.ts +11 -0
- package/dist/types/ui-components/filters/utils.d.ts +2 -0
- package/dist/types/utils/check-pkg-version.d.ts +1 -0
- package/dist/webcomponents/index.esm.js +0 -1
- package/dist/webcomponents/p-056e75be.entry.js +1 -0
- package/dist/webcomponents/p-05718341.entry.js +1 -0
- package/dist/webcomponents/p-08b0fb31.js +1 -41
- package/dist/webcomponents/p-0de026dd.entry.js +1 -0
- package/dist/webcomponents/p-0e84986e.entry.js +10 -0
- package/dist/webcomponents/p-0f7b9555.entry.js +1 -0
- package/dist/webcomponents/p-14c91ffd.js +1 -20
- package/dist/webcomponents/p-1612894d.js +1 -0
- package/dist/webcomponents/p-1815a43b.js +1 -0
- package/dist/webcomponents/p-1ad5995e.js +1 -3599
- package/dist/webcomponents/p-1eee25f3.entry.js +19 -0
- package/dist/webcomponents/p-1ff8810b.js +1 -29
- package/dist/webcomponents/p-20dafb46.entry.js +1 -0
- package/dist/webcomponents/p-2338affa.js +1 -213
- package/dist/webcomponents/p-277aee05.js +1 -0
- package/dist/webcomponents/p-2b6c9c4f.js +1 -7
- package/dist/webcomponents/p-2c51d29f.js +1 -0
- package/dist/webcomponents/p-2eab3c90.js +1 -3052
- package/dist/webcomponents/p-3a1f19f3.entry.js +1 -0
- package/dist/webcomponents/p-3c7fac29.entry.js +1 -0
- package/dist/webcomponents/p-401d6607.js +1 -0
- package/dist/webcomponents/p-428e9b64.entry.js +1 -0
- package/dist/webcomponents/p-430f81c6.entry.js +1 -0
- package/dist/webcomponents/p-437f9114.js +1 -0
- package/dist/webcomponents/p-44055818.js +1 -0
- package/dist/webcomponents/p-4628cc9b.entry.js +1 -0
- package/dist/webcomponents/p-4cc9df76.entry.js +1 -0
- package/dist/webcomponents/p-5022f21c.js +1 -0
- package/dist/webcomponents/p-525db3e8.js +1 -22
- package/dist/webcomponents/p-55182a59.js +1 -0
- package/dist/webcomponents/p-5540a47c.entry.js +1 -0
- package/dist/webcomponents/p-56f6ce4c.js +1 -10
- package/dist/webcomponents/p-570a0f02.entry.js +1 -0
- package/dist/webcomponents/p-5968ff8a.js +1 -178
- package/dist/webcomponents/p-59cf5391.entry.js +1 -0
- package/dist/webcomponents/p-5a62fca2.js +1 -0
- package/dist/webcomponents/p-5e2c9ec8.js +1 -0
- package/dist/webcomponents/p-5e7c60d8.js +1 -0
- package/dist/webcomponents/p-6078a370.js +1 -244
- package/dist/webcomponents/p-6ac806ff.entry.js +1 -0
- package/dist/webcomponents/p-7bdffc78.entry.js +1 -0
- package/dist/webcomponents/p-7d3be485.js +1 -0
- package/dist/webcomponents/p-7d85af5c.js +1 -16
- package/dist/webcomponents/p-7ddfce86.entry.js +1 -0
- package/dist/webcomponents/p-7fe67d7f.entry.js +1 -0
- package/dist/webcomponents/p-7ff329b1.js +1 -0
- package/dist/webcomponents/p-804c0f1f.entry.js +1 -0
- package/dist/webcomponents/p-8115b2f4.js +1 -28
- package/dist/webcomponents/p-8281f09a.js +1 -0
- package/dist/webcomponents/p-8921a478.entry.js +1 -0
- package/dist/webcomponents/p-8a7112a0.entry.js +1 -0
- package/dist/webcomponents/p-8c83b73e.entry.js +1 -0
- package/dist/webcomponents/p-8d03a7bd.entry.js +1 -0
- package/dist/webcomponents/p-8df7bde8.js +1 -27
- package/dist/webcomponents/p-938bf2b4.entry.js +1 -0
- package/dist/webcomponents/p-9b154d98.entry.js +1 -0
- package/dist/webcomponents/p-9c9c7dac.js +1 -24
- package/dist/webcomponents/p-ad47f37c.entry.js +1 -0
- package/dist/webcomponents/p-aedb421f.entry.js +1 -0
- package/dist/webcomponents/p-b14da2fd.entry.js +1 -0
- package/dist/webcomponents/p-bbed6107.entry.js +1 -0
- package/dist/webcomponents/p-bdc91c61.entry.js +1 -0
- package/dist/webcomponents/p-c64ce69d.entry.js +1 -0
- package/dist/webcomponents/p-d76002d5.entry.js +1 -0
- package/dist/webcomponents/p-d8355f91.entry.js +1 -0
- package/dist/webcomponents/p-d89bad72.js +1 -39
- package/dist/webcomponents/p-da1d174d.entry.js +1 -0
- package/dist/webcomponents/p-dbc1d7b3.entry.js +1 -0
- package/dist/webcomponents/p-dce846bf.js +1 -27
- package/dist/webcomponents/p-df21aaad.js +1 -120
- package/dist/webcomponents/p-e1255160.js +1 -3
- package/dist/webcomponents/p-e2c88817.entry.js +1 -0
- package/dist/webcomponents/p-e31f0f3e.entry.js +1 -0
- package/dist/webcomponents/p-e333620e.js +1 -34
- package/dist/webcomponents/p-e3f4a2a6.js +1 -0
- package/dist/webcomponents/p-e3fab0e2.js +1 -43
- package/dist/webcomponents/p-eea79a55.entry.js +1 -0
- package/dist/webcomponents/p-f0866375.entry.js +1 -0
- package/dist/webcomponents/p-f6a2dc78.entry.js +1 -0
- package/dist/webcomponents/p-fad19d75.js +2 -1638
- package/dist/webcomponents/webcomponents.css +4 -362
- package/dist/webcomponents/webcomponents.esm.js +1 -20
- package/package.json +4 -2
- package/dist/cjs/styled-host-cc053016.js +0 -14
- package/dist/collection/components/business-forms/utils/payload-parsers.js +0 -41
- package/dist/esm/Analytics-a8eb7344.js +0 -77
- package/dist/esm/package-ccb774a9.js +0 -79
- package/dist/esm/styled-host-ab9da520.js +0 -12
- package/dist/esm/utils-3c1dd2fa.js +0 -4027
- package/dist/module/payload-parsers.js +0 -43
- package/dist/types/components/business-forms/utils/payload-parsers.d.ts +0 -4
- package/dist/webcomponents/p-01a404ca.entry.js +0 -44
- package/dist/webcomponents/p-03d35880.entry.js +0 -130
- package/dist/webcomponents/p-06ff0429.entry.js +0 -65
- package/dist/webcomponents/p-0e1bc91e.js +0 -28
- package/dist/webcomponents/p-10875f3d.entry.js +0 -97
- package/dist/webcomponents/p-157acba8.entry.js +0 -98
- package/dist/webcomponents/p-18fa0479.entry.js +0 -131
- package/dist/webcomponents/p-1a5120f4.entry.js +0 -145
- package/dist/webcomponents/p-24dc023a.entry.js +0 -791
- package/dist/webcomponents/p-25d8cd65.entry.js +0 -102
- package/dist/webcomponents/p-27d87fe2.entry.js +0 -133
- package/dist/webcomponents/p-29c0b182.js +0 -114
- package/dist/webcomponents/p-3395e896.entry.js +0 -74
- package/dist/webcomponents/p-3fd13ca3.js +0 -52
- package/dist/webcomponents/p-47d79529.js +0 -18
- package/dist/webcomponents/p-53ecc8b9.entry.js +0 -261
- package/dist/webcomponents/p-5482d030.entry.js +0 -21
- package/dist/webcomponents/p-576826b1.entry.js +0 -43
- package/dist/webcomponents/p-5f835b89.entry.js +0 -606
- package/dist/webcomponents/p-6124b1b3.entry.js +0 -80
- package/dist/webcomponents/p-70a2aa74.entry.js +0 -76
- package/dist/webcomponents/p-7582b554.entry.js +0 -18
- package/dist/webcomponents/p-75fd6367.entry.js +0 -149
- package/dist/webcomponents/p-79646550.entry.js +0 -61
- package/dist/webcomponents/p-800d31fe.entry.js +0 -162
- package/dist/webcomponents/p-85fc69e5.js +0 -90
- package/dist/webcomponents/p-89887332.js +0 -301
- package/dist/webcomponents/p-8eb774df.entry.js +0 -54
- package/dist/webcomponents/p-9e17630d.entry.js +0 -1684
- package/dist/webcomponents/p-9f94bbb6.entry.js +0 -118
- package/dist/webcomponents/p-a4e8573e.entry.js +0 -94
- package/dist/webcomponents/p-a5a225d9.entry.js +0 -125
- package/dist/webcomponents/p-a5fb51dc.entry.js +0 -131
- package/dist/webcomponents/p-ab4816e1.entry.js +0 -117
- package/dist/webcomponents/p-ac086069.entry.js +0 -58
- package/dist/webcomponents/p-af244664.js +0 -126
- package/dist/webcomponents/p-b4b8b531.js +0 -44
- package/dist/webcomponents/p-b82c146f.entry.js +0 -111
- package/dist/webcomponents/p-ba4bae6f.js +0 -12
- package/dist/webcomponents/p-ba5fae28.js +0 -90
- package/dist/webcomponents/p-bd66f9d2.entry.js +0 -101
- package/dist/webcomponents/p-cc39384f.entry.js +0 -99
- package/dist/webcomponents/p-d17aee2b.entry.js +0 -26
- package/dist/webcomponents/p-dad3e069.entry.js +0 -298
- package/dist/webcomponents/p-e1e7525b.entry.js +0 -73
- package/dist/webcomponents/p-e356f280.entry.js +0 -29
- package/dist/webcomponents/p-e9a5cb95.entry.js +0 -94
- package/dist/webcomponents/p-ec854a3e.entry.js +0 -11053
- package/dist/webcomponents/p-edc37d1f.entry.js +0 -75
- package/dist/webcomponents/p-f02b75dc.entry.js +0 -96
- package/dist/{globals.d.ts → types/global.d.ts} +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as r,c as o}from"./p-fad19d75.js";import{c as a,F as t}from"./p-2eab3c90.js";import{u as d,l as i,k as c,m as f,n as s,q as l}from"./p-5022f21c.js";import{S as n}from"./p-6078a370.js";import{n as b}from"./p-8df7bde8.js";import{S as m}from"./p-44055818.js";import"./p-1815a43b.js";import"./p-5e7c60d8.js";import"./p-1ff8810b.js";const h=a({name:d.required("Enter full name"),address_line1:i.required("Enter street address"),address_line2:c.nullable(),address_city:f.required("Enter city"),address_state:s.required("Select state"),address_postal_code:l.required("Enter postal code")}),p=class{constructor(r){e(this,r),this.inputHandler=(e,r)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[e]:r}))},this.legend=void 0,this.formController=void 0,this.billingInfo=void 0,this.errors={}}componentWillLoad(){this.formController=new t(h)}componentDidLoad(){this.formController.values.subscribe((e=>this.billingInfo=Object.assign({},e))),this.formController.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}async getValues(){return this.formController.values.getValue()}async fill(e){this.formController.setInitialValues(e)}async validate(){return{isValid:await this.formController.validate()}}render(){const e=this.formController.getInitialValues();return r(m,{key:"b08094d3c44d35cdb3c21b4bc360dbbee19d7d15",exportparts:"label,input,input-invalid"},r("form",{key:"392538a781ffa2ac299cbc4203bab5efd10e77cc"},r("fieldset",{key:"f4b5a5ec9a91e9f50a3847c5eb16635c4f9d569a"},this.legend&&r("legend",{key:"eb75e22f9df33c13e3851ece784d237b8973e2c5"},this.legend),r("div",{key:"d7ffdc1cfeda5568ad003a4d3bbe94765de04605",class:"row gy-3"},r("div",{key:"c22f9e7b2f33b5c298bb5f0a5c7bcaa709c231a0",class:"col-12"},r("form-control-text",{key:"d6eb4d2f4d1a2a709e0f29bf18b5d9700bd91a13",name:"name",label:"Full Name",defaultValue:e.name,errorText:this.errors.name,inputHandler:this.inputHandler})),r("div",{key:"8494ee3c14f8923d18d8708077e030c2f141a251",class:"col-12"},r("form-control-text",{key:"63266eb0e2b2b006a3c914a68703ee1cdf848f83",name:"address_line1",label:"Street Address",defaultValue:e.address_line1,errorText:this.errors.address_line1,inputHandler:this.inputHandler})),r("div",{key:"0a19fcf5c172d2539f23e147f39461d84dfd9d37",class:"col-12"},r("form-control-text",{key:"0e5fae5d65d5ea195de0227d1e4f79cee7c7a0fb",name:"address_line2",label:"Apartment, Suite, etc. (optional)",defaultValue:e.address_line2,errorText:this.errors.address_line2,inputHandler:this.inputHandler})),r("div",{key:"13104554e8247cb0534c3dc9e6a16b2f44397795",class:"col-12"},r("form-control-text",{key:"430e59713ec66ff7a6f735ca24640c27b05cbeee",name:"address_city",label:"City",defaultValue:e.address_city,errorText:this.errors.address_city,inputHandler:this.inputHandler})),r("div",{key:"5b81499717f67d5f499f4ebfc585056ef5bd3d56",class:"col-12"},r("form-control-select",{key:"726c724eda5f25a92bad7e549ff7845ece7b41e1",name:"address_state",label:"State",options:n,defaultValue:e.address_state,errorText:this.errors.address_state,inputHandler:this.inputHandler})),r("div",{key:"5d5a6e0949c5ad93da5bc1837dadf88c2128212d",class:"col-12"},r("form-control-text",{key:"ebb4e77126d86011d9a1ed5d118461198b399092",name:"address_postal_code",label:"ZIP",defaultValue:e.address_postal_code,errorText:this.errors.address_postal_code,inputHandler:this.inputHandler,maxLength:5,keyDownHandler:b}))))))}};p.style=":host{display:block}justifi-billing-form{margin-left:calc(var(--jfi-layout-padding) * -1);margin-right:calc(var(--jfi-layout-padding) * -1)}*::part(label){color:var(--jfi-form-label-color);font-family:var(--jfi-form-label-font-family);font-weight:var(--jfi-form-label-font-weight);font-size:var(--jfi-form-label-font-size);margin:var(--jfi-form-label-margin)}*::part(input){background-color:var(--jfi-form-control-background-color);border-color:var(--jfi-form-control-border-color);border-width:var(--jfi-form-control-border-width);border-bottom-width:var(--jfi-form-control-border-bottom-width);border-left-width:var(--jfi-form-control-border-left-width);border-right-width:var(--jfi-form-control-border-right-width);border-top-width:var(--jfi-form-control-border-top-width);border-radius:var(--jfi-form-control-border-radius);border-style:var(--jfi-form-control-border-style);box-shadow:var(--jfi-form-control-box-shadow);color:var(--jfi-form-control-color);font-size:var(--jfi-form-control-font-size);font-weight:var(--jfi-form-control-font-weight);line-height:var(--jfi-form-control-line-height);margin:var(--jfi-form-control-margin);padding:var(--jfi-form-control-padding)}*::part(input):focus{color:var(--jfi-form-control-color-focus);border-color:var(--jfi-form-control-border-color-focus);box-shadow:var(--jfi-form-control-box-shadow-focus)}*::part(input-invalid){border-color:var(--jfi-form-control-border-color-error);box-shadow:var(--jfi-form-control-box-shadow-error)}*::part(input-invalid):focus{border-color:var(--jfi-form-control-border-color-error);box-shadow:var(--jfi-form-control-box-shadow-error-focus)}";const u=class{constructor(r){e(this,r),this.checkboxChanged=o(this,"checkboxChanged",7),this.isChecked=!1}handleCheckboxChange(e){this.isChecked=e.target.checked,this.checkboxChanged.emit(this.isChecked)}render(){return r("div",{key:"f22a132a518a98786c8486e08c9a65050f3c5ea0",class:"mt-4 form-check"},r("input",{key:"6f1392f9dd29a9761f5942b0a40e05a899858ada",type:"checkbox",checked:this.isChecked,onChange:e=>this.handleCheckboxChange(e),class:"form-check-input"}),r("label",{key:"e6e5908ba70ece8ea19370a04104d88d17237fc7",class:"form-check-label"},"Save new payment method"))}};export{p as justifi_billing_form,u as justifi_save_new_payment_method}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as a}from"./p-fad19d75.js";import{u as d,a as t,b as c}from"./p-7d85af5c.js";import{P as i,S as l}from"./p-525db3e8.js";import"./p-1ff8810b.js";import"./p-6078a370.js";const s=class{constructor(a){e(this,a),this.inputHandler=(e,a)=>{d(this.formController,{[e]:a})},this.onAddressFormUpdate=e=>{t(this.formController,Object.assign(Object.assign({},this.formController.values.getValue().address),e))},this.representativeDefaultValue=void 0,this.errors=void 0,this.formController=void 0}render(){var e,d,t,s,o,r,f;return a("form",{key:"8b46b3b30681c7e7f30395a2cac575a7bd7ac998"},a("fieldset",{key:"e6b8f2ebca22c295fd6897c0e8862200171c2b4d"},a("legend",{key:"8f8f52240f5ccc3f5d43507681dc970b4260bb1b"},"Representative"),a("hr",{key:"8b07c69a514534ab731e7c01b6ee4c7a0e59e06e"}),a("div",{key:"79f44ba9dcbcf9d010aed92e332f686ca7127285",class:"row gy-3"},a("div",{key:"2a1aeb5ddee1dafc40e108cfb2e9ed6f4d8bc183",class:"col-12 col-md-8"},a("form-control-text",{key:"6e089f2d4f734da266e94b38ec1435dc3f461d5f",name:"name",label:"Full Name",defaultValue:null===(e=this.representativeDefaultValue)||void 0===e?void 0:e.name,errorText:this.errors.name,inputHandler:this.inputHandler})),a("div",{key:"c86421e524752e017180aef58e01229bf751e941",class:"col-12 col-md-4"},a("form-control-text",{key:"ad8105f6d9a46397eb481666c19468376716544c",name:"title",label:"Title",defaultValue:null===(d=this.representativeDefaultValue)||void 0===d?void 0:d.title,errorText:this.errors.title,inputHandler:this.inputHandler})),a("div",{key:"7775905e46c00337a98ab668c8453e14d27bfc4d",class:"col-12 col-md-6"},a("form-control-text",{key:"e810f2395101a1e48d8d3ff66617ac82d0ec90b3",name:"email",label:"Email Address",defaultValue:null===(t=this.representativeDefaultValue)||void 0===t?void 0:t.email,errorText:this.errors.email,inputHandler:this.inputHandler})),a("div",{key:"66a91e85d1902e32668407e684774820c02dce67",class:"col-12 col-md-6"},a("form-control-number-masked",{key:"aad97ca95c5b2ec728ea00916a46ff4b84661b96",name:"phone",label:"Phone Number",defaultValue:null===(s=this.representativeDefaultValue)||void 0===s?void 0:s.phone,errorText:this.errors.phone,inputHandler:this.inputHandler,mask:i.US})),a("div",{key:"3cd56ea0ac1e472e905c8113f6335868c39882f1",class:"col-12 col-md-4"},a("form-control-date",{key:"2f6d505220cacc08a80029ada089370f3841d9ed",name:"dob_full",label:"Birth Date",defaultValue:null===(o=this.representativeDefaultValue)||void 0===o?void 0:o.dob_full,errorText:this.errors.dob_full,inputHandler:this.inputHandler,onFormControlInput:e=>c(e,this.formController)})),a("div",{key:"cf2df0af006a50d3533b798607025b4d6ee82ca0",class:"col-12 col-md-8"},a("form-control-number-masked",{key:"033e4264a1466d300891b2328c0bfaced7acb04d",name:"identification_number",label:"SSN",defaultValue:null===(r=this.representativeDefaultValue)||void 0===r?void 0:r.identification_number,errorText:this.errors.identification_number,inputHandler:this.inputHandler,mask:l})),a("div",{key:"2dc7be12d65203da4d4e0bdd995256a7bdc5bf37",class:"col-12"},a("justifi-identity-address-form",{key:"47916ab24bf990be3541b72bfa2dc46cccca5a31",errors:this.errors.address,defaultValues:null===(f=this.representativeDefaultValue)||void 0===f?void 0:f.address,handleFormUpdate:this.onAddressFormUpdate})))))}};export{s as justifi_business_representative_form_inputs}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,c as a,h as t}from"./p-fad19d75.js";import{M as d,f as s,b,c as i,s as f}from"./p-5e2c9ec8.js";import{a as c,b as l,D as h,c as r,C as o,E as y,L as n}from"./p-dce846bf.js";import{S as u}from"./p-44055818.js";const k=class{constructor(t){e(this,t),this.errorEvent=a(this,"error-event",7),this.getPaymentDetails=void 0,this.payment=void 0,this.loading=!0,this.errorMessage=void 0}componentWillLoad(){this.getPaymentDetails&&this.fetchData()}updateOnPropChange(){this.fetchData()}fetchData(){this.loading=!0,this.getPaymentDetails({onSuccess:({payment:e})=>{this.payment=e,this.loading=!1,this.errorMessage=null},onError:({error:e,code:a,severity:t})=>{this.errorMessage=e,this.errorEvent.emit({errorCode:a,message:e,severity:t}),this.loading=!1}})}render(){var e;return t(u,{key:"aaaea4076938af5a74197256dba1093265f0e2d6"},this.loading&&n(),!this.loading&&this.errorMessage&&y(this.errorMessage),!this.loading&&!this.errorMessage&&this.payment&&t("justifi-details",{key:"12f06fa05915380403e244cbed053d0c04bfa1d4","error-message":this.errorMessage},t(c,{key:"4d496def6abfc728e6f184fb0729ac648fb2deaf",slot:"head-info",badge:t("span",{slot:"badge",innerHTML:d(this.payment.status)}),title:`${s(this.payment.amount)} ${null===(e=this.payment)||void 0===e?void 0:e.currency.toUpperCase()}`},t(l,{key:"78dcff13206646d594bdc80f6297d45dc9932694",classes:"border-1 border-end",title:"Updated At",value:`${b(this.payment.updated_at)} ${i(this.payment.updated_at)}`}),t(l,{key:"dfa0de667ebd28efd217b6bdf548b9b1b728b57e",classes:"border-1 border-end",title:"Created At",value:`${b(this.payment.created_at)} ${i(this.payment.created_at)}`}),t(l,{key:"b449b180034f28504007a9c2fb0598607dc00efb",title:"ID",value:this.payment.id})),t("div",{key:"62af84e244e38b24b32f791d13f1b21b49942597",slot:"detail-sections"},t(h,{key:"0ddb0366b4ab737c7b08a37764b8ce2f7ec4a1e9",sectionTitle:"Details"}),t("div",{key:"cb699194db16cb8608834779f560e882f6f9da7c",class:"d-table gap-2 w-100"},t(r,{key:"3b6eb4a8b782668951bba90be3b5d522f3f7c69b",title:"Amount",value:s(this.payment.amount)}),t(r,{key:"7a59ab0b12a263c38c40a98acbff6492d370b28b",title:"Fees",value:s(this.payment.fee_amount)}),t(r,{key:"a9eaa5d1959425205c144dc2aa7c7fad77014290",title:"Refunded",value:s(this.payment.amount_refunded)}),t(r,{key:"d70c3a4bf48c9c69625d5f27f1095f9b0744a71e",title:"Net",value:s(this.payment.balance)}),t(r,{key:"28f526b1adcd475c2ae88a8bf09ae4aea7935df6",title:"Status",value:d(this.payment.status)}),t(r,{key:"700f51d787f20f575e3e11aa72a8da29a9587c2a",title:"Payment ID",value:this.payment.id}),t(r,{key:"ea72ecc9c2f5055d4b0f6b37cd16cb318f9a797c",title:"Processing Fees",value:s(this.payment.fee_amount)}),t(r,{key:"9d66af2c0c0baef4e8b7b021daf0b4d6adb267d2",title:"Statement Descriptor",value:this.payment.statement_descriptor}),t(r,{key:"3f21501c1e08feeee1e7427a42faf1c5d1d9c84d",title:"Description",value:this.payment.description})),this.payment.payment_method.card&&[t(h,{key:"b7767b93e090c0195aca6c99b66b48d61b6134b3",sectionTitle:"Payment Method"}),t("div",{key:"a363c7a7e69932a8ffeddb5e0d53f7df13119a9a",class:"d-table gap-2 w-100"},t(r,{key:"fb0e1f64fcec23e513590b3048593565685d8400",title:"ID",value:this.payment.payment_method.card.id}),t(r,{key:"bc181b1b94039e1aad341a8e563ba923976c806b",title:"Payment Type",value:"Card"}),t(r,{key:"88b21dd2368b88232cd0f464c381d4423fe3c774",title:"Last 4 Numbers",value:this.payment.payment_method.lastFourDigits}),t(r,{key:"040fd71315ead633f9c89e9a9dad906889759d77",title:"Brand",value:f(this.payment.payment_method.card.brand)}),t(r,{key:"35ebc74de2c5c8fafd95fc5b15ff4f2ca85220cc",title:"Cardholder",value:this.payment.payment_method.payersName}))],this.payment.payment_method.bank_account&&[t(h,{key:"f10eef0b4e4067fb78dbff16719a6f266f4e6bab",sectionTitle:"Payment Method"}),t("div",{key:"6c1ef713b5dcabba5b516f3cbbd088d098873303",class:"d-table gap-2 w-100"},t(r,{key:"8880fd0fb2b16ee6f177aba15d6f4485c95af252",title:"ID",value:this.payment.payment_method.bank_account.id}),t(r,{key:"baa70304d2972f69ce8a5d077a076b16f986745b",title:"Last 4 Numbers",value:this.payment.payment_method.lastFourDigits}),t(r,{key:"dcb63b9258bea698bf2d165c611dfa05cb320f30",title:"Bank Name",value:this.payment.payment_method.bank_account.brand}),t(r,{key:"806696c15aa5ef242c230d9c9aea642ddfdfd93d",title:"Account Owner",value:this.payment.payment_method.payersName}))],t(h,{key:"83289d8f2cf57a624678260555f00af4ea96a566",sectionTitle:"Metadata"}),t("div",{key:"02e248b962e0c06f4d83bae75a5759b234fea36b",class:"d-table gap-2 w-100"},t(o,{key:"5d81879c7815102219ed010dab9f573ad6b7985d",metadata:this.payment.metadata})))))}static get watchers(){return{getPaymentDetails:["updateOnPropChange"]}}};export{k as payment_details_core}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as e}from"./p-fad19d75.js";import{E as a}from"./p-dce846bf.js";import{S as i}from"./p-44055818.js";const s=class{constructor(e){t(this,e),this.errorMessage=void 0}render(){return e(i,{key:"00b10fc4e459688ae06147ef1535f03609ec35e4",exportParts:"detail-empty-state, detail-metadata-title, detail-metadata, detail-section, detail-section-title, \n detail-section-item-title, detail-section-item-data, detail-head, detail-title, detail-head-info"},this.errorMessage?a(this.errorMessage):e("main",{class:"p-2"},e("slot",{name:"head-info"}),e("slot",{name:"detail-sections"})))}};export{s as justifi_details}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as l,h as i,H as t}from"./p-fad19d75.js";import{c as e,D as s}from"./p-dce846bf.js";import{i as d,s as o,e as v}from"./p-5e2c9ec8.js";const u=class{constructor(i){l(this,i),this.additionalQuestions=void 0}render(){var l,o;return d(this.additionalQuestions)?null:i(t,null,i(s,{sectionTitle:"Additional Questions"}),i("div",{class:"d-table gap-2 w-100"},i("div",{class:"row gy-3"},i("div",{class:"col-12 col-md-6"},i(e,{title:"Business Revenue",value:null===(l=this.additionalQuestions.business_revenue)||void 0===l?void 0:l.toString()}),i(e,{title:"Business Payment Volume",value:null===(o=this.additionalQuestions.business_payment_volume)||void 0===o?void 0:o.toString()})))))}};u.style=".flex-1{flex:1}";const a=class{constructor(i){l(this,i),this.business=void 0}render(){var l,d,v,u,a,n,r,c;return this.business?i(t,null,i(s,{sectionTitle:"Business Generic Info Details"}),i("div",{class:"d-table gap-2 w-100"},i("div",{class:"row gy-3"},i("div",{class:"col-12 col-md-6"},i(e,{title:"Legal Name",value:null===(l=this.business)||void 0===l?void 0:l.legal_name}),i(e,{title:"Doing Business As (DBA)",value:null===(d=this.business)||void 0===d?void 0:d.doing_business_as}),i(e,{title:"Business Classification",value:o(null===(v=this.business)||void 0===v?void 0:v.classification)}),i(e,{title:"Industry",value:null===(u=this.business)||void 0===u?void 0:u.industry})),i("div",{class:"col-12 col-md-6"},i(e,{title:"Tax ID",value:null===(a=this.business)||void 0===a?void 0:a.tax_id}),i(e,{title:"Website URL",value:null===(n=this.business)||void 0===n?void 0:n.website_url}),i(e,{title:"Email Address",value:null===(r=this.business)||void 0===r?void 0:r.email}),i(e,{title:"Phone Number",value:null===(c=this.business)||void 0===c?void 0:c.phone}))))):null}};a.style=".flex-1{flex:1}";const n=class{constructor(i){l(this,i),this.legalAddress=void 0}render(){var l,o,v,u,a,n,r;return d(this.legalAddress)?null:i(t,null,i(s,{sectionTitle:"Business Legal Address Details"}),i("div",{class:"d-table gap-2 w-100"},i("div",{class:"row gy-3"},i("div",{class:"col-12 col-md-6"},i(e,{title:"Country",value:null===(l=this.legalAddress)||void 0===l?void 0:l.country}),i(e,{title:"Legal Address",value:null===(o=this.legalAddress)||void 0===o?void 0:o.line1}),i(e,{title:"Address Line 2",value:null===(v=this.legalAddress)||void 0===v?void 0:v.line2})),i("div",{class:"col-12 col-md-6"},i(e,{title:"City",value:null===(u=this.legalAddress)||void 0===u?void 0:u.city}),i(e,{title:"State",value:null===(a=this.legalAddress)||void 0===a?void 0:a.state}),i(e,{title:"Postal Code",value:null===(r=null===(n=this.legalAddress)||void 0===n?void 0:n.postal_code)||void 0===r?void 0:r.toString()})))))}};n.style=".flex-1{flex:1}";const r=class{constructor(i){l(this,i),this.owners=void 0}render(){var l;return(null===(l=null==this?void 0:this.owners)||void 0===l?void 0:l.length)?i(t,null,!!(null==this?void 0:this.owners.length)&&this.owners.map((l=>{var t,d,o,u,a;return[i(s,{sectionTitle:`Owner ${null==l?void 0:l.name}'s Details`}),i("div",{class:"d-table gap-2 w-100"},i(e,{title:"Name",value:null==l?void 0:l.name}),i(e,{title:"Title",value:null==l?void 0:l.title}),i(e,{title:"Email",value:null==l?void 0:l.email}),i(e,{title:"Phone",value:null==l?void 0:l.phone}),i(e,{title:"Date of Birth",value:v(new Date(Number(null==l?void 0:l.dob_day),Number(null==l?void 0:l.dob_month),Number(null==l?void 0:l.dob_year)))}),i(e,{title:"Identification Number",value:`********${null==l?void 0:l.ssn_last4}`}),i(e,{title:"Line 1",value:null===(t=null==l?void 0:l.address)||void 0===t?void 0:t.line1}),i(e,{title:"Line 2",value:null===(d=null==l?void 0:l.address)||void 0===d?void 0:d.line2}),i(e,{title:"City",value:null===(o=null==l?void 0:l.address)||void 0===o?void 0:o.city}),i(e,{title:"State",value:null===(u=null==l?void 0:l.address)||void 0===u?void 0:u.state}),i(e,{title:"Zip",value:null===(a=null==l?void 0:l.address)||void 0===a?void 0:a.postal_code}))]}))):null}};r.style=".flex-1{flex:1}";const c=class{constructor(i){l(this,i),this.representative=void 0}render(){var l,o,u,a,n,r,c,h,m,f,p,b,g,w;return d(this.representative)?null:i(t,null,i(s,{sectionTitle:"Representative Details"}),i("div",{class:"d-table gap-2 w-100"},i("div",{class:"row gy-3"},i("div",{class:"col-12 col-md-6"},i(e,{title:"Name",value:null===(l=this.representative)||void 0===l?void 0:l.name}),i(e,{title:"ID",value:null===(o=this.representative)||void 0===o?void 0:o.id}),i(e,{title:"Address",value:null===(a=null===(u=this.representative)||void 0===u?void 0:u.address)||void 0===a?void 0:a.line1}),i(e,{title:"Created At",value:(null===(n=this.representative)||void 0===n?void 0:n.created_at)&&v(null===(r=this.representative)||void 0===r?void 0:r.created_at)})),i("div",{class:"col-12 col-md-6"},i(e,{title:"Title",value:null===(c=this.representative)||void 0===c?void 0:c.title}),i(e,{title:"Is Owner?",value:null===(h=this.representative)||void 0===h?void 0:h.is_owner.toString()}),i(e,{title:"Date Of Birth",value:this.representative&&v(new Date(Number(null===(m=this.representative)||void 0===m?void 0:m.dob_year),Number(null===(f=this.representative)||void 0===f?void 0:f.dob_month)-1,Number(null===(p=this.representative)||void 0===p?void 0:p.dob_day)))}),i(e,{title:"Email",value:null===(b=this.representative)||void 0===b?void 0:b.email}),i(e,{title:"Phone",value:null===(g=this.representative)||void 0===g?void 0:g.phone}),i(e,{title:"Updated At",value:this.representative&&v(null===(w=this.representative)||void 0===w?void 0:w.updated_at)})))))}};c.style=".flex-1{flex:1}";export{u as additional_questions_details,a as generic_info_details,n as legal_address_details,r as owner_details,c as representative_details}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as e,h as i,H as s}from"./p-fad19d75.js";import{I as a}from"./p-1ad5995e.js";import{C as o}from"./p-525db3e8.js";const r=class{constructor(i){t(this,i),this.formControlInput=e(this,"formControlInput",7),this.formControlBlur=e(this,"formControlBlur",7),this.imask=null,this.initializeIMask=()=>{this.textInput&&(this.imask=a(this.textInput,this.maskOptions),this.imask.on("accept",(()=>{const t=this.imask.unmaskedValue;this.inputHandler(this.name,t),this.formControlInput.emit({name:this.name,value:t})})),this.textInput.addEventListener("blur",(()=>this.formControlBlur.emit())))},this.handleFormControlInput=t=>{const e=t.target.getAttribute("name");this.formControlInput.emit({name:e,value:this.imask.unmaskedValue})},this.updateInput=t=>{this.imask&&(this.imask.value=String(t))},this.label=void 0,this.name=void 0,this.helpText=void 0,this.errorText=void 0,this.defaultValue=void 0,this.inputHandler=void 0,this.maskOptions=o.DECIMAL,this.disabled=void 0}handleDefaultValueChange(t){this.updateInput(t)}componentDidLoad(){this.initializeIMask(),this.updateInput(this.defaultValue)}disconnectedCallback(){var t;null===(t=this.imask)||void 0===t||t.destroy()}render(){return i(s,{key:"8797b3aa5c6a30f472d51e2b9437b6158b0566fc",exportparts:"label,input,input-group-input,input-group-text,input-invalid"},i("div",{key:"0d3e068cf104aec3f6250f5cd6c00a9342928fe8",class:"form-group d-flex flex-column"},i("label",{key:"0e86db7c0d981bdae74c51dd75bf5579d07b4793",part:"label",class:"form-label",htmlFor:this.name},this.label),i("div",{key:"8fc773de3995bb37e6fa00b34d8d9e2deaef4bbd",class:"input-group"},i("span",{key:"83860eac764be9eeea31302d60525fb56af9dc1d",class:"input-group-text",part:"input-group-text"},"$"),i("input",{key:"b8c655c0b8eeb6ec328eeaed651773c293aa3100",ref:t=>this.textInput=t,id:this.name,name:this.name,onBlur:this.formControlBlur.emit,onInput:this.handleFormControlInput,part:`input input-group-input ${this.errorText&&"input-invalid"}`,class:this.errorText?"form-control monetary is-invalid":"form-control monetary",type:"text",disabled:this.disabled})),i("form-control-help-text",{key:"b3f142b9c67a792a96b597bdaf91fd3abe1b7ce3",helpText:this.helpText,name:this.name}),i("form-control-error-text",{key:"daefe97a15bde309c397a506de6cda9a0376323b",errorText:this.errorText,name:this.name})))}static get watchers(){return{defaultValue:["handleDefaultValueChange"]}}};export{r as form_control_monetary}
|
|
@@ -1,39 +1 @@
|
|
|
1
|
-
var
|
|
2
|
-
(function (BusinessFormStep) {
|
|
3
|
-
BusinessFormStep["coreInfo"] = "coreInfo";
|
|
4
|
-
BusinessFormStep["legalAddress"] = "legalAddress";
|
|
5
|
-
BusinessFormStep["additionalQuestions"] = "additionalQuestions";
|
|
6
|
-
BusinessFormStep["representative"] = "representative";
|
|
7
|
-
BusinessFormStep["owners"] = "owners";
|
|
8
|
-
BusinessFormStep["bankAccount"] = "bankAccount";
|
|
9
|
-
BusinessFormStep["documentUpload"] = "documentUpload";
|
|
10
|
-
BusinessFormStep["termsAndConditions"] = "termsAndConditions";
|
|
11
|
-
})(BusinessFormStep || (BusinessFormStep = {}));
|
|
12
|
-
var BusinessFormServerErrors;
|
|
13
|
-
(function (BusinessFormServerErrors) {
|
|
14
|
-
BusinessFormServerErrors["fetchData"] = "Error retrieving business data";
|
|
15
|
-
BusinessFormServerErrors["patchData"] = "Error updating business data";
|
|
16
|
-
})(BusinessFormServerErrors || (BusinessFormServerErrors = {}));
|
|
17
|
-
var BusinessFormClickActions;
|
|
18
|
-
(function (BusinessFormClickActions) {
|
|
19
|
-
BusinessFormClickActions["nextStep"] = "nextStep";
|
|
20
|
-
BusinessFormClickActions["previousStep"] = "previousStep";
|
|
21
|
-
BusinessFormClickActions["submit"] = "submit";
|
|
22
|
-
BusinessFormClickActions["removeOwner"] = "removeOwner";
|
|
23
|
-
BusinessFormClickActions["addOwner"] = "addOwner";
|
|
24
|
-
BusinessFormClickActions["addOwnerForm"] = "addOwnerForm";
|
|
25
|
-
BusinessFormClickActions["updateOwner"] = "updateOwner";
|
|
26
|
-
})(BusinessFormClickActions || (BusinessFormClickActions = {}));
|
|
27
|
-
var OwnerFormServerErrors;
|
|
28
|
-
(function (OwnerFormServerErrors) {
|
|
29
|
-
OwnerFormServerErrors["fetchData"] = "Error retrieving owner data";
|
|
30
|
-
OwnerFormServerErrors["patchData"] = "Error updating owner data";
|
|
31
|
-
OwnerFormServerErrors["postData"] = "Error adding owner data";
|
|
32
|
-
})(OwnerFormServerErrors || (OwnerFormServerErrors = {}));
|
|
33
|
-
var DocumentFormServerErrors;
|
|
34
|
-
(function (DocumentFormServerErrors) {
|
|
35
|
-
DocumentFormServerErrors["fetchData"] = "Error retrieving document data";
|
|
36
|
-
DocumentFormServerErrors["sendData"] = "Error uploading document data";
|
|
37
|
-
})(DocumentFormServerErrors || (DocumentFormServerErrors = {}));
|
|
38
|
-
|
|
39
|
-
export { BusinessFormServerErrors as B, BusinessFormClickActions as a, BusinessFormStep as b };
|
|
1
|
+
var r,n,e,t,a;!function(r){r.coreInfo="coreInfo",r.legalAddress="legalAddress",r.additionalQuestions="additionalQuestions",r.representative="representative",r.owners="owners",r.bankAccount="bankAccount",r.documentUpload="documentUpload",r.termsAndConditions="termsAndConditions"}(r||(r={})),function(r){r.fetchData="Error retrieving business data",r.patchData="Error updating business data"}(n||(n={})),function(r){r.nextStep="nextStep",r.previousStep="previousStep",r.submit="submit",r.removeOwner="removeOwner",r.addOwner="addOwner",r.addOwnerForm="addOwnerForm",r.updateOwner="updateOwner"}(e||(e={})),function(r){r.fetchData="Error retrieving owner data",r.patchData="Error updating owner data",r.postData="Error adding owner data"}(t||(t={})),function(r){r.fetchData="Error retrieving document data",r.sendData="Error uploading document data"}(a||(a={}));export{n as B,e as a,r as b}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as a,H as t}from"./p-fad19d75.js";import{a as d,r as l,s as i,b as s}from"./p-1815a43b.js";import{C as c,T as o,P as r,S as n}from"./p-525db3e8.js";import{C as b}from"./p-5e7c60d8.js";import{d as f}from"./p-1ff8810b.js";import{S as u}from"./p-6078a370.js";import{n as h}from"./p-8df7bde8.js";const m=class{constructor(a){e(this,a),this.text=void 0,this.hideAlert=void 0}render(){return this.text?this.hideAlert?null:a("div",{class:"alert alert-danger d-flex align-items-center",role:"alert"},a("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"currentColor",class:"bi bi-exclamation-triangle-fill flex-shrink-0 me-2",viewBox:"0 0 16 16",role:"img","aria-label":"Warning:"},a("path",{d:"M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z"})),a("div",null,this.text)):null}},v=class{constructor(a){e(this,a),this.formController=void 0,this.errors={},this.additional_questions={},this.inputHandler=this.inputHandler.bind(this)}componentDidLoad(){this.formController.errors.subscribe((e=>this.errors=Object.assign({},e))),this.formController.values.subscribe((e=>this.additional_questions=Object.assign({},e.additional_questions)))}inputHandler(e,a){this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{additional_questions:Object.assign(Object.assign({},this.formController.values.getValue().additional_questions),{[e]:a})}))}render(){var e,s,o,r,n,b,f,u,h,m,v,y,p,k;const x=this.formController.getInitialValues().additional_questions;return a(t,{key:"61cc057bc6c5776e27de37de03fd89c11e222b48",exportparts:"label,input,input-invalid"},a("fieldset",{key:"b979a8632db229a28fe4c7e209963d9750cb3af3"},a("legend",{key:"f0228638af05f24d265ff3ff08da34d9026b8bc8"},"Additional Questions"),a("hr",{key:"985908ab74473185e4f63edf8d2ae67d21aa2c4c"}),a("div",{key:"3e5b107b36d8f02d1a7ec7f5be04cc7560dacb9b",class:"row gy-3"},a("div",{key:"7bca3143f0e7c813b02b08bf685ed7d83a6f17d3",class:"col-12 col-md-6"},a("form-control-monetary",{key:"7b96fb49733b41cb4a100d9fbdf85054409d46d8",name:"business_revenue",label:"What is the business' estimated annual revenue from its primary business activities?",inputHandler:this.inputHandler,errorText:null===(s=null===(e=this.errors)||void 0===e?void 0:e.additional_questions)||void 0===s?void 0:s.business_revenue,defaultValue:null==x?void 0:x.business_revenue,maskOptions:c.WHOLE})),a("div",{key:"3103b2355eccb404733e25b1a812faf7d33643de",class:"col-12 col-md-6"},a("form-control-monetary",{key:"2bd4f9de5e18f8e9f7337e09b20ef2027f8efe10",name:"business_payment_volume",label:"What is the business' annual credit card & ACH volume anticipated to process?",inputHandler:this.inputHandler,errorText:null===(r=null===(o=this.errors)||void 0===o?void 0:o.additional_questions)||void 0===r?void 0:r.business_payment_volume,defaultValue:null==x?void 0:x.business_payment_volume,maskOptions:c.WHOLE})),a("div",{key:"3947678da024eacc36a4895dc82133543904ec10",class:"col-12"},a("form-control-select",{key:"cb6473c4ca9b410e1f73fb6821a1e6a9c4e8ba3c",name:"business_when_service_received",label:"On average, how long after paying will your customers typically receive their goods or services?",inputHandler:this.inputHandler,errorText:null===(b=null===(n=this.errors)||void 0===n?void 0:n.additional_questions)||void 0===b?void 0:b.business_when_service_received,options:d,defaultValue:null==x?void 0:x.business_when_service_received})),a("div",{key:"3ba6b5469e8b55fdf9607458ea82db534060b4da",class:"col-12"},a("form-control-select",{key:"9239ce8bf9b5f54847dcd946b70b84cb2b188476",name:"business_recurring_payments",label:"Does your business offer recurring payments?",inputHandler:this.inputHandler,errorText:null===(u=null===(f=this.errors)||void 0===f?void 0:f.additional_questions)||void 0===u?void 0:u.business_recurring_payments,options:l,defaultValue:null==x?void 0:x.business_recurring_payments})),a("div",{key:"3acb380a8932d9df99c1bec4bf77806d23f16376",class:"col-12"},a("form-control-text",{key:"71a01a5936b25f95ecd1d7a4ae926c34f0ab8f42",name:"business_recurring_payments_percentage",label:"What percent of revenue is generated from each recurring payment type offered?",inputHandler:this.inputHandler,errorText:null===(m=null===(h=this.errors)||void 0===h?void 0:h.additional_questions)||void 0===m?void 0:m.business_recurring_payments_percentage,defaultValue:null==x?void 0:x.business_recurring_payments_percentage})),a("div",{key:"e31135b0483e5ab0e71ad4126bed49c2ce8e2f2d",class:"col-12"},a("form-control-select",{key:"00c4567411859e568ac6c8663476d8a35e11dd59",name:"business_seasonal",label:"Is this business seasonal?",inputHandler:this.inputHandler,errorText:null===(y=null===(v=this.errors)||void 0===v?void 0:v.additional_questions)||void 0===y?void 0:y.business_seasonal,options:i,defaultValue:null==x?void 0:x.business_seasonal})),a("div",{key:"f30fdb514b300844feb0a0c1bb2492d234f5f050",class:"col-12"},a("form-control-text",{key:"6d7cf0947be6991725bee50c2fcad1298677d5e3",name:"business_other_payment_details",label:"Is there anything else you would like us to know about how your customers pay the business?",inputHandler:this.inputHandler,errorText:null===(k=null===(p=this.errors)||void 0===p?void 0:p.additional_questions)||void 0===k?void 0:k.business_other_payment_details,defaultValue:null==x?void 0:x.business_other_payment_details})))))}},y=class{constructor(a){e(this,a),this.formController=void 0,this.errors={},this.coreInfo={},this.inputHandler=this.inputHandler.bind(this)}componentDidLoad(){this.formController.values.subscribe((e=>this.coreInfo=Object.assign({},new b(e)))),this.formController.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}inputHandler(e,a){this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[e]:a}))}render(){const e=this.formController.getInitialValues();return a(t,{key:"59fa8a9a4bef1875845633b66b60ebf2350fe61e",exportparts:"label,input,input-invalid"},a("fieldset",{key:"7b6c58d55cf2ed0f5020f043e164c63423d9ee4f"},a("legend",{key:"5be18bc86f27541d7c6bb4ea4e05e3df4c9d87c0"},"General Info"),a("hr",{key:"33747ac14e24ef2ecf9e84970cd8924b9f5a5c53"}),a("div",{key:"3d550cac878b9676d620fbea3c14dacf4db4e72f",class:"row gy-3"},a("div",{key:"d2226f4bdbbd87169d1ef75f9ffc1d7f6a6acba7",class:"col-12"},a("form-control-text",{key:"4367c1eeec808b9b134c880be587f58327778bb2",name:"legal_name",label:"Legal Name",defaultValue:e.legal_name,errorText:this.errors.legal_name,inputHandler:this.inputHandler})),a("div",{key:"455cacee1c69e28fc447e893bf648ff30946f66f",class:"col-12"},a("form-control-text",{key:"1ea37fac67414741edab132c0b8d70c84cb4f1db",name:"doing_business_as",label:"Doing Business As (DBA)",defaultValue:e.doing_business_as,errorText:this.errors.doing_business_as,inputHandler:this.inputHandler})),a("div",{key:"3da63dd018d2503a9b47a2b0950f95ce887ba38d",class:"col-12 col-md-8"},a("form-control-select",{key:"a059c7fda30418c4338ac58630170104d616c0f2",name:"classification",label:"Business Classification",options:s,defaultValue:e.classification,errorText:this.errors.classification,inputHandler:this.inputHandler})),a("div",{key:"9157cac7c6999b25c8acf4e698d082a0fcbffe9d",class:"col-12 col-md-4"},a("form-control-date",{key:"0726e93b8f6b2bd792102bb131c13e0806717f82",name:"date_of_incorporation",label:"Date of Incorporation",defaultValue:e.date_of_incorporation,errorText:this.errors.date_of_incorporation,inputHandler:this.inputHandler})),a("div",{key:"f3391ac0166116ef685c6d26e6d0705d087fa83d",class:"col-12 col-md-6"},a("form-control-text",{key:"682a18784fab9410002c7949a7cfa606f3ec5784",name:"industry",label:"Industry",defaultValue:e.industry,errorText:this.errors.industry,inputHandler:this.inputHandler})),a("div",{key:"4a2d95cc422ebc882e2a47237f5b1324a7660b36",class:"col-12 col-md-6"},a("form-control-number-masked",{key:"0d138b6bafde2b5fc7c45f9d4d51746e5f91baaa",name:"tax_id",label:"Tax ID",defaultValue:e.tax_id,errorText:this.errors.tax_id,inputHandler:this.inputHandler,mask:o.US})),a("div",{key:"a895244496b196804a16931589f6f353c49476e8",class:"col-12"},a("form-control-text",{key:"68375469c212b97e76861e5b8590dd502533a35a",name:"website_url",label:"Website URL",defaultValue:e.website_url,errorText:this.errors.website_url,inputHandler:this.inputHandler})),a("div",{key:"84d1a7f2b51b6dae3283bbd6d0f5aca81a0da07b",class:"col-12 col-md-6"},a("form-control-text",{key:"27f9dd986a431fa14028f1faa3997bbdb623574e",name:"email",label:"Email Address",defaultValue:e.email,errorText:this.errors.email,inputHandler:this.inputHandler})),a("div",{key:"0902cff0a887d5f19c5326ce135fed5f54d6643a",class:"col-12 col-md-6"},a("form-control-number-masked",{key:"bbce92814cbf42f17a0a9e1e1df194d3ea3a15b0",name:"phone",label:"Phone Number",defaultValue:e.phone,errorText:this.errors.phone,inputHandler:this.inputHandler,mask:r.US})))))}},p=class{constructor(a){e(this,a),this.inputHandler=(e,a)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{representative:Object.assign(Object.assign({},this.formController.values.getValue().representative),{[e]:a})}))},this.onAddressFormUpdate=e=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{representative:Object.assign(Object.assign({},this.formController.values.getValue().representative),{address:Object.assign(Object.assign({},this.formController.values.getValue().representative.address),e)})}))},this.onDateOfBirthUpdate=e=>{const a=f(e.detail);this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{representative:Object.assign(Object.assign({},this.formController.values.getValue().representative),{dob_day:a.dob_day,dob_month:a.dob_month,dob_year:a.dob_year})}))},this.formController=void 0,this.errors={},this.representative={}}get identificationNumberLabel(){return this.representative.ssn_last4?"Update SSN (optional)":"SSN"}componentDidLoad(){this.formController.errors.subscribe((e=>this.errors=Object.assign({},e.representative))),this.formController.values.subscribe((e=>this.representative=Object.assign({},e.representative)))}render(){const e=this.formController.getInitialValues().representative;return a(t,{key:"857634ffd34ea218dce687fb0eaa95830a58bfb1",exportparts:"label,input,input-invalid"},a("fieldset",{key:"b3b073dc456e58c4fa67182ea3518581038419e3"},a("legend",{key:"3c1997f718c340b5dd32e4cdbe9400d64eecf577"},"Representative"),a("hr",{key:"d51e5d797106af2050b884fc09802c497a180e1d"}),a("div",{key:"7e5631f8eb5c28f0a5c4193ece3039a3adc35d0a",class:"row gy-3"},a("div",{key:"399a1f505781ed0b82fa85366ca66580e977f3e5",class:"col-12 col-md-8"},a("form-control-text",{key:"0820b8e0b6178b997ba1938efc045ad334f061d3",name:"name",label:"Full Name",defaultValue:null==e?void 0:e.name,errorText:this.errors.name,inputHandler:this.inputHandler})),a("div",{key:"2bb15a86304ce8755e1183835c0ed7c310a0e8b2",class:"col-12 col-md-4"},a("form-control-text",{key:"2cc405cea169ec1bd5d72b110ce403101d029fff",name:"title",label:"Title",defaultValue:null==e?void 0:e.title,errorText:this.errors.title,inputHandler:this.inputHandler})),a("div",{key:"d2927f863bd374c38b8028a148568068144294d7",class:"col-12 col-md-6"},a("form-control-text",{key:"0fa24fa492e060978facf23aac2b151595bb129c",name:"email",label:"Email Address",defaultValue:null==e?void 0:e.email,errorText:this.errors.email,inputHandler:this.inputHandler})),a("div",{key:"8c9f75ebc3c5d87fafaff48e489ad5dc091fbca4",class:"col-12 col-md-6"},a("form-control-number-masked",{key:"f060196556cd11d9f68dab3aa7e87cba24e38afe",name:"phone",label:"Phone Number",defaultValue:null==e?void 0:e.phone,errorText:this.errors.phone,inputHandler:this.inputHandler,mask:r.US})),a("div",{key:"19f7bcd2a18ef1f8c937a90602bdd9f0ac8f91e5",class:"col-12 col-md-4"},a("form-control-date",{key:"5392a1ce2cbb43a88c2d90981b56ef55ba4fdb31",name:"dob_full",label:"Birth Date",defaultValue:null==e?void 0:e.dob_full,errorText:this.errors.dob_full,inputHandler:this.inputHandler,onFormControlInput:this.onDateOfBirthUpdate})),a("div",{key:"36203f898451d610b34afabc4bac9e20f01e53f7",class:"col-12 col-md-8"},a("form-control-number-masked",{key:"4d4b9e4dcc0f5829068d4916d7373f6506ee9e74",name:"identification_number",label:this.identificationNumberLabel,defaultValue:null==e?void 0:e.identification_number,errorText:this.errors.identification_number,inputHandler:this.inputHandler,mask:n})),a("div",{key:"560e1dabe186e54a201ad02fb9054505ab5bb84c",class:"col-12"},a("justifi-identity-address-form",{key:"b47b48c19ca88248a9609c0e1858ba649f44c2da",errors:this.errors.address,defaultValues:null==e?void 0:e.address,handleFormUpdate:this.onAddressFormUpdate})))))}},k=class{constructor(a){e(this,a),this.formController=void 0,this.errors={},this.legal_address=void 0,this.inputHandler=this.inputHandler.bind(this)}componentDidLoad(){this.formController.errors.subscribe((e=>this.errors=Object.assign({},e))),this.formController.values.subscribe((e=>this.legal_address=Object.assign({},e.legal_address)))}inputHandler(e,a){this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{legal_address:Object.assign(Object.assign({},this.formController.values.getValue().legal_address),{[e]:a})}))}render(){var e,d,l,i,s,c,o,r,n,b,f,m;const v=this.formController.getInitialValues().legal_address;return a(t,{key:"794669fd0c563f54abde94146df007b114c30465",exportparts:"label,input,input-invalid"},a("fieldset",{key:"34cf40bcf68c4b0af97363700ede8d5ef778c38c"},a("legend",{key:"deb0acfa3da0128a9337ddddd76592d7569685c6"},"Business Legal Address"),a("hr",{key:"1d01aa0b9577c47c24af4e85728828d41164c5ee"}),a("div",{key:"2199ba800c530bb9a5704431103660a39bdf70fb",class:"row gy-3"},a("div",{key:"811fa71f919e62d6ecf44fd97e5940473bdb2a51",class:"col-12"},a("form-control-text",{key:"06305b11aecb6b49bc8d3c0b39b8652f3968083e",name:"line1",label:"Legal Address",inputHandler:this.inputHandler,defaultValue:null==v?void 0:v.line1,errorText:null===(d=null===(e=this.errors)||void 0===e?void 0:e.legal_address)||void 0===d?void 0:d.line1})),a("div",{key:"c1a2aad7893ac8f5aed57e662ce0704a4e0ed2fa",class:"col-12"},a("form-control-text",{key:"858e3e7be65828a89b07f954e82033c76f4ab350",name:"line2",label:"Address Line 2",inputHandler:this.inputHandler,defaultValue:null==v?void 0:v.line2,errorText:null===(i=null===(l=this.errors)||void 0===l?void 0:l.legal_address)||void 0===i?void 0:i.line2})),a("div",{key:"641805ddb44395c77020e708b60ff2a09ffc5d5b",class:"col-12"},a("form-control-text",{key:"6d881c0aacf9a689305a15f353d376917a6e8aff",name:"city",label:"City",inputHandler:this.inputHandler,defaultValue:null==v?void 0:v.city,errorText:null===(c=null===(s=this.errors)||void 0===s?void 0:s.legal_address)||void 0===c?void 0:c.city})),a("div",{key:"6bab46c2823b9da84ac66496b80a4f98d237ccfe",class:"col-12"},a("form-control-select",{key:"0cc60022e6862884df786ea7414cf4cae4c45728",name:"state",label:"State",options:u,inputHandler:this.inputHandler,defaultValue:null==v?void 0:v.state,errorText:null===(r=null===(o=this.errors)||void 0===o?void 0:o.legal_address)||void 0===r?void 0:r.state})),a("div",{key:"ff349be7524f3b3fc7a3adee03259f7b8bf10390",class:"col-12"},a("form-control-text",{key:"015277e0bde6a15077744f9d09bc016a0db4b465",name:"postal_code",label:"Postal Code",inputHandler:this.inputHandler,defaultValue:null==v?void 0:v.postal_code,errorText:null===(b=null===(n=this.errors)||void 0===n?void 0:n.legal_address)||void 0===b?void 0:b.postal_code,maxLength:5,keyDownHandler:h})),a("div",{key:"d6097ef782c0d47a2d93c4624635e7f820dac95d",class:"col-12"},a("form-control-select",{key:"396a8c6bc10f288bde9289b7177c161e42f60b7e",name:"country",label:"Country",options:[{label:"United States",value:"USA"}],inputHandler:this.inputHandler,defaultValue:null==v?void 0:v.country,errorText:null===(m=null===(f=this.errors)||void 0===f?void 0:f.legal_address)||void 0===m?void 0:m.country,disabled:!0})))))}};export{m as form_alert,v as justifi_additional_questions,y as justifi_business_core_info,p as justifi_business_representative,k as justifi_legal_address_form}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as e,r as t,c as a}from"./p-fad19d75.js";import{p as s}from"./p-56f6ce4c.js";import"./p-df21aaad.js";import{a as r,b as o}from"./p-e3fab0e2.js";import{b as c,c as i,f as d}from"./p-5e2c9ec8.js";import{a as n,C as h}from"./p-14c91ffd.js";import{t as b}from"./p-2b6c9c4f.js";import{S as l}from"./p-44055818.js";import{T as f,a as p,b as u}from"./p-e333620e.js";const y=t=>e("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},t),e("path",{d:"M12 15.5l-5-5 1.41-1.41L12 12.67l3.59-3.58L17 10.5l-5 5z"}),e("path",{d:"M11 4h2v9h-2z"}),e("path",{d:"M5 18h14v2H5z"})),m=class{constructor(e){t(this,e),this.rowClicked=a(this,"payout-row-clicked",7),this.errorEvent=a(this,"error-event",7),this.downloadCSV=e=>{this.getPayoutCSV({payoutId:e,onError:()=>{this.errorEvent.emit({errorCode:n.FETCH_ERROR,message:"Failed to download CSV",severity:h.ERROR})}})},this.handleDateChange=(e,t)=>{this.params=Object.assign(Object.assign({},this.params),{[e]:t})},this.handleClickPrevious=e=>{const t=Object.assign({},this.params);delete t.after_cursor,this.params=Object.assign(Object.assign({},t),{before_cursor:e})},this.handleClickNext=e=>{const t=Object.assign({},this.params);delete t.before_cursor,this.params=Object.assign(Object.assign({},t),{after_cursor:e})},this.mapStatusToBadge=e=>{switch(e){case r.scheduled:return`<span class="badge bg-primary" title='Batched and scheduled to be transferred'>${o[e]}</span>`;case r.in_transit:return`<span class="badge bg-primary" title='Transfer to your bank account has been initiated'>${o[e]}</span>`;case r.failed:case r.canceled:return`<span class="badge bg-danger" title='Transfer to your bank account failed'>${o[e]}</span>`;case r.forwarded:return`<span class="badge bg-secondary" title='The funds have been forwarded to your next successful payout'>${o[e]}</span>`;case r.paid:return`<span class="badge bg-success" title='Successfully deposited into your bank account'>${o[e]}</span>`}},this.rowClickHandler=e=>{const t=e.target.closest("tr").dataset.rowEntityId;t&&this.rowClicked.emit(this.payouts.find((e=>e.id===t)))},this.getPayouts=void 0,this.getPayoutCSV=void 0,this.payouts=[],this.loading=!0,this.errorMessage=void 0,this.paging=s,this.params=void 0}updateOnPropChange(){this.fetchData()}componentWillLoad(){this.getPayouts&&this.fetchData()}fetchData(){this.loading=!0,this.getPayouts({params:this.params,onSuccess:({payouts:e,pagingInfo:t})=>{this.payouts=e,this.paging=t,this.loading=!1},onError:({error:e,code:t,severity:a})=>{this.errorMessage=e,this.errorEvent.emit({errorCode:t,message:e,severity:a}),this.loading=!1}})}get entityId(){return this.payouts.map((e=>e.id))}get columnData(){return[["Paid Out On","The date each transaction occurred"],["Type","The type of each transaction"],["Account","The ID of the account associated with each payout"],["Paid Out To","The bank account to which each payout was transferred"],["Payments","Sum of payments in each payout"],["Refunds","Sum of refunds in each payout"],["Fees","Sum of fees in each payout"],["Other","Sum of less common transactions in each payout"],["Payout Amount","The net sum of all transactions in each payout"],["Status","The real-time status of each payout"],["Actions",""]]}get rowData(){return this.payouts.map((t=>[{type:"head",value:`\n <div class='fw-bold'>${c(t.created_at)}</div>\n <div class='fw-bold'>${i(t.created_at)}</div>\n `},t.payout_type,t.account_id,`${t.bank_account.full_name} ${t.bank_account.account_number_last4}`,d(t.payments_total),d(t.refunds_total),d(t.fees_total),d(t.other_total),d(t.amount),{type:"inner",value:this.mapStatusToBadge(t.status)},e(y,{title:"Export CSV",onClick:()=>this.downloadCSV(t.id),style:{height:"24px",width:"24px",cursor:"pointer"}})]))}get showEmptyState(){return!this.loading&&!this.errorMessage&&this.rowData.length<1}get showErrorState(){return!this.loading&&!!this.errorMessage}get showRowData(){return!this.showEmptyState&&!this.showErrorState}render(){return e(l,{key:"c88e9dcab68723440f7ad47f526062f4fcda8f4f",exportedparts:b},e("div",{key:"b13a1f79bfba76fdb419aabe3b431b0635ee3e85",class:"row gy-3 mb-4"},e("div",{key:"1fa57ea19b1d41fcac7a04e327ba4b21ed85eafb",class:"col-2"},e("form-control-date",{key:"55d59be93d4d02c0e6167eb50710eae18f49dc06",name:"created_after",label:"Date from:",inputHandler:this.handleDateChange})),e("div",{key:"24385e4d4f590ffb6b7ecff89320c1a87d71126f",class:"col-2"},e("form-control-date",{key:"ed249c729426708374fb69b3d169111a30a76dff",name:"created_before",label:"Date to:",inputHandler:this.handleDateChange}))),e("div",{key:"6be333c9a3263b15133761367d7a2ee796c9524a",class:"table-wrapper"},e("table",{key:"97ac365de170c104db10742fc0c626006bd70e47",class:"table table-hover"},e("thead",{key:"4673ee790f8e8f1d9a997cb20412d60fefe77ff4",class:"table-head sticky-top",part:"table-head"},e("tr",{key:"8067c08e488007909f84cf89dddf0b30a315444b",class:"table-light text-nowrap",part:"table-head-row"},this.columnData.map((t=>e("th",{part:"table-head-cell",scope:"col",title:Array.isArray(t)?t[1]:""},Array.isArray(t)?t[0]:t))))),e("tbody",{key:"d872bc8f1cd0301de6d7784ec109aa14d04ed9d5",class:"table-body",part:"table-body"},e(f,{key:"761841567c65b07d8875ac5a97138c3e5388d388",columnSpan:this.columnData.length,isLoading:this.loading}),e(p,{key:"a1f92c9da78ac90454451788970fb7971eb4131f",isEmpty:this.showEmptyState,columnSpan:this.columnData.length}),e(u,{key:"e60d36c840f97fa48ba9b575d013efaa59653cc8",columnSpan:this.columnData.length,errorMessage:this.errorMessage}),this.showRowData&&this.rowData.map(((t,a)=>e("tr",{"data-test-id":"table-row","data-row-entity-id":this.entityId[a],onClick:this.rowClickHandler,part:"table-row "+(a%2?"table-row-even":"table-row-odd")},t.map((t=>(null==t?void 0:t.type)?e("td",{part:"table-cell",innerHTML:t.value}):e("td",{part:"table-cell"},t))))))),this.paging&&e("tfoot",{key:"3302c26fbf7a0fd0632aee60b0bb8ee105404d17",class:"sticky-bottom"},e("tr",{key:"3768a133e08940cb7ce3944f855fc0d6ace429ef",class:"table-light align-middle"},e("td",{key:"9ad8ab1254b998b12436bf5330d0d1d96b8a2f6e",part:"pagination-bar",colSpan:this.columnData.length},e("pagination-menu",{key:"9664a7f0e5e1ee4ac366574dce1669d613871094",paging:Object.assign(Object.assign({},this.paging),{handleClickPrevious:this.handleClickPrevious,handleClickNext:this.handleClickNext}),params:this.params})))))))}static get watchers(){return{params:["updateOnPropChange"],getPayouts:["updateOnPropChange"]}}};export{m as payouts_list_core}
|
|
@@ -1,27 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
const LoadingState = () => (h("main", { part: "detail-loading-state", class: "p-4 d-flex justify-content-center text-center", style: { fontSize: '1.2rem' } },
|
|
4
|
-
h("div", { part: "detail-loading-spinner", class: "spinner-border spinner-border-sm", role: "status" },
|
|
5
|
-
h("span", { class: "visually-hidden" }, "Loading..."))));
|
|
6
|
-
const ErrorState = (errorMessage) => (h("main", { part: "detail-empty-state", class: "p-4 d-flex justify-content-center text-center", style: { fontSize: '1.2rem' } },
|
|
7
|
-
h("div", null, errorMessage)));
|
|
8
|
-
const DetailSectionTitle = (props) => [
|
|
9
|
-
h("h5", { part: "detail-section-title", class: "mt-4" }, props.sectionTitle),
|
|
10
|
-
h("hr", null),
|
|
11
|
-
];
|
|
12
|
-
const DetailItem = ({ title, value, }) => title && value ? (h("div", { class: "d-table-row gap-2" },
|
|
13
|
-
h("span", { part: "detail-section-item-title", class: "fw-bold d-table-cell px-2" }, title),
|
|
14
|
-
h("span", { part: "detail-section-item-data", class: "flex-1 d-table-cell px-2 text-wrap", innerHTML: value }))) : null;
|
|
15
|
-
const EntityHeadInfoItem = ({ title, value, classes, }) => (h("div", { part: "detail-head-info-item", class: `d-flex flex-column ${classes}` },
|
|
16
|
-
h("span", { part: "detail-head-info-item-title", class: "fw-bold border-1 border-bottom ps-2 pe-2" }, title),
|
|
17
|
-
h("span", { part: "detail-head-info-item-data", class: "pt-2 ps-2 pe-2" }, value)));
|
|
18
|
-
const EntityHeadInfo = ({ title, slot, badge }, children) => (h("div", { slot: slot, part: "detail-head", class: "p-2" },
|
|
19
|
-
h("div", { class: "d-flex flex-row align-items-center gap-2 mb-2" },
|
|
20
|
-
h("h1", { class: "m-0", part: "detail-title" }, title),
|
|
21
|
-
badge),
|
|
22
|
-
h("div", { part: "detail-head-info", class: "d-flex flex-row align-items-top" }, children)));
|
|
23
|
-
const CodeBlock = ({ metadata }) => metadata && Object.keys(metadata).length ? (h("div", { class: 'mt-4' },
|
|
24
|
-
h("pre", { part: "detail-metadata", class: "p-2", "aria-label": "metadata content" },
|
|
25
|
-
h("code", null, JSON.stringify(metadata, null, 2))))) : null;
|
|
26
|
-
|
|
27
|
-
export { CodeBlock as C, DetailSectionTitle as D, ErrorState as E, LoadingState as L, EntityHeadInfo as a, EntityHeadInfoItem as b, DetailItem as c };
|
|
1
|
+
import{h as t}from"./p-fad19d75.js";const a=()=>t("main",{part:"detail-loading-state",class:"p-4 d-flex justify-content-center text-center",style:{fontSize:"1.2rem"}},t("div",{part:"detail-loading-spinner",class:"spinner-border spinner-border-sm",role:"status"},t("span",{class:"visually-hidden"},"Loading..."))),e=a=>t("main",{part:"detail-empty-state",class:"p-4 d-flex justify-content-center text-center",style:{fontSize:"1.2rem"}},t("div",null,a)),l=a=>[t("h5",{part:"detail-section-title",class:"mt-4"},a.sectionTitle),t("hr",null)],s=({title:a,value:e})=>a&&e?t("div",{class:"d-table-row gap-2"},t("span",{part:"detail-section-item-title",class:"fw-bold d-table-cell px-2"},a),t("span",{part:"detail-section-item-data",class:"flex-1 d-table-cell px-2 text-wrap",innerHTML:e})):null,i=({title:a,value:e,classes:l})=>t("div",{part:"detail-head-info-item",class:`d-flex flex-column ${l}`},t("span",{part:"detail-head-info-item-title",class:"fw-bold border-1 border-bottom ps-2 pe-2"},a),t("span",{part:"detail-head-info-item-data",class:"pt-2 ps-2 pe-2"},e)),d=({title:a,slot:e,badge:l},s)=>t("div",{slot:e,part:"detail-head",class:"p-2"},t("div",{class:"d-flex flex-row align-items-center gap-2 mb-2"},t("h1",{class:"m-0",part:"detail-title"},a),l),t("div",{part:"detail-head-info",class:"d-flex flex-row align-items-top"},s)),n=({metadata:a})=>a&&Object.keys(a).length?t("div",{class:"mt-4"},t("pre",{part:"detail-metadata",class:"p-2","aria-label":"metadata content"},t("code",null,JSON.stringify(a,null,2)))):null;export{n as C,l as D,e as E,a as L,d as a,i as b,s as c}
|
|
@@ -1,120 +1 @@
|
|
|
1
|
-
var
|
|
2
|
-
(function (CaptureStrategy) {
|
|
3
|
-
CaptureStrategy["automatic"] = "automatic";
|
|
4
|
-
CaptureStrategy["manual"] = "manual";
|
|
5
|
-
})(CaptureStrategy || (CaptureStrategy = {}));
|
|
6
|
-
var PaymentMethodTypes;
|
|
7
|
-
(function (PaymentMethodTypes) {
|
|
8
|
-
PaymentMethodTypes["card"] = "card";
|
|
9
|
-
PaymentMethodTypes["bankAccount"] = "bankAccount";
|
|
10
|
-
PaymentMethodTypes["sezzle"] = "sezzle";
|
|
11
|
-
PaymentMethodTypes["saved"] = "saved";
|
|
12
|
-
})(PaymentMethodTypes || (PaymentMethodTypes = {}));
|
|
13
|
-
var PaymentStatuses;
|
|
14
|
-
(function (PaymentStatuses) {
|
|
15
|
-
PaymentStatuses["pending"] = "pending";
|
|
16
|
-
PaymentStatuses["automatic"] = "automatic";
|
|
17
|
-
PaymentStatuses["authorized"] = "authorized";
|
|
18
|
-
PaymentStatuses["succeeded"] = "succeeded";
|
|
19
|
-
PaymentStatuses["failed"] = "failed";
|
|
20
|
-
PaymentStatuses["disputed"] = "disputed";
|
|
21
|
-
PaymentStatuses["fully_refunded"] = "fully_refunded";
|
|
22
|
-
PaymentStatuses["partially_refunded"] = "partially_refunded";
|
|
23
|
-
})(PaymentStatuses || (PaymentStatuses = {}));
|
|
24
|
-
var PaymentDisputedStatuses;
|
|
25
|
-
(function (PaymentDisputedStatuses) {
|
|
26
|
-
// if a dispute is 'won', we don't show a dispute status, just general status
|
|
27
|
-
PaymentDisputedStatuses["lost"] = "lost";
|
|
28
|
-
PaymentDisputedStatuses["open"] = "open";
|
|
29
|
-
})(PaymentDisputedStatuses || (PaymentDisputedStatuses = {}));
|
|
30
|
-
class PaymentMethod {
|
|
31
|
-
constructor(paymentMethod) {
|
|
32
|
-
this.card = paymentMethod.card ? new Card(paymentMethod.card) : undefined;
|
|
33
|
-
this.bank_account = paymentMethod.bank_account
|
|
34
|
-
? new BankAccount(paymentMethod.bank_account)
|
|
35
|
-
: undefined;
|
|
36
|
-
}
|
|
37
|
-
get payersName() {
|
|
38
|
-
if (this.card) {
|
|
39
|
-
return this.card.name;
|
|
40
|
-
}
|
|
41
|
-
else if (this.bank_account) {
|
|
42
|
-
return this.bank_account.name;
|
|
43
|
-
}
|
|
44
|
-
return null;
|
|
45
|
-
}
|
|
46
|
-
get lastFourDigits() {
|
|
47
|
-
if (this.card) {
|
|
48
|
-
return `**** ${this.card.acct_last_four}`;
|
|
49
|
-
}
|
|
50
|
-
else if (this.bank_account) {
|
|
51
|
-
return `**** ${this.bank_account.acct_last_four}`;
|
|
52
|
-
}
|
|
53
|
-
return null;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
class BankAccount {
|
|
57
|
-
constructor(bankAccount) {
|
|
58
|
-
this.id = bankAccount.id;
|
|
59
|
-
this.acct_last_four = bankAccount.acct_last_four;
|
|
60
|
-
this.name = bankAccount.name;
|
|
61
|
-
this.brand = bankAccount.brand;
|
|
62
|
-
this.token = bankAccount.token;
|
|
63
|
-
this.created_at = bankAccount.created_at;
|
|
64
|
-
this.updated_at = bankAccount.updated_at;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
class Card {
|
|
68
|
-
constructor(card) {
|
|
69
|
-
this.id = card.id || '';
|
|
70
|
-
this.acct_last_four = card.acct_last_four;
|
|
71
|
-
this.name = card.name;
|
|
72
|
-
this.brand = card.brand;
|
|
73
|
-
this.token = card.token;
|
|
74
|
-
this.created_at = card.created_at;
|
|
75
|
-
this.updated_at = card.updated_at;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
class Payment {
|
|
79
|
-
constructor(payment) {
|
|
80
|
-
this.id = payment.id;
|
|
81
|
-
this.account_id = payment.account_id;
|
|
82
|
-
this.amount = payment.amount;
|
|
83
|
-
this.amount_disputed = payment.amount_disputed;
|
|
84
|
-
this.amount_refundable = payment.amount_refundable;
|
|
85
|
-
this.amount_refunded = payment.amount_refunded;
|
|
86
|
-
this.balance = payment.balance;
|
|
87
|
-
this.captured = payment.captured;
|
|
88
|
-
this.capture_strategy = payment.capture_strategy;
|
|
89
|
-
this.currency = payment.currency;
|
|
90
|
-
this.description = payment.description;
|
|
91
|
-
this.disputed = payment.disputed;
|
|
92
|
-
this.disputes = payment.disputes;
|
|
93
|
-
this.error_code = payment.error_code;
|
|
94
|
-
this.error_description = payment.error_description;
|
|
95
|
-
this.fee_amount = payment.fee_amount;
|
|
96
|
-
this.is_test = payment.is_test;
|
|
97
|
-
this.metadata = payment.metadata;
|
|
98
|
-
this.payment_method = new PaymentMethod(payment.payment_method);
|
|
99
|
-
this.payment_intent_id = payment.payment_intent_id;
|
|
100
|
-
this.refunded = payment.refunded;
|
|
101
|
-
this.status = payment.status;
|
|
102
|
-
this.created_at = payment.created_at;
|
|
103
|
-
this.updated_at = payment.updated_at;
|
|
104
|
-
}
|
|
105
|
-
get disputedStatus() {
|
|
106
|
-
const lost = this.disputes.some((dispute) => dispute.status === PaymentDisputedStatuses.lost);
|
|
107
|
-
// if a dispute is 'won', we don't show a dispute status, just general status
|
|
108
|
-
if (!this.disputed) {
|
|
109
|
-
return null;
|
|
110
|
-
}
|
|
111
|
-
else if (lost) {
|
|
112
|
-
return PaymentDisputedStatuses.lost;
|
|
113
|
-
}
|
|
114
|
-
else {
|
|
115
|
-
return PaymentDisputedStatuses.open;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
export { Payment as P, PaymentMethodTypes as a };
|
|
1
|
+
var t,s,i,h;!function(t){t.automatic="automatic",t.manual="manual"}(t||(t={})),function(t){t.card="card",t.bankAccount="bankAccount",t.sezzle="sezzle",t.saved="saved"}(s||(s={})),function(t){t.pending="pending",t.automatic="automatic",t.authorized="authorized",t.succeeded="succeeded",t.failed="failed",t.disputed="disputed",t.fully_refunded="fully_refunded",t.partially_refunded="partially_refunded"}(i||(i={})),function(t){t.lost="lost",t.open="open"}(h||(h={}));class n{constructor(t){this.card=t.card?new u(t.card):void 0,this.bank_account=t.bank_account?new e(t.bank_account):void 0}get payersName(){return this.card?this.card.name:this.bank_account?this.bank_account.name:null}get lastFourDigits(){return this.card?`**** ${this.card.acct_last_four}`:this.bank_account?`**** ${this.bank_account.acct_last_four}`:null}}class e{constructor(t){this.id=t.id,this.acct_last_four=t.acct_last_four,this.name=t.name,this.brand=t.brand,this.token=t.token,this.created_at=t.created_at,this.updated_at=t.updated_at}}class u{constructor(t){this.id=t.id||"",this.acct_last_four=t.acct_last_four,this.name=t.name,this.brand=t.brand,this.token=t.token,this.created_at=t.created_at,this.updated_at=t.updated_at}}class a{constructor(t){this.id=t.id,this.account_id=t.account_id,this.amount=t.amount,this.amount_disputed=t.amount_disputed,this.amount_refundable=t.amount_refundable,this.amount_refunded=t.amount_refunded,this.balance=t.balance,this.captured=t.captured,this.capture_strategy=t.capture_strategy,this.currency=t.currency,this.description=t.description,this.disputed=t.disputed,this.disputes=t.disputes,this.error_code=t.error_code,this.error_description=t.error_description,this.fee_amount=t.fee_amount,this.is_test=t.is_test,this.metadata=t.metadata,this.payment_method=new n(t.payment_method),this.payment_intent_id=t.payment_intent_id,this.refunded=t.refunded,this.status=t.status,this.created_at=t.created_at,this.updated_at=t.updated_at}get disputedStatus(){const t=this.disputes.some((t=>t.status===h.lost));return this.disputed?t?h.lost:h.open:null}}export{a as P,s as a}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as o,c as r,h as a,F as t}from"./p-fad19d75.js";import"./p-56f6ce4c.js";import{a as i}from"./p-df21aaad.js";import"./p-e3fab0e2.js";const d={bankAccount:"Bank Account",card:"Card"},e=class{constructor(a){o(this,a),this.paymentMethodSelected=r(this,"paymentMethodSelected",7),this.paymentMethodTypes=[i.card,i.bankAccount],this.selectedPaymentMethodType=void 0}onChangeHandler(o){this.paymentMethodSelected.emit(o.target.value)}render(){return a("div",{key:"a0cd592094f7f69955469de84addde1d4bc5af4d",class:"btn-group jfi-btn-radio-group",role:"group","aria-label":"Radio toggle group for payment method"},this.paymentMethodTypes.map((o=>a(t,null,a("input",{id:o,type:"radio",name:"paymentMethodType",value:o,onChange:o=>this.onChangeHandler(o),checked:this.selectedPaymentMethodType===o,class:"btn-check jfi-btn-radio"}),a("label",{htmlFor:o,class:"btn btn-outline-primary jfi-btn-radio-label"},d[o])))))}};e.style=":host{display:block}.jfi-btn-radio+.jfi-btn-radio-label{color:var(--jfi-radio-button-color);background-color:var(--jfi-radio-button-background-color);border-color:var(--jfi-radio-button-border-color);padding:var(--jfi-radio-button-padding);font-size:var(--jfi-radio-button-font-size)}.jfi-btn-radio:focus+.jfi-btn-radio-label{box-shadow:var(--jfi-box-shadow-focus)}.jfi-btn-radio+.jfi-btn-radio-label:hover{color:var(--jfi-radio-button-color-hover);border-color:var(--jfi-radio-button-border-color-hover);background-color:var(--jfi-radio-button-background-color-hover)}.jfi-btn-radio:checked+.jfi-btn-radio-label:hover{color:var(--jfi-radio-button-color-selected-hover);border-color:var(--jfi-radio-button-border-color-selected-hover);background-color:var(--jfi-radio-button-background-color-selected-hover)}.jfi-btn-radio:checked+.jfi-btn-radio-label{color:var(--jfi-radio-button-color-selected);background-color:var(--jfi-radio-button-background-color-selected);border-color:var(--jfi-radio-button-border-color-selected)}.jfi-btn-radio-group{font-family:var(--jfi-layout-font-family);display:inline-flex;width:var(--jfi-radio-button-group-width)}";export{e as justifi_payment_method_selector}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as e,h as i,H as a,g as s}from"./p-fad19d75.js";const o=class{constructor(i){t(this,i),this.formControlInput=e(this,"formControlInput",7),this.formControlBlur=e(this,"formControlBlur",7),this.handleFormControlInput=t=>{const e=t.target,i=e.getAttribute("name");this.inputHandler(i,e.value),this.formControlInput.emit({name:i,value:e.value})},this.updateInput=t=>{const e=this.el.querySelector("input");e&&(e.value=t||"")},this.label=void 0,this.name=void 0,this.helpText=void 0,this.errorText=void 0,this.defaultValue=void 0,this.inputHandler=void 0,this.disabled=void 0}handleDefaultValueChange(t){this.updateInput(t)}componentDidLoad(){this.updateInput(this.defaultValue)}render(){return i(a,{key:"dd43d75b327c05e75b453b954346c6ffcd85a2f5",exportparts:"label,input,input-invalid"},i("div",{key:"5215f62251bd89be493ddffe46bf0c466b42e314",class:"form-group d-flex flex-column"},i("label",{key:"f0409970f8d43bcdef92b81363cc24aa1bb691a0",part:"label",class:"form-label",htmlFor:this.name},this.label),i("input",{key:"9c6a5899e64ba1a8af6af80c63b6a0895351da63",id:this.name,name:this.name,onBlur:this.formControlBlur.emit,onInput:this.handleFormControlInput,part:`input ${this.errorText&&"input-invalid"}`,class:this.errorText?"form-control is-invalid":"form-control",type:"number",disabled:this.disabled}),i("form-control-help-text",{key:"cd7b4a724427383cafc04137f6feca473695b020",helpText:this.helpText,name:this.name}),i("form-control-error-text",{key:"04748d3c5b1067b0312a2b7c36369e2a21a7215f",errorText:this.errorText,name:this.name})))}get el(){return s(this)}static get watchers(){return{defaultValue:["handleDefaultValueChange"]}}};export{o as form_control_number}
|
|
@@ -1,34 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
const TableEmptyState = (props) => {
|
|
4
|
-
const { columnSpan, isEmpty } = props;
|
|
5
|
-
if (!columnSpan || !isEmpty) {
|
|
6
|
-
return null;
|
|
7
|
-
}
|
|
8
|
-
return (h("tr", null,
|
|
9
|
-
h("td", { class: "empty-state", part: "empty-state", colSpan: columnSpan, style: { textAlign: 'center' } }, "No results")));
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
const TableErrorState = (props) => {
|
|
13
|
-
const { columnSpan, errorMessage } = props;
|
|
14
|
-
if (!columnSpan || !errorMessage) {
|
|
15
|
-
return null;
|
|
16
|
-
}
|
|
17
|
-
return (h("tr", null,
|
|
18
|
-
h("td", { class: "error-state", part: "error-state", colSpan: columnSpan, "data-test-id": "table-error-state", style: { textAlign: 'center' } },
|
|
19
|
-
"An unexpected error occurred: ",
|
|
20
|
-
errorMessage)));
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
const TableLoadingState = (props) => {
|
|
24
|
-
const { columnSpan, isLoading } = props;
|
|
25
|
-
if (!columnSpan || !isLoading) {
|
|
26
|
-
return null;
|
|
27
|
-
}
|
|
28
|
-
return (h("tr", null,
|
|
29
|
-
h("td", { class: "loading-state", part: "loading-state-cell", colSpan: columnSpan, style: { textAlign: 'center' } },
|
|
30
|
-
h("div", { part: "loading-state-spinner", class: "spinner-border", role: "status" },
|
|
31
|
-
h("span", { class: "visually-hidden" }, "Loading...")))));
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
export { TableLoadingState as T, TableEmptyState as a, TableErrorState as b };
|
|
1
|
+
import{h as t}from"./p-fad19d75.js";const e=e=>{const{columnSpan:r,isEmpty:s}=e;return r&&s?t("tr",null,t("td",{class:"empty-state",part:"empty-state",colSpan:r,style:{textAlign:"center"}},"No results")):null},r=e=>{const{columnSpan:r,errorMessage:s}=e;return r&&s?t("tr",null,t("td",{class:"error-state",part:"error-state",colSpan:r,"data-test-id":"table-error-state",style:{textAlign:"center"}},"An unexpected error occurred: ",s)):null},s=e=>{const{columnSpan:r,isLoading:s}=e;return r&&s?t("tr",null,t("td",{class:"loading-state",part:"loading-state-cell",colSpan:r,style:{textAlign:"center"}},t("div",{part:"loading-state-spinner",class:"spinner-border",role:"status"},t("span",{class:"visually-hidden"},"Loading...")))):null};export{s as T,e as a,r as b}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{A as a}from"./p-7d3be485.js";import"./p-56f6ce4c.js";import"./p-df21aaad.js";import"./p-e3fab0e2.js";import{c as t}from"./p-5a62fca2.js";class s{async fetchPayments(s,e,p){return a({authToken:e,apiOrigin:t.proxyApiOrigin}).get(`account/${s}/payments`,p)}async fetchPayment(s,e){const p=`payments/${s}`;return a({authToken:e,apiOrigin:t.proxyApiOrigin}).get(p)}}export{s as P}
|
|
@@ -1,43 +1 @@
|
|
|
1
|
-
var
|
|
2
|
-
(function (PayoutStatuses) {
|
|
3
|
-
PayoutStatuses["paid"] = "paid";
|
|
4
|
-
PayoutStatuses["failed"] = "failed";
|
|
5
|
-
PayoutStatuses["forwarded"] = "forwarded";
|
|
6
|
-
PayoutStatuses["scheduled"] = "scheduled";
|
|
7
|
-
PayoutStatuses["in_transit"] = "in_transit";
|
|
8
|
-
PayoutStatuses["canceled"] = "canceled";
|
|
9
|
-
})(PayoutStatuses || (PayoutStatuses = {}));
|
|
10
|
-
var PayoutStatusesSafeNames;
|
|
11
|
-
(function (PayoutStatusesSafeNames) {
|
|
12
|
-
PayoutStatusesSafeNames["paid"] = "Paid";
|
|
13
|
-
PayoutStatusesSafeNames["failed"] = "Failed";
|
|
14
|
-
PayoutStatusesSafeNames["forwarded"] = "Forwarded";
|
|
15
|
-
PayoutStatusesSafeNames["scheduled"] = "Scheduled";
|
|
16
|
-
PayoutStatusesSafeNames["in_transit"] = "In Transit";
|
|
17
|
-
PayoutStatusesSafeNames["canceled"] = "Canceled";
|
|
18
|
-
})(PayoutStatusesSafeNames || (PayoutStatusesSafeNames = {}));
|
|
19
|
-
class Payout {
|
|
20
|
-
constructor(payout) {
|
|
21
|
-
this.id = payout.id;
|
|
22
|
-
this.account_id = payout.account_id;
|
|
23
|
-
this.amount = payout.amount;
|
|
24
|
-
this.bank_account = payout.bank_account;
|
|
25
|
-
this.currency = payout.currency;
|
|
26
|
-
this.delivery_method = payout.delivery_method || 'standard';
|
|
27
|
-
this.description = payout.description;
|
|
28
|
-
this.deposits_at = payout.deposits_at;
|
|
29
|
-
this.fees_total = payout.fees_total;
|
|
30
|
-
this.refunds_count = payout.refunds_count;
|
|
31
|
-
this.refunds_total = payout.refunds_total;
|
|
32
|
-
this.payments_count = payout.payments_count;
|
|
33
|
-
this.payments_total = payout.payments_total;
|
|
34
|
-
this.payout_type = payout.payout_type;
|
|
35
|
-
this.other_total = payout.other_total;
|
|
36
|
-
this.status = payout.status;
|
|
37
|
-
this.metadata = payout.metadata;
|
|
38
|
-
this.created_at = payout.created_at;
|
|
39
|
-
this.updated_at = payout.updated_at;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export { Payout as P, PayoutStatuses as a, PayoutStatusesSafeNames as b };
|
|
1
|
+
var s,i;!function(s){s.paid="paid",s.failed="failed",s.forwarded="forwarded",s.scheduled="scheduled",s.in_transit="in_transit",s.canceled="canceled"}(s||(s={})),function(s){s.paid="Paid",s.failed="Failed",s.forwarded="Forwarded",s.scheduled="Scheduled",s.in_transit="In Transit",s.canceled="Canceled"}(i||(i={}));class t{constructor(s){this.id=s.id,this.account_id=s.account_id,this.amount=s.amount,this.bank_account=s.bank_account,this.currency=s.currency,this.delivery_method=s.delivery_method||"standard",this.description=s.description,this.deposits_at=s.deposits_at,this.fees_total=s.fees_total,this.refunds_count=s.refunds_count,this.refunds_total=s.refunds_total,this.payments_count=s.payments_count,this.payments_total=s.payments_total,this.payout_type=s.payout_type,this.other_total=s.other_total,this.status=s.status,this.metadata=s.metadata,this.created_at=s.created_at,this.updated_at=s.updated_at}}export{t as P,s as a,i as b}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as n,h as e}from"./p-fad19d75.js";var r="top",i="bottom",o="right",a="left",u="auto",f=[r,i,o,a],c="start",s="end",d="clippingParents",l="viewport",p="popper",h="reference",v=f.reduce((function(t,n){return t.concat([n+"-"+c,n+"-"+s])}),[]),b=[].concat(f,[u]).reduce((function(t,n){return t.concat([n,n+"-"+c,n+"-"+s])}),[]),m=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function y(t){return t?(t.nodeName||"").toLowerCase():null}function w(t){if(null==t)return window;if("[object Window]"!==t.toString()){var n=t.ownerDocument;return n&&n.defaultView||window}return t}function x(t){return t instanceof w(t).Element||t instanceof Element}function O(t){return t instanceof w(t).HTMLElement||t instanceof HTMLElement}function g(t){return"undefined"!=typeof ShadowRoot&&(t instanceof w(t).ShadowRoot||t instanceof ShadowRoot)}function j(t){return t.split("-")[0]}var k=Math.max,M=Math.min,E=Math.round;function A(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function q(){return!/^((?!chrome|android).)*safari/i.test(A())}function B(t,n,e){void 0===n&&(n=!1),void 0===e&&(e=!1);var r=t.getBoundingClientRect(),i=1,o=1;n&&O(t)&&(i=t.offsetWidth>0&&E(r.width)/t.offsetWidth||1,o=t.offsetHeight>0&&E(r.height)/t.offsetHeight||1);var a=(x(t)?w(t):window).visualViewport,u=!q()&&e,f=(r.left+(u&&a?a.offsetLeft:0))/i,c=(r.top+(u&&a?a.offsetTop:0))/o,s=r.width/i,d=r.height/o;return{width:s,height:d,top:c,right:f+s,bottom:c+d,left:f,x:f,y:c}}function P(t){var n=B(t),e=t.offsetWidth,r=t.offsetHeight;return Math.abs(n.width-e)<=1&&(e=n.width),Math.abs(n.height-r)<=1&&(r=n.height),{x:t.offsetLeft,y:t.offsetTop,width:e,height:r}}function L(t,n){var e=n.getRootNode&&n.getRootNode();if(t.contains(n))return!0;if(e&&g(e)){var r=n;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function R(t){return w(t).getComputedStyle(t)}function S(t){return["table","td","th"].indexOf(y(t))>=0}function W(t){return((x(t)?t.ownerDocument:t.document)||window.document).documentElement}function T(t){return"html"===y(t)?t:t.assignedSlot||t.parentNode||(g(t)?t.host:null)||W(t)}function C(t){return O(t)&&"fixed"!==R(t).position?t.offsetParent:null}function H(t){for(var n=w(t),e=C(t);e&&S(e)&&"static"===R(e).position;)e=C(e);return e&&("html"===y(e)||"body"===y(e)&&"static"===R(e).position)?n:e||function(t){var n=/firefox/i.test(A());if(/Trident/i.test(A())&&O(t)&&"fixed"===R(t).position)return null;var e=T(t);for(g(e)&&(e=e.host);O(e)&&["html","body"].indexOf(y(e))<0;){var r=R(e);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||n&&"filter"===r.willChange||n&&r.filter&&"none"!==r.filter)return e;e=e.parentNode}return null}(t)||n}function I(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function z(t,n,e){return k(t,M(n,e))}function D(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function _(t,n){return n.reduce((function(n,e){return n[e]=t,n}),{})}function F(t){return t.split("-")[1]}var U={top:"auto",right:"auto",bottom:"auto",left:"auto"};function V(t){var n,e=t.popper,u=t.popperRect,f=t.placement,c=t.variation,d=t.offsets,l=t.position,p=t.gpuAcceleration,h=t.adaptive,v=t.roundOffsets,b=t.isFixed,m=d.x,y=void 0===m?0:m,x=d.y,O=void 0===x?0:x,g="function"==typeof v?v({x:y,y:O}):{x:y,y:O};y=g.x,O=g.y;var j=d.hasOwnProperty("x"),k=d.hasOwnProperty("y"),M=a,A=r,q=window;if(h){var B=H(e),P="clientHeight",L="clientWidth";B===w(e)&&"static"!==R(B=W(e)).position&&"absolute"===l&&(P="scrollHeight",L="scrollWidth"),(f===r||(f===a||f===o)&&c===s)&&(A=i,O-=(b&&B===q&&q.visualViewport?q.visualViewport.height:B[P])-u.height,O*=p?1:-1),f!==a&&(f!==r&&f!==i||c!==s)||(M=o,y-=(b&&B===q&&q.visualViewport?q.visualViewport.width:B[L])-u.width,y*=p?1:-1)}var S,T=Object.assign({position:l},h&&U),C=!0===v?function(t,n){var e=t.y,r=n.devicePixelRatio||1;return{x:E(t.x*r)/r||0,y:E(e*r)/r||0}}({x:y,y:O},w(e)):{x:y,y:O};return y=C.x,O=C.y,Object.assign({},T,p?((S={})[A]=k?"0":"",S[M]=j?"0":"",S.transform=(q.devicePixelRatio||1)<=1?"translate("+y+"px, "+O+"px)":"translate3d("+y+"px, "+O+"px, 0)",S):((n={})[A]=k?O+"px":"",n[M]=j?y+"px":"",n.transform="",n))}var G={passive:!0},J={left:"right",right:"left",bottom:"top",top:"bottom"};function K(t){return t.replace(/left|right|bottom|top/g,(function(t){return J[t]}))}var N={start:"end",end:"start"};function Q(t){return t.replace(/start|end/g,(function(t){return N[t]}))}function X(t){var n=w(t);return{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function Y(t){return B(W(t)).left+X(t).scrollLeft}function Z(t){var n=R(t);return/auto|scroll|overlay|hidden/.test(n.overflow+n.overflowY+n.overflowX)}function $(t){return["html","body","#document"].indexOf(y(t))>=0?t.ownerDocument.body:O(t)&&Z(t)?t:$(T(t))}function tt(t,n){var e;void 0===n&&(n=[]);var r=$(t),i=r===(null==(e=t.ownerDocument)?void 0:e.body),o=w(r),a=i?[o].concat(o.visualViewport||[],Z(r)?r:[]):r,u=n.concat(a);return i?u:u.concat(tt(T(a)))}function nt(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function et(t,n,e){return n===l?nt(function(t,n){var e=w(t),r=W(t),i=e.visualViewport,o=r.clientWidth,a=r.clientHeight,u=0,f=0;if(i){o=i.width,a=i.height;var c=q();(c||!c&&"fixed"===n)&&(u=i.offsetLeft,f=i.offsetTop)}return{width:o,height:a,x:u+Y(t),y:f}}(t,e)):x(n)?function(t,n){var e=B(t,!1,"fixed"===n);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(n,e):nt(function(t){var n,e=W(t),r=X(t),i=null==(n=t.ownerDocument)?void 0:n.body,o=k(e.scrollWidth,e.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=k(e.scrollHeight,e.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),u=-r.scrollLeft+Y(t),f=-r.scrollTop;return"rtl"===R(i||e).direction&&(u+=k(e.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:u,y:f}}(W(t)))}function rt(t){var n,e=t.reference,u=t.element,f=t.placement,d=f?j(f):null,l=f?F(f):null,p=e.x+e.width/2-u.width/2,h=e.y+e.height/2-u.height/2;switch(d){case r:n={x:p,y:e.y-u.height};break;case i:n={x:p,y:e.y+e.height};break;case o:n={x:e.x+e.width,y:h};break;case a:n={x:e.x-u.width,y:h};break;default:n={x:e.x,y:e.y}}var v=d?I(d):null;if(null!=v){var b="y"===v?"height":"width";switch(l){case c:n[v]=n[v]-(e[b]/2-u[b]/2);break;case s:n[v]=n[v]+(e[b]/2-u[b]/2)}}return n}function it(t,n){void 0===n&&(n={});var e=n.placement,a=void 0===e?t.placement:e,u=n.strategy,c=void 0===u?t.strategy:u,s=n.boundary,v=void 0===s?d:s,b=n.rootBoundary,m=void 0===b?l:b,w=n.elementContext,g=void 0===w?p:w,j=n.altBoundary,E=void 0!==j&&j,A=n.padding,q=void 0===A?0:A,P=D("number"!=typeof q?q:_(q,f)),S=t.rects.popper,C=t.elements[E?g===p?h:p:g],I=function(t,n,e,r){var i="clippingParents"===n?function(t){var n=tt(T(t)),e=["absolute","fixed"].indexOf(R(t).position)>=0&&O(t)?H(t):t;return x(e)?n.filter((function(t){return x(t)&&L(t,e)&&"body"!==y(t)})):[]}(t):[].concat(n),o=[].concat(i,[e]),a=o.reduce((function(n,e){var i=et(t,e,r);return n.top=k(i.top,n.top),n.right=M(i.right,n.right),n.bottom=M(i.bottom,n.bottom),n.left=k(i.left,n.left),n}),et(t,o[0],r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(x(C)?C:C.contextElement||W(t.elements.popper),v,m,c),z=B(t.elements.reference),F=rt({reference:z,element:S,strategy:"absolute",placement:a}),U=nt(Object.assign({},S,F)),V=g===p?U:z,G={top:I.top-V.top+P.top,bottom:V.bottom-I.bottom+P.bottom,left:I.left-V.left+P.left,right:V.right-I.right+P.right},J=t.modifiersData.offset;if(g===p&&J){var K=J[a];Object.keys(G).forEach((function(t){var n=[o,i].indexOf(t)>=0?1:-1,e=[r,i].indexOf(t)>=0?"y":"x";G[t]+=K[e]*n}))}return G}function ot(t,n){void 0===n&&(n={});var e=n.boundary,r=n.rootBoundary,i=n.padding,o=n.flipVariations,a=n.allowedAutoPlacements,u=void 0===a?b:a,c=F(n.placement),s=c?o?v:v.filter((function(t){return F(t)===c})):f,d=s.filter((function(t){return u.indexOf(t)>=0}));0===d.length&&(d=s);var l=d.reduce((function(n,o){return n[o]=it(t,{placement:o,boundary:e,rootBoundary:r,padding:i})[j(o)],n}),{});return Object.keys(l).sort((function(t,n){return l[t]-l[n]}))}const at={name:"flip",enabled:!0,phase:"main",fn:function(t){var n=t.state,e=t.options,f=t.name;if(!n.modifiersData[f]._skip){for(var s=e.mainAxis,d=void 0===s||s,l=e.altAxis,p=void 0===l||l,h=e.fallbackPlacements,v=e.padding,b=e.boundary,m=e.rootBoundary,y=e.altBoundary,w=e.flipVariations,x=void 0===w||w,O=e.allowedAutoPlacements,g=n.options.placement,k=j(g),M=h||(k!==g&&x?function(t){if(j(t)===u)return[];var n=K(t);return[Q(t),n,Q(n)]}(g):[K(g)]),E=[g].concat(M).reduce((function(t,e){return t.concat(j(e)===u?ot(n,{placement:e,boundary:b,rootBoundary:m,padding:v,flipVariations:x,allowedAutoPlacements:O}):e)}),[]),A=n.rects.reference,q=n.rects.popper,B=new Map,P=!0,L=E[0],R=0;R<E.length;R++){var S=E[R],W=j(S),T=F(S)===c,C=[r,i].indexOf(W)>=0,H=C?"width":"height",I=it(n,{placement:S,boundary:b,rootBoundary:m,altBoundary:y,padding:v}),z=C?T?o:a:T?i:r;A[H]>q[H]&&(z=K(z));var D=K(z),_=[];if(d&&_.push(I[W]<=0),p&&_.push(I[z]<=0,I[D]<=0),_.every((function(t){return t}))){L=S,P=!1;break}B.set(S,_)}if(P)for(var U=function(t){var n=E.find((function(n){var e=B.get(n);if(e)return e.slice(0,t).every((function(t){return t}))}));if(n)return L=n,"break"},V=x?3:1;V>0&&"break"!==U(V);V--);n.placement!==L&&(n.modifiersData[f]._skip=!0,n.placement=L,n.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ut(t,n,e){return void 0===e&&(e={x:0,y:0}),{top:t.top-n.height-e.y,right:t.right-n.width+e.x,bottom:t.bottom-n.height+e.y,left:t.left-n.width-e.x}}function ft(t){return[r,o,i,a].some((function(n){return t[n]>=0}))}function ct(t,n,e){void 0===e&&(e=!1);var r,i,o=O(n),a=O(n)&&function(t){var n=t.getBoundingClientRect(),e=E(n.width)/t.offsetWidth||1,r=E(n.height)/t.offsetHeight||1;return 1!==e||1!==r}(n),u=W(n),f=B(t,a,e),c={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(o||!o&&!e)&&(("body"!==y(n)||Z(u))&&(c=(r=n)!==w(r)&&O(r)?{scrollLeft:(i=r).scrollLeft,scrollTop:i.scrollTop}:X(r)),O(n)?((s=B(n,!0)).x+=n.clientLeft,s.y+=n.clientTop):u&&(s.x=Y(u))),{x:f.left+c.scrollLeft-s.x,y:f.top+c.scrollTop-s.y,width:f.width,height:f.height}}function st(t){var n=new Map,e=new Set,r=[];function i(t){e.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!e.has(t)){var r=n.get(t);r&&i(r)}})),r.push(t)}return t.forEach((function(t){n.set(t.name,t)})),t.forEach((function(t){e.has(t.name)||i(t)})),r}var dt={placement:"bottom",modifiers:[],strategy:"absolute"};function lt(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];return!n.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function pt(t){void 0===t&&(t={});var n=t.defaultModifiers,e=void 0===n?[]:n,r=t.defaultOptions,i=void 0===r?dt:r;return function(t,n,r){void 0===r&&(r=i);var o,a,u={placement:"bottom",orderedModifiers:[],options:Object.assign({},dt,i),modifiersData:{},elements:{reference:t,popper:n},attributes:{},styles:{}},f=[],c=!1,s={state:u,setOptions:function(r){var o="function"==typeof r?r(u.options):r;d(),u.options=Object.assign({},i,u.options,o),u.scrollParents={reference:x(t)?tt(t):t.contextElement?tt(t.contextElement):[],popper:tt(n)};var a,c,l=function(t){var n=st(t);return m.reduce((function(t,e){return t.concat(n.filter((function(t){return t.phase===e})))}),[])}((a=[].concat(e,u.options.modifiers),c=a.reduce((function(t,n){var e=t[n.name];return t[n.name]=e?Object.assign({},e,n,{options:Object.assign({},e.options,n.options),data:Object.assign({},e.data,n.data)}):n,t}),{}),Object.keys(c).map((function(t){return c[t]}))));return u.orderedModifiers=l.filter((function(t){return t.enabled})),u.orderedModifiers.forEach((function(t){var n=t.options,e=t.effect;if("function"==typeof e){var r=e({state:u,name:t.name,instance:s,options:void 0===n?{}:n});f.push(r||function(){})}})),s.update()},forceUpdate:function(){if(!c){var t=u.elements,n=t.reference,e=t.popper;if(lt(n,e)){u.rects={reference:ct(n,H(e),"fixed"===u.options.strategy),popper:P(e)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach((function(t){return u.modifiersData[t.name]=Object.assign({},t.data)}));for(var r=0;r<u.orderedModifiers.length;r++)if(!0!==u.reset){var i=u.orderedModifiers[r],o=i.fn,a=i.options;"function"==typeof o&&(u=o({state:u,options:void 0===a?{}:a,name:i.name,instance:s})||u)}else u.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(t){s.forceUpdate(),t(u)}))},function(){return a||(a=new Promise((function(t){Promise.resolve().then((function(){a=void 0,t(o())}))}))),a}),destroy:function(){d(),c=!0}};if(!lt(t,n))return s;function d(){f.forEach((function(t){return t()})),f=[]}return s.setOptions(r).then((function(t){!c&&r.onFirstUpdate&&r.onFirstUpdate(t)})),s}}var ht=pt({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var n=t.state,e=t.instance,r=t.options,i=r.scroll,o=void 0===i||i,a=r.resize,u=void 0===a||a,f=w(n.elements.popper),c=[].concat(n.scrollParents.reference,n.scrollParents.popper);return o&&c.forEach((function(t){t.addEventListener("scroll",e.update,G)})),u&&f.addEventListener("resize",e.update,G),function(){o&&c.forEach((function(t){t.removeEventListener("scroll",e.update,G)})),u&&f.removeEventListener("resize",e.update,G)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var n=t.state;n.modifiersData[t.name]=rt({reference:n.rects.reference,element:n.rects.popper,strategy:"absolute",placement:n.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var n=t.state,e=t.options,r=e.gpuAcceleration,i=void 0===r||r,o=e.adaptive,a=void 0===o||o,u=e.roundOffsets,f=void 0===u||u,c={placement:j(n.placement),variation:F(n.placement),popper:n.elements.popper,popperRect:n.rects.popper,gpuAcceleration:i,isFixed:"fixed"===n.options.strategy};null!=n.modifiersData.popperOffsets&&(n.styles.popper=Object.assign({},n.styles.popper,V(Object.assign({},c,{offsets:n.modifiersData.popperOffsets,position:n.options.strategy,adaptive:a,roundOffsets:f})))),null!=n.modifiersData.arrow&&(n.styles.arrow=Object.assign({},n.styles.arrow,V(Object.assign({},c,{offsets:n.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-placement":n.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var n=t.state;Object.keys(n.elements).forEach((function(t){var e=n.styles[t]||{},r=n.attributes[t]||{},i=n.elements[t];O(i)&&y(i)&&(Object.assign(i.style,e),Object.keys(r).forEach((function(t){var n=r[t];!1===n?i.removeAttribute(t):i.setAttribute(t,!0===n?"":n)})))}))},effect:function(t){var n=t.state,e={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(n.elements.popper.style,e.popper),n.styles=e,n.elements.arrow&&Object.assign(n.elements.arrow.style,e.arrow),function(){Object.keys(n.elements).forEach((function(t){var r=n.elements[t],i=n.attributes[t]||{},o=Object.keys(n.styles.hasOwnProperty(t)?n.styles[t]:e[t]).reduce((function(t,n){return t[n]="",t}),{});O(r)&&y(r)&&(Object.assign(r.style,o),Object.keys(i).forEach((function(t){r.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var n=t.state,e=t.name,i=t.options.offset,u=void 0===i?[0,0]:i,f=b.reduce((function(t,e){return t[e]=function(t,n,e){var i=j(t),u=[a,r].indexOf(i)>=0?-1:1,f="function"==typeof e?e(Object.assign({},n,{placement:t})):e,c=f[0],s=f[1];return c=c||0,s=(s||0)*u,[a,o].indexOf(i)>=0?{x:s,y:c}:{x:c,y:s}}(e,n.rects,u),t}),{}),c=f[n.placement],s=c.y;null!=n.modifiersData.popperOffsets&&(n.modifiersData.popperOffsets.x+=c.x,n.modifiersData.popperOffsets.y+=s),n.modifiersData[e]=f}},at,{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var n=t.state,e=t.options,u=t.name,f=e.mainAxis,s=void 0===f||f,d=e.altAxis,l=void 0!==d&&d,p=e.tether,h=void 0===p||p,v=e.tetherOffset,b=void 0===v?0:v,m=it(n,{boundary:e.boundary,rootBoundary:e.rootBoundary,padding:e.padding,altBoundary:e.altBoundary}),y=j(n.placement),w=F(n.placement),x=!w,O=I(y),g="x"===O?"y":"x",E=n.modifiersData.popperOffsets,A=n.rects.reference,q=n.rects.popper,B="function"==typeof b?b(Object.assign({},n.rects,{placement:n.placement})):b,L="number"==typeof B?{mainAxis:B,altAxis:B}:Object.assign({mainAxis:0,altAxis:0},B),R=n.modifiersData.offset?n.modifiersData.offset[n.placement]:null,S={x:0,y:0};if(E){if(s){var W,T="y"===O?r:a,C="y"===O?i:o,D="y"===O?"height":"width",_=E[O],U=_+m[T],V=_-m[C],G=h?-q[D]/2:0,J=w===c?A[D]:q[D],K=w===c?-q[D]:-A[D],N=n.elements.arrow,Q=h&&N?P(N):{width:0,height:0},X=n.modifiersData["arrow#persistent"]?n.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Y=X[T],Z=X[C],$=z(0,A[D],Q[D]),tt=x?A[D]/2-G-$-Y-L.mainAxis:J-$-Y-L.mainAxis,nt=x?-A[D]/2+G+$+Z+L.mainAxis:K+$+Z+L.mainAxis,et=n.elements.arrow&&H(n.elements.arrow),rt=null!=(W=null==R?void 0:R[O])?W:0,ot=_+nt-rt,at=z(h?M(U,_+tt-rt-(et?"y"===O?et.clientTop||0:et.clientLeft||0:0)):U,_,h?k(V,ot):V);E[O]=at,S[O]=at-_}if(l){var ut,ft=E[g],ct="y"===g?"height":"width",st=ft+m["x"===O?r:a],dt=ft-m["x"===O?i:o],lt=-1!==[r,a].indexOf(y),pt=null!=(ut=null==R?void 0:R[g])?ut:0,ht=lt?st:ft-A[ct]-q[ct]-pt+L.altAxis,vt=lt?ft+A[ct]+q[ct]-pt-L.altAxis:dt,bt=h&<?function(t,n,e){var r=z(t,n,e);return r>e?e:r}(ht,ft,vt):z(h?ht:st,ft,h?vt:dt);E[g]=bt,S[g]=bt-ft}n.modifiersData[u]=S}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var n,e=t.state,u=t.name,c=t.options,s=e.elements.arrow,d=e.modifiersData.popperOffsets,l=j(e.placement),p=I(l),h=[a,o].indexOf(l)>=0?"height":"width";if(s&&d){var v=function(t,n){return D("number"!=typeof(t="function"==typeof t?t(Object.assign({},n.rects,{placement:n.placement})):t)?t:_(t,f))}(c.padding,e),b=P(s),m="y"===p?r:a,y="y"===p?i:o,w=e.rects.reference[h]+e.rects.reference[p]-d[p]-e.rects.popper[h],x=d[p]-e.rects.reference[p],O=H(s),g=O?"y"===p?O.clientHeight||0:O.clientWidth||0:0,k=g/2-b[h]/2+(w/2-x/2),M=z(v[m],k,g-b[h]-v[y]);e.modifiersData[u]=((n={})[p]=M,n.centerOffset=M-k,n)}},effect:function(t){var n=t.state,e=t.options.element,r=void 0===e?"[data-popper-arrow]":e;null!=r&&("string"!=typeof r||(r=n.elements.popper.querySelector(r)))&&L(n.elements.popper,r)&&(n.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var n=t.state,e=t.name,r=n.rects.reference,i=n.rects.popper,o=n.modifiersData.preventOverflow,a=it(n,{elementContext:"reference"}),u=it(n,{altBoundary:!0}),f=ut(a,r),c=ut(u,i,o),s=ft(f),d=ft(c);n.modifiersData[e]={referenceClippingOffsets:f,popperEscapeOffsets:c,isReferenceHidden:s,hasPopperEscaped:d},n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-reference-hidden":s,"data-popper-escaped":d})}}]});const vt=class{constructor(e){t(this,e),this.showEvent=n(this,"showEvent",7),this.hideEvent=n(this,"hideEvent",7),this.placement="bottom",this.offset=[0,10],this.strategy="absolute",this.trigger="click",this.anchorRef=void 0,this.isOpen=!1}componentDidLoad(){this.popperInstance=ht(this.anchorRef,this.popperContentRef,this.popperOptions),"click"===this.trigger?window.addEventListener("click",this.handleClick.bind(this)):"hover"===this.trigger?(this.anchorRef.addEventListener("mouseenter",this.show.bind(this)),this.anchorRef.addEventListener("mouseleave",this.hide.bind(this)),this.popperContentRef.addEventListener("mouseenter",this.show.bind(this)),this.popperContentRef.addEventListener("mouseleave",this.hide.bind(this))):"focus"===this.trigger&&(this.anchorRef.addEventListener("focus",this.show.bind(this)),this.anchorRef.addEventListener("blur",this.hide.bind(this)))}disconnectedCallback(){"click"===this.trigger?window.removeEventListener("click",this.handleClick.bind(this)):"hover"===this.trigger?(this.anchorRef.removeEventListener("mouseenter",this.show.bind(this)),this.anchorRef.removeEventListener("mouseleave",this.hide.bind(this)),this.popperContentRef.removeEventListener("mouseenter",this.show.bind(this)),this.popperContentRef.removeEventListener("mouseleave",this.hide.bind(this))):"focus"===this.trigger&&(this.anchorRef.removeEventListener("focus",this.show.bind(this)),this.anchorRef.removeEventListener("blur",this.hide.bind(this)))}handleClick(t){const n=t.composedPath(),e=n.includes(this.anchorRef),r=n.includes(this.popperContentRef);!this.isOpen&&e?this.show():(this.isOpen&&!r||this.isOpen&&e)&&this.hide()}get popperOptions(){return{placement:this.placement,modifiers:[{name:"offset",options:{offset:this.offset}}],strategy:this.strategy}}show(){this.isOpen=!0,this.popperContentRef.setAttribute("data-show",""),this.popperInstance.update(),this.showEvent.emit()}hide(){this.isOpen=!1,this.popperContentRef.removeAttribute("data-show"),this.popperInstance.update(),this.hideEvent.emit()}render(){return e("div",{key:"2fd0d1c55f982d9882b17f26c1e997de8de53768"},e("style",{key:"ae7fb7b0eae12cfcea357299b6457f523831ac12"},"\n .popper-content {\n display: none;\n }\n .popper-content[data-show] {\n display: block;\n z-index: 1030;\n }\n "),e("div",{key:"2c747dff168ef5e84642d5c490ffa4e8fc5c2350",class:"popper-content",ref:t=>this.popperContentRef=t},e("slot",{key:"720f23f2a51da2bb9de5c17d7a548d5ddf90ea53"})))}};export{vt as custom_popper}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as i,h as e,H as s,g as o}from"./p-fad19d75.js";const a=class{constructor(e){t(this,e),this.formControlInput=i(this,"formControlInput",7),this.formControlBlur=i(this,"formControlBlur",7),this.fileSelected=i(this,"fileSelected",7),this.handleFormControlInput=t=>{const i=t.target,e=i.getAttribute("name");this.inputHandler(e,i.value),this.formControlInput.emit({name:e,value:i.value})},this.changeHandler=()=>{const t=this.fileInput.files;t&&this.fileSelected.emit({fileList:t,document_type:this.documentType})},this.files=void 0,this.fileString=void 0,this.label=void 0,this.name=void 0,this.helpText=void 0,this.errorText=void 0,this.multiple=void 0,this.documentType=void 0,this.inputHandler=void 0,this.disabled=void 0}componentDidLoad(){this.fileInput=this.el.querySelector("input")}render(){return e(s,{key:"ed29128c1c4c811aa030697347adb88e0143b031",exportparts:"label,input,input-invalid"},e("div",{key:"6c924bdbbccae8e98a382a92e54c5b9c288de8d4",class:"form-group d-flex flex-column"},e("label",{key:"dbacccea94e39815737683495e3df83b514b79af",part:"label",class:"form-label",htmlFor:this.name},this.label),e("input",{key:"a7eef53c9fff54eace8c6960b8c62a833d30bfa3",ref:t=>this.fileInput=t,type:"file",name:this.name,part:`input ${this.errorText?"input-invalid ":""}${this.disabled?" input-disabled":""}`,class:this.errorText?"form-control is-invalid":"form-control",multiple:this.multiple,disabled:this.disabled,onChange:this.changeHandler,onInput:this.handleFormControlInput,onBlur:()=>this.formControlBlur.emit()}),e("form-control-help-text",{key:"a5abacb92bdb3fb59d0a2265114e858540f2c4b7",helpText:this.helpText,name:this.name}),e("form-control-error-text",{key:"6eeeef347237d363d3bc6616d58f19a7f0be7e3c",errorText:this.errorText,name:this.name})))}get el(){return o(this)}};export{a as form_control_file}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as o,c as r,h as t}from"./p-fad19d75.js";import{c as i,d as a,F as e}from"./p-2eab3c90.js";import{A as s}from"./p-7d3be485.js";import"./p-56f6ce4c.js";import"./p-df21aaad.js";import"./p-e3fab0e2.js";import{c as f}from"./p-5a62fca2.js";import{C as n}from"./p-525db3e8.js";import{S as d}from"./p-44055818.js";const b=i().shape({amount:a().required("Amount is required").typeError("Amount must be a number").positive("Amount must be positive").test("amount","Refund amount cannot be more than the original payment amount",(function(o){return o<=this.options.context.amount})).nullable()}),c=class{constructor(t){o(this,t),this.submitted=r(this,"submitted",7),this.authToken=void 0,this.paymentId=void 0,this.amount=0,this.submitButtonText="Submit",this.withButton=void 0,this.refundInfoText=void 0,this.errors={},this.isSubmitting=!1}componentWillLoad(){this.formController=new e(b),this.formController.setInitialValues({amount:this.amount,message:""}),this.initializeApi()}componentDidLoad(){this.formController.errors.subscribe((o=>{this.errors=Object.assign({},o)}))}async handleSubmit(o){o.preventDefault(),this.formController.validateAndSubmit(this.submitRefund.bind(this),{amount:this.amount})}async submitRefund(){this.isSubmitting=!0;const o=this.formController.values.getValue();try{await this.api.post(`payments/${this.paymentId}/refunds`,o),this.submitted.emit(o)}catch(o){console.error("Error submitting refund:",o),this.submitted.emit(o)}finally{this.isSubmitting=!1}}handleInput(o,r){this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[o]:r}))}initializeApi(){this.authToken||console.warn("Warning: Missing auth-token."),this.api=s({authToken:this.authToken,apiOrigin:f.proxyApiOrigin})}render(){var o;return t(d,{key:"317b405be6fae390e20b7bf8586aced9fdf5e246"},t("h1",{key:"e27cd7c30b74eae1be005dfd17cc4a33411024d1"},"Refund"),this.refundInfoText&&t("div",{key:"00298ad8bd4a0c5e56d78e94f2b9da8b3ad065df",class:"d-flex align-items-center flex-row gap-4 border-top border-bottom my-4 p-3",role:"alert"},t("img",{key:"e32db4b03e42a6e8180b10e99a7a7de94e753850",src:"/info-icon.svg",alt:"Information",height:"30",width:"30"}),t("p",{key:"d63e3a790338bd5c3ac9f304aaa01b65928bd34e",class:"m-0",innerHTML:this.refundInfoText})),t("form",{key:"a5cb24ef9f8214e37398d4c2eb790f0c5ffb5a18",onSubmit:o=>this.handleSubmit(o),class:"d-grid gap-4"},t("div",{key:"c8e24f30f8db93bef5e6b56d9eea5208aa768f94",class:"form-group"},t("form-control-monetary",{key:"a52701bc026714e8e0851eeff6c8458385f2f5da",name:"amount",label:"Refund Amount",defaultValue:(null===(o=this.amount)||void 0===o?void 0:o.toString())||"",maskOptions:n.DECIMAL,inputHandler:(o,r)=>this.handleInput(o,r),errorText:this.errors.amount})),t("div",{key:"e2ff04104c47d2852da925de074b1667dcc684f4",class:"form-group"},t("form-control-text",{key:"8567d4f6082642919e2a132511af6eb9f393cd65",name:"notes",label:"Additional Notes",inputHandler:(o,r)=>this.handleInput(o,r),errorText:this.errors.notes})),this.withButton&&t("div",{key:"6634bfd2156b45f189c4c4b630983712bbc5baa4",class:"form-group d-flex flex-row-reverse"},t("button",{key:"1a0c80e5ee42673d09f9d7f9a36acc2f4ea52f8b",type:"submit",disabled:!!this.isSubmitting,class:"btn btn-primary ml-auto"},this.submitButtonText))))}};c.style=":host{display:block}*::part(input){font-family:var(--jfi-layout-font-family);background-color:var(--jfi-form-control-background-color);border-color:var(--jfi-form-control-border-color);border-width:var(--jfi-form-control-border-width);border-bottom-width:var(--jfi-form-control-border-bottom-width);border-left-width:var(--jfi-form-control-border-left-width);border-right-width:var(--jfi-form-control-border-right-width);border-top-width:var(--jfi-form-control-border-top-width);border-radius:var(--jfi-form-control-border-radius);border-style:var(--jfi-form-control-border-style);box-shadow:var(--jfi-form-control-box-shadow);color:var(--jfi-form-control-color);font-size:var(--jfi-form-control-font-size);font-weight:var(--jfi-form-control-font-weight);line-height:var(--jfi-form-control-line-height);margin:var(--jfi-form-control-margin);padding:var(--jfi-form-control-padding)}*::part(input):focus{color:var(--jfi-form-control-color-focus);border-color:var(--jfi-form-control-border-color-focus);box-shadow:var(--jfi-form-control-box-shadow-focus)}.btn{font-family:var(--jfi-layout-font-family);color:var(--jfi-submit-button-color);background-color:var(--jfi-submit-button-background-color);border-color:var(--jfi-submit-button-border-color);padding:var(--jfi-submit-button-padding);font-size:var(--jfi-submit-button-font-size);border-radius:var(--jfi-submit-button-border-radius);width:var(--jfi-submit-button-width);box-shadow:var(--jfi-submit-button-box-shadow)}.btn:hover{color:var(--jfi-submit-button-color-hover);background-color:var(--jfi-submit-button-background-color-hover);border-color:var(--jfi-submit-button-border-color-hover)}.btn:focus{color:var(--jfi-submit-button-color-focus);background-color:var(--jfi-submit-button-background-color-focus);border-color:var(--jfi-submit-button-border-color-focus)}.btn:active{color:var(--jfi-submit-button-color-active);background-color:var(--jfi-submit-button-background-color-active);border-color:var(--jfi-submit-button-border-color-active)}";export{c as justifi_refund_form}
|