@justifi/webcomponents 6.1.0 → 6.2.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{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-C7b-OLb5.js → check-pkg-version-W_AFeiO6.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-BHmdO9eK.js → package-BADgkv50.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-xM0uWxbL.js → check-pkg-version-CG8qzhGl.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-DL-q4EcN.js → package-yiqa5abX.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-0926c397.entry.js +1 -0
- package/dist/webcomponents/p-09aaaf03.entry.js +1 -0
- package/dist/webcomponents/p-0b36f1a8.entry.js +1 -0
- package/dist/webcomponents/p-10537b60.entry.js +1 -0
- package/dist/webcomponents/p-164fe6d3.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-cff5dd60.entry.js → p-2ebc8539.entry.js} +1 -1
- package/dist/webcomponents/p-30848456.entry.js +1 -0
- package/dist/webcomponents/p-3b43f8c0.entry.js +1 -0
- package/dist/webcomponents/p-4a0f34de.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-4e57359c.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-5de4d9e4.entry.js +1 -0
- package/dist/webcomponents/p-5fcfedb2.entry.js +1 -0
- package/dist/webcomponents/p-6190fbb7.entry.js +1 -0
- package/dist/webcomponents/p-620ec409.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-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-760e739c.entry.js +1 -0
- package/dist/webcomponents/p-81099469.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-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-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-D5Jb9OcR.js → p-DfsX5bt_.js} +1 -1
- 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-aa51c9e6.entry.js +1 -0
- package/dist/webcomponents/p-af31dc6d.entry.js +1 -0
- package/dist/webcomponents/p-b4b5dd24.entry.js +1 -0
- package/dist/webcomponents/p-b4bb6fa6.entry.js +1 -0
- package/dist/webcomponents/p-b72794e3.entry.js +1 -0
- package/dist/webcomponents/p-be0cbdf9.entry.js +1 -0
- package/dist/webcomponents/p-c4d919be.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-cfd3035e.entry.js +1 -0
- package/dist/webcomponents/p-d7558874.entry.js +1 -0
- package/dist/webcomponents/p-d8c2cea4.entry.js +1 -0
- package/dist/webcomponents/p-e2ab3f61.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-ef8ac9f4.entry.js +1 -0
- package/dist/webcomponents/p-f4a1d3da.entry.js +1 -0
- package/dist/webcomponents/p-f72f67ef.entry.js +1 -0
- package/dist/webcomponents/p-fcb185fd.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/p-yiqa5abX.js +1 -0
- 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-0256af65.entry.js +0 -1
- package/dist/webcomponents/p-0af5269e.entry.js +0 -1
- package/dist/webcomponents/p-0f47f052.entry.js +0 -1
- package/dist/webcomponents/p-28a3bf32.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-30856338.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-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-5b5d7a8f.entry.js +0 -1
- package/dist/webcomponents/p-5bd3d86e.entry.js +0 -1
- package/dist/webcomponents/p-66db858a.entry.js +0 -1
- package/dist/webcomponents/p-720a2324.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-84551ee4.entry.js +0 -1
- package/dist/webcomponents/p-854b3db0.entry.js +0 -1
- package/dist/webcomponents/p-85a2eac6.entry.js +0 -1
- package/dist/webcomponents/p-8663e8bd.entry.js +0 -1
- package/dist/webcomponents/p-89f6ad8f.entry.js +0 -1
- package/dist/webcomponents/p-8S_ROmnq.js +0 -1
- package/dist/webcomponents/p-8ca21fab.entry.js +0 -1
- package/dist/webcomponents/p-8cebc84b.entry.js +0 -1
- package/dist/webcomponents/p-8f8dfd4b.entry.js +0 -1
- package/dist/webcomponents/p-94237472.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-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-DL-q4EcN.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-a5c70eee.entry.js +0 -1
- package/dist/webcomponents/p-aa14cc74.entry.js +0 -1
- package/dist/webcomponents/p-ae7054bf.entry.js +0 -1
- package/dist/webcomponents/p-ae8ae5bb.entry.js +0 -1
- package/dist/webcomponents/p-b095c781.entry.js +0 -1
- package/dist/webcomponents/p-b36adce3.entry.js +0 -1
- package/dist/webcomponents/p-b612d870.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-be05d450.entry.js +0 -1
- package/dist/webcomponents/p-c089fb5f.entry.js +0 -1
- package/dist/webcomponents/p-ce652ff9.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-d7f91c48.entry.js +0 -1
- package/dist/webcomponents/p-d84f0122.entry.js +0 -1
- package/dist/webcomponents/p-e55a161f.entry.js +0 -1
- package/dist/webcomponents/p-e6be4e19.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-f930acaa.entry.js +0 -1
- package/dist/webcomponents/p-fe8c2243.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,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{h as t,r as e,c as a}from"./p-DOjVAAtq.js";import{c as i}from"./p-a6tcNl_T.js";import"./p-HXpYMWUU.js";import{C as s,a as o}from"./p-Cjcsf8ku.js";import{h as r}from"./p-CPKSE7M4.js";import{p as c}from"./p-CLHwhyvu.js";import"./p-B5rtFhtR.js";import"./p-BH0Xfn-F.js";import{c as n,J as d}from"./p-DfsX5bt_.js";import{g as h,a as p}from"./p-D2muobcE.js";import{P as l}from"./p-BT473_5I.js";import{T as f,l as u,a as m,b,c as y,d as _,e as w,f as j,g as T,h as v,i as g,j as k,k as D}from"./p-UUJudj_5.js";import{S as C}from"./p-BhCH9S0e.js";import{T as S}from"./p-CZfYo5-1.js";import{a as I}from"./p-BS7OgSQe.js";import{S as P,T as E}from"./p-Dj_zevuD.js";import"./p-DdMxswn1.js";import"./p-yiqa5abX.js";import"./p-ty1sI-fI.js";import"./p-CVtpEQBE.js";const q={id:()=>t("th",{part:P,scope:"col",title:"The unique identifier of each transaction"},"ID"),account_id:()=>t("th",{part:P,scope:"col",title:"The unique identifier of the account associated with each transaction"},"Account ID"),payout_id:()=>t("th",{part:P,scope:"col",title:"The unique identifier of the payout associated with each transaction"},"Payout ID"),financial_transaction_id:()=>t("th",{part:P,scope:"col",title:"The unique identifier of the financial transaction associated with the payment balance transaction"},"Financial Transaction ID"),amount:()=>t("th",{part:P,scope:"col",title:"The dollar amount of each transaction"},"Amount"),fee:()=>t("th",{part:P,scope:"col",title:"The fee associated with each transaction"},"Fee"),net:()=>t("th",{part:P,scope:"col",title:"The net amount of each transaction"},"Net"),currency:()=>t("th",{part:P,scope:"col",title:"The currency of each transaction"},"Currency"),description:()=>t("th",{part:P,scope:"col",title:"The description of each transaction"},"Description"),source_id:()=>t("th",{part:P,scope:"col",title:"The unique identifier of the source object associated with the payment balance transaction"},"Source ID"),txn_type:()=>t("th",{part:P,scope:"col",title:"The type of each transaction"},"Type"),created_at:()=>t("th",{part:P,scope:"col",title:"The date and time each transaction was made"},"Processed On"),available_on:()=>t("th",{part:P,scope:"col",title:"The date and time each transaction will be available"},"Available On"),updated_at:()=>t("th",{part:P,scope:"col",title:"The date and time each transaction was last updated"},"Updated On")},O={fee:"Fee",payment:"Payment",payout:"Payout",seller_payment_refund:"Seller Payment Refund",dispute_amount_collected:"Dispute Amount Collected",dispute_fee_collected:"Dispute Fee Collected",seller_payment:"Seller Payment",transfer:"Transfer",partner_platform_proceeds_credit:"Partner Platform Proceeds Credit"},A={id:e=>t("td",{part:E(e.id)},e.id),account_id:e=>t("td",{part:E(e.account_id)},e.account_id),payout_id:e=>t("td",{part:E(e.payout_id)},e.payout_id),financial_transaction_id:e=>t("td",{part:E(e.financial_transaction_id)},e.financial_transaction_id),amount:e=>t("td",{part:E(e.amount)},e.formattedPaymentAmount(e.amount)),fee:e=>t("td",{part:E(e.fee)},e.formattedPaymentAmount(e.fee)),net:e=>t("td",{part:E(e.net)},e.formattedPaymentAmount(e.net)),currency:e=>t("td",{part:E(e.currency)},e.currency),description:e=>t("td",{part:E(e.description)},e.description),source_id:e=>t("td",{part:E(e.source_id)},e.source_id),txn_type:e=>t("td",{part:E(e.txn_type)},O[e.txn_type]),created_at:e=>t("td",{part:E(e.created_at)},t("div",{class:"fw-bold"},I(e.created_at,{showDisplayDate:!0})),t("div",{class:"fw-bold"},I(e.created_at,{showTime:!0}))),available_on:e=>t("td",{part:E(e.available_on)},t("div",{class:"fw-bold"},I(e.available_on,{showDisplayDate:!0})),t("div",{class:"fw-bold"},I(e.available_on,{showTime:!0}))),updated_at:e=>t("td",{part:E(e.updated_at)},t("div",{class:"fw-bold"},I(e.updated_at,{showDisplayDate:!0})),t("div",{class:"fw-bold"},I(e.updated_at,{showTime:!0})))},x=class{constructor(t){e(this,t),this.clickEvent=a(this,"click-event"),this.errorEvent=a(this,"error-event"),this.balanceTransactions=[],this.isLoading=!0,this.errorMessage=null,this.paging=c,this.pagingParams={},this.columns="created_at,txn_type,description,amount,fee,net",this.handleClickPrevious=t=>{this.pagingParams={before_cursor:t},this.clickEvent.emit({name:S.previous})},this.handleClickNext=t=>{this.pagingParams={after_cursor:t},this.clickEvent.emit({name:S.next})},this.rowClickHandler=t=>{const e=t.target.closest("tr").dataset.rowEntityId;if(!e)return;const a=this.balanceTransactions.find((t=>t.id===e));this.clickEvent.emit({name:S.row,data:a})}}componentWillLoad(){this.transactionsTable=new f(this.balanceTransactions,this.columns,q,A),n(),this.analytics=new d(this),this.initializeApi()}disconnectedCallback(){var t;null===(t=this.analytics)||void 0===t||t.cleanup()}propChanged(){this.initializeApi()}handleError(t,e,a){this.isLoading=!1,this.errorEvent.emit({errorCode:t,message:e,severity:a})}initializeApi(){this.payoutId&&this.authToken?(({accountId:t,authToken:e,service:a})=>async({params:i,onSuccess:o,onError:c,final:n})=>{var d;try{const n=await a.fetchPayoutTransactions(t,e,i);n.error?c({error:p(n.error),code:h(null===(d=n.error)||void 0===d?void 0:d.code),severity:s.ERROR}):o({balanceTransactions:n.data.map((t=>new r(t))),pagingInfo:Object.assign({},n.page_info)})}catch(t){const e=h(null==t?void 0:t.code);c({error:p(t),code:e,severity:s.ERROR})}finally{n()}})({accountId:i.accountId,authToken:this.authToken,service:new l})({params:this.requestParams,onSuccess:({balanceTransactions:t,pagingInfo:e})=>{this.balanceTransactions=t,this.paging=e,this.transactionsTable.collectionData=this.balanceTransactions},onError:({error:t,code:e,severity:a})=>{this.errorMessage=t.message,this.handleError(t,e,a)},final:()=>{this.isLoading=!1}}):(this.errorMessage="payout-id and auth-token props are required",this.handleError(o.MISSING_PROPS,this.errorMessage,s.ERROR))}get entityId(){return this.balanceTransactions.map((t=>t.id))}get showEmptyState(){return!this.isLoading&&!this.errorMessage&&this.transactionsTable.rowData.length<1}get showErrorState(){return!this.isLoading&&!!this.errorMessage}get showRowData(){return!this.showEmptyState&&!this.showErrorState&&!this.isLoading}get requestParams(){return Object.assign({payout_id:this.payoutId,limit:"15"},this.pagingParams)}render(){return t(C,{key:"9db64637291d99ace8fe5a0de8edc3053aefd974"},t(u,{key:"3b30494814b617574b58a605c85f7a8f230a70ae"},t(m,{key:"966d5ca72315c7f5e9ed427a9a460f31e8de1a3c"},t(b,{key:"aa3e49564fae46dd1a6f5e27b139ae08643e6d09"},t(y,{key:"c39ff750c941e243bdf74dd8f7281dc6e96256aa"},this.transactionsTable.columnData.map((t=>t)))),t(_,{key:"78c00d108262a447890037f9ebdcacc96e47f58a"},t(w,{key:"14c4181b5b5f162e23344df06f875b8202dd4853",columnSpan:this.transactionsTable.columnKeys.length,isLoading:this.isLoading}),t(j,{key:"9512b212d3afb4bca142b74c32968ca1b42affdc",isEmpty:this.showEmptyState,columnSpan:this.transactionsTable.columnKeys.length}),t(T,{key:"f37e7baa18a07f197bda346f1457217a61cb63df",columnSpan:this.transactionsTable.columnKeys.length,errorMessage:this.errorMessage}),this.showRowData&&this.transactionsTable.rowData.map(((e,a)=>t(v,{"data-test-id":"table-row","data-row-entity-id":this.entityId[a],onClick:this.rowClickHandler},e)))),this.paging&&t(g,{key:"059923133e682bb04bbcf2020d2437e6bf1cb38c"},t(k,{key:"123caa479d333289bb4068ca2b85e3502057e4b3"},t(D,{key:"888276973e50a1b4335b107dfc67d00abedcc11a",colSpan:this.transactionsTable.columnData.length},t("pagination-menu",{key:"e81b1dacaa7b455bcd00df82b6f2b4035dea60f8",paging:Object.assign(Object.assign({},this.paging),{handleClickPrevious:this.handleClickPrevious,handleClickNext:this.handleClickNext})})))))))}static get watchers(){return{pagingParams:["propChanged"],payoutId:["propChanged"],authToken:["propChanged"]}}};export{x as justifi_payout_transactions_list}
|