@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
@@ -0,0 +1,94 @@
1
+ import { c as create$3, a as create$6 } from './index.esm-IWS0494Y.js';
2
+ import { k as cityValidation, l as lineTwoValidation, n as lineOneValidation, q as postalValidation, u as makePostalValidation, v as ssnValidation, x as dobValidation, p as phoneValidation, e as emailValidation, y as identityTitleValidation, z as identityNameValidation, A as makeIdentityNumberValidation } from './schema-validations-BFoU1cR8.js';
3
+ import { C as CountryCode } from './Business-B5rtFhtR.js';
4
+
5
+ // Internal USA schemas
6
+ const schemaUSA$1 = () => create$3({
7
+ line1: lineOneValidation.nullable(),
8
+ line2: lineTwoValidation.nullable(),
9
+ city: cityValidation.nullable(),
10
+ state: create$6().nullable(),
11
+ postal_code: create$6().nullable(),
12
+ });
13
+ const strictSchemaUSA$1 = () => create$3({
14
+ line1: lineOneValidation.required('Enter street address'),
15
+ line2: lineTwoValidation.nullable(),
16
+ city: cityValidation.required('Enter city'),
17
+ state: create$6().required('Select state'),
18
+ postal_code: postalValidation.required('Enter postal code'),
19
+ });
20
+ // Internal CAN schemas
21
+ const schemaCAN$1 = () => create$3({
22
+ line1: lineOneValidation.nullable(),
23
+ line2: lineTwoValidation.nullable(),
24
+ city: cityValidation.nullable(),
25
+ state: create$6().nullable(),
26
+ postal_code: create$6().nullable(),
27
+ });
28
+ const strictSchemaCAN$1 = () => create$3({
29
+ line1: lineOneValidation.required('Enter street address'),
30
+ line2: lineTwoValidation.nullable(),
31
+ city: cityValidation.required('Enter city'),
32
+ state: create$6().required('Select province'),
33
+ postal_code: makePostalValidation(CountryCode.CAN).required('Enter postal code'),
34
+ });
35
+ // Public API
36
+ const addressSchemaUSA = (allowOptionalFields) => allowOptionalFields ? schemaUSA$1() : strictSchemaUSA$1();
37
+ const addressSchemaCAN = (allowOptionalFields) => allowOptionalFields ? schemaCAN$1() : strictSchemaCAN$1();
38
+ // Country-keyed mapping
39
+ const addressSchemaByCountry = {
40
+ [CountryCode.USA]: addressSchemaUSA,
41
+ [CountryCode.CAN]: addressSchemaCAN,
42
+ };
43
+
44
+ // Internal USA schemas
45
+ const schemaUSA = (role) => create$3({
46
+ name: identityNameValidation.required(`Enter ${role} name`),
47
+ title: identityTitleValidation.nullable(),
48
+ email: emailValidation.nullable(),
49
+ phone: phoneValidation.nullable(),
50
+ dob_full: dobValidation(role).nullable(),
51
+ ssn_last4: create$6().nullable(),
52
+ identification_number: ssnValidation.nullable(),
53
+ address: addressSchemaUSA(true),
54
+ });
55
+ const strictSchemaUSA = (role) => create$3({
56
+ name: identityNameValidation.required(`Enter ${role} name`),
57
+ title: identityTitleValidation.required(`Enter ${role} title`),
58
+ email: emailValidation.required(`Enter ${role} email`),
59
+ phone: phoneValidation.required('Enter phone number'),
60
+ dob_full: dobValidation(role).required('Enter date of birth'),
61
+ ssn_last4: create$6().nullable(),
62
+ // ssn required unless last4 provided (handled inside ssnValidation)
63
+ identification_number: ssnValidation,
64
+ address: addressSchemaUSA(false),
65
+ });
66
+ // Internal CAN schemas
67
+ const schemaCAN = (role) => create$3({
68
+ name: identityNameValidation.required(`Enter ${role} name`),
69
+ title: identityTitleValidation.nullable(),
70
+ email: emailValidation.nullable(),
71
+ phone: phoneValidation.nullable(),
72
+ dob_full: dobValidation(role).nullable(),
73
+ identification_number: makeIdentityNumberValidation(CountryCode.CAN).nullable(),
74
+ address: addressSchemaCAN(true),
75
+ });
76
+ const strictSchemaCAN = (role) => create$3({
77
+ name: identityNameValidation.required(`Enter ${role} name`),
78
+ title: identityTitleValidation.required(`Enter ${role} title`),
79
+ email: emailValidation.required(`Enter ${role} email`),
80
+ phone: phoneValidation.required('Enter phone number'),
81
+ dob_full: dobValidation(role).required('Enter date of birth'),
82
+ identification_number: makeIdentityNumberValidation(CountryCode.CAN)
83
+ .required('Enter identification number'),
84
+ address: addressSchemaCAN(false),
85
+ });
86
+ const identitySchemaUSA = (role, allowOptionalFields) => allowOptionalFields ? schemaUSA(role) : strictSchemaUSA(role);
87
+ const identitySchemaCAN = (role, allowOptionalFields) => allowOptionalFields ? schemaCAN(role) : strictSchemaCAN(role);
88
+ // Country-keyed mapping
89
+ const identitySchemaByCountry = {
90
+ [CountryCode.USA]: identitySchemaUSA,
91
+ [CountryCode.CAN]: identitySchemaCAN,
92
+ };
93
+
94
+ export { addressSchemaUSA as a, identitySchemaCAN as b, addressSchemaCAN as c, identitySchemaByCountry as d, addressSchemaByCountry as e, identitySchemaUSA as i };
@@ -1,8 +1,8 @@
1
- import { A as Api } from './Api-D4tj-h4P.js';
1
+ import { A as Api } from './Api-DLf3ihCB.js';
2
2
  import './ComponentError-Cjcsf8ku.js';
3
- import './Refund-Bc5By0lb.js';
3
+ import './Refund-BeI1WGfx.js';
4
4
  import './Pagination-CLHwhyvu.js';
5
- import './Business-BCoP0TAV.js';
5
+ import './Business-B5rtFhtR.js';
6
6
  import './Dispute-BH0Xfn-F.js';
7
7
 
8
8
  const api = Api();
@@ -1,5 +1,5 @@
1
- import { h } from './index-qipqIMyC.js';
2
- import { ad as buttonSecondary, ae as buttonPrimary, af as buttonLoading } from './parts-RvUQ__Pq.js';
1
+ import { h } from './index-_b8l4IX7.js';
2
+ import { Z as buttonSecondary, ae as buttonPrimary, af as buttonLoading } from './parts-CA_TyBed.js';
3
3
 
4
4
  const ButtonSpinner = () => (h("div", { class: "spinner-border spinner-border-sm", role: "status", part: "button-spinner" }, h("span", { class: "visually-hidden" }, "Loading...")));
5
5
 
@@ -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 CardFormSkeleton = (props) => {
@@ -50,10 +50,10 @@ const CardForm = class {
50
50
  return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
51
51
  }
52
52
  render() {
53
- return (h(Host, { key: '4918918c10e558587e1d356cee9ec8540ed88e1c' }, h(CardFormSkeleton, { key: 'e61d11784aa1a9ea84fe9f0544a84f587cdf6fa4', isReady: this.isReady }), h("div", { key: 'd0640890482bcb679c0d49e569ed34912aa37426', class: "container-fluid p-0", style: {
53
+ return (h(Host, { key: 'a2e24bea5b9452109cc2e8bace48715d4891a8fd' }, h(CardFormSkeleton, { key: '72eaccbcbc44276f717796a6d43a7237ea9aa53c', isReady: this.isReady }), h("div", { key: 'ecaf4c87c39ef1613962a2ede31401f1ebc83510', class: "container-fluid p-0", style: {
54
54
  opacity: this.isReady ? '1' : '0',
55
55
  height: this.isReady ? 'auto' : '0',
56
- } }, h("div", { key: 'ef3548ee5dcf517f5c31b3aa40fc5ed5f8e37f59', class: "mb-3" }, h("iframe-input", { key: '4fa52574bfe8334f3294e45b2e63bf109750f925', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber?tabId=${this.tabId}` })), h("div", { key: '5ad5bfe88c1531a74a636e2e07572b8401095ecf', class: "d-flex align-items-start" }, h("div", { key: '29d9d3e3c0080243ea44ca7515c690b90bd0d944', class: "flex-fill me-3" }, h("iframe-input", { key: '01ebb2a6101d33b08135ac879fce192f57ea822e', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Exp. Month", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth?tabId=${this.tabId}` })), h("div", { key: '769c4e873c4062ec90fae3a7b0606e8db49754c0', class: "flex-fill me-3" }, h("iframe-input", { key: 'a36c705e6f8231f01615ee8a878aa5427a11bcce', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "Exp. Year", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear?tabId=${this.tabId}` })), h("div", { key: '2923118dc4ec2f107aad34e0f77ea3d58340a734', class: "flex-fill" }, h("iframe-input", { key: 'ec3226c1eca1705672e8ea7f80be47ca6f81838b', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV?tabId=${this.tabId}` }))))));
56
+ } }, h("div", { key: 'f2d7aa181c3fab31a660fb61cd05086a801f2ae3', class: "mb-3" }, h("iframe-input", { key: '146fd7622be45cd3d672449021bb2e5cae863c14', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber?tabId=${this.tabId}` })), h("div", { key: 'cbbf5b2e280fa0974c1416c3291ad69be778dad0', class: "d-flex align-items-start" }, h("div", { key: 'b624938df43a99cc8bdfee12ad375c2f794eb716', class: "flex-fill me-3" }, h("iframe-input", { key: '73324463e7f4e383db349d500104ea566b1302c5', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Exp. Month", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth?tabId=${this.tabId}` })), h("div", { key: '00a3e4c7cf98b02c8dc915e4d62efde12caea4b4', class: "flex-fill me-3" }, h("iframe-input", { key: 'd6546cabba6d82560e51e8a0d66b0078eaeded74', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "Exp. Year", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear?tabId=${this.tabId}` })), h("div", { key: '1489393a907289649b9e20597012dc57d865dc59', class: "flex-fill" }, h("iframe-input", { key: 'd5ecc403c460aa9c3757c48970b4e83edb805796', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV?tabId=${this.tabId}` }))))));
57
57
  }
58
58
  };
59
59
 
@@ -1,9 +1,9 @@
1
- import { p as packageJson } from './package-BBO3I4s6.js';
2
- import { A as Api } from './Api-D4tj-h4P.js';
1
+ import { p as packageJson } from './package-BRhnhmpB.js';
2
+ import { A as Api } from './Api-DLf3ihCB.js';
3
3
  import './ComponentError-Cjcsf8ku.js';
4
- import './Refund-Bc5By0lb.js';
4
+ import './Refund-BeI1WGfx.js';
5
5
  import './Pagination-CLHwhyvu.js';
6
- import './Business-BCoP0TAV.js';
6
+ import './Business-B5rtFhtR.js';
7
7
  import './Dispute-BH0Xfn-F.js';
8
8
 
9
9
  const api = Api();
@@ -1,8 +1,8 @@
1
- import { A as Api } from './Api-D4tj-h4P.js';
1
+ import { A as Api } from './Api-DLf3ihCB.js';
2
2
  import './ComponentError-Cjcsf8ku.js';
3
- import './Refund-Bc5By0lb.js';
3
+ import './Refund-BeI1WGfx.js';
4
4
  import './Pagination-CLHwhyvu.js';
5
- import './Business-BCoP0TAV.js';
5
+ import './Business-B5rtFhtR.js';
6
6
  import './Dispute-BH0Xfn-F.js';
7
7
 
8
8
  const api = Api();
@@ -1,4 +1,4 @@
1
- import { c as createStore } from './index-ZfXl6Xrm.js';
1
+ import { c as createStore } from './index-NOsb-hYl.js';
2
2
  import { P as PAYMENT_METHODS } from './index-DCIW8z1f.js';
3
3
 
4
4
  const initialState = {
@@ -17,7 +17,6 @@ const initialState = {
17
17
  checkoutLoaded: false,
18
18
  bankAccountVerification: undefined,
19
19
  disableBankAccount: false,
20
- disableBnpl: false,
21
20
  disableCreditCard: false,
22
21
  disablePaymentMethodGroup: false,
23
22
  paymentAmount: 0,
@@ -60,7 +59,7 @@ function getAvailablePaymentMethodTypes() {
60
59
  if (!checkoutStore.disableBankAccount) {
61
60
  methods.push(PAYMENT_METHODS.NEW_BANK_ACCOUNT);
62
61
  }
63
- if (checkoutStore.bnplEnabled && !checkoutStore.disableBnpl) {
62
+ if (checkoutStore.bnplEnabled) {
64
63
  methods.push(PAYMENT_METHODS.SEZZLE);
65
64
  }
66
65
  if (checkoutStore.bankAccountVerification === true &&
@@ -1,22 +1,20 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-qipqIMyC.js';
2
- import './config-state-Blo0ywwc.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-_b8l4IX7.js';
2
+ import './config-state-C83RkI9h.js';
3
3
  import './dinero-HXpYMWUU.js';
4
4
  import './ComponentError-Cjcsf8ku.js';
5
- import './Refund-Bc5By0lb.js';
5
+ import './Refund-BeI1WGfx.js';
6
6
  import { p as pagingDefaults } from './Pagination-CLHwhyvu.js';
7
- import './Business-BCoP0TAV.js';
7
+ import './Business-B5rtFhtR.js';
8
8
  import './Dispute-BH0Xfn-F.js';
9
- import { T as Table, a as TableComponent, b as TableHead, c as TableHeadRow, d as TableBody, e as TableLoadingState, f as TableEmptyState, g as TableErrorState, h as TableRow, i as TableFoot, j as TableFootRow, k as TableFootCell, l as TableWrapper } from './table-DcRHK_sm.js';
9
+ import { T as Table, a as TableComponent, b as TableHead, c as TableHeadRow, d as TableBody, e as TableLoadingState, f as TableEmptyState, g as TableErrorState, h as TableRow, i as TableFoot, j as TableFootRow, k as TableFootCell, l as TableWrapper } from './table-9ewYPAZH.js';
10
10
  import { T as TableClickActions } from './event-types-CZfYo5-1.js';
11
- import { c as checkoutTableColumns, a as checkoutTableCells } from './checkouts-table-CItEo0DU.js';
12
- import { o as onQueryParamsChange, g as getRequestParams } from './checkouts-list-params-state-C2_GlMKR.js';
13
- import './index-ZfXl6Xrm.js';
14
- import './utils-BscIVFn8.js';
15
- import './helpers-Mu7LQT-w.js';
16
- import './state-options-BX8GieXu.js';
17
- import './parts-RvUQ__Pq.js';
18
- import './spinner-CIXUVK4F.js';
19
- import './badge-ChwzCNAF.js';
11
+ import { c as checkoutTableColumns, a as checkoutTableCells } from './checkouts-table-59DpP7zM.js';
12
+ import { o as onQueryParamsChange, g as getRequestParams } from './checkouts-list-params-state-BY5996_y.js';
13
+ import './index-NOsb-hYl.js';
14
+ import './utils-DeZftIgK.js';
15
+ import './parts-CA_TyBed.js';
16
+ import './spinner-UiInIFXW.js';
17
+ import './badge-CkfrkCoy.js';
20
18
 
21
19
  const CheckoutsListCore = class {
22
20
  constructor(hostRef) {
@@ -134,7 +132,7 @@ const CheckoutsListCore = class {
134
132
  return !this.showEmptyState && !this.showErrorState && !this.loading;
135
133
  }
136
134
  render() {
137
- return (h(TableWrapper, { key: '04dae06915792f92df18740353f63781fbc15558' }, h(TableComponent, { key: '87f0d5658e76198d6332c272eabc09236569a6c3' }, h(TableHead, { key: '7b9d1d9e5875b7c83c126c06a80b1e4f8e9ec86c' }, h(TableHeadRow, { key: '8e8963b02099f6ae81a1ab9b9e00212a87be742f' }, this.checkoutsTable.columnData.map((column) => column))), h(TableBody, { key: '2e1b461150fc01112c08f030402c8433611da6f3' }, h(TableLoadingState, { key: 'aefba717db73fb1052eb49906354492548eda57d', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'b353ddae94305c6f58c4026ab6a48ef16a05005c', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: '852bb7c4f1968f56a692e595dbe9a6223b5b3b1d', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '5077d7f5843d62b73d85adafff03022db168de0f' }, h(TableFootRow, { key: 'b338655c2ef2fb256795f781113a0fc312d76a1b' }, h(TableFootCell, { key: 'c6f4f321400d0f6a73f2ef85a77ea9dab38270b6', colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: 'de00aeea2bbf8cf88c2e31105967d6355ebb18f0', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
135
+ return (h(TableWrapper, { key: '9d3a3574320cbb521457bb130ff5bfe9eca0ad71' }, h(TableComponent, { key: 'c52b7ed59ea7c68607506751754a4f5bbc46f394' }, h(TableHead, { key: '24d2ee3ae48ed8687e43ee209a0260d2969a2b96' }, h(TableHeadRow, { key: 'dcaf7c316283c7fac6bd8be6e119c965eb91590f' }, this.checkoutsTable.columnData.map((column) => column))), h(TableBody, { key: '57cf5bf625cf994aa0abb5e5d71dad0ffe2eb049' }, h(TableLoadingState, { key: '4a33477c76c38205d907d38d122f03339a57a65c', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'e48a334af552ef4e747f069a88d4aa1638d09b0d', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: 'dd2892c5e9bdfa46e4faf465a6e9411890461ea5', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '17b824a591a68fe3ecf8c4b15d3404d27378d25f' }, h(TableFootRow, { key: '425c02a9cc4992896847d4b7cc114f55e165687b' }, h(TableFootCell, { key: '78bcf9f3dae3c166a57ebd4bc39453d0f8f29d6b', colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: '4ea9982a48440c1fa4ef7f4919e24c06a783d707', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
138
136
  }
139
137
  static get watchers() { return {
140
138
  "pagingParams": ["updateOnPropChange"],
@@ -1,4 +1,4 @@
1
- import { c as createStore } from './index-ZfXl6Xrm.js';
1
+ import { c as createStore } from './index-NOsb-hYl.js';
2
2
 
3
3
  const filterParamsInitialState = {};
4
4
  const propsParamsInitialState = {};
@@ -1,7 +1,7 @@
1
- import { h } from './index-qipqIMyC.js';
2
- import { d as formatTime, e as formatDate } from './utils-BscIVFn8.js';
3
- import { B as BadgeVariant, a as Badge } from './badge-ChwzCNAF.js';
4
- import { N as tableHeadCell, O as getAlternateTableCellPart } from './parts-RvUQ__Pq.js';
1
+ import { h } from './index-_b8l4IX7.js';
2
+ import { d as formatTime, e as formatDate } from './utils-DeZftIgK.js';
3
+ import { B as BadgeVariant, a as Badge } from './badge-CkfrkCoy.js';
4
+ import { N as tableHeadCell, O as getAlternateTableCellPart } from './parts-CA_TyBed.js';
5
5
 
6
6
  const MapCheckoutStatusToBadge = (status) => {
7
7
  const statusToBadgeProps = {
@@ -1,4 +1,4 @@
1
- import { c as createStore } from './index-ZfXl6Xrm.js';
1
+ import { c as createStore } from './index-NOsb-hYl.js';
2
2
 
3
3
  const initialState = {
4
4
  apiOrigin: "https://wc-proxy.justifi.ai",
@@ -0,0 +1,64 @@
1
+ import { S as StateOptions } from './Business-B5rtFhtR.js';
2
+
3
+ const ProvinceOptions = [
4
+ {
5
+ label: 'Choose province',
6
+ value: '',
7
+ },
8
+ { label: 'Alberta', value: 'AB' },
9
+ { label: 'British Columbia', value: 'BC' },
10
+ { label: 'Manitoba', value: 'MB' },
11
+ { label: 'New Brunswick', value: 'NB' },
12
+ { label: 'Newfoundland and Labrador', value: 'NL' },
13
+ { label: 'Northwest Territories', value: 'NT' },
14
+ { label: 'Nova Scotia', value: 'NS' },
15
+ { label: 'Nunavut', value: 'NU' },
16
+ { label: 'Ontario', value: 'ON' },
17
+ { label: 'Prince Edward Island', value: 'PE' },
18
+ { label: 'Quebec', value: 'QC' },
19
+ { label: 'Saskatchewan', value: 'SK' },
20
+ { label: 'Yukon', value: 'YT' },
21
+ ];
22
+
23
+ const countryLabels = {
24
+ USA: {
25
+ stateLabel: 'State',
26
+ postalLabel: 'Zip Code',
27
+ idNumberLabel: 'SSN',
28
+ idNumberLabelOptional: 'SSN (optional)',
29
+ identityHelpText: 'Enter your full Social Security Number. It is required for Federal OFAC check.',
30
+ taxIdLabel: 'Tax ID (EIN or SSN)',
31
+ taxIdHelpText: "Employer Identification Numbers (EINs) are nine digits. The federal tax identification number/EIN issued to you by the IRS. It can be found on your tax returns. Enter value without dashes.",
32
+ },
33
+ CAN: {
34
+ stateLabel: 'Province',
35
+ postalLabel: 'Postal Code',
36
+ idNumberLabel: 'SIN',
37
+ idNumberLabelOptional: 'SIN (optional)',
38
+ identityHelpText: 'Enter your full Social Insurance Number.',
39
+ taxIdLabel: 'Business Number (BN)',
40
+ taxIdHelpText: 'Business Numbers (BN) are nine digits. Enter value without spaces or dashes.',
41
+ },
42
+ };
43
+ const countryOptions = {
44
+ USA: {
45
+ stateOptions: StateOptions,
46
+ },
47
+ CAN: {
48
+ stateOptions: ProvinceOptions,
49
+ },
50
+ };
51
+ const countryValidation = {
52
+ USA: {
53
+ postalRegex: /^[0-9]{5}(-[0-9]{4})?$/,
54
+ identityDigits: 9,
55
+ taxIdDigits: 9,
56
+ },
57
+ CAN: {
58
+ postalRegex: /^[A-Za-z]\d[A-Za-z][ -]?\d[A-Za-z]\d$/,
59
+ identityDigits: 9,
60
+ taxIdDigits: 9,
61
+ },
62
+ };
63
+
64
+ export { countryValidation as a, countryOptions as b, countryLabels as c };
@@ -1,5 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-qipqIMyC.js';
2
- import { aw as tooltip, ax as tooltipInner, ay as tooltipIcon } from './parts-RvUQ__Pq.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-_b8l4IX7.js';
3
2
 
4
3
  var top = 'top';
5
4
  var bottom = 'bottom';
@@ -1873,7 +1872,7 @@ const CustomPopper = class {
1873
1872
  this.hideEvent.emit();
1874
1873
  }
1875
1874
  render() {
1876
- return (h("div", { key: '6249f59c6bcced199fe4d509988644633d783b6b' }, h("style", { key: '9d6a47ff5b927ebfb318b7d0852678f7ade406ca' }, `
1875
+ return (h("div", { key: '8f01710b6c352f39b35c5814cd6a876ab7e088c5' }, h("style", { key: 'e1885fe648eda95a8efa50a8f6cd46a09f59cc61' }, `
1877
1876
  .popper-content {
1878
1877
  display: none;
1879
1878
  }
@@ -1881,26 +1880,8 @@ const CustomPopper = class {
1881
1880
  display: block;
1882
1881
  z-index: 1030;
1883
1882
  }
1884
- `), h("div", { key: '311f13edc07bc1aea0569fb6c92fbbc241704529', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: '93e806d8db16cd7c1b29ce6b6bec784c8126ab67' }))));
1883
+ `), h("div", { key: 'b2d5d36d62207fceda79ad2d1d0d0680bee6a366', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: '406218fe16ad4b65e3e80ca467c3c49a462dee18' }))));
1885
1884
  }
1886
1885
  };
1887
1886
 
1888
- const TooltipComponent = class {
1889
- constructor(hostRef) {
1890
- registerInstance(this, hostRef);
1891
- }
1892
- show() {
1893
- this.tooltip.classList.add('show');
1894
- }
1895
- hide() {
1896
- this.tooltip.classList.remove('show');
1897
- }
1898
- render() {
1899
- if (!this.helpText) {
1900
- return null;
1901
- }
1902
- return (h("div", { class: "tooltip-container" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "currentColor", class: "bi bi-question-square tooltip-icon", viewBox: "0 0 16 16", ref: (el) => (this.anchorIcon = el), part: tooltipIcon }, h("path", { d: "M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2z" }), h("path", { d: "M5.255 5.786a.237.237 0 0 0 .241.247h.825c.138 0 .248-.113.266-.25.09-.656.54-1.134 1.342-1.134.686 0 1.314.343 1.314 1.168 0 .635-.374.927-.965 1.371-.673.489-1.206 1.06-1.168 1.987l.003.217a.25.25 0 0 0 .25.246h.811a.25.25 0 0 0 .25-.25v-.105c0-.718.273-.927 1.01-1.486.609-.463 1.244-.977 1.244-2.056 0-1.511-1.276-2.241-2.673-2.241-1.267 0-2.655.59-2.75 2.286m1.557 5.763c0 .533.425.927 1.01.927.609 0 1.028-.394 1.028-.927 0-.552-.42-.94-1.029-.94-.584 0-1.009.388-1.009.94" })), h("custom-popper", { trigger: "hover", placement: "top", anchorRef: this.anchorIcon }, h("div", { class: "tooltip bs-tooltip-top", part: tooltip, role: "tooltip", ref: (el) => (this.tooltip = el) }, h("div", { class: "tooltip-inner", part: tooltipInner }, this.helpText)))));
1903
- }
1904
- };
1905
-
1906
- export { CustomPopper as custom_popper, TooltipComponent as form_control_tooltip };
1887
+ export { CustomPopper as custom_popper };
@@ -1,8 +1,8 @@
1
- import { A as Api } from './Api-D4tj-h4P.js';
1
+ import { A as Api } from './Api-DLf3ihCB.js';
2
2
  import './ComponentError-Cjcsf8ku.js';
3
- import './Refund-Bc5By0lb.js';
3
+ import './Refund-BeI1WGfx.js';
4
4
  import './Pagination-CLHwhyvu.js';
5
- import './Business-BCoP0TAV.js';
5
+ import './Business-B5rtFhtR.js';
6
6
  import './Dispute-BH0Xfn-F.js';
7
7
 
8
8
  const api = Api();
@@ -1,11 +1,9 @@
1
- import { r as registerInstance, h, H as Host } from './index-qipqIMyC.js';
2
- import { au as alertDanger, C as heading2 } from './parts-RvUQ__Pq.js';
3
- import { a as businessServiceReceivedOptions, r as recurringPaymentsOptions, s as seasonalBusinessOptions, b as businessClassificationOptions } from './business-form-options-CgssATyg.js';
4
- import { C as CURRENCY_MASK, T as TAX_ID_MASKS, P as PHONE_MASKS, S as SSN_MASK } from './form-input-masks-B-iV5cYd.js';
5
- import { C as CoreBusinessInfo } from './Business-BCoP0TAV.js';
6
- import { d as deconstructDate } from './helpers-Mu7LQT-w.js';
7
- import { S as StateOptions } from './state-options-BX8GieXu.js';
8
- import { n as numberOnlyHandler } from './utils-BnjCmwMr.js';
1
+ import { r as registerInstance, h, H as Host } from './index-_b8l4IX7.js';
2
+ import { ax as alertDanger, C as heading2, l as label, T as inputDisabled, Z as buttonSecondary } from './parts-CA_TyBed.js';
3
+ import { b as businessServiceReceivedOptions, r as recurringPaymentsOptions, s as seasonalBusinessOptions, c as businessClassificationOptions } from './business-form-options-D6s5H4RI.js';
4
+ import { C as CURRENCY_MASK, I as IDENTITY_MASKS, P as PHONE_MASKS } from './form-input-masks-CVaOFfrI.js';
5
+ import { e as CoreBusinessInfo, d as deconstructDate } from './Business-B5rtFhtR.js';
6
+ import { c as countryLabels } from './country-config-BQ4D46Lb.js';
9
7
 
10
8
  const FormAlert = class {
11
9
  constructor(hostRef) {
@@ -48,6 +46,7 @@ const BusinessCoreInfo = class {
48
46
  registerInstance(this, hostRef);
49
47
  this.errors = {};
50
48
  this.coreInfo = {};
49
+ this.isEditingTaxId = false;
51
50
  this.inputHandler = this.inputHandler.bind(this);
52
51
  }
53
52
  componentDidLoad() {
@@ -60,8 +59,12 @@ const BusinessCoreInfo = class {
60
59
  this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { [name]: value }));
61
60
  }
62
61
  render() {
62
+ var _a, _b;
63
63
  const coreInfoDefaultValue = this.formController.getInitialValues();
64
- return (h(Host, { key: '0f01827de5a6ff9f6da4aabac4c219da9bb7f7bc' }, h("fieldset", { key: 'fb47f0c5e7d566fe3af06eb1f38af813ca1a5a98' }, h("legend", { key: '04b3a526d159f010da3960220c6738c23ab59ae9', part: heading2 }, "General Info"), h("div", { key: 'cfa7ae60828f3b7525d6582effe31e11f4940ae1', class: "row gy-3" }, h("div", { key: '09f915e522f42ea60bde326b93c0acbf79914047', class: "col-12" }, h("form-control-text", { key: 'fcfb0a32d62173c0fd60e21410cbf8be1843855f', name: "legal_name", label: "Legal Name", defaultValue: coreInfoDefaultValue.legal_name, errorText: this.errors.legal_name, inputHandler: this.inputHandler })), h("div", { key: 'be83c79addceacb5621fb480cdc606a5393778ca', class: "col-12" }, h("form-control-text", { key: 'e78ff2fa54cd819b9117d03976d40e5aa49e33b5', name: "doing_business_as", label: "Doing Business As (DBA)", defaultValue: coreInfoDefaultValue.doing_business_as, errorText: this.errors.doing_business_as, inputHandler: this.inputHandler })), h("div", { key: '1a17daeaac46daa23ea4a2a028d08db238cc11d9', class: "col-12 col-md-8" }, h("form-control-select", { key: 'c8d76e0cdb665a43162d5605bda5361969933964', name: "classification", label: "Business Classification", options: businessClassificationOptions, defaultValue: coreInfoDefaultValue.classification, errorText: this.errors.classification, inputHandler: this.inputHandler })), h("div", { key: '1cfd904e9c039e834e086847b296ee4a6ee3f676', class: "col-12 col-md-4" }, h("form-control-date", { key: 'bdd8b4b01c9bd22b4c0188d7b37ebd6228a8af45', name: "date_of_incorporation", label: "Date of Incorporation", defaultValue: coreInfoDefaultValue.date_of_incorporation, errorText: this.errors.date_of_incorporation, inputHandler: this.inputHandler })), h("div", { key: 'bb1aceaf0a2ea01d4116fa66e7fc086824940619', class: "col-12 col-md-6" }, h("form-control-text", { key: '4fdcb1caae3cba88e8f6f9c14cb8b85c98e8a0f2', name: "industry", label: "Industry", defaultValue: coreInfoDefaultValue.industry, errorText: this.errors.industry, inputHandler: this.inputHandler })), h("div", { key: '238c8aae3f95286292b302efd2a490a0b7e9ce56', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '5a8e4040603858ff704da4c3c901d3903d0ed619', name: "tax_id", label: "Tax ID", defaultValue: coreInfoDefaultValue.tax_id, errorText: this.errors.tax_id, inputHandler: this.inputHandler, mask: TAX_ID_MASKS.US })), h("div", { key: 'e3a9a7987837dbb026b3edb6c0659b8c45ddf3bc', class: "col-12" }, h("form-control-text", { key: 'fd826dbe012a25bfcaf456f3f2d3e300de3b81d8', name: "website_url", label: "Website URL", defaultValue: coreInfoDefaultValue.website_url, errorText: this.errors.website_url, inputHandler: this.inputHandler })), h("div", { key: '26cd8ff17604388d92f594193cde8a5005a727d1', class: "col-12 col-md-6" }, h("form-control-text", { key: 'cf5c1601d7d956656168d3819767cc912a35ea7c', name: "email", label: "Email Address", defaultValue: coreInfoDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: 'f94b1fa7cc39f3800404ce2ea2d46af70bf43b08', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: 'ea73e0093f103c7bc5913ca1dc7625fde1ff09f6', name: "phone", label: "Phone Number", defaultValue: coreInfoDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US }))))));
64
+ return (h(Host, { key: 'abe85b33019341e670263a3fabefe1c73c203a12' }, h("fieldset", { key: '12eb6d4e78e56c8771d95e03fa7d8c4c9ea6478f' }, h("legend", { key: '514cb38045c7d4a4a6746a3846c84013507d0691', part: heading2 }, "General Info"), h("div", { key: '30a509f2dd8ec2938dcc790d8891a917b76b91a0', class: "row gy-3" }, h("div", { key: 'ced24f46905abd380fd190bd56d56eba7ec65289', class: "col-12" }, h("form-control-text", { key: '26e986bef6cad147cd7e5b557e27ad8e61932e54', name: "legal_name", label: "Legal Name", defaultValue: coreInfoDefaultValue.legal_name, errorText: this.errors.legal_name, inputHandler: this.inputHandler })), h("div", { key: 'fabae43dc916ee087b73e366b01bc40fc29a4110', class: "col-12" }, h("form-control-text", { key: 'bf7e45fe95c0156c583c693006f4a65f2d1d6b1b', name: "doing_business_as", label: "Doing Business As (DBA)", defaultValue: coreInfoDefaultValue.doing_business_as, errorText: this.errors.doing_business_as, inputHandler: this.inputHandler })), h("div", { key: '12d52af1fb5dcef7382b8a36f44a048bcff5a752', class: "col-12 col-md-8" }, h("form-control-select", { key: '94ea7c2438e5fbb0b85a9df5915d78791ae026ea', name: "classification", label: "Business Classification", options: businessClassificationOptions, defaultValue: coreInfoDefaultValue.classification, errorText: this.errors.classification, inputHandler: this.inputHandler })), h("div", { key: '90800a655ff4470ea6de9f774dcdccc95862c821', class: "col-12 col-md-4" }, h("form-control-date", { key: '715436c7bf7d34ab2505b1005873ac549f351af1', name: "date_of_incorporation", label: "Date of Incorporation", defaultValue: coreInfoDefaultValue.date_of_incorporation, errorText: this.errors.date_of_incorporation, inputHandler: this.inputHandler })), h("div", { key: 'f4502deec218f3493210ecb6b1ad19fc7cf9f28f', class: "col-12 col-md-6" }, h("form-control-text", { key: '91614c8854a4b2e79fea028c1ad43ef751dacfb1', name: "industry", label: "Industry", defaultValue: coreInfoDefaultValue.industry, errorText: this.errors.industry, inputHandler: this.inputHandler })), h("div", { key: '9c7a45b88199e7d00673e6d569f45e2dcf3d242d', class: "col-12 col-md-6" }, (!((_a = this.coreInfo) === null || _a === void 0 ? void 0 : _a.tax_id_last4) || this.isEditingTaxId) ? (h("form-control-number-masked", { name: "tax_id", label: countryLabels[this.country].taxIdLabel, defaultValue: this.isEditingTaxId ? '' : coreInfoDefaultValue.tax_id, errorText: this.errors.tax_id, inputHandler: this.inputHandler, mask: IDENTITY_MASKS[this.country], helpText: countryLabels[this.country].taxIdHelpText })) : (h("div", null, h("label", { class: "form-label", part: label }, countryLabels[this.country].taxIdLabel), h("div", { class: "input-group mb-3" }, h("input", { type: "text", class: "form-control", part: inputDisabled, value: `****${(_b = this.coreInfo) === null || _b === void 0 ? void 0 : _b.tax_id_last4}`, disabled: true }), h("button", { class: "btn btn-secondary", type: "button", part: buttonSecondary, onClick: () => {
65
+ this.isEditingTaxId = true;
66
+ this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { tax_id: '' }));
67
+ } }, "Change"))))), h("div", { key: 'd0eb145c0afde23fd1dcf7837763971b259ff260', class: "col-12" }, h("form-control-text", { key: '7b2d6a1558b6be6adc87ff4109bca6e9238c2ecf', name: "website_url", label: "Website URL", defaultValue: coreInfoDefaultValue.website_url, errorText: this.errors.website_url, inputHandler: this.inputHandler })), h("div", { key: 'eb9637448b9f9a6e4a8b8a08ad9f7f48ff56ec4f', class: "col-12 col-md-6" }, h("form-control-text", { key: '1f2b0ce0c7dd02485635e8f666d59cd7ec792dbc', name: "email", label: "Email Address", defaultValue: coreInfoDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '46fa9ad350b8482296ce0a76db841b78efb9b83b', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '9d4376e2e1d4372470ba8483f8fe1c0992267e38', name: "phone", label: "Phone Number", defaultValue: coreInfoDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US }))))));
65
68
  }
66
69
  };
67
70
 
@@ -70,6 +73,7 @@ const BusinessRepresentative = class {
70
73
  registerInstance(this, hostRef);
71
74
  this.errors = {};
72
75
  this.representative = {};
76
+ this.isEditingIdentification = false;
73
77
  this.inputHandler = (name, value) => {
74
78
  this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { representative: Object.assign(Object.assign({}, this.formController.values.getValue().representative), { [name]: value }) }));
75
79
  };
@@ -82,15 +86,23 @@ const BusinessRepresentative = class {
82
86
  };
83
87
  }
84
88
  get identificationNumberLabel() {
85
- return this.representative.ssn_last4 ? 'Update SSN (optional)' : 'SSN';
89
+ var _a;
90
+ const label = countryLabels[this.country].idNumberLabel;
91
+ const labelOptional = countryLabels[this.country].idNumberLabelOptional;
92
+ return ((_a = this.representative) === null || _a === void 0 ? void 0 : _a.ssn_last4) ? labelOptional : label;
86
93
  }
87
94
  componentDidLoad() {
88
95
  this.formController.errors.subscribe(errors => (this.errors = Object.assign({}, errors.representative)));
89
96
  this.formController.values.subscribe(values => (this.representative = Object.assign({}, values.representative)));
90
97
  }
91
98
  render() {
99
+ var _a, _b;
92
100
  const representativeDefaultValue = this.formController.getInitialValues().representative;
93
- return (h(Host, { key: '94097bf5ab94fc900918d44510ea8810f2a1984d' }, h("fieldset", { key: '95619d9fa81838e5a08e191845a7343f8b3609ce' }, h("legend", { key: '9ec4d2470dc31e3128c0d3351e3983dc07bca92e', part: heading2 }, "Representative"), h("div", { key: 'a2b1d8ab98e3683c6ad57d6a6dfb259b27a8cd0f', class: "row gy-3" }, h("div", { key: 'ce36f02cde3b989b427418b7c09b92bcbc9638f1', class: "col-12 col-md-8" }, h("form-control-text", { key: '7912bcd5f4f4d5870a08529d09a21994911a7262', name: "name", label: "Full Name", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '57f138c87e53aa0b555dc5d7ebe699c6207e5825', class: "col-12 col-md-4" }, h("form-control-text", { key: 'd98d5cfcb5f4a7e1dd9eb0e55844bb8a210bd305', name: "title", label: "Title", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.title, errorText: this.errors.title, inputHandler: this.inputHandler })), h("div", { key: '08093caed32f9124c48fc73e05b2e5ec698fac5d', class: "col-12 col-md-6" }, h("form-control-text", { key: 'ef868e698b2369934bfeee522d8f4a7ff4924074', name: "email", label: "Email Address", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: 'ffb1c8a6ccd2df1a198f679ad02d3921821939b9', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: 'ce4cd6e4edacdc536f74b85341fe35dc4aae435e', name: "phone", label: "Phone Number", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: '27d97a8149ba81e7576e850c8c273298c8394f51', class: "col-12 col-md-4" }, h("form-control-date", { key: '5cd76163b49822f9dcbd3339c89a0afffcc4247f', name: "dob_full", label: "Birth Date", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: this.onDateOfBirthUpdate })), h("div", { key: '62bd3c48ccc31d7f36a00bc27eafefc3369226e3', class: "col-12 col-md-8" }, h("form-control-number-masked", { key: '7d43730b2615e7b515ca6c66d90ceeb573e61d6a', name: "identification_number", label: this.identificationNumberLabel, defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: SSN_MASK })), h("div", { key: 'ec6cb5f493f5335f6b0490894577eb401f1c150a', class: "col-12" }, h("justifi-identity-address-form", { key: '6ecffcd10914504148573e99a708cae6d6976cd2', errors: this.errors.address, defaultValues: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate }))))));
101
+ return (h(Host, { key: '1ce133c6cf1804607b661953bb9d952e6dfdede7' }, h("fieldset", { key: '759e0e7adc03c8814e09effd245e7c25f9fcf536' }, h("legend", { key: '625eb15226d9318075c57c7e13d6b8a04686f00f', part: heading2 }, "Representative"), h("div", { key: '8b11c10cd073c3ffcb7c52f97c463b91a5609afa', class: "row gy-3" }, h("div", { key: '35b0b9a741ee46dfc049ea5914dfa672e4bd64f3', class: "col-12 col-md-8" }, h("form-control-text", { key: '577cb8c5911c5a8364de282ca04e75b045d6de36', name: "name", label: "Full Name", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '3ebaa46f7045f1db417285fe3ef9c19310dbe0c6', class: "col-12 col-md-4" }, h("form-control-text", { key: '69eb59adf3da1d3d48b1d395badd4c76ac0d8383', name: "title", label: "Title", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.title, errorText: this.errors.title, inputHandler: this.inputHandler })), h("div", { key: 'd9ee1e3a4919e5d714f34ff1417677a48101166f', class: "col-12 col-md-6" }, h("form-control-text", { key: 'cc6c0e28dc815985be5309de33957fcd37f53b29', name: "email", label: "Email Address", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: 'd40a0a637c921ca6e8fa4aa347369c029c4569cb', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: 'ce15cd57570e34d14bc596c1b5f7e49d3f33ea36', name: "phone", label: "Phone Number", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: '1504ac209231141b564412af3719b2ab6d84e553', class: "col-12 col-md-4" }, h("form-control-date", { key: '8fe92ed396ab947f439a04e2b67787725b393dcb', name: "dob_full", label: "Birth Date", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: this.onDateOfBirthUpdate })), h("div", { key: 'd8ee89f3f4124ebb222d99a9337db4be7ab7df61', class: "col-12 col-md-8" }, (!((_a = this.representative) === null || _a === void 0 ? void 0 : _a.ssn_last4) || this.isEditingIdentification) ? (h("form-control-number-masked", { name: "identification_number", label: this.identificationNumberLabel, defaultValue: this.isEditingIdentification ? '' : representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: IDENTITY_MASKS[this.country], helpText: countryLabels[this.country].identityHelpText })) : (h("div", null, h("label", { class: "form-label", part: label }, this.identificationNumberLabel), h("div", { class: "input-group mb-3" }, h("input", { type: "text", class: "form-control", part: inputDisabled, value: `****${(_b = this.representative) === null || _b === void 0 ? void 0 : _b.ssn_last4}`, disabled: true }), h("button", { class: "btn btn-secondary", type: "button", part: buttonSecondary, onClick: () => {
102
+ this.isEditingIdentification = true;
103
+ // Clear last4 and current value to force validation
104
+ this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { representative: Object.assign(Object.assign({}, this.formController.values.getValue().representative), { ssn_last4: null, identification_number: '' }) }));
105
+ } }, "Change"))))), h("div", { key: '54548bf9622fcc949ebd91db29cc8b877dd7652d', class: "col-12" }, h("justifi-identity-address-form", { key: '9925b7d70bceb8e3d1dafc9313673a5c8a0810a0', errors: this.errors.address, defaultValues: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate, country: this.country }))))));
94
106
  }
95
107
  };
96
108
 
@@ -108,11 +120,9 @@ const LegalAddressForm = class {
108
120
  this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { legal_address: Object.assign(Object.assign({}, this.formController.values.getValue().legal_address), { [name]: value }) }));
109
121
  }
110
122
  render() {
111
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
123
+ var _a;
112
124
  const legalAddressDefaultValue = this.formController.getInitialValues().legal_address;
113
- return (h(Host, { key: '3b391bb2404c911e1663835acf0d13e7aab73735' }, h("fieldset", { key: 'f5db5dd65ba422e05728b38e562d1140777f4208' }, h("legend", { key: 'a1e464501561d649b6b514de45967d84d5f69f2a', part: heading2 }, "Business Legal Address"), h("div", { key: 'f64e06197c22f9d0cddb7b78d181aec203070612', class: "row gy-3" }, h("div", { key: '0c5ed4640de17b420021beedf69fbf6fedc16b5e', class: "col-12" }, h("form-control-text", { key: '449f633ae6ff84855258898a90f9adfc028b9685', name: "line1", label: "Legal Address", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.line1, errorText: (_b = (_a = this.errors) === null || _a === void 0 ? void 0 : _a.legal_address) === null || _b === void 0 ? void 0 : _b.line1 })), h("div", { key: '6cdc7bd96fbcdccf3d2da67ce2c0c110be6f215f', class: "col-12" }, h("form-control-text", { key: '5d179741b7462cd569f43aaa16ea78a89dd2f7dd', name: "line2", label: "Address Line 2", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.line2, errorText: (_d = (_c = this.errors) === null || _c === void 0 ? void 0 : _c.legal_address) === null || _d === void 0 ? void 0 : _d.line2 })), h("div", { key: '55df7defd5dff8f7b56d639319c4067b53ce8fb8', class: "col-12" }, h("form-control-text", { key: 'dfb822432d69a8e53424faa4e5ffb00d25601836', name: "city", label: "City", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.city, errorText: (_f = (_e = this.errors) === null || _e === void 0 ? void 0 : _e.legal_address) === null || _f === void 0 ? void 0 : _f.city })), h("div", { key: '533670b7a9b60d45bf05684b48c2034f99d4b484', class: "col-12" }, h("form-control-select", { key: 'f10ed112c00c798c1b482f8893ef04737deb1dc5', name: "state", label: "State", options: StateOptions, inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.state, errorText: (_h = (_g = this.errors) === null || _g === void 0 ? void 0 : _g.legal_address) === null || _h === void 0 ? void 0 : _h.state })), h("div", { key: '7d67e97ebbb48402ede6aed07fe72154cf3424fa', class: "col-12" }, h("form-control-text", { key: '5bccb6167aac8b9f64254dc93376f51b6489c0c9', name: "postal_code", label: "Postal Code", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.postal_code, errorText: (_k = (_j = this.errors) === null || _j === void 0 ? void 0 : _j.legal_address) === null || _k === void 0 ? void 0 : _k.postal_code, maxLength: 5, keyDownHandler: numberOnlyHandler })), h("div", { key: '8a03c711d712e013590d5489d3bffa5145ac0a7a', class: "col-12" }, h("form-control-select", { key: 'e58697ad7a448ab860a8f72a053dbaf030faabbd', name: "country", label: "Country", options: [{ label: 'United States', value: 'USA' }], inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.country, errorText: (_m = (_l = this.errors) === null || _l === void 0 ? void 0 : _l.legal_address) === null || _m === void 0 ? void 0 : _m.country,
114
- // just for now so we skip handling country specificities
115
- disabled: true }))))));
125
+ return (h(Host, { key: '0e6136a175ee0bb8708d1848ad850bd973f60c4b' }, h("fieldset", { key: '2fcfb7b8cc1bf70157dbfaba7bb5df9ddd82454b' }, h("legend", { key: 'ce30f5e679113cceda046f142e01548a1db573a0', part: heading2 }, "Business Legal Address"), h("justifi-form-address-fields", { key: 'a091d88fb62401c814458d696866de64a26a6bff', country: this.country, errors: (_a = this.errors) === null || _a === void 0 ? void 0 : _a.legal_address, defaultValues: legalAddressDefaultValue, inputHandler: this.inputHandler }))));
116
126
  }
117
127
  };
118
128
 
@@ -1,7 +1,7 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-qipqIMyC.js';
2
- import { Z as inputCheckboxInvalid, _ as inputCheckboxCheckedFocused, $ as inputCheckboxFocused, a0 as inputCheckboxChecked, a1 as inputCheckbox, l as label } from './parts-RvUQ__Pq.js';
3
- import { F as FormControlHelpText } from './form-control-help-text-CuhIsM3v.js';
4
- import { F as FormControlErrorText } from './form-control-error-text-IXJJ4JpV.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-_b8l4IX7.js';
2
+ import { _ as inputCheckboxInvalid, $ as inputCheckboxCheckedFocused, a0 as inputCheckboxFocused, a1 as inputCheckboxChecked, a2 as inputCheckbox, l as label } from './parts-CA_TyBed.js';
3
+ import { F as FormControlHelpText } from './form-control-help-text-CMUgRhUf.js';
4
+ import { F as FormControlErrorText } from './form-control-error-text-CjrxZorl.js';
5
5
  import './event-types-CZfYo5-1.js';
6
6
 
7
7
  const CheckboxInput = class {
@@ -37,10 +37,10 @@ const CheckboxInput = class {
37
37
  return inputCheckbox;
38
38
  }
39
39
  render() {
40
- return (h(Host, { key: '6ef9c4917c0371f697b92f6a7ee1471feec1aaf1' }, h("div", { key: 'c9b0a6f9d55f2fccc0ce060af6b0944d1cc9104e', class: 'form-group d-flex flex-column' }, h("div", { key: '618bf437e3d39095c5d5fb29b539d37e5f25b225', class: "form-check" }, h("input", { key: 'e51b0c603bc0be02055dc96145b04dbb43638b79', ref: el => (this.checkboxElement = el), type: "checkbox", id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
40
+ return (h(Host, { key: 'b9f175598599477e4eab8b690e414539421368c9' }, h("div", { key: 'd775d704b4ec7d43ce3b973b38dfe145b99bc6b9', class: 'form-group d-flex flex-column' }, h("div", { key: '0c7b3e3a405f967914e270f84e9625074fb1fb05', class: "form-check" }, h("input", { key: '7cc316c6069fd7ca174a0f41c5e564f68147099d', ref: el => (this.checkboxElement = el), type: "checkbox", id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
41
41
  this.isFocused = false;
42
42
  this.formControlBlur.emit();
43
- }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, checked: this.checked }), h("label", { key: 'bad954d2501514587ef79c0325ecaae0ba6a4b91', class: "form-check-label", htmlFor: this.name, part: label }, this.label)), h(FormControlHelpText, { key: '26d50d8b95bd2285211079e5527f57152c739651', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: '5e2f8d2c9fe3a883d2bc9a6200075d8ba13a5dc4', errorText: this.errorText, name: this.name }))));
43
+ }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, checked: this.checked }), h("label", { key: '329eaefa881d6b6b15fe1aa910d605c3a81b1eac', class: "form-check-label", htmlFor: this.name, part: label }, this.label)), h(FormControlHelpText, { key: '0f2acd28cbd742726c50eac743bf96acaed8b9d3', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: 'c9837469aeb10591668c1e3d3db1e97047ac1bc1', errorText: this.errorText, name: this.name }))));
44
44
  }
45
45
  };
46
46
 
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-qipqIMyC.js';
2
- import { c as input, l as label, b as inputInvalid, T as inputDisabled, a as inputFocused } from './parts-RvUQ__Pq.js';
3
- import { F as FormControlErrorText } from './form-control-error-text-IXJJ4JpV.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-_b8l4IX7.js';
2
+ import { c as input, l as label, b as inputInvalid, T as inputDisabled, a as inputFocused } from './parts-CA_TyBed.js';
3
+ import { F as FormControlErrorText } from './form-control-error-text-CjrxZorl.js';
4
4
  import './event-types-CZfYo5-1.js';
5
5
 
6
6
  const DateInput = class {
@@ -47,10 +47,10 @@ const DateInput = class {
47
47
  return part;
48
48
  }
49
49
  render() {
50
- return (h(Host, { key: '2e4a67de83ef5dcd64ff15e1f6fbc125db0d121d' }, h("div", { key: 'e73d09d041e2152e88917ac65f8a5b5bb7949df4', class: "form-group d-flex flex-column" }, h("div", { key: '7c0e2d8be29956e61aaa37bc4575efc595382ce7', class: "d-flex gap-2" }, h("label", { key: '1d3692f53203455abacb1addb300549d5d47d8e6', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'e16354b0813c63cd2b21b4185fdd33c0159d9ee3', helpText: this.helpText })), h("input", { key: 'bf559dea1bf215276a69833a0d5ff78502043669', type: this.showTime ? 'datetime-local' : 'date', ref: el => (this.dateInput = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
50
+ return (h(Host, { key: 'be66385ae9cb403d1c94ef487ee42b6b98b63913' }, h("div", { key: 'eea4d3a39cb61ad2a54b0a3d184c984f26747c77', class: "form-group d-flex flex-column" }, h("div", { key: '787c9ba01d365f101d00e16d23506cb7af7cf7aa', class: "d-flex gap-2" }, h("label", { key: '286798b356618d38521da6c9f5dc381d4e68cb7e', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'fd04a23cb0be7da8b732efcaecd9853d10058d2b', helpText: this.helpText })), h("input", { key: 'a25ff1e3b236d6ed30e87033d665d3d136beffbc', type: this.showTime ? 'datetime-local' : 'date', ref: el => (this.dateInput = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
51
51
  this.isFocused = false;
52
52
  this.formControlBlur.emit();
53
- }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), h(FormControlErrorText, { key: 'df02643ac9a15c675726ccba1bfb2ec45ed2c4bc', errorText: this.errorText, name: this.name }))));
53
+ }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), h(FormControlErrorText, { key: 'f0363ed5549cb92b724367bef1cd025fbe597b8d', errorText: this.errorText, name: this.name }))));
54
54
  }
55
55
  static get watchers() { return {
56
56
  "defaultValue": ["handleDefaultValueChange"]
@@ -1,5 +1,5 @@
1
- import { h } from './index-qipqIMyC.js';
2
- import { A as textDanger } from './parts-RvUQ__Pq.js';
1
+ import { h } from './index-_b8l4IX7.js';
2
+ import { A as textDanger } from './parts-CA_TyBed.js';
3
3
 
4
4
  const FormControlErrorText = (props) => {
5
5
  const { errorText, name } = props;