@justifi/webcomponents 6.1.1 → 6.2.0-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (668) hide show
  1. package/dist/cjs/{Business-DCRzZf0w.js → Business-DWHy_-z9.js} +299 -9
  2. package/dist/cjs/bank-account-document-form-inputs_6.cjs.entry.js +132 -0
  3. package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
  4. package/dist/cjs/{business-additional-questions-schema-b8P-0T0O.js → business-additional-questions-schema-CetDMUp7.js} +26 -4
  5. package/dist/cjs/{business-form-options-CMII7nIK.js → business-form-options-e9UFw4P-.js} +1 -1
  6. package/dist/cjs/business-identity-schema-Cd0tvfJr.js +101 -0
  7. package/dist/cjs/{business.service-Cj_NUZsr.js → business.service-DRZurAMP.js} +1 -1
  8. package/dist/cjs/card-form.cjs.entry.js +2 -2
  9. package/dist/cjs/{check-pkg-version-CEZpYUNV.js → check-pkg-version-DHOBcjoo.js} +2 -2
  10. package/dist/cjs/{checkout.service-Bc8L9ixO.js → checkout.service-vZbSE3A3.js} +1 -1
  11. package/dist/cjs/checkouts-list-core.cjs.entry.js +2 -4
  12. package/dist/cjs/country-config-MCOhn8o3.js +68 -0
  13. package/dist/cjs/{custom-popper_2.cjs.entry.js → custom-popper.cjs.entry.js} +2 -22
  14. package/dist/cjs/{dispute.service-DhO_tuDc.js → dispute.service-DV9a61Tu.js} +1 -1
  15. package/dist/cjs/form-alert_5.cjs.entry.js +25 -15
  16. package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
  17. package/dist/cjs/form-control-date.cjs.entry.js +2 -2
  18. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
  19. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +3 -3
  20. package/dist/cjs/form-control-monetary.cjs.entry.js +2 -2
  21. package/dist/cjs/form-control-number-masked_3.cjs.entry.js +119 -0
  22. package/dist/cjs/form-control-number.cjs.entry.js +2 -2
  23. package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
  24. package/dist/cjs/{form-control-select_2.cjs.entry.js → form-control-select_3.cjs.entry.js} +23 -4
  25. package/dist/cjs/{form-input-masks-DgXd0f4V.js → form-input-masks-BnNFJ3IJ.js} +9 -4
  26. package/dist/cjs/{get-business-o5jPq_ME.js → get-business-D9ZHyPem.js} +1 -1
  27. package/dist/cjs/{get-payment-details-BinT-ZEP.js → get-payment-details-AYzxPu-X.js} +1 -1
  28. package/dist/cjs/{get-subaccounts-BoTVdl7v.js → get-subaccounts-C_KD197w.js} +1 -1
  29. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
  30. package/dist/cjs/hidden-input_2.cjs.entry.js +5 -5
  31. package/dist/cjs/{input-handlers-DYl_0IwC.js → input-handlers-D6QMwPTB.js} +2 -2
  32. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +121 -64
  33. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +17 -18
  34. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +8 -8
  35. package/dist/cjs/justifi-apple-pay_8.cjs.entry.js +8 -10
  36. package/dist/cjs/justifi-bank-account-billing-form-simple_9.cjs.entry.js +16 -17
  37. package/dist/cjs/justifi-business-details.cjs.entry.js +5 -7
  38. package/dist/cjs/justifi-business-form.cjs.entry.js +16 -12
  39. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +14 -6
  40. package/dist/cjs/justifi-checkout.cjs.entry.js +5 -7
  41. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +2 -4
  42. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +6 -8
  43. package/dist/cjs/justifi-details.cjs.entry.js +1 -1
  44. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
  45. package/dist/cjs/justifi-dispute-management.cjs.entry.js +5 -7
  46. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +7 -9
  47. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +3 -5
  48. package/dist/cjs/justifi-order-terminals.cjs.entry.js +7 -9
  49. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +22 -13
  50. package/dist/cjs/justifi-payment-details.cjs.entry.js +5 -7
  51. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +36 -21
  52. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +5 -7
  53. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +5 -7
  54. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
  55. package/dist/cjs/justifi-payments-list.cjs.entry.js +5 -7
  56. package/dist/cjs/justifi-payout-details.cjs.entry.js +4 -6
  57. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +5 -7
  58. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
  59. package/dist/cjs/justifi-payouts-list.cjs.entry.js +6 -8
  60. package/dist/cjs/justifi-refund-payment.cjs.entry.js +5 -7
  61. package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +1 -1
  62. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +3 -5
  63. package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
  64. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +3 -5
  65. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +5 -7
  66. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +2 -4
  67. package/dist/cjs/justifi-terminals-list.cjs.entry.js +6 -8
  68. package/dist/cjs/loader.cjs.js +1 -1
  69. package/dist/cjs/{package-D2S7GRvh.js → package-BacF7Q_h.js} +1 -1
  70. package/dist/cjs/pagination-menu.cjs.entry.js +3 -3
  71. package/dist/cjs/payment-details-core.cjs.entry.js +9 -11
  72. package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
  73. package/dist/cjs/{payment.service-C9thkR4g.js → payment.service-1t60I69m.js} +1 -1
  74. package/dist/cjs/payments-list-core.cjs.entry.js +2 -4
  75. package/dist/cjs/payout-details-core.cjs.entry.js +3 -3
  76. package/dist/cjs/{payout.service-CGZxpQMq.js → payout.service-CQEXfufW.js} +1 -1
  77. package/dist/cjs/payouts-list-core.cjs.entry.js +2 -4
  78. package/dist/cjs/{schema-validations-Bj7eYNO8.js → schema-validations-0mjPveQ0.js} +45 -6
  79. package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
  80. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +3 -5
  81. package/dist/cjs/{terminal-orders-table-7ew1vCKk.js → terminal-orders-table-B4ZXHj3w.js} +1 -1
  82. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
  83. package/dist/cjs/{terminal.service-BkKxH-k4.js → terminal.service-BlW-CJ67.js} +1 -1
  84. package/dist/cjs/terminals-list-core.cjs.entry.js +2 -4
  85. package/dist/cjs/webcomponents.cjs.js +1 -1
  86. package/dist/collection/api/BankAccount.js +4 -0
  87. package/dist/collection/api/Business.js +16 -1
  88. package/dist/collection/collection-manifest.json +4 -1
  89. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +7 -6
  90. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +36 -4
  91. package/dist/collection/components/business-forms/business-form/business-form.js +6 -2
  92. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +46 -9
  93. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +32 -10
  94. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +26 -6
  95. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +29 -3
  96. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +48 -6
  97. package/dist/collection/components/business-forms/owner-form/owner-form.js +26 -1
  98. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
  99. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +1 -1
  100. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.js +88 -0
  101. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +2 -1
  102. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.js +50 -0
  103. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +36 -5
  104. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +26 -1
  105. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +47 -7
  106. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +26 -1
  107. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +26 -1
  108. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +26 -1
  109. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +43 -4
  110. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +33 -4
  111. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +26 -1
  112. package/dist/collection/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.js +101 -0
  113. package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +2 -2
  114. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +35 -10
  115. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +26 -1
  116. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +39 -20
  117. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
  118. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +34 -6
  119. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
  120. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
  121. package/dist/collection/components/business-forms/payment-provisioning/test/mockBusiness.js +52 -0
  122. package/dist/collection/components/business-forms/schemas/business-address-schema.js +41 -19
  123. package/dist/collection/components/business-forms/schemas/business-bank-account-schema.js +74 -39
  124. package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +27 -4
  125. package/dist/collection/components/business-forms/schemas/business-form-schema.js +7 -4
  126. package/dist/collection/components/business-forms/schemas/business-identity-schema.js +53 -24
  127. package/dist/collection/components/business-forms/schemas/schema-validations.js +41 -4
  128. package/dist/collection/components/business-forms/utils/country-config.js +47 -0
  129. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
  130. package/dist/collection/components/checkout/card-form/card-form.js +2 -2
  131. package/dist/collection/components/checkout/checkout.js +2 -2
  132. package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
  133. package/dist/collection/components/checkout/saved-payment-method.js +1 -1
  134. package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
  135. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
  136. package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
  137. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  138. package/dist/collection/components/dispute-management/dispute-management.js +1 -1
  139. package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
  140. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  141. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  142. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  143. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  144. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  145. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  146. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  147. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  148. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  149. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  150. package/dist/collection/components/filters/table-filters-menu.js +1 -1
  151. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  152. package/dist/collection/components/modular-checkout/modular-checkout.js +3 -4
  153. package/dist/collection/components/modular-checkout/sub-components/bank-account-billing-form-simple.js +1 -1
  154. package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
  155. package/dist/collection/components/modular-checkout/sub-components/card-billing-form-simple.js +1 -1
  156. package/dist/collection/components/modular-checkout/sub-components/card-form.js +2 -2
  157. package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
  158. package/dist/collection/components/modular-checkout/sub-components/summary.js +1 -1
  159. package/dist/collection/components/order-terminals/order-terminals.js +1 -1
  160. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  161. package/dist/collection/components/payment-details/payment-details-core.js +8 -8
  162. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
  163. package/dist/collection/components/payments-list/payments-list-core.js +1 -1
  164. package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
  165. package/dist/collection/components/payments-list/payments-list.js +1 -1
  166. package/dist/collection/components/payout-details/payout-details-core.js +3 -3
  167. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +1 -1
  168. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  169. package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
  170. package/dist/collection/components/payouts-list/payouts-list.js +1 -1
  171. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
  172. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
  173. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
  174. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  175. package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
  176. package/dist/collection/components/terminals-list/terminals-list.js +1 -1
  177. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +3 -4
  178. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  179. package/dist/collection/ui-components/details/details.js +1 -1
  180. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  181. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  182. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  183. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  184. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  185. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  186. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  187. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  188. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  189. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  190. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  191. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  192. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  193. package/dist/collection/ui-components/pagination-menu/pagination-menu.js +3 -3
  194. package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
  195. package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
  196. package/dist/collection/ui-components/shadow-dom-components/justifi-radio-list-item.js +1 -1
  197. package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
  198. package/dist/collection/utils/country-codes.js +5 -0
  199. package/dist/collection/utils/form-input-masks.js +8 -0
  200. package/dist/collection/utils/province-options.js +20 -0
  201. package/dist/docs.json +1129 -147
  202. package/dist/esm/{Api-DhiA2e_P.js → Api-K9QH1Aki.js} +1 -1
  203. package/dist/esm/{Business-BCoP0TAV.js → Business-B5rtFhtR.js} +290 -3
  204. package/dist/esm/{Refund-B-iOTRxz.js → Refund-L_muwEAh.js} +1 -1
  205. package/dist/esm/additional-questions-details_5.entry.js +3 -3
  206. package/dist/esm/{badge-CtdO-tEY.js → badge-B8fF98jp.js} +1 -1
  207. package/dist/esm/bank-account-document-form-inputs_6.entry.js +125 -0
  208. package/dist/esm/bank-account-form.entry.js +5 -5
  209. package/dist/esm/{business-additional-questions-schema-9FAJSx_D.js → business-additional-questions-schema-DSvdNuI1.js} +26 -5
  210. package/dist/esm/business-details-core.entry.js +3 -3
  211. package/dist/esm/{business-form-options-CgssATyg.js → business-form-options-D6s5H4RI.js} +2 -2
  212. package/dist/esm/business-identity-schema-mN4VhA1v.js +94 -0
  213. package/dist/esm/{business.service-D55OVyco.js → business.service-BJcGEUDH.js} +3 -3
  214. package/dist/esm/{button-DtTaQHMK.js → button-DZoLTGMB.js} +1 -1
  215. package/dist/esm/card-form.entry.js +5 -5
  216. package/dist/esm/{check-pkg-version-Ba95SWgY.js → check-pkg-version-D2zmagAo.js} +4 -4
  217. package/dist/esm/{checkout.service-fwbqSq8g.js → checkout.service-aymuZDC9.js} +3 -3
  218. package/dist/esm/checkouts-list-core.entry.js +9 -11
  219. package/dist/esm/{checkouts-table-B6gGDtOr.js → checkouts-table-B8k-Aylm.js} +3 -3
  220. package/dist/esm/country-config-BQ4D46Lb.js +64 -0
  221. package/dist/esm/{custom-popper_2.entry.js → custom-popper.entry.js} +3 -22
  222. package/dist/esm/{dispute.service-Cdq3_yRo.js → dispute.service-DiPbsswm.js} +3 -3
  223. package/dist/esm/form-alert_5.entry.js +25 -15
  224. package/dist/esm/form-control-checkbox.entry.js +5 -5
  225. package/dist/esm/form-control-date.entry.js +4 -4
  226. package/dist/esm/{form-control-error-text-bprS-t9d.js → form-control-error-text-BmD6bGbR.js} +1 -1
  227. package/dist/esm/form-control-file-v2_2.entry.js +5 -5
  228. package/dist/esm/{form-control-help-text-Bvnp-IAG.js → form-control-help-text-DbIhIcc6.js} +1 -1
  229. package/dist/esm/form-control-monetary-provisioning.entry.js +6 -6
  230. package/dist/esm/form-control-monetary.entry.js +6 -6
  231. package/dist/esm/form-control-number-masked_3.entry.js +115 -0
  232. package/dist/esm/form-control-number.entry.js +5 -5
  233. package/dist/esm/form-control-radio.entry.js +3 -3
  234. package/dist/esm/{form-control-select_2.entry.js → form-control-select_3.entry.js} +25 -7
  235. package/dist/esm/{form-input-masks-B-iV5cYd.js → form-input-masks-CVaOFfrI.js} +9 -3
  236. package/dist/esm/{get-business-Crb6P-iI.js → get-business-Xt7B5dSo.js} +1 -1
  237. package/dist/esm/{get-payment-details-sGoWyAat.js → get-payment-details-DcC5v85s.js} +2 -2
  238. package/dist/esm/{get-subaccounts-BsJSlShO.js → get-subaccounts-CMJMDwSP.js} +3 -3
  239. package/dist/esm/gross-payment-chart-core.entry.js +5 -5
  240. package/dist/esm/{header-1-C1Hnxki8.js → header-1-umkpdspt.js} +1 -1
  241. package/dist/esm/{header-3-Bq8fpjm-.js → header-3-CD5K5vCa.js} +1 -1
  242. package/dist/esm/hidden-input_2.entry.js +7 -7
  243. package/dist/esm/{input-handlers-CX6mSvOM.js → input-handlers-D3y0TzH9.js} +1 -1
  244. package/dist/esm/{insurance-state-CVme82j7.js → insurance-state-sR5DrCdu.js} +1 -1
  245. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +127 -70
  246. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +22 -23
  247. package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
  248. package/dist/esm/justifi-apple-pay_8.entry.js +16 -18
  249. package/dist/esm/justifi-bank-account-billing-form-simple_9.entry.js +22 -23
  250. package/dist/esm/justifi-business-details.entry.js +10 -12
  251. package/dist/esm/justifi-business-form.entry.js +23 -19
  252. package/dist/esm/justifi-business-representative-form-inputs.entry.js +15 -7
  253. package/dist/esm/justifi-checkout.entry.js +9 -11
  254. package/dist/esm/justifi-checkouts-list-filters.entry.js +5 -7
  255. package/dist/esm/justifi-checkouts-list.entry.js +12 -14
  256. package/dist/esm/justifi-details.entry.js +3 -3
  257. package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
  258. package/dist/esm/justifi-dispute-management.entry.js +8 -10
  259. package/dist/esm/justifi-dispute-notification_3.entry.js +13 -15
  260. package/dist/esm/justifi-gross-payment-chart.entry.js +8 -10
  261. package/dist/esm/justifi-order-terminals.entry.js +12 -14
  262. package/dist/esm/justifi-owner-form_3.entry.js +27 -18
  263. package/dist/esm/justifi-payment-details.entry.js +10 -12
  264. package/dist/esm/justifi-payment-provisioning-core.entry.js +38 -23
  265. package/dist/esm/justifi-payment-provisioning.entry.js +8 -10
  266. package/dist/esm/justifi-payment-transactions-list.entry.js +11 -13
  267. package/dist/esm/justifi-payments-list-filters.entry.js +4 -4
  268. package/dist/esm/justifi-payments-list.entry.js +12 -14
  269. package/dist/esm/justifi-payout-details.entry.js +9 -11
  270. package/dist/esm/justifi-payout-transactions-list.entry.js +11 -13
  271. package/dist/esm/justifi-payouts-list-filters.entry.js +4 -4
  272. package/dist/esm/justifi-payouts-list.entry.js +13 -15
  273. package/dist/esm/justifi-refund-payment.entry.js +11 -13
  274. package/dist/esm/justifi-saved-payment-method.entry.js +2 -2
  275. package/dist/esm/justifi-season-interruption-insurance.entry.js +9 -11
  276. package/dist/esm/justifi-skeleton.entry.js +3 -3
  277. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +6 -8
  278. package/dist/esm/justifi-terminal-orders-list.entry.js +10 -12
  279. package/dist/esm/justifi-terminals-list-filters.entry.js +5 -7
  280. package/dist/esm/justifi-terminals-list.entry.js +12 -14
  281. package/dist/esm/loader.js +1 -1
  282. package/dist/esm/{package-Csfiax9X.js → package-C7cvPZSk.js} +1 -1
  283. package/dist/esm/pagination-menu.entry.js +4 -4
  284. package/dist/esm/{parts-xDbRW9xn.js → parts-Dj_zevuD.js} +1 -1
  285. package/dist/esm/payment-details-core.entry.js +16 -18
  286. package/dist/esm/payment-method-option.entry.js +2 -2
  287. package/dist/esm/{payment.service-BoQ1MW1k.js → payment.service-C0xnydJ8.js} +3 -3
  288. package/dist/esm/payments-list-core.entry.js +10 -12
  289. package/dist/esm/{payments-status-cvtVmtY5.js → payments-status-CzazNnFv.js} +1 -1
  290. package/dist/esm/{payments-table-D_BlyU1F.js → payments-table-BPKxBAJ0.js} +3 -3
  291. package/dist/esm/payout-details-core.entry.js +10 -10
  292. package/dist/esm/{payout.service-xcBdom3q.js → payout.service-Cl4yxnrx.js} +3 -3
  293. package/dist/esm/payouts-list-core.entry.js +10 -12
  294. package/dist/esm/{payouts-status-D-vjrqBb.js → payouts-status-rKlX41bK.js} +1 -1
  295. package/dist/esm/{payouts-table-Clj8YGLV.js → payouts-table-C6ZDcd_-.js} +3 -3
  296. package/dist/esm/{schema-validations-B9dmY7ME.js → schema-validations-BFoU1cR8.js} +41 -6
  297. package/dist/esm/{skeleton-B8EUwt4b.js → skeleton-BEoPu3My.js} +1 -1
  298. package/dist/esm/{spinner-CYXkn1fh.js → spinner-Ac-w5zWg.js} +1 -1
  299. package/dist/esm/{table-Bj20uWfu.js → table-BCwizIf9.js} +2 -2
  300. package/dist/esm/table-filters-menu.entry.js +3 -3
  301. package/dist/esm/terminal-orders-list-core.entry.js +9 -11
  302. package/dist/esm/{terminal-orders-table-DzBpIW8i.js → terminal-orders-table-BBQsoUh8.js} +5 -5
  303. package/dist/esm/terminal-quantity-selector.entry.js +2 -2
  304. package/dist/esm/{terminal.service-l6zTIPZ3.js → terminal.service-mwaS-Mbj.js} +3 -3
  305. package/dist/esm/terminals-list-core.entry.js +9 -11
  306. package/dist/esm/{terminals-table-BMS5tazC.js → terminals-table-ByiFdTfy.js} +3 -3
  307. package/dist/esm/{utils-BOijEGPV.js → utils-CIaHqjQt.js} +1 -1
  308. package/dist/esm/{utils-DRwofES0.js → utils-KBIYAa0D.js} +1 -1
  309. package/dist/esm/webcomponents.js +1 -1
  310. package/dist/module/Business.js +290 -3
  311. package/dist/module/additional-questions.js +2 -2
  312. package/dist/module/additional-statement.js +2 -2
  313. package/dist/module/bank-account-billing-form-simple.js +1 -1
  314. package/dist/module/bank-account-document-inputs.js +1 -1
  315. package/dist/module/bank-account-form-inputs-canada.d.ts +11 -0
  316. package/dist/module/bank-account-form-inputs-canada.js +6 -0
  317. package/dist/module/bank-account-form-inputs-canada2.js +68 -0
  318. package/dist/module/bank-account-form-inputs2.js +9 -2
  319. package/dist/module/bank-account-form.js +2 -2
  320. package/dist/module/bank-account-read-only-value.d.ts +11 -0
  321. package/dist/module/bank-account-read-only-value.js +6 -0
  322. package/dist/module/bank-account-read-only-value2.js +33 -0
  323. package/dist/module/bank-account.js +2 -2
  324. package/dist/module/billing-form-full.js +1 -1
  325. package/dist/module/business-additional-questions-form-step.js +1 -1
  326. package/dist/module/business-address-schema.js +40 -20
  327. package/dist/module/business-bank-account-form-step-core.js +101 -48
  328. package/dist/module/business-bank-account-form-step.js +18 -5
  329. package/dist/module/business-core-info-form-step-core.js +22 -7
  330. package/dist/module/business-core-info-form-step.js +2 -1
  331. package/dist/module/business-core-info-schema.js +26 -5
  332. package/dist/module/business-core-info.js +12 -4
  333. package/dist/module/business-identity-schema.js +52 -25
  334. package/dist/module/business-owners-form-step-core.js +20 -13
  335. package/dist/module/business-owners-form-step.js +22 -15
  336. package/dist/module/business-representative-form-inputs.js +34 -17
  337. package/dist/module/business-representative-form-step-core.js +29 -18
  338. package/dist/module/business-representative-form-step.js +24 -17
  339. package/dist/module/business-representative.js +37 -19
  340. package/dist/module/business-terms-conditions-form-step.js +1 -1
  341. package/dist/module/button.js +1 -1
  342. package/dist/module/cancellation-policy.js +2 -2
  343. package/dist/module/card-billing-form-simple.js +1 -1
  344. package/dist/module/card-form.js +2 -2
  345. package/dist/module/card-form2.js +2 -2
  346. package/dist/module/checkouts-list-core2.js +1 -1
  347. package/dist/module/country-config.js +64 -0
  348. package/dist/module/custom-popper2.js +2 -2
  349. package/dist/module/customer-details.js +2 -2
  350. package/dist/module/details.js +1 -1
  351. package/dist/module/dispute-management-core.js +1 -1
  352. package/dist/module/dispute-notification.js +2 -2
  353. package/dist/module/dispute-response-core.js +2 -2
  354. package/dist/module/dispute-response.js +1 -1
  355. package/dist/module/duplicate-charge.js +2 -2
  356. package/dist/module/electronic-evidence.js +2 -2
  357. package/dist/module/form-address-fields.js +65 -0
  358. package/dist/module/form-control-checkbox2.js +2 -2
  359. package/dist/module/form-control-date2.js +2 -2
  360. package/dist/module/form-control-file-v22.js +1 -1
  361. package/dist/module/form-control-file2.js +2 -2
  362. package/dist/module/form-control-monetary-provisioning2.js +2 -2
  363. package/dist/module/form-control-monetary2.js +2 -2
  364. package/dist/module/form-control-number-masked2.js +2 -2
  365. package/dist/module/form-control-number.js +2 -2
  366. package/dist/module/form-control-radio2.js +2 -2
  367. package/dist/module/form-control-select2.js +2 -2
  368. package/dist/module/form-control-text2.js +2 -2
  369. package/dist/module/form-control-textarea2.js +2 -2
  370. package/dist/module/form-input-masks.js +9 -3
  371. package/dist/module/get-business.js +1 -1
  372. package/dist/module/gross-payment-chart-core2.js +1 -1
  373. package/dist/module/hidden-input2.js +1 -1
  374. package/dist/module/identity-address-form.js +16 -14
  375. package/dist/module/iframe-input2.js +3 -3
  376. package/dist/module/input-handlers.js +1 -1
  377. package/dist/module/justifi-business-form.js +41 -29
  378. package/dist/module/justifi-button2.js +1 -1
  379. package/dist/module/justifi-checkout.js +2 -2
  380. package/dist/module/justifi-checkouts-list-filters.js +1 -1
  381. package/dist/module/justifi-checkouts-list.js +1 -1
  382. package/dist/module/justifi-dispute-management.js +1 -1
  383. package/dist/module/justifi-form-address-fields.d.ts +11 -0
  384. package/dist/module/justifi-form-address-fields.js +6 -0
  385. package/dist/module/justifi-header2.js +1 -1
  386. package/dist/module/justifi-order-terminals.js +3 -3
  387. package/dist/module/justifi-payment-provisioning.js +67 -49
  388. package/dist/module/justifi-payment-transactions-list.js +1 -1
  389. package/dist/module/justifi-payments-list-filters.js +2 -2
  390. package/dist/module/justifi-payments-list.js +1 -1
  391. package/dist/module/justifi-payout-transactions-list.js +1 -1
  392. package/dist/module/justifi-payouts-list-filters.js +2 -2
  393. package/dist/module/justifi-payouts-list.js +1 -1
  394. package/dist/module/justifi-radio-list-item2.js +1 -1
  395. package/dist/module/justifi-saved-payment-method.js +1 -1
  396. package/dist/module/justifi-skeleton.js +1 -1
  397. package/dist/module/justifi-terminal-orders-list-filters.js +2 -2
  398. package/dist/module/justifi-terminal-orders-list.js +1 -1
  399. package/dist/module/justifi-terminals-list-filters.js +1 -1
  400. package/dist/module/justifi-terminals-list.js +1 -1
  401. package/dist/module/legal-address-form-step-core.js +26 -19
  402. package/dist/module/legal-address-form-step.js +16 -9
  403. package/dist/module/legal-address-form.js +18 -15
  404. package/dist/module/modular-checkout.js +1 -1
  405. package/dist/module/owner-form-core2.js +23 -15
  406. package/dist/module/owner-form-inputs2.js +34 -15
  407. package/dist/module/owner-form.js +20 -13
  408. package/dist/module/package.js +1 -1
  409. package/dist/module/pagination-menu2.js +3 -3
  410. package/dist/module/parts.js +1 -1
  411. package/dist/module/payment-details-core2.js +8 -8
  412. package/dist/module/payment-method-option.js +1 -1
  413. package/dist/module/payment-provisioning-core.js +104 -69
  414. package/dist/module/payment-provisioning-form-buttons.js +1 -1
  415. package/dist/module/payment-provisioning-form-steps.js +75 -54
  416. package/dist/module/payments-list-core2.js +1 -1
  417. package/dist/module/payout-details-core2.js +3 -3
  418. package/dist/module/payouts-list-core2.js +1 -1
  419. package/dist/module/product-or-service.js +2 -2
  420. package/dist/module/refund-policy.js +2 -2
  421. package/dist/module/save-new-payment-method.js +1 -1
  422. package/dist/module/schema-validations.js +41 -6
  423. package/dist/module/shipping-details.js +2 -2
  424. package/dist/module/summary.js +1 -1
  425. package/dist/module/table-filters-menu2.js +1 -1
  426. package/dist/module/terminal-orders-list-core2.js +1 -1
  427. package/dist/module/terminal-quantity-selector2.js +2 -2
  428. package/dist/module/terminals-list-core2.js +1 -1
  429. package/dist/module/tokenize-payment-method.js +1 -1
  430. package/dist/types/api/BankAccount.d.ts +6 -0
  431. package/dist/types/api/Business.d.ts +9 -0
  432. package/dist/types/components/business-forms/business-form/business-core-info/business-core-info.d.ts +3 -0
  433. package/dist/types/components/business-forms/business-form/business-form.d.ts +2 -0
  434. package/dist/types/components/business-forms/business-form/business-representative/business-representative.d.ts +4 -1
  435. package/dist/types/components/business-forms/business-form/legal-address-form/legal-address-form.d.ts +2 -0
  436. package/dist/types/components/business-forms/owner-form/identity-address/identity-address-form.d.ts +2 -0
  437. package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +2 -0
  438. package/dist/types/components/business-forms/owner-form/owner-form-inputs.d.ts +3 -0
  439. package/dist/types/components/business-forms/owner-form/owner-form.d.ts +2 -0
  440. package/dist/types/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.d.ts +7 -0
  441. package/dist/types/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.d.ts +5 -0
  442. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.d.ts +5 -0
  443. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +2 -0
  444. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +3 -0
  445. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.d.ts +2 -0
  446. package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.d.ts +2 -0
  447. package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.d.ts +2 -0
  448. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.d.ts +3 -0
  449. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +2 -0
  450. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.d.ts +2 -0
  451. package/dist/types/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.d.ts +8 -0
  452. package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +2 -0
  453. package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.d.ts +2 -0
  454. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-core.d.ts +4 -2
  455. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-form-steps.d.ts +2 -0
  456. package/dist/types/components/business-forms/payment-provisioning/test/mockBusiness.d.ts +12 -0
  457. package/dist/types/components/business-forms/schemas/business-address-schema.d.ts +54 -2
  458. package/dist/types/components/business-forms/schemas/business-bank-account-schema.d.ts +14 -16
  459. package/dist/types/components/business-forms/schemas/business-core-info-schema.d.ts +67 -3
  460. package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +165 -7
  461. package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +122 -2
  462. package/dist/types/components/business-forms/schemas/schema-validations.d.ts +5 -0
  463. package/dist/types/components.d.ts +119 -10
  464. package/dist/types/utils/country-codes.d.ts +4 -0
  465. package/dist/types/utils/form-input-masks.d.ts +1 -0
  466. package/dist/types/utils/province-options.d.ts +5 -0
  467. package/dist/webcomponents/p-005a79d5.entry.js +1 -0
  468. package/dist/webcomponents/p-07f7aaf6.entry.js +1 -0
  469. package/dist/webcomponents/p-0926c397.entry.js +1 -0
  470. package/dist/webcomponents/p-14e26a6c.entry.js +1 -0
  471. package/dist/webcomponents/{p-0eb69f41.entry.js → p-1c362f36.entry.js} +1 -1
  472. package/dist/webcomponents/{p-0217783c.entry.js → p-221ec54e.entry.js} +4 -4
  473. package/dist/webcomponents/p-24621c40.entry.js +1 -0
  474. package/dist/webcomponents/p-33bf5532.entry.js +1 -0
  475. package/dist/webcomponents/p-3467fa38.entry.js +1 -0
  476. package/dist/webcomponents/p-3af0b0ad.entry.js +1 -0
  477. package/dist/webcomponents/p-3b43f8c0.entry.js +1 -0
  478. package/dist/webcomponents/p-3f7703bf.entry.js +1 -0
  479. package/dist/webcomponents/p-4180a11b.entry.js +1 -0
  480. package/dist/webcomponents/p-4d243123.entry.js +1 -0
  481. package/dist/webcomponents/p-4d6e0ebe.entry.js +1 -0
  482. package/dist/webcomponents/p-5277f2a6.entry.js +1 -0
  483. package/dist/webcomponents/p-54cea29e.entry.js +1 -0
  484. package/dist/webcomponents/{p-7c8deca8.entry.js → p-580f3bb6.entry.js} +1 -1
  485. package/dist/webcomponents/p-641100ac.entry.js +1 -0
  486. package/dist/webcomponents/p-65090485.entry.js +1 -0
  487. package/dist/webcomponents/p-66833631.entry.js +1 -0
  488. package/dist/webcomponents/p-68aeb5bd.entry.js +1 -0
  489. package/dist/webcomponents/p-694b24e5.entry.js +1 -0
  490. package/dist/webcomponents/p-6a247ab5.entry.js +1 -0
  491. package/dist/webcomponents/p-6a910d9b.entry.js +1 -0
  492. package/dist/webcomponents/p-6d61092c.entry.js +1 -0
  493. package/dist/webcomponents/p-72f5e234.entry.js +1 -0
  494. package/dist/webcomponents/p-7498759d.entry.js +1 -0
  495. package/dist/webcomponents/p-82723f07.entry.js +1 -0
  496. package/dist/webcomponents/p-86372164.entry.js +1 -0
  497. package/dist/webcomponents/{p-b608add9.entry.js → p-8896ab68.entry.js} +1 -1
  498. package/dist/webcomponents/p-89052ce0.entry.js +1 -0
  499. package/dist/webcomponents/{p-ClvhB3WW.js → p-890S0Nwr.js} +1 -1
  500. package/dist/webcomponents/{p-37a93597.entry.js → p-8a156528.entry.js} +1 -1
  501. package/dist/webcomponents/p-8a68be8f.entry.js +1 -0
  502. package/dist/webcomponents/p-91b09245.entry.js +1 -0
  503. package/dist/webcomponents/p-9ce44689.entry.js +1 -0
  504. package/dist/webcomponents/p-B5rtFhtR.js +1 -0
  505. package/dist/webcomponents/{p-CEk3bv0x.js → p-B9MN_vv4.js} +1 -1
  506. package/dist/webcomponents/p-BIcS6lTe.js +1 -0
  507. package/dist/webcomponents/{p-BBx_EQqR.js → p-BRbqaU66.js} +1 -1
  508. package/dist/webcomponents/{p-Bgnhf5c9.js → p-BS7OgSQe.js} +1 -1
  509. package/dist/webcomponents/p-BT473_5I.js +1 -0
  510. package/dist/webcomponents/p-BXMAoCNA.js +1 -0
  511. package/dist/webcomponents/{p-B6IWa9Ph.js → p-BYrSeoci.js} +1 -1
  512. package/dist/webcomponents/{p-CCmDcLao.js → p-BdmYH_IK.js} +1 -1
  513. package/dist/webcomponents/p-BkaPXFTl.js +1 -0
  514. package/dist/webcomponents/{p-hbWSMN3O.js → p-Bm8T-MOQ.js} +1 -1
  515. package/dist/webcomponents/p-BwBb2Opu.js +1 -0
  516. package/dist/webcomponents/p-C6g4MbnB.js +1 -0
  517. package/dist/webcomponents/{p-1ydcg9ti.js → p-C77ElQ41.js} +1 -1
  518. package/dist/webcomponents/p-C7cvPZSk.js +1 -0
  519. package/dist/webcomponents/p-CJ9qo7_g.js +1 -0
  520. package/dist/webcomponents/{p-C98BC5W5.js → p-CPKSE7M4.js} +1 -1
  521. package/dist/webcomponents/{p-yH3TC3ZQ.js → p-CPpUGsw5.js} +1 -1
  522. package/dist/webcomponents/p-CQQ0H4Pb.js +1 -0
  523. package/dist/webcomponents/p-CTAOJGVx.js +1 -0
  524. package/dist/webcomponents/p-CVaOFfrI.js +1 -0
  525. package/dist/webcomponents/p-CVtpEQBE.js +1 -0
  526. package/dist/webcomponents/{p-l8F_7Ihw.js → p-CeSmGv6o.js} +1 -1
  527. package/dist/webcomponents/p-D9Yus-je.js +1 -0
  528. package/dist/webcomponents/p-DIdnZUSh.js +1 -0
  529. package/dist/webcomponents/{p-CH8Y3GSr.js → p-DSCBoCn-.js} +1 -1
  530. package/dist/webcomponents/p-DfKxeSrC.js +1 -0
  531. package/dist/webcomponents/{p-xDbRW9xn.js → p-Dj_zevuD.js} +1 -1
  532. package/dist/webcomponents/p-DqPvh0aN.js +1 -0
  533. package/dist/webcomponents/p-DxVCqvBt.js +1 -0
  534. package/dist/webcomponents/p-DxnXyWPn.js +1 -0
  535. package/dist/webcomponents/p-Dy3-IlQ3.js +1 -0
  536. package/dist/webcomponents/p-Dyk0thEr.js +1 -0
  537. package/dist/webcomponents/p-DzWLLt4t.js +1 -0
  538. package/dist/webcomponents/{p-CmBCj61h.js → p-F6TcNeK4.js} +1 -1
  539. package/dist/webcomponents/{p-au49QgoI.js → p-IYf7zn5J.js} +1 -1
  540. package/dist/webcomponents/{p-C0wTyoTh.js → p-UUJudj_5.js} +1 -1
  541. package/dist/webcomponents/{p-0cac8468.entry.js → p-a2344efb.entry.js} +1 -1
  542. package/dist/webcomponents/p-a42ec25b.entry.js +1 -0
  543. package/dist/webcomponents/p-a81f9fc3.entry.js +1 -0
  544. package/dist/webcomponents/p-b4b5dd24.entry.js +1 -0
  545. package/dist/webcomponents/p-b72794e3.entry.js +1 -0
  546. package/dist/webcomponents/p-be53e425.entry.js +1 -0
  547. package/dist/webcomponents/p-c4d919be.entry.js +1 -0
  548. package/dist/webcomponents/p-c4fb2fe8.entry.js +1 -0
  549. package/dist/webcomponents/p-c6e64ed5.entry.js +1 -0
  550. package/dist/webcomponents/p-c796f813.entry.js +1 -0
  551. package/dist/webcomponents/p-c8656d20.entry.js +1 -0
  552. package/dist/webcomponents/{p-0cf71cbd.entry.js → p-c8e94ab9.entry.js} +1 -1
  553. package/dist/webcomponents/p-c9bed02a.entry.js +1 -0
  554. package/dist/webcomponents/p-cca865be.entry.js +1 -0
  555. package/dist/webcomponents/p-cd108cae.entry.js +1 -0
  556. package/dist/webcomponents/p-cd20dc8f.entry.js +1 -0
  557. package/dist/webcomponents/p-cfd3035e.entry.js +1 -0
  558. package/dist/webcomponents/p-d1e99aac.entry.js +1 -0
  559. package/dist/webcomponents/p-d50f8328.entry.js +1 -0
  560. package/dist/webcomponents/p-d7558874.entry.js +1 -0
  561. package/dist/webcomponents/p-d8bef4b7.entry.js +1 -0
  562. package/dist/webcomponents/p-d8c2cea4.entry.js +1 -0
  563. package/dist/webcomponents/p-d8ef1d2b.entry.js +1 -0
  564. package/dist/webcomponents/p-e4e6f3b8.entry.js +1 -0
  565. package/dist/webcomponents/p-e60e7f6a.entry.js +1 -0
  566. package/dist/webcomponents/{p-2d9b817b.entry.js → p-ea746fa0.entry.js} +1 -1
  567. package/dist/webcomponents/p-f222426b.entry.js +1 -0
  568. package/dist/webcomponents/p-f72f67ef.entry.js +1 -0
  569. package/dist/webcomponents/p-fdf5a349.entry.js +1 -0
  570. package/dist/webcomponents/{p-C8k7a6D-.js → p-i--LPP1s.js} +1 -1
  571. package/dist/webcomponents/p-sCHf--Vc.js +1 -0
  572. package/dist/webcomponents/{p-DdZLLkQ5.js → p-ty1sI-fI.js} +1 -1
  573. package/dist/webcomponents/webcomponents.esm.js +1 -1
  574. package/package.json +13 -13
  575. package/LICENSE +0 -21
  576. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +0 -112
  577. package/dist/cjs/business-identity-schema-aFUle0C9.js +0 -51
  578. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +0 -107
  579. package/dist/cjs/helpers-B5OCqlIM.js +0 -35
  580. package/dist/cjs/state-options-CIT9xdTz.js +0 -246
  581. package/dist/esm/bank-account-document-form-inputs_4.entry.js +0 -107
  582. package/dist/esm/business-identity-schema-CDJzknbg.js +0 -48
  583. package/dist/esm/form-control-number-masked_2.entry.js +0 -104
  584. package/dist/esm/helpers-Mu7LQT-w.js +0 -29
  585. package/dist/esm/state-options-BX8GieXu.js +0 -244
  586. package/dist/module/helpers.js +0 -29
  587. package/dist/module/state-options.js +0 -244
  588. package/dist/webcomponents/p-000d6b5d.entry.js +0 -1
  589. package/dist/webcomponents/p-0256af65.entry.js +0 -1
  590. package/dist/webcomponents/p-0af5269e.entry.js +0 -1
  591. package/dist/webcomponents/p-0f16c00f.entry.js +0 -1
  592. package/dist/webcomponents/p-0f47f052.entry.js +0 -1
  593. package/dist/webcomponents/p-1872ee94.entry.js +0 -1
  594. package/dist/webcomponents/p-281ea1f6.entry.js +0 -1
  595. package/dist/webcomponents/p-2b568e8e.entry.js +0 -1
  596. package/dist/webcomponents/p-2d300faa.entry.js +0 -1
  597. package/dist/webcomponents/p-328117e4.entry.js +0 -1
  598. package/dist/webcomponents/p-32978110.entry.js +0 -1
  599. package/dist/webcomponents/p-40c3d17c.entry.js +0 -1
  600. package/dist/webcomponents/p-44ec2d88.entry.js +0 -1
  601. package/dist/webcomponents/p-44f9739e.entry.js +0 -1
  602. package/dist/webcomponents/p-47997bc2.entry.js +0 -1
  603. package/dist/webcomponents/p-50701f16.entry.js +0 -1
  604. package/dist/webcomponents/p-5235230f.entry.js +0 -1
  605. package/dist/webcomponents/p-526b7442.entry.js +0 -1
  606. package/dist/webcomponents/p-5aae36f3.entry.js +0 -1
  607. package/dist/webcomponents/p-5bd3d86e.entry.js +0 -1
  608. package/dist/webcomponents/p-5c0c35ac.entry.js +0 -1
  609. package/dist/webcomponents/p-78cb62a8.entry.js +0 -1
  610. package/dist/webcomponents/p-7dc9ef8a.entry.js +0 -1
  611. package/dist/webcomponents/p-7eb4b9b4.entry.js +0 -1
  612. package/dist/webcomponents/p-84551ee4.entry.js +0 -1
  613. package/dist/webcomponents/p-854b3db0.entry.js +0 -1
  614. package/dist/webcomponents/p-8663e8bd.entry.js +0 -1
  615. package/dist/webcomponents/p-8S_ROmnq.js +0 -1
  616. package/dist/webcomponents/p-8b3245c4.entry.js +0 -1
  617. package/dist/webcomponents/p-8ca21fab.entry.js +0 -1
  618. package/dist/webcomponents/p-8f8dfd4b.entry.js +0 -1
  619. package/dist/webcomponents/p-9365c7c2.entry.js +0 -1
  620. package/dist/webcomponents/p-9ad7d724.entry.js +0 -1
  621. package/dist/webcomponents/p-B-iV5cYd.js +0 -1
  622. package/dist/webcomponents/p-BX8GieXu.js +0 -1
  623. package/dist/webcomponents/p-BjNuRWXK.js +0 -1
  624. package/dist/webcomponents/p-BlJnA265.js +0 -1
  625. package/dist/webcomponents/p-BoQ6_4Ks.js +0 -1
  626. package/dist/webcomponents/p-C9EQ459H.js +0 -1
  627. package/dist/webcomponents/p-C9iide2W.js +0 -1
  628. package/dist/webcomponents/p-CCLgieAN.js +0 -1
  629. package/dist/webcomponents/p-Csfiax9X.js +0 -1
  630. package/dist/webcomponents/p-D0Peuz-m.js +0 -1
  631. package/dist/webcomponents/p-D6BImiVi.js +0 -1
  632. package/dist/webcomponents/p-DH8F0bsw.js +0 -1
  633. package/dist/webcomponents/p-DQZ5VHTZ.js +0 -1
  634. package/dist/webcomponents/p-DWn9BiNn.js +0 -1
  635. package/dist/webcomponents/p-DfV3dFDB.js +0 -1
  636. package/dist/webcomponents/p-Dt-vy9Le.js +0 -1
  637. package/dist/webcomponents/p-NAjz1Xfo.js +0 -1
  638. package/dist/webcomponents/p-PSJOKMWp.js +0 -1
  639. package/dist/webcomponents/p-RQzxYnz_.js +0 -1
  640. package/dist/webcomponents/p-T2yENPvU.js +0 -1
  641. package/dist/webcomponents/p-a10ae013.entry.js +0 -1
  642. package/dist/webcomponents/p-a8ad5f5c.entry.js +0 -1
  643. package/dist/webcomponents/p-a8e8d944.entry.js +0 -1
  644. package/dist/webcomponents/p-aa14cc74.entry.js +0 -1
  645. package/dist/webcomponents/p-ae8ae5bb.entry.js +0 -1
  646. package/dist/webcomponents/p-b3094b8f.entry.js +0 -1
  647. package/dist/webcomponents/p-baf0d3e7.entry.js +0 -1
  648. package/dist/webcomponents/p-bb53e2e9.entry.js +0 -1
  649. package/dist/webcomponents/p-bdf293f6.entry.js +0 -1
  650. package/dist/webcomponents/p-c089fb5f.entry.js +0 -1
  651. package/dist/webcomponents/p-c6dc30e2.entry.js +0 -1
  652. package/dist/webcomponents/p-d0a2035f.entry.js +0 -1
  653. package/dist/webcomponents/p-d1bceac6.entry.js +0 -1
  654. package/dist/webcomponents/p-d37d752e.entry.js +0 -1
  655. package/dist/webcomponents/p-d4476052.entry.js +0 -1
  656. package/dist/webcomponents/p-da1fb2a3.entry.js +0 -1
  657. package/dist/webcomponents/p-ddc0b742.entry.js +0 -1
  658. package/dist/webcomponents/p-e6011271.entry.js +0 -1
  659. package/dist/webcomponents/p-e6be4e19.entry.js +0 -1
  660. package/dist/webcomponents/p-eaefb320.entry.js +0 -1
  661. package/dist/webcomponents/p-ec9514f8.entry.js +0 -1
  662. package/dist/webcomponents/p-f11a74c3.entry.js +0 -1
  663. package/dist/webcomponents/p-f705fc49.entry.js +0 -1
  664. package/dist/webcomponents/p-fedfe376.entry.js +0 -1
  665. package/dist/webcomponents/p-ffefa09c.entry.js +0 -1
  666. package/dist/webcomponents/p-h5pyZngT.js +0 -1
  667. package/dist/webcomponents/p-tYuXMkCd.js +0 -1
  668. package/dist/webcomponents/p-wQgEEOq_.js +0 -1
@@ -0,0 +1,50 @@
1
+ import { h } from "@stencil/core";
2
+ import { text } from "../../../../styles/parts";
3
+ export class BankAccountReadOnlyValue {
4
+ render() {
5
+ return (h("div", { key: '0d44d4aa265a5fd36ca30f1db072eb834f8bdf1b' }, h("label", { key: '892e6dbdbff5d484df4dfb522f3db8968f46d7d4', class: "form-label", part: text }, this.label), h("div", { key: 'cd617e2302834ad67ebccd64e24d535b2cc19da8', part: text }, this.value || '')));
6
+ }
7
+ static get is() { return "bank-account-read-only-value"; }
8
+ static get properties() {
9
+ return {
10
+ "label": {
11
+ "type": "string",
12
+ "mutable": false,
13
+ "complexType": {
14
+ "original": "string",
15
+ "resolved": "string",
16
+ "references": {}
17
+ },
18
+ "required": false,
19
+ "optional": false,
20
+ "docs": {
21
+ "tags": [],
22
+ "text": ""
23
+ },
24
+ "getter": false,
25
+ "setter": false,
26
+ "reflect": false,
27
+ "attribute": "label"
28
+ },
29
+ "value": {
30
+ "type": "string",
31
+ "mutable": false,
32
+ "complexType": {
33
+ "original": "string",
34
+ "resolved": "string",
35
+ "references": {}
36
+ },
37
+ "required": false,
38
+ "optional": true,
39
+ "docs": {
40
+ "tags": [],
41
+ "text": ""
42
+ },
43
+ "getter": false,
44
+ "setter": false,
45
+ "reflect": false,
46
+ "attribute": "value"
47
+ }
48
+ };
49
+ }
50
+ }
@@ -1,5 +1,6 @@
1
1
  import { h } from "@stencil/core";
2
- import { businessBankAccountSchema } from "../../schemas/business-bank-account-schema";
2
+ import { bankAccountSchemaByCountry } from "../../schemas/business-bank-account-schema";
3
+ import { CountryCode } from "../../../../utils/country-codes";
3
4
  import { FormController } from "../../../../ui-components/form/form";
4
5
  import { BusinessFormStep } from "../../utils";
5
6
  import { heading2 } from "../../../../styles/parts";
@@ -12,8 +13,12 @@ export class BusinessBankAccountFormStepCore {
12
13
  this.existingDocuments = [];
13
14
  this.documentData = new EntityDocumentStorage();
14
15
  this.isLoading = false;
16
+ this.getSchema = () => {
17
+ const schema = bankAccountSchemaByCountry[this.country];
18
+ return schema(this.allowOptionalFields, this.existingDocuments);
19
+ };
15
20
  this.initializeFormController = () => {
16
- this.formController = new FormController(businessBankAccountSchema(this.existingDocuments, this.allowOptionalFields));
21
+ this.formController = new FormController(this.getSchema());
17
22
  this.formController.setInitialValues(Object.assign({}, this.bankAccount));
18
23
  this.formController.errors.subscribe(errors => {
19
24
  this.errors = Object.assign({}, errors);
@@ -130,7 +135,7 @@ export class BusinessBankAccountFormStepCore {
130
135
  }
131
136
  componentWillLoad() {
132
137
  this.getBusiness && this.getData();
133
- this.formController = new FormController(businessBankAccountSchema(this.existingDocuments, this.allowOptionalFields));
138
+ this.formController = new FormController(this.getSchema());
134
139
  }
135
140
  componentDidLoad() {
136
141
  this.formController.errors.subscribe(errors => {
@@ -138,7 +143,8 @@ export class BusinessBankAccountFormStepCore {
138
143
  });
139
144
  }
140
145
  get postPayload() {
141
- let formValues = new BankAccount(this.formController.values.getValue()).payload;
146
+ const values = this.formController.values.getValue();
147
+ const formValues = new BankAccount(values).payload;
142
148
  return formValues;
143
149
  }
144
150
  get existingBankAccount() {
@@ -220,7 +226,7 @@ export class BusinessBankAccountFormStepCore {
220
226
  if (this.isLoading) {
221
227
  return h(PaymentProvisioningLoading, null);
222
228
  }
223
- return (h("form", null, h("fieldset", { class: "mb-4" }, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Bank Account Info"), h("form-control-tooltip", { helpText: "This direct deposit account is the designated bank account where incoming funds will be deposited. The name of this account must match the registered business name exactly. We are not able to accept personal accounts unless your business is a registered sole proprietorship." })), h("hr", { class: "mt-2" }), h("bank-account-form-inputs", { defaultValue: bankAccountDefaultValue, errors: this.errors, inputHandler: this.inputHandler, formDisabled: this.existingBankAccount })), h("fieldset", { class: "mt-4" }, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Document Uploads"), h("form-control-tooltip", { helpText: "One document (voided check or bank statement) is required for underwriting purposes. It needs to visibly show the name tied to the account and the account number. Various file formats such as PDF, DOC, DOCX, JPEG are accepted. Multiple files can be uploaded for each document category." })), h("hr", { class: "mt-2" }), h("business-documents-on-file", { documents: this.existingDocuments, isLoading: this.isLoading }), h("bank-account-document-form-inputs", { inputHandler: this.inputHandler, errors: this.errors, storeFiles: this.storeFiles }))));
229
+ return (h("form", null, h("fieldset", { class: "mb-4" }, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Bank Account Info"), h("form-control-tooltip", { helpText: "This direct deposit account is the designated bank account where incoming funds will be deposited. The name of this account must match the registered business name exactly. We are not able to accept personal accounts unless your business is a registered sole proprietorship." })), h("hr", { class: "mt-2" }), this.country === CountryCode.CAN ? (h("bank-account-form-inputs-canada", { defaultValue: bankAccountDefaultValue, errors: this.errors, inputHandler: this.inputHandler, formDisabled: this.existingBankAccount })) : (h("bank-account-form-inputs", { defaultValue: bankAccountDefaultValue, errors: this.errors, inputHandler: this.inputHandler, formDisabled: this.existingBankAccount }))), h("fieldset", { class: "mt-4" }, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Document Uploads"), h("form-control-tooltip", { helpText: "One document (voided check or bank statement) is required for underwriting purposes. It needs to visibly show the name tied to the account and the account number. Various file formats such as PDF, DOC, DOCX, JPEG are accepted. Multiple files can be uploaded for each document category." })), h("hr", { class: "mt-2" }), h("business-documents-on-file", { documents: this.existingDocuments, isLoading: this.isLoading }), h("bank-account-document-form-inputs", { inputHandler: this.inputHandler, errors: this.errors, storeFiles: this.storeFiles }))));
224
230
  }
225
231
  static get is() { return "justifi-business-bank-account-form-step-core"; }
226
232
  static get properties() {
@@ -328,6 +334,31 @@ export class BusinessBankAccountFormStepCore {
328
334
  "setter": false,
329
335
  "reflect": false,
330
336
  "attribute": "allow-optional-fields"
337
+ },
338
+ "country": {
339
+ "type": "string",
340
+ "mutable": false,
341
+ "complexType": {
342
+ "original": "CountryCode",
343
+ "resolved": "CountryCode.CAN | CountryCode.USA",
344
+ "references": {
345
+ "CountryCode": {
346
+ "location": "import",
347
+ "path": "../../../../utils/country-codes",
348
+ "id": "src/utils/country-codes.ts::CountryCode"
349
+ }
350
+ }
351
+ },
352
+ "required": false,
353
+ "optional": false,
354
+ "docs": {
355
+ "tags": [],
356
+ "text": ""
357
+ },
358
+ "getter": false,
359
+ "setter": false,
360
+ "reflect": false,
361
+ "attribute": "country"
331
362
  }
332
363
  };
333
364
  }
@@ -37,7 +37,7 @@ export class BusinessBankAccountFormStep {
37
37
  }
38
38
  }
39
39
  render() {
40
- return (h("justifi-business-bank-account-form-step-core", { key: 'adb496ad14cd3334d30e571d873150ed8335f833', businessId: this.businessId, getBusiness: this.getBusiness, postBankAccount: this.postBankAccount, postDocumentRecord: this.postDocumentRecord, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
40
+ return (h("justifi-business-bank-account-form-step-core", { key: 'f4e4c31d04884510d5b432b7cced5eea2b618bcd', businessId: this.businessId, getBusiness: this.getBusiness, postBankAccount: this.postBankAccount, postDocumentRecord: this.postDocumentRecord, allowOptionalFields: this.allowOptionalFields, country: this.country, ref: el => this.coreComponent = el }));
41
41
  }
42
42
  static get is() { return "justifi-business-bank-account-form-step"; }
43
43
  static get properties() {
@@ -98,6 +98,31 @@ export class BusinessBankAccountFormStep {
98
98
  "setter": false,
99
99
  "reflect": false,
100
100
  "attribute": "allow-optional-fields"
101
+ },
102
+ "country": {
103
+ "type": "string",
104
+ "mutable": false,
105
+ "complexType": {
106
+ "original": "CountryCode",
107
+ "resolved": "CountryCode.CAN | CountryCode.USA",
108
+ "references": {
109
+ "CountryCode": {
110
+ "location": "import",
111
+ "path": "../../../../utils/country-codes",
112
+ "id": "src/utils/country-codes.ts::CountryCode"
113
+ }
114
+ }
115
+ },
116
+ "required": false,
117
+ "optional": false,
118
+ "docs": {
119
+ "tags": [],
120
+ "text": ""
121
+ },
122
+ "getter": false,
123
+ "setter": false,
124
+ "reflect": false,
125
+ "attribute": "country"
101
126
  }
102
127
  };
103
128
  }
@@ -1,18 +1,22 @@
1
1
  import { h } from "@stencil/core";
2
- import { businessCoreInfoSchema } from "../../schemas/business-core-info-schema";
2
+ import { businessCoreInfoSchemaUSA, businessCoreInfoSchemaCAN } from "../../schemas/business-core-info-schema";
3
3
  import { FormController } from "../../../../ui-components/form/form";
4
4
  import { CoreBusinessInfo } from "../../../../api/Business";
5
5
  import { BusinessFormStep, businessClassificationOptions } from "../../utils";
6
6
  import { PHONE_MASKS } from "../../../../utils/form-input-masks";
7
- import { numberOnlyHandler } from "../../../../ui-components/form/utils";
8
- import { heading2 } from "../../../../styles/parts";
7
+ import { heading2, label, inputDisabled, buttonSecondary } from "../../../../styles/parts";
9
8
  import { PaymentProvisioningLoading } from "../payment-provisioning-loading";
9
+ import { CountryCode } from "../../../../utils/country-codes";
10
+ import { countryLabels } from "../../utils/country-config";
10
11
  export class BusinessCoreInfoFormStepCore {
11
12
  constructor() {
12
13
  this.errors = {};
13
14
  this.coreInfo = {};
14
15
  this.isLoading = false;
16
+ this.isEditingTaxId = false;
15
17
  this.getData = () => {
18
+ if (!this.getBusiness)
19
+ return;
16
20
  this.formLoading.emit(true);
17
21
  this.isLoading = true;
18
22
  this.getBusiness({
@@ -41,6 +45,8 @@ export class BusinessCoreInfoFormStepCore {
41
45
  onSuccess: (response) => {
42
46
  submittedData = response;
43
47
  onSuccess();
48
+ // after successful patch, revert back to read-only for tax id
49
+ this.isEditingTaxId = false;
44
50
  },
45
51
  onError: ({ error, code, severity }) => {
46
52
  submittedData = error;
@@ -69,8 +75,11 @@ export class BusinessCoreInfoFormStepCore {
69
75
  return formValues;
70
76
  }
71
77
  componentWillLoad() {
72
- this.getBusiness && this.getData();
73
- this.formController = new FormController(businessCoreInfoSchema(this.allowOptionalFields));
78
+ const schema = (this.country === CountryCode.CAN)
79
+ ? businessCoreInfoSchemaCAN(this.allowOptionalFields)
80
+ : businessCoreInfoSchemaUSA(this.allowOptionalFields);
81
+ this.formController = new FormController(schema);
82
+ this.getData();
74
83
  }
75
84
  componentDidLoad() {
76
85
  this.formController.errors.subscribe(errors => {
@@ -78,11 +87,16 @@ export class BusinessCoreInfoFormStepCore {
78
87
  });
79
88
  }
80
89
  render() {
90
+ var _a, _b;
81
91
  const coreInfoDefaultValue = this.formController.getInitialValues();
82
92
  if (this.isLoading) {
83
93
  return h(PaymentProvisioningLoading, null);
84
94
  }
85
- return (h("form", null, h("fieldset", null, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Business Information")), h("hr", { class: "mt-2" }), h("div", { class: "row gy-3" }, h("div", { class: "col-12" }, h("form-control-text", { name: "legal_name", label: "Business Name", defaultValue: coreInfoDefaultValue.legal_name, errorText: this.errors.legal_name, inputHandler: this.inputHandler, helpText: "Enter this exactly as it appears on your tax records (don't use acronyms or abbreviations unless you registered that way)." })), h("div", { class: "col-12" }, h("form-control-text", { name: "doing_business_as", label: "Doing Business As (DBA)", defaultValue: coreInfoDefaultValue.doing_business_as, errorText: this.errors.doing_business_as, inputHandler: this.inputHandler, helpText: "Enter this exactly as it appears on your tax records (leave blank if you don't have a registered DBA/trade name)" })), h("div", { class: "col-12 col-md-8" }, h("form-control-select", { name: "classification", label: "Business Classification", options: businessClassificationOptions, defaultValue: coreInfoDefaultValue.classification, errorText: this.errors.classification, inputHandler: this.inputHandler })), h("div", { class: "col-12 col-md-4" }, h("form-control-date", { name: "date_of_incorporation", label: "Date of Incorporation", defaultValue: coreInfoDefaultValue.date_of_incorporation, errorText: this.errors.date_of_incorporation, inputHandler: this.inputHandler })), h("div", { class: "col-12 col-md-6" }, h("form-control-text", { name: "industry", label: "Industry", defaultValue: coreInfoDefaultValue.industry, errorText: this.errors.industry, inputHandler: this.inputHandler, helpText: "Describe what you sell" })), h("div", { class: "col-12 col-md-6" }, h("form-control-text", { name: "tax_id", label: "Tax ID (EIN or SSN)", defaultValue: coreInfoDefaultValue.tax_id, errorText: this.errors.tax_id, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, maxLength: 9, helpText: "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." })), h("div", { class: "col-12" }, h("form-control-text", { name: "website_url", label: "Business Website URL", defaultValue: coreInfoDefaultValue.website_url, errorText: this.errors.website_url, inputHandler: this.inputHandler, helpText: "Don't have a live website? You can use your social media business page, app store link, or staging site URL." })), h("div", { class: "col-12 col-md-6" }, h("form-control-text", { name: "email", label: "Business Email Address", defaultValue: coreInfoDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { class: "col-12 col-md-6" }, h("form-control-number-masked", { name: "phone", label: "Business Phone Number", defaultValue: coreInfoDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US }))))));
95
+ return (h("form", null, h("fieldset", null, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Business Information")), h("hr", { class: "mt-2" }), h("div", { class: "row gy-3" }, h("div", { class: "col-12" }, h("form-control-text", { name: "legal_name", label: "Business Name", defaultValue: coreInfoDefaultValue.legal_name, errorText: this.errors.legal_name, inputHandler: this.inputHandler, helpText: "Enter this exactly as it appears on your tax records (don't use acronyms or abbreviations unless you registered that way)." })), h("div", { class: "col-12" }, h("form-control-text", { name: "doing_business_as", label: "Doing Business As (DBA)", defaultValue: coreInfoDefaultValue.doing_business_as, errorText: this.errors.doing_business_as, inputHandler: this.inputHandler, helpText: "Enter this exactly as it appears on your tax records (leave blank if you don't have a registered DBA/trade name)" })), h("div", { class: "col-12 col-md-8" }, h("form-control-select", { name: "classification", label: "Business Classification", options: businessClassificationOptions, defaultValue: coreInfoDefaultValue.classification, errorText: this.errors.classification, inputHandler: this.inputHandler })), h("div", { class: "col-12 col-md-4" }, h("form-control-date", { name: "date_of_incorporation", label: "Date of Incorporation", defaultValue: coreInfoDefaultValue.date_of_incorporation, errorText: this.errors.date_of_incorporation, inputHandler: this.inputHandler })), h("div", { class: "col-12 col-md-6" }, h("form-control-text", { name: "industry", label: "Industry", defaultValue: coreInfoDefaultValue.industry, errorText: this.errors.industry, inputHandler: this.inputHandler, helpText: "Describe what you sell" })), h("div", { 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: '000000000', 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: () => {
96
+ this.isEditingTaxId = true;
97
+ // Clear last4-equivalent and current value if any future conditional validation depends on it
98
+ this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { tax_id: '', tax_id_last4: null }));
99
+ } }, "Change"))))), h("div", { class: "col-12" }, h("form-control-text", { name: "website_url", label: "Business Website URL", defaultValue: coreInfoDefaultValue.website_url, errorText: this.errors.website_url, inputHandler: this.inputHandler, helpText: "Don't have a live website? You can use your social media business page, app store link, or staging site URL." })), h("div", { class: "col-12 col-md-6" }, h("form-control-text", { name: "email", label: "Business Email Address", defaultValue: coreInfoDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { class: "col-12 col-md-6" }, h("form-control-number-masked", { name: "phone", label: "Business Phone Number", defaultValue: coreInfoDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US }))))));
86
100
  }
87
101
  static get is() { return "justifi-business-core-info-form-step-core"; }
88
102
  static get properties() {
@@ -168,6 +182,31 @@ export class BusinessCoreInfoFormStepCore {
168
182
  "setter": false,
169
183
  "reflect": false,
170
184
  "attribute": "allow-optional-fields"
185
+ },
186
+ "country": {
187
+ "type": "string",
188
+ "mutable": false,
189
+ "complexType": {
190
+ "original": "CountryCode",
191
+ "resolved": "CountryCode.CAN | CountryCode.USA",
192
+ "references": {
193
+ "CountryCode": {
194
+ "location": "import",
195
+ "path": "../../../../utils/country-codes",
196
+ "id": "src/utils/country-codes.ts::CountryCode"
197
+ }
198
+ }
199
+ },
200
+ "required": false,
201
+ "optional": false,
202
+ "docs": {
203
+ "tags": [],
204
+ "text": ""
205
+ },
206
+ "getter": false,
207
+ "setter": false,
208
+ "reflect": false,
209
+ "attribute": "country"
171
210
  }
172
211
  };
173
212
  }
@@ -176,7 +215,8 @@ export class BusinessCoreInfoFormStepCore {
176
215
  "formController": {},
177
216
  "errors": {},
178
217
  "coreInfo": {},
179
- "isLoading": {}
218
+ "isLoading": {},
219
+ "isEditingTaxId": {}
180
220
  };
181
221
  }
182
222
  static get events() {
@@ -34,7 +34,7 @@ export class BusinessCoreInfoFormStep {
34
34
  }
35
35
  }
36
36
  render() {
37
- return (h("justifi-business-core-info-form-step-core", { key: '1d2bd68e87d5f312c54f5a4bda8863b26fdeec5d', businessId: this.businessId, getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
37
+ return (h("justifi-business-core-info-form-step-core", { key: '1aeaeae1d432883c1e242c066881cabc37097032', businessId: this.businessId, getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, country: this.country, ref: el => this.coreComponent = el }));
38
38
  }
39
39
  static get is() { return "justifi-business-core-info-form-step"; }
40
40
  static get properties() {
@@ -95,6 +95,31 @@ export class BusinessCoreInfoFormStep {
95
95
  "setter": false,
96
96
  "reflect": false,
97
97
  "attribute": "allow-optional-fields"
98
+ },
99
+ "country": {
100
+ "type": "string",
101
+ "mutable": false,
102
+ "complexType": {
103
+ "original": "CountryCode",
104
+ "resolved": "CountryCode.CAN | CountryCode.USA",
105
+ "references": {
106
+ "CountryCode": {
107
+ "location": "import",
108
+ "path": "../../../../utils/country-codes",
109
+ "id": "src/utils/country-codes.ts::CountryCode"
110
+ }
111
+ }
112
+ },
113
+ "required": false,
114
+ "optional": false,
115
+ "docs": {
116
+ "tags": [],
117
+ "text": ""
118
+ },
119
+ "getter": false,
120
+ "setter": false,
121
+ "reflect": false,
122
+ "attribute": "country"
98
123
  }
99
124
  };
100
125
  }
@@ -114,7 +114,7 @@ export class BusinessOwnersFormStepCore {
114
114
  return h(PaymentProvisioningLoading, null);
115
115
  }
116
116
  return (h("div", null, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Owners"), h("form-control-tooltip", { helpText: "For partnerships, LLCs or privately held corporations, the business is required to apply with all individuals with 25% or more ownership to the application. For charities and registered non-profits, the business is required to apply with 1 individual with substantial control over the entity, such as a board member or director." })), h("hr", { class: "mt-2" }), h("div", { class: 'row gy-3' }, this.ownersPayload.map((owner) => {
117
- return (h("justifi-owner-form", { key: owner.id, authToken: this.authToken, businessId: this.businessId, ownerId: owner.id, removeOwner: this.removeOwnerForm, newFormOpen: this.newFormOpen, ownersLength: this.ownersPayload.length, allowOptionalFields: this.allowOptionalFields, ref: (ref) => this.matchRef(ref, owner.id) }));
117
+ return (h("justifi-owner-form", { key: owner.id, authToken: this.authToken, businessId: this.businessId, ownerId: owner.id, removeOwner: this.removeOwnerForm, newFormOpen: this.newFormOpen, ownersLength: this.ownersPayload.length, country: this.country, allowOptionalFields: this.allowOptionalFields, ref: (ref) => this.matchRef(ref, owner.id) }));
118
118
  })), h("div", { class: 'd-flex justify-content-start' }, h("div", { class: 'gap-2' }, h(Button, { variant: 'primary', onClick: () => this.addOwnerForm(true), hidden: !this.showAddOwnerButton }, "Add Owner")))));
119
119
  }
120
120
  static get is() { return "justifi-business-owners-form-step-core"; }
@@ -220,6 +220,31 @@ export class BusinessOwnersFormStepCore {
220
220
  "setter": false,
221
221
  "reflect": false,
222
222
  "attribute": "allow-optional-fields"
223
+ },
224
+ "country": {
225
+ "type": "string",
226
+ "mutable": false,
227
+ "complexType": {
228
+ "original": "CountryCode",
229
+ "resolved": "CountryCode.CAN | CountryCode.USA",
230
+ "references": {
231
+ "CountryCode": {
232
+ "location": "import",
233
+ "path": "../../../../utils/country-codes",
234
+ "id": "src/utils/country-codes.ts::CountryCode"
235
+ }
236
+ }
237
+ },
238
+ "required": false,
239
+ "optional": false,
240
+ "docs": {
241
+ "tags": [],
242
+ "text": ""
243
+ },
244
+ "getter": false,
245
+ "setter": false,
246
+ "reflect": false,
247
+ "attribute": "country"
223
248
  }
224
249
  };
225
250
  }
@@ -34,7 +34,7 @@ export class BusinessOwnersFormStep {
34
34
  }
35
35
  }
36
36
  render() {
37
- return (h(Host, { key: '3420b6e74da344665583a49146b5b7fd1be40155' }, h("justifi-business-owners-form-step-core", { key: '3e092450028815a0b134af4294edbb7589864409', authToken: this.authToken, businessId: this.businessId, getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: (el) => this.coreComponent = el })));
37
+ return (h(Host, { key: '510b3ece6194fa6c34c04ba4d87718490631b69d' }, h("justifi-business-owners-form-step-core", { key: '01b034456e183d39b6adc4b9f9d36e289483eb9b', authToken: this.authToken, businessId: this.businessId, getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, country: this.country, ref: (el) => this.coreComponent = el })));
38
38
  }
39
39
  static get is() { return "justifi-business-owners-form-step"; }
40
40
  static get properties() {
@@ -95,6 +95,31 @@ export class BusinessOwnersFormStep {
95
95
  "setter": false,
96
96
  "reflect": false,
97
97
  "attribute": "allow-optional-fields"
98
+ },
99
+ "country": {
100
+ "type": "string",
101
+ "mutable": false,
102
+ "complexType": {
103
+ "original": "CountryCode",
104
+ "resolved": "CountryCode.CAN | CountryCode.USA",
105
+ "references": {
106
+ "CountryCode": {
107
+ "location": "import",
108
+ "path": "../../../../utils/country-codes",
109
+ "id": "src/utils/country-codes.ts::CountryCode"
110
+ }
111
+ }
112
+ },
113
+ "required": false,
114
+ "optional": false,
115
+ "docs": {
116
+ "tags": [],
117
+ "text": ""
118
+ },
119
+ "getter": false,
120
+ "setter": false,
121
+ "reflect": false,
122
+ "attribute": "country"
98
123
  }
99
124
  };
100
125
  }
@@ -1,9 +1,11 @@
1
1
  import { h } from "@stencil/core";
2
2
  import { updateAddressFormValues, updateDateOfBirthFormValues, updateFormValues } from "../../utils/input-handlers";
3
- import { PHONE_MASKS, SSN_MASK } from "../../../../utils/form-input-masks";
4
- import { heading2 } from "../../../../styles/parts";
3
+ import { PHONE_MASKS, IDENTITY_MASKS } from "../../../../utils/form-input-masks";
4
+ import { heading2, label, inputDisabled, buttonSecondary } from "../../../../styles/parts";
5
+ import { countryLabels } from "../../utils/country-config";
5
6
  export class RepresentativeFormInputs {
6
7
  constructor() {
8
+ this.isEditingIdentification = false;
7
9
  this.inputHandler = (name, value) => {
8
10
  updateFormValues(this.formController, { [name]: value });
9
11
  };
@@ -12,8 +14,15 @@ export class RepresentativeFormInputs {
12
14
  };
13
15
  }
14
16
  render() {
15
- var _a, _b, _c, _d, _e, _f, _g;
16
- return (h("form", { key: 'e4b7a532e18a921a5a28aab31f679fbbad164198' }, h("fieldset", { key: 'd7056e5ee25625adb563e2687f581157653c8a9d' }, h("div", { key: '456aab0ef1399a7c1d272059c881c6c6f3d0e87c', class: "d-flex align-items-center gap-2" }, h("legend", { key: '430b3731bbd97ff1589bd81bd6fdaa4082161180', class: "mb-0", part: heading2 }, "Representative"), h("form-control-tooltip", { key: '47676ededb80e0f766cb786265d8fb307c60d125', helpText: "The representative for your business needs to be someone who has significant control over managing your business\u2019s finance. You will have an opportunity to add owners later in the form." })), h("hr", { key: '514197b5bd4868ec29e75dc74367deb187b32063', class: "mt-2" }), h("div", { key: 'f2986d55d0bfbf0e6059f0b2a766d2dc603acdc5', class: "row gy-3" }, h("div", { key: 'e4a3749c5e972f505527b8fc172f9a4214806345', class: "col-12 col-md-8" }, h("form-control-text", { key: 'd54c8d17f0360277fe04dd91a528e303182495c7', name: "name", label: "Full Name", defaultValue: (_a = this.representativeDefaultValue) === null || _a === void 0 ? void 0 : _a.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '4fa0b1a192fb39a982c957d202ea2ac1e40dedd8', class: "col-12 col-md-4" }, h("form-control-text", { key: '8c3bca4234ea0e7ae3c79d810ffb469637898eb6', name: "title", label: "Title", defaultValue: (_b = this.representativeDefaultValue) === null || _b === void 0 ? void 0 : _b.title, errorText: this.errors.title, inputHandler: this.inputHandler, helpText: "Role at your business, e.g. President, CEO, Treasurer." })), h("div", { key: '7e14a61364883172f2938bd8b1e53883ddd369fe', class: "col-12 col-md-6" }, h("form-control-text", { key: '8d9c81d374998dbaea5322906fddb5eeadea1546', name: "email", label: "Email Address", defaultValue: (_c = this.representativeDefaultValue) === null || _c === void 0 ? void 0 : _c.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: 'c3f369b226a08497926b26d0732b7dc9d6413559', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '734625aeac8384f2b8676c4d350368675cff3a6f', name: "phone", label: "Phone Number", defaultValue: (_d = this.representativeDefaultValue) === null || _d === void 0 ? void 0 : _d.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: '23d509b724f2617eb0a4f85c74238b09a052a6cb', class: "col-12 col-md-4" }, h("form-control-date", { key: '0f838cc474beab9822a84856733a86ecf43f0ec3', name: "dob_full", label: "Birth Date", defaultValue: (_e = this.representativeDefaultValue) === null || _e === void 0 ? void 0 : _e.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: (e) => updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), h("div", { key: 'f6d08c53dad2e9a550adf893ac59166015ffb6e4', class: "col-12 col-md-8" }, h("form-control-number-masked", { key: 'dd610955fb7c62fd0aab9af925af34cdc47ab3e9', name: "identification_number", label: "SSN", defaultValue: (_f = this.representativeDefaultValue) === null || _f === void 0 ? void 0 : _f.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: SSN_MASK, helpText: "Enter your full Social Security Number. It is required for Federal OFAC check." })), h("div", { key: 'd4e2a212a87ca9be4be8e21f3e47008b2201871c', class: "col-12" }, h("justifi-identity-address-form", { key: 'bb2d0d01e07be4d37acfd448796c8a33460111ed', errors: this.errors.address, defaultValues: (_g = this.representativeDefaultValue) === null || _g === void 0 ? void 0 : _g.address, handleFormUpdate: this.onAddressFormUpdate }))))));
17
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
18
+ return (h("form", { key: '7f2a20427197ce4f402c1b4b859839d506613769' }, h("fieldset", { key: 'fe71959a012c1961b6f91d98862ca4ea9411bf6d' }, h("div", { key: '801fb53d33eeff75f82552da84210abfb1daa55d', class: "d-flex align-items-center gap-2" }, h("legend", { key: '63486b252a7c4f71e944712a833a2edc762c1692', class: "mb-0", part: heading2 }, "Representative"), h("form-control-tooltip", { key: '9a22a232bb856c05ca8c75a0255ea8a2b33b8a80', helpText: "The representative for your business needs to be someone who has significant control over managing your business\u2019s finance. You will have an opportunity to add owners later in the form." })), h("hr", { key: 'b29a6dcd41991b2874cb64fc3cd058f3bcf10a48', class: "mt-2" }), h("div", { key: '52e2b29c6f915f50e1f33c19363657e657355b85', class: "row gy-3" }, h("div", { key: '9531872c804ef3713c0778c6bff1d3ca589bb3d5', class: "col-12 col-md-8" }, h("form-control-text", { key: 'd1eedf80da0790767a6c294f084c4b9d4112b9cf', name: "name", label: "Full Name", defaultValue: (_a = this.representativeDefaultValue) === null || _a === void 0 ? void 0 : _a.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: 'b5effb996c7b97cd5a8815781474ea32e5bc37b6', class: "col-12 col-md-4" }, h("form-control-text", { key: '554a6fe90a0c68a32ae7e6b0401e43a8a2d6c7fe', name: "title", label: "Title", defaultValue: (_b = this.representativeDefaultValue) === null || _b === void 0 ? void 0 : _b.title, errorText: this.errors.title, inputHandler: this.inputHandler, helpText: "Role at your business, e.g. President, CEO, Treasurer." })), h("div", { key: '6025d1b2b67120a9e9e25d0a6e3e352651759c62', class: "col-12 col-md-6" }, h("form-control-text", { key: 'ed758eafa726ee6801c16535fbba7d05886c21d5', name: "email", label: "Email Address", defaultValue: (_c = this.representativeDefaultValue) === null || _c === void 0 ? void 0 : _c.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '933650753a5fdc6f75db658baf536ce4033e0e6c', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '81ba9debb6c8fd8225c67a0c0a6b8612e87fc3f0', name: "phone", label: "Phone Number", defaultValue: (_d = this.representativeDefaultValue) === null || _d === void 0 ? void 0 : _d.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: '913c766d6eb5fe5f132eafecba91145a6c418dae', class: "col-12 col-md-4" }, h("form-control-date", { key: 'c50e5ad2022906d753b783e7892be8322d80661c', name: "dob_full", label: "Birth Date", defaultValue: (_e = this.representativeDefaultValue) === null || _e === void 0 ? void 0 : _e.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: (e) => updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), h("div", { key: '74492ad88a4962c2abfd04319880edb757d78796', class: "col-12 col-md-8" }, (!((_f = this.representativeDefaultValue) === null || _f === void 0 ? void 0 : _f.ssn_last4) || this.isEditingIdentification) ? (h("form-control-number-masked", { name: "identification_number", label: countryLabels[this.country].idNumberLabel, defaultValue: this.isEditingIdentification ? '' : (_g = this.representativeDefaultValue) === null || _g === void 0 ? void 0 : _g.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: IDENTITY_MASKS[this.country], helpText: countryLabels[this.country].identityHelpText })) : (h("div", null, h("label", { class: "form-label", part: label }, countryLabels[this.country].idNumberLabel), h("div", { class: "input-group mb-3" }, h("input", { type: "text", class: "form-control", part: inputDisabled, value: `****${(_h = this.representativeDefaultValue) === null || _h === void 0 ? void 0 : _h.ssn_last4}`, disabled: true }), h("button", { class: "btn btn-secondary", type: "button", part: buttonSecondary, onClick: () => {
19
+ this.isEditingIdentification = true;
20
+ // Clear last4 and current value to force validation
21
+ updateFormValues(this.formController, {
22
+ ssn_last4: null,
23
+ identification_number: ''
24
+ });
25
+ } }, "Change"))))), h("div", { key: 'ad29d30e0748004e9c0d429804210f269581ff12', class: "col-12" }, h("justifi-identity-address-form", { key: 'aaad43f4c150cf08cbdd321a887eaadc51436c88', errors: this.errors.address, defaultValues: (_j = this.representativeDefaultValue) === null || _j === void 0 ? void 0 : _j.address, handleFormUpdate: this.onAddressFormUpdate, country: this.country }))))));
17
26
  }
18
27
  static get is() { return "justifi-business-representative-form-inputs"; }
19
28
  static get properties() {
@@ -78,8 +87,38 @@ export class RepresentativeFormInputs {
78
87
  },
79
88
  "getter": false,
80
89
  "setter": false
90
+ },
91
+ "country": {
92
+ "type": "string",
93
+ "mutable": false,
94
+ "complexType": {
95
+ "original": "CountryCode",
96
+ "resolved": "CountryCode.CAN | CountryCode.USA",
97
+ "references": {
98
+ "CountryCode": {
99
+ "location": "import",
100
+ "path": "../../../../utils/country-codes",
101
+ "id": "src/utils/country-codes.ts::CountryCode"
102
+ }
103
+ }
104
+ },
105
+ "required": false,
106
+ "optional": false,
107
+ "docs": {
108
+ "tags": [],
109
+ "text": ""
110
+ },
111
+ "getter": false,
112
+ "setter": false,
113
+ "reflect": false,
114
+ "attribute": "country"
81
115
  }
82
116
  };
83
117
  }
118
+ static get states() {
119
+ return {
120
+ "isEditingIdentification": {}
121
+ };
122
+ }
84
123
  }
85
124
  ;
@@ -1,7 +1,7 @@
1
1
  import { h } from "@stencil/core";
2
2
  import { Representative } from "../../../../api/Identity";
3
3
  import { FormController } from "../../../../ui-components/form/form";
4
- import { identitySchema } from "../../schemas/business-identity-schema";
4
+ import { identitySchemaByCountry } from "../../schemas/business-identity-schema";
5
5
  import { PaymentProvisioningLoading } from "../payment-provisioning-loading";
6
6
  import { BusinessFormStep } from "../../utils";
7
7
  export class BusinessRepresentativeFormStepCore {
@@ -10,11 +10,14 @@ export class BusinessRepresentativeFormStepCore {
10
10
  this.representative = {};
11
11
  this.isLoading = false;
12
12
  this.getData = () => {
13
+ if (!this.getBusiness)
14
+ return;
13
15
  this.formLoading.emit(true);
14
16
  this.isLoading = true;
15
17
  this.getBusiness({
16
18
  onSuccess: (response) => {
17
19
  this.representative = new Representative(response.data.representative || {});
20
+ this.representative.address.country = this.country;
18
21
  this.formController.setInitialValues(Object.assign({}, this.representative));
19
22
  },
20
23
  onError: ({ error, code, severity }) => {
@@ -62,8 +65,9 @@ export class BusinessRepresentativeFormStepCore {
62
65
  return { representative: formValues };
63
66
  }
64
67
  componentWillLoad() {
65
- this.getBusiness && this.getData();
66
- this.formController = new FormController(identitySchema('representative', this.allowOptionalFields));
68
+ const schemaFactory = identitySchemaByCountry[this.country];
69
+ this.formController = new FormController(schemaFactory('representative', this.allowOptionalFields));
70
+ this.getData();
67
71
  }
68
72
  componentDidLoad() {
69
73
  this.formController.errors.subscribe(errors => {
@@ -74,7 +78,7 @@ export class BusinessRepresentativeFormStepCore {
74
78
  if (this.isLoading) {
75
79
  return (h(PaymentProvisioningLoading, null));
76
80
  }
77
- return (h("justifi-business-representative-form-inputs", { representativeDefaultValue: this.formController.getInitialValues(), errors: this.errors, formController: this.formController }));
81
+ return (h("justifi-business-representative-form-inputs", { representativeDefaultValue: this.formController.getInitialValues(), errors: this.errors, formController: this.formController, country: this.country }));
78
82
  }
79
83
  static get is() { return "justifi-business-representative-form-step-core"; }
80
84
  static get properties() {
@@ -141,6 +145,31 @@ export class BusinessRepresentativeFormStepCore {
141
145
  "setter": false,
142
146
  "reflect": false,
143
147
  "attribute": "allow-optional-fields"
148
+ },
149
+ "country": {
150
+ "type": "string",
151
+ "mutable": false,
152
+ "complexType": {
153
+ "original": "CountryCode",
154
+ "resolved": "CountryCode.CAN | CountryCode.USA",
155
+ "references": {
156
+ "CountryCode": {
157
+ "location": "import",
158
+ "path": "../../../../utils/country-codes",
159
+ "id": "src/utils/country-codes.ts::CountryCode"
160
+ }
161
+ }
162
+ },
163
+ "required": false,
164
+ "optional": false,
165
+ "docs": {
166
+ "tags": [],
167
+ "text": ""
168
+ },
169
+ "getter": false,
170
+ "setter": false,
171
+ "reflect": false,
172
+ "attribute": "country"
144
173
  }
145
174
  };
146
175
  }
@@ -34,7 +34,7 @@ export class BusinessRepresentativeFormStep {
34
34
  }
35
35
  }
36
36
  render() {
37
- return (h("justifi-business-representative-form-step-core", { key: '582c77f4b763573a1d29726285a9b871afe96d89', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
37
+ return (h("justifi-business-representative-form-step-core", { key: '93ebeaecfc5eecc8a4c74cbc30760d35d8120183', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, country: this.country, ref: el => this.coreComponent = el }));
38
38
  }
39
39
  static get is() { return "justifi-business-representative-form-step"; }
40
40
  static get properties() {
@@ -95,6 +95,31 @@ export class BusinessRepresentativeFormStep {
95
95
  "setter": false,
96
96
  "reflect": false,
97
97
  "attribute": "allow-optional-fields"
98
+ },
99
+ "country": {
100
+ "type": "string",
101
+ "mutable": false,
102
+ "complexType": {
103
+ "original": "CountryCode",
104
+ "resolved": "CountryCode.CAN | CountryCode.USA",
105
+ "references": {
106
+ "CountryCode": {
107
+ "location": "import",
108
+ "path": "../../../../utils/country-codes",
109
+ "id": "src/utils/country-codes.ts::CountryCode"
110
+ }
111
+ }
112
+ },
113
+ "required": false,
114
+ "optional": true,
115
+ "docs": {
116
+ "tags": [],
117
+ "text": ""
118
+ },
119
+ "getter": false,
120
+ "setter": false,
121
+ "reflect": false,
122
+ "attribute": "country"
98
123
  }
99
124
  };
100
125
  }