@justifi/webcomponents 6.1.1 → 6.2.0-rc.2
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/{Business-DCRzZf0w.js → Business-DWHy_-z9.js} +299 -9
- package/dist/cjs/bank-account-document-form-inputs_6.cjs.entry.js +132 -0
- package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
- package/dist/cjs/{business-additional-questions-schema-b8P-0T0O.js → business-additional-questions-schema-CetDMUp7.js} +26 -4
- package/dist/cjs/{business-form-options-CMII7nIK.js → business-form-options-e9UFw4P-.js} +1 -1
- package/dist/cjs/business-identity-schema-Cd0tvfJr.js +101 -0
- package/dist/cjs/{business.service-Cj_NUZsr.js → business.service-DRZurAMP.js} +1 -1
- package/dist/cjs/card-form.cjs.entry.js +2 -2
- package/dist/cjs/{check-pkg-version-CEZpYUNV.js → check-pkg-version-DHOBcjoo.js} +2 -2
- package/dist/cjs/{checkout.service-Bc8L9ixO.js → checkout.service-vZbSE3A3.js} +1 -1
- package/dist/cjs/checkouts-list-core.cjs.entry.js +2 -4
- package/dist/cjs/country-config-MCOhn8o3.js +68 -0
- package/dist/cjs/{custom-popper_2.cjs.entry.js → custom-popper.cjs.entry.js} +2 -22
- package/dist/cjs/{dispute.service-DhO_tuDc.js → dispute.service-DV9a61Tu.js} +1 -1
- package/dist/cjs/form-alert_5.cjs.entry.js +25 -15
- package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/form-control-date.cjs.entry.js +2 -2
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +3 -3
- package/dist/cjs/form-control-monetary.cjs.entry.js +2 -2
- package/dist/cjs/form-control-number-masked_3.cjs.entry.js +119 -0
- package/dist/cjs/form-control-number.cjs.entry.js +2 -2
- package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
- package/dist/cjs/{form-control-select_2.cjs.entry.js → form-control-select_3.cjs.entry.js} +23 -4
- package/dist/cjs/{form-input-masks-DgXd0f4V.js → form-input-masks-BnNFJ3IJ.js} +9 -4
- package/dist/cjs/{get-business-o5jPq_ME.js → get-business-D9ZHyPem.js} +1 -1
- package/dist/cjs/{get-payment-details-BinT-ZEP.js → get-payment-details-AYzxPu-X.js} +1 -1
- package/dist/cjs/{get-subaccounts-BoTVdl7v.js → get-subaccounts-C_KD197w.js} +1 -1
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
- package/dist/cjs/hidden-input_2.cjs.entry.js +5 -5
- package/dist/cjs/{input-handlers-DYl_0IwC.js → input-handlers-D6QMwPTB.js} +2 -2
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +121 -64
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +17 -18
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +8 -8
- package/dist/cjs/justifi-apple-pay_8.cjs.entry.js +8 -10
- package/dist/cjs/justifi-bank-account-billing-form-simple_9.cjs.entry.js +16 -17
- package/dist/cjs/justifi-business-details.cjs.entry.js +5 -7
- package/dist/cjs/justifi-business-form.cjs.entry.js +16 -12
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +14 -6
- package/dist/cjs/justifi-checkout.cjs.entry.js +5 -7
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +2 -4
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +6 -8
- package/dist/cjs/justifi-details.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +5 -7
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +7 -9
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +3 -5
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +7 -9
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +22 -13
- package/dist/cjs/justifi-payment-details.cjs.entry.js +5 -7
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +36 -21
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +5 -7
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +5 -7
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payments-list.cjs.entry.js +5 -7
- package/dist/cjs/justifi-payout-details.cjs.entry.js +4 -6
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +5 -7
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +6 -8
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +5 -7
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +3 -5
- package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +3 -5
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +5 -7
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +2 -4
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +6 -8
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-D2S7GRvh.js → package-BacF7Q_h.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +3 -3
- package/dist/cjs/payment-details-core.cjs.entry.js +9 -11
- package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
- package/dist/cjs/{payment.service-C9thkR4g.js → payment.service-1t60I69m.js} +1 -1
- package/dist/cjs/payments-list-core.cjs.entry.js +2 -4
- package/dist/cjs/payout-details-core.cjs.entry.js +3 -3
- package/dist/cjs/{payout.service-CGZxpQMq.js → payout.service-CQEXfufW.js} +1 -1
- package/dist/cjs/payouts-list-core.cjs.entry.js +2 -4
- package/dist/cjs/{schema-validations-Bj7eYNO8.js → schema-validations-0mjPveQ0.js} +45 -6
- package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +3 -5
- package/dist/cjs/{terminal-orders-table-7ew1vCKk.js → terminal-orders-table-B4ZXHj3w.js} +1 -1
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
- package/dist/cjs/{terminal.service-BkKxH-k4.js → terminal.service-BlW-CJ67.js} +1 -1
- package/dist/cjs/terminals-list-core.cjs.entry.js +2 -4
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/BankAccount.js +4 -0
- package/dist/collection/api/Business.js +16 -1
- package/dist/collection/collection-manifest.json +4 -1
- package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +7 -6
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +36 -4
- package/dist/collection/components/business-forms/business-form/business-form.js +6 -2
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +46 -9
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +32 -10
- package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +26 -6
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +29 -3
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +48 -6
- package/dist/collection/components/business-forms/owner-form/owner-form.js +26 -1
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.js +88 -0
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +2 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.js +50 -0
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +36 -5
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +26 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +47 -7
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +26 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +26 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +26 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +43 -4
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +33 -4
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +26 -1
- package/dist/collection/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.js +101 -0
- package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +35 -10
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +26 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +39 -20
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +34 -6
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/test/mockBusiness.js +52 -0
- package/dist/collection/components/business-forms/schemas/business-address-schema.js +41 -19
- package/dist/collection/components/business-forms/schemas/business-bank-account-schema.js +74 -39
- package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +27 -4
- package/dist/collection/components/business-forms/schemas/business-form-schema.js +7 -4
- package/dist/collection/components/business-forms/schemas/business-identity-schema.js +53 -24
- package/dist/collection/components/business-forms/schemas/schema-validations.js +41 -4
- package/dist/collection/components/business-forms/utils/country-config.js +47 -0
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
- package/dist/collection/components/checkout/card-form/card-form.js +2 -2
- package/dist/collection/components/checkout/checkout.js +2 -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/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/filters/table-filters-menu.js +1 -1
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
- package/dist/collection/components/modular-checkout/modular-checkout.js +3 -4
- package/dist/collection/components/modular-checkout/sub-components/bank-account-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
- package/dist/collection/components/modular-checkout/sub-components/card-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/card-form.js +2 -2
- package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/summary.js +1 -1
- package/dist/collection/components/order-terminals/order-terminals.js +1 -1
- package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
- package/dist/collection/components/payment-details/payment-details-core.js +8 -8
- package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
- package/dist/collection/components/payments-list/payments-list-core.js +1 -1
- package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
- package/dist/collection/components/payments-list/payments-list.js +1 -1
- package/dist/collection/components/payout-details/payout-details-core.js +3 -3
- package/dist/collection/components/payout-transactions-list/payout-transactions-list.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 +2 -2
- package/dist/collection/components/payouts-list/payouts-list.js +1 -1
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
- package/dist/collection/components/terminal-orders-list/terminal-orders-list.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 +3 -4
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/details/details.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/collection/ui-components/pagination-menu/pagination-menu.js +3 -3
- package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-radio-list-item.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
- package/dist/collection/utils/country-codes.js +5 -0
- package/dist/collection/utils/form-input-masks.js +8 -0
- package/dist/collection/utils/province-options.js +20 -0
- package/dist/docs.json +1129 -147
- package/dist/esm/{Api-DhiA2e_P.js → Api-K9QH1Aki.js} +1 -1
- package/dist/esm/{Business-BCoP0TAV.js → Business-B5rtFhtR.js} +290 -3
- package/dist/esm/{Refund-B-iOTRxz.js → Refund-L_muwEAh.js} +1 -1
- package/dist/esm/additional-questions-details_5.entry.js +3 -3
- package/dist/esm/{badge-CtdO-tEY.js → badge-B8fF98jp.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_6.entry.js +125 -0
- package/dist/esm/bank-account-form.entry.js +5 -5
- package/dist/esm/{business-additional-questions-schema-9FAJSx_D.js → business-additional-questions-schema-DSvdNuI1.js} +26 -5
- package/dist/esm/business-details-core.entry.js +3 -3
- package/dist/esm/{business-form-options-CgssATyg.js → business-form-options-D6s5H4RI.js} +2 -2
- package/dist/esm/business-identity-schema-mN4VhA1v.js +94 -0
- package/dist/esm/{business.service-D55OVyco.js → business.service-BJcGEUDH.js} +3 -3
- package/dist/esm/{button-DtTaQHMK.js → button-DZoLTGMB.js} +1 -1
- package/dist/esm/card-form.entry.js +5 -5
- package/dist/esm/{check-pkg-version-Ba95SWgY.js → check-pkg-version-D2zmagAo.js} +4 -4
- package/dist/esm/{checkout.service-fwbqSq8g.js → checkout.service-aymuZDC9.js} +3 -3
- package/dist/esm/checkouts-list-core.entry.js +9 -11
- package/dist/esm/{checkouts-table-B6gGDtOr.js → checkouts-table-B8k-Aylm.js} +3 -3
- package/dist/esm/country-config-BQ4D46Lb.js +64 -0
- package/dist/esm/{custom-popper_2.entry.js → custom-popper.entry.js} +3 -22
- package/dist/esm/{dispute.service-Cdq3_yRo.js → dispute.service-DiPbsswm.js} +3 -3
- package/dist/esm/form-alert_5.entry.js +25 -15
- 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-bprS-t9d.js → form-control-error-text-BmD6bGbR.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +5 -5
- package/dist/esm/{form-control-help-text-Bvnp-IAG.js → form-control-help-text-DbIhIcc6.js} +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +6 -6
- package/dist/esm/form-control-monetary.entry.js +6 -6
- package/dist/esm/form-control-number-masked_3.entry.js +115 -0
- package/dist/esm/form-control-number.entry.js +5 -5
- package/dist/esm/form-control-radio.entry.js +3 -3
- package/dist/esm/{form-control-select_2.entry.js → form-control-select_3.entry.js} +25 -7
- package/dist/esm/{form-input-masks-B-iV5cYd.js → form-input-masks-CVaOFfrI.js} +9 -3
- package/dist/esm/{get-business-Crb6P-iI.js → get-business-Xt7B5dSo.js} +1 -1
- package/dist/esm/{get-payment-details-sGoWyAat.js → get-payment-details-DcC5v85s.js} +2 -2
- package/dist/esm/{get-subaccounts-BsJSlShO.js → get-subaccounts-CMJMDwSP.js} +3 -3
- package/dist/esm/gross-payment-chart-core.entry.js +5 -5
- package/dist/esm/{header-1-C1Hnxki8.js → header-1-umkpdspt.js} +1 -1
- package/dist/esm/{header-3-Bq8fpjm-.js → header-3-CD5K5vCa.js} +1 -1
- package/dist/esm/hidden-input_2.entry.js +7 -7
- package/dist/esm/{input-handlers-CX6mSvOM.js → input-handlers-D3y0TzH9.js} +1 -1
- package/dist/esm/{insurance-state-CVme82j7.js → insurance-state-sR5DrCdu.js} +1 -1
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +127 -70
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +22 -23
- package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
- package/dist/esm/justifi-apple-pay_8.entry.js +16 -18
- package/dist/esm/justifi-bank-account-billing-form-simple_9.entry.js +22 -23
- package/dist/esm/justifi-business-details.entry.js +10 -12
- package/dist/esm/justifi-business-form.entry.js +23 -19
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +15 -7
- package/dist/esm/justifi-checkout.entry.js +9 -11
- package/dist/esm/justifi-checkouts-list-filters.entry.js +5 -7
- package/dist/esm/justifi-checkouts-list.entry.js +12 -14
- package/dist/esm/justifi-details.entry.js +3 -3
- package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
- package/dist/esm/justifi-dispute-management.entry.js +8 -10
- package/dist/esm/justifi-dispute-notification_3.entry.js +13 -15
- package/dist/esm/justifi-gross-payment-chart.entry.js +8 -10
- package/dist/esm/justifi-order-terminals.entry.js +12 -14
- package/dist/esm/justifi-owner-form_3.entry.js +27 -18
- package/dist/esm/justifi-payment-details.entry.js +10 -12
- package/dist/esm/justifi-payment-provisioning-core.entry.js +38 -23
- package/dist/esm/justifi-payment-provisioning.entry.js +8 -10
- package/dist/esm/justifi-payment-transactions-list.entry.js +11 -13
- package/dist/esm/justifi-payments-list-filters.entry.js +4 -4
- package/dist/esm/justifi-payments-list.entry.js +12 -14
- package/dist/esm/justifi-payout-details.entry.js +9 -11
- package/dist/esm/justifi-payout-transactions-list.entry.js +11 -13
- package/dist/esm/justifi-payouts-list-filters.entry.js +4 -4
- package/dist/esm/justifi-payouts-list.entry.js +13 -15
- package/dist/esm/justifi-refund-payment.entry.js +11 -13
- package/dist/esm/justifi-saved-payment-method.entry.js +2 -2
- package/dist/esm/justifi-season-interruption-insurance.entry.js +9 -11
- package/dist/esm/justifi-skeleton.entry.js +3 -3
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +6 -8
- package/dist/esm/justifi-terminal-orders-list.entry.js +10 -12
- package/dist/esm/justifi-terminals-list-filters.entry.js +5 -7
- package/dist/esm/justifi-terminals-list.entry.js +12 -14
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-Csfiax9X.js → package-C7cvPZSk.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +4 -4
- package/dist/esm/{parts-xDbRW9xn.js → parts-Dj_zevuD.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +16 -18
- package/dist/esm/payment-method-option.entry.js +2 -2
- package/dist/esm/{payment.service-BoQ1MW1k.js → payment.service-C0xnydJ8.js} +3 -3
- package/dist/esm/payments-list-core.entry.js +10 -12
- package/dist/esm/{payments-status-cvtVmtY5.js → payments-status-CzazNnFv.js} +1 -1
- package/dist/esm/{payments-table-D_BlyU1F.js → payments-table-BPKxBAJ0.js} +3 -3
- package/dist/esm/payout-details-core.entry.js +10 -10
- package/dist/esm/{payout.service-xcBdom3q.js → payout.service-Cl4yxnrx.js} +3 -3
- package/dist/esm/payouts-list-core.entry.js +10 -12
- package/dist/esm/{payouts-status-D-vjrqBb.js → payouts-status-rKlX41bK.js} +1 -1
- package/dist/esm/{payouts-table-Clj8YGLV.js → payouts-table-C6ZDcd_-.js} +3 -3
- package/dist/esm/{schema-validations-B9dmY7ME.js → schema-validations-BFoU1cR8.js} +41 -6
- package/dist/esm/{skeleton-B8EUwt4b.js → skeleton-BEoPu3My.js} +1 -1
- package/dist/esm/{spinner-CYXkn1fh.js → spinner-Ac-w5zWg.js} +1 -1
- package/dist/esm/{table-Bj20uWfu.js → table-BCwizIf9.js} +2 -2
- package/dist/esm/table-filters-menu.entry.js +3 -3
- package/dist/esm/terminal-orders-list-core.entry.js +9 -11
- package/dist/esm/{terminal-orders-table-DzBpIW8i.js → terminal-orders-table-BBQsoUh8.js} +5 -5
- package/dist/esm/terminal-quantity-selector.entry.js +2 -2
- package/dist/esm/{terminal.service-l6zTIPZ3.js → terminal.service-mwaS-Mbj.js} +3 -3
- package/dist/esm/terminals-list-core.entry.js +9 -11
- package/dist/esm/{terminals-table-BMS5tazC.js → terminals-table-ByiFdTfy.js} +3 -3
- package/dist/esm/{utils-BOijEGPV.js → utils-CIaHqjQt.js} +1 -1
- package/dist/esm/{utils-DRwofES0.js → utils-KBIYAa0D.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Business.js +290 -3
- package/dist/module/additional-questions.js +2 -2
- package/dist/module/additional-statement.js +2 -2
- package/dist/module/bank-account-billing-form-simple.js +1 -1
- package/dist/module/bank-account-document-inputs.js +1 -1
- package/dist/module/bank-account-form-inputs-canada.d.ts +11 -0
- package/dist/module/bank-account-form-inputs-canada.js +6 -0
- package/dist/module/bank-account-form-inputs-canada2.js +68 -0
- package/dist/module/bank-account-form-inputs2.js +9 -2
- package/dist/module/bank-account-form.js +2 -2
- package/dist/module/bank-account-read-only-value.d.ts +11 -0
- package/dist/module/bank-account-read-only-value.js +6 -0
- package/dist/module/bank-account-read-only-value2.js +33 -0
- package/dist/module/bank-account.js +2 -2
- package/dist/module/billing-form-full.js +1 -1
- package/dist/module/business-additional-questions-form-step.js +1 -1
- package/dist/module/business-address-schema.js +40 -20
- package/dist/module/business-bank-account-form-step-core.js +101 -48
- package/dist/module/business-bank-account-form-step.js +18 -5
- package/dist/module/business-core-info-form-step-core.js +22 -7
- package/dist/module/business-core-info-form-step.js +2 -1
- package/dist/module/business-core-info-schema.js +26 -5
- package/dist/module/business-core-info.js +12 -4
- package/dist/module/business-identity-schema.js +52 -25
- package/dist/module/business-owners-form-step-core.js +20 -13
- package/dist/module/business-owners-form-step.js +22 -15
- package/dist/module/business-representative-form-inputs.js +34 -17
- package/dist/module/business-representative-form-step-core.js +29 -18
- package/dist/module/business-representative-form-step.js +24 -17
- package/dist/module/business-representative.js +37 -19
- package/dist/module/business-terms-conditions-form-step.js +1 -1
- package/dist/module/button.js +1 -1
- package/dist/module/cancellation-policy.js +2 -2
- package/dist/module/card-billing-form-simple.js +1 -1
- package/dist/module/card-form.js +2 -2
- package/dist/module/card-form2.js +2 -2
- package/dist/module/checkouts-list-core2.js +1 -1
- package/dist/module/country-config.js +64 -0
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +2 -2
- package/dist/module/details.js +1 -1
- package/dist/module/dispute-management-core.js +1 -1
- package/dist/module/dispute-notification.js +2 -2
- package/dist/module/dispute-response-core.js +2 -2
- 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/form-address-fields.js +65 -0
- package/dist/module/form-control-checkbox2.js +2 -2
- package/dist/module/form-control-date2.js +2 -2
- package/dist/module/form-control-file-v22.js +1 -1
- package/dist/module/form-control-file2.js +2 -2
- package/dist/module/form-control-monetary-provisioning2.js +2 -2
- package/dist/module/form-control-monetary2.js +2 -2
- package/dist/module/form-control-number-masked2.js +2 -2
- package/dist/module/form-control-number.js +2 -2
- package/dist/module/form-control-radio2.js +2 -2
- package/dist/module/form-control-select2.js +2 -2
- package/dist/module/form-control-text2.js +2 -2
- package/dist/module/form-control-textarea2.js +2 -2
- package/dist/module/form-input-masks.js +9 -3
- package/dist/module/get-business.js +1 -1
- package/dist/module/gross-payment-chart-core2.js +1 -1
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/identity-address-form.js +16 -14
- package/dist/module/iframe-input2.js +3 -3
- package/dist/module/input-handlers.js +1 -1
- package/dist/module/justifi-business-form.js +41 -29
- package/dist/module/justifi-button2.js +1 -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 +1 -1
- package/dist/module/justifi-dispute-management.js +1 -1
- package/dist/module/justifi-form-address-fields.d.ts +11 -0
- package/dist/module/justifi-form-address-fields.js +6 -0
- package/dist/module/justifi-header2.js +1 -1
- package/dist/module/justifi-order-terminals.js +3 -3
- package/dist/module/justifi-payment-provisioning.js +67 -49
- package/dist/module/justifi-payment-transactions-list.js +1 -1
- package/dist/module/justifi-payments-list-filters.js +2 -2
- package/dist/module/justifi-payments-list.js +1 -1
- package/dist/module/justifi-payout-transactions-list.js +1 -1
- package/dist/module/justifi-payouts-list-filters.js +2 -2
- package/dist/module/justifi-payouts-list.js +1 -1
- package/dist/module/justifi-radio-list-item2.js +1 -1
- package/dist/module/justifi-saved-payment-method.js +1 -1
- package/dist/module/justifi-skeleton.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +2 -2
- package/dist/module/justifi-terminal-orders-list.js +1 -1
- package/dist/module/justifi-terminals-list-filters.js +1 -1
- package/dist/module/justifi-terminals-list.js +1 -1
- package/dist/module/legal-address-form-step-core.js +26 -19
- package/dist/module/legal-address-form-step.js +16 -9
- package/dist/module/legal-address-form.js +18 -15
- package/dist/module/modular-checkout.js +1 -1
- package/dist/module/owner-form-core2.js +23 -15
- package/dist/module/owner-form-inputs2.js +34 -15
- package/dist/module/owner-form.js +20 -13
- package/dist/module/package.js +1 -1
- package/dist/module/pagination-menu2.js +3 -3
- package/dist/module/parts.js +1 -1
- package/dist/module/payment-details-core2.js +8 -8
- package/dist/module/payment-method-option.js +1 -1
- package/dist/module/payment-provisioning-core.js +104 -69
- package/dist/module/payment-provisioning-form-buttons.js +1 -1
- package/dist/module/payment-provisioning-form-steps.js +75 -54
- package/dist/module/payments-list-core2.js +1 -1
- package/dist/module/payout-details-core2.js +3 -3
- package/dist/module/payouts-list-core2.js +1 -1
- package/dist/module/product-or-service.js +2 -2
- package/dist/module/refund-policy.js +2 -2
- package/dist/module/save-new-payment-method.js +1 -1
- package/dist/module/schema-validations.js +41 -6
- package/dist/module/shipping-details.js +2 -2
- package/dist/module/summary.js +1 -1
- package/dist/module/table-filters-menu2.js +1 -1
- package/dist/module/terminal-orders-list-core2.js +1 -1
- package/dist/module/terminal-quantity-selector2.js +2 -2
- package/dist/module/terminals-list-core2.js +1 -1
- package/dist/module/tokenize-payment-method.js +1 -1
- package/dist/types/api/BankAccount.d.ts +6 -0
- package/dist/types/api/Business.d.ts +9 -0
- package/dist/types/components/business-forms/business-form/business-core-info/business-core-info.d.ts +3 -0
- package/dist/types/components/business-forms/business-form/business-form.d.ts +2 -0
- package/dist/types/components/business-forms/business-form/business-representative/business-representative.d.ts +4 -1
- package/dist/types/components/business-forms/business-form/legal-address-form/legal-address-form.d.ts +2 -0
- package/dist/types/components/business-forms/owner-form/identity-address/identity-address-form.d.ts +2 -0
- package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +2 -0
- package/dist/types/components/business-forms/owner-form/owner-form-inputs.d.ts +3 -0
- package/dist/types/components/business-forms/owner-form/owner-form.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.d.ts +7 -0
- package/dist/types/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.d.ts +5 -0
- package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.d.ts +5 -0
- package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +3 -0
- package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.d.ts +3 -0
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.d.ts +8 -0
- package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-core.d.ts +4 -2
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-form-steps.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/test/mockBusiness.d.ts +12 -0
- package/dist/types/components/business-forms/schemas/business-address-schema.d.ts +54 -2
- package/dist/types/components/business-forms/schemas/business-bank-account-schema.d.ts +14 -16
- package/dist/types/components/business-forms/schemas/business-core-info-schema.d.ts +67 -3
- package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +165 -7
- package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +122 -2
- package/dist/types/components/business-forms/schemas/schema-validations.d.ts +5 -0
- package/dist/types/components.d.ts +119 -10
- package/dist/types/utils/country-codes.d.ts +4 -0
- package/dist/types/utils/form-input-masks.d.ts +1 -0
- package/dist/types/utils/province-options.d.ts +5 -0
- package/dist/webcomponents/p-005a79d5.entry.js +1 -0
- package/dist/webcomponents/p-07f7aaf6.entry.js +1 -0
- package/dist/webcomponents/p-0926c397.entry.js +1 -0
- package/dist/webcomponents/p-14e26a6c.entry.js +1 -0
- package/dist/webcomponents/{p-0eb69f41.entry.js → p-1c362f36.entry.js} +1 -1
- package/dist/webcomponents/{p-0217783c.entry.js → p-221ec54e.entry.js} +4 -4
- package/dist/webcomponents/p-24621c40.entry.js +1 -0
- package/dist/webcomponents/p-33bf5532.entry.js +1 -0
- package/dist/webcomponents/p-3467fa38.entry.js +1 -0
- package/dist/webcomponents/p-3af0b0ad.entry.js +1 -0
- package/dist/webcomponents/p-3b43f8c0.entry.js +1 -0
- package/dist/webcomponents/p-3f7703bf.entry.js +1 -0
- package/dist/webcomponents/p-4180a11b.entry.js +1 -0
- package/dist/webcomponents/p-4d243123.entry.js +1 -0
- package/dist/webcomponents/p-4d6e0ebe.entry.js +1 -0
- package/dist/webcomponents/p-5277f2a6.entry.js +1 -0
- package/dist/webcomponents/p-54cea29e.entry.js +1 -0
- package/dist/webcomponents/{p-7c8deca8.entry.js → p-580f3bb6.entry.js} +1 -1
- package/dist/webcomponents/p-641100ac.entry.js +1 -0
- package/dist/webcomponents/p-65090485.entry.js +1 -0
- package/dist/webcomponents/p-66833631.entry.js +1 -0
- package/dist/webcomponents/p-68aeb5bd.entry.js +1 -0
- package/dist/webcomponents/p-694b24e5.entry.js +1 -0
- package/dist/webcomponents/p-6a247ab5.entry.js +1 -0
- package/dist/webcomponents/p-6a910d9b.entry.js +1 -0
- package/dist/webcomponents/p-6d61092c.entry.js +1 -0
- package/dist/webcomponents/p-72f5e234.entry.js +1 -0
- package/dist/webcomponents/p-7498759d.entry.js +1 -0
- package/dist/webcomponents/p-82723f07.entry.js +1 -0
- package/dist/webcomponents/p-86372164.entry.js +1 -0
- package/dist/webcomponents/{p-b608add9.entry.js → p-8896ab68.entry.js} +1 -1
- package/dist/webcomponents/p-89052ce0.entry.js +1 -0
- package/dist/webcomponents/{p-ClvhB3WW.js → p-890S0Nwr.js} +1 -1
- package/dist/webcomponents/{p-37a93597.entry.js → p-8a156528.entry.js} +1 -1
- package/dist/webcomponents/p-8a68be8f.entry.js +1 -0
- package/dist/webcomponents/p-91b09245.entry.js +1 -0
- package/dist/webcomponents/p-9ce44689.entry.js +1 -0
- package/dist/webcomponents/p-B5rtFhtR.js +1 -0
- package/dist/webcomponents/{p-CEk3bv0x.js → p-B9MN_vv4.js} +1 -1
- package/dist/webcomponents/p-BIcS6lTe.js +1 -0
- package/dist/webcomponents/{p-BBx_EQqR.js → p-BRbqaU66.js} +1 -1
- package/dist/webcomponents/{p-Bgnhf5c9.js → p-BS7OgSQe.js} +1 -1
- package/dist/webcomponents/p-BT473_5I.js +1 -0
- package/dist/webcomponents/p-BXMAoCNA.js +1 -0
- package/dist/webcomponents/{p-B6IWa9Ph.js → p-BYrSeoci.js} +1 -1
- package/dist/webcomponents/{p-CCmDcLao.js → p-BdmYH_IK.js} +1 -1
- package/dist/webcomponents/p-BkaPXFTl.js +1 -0
- package/dist/webcomponents/{p-hbWSMN3O.js → p-Bm8T-MOQ.js} +1 -1
- package/dist/webcomponents/p-BwBb2Opu.js +1 -0
- package/dist/webcomponents/p-C6g4MbnB.js +1 -0
- package/dist/webcomponents/{p-1ydcg9ti.js → p-C77ElQ41.js} +1 -1
- package/dist/webcomponents/p-C7cvPZSk.js +1 -0
- package/dist/webcomponents/p-CJ9qo7_g.js +1 -0
- package/dist/webcomponents/{p-C98BC5W5.js → p-CPKSE7M4.js} +1 -1
- package/dist/webcomponents/{p-yH3TC3ZQ.js → p-CPpUGsw5.js} +1 -1
- package/dist/webcomponents/p-CQQ0H4Pb.js +1 -0
- package/dist/webcomponents/p-CTAOJGVx.js +1 -0
- package/dist/webcomponents/p-CVaOFfrI.js +1 -0
- package/dist/webcomponents/p-CVtpEQBE.js +1 -0
- package/dist/webcomponents/{p-l8F_7Ihw.js → p-CeSmGv6o.js} +1 -1
- package/dist/webcomponents/p-D9Yus-je.js +1 -0
- package/dist/webcomponents/p-DIdnZUSh.js +1 -0
- package/dist/webcomponents/{p-CH8Y3GSr.js → p-DSCBoCn-.js} +1 -1
- package/dist/webcomponents/p-DfKxeSrC.js +1 -0
- package/dist/webcomponents/{p-xDbRW9xn.js → p-Dj_zevuD.js} +1 -1
- package/dist/webcomponents/p-DqPvh0aN.js +1 -0
- package/dist/webcomponents/p-DxVCqvBt.js +1 -0
- package/dist/webcomponents/p-DxnXyWPn.js +1 -0
- package/dist/webcomponents/p-Dy3-IlQ3.js +1 -0
- package/dist/webcomponents/p-Dyk0thEr.js +1 -0
- package/dist/webcomponents/p-DzWLLt4t.js +1 -0
- package/dist/webcomponents/{p-CmBCj61h.js → p-F6TcNeK4.js} +1 -1
- package/dist/webcomponents/{p-au49QgoI.js → p-IYf7zn5J.js} +1 -1
- package/dist/webcomponents/{p-C0wTyoTh.js → p-UUJudj_5.js} +1 -1
- package/dist/webcomponents/{p-0cac8468.entry.js → p-a2344efb.entry.js} +1 -1
- package/dist/webcomponents/p-a42ec25b.entry.js +1 -0
- package/dist/webcomponents/p-a81f9fc3.entry.js +1 -0
- package/dist/webcomponents/p-b4b5dd24.entry.js +1 -0
- package/dist/webcomponents/p-b72794e3.entry.js +1 -0
- package/dist/webcomponents/p-be53e425.entry.js +1 -0
- package/dist/webcomponents/p-c4d919be.entry.js +1 -0
- package/dist/webcomponents/p-c4fb2fe8.entry.js +1 -0
- package/dist/webcomponents/p-c6e64ed5.entry.js +1 -0
- package/dist/webcomponents/p-c796f813.entry.js +1 -0
- package/dist/webcomponents/p-c8656d20.entry.js +1 -0
- package/dist/webcomponents/{p-0cf71cbd.entry.js → p-c8e94ab9.entry.js} +1 -1
- package/dist/webcomponents/p-c9bed02a.entry.js +1 -0
- package/dist/webcomponents/p-cca865be.entry.js +1 -0
- package/dist/webcomponents/p-cd108cae.entry.js +1 -0
- package/dist/webcomponents/p-cd20dc8f.entry.js +1 -0
- package/dist/webcomponents/p-cfd3035e.entry.js +1 -0
- package/dist/webcomponents/p-d1e99aac.entry.js +1 -0
- package/dist/webcomponents/p-d50f8328.entry.js +1 -0
- package/dist/webcomponents/p-d7558874.entry.js +1 -0
- package/dist/webcomponents/p-d8bef4b7.entry.js +1 -0
- package/dist/webcomponents/p-d8c2cea4.entry.js +1 -0
- package/dist/webcomponents/p-d8ef1d2b.entry.js +1 -0
- package/dist/webcomponents/p-e4e6f3b8.entry.js +1 -0
- package/dist/webcomponents/p-e60e7f6a.entry.js +1 -0
- package/dist/webcomponents/{p-2d9b817b.entry.js → p-ea746fa0.entry.js} +1 -1
- package/dist/webcomponents/p-f222426b.entry.js +1 -0
- package/dist/webcomponents/p-f72f67ef.entry.js +1 -0
- package/dist/webcomponents/p-fdf5a349.entry.js +1 -0
- package/dist/webcomponents/{p-C8k7a6D-.js → p-i--LPP1s.js} +1 -1
- package/dist/webcomponents/p-sCHf--Vc.js +1 -0
- package/dist/webcomponents/{p-DdZLLkQ5.js → p-ty1sI-fI.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +13 -13
- package/LICENSE +0 -21
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +0 -112
- package/dist/cjs/business-identity-schema-aFUle0C9.js +0 -51
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +0 -107
- package/dist/cjs/helpers-B5OCqlIM.js +0 -35
- package/dist/cjs/state-options-CIT9xdTz.js +0 -246
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +0 -107
- package/dist/esm/business-identity-schema-CDJzknbg.js +0 -48
- package/dist/esm/form-control-number-masked_2.entry.js +0 -104
- package/dist/esm/helpers-Mu7LQT-w.js +0 -29
- package/dist/esm/state-options-BX8GieXu.js +0 -244
- package/dist/module/helpers.js +0 -29
- package/dist/module/state-options.js +0 -244
- package/dist/webcomponents/p-000d6b5d.entry.js +0 -1
- package/dist/webcomponents/p-0256af65.entry.js +0 -1
- package/dist/webcomponents/p-0af5269e.entry.js +0 -1
- package/dist/webcomponents/p-0f16c00f.entry.js +0 -1
- package/dist/webcomponents/p-0f47f052.entry.js +0 -1
- package/dist/webcomponents/p-1872ee94.entry.js +0 -1
- package/dist/webcomponents/p-281ea1f6.entry.js +0 -1
- package/dist/webcomponents/p-2b568e8e.entry.js +0 -1
- package/dist/webcomponents/p-2d300faa.entry.js +0 -1
- package/dist/webcomponents/p-328117e4.entry.js +0 -1
- package/dist/webcomponents/p-32978110.entry.js +0 -1
- package/dist/webcomponents/p-40c3d17c.entry.js +0 -1
- package/dist/webcomponents/p-44ec2d88.entry.js +0 -1
- package/dist/webcomponents/p-44f9739e.entry.js +0 -1
- package/dist/webcomponents/p-47997bc2.entry.js +0 -1
- package/dist/webcomponents/p-50701f16.entry.js +0 -1
- package/dist/webcomponents/p-5235230f.entry.js +0 -1
- package/dist/webcomponents/p-526b7442.entry.js +0 -1
- package/dist/webcomponents/p-5aae36f3.entry.js +0 -1
- package/dist/webcomponents/p-5bd3d86e.entry.js +0 -1
- package/dist/webcomponents/p-5c0c35ac.entry.js +0 -1
- package/dist/webcomponents/p-78cb62a8.entry.js +0 -1
- package/dist/webcomponents/p-7dc9ef8a.entry.js +0 -1
- package/dist/webcomponents/p-7eb4b9b4.entry.js +0 -1
- package/dist/webcomponents/p-84551ee4.entry.js +0 -1
- package/dist/webcomponents/p-854b3db0.entry.js +0 -1
- package/dist/webcomponents/p-8663e8bd.entry.js +0 -1
- package/dist/webcomponents/p-8S_ROmnq.js +0 -1
- package/dist/webcomponents/p-8b3245c4.entry.js +0 -1
- package/dist/webcomponents/p-8ca21fab.entry.js +0 -1
- package/dist/webcomponents/p-8f8dfd4b.entry.js +0 -1
- package/dist/webcomponents/p-9365c7c2.entry.js +0 -1
- package/dist/webcomponents/p-9ad7d724.entry.js +0 -1
- package/dist/webcomponents/p-B-iV5cYd.js +0 -1
- package/dist/webcomponents/p-BX8GieXu.js +0 -1
- package/dist/webcomponents/p-BjNuRWXK.js +0 -1
- package/dist/webcomponents/p-BlJnA265.js +0 -1
- package/dist/webcomponents/p-BoQ6_4Ks.js +0 -1
- package/dist/webcomponents/p-C9EQ459H.js +0 -1
- package/dist/webcomponents/p-C9iide2W.js +0 -1
- package/dist/webcomponents/p-CCLgieAN.js +0 -1
- package/dist/webcomponents/p-Csfiax9X.js +0 -1
- package/dist/webcomponents/p-D0Peuz-m.js +0 -1
- package/dist/webcomponents/p-D6BImiVi.js +0 -1
- package/dist/webcomponents/p-DH8F0bsw.js +0 -1
- package/dist/webcomponents/p-DQZ5VHTZ.js +0 -1
- package/dist/webcomponents/p-DWn9BiNn.js +0 -1
- package/dist/webcomponents/p-DfV3dFDB.js +0 -1
- package/dist/webcomponents/p-Dt-vy9Le.js +0 -1
- package/dist/webcomponents/p-NAjz1Xfo.js +0 -1
- package/dist/webcomponents/p-PSJOKMWp.js +0 -1
- package/dist/webcomponents/p-RQzxYnz_.js +0 -1
- package/dist/webcomponents/p-T2yENPvU.js +0 -1
- package/dist/webcomponents/p-a10ae013.entry.js +0 -1
- package/dist/webcomponents/p-a8ad5f5c.entry.js +0 -1
- package/dist/webcomponents/p-a8e8d944.entry.js +0 -1
- package/dist/webcomponents/p-aa14cc74.entry.js +0 -1
- package/dist/webcomponents/p-ae8ae5bb.entry.js +0 -1
- package/dist/webcomponents/p-b3094b8f.entry.js +0 -1
- package/dist/webcomponents/p-baf0d3e7.entry.js +0 -1
- package/dist/webcomponents/p-bb53e2e9.entry.js +0 -1
- package/dist/webcomponents/p-bdf293f6.entry.js +0 -1
- package/dist/webcomponents/p-c089fb5f.entry.js +0 -1
- package/dist/webcomponents/p-c6dc30e2.entry.js +0 -1
- package/dist/webcomponents/p-d0a2035f.entry.js +0 -1
- package/dist/webcomponents/p-d1bceac6.entry.js +0 -1
- package/dist/webcomponents/p-d37d752e.entry.js +0 -1
- package/dist/webcomponents/p-d4476052.entry.js +0 -1
- package/dist/webcomponents/p-da1fb2a3.entry.js +0 -1
- package/dist/webcomponents/p-ddc0b742.entry.js +0 -1
- package/dist/webcomponents/p-e6011271.entry.js +0 -1
- package/dist/webcomponents/p-e6be4e19.entry.js +0 -1
- package/dist/webcomponents/p-eaefb320.entry.js +0 -1
- package/dist/webcomponents/p-ec9514f8.entry.js +0 -1
- package/dist/webcomponents/p-f11a74c3.entry.js +0 -1
- package/dist/webcomponents/p-f705fc49.entry.js +0 -1
- package/dist/webcomponents/p-fedfe376.entry.js +0 -1
- package/dist/webcomponents/p-ffefa09c.entry.js +0 -1
- package/dist/webcomponents/p-h5pyZngT.js +0 -1
- package/dist/webcomponents/p-tYuXMkCd.js +0 -1
- package/dist/webcomponents/p-wQgEEOq_.js +0 -1
|
@@ -11,12 +11,12 @@ import { ComponentClickEvent, ComponentErrorEvent, ComponentFormStepCompleteEven
|
|
|
11
11
|
import { Placement, PositioningStrategy } from "@popperjs/core";
|
|
12
12
|
import { EntityDocumentType, FileSelectEvent as FileSelectEvent1 } from "./api/Document";
|
|
13
13
|
import { IPaymentMethodMetadata } from "./api/PaymentMethod";
|
|
14
|
-
import { BillingFormFields as BillingFormFields1, FormController } from "./components";
|
|
15
14
|
import { DisputeEvidenceDocument } from "./api/DisputeEvidenceDocument";
|
|
16
15
|
import { DisputeResponseFormStep } from "./components/dispute-management/dispute-response/dispute-response-form-types";
|
|
17
16
|
import { ApplePayButtonStyle, ApplePayButtonType, IApplePayToken } from "./api/ApplePay";
|
|
18
17
|
import { BillingFormFields } from "./components/checkout/billing-form/billing-form-schema";
|
|
19
|
-
import {
|
|
18
|
+
import { CountryCode } from "./utils/country-codes";
|
|
19
|
+
import { FormController } from "./ui-components/form/form";
|
|
20
20
|
import { Dispute, IDispute } from "./api/Dispute";
|
|
21
21
|
import { CheckoutChangedEventDetail, SelectedPaymentMethod } from "./components/modular-checkout/ModularCheckout";
|
|
22
22
|
import { PaymentMethodPayload } from "./components/checkout/payment-method-payload";
|
|
@@ -29,12 +29,12 @@ export { ComponentClickEvent, ComponentErrorEvent, ComponentFormStepCompleteEven
|
|
|
29
29
|
export { Placement, PositioningStrategy } from "@popperjs/core";
|
|
30
30
|
export { EntityDocumentType, FileSelectEvent as FileSelectEvent1 } from "./api/Document";
|
|
31
31
|
export { IPaymentMethodMetadata } from "./api/PaymentMethod";
|
|
32
|
-
export { BillingFormFields as BillingFormFields1, FormController } from "./components";
|
|
33
32
|
export { DisputeEvidenceDocument } from "./api/DisputeEvidenceDocument";
|
|
34
33
|
export { DisputeResponseFormStep } from "./components/dispute-management/dispute-response/dispute-response-form-types";
|
|
35
34
|
export { ApplePayButtonStyle, ApplePayButtonType, IApplePayToken } from "./api/ApplePay";
|
|
36
35
|
export { BillingFormFields } from "./components/checkout/billing-form/billing-form-schema";
|
|
37
|
-
export {
|
|
36
|
+
export { CountryCode } from "./utils/country-codes";
|
|
37
|
+
export { FormController } from "./ui-components/form/form";
|
|
38
38
|
export { Dispute, IDispute } from "./api/Dispute";
|
|
39
39
|
export { CheckoutChangedEventDetail, SelectedPaymentMethod } from "./components/modular-checkout/ModularCheckout";
|
|
40
40
|
export { PaymentMethodPayload } from "./components/checkout/payment-method-payload";
|
|
@@ -60,6 +60,16 @@ export namespace Components {
|
|
|
60
60
|
"formDisabled": boolean;
|
|
61
61
|
"inputHandler": (name: string, value: string) => void;
|
|
62
62
|
}
|
|
63
|
+
interface BankAccountFormInputsCanada {
|
|
64
|
+
"defaultValue": any;
|
|
65
|
+
"errors": any;
|
|
66
|
+
"formDisabled": boolean;
|
|
67
|
+
"inputHandler": (name: string, value: string) => void;
|
|
68
|
+
}
|
|
69
|
+
interface BankAccountReadOnlyValue {
|
|
70
|
+
"label": string;
|
|
71
|
+
"value"?: string;
|
|
72
|
+
}
|
|
63
73
|
interface BusinessDetailsCore {
|
|
64
74
|
"getBusiness": Function;
|
|
65
75
|
}
|
|
@@ -354,11 +364,13 @@ export namespace Components {
|
|
|
354
364
|
"allowOptionalFields"?: boolean;
|
|
355
365
|
"authToken": string;
|
|
356
366
|
"businessId": string;
|
|
367
|
+
"country": CountryCode;
|
|
357
368
|
"validateAndSubmit": ({ onSuccess }: { onSuccess: any; }) => Promise<void>;
|
|
358
369
|
}
|
|
359
370
|
interface JustifiBusinessBankAccountFormStepCore {
|
|
360
371
|
"allowOptionalFields"?: boolean;
|
|
361
372
|
"businessId": string;
|
|
373
|
+
"country": CountryCode;
|
|
362
374
|
"getBusiness": Function;
|
|
363
375
|
"postBankAccount": Function;
|
|
364
376
|
"postDocumentRecord": Function;
|
|
@@ -370,17 +382,20 @@ export namespace Components {
|
|
|
370
382
|
* and the other one is meant to be just read only.
|
|
371
383
|
*/
|
|
372
384
|
interface JustifiBusinessCoreInfo {
|
|
373
|
-
"
|
|
385
|
+
"country": CountryCode;
|
|
386
|
+
"formController": FormController;
|
|
374
387
|
}
|
|
375
388
|
interface JustifiBusinessCoreInfoFormStep {
|
|
376
389
|
"allowOptionalFields"?: boolean;
|
|
377
390
|
"authToken": string;
|
|
378
391
|
"businessId": string;
|
|
392
|
+
"country": CountryCode;
|
|
379
393
|
"validateAndSubmit": ({ onSuccess }: { onSuccess: any; }) => Promise<void>;
|
|
380
394
|
}
|
|
381
395
|
interface JustifiBusinessCoreInfoFormStepCore {
|
|
382
396
|
"allowOptionalFields"?: boolean;
|
|
383
397
|
"businessId": string;
|
|
398
|
+
"country": CountryCode;
|
|
384
399
|
"getBusiness": Function;
|
|
385
400
|
"patchBusiness": Function;
|
|
386
401
|
"validateAndSubmit": ({ onSuccess }: { onSuccess: any; }) => Promise<void>;
|
|
@@ -409,32 +424,38 @@ export namespace Components {
|
|
|
409
424
|
"allowOptionalFields"?: boolean;
|
|
410
425
|
"authToken": string;
|
|
411
426
|
"businessId": string;
|
|
427
|
+
"country": CountryCode;
|
|
412
428
|
"validateAndSubmit": ({ onSuccess }: { onSuccess: any; }) => Promise<void>;
|
|
413
429
|
}
|
|
414
430
|
interface JustifiBusinessOwnersFormStepCore {
|
|
415
431
|
"allowOptionalFields"?: boolean;
|
|
416
432
|
"authToken": string;
|
|
417
433
|
"businessId": string;
|
|
434
|
+
"country": CountryCode;
|
|
418
435
|
"getBusiness": Function;
|
|
419
436
|
"patchBusiness": Function;
|
|
420
437
|
"validateAndSubmit": ({ onSuccess }: { onSuccess: any; }) => Promise<void>;
|
|
421
438
|
}
|
|
422
439
|
interface JustifiBusinessRepresentative {
|
|
440
|
+
"country": CountryCode;
|
|
423
441
|
"formController": FormController;
|
|
424
442
|
}
|
|
425
443
|
interface JustifiBusinessRepresentativeFormInputs {
|
|
444
|
+
"country": CountryCode;
|
|
426
445
|
"errors": any;
|
|
427
|
-
"formController":
|
|
446
|
+
"formController": FormController;
|
|
428
447
|
"representativeDefaultValue": any;
|
|
429
448
|
}
|
|
430
449
|
interface JustifiBusinessRepresentativeFormStep {
|
|
431
450
|
"allowOptionalFields"?: boolean;
|
|
432
451
|
"authToken": string;
|
|
433
452
|
"businessId": string;
|
|
453
|
+
"country"?: CountryCode;
|
|
434
454
|
"validateAndSubmit": ({ onSuccess }: { onSuccess: any; }) => Promise<void>;
|
|
435
455
|
}
|
|
436
456
|
interface JustifiBusinessRepresentativeFormStepCore {
|
|
437
457
|
"allowOptionalFields"?: boolean;
|
|
458
|
+
"country": CountryCode;
|
|
438
459
|
"getBusiness": Function;
|
|
439
460
|
"patchBusiness": Function;
|
|
440
461
|
"validateAndSubmit": ({ onSuccess }: { onSuccess: any; }) => Promise<void>;
|
|
@@ -608,6 +629,15 @@ export namespace Components {
|
|
|
608
629
|
"documentErrors": any;
|
|
609
630
|
"validateAndSubmit": (onSuccess: (formData: any, documentList: DisputeEvidenceDocument[], formStep: DisputeResponseFormStep) => void) => Promise<void>;
|
|
610
631
|
}
|
|
632
|
+
interface JustifiFormAddressFields {
|
|
633
|
+
/**
|
|
634
|
+
* @default CountryCode.USA
|
|
635
|
+
*/
|
|
636
|
+
"country": CountryCode;
|
|
637
|
+
"defaultValues": any;
|
|
638
|
+
"errors": any;
|
|
639
|
+
"inputHandler": (name: string, value: string) => void;
|
|
640
|
+
}
|
|
611
641
|
interface JustifiGrossPaymentChart {
|
|
612
642
|
"accountId": string;
|
|
613
643
|
"authToken": string;
|
|
@@ -621,21 +651,25 @@ export namespace Components {
|
|
|
621
651
|
"text": string;
|
|
622
652
|
}
|
|
623
653
|
interface JustifiIdentityAddressForm {
|
|
654
|
+
"country": CountryCode;
|
|
624
655
|
"defaultValues": any;
|
|
625
656
|
"errors": any;
|
|
626
657
|
"handleFormUpdate": (values: any) => void;
|
|
627
658
|
}
|
|
628
659
|
interface JustifiLegalAddressForm {
|
|
660
|
+
"country": CountryCode;
|
|
629
661
|
"formController": FormController;
|
|
630
662
|
}
|
|
631
663
|
interface JustifiLegalAddressFormStep {
|
|
632
664
|
"allowOptionalFields"?: boolean;
|
|
633
665
|
"authToken": string;
|
|
634
666
|
"businessId": string;
|
|
667
|
+
"country"?: CountryCode;
|
|
635
668
|
"validateAndSubmit": ({ onSuccess }: { onSuccess: any; }) => Promise<void>;
|
|
636
669
|
}
|
|
637
670
|
interface JustifiLegalAddressFormStepCore {
|
|
638
671
|
"allowOptionalFields"?: boolean;
|
|
672
|
+
"country": CountryCode;
|
|
639
673
|
"getBusiness": Function;
|
|
640
674
|
"patchBusiness": Function;
|
|
641
675
|
"validateAndSubmit": ({ onSuccess }: { onSuccess: any; }) => Promise<void>;
|
|
@@ -644,7 +678,7 @@ export namespace Components {
|
|
|
644
678
|
"authToken": string;
|
|
645
679
|
"checkoutId": string;
|
|
646
680
|
"setSelectedPaymentMethod": (paymentMethod: SelectedPaymentMethod) => Promise<void>;
|
|
647
|
-
"submitCheckout": (submitCheckoutArgs?:
|
|
681
|
+
"submitCheckout": (submitCheckoutArgs?: BillingFormFields) => Promise<void>;
|
|
648
682
|
"validate": () => Promise<boolean>;
|
|
649
683
|
}
|
|
650
684
|
interface JustifiOrderTerminals {
|
|
@@ -664,6 +698,7 @@ export namespace Components {
|
|
|
664
698
|
"allowOptionalFields"?: boolean;
|
|
665
699
|
"authToken": string;
|
|
666
700
|
"businessId"?: string;
|
|
701
|
+
"country": CountryCode;
|
|
667
702
|
"newFormOpen"?: boolean;
|
|
668
703
|
"ownerId"?: string;
|
|
669
704
|
"ownersLength"?: number;
|
|
@@ -714,6 +749,10 @@ export namespace Components {
|
|
|
714
749
|
"allowOptionalFields"?: boolean;
|
|
715
750
|
"authToken": string;
|
|
716
751
|
"businessId": string;
|
|
752
|
+
/**
|
|
753
|
+
* @default CountryCode.USA
|
|
754
|
+
*/
|
|
755
|
+
"country"?: CountryCode;
|
|
717
756
|
"currentStep": number;
|
|
718
757
|
"handleFormLoading": (e: CustomEvent) => void;
|
|
719
758
|
"refs": any[];
|
|
@@ -901,7 +940,7 @@ export namespace Components {
|
|
|
901
940
|
"authToken"?: string;
|
|
902
941
|
"disableBankAccount"?: boolean;
|
|
903
942
|
"disableCreditCard"?: boolean;
|
|
904
|
-
"fillBillingForm": (fields:
|
|
943
|
+
"fillBillingForm": (fields: BillingFormFields) => Promise<void>;
|
|
905
944
|
"hideBankAccountBillingForm"?: boolean;
|
|
906
945
|
"hideCardBillingForm"?: boolean;
|
|
907
946
|
"hideSubmitButton"?: boolean;
|
|
@@ -924,6 +963,7 @@ export namespace Components {
|
|
|
924
963
|
interface OwnerFormCore {
|
|
925
964
|
"allowOptionalFields"?: boolean;
|
|
926
965
|
"businessId"?: string;
|
|
966
|
+
"country": CountryCode;
|
|
927
967
|
"getOwner": Function;
|
|
928
968
|
"newFormOpen"?: boolean;
|
|
929
969
|
"ownerId"?: string;
|
|
@@ -937,6 +977,7 @@ export namespace Components {
|
|
|
937
977
|
"validateAndSubmit": (event: any) => Promise<void>;
|
|
938
978
|
}
|
|
939
979
|
interface OwnerFormInputs {
|
|
980
|
+
"country": CountryCode;
|
|
940
981
|
"errors": any;
|
|
941
982
|
"formController": FormController;
|
|
942
983
|
"ownerDefaultValue": any;
|
|
@@ -1311,6 +1352,18 @@ declare global {
|
|
|
1311
1352
|
prototype: HTMLBankAccountFormInputsElement;
|
|
1312
1353
|
new (): HTMLBankAccountFormInputsElement;
|
|
1313
1354
|
};
|
|
1355
|
+
interface HTMLBankAccountFormInputsCanadaElement extends Components.BankAccountFormInputsCanada, HTMLStencilElement {
|
|
1356
|
+
}
|
|
1357
|
+
var HTMLBankAccountFormInputsCanadaElement: {
|
|
1358
|
+
prototype: HTMLBankAccountFormInputsCanadaElement;
|
|
1359
|
+
new (): HTMLBankAccountFormInputsCanadaElement;
|
|
1360
|
+
};
|
|
1361
|
+
interface HTMLBankAccountReadOnlyValueElement extends Components.BankAccountReadOnlyValue, HTMLStencilElement {
|
|
1362
|
+
}
|
|
1363
|
+
var HTMLBankAccountReadOnlyValueElement: {
|
|
1364
|
+
prototype: HTMLBankAccountReadOnlyValueElement;
|
|
1365
|
+
new (): HTMLBankAccountReadOnlyValueElement;
|
|
1366
|
+
};
|
|
1314
1367
|
interface HTMLBusinessDetailsCoreElementEventMap {
|
|
1315
1368
|
"error-event": ComponentErrorEvent;
|
|
1316
1369
|
}
|
|
@@ -2170,6 +2223,12 @@ declare global {
|
|
|
2170
2223
|
prototype: HTMLJustifiElectronicEvidenceElement;
|
|
2171
2224
|
new (): HTMLJustifiElectronicEvidenceElement;
|
|
2172
2225
|
};
|
|
2226
|
+
interface HTMLJustifiFormAddressFieldsElement extends Components.JustifiFormAddressFields, HTMLStencilElement {
|
|
2227
|
+
}
|
|
2228
|
+
var HTMLJustifiFormAddressFieldsElement: {
|
|
2229
|
+
prototype: HTMLJustifiFormAddressFieldsElement;
|
|
2230
|
+
new (): HTMLJustifiFormAddressFieldsElement;
|
|
2231
|
+
};
|
|
2173
2232
|
interface HTMLJustifiGrossPaymentChartElementEventMap {
|
|
2174
2233
|
"error-event": ComponentErrorEvent;
|
|
2175
2234
|
}
|
|
@@ -2868,6 +2927,8 @@ declare global {
|
|
|
2868
2927
|
"bank-account-document-form-inputs": HTMLBankAccountDocumentFormInputsElement;
|
|
2869
2928
|
"bank-account-form": HTMLBankAccountFormElement;
|
|
2870
2929
|
"bank-account-form-inputs": HTMLBankAccountFormInputsElement;
|
|
2930
|
+
"bank-account-form-inputs-canada": HTMLBankAccountFormInputsCanadaElement;
|
|
2931
|
+
"bank-account-read-only-value": HTMLBankAccountReadOnlyValueElement;
|
|
2871
2932
|
"business-details-core": HTMLBusinessDetailsCoreElement;
|
|
2872
2933
|
"business-documents-on-file": HTMLBusinessDocumentsOnFileElement;
|
|
2873
2934
|
"card-form": HTMLCardFormElement;
|
|
@@ -2933,6 +2994,7 @@ declare global {
|
|
|
2933
2994
|
"justifi-dispute-response-core": HTMLJustifiDisputeResponseCoreElement;
|
|
2934
2995
|
"justifi-duplicate-charge": HTMLJustifiDuplicateChargeElement;
|
|
2935
2996
|
"justifi-electronic-evidence": HTMLJustifiElectronicEvidenceElement;
|
|
2997
|
+
"justifi-form-address-fields": HTMLJustifiFormAddressFieldsElement;
|
|
2936
2998
|
"justifi-gross-payment-chart": HTMLJustifiGrossPaymentChartElement;
|
|
2937
2999
|
"justifi-header": HTMLJustifiHeaderElement;
|
|
2938
3000
|
"justifi-identity-address-form": HTMLJustifiIdentityAddressFormElement;
|
|
@@ -3005,6 +3067,16 @@ declare namespace LocalJSX {
|
|
|
3005
3067
|
"formDisabled"?: boolean;
|
|
3006
3068
|
"inputHandler"?: (name: string, value: string) => void;
|
|
3007
3069
|
}
|
|
3070
|
+
interface BankAccountFormInputsCanada {
|
|
3071
|
+
"defaultValue"?: any;
|
|
3072
|
+
"errors"?: any;
|
|
3073
|
+
"formDisabled"?: boolean;
|
|
3074
|
+
"inputHandler"?: (name: string, value: string) => void;
|
|
3075
|
+
}
|
|
3076
|
+
interface BankAccountReadOnlyValue {
|
|
3077
|
+
"label"?: string;
|
|
3078
|
+
"value"?: string;
|
|
3079
|
+
}
|
|
3008
3080
|
interface BusinessDetailsCore {
|
|
3009
3081
|
"getBusiness"?: Function;
|
|
3010
3082
|
"onError-event"?: (event: BusinessDetailsCoreCustomEvent<ComponentErrorEvent>) => void;
|
|
@@ -3323,11 +3395,13 @@ declare namespace LocalJSX {
|
|
|
3323
3395
|
"allowOptionalFields"?: boolean;
|
|
3324
3396
|
"authToken"?: string;
|
|
3325
3397
|
"businessId"?: string;
|
|
3398
|
+
"country"?: CountryCode;
|
|
3326
3399
|
"onError-event"?: (event: JustifiBusinessBankAccountFormStepCustomEvent<ComponentErrorEvent1>) => void;
|
|
3327
3400
|
}
|
|
3328
3401
|
interface JustifiBusinessBankAccountFormStepCore {
|
|
3329
3402
|
"allowOptionalFields"?: boolean;
|
|
3330
3403
|
"businessId"?: string;
|
|
3404
|
+
"country"?: CountryCode;
|
|
3331
3405
|
"getBusiness"?: Function;
|
|
3332
3406
|
"onComplete-form-step-event"?: (event: JustifiBusinessBankAccountFormStepCoreCustomEvent<ComponentFormStepCompleteEvent1>) => void;
|
|
3333
3407
|
"onError-event"?: (event: JustifiBusinessBankAccountFormStepCoreCustomEvent<ComponentErrorEvent1>) => void;
|
|
@@ -3341,17 +3415,20 @@ declare namespace LocalJSX {
|
|
|
3341
3415
|
* and the other one is meant to be just read only.
|
|
3342
3416
|
*/
|
|
3343
3417
|
interface JustifiBusinessCoreInfo {
|
|
3344
|
-
"
|
|
3418
|
+
"country"?: CountryCode;
|
|
3419
|
+
"formController"?: FormController;
|
|
3345
3420
|
}
|
|
3346
3421
|
interface JustifiBusinessCoreInfoFormStep {
|
|
3347
3422
|
"allowOptionalFields"?: boolean;
|
|
3348
3423
|
"authToken"?: string;
|
|
3349
3424
|
"businessId"?: string;
|
|
3425
|
+
"country"?: CountryCode;
|
|
3350
3426
|
"onError-event"?: (event: JustifiBusinessCoreInfoFormStepCustomEvent<ComponentErrorEvent>) => void;
|
|
3351
3427
|
}
|
|
3352
3428
|
interface JustifiBusinessCoreInfoFormStepCore {
|
|
3353
3429
|
"allowOptionalFields"?: boolean;
|
|
3354
3430
|
"businessId"?: string;
|
|
3431
|
+
"country"?: CountryCode;
|
|
3355
3432
|
"getBusiness"?: Function;
|
|
3356
3433
|
"onComplete-form-step-event"?: (event: JustifiBusinessCoreInfoFormStepCoreCustomEvent<ComponentFormStepCompleteEvent>) => void;
|
|
3357
3434
|
"onError-event"?: (event: JustifiBusinessCoreInfoFormStepCoreCustomEvent<ComponentErrorEvent>) => void;
|
|
@@ -3386,12 +3463,14 @@ declare namespace LocalJSX {
|
|
|
3386
3463
|
"allowOptionalFields"?: boolean;
|
|
3387
3464
|
"authToken"?: string;
|
|
3388
3465
|
"businessId"?: string;
|
|
3466
|
+
"country"?: CountryCode;
|
|
3389
3467
|
"onError-event"?: (event: JustifiBusinessOwnersFormStepCustomEvent<ComponentErrorEvent>) => void;
|
|
3390
3468
|
}
|
|
3391
3469
|
interface JustifiBusinessOwnersFormStepCore {
|
|
3392
3470
|
"allowOptionalFields"?: boolean;
|
|
3393
3471
|
"authToken"?: string;
|
|
3394
3472
|
"businessId"?: string;
|
|
3473
|
+
"country"?: CountryCode;
|
|
3395
3474
|
"getBusiness"?: Function;
|
|
3396
3475
|
"onClick-event"?: (event: JustifiBusinessOwnersFormStepCoreCustomEvent<ComponentClickEvent>) => void;
|
|
3397
3476
|
"onComplete-form-step-event"?: (event: JustifiBusinessOwnersFormStepCoreCustomEvent<ComponentFormStepCompleteEvent>) => void;
|
|
@@ -3400,21 +3479,25 @@ declare namespace LocalJSX {
|
|
|
3400
3479
|
"patchBusiness"?: Function;
|
|
3401
3480
|
}
|
|
3402
3481
|
interface JustifiBusinessRepresentative {
|
|
3482
|
+
"country"?: CountryCode;
|
|
3403
3483
|
"formController"?: FormController;
|
|
3404
3484
|
}
|
|
3405
3485
|
interface JustifiBusinessRepresentativeFormInputs {
|
|
3486
|
+
"country"?: CountryCode;
|
|
3406
3487
|
"errors"?: any;
|
|
3407
|
-
"formController"?:
|
|
3488
|
+
"formController"?: FormController;
|
|
3408
3489
|
"representativeDefaultValue"?: any;
|
|
3409
3490
|
}
|
|
3410
3491
|
interface JustifiBusinessRepresentativeFormStep {
|
|
3411
3492
|
"allowOptionalFields"?: boolean;
|
|
3412
3493
|
"authToken"?: string;
|
|
3413
3494
|
"businessId"?: string;
|
|
3495
|
+
"country"?: CountryCode;
|
|
3414
3496
|
"onError-event"?: (event: JustifiBusinessRepresentativeFormStepCustomEvent<ComponentErrorEvent>) => void;
|
|
3415
3497
|
}
|
|
3416
3498
|
interface JustifiBusinessRepresentativeFormStepCore {
|
|
3417
3499
|
"allowOptionalFields"?: boolean;
|
|
3500
|
+
"country"?: CountryCode;
|
|
3418
3501
|
"getBusiness"?: Function;
|
|
3419
3502
|
"onComplete-form-step-event"?: (event: JustifiBusinessRepresentativeFormStepCoreCustomEvent<ComponentFormStepCompleteEvent>) => void;
|
|
3420
3503
|
"onError-event"?: (event: JustifiBusinessRepresentativeFormStepCoreCustomEvent<ComponentErrorEvent>) => void;
|
|
@@ -3596,6 +3679,15 @@ declare namespace LocalJSX {
|
|
|
3596
3679
|
*/
|
|
3597
3680
|
"documentErrors"?: any;
|
|
3598
3681
|
}
|
|
3682
|
+
interface JustifiFormAddressFields {
|
|
3683
|
+
/**
|
|
3684
|
+
* @default CountryCode.USA
|
|
3685
|
+
*/
|
|
3686
|
+
"country"?: CountryCode;
|
|
3687
|
+
"defaultValues"?: any;
|
|
3688
|
+
"errors"?: any;
|
|
3689
|
+
"inputHandler"?: (name: string, value: string) => void;
|
|
3690
|
+
}
|
|
3599
3691
|
interface JustifiGrossPaymentChart {
|
|
3600
3692
|
"accountId"?: string;
|
|
3601
3693
|
"authToken"?: string;
|
|
@@ -3610,21 +3702,25 @@ declare namespace LocalJSX {
|
|
|
3610
3702
|
"text"?: string;
|
|
3611
3703
|
}
|
|
3612
3704
|
interface JustifiIdentityAddressForm {
|
|
3705
|
+
"country"?: CountryCode;
|
|
3613
3706
|
"defaultValues"?: any;
|
|
3614
3707
|
"errors"?: any;
|
|
3615
3708
|
"handleFormUpdate"?: (values: any) => void;
|
|
3616
3709
|
}
|
|
3617
3710
|
interface JustifiLegalAddressForm {
|
|
3711
|
+
"country"?: CountryCode;
|
|
3618
3712
|
"formController"?: FormController;
|
|
3619
3713
|
}
|
|
3620
3714
|
interface JustifiLegalAddressFormStep {
|
|
3621
3715
|
"allowOptionalFields"?: boolean;
|
|
3622
3716
|
"authToken"?: string;
|
|
3623
3717
|
"businessId"?: string;
|
|
3718
|
+
"country"?: CountryCode;
|
|
3624
3719
|
"onError-event"?: (event: JustifiLegalAddressFormStepCustomEvent<ComponentErrorEvent>) => void;
|
|
3625
3720
|
}
|
|
3626
3721
|
interface JustifiLegalAddressFormStepCore {
|
|
3627
3722
|
"allowOptionalFields"?: boolean;
|
|
3723
|
+
"country"?: CountryCode;
|
|
3628
3724
|
"getBusiness"?: Function;
|
|
3629
3725
|
"onComplete-form-step-event"?: (event: JustifiLegalAddressFormStepCoreCustomEvent<ComponentFormStepCompleteEvent>) => void;
|
|
3630
3726
|
"onError-event"?: (event: JustifiLegalAddressFormStepCoreCustomEvent<ComponentErrorEvent>) => void;
|
|
@@ -3657,6 +3753,7 @@ declare namespace LocalJSX {
|
|
|
3657
3753
|
"allowOptionalFields"?: boolean;
|
|
3658
3754
|
"authToken"?: string;
|
|
3659
3755
|
"businessId"?: string;
|
|
3756
|
+
"country"?: CountryCode;
|
|
3660
3757
|
"newFormOpen"?: boolean;
|
|
3661
3758
|
"onError-event"?: (event: JustifiOwnerFormCustomEvent<ComponentErrorEvent>) => void;
|
|
3662
3759
|
"ownerId"?: string;
|
|
@@ -3711,6 +3808,10 @@ declare namespace LocalJSX {
|
|
|
3711
3808
|
"allowOptionalFields"?: boolean;
|
|
3712
3809
|
"authToken"?: string;
|
|
3713
3810
|
"businessId"?: string;
|
|
3811
|
+
/**
|
|
3812
|
+
* @default CountryCode.USA
|
|
3813
|
+
*/
|
|
3814
|
+
"country"?: CountryCode;
|
|
3714
3815
|
"currentStep"?: number;
|
|
3715
3816
|
"handleFormLoading"?: (e: CustomEvent) => void;
|
|
3716
3817
|
"refs"?: any[];
|
|
@@ -3921,6 +4022,7 @@ declare namespace LocalJSX {
|
|
|
3921
4022
|
interface OwnerFormCore {
|
|
3922
4023
|
"allowOptionalFields"?: boolean;
|
|
3923
4024
|
"businessId"?: string;
|
|
4025
|
+
"country"?: CountryCode;
|
|
3924
4026
|
"getOwner"?: Function;
|
|
3925
4027
|
"newFormOpen"?: boolean;
|
|
3926
4028
|
"onClick-event"?: (event: OwnerFormCoreCustomEvent<ComponentClickEvent>) => void;
|
|
@@ -3934,6 +4036,7 @@ declare namespace LocalJSX {
|
|
|
3934
4036
|
"removeOwner"?: (id: string) => void;
|
|
3935
4037
|
}
|
|
3936
4038
|
interface OwnerFormInputs {
|
|
4039
|
+
"country"?: CountryCode;
|
|
3937
4040
|
"errors"?: any;
|
|
3938
4041
|
"formController"?: FormController;
|
|
3939
4042
|
"ownerDefaultValue"?: any;
|
|
@@ -4019,6 +4122,8 @@ declare namespace LocalJSX {
|
|
|
4019
4122
|
"bank-account-document-form-inputs": BankAccountDocumentFormInputs;
|
|
4020
4123
|
"bank-account-form": BankAccountForm;
|
|
4021
4124
|
"bank-account-form-inputs": BankAccountFormInputs;
|
|
4125
|
+
"bank-account-form-inputs-canada": BankAccountFormInputsCanada;
|
|
4126
|
+
"bank-account-read-only-value": BankAccountReadOnlyValue;
|
|
4022
4127
|
"business-details-core": BusinessDetailsCore;
|
|
4023
4128
|
"business-documents-on-file": BusinessDocumentsOnFile;
|
|
4024
4129
|
"card-form": CardForm;
|
|
@@ -4084,6 +4189,7 @@ declare namespace LocalJSX {
|
|
|
4084
4189
|
"justifi-dispute-response-core": JustifiDisputeResponseCore;
|
|
4085
4190
|
"justifi-duplicate-charge": JustifiDuplicateCharge;
|
|
4086
4191
|
"justifi-electronic-evidence": JustifiElectronicEvidence;
|
|
4192
|
+
"justifi-form-address-fields": JustifiFormAddressFields;
|
|
4087
4193
|
"justifi-gross-payment-chart": JustifiGrossPaymentChart;
|
|
4088
4194
|
"justifi-header": JustifiHeader;
|
|
4089
4195
|
"justifi-identity-address-form": JustifiIdentityAddressForm;
|
|
@@ -4147,6 +4253,8 @@ declare module "@stencil/core" {
|
|
|
4147
4253
|
"bank-account-document-form-inputs": LocalJSX.BankAccountDocumentFormInputs & JSXBase.HTMLAttributes<HTMLBankAccountDocumentFormInputsElement>;
|
|
4148
4254
|
"bank-account-form": LocalJSX.BankAccountForm & JSXBase.HTMLAttributes<HTMLBankAccountFormElement>;
|
|
4149
4255
|
"bank-account-form-inputs": LocalJSX.BankAccountFormInputs & JSXBase.HTMLAttributes<HTMLBankAccountFormInputsElement>;
|
|
4256
|
+
"bank-account-form-inputs-canada": LocalJSX.BankAccountFormInputsCanada & JSXBase.HTMLAttributes<HTMLBankAccountFormInputsCanadaElement>;
|
|
4257
|
+
"bank-account-read-only-value": LocalJSX.BankAccountReadOnlyValue & JSXBase.HTMLAttributes<HTMLBankAccountReadOnlyValueElement>;
|
|
4150
4258
|
"business-details-core": LocalJSX.BusinessDetailsCore & JSXBase.HTMLAttributes<HTMLBusinessDetailsCoreElement>;
|
|
4151
4259
|
"business-documents-on-file": LocalJSX.BusinessDocumentsOnFile & JSXBase.HTMLAttributes<HTMLBusinessDocumentsOnFileElement>;
|
|
4152
4260
|
"card-form": LocalJSX.CardForm & JSXBase.HTMLAttributes<HTMLCardFormElement>;
|
|
@@ -4217,6 +4325,7 @@ declare module "@stencil/core" {
|
|
|
4217
4325
|
"justifi-dispute-response-core": LocalJSX.JustifiDisputeResponseCore & JSXBase.HTMLAttributes<HTMLJustifiDisputeResponseCoreElement>;
|
|
4218
4326
|
"justifi-duplicate-charge": LocalJSX.JustifiDuplicateCharge & JSXBase.HTMLAttributes<HTMLJustifiDuplicateChargeElement>;
|
|
4219
4327
|
"justifi-electronic-evidence": LocalJSX.JustifiElectronicEvidence & JSXBase.HTMLAttributes<HTMLJustifiElectronicEvidenceElement>;
|
|
4328
|
+
"justifi-form-address-fields": LocalJSX.JustifiFormAddressFields & JSXBase.HTMLAttributes<HTMLJustifiFormAddressFieldsElement>;
|
|
4220
4329
|
"justifi-gross-payment-chart": LocalJSX.JustifiGrossPaymentChart & JSXBase.HTMLAttributes<HTMLJustifiGrossPaymentChartElement>;
|
|
4221
4330
|
"justifi-header": LocalJSX.JustifiHeader & JSXBase.HTMLAttributes<HTMLJustifiHeaderElement>;
|
|
4222
4331
|
"justifi-identity-address-form": LocalJSX.JustifiIdentityAddressForm & JSXBase.HTMLAttributes<HTMLJustifiIdentityAddressFormElement>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,c as t,h as i,H as s}from"./p-DOjVAAtq.js";import{c as a,F as d}from"./p-DiJD6Iqx.js";import{q as r,H as c,k as n,l,n as o,z as h}from"./p-DxVCqvBt.js";import{r as f,az as b}from"./p-Dj_zevuD.js";import{S as m}from"./p-BhCH9S0e.js";import"./p-CZfYo5-1.js";import{S as u}from"./p-BIcS6lTe.js";import{c as p,J as y}from"./p-CeSmGv6o.js";import{w as v,c as k}from"./p-a6tcNl_T.js";import{P as g}from"./p-DCIW8z1f.js";import{H as _}from"./p-Dyk0thEr.js";import{n as j}from"./p-BnjCmwMr.js";import{S as w}from"./p-B5rtFhtR.js";import{B as x}from"./p-CJ9qo7_g.js";import{c as C}from"./p-DGsXKF67.js";import"./p-BFTU3MAI.js";import"./p-DfKxeSrC.js";import"./p-CPpUGsw5.js";import"./p-C7cvPZSk.js";import"./p-ty1sI-fI.js";import"./p-BS7OgSQe.js";import"./p-HXpYMWUU.js";import"./p-Cjcsf8ku.js";import"./p-CPKSE7M4.js";import"./p-BH0Xfn-F.js";import"./p-CLHwhyvu.js";import"./p-DdMxswn1.js";const V=class{constructor(i){e(this,i),this.radioClick=t(this,"radio-click"),this.checked=!1,this.hidden=!1,this.handleClick=()=>{this.radioClick.emit(this.value)}}render(){return i(m,{key:"b0501b66bcfdd697d88c01835b8f97fb2c0861ab"},i("div",{key:"ada4dda7868086b1ea4cadd6c8824f87d3cb2301",class:`radio-list-item p-3 ${this.class||""}`,part:f,onClick:this.handleClick,hidden:this.hidden},i("form-control-radio",{key:"72c6d07dd2a664ca6bd2be9b446584d7344bc2b0",name:this.name,value:this.value,checked:this.checked,label:this.label,inputHandler:()=>null})))}},H=class{constructor(t){e(this,t),this.errors={},this.inputHandler=(e,t)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[e]:t}))}}componentWillLoad(){this.formController=new d(a({name:h.required("Enter full name"),address_line1:o.nullable(),address_line2:l.nullable(),address_city:n.nullable(),address_state:c.nullable(),address_postal_code:r.nullable()}))}componentDidLoad(){this.formController.values.subscribe((e=>this.billingInfo=Object.assign({},e))),this.formController.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}async getValues(){return this.formController.values.getValue()}async fill(e){this.formController.setInitialValues(e)}async validate(){return{isValid:await this.formController.validate(),errors:this.formController.errors.getValue()}}render(){const e=this.formController.getInitialValues();return i(m,{key:"674a080063df249018a8601cea7680b06208d2fb"},i("div",{key:"c282a7c8ed0316edf0a92abd2f8c69a927c79f00",part:b,class:"mt-4"},i("form",{key:"843548c8b0239dcce2b611b215112024acfb6413"},i("fieldset",{key:"2e49050377413910e47bea94e8900f902e26b814"},this.legend&&i("legend",{key:"960da7d3f797db0517b3a14559a025a497ca3ad2"},this.legend),i("div",{key:"56636731c41c7bcaf6d4a7c3eb7e9517157c4929",class:"row gy-3"},i("div",{key:"b6028f7001044423d72a134c01a0395ade1496b8",class:"col-12"},i("form-control-text",{key:"b2fe6dc8c69cd87ac07b99f9a6619f5069f2dc5c",name:"name",label:"Full Name",defaultValue:e.name,errorText:this.errors.name,inputHandler:this.inputHandler})))))))}},O=e=>{const{isReady:t}=e;return t?null:i("div",{class:"container-fluid p-0"},i("div",{class:"row mb-3"},i("div",{class:"col-12 align-content-end"},i(u,{height:"18px",width:"120px"}),i(u,{height:"36px"}))),i("div",{class:"row"},i("div",{class:"col-12 align-content-end"},i(u,{height:"18px",width:"110px"}),i(u,{height:"36px"}))))},S=class{constructor(t){e(this,t),this.isReady=!1}async componentWillLoad(){await v(),this.iframeOrigin=k.iframeOrigin,p(),this.analytics=new y(this)}componentDidRender(){Promise.all([this.accountNumberIframeElement,this.routingNumberIframeElement].map((e=>new Promise((t=>{e.addEventListener("iframeLoaded",(()=>{t()}))}))))).then((()=>{this.isReady=!0}))}disconnectedCallback(){var e;null===(e=this.analytics)||void 0===e||e.cleanup()}async validate(){const e=await this.accountNumberIframeElement.validate(),t=await this.routingNumberIframeElement.validate();return e&&t}async tokenize({clientId:e,paymentMethodMetadata:t,account:i}){return this.accountNumberIframeElement.tokenize(e,t,i)}render(){return i(m,{key:"1396c82eb048077e956a6cfa0954c969830a3e4e"},i(O,{key:"90439488c391f7dcb62c9b3aadeeeb9e22b476fe",isReady:this.isReady}),i("hidden-input",{key:"ab5ab9990cd03e493551dae5dc18717ed144558b"}),i("div",{key:"7031dcaa20b3d017b3a3064d5e6f2e9ec5f3c3de",class:"container-fluid p-0",style:{opacity:this.isReady?"1":"0",height:this.isReady?"auto":"0"}},i("div",{key:"cf64b23918c17c525be517fa3506bc5a99de4472",class:"row mb-3"},i("iframe-input",{key:"1a0bad102f68437d751a123ab14db53d0308b02a",inputId:"accountNumber",ref:e=>this.accountNumberIframeElement=e,label:"Account Number",iframeOrigin:`${this.iframeOrigin}/v2/accountNumber`})),i("div",{key:"332cf9bc370f6bbddaf717c4debbd90bc557d808",class:"row"},i("iframe-input",{key:"878379906a0efb39c7a236941fda8d399d3a8baf",inputId:"routingNumber",ref:e=>this.routingNumberIframeElement=e,label:"Routing Number",iframeOrigin:`${this.iframeOrigin}/v2/routingNumber`}))))}},D=class{constructor(t){e(this,t)}get showSimpleCardBillingForm(){return this.paymentMethodType===g.NEW_CARD&&this.hideCardBillingForm}get showSimpleBankAccountBillingForm(){return this.paymentMethodType===g.NEW_BANK_ACCOUNT&&this.hideBankAccountBillingForm}async getValues(){var e;return null===(e=this.selectedFormRef)||void 0===e?void 0:e.getValues()}async fill(e){var t;null===(t=this.selectedFormRef)||void 0===t||t.fill(e)}async validate(){var e;return null===(e=this.selectedFormRef)||void 0===e?void 0:e.validate()}render(){return i(s,null,i(this.showSimpleBankAccountBillingForm?"justifi-bank-account-billing-form-simple":this.showSimpleCardBillingForm?"justifi-card-billing-form-simple":"justifi-billing-form-full",{legend:this.legend,ref:e=>this.selectedFormRef=e}))}},I=class{constructor(t){e(this,t),this.errors={},this.inputHandler=(e,t)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[e]:t}))}}componentWillLoad(){this.formController=new d(a({name:h.required("Enter full name"),address_line1:o.required("Enter street address"),address_line2:l.nullable(),address_city:n.required("Enter city"),address_state:c.required("Select state"),address_postal_code:r.required("Enter postal code")})),this.formController.values.subscribe((e=>this.billingInfo=Object.assign({},e))),this.formController.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}async getValues(){return this.formController.values.getValue()}async fill(e){this.formController.setInitialValues(e)}async validate(){return{isValid:await this.formController.validate(),errors:this.formController.errors.getValue()}}render(){if(!this.formController)return null;const e=this.formController.getInitialValues();return i(m,null,i("div",{part:b,class:"mt-4"},i(_,{text:"Billing address",class:"fs-6 fw-bold lh-lg mb-4"}),i("form",null,i("fieldset",null,this.legend&&i("legend",null,this.legend),i("div",{class:"row gy-3"},i("div",{class:"col-12"},i("form-control-text",{name:"name",label:"Full Name",defaultValue:e.name,errorText:this.errors.name,inputHandler:this.inputHandler})),i("div",{class:"col-12"},i("form-control-text",{name:"address_line1",label:"Street Address",defaultValue:e.address_line1,errorText:this.errors.address_line1,inputHandler:this.inputHandler})),i("div",{class:"col-12"},i("form-control-text",{name:"address_line2",label:"Apartment, Suite, etc. (optional)",defaultValue:e.address_line2,errorText:this.errors.address_line2,inputHandler:this.inputHandler})),i("div",{class:"col-12"},i("form-control-text",{name:"address_city",label:"City",defaultValue:e.address_city,errorText:this.errors.address_city,inputHandler:this.inputHandler})),i("div",{class:"col-12"},i("form-control-select",{name:"address_state",label:"State",options:w,defaultValue:e.address_state,errorText:this.errors.address_state,inputHandler:this.inputHandler})),i("div",{class:"col-12"},i("form-control-text",{name:"address_postal_code",label:"ZIP",defaultValue:e.address_postal_code,errorText:this.errors.address_postal_code,inputHandler:this.inputHandler,maxLength:5,keyDownHandler:j})))))))}},N=class{constructor(t){e(this,t),this.variant="primary",this.type="button"}render(){return i(m,{key:"101d2233002f9d316fae078dd77d43358c937291"},i(x,{key:"d7e3c0a41d862572eb47a22e3c7178e8a172d990",variant:this.variant,isLoading:this.isLoading,clickHandler:this.clickHandler,class:this.class,type:this.type,disabled:this.disabled,style:this.customStyle},this.text))}},M=class{constructor(t){e(this,t),this.errors={},this.inputHandler=(e,t)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[e]:t}))}}componentWillLoad(){this.formController=new d(a({name:h.nullable(),address_line1:o.nullable(),address_line2:l.nullable(),address_city:n.nullable(),address_state:c.nullable(),address_postal_code:r.required("Enter postal code")}))}componentDidLoad(){this.formController.values.subscribe((e=>this.billingInfo=Object.assign({},e))),this.formController.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}async getValues(){return this.formController.values.getValue()}async fill(e){this.formController.setInitialValues(e)}async validate(){return{isValid:await this.formController.validate(),errors:this.formController.errors.getValue()}}render(){const e=this.formController.getInitialValues();return i(m,{key:"f1f3be2d16211cbb384246470a495076b8cc99bf"},i("div",{key:"aabd6ec4293a89fa65e65440bcc399a3c91ccbf6",part:b},i("form",{key:"4212a38db263ec874feba69b44aa4ca53c4b6971"},i("fieldset",{key:"a669e28f6cb8974b1a6a358809c6c1c88d8dc5cb"},this.legend&&i("legend",{key:"b01fa92477ad324a059474b86835ad984addd48f"},this.legend),i("div",{key:"6c1f9a93de580ce2d931aedae3083e015b8e5f07",class:"row gy-3"},i("div",{key:"bbc6ba15ce56756db54338cd114376d57a9c6546",class:"col-12"},i("form-control-text",{key:"74848920343434f7677d8454b7bf0ec0e8055427",name:"address_postal_code",label:"ZIP",defaultValue:e.address_postal_code,errorText:this.errors.address_postal_code,inputHandler:this.inputHandler,maxLength:5,keyDownHandler:j})))))))}},B=e=>{const{isReady:t}=e;return t?null:i("div",{class:"container-fluid p-0"},i("div",{class:"mb-3"},i(u,{height:"18px",width:"100px"}),i(u,{height:"36px"})),i("div",{class:"row"},i("div",{class:"col-4 align-content-end"},i(u,{height:"18px",width:"80px"}),i(u,{height:"36px"})),i("div",{class:"col-4 align-content-end"},i(u,{height:"36px"})),i("div",{class:"col-4 align-content-end"},i(u,{height:"18px",width:"30px"}),i(u,{height:"36px"}))))},L=class{constructor(t){e(this,t),this.isReady=!1}async componentWillLoad(){await v(),this.iframeOrigin=k.iframeOrigin,p(),this.analytics=new y(this)}componentDidRender(){Promise.all([this.cardNumberIframeElement,this.expirationMonthIframeElement,this.expirationYearIframeElement,this.cvvIframeElement].map((e=>new Promise((t=>{e.addEventListener("iframeLoaded",(()=>{t()}))}))))).then((()=>{this.isReady=!0}))}disconnectedCallback(){var e;null===(e=this.analytics)||void 0===e||e.cleanup()}async validate(){const e=await this.cardNumberIframeElement.validate(),t=await this.expirationMonthIframeElement.validate(),i=await this.expirationYearIframeElement.validate(),s=await this.cvvIframeElement.validate();return e&&t&&i&&s}async tokenize({clientId:e,paymentMethodMetadata:t,account:i}){return this.cardNumberIframeElement.tokenize(e,t,i)}render(){return i(m,{key:"def25049fc30e1755194750bad8ebff0c578dac2"},i(B,{key:"81a0ec8218a76e51962fac0e8f628b243bd6d33e",isReady:this.isReady}),i("hidden-input",{key:"6145fba4b8164ff1cec1d1b5707063cdf26faa82"}),i("div",{key:"febcd1d5dbbde0216d7286842f35d58984f3c292",class:"container-fluid p-0",style:{opacity:this.isReady?"1":"0",height:this.isReady?"auto":"0"}},i("div",{key:"6e305988144bd44753ab202b29de295cc3dd7b20",class:"mb-3"},i("iframe-input",{key:"79348433ff2860a30d387b9a64c258a91c220363",inputId:"cardNumber",ref:e=>this.cardNumberIframeElement=e,label:"Card Number",iframeOrigin:`${this.iframeOrigin}/v2/cardNumber`})),i("div",{key:"11eee27f7aa34c120aed348acd1fc51e46b77628",class:"row"},i("div",{key:"0bb1153c58433514b889fe20d9cf77c7b7f8b867",class:"col-4 align-content-end"},i("iframe-input",{key:"f07c79907822a83cbc29eb4748f952b1a2079990",inputId:"expirationMonth",ref:e=>this.expirationMonthIframeElement=e,label:"Expiration",iframeOrigin:`${this.iframeOrigin}/v2/expirationMonth`})),i("div",{key:"6c2e81715c918978f688d00ae960f2673e092248",class:"col-4 align-content-end"},i("iframe-input",{key:"96d3656d4a26f96889ab5c6569e0144a76293627",inputId:"expirationYear",ref:e=>this.expirationYearIframeElement=e,label:"",iframeOrigin:`${this.iframeOrigin}/v2/expirationYear`})),i("div",{key:"e186614da2a5ef5836e251ac1f8f247c18cff7e6",class:"col-4 align-content-end"},i("iframe-input",{key:"d9f6c2d2f669fde22b18845a47f5bdeb8a62abe7",inputId:"CVV",ref:e=>this.cvvIframeElement=e,label:"CVV",iframeOrigin:`${this.iframeOrigin}/v2/CVV`})))))}},P=class{constructor(i){e(this,i),this.checkboxChanged=t(this,"checkboxChanged"),this.label="Save New Payment Method",this.isChecked=!1,this.handleCheckboxChange=(e,t)=>{this.isChecked=t,C.savePaymentMethod=t,this.checkboxChanged.emit(this.isChecked)}}render(){return i(m,{key:"e40e77b8ef70b343c870a4cb0b6cf3fa51543ff9"},i("form-control-checkbox",{key:"1429e670405e0d43eef2d3b5ed2d071db339129d",label:this.label||"Save New Payment Method",name:"saveNewPaymentMethod",checked:this.isChecked,inputHandler:this.handleCheckboxChange}))}};export{H as justifi_bank_account_billing_form_simple,S as justifi_bank_account_form,D as justifi_billing_form,I as justifi_billing_form_full,N as justifi_button,M as justifi_card_billing_form_simple,L as justifi_card_form,V as justifi_radio_list_item,P as justifi_save_new_payment_method}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as t,r as e,c as s}from"./p-DOjVAAtq.js";import{c as r,a as i,F as o}from"./p-DiJD6Iqx.js";import{f as n}from"./p-BS7OgSQe.js";import"./p-a6tcNl_T.js";import{C as a,a as u}from"./p-Cjcsf8ku.js";import{R as l,k as h}from"./p-CPKSE7M4.js";import"./p-CLHwhyvu.js";import"./p-B5rtFhtR.js";import"./p-BH0Xfn-F.js";import{B as m}from"./p-CJ9qo7_g.js";import{S as c}from"./p-BhCH9S0e.js";import"./p-CZfYo5-1.js";import{P as p}from"./p-DqPvh0aN.js";import{m as d}from"./p-BwBb2Opu.js";import{c as f,J as v}from"./p-CeSmGv6o.js";import{g as j,a as y}from"./p-D2muobcE.js";import{A as b}from"./p-ty1sI-fI.js";import{S as w}from"./p-BIcS6lTe.js";import"./p-BFTU3MAI.js";import"./p-HXpYMWUU.js";import"./p-DdMxswn1.js";import"./p-Dj_zevuD.js";import"./p-C7cvPZSk.js";const S=t=>{const e=+t;return i().required("Amount is required").test("max-amount",`Refund amount cannot be more than payment amount: ${n(e)}`,(function(t){return+t<=+e})).test("min-amount","Refund amount must be greater than 0",(function(t){return+t>0}))},g=t=>{if(t)return r({amount:S(t),description:i().optional(),reason:i().optional().oneOf([l.customerRequest,l.duplicate,l.fraudulent],"Select a reason")})},C=[{label:"Select a reason",value:""},{label:"Customer requested a refund",value:"customer_request"},{label:"Customer was double-charged",value:"duplicate"},{label:"Payment was reported as fraud",value:"fraudulent"}],x=b();class A{async postRefund(t,e,s,r){return x.post({endpoint:`payments/${t}/refunds`,headers:{"Sub-Account":e},body:r,authToken:s})}}const B=()=>t("div",{class:"row gap-3"},t("div",{class:"col-12"},t(w,{width:"100%",height:"40px"}))),I=()=>t(c,null,t("div",{class:"row gap-5"},t(B,null),t(B,null),t(B,null))),T=class{constructor(t){e(this,t),this.errorEvent=s(this,"error-event"),this.submitEvent=s(this,"submit-event"),this.refundPayload={},this.displayAmount="",this.errors={},this.paymentLoading=!0,this.refundLoading=!1,this.hideSubmitButton=!1,this.inputHandler=(t,e)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[t]:e}))}}componentWillLoad(){f(),this.analytics=new v(this),this.initializeApi(),this.formController=new o(g())}handleError(t,e,s){this.errorEvent.emit({errorCode:t,message:e,severity:s})}checkAmount(t){return t>0}handleInvalidAmount(){this.submitDisabled=!0,this.handleError(u.INVALID_REFUND_AMOUNT,"Refund amount must be greater than 0",a.ERROR)}initializeFormController(){const t=this.refundPayload.amount,e=t?t.toString():"0";this.formController=new o(g(e)),this.formController.setInitialValues({amount:e}),this.formController.values.subscribe((t=>{this.refundPayload=Object.assign({},t)})),this.formController.errors.subscribe((t=>{this.errors=Object.assign({},t)}))}initializeApi(){this.paymentId&&this.authToken?d({id:this.paymentId,authToken:this.authToken,service:new p})({onSuccess:({payment:t})=>{this.refundPayload=new h({amount:t.amount_refundable})},onError:({error:t,code:e,severity:s})=>{this.handleError(e,t,s)},final:()=>{this.checkAmount(this.refundPayload.amount)?this.initializeFormController():this.handleInvalidAmount(),this.paymentLoading=!1}}):this.handleError(u.MISSING_PROPS,"Payment ID and Auth Token are required",a.ERROR)}async refundPayment(t){if(t&&t.preventDefault(),!await this.formController.validate())return;const e=(({authToken:t,accountId:e,paymentId:s,service:r})=>async({refundBody:i,onSuccess:o,onError:n,final:u})=>{var l;try{const u=await r.postRefund(s,e,t,i);if(u.error)return n({error:y(u.error),code:j(null===(l=u.error)||void 0===l?void 0:l.code),severity:a.ERROR});o(u)}catch(t){const e=j(null==t?void 0:t.code);return n({error:t.message||t,code:e,severity:a.ERROR})}finally{return u()}})({authToken:this.authToken,accountId:this.accountId,paymentId:this.paymentId,service:new A}),s=this.formController.values.getValue();return this.refundLoading=!0,new Promise((t=>{let r;e({refundBody:s,onSuccess:t=>{r=t},onError:({error:t,code:e,severity:s})=>{r=t,this.handleError(t,e,s)},final:()=>{this.submitEvent.emit({response:r}),this.submitDisabled=!0,this.refundLoading=!1,t(r.data)}})}))}render(){if(this.paymentLoading)return t(I,null);const e=this.formController.getInitialValues(),s=this.refundPayload.amount;return t(c,null,t("form",null,t("fieldset",null,t("div",{class:"row gy-3"},t("div",{class:"col-12"},t("form-control-monetary",{name:"amount",label:"Refund Amount",defaultValue:e.amount,inputHandler:this.inputHandler,errorText:this.errors.amount})),t("div",{class:"col-12"},t("form-control-select",{name:"reason",label:"Reason for refund (optional)",defaultValue:e.reason,inputHandler:this.inputHandler,options:C,errorText:this.errors.reason})),t("div",{class:"col-12"},t("form-control-textarea",{name:"description",label:"Note (optional)",defaultValue:e.description,inputHandler:this.inputHandler,maxLength:250,errorText:this.errors.description})),t("div",{class:"form-group d-flex flex-row-reverse"},t(m,{variant:"primary",type:"submit",onClick:this.refundPayment.bind(this),isLoading:this.paymentLoading||this.refundLoading,hidden:this.hideSubmitButton,disabled:this.submitDisabled},`Refund ${n(+s)}`))))))}};export{T as justifi_refund_payment}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as a}from"./p-DOjVAAtq.js";import{u as t,a as s,b as l}from"./p-C77ElQ41.js";import{P as i,I as o}from"./p-CVaOFfrI.js";import{G as d,l as r,U as c,_ as n}from"./p-Dj_zevuD.js";import{c as f}from"./p-DfKxeSrC.js";import"./p-B5rtFhtR.js";const b=class{constructor(a){e(this,a),this.isEditingIdentification=!1,this.inputHandler=(e,a)=>{t(this.formController,{[e]:a})},this.onAddressFormUpdate=e=>{s(this.formController,Object.assign(Object.assign({},this.formController.values.getValue().address),e))}}render(){var e,s,b,u,m,h,p,v,y;return a("form",{key:"7f2a20427197ce4f402c1b4b859839d506613769"},a("fieldset",{key:"fe71959a012c1961b6f91d98862ca4ea9411bf6d"},a("div",{key:"801fb53d33eeff75f82552da84210abfb1daa55d",class:"d-flex align-items-center gap-2"},a("legend",{key:"63486b252a7c4f71e944712a833a2edc762c1692",class:"mb-0",part:d},"Representative"),a("form-control-tooltip",{key:"9a22a232bb856c05ca8c75a0255ea8a2b33b8a80",helpText:"The representative for your business needs to be someone who has significant control over managing your business’s finance. You will have an opportunity to add owners later in the form."})),a("hr",{key:"b29a6dcd41991b2874cb64fc3cd058f3bcf10a48",class:"mt-2"}),a("div",{key:"52e2b29c6f915f50e1f33c19363657e657355b85",class:"row gy-3"},a("div",{key:"9531872c804ef3713c0778c6bff1d3ca589bb3d5",class:"col-12 col-md-8"},a("form-control-text",{key:"d1eedf80da0790767a6c294f084c4b9d4112b9cf",name:"name",label:"Full Name",defaultValue:null===(e=this.representativeDefaultValue)||void 0===e?void 0:e.name,errorText:this.errors.name,inputHandler:this.inputHandler})),a("div",{key:"b5effb996c7b97cd5a8815781474ea32e5bc37b6",class:"col-12 col-md-4"},a("form-control-text",{key:"554a6fe90a0c68a32ae7e6b0401e43a8a2d6c7fe",name:"title",label:"Title",defaultValue:null===(s=this.representativeDefaultValue)||void 0===s?void 0:s.title,errorText:this.errors.title,inputHandler:this.inputHandler,helpText:"Role at your business, e.g. President, CEO, Treasurer."})),a("div",{key:"6025d1b2b67120a9e9e25d0a6e3e352651759c62",class:"col-12 col-md-6"},a("form-control-text",{key:"ed758eafa726ee6801c16535fbba7d05886c21d5",name:"email",label:"Email Address",defaultValue:null===(b=this.representativeDefaultValue)||void 0===b?void 0:b.email,errorText:this.errors.email,inputHandler:this.inputHandler})),a("div",{key:"933650753a5fdc6f75db658baf536ce4033e0e6c",class:"col-12 col-md-6"},a("form-control-number-masked",{key:"81ba9debb6c8fd8225c67a0c0a6b8612e87fc3f0",name:"phone",label:"Phone Number",defaultValue:null===(u=this.representativeDefaultValue)||void 0===u?void 0:u.phone,errorText:this.errors.phone,inputHandler:this.inputHandler,mask:i.US})),a("div",{key:"913c766d6eb5fe5f132eafecba91145a6c418dae",class:"col-12 col-md-4"},a("form-control-date",{key:"c50e5ad2022906d753b783e7892be8322d80661c",name:"dob_full",label:"Birth Date",defaultValue:null===(m=this.representativeDefaultValue)||void 0===m?void 0:m.dob_full,errorText:this.errors.dob_full,inputHandler:this.inputHandler,onFormControlInput:e=>l(e,this.formController),helpText:"Must be 18 or older."})),a("div",{key:"74492ad88a4962c2abfd04319880edb757d78796",class:"col-12 col-md-8"},!(null===(h=this.representativeDefaultValue)||void 0===h?void 0:h.ssn_last4)||this.isEditingIdentification?a("form-control-number-masked",{name:"identification_number",label:f[this.country].idNumberLabel,defaultValue:this.isEditingIdentification?"":null===(p=this.representativeDefaultValue)||void 0===p?void 0:p.identification_number,errorText:this.errors.identification_number,inputHandler:this.inputHandler,mask:o[this.country],helpText:f[this.country].identityHelpText}):a("div",null,a("label",{class:"form-label",part:r},f[this.country].idNumberLabel),a("div",{class:"input-group mb-3"},a("input",{type:"text",class:"form-control",part:c,value:`****${null===(v=this.representativeDefaultValue)||void 0===v?void 0:v.ssn_last4}`,disabled:!0}),a("button",{class:"btn btn-secondary",type:"button",part:n,onClick:()=>{this.isEditingIdentification=!0,t(this.formController,{ssn_last4:null,identification_number:""})}},"Change")))),a("div",{key:"ad29d30e0748004e9c0d429804210f269581ff12",class:"col-12"},a("justifi-identity-address-form",{key:"aaad43f4c150cf08cbdd321a887eaadc51436c88",errors:this.errors.address,defaultValues:null===(y=this.representativeDefaultValue)||void 0===y?void 0:y.address,handleFormUpdate:this.onAddressFormUpdate,country:this.country})))))}};export{b as justifi_business_representative_form_inputs}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,c as s,h as t}from"./p-DOjVAAtq.js";import{S as e}from"./p-BhCH9S0e.js";import"./p-CZfYo5-1.js";import{c as i,J as o}from"./p-CeSmGv6o.js";import{d as a}from"./p-BRbqaU66.js";import"./p-a6tcNl_T.js";import"./p-HXpYMWUU.js";import{C as n,a as p}from"./p-Cjcsf8ku.js";import{i as c}from"./p-CPKSE7M4.js";import"./p-CLHwhyvu.js";import"./p-B5rtFhtR.js";import"./p-BH0Xfn-F.js";import{g as m,a as h}from"./p-D2muobcE.js";import{A as d}from"./p-ty1sI-fI.js";import"./p-C7cvPZSk.js";import"./p-Dj_zevuD.js";import"./p-BS7OgSQe.js";import"./p-Bm8T-MOQ.js";import"./p-DdMxswn1.js";const l=d();class u{async fetchTerminalOrders(r,s,t){return l.get({endpoint:"terminals/orders",params:t,headers:{account:r},authToken:s})}}const j=class{constructor(t){r(this,t),this.errorEvent=s(this,"error-event"),this.errorMessage=null,this.columns=a,this.handleErrorEvent=r=>{this.errorMessage=r.detail.message,this.errorEvent.emit(r.detail)}}componentWillLoad(){i(),this.analytics=new o(this),this.initializeGetData()}disconnectedCallback(){var r;null===(r=this.analytics)||void 0===r||r.cleanup()}initializeGetData(){this.accountId&&this.authToken?this.getTerminalOrders=(({id:r,authToken:s,service:t})=>async({params:e,onSuccess:i,onError:o,final:a})=>{var p,d;try{const a=await t.fetchTerminalOrders(r,s,e);if(a.error)return o({error:h(a.error),code:m(null===(d=a.error)||void 0===d?void 0:d.code),severity:n.ERROR});{const r=Object.assign({},a.page_info);i({terminalOrders:(null===(p=a.data)||void 0===p?void 0:p.map((r=>new c(r))))||[],pagingInfo:r})}}catch(r){const s=m(null==r?void 0:r.code);return o({error:r.message||r,code:s,severity:n.ERROR})}finally{return a()}})({id:this.accountId,authToken:this.authToken,service:new u}):(this.errorMessage="Account ID and Auth Token are required",this.errorEvent.emit({errorCode:p.MISSING_PROPS,message:this.errorMessage,severity:n.ERROR}))}render(){return t(e,{key:"95be94d72e803e3c8449d1f39efe6cc6a7252f36"},t("terminal-orders-list-core",{key:"7f610bc41818b1e9050c91557cb2561e41438a3d",getTerminalOrders:this.getTerminalOrders,"onError-event":this.handleErrorEvent,columns:this.columns}))}};export{j as justifi_terminal_orders_list}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as a}from"./p-DOjVAAtq.js";import{l as t}from"./p-Bde7dY9t.js";import{f as s,p as d,c as i}from"./p-C2JJBtMc.js";import{f as
|
|
1
|
+
import{r as e,h as a}from"./p-DOjVAAtq.js";import{l as t}from"./p-Bde7dY9t.js";import{f as s,p as d,c as i}from"./p-C2JJBtMc.js";import{f as c,g as l,t as r,h as p,j as f,k as o}from"./p-Dj_zevuD.js";import{S as n}from"./p-BhCH9S0e.js";import"./p-CZfYo5-1.js";import{c as b,a as m}from"./p-BS7OgSQe.js";import"./p-BFTU3MAI.js";import"./p-DdMxswn1.js";import"./p-HXpYMWUU.js";const u=class{constructor(a){e(this,a),this.setParamsOnChange=(e,a)=>{s[e]=a},this.handleDateInput=(e,a)=>{const t=b(a,{setExactTime:!0});this.setParamsOnChange(e,t)}}componentWillLoad(){this.debouncedSetParamsOnChange=t.debounce(this.setParamsOnChange,300),Object.entries({payment_id:this.paymentId,terminal_id:this.terminalId,payment_status:this.paymentStatus,created_after:this.createdAfter,created_before:this.createdBefore}).forEach((([e,a])=>{a&&(d[e]=a)}))}get paymentStatusOptions(){return[{label:"All",value:""},{label:"Pending",value:"pending"},{label:"Authorized",value:"authorized"},{label:"Succeeded",value:"succeeded"},{label:"Failed",value:"failed"},{label:"Disputed",value:"disputed"},{label:"Refunded",value:"refunded"}]}render(){const e=Object.assign({},s);return a(n,{key:"0adcc6585575f955f2da15bcff6aee5f86e4d5ac"},a("table-filters-menu",{key:"c18193011732c8a20a8428d58d02dc3c6f8ccdd1",params:e,clearParams:i,part:c},a("div",{key:"4ae0b3c0941e539e5a83256abcb8b09173931838",class:"grid-cols-2 gap-3 p-1"},a("div",{key:"b6cce3bc50c382bf1a00496bab05e8d9145fd8e3",class:"p-2"},a("form-control-text",{key:"b64ad1aef1e61d0659ea1940d1799f14710412e6",name:"payment_id",label:"Payment ID",inputHandler:this.debouncedSetParamsOnChange,defaultValue:this.paymentId||s.payment_id,disabled:!!this.paymentId,part:l})),a("div",{key:"298e6738733cceb0b62a05676f295cb8c6ef0750",class:"p-2"},a("form-control-text",{key:"c3a5b4333be0c4d330869cbe8b4148c2ff676e43",name:"terminal_id",label:"Terminal ID",inputHandler:this.debouncedSetParamsOnChange,defaultValue:this.terminalId||s.terminal_id,disabled:!!this.terminalId,part:r})),a("div",{key:"3963977c199426f2c8c9a99ed2d6da89874a9a43",class:"p-2"},a("form-control-select",{key:"8800c5cc708d493a1d07469ec61252ce3e3f3a24",name:"payment_status",label:"Status",options:this.paymentStatusOptions,inputHandler:this.setParamsOnChange,defaultValue:this.paymentStatus||s.payment_status||"",disabled:!!this.paymentStatus,part:p})),a("div",{key:"64fbcb0188aa796929bd29bb43193f613c0c7449",class:"p-2"},a("form-control-date",{key:"dfbec3d2cdae9fcd06769bebf27829ca2665849f",name:"created_after",label:"Created After",inputHandler:this.handleDateInput,defaultValue:m(this.createdAfter,{showInputDateTime:!0})||m(s.created_after,{showInputDateTime:!0}),showTime:!0,disabled:!!this.createdAfter,part:f})),a("div",{key:"8ef26354ecc90302685d0c131dcbef482ab3e4c3",class:"p-2"},a("form-control-date",{key:"612e747ed2d5576db931892640080103f67deece",name:"created_before",label:"Created Before",inputHandler:this.handleDateInput,defaultValue:m(this.createdBefore,{showInputDateTime:!0})||m(s.created_before,{showInputDateTime:!0}),showTime:!0,disabled:!!this.createdBefore,part:o})))))}};export{u as justifi_payments_list_filters}
|