@justifi/webcomponents 6.1.0-rc.2 → 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-DUDlLDCJ.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 +9 -9
- 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 +18 -20
- 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-CFCy2fBx.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/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 +5 -5
- 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-B_Pl1uAE.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 +11 -11
- 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 +21 -23
- 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-pXjOPQhG.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 +2 -2
- 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 +1 -1
- 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-BB5-CJF-.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-d34befd7.entry.js → p-c1f10a84.entry.js} +1 -1
- package/dist/webcomponents/p-c2cb70c8.entry.js +1 -0
- package/dist/webcomponents/{p-2abfee08.entry.js → p-c540fe9d.entry.js} +1 -1
- 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-06b6b61e.entry.js +0 -1
- package/dist/webcomponents/p-10278c48.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-1c433962.entry.js +0 -1
- package/dist/webcomponents/p-1f9f6bdc.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-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-3c1d950d.entry.js +0 -1
- package/dist/webcomponents/p-406ba650.entry.js +0 -1
- package/dist/webcomponents/p-4332962a.entry.js +0 -1
- package/dist/webcomponents/p-4466d28d.entry.js +0 -1
- package/dist/webcomponents/p-44d1341c.entry.js +0 -1
- package/dist/webcomponents/p-46db49dd.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-629c1d75.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-718f8b2c.entry.js +0 -1
- package/dist/webcomponents/p-73f88870.entry.js +0 -1
- package/dist/webcomponents/p-760a5b4f.entry.js +0 -1
- package/dist/webcomponents/p-779e4467.entry.js +0 -1
- package/dist/webcomponents/p-7aeb20d2.entry.js +0 -1
- package/dist/webcomponents/p-7ef3cb23.entry.js +0 -1
- package/dist/webcomponents/p-84043580.entry.js +0 -1
- package/dist/webcomponents/p-868ed3b6.entry.js +0 -1
- package/dist/webcomponents/p-87f598ef.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-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-a57c1400.entry.js +0 -1
- package/dist/webcomponents/p-a90b8b93.entry.js +0 -1
- package/dist/webcomponents/p-b4e673fe.entry.js +0 -1
- package/dist/webcomponents/p-bc902ec2.entry.js +0 -1
- package/dist/webcomponents/p-bf82201a.entry.js +0 -1
- package/dist/webcomponents/p-c16c0cbc.entry.js +0 -1
- package/dist/webcomponents/p-c685fc33.entry.js +0 -1
- package/dist/webcomponents/p-d0f93668.entry.js +0 -1
- package/dist/webcomponents/p-d3f5ff95.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-eafd179b.entry.js +0 -1
- package/dist/webcomponents/p-f5c3f489.entry.js +0 -1
- package/dist/webcomponents/p-f6cf3e2b.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-pXjOPQhG.js +0 -1
- package/dist/webcomponents/p-qipqIMyC.js +0 -2
- package/dist/webcomponents/p-xY5RkFuA.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { FormController } from "../../../ui-components/form/form";
|
|
3
3
|
import { Owner } from "../../../api/Identity";
|
|
4
|
-
import {
|
|
4
|
+
import { identitySchemaByCountry } from "../schemas/business-identity-schema";
|
|
5
5
|
import { Button } from "../../../ui-components";
|
|
6
6
|
import { heading3 } from "../../../styles/parts";
|
|
7
7
|
import { BusinessFormClickActions } from "../utils/event-types";
|
|
@@ -137,21 +137,21 @@ export class BusinessOwnerFormCore {
|
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
139
|
componentWillLoad() {
|
|
140
|
-
|
|
140
|
+
const schemaFactory = identitySchemaByCountry[this.country];
|
|
141
|
+
this.formController = new FormController(schemaFactory('owner', this.allowOptionalFields));
|
|
141
142
|
this.ownerId ? this.getData() : this.instantiateOwner({});
|
|
142
143
|
}
|
|
143
144
|
componentDidLoad() {
|
|
144
145
|
this.formController.errors.subscribe(errors => (this.errors = Object.assign({}, errors)));
|
|
145
146
|
}
|
|
146
147
|
render() {
|
|
147
|
-
return (h("form", { key: '
|
|
148
|
+
return (h("form", { key: '8374d88e5a1d99f58ac2c93680fb000410a67ec8', onSubmit: this.validateAndSubmit }, h("fieldset", { key: '82d2f80aaff654362852e4e8c5c9775d82a5080c' }, h("legend", { key: 'd74d4c8bdfc91086b14e41b27934dddf14695e49', class: "fw-semibold fs-5", part: heading3 }, this.formTitle), h("br", { key: '8f6fe8d7d6b66ca2b0fd8e4b0797ee681c11f7eb' }), h("div", { key: 'ef546418d4192bc1d1fef02faf47f965127f45ef', class: "row gy-3" }, h("owner-form-inputs", { key: '2f961ee901838a5dd82b20484fe149b393c7c609', ownerDefaultValue: this.formController.getInitialValues(), errors: this.errors, formController: this.formController, country: this.country }), h("div", { key: '8ed50b5de9839353b25d54d7b51546c1d2afaeb5', class: "d-flex gap-2 justify-content-start" }, h(Button, { key: 'a9c94571902b2a6fc68459662ee7be35874ebb66', variant: "secondary", type: "button", onClick: this.handleRemoveOwner, hidden: !this.showRemoveButton }, "Remove"), h(Button, { key: 'dc6072e019ebedc91d99917023b561f7048e7a08', variant: "primary", type: "submit", onClick: this.handleAddOwner, disabled: this.isLoading }, this.submitButtonText))), h("hr", { key: 'd46ee611300752429d1c9b50dfce99e8b6fc10fa' }))));
|
|
148
149
|
}
|
|
149
150
|
static get is() { return "owner-form-core"; }
|
|
150
151
|
static get properties() {
|
|
151
152
|
return {
|
|
152
153
|
"ownerId": {
|
|
153
154
|
"type": "string",
|
|
154
|
-
"attribute": "owner-id",
|
|
155
155
|
"mutable": false,
|
|
156
156
|
"complexType": {
|
|
157
157
|
"original": "string",
|
|
@@ -166,11 +166,11 @@ export class BusinessOwnerFormCore {
|
|
|
166
166
|
},
|
|
167
167
|
"getter": false,
|
|
168
168
|
"setter": false,
|
|
169
|
-
"reflect": false
|
|
169
|
+
"reflect": false,
|
|
170
|
+
"attribute": "owner-id"
|
|
170
171
|
},
|
|
171
172
|
"businessId": {
|
|
172
173
|
"type": "string",
|
|
173
|
-
"attribute": "business-id",
|
|
174
174
|
"mutable": false,
|
|
175
175
|
"complexType": {
|
|
176
176
|
"original": "string",
|
|
@@ -185,11 +185,11 @@ export class BusinessOwnerFormCore {
|
|
|
185
185
|
},
|
|
186
186
|
"getter": false,
|
|
187
187
|
"setter": false,
|
|
188
|
-
"reflect": false
|
|
188
|
+
"reflect": false,
|
|
189
|
+
"attribute": "business-id"
|
|
189
190
|
},
|
|
190
191
|
"getOwner": {
|
|
191
192
|
"type": "unknown",
|
|
192
|
-
"attribute": "get-owner",
|
|
193
193
|
"mutable": false,
|
|
194
194
|
"complexType": {
|
|
195
195
|
"original": "Function",
|
|
@@ -212,7 +212,6 @@ export class BusinessOwnerFormCore {
|
|
|
212
212
|
},
|
|
213
213
|
"patchOwner": {
|
|
214
214
|
"type": "unknown",
|
|
215
|
-
"attribute": "patch-owner",
|
|
216
215
|
"mutable": false,
|
|
217
216
|
"complexType": {
|
|
218
217
|
"original": "Function",
|
|
@@ -235,7 +234,6 @@ export class BusinessOwnerFormCore {
|
|
|
235
234
|
},
|
|
236
235
|
"postOwner": {
|
|
237
236
|
"type": "unknown",
|
|
238
|
-
"attribute": "post-owner",
|
|
239
237
|
"mutable": false,
|
|
240
238
|
"complexType": {
|
|
241
239
|
"original": "Function",
|
|
@@ -258,7 +256,6 @@ export class BusinessOwnerFormCore {
|
|
|
258
256
|
},
|
|
259
257
|
"allowOptionalFields": {
|
|
260
258
|
"type": "boolean",
|
|
261
|
-
"attribute": "allow-optional-fields",
|
|
262
259
|
"mutable": false,
|
|
263
260
|
"complexType": {
|
|
264
261
|
"original": "boolean",
|
|
@@ -273,11 +270,11 @@ export class BusinessOwnerFormCore {
|
|
|
273
270
|
},
|
|
274
271
|
"getter": false,
|
|
275
272
|
"setter": false,
|
|
276
|
-
"reflect": false
|
|
273
|
+
"reflect": false,
|
|
274
|
+
"attribute": "allow-optional-fields"
|
|
277
275
|
},
|
|
278
276
|
"removeOwner": {
|
|
279
277
|
"type": "unknown",
|
|
280
|
-
"attribute": "remove-owner",
|
|
281
278
|
"mutable": false,
|
|
282
279
|
"complexType": {
|
|
283
280
|
"original": "(id: string) => void",
|
|
@@ -295,7 +292,6 @@ export class BusinessOwnerFormCore {
|
|
|
295
292
|
},
|
|
296
293
|
"newFormOpen": {
|
|
297
294
|
"type": "boolean",
|
|
298
|
-
"attribute": "new-form-open",
|
|
299
295
|
"mutable": false,
|
|
300
296
|
"complexType": {
|
|
301
297
|
"original": "boolean",
|
|
@@ -310,11 +306,11 @@ export class BusinessOwnerFormCore {
|
|
|
310
306
|
},
|
|
311
307
|
"getter": false,
|
|
312
308
|
"setter": false,
|
|
313
|
-
"reflect": false
|
|
309
|
+
"reflect": false,
|
|
310
|
+
"attribute": "new-form-open"
|
|
314
311
|
},
|
|
315
312
|
"ownersLength": {
|
|
316
313
|
"type": "number",
|
|
317
|
-
"attribute": "owners-length",
|
|
318
314
|
"mutable": false,
|
|
319
315
|
"complexType": {
|
|
320
316
|
"original": "number",
|
|
@@ -329,7 +325,33 @@ export class BusinessOwnerFormCore {
|
|
|
329
325
|
},
|
|
330
326
|
"getter": false,
|
|
331
327
|
"setter": false,
|
|
332
|
-
"reflect": false
|
|
328
|
+
"reflect": false,
|
|
329
|
+
"attribute": "owners-length"
|
|
330
|
+
},
|
|
331
|
+
"country": {
|
|
332
|
+
"type": "string",
|
|
333
|
+
"mutable": false,
|
|
334
|
+
"complexType": {
|
|
335
|
+
"original": "CountryCode",
|
|
336
|
+
"resolved": "CountryCode.CAN | CountryCode.USA",
|
|
337
|
+
"references": {
|
|
338
|
+
"CountryCode": {
|
|
339
|
+
"location": "import",
|
|
340
|
+
"path": "../../../utils/country-codes",
|
|
341
|
+
"id": "src/utils/country-codes.ts::CountryCode"
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
"required": false,
|
|
346
|
+
"optional": false,
|
|
347
|
+
"docs": {
|
|
348
|
+
"tags": [],
|
|
349
|
+
"text": ""
|
|
350
|
+
},
|
|
351
|
+
"getter": false,
|
|
352
|
+
"setter": false,
|
|
353
|
+
"reflect": false,
|
|
354
|
+
"attribute": "country"
|
|
333
355
|
}
|
|
334
356
|
};
|
|
335
357
|
}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
-
import {
|
|
2
|
+
import { IDENTITY_MASKS, PHONE_MASKS } from "../../../utils/form-input-masks";
|
|
3
3
|
import { updateAddressFormValues, updateDateOfBirthFormValues, updateFormValues } from "../utils/input-handlers";
|
|
4
|
+
import { countryLabels } from "../utils/country-config";
|
|
5
|
+
import { label, inputDisabled, buttonSecondary } from "../../../styles/parts";
|
|
4
6
|
export class BusinessOwnerFormInputs {
|
|
5
7
|
constructor() {
|
|
8
|
+
this.isEditingIdentification = false;
|
|
6
9
|
this.inputHandler = (name, value) => {
|
|
7
10
|
updateFormValues(this.formController, { [name]: value });
|
|
8
11
|
};
|
|
@@ -11,7 +14,15 @@ export class BusinessOwnerFormInputs {
|
|
|
11
14
|
};
|
|
12
15
|
}
|
|
13
16
|
render() {
|
|
14
|
-
|
|
17
|
+
var _a, _b;
|
|
18
|
+
return (h("div", { key: '81c659f924f51a559e3e958b5d608f7c68022093', class: "row gy-3" }, h("div", { key: '9c89bc8e39cb584bf81852784a335599308681ff', class: "col-12 col-md-8" }, h("form-control-text", { key: 'a02d86ccbbcda1219a2e4e2885d0ffb54bcc3942', name: "name", label: "Full Name", defaultValue: this.ownerDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '7281855c61b30b689809aa9fd3d4fce3927fcb8f', class: "col-12 col-md-4" }, h("form-control-text", { key: 'c91163386bd23653e3eaca4cf66c9690c28ed6f7', 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." })), h("div", { key: 'c998576d6f8442f255685a31a4bb0463175163f5', class: "col-12 col-md-6" }, h("form-control-text", { key: '345003706db0198c9de5e4234f3fe3efbacc51c7', name: "email", label: "Email Address", defaultValue: this.ownerDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '8bccc4ebd45c92924e921f7fffa7f5214406c9e2', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: 'adaf6251217a5396c36ee7e9c0963cf2c948d9cd', name: "phone", label: "Phone Number", defaultValue: this.ownerDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: 'd87f294ba9bf27df562f3e9b0ea4e286c1c6a725', class: "col-12 col-md-4" }, h("form-control-date", { key: '0681a51f830eb1b358c525deb46baa06f7bc9977', name: "dob_full", label: "Birth Date", defaultValue: this.ownerDefaultValue.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: (e) => updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), h("div", { key: '090785d6d86ec3122c3884ec8ba46df43f71d08e', class: "col-12 col-md-8" }, (!((_a = this.ownerDefaultValue) === null || _a === void 0 ? void 0 : _a.ssn_last4) || this.isEditingIdentification) ? (h("form-control-number-masked", { name: "identification_number", label: countryLabels[this.country].idNumberLabel, defaultValue: this.isEditingIdentification ? '' : this.ownerDefaultValue.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: IDENTITY_MASKS[this.country], helpText: countryLabels[this.country].identityHelpText })) : (h("div", null, h("label", { class: "form-label", part: label }, countryLabels[this.country].idNumberLabel), h("div", { class: "input-group mb-3" }, h("input", { type: "text", class: "form-control", part: inputDisabled, value: `****${(_b = this.ownerDefaultValue) === null || _b === void 0 ? void 0 : _b.ssn_last4}`, disabled: true }), h("button", { class: "btn btn-secondary", type: "button", part: buttonSecondary, onClick: () => {
|
|
19
|
+
this.isEditingIdentification = true;
|
|
20
|
+
// Clear last4 and current value to force validation
|
|
21
|
+
updateFormValues(this.formController, {
|
|
22
|
+
ssn_last4: null,
|
|
23
|
+
identification_number: ''
|
|
24
|
+
});
|
|
25
|
+
} }, "Change"))))), h("div", { key: '3d5eabefcd198d1a27bfe158c92e3c18a0a14e69', class: "col-12" }, h("justifi-identity-address-form", { key: '10158bd6a40fa0ca00d7e9feb04d7c22e51d5829', errors: this.errors.address, defaultValues: this.ownerDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate, country: this.country }))));
|
|
15
26
|
}
|
|
16
27
|
;
|
|
17
28
|
static get is() { return "owner-form-inputs"; }
|
|
@@ -19,7 +30,6 @@ export class BusinessOwnerFormInputs {
|
|
|
19
30
|
return {
|
|
20
31
|
"ownerDefaultValue": {
|
|
21
32
|
"type": "any",
|
|
22
|
-
"attribute": "owner-default-value",
|
|
23
33
|
"mutable": false,
|
|
24
34
|
"complexType": {
|
|
25
35
|
"original": "any",
|
|
@@ -34,11 +44,11 @@ export class BusinessOwnerFormInputs {
|
|
|
34
44
|
},
|
|
35
45
|
"getter": false,
|
|
36
46
|
"setter": false,
|
|
37
|
-
"reflect": false
|
|
47
|
+
"reflect": false,
|
|
48
|
+
"attribute": "owner-default-value"
|
|
38
49
|
},
|
|
39
50
|
"errors": {
|
|
40
51
|
"type": "any",
|
|
41
|
-
"attribute": "errors",
|
|
42
52
|
"mutable": false,
|
|
43
53
|
"complexType": {
|
|
44
54
|
"original": "any",
|
|
@@ -53,11 +63,11 @@ export class BusinessOwnerFormInputs {
|
|
|
53
63
|
},
|
|
54
64
|
"getter": false,
|
|
55
65
|
"setter": false,
|
|
56
|
-
"reflect": false
|
|
66
|
+
"reflect": false,
|
|
67
|
+
"attribute": "errors"
|
|
57
68
|
},
|
|
58
69
|
"formController": {
|
|
59
70
|
"type": "any",
|
|
60
|
-
"attribute": "form-controller",
|
|
61
71
|
"mutable": false,
|
|
62
72
|
"complexType": {
|
|
63
73
|
"original": "FormController",
|
|
@@ -77,8 +87,39 @@ export class BusinessOwnerFormInputs {
|
|
|
77
87
|
},
|
|
78
88
|
"getter": false,
|
|
79
89
|
"setter": false,
|
|
80
|
-
"reflect": false
|
|
90
|
+
"reflect": false,
|
|
91
|
+
"attribute": "form-controller"
|
|
92
|
+
},
|
|
93
|
+
"country": {
|
|
94
|
+
"type": "string",
|
|
95
|
+
"mutable": false,
|
|
96
|
+
"complexType": {
|
|
97
|
+
"original": "CountryCode",
|
|
98
|
+
"resolved": "CountryCode.CAN | CountryCode.USA",
|
|
99
|
+
"references": {
|
|
100
|
+
"CountryCode": {
|
|
101
|
+
"location": "import",
|
|
102
|
+
"path": "../../../utils/country-codes",
|
|
103
|
+
"id": "src/utils/country-codes.ts::CountryCode"
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"required": false,
|
|
108
|
+
"optional": false,
|
|
109
|
+
"docs": {
|
|
110
|
+
"tags": [],
|
|
111
|
+
"text": ""
|
|
112
|
+
},
|
|
113
|
+
"getter": false,
|
|
114
|
+
"setter": false,
|
|
115
|
+
"reflect": false,
|
|
116
|
+
"attribute": "country"
|
|
81
117
|
}
|
|
82
118
|
};
|
|
83
119
|
}
|
|
120
|
+
static get states() {
|
|
121
|
+
return {
|
|
122
|
+
"isEditingIdentification": {}
|
|
123
|
+
};
|
|
124
|
+
}
|
|
84
125
|
}
|
|
@@ -34,14 +34,13 @@ export class BusinessOwnerForm {
|
|
|
34
34
|
});
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
|
-
return (h("owner-form-core", { key: '
|
|
37
|
+
return (h("owner-form-core", { key: '84af0e74910def3f34aa4a6ce9d1f501faf6f5c5', 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, country: this.country, ref: ref => this.coreComponent = ref }));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "justifi-owner-form"; }
|
|
40
40
|
static get properties() {
|
|
41
41
|
return {
|
|
42
42
|
"authToken": {
|
|
43
43
|
"type": "string",
|
|
44
|
-
"attribute": "auth-token",
|
|
45
44
|
"mutable": false,
|
|
46
45
|
"complexType": {
|
|
47
46
|
"original": "string",
|
|
@@ -56,11 +55,11 @@ export class BusinessOwnerForm {
|
|
|
56
55
|
},
|
|
57
56
|
"getter": false,
|
|
58
57
|
"setter": false,
|
|
59
|
-
"reflect": false
|
|
58
|
+
"reflect": false,
|
|
59
|
+
"attribute": "auth-token"
|
|
60
60
|
},
|
|
61
61
|
"ownerId": {
|
|
62
62
|
"type": "string",
|
|
63
|
-
"attribute": "owner-id",
|
|
64
63
|
"mutable": false,
|
|
65
64
|
"complexType": {
|
|
66
65
|
"original": "string",
|
|
@@ -75,11 +74,11 @@ export class BusinessOwnerForm {
|
|
|
75
74
|
},
|
|
76
75
|
"getter": false,
|
|
77
76
|
"setter": false,
|
|
78
|
-
"reflect": false
|
|
77
|
+
"reflect": false,
|
|
78
|
+
"attribute": "owner-id"
|
|
79
79
|
},
|
|
80
80
|
"businessId": {
|
|
81
81
|
"type": "string",
|
|
82
|
-
"attribute": "business-id",
|
|
83
82
|
"mutable": false,
|
|
84
83
|
"complexType": {
|
|
85
84
|
"original": "string",
|
|
@@ -94,11 +93,11 @@ export class BusinessOwnerForm {
|
|
|
94
93
|
},
|
|
95
94
|
"getter": false,
|
|
96
95
|
"setter": false,
|
|
97
|
-
"reflect": false
|
|
96
|
+
"reflect": false,
|
|
97
|
+
"attribute": "business-id"
|
|
98
98
|
},
|
|
99
99
|
"allowOptionalFields": {
|
|
100
100
|
"type": "boolean",
|
|
101
|
-
"attribute": "allow-optional-fields",
|
|
102
101
|
"mutable": false,
|
|
103
102
|
"complexType": {
|
|
104
103
|
"original": "boolean",
|
|
@@ -113,11 +112,11 @@ export class BusinessOwnerForm {
|
|
|
113
112
|
},
|
|
114
113
|
"getter": false,
|
|
115
114
|
"setter": false,
|
|
116
|
-
"reflect": false
|
|
115
|
+
"reflect": false,
|
|
116
|
+
"attribute": "allow-optional-fields"
|
|
117
117
|
},
|
|
118
118
|
"removeOwner": {
|
|
119
119
|
"type": "unknown",
|
|
120
|
-
"attribute": "remove-owner",
|
|
121
120
|
"mutable": false,
|
|
122
121
|
"complexType": {
|
|
123
122
|
"original": "(id: string) => void",
|
|
@@ -135,7 +134,6 @@ export class BusinessOwnerForm {
|
|
|
135
134
|
},
|
|
136
135
|
"newFormOpen": {
|
|
137
136
|
"type": "boolean",
|
|
138
|
-
"attribute": "new-form-open",
|
|
139
137
|
"mutable": false,
|
|
140
138
|
"complexType": {
|
|
141
139
|
"original": "boolean",
|
|
@@ -150,11 +148,11 @@ export class BusinessOwnerForm {
|
|
|
150
148
|
},
|
|
151
149
|
"getter": false,
|
|
152
150
|
"setter": false,
|
|
153
|
-
"reflect": false
|
|
151
|
+
"reflect": false,
|
|
152
|
+
"attribute": "new-form-open"
|
|
154
153
|
},
|
|
155
154
|
"ownersLength": {
|
|
156
155
|
"type": "number",
|
|
157
|
-
"attribute": "owners-length",
|
|
158
156
|
"mutable": false,
|
|
159
157
|
"complexType": {
|
|
160
158
|
"original": "number",
|
|
@@ -169,7 +167,33 @@ export class BusinessOwnerForm {
|
|
|
169
167
|
},
|
|
170
168
|
"getter": false,
|
|
171
169
|
"setter": false,
|
|
172
|
-
"reflect": false
|
|
170
|
+
"reflect": false,
|
|
171
|
+
"attribute": "owners-length"
|
|
172
|
+
},
|
|
173
|
+
"country": {
|
|
174
|
+
"type": "string",
|
|
175
|
+
"mutable": false,
|
|
176
|
+
"complexType": {
|
|
177
|
+
"original": "CountryCode",
|
|
178
|
+
"resolved": "CountryCode.CAN | CountryCode.USA",
|
|
179
|
+
"references": {
|
|
180
|
+
"CountryCode": {
|
|
181
|
+
"location": "import",
|
|
182
|
+
"path": "../../../utils/country-codes",
|
|
183
|
+
"id": "src/utils/country-codes.ts::CountryCode"
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
"required": false,
|
|
188
|
+
"optional": false,
|
|
189
|
+
"docs": {
|
|
190
|
+
"tags": [],
|
|
191
|
+
"text": ""
|
|
192
|
+
},
|
|
193
|
+
"getter": false,
|
|
194
|
+
"setter": false,
|
|
195
|
+
"reflect": false,
|
|
196
|
+
"attribute": "country"
|
|
173
197
|
}
|
|
174
198
|
};
|
|
175
199
|
}
|
|
@@ -99,7 +99,6 @@ export class AdditionalQuestionsFormStepCore {
|
|
|
99
99
|
return {
|
|
100
100
|
"getBusiness": {
|
|
101
101
|
"type": "unknown",
|
|
102
|
-
"attribute": "get-business",
|
|
103
102
|
"mutable": false,
|
|
104
103
|
"complexType": {
|
|
105
104
|
"original": "Function",
|
|
@@ -122,7 +121,6 @@ export class AdditionalQuestionsFormStepCore {
|
|
|
122
121
|
},
|
|
123
122
|
"patchBusiness": {
|
|
124
123
|
"type": "unknown",
|
|
125
|
-
"attribute": "patch-business",
|
|
126
124
|
"mutable": false,
|
|
127
125
|
"complexType": {
|
|
128
126
|
"original": "Function",
|
|
@@ -145,7 +143,6 @@ export class AdditionalQuestionsFormStepCore {
|
|
|
145
143
|
},
|
|
146
144
|
"allowOptionalFields": {
|
|
147
145
|
"type": "boolean",
|
|
148
|
-
"attribute": "allow-optional-fields",
|
|
149
146
|
"mutable": false,
|
|
150
147
|
"complexType": {
|
|
151
148
|
"original": "boolean",
|
|
@@ -160,7 +157,8 @@ export class AdditionalQuestionsFormStepCore {
|
|
|
160
157
|
},
|
|
161
158
|
"getter": false,
|
|
162
159
|
"setter": false,
|
|
163
|
-
"reflect": false
|
|
160
|
+
"reflect": false,
|
|
161
|
+
"attribute": "allow-optional-fields"
|
|
164
162
|
}
|
|
165
163
|
};
|
|
166
164
|
}
|
|
@@ -34,14 +34,13 @@ export class AdditionalQuestionsFormStep {
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
|
-
return (h("justifi-additional-questions-form-step-core", { key: '
|
|
37
|
+
return (h("justifi-additional-questions-form-step-core", { key: 'a2e24c04b312a226b607147bcf68d6ea50a2be05', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "justifi-additional-questions-form-step"; }
|
|
40
40
|
static get properties() {
|
|
41
41
|
return {
|
|
42
42
|
"authToken": {
|
|
43
43
|
"type": "string",
|
|
44
|
-
"attribute": "auth-token",
|
|
45
44
|
"mutable": false,
|
|
46
45
|
"complexType": {
|
|
47
46
|
"original": "string",
|
|
@@ -56,11 +55,11 @@ export class AdditionalQuestionsFormStep {
|
|
|
56
55
|
},
|
|
57
56
|
"getter": false,
|
|
58
57
|
"setter": false,
|
|
59
|
-
"reflect": false
|
|
58
|
+
"reflect": false,
|
|
59
|
+
"attribute": "auth-token"
|
|
60
60
|
},
|
|
61
61
|
"businessId": {
|
|
62
62
|
"type": "string",
|
|
63
|
-
"attribute": "business-id",
|
|
64
63
|
"mutable": false,
|
|
65
64
|
"complexType": {
|
|
66
65
|
"original": "string",
|
|
@@ -75,11 +74,11 @@ export class AdditionalQuestionsFormStep {
|
|
|
75
74
|
},
|
|
76
75
|
"getter": false,
|
|
77
76
|
"setter": false,
|
|
78
|
-
"reflect": false
|
|
77
|
+
"reflect": false,
|
|
78
|
+
"attribute": "business-id"
|
|
79
79
|
},
|
|
80
80
|
"allowOptionalFields": {
|
|
81
81
|
"type": "boolean",
|
|
82
|
-
"attribute": "allow-optional-fields",
|
|
83
82
|
"mutable": false,
|
|
84
83
|
"complexType": {
|
|
85
84
|
"original": "boolean",
|
|
@@ -94,7 +93,8 @@ export class AdditionalQuestionsFormStep {
|
|
|
94
93
|
},
|
|
95
94
|
"getter": false,
|
|
96
95
|
"setter": false,
|
|
97
|
-
"reflect": false
|
|
96
|
+
"reflect": false,
|
|
97
|
+
"attribute": "allow-optional-fields"
|
|
98
98
|
}
|
|
99
99
|
};
|
|
100
100
|
}
|
|
@@ -2,14 +2,13 @@ import { h } from "@stencil/core";
|
|
|
2
2
|
import { EntityDocumentType } from "../../../../api";
|
|
3
3
|
export class BankAccountDocumentFormInputs {
|
|
4
4
|
render() {
|
|
5
|
-
return (h("div", { key: '
|
|
5
|
+
return (h("div", { key: '4daf6eadf7e1213c3534bd845c917af0b1ec1fec', class: "row gy-3" }, h("div", { key: '9d7235d40a0884960948eaac7dc990e947bf5165', class: "col-12" }, h("form-control-file", { key: 'e0e3704079e20c86dacec668d27ca23ef981aa2f', name: "voided_check", label: "Voided Check", documentType: EntityDocumentType.voidedCheck, inputHandler: this.inputHandler, onFileSelected: this.storeFiles, errorText: this.errors["voided_check"], multiple: true })), h("div", { key: '5c4c20191c6c54170896a9c0f893a7fe06ff6a70', class: "col-12" }, h("form-control-file", { key: '6d4ac9d3a47952644bab5afe4b23332a56c04035', name: "bank_statement", label: "Bank Statement", documentType: EntityDocumentType.bankStatement, inputHandler: this.inputHandler, onFileSelected: this.storeFiles, errorText: this.errors["bank_statement"], multiple: true }))));
|
|
6
6
|
}
|
|
7
7
|
static get is() { return "bank-account-document-form-inputs"; }
|
|
8
8
|
static get properties() {
|
|
9
9
|
return {
|
|
10
10
|
"inputHandler": {
|
|
11
11
|
"type": "unknown",
|
|
12
|
-
"attribute": "input-handler",
|
|
13
12
|
"mutable": false,
|
|
14
13
|
"complexType": {
|
|
15
14
|
"original": "(name: string, value: string) => void",
|
|
@@ -27,7 +26,6 @@ export class BankAccountDocumentFormInputs {
|
|
|
27
26
|
},
|
|
28
27
|
"errors": {
|
|
29
28
|
"type": "any",
|
|
30
|
-
"attribute": "errors",
|
|
31
29
|
"mutable": false,
|
|
32
30
|
"complexType": {
|
|
33
31
|
"original": "any",
|
|
@@ -42,11 +40,11 @@ export class BankAccountDocumentFormInputs {
|
|
|
42
40
|
},
|
|
43
41
|
"getter": false,
|
|
44
42
|
"setter": false,
|
|
45
|
-
"reflect": false
|
|
43
|
+
"reflect": false,
|
|
44
|
+
"attribute": "errors"
|
|
46
45
|
},
|
|
47
46
|
"storeFiles": {
|
|
48
47
|
"type": "unknown",
|
|
49
|
-
"attribute": "store-files",
|
|
50
48
|
"mutable": false,
|
|
51
49
|
"complexType": {
|
|
52
50
|
"original": "(e: CustomEvent<FileSelectEvent>) => void",
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { bankAccountTypeOptions } from "../../utils";
|
|
3
|
+
import { numberOnlyHandler } from "../../../../ui-components/form/utils";
|
|
4
|
+
export class BankAccountFormInputsCanada {
|
|
5
|
+
render() {
|
|
6
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
7
|
+
return (h("div", { key: '80b2030f1c1840df293a5ec600fe16836b502647', class: "row gy-3" }, h("div", { key: '5a28a5b515856da7808fc49cf0f775f8c4c71daa', class: "col-12" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Bank Name", value: (_a = this.defaultValue) === null || _a === void 0 ? void 0 : _a.bank_name })) : (h("form-control-text", { name: "bank_name", label: "Bank Name", defaultValue: this.defaultValue.bank_name, errorText: this.errors.bank_name, inputHandler: this.inputHandler }))), h("div", { key: '62761912ccf0ee5ba1e5c13cbb08cde9687d05bd', class: "col-12" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Nickname", value: (_b = this.defaultValue) === null || _b === void 0 ? void 0 : _b.nickname })) : (h("form-control-text", { name: "nickname", label: "Nickname", defaultValue: this.defaultValue.nickname, errorText: this.errors.nickname, inputHandler: this.inputHandler }))), h("div", { key: '04472a07096890a51d2e2db463f7040a389fd4e1', class: "col-12" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Account Owner Name", value: (_c = this.defaultValue) === null || _c === void 0 ? void 0 : _c.account_owner_name })) : (h("form-control-text", { name: "account_owner_name", label: "Account Owner Name", defaultValue: this.defaultValue.account_owner_name, errorText: this.errors.account_owner_name, inputHandler: this.inputHandler }))), h("div", { key: 'c2caa8ddb2b1038efb49e3361eab760108a34308', class: "col-12" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Account Type", value: (_d = this.defaultValue) === null || _d === void 0 ? void 0 : _d.account_type })) : (h("form-control-select", { name: "account_type", label: "Account Type", options: bankAccountTypeOptions, defaultValue: this.defaultValue.account_type, errorText: this.errors.account_type, inputHandler: this.inputHandler }))), h("div", { key: '2446720991bd2512f6bb8a779e47e526100dacb3', class: "col-3" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Transit Number", value: ((_e = this.defaultValue) === null || _e === void 0 ? void 0 : _e.transit_number) || '' })) : (h("form-control-text", { name: "transit_number", label: "Transit Number", defaultValue: this.defaultValue.transit_number, maxLength: 5, errorText: this.errors.transit_number, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, helpText: "5 digits" }))), h("div", { key: '98cda3809e604cc3e863f2d01698e217694b2550', class: "col-3" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Institution Number", value: ((_f = this.defaultValue) === null || _f === void 0 ? void 0 : _f.institution_number) || '' })) : (h("form-control-text", { name: "institution_number", label: "Institution Number", defaultValue: this.defaultValue.institution_number, maxLength: 3, errorText: this.errors.institution_number, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, helpText: "3 digits" }))), h("div", { key: 'de285afb20fe922e3a8dd66727222e2f49567aae', class: "col-6" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Account Number", value: ((_g = this.defaultValue) === null || _g === void 0 ? void 0 : _g.account_number_last4) ? `**** ${this.defaultValue.account_number_last4}` : '' })) : (h("form-control-text", { name: "account_number", label: "Account Number", defaultValue: this.defaultValue.account_number, maxLength: 17, errorText: this.errors.account_number, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, helpText: "Please copy the account number as shown on your statement. Do not include spaces or dashes." })))));
|
|
8
|
+
}
|
|
9
|
+
static get is() { return "bank-account-form-inputs-canada"; }
|
|
10
|
+
static get properties() {
|
|
11
|
+
return {
|
|
12
|
+
"defaultValue": {
|
|
13
|
+
"type": "any",
|
|
14
|
+
"mutable": false,
|
|
15
|
+
"complexType": {
|
|
16
|
+
"original": "any",
|
|
17
|
+
"resolved": "any",
|
|
18
|
+
"references": {}
|
|
19
|
+
},
|
|
20
|
+
"required": false,
|
|
21
|
+
"optional": false,
|
|
22
|
+
"docs": {
|
|
23
|
+
"tags": [],
|
|
24
|
+
"text": ""
|
|
25
|
+
},
|
|
26
|
+
"getter": false,
|
|
27
|
+
"setter": false,
|
|
28
|
+
"reflect": false,
|
|
29
|
+
"attribute": "default-value"
|
|
30
|
+
},
|
|
31
|
+
"errors": {
|
|
32
|
+
"type": "any",
|
|
33
|
+
"mutable": false,
|
|
34
|
+
"complexType": {
|
|
35
|
+
"original": "any",
|
|
36
|
+
"resolved": "any",
|
|
37
|
+
"references": {}
|
|
38
|
+
},
|
|
39
|
+
"required": false,
|
|
40
|
+
"optional": false,
|
|
41
|
+
"docs": {
|
|
42
|
+
"tags": [],
|
|
43
|
+
"text": ""
|
|
44
|
+
},
|
|
45
|
+
"getter": false,
|
|
46
|
+
"setter": false,
|
|
47
|
+
"reflect": false,
|
|
48
|
+
"attribute": "errors"
|
|
49
|
+
},
|
|
50
|
+
"inputHandler": {
|
|
51
|
+
"type": "unknown",
|
|
52
|
+
"mutable": false,
|
|
53
|
+
"complexType": {
|
|
54
|
+
"original": "(name: string, value: string) => void",
|
|
55
|
+
"resolved": "(name: string, value: string) => void",
|
|
56
|
+
"references": {}
|
|
57
|
+
},
|
|
58
|
+
"required": false,
|
|
59
|
+
"optional": false,
|
|
60
|
+
"docs": {
|
|
61
|
+
"tags": [],
|
|
62
|
+
"text": ""
|
|
63
|
+
},
|
|
64
|
+
"getter": false,
|
|
65
|
+
"setter": false
|
|
66
|
+
},
|
|
67
|
+
"formDisabled": {
|
|
68
|
+
"type": "boolean",
|
|
69
|
+
"mutable": false,
|
|
70
|
+
"complexType": {
|
|
71
|
+
"original": "boolean",
|
|
72
|
+
"resolved": "boolean",
|
|
73
|
+
"references": {}
|
|
74
|
+
},
|
|
75
|
+
"required": false,
|
|
76
|
+
"optional": false,
|
|
77
|
+
"docs": {
|
|
78
|
+
"tags": [],
|
|
79
|
+
"text": ""
|
|
80
|
+
},
|
|
81
|
+
"getter": false,
|
|
82
|
+
"setter": false,
|
|
83
|
+
"reflect": false,
|
|
84
|
+
"attribute": "form-disabled"
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
}
|