@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
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { S as StateOptions } from './state-options-BX8GieXu.js';
|
|
2
|
-
|
|
3
|
-
function getStateAbbreviation(stateName) {
|
|
4
|
-
const state = StateOptions.find(s => s.label === stateName);
|
|
5
|
-
return state ? state.value : stateName;
|
|
6
|
-
}
|
|
7
|
-
// filterNumber is intended to be used to format a string that contains a single digit to a two digit string.
|
|
8
|
-
function filterNumber(num) {
|
|
9
|
-
if (/^\d$/.test(num)) {
|
|
10
|
-
return '0' + num;
|
|
11
|
-
}
|
|
12
|
-
return num;
|
|
13
|
-
}
|
|
14
|
-
function constructDate(year, month, day) {
|
|
15
|
-
if (!year || !month || !day) {
|
|
16
|
-
return;
|
|
17
|
-
}
|
|
18
|
-
return `${year}-${filterNumber(month)}-${filterNumber(day)}`;
|
|
19
|
-
}
|
|
20
|
-
function deconstructDate(formInput) {
|
|
21
|
-
const dateString = formInput.value;
|
|
22
|
-
const [dob_year, dob_month, dob_day] = dateString.split('-');
|
|
23
|
-
return { dob_year, dob_month, dob_day };
|
|
24
|
-
}
|
|
25
|
-
function checkProvisioningStatus(business) {
|
|
26
|
-
return business.associated_accounts.length > 0;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export { constructDate as a, checkProvisioningStatus as c, deconstructDate as d, filterNumber as f, getStateAbbreviation as g };
|
|
@@ -1,244 +0,0 @@
|
|
|
1
|
-
const StateOptions = [
|
|
2
|
-
{
|
|
3
|
-
label: 'Choose state',
|
|
4
|
-
value: '',
|
|
5
|
-
},
|
|
6
|
-
{
|
|
7
|
-
label: 'Alabama',
|
|
8
|
-
value: 'AL',
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
label: 'Alaska',
|
|
12
|
-
value: 'AK',
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
label: 'American Samoa',
|
|
16
|
-
value: 'AS',
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
label: 'Arizona',
|
|
20
|
-
value: 'AZ',
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
label: 'Arkansas',
|
|
24
|
-
value: 'AR',
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
label: 'California',
|
|
28
|
-
value: 'CA',
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
label: 'Colorado',
|
|
32
|
-
value: 'CO',
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
label: 'Connecticut',
|
|
36
|
-
value: 'CT',
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
label: 'Delaware',
|
|
40
|
-
value: 'DE',
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
label: 'District Of Columbia',
|
|
44
|
-
value: 'DC',
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
label: 'Federated States Of Micronesia',
|
|
48
|
-
value: 'FM',
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
label: 'Florida',
|
|
52
|
-
value: 'FL',
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
label: 'Georgia',
|
|
56
|
-
value: 'GA',
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
label: 'Guam',
|
|
60
|
-
value: 'GU',
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
label: 'Hawaii',
|
|
64
|
-
value: 'HI',
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
label: 'Idaho',
|
|
68
|
-
value: 'ID',
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
label: 'Illinois',
|
|
72
|
-
value: 'IL',
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
label: 'Indiana',
|
|
76
|
-
value: 'IN',
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
label: 'Iowa',
|
|
80
|
-
value: 'IA',
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
label: 'Kansas',
|
|
84
|
-
value: 'KS',
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
label: 'Kentucky',
|
|
88
|
-
value: 'KY',
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
label: 'Louisiana',
|
|
92
|
-
value: 'LA',
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
label: 'Maine',
|
|
96
|
-
value: 'ME',
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
label: 'Marshall Islands',
|
|
100
|
-
value: 'MH',
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
label: 'Maryland',
|
|
104
|
-
value: 'MD',
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
label: 'Massachusetts',
|
|
108
|
-
value: 'MA',
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
label: 'Michigan',
|
|
112
|
-
value: 'MI',
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
label: 'Minnesota',
|
|
116
|
-
value: 'MN',
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
label: 'Mississippi',
|
|
120
|
-
value: 'MS',
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
label: 'Missouri',
|
|
124
|
-
value: 'MO',
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
label: 'Montana',
|
|
128
|
-
value: 'MT',
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
label: 'Nebraska',
|
|
132
|
-
value: 'NE',
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
label: 'Nevada',
|
|
136
|
-
value: 'NV',
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
label: 'New Hampshire',
|
|
140
|
-
value: 'NH',
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
label: 'New Jersey',
|
|
144
|
-
value: 'NJ',
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
label: 'New Mexico',
|
|
148
|
-
value: 'NM',
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
label: 'New York',
|
|
152
|
-
value: 'NY',
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
label: 'North Carolina',
|
|
156
|
-
value: 'NC',
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
label: 'North Dakota',
|
|
160
|
-
value: 'ND',
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
label: 'Northern Mariana Islands',
|
|
164
|
-
value: 'MP',
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
label: 'Ohio',
|
|
168
|
-
value: 'OH',
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
label: 'Oklahoma',
|
|
172
|
-
value: 'OK',
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
label: 'Oregon',
|
|
176
|
-
value: 'OR',
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
label: 'Palau',
|
|
180
|
-
value: 'PW',
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
label: 'Pennsylvania',
|
|
184
|
-
value: 'PA',
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
label: 'Puerto Rico',
|
|
188
|
-
value: 'PR',
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
label: 'Rhode Island',
|
|
192
|
-
value: 'RI',
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
label: 'South Carolina',
|
|
196
|
-
value: 'SC',
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
label: 'South Dakota',
|
|
200
|
-
value: 'SD',
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
label: 'Tennessee',
|
|
204
|
-
value: 'TN',
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
label: 'Texas',
|
|
208
|
-
value: 'TX',
|
|
209
|
-
},
|
|
210
|
-
{
|
|
211
|
-
label: 'Utah',
|
|
212
|
-
value: 'UT',
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
label: 'Vermont',
|
|
216
|
-
value: 'VT',
|
|
217
|
-
},
|
|
218
|
-
{
|
|
219
|
-
label: 'Virgin Islands',
|
|
220
|
-
value: 'VI',
|
|
221
|
-
},
|
|
222
|
-
{
|
|
223
|
-
label: 'Virginia',
|
|
224
|
-
value: 'VA',
|
|
225
|
-
},
|
|
226
|
-
{
|
|
227
|
-
label: 'Washington',
|
|
228
|
-
value: 'WA',
|
|
229
|
-
},
|
|
230
|
-
{
|
|
231
|
-
label: 'West Virginia',
|
|
232
|
-
value: 'WV',
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
label: 'Wisconsin',
|
|
236
|
-
value: 'WI',
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
label: 'Wyoming',
|
|
240
|
-
value: 'WY',
|
|
241
|
-
},
|
|
242
|
-
];
|
|
243
|
-
|
|
244
|
-
export { StateOptions as S };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { c as createStore } from './index-ZfXl6Xrm.js';
|
|
2
|
-
|
|
3
|
-
const filterParamsInitialState = {};
|
|
4
|
-
const propsParamsInitialState = {};
|
|
5
|
-
const filterParamsStore = createStore(() => filterParamsInitialState);
|
|
6
|
-
const { state: filterParams, on: onQueryParamsChange } = filterParamsStore;
|
|
7
|
-
const propsParamsStore = createStore(() => propsParamsInitialState);
|
|
8
|
-
const { state: propsParams } = propsParamsStore;
|
|
9
|
-
const getRequestParams = () => {
|
|
10
|
-
return Object.assign(Object.assign({}, filterParams), propsParams);
|
|
11
|
-
};
|
|
12
|
-
const clearParams = () => {
|
|
13
|
-
filterParamsStore.reset();
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
export { clearParams as c, filterParams as f, getRequestParams as g, onQueryParamsChange as o, propsParams as p };
|
package/dist/module/helpers.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { S as StateOptions } from './state-options.js';
|
|
2
|
-
|
|
3
|
-
function getStateAbbreviation(stateName) {
|
|
4
|
-
const state = StateOptions.find(s => s.label === stateName);
|
|
5
|
-
return state ? state.value : stateName;
|
|
6
|
-
}
|
|
7
|
-
// filterNumber is intended to be used to format a string that contains a single digit to a two digit string.
|
|
8
|
-
function filterNumber(num) {
|
|
9
|
-
if (/^\d$/.test(num)) {
|
|
10
|
-
return '0' + num;
|
|
11
|
-
}
|
|
12
|
-
return num;
|
|
13
|
-
}
|
|
14
|
-
function constructDate(year, month, day) {
|
|
15
|
-
if (!year || !month || !day) {
|
|
16
|
-
return;
|
|
17
|
-
}
|
|
18
|
-
return `${year}-${filterNumber(month)}-${filterNumber(day)}`;
|
|
19
|
-
}
|
|
20
|
-
function deconstructDate(formInput) {
|
|
21
|
-
const dateString = formInput.value;
|
|
22
|
-
const [dob_year, dob_month, dob_day] = dateString.split('-');
|
|
23
|
-
return { dob_year, dob_month, dob_day };
|
|
24
|
-
}
|
|
25
|
-
function checkProvisioningStatus(business) {
|
|
26
|
-
return business.associated_accounts.length > 0;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export { constructDate as a, checkProvisioningStatus as c, deconstructDate as d, filterNumber as f, getStateAbbreviation as g };
|
|
@@ -1,244 +0,0 @@
|
|
|
1
|
-
const StateOptions = [
|
|
2
|
-
{
|
|
3
|
-
label: 'Choose state',
|
|
4
|
-
value: '',
|
|
5
|
-
},
|
|
6
|
-
{
|
|
7
|
-
label: 'Alabama',
|
|
8
|
-
value: 'AL',
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
label: 'Alaska',
|
|
12
|
-
value: 'AK',
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
label: 'American Samoa',
|
|
16
|
-
value: 'AS',
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
label: 'Arizona',
|
|
20
|
-
value: 'AZ',
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
label: 'Arkansas',
|
|
24
|
-
value: 'AR',
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
label: 'California',
|
|
28
|
-
value: 'CA',
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
label: 'Colorado',
|
|
32
|
-
value: 'CO',
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
label: 'Connecticut',
|
|
36
|
-
value: 'CT',
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
label: 'Delaware',
|
|
40
|
-
value: 'DE',
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
label: 'District Of Columbia',
|
|
44
|
-
value: 'DC',
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
label: 'Federated States Of Micronesia',
|
|
48
|
-
value: 'FM',
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
label: 'Florida',
|
|
52
|
-
value: 'FL',
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
label: 'Georgia',
|
|
56
|
-
value: 'GA',
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
label: 'Guam',
|
|
60
|
-
value: 'GU',
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
label: 'Hawaii',
|
|
64
|
-
value: 'HI',
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
label: 'Idaho',
|
|
68
|
-
value: 'ID',
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
label: 'Illinois',
|
|
72
|
-
value: 'IL',
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
label: 'Indiana',
|
|
76
|
-
value: 'IN',
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
label: 'Iowa',
|
|
80
|
-
value: 'IA',
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
label: 'Kansas',
|
|
84
|
-
value: 'KS',
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
label: 'Kentucky',
|
|
88
|
-
value: 'KY',
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
label: 'Louisiana',
|
|
92
|
-
value: 'LA',
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
label: 'Maine',
|
|
96
|
-
value: 'ME',
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
label: 'Marshall Islands',
|
|
100
|
-
value: 'MH',
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
label: 'Maryland',
|
|
104
|
-
value: 'MD',
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
label: 'Massachusetts',
|
|
108
|
-
value: 'MA',
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
label: 'Michigan',
|
|
112
|
-
value: 'MI',
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
label: 'Minnesota',
|
|
116
|
-
value: 'MN',
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
label: 'Mississippi',
|
|
120
|
-
value: 'MS',
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
label: 'Missouri',
|
|
124
|
-
value: 'MO',
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
label: 'Montana',
|
|
128
|
-
value: 'MT',
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
label: 'Nebraska',
|
|
132
|
-
value: 'NE',
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
label: 'Nevada',
|
|
136
|
-
value: 'NV',
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
label: 'New Hampshire',
|
|
140
|
-
value: 'NH',
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
label: 'New Jersey',
|
|
144
|
-
value: 'NJ',
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
label: 'New Mexico',
|
|
148
|
-
value: 'NM',
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
label: 'New York',
|
|
152
|
-
value: 'NY',
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
label: 'North Carolina',
|
|
156
|
-
value: 'NC',
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
label: 'North Dakota',
|
|
160
|
-
value: 'ND',
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
label: 'Northern Mariana Islands',
|
|
164
|
-
value: 'MP',
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
label: 'Ohio',
|
|
168
|
-
value: 'OH',
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
label: 'Oklahoma',
|
|
172
|
-
value: 'OK',
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
label: 'Oregon',
|
|
176
|
-
value: 'OR',
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
label: 'Palau',
|
|
180
|
-
value: 'PW',
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
label: 'Pennsylvania',
|
|
184
|
-
value: 'PA',
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
label: 'Puerto Rico',
|
|
188
|
-
value: 'PR',
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
label: 'Rhode Island',
|
|
192
|
-
value: 'RI',
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
label: 'South Carolina',
|
|
196
|
-
value: 'SC',
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
label: 'South Dakota',
|
|
200
|
-
value: 'SD',
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
label: 'Tennessee',
|
|
204
|
-
value: 'TN',
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
label: 'Texas',
|
|
208
|
-
value: 'TX',
|
|
209
|
-
},
|
|
210
|
-
{
|
|
211
|
-
label: 'Utah',
|
|
212
|
-
value: 'UT',
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
label: 'Vermont',
|
|
216
|
-
value: 'VT',
|
|
217
|
-
},
|
|
218
|
-
{
|
|
219
|
-
label: 'Virgin Islands',
|
|
220
|
-
value: 'VI',
|
|
221
|
-
},
|
|
222
|
-
{
|
|
223
|
-
label: 'Virginia',
|
|
224
|
-
value: 'VA',
|
|
225
|
-
},
|
|
226
|
-
{
|
|
227
|
-
label: 'Washington',
|
|
228
|
-
value: 'WA',
|
|
229
|
-
},
|
|
230
|
-
{
|
|
231
|
-
label: 'West Virginia',
|
|
232
|
-
value: 'WV',
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
label: 'Wisconsin',
|
|
236
|
-
value: 'WI',
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
label: 'Wyoming',
|
|
240
|
-
value: 'WY',
|
|
241
|
-
},
|
|
242
|
-
];
|
|
243
|
-
|
|
244
|
-
export { StateOptions as S };
|
package/dist/types/components/modular-checkout/sub-components/plaid-payment-method.test.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,c as e,h as t,H as i}from"./p-qipqIMyC.js";import{C as n,a as r}from"./p-Cjcsf8ku.js";import{m as a,b as o,f as h,g as d}from"./p-5aA7gjr5.js";import{B as c,a as u,D as p}from"./p-B4idKqyn.js";import"./p-Bp_QFeog.js";import"./p-HXpYMWUU.js";import"./p-c4Mh3ZZ_.js";import"./p-CLHwhyvu.js";import"./p-BlJnA265.js";import"./p-BH0Xfn-F.js";import{c as f,d as l,F as b}from"./p-CR9D6mKt.js";import{A as m}from"./p-BUa0YOaw.js";import{C as g}from"./p-RvUQ__Pq.js";import{a as k,B as y}from"./p-XYgDHrVL.js";import{B as v}from"./p-D6XirF21.js";import"./p-CZfYo5-1.js";import"./p-D2muobcE.js";import"./p-DsAwPf2y.js";import"./p-BHf9IqGw.js";import"./p-Dt-vy9Le.js";import"./p-BX8GieXu.js";import"./p-BFTU3MAI.js";const j=class{constructor(t){s(this,t),this.errorEvent=e(this,"error-event")}propChanged(){this.initializeApi()}async validateAndSubmit({onSuccess:s}){this.coreComponent.validateAndSubmit({onSuccess:s})}componentWillLoad(){this.initializeApi()}initializeApi(){this.authToken&&this.businessId?(this.getBusiness=a({authToken:this.authToken,businessId:this.businessId,service:new c}),this.patchBusiness=o({authToken:this.authToken,businessId:this.businessId,service:new c})):this.errorEvent.emit({message:"Missing required props",errorCode:r.MISSING_PROPS,severity:n.ERROR})}render(){return t("justifi-additional-questions-form-step-core",{key:"9692b11a4a655aade004e62c4b4c1fa61904ec11",getBusiness:this.getBusiness,patchBusiness:this.patchBusiness,allowOptionalFields:this.allowOptionalFields,ref:s=>this.coreComponent=s})}static get watchers(){return{authToken:["propChanged"],businessId:["propChanged"]}}},w=class{constructor(t){s(this,t),this.errorEvent=e(this,"error-event")}propChanged(){this.initializeApi()}async validateAndSubmit({onSuccess:s}){this.coreComponent.validateAndSubmit({onSuccess:s})}componentWillLoad(){this.initializeApi()}initializeApi(){this.authToken&&this.businessId?(this.getBusiness=a({authToken:this.authToken,businessId:this.businessId,service:new c}),this.postBankAccount=h({authToken:this.authToken,service:new u}),this.postDocumentRecord=d({authToken:this.authToken,service:new p})):this.errorEvent.emit({message:"Missing required props",errorCode:r.MISSING_PROPS,severity:n.ERROR})}render(){return t("justifi-business-bank-account-form-step-core",{key:"675d0d4f64e58f8b036ccd0bdf6d2f77d95fab4b",businessId:this.businessId,getBusiness:this.getBusiness,postBankAccount:this.postBankAccount,postDocumentRecord:this.postDocumentRecord,allowOptionalFields:this.allowOptionalFields,ref:s=>this.coreComponent=s})}static get watchers(){return{authToken:["propChanged"],businessId:["propChanged"]}}},_=class{constructor(t){s(this,t),this.errorEvent=e(this,"error-event")}propChanged(){this.initializeApi()}async validateAndSubmit({onSuccess:s}){this.coreComponent.validateAndSubmit({onSuccess:s})}componentWillLoad(){this.initializeApi()}initializeApi(){this.authToken&&this.businessId?(this.getBusiness=a({authToken:this.authToken,businessId:this.businessId,service:new c}),this.patchBusiness=o({authToken:this.authToken,businessId:this.businessId,service:new c})):this.errorEvent.emit({message:"Missing required props",errorCode:r.MISSING_PROPS,severity:n.ERROR})}render(){return t("justifi-business-core-info-form-step-core",{key:"c8eb1c76b9c7839e83f341eca5cc60737fb83f6e",businessId:this.businessId,getBusiness:this.getBusiness,patchBusiness:this.patchBusiness,allowOptionalFields:this.allowOptionalFields,ref:s=>this.coreComponent=s})}static get watchers(){return{authToken:["propChanged"],businessId:["propChanged"]}}},C=class{constructor(t){s(this,t),this.errorEvent=e(this,"error-event")}propChanged(){this.initializeApi()}async validateAndSubmit({onSuccess:s}){this.coreComponent.validateAndSubmit({onSuccess:s})}componentWillLoad(){this.initializeApi()}initializeApi(){this.authToken&&this.businessId?(this.getBusiness=a({authToken:this.authToken,businessId:this.businessId,service:new c}),this.patchBusiness=o({authToken:this.authToken,businessId:this.businessId,service:new c})):this.errorEvent.emit({message:"Missing required props",errorCode:r.MISSING_PROPS,severity:n.ERROR})}render(){return t(i,{key:"aa3b4e716a0592f48180b7dbe2f81662aeb4d6e7"},t("justifi-business-owners-form-step-core",{key:"8e3ef054061dbe2500aa9f67e4aea53b12e5d432",authToken:this.authToken,businessId:this.businessId,getBusiness:this.getBusiness,patchBusiness:this.patchBusiness,allowOptionalFields:this.allowOptionalFields,ref:s=>this.coreComponent=s}))}static get watchers(){return{authToken:["propChanged"],businessId:["propChanged"]}}},T=class{constructor(t){s(this,t),this.errorEvent=e(this,"error-event")}propChanged(){this.initializeApi()}async validateAndSubmit({onSuccess:s}){this.coreComponent.validateAndSubmit({onSuccess:s})}componentWillLoad(){this.initializeApi()}initializeApi(){this.authToken&&this.businessId?(this.getBusiness=a({authToken:this.authToken,businessId:this.businessId,service:new c}),this.patchBusiness=o({authToken:this.authToken,businessId:this.businessId,service:new c})):this.errorEvent.emit({message:"Missing required props",errorCode:r.MISSING_PROPS,severity:n.ERROR})}render(){return t("justifi-business-representative-form-step-core",{key:"241cd9ff1afae3bf1f9107cf6f66392b7b656471",getBusiness:this.getBusiness,patchBusiness:this.patchBusiness,allowOptionalFields:this.allowOptionalFields,ref:s=>this.coreComponent=s})}static get watchers(){return{authToken:["propChanged"],businessId:["propChanged"]}}},I=class{constructor(t){s(this,t),this.stepCompleteEvent=e(this,"complete-form-step-event"),this.errorEvent=e(this,"error-event"),this.formLoading=e(this,"formLoading"),this.formCompleted=e(this,"formCompleted"),this.errors={},this.fetchData=async()=>{this.formLoading.emit(!0);try{const s=await this.api.get({endpoint:this.businessEndpoint,authToken:this.authToken});this.acceptedTermsBefore=s.data.terms_conditions_accepted}catch(s){this.errorEvent.emit({errorCode:r.FETCH_ERROR,message:s.message,severity:n.ERROR,data:s})}finally{this.formLoading.emit(!1)}},this.sendData=async s=>{this.formLoading.emit(!0);try{const e=this.termsPayload,t=await this.api.post({endpoint:this.termsConditionsEndpoint,body:e,authToken:this.authToken});this.handleResponse(t,s)}catch(s){this.errorEvent.emit({errorCode:r.POST_ERROR,message:s.message,severity:n.ERROR,data:s})}finally{this.formLoading.emit(!1)}},this.inputHandler=(s,e)=>{this.acceptedTerms=e,this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[s]:e}))}}get businessEndpoint(){return`entities/business/${this.businessId}`}get termsConditionsEndpoint(){return"entities/terms_and_conditions"}get formHelperText(){return this.acceptedTermsBefore?"You have already accepted the terms and conditions.":null}get termsPayload(){return{business_id:this.businessId,accepted:this.formController.values.getValue().accepted,user_agent:window.navigator.userAgent}}async componentWillLoad(){this.api=m(),this.formController=new b((s=>{const e=f({accepted:l().oneOf([!0],"You must agree to the terms and conditions to continue").required("You must agree to the terms and conditions to continue")}),t=f({accepted:l().nullable()});return s?t:e})(this.allowOptionalFields)),this.businessId&&this.authToken&&this.fetchData()}handleResponse(s,e){s.error?this.errorEvent.emit({errorCode:r.POST_ERROR,message:s.error.message,severity:n.ERROR,data:s.error}):e(),this.stepCompleteEvent.emit({response:s,formStep:k.termsAndConditions}),this.formCompleted.emit()}async validateAndSubmit({onSuccess:s}){this.acceptedTermsBefore?(this.stepCompleteEvent.emit({response:null,formStep:k.termsAndConditions,metadata:"no data submitted"}),this.formCompleted.emit(),s()):this.formController.validateAndSubmit((()=>this.sendData(s)))}componentDidLoad(){this.formController.errors.subscribe((s=>{this.errors=Object.assign({},s)}))}get merchantAgreementLink(){return t("a",{href:"https://justifi.tech/merchant-agreement/",target:"_blank",rel:"noopener noreferrer"},"merchant agreement")}render(){return t("form",{key:"ed3e493e5c53e303c98e97a15149cffd2865de47"},t("fieldset",{key:"a4be899152d7930c2e5ac8b384f866ba313a434f"},t("legend",{key:"6b473d236380c13ec4186cb5088f976349f18e7c",part:g},"Terms and Conditions"),t("hr",{key:"4ef52973bed72265e0ef29f0ac6e7a0ac1142f8a"}),t("div",{key:"621d89594d6335d10a746af628ce85df0bf4a71f"},t("p",{key:"2f13e9851fdfa4b8f678de19261e7df7a7968cc0"},"Please read and accept the ",this.merchantAgreementLink," to submit your provisioning request.")),t("br",{key:"7951565f2ad57491cbba0d05d650eb0aea1aea54"}),t("div",{key:"e7d727efbd5d732b31746d3cc61eeaf9eb4b1ff6",class:"row-gy-3"},t("div",{key:"b6d8d501530fbe4de7c11eb46218c618a7aec26f",class:"col-12"},t("form-control-checkbox",{key:"79030af1a43bc5d1742726b8ea66d6dda3306473",name:"accepted",label:"I agree to the terms and conditions",inputHandler:this.inputHandler,errorText:this.errors.accepted,disabled:this.acceptedTermsBefore,helpText:this.formHelperText,checked:this.acceptedTerms})))))}},S=class{constructor(t){s(this,t),this.errorEvent=e(this,"error-event")}propChanged(){this.initializeApi()}async validateAndSubmit({onSuccess:s}){this.coreComponent.validateAndSubmit({onSuccess:s})}componentWillLoad(){this.initializeApi()}initializeApi(){this.authToken&&this.businessId?(this.getBusiness=a({authToken:this.authToken,businessId:this.businessId,service:new c}),this.patchBusiness=o({authToken:this.authToken,businessId:this.businessId,service:new c})):this.errorEvent.emit({message:"Missing required props",errorCode:r.MISSING_PROPS,severity:n.ERROR})}render(){return t("justifi-legal-address-form-step-core",{key:"fb07306fe9d60ca061e9291565ea4dd11db6d93f",getBusiness:this.getBusiness,patchBusiness:this.patchBusiness,allowOptionalFields:this.allowOptionalFields,ref:s=>this.coreComponent=s})}static get watchers(){return{authToken:["propChanged"],businessId:["propChanged"]}}},B=class{constructor(e){s(this,e)}get showPreviousStepButton(){return this.currentStep>0}get showNextStepButton(){return this.currentStep<this.totalSteps}get showSubmitButton(){return this.currentStep===this.totalSteps}render(){return t("div",{key:"cc744b394b8a75f2cf6b551f50376d16eb4f053b",class:"d-flex gap-2"},t(v,{key:"b83498b5bd052607803159acc593ed3f53c8cd4f",variant:"secondary",type:"button",onClick:()=>this.previousStepButtonOnClick(),disabled:this.formDisabled,hidden:!this.showPreviousStepButton},"Previous"),t(v,{key:"02f6dfacedd16c2a82879bf13706bf554372064c",variant:"primary",type:"button",onClick:s=>this.nextStepButtonOnClick(s,y.nextStep),disabled:this.formDisabled,isLoading:this.formLoading,hidden:!this.showNextStepButton},"Next"),t(v,{key:"eda937677c7e1d5a64f88d020ba4c738bc89af68",variant:"primary",type:"submit",onClick:s=>this.nextStepButtonOnClick(s,y.submit),disabled:this.formDisabled,isLoading:this.formLoading,hidden:!this.showSubmitButton},"Submit"))}},A=class{constructor(e){s(this,e),this.allowOptionalFields=!1,this.componentStepMapping={0:()=>t("justifi-business-core-info-form-step",{businessId:this.businessId,authToken:this.authToken,ref:s=>this.refs[0]=s,allowOptionalFields:this.allowOptionalFields}),1:()=>t("justifi-legal-address-form-step",{businessId:this.businessId,authToken:this.authToken,ref:s=>this.refs[1]=s,allowOptionalFields:this.allowOptionalFields}),2:()=>t("justifi-additional-questions-form-step",{businessId:this.businessId,authToken:this.authToken,ref:s=>this.refs[2]=s,allowOptionalFields:this.allowOptionalFields}),3:()=>t("justifi-business-representative-form-step",{businessId:this.businessId,authToken:this.authToken,ref:s=>this.refs[3]=s,allowOptionalFields:this.allowOptionalFields}),4:()=>t("justifi-business-owners-form-step",{businessId:this.businessId,authToken:this.authToken,ref:s=>this.refs[4]=s,allowOptionalFields:this.allowOptionalFields}),5:()=>t("justifi-business-bank-account-form-step",{businessId:this.businessId,authToken:this.authToken,ref:s=>this.refs[5]=s,allowOptionalFields:this.allowOptionalFields}),6:()=>t("justifi-business-terms-conditions-form-step",{businessId:this.businessId,authToken:this.authToken,ref:s=>this.refs[6]=s,onFormLoading:this.handleFormLoading,allowOptionalFields:this.allowOptionalFields})}}get currentStepComponent(){return this.componentStepMapping[this.currentStep]()}render(){return t("div",{key:"bc4e1cd4a04dc6f0d9338fa737b91fe1628ed2b3",class:"col-12 mb-4"},this.currentStepComponent)}};export{j as justifi_additional_questions_form_step,w as justifi_business_bank_account_form_step,_ as justifi_business_core_info_form_step,C as justifi_business_owners_form_step,T as justifi_business_representative_form_step,I as justifi_business_terms_conditions_form_step,S as justifi_legal_address_form_step,B as justifi_payment_provisioning_form_buttons,A as justifi_payment_provisioning_form_steps}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as t,r as s,c as e}from"./p-qipqIMyC.js";import{c as r,a as i,F as o}from"./p-CR9D6mKt.js";import{f as n}from"./p-BHf9IqGw.js";import"./p-Bp_QFeog.js";import{C as a,a as u}from"./p-Cjcsf8ku.js";import{R as l,j as m}from"./p-c4Mh3ZZ_.js";import"./p-CLHwhyvu.js";import"./p-BlJnA265.js";import"./p-BH0Xfn-F.js";import{B as h}from"./p-D6XirF21.js";import{S as p}from"./p-CLQx9p9q.js";import"./p-CZfYo5-1.js";import{P as c}from"./p-CpKvg1ok.js";import{m as d}from"./p-CU4XQ3fO.js";import{c as f,J as v}from"./p-O-hoT2Oo.js";import{g as j,a as y}from"./p-D2muobcE.js";import{A as b}from"./p-BUa0YOaw.js";import{S as w}from"./p-Xv8DuU3Y.js";import"./p-BFTU3MAI.js";import"./p-HXpYMWUU.js";import"./p-DsAwPf2y.js";import"./p-Dt-vy9Le.js";import"./p-BX8GieXu.js";import"./p-RvUQ__Pq.js";import"./p-BBO3I4s6.js";const g=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}))},C=t=>{if(t)return r({amount:g(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"}],x=b();class A{async postRefund(t,s,e,r){return x.post({endpoint:`payments/${t}/refunds`,headers:{"Sub-Account":s},body:r,authToken:e})}}const I=()=>t("div",{class:"row gap-3"},t("div",{class:"col-12"},t(w,{width:"100%",height:"40px"}))),R=()=>t(p,null,t("div",{class:"row gap-5"},t(I,null),t(I,null),t(I,null))),T=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 v(this),this.initializeApi(),this.formController=new o(C())}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(C(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 m({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:j(null===(l=u.error)||void 0===l?void 0:l.code),severity:a.ERROR});o(u)}catch(t){const s=j(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 A}),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(R,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(h,{variant:"primary",type:"submit",onClick:this.refundPayment.bind(this),isLoading:this.paymentLoading||this.refundLoading,hidden:this.hideSubmitButton,disabled:this.submitDisabled},`Refund ${n(+e)}`))))))}};export{T as justifi_refund_payment}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as s,h as i}from"./p-qipqIMyC.js";import{C as r,a as o}from"./p-Cjcsf8ku.js";import{c as e,J as p}from"./p-O-hoT2Oo.js";import{T as a}from"./p-CxzFvTgf.js";import"./p-Bp_QFeog.js";import"./p-HXpYMWUU.js";import{e as n}from"./p-c4Mh3ZZ_.js";import"./p-CLHwhyvu.js";import"./p-BlJnA265.js";import"./p-BH0Xfn-F.js";import{g as c,a as h}from"./p-D2muobcE.js";import{m,S as u}from"./p-C1xGBPma.js";import{S as d}from"./p-CLQx9p9q.js";import"./p-CZfYo5-1.js";import{d as l}from"./p-BdLLGV9t.js";import"./p-BBO3I4s6.js";import"./p-BUa0YOaw.js";import"./p-BHf9IqGw.js";import"./p-DsAwPf2y.js";import"./p-Dt-vy9Le.js";import"./p-BX8GieXu.js";import"./p-D--yCspA.js";import"./p-RvUQ__Pq.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(){e(),this.analytics=new p(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:o,onSuccess:e,onError:p})=>{var a,m;try{const u=await i.fetchTerminals(t,s,o);if(u.error)return p({error:h(u.error),code:c(null===(m=u.error)||void 0===m?void 0:m.code),severity:r.ERROR});{const t=Object.assign({},u.page_info);e({terminals:(null===(a=u.data)||void 0===a?void 0:a.map((t=>new n(t))))||[],pagingInfo:t})}}catch(t){const s=c(null==t?void 0:t.code);return p({error:t.message||t,code:s,severity:r.ERROR})}})({id:this.accountId,authToken:this.authToken,service:new a}):(this.errorMessage="Account ID and Auth Token are required",this.errorEvent.emit({errorCode:o.MISSING_PROPS,message:this.errorMessage,severity:r.ERROR}))}initializeGetSubAccounts(){this.accountId&&this.authToken&&(this.getSubAccounts=m({accountId:this.accountId,authToken:this.authToken,service:new u}))}render(){return i(d,{key:"705ee40711e90c28a6b1699f450befa7c5b5529b"},i("terminals-list-core",{key:"3d54a1519e5299eb83d16bf2034711fc0dd0cc18",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}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,c as t,h as i}from"./p-qipqIMyC.js";import{C as o,a as r}from"./p-Cjcsf8ku.js";import{c as e,J as p}from"./p-O-hoT2Oo.js";import{P as a}from"./p-De8UloOS.js";import"./p-Bp_QFeog.js";import"./p-HXpYMWUU.js";import{d as n}from"./p-c4Mh3ZZ_.js";import"./p-CLHwhyvu.js";import"./p-BlJnA265.js";import"./p-BH0Xfn-F.js";import{g as c,a as h}from"./p-D2muobcE.js";import{m}from"./p-DYGIC0QH.js";import{m as u,S as j}from"./p-C1xGBPma.js";import{S as d}from"./p-CLQx9p9q.js";import"./p-CZfYo5-1.js";import{d as l}from"./p-D-JYHdJ7.js";import"./p-BBO3I4s6.js";import"./p-BUa0YOaw.js";import"./p-BHf9IqGw.js";import"./p-DsAwPf2y.js";import"./p-Dt-vy9Le.js";import"./p-BX8GieXu.js";import"./p-fUtq2xDs.js";import"./p-D--yCspA.js";import"./p-RvUQ__Pq.js";const f=class{constructor(i){s(this,i),this.errorEvent=t(this,"error-event"),this.errorMessage=null,this.columns=l,this.handleOnError=s=>{this.errorMessage=s.detail.message,this.errorEvent.emit(s.detail)}}componentWillLoad(){e(),this.analytics=new p(this),this.initializeGetData()}disconnectedCallback(){var s;null===(s=this.analytics)||void 0===s||s.cleanup()}propChanged(){this.initializeGetData()}initializeGetData(){this.initializePayoutsServices(),this.initializeGetSubAccounts()}initializePayoutsServices(){if(this.accountId&&this.authToken){const s={id:this.accountId,authToken:this.authToken,service:new a};this.getPayouts=(({id:s,authToken:t,service:i})=>async({params:r,onSuccess:e,onError:p})=>{var a,m;try{const u=await i.fetchPayouts(s,t,r);if(u.error)return p({error:h(u.error),code:c(null===(m=u.error)||void 0===m?void 0:m.code),severity:o.ERROR});{const s=Object.assign({},u.page_info);e({payouts:(null===(a=u.data)||void 0===a?void 0:a.map((s=>new n(s))))||[],pagingInfo:s})}}catch(s){const t=c(null==s?void 0:s.code);return p({error:s.message||s,code:t,severity:o.ERROR})}})(s),this.getPayoutCSV=m(s)}else this.errorMessage="Account ID and Auth Token are required",this.errorEvent.emit({errorCode:r.MISSING_PROPS,message:this.errorMessage,severity:o.ERROR})}initializeGetSubAccounts(){this.accountId&&this.authToken&&(this.getSubAccounts=u({accountId:this.accountId,authToken:this.authToken,service:new j}))}render(){return i(d,{key:"73ac65b309e80186e0f7799385d012e91ceb1b8b"},i("payouts-list-core",{key:"f7767376f3155521445cb2ee48b9a20c362c8137",getPayouts:this.getPayouts,getPayoutCSV:this.getPayoutCSV,getSubAccounts:this.getSubAccounts,"onError-event":this.handleOnError,columns:this.columns}))}static get watchers(){return{accountId:["propChanged"],authToken:["propChanged"]}}};export{f as justifi_payouts_list}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,c as t,h as e,H as i}from"./p-qipqIMyC.js";import{Z as c,_ as a,$ as h,a0 as r,a1 as o,l as f}from"./p-RvUQ__Pq.js";import{F as b}from"./p-oGKW57R8.js";import{F as d}from"./p-DCMrHeJI.js";import"./p-CZfYo5-1.js";const m=class{constructor(e){s(this,e),this.formControlInput=t(this,"formControlInput"),this.formControlBlur=t(this,"formControlBlur"),this.isFocused=!1,this.handleFormControlInput=s=>{s.preventDefault();const t=s.target,e=t.getAttribute("name");this.inputHandler(e,t.checked),this.formControlInput.emit({name:e,value:t.value})},this.updateInput=s=>{this.checkboxElement.checked=s}}get part(){return this.errorText?c:this.isFocused&&this.checked?a:this.isFocused?h:this.checked?r:o}render(){return e(i,{key:"6ef9c4917c0371f697b92f6a7ee1471feec1aaf1"},e("div",{key:"c9b0a6f9d55f2fccc0ce060af6b0944d1cc9104e",class:"form-group d-flex flex-column"},e("div",{key:"618bf437e3d39095c5d5fb29b539d37e5f25b225",class:"form-check"},e("input",{key:"e51b0c603bc0be02055dc96145b04dbb43638b79",ref:s=>this.checkboxElement=s,type:"checkbox",id:this.name,name:this.name,onFocus:()=>this.isFocused=!0,onBlur:()=>{this.isFocused=!1,this.formControlBlur.emit()},onInput:this.handleFormControlInput,part:this.part,class:this.errorText?"form-check-input is-invalid":"form-check-input",disabled:this.disabled,checked:this.checked}),e("label",{key:"bad954d2501514587ef79c0325ecaae0ba6a4b91",class:"form-check-label",htmlFor:this.name,part:f},this.label)),e(b,{key:"26d50d8b95bd2285211079e5527f57152c739651",helpText:this.helpText,name:this.name}),e(d,{key:"5e2f8d2c9fe3a883d2bc9a6200075d8ba13a5dc4",errorText:this.errorText,name:this.name})))}};export{m as form_control_checkbox}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,c as t,h as s}from"./p-qipqIMyC.js";import{c as i,d as r,e as a}from"./p-5aA7gjr5.js";import{I as o}from"./p-B4idKqyn.js";import{F as d}from"./p-CR9D6mKt.js";import{O as h}from"./p-BlJnA265.js";import{i as n}from"./p-PgEzcvI6.js";import{B as c}from"./p-D6XirF21.js";import{V as f}from"./p-RvUQ__Pq.js";import"./p-CZfYo5-1.js";import{B as l}from"./p-XYgDHrVL.js";import{S as b,P as m}from"./p-B-iV5cYd.js";import{u as p,a as u,b as y}from"./p-1ydcg9ti.js";import"./p-Cjcsf8ku.js";import"./p-D2muobcE.js";import"./p-BUa0YOaw.js";import"./p-Bp_QFeog.js";import"./p-DsAwPf2y.js";import"./p-BHf9IqGw.js";import"./p-HXpYMWUU.js";import"./p-c4Mh3ZZ_.js";import"./p-BH0Xfn-F.js";import"./p-CLHwhyvu.js";import"./p-BFTU3MAI.js";import"./p-Dt-vy9Le.js";import"./p-BX8GieXu.js";import"./p-CYBR4K2p.js";import"./p-yH3TC3ZQ.js";const j=class{constructor(s){e(this,s),this.errorEvent=t(this,"error-event")}async validate(){return this.coreComponent.validate()}async submit(){return this.coreComponent.submit()}async validateAndSubmit({onSuccess:e}){this.coreComponent.validateAndSubmit({onSuccess:e})}componentWillLoad(){this.initializeApi()}initializeApi(){this.authToken&&(this.getOwner=i({authToken:this.authToken,identityId:this.ownerId,service:new o}),this.patchOwner=r({authToken:this.authToken,identityId:this.ownerId,service:new o}),this.postOwner=a({authToken:this.authToken,service:new o}))}render(){return s("owner-form-core",{key:"a918d86ea220a66e69950919593791f3fec0f283",ownerId:this.ownerId,businessId:this.businessId,getOwner:this.getOwner,patchOwner:this.patchOwner,postOwner:this.postOwner,allowOptionalFields:this.allowOptionalFields,removeOwner:this.removeOwner,newFormOpen:this.newFormOpen,ownersLength:this.ownersLength,ref:e=>this.coreComponent=e})}},k=class{loadingWatcher(){this.formLoading.emit(this.isLoading)}constructor(s){e(this,s),this.clickEvent=t(this,"click-event"),this.errorEvent=t(this,"error-event"),this.formLoading=t(this,"formLoading"),this.ownerSubmitted=t(this,"ownerSubmitted"),this.isLoading=!1,this.errors={},this.owner={},this.getData=()=>{this.isLoading=!0,this.getOwner({onSuccess:e=>{this.instantiateOwner(e.data)},onError:({error:e,code:t,severity:s})=>{this.errorEvent.emit({message:e,errorCode:t,severity:s})},final:()=>this.isLoading=!1})},this.sendData=()=>(this.isLoading=!0,new Promise((e=>{this.ownerId?this.patchOwner({payload:this.payload,onSuccess:t=>{this.ownerSubmitted.emit({id:t.data.id}),this.instantiateOwner(t.data),e(!0)},onError:({error:t,code:s,severity:i})=>{this.errorEvent.emit({message:t,errorCode:s,severity:i}),e(!1)},final:()=>this.isLoading=!1}):this.postOwner({payload:this.payload,onSuccess:t=>{this.ownerSubmitted.emit({id:t.data.id}),this.instantiateOwner(t.data),e(!0)},onError:({error:t,code:s,severity:i})=>{this.errorEvent.emit({message:t,errorCode:s,severity:i}),e(!1)},final:()=>this.isLoading=!1})}))),this.instantiateOwner=async e=>{this.owner=Object.assign({},new h(e)),await this.formController.setInitialValues(this.owner)},this.handleAddOwner=()=>{this.clickEvent.emit({name:this.ownerId?l.updateOwner:l.addOwner})},this.handleRemoveOwner=()=>{this.removeOwner(this.ownerId),this.clickEvent.emit({name:l.removeOwner})},this.validate=this.validate.bind(this),this.submit=this.submit.bind(this),this.validateAndSubmit=this.validateAndSubmit.bind(this)}async returnOwnerData(){return this.ownerId}async validate(){return this.formController.validate()}async submit(){if(await this.validate())return this.sendData()}async validateAndSubmit(e){e.preventDefault(),await this.validate()&&this.submit()}get payload(){let e=new h(this.formController.values.getValue()).payload;return this.ownerId?e:Object.assign(Object.assign({},e),{business_id:this.businessId})}get formTitle(){return this.ownerId?"Edit Business Owner":"Add Business Owner"}get submitButtonText(){return this.ownerId?"Update":"Add"}get showRemoveButton(){return!(this.ownersLength<=1)&&(!(this.ownerId||!this.newFormOpen)||!(!this.ownerId||this.newFormOpen)||void 0)}componentWillLoad(){this.formController=new d(n("owner",this.allowOptionalFields)),this.ownerId?this.getData():this.instantiateOwner({})}componentDidLoad(){this.formController.errors.subscribe((e=>this.errors=Object.assign({},e)))}render(){return s("form",{key:"08673bb0eb61a77b3ed37702606808f28caf507b",onSubmit:this.validateAndSubmit},s("fieldset",{key:"73e9707a99d56c7eca7737fc02b77a9d69931ef6"},s("legend",{key:"3d85ec901c9051e30472623c740194e48cc60790",class:"fw-semibold fs-5",part:f},this.formTitle),s("br",{key:"a7256d1bfa79edd90c70eab491d533d2bcd07a94"}),s("div",{key:"b74744930ecd1ac1ef08d8e356d5eeb7f5417c39",class:"row gy-3"},s("owner-form-inputs",{key:"a9fdfe906615eb494f74001396b41a433fb5366b",ownerDefaultValue:this.formController.getInitialValues(),errors:this.errors,formController:this.formController}),s("div",{key:"32fe5564d5feb8056f2401a6dd219dae0d0d10b0",class:"d-flex gap-2 justify-content-start"},s(c,{key:"9e2c1d664b382260fb82c735454dbbf478e99fdd",variant:"secondary",type:"button",onClick:this.handleRemoveOwner,hidden:!this.showRemoveButton},"Remove"),s(c,{key:"db94849f699044848b46e87b285bd0ee30d66b92",variant:"primary",type:"submit",onClick:this.handleAddOwner,disabled:this.isLoading},this.submitButtonText))),s("hr",{key:"9e62fbf6cb1b1d5fa8fc4b676a72cf4350058937"})))}static get watchers(){return{isLoading:["loadingWatcher"]}}},w=class{constructor(t){e(this,t),this.inputHandler=(e,t)=>{p(this.formController,{[e]:t})},this.onAddressFormUpdate=e=>{u(this.formController,Object.assign(Object.assign({},this.formController.values.getValue().address),e))}}render(){return s("div",{key:"2f3679b3d4fb45dd55ada0d3752017c9ba94be9e",class:"row gy-3"},s("div",{key:"4ae3a6fbad22e94321940a46ea79bcc82049ba40",class:"col-12 col-md-8"},s("form-control-text",{key:"bad30c901a7341aabe09a20b9b075212092ed475",name:"name",label:"Full Name",defaultValue:this.ownerDefaultValue.name,errorText:this.errors.name,inputHandler:this.inputHandler})),s("div",{key:"025366d57d5ceb0932b105410f8948cc092d84f3",class:"col-12 col-md-4"},s("form-control-text",{key:"7c746f5b8fe06c71e800123b46ea40e701c675ef",name:"title",label:"Title",defaultValue:this.ownerDefaultValue.title,errorText:this.errors.title,inputHandler:this.inputHandler,helpText:"Role at your business, e.g. President, CEO, Treasurer."})),s("div",{key:"97808fe13be4a772d820f92003320e1b2d6dff5c",class:"col-12 col-md-6"},s("form-control-text",{key:"264e975df8cd9ca53cb05b60824055028839d3ca",name:"email",label:"Email Address",defaultValue:this.ownerDefaultValue.email,errorText:this.errors.email,inputHandler:this.inputHandler})),s("div",{key:"3a045af74578f3bec4c66848cec5460a1588800d",class:"col-12 col-md-6"},s("form-control-number-masked",{key:"17627d6bfc876106ec40e63dcb6a3fb1b7b7f009",name:"phone",label:"Phone Number",defaultValue:this.ownerDefaultValue.phone,errorText:this.errors.phone,inputHandler:this.inputHandler,mask:m.US})),s("div",{key:"394b0454272509ff5d99cd63e2f3d1f2f1d0dff1",class:"col-12 col-md-4"},s("form-control-date",{key:"b079e3422551e8be640d34461adbbbeb86f659b4",name:"dob_full",label:"Birth Date",defaultValue:this.ownerDefaultValue.dob_full,errorText:this.errors.dob_full,inputHandler:this.inputHandler,onFormControlInput:e=>y(e,this.formController),helpText:"Must be 18 or older."})),s("div",{key:"fdaf32d03ac0d562ecc6c14f552a891f7ab0e31f",class:"col-12 col-md-8"},s("form-control-number-masked",{key:"18c3a9019fb9d0abc8654d59b504bfba27ca9661",name:"identification_number",label:"SSN",defaultValue:this.ownerDefaultValue.identification_number,errorText:this.errors.identification_number,inputHandler:this.inputHandler,mask:b,helpText:"Enter your full Social Security Number. It is required for Federal OFAC check."})),s("div",{key:"5f5f2815471a5b4a7b18db1aba58597e429b425b",class:"col-12"},s("justifi-identity-address-form",{key:"663d4185f2a96a260b118e0e4a9437dbff3d1906",errors:this.errors.address,defaultValues:this.ownerDefaultValue.address,handleFormUpdate:this.onAddressFormUpdate})))}};export{j as justifi_owner_form,k as owner_form_core,w as owner_form_inputs}
|