@justifi/webcomponents 6.1.1 → 6.2.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{Business-DCRzZf0w.js → Business-DWHy_-z9.js} +299 -9
- package/dist/cjs/bank-account-document-form-inputs_6.cjs.entry.js +132 -0
- package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
- package/dist/cjs/{business-additional-questions-schema-b8P-0T0O.js → business-additional-questions-schema-CetDMUp7.js} +26 -4
- package/dist/cjs/{business-form-options-CMII7nIK.js → business-form-options-e9UFw4P-.js} +1 -1
- package/dist/cjs/business-identity-schema-Cd0tvfJr.js +101 -0
- package/dist/cjs/{business.service-Cj_NUZsr.js → business.service-DRZurAMP.js} +1 -1
- package/dist/cjs/card-form.cjs.entry.js +2 -2
- package/dist/cjs/{check-pkg-version-CEZpYUNV.js → check-pkg-version-DHOBcjoo.js} +2 -2
- package/dist/cjs/{checkout.service-Bc8L9ixO.js → checkout.service-vZbSE3A3.js} +1 -1
- package/dist/cjs/checkouts-list-core.cjs.entry.js +2 -4
- package/dist/cjs/country-config-MCOhn8o3.js +68 -0
- package/dist/cjs/{custom-popper_2.cjs.entry.js → custom-popper.cjs.entry.js} +2 -22
- package/dist/cjs/{dispute.service-DhO_tuDc.js → dispute.service-DV9a61Tu.js} +1 -1
- package/dist/cjs/form-alert_5.cjs.entry.js +25 -15
- package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/form-control-date.cjs.entry.js +2 -2
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +3 -3
- package/dist/cjs/form-control-monetary.cjs.entry.js +2 -2
- package/dist/cjs/form-control-number-masked_3.cjs.entry.js +119 -0
- package/dist/cjs/form-control-number.cjs.entry.js +2 -2
- package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
- package/dist/cjs/{form-control-select_2.cjs.entry.js → form-control-select_3.cjs.entry.js} +23 -4
- package/dist/cjs/{form-input-masks-DgXd0f4V.js → form-input-masks-BnNFJ3IJ.js} +9 -4
- package/dist/cjs/{get-business-o5jPq_ME.js → get-business-D9ZHyPem.js} +1 -1
- package/dist/cjs/{get-payment-details-BinT-ZEP.js → get-payment-details-AYzxPu-X.js} +1 -1
- package/dist/cjs/{get-subaccounts-BoTVdl7v.js → get-subaccounts-C_KD197w.js} +1 -1
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
- package/dist/cjs/hidden-input_2.cjs.entry.js +5 -5
- package/dist/cjs/{input-handlers-DYl_0IwC.js → input-handlers-D6QMwPTB.js} +2 -2
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +121 -64
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +17 -18
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +8 -8
- package/dist/cjs/justifi-apple-pay_8.cjs.entry.js +8 -10
- package/dist/cjs/justifi-bank-account-billing-form-simple_9.cjs.entry.js +16 -17
- package/dist/cjs/justifi-business-details.cjs.entry.js +5 -7
- package/dist/cjs/justifi-business-form.cjs.entry.js +16 -12
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +14 -6
- package/dist/cjs/justifi-checkout.cjs.entry.js +5 -7
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +2 -4
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +6 -8
- package/dist/cjs/justifi-details.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +5 -7
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +7 -9
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +3 -5
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +7 -9
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +22 -13
- package/dist/cjs/justifi-payment-details.cjs.entry.js +5 -7
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +36 -21
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +5 -7
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +5 -7
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payments-list.cjs.entry.js +5 -7
- package/dist/cjs/justifi-payout-details.cjs.entry.js +4 -6
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +5 -7
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +6 -8
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +5 -7
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +3 -5
- package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +3 -5
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +5 -7
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +2 -4
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +6 -8
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-D2S7GRvh.js → package-BacF7Q_h.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +3 -3
- package/dist/cjs/payment-details-core.cjs.entry.js +9 -11
- package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
- package/dist/cjs/{payment.service-C9thkR4g.js → payment.service-1t60I69m.js} +1 -1
- package/dist/cjs/payments-list-core.cjs.entry.js +2 -4
- package/dist/cjs/payout-details-core.cjs.entry.js +3 -3
- package/dist/cjs/{payout.service-CGZxpQMq.js → payout.service-CQEXfufW.js} +1 -1
- package/dist/cjs/payouts-list-core.cjs.entry.js +2 -4
- package/dist/cjs/{schema-validations-Bj7eYNO8.js → schema-validations-0mjPveQ0.js} +45 -6
- package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +3 -5
- package/dist/cjs/{terminal-orders-table-7ew1vCKk.js → terminal-orders-table-B4ZXHj3w.js} +1 -1
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
- package/dist/cjs/{terminal.service-BkKxH-k4.js → terminal.service-BlW-CJ67.js} +1 -1
- package/dist/cjs/terminals-list-core.cjs.entry.js +2 -4
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/BankAccount.js +4 -0
- package/dist/collection/api/Business.js +16 -1
- package/dist/collection/collection-manifest.json +4 -1
- package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +7 -6
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +36 -4
- package/dist/collection/components/business-forms/business-form/business-form.js +6 -2
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +46 -9
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +32 -10
- package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +26 -6
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +29 -3
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +48 -6
- package/dist/collection/components/business-forms/owner-form/owner-form.js +26 -1
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.js +88 -0
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +2 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.js +50 -0
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +36 -5
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +26 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +47 -7
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +26 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +26 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +26 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +43 -4
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +33 -4
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +26 -1
- package/dist/collection/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.js +101 -0
- package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +35 -10
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +26 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +39 -20
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +34 -6
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/test/mockBusiness.js +52 -0
- package/dist/collection/components/business-forms/schemas/business-address-schema.js +41 -19
- package/dist/collection/components/business-forms/schemas/business-bank-account-schema.js +74 -39
- package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +27 -4
- package/dist/collection/components/business-forms/schemas/business-form-schema.js +7 -4
- package/dist/collection/components/business-forms/schemas/business-identity-schema.js +53 -24
- package/dist/collection/components/business-forms/schemas/schema-validations.js +41 -4
- package/dist/collection/components/business-forms/utils/country-config.js +47 -0
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
- package/dist/collection/components/checkout/card-form/card-form.js +2 -2
- package/dist/collection/components/checkout/checkout.js +2 -2
- package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
- package/dist/collection/components/checkout/saved-payment-method.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management.js +1 -1
- package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
- package/dist/collection/components/filters/table-filters-menu.js +1 -1
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
- package/dist/collection/components/modular-checkout/modular-checkout.js +3 -4
- package/dist/collection/components/modular-checkout/sub-components/bank-account-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
- package/dist/collection/components/modular-checkout/sub-components/card-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/card-form.js +2 -2
- package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/summary.js +1 -1
- package/dist/collection/components/order-terminals/order-terminals.js +1 -1
- package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
- package/dist/collection/components/payment-details/payment-details-core.js +8 -8
- package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
- package/dist/collection/components/payments-list/payments-list-core.js +1 -1
- package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
- package/dist/collection/components/payments-list/payments-list.js +1 -1
- package/dist/collection/components/payout-details/payout-details-core.js +3 -3
- package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
- package/dist/collection/components/payouts-list/payouts-list.js +1 -1
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
- package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list.js +1 -1
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +3 -4
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/details/details.js +1 -1
- package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
- package/dist/collection/ui-components/form/form-control-date.js +2 -2
- package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
- package/dist/collection/ui-components/form/form-control-file.js +2 -2
- package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
- package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
- package/dist/collection/ui-components/form/form-control-number.js +2 -2
- package/dist/collection/ui-components/form/form-control-radio.js +2 -2
- package/dist/collection/ui-components/form/form-control-select.js +2 -2
- package/dist/collection/ui-components/form/form-control-text.js +2 -2
- package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
- package/dist/collection/ui-components/form/hidden-input.js +1 -1
- package/dist/collection/ui-components/form/iframe-input.js +3 -3
- package/dist/collection/ui-components/pagination-menu/pagination-menu.js +3 -3
- package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-radio-list-item.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
- package/dist/collection/utils/country-codes.js +5 -0
- package/dist/collection/utils/form-input-masks.js +8 -0
- package/dist/collection/utils/province-options.js +20 -0
- package/dist/docs.json +1129 -147
- package/dist/esm/{Api-DhiA2e_P.js → Api-K9QH1Aki.js} +1 -1
- package/dist/esm/{Business-BCoP0TAV.js → Business-B5rtFhtR.js} +290 -3
- package/dist/esm/{Refund-B-iOTRxz.js → Refund-L_muwEAh.js} +1 -1
- package/dist/esm/additional-questions-details_5.entry.js +3 -3
- package/dist/esm/{badge-CtdO-tEY.js → badge-B8fF98jp.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_6.entry.js +125 -0
- package/dist/esm/bank-account-form.entry.js +5 -5
- package/dist/esm/{business-additional-questions-schema-9FAJSx_D.js → business-additional-questions-schema-DSvdNuI1.js} +26 -5
- package/dist/esm/business-details-core.entry.js +3 -3
- package/dist/esm/{business-form-options-CgssATyg.js → business-form-options-D6s5H4RI.js} +2 -2
- package/dist/esm/business-identity-schema-mN4VhA1v.js +94 -0
- package/dist/esm/{business.service-D55OVyco.js → business.service-BJcGEUDH.js} +3 -3
- package/dist/esm/{button-DtTaQHMK.js → button-DZoLTGMB.js} +1 -1
- package/dist/esm/card-form.entry.js +5 -5
- package/dist/esm/{check-pkg-version-Ba95SWgY.js → check-pkg-version-D2zmagAo.js} +4 -4
- package/dist/esm/{checkout.service-fwbqSq8g.js → checkout.service-aymuZDC9.js} +3 -3
- package/dist/esm/checkouts-list-core.entry.js +9 -11
- package/dist/esm/{checkouts-table-B6gGDtOr.js → checkouts-table-B8k-Aylm.js} +3 -3
- package/dist/esm/country-config-BQ4D46Lb.js +64 -0
- package/dist/esm/{custom-popper_2.entry.js → custom-popper.entry.js} +3 -22
- package/dist/esm/{dispute.service-Cdq3_yRo.js → dispute.service-DiPbsswm.js} +3 -3
- package/dist/esm/form-alert_5.entry.js +25 -15
- package/dist/esm/form-control-checkbox.entry.js +5 -5
- package/dist/esm/form-control-date.entry.js +4 -4
- package/dist/esm/{form-control-error-text-bprS-t9d.js → form-control-error-text-BmD6bGbR.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +5 -5
- package/dist/esm/{form-control-help-text-Bvnp-IAG.js → form-control-help-text-DbIhIcc6.js} +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +6 -6
- package/dist/esm/form-control-monetary.entry.js +6 -6
- package/dist/esm/form-control-number-masked_3.entry.js +115 -0
- package/dist/esm/form-control-number.entry.js +5 -5
- package/dist/esm/form-control-radio.entry.js +3 -3
- package/dist/esm/{form-control-select_2.entry.js → form-control-select_3.entry.js} +25 -7
- package/dist/esm/{form-input-masks-B-iV5cYd.js → form-input-masks-CVaOFfrI.js} +9 -3
- package/dist/esm/{get-business-Crb6P-iI.js → get-business-Xt7B5dSo.js} +1 -1
- package/dist/esm/{get-payment-details-sGoWyAat.js → get-payment-details-DcC5v85s.js} +2 -2
- package/dist/esm/{get-subaccounts-BsJSlShO.js → get-subaccounts-CMJMDwSP.js} +3 -3
- package/dist/esm/gross-payment-chart-core.entry.js +5 -5
- package/dist/esm/{header-1-C1Hnxki8.js → header-1-umkpdspt.js} +1 -1
- package/dist/esm/{header-3-Bq8fpjm-.js → header-3-CD5K5vCa.js} +1 -1
- package/dist/esm/hidden-input_2.entry.js +7 -7
- package/dist/esm/{input-handlers-CX6mSvOM.js → input-handlers-D3y0TzH9.js} +1 -1
- package/dist/esm/{insurance-state-CVme82j7.js → insurance-state-sR5DrCdu.js} +1 -1
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +127 -70
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +22 -23
- package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
- package/dist/esm/justifi-apple-pay_8.entry.js +16 -18
- package/dist/esm/justifi-bank-account-billing-form-simple_9.entry.js +22 -23
- package/dist/esm/justifi-business-details.entry.js +10 -12
- package/dist/esm/justifi-business-form.entry.js +23 -19
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +15 -7
- package/dist/esm/justifi-checkout.entry.js +9 -11
- package/dist/esm/justifi-checkouts-list-filters.entry.js +5 -7
- package/dist/esm/justifi-checkouts-list.entry.js +12 -14
- package/dist/esm/justifi-details.entry.js +3 -3
- package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
- package/dist/esm/justifi-dispute-management.entry.js +8 -10
- package/dist/esm/justifi-dispute-notification_3.entry.js +13 -15
- package/dist/esm/justifi-gross-payment-chart.entry.js +8 -10
- package/dist/esm/justifi-order-terminals.entry.js +12 -14
- package/dist/esm/justifi-owner-form_3.entry.js +27 -18
- package/dist/esm/justifi-payment-details.entry.js +10 -12
- package/dist/esm/justifi-payment-provisioning-core.entry.js +38 -23
- package/dist/esm/justifi-payment-provisioning.entry.js +8 -10
- package/dist/esm/justifi-payment-transactions-list.entry.js +11 -13
- package/dist/esm/justifi-payments-list-filters.entry.js +4 -4
- package/dist/esm/justifi-payments-list.entry.js +12 -14
- package/dist/esm/justifi-payout-details.entry.js +9 -11
- package/dist/esm/justifi-payout-transactions-list.entry.js +11 -13
- package/dist/esm/justifi-payouts-list-filters.entry.js +4 -4
- package/dist/esm/justifi-payouts-list.entry.js +13 -15
- package/dist/esm/justifi-refund-payment.entry.js +11 -13
- package/dist/esm/justifi-saved-payment-method.entry.js +2 -2
- package/dist/esm/justifi-season-interruption-insurance.entry.js +9 -11
- package/dist/esm/justifi-skeleton.entry.js +3 -3
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +6 -8
- package/dist/esm/justifi-terminal-orders-list.entry.js +10 -12
- package/dist/esm/justifi-terminals-list-filters.entry.js +5 -7
- package/dist/esm/justifi-terminals-list.entry.js +12 -14
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-Csfiax9X.js → package-C7cvPZSk.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +4 -4
- package/dist/esm/{parts-xDbRW9xn.js → parts-Dj_zevuD.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +16 -18
- package/dist/esm/payment-method-option.entry.js +2 -2
- package/dist/esm/{payment.service-BoQ1MW1k.js → payment.service-C0xnydJ8.js} +3 -3
- package/dist/esm/payments-list-core.entry.js +10 -12
- package/dist/esm/{payments-status-cvtVmtY5.js → payments-status-CzazNnFv.js} +1 -1
- package/dist/esm/{payments-table-D_BlyU1F.js → payments-table-BPKxBAJ0.js} +3 -3
- package/dist/esm/payout-details-core.entry.js +10 -10
- package/dist/esm/{payout.service-xcBdom3q.js → payout.service-Cl4yxnrx.js} +3 -3
- package/dist/esm/payouts-list-core.entry.js +10 -12
- package/dist/esm/{payouts-status-D-vjrqBb.js → payouts-status-rKlX41bK.js} +1 -1
- package/dist/esm/{payouts-table-Clj8YGLV.js → payouts-table-C6ZDcd_-.js} +3 -3
- package/dist/esm/{schema-validations-B9dmY7ME.js → schema-validations-BFoU1cR8.js} +41 -6
- package/dist/esm/{skeleton-B8EUwt4b.js → skeleton-BEoPu3My.js} +1 -1
- package/dist/esm/{spinner-CYXkn1fh.js → spinner-Ac-w5zWg.js} +1 -1
- package/dist/esm/{table-Bj20uWfu.js → table-BCwizIf9.js} +2 -2
- package/dist/esm/table-filters-menu.entry.js +3 -3
- package/dist/esm/terminal-orders-list-core.entry.js +9 -11
- package/dist/esm/{terminal-orders-table-DzBpIW8i.js → terminal-orders-table-BBQsoUh8.js} +5 -5
- package/dist/esm/terminal-quantity-selector.entry.js +2 -2
- package/dist/esm/{terminal.service-l6zTIPZ3.js → terminal.service-mwaS-Mbj.js} +3 -3
- package/dist/esm/terminals-list-core.entry.js +9 -11
- package/dist/esm/{terminals-table-BMS5tazC.js → terminals-table-ByiFdTfy.js} +3 -3
- package/dist/esm/{utils-BOijEGPV.js → utils-CIaHqjQt.js} +1 -1
- package/dist/esm/{utils-DRwofES0.js → utils-KBIYAa0D.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Business.js +290 -3
- package/dist/module/additional-questions.js +2 -2
- package/dist/module/additional-statement.js +2 -2
- package/dist/module/bank-account-billing-form-simple.js +1 -1
- package/dist/module/bank-account-document-inputs.js +1 -1
- package/dist/module/bank-account-form-inputs-canada.d.ts +11 -0
- package/dist/module/bank-account-form-inputs-canada.js +6 -0
- package/dist/module/bank-account-form-inputs-canada2.js +68 -0
- package/dist/module/bank-account-form-inputs2.js +9 -2
- package/dist/module/bank-account-form.js +2 -2
- package/dist/module/bank-account-read-only-value.d.ts +11 -0
- package/dist/module/bank-account-read-only-value.js +6 -0
- package/dist/module/bank-account-read-only-value2.js +33 -0
- package/dist/module/bank-account.js +2 -2
- package/dist/module/billing-form-full.js +1 -1
- package/dist/module/business-additional-questions-form-step.js +1 -1
- package/dist/module/business-address-schema.js +40 -20
- package/dist/module/business-bank-account-form-step-core.js +101 -48
- package/dist/module/business-bank-account-form-step.js +18 -5
- package/dist/module/business-core-info-form-step-core.js +22 -7
- package/dist/module/business-core-info-form-step.js +2 -1
- package/dist/module/business-core-info-schema.js +26 -5
- package/dist/module/business-core-info.js +12 -4
- package/dist/module/business-identity-schema.js +52 -25
- package/dist/module/business-owners-form-step-core.js +20 -13
- package/dist/module/business-owners-form-step.js +22 -15
- package/dist/module/business-representative-form-inputs.js +34 -17
- package/dist/module/business-representative-form-step-core.js +29 -18
- package/dist/module/business-representative-form-step.js +24 -17
- package/dist/module/business-representative.js +37 -19
- package/dist/module/business-terms-conditions-form-step.js +1 -1
- package/dist/module/button.js +1 -1
- package/dist/module/cancellation-policy.js +2 -2
- package/dist/module/card-billing-form-simple.js +1 -1
- package/dist/module/card-form.js +2 -2
- package/dist/module/card-form2.js +2 -2
- package/dist/module/checkouts-list-core2.js +1 -1
- package/dist/module/country-config.js +64 -0
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +2 -2
- package/dist/module/details.js +1 -1
- package/dist/module/dispute-management-core.js +1 -1
- package/dist/module/dispute-notification.js +2 -2
- package/dist/module/dispute-response-core.js +2 -2
- package/dist/module/dispute-response.js +1 -1
- package/dist/module/duplicate-charge.js +2 -2
- package/dist/module/electronic-evidence.js +2 -2
- package/dist/module/form-address-fields.js +65 -0
- package/dist/module/form-control-checkbox2.js +2 -2
- package/dist/module/form-control-date2.js +2 -2
- package/dist/module/form-control-file-v22.js +1 -1
- package/dist/module/form-control-file2.js +2 -2
- package/dist/module/form-control-monetary-provisioning2.js +2 -2
- package/dist/module/form-control-monetary2.js +2 -2
- package/dist/module/form-control-number-masked2.js +2 -2
- package/dist/module/form-control-number.js +2 -2
- package/dist/module/form-control-radio2.js +2 -2
- package/dist/module/form-control-select2.js +2 -2
- package/dist/module/form-control-text2.js +2 -2
- package/dist/module/form-control-textarea2.js +2 -2
- package/dist/module/form-input-masks.js +9 -3
- package/dist/module/get-business.js +1 -1
- package/dist/module/gross-payment-chart-core2.js +1 -1
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/identity-address-form.js +16 -14
- package/dist/module/iframe-input2.js +3 -3
- package/dist/module/input-handlers.js +1 -1
- package/dist/module/justifi-business-form.js +41 -29
- package/dist/module/justifi-button2.js +1 -1
- package/dist/module/justifi-checkout.js +2 -2
- package/dist/module/justifi-checkouts-list-filters.js +1 -1
- package/dist/module/justifi-checkouts-list.js +1 -1
- package/dist/module/justifi-dispute-management.js +1 -1
- package/dist/module/justifi-form-address-fields.d.ts +11 -0
- package/dist/module/justifi-form-address-fields.js +6 -0
- package/dist/module/justifi-header2.js +1 -1
- package/dist/module/justifi-order-terminals.js +3 -3
- package/dist/module/justifi-payment-provisioning.js +67 -49
- package/dist/module/justifi-payment-transactions-list.js +1 -1
- package/dist/module/justifi-payments-list-filters.js +2 -2
- package/dist/module/justifi-payments-list.js +1 -1
- package/dist/module/justifi-payout-transactions-list.js +1 -1
- package/dist/module/justifi-payouts-list-filters.js +2 -2
- package/dist/module/justifi-payouts-list.js +1 -1
- package/dist/module/justifi-radio-list-item2.js +1 -1
- package/dist/module/justifi-saved-payment-method.js +1 -1
- package/dist/module/justifi-skeleton.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +2 -2
- package/dist/module/justifi-terminal-orders-list.js +1 -1
- package/dist/module/justifi-terminals-list-filters.js +1 -1
- package/dist/module/justifi-terminals-list.js +1 -1
- package/dist/module/legal-address-form-step-core.js +26 -19
- package/dist/module/legal-address-form-step.js +16 -9
- package/dist/module/legal-address-form.js +18 -15
- package/dist/module/modular-checkout.js +1 -1
- package/dist/module/owner-form-core2.js +23 -15
- package/dist/module/owner-form-inputs2.js +34 -15
- package/dist/module/owner-form.js +20 -13
- package/dist/module/package.js +1 -1
- package/dist/module/pagination-menu2.js +3 -3
- package/dist/module/parts.js +1 -1
- package/dist/module/payment-details-core2.js +8 -8
- package/dist/module/payment-method-option.js +1 -1
- package/dist/module/payment-provisioning-core.js +104 -69
- package/dist/module/payment-provisioning-form-buttons.js +1 -1
- package/dist/module/payment-provisioning-form-steps.js +75 -54
- package/dist/module/payments-list-core2.js +1 -1
- package/dist/module/payout-details-core2.js +3 -3
- package/dist/module/payouts-list-core2.js +1 -1
- package/dist/module/product-or-service.js +2 -2
- package/dist/module/refund-policy.js +2 -2
- package/dist/module/save-new-payment-method.js +1 -1
- package/dist/module/schema-validations.js +41 -6
- package/dist/module/shipping-details.js +2 -2
- package/dist/module/summary.js +1 -1
- package/dist/module/table-filters-menu2.js +1 -1
- package/dist/module/terminal-orders-list-core2.js +1 -1
- package/dist/module/terminal-quantity-selector2.js +2 -2
- package/dist/module/terminals-list-core2.js +1 -1
- package/dist/module/tokenize-payment-method.js +1 -1
- package/dist/types/api/BankAccount.d.ts +6 -0
- package/dist/types/api/Business.d.ts +9 -0
- package/dist/types/components/business-forms/business-form/business-core-info/business-core-info.d.ts +3 -0
- package/dist/types/components/business-forms/business-form/business-form.d.ts +2 -0
- package/dist/types/components/business-forms/business-form/business-representative/business-representative.d.ts +4 -1
- package/dist/types/components/business-forms/business-form/legal-address-form/legal-address-form.d.ts +2 -0
- package/dist/types/components/business-forms/owner-form/identity-address/identity-address-form.d.ts +2 -0
- package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +2 -0
- package/dist/types/components/business-forms/owner-form/owner-form-inputs.d.ts +3 -0
- package/dist/types/components/business-forms/owner-form/owner-form.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.d.ts +7 -0
- package/dist/types/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.d.ts +5 -0
- package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.d.ts +5 -0
- package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +3 -0
- package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.d.ts +3 -0
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.d.ts +8 -0
- package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-core.d.ts +4 -2
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-form-steps.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/test/mockBusiness.d.ts +12 -0
- package/dist/types/components/business-forms/schemas/business-address-schema.d.ts +54 -2
- package/dist/types/components/business-forms/schemas/business-bank-account-schema.d.ts +14 -16
- package/dist/types/components/business-forms/schemas/business-core-info-schema.d.ts +67 -3
- package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +165 -7
- package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +122 -2
- package/dist/types/components/business-forms/schemas/schema-validations.d.ts +5 -0
- package/dist/types/components.d.ts +119 -10
- package/dist/types/utils/country-codes.d.ts +4 -0
- package/dist/types/utils/form-input-masks.d.ts +1 -0
- package/dist/types/utils/province-options.d.ts +5 -0
- package/dist/webcomponents/p-005a79d5.entry.js +1 -0
- package/dist/webcomponents/p-07f7aaf6.entry.js +1 -0
- package/dist/webcomponents/p-0926c397.entry.js +1 -0
- package/dist/webcomponents/p-14e26a6c.entry.js +1 -0
- package/dist/webcomponents/{p-0eb69f41.entry.js → p-1c362f36.entry.js} +1 -1
- package/dist/webcomponents/{p-0217783c.entry.js → p-221ec54e.entry.js} +4 -4
- package/dist/webcomponents/p-24621c40.entry.js +1 -0
- package/dist/webcomponents/p-33bf5532.entry.js +1 -0
- package/dist/webcomponents/p-3467fa38.entry.js +1 -0
- package/dist/webcomponents/p-3af0b0ad.entry.js +1 -0
- package/dist/webcomponents/p-3b43f8c0.entry.js +1 -0
- package/dist/webcomponents/p-3f7703bf.entry.js +1 -0
- package/dist/webcomponents/p-4180a11b.entry.js +1 -0
- package/dist/webcomponents/p-4d243123.entry.js +1 -0
- package/dist/webcomponents/p-4d6e0ebe.entry.js +1 -0
- package/dist/webcomponents/p-5277f2a6.entry.js +1 -0
- package/dist/webcomponents/p-54cea29e.entry.js +1 -0
- package/dist/webcomponents/{p-7c8deca8.entry.js → p-580f3bb6.entry.js} +1 -1
- package/dist/webcomponents/p-641100ac.entry.js +1 -0
- package/dist/webcomponents/p-65090485.entry.js +1 -0
- package/dist/webcomponents/p-66833631.entry.js +1 -0
- package/dist/webcomponents/p-68aeb5bd.entry.js +1 -0
- package/dist/webcomponents/p-694b24e5.entry.js +1 -0
- package/dist/webcomponents/p-6a247ab5.entry.js +1 -0
- package/dist/webcomponents/p-6a910d9b.entry.js +1 -0
- package/dist/webcomponents/p-6d61092c.entry.js +1 -0
- package/dist/webcomponents/p-72f5e234.entry.js +1 -0
- package/dist/webcomponents/p-7498759d.entry.js +1 -0
- package/dist/webcomponents/p-82723f07.entry.js +1 -0
- package/dist/webcomponents/p-86372164.entry.js +1 -0
- package/dist/webcomponents/{p-b608add9.entry.js → p-8896ab68.entry.js} +1 -1
- package/dist/webcomponents/p-89052ce0.entry.js +1 -0
- package/dist/webcomponents/{p-ClvhB3WW.js → p-890S0Nwr.js} +1 -1
- package/dist/webcomponents/{p-37a93597.entry.js → p-8a156528.entry.js} +1 -1
- package/dist/webcomponents/p-8a68be8f.entry.js +1 -0
- package/dist/webcomponents/p-91b09245.entry.js +1 -0
- package/dist/webcomponents/p-9ce44689.entry.js +1 -0
- package/dist/webcomponents/p-B5rtFhtR.js +1 -0
- package/dist/webcomponents/{p-CEk3bv0x.js → p-B9MN_vv4.js} +1 -1
- package/dist/webcomponents/p-BIcS6lTe.js +1 -0
- package/dist/webcomponents/{p-BBx_EQqR.js → p-BRbqaU66.js} +1 -1
- package/dist/webcomponents/{p-Bgnhf5c9.js → p-BS7OgSQe.js} +1 -1
- package/dist/webcomponents/p-BT473_5I.js +1 -0
- package/dist/webcomponents/p-BXMAoCNA.js +1 -0
- package/dist/webcomponents/{p-B6IWa9Ph.js → p-BYrSeoci.js} +1 -1
- package/dist/webcomponents/{p-CCmDcLao.js → p-BdmYH_IK.js} +1 -1
- package/dist/webcomponents/p-BkaPXFTl.js +1 -0
- package/dist/webcomponents/{p-hbWSMN3O.js → p-Bm8T-MOQ.js} +1 -1
- package/dist/webcomponents/p-BwBb2Opu.js +1 -0
- package/dist/webcomponents/p-C6g4MbnB.js +1 -0
- package/dist/webcomponents/{p-1ydcg9ti.js → p-C77ElQ41.js} +1 -1
- package/dist/webcomponents/p-C7cvPZSk.js +1 -0
- package/dist/webcomponents/p-CJ9qo7_g.js +1 -0
- package/dist/webcomponents/{p-C98BC5W5.js → p-CPKSE7M4.js} +1 -1
- package/dist/webcomponents/{p-yH3TC3ZQ.js → p-CPpUGsw5.js} +1 -1
- package/dist/webcomponents/p-CQQ0H4Pb.js +1 -0
- package/dist/webcomponents/p-CTAOJGVx.js +1 -0
- package/dist/webcomponents/p-CVaOFfrI.js +1 -0
- package/dist/webcomponents/p-CVtpEQBE.js +1 -0
- package/dist/webcomponents/{p-l8F_7Ihw.js → p-CeSmGv6o.js} +1 -1
- package/dist/webcomponents/p-D9Yus-je.js +1 -0
- package/dist/webcomponents/p-DIdnZUSh.js +1 -0
- package/dist/webcomponents/{p-CH8Y3GSr.js → p-DSCBoCn-.js} +1 -1
- package/dist/webcomponents/p-DfKxeSrC.js +1 -0
- package/dist/webcomponents/{p-xDbRW9xn.js → p-Dj_zevuD.js} +1 -1
- package/dist/webcomponents/p-DqPvh0aN.js +1 -0
- package/dist/webcomponents/p-DxVCqvBt.js +1 -0
- package/dist/webcomponents/p-DxnXyWPn.js +1 -0
- package/dist/webcomponents/p-Dy3-IlQ3.js +1 -0
- package/dist/webcomponents/p-Dyk0thEr.js +1 -0
- package/dist/webcomponents/p-DzWLLt4t.js +1 -0
- package/dist/webcomponents/{p-CmBCj61h.js → p-F6TcNeK4.js} +1 -1
- package/dist/webcomponents/{p-au49QgoI.js → p-IYf7zn5J.js} +1 -1
- package/dist/webcomponents/{p-C0wTyoTh.js → p-UUJudj_5.js} +1 -1
- package/dist/webcomponents/{p-0cac8468.entry.js → p-a2344efb.entry.js} +1 -1
- package/dist/webcomponents/p-a42ec25b.entry.js +1 -0
- package/dist/webcomponents/p-a81f9fc3.entry.js +1 -0
- package/dist/webcomponents/p-b4b5dd24.entry.js +1 -0
- package/dist/webcomponents/p-b72794e3.entry.js +1 -0
- package/dist/webcomponents/p-be53e425.entry.js +1 -0
- package/dist/webcomponents/p-c4d919be.entry.js +1 -0
- package/dist/webcomponents/p-c4fb2fe8.entry.js +1 -0
- package/dist/webcomponents/p-c6e64ed5.entry.js +1 -0
- package/dist/webcomponents/p-c796f813.entry.js +1 -0
- package/dist/webcomponents/p-c8656d20.entry.js +1 -0
- package/dist/webcomponents/{p-0cf71cbd.entry.js → p-c8e94ab9.entry.js} +1 -1
- package/dist/webcomponents/p-c9bed02a.entry.js +1 -0
- package/dist/webcomponents/p-cca865be.entry.js +1 -0
- package/dist/webcomponents/p-cd108cae.entry.js +1 -0
- package/dist/webcomponents/p-cd20dc8f.entry.js +1 -0
- package/dist/webcomponents/p-cfd3035e.entry.js +1 -0
- package/dist/webcomponents/p-d1e99aac.entry.js +1 -0
- package/dist/webcomponents/p-d50f8328.entry.js +1 -0
- package/dist/webcomponents/p-d7558874.entry.js +1 -0
- package/dist/webcomponents/p-d8bef4b7.entry.js +1 -0
- package/dist/webcomponents/p-d8c2cea4.entry.js +1 -0
- package/dist/webcomponents/p-d8ef1d2b.entry.js +1 -0
- package/dist/webcomponents/p-e4e6f3b8.entry.js +1 -0
- package/dist/webcomponents/p-e60e7f6a.entry.js +1 -0
- package/dist/webcomponents/{p-2d9b817b.entry.js → p-ea746fa0.entry.js} +1 -1
- package/dist/webcomponents/p-f222426b.entry.js +1 -0
- package/dist/webcomponents/p-f72f67ef.entry.js +1 -0
- package/dist/webcomponents/p-fdf5a349.entry.js +1 -0
- package/dist/webcomponents/{p-C8k7a6D-.js → p-i--LPP1s.js} +1 -1
- package/dist/webcomponents/p-sCHf--Vc.js +1 -0
- package/dist/webcomponents/{p-DdZLLkQ5.js → p-ty1sI-fI.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +13 -13
- package/LICENSE +0 -21
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +0 -112
- package/dist/cjs/business-identity-schema-aFUle0C9.js +0 -51
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +0 -107
- package/dist/cjs/helpers-B5OCqlIM.js +0 -35
- package/dist/cjs/state-options-CIT9xdTz.js +0 -246
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +0 -107
- package/dist/esm/business-identity-schema-CDJzknbg.js +0 -48
- package/dist/esm/form-control-number-masked_2.entry.js +0 -104
- package/dist/esm/helpers-Mu7LQT-w.js +0 -29
- package/dist/esm/state-options-BX8GieXu.js +0 -244
- package/dist/module/helpers.js +0 -29
- package/dist/module/state-options.js +0 -244
- package/dist/webcomponents/p-000d6b5d.entry.js +0 -1
- package/dist/webcomponents/p-0256af65.entry.js +0 -1
- package/dist/webcomponents/p-0af5269e.entry.js +0 -1
- package/dist/webcomponents/p-0f16c00f.entry.js +0 -1
- package/dist/webcomponents/p-0f47f052.entry.js +0 -1
- package/dist/webcomponents/p-1872ee94.entry.js +0 -1
- package/dist/webcomponents/p-281ea1f6.entry.js +0 -1
- package/dist/webcomponents/p-2b568e8e.entry.js +0 -1
- package/dist/webcomponents/p-2d300faa.entry.js +0 -1
- package/dist/webcomponents/p-328117e4.entry.js +0 -1
- package/dist/webcomponents/p-32978110.entry.js +0 -1
- package/dist/webcomponents/p-40c3d17c.entry.js +0 -1
- package/dist/webcomponents/p-44ec2d88.entry.js +0 -1
- package/dist/webcomponents/p-44f9739e.entry.js +0 -1
- package/dist/webcomponents/p-47997bc2.entry.js +0 -1
- package/dist/webcomponents/p-50701f16.entry.js +0 -1
- package/dist/webcomponents/p-5235230f.entry.js +0 -1
- package/dist/webcomponents/p-526b7442.entry.js +0 -1
- package/dist/webcomponents/p-5aae36f3.entry.js +0 -1
- package/dist/webcomponents/p-5bd3d86e.entry.js +0 -1
- package/dist/webcomponents/p-5c0c35ac.entry.js +0 -1
- package/dist/webcomponents/p-78cb62a8.entry.js +0 -1
- package/dist/webcomponents/p-7dc9ef8a.entry.js +0 -1
- package/dist/webcomponents/p-7eb4b9b4.entry.js +0 -1
- package/dist/webcomponents/p-84551ee4.entry.js +0 -1
- package/dist/webcomponents/p-854b3db0.entry.js +0 -1
- package/dist/webcomponents/p-8663e8bd.entry.js +0 -1
- package/dist/webcomponents/p-8S_ROmnq.js +0 -1
- package/dist/webcomponents/p-8b3245c4.entry.js +0 -1
- package/dist/webcomponents/p-8ca21fab.entry.js +0 -1
- package/dist/webcomponents/p-8f8dfd4b.entry.js +0 -1
- package/dist/webcomponents/p-9365c7c2.entry.js +0 -1
- package/dist/webcomponents/p-9ad7d724.entry.js +0 -1
- package/dist/webcomponents/p-B-iV5cYd.js +0 -1
- package/dist/webcomponents/p-BX8GieXu.js +0 -1
- package/dist/webcomponents/p-BjNuRWXK.js +0 -1
- package/dist/webcomponents/p-BlJnA265.js +0 -1
- package/dist/webcomponents/p-BoQ6_4Ks.js +0 -1
- package/dist/webcomponents/p-C9EQ459H.js +0 -1
- package/dist/webcomponents/p-C9iide2W.js +0 -1
- package/dist/webcomponents/p-CCLgieAN.js +0 -1
- package/dist/webcomponents/p-Csfiax9X.js +0 -1
- package/dist/webcomponents/p-D0Peuz-m.js +0 -1
- package/dist/webcomponents/p-D6BImiVi.js +0 -1
- package/dist/webcomponents/p-DH8F0bsw.js +0 -1
- package/dist/webcomponents/p-DQZ5VHTZ.js +0 -1
- package/dist/webcomponents/p-DWn9BiNn.js +0 -1
- package/dist/webcomponents/p-DfV3dFDB.js +0 -1
- package/dist/webcomponents/p-Dt-vy9Le.js +0 -1
- package/dist/webcomponents/p-NAjz1Xfo.js +0 -1
- package/dist/webcomponents/p-PSJOKMWp.js +0 -1
- package/dist/webcomponents/p-RQzxYnz_.js +0 -1
- package/dist/webcomponents/p-T2yENPvU.js +0 -1
- package/dist/webcomponents/p-a10ae013.entry.js +0 -1
- package/dist/webcomponents/p-a8ad5f5c.entry.js +0 -1
- package/dist/webcomponents/p-a8e8d944.entry.js +0 -1
- package/dist/webcomponents/p-aa14cc74.entry.js +0 -1
- package/dist/webcomponents/p-ae8ae5bb.entry.js +0 -1
- package/dist/webcomponents/p-b3094b8f.entry.js +0 -1
- package/dist/webcomponents/p-baf0d3e7.entry.js +0 -1
- package/dist/webcomponents/p-bb53e2e9.entry.js +0 -1
- package/dist/webcomponents/p-bdf293f6.entry.js +0 -1
- package/dist/webcomponents/p-c089fb5f.entry.js +0 -1
- package/dist/webcomponents/p-c6dc30e2.entry.js +0 -1
- package/dist/webcomponents/p-d0a2035f.entry.js +0 -1
- package/dist/webcomponents/p-d1bceac6.entry.js +0 -1
- package/dist/webcomponents/p-d37d752e.entry.js +0 -1
- package/dist/webcomponents/p-d4476052.entry.js +0 -1
- package/dist/webcomponents/p-da1fb2a3.entry.js +0 -1
- package/dist/webcomponents/p-ddc0b742.entry.js +0 -1
- package/dist/webcomponents/p-e6011271.entry.js +0 -1
- package/dist/webcomponents/p-e6be4e19.entry.js +0 -1
- package/dist/webcomponents/p-eaefb320.entry.js +0 -1
- package/dist/webcomponents/p-ec9514f8.entry.js +0 -1
- package/dist/webcomponents/p-f11a74c3.entry.js +0 -1
- package/dist/webcomponents/p-f705fc49.entry.js +0 -1
- package/dist/webcomponents/p-fedfe376.entry.js +0 -1
- package/dist/webcomponents/p-ffefa09c.entry.js +0 -1
- package/dist/webcomponents/p-h5pyZngT.js +0 -1
- package/dist/webcomponents/p-tYuXMkCd.js +0 -1
- package/dist/webcomponents/p-wQgEEOq_.js +0 -1
package/dist/module/Business.js
CHANGED
|
@@ -1,4 +1,271 @@
|
|
|
1
|
-
|
|
1
|
+
const StateOptions = [
|
|
2
|
+
{
|
|
3
|
+
label: 'Choose state',
|
|
4
|
+
value: '',
|
|
5
|
+
},
|
|
6
|
+
{
|
|
7
|
+
label: 'Alabama',
|
|
8
|
+
value: 'AL',
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
label: 'Alaska',
|
|
12
|
+
value: 'AK',
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
label: 'American Samoa',
|
|
16
|
+
value: 'AS',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
label: 'Arizona',
|
|
20
|
+
value: 'AZ',
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
label: 'Arkansas',
|
|
24
|
+
value: 'AR',
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
label: 'California',
|
|
28
|
+
value: 'CA',
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
label: 'Colorado',
|
|
32
|
+
value: 'CO',
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
label: 'Connecticut',
|
|
36
|
+
value: 'CT',
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
label: 'Delaware',
|
|
40
|
+
value: 'DE',
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
label: 'District Of Columbia',
|
|
44
|
+
value: 'DC',
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
label: 'Federated States Of Micronesia',
|
|
48
|
+
value: 'FM',
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
label: 'Florida',
|
|
52
|
+
value: 'FL',
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
label: 'Georgia',
|
|
56
|
+
value: 'GA',
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
label: 'Guam',
|
|
60
|
+
value: 'GU',
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
label: 'Hawaii',
|
|
64
|
+
value: 'HI',
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
label: 'Idaho',
|
|
68
|
+
value: 'ID',
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
label: 'Illinois',
|
|
72
|
+
value: 'IL',
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
label: 'Indiana',
|
|
76
|
+
value: 'IN',
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
label: 'Iowa',
|
|
80
|
+
value: 'IA',
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
label: 'Kansas',
|
|
84
|
+
value: 'KS',
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
label: 'Kentucky',
|
|
88
|
+
value: 'KY',
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
label: 'Louisiana',
|
|
92
|
+
value: 'LA',
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
label: 'Maine',
|
|
96
|
+
value: 'ME',
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
label: 'Marshall Islands',
|
|
100
|
+
value: 'MH',
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
label: 'Maryland',
|
|
104
|
+
value: 'MD',
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
label: 'Massachusetts',
|
|
108
|
+
value: 'MA',
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
label: 'Michigan',
|
|
112
|
+
value: 'MI',
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
label: 'Minnesota',
|
|
116
|
+
value: 'MN',
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
label: 'Mississippi',
|
|
120
|
+
value: 'MS',
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
label: 'Missouri',
|
|
124
|
+
value: 'MO',
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
label: 'Montana',
|
|
128
|
+
value: 'MT',
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
label: 'Nebraska',
|
|
132
|
+
value: 'NE',
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
label: 'Nevada',
|
|
136
|
+
value: 'NV',
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
label: 'New Hampshire',
|
|
140
|
+
value: 'NH',
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
label: 'New Jersey',
|
|
144
|
+
value: 'NJ',
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
label: 'New Mexico',
|
|
148
|
+
value: 'NM',
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
label: 'New York',
|
|
152
|
+
value: 'NY',
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
label: 'North Carolina',
|
|
156
|
+
value: 'NC',
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
label: 'North Dakota',
|
|
160
|
+
value: 'ND',
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
label: 'Northern Mariana Islands',
|
|
164
|
+
value: 'MP',
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
label: 'Ohio',
|
|
168
|
+
value: 'OH',
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
label: 'Oklahoma',
|
|
172
|
+
value: 'OK',
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
label: 'Oregon',
|
|
176
|
+
value: 'OR',
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
label: 'Palau',
|
|
180
|
+
value: 'PW',
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
label: 'Pennsylvania',
|
|
184
|
+
value: 'PA',
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
label: 'Puerto Rico',
|
|
188
|
+
value: 'PR',
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
label: 'Rhode Island',
|
|
192
|
+
value: 'RI',
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
label: 'South Carolina',
|
|
196
|
+
value: 'SC',
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
label: 'South Dakota',
|
|
200
|
+
value: 'SD',
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
label: 'Tennessee',
|
|
204
|
+
value: 'TN',
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
label: 'Texas',
|
|
208
|
+
value: 'TX',
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
label: 'Utah',
|
|
212
|
+
value: 'UT',
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
label: 'Vermont',
|
|
216
|
+
value: 'VT',
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
label: 'Virgin Islands',
|
|
220
|
+
value: 'VI',
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
label: 'Virginia',
|
|
224
|
+
value: 'VA',
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
label: 'Washington',
|
|
228
|
+
value: 'WA',
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
label: 'West Virginia',
|
|
232
|
+
value: 'WV',
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
label: 'Wisconsin',
|
|
236
|
+
value: 'WI',
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
label: 'Wyoming',
|
|
240
|
+
value: 'WY',
|
|
241
|
+
},
|
|
242
|
+
];
|
|
243
|
+
|
|
244
|
+
function getStateAbbreviation(stateName) {
|
|
245
|
+
const state = StateOptions.find(s => s.label === stateName);
|
|
246
|
+
return state ? state.value : stateName;
|
|
247
|
+
}
|
|
248
|
+
// filterNumber is intended to be used to format a string that contains a single digit to a two digit string.
|
|
249
|
+
function filterNumber(num) {
|
|
250
|
+
if (/^\d$/.test(num)) {
|
|
251
|
+
return '0' + num;
|
|
252
|
+
}
|
|
253
|
+
return num;
|
|
254
|
+
}
|
|
255
|
+
function constructDate(year, month, day) {
|
|
256
|
+
if (!year || !month || !day) {
|
|
257
|
+
return;
|
|
258
|
+
}
|
|
259
|
+
return `${year}-${filterNumber(month)}-${filterNumber(day)}`;
|
|
260
|
+
}
|
|
261
|
+
function deconstructDate(formInput) {
|
|
262
|
+
const dateString = formInput.value;
|
|
263
|
+
const [dob_year, dob_month, dob_day] = dateString.split('-');
|
|
264
|
+
return { dob_year, dob_month, dob_day };
|
|
265
|
+
}
|
|
266
|
+
function checkProvisioningStatus(business) {
|
|
267
|
+
return business.associated_accounts.length > 0;
|
|
268
|
+
}
|
|
2
269
|
|
|
3
270
|
class Owner {
|
|
4
271
|
constructor(owner) {
|
|
@@ -83,6 +350,21 @@ class Representative {
|
|
|
83
350
|
}
|
|
84
351
|
}
|
|
85
352
|
|
|
353
|
+
var CountryCode;
|
|
354
|
+
(function (CountryCode) {
|
|
355
|
+
CountryCode["USA"] = "USA";
|
|
356
|
+
CountryCode["CAN"] = "CAN";
|
|
357
|
+
})(CountryCode || (CountryCode = {}));
|
|
358
|
+
|
|
359
|
+
// Normalize various incoming country representations to strict CountryCode values
|
|
360
|
+
const normalizeCountry = (value) => {
|
|
361
|
+
const v = (value || '').toString().trim().toUpperCase();
|
|
362
|
+
if (v === 'US' || v === 'USA' || v === CountryCode.USA)
|
|
363
|
+
return CountryCode.USA;
|
|
364
|
+
if (v === 'CA' || v === 'CAN' || v === CountryCode.CAN)
|
|
365
|
+
return CountryCode.CAN;
|
|
366
|
+
return CountryCode.USA;
|
|
367
|
+
};
|
|
86
368
|
var BusinessFormServerErrors;
|
|
87
369
|
(function (BusinessFormServerErrors) {
|
|
88
370
|
BusinessFormServerErrors["fetchData"] = "Error retrieving business data";
|
|
@@ -107,7 +389,7 @@ class Address {
|
|
|
107
389
|
this.postal_code = address.postal_code;
|
|
108
390
|
this.city = address.city;
|
|
109
391
|
this.state = getStateAbbreviation(address.state);
|
|
110
|
-
this.country = address.country
|
|
392
|
+
this.country = normalizeCountry(address.country);
|
|
111
393
|
this.created_at = address.created_at;
|
|
112
394
|
this.updated_at = address.updated_at;
|
|
113
395
|
}
|
|
@@ -156,6 +438,7 @@ class CoreBusinessInfo {
|
|
|
156
438
|
this.doing_business_as = coreBusinessInfo.doing_business_as;
|
|
157
439
|
this.industry = coreBusinessInfo.industry;
|
|
158
440
|
this.tax_id = coreBusinessInfo.tax_id;
|
|
441
|
+
this.tax_id_last4 = coreBusinessInfo.tax_id_last4;
|
|
159
442
|
this.website_url = coreBusinessInfo.website_url;
|
|
160
443
|
this.email = coreBusinessInfo.email;
|
|
161
444
|
this.phone = coreBusinessInfo.phone;
|
|
@@ -202,10 +485,12 @@ class Business {
|
|
|
202
485
|
? new Representative(business.representative)
|
|
203
486
|
: null;
|
|
204
487
|
this.tax_id = business.tax_id;
|
|
488
|
+
this.tax_id_last4 = business.tax_id_last4;
|
|
205
489
|
this.terms_conditions_accepted = business.terms_conditions_accepted;
|
|
206
490
|
this.updated_at = business.updated_at;
|
|
207
491
|
this.website_url = business.website_url;
|
|
208
492
|
this.date_of_incorporation = business.date_of_incorporation;
|
|
493
|
+
this.country_of_establishment = normalizeCountry(business.country_of_establishment);
|
|
209
494
|
}
|
|
210
495
|
get payload() {
|
|
211
496
|
return {
|
|
@@ -223,10 +508,12 @@ class Business {
|
|
|
223
508
|
platform_account_id: this.platform_account_id || '',
|
|
224
509
|
representative: new Representative(this.representative).payload,
|
|
225
510
|
tax_id: this.tax_id || '',
|
|
511
|
+
tax_id_last4: this.tax_id_last4 || '',
|
|
226
512
|
website_url: this.website_url || '',
|
|
227
513
|
date_of_incorporation: this.date_of_incorporation || '',
|
|
514
|
+
country_of_establishment: this.country_of_establishment || CountryCode.USA,
|
|
228
515
|
};
|
|
229
516
|
}
|
|
230
517
|
}
|
|
231
518
|
|
|
232
|
-
export { AdditionalQuestions as A, BusinessClassification as B, CoreBusinessInfo as C, Owner as O, Representative as R,
|
|
519
|
+
export { AdditionalQuestions as A, BusinessClassification as B, CoreBusinessInfo as C, Owner as O, Representative as R, StateOptions as S, CountryCode as a, Business as b, Address as c, deconstructDate as d, checkProvisioningStatus as e, BusinessFormServerErrors as f };
|
|
@@ -28,10 +28,10 @@ const AdditionalQuestions = /*@__PURE__*/ proxyCustomElement(class AdditionalQue
|
|
|
28
28
|
render() {
|
|
29
29
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
30
30
|
const additionalQuestionsDefaultValue = this.formController.getInitialValues().additional_questions;
|
|
31
|
-
return (h(Host, { key: '
|
|
31
|
+
return (h(Host, { key: '8f51222ff2a06a8636c2252a1df25803c464cd5a' }, h("fieldset", { key: 'c705274cb9e5cc651f8cedb5ac23714a75dca09a' }, h("legend", { key: '0e865f2763c872ccd65c7d255e0a49533bf8afbe', part: heading2 }, "Additional Questions"), h("div", { key: 'b5a9d2c8086820d837a6261c0fbbd1c4785e8cbe', class: "row gy-3" }, h("div", { key: 'b0174e926ef2726d9c1ce809d00cf8fef623207c', class: "col-12 col-md-6" }, h("form-control-monetary-provisioning", { key: '5553ed9ca690b4b7a54dfe864225fb4e10987c96', name: "business_revenue", label: "What is the business' estimated annual revenue from its primary business activities?", inputHandler: this.inputHandler, errorText: (_b = (_a = this.errors) === null || _a === void 0 ? void 0 : _a.additional_questions) === null || _b === void 0 ? void 0 : _b.business_revenue, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_revenue, maskOptions: CURRENCY_MASK.WHOLE })), h("div", { key: 'a01e709a65772041979e7b8c057b271e26524174', class: "col-12 col-md-6" }, h("form-control-monetary-provisioning", { key: '2e56403c3eb357dac7f6791e0c5fa4fca58e6cfb', name: "business_payment_volume", label: "What is the business' annual credit card & ACH volume anticipated to process?", inputHandler: this.inputHandler, errorText: (_d = (_c = this.errors) === null || _c === void 0 ? void 0 : _c.additional_questions) === null || _d === void 0 ? void 0 : _d.business_payment_volume, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_payment_volume, maskOptions: CURRENCY_MASK.WHOLE })), h("div", { key: '74318a7f6fdcc265d96827e5fb02d797631b3fd5', class: "col-12" }, h("form-control-select", { key: 'd166c9a1951afc9e1876d078ddc026671e8e0dcc', name: 'business_when_service_received', label: 'On average, how long after paying will your customers typically receive their goods or services?', inputHandler: this.inputHandler, errorText: (_f = (_e = this.errors) === null || _e === void 0 ? void 0 : _e.additional_questions) === null || _f === void 0 ? void 0 : _f.business_when_service_received, options: businessServiceReceivedOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_when_service_received })), h("div", { key: 'e47aefb3a2274244d3e2561da7cfecb203445f1e', class: "col-12" }, h("form-control-select", { key: '33978d0af775cace90de84104f74b2d6c22ae1c0', name: 'business_recurring_payments', label: 'Does your business offer recurring payments?', inputHandler: this.inputHandler, errorText: (_h = (_g = this.errors) === null || _g === void 0 ? void 0 : _g.additional_questions) === null || _h === void 0 ? void 0 : _h.business_recurring_payments, options: recurringPaymentsOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_recurring_payments })), h("div", { key: '93f996064e4055c9a81c0077a20fd878ad1a6c97', class: "col-12" }, h("form-control-text", { key: '68ac25357311838b8fa9a897fbb324f45f589f5f', name: 'business_recurring_payments_percentage', label: 'What percent of revenue is generated from each recurring payment type offered?', inputHandler: this.inputHandler, errorText: (_k = (_j = this.errors) === null || _j === void 0 ? void 0 : _j.additional_questions) === null || _k === void 0 ? void 0 : _k.business_recurring_payments_percentage, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_recurring_payments_percentage })), h("div", { key: 'f2dfe10a8ed19faa36a38a8192268813b03d454f', class: "col-12" }, h("form-control-select", { key: '1d6cf56564944d8dbef4f22c403232c9b7841018', name: 'business_seasonal', label: 'Is this business seasonal?', inputHandler: this.inputHandler, errorText: (_m = (_l = this.errors) === null || _l === void 0 ? void 0 : _l.additional_questions) === null || _m === void 0 ? void 0 : _m.business_seasonal, options: seasonalBusinessOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_seasonal })), h("div", { key: 'fe75a54400d4614fe1d3ed9099ff5a5d3822c007', class: "col-12" }, h("form-control-text", { key: 'aa7609f7687a5c0666bf35119cd4af7ad4e68f89', name: 'business_other_payment_details', label: 'Is there anything else you would like us to know about how your customers pay the business?', inputHandler: this.inputHandler, errorText: (_p = (_o = this.errors) === null || _o === void 0 ? void 0 : _o.additional_questions) === null || _p === void 0 ? void 0 : _p.business_other_payment_details, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_other_payment_details }))))));
|
|
32
32
|
}
|
|
33
33
|
}, [256, "justifi-additional-questions", {
|
|
34
|
-
"formController": [
|
|
34
|
+
"formController": [8, "form-controller"],
|
|
35
35
|
"errors": [32],
|
|
36
36
|
"additional_questions": [32]
|
|
37
37
|
}]);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { c as create$3, a as create$6, F as FormController } from './form.js';
|
|
3
3
|
import { D as DisputeResponseFormStep, f as fileInputHandler } from './file-input-handler.js';
|
|
4
|
-
import {
|
|
4
|
+
import { a0 as heading5 } from './parts.js';
|
|
5
5
|
import { d as defineCustomElement$5 } from './custom-popper2.js';
|
|
6
6
|
import { d as defineCustomElement$4 } from './form-control-file-v22.js';
|
|
7
7
|
import { d as defineCustomElement$3 } from './form-control-help-text2.js';
|
|
@@ -41,7 +41,7 @@ const AdditionalStatement = /*@__PURE__*/ proxyCustomElement(class AdditionalSta
|
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
43
|
var _a, _b;
|
|
44
|
-
return (h("div", { key: '
|
|
44
|
+
return (h("div", { key: 'a03e78a3610b5bf23bf9611ed2225e839da41c5d' }, h("div", { key: '235029013598b89a4d92c06cc468b1fb4147fc4c', class: "row gy-3" }, h("div", { key: 'f18cdb52f20817dc6dc3d16e91b4fee09ccda690', class: "col-12" }, h("h2", { key: '37a18cbc0027cb3fd170fa5afad295d57cfc0f19', class: "h5", part: heading5 }, "Additional Evidence")), h("div", { key: '9cc4ef86508b8232e343f46fc64ccc78b42ac22f', class: "col-12" }, h("form-control-textarea", { key: '93fb66f2e4ee72b58ff53c5010b1e5e16e9abbd7', label: "Is there anything else you would like to say about this dispute?", name: "additional_statement", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.additional_statement, inputHandler: this.inputHandler, errorText: this.errors.additional_statement })), h("div", { key: 'cb3fe8f241e08df1984fc47820e723f00d34641d', class: "col-12" }, h("form-control-file-v2", { key: 'eeae63012b624078bfc3fa34553ed7aa8288a24b', label: "Additional files", name: "uncategorized_file", multiple: true, helpText: "Upload any additional pieces of evidence that have not already been provided.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.uncategorized_file })))));
|
|
45
45
|
}
|
|
46
46
|
}, [256, "justifi-additional-statement", {
|
|
47
47
|
"disputeResponse": [8, "dispute-response"],
|
|
@@ -44,7 +44,7 @@ const BankAccountBillingFormSimple = /*@__PURE__*/ proxyCustomElement(class Bank
|
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
46
|
const billingFormDefaultValue = this.formController.getInitialValues();
|
|
47
|
-
return (h(StyledHost, { key: '
|
|
47
|
+
return (h(StyledHost, { key: '674a080063df249018a8601cea7680b06208d2fb' }, h("div", { key: 'c282a7c8ed0316edf0a92abd2f8c69a927c79f00', part: billingForm, class: "mt-4" }, h("form", { key: '843548c8b0239dcce2b611b215112024acfb6413' }, h("fieldset", { key: '2e49050377413910e47bea94e8900f902e26b814' }, this.legend && (h("legend", { key: '960da7d3f797db0517b3a14559a025a497ca3ad2' }, this.legend)), h("div", { key: '56636731c41c7bcaf6d4a7c3eb7e9517157c4929', class: "row gy-3" }, h("div", { key: 'b6028f7001044423d72a134c01a0395ade1496b8', class: "col-12" }, h("form-control-text", { key: 'b2fe6dc8c69cd87ac07b99f9a6619f5069f2dc5c', name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler }))))))));
|
|
48
48
|
}
|
|
49
49
|
}, [257, "justifi-bank-account-billing-form-simple", {
|
|
50
50
|
"legend": [1025],
|
|
@@ -16,7 +16,7 @@ const BankAccountDocumentFormInputs = /*@__PURE__*/ proxyCustomElement(class Ban
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (h("div", { key: '
|
|
19
|
+
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 }))));
|
|
20
20
|
}
|
|
21
21
|
}, [256, "bank-account-document-form-inputs", {
|
|
22
22
|
"inputHandler": [16],
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface BankAccountFormInputsCanada extends Components.BankAccountFormInputsCanada, HTMLElement {}
|
|
4
|
+
export const BankAccountFormInputsCanada: {
|
|
5
|
+
prototype: BankAccountFormInputsCanada;
|
|
6
|
+
new (): BankAccountFormInputsCanada;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { B as BankAccountFormInputsCanada$1, d as defineCustomElement$1 } from './bank-account-form-inputs-canada2.js';
|
|
2
|
+
|
|
3
|
+
const BankAccountFormInputsCanada = BankAccountFormInputsCanada$1;
|
|
4
|
+
const defineCustomElement = defineCustomElement$1;
|
|
5
|
+
|
|
6
|
+
export { BankAccountFormInputsCanada, defineCustomElement };
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { b as bankAccountTypeOptions } from './business-form-options.js';
|
|
3
|
+
import './event-types2.js';
|
|
4
|
+
import { n as numberOnlyHandler } from './utils3.js';
|
|
5
|
+
import { d as defineCustomElement$5 } from './bank-account-read-only-value2.js';
|
|
6
|
+
import { d as defineCustomElement$4 } from './custom-popper2.js';
|
|
7
|
+
import { d as defineCustomElement$3 } from './form-control-select2.js';
|
|
8
|
+
import { d as defineCustomElement$2 } from './form-control-text2.js';
|
|
9
|
+
import { d as defineCustomElement$1 } from './form-control-tooltip2.js';
|
|
10
|
+
|
|
11
|
+
const BankAccountFormInputsCanada = /*@__PURE__*/ proxyCustomElement(class BankAccountFormInputsCanada extends HTMLElement {
|
|
12
|
+
constructor(registerHost) {
|
|
13
|
+
super();
|
|
14
|
+
if (registerHost !== false) {
|
|
15
|
+
this.__registerHost();
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
render() {
|
|
19
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
20
|
+
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." })))));
|
|
21
|
+
}
|
|
22
|
+
}, [256, "bank-account-form-inputs-canada", {
|
|
23
|
+
"defaultValue": [8, "default-value"],
|
|
24
|
+
"errors": [8],
|
|
25
|
+
"inputHandler": [16],
|
|
26
|
+
"formDisabled": [4, "form-disabled"]
|
|
27
|
+
}]);
|
|
28
|
+
function defineCustomElement() {
|
|
29
|
+
if (typeof customElements === "undefined") {
|
|
30
|
+
return;
|
|
31
|
+
}
|
|
32
|
+
const components = ["bank-account-form-inputs-canada", "bank-account-read-only-value", "custom-popper", "form-control-select", "form-control-text", "form-control-tooltip"];
|
|
33
|
+
components.forEach(tagName => { switch (tagName) {
|
|
34
|
+
case "bank-account-form-inputs-canada":
|
|
35
|
+
if (!customElements.get(tagName)) {
|
|
36
|
+
customElements.define(tagName, BankAccountFormInputsCanada);
|
|
37
|
+
}
|
|
38
|
+
break;
|
|
39
|
+
case "bank-account-read-only-value":
|
|
40
|
+
if (!customElements.get(tagName)) {
|
|
41
|
+
defineCustomElement$5();
|
|
42
|
+
}
|
|
43
|
+
break;
|
|
44
|
+
case "custom-popper":
|
|
45
|
+
if (!customElements.get(tagName)) {
|
|
46
|
+
defineCustomElement$4();
|
|
47
|
+
}
|
|
48
|
+
break;
|
|
49
|
+
case "form-control-select":
|
|
50
|
+
if (!customElements.get(tagName)) {
|
|
51
|
+
defineCustomElement$3();
|
|
52
|
+
}
|
|
53
|
+
break;
|
|
54
|
+
case "form-control-text":
|
|
55
|
+
if (!customElements.get(tagName)) {
|
|
56
|
+
defineCustomElement$2();
|
|
57
|
+
}
|
|
58
|
+
break;
|
|
59
|
+
case "form-control-tooltip":
|
|
60
|
+
if (!customElements.get(tagName)) {
|
|
61
|
+
defineCustomElement$1();
|
|
62
|
+
}
|
|
63
|
+
break;
|
|
64
|
+
} });
|
|
65
|
+
}
|
|
66
|
+
defineCustomElement();
|
|
67
|
+
|
|
68
|
+
export { BankAccountFormInputsCanada as B, defineCustomElement as d };
|
|
@@ -2,6 +2,7 @@ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/clien
|
|
|
2
2
|
import { b as bankAccountTypeOptions } from './business-form-options.js';
|
|
3
3
|
import './event-types2.js';
|
|
4
4
|
import { n as numberOnlyHandler } from './utils3.js';
|
|
5
|
+
import { d as defineCustomElement$5 } from './bank-account-read-only-value2.js';
|
|
5
6
|
import { d as defineCustomElement$4 } from './custom-popper2.js';
|
|
6
7
|
import { d as defineCustomElement$3 } from './form-control-select2.js';
|
|
7
8
|
import { d as defineCustomElement$2 } from './form-control-text2.js';
|
|
@@ -15,7 +16,8 @@ const BankAccountFormInputs = /*@__PURE__*/ proxyCustomElement(class BankAccount
|
|
|
15
16
|
}
|
|
16
17
|
}
|
|
17
18
|
render() {
|
|
18
|
-
|
|
19
|
+
var _a, _b, _c, _d, _e, _f;
|
|
20
|
+
return (h("div", { key: '951373cbaf604ec2f34364fd93ac9ccf666a4e58', class: "row gy-3" }, h("div", { key: 'a2fbc555aeb3b9bed12f032385ea9889482e6caf', 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: 'c05c9e185293799ee94cbd8bec3976d115469b00', 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: 'b3cc026a1c2079ddcd744d7557742ac98073f03c', 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: 'f3649a91a8af13374eb55f06ecc81e6e06bd4b01', 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: '34eb7df603e1d7d9bb616c51057dd5da9a2e3e3f', class: "col-6" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Account Number", value: ((_e = this.defaultValue) === null || _e === void 0 ? void 0 : _e.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/check. Do not include spaces or dashes." }))), h("div", { key: '64897a96be65ddd311267e5ea1571993ab61787d', class: "col-6" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Routing Number", value: ((_f = this.defaultValue) === null || _f === void 0 ? void 0 : _f.routing_number) || '' })) : (h("form-control-text", { name: "routing_number", label: "Routing Number", defaultValue: this.defaultValue.routing_number, maxLength: 9, errorText: this.errors.routing_number, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, helpText: "A valid routing number is nine digits. Please include any leading or trailing zeroes." })))));
|
|
19
21
|
}
|
|
20
22
|
}, [256, "bank-account-form-inputs", {
|
|
21
23
|
"defaultValue": [8, "default-value"],
|
|
@@ -27,13 +29,18 @@ function defineCustomElement() {
|
|
|
27
29
|
if (typeof customElements === "undefined") {
|
|
28
30
|
return;
|
|
29
31
|
}
|
|
30
|
-
const components = ["bank-account-form-inputs", "custom-popper", "form-control-select", "form-control-text", "form-control-tooltip"];
|
|
32
|
+
const components = ["bank-account-form-inputs", "bank-account-read-only-value", "custom-popper", "form-control-select", "form-control-text", "form-control-tooltip"];
|
|
31
33
|
components.forEach(tagName => { switch (tagName) {
|
|
32
34
|
case "bank-account-form-inputs":
|
|
33
35
|
if (!customElements.get(tagName)) {
|
|
34
36
|
customElements.define(tagName, BankAccountFormInputs);
|
|
35
37
|
}
|
|
36
38
|
break;
|
|
39
|
+
case "bank-account-read-only-value":
|
|
40
|
+
if (!customElements.get(tagName)) {
|
|
41
|
+
defineCustomElement$5();
|
|
42
|
+
}
|
|
43
|
+
break;
|
|
37
44
|
case "custom-popper":
|
|
38
45
|
if (!customElements.get(tagName)) {
|
|
39
46
|
defineCustomElement$4();
|
|
@@ -47,10 +47,10 @@ const BankAccountForm$1 = /*@__PURE__*/ proxyCustomElement(class BankAccountForm
|
|
|
47
47
|
return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
48
48
|
}
|
|
49
49
|
render() {
|
|
50
|
-
return (h(Host, { key: '
|
|
50
|
+
return (h(Host, { key: '1c142c117694002871cfcb0f9c419febda59ee1b' }, h(BankAccountFormSkeleton, { key: '06ee99086ab92d21f098bc266d9a3860cf0cfee3', isReady: this.isReady }), h("div", { key: 'f1ff30c399806c07854701c45698ee3b2a4d1492', class: "container-fluid p-0", style: {
|
|
51
51
|
opacity: this.isReady ? '1' : '0',
|
|
52
52
|
height: this.isReady ? 'auto' : '0',
|
|
53
|
-
} }, h("div", { key: '
|
|
53
|
+
} }, h("div", { key: 'b9225fef945018fea713a58bf0f2d58b24069826', class: "row mb-3" }, h("iframe-input", { key: '116526dcaa3325b9f9de8c70f6a0dafdf9ec7ced', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber?tabId=${this.tabId}` })), h("div", { key: 'ef4856499b18125170f6b1117981cab79aa69914', class: "row" }, h("iframe-input", { key: 'ed3c4988a2eb856450f36ff225a91104f5c10422', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber?tabId=${this.tabId}` })))));
|
|
54
54
|
}
|
|
55
55
|
}, [256, "bank-account-form", {
|
|
56
56
|
"isReady": [32],
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface BankAccountReadOnlyValue extends Components.BankAccountReadOnlyValue, HTMLElement {}
|
|
4
|
+
export const BankAccountReadOnlyValue: {
|
|
5
|
+
prototype: BankAccountReadOnlyValue;
|
|
6
|
+
new (): BankAccountReadOnlyValue;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { B as BankAccountReadOnlyValue$1, d as defineCustomElement$1 } from './bank-account-read-only-value2.js';
|
|
2
|
+
|
|
3
|
+
const BankAccountReadOnlyValue = BankAccountReadOnlyValue$1;
|
|
4
|
+
const defineCustomElement = defineCustomElement$1;
|
|
5
|
+
|
|
6
|
+
export { BankAccountReadOnlyValue, defineCustomElement };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { t as text } from './parts.js';
|
|
3
|
+
|
|
4
|
+
const BankAccountReadOnlyValue = /*@__PURE__*/ proxyCustomElement(class BankAccountReadOnlyValue extends HTMLElement {
|
|
5
|
+
constructor(registerHost) {
|
|
6
|
+
super();
|
|
7
|
+
if (registerHost !== false) {
|
|
8
|
+
this.__registerHost();
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
render() {
|
|
12
|
+
return (h("div", { key: '0d44d4aa265a5fd36ca30f1db072eb834f8bdf1b' }, h("label", { key: '892e6dbdbff5d484df4dfb522f3db8968f46d7d4', class: "form-label", part: text }, this.label), h("div", { key: 'cd617e2302834ad67ebccd64e24d535b2cc19da8', part: text }, this.value || '')));
|
|
13
|
+
}
|
|
14
|
+
}, [256, "bank-account-read-only-value", {
|
|
15
|
+
"label": [1],
|
|
16
|
+
"value": [1]
|
|
17
|
+
}]);
|
|
18
|
+
function defineCustomElement() {
|
|
19
|
+
if (typeof customElements === "undefined") {
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
const components = ["bank-account-read-only-value"];
|
|
23
|
+
components.forEach(tagName => { switch (tagName) {
|
|
24
|
+
case "bank-account-read-only-value":
|
|
25
|
+
if (!customElements.get(tagName)) {
|
|
26
|
+
customElements.define(tagName, BankAccountReadOnlyValue);
|
|
27
|
+
}
|
|
28
|
+
break;
|
|
29
|
+
} });
|
|
30
|
+
}
|
|
31
|
+
defineCustomElement();
|
|
32
|
+
|
|
33
|
+
export { BankAccountReadOnlyValue as B, defineCustomElement as d };
|
|
@@ -58,10 +58,10 @@ const BankAccountForm = /*@__PURE__*/ proxyCustomElement(class BankAccountForm e
|
|
|
58
58
|
return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
59
59
|
}
|
|
60
60
|
render() {
|
|
61
|
-
return (h(StyledHost, { key: '
|
|
61
|
+
return (h(StyledHost, { key: '1396c82eb048077e956a6cfa0954c969830a3e4e' }, h(BankAccountFormSkeleton, { key: '90439488c391f7dcb62c9b3aadeeeb9e22b476fe', isReady: this.isReady }), h("hidden-input", { key: 'ab5ab9990cd03e493551dae5dc18717ed144558b' }), h("div", { key: '7031dcaa20b3d017b3a3064d5e6f2e9ec5f3c3de', class: "container-fluid p-0", style: {
|
|
62
62
|
opacity: this.isReady ? '1' : '0',
|
|
63
63
|
height: this.isReady ? 'auto' : '0',
|
|
64
|
-
} }, h("div", { key: '
|
|
64
|
+
} }, h("div", { key: 'cf64b23918c17c525be517fa3506bc5a99de4472', class: "row mb-3" }, h("iframe-input", { key: '1a0bad102f68437d751a123ab14db53d0308b02a', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber` })), h("div", { key: '332cf9bc370f6bbddaf717c4debbd90bc557d808', class: "row" }, h("iframe-input", { key: '878379906a0efb39c7a236941fda8d399d3a8baf', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber` })))));
|
|
65
65
|
}
|
|
66
66
|
}, [257, "justifi-bank-account-form", {
|
|
67
67
|
"iframeOrigin": [32],
|