@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,246 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
const StateOptions = [
|
|
4
|
-
{
|
|
5
|
-
label: 'Choose state',
|
|
6
|
-
value: '',
|
|
7
|
-
},
|
|
8
|
-
{
|
|
9
|
-
label: 'Alabama',
|
|
10
|
-
value: 'AL',
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
label: 'Alaska',
|
|
14
|
-
value: 'AK',
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
label: 'American Samoa',
|
|
18
|
-
value: 'AS',
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
label: 'Arizona',
|
|
22
|
-
value: 'AZ',
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
label: 'Arkansas',
|
|
26
|
-
value: 'AR',
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
label: 'California',
|
|
30
|
-
value: 'CA',
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
label: 'Colorado',
|
|
34
|
-
value: 'CO',
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
label: 'Connecticut',
|
|
38
|
-
value: 'CT',
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
label: 'Delaware',
|
|
42
|
-
value: 'DE',
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
label: 'District Of Columbia',
|
|
46
|
-
value: 'DC',
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
label: 'Federated States Of Micronesia',
|
|
50
|
-
value: 'FM',
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
label: 'Florida',
|
|
54
|
-
value: 'FL',
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
label: 'Georgia',
|
|
58
|
-
value: 'GA',
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
label: 'Guam',
|
|
62
|
-
value: 'GU',
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
label: 'Hawaii',
|
|
66
|
-
value: 'HI',
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
label: 'Idaho',
|
|
70
|
-
value: 'ID',
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
label: 'Illinois',
|
|
74
|
-
value: 'IL',
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
label: 'Indiana',
|
|
78
|
-
value: 'IN',
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
label: 'Iowa',
|
|
82
|
-
value: 'IA',
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
label: 'Kansas',
|
|
86
|
-
value: 'KS',
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
label: 'Kentucky',
|
|
90
|
-
value: 'KY',
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
label: 'Louisiana',
|
|
94
|
-
value: 'LA',
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
label: 'Maine',
|
|
98
|
-
value: 'ME',
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
label: 'Marshall Islands',
|
|
102
|
-
value: 'MH',
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
label: 'Maryland',
|
|
106
|
-
value: 'MD',
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
label: 'Massachusetts',
|
|
110
|
-
value: 'MA',
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
label: 'Michigan',
|
|
114
|
-
value: 'MI',
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
label: 'Minnesota',
|
|
118
|
-
value: 'MN',
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
label: 'Mississippi',
|
|
122
|
-
value: 'MS',
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
label: 'Missouri',
|
|
126
|
-
value: 'MO',
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
label: 'Montana',
|
|
130
|
-
value: 'MT',
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
label: 'Nebraska',
|
|
134
|
-
value: 'NE',
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
label: 'Nevada',
|
|
138
|
-
value: 'NV',
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
label: 'New Hampshire',
|
|
142
|
-
value: 'NH',
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
label: 'New Jersey',
|
|
146
|
-
value: 'NJ',
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
label: 'New Mexico',
|
|
150
|
-
value: 'NM',
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
label: 'New York',
|
|
154
|
-
value: 'NY',
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
label: 'North Carolina',
|
|
158
|
-
value: 'NC',
|
|
159
|
-
},
|
|
160
|
-
{
|
|
161
|
-
label: 'North Dakota',
|
|
162
|
-
value: 'ND',
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
label: 'Northern Mariana Islands',
|
|
166
|
-
value: 'MP',
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
label: 'Ohio',
|
|
170
|
-
value: 'OH',
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
label: 'Oklahoma',
|
|
174
|
-
value: 'OK',
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
label: 'Oregon',
|
|
178
|
-
value: 'OR',
|
|
179
|
-
},
|
|
180
|
-
{
|
|
181
|
-
label: 'Palau',
|
|
182
|
-
value: 'PW',
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
label: 'Pennsylvania',
|
|
186
|
-
value: 'PA',
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
label: 'Puerto Rico',
|
|
190
|
-
value: 'PR',
|
|
191
|
-
},
|
|
192
|
-
{
|
|
193
|
-
label: 'Rhode Island',
|
|
194
|
-
value: 'RI',
|
|
195
|
-
},
|
|
196
|
-
{
|
|
197
|
-
label: 'South Carolina',
|
|
198
|
-
value: 'SC',
|
|
199
|
-
},
|
|
200
|
-
{
|
|
201
|
-
label: 'South Dakota',
|
|
202
|
-
value: 'SD',
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
label: 'Tennessee',
|
|
206
|
-
value: 'TN',
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
label: 'Texas',
|
|
210
|
-
value: 'TX',
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
label: 'Utah',
|
|
214
|
-
value: 'UT',
|
|
215
|
-
},
|
|
216
|
-
{
|
|
217
|
-
label: 'Vermont',
|
|
218
|
-
value: 'VT',
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
label: 'Virgin Islands',
|
|
222
|
-
value: 'VI',
|
|
223
|
-
},
|
|
224
|
-
{
|
|
225
|
-
label: 'Virginia',
|
|
226
|
-
value: 'VA',
|
|
227
|
-
},
|
|
228
|
-
{
|
|
229
|
-
label: 'Washington',
|
|
230
|
-
value: 'WA',
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
label: 'West Virginia',
|
|
234
|
-
value: 'WV',
|
|
235
|
-
},
|
|
236
|
-
{
|
|
237
|
-
label: 'Wisconsin',
|
|
238
|
-
value: 'WI',
|
|
239
|
-
},
|
|
240
|
-
{
|
|
241
|
-
label: 'Wyoming',
|
|
242
|
-
value: 'WY',
|
|
243
|
-
},
|
|
244
|
-
];
|
|
245
|
-
|
|
246
|
-
exports.StateOptions = StateOptions;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var index = require('./index-D1Ba20gi.js');
|
|
4
|
-
|
|
5
|
-
const filterParamsInitialState = {};
|
|
6
|
-
const propsParamsInitialState = {};
|
|
7
|
-
const filterParamsStore = index.createStore(() => filterParamsInitialState);
|
|
8
|
-
const { state: filterParams, on: onQueryParamsChange } = filterParamsStore;
|
|
9
|
-
const propsParamsStore = index.createStore(() => propsParamsInitialState);
|
|
10
|
-
const { state: propsParams } = propsParamsStore;
|
|
11
|
-
const getRequestParams = () => {
|
|
12
|
-
return Object.assign(Object.assign({}, filterParams), propsParams);
|
|
13
|
-
};
|
|
14
|
-
const clearParams = () => {
|
|
15
|
-
filterParamsStore.reset();
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
exports.clearParams = clearParams;
|
|
19
|
-
exports.filterParams = filterParams;
|
|
20
|
-
exports.getRequestParams = getRequestParams;
|
|
21
|
-
exports.onQueryParamsChange = onQueryParamsChange;
|
|
22
|
-
exports.propsParams = propsParams;
|
package/dist/collection/components/modular-checkout/sub-components/plaid-payment-method.test.js
DELETED
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
// Mock the store before importing the component
|
|
2
|
-
const mockCheckoutStore = {
|
|
3
|
-
selectedPaymentMethod: '',
|
|
4
|
-
authToken: 'test-token',
|
|
5
|
-
accountId: 'test-account',
|
|
6
|
-
checkoutId: 'test-checkout',
|
|
7
|
-
paymentToken: undefined,
|
|
8
|
-
paymentMethodGroupId: undefined,
|
|
9
|
-
savePaymentMethod: false,
|
|
10
|
-
};
|
|
11
|
-
jest.mock('../../../store/checkout.store', () => ({
|
|
12
|
-
checkoutStore: mockCheckoutStore,
|
|
13
|
-
onChange: jest.fn().mockReturnValue(jest.fn()),
|
|
14
|
-
}));
|
|
15
|
-
// Mock SVG imports
|
|
16
|
-
jest.mock('../../../assets/plaid-icon.svg', () => 'mocked-svg-path');
|
|
17
|
-
// Mock the PlaidService
|
|
18
|
-
// Provide a concrete mock for PlaidService with expected method signatures
|
|
19
|
-
jest.mock('../../../api/services/plaid.service', () => {
|
|
20
|
-
return {
|
|
21
|
-
PlaidService: jest.fn().mockImplementation(() => ({
|
|
22
|
-
getLinkToken: jest.fn().mockResolvedValue({
|
|
23
|
-
id: 'plt_123',
|
|
24
|
-
type: 'link_token',
|
|
25
|
-
data: { link_token: 'link-sandbox-abc', id: 'plt_123' },
|
|
26
|
-
}),
|
|
27
|
-
tokenizeBankAccount: jest.fn().mockResolvedValue({
|
|
28
|
-
id: 'pm_123',
|
|
29
|
-
type: 'payment_method',
|
|
30
|
-
data: { bank_account: { token: 'tok_pm_456' } },
|
|
31
|
-
}),
|
|
32
|
-
})),
|
|
33
|
-
};
|
|
34
|
-
});
|
|
35
|
-
import { newSpecPage } from "@stencil/core/testing";
|
|
36
|
-
import { PlaidPaymentMethod } from "./plaid-payment-method";
|
|
37
|
-
import { PAYMENT_METHODS } from "../ModularCheckout";
|
|
38
|
-
describe('PlaidPaymentMethod', () => {
|
|
39
|
-
let component;
|
|
40
|
-
let page;
|
|
41
|
-
beforeEach(async () => {
|
|
42
|
-
// Reset store state
|
|
43
|
-
mockCheckoutStore.selectedPaymentMethod = '';
|
|
44
|
-
mockCheckoutStore.authToken = 'test-token';
|
|
45
|
-
mockCheckoutStore.accountId = 'test-account';
|
|
46
|
-
mockCheckoutStore.checkoutId = 'test-checkout';
|
|
47
|
-
// Mock Plaid global
|
|
48
|
-
global.Plaid = {
|
|
49
|
-
create: jest.fn().mockReturnValue({
|
|
50
|
-
open: jest.fn(),
|
|
51
|
-
}),
|
|
52
|
-
};
|
|
53
|
-
page = await newSpecPage({
|
|
54
|
-
components: [PlaidPaymentMethod],
|
|
55
|
-
html: '<justifi-plaid-payment-method></justifi-plaid-payment-method>',
|
|
56
|
-
});
|
|
57
|
-
component = page.rootInstance;
|
|
58
|
-
});
|
|
59
|
-
afterEach(() => {
|
|
60
|
-
jest.clearAllMocks();
|
|
61
|
-
});
|
|
62
|
-
describe('Basic Functionality', () => {
|
|
63
|
-
it('should render without crashing', async () => {
|
|
64
|
-
// Wait for component to render
|
|
65
|
-
await page.waitForChanges();
|
|
66
|
-
// Basic check that component exists
|
|
67
|
-
expect(component).toBeTruthy();
|
|
68
|
-
expect(page.root).toBeTruthy();
|
|
69
|
-
});
|
|
70
|
-
it('should initialize with correct default state', () => {
|
|
71
|
-
expect(component.isSelected).toBe(false);
|
|
72
|
-
expect(component.publicToken).toBeNull();
|
|
73
|
-
expect(component.error).toBeNull();
|
|
74
|
-
});
|
|
75
|
-
});
|
|
76
|
-
describe('Store Integration', () => {
|
|
77
|
-
it('should initialize selection state from store', () => {
|
|
78
|
-
// Set store value before creating component
|
|
79
|
-
mockCheckoutStore.selectedPaymentMethod = { type: PAYMENT_METHODS.PLAID };
|
|
80
|
-
// Recreate component to test initialization
|
|
81
|
-
return newSpecPage({
|
|
82
|
-
components: [PlaidPaymentMethod],
|
|
83
|
-
html: '<justifi-plaid-payment-method></justifi-plaid-payment-method>',
|
|
84
|
-
}).then(page => {
|
|
85
|
-
const component = page.rootInstance;
|
|
86
|
-
expect(component.isSelected).toBe(true); // Component should initialize with selection state from store
|
|
87
|
-
});
|
|
88
|
-
});
|
|
89
|
-
});
|
|
90
|
-
describe('Component Methods', () => {
|
|
91
|
-
it('should provide isCurrentlySelected method', async () => {
|
|
92
|
-
component.isSelected = true;
|
|
93
|
-
const result = await component.isCurrentlySelected();
|
|
94
|
-
expect(result).toBe(true);
|
|
95
|
-
});
|
|
96
|
-
it('should provide reset method', async () => {
|
|
97
|
-
component.publicToken = 'test-token';
|
|
98
|
-
component.error = {
|
|
99
|
-
code: 'plaid-sdk-load-failed',
|
|
100
|
-
message: 'test-error',
|
|
101
|
-
severity: 'error',
|
|
102
|
-
retryable: true
|
|
103
|
-
};
|
|
104
|
-
await component.reset();
|
|
105
|
-
expect(component.publicToken).toBeNull();
|
|
106
|
-
expect(component.error).toBeNull();
|
|
107
|
-
expect(component.isAuthenticating).toBe(false);
|
|
108
|
-
});
|
|
109
|
-
});
|
|
110
|
-
describe('Plaid success flow', () => {
|
|
111
|
-
it('stores public token in store and does not set payment token', async () => {
|
|
112
|
-
// Arrange
|
|
113
|
-
mockCheckoutStore.selectedPaymentMethod = { type: PAYMENT_METHODS.PLAID };
|
|
114
|
-
const instance = page.rootInstance;
|
|
115
|
-
// Act: simulate Plaid success
|
|
116
|
-
instance.handlePlaidSuccess('public-sandbox-xyz', {});
|
|
117
|
-
await page.waitForChanges();
|
|
118
|
-
// Allow any async handlers to complete
|
|
119
|
-
await new Promise((r) => setTimeout(r, 0));
|
|
120
|
-
// Assert
|
|
121
|
-
expect(mockCheckoutStore.plaidPublicToken).toBe('public-sandbox-xyz');
|
|
122
|
-
expect(mockCheckoutStore.paymentToken).toBeUndefined();
|
|
123
|
-
});
|
|
124
|
-
});
|
|
125
|
-
});
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host, c as createEvent, g as getElement } from './index-qipqIMyC.js';
|
|
2
|
-
import './config-state-Blo0ywwc.js';
|
|
3
|
-
import './dinero-HXpYMWUU.js';
|
|
4
|
-
import './ComponentError-Cjcsf8ku.js';
|
|
5
|
-
import { E as EntityDocumentType } from './Refund-Bc5By0lb.js';
|
|
6
|
-
import './Pagination-CLHwhyvu.js';
|
|
7
|
-
import './Business-BCoP0TAV.js';
|
|
8
|
-
import './Dispute-BH0Xfn-F.js';
|
|
9
|
-
import { c as bankAccountTypeOptions } from './business-form-options-CgssATyg.js';
|
|
10
|
-
import './event-types-XYgDHrVL.js';
|
|
11
|
-
import { n as numberOnlyHandler } from './utils-BnjCmwMr.js';
|
|
12
|
-
import { s as snakeCaseToHumanReadable, e as formatDate, j as formatTimeSeconds } from './utils-BscIVFn8.js';
|
|
13
|
-
import { Y as card, C as heading2, aj as table, N as tableHeadCell, ak as tableCell, c as input, l as label, b as inputInvalid, T as inputDisabled, a as inputFocused } from './parts-RvUQ__Pq.js';
|
|
14
|
-
import { S as Skeleton } from './skeleton-DtpkgjZ6.js';
|
|
15
|
-
import './event-types-CZfYo5-1.js';
|
|
16
|
-
import { F as FormControlErrorText } from './form-control-error-text-IXJJ4JpV.js';
|
|
17
|
-
import './index-ZfXl6Xrm.js';
|
|
18
|
-
import './helpers-Mu7LQT-w.js';
|
|
19
|
-
import './state-options-BX8GieXu.js';
|
|
20
|
-
|
|
21
|
-
const BankAccountDocumentFormInputs = class {
|
|
22
|
-
constructor(hostRef) {
|
|
23
|
-
registerInstance(this, hostRef);
|
|
24
|
-
}
|
|
25
|
-
render() {
|
|
26
|
-
return (h("div", { key: 'c62d858a070a4611bead814bacd350e7faa4b400', class: "row gy-3" }, h("div", { key: '0044e508f449953f9da16907d1a141a0b4b42f1f', class: "col-12" }, h("form-control-file", { key: 'add74fc5424ffdb64dbae5b2e0dddde39544e5e3', 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: '0d69209999cb8ded788a12ac3bd46360a73b1443', class: "col-12" }, h("form-control-file", { key: '73cf74f2a2cd19db35ac9e5191cb59a99098806b', name: "bank_statement", label: "Bank Statement", documentType: EntityDocumentType.bankStatement, inputHandler: this.inputHandler, onFileSelected: this.storeFiles, errorText: this.errors["bank_statement"], multiple: true }))));
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
const BankAccountFormInputs = class {
|
|
31
|
-
constructor(hostRef) {
|
|
32
|
-
registerInstance(this, hostRef);
|
|
33
|
-
}
|
|
34
|
-
render() {
|
|
35
|
-
return (h("div", { key: '1628c5430b9235c9e03eff78ccdbf9af49c7f455', class: "row gy-3" }, h("div", { key: 'c4af1f6adcf00c67cfc1c3e962ba716c471f8176', class: "col-12" }, h("form-control-text", { key: '3cb9addf2e55fb8d7f653621d3adccf17ff0bc3d', name: "bank_name", label: "Bank Name", defaultValue: this.defaultValue.bank_name, errorText: this.errors.bank_name, inputHandler: this.inputHandler, disabled: this.formDisabled })), h("div", { key: '1eb8b918e676b267caa0c8808a4dbde740ca46df', class: "col-12" }, h("form-control-text", { key: 'e540eeac2975e58fb5a28dc670441babdc62f857', name: "nickname", label: "Nickname", defaultValue: this.defaultValue.nickname, errorText: this.errors.nickname, inputHandler: this.inputHandler, disabled: this.formDisabled })), h("div", { key: '102078fb6d9bc409abe06d7ef4d3bbc11edc1f7a', class: "col-12" }, h("form-control-text", { key: '51f7801dab1d69ea38891e5b31c3c23166d2bdc6', name: "account_owner_name", label: "Account Owner Name", defaultValue: this.defaultValue.account_owner_name, errorText: this.errors.account_owner_name, inputHandler: this.inputHandler, disabled: this.formDisabled })), h("div", { key: '66d068a5c05b643e03f45f6cdb0a4f76720d5832', class: "col-12" }, h("form-control-select", { key: '5fa5b53dc35132b0d4948d8ca857563e726599bb', name: "account_type", label: "Account Type", options: bankAccountTypeOptions, defaultValue: this.defaultValue.account_type, errorText: this.errors.account_type, inputHandler: this.inputHandler, disabled: this.formDisabled })), h("div", { key: '522d348ea1460b7d645028a5174fce5bd6704adb', class: "col-12" }, h("form-control-text", { key: 'b2f3c8f097c5f0956252ada807f75d80f0c20225', name: "account_number", label: "Account Number", defaultValue: this.defaultValue.account_number, maxLength: 17, errorText: this.errors.account_number, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, disabled: this.formDisabled, helpText: "Please copy the account number as shown on your statement/check. Do not include spaces or dashes." })), h("div", { key: '627bfec99086214dad9f938a7c6f6650bb1023b8', class: "col-12" }, h("form-control-text", { key: 'a21cff4dbcbfb85dc851f1905a0dbeb99df81325', name: "routing_number", label: "Routing Number", defaultValue: this.defaultValue.routing_number, maxLength: 9, errorText: this.errors.routing_number, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, disabled: this.formDisabled, helpText: "A valid routing number is nine digits. Please include any leading or trailing zeroes." }))));
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
const BusinessDocumentsOnFile = class {
|
|
40
|
-
constructor(hostRef) {
|
|
41
|
-
registerInstance(this, hostRef);
|
|
42
|
-
this.documents = [];
|
|
43
|
-
this.isLoading = false;
|
|
44
|
-
}
|
|
45
|
-
render() {
|
|
46
|
-
if (this.isLoading) {
|
|
47
|
-
return h(Skeleton, { height: "50px" });
|
|
48
|
-
}
|
|
49
|
-
if (!this.documents.length) {
|
|
50
|
-
return null;
|
|
51
|
-
}
|
|
52
|
-
return (h(Host, null, h("div", { class: "card", part: card }, h("div", { class: "card-body" }, h("h5", { class: "card-title", part: heading2 }, "Documents Already on File"), h("div", { class: "table-responsive" }, h("table", { class: "table table-sm table-borderless", part: table }, h("thead", null, h("tr", null, h("th", { style: { width: "25%" }, part: tableHeadCell, scope: "col" }, "File Name"), h("th", { style: { width: "25%" }, part: tableHeadCell, scope: "col" }, "File Type"), h("th", { style: { width: "25%" }, part: tableHeadCell, scope: "col" }, "Document Type"), h("th", { style: { width: "25%" }, part: tableHeadCell, scope: "col" }, "Date Uploaded"))), h("tbody", null, this.documents.sort((a, b) => a.document_type.localeCompare(b.document_type))
|
|
53
|
-
.map((document, index) => {
|
|
54
|
-
return (h("tr", { class: index === 0 ? "border-bottom border-top" : "border-bottom" }, h("td", { part: tableCell }, document.file_name), h("td", { part: tableCell }, document.file_type), h("td", { part: tableCell }, snakeCaseToHumanReadable(document.document_type)), h("td", { part: tableCell }, `${formatDate(document.created_at)} - ${formatTimeSeconds(document.created_at)}`)));
|
|
55
|
-
})))))), h("hr", null)));
|
|
56
|
-
}
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
const FileInput = class {
|
|
60
|
-
constructor(hostRef) {
|
|
61
|
-
registerInstance(this, hostRef);
|
|
62
|
-
this.formControlInput = createEvent(this, "formControlInput");
|
|
63
|
-
this.formControlBlur = createEvent(this, "formControlBlur");
|
|
64
|
-
this.fileSelected = createEvent(this, "fileSelected");
|
|
65
|
-
this.isFocused = false;
|
|
66
|
-
this.handleFormControlInput = (event) => {
|
|
67
|
-
const target = event.target;
|
|
68
|
-
const name = target.getAttribute('name');
|
|
69
|
-
this.inputHandler(name, target.value);
|
|
70
|
-
this.formControlInput.emit({ name, value: target.value });
|
|
71
|
-
};
|
|
72
|
-
this.changeHandler = () => {
|
|
73
|
-
const inputFileList = this.fileInput.files;
|
|
74
|
-
if (inputFileList) {
|
|
75
|
-
this.fileSelected.emit({
|
|
76
|
-
fileList: inputFileList,
|
|
77
|
-
document_type: this.documentType
|
|
78
|
-
});
|
|
79
|
-
}
|
|
80
|
-
};
|
|
81
|
-
}
|
|
82
|
-
componentDidLoad() {
|
|
83
|
-
this.fileInput = this.el.querySelector('input');
|
|
84
|
-
}
|
|
85
|
-
get part() {
|
|
86
|
-
let part = input;
|
|
87
|
-
if (this.errorText) {
|
|
88
|
-
part = inputInvalid;
|
|
89
|
-
}
|
|
90
|
-
if (this.disabled) {
|
|
91
|
-
part = inputDisabled;
|
|
92
|
-
}
|
|
93
|
-
if (this.isFocused) {
|
|
94
|
-
part = inputFocused;
|
|
95
|
-
}
|
|
96
|
-
return part;
|
|
97
|
-
}
|
|
98
|
-
render() {
|
|
99
|
-
return (h(Host, { key: '3f6adbe90fc89972562f658958433d77ca9ad67c' }, h("div", { key: '522ea5f78109a2717e8b016c16d29c9444ebf0c2', class: "form-group d-flex flex-column" }, h("div", { key: '39647185cf2b6fbe4317aa5ae609a971161974a7', class: "d-flex align-items-start gap-2" }, h("label", { key: '18d7f1e782c74bfd9a1aad52c70d451e2d7ebdd5', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '3eab40969bc7d68b195093f7671244a2c1a0f537', helpText: this.helpText })), h("input", { key: '0acb164fc09a23fd8a8937222f527052bb02248e', ref: (el) => this.fileInput = el, type: "file", name: this.name, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onChange: this.changeHandler, onInput: this.handleFormControlInput, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
100
|
-
this.isFocused = false;
|
|
101
|
-
this.formControlBlur.emit();
|
|
102
|
-
} }), h(FormControlErrorText, { key: '03689848a01a3844dcf4480d5f997a3a52338ea1', errorText: this.errorText, name: this.name }))));
|
|
103
|
-
}
|
|
104
|
-
get el() { return getElement(this); }
|
|
105
|
-
};
|
|
106
|
-
|
|
107
|
-
export { BankAccountDocumentFormInputs as bank_account_document_form_inputs, BankAccountFormInputs as bank_account_form_inputs, BusinessDocumentsOnFile as business_documents_on_file, FileInput as form_control_file };
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { c as create$3, a as create$6 } from './index.esm-cYgKOXtz.js';
|
|
2
|
-
import { k as postalValidation, l as stateValidation, m as cityValidation, n as lineTwoValidation, q as lineOneValidation, u as ssnValidation, v as dobValidation, p as phoneValidation, e as emailValidation, x as identityTitleValidation, y as identityNameValidation } from './schema-validations-DcR1ujuX.js';
|
|
3
|
-
|
|
4
|
-
const addressSchema = (allowOptionalFields) => {
|
|
5
|
-
const schema = create$3({
|
|
6
|
-
line1: lineOneValidation.required('Enter street address'),
|
|
7
|
-
line2: lineTwoValidation.nullable(),
|
|
8
|
-
city: cityValidation.required('Enter city'),
|
|
9
|
-
state: stateValidation.required('Select state'),
|
|
10
|
-
postal_code: postalValidation.required('Enter postal code'),
|
|
11
|
-
country: create$6().required('Select country')
|
|
12
|
-
});
|
|
13
|
-
const easySchema = create$3({
|
|
14
|
-
line1: lineOneValidation.nullable(),
|
|
15
|
-
line2: lineTwoValidation.nullable(),
|
|
16
|
-
city: cityValidation.nullable(),
|
|
17
|
-
state: stateValidation.nullable(),
|
|
18
|
-
postal_code: postalValidation.nullable(),
|
|
19
|
-
country: create$6().required('Select country')
|
|
20
|
-
});
|
|
21
|
-
return allowOptionalFields ? easySchema : schema;
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
const identitySchema = (role, allowOptionalFields) => {
|
|
25
|
-
const schema = create$3({
|
|
26
|
-
name: identityNameValidation.required(`Enter ${role} name`),
|
|
27
|
-
title: identityTitleValidation.required(`Enter ${role} title`),
|
|
28
|
-
email: emailValidation.required(`Enter ${role} email`),
|
|
29
|
-
phone: phoneValidation.required('Enter phone number'),
|
|
30
|
-
dob_full: dobValidation(role).required('Enter date of birth'),
|
|
31
|
-
ssn_last4: create$6().nullable(),
|
|
32
|
-
identification_number: ssnValidation,
|
|
33
|
-
address: addressSchema(allowOptionalFields),
|
|
34
|
-
});
|
|
35
|
-
const easySchema = create$3({
|
|
36
|
-
name: identityNameValidation.required(`Enter ${role} name`),
|
|
37
|
-
title: identityTitleValidation.nullable(),
|
|
38
|
-
email: emailValidation.nullable(),
|
|
39
|
-
phone: phoneValidation.nullable(),
|
|
40
|
-
dob_full: dobValidation(role).nullable(),
|
|
41
|
-
ssn_last4: create$6().nullable(),
|
|
42
|
-
identification_number: ssnValidation.nullable(),
|
|
43
|
-
address: addressSchema(allowOptionalFields),
|
|
44
|
-
});
|
|
45
|
-
return allowOptionalFields ? easySchema : schema;
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
export { addressSchema as a, identitySchema as i };
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-qipqIMyC.js';
|
|
2
|
-
import { I as IMask } from './index-Ce_F4E0f.js';
|
|
3
|
-
import { b as inputInvalid, T as inputDisabled, a as inputFocused, c as input, l as label } from './parts-RvUQ__Pq.js';
|
|
4
|
-
import { F as FormControlErrorText } from './form-control-error-text-IXJJ4JpV.js';
|
|
5
|
-
import './event-types-CZfYo5-1.js';
|
|
6
|
-
import { S as StateOptions } from './state-options-BX8GieXu.js';
|
|
7
|
-
import { n as numberOnlyHandler } from './utils-BnjCmwMr.js';
|
|
8
|
-
|
|
9
|
-
const NumberInputMasked = class {
|
|
10
|
-
constructor(hostRef) {
|
|
11
|
-
registerInstance(this, hostRef);
|
|
12
|
-
this.formControlInput = createEvent(this, "formControlInput");
|
|
13
|
-
this.formControlBlur = createEvent(this, "formControlBlur");
|
|
14
|
-
this.imask = null;
|
|
15
|
-
this.isFocused = false;
|
|
16
|
-
this.initializeIMask = () => {
|
|
17
|
-
if (!this.textInput)
|
|
18
|
-
return;
|
|
19
|
-
this.imask = IMask(this.textInput, {
|
|
20
|
-
mask: this.mask,
|
|
21
|
-
});
|
|
22
|
-
this.imask.on('accept', () => {
|
|
23
|
-
var _a;
|
|
24
|
-
const rawValue = (_a = this.imask) === null || _a === void 0 ? void 0 : _a.unmaskedValue;
|
|
25
|
-
if (rawValue !== undefined) {
|
|
26
|
-
this.inputHandler(this.name, rawValue);
|
|
27
|
-
}
|
|
28
|
-
});
|
|
29
|
-
this.textInput.addEventListener('blur', () => this.formControlBlur.emit());
|
|
30
|
-
};
|
|
31
|
-
this.handleFormControlInput = (event) => {
|
|
32
|
-
var _a;
|
|
33
|
-
const target = event.target;
|
|
34
|
-
const name = target.getAttribute('name');
|
|
35
|
-
const rawValue = ((_a = this.imask) === null || _a === void 0 ? void 0 : _a.unmaskedValue) || target.value;
|
|
36
|
-
this.formControlInput.emit({ name: name, value: rawValue });
|
|
37
|
-
};
|
|
38
|
-
this.updateInput = (newValue) => {
|
|
39
|
-
if (this.imask && newValue) {
|
|
40
|
-
this.imask.value = String(newValue);
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
handleDefaultValueChange(newValue) {
|
|
45
|
-
this.initializeIMask();
|
|
46
|
-
this.updateInput(newValue);
|
|
47
|
-
}
|
|
48
|
-
disconnectedCallback() {
|
|
49
|
-
var _a;
|
|
50
|
-
(_a = this.imask) === null || _a === void 0 ? void 0 : _a.destroy();
|
|
51
|
-
}
|
|
52
|
-
componentDidLoad() {
|
|
53
|
-
if (this.textInput) {
|
|
54
|
-
this.initializeIMask();
|
|
55
|
-
this.updateInput(this.defaultValue);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
get part() {
|
|
59
|
-
if (this.errorText) {
|
|
60
|
-
return inputInvalid;
|
|
61
|
-
}
|
|
62
|
-
if (this.disabled) {
|
|
63
|
-
return inputDisabled;
|
|
64
|
-
}
|
|
65
|
-
if (this.isFocused) {
|
|
66
|
-
return inputFocused;
|
|
67
|
-
}
|
|
68
|
-
return input;
|
|
69
|
-
}
|
|
70
|
-
render() {
|
|
71
|
-
return (h(Host, { key: 'cd0a23e4a4b1d7b39448e0770c5681aa319fe376' }, h("div", { key: 'fdaeea5b68035edc6885d7e3e5106d6c4962325f', class: "form-group d-flex flex-column" }, h("div", { key: '46379bb141130c88d0b09c1382a9f34758808b8c', class: "d-flex align-items-start gap-2" }, h("label", { key: '5a191a9c22d82d58354fa297d78f51c4cd0ec36b', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '9a8c580ee3b69902a30bca5aa79309be15d0c51d', helpText: this.helpText })), h("input", { key: '03bec84295380c4c86cc4c1b9ff6609ddf15c7b8', ref: el => (this.textInput = el), id: this.name, name: this.name, onFocus: () => (this.isFocused = true), onBlur: () => {
|
|
72
|
-
this.isFocused = false;
|
|
73
|
-
this.formControlBlur.emit();
|
|
74
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "text", disabled: this.disabled }), h(FormControlErrorText, { key: '55e523b3be538bccd3a438edf109acbb7de3fce9', errorText: this.errorText, name: this.name }))));
|
|
75
|
-
}
|
|
76
|
-
static get watchers() { return {
|
|
77
|
-
"defaultValue": ["handleDefaultValueChange"]
|
|
78
|
-
}; }
|
|
79
|
-
};
|
|
80
|
-
|
|
81
|
-
const IdentityAddressForm = class {
|
|
82
|
-
constructor(hostRef) {
|
|
83
|
-
registerInstance(this, hostRef);
|
|
84
|
-
this.address = {};
|
|
85
|
-
this.inputHandler = (name, value) => {
|
|
86
|
-
this.address[name] = value;
|
|
87
|
-
this.address = Object.assign({}, this.address);
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
handleAddressChange(newValues) {
|
|
91
|
-
this.handleFormUpdate(newValues);
|
|
92
|
-
}
|
|
93
|
-
render() {
|
|
94
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
95
|
-
return (h(Host, { key: '63db91625abddc3e615b031e04366a5823d516cf' }, h("div", { key: 'e07f0e511b178471343594fe0c88ae286325a5e5', class: "row gy-3" }, h("div", { key: 'a22674f05f19378994eceb7386c29f579c285a26', class: "col-12 col-md-8" }, h("form-control-text", { key: 'c6cfe95a8ce577a162e4eae61ff7d61902b36e73', name: "line1", label: "Street Address", defaultValue: (_a = this.defaultValues) === null || _a === void 0 ? void 0 : _a.line1, errorText: (_b = this.errors) === null || _b === void 0 ? void 0 : _b.line1, inputHandler: this.inputHandler, helpText: "\u200B\u200BEnter your address exactly as stated on your driver's license. No PO Boxes." })), h("div", { key: 'de08102a8f4948a929f4fd9194ba7eb2f075d507', class: "col-12 col-md-4" }, h("form-control-text", { key: '8dd269cbd72719ff4ad7b85693ed67e1fdd88225', name: "line2", label: "Apartment, Suite, etc. (optional)", defaultValue: (_c = this.defaultValues) === null || _c === void 0 ? void 0 : _c.line2, errorText: (_d = this.errors) === null || _d === void 0 ? void 0 : _d.line2, inputHandler: this.inputHandler })), h("div", { key: 'a1081a9a0016dc5fe06106ffdb0063374389f5de', class: "col-12" }, h("form-control-text", { key: '94b340156ae354a87a93a8cb44bbc0a2f6507489', name: "city", label: "City", defaultValue: (_e = this.defaultValues) === null || _e === void 0 ? void 0 : _e.city, errorText: (_f = this.errors) === null || _f === void 0 ? void 0 : _f.city, inputHandler: this.inputHandler })), h("div", { key: '66732609b564a08b4b907e9a50aab38a782b0cbc', class: "col-12 col-md-6" }, h("form-control-select", { key: '8f91fd2a2ae886044b105f21177c0ccd893c3993', name: "state", label: "State", defaultValue: (_g = this.defaultValues) === null || _g === void 0 ? void 0 : _g.state, options: StateOptions, errorText: (_h = this.errors) === null || _h === void 0 ? void 0 : _h.state, inputHandler: this.inputHandler })), h("div", { key: 'ebec4b6351ccb7741e195806f1897436e10404cc', class: "col-12 col-md-6" }, h("form-control-text", { key: '2d0884fb5acd8e2557fb5ece1b735e6d5945f2a1', name: "postal_code", label: "Postal Code", defaultValue: (_j = this.defaultValues) === null || _j === void 0 ? void 0 : _j.postal_code, errorText: (_k = this.errors) === null || _k === void 0 ? void 0 : _k.postal_code, maxLength: 5, keyDownHandler: numberOnlyHandler, inputHandler: this.inputHandler })), h("div", { key: '8051b9545fd8a93fec6f1c00623c2e2876912db7', class: "col-12" }, h("form-control-select", { key: 'c68c63ce249f139f4d1df8820f0e1dd56763a67f', name: "country", label: "Country", options: [{ label: 'United States', value: 'USA' }], inputHandler: this.inputHandler, defaultValue: (_l = this.defaultValues) === null || _l === void 0 ? void 0 : _l.country, errorText: (_m = this.errors) === null || _m === void 0 ? void 0 : _m.country,
|
|
96
|
-
// just for now so we skip handling country specificities
|
|
97
|
-
disabled: true })))));
|
|
98
|
-
}
|
|
99
|
-
static get watchers() { return {
|
|
100
|
-
"address": ["handleAddressChange"]
|
|
101
|
-
}; }
|
|
102
|
-
};
|
|
103
|
-
|
|
104
|
-
export { NumberInputMasked as form_control_number_masked, IdentityAddressForm as justifi_identity_address_form };
|