@justifi/webcomponents 6.12.6-rc.1 → 6.12.6

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 (328) hide show
  1. package/LICENSE +21 -0
  2. package/dist/cjs/{Analytics-CexlbLRl.js → Analytics-CuYtRPw5.js} +2 -2
  3. package/dist/cjs/{Plaid-KasiL5mp.js → Plaid-BRSyOOuw.js} +19 -14
  4. package/dist/cjs/{additional-questions-form-step_15.cjs.entry.js → additional-questions-form-step_14.cjs.entry.js} +169 -378
  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 +4 -4
  8. package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
  9. package/dist/cjs/{business-form-options-CnlrfbQ6.js → business-form-options-D_nM7NDk.js} +0 -51
  10. package/dist/cjs/{business-identity-schema-CC1wOwXd.js → business-identity-schema-DuFGX6_i.js} +7 -11
  11. package/dist/cjs/{business.service-BBovho58.js → business.service-Z9OACEQL.js} +1 -1
  12. package/dist/cjs/card-form.cjs.entry.js +2 -2
  13. package/dist/cjs/{check-pkg-version-jeIQGJ8A.js → check-pkg-version-CPWLIT6P.js} +1 -1
  14. package/dist/cjs/{checkout.service-C0M9hmsL.js → checkout.service-BZOyqXgW.js} +1 -1
  15. package/dist/cjs/{country-config-Ck-eEeZZ.js → country-config-aJp8ScEs.js} +0 -2
  16. package/dist/cjs/dispute-notification_2.cjs.entry.js +6 -6
  17. package/dist/cjs/{event-types-DDNVjmfR.js → event-types-AU1B76Vm.js} +1 -1
  18. package/dist/cjs/form-address-fields_3.cjs.entry.js +1 -1
  19. package/dist/cjs/form-control-number_2.cjs.entry.js +4 -5
  20. package/dist/cjs/{get-business-Ggw-UjXj.js → get-business-aR-C83KX.js} +2 -2
  21. package/dist/cjs/{get-payment-details-BVKRwME1.js → get-payment-details-dwhA02Zl.js} +2 -2
  22. package/dist/cjs/{get-subaccounts-RRmcS9xU.js → get-subaccounts-B1jmSa2d.js} +2 -2
  23. package/dist/cjs/hidden-input_2.cjs.entry.js +1 -1
  24. package/dist/cjs/{index.esm-BNETBIV_.js → index.esm-C1ZPG85l.js} +18 -0
  25. package/dist/cjs/justifi-apple-pay_11.cjs.entry.js +11 -10
  26. package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +5 -5
  27. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +5 -5
  28. package/dist/cjs/justifi-billing-form-full.cjs.entry.js +1 -1
  29. package/dist/cjs/justifi-billing-form.cjs.entry.js +1 -1
  30. package/dist/cjs/justifi-business-details.cjs.entry.js +8 -8
  31. package/dist/cjs/justifi-business-form.cjs.entry.js +13 -13
  32. package/dist/cjs/justifi-card-billing-form-simple.cjs.entry.js +1 -1
  33. package/dist/cjs/justifi-card-form.cjs.entry.js +5 -5
  34. package/dist/cjs/justifi-checkout.cjs.entry.js +5 -5
  35. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +3 -3
  36. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +8 -8
  37. package/dist/cjs/justifi-dispute-management.cjs.entry.js +7 -7
  38. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +6 -6
  39. package/dist/cjs/justifi-order-terminals.cjs.entry.js +9 -9
  40. package/dist/cjs/justifi-payment-details.cjs.entry.js +8 -8
  41. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +9 -9
  42. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +7 -7
  43. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
  44. package/dist/cjs/justifi-payments-list.cjs.entry.js +7 -7
  45. package/dist/cjs/justifi-payout-details.cjs.entry.js +8 -8
  46. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +7 -7
  47. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
  48. package/dist/cjs/justifi-payouts-list.cjs.entry.js +9 -9
  49. package/dist/cjs/justifi-refund-payment.cjs.entry.js +9 -9
  50. package/dist/cjs/justifi-save-new-payment-method.cjs.entry.js +1 -1
  51. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +6 -6
  52. package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
  53. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +3 -3
  54. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +6 -6
  55. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +3 -3
  56. package/dist/cjs/justifi-terminals-list.cjs.entry.js +8 -8
  57. package/dist/cjs/loader.cjs.js +1 -1
  58. package/dist/cjs/{lodash-CxSkBibc.js → lodash-C4mGy21w.js} +38 -27
  59. package/dist/cjs/{package-CDegPd7E.js → package-Dxjq_cJI.js} +1 -1
  60. package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
  61. package/dist/cjs/{payment-provisioning-actions-Cn8bgHKu.js → payment-provisioning-actions-BiSpysjW.js} +2 -2
  62. package/dist/cjs/payment-provisioning-form-buttons_2.cjs.entry.js +2 -3
  63. package/dist/cjs/{payment.service-CbIxt30x.js → payment.service-ByrgA_QZ.js} +1 -1
  64. package/dist/cjs/{payout.service-DVMvsdAf.js → payout.service-CnQm_BpU.js} +1 -1
  65. package/dist/cjs/{payouts-status-CzS2CLGW.js → payouts-status-AuS3Mp0V.js} +2 -2
  66. package/dist/cjs/{plaid.service-DNT_DX6z.js → plaid.service-Dlb8EUR8.js} +1 -1
  67. package/dist/cjs/{schema-validations-DackMxv7.js → schema-validations-DNPcvDh5.js} +8 -11
  68. package/dist/cjs/styled-host-DAi5SuFa.js +11 -0
  69. package/dist/cjs/{terminal.service-BBHixg-d.js → terminal.service-BdwHQ3Vv.js} +1 -1
  70. package/dist/cjs/{utils-kDsk4nqH.js → utils-FVGp6se3.js} +1 -1
  71. package/dist/cjs/webcomponents.cjs.js +1 -1
  72. package/dist/collection/api/Document.js +7 -14
  73. package/dist/collection/collection-manifest.json +0 -2
  74. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +2 -2
  75. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +3 -5
  76. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +2 -4
  77. package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -46
  78. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/additional-questions-form-step.js +1 -1
  79. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +114 -6
  80. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
  81. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +0 -8
  82. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +2 -4
  83. package/dist/collection/components/business-forms/payment-provisioning/justifi-payment-provisioning.js +1 -1
  84. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +2 -3
  85. package/dist/collection/components/business-forms/schemas/business-bank-account-schema.js +38 -10
  86. package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +1 -1
  87. package/dist/collection/components/business-forms/schemas/business-identity-schema.js +3 -7
  88. package/dist/collection/components/business-forms/schemas/schema-validations.js +5 -8
  89. package/dist/collection/components/business-forms/utils/business-form-options.js +0 -50
  90. package/dist/collection/components/business-forms/utils/country-config.js +0 -2
  91. package/dist/collection/components/modular-checkout/sub-components/justifi-google-pay.js +8 -6
  92. package/dist/collection/ui-components/form/form-control-file.js +1 -1
  93. package/dist/docs.json +76 -502
  94. package/dist/esm/{Analytics-5J6H0ALl.js → Analytics-CwckfiSK.js} +2 -2
  95. package/dist/esm/{Plaid-BM3JUIG5.js → Plaid-l6nNIjab.js} +19 -15
  96. package/dist/esm/{additional-questions-form-step_15.entry.js → additional-questions-form-step_14.entry.js} +169 -377
  97. package/dist/esm/additional-questions_5.entry.js +8 -8
  98. package/dist/esm/additional-statement_8.entry.js +1 -1
  99. package/dist/esm/bank-account-billing-form-simple_4.entry.js +4 -4
  100. package/dist/esm/bank-account-form.entry.js +2 -2
  101. package/dist/esm/{business-form-options-DXjZp4Rl.js → business-form-options-DRalxlqN.js} +1 -51
  102. package/dist/esm/{business-identity-schema-D8L_UfWl.js → business-identity-schema-0Q3kck3C.js} +7 -11
  103. package/dist/esm/{business.service-C4BD3pf7.js → business.service-C31wbMVs.js} +1 -1
  104. package/dist/esm/card-form.entry.js +2 -2
  105. package/dist/esm/{check-pkg-version-C7cHTIM0.js → check-pkg-version-Dy2NK3Nn.js} +1 -1
  106. package/dist/esm/{checkout.service-DmWeKNQs.js → checkout.service-cVdOGDuI.js} +1 -1
  107. package/dist/esm/{country-config-BW2dUoTJ.js → country-config-CdvhLcnT.js} +0 -2
  108. package/dist/esm/dispute-notification_2.entry.js +6 -6
  109. package/dist/esm/{event-types-eIqsrwmW.js → event-types-DalU_6SB.js} +1 -1
  110. package/dist/esm/form-address-fields_3.entry.js +1 -1
  111. package/dist/esm/form-control-number_2.entry.js +4 -5
  112. package/dist/esm/{get-business-DtFHdc37.js → get-business-Gg6qn5on.js} +2 -2
  113. package/dist/esm/{get-payment-details-26GxiYgv.js → get-payment-details-BiWgSJau.js} +2 -2
  114. package/dist/esm/{get-subaccounts-xkGMPstt.js → get-subaccounts-CkjZeR9U.js} +2 -2
  115. package/dist/esm/hidden-input_2.entry.js +1 -1
  116. package/dist/esm/{index.esm-KCSohgHx.js → index.esm-BHdVU4hV.js} +18 -1
  117. package/dist/esm/justifi-apple-pay_11.entry.js +11 -10
  118. package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +5 -5
  119. package/dist/esm/justifi-bank-account-form.entry.js +5 -5
  120. package/dist/esm/justifi-billing-form-full.entry.js +1 -1
  121. package/dist/esm/justifi-billing-form.entry.js +1 -1
  122. package/dist/esm/justifi-business-details.entry.js +8 -8
  123. package/dist/esm/justifi-business-form.entry.js +13 -13
  124. package/dist/esm/justifi-card-billing-form-simple.entry.js +1 -1
  125. package/dist/esm/justifi-card-form.entry.js +5 -5
  126. package/dist/esm/justifi-checkout.entry.js +5 -5
  127. package/dist/esm/justifi-checkouts-list-filters.entry.js +3 -3
  128. package/dist/esm/justifi-checkouts-list.entry.js +8 -8
  129. package/dist/esm/justifi-dispute-management.entry.js +7 -7
  130. package/dist/esm/justifi-gross-payment-chart.entry.js +6 -6
  131. package/dist/esm/justifi-order-terminals.entry.js +9 -9
  132. package/dist/esm/justifi-payment-details.entry.js +8 -8
  133. package/dist/esm/justifi-payment-provisioning.entry.js +9 -9
  134. package/dist/esm/justifi-payment-transactions-list.entry.js +7 -7
  135. package/dist/esm/justifi-payments-list-filters.entry.js +2 -2
  136. package/dist/esm/justifi-payments-list.entry.js +7 -7
  137. package/dist/esm/justifi-payout-details.entry.js +8 -8
  138. package/dist/esm/justifi-payout-transactions-list.entry.js +7 -7
  139. package/dist/esm/justifi-payouts-list-filters.entry.js +2 -2
  140. package/dist/esm/justifi-payouts-list.entry.js +9 -9
  141. package/dist/esm/justifi-refund-payment.entry.js +9 -9
  142. package/dist/esm/justifi-save-new-payment-method.entry.js +1 -1
  143. package/dist/esm/justifi-season-interruption-insurance.entry.js +6 -6
  144. package/dist/esm/justifi-skeleton.entry.js +1 -1
  145. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +3 -3
  146. package/dist/esm/justifi-terminal-orders-list.entry.js +6 -6
  147. package/dist/esm/justifi-terminals-list-filters.entry.js +3 -3
  148. package/dist/esm/justifi-terminals-list.entry.js +8 -8
  149. package/dist/esm/loader.js +1 -1
  150. package/dist/esm/{lodash-CrGKVSPp.js → lodash-BF_QgjtL.js} +38 -27
  151. package/dist/esm/{package-8R9xLun-.js → package-DAZd_gFd.js} +1 -1
  152. package/dist/esm/payment-method-option.entry.js +1 -1
  153. package/dist/esm/{payment-provisioning-actions-fWdNDUdq.js → payment-provisioning-actions-cl5xIYnF.js} +2 -2
  154. package/dist/esm/payment-provisioning-form-buttons_2.entry.js +2 -3
  155. package/dist/esm/{payment.service-CWR7jF-K.js → payment.service-5_u-UzTY.js} +1 -1
  156. package/dist/esm/{payout.service-CFU362cH.js → payout.service-D2zS5y8N.js} +1 -1
  157. package/dist/esm/{payouts-status-D2G7FKu1.js → payouts-status-DCjCGTaa.js} +2 -2
  158. package/dist/esm/{plaid.service-0hd1i5Ga.js → plaid.service-BiJ65YG8.js} +1 -1
  159. package/dist/esm/{schema-validations-CjqWFLKt.js → schema-validations-A1o1biOB.js} +8 -11
  160. package/dist/esm/styled-host-D6byRazK.js +9 -0
  161. package/dist/esm/{terminal.service-Dr6dERcJ.js → terminal.service-CIxDfM7V.js} +1 -1
  162. package/dist/esm/{utils-q7KOrlSX.js → utils-C1B2hVAB.js} +1 -1
  163. package/dist/esm/webcomponents.js +1 -1
  164. package/dist/module/Plaid.js +19 -15
  165. package/dist/module/additional-questions-form-step2.js +5 -11
  166. package/dist/module/bank-account-document-form-inputs.js +1 -55
  167. package/dist/module/bank-account-document-form-inputs2.js +57 -0
  168. package/dist/module/business-bank-account-form-step2.js +177 -24
  169. package/dist/module/business-core-info-form-step2.js +2 -2
  170. package/dist/module/business-core-info-schema.js +1 -1
  171. package/dist/module/business-core-info2.js +3 -3
  172. package/dist/module/business-documents-on-file2.js +1 -1
  173. package/dist/module/business-form-options.js +1 -51
  174. package/dist/module/business-identity-schema.js +3 -7
  175. package/dist/module/business-owners-form-step2.js +0 -8
  176. package/dist/module/business-representative-form-inputs2.js +3 -5
  177. package/dist/module/business-representative2.js +5 -6
  178. package/dist/module/button.js +1 -1
  179. package/dist/module/country-config.js +0 -2
  180. package/dist/module/form-control-number2.js +1 -1
  181. package/dist/module/form-control-textarea2.js +1 -1
  182. package/dist/module/form.js +18 -1
  183. package/dist/module/hidden-input2.js +1 -1
  184. package/dist/module/iframe-input2.js +1 -1
  185. package/dist/module/justifi-checkouts-list-filters.js +1 -1
  186. package/dist/module/justifi-checkouts-list.js +2 -2
  187. package/dist/module/justifi-dispute-management.js +1 -1
  188. package/dist/module/justifi-google-pay2.js +4 -3
  189. package/dist/module/justifi-modular-checkout2.js +1 -1
  190. package/dist/module/justifi-order-terminals.js +2 -2
  191. package/dist/module/justifi-payment-details.js +1 -1
  192. package/dist/module/justifi-payment-provisioning.js +27 -33
  193. package/dist/module/justifi-payment-transactions-list.js +2 -2
  194. package/dist/module/justifi-payments-list.js +1 -1
  195. package/dist/module/justifi-payout-details.js +1 -1
  196. package/dist/module/justifi-payout-transactions-list.js +2 -2
  197. package/dist/module/justifi-payouts-list-filters.js +1 -1
  198. package/dist/module/justifi-payouts-list.js +2 -2
  199. package/dist/module/justifi-refund-payment.js +1 -1
  200. package/dist/module/justifi-terminal-orders-list-filters.js +1 -1
  201. package/dist/module/justifi-terminal-orders-list.js +2 -2
  202. package/dist/module/justifi-terminals-list-filters.js +1 -1
  203. package/dist/module/justifi-terminals-list.js +2 -2
  204. package/dist/module/lodash.js +38 -27
  205. package/dist/module/owner-form-inputs2.js +3 -5
  206. package/dist/module/owner-form2.js +1 -10
  207. package/dist/module/package.js +1 -1
  208. package/dist/module/parts.js +1 -1
  209. package/dist/module/payment-provisioning-actions.js +1 -1
  210. package/dist/module/payment-provisioning-form-steps2.js +28 -35
  211. package/dist/module/plaid-verification2.js +1 -1
  212. package/dist/module/schema-validations.js +5 -8
  213. package/dist/module/skeleton.js +1 -1
  214. package/dist/module/styled-host.js +1 -1
  215. package/dist/module/table.js +1 -1
  216. package/dist/module/terminal-quantity-selector2.js +1 -1
  217. package/dist/types/api/Document.d.ts +2 -15
  218. package/dist/types/components/business-forms/owner-form/owner-form.d.ts +0 -2
  219. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +12 -1
  220. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-form-steps.d.ts +0 -1
  221. package/dist/types/components/business-forms/schemas/business-bank-account-schema.d.ts +4 -4
  222. package/dist/types/components/business-forms/utils/business-form-options.d.ts +0 -1
  223. package/dist/types/components/modular-checkout/sub-components/justifi-google-pay.d.ts +1 -1
  224. package/dist/types/components.d.ts +10 -71
  225. package/dist/webcomponents/p-034fa691.entry.js +1 -0
  226. package/dist/webcomponents/{p-086f7eea.entry.js → p-07eaee91.entry.js} +1 -1
  227. package/dist/webcomponents/{p-2e063c5d.entry.js → p-08ab97ce.entry.js} +1 -1
  228. package/dist/webcomponents/{p-80fdd013.entry.js → p-1f34b2f7.entry.js} +1 -1
  229. package/dist/webcomponents/{p-3bcac405.entry.js → p-279c17ac.entry.js} +1 -1
  230. package/dist/webcomponents/{p-29b82954.entry.js → p-2a5ee558.entry.js} +1 -1
  231. package/dist/webcomponents/p-2aac2ab6.entry.js +1 -0
  232. package/dist/webcomponents/p-37254105.entry.js +1 -0
  233. package/dist/webcomponents/{p-a7e0ab9b.entry.js → p-38209a25.entry.js} +1 -1
  234. package/dist/webcomponents/{p-4b14b7e7.entry.js → p-3cefb032.entry.js} +1 -1
  235. package/dist/webcomponents/{p-8ed1bc07.entry.js → p-3ef07f42.entry.js} +1 -1
  236. package/dist/webcomponents/{p-a5ad9183.entry.js → p-41637e4a.entry.js} +1 -1
  237. package/dist/webcomponents/{p-92d8a14b.entry.js → p-4b39a470.entry.js} +1 -1
  238. package/dist/webcomponents/{p-6b21947c.entry.js → p-4ee55e7d.entry.js} +1 -1
  239. package/dist/webcomponents/p-5G1OMxZz.js +1 -0
  240. package/dist/webcomponents/p-6904c62c.entry.js +1 -0
  241. package/dist/webcomponents/{p-5f071ee0.entry.js → p-7377f7d1.entry.js} +1 -1
  242. package/dist/webcomponents/{p-48a866ae.entry.js → p-78c4668b.entry.js} +1 -1
  243. package/dist/webcomponents/{p-c2e09203.entry.js → p-8e56430a.entry.js} +1 -1
  244. package/dist/webcomponents/{p-947950cc.entry.js → p-9153c121.entry.js} +1 -1
  245. package/dist/webcomponents/p-9b5ca32c.entry.js +1 -0
  246. package/dist/webcomponents/{p-04d6d725.entry.js → p-9d676f54.entry.js} +1 -1
  247. package/dist/webcomponents/{p-BrFax4_P.js → p-APOabprT.js} +1 -1
  248. package/dist/webcomponents/p-Aacb4jqT.js +1 -0
  249. package/dist/webcomponents/{p-CeW0EPHy.js → p-Axa3cgnH.js} +1 -1
  250. package/dist/webcomponents/{p-CL8LyqRI.js → p-BJu1-9kE.js} +1 -1
  251. package/dist/webcomponents/{p-czJ2qSU1.js → p-BXyADlAH.js} +1 -1
  252. package/dist/webcomponents/{p-xWuaNtJy.js → p-Ba8jdOkX.js} +1 -1
  253. package/dist/webcomponents/{p-DvnFba1A.js → p-BdpSLMs7.js} +1 -1
  254. package/dist/webcomponents/p-BqNNwq6C.js +1 -0
  255. package/dist/webcomponents/{p-BBSnDYJw.js → p-Bt4GjEWL.js} +1 -1
  256. package/dist/webcomponents/{p-C-zuQNNP.js → p-BxKbnILQ.js} +1 -1
  257. package/dist/webcomponents/{p-D9sqTVmd.js → p-CKiAlBsU.js} +1 -1
  258. package/dist/webcomponents/{p-CDu7TeCZ.js → p-Cm9f5fyh.js} +1 -1
  259. package/dist/webcomponents/p-D8ytux5N.js +1 -0
  260. package/dist/webcomponents/p-DAZd_gFd.js +1 -0
  261. package/dist/webcomponents/{p-DdeBubpX.js → p-Dk26hk5T.js} +1 -1
  262. package/dist/webcomponents/p-DrMJliVY.js +1 -0
  263. package/dist/webcomponents/{p-Dzv0P2Ly.js → p-NZS8uCtH.js} +1 -1
  264. package/dist/webcomponents/p-OeJ-3w3l.js +9 -0
  265. package/dist/webcomponents/p-XIWgia4J.js +1 -0
  266. package/dist/webcomponents/{p-8db8d7e7.entry.js → p-a2c25cc4.entry.js} +1 -1
  267. package/dist/webcomponents/{p-de1ccbea.entry.js → p-a56e43a1.entry.js} +1 -1
  268. package/dist/webcomponents/{p-a3b48ba3.entry.js → p-a7a1b168.entry.js} +1 -1
  269. package/dist/webcomponents/{p-85c0abdb.entry.js → p-a9e82502.entry.js} +1 -1
  270. package/dist/webcomponents/{p-BSyTbuZy.js → p-av6jyzyC.js} +1 -1
  271. package/dist/webcomponents/{p-0b169fac.entry.js → p-b0b6083f.entry.js} +1 -1
  272. package/dist/webcomponents/{p-86eb32d8.entry.js → p-b21010cb.entry.js} +1 -1
  273. package/dist/webcomponents/{p-1e34c488.entry.js → p-b62ff001.entry.js} +1 -1
  274. package/dist/webcomponents/{p-c1b48216.entry.js → p-b8351983.entry.js} +1 -1
  275. package/dist/webcomponents/{p-3960e6b7.entry.js → p-bc2dddf3.entry.js} +1 -1
  276. package/dist/webcomponents/{p-3e10a0de.entry.js → p-c4767c7b.entry.js} +1 -1
  277. package/dist/webcomponents/p-c8bc235f.entry.js +1 -0
  278. package/dist/webcomponents/{p-0a4fcb15.entry.js → p-ca87c609.entry.js} +1 -1
  279. package/dist/webcomponents/{p-ba2ab989.entry.js → p-cf3e3394.entry.js} +1 -1
  280. package/dist/webcomponents/{p-e0e6c2df.entry.js → p-d01a1076.entry.js} +1 -1
  281. package/dist/webcomponents/{p-a4520dba.entry.js → p-d5edbea3.entry.js} +1 -1
  282. package/dist/webcomponents/{p-b17ce21d.entry.js → p-d79c5ee4.entry.js} +1 -1
  283. package/dist/webcomponents/{p-562447ad.entry.js → p-e02d7751.entry.js} +4 -4
  284. package/dist/webcomponents/{p-c3cc4ad6.entry.js → p-e07506b7.entry.js} +1 -1
  285. package/dist/webcomponents/{p-cc558e25.entry.js → p-e17b92ec.entry.js} +1 -1
  286. package/dist/webcomponents/p-ea254f14.entry.js +1 -0
  287. package/dist/webcomponents/{p-ca1c2048.entry.js → p-ebb7b693.entry.js} +1 -1
  288. package/dist/webcomponents/{p-0e4cda77.entry.js → p-f1b9cbf0.entry.js} +1 -1
  289. package/dist/webcomponents/{p-Cz0yhyYu.js → p-fE5A37L5.js} +1 -1
  290. package/dist/webcomponents/p-ff8cf16c.entry.js +1 -0
  291. package/dist/webcomponents/p-nb_LhbJq.js +1 -0
  292. package/dist/webcomponents/{p--RbNhyet.js → p-oTtn8xDw.js} +1 -1
  293. package/dist/webcomponents/webcomponents.esm.js +1 -1
  294. package/package.json +14 -14
  295. package/dist/cjs/bank-account-document-form-inputs.cjs.entry.js +0 -21
  296. package/dist/cjs/styled-host-Ch0-dxF-.js +0 -11
  297. package/dist/collection/components/business-forms/payment-provisioning/document-upload/document-upload-form-step.js +0 -435
  298. package/dist/collection/components/business-forms/payment-provisioning/document-upload/document-upload-list.js +0 -52
  299. package/dist/collection/components/business-forms/payment-provisioning/document-upload/document-upload-options.js +0 -72
  300. package/dist/esm/bank-account-document-form-inputs.entry.js +0 -19
  301. package/dist/esm/styled-host-D84RBv1W.js +0 -9
  302. package/dist/module/document-upload-form-step.d.ts +0 -11
  303. package/dist/module/document-upload-form-step.js +0 -6
  304. package/dist/module/document-upload-form-step2.js +0 -397
  305. package/dist/module/document-upload-list.d.ts +0 -11
  306. package/dist/module/document-upload-list.js +0 -6
  307. package/dist/module/document-upload-list2.js +0 -46
  308. package/dist/types/components/business-forms/payment-provisioning/document-upload/document-upload-form-step.d.ts +0 -44
  309. package/dist/types/components/business-forms/payment-provisioning/document-upload/document-upload-list.d.ts +0 -6
  310. package/dist/types/components/business-forms/payment-provisioning/document-upload/document-upload-options.d.ts +0 -44
  311. package/dist/webcomponents/p-37676092.entry.js +0 -1
  312. package/dist/webcomponents/p-54ee2a30.entry.js +0 -1
  313. package/dist/webcomponents/p-58adef16.entry.js +0 -1
  314. package/dist/webcomponents/p-8R9xLun-.js +0 -1
  315. package/dist/webcomponents/p-92e7ce54.entry.js +0 -1
  316. package/dist/webcomponents/p-9ce2a98a.entry.js +0 -1
  317. package/dist/webcomponents/p-B1yVkh15.js +0 -1
  318. package/dist/webcomponents/p-BzXQDB0t.js +0 -1
  319. package/dist/webcomponents/p-C_ifLmT1.js +0 -9
  320. package/dist/webcomponents/p-D9ZHVy-j.js +0 -1
  321. package/dist/webcomponents/p-DV4n8kZd.js +0 -1
  322. package/dist/webcomponents/p-DzEdYT8R.js +0 -1
  323. package/dist/webcomponents/p-a2ed63df.entry.js +0 -1
  324. package/dist/webcomponents/p-a9976353.entry.js +0 -1
  325. package/dist/webcomponents/p-c9599fc7.entry.js +0 -1
  326. package/dist/webcomponents/p-cab840bd.entry.js +0 -1
  327. package/dist/webcomponents/p-n_pmf4AT.js +0 -1
  328. package/dist/webcomponents/p-vUN_uvAi.js +0 -1
@@ -24,7 +24,7 @@ function requireLodash () {
24
24
  var undefined$1;
25
25
 
26
26
  /** Used as the semantic version number. */
27
- var VERSION = '4.17.23';
27
+ var VERSION = '4.18.1';
28
28
 
29
29
  /** Used as the size to enable large array optimizations. */
30
30
  var LARGE_ARRAY_SIZE = 200;
@@ -32,7 +32,8 @@ function requireLodash () {
32
32
  /** Error message constants. */
33
33
  var CORE_ERROR_TEXT = 'Unsupported core-js use. Try https://npms.io/search?q=ponyfill.',
34
34
  FUNC_ERROR_TEXT = 'Expected a function',
35
- INVALID_TEMPL_VAR_ERROR_TEXT = 'Invalid `variable` option passed into `_.template`';
35
+ INVALID_TEMPL_VAR_ERROR_TEXT = 'Invalid `variable` option passed into `_.template`',
36
+ INVALID_TEMPL_IMPORTS_ERROR_TEXT = 'Invalid `imports` option passed into `_.template`';
36
37
 
37
38
  /** Used to stand-in for `undefined` hash values. */
38
39
  var HASH_UNDEFINED = '__lodash_hash_undefined__';
@@ -1764,6 +1765,10 @@ function requireLodash () {
1764
1765
  * embedded Ruby (ERB) as well as ES2015 template strings. Change the
1765
1766
  * following template settings to use alternative delimiters.
1766
1767
  *
1768
+ * **Security:** See
1769
+ * [threat model](https://github.com/lodash/lodash/blob/main/threat-model.md)
1770
+ * — `_.template` is insecure and will be removed in v5.
1771
+ *
1767
1772
  * @static
1768
1773
  * @memberOf _
1769
1774
  * @type {Object}
@@ -2312,7 +2317,7 @@ function requireLodash () {
2312
2317
  * @name has
2313
2318
  * @memberOf SetCache
2314
2319
  * @param {*} value The value to search for.
2315
- * @returns {number} Returns `true` if `value` is found, else `false`.
2320
+ * @returns {boolean} Returns `true` if `value` is found, else `false`.
2316
2321
  */
2317
2322
  function setCacheHas(value) {
2318
2323
  return this.__data__.has(value);
@@ -4383,7 +4388,9 @@ function requireLodash () {
4383
4388
  function baseUnset(object, path) {
4384
4389
  path = castPath(path, object);
4385
4390
 
4386
- // Prevent prototype pollution, see: https://github.com/lodash/lodash/security/advisories/GHSA-xxjr-mmjv-4gpg
4391
+ // Prevent prototype pollution:
4392
+ // https://github.com/lodash/lodash/security/advisories/GHSA-xxjr-mmjv-4gpg
4393
+ // https://github.com/lodash/lodash/security/advisories/GHSA-f23m-r3pf-42rh
4387
4394
  var index = -1,
4388
4395
  length = path.length;
4389
4396
 
@@ -4391,32 +4398,17 @@ function requireLodash () {
4391
4398
  return true;
4392
4399
  }
4393
4400
 
4394
- var isRootPrimitive = object == null || (typeof object !== 'object' && typeof object !== 'function');
4395
-
4396
4401
  while (++index < length) {
4397
- var key = path[index];
4398
-
4399
- // skip non-string keys (e.g., Symbols, numbers)
4400
- if (typeof key !== 'string') {
4401
- continue;
4402
- }
4402
+ var key = toKey(path[index]);
4403
4403
 
4404
4404
  // Always block "__proto__" anywhere in the path if it's not expected
4405
4405
  if (key === '__proto__' && !hasOwnProperty.call(object, '__proto__')) {
4406
4406
  return false;
4407
4407
  }
4408
4408
 
4409
- // Block "constructor.prototype" chains
4410
- if (key === 'constructor' &&
4411
- (index + 1) < length &&
4412
- typeof path[index + 1] === 'string' &&
4413
- path[index + 1] === 'prototype') {
4414
-
4415
- // Allow ONLY when the path starts at a primitive root, e.g., _.unset(0, 'constructor.prototype.a')
4416
- if (isRootPrimitive && index === 0) {
4417
- continue;
4418
- }
4419
-
4409
+ // Block constructor/prototype as non-terminal traversal keys to prevent
4410
+ // escaping the object graph into built-in constructors and prototypes.
4411
+ if ((key === 'constructor' || key === 'prototype') && index < length - 1) {
4420
4412
  return false;
4421
4413
  }
4422
4414
  }
@@ -6973,7 +6965,7 @@ function requireLodash () {
6973
6965
 
6974
6966
  /**
6975
6967
  * Creates an array with all falsey values removed. The values `false`, `null`,
6976
- * `0`, `""`, `undefined`, and `NaN` are falsey.
6968
+ * `0`, `-0`, `0n`, `""`, `undefined`, and `NaN` are falsy.
6977
6969
  *
6978
6970
  * @static
6979
6971
  * @memberOf _
@@ -7512,7 +7504,7 @@ function requireLodash () {
7512
7504
 
7513
7505
  while (++index < length) {
7514
7506
  var pair = pairs[index];
7515
- result[pair[0]] = pair[1];
7507
+ baseAssignValue(result, pair[0], pair[1]);
7516
7508
  }
7517
7509
  return result;
7518
7510
  }
@@ -14172,6 +14164,8 @@ function requireLodash () {
14172
14164
  * **Note:** JavaScript follows the IEEE-754 standard for resolving
14173
14165
  * floating-point values which can produce unexpected results.
14174
14166
  *
14167
+ * **Note:** If `lower` is greater than `upper`, the values are swapped.
14168
+ *
14175
14169
  * @static
14176
14170
  * @memberOf _
14177
14171
  * @since 0.7.0
@@ -14185,9 +14179,16 @@ function requireLodash () {
14185
14179
  * _.random(0, 5);
14186
14180
  * // => an integer between 0 and 5
14187
14181
  *
14182
+ * // when lower is greater than upper the values are swapped
14183
+ * _.random(5, 0);
14184
+ * // => an integer between 0 and 5
14185
+ *
14188
14186
  * _.random(5);
14189
14187
  * // => also an integer between 0 and 5
14190
14188
  *
14189
+ * _.random(-5);
14190
+ * // => an integer between -5 and 0
14191
+ *
14191
14192
  * _.random(5, true);
14192
14193
  * // => a floating-point number between 0 and 5
14193
14194
  *
@@ -14789,6 +14790,10 @@ function requireLodash () {
14789
14790
  * properties may be accessed as free variables in the template. If a setting
14790
14791
  * object is given, it takes precedence over `_.templateSettings` values.
14791
14792
  *
14793
+ * **Security:** `_.template` is insecure and should not be used. It will be
14794
+ * removed in Lodash v5. Avoid untrusted input. See
14795
+ * [threat model](https://github.com/lodash/lodash/blob/main/threat-model.md).
14796
+ *
14792
14797
  * **Note:** In the development build `_.template` utilizes
14793
14798
  * [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl)
14794
14799
  * for easier debugging.
@@ -14896,12 +14901,18 @@ function requireLodash () {
14896
14901
  options = undefined$1;
14897
14902
  }
14898
14903
  string = toString(string);
14899
- options = assignInWith({}, options, settings, customDefaultsAssignIn);
14904
+ options = assignWith({}, options, settings, customDefaultsAssignIn);
14900
14905
 
14901
- var imports = assignInWith({}, options.imports, settings.imports, customDefaultsAssignIn),
14906
+ var imports = assignWith({}, options.imports, settings.imports, customDefaultsAssignIn),
14902
14907
  importsKeys = keys(imports),
14903
14908
  importsValues = baseValues(imports, importsKeys);
14904
14909
 
14910
+ arrayEach(importsKeys, function(key) {
14911
+ if (reForbiddenIdentifierChars.test(key)) {
14912
+ throw new Error(INVALID_TEMPL_IMPORTS_ERROR_TEXT);
14913
+ }
14914
+ });
14915
+
14905
14916
  var isEscaping,
14906
14917
  isEvaluating,
14907
14918
  index = 0,
@@ -1,10 +1,8 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
2
  import { P as PHONE_MASKS, I as IDENTITY_MASKS } from './form-input-masks.js';
3
3
  import { u as updateFormValues, a as updateAddressFormValues, b as updateDateOfBirthFormValues } from './input-handlers.js';
4
- import { a as CountryCode } from './Business.js';
5
4
  import { c as countryLabels } from './country-config.js';
6
- import { d as businessTitleOptions } from './business-form-options.js';
7
- import { l as label, c as inputDisabled, A as buttonSecondary } from './parts.js';
5
+ import { l as label, c as inputDisabled, E as buttonSecondary } from './parts.js';
8
6
  import { d as defineCustomElement$9 } from './custom-popper2.js';
9
7
  import { d as defineCustomElement$8 } from './form-address-fields2.js';
10
8
  import { d as defineCustomElement$7 } from './form-control-date2.js';
@@ -31,14 +29,14 @@ const OwnerFormInputs = /*@__PURE__*/ proxyCustomElement(class OwnerFormInputs e
31
29
  }
32
30
  render() {
33
31
  var _a, _b, _c;
34
- return (h("div", { key: '6f4bb241699db7c16cb99016363cbbc1a4484a4a', class: "row gy-3" }, h("div", { key: 'fc0317736a62ac34f98f2b7a43a5073d785dfa0d', class: "col-12 col-md-8" }, h("form-control-text", { key: '8123035dfd371841e0830d0019c425d25977c160', name: "name", label: "Full Name", defaultValue: this.ownerDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: 'a16e9ecc81fd4965d3a42b2569a7ea0615ecbf97', class: "col-12 col-md-4" }, h("form-control-select", { key: 'bd9b0ee5c7cf45ac3d67da96f951f167c93033e0', name: "title", label: "Title", options: businessTitleOptions, defaultValue: this.ownerDefaultValue.title, errorText: this.errors.title, inputHandler: this.inputHandler })), h("div", { key: '5376a38a98ad715a3159ccf4e8c8e54b48fa1c7c', class: "col-12 col-md-6" }, h("form-control-text", { key: '7d08e58ae5fc15d5299c8646d5260602a51b9fbf', name: "email", label: "Email Address", defaultValue: this.ownerDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '6f80f898cb354b40d8d6784110abd5a1c49ff9d9', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '8a7d577c4c1c5b54f733ee51a1970c17de27d0b0', name: "phone", label: "Phone Number", defaultValue: this.ownerDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: '5ace697b3fb38b52dca74ccd49207498b779ade8', class: "col-12 col-md-3" }, 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) => updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), h("div", { key: '8fad1824571295e3464d26191eb23d373591e47d', class: "col-12 col-md-3" }, 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 })), h("div", { key: '94d93a03f2513bb69da43bd68c3fddc62dbc18d6', class: "col-12 col-md-6" }, (!((_b = this.ownerDefaultValue) === null || _b === void 0 ? void 0 : _b.ssn_last4) || this.isEditingIdentification) ? (h("form-control-number-masked", { name: "identification_number", label: this.country === CountryCode.CAN ? countryLabels[this.country].idNumberLabelOptional : countryLabels[this.country].idNumberLabel, defaultValue: this.isEditingIdentification ? '' : this.ownerDefaultValue.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: IDENTITY_MASKS[this.country], helpText: countryLabels[this.country].identityHelpText })) : (h("div", null, h("label", { class: "form-label", part: label }, this.country === CountryCode.CAN ? countryLabels[this.country].idNumberLabelOptional : countryLabels[this.country].idNumberLabel), h("div", { class: "input-group mb-3" }, h("input", { type: "text", class: "form-control", part: inputDisabled, value: `****${(_c = this.ownerDefaultValue) === null || _c === void 0 ? void 0 : _c.ssn_last4}`, disabled: true }), h("button", { class: "btn btn-secondary", type: "button", part: buttonSecondary, onClick: () => {
32
+ return (h("div", { key: 'd2cd6a317c81991b6108751d7fafe6eb0f785572', class: "row gy-3" }, h("div", { key: '58b5f28247b266fb5928a4cc54992978a0382389', class: "col-12 col-md-8" }, h("form-control-text", { key: '8755d9f2c3e4f1753f33f06e96b060e3f1bfb7b8', name: "name", label: "Full Name", defaultValue: this.ownerDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: 'c5930506a02c94b2752a50b1db5d375fe8e73791', class: "col-12 col-md-4" }, 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." })), h("div", { key: '421d8dce34b3f45dc859aa37de740f1578817ba0', class: "col-12 col-md-6" }, h("form-control-text", { key: '183dcf682886be6c07a6e0f5ff6f3e8ebd5193bc', name: "email", label: "Email Address", defaultValue: this.ownerDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '678bc220f7415da8cb83edf303919688cef75c29', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: 'f763d5b0596926c4044de25f181a8d562ef67d0f', name: "phone", label: "Phone Number", defaultValue: this.ownerDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: '958af034510d699ef84d7f22ff755ec088dbe4bc', class: "col-12 col-md-3" }, 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) => updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), h("div", { key: '12c82f41a9d60ff5a52e64ea34d69fd24d3102bb', class: "col-12 col-md-3" }, 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 })), h("div", { key: '108cbb8692dc71b7d038315bf8be3b35efee0fa3', class: "col-12 col-md-6" }, (!((_b = this.ownerDefaultValue) === null || _b === void 0 ? void 0 : _b.ssn_last4) || this.isEditingIdentification) ? (h("form-control-number-masked", { name: "identification_number", label: countryLabels[this.country].idNumberLabel, defaultValue: this.isEditingIdentification ? '' : this.ownerDefaultValue.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: `****${(_c = this.ownerDefaultValue) === null || _c === void 0 ? void 0 : _c.ssn_last4}`, disabled: true }), h("button", { class: "btn btn-secondary", type: "button", part: buttonSecondary, onClick: () => {
35
33
  this.isEditingIdentification = true;
36
34
  // Clear last4 and current value to force validation
37
35
  updateFormValues(this.formController, {
38
36
  ssn_last4: null,
39
37
  identification_number: ''
40
38
  });
41
- } }, "Change"))))), h("div", { key: '63d73015c84a1ab370b6686a643797b92096212f', class: "col-12" }, h("identity-address-form", { key: '4eff1f856b32e6d31cc18315b5b338c932723cf9', errors: this.errors.address, defaultValues: this.ownerDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate, country: this.country }))));
39
+ } }, "Change"))))), h("div", { key: '834b3ffaaec1e2dfec16b278b39e505782c0d785', class: "col-12" }, h("identity-address-form", { key: '7f6f356e116ce4bc1d9014dc7823b86b00af40b6', errors: this.errors.address, defaultValues: this.ownerDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate, country: this.country }))));
42
40
  }
43
41
  ;
44
42
  }, [256, "owner-form-inputs", {
@@ -118,13 +118,6 @@ const OwnerForm = /*@__PURE__*/ proxyCustomElement(class OwnerForm extends HTMLE
118
118
  async returnOwnerData() {
119
119
  return this.ownerId;
120
120
  }
121
- async getOwnershipPercentage() {
122
- var _a;
123
- return ((_a = this.formController.values.getValue()) === null || _a === void 0 ? void 0 : _a.ownership_percentage) || null;
124
- }
125
- async setOwnershipPercentageError(message) {
126
- this.formController.setFieldError('ownership_percentage', message);
127
- }
128
121
  async validate() {
129
122
  return this.formController.validate();
130
123
  }
@@ -199,7 +192,7 @@ const OwnerForm = /*@__PURE__*/ proxyCustomElement(class OwnerForm extends HTMLE
199
192
  });
200
193
  }
201
194
  render() {
202
- return (h(Host, { key: 'b168e9f5a52416984e6a04ab5f0771b63ee28b2e', style: { display: 'block' } }, h("form", { key: 'd22a6aae3f5debd30d87b3bd37c67390a46c4590', onSubmit: this.validateAndSubmit }, h("fieldset", { key: '30597bc1f4983bddbdc0ed45e6be7e715d0b9b8e' }, h("legend", { key: '508f2a777bd0422572002053f6c167242252850d', class: "fw-semibold fs-5", part: heading3 }, this.formTitle), h("br", { key: '2dd17c21e931a2a9c15489828c7d1d0542ff4de4' }), h("div", { key: 'e9d7d7a10546e5e1bdabb0a994d994c47cd77bd6', class: "row gy-3" }, h("owner-form-inputs", { key: 'e556391c25a05d3f89601f1e0ac3834a5c26becd', ownerDefaultValue: this.formController.getInitialValues(), errors: this.errors, formController: this.formController, country: this.country }), h("div", { key: '48eb9390459f2ca619914e54726c9a0ae1290e31', class: "d-flex gap-2 justify-content-start" }, h(Button, { key: 'f9ccd8732981cdec9675332cc8f5c14d4938cbad', variant: "secondary", type: "button", onClick: this.handleRemoveOwner, hidden: !this.showRemoveButton }, "Remove"), h(Button, { key: '607a54ce6c4c0af42f3f8c7cbe1374a69752eca3', variant: "primary", type: "submit", onClick: this.handleAddOwner, disabled: this.isLoading }, this.submitButtonText))), h("hr", { key: '9ec1f815d8c3335daf2a4f98c2679930e22956e3' })))));
195
+ return (h(Host, { key: '1661676befd63f9308edcb02be179db71b7c9d99', style: { display: 'block' } }, h("form", { key: '4961f358ca8953156477d455cacb19e4dec3cc29', onSubmit: this.validateAndSubmit }, h("fieldset", { key: '27ecfec87ae93a1bdec94f3cc925558dc8f0ff23' }, h("legend", { key: '4c194cf9e08e6fab9982b95a4b12c3c3a8cecdc3', class: "fw-semibold fs-5", part: heading3 }, this.formTitle), h("br", { key: 'ef1f9b184dac866d27cfa245106d90db0954fa51' }), h("div", { key: '2936ecc396220f8b80e5d8454bc6f6f70cb3ae73', class: "row gy-3" }, h("owner-form-inputs", { key: 'f34d38b718ed7fde67102aa1034b5e6377e001f8', ownerDefaultValue: this.formController.getInitialValues(), errors: this.errors, formController: this.formController, country: this.country }), h("div", { key: '2d5266bc1a7f4aeb12cab8a494107f2668b2fb0e', class: "d-flex gap-2 justify-content-start" }, h(Button, { key: '39631fd0364221ac2a274d8aa794a1f3c8d28780', variant: "secondary", type: "button", onClick: this.handleRemoveOwner, hidden: !this.showRemoveButton }, "Remove"), h(Button, { key: '120fbae294f8f67bd14fe0be5dc1bcf881ffd489', variant: "primary", type: "submit", onClick: this.handleAddOwner, disabled: this.isLoading }, this.submitButtonText))), h("hr", { key: '73eccba19a595b67f64139769a495d5a27e02b2f' })))));
203
196
  }
204
197
  static get watchers() { return {
205
198
  "isLoading": ["loadingWatcher"]
@@ -221,8 +214,6 @@ const OwnerForm = /*@__PURE__*/ proxyCustomElement(class OwnerForm extends HTMLE
221
214
  "patchOwner": [32],
222
215
  "postOwner": [32],
223
216
  "returnOwnerData": [64],
224
- "getOwnershipPercentage": [64],
225
- "setOwnershipPercentageError": [64],
226
217
  "validate": [64],
227
218
  "submit": [64],
228
219
  "validateAndSubmit": [64]
@@ -1,5 +1,5 @@
1
1
  const name = "@justifi/webcomponents";
2
- const version = "6.12.6-rc.1";
2
+ const version = "6.12.6";
3
3
  var webcomponentsPackageJson = {
4
4
  name: name,
5
5
  version: version};
@@ -107,4 +107,4 @@ const checkoutSummary = `checkout-summary`;
107
107
  const filterMenu = `filter-menu`;
108
108
  const filterParam = `filter-param`;
109
109
 
110
- export { badge as $, buttonSecondary as A, card as B, table as C, tableHeadCell as D, tableCell as E, alert as F, inputCheckboxInvalid as G, inputCheckboxCheckedFocused as H, inputCheckboxFocused as I, inputCheckboxChecked as J, inputCheckbox as K, heading4 as L, alertDanger as M, paginationButton as N, paginationButtonDisabled as O, paginationButtonIconPrevious as P, paginationButtonText as Q, paginationButtonIconNext as R, loadingSpinner as S, badgeDark as T, badgeLight as U, badgeInfo as V, badgeWarning as W, badgeDanger as X, badgeSuccess as Y, badgeSecondary as Z, badgePrimary as _, inputAdornment as a, image as a0, buttonLink as a1, heading5 as a2, buttonOutlineSecondary as a3, buttonOutlinePrimary as a4, buttonDark as a5, buttonLight as a6, buttonInfo as a7, buttonWarning as a8, buttonDanger as a9, buttonSuccess as aa, buttonLoading as ab, checkoutSummary as ac, filterMenu as ad, filterParam as ae, dropdownMenuButton as af, dropdownMenu as ag, getAlternateTableCellPart as ah, tableHead as ai, tableHeadRow as aj, tableRow as ak, tableFoot as al, tableFootRow as am, tableFootCell as an, tableEmpty as ao, tableError as ap, inputInvalid as b, inputDisabled as c, inputFocused as d, input as e, tooltip as f, tooltipInner as g, heading2 as h, inputGroup as i, text as j, textDanger as k, label as l, link as m, heading1 as n, inputRadioInvalid as o, inputRadioCheckedFocused as p, inputRadioChecked as q, inputRadioFocused as r, inputRadio as s, tooltipIcon as t, radioListItem as u, inputInvalidAndFocused as v, skeleton as w, billingForm as x, heading3 as y, buttonPrimary as z };
110
+ export { badge as $, table as A, tableHeadCell as B, tableCell as C, buttonPrimary as D, buttonSecondary as E, alert as F, inputCheckboxInvalid as G, inputCheckboxCheckedFocused as H, inputCheckboxFocused as I, inputCheckboxChecked as J, inputCheckbox as K, heading4 as L, alertDanger as M, paginationButton as N, paginationButtonDisabled as O, paginationButtonIconPrevious as P, paginationButtonText as Q, paginationButtonIconNext as R, loadingSpinner as S, badgeDark as T, badgeLight as U, badgeInfo as V, badgeWarning as W, badgeDanger as X, badgeSuccess as Y, badgeSecondary as Z, badgePrimary as _, inputAdornment as a, image as a0, buttonLink as a1, heading5 as a2, buttonOutlineSecondary as a3, buttonOutlinePrimary as a4, buttonDark as a5, buttonLight as a6, buttonInfo as a7, buttonWarning as a8, buttonDanger as a9, buttonSuccess as aa, buttonLoading as ab, checkoutSummary as ac, filterMenu as ad, filterParam as ae, dropdownMenuButton as af, dropdownMenu as ag, getAlternateTableCellPart as ah, tableHead as ai, tableHeadRow as aj, tableRow as ak, tableFoot as al, tableFootRow as am, tableFootCell as an, tableEmpty as ao, tableError as ap, inputInvalid as b, inputDisabled as c, inputFocused as d, input as e, tooltip as f, tooltipInner as g, heading2 as h, inputGroup as i, text as j, textDanger as k, label as l, link as m, heading1 as n, inputRadioInvalid as o, inputRadioCheckedFocused as p, inputRadioChecked as q, inputRadioFocused as r, inputRadio as s, tooltipIcon as t, radioListItem as u, skeleton as v, inputInvalidAndFocused as w, billingForm as x, heading3 as y, card as z };
@@ -237,4 +237,4 @@ const makePostDocumentRecord = ({ authToken, service }) => async ({ payload, onS
237
237
  }
238
238
  };
239
239
 
240
- export { makePatchBusiness as a, makeGetIdentity as b, makePatchIdentity as c, makePostIdentity as d, makePostDocumentRecord as e, makePostBankAccount as f, makePostProvisioning as g, makeGetBusiness as m };
240
+ export { makePatchBusiness as a, makeGetIdentity as b, makePatchIdentity as c, makePostIdentity as d, makePostBankAccount as e, makePostDocumentRecord as f, makePostProvisioning as g, makeGetBusiness as m };
@@ -1,19 +1,18 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
2
  import { a as CountryCode } from './Business.js';
3
- import { d as defineCustomElement$t } from './additional-questions-form-step2.js';
4
- import { d as defineCustomElement$s } from './bank-account-form-inputs2.js';
5
- import { d as defineCustomElement$r } from './bank-account-form-inputs-canada2.js';
6
- import { d as defineCustomElement$q } from './bank-account-read-only-value2.js';
7
- import { d as defineCustomElement$p } from './business-bank-account-form-step2.js';
8
- import { d as defineCustomElement$o } from './business-core-info-form-step2.js';
9
- import { d as defineCustomElement$n } from './business-documents-on-file2.js';
10
- import { d as defineCustomElement$m } from './business-owners-form-step2.js';
11
- import { d as defineCustomElement$l } from './business-representative-form-inputs2.js';
12
- import { d as defineCustomElement$k } from './business-representative-form-step2.js';
13
- import { d as defineCustomElement$j } from './business-terms-conditions-form-step2.js';
14
- import { d as defineCustomElement$i } from './custom-popper2.js';
15
- import { d as defineCustomElement$h } from './document-upload-form-step2.js';
16
- import { d as defineCustomElement$g } from './document-upload-list2.js';
3
+ import { d as defineCustomElement$s } from './additional-questions-form-step2.js';
4
+ import { d as defineCustomElement$r } from './bank-account-document-form-inputs2.js';
5
+ import { d as defineCustomElement$q } from './bank-account-form-inputs2.js';
6
+ import { d as defineCustomElement$p } from './bank-account-form-inputs-canada2.js';
7
+ import { d as defineCustomElement$o } from './bank-account-read-only-value2.js';
8
+ import { d as defineCustomElement$n } from './business-bank-account-form-step2.js';
9
+ import { d as defineCustomElement$m } from './business-core-info-form-step2.js';
10
+ import { d as defineCustomElement$l } from './business-documents-on-file2.js';
11
+ import { d as defineCustomElement$k } from './business-owners-form-step2.js';
12
+ import { d as defineCustomElement$j } from './business-representative-form-inputs2.js';
13
+ import { d as defineCustomElement$i } from './business-representative-form-step2.js';
14
+ import { d as defineCustomElement$h } from './business-terms-conditions-form-step2.js';
15
+ import { d as defineCustomElement$g } from './custom-popper2.js';
17
16
  import { d as defineCustomElement$f } from './form-address-fields2.js';
18
17
  import { d as defineCustomElement$e } from './form-control-checkbox2.js';
19
18
  import { d as defineCustomElement$d } from './form-control-date2.js';
@@ -45,15 +44,14 @@ const PaymentProvisioningFormSteps = /*@__PURE__*/ proxyCustomElement(class Paym
45
44
  3: () => h("business-representative-form-step", { businessId: this.businessId, authToken: this.authToken, ref: (el) => this.refs[3] = el, allowOptionalFields: this.allowOptionalFields, country: this.country }),
46
45
  4: () => h("business-owners-form-step", { businessId: this.businessId, authToken: this.authToken, ref: (el) => this.refs[4] = el, allowOptionalFields: this.allowOptionalFields, country: this.country }),
47
46
  5: () => h("business-bank-account-form-step", { businessId: this.businessId, authToken: this.authToken, ref: (el) => this.refs[5] = el, allowOptionalFields: this.allowOptionalFields, country: this.country }),
48
- 6: () => h("document-upload-form-step", { businessId: this.businessId, authToken: this.authToken, ref: (el) => this.refs[6] = el, allowOptionalFields: this.allowOptionalFields, country: this.country }),
49
- 7: () => h("business-terms-conditions-form-step", { businessId: this.businessId, authToken: this.authToken, ref: (el) => this.refs[7] = el, onFormLoading: this.handleFormLoading, allowOptionalFields: this.allowOptionalFields }),
47
+ 6: () => h("business-terms-conditions-form-step", { businessId: this.businessId, authToken: this.authToken, ref: (el) => this.refs[6] = el, onFormLoading: this.handleFormLoading, allowOptionalFields: this.allowOptionalFields }),
50
48
  };
51
49
  }
52
50
  get currentStepComponent() {
53
51
  return this.componentStepMapping[this.currentStep]();
54
52
  }
55
53
  render() {
56
- return (h("div", { key: 'a249d66ac8348900e21998c4cf89bd02cfeec7c1', class: 'col-12 mb-4' }, this.currentStepComponent));
54
+ return (h("div", { key: '6bd8ebe91fefb364dd29a741e2cdf8a90aa1351b', class: 'col-12 mb-4' }, this.currentStepComponent));
57
55
  }
58
56
  }, [256, "payment-provisioning-form-steps", {
59
57
  "businessId": [1, "business-id"],
@@ -68,7 +66,7 @@ function defineCustomElement() {
68
66
  if (typeof customElements === "undefined") {
69
67
  return;
70
68
  }
71
- const components = ["payment-provisioning-form-steps", "additional-questions-form-step", "bank-account-form-inputs", "bank-account-form-inputs-canada", "bank-account-read-only-value", "business-bank-account-form-step", "business-core-info-form-step", "business-documents-on-file", "business-owners-form-step", "business-representative-form-inputs", "business-representative-form-step", "business-terms-conditions-form-step", "custom-popper", "document-upload-form-step", "document-upload-list", "form-address-fields", "form-control-checkbox", "form-control-date", "form-control-file", "form-control-monetary-provisioning", "form-control-number", "form-control-number-masked", "form-control-select", "form-control-text", "form-control-tooltip", "identity-address-form", "legal-address-form-step", "owner-form", "owner-form-inputs", "plaid-verification"];
69
+ const components = ["payment-provisioning-form-steps", "additional-questions-form-step", "bank-account-document-form-inputs", "bank-account-form-inputs", "bank-account-form-inputs-canada", "bank-account-read-only-value", "business-bank-account-form-step", "business-core-info-form-step", "business-documents-on-file", "business-owners-form-step", "business-representative-form-inputs", "business-representative-form-step", "business-terms-conditions-form-step", "custom-popper", "form-address-fields", "form-control-checkbox", "form-control-date", "form-control-file", "form-control-monetary-provisioning", "form-control-number", "form-control-number-masked", "form-control-select", "form-control-text", "form-control-tooltip", "identity-address-form", "legal-address-form-step", "owner-form", "owner-form-inputs", "plaid-verification"];
72
70
  components.forEach(tagName => { switch (tagName) {
73
71
  case "payment-provisioning-form-steps":
74
72
  if (!customElements.get(tagName)) {
@@ -76,71 +74,66 @@ function defineCustomElement() {
76
74
  }
77
75
  break;
78
76
  case "additional-questions-form-step":
79
- if (!customElements.get(tagName)) {
80
- defineCustomElement$t();
81
- }
82
- break;
83
- case "bank-account-form-inputs":
84
77
  if (!customElements.get(tagName)) {
85
78
  defineCustomElement$s();
86
79
  }
87
80
  break;
88
- case "bank-account-form-inputs-canada":
81
+ case "bank-account-document-form-inputs":
89
82
  if (!customElements.get(tagName)) {
90
83
  defineCustomElement$r();
91
84
  }
92
85
  break;
93
- case "bank-account-read-only-value":
86
+ case "bank-account-form-inputs":
94
87
  if (!customElements.get(tagName)) {
95
88
  defineCustomElement$q();
96
89
  }
97
90
  break;
98
- case "business-bank-account-form-step":
91
+ case "bank-account-form-inputs-canada":
99
92
  if (!customElements.get(tagName)) {
100
93
  defineCustomElement$p();
101
94
  }
102
95
  break;
103
- case "business-core-info-form-step":
96
+ case "bank-account-read-only-value":
104
97
  if (!customElements.get(tagName)) {
105
98
  defineCustomElement$o();
106
99
  }
107
100
  break;
108
- case "business-documents-on-file":
101
+ case "business-bank-account-form-step":
109
102
  if (!customElements.get(tagName)) {
110
103
  defineCustomElement$n();
111
104
  }
112
105
  break;
113
- case "business-owners-form-step":
106
+ case "business-core-info-form-step":
114
107
  if (!customElements.get(tagName)) {
115
108
  defineCustomElement$m();
116
109
  }
117
110
  break;
118
- case "business-representative-form-inputs":
111
+ case "business-documents-on-file":
119
112
  if (!customElements.get(tagName)) {
120
113
  defineCustomElement$l();
121
114
  }
122
115
  break;
123
- case "business-representative-form-step":
116
+ case "business-owners-form-step":
124
117
  if (!customElements.get(tagName)) {
125
118
  defineCustomElement$k();
126
119
  }
127
120
  break;
128
- case "business-terms-conditions-form-step":
121
+ case "business-representative-form-inputs":
129
122
  if (!customElements.get(tagName)) {
130
123
  defineCustomElement$j();
131
124
  }
132
125
  break;
133
- case "custom-popper":
126
+ case "business-representative-form-step":
134
127
  if (!customElements.get(tagName)) {
135
128
  defineCustomElement$i();
136
129
  }
137
130
  break;
138
- case "document-upload-form-step":
131
+ case "business-terms-conditions-form-step":
139
132
  if (!customElements.get(tagName)) {
140
133
  defineCustomElement$h();
141
134
  }
142
135
  break;
143
- case "document-upload-list":
136
+ case "custom-popper":
144
137
  if (!customElements.get(tagName)) {
145
138
  defineCustomElement$g();
146
139
  }
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
2
  import { B as Button } from './button.js';
3
3
  import { S as StyledHost } from './styled-host.js';
4
- import { z as buttonPrimary } from './parts.js';
4
+ import { D as buttonPrimary } from './parts.js';
5
5
  import './justifi-details2.js';
6
6
  import './event-types.js';
7
7
  import './justifi-radio-list-item2.js';
@@ -77,6 +77,11 @@ const makeIdentityNumberValidation = (country) => {
77
77
  return create$6()
78
78
  .matches(numbersOnlyRegex, 'Enter valid SIN')
79
79
  .length(countryValidation[country].identityDigits, 'Enter valid SIN')
80
+ .when('ssn_last4', {
81
+ is: (val) => !val || val.length === 0,
82
+ then: (schema) => schema.required('Enter SIN'),
83
+ otherwise: (schema) => schema.nullable(),
84
+ })
80
85
  .test('not-repeat', 'Enter valid SIN', (value) => {
81
86
  return !/^(\d)\1+$/.test(value);
82
87
  })
@@ -94,13 +99,9 @@ const makeTaxIdValidation = (country) => {
94
99
  .matches(numbersOnlyRegex, 'Enter valid Business Number (BN)')
95
100
  .length(countryValidation[country].taxIdDigits, 'Enter valid Business Number (BN)')
96
101
  .test('not-repeat', 'Enter valid Business Number (BN)', (value) => {
97
- if (!value)
98
- return true;
99
102
  return !/^(\d)\1+$/.test(value);
100
103
  })
101
104
  .test('not-seq', 'Enter valid Business Number (BN)', (value) => {
102
- if (!value)
103
- return true;
104
105
  return value !== '123456789';
105
106
  })
106
107
  .transform(transformEmptyString);
@@ -227,13 +228,9 @@ const routingNumberValidation = create$6()
227
228
  .length(9, 'Routing number must be 9 digits')
228
229
  .matches(numbersOnlyRegex, 'Enter valid routing number')
229
230
  .test('not-repeat', 'Enter valid routing number', (value) => {
230
- if (!value)
231
- return true;
232
231
  return !/^(\d)\1+$/.test(value);
233
232
  })
234
233
  .test('valid', 'Enter valid routing number', (value) => {
235
- if (!value)
236
- return true;
237
234
  return validateRoutingNumber(value);
238
235
  })
239
236
  .transform(transformEmptyString);
@@ -1,5 +1,5 @@
1
1
  import { h } from '@stencil/core/internal/client';
2
- import { w as skeleton } from './parts.js';
2
+ import { v as skeleton } from './parts.js';
3
3
 
4
4
  const Skeleton = ({ component = 'div', height, width, className, styles = {}, }) => {
5
5
  const combinedStyle = Object.assign(Object.assign({}, styles), { width,