@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.
Files changed (778) hide show
  1. package/dist/cjs/{Api-CwTLkFY4.js → Api-DqzbA2qk.js} +1 -1
  2. package/dist/cjs/{Business-DCRzZf0w.js → Business-DWHy_-z9.js} +299 -9
  3. package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
  4. package/dist/cjs/{badge-BmOSt4gS.js → badge-BJVdpSU-.js} +1 -1
  5. package/dist/cjs/bank-account-document-form-inputs_6.cjs.entry.js +132 -0
  6. package/dist/cjs/bank-account-form.cjs.entry.js +6 -6
  7. package/dist/cjs/{business-additional-questions-schema-DNbSH3E-.js → business-additional-questions-schema-CetDMUp7.js} +27 -5
  8. package/dist/cjs/business-details-core.cjs.entry.js +4 -4
  9. package/dist/cjs/{business-form-options-CMII7nIK.js → business-form-options-e9UFw4P-.js} +1 -1
  10. package/dist/cjs/business-identity-schema-Cd0tvfJr.js +101 -0
  11. package/dist/cjs/{business.service-Dkhqyggm.js → business.service-Bv9o99Ll.js} +2 -2
  12. package/dist/cjs/{button-7c2RN2yp.js → button-_YJuE8cy.js} +1 -1
  13. package/dist/cjs/card-form.cjs.entry.js +6 -6
  14. package/dist/cjs/{check-pkg-version-BURRKC_7.js → check-pkg-version-CadxBsjl.js} +3 -3
  15. package/dist/cjs/{checkout.service-LwZVVgP5.js → checkout.service-dLB93w3Z.js} +2 -2
  16. package/dist/cjs/{checkout.store-C3f3E24L.js → checkout.store-DC4yVxDj.js} +2 -3
  17. package/dist/cjs/checkouts-list-core.cjs.entry.js +10 -12
  18. package/dist/cjs/{terminal-orders-list-params-state-C4c8UZtP.js → checkouts-list-params-state-ARjo40Y9.js} +1 -1
  19. package/dist/cjs/{checkouts-table-BQUhZZd_.js → checkouts-table-C102WCfy.js} +2 -2
  20. package/dist/cjs/{config-state-B_gyIchD.js → config-state-BeZM7X7J.js} +1 -1
  21. package/dist/cjs/country-config-MCOhn8o3.js +68 -0
  22. package/dist/cjs/{custom-popper_2.cjs.entry.js → custom-popper.cjs.entry.js} +3 -23
  23. package/dist/cjs/{dispute.service-927Gzb0N.js → dispute.service-BmAAnNky.js} +2 -2
  24. package/dist/cjs/form-alert_5.cjs.entry.js +25 -15
  25. package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
  26. package/dist/cjs/form-control-date.cjs.entry.js +4 -4
  27. package/dist/cjs/{form-control-error-text-DD0dHGu8.js → form-control-error-text-DJzNQrEz.js} +1 -1
  28. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
  29. package/dist/cjs/{form-control-help-text-2QwKi78M.js → form-control-help-text-DII6UDeq.js} +1 -1
  30. package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
  31. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +6 -6
  32. package/dist/cjs/form-control-monetary.cjs.entry.js +5 -5
  33. package/dist/cjs/form-control-number-masked_3.cjs.entry.js +119 -0
  34. package/dist/cjs/form-control-number.cjs.entry.js +5 -5
  35. package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
  36. package/dist/cjs/{form-control-select_2.cjs.entry.js → form-control-select_3.cjs.entry.js} +25 -6
  37. package/dist/cjs/{form-input-masks-DgXd0f4V.js → form-input-masks-BnNFJ3IJ.js} +9 -4
  38. package/dist/cjs/{get-business-o5jPq_ME.js → get-business-D9ZHyPem.js} +1 -1
  39. package/dist/cjs/{get-payment-details-BSxp1HX0.js → get-payment-details-BHPHzSkH.js} +2 -2
  40. package/dist/cjs/{get-subaccounts-B31f95PR.js → get-subaccounts-Bw76aYu0.js} +3 -3
  41. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +4 -4
  42. package/dist/cjs/{header-1-DMsp0XM7.js → header-1-Da7oKhXY.js} +1 -1
  43. package/dist/cjs/{header-3-BSvFq_IF.js → header-3-uBM_CzcP.js} +1 -1
  44. package/dist/cjs/hidden-input_2.cjs.entry.js +8 -8
  45. package/dist/cjs/{index-Dyzl8Hn6.js → index-CaAefsWD.js} +42 -31
  46. package/dist/cjs/{index-D1Ba20gi.js → index-D-CfIyoF.js} +1 -1
  47. package/dist/cjs/{index.esm-BleZSAc0.js → index.esm-ByC0D4sJ.js} +18 -17
  48. package/dist/cjs/{input-handlers-DYl_0IwC.js → input-handlers-D6QMwPTB.js} +2 -2
  49. package/dist/cjs/{insurance-state-uWOl6jJN.js → insurance-state-KJzYGtVr.js} +2 -2
  50. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +127 -70
  51. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +23 -24
  52. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +10 -10
  53. package/dist/cjs/justifi-apple-pay.cjs.entry.js +10 -10
  54. package/dist/cjs/justifi-bank-account-billing-form-simple_9.cjs.entry.js +25 -26
  55. package/dist/cjs/justifi-business-details.cjs.entry.js +10 -12
  56. package/dist/cjs/justifi-business-form.cjs.entry.js +25 -21
  57. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +15 -7
  58. package/dist/cjs/justifi-checkout-summary_7.cjs.entry.js +30 -24
  59. package/dist/cjs/justifi-checkout.cjs.entry.js +16 -15
  60. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +7 -9
  61. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +13 -15
  62. package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
  63. package/dist/cjs/justifi-details.cjs.entry.js +2 -2
  64. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +2 -2
  65. package/dist/cjs/justifi-dispute-management.cjs.entry.js +9 -11
  66. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +14 -16
  67. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +8 -10
  68. package/dist/cjs/justifi-order-terminals.cjs.entry.js +13 -15
  69. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +28 -19
  70. package/dist/cjs/justifi-payment-details.cjs.entry.js +10 -12
  71. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +39 -24
  72. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +9 -11
  73. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +12 -14
  74. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +6 -6
  75. package/dist/cjs/justifi-payments-list.cjs.entry.js +13 -15
  76. package/dist/cjs/justifi-payout-details.cjs.entry.js +9 -11
  77. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +12 -14
  78. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +6 -6
  79. package/dist/cjs/justifi-payouts-list.cjs.entry.js +14 -16
  80. package/dist/cjs/justifi-refund-payment.cjs.entry.js +13 -15
  81. package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +2 -2
  82. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +11 -13
  83. package/dist/cjs/justifi-skeleton.cjs.entry.js +4 -4
  84. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +8 -10
  85. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +11 -13
  86. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +7 -9
  87. package/dist/cjs/justifi-terminals-list.cjs.entry.js +13 -15
  88. package/dist/cjs/loader.cjs.js +2 -2
  89. package/dist/cjs/{package-Cq0M4ut-.js → package-CVxkAS_m.js} +1 -1
  90. package/dist/cjs/pagination-menu.cjs.entry.js +4 -4
  91. package/dist/cjs/payment-details-core.cjs.entry.js +14 -14
  92. package/dist/cjs/payment-method-option.cjs.entry.js +3 -3
  93. package/dist/cjs/{payment.service-DUq-W7tS.js → payment.service-DODmonNs.js} +2 -2
  94. package/dist/cjs/payments-list-core.cjs.entry.js +11 -13
  95. package/dist/cjs/{payments-list-params-state-C4c8UZtP.js → payments-list-params-state-ARjo40Y9.js} +1 -1
  96. package/dist/cjs/{payments-status-3iIQkoov.js → payments-status-5IzqwLep.js} +2 -2
  97. package/dist/cjs/{payments-table-BSHUQhM-.js → payments-table-BcZ6U6p8.js} +23 -3
  98. package/dist/cjs/payout-details-core.cjs.entry.js +10 -10
  99. package/dist/cjs/{payout.service-DoKMr8Xw.js → payout.service-Do8DxBxe.js} +2 -2
  100. package/dist/cjs/payouts-list-core.cjs.entry.js +11 -13
  101. package/dist/cjs/{payouts-list-params-state-C4c8UZtP.js → payouts-list-params-state-ARjo40Y9.js} +1 -1
  102. package/dist/cjs/{payouts-status-DoQbxIms.js → payouts-status-D38A6UrI.js} +2 -2
  103. package/dist/cjs/{payouts-table-BD_Fhz_j.js → payouts-table-Cn_cCCOY.js} +2 -2
  104. package/dist/cjs/{schema-validations-jek_iZ9W.js → schema-validations-0mjPveQ0.js} +46 -7
  105. package/dist/cjs/{skeleton-CuIMC98G.js → skeleton-DlPP4i_w.js} +1 -1
  106. package/dist/cjs/{spinner-CMZXdrPe.js → spinner-BNWG01hP.js} +1 -1
  107. package/dist/cjs/{styled-host-2KXbjOFw.js → styled-host-DSpt9LtB.js} +1 -1
  108. package/dist/cjs/{table-DlQCUVag.js → table-CAWBqvW5.js} +2 -2
  109. package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
  110. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +10 -12
  111. package/dist/cjs/{checkouts-list-params-state-C4c8UZtP.js → terminal-orders-list-params-state-ARjo40Y9.js} +1 -1
  112. package/dist/cjs/{terminal-orders-table-t6XxNy_K.js → terminal-orders-table-BUA4LcEc.js} +4 -4
  113. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
  114. package/dist/cjs/{terminal.service-Iyje71vN.js → terminal.service-bxQnc1JY.js} +2 -2
  115. package/dist/cjs/terminals-list-core.cjs.entry.js +10 -12
  116. package/dist/cjs/terminals-list-params-state-ARjo40Y9.js +22 -0
  117. package/dist/cjs/{terminals-table-BTdKRiBN.js → terminals-table-C2_M7SWl.js} +2 -2
  118. package/dist/cjs/{utils-FFP5ZHyE.js → utils-C6mfHWv-.js} +1 -1
  119. package/dist/cjs/webcomponents.cjs.js +3 -3
  120. package/dist/collection/api/BankAccount.js +4 -0
  121. package/dist/collection/api/Business.js +16 -1
  122. package/dist/collection/api/services/apple-pay.service.js +1 -1
  123. package/dist/collection/collection-manifest.json +4 -1
  124. package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +0 -1
  125. package/dist/collection/components/business-details/business-details-core.js +0 -1
  126. package/dist/collection/components/business-details/business-details.js +4 -4
  127. package/dist/collection/components/business-details/core-info-details/core-info-details.js +0 -1
  128. package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +0 -1
  129. package/dist/collection/components/business-details/owner-details/owner-details.js +0 -1
  130. package/dist/collection/components/business-details/representative-details/representative-details.js +0 -1
  131. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +2 -2
  132. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +36 -5
  133. package/dist/collection/components/business-forms/business-form/business-form.js +13 -9
  134. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +43 -7
  135. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +29 -8
  136. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +30 -11
  137. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +39 -17
  138. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +49 -8
  139. package/dist/collection/components/business-forms/owner-form/owner-form.js +38 -14
  140. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +2 -4
  141. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +7 -7
  142. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +3 -5
  143. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.js +88 -0
  144. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +8 -8
  145. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.js +50 -0
  146. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +40 -12
  147. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +32 -7
  148. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-documents-on-file.js +2 -2
  149. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +51 -13
  150. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +32 -7
  151. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +32 -9
  152. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +32 -7
  153. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +47 -9
  154. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +35 -8
  155. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +32 -7
  156. package/dist/collection/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.js +101 -0
  157. package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +15 -16
  158. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +37 -14
  159. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +32 -7
  160. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +46 -29
  161. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +9 -11
  162. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +41 -15
  163. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +7 -7
  164. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +7 -7
  165. package/dist/collection/components/business-forms/payment-provisioning/test/mockBusiness.js +52 -0
  166. package/dist/collection/components/business-forms/schemas/business-address-schema.js +41 -19
  167. package/dist/collection/components/business-forms/schemas/business-bank-account-schema.js +74 -39
  168. package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +27 -4
  169. package/dist/collection/components/business-forms/schemas/business-form-schema.js +7 -4
  170. package/dist/collection/components/business-forms/schemas/business-identity-schema.js +53 -24
  171. package/dist/collection/components/business-forms/schemas/schema-validations.js +41 -4
  172. package/dist/collection/components/business-forms/utils/country-config.js +47 -0
  173. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
  174. package/dist/collection/components/checkout/billing-form/billing-form.js +8 -8
  175. package/dist/collection/components/checkout/card-form/card-form.js +2 -2
  176. package/dist/collection/components/checkout/checkout.js +17 -16
  177. package/dist/collection/components/checkout/save-new-payment-method.js +2 -2
  178. package/dist/collection/components/checkout/saved-payment-method.js +3 -4
  179. package/dist/collection/components/checkouts-list/checkouts-list-core.js +3 -5
  180. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +5 -5
  181. package/dist/collection/components/checkouts-list/checkouts-list.js +6 -6
  182. package/dist/collection/components/config-provider/config-provider.js +3 -3
  183. package/dist/collection/components/dispute-management/dispute-management-core.js +5 -6
  184. package/dist/collection/components/dispute-management/dispute-management.js +5 -5
  185. package/dist/collection/components/dispute-management/dispute-notification.js +5 -6
  186. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +4 -4
  187. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +4 -4
  188. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +4 -4
  189. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +2 -5
  190. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +6 -7
  191. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +4 -4
  192. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +4 -4
  193. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +4 -4
  194. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +4 -4
  195. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +4 -4
  196. package/dist/collection/components/filters/table-filters-menu.js +3 -4
  197. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -2
  198. package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +4 -4
  199. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +26 -26
  200. package/dist/collection/components/modular-checkout/modular-checkout.js +17 -9
  201. package/dist/collection/components/modular-checkout/sub-components/apple-pay.js +10 -10
  202. package/dist/collection/components/modular-checkout/sub-components/bank-account-billing-form-simple.js +3 -3
  203. package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
  204. package/dist/collection/components/modular-checkout/sub-components/billing-form-full.js +2 -2
  205. package/dist/collection/components/modular-checkout/sub-components/card-billing-form-simple.js +3 -3
  206. package/dist/collection/components/modular-checkout/sub-components/card-form.js +2 -2
  207. package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +9 -10
  208. package/dist/collection/components/modular-checkout/sub-components/sezzle-payment-method.js +1 -1
  209. package/dist/collection/components/modular-checkout/sub-components/summary.js +1 -1
  210. package/dist/collection/components/order-terminals/order-terminals.js +9 -9
  211. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +10 -10
  212. package/dist/collection/components/payment-details/payment-details-core.js +8 -9
  213. package/dist/collection/components/payment-details/payment-details.js +4 -4
  214. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +6 -6
  215. package/dist/collection/components/payments-list/payments-list-core.js +3 -4
  216. package/dist/collection/components/payments-list/payments-list-filters.js +12 -12
  217. package/dist/collection/components/payments-list/payments-list.js +6 -6
  218. package/dist/collection/components/payments-list/payments-table.js +21 -1
  219. package/dist/collection/components/payout-details/payout-details-core.js +3 -5
  220. package/dist/collection/components/payout-details/payout-details.js +4 -4
  221. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +6 -6
  222. package/dist/collection/components/payouts-list/payouts-list-core.js +3 -6
  223. package/dist/collection/components/payouts-list/payouts-list-filters.js +6 -6
  224. package/dist/collection/components/payouts-list/payouts-list.js +6 -6
  225. package/dist/collection/components/refund-payment/refund-payment.js +7 -7
  226. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +3 -4
  227. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +10 -10
  228. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +6 -6
  229. package/dist/collection/components/terminals-list/terminals-list-core.js +3 -5
  230. package/dist/collection/components/terminals-list/terminals-list-filters.js +7 -7
  231. package/dist/collection/components/terminals-list/terminals-list.js +6 -6
  232. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +20 -20
  233. package/dist/collection/store/checkout.store.js +1 -2
  234. package/dist/collection/ui-components/custom-popper/custom-popper.js +5 -7
  235. package/dist/collection/ui-components/details/details.js +2 -2
  236. package/dist/collection/ui-components/form/form-control-checkbox.js +14 -15
  237. package/dist/collection/ui-components/form/form-control-date.js +17 -18
  238. package/dist/collection/ui-components/form/form-control-file-v2.js +13 -14
  239. package/dist/collection/ui-components/form/form-control-file.js +16 -17
  240. package/dist/collection/ui-components/form/form-control-monetary.js +15 -17
  241. package/dist/collection/ui-components/form/form-control-number-masked.js +16 -17
  242. package/dist/collection/ui-components/form/form-control-number.js +14 -15
  243. package/dist/collection/ui-components/form/form-control-radio.js +16 -17
  244. package/dist/collection/ui-components/form/form-control-select.js +14 -16
  245. package/dist/collection/ui-components/form/form-control-text.js +16 -18
  246. package/dist/collection/ui-components/form/form-control-textarea.js +16 -18
  247. package/dist/collection/ui-components/form/form-helpers/form-alert/form-alert.js +4 -4
  248. package/dist/collection/ui-components/form/form-helpers/form-control-help-text/form-control-help-text.js +4 -4
  249. package/dist/collection/ui-components/form/form-helpers/form-control-tooltip/form-control-tooltip.js +2 -2
  250. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  251. package/dist/collection/ui-components/form/iframe-input.js +9 -9
  252. package/dist/collection/ui-components/pagination-menu/pagination-menu.js +3 -5
  253. package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +13 -14
  254. package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +6 -6
  255. package/dist/collection/ui-components/shadow-dom-components/justifi-radio-list-item.js +10 -10
  256. package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +9 -10
  257. package/dist/collection/utils/country-codes.js +5 -0
  258. package/dist/collection/utils/form-input-masks.js +8 -0
  259. package/dist/collection/utils/province-options.js +20 -0
  260. package/dist/docs.json +1118 -141
  261. package/dist/esm/{Api-D4tj-h4P.js → Api-DLf3ihCB.js} +2 -2
  262. package/dist/esm/{Business-BCoP0TAV.js → Business-B5rtFhtR.js} +290 -3
  263. package/dist/esm/{Refund-Bc5By0lb.js → Refund-BeI1WGfx.js} +1 -1
  264. package/dist/esm/additional-questions-details_5.entry.js +4 -4
  265. package/dist/esm/{badge-ChwzCNAF.js → badge-CkfrkCoy.js} +2 -2
  266. package/dist/esm/bank-account-document-form-inputs_6.entry.js +125 -0
  267. package/dist/esm/bank-account-form.entry.js +8 -8
  268. package/dist/esm/{business-additional-questions-schema-C6NRHWEL.js → business-additional-questions-schema-DSvdNuI1.js} +26 -5
  269. package/dist/esm/business-details-core.entry.js +5 -5
  270. package/dist/esm/{business-form-options-CgssATyg.js → business-form-options-D6s5H4RI.js} +2 -2
  271. package/dist/esm/business-identity-schema-mN4VhA1v.js +94 -0
  272. package/dist/esm/{business.service-CsbtEDNi.js → business.service-BIALik8Z.js} +3 -3
  273. package/dist/esm/{button-SAIS_5os.js → button-CuZAKl_x.js} +2 -2
  274. package/dist/esm/card-form.entry.js +8 -8
  275. package/dist/esm/{check-pkg-version-Cd_i8U0d.js → check-pkg-version-Bk5bgulF.js} +4 -4
  276. package/dist/esm/{checkout.service-BCkQ9pOA.js → checkout.service-DZDZBIGQ.js} +3 -3
  277. package/dist/esm/{checkout.store-DBvS7cVB.js → checkout.store-DwJGKabu.js} +2 -3
  278. package/dist/esm/checkouts-list-core.entry.js +13 -15
  279. package/dist/esm/{checkouts-list-params-state-C2_GlMKR.js → checkouts-list-params-state-BY5996_y.js} +1 -1
  280. package/dist/esm/{checkouts-table-CItEo0DU.js → checkouts-table-59DpP7zM.js} +4 -4
  281. package/dist/esm/{config-state-Blo0ywwc.js → config-state-C83RkI9h.js} +1 -1
  282. package/dist/esm/country-config-BQ4D46Lb.js +64 -0
  283. package/dist/esm/{custom-popper_2.entry.js → custom-popper.entry.js} +4 -23
  284. package/dist/esm/{dispute.service-CyLtJREK.js → dispute.service-ByJy64X7.js} +3 -3
  285. package/dist/esm/form-alert_5.entry.js +25 -15
  286. package/dist/esm/form-control-checkbox.entry.js +6 -6
  287. package/dist/esm/form-control-date.entry.js +5 -5
  288. package/dist/esm/{form-control-error-text-IXJJ4JpV.js → form-control-error-text-CjrxZorl.js} +2 -2
  289. package/dist/esm/form-control-file-v2_2.entry.js +6 -6
  290. package/dist/esm/{form-control-help-text-CuhIsM3v.js → form-control-help-text-CMUgRhUf.js} +2 -2
  291. package/dist/esm/form-control-help-text.entry.js +1 -1
  292. package/dist/esm/form-control-monetary-provisioning.entry.js +7 -7
  293. package/dist/esm/form-control-monetary.entry.js +7 -7
  294. package/dist/esm/form-control-number-masked_3.entry.js +115 -0
  295. package/dist/esm/form-control-number.entry.js +6 -6
  296. package/dist/esm/form-control-radio.entry.js +4 -4
  297. package/dist/esm/{form-control-select_2.entry.js → form-control-select_3.entry.js} +26 -8
  298. package/dist/esm/{form-input-masks-B-iV5cYd.js → form-input-masks-CVaOFfrI.js} +9 -3
  299. package/dist/esm/{get-business-Crb6P-iI.js → get-business-Xt7B5dSo.js} +1 -1
  300. package/dist/esm/{get-payment-details-BuT0QNOo.js → get-payment-details-B00HoaFm.js} +3 -3
  301. package/dist/esm/{get-subaccounts-VjY6-x_9.js → get-subaccounts-C_yzcZq_.js} +4 -4
  302. package/dist/esm/gross-payment-chart-core.entry.js +6 -6
  303. package/dist/esm/{header-1-zXsamUS3.js → header-1-BukynbFR.js} +2 -2
  304. package/dist/esm/{header-3-DVtaUAlf.js → header-3-D87MAyMK.js} +2 -2
  305. package/dist/esm/hidden-input_2.entry.js +9 -9
  306. package/dist/esm/{index-ZfXl6Xrm.js → index-NOsb-hYl.js} +1 -1
  307. package/dist/esm/{index-qipqIMyC.js → index-_b8l4IX7.js} +42 -31
  308. package/dist/esm/{index.esm-cYgKOXtz.js → index.esm-IWS0494Y.js} +18 -17
  309. package/dist/esm/{input-handlers-CX6mSvOM.js → input-handlers-D3y0TzH9.js} +1 -1
  310. package/dist/esm/{insurance-state-Dh9f36Qh.js → insurance-state-BjY1QRXI.js} +3 -3
  311. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +130 -73
  312. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +26 -27
  313. package/dist/esm/justifi-additional-statement_8.entry.js +11 -11
  314. package/dist/esm/justifi-apple-pay.entry.js +12 -12
  315. package/dist/esm/justifi-bank-account-billing-form-simple_9.entry.js +27 -28
  316. package/dist/esm/justifi-business-details.entry.js +13 -15
  317. package/dist/esm/justifi-business-form.entry.js +28 -24
  318. package/dist/esm/justifi-business-representative-form-inputs.entry.js +16 -8
  319. package/dist/esm/justifi-checkout-summary_7.entry.js +33 -27
  320. package/dist/esm/justifi-checkout.entry.js +19 -18
  321. package/dist/esm/justifi-checkouts-list-filters.entry.js +10 -12
  322. package/dist/esm/justifi-checkouts-list.entry.js +16 -18
  323. package/dist/esm/justifi-config-provider.entry.js +3 -3
  324. package/dist/esm/justifi-details.entry.js +3 -3
  325. package/dist/esm/justifi-dispute-management-core.entry.js +2 -2
  326. package/dist/esm/justifi-dispute-management.entry.js +11 -13
  327. package/dist/esm/justifi-dispute-notification_3.entry.js +17 -19
  328. package/dist/esm/justifi-gross-payment-chart.entry.js +11 -13
  329. package/dist/esm/justifi-order-terminals.entry.js +16 -18
  330. package/dist/esm/justifi-owner-form_3.entry.js +31 -22
  331. package/dist/esm/justifi-payment-details.entry.js +13 -15
  332. package/dist/esm/justifi-payment-provisioning-core.entry.js +40 -25
  333. package/dist/esm/justifi-payment-provisioning.entry.js +11 -13
  334. package/dist/esm/justifi-payment-transactions-list.entry.js +15 -17
  335. package/dist/esm/justifi-payments-list-filters.entry.js +8 -8
  336. package/dist/esm/justifi-payments-list.entry.js +16 -18
  337. package/dist/esm/justifi-payout-details.entry.js +12 -14
  338. package/dist/esm/justifi-payout-transactions-list.entry.js +15 -17
  339. package/dist/esm/justifi-payouts-list-filters.entry.js +8 -8
  340. package/dist/esm/justifi-payouts-list.entry.js +17 -19
  341. package/dist/esm/justifi-refund-payment.entry.js +16 -18
  342. package/dist/esm/justifi-saved-payment-method.entry.js +3 -3
  343. package/dist/esm/justifi-season-interruption-insurance.entry.js +14 -16
  344. package/dist/esm/justifi-skeleton.entry.js +5 -5
  345. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +11 -13
  346. package/dist/esm/justifi-terminal-orders-list.entry.js +14 -16
  347. package/dist/esm/justifi-terminals-list-filters.entry.js +10 -12
  348. package/dist/esm/justifi-terminals-list.entry.js +16 -18
  349. package/dist/esm/loader.js +3 -3
  350. package/dist/esm/{package-BBO3I4s6.js → package-BRhnhmpB.js} +1 -1
  351. package/dist/esm/pagination-menu.entry.js +5 -5
  352. package/dist/esm/{parts-RvUQ__Pq.js → parts-CA_TyBed.js} +1 -1
  353. package/dist/esm/payment-details-core.entry.js +16 -16
  354. package/dist/esm/payment-method-option.entry.js +4 -4
  355. package/dist/esm/{payment.service-QJEmd6Nl.js → payment.service-B_NytmNz.js} +3 -3
  356. package/dist/esm/payments-list-core.entry.js +14 -16
  357. package/dist/esm/{payments-list-params-state-C2_GlMKR.js → payments-list-params-state-BY5996_y.js} +1 -1
  358. package/dist/esm/{payments-status-DDafc8Yr.js → payments-status-BWv1l1-e.js} +2 -2
  359. package/dist/esm/{payments-table-De3Jb6rY.js → payments-table-BSk36N1O.js} +25 -5
  360. package/dist/esm/payout-details-core.entry.js +12 -12
  361. package/dist/esm/{payout.service-XxyEr0rj.js → payout.service-BJQVlc_Z.js} +3 -3
  362. package/dist/esm/payouts-list-core.entry.js +14 -16
  363. package/dist/esm/{payouts-list-params-state-C2_GlMKR.js → payouts-list-params-state-BY5996_y.js} +1 -1
  364. package/dist/esm/{payouts-status-u1eSRz3Q.js → payouts-status-BujJlH_r.js} +2 -2
  365. package/dist/esm/{payouts-table-BO-MCzXj.js → payouts-table-5N7OylTW.js} +4 -4
  366. package/dist/esm/{schema-validations-DcR1ujuX.js → schema-validations-BFoU1cR8.js} +42 -7
  367. package/dist/esm/{skeleton-DtpkgjZ6.js → skeleton-C161KeYG.js} +2 -2
  368. package/dist/esm/{spinner-CIXUVK4F.js → spinner-UiInIFXW.js} +2 -2
  369. package/dist/esm/{styled-host-CbizlfAU.js → styled-host-hSGxxyFZ.js} +1 -1
  370. package/dist/esm/{table-DcRHK_sm.js → table-9ewYPAZH.js} +3 -3
  371. package/dist/esm/table-filters-menu.entry.js +4 -4
  372. package/dist/esm/terminal-orders-list-core.entry.js +13 -15
  373. package/dist/esm/{terminal-orders-list-params-state-C2_GlMKR.js → terminal-orders-list-params-state-BY5996_y.js} +1 -1
  374. package/dist/esm/{terminal-orders-table-9nsnrAq8.js → terminal-orders-table-BcziGGSF.js} +7 -7
  375. package/dist/esm/terminal-quantity-selector.entry.js +3 -3
  376. package/dist/esm/{terminal.service-D2oETGnk.js → terminal.service-B9MOFa2c.js} +3 -3
  377. package/dist/esm/terminals-list-core.entry.js +13 -15
  378. package/dist/esm/terminals-list-params-state-BY5996_y.js +16 -0
  379. package/dist/esm/{terminals-table-C6NO2m-t.js → terminals-table-BoFlvdHS.js} +4 -4
  380. package/dist/esm/{utils-BscIVFn8.js → utils-DeZftIgK.js} +1 -1
  381. package/dist/esm/{utils-_ckvHjSW.js → utils-fntGABrK.js} +2 -2
  382. package/dist/esm/webcomponents.js +4 -4
  383. package/dist/module/Business.js +290 -3
  384. package/dist/module/additional-questions-details2.js +1 -1
  385. package/dist/module/additional-statement.js +2 -2
  386. package/dist/module/bank-account-billing-form-simple.js +1 -1
  387. package/dist/module/bank-account-document-inputs.js +3 -3
  388. package/dist/module/bank-account-form-inputs-canada.d.ts +11 -0
  389. package/dist/module/bank-account-form-inputs-canada.js +6 -0
  390. package/dist/module/bank-account-form-inputs-canada2.js +68 -0
  391. package/dist/module/bank-account-form-inputs2.js +10 -3
  392. package/dist/module/bank-account-form.js +2 -2
  393. package/dist/module/bank-account-read-only-value.d.ts +11 -0
  394. package/dist/module/bank-account-read-only-value.js +6 -0
  395. package/dist/module/bank-account-read-only-value2.js +33 -0
  396. package/dist/module/bank-account.js +2 -2
  397. package/dist/module/billing-form-full.js +1 -1
  398. package/dist/module/business-additional-questions-form-step-core.js +2 -2
  399. package/dist/module/business-additional-questions-form-step.js +1 -1
  400. package/dist/module/business-address-schema.js +40 -20
  401. package/dist/module/business-bank-account-form-step-core.js +104 -51
  402. package/dist/module/business-bank-account-form-step.js +18 -5
  403. package/dist/module/business-core-info-form-step-core.js +24 -9
  404. package/dist/module/business-core-info-form-step.js +2 -1
  405. package/dist/module/business-core-info-schema.js +26 -5
  406. package/dist/module/business-core-info.js +13 -5
  407. package/dist/module/business-details-core2.js +1 -1
  408. package/dist/module/business-identity-schema.js +52 -25
  409. package/dist/module/business-owners-form-step-core.js +22 -15
  410. package/dist/module/business-owners-form-step.js +22 -15
  411. package/dist/module/business-representative-form-inputs.js +34 -17
  412. package/dist/module/business-representative-form-step-core.js +31 -20
  413. package/dist/module/business-representative-form-step.js +24 -17
  414. package/dist/module/business-representative.js +36 -18
  415. package/dist/module/business-terms-conditions-form-step.js +1 -1
  416. package/dist/module/button.js +1 -1
  417. package/dist/module/cancellation-policy.js +2 -2
  418. package/dist/module/card-billing-form-simple.js +1 -1
  419. package/dist/module/card-form.js +2 -2
  420. package/dist/module/card-form2.js +2 -2
  421. package/dist/module/checkout.store.js +1 -2
  422. package/dist/module/checkouts-list-core2.js +3 -3
  423. package/dist/module/country-config.js +64 -0
  424. package/dist/module/custom-popper2.js +3 -3
  425. package/dist/module/customer-details.js +2 -2
  426. package/dist/module/dispute-management-core.js +2 -2
  427. package/dist/module/dispute-notification.js +2 -2
  428. package/dist/module/dispute-response-core.js +5 -5
  429. package/dist/module/dispute-response.js +2 -2
  430. package/dist/module/duplicate-charge.js +2 -2
  431. package/dist/module/electronic-evidence.js +2 -2
  432. package/dist/module/form-address-fields.js +65 -0
  433. package/dist/module/form-control-checkbox2.js +3 -3
  434. package/dist/module/form-control-date2.js +3 -3
  435. package/dist/module/form-control-file-v22.js +2 -2
  436. package/dist/module/form-control-file2.js +3 -3
  437. package/dist/module/form-control-monetary-provisioning2.js +3 -3
  438. package/dist/module/form-control-monetary2.js +4 -4
  439. package/dist/module/form-control-number-masked2.js +3 -3
  440. package/dist/module/form-control-number.js +3 -3
  441. package/dist/module/form-control-radio2.js +3 -3
  442. package/dist/module/form-control-select2.js +3 -3
  443. package/dist/module/form-control-text2.js +4 -4
  444. package/dist/module/form-control-textarea2.js +4 -4
  445. package/dist/module/form-input-masks.js +9 -3
  446. package/dist/module/form.js +18 -17
  447. package/dist/module/get-business.js +1 -1
  448. package/dist/module/gross-payment-chart-core2.js +2 -2
  449. package/dist/module/hidden-input2.js +1 -1
  450. package/dist/module/identity-address-form.js +17 -15
  451. package/dist/module/iframe-input2.js +3 -3
  452. package/dist/module/input-handlers.js +1 -1
  453. package/dist/module/justifi-apple-pay.js +3 -3
  454. package/dist/module/justifi-business-form.js +41 -29
  455. package/dist/module/justifi-button2.js +2 -2
  456. package/dist/module/justifi-checkout.js +7 -5
  457. package/dist/module/justifi-checkouts-list-filters.js +1 -1
  458. package/dist/module/justifi-checkouts-list.js +1 -1
  459. package/dist/module/justifi-dispute-management.js +1 -1
  460. package/dist/module/justifi-form-address-fields.d.ts +11 -0
  461. package/dist/module/justifi-form-address-fields.js +6 -0
  462. package/dist/module/justifi-header2.js +1 -1
  463. package/dist/module/justifi-order-terminals.js +3 -3
  464. package/dist/module/justifi-payment-provisioning.js +67 -49
  465. package/dist/module/justifi-payment-transactions-list.js +1 -1
  466. package/dist/module/justifi-payments-list-filters.js +2 -2
  467. package/dist/module/justifi-payments-list.js +1 -1
  468. package/dist/module/justifi-payout-transactions-list.js +1 -1
  469. package/dist/module/justifi-payouts-list-filters.js +2 -2
  470. package/dist/module/justifi-payouts-list.js +1 -1
  471. package/dist/module/justifi-saved-payment-method.js +2 -2
  472. package/dist/module/justifi-skeleton.js +2 -2
  473. package/dist/module/justifi-terminal-orders-list-filters.js +2 -2
  474. package/dist/module/justifi-terminal-orders-list.js +1 -1
  475. package/dist/module/justifi-terminals-list-filters.js +1 -1
  476. package/dist/module/justifi-terminals-list.js +1 -1
  477. package/dist/module/legal-address-details2.js +1 -1
  478. package/dist/module/legal-address-form-step-core.js +28 -21
  479. package/dist/module/legal-address-form-step.js +16 -9
  480. package/dist/module/legal-address-form.js +17 -14
  481. package/dist/module/modular-checkout.js +13 -5
  482. package/dist/module/owner-form-core2.js +27 -19
  483. package/dist/module/owner-form-inputs2.js +34 -15
  484. package/dist/module/owner-form.js +21 -14
  485. package/dist/module/package.js +1 -1
  486. package/dist/module/pagination-menu2.js +3 -3
  487. package/dist/module/parts.js +1 -1
  488. package/dist/module/payment-details-core2.js +9 -9
  489. package/dist/module/payment-method-option.js +2 -2
  490. package/dist/module/payment-provisioning-core.js +106 -71
  491. package/dist/module/payment-provisioning-form-buttons.js +3 -3
  492. package/dist/module/payment-provisioning-form-steps.js +76 -55
  493. package/dist/module/payments-list-core2.js +23 -3
  494. package/dist/module/payout-details-core2.js +5 -5
  495. package/dist/module/payouts-list-core2.js +4 -4
  496. package/dist/module/product-or-service.js +2 -2
  497. package/dist/module/refund-policy.js +2 -2
  498. package/dist/module/save-new-payment-method.js +1 -1
  499. package/dist/module/schema-validations.js +41 -6
  500. package/dist/module/sezzle-payment-method.js +1 -1
  501. package/dist/module/shipping-details.js +2 -2
  502. package/dist/module/summary.js +1 -1
  503. package/dist/module/table-filters-menu2.js +2 -2
  504. package/dist/module/terminal-orders-list-core2.js +2 -2
  505. package/dist/module/terminal-quantity-selector2.js +2 -2
  506. package/dist/module/terminals-list-core2.js +3 -3
  507. package/dist/module/tokenize-payment-method.js +1 -1
  508. package/dist/types/api/BankAccount.d.ts +6 -0
  509. package/dist/types/api/Business.d.ts +9 -0
  510. package/dist/types/components/business-forms/business-form/business-core-info/business-core-info.d.ts +3 -0
  511. package/dist/types/components/business-forms/business-form/business-form.d.ts +2 -0
  512. package/dist/types/components/business-forms/business-form/business-representative/business-representative.d.ts +4 -1
  513. package/dist/types/components/business-forms/business-form/legal-address-form/legal-address-form.d.ts +2 -0
  514. package/dist/types/components/business-forms/owner-form/identity-address/identity-address-form.d.ts +2 -0
  515. package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +2 -0
  516. package/dist/types/components/business-forms/owner-form/owner-form-inputs.d.ts +3 -0
  517. package/dist/types/components/business-forms/owner-form/owner-form.d.ts +2 -0
  518. package/dist/types/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.d.ts +7 -0
  519. package/dist/types/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.d.ts +5 -0
  520. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.d.ts +5 -0
  521. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +2 -0
  522. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +3 -0
  523. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.d.ts +2 -0
  524. package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.d.ts +2 -0
  525. package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.d.ts +2 -0
  526. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.d.ts +3 -0
  527. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +2 -0
  528. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.d.ts +2 -0
  529. package/dist/types/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.d.ts +8 -0
  530. package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +2 -0
  531. package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.d.ts +2 -0
  532. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-core.d.ts +4 -2
  533. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-form-steps.d.ts +2 -0
  534. package/dist/types/components/business-forms/payment-provisioning/test/mockBusiness.d.ts +12 -0
  535. package/dist/types/components/business-forms/schemas/business-address-schema.d.ts +54 -2
  536. package/dist/types/components/business-forms/schemas/business-bank-account-schema.d.ts +14 -16
  537. package/dist/types/components/business-forms/schemas/business-core-info-schema.d.ts +67 -3
  538. package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +164 -6
  539. package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +122 -2
  540. package/dist/types/components/business-forms/schemas/schema-validations.d.ts +5 -0
  541. package/dist/types/components/payments-list/payments-table.d.ts +5 -2
  542. package/dist/types/components.d.ts +111 -0
  543. package/dist/types/stencil-public-runtime.d.ts +22 -6
  544. package/dist/types/store/checkout.store.d.ts +0 -1
  545. package/dist/types/utils/country-codes.d.ts +4 -0
  546. package/dist/types/utils/form-input-masks.d.ts +1 -0
  547. package/dist/types/utils/province-options.d.ts +5 -0
  548. package/dist/webcomponents/p-0254c06c.entry.js +1 -0
  549. package/dist/webcomponents/p-047fe97f.entry.js +1 -0
  550. package/dist/webcomponents/p-04ca6ff0.entry.js +1 -0
  551. package/dist/webcomponents/p-09d53b03.entry.js +1 -0
  552. package/dist/webcomponents/p-0c5e2fed.entry.js +1 -0
  553. package/dist/webcomponents/p-0ea48603.entry.js +1 -0
  554. package/dist/webcomponents/p-17e9d5c0.entry.js +1 -0
  555. package/dist/webcomponents/p-1ab4d6aa.entry.js +1 -0
  556. package/dist/webcomponents/p-1cf42bc9.entry.js +1 -0
  557. package/dist/webcomponents/p-1e7f4b4f.entry.js +1 -0
  558. package/dist/webcomponents/{p-27fc3ef0.entry.js → p-22defde6.entry.js} +4 -4
  559. package/dist/webcomponents/{p-7c5cd118.entry.js → p-242208d9.entry.js} +1 -1
  560. package/dist/webcomponents/p-31ac0c3d.entry.js +1 -0
  561. package/dist/webcomponents/p-36e21b78.entry.js +1 -0
  562. package/dist/webcomponents/p-3a77a97c.entry.js +1 -0
  563. package/dist/webcomponents/p-40938820.entry.js +1 -0
  564. package/dist/webcomponents/p-40dc0c3c.entry.js +1 -0
  565. package/dist/webcomponents/p-42763479.entry.js +1 -0
  566. package/dist/webcomponents/p-430203b0.entry.js +1 -0
  567. package/dist/webcomponents/p-46d2d042.entry.js +1 -0
  568. package/dist/webcomponents/p-485516a1.entry.js +1 -0
  569. package/dist/webcomponents/p-4fb58ee6.entry.js +1 -0
  570. package/dist/webcomponents/p-54995a3d.entry.js +1 -0
  571. package/dist/webcomponents/p-56617fdd.entry.js +1 -0
  572. package/dist/webcomponents/p-592a45f6.entry.js +1 -0
  573. package/dist/webcomponents/p-5a044ca5.entry.js +1 -0
  574. package/dist/webcomponents/p-5ec18584.entry.js +1 -0
  575. package/dist/webcomponents/p-6122dc79.entry.js +1 -0
  576. package/dist/webcomponents/p-62858ba5.entry.js +1 -0
  577. package/dist/webcomponents/p-62b5e6cf.entry.js +1 -0
  578. package/dist/webcomponents/p-67dab4d9.entry.js +1 -0
  579. package/dist/webcomponents/p-6b791b1d.entry.js +1 -0
  580. package/dist/webcomponents/{p-a71a5e64.entry.js → p-6ea75d39.entry.js} +1 -1
  581. package/dist/webcomponents/p-6ebf8f11.entry.js +1 -0
  582. package/dist/webcomponents/p-6fdac295.entry.js +1 -0
  583. package/dist/webcomponents/p-724cf90f.entry.js +1 -0
  584. package/dist/webcomponents/p-7ecca5fe.entry.js +1 -0
  585. package/dist/webcomponents/p-7ecf9bd0.entry.js +1 -0
  586. package/dist/webcomponents/p-850dd606.entry.js +1 -0
  587. package/dist/webcomponents/p-85af9d78.entry.js +1 -0
  588. package/dist/webcomponents/p-931003fc.entry.js +1 -0
  589. package/dist/webcomponents/p-9367e7e6.entry.js +1 -0
  590. package/dist/webcomponents/p-9c114674.entry.js +1 -0
  591. package/dist/webcomponents/p-9c267692.entry.js +1 -0
  592. package/dist/webcomponents/p-B5rtFhtR.js +1 -0
  593. package/dist/webcomponents/{p-c4Mh3ZZ_.js → p-BPDMo6us.js} +1 -1
  594. package/dist/webcomponents/p-BRhnhmpB.js +1 -0
  595. package/dist/webcomponents/{p-O-hoT2Oo.js → p-BaM0JBLn.js} +1 -1
  596. package/dist/webcomponents/{p-CaxjN6Uo.js → p-BdREtifE.js} +1 -1
  597. package/dist/webcomponents/p-BgFM_jvF.js +1 -0
  598. package/dist/webcomponents/p-BqbXuOZP.js +1 -0
  599. package/dist/webcomponents/p-BwpdCtUc.js +1 -0
  600. package/dist/webcomponents/p-C6g4MbnB.js +1 -0
  601. package/dist/webcomponents/{p-1ydcg9ti.js → p-C77ElQ41.js} +1 -1
  602. package/dist/webcomponents/{p-RvUQ__Pq.js → p-CA_TyBed.js} +1 -1
  603. package/dist/webcomponents/p-CE-MNrID.js +1 -0
  604. package/dist/webcomponents/p-CMpATPXy.js +1 -0
  605. package/dist/webcomponents/{p-yH3TC3ZQ.js → p-CPpUGsw5.js} +1 -1
  606. package/dist/webcomponents/p-CQUZeo9r.js +1 -0
  607. package/dist/webcomponents/p-CSeo7WDO.js +1 -0
  608. package/dist/webcomponents/p-CTJ3moi4.js +1 -0
  609. package/dist/webcomponents/p-CVaOFfrI.js +1 -0
  610. package/dist/webcomponents/p-CYNcSTQA.js +1 -0
  611. package/dist/webcomponents/p-CevVA9qy.js +1 -0
  612. package/dist/webcomponents/p-CkiX8OGy.js +1 -0
  613. package/dist/webcomponents/{p-D--yCspA.js → p-CtWnJFtW.js} +1 -1
  614. package/dist/webcomponents/p-CycBoHSW.js +1 -0
  615. package/dist/webcomponents/p-D-RVXHwG.js +1 -0
  616. package/dist/webcomponents/{p-BIPdn2VU.js → p-D1Na2I0C.js} +1 -1
  617. package/dist/webcomponents/{p-BdLLGV9t.js → p-D2hzOOMf.js} +1 -1
  618. package/dist/webcomponents/p-D5lmImiz.js +1 -0
  619. package/dist/webcomponents/p-DMf85Fkr.js +1 -0
  620. package/dist/webcomponents/p-DNPS-Ypi.js +1 -0
  621. package/dist/webcomponents/p-DQ5V5-Jy.js +1 -0
  622. package/dist/webcomponents/{p-CLQx9p9q.js → p-DTwFW2k_.js} +1 -1
  623. package/dist/webcomponents/{p-BZ7C9duj.js → p-DWGKeoot.js} +1 -1
  624. package/dist/webcomponents/p-DapORSs4.js +1 -0
  625. package/dist/webcomponents/p-DcPNd9_D.js +1 -0
  626. package/dist/webcomponents/p-DfKxeSrC.js +1 -0
  627. package/dist/webcomponents/{p-CR9D6mKt.js → p-DiJD6Iqx.js} +1 -1
  628. package/dist/webcomponents/{p-D-JYHdJ7.js → p-Dkujm7_O.js} +1 -1
  629. package/dist/webcomponents/p-Dv1Fyrn3.js +1 -0
  630. package/dist/webcomponents/p-DxVCqvBt.js +1 -0
  631. package/dist/webcomponents/p-DzWLLt4t.js +1 -0
  632. package/dist/webcomponents/{p-CzPUMw00.js → p-JSXyHheQ.js} +1 -1
  633. package/dist/webcomponents/p-LO0pl3n2.js +1 -0
  634. package/dist/webcomponents/{p-BUa0YOaw.js → p-M5r2kSbf.js} +1 -1
  635. package/dist/webcomponents/{p-C_3N7nqh.js → p-PdQT2QcR.js} +1 -1
  636. package/dist/webcomponents/p-_b8l4IX7.js +2 -0
  637. package/dist/webcomponents/p-a2817869.entry.js +1 -0
  638. package/dist/webcomponents/p-a291a90c.entry.js +1 -0
  639. package/dist/webcomponents/p-b0bc03e6.entry.js +1 -0
  640. package/dist/webcomponents/{p-1b7926f6.entry.js → p-b17cb15d.entry.js} +1 -1
  641. package/dist/webcomponents/p-b46fe458.entry.js +1 -0
  642. package/dist/webcomponents/{p-3d37045d.entry.js → p-b59221a9.entry.js} +1 -1
  643. package/dist/webcomponents/{p-e037cdd1.entry.js → p-c1f10a84.entry.js} +1 -1
  644. package/dist/webcomponents/p-c2cb70c8.entry.js +1 -0
  645. package/dist/webcomponents/p-c540fe9d.entry.js +1 -0
  646. package/dist/webcomponents/{p-8975bf93.entry.js → p-c6093716.entry.js} +1 -1
  647. package/dist/webcomponents/p-c6e43493.entry.js +1 -0
  648. package/dist/webcomponents/{p-0801324e.entry.js → p-c7390115.entry.js} +1 -1
  649. package/dist/webcomponents/p-c780cc91.entry.js +1 -0
  650. package/dist/webcomponents/p-c9598246.entry.js +1 -0
  651. package/dist/webcomponents/p-c972a599.entry.js +1 -0
  652. package/dist/webcomponents/p-cc1d8649.entry.js +1 -0
  653. package/dist/webcomponents/p-ce4895ca.entry.js +1 -0
  654. package/dist/webcomponents/p-ce67282b.entry.js +1 -0
  655. package/dist/webcomponents/p-cef5c6e9.entry.js +1 -0
  656. package/dist/webcomponents/p-d21fa0c9.entry.js +1 -0
  657. package/dist/webcomponents/p-d236f152.entry.js +1 -0
  658. package/dist/webcomponents/p-d6ac11fc.entry.js +1 -0
  659. package/dist/webcomponents/p-e55ce6ad.entry.js +1 -0
  660. package/dist/webcomponents/p-f02bd076.entry.js +1 -0
  661. package/dist/webcomponents/{p-fUtq2xDs.js → p-fVyCeQNq.js} +1 -1
  662. package/dist/webcomponents/{p-DyOgQlh2.js → p-g2ubqhtv.js} +1 -1
  663. package/dist/webcomponents/{p-DsAwPf2y.js → p-hj8k0lRi.js} +1 -1
  664. package/dist/webcomponents/p-lPeK9y_X.js +1 -0
  665. package/dist/webcomponents/p-qUCDGWNE.js +1 -0
  666. package/dist/webcomponents/p-sCHf--Vc.js +1 -0
  667. package/dist/webcomponents/{p-BHf9IqGw.js → p-xWrhxNNk.js} +1 -1
  668. package/dist/webcomponents/webcomponents.esm.js +1 -1
  669. package/package.json +1 -1
  670. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +0 -112
  671. package/dist/cjs/business-identity-schema-CclzWSOn.js +0 -51
  672. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +0 -107
  673. package/dist/cjs/helpers-B5OCqlIM.js +0 -35
  674. package/dist/cjs/state-options-CIT9xdTz.js +0 -246
  675. package/dist/cjs/terminals-list-params-state-C4c8UZtP.js +0 -22
  676. package/dist/collection/components/modular-checkout/sub-components/plaid-payment-method.test.js +0 -125
  677. package/dist/esm/bank-account-document-form-inputs_4.entry.js +0 -107
  678. package/dist/esm/business-identity-schema-D8n5dyLX.js +0 -48
  679. package/dist/esm/form-control-number-masked_2.entry.js +0 -104
  680. package/dist/esm/helpers-Mu7LQT-w.js +0 -29
  681. package/dist/esm/state-options-BX8GieXu.js +0 -244
  682. package/dist/esm/terminals-list-params-state-C2_GlMKR.js +0 -16
  683. package/dist/module/helpers.js +0 -29
  684. package/dist/module/state-options.js +0 -244
  685. package/dist/types/components/modular-checkout/sub-components/plaid-payment-method.test.d.ts +0 -1
  686. package/dist/webcomponents/p-10278c48.entry.js +0 -1
  687. package/dist/webcomponents/p-108209c5.entry.js +0 -1
  688. package/dist/webcomponents/p-176aa079.entry.js +0 -1
  689. package/dist/webcomponents/p-18353682.entry.js +0 -1
  690. package/dist/webcomponents/p-19ccbeee.entry.js +0 -1
  691. package/dist/webcomponents/p-1b3b6956.entry.js +0 -1
  692. package/dist/webcomponents/p-1bc8da98.entry.js +0 -1
  693. package/dist/webcomponents/p-1c433962.entry.js +0 -1
  694. package/dist/webcomponents/p-1df96001.entry.js +0 -1
  695. package/dist/webcomponents/p-1e080811.entry.js +0 -1
  696. package/dist/webcomponents/p-1e87c8ed.entry.js +0 -1
  697. package/dist/webcomponents/p-1efc0d88.entry.js +0 -1
  698. package/dist/webcomponents/p-1f971a0f.entry.js +0 -1
  699. package/dist/webcomponents/p-2246aa69.entry.js +0 -1
  700. package/dist/webcomponents/p-246ef4ff.entry.js +0 -1
  701. package/dist/webcomponents/p-2687e615.entry.js +0 -1
  702. package/dist/webcomponents/p-30147031.entry.js +0 -1
  703. package/dist/webcomponents/p-3546a5aa.entry.js +0 -1
  704. package/dist/webcomponents/p-3621a429.entry.js +0 -1
  705. package/dist/webcomponents/p-406ba650.entry.js +0 -1
  706. package/dist/webcomponents/p-44d1341c.entry.js +0 -1
  707. package/dist/webcomponents/p-4d5c71c4.entry.js +0 -1
  708. package/dist/webcomponents/p-4ea83bfd.entry.js +0 -1
  709. package/dist/webcomponents/p-558f7967.entry.js +0 -1
  710. package/dist/webcomponents/p-5c477f08.entry.js +0 -1
  711. package/dist/webcomponents/p-613cf570.entry.js +0 -1
  712. package/dist/webcomponents/p-68329f16.entry.js +0 -1
  713. package/dist/webcomponents/p-6fe79f16.entry.js +0 -1
  714. package/dist/webcomponents/p-7131211a.entry.js +0 -1
  715. package/dist/webcomponents/p-7aeb20d2.entry.js +0 -1
  716. package/dist/webcomponents/p-80b1c65b.entry.js +0 -1
  717. package/dist/webcomponents/p-84043580.entry.js +0 -1
  718. package/dist/webcomponents/p-906fdf0c.entry.js +0 -1
  719. package/dist/webcomponents/p-90e43440.entry.js +0 -1
  720. package/dist/webcomponents/p-914e168d.entry.js +0 -1
  721. package/dist/webcomponents/p-91c1e2ac.entry.js +0 -1
  722. package/dist/webcomponents/p-95348ff6.entry.js +0 -1
  723. package/dist/webcomponents/p-9f04cac4.entry.js +0 -1
  724. package/dist/webcomponents/p-B-iV5cYd.js +0 -1
  725. package/dist/webcomponents/p-B4idKqyn.js +0 -1
  726. package/dist/webcomponents/p-BBO3I4s6.js +0 -1
  727. package/dist/webcomponents/p-BX8GieXu.js +0 -1
  728. package/dist/webcomponents/p-BY2p6Sxk.js +0 -1
  729. package/dist/webcomponents/p-BguBT6Hn.js +0 -1
  730. package/dist/webcomponents/p-BlJnA265.js +0 -1
  731. package/dist/webcomponents/p-Bp_QFeog.js +0 -1
  732. package/dist/webcomponents/p-Bvp7uul3.js +0 -1
  733. package/dist/webcomponents/p-C1xGBPma.js +0 -1
  734. package/dist/webcomponents/p-C3n7-tlg.js +0 -1
  735. package/dist/webcomponents/p-CPVN4dXS.js +0 -1
  736. package/dist/webcomponents/p-CQeex56P.js +0 -1
  737. package/dist/webcomponents/p-CU4XQ3fO.js +0 -1
  738. package/dist/webcomponents/p-CYBR4K2p.js +0 -1
  739. package/dist/webcomponents/p-CpKvg1ok.js +0 -1
  740. package/dist/webcomponents/p-CrQgyTRz.js +0 -1
  741. package/dist/webcomponents/p-CxzFvTgf.js +0 -1
  742. package/dist/webcomponents/p-D6XirF21.js +0 -1
  743. package/dist/webcomponents/p-DCMrHeJI.js +0 -1
  744. package/dist/webcomponents/p-DH8F0bsw.js +0 -1
  745. package/dist/webcomponents/p-DSP8qjHL.js +0 -1
  746. package/dist/webcomponents/p-DbX0g1WF.js +0 -1
  747. package/dist/webcomponents/p-De8UloOS.js +0 -1
  748. package/dist/webcomponents/p-Dt-vy9Le.js +0 -1
  749. package/dist/webcomponents/p-DvZcI6pC.js +0 -1
  750. package/dist/webcomponents/p-DyDHaG6n.js +0 -1
  751. package/dist/webcomponents/p-IG_KR8zP.js +0 -1
  752. package/dist/webcomponents/p-PgEzcvI6.js +0 -1
  753. package/dist/webcomponents/p-Xv8DuU3Y.js +0 -1
  754. package/dist/webcomponents/p-a0a0e200.entry.js +0 -1
  755. package/dist/webcomponents/p-a57c1400.entry.js +0 -1
  756. package/dist/webcomponents/p-a90b8b93.entry.js +0 -1
  757. package/dist/webcomponents/p-acb0f3ae.entry.js +0 -1
  758. package/dist/webcomponents/p-b0a36936.entry.js +0 -1
  759. package/dist/webcomponents/p-ba5b1c54.entry.js +0 -1
  760. package/dist/webcomponents/p-c16c0cbc.entry.js +0 -1
  761. package/dist/webcomponents/p-c9fef3e4.entry.js +0 -1
  762. package/dist/webcomponents/p-df7f36aa.entry.js +0 -1
  763. package/dist/webcomponents/p-e035a92e.entry.js +0 -1
  764. package/dist/webcomponents/p-e2a38ad0.entry.js +0 -1
  765. package/dist/webcomponents/p-e628a0c8.entry.js +0 -1
  766. package/dist/webcomponents/p-e6516014.entry.js +0 -1
  767. package/dist/webcomponents/p-e6e96be2.entry.js +0 -1
  768. package/dist/webcomponents/p-e79338f9.entry.js +0 -1
  769. package/dist/webcomponents/p-e97dee15.entry.js +0 -1
  770. package/dist/webcomponents/p-eafd179b.entry.js +0 -1
  771. package/dist/webcomponents/p-f5c3f489.entry.js +0 -1
  772. package/dist/webcomponents/p-f739a98d.entry.js +0 -1
  773. package/dist/webcomponents/p-f8c22c77.entry.js +0 -1
  774. package/dist/webcomponents/p-fa14b671.entry.js +0 -1
  775. package/dist/webcomponents/p-ffe01f1b.entry.js +0 -1
  776. package/dist/webcomponents/p-oGKW57R8.js +0 -1
  777. package/dist/webcomponents/p-qipqIMyC.js +0 -2
  778. package/dist/webcomponents/p-xY5RkFuA.js +0 -1
@@ -1,5 +1,5 @@
1
- import { w as waitForConfig, c as configState } from './config-state-Blo0ywwc.js';
2
- import { g as generateId } from './utils-BscIVFn8.js';
1
+ import { w as waitForConfig, c as configState } from './config-state-C83RkI9h.js';
2
+ import { g as generateId } from './utils-DeZftIgK.js';
3
3
 
4
4
  const Api = () => {
5
5
  async function getAuthorizationHeader(authToken) {
@@ -1,4 +1,271 @@
1
- import { f as filterNumber, a as constructDate, g as getStateAbbreviation } from './helpers-Mu7LQT-w.js';
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 || 'USA';
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, Business as B, CoreBusinessInfo as C, Owner as O, Representative as R, BusinessClassification as a, BusinessFormServerErrors as b, Address as c };
519
+ export { AdditionalQuestions as A, Business as B, CountryCode as C, Owner as O, Representative as R, StateOptions as S, BusinessClassification as a, BusinessFormServerErrors as b, checkProvisioningStatus as c, deconstructDate as d, CoreBusinessInfo as e, Address as f };
@@ -1,4 +1,4 @@
1
- import { f as formatCurrency } from './utils-BscIVFn8.js';
1
+ import { f as formatCurrency } from './utils-DeZftIgK.js';
2
2
  import { a as DisputeStatus } from './Dispute-BH0Xfn-F.js';
3
3
 
4
4
  class Completion {
@@ -1,7 +1,7 @@
1
- import { r as registerInstance, h, H as Host } from './index-qipqIMyC.js';
2
- import { c as DetailItem, D as DetailSectionTitle } from './utils-_ckvHjSW.js';
3
- import { m as isEmptyObject, s as snakeCaseToHumanReadable, n as formatMediumDate } from './utils-BscIVFn8.js';
4
- import './parts-RvUQ__Pq.js';
1
+ import { r as registerInstance, h, H as Host } from './index-_b8l4IX7.js';
2
+ import { c as DetailItem, D as DetailSectionTitle } from './utils-fntGABrK.js';
3
+ import { l as isEmptyObject, s as snakeCaseToHumanReadable, m as formatMediumDate } from './utils-DeZftIgK.js';
4
+ import './parts-CA_TyBed.js';
5
5
  import './dinero-HXpYMWUU.js';
6
6
 
7
7
  const AdditionalQuestionsDetails = class {
@@ -1,5 +1,5 @@
1
- import { h } from './index-qipqIMyC.js';
2
- import { D as badgeDark, E as badgeLight, F as badgeInfo, G as badgeWarning, H as badgeDanger, I as badgeSuccess, J as badgeSecondary, K as badgePrimary, L as badge } from './parts-RvUQ__Pq.js';
1
+ import { h } from './index-_b8l4IX7.js';
2
+ import { D as badgeDark, E as badgeLight, F as badgeInfo, G as badgeWarning, H as badgeDanger, I as badgeSuccess, J as badgeSecondary, K as badgePrimary, L as badge } from './parts-CA_TyBed.js';
3
3
 
4
4
  var BadgeVariant;
5
5
  (function (BadgeVariant) {
@@ -0,0 +1,125 @@
1
+ import { r as registerInstance, h, H as Host, c as createEvent, g as getElement } from './index-_b8l4IX7.js';
2
+ import './config-state-C83RkI9h.js';
3
+ import './dinero-HXpYMWUU.js';
4
+ import './ComponentError-Cjcsf8ku.js';
5
+ import { E as EntityDocumentType } from './Refund-BeI1WGfx.js';
6
+ import './Pagination-CLHwhyvu.js';
7
+ import './Business-B5rtFhtR.js';
8
+ import './Dispute-BH0Xfn-F.js';
9
+ import { a as bankAccountTypeOptions } from './business-form-options-D6s5H4RI.js';
10
+ import './event-types-XYgDHrVL.js';
11
+ import { n as numberOnlyHandler } from './utils-BnjCmwMr.js';
12
+ import { z as text, Y as card, C as heading2, an as table, N as tableHeadCell, aw as tableCell, c as input, l as label, b as inputInvalid, T as inputDisabled, a as inputFocused } from './parts-CA_TyBed.js';
13
+ import { s as snakeCaseToHumanReadable, e as formatDate, n as formatTimeSeconds } from './utils-DeZftIgK.js';
14
+ import { S as Skeleton } from './skeleton-C161KeYG.js';
15
+ import './event-types-CZfYo5-1.js';
16
+ import { F as FormControlErrorText } from './form-control-error-text-CjrxZorl.js';
17
+ import './index-NOsb-hYl.js';
18
+
19
+ const BankAccountDocumentFormInputs = class {
20
+ constructor(hostRef) {
21
+ registerInstance(this, hostRef);
22
+ }
23
+ render() {
24
+ 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 }))));
25
+ }
26
+ };
27
+
28
+ const BankAccountFormInputs = class {
29
+ constructor(hostRef) {
30
+ registerInstance(this, hostRef);
31
+ }
32
+ render() {
33
+ var _a, _b, _c, _d, _e, _f;
34
+ 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." })))));
35
+ }
36
+ };
37
+
38
+ const BankAccountFormInputsCanada = class {
39
+ constructor(hostRef) {
40
+ registerInstance(this, hostRef);
41
+ }
42
+ render() {
43
+ var _a, _b, _c, _d, _e, _f, _g;
44
+ 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." })))));
45
+ }
46
+ };
47
+
48
+ const BankAccountReadOnlyValue = class {
49
+ constructor(hostRef) {
50
+ registerInstance(this, hostRef);
51
+ }
52
+ render() {
53
+ return (h("div", { key: '0d44d4aa265a5fd36ca30f1db072eb834f8bdf1b' }, h("label", { key: '892e6dbdbff5d484df4dfb522f3db8968f46d7d4', class: "form-label", part: text }, this.label), h("div", { key: 'cd617e2302834ad67ebccd64e24d535b2cc19da8', part: text }, this.value || '')));
54
+ }
55
+ };
56
+
57
+ const BusinessDocumentsOnFile = class {
58
+ constructor(hostRef) {
59
+ registerInstance(this, hostRef);
60
+ this.documents = [];
61
+ this.isLoading = false;
62
+ }
63
+ render() {
64
+ if (this.isLoading) {
65
+ return h(Skeleton, { height: "50px" });
66
+ }
67
+ if (!this.documents.length) {
68
+ return null;
69
+ }
70
+ 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))
71
+ .map((document, index) => {
72
+ 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)}`)));
73
+ })))))), h("hr", null)));
74
+ }
75
+ };
76
+
77
+ const FileInput = class {
78
+ constructor(hostRef) {
79
+ registerInstance(this, hostRef);
80
+ this.formControlInput = createEvent(this, "formControlInput");
81
+ this.formControlBlur = createEvent(this, "formControlBlur");
82
+ this.fileSelected = createEvent(this, "fileSelected");
83
+ this.isFocused = false;
84
+ this.handleFormControlInput = (event) => {
85
+ const target = event.target;
86
+ const name = target.getAttribute('name');
87
+ this.inputHandler(name, target.value);
88
+ this.formControlInput.emit({ name, value: target.value });
89
+ };
90
+ this.changeHandler = () => {
91
+ const inputFileList = this.fileInput.files;
92
+ if (inputFileList) {
93
+ this.fileSelected.emit({
94
+ fileList: inputFileList,
95
+ document_type: this.documentType
96
+ });
97
+ }
98
+ };
99
+ }
100
+ componentDidLoad() {
101
+ this.fileInput = this.el.querySelector('input');
102
+ }
103
+ get part() {
104
+ let part = input;
105
+ if (this.errorText) {
106
+ part = inputInvalid;
107
+ }
108
+ if (this.disabled) {
109
+ part = inputDisabled;
110
+ }
111
+ if (this.isFocused) {
112
+ part = inputFocused;
113
+ }
114
+ return part;
115
+ }
116
+ render() {
117
+ return (h(Host, { key: 'c1d92b4464500d430ad828ce374b864f0abf79dc' }, h("div", { key: '7753e5875afe4c6da178a088721b62590e104039', class: "form-group d-flex flex-column" }, h("div", { key: '35732250f1da24e5d8af9d6c984360402aa8c749', class: "d-flex align-items-start gap-2" }, h("label", { key: '1dbdb4c74c82415714295d882a48ea3634265cae', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '132b4e5b01986aba2f1999db2f19373477b0af9d', helpText: this.helpText })), h("input", { key: '4c371be7c4d784fb7ba3dc3244aaab5ef7dea763', 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: () => {
118
+ this.isFocused = false;
119
+ this.formControlBlur.emit();
120
+ } }), h(FormControlErrorText, { key: 'f9c2a057b20ccf863331c90156a5a9df65bb85a6', errorText: this.errorText, name: this.name }))));
121
+ }
122
+ get el() { return getElement(this); }
123
+ };
124
+
125
+ export { BankAccountDocumentFormInputs as bank_account_document_form_inputs, BankAccountFormInputs as bank_account_form_inputs, BankAccountFormInputsCanada as bank_account_form_inputs_canada, BankAccountReadOnlyValue as bank_account_read_only_value, BusinessDocumentsOnFile as business_documents_on_file, FileInput as form_control_file };
@@ -1,9 +1,9 @@
1
- import { h, r as registerInstance, H as Host } from './index-qipqIMyC.js';
2
- import { S as Skeleton } from './skeleton-DtpkgjZ6.js';
3
- import { w as waitForConfig, c as configState } from './config-state-Blo0ywwc.js';
4
- import { b as generateTabId } from './utils-BscIVFn8.js';
5
- import './parts-RvUQ__Pq.js';
6
- import './index-ZfXl6Xrm.js';
1
+ import { h, r as registerInstance, H as Host } from './index-_b8l4IX7.js';
2
+ import { S as Skeleton } from './skeleton-C161KeYG.js';
3
+ import { w as waitForConfig, c as configState } from './config-state-C83RkI9h.js';
4
+ import { b as generateTabId } from './utils-DeZftIgK.js';
5
+ import './parts-CA_TyBed.js';
6
+ import './index-NOsb-hYl.js';
7
7
  import './dinero-HXpYMWUU.js';
8
8
 
9
9
  const BankAccountFormSkeleton = (props) => {
@@ -46,10 +46,10 @@ const BankAccountForm = class {
46
46
  return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
47
47
  }
48
48
  render() {
49
- return (h(Host, { key: '10c2cf450e59fd8ac8b020e2e2b77cfc8821b215' }, h(BankAccountFormSkeleton, { key: '6fbcdf90c6da356b44813e7245054bad69fac4ca', isReady: this.isReady }), h("div", { key: 'c1df41c8bd3b3986191b0abad815667e1b88a135', class: "container-fluid p-0", style: {
49
+ return (h(Host, { key: '3176dc188869e5b233095a9cbbf0309b92445ee1' }, h(BankAccountFormSkeleton, { key: '192ba2270459bf2da49473095f5b7038b220e9c3', isReady: this.isReady }), h("div", { key: '9304caeb4d54ba9f33850849352ab344cdbce2c4', class: "container-fluid p-0", style: {
50
50
  opacity: this.isReady ? '1' : '0',
51
51
  height: this.isReady ? 'auto' : '0',
52
- } }, h("div", { key: 'e4643bc24f565a43a00f09cc93ba1d1fe7063435', class: "row mb-3" }, h("iframe-input", { key: '82850d403c7a137392acd3425c0f1daa3b6e97c9', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber?tabId=${this.tabId}` })), h("div", { key: '23854468a9e34f4f940b0988f3debc5f035d9102', class: "row" }, h("iframe-input", { key: '595739da0710dae542e4fa9b6286e957f599c502', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber?tabId=${this.tabId}` })))));
52
+ } }, h("div", { key: 'fa7880671ebd1972ff7224c6b70b4fee7e626fe2', class: "row mb-3" }, h("iframe-input", { key: 'd59e0c2ebb8dd89f60ef33a6c4b26b2e09cd09af', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber?tabId=${this.tabId}` })), h("div", { key: '78cf00f1340bff12dfd40e62a1f5307adb49567d', class: "row" }, h("iframe-input", { key: 'f6098a33489f1fbfdb2c52644d77218c53f9e243', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber?tabId=${this.tabId}` })))));
53
53
  }
54
54
  };
55
55
 
@@ -1,7 +1,10 @@
1
- import { c as create$3 } from './index.esm-cYgKOXtz.js';
2
- import { d as dateOfIncorporationValidation, t as taxIdValidation, i as industryValidation, b as businessClassificationValidation, a as doingBusinessAsValidation, p as phoneValidation, e as emailValidation, w as websiteUrlValidation, c as businessNameValidation, o as otherPaymentDetailsValidation, s as seasonalBusinessValidation, r as recurringPaymentsPercentageValidation, f as recurringPaymentsValidation, g as whenServiceReceivedValidation, h as paymentVolumeValidation, j as revenueValidation } from './schema-validations-DcR1ujuX.js';
1
+ import { c as create$3, a as create$6 } from './index.esm-IWS0494Y.js';
2
+ import { m as makeTaxIdValidation, d as dateOfIncorporationValidation, i as industryValidation, b as businessClassificationValidation, a as doingBusinessAsValidation, p as phoneValidation, e as emailValidation, w as websiteUrlValidation, c as businessNameValidation, t as taxIdValidation, o as otherPaymentDetailsValidation, s as seasonalBusinessValidation, r as recurringPaymentsPercentageValidation, f as recurringPaymentsValidation, g as whenServiceReceivedValidation, h as paymentVolumeValidation, j as revenueValidation } from './schema-validations-BFoU1cR8.js';
3
+ import { C as CountryCode } from './Business-B5rtFhtR.js';
4
+ import { c as countryLabels } from './country-config-BQ4D46Lb.js';
3
5
 
4
- const businessCoreInfoSchema = (allowOptionalFields) => {
6
+ // Base schema (no country-specific rules for classification/tax id)
7
+ const baseBusinessCoreInfoSchema = (allowOptionalFields) => {
5
8
  const schema = create$3({
6
9
  legal_name: businessNameValidation.required('Enter legal name'),
7
10
  website_url: websiteUrlValidation.required('Enter business website url'),
@@ -10,7 +13,6 @@ const businessCoreInfoSchema = (allowOptionalFields) => {
10
13
  doing_business_as: doingBusinessAsValidation.nullable(),
11
14
  classification: businessClassificationValidation.required('Select business classification'),
12
15
  industry: industryValidation.required('Enter a business industry'),
13
- tax_id: taxIdValidation.required('Enter valid tax ID (SSN or EIN) without dashes'),
14
16
  date_of_incorporation: dateOfIncorporationValidation.required('Enter date of incorporation'),
15
17
  });
16
18
  const easySchema = create$3({
@@ -26,6 +28,25 @@ const businessCoreInfoSchema = (allowOptionalFields) => {
26
28
  });
27
29
  return allowOptionalFields ? easySchema : schema;
28
30
  };
31
+ // Country-specific schema convenience wrappers
32
+ const businessCoreInfoSchemaUSA = (allowOptionalFields) => baseBusinessCoreInfoSchema(allowOptionalFields).concat(create$3({
33
+ classification: create$6().required('Select business classification'),
34
+ tax_id: makeTaxIdValidation(CountryCode.USA)
35
+ .when('tax_id_last4', {
36
+ is: (val) => !val,
37
+ then: (schema) => schema.required(`Enter valid ${countryLabels.USA.taxIdLabel} without dashes`),
38
+ otherwise: (schema) => schema.nullable(),
39
+ }),
40
+ }));
41
+ const businessCoreInfoSchemaCAN = (allowOptionalFields) => baseBusinessCoreInfoSchema(allowOptionalFields).concat(create$3({
42
+ classification: create$6().required('Select business classification'),
43
+ tax_id: makeTaxIdValidation(CountryCode.CAN)
44
+ .when('tax_id_last4', {
45
+ is: (val) => !val,
46
+ then: (schema) => schema.required(`Enter valid ${countryLabels.CAN.taxIdLabel} without dashes`),
47
+ otherwise: (schema) => schema.nullable(),
48
+ }),
49
+ }));
29
50
 
30
51
  const additionalQuestionsSchema = (allowOptionalFields) => {
31
52
  const schema = create$3({
@@ -49,4 +70,4 @@ const additionalQuestionsSchema = (allowOptionalFields) => {
49
70
  return allowOptionalFields ? easySchema : schema;
50
71
  };
51
72
 
52
- export { additionalQuestionsSchema as a, businessCoreInfoSchema as b };
73
+ export { additionalQuestionsSchema as a, businessCoreInfoSchemaUSA as b, businessCoreInfoSchemaCAN as c };
@@ -1,9 +1,9 @@
1
- import { h, F as Fragment, r as registerInstance, c as createEvent } from './index-qipqIMyC.js';
2
- import { E as ErrorState } from './utils-_ckvHjSW.js';
3
- import { S as StyledHost } from './styled-host-CbizlfAU.js';
1
+ import { h, F as Fragment, r as registerInstance, c as createEvent } from './index-_b8l4IX7.js';
2
+ import { E as ErrorState } from './utils-fntGABrK.js';
3
+ import { S as StyledHost } from './styled-host-hSGxxyFZ.js';
4
4
  import './event-types-CZfYo5-1.js';
5
- import { S as Skeleton } from './skeleton-DtpkgjZ6.js';
6
- import './parts-RvUQ__Pq.js';
5
+ import { S as Skeleton } from './skeleton-C161KeYG.js';
6
+ import './parts-CA_TyBed.js';
7
7
 
8
8
  const BusinessDetailsLoading = () => {
9
9
  const Block = () => (h("div", { class: "mt-5" }, h(Skeleton, { width: "40%", height: "1.5rem" }), h("hr", null), h("div", { class: "row g-3" }, h("div", { class: "col-12 col-md-6" }, h(Skeleton, null), h(Skeleton, null), h(Skeleton, null)), h("div", { class: "col-12 col-md-6" }, h(Skeleton, null), h(Skeleton, null), h(Skeleton, null)))));
@@ -1,4 +1,4 @@
1
- import { a as BusinessClassification } from './Business-BCoP0TAV.js';
1
+ import { a as BusinessClassification } from './Business-B5rtFhtR.js';
2
2
 
3
3
  const businessClassificationOptions = [
4
4
  {
@@ -87,4 +87,4 @@ const bankAccountTypeOptions = [
87
87
  }
88
88
  ];
89
89
 
90
- export { businessServiceReceivedOptions as a, businessClassificationOptions as b, bankAccountTypeOptions as c, recurringPaymentsOptions as r, seasonalBusinessOptions as s };
90
+ export { bankAccountTypeOptions as a, businessServiceReceivedOptions as b, businessClassificationOptions as c, recurringPaymentsOptions as r, seasonalBusinessOptions as s };