@justifi/webcomponents 5.2.0 → 5.3.1
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/{Api-b0e4be29.js → Api-089e7501.js} +1 -0
- 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 +18 -14
- 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-33d7c7f2.js} +8 -1
- package/dist/cjs/{button-e7796b07.js → button-8b634147.js} +1 -1
- package/dist/cjs/{check-pkg-version-dee8dbb7.js → check-pkg-version-526a9ce5.js} +2 -2
- package/dist/cjs/{checkout.service-e9c05c15.js → checkout.service-d9047ddb.js} +6 -4
- 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-739631c7.js} +6 -4
- 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-bdaff21b.js} +6 -5
- package/dist/cjs/{get-subaccounts-b087fa39.js → get-subaccounts-2db9fc01.js} +6 -5
- 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} +30 -227
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +9 -9
- package/dist/cjs/justifi-business-details.cjs.entry.js +6 -6
- package/dist/cjs/justifi-business-form.cjs.entry.js +16 -14
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +10 -9
- package/dist/cjs/justifi-checkout.cjs.entry.js +12 -10
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +15 -14
- 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 +10 -9
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +15 -14
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +5 -5
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +8 -7
- package/dist/cjs/justifi-payment-details.cjs.entry.js +12 -11
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +5 -5
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +25 -4
- package/dist/cjs/justifi-payments-list.cjs.entry.js +19 -15
- package/dist/cjs/justifi-payout-details.cjs.entry.js +12 -11
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +15 -14
- package/dist/cjs/justifi-refund-form.cjs.entry.js +8 -6
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +4 -4
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +10 -9
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +13 -12
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +7 -6
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-8b9059cc.js → package-45874555.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-87924c1a.js} +6 -4
- 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 +25 -1
- package/dist/collection/components/checkout/card-form/card-form.js +25 -1
- package/dist/collection/components/checkout/checkout-core.js +20 -2
- package/dist/collection/components/checkout/checkout.js +22 -2
- package/dist/collection/components/checkout/new-payment-method.js +20 -2
- package/dist/collection/components/checkout/payment-method-options.js +20 -2
- 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 +21 -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/config.js +1 -0
- package/dist/docs.json +680 -469
- package/dist/esm/{Api-0cac5b8a.js → Api-97801a4b.js} +1 -0
- 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 +18 -14
- 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-45c7df3c.js} +8 -2
- package/dist/esm/{button-8a02823c.js → button-4b3f3934.js} +1 -1
- package/dist/esm/{check-pkg-version-51d2616b.js → check-pkg-version-f91ed31f.js} +2 -2
- package/dist/esm/{checkout.service-c275270e.js → checkout.service-36e3355e.js} +6 -4
- 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-9b9b87e5.js} +6 -4
- 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-80210301.js} +6 -5
- package/dist/esm/{get-subaccounts-ab3dd32c.js → get-subaccounts-d3eeb85d.js} +6 -5
- 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} +32 -228
- package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
- package/dist/esm/justifi-business-details.entry.js +6 -6
- package/dist/esm/justifi-business-form.entry.js +16 -14
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
- package/dist/esm/justifi-checkout-core.entry.js +10 -9
- package/dist/esm/justifi-checkout.entry.js +12 -10
- package/dist/esm/justifi-checkouts-list-filters.entry.js +1 -1
- package/dist/esm/justifi-checkouts-list.entry.js +15 -14
- 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 +10 -9
- package/dist/esm/justifi-dispute-notification_3.entry.js +15 -14
- package/dist/esm/justifi-gross-payment-chart.entry.js +5 -5
- package/dist/esm/justifi-owner-form_3.entry.js +8 -7
- package/dist/esm/justifi-payment-details.entry.js +12 -11
- package/dist/esm/justifi-payment-provisioning-core.entry.js +2 -2
- package/dist/esm/justifi-payment-provisioning.entry.js +5 -5
- package/dist/esm/justifi-payments-list-filters.entry.js +25 -4
- package/dist/esm/justifi-payments-list.entry.js +19 -15
- package/dist/esm/justifi-payout-details.entry.js +12 -11
- package/dist/esm/justifi-payouts-list-filters.entry.js +2 -2
- package/dist/esm/justifi-payouts-list.entry.js +15 -14
- package/dist/esm/justifi-refund-form.entry.js +8 -6
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +4 -4
- package/dist/esm/justifi-season-interruption-insurance.entry.js +10 -9
- package/dist/esm/justifi-terminals-list-filters.entry.js +1 -1
- package/dist/esm/justifi-terminals-list.entry.js +13 -12
- package/dist/esm/justifi-tokenize-payment-method.entry.js +7 -6
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-5eedfd72.js → package-2b7c7bc0.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-c847c1f6.js} +6 -4
- 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 +3 -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 +3 -1
- package/dist/module/checkout-core.js +5 -3
- package/dist/module/checkout.service.js +2 -0
- package/dist/module/checkouts-list-core2.js +6 -4
- package/dist/module/config.js +1 -0
- 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 +5 -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 +4 -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 +4 -2
- 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 +4 -2
- 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/checkout/bank-account-form/bank-account-form.d.ts +1 -0
- package/dist/types/components/checkout/card-form/card-form.d.ts +1 -0
- package/dist/types/components/checkout/checkout-core.d.ts +1 -0
- package/dist/types/components/checkout/checkout.d.ts +1 -0
- package/dist/types/components/checkout/new-payment-method.d.ts +1 -0
- package/dist/types/components/checkout/payment-method-options.d.ts +1 -0
- 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/tokenize-payment-method/tokenize-payment-method.d.ts +1 -0
- package/dist/types/components.d.ts +95 -101
- package/dist/types/home/runner/work/web-component-library/web-component-library/packages/webcomponents/.stencil/packages/webcomponents/config.d.ts +1 -0
- package/dist/types/styles/parts.d.ts +8 -0
- package/dist/webcomponents/p-00c32bb9.entry.js +1 -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-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-1820fd87.entry.js +1 -0
- package/dist/webcomponents/p-189affee.entry.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-09fd4ee2.entry.js → p-2916bb62.entry.js} +1 -1
- package/dist/webcomponents/p-298e290e.js +1 -0
- package/dist/webcomponents/{p-74736657.js → p-2ca5b5e4.js} +1 -1
- package/dist/webcomponents/p-2f94d478.entry.js +1 -0
- package/dist/webcomponents/p-31cbc05a.entry.js +1 -0
- package/dist/webcomponents/p-31e2d12c.entry.js +1 -0
- package/dist/webcomponents/{p-2bd8650b.js → p-35b00a0d.js} +1 -1
- 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-415deed1.entry.js +1 -0
- package/dist/webcomponents/p-44d2c762.entry.js +1 -0
- package/dist/webcomponents/{p-c6051278.entry.js → p-47a3003c.entry.js} +1 -1
- package/dist/webcomponents/p-4bad3621.js +1 -0
- package/dist/webcomponents/{p-c2efe406.js → p-4c820f81.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-63caad6e.entry.js +1 -0
- package/dist/webcomponents/p-66b6c56b.js +1 -0
- package/dist/webcomponents/p-6d2c8be2.entry.js +1 -0
- package/dist/webcomponents/p-72992c97.entry.js +1 -0
- package/dist/webcomponents/p-72ff0d5f.entry.js +1 -0
- package/dist/webcomponents/p-74014392.entry.js +1 -0
- package/dist/webcomponents/p-7542ebd6.entry.js +1 -0
- package/dist/webcomponents/p-778e9dd0.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-85b5eeb6.entry.js +1 -0
- package/dist/webcomponents/p-8815bf82.entry.js +1 -0
- package/dist/webcomponents/{p-44604a45.js → p-8f25f016.js} +1 -1
- 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-960a8ec2.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-f5a7a7d1.entry.js → p-991df3a1.entry.js} +1 -1
- package/dist/webcomponents/p-9ad6e792.entry.js +1 -0
- package/dist/webcomponents/p-a2076a0e.js +1 -0
- package/dist/webcomponents/p-aa02cf71.js +1 -0
- package/dist/webcomponents/p-ab1504b6.entry.js +1 -0
- package/dist/webcomponents/p-ab254da1.entry.js +1 -0
- package/dist/webcomponents/p-af66f580.entry.js +1 -0
- package/dist/webcomponents/p-b15ad5df.js +1 -0
- package/dist/webcomponents/p-b2209632.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-eb644cb7.js → p-c5c03d88.js} +1 -1
- package/dist/webcomponents/p-ca361ef6.entry.js +1 -0
- package/dist/webcomponents/p-ccd91d8a.entry.js +1 -0
- 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-9069fab5.js → p-d91c46dc.js} +1 -1
- package/dist/webcomponents/{p-541b7c36.entry.js → p-db37b175.entry.js} +1 -1
- package/dist/webcomponents/p-dd867d1f.js +1 -0
- 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-39177d5a.js → p-e63fdbca.js} +1 -1
- package/dist/webcomponents/{p-730e8425.js → p-e8c3c23f.js} +1 -1
- package/dist/webcomponents/p-eae512f0.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-f28ddbe8.entry.js +1 -0
- package/dist/webcomponents/p-f2f2e20e.js +1 -0
- package/dist/webcomponents/p-f694e1c8.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-fdbcd486.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-2d801915.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-72a90154.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-bb842885.entry.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-d5dace8b.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-fc3daedd.js +0 -1
- package/dist/webcomponents/p-fd6619d0.entry.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as create$3, a as create$6 } from './form.js';
|
|
2
2
|
import { a as addressSchema } from './business-address-schema.js';
|
|
3
|
-
import { i as identityNameValidation,
|
|
3
|
+
import { i as identityNameValidation, D as identityTitleValidation, u as emailValidation, x as phoneValidation, E as dobValidation, F as ssnValidation } from './schema-validations.js';
|
|
4
4
|
|
|
5
5
|
const identitySchema = (role, allowOptionalFields) => {
|
|
6
6
|
const schema = create$3({
|
|
@@ -3,7 +3,7 @@ import { B as Button } from './button.js';
|
|
|
3
3
|
import { h as heading2 } from './parts.js';
|
|
4
4
|
import './details.js';
|
|
5
5
|
import { P as PaymentProvisioningLoading } from './payment-provisioning-loading.js';
|
|
6
|
-
import { B as BusinessFormStep, a as BusinessFormClickActions } from './event-
|
|
6
|
+
import { B as BusinessFormStep, a as BusinessFormClickActions } from './event-types.js';
|
|
7
7
|
import { d as defineCustomElement$a } from './custom-popper2.js';
|
|
8
8
|
import { d as defineCustomElement$9 } from './form-control-date2.js';
|
|
9
9
|
import { d as defineCustomElement$8 } from './form-control-number-masked2.js';
|
|
@@ -56,7 +56,7 @@ const BusinessOwnersFormStep = /*@__PURE__*/ proxyCustomElement(class BusinessOw
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
render() {
|
|
59
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: 'd3010f8f811d93d7ee0983e92aa3c87a1fab0466' }, h("justifi-business-owners-form-step-core", { key: '7eed1a3ebda94badba81f22011efbb23cee7bf12', authToken: this.authToken, businessId: this.businessId, getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: (el) => this.coreComponent = el })));
|
|
60
60
|
}
|
|
61
61
|
static get watchers() { return {
|
|
62
62
|
"authToken": ["propChanged"],
|
|
@@ -26,7 +26,7 @@ const RepresentativeFormInputs = /*@__PURE__*/ proxyCustomElement(class Represen
|
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
28
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
29
|
-
return (h("form", { key: '
|
|
29
|
+
return (h("form", { key: '96a926aefa6b30a3a1332198ffb2fcbb6316580c' }, h("fieldset", { key: '59a27475ed22d31dfdccf32ecf05e364bfc8deba' }, h("div", { key: '6dfde8190505808fc5101cf0832ec89785e3a73f', class: "d-flex align-items-center gap-2" }, h("legend", { key: '6342e6f1fb59e8e1e18bfff0dca55e0661f889a2', class: "mb-0", part: heading2 }, "Representative"), h("form-control-tooltip", { key: 'bf2f9a2ce23edb0363c074297600ee330a0143fb', helpText: "The representative for your business needs to be someone who has significant control over managing your business\u2019s finance. You will have an opportunity to add owners later in the form." })), h("hr", { key: '5ab4405fdd5338b9f4f4e3b2672a3769ec7b97d9', class: "mt-2" }), h("div", { key: '2a3e3b458077f26b99c53be76970b735764ba12a', class: "row gy-3" }, h("div", { key: '03679420425d09f380589efbf7640b73c8ddaacb', class: "col-12 col-md-8" }, h("form-control-text", { key: '2ecbbc99442fa73dae73cd1cf398dbf425bf0e84', name: "name", label: "Full Name", defaultValue: (_a = this.representativeDefaultValue) === null || _a === void 0 ? void 0 : _a.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: 'ff989b9f132092c028b096420314b0b67e1e94d7', class: "col-12 col-md-4" }, h("form-control-text", { key: 'f0df98d4ca3ed07e1e884df782ddf125321c0ca1', name: "title", label: "Title", defaultValue: (_b = this.representativeDefaultValue) === null || _b === void 0 ? void 0 : _b.title, errorText: this.errors.title, inputHandler: this.inputHandler, helpText: "Role at your business, e.g. President, CEO, Treasurer." })), h("div", { key: 'a9f9b6b5039a70ac8539605622cdbc574c01734f', class: "col-12 col-md-6" }, h("form-control-text", { key: '6e2736b9d35f9f15d6d4368a89b096bddd1e1b99', name: "email", label: "Email Address", defaultValue: (_c = this.representativeDefaultValue) === null || _c === void 0 ? void 0 : _c.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '75e2f09476bfb82d695e41103337c2bfc64c85a3', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '8fdd1d70b62f92df2347df53494e194c22de9004', name: "phone", label: "Phone Number", defaultValue: (_d = this.representativeDefaultValue) === null || _d === void 0 ? void 0 : _d.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: 'b670407555423c18879172d12761020b7d5cecbe', class: "col-12 col-md-4" }, h("form-control-date", { key: 'a5bca4384bbc736576147d811878ec02e1c27e10', name: "dob_full", label: "Birth Date", defaultValue: (_e = this.representativeDefaultValue) === null || _e === void 0 ? void 0 : _e.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: (e) => updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), h("div", { key: '414c906c37268aa87ae1cfe870d2d23fc4d6602e', class: "col-12 col-md-8" }, h("form-control-number-masked", { key: 'ab0c71faa0f0982666164b63ec0612d1a82c3b7a', name: "identification_number", label: "SSN", defaultValue: (_f = this.representativeDefaultValue) === null || _f === void 0 ? void 0 : _f.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: SSN_MASK, helpText: "Enter your full Social Security Number. It is required for Federal OFAC check." })), h("div", { key: 'ea19a62d5ceddfdd297d042b0b49f711d164f06f', class: "col-12" }, h("justifi-identity-address-form", { key: '276a217bd4a538357971f3a2c5771ba45bef5b53', errors: this.errors.address, defaultValues: (_g = this.representativeDefaultValue) === null || _g === void 0 ? void 0 : _g.address, handleFormUpdate: this.onAddressFormUpdate }))))));
|
|
30
30
|
}
|
|
31
31
|
}, [0, "justifi-business-representative-form-inputs", {
|
|
32
32
|
"representativeDefaultValue": [8, "representative-default-value"],
|
|
@@ -3,7 +3,7 @@ import { R as Representative } from './Business.js';
|
|
|
3
3
|
import { F as FormController } from './form.js';
|
|
4
4
|
import { i as identitySchema } from './business-identity-schema.js';
|
|
5
5
|
import { P as PaymentProvisioningLoading } from './payment-provisioning-loading.js';
|
|
6
|
-
import { B as BusinessFormStep } from './event-
|
|
6
|
+
import { B as BusinessFormStep } from './event-types.js';
|
|
7
7
|
import { d as defineCustomElement$8 } from './custom-popper2.js';
|
|
8
8
|
import { d as defineCustomElement$7 } from './form-control-date2.js';
|
|
9
9
|
import { d as defineCustomElement$6 } from './form-control-number-masked2.js';
|
|
@@ -54,7 +54,7 @@ const BusinessRepresentativeFormStep = /*@__PURE__*/ proxyCustomElement(class Bu
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
|
-
return (h("justifi-business-representative-form-step-core", { key: '
|
|
57
|
+
return (h("justifi-business-representative-form-step-core", { key: '1a7dc9bc4901d5a2bb3da7a06c63952ee45b7843', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
|
|
58
58
|
}
|
|
59
59
|
static get watchers() { return {
|
|
60
60
|
"authToken": ["propChanged"],
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { c as create$3, d as create$7, F as FormController } from './form.js';
|
|
3
3
|
import { A as Api, c as config } from './config.js';
|
|
4
|
+
import { C as ComponentErrorCodes, a as ComponentErrorSeverity } from './ComponentError.js';
|
|
4
5
|
import './Checkout.js';
|
|
5
6
|
import './Pagination.js';
|
|
6
7
|
import './Payment.js';
|
|
7
8
|
import './SubAccount.js';
|
|
8
|
-
import
|
|
9
|
+
import './Document.js';
|
|
9
10
|
import { h as heading2 } from './parts.js';
|
|
10
11
|
import './Business.js';
|
|
11
|
-
import { B as BusinessFormStep } from './event-
|
|
12
|
-
import { d as defineCustomElement$
|
|
13
|
-
import { d as defineCustomElement$1 } from './business-terms-conditions-text.js';
|
|
12
|
+
import { B as BusinessFormStep } from './event-types.js';
|
|
13
|
+
import { d as defineCustomElement$1 } from './form-control-checkbox2.js';
|
|
14
14
|
|
|
15
15
|
const businessTermsConditionsSchema = (allowOptionalFields) => {
|
|
16
16
|
const schema = create$3({
|
|
@@ -135,8 +135,11 @@ const BusinessTermsConditionsFormStep = /*@__PURE__*/ proxyCustomElement(class B
|
|
|
135
135
|
this.errors = Object.assign({}, errors);
|
|
136
136
|
});
|
|
137
137
|
}
|
|
138
|
+
get merchantAgreementLink() {
|
|
139
|
+
return (h("a", { href: "https://justifi.tech/merchant-agreement/", target: "_blank", rel: "noopener noreferrer" }, "merchant agreement"));
|
|
140
|
+
}
|
|
138
141
|
render() {
|
|
139
|
-
return (h("form", { key: '
|
|
142
|
+
return (h("form", { key: '643d1122e14cb32e62e4406c7a375d196ce310e9' }, h("fieldset", { key: 'a002f8bfa7d35b840cf01f5381e1895af3744810' }, h("legend", { key: '2ec353fe730c33c0dc2a103ef08666790343eba7', part: heading2 }, "Terms and Conditions"), h("hr", { key: 'ae538e42c49040ca41a83e9ff8664db89ae5bb03' }), h("div", { key: '2887706d30dad94180792be4c252e20cbf03cef6' }, h("p", { key: 'b1c3a9322ce96ac5265a50da6997228fe1666e9b' }, "Please read and accept the ", this.merchantAgreementLink, " to submit your provisioning request.")), h("br", { key: 'e78c021fa44eeddb5a963cfde3e5f2fa8d5066c5' }), h("div", { key: '888a15369bea1244f338fb6062090889f6de5aa1', class: "row-gy-3" }, h("div", { key: '510074fb20d80909cbe93fc44ad6918e214e8334', class: "col-12" }, h("form-control-checkbox", { key: 'dcaf2efb889a72335b1204b075a84ec9ff367bf5', name: "accepted", label: "I agree to the terms and conditions", inputHandler: this.inputHandler, errorText: this.errors.accepted, disabled: this.acceptedTermsBefore, helpText: this.formHelperText, checked: this.acceptedTerms }))))));
|
|
140
143
|
}
|
|
141
144
|
}, [0, "justifi-business-terms-conditions-form-step", {
|
|
142
145
|
"authToken": [1, "auth-token"],
|
|
@@ -152,7 +155,7 @@ function defineCustomElement() {
|
|
|
152
155
|
if (typeof customElements === "undefined") {
|
|
153
156
|
return;
|
|
154
157
|
}
|
|
155
|
-
const components = ["justifi-business-terms-conditions-form-step", "form-control-checkbox"
|
|
158
|
+
const components = ["justifi-business-terms-conditions-form-step", "form-control-checkbox"];
|
|
156
159
|
components.forEach(tagName => { switch (tagName) {
|
|
157
160
|
case "justifi-business-terms-conditions-form-step":
|
|
158
161
|
if (!customElements.get(tagName)) {
|
|
@@ -160,11 +163,6 @@ function defineCustomElement() {
|
|
|
160
163
|
}
|
|
161
164
|
break;
|
|
162
165
|
case "form-control-checkbox":
|
|
163
|
-
if (!customElements.get(tagName)) {
|
|
164
|
-
defineCustomElement$2();
|
|
165
|
-
}
|
|
166
|
-
break;
|
|
167
|
-
case "justifi-business-terms-conditions-text":
|
|
168
166
|
if (!customElements.get(tagName)) {
|
|
169
167
|
defineCustomElement$1();
|
|
170
168
|
}
|
|
@@ -30,5 +30,11 @@ class BusinessBankAccountService {
|
|
|
30
30
|
return Api({ authToken, apiOrigin: config.proxyApiOrigin }).post(endpoint, payload);
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
+
class DocumentRecordService {
|
|
34
|
+
async postDocumentRecord(authToken, payload) {
|
|
35
|
+
const endpoint = `entities/document`;
|
|
36
|
+
return Api({ authToken, apiOrigin: config.proxyApiOrigin }).post(endpoint, payload);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
33
39
|
|
|
34
|
-
export { BusinessService as B, IdentityService as I, BusinessBankAccountService as a };
|
|
40
|
+
export { BusinessService as B, DocumentRecordService as D, IdentityService as I, BusinessBankAccountService as a };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { c as create$3, a as create$6, F as FormController } from './form.js';
|
|
3
3
|
import { D as DisputeEvidenceDocument, a as DisputeResponseFormStep } from './dispute-response-form-types.js';
|
|
4
|
-
import {
|
|
4
|
+
import { T as heading5 } from './parts.js';
|
|
5
5
|
import { d as defineCustomElement$5 } from './custom-popper2.js';
|
|
6
6
|
import { d as defineCustomElement$4 } from './form-control-file-v22.js';
|
|
7
7
|
import { d as defineCustomElement$3 } from './form-control-help-text3.js';
|
|
@@ -47,7 +47,7 @@ const CancellationPolicy = /*@__PURE__*/ proxyCustomElement(class CancellationPo
|
|
|
47
47
|
}
|
|
48
48
|
render() {
|
|
49
49
|
var _a, _b;
|
|
50
|
-
return (h("div", { key: '
|
|
50
|
+
return (h("div", { key: 'aea08e2f0b6e473563c2dc6013b31069136c4911' }, h("div", { key: '9218719e9e956ba07133cd2c6b001a0e17987c46', class: "row gy-3" }, h("div", { key: '255cf20c0e717a8fa0b7413d212a6709a9e596e5', class: "col-12" }, h("h2", { key: '2cf8304a39b2d6356a9ea6f7c7c1918af428da96', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: '603f5ec85922a915a5c90cc541a815dda15ddad8', class: "col-12" }, h("form-control-textarea", { key: '82eea6470c44f71e162952c07363d8c2726dcaf9', label: "Cancellation Policy Disclosure", name: "cancellation_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.cancellation_policy_disclosure, inputHandler: this.inputHandler, errorText: this.errors.cancellation_policy_disclosure })), h("div", { key: '1e6a7510617cf192fbd604d45be124eeb4add648', class: "col-12" }, h("form-control-textarea", { key: '961044ed4ed21d1706314b0c5c69408eb318a956', label: "Cancellation Rebuttal", name: "cancellation_rebuttal", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.cancellation_rebuttal, inputHandler: this.inputHandler, errorText: this.errors.cancellation_rebuttal })), h("div", { key: '079294903db0fd69c0169ea92dd589c52e91e679', class: "col-12" }, h("form-control-file-v2", { key: 'a08630234a5f4654fc135bd3ac704127ecc302b4', label: "Upload Cancellation Policy", name: "cancellation_policy_file", onChange: this.handleFileSelection })))));
|
|
51
51
|
}
|
|
52
52
|
}, [0, "justifi-cancellation-policy", {
|
|
53
53
|
"disputeResponse": [8, "dispute-response"],
|
|
@@ -5,6 +5,7 @@ const CardForm = /*@__PURE__*/ proxyCustomElement(class CardForm extends HTMLEle
|
|
|
5
5
|
constructor() {
|
|
6
6
|
super();
|
|
7
7
|
this.__registerHost();
|
|
8
|
+
this.iframeOrigin = undefined;
|
|
8
9
|
}
|
|
9
10
|
async validate() {
|
|
10
11
|
const cardNumberIsValid = await this.cardNumberIframeElement.validate();
|
|
@@ -17,9 +18,10 @@ const CardForm = /*@__PURE__*/ proxyCustomElement(class CardForm extends HTMLEle
|
|
|
17
18
|
return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
18
19
|
}
|
|
19
20
|
render() {
|
|
20
|
-
return (h(Host, { key: '
|
|
21
|
+
return (h(Host, { key: '5dfd2c79d7691744614af89d0919e58db17434b3', class: "container-fluid p-0" }, h("div", { key: '307e9a7acd80285a59369e813bb0172627395cf6', class: "mb-3" }, h("iframe-input", { key: 'e151a15fb885d7babf13c575a5bf93990f77336b', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/cardNumber` })), h("div", { key: 'd965e93602367c92f53cdc768b9a79032e640a5a', class: "row" }, h("div", { key: 'f836cca70a22e9bec446fdc4d62836a7cc16d70c', class: "col-4 align-content-end" }, h("iframe-input", { key: 'd95608d7ce0434021d416120ada984047804b04f', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/expirationMonth` })), h("div", { key: '34ab01991bac786ada446758b4499c3d58cc9402', class: "col-4 align-content-end" }, h("iframe-input", { key: 'c548d2ba46dd5ab969ab703adecc1d697ad5f8e0', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/expirationYear` })), h("div", { key: '4ce98e07ef97c4e13fe92e8677073f6681c2f707', class: "col-4 align-content-end" }, h("iframe-input", { key: '691c95278d984586ed884ca06d96a57ce0a002b8', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/CVV` })))));
|
|
21
22
|
}
|
|
22
23
|
}, [0, "card-form", {
|
|
24
|
+
"iframeOrigin": [1, "iframe-origin"],
|
|
23
25
|
"validate": [64],
|
|
24
26
|
"tokenize": [64]
|
|
25
27
|
}]);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { f as formatCurrency } from './utils2.js';
|
|
3
3
|
import { C as Checkout } from './Checkout.js';
|
|
4
4
|
import { a as ComponentErrorSeverity } from './ComponentError.js';
|
|
5
5
|
import { i as insuranceValuesOn, v as validateInsuranceValues, H as Header2, a as insuranceValues } from './insurance-state.js';
|
|
@@ -60,6 +60,7 @@ const CheckoutCore = /*@__PURE__*/ proxyCustomElement(class CheckoutCore extends
|
|
|
60
60
|
this.getCheckout = undefined;
|
|
61
61
|
this.complete = undefined;
|
|
62
62
|
this.checkoutId = undefined;
|
|
63
|
+
this.iframeOrigin = undefined;
|
|
63
64
|
this.disableCreditCard = undefined;
|
|
64
65
|
this.disableBankAccount = undefined;
|
|
65
66
|
this.disableBnpl = undefined;
|
|
@@ -145,20 +146,21 @@ const CheckoutCore = /*@__PURE__*/ proxyCustomElement(class CheckoutCore extends
|
|
|
145
146
|
}
|
|
146
147
|
get paymentType() {
|
|
147
148
|
var _a, _b, _c, _d, _e;
|
|
148
|
-
return (h("section", null, h("div", { class: !this.isLoading && 'visually-hidden' }, h(Skeleton, { height: "300px" })), h("div", { class: this.isLoading && 'visually-hidden' }, h("justifi-payment-method-options", { ref: (el) => (this.paymentMethodOptionsRef = el), "show-card": !this.disableCreditCard, "show-ach": !this.disableBankAccount, "show-bnpl": !this.disableBnpl, paymentMethodGroupId: (_a = this.checkout) === null || _a === void 0 ? void 0 : _a.payment_method_group_id, "show-saved-payment-methods": !this.disablePaymentMethodGroup, hideCardBillingForm: this.hideCardBillingForm, bnpl: (_b = this.checkout) === null || _b === void 0 ? void 0 : _b.bnpl, authToken: this.authToken, "account-id": (_c = this.checkout) === null || _c === void 0 ? void 0 : _c.account_id, savedPaymentMethods: ((_d = this.checkout) === null || _d === void 0 ? void 0 : _d.payment_methods) || [], paymentAmount: (_e = this.checkout) === null || _e === void 0 ? void 0 : _e.payment_amount, insuranceToggled: this.insuranceToggled }))));
|
|
149
|
+
return (h("section", null, h("div", { class: !this.isLoading && 'visually-hidden' }, h(Skeleton, { height: "300px" })), h("div", { class: this.isLoading && 'visually-hidden' }, h("justifi-payment-method-options", { ref: (el) => (this.paymentMethodOptionsRef = el), "show-card": !this.disableCreditCard, "show-ach": !this.disableBankAccount, "show-bnpl": !this.disableBnpl, paymentMethodGroupId: (_a = this.checkout) === null || _a === void 0 ? void 0 : _a.payment_method_group_id, "show-saved-payment-methods": !this.disablePaymentMethodGroup, hideCardBillingForm: this.hideCardBillingForm, bnpl: (_b = this.checkout) === null || _b === void 0 ? void 0 : _b.bnpl, authToken: this.authToken, "account-id": (_c = this.checkout) === null || _c === void 0 ? void 0 : _c.account_id, savedPaymentMethods: ((_d = this.checkout) === null || _d === void 0 ? void 0 : _d.payment_methods) || [], paymentAmount: (_e = this.checkout) === null || _e === void 0 ? void 0 : _e.payment_amount, insuranceToggled: this.insuranceToggled, iframeOrigin: this.iframeOrigin }))));
|
|
149
150
|
}
|
|
150
151
|
get summary() {
|
|
151
152
|
var _a, _b;
|
|
152
153
|
return (h("section", null, h("div", { class: !this.isLoading && 'visually-hidden' }, h(Skeleton, { height: "24px" })), h("div", { class: this.isLoading && 'visually-hidden' }, h("div", { part: text }, (_a = this.checkout) === null || _a === void 0 ? void 0 : _a.payment_description), h("div", null, h("span", { part: text }, "Total"), "\u00A0", h("span", { part: text }, formatCurrency(+((_b = this.checkout) === null || _b === void 0 ? void 0 : _b.total_amount)))))));
|
|
153
154
|
}
|
|
154
155
|
render() {
|
|
155
|
-
return (h(StyledHost, { key: '
|
|
156
|
+
return (h(StyledHost, { key: '8f7bb796cec8a51b3a871ecc6f1d040636103503' }, h("div", { key: 'f616c1705dd8d9da854b496d5b028cebb4c88ce5', class: "row gy-3 jfi-checkout-core" }, h("div", { key: 'e374110371f020c9de996f4ca3932f7535e208ee', class: "col-12", part: checkoutSummary }, h(Header2, { key: 'aa9227b3ff49dc43c6a42d1988ec0669b298cef0', text: "Summary", class: "fs-5 fw-bold pb-3" }), this.summary), h("div", { key: 'e8e9cddcc4cb11c6d7c020c1dc18d7b5bfe457c3', class: "col-12" }, h("slot", { key: '69e623e8c23aec6f49430b395f86d7134ceeddc9', name: "insurance" })), h("div", { key: 'fea072a50acb658433a36d8234b27c1fd8415dc4', class: "col-12 mt-4" }, h(Header2, { key: '9b0a5c9e5e7db31a6d6cfda87cad18786d638bd9', text: "Payment", class: "fs-5 fw-bold pb-3" }), h(Header3, { key: '2eeae1935b2b238573be4bf1edfc5d80700d9c80', text: "Select payment type", class: "fs-6 fw-bold lh-lg" }), h("div", { key: '5c9fd0558a37ff903ec7137beeb3c49d406bcd1d', class: "d-flex flex-column" }, this.paymentType)), h("div", { key: '2538670c227dc2e96c43d878ae09357a72a7e267', class: "col-12" }, h("div", { key: 'b51e39da64972578815a2cf0cf5342d292edaa45', class: "d-flex justify-content-end" }, h(Button, { key: 'abcb099a4ad152a38d05d99781e02292efd246e0', type: "submit", variant: "primary", onClick: (e) => this.submit(e), disabled: this.isLoading, isLoading: this.isLoading, style: { width: '100%' } }, "Pay"))))));
|
|
156
157
|
}
|
|
157
158
|
}, [1, "justifi-checkout-core", {
|
|
158
159
|
"authToken": [1, "auth-token"],
|
|
159
160
|
"getCheckout": [16],
|
|
160
161
|
"complete": [16],
|
|
161
162
|
"checkoutId": [1, "checkout-id"],
|
|
163
|
+
"iframeOrigin": [1, "iframe-origin"],
|
|
162
164
|
"disableCreditCard": [4, "disable-credit-card"],
|
|
163
165
|
"disableBankAccount": [4, "disable-bank-account"],
|
|
164
166
|
"disableBnpl": [4, "disable-bnpl"],
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { A as Api, c as config } from './config.js';
|
|
2
|
+
import './ComponentError.js';
|
|
2
3
|
import './Checkout.js';
|
|
3
4
|
import './Pagination.js';
|
|
4
5
|
import './Payment.js';
|
|
5
6
|
import './SubAccount.js';
|
|
7
|
+
import './Document.js';
|
|
6
8
|
|
|
7
9
|
class CheckoutService {
|
|
8
10
|
async fetchCheckout(authToken, checkoutId) {
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
|
|
2
|
+
import './ComponentError.js';
|
|
2
3
|
import './Checkout.js';
|
|
3
4
|
import { p as pagingDefaults } from './Pagination.js';
|
|
4
5
|
import './Payment.js';
|
|
5
6
|
import './SubAccount.js';
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
7
|
+
import './Document.js';
|
|
8
|
+
import { o as tableHeadCell, q as getAlternateTableCellPart, n as table, p as tableCell } from './parts.js';
|
|
9
|
+
import { T as TableClickActions, a as Table, b as TableLoadingState, c as TableEmptyState, d as TableErrorState } from './event-types2.js';
|
|
8
10
|
import './details.js';
|
|
9
|
-
import {
|
|
11
|
+
import { b as formatDate, d as formatTime } from './utils2.js';
|
|
10
12
|
import { B as Badge, a as BadgeVariant } from './badge.js';
|
|
11
13
|
import { o as onQueryParamsChange, q as queryParams } from './checkouts-list-params-state.js';
|
|
12
14
|
import { d as defineCustomElement$1 } from './pagination-menu2.js';
|
|
@@ -179,7 +181,7 @@ const CheckoutsListCore = /*@__PURE__*/ proxyCustomElement(class CheckoutsListCo
|
|
|
179
181
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
180
182
|
}
|
|
181
183
|
render() {
|
|
182
|
-
return (h("div", { key: '
|
|
184
|
+
return (h("div", { key: '525904319e2827a04ccbd44f83881504ddeba992' }, h("div", { key: '30c5800d270fe77e2a396b6379273a0639d4221e', class: "table-wrapper" }, h("table", { key: 'f8a66cf99bf0dc185d0cc541e3d38f4b68b136be', class: "table table-hover", part: table }, h("thead", { key: 'c47c664e4bc8526b494d089b8e1198dfe27fa4fc', class: "table-head sticky-top" }, h("tr", { key: '645aca7f2610bd3b86c8e775edf264c9f53c7f6f', class: "table-light text-nowrap" }, this.checkoutsTable.columnData.map((column) => column))), h("tbody", { key: '79a046fced553f214e55d56c401211d0d682394e', class: "table-body" }, h(TableLoadingState, { key: '654f967a8b9552213a232d35e74d2700cc237cfd', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '80d985f6055e254262653e240b0d16a2e46123d0', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: 'a99fa4e4f370b70cc927a9b3e65d54828e56e448', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.rowData.map((data, index) => (h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h("tfoot", { key: '619b3f952c5e6f8e1c612927b5d976ea6e4cffe7', class: "sticky-bottom" }, h("tr", { key: '5fb77b80e4c52154c658bbd2ebc8de9d8bc903aa', class: "table-light align-middle" }, h("td", { key: 'a5d1d6d1cf164681ad7a5f59bf4ae9a70e94911c', part: tableCell, colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: 'ce6e17ee3d3a6a3f513dedef209e9d4f2d7eff31', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
183
185
|
}
|
|
184
186
|
static get watchers() { return {
|
|
185
187
|
"queryParams": ["updateOnPropChange"],
|
package/dist/module/config.js
CHANGED
|
@@ -115,6 +115,7 @@ function handleError(requestUrl) {
|
|
|
115
115
|
|
|
116
116
|
const config = {
|
|
117
117
|
proxyApiOrigin: "https://wc-proxy.justifi.ai",
|
|
118
|
+
iFrameOrigin: "https://components.justifi.ai/v2",
|
|
118
119
|
proxyAuthToken: 'eyJraWQiOiJqdXN0aWZpLWUyNDgyMmU3ODE1MmEzZjRkMjU1IiwidHlwIjoiSldUIiwiYWxnIjoiUlMyNTYifQ.eyJpc3MiOiJodHRwczovL2F1dGguanVzdGlmaS5haS8iLCJhenAiOiJvYXNfMmlsWHBqOHQ2WVlEQ0xWU0FiVFczMiIsInN1YiI6Im9hc18yaWxYcGo4dDZZWURDTFZTQWJUVzMyQHNlc3Npb25zIiwiYXVkIjoiaHR0cHM6Ly9hcGkuanVzdGlmaS5haS92MSIsImd0eSI6ImNsaWVudC1jcmVkZW50aWFscyIsInBlcm1pc3Npb25zIjpbeyJyb2xlIjoicmVhZDphY2NvdW50IiwicmVzb3VyY2VfaWQiOiJhY2NfNUV0OWlYclNTQVpSMktTb3VRR0FXaSJ9LHsicm9sZSI6InJlYWQ6YnVzaW5lc3MiLCJyZXNvdXJjZV9pZCI6ImJpel8zYmg2OWJxMXJrM2RtWE5vQUtWb251In1dLCJleHAiOjE3MTE1NTk0MTQsImlhdCI6MTcwMzc4MzQxNCwicGxhdGZvcm1fYWNjb3VudF9pZCI6ImFjY18zcmVOYjRhTll5MmlXRFpRVmN6bXg0In0.oPOoDYxzrnpE8PRUaz-FCU4KqnSuNbFTeDkl3AtMscjUkIctP1OIFh-ZGBjbH5eVH5noXCbaiin0j92dS7jx4gLpxuYT2Q8gpZbuIsT7fa58elvGeRkUUJ-AC5ueZxlv90yPWMm0OIbyrV7XZhuwYyKbV-ZczEbl2JpvBMe40CM-LdClQV66d_-Kw9a23SabBVfYgP5V-5OsagOIESvzZoO-27tGlNkV2a-hxqddDCOZv0HvRYAtp5S7EQrmRdEBu5gCNbf1eRFG424hxZUFVr2LdetYuKQLxJjDdUjf86ZwEUecrEaDSupiN1VC3CitdOwBVf6-R_N0VpN4VLVD5g',
|
|
119
120
|
exampleAccountId: 'acc_5Et9iXrSSAZR2KSouQGAWi',
|
|
120
121
|
exampleBusinessId: 'biz_3bh69bq1rk3dmXNoAKVonu',
|
|
@@ -1876,7 +1876,7 @@ const CustomPopper = /*@__PURE__*/ proxyCustomElement(class CustomPopper extends
|
|
|
1876
1876
|
this.hideEvent.emit();
|
|
1877
1877
|
}
|
|
1878
1878
|
render() {
|
|
1879
|
-
return (h("div", { key: '
|
|
1879
|
+
return (h("div", { key: 'd59371a35f7215a7e93678b3e8ed37a7900ae294' }, h("style", { key: '70630b46ad7933447a8ed41d3dc7f304600be42a' }, `
|
|
1880
1880
|
.popper-content {
|
|
1881
1881
|
display: none;
|
|
1882
1882
|
}
|
|
@@ -1884,7 +1884,7 @@ const CustomPopper = /*@__PURE__*/ proxyCustomElement(class CustomPopper extends
|
|
|
1884
1884
|
display: block;
|
|
1885
1885
|
z-index: 1030;
|
|
1886
1886
|
}
|
|
1887
|
-
`), h("div", { key: '
|
|
1887
|
+
`), h("div", { key: '94b22314d2bcf4ac41ab3239758b2421945de604', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: '5c6af2fbf398b3377323f1a78b394ef5eb702463' }))));
|
|
1888
1888
|
}
|
|
1889
1889
|
}, [4, "custom-popper", {
|
|
1890
1890
|
"placement": [1],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { c as create$3, a as create$6, F as FormController } from './form.js';
|
|
3
3
|
import { D as DisputeEvidenceDocument, a as DisputeResponseFormStep } from './dispute-response-form-types.js';
|
|
4
|
-
import {
|
|
4
|
+
import { T as heading5 } from './parts.js';
|
|
5
5
|
import { d as defineCustomElement$6 } from './custom-popper2.js';
|
|
6
6
|
import { d as defineCustomElement$5 } from './form-control-file-v22.js';
|
|
7
7
|
import { d as defineCustomElement$4 } from './form-control-help-text3.js';
|
|
@@ -49,7 +49,7 @@ const CustomerDetails = /*@__PURE__*/ proxyCustomElement(class CustomerDetails e
|
|
|
49
49
|
}
|
|
50
50
|
render() {
|
|
51
51
|
var _a, _b, _c;
|
|
52
|
-
return (h("div", { key: '
|
|
52
|
+
return (h("div", { key: 'd2de3bd04c9669399f9fedec4399a05ac310ed69' }, h("div", { key: '3f04107b1e74560103db25f99b03cd585b3421bd', class: "row gy-3" }, h("div", { key: 'e421dc7b298895407fbbb6148d67effcea8bc723', class: "col-12" }, h("h2", { key: 'bc4c8e02aad8233978b8fb23f2387d140cacd85f', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: '9d578e5a681c449da348dff753809458e1389152', class: "col-12" }, h("form-control-text", { key: '7da1bb3641095a93b504b37d972e0a25bcee5131', label: "Full Name", name: "customer_name", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_name, inputHandler: this.inputHandler, errorText: this.errors.customer_name })), h("div", { key: 'f5f43784fb15dbdbe1dbd747c692d5a1d39b0c4e', class: "col-12" }, h("form-control-text", { key: '1caa70711c25f25b0b517c821852b21f6fa9b69e', label: "Email", name: "customer_email_address", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.customer_email_address, inputHandler: this.inputHandler, errorText: this.errors.customer_email_address })), h("div", { key: '2f2ef97ac330b9a43deb257c10132260747f8faf', class: "col-12" }, h("form-control-textarea", { key: '11ede0b16ac7b8a2891ed10eaa89b3310b7aca93', label: "Billing Address", name: "customer_billing_address", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.customer_billing_address, inputHandler: this.inputHandler, errorText: this.errors.customer_billing_address })), h("div", { key: '421f0e76563910baac247673ca0d73b79e46b071', class: "col-12" }, h("form-control-file-v2", { key: '0b22b4a895f35a99d529a1a6b29873010ff727a6', label: "Customer Signature", name: "customer_signature", onChange: this.handleFileSelection })), h("div", { key: 'dc7419f81931ca5d076ac0aa2aca59109f9b6e20', class: "col-12" }, h("form-control-file-v2", { key: '6dd57aa10711fcd2f1abc4a0f926ce47b31d78f6', label: "Customer Communication", name: "customer_communication", onChange: this.handleFileSelection })))));
|
|
53
53
|
}
|
|
54
54
|
}, [0, "justifi-customer-details", {
|
|
55
55
|
"disputeResponse": [8, "dispute-response"],
|
|
@@ -72,7 +72,7 @@ const DisputeManagementCore = /*@__PURE__*/ proxyCustomElement(class DisputeMana
|
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
74
|
render() {
|
|
75
|
-
return (h("div", { key: '
|
|
75
|
+
return (h("div", { key: 'b5a802e8c418b3b7f3235f43260186084a6ee079' }, this.showDisputeResponseForm ? (h("justifi-dispute-response", { disputeId: this.disputeId, disputeResponse: this.dispute.dispute_response, authToken: this.authToken })) : (h("justifi-dispute-notification", { dispute: this.dispute, authToken: this.authToken, isLoading: this.isLoading }))));
|
|
76
76
|
}
|
|
77
77
|
static get watchers() { return {
|
|
78
78
|
"getDispute": ["updateOnPropChange"]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { f as formatCurrency } from './utils2.js';
|
|
3
3
|
import { t as text, a0 as heading4 } from './parts.js';
|
|
4
4
|
import { B as Button } from './button.js';
|
|
5
5
|
import { S as StyledHost } from './styled-host.js';
|
|
@@ -44,7 +44,7 @@ const DisputeNotification = /*@__PURE__*/ proxyCustomElement(class DisputeNotifi
|
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
46
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
47
|
-
return (h(StyledHost, { key: '
|
|
47
|
+
return (h(StyledHost, { key: '90d2506d5bde2ea478fa3575fc162bb356b67fac' }, this.isLoading && (h("div", { key: '4877ae22d3d8e312640b122c9107b6bdd8f924cb', style: { marginBottom: '8px' } }, h(Skeleton, { key: '31fa0717949bbc6aa49db1c6ae0e324099ae1de2', height: '28px', width: '70%', styles: { marginBottom: '16px' } }), h(Skeleton, { key: 'ac5179232cb9ee33d3f3e16d9f93536ecfbf46a5', height: '18px', styles: { marginBottom: '8px' } }), h(Skeleton, { key: 'c22a5e3b257d01f92de7f6188fa0758861abc747', height: '18px', styles: { marginBottom: '8px' } }))), ((_a = this.dispute) === null || _a === void 0 ? void 0 : _a.needsResponse) && (h("div", { key: 'be331b1a5e2fa0baf46bc593ef7ce4f5872abcff', part: text }, h("h1", { key: '8094c16d3b375f28ffe314613f21ae25b63e59ef', class: "h4", part: heading4 }, "This payment is disputed"), h("p", { key: 'd89ae665e1f9bd99c9338e2132c1dc56e5386696' }, "The cardholder is disputing this payment. You may accept this dispute, or proceed to provide evidence in a counter dispute."), h("h2", { key: '2786733eac76628019993e13473d1f43c0c395ed', class: "h5" }, "Dispute details"), h("div", { key: '663c28c46136bd56889b6ad0b9bfce9e5adbb590', class: "d-table gap-2" }, h("div", { key: 'dc688fad875d1591dcb7f31d423b61a3df2ff954', class: "d-table-row gap-2" }, h("span", { key: '442db7a6e95524ca6b092794c7a4a4d987c9866e', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Amount"), h("span", { key: '0a31de8692c9b00f43fcf3c0508e4d00a221d096', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, formatCurrency((_b = this.dispute) === null || _b === void 0 ? void 0 : _b.amount))), h("div", { key: '9fe0c1a3d3350c36fca190ae748dafe24d41b5fc', class: "d-table-row gap-2" }, h("span", { key: '12165cb6671519130a5f2e0d8938aaa55e7e3ead', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Reason"), h("span", { key: '4a37ca8a7d64b97142997bb50ec11d737ac6a882', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_c = this.dispute) === null || _c === void 0 ? void 0 : _c.reason)), h("div", { key: '4d9cf74a8ed26dd84e4ce7325d4b8703352362a4', class: "d-table-row gap-2" }, h("span", { key: '8c0eaa24ebec7703eb18384b0b1f2eae8a684b55', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Dispute ID"), h("span", { key: '238813abf2ea0848e1fe817d5798b9b0d0b78ffc', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_d = this.dispute) === null || _d === void 0 ? void 0 : _d.id))), h("div", { key: 'd156a7e9bf0e7214ff2164fc09b12c0b8f1d2b36', class: "d-flex gap-2 mt-4 justify-content-end" }, h(Button, { key: '7822fd12dfc39bd2aced043956d012fd34cc1b01', variant: "secondary", onClick: () => this.acceptDispute() }, "Accept dispute"), h(Button, { key: '05132b3a6d1fc3d136dc227008ea1999330cdb96', variant: "primary", onClick: () => this.initiateRespondToDispute() }, "Counter dispute")))), ((_e = this.dispute) === null || _e === void 0 ? void 0 : _e.underReview) && (h("div", { key: 'b04dd0c34f608b75ea3997a9c28ce948fa9dba5c' }, h("h1", { key: 'ac2a13373315703e86247b6707097af7cf2e6757', class: "h4" }, "This payment is disputed and under review"), h("p", { key: '203aed553e01bbaebe44bb370a1d088c149cda06' }, "The cardholder is disputing this payment. A counter dispute has been submitEvent and is under review."))), ((_f = this.dispute) === null || _f === void 0 ? void 0 : _f.won) && (h("div", { key: '68411e62bb5c8048e995906a5f30ef1001a0bc5b' }, h("h1", { key: '565feeac6e7aca35a0b72c9128c1edcb0d6a85b6', class: "h4" }, "This payment was disputed"), h("p", { key: '68371d393c1f4053f19827c6e46978b3d73d2873' }, "The cardholder disputed this payment and the card issuer has settled it in your favor."))), ((_g = this.dispute) === null || _g === void 0 ? void 0 : _g.lost) && (h("div", { key: '99d10bf25e730dda4f4596efa100b4cff7ddc0c8' }, h("h1", { key: 'd5c6252c4236f2e5b93925db8c9a40bab6c0253a', class: "h4" }, "This payment was disputed"), h("p", { key: '773d083786d795fee7f7818f34414a7d1459925c' }, "The cardholder disputed this payment and the card issuer has settled it their favor.")))));
|
|
48
48
|
}
|
|
49
49
|
}, [1, "justifi-dispute-notification", {
|
|
50
50
|
"dispute": [16],
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { A as Api, c as config } from './config.js';
|
|
2
|
+
import { a as ComponentErrorSeverity } from './ComponentError.js';
|
|
2
3
|
import './Checkout.js';
|
|
3
4
|
import './Pagination.js';
|
|
4
5
|
import './Payment.js';
|
|
5
6
|
import './SubAccount.js';
|
|
6
|
-
import
|
|
7
|
+
import './Document.js';
|
|
7
8
|
import { g as getErrorMessage, a as getErrorCode } from './utils4.js';
|
|
8
9
|
|
|
9
10
|
class DisputeService {
|
|
@@ -175,7 +175,7 @@ const DisputeResponseCore = /*@__PURE__*/ proxyCustomElement(class DisputeRespon
|
|
|
175
175
|
return this.currentStep === 0;
|
|
176
176
|
}
|
|
177
177
|
render() {
|
|
178
|
-
return (h("div", { key: '
|
|
178
|
+
return (h("div", { key: '672d92a8ac0fb7f28ab9f412ae4f3516a29824dc', class: "row gy-3" }, h("div", { key: '32113215c9eb6393d8d816f88715390fb5d9d604', class: "col-12" }, h("h1", { key: 'f224caa363ebd00d678485fd4cd2d1c646d6d8f5', class: "h4", part: heading4 }, "Counter dispute")), h("div", { key: '49e6046f57a9b30e6746f28512cf311f1999bcc3', class: "col-12" }, this.currentStepComponent), h("div", { key: '6d843d19c9bf7ee026981bdc2ffd5108c25c741a', class: "col-12" }, h("div", { key: 'dd52a249cc37b3cfc912e04502caf96218cade78', class: "d-flex gap-2 mt-4 justify-content-end" }, this.isFirstStep ? (h(Button, { variant: "secondary", onClick: () => this.onCancel(), disabled: this.isLoading, isLoading: this.isLoading }, "Cancel")) : (h(Button, { variant: "secondary", onClick: () => this.onBack(), disabled: this.isLoading, isLoading: this.isLoading }, "Back")), this.isLastStep ? (h(Button, { variant: "primary", onClick: () => this.onSubmit(), disabled: this.isLoading, isLoading: this.isLoading }, "Submit Counter Dispute")) : (h(Button, { variant: "primary", onClick: () => this.onNext(), disabled: this.isLoading, isLoading: this.isLoading }, "Next"))))));
|
|
179
179
|
}
|
|
180
180
|
}, [0, "justifi-dispute-response-core", {
|
|
181
181
|
"updateDisputeResponse": [16],
|
|
@@ -80,7 +80,7 @@ const DisputeResponse = /*@__PURE__*/ proxyCustomElement(class DisputeResponse e
|
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
render() {
|
|
83
|
-
return (h(StyledHost, { key: '
|
|
83
|
+
return (h(StyledHost, { key: 'f45d96fd372763ebc3f786c1d2f7e06e25185afc' }, h("justifi-dispute-response-core", { key: '8b551f97d8cb40f3f9e702a35b221faa8873e642', "onError-event": this.handleErrorEvent, "dispute-id": this.disputeId, disputeResponse: this.disputeResponse, createDisputeEvidence: this.createDisputeEvidence, updateDisputeResponse: this.updateDisputeResponse, submitDisputeResponse: this.submitDisputeResponse })));
|
|
84
84
|
}
|
|
85
85
|
;
|
|
86
86
|
static get watchers() { return {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { c as create$3, a as create$6, F as FormController } from './form.js';
|
|
3
3
|
import { D as DisputeEvidenceDocument, a as DisputeResponseFormStep } from './dispute-response-form-types.js';
|
|
4
|
-
import {
|
|
4
|
+
import { T as heading5 } from './parts.js';
|
|
5
5
|
import { d as defineCustomElement$6 } from './custom-popper2.js';
|
|
6
6
|
import { d as defineCustomElement$5 } from './form-control-file-v22.js';
|
|
7
7
|
import { d as defineCustomElement$4 } from './form-control-help-text3.js';
|
|
@@ -48,7 +48,7 @@ const DuplicateCharge = /*@__PURE__*/ proxyCustomElement(class DuplicateCharge e
|
|
|
48
48
|
}
|
|
49
49
|
render() {
|
|
50
50
|
var _a, _b;
|
|
51
|
-
return (h("div", { key: '
|
|
51
|
+
return (h("div", { key: '00e332511293230ea1edf4c1ab3b5cae779cb11a' }, h("div", { key: 'd5273559c1cce126dadba74d7cd9296a06f9eab7', class: "row gy-3" }, h("div", { key: '0a8ed20053241dbb3e6a2e6255f72b99f4d71462', class: "col-12" }, h("h2", { key: '56be236c466893ca5bc3cf73cf345feeae5f25fc', class: "h5", part: heading5 }, "Duplicate Charge")), h("div", { key: 'bc0018fd6f471571f9a6e6c5fdbc131c48610773', class: "col-12" }, h("form-control-text", { key: '4bc56e12c31ab7189b879f58917cd373652b7a79', label: "Original Payment ID", name: "duplicate_charge_original_payment_id", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.duplicate_charge_original_payment_id, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_original_payment_id })), h("div", { key: 'f61547b546a44f04c8dd82c38c92fd221018a3ca', class: "col-12" }, h("form-control-textarea", { key: '1cb31176ebafb0f8641d96b5844cf8d8f09d5c59', label: "Duplicate Charge Explanation", name: "duplicate_charge_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.duplicate_charge_explanation, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_explanation })), h("div", { key: '86dbe8df7121c7c9e33d56785da70ff3204eab9b', class: "col-12" }, h("form-control-file-v2", { key: '38d6050f68271d8969fdfb652d571e2eeb0646fd', label: "Duplicate Charge Documentation", name: "duplicate_charge_documentation", onChange: this.handleFileSelection })))));
|
|
52
52
|
}
|
|
53
53
|
}, [0, "justifi-duplicate-charge", {
|
|
54
54
|
"disputeResponse": [8, "dispute-response"],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { c as create$3, a as create$6, F as FormController } from './form.js';
|
|
3
3
|
import { D as DisputeEvidenceDocument, a as DisputeResponseFormStep } from './dispute-response-form-types.js';
|
|
4
|
-
import {
|
|
4
|
+
import { T as heading5 } from './parts.js';
|
|
5
5
|
import { d as defineCustomElement$4 } from './custom-popper2.js';
|
|
6
6
|
import { d as defineCustomElement$3 } from './form-control-file-v22.js';
|
|
7
7
|
import { d as defineCustomElement$2 } from './form-control-text2.js';
|
|
@@ -45,7 +45,7 @@ const ElectronicEvidence = /*@__PURE__*/ proxyCustomElement(class ElectronicEvid
|
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
47
|
var _a;
|
|
48
|
-
return (h("div", { key: '
|
|
48
|
+
return (h("div", { key: 'ed2ef898b32c0dac2ee02f4fe226f3c2c0be1772' }, h("div", { key: 'df8398f845fe434ab523fda4fd19971c09209cce', class: "row gy-3" }, h("div", { key: 'e75fb6dc9d26fa7edf24b6678412fe6a3dba4e3a', class: "col-12" }, h("h2", { key: 'b26c40da6044557558cfef97dc45d216b98e5584', class: "h5", part: heading5 }, "Electronic Evidence")), h("div", { key: 'd96c532cff8eb4dbae7cd7064669164c462122b6', class: "col-12" }, h("form-control-text", { key: 'cce9eeed80d9ce9060c890ed97fb3d34fb94ec34', label: "Purchase IP Address", name: "customer_purchase_ip_address", helpText: "The IP address used by the customer during the purchase.", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_purchase_ip_address, inputHandler: this.inputHandler, errorText: this.errors.customer_purchase_ip_address })), h("div", { key: '88df79677c7c803aa4c3747669d666169148c71a', class: "col-12" }, h("form-control-file-v2", { key: 'a551b6dca12a447934655bfcb073353abf51e8ac', label: "Activity Logs", name: "activity_log", helpText: "Any server or activity logs that provide evidence of the customer's access to or download of the purchased digital product. This information should encompass IP addresses, relevant timestamps, and any detailed records of activity.", onChange: this.handleFileSelection, errorText: this.errors.activity_log })))));
|
|
49
49
|
}
|
|
50
50
|
}, [0, "justifi-electronic-evidence", {
|
|
51
51
|
"disputeResponse": [8, "dispute-response"],
|
|
@@ -1,62 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
var BusinessFormClickActions;
|
|
2
|
+
(function (BusinessFormClickActions) {
|
|
3
|
+
BusinessFormClickActions["nextStep"] = "nextStep";
|
|
4
|
+
BusinessFormClickActions["previousStep"] = "previousStep";
|
|
5
|
+
BusinessFormClickActions["submit"] = "submit";
|
|
6
|
+
BusinessFormClickActions["removeOwner"] = "removeOwner";
|
|
7
|
+
BusinessFormClickActions["addOwner"] = "addOwner";
|
|
8
|
+
BusinessFormClickActions["addOwnerForm"] = "addOwnerForm";
|
|
9
|
+
BusinessFormClickActions["updateOwner"] = "updateOwner";
|
|
10
|
+
})(BusinessFormClickActions || (BusinessFormClickActions = {}));
|
|
11
|
+
var BusinessFormStep;
|
|
12
|
+
(function (BusinessFormStep) {
|
|
13
|
+
BusinessFormStep["businessInfo"] = "business_info";
|
|
14
|
+
BusinessFormStep["legalAddress"] = "legal_address";
|
|
15
|
+
BusinessFormStep["additionalQuestions"] = "additional_questions";
|
|
16
|
+
BusinessFormStep["representative"] = "representative";
|
|
17
|
+
BusinessFormStep["owners"] = "owners";
|
|
18
|
+
BusinessFormStep["bankAccount"] = "bank_account";
|
|
19
|
+
BusinessFormStep["documentUpload"] = "document_upload";
|
|
20
|
+
BusinessFormStep["termsAndConditions"] = "terms_and_conditions";
|
|
21
|
+
})(BusinessFormStep || (BusinessFormStep = {}));
|
|
4
22
|
|
|
5
|
-
|
|
6
|
-
const { columnSpan, isEmpty } = props;
|
|
7
|
-
if (!columnSpan || !isEmpty) {
|
|
8
|
-
return null;
|
|
9
|
-
}
|
|
10
|
-
return (h("tr", null,
|
|
11
|
-
h("td", { class: "empty-state", part: tableEmpty, colSpan: columnSpan, style: { textAlign: 'center' } }, "No results")));
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
const TableErrorState = (props) => {
|
|
15
|
-
const { columnSpan, errorMessage } = props;
|
|
16
|
-
if (!columnSpan || !errorMessage) {
|
|
17
|
-
return null;
|
|
18
|
-
}
|
|
19
|
-
return (h("tr", null,
|
|
20
|
-
h("td", { class: "error-state", part: tableError, colSpan: columnSpan, "data-test-id": "table-error-state", style: { textAlign: 'center' } },
|
|
21
|
-
"An unexpected error occurred: ",
|
|
22
|
-
errorMessage)));
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
const TableLoadingState = (props) => {
|
|
26
|
-
const { columnSpan, isLoading } = props;
|
|
27
|
-
if (!columnSpan || !isLoading) {
|
|
28
|
-
return null;
|
|
29
|
-
}
|
|
30
|
-
return (h("tr", null,
|
|
31
|
-
h("td", { class: "loading-state", part: tableCell, colSpan: columnSpan, style: { textAlign: 'center' } },
|
|
32
|
-
h(Spinner, null))));
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
class Table {
|
|
36
|
-
get columnData() {
|
|
37
|
-
return this.columnKeys.map((key) => this.tableColumns[key]());
|
|
38
|
-
}
|
|
39
|
-
get rowData() {
|
|
40
|
-
return this.collection.map((dataEntry, index) => {
|
|
41
|
-
return this.columnKeys.map((key) => this.tableCells[key](dataEntry, index));
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
set collectionData(collection) {
|
|
45
|
-
this.collection = collection;
|
|
46
|
-
}
|
|
47
|
-
constructor(collection, columns, tableColumns, tableCells) {
|
|
48
|
-
this.columnKeys = columns.split(',');
|
|
49
|
-
this.collection = collection;
|
|
50
|
-
this.tableColumns = tableColumns;
|
|
51
|
-
this.tableCells = tableCells;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
var TableClickActions;
|
|
56
|
-
(function (TableClickActions) {
|
|
57
|
-
TableClickActions["row"] = "tableRow";
|
|
58
|
-
TableClickActions["next"] = "nextPage";
|
|
59
|
-
TableClickActions["previous"] = "previousPage";
|
|
60
|
-
})(TableClickActions || (TableClickActions = {}));
|
|
61
|
-
|
|
62
|
-
export { TableClickActions as T, Table as a, TableLoadingState as b, TableEmptyState as c, TableErrorState as d };
|
|
23
|
+
export { BusinessFormStep as B, BusinessFormClickActions as a };
|