@justifi/webcomponents 5.2.0 → 5.3.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/{Checkout-2ff4f9c8.js → Checkout-0f1c8abe.js} +1 -1
- package/dist/cjs/Document-0b828345.js +58 -0
- package/dist/cjs/{Payment-84817e2d.js → Payment-c47ed1e1.js} +1 -1
- package/dist/cjs/{SubAccount-f236913b.js → SubAccount-509ebf93.js} +1 -1
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -3
- package/dist/cjs/{badge-fbf58cb9.js → badge-ccfe03bf.js} +1 -1
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +130 -0
- package/dist/cjs/bank-account-form_9.cjs.entry.js +12 -12
- package/dist/cjs/billing-form_3.cjs.entry.js +8 -7
- package/dist/cjs/{business-additional-questions-schema-caa23e95.js → business-additional-questions-schema-2f66f025.js} +1 -1
- package/dist/cjs/business-details-core.cjs.entry.js +3 -3
- package/dist/cjs/{business-identity-schema-0c537067.js → business-identity-schema-be495474.js} +1 -1
- package/dist/cjs/{business.service-ffb6f478.js → business.service-d575b515.js} +7 -0
- package/dist/cjs/{button-e7796b07.js → button-8b634147.js} +1 -1
- package/dist/cjs/{check-pkg-version-dee8dbb7.js → check-pkg-version-1658df6f.js} +1 -1
- package/dist/cjs/{checkout.service-e9c05c15.js → checkout.service-057b5a7a.js} +5 -3
- package/dist/cjs/checkouts-list-core.cjs.entry.js +12 -10
- package/dist/cjs/{checkouts-table-0f19c1e6.js → checkouts-table-efa1cbab.js} +3 -3
- package/dist/cjs/{custom-popper.cjs.entry.js → custom-popper_4.cjs.entry.js} +141 -2
- package/dist/cjs/{dispute.service-9272a2a6.js → dispute.service-df9e1830.js} +5 -3
- package/dist/cjs/{event-types-aa1a9be1.js → event-types-34b103b4.js} +2 -2
- package/dist/cjs/form-alert_5.cjs.entry.js +1 -1
- package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/form-control-date.cjs.entry.js +4 -4
- package/dist/cjs/{form-control-error-text-c1f49f35.js → form-control-error-text-46a7f2dd.js} +1 -1
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +4 -4
- package/dist/cjs/{form-control-help-text-e6cc71a7.js → form-control-help-text-98c882e3.js} +1 -1
- package/dist/cjs/form-control-monetary.cjs.entry.js +5 -5
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +4 -4
- package/dist/cjs/form-control-number.cjs.entry.js +5 -5
- package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
- package/dist/cjs/{get-payout-csv-778db023.js → get-payout-csv-527a238c.js} +5 -4
- package/dist/cjs/{get-subaccounts-b087fa39.js → get-subaccounts-6068c1aa.js} +5 -4
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +5 -5
- package/dist/cjs/{header-1-96b97cab.js → header-1-4c21f7ca.js} +1 -1
- package/dist/cjs/{header-3-ce77b96b.js → header-3-130206cc.js} +1 -1
- package/dist/cjs/{insurance-state-8959c7c7.js → insurance-state-21fde44f.js} +1 -1
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +833 -0
- package/dist/cjs/{justifi-additional-questions-form-step_10.cjs.entry.js → justifi-additional-questions-form-step_9.cjs.entry.js} +29 -226
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +9 -9
- package/dist/cjs/justifi-business-details.cjs.entry.js +5 -5
- package/dist/cjs/justifi-business-form.cjs.entry.js +15 -13
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +8 -8
- package/dist/cjs/justifi-checkout.cjs.entry.js +10 -9
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +14 -13
- package/dist/cjs/justifi-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +9 -8
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +14 -13
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +4 -4
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +7 -6
- package/dist/cjs/justifi-payment-details.cjs.entry.js +11 -10
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +25 -4
- package/dist/cjs/justifi-payments-list.cjs.entry.js +18 -14
- package/dist/cjs/justifi-payout-details.cjs.entry.js +11 -10
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +14 -13
- package/dist/cjs/justifi-refund-form.cjs.entry.js +7 -5
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +4 -4
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +9 -8
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +12 -11
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +5 -5
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-8b9059cc.js → package-06419e54.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
- package/dist/cjs/{parts-addf2176.js → parts-b2ff8b68.js} +14 -0
- package/dist/cjs/payment-details-core.cjs.entry.js +13 -13
- package/dist/cjs/{payment-provisioning-actions-fbd30d1b.js → payment-provisioning-actions-382ab48c.js} +33 -2
- package/dist/cjs/{payment.service-042c7c99.js → payment.service-3eebfe3e.js} +5 -3
- package/dist/cjs/payments-list-core.cjs.entry.js +22 -19
- package/dist/cjs/payments-list-params-state-442d9944.js +22 -0
- package/dist/cjs/{payments-status-411c325c.js → payments-status-ec12ee6a.js} +1 -1
- package/dist/cjs/{payments-table-16f3f95e.js → payments-table-f3aa174d.js} +3 -3
- package/dist/cjs/payout-details-core.cjs.entry.js +8 -8
- package/dist/cjs/payouts-list-core.cjs.entry.js +13 -12
- package/dist/cjs/{payouts-status-0951e39d.js → payouts-status-9f2e9a3a.js} +1 -1
- package/dist/cjs/{payouts-table-bc15179c.js → payouts-table-4efa53fa.js} +3 -3
- package/dist/cjs/{schema-validations-0be8068a.js → schema-validations-cc4e6071.js} +5 -92
- package/dist/cjs/{skeleton-c4903a53.js → skeleton-0353466d.js} +1 -1
- package/dist/cjs/{spinner-aac395e3.js → spinner-4fc60a51.js} +1 -1
- package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
- package/dist/cjs/terminals-list-core.cjs.entry.js +12 -10
- package/dist/cjs/{terminals-table-3c19847b.js → terminals-table-5e4bce93.js} +2 -2
- package/dist/cjs/{utils-a05a8bf6.js → utils-134dda01.js} +1 -1
- package/dist/cjs/{utils-5fb95d31.js → utils-337befa9.js} +0 -4
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/index.js +5 -0
- package/dist/collection/api/services/business.service.js +6 -0
- package/dist/collection/collection-manifest.json +3 -4
- package/dist/collection/components/business-forms/payment-provisioning/{document-uploads/business-document-upload-input-group.js → bank-account/bank-account-document-inputs.js} +19 -58
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +85 -0
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +207 -47
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +15 -7
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-documents-on-file.js +63 -0
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-actions.js +32 -2
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +2 -3
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +4 -1
- package/dist/collection/components/business-forms/schemas/business-bank-account-schema.js +8 -4
- package/dist/collection/components/business-forms/schemas/schema-validations.js +2 -4
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +1 -1
- package/dist/collection/components/checkout/card-form/card-form.js +1 -1
- package/dist/collection/components/checkout/checkout-core.js +1 -1
- package/dist/collection/components/checkout/checkout.js +2 -2
- package/dist/collection/components/checkout/new-payment-method.js +1 -1
- package/dist/collection/components/checkout/payment-method-options.js +1 -1
- package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
- package/dist/collection/components/checkout/saved-payment-method.js +1 -1
- package/dist/collection/components/checkout/sezzle-payment-method.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management.js +1 -1
- package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +1 -1
- package/dist/collection/components/payment-details/payment-details-core.js +7 -7
- package/dist/collection/components/payments-list/get-payments.js +4 -1
- package/dist/collection/components/payments-list/payments-list-core.js +10 -11
- package/dist/collection/components/payments-list/payments-list-filters.js +113 -3
- package/dist/collection/components/payments-list/payments-list-params-state.js +11 -5
- package/dist/collection/components/payments-list/payments-list.js +1 -1
- package/dist/collection/components/payout-details/payout-details-core.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-filters.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list.js +1 -1
- package/dist/collection/components/refund-form/refund-form.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list.js +1 -1
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +1 -1
- package/dist/collection/styles/parts.js +9 -0
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/filters/table-filters-menu.js +1 -1
- package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
- package/dist/collection/ui-components/form/form-control-date.js +2 -2
- package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
- package/dist/collection/ui-components/form/form-control-file.js +2 -2
- package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
- package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
- package/dist/collection/ui-components/form/form-control-number.js +2 -2
- package/dist/collection/ui-components/form/form-control-radio.js +2 -2
- package/dist/collection/ui-components/form/form-control-select.js +2 -2
- package/dist/collection/ui-components/form/form-control-text.js +2 -2
- package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
- package/dist/collection/ui-components/form/hidden-input.js +1 -1
- package/dist/collection/ui-components/form/iframe-input.js +3 -3
- package/dist/docs.json +579 -519
- package/dist/esm/{Checkout-d476bb83.js → Checkout-8325c97a.js} +1 -1
- package/dist/esm/Document-1907c0d4.js +55 -0
- package/dist/esm/{Payment-47630113.js → Payment-82d2f453.js} +1 -1
- package/dist/esm/{SubAccount-f31349a9.js → SubAccount-a73bf971.js} +1 -1
- package/dist/esm/additional-questions-details_5.entry.js +3 -3
- package/dist/esm/{badge-b034e71b.js → badge-938ba4b1.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +123 -0
- package/dist/esm/bank-account-form_9.entry.js +12 -12
- package/dist/esm/billing-form_3.entry.js +8 -7
- package/dist/esm/{business-additional-questions-schema-aba9747e.js → business-additional-questions-schema-212a96ed.js} +1 -1
- package/dist/esm/business-details-core.entry.js +3 -3
- package/dist/esm/{business-identity-schema-8b0f1619.js → business-identity-schema-05bd2a5f.js} +1 -1
- package/dist/esm/{business.service-ab2663a3.js → business.service-6a208f8f.js} +7 -1
- package/dist/esm/{button-8a02823c.js → button-4b3f3934.js} +1 -1
- package/dist/esm/{check-pkg-version-51d2616b.js → check-pkg-version-bac7eb5e.js} +1 -1
- package/dist/esm/{checkout.service-c275270e.js → checkout.service-ac067baa.js} +5 -3
- package/dist/esm/checkouts-list-core.entry.js +12 -10
- package/dist/esm/{checkouts-table-115bacc4.js → checkouts-table-1634366d.js} +3 -3
- package/dist/esm/{custom-popper.entry.js → custom-popper_4.entry.js} +140 -4
- package/dist/esm/{dispute.service-882e35ed.js → dispute.service-26a788a8.js} +5 -3
- package/dist/esm/{event-types-948c3b14.js → event-types-fd7a05d9.js} +2 -2
- package/dist/esm/form-alert_5.entry.js +1 -1
- package/dist/esm/form-control-checkbox.entry.js +5 -5
- package/dist/esm/form-control-date.entry.js +4 -4
- package/dist/esm/{form-control-error-text-066cdad4.js → form-control-error-text-b3d14e92.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +4 -4
- package/dist/esm/{form-control-help-text-3b6f5980.js → form-control-help-text-7b07fc37.js} +1 -1
- package/dist/esm/form-control-monetary.entry.js +5 -5
- package/dist/esm/form-control-number-masked_2.entry.js +4 -4
- package/dist/esm/form-control-number.entry.js +5 -5
- package/dist/esm/form-control-radio.entry.js +3 -3
- package/dist/esm/{get-payout-csv-50aea928.js → get-payout-csv-684fece6.js} +5 -4
- package/dist/esm/{get-subaccounts-ab3dd32c.js → get-subaccounts-b1bed757.js} +5 -4
- package/dist/esm/gross-payment-chart-core.entry.js +5 -5
- package/dist/esm/{header-1-75c284dd.js → header-1-4db0c986.js} +1 -1
- package/dist/esm/{header-3-4a327395.js → header-3-fd150ccf.js} +1 -1
- package/dist/esm/{insurance-state-b495be64.js → insurance-state-529e2d0d.js} +1 -1
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +824 -0
- package/dist/esm/{justifi-additional-questions-form-step_10.entry.js → justifi-additional-questions-form-step_9.entry.js} +31 -227
- package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
- package/dist/esm/justifi-business-details.entry.js +5 -5
- package/dist/esm/justifi-business-form.entry.js +15 -13
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
- package/dist/esm/justifi-checkout-core.entry.js +8 -8
- package/dist/esm/justifi-checkout.entry.js +10 -9
- package/dist/esm/justifi-checkouts-list-filters.entry.js +1 -1
- package/dist/esm/justifi-checkouts-list.entry.js +14 -13
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
- package/dist/esm/justifi-dispute-management.entry.js +9 -8
- package/dist/esm/justifi-dispute-notification_3.entry.js +14 -13
- package/dist/esm/justifi-gross-payment-chart.entry.js +4 -4
- package/dist/esm/justifi-owner-form_3.entry.js +7 -6
- package/dist/esm/justifi-payment-details.entry.js +11 -10
- package/dist/esm/justifi-payment-provisioning-core.entry.js +2 -2
- package/dist/esm/justifi-payment-provisioning.entry.js +4 -4
- package/dist/esm/justifi-payments-list-filters.entry.js +25 -4
- package/dist/esm/justifi-payments-list.entry.js +18 -14
- package/dist/esm/justifi-payout-details.entry.js +11 -10
- package/dist/esm/justifi-payouts-list-filters.entry.js +2 -2
- package/dist/esm/justifi-payouts-list.entry.js +14 -13
- package/dist/esm/justifi-refund-form.entry.js +7 -5
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +4 -4
- package/dist/esm/justifi-season-interruption-insurance.entry.js +9 -8
- package/dist/esm/justifi-terminals-list-filters.entry.js +1 -1
- package/dist/esm/justifi-terminals-list.entry.js +12 -11
- package/dist/esm/justifi-tokenize-payment-method.entry.js +5 -5
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-5eedfd72.js → package-90ebd343.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/{parts-93f379ab.js → parts-ab2bb4b5.js} +9 -1
- package/dist/esm/payment-details-core.entry.js +13 -13
- package/dist/esm/{payment-provisioning-actions-a262ee82.js → payment-provisioning-actions-726795a0.js} +33 -3
- package/dist/esm/{payment.service-92b90855.js → payment.service-2e418da1.js} +5 -3
- package/dist/esm/payments-list-core.entry.js +22 -19
- package/dist/esm/payments-list-params-state-d05b24aa.js +16 -0
- package/dist/esm/{payments-status-82466054.js → payments-status-abf1724b.js} +1 -1
- package/dist/esm/{payments-table-c0bb25b6.js → payments-table-88fbab49.js} +3 -3
- package/dist/esm/payout-details-core.entry.js +8 -8
- package/dist/esm/payouts-list-core.entry.js +13 -12
- package/dist/esm/{payouts-status-b98c8297.js → payouts-status-d9987a8a.js} +1 -1
- package/dist/esm/{payouts-table-4382a264.js → payouts-table-055d3633.js} +3 -3
- package/dist/esm/{schema-validations-5b0ac96b.js → schema-validations-ccea6a06.js} +4 -84
- package/dist/esm/{skeleton-3bcb2b5d.js → skeleton-ee7c3b32.js} +1 -1
- package/dist/esm/{spinner-b83f3a87.js → spinner-8ec6669a.js} +1 -1
- package/dist/esm/table-filters-menu.entry.js +3 -3
- package/dist/esm/terminals-list-core.entry.js +12 -10
- package/dist/esm/{terminals-table-8f1c2146.js → terminals-table-2963e65b.js} +2 -2
- package/dist/esm/{utils-7fb6331d.js → utils-c2dc83b2.js} +1 -1
- package/dist/esm/{utils-b76d791e.js → utils-c37124fc.js} +1 -4
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Checkout.js +1 -1
- package/dist/module/Payment.js +1 -1
- package/dist/module/SubAccount.js +1 -1
- package/dist/module/additional-questions.js +1 -1
- package/dist/module/additional-statement.js +2 -2
- package/dist/module/badge.js +1 -1
- package/dist/module/bank-account-document-form-inputs.d.ts +11 -0
- package/dist/module/bank-account-document-form-inputs.js +6 -0
- package/dist/module/bank-account-document-inputs.js +58 -0
- package/dist/module/bank-account-form-inputs.d.ts +11 -0
- package/dist/module/bank-account-form-inputs.js +6 -0
- package/dist/module/bank-account-form-inputs2.js +63 -0
- package/dist/module/bank-account-form2.js +1 -1
- package/dist/module/billing-form-wrapper.js +1 -1
- package/dist/module/business-additional-questions-form-step-core.js +2 -2
- package/dist/module/business-bank-account-form-step-core.js +239 -64
- package/dist/module/business-bank-account-form-step.js +42 -5
- package/dist/module/business-core-info-form-step-core.js +2 -2
- package/dist/module/business-core-info-form-step.js +1 -1
- package/dist/module/business-core-info-schema.js +1 -1
- package/dist/module/business-core-info.js +1 -1
- package/dist/module/business-documents-on-file.d.ts +11 -0
- package/dist/module/business-documents-on-file.js +4 -36
- package/dist/module/business-documents-on-file2.js +45 -0
- package/dist/module/business-form-options.js +1 -1
- package/dist/module/business-identity-schema.js +1 -1
- package/dist/module/business-owners-form-step-core.js +1 -1
- package/dist/module/business-owners-form-step.js +1 -1
- package/dist/module/business-representative-form-inputs.js +1 -1
- package/dist/module/business-representative-form-step-core.js +1 -1
- package/dist/module/business-representative-form-step.js +1 -1
- package/dist/module/business-terms-conditions-form-step.js +9 -11
- package/dist/module/business.service.js +7 -1
- package/dist/module/cancellation-policy.js +2 -2
- package/dist/module/card-form2.js +1 -1
- package/dist/module/checkout-core.js +2 -2
- package/dist/module/checkout.service.js +2 -0
- package/dist/module/checkouts-list-core2.js +6 -4
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +2 -2
- package/dist/module/dispute-management-core.js +1 -1
- package/dist/module/dispute-notification.js +2 -2
- package/dist/module/dispute-response-actions.js +2 -1
- package/dist/module/dispute-response-core.js +1 -1
- package/dist/module/dispute-response.js +1 -1
- package/dist/module/duplicate-charge.js +2 -2
- package/dist/module/electronic-evidence.js +2 -2
- package/dist/module/event-types.js +22 -61
- package/dist/module/event-types2.js +61 -22
- package/dist/module/form-alert2.js +1 -1
- package/dist/module/form-control-checkbox2.js +3 -3
- package/dist/module/form-control-date2.js +3 -3
- package/dist/module/form-control-error-text.js +1 -1
- package/dist/module/form-control-file-v22.js +1 -1
- package/dist/module/form-control-file2.js +3 -3
- package/dist/module/form-control-monetary2.js +3 -3
- package/dist/module/form-control-number-masked2.js +3 -3
- package/dist/module/form-control-number.js +3 -3
- package/dist/module/form-control-radio2.js +3 -3
- package/dist/module/form-control-select2.js +3 -3
- package/dist/module/form-control-text2.js +3 -3
- package/dist/module/form-control-textarea2.js +3 -3
- package/dist/module/form-control-tooltip2.js +1 -1
- package/dist/module/get-payout-csv.js +2 -1
- package/dist/module/get-subaccounts.js +2 -1
- package/dist/module/gross-payment-chart-core2.js +2 -2
- package/dist/module/hidden-input2.js +2 -2
- package/dist/module/iframe-input2.js +4 -4
- package/dist/module/justifi-business-form.js +3 -1
- package/dist/module/justifi-checkout.js +2 -2
- package/dist/module/justifi-checkouts-list-filters.js +1 -1
- package/dist/module/justifi-checkouts-list.js +3 -2
- package/dist/module/justifi-dispute-management.js +1 -1
- package/dist/module/justifi-payment-details.js +2 -1
- package/dist/module/justifi-payment-provisioning.js +50 -56
- package/dist/module/justifi-payments-list-filters.js +32 -5
- package/dist/module/justifi-payments-list.js +7 -3
- package/dist/module/justifi-payout-details.js +2 -1
- package/dist/module/justifi-payouts-list-filters.js +2 -2
- package/dist/module/justifi-payouts-list.js +2 -1
- package/dist/module/justifi-refund-form.js +3 -1
- package/dist/module/justifi-season-interruption-insurance.js +3 -2
- package/dist/module/justifi-terminals-list-filters.js +1 -1
- package/dist/module/justifi-terminals-list.js +2 -1
- package/dist/module/justifi-tokenize-payment-method.js +1 -1
- package/dist/module/legal-address-form-step-core.js +1 -1
- package/dist/module/legal-address-form-step.js +1 -1
- package/dist/module/new-payment-method.js +1 -1
- package/dist/module/owner-details2.js +1 -1
- package/dist/module/owner-form-core2.js +2 -2
- package/dist/module/owner-form.js +1 -1
- package/dist/module/package.js +1 -1
- package/dist/module/pagination-menu2.js +1 -1
- package/dist/module/parts.js +9 -1
- package/dist/module/payment-details-core2.js +8 -8
- package/dist/module/payment-method-options.js +1 -1
- package/dist/module/payment-provisioning-actions.js +33 -3
- package/dist/module/payment-provisioning-core.js +50 -56
- package/dist/module/payment-provisioning-form-buttons.js +1 -1
- package/dist/module/payment-provisioning-form-steps.js +51 -58
- package/dist/module/payment.service.js +2 -0
- package/dist/module/payments-list-core2.js +15 -13
- package/dist/module/payments-list-params-state.js +11 -5
- package/dist/module/payout-details-core2.js +2 -2
- package/dist/module/payouts-list-core2.js +6 -5
- package/dist/module/product-or-service.js +2 -2
- package/dist/module/refund-policy.js +2 -2
- package/dist/module/representative-details2.js +1 -1
- package/dist/module/save-new-payment-method.js +1 -1
- package/dist/module/saved-payment-method.js +2 -2
- package/dist/module/schema-validations.js +4 -31
- package/dist/module/season-interruption-insurance-core.js +2 -2
- package/dist/module/sezzle-payment-method.js +2 -2
- package/dist/module/shipping-details.js +2 -2
- package/dist/module/spinner.js +1 -1
- package/dist/module/table-filters-menu2.js +1 -1
- package/dist/module/terminals-list-core2.js +5 -3
- package/dist/module/utils2.js +1 -4
- package/dist/types/api/index.d.ts +4 -0
- package/dist/types/api/services/business.service.d.ts +7 -0
- package/dist/types/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.d.ts +7 -0
- package/dist/types/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.d.ts +7 -0
- package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.d.ts +18 -6
- package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +3 -1
- package/dist/types/components/business-forms/payment-provisioning/{document-uploads → bank-account}/business-documents-on-file.d.ts +1 -0
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-actions.d.ts +9 -0
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-form-steps.d.ts +0 -1
- package/dist/types/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.d.ts +1 -0
- package/dist/types/components/business-forms/schemas/business-bank-account-schema.d.ts +5 -1
- package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +2 -2
- package/dist/types/components/business-forms/schemas/schema-validations.d.ts +1 -1
- package/dist/types/components/payments-list/get-payments.d.ts +2 -1
- package/dist/types/components/payments-list/payments-list-core.d.ts +1 -1
- package/dist/types/components/payments-list/payments-list-filters.d.ts +5 -0
- package/dist/types/components/payments-list/payments-list-params-state.d.ts +4 -3
- package/dist/types/components.d.ts +81 -101
- package/dist/types/styles/parts.d.ts +8 -0
- package/dist/webcomponents/{p-2ce40098.js → p-01d4e35a.js} +1 -1
- package/dist/webcomponents/{p-d1f78cb5.js → p-0277c1b2.js} +1 -1
- package/dist/webcomponents/p-045d4ebf.entry.js +1 -0
- package/dist/webcomponents/p-08d87a52.entry.js +1 -0
- package/dist/webcomponents/p-0e68b7d6.entry.js +1 -0
- package/dist/webcomponents/p-0ef9eae6.entry.js +1 -0
- package/dist/webcomponents/{p-7b1fcab5.entry.js → p-0f6ae5ea.entry.js} +1 -1
- package/dist/webcomponents/p-131db5d1.entry.js +1 -0
- package/dist/webcomponents/p-1603fe4d.js +1 -0
- package/dist/webcomponents/p-18a7a9e6.entry.js +1 -0
- package/dist/webcomponents/p-1e8a1e01.entry.js +1 -0
- package/dist/webcomponents/{p-4c4f9e3b.js → p-21431a04.js} +1 -1
- package/dist/webcomponents/p-21cf557e.entry.js +1 -0
- package/dist/webcomponents/{p-09fd4ee2.entry.js → p-2916bb62.entry.js} +1 -1
- package/dist/webcomponents/p-298e290e.js +1 -0
- package/dist/webcomponents/{p-9069fab5.js → p-2a136295.js} +1 -1
- package/dist/webcomponents/{p-74736657.js → p-2ca5b5e4.js} +1 -1
- package/dist/webcomponents/p-2f94d478.entry.js +1 -0
- package/dist/webcomponents/p-31e2d12c.entry.js +1 -0
- package/dist/webcomponents/p-3c0b56cd.entry.js +1 -0
- package/dist/webcomponents/p-3d5c8a98.entry.js +1 -0
- package/dist/webcomponents/p-3e0f3d87.entry.js +1 -0
- package/dist/webcomponents/{p-f65abd18.js → p-3e716e03.js} +1 -1
- package/dist/webcomponents/p-40e23b13.js +1 -0
- package/dist/webcomponents/p-42047b14.entry.js +1 -0
- package/dist/webcomponents/p-44d2c762.entry.js +1 -0
- package/dist/webcomponents/{p-bb842885.entry.js → p-56addd0a.entry.js} +1 -1
- package/dist/webcomponents/p-58f5e37b.entry.js +1 -0
- package/dist/webcomponents/{p-d86c1f11.entry.js → p-5afefc50.entry.js} +2 -2
- package/dist/webcomponents/{p-92d78790.js → p-5b72bab7.js} +1 -1
- package/dist/webcomponents/{p-7db2a4d5.entry.js → p-5baec916.entry.js} +1 -1
- package/dist/webcomponents/{p-f76a7f9c.entry.js → p-5bf4535a.entry.js} +1 -1
- package/dist/webcomponents/p-61f0a2ce.js +1 -0
- package/dist/webcomponents/{p-e0f21a47.entry.js → p-62696f63.entry.js} +1 -1
- package/dist/webcomponents/p-631d54a2.entry.js +1 -0
- package/dist/webcomponents/p-63caad6e.entry.js +1 -0
- package/dist/webcomponents/p-66b6c56b.js +1 -0
- package/dist/webcomponents/p-6b0bec46.entry.js +1 -0
- package/dist/webcomponents/p-6d2c8be2.entry.js +1 -0
- package/dist/webcomponents/p-7b04f492.entry.js +1 -0
- package/dist/webcomponents/p-7bcec768.entry.js +1 -0
- package/dist/webcomponents/{p-5d0763a5.js → p-7c31ec70.js} +1 -1
- package/dist/webcomponents/{p-2bd8650b.js → p-865733bc.js} +1 -1
- package/dist/webcomponents/{p-44604a45.js → p-8f25f016.js} +1 -1
- package/dist/webcomponents/p-9235b94e.entry.js +1 -0
- package/dist/webcomponents/{p-411382f3.js → p-938993c7.js} +1 -1
- package/dist/webcomponents/{p-d6e51c2f.js → p-94eba309.js} +1 -1
- package/dist/webcomponents/p-9540d2f2.js +1 -0
- package/dist/webcomponents/{p-83aa33f0.js → p-9894484a.js} +1 -1
- package/dist/webcomponents/p-98dad117.entry.js +1 -0
- package/dist/webcomponents/p-9ad6e792.entry.js +1 -0
- package/dist/webcomponents/p-a263a3db.entry.js +1 -0
- package/dist/webcomponents/p-aa02cf71.js +1 -0
- package/dist/webcomponents/p-ab1504b6.entry.js +1 -0
- package/dist/webcomponents/p-abb46c6b.entry.js +1 -0
- package/dist/webcomponents/p-b6e90400.entry.js +1 -0
- package/dist/webcomponents/{p-2b081961.entry.js → p-bada4783.entry.js} +1 -1
- package/dist/webcomponents/p-c470a150.js +1 -0
- package/dist/webcomponents/{p-eb644cb7.js → p-c5c03d88.js} +1 -1
- package/dist/webcomponents/p-c5ce98b0.entry.js +1 -0
- package/dist/webcomponents/{p-c2efe406.js → p-c845cb7a.js} +1 -1
- package/dist/webcomponents/p-cc4adf97.js +1 -0
- package/dist/webcomponents/{p-72a90154.entry.js → p-cdb7fa19.entry.js} +1 -1
- package/dist/webcomponents/p-d07c45e6.entry.js +1 -0
- package/dist/webcomponents/p-d0bde1cb.js +1 -0
- package/dist/webcomponents/p-d8c04275.js +1 -0
- package/dist/webcomponents/{p-541b7c36.entry.js → p-db37b175.entry.js} +1 -1
- package/dist/webcomponents/p-ddcd2ff7.entry.js +1 -0
- package/dist/webcomponents/p-de13f23c.js +1 -0
- package/dist/webcomponents/p-dec18cc4.js +1 -0
- package/dist/webcomponents/{p-c6051278.entry.js → p-e0db920c.entry.js} +1 -1
- package/dist/webcomponents/{p-39177d5a.js → p-e63fdbca.js} +1 -1
- package/dist/webcomponents/{p-730e8425.js → p-e8c3c23f.js} +1 -1
- package/dist/webcomponents/p-ea105de3.js +1 -0
- package/dist/webcomponents/{p-d5dace8b.entry.js → p-ea5cf135.entry.js} +1 -1
- package/dist/webcomponents/p-ed17e472.entry.js +1 -0
- package/dist/webcomponents/p-f0c0cbc8.entry.js +1 -0
- package/dist/webcomponents/{p-24a9c773.js → p-f19f9f61.js} +1 -1
- package/dist/webcomponents/p-f1e01bab.entry.js +1 -0
- package/dist/webcomponents/p-f2f2e20e.js +1 -0
- package/dist/webcomponents/p-f5925b1e.entry.js +1 -0
- package/dist/webcomponents/p-f694e1c8.js +1 -0
- package/dist/webcomponents/p-f706d70e.js +1 -0
- package/dist/webcomponents/p-f9728478.entry.js +1 -0
- package/dist/webcomponents/p-f9ac523e.entry.js +1 -0
- package/dist/webcomponents/p-f9d63d9d.js +1 -0
- package/dist/webcomponents/p-fa2b405c.entry.js +1 -0
- package/dist/webcomponents/{p-bf07d5d0.entry.js → p-facada09.entry.js} +1 -1
- package/dist/webcomponents/p-fe0d245f.entry.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/form-control-file.cjs.entry.js +0 -67
- package/dist/cjs/form-control-select_3.cjs.entry.js +0 -145
- package/dist/cjs/justifi-additional-questions-form-step-core_9.cjs.entry.js +0 -800
- package/dist/cjs/payments-list-params-state-0ff968a7.js +0 -14
- package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.js +0 -338
- package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-documents-on-file.js +0 -40
- package/dist/collection/components/business-forms/payment-provisioning/document-uploads/input-configurations.js +0 -52
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.js +0 -8
- package/dist/collection/components/business-forms/schemas/business-document-upload-schema.js +0 -23
- package/dist/esm/form-control-file.entry.js +0 -63
- package/dist/esm/form-control-select_3.entry.js +0 -139
- package/dist/esm/justifi-additional-questions-form-step-core_9.entry.js +0 -788
- package/dist/esm/payments-list-params-state-b3dab8bc.js +0 -10
- package/dist/module/business-document-upload-form-step.js +0 -272
- package/dist/module/business-document-upload-input-group.js +0 -128
- package/dist/module/business-terms-conditions-text.js +0 -28
- package/dist/module/justifi-business-document-upload-form-step.d.ts +0 -11
- package/dist/module/justifi-business-document-upload-form-step.js +0 -6
- package/dist/module/justifi-business-document-upload-input-group.d.ts +0 -11
- package/dist/module/justifi-business-document-upload-input-group.js +0 -6
- package/dist/module/justifi-business-documents-on-file.d.ts +0 -11
- package/dist/module/justifi-business-documents-on-file.js +0 -6
- package/dist/module/justifi-business-terms-conditions-text.d.ts +0 -11
- package/dist/module/justifi-business-terms-conditions-text.js +0 -6
- package/dist/types/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.d.ts +0 -42
- package/dist/types/components/business-forms/payment-provisioning/document-uploads/business-document-upload-input-group.d.ts +0 -21
- package/dist/types/components/business-forms/payment-provisioning/document-uploads/input-configurations.d.ts +0 -45
- package/dist/types/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.d.ts +0 -3
- package/dist/types/components/business-forms/schemas/business-document-upload-schema.d.ts +0 -17
- package/dist/webcomponents/p-04ce1f82.js +0 -1
- package/dist/webcomponents/p-0544f4a4.entry.js +0 -1
- package/dist/webcomponents/p-060ff1a1.js +0 -1
- package/dist/webcomponents/p-0658b707.entry.js +0 -1
- package/dist/webcomponents/p-0d7e7957.js +0 -1
- package/dist/webcomponents/p-10cface4.entry.js +0 -1
- package/dist/webcomponents/p-10f9ff7b.entry.js +0 -1
- package/dist/webcomponents/p-12233a57.entry.js +0 -1
- package/dist/webcomponents/p-135e24c0.js +0 -1
- package/dist/webcomponents/p-1a27f22e.js +0 -1
- package/dist/webcomponents/p-1e2526c8.entry.js +0 -1
- package/dist/webcomponents/p-270033ba.entry.js +0 -1
- package/dist/webcomponents/p-2a17a29c.entry.js +0 -1
- package/dist/webcomponents/p-2c7441ea.entry.js +0 -1
- package/dist/webcomponents/p-2d27d054.entry.js +0 -1
- package/dist/webcomponents/p-332bd5ab.entry.js +0 -1
- package/dist/webcomponents/p-351c7fa3.entry.js +0 -1
- package/dist/webcomponents/p-3f209fcc.entry.js +0 -1
- package/dist/webcomponents/p-427881b1.entry.js +0 -1
- package/dist/webcomponents/p-46769ec3.entry.js +0 -1
- package/dist/webcomponents/p-47cd431c.js +0 -1
- package/dist/webcomponents/p-4acfed0d.entry.js +0 -1
- package/dist/webcomponents/p-4bcfdb99.entry.js +0 -1
- package/dist/webcomponents/p-4e122ace.js +0 -1
- package/dist/webcomponents/p-5d177a30.js +0 -1
- package/dist/webcomponents/p-64a1ae2c.entry.js +0 -1
- package/dist/webcomponents/p-67aef066.entry.js +0 -1
- package/dist/webcomponents/p-6ad11a9f.entry.js +0 -1
- package/dist/webcomponents/p-6bc01617.js +0 -1
- package/dist/webcomponents/p-6e8be579.entry.js +0 -1
- package/dist/webcomponents/p-73323a41.entry.js +0 -1
- package/dist/webcomponents/p-73619f0a.js +0 -1
- package/dist/webcomponents/p-74d6e182.entry.js +0 -1
- package/dist/webcomponents/p-7aff48a1.entry.js +0 -1
- package/dist/webcomponents/p-7bddbee4.js +0 -1
- package/dist/webcomponents/p-87ce7b69.js +0 -1
- package/dist/webcomponents/p-8d61499c.entry.js +0 -1
- package/dist/webcomponents/p-948b7710.entry.js +0 -1
- package/dist/webcomponents/p-96bc127e.entry.js +0 -1
- package/dist/webcomponents/p-98b027b7.entry.js +0 -1
- package/dist/webcomponents/p-a3df6c3e.entry.js +0 -1
- package/dist/webcomponents/p-a5008b32.entry.js +0 -1
- package/dist/webcomponents/p-a59636ed.js +0 -1
- package/dist/webcomponents/p-a7b04e24.js +0 -1
- package/dist/webcomponents/p-ac2588af.entry.js +0 -1
- package/dist/webcomponents/p-b78da082.entry.js +0 -1
- package/dist/webcomponents/p-b86e804e.entry.js +0 -1
- package/dist/webcomponents/p-ba202e33.js +0 -1
- package/dist/webcomponents/p-c358b253.entry.js +0 -1
- package/dist/webcomponents/p-ca6214ca.entry.js +0 -1
- package/dist/webcomponents/p-cb8f7bf4.js +0 -1
- package/dist/webcomponents/p-ce2de434.entry.js +0 -1
- package/dist/webcomponents/p-dc6e1e5f.entry.js +0 -1
- package/dist/webcomponents/p-f2158e48.entry.js +0 -1
- package/dist/webcomponents/p-f3867b82.entry.js +0 -1
- package/dist/webcomponents/p-f5a7a7d1.entry.js +0 -1
- package/dist/webcomponents/p-fc3daedd.js +0 -1
- package/dist/webcomponents/p-fd6619d0.entry.js +0 -1
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
exports.EntityDocumentType = void 0;
|
|
4
|
+
(function (EntityDocumentType) {
|
|
5
|
+
EntityDocumentType["voidedCheck"] = "voided_check";
|
|
6
|
+
EntityDocumentType["balanceSheet"] = "balance_sheet";
|
|
7
|
+
EntityDocumentType["bankStatement"] = "bank_statement";
|
|
8
|
+
EntityDocumentType["governmentId"] = "government_id";
|
|
9
|
+
EntityDocumentType["profitAndLossStatement"] = "profit_and_loss_statement";
|
|
10
|
+
EntityDocumentType["taxReturn"] = "tax_return";
|
|
11
|
+
EntityDocumentType["other"] = "other";
|
|
12
|
+
})(exports.EntityDocumentType || (exports.EntityDocumentType = {}));
|
|
13
|
+
var EntityDocumentStatus;
|
|
14
|
+
(function (EntityDocumentStatus) {
|
|
15
|
+
EntityDocumentStatus["pending"] = "pending";
|
|
16
|
+
EntityDocumentStatus["uploaded"] = "uploaded";
|
|
17
|
+
EntityDocumentStatus["canceled"] = "canceled";
|
|
18
|
+
EntityDocumentStatus["needed"] = "needed";
|
|
19
|
+
})(EntityDocumentStatus || (EntityDocumentStatus = {}));
|
|
20
|
+
class EntityDocumentStorage {
|
|
21
|
+
constructor() {
|
|
22
|
+
this.voided_check = [];
|
|
23
|
+
this.balance_sheet = [];
|
|
24
|
+
this.bank_statement = [];
|
|
25
|
+
this.government_id = [];
|
|
26
|
+
this.profit_and_loss_statement = [];
|
|
27
|
+
this.tax_return = [];
|
|
28
|
+
this.other = [];
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
class EntityDocument {
|
|
32
|
+
constructor(fileData, business_id) {
|
|
33
|
+
this.file = fileData.file;
|
|
34
|
+
this.fileString = this.getFileString();
|
|
35
|
+
this.document_type = fileData.document_type;
|
|
36
|
+
this.presigned_url = null;
|
|
37
|
+
this.record_data = {
|
|
38
|
+
business_id: business_id,
|
|
39
|
+
document_type: this.document_type,
|
|
40
|
+
file_name: this.file.name,
|
|
41
|
+
file_type: this.file.type,
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
getFileString() {
|
|
45
|
+
let reader = new FileReader();
|
|
46
|
+
reader.onload = (e) => {
|
|
47
|
+
this.fileString = e.target.result;
|
|
48
|
+
};
|
|
49
|
+
reader.readAsDataURL(this.file);
|
|
50
|
+
return this.fileString;
|
|
51
|
+
}
|
|
52
|
+
setPresignedUrl(url) {
|
|
53
|
+
this.presigned_url = url;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
exports.EntityDocument = EntityDocument;
|
|
58
|
+
exports.EntityDocumentStorage = EntityDocumentStorage;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5b9a3b5f.js');
|
|
6
|
-
const utils$1 = require('./utils-
|
|
7
|
-
const utils = require('./utils-
|
|
8
|
-
require('./parts-
|
|
6
|
+
const utils$1 = require('./utils-134dda01.js');
|
|
7
|
+
const utils = require('./utils-337befa9.js');
|
|
8
|
+
require('./parts-b2ff8b68.js');
|
|
9
9
|
|
|
10
10
|
const AdditionalQuestionsDetails = class {
|
|
11
11
|
constructor(hostRef) {
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-5b9a3b5f.js');
|
|
6
|
+
require('./ComponentError-233ac749.js');
|
|
7
|
+
require('./Checkout-0f1c8abe.js');
|
|
8
|
+
require('./Pagination-0da8f095.js');
|
|
9
|
+
require('./Payment-c47ed1e1.js');
|
|
10
|
+
require('./SubAccount-509ebf93.js');
|
|
11
|
+
const Document = require('./Document-0b828345.js');
|
|
12
|
+
const businessFormOptions = require('./business-form-options-4bcb8943.js');
|
|
13
|
+
require('./event-types-180a85a9.js');
|
|
14
|
+
const utils = require('./utils-bc03ca40.js');
|
|
15
|
+
const utils$1 = require('./utils-337befa9.js');
|
|
16
|
+
const parts = require('./parts-b2ff8b68.js');
|
|
17
|
+
const skeleton = require('./skeleton-0353466d.js');
|
|
18
|
+
const formControlErrorText = require('./form-control-error-text-46a7f2dd.js');
|
|
19
|
+
require('./Dispute-eb6bad54.js');
|
|
20
|
+
require('./Business-cfd6a2dd.js');
|
|
21
|
+
require('./helpers-602962eb.js');
|
|
22
|
+
require('./state-options-4fbcb48a.js');
|
|
23
|
+
|
|
24
|
+
const BankAccountDocumentFormInputs = class {
|
|
25
|
+
constructor(hostRef) {
|
|
26
|
+
index.registerInstance(this, hostRef);
|
|
27
|
+
this.inputHandler = undefined;
|
|
28
|
+
this.errors = undefined;
|
|
29
|
+
this.storeFiles = undefined;
|
|
30
|
+
}
|
|
31
|
+
render() {
|
|
32
|
+
return (index.h("div", { key: '9e04de8ad0e4a1d83f6d8fd1e5a2a5e92c670b92', class: "row gy-3" }, index.h("div", { key: 'af8875e58677a94873d548c35e9d2859725058e5', class: "col-12" }, index.h("form-control-file", { key: '030c461b2c2a3da9acf5fcf761f537ea9f6cfcc9', name: "voided_check", label: "Voided Check", documentType: Document.EntityDocumentType.voidedCheck, inputHandler: this.inputHandler, onFileSelected: this.storeFiles, errorText: this.errors["voided_check"], multiple: true })), index.h("div", { key: '0b6650097a7c6810d9ab9dc76484b49dfe0c7e11', class: "col-12" }, index.h("form-control-file", { key: 'cd030043373cc6759022b9c23c674830ceffaff3', name: "bank_statement", label: "Bank Statement", documentType: Document.EntityDocumentType.bankStatement, inputHandler: this.inputHandler, onFileSelected: this.storeFiles, errorText: this.errors["bank_statement"], multiple: true }))));
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
const BankAccountFormInputs = class {
|
|
37
|
+
constructor(hostRef) {
|
|
38
|
+
index.registerInstance(this, hostRef);
|
|
39
|
+
this.defaultValue = undefined;
|
|
40
|
+
this.errors = undefined;
|
|
41
|
+
this.inputHandler = undefined;
|
|
42
|
+
this.formDisabled = undefined;
|
|
43
|
+
}
|
|
44
|
+
render() {
|
|
45
|
+
return (index.h("div", { key: 'c4420b1e4396ac065b3674f52b124c0d25359435', class: "row gy-3" }, index.h("div", { key: '40e5f2d54a6f60558ec5aa50ff47e6adcf66276b', class: "col-12" }, index.h("form-control-text", { key: '9052ecb4597ecc96841d65929f1d8e5dbf662343', name: "bank_name", label: "Bank Name", defaultValue: this.defaultValue.bank_name, errorText: this.errors.bank_name, inputHandler: this.inputHandler, disabled: this.formDisabled })), index.h("div", { key: 'c32bbaf4fe2155f49cb35ee4500016e7f97f24b3', class: "col-12" }, index.h("form-control-text", { key: '3527553824fb36ea616836bf8e9435fc33a2365a', name: "nickname", label: "Nickname", defaultValue: this.defaultValue.nickname, errorText: this.errors.nickname, inputHandler: this.inputHandler, disabled: this.formDisabled })), index.h("div", { key: 'c203663fad98052567b34cbffe316606c963ff23', class: "col-12" }, index.h("form-control-text", { key: 'db95259c41fa10b6af2cbc4c9bd7340d609312ee', name: "account_owner_name", label: "Account Owner Name", defaultValue: this.defaultValue.account_owner_name, errorText: this.errors.account_owner_name, inputHandler: this.inputHandler, disabled: this.formDisabled })), index.h("div", { key: '3228e30c418210556e4e9f99f4f87f753876072d', class: "col-12" }, index.h("form-control-select", { key: '6dde33c0e9a2ac76051e01af836ea372f30d8fbb', name: "account_type", label: "Account Type", options: businessFormOptions.bankAccountTypeOptions, defaultValue: this.defaultValue.account_type, errorText: this.errors.account_type, inputHandler: this.inputHandler, disabled: this.formDisabled })), index.h("div", { key: '266005f1bba23068fc0be35416f5fd8cf3fc7c7c', class: "col-12" }, index.h("form-control-text", { key: '34caa85c53b457de98a524a2eb151899e5bcf21a', name: "account_number", label: "Account Number", defaultValue: this.defaultValue.account_number, maxLength: 17, errorText: this.errors.account_number, inputHandler: this.inputHandler, keyDownHandler: utils.numberOnlyHandler, disabled: this.formDisabled, helpText: "Please copy the account number as shown on your statement/check. Do not include spaces or dashes." })), index.h("div", { key: '69d2e72cf588518e4fe310c2ad5cb37c72fab8c6', class: "col-12" }, index.h("form-control-text", { key: 'bc4353e36c9d982aa55f5e933975c4020c316ad0', name: "routing_number", label: "Routing Number", defaultValue: this.defaultValue.routing_number, maxLength: 9, errorText: this.errors.routing_number, inputHandler: this.inputHandler, keyDownHandler: utils.numberOnlyHandler, disabled: this.formDisabled, helpText: "A valid routing number is nine digits. Please include any leading or trailing zeroes." }))));
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
const BusinessDocumentsOnFile = class {
|
|
50
|
+
constructor(hostRef) {
|
|
51
|
+
index.registerInstance(this, hostRef);
|
|
52
|
+
this.documents = [];
|
|
53
|
+
this.isLoading = false;
|
|
54
|
+
}
|
|
55
|
+
render() {
|
|
56
|
+
if (this.isLoading) {
|
|
57
|
+
return index.h(skeleton.Skeleton, { height: "50px" });
|
|
58
|
+
}
|
|
59
|
+
if (!this.documents.length) {
|
|
60
|
+
return null;
|
|
61
|
+
}
|
|
62
|
+
return (index.h(index.Host, null, index.h("div", { class: "card", part: parts.card }, index.h("div", { class: "card-body" }, index.h("h5", { class: "card-title", part: parts.heading2 }, "Documents Already on File"), index.h("div", { class: "table-responsive" }, index.h("table", { class: "table table-sm table-borderless", part: parts.table }, index.h("thead", null, index.h("tr", null, index.h("th", { style: { width: "25%" }, part: parts.tableHeadCell, scope: "col" }, "File Name"), index.h("th", { style: { width: "25%" }, part: parts.tableHeadCell, scope: "col" }, "File Type"), index.h("th", { style: { width: "25%" }, part: parts.tableHeadCell, scope: "col" }, "Document Type"), index.h("th", { style: { width: "25%" }, part: parts.tableHeadCell, scope: "col" }, "Date Uploaded"))), index.h("tbody", null, this.documents.sort((a, b) => a.document_type.localeCompare(b.document_type))
|
|
63
|
+
.map((document, index$1) => {
|
|
64
|
+
return (index.h("tr", { class: index$1 === 0 ? "border-bottom border-top" : "border-bottom" }, index.h("td", { part: parts.tableCell }, document.file_name), index.h("td", { part: parts.tableCell }, document.file_type), index.h("td", { part: parts.tableCell }, utils$1.snakeCaseToHumanReadable(document.document_type)), index.h("td", { part: parts.tableCell }, `${utils$1.formatDate(document.created_at)} - ${utils$1.formatTimeSeconds(document.created_at)}`)));
|
|
65
|
+
})))))), index.h("hr", null)));
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
const FileInput = class {
|
|
70
|
+
constructor(hostRef) {
|
|
71
|
+
index.registerInstance(this, hostRef);
|
|
72
|
+
this.formControlInput = index.createEvent(this, "formControlInput", 7);
|
|
73
|
+
this.formControlBlur = index.createEvent(this, "formControlBlur", 7);
|
|
74
|
+
this.fileSelected = index.createEvent(this, "fileSelected", 7);
|
|
75
|
+
this.handleFormControlInput = (event) => {
|
|
76
|
+
const target = event.target;
|
|
77
|
+
const name = target.getAttribute('name');
|
|
78
|
+
this.inputHandler(name, target.value);
|
|
79
|
+
this.formControlInput.emit({ name, value: target.value });
|
|
80
|
+
};
|
|
81
|
+
this.changeHandler = () => {
|
|
82
|
+
const inputFileList = this.fileInput.files;
|
|
83
|
+
if (inputFileList) {
|
|
84
|
+
this.fileSelected.emit({
|
|
85
|
+
fileList: inputFileList,
|
|
86
|
+
document_type: this.documentType
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
this.files = undefined;
|
|
91
|
+
this.fileString = undefined;
|
|
92
|
+
this.isFocused = false;
|
|
93
|
+
this.label = undefined;
|
|
94
|
+
this.name = undefined;
|
|
95
|
+
this.helpText = undefined;
|
|
96
|
+
this.errorText = undefined;
|
|
97
|
+
this.multiple = undefined;
|
|
98
|
+
this.documentType = undefined;
|
|
99
|
+
this.inputHandler = undefined;
|
|
100
|
+
this.disabled = undefined;
|
|
101
|
+
}
|
|
102
|
+
componentDidLoad() {
|
|
103
|
+
this.fileInput = this.el.querySelector('input');
|
|
104
|
+
}
|
|
105
|
+
get part() {
|
|
106
|
+
let part = parts.input;
|
|
107
|
+
if (this.errorText) {
|
|
108
|
+
part = parts.inputInvalid;
|
|
109
|
+
}
|
|
110
|
+
if (this.disabled) {
|
|
111
|
+
part = parts.inputDisabled;
|
|
112
|
+
}
|
|
113
|
+
if (this.isFocused) {
|
|
114
|
+
part = parts.inputFocused;
|
|
115
|
+
}
|
|
116
|
+
return part;
|
|
117
|
+
}
|
|
118
|
+
render() {
|
|
119
|
+
return (index.h(index.Host, { key: '4950c97a276963d0b666313b5eb2047cd05ffe0f' }, index.h("div", { key: 'f09de9c091824da6e385e9129c007ea3ddefea7a', class: "form-group d-flex flex-column" }, index.h("div", { key: 'c853c5997df0a9a3b0789712abcbf25c1bc50884', class: "d-flex align-items-start gap-2" }, index.h("label", { key: 'e5c17b93898fdf7e2244f3a5549fdd3ddcc2bab8', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h("form-control-tooltip", { key: '131ac4f66a6bae82f53473f36448780090f28a71', helpText: this.helpText })), index.h("input", { key: 'cf8374ebefcbe18b73d853c96b703652869ea0af', ref: (el) => this.fileInput = el, type: "file", name: this.name, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onChange: this.changeHandler, onInput: this.handleFormControlInput, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
120
|
+
this.isFocused = false;
|
|
121
|
+
this.formControlBlur.emit();
|
|
122
|
+
} }), index.h(formControlErrorText.FormControlErrorText, { key: 'd5ac4a7e8b5f70fd0cb63e9358bb372a3167ab5e', errorText: this.errorText, name: this.name }))));
|
|
123
|
+
}
|
|
124
|
+
get el() { return index.getElement(this); }
|
|
125
|
+
};
|
|
126
|
+
|
|
127
|
+
exports.bank_account_document_form_inputs = BankAccountDocumentFormInputs;
|
|
128
|
+
exports.bank_account_form_inputs = BankAccountFormInputs;
|
|
129
|
+
exports.business_documents_on_file = BusinessDocumentsOnFile;
|
|
130
|
+
exports.form_control_file = FileInput;
|
|
@@ -4,10 +4,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5b9a3b5f.js');
|
|
6
6
|
const iframeInputStylesState = require('./iframe-input-styles-state-d0de0b24.js');
|
|
7
|
-
const parts = require('./parts-
|
|
8
|
-
const header3 = require('./header-3-
|
|
9
|
-
const Payment = require('./Payment-
|
|
10
|
-
const utils = require('./utils-
|
|
7
|
+
const parts = require('./parts-b2ff8b68.js');
|
|
8
|
+
const header3 = require('./header-3-130206cc.js');
|
|
9
|
+
const Payment = require('./Payment-c47ed1e1.js');
|
|
10
|
+
const utils = require('./utils-337befa9.js');
|
|
11
11
|
require('./index-d2d0b181.js');
|
|
12
12
|
require('./Dispute-eb6bad54.js');
|
|
13
13
|
|
|
@@ -24,7 +24,7 @@ const BankAccountForm = class {
|
|
|
24
24
|
return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
|
-
return (index.h(index.Host, { key: '
|
|
27
|
+
return (index.h(index.Host, { key: '6e351c4e7bd3afe586f988855a8347c7ddd08ec8' }, index.h("div", { key: '822a342538c44f9d643a1b443302107cc3086ba1', class: "container-fluid p-0" }, index.h("div", { key: 'bacfd7176144928a80cb0bc491b9a83e7260c502', class: "row mb-3" }, index.h("iframe-input", { key: '77c88ac7f6c26f8467d9c1d2f8f053bd6003bfec', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${"https://components.justifi.ai/v2"}/accountNumber` })), index.h("div", { key: 'da73fc03e8c124a37d0fa84a66439c879e745ef2', class: "row" }, index.h("iframe-input", { key: '2f36b96ecff473ef72e47ce5b9b009fe1067eee2', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${"https://components.justifi.ai/v2"}/routingNumber` })))));
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
30
|
|
|
@@ -43,7 +43,7 @@ const CardForm = class {
|
|
|
43
43
|
return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
|
-
return (index.h(index.Host, { key: '
|
|
46
|
+
return (index.h(index.Host, { key: '279551d81ed11cde65d51e28d9dc9be9d5f0d422', class: "container-fluid p-0" }, index.h("div", { key: '2ab4164df7fd258243a89b02fe4a634069f31670', class: "mb-3" }, index.h("iframe-input", { key: '0baf4772d66bc228ef0259487c5b7be67321ebf1', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${"https://components.justifi.ai/v2"}/cardNumber` })), index.h("div", { key: 'ba458f877d837bd8c3302f9888e3ddfba58c2024', class: "row" }, index.h("div", { key: '960975abed4e4db2ed5428e81bd0771b7f18aca7', class: "col-4 align-content-end" }, index.h("iframe-input", { key: 'b609e584b00cced44db0cb44cb8436f3daa18a2e', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${"https://components.justifi.ai/v2"}/expirationMonth` })), index.h("div", { key: '42725f5223920f9185a384f88ba17ca1e3215b30', class: "col-4 align-content-end" }, index.h("iframe-input", { key: '9c2c8410b3344dc44b4538881965f6b9e1a0b6c9', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${"https://components.justifi.ai/v2"}/expirationYear` })), index.h("div", { key: 'f4c3a801b0f3088b0cee30914d6088d0b140b637', class: "col-4 align-content-end" }, index.h("iframe-input", { key: '7bb5ebec54d900539f2bfdb85537c6d3185d3419', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${"https://components.justifi.ai/v2"}/CVV` })))));
|
|
47
47
|
}
|
|
48
48
|
};
|
|
49
49
|
|
|
@@ -120,7 +120,7 @@ const HiddenInput = class {
|
|
|
120
120
|
return parts.input;
|
|
121
121
|
}
|
|
122
122
|
render() {
|
|
123
|
-
return (index.h(index.Host, { key: '
|
|
123
|
+
return (index.h(index.Host, { key: '21c26d386f4e23af0e0ef069ad0263e252c8c15b' }, index.h("input", { key: '70bb1f6c7c5e94a96fddfe82d1831df12771f0af', ref: el => this.hiddenInput = el, type: "text", class: this.errorText ? "form-control is-invalid" : "form-control", onFocus: () => this.isFocused = true, onBlur: () => this.isFocused = false, part: this.part, tabindex: "-1", style: { height: '0', opacity: '0', pointerEvents: 'none', animation: 'none' } })));
|
|
124
124
|
}
|
|
125
125
|
};
|
|
126
126
|
|
|
@@ -252,7 +252,7 @@ const NewPaymentMethod = class {
|
|
|
252
252
|
}
|
|
253
253
|
render() {
|
|
254
254
|
var _a, _b;
|
|
255
|
-
return (index.h(index.Host, { key: '
|
|
255
|
+
return (index.h(index.Host, { key: '08d8aac7f71c6f7e6f55b8e43a8987ad0e0604d2', class: "payment-method" }, index.h("div", { key: 'd38fb7c6591df0c552ec51137b4358a2fa5a2651', class: "radio-list-item p-3", part: parts.radioListItem, onClick: this.onPaymentMethodOptionClick }, index.h("form-control-radio", { key: '90725e78617ea8dcd40981cac815601a75256f7d', name: "paymentMethodType", value: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, checked: this.isSelected, label: PaymentMethodTypeLabels[(_b = this.paymentMethodOption) === null || _b === void 0 ? void 0 : _b.id] })), this.isSelected ? this.showNewPaymentMethodForm() : null));
|
|
256
256
|
}
|
|
257
257
|
};
|
|
258
258
|
|
|
@@ -334,7 +334,7 @@ const PaymentMethodOptions = class {
|
|
|
334
334
|
}
|
|
335
335
|
render() {
|
|
336
336
|
var _a;
|
|
337
|
-
return (index.h(index.Host, { key: '
|
|
337
|
+
return (index.h(index.Host, { key: 'b83f8b54a8f5a15790b263047a5eb9acc416ae2c' }, (_a = this.paymentMethodOptions) === null || _a === void 0 ? void 0 : _a.map((paymentMethodOption) => {
|
|
338
338
|
const newCard = paymentMethodOption.id === Payment.PaymentMethodTypes.card;
|
|
339
339
|
const newBankAccount = paymentMethodOption.id === Payment.PaymentMethodTypes.bankAccount;
|
|
340
340
|
const isSelected = this.selectedPaymentMethodId === paymentMethodOption.id;
|
|
@@ -378,7 +378,7 @@ const SaveNewPaymentMethod = class {
|
|
|
378
378
|
this.checkboxChanged.emit(this.isChecked);
|
|
379
379
|
}
|
|
380
380
|
render() {
|
|
381
|
-
return (index.h("div", { key: '
|
|
381
|
+
return (index.h("div", { key: '86520e5820d9e6ef19946566b31912c5b1050bf6', class: "mt-4 form-check" }, index.h("form-control-checkbox", { key: 'cc87b708b88aaf4b1f1a93f6b6ebfdd030f87bc0', label: "Save new payment method", name: "saveNewPaymentMethod", checked: this.isChecked, inputHandler: this.handleCheckboxChange.bind(this) })));
|
|
382
382
|
}
|
|
383
383
|
};
|
|
384
384
|
|
|
@@ -403,7 +403,7 @@ const SavedPaymentMethod = class {
|
|
|
403
403
|
;
|
|
404
404
|
render() {
|
|
405
405
|
var _a, _b, _c;
|
|
406
|
-
return (index.h(index.Host, { key: '
|
|
406
|
+
return (index.h(index.Host, { key: '34d26fc514053e2fe028a4a3ba0cbdeb8aa835f1', class: "payment-method" }, index.h("div", { key: 'da373a524b97bb91a0bc0849f0670c440f5cf5a8', class: "radio-list-item p-3", part: parts.radioListItem, onClick: this.onPaymentMethodOptionClick }, index.h("form-control-radio", { key: '824ebc566a018e342dd7f128c69fca873bbded45', name: "paymentMethodType", value: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, checked: this.isSelected, label: `${CardBrandLabels[(_b = this.paymentMethodOption) === null || _b === void 0 ? void 0 : _b.brand] || ''} *${(_c = this.paymentMethodOption) === null || _c === void 0 ? void 0 : _c.acct_last_four}` }))));
|
|
407
407
|
}
|
|
408
408
|
};
|
|
409
409
|
|
|
@@ -473,7 +473,7 @@ const SezzlePaymentMethod = class {
|
|
|
473
473
|
}
|
|
474
474
|
render() {
|
|
475
475
|
var _a, _b, _c;
|
|
476
|
-
return (index.h(index.Host, { key: '
|
|
476
|
+
return (index.h(index.Host, { key: '696051d9a48f0127013dcc84a25053f85ad92145', class: "payment-method" }, index.h("script", { key: '0dec4821a85dbef872494885c32c26719423b761', src: "https://checkout-sdk.sezzle.com/checkout.min.js", async: true, ref: (el) => (this.scriptRef = el) }), index.h("div", { key: 'fb9812691532a49f5c8093a989f6277d4755e531', class: "radio-list-item p-3", part: parts.radioListItem, onClick: this.onPaymentMethodOptionClick }, index.h("form-control-radio", { key: '3ae4c03b30a32b860231789d2f541fbfbea37bef', name: "paymentMethodType", value: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, checked: this.isSelected, label: index.h("div", null, index.h("div", null, "Buy now, pay later with ", sezzleLogo), this.installmentPlan && (index.h("small", null, index.h("span", null, (_b = this.installmentPlan) === null || _b === void 0 ? void 0 : _b.installments.length), "\u00A0", index.h("span", null, this.installmentPlan.schedule, " payments of"), "\u00A0", index.h("span", { class: "fw-bold" }, utils.formatCurrency((_c = this.installmentPlan) === null || _c === void 0 ? void 0 : _c.installments[0].amountInCents))))) }))));
|
|
477
477
|
}
|
|
478
478
|
};
|
|
479
479
|
|
|
@@ -4,16 +4,17 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5b9a3b5f.js');
|
|
6
6
|
const index_esm = require('./index.esm-a397536a.js');
|
|
7
|
-
const schemaValidations = require('./schema-validations-
|
|
7
|
+
const schemaValidations = require('./schema-validations-cc4e6071.js');
|
|
8
8
|
const stateOptions = require('./state-options-4fbcb48a.js');
|
|
9
9
|
const utils = require('./utils-bc03ca40.js');
|
|
10
|
-
const formControlErrorText = require('./form-control-error-text-
|
|
11
|
-
const _package = require('./package-
|
|
10
|
+
const formControlErrorText = require('./form-control-error-text-46a7f2dd.js');
|
|
11
|
+
const _package = require('./package-06419e54.js');
|
|
12
12
|
const iframeInputStylesState = require('./iframe-input-styles-state-d0de0b24.js');
|
|
13
|
-
const parts = require('./parts-
|
|
13
|
+
const parts = require('./parts-b2ff8b68.js');
|
|
14
14
|
require('./business-form-options-4bcb8943.js');
|
|
15
15
|
require('./Business-cfd6a2dd.js');
|
|
16
16
|
require('./helpers-602962eb.js');
|
|
17
|
+
require('./Document-0b828345.js');
|
|
17
18
|
require('./index-d2d0b181.js');
|
|
18
19
|
|
|
19
20
|
const BillingFormSchema = index_esm.create$3({
|
|
@@ -1673,10 +1674,10 @@ const IframeInput = class {
|
|
|
1673
1674
|
return params;
|
|
1674
1675
|
}
|
|
1675
1676
|
render() {
|
|
1676
|
-
return (index.h(index.Host, { key: '
|
|
1677
|
+
return (index.h(index.Host, { key: '00956724f4d6e72b09c2c469613a6362a3c7cdec', class: "form-group d-flex flex-column" }, index.h("div", { key: 'e6605bd5ef7356c21701b0856a133758720a36d6', style: {
|
|
1677
1678
|
visibility: this.iframeLoaded ? 'visible' : 'hidden',
|
|
1678
1679
|
height: this.iframeLoaded ? 'auto' : '0',
|
|
1679
|
-
} }, index.h("label", { key: '
|
|
1680
|
+
} }, index.h("label", { key: 'f52a782a9f1bbca4a8a6e36da1948611ab834e54', class: "form-label", htmlFor: "", part: parts.label }, this.label || ''), index.h("div", { key: 'b88199f3de1b52a0aed4d61c0448c293964a7279', class: `p-0 d-flex form-control ${this.isValid ? '' : 'is-invalid'}`, part: this.part, style: Object.assign(Object.assign({}, this.style), { overflow: 'hidden' }) }, index.h("iframe", { key: '218aa6d48b12c1fc78f04a1556f0a32738c20df4', id: this.inputId, name: this.inputId, src: `${this.iframeOrigin}?${this.urlParams}`, ref: el => {
|
|
1680
1681
|
this.iframeElement = el;
|
|
1681
1682
|
this.initializeFrameCommunicationService();
|
|
1682
1683
|
}, width: "100%", onLoad: () => {
|
|
@@ -1686,7 +1687,7 @@ const IframeInput = class {
|
|
|
1686
1687
|
this.iframeLoaded = true;
|
|
1687
1688
|
}
|
|
1688
1689
|
}, this.iframeElement);
|
|
1689
|
-
} })), index.h(formControlErrorText.FormControlErrorText, { key: '
|
|
1690
|
+
} })), index.h(formControlErrorText.FormControlErrorText, { key: 'f6e57608fc771ca78e39618455dfe57cd40a655a', errorText: this.errorText, name: this.inputId }))));
|
|
1690
1691
|
}
|
|
1691
1692
|
get el() { return index.getElement(this); }
|
|
1692
1693
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index_esm = require('./index.esm-a397536a.js');
|
|
4
|
-
const schemaValidations = require('./schema-validations-
|
|
4
|
+
const schemaValidations = require('./schema-validations-cc4e6071.js');
|
|
5
5
|
|
|
6
6
|
const businessCoreInfoSchema = (allowOptionalFields) => {
|
|
7
7
|
const schema = index_esm.create$3({
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5b9a3b5f.js');
|
|
6
|
-
const utils = require('./utils-
|
|
6
|
+
const utils = require('./utils-134dda01.js');
|
|
7
7
|
const styledHost = require('./styled-host-94309bab.js');
|
|
8
|
-
const skeleton = require('./skeleton-
|
|
9
|
-
require('./parts-
|
|
8
|
+
const skeleton = require('./skeleton-0353466d.js');
|
|
9
|
+
require('./parts-b2ff8b68.js');
|
|
10
10
|
|
|
11
11
|
const BusinessDetailsLoading = () => {
|
|
12
12
|
const Block = () => (index.h("div", { class: "mt-5" },
|
package/dist/cjs/{business-identity-schema-0c537067.js → business-identity-schema-be495474.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index_esm = require('./index.esm-a397536a.js');
|
|
4
|
-
const schemaValidations = require('./schema-validations-
|
|
4
|
+
const schemaValidations = require('./schema-validations-cc4e6071.js');
|
|
5
5
|
|
|
6
6
|
const addressSchema = (allowOptionalFields) => {
|
|
7
7
|
const schema = index_esm.create$3({
|
|
@@ -32,7 +32,14 @@ class BusinessBankAccountService {
|
|
|
32
32
|
return Api.Api({ authToken, apiOrigin: Api.config.proxyApiOrigin }).post(endpoint, payload);
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
|
+
class DocumentRecordService {
|
|
36
|
+
async postDocumentRecord(authToken, payload) {
|
|
37
|
+
const endpoint = `entities/document`;
|
|
38
|
+
return Api.Api({ authToken, apiOrigin: Api.config.proxyApiOrigin }).post(endpoint, payload);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
35
41
|
|
|
36
42
|
exports.BusinessBankAccountService = BusinessBankAccountService;
|
|
37
43
|
exports.BusinessService = BusinessService;
|
|
44
|
+
exports.DocumentRecordService = DocumentRecordService;
|
|
38
45
|
exports.IdentityService = IdentityService;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-5b9a3b5f.js');
|
|
4
|
-
const parts = require('./parts-
|
|
4
|
+
const parts = require('./parts-b2ff8b68.js');
|
|
5
5
|
|
|
6
6
|
const ButtonSpinner = () => (index.h("div", { class: "spinner-border spinner-border-sm", role: "status", part: "button-spinner" },
|
|
7
7
|
index.h("span", { class: "visually-hidden" }, "Loading...")));
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const Api = require('./Api-b0e4be29.js');
|
|
4
|
-
require('./
|
|
4
|
+
require('./ComponentError-233ac749.js');
|
|
5
|
+
require('./Checkout-0f1c8abe.js');
|
|
5
6
|
require('./Pagination-0da8f095.js');
|
|
6
|
-
require('./Payment-
|
|
7
|
-
require('./SubAccount-
|
|
7
|
+
require('./Payment-c47ed1e1.js');
|
|
8
|
+
require('./SubAccount-509ebf93.js');
|
|
9
|
+
require('./Document-0b828345.js');
|
|
8
10
|
|
|
9
11
|
class CheckoutService {
|
|
10
12
|
async fetchCheckout(authToken, checkoutId) {
|
|
@@ -3,18 +3,20 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5b9a3b5f.js');
|
|
6
|
-
require('./
|
|
6
|
+
require('./ComponentError-233ac749.js');
|
|
7
|
+
require('./Checkout-0f1c8abe.js');
|
|
7
8
|
const Pagination = require('./Pagination-0da8f095.js');
|
|
8
|
-
require('./Payment-
|
|
9
|
-
require('./SubAccount-
|
|
10
|
-
|
|
11
|
-
const
|
|
12
|
-
const
|
|
9
|
+
require('./Payment-c47ed1e1.js');
|
|
10
|
+
require('./SubAccount-509ebf93.js');
|
|
11
|
+
require('./Document-0b828345.js');
|
|
12
|
+
const parts = require('./parts-b2ff8b68.js');
|
|
13
|
+
const eventTypes = require('./event-types-34b103b4.js');
|
|
14
|
+
const checkoutsTable = require('./checkouts-table-efa1cbab.js');
|
|
13
15
|
const checkoutsListParamsState = require('./checkouts-list-params-state-418c75a3.js');
|
|
14
|
-
require('./utils-
|
|
16
|
+
require('./utils-337befa9.js');
|
|
15
17
|
require('./Dispute-eb6bad54.js');
|
|
16
|
-
require('./spinner-
|
|
17
|
-
require('./badge-
|
|
18
|
+
require('./spinner-4fc60a51.js');
|
|
19
|
+
require('./badge-ccfe03bf.js');
|
|
18
20
|
require('./index-d2d0b181.js');
|
|
19
21
|
|
|
20
22
|
const CheckoutsListCore = class {
|
|
@@ -137,7 +139,7 @@ const CheckoutsListCore = class {
|
|
|
137
139
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
138
140
|
}
|
|
139
141
|
render() {
|
|
140
|
-
return (index.h("div", { key: '
|
|
142
|
+
return (index.h("div", { key: '525904319e2827a04ccbd44f83881504ddeba992' }, index.h("div", { key: '30c5800d270fe77e2a396b6379273a0639d4221e', class: "table-wrapper" }, index.h("table", { key: 'f8a66cf99bf0dc185d0cc541e3d38f4b68b136be', class: "table table-hover", part: parts.table }, index.h("thead", { key: 'c47c664e4bc8526b494d089b8e1198dfe27fa4fc', class: "table-head sticky-top" }, index.h("tr", { key: '645aca7f2610bd3b86c8e775edf264c9f53c7f6f', class: "table-light text-nowrap" }, this.checkoutsTable.columnData.map((column) => column))), index.h("tbody", { key: '79a046fced553f214e55d56c401211d0d682394e', class: "table-body" }, index.h(eventTypes.TableLoadingState, { key: '654f967a8b9552213a232d35e74d2700cc237cfd', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), index.h(eventTypes.TableEmptyState, { key: '80d985f6055e254262653e240b0d16a2e46123d0', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), index.h(eventTypes.TableErrorState, { key: 'a99fa4e4f370b70cc927a9b3e65d54828e56e448', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.rowData.map((data, index$1) => (index.h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index$1], onClick: this.rowClickHandler }, data)))), this.paging && (index.h("tfoot", { key: '619b3f952c5e6f8e1c612927b5d976ea6e4cffe7', class: "sticky-bottom" }, index.h("tr", { key: '5fb77b80e4c52154c658bbd2ebc8de9d8bc903aa', class: "table-light align-middle" }, index.h("td", { key: 'a5d1d6d1cf164681ad7a5f59bf4ae9a70e94911c', part: parts.tableCell, colSpan: this.checkoutsTable.columnData.length }, index.h("pagination-menu", { key: 'ce6e17ee3d3a6a3f513dedef209e9d4f2d7eff31', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
141
143
|
}
|
|
142
144
|
static get watchers() { return {
|
|
143
145
|
"queryParams": ["updateOnPropChange"],
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-5b9a3b5f.js');
|
|
4
|
-
const utils = require('./utils-
|
|
5
|
-
const badge = require('./badge-
|
|
6
|
-
const parts = require('./parts-
|
|
4
|
+
const utils = require('./utils-337befa9.js');
|
|
5
|
+
const badge = require('./badge-ccfe03bf.js');
|
|
6
|
+
const parts = require('./parts-b2ff8b68.js');
|
|
7
7
|
|
|
8
8
|
const MapCheckoutStatusToBadge = (status) => {
|
|
9
9
|
const statusToBadgeProps = {
|