@justifi/webcomponents 6.1.0-rc.1 → 6.1.0-rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{Api-CwTLkFY4.js → Api-DqzbA2qk.js} +1 -1
- package/dist/cjs/{Business-DCRzZf0w.js → Business-DWHy_-z9.js} +299 -9
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
- package/dist/cjs/{badge-BmOSt4gS.js → badge-BJVdpSU-.js} +1 -1
- package/dist/cjs/bank-account-document-form-inputs_6.cjs.entry.js +132 -0
- package/dist/cjs/bank-account-form.cjs.entry.js +6 -6
- package/dist/cjs/{business-additional-questions-schema-DNbSH3E-.js → business-additional-questions-schema-CetDMUp7.js} +27 -5
- package/dist/cjs/business-details-core.cjs.entry.js +4 -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-Dkhqyggm.js → business.service-Bv9o99Ll.js} +2 -2
- package/dist/cjs/{button-7c2RN2yp.js → button-_YJuE8cy.js} +1 -1
- package/dist/cjs/card-form.cjs.entry.js +6 -6
- package/dist/cjs/{check-pkg-version-BURRKC_7.js → check-pkg-version-CadxBsjl.js} +3 -3
- package/dist/cjs/{checkout.service-LwZVVgP5.js → checkout.service-dLB93w3Z.js} +2 -2
- package/dist/cjs/{checkout.store-C3f3E24L.js → checkout.store-DC4yVxDj.js} +2 -3
- package/dist/cjs/checkouts-list-core.cjs.entry.js +10 -12
- package/dist/cjs/{terminal-orders-list-params-state-C4c8UZtP.js → checkouts-list-params-state-ARjo40Y9.js} +1 -1
- package/dist/cjs/{checkouts-table-BQUhZZd_.js → checkouts-table-C102WCfy.js} +2 -2
- package/dist/cjs/{config-state-B_gyIchD.js → config-state-BeZM7X7J.js} +1 -1
- package/dist/cjs/country-config-MCOhn8o3.js +68 -0
- package/dist/cjs/{custom-popper_2.cjs.entry.js → custom-popper.cjs.entry.js} +3 -23
- package/dist/cjs/{dispute.service-927Gzb0N.js → dispute.service-BmAAnNky.js} +2 -2
- package/dist/cjs/form-alert_5.cjs.entry.js +25 -15
- package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/form-control-date.cjs.entry.js +4 -4
- package/dist/cjs/{form-control-error-text-DD0dHGu8.js → form-control-error-text-DJzNQrEz.js} +1 -1
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
- package/dist/cjs/{form-control-help-text-2QwKi78M.js → form-control-help-text-DII6UDeq.js} +1 -1
- package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +6 -6
- package/dist/cjs/form-control-monetary.cjs.entry.js +5 -5
- package/dist/cjs/form-control-number-masked_3.cjs.entry.js +119 -0
- package/dist/cjs/form-control-number.cjs.entry.js +5 -5
- package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
- package/dist/cjs/{form-control-select_2.cjs.entry.js → form-control-select_3.cjs.entry.js} +25 -6
- 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-BSxp1HX0.js → get-payment-details-BHPHzSkH.js} +2 -2
- package/dist/cjs/{get-subaccounts-B31f95PR.js → get-subaccounts-Bw76aYu0.js} +3 -3
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +4 -4
- package/dist/cjs/{header-1-DMsp0XM7.js → header-1-Da7oKhXY.js} +1 -1
- package/dist/cjs/{header-3-BSvFq_IF.js → header-3-uBM_CzcP.js} +1 -1
- package/dist/cjs/hidden-input_2.cjs.entry.js +8 -8
- package/dist/cjs/{index-Dyzl8Hn6.js → index-CaAefsWD.js} +42 -31
- package/dist/cjs/{index-D1Ba20gi.js → index-D-CfIyoF.js} +1 -1
- package/dist/cjs/{index.esm-BleZSAc0.js → index.esm-ByC0D4sJ.js} +18 -17
- package/dist/cjs/{input-handlers-DYl_0IwC.js → input-handlers-D6QMwPTB.js} +2 -2
- package/dist/cjs/{insurance-state-uWOl6jJN.js → insurance-state-KJzYGtVr.js} +2 -2
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +127 -70
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +23 -24
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +10 -10
- package/dist/cjs/justifi-apple-pay.cjs.entry.js +10 -10
- package/dist/cjs/justifi-bank-account-billing-form-simple_9.cjs.entry.js +25 -26
- package/dist/cjs/justifi-business-details.cjs.entry.js +10 -12
- package/dist/cjs/justifi-business-form.cjs.entry.js +25 -21
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +15 -7
- package/dist/cjs/justifi-checkout-summary_7.cjs.entry.js +30 -24
- package/dist/cjs/justifi-checkout.cjs.entry.js +16 -15
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +7 -9
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +13 -15
- package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
- package/dist/cjs/justifi-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +9 -11
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +14 -16
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +8 -10
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +13 -15
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +28 -19
- package/dist/cjs/justifi-payment-details.cjs.entry.js +10 -12
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +39 -24
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +9 -11
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +12 -14
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payments-list.cjs.entry.js +13 -15
- package/dist/cjs/justifi-payout-details.cjs.entry.js +9 -11
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +12 -14
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +14 -16
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +13 -15
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +2 -2
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +11 -13
- package/dist/cjs/justifi-skeleton.cjs.entry.js +4 -4
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +8 -10
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +11 -13
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +7 -9
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +13 -15
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{package-Cq0M4ut-.js → package-CVxkAS_m.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +4 -4
- package/dist/cjs/payment-details-core.cjs.entry.js +14 -14
- package/dist/cjs/payment-method-option.cjs.entry.js +3 -3
- package/dist/cjs/{payment.service-DUq-W7tS.js → payment.service-DODmonNs.js} +2 -2
- package/dist/cjs/payments-list-core.cjs.entry.js +11 -13
- package/dist/cjs/{payments-list-params-state-C4c8UZtP.js → payments-list-params-state-ARjo40Y9.js} +1 -1
- package/dist/cjs/{payments-status-3iIQkoov.js → payments-status-5IzqwLep.js} +2 -2
- package/dist/cjs/{payments-table-BSHUQhM-.js → payments-table-BcZ6U6p8.js} +23 -3
- package/dist/cjs/payout-details-core.cjs.entry.js +10 -10
- package/dist/cjs/{payout.service-DoKMr8Xw.js → payout.service-Do8DxBxe.js} +2 -2
- package/dist/cjs/payouts-list-core.cjs.entry.js +11 -13
- package/dist/cjs/{payouts-list-params-state-C4c8UZtP.js → payouts-list-params-state-ARjo40Y9.js} +1 -1
- package/dist/cjs/{payouts-status-DoQbxIms.js → payouts-status-D38A6UrI.js} +2 -2
- package/dist/cjs/{payouts-table-BD_Fhz_j.js → payouts-table-Cn_cCCOY.js} +2 -2
- package/dist/cjs/{schema-validations-jek_iZ9W.js → schema-validations-0mjPveQ0.js} +46 -7
- package/dist/cjs/{skeleton-CuIMC98G.js → skeleton-DlPP4i_w.js} +1 -1
- package/dist/cjs/{spinner-CMZXdrPe.js → spinner-BNWG01hP.js} +1 -1
- package/dist/cjs/{styled-host-2KXbjOFw.js → styled-host-DSpt9LtB.js} +1 -1
- package/dist/cjs/{table-DlQCUVag.js → table-CAWBqvW5.js} +2 -2
- package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +10 -12
- package/dist/cjs/{checkouts-list-params-state-C4c8UZtP.js → terminal-orders-list-params-state-ARjo40Y9.js} +1 -1
- package/dist/cjs/{terminal-orders-table-t6XxNy_K.js → terminal-orders-table-BUA4LcEc.js} +4 -4
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
- package/dist/cjs/{terminal.service-Iyje71vN.js → terminal.service-bxQnc1JY.js} +2 -2
- package/dist/cjs/terminals-list-core.cjs.entry.js +10 -12
- package/dist/cjs/terminals-list-params-state-ARjo40Y9.js +22 -0
- package/dist/cjs/{terminals-table-BTdKRiBN.js → terminals-table-C2_M7SWl.js} +2 -2
- package/dist/cjs/{utils-FFP5ZHyE.js → utils-C6mfHWv-.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +3 -3
- package/dist/collection/api/BankAccount.js +4 -0
- package/dist/collection/api/Business.js +16 -1
- package/dist/collection/api/services/apple-pay.service.js +1 -1
- package/dist/collection/collection-manifest.json +4 -1
- package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +0 -1
- package/dist/collection/components/business-details/business-details-core.js +0 -1
- package/dist/collection/components/business-details/business-details.js +4 -4
- package/dist/collection/components/business-details/core-info-details/core-info-details.js +0 -1
- package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +0 -1
- package/dist/collection/components/business-details/owner-details/owner-details.js +0 -1
- package/dist/collection/components/business-details/representative-details/representative-details.js +0 -1
- package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +2 -2
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +36 -5
- package/dist/collection/components/business-forms/business-form/business-form.js +13 -9
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +43 -7
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +29 -8
- package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +30 -11
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +39 -17
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +49 -8
- package/dist/collection/components/business-forms/owner-form/owner-form.js +38 -14
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +2 -4
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +7 -7
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +3 -5
- 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 +8 -8
- 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 +40 -12
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +32 -7
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-documents-on-file.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +51 -13
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +32 -7
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +32 -9
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +32 -7
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +47 -9
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +35 -8
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +32 -7
- 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 +15 -16
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +37 -14
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +32 -7
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +46 -29
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +9 -11
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +41 -15
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +7 -7
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +7 -7
- 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/billing-form/billing-form.js +8 -8
- package/dist/collection/components/checkout/card-form/card-form.js +2 -2
- package/dist/collection/components/checkout/checkout.js +17 -16
- package/dist/collection/components/checkout/save-new-payment-method.js +2 -2
- package/dist/collection/components/checkout/saved-payment-method.js +3 -4
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +3 -5
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +5 -5
- package/dist/collection/components/checkouts-list/checkouts-list.js +6 -6
- package/dist/collection/components/config-provider/config-provider.js +3 -3
- package/dist/collection/components/dispute-management/dispute-management-core.js +5 -6
- package/dist/collection/components/dispute-management/dispute-management.js +5 -5
- package/dist/collection/components/dispute-management/dispute-notification.js +5 -6
- package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +4 -4
- package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +4 -4
- package/dist/collection/components/dispute-management/dispute-response/customer-details.js +4 -4
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +2 -5
- package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +6 -7
- package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +4 -4
- package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +4 -4
- package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +4 -4
- package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +4 -4
- package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +4 -4
- package/dist/collection/components/filters/table-filters-menu.js +3 -4
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -2
- package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +4 -4
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +26 -26
- package/dist/collection/components/modular-checkout/modular-checkout.js +17 -9
- package/dist/collection/components/modular-checkout/sub-components/apple-pay.js +10 -10
- package/dist/collection/components/modular-checkout/sub-components/bank-account-billing-form-simple.js +3 -3
- package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
- package/dist/collection/components/modular-checkout/sub-components/billing-form-full.js +2 -2
- package/dist/collection/components/modular-checkout/sub-components/card-billing-form-simple.js +3 -3
- 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 +9 -10
- package/dist/collection/components/modular-checkout/sub-components/sezzle-payment-method.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/summary.js +1 -1
- package/dist/collection/components/order-terminals/order-terminals.js +9 -9
- package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +10 -10
- package/dist/collection/components/payment-details/payment-details-core.js +8 -9
- package/dist/collection/components/payment-details/payment-details.js +4 -4
- package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +6 -6
- package/dist/collection/components/payments-list/payments-list-core.js +3 -4
- package/dist/collection/components/payments-list/payments-list-filters.js +12 -12
- package/dist/collection/components/payments-list/payments-list.js +6 -6
- package/dist/collection/components/payments-list/payments-table.js +21 -1
- package/dist/collection/components/payout-details/payout-details-core.js +3 -5
- package/dist/collection/components/payout-details/payout-details.js +4 -4
- package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +6 -6
- package/dist/collection/components/payouts-list/payouts-list-core.js +3 -6
- package/dist/collection/components/payouts-list/payouts-list-filters.js +6 -6
- package/dist/collection/components/payouts-list/payouts-list.js +6 -6
- package/dist/collection/components/refund-payment/refund-payment.js +7 -7
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +3 -4
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +10 -10
- package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +6 -6
- package/dist/collection/components/terminals-list/terminals-list-core.js +3 -5
- package/dist/collection/components/terminals-list/terminals-list-filters.js +7 -7
- package/dist/collection/components/terminals-list/terminals-list.js +6 -6
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +20 -20
- package/dist/collection/store/checkout.store.js +1 -2
- package/dist/collection/ui-components/custom-popper/custom-popper.js +5 -7
- package/dist/collection/ui-components/details/details.js +2 -2
- package/dist/collection/ui-components/form/form-control-checkbox.js +14 -15
- package/dist/collection/ui-components/form/form-control-date.js +17 -18
- package/dist/collection/ui-components/form/form-control-file-v2.js +13 -14
- package/dist/collection/ui-components/form/form-control-file.js +16 -17
- package/dist/collection/ui-components/form/form-control-monetary.js +15 -17
- package/dist/collection/ui-components/form/form-control-number-masked.js +16 -17
- package/dist/collection/ui-components/form/form-control-number.js +14 -15
- package/dist/collection/ui-components/form/form-control-radio.js +16 -17
- package/dist/collection/ui-components/form/form-control-select.js +14 -16
- package/dist/collection/ui-components/form/form-control-text.js +16 -18
- package/dist/collection/ui-components/form/form-control-textarea.js +16 -18
- package/dist/collection/ui-components/form/form-helpers/form-alert/form-alert.js +4 -4
- package/dist/collection/ui-components/form/form-helpers/form-control-help-text/form-control-help-text.js +4 -4
- package/dist/collection/ui-components/form/form-helpers/form-control-tooltip/form-control-tooltip.js +2 -2
- package/dist/collection/ui-components/form/hidden-input.js +1 -1
- package/dist/collection/ui-components/form/iframe-input.js +9 -9
- package/dist/collection/ui-components/pagination-menu/pagination-menu.js +3 -5
- package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +13 -14
- package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +6 -6
- package/dist/collection/ui-components/shadow-dom-components/justifi-radio-list-item.js +10 -10
- package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +9 -10
- 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 +1118 -141
- package/dist/esm/{Api-D4tj-h4P.js → Api-DLf3ihCB.js} +2 -2
- package/dist/esm/{Business-BCoP0TAV.js → Business-B5rtFhtR.js} +290 -3
- package/dist/esm/{Refund-Bc5By0lb.js → Refund-BeI1WGfx.js} +1 -1
- package/dist/esm/additional-questions-details_5.entry.js +4 -4
- package/dist/esm/{badge-ChwzCNAF.js → badge-CkfrkCoy.js} +2 -2
- package/dist/esm/bank-account-document-form-inputs_6.entry.js +125 -0
- package/dist/esm/bank-account-form.entry.js +8 -8
- package/dist/esm/{business-additional-questions-schema-C6NRHWEL.js → business-additional-questions-schema-DSvdNuI1.js} +26 -5
- package/dist/esm/business-details-core.entry.js +5 -5
- 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-CsbtEDNi.js → business.service-BIALik8Z.js} +3 -3
- package/dist/esm/{button-SAIS_5os.js → button-CuZAKl_x.js} +2 -2
- package/dist/esm/card-form.entry.js +8 -8
- package/dist/esm/{check-pkg-version-Cd_i8U0d.js → check-pkg-version-Bk5bgulF.js} +4 -4
- package/dist/esm/{checkout.service-BCkQ9pOA.js → checkout.service-DZDZBIGQ.js} +3 -3
- package/dist/esm/{checkout.store-DBvS7cVB.js → checkout.store-DwJGKabu.js} +2 -3
- package/dist/esm/checkouts-list-core.entry.js +13 -15
- package/dist/esm/{checkouts-list-params-state-C2_GlMKR.js → checkouts-list-params-state-BY5996_y.js} +1 -1
- package/dist/esm/{checkouts-table-CItEo0DU.js → checkouts-table-59DpP7zM.js} +4 -4
- package/dist/esm/{config-state-Blo0ywwc.js → config-state-C83RkI9h.js} +1 -1
- package/dist/esm/country-config-BQ4D46Lb.js +64 -0
- package/dist/esm/{custom-popper_2.entry.js → custom-popper.entry.js} +4 -23
- package/dist/esm/{dispute.service-CyLtJREK.js → dispute.service-ByJy64X7.js} +3 -3
- package/dist/esm/form-alert_5.entry.js +25 -15
- package/dist/esm/form-control-checkbox.entry.js +6 -6
- package/dist/esm/form-control-date.entry.js +5 -5
- package/dist/esm/{form-control-error-text-IXJJ4JpV.js → form-control-error-text-CjrxZorl.js} +2 -2
- package/dist/esm/form-control-file-v2_2.entry.js +6 -6
- package/dist/esm/{form-control-help-text-CuhIsM3v.js → form-control-help-text-CMUgRhUf.js} +2 -2
- package/dist/esm/form-control-help-text.entry.js +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +7 -7
- package/dist/esm/form-control-monetary.entry.js +7 -7
- package/dist/esm/form-control-number-masked_3.entry.js +115 -0
- package/dist/esm/form-control-number.entry.js +6 -6
- package/dist/esm/form-control-radio.entry.js +4 -4
- package/dist/esm/{form-control-select_2.entry.js → form-control-select_3.entry.js} +26 -8
- 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-BuT0QNOo.js → get-payment-details-B00HoaFm.js} +3 -3
- package/dist/esm/{get-subaccounts-VjY6-x_9.js → get-subaccounts-C_yzcZq_.js} +4 -4
- package/dist/esm/gross-payment-chart-core.entry.js +6 -6
- package/dist/esm/{header-1-zXsamUS3.js → header-1-BukynbFR.js} +2 -2
- package/dist/esm/{header-3-DVtaUAlf.js → header-3-D87MAyMK.js} +2 -2
- package/dist/esm/hidden-input_2.entry.js +9 -9
- package/dist/esm/{index-ZfXl6Xrm.js → index-NOsb-hYl.js} +1 -1
- package/dist/esm/{index-qipqIMyC.js → index-_b8l4IX7.js} +42 -31
- package/dist/esm/{index.esm-cYgKOXtz.js → index.esm-IWS0494Y.js} +18 -17
- package/dist/esm/{input-handlers-CX6mSvOM.js → input-handlers-D3y0TzH9.js} +1 -1
- package/dist/esm/{insurance-state-Dh9f36Qh.js → insurance-state-BjY1QRXI.js} +3 -3
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +130 -73
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +26 -27
- package/dist/esm/justifi-additional-statement_8.entry.js +11 -11
- package/dist/esm/justifi-apple-pay.entry.js +12 -12
- package/dist/esm/justifi-bank-account-billing-form-simple_9.entry.js +27 -28
- package/dist/esm/justifi-business-details.entry.js +13 -15
- package/dist/esm/justifi-business-form.entry.js +28 -24
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +16 -8
- package/dist/esm/justifi-checkout-summary_7.entry.js +33 -27
- package/dist/esm/justifi-checkout.entry.js +19 -18
- package/dist/esm/justifi-checkouts-list-filters.entry.js +10 -12
- package/dist/esm/justifi-checkouts-list.entry.js +16 -18
- package/dist/esm/justifi-config-provider.entry.js +3 -3
- package/dist/esm/justifi-details.entry.js +3 -3
- package/dist/esm/justifi-dispute-management-core.entry.js +2 -2
- package/dist/esm/justifi-dispute-management.entry.js +11 -13
- package/dist/esm/justifi-dispute-notification_3.entry.js +17 -19
- package/dist/esm/justifi-gross-payment-chart.entry.js +11 -13
- package/dist/esm/justifi-order-terminals.entry.js +16 -18
- package/dist/esm/justifi-owner-form_3.entry.js +31 -22
- package/dist/esm/justifi-payment-details.entry.js +13 -15
- package/dist/esm/justifi-payment-provisioning-core.entry.js +40 -25
- package/dist/esm/justifi-payment-provisioning.entry.js +11 -13
- package/dist/esm/justifi-payment-transactions-list.entry.js +15 -17
- package/dist/esm/justifi-payments-list-filters.entry.js +8 -8
- package/dist/esm/justifi-payments-list.entry.js +16 -18
- package/dist/esm/justifi-payout-details.entry.js +12 -14
- package/dist/esm/justifi-payout-transactions-list.entry.js +15 -17
- package/dist/esm/justifi-payouts-list-filters.entry.js +8 -8
- package/dist/esm/justifi-payouts-list.entry.js +17 -19
- package/dist/esm/justifi-refund-payment.entry.js +16 -18
- package/dist/esm/justifi-saved-payment-method.entry.js +3 -3
- package/dist/esm/justifi-season-interruption-insurance.entry.js +14 -16
- package/dist/esm/justifi-skeleton.entry.js +5 -5
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +11 -13
- package/dist/esm/justifi-terminal-orders-list.entry.js +14 -16
- package/dist/esm/justifi-terminals-list-filters.entry.js +10 -12
- package/dist/esm/justifi-terminals-list.entry.js +16 -18
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{package-BBO3I4s6.js → package-BRhnhmpB.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +5 -5
- package/dist/esm/{parts-RvUQ__Pq.js → parts-CA_TyBed.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +16 -16
- package/dist/esm/payment-method-option.entry.js +4 -4
- package/dist/esm/{payment.service-QJEmd6Nl.js → payment.service-B_NytmNz.js} +3 -3
- package/dist/esm/payments-list-core.entry.js +14 -16
- package/dist/esm/{payments-list-params-state-C2_GlMKR.js → payments-list-params-state-BY5996_y.js} +1 -1
- package/dist/esm/{payments-status-DDafc8Yr.js → payments-status-BWv1l1-e.js} +2 -2
- package/dist/esm/{payments-table-De3Jb6rY.js → payments-table-BSk36N1O.js} +25 -5
- package/dist/esm/payout-details-core.entry.js +12 -12
- package/dist/esm/{payout.service-XxyEr0rj.js → payout.service-BJQVlc_Z.js} +3 -3
- package/dist/esm/payouts-list-core.entry.js +14 -16
- package/dist/esm/{payouts-list-params-state-C2_GlMKR.js → payouts-list-params-state-BY5996_y.js} +1 -1
- package/dist/esm/{payouts-status-u1eSRz3Q.js → payouts-status-BujJlH_r.js} +2 -2
- package/dist/esm/{payouts-table-BO-MCzXj.js → payouts-table-5N7OylTW.js} +4 -4
- package/dist/esm/{schema-validations-DcR1ujuX.js → schema-validations-BFoU1cR8.js} +42 -7
- package/dist/esm/{skeleton-DtpkgjZ6.js → skeleton-C161KeYG.js} +2 -2
- package/dist/esm/{spinner-CIXUVK4F.js → spinner-UiInIFXW.js} +2 -2
- package/dist/esm/{styled-host-CbizlfAU.js → styled-host-hSGxxyFZ.js} +1 -1
- package/dist/esm/{table-DcRHK_sm.js → table-9ewYPAZH.js} +3 -3
- package/dist/esm/table-filters-menu.entry.js +4 -4
- package/dist/esm/terminal-orders-list-core.entry.js +13 -15
- package/dist/esm/{terminal-orders-list-params-state-C2_GlMKR.js → terminal-orders-list-params-state-BY5996_y.js} +1 -1
- package/dist/esm/{terminal-orders-table-9nsnrAq8.js → terminal-orders-table-BcziGGSF.js} +7 -7
- package/dist/esm/terminal-quantity-selector.entry.js +3 -3
- package/dist/esm/{terminal.service-D2oETGnk.js → terminal.service-B9MOFa2c.js} +3 -3
- package/dist/esm/terminals-list-core.entry.js +13 -15
- package/dist/esm/terminals-list-params-state-BY5996_y.js +16 -0
- package/dist/esm/{terminals-table-C6NO2m-t.js → terminals-table-BoFlvdHS.js} +4 -4
- package/dist/esm/{utils-BscIVFn8.js → utils-DeZftIgK.js} +1 -1
- package/dist/esm/{utils-_ckvHjSW.js → utils-fntGABrK.js} +2 -2
- package/dist/esm/webcomponents.js +4 -4
- package/dist/module/Business.js +290 -3
- package/dist/module/additional-questions-details2.js +1 -1
- 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 +3 -3
- 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 +10 -3
- 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-core.js +2 -2
- 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 +104 -51
- package/dist/module/business-bank-account-form-step.js +18 -5
- package/dist/module/business-core-info-form-step-core.js +24 -9
- 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 +13 -5
- package/dist/module/business-details-core2.js +1 -1
- package/dist/module/business-identity-schema.js +52 -25
- package/dist/module/business-owners-form-step-core.js +22 -15
- 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 +31 -20
- package/dist/module/business-representative-form-step.js +24 -17
- package/dist/module/business-representative.js +36 -18
- 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/checkout.store.js +1 -2
- package/dist/module/checkouts-list-core2.js +3 -3
- package/dist/module/country-config.js +64 -0
- package/dist/module/custom-popper2.js +3 -3
- package/dist/module/customer-details.js +2 -2
- package/dist/module/dispute-management-core.js +2 -2
- package/dist/module/dispute-notification.js +2 -2
- package/dist/module/dispute-response-core.js +5 -5
- package/dist/module/dispute-response.js +2 -2
- 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 +3 -3
- package/dist/module/form-control-date2.js +3 -3
- package/dist/module/form-control-file-v22.js +2 -2
- package/dist/module/form-control-file2.js +3 -3
- package/dist/module/form-control-monetary-provisioning2.js +3 -3
- package/dist/module/form-control-monetary2.js +4 -4
- package/dist/module/form-control-number-masked2.js +3 -3
- package/dist/module/form-control-number.js +3 -3
- package/dist/module/form-control-radio2.js +3 -3
- package/dist/module/form-control-select2.js +3 -3
- package/dist/module/form-control-text2.js +4 -4
- package/dist/module/form-control-textarea2.js +4 -4
- package/dist/module/form-input-masks.js +9 -3
- package/dist/module/form.js +18 -17
- package/dist/module/get-business.js +1 -1
- package/dist/module/gross-payment-chart-core2.js +2 -2
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/identity-address-form.js +17 -15
- package/dist/module/iframe-input2.js +3 -3
- package/dist/module/input-handlers.js +1 -1
- package/dist/module/justifi-apple-pay.js +3 -3
- package/dist/module/justifi-business-form.js +41 -29
- package/dist/module/justifi-button2.js +2 -2
- package/dist/module/justifi-checkout.js +7 -5
- 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-saved-payment-method.js +2 -2
- package/dist/module/justifi-skeleton.js +2 -2
- 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-details2.js +1 -1
- package/dist/module/legal-address-form-step-core.js +28 -21
- package/dist/module/legal-address-form-step.js +16 -9
- package/dist/module/legal-address-form.js +17 -14
- package/dist/module/modular-checkout.js +13 -5
- package/dist/module/owner-form-core2.js +27 -19
- package/dist/module/owner-form-inputs2.js +34 -15
- package/dist/module/owner-form.js +21 -14
- 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 +9 -9
- package/dist/module/payment-method-option.js +2 -2
- package/dist/module/payment-provisioning-core.js +106 -71
- package/dist/module/payment-provisioning-form-buttons.js +3 -3
- package/dist/module/payment-provisioning-form-steps.js +76 -55
- package/dist/module/payments-list-core2.js +23 -3
- package/dist/module/payout-details-core2.js +5 -5
- package/dist/module/payouts-list-core2.js +4 -4
- 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/sezzle-payment-method.js +1 -1
- package/dist/module/shipping-details.js +2 -2
- package/dist/module/summary.js +1 -1
- package/dist/module/table-filters-menu2.js +2 -2
- package/dist/module/terminal-orders-list-core2.js +2 -2
- package/dist/module/terminal-quantity-selector2.js +2 -2
- package/dist/module/terminals-list-core2.js +3 -3
- 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 +164 -6
- 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/payments-list/payments-table.d.ts +5 -2
- package/dist/types/components.d.ts +111 -0
- package/dist/types/stencil-public-runtime.d.ts +22 -6
- package/dist/types/store/checkout.store.d.ts +0 -1
- 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-0254c06c.entry.js +1 -0
- package/dist/webcomponents/p-047fe97f.entry.js +1 -0
- package/dist/webcomponents/p-04ca6ff0.entry.js +1 -0
- package/dist/webcomponents/p-09d53b03.entry.js +1 -0
- package/dist/webcomponents/p-0c5e2fed.entry.js +1 -0
- package/dist/webcomponents/p-0ea48603.entry.js +1 -0
- package/dist/webcomponents/p-17e9d5c0.entry.js +1 -0
- package/dist/webcomponents/p-1ab4d6aa.entry.js +1 -0
- package/dist/webcomponents/p-1cf42bc9.entry.js +1 -0
- package/dist/webcomponents/p-1e7f4b4f.entry.js +1 -0
- package/dist/webcomponents/{p-27fc3ef0.entry.js → p-22defde6.entry.js} +4 -4
- package/dist/webcomponents/{p-7c5cd118.entry.js → p-242208d9.entry.js} +1 -1
- package/dist/webcomponents/p-31ac0c3d.entry.js +1 -0
- package/dist/webcomponents/p-36e21b78.entry.js +1 -0
- package/dist/webcomponents/p-3a77a97c.entry.js +1 -0
- package/dist/webcomponents/p-40938820.entry.js +1 -0
- package/dist/webcomponents/p-40dc0c3c.entry.js +1 -0
- package/dist/webcomponents/p-42763479.entry.js +1 -0
- package/dist/webcomponents/p-430203b0.entry.js +1 -0
- package/dist/webcomponents/p-46d2d042.entry.js +1 -0
- package/dist/webcomponents/p-485516a1.entry.js +1 -0
- package/dist/webcomponents/p-4fb58ee6.entry.js +1 -0
- package/dist/webcomponents/p-54995a3d.entry.js +1 -0
- package/dist/webcomponents/p-56617fdd.entry.js +1 -0
- package/dist/webcomponents/p-592a45f6.entry.js +1 -0
- package/dist/webcomponents/p-5a044ca5.entry.js +1 -0
- package/dist/webcomponents/p-5ec18584.entry.js +1 -0
- package/dist/webcomponents/p-6122dc79.entry.js +1 -0
- package/dist/webcomponents/p-62858ba5.entry.js +1 -0
- package/dist/webcomponents/p-62b5e6cf.entry.js +1 -0
- package/dist/webcomponents/p-67dab4d9.entry.js +1 -0
- package/dist/webcomponents/p-6b791b1d.entry.js +1 -0
- package/dist/webcomponents/{p-a71a5e64.entry.js → p-6ea75d39.entry.js} +1 -1
- package/dist/webcomponents/p-6ebf8f11.entry.js +1 -0
- package/dist/webcomponents/p-6fdac295.entry.js +1 -0
- package/dist/webcomponents/p-724cf90f.entry.js +1 -0
- package/dist/webcomponents/p-7ecca5fe.entry.js +1 -0
- package/dist/webcomponents/p-7ecf9bd0.entry.js +1 -0
- package/dist/webcomponents/p-850dd606.entry.js +1 -0
- package/dist/webcomponents/p-85af9d78.entry.js +1 -0
- package/dist/webcomponents/p-931003fc.entry.js +1 -0
- package/dist/webcomponents/p-9367e7e6.entry.js +1 -0
- package/dist/webcomponents/p-9c114674.entry.js +1 -0
- package/dist/webcomponents/p-9c267692.entry.js +1 -0
- package/dist/webcomponents/p-B5rtFhtR.js +1 -0
- package/dist/webcomponents/{p-c4Mh3ZZ_.js → p-BPDMo6us.js} +1 -1
- package/dist/webcomponents/p-BRhnhmpB.js +1 -0
- package/dist/webcomponents/{p-O-hoT2Oo.js → p-BaM0JBLn.js} +1 -1
- package/dist/webcomponents/{p-CaxjN6Uo.js → p-BdREtifE.js} +1 -1
- package/dist/webcomponents/p-BgFM_jvF.js +1 -0
- package/dist/webcomponents/p-BqbXuOZP.js +1 -0
- package/dist/webcomponents/p-BwpdCtUc.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-RvUQ__Pq.js → p-CA_TyBed.js} +1 -1
- package/dist/webcomponents/p-CE-MNrID.js +1 -0
- package/dist/webcomponents/p-CMpATPXy.js +1 -0
- package/dist/webcomponents/{p-yH3TC3ZQ.js → p-CPpUGsw5.js} +1 -1
- package/dist/webcomponents/p-CQUZeo9r.js +1 -0
- package/dist/webcomponents/p-CSeo7WDO.js +1 -0
- package/dist/webcomponents/p-CTJ3moi4.js +1 -0
- package/dist/webcomponents/p-CVaOFfrI.js +1 -0
- package/dist/webcomponents/p-CYNcSTQA.js +1 -0
- package/dist/webcomponents/p-CevVA9qy.js +1 -0
- package/dist/webcomponents/p-CkiX8OGy.js +1 -0
- package/dist/webcomponents/{p-D--yCspA.js → p-CtWnJFtW.js} +1 -1
- package/dist/webcomponents/p-CycBoHSW.js +1 -0
- package/dist/webcomponents/p-D-RVXHwG.js +1 -0
- package/dist/webcomponents/{p-BIPdn2VU.js → p-D1Na2I0C.js} +1 -1
- package/dist/webcomponents/{p-BdLLGV9t.js → p-D2hzOOMf.js} +1 -1
- package/dist/webcomponents/p-D5lmImiz.js +1 -0
- package/dist/webcomponents/p-DMf85Fkr.js +1 -0
- package/dist/webcomponents/p-DNPS-Ypi.js +1 -0
- package/dist/webcomponents/p-DQ5V5-Jy.js +1 -0
- package/dist/webcomponents/{p-CLQx9p9q.js → p-DTwFW2k_.js} +1 -1
- package/dist/webcomponents/{p-BZ7C9duj.js → p-DWGKeoot.js} +1 -1
- package/dist/webcomponents/p-DapORSs4.js +1 -0
- package/dist/webcomponents/p-DcPNd9_D.js +1 -0
- package/dist/webcomponents/p-DfKxeSrC.js +1 -0
- package/dist/webcomponents/{p-CR9D6mKt.js → p-DiJD6Iqx.js} +1 -1
- package/dist/webcomponents/{p-D-JYHdJ7.js → p-Dkujm7_O.js} +1 -1
- package/dist/webcomponents/p-Dv1Fyrn3.js +1 -0
- package/dist/webcomponents/p-DxVCqvBt.js +1 -0
- package/dist/webcomponents/p-DzWLLt4t.js +1 -0
- package/dist/webcomponents/{p-CzPUMw00.js → p-JSXyHheQ.js} +1 -1
- package/dist/webcomponents/p-LO0pl3n2.js +1 -0
- package/dist/webcomponents/{p-BUa0YOaw.js → p-M5r2kSbf.js} +1 -1
- package/dist/webcomponents/{p-C_3N7nqh.js → p-PdQT2QcR.js} +1 -1
- package/dist/webcomponents/p-_b8l4IX7.js +2 -0
- package/dist/webcomponents/p-a2817869.entry.js +1 -0
- package/dist/webcomponents/p-a291a90c.entry.js +1 -0
- package/dist/webcomponents/p-b0bc03e6.entry.js +1 -0
- package/dist/webcomponents/{p-1b7926f6.entry.js → p-b17cb15d.entry.js} +1 -1
- package/dist/webcomponents/p-b46fe458.entry.js +1 -0
- package/dist/webcomponents/{p-3d37045d.entry.js → p-b59221a9.entry.js} +1 -1
- package/dist/webcomponents/{p-e037cdd1.entry.js → p-c1f10a84.entry.js} +1 -1
- package/dist/webcomponents/p-c2cb70c8.entry.js +1 -0
- package/dist/webcomponents/p-c540fe9d.entry.js +1 -0
- package/dist/webcomponents/{p-8975bf93.entry.js → p-c6093716.entry.js} +1 -1
- package/dist/webcomponents/p-c6e43493.entry.js +1 -0
- package/dist/webcomponents/{p-0801324e.entry.js → p-c7390115.entry.js} +1 -1
- package/dist/webcomponents/p-c780cc91.entry.js +1 -0
- package/dist/webcomponents/p-c9598246.entry.js +1 -0
- package/dist/webcomponents/p-c972a599.entry.js +1 -0
- package/dist/webcomponents/p-cc1d8649.entry.js +1 -0
- package/dist/webcomponents/p-ce4895ca.entry.js +1 -0
- package/dist/webcomponents/p-ce67282b.entry.js +1 -0
- package/dist/webcomponents/p-cef5c6e9.entry.js +1 -0
- package/dist/webcomponents/p-d21fa0c9.entry.js +1 -0
- package/dist/webcomponents/p-d236f152.entry.js +1 -0
- package/dist/webcomponents/p-d6ac11fc.entry.js +1 -0
- package/dist/webcomponents/p-e55ce6ad.entry.js +1 -0
- package/dist/webcomponents/p-f02bd076.entry.js +1 -0
- package/dist/webcomponents/{p-fUtq2xDs.js → p-fVyCeQNq.js} +1 -1
- package/dist/webcomponents/{p-DyOgQlh2.js → p-g2ubqhtv.js} +1 -1
- package/dist/webcomponents/{p-DsAwPf2y.js → p-hj8k0lRi.js} +1 -1
- package/dist/webcomponents/p-lPeK9y_X.js +1 -0
- package/dist/webcomponents/p-qUCDGWNE.js +1 -0
- package/dist/webcomponents/p-sCHf--Vc.js +1 -0
- package/dist/webcomponents/{p-BHf9IqGw.js → p-xWrhxNNk.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +0 -112
- package/dist/cjs/business-identity-schema-CclzWSOn.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/cjs/terminals-list-params-state-C4c8UZtP.js +0 -22
- package/dist/collection/components/modular-checkout/sub-components/plaid-payment-method.test.js +0 -125
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +0 -107
- package/dist/esm/business-identity-schema-D8n5dyLX.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/esm/terminals-list-params-state-C2_GlMKR.js +0 -16
- package/dist/module/helpers.js +0 -29
- package/dist/module/state-options.js +0 -244
- package/dist/types/components/modular-checkout/sub-components/plaid-payment-method.test.d.ts +0 -1
- package/dist/webcomponents/p-10278c48.entry.js +0 -1
- package/dist/webcomponents/p-108209c5.entry.js +0 -1
- package/dist/webcomponents/p-176aa079.entry.js +0 -1
- package/dist/webcomponents/p-18353682.entry.js +0 -1
- package/dist/webcomponents/p-19ccbeee.entry.js +0 -1
- package/dist/webcomponents/p-1b3b6956.entry.js +0 -1
- package/dist/webcomponents/p-1bc8da98.entry.js +0 -1
- package/dist/webcomponents/p-1c433962.entry.js +0 -1
- package/dist/webcomponents/p-1df96001.entry.js +0 -1
- package/dist/webcomponents/p-1e080811.entry.js +0 -1
- package/dist/webcomponents/p-1e87c8ed.entry.js +0 -1
- package/dist/webcomponents/p-1efc0d88.entry.js +0 -1
- package/dist/webcomponents/p-1f971a0f.entry.js +0 -1
- package/dist/webcomponents/p-2246aa69.entry.js +0 -1
- package/dist/webcomponents/p-246ef4ff.entry.js +0 -1
- package/dist/webcomponents/p-2687e615.entry.js +0 -1
- package/dist/webcomponents/p-30147031.entry.js +0 -1
- package/dist/webcomponents/p-3546a5aa.entry.js +0 -1
- package/dist/webcomponents/p-3621a429.entry.js +0 -1
- package/dist/webcomponents/p-406ba650.entry.js +0 -1
- package/dist/webcomponents/p-44d1341c.entry.js +0 -1
- package/dist/webcomponents/p-4d5c71c4.entry.js +0 -1
- package/dist/webcomponents/p-4ea83bfd.entry.js +0 -1
- package/dist/webcomponents/p-558f7967.entry.js +0 -1
- package/dist/webcomponents/p-5c477f08.entry.js +0 -1
- package/dist/webcomponents/p-613cf570.entry.js +0 -1
- package/dist/webcomponents/p-68329f16.entry.js +0 -1
- package/dist/webcomponents/p-6fe79f16.entry.js +0 -1
- package/dist/webcomponents/p-7131211a.entry.js +0 -1
- package/dist/webcomponents/p-7aeb20d2.entry.js +0 -1
- package/dist/webcomponents/p-80b1c65b.entry.js +0 -1
- package/dist/webcomponents/p-84043580.entry.js +0 -1
- package/dist/webcomponents/p-906fdf0c.entry.js +0 -1
- package/dist/webcomponents/p-90e43440.entry.js +0 -1
- package/dist/webcomponents/p-914e168d.entry.js +0 -1
- package/dist/webcomponents/p-91c1e2ac.entry.js +0 -1
- package/dist/webcomponents/p-95348ff6.entry.js +0 -1
- package/dist/webcomponents/p-9f04cac4.entry.js +0 -1
- package/dist/webcomponents/p-B-iV5cYd.js +0 -1
- package/dist/webcomponents/p-B4idKqyn.js +0 -1
- package/dist/webcomponents/p-BBO3I4s6.js +0 -1
- package/dist/webcomponents/p-BX8GieXu.js +0 -1
- package/dist/webcomponents/p-BY2p6Sxk.js +0 -1
- package/dist/webcomponents/p-BguBT6Hn.js +0 -1
- package/dist/webcomponents/p-BlJnA265.js +0 -1
- package/dist/webcomponents/p-Bp_QFeog.js +0 -1
- package/dist/webcomponents/p-Bvp7uul3.js +0 -1
- package/dist/webcomponents/p-C1xGBPma.js +0 -1
- package/dist/webcomponents/p-C3n7-tlg.js +0 -1
- package/dist/webcomponents/p-CPVN4dXS.js +0 -1
- package/dist/webcomponents/p-CQeex56P.js +0 -1
- package/dist/webcomponents/p-CU4XQ3fO.js +0 -1
- package/dist/webcomponents/p-CYBR4K2p.js +0 -1
- package/dist/webcomponents/p-CpKvg1ok.js +0 -1
- package/dist/webcomponents/p-CrQgyTRz.js +0 -1
- package/dist/webcomponents/p-CxzFvTgf.js +0 -1
- package/dist/webcomponents/p-D6XirF21.js +0 -1
- package/dist/webcomponents/p-DCMrHeJI.js +0 -1
- package/dist/webcomponents/p-DH8F0bsw.js +0 -1
- package/dist/webcomponents/p-DSP8qjHL.js +0 -1
- package/dist/webcomponents/p-DbX0g1WF.js +0 -1
- package/dist/webcomponents/p-De8UloOS.js +0 -1
- package/dist/webcomponents/p-Dt-vy9Le.js +0 -1
- package/dist/webcomponents/p-DvZcI6pC.js +0 -1
- package/dist/webcomponents/p-DyDHaG6n.js +0 -1
- package/dist/webcomponents/p-IG_KR8zP.js +0 -1
- package/dist/webcomponents/p-PgEzcvI6.js +0 -1
- package/dist/webcomponents/p-Xv8DuU3Y.js +0 -1
- package/dist/webcomponents/p-a0a0e200.entry.js +0 -1
- package/dist/webcomponents/p-a57c1400.entry.js +0 -1
- package/dist/webcomponents/p-a90b8b93.entry.js +0 -1
- package/dist/webcomponents/p-acb0f3ae.entry.js +0 -1
- package/dist/webcomponents/p-b0a36936.entry.js +0 -1
- package/dist/webcomponents/p-ba5b1c54.entry.js +0 -1
- package/dist/webcomponents/p-c16c0cbc.entry.js +0 -1
- package/dist/webcomponents/p-c9fef3e4.entry.js +0 -1
- package/dist/webcomponents/p-df7f36aa.entry.js +0 -1
- package/dist/webcomponents/p-e035a92e.entry.js +0 -1
- package/dist/webcomponents/p-e2a38ad0.entry.js +0 -1
- package/dist/webcomponents/p-e628a0c8.entry.js +0 -1
- package/dist/webcomponents/p-e6516014.entry.js +0 -1
- package/dist/webcomponents/p-e6e96be2.entry.js +0 -1
- package/dist/webcomponents/p-e79338f9.entry.js +0 -1
- package/dist/webcomponents/p-e97dee15.entry.js +0 -1
- package/dist/webcomponents/p-eafd179b.entry.js +0 -1
- package/dist/webcomponents/p-f5c3f489.entry.js +0 -1
- package/dist/webcomponents/p-f739a98d.entry.js +0 -1
- package/dist/webcomponents/p-f8c22c77.entry.js +0 -1
- package/dist/webcomponents/p-fa14b671.entry.js +0 -1
- package/dist/webcomponents/p-ffe01f1b.entry.js +0 -1
- package/dist/webcomponents/p-oGKW57R8.js +0 -1
- package/dist/webcomponents/p-qipqIMyC.js +0 -2
- package/dist/webcomponents/p-xY5RkFuA.js +0 -1
|
@@ -15,6 +15,7 @@ import { DisputeEvidenceDocument } from "./api/DisputeEvidenceDocument";
|
|
|
15
15
|
import { DisputeResponseFormStep } from "./components/dispute-management/dispute-response/dispute-response-form-types";
|
|
16
16
|
import { ApplePayButtonStyle, ApplePayButtonType, IApplePayToken } from "./api/ApplePay";
|
|
17
17
|
import { BillingFormFields } from "./components/checkout/billing-form/billing-form-schema";
|
|
18
|
+
import { CountryCode } from "./utils/country-codes";
|
|
18
19
|
import { FormController } from "./ui-components/form/form";
|
|
19
20
|
import { Dispute, IDispute } from "./api/Dispute";
|
|
20
21
|
import { CheckoutChangedEventDetail, SelectedPaymentMethod } from "./components/modular-checkout/ModularCheckout";
|
|
@@ -32,6 +33,7 @@ export { DisputeEvidenceDocument } from "./api/DisputeEvidenceDocument";
|
|
|
32
33
|
export { DisputeResponseFormStep } from "./components/dispute-management/dispute-response/dispute-response-form-types";
|
|
33
34
|
export { ApplePayButtonStyle, ApplePayButtonType, IApplePayToken } from "./api/ApplePay";
|
|
34
35
|
export { BillingFormFields } from "./components/checkout/billing-form/billing-form-schema";
|
|
36
|
+
export { CountryCode } from "./utils/country-codes";
|
|
35
37
|
export { FormController } from "./ui-components/form/form";
|
|
36
38
|
export { Dispute, IDispute } from "./api/Dispute";
|
|
37
39
|
export { CheckoutChangedEventDetail, SelectedPaymentMethod } from "./components/modular-checkout/ModularCheckout";
|
|
@@ -58,6 +60,16 @@ export namespace Components {
|
|
|
58
60
|
"formDisabled": boolean;
|
|
59
61
|
"inputHandler": (name: string, value: string) => void;
|
|
60
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
|
+
}
|
|
61
73
|
interface BusinessDetailsCore {
|
|
62
74
|
"getBusiness": Function;
|
|
63
75
|
}
|
|
@@ -344,11 +356,13 @@ export namespace Components {
|
|
|
344
356
|
"allowOptionalFields"?: boolean;
|
|
345
357
|
"authToken": string;
|
|
346
358
|
"businessId": string;
|
|
359
|
+
"country": CountryCode;
|
|
347
360
|
"validateAndSubmit": ({ onSuccess }: { onSuccess: any; }) => Promise<void>;
|
|
348
361
|
}
|
|
349
362
|
interface JustifiBusinessBankAccountFormStepCore {
|
|
350
363
|
"allowOptionalFields"?: boolean;
|
|
351
364
|
"businessId": string;
|
|
365
|
+
"country": CountryCode;
|
|
352
366
|
"getBusiness": Function;
|
|
353
367
|
"postBankAccount": Function;
|
|
354
368
|
"postDocumentRecord": Function;
|
|
@@ -360,17 +374,20 @@ export namespace Components {
|
|
|
360
374
|
* and the other one is meant to be just read only.
|
|
361
375
|
*/
|
|
362
376
|
interface JustifiBusinessCoreInfo {
|
|
377
|
+
"country": CountryCode;
|
|
363
378
|
"formController": FormController;
|
|
364
379
|
}
|
|
365
380
|
interface JustifiBusinessCoreInfoFormStep {
|
|
366
381
|
"allowOptionalFields"?: boolean;
|
|
367
382
|
"authToken": string;
|
|
368
383
|
"businessId": string;
|
|
384
|
+
"country": CountryCode;
|
|
369
385
|
"validateAndSubmit": ({ onSuccess }: { onSuccess: any; }) => Promise<void>;
|
|
370
386
|
}
|
|
371
387
|
interface JustifiBusinessCoreInfoFormStepCore {
|
|
372
388
|
"allowOptionalFields"?: boolean;
|
|
373
389
|
"businessId": string;
|
|
390
|
+
"country": CountryCode;
|
|
374
391
|
"getBusiness": Function;
|
|
375
392
|
"patchBusiness": Function;
|
|
376
393
|
"validateAndSubmit": ({ onSuccess }: { onSuccess: any; }) => Promise<void>;
|
|
@@ -399,20 +416,24 @@ export namespace Components {
|
|
|
399
416
|
"allowOptionalFields"?: boolean;
|
|
400
417
|
"authToken": string;
|
|
401
418
|
"businessId": string;
|
|
419
|
+
"country": CountryCode;
|
|
402
420
|
"validateAndSubmit": ({ onSuccess }: { onSuccess: any; }) => Promise<void>;
|
|
403
421
|
}
|
|
404
422
|
interface JustifiBusinessOwnersFormStepCore {
|
|
405
423
|
"allowOptionalFields"?: boolean;
|
|
406
424
|
"authToken": string;
|
|
407
425
|
"businessId": string;
|
|
426
|
+
"country": CountryCode;
|
|
408
427
|
"getBusiness": Function;
|
|
409
428
|
"patchBusiness": Function;
|
|
410
429
|
"validateAndSubmit": ({ onSuccess }: { onSuccess: any; }) => Promise<void>;
|
|
411
430
|
}
|
|
412
431
|
interface JustifiBusinessRepresentative {
|
|
432
|
+
"country": CountryCode;
|
|
413
433
|
"formController": FormController;
|
|
414
434
|
}
|
|
415
435
|
interface JustifiBusinessRepresentativeFormInputs {
|
|
436
|
+
"country": CountryCode;
|
|
416
437
|
"errors": any;
|
|
417
438
|
"formController": FormController;
|
|
418
439
|
"representativeDefaultValue": any;
|
|
@@ -421,10 +442,12 @@ export namespace Components {
|
|
|
421
442
|
"allowOptionalFields"?: boolean;
|
|
422
443
|
"authToken": string;
|
|
423
444
|
"businessId": string;
|
|
445
|
+
"country"?: CountryCode;
|
|
424
446
|
"validateAndSubmit": ({ onSuccess }: { onSuccess: any; }) => Promise<void>;
|
|
425
447
|
}
|
|
426
448
|
interface JustifiBusinessRepresentativeFormStepCore {
|
|
427
449
|
"allowOptionalFields"?: boolean;
|
|
450
|
+
"country": CountryCode;
|
|
428
451
|
"getBusiness": Function;
|
|
429
452
|
"patchBusiness": Function;
|
|
430
453
|
"validateAndSubmit": ({ onSuccess }: { onSuccess: any; }) => Promise<void>;
|
|
@@ -598,6 +621,15 @@ export namespace Components {
|
|
|
598
621
|
"documentErrors": any;
|
|
599
622
|
"validateAndSubmit": (onSuccess: (formData: any, documentList: DisputeEvidenceDocument[], formStep: DisputeResponseFormStep) => void) => Promise<void>;
|
|
600
623
|
}
|
|
624
|
+
interface JustifiFormAddressFields {
|
|
625
|
+
/**
|
|
626
|
+
* @default CountryCode.USA
|
|
627
|
+
*/
|
|
628
|
+
"country": CountryCode;
|
|
629
|
+
"defaultValues": any;
|
|
630
|
+
"errors": any;
|
|
631
|
+
"inputHandler": (name: string, value: string) => void;
|
|
632
|
+
}
|
|
601
633
|
interface JustifiGrossPaymentChart {
|
|
602
634
|
"accountId": string;
|
|
603
635
|
"authToken": string;
|
|
@@ -611,21 +643,25 @@ export namespace Components {
|
|
|
611
643
|
"text": string;
|
|
612
644
|
}
|
|
613
645
|
interface JustifiIdentityAddressForm {
|
|
646
|
+
"country": CountryCode;
|
|
614
647
|
"defaultValues": any;
|
|
615
648
|
"errors": any;
|
|
616
649
|
"handleFormUpdate": (values: any) => void;
|
|
617
650
|
}
|
|
618
651
|
interface JustifiLegalAddressForm {
|
|
652
|
+
"country": CountryCode;
|
|
619
653
|
"formController": FormController;
|
|
620
654
|
}
|
|
621
655
|
interface JustifiLegalAddressFormStep {
|
|
622
656
|
"allowOptionalFields"?: boolean;
|
|
623
657
|
"authToken": string;
|
|
624
658
|
"businessId": string;
|
|
659
|
+
"country"?: CountryCode;
|
|
625
660
|
"validateAndSubmit": ({ onSuccess }: { onSuccess: any; }) => Promise<void>;
|
|
626
661
|
}
|
|
627
662
|
interface JustifiLegalAddressFormStepCore {
|
|
628
663
|
"allowOptionalFields"?: boolean;
|
|
664
|
+
"country": CountryCode;
|
|
629
665
|
"getBusiness": Function;
|
|
630
666
|
"patchBusiness": Function;
|
|
631
667
|
"validateAndSubmit": ({ onSuccess }: { onSuccess: any; }) => Promise<void>;
|
|
@@ -654,6 +690,7 @@ export namespace Components {
|
|
|
654
690
|
"allowOptionalFields"?: boolean;
|
|
655
691
|
"authToken": string;
|
|
656
692
|
"businessId"?: string;
|
|
693
|
+
"country": CountryCode;
|
|
657
694
|
"newFormOpen"?: boolean;
|
|
658
695
|
"ownerId"?: string;
|
|
659
696
|
"ownersLength"?: number;
|
|
@@ -704,6 +741,10 @@ export namespace Components {
|
|
|
704
741
|
"allowOptionalFields"?: boolean;
|
|
705
742
|
"authToken": string;
|
|
706
743
|
"businessId": string;
|
|
744
|
+
/**
|
|
745
|
+
* @default CountryCode.USA
|
|
746
|
+
*/
|
|
747
|
+
"country"?: CountryCode;
|
|
707
748
|
"currentStep": number;
|
|
708
749
|
"handleFormLoading": (e: CustomEvent) => void;
|
|
709
750
|
"refs": any[];
|
|
@@ -910,6 +951,7 @@ export namespace Components {
|
|
|
910
951
|
interface OwnerFormCore {
|
|
911
952
|
"allowOptionalFields"?: boolean;
|
|
912
953
|
"businessId"?: string;
|
|
954
|
+
"country": CountryCode;
|
|
913
955
|
"getOwner": Function;
|
|
914
956
|
"newFormOpen"?: boolean;
|
|
915
957
|
"ownerId"?: string;
|
|
@@ -923,6 +965,7 @@ export namespace Components {
|
|
|
923
965
|
"validateAndSubmit": (event: any) => Promise<void>;
|
|
924
966
|
}
|
|
925
967
|
interface OwnerFormInputs {
|
|
968
|
+
"country": CountryCode;
|
|
926
969
|
"errors": any;
|
|
927
970
|
"formController": FormController;
|
|
928
971
|
"ownerDefaultValue": any;
|
|
@@ -1293,6 +1336,18 @@ declare global {
|
|
|
1293
1336
|
prototype: HTMLBankAccountFormInputsElement;
|
|
1294
1337
|
new (): HTMLBankAccountFormInputsElement;
|
|
1295
1338
|
};
|
|
1339
|
+
interface HTMLBankAccountFormInputsCanadaElement extends Components.BankAccountFormInputsCanada, HTMLStencilElement {
|
|
1340
|
+
}
|
|
1341
|
+
var HTMLBankAccountFormInputsCanadaElement: {
|
|
1342
|
+
prototype: HTMLBankAccountFormInputsCanadaElement;
|
|
1343
|
+
new (): HTMLBankAccountFormInputsCanadaElement;
|
|
1344
|
+
};
|
|
1345
|
+
interface HTMLBankAccountReadOnlyValueElement extends Components.BankAccountReadOnlyValue, HTMLStencilElement {
|
|
1346
|
+
}
|
|
1347
|
+
var HTMLBankAccountReadOnlyValueElement: {
|
|
1348
|
+
prototype: HTMLBankAccountReadOnlyValueElement;
|
|
1349
|
+
new (): HTMLBankAccountReadOnlyValueElement;
|
|
1350
|
+
};
|
|
1296
1351
|
interface HTMLBusinessDetailsCoreElementEventMap {
|
|
1297
1352
|
"error-event": ComponentErrorEvent;
|
|
1298
1353
|
}
|
|
@@ -2152,6 +2207,12 @@ declare global {
|
|
|
2152
2207
|
prototype: HTMLJustifiElectronicEvidenceElement;
|
|
2153
2208
|
new (): HTMLJustifiElectronicEvidenceElement;
|
|
2154
2209
|
};
|
|
2210
|
+
interface HTMLJustifiFormAddressFieldsElement extends Components.JustifiFormAddressFields, HTMLStencilElement {
|
|
2211
|
+
}
|
|
2212
|
+
var HTMLJustifiFormAddressFieldsElement: {
|
|
2213
|
+
prototype: HTMLJustifiFormAddressFieldsElement;
|
|
2214
|
+
new (): HTMLJustifiFormAddressFieldsElement;
|
|
2215
|
+
};
|
|
2155
2216
|
interface HTMLJustifiGrossPaymentChartElementEventMap {
|
|
2156
2217
|
"error-event": ComponentErrorEvent;
|
|
2157
2218
|
}
|
|
@@ -2848,6 +2909,8 @@ declare global {
|
|
|
2848
2909
|
"bank-account-document-form-inputs": HTMLBankAccountDocumentFormInputsElement;
|
|
2849
2910
|
"bank-account-form": HTMLBankAccountFormElement;
|
|
2850
2911
|
"bank-account-form-inputs": HTMLBankAccountFormInputsElement;
|
|
2912
|
+
"bank-account-form-inputs-canada": HTMLBankAccountFormInputsCanadaElement;
|
|
2913
|
+
"bank-account-read-only-value": HTMLBankAccountReadOnlyValueElement;
|
|
2851
2914
|
"business-details-core": HTMLBusinessDetailsCoreElement;
|
|
2852
2915
|
"business-documents-on-file": HTMLBusinessDocumentsOnFileElement;
|
|
2853
2916
|
"card-form": HTMLCardFormElement;
|
|
@@ -2913,6 +2976,7 @@ declare global {
|
|
|
2913
2976
|
"justifi-dispute-response-core": HTMLJustifiDisputeResponseCoreElement;
|
|
2914
2977
|
"justifi-duplicate-charge": HTMLJustifiDuplicateChargeElement;
|
|
2915
2978
|
"justifi-electronic-evidence": HTMLJustifiElectronicEvidenceElement;
|
|
2979
|
+
"justifi-form-address-fields": HTMLJustifiFormAddressFieldsElement;
|
|
2916
2980
|
"justifi-gross-payment-chart": HTMLJustifiGrossPaymentChartElement;
|
|
2917
2981
|
"justifi-header": HTMLJustifiHeaderElement;
|
|
2918
2982
|
"justifi-identity-address-form": HTMLJustifiIdentityAddressFormElement;
|
|
@@ -2985,6 +3049,16 @@ declare namespace LocalJSX {
|
|
|
2985
3049
|
"formDisabled"?: boolean;
|
|
2986
3050
|
"inputHandler"?: (name: string, value: string) => void;
|
|
2987
3051
|
}
|
|
3052
|
+
interface BankAccountFormInputsCanada {
|
|
3053
|
+
"defaultValue"?: any;
|
|
3054
|
+
"errors"?: any;
|
|
3055
|
+
"formDisabled"?: boolean;
|
|
3056
|
+
"inputHandler"?: (name: string, value: string) => void;
|
|
3057
|
+
}
|
|
3058
|
+
interface BankAccountReadOnlyValue {
|
|
3059
|
+
"label"?: string;
|
|
3060
|
+
"value"?: string;
|
|
3061
|
+
}
|
|
2988
3062
|
interface BusinessDetailsCore {
|
|
2989
3063
|
"getBusiness"?: Function;
|
|
2990
3064
|
"onError-event"?: (event: BusinessDetailsCoreCustomEvent<ComponentErrorEvent>) => void;
|
|
@@ -3295,11 +3369,13 @@ declare namespace LocalJSX {
|
|
|
3295
3369
|
"allowOptionalFields"?: boolean;
|
|
3296
3370
|
"authToken"?: string;
|
|
3297
3371
|
"businessId"?: string;
|
|
3372
|
+
"country"?: CountryCode;
|
|
3298
3373
|
"onError-event"?: (event: JustifiBusinessBankAccountFormStepCustomEvent<ComponentErrorEvent1>) => void;
|
|
3299
3374
|
}
|
|
3300
3375
|
interface JustifiBusinessBankAccountFormStepCore {
|
|
3301
3376
|
"allowOptionalFields"?: boolean;
|
|
3302
3377
|
"businessId"?: string;
|
|
3378
|
+
"country"?: CountryCode;
|
|
3303
3379
|
"getBusiness"?: Function;
|
|
3304
3380
|
"onComplete-form-step-event"?: (event: JustifiBusinessBankAccountFormStepCoreCustomEvent<ComponentFormStepCompleteEvent1>) => void;
|
|
3305
3381
|
"onError-event"?: (event: JustifiBusinessBankAccountFormStepCoreCustomEvent<ComponentErrorEvent1>) => void;
|
|
@@ -3313,17 +3389,20 @@ declare namespace LocalJSX {
|
|
|
3313
3389
|
* and the other one is meant to be just read only.
|
|
3314
3390
|
*/
|
|
3315
3391
|
interface JustifiBusinessCoreInfo {
|
|
3392
|
+
"country"?: CountryCode;
|
|
3316
3393
|
"formController"?: FormController;
|
|
3317
3394
|
}
|
|
3318
3395
|
interface JustifiBusinessCoreInfoFormStep {
|
|
3319
3396
|
"allowOptionalFields"?: boolean;
|
|
3320
3397
|
"authToken"?: string;
|
|
3321
3398
|
"businessId"?: string;
|
|
3399
|
+
"country"?: CountryCode;
|
|
3322
3400
|
"onError-event"?: (event: JustifiBusinessCoreInfoFormStepCustomEvent<ComponentErrorEvent>) => void;
|
|
3323
3401
|
}
|
|
3324
3402
|
interface JustifiBusinessCoreInfoFormStepCore {
|
|
3325
3403
|
"allowOptionalFields"?: boolean;
|
|
3326
3404
|
"businessId"?: string;
|
|
3405
|
+
"country"?: CountryCode;
|
|
3327
3406
|
"getBusiness"?: Function;
|
|
3328
3407
|
"onComplete-form-step-event"?: (event: JustifiBusinessCoreInfoFormStepCoreCustomEvent<ComponentFormStepCompleteEvent>) => void;
|
|
3329
3408
|
"onError-event"?: (event: JustifiBusinessCoreInfoFormStepCoreCustomEvent<ComponentErrorEvent>) => void;
|
|
@@ -3358,12 +3437,14 @@ declare namespace LocalJSX {
|
|
|
3358
3437
|
"allowOptionalFields"?: boolean;
|
|
3359
3438
|
"authToken"?: string;
|
|
3360
3439
|
"businessId"?: string;
|
|
3440
|
+
"country"?: CountryCode;
|
|
3361
3441
|
"onError-event"?: (event: JustifiBusinessOwnersFormStepCustomEvent<ComponentErrorEvent>) => void;
|
|
3362
3442
|
}
|
|
3363
3443
|
interface JustifiBusinessOwnersFormStepCore {
|
|
3364
3444
|
"allowOptionalFields"?: boolean;
|
|
3365
3445
|
"authToken"?: string;
|
|
3366
3446
|
"businessId"?: string;
|
|
3447
|
+
"country"?: CountryCode;
|
|
3367
3448
|
"getBusiness"?: Function;
|
|
3368
3449
|
"onClick-event"?: (event: JustifiBusinessOwnersFormStepCoreCustomEvent<ComponentClickEvent>) => void;
|
|
3369
3450
|
"onComplete-form-step-event"?: (event: JustifiBusinessOwnersFormStepCoreCustomEvent<ComponentFormStepCompleteEvent>) => void;
|
|
@@ -3372,9 +3453,11 @@ declare namespace LocalJSX {
|
|
|
3372
3453
|
"patchBusiness"?: Function;
|
|
3373
3454
|
}
|
|
3374
3455
|
interface JustifiBusinessRepresentative {
|
|
3456
|
+
"country"?: CountryCode;
|
|
3375
3457
|
"formController"?: FormController;
|
|
3376
3458
|
}
|
|
3377
3459
|
interface JustifiBusinessRepresentativeFormInputs {
|
|
3460
|
+
"country"?: CountryCode;
|
|
3378
3461
|
"errors"?: any;
|
|
3379
3462
|
"formController"?: FormController;
|
|
3380
3463
|
"representativeDefaultValue"?: any;
|
|
@@ -3383,10 +3466,12 @@ declare namespace LocalJSX {
|
|
|
3383
3466
|
"allowOptionalFields"?: boolean;
|
|
3384
3467
|
"authToken"?: string;
|
|
3385
3468
|
"businessId"?: string;
|
|
3469
|
+
"country"?: CountryCode;
|
|
3386
3470
|
"onError-event"?: (event: JustifiBusinessRepresentativeFormStepCustomEvent<ComponentErrorEvent>) => void;
|
|
3387
3471
|
}
|
|
3388
3472
|
interface JustifiBusinessRepresentativeFormStepCore {
|
|
3389
3473
|
"allowOptionalFields"?: boolean;
|
|
3474
|
+
"country"?: CountryCode;
|
|
3390
3475
|
"getBusiness"?: Function;
|
|
3391
3476
|
"onComplete-form-step-event"?: (event: JustifiBusinessRepresentativeFormStepCoreCustomEvent<ComponentFormStepCompleteEvent>) => void;
|
|
3392
3477
|
"onError-event"?: (event: JustifiBusinessRepresentativeFormStepCoreCustomEvent<ComponentErrorEvent>) => void;
|
|
@@ -3568,6 +3653,15 @@ declare namespace LocalJSX {
|
|
|
3568
3653
|
*/
|
|
3569
3654
|
"documentErrors"?: any;
|
|
3570
3655
|
}
|
|
3656
|
+
interface JustifiFormAddressFields {
|
|
3657
|
+
/**
|
|
3658
|
+
* @default CountryCode.USA
|
|
3659
|
+
*/
|
|
3660
|
+
"country"?: CountryCode;
|
|
3661
|
+
"defaultValues"?: any;
|
|
3662
|
+
"errors"?: any;
|
|
3663
|
+
"inputHandler"?: (name: string, value: string) => void;
|
|
3664
|
+
}
|
|
3571
3665
|
interface JustifiGrossPaymentChart {
|
|
3572
3666
|
"accountId"?: string;
|
|
3573
3667
|
"authToken"?: string;
|
|
@@ -3582,21 +3676,25 @@ declare namespace LocalJSX {
|
|
|
3582
3676
|
"text"?: string;
|
|
3583
3677
|
}
|
|
3584
3678
|
interface JustifiIdentityAddressForm {
|
|
3679
|
+
"country"?: CountryCode;
|
|
3585
3680
|
"defaultValues"?: any;
|
|
3586
3681
|
"errors"?: any;
|
|
3587
3682
|
"handleFormUpdate"?: (values: any) => void;
|
|
3588
3683
|
}
|
|
3589
3684
|
interface JustifiLegalAddressForm {
|
|
3685
|
+
"country"?: CountryCode;
|
|
3590
3686
|
"formController"?: FormController;
|
|
3591
3687
|
}
|
|
3592
3688
|
interface JustifiLegalAddressFormStep {
|
|
3593
3689
|
"allowOptionalFields"?: boolean;
|
|
3594
3690
|
"authToken"?: string;
|
|
3595
3691
|
"businessId"?: string;
|
|
3692
|
+
"country"?: CountryCode;
|
|
3596
3693
|
"onError-event"?: (event: JustifiLegalAddressFormStepCustomEvent<ComponentErrorEvent>) => void;
|
|
3597
3694
|
}
|
|
3598
3695
|
interface JustifiLegalAddressFormStepCore {
|
|
3599
3696
|
"allowOptionalFields"?: boolean;
|
|
3697
|
+
"country"?: CountryCode;
|
|
3600
3698
|
"getBusiness"?: Function;
|
|
3601
3699
|
"onComplete-form-step-event"?: (event: JustifiLegalAddressFormStepCoreCustomEvent<ComponentFormStepCompleteEvent>) => void;
|
|
3602
3700
|
"onError-event"?: (event: JustifiLegalAddressFormStepCoreCustomEvent<ComponentErrorEvent>) => void;
|
|
@@ -3629,6 +3727,7 @@ declare namespace LocalJSX {
|
|
|
3629
3727
|
"allowOptionalFields"?: boolean;
|
|
3630
3728
|
"authToken"?: string;
|
|
3631
3729
|
"businessId"?: string;
|
|
3730
|
+
"country"?: CountryCode;
|
|
3632
3731
|
"newFormOpen"?: boolean;
|
|
3633
3732
|
"onError-event"?: (event: JustifiOwnerFormCustomEvent<ComponentErrorEvent>) => void;
|
|
3634
3733
|
"ownerId"?: string;
|
|
@@ -3682,6 +3781,10 @@ declare namespace LocalJSX {
|
|
|
3682
3781
|
"allowOptionalFields"?: boolean;
|
|
3683
3782
|
"authToken"?: string;
|
|
3684
3783
|
"businessId"?: string;
|
|
3784
|
+
/**
|
|
3785
|
+
* @default CountryCode.USA
|
|
3786
|
+
*/
|
|
3787
|
+
"country"?: CountryCode;
|
|
3685
3788
|
"currentStep"?: number;
|
|
3686
3789
|
"handleFormLoading"?: (e: CustomEvent) => void;
|
|
3687
3790
|
"refs"?: any[];
|
|
@@ -3888,6 +3991,7 @@ declare namespace LocalJSX {
|
|
|
3888
3991
|
interface OwnerFormCore {
|
|
3889
3992
|
"allowOptionalFields"?: boolean;
|
|
3890
3993
|
"businessId"?: string;
|
|
3994
|
+
"country"?: CountryCode;
|
|
3891
3995
|
"getOwner"?: Function;
|
|
3892
3996
|
"newFormOpen"?: boolean;
|
|
3893
3997
|
"onClick-event"?: (event: OwnerFormCoreCustomEvent<ComponentClickEvent>) => void;
|
|
@@ -3901,6 +4005,7 @@ declare namespace LocalJSX {
|
|
|
3901
4005
|
"removeOwner"?: (id: string) => void;
|
|
3902
4006
|
}
|
|
3903
4007
|
interface OwnerFormInputs {
|
|
4008
|
+
"country"?: CountryCode;
|
|
3904
4009
|
"errors"?: any;
|
|
3905
4010
|
"formController"?: FormController;
|
|
3906
4011
|
"ownerDefaultValue"?: any;
|
|
@@ -3981,6 +4086,8 @@ declare namespace LocalJSX {
|
|
|
3981
4086
|
"bank-account-document-form-inputs": BankAccountDocumentFormInputs;
|
|
3982
4087
|
"bank-account-form": BankAccountForm;
|
|
3983
4088
|
"bank-account-form-inputs": BankAccountFormInputs;
|
|
4089
|
+
"bank-account-form-inputs-canada": BankAccountFormInputsCanada;
|
|
4090
|
+
"bank-account-read-only-value": BankAccountReadOnlyValue;
|
|
3984
4091
|
"business-details-core": BusinessDetailsCore;
|
|
3985
4092
|
"business-documents-on-file": BusinessDocumentsOnFile;
|
|
3986
4093
|
"card-form": CardForm;
|
|
@@ -4046,6 +4153,7 @@ declare namespace LocalJSX {
|
|
|
4046
4153
|
"justifi-dispute-response-core": JustifiDisputeResponseCore;
|
|
4047
4154
|
"justifi-duplicate-charge": JustifiDuplicateCharge;
|
|
4048
4155
|
"justifi-electronic-evidence": JustifiElectronicEvidence;
|
|
4156
|
+
"justifi-form-address-fields": JustifiFormAddressFields;
|
|
4049
4157
|
"justifi-gross-payment-chart": JustifiGrossPaymentChart;
|
|
4050
4158
|
"justifi-header": JustifiHeader;
|
|
4051
4159
|
"justifi-identity-address-form": JustifiIdentityAddressForm;
|
|
@@ -4109,6 +4217,8 @@ declare module "@stencil/core" {
|
|
|
4109
4217
|
"bank-account-document-form-inputs": LocalJSX.BankAccountDocumentFormInputs & JSXBase.HTMLAttributes<HTMLBankAccountDocumentFormInputsElement>;
|
|
4110
4218
|
"bank-account-form": LocalJSX.BankAccountForm & JSXBase.HTMLAttributes<HTMLBankAccountFormElement>;
|
|
4111
4219
|
"bank-account-form-inputs": LocalJSX.BankAccountFormInputs & JSXBase.HTMLAttributes<HTMLBankAccountFormInputsElement>;
|
|
4220
|
+
"bank-account-form-inputs-canada": LocalJSX.BankAccountFormInputsCanada & JSXBase.HTMLAttributes<HTMLBankAccountFormInputsCanadaElement>;
|
|
4221
|
+
"bank-account-read-only-value": LocalJSX.BankAccountReadOnlyValue & JSXBase.HTMLAttributes<HTMLBankAccountReadOnlyValueElement>;
|
|
4112
4222
|
"business-details-core": LocalJSX.BusinessDetailsCore & JSXBase.HTMLAttributes<HTMLBusinessDetailsCoreElement>;
|
|
4113
4223
|
"business-documents-on-file": LocalJSX.BusinessDocumentsOnFile & JSXBase.HTMLAttributes<HTMLBusinessDocumentsOnFileElement>;
|
|
4114
4224
|
"card-form": LocalJSX.CardForm & JSXBase.HTMLAttributes<HTMLCardFormElement>;
|
|
@@ -4179,6 +4289,7 @@ declare module "@stencil/core" {
|
|
|
4179
4289
|
"justifi-dispute-response-core": LocalJSX.JustifiDisputeResponseCore & JSXBase.HTMLAttributes<HTMLJustifiDisputeResponseCoreElement>;
|
|
4180
4290
|
"justifi-duplicate-charge": LocalJSX.JustifiDuplicateCharge & JSXBase.HTMLAttributes<HTMLJustifiDuplicateChargeElement>;
|
|
4181
4291
|
"justifi-electronic-evidence": LocalJSX.JustifiElectronicEvidence & JSXBase.HTMLAttributes<HTMLJustifiElectronicEvidenceElement>;
|
|
4292
|
+
"justifi-form-address-fields": LocalJSX.JustifiFormAddressFields & JSXBase.HTMLAttributes<HTMLJustifiFormAddressFieldsElement>;
|
|
4182
4293
|
"justifi-gross-payment-chart": LocalJSX.JustifiGrossPaymentChart & JSXBase.HTMLAttributes<HTMLJustifiGrossPaymentChartElement>;
|
|
4183
4294
|
"justifi-header": LocalJSX.JustifiHeader & JSXBase.HTMLAttributes<HTMLJustifiHeaderElement>;
|
|
4184
4295
|
"justifi-identity-address-form": LocalJSX.JustifiIdentityAddressForm & JSXBase.HTMLAttributes<HTMLJustifiIdentityAddressFormElement>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
type CustomMethodDecorator<T> = (target: object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T> | void;
|
|
2
2
|
type UnionToIntersection<U> = (U extends any ? (x: U) => void : never) extends (x: infer I) => void ? I : never;
|
|
3
|
-
type MixinFactory = <TBase extends abstract new (...args: any[]) => any>(base: TBase) => abstract new (...args: ConstructorParameters<TBase>) => any;
|
|
4
3
|
export interface ComponentDecorator {
|
|
5
4
|
(opts?: ComponentOptions): ClassDecorator;
|
|
6
5
|
}
|
|
@@ -153,7 +152,13 @@ export interface StateDecorator {
|
|
|
153
152
|
(): PropertyDecorator;
|
|
154
153
|
}
|
|
155
154
|
export interface WatchDecorator {
|
|
156
|
-
(propName:
|
|
155
|
+
(propName: any): CustomMethodDecorator<(newValue?: any, oldValue?: any, propName?: any, ...args: any[]) => any | void>;
|
|
156
|
+
}
|
|
157
|
+
export interface PropSerializeDecorator {
|
|
158
|
+
(propName: any): CustomMethodDecorator<(newValue?: any, propName?: string, ...args: any[]) => string | null>;
|
|
159
|
+
}
|
|
160
|
+
export interface AttrDeserializeDecorator {
|
|
161
|
+
(propName: any): CustomMethodDecorator<(newValue?: any, propName?: string, ...args: any[]) => any>;
|
|
157
162
|
}
|
|
158
163
|
export interface UserBuildConditionals {
|
|
159
164
|
isDev: boolean;
|
|
@@ -235,6 +240,14 @@ export declare const State: StateDecorator;
|
|
|
235
240
|
* https://stenciljs.com/docs/reactive-data#watch-decorator
|
|
236
241
|
*/
|
|
237
242
|
export declare const Watch: WatchDecorator;
|
|
243
|
+
/**
|
|
244
|
+
* Decorator to serialize a property to an attribute string.
|
|
245
|
+
*/
|
|
246
|
+
export declare const PropSerialize: PropSerializeDecorator;
|
|
247
|
+
/**
|
|
248
|
+
* Decorator to deserialize an attribute string to a property.
|
|
249
|
+
*/
|
|
250
|
+
export declare const AttrDeserialize: AttrDeserializeDecorator;
|
|
238
251
|
export type ResolutionHandler = (elm: HTMLElement) => string | undefined | null;
|
|
239
252
|
export type ErrorHandler = (err: any, element?: HTMLElement) => void;
|
|
240
253
|
/**
|
|
@@ -351,15 +364,18 @@ export declare function readTask(task: RafCallback): void;
|
|
|
351
364
|
* Unhandled exception raised while rendering, during event handling, or lifecycles will trigger the custom event handler.
|
|
352
365
|
*/
|
|
353
366
|
export declare const setErrorHandler: (handler: ErrorHandler) => void;
|
|
367
|
+
export type MixinFactory = <TBase extends new (...args: any[]) => any>(base: TBase) => abstract new (...args: ConstructorParameters<TBase>) => any;
|
|
354
368
|
/**
|
|
355
369
|
* Compose multiple mixin classes into a single constructor.
|
|
356
370
|
* The resulting class has the combined instance types of all mixed-in classes.
|
|
357
371
|
*
|
|
358
372
|
* Example:
|
|
359
373
|
* ```
|
|
360
|
-
*
|
|
361
|
-
*
|
|
362
|
-
* const
|
|
374
|
+
* import { Mixin, MixinFactory } from '@stencil/core';
|
|
375
|
+
*
|
|
376
|
+
* const AWrap: MixinFactory = (Base) => {class A extends Base { propA = A }; return A;}
|
|
377
|
+
* const BWrap: MixinFactory = (Base) => {class B extends Base { propB = B }; return B;}
|
|
378
|
+
* const CWrap: MixinFactory = (Base) => {class C extends Base { propC = C }; return C;}
|
|
363
379
|
*
|
|
364
380
|
* class X extends Mixin(AWrap, BWrap, CWrap) {
|
|
365
381
|
* render() { return <div>{this.propA} {this.propB} {this.propC}</div>; }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as s,h as i}from"./p-_b8l4IX7.js";import{C as r,a as e}from"./p-Cjcsf8ku.js";import{c as o,J as a}from"./p-BaM0JBLn.js";import{T as n}from"./p-CSeo7WDO.js";import"./p-DMf85Fkr.js";import"./p-HXpYMWUU.js";import{e as p}from"./p-BPDMo6us.js";import"./p-CLHwhyvu.js";import"./p-B5rtFhtR.js";import"./p-BH0Xfn-F.js";import{g as h,a as c}from"./p-D2muobcE.js";import{m,S as d}from"./p-DcPNd9_D.js";import{S as u}from"./p-DTwFW2k_.js";import"./p-CZfYo5-1.js";import{d as l}from"./p-D2hzOOMf.js";import"./p-BRhnhmpB.js";import"./p-M5r2kSbf.js";import"./p-xWrhxNNk.js";import"./p-hj8k0lRi.js";import"./p-CtWnJFtW.js";import"./p-CA_TyBed.js";const j=class{constructor(i){t(this,i),this.errorEvent=s(this,"error-event"),this.errorMessage=null,this.columns=l,this.handleErrorEvent=t=>{this.errorMessage=t.detail.message,this.errorEvent.emit(t.detail)}}componentWillLoad(){o(),this.analytics=new a(this),this.initializeGetData()}disconnectedCallback(){var t;null===(t=this.analytics)||void 0===t||t.cleanup()}propChanged(){this.initializeGetData()}initializeGetData(){this.initializeGetTerminals(),this.initializeGetSubAccounts()}initializeGetTerminals(){this.accountId&&this.authToken?this.getTerminals=(({id:t,authToken:s,service:i})=>async({params:e,onSuccess:o,onError:a})=>{var n,m;try{const d=await i.fetchTerminals(t,s,e);if(d.error)return a({error:c(d.error),code:h(null===(m=d.error)||void 0===m?void 0:m.code),severity:r.ERROR});{const t=Object.assign({},d.page_info);o({terminals:(null===(n=d.data)||void 0===n?void 0:n.map((t=>new p(t))))||[],pagingInfo:t})}}catch(t){const s=h(null==t?void 0:t.code);return a({error:t.message||t,code:s,severity:r.ERROR})}})({id:this.accountId,authToken:this.authToken,service:new n}):(this.errorMessage="Account ID and Auth Token are required",this.errorEvent.emit({errorCode:e.MISSING_PROPS,message:this.errorMessage,severity:r.ERROR}))}initializeGetSubAccounts(){this.accountId&&this.authToken&&(this.getSubAccounts=m({accountId:this.accountId,authToken:this.authToken,service:new d}))}render(){return i(u,{key:"8be2d4a6da1e9e5e5dd5d86f1ef62fc693f57590"},i("terminals-list-core",{key:"69badecd6e85df42bd303637d0aa201868efa9b6",getTerminals:this.getTerminals,getSubAccounts:this.getSubAccounts,"onError-event":this.handleErrorEvent,columns:this.columns}))}static get watchers(){return{accountId:["propChanged"],authToken:["propChanged"]}}};export{j as justifi_terminals_list}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as t,H as a}from"./p-_b8l4IX7.js";import{ax as s,C as i,l as d,T as l,Z as c}from"./p-CA_TyBed.js";import{b as o,r,s as n,c as f}from"./p-CPpUGsw5.js";import{C as b,I as u,P as h}from"./p-CVaOFfrI.js";import{e as m,d as v}from"./p-B5rtFhtR.js";import{c as p}from"./p-DfKxeSrC.js";const y=class{constructor(t){e(this,t)}render(){return this.text?this.hideAlert?null:t("div",{class:"alert alert-danger d-flex align-items-center",role:"alert",part:s},t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"currentColor",class:"bi bi-exclamation-triangle-fill flex-shrink-0 me-2",viewBox:"0 0 16 16",role:"img","aria-label":"Warning:"},t("path",{d:"M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z"})),t("div",null,this.text)):null}},k=class{constructor(t){e(this,t),this.errors={},this.additional_questions={},this.inputHandler=this.inputHandler.bind(this)}componentDidLoad(){this.formController.errors.subscribe((e=>this.errors=Object.assign({},e))),this.formController.values.subscribe((e=>this.additional_questions=Object.assign({},e.additional_questions)))}inputHandler(e,t){this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{additional_questions:Object.assign(Object.assign({},this.formController.values.getValue().additional_questions),{[e]:t})}))}render(){var e,s,d,l,c,f,u,h,m,v,p,y,k,j;const x=this.formController.getInitialValues().additional_questions;return t(a,{key:"8f51222ff2a06a8636c2252a1df25803c464cd5a"},t("fieldset",{key:"c705274cb9e5cc651f8cedb5ac23714a75dca09a"},t("legend",{key:"0e865f2763c872ccd65c7d255e0a49533bf8afbe",part:i},"Additional Questions"),t("div",{key:"b5a9d2c8086820d837a6261c0fbbd1c4785e8cbe",class:"row gy-3"},t("div",{key:"b0174e926ef2726d9c1ce809d00cf8fef623207c",class:"col-12 col-md-6"},t("form-control-monetary-provisioning",{key:"5553ed9ca690b4b7a54dfe864225fb4e10987c96",name:"business_revenue",label:"What is the business' estimated annual revenue from its primary business activities?",inputHandler:this.inputHandler,errorText:null===(s=null===(e=this.errors)||void 0===e?void 0:e.additional_questions)||void 0===s?void 0:s.business_revenue,defaultValue:null==x?void 0:x.business_revenue,maskOptions:b.WHOLE})),t("div",{key:"a01e709a65772041979e7b8c057b271e26524174",class:"col-12 col-md-6"},t("form-control-monetary-provisioning",{key:"2e56403c3eb357dac7f6791e0c5fa4fca58e6cfb",name:"business_payment_volume",label:"What is the business' annual credit card & ACH volume anticipated to process?",inputHandler:this.inputHandler,errorText:null===(l=null===(d=this.errors)||void 0===d?void 0:d.additional_questions)||void 0===l?void 0:l.business_payment_volume,defaultValue:null==x?void 0:x.business_payment_volume,maskOptions:b.WHOLE})),t("div",{key:"74318a7f6fdcc265d96827e5fb02d797631b3fd5",class:"col-12"},t("form-control-select",{key:"d166c9a1951afc9e1876d078ddc026671e8e0dcc",name:"business_when_service_received",label:"On average, how long after paying will your customers typically receive their goods or services?",inputHandler:this.inputHandler,errorText:null===(f=null===(c=this.errors)||void 0===c?void 0:c.additional_questions)||void 0===f?void 0:f.business_when_service_received,options:o,defaultValue:null==x?void 0:x.business_when_service_received})),t("div",{key:"e47aefb3a2274244d3e2561da7cfecb203445f1e",class:"col-12"},t("form-control-select",{key:"33978d0af775cace90de84104f74b2d6c22ae1c0",name:"business_recurring_payments",label:"Does your business offer recurring payments?",inputHandler:this.inputHandler,errorText:null===(h=null===(u=this.errors)||void 0===u?void 0:u.additional_questions)||void 0===h?void 0:h.business_recurring_payments,options:r,defaultValue:null==x?void 0:x.business_recurring_payments})),t("div",{key:"93f996064e4055c9a81c0077a20fd878ad1a6c97",class:"col-12"},t("form-control-text",{key:"68ac25357311838b8fa9a897fbb324f45f589f5f",name:"business_recurring_payments_percentage",label:"What percent of revenue is generated from each recurring payment type offered?",inputHandler:this.inputHandler,errorText:null===(v=null===(m=this.errors)||void 0===m?void 0:m.additional_questions)||void 0===v?void 0:v.business_recurring_payments_percentage,defaultValue:null==x?void 0:x.business_recurring_payments_percentage})),t("div",{key:"f2dfe10a8ed19faa36a38a8192268813b03d454f",class:"col-12"},t("form-control-select",{key:"1d6cf56564944d8dbef4f22c403232c9b7841018",name:"business_seasonal",label:"Is this business seasonal?",inputHandler:this.inputHandler,errorText:null===(y=null===(p=this.errors)||void 0===p?void 0:p.additional_questions)||void 0===y?void 0:y.business_seasonal,options:n,defaultValue:null==x?void 0:x.business_seasonal})),t("div",{key:"fe75a54400d4614fe1d3ed9099ff5a5d3822c007",class:"col-12"},t("form-control-text",{key:"aa7609f7687a5c0666bf35119cd4af7ad4e68f89",name:"business_other_payment_details",label:"Is there anything else you would like us to know about how your customers pay the business?",inputHandler:this.inputHandler,errorText:null===(j=null===(k=this.errors)||void 0===k?void 0:k.additional_questions)||void 0===j?void 0:j.business_other_payment_details,defaultValue:null==x?void 0:x.business_other_payment_details})))))}},j=class{constructor(t){e(this,t),this.errors={},this.coreInfo={},this.isEditingTaxId=!1,this.inputHandler=this.inputHandler.bind(this)}componentDidLoad(){this.formController.values.subscribe((e=>this.coreInfo=Object.assign({},new m(e)))),this.formController.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}inputHandler(e,t){this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[e]:t}))}render(){var e,s;const o=this.formController.getInitialValues();return t(a,{key:"abe85b33019341e670263a3fabefe1c73c203a12"},t("fieldset",{key:"12eb6d4e78e56c8771d95e03fa7d8c4c9ea6478f"},t("legend",{key:"514cb38045c7d4a4a6746a3846c84013507d0691",part:i},"General Info"),t("div",{key:"30a509f2dd8ec2938dcc790d8891a917b76b91a0",class:"row gy-3"},t("div",{key:"ced24f46905abd380fd190bd56d56eba7ec65289",class:"col-12"},t("form-control-text",{key:"26e986bef6cad147cd7e5b557e27ad8e61932e54",name:"legal_name",label:"Legal Name",defaultValue:o.legal_name,errorText:this.errors.legal_name,inputHandler:this.inputHandler})),t("div",{key:"fabae43dc916ee087b73e366b01bc40fc29a4110",class:"col-12"},t("form-control-text",{key:"bf7e45fe95c0156c583c693006f4a65f2d1d6b1b",name:"doing_business_as",label:"Doing Business As (DBA)",defaultValue:o.doing_business_as,errorText:this.errors.doing_business_as,inputHandler:this.inputHandler})),t("div",{key:"12d52af1fb5dcef7382b8a36f44a048bcff5a752",class:"col-12 col-md-8"},t("form-control-select",{key:"94ea7c2438e5fbb0b85a9df5915d78791ae026ea",name:"classification",label:"Business Classification",options:f,defaultValue:o.classification,errorText:this.errors.classification,inputHandler:this.inputHandler})),t("div",{key:"90800a655ff4470ea6de9f774dcdccc95862c821",class:"col-12 col-md-4"},t("form-control-date",{key:"715436c7bf7d34ab2505b1005873ac549f351af1",name:"date_of_incorporation",label:"Date of Incorporation",defaultValue:o.date_of_incorporation,errorText:this.errors.date_of_incorporation,inputHandler:this.inputHandler})),t("div",{key:"f4502deec218f3493210ecb6b1ad19fc7cf9f28f",class:"col-12 col-md-6"},t("form-control-text",{key:"91614c8854a4b2e79fea028c1ad43ef751dacfb1",name:"industry",label:"Industry",defaultValue:o.industry,errorText:this.errors.industry,inputHandler:this.inputHandler})),t("div",{key:"9c7a45b88199e7d00673e6d569f45e2dcf3d242d",class:"col-12 col-md-6"},!(null===(e=this.coreInfo)||void 0===e?void 0:e.tax_id_last4)||this.isEditingTaxId?t("form-control-number-masked",{name:"tax_id",label:p[this.country].taxIdLabel,defaultValue:this.isEditingTaxId?"":o.tax_id,errorText:this.errors.tax_id,inputHandler:this.inputHandler,mask:u[this.country],helpText:p[this.country].taxIdHelpText}):t("div",null,t("label",{class:"form-label",part:d},p[this.country].taxIdLabel),t("div",{class:"input-group mb-3"},t("input",{type:"text",class:"form-control",part:l,value:`****${null===(s=this.coreInfo)||void 0===s?void 0:s.tax_id_last4}`,disabled:!0}),t("button",{class:"btn btn-secondary",type:"button",part:c,onClick:()=>{this.isEditingTaxId=!0,this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{tax_id:""}))}},"Change")))),t("div",{key:"d0eb145c0afde23fd1dcf7837763971b259ff260",class:"col-12"},t("form-control-text",{key:"7b2d6a1558b6be6adc87ff4109bca6e9238c2ecf",name:"website_url",label:"Website URL",defaultValue:o.website_url,errorText:this.errors.website_url,inputHandler:this.inputHandler})),t("div",{key:"eb9637448b9f9a6e4a8b8a08ad9f7f48ff56ec4f",class:"col-12 col-md-6"},t("form-control-text",{key:"1f2b0ce0c7dd02485635e8f666d59cd7ec792dbc",name:"email",label:"Email Address",defaultValue:o.email,errorText:this.errors.email,inputHandler:this.inputHandler})),t("div",{key:"46fa9ad350b8482296ce0a76db841b78efb9b83b",class:"col-12 col-md-6"},t("form-control-number-masked",{key:"9d4376e2e1d4372470ba8483f8fe1c0992267e38",name:"phone",label:"Phone Number",defaultValue:o.phone,errorText:this.errors.phone,inputHandler:this.inputHandler,mask:h.US})))))}},x=class{constructor(t){e(this,t),this.errors={},this.representative={},this.isEditingIdentification=!1,this.inputHandler=(e,t)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{representative:Object.assign(Object.assign({},this.formController.values.getValue().representative),{[e]:t})}))},this.onAddressFormUpdate=e=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{representative:Object.assign(Object.assign({},this.formController.values.getValue().representative),{address:Object.assign(Object.assign({},this.formController.values.getValue().representative.address),e)})}))},this.onDateOfBirthUpdate=e=>{const t=v(e.detail);this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{representative:Object.assign(Object.assign({},this.formController.values.getValue().representative),{dob_day:t.dob_day,dob_month:t.dob_month,dob_year:t.dob_year})}))}}get identificationNumberLabel(){var e;return(null===(e=this.representative)||void 0===e?void 0:e.ssn_last4)?p[this.country].idNumberLabelOptional:p[this.country].idNumberLabel}componentDidLoad(){this.formController.errors.subscribe((e=>this.errors=Object.assign({},e.representative))),this.formController.values.subscribe((e=>this.representative=Object.assign({},e.representative)))}render(){var e,s;const o=this.formController.getInitialValues().representative;return t(a,{key:"1ce133c6cf1804607b661953bb9d952e6dfdede7"},t("fieldset",{key:"759e0e7adc03c8814e09effd245e7c25f9fcf536"},t("legend",{key:"625eb15226d9318075c57c7e13d6b8a04686f00f",part:i},"Representative"),t("div",{key:"8b11c10cd073c3ffcb7c52f97c463b91a5609afa",class:"row gy-3"},t("div",{key:"35b0b9a741ee46dfc049ea5914dfa672e4bd64f3",class:"col-12 col-md-8"},t("form-control-text",{key:"577cb8c5911c5a8364de282ca04e75b045d6de36",name:"name",label:"Full Name",defaultValue:null==o?void 0:o.name,errorText:this.errors.name,inputHandler:this.inputHandler})),t("div",{key:"3ebaa46f7045f1db417285fe3ef9c19310dbe0c6",class:"col-12 col-md-4"},t("form-control-text",{key:"69eb59adf3da1d3d48b1d395badd4c76ac0d8383",name:"title",label:"Title",defaultValue:null==o?void 0:o.title,errorText:this.errors.title,inputHandler:this.inputHandler})),t("div",{key:"d9ee1e3a4919e5d714f34ff1417677a48101166f",class:"col-12 col-md-6"},t("form-control-text",{key:"cc6c0e28dc815985be5309de33957fcd37f53b29",name:"email",label:"Email Address",defaultValue:null==o?void 0:o.email,errorText:this.errors.email,inputHandler:this.inputHandler})),t("div",{key:"d40a0a637c921ca6e8fa4aa347369c029c4569cb",class:"col-12 col-md-6"},t("form-control-number-masked",{key:"ce15cd57570e34d14bc596c1b5f7e49d3f33ea36",name:"phone",label:"Phone Number",defaultValue:null==o?void 0:o.phone,errorText:this.errors.phone,inputHandler:this.inputHandler,mask:h.US})),t("div",{key:"1504ac209231141b564412af3719b2ab6d84e553",class:"col-12 col-md-4"},t("form-control-date",{key:"8fe92ed396ab947f439a04e2b67787725b393dcb",name:"dob_full",label:"Birth Date",defaultValue:null==o?void 0:o.dob_full,errorText:this.errors.dob_full,inputHandler:this.inputHandler,onFormControlInput:this.onDateOfBirthUpdate})),t("div",{key:"d8ee89f3f4124ebb222d99a9337db4be7ab7df61",class:"col-12 col-md-8"},!(null===(e=this.representative)||void 0===e?void 0:e.ssn_last4)||this.isEditingIdentification?t("form-control-number-masked",{name:"identification_number",label:this.identificationNumberLabel,defaultValue:this.isEditingIdentification?"":null==o?void 0:o.identification_number,errorText:this.errors.identification_number,inputHandler:this.inputHandler,mask:u[this.country],helpText:p[this.country].identityHelpText}):t("div",null,t("label",{class:"form-label",part:d},this.identificationNumberLabel),t("div",{class:"input-group mb-3"},t("input",{type:"text",class:"form-control",part:l,value:`****${null===(s=this.representative)||void 0===s?void 0:s.ssn_last4}`,disabled:!0}),t("button",{class:"btn btn-secondary",type:"button",part:c,onClick:()=>{this.isEditingIdentification=!0,this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{representative:Object.assign(Object.assign({},this.formController.values.getValue().representative),{ssn_last4:null,identification_number:""})}))}},"Change")))),t("div",{key:"54548bf9622fcc949ebd91db29cc8b877dd7652d",class:"col-12"},t("justifi-identity-address-form",{key:"9925b7d70bceb8e3d1dafc9313673a5c8a0810a0",errors:this.errors.address,defaultValues:null==o?void 0:o.address,handleFormUpdate:this.onAddressFormUpdate,country:this.country})))))}},_=class{constructor(t){e(this,t),this.errors={},this.inputHandler=this.inputHandler.bind(this)}componentDidLoad(){this.formController.errors.subscribe((e=>this.errors=Object.assign({},e))),this.formController.values.subscribe((e=>this.legal_address=Object.assign({},e.legal_address)))}inputHandler(e,t){this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{legal_address:Object.assign(Object.assign({},this.formController.values.getValue().legal_address),{[e]:t})}))}render(){var e;const s=this.formController.getInitialValues().legal_address;return t(a,{key:"0e6136a175ee0bb8708d1848ad850bd973f60c4b"},t("fieldset",{key:"2fcfb7b8cc1bf70157dbfaba7bb5df9ddd82454b"},t("legend",{key:"ce30f5e679113cceda046f142e01548a1db573a0",part:i},"Business Legal Address"),t("justifi-form-address-fields",{key:"a091d88fb62401c814458d696866de64a26a6bff",country:this.country,errors:null===(e=this.errors)||void 0===e?void 0:e.legal_address,defaultValues:s,inputHandler:this.inputHandler})))}};export{y as form_alert,k as justifi_additional_questions,j as justifi_business_core_info,x as justifi_business_representative,_ as justifi_legal_address_form}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as a}from"./p-_b8l4IX7.js";import"./p-DMf85Fkr.js";import"./p-HXpYMWUU.js";import"./p-Cjcsf8ku.js";import{I as t,a as s}from"./p-BPDMo6us.js";import"./p-CLHwhyvu.js";import"./p-B5rtFhtR.js";import"./p-BH0Xfn-F.js";import{f as l,p,c as r}from"./p-DNPS-Ypi.js";import{e as o,s as i,p as c}from"./p-CA_TyBed.js";import{S as d}from"./p-DTwFW2k_.js";import"./p-CZfYo5-1.js";import"./p-hj8k0lRi.js";import"./p-xWrhxNNk.js";const b=class{constructor(a){e(this,a),this.setParamsOnChange=(e,a)=>{l[e]=a}}componentWillLoad(){Object.entries({status:this.checkoutStatus,payment_mode:this.paymentMode}).forEach((([e,a])=>{a&&(p[e]=a)}))}get checkoutStatusOptions(){return[{label:"All",value:""},{label:"Created",value:t.created},{label:"Completed",value:t.completed},{label:"Attempted",value:t.attempted},{label:"Expired",value:t.expired}]}get checkoutPaymentModeOptions(){return[{label:"All",value:""},{label:"E-commerce",value:s.ecom},{label:"BNPL",value:s.bnpl}]}render(){const e=Object.assign({},l);return a(d,{key:"6dbdb00f79ef53a27be368d8fe4cbe2f16f2dd4f"},a("table-filters-menu",{key:"de5804ab5f58f460dbff9a271ef54c2ad36189b2",params:e,clearParams:r,part:o},a("div",{key:"3cf13c643c5bdddf18228b3e1a5c3bb1fa8888d1",class:"grid-cols-2 gap-3 p-1"},a("div",{key:"18b4c17805ab037e9cedc0deb64728d5b0678a4d",class:"p-2"},a("form-control-select",{key:"07fc0b1645bfca511e08fc6e1752405c7c07a33c",name:"status",label:"Status",options:this.checkoutStatusOptions,inputHandler:this.setParamsOnChange,defaultValue:this.checkoutStatus||l.status,disabled:!!this.checkoutStatus,part:i})),a("div",{key:"49ae4add03dc26083430ebc17b5e382a63b820b4",class:"p-2"},a("form-control-select",{key:"a5479b1e04a0d393ea9007e032453f05efaf2e68",name:"payment_mode",label:"Payment Mode",options:this.checkoutPaymentModeOptions,inputHandler:this.setParamsOnChange,defaultValue:this.paymentMode||l.payment_mode,disabled:!!this.paymentMode,part:c})))))}};export{b as justifi_checkouts_list_filters}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as t,r as s,c as e}from"./p-_b8l4IX7.js";import{c as r,a as i,F as o}from"./p-DiJD6Iqx.js";import{f as n}from"./p-xWrhxNNk.js";import"./p-DMf85Fkr.js";import{C as a,a as u}from"./p-Cjcsf8ku.js";import{R as l,j as h}from"./p-BPDMo6us.js";import"./p-CLHwhyvu.js";import"./p-B5rtFhtR.js";import"./p-BH0Xfn-F.js";import{B as m}from"./p-Dv1Fyrn3.js";import{S as p}from"./p-DTwFW2k_.js";import"./p-CZfYo5-1.js";import{P as c}from"./p-BqbXuOZP.js";import{m as d}from"./p-DapORSs4.js";import{c as f,J as j}from"./p-BaM0JBLn.js";import{g as v,a as y}from"./p-D2muobcE.js";import{A as b}from"./p-M5r2kSbf.js";import{S as w}from"./p-CE-MNrID.js";import"./p-BFTU3MAI.js";import"./p-HXpYMWUU.js";import"./p-hj8k0lRi.js";import"./p-CA_TyBed.js";import"./p-BRhnhmpB.js";const k=t=>{const s=+t;return i().required("Amount is required").test("max-amount",`Refund amount cannot be more than payment amount: ${n(s)}`,(function(t){return+t<=+s})).test("min-amount","Refund amount must be greater than 0",(function(t){return+t>0}))},x=t=>{if(t)return r({amount:k(t),description:i().optional(),reason:i().optional().oneOf([l.customerRequest,l.duplicate,l.fraudulent],"Select a reason")})},B=[{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"}],g=b();class R{async postRefund(t,s,e,r){return g.post({endpoint:`payments/${t}/refunds`,headers:{"Sub-Account":s},body:r,authToken:e})}}const C=()=>t("div",{class:"row gap-3"},t("div",{class:"col-12"},t(w,{width:"100%",height:"40px"}))),T=()=>t(p,null,t("div",{class:"row gap-5"},t(C,null),t(C,null),t(C,null))),A=class{constructor(t){s(this,t),this.errorEvent=e(this,"error-event"),this.submitEvent=e(this,"submit-event"),this.refundPayload={},this.displayAmount="",this.errors={},this.paymentLoading=!0,this.refundLoading=!1,this.hideSubmitButton=!1,this.inputHandler=(t,s)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[t]:s}))}}componentWillLoad(){f(),this.analytics=new j(this),this.initializeApi(),this.formController=new o(x())}handleError(t,s,e){this.errorEvent.emit({errorCode:t,message:s,severity:e})}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,s=t?t.toString():"0";this.formController=new o(x(s)),this.formController.setInitialValues({amount:s}),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 c})({onSuccess:({payment:t})=>{this.refundPayload=new h({amount:t.amount_refundable})},onError:({error:t,code:s,severity:e})=>{this.handleError(s,t,e)},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 s=(({authToken:t,accountId:s,paymentId:e,service:r})=>async({refundBody:i,onSuccess:o,onError:n,final:u})=>{var l;try{const u=await r.postRefund(e,s,t,i);if(u.error)return n({error:y(u.error),code:v(null===(l=u.error)||void 0===l?void 0:l.code),severity:a.ERROR});o(u)}catch(t){const s=v(null==t?void 0:t.code);return n({error:t.message||t,code:s,severity:a.ERROR})}finally{return u()}})({authToken:this.authToken,accountId:this.accountId,paymentId:this.paymentId,service:new R}),e=this.formController.values.getValue();return this.refundLoading=!0,new Promise((t=>{let r;s({refundBody:e,onSuccess:t=>{r=t},onError:({error:t,code:s,severity:e})=>{r=t,this.handleError(t,s,e)},final:()=>{this.submitEvent.emit({response:r}),this.submitDisabled=!0,this.refundLoading=!1,t(r.data)}})}))}render(){if(this.paymentLoading)return t(T,null);const s=this.formController.getInitialValues(),e=this.refundPayload.amount;return t(p,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:s.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:s.reason,inputHandler:this.inputHandler,options:B,errorText:this.errors.reason})),t("div",{class:"col-12"},t("form-control-textarea",{name:"description",label:"Note (optional)",defaultValue:s.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(+e)}`))))))}};export{A as justifi_refund_payment}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as s,h as i}from"./p-_b8l4IX7.js";import{P as r}from"./p-CMpATPXy.js";import"./p-DMf85Fkr.js";import"./p-HXpYMWUU.js";import{C as o,a as e}from"./p-Cjcsf8ku.js";import{d as p}from"./p-BPDMo6us.js";import"./p-CLHwhyvu.js";import"./p-B5rtFhtR.js";import"./p-BH0Xfn-F.js";import{g as a,a as h}from"./p-D2muobcE.js";import{E as n}from"./p-D1Na2I0C.js";import{c as m,J as c}from"./p-BaM0JBLn.js";import{m as d}from"./p-DYGIC0QH.js";import"./p-M5r2kSbf.js";import"./p-xWrhxNNk.js";import"./p-hj8k0lRi.js";import"./p-CA_TyBed.js";import"./p-BRhnhmpB.js";const u=class{constructor(i){t(this,i),this.errorEvent=s(this,"error-event"),this.errorMessage=null,this.handleErrorEvent=t=>{this.errorMessage=t.detail.message,this.errorEvent.emit(t.detail)}}componentWillLoad(){m(),this.analytics=new c(this),this.initializeServices()}disconnectedCallback(){var t;null===(t=this.analytics)||void 0===t||t.cleanup()}propChanged(){this.initializeServices()}initializeServices(){this.payoutId&&this.authToken?(this.getPayout=(({id:t,authToken:s,service:i})=>async({onSuccess:r,onError:e})=>{var n;try{const m=await i.fetchPayout(t,s);m.error?e({error:h(m.error),code:a(null===(n=m.error)||void 0===n?void 0:n.code),severity:o.ERROR}):r(new p(m.data))}catch(t){e({error:h(t),code:a(null==t?void 0:t.code),severity:o.ERROR})}})({id:this.payoutId,authToken:this.authToken,service:new r}),this.getPayoutCSV=d({authToken:this.authToken,service:new r})):(this.errorMessage="Failed to load payout details. payoutId or authToken is not provided.",this.errorEvent.emit({message:this.errorMessage,errorCode:e.MISSING_PROPS,severity:o.ERROR}))}render(){return this.errorMessage?n(this.errorMessage):i("payout-details-core",{getPayout:this.getPayout,getPayoutCSV:this.getPayoutCSV,"onError-event":this.handleErrorEvent})}static get watchers(){return{payoutId:["propChanged"],authToken:["propChanged"]}}};export{u as justifi_payout_details}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,c as t,h as s}from"./p-_b8l4IX7.js";import{f as i}from"./p-xWrhxNNk.js";import{z as a,al as r}from"./p-CA_TyBed.js";import{B as c}from"./p-Dv1Fyrn3.js";import{S as d}from"./p-DTwFW2k_.js";import{S as o}from"./p-CE-MNrID.js";import"./p-CZfYo5-1.js";import{C as n,a as h}from"./p-Cjcsf8ku.js";import{g as p,a as f}from"./p-D2muobcE.js";import{D as l}from"./p-g2ubqhtv.js";import{D as u}from"./p-Bg2SZArf.js";import{c as b,J as y}from"./p-BaM0JBLn.js";import"./p-HXpYMWUU.js";import"./p-M5r2kSbf.js";import"./p-DMf85Fkr.js";import"./p-hj8k0lRi.js";import"./p-BPDMo6us.js";import"./p-BH0Xfn-F.js";import"./p-CLHwhyvu.js";import"./p-B5rtFhtR.js";import"./p-BRhnhmpB.js";const m=({authToken:e,disputeId:t,service:s})=>async({payload:i,onSuccess:a,onError:r,final:c=()=>{}})=>{var d;try{const c=await s.submitDisputeResponse(t,e,i);if(c.error){return r({error:f(c.error),code:p(null===(d=c.error)||void 0===d?void 0:d.code),severity:n.ERROR})}a(c)}catch(e){const t=p(null==e?void 0:e.code);return r({error:e.message||e,code:t,severity:n.ERROR})}finally{return c()}},v=class{constructor(s){e(this,s),this.clickEvent=t(this,"click-event"),this.errorEvent=t(this,"error-event"),this.submitEvent=t(this,"submit-event")}acceptDispute(){m({disputeId:this.dispute.id,authToken:this.authToken,service:new l})({payload:{forfeit:!0},onSuccess:e=>{this.submitEvent.emit({response:e})},onError:({error:e,code:t,severity:s})=>{this.errorEvent.emit({errorCode:t,message:e,severity:s})}})}initiateRespondToDispute(){this.clickEvent.emit({name:u.respondToDispute})}render(){var e,t,n,h,p,f,l;return s(d,{key:"36f654e2a694534927056d925446dd8ff0de9ee4"},this.isLoading&&s("div",{key:"fcfb19c4dc3fe510232c6c3d796a525c9369ffa0",style:{marginBottom:"8px"}},s(o,{key:"aa36660470935287c5edef694605d23a654a2bc8",height:"28px",width:"70%",styles:{marginBottom:"16px"}}),s(o,{key:"801dcf184fcf68ebc07f79d2f748afdc787d85f8",height:"18px",styles:{marginBottom:"8px"}}),s(o,{key:"b0f1e518ca525ea557fd2582611dd3b6a2d5fa1a",height:"18px",styles:{marginBottom:"8px"}})),(null===(e=this.dispute)||void 0===e?void 0:e.needsResponse)&&s("div",{key:"d4d312c97b47151c093c3cba3e77c3ce476dae59",part:a},s("h1",{key:"bccf53bb045a197678054b6827910a4c3714936a",class:"h4",part:r},"This payment is disputed"),s("p",{key:"402b629e9a4d558764216d21f66860c30cc0b980"},"The cardholder is disputing this payment. You may accept this dispute, or proceed to provide evidence in a counter dispute."),s("h2",{key:"c75c24e1c6340a7abbd8ef2d801b8b8c3b20b6e1",class:"h5"},"Dispute details"),s("div",{key:"343f9b41d4aad58faabe558a25b5dde774f377ac",class:"d-table gap-2"},s("div",{key:"41f57f72c7f8099b60fab931062c917b37ac5234",class:"d-table-row gap-2"},s("span",{key:"b1f5f93e4953001a4bdf3cd4b93f3a6a6c9a4029",part:"detail-section-item-title",class:"fw-bold d-table-cell pe-4"},"Amount"),s("span",{key:"1a3c5bdf2badf52c93f65598f0d6ff047275e411",part:"detail-section-item-data",class:"flex-1 d-table-cell text-wrap"},i(null===(t=this.dispute)||void 0===t?void 0:t.amount))),s("div",{key:"cc9be933cec2ca2e71f46ff242a6764f43e33d96",class:"d-table-row gap-2"},s("span",{key:"55b5a66315505d8f25c65c76800be448dc66d4e4",part:"detail-section-item-title",class:"fw-bold d-table-cell pe-4"},"Reason"),s("span",{key:"ec35b2fc23586ed63ed268c68d9c968100cac608",part:"detail-section-item-data",class:"flex-1 d-table-cell text-wrap"},null===(n=this.dispute)||void 0===n?void 0:n.reason)),s("div",{key:"6be9f8d5c61fa3e437bb64a7acff76872549ac3e",class:"d-table-row gap-2"},s("span",{key:"0258e8031223b25ea632c7437b7c1c5163eff3fb",part:"detail-section-item-title",class:"fw-bold d-table-cell pe-4"},"Dispute ID"),s("span",{key:"9cd8e420ce852a9516bdb9628d4e6bdf0557469e",part:"detail-section-item-data",class:"flex-1 d-table-cell text-wrap"},null===(h=this.dispute)||void 0===h?void 0:h.id))),s("div",{key:"af20a8d051bb06056a908bba7fe6719bd5833f0c",class:"d-flex gap-2 mt-4 justify-content-end"},s(c,{key:"ca78c484bf58102ca0d0be451532f3b7b3602d93",variant:"secondary",onClick:()=>this.acceptDispute()},"Accept dispute"),s(c,{key:"274e1f792e8f623c8ea5be577feab130e89924ee",variant:"primary",onClick:()=>this.initiateRespondToDispute()},"Counter dispute"))),(null===(p=this.dispute)||void 0===p?void 0:p.underReview)&&s("div",{key:"a95367fe1e2390904b11b8274cf4c64eb421e091"},s("h1",{key:"22f246e2f51aaf22711d26a6e98e91b7e73a4cab",class:"h4"},"This payment is disputed and under review"),s("p",{key:"f4cd8dd0d037a7a7b235a82b8efdc5540c377c84"},"The cardholder is disputing this payment. A counter dispute has been submitted and is under review.")),(null===(f=this.dispute)||void 0===f?void 0:f.won)&&s("div",{key:"07cf44a7e3fe8013a90c0a169a2b040d09bed003"},s("h1",{key:"43cbc044f82e73bb8bb20dd51442122cc657ef4f",class:"h4"},"This payment was disputed"),s("p",{key:"c5044bac07848f0376a8f48929d438d9ddc37e53"},"The cardholder disputed this payment and the card issuer has settled it in your favor.")),(null===(l=this.dispute)||void 0===l?void 0:l.lost)&&s("div",{key:"7bba3c52f74f3c342133d090f0d9cc8470a41213"},s("h1",{key:"3c2b7d76ff3496acb58305df470eface52110594",class:"h4"},"This payment was disputed"),s("p",{key:"23d99d90b02aa2df806dbfeb6804dfb9b080ac81"},"The cardholder disputed this payment and the card issuer has settled it in their favor.")))}},k=class{constructor(s){e(this,s),this.errorEvent=t(this,"error-event"),this.errorMessage=null,this.apiOrigin="https://wc-proxy.justifi.ai",this.handleErrorEvent=e=>{this.errorMessage=e.detail.message,this.errorEvent.emit(e.detail)}}componentWillLoad(){b(),this.analytics=new y(this),this.initializeDisputeServiceMethods()}disconnectedCallback(){var e;null===(e=this.analytics)||void 0===e||e.cleanup()}propChanged(){this.initializeDisputeServiceMethods()}initializeDisputeServiceMethods(){this.disputeId&&this.authToken?(this.updateDisputeResponse=(({authToken:e,disputeId:t,service:s})=>async({payload:i,onSuccess:a,onError:r,final:c=()=>{}})=>{var d;try{const c=await s.updateDisputeResponse(t,e,i);if(c.error)return r({error:f(c.error),code:p(null===(d=c.error)||void 0===d?void 0:d.code),severity:n.ERROR});a(c)}catch(e){const t=p(null==e?void 0:e.code);return r({error:e.message||e,code:t,severity:n.ERROR})}finally{return c()}})({disputeId:this.disputeId,authToken:this.authToken,service:new l}),this.createDisputeEvidence=(({authToken:e,disputeId:t,service:s})=>async({payload:i,onSuccess:a,onError:r,final:c=()=>{}})=>{var d;try{const c=await s.createDisputeEvidence(t,e,i);if(c.error)return r({error:f(c.error),code:p(null===(d=c.error)||void 0===d?void 0:d.code),severity:n.ERROR});a(c)}catch(e){const t=p(null==e?void 0:e.code);return r({error:e.message||e,code:t,severity:n.ERROR})}finally{return c()}})({disputeId:this.disputeId,authToken:this.authToken,service:new l}),this.submitDisputeResponse=m({disputeId:this.disputeId,authToken:this.authToken,service:new l})):(this.errorMessage="Account ID and Auth Token are required",this.errorEvent.emit({errorCode:h.MISSING_PROPS,message:this.errorMessage,severity:n.ERROR}))}render(){return s(d,{key:"f61dc766ef15ba3cf533d2a24e7cd2a151a879d5"},s("justifi-dispute-response-core",{key:"e436ecce1235cb3bd15cf28be9551acb08e67035","onError-event":this.handleErrorEvent,"dispute-id":this.disputeId,disputeResponse:this.disputeResponse,createDisputeEvidence:this.createDisputeEvidence,updateDisputeResponse:this.updateDisputeResponse,submitDisputeResponse:this.submitDisputeResponse}))}static get watchers(){return{accountId:["propChanged"],authToken:["propChanged"]}}},j=class{constructor(i){e(this,i),this.clickEvent=t(this,"click-event"),this.errorEvent=t(this,"error-event"),this.stepCompleteEvent=t(this,"complete-form-step-event"),this.submitEvent=t(this,"submit-event"),this.disputeResponse={},this.isLoading=!1,this.documentList=[],this.documentErrors={},this.currentStep=0,this.componentStepMapping=[()=>s("justifi-product-or-service",{ref:e=>this.currentStepComponentRef=e,disputeResponse:this.disputeResponse,documentErrors:this.documentErrors}),()=>s("justifi-customer-details",{ref:e=>this.currentStepComponentRef=e,disputeResponse:this.disputeResponse,documentErrors:this.documentErrors}),()=>s("justifi-cancellation-policy",{ref:e=>this.currentStepComponentRef=e,disputeResponse:this.disputeResponse,documentErrors:this.documentErrors}),()=>s("justifi-refund-policy",{ref:e=>this.currentStepComponentRef=e,disputeResponse:this.disputeResponse,documentErrors:this.documentErrors}),()=>s("justifi-duplicate-charge",{ref:e=>this.currentStepComponentRef=e,disputeResponse:this.disputeResponse,documentErrors:this.documentErrors}),()=>s("justifi-electronic-evidence",{ref:e=>this.currentStepComponentRef=e,disputeResponse:this.disputeResponse,documentErrors:this.documentErrors}),()=>s("justifi-shipping-details",{ref:e=>this.currentStepComponentRef=e,disputeResponse:this.disputeResponse,documentErrors:this.documentErrors}),()=>s("justifi-additional-statement",{ref:e=>this.currentStepComponentRef=e,disputeResponse:this.disputeResponse,documentErrors:this.documentErrors})],this.saveData=async(e,t)=>{if(Object.keys(e).length)return this.isLastStep?this.submitDisputeResponse({payload:e,onSuccess:e=>{this.submitEvent.emit({response:e}),this.stepCompleteEvent.emit({response:e,formStep:t})},onError:({error:e,code:t,severity:s})=>{this.errorEvent.emit({errorCode:t,message:e,severity:s})}}):this.updateDisputeResponse({payload:e,onSuccess:e=>{this.disputeResponse=Object.assign({},e.data),this.stepCompleteEvent.emit({response:e,formStep:t})},onError:({error:e,code:t,severity:s})=>{this.errorEvent.emit({errorCode:t,message:e,severity:s})}});this.stepCompleteEvent.emit({response:null,formStep:t})},this.initializeMakePresignedURLs=async()=>{const e=this.documentList.map((e=>this.getPresignedFileUrl(e)));return await Promise.all(e)},this.initializeFileUploads=async()=>{const e=this.documentList.map((e=>this.uploadDocument(e)));return Promise.all(e)},this.getPresignedFileUrl=async e=>this.createDisputeEvidence({payload:{file_name:e.file_name,file_type:e.file_type,dispute_evidence_type:e.dispute_evidence_type},onSuccess:t=>{e.presignedUrl=t.data.presigned_url},onError:({error:t,code:s,severity:i})=>{const a={[e.dispute_evidence_type]:t};this.documentErrors=Object.assign(Object.assign({},this.documentErrors),a),this.errorEvent.emit({errorCode:s,message:t,severity:i})}}),this.uploadDocument=async e=>{const t=await e.getFileString();if(!e.presignedUrl)throw new Error("Presigned URL is not set");return await fetch(e.presignedUrl,{method:"PUT",body:t})},this.handleSubmit=async(e,t,s)=>{if(this.isLoading=!0,t.length){if(this.documentErrors={},this.documentList=t,await this.initializeMakePresignedURLs(),Object.keys(this.documentErrors).length)throw this.isLoading=!1,new Error("Could not presign all documents");await this.initializeFileUploads()}await this.saveData(e,s),this.isLoading=!1},this.onCancel=()=>{this.clickEvent.emit({name:u.cancelDispute})},this.onBack=async()=>{await this.currentStepComponentRef.validateAndSubmit((async(e,t,s)=>{this.clickEvent.emit({name:u.previousStep}),await this.handleSubmit(e,t,s),this.currentStep--}))},this.onNext=async()=>{await this.currentStepComponentRef.validateAndSubmit((async(e,t,s)=>{this.clickEvent.emit({name:u.nextStep}),await this.handleSubmit(e,t,s),this.currentStep++}))},this.onSubmit=async()=>{await this.currentStepComponentRef.validateAndSubmit((async(e,t,s)=>{this.clickEvent.emit({name:u.submit});const i=Object.assign(Object.assign({},e),{forfeit:!1});await this.handleSubmit(i,t,s)}))}}get currentStepComponent(){return this.componentStepMapping[this.currentStep]()}get isLastStep(){return this.currentStep===this.componentStepMapping.length-1}get isFirstStep(){return 0===this.currentStep}render(){return s("div",{key:"b0925fa2e5387b89682987f9cc75f228da07b4df",class:"row gy-3"},s("div",{key:"15fdf9ec545bcfba442c1b3f1aeddd9bacfa6f45",class:"col-12"},s("h1",{key:"645ae905d554dbecfa2b289f10952749f5d22372",class:"h4",part:r},"Counter dispute")),s("div",{key:"8d9a23d7732ee87957509c035773542e419ecbbc",class:"col-12"},this.currentStepComponent),s("div",{key:"6744fe63b64af9ac0c402460108a208aa7ba95f7",class:"col-12"},s("div",{key:"1af3c1a9e527ec75e45b6851c55d1588a06317cc",class:"d-flex gap-2 mt-4 justify-content-end"},this.isFirstStep?s(c,{variant:"secondary",onClick:()=>this.onCancel(),disabled:this.isLoading,isLoading:this.isLoading},"Cancel"):s(c,{variant:"secondary",onClick:()=>this.onBack(),disabled:this.isLoading,isLoading:this.isLoading},"Back"),this.isLastStep?s(c,{variant:"primary",onClick:()=>this.onSubmit(),disabled:this.isLoading,isLoading:this.isLoading},"Submit Counter Dispute"):s(c,{variant:"primary",onClick:()=>this.onNext(),disabled:this.isLoading,isLoading:this.isLoading},"Next"))))}};export{v as justifi_dispute_notification,k as justifi_dispute_response,j as justifi_dispute_response_core}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as i,r as e,H as t}from"./p-_b8l4IX7.js";import{S as s}from"./p-CE-MNrID.js";import{w as a,c as r}from"./p-DMf85Fkr.js";import{b as c}from"./p-xWrhxNNk.js";import"./p-CA_TyBed.js";import"./p-hj8k0lRi.js";import"./p-HXpYMWUU.js";const n=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(s,{height:"18px",width:"120px"}),i(s,{height:"36px"}))),i("div",{class:"row"},i("div",{class:"col-12 align-content-end"},i(s,{height:"18px",width:"110px"}),i(s,{height:"36px"}))))},o=class{constructor(i){e(this,i),this.isReady=!1}async componentWillLoad(){await a(),this.iframeOrigin=r.iframeOrigin,this.tabId=c()}componentDidRender(){Promise.all([this.accountNumberIframeElement,this.routingNumberIframeElement].map((i=>new Promise((e=>{i.addEventListener("iframeLoaded",(()=>{e()}))}))))).then((()=>{this.isReady=!0}))}async validate(){const i=await this.accountNumberIframeElement.validate(),e=await this.routingNumberIframeElement.validate();return i&&e}async tokenize(i,e,t){return this.accountNumberIframeElement.tokenize(i,e,t)}render(){return i(t,{key:"3176dc188869e5b233095a9cbbf0309b92445ee1"},i(n,{key:"192ba2270459bf2da49473095f5b7038b220e9c3",isReady:this.isReady}),i("div",{key:"9304caeb4d54ba9f33850849352ab344cdbce2c4",class:"container-fluid p-0",style:{opacity:this.isReady?"1":"0",height:this.isReady?"auto":"0"}},i("div",{key:"fa7880671ebd1972ff7224c6b70b4fee7e626fe2",class:"row mb-3"},i("iframe-input",{key:"d59e0c2ebb8dd89f60ef33a6c4b26b2e09cd09af",inputId:"accountNumber",ref:i=>this.accountNumberIframeElement=i,label:"Account Number",iframeOrigin:`${this.iframeOrigin}/v2/accountNumber?tabId=${this.tabId}`})),i("div",{key:"78cf00f1340bff12dfd40e62a1f5307adb49567d",class:"row"},i("iframe-input",{key:"f6098a33489f1fbfdb2c52644d77218c53f9e243",inputId:"routingNumber",ref:i=>this.routingNumberIframeElement=i,label:"Routing Number",iframeOrigin:`${this.iframeOrigin}/v2/routingNumber?tabId=${this.tabId}`}))))}};export{o as bank_account_form}
|