@justifi/webcomponents 6.12.4 → 6.12.6-rc.1

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 (336) hide show
  1. package/dist/cjs/{Analytics-BERGweGK.js → Analytics-CexlbLRl.js} +4 -4
  2. package/dist/cjs/{Plaid-BRSyOOuw.js → Plaid-KasiL5mp.js} +14 -19
  3. package/dist/cjs/additional-questions-details_5.cjs.entry.js +1 -1
  4. package/dist/cjs/{additional-questions-form-step_14.cjs.entry.js → additional-questions-form-step_15.cjs.entry.js} +379 -169
  5. package/dist/cjs/additional-questions_5.cjs.entry.js +7 -7
  6. package/dist/cjs/additional-statement_8.cjs.entry.js +1 -1
  7. package/dist/cjs/bank-account-billing-form-simple_4.cjs.entry.js +7 -7
  8. package/dist/cjs/bank-account-document-form-inputs.cjs.entry.js +21 -0
  9. package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
  10. package/dist/cjs/{business-form-options-D_nM7NDk.js → business-form-options-CnlrfbQ6.js} +51 -0
  11. package/dist/cjs/{business-identity-schema-DI9XFbaD.js → business-identity-schema-CC1wOwXd.js} +11 -7
  12. package/dist/cjs/{business.service-Z9OACEQL.js → business.service-BBovho58.js} +1 -1
  13. package/dist/cjs/card-form.cjs.entry.js +2 -2
  14. package/dist/cjs/{check-pkg-version-ByKpJklZ.js → check-pkg-version-jeIQGJ8A.js} +1 -1
  15. package/dist/cjs/{checkout.service-BZOyqXgW.js → checkout.service-C0M9hmsL.js} +1 -1
  16. package/dist/cjs/{country-config-D7fss2oF.js → country-config-Ck-eEeZZ.js} +3 -0
  17. package/dist/cjs/dispute-notification_2.cjs.entry.js +6 -6
  18. package/dist/cjs/{event-types-AU1B76Vm.js → event-types-DDNVjmfR.js} +1 -1
  19. package/dist/cjs/form-address-fields_3.cjs.entry.js +1 -1
  20. package/dist/cjs/form-control-number_2.cjs.entry.js +5 -4
  21. package/dist/cjs/{get-business-aR-C83KX.js → get-business-Ggw-UjXj.js} +2 -2
  22. package/dist/cjs/{get-payment-details-dwhA02Zl.js → get-payment-details-BVKRwME1.js} +2 -2
  23. package/dist/cjs/{get-subaccounts-B1jmSa2d.js → get-subaccounts-RRmcS9xU.js} +2 -2
  24. package/dist/cjs/hidden-input_2.cjs.entry.js +1 -1
  25. package/dist/cjs/{index.esm-C1ZPG85l.js → index.esm-BNETBIV_.js} +0 -18
  26. package/dist/cjs/justifi-apple-pay_11.cjs.entry.js +8 -8
  27. package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +5 -5
  28. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +5 -5
  29. package/dist/cjs/justifi-billing-form-full.cjs.entry.js +1 -1
  30. package/dist/cjs/justifi-billing-form.cjs.entry.js +1 -1
  31. package/dist/cjs/justifi-business-details.cjs.entry.js +8 -8
  32. package/dist/cjs/justifi-business-form.cjs.entry.js +13 -13
  33. package/dist/cjs/justifi-card-billing-form-simple.cjs.entry.js +1 -1
  34. package/dist/cjs/justifi-card-form.cjs.entry.js +5 -5
  35. package/dist/cjs/justifi-checkout.cjs.entry.js +5 -5
  36. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +2 -2
  37. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +8 -8
  38. package/dist/cjs/justifi-dispute-management.cjs.entry.js +7 -7
  39. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +6 -6
  40. package/dist/cjs/justifi-order-terminals.cjs.entry.js +9 -9
  41. package/dist/cjs/justifi-payment-details.cjs.entry.js +8 -8
  42. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +9 -9
  43. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +7 -7
  44. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +1 -1
  45. package/dist/cjs/justifi-payments-list.cjs.entry.js +7 -7
  46. package/dist/cjs/justifi-payout-details.cjs.entry.js +8 -8
  47. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +7 -7
  48. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
  49. package/dist/cjs/justifi-payouts-list.cjs.entry.js +9 -9
  50. package/dist/cjs/justifi-refund-payment.cjs.entry.js +9 -9
  51. package/dist/cjs/justifi-save-new-payment-method.cjs.entry.js +1 -1
  52. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +6 -6
  53. package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
  54. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +2 -2
  55. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +6 -6
  56. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +2 -2
  57. package/dist/cjs/justifi-terminals-list.cjs.entry.js +8 -8
  58. package/dist/cjs/loader.cjs.js +1 -1
  59. package/dist/cjs/{package-B6L3zyfG.js → package-CDegPd7E.js} +1 -1
  60. package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
  61. package/dist/cjs/{payment-provisioning-actions-BiSpysjW.js → payment-provisioning-actions-Cn8bgHKu.js} +2 -2
  62. package/dist/cjs/payment-provisioning-form-buttons_2.cjs.entry.js +3 -2
  63. package/dist/cjs/{payment.service-ByrgA_QZ.js → payment.service-CbIxt30x.js} +1 -1
  64. package/dist/cjs/{payout.service-CnQm_BpU.js → payout.service-DVMvsdAf.js} +1 -1
  65. package/dist/cjs/{payouts-status-AuS3Mp0V.js → payouts-status-CzS2CLGW.js} +2 -2
  66. package/dist/cjs/{plaid.service-Dlb8EUR8.js → plaid.service-DNT_DX6z.js} +1 -1
  67. package/dist/cjs/{schema-validations-_yWWnnaG.js → schema-validations-DackMxv7.js} +23 -9
  68. package/dist/cjs/styled-host-Ch0-dxF-.js +11 -0
  69. package/dist/cjs/{terminal.service-BdwHQ3Vv.js → terminal.service-BBHixg-d.js} +1 -1
  70. package/dist/cjs/{utils-FVGp6se3.js → utils-kDsk4nqH.js} +1 -1
  71. package/dist/cjs/webcomponents.cjs.js +1 -1
  72. package/dist/collection/api/Analytics.js +2 -2
  73. package/dist/collection/api/Document.js +14 -7
  74. package/dist/collection/collection-manifest.json +2 -0
  75. package/dist/collection/components/business-details/owner-details/owner-details.js +1 -1
  76. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +2 -2
  77. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +5 -3
  78. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +4 -2
  79. package/dist/collection/components/business-forms/owner-form/owner-form.js +46 -1
  80. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/additional-questions-form-step.js +1 -1
  81. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +6 -114
  82. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
  83. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +9 -0
  84. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +4 -2
  85. package/dist/collection/components/business-forms/payment-provisioning/document-upload/document-upload-form-step.js +435 -0
  86. package/dist/collection/components/business-forms/payment-provisioning/document-upload/document-upload-list.js +52 -0
  87. package/dist/collection/components/business-forms/payment-provisioning/document-upload/document-upload-options.js +72 -0
  88. package/dist/collection/components/business-forms/payment-provisioning/justifi-payment-provisioning.js +1 -1
  89. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +3 -2
  90. package/dist/collection/components/business-forms/schemas/business-bank-account-schema.js +10 -38
  91. package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +1 -1
  92. package/dist/collection/components/business-forms/schemas/business-identity-schema.js +7 -3
  93. package/dist/collection/components/business-forms/schemas/schema-validations.js +10 -7
  94. package/dist/collection/components/business-forms/utils/business-form-options.js +50 -0
  95. package/dist/collection/components/business-forms/utils/country-config.js +2 -0
  96. package/dist/collection/components/checkout/billing-form/billing-form-full.js +2 -2
  97. package/dist/collection/components/checkout/billing-form/billing-form-schema.js +1 -1
  98. package/dist/collection/ui-components/form/form-control-file.js +1 -1
  99. package/dist/collection/utils/checkout-billing-state-options.js +12 -0
  100. package/dist/docs.json +496 -64
  101. package/dist/esm/{Analytics-B1bQP71R.js → Analytics-5J6H0ALl.js} +4 -4
  102. package/dist/esm/{Plaid-l6nNIjab.js → Plaid-BM3JUIG5.js} +15 -19
  103. package/dist/esm/additional-questions-details_5.entry.js +1 -1
  104. package/dist/esm/{additional-questions-form-step_14.entry.js → additional-questions-form-step_15.entry.js} +378 -169
  105. package/dist/esm/additional-questions_5.entry.js +8 -8
  106. package/dist/esm/additional-statement_8.entry.js +1 -1
  107. package/dist/esm/bank-account-billing-form-simple_4.entry.js +7 -7
  108. package/dist/esm/bank-account-document-form-inputs.entry.js +19 -0
  109. package/dist/esm/bank-account-form.entry.js +2 -2
  110. package/dist/esm/{business-form-options-DRalxlqN.js → business-form-options-DXjZp4Rl.js} +51 -1
  111. package/dist/esm/{business-identity-schema-D-Nk9aGV.js → business-identity-schema-D8L_UfWl.js} +11 -7
  112. package/dist/esm/{business.service-C31wbMVs.js → business.service-C4BD3pf7.js} +1 -1
  113. package/dist/esm/card-form.entry.js +2 -2
  114. package/dist/esm/{check-pkg-version-CNwUC4SV.js → check-pkg-version-C7cHTIM0.js} +1 -1
  115. package/dist/esm/{checkout.service-cVdOGDuI.js → checkout.service-DmWeKNQs.js} +1 -1
  116. package/dist/esm/{country-config-B_fuF6JU.js → country-config-BW2dUoTJ.js} +3 -1
  117. package/dist/esm/dispute-notification_2.entry.js +6 -6
  118. package/dist/esm/{event-types-DalU_6SB.js → event-types-eIqsrwmW.js} +1 -1
  119. package/dist/esm/form-address-fields_3.entry.js +1 -1
  120. package/dist/esm/form-control-number_2.entry.js +5 -4
  121. package/dist/esm/{get-business-Gg6qn5on.js → get-business-DtFHdc37.js} +2 -2
  122. package/dist/esm/{get-payment-details-BiWgSJau.js → get-payment-details-26GxiYgv.js} +2 -2
  123. package/dist/esm/{get-subaccounts-CkjZeR9U.js → get-subaccounts-xkGMPstt.js} +2 -2
  124. package/dist/esm/hidden-input_2.entry.js +1 -1
  125. package/dist/esm/{index.esm-CgNcFueq.js → index.esm-KCSohgHx.js} +1 -18
  126. package/dist/esm/justifi-apple-pay_11.entry.js +8 -8
  127. package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +5 -5
  128. package/dist/esm/justifi-bank-account-form.entry.js +5 -5
  129. package/dist/esm/justifi-billing-form-full.entry.js +1 -1
  130. package/dist/esm/justifi-billing-form.entry.js +1 -1
  131. package/dist/esm/justifi-business-details.entry.js +8 -8
  132. package/dist/esm/justifi-business-form.entry.js +13 -13
  133. package/dist/esm/justifi-card-billing-form-simple.entry.js +1 -1
  134. package/dist/esm/justifi-card-form.entry.js +5 -5
  135. package/dist/esm/justifi-checkout.entry.js +5 -5
  136. package/dist/esm/justifi-checkouts-list-filters.entry.js +2 -2
  137. package/dist/esm/justifi-checkouts-list.entry.js +8 -8
  138. package/dist/esm/justifi-dispute-management.entry.js +7 -7
  139. package/dist/esm/justifi-gross-payment-chart.entry.js +6 -6
  140. package/dist/esm/justifi-order-terminals.entry.js +9 -9
  141. package/dist/esm/justifi-payment-details.entry.js +8 -8
  142. package/dist/esm/justifi-payment-provisioning.entry.js +9 -9
  143. package/dist/esm/justifi-payment-transactions-list.entry.js +7 -7
  144. package/dist/esm/justifi-payments-list-filters.entry.js +1 -1
  145. package/dist/esm/justifi-payments-list.entry.js +7 -7
  146. package/dist/esm/justifi-payout-details.entry.js +8 -8
  147. package/dist/esm/justifi-payout-transactions-list.entry.js +7 -7
  148. package/dist/esm/justifi-payouts-list-filters.entry.js +2 -2
  149. package/dist/esm/justifi-payouts-list.entry.js +9 -9
  150. package/dist/esm/justifi-refund-payment.entry.js +9 -9
  151. package/dist/esm/justifi-save-new-payment-method.entry.js +1 -1
  152. package/dist/esm/justifi-season-interruption-insurance.entry.js +6 -6
  153. package/dist/esm/justifi-skeleton.entry.js +1 -1
  154. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +2 -2
  155. package/dist/esm/justifi-terminal-orders-list.entry.js +6 -6
  156. package/dist/esm/justifi-terminals-list-filters.entry.js +2 -2
  157. package/dist/esm/justifi-terminals-list.entry.js +8 -8
  158. package/dist/esm/loader.js +1 -1
  159. package/dist/esm/{package-OGt0dCJl.js → package-8R9xLun-.js} +1 -1
  160. package/dist/esm/payment-method-option.entry.js +1 -1
  161. package/dist/esm/{payment-provisioning-actions-cl5xIYnF.js → payment-provisioning-actions-fWdNDUdq.js} +2 -2
  162. package/dist/esm/payment-provisioning-form-buttons_2.entry.js +3 -2
  163. package/dist/esm/{payment.service-5_u-UzTY.js → payment.service-CWR7jF-K.js} +1 -1
  164. package/dist/esm/{payout.service-D2zS5y8N.js → payout.service-CFU362cH.js} +1 -1
  165. package/dist/esm/{payouts-status-DCjCGTaa.js → payouts-status-D2G7FKu1.js} +2 -2
  166. package/dist/esm/{plaid.service-BiJ65YG8.js → plaid.service-0hd1i5Ga.js} +1 -1
  167. package/dist/esm/{schema-validations-u9_XnlUL.js → schema-validations-CjqWFLKt.js} +23 -10
  168. package/dist/esm/styled-host-D84RBv1W.js +9 -0
  169. package/dist/esm/{terminal.service-CIxDfM7V.js → terminal.service-Dr6dERcJ.js} +1 -1
  170. package/dist/esm/{utils-C1B2hVAB.js → utils-q7KOrlSX.js} +1 -1
  171. package/dist/esm/webcomponents.js +1 -1
  172. package/dist/module/Analytics.js +2 -2
  173. package/dist/module/Plaid.js +15 -19
  174. package/dist/module/additional-questions-form-step2.js +11 -5
  175. package/dist/module/bank-account-document-form-inputs.js +55 -1
  176. package/dist/module/billing-form-full2.js +2 -2
  177. package/dist/module/billing-form-schema.js +1 -1
  178. package/dist/module/business-address-schema.js +1 -1
  179. package/dist/module/business-bank-account-form-step2.js +25 -178
  180. package/dist/module/business-core-info-form-step2.js +2 -2
  181. package/dist/module/business-core-info-schema.js +2 -2
  182. package/dist/module/business-core-info2.js +3 -3
  183. package/dist/module/business-documents-on-file2.js +1 -1
  184. package/dist/module/business-form-options.js +51 -1
  185. package/dist/module/business-identity-schema.js +8 -4
  186. package/dist/module/business-owners-form-step2.js +9 -0
  187. package/dist/module/business-representative-form-inputs2.js +5 -3
  188. package/dist/module/business-representative2.js +6 -5
  189. package/dist/module/button.js +1 -1
  190. package/dist/module/country-config.js +3 -1
  191. package/dist/module/document-upload-form-step.d.ts +11 -0
  192. package/dist/module/document-upload-form-step.js +6 -0
  193. package/dist/module/document-upload-form-step2.js +397 -0
  194. package/dist/module/document-upload-list.d.ts +11 -0
  195. package/dist/module/document-upload-list.js +6 -0
  196. package/dist/module/document-upload-list2.js +46 -0
  197. package/dist/module/form-control-number2.js +1 -1
  198. package/dist/module/form-control-textarea2.js +1 -1
  199. package/dist/module/form.js +1 -18
  200. package/dist/module/hidden-input2.js +1 -1
  201. package/dist/module/iframe-input2.js +1 -1
  202. package/dist/module/justifi-checkouts-list-filters.js +1 -1
  203. package/dist/module/justifi-checkouts-list.js +2 -2
  204. package/dist/module/justifi-dispute-management.js +1 -1
  205. package/dist/module/justifi-modular-checkout2.js +1 -1
  206. package/dist/module/justifi-order-terminals.js +2 -2
  207. package/dist/module/justifi-payment-details.js +1 -1
  208. package/dist/module/justifi-payment-provisioning.js +33 -27
  209. package/dist/module/justifi-payment-transactions-list.js +2 -2
  210. package/dist/module/justifi-payments-list.js +1 -1
  211. package/dist/module/justifi-payout-details.js +1 -1
  212. package/dist/module/justifi-payout-transactions-list.js +2 -2
  213. package/dist/module/justifi-payouts-list-filters.js +1 -1
  214. package/dist/module/justifi-payouts-list.js +2 -2
  215. package/dist/module/justifi-refund-payment.js +1 -1
  216. package/dist/module/justifi-terminal-orders-list-filters.js +1 -1
  217. package/dist/module/justifi-terminal-orders-list.js +2 -2
  218. package/dist/module/justifi-terminals-list-filters.js +1 -1
  219. package/dist/module/justifi-terminals-list.js +2 -2
  220. package/dist/module/owner-details2.js +1 -1
  221. package/dist/module/owner-form-inputs2.js +5 -3
  222. package/dist/module/owner-form2.js +10 -1
  223. package/dist/module/package.js +1 -1
  224. package/dist/module/parts.js +1 -1
  225. package/dist/module/payment-provisioning-actions.js +1 -1
  226. package/dist/module/payment-provisioning-form-steps2.js +35 -28
  227. package/dist/module/plaid-verification2.js +1 -1
  228. package/dist/module/schema-validations.js +21 -8
  229. package/dist/module/skeleton.js +1 -1
  230. package/dist/module/styled-host.js +1 -1
  231. package/dist/module/table.js +1 -1
  232. package/dist/module/terminal-quantity-selector2.js +1 -1
  233. package/dist/types/api/Document.d.ts +15 -2
  234. package/dist/types/components/business-forms/owner-form/owner-form.d.ts +2 -0
  235. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +1 -12
  236. package/dist/types/components/business-forms/payment-provisioning/document-upload/document-upload-form-step.d.ts +44 -0
  237. package/dist/types/components/business-forms/payment-provisioning/document-upload/document-upload-list.d.ts +6 -0
  238. package/dist/types/components/business-forms/payment-provisioning/document-upload/document-upload-options.d.ts +44 -0
  239. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-form-steps.d.ts +1 -0
  240. package/dist/types/components/business-forms/schemas/business-bank-account-schema.d.ts +4 -4
  241. package/dist/types/components/business-forms/utils/business-form-options.d.ts +1 -0
  242. package/dist/types/components.d.ts +67 -0
  243. package/dist/types/utils/checkout-billing-state-options.d.ts +9 -0
  244. package/dist/webcomponents/{p-oTtn8xDw.js → p--RbNhyet.js} +1 -1
  245. package/dist/webcomponents/{p-49a4123c.entry.js → p-04d6d725.entry.js} +1 -1
  246. package/dist/webcomponents/{p-7119fddd.entry.js → p-086f7eea.entry.js} +1 -1
  247. package/dist/webcomponents/{p-ca87c609.entry.js → p-0a4fcb15.entry.js} +1 -1
  248. package/dist/webcomponents/{p-b0b6083f.entry.js → p-0b169fac.entry.js} +1 -1
  249. package/dist/webcomponents/{p-f1b9cbf0.entry.js → p-0e4cda77.entry.js} +1 -1
  250. package/dist/webcomponents/{p-b62ff001.entry.js → p-1e34c488.entry.js} +1 -1
  251. package/dist/webcomponents/{p-d24240a5.entry.js → p-29b82954.entry.js} +1 -1
  252. package/dist/webcomponents/{p-c8f3656f.entry.js → p-2e063c5d.entry.js} +1 -1
  253. package/dist/webcomponents/p-37676092.entry.js +1 -0
  254. package/dist/webcomponents/{p-31452258.entry.js → p-3960e6b7.entry.js} +1 -1
  255. package/dist/webcomponents/{p-cde76bf8.entry.js → p-3bcac405.entry.js} +1 -1
  256. package/dist/webcomponents/{p-c4767c7b.entry.js → p-3e10a0de.entry.js} +1 -1
  257. package/dist/webcomponents/{p-8964f4ca.entry.js → p-48a866ae.entry.js} +1 -1
  258. package/dist/webcomponents/{p-a80f69a9.entry.js → p-4b14b7e7.entry.js} +1 -1
  259. package/dist/webcomponents/p-54ee2a30.entry.js +1 -0
  260. package/dist/webcomponents/{p-a1dcdc8b.entry.js → p-562447ad.entry.js} +4 -4
  261. package/dist/webcomponents/{p-3f5e9afb.entry.js → p-58adef16.entry.js} +1 -1
  262. package/dist/webcomponents/{p-3d6b9434.entry.js → p-5ec9634c.entry.js} +1 -1
  263. package/dist/webcomponents/{p-ea0d7a98.entry.js → p-5f071ee0.entry.js} +1 -1
  264. package/dist/webcomponents/{p-4ec433f4.entry.js → p-6b21947c.entry.js} +1 -1
  265. package/dist/webcomponents/{p-383b8317.entry.js → p-80fdd013.entry.js} +1 -1
  266. package/dist/webcomponents/{p-f3ff7e00.entry.js → p-85c0abdb.entry.js} +1 -1
  267. package/dist/webcomponents/{p-0708cb76.entry.js → p-86eb32d8.entry.js} +1 -1
  268. package/dist/webcomponents/p-8R9xLun-.js +1 -0
  269. package/dist/webcomponents/{p-ae91fc9b.entry.js → p-8db8d7e7.entry.js} +1 -1
  270. package/dist/webcomponents/{p-91aef5bf.entry.js → p-8ed1bc07.entry.js} +1 -1
  271. package/dist/webcomponents/p-92d8a14b.entry.js +1 -0
  272. package/dist/webcomponents/{p-b272a29d.entry.js → p-92e7ce54.entry.js} +1 -1
  273. package/dist/webcomponents/{p-9153c121.entry.js → p-947950cc.entry.js} +1 -1
  274. package/dist/webcomponents/{p-6220a384.entry.js → p-9ce2a98a.entry.js} +1 -1
  275. package/dist/webcomponents/p-B1yVkh15.js +1 -0
  276. package/dist/webcomponents/{p-Bt4GjEWL.js → p-BBSnDYJw.js} +1 -1
  277. package/dist/webcomponents/{p-av6jyzyC.js → p-BSyTbuZy.js} +1 -1
  278. package/dist/webcomponents/{p-APOabprT.js → p-BrFax4_P.js} +1 -1
  279. package/dist/webcomponents/p-BzXQDB0t.js +1 -0
  280. package/dist/webcomponents/{p-BxKbnILQ.js → p-C-zuQNNP.js} +1 -1
  281. package/dist/webcomponents/{p-Cm9f5fyh.js → p-CDu7TeCZ.js} +1 -1
  282. package/dist/webcomponents/{p-BJu1-9kE.js → p-CL8LyqRI.js} +1 -1
  283. package/dist/webcomponents/p-CeW0EPHy.js +1 -0
  284. package/dist/webcomponents/{p-fE5A37L5.js → p-Cz0yhyYu.js} +1 -1
  285. package/dist/webcomponents/p-D9ZHVy-j.js +1 -0
  286. package/dist/webcomponents/{p-DwoT0UoX.js → p-D9sqTVmd.js} +1 -1
  287. package/dist/webcomponents/p-DV4n8kZd.js +1 -0
  288. package/dist/webcomponents/{p-Dk26hk5T.js → p-DdeBubpX.js} +1 -1
  289. package/dist/webcomponents/{p-mF5zKtkx.js → p-DvnFba1A.js} +1 -1
  290. package/dist/webcomponents/p-DzEdYT8R.js +1 -0
  291. package/dist/webcomponents/{p-NZS8uCtH.js → p-Dzv0P2Ly.js} +1 -1
  292. package/dist/webcomponents/{p-215c6b6b.entry.js → p-a2ed63df.entry.js} +1 -1
  293. package/dist/webcomponents/{p-a7a1b168.entry.js → p-a3b48ba3.entry.js} +1 -1
  294. package/dist/webcomponents/p-a4520dba.entry.js +1 -0
  295. package/dist/webcomponents/{p-7ebed752.entry.js → p-a5ad9183.entry.js} +1 -1
  296. package/dist/webcomponents/{p-8d173a7c.entry.js → p-a7e0ab9b.entry.js} +1 -1
  297. package/dist/webcomponents/p-a9976353.entry.js +1 -0
  298. package/dist/webcomponents/{p-d79c5ee4.entry.js → p-b17ce21d.entry.js} +1 -1
  299. package/dist/webcomponents/{p-45c0fb53.entry.js → p-ba2ab989.entry.js} +1 -1
  300. package/dist/webcomponents/{p-c9fe4f33.entry.js → p-c1b48216.entry.js} +1 -1
  301. package/dist/webcomponents/{p-07236291.entry.js → p-c2e09203.entry.js} +1 -1
  302. package/dist/webcomponents/{p-9d021e10.entry.js → p-c3cc4ad6.entry.js} +1 -1
  303. package/dist/webcomponents/p-c9599fc7.entry.js +1 -0
  304. package/dist/webcomponents/{p-58b5e08e.entry.js → p-ca1c2048.entry.js} +1 -1
  305. package/dist/webcomponents/p-cab840bd.entry.js +1 -0
  306. package/dist/webcomponents/p-cc558e25.entry.js +1 -0
  307. package/dist/webcomponents/{p-BXyADlAH.js → p-czJ2qSU1.js} +1 -1
  308. package/dist/webcomponents/p-de1ccbea.entry.js +1 -0
  309. package/dist/webcomponents/{p-8aa53ef2.entry.js → p-e0e6c2df.entry.js} +1 -1
  310. package/dist/webcomponents/p-n_pmf4AT.js +1 -0
  311. package/dist/webcomponents/p-vUN_uvAi.js +1 -0
  312. package/dist/webcomponents/{p-Ba8jdOkX.js → p-xWuaNtJy.js} +1 -1
  313. package/dist/webcomponents/webcomponents.esm.js +1 -1
  314. package/package.json +15 -15
  315. package/readme.md +7 -14
  316. package/LICENSE +0 -21
  317. package/dist/cjs/styled-host-DAi5SuFa.js +0 -11
  318. package/dist/esm/styled-host-D6byRazK.js +0 -9
  319. package/dist/module/bank-account-document-form-inputs2.js +0 -57
  320. package/dist/webcomponents/p-35dd1fc0.entry.js +0 -1
  321. package/dist/webcomponents/p-5G1OMxZz.js +0 -1
  322. package/dist/webcomponents/p-69fdd137.entry.js +0 -1
  323. package/dist/webcomponents/p-6RTf1SXX.js +0 -1
  324. package/dist/webcomponents/p-9fc7714d.entry.js +0 -1
  325. package/dist/webcomponents/p-Aacb4jqT.js +0 -1
  326. package/dist/webcomponents/p-BqNNwq6C.js +0 -1
  327. package/dist/webcomponents/p-Cz_7BuGW.js +0 -1
  328. package/dist/webcomponents/p-DyucNSA4.js +0 -1
  329. package/dist/webcomponents/p-KXLYEe1D.js +0 -1
  330. package/dist/webcomponents/p-OGt0dCJl.js +0 -1
  331. package/dist/webcomponents/p-b341efd6.entry.js +0 -1
  332. package/dist/webcomponents/p-daaa2a99.entry.js +0 -1
  333. package/dist/webcomponents/p-e4cb7c21.entry.js +0 -1
  334. package/dist/webcomponents/p-ef85717f.entry.js +0 -1
  335. package/dist/webcomponents/p-f30069ea.entry.js +0 -1
  336. package/dist/webcomponents/p-nb_LhbJq.js +0 -1
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-p7cvUYAE.js');
4
- var businessFormOptions = require('./business-form-options-D_nM7NDk.js');
4
+ var businessFormOptions = require('./business-form-options-CnlrfbQ6.js');
5
5
  var formInputMasks = require('./form-input-masks-BnNFJ3IJ.js');
6
6
  var parts = require('./parts-BXshb_S-.js');
7
7
  var Business = require('./Business-oBifyXkW.js');
8
- var countryConfig = require('./country-config-D7fss2oF.js');
8
+ var countryConfig = require('./country-config-Ck-eEeZZ.js');
9
9
 
10
10
  const AdditionalQuestions = class {
11
11
  constructor(hostRef) {
@@ -48,10 +48,10 @@ const BusinessCoreInfo = class {
48
48
  render() {
49
49
  var _a, _b;
50
50
  const coreInfoDefaultValue = this.formController.getInitialValues();
51
- return (index.h(index.Host, { key: '9c73706505c1fa0a56d7eb68fc1c4c0a6fffd1dc' }, index.h("fieldset", { key: 'd30bae9bab7ffd0e385ce276e7797cfd606e5a42' }, index.h("legend", { key: '5792db95cbbc080f3c990b4b9cea84484f374ec3', part: parts.heading2 }, "General Info"), index.h("div", { key: 'ae7fa3c788d625d60cfc83b270312946dce97f0b', class: "row gy-3" }, index.h("div", { key: 'f7e5ab1ec57a8ce8de5ef8591ecad8b2fbd2f030', class: "col-12" }, index.h("form-control-text", { key: 'fa96501ceca053263029489a74bddd31222b1462', name: "legal_name", label: "Legal Name", defaultValue: coreInfoDefaultValue.legal_name, errorText: this.errors.legal_name, inputHandler: this.inputHandler })), index.h("div", { key: '21e14d0c13017376d7e74e84169f30fe05fa13af', class: "col-12" }, index.h("form-control-text", { key: '266187ec2209299a4b0ebc4c7d600c670de3b21f', name: "doing_business_as", label: "Doing Business As (DBA)", defaultValue: coreInfoDefaultValue.doing_business_as, errorText: this.errors.doing_business_as, inputHandler: this.inputHandler })), index.h("div", { key: 'd9bbb19b4ec15a18a0467444e964512114e74031', class: "col-12 col-md-8" }, index.h("form-control-select", { key: 'fe490b4abb4a1e07392db9ad4e4c15b02d928f4c', name: "classification", label: "Business Classification", options: businessFormOptions.businessClassificationOptions, defaultValue: coreInfoDefaultValue.classification, errorText: this.errors.classification, inputHandler: this.inputHandler })), index.h("div", { key: 'fc5dafdace199fd34d22f22d629d87fc8ff7cc3e', class: "col-12 col-md-4" }, index.h("form-control-date", { key: '0263cdef27d1b36c22bde16dbdb3777ad9ef62e3', name: "date_of_incorporation", label: "Date of Incorporation", defaultValue: coreInfoDefaultValue.date_of_incorporation, errorText: this.errors.date_of_incorporation, inputHandler: this.inputHandler })), index.h("div", { key: '2ae2b710d615e5314d4b836b9a498fc9140b749a', class: "col-12 col-md-6" }, index.h("form-control-text", { key: 'f6e738254ff7ead5680b895b6df77dc58efbc393', name: "industry", label: "Industry", defaultValue: coreInfoDefaultValue.industry, errorText: this.errors.industry, inputHandler: this.inputHandler })), index.h("div", { key: '8a01de0514d495b103aa43070d268070f57af62a', class: "col-12 col-md-6" }, (!((_a = this.coreInfo) === null || _a === void 0 ? void 0 : _a.tax_id_last4) || this.isEditingTaxId) ? (index.h("form-control-number-masked", { name: "tax_id", label: countryConfig.countryLabels[this.country].taxIdLabel, defaultValue: this.isEditingTaxId ? '' : coreInfoDefaultValue.tax_id, errorText: this.errors.tax_id, inputHandler: this.inputHandler, mask: formInputMasks.IDENTITY_MASKS[this.country], helpText: countryConfig.countryLabels[this.country].taxIdHelpText })) : (index.h("div", null, index.h("label", { class: "form-label", part: parts.label }, countryConfig.countryLabels[this.country].taxIdLabel), index.h("div", { class: "input-group mb-3" }, index.h("input", { type: "text", class: "form-control", part: parts.inputDisabled, value: `****${(_b = this.coreInfo) === null || _b === void 0 ? void 0 : _b.tax_id_last4}`, disabled: true }), index.h("button", { class: "btn btn-secondary", type: "button", part: parts.buttonSecondary, onClick: () => {
51
+ return (index.h(index.Host, { key: '9c73706505c1fa0a56d7eb68fc1c4c0a6fffd1dc' }, index.h("fieldset", { key: 'd30bae9bab7ffd0e385ce276e7797cfd606e5a42' }, index.h("legend", { key: '5792db95cbbc080f3c990b4b9cea84484f374ec3', part: parts.heading2 }, "General Info"), index.h("div", { key: 'ae7fa3c788d625d60cfc83b270312946dce97f0b', class: "row gy-3" }, index.h("div", { key: 'f7e5ab1ec57a8ce8de5ef8591ecad8b2fbd2f030', class: "col-12" }, index.h("form-control-text", { key: 'fa96501ceca053263029489a74bddd31222b1462', name: "legal_name", label: "Legal Name", defaultValue: coreInfoDefaultValue.legal_name, errorText: this.errors.legal_name, inputHandler: this.inputHandler })), index.h("div", { key: '21e14d0c13017376d7e74e84169f30fe05fa13af', class: "col-12" }, index.h("form-control-text", { key: '266187ec2209299a4b0ebc4c7d600c670de3b21f', name: "doing_business_as", label: "Doing Business As (DBA)", defaultValue: coreInfoDefaultValue.doing_business_as, errorText: this.errors.doing_business_as, inputHandler: this.inputHandler })), index.h("div", { key: 'd9bbb19b4ec15a18a0467444e964512114e74031', class: "col-12 col-md-8" }, index.h("form-control-select", { key: 'fe490b4abb4a1e07392db9ad4e4c15b02d928f4c', name: "classification", label: "Business Classification", options: businessFormOptions.businessClassificationOptions, defaultValue: coreInfoDefaultValue.classification, errorText: this.errors.classification, inputHandler: this.inputHandler })), index.h("div", { key: 'fc5dafdace199fd34d22f22d629d87fc8ff7cc3e', class: "col-12 col-md-4" }, index.h("form-control-date", { key: '0263cdef27d1b36c22bde16dbdb3777ad9ef62e3', name: "date_of_incorporation", label: "Date of Incorporation", defaultValue: coreInfoDefaultValue.date_of_incorporation, errorText: this.errors.date_of_incorporation, inputHandler: this.inputHandler })), index.h("div", { key: '2ae2b710d615e5314d4b836b9a498fc9140b749a', class: "col-12 col-md-6" }, index.h("form-control-text", { key: 'f6e738254ff7ead5680b895b6df77dc58efbc393', name: "industry", label: "Industry", defaultValue: coreInfoDefaultValue.industry, errorText: this.errors.industry, inputHandler: this.inputHandler })), index.h("div", { key: '8a01de0514d495b103aa43070d268070f57af62a', class: "col-12 col-md-6" }, (!((_a = this.coreInfo) === null || _a === void 0 ? void 0 : _a.tax_id_last4) || this.isEditingTaxId) ? (index.h("form-control-number-masked", { name: "tax_id", label: countryConfig.countryLabels[this.country].taxIdLabelOptional || countryConfig.countryLabels[this.country].taxIdLabel, defaultValue: this.isEditingTaxId ? '' : coreInfoDefaultValue.tax_id, errorText: this.errors.tax_id, inputHandler: this.inputHandler, mask: formInputMasks.IDENTITY_MASKS[this.country], helpText: countryConfig.countryLabels[this.country].taxIdHelpText })) : (index.h("div", null, index.h("label", { class: "form-label", part: parts.label }, countryConfig.countryLabels[this.country].taxIdLabel), index.h("div", { class: "input-group mb-3" }, index.h("input", { type: "text", class: "form-control", part: parts.inputDisabled, value: `****${(_b = this.coreInfo) === null || _b === void 0 ? void 0 : _b.tax_id_last4}`, disabled: true }), index.h("button", { class: "btn btn-secondary", type: "button", part: parts.buttonSecondary, onClick: () => {
52
52
  this.isEditingTaxId = true;
53
53
  this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { tax_id: '' }));
54
- } }, "Change"))))), index.h("div", { key: '66292d95dd8ead1367c1eef3a96aa1fb9e707810', class: "col-12" }, index.h("form-control-text", { key: 'de144c99e186470c37d0d330c8aa480fb00ef037', name: "website_url", label: "Website URL", defaultValue: coreInfoDefaultValue.website_url, errorText: this.errors.website_url, inputHandler: this.inputHandler })), index.h("div", { key: 'c43095be28c660a2312c37c6856abeae7f952299', class: "col-12 col-md-6" }, index.h("form-control-text", { key: 'e4afa2d37cd5dc26006b116c7d574e1c7dd4a0ef', name: "email", label: "Email Address", defaultValue: coreInfoDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), index.h("div", { key: 'a68760b724c42da71a93ab7944152a8137d51cc8', class: "col-12 col-md-6" }, index.h("form-control-number-masked", { key: '6532f13f43391e8752f625296fb3685d7d68e084', name: "phone", label: "Phone Number", defaultValue: coreInfoDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: formInputMasks.PHONE_MASKS.US }))))));
54
+ } }, "Change"))))), index.h("div", { key: 'a82eb6e652eb36fd57cd4a6c413e896aebfefce6', class: "col-12" }, index.h("form-control-text", { key: '930f882235d7c4902ae6daf54d644a0cd9d23daf', name: "website_url", label: "Website URL", defaultValue: coreInfoDefaultValue.website_url, errorText: this.errors.website_url, inputHandler: this.inputHandler })), index.h("div", { key: 'b2e819e6dfd97229e81e1860e1debe3ab95e3dc0', class: "col-12 col-md-6" }, index.h("form-control-text", { key: '7a4a158a1c64adfe90b825ff54c9f1f607c25bb7', name: "email", label: "Email Address", defaultValue: coreInfoDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), index.h("div", { key: '948c4f98a4a7a8b898058adb0957b7251d8c9fe4', class: "col-12 col-md-6" }, index.h("form-control-number-masked", { key: 'dc5804f3c9254c859f5e6a78487dae423c9689f1', name: "phone", label: "Phone Number", defaultValue: coreInfoDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: formInputMasks.PHONE_MASKS.US }))))));
55
55
  }
56
56
  };
57
57
 
@@ -76,7 +76,7 @@ const BusinessRepresentative = class {
76
76
  var _a;
77
77
  const label = countryConfig.countryLabels[this.country].idNumberLabel;
78
78
  const labelOptional = countryConfig.countryLabels[this.country].idNumberLabelOptional;
79
- return ((_a = this.representative) === null || _a === void 0 ? void 0 : _a.ssn_last4) ? labelOptional : label;
79
+ return (((_a = this.representative) === null || _a === void 0 ? void 0 : _a.ssn_last4) || this.country === Business.CountryCode.CAN) ? labelOptional : label;
80
80
  }
81
81
  componentDidLoad() {
82
82
  this.formController.errors.subscribe(errors => (this.errors = Object.assign({}, errors.representative)));
@@ -85,11 +85,11 @@ const BusinessRepresentative = class {
85
85
  render() {
86
86
  var _a, _b;
87
87
  const representativeDefaultValue = this.formController.getInitialValues().representative;
88
- return (index.h(index.Host, { key: 'c12be1414101467b72170c101cb3d7792f0fafe0' }, index.h("fieldset", { key: '821c9982121243de546bfe95094402379e704659' }, index.h("legend", { key: '48d43758a4d62dcd977eeb9703bae8ac153b9bf4', part: parts.heading2 }, "Representative"), index.h("div", { key: '458edb00ebc0817623cd0fe70b8221c178cac168', class: "row gy-3" }, index.h("div", { key: '5d6b3fc92d7c6fb6bf729881bf26198ea796cbfa', class: "col-12 col-md-8" }, index.h("form-control-text", { key: '73eb60a383a45664050dd53bbc8b22b1e54ec22f', name: "name", label: "Full Name", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), index.h("div", { key: 'fa4b8c69dc03d7ffeecf98badd5cda52edc370e5', class: "col-12 col-md-4" }, index.h("form-control-text", { key: '3cc743bd85400c30741b6c05c3c098badce49a58', name: "title", label: "Title", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.title, errorText: this.errors.title, inputHandler: this.inputHandler })), index.h("div", { key: '83daa42529e73c5b946830dded92d0d48c95b251', class: "col-12 col-md-6" }, index.h("form-control-text", { key: '046a7537d6a2c5ab90d0069f91cc75f42a925e27', name: "email", label: "Email Address", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), index.h("div", { key: '9de7ac978409f7d5b6064cbeaa30771a6002fa5b', class: "col-12 col-md-6" }, index.h("form-control-number-masked", { key: '05bd882e8d76b6bc1dbc44fc4e1951d14d6d2649', name: "phone", label: "Phone Number", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: formInputMasks.PHONE_MASKS.US })), index.h("div", { key: 'b511c08db58c2442746a497c7d784cd0605e9f17', class: "col-12 col-md-4" }, index.h("form-control-date", { key: '46be9d7a916f72c583b0d47a528e6e3d2443ac83', 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 })), index.h("div", { key: 'ae69c549fdf91314f4be3fa2d922c73bc19253ed', class: "col-12 col-md-8" }, (!((_a = this.representative) === null || _a === void 0 ? void 0 : _a.ssn_last4) || this.isEditingIdentification) ? (index.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: formInputMasks.IDENTITY_MASKS[this.country], helpText: countryConfig.countryLabels[this.country].identityHelpText })) : (index.h("div", null, index.h("label", { class: "form-label", part: parts.label }, this.identificationNumberLabel), index.h("div", { class: "input-group mb-3" }, index.h("input", { type: "text", class: "form-control", part: parts.inputDisabled, value: `****${(_b = this.representative) === null || _b === void 0 ? void 0 : _b.ssn_last4}`, disabled: true }), index.h("button", { class: "btn btn-secondary", type: "button", part: parts.buttonSecondary, onClick: () => {
88
+ return (index.h(index.Host, { key: '9045242989e4d43d1e7b0770d0c5421005db78fa' }, index.h("fieldset", { key: '6643f8bd8e81bbc64ae8a0e9bcf317e16f91bab9' }, index.h("legend", { key: '20b897584a059ad98c109a37a3ea74c8be4b407c', part: parts.heading2 }, "Representative"), index.h("div", { key: '37da5bfb73a7606c6180c151761aaf13dcc819c4', class: "row gy-3" }, index.h("div", { key: '8d76accd442d9fda35ae4d3e1c47b65e17f098a0', class: "col-12 col-md-8" }, index.h("form-control-text", { key: '2eadd087eac463e851192d8ee1c30390a29ee8b2', name: "name", label: "Full Name", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), index.h("div", { key: 'f495a8cb3c6a0e9b4a00aac3e8c77f66da84b9e2', class: "col-12 col-md-4" }, index.h("form-control-select", { key: '4b7669b96b7df9a387cf3c4f9638ea9ada9f37ee', name: "title", label: "Title", options: businessFormOptions.businessTitleOptions, defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.title, errorText: this.errors.title, inputHandler: this.inputHandler })), index.h("div", { key: '3e10f464a7e26a9518b4ce6d37c6f4a968514f98', class: "col-12 col-md-6" }, index.h("form-control-text", { key: 'a0d51c6999295428bfdcb43ef4b0ec15194eb077', name: "email", label: "Email Address", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), index.h("div", { key: 'a8e1a4c8e4fa5a50d436c18e41a5b77f23bc53cf', class: "col-12 col-md-6" }, index.h("form-control-number-masked", { key: 'a72115bf51fc97a25add717c208e820c7e9e5495', name: "phone", label: "Phone Number", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: formInputMasks.PHONE_MASKS.US })), index.h("div", { key: 'db04f552f1757b6ac4e10539e4a148f399a75192', class: "col-12 col-md-4" }, index.h("form-control-date", { key: 'cb07a2cc4e6fc242d643f9caea01db380a9ff366', 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 })), index.h("div", { key: '95348511ba3b1582053f754249b15efe4d707252', class: "col-12 col-md-8" }, (!((_a = this.representative) === null || _a === void 0 ? void 0 : _a.ssn_last4) || this.isEditingIdentification) ? (index.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: formInputMasks.IDENTITY_MASKS[this.country], helpText: countryConfig.countryLabels[this.country].identityHelpText })) : (index.h("div", null, index.h("label", { class: "form-label", part: parts.label }, this.identificationNumberLabel), index.h("div", { class: "input-group mb-3" }, index.h("input", { type: "text", class: "form-control", part: parts.inputDisabled, value: `****${(_b = this.representative) === null || _b === void 0 ? void 0 : _b.ssn_last4}`, disabled: true }), index.h("button", { class: "btn btn-secondary", type: "button", part: parts.buttonSecondary, onClick: () => {
89
89
  this.isEditingIdentification = true;
90
90
  // Clear last4 and current value to force validation
91
91
  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: '' }) }));
92
- } }, "Change"))))), index.h("div", { key: 'dc7a74fe3641cfb03e682a6170c04efbd15b41d0', class: "col-12" }, index.h("identity-address-form", { key: '3756996788014f46ecfda29a3e5f9212b749a5d8', errors: this.errors.address, defaultValues: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate, country: this.country }))))));
92
+ } }, "Change"))))), index.h("div", { key: '57dcdaad0ec89f94d82236bfc8e093b68b7ec478', class: "col-12" }, index.h("identity-address-form", { key: '0ea02562077d352c5d3a1d0903dee1e8b69fa6f1', errors: this.errors.address, defaultValues: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate, country: this.country }))))));
93
93
  }
94
94
  };
95
95
 
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-p7cvUYAE.js');
4
- var index_esm = require('./index.esm-C1ZPG85l.js');
4
+ var index_esm = require('./index.esm-BNETBIV_.js');
5
5
  var parts = require('./parts-BXshb_S-.js');
6
6
  require('./_commonjsHelpers-BJu3ubxk.js');
7
7
 
@@ -1,17 +1,17 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-p7cvUYAE.js');
4
- var index_esm = require('./index.esm-C1ZPG85l.js');
5
- var schemaValidations = require('./schema-validations-_yWWnnaG.js');
4
+ var index_esm = require('./index.esm-BNETBIV_.js');
5
+ var schemaValidations = require('./schema-validations-DackMxv7.js');
6
6
  var parts = require('./parts-BXshb_S-.js');
7
7
  var checkout_store = require('./checkout.store-CztwuCnG.js');
8
8
  var index$1 = require('./index-CajjbB9t.js');
9
9
  var header3 = require('./header-3-DCYJhPro.js');
10
10
  require('./event-types-YOY5TKUN.js');
11
- var Business = require('./Business-oBifyXkW.js');
12
11
  require('./_commonjsHelpers-BJu3ubxk.js');
13
- require('./country-config-D7fss2oF.js');
14
- require('./business-form-options-D_nM7NDk.js');
12
+ require('./country-config-Ck-eEeZZ.js');
13
+ require('./Business-oBifyXkW.js');
14
+ require('./business-form-options-CnlrfbQ6.js');
15
15
  require('./index-W-zoNiyM.js');
16
16
 
17
17
  const fullBillingSchema = () => index_esm.create$3({
@@ -19,7 +19,7 @@ const fullBillingSchema = () => index_esm.create$3({
19
19
  address_line1: schemaValidations.lineOneValidation.required('Enter street address'),
20
20
  address_line2: schemaValidations.lineTwoValidation.nullable(),
21
21
  address_city: schemaValidations.cityValidation.required('Enter city'),
22
- address_state: schemaValidations.stateValidation.required('Select state'),
22
+ address_state: schemaValidations.stateValidation.required('Select state or province'),
23
23
  address_postal_code: schemaValidations.postalValidation.required('Enter postal code'),
24
24
  });
25
25
  const postalOnlySchema = () => index_esm.create$3({
@@ -151,7 +151,7 @@ const BillingFormFull = class {
151
151
  return null;
152
152
  }
153
153
  const billingFormDefaultValue = this.formController.getInitialValues();
154
- return (index.h("div", { part: parts.billingForm, class: "mt-4" }, index.h(header3.Header3, { text: "Billing address", class: "fs-6 fw-bold lh-lg mb-4" }), index.h("form", null, index.h("fieldset", null, this.legend && (index.h("legend", null, this.legend)), index.h("div", { class: "row gy-3" }, index.h("div", { class: "col-12" }, index.h("form-control-text", { name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), index.h("div", { class: "col-12" }, index.h("form-control-text", { name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), index.h("div", { class: "col-12" }, index.h("form-control-text", { name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), index.h("div", { class: "col-12" }, index.h("form-control-text", { name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), index.h("div", { class: "col-12" }, index.h("form-control-select", { name: 'address_state', label: 'State', options: Business.StateOptions, defaultValue: billingFormDefaultValue.address_state, errorText: this.errors.address_state, inputHandler: this.inputHandler })), index.h("div", { class: "col-12" }, index.h("form-control-text", { name: 'address_postal_code', label: "Postal Code", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 7 })))))));
154
+ return (index.h("div", { part: parts.billingForm, class: "mt-4" }, index.h(header3.Header3, { text: "Billing address", class: "fs-6 fw-bold lh-lg mb-4" }), index.h("form", null, index.h("fieldset", null, this.legend && (index.h("legend", null, this.legend)), index.h("div", { class: "row gy-3" }, index.h("div", { class: "col-12" }, index.h("form-control-text", { name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), index.h("div", { class: "col-12" }, index.h("form-control-text", { name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), index.h("div", { class: "col-12" }, index.h("form-control-text", { name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), index.h("div", { class: "col-12" }, index.h("form-control-text", { name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), index.h("div", { class: "col-12" }, index.h("form-control-select", { name: 'address_state', label: 'State / Province', options: schemaValidations.checkoutBillingStateOptions, defaultValue: billingFormDefaultValue.address_state, errorText: this.errors.address_state, inputHandler: this.inputHandler })), index.h("div", { class: "col-12" }, index.h("form-control-text", { name: 'address_postal_code', label: "Postal Code", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 7 })))))));
155
155
  }
156
156
  };
157
157
 
@@ -0,0 +1,21 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-p7cvUYAE.js');
4
+ require('./config-state-BIgGhhe9.js');
5
+ require('./dinero-BwNN_k7x.js');
6
+ var Plaid = require('./Plaid-KasiL5mp.js');
7
+ require('./Pagination-Dediz133.js');
8
+ require('./Business-oBifyXkW.js');
9
+ require('./index-W-zoNiyM.js');
10
+ require('./utils-BHi4j5rB.js');
11
+
12
+ const BankAccountDocumentFormInputs = class {
13
+ constructor(hostRef) {
14
+ index.registerInstance(this, hostRef);
15
+ }
16
+ render() {
17
+ return (index.h("div", { key: 'd0dacb95d07d3e4ca9bc2c9f23b6c490871da4e9', class: "row gy-3" }, index.h("div", { key: '02ed406f38558badf9f591e076b120d09c71f83b', class: "col-12" }, index.h("form-control-file", { key: '11ff1dc68264b9e5aa561ffe19b423abc1a00c78', name: "voided_check", label: "Voided Check", documentType: Plaid.EntityDocumentType.voidedCheck, inputHandler: this.inputHandler, onFileSelected: this.storeFiles, errorText: this.errors["voided_check"], multiple: true })), index.h("div", { key: '71d26407522a75a54489155566c18af1a64c1417', class: "col-12" }, index.h("form-control-file", { key: '7ea42e03a44c223a5fedc273e94e635e70d54f4b', name: "bank_statement", label: "Bank Statement", documentType: Plaid.EntityDocumentType.bankStatement, inputHandler: this.inputHandler, onFileSelected: this.storeFiles, errorText: this.errors["bank_statement"], multiple: true }))));
18
+ }
19
+ };
20
+
21
+ exports.bank_account_document_form_inputs = BankAccountDocumentFormInputs;
@@ -4,11 +4,11 @@ var index = require('./index-p7cvUYAE.js');
4
4
  var skeleton = require('./skeleton-DvRCiQlA.js');
5
5
  var configState = require('./config-state-BIgGhhe9.js');
6
6
  var utils = require('./utils-BHi4j5rB.js');
7
- var checkPkgVersion = require('./check-pkg-version-ByKpJklZ.js');
7
+ var checkPkgVersion = require('./check-pkg-version-jeIQGJ8A.js');
8
8
  require('./parts-BXshb_S-.js');
9
9
  require('./index-W-zoNiyM.js');
10
10
  require('./dinero-BwNN_k7x.js');
11
- require('./package-B6L3zyfG.js');
11
+ require('./package-CDegPd7E.js');
12
12
 
13
13
  const BankAccountFormSkeleton = (props) => {
14
14
  const { isReady } = props;
@@ -78,6 +78,56 @@ const seasonalBusinessOptions = [
78
78
  value: 'No',
79
79
  }
80
80
  ];
81
+ const businessTitleOptions = [
82
+ {
83
+ label: 'Choose title',
84
+ value: '',
85
+ },
86
+ {
87
+ label: 'Vice President',
88
+ value: 'Vice President',
89
+ },
90
+ {
91
+ label: 'President',
92
+ value: 'President',
93
+ },
94
+ {
95
+ label: 'Treasurer',
96
+ value: 'Treasurer',
97
+ },
98
+ {
99
+ label: 'Owner',
100
+ value: 'Owner',
101
+ },
102
+ {
103
+ label: 'Partner',
104
+ value: 'Partner',
105
+ },
106
+ {
107
+ label: 'CEO',
108
+ value: 'CEO',
109
+ },
110
+ {
111
+ label: 'Member LLC',
112
+ value: 'Member LLC',
113
+ },
114
+ {
115
+ label: 'Secretary',
116
+ value: 'Secretary',
117
+ },
118
+ {
119
+ label: 'Director',
120
+ value: 'Director',
121
+ },
122
+ {
123
+ label: 'COO',
124
+ value: 'COO',
125
+ },
126
+ {
127
+ label: 'CFO',
128
+ value: 'CFO',
129
+ },
130
+ ];
81
131
  const bankAccountTypeOptions = [
82
132
  {
83
133
  label: 'Checking',
@@ -92,5 +142,6 @@ const bankAccountTypeOptions = [
92
142
  exports.bankAccountTypeOptions = bankAccountTypeOptions;
93
143
  exports.businessClassificationOptions = businessClassificationOptions;
94
144
  exports.businessServiceReceivedOptions = businessServiceReceivedOptions;
145
+ exports.businessTitleOptions = businessTitleOptions;
95
146
  exports.recurringPaymentsOptions = recurringPaymentsOptions;
96
147
  exports.seasonalBusinessOptions = seasonalBusinessOptions;
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var index_esm = require('./index.esm-C1ZPG85l.js');
4
- var schemaValidations = require('./schema-validations-_yWWnnaG.js');
3
+ var index_esm = require('./index.esm-BNETBIV_.js');
4
+ var schemaValidations = require('./schema-validations-DackMxv7.js');
5
5
  var Business = require('./Business-oBifyXkW.js');
6
- var countryConfig = require('./country-config-D7fss2oF.js');
6
+ var countryConfig = require('./country-config-Ck-eEeZZ.js');
7
7
 
8
8
  // Base schema (no country-specific rules for classification/tax id)
9
9
  const baseBusinessCoreInfoSchema = (allowOptionalFields) => {
@@ -45,7 +45,7 @@ const businessCoreInfoSchemaCAN = (allowOptionalFields) => baseBusinessCoreInfoS
45
45
  tax_id: schemaValidations.makeTaxIdValidation(Business.CountryCode.CAN)
46
46
  .when('tax_id_last4', {
47
47
  is: (val) => !val,
48
- then: (schema) => schema.required(`Enter valid ${countryConfig.countryLabels.CAN.taxIdLabel} without dashes`),
48
+ then: (schema) => schema.notRequired().nullable(),
49
49
  otherwise: (schema) => schema.nullable(),
50
50
  }),
51
51
  }));
@@ -128,7 +128,9 @@ const strictSchemaUSA = (role) => index_esm.create$3({
128
128
  ssn_last4: index_esm.create$6().nullable(),
129
129
  // ssn required unless last4 provided (handled inside ssnValidation)
130
130
  identification_number: schemaValidations.ssnValidation,
131
- ownership_percentage: schemaValidations.ownershipPercentageValidation.nullable(),
131
+ ownership_percentage: role === 'owner'
132
+ ? schemaValidations.ownershipPercentageValidation.required('Enter ownership percentage')
133
+ : schemaValidations.ownershipPercentageValidation.nullable(),
132
134
  address: addressSchemaUSA(false),
133
135
  });
134
136
  // Internal CAN schemas
@@ -150,8 +152,10 @@ const strictSchemaCAN = (role) => index_esm.create$3({
150
152
  phone: schemaValidations.phoneValidation.required('Enter phone number'),
151
153
  dob_full: schemaValidations.dobValidation(role).required('Enter date of birth'),
152
154
  ssn_last4: index_esm.create$6().nullable(),
153
- identification_number: schemaValidations.makeIdentityNumberValidation(Business.CountryCode.CAN),
154
- ownership_percentage: schemaValidations.ownershipPercentageValidation.nullable(),
155
+ identification_number: schemaValidations.makeIdentityNumberValidation(Business.CountryCode.CAN).nullable(),
156
+ ownership_percentage: role === 'owner'
157
+ ? schemaValidations.ownershipPercentageValidation.required('Enter ownership percentage')
158
+ : schemaValidations.ownershipPercentageValidation.nullable(),
155
159
  address: addressSchemaCAN(false),
156
160
  });
157
161
  const identitySchemaUSA = (role, allowOptionalFields) => allowOptionalFields ? schemaUSA(role) : strictSchemaUSA(role);
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var Api = require('./Api-Bukk55YZ.js');
4
- require('./Plaid-BRSyOOuw.js');
4
+ require('./Plaid-KasiL5mp.js');
5
5
  require('./Pagination-Dediz133.js');
6
6
  require('./Business-oBifyXkW.js');
7
7
 
@@ -4,11 +4,11 @@ var index = require('./index-p7cvUYAE.js');
4
4
  var skeleton = require('./skeleton-DvRCiQlA.js');
5
5
  var configState = require('./config-state-BIgGhhe9.js');
6
6
  var utils = require('./utils-BHi4j5rB.js');
7
- var checkPkgVersion = require('./check-pkg-version-ByKpJklZ.js');
7
+ var checkPkgVersion = require('./check-pkg-version-jeIQGJ8A.js');
8
8
  require('./parts-BXshb_S-.js');
9
9
  require('./index-W-zoNiyM.js');
10
10
  require('./dinero-BwNN_k7x.js');
11
- require('./package-B6L3zyfG.js');
11
+ require('./package-CDegPd7E.js');
12
12
 
13
13
  const CardFormSkeleton = (props) => {
14
14
  const { isReady } = props;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var _package = require('./package-B6L3zyfG.js');
3
+ var _package = require('./package-CDegPd7E.js');
4
4
 
5
5
  const JUSTIFI_VERSION_KEY = '__JUSTIFI_WC_VERSION__';
6
6
  const detectDuplicateVersion = () => {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var Api = require('./Api-Bukk55YZ.js');
4
- require('./Plaid-BRSyOOuw.js');
4
+ require('./Plaid-KasiL5mp.js');
5
5
  require('./Pagination-Dediz133.js');
6
6
  require('./Business-oBifyXkW.js');
7
7
 
@@ -30,6 +30,7 @@ const countryLabels = {
30
30
  idNumberLabelOptional: 'SSN (optional)',
31
31
  identityHelpText: 'Enter your full Social Security Number. It is required for Federal OFAC check.',
32
32
  taxIdLabel: 'Tax ID (EIN or SSN)',
33
+ taxIdLabelOptional: '',
33
34
  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.",
34
35
  },
35
36
  CAN: {
@@ -39,6 +40,7 @@ const countryLabels = {
39
40
  idNumberLabelOptional: 'SIN (optional)',
40
41
  identityHelpText: 'Enter your full Social Insurance Number.',
41
42
  taxIdLabel: 'Business Number (BN)',
43
+ taxIdLabelOptional: 'Business Number (BN) (optional)',
42
44
  taxIdHelpText: 'Business Numbers (BN) are nine digits. Enter value without spaces or dashes.',
43
45
  },
44
46
  };
@@ -63,6 +65,7 @@ const countryValidation = {
63
65
  },
64
66
  };
65
67
 
68
+ exports.ProvinceOptions = ProvinceOptions;
66
69
  exports.countryLabels = countryLabels;
67
70
  exports.countryOptions = countryOptions;
68
71
  exports.countryValidation = countryValidation;
@@ -6,18 +6,18 @@ var parts = require('./parts-BXshb_S-.js');
6
6
  var button = require('./button-CR9Rl1-o.js');
7
7
  var skeleton = require('./skeleton-DvRCiQlA.js');
8
8
  require('./event-types-YOY5TKUN.js');
9
- var Plaid = require('./Plaid-BRSyOOuw.js');
10
- var utils = require('./utils-FVGp6se3.js');
11
- var eventTypes = require('./event-types-AU1B76Vm.js');
12
- var checkPkgVersion = require('./check-pkg-version-ByKpJklZ.js');
13
- var Analytics = require('./Analytics-BERGweGK.js');
9
+ var Plaid = require('./Plaid-KasiL5mp.js');
10
+ var utils = require('./utils-kDsk4nqH.js');
11
+ var eventTypes = require('./event-types-DDNVjmfR.js');
12
+ var checkPkgVersion = require('./check-pkg-version-jeIQGJ8A.js');
13
+ var Analytics = require('./Analytics-CexlbLRl.js');
14
14
  require('./dinero-BwNN_k7x.js');
15
15
  require('./Api-Bukk55YZ.js');
16
16
  require('./config-state-BIgGhhe9.js');
17
17
  require('./index-W-zoNiyM.js');
18
18
  require('./Pagination-Dediz133.js');
19
19
  require('./Business-oBifyXkW.js');
20
- require('./package-B6L3zyfG.js');
20
+ require('./package-CDegPd7E.js');
21
21
 
22
22
  const makeUpdateDisputeResponse = ({ authToken, disputeId, service }) => async ({ payload, onSuccess, onError, final = () => { } }) => {
23
23
  var _a;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var Api = require('./Api-Bukk55YZ.js');
4
- require('./Plaid-BRSyOOuw.js');
4
+ require('./Plaid-KasiL5mp.js');
5
5
  require('./Pagination-Dediz133.js');
6
6
  require('./Business-oBifyXkW.js');
7
7
 
@@ -3,7 +3,7 @@
3
3
  var index = require('./index-p7cvUYAE.js');
4
4
  var Business = require('./Business-oBifyXkW.js');
5
5
  var utils = require('./utils-DAyWinG2.js');
6
- var countryConfig = require('./country-config-D7fss2oF.js');
6
+ var countryConfig = require('./country-config-Ck-eEeZZ.js');
7
7
  var index$1 = require('./index-1MT3Z4XI.js');
8
8
  var parts = require('./parts-BXshb_S-.js');
9
9
  var formControlErrorText = require('./form-control-error-text-BO58Y6zF.js');
@@ -7,8 +7,9 @@ var formControlErrorText = require('./form-control-error-text-BO58Y6zF.js');
7
7
  require('./event-types-YOY5TKUN.js');
8
8
  var formInputMasks = require('./form-input-masks-BnNFJ3IJ.js');
9
9
  var inputHandlers = require('./input-handlers-_51J5q7J.js');
10
- var countryConfig = require('./country-config-D7fss2oF.js');
11
- require('./Business-oBifyXkW.js');
10
+ var Business = require('./Business-oBifyXkW.js');
11
+ var countryConfig = require('./country-config-Ck-eEeZZ.js');
12
+ var businessFormOptions = require('./business-form-options-CnlrfbQ6.js');
12
13
 
13
14
  const FormControlNumber = class {
14
15
  constructor(hostRef) {
@@ -73,14 +74,14 @@ const OwnerFormInputs = class {
73
74
  }
74
75
  render() {
75
76
  var _a, _b, _c;
76
- return (index.h("div", { key: 'd2cd6a317c81991b6108751d7fafe6eb0f785572', class: "row gy-3" }, index.h("div", { key: '58b5f28247b266fb5928a4cc54992978a0382389', class: "col-12 col-md-8" }, index.h("form-control-text", { key: '8755d9f2c3e4f1753f33f06e96b060e3f1bfb7b8', name: "name", label: "Full Name", defaultValue: this.ownerDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), index.h("div", { key: 'c5930506a02c94b2752a50b1db5d375fe8e73791', class: "col-12 col-md-4" }, index.h("form-control-text", { key: 'f93c736bd2315bcc33971286303e0eb2c995b83d', name: "title", label: "Title", defaultValue: this.ownerDefaultValue.title, errorText: this.errors.title, inputHandler: this.inputHandler, helpText: "Role at your business, e.g. President, CEO, Treasurer." })), index.h("div", { key: '421d8dce34b3f45dc859aa37de740f1578817ba0', class: "col-12 col-md-6" }, index.h("form-control-text", { key: '183dcf682886be6c07a6e0f5ff6f3e8ebd5193bc', name: "email", label: "Email Address", defaultValue: this.ownerDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), index.h("div", { key: '678bc220f7415da8cb83edf303919688cef75c29', class: "col-12 col-md-6" }, index.h("form-control-number-masked", { key: 'f763d5b0596926c4044de25f181a8d562ef67d0f', name: "phone", label: "Phone Number", defaultValue: this.ownerDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: formInputMasks.PHONE_MASKS.US })), index.h("div", { key: '958af034510d699ef84d7f22ff755ec088dbe4bc', class: "col-12 col-md-3" }, index.h("form-control-date", { key: '7a2d6f7dce48e5343296256eb407c638f3505bf6', name: "dob_full", label: "Birth Date", defaultValue: this.ownerDefaultValue.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: (e) => inputHandlers.updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), index.h("div", { key: '12c82f41a9d60ff5a52e64ea34d69fd24d3102bb', class: "col-12 col-md-3" }, index.h("form-control-number", { key: '035d4d0d2e036b1a86c2f179f39330b48de26005', name: "ownership_percentage", label: "% of Ownership", defaultValue: (_a = this.ownerDefaultValue) === null || _a === void 0 ? void 0 : _a.ownership_percentage, errorText: this.errors.ownership_percentage, inputHandler: this.inputHandler })), index.h("div", { key: '108cbb8692dc71b7d038315bf8be3b35efee0fa3', class: "col-12 col-md-6" }, (!((_b = this.ownerDefaultValue) === null || _b === void 0 ? void 0 : _b.ssn_last4) || this.isEditingIdentification) ? (index.h("form-control-number-masked", { name: "identification_number", label: countryConfig.countryLabels[this.country].idNumberLabel, defaultValue: this.isEditingIdentification ? '' : this.ownerDefaultValue.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: formInputMasks.IDENTITY_MASKS[this.country], helpText: countryConfig.countryLabels[this.country].identityHelpText })) : (index.h("div", null, index.h("label", { class: "form-label", part: parts.label }, countryConfig.countryLabels[this.country].idNumberLabel), index.h("div", { class: "input-group mb-3" }, index.h("input", { type: "text", class: "form-control", part: parts.inputDisabled, value: `****${(_c = this.ownerDefaultValue) === null || _c === void 0 ? void 0 : _c.ssn_last4}`, disabled: true }), index.h("button", { class: "btn btn-secondary", type: "button", part: parts.buttonSecondary, onClick: () => {
77
+ return (index.h("div", { key: '6f4bb241699db7c16cb99016363cbbc1a4484a4a', class: "row gy-3" }, index.h("div", { key: 'fc0317736a62ac34f98f2b7a43a5073d785dfa0d', class: "col-12 col-md-8" }, index.h("form-control-text", { key: '8123035dfd371841e0830d0019c425d25977c160', name: "name", label: "Full Name", defaultValue: this.ownerDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), index.h("div", { key: 'a16e9ecc81fd4965d3a42b2569a7ea0615ecbf97', class: "col-12 col-md-4" }, index.h("form-control-select", { key: 'bd9b0ee5c7cf45ac3d67da96f951f167c93033e0', name: "title", label: "Title", options: businessFormOptions.businessTitleOptions, defaultValue: this.ownerDefaultValue.title, errorText: this.errors.title, inputHandler: this.inputHandler })), index.h("div", { key: '5376a38a98ad715a3159ccf4e8c8e54b48fa1c7c', class: "col-12 col-md-6" }, index.h("form-control-text", { key: '7d08e58ae5fc15d5299c8646d5260602a51b9fbf', name: "email", label: "Email Address", defaultValue: this.ownerDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), index.h("div", { key: '6f80f898cb354b40d8d6784110abd5a1c49ff9d9', class: "col-12 col-md-6" }, index.h("form-control-number-masked", { key: '8a7d577c4c1c5b54f733ee51a1970c17de27d0b0', name: "phone", label: "Phone Number", defaultValue: this.ownerDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: formInputMasks.PHONE_MASKS.US })), index.h("div", { key: '5ace697b3fb38b52dca74ccd49207498b779ade8', class: "col-12 col-md-3" }, index.h("form-control-date", { key: 'ec8d614b62fe2913c52fd228e7df1fef1b1d7d83', name: "dob_full", label: "Birth Date", defaultValue: this.ownerDefaultValue.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: (e) => inputHandlers.updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), index.h("div", { key: '8fad1824571295e3464d26191eb23d373591e47d', class: "col-12 col-md-3" }, index.h("form-control-number", { key: 'c0ffdbf26ea5d65de8c3e98c2cd7d03430d4a8c2', name: "ownership_percentage", label: "% of Ownership", defaultValue: (_a = this.ownerDefaultValue) === null || _a === void 0 ? void 0 : _a.ownership_percentage, errorText: this.errors.ownership_percentage, inputHandler: this.inputHandler })), index.h("div", { key: '94d93a03f2513bb69da43bd68c3fddc62dbc18d6', class: "col-12 col-md-6" }, (!((_b = this.ownerDefaultValue) === null || _b === void 0 ? void 0 : _b.ssn_last4) || this.isEditingIdentification) ? (index.h("form-control-number-masked", { name: "identification_number", label: this.country === Business.CountryCode.CAN ? countryConfig.countryLabels[this.country].idNumberLabelOptional : countryConfig.countryLabels[this.country].idNumberLabel, defaultValue: this.isEditingIdentification ? '' : this.ownerDefaultValue.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: formInputMasks.IDENTITY_MASKS[this.country], helpText: countryConfig.countryLabels[this.country].identityHelpText })) : (index.h("div", null, index.h("label", { class: "form-label", part: parts.label }, this.country === Business.CountryCode.CAN ? countryConfig.countryLabels[this.country].idNumberLabelOptional : countryConfig.countryLabels[this.country].idNumberLabel), index.h("div", { class: "input-group mb-3" }, index.h("input", { type: "text", class: "form-control", part: parts.inputDisabled, value: `****${(_c = this.ownerDefaultValue) === null || _c === void 0 ? void 0 : _c.ssn_last4}`, disabled: true }), index.h("button", { class: "btn btn-secondary", type: "button", part: parts.buttonSecondary, onClick: () => {
77
78
  this.isEditingIdentification = true;
78
79
  // Clear last4 and current value to force validation
79
80
  inputHandlers.updateFormValues(this.formController, {
80
81
  ssn_last4: null,
81
82
  identification_number: ''
82
83
  });
83
- } }, "Change"))))), index.h("div", { key: '834b3ffaaec1e2dfec16b278b39e505782c0d785', class: "col-12" }, index.h("identity-address-form", { key: '7f6f356e116ce4bc1d9014dc7823b86b00af40b6', errors: this.errors.address, defaultValues: this.ownerDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate, country: this.country }))));
84
+ } }, "Change"))))), index.h("div", { key: '63d73015c84a1ab370b6686a643797b92096212f', class: "col-12" }, index.h("identity-address-form", { key: '4eff1f856b32e6d31cc18315b5b338c932723cf9', errors: this.errors.address, defaultValues: this.ownerDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate, country: this.country }))));
84
85
  }
85
86
  ;
86
87
  };
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  var Business = require('./Business-oBifyXkW.js');
4
- var Plaid = require('./Plaid-BRSyOOuw.js');
5
- var utils = require('./utils-FVGp6se3.js');
4
+ var Plaid = require('./Plaid-KasiL5mp.js');
5
+ var utils = require('./utils-kDsk4nqH.js');
6
6
 
7
7
  const makeGetBusiness = ({ id, authToken, service }) => async ({ onSuccess, onError, final }) => {
8
8
  var _a;
@@ -2,10 +2,10 @@
2
2
 
3
3
  require('./config-state-BIgGhhe9.js');
4
4
  require('./dinero-BwNN_k7x.js');
5
- var Plaid = require('./Plaid-BRSyOOuw.js');
5
+ var Plaid = require('./Plaid-KasiL5mp.js');
6
6
  require('./Pagination-Dediz133.js');
7
7
  require('./Business-oBifyXkW.js');
8
- var utils = require('./utils-FVGp6se3.js');
8
+ var utils = require('./utils-kDsk4nqH.js');
9
9
 
10
10
  const makeGetPaymentDetails = ({ id, authToken, service }) => async ({ onSuccess, onError, final }) => {
11
11
  var _a;
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
3
  var Api = require('./Api-Bukk55YZ.js');
4
- var Plaid = require('./Plaid-BRSyOOuw.js');
4
+ var Plaid = require('./Plaid-KasiL5mp.js');
5
5
  require('./Pagination-Dediz133.js');
6
6
  require('./Business-oBifyXkW.js');
7
7
  require('./config-state-BIgGhhe9.js');
8
8
  require('./dinero-BwNN_k7x.js');
9
- var utils = require('./utils-FVGp6se3.js');
9
+ var utils = require('./utils-kDsk4nqH.js');
10
10
 
11
11
  const api = Api.Api();
12
12
  class SubAccountService {
@@ -5,7 +5,7 @@ var index = require('./index-W-zoNiyM.js');
5
5
  var parts = require('./parts-BXshb_S-.js');
6
6
  var _commonjsHelpers = require('./_commonjsHelpers-BJu3ubxk.js');
7
7
  var formControlErrorText = require('./form-control-error-text-BO58Y6zF.js');
8
- var _package = require('./package-B6L3zyfG.js');
8
+ var _package = require('./package-CDegPd7E.js');
9
9
 
10
10
  const iframeInputStylesStore = index.createStore({
11
11
  focused: {
@@ -11109,23 +11109,6 @@ for (const method of ['validate', 'validateSync']) Schema.prototype[`${method}At
11109
11109
  for (const alias of ['equals', 'is']) Schema.prototype[alias] = Schema.prototype.oneOf;
11110
11110
  for (const alias of ['not', 'nope']) Schema.prototype[alias] = Schema.prototype.notOneOf;
11111
11111
 
11112
- const returnsTrue = () => true;
11113
- function create$8(spec) {
11114
- return new MixedSchema(spec);
11115
- }
11116
- class MixedSchema extends Schema {
11117
- constructor(spec) {
11118
- super(typeof spec === 'function' ? {
11119
- type: 'mixed',
11120
- check: spec
11121
- } : Object.assign({
11122
- type: 'mixed',
11123
- check: returnsTrue
11124
- }, spec));
11125
- }
11126
- }
11127
- create$8.prototype = MixedSchema.prototype;
11128
-
11129
11112
  function create$7() {
11130
11113
  return new BooleanSchema();
11131
11114
  }
@@ -11947,4 +11930,3 @@ exports.FormController = FormController;
11947
11930
  exports.create$3 = create$3;
11948
11931
  exports.create$6 = create$6;
11949
11932
  exports.create$7 = create$7;
11950
- exports.create$8 = create$8;
@@ -2,8 +2,8 @@
2
2
 
3
3
  var index = require('./index-p7cvUYAE.js');
4
4
  var Api = require('./Api-Bukk55YZ.js');
5
- var Plaid = require('./Plaid-BRSyOOuw.js');
6
- var styledHost = require('./styled-host-DAi5SuFa.js');
5
+ var Plaid = require('./Plaid-KasiL5mp.js');
6
+ var styledHost = require('./styled-host-Ch0-dxF-.js');
7
7
  require('./event-types-YOY5TKUN.js');
8
8
  var skeleton = require('./skeleton-DvRCiQlA.js');
9
9
  var checkout_store = require('./checkout.store-CztwuCnG.js');
@@ -13,18 +13,18 @@ var configState = require('./config-state-BIgGhhe9.js');
13
13
  var header1 = require('./header-1-CsBQoo1f.js');
14
14
  var insuranceState = require('./insurance-state-Xe2auE-N.js');
15
15
  var header3 = require('./header-3-DCYJhPro.js');
16
- var Analytics = require('./Analytics-BERGweGK.js');
17
- var checkPkgVersion = require('./check-pkg-version-ByKpJklZ.js');
16
+ var Analytics = require('./Analytics-CexlbLRl.js');
17
+ var checkPkgVersion = require('./check-pkg-version-jeIQGJ8A.js');
18
18
  require('./dinero-BwNN_k7x.js');
19
19
  require('./Pagination-Dediz133.js');
20
20
  require('./Business-oBifyXkW.js');
21
- var utils$1 = require('./utils-FVGp6se3.js');
22
- var checkout_service = require('./checkout.service-BZOyqXgW.js');
23
- var plaid_service = require('./plaid.service-Dlb8EUR8.js');
21
+ var utils$1 = require('./utils-kDsk4nqH.js');
22
+ var checkout_service = require('./checkout.service-C0M9hmsL.js');
23
+ var plaid_service = require('./plaid.service-DNT_DX6z.js');
24
24
  var index$1 = require('./index-CajjbB9t.js');
25
25
  var paymentMethodOptionUtils = require('./payment-method-option-utils-WYHIHy-l.js');
26
26
  require('./index-W-zoNiyM.js');
27
- require('./package-B6L3zyfG.js');
27
+ require('./package-CDegPd7E.js');
28
28
 
29
29
  const JustifiRadioListItem = class {
30
30
  constructor(hostRef) {
@@ -1,16 +1,16 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-p7cvUYAE.js');
4
- var Analytics = require('./Analytics-BERGweGK.js');
5
- var checkPkgVersion = require('./check-pkg-version-ByKpJklZ.js');
4
+ var Analytics = require('./Analytics-CexlbLRl.js');
5
+ var checkPkgVersion = require('./check-pkg-version-jeIQGJ8A.js');
6
6
  var configState = require('./config-state-BIgGhhe9.js');
7
- var styledHost = require('./styled-host-DAi5SuFa.js');
7
+ var styledHost = require('./styled-host-Ch0-dxF-.js');
8
8
  require('./event-types-YOY5TKUN.js');
9
- require('./package-B6L3zyfG.js');
9
+ require('./package-CDegPd7E.js');
10
10
  require('./Api-Bukk55YZ.js');
11
11
  require('./utils-BHi4j5rB.js');
12
12
  require('./dinero-BwNN_k7x.js');
13
- require('./Plaid-BRSyOOuw.js');
13
+ require('./Plaid-KasiL5mp.js');
14
14
  require('./Pagination-Dediz133.js');
15
15
  require('./Business-oBifyXkW.js');
16
16
  require('./index-W-zoNiyM.js');
@@ -1,16 +1,16 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-p7cvUYAE.js');
4
- var checkPkgVersion = require('./check-pkg-version-ByKpJklZ.js');
5
- var Analytics = require('./Analytics-BERGweGK.js');
4
+ var checkPkgVersion = require('./check-pkg-version-jeIQGJ8A.js');
5
+ var Analytics = require('./Analytics-CexlbLRl.js');
6
6
  var configState = require('./config-state-BIgGhhe9.js');
7
- var styledHost = require('./styled-host-DAi5SuFa.js');
7
+ var styledHost = require('./styled-host-Ch0-dxF-.js');
8
8
  require('./event-types-YOY5TKUN.js');
9
- require('./package-B6L3zyfG.js');
9
+ require('./package-CDegPd7E.js');
10
10
  require('./Api-Bukk55YZ.js');
11
11
  require('./utils-BHi4j5rB.js');
12
12
  require('./dinero-BwNN_k7x.js');
13
- require('./Plaid-BRSyOOuw.js');
13
+ require('./Plaid-KasiL5mp.js');
14
14
  require('./Pagination-Dediz133.js');
15
15
  require('./Business-oBifyXkW.js');
16
16
  require('./index-W-zoNiyM.js');