@justifi/webcomponents 6.1.0-rc.3 → 6.1.0

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 (801) hide show
  1. package/LICENSE +21 -0
  2. package/dist/cjs/{Api-DqzbA2qk.js → Api-CjtvTD2_.js} +2 -2
  3. package/dist/cjs/{Business-DWHy_-z9.js → Business-DCRzZf0w.js} +9 -299
  4. package/dist/cjs/{Refund-BPSBtjQC.js → Refund-BnhHNKLz.js} +4 -3
  5. package/dist/cjs/additional-questions-details_5.cjs.entry.js +14 -13
  6. package/dist/cjs/{badge-BJVdpSU-.js → badge-CE3ss_OU.js} +2 -2
  7. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +112 -0
  8. package/dist/cjs/bank-account-form.cjs.entry.js +8 -8
  9. package/dist/cjs/{business-additional-questions-schema-CetDMUp7.js → business-additional-questions-schema-b8P-0T0O.js} +4 -26
  10. package/dist/cjs/business-details-core.cjs.entry.js +5 -5
  11. package/dist/cjs/{business-form-options-e9UFw4P-.js → business-form-options-CMII7nIK.js} +1 -1
  12. package/dist/cjs/business-identity-schema-aFUle0C9.js +51 -0
  13. package/dist/cjs/{business.service-Bv9o99Ll.js → business.service-Cj_NUZsr.js} +3 -3
  14. package/dist/cjs/{button-_YJuE8cy.js → button-gPNZ9XRn.js} +2 -2
  15. package/dist/cjs/card-form.cjs.entry.js +8 -8
  16. package/dist/cjs/{check-pkg-version-CadxBsjl.js → check-pkg-version-C7b-OLb5.js} +4 -4
  17. package/dist/cjs/{checkout.service-dLB93w3Z.js → checkout.service-Bc8L9ixO.js} +3 -3
  18. package/dist/cjs/{checkout.store-DC4yVxDj.js → checkout.store-Bswr7kNY.js} +5 -1
  19. package/dist/cjs/checkouts-list-core.cjs.entry.js +15 -13
  20. package/dist/cjs/{terminal-orders-list-params-state-ARjo40Y9.js → checkouts-list-params-state-BYpq-c6X.js} +1 -1
  21. package/dist/cjs/{checkouts-table-C102WCfy.js → checkouts-table-C5AHeIr0.js} +4 -4
  22. package/dist/cjs/{config-state-BeZM7X7J.js → config-state-C7babhLh.js} +1 -1
  23. package/dist/cjs/{custom-popper.cjs.entry.js → custom-popper_2.cjs.entry.js} +23 -3
  24. package/dist/cjs/{dispute.service-BmAAnNky.js → dispute.service-DhO_tuDc.js} +3 -3
  25. package/dist/cjs/form-alert_5.cjs.entry.js +17 -27
  26. package/dist/cjs/form-control-checkbox.cjs.entry.js +6 -6
  27. package/dist/cjs/form-control-date.cjs.entry.js +5 -5
  28. package/dist/cjs/{form-control-error-text-DJzNQrEz.js → form-control-error-text-BnMWn8U_.js} +2 -2
  29. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +6 -6
  30. package/dist/cjs/{form-control-help-text-DII6UDeq.js → form-control-help-text-DEi5vSjN.js} +2 -2
  31. package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
  32. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +7 -7
  33. package/dist/cjs/form-control-monetary.cjs.entry.js +7 -7
  34. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +107 -0
  35. package/dist/cjs/form-control-number.cjs.entry.js +6 -6
  36. package/dist/cjs/form-control-radio.cjs.entry.js +4 -4
  37. package/dist/cjs/{form-control-select_3.cjs.entry.js → form-control-select_2.cjs.entry.js} +7 -26
  38. package/dist/cjs/{form-input-masks-BnNFJ3IJ.js → form-input-masks-DgXd0f4V.js} +4 -9
  39. package/dist/cjs/{get-business-D9ZHyPem.js → get-business-o5jPq_ME.js} +1 -1
  40. package/dist/cjs/{get-payment-details-BHPHzSkH.js → get-payment-details-BinT-ZEP.js} +3 -3
  41. package/dist/cjs/{get-subaccounts-Bw76aYu0.js → get-subaccounts-BoTVdl7v.js} +4 -4
  42. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +26 -17
  43. package/dist/cjs/{header-1-Da7oKhXY.js → header-1-D3r87SC6.js} +2 -2
  44. package/dist/cjs/{header-3-uBM_CzcP.js → header-3-BFQJJgBb.js} +2 -2
  45. package/dist/cjs/helpers-B5OCqlIM.js +35 -0
  46. package/dist/cjs/hidden-input_2.cjs.entry.js +9 -9
  47. package/dist/cjs/{index-CaAefsWD.js → index-Bhtk1qkX.js} +5 -2
  48. package/dist/cjs/{index-D-CfIyoF.js → index-CWM5ions.js} +1 -1
  49. package/dist/cjs/{input-handlers-D6QMwPTB.js → input-handlers-DYl_0IwC.js} +2 -2
  50. package/dist/cjs/{insurance-state-KJzYGtVr.js → insurance-state-JbqYvJN3.js} +3 -3
  51. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +72 -129
  52. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +26 -25
  53. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +10 -10
  54. package/dist/cjs/{justifi-checkout-summary_7.cjs.entry.js → justifi-apple-pay_8.cjs.entry.js} +898 -25
  55. package/dist/cjs/justifi-bank-account-billing-form-simple_9.cjs.entry.js +32 -31
  56. package/dist/cjs/justifi-business-details.cjs.entry.js +15 -13
  57. package/dist/cjs/justifi-business-form.cjs.entry.js +23 -27
  58. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +8 -16
  59. package/dist/cjs/justifi-checkout.cjs.entry.js +16 -14
  60. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +12 -10
  61. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +18 -16
  62. package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
  63. package/dist/cjs/justifi-details.cjs.entry.js +4 -4
  64. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +2 -2
  65. package/dist/cjs/justifi-dispute-management.cjs.entry.js +13 -11
  66. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +19 -17
  67. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +13 -11
  68. package/dist/cjs/justifi-order-terminals.cjs.entry.js +18 -16
  69. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +21 -30
  70. package/dist/cjs/justifi-payment-details.cjs.entry.js +23 -14
  71. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +25 -40
  72. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +13 -11
  73. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +17 -15
  74. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +8 -8
  75. package/dist/cjs/justifi-payments-list.cjs.entry.js +18 -16
  76. package/dist/cjs/justifi-payout-details.cjs.entry.js +16 -13
  77. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +17 -15
  78. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +8 -8
  79. package/dist/cjs/justifi-payouts-list.cjs.entry.js +19 -17
  80. package/dist/cjs/justifi-refund-payment.cjs.entry.js +17 -15
  81. package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +3 -3
  82. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +16 -14
  83. package/dist/cjs/justifi-skeleton.cjs.entry.js +5 -5
  84. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +13 -11
  85. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +16 -14
  86. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +14 -11
  87. package/dist/cjs/justifi-terminals-list.cjs.entry.js +18 -16
  88. package/dist/cjs/loader.cjs.js +2 -2
  89. package/dist/cjs/{package-CVxkAS_m.js → package-BHmdO9eK.js} +1 -1
  90. package/dist/cjs/pagination-menu.cjs.entry.js +5 -5
  91. package/dist/cjs/{parts-9jMf1erK.js → parts-Pb06tUMp.js} +2 -0
  92. package/dist/cjs/payment-details-core.cjs.entry.js +34 -16
  93. package/dist/cjs/payment-method-option.cjs.entry.js +4 -4
  94. package/dist/cjs/{payment.service-DODmonNs.js → payment.service-C9thkR4g.js} +3 -3
  95. package/dist/cjs/payments-list-core.cjs.entry.js +16 -14
  96. package/dist/cjs/{payments-list-params-state-ARjo40Y9.js → payments-list-params-state-BYpq-c6X.js} +1 -1
  97. package/dist/cjs/{payments-status-5IzqwLep.js → payments-status-CnNXcRLO.js} +21 -3
  98. package/dist/cjs/{payments-table-BcZ6U6p8.js → payments-table-BGuCOPTJ.js} +4 -4
  99. package/dist/cjs/payout-details-core.cjs.entry.js +25 -12
  100. package/dist/cjs/{payout.service-Do8DxBxe.js → payout.service-CGZxpQMq.js} +3 -3
  101. package/dist/cjs/payouts-list-core.cjs.entry.js +16 -14
  102. package/dist/cjs/{checkouts-list-params-state-ARjo40Y9.js → payouts-list-params-state-BYpq-c6X.js} +1 -1
  103. package/dist/cjs/{payouts-status-D38A6UrI.js → payouts-status-2na6MMgV.js} +2 -2
  104. package/dist/cjs/{payouts-table-Cn_cCCOY.js → payouts-table-DXekpbYc.js} +4 -4
  105. package/dist/cjs/{schema-validations-0mjPveQ0.js → schema-validations-Bj7eYNO8.js} +6 -45
  106. package/dist/cjs/{skeleton-DlPP4i_w.js → skeleton-BvdAh448.js} +2 -2
  107. package/dist/cjs/{spinner-BNWG01hP.js → spinner-Rt52JMa2.js} +2 -2
  108. package/dist/cjs/state-options-CIT9xdTz.js +246 -0
  109. package/dist/cjs/{styled-host-DSpt9LtB.js → styled-host-BSooSIhA.js} +1 -1
  110. package/dist/cjs/{table-CAWBqvW5.js → table-Ccg4k90C.js} +3 -3
  111. package/dist/cjs/table-filters-menu.cjs.entry.js +4 -4
  112. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +15 -13
  113. package/dist/cjs/{payouts-list-params-state-ARjo40Y9.js → terminal-orders-list-params-state-BYpq-c6X.js} +1 -1
  114. package/dist/cjs/{terminal-orders-table-BUA4LcEc.js → terminal-orders-table-7ew1vCKk.js} +7 -7
  115. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +3 -3
  116. package/dist/cjs/{terminal.service-bxQnc1JY.js → terminal.service-BkKxH-k4.js} +3 -3
  117. package/dist/cjs/terminals-list-core.cjs.entry.js +15 -13
  118. package/dist/cjs/terminals-list-params-state-BYpq-c6X.js +22 -0
  119. package/dist/cjs/{terminals-table-C2_M7SWl.js → terminals-table-ByYs-pH7.js} +9 -4
  120. package/dist/cjs/{utils-ChCUZgUy.js → utils-Bab-tddY.js} +4 -0
  121. package/dist/cjs/{utils-C6mfHWv-.js → utils-CUcA4G_O.js} +5 -5
  122. package/dist/cjs/webcomponents.cjs.js +3 -3
  123. package/dist/collection/api/BankAccount.js +0 -4
  124. package/dist/collection/api/Business.js +1 -16
  125. package/dist/collection/api/Terminal.js +1 -0
  126. package/dist/collection/api/services/apple-pay.service.js +3 -0
  127. package/dist/collection/collection-manifest.json +3 -6
  128. package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +1 -1
  129. package/dist/collection/components/business-details/owner-details/owner-details.js +9 -8
  130. package/dist/collection/components/business-details/representative-details/representative-details.js +1 -1
  131. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +6 -7
  132. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +4 -36
  133. package/dist/collection/components/business-forms/business-form/business-form.js +2 -6
  134. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +9 -46
  135. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +10 -32
  136. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +6 -26
  137. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +3 -29
  138. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +6 -48
  139. package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -26
  140. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
  141. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +1 -1
  142. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +1 -2
  143. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +5 -36
  144. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +1 -26
  145. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +7 -47
  146. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -26
  147. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +1 -26
  148. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -26
  149. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +4 -43
  150. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +4 -33
  151. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -26
  152. package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +2 -2
  153. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +10 -35
  154. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -26
  155. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +20 -39
  156. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
  157. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +6 -34
  158. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
  159. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
  160. package/dist/collection/components/business-forms/schemas/business-address-schema.js +19 -41
  161. package/dist/collection/components/business-forms/schemas/business-bank-account-schema.js +39 -74
  162. package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +4 -27
  163. package/dist/collection/components/business-forms/schemas/business-form-schema.js +4 -7
  164. package/dist/collection/components/business-forms/schemas/business-identity-schema.js +24 -53
  165. package/dist/collection/components/business-forms/schemas/schema-validations.js +4 -41
  166. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
  167. package/dist/collection/components/checkout/billing-form/billing-form.js +3 -2
  168. package/dist/collection/components/checkout/card-form/card-form.js +2 -2
  169. package/dist/collection/components/checkout/checkout.js +2 -2
  170. package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
  171. package/dist/collection/components/checkout/saved-payment-method.js +1 -1
  172. package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
  173. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
  174. package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
  175. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  176. package/dist/collection/components/dispute-management/dispute-management.js +1 -1
  177. package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
  178. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  179. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  180. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  181. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  182. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  183. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  184. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  185. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  186. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  187. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  188. package/dist/collection/components/filters/table-filters-menu.js +1 -1
  189. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  190. package/dist/collection/components/modular-checkout/modular-checkout.js +10 -8
  191. package/dist/collection/components/modular-checkout/sub-components/apple-pay.js +49 -2
  192. package/dist/collection/components/modular-checkout/sub-components/bank-account-billing-form-simple.js +1 -1
  193. package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
  194. package/dist/collection/components/modular-checkout/sub-components/card-billing-form-simple.js +1 -1
  195. package/dist/collection/components/modular-checkout/sub-components/card-form.js +2 -2
  196. package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
  197. package/dist/collection/components/modular-checkout/sub-components/summary.js +1 -1
  198. package/dist/collection/components/order-terminals/order-terminals.js +1 -1
  199. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  200. package/dist/collection/components/payment-details/payment-details-core.js +19 -9
  201. package/dist/collection/components/payment-details/payment-details.js +28 -1
  202. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
  203. package/dist/collection/components/payments-list/payments-list-core.js +1 -1
  204. package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
  205. package/dist/collection/components/payments-list/payments-list.js +1 -1
  206. package/dist/collection/components/payments-list/payments-status.js +19 -1
  207. package/dist/collection/components/payout-details/payout-details-core.js +57 -4
  208. package/dist/collection/components/payout-details/payout-details.js +22 -1
  209. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +1 -1
  210. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  211. package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
  212. package/dist/collection/components/payouts-list/payouts-list.js +1 -1
  213. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
  214. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
  215. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
  216. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  217. package/dist/collection/components/terminals-list/terminals-list-filters.js +4 -3
  218. package/dist/collection/components/terminals-list/terminals-list.js +1 -1
  219. package/dist/collection/components/terminals-list/terminals-status.js +5 -0
  220. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +4 -3
  221. package/dist/collection/store/checkout.store.js +4 -0
  222. package/dist/collection/styles/parts.js +1 -1
  223. package/dist/collection/ui-components/apple-pay-button.js +6 -8
  224. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  225. package/dist/collection/ui-components/details/details.js +1 -1
  226. package/dist/collection/ui-components/details/utils.js +4 -4
  227. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  228. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  229. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  230. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  231. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  232. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  233. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  234. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  235. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  236. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  237. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  238. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  239. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  240. package/dist/collection/ui-components/pagination-menu/pagination-menu.js +3 -3
  241. package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
  242. package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
  243. package/dist/collection/ui-components/shadow-dom-components/justifi-radio-list-item.js +1 -1
  244. package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
  245. package/dist/collection/utils/form-input-masks.js +0 -8
  246. package/dist/collection/utils/utils.js +4 -0
  247. package/dist/docs.json +330 -1140
  248. package/dist/esm/{Api-DLf3ihCB.js → Api-DhiA2e_P.js} +2 -2
  249. package/dist/esm/{Business-B5rtFhtR.js → Business-BCoP0TAV.js} +3 -290
  250. package/dist/esm/{Refund-BeI1WGfx.js → Refund-B-iOTRxz.js} +3 -2
  251. package/dist/esm/additional-questions-details_5.entry.js +14 -13
  252. package/dist/esm/{badge-CkfrkCoy.js → badge-CtdO-tEY.js} +2 -2
  253. package/dist/esm/bank-account-document-form-inputs_4.entry.js +107 -0
  254. package/dist/esm/bank-account-form.entry.js +8 -8
  255. package/dist/esm/{business-additional-questions-schema-DSvdNuI1.js → business-additional-questions-schema-9FAJSx_D.js} +5 -26
  256. package/dist/esm/business-details-core.entry.js +5 -5
  257. package/dist/esm/{business-form-options-D6s5H4RI.js → business-form-options-CgssATyg.js} +2 -2
  258. package/dist/esm/business-identity-schema-CDJzknbg.js +48 -0
  259. package/dist/esm/{business.service-BIALik8Z.js → business.service-D55OVyco.js} +3 -3
  260. package/dist/esm/{button-CuZAKl_x.js → button-DtTaQHMK.js} +2 -2
  261. package/dist/esm/card-form.entry.js +8 -8
  262. package/dist/esm/{check-pkg-version-Bk5bgulF.js → check-pkg-version-xM0uWxbL.js} +4 -4
  263. package/dist/esm/{checkout.service-DZDZBIGQ.js → checkout.service-fwbqSq8g.js} +3 -3
  264. package/dist/esm/{checkout.store-DwJGKabu.js → checkout.store-4nUf2OuT.js} +5 -1
  265. package/dist/esm/checkouts-list-core.entry.js +15 -13
  266. package/dist/esm/{checkouts-list-params-state-BY5996_y.js → checkouts-list-params-state-C_fug9R3.js} +1 -1
  267. package/dist/esm/{checkouts-table-59DpP7zM.js → checkouts-table-B6gGDtOr.js} +4 -4
  268. package/dist/esm/{config-state-C83RkI9h.js → config-state-DiHV-4QK.js} +1 -1
  269. package/dist/esm/{custom-popper.entry.js → custom-popper_2.entry.js} +23 -4
  270. package/dist/esm/{dispute.service-ByJy64X7.js → dispute.service-Cdq3_yRo.js} +3 -3
  271. package/dist/esm/form-alert_5.entry.js +16 -26
  272. package/dist/esm/form-control-checkbox.entry.js +6 -6
  273. package/dist/esm/form-control-date.entry.js +5 -5
  274. package/dist/esm/{form-control-error-text-CjrxZorl.js → form-control-error-text-bprS-t9d.js} +2 -2
  275. package/dist/esm/form-control-file-v2_2.entry.js +6 -6
  276. package/dist/esm/{form-control-help-text-CMUgRhUf.js → form-control-help-text-Bvnp-IAG.js} +2 -2
  277. package/dist/esm/form-control-help-text.entry.js +1 -1
  278. package/dist/esm/form-control-monetary-provisioning.entry.js +7 -7
  279. package/dist/esm/form-control-monetary.entry.js +7 -7
  280. package/dist/esm/form-control-number-masked_2.entry.js +104 -0
  281. package/dist/esm/form-control-number.entry.js +6 -6
  282. package/dist/esm/form-control-radio.entry.js +4 -4
  283. package/dist/esm/{form-control-select_3.entry.js → form-control-select_2.entry.js} +8 -26
  284. package/dist/esm/{form-input-masks-CVaOFfrI.js → form-input-masks-B-iV5cYd.js} +3 -9
  285. package/dist/esm/{get-business-Xt7B5dSo.js → get-business-Crb6P-iI.js} +1 -1
  286. package/dist/esm/{get-payment-details-B00HoaFm.js → get-payment-details-sGoWyAat.js} +3 -3
  287. package/dist/esm/{get-subaccounts-C_yzcZq_.js → get-subaccounts-BsJSlShO.js} +4 -4
  288. package/dist/esm/gross-payment-chart-core.entry.js +26 -17
  289. package/dist/esm/{header-1-BukynbFR.js → header-1-C1Hnxki8.js} +2 -2
  290. package/dist/esm/{header-3-D87MAyMK.js → header-3-Bq8fpjm-.js} +2 -2
  291. package/dist/esm/helpers-Mu7LQT-w.js +29 -0
  292. package/dist/esm/hidden-input_2.entry.js +9 -9
  293. package/dist/esm/{index-NOsb-hYl.js → index-DJ9G-4S-.js} +1 -1
  294. package/dist/esm/{index-_b8l4IX7.js → index-DOjVAAtq.js} +5 -2
  295. package/dist/esm/{input-handlers-D3y0TzH9.js → input-handlers-CX6mSvOM.js} +1 -1
  296. package/dist/esm/{insurance-state-BjY1QRXI.js → insurance-state-CVme82j7.js} +3 -3
  297. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +73 -130
  298. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +26 -25
  299. package/dist/esm/justifi-additional-statement_8.entry.js +10 -10
  300. package/dist/esm/{justifi-checkout-summary_7.entry.js → justifi-apple-pay_8.entry.js} +898 -26
  301. package/dist/esm/justifi-bank-account-billing-form-simple_9.entry.js +31 -30
  302. package/dist/esm/justifi-business-details.entry.js +15 -13
  303. package/dist/esm/justifi-business-form.entry.js +23 -27
  304. package/dist/esm/justifi-business-representative-form-inputs.entry.js +8 -16
  305. package/dist/esm/justifi-checkout.entry.js +16 -14
  306. package/dist/esm/justifi-checkouts-list-filters.entry.js +12 -10
  307. package/dist/esm/justifi-checkouts-list.entry.js +18 -16
  308. package/dist/esm/justifi-config-provider.entry.js +3 -3
  309. package/dist/esm/justifi-details.entry.js +4 -4
  310. package/dist/esm/justifi-dispute-management-core.entry.js +2 -2
  311. package/dist/esm/justifi-dispute-management.entry.js +13 -11
  312. package/dist/esm/justifi-dispute-notification_3.entry.js +19 -17
  313. package/dist/esm/justifi-gross-payment-chart.entry.js +13 -11
  314. package/dist/esm/justifi-order-terminals.entry.js +18 -16
  315. package/dist/esm/justifi-owner-form_3.entry.js +21 -30
  316. package/dist/esm/justifi-payment-details.entry.js +23 -14
  317. package/dist/esm/justifi-payment-provisioning-core.entry.js +25 -40
  318. package/dist/esm/justifi-payment-provisioning.entry.js +13 -11
  319. package/dist/esm/justifi-payment-transactions-list.entry.js +17 -15
  320. package/dist/esm/justifi-payments-list-filters.entry.js +8 -8
  321. package/dist/esm/justifi-payments-list.entry.js +18 -16
  322. package/dist/esm/justifi-payout-details.entry.js +16 -13
  323. package/dist/esm/justifi-payout-transactions-list.entry.js +17 -15
  324. package/dist/esm/justifi-payouts-list-filters.entry.js +8 -8
  325. package/dist/esm/justifi-payouts-list.entry.js +19 -17
  326. package/dist/esm/justifi-refund-payment.entry.js +17 -15
  327. package/dist/esm/justifi-saved-payment-method.entry.js +3 -3
  328. package/dist/esm/justifi-season-interruption-insurance.entry.js +16 -14
  329. package/dist/esm/justifi-skeleton.entry.js +5 -5
  330. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +13 -11
  331. package/dist/esm/justifi-terminal-orders-list.entry.js +16 -14
  332. package/dist/esm/justifi-terminals-list-filters.entry.js +14 -11
  333. package/dist/esm/justifi-terminals-list.entry.js +18 -16
  334. package/dist/esm/loader.js +3 -3
  335. package/dist/esm/{package-BRhnhmpB.js → package-DL-q4EcN.js} +1 -1
  336. package/dist/esm/pagination-menu.entry.js +5 -5
  337. package/dist/esm/{parts-CA_TyBed.js → parts-xDbRW9xn.js} +2 -1
  338. package/dist/esm/payment-details-core.entry.js +34 -16
  339. package/dist/esm/payment-method-option.entry.js +4 -4
  340. package/dist/esm/{payment.service-B_NytmNz.js → payment.service-BoQ1MW1k.js} +3 -3
  341. package/dist/esm/payments-list-core.entry.js +16 -14
  342. package/dist/esm/{payments-list-params-state-BY5996_y.js → payments-list-params-state-C_fug9R3.js} +1 -1
  343. package/dist/esm/{payments-status-BWv1l1-e.js → payments-status-cvtVmtY5.js} +22 -4
  344. package/dist/esm/{payments-table-BSk36N1O.js → payments-table-D_BlyU1F.js} +4 -4
  345. package/dist/esm/payout-details-core.entry.js +25 -12
  346. package/dist/esm/{payout.service-BJQVlc_Z.js → payout.service-xcBdom3q.js} +3 -3
  347. package/dist/esm/payouts-list-core.entry.js +16 -14
  348. package/dist/esm/{payouts-list-params-state-BY5996_y.js → payouts-list-params-state-C_fug9R3.js} +1 -1
  349. package/dist/esm/{payouts-status-BujJlH_r.js → payouts-status-D-vjrqBb.js} +2 -2
  350. package/dist/esm/{payouts-table-5N7OylTW.js → payouts-table-Clj8YGLV.js} +4 -4
  351. package/dist/esm/{schema-validations-BFoU1cR8.js → schema-validations-B9dmY7ME.js} +6 -41
  352. package/dist/esm/{skeleton-C161KeYG.js → skeleton-B8EUwt4b.js} +2 -2
  353. package/dist/esm/{spinner-UiInIFXW.js → spinner-CYXkn1fh.js} +2 -2
  354. package/dist/esm/state-options-BX8GieXu.js +244 -0
  355. package/dist/esm/{styled-host-hSGxxyFZ.js → styled-host-OalOsPBp.js} +1 -1
  356. package/dist/esm/{table-9ewYPAZH.js → table-Bj20uWfu.js} +3 -3
  357. package/dist/esm/table-filters-menu.entry.js +4 -4
  358. package/dist/esm/terminal-orders-list-core.entry.js +15 -13
  359. package/dist/esm/{terminal-orders-list-params-state-BY5996_y.js → terminal-orders-list-params-state-C_fug9R3.js} +1 -1
  360. package/dist/esm/{terminal-orders-table-BcziGGSF.js → terminal-orders-table-DzBpIW8i.js} +7 -7
  361. package/dist/esm/terminal-quantity-selector.entry.js +3 -3
  362. package/dist/esm/{terminal.service-B9MOFa2c.js → terminal.service-l6zTIPZ3.js} +3 -3
  363. package/dist/esm/terminals-list-core.entry.js +15 -13
  364. package/dist/esm/terminals-list-params-state-C_fug9R3.js +16 -0
  365. package/dist/esm/{terminals-table-BoFlvdHS.js → terminals-table-BMS5tazC.js} +9 -4
  366. package/dist/esm/{utils-DeZftIgK.js → utils-BOijEGPV.js} +4 -1
  367. package/dist/esm/{utils-fntGABrK.js → utils-DRwofES0.js} +5 -5
  368. package/dist/esm/webcomponents.js +4 -4
  369. package/dist/module/Business.js +3 -290
  370. package/dist/module/Refund.js +2 -1
  371. package/dist/module/additional-questions-details2.js +1 -1
  372. package/dist/module/additional-questions.js +2 -2
  373. package/dist/module/additional-statement.js +1 -1
  374. package/dist/{esm/justifi-apple-pay.entry.js → module/apple-pay.js} +73 -31
  375. package/dist/module/badge.js +1 -1
  376. package/dist/module/bank-account-billing-form-simple.js +2 -2
  377. package/dist/module/bank-account-document-inputs.js +1 -1
  378. package/dist/module/bank-account-form-inputs2.js +2 -9
  379. package/dist/module/bank-account-form.js +3 -3
  380. package/dist/module/bank-account.js +2 -2
  381. package/dist/module/billing-form-full.js +2 -2
  382. package/dist/module/billing-form.js +3 -2
  383. package/dist/module/business-additional-questions-form-step.js +1 -1
  384. package/dist/module/business-address-schema.js +20 -40
  385. package/dist/module/business-bank-account-form-step-core.js +49 -102
  386. package/dist/module/business-bank-account-form-step.js +5 -18
  387. package/dist/module/business-core-info-form-step-core.js +7 -22
  388. package/dist/module/business-core-info-form-step.js +1 -2
  389. package/dist/module/business-core-info-schema.js +5 -26
  390. package/dist/module/business-core-info.js +4 -12
  391. package/dist/module/business-documents-on-file2.js +1 -1
  392. package/dist/module/business-identity-schema.js +25 -52
  393. package/dist/module/business-owners-form-step-core.js +13 -20
  394. package/dist/module/business-owners-form-step.js +15 -22
  395. package/dist/module/business-representative-form-inputs.js +17 -34
  396. package/dist/module/business-representative-form-step-core.js +18 -29
  397. package/dist/module/business-representative-form-step.js +17 -24
  398. package/dist/module/business-representative.js +19 -37
  399. package/dist/module/business-terms-conditions-form-step.js +1 -1
  400. package/dist/module/button.js +1 -1
  401. package/dist/module/cancellation-policy.js +1 -1
  402. package/dist/module/card-billing-form-simple.js +2 -2
  403. package/dist/module/card-form.js +3 -3
  404. package/dist/module/card-form2.js +2 -2
  405. package/dist/module/checkout.store.js +4 -0
  406. package/dist/module/checkouts-list-core2.js +2 -2
  407. package/dist/module/custom-popper2.js +2 -2
  408. package/dist/module/customer-details.js +1 -1
  409. package/dist/module/details.js +1 -1
  410. package/dist/module/dispute-management-core.js +1 -1
  411. package/dist/module/dispute-notification.js +1 -1
  412. package/dist/module/dispute-response-core.js +1 -1
  413. package/dist/module/dispute-response.js +1 -1
  414. package/dist/module/duplicate-charge.js +1 -1
  415. package/dist/module/electronic-evidence.js +1 -1
  416. package/dist/module/form-alert2.js +1 -1
  417. package/dist/module/form-control-checkbox2.js +3 -3
  418. package/dist/module/form-control-date2.js +3 -3
  419. package/dist/module/form-control-error-text.js +1 -1
  420. package/dist/module/form-control-file-v22.js +1 -1
  421. package/dist/module/form-control-file2.js +3 -3
  422. package/dist/module/form-control-monetary-provisioning2.js +3 -3
  423. package/dist/module/form-control-monetary2.js +3 -3
  424. package/dist/module/form-control-number-masked2.js +3 -3
  425. package/dist/module/form-control-number.js +3 -3
  426. package/dist/module/form-control-radio2.js +3 -3
  427. package/dist/module/form-control-select2.js +3 -3
  428. package/dist/module/form-control-text2.js +3 -3
  429. package/dist/module/form-control-textarea2.js +3 -3
  430. package/dist/module/form-control-tooltip2.js +1 -1
  431. package/dist/module/form-input-masks.js +3 -9
  432. package/dist/module/get-business.js +1 -1
  433. package/dist/module/gross-payment-chart-core2.js +22 -13
  434. package/dist/module/header-3.js +1 -1
  435. package/dist/module/helpers.js +29 -0
  436. package/dist/module/hidden-input2.js +2 -2
  437. package/dist/module/identity-address-form.js +14 -16
  438. package/dist/module/iframe-input2.js +4 -4
  439. package/dist/module/input-handlers.js +1 -1
  440. package/dist/module/justifi-apple-pay.js +1 -904
  441. package/dist/module/justifi-business-form.js +29 -41
  442. package/dist/module/justifi-button2.js +1 -1
  443. package/dist/module/justifi-checkout.js +27 -21
  444. package/dist/module/justifi-checkouts-list-filters.js +2 -2
  445. package/dist/module/justifi-checkouts-list.js +2 -2
  446. package/dist/module/justifi-dispute-management.js +1 -1
  447. package/dist/module/justifi-header2.js +1 -1
  448. package/dist/module/justifi-order-terminals.js +5 -5
  449. package/dist/module/justifi-payment-details.js +8 -1
  450. package/dist/module/justifi-payment-provisioning.js +49 -67
  451. package/dist/module/justifi-payment-transactions-list.js +3 -3
  452. package/dist/module/justifi-payments-list-filters.js +3 -3
  453. package/dist/module/justifi-payments-list.js +1 -1
  454. package/dist/module/justifi-payout-details.js +4 -2
  455. package/dist/module/justifi-payout-transactions-list.js +3 -3
  456. package/dist/module/justifi-payouts-list-filters.js +3 -3
  457. package/dist/module/justifi-payouts-list.js +2 -2
  458. package/dist/module/justifi-radio-list-item2.js +1 -1
  459. package/dist/module/justifi-refund-payment.js +1 -1
  460. package/dist/module/justifi-saved-payment-method.js +1 -1
  461. package/dist/module/justifi-season-interruption-insurance.js +2 -2
  462. package/dist/module/justifi-skeleton.js +1 -1
  463. package/dist/module/justifi-terminal-orders-list-filters.js +4 -4
  464. package/dist/module/justifi-terminal-orders-list.js +2 -2
  465. package/dist/module/justifi-terminals-list-filters.js +5 -4
  466. package/dist/module/justifi-terminals-list.js +2 -2
  467. package/dist/module/legal-address-form-step-core.js +19 -26
  468. package/dist/module/legal-address-form-step.js +9 -16
  469. package/dist/module/legal-address-form.js +15 -18
  470. package/dist/module/modular-checkout.js +7 -6
  471. package/dist/module/owner-details2.js +8 -7
  472. package/dist/module/owner-form-core2.js +16 -24
  473. package/dist/module/owner-form-inputs2.js +15 -34
  474. package/dist/module/owner-form.js +13 -20
  475. package/dist/module/package.js +1 -1
  476. package/dist/module/pagination-menu2.js +4 -4
  477. package/dist/module/parts.js +2 -1
  478. package/dist/module/payment-details-core2.js +22 -9
  479. package/dist/module/payment-method-option.js +1 -1
  480. package/dist/module/payment-provisioning-core.js +69 -104
  481. package/dist/module/payment-provisioning-form-buttons.js +1 -1
  482. package/dist/module/payment-provisioning-form-steps.js +54 -75
  483. package/dist/module/payments-list-core2.js +2 -2
  484. package/dist/module/payments-status.js +20 -2
  485. package/dist/module/payout-details-core2.js +18 -4
  486. package/dist/module/payouts-list-core2.js +2 -2
  487. package/dist/module/product-or-service.js +1 -1
  488. package/dist/module/refund-policy.js +1 -1
  489. package/dist/module/representative-details2.js +1 -1
  490. package/dist/module/save-new-payment-method.js +1 -1
  491. package/dist/module/schema-validations.js +6 -41
  492. package/dist/module/shipping-details.js +1 -1
  493. package/dist/module/spinner.js +1 -1
  494. package/dist/module/state-options.js +244 -0
  495. package/dist/module/summary.js +1 -1
  496. package/dist/module/table-filters-menu2.js +2 -2
  497. package/dist/module/table.js +1 -1
  498. package/dist/module/terminal-orders-list-core2.js +3 -3
  499. package/dist/module/terminal-quantity-selector2.js +2 -2
  500. package/dist/module/terminals-list-core2.js +8 -3
  501. package/dist/module/tokenize-payment-method.js +1 -1
  502. package/dist/module/utils.js +4 -4
  503. package/dist/module/utils2.js +4 -1
  504. package/dist/types/api/BankAccount.d.ts +0 -6
  505. package/dist/types/api/Business.d.ts +0 -9
  506. package/dist/types/api/Checkout.d.ts +2 -0
  507. package/dist/types/api/ComponentEvents.d.ts +4 -0
  508. package/dist/types/api/Terminal.d.ts +2 -1
  509. package/dist/types/components/business-details/owner-details/owner-details.d.ts +1 -1
  510. package/dist/types/components/business-forms/business-form/business-core-info/business-core-info.d.ts +0 -3
  511. package/dist/types/components/business-forms/business-form/business-form.d.ts +0 -2
  512. package/dist/types/components/business-forms/business-form/business-representative/business-representative.d.ts +1 -4
  513. package/dist/types/components/business-forms/business-form/legal-address-form/legal-address-form.d.ts +0 -2
  514. package/dist/types/components/business-forms/owner-form/identity-address/identity-address-form.d.ts +0 -2
  515. package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +0 -2
  516. package/dist/types/components/business-forms/owner-form/owner-form-inputs.d.ts +0 -3
  517. package/dist/types/components/business-forms/owner-form/owner-form.d.ts +0 -2
  518. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.d.ts +0 -5
  519. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +0 -2
  520. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +0 -3
  521. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.d.ts +0 -2
  522. package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.d.ts +0 -2
  523. package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.d.ts +0 -2
  524. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.d.ts +0 -3
  525. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +0 -2
  526. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.d.ts +0 -2
  527. package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +0 -2
  528. package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.d.ts +0 -2
  529. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-core.d.ts +2 -4
  530. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-form-steps.d.ts +0 -2
  531. package/dist/types/components/business-forms/schemas/business-address-schema.d.ts +2 -54
  532. package/dist/types/components/business-forms/schemas/business-bank-account-schema.d.ts +16 -14
  533. package/dist/types/components/business-forms/schemas/business-core-info-schema.d.ts +3 -67
  534. package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +7 -165
  535. package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +2 -122
  536. package/dist/types/components/business-forms/schemas/schema-validations.d.ts +0 -5
  537. package/dist/types/components/modular-checkout/sub-components/apple-pay.d.ts +2 -0
  538. package/dist/types/components/payment-details/payment-details-core.d.ts +3 -1
  539. package/dist/types/components/payment-details/payment-details.d.ts +3 -1
  540. package/dist/types/components/payments-list/payments-status.d.ts +12 -0
  541. package/dist/types/components/payout-details/payout-details-core.d.ts +5 -1
  542. package/dist/types/components/payout-details/payout-details.d.ts +1 -0
  543. package/dist/types/components.d.ts +48 -121
  544. package/dist/types/stencil-public-runtime.d.ts +20 -10
  545. package/dist/types/store/checkout.store.d.ts +1 -0
  546. package/dist/types/styles/parts.d.ts +1 -1
  547. package/dist/types/ui-components/details/utils.d.ts +3 -2
  548. package/dist/types/utils/form-input-masks.d.ts +0 -1
  549. package/dist/types/utils/utils.d.ts +1 -0
  550. package/dist/webcomponents/p-0217783c.entry.js +20 -0
  551. package/dist/webcomponents/p-0256af65.entry.js +1 -0
  552. package/dist/webcomponents/p-0af5269e.entry.js +1 -0
  553. package/dist/webcomponents/p-0cac8468.entry.js +1 -0
  554. package/dist/webcomponents/{p-b59221a9.entry.js → p-0cf71cbd.entry.js} +1 -1
  555. package/dist/webcomponents/p-0eb69f41.entry.js +1 -0
  556. package/dist/webcomponents/p-0f47f052.entry.js +1 -0
  557. package/dist/webcomponents/p-0fgTPVV0.js +1 -0
  558. package/dist/webcomponents/{p-C77ElQ41.js → p-1ydcg9ti.js} +1 -1
  559. package/dist/webcomponents/p-28a3bf32.entry.js +1 -0
  560. package/dist/webcomponents/p-2b568e8e.entry.js +1 -0
  561. package/dist/webcomponents/p-2d300faa.entry.js +1 -0
  562. package/dist/webcomponents/{p-6ea75d39.entry.js → p-2f40f708.entry.js} +1 -1
  563. package/dist/webcomponents/p-30856338.entry.js +1 -0
  564. package/dist/webcomponents/p-328117e4.entry.js +1 -0
  565. package/dist/webcomponents/p-32978110.entry.js +1 -0
  566. package/dist/webcomponents/{p-c7390115.entry.js → p-37a93597.entry.js} +1 -1
  567. package/dist/webcomponents/p-47997bc2.entry.js +1 -0
  568. package/dist/webcomponents/p-50701f16.entry.js +1 -0
  569. package/dist/webcomponents/p-5235230f.entry.js +1 -0
  570. package/dist/webcomponents/p-526b7442.entry.js +1 -0
  571. package/dist/webcomponents/p-5aae36f3.entry.js +1 -0
  572. package/dist/webcomponents/p-5b5d7a8f.entry.js +1 -0
  573. package/dist/webcomponents/p-5bd3d86e.entry.js +1 -0
  574. package/dist/webcomponents/p-66db858a.entry.js +1 -0
  575. package/dist/webcomponents/p-720a2324.entry.js +1 -0
  576. package/dist/webcomponents/p-78cb62a8.entry.js +1 -0
  577. package/dist/webcomponents/p-7c8deca8.entry.js +1 -0
  578. package/dist/webcomponents/p-7dc9ef8a.entry.js +1 -0
  579. package/dist/webcomponents/p-84551ee4.entry.js +1 -0
  580. package/dist/webcomponents/p-854b3db0.entry.js +1 -0
  581. package/dist/webcomponents/p-85a2eac6.entry.js +1 -0
  582. package/dist/webcomponents/p-8663e8bd.entry.js +1 -0
  583. package/dist/webcomponents/p-89f6ad8f.entry.js +1 -0
  584. package/dist/webcomponents/p-8S_ROmnq.js +1 -0
  585. package/dist/webcomponents/p-8ca21fab.entry.js +1 -0
  586. package/dist/webcomponents/p-8cebc84b.entry.js +1 -0
  587. package/dist/webcomponents/p-8f8dfd4b.entry.js +1 -0
  588. package/dist/webcomponents/p-94237472.entry.js +1 -0
  589. package/dist/webcomponents/p-9ad7d724.entry.js +1 -0
  590. package/dist/webcomponents/p-B-iV5cYd.js +1 -0
  591. package/dist/webcomponents/p-B6IWa9Ph.js +1 -0
  592. package/dist/webcomponents/{p-BdREtifE.js → p-BBx_EQqR.js} +1 -1
  593. package/dist/webcomponents/p-BX8GieXu.js +1 -0
  594. package/dist/webcomponents/{p-xWrhxNNk.js → p-Bgnhf5c9.js} +1 -1
  595. package/dist/webcomponents/{p-DTwFW2k_.js → p-BhCH9S0e.js} +1 -1
  596. package/dist/webcomponents/p-BjNuRWXK.js +1 -0
  597. package/dist/webcomponents/p-BlJnA265.js +1 -0
  598. package/dist/webcomponents/p-BoQ6_4Ks.js +1 -0
  599. package/dist/webcomponents/{p-DWGKeoot.js → p-C0wTyoTh.js} +1 -1
  600. package/dist/webcomponents/p-C2JJBtMc.js +1 -0
  601. package/dist/webcomponents/{p-g2ubqhtv.js → p-C8k7a6D-.js} +1 -1
  602. package/dist/webcomponents/{p-BPDMo6us.js → p-C98BC5W5.js} +1 -1
  603. package/dist/webcomponents/p-C9EQ459H.js +1 -0
  604. package/dist/webcomponents/p-C9iide2W.js +1 -0
  605. package/dist/webcomponents/p-CCLgieAN.js +1 -0
  606. package/dist/webcomponents/p-CCmDcLao.js +1 -0
  607. package/dist/webcomponents/{p-qUCDGWNE.js → p-CEk3bv0x.js} +1 -1
  608. package/dist/webcomponents/p-CH8Y3GSr.js +1 -0
  609. package/dist/webcomponents/{p-D2hzOOMf.js → p-ClvhB3WW.js} +1 -1
  610. package/dist/webcomponents/{p-JSXyHheQ.js → p-CmBCj61h.js} +1 -1
  611. package/dist/webcomponents/p-D0Peuz-m.js +1 -0
  612. package/dist/webcomponents/{p-BaM0JBLn.js → p-D5Jb9OcR.js} +1 -1
  613. package/dist/webcomponents/p-D6BImiVi.js +1 -0
  614. package/dist/webcomponents/p-DGsXKF67.js +1 -0
  615. package/dist/webcomponents/p-DH8F0bsw.js +1 -0
  616. package/dist/webcomponents/p-DL-q4EcN.js +1 -0
  617. package/dist/webcomponents/{p-_b8l4IX7.js → p-DOjVAAtq.js} +2 -2
  618. package/dist/webcomponents/p-DQZ5VHTZ.js +1 -0
  619. package/dist/webcomponents/p-DWn9BiNn.js +1 -0
  620. package/dist/webcomponents/{p-hj8k0lRi.js → p-DdMxswn1.js} +1 -1
  621. package/dist/webcomponents/{p-M5r2kSbf.js → p-DdZLLkQ5.js} +1 -1
  622. package/dist/webcomponents/p-DfV3dFDB.js +1 -0
  623. package/dist/webcomponents/p-Dieke6TH.js +1 -0
  624. package/dist/webcomponents/p-Dt-vy9Le.js +1 -0
  625. package/dist/webcomponents/p-NAjz1Xfo.js +1 -0
  626. package/dist/webcomponents/p-NwmOm8Pg.js +1 -0
  627. package/dist/webcomponents/p-PSJOKMWp.js +1 -0
  628. package/dist/webcomponents/p-RQzxYnz_.js +1 -0
  629. package/dist/webcomponents/p-T2yENPvU.js +1 -0
  630. package/dist/webcomponents/{p-b46fe458.entry.js → p-a4846316.entry.js} +1 -1
  631. package/dist/webcomponents/p-a5c70eee.entry.js +1 -0
  632. package/dist/webcomponents/p-a6tcNl_T.js +1 -0
  633. package/dist/webcomponents/p-aa14cc74.entry.js +1 -0
  634. package/dist/webcomponents/p-ae7054bf.entry.js +1 -0
  635. package/dist/webcomponents/p-ae8ae5bb.entry.js +1 -0
  636. package/dist/webcomponents/{p-fVyCeQNq.js → p-au49QgoI.js} +1 -1
  637. package/dist/webcomponents/p-b095c781.entry.js +1 -0
  638. package/dist/webcomponents/p-b36adce3.entry.js +1 -0
  639. package/dist/webcomponents/{p-b17cb15d.entry.js → p-b608add9.entry.js} +1 -1
  640. package/dist/webcomponents/p-b612d870.entry.js +1 -0
  641. package/dist/webcomponents/p-baf0d3e7.entry.js +1 -0
  642. package/dist/webcomponents/p-bb53e2e9.entry.js +1 -0
  643. package/dist/webcomponents/p-be05d450.entry.js +1 -0
  644. package/dist/webcomponents/p-c089fb5f.entry.js +1 -0
  645. package/dist/webcomponents/p-ce652ff9.entry.js +1 -0
  646. package/dist/webcomponents/{p-c1f10a84.entry.js → p-cff5dd60.entry.js} +1 -1
  647. package/dist/webcomponents/p-d0a2035f.entry.js +1 -0
  648. package/dist/webcomponents/p-d1bceac6.entry.js +1 -0
  649. package/dist/webcomponents/p-d37d752e.entry.js +1 -0
  650. package/dist/webcomponents/p-d4476052.entry.js +1 -0
  651. package/dist/webcomponents/p-d7f91c48.entry.js +1 -0
  652. package/dist/webcomponents/p-d84f0122.entry.js +1 -0
  653. package/dist/webcomponents/p-e55a161f.entry.js +1 -0
  654. package/dist/webcomponents/p-e6be4e19.entry.js +1 -0
  655. package/dist/webcomponents/p-ec9514f8.entry.js +1 -0
  656. package/dist/webcomponents/p-f11a74c3.entry.js +1 -0
  657. package/dist/webcomponents/p-f705fc49.entry.js +1 -0
  658. package/dist/webcomponents/p-f930acaa.entry.js +1 -0
  659. package/dist/webcomponents/p-fe8c2243.entry.js +1 -0
  660. package/dist/webcomponents/p-fedfe376.entry.js +1 -0
  661. package/dist/webcomponents/p-ffefa09c.entry.js +1 -0
  662. package/dist/webcomponents/p-h5pyZngT.js +1 -0
  663. package/dist/webcomponents/p-hbWSMN3O.js +1 -0
  664. package/dist/webcomponents/p-lKnUT24T.js +1 -0
  665. package/dist/webcomponents/p-tYuXMkCd.js +1 -0
  666. package/dist/webcomponents/p-wQgEEOq_.js +1 -0
  667. package/dist/webcomponents/p-xDbRW9xn.js +1 -0
  668. package/dist/webcomponents/{p-CPpUGsw5.js → p-yH3TC3ZQ.js} +1 -1
  669. package/dist/webcomponents/webcomponents.esm.js +1 -1
  670. package/package.json +13 -13
  671. package/dist/cjs/bank-account-document-form-inputs_6.cjs.entry.js +0 -132
  672. package/dist/cjs/business-identity-schema-Cd0tvfJr.js +0 -101
  673. package/dist/cjs/country-config-MCOhn8o3.js +0 -68
  674. package/dist/cjs/form-control-number-masked_3.cjs.entry.js +0 -119
  675. package/dist/cjs/justifi-apple-pay.cjs.entry.js +0 -876
  676. package/dist/cjs/terminals-list-params-state-ARjo40Y9.js +0 -22
  677. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.js +0 -88
  678. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.js +0 -50
  679. package/dist/collection/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.js +0 -101
  680. package/dist/collection/components/business-forms/payment-provisioning/test/mockBusiness.js +0 -52
  681. package/dist/collection/components/business-forms/utils/country-config.js +0 -47
  682. package/dist/collection/utils/country-codes.js +0 -5
  683. package/dist/collection/utils/province-options.js +0 -20
  684. package/dist/esm/bank-account-document-form-inputs_6.entry.js +0 -125
  685. package/dist/esm/business-identity-schema-mN4VhA1v.js +0 -94
  686. package/dist/esm/country-config-BQ4D46Lb.js +0 -64
  687. package/dist/esm/form-control-number-masked_3.entry.js +0 -115
  688. package/dist/esm/terminals-list-params-state-BY5996_y.js +0 -16
  689. package/dist/module/bank-account-form-inputs-canada.d.ts +0 -11
  690. package/dist/module/bank-account-form-inputs-canada.js +0 -6
  691. package/dist/module/bank-account-form-inputs-canada2.js +0 -68
  692. package/dist/module/bank-account-read-only-value.d.ts +0 -11
  693. package/dist/module/bank-account-read-only-value.js +0 -6
  694. package/dist/module/bank-account-read-only-value2.js +0 -33
  695. package/dist/module/country-config.js +0 -64
  696. package/dist/module/form-address-fields.js +0 -65
  697. package/dist/module/justifi-form-address-fields.d.ts +0 -11
  698. package/dist/module/justifi-form-address-fields.js +0 -6
  699. package/dist/types/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.d.ts +0 -7
  700. package/dist/types/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.d.ts +0 -5
  701. package/dist/types/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.d.ts +0 -8
  702. package/dist/types/components/business-forms/payment-provisioning/test/mockBusiness.d.ts +0 -12
  703. package/dist/types/utils/country-codes.d.ts +0 -4
  704. package/dist/types/utils/province-options.d.ts +0 -5
  705. package/dist/webcomponents/p-0254c06c.entry.js +0 -1
  706. package/dist/webcomponents/p-047fe97f.entry.js +0 -1
  707. package/dist/webcomponents/p-04ca6ff0.entry.js +0 -1
  708. package/dist/webcomponents/p-09d53b03.entry.js +0 -1
  709. package/dist/webcomponents/p-0c5e2fed.entry.js +0 -1
  710. package/dist/webcomponents/p-0ea48603.entry.js +0 -1
  711. package/dist/webcomponents/p-17e9d5c0.entry.js +0 -1
  712. package/dist/webcomponents/p-1ab4d6aa.entry.js +0 -1
  713. package/dist/webcomponents/p-1cf42bc9.entry.js +0 -1
  714. package/dist/webcomponents/p-1e7f4b4f.entry.js +0 -1
  715. package/dist/webcomponents/p-22defde6.entry.js +0 -20
  716. package/dist/webcomponents/p-242208d9.entry.js +0 -1
  717. package/dist/webcomponents/p-31ac0c3d.entry.js +0 -1
  718. package/dist/webcomponents/p-36e21b78.entry.js +0 -1
  719. package/dist/webcomponents/p-3a77a97c.entry.js +0 -1
  720. package/dist/webcomponents/p-40938820.entry.js +0 -1
  721. package/dist/webcomponents/p-40dc0c3c.entry.js +0 -1
  722. package/dist/webcomponents/p-42763479.entry.js +0 -1
  723. package/dist/webcomponents/p-430203b0.entry.js +0 -1
  724. package/dist/webcomponents/p-46d2d042.entry.js +0 -1
  725. package/dist/webcomponents/p-485516a1.entry.js +0 -1
  726. package/dist/webcomponents/p-4fb58ee6.entry.js +0 -1
  727. package/dist/webcomponents/p-54995a3d.entry.js +0 -1
  728. package/dist/webcomponents/p-56617fdd.entry.js +0 -1
  729. package/dist/webcomponents/p-592a45f6.entry.js +0 -1
  730. package/dist/webcomponents/p-5a044ca5.entry.js +0 -1
  731. package/dist/webcomponents/p-5ec18584.entry.js +0 -1
  732. package/dist/webcomponents/p-6122dc79.entry.js +0 -1
  733. package/dist/webcomponents/p-62858ba5.entry.js +0 -1
  734. package/dist/webcomponents/p-62b5e6cf.entry.js +0 -1
  735. package/dist/webcomponents/p-67dab4d9.entry.js +0 -1
  736. package/dist/webcomponents/p-6b791b1d.entry.js +0 -1
  737. package/dist/webcomponents/p-6ebf8f11.entry.js +0 -1
  738. package/dist/webcomponents/p-6fdac295.entry.js +0 -1
  739. package/dist/webcomponents/p-724cf90f.entry.js +0 -1
  740. package/dist/webcomponents/p-7ecca5fe.entry.js +0 -1
  741. package/dist/webcomponents/p-7ecf9bd0.entry.js +0 -1
  742. package/dist/webcomponents/p-850dd606.entry.js +0 -1
  743. package/dist/webcomponents/p-85af9d78.entry.js +0 -1
  744. package/dist/webcomponents/p-931003fc.entry.js +0 -1
  745. package/dist/webcomponents/p-9367e7e6.entry.js +0 -1
  746. package/dist/webcomponents/p-9c114674.entry.js +0 -1
  747. package/dist/webcomponents/p-9c267692.entry.js +0 -1
  748. package/dist/webcomponents/p-B5rtFhtR.js +0 -1
  749. package/dist/webcomponents/p-BRhnhmpB.js +0 -1
  750. package/dist/webcomponents/p-BgFM_jvF.js +0 -1
  751. package/dist/webcomponents/p-BqbXuOZP.js +0 -1
  752. package/dist/webcomponents/p-BwpdCtUc.js +0 -1
  753. package/dist/webcomponents/p-C6g4MbnB.js +0 -1
  754. package/dist/webcomponents/p-CA_TyBed.js +0 -1
  755. package/dist/webcomponents/p-CE-MNrID.js +0 -1
  756. package/dist/webcomponents/p-CMpATPXy.js +0 -1
  757. package/dist/webcomponents/p-CQUZeo9r.js +0 -1
  758. package/dist/webcomponents/p-CSeo7WDO.js +0 -1
  759. package/dist/webcomponents/p-CTJ3moi4.js +0 -1
  760. package/dist/webcomponents/p-CVaOFfrI.js +0 -1
  761. package/dist/webcomponents/p-CYNcSTQA.js +0 -1
  762. package/dist/webcomponents/p-CevVA9qy.js +0 -1
  763. package/dist/webcomponents/p-CkiX8OGy.js +0 -1
  764. package/dist/webcomponents/p-CtWnJFtW.js +0 -1
  765. package/dist/webcomponents/p-CycBoHSW.js +0 -1
  766. package/dist/webcomponents/p-D-RVXHwG.js +0 -1
  767. package/dist/webcomponents/p-D1Na2I0C.js +0 -1
  768. package/dist/webcomponents/p-D5lmImiz.js +0 -1
  769. package/dist/webcomponents/p-DMf85Fkr.js +0 -1
  770. package/dist/webcomponents/p-DNPS-Ypi.js +0 -1
  771. package/dist/webcomponents/p-DQ5V5-Jy.js +0 -1
  772. package/dist/webcomponents/p-DapORSs4.js +0 -1
  773. package/dist/webcomponents/p-DcPNd9_D.js +0 -1
  774. package/dist/webcomponents/p-DfKxeSrC.js +0 -1
  775. package/dist/webcomponents/p-Dkujm7_O.js +0 -1
  776. package/dist/webcomponents/p-Dv1Fyrn3.js +0 -1
  777. package/dist/webcomponents/p-DxVCqvBt.js +0 -1
  778. package/dist/webcomponents/p-DzWLLt4t.js +0 -1
  779. package/dist/webcomponents/p-LO0pl3n2.js +0 -1
  780. package/dist/webcomponents/p-PdQT2QcR.js +0 -1
  781. package/dist/webcomponents/p-a2817869.entry.js +0 -1
  782. package/dist/webcomponents/p-a291a90c.entry.js +0 -1
  783. package/dist/webcomponents/p-b0bc03e6.entry.js +0 -1
  784. package/dist/webcomponents/p-c2cb70c8.entry.js +0 -1
  785. package/dist/webcomponents/p-c540fe9d.entry.js +0 -1
  786. package/dist/webcomponents/p-c6093716.entry.js +0 -1
  787. package/dist/webcomponents/p-c6e43493.entry.js +0 -1
  788. package/dist/webcomponents/p-c780cc91.entry.js +0 -1
  789. package/dist/webcomponents/p-c9598246.entry.js +0 -1
  790. package/dist/webcomponents/p-c972a599.entry.js +0 -1
  791. package/dist/webcomponents/p-cc1d8649.entry.js +0 -1
  792. package/dist/webcomponents/p-ce4895ca.entry.js +0 -1
  793. package/dist/webcomponents/p-ce67282b.entry.js +0 -1
  794. package/dist/webcomponents/p-cef5c6e9.entry.js +0 -1
  795. package/dist/webcomponents/p-d21fa0c9.entry.js +0 -1
  796. package/dist/webcomponents/p-d236f152.entry.js +0 -1
  797. package/dist/webcomponents/p-d6ac11fc.entry.js +0 -1
  798. package/dist/webcomponents/p-e55ce6ad.entry.js +0 -1
  799. package/dist/webcomponents/p-f02bd076.entry.js +0 -1
  800. package/dist/webcomponents/p-lPeK9y_X.js +0 -1
  801. package/dist/webcomponents/p-sCHf--Vc.js +0 -1
@@ -1,12 +1,9 @@
1
1
  'use strict';
2
2
 
3
3
  var index_esm = require('./index.esm-ByC0D4sJ.js');
4
- var schemaValidations = require('./schema-validations-0mjPveQ0.js');
5
- var Business = require('./Business-DWHy_-z9.js');
6
- var countryConfig = require('./country-config-MCOhn8o3.js');
4
+ var schemaValidations = require('./schema-validations-Bj7eYNO8.js');
7
5
 
8
- // Base schema (no country-specific rules for classification/tax id)
9
- const baseBusinessCoreInfoSchema = (allowOptionalFields) => {
6
+ const businessCoreInfoSchema = (allowOptionalFields) => {
10
7
  const schema = index_esm.create$3({
11
8
  legal_name: schemaValidations.businessNameValidation.required('Enter legal name'),
12
9
  website_url: schemaValidations.websiteUrlValidation.required('Enter business website url'),
@@ -15,6 +12,7 @@ const baseBusinessCoreInfoSchema = (allowOptionalFields) => {
15
12
  doing_business_as: schemaValidations.doingBusinessAsValidation.nullable(),
16
13
  classification: schemaValidations.businessClassificationValidation.required('Select business classification'),
17
14
  industry: schemaValidations.industryValidation.required('Enter a business industry'),
15
+ tax_id: schemaValidations.taxIdValidation.required('Enter valid tax ID (SSN or EIN) without dashes'),
18
16
  date_of_incorporation: schemaValidations.dateOfIncorporationValidation.required('Enter date of incorporation'),
19
17
  });
20
18
  const easySchema = index_esm.create$3({
@@ -30,25 +28,6 @@ const baseBusinessCoreInfoSchema = (allowOptionalFields) => {
30
28
  });
31
29
  return allowOptionalFields ? easySchema : schema;
32
30
  };
33
- // Country-specific schema convenience wrappers
34
- const businessCoreInfoSchemaUSA = (allowOptionalFields) => baseBusinessCoreInfoSchema(allowOptionalFields).concat(index_esm.create$3({
35
- classification: index_esm.create$6().required('Select business classification'),
36
- tax_id: schemaValidations.makeTaxIdValidation(Business.CountryCode.USA)
37
- .when('tax_id_last4', {
38
- is: (val) => !val,
39
- then: (schema) => schema.required(`Enter valid ${countryConfig.countryLabels.USA.taxIdLabel} without dashes`),
40
- otherwise: (schema) => schema.nullable(),
41
- }),
42
- }));
43
- const businessCoreInfoSchemaCAN = (allowOptionalFields) => baseBusinessCoreInfoSchema(allowOptionalFields).concat(index_esm.create$3({
44
- classification: index_esm.create$6().required('Select business classification'),
45
- tax_id: schemaValidations.makeTaxIdValidation(Business.CountryCode.CAN)
46
- .when('tax_id_last4', {
47
- is: (val) => !val,
48
- then: (schema) => schema.required(`Enter valid ${countryConfig.countryLabels.CAN.taxIdLabel} without dashes`),
49
- otherwise: (schema) => schema.nullable(),
50
- }),
51
- }));
52
31
 
53
32
  const additionalQuestionsSchema = (allowOptionalFields) => {
54
33
  const schema = index_esm.create$3({
@@ -73,5 +52,4 @@ const additionalQuestionsSchema = (allowOptionalFields) => {
73
52
  };
74
53
 
75
54
  exports.additionalQuestionsSchema = additionalQuestionsSchema;
76
- exports.businessCoreInfoSchemaCAN = businessCoreInfoSchemaCAN;
77
- exports.businessCoreInfoSchemaUSA = businessCoreInfoSchemaUSA;
55
+ exports.businessCoreInfoSchema = businessCoreInfoSchema;
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CaAefsWD.js');
4
- var utils = require('./utils-C6mfHWv-.js');
5
- var styledHost = require('./styled-host-DSpt9LtB.js');
3
+ var index = require('./index-Bhtk1qkX.js');
4
+ var utils = require('./utils-CUcA4G_O.js');
5
+ var styledHost = require('./styled-host-BSooSIhA.js');
6
6
  require('./event-types-YOY5TKUN.js');
7
- var skeleton = require('./skeleton-DlPP4i_w.js');
8
- require('./parts-9jMf1erK.js');
7
+ var skeleton = require('./skeleton-BvdAh448.js');
8
+ require('./parts-Pb06tUMp.js');
9
9
 
10
10
  const BusinessDetailsLoading = () => {
11
11
  const Block = () => (index.h("div", { class: "mt-5" }, index.h(skeleton.Skeleton, { width: "40%", height: "1.5rem" }), index.h("hr", null), index.h("div", { class: "row g-3" }, index.h("div", { class: "col-12 col-md-6" }, index.h(skeleton.Skeleton, null), index.h(skeleton.Skeleton, null), index.h(skeleton.Skeleton, null)), index.h("div", { class: "col-12 col-md-6" }, index.h(skeleton.Skeleton, null), index.h(skeleton.Skeleton, null), index.h(skeleton.Skeleton, null)))));
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var Business = require('./Business-DWHy_-z9.js');
3
+ var Business = require('./Business-DCRzZf0w.js');
4
4
 
5
5
  const businessClassificationOptions = [
6
6
  {
@@ -0,0 +1,51 @@
1
+ 'use strict';
2
+
3
+ var index_esm = require('./index.esm-ByC0D4sJ.js');
4
+ var schemaValidations = require('./schema-validations-Bj7eYNO8.js');
5
+
6
+ const addressSchema = (allowOptionalFields) => {
7
+ const schema = index_esm.create$3({
8
+ line1: schemaValidations.lineOneValidation.required('Enter street address'),
9
+ line2: schemaValidations.lineTwoValidation.nullable(),
10
+ city: schemaValidations.cityValidation.required('Enter city'),
11
+ state: schemaValidations.stateValidation.required('Select state'),
12
+ postal_code: schemaValidations.postalValidation.required('Enter postal code'),
13
+ country: index_esm.create$6().required('Select country')
14
+ });
15
+ const easySchema = index_esm.create$3({
16
+ line1: schemaValidations.lineOneValidation.nullable(),
17
+ line2: schemaValidations.lineTwoValidation.nullable(),
18
+ city: schemaValidations.cityValidation.nullable(),
19
+ state: schemaValidations.stateValidation.nullable(),
20
+ postal_code: schemaValidations.postalValidation.nullable(),
21
+ country: index_esm.create$6().required('Select country')
22
+ });
23
+ return allowOptionalFields ? easySchema : schema;
24
+ };
25
+
26
+ const identitySchema = (role, allowOptionalFields) => {
27
+ const schema = index_esm.create$3({
28
+ name: schemaValidations.identityNameValidation.required(`Enter ${role} name`),
29
+ title: schemaValidations.identityTitleValidation.required(`Enter ${role} title`),
30
+ email: schemaValidations.emailValidation.required(`Enter ${role} email`),
31
+ phone: schemaValidations.phoneValidation.required('Enter phone number'),
32
+ dob_full: schemaValidations.dobValidation(role).required('Enter date of birth'),
33
+ ssn_last4: index_esm.create$6().nullable(),
34
+ identification_number: schemaValidations.ssnValidation,
35
+ address: addressSchema(allowOptionalFields),
36
+ });
37
+ const easySchema = index_esm.create$3({
38
+ name: schemaValidations.identityNameValidation.required(`Enter ${role} name`),
39
+ title: schemaValidations.identityTitleValidation.nullable(),
40
+ email: schemaValidations.emailValidation.nullable(),
41
+ phone: schemaValidations.phoneValidation.nullable(),
42
+ dob_full: schemaValidations.dobValidation(role).nullable(),
43
+ ssn_last4: index_esm.create$6().nullable(),
44
+ identification_number: schemaValidations.ssnValidation.nullable(),
45
+ address: addressSchema(allowOptionalFields),
46
+ });
47
+ return allowOptionalFields ? easySchema : schema;
48
+ };
49
+
50
+ exports.addressSchema = addressSchema;
51
+ exports.identitySchema = identitySchema;
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var Api = require('./Api-DqzbA2qk.js');
3
+ var Api = require('./Api-CjtvTD2_.js');
4
4
  require('./ComponentError-D4OLnOkg.js');
5
- require('./Refund-BPSBtjQC.js');
5
+ require('./Refund-BnhHNKLz.js');
6
6
  require('./Pagination-Dediz133.js');
7
- require('./Business-DWHy_-z9.js');
7
+ require('./Business-DCRzZf0w.js');
8
8
  require('./Dispute-CruQTF6_.js');
9
9
 
10
10
  const api = Api.Api();
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CaAefsWD.js');
4
- var parts = require('./parts-9jMf1erK.js');
3
+ var index = require('./index-Bhtk1qkX.js');
4
+ var parts = require('./parts-Pb06tUMp.js');
5
5
 
6
6
  const ButtonSpinner = () => (index.h("div", { class: "spinner-border spinner-border-sm", role: "status", part: "button-spinner" }, index.h("span", { class: "visually-hidden" }, "Loading...")));
7
7
 
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CaAefsWD.js');
4
- var skeleton = require('./skeleton-DlPP4i_w.js');
5
- var configState = require('./config-state-BeZM7X7J.js');
6
- var utils = require('./utils-ChCUZgUy.js');
7
- require('./parts-9jMf1erK.js');
8
- require('./index-D-CfIyoF.js');
3
+ var index = require('./index-Bhtk1qkX.js');
4
+ var skeleton = require('./skeleton-BvdAh448.js');
5
+ var configState = require('./config-state-C7babhLh.js');
6
+ var utils = require('./utils-Bab-tddY.js');
7
+ require('./parts-Pb06tUMp.js');
8
+ require('./index-CWM5ions.js');
9
9
  require('./dinero-BwNN_k7x.js');
10
10
 
11
11
  const CardFormSkeleton = (props) => {
@@ -52,10 +52,10 @@ const CardForm = class {
52
52
  return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
53
53
  }
54
54
  render() {
55
- return (index.h(index.Host, { key: 'a2e24bea5b9452109cc2e8bace48715d4891a8fd' }, index.h(CardFormSkeleton, { key: '72eaccbcbc44276f717796a6d43a7237ea9aa53c', isReady: this.isReady }), index.h("div", { key: 'ecaf4c87c39ef1613962a2ede31401f1ebc83510', class: "container-fluid p-0", style: {
55
+ return (index.h(index.Host, { key: '038d2c8e2f9fcd1015d7177c79afa8c4e5810486' }, index.h(CardFormSkeleton, { key: 'b231bb34f43670bb1d92597d2ab37a5ef2c742e1', isReady: this.isReady }), index.h("div", { key: 'ede0af7f1964c2241982bfed4ca71f229d9096a1', class: "container-fluid p-0", style: {
56
56
  opacity: this.isReady ? '1' : '0',
57
57
  height: this.isReady ? 'auto' : '0',
58
- } }, index.h("div", { key: 'f2d7aa181c3fab31a660fb61cd05086a801f2ae3', class: "mb-3" }, index.h("iframe-input", { key: '146fd7622be45cd3d672449021bb2e5cae863c14', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber?tabId=${this.tabId}` })), index.h("div", { key: 'cbbf5b2e280fa0974c1416c3291ad69be778dad0', class: "d-flex align-items-start" }, index.h("div", { key: 'b624938df43a99cc8bdfee12ad375c2f794eb716', class: "flex-fill me-3" }, index.h("iframe-input", { key: '73324463e7f4e383db349d500104ea566b1302c5', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Exp. Month", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth?tabId=${this.tabId}` })), index.h("div", { key: '00a3e4c7cf98b02c8dc915e4d62efde12caea4b4', class: "flex-fill me-3" }, index.h("iframe-input", { key: 'd6546cabba6d82560e51e8a0d66b0078eaeded74', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "Exp. Year", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear?tabId=${this.tabId}` })), index.h("div", { key: '1489393a907289649b9e20597012dc57d865dc59', class: "flex-fill" }, index.h("iframe-input", { key: 'd5ecc403c460aa9c3757c48970b4e83edb805796', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV?tabId=${this.tabId}` }))))));
58
+ } }, index.h("div", { key: '7c895da0378cc512b152a6629160009b12fa47aa', class: "mb-3" }, index.h("iframe-input", { key: '7717e0cf984a83402c61bceece2077cda780510f', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber?tabId=${this.tabId}` })), index.h("div", { key: 'b28428997690059244e4da2cd5080af2fb44ca00', class: "d-flex align-items-start" }, index.h("div", { key: 'e2f11a9293e00ab5b950de51a41b3af266b8084a', class: "flex-fill me-3" }, index.h("iframe-input", { key: '16d798effe3e29a06d5714b742749a1ce9b40760', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Exp. Month", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth?tabId=${this.tabId}` })), index.h("div", { key: 'e75c69175bd23bc96192d17a4561a0118f640ebe', class: "flex-fill me-3" }, index.h("iframe-input", { key: '04d1c4fb7693e42a18984d9c102a5d799e7c1c3f', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "Exp. Year", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear?tabId=${this.tabId}` })), index.h("div", { key: 'a2130dcbe8e72f156bc0434d47a26a8e287b1fce', class: "flex-fill" }, index.h("iframe-input", { key: '4709dcb93de9543be9a5143df0bdeaf66935bde3', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV?tabId=${this.tabId}` }))))));
59
59
  }
60
60
  };
61
61
 
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var _package = require('./package-CVxkAS_m.js');
4
- var Api = require('./Api-DqzbA2qk.js');
3
+ var _package = require('./package-BHmdO9eK.js');
4
+ var Api = require('./Api-CjtvTD2_.js');
5
5
  require('./ComponentError-D4OLnOkg.js');
6
- require('./Refund-BPSBtjQC.js');
6
+ require('./Refund-BnhHNKLz.js');
7
7
  require('./Pagination-Dediz133.js');
8
- require('./Business-DWHy_-z9.js');
8
+ require('./Business-DCRzZf0w.js');
9
9
  require('./Dispute-CruQTF6_.js');
10
10
 
11
11
  const api = Api.Api();
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var Api = require('./Api-DqzbA2qk.js');
3
+ var Api = require('./Api-CjtvTD2_.js');
4
4
  require('./ComponentError-D4OLnOkg.js');
5
- require('./Refund-BPSBtjQC.js');
5
+ require('./Refund-BnhHNKLz.js');
6
6
  require('./Pagination-Dediz133.js');
7
- require('./Business-DWHy_-z9.js');
7
+ require('./Business-DCRzZf0w.js');
8
8
  require('./Dispute-CruQTF6_.js');
9
9
 
10
10
  const api = Api.Api();
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-D-CfIyoF.js');
3
+ var index = require('./index-CWM5ions.js');
4
4
  var index$1 = require('./index-C2ITzalN.js');
5
5
 
6
6
  const initialState = {
@@ -10,6 +10,7 @@ const initialState = {
10
10
  address_postal_code: '',
11
11
  },
12
12
  bnplEnabled: false,
13
+ applePayEnabled: false,
13
14
  insuranceEnabled: false,
14
15
  bnplProviderApiVersion: '',
15
16
  bnplProviderCheckoutUrl: '',
@@ -64,6 +65,9 @@ function getAvailablePaymentMethodTypes() {
64
65
  if (checkoutStore.bnplEnabled) {
65
66
  methods.push(index$1.PAYMENT_METHODS.SEZZLE);
66
67
  }
68
+ if (checkoutStore.applePayEnabled) {
69
+ methods.push(index$1.PAYMENT_METHODS.APPLE_PAY);
70
+ }
67
71
  if (checkoutStore.bankAccountVerification === true &&
68
72
  !checkoutStore.disableBankAccount) {
69
73
  methods.push(index$1.PAYMENT_METHODS.PLAID);
@@ -1,22 +1,24 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CaAefsWD.js');
4
- require('./config-state-BeZM7X7J.js');
3
+ var index = require('./index-Bhtk1qkX.js');
4
+ require('./config-state-C7babhLh.js');
5
5
  require('./dinero-BwNN_k7x.js');
6
6
  require('./ComponentError-D4OLnOkg.js');
7
- require('./Refund-BPSBtjQC.js');
7
+ require('./Refund-BnhHNKLz.js');
8
8
  var Pagination = require('./Pagination-Dediz133.js');
9
- require('./Business-DWHy_-z9.js');
9
+ require('./Business-DCRzZf0w.js');
10
10
  require('./Dispute-CruQTF6_.js');
11
- var table = require('./table-CAWBqvW5.js');
11
+ var table = require('./table-Ccg4k90C.js');
12
12
  var eventTypes = require('./event-types-YOY5TKUN.js');
13
- var checkoutsTable = require('./checkouts-table-C102WCfy.js');
14
- var checkoutsListParamsState = require('./checkouts-list-params-state-ARjo40Y9.js');
15
- require('./index-D-CfIyoF.js');
16
- require('./utils-ChCUZgUy.js');
17
- require('./parts-9jMf1erK.js');
18
- require('./spinner-BNWG01hP.js');
19
- require('./badge-BJVdpSU-.js');
13
+ var checkoutsTable = require('./checkouts-table-C5AHeIr0.js');
14
+ var checkoutsListParamsState = require('./checkouts-list-params-state-BYpq-c6X.js');
15
+ require('./index-CWM5ions.js');
16
+ require('./utils-Bab-tddY.js');
17
+ require('./helpers-B5OCqlIM.js');
18
+ require('./state-options-CIT9xdTz.js');
19
+ require('./parts-Pb06tUMp.js');
20
+ require('./spinner-Rt52JMa2.js');
21
+ require('./badge-CE3ss_OU.js');
20
22
 
21
23
  const CheckoutsListCore = class {
22
24
  constructor(hostRef) {
@@ -134,7 +136,7 @@ const CheckoutsListCore = class {
134
136
  return !this.showEmptyState && !this.showErrorState && !this.loading;
135
137
  }
136
138
  render() {
137
- return (index.h(table.TableWrapper, { key: '9d3a3574320cbb521457bb130ff5bfe9eca0ad71' }, index.h(table.TableComponent, { key: 'c52b7ed59ea7c68607506751754a4f5bbc46f394' }, index.h(table.TableHead, { key: '24d2ee3ae48ed8687e43ee209a0260d2969a2b96' }, index.h(table.TableHeadRow, { key: 'dcaf7c316283c7fac6bd8be6e119c965eb91590f' }, this.checkoutsTable.columnData.map((column) => column))), index.h(table.TableBody, { key: '57cf5bf625cf994aa0abb5e5d71dad0ffe2eb049' }, index.h(table.TableLoadingState, { key: '4a33477c76c38205d907d38d122f03339a57a65c', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), index.h(table.TableEmptyState, { key: 'e48a334af552ef4e747f069a88d4aa1638d09b0d', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), index.h(table.TableErrorState, { key: 'dd2892c5e9bdfa46e4faf465a6e9411890461ea5', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.rowData.map((data, index$1) => (index.h(table.TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index$1], onClick: this.rowClickHandler }, data)))), this.paging && (index.h(table.TableFoot, { key: '17b824a591a68fe3ecf8c4b15d3404d27378d25f' }, index.h(table.TableFootRow, { key: '425c02a9cc4992896847d4b7cc114f55e165687b' }, index.h(table.TableFootCell, { key: '78bcf9f3dae3c166a57ebd4bc39453d0f8f29d6b', colSpan: this.checkoutsTable.columnData.length }, index.h("pagination-menu", { key: '4ea9982a48440c1fa4ef7f4919e24c06a783d707', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
139
+ return (index.h(table.TableWrapper, { key: 'a39afbb74067a8ce3b4958f8509c6432d2e9acd4' }, index.h(table.TableComponent, { key: '912298a9c2b9f701b939bc224ff73d74c5451d55' }, index.h(table.TableHead, { key: 'dc14d0c44f7521360ccd76129c472825ded515cb' }, index.h(table.TableHeadRow, { key: '2dd9d8f52b56ce9e2fc1d4b50fa37143ee33e6cf' }, this.checkoutsTable.columnData.map((column) => column))), index.h(table.TableBody, { key: '41f0ccf7b211593bb5a4396a5c6f5b1d6c5c7bc3' }, index.h(table.TableLoadingState, { key: 'e80fb55f7e4ae660a97c37fe710a17190164d132', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), index.h(table.TableEmptyState, { key: 'cd1f4f3204d6ee3baa4d826b0081196716e4b5dd', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), index.h(table.TableErrorState, { key: 'cb54166a78e4ee8ea25f1905893763cdd8d3dd92', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.rowData.map((data, index$1) => (index.h(table.TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index$1], onClick: this.rowClickHandler }, data)))), this.paging && (index.h(table.TableFoot, { key: 'bf8bfd7790f5bfbcb43d1d656fcdcc5a5776df98' }, index.h(table.TableFootRow, { key: 'fb86e28f22e368cc78d55e165ced57b2a2076dca' }, index.h(table.TableFootCell, { key: 'c5e1254f49c06c4129565422cb68ab956f420f74', colSpan: this.checkoutsTable.columnData.length }, index.h("pagination-menu", { key: '14ec42d778e22b4c8796a1895e3f7f90732da45b', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
138
140
  }
139
141
  static get watchers() { return {
140
142
  "pagingParams": ["updateOnPropChange"],
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-D-CfIyoF.js');
3
+ var index = require('./index-CWM5ions.js');
4
4
 
5
5
  const filterParamsInitialState = {};
6
6
  const propsParamsInitialState = {};
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CaAefsWD.js');
4
- var utils = require('./utils-ChCUZgUy.js');
5
- var badge = require('./badge-BJVdpSU-.js');
6
- var parts = require('./parts-9jMf1erK.js');
3
+ var index = require('./index-Bhtk1qkX.js');
4
+ var utils = require('./utils-Bab-tddY.js');
5
+ var badge = require('./badge-CE3ss_OU.js');
6
+ var parts = require('./parts-Pb06tUMp.js');
7
7
 
8
8
  const MapCheckoutStatusToBadge = (status) => {
9
9
  const statusToBadgeProps = {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-D-CfIyoF.js');
3
+ var index = require('./index-CWM5ions.js');
4
4
 
5
5
  const initialState = {
6
6
  apiOrigin: "https://wc-proxy.justifi.ai",
@@ -1,6 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CaAefsWD.js');
3
+ var index = require('./index-Bhtk1qkX.js');
4
+ var parts = require('./parts-Pb06tUMp.js');
4
5
 
5
6
  var top = 'top';
6
7
  var bottom = 'bottom';
@@ -1874,7 +1875,7 @@ const CustomPopper = class {
1874
1875
  this.hideEvent.emit();
1875
1876
  }
1876
1877
  render() {
1877
- return (index.h("div", { key: '8f01710b6c352f39b35c5814cd6a876ab7e088c5' }, index.h("style", { key: 'e1885fe648eda95a8efa50a8f6cd46a09f59cc61' }, `
1878
+ return (index.h("div", { key: '1cffb3170b4f1335737dcbb025250d69c20a94b0' }, index.h("style", { key: '9e325676460e77d3c887934f2f9c685690731eb5' }, `
1878
1879
  .popper-content {
1879
1880
  display: none;
1880
1881
  }
@@ -1882,8 +1883,27 @@ const CustomPopper = class {
1882
1883
  display: block;
1883
1884
  z-index: 1030;
1884
1885
  }
1885
- `), index.h("div", { key: 'b2d5d36d62207fceda79ad2d1d0d0680bee6a366', class: "popper-content", ref: (el) => this.popperContentRef = el }, index.h("slot", { key: '406218fe16ad4b65e3e80ca467c3c49a462dee18' }))));
1886
+ `), index.h("div", { key: '4a519440ce0d71a71b99d64bae64be06d2ab9c2f', class: "popper-content", ref: (el) => this.popperContentRef = el }, index.h("slot", { key: '99aab485a231bd1f51ef0b5465e9e00e7c8178a6' }))));
1887
+ }
1888
+ };
1889
+
1890
+ const TooltipComponent = class {
1891
+ constructor(hostRef) {
1892
+ index.registerInstance(this, hostRef);
1893
+ }
1894
+ show() {
1895
+ this.tooltip.classList.add('show');
1896
+ }
1897
+ hide() {
1898
+ this.tooltip.classList.remove('show');
1899
+ }
1900
+ render() {
1901
+ if (!this.helpText) {
1902
+ return null;
1903
+ }
1904
+ return (index.h("div", { class: "tooltip-container" }, index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "currentColor", class: "bi bi-question-square tooltip-icon", viewBox: "0 0 16 16", ref: (el) => (this.anchorIcon = el), part: parts.tooltipIcon }, index.h("path", { d: "M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2z" }), index.h("path", { d: "M5.255 5.786a.237.237 0 0 0 .241.247h.825c.138 0 .248-.113.266-.25.09-.656.54-1.134 1.342-1.134.686 0 1.314.343 1.314 1.168 0 .635-.374.927-.965 1.371-.673.489-1.206 1.06-1.168 1.987l.003.217a.25.25 0 0 0 .25.246h.811a.25.25 0 0 0 .25-.25v-.105c0-.718.273-.927 1.01-1.486.609-.463 1.244-.977 1.244-2.056 0-1.511-1.276-2.241-2.673-2.241-1.267 0-2.655.59-2.75 2.286m1.557 5.763c0 .533.425.927 1.01.927.609 0 1.028-.394 1.028-.927 0-.552-.42-.94-1.029-.94-.584 0-1.009.388-1.009.94" })), index.h("custom-popper", { trigger: "hover", placement: "top", anchorRef: this.anchorIcon }, index.h("div", { class: "tooltip bs-tooltip-top", part: parts.tooltip, role: "tooltip", ref: (el) => (this.tooltip = el) }, index.h("div", { class: "tooltip-inner", part: parts.tooltipInner }, this.helpText)))));
1886
1905
  }
1887
1906
  };
1888
1907
 
1889
1908
  exports.custom_popper = CustomPopper;
1909
+ exports.form_control_tooltip = TooltipComponent;
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var Api = require('./Api-DqzbA2qk.js');
3
+ var Api = require('./Api-CjtvTD2_.js');
4
4
  require('./ComponentError-D4OLnOkg.js');
5
- require('./Refund-BPSBtjQC.js');
5
+ require('./Refund-BnhHNKLz.js');
6
6
  require('./Pagination-Dediz133.js');
7
- require('./Business-DWHy_-z9.js');
7
+ require('./Business-DCRzZf0w.js');
8
8
  require('./Dispute-CruQTF6_.js');
9
9
 
10
10
  const api = Api.Api();
@@ -1,11 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CaAefsWD.js');
4
- var parts = require('./parts-9jMf1erK.js');
5
- var businessFormOptions = require('./business-form-options-e9UFw4P-.js');
6
- var formInputMasks = require('./form-input-masks-BnNFJ3IJ.js');
7
- var Business = require('./Business-DWHy_-z9.js');
8
- var countryConfig = require('./country-config-MCOhn8o3.js');
3
+ var index = require('./index-Bhtk1qkX.js');
4
+ var parts = require('./parts-Pb06tUMp.js');
5
+ var businessFormOptions = require('./business-form-options-CMII7nIK.js');
6
+ var formInputMasks = require('./form-input-masks-DgXd0f4V.js');
7
+ var Business = require('./Business-DCRzZf0w.js');
8
+ var helpers = require('./helpers-B5OCqlIM.js');
9
+ var stateOptions = require('./state-options-CIT9xdTz.js');
10
+ var utils = require('./utils-DAyWinG2.js');
9
11
 
10
12
  const FormAlert = class {
11
13
  constructor(hostRef) {
@@ -39,7 +41,7 @@ const AdditionalQuestions = class {
39
41
  render() {
40
42
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
41
43
  const additionalQuestionsDefaultValue = this.formController.getInitialValues().additional_questions;
42
- return (index.h(index.Host, { key: '8f51222ff2a06a8636c2252a1df25803c464cd5a' }, index.h("fieldset", { key: 'c705274cb9e5cc651f8cedb5ac23714a75dca09a' }, index.h("legend", { key: '0e865f2763c872ccd65c7d255e0a49533bf8afbe', part: parts.heading2 }, "Additional Questions"), index.h("div", { key: 'b5a9d2c8086820d837a6261c0fbbd1c4785e8cbe', class: "row gy-3" }, index.h("div", { key: 'b0174e926ef2726d9c1ce809d00cf8fef623207c', class: "col-12 col-md-6" }, index.h("form-control-monetary-provisioning", { key: '5553ed9ca690b4b7a54dfe864225fb4e10987c96', name: "business_revenue", label: "What is the business' estimated annual revenue from its primary business activities?", inputHandler: this.inputHandler, errorText: (_b = (_a = this.errors) === null || _a === void 0 ? void 0 : _a.additional_questions) === null || _b === void 0 ? void 0 : _b.business_revenue, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_revenue, maskOptions: formInputMasks.CURRENCY_MASK.WHOLE })), index.h("div", { key: 'a01e709a65772041979e7b8c057b271e26524174', class: "col-12 col-md-6" }, index.h("form-control-monetary-provisioning", { key: '2e56403c3eb357dac7f6791e0c5fa4fca58e6cfb', name: "business_payment_volume", label: "What is the business' annual credit card & ACH volume anticipated to process?", inputHandler: this.inputHandler, errorText: (_d = (_c = this.errors) === null || _c === void 0 ? void 0 : _c.additional_questions) === null || _d === void 0 ? void 0 : _d.business_payment_volume, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_payment_volume, maskOptions: formInputMasks.CURRENCY_MASK.WHOLE })), index.h("div", { key: '74318a7f6fdcc265d96827e5fb02d797631b3fd5', class: "col-12" }, index.h("form-control-select", { key: 'd166c9a1951afc9e1876d078ddc026671e8e0dcc', name: 'business_when_service_received', label: 'On average, how long after paying will your customers typically receive their goods or services?', inputHandler: this.inputHandler, errorText: (_f = (_e = this.errors) === null || _e === void 0 ? void 0 : _e.additional_questions) === null || _f === void 0 ? void 0 : _f.business_when_service_received, options: businessFormOptions.businessServiceReceivedOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_when_service_received })), index.h("div", { key: 'e47aefb3a2274244d3e2561da7cfecb203445f1e', class: "col-12" }, index.h("form-control-select", { key: '33978d0af775cace90de84104f74b2d6c22ae1c0', name: 'business_recurring_payments', label: 'Does your business offer recurring payments?', inputHandler: this.inputHandler, errorText: (_h = (_g = this.errors) === null || _g === void 0 ? void 0 : _g.additional_questions) === null || _h === void 0 ? void 0 : _h.business_recurring_payments, options: businessFormOptions.recurringPaymentsOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_recurring_payments })), index.h("div", { key: '93f996064e4055c9a81c0077a20fd878ad1a6c97', class: "col-12" }, index.h("form-control-text", { key: '68ac25357311838b8fa9a897fbb324f45f589f5f', name: 'business_recurring_payments_percentage', label: 'What percent of revenue is generated from each recurring payment type offered?', inputHandler: this.inputHandler, errorText: (_k = (_j = this.errors) === null || _j === void 0 ? void 0 : _j.additional_questions) === null || _k === void 0 ? void 0 : _k.business_recurring_payments_percentage, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_recurring_payments_percentage })), index.h("div", { key: 'f2dfe10a8ed19faa36a38a8192268813b03d454f', class: "col-12" }, index.h("form-control-select", { key: '1d6cf56564944d8dbef4f22c403232c9b7841018', name: 'business_seasonal', label: 'Is this business seasonal?', inputHandler: this.inputHandler, errorText: (_m = (_l = this.errors) === null || _l === void 0 ? void 0 : _l.additional_questions) === null || _m === void 0 ? void 0 : _m.business_seasonal, options: businessFormOptions.seasonalBusinessOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_seasonal })), index.h("div", { key: 'fe75a54400d4614fe1d3ed9099ff5a5d3822c007', class: "col-12" }, index.h("form-control-text", { key: 'aa7609f7687a5c0666bf35119cd4af7ad4e68f89', name: 'business_other_payment_details', label: 'Is there anything else you would like us to know about how your customers pay the business?', inputHandler: this.inputHandler, errorText: (_p = (_o = this.errors) === null || _o === void 0 ? void 0 : _o.additional_questions) === null || _p === void 0 ? void 0 : _p.business_other_payment_details, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_other_payment_details }))))));
44
+ return (index.h(index.Host, { key: 'e3e354a7cf470f658e0f95d37186b1f45771b673' }, index.h("fieldset", { key: '7fb001177a4f907d513eb5955063d446234ede0c' }, index.h("legend", { key: 'ee6b045a438be9f56345daad752e105640f1ca3d', part: parts.heading2 }, "Additional Questions"), index.h("div", { key: 'ed114675357f3b70c34a3eb941fdb30e6219cdc9', class: "row gy-3" }, index.h("div", { key: 'b85c27c827cf5e5d0d556c343315e5eec736f538', class: "col-12 col-md-6" }, index.h("form-control-monetary-provisioning", { key: '4576f67fa74ba7c2ca9730468ddc52b055a3c496', name: "business_revenue", label: "What is the business' estimated annual revenue from its primary business activities?", inputHandler: this.inputHandler, errorText: (_b = (_a = this.errors) === null || _a === void 0 ? void 0 : _a.additional_questions) === null || _b === void 0 ? void 0 : _b.business_revenue, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_revenue, maskOptions: formInputMasks.CURRENCY_MASK.WHOLE })), index.h("div", { key: '0614c60cc7daaf890ccb4888d41b0260a26f9a0e', class: "col-12 col-md-6" }, index.h("form-control-monetary-provisioning", { key: '2c435c1553714d75542e0e3bcf1d723f26b37da8', name: "business_payment_volume", label: "What is the business' annual credit card & ACH volume anticipated to process?", inputHandler: this.inputHandler, errorText: (_d = (_c = this.errors) === null || _c === void 0 ? void 0 : _c.additional_questions) === null || _d === void 0 ? void 0 : _d.business_payment_volume, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_payment_volume, maskOptions: formInputMasks.CURRENCY_MASK.WHOLE })), index.h("div", { key: '8d4a19eb0b6b5707f4a423543d86ae50f6492efc', class: "col-12" }, index.h("form-control-select", { key: '2e49f907bae85cd4901e4aa4413284596fbed365', name: 'business_when_service_received', label: 'On average, how long after paying will your customers typically receive their goods or services?', inputHandler: this.inputHandler, errorText: (_f = (_e = this.errors) === null || _e === void 0 ? void 0 : _e.additional_questions) === null || _f === void 0 ? void 0 : _f.business_when_service_received, options: businessFormOptions.businessServiceReceivedOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_when_service_received })), index.h("div", { key: '11bc4e0bbe2122b977cf8bc29ac0601ef941881c', class: "col-12" }, index.h("form-control-select", { key: 'c511b728971250dc3272c1ef9ff96131a9ac6a2e', name: 'business_recurring_payments', label: 'Does your business offer recurring payments?', inputHandler: this.inputHandler, errorText: (_h = (_g = this.errors) === null || _g === void 0 ? void 0 : _g.additional_questions) === null || _h === void 0 ? void 0 : _h.business_recurring_payments, options: businessFormOptions.recurringPaymentsOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_recurring_payments })), index.h("div", { key: '5a40dfe41a9fca815cdf0eb7455b41615d1e6c76', class: "col-12" }, index.h("form-control-text", { key: 'd8aaf0f6d7d44b1b15ec76af198a0117493f08c6', name: 'business_recurring_payments_percentage', label: 'What percent of revenue is generated from each recurring payment type offered?', inputHandler: this.inputHandler, errorText: (_k = (_j = this.errors) === null || _j === void 0 ? void 0 : _j.additional_questions) === null || _k === void 0 ? void 0 : _k.business_recurring_payments_percentage, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_recurring_payments_percentage })), index.h("div", { key: 'b211bb865a60baf1ea00c81f76f000ff2a31d7bd', class: "col-12" }, index.h("form-control-select", { key: '4b693e7425e690a59e2c70646cca2b886b8a8796', name: 'business_seasonal', label: 'Is this business seasonal?', inputHandler: this.inputHandler, errorText: (_m = (_l = this.errors) === null || _l === void 0 ? void 0 : _l.additional_questions) === null || _m === void 0 ? void 0 : _m.business_seasonal, options: businessFormOptions.seasonalBusinessOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_seasonal })), index.h("div", { key: 'e85b7fceb9cdc808afaf3559609b7519c9630266', class: "col-12" }, index.h("form-control-text", { key: 'ae4a6518c7499826f30376f1c902f694244059c7', name: 'business_other_payment_details', label: 'Is there anything else you would like us to know about how your customers pay the business?', inputHandler: this.inputHandler, errorText: (_p = (_o = this.errors) === null || _o === void 0 ? void 0 : _o.additional_questions) === null || _p === void 0 ? void 0 : _p.business_other_payment_details, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_other_payment_details }))))));
43
45
  }
44
46
  };
45
47
 
@@ -48,7 +50,6 @@ const BusinessCoreInfo = class {
48
50
  index.registerInstance(this, hostRef);
49
51
  this.errors = {};
50
52
  this.coreInfo = {};
51
- this.isEditingTaxId = false;
52
53
  this.inputHandler = this.inputHandler.bind(this);
53
54
  }
54
55
  componentDidLoad() {
@@ -61,12 +62,8 @@ const BusinessCoreInfo = class {
61
62
  this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { [name]: value }));
62
63
  }
63
64
  render() {
64
- var _a, _b;
65
65
  const coreInfoDefaultValue = this.formController.getInitialValues();
66
- return (index.h(index.Host, { key: 'abe85b33019341e670263a3fabefe1c73c203a12' }, index.h("fieldset", { key: '12eb6d4e78e56c8771d95e03fa7d8c4c9ea6478f' }, index.h("legend", { key: '514cb38045c7d4a4a6746a3846c84013507d0691', part: parts.heading2 }, "General Info"), index.h("div", { key: '30a509f2dd8ec2938dcc790d8891a917b76b91a0', class: "row gy-3" }, index.h("div", { key: 'ced24f46905abd380fd190bd56d56eba7ec65289', class: "col-12" }, index.h("form-control-text", { key: '26e986bef6cad147cd7e5b557e27ad8e61932e54', name: "legal_name", label: "Legal Name", defaultValue: coreInfoDefaultValue.legal_name, errorText: this.errors.legal_name, inputHandler: this.inputHandler })), index.h("div", { key: 'fabae43dc916ee087b73e366b01bc40fc29a4110', class: "col-12" }, index.h("form-control-text", { key: 'bf7e45fe95c0156c583c693006f4a65f2d1d6b1b', name: "doing_business_as", label: "Doing Business As (DBA)", defaultValue: coreInfoDefaultValue.doing_business_as, errorText: this.errors.doing_business_as, inputHandler: this.inputHandler })), index.h("div", { key: '12d52af1fb5dcef7382b8a36f44a048bcff5a752', class: "col-12 col-md-8" }, index.h("form-control-select", { key: '94ea7c2438e5fbb0b85a9df5915d78791ae026ea', name: "classification", label: "Business Classification", options: businessFormOptions.businessClassificationOptions, defaultValue: coreInfoDefaultValue.classification, errorText: this.errors.classification, inputHandler: this.inputHandler })), index.h("div", { key: '90800a655ff4470ea6de9f774dcdccc95862c821', class: "col-12 col-md-4" }, index.h("form-control-date", { key: '715436c7bf7d34ab2505b1005873ac549f351af1', name: "date_of_incorporation", label: "Date of Incorporation", defaultValue: coreInfoDefaultValue.date_of_incorporation, errorText: this.errors.date_of_incorporation, inputHandler: this.inputHandler })), index.h("div", { key: 'f4502deec218f3493210ecb6b1ad19fc7cf9f28f', class: "col-12 col-md-6" }, index.h("form-control-text", { key: '91614c8854a4b2e79fea028c1ad43ef751dacfb1', name: "industry", label: "Industry", defaultValue: coreInfoDefaultValue.industry, errorText: this.errors.industry, inputHandler: this.inputHandler })), index.h("div", { key: '9c7a45b88199e7d00673e6d569f45e2dcf3d242d', class: "col-12 col-md-6" }, (!((_a = this.coreInfo) === null || _a === void 0 ? void 0 : _a.tax_id_last4) || this.isEditingTaxId) ? (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: () => {
67
- this.isEditingTaxId = true;
68
- this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { tax_id: '' }));
69
- } }, "Change"))))), index.h("div", { key: 'd0eb145c0afde23fd1dcf7837763971b259ff260', class: "col-12" }, index.h("form-control-text", { key: '7b2d6a1558b6be6adc87ff4109bca6e9238c2ecf', name: "website_url", label: "Website URL", defaultValue: coreInfoDefaultValue.website_url, errorText: this.errors.website_url, inputHandler: this.inputHandler })), index.h("div", { key: 'eb9637448b9f9a6e4a8b8a08ad9f7f48ff56ec4f', class: "col-12 col-md-6" }, index.h("form-control-text", { key: '1f2b0ce0c7dd02485635e8f666d59cd7ec792dbc', name: "email", label: "Email Address", defaultValue: coreInfoDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), index.h("div", { key: '46fa9ad350b8482296ce0a76db841b78efb9b83b', class: "col-12 col-md-6" }, index.h("form-control-number-masked", { key: '9d4376e2e1d4372470ba8483f8fe1c0992267e38', name: "phone", label: "Phone Number", defaultValue: coreInfoDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: formInputMasks.PHONE_MASKS.US }))))));
66
+ return (index.h(index.Host, { key: '75bbee71e68fb0dafa609838f4d3e22bf4388332' }, index.h("fieldset", { key: '1e1cc71bfd46b278ad3f7d3a73d5b126fbf19533' }, index.h("legend", { key: '341b82942f116b4a2b0b29ce505fda3a153f88ec', part: parts.heading2 }, "General Info"), index.h("div", { key: 'e97b3c3a38f888795c24c887d42854c79f1f7b34', class: "row gy-3" }, index.h("div", { key: '6d560585e9843143c836a302ad83b19719732467', class: "col-12" }, index.h("form-control-text", { key: '9868049d15e3f2552feba3ff6fa6b1ab43c7ae9c', name: "legal_name", label: "Legal Name", defaultValue: coreInfoDefaultValue.legal_name, errorText: this.errors.legal_name, inputHandler: this.inputHandler })), index.h("div", { key: 'f77c1d66117c29b6f5963a99bbb531f76242d052', class: "col-12" }, index.h("form-control-text", { key: '2708d678c35d4fa9838cd3fd834c77105b94feff', 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: 'bb17f23c8f7fc1be73524dce8ed11ce9a9524a21', class: "col-12 col-md-8" }, index.h("form-control-select", { key: 'bc4175a9ed29127d89cf9c6135448c80733f6959', name: "classification", label: "Business Classification", options: businessFormOptions.businessClassificationOptions, defaultValue: coreInfoDefaultValue.classification, errorText: this.errors.classification, inputHandler: this.inputHandler })), index.h("div", { key: '6c5faad25c64ec50023be5128b8b0527584f9a7c', class: "col-12 col-md-4" }, index.h("form-control-date", { key: '54a151222d7eabc40a66ffbd5d0dba2e765cd135', 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: '5a562ba1811a319d2f5dd10197be2e1ecb94da8b', class: "col-12 col-md-6" }, index.h("form-control-text", { key: '03780a900fd4c176e5658b0784ef57eb48d2b3f7', name: "industry", label: "Industry", defaultValue: coreInfoDefaultValue.industry, errorText: this.errors.industry, inputHandler: this.inputHandler })), index.h("div", { key: '96e4110eb7b40f87a804b24a2ec94defca0be899', class: "col-12 col-md-6" }, index.h("form-control-number-masked", { key: '3cfda64e576a93bbed143b34c235b5388dade635', name: "tax_id", label: "Tax ID", defaultValue: coreInfoDefaultValue.tax_id, errorText: this.errors.tax_id, inputHandler: this.inputHandler, mask: formInputMasks.TAX_ID_MASKS.US })), index.h("div", { key: '6a6e4d87838f2666c2750662c1f031f3b8d0effe', class: "col-12" }, index.h("form-control-text", { key: '68f28a6b78e2df1cd69631097a001369722d8081', name: "website_url", label: "Website URL", defaultValue: coreInfoDefaultValue.website_url, errorText: this.errors.website_url, inputHandler: this.inputHandler })), index.h("div", { key: '8a334f64bc214d1211772e5a5018b82dadd88d1a', class: "col-12 col-md-6" }, index.h("form-control-text", { key: '639888a2d30e785e1d403830c718b7991f28285a', name: "email", label: "Email Address", defaultValue: coreInfoDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), index.h("div", { key: 'b4aac33c17ce96c5c9a9ce5a90f322f69941df5e', class: "col-12 col-md-6" }, index.h("form-control-number-masked", { key: 'c384d24cc34fefca964a5eb412b28360361ab780', name: "phone", label: "Phone Number", defaultValue: coreInfoDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: formInputMasks.PHONE_MASKS.US }))))));
70
67
  }
71
68
  };
72
69
 
@@ -75,7 +72,6 @@ const BusinessRepresentative = class {
75
72
  index.registerInstance(this, hostRef);
76
73
  this.errors = {};
77
74
  this.representative = {};
78
- this.isEditingIdentification = false;
79
75
  this.inputHandler = (name, value) => {
80
76
  this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { representative: Object.assign(Object.assign({}, this.formController.values.getValue().representative), { [name]: value }) }));
81
77
  };
@@ -83,28 +79,20 @@ const BusinessRepresentative = class {
83
79
  this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { representative: Object.assign(Object.assign({}, this.formController.values.getValue().representative), { address: Object.assign(Object.assign({}, this.formController.values.getValue().representative.address), values) }) }));
84
80
  };
85
81
  this.onDateOfBirthUpdate = (event) => {
86
- const dob_values = Business.deconstructDate(event.detail);
82
+ const dob_values = helpers.deconstructDate(event.detail);
87
83
  this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { representative: Object.assign(Object.assign({}, this.formController.values.getValue().representative), { dob_day: dob_values.dob_day, dob_month: dob_values.dob_month, dob_year: dob_values.dob_year }) }));
88
84
  };
89
85
  }
90
86
  get identificationNumberLabel() {
91
- var _a;
92
- const label = countryConfig.countryLabels[this.country].idNumberLabel;
93
- const labelOptional = countryConfig.countryLabels[this.country].idNumberLabelOptional;
94
- return ((_a = this.representative) === null || _a === void 0 ? void 0 : _a.ssn_last4) ? labelOptional : label;
87
+ return this.representative.ssn_last4 ? 'Update SSN (optional)' : 'SSN';
95
88
  }
96
89
  componentDidLoad() {
97
90
  this.formController.errors.subscribe(errors => (this.errors = Object.assign({}, errors.representative)));
98
91
  this.formController.values.subscribe(values => (this.representative = Object.assign({}, values.representative)));
99
92
  }
100
93
  render() {
101
- var _a, _b;
102
94
  const representativeDefaultValue = this.formController.getInitialValues().representative;
103
- return (index.h(index.Host, { key: '1ce133c6cf1804607b661953bb9d952e6dfdede7' }, index.h("fieldset", { key: '759e0e7adc03c8814e09effd245e7c25f9fcf536' }, index.h("legend", { key: '625eb15226d9318075c57c7e13d6b8a04686f00f', part: parts.heading2 }, "Representative"), index.h("div", { key: '8b11c10cd073c3ffcb7c52f97c463b91a5609afa', class: "row gy-3" }, index.h("div", { key: '35b0b9a741ee46dfc049ea5914dfa672e4bd64f3', class: "col-12 col-md-8" }, index.h("form-control-text", { key: '577cb8c5911c5a8364de282ca04e75b045d6de36', name: "name", label: "Full Name", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), index.h("div", { key: '3ebaa46f7045f1db417285fe3ef9c19310dbe0c6', class: "col-12 col-md-4" }, index.h("form-control-text", { key: '69eb59adf3da1d3d48b1d395badd4c76ac0d8383', name: "title", label: "Title", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.title, errorText: this.errors.title, inputHandler: this.inputHandler })), index.h("div", { key: 'd9ee1e3a4919e5d714f34ff1417677a48101166f', class: "col-12 col-md-6" }, index.h("form-control-text", { key: 'cc6c0e28dc815985be5309de33957fcd37f53b29', name: "email", label: "Email Address", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), index.h("div", { key: 'd40a0a637c921ca6e8fa4aa347369c029c4569cb', class: "col-12 col-md-6" }, index.h("form-control-number-masked", { key: 'ce15cd57570e34d14bc596c1b5f7e49d3f33ea36', name: "phone", label: "Phone Number", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: formInputMasks.PHONE_MASKS.US })), index.h("div", { key: '1504ac209231141b564412af3719b2ab6d84e553', class: "col-12 col-md-4" }, index.h("form-control-date", { key: '8fe92ed396ab947f439a04e2b67787725b393dcb', name: "dob_full", label: "Birth Date", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: this.onDateOfBirthUpdate })), index.h("div", { key: 'd8ee89f3f4124ebb222d99a9337db4be7ab7df61', 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: () => {
104
- this.isEditingIdentification = true;
105
- // Clear last4 and current value to force validation
106
- 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: '' }) }));
107
- } }, "Change"))))), index.h("div", { key: '54548bf9622fcc949ebd91db29cc8b877dd7652d', class: "col-12" }, index.h("justifi-identity-address-form", { key: '9925b7d70bceb8e3d1dafc9313673a5c8a0810a0', errors: this.errors.address, defaultValues: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate, country: this.country }))))));
95
+ return (index.h(index.Host, { key: '88bd35928331776d5cbb7d085fd55a76fde1a084' }, index.h("fieldset", { key: '202c40f332352c2f4d3c8a136888c39c67379e5f' }, index.h("legend", { key: 'a0b5043b348b1d8632a6bf0fe2d4309a8132d1f7', part: parts.heading2 }, "Representative"), index.h("div", { key: 'ba50c004e2b37f384dd8af63b1e0e397abadb9de', class: "row gy-3" }, index.h("div", { key: 'b85bf5fb0da9e8feae19dbebb0a911362e914601', class: "col-12 col-md-8" }, index.h("form-control-text", { key: '95f849c7c0ba0c67bdc0a55727e00755e03897ef', 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: '074067a3ce960b678ea38d53b84adda24e60754c', class: "col-12 col-md-4" }, index.h("form-control-text", { key: '7ef397af32b7c0f79eeae1499bf3d3d147961c96', 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: 'a26bfd8a0824aaa12c6ffa48ac58c2bccc7236ef', class: "col-12 col-md-6" }, index.h("form-control-text", { key: '39174c4b812462d1aa28824bca550e3f6e1d98b4', 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: 'ed0a2c52e4df0c43b2536dfd1ff3692a4e5716d9', class: "col-12 col-md-6" }, index.h("form-control-number-masked", { key: '07bdcc1dd2e1473b64218eb28c8cdcf1cdce2a91', 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: '96092fd371ec82a8f8ebbf8bc4e3064768d4ad97', class: "col-12 col-md-4" }, index.h("form-control-date", { key: 'c24980f126c056aff139e897fdef9795905ea89b', 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: '9d1695fa6e68bb4ae9a8184dcb5e15d588474ab8', class: "col-12 col-md-8" }, index.h("form-control-number-masked", { key: '8d8a56c08fb06f1a54baf3ee3d6e31a684205290', name: "identification_number", label: this.identificationNumberLabel, defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: formInputMasks.SSN_MASK })), index.h("div", { key: '22fa5e16517e14ab031aa5e7e95ea77bd7b28986', class: "col-12" }, index.h("justifi-identity-address-form", { key: '4a990de739a0ae6fbf1f6a621ff7c0078517e970', errors: this.errors.address, defaultValues: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate }))))));
108
96
  }
109
97
  };
110
98
 
@@ -122,9 +110,11 @@ const LegalAddressForm = class {
122
110
  this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { legal_address: Object.assign(Object.assign({}, this.formController.values.getValue().legal_address), { [name]: value }) }));
123
111
  }
124
112
  render() {
125
- var _a;
113
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
126
114
  const legalAddressDefaultValue = this.formController.getInitialValues().legal_address;
127
- return (index.h(index.Host, { key: '0e6136a175ee0bb8708d1848ad850bd973f60c4b' }, index.h("fieldset", { key: '2fcfb7b8cc1bf70157dbfaba7bb5df9ddd82454b' }, index.h("legend", { key: 'ce30f5e679113cceda046f142e01548a1db573a0', part: parts.heading2 }, "Business Legal Address"), index.h("justifi-form-address-fields", { key: 'a091d88fb62401c814458d696866de64a26a6bff', country: this.country, errors: (_a = this.errors) === null || _a === void 0 ? void 0 : _a.legal_address, defaultValues: legalAddressDefaultValue, inputHandler: this.inputHandler }))));
115
+ return (index.h(index.Host, { key: '5b21d99717f9b24c0551c7a96acf68e53e7787bf' }, index.h("fieldset", { key: 'd63cbd20b2648405c50a819724e0f8cf556f7d26' }, index.h("legend", { key: 'c0acd14073f13f914015f40d39bf22fb58792434', part: parts.heading2 }, "Business Legal Address"), index.h("div", { key: 'ee4cee6bd662816f822ee209aeda5e9664f6a64d', class: "row gy-3" }, index.h("div", { key: '86b258fd09e73cbd2475330419274732231f3871', class: "col-12" }, index.h("form-control-text", { key: '8d898a9ae448f07932afe2d8cfc2314b92d9c597', name: "line1", label: "Legal Address", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.line1, errorText: (_b = (_a = this.errors) === null || _a === void 0 ? void 0 : _a.legal_address) === null || _b === void 0 ? void 0 : _b.line1 })), index.h("div", { key: '1a50c4b86a754035f71efacd39721219fcd54d60', class: "col-12" }, index.h("form-control-text", { key: '507b1451685e359a900f0bc7010ff39e3631daf2', name: "line2", label: "Address Line 2", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.line2, errorText: (_d = (_c = this.errors) === null || _c === void 0 ? void 0 : _c.legal_address) === null || _d === void 0 ? void 0 : _d.line2 })), index.h("div", { key: '1446b4db5f86a3b18e3aceb78274ffe458dbd3db', class: "col-12" }, index.h("form-control-text", { key: 'e17e4bd95ad4290d18edde79cf05a6b3a105166c', name: "city", label: "City", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.city, errorText: (_f = (_e = this.errors) === null || _e === void 0 ? void 0 : _e.legal_address) === null || _f === void 0 ? void 0 : _f.city })), index.h("div", { key: '9b880203bad9e104e6d1299ff73c83cba46ab563', class: "col-12" }, index.h("form-control-select", { key: '24e4df10f688c9a1b5f2af5217f03919bf7abec7', name: "state", label: "State", options: stateOptions.StateOptions, inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.state, errorText: (_h = (_g = this.errors) === null || _g === void 0 ? void 0 : _g.legal_address) === null || _h === void 0 ? void 0 : _h.state })), index.h("div", { key: '71f21b19602c268e3b6a839ce41ff9d4f8ffb8c4', class: "col-12" }, index.h("form-control-text", { key: 'ca71d3e21c5a0aea5367fa28ec1a2422ba9b1cf3', name: "postal_code", label: "Postal Code", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.postal_code, errorText: (_k = (_j = this.errors) === null || _j === void 0 ? void 0 : _j.legal_address) === null || _k === void 0 ? void 0 : _k.postal_code, maxLength: 5, keyDownHandler: utils.numberOnlyHandler })), index.h("div", { key: 'aaee0bf6a24ba182e002c1ffb49736fb622cde1f', class: "col-12" }, index.h("form-control-select", { key: '2b6486771818e584dcc195c304e5a6e16850b4a9', name: "country", label: "Country", options: [{ label: 'United States', value: 'USA' }], inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.country, errorText: (_m = (_l = this.errors) === null || _l === void 0 ? void 0 : _l.legal_address) === null || _m === void 0 ? void 0 : _m.country,
116
+ // just for now so we skip handling country specificities
117
+ disabled: true }))))));
128
118
  }
129
119
  };
130
120
 
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CaAefsWD.js');
4
- var parts = require('./parts-9jMf1erK.js');
5
- var formControlHelpText = require('./form-control-help-text-DII6UDeq.js');
6
- var formControlErrorText = require('./form-control-error-text-DJzNQrEz.js');
3
+ var index = require('./index-Bhtk1qkX.js');
4
+ var parts = require('./parts-Pb06tUMp.js');
5
+ var formControlHelpText = require('./form-control-help-text-DEi5vSjN.js');
6
+ var formControlErrorText = require('./form-control-error-text-BnMWn8U_.js');
7
7
  require('./event-types-YOY5TKUN.js');
8
8
 
9
9
  const CheckboxInput = class {
@@ -39,10 +39,10 @@ const CheckboxInput = class {
39
39
  return parts.inputCheckbox;
40
40
  }
41
41
  render() {
42
- return (index.h(index.Host, { key: 'b9f175598599477e4eab8b690e414539421368c9' }, index.h("div", { key: 'd775d704b4ec7d43ce3b973b38dfe145b99bc6b9', class: 'form-group d-flex flex-column' }, index.h("div", { key: '0c7b3e3a405f967914e270f84e9625074fb1fb05', class: "form-check" }, index.h("input", { key: '7cc316c6069fd7ca174a0f41c5e564f68147099d', ref: el => (this.checkboxElement = el), type: "checkbox", id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
42
+ return (index.h(index.Host, { key: '5f005eb28eba876fdb960c1f2f1dcde88eb3301e' }, index.h("div", { key: '09ee456c7f4339129b7b8b6a3988e460729a1b63', class: 'form-group d-flex flex-column' }, index.h("div", { key: '37ed948a6a54b5274416183130718d4edb5a0438', class: "form-check" }, index.h("input", { key: 'd787cb203ba00e73e802b9d4fb19176b3b773ada', ref: el => (this.checkboxElement = el), type: "checkbox", id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
43
43
  this.isFocused = false;
44
44
  this.formControlBlur.emit();
45
- }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, checked: this.checked }), index.h("label", { key: '329eaefa881d6b6b15fe1aa910d605c3a81b1eac', class: "form-check-label", htmlFor: this.name, part: parts.label }, this.label)), index.h(formControlHelpText.FormControlHelpText, { key: '0f2acd28cbd742726c50eac743bf96acaed8b9d3', helpText: this.helpText, name: this.name }), index.h(formControlErrorText.FormControlErrorText, { key: 'c9837469aeb10591668c1e3d3db1e97047ac1bc1', errorText: this.errorText, name: this.name }))));
45
+ }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, checked: this.checked }), index.h("label", { key: '46548faac2cfe3d43ac71a68616ae3fb2d496d03', class: "form-check-label", htmlFor: this.name, part: parts.label }, this.label)), index.h(formControlHelpText.FormControlHelpText, { key: 'ac4d887f51e5a32bed3b57053f4fbdbff5bac22d', helpText: this.helpText, name: this.name }), index.h(formControlErrorText.FormControlErrorText, { key: '4e4274031280fe30b9b3c8089aa0b313ff2308c9', errorText: this.errorText, name: this.name }))));
46
46
  }
47
47
  };
48
48