@justifi/webcomponents 6.7.2 → 6.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (732) hide show
  1. package/dist/cjs/{Api-QUTWjGTy.js → Api-CVbEWBG6.js} +1 -1
  2. package/dist/cjs/{Business-DWHy_-z9.js → Business-uoeKyW_a.js} +5 -0
  3. package/dist/cjs/{GooglePay-BwiJ_80p.js → GooglePay-CbKCUEfb.js} +1 -1
  4. package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -3
  5. package/dist/cjs/{badge-Cc87HAsf.js → badge-DkOPisAV.js} +2 -2
  6. package/dist/cjs/bank-account-document-form-inputs_8.cjs.entry.js +29 -26
  7. package/dist/cjs/bank-account-form.cjs.entry.js +7 -7
  8. package/dist/cjs/{business-additional-questions-schema-Y1mXnwUT.js → business-additional-questions-schema-BtOuMq_U.js} +5 -3
  9. package/dist/cjs/business-details-core.cjs.entry.js +7 -7
  10. package/dist/cjs/{business-form-options-e9UFw4P-.js → business-form-options-D1r-wJpo.js} +1 -1
  11. package/dist/cjs/{business-identity-schema-D_OO0Suf.js → business-identity-schema-CMvq6f8m.js} +6 -2
  12. package/dist/cjs/{business.service-q93NsTG_.js → business.service-DR4Ce5XV.js} +3 -3
  13. package/dist/cjs/{button-fUPGXjU_.js → button-C2p1BMP-.js} +2 -2
  14. package/dist/cjs/card-form.cjs.entry.js +7 -7
  15. package/dist/cjs/{check-pkg-version-BG-Rfkh5.js → check-pkg-version-Bs_9oZb4.js} +4 -4
  16. package/dist/cjs/{checkout.service-CwelwhrT.js → checkout.service-CQqd4X4y.js} +3 -3
  17. package/dist/cjs/checkouts-list-core.cjs.entry.js +14 -14
  18. package/dist/cjs/{payments-list-params-state-DfZySwaC.js → checkouts-list-params-state-vGJZ6Oe2.js} +1 -1
  19. package/dist/cjs/{checkouts-table-BBtqxG2F.js → checkouts-table-DftTbgXr.js} +3 -3
  20. package/dist/cjs/{config-state-CYoBVAca.js → config-state-BIgGhhe9.js} +1 -1
  21. package/dist/cjs/{country-config-MCOhn8o3.js → country-config-DGi9t3Ma.js} +1 -1
  22. package/dist/cjs/custom-popper_2.cjs.entry.js +6 -6
  23. package/dist/cjs/{dispute.service-q5ha39uN.js → dispute.service-aok1_zRv.js} +3 -3
  24. package/dist/cjs/form-alert_5.cjs.entry.js +11 -11
  25. package/dist/cjs/form-control-checkbox.cjs.entry.js +11 -8
  26. package/dist/cjs/form-control-date.cjs.entry.js +7 -7
  27. package/dist/cjs/{form-control-error-text-Dg_65HGK.js → form-control-error-text-BC5aRpfl.js} +2 -2
  28. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +17 -10
  29. package/dist/cjs/{form-control-help-text-tB5u1-5M.js → form-control-help-text-B2yMic8i.js} +2 -2
  30. package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
  31. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +12 -8
  32. package/dist/cjs/form-control-monetary.cjs.entry.js +8 -8
  33. package/dist/cjs/form-control-number-masked_3.cjs.entry.js +13 -11
  34. package/dist/cjs/{owner-form-core_2.cjs.entry.js → form-control-number_3.cjs.entry.js} +71 -18
  35. package/dist/cjs/form-control-radio.cjs.entry.js +9 -6
  36. package/dist/cjs/form-control-select_2.cjs.entry.js +11 -11
  37. package/dist/cjs/{get-business-D9ZHyPem.js → get-business-CtsxSYA6.js} +1 -1
  38. package/dist/cjs/{get-payment-details-DidIAK2i.js → get-payment-details-tCICJHBb.js} +3 -3
  39. package/dist/cjs/{get-subaccounts-BE_wcfM7.js → get-subaccounts-BcsCQAVN.js} +4 -4
  40. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +6 -6
  41. package/dist/cjs/{header-1-Bqejh9no.js → header-1-B-nd_U7n.js} +2 -2
  42. package/dist/cjs/{header-3-DQ649Me2.js → header-3--BEJGMFA.js} +2 -2
  43. package/dist/cjs/hidden-input_2.cjs.entry.js +10 -10
  44. package/dist/cjs/{index-mmd0OhmD.js → index-W-zoNiyM.js} +90 -21
  45. package/dist/cjs/index-p7cvUYAE.js +4450 -0
  46. package/dist/cjs/{input-handlers-D6QMwPTB.js → input-handlers-DaRKFvGI.js} +1 -1
  47. package/dist/cjs/{insurance-state-DsGnIHMM.js → insurance-state-CiVJ5e26.js} +3 -3
  48. package/dist/cjs/internal-tokenize-payment-method_7.cjs.entry.js +23 -23
  49. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +78 -57
  50. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +10 -10
  51. package/dist/cjs/justifi-apple-pay_8.cjs.entry.js +34 -34
  52. package/dist/cjs/justifi-bank-account-billing-form-simple_3.cjs.entry.js +10 -10
  53. package/dist/cjs/justifi-business-details.cjs.entry.js +13 -13
  54. package/dist/cjs/justifi-business-form.cjs.entry.js +22 -22
  55. package/dist/cjs/justifi-checkout.cjs.entry.js +15 -15
  56. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +10 -10
  57. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +16 -16
  58. package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
  59. package/dist/cjs/justifi-details.cjs.entry.js +4 -4
  60. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +3 -3
  61. package/dist/cjs/justifi-dispute-management.cjs.entry.js +11 -11
  62. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +25 -25
  63. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +11 -11
  64. package/dist/cjs/justifi-order-terminals.cjs.entry.js +17 -17
  65. package/dist/cjs/justifi-payment-details.cjs.entry.js +14 -14
  66. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +23 -11
  67. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +11 -11
  68. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +16 -16
  69. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +7 -7
  70. package/dist/cjs/justifi-payments-list.cjs.entry.js +16 -16
  71. package/dist/cjs/justifi-payout-details.cjs.entry.js +12 -12
  72. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +16 -16
  73. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +7 -7
  74. package/dist/cjs/justifi-payouts-list.cjs.entry.js +17 -17
  75. package/dist/cjs/justifi-refund-payment.cjs.entry.js +16 -16
  76. package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +4 -4
  77. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +14 -14
  78. package/dist/cjs/justifi-skeleton.cjs.entry.js +5 -5
  79. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +10 -10
  80. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +14 -14
  81. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +9 -9
  82. package/dist/cjs/justifi-terminals-list.cjs.entry.js +16 -16
  83. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +2 -2
  84. package/dist/cjs/loader.cjs.js +2 -2
  85. package/dist/cjs/{package-Df5lTFe6.js → package-DcGEg97O.js} +1 -1
  86. package/dist/cjs/pagination-menu.cjs.entry.js +2 -2
  87. package/dist/cjs/{parts-BVbaniVM.js → parts-BsBVknuf.js} +1 -0
  88. package/dist/cjs/payment-details-core.cjs.entry.js +20 -20
  89. package/dist/cjs/payment-method-option.cjs.entry.js +4 -4
  90. package/dist/cjs/payment-provisioning-loading-B3hvtd9o.js +12 -0
  91. package/dist/cjs/{payment.service-CyHFdJ7n.js → payment.service-B4ACB8Q3.js} +3 -3
  92. package/dist/cjs/payments-list-core.cjs.entry.js +15 -15
  93. package/dist/cjs/{payouts-list-params-state-DfZySwaC.js → payments-list-params-state-vGJZ6Oe2.js} +1 -1
  94. package/dist/cjs/{payments-status-BP4u31jU.js → payments-status-BAR25wA6.js} +2 -2
  95. package/dist/cjs/{payments-table-CWXVhECV.js → payments-table-BLJ54fGU.js} +3 -3
  96. package/dist/cjs/payout-details-core.cjs.entry.js +13 -13
  97. package/dist/cjs/{payout.service-Half-hdB.js → payout.service-qVbNnemO.js} +3 -3
  98. package/dist/cjs/payouts-list-core.cjs.entry.js +15 -15
  99. package/dist/cjs/{checkouts-list-params-state-DfZySwaC.js → payouts-list-params-state-vGJZ6Oe2.js} +1 -1
  100. package/dist/cjs/{payouts-status-CM5Zy-0J.js → payouts-status-uZAaS1RP.js} +2 -2
  101. package/dist/cjs/{payouts-table-ZLTcfkUm.js → payouts-table-C4jZJ8rq.js} +3 -3
  102. package/dist/cjs/{schema-validations-Bf2mk2xU.js → schema-validations-DYYDrVol.js} +19 -3
  103. package/dist/cjs/{skeleton-B8dzxFFr.js → skeleton-BGGMhPJj.js} +2 -2
  104. package/dist/cjs/{spinner-jHyLNCGO.js → spinner-CV2CNXOQ.js} +2 -2
  105. package/dist/cjs/{styled-host-D5g7INLE.js → styled-host-DAi5SuFa.js} +1 -1
  106. package/dist/cjs/{table-CrtpRwGN.js → table-eTN_pRIP.js} +3 -3
  107. package/dist/cjs/table-filters-menu.cjs.entry.js +4 -4
  108. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +14 -14
  109. package/dist/cjs/{terminal-orders-list-params-state-DfZySwaC.js → terminal-orders-list-params-state-vGJZ6Oe2.js} +1 -1
  110. package/dist/cjs/{terminal-orders-table-DT53anT3.js → terminal-orders-table-C2jG4WQa.js} +6 -6
  111. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +4 -4
  112. package/dist/cjs/{terminal.service-CFt55QNO.js → terminal.service-D1ohedi-.js} +3 -3
  113. package/dist/cjs/terminals-list-core.cjs.entry.js +14 -14
  114. package/dist/cjs/terminals-list-params-state-vGJZ6Oe2.js +22 -0
  115. package/dist/cjs/{terminals-table-DahpSz98.js → terminals-table-DZz8k4tP.js} +3 -3
  116. package/dist/cjs/{utils-CMiA4X7s.js → utils-T6hRmGuY.js} +2 -2
  117. package/dist/cjs/webcomponents.cjs.js +30 -3
  118. package/dist/collection/api/Business.js +2 -0
  119. package/dist/collection/api/Identity.js +3 -0
  120. package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +1 -1
  121. package/dist/collection/components/business-details/business-details-core.js +2 -2
  122. package/dist/collection/components/business-details/business-details.js +2 -2
  123. package/dist/collection/components/business-details/core-info-details/core-info-details.js +1 -1
  124. package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +1 -1
  125. package/dist/collection/components/business-details/owner-details/owner-details.js +1 -1
  126. package/dist/collection/components/business-details/representative-details/representative-details.js +1 -1
  127. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +2 -2
  128. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +4 -4
  129. package/dist/collection/components/business-forms/business-form/business-form.js +2 -2
  130. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +4 -4
  131. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +3 -3
  132. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +5 -5
  133. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +6 -6
  134. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +7 -7
  135. package/dist/collection/components/business-forms/owner-form/owner-form.js +4 -4
  136. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +4 -4
  137. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +4 -4
  138. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.js +5 -5
  139. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +5 -5
  140. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.js +2 -2
  141. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +3 -3
  142. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +3 -3
  143. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +35 -7
  144. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +6 -6
  145. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +2 -2
  146. package/dist/collection/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.js +4 -4
  147. package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +19 -11
  148. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +2 -2
  149. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +20 -8
  150. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +7 -7
  151. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +6 -6
  152. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +3 -3
  153. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +3 -3
  154. package/dist/collection/components/business-forms/schemas/business-additional-questions-schema.js +2 -0
  155. package/dist/collection/components/business-forms/schemas/business-identity-schema.js +5 -1
  156. package/dist/collection/components/business-forms/schemas/schema-validations.js +15 -0
  157. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
  158. package/dist/collection/components/checkout/card-form/card-form.js +2 -2
  159. package/dist/collection/components/checkout/checkout.js +23 -4
  160. package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
  161. package/dist/collection/components/checkout/saved-payment-method.js +3 -3
  162. package/dist/collection/components/checkouts-list/checkouts-list-core.js +4 -4
  163. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +2 -2
  164. package/dist/collection/components/checkouts-list/checkouts-list.js +3 -3
  165. package/dist/collection/components/dispute-management/dispute-management-core.js +4 -4
  166. package/dist/collection/components/dispute-management/dispute-management.js +3 -3
  167. package/dist/collection/components/dispute-management/dispute-notification.js +5 -5
  168. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +2 -2
  169. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +2 -2
  170. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +2 -2
  171. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  172. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +4 -4
  173. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +2 -2
  174. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +2 -2
  175. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +2 -2
  176. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +2 -2
  177. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +2 -2
  178. package/dist/collection/components/filters/table-filters-menu.js +3 -3
  179. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +2 -2
  180. package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +2 -2
  181. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +7 -7
  182. package/dist/collection/components/modular-checkout/modular-checkout.js +3 -3
  183. package/dist/collection/components/modular-checkout/sub-components/apple-pay.js +3 -0
  184. package/dist/collection/components/modular-checkout/sub-components/bank-account-billing-form-simple.js +1 -1
  185. package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
  186. package/dist/collection/components/modular-checkout/sub-components/card-billing-form-simple.js +1 -1
  187. package/dist/collection/components/modular-checkout/sub-components/card-form.js +2 -2
  188. package/dist/collection/components/modular-checkout/sub-components/google-pay.js +2 -2
  189. package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +6 -6
  190. package/dist/collection/components/modular-checkout/sub-components/summary.js +1 -1
  191. package/dist/collection/components/order-terminals/order-terminals.js +4 -4
  192. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +5 -5
  193. package/dist/collection/components/payment-details/payment-details-core.js +9 -9
  194. package/dist/collection/components/payment-details/payment-details.js +2 -2
  195. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +3 -3
  196. package/dist/collection/components/payments-list/payments-list-core.js +3 -3
  197. package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
  198. package/dist/collection/components/payments-list/payments-list.js +3 -3
  199. package/dist/collection/components/payout-details/payout-details-core.js +5 -5
  200. package/dist/collection/components/payout-details/payout-details.js +2 -2
  201. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +3 -3
  202. package/dist/collection/components/payouts-list/payouts-list-core.js +5 -5
  203. package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
  204. package/dist/collection/components/payouts-list/payouts-list.js +3 -3
  205. package/dist/collection/components/refund-payment/refund-payment.js +3 -3
  206. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +3 -3
  207. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
  208. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +3 -3
  209. package/dist/collection/components/terminals-list/terminals-list-core.js +4 -4
  210. package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
  211. package/dist/collection/components/terminals-list/terminals-list.js +3 -3
  212. package/dist/collection/components/tokenize-payment-method/internal-tokenize-payment-method.js +1 -1
  213. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +1 -1
  214. package/dist/collection/ui-components/custom-popper/custom-popper.js +3 -3
  215. package/dist/collection/ui-components/details/details.js +2 -2
  216. package/dist/collection/ui-components/form/form-control-checkbox.js +16 -10
  217. package/dist/collection/ui-components/form/form-control-date.js +5 -5
  218. package/dist/collection/ui-components/form/form-control-file-v2.js +16 -8
  219. package/dist/collection/ui-components/form/form-control-file.js +16 -10
  220. package/dist/collection/ui-components/form/form-control-monetary.js +5 -5
  221. package/dist/collection/ui-components/form/form-control-number-masked.js +14 -10
  222. package/dist/collection/ui-components/form/form-control-number.js +10 -8
  223. package/dist/collection/ui-components/form/form-control-radio.js +18 -12
  224. package/dist/collection/ui-components/form/form-control-select.js +6 -6
  225. package/dist/collection/ui-components/form/form-control-text.js +5 -5
  226. package/dist/collection/ui-components/form/form-control-textarea.js +19 -11
  227. package/dist/collection/ui-components/form/form-helpers/form-alert/form-alert.js +2 -2
  228. package/dist/collection/ui-components/form/form-helpers/form-control-help-text/form-control-help-text.js +2 -2
  229. package/dist/collection/ui-components/form/form-helpers/form-control-tooltip/form-control-tooltip.js +1 -1
  230. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  231. package/dist/collection/ui-components/form/iframe-input.js +6 -6
  232. package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
  233. package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +2 -2
  234. package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
  235. package/dist/docs.json +577 -277
  236. package/dist/esm/{Api-Dln8a6No.js → Api-ohkSjyhl.js} +1 -1
  237. package/dist/esm/{Business-B5rtFhtR.js → Business-CHJTjG_5.js} +5 -0
  238. package/dist/esm/{GooglePay-NNHE-OLJ.js → GooglePay-5EiPffHy.js} +1 -1
  239. package/dist/esm/additional-questions-details_5.entry.js +3 -3
  240. package/dist/esm/{badge-DtrH25ss.js → badge-BW9VFFkp.js} +2 -2
  241. package/dist/esm/bank-account-document-form-inputs_8.entry.js +29 -26
  242. package/dist/esm/bank-account-form.entry.js +7 -7
  243. package/dist/esm/{business-additional-questions-schema-woG5-pgK.js → business-additional-questions-schema-DQb10ehS.js} +5 -3
  244. package/dist/esm/business-details-core.entry.js +7 -7
  245. package/dist/esm/{business-form-options-D6s5H4RI.js → business-form-options-Bm89rMmk.js} +1 -1
  246. package/dist/esm/{business-identity-schema-B7VTDF4j.js → business-identity-schema-CaMnpPqx.js} +7 -3
  247. package/dist/esm/{business.service-BrUSam2T.js → business.service-C7smiL6_.js} +3 -3
  248. package/dist/esm/{button-Bpf3VX8Q.js → button-DMeChykB.js} +2 -2
  249. package/dist/esm/card-form.entry.js +7 -7
  250. package/dist/esm/{check-pkg-version-c_8fDHCB.js → check-pkg-version-DIZ2yD72.js} +4 -4
  251. package/dist/esm/{checkout.service-Bxt1qPaY.js → checkout.service-CYq6KXZv.js} +3 -3
  252. package/dist/esm/checkouts-list-core.entry.js +14 -14
  253. package/dist/esm/{checkouts-list-params-state-gllzDQAb.js → checkouts-list-params-state-CiGfmyWW.js} +1 -1
  254. package/dist/esm/{checkouts-table-CB4GdlcZ.js → checkouts-table-B9YTe5fJ.js} +3 -3
  255. package/dist/esm/{config-state-C2NXATwF.js → config-state-kKn89dp1.js} +1 -1
  256. package/dist/esm/{country-config-BQ4D46Lb.js → country-config-CQxaTFuP.js} +1 -1
  257. package/dist/esm/custom-popper_2.entry.js +6 -6
  258. package/dist/esm/{dispute.service-DYRYxxaT.js → dispute.service-D7Dv8LTn.js} +3 -3
  259. package/dist/esm/form-alert_5.entry.js +11 -11
  260. package/dist/esm/form-control-checkbox.entry.js +11 -8
  261. package/dist/esm/form-control-date.entry.js +7 -7
  262. package/dist/esm/{form-control-error-text-BZYykCDp.js → form-control-error-text-CTQxgr7_.js} +2 -2
  263. package/dist/esm/form-control-file-v2_2.entry.js +17 -10
  264. package/dist/esm/{form-control-help-text-D-p66Yxr.js → form-control-help-text-B-aaeX6n.js} +2 -2
  265. package/dist/esm/form-control-help-text.entry.js +1 -1
  266. package/dist/esm/form-control-monetary-provisioning.entry.js +12 -8
  267. package/dist/esm/form-control-monetary.entry.js +8 -8
  268. package/dist/esm/form-control-number-masked_3.entry.js +13 -11
  269. package/dist/esm/{owner-form-core_2.entry.js → form-control-number_3.entry.js} +71 -19
  270. package/dist/esm/form-control-radio.entry.js +9 -6
  271. package/dist/esm/form-control-select_2.entry.js +11 -11
  272. package/dist/esm/{get-business-Xt7B5dSo.js → get-business-BAmwId14.js} +1 -1
  273. package/dist/esm/{get-payment-details-BJ1PLhJZ.js → get-payment-details-CPJZp31y.js} +3 -3
  274. package/dist/esm/{get-subaccounts-CzGHjlUF.js → get-subaccounts-CqMFocN0.js} +4 -4
  275. package/dist/esm/gross-payment-chart-core.entry.js +6 -6
  276. package/dist/esm/{header-1-WwkF5F9y.js → header-1-DFMANSXo.js} +2 -2
  277. package/dist/esm/{header-3-C5jS39cE.js → header-3-Ck64YtdM.js} +2 -2
  278. package/dist/esm/hidden-input_2.entry.js +10 -10
  279. package/dist/esm/index-CV0Pyo1O.js +4434 -0
  280. package/dist/esm/{index-B-fWxE5e.js → index-cDVGjRkU.js} +90 -21
  281. package/dist/esm/{input-handlers-D3y0TzH9.js → input-handlers-AgwQ-yKX.js} +1 -1
  282. package/dist/esm/{insurance-state-C11WKZU6.js → insurance-state-DQ3xzFpR.js} +3 -3
  283. package/dist/esm/internal-tokenize-payment-method_7.entry.js +23 -23
  284. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +72 -51
  285. package/dist/esm/justifi-additional-statement_8.entry.js +10 -10
  286. package/dist/esm/justifi-apple-pay_8.entry.js +34 -34
  287. package/dist/esm/justifi-bank-account-billing-form-simple_3.entry.js +10 -10
  288. package/dist/esm/justifi-business-details.entry.js +13 -13
  289. package/dist/esm/justifi-business-form.entry.js +22 -22
  290. package/dist/esm/justifi-checkout.entry.js +15 -15
  291. package/dist/esm/justifi-checkouts-list-filters.entry.js +10 -10
  292. package/dist/esm/justifi-checkouts-list.entry.js +16 -16
  293. package/dist/esm/justifi-config-provider.entry.js +3 -3
  294. package/dist/esm/justifi-details.entry.js +4 -4
  295. package/dist/esm/justifi-dispute-management-core.entry.js +3 -3
  296. package/dist/esm/justifi-dispute-management.entry.js +11 -11
  297. package/dist/esm/justifi-dispute-notification_3.entry.js +25 -25
  298. package/dist/esm/justifi-gross-payment-chart.entry.js +11 -11
  299. package/dist/esm/justifi-order-terminals.entry.js +17 -17
  300. package/dist/esm/justifi-payment-details.entry.js +14 -14
  301. package/dist/esm/justifi-payment-provisioning-core.entry.js +23 -11
  302. package/dist/esm/justifi-payment-provisioning.entry.js +11 -11
  303. package/dist/esm/justifi-payment-transactions-list.entry.js +16 -16
  304. package/dist/esm/justifi-payments-list-filters.entry.js +7 -7
  305. package/dist/esm/justifi-payments-list.entry.js +16 -16
  306. package/dist/esm/justifi-payout-details.entry.js +12 -12
  307. package/dist/esm/justifi-payout-transactions-list.entry.js +16 -16
  308. package/dist/esm/justifi-payouts-list-filters.entry.js +7 -7
  309. package/dist/esm/justifi-payouts-list.entry.js +17 -17
  310. package/dist/esm/justifi-refund-payment.entry.js +16 -16
  311. package/dist/esm/justifi-saved-payment-method.entry.js +4 -4
  312. package/dist/esm/justifi-season-interruption-insurance.entry.js +14 -14
  313. package/dist/esm/justifi-skeleton.entry.js +5 -5
  314. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +10 -10
  315. package/dist/esm/justifi-terminal-orders-list.entry.js +14 -14
  316. package/dist/esm/justifi-terminals-list-filters.entry.js +9 -9
  317. package/dist/esm/justifi-terminals-list.entry.js +16 -16
  318. package/dist/esm/justifi-tokenize-payment-method.entry.js +2 -2
  319. package/dist/esm/loader.js +3 -3
  320. package/dist/esm/{package-BzT9OxlN.js → package-ZkBwsSuI.js} +1 -1
  321. package/dist/esm/pagination-menu.entry.js +2 -2
  322. package/dist/esm/{parts-sA8HBfkI.js → parts-DrquDBSk.js} +1 -1
  323. package/dist/esm/payment-details-core.entry.js +20 -20
  324. package/dist/esm/payment-method-option.entry.js +4 -4
  325. package/dist/esm/payment-provisioning-loading-DU0pNyqx.js +10 -0
  326. package/dist/esm/{payment.service-BoGemgMw.js → payment.service-BGf8F56_.js} +3 -3
  327. package/dist/esm/payments-list-core.entry.js +15 -15
  328. package/dist/esm/{payments-list-params-state-gllzDQAb.js → payments-list-params-state-CiGfmyWW.js} +1 -1
  329. package/dist/esm/{payments-status-CADg1cD0.js → payments-status-Bn-MvMcF.js} +2 -2
  330. package/dist/esm/{payments-table-C6zHWwGO.js → payments-table-CF3_zGnh.js} +3 -3
  331. package/dist/esm/payout-details-core.entry.js +13 -13
  332. package/dist/esm/{payout.service-BSG50wqN.js → payout.service-Co3xg-7j.js} +3 -3
  333. package/dist/esm/payouts-list-core.entry.js +15 -15
  334. package/dist/esm/{payouts-list-params-state-gllzDQAb.js → payouts-list-params-state-CiGfmyWW.js} +1 -1
  335. package/dist/esm/{payouts-status-4VDQvaYV.js → payouts-status-ehZrz-Xx.js} +2 -2
  336. package/dist/esm/{payouts-table-BU5XbzB9.js → payouts-table-CGZJfsje.js} +3 -3
  337. package/dist/esm/{schema-validations-iamDi5JD.js → schema-validations-jBrJ0mYI.js} +19 -4
  338. package/dist/esm/{skeleton-Dtt56Fl3.js → skeleton-D9UXuoik.js} +2 -2
  339. package/dist/esm/{spinner-DikooWuI.js → spinner-ACMfJh3a.js} +2 -2
  340. package/dist/esm/{styled-host-DhOcKWqZ.js → styled-host-D6byRazK.js} +1 -1
  341. package/dist/esm/{table-1hqe6s5m.js → table-BbMG2jg9.js} +3 -3
  342. package/dist/esm/table-filters-menu.entry.js +4 -4
  343. package/dist/esm/terminal-orders-list-core.entry.js +14 -14
  344. package/dist/esm/{terminal-orders-list-params-state-gllzDQAb.js → terminal-orders-list-params-state-CiGfmyWW.js} +1 -1
  345. package/dist/esm/{terminal-orders-table-BsVBelxB.js → terminal-orders-table-uNYLd8i5.js} +6 -6
  346. package/dist/esm/terminal-quantity-selector.entry.js +4 -4
  347. package/dist/esm/{terminal.service-YKfi6Mr9.js → terminal.service-Cxs-IO0Z.js} +3 -3
  348. package/dist/esm/terminals-list-core.entry.js +14 -14
  349. package/dist/esm/terminals-list-params-state-CiGfmyWW.js +16 -0
  350. package/dist/esm/{terminals-table-CXJTn-0I.js → terminals-table-B-7FR4ug.js} +3 -3
  351. package/dist/esm/{utils-CgFsPVsv.js → utils-DhCv62Pi.js} +2 -2
  352. package/dist/esm/webcomponents.js +31 -4
  353. package/dist/module/Business.js +5 -0
  354. package/dist/module/additional-questions.js +1 -1
  355. package/dist/module/additional-statement.js +2 -2
  356. package/dist/module/bank-account-billing-form-simple.js +1 -1
  357. package/dist/module/bank-account-document-inputs.js +1 -1
  358. package/dist/module/bank-account-form-inputs-canada2.js +1 -1
  359. package/dist/module/bank-account-form-inputs2.js +1 -1
  360. package/dist/module/bank-account-form.js +2 -2
  361. package/dist/module/bank-account-read-only-value2.js +1 -1
  362. package/dist/module/bank-account.js +2 -2
  363. package/dist/module/business-additional-questions-form-step.js +2 -2
  364. package/dist/module/business-additional-questions-schema.js +3 -1
  365. package/dist/module/business-address-schema.js +1 -1
  366. package/dist/module/business-bank-account-form-step.js +1 -1
  367. package/dist/module/business-core-info.js +2 -2
  368. package/dist/module/business-details-core2.js +1 -1
  369. package/dist/module/business-identity-schema.js +5 -1
  370. package/dist/module/business-owners-form-step.js +41 -7
  371. package/dist/module/business-representative-form-inputs.js +2 -2
  372. package/dist/module/business-representative.js +2 -2
  373. package/dist/module/business-terms-conditions-form-step.js +1 -1
  374. package/dist/module/button.js +1 -1
  375. package/dist/module/cancellation-policy.js +2 -2
  376. package/dist/module/card-billing-form-simple.js +1 -1
  377. package/dist/module/card-form.js +2 -2
  378. package/dist/module/card-form2.js +2 -2
  379. package/dist/module/checkouts-list-core2.js +2 -2
  380. package/dist/module/custom-popper2.js +2 -2
  381. package/dist/module/customer-details.js +2 -2
  382. package/dist/module/details.js +1 -1
  383. package/dist/module/dispute-management-core.js +1 -1
  384. package/dist/module/dispute-notification.js +3 -3
  385. package/dist/module/dispute-response-core.js +2 -2
  386. package/dist/module/dispute-response.js +1 -1
  387. package/dist/module/duplicate-charge.js +2 -2
  388. package/dist/module/electronic-evidence.js +2 -2
  389. package/dist/module/form-address-fields.js +1 -1
  390. package/dist/module/form-control-checkbox2.js +5 -2
  391. package/dist/module/form-control-date2.js +2 -2
  392. package/dist/module/form-control-file-v22.js +4 -1
  393. package/dist/module/form-control-file2.js +5 -2
  394. package/dist/module/form-control-monetary-provisioning2.js +6 -2
  395. package/dist/module/form-control-monetary2.js +2 -2
  396. package/dist/module/form-control-number-masked2.js +4 -2
  397. package/dist/module/form-control-number.js +1 -84
  398. package/dist/module/form-control-number2.js +87 -0
  399. package/dist/module/form-control-radio2.js +5 -2
  400. package/dist/module/form-control-select2.js +2 -2
  401. package/dist/module/form-control-text2.js +2 -2
  402. package/dist/module/form-control-textarea2.js +6 -2
  403. package/dist/module/google-pay.js +2 -2
  404. package/dist/module/gross-payment-chart-core2.js +1 -1
  405. package/dist/module/hidden-input2.js +1 -1
  406. package/dist/module/identity-address-form.js +1 -1
  407. package/dist/module/iframe-input2.js +3 -3
  408. package/dist/module/index2.js +90 -21
  409. package/dist/module/internal-tokenize-payment-method2.js +1 -1
  410. package/dist/module/justifi-button2.js +1 -1
  411. package/dist/module/justifi-checkout.js +3 -3
  412. package/dist/module/justifi-checkouts-list-filters.js +3 -3
  413. package/dist/module/justifi-checkouts-list.js +1 -1
  414. package/dist/module/justifi-dispute-management.js +1 -1
  415. package/dist/module/justifi-header2.js +1 -1
  416. package/dist/module/justifi-order-terminals.js +2 -2
  417. package/dist/module/justifi-payment-provisioning.js +27 -21
  418. package/dist/module/justifi-payment-transactions-list.js +2 -2
  419. package/dist/module/justifi-payments-list-filters.js +3 -3
  420. package/dist/module/justifi-payments-list.js +1 -1
  421. package/dist/module/justifi-payout-transactions-list.js +2 -2
  422. package/dist/module/justifi-payouts-list-filters.js +3 -3
  423. package/dist/module/justifi-payouts-list.js +1 -1
  424. package/dist/module/justifi-saved-payment-method.js +1 -1
  425. package/dist/module/justifi-skeleton.js +1 -1
  426. package/dist/module/justifi-terminal-orders-list-filters.js +3 -3
  427. package/dist/module/justifi-terminal-orders-list.js +1 -1
  428. package/dist/module/justifi-terminals-list-filters.js +2 -2
  429. package/dist/module/justifi-terminals-list.js +1 -1
  430. package/dist/module/justifi-tokenize-payment-method.js +1 -1
  431. package/dist/module/legal-address-form.js +1 -1
  432. package/dist/module/modular-checkout.js +1 -1
  433. package/dist/module/owner-form-core2.js +11 -5
  434. package/dist/module/owner-form-inputs2.js +13 -7
  435. package/dist/module/owner-form.js +11 -5
  436. package/dist/module/package.js +1 -1
  437. package/dist/module/parts.js +1 -1
  438. package/dist/module/payment-details-core2.js +8 -8
  439. package/dist/module/payment-method-option.js +1 -1
  440. package/dist/module/payment-provisioning-core.js +41 -23
  441. package/dist/module/payment-provisioning-form-buttons.js +1 -1
  442. package/dist/module/payment-provisioning-form-steps.js +27 -21
  443. package/dist/module/payments-list-core2.js +2 -2
  444. package/dist/module/payout-details-core2.js +3 -3
  445. package/dist/module/payouts-list-core2.js +2 -2
  446. package/dist/module/product-or-service.js +2 -2
  447. package/dist/module/refund-policy.js +2 -2
  448. package/dist/module/save-new-payment-method.js +1 -1
  449. package/dist/module/schema-validations.js +16 -1
  450. package/dist/module/shipping-details.js +2 -2
  451. package/dist/module/summary.js +1 -1
  452. package/dist/module/table-filters-menu2.js +2 -2
  453. package/dist/module/table.js +1 -1
  454. package/dist/module/terminal-orders-list-core2.js +2 -2
  455. package/dist/module/terminal-quantity-selector2.js +2 -2
  456. package/dist/module/terminals-list-core2.js +2 -2
  457. package/dist/types/api/Business.d.ts +4 -0
  458. package/dist/types/api/Identity.d.ts +4 -0
  459. package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +2 -0
  460. package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.d.ts +1 -0
  461. package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.d.ts +4 -0
  462. package/dist/types/components/business-forms/payment-provisioning/form-control-monetary-provisioning.d.ts +3 -3
  463. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-core.d.ts +1 -0
  464. package/dist/types/components/business-forms/schemas/business-additional-questions-schema.d.ts +2 -0
  465. package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +12 -0
  466. package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +10 -0
  467. package/dist/types/components/business-forms/schemas/schema-validations.d.ts +1 -0
  468. package/dist/types/components/checkout/checkout.d.ts +19 -0
  469. package/dist/types/components/modular-checkout/sub-components/apple-pay.d.ts +3 -0
  470. package/dist/types/components.d.ts +378 -240
  471. package/dist/types/ui-components/form/form-control-checkbox.d.ts +2 -2
  472. package/dist/types/ui-components/form/form-control-file-v2.d.ts +2 -2
  473. package/dist/types/ui-components/form/form-control-file.d.ts +2 -2
  474. package/dist/types/ui-components/form/form-control-number-masked.d.ts +2 -2
  475. package/dist/types/ui-components/form/form-control-number.d.ts +1 -1
  476. package/dist/types/ui-components/form/form-control-radio.d.ts +3 -3
  477. package/dist/types/ui-components/form/form-control-textarea.d.ts +2 -2
  478. package/dist/webcomponents/p-001ce9f8.entry.js +1 -0
  479. package/dist/webcomponents/{p-36a0af30.entry.js → p-0467df5d.entry.js} +1 -1
  480. package/dist/webcomponents/p-0f6fa1c0.entry.js +1 -0
  481. package/dist/webcomponents/p-0fb3fd77.entry.js +1 -0
  482. package/dist/webcomponents/{p-d0c4b0ea.entry.js → p-172b0c96.entry.js} +1 -1
  483. package/dist/webcomponents/p-198d2941.entry.js +1 -0
  484. package/dist/webcomponents/p-1dbf3473.entry.js +1 -0
  485. package/dist/webcomponents/p-1eefdd41.entry.js +1 -0
  486. package/dist/webcomponents/p-252bd81d.entry.js +1 -0
  487. package/dist/webcomponents/p-265a7cb3.entry.js +1 -0
  488. package/dist/webcomponents/p-2e7143b8.entry.js +1 -0
  489. package/dist/webcomponents/p-32fac30b.entry.js +1 -0
  490. package/dist/webcomponents/p-393c9065.entry.js +1 -0
  491. package/dist/webcomponents/p-3d2495df.entry.js +1 -0
  492. package/dist/webcomponents/p-4165281d.entry.js +1 -0
  493. package/dist/webcomponents/p-4786d1ea.entry.js +1 -0
  494. package/dist/webcomponents/p-493e73a9.entry.js +1 -0
  495. package/dist/webcomponents/p-4d7a2565.entry.js +1 -0
  496. package/dist/webcomponents/p-50cc771a.entry.js +1 -0
  497. package/dist/webcomponents/p-50f16cca.entry.js +1 -0
  498. package/dist/webcomponents/p-52203b01.entry.js +1 -0
  499. package/dist/webcomponents/p-53be30e9.entry.js +1 -0
  500. package/dist/webcomponents/p-55e63bdd.entry.js +1 -0
  501. package/dist/webcomponents/p-5af4bb01.entry.js +1 -0
  502. package/dist/webcomponents/p-639e5ce9.entry.js +1 -0
  503. package/dist/webcomponents/p-65f4681c.entry.js +1 -0
  504. package/dist/webcomponents/p-66e8b443.entry.js +1 -0
  505. package/dist/webcomponents/p-6ed0be7f.entry.js +1 -0
  506. package/dist/webcomponents/p-7184c2f8.entry.js +1 -0
  507. package/dist/webcomponents/p-73b9cc29.entry.js +1 -0
  508. package/dist/webcomponents/p-782ccafb.entry.js +1 -0
  509. package/dist/webcomponents/p-79d1d6b3.entry.js +1 -0
  510. package/dist/webcomponents/{p-897b794b.entry.js → p-7b4e9ae8.entry.js} +2 -2
  511. package/dist/webcomponents/p-7c4fa66f.entry.js +1 -0
  512. package/dist/webcomponents/p-7ec771bc.entry.js +1 -0
  513. package/dist/webcomponents/{p-1a327b0e.entry.js → p-7fdfc2c8.entry.js} +1 -1
  514. package/dist/webcomponents/p-86db9040.entry.js +1 -0
  515. package/dist/webcomponents/{p-725319f3.entry.js → p-931ea171.entry.js} +1 -1
  516. package/dist/webcomponents/{p-20af8597.entry.js → p-99065f37.entry.js} +1 -1
  517. package/dist/webcomponents/p-9ce5fcb6.entry.js +1 -0
  518. package/dist/webcomponents/p-9d844936.entry.js +1 -0
  519. package/dist/webcomponents/p-AMVhBsGv.js +1 -0
  520. package/dist/webcomponents/{p-B4xdk4mG.js → p-APob2Eta.js} +1 -1
  521. package/dist/webcomponents/p-B8CPGGs6.js +1 -0
  522. package/dist/webcomponents/{p-CPpUGsw5.js → p-BAu40WfT.js} +1 -1
  523. package/dist/webcomponents/p-BPTtWj7E.js +1 -0
  524. package/dist/webcomponents/{p-Dit3fZpU.js → p-BXdZKjdB.js} +1 -1
  525. package/dist/webcomponents/p-BZ4YUsyP.js +1 -0
  526. package/dist/webcomponents/{p-CV8xqdt6.js → p-Bhk8tHxs.js} +1 -1
  527. package/dist/webcomponents/p-BhvkOTYA.js +1 -0
  528. package/dist/webcomponents/p-BqL4QuAa.js +1 -0
  529. package/dist/webcomponents/{p-BP2sTIQV.js → p-BqNNwq6C.js} +1 -1
  530. package/dist/webcomponents/p-Bz97Ujvk.js +1 -0
  531. package/dist/webcomponents/{p-C77ElQ41.js → p-C-LV3hNf.js} +1 -1
  532. package/dist/webcomponents/p-C3E-JbVM.js +1 -0
  533. package/dist/webcomponents/{p-BMJe4lzg.js → p-CAZzU98o.js} +1 -1
  534. package/dist/webcomponents/p-CGKWIBVk.js +1 -0
  535. package/dist/webcomponents/p-CHJTjG_5.js +1 -0
  536. package/dist/webcomponents/{p-DUmUUj9r.js → p-COcg4_A3.js} +1 -1
  537. package/dist/webcomponents/{p-C2Senazf.js → p-CQ36pja3.js} +1 -1
  538. package/dist/webcomponents/p-CV0Pyo1O.js +2 -0
  539. package/dist/webcomponents/{p-DfKxeSrC.js → p-Ce785aMx.js} +1 -1
  540. package/dist/webcomponents/p-CpGEMRkH.js +1 -0
  541. package/dist/webcomponents/{p-CBbwdoSa.js → p-CruQSM5j.js} +1 -1
  542. package/dist/webcomponents/p-D0PhRMmy.js +1 -0
  543. package/dist/webcomponents/p-D4EBPNuU.js +1 -0
  544. package/dist/webcomponents/{p-sCHf--Vc.js → p-D81X4BBI.js} +1 -1
  545. package/dist/webcomponents/p-D8GTwl9v.js +1 -0
  546. package/dist/webcomponents/{p-Dlrq1iZf.js → p-DBOsYeYk.js} +1 -1
  547. package/dist/webcomponents/p-DDjKoqh6.js +1 -0
  548. package/dist/webcomponents/{p-11wdbrqX.js → p-DLLFAj4z.js} +1 -1
  549. package/dist/webcomponents/p-DOnVHzNq.js +1 -0
  550. package/dist/webcomponents/{p-tGDdRx0W.js → p-DVJaoI_m.js} +1 -1
  551. package/dist/webcomponents/p-DaZF_q9T.js +1 -0
  552. package/dist/webcomponents/p-Dm07nLGs.js +1 -0
  553. package/dist/webcomponents/{p-BrRsgB8S.js → p-DpkIbI5R.js} +1 -1
  554. package/dist/webcomponents/p-DrquDBSk.js +1 -0
  555. package/dist/webcomponents/p-Dw63wyhO.js +1 -0
  556. package/dist/webcomponents/{p-D6bKoyRc.js → p-JO-3z7ao.js} +1 -1
  557. package/dist/webcomponents/{p-CCxsFwC4.js → p-MBH9QO2m.js} +1 -1
  558. package/dist/webcomponents/p-NO0z-S2W.js +1 -0
  559. package/dist/webcomponents/{p-W9WWoLzT.js → p-YYXsr-bI.js} +1 -1
  560. package/dist/webcomponents/p-ZkBwsSuI.js +1 -0
  561. package/dist/webcomponents/p-_LSWCi-4.js +1 -0
  562. package/dist/webcomponents/p-a20bddd2.entry.js +1 -0
  563. package/dist/webcomponents/p-a3510078.entry.js +1 -0
  564. package/dist/webcomponents/p-a4834220.entry.js +1 -0
  565. package/dist/webcomponents/p-a9b493c1.entry.js +1 -0
  566. package/dist/webcomponents/p-a9ecaf0f.entry.js +1 -0
  567. package/dist/webcomponents/p-b2371f43.entry.js +1 -0
  568. package/dist/webcomponents/p-bc56446a.entry.js +1 -0
  569. package/dist/webcomponents/p-c11512e7.entry.js +1 -0
  570. package/dist/webcomponents/p-c5afb831.entry.js +1 -0
  571. package/dist/webcomponents/{p-f37f3e94.entry.js → p-c7c79332.entry.js} +1 -1
  572. package/dist/webcomponents/p-c90f7ed6.entry.js +1 -0
  573. package/dist/webcomponents/p-ca8d78af.entry.js +1 -0
  574. package/dist/webcomponents/p-d0d6d1cc.entry.js +1 -0
  575. package/dist/webcomponents/p-d55c348b.entry.js +1 -0
  576. package/dist/webcomponents/p-d7fa8461.entry.js +1 -0
  577. package/dist/webcomponents/p-dff12534.entry.js +1 -0
  578. package/dist/webcomponents/p-e11c7df0.entry.js +1 -0
  579. package/dist/webcomponents/p-e1a8785d.entry.js +1 -0
  580. package/dist/webcomponents/p-e54cdb00.entry.js +1 -0
  581. package/dist/webcomponents/p-e5651bb1.entry.js +1 -0
  582. package/dist/webcomponents/p-e926be0d.entry.js +1 -0
  583. package/dist/webcomponents/p-e9daf75f.entry.js +1 -0
  584. package/dist/webcomponents/p-ea0cd47d.entry.js +1 -0
  585. package/dist/webcomponents/p-f13c4a88.entry.js +1 -0
  586. package/dist/webcomponents/p-f5f46f2d.entry.js +1 -0
  587. package/dist/webcomponents/p-mhEMV8M-.js +1 -0
  588. package/dist/webcomponents/p-sPEyLX4E.js +1 -0
  589. package/dist/webcomponents/p-wqq-X93m.js +1 -0
  590. package/dist/webcomponents/{p-DGGjRqDa.js → p-y-FoILTI.js} +1 -1
  591. package/dist/webcomponents/{p-yyedWKWX.js → p-y8av3w9x.js} +1 -1
  592. package/dist/webcomponents/p-ztF3Y786.js +1 -0
  593. package/dist/webcomponents/webcomponents.esm.js +1 -1
  594. package/package.json +8 -12
  595. package/dist/cjs/form-control-number.cjs.entry.js +0 -58
  596. package/dist/cjs/index-BhI7cJcE.js +0 -1891
  597. package/dist/cjs/terminals-list-params-state-DfZySwaC.js +0 -22
  598. package/dist/esm/form-control-number.entry.js +0 -56
  599. package/dist/esm/index-DwYM91AU.js +0 -1879
  600. package/dist/esm/terminals-list-params-state-gllzDQAb.js +0 -16
  601. package/dist/webcomponents/p-016b3e4c.entry.js +0 -1
  602. package/dist/webcomponents/p-035a4adc.entry.js +0 -1
  603. package/dist/webcomponents/p-06cae9e2.entry.js +0 -1
  604. package/dist/webcomponents/p-06f81525.entry.js +0 -1
  605. package/dist/webcomponents/p-0935600b.entry.js +0 -1
  606. package/dist/webcomponents/p-0ab9a3ae.entry.js +0 -1
  607. package/dist/webcomponents/p-0b7c4ed5.entry.js +0 -1
  608. package/dist/webcomponents/p-0bb616fc.entry.js +0 -1
  609. package/dist/webcomponents/p-138ada4a.entry.js +0 -1
  610. package/dist/webcomponents/p-148d3327.entry.js +0 -1
  611. package/dist/webcomponents/p-1575ca68.entry.js +0 -1
  612. package/dist/webcomponents/p-1e761d96.entry.js +0 -1
  613. package/dist/webcomponents/p-20e85114.entry.js +0 -1
  614. package/dist/webcomponents/p-2cb9edad.entry.js +0 -1
  615. package/dist/webcomponents/p-2d4a2d26.entry.js +0 -1
  616. package/dist/webcomponents/p-368b37ad.entry.js +0 -1
  617. package/dist/webcomponents/p-3a3935a3.entry.js +0 -1
  618. package/dist/webcomponents/p-3f14d0c4.entry.js +0 -1
  619. package/dist/webcomponents/p-4d2589b2.entry.js +0 -1
  620. package/dist/webcomponents/p-511e80a4.entry.js +0 -1
  621. package/dist/webcomponents/p-5996879d.entry.js +0 -1
  622. package/dist/webcomponents/p-5a748e49.entry.js +0 -1
  623. package/dist/webcomponents/p-5c6727ae.entry.js +0 -1
  624. package/dist/webcomponents/p-622af881.entry.js +0 -1
  625. package/dist/webcomponents/p-6454626a.entry.js +0 -1
  626. package/dist/webcomponents/p-64ebff16.entry.js +0 -1
  627. package/dist/webcomponents/p-66713269.entry.js +0 -1
  628. package/dist/webcomponents/p-679b36b5.entry.js +0 -1
  629. package/dist/webcomponents/p-71577fa1.entry.js +0 -1
  630. package/dist/webcomponents/p-77754a65.entry.js +0 -1
  631. package/dist/webcomponents/p-7ec4838f.entry.js +0 -1
  632. package/dist/webcomponents/p-88a8741b.entry.js +0 -1
  633. package/dist/webcomponents/p-899b981b.entry.js +0 -1
  634. package/dist/webcomponents/p-8c4b502d.entry.js +0 -1
  635. package/dist/webcomponents/p-8df30672.entry.js +0 -1
  636. package/dist/webcomponents/p-911b3d63.entry.js +0 -1
  637. package/dist/webcomponents/p-97b8bf5c.entry.js +0 -1
  638. package/dist/webcomponents/p-9b74a642.entry.js +0 -1
  639. package/dist/webcomponents/p-9b8aee30.entry.js +0 -1
  640. package/dist/webcomponents/p-9e94c9ef.entry.js +0 -1
  641. package/dist/webcomponents/p-B5rtFhtR.js +0 -1
  642. package/dist/webcomponents/p-BOqOio4U.js +0 -1
  643. package/dist/webcomponents/p-BUsqF4-J.js +0 -1
  644. package/dist/webcomponents/p-BYsgavgS.js +0 -1
  645. package/dist/webcomponents/p-BhqSAzpT.js +0 -1
  646. package/dist/webcomponents/p-BzT9OxlN.js +0 -1
  647. package/dist/webcomponents/p-C9VmfRis.js +0 -1
  648. package/dist/webcomponents/p-CK_XkZku.js +0 -1
  649. package/dist/webcomponents/p-CQGIjIgZ.js +0 -1
  650. package/dist/webcomponents/p-CZ3F1ZAT.js +0 -1
  651. package/dist/webcomponents/p-CgiDds_u.js +0 -1
  652. package/dist/webcomponents/p-CsgUIrv8.js +0 -1
  653. package/dist/webcomponents/p-D032AB34.js +0 -1
  654. package/dist/webcomponents/p-DATDsXcA.js +0 -1
  655. package/dist/webcomponents/p-DKGn-ILd.js +0 -1
  656. package/dist/webcomponents/p-DOcRWTul.js +0 -1
  657. package/dist/webcomponents/p-DY_3dcgR.js +0 -1
  658. package/dist/webcomponents/p-DdJYXOQX.js +0 -1
  659. package/dist/webcomponents/p-DmdEjScI.js +0 -1
  660. package/dist/webcomponents/p-DwYM91AU.js +0 -2
  661. package/dist/webcomponents/p-RTAZ4tdd.js +0 -1
  662. package/dist/webcomponents/p-Ty7R7tsw.js +0 -1
  663. package/dist/webcomponents/p-U3nU15el.js +0 -1
  664. package/dist/webcomponents/p-Uqevvbqm.js +0 -1
  665. package/dist/webcomponents/p-VRubcA-q.js +0 -1
  666. package/dist/webcomponents/p-a0b4c42b.entry.js +0 -1
  667. package/dist/webcomponents/p-af7c219d.entry.js +0 -1
  668. package/dist/webcomponents/p-b0f0d53c.entry.js +0 -1
  669. package/dist/webcomponents/p-b752c5bc.entry.js +0 -1
  670. package/dist/webcomponents/p-bbff6196.entry.js +0 -1
  671. package/dist/webcomponents/p-c0c36187.entry.js +0 -1
  672. package/dist/webcomponents/p-c920dc54.entry.js +0 -1
  673. package/dist/webcomponents/p-cdf1e61c.entry.js +0 -1
  674. package/dist/webcomponents/p-d077569e.entry.js +0 -1
  675. package/dist/webcomponents/p-d7b1b7b5.entry.js +0 -1
  676. package/dist/webcomponents/p-dc6c9c79.entry.js +0 -1
  677. package/dist/webcomponents/p-e4335938.entry.js +0 -1
  678. package/dist/webcomponents/p-e805b011.entry.js +0 -1
  679. package/dist/webcomponents/p-ecbc83bf.entry.js +0 -1
  680. package/dist/webcomponents/p-f30c939f.entry.js +0 -1
  681. package/dist/webcomponents/p-f56d7b4c.entry.js +0 -1
  682. package/dist/webcomponents/p-f99403d8.entry.js +0 -1
  683. package/dist/webcomponents/p-fb644da6.entry.js +0 -1
  684. package/dist/webcomponents/p-fc4b27ec.entry.js +0 -1
  685. package/dist/webcomponents/p-fe43449c.entry.js +0 -1
  686. package/dist/webcomponents/p-giyZ3C4E.js +0 -1
  687. package/dist/webcomponents/p-sA8HBfkI.js +0 -1
  688. package/docs/.eslintrc.cjs +0 -17
  689. package/docs/changelog/index.mdx +0 -17
  690. package/docs/entities/businessdetails/index.mdx +0 -143
  691. package/docs/entities/businessform/index.mdx +0 -241
  692. package/docs/entities/index.mdx +0 -19
  693. package/docs/entities/payment-provisioning/index.mdx +0 -128
  694. package/docs/frameworks/angular/index.mdx +0 -112
  695. package/docs/frameworks/index.mdx +0 -18
  696. package/docs/frameworks/react/index.mdx +0 -125
  697. package/docs/frameworks/vue/index.mdx +0 -102
  698. package/docs/helpers/PartsTable.js +0 -50
  699. package/docs/helpers/PropsTable.js +0 -56
  700. package/docs/helpers/index.ts +0 -3
  701. package/docs/helpers/version.js +0 -32
  702. package/docs/introduction/index.mdx +0 -125
  703. package/docs/merchant-tools/checkouts-list/index.mdx +0 -97
  704. package/docs/merchant-tools/gross-payments-chart/index.mdx +0 -83
  705. package/docs/merchant-tools/index.mdx +0 -25
  706. package/docs/merchant-tools/order-terminals/index.mdx +0 -84
  707. package/docs/merchant-tools/payment-details/index.mdx +0 -132
  708. package/docs/merchant-tools/payment-transactions-list/index.mdx +0 -85
  709. package/docs/merchant-tools/payments-list/index.mdx +0 -109
  710. package/docs/merchant-tools/payout-details/index.mdx +0 -84
  711. package/docs/merchant-tools/payout-transactions-list/index.mdx +0 -84
  712. package/docs/merchant-tools/payouts-list/index.mdx +0 -92
  713. package/docs/merchant-tools/terminal-orders-list/index.mdx +0 -85
  714. package/docs/merchant-tools/terminals-list/index.mdx +0 -93
  715. package/docs/modular-checkout/complete-examples/index.mdx +0 -20
  716. package/docs/modular-checkout/index.mdx +0 -20
  717. package/docs/modular-checkout/introduction/index.mdx +0 -102
  718. package/docs/modular-checkout/sub-components/apple-pay.mdx +0 -106
  719. package/docs/modular-checkout/sub-components/bank-account-form.mdx +0 -167
  720. package/docs/modular-checkout/sub-components/card-form.mdx +0 -178
  721. package/docs/modular-checkout/sub-components/index.mdx +0 -23
  722. package/docs/modular-checkout/sub-components/payment-method-options.mdx +0 -87
  723. package/docs/modular-checkout/sub-components/plaid-payment-method.mdx +0 -158
  724. package/docs/modular-checkout/sub-components/saved-payment-methods.mdx +0 -183
  725. package/docs/modular-checkout/sub-components/season-interruption-insurance.mdx +0 -221
  726. package/docs/modular-checkout/sub-components/sezzle-payment-method.mdx +0 -183
  727. package/docs/modular-checkout/sub-components/summary.mdx +0 -111
  728. package/docs/payment-facilitation/dispute-management/index.mdx +0 -99
  729. package/docs/payment-facilitation/index.mdx +0 -21
  730. package/docs/payment-facilitation/refund-payment/index.mdx +0 -241
  731. package/docs/payment-facilitation/tokenize-payment-method/index.mdx +0 -350
  732. package/docs/payment-facilitation/unified-fintech-checkout/342/204/242/index.mdx +0 -150
@@ -4,7 +4,7 @@ import { numberOnlyHandler } from "../../../../ui-components/form/utils";
4
4
  export class BankAccountFormInputs {
5
5
  render() {
6
6
  var _a, _b, _c, _d, _e, _f;
7
- return (h("div", { key: '2f29b1fd967a5eb4d0d3e19b2cbefb9c6e182935', class: "row gy-3" }, h("div", { key: '46250c36ba140f5a63f90afa51581ee3cea5f5e8', class: "col-12" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Bank Name", value: (_a = this.defaultValue) === null || _a === void 0 ? void 0 : _a.bank_name })) : (h("form-control-text", { name: "bank_name", label: "Bank Name", defaultValue: this.defaultValue.bank_name, errorText: this.errors.bank_name, inputHandler: this.inputHandler }))), h("div", { key: '09c95c14e82f12d1e86ab65debb3e066fcd161ce', class: "col-12" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Nickname", value: (_b = this.defaultValue) === null || _b === void 0 ? void 0 : _b.nickname })) : (h("form-control-text", { name: "nickname", label: "Nickname", defaultValue: this.defaultValue.nickname, errorText: this.errors.nickname, inputHandler: this.inputHandler }))), h("div", { key: '86c2932fdfeae789dc4cb48e255977fb981396c8', class: "col-12" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Account Owner Name", value: (_c = this.defaultValue) === null || _c === void 0 ? void 0 : _c.account_owner_name })) : (h("form-control-text", { name: "account_owner_name", label: "Account Owner Name", defaultValue: this.defaultValue.account_owner_name, errorText: this.errors.account_owner_name, inputHandler: this.inputHandler }))), h("div", { key: '4ab380b55f4078dd4ed7d3909e8d7206a4cbfc8e', class: "col-12" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Account Type", value: (_d = this.defaultValue) === null || _d === void 0 ? void 0 : _d.account_type })) : (h("form-control-select", { name: "account_type", label: "Account Type", options: bankAccountTypeOptions, defaultValue: this.defaultValue.account_type, errorText: this.errors.account_type, inputHandler: this.inputHandler }))), h("div", { key: 'a61023b07e4550ffcafbbd49c6214db5e8102644', class: "col-6" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Account Number", value: ((_e = this.defaultValue) === null || _e === void 0 ? void 0 : _e.account_number_last4) ? `**** ${this.defaultValue.account_number_last4}` : '' })) : (h("form-control-text", { name: "account_number", label: "Account Number", defaultValue: this.defaultValue.account_number, maxLength: 17, errorText: this.errors.account_number, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, helpText: "Please copy the account number as shown on your statement/check. Do not include spaces or dashes." }))), h("div", { key: 'dcbef312084dcfbe405e18bba854b56837ee6f26', class: "col-6" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Routing Number", value: ((_f = this.defaultValue) === null || _f === void 0 ? void 0 : _f.routing_number) || '' })) : (h("form-control-text", { name: "routing_number", label: "Routing Number", defaultValue: this.defaultValue.routing_number, maxLength: 9, errorText: this.errors.routing_number, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, helpText: "A valid routing number is nine digits. Please include any leading or trailing zeroes." })))));
7
+ return (h("div", { key: '5dc7139f54d11979410d0d67ca29e65b02f30200', class: "row gy-3" }, h("div", { key: '118f15bf02855b24baec5ce2a2c3cf5b241b3da4', class: "col-12" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Bank Name", value: (_a = this.defaultValue) === null || _a === void 0 ? void 0 : _a.bank_name })) : (h("form-control-text", { name: "bank_name", label: "Bank Name", defaultValue: this.defaultValue.bank_name, errorText: this.errors.bank_name, inputHandler: this.inputHandler }))), h("div", { key: 'db03eccee03ec4b7d0de637306315982a2cd770d', class: "col-12" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Nickname", value: (_b = this.defaultValue) === null || _b === void 0 ? void 0 : _b.nickname })) : (h("form-control-text", { name: "nickname", label: "Nickname", defaultValue: this.defaultValue.nickname, errorText: this.errors.nickname, inputHandler: this.inputHandler }))), h("div", { key: '217120e0052b8ee41cac8f901ac4d9742b0c6ea9', class: "col-12" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Account Owner Name", value: (_c = this.defaultValue) === null || _c === void 0 ? void 0 : _c.account_owner_name })) : (h("form-control-text", { name: "account_owner_name", label: "Account Owner Name", defaultValue: this.defaultValue.account_owner_name, errorText: this.errors.account_owner_name, inputHandler: this.inputHandler }))), h("div", { key: 'f589511545d6262966a6fa2888cb78babacfb770', class: "col-12" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Account Type", value: (_d = this.defaultValue) === null || _d === void 0 ? void 0 : _d.account_type })) : (h("form-control-select", { name: "account_type", label: "Account Type", options: bankAccountTypeOptions, defaultValue: this.defaultValue.account_type, errorText: this.errors.account_type, inputHandler: this.inputHandler }))), h("div", { key: '24df83bb2666cee381c266608c43f3fd729db4cf', class: "col-6" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Account Number", value: ((_e = this.defaultValue) === null || _e === void 0 ? void 0 : _e.account_number_last4) ? `**** ${this.defaultValue.account_number_last4}` : '' })) : (h("form-control-text", { name: "account_number", label: "Account Number", defaultValue: this.defaultValue.account_number, maxLength: 17, errorText: this.errors.account_number, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, helpText: "Please copy the account number as shown on your statement/check. Do not include spaces or dashes." }))), h("div", { key: '75fe11d71e57707d088f8a90a250621fce82647f', class: "col-6" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Routing Number", value: ((_f = this.defaultValue) === null || _f === void 0 ? void 0 : _f.routing_number) || '' })) : (h("form-control-text", { name: "routing_number", label: "Routing Number", defaultValue: this.defaultValue.routing_number, maxLength: 9, errorText: this.errors.routing_number, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, helpText: "A valid routing number is nine digits. Please include any leading or trailing zeroes." })))));
8
8
  }
9
9
  static get is() { return "bank-account-form-inputs"; }
10
10
  static get properties() {
@@ -17,7 +17,7 @@ export class BankAccountFormInputs {
17
17
  "resolved": "any",
18
18
  "references": {}
19
19
  },
20
- "required": false,
20
+ "required": true,
21
21
  "optional": false,
22
22
  "docs": {
23
23
  "tags": [],
@@ -36,7 +36,7 @@ export class BankAccountFormInputs {
36
36
  "resolved": "any",
37
37
  "references": {}
38
38
  },
39
- "required": false,
39
+ "required": true,
40
40
  "optional": false,
41
41
  "docs": {
42
42
  "tags": [],
@@ -55,7 +55,7 @@ export class BankAccountFormInputs {
55
55
  "resolved": "(name: string, value: string) => void",
56
56
  "references": {}
57
57
  },
58
- "required": false,
58
+ "required": true,
59
59
  "optional": false,
60
60
  "docs": {
61
61
  "tags": [],
@@ -72,7 +72,7 @@ export class BankAccountFormInputs {
72
72
  "resolved": "boolean",
73
73
  "references": {}
74
74
  },
75
- "required": false,
75
+ "required": true,
76
76
  "optional": false,
77
77
  "docs": {
78
78
  "tags": [],
@@ -2,7 +2,7 @@ import { h } from "@stencil/core";
2
2
  import { text } from "../../../../styles/parts";
3
3
  export class BankAccountReadOnlyValue {
4
4
  render() {
5
- return (h("div", { key: '5b20bad2f4b01597f33221541248681fc08ab59d' }, h("label", { key: 'e0c297e57f2d5f6863b42c9549ee2b869380f128', class: "form-label", part: text }, this.label), h("div", { key: 'ac0512bbf49b43a9ca4a8c47d1f05d36e01fd655', part: text }, this.value || '')));
5
+ return (h("div", { key: 'ad9eadcf49dbc67e51cd814d3ded334a587cc17c' }, h("label", { key: 'b8ba3d8b7ef9fc33e0e0870f71b7df5dbfae4759', class: "form-label", part: text }, this.label), h("div", { key: '1839bdadb96b3c814c73991530497f9a7be6a10d', part: text }, this.value || '')));
6
6
  }
7
7
  static get is() { return "bank-account-read-only-value"; }
8
8
  static get properties() {
@@ -15,7 +15,7 @@ export class BankAccountReadOnlyValue {
15
15
  "resolved": "string",
16
16
  "references": {}
17
17
  },
18
- "required": false,
18
+ "required": true,
19
19
  "optional": false,
20
20
  "docs": {
21
21
  "tags": [],
@@ -336,7 +336,7 @@ export class BusinessBankAccountFormStep {
336
336
  "resolved": "string",
337
337
  "references": {}
338
338
  },
339
- "required": false,
339
+ "required": true,
340
340
  "optional": false,
341
341
  "docs": {
342
342
  "tags": [],
@@ -355,7 +355,7 @@ export class BusinessBankAccountFormStep {
355
355
  "resolved": "string",
356
356
  "references": {}
357
357
  },
358
- "required": false,
358
+ "required": true,
359
359
  "optional": false,
360
360
  "docs": {
361
361
  "tags": [],
@@ -399,7 +399,7 @@ export class BusinessBankAccountFormStep {
399
399
  }
400
400
  }
401
401
  },
402
- "required": false,
402
+ "required": true,
403
403
  "optional": false,
404
404
  "docs": {
405
405
  "tags": [],
@@ -136,7 +136,7 @@ export class BusinessCoreInfoFormStep {
136
136
  "resolved": "string",
137
137
  "references": {}
138
138
  },
139
- "required": false,
139
+ "required": true,
140
140
  "optional": false,
141
141
  "docs": {
142
142
  "tags": [],
@@ -155,7 +155,7 @@ export class BusinessCoreInfoFormStep {
155
155
  "resolved": "string",
156
156
  "references": {}
157
157
  },
158
- "required": false,
158
+ "required": true,
159
159
  "optional": false,
160
160
  "docs": {
161
161
  "tags": [],
@@ -199,7 +199,7 @@ export class BusinessCoreInfoFormStep {
199
199
  }
200
200
  }
201
201
  },
202
- "required": false,
202
+ "required": true,
203
203
  "optional": false,
204
204
  "docs": {
205
205
  "tags": [],
@@ -3,17 +3,25 @@ import { ComponentErrorCodes, ComponentErrorSeverity } from "../../../../api/Com
3
3
  import { makeGetBusiness, makePatchBusiness } from "../payment-provisioning-actions";
4
4
  import { BusinessService } from "../../../../api/services/business.service";
5
5
  import { Button } from "../../../../ui-components";
6
- import { heading2 } from "../../../../styles/parts";
6
+ import { heading2, alert } from "../../../../styles/parts";
7
7
  import { PaymentProvisioningLoading } from "../payment-provisioning-loading";
8
8
  import { BusinessFormClickActions, BusinessFormStep } from "../../utils/event-types";
9
+ import { Representative } from "../../../../api/Identity";
9
10
  export class BusinessOwnersFormStep {
10
11
  constructor() {
11
12
  this.ownersPayload = [];
12
13
  this.refs = [];
13
14
  this.isLoading = false;
15
+ this.representativeIsOwner = null;
14
16
  this.matchRef = (ref, ownerId) => {
15
- const ownerIndex = this.refs.findIndex(ref => ref === ownerId);
17
+ if (ref === null)
18
+ return;
19
+ const ownerIndex = this.ownersPayload.findIndex(owner => owner.id === ownerId);
16
20
  if (ownerIndex !== -1) {
21
+ // Ensure refs array is properly sized before setting ref
22
+ if (this.refs.length !== this.ownersPayload.length) {
23
+ this.manageRefs();
24
+ }
17
25
  this.refs[ownerIndex] = ref;
18
26
  }
19
27
  };
@@ -22,6 +30,7 @@ export class BusinessOwnersFormStep {
22
30
  this.isLoading = true;
23
31
  this.getBusiness({
24
32
  onSuccess: (response) => {
33
+ this.representative = new Representative(response.data.representative || {});
25
34
  if (response.data.owners.length) {
26
35
  this.ownersPayload = response.data.owners.map(owner => ({ id: owner.id }));
27
36
  }
@@ -75,6 +84,21 @@ export class BusinessOwnersFormStep {
75
84
  this.ownersPayload = this.ownersPayload.filter(owner => owner.id !== id);
76
85
  this.newFormOpen && (this.newFormOpen = false);
77
86
  };
87
+ this.handleRepresentativeIsOwnerChange = (value) => {
88
+ this.representativeIsOwner = value;
89
+ if (this.representativeIsOwner) {
90
+ this.ownersPayload = this.ownersPayload.filter(owner => owner.id !== '');
91
+ this.patchBusiness({
92
+ payload: {
93
+ owners: [{ id: this.representative.id }, ...this.ownersPayload],
94
+ },
95
+ onSuccess: () => {
96
+ this.getData();
97
+ this.newFormOpen = false;
98
+ },
99
+ });
100
+ }
101
+ };
78
102
  }
79
103
  propChanged() {
80
104
  this.initializeApi();
@@ -142,7 +166,9 @@ export class BusinessOwnersFormStep {
142
166
  if (this.isLoading) {
143
167
  return (h(Host, null, h(PaymentProvisioningLoading, null)));
144
168
  }
145
- return (h(Host, null, h("div", null, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Owners"), h("form-control-tooltip", { helpText: "For partnerships, LLCs or privately held corporations, the business is required to apply with all individuals with 25% or more ownership to the application. For charities and registered non-profits, the business is required to apply with 1 individual with substantial control over the entity, such as a board member or director." })), h("hr", { class: "mt-2" }), h("div", { class: 'row gy-3' }, this.ownersPayload.map((owner) => {
169
+ const isRepresentativeOwner = this.ownersPayload.some(owner => owner.id === this.representative.id);
170
+ const shouldShowRepresentativeIsOwner = this.representativeIsOwner === null && !isRepresentativeOwner;
171
+ return (h(Host, null, h("div", null, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Owners"), h("form-control-tooltip", { helpText: "For partnerships, LLCs or privately held corporations, the business is required to apply with all individuals with 25% or more ownership to the application. For charities and registered non-profits, the business is required to apply with 1 individual with substantial control over the entity, such as a board member or director." })), h("hr", { class: "mt-2" }), shouldShowRepresentativeIsOwner && (h("div", { class: `alert alert-warning mb-3`, part: alert }, h("div", { class: "card-body" }, h("div", { class: "d-flex align-items-center mb-3" }, h("strong", null, "Is the representative of this business also an owner?")), h("div", { class: "d-flex gap-2" }, h(Button, { variant: 'primary', onClick: () => this.handleRepresentativeIsOwnerChange(true) }, "Yes"), h(Button, { variant: 'secondary', onClick: () => this.handleRepresentativeIsOwnerChange(false) }, "No"))))), h("div", { class: 'row gy-3' }, this.ownersPayload.map((owner) => {
146
172
  return (h("justifi-owner-form", { key: owner.id, authToken: this.authToken, businessId: this.businessId, ownerId: owner.id, removeOwner: this.removeOwnerForm, newFormOpen: this.newFormOpen, ownersLength: this.ownersPayload.length, country: this.country, allowOptionalFields: this.allowOptionalFields, ref: (ref) => this.matchRef(ref, owner.id) }));
147
173
  })), h("div", { class: 'd-flex justify-content-start' }, h("div", { class: 'gap-2' }, h(Button, { variant: 'primary', onClick: () => this.addOwnerForm(true), hidden: !this.showAddOwnerButton }, "Add Owner"))))));
148
174
  }
@@ -157,7 +183,7 @@ export class BusinessOwnersFormStep {
157
183
  "resolved": "string",
158
184
  "references": {}
159
185
  },
160
- "required": false,
186
+ "required": true,
161
187
  "optional": false,
162
188
  "docs": {
163
189
  "tags": [],
@@ -176,7 +202,7 @@ export class BusinessOwnersFormStep {
176
202
  "resolved": "string",
177
203
  "references": {}
178
204
  },
179
- "required": false,
205
+ "required": true,
180
206
  "optional": false,
181
207
  "docs": {
182
208
  "tags": [],
@@ -220,7 +246,7 @@ export class BusinessOwnersFormStep {
220
246
  }
221
247
  }
222
248
  },
223
- "required": false,
249
+ "required": true,
224
250
  "optional": false,
225
251
  "docs": {
226
252
  "tags": [],
@@ -240,7 +266,9 @@ export class BusinessOwnersFormStep {
240
266
  "ownersPayload": {},
241
267
  "refs": {},
242
268
  "newFormOpen": {},
243
- "isLoading": {}
269
+ "isLoading": {},
270
+ "representativeIsOwner": {},
271
+ "representative": {}
244
272
  };
245
273
  }
246
274
  static get events() {
@@ -15,14 +15,14 @@ export class RepresentativeFormInputs {
15
15
  }
16
16
  render() {
17
17
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
18
- return (h("form", { key: 'a8c9c71dfc532cbaccb93e1e7fe9f5ed58d40be9' }, h("fieldset", { key: '53c46c01bcd3548aaaa898ff5e63811beaed8538' }, h("div", { key: '63eef8979e6a650d48625b5ac851e6604ba24d03', class: "d-flex align-items-center gap-2" }, h("legend", { key: '2f3ed670ae2a807e391c96ef1847f77b088ce4e6', class: "mb-0", part: heading2 }, "Representative"), h("form-control-tooltip", { key: 'a05b200fd0e59e13dd7582509f8d45231a570dc5', helpText: "The representative for your business needs to be someone who has significant control over managing your business\u2019s finance. You will have an opportunity to add owners later in the form." })), h("hr", { key: 'f3f74109eea8175e79033bd7e6dc8716c4661b45', class: "mt-2" }), h("div", { key: 'b6c9b108849fd4b5c6437a2a252ccd28793aaf54', class: "row gy-3" }, h("div", { key: 'cf48fed5f8c489c1457610f92527fac6f1fc956d', class: "col-12 col-md-8" }, h("form-control-text", { key: 'a2284f90773a3acc17cfa36ff0ff5da3431e9fb1', name: "name", label: "Full Name", defaultValue: (_a = this.representativeDefaultValue) === null || _a === void 0 ? void 0 : _a.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '9d975f2c69ed84d60404223e80ba8980bfe20b2a', class: "col-12 col-md-4" }, h("form-control-text", { key: '80805abffa658b8b6c4952e5be7af371ca73c615', name: "title", label: "Title", defaultValue: (_b = this.representativeDefaultValue) === null || _b === void 0 ? void 0 : _b.title, errorText: this.errors.title, inputHandler: this.inputHandler, helpText: "Role at your business, e.g. President, CEO, Treasurer." })), h("div", { key: 'a62f04413d413545104fe541ebebfd11fb88bc1a', class: "col-12 col-md-6" }, h("form-control-text", { key: 'd3cae6a0a143790a236a5822051a002238105c0b', name: "email", label: "Email Address", defaultValue: (_c = this.representativeDefaultValue) === null || _c === void 0 ? void 0 : _c.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '7941c5d512ec57ab94f86066f80b0a5c19479040', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '3d117c5457a8b95ee1d8dcfbfba743eeabadb288', name: "phone", label: "Phone Number", defaultValue: (_d = this.representativeDefaultValue) === null || _d === void 0 ? void 0 : _d.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: '807b7ac6e655d854536a7e770e9d5bcc0388e6c3', class: "col-12 col-md-4" }, h("form-control-date", { key: 'ce18de4b882dae9b02a11c1f1ad7420604f49e54', name: "dob_full", label: "Birth Date", defaultValue: (_e = this.representativeDefaultValue) === null || _e === void 0 ? void 0 : _e.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: (e) => updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), h("div", { key: 'ae2f1dca7ecc64e67d1faaf0e2bdb7bfb233f862', class: "col-12 col-md-8" }, (!((_f = this.representativeDefaultValue) === null || _f === void 0 ? void 0 : _f.ssn_last4) || this.isEditingIdentification) ? (h("form-control-number-masked", { name: "identification_number", label: countryLabels[this.country].idNumberLabel, defaultValue: this.isEditingIdentification ? '' : (_g = this.representativeDefaultValue) === null || _g === void 0 ? void 0 : _g.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: IDENTITY_MASKS[this.country], helpText: countryLabels[this.country].identityHelpText })) : (h("div", null, h("label", { class: "form-label", part: label }, countryLabels[this.country].idNumberLabel), h("div", { class: "input-group mb-3" }, h("input", { type: "text", class: "form-control", part: inputDisabled, value: `****${(_h = this.representativeDefaultValue) === null || _h === void 0 ? void 0 : _h.ssn_last4}`, disabled: true }), h("button", { class: "btn btn-secondary", type: "button", part: buttonSecondary, onClick: () => {
18
+ return (h("form", { key: 'a9c0f6332bf302d5eb9f93c4ca045d572a40468f' }, h("fieldset", { key: '115c564826335a9c7b670bbc0409912c3eb7a4aa' }, h("div", { key: '6de8909b4b2f3c7d8ec4665aad77ef59cdf035b4', class: "d-flex align-items-center gap-2" }, h("legend", { key: 'bb8b5a3775eae450a866356a9e149a0bf57b5699', class: "mb-0", part: heading2 }, "Representative"), h("form-control-tooltip", { key: 'a0296d4a3c35a039525f39501e117ee6fdd12257', helpText: "The representative for your business needs to be someone who has significant control over managing your business\u2019s finance. You will have an opportunity to add owners later in the form." })), h("hr", { key: 'abbee22f5664275f27dd8eeb2b12c87b059ff024', class: "mt-2" }), h("div", { key: 'e165ff125df62dc1d22b7329fe7fe2ff200cbbb3', class: "row gy-3" }, h("div", { key: '114ff752eeda3ffa90529ff6bc675b874f543336', class: "col-12 col-md-8" }, h("form-control-text", { key: '8b6ce9f4a327ca5282aa32c226f671945aa10404', name: "name", label: "Full Name", defaultValue: (_a = this.representativeDefaultValue) === null || _a === void 0 ? void 0 : _a.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: 'bce864367883c6bbf7bd0841114a3dbb39db692b', class: "col-12 col-md-4" }, h("form-control-text", { key: 'ec3e72dc3f84c0daee2c6509f7dbf2bad22f5db6', name: "title", label: "Title", defaultValue: (_b = this.representativeDefaultValue) === null || _b === void 0 ? void 0 : _b.title, errorText: this.errors.title, inputHandler: this.inputHandler, helpText: "Role at your business, e.g. President, CEO, Treasurer." })), h("div", { key: '200ae959d897d9d22016553d3c586cf3f0438dd9', class: "col-12 col-md-6" }, h("form-control-text", { key: '4f77d6ca6c3c85edabc11af6f5703ab1327f05e7', name: "email", label: "Email Address", defaultValue: (_c = this.representativeDefaultValue) === null || _c === void 0 ? void 0 : _c.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: 'cf642ee73f7ae8b254920a3f781c23dc456f16ae', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: 'df609213bec728f17b2527a2e99ff3e0e69604aa', name: "phone", label: "Phone Number", defaultValue: (_d = this.representativeDefaultValue) === null || _d === void 0 ? void 0 : _d.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: '2e4565c06976723ae4e497a5305cea7468bac2f4', class: "col-12 col-md-4" }, h("form-control-date", { key: 'ca7d4bf05c32d1d9983df430d338cc3433015957', name: "dob_full", label: "Birth Date", defaultValue: (_e = this.representativeDefaultValue) === null || _e === void 0 ? void 0 : _e.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: (e) => updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), h("div", { key: 'f6cbe1b7f4e5575f626e6d73f31b4a1a09ac33e3', class: "col-12 col-md-8" }, (!((_f = this.representativeDefaultValue) === null || _f === void 0 ? void 0 : _f.ssn_last4) || this.isEditingIdentification) ? (h("form-control-number-masked", { name: "identification_number", label: countryLabels[this.country].idNumberLabel, defaultValue: this.isEditingIdentification ? '' : (_g = this.representativeDefaultValue) === null || _g === void 0 ? void 0 : _g.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: IDENTITY_MASKS[this.country], helpText: countryLabels[this.country].identityHelpText })) : (h("div", null, h("label", { class: "form-label", part: label }, countryLabels[this.country].idNumberLabel), h("div", { class: "input-group mb-3" }, h("input", { type: "text", class: "form-control", part: inputDisabled, value: `****${(_h = this.representativeDefaultValue) === null || _h === void 0 ? void 0 : _h.ssn_last4}`, disabled: true }), h("button", { class: "btn btn-secondary", type: "button", part: buttonSecondary, onClick: () => {
19
19
  this.isEditingIdentification = true;
20
20
  // Clear current value to force validation
21
21
  updateFormValues(this.formController, {
22
22
  identification_number: '',
23
23
  ssn_last4: null
24
24
  });
25
- } }, "Change"))))), h("div", { key: '755e3bf64ad60ff7801041bf17bdf96763a3153e', class: "col-12" }, h("justifi-identity-address-form", { key: 'a39d586db59a3f2072f66a22f5f4671c07a6b560', errors: this.errors.address, defaultValues: (_j = this.representativeDefaultValue) === null || _j === void 0 ? void 0 : _j.address, handleFormUpdate: this.onAddressFormUpdate, country: this.country }))))));
25
+ } }, "Change"))))), h("div", { key: 'e3fa556dece2feaf5eb175ae3734c2319777ef48', class: "col-12" }, h("justifi-identity-address-form", { key: 'fe3d349371d11b8a246b9c31aebd7d9c84e03f8e', errors: this.errors.address, defaultValues: (_j = this.representativeDefaultValue) === null || _j === void 0 ? void 0 : _j.address, handleFormUpdate: this.onAddressFormUpdate, country: this.country }))))));
26
26
  }
27
27
  static get is() { return "justifi-business-representative-form-inputs"; }
28
28
  static get properties() {
@@ -35,7 +35,7 @@ export class RepresentativeFormInputs {
35
35
  "resolved": "any",
36
36
  "references": {}
37
37
  },
38
- "required": false,
38
+ "required": true,
39
39
  "optional": false,
40
40
  "docs": {
41
41
  "tags": [],
@@ -54,7 +54,7 @@ export class RepresentativeFormInputs {
54
54
  "resolved": "any",
55
55
  "references": {}
56
56
  },
57
- "required": false,
57
+ "required": true,
58
58
  "optional": false,
59
59
  "docs": {
60
60
  "tags": [],
@@ -79,7 +79,7 @@ export class RepresentativeFormInputs {
79
79
  }
80
80
  }
81
81
  },
82
- "required": false,
82
+ "required": true,
83
83
  "optional": false,
84
84
  "docs": {
85
85
  "tags": [],
@@ -102,7 +102,7 @@ export class RepresentativeFormInputs {
102
102
  }
103
103
  }
104
104
  },
105
- "required": false,
105
+ "required": true,
106
106
  "optional": false,
107
107
  "docs": {
108
108
  "tags": [],
@@ -133,7 +133,7 @@ export class BusinessRepresentativeFormStep {
133
133
  "resolved": "string",
134
134
  "references": {}
135
135
  },
136
- "required": false,
136
+ "required": true,
137
137
  "optional": false,
138
138
  "docs": {
139
139
  "tags": [],
@@ -152,7 +152,7 @@ export class BusinessRepresentativeFormStep {
152
152
  "resolved": "string",
153
153
  "references": {}
154
154
  },
155
- "required": false,
155
+ "required": true,
156
156
  "optional": false,
157
157
  "docs": {
158
158
  "tags": [],
@@ -10,7 +10,7 @@ export class FormAddressFields {
10
10
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
11
11
  const labels = countryLabels[this.country];
12
12
  const options = countryOptions[this.country];
13
- return (h(Host, { key: 'dde5469230a6067ab343e77b1e11e25d815caa5a' }, h("div", { key: 'a28ca49da90e4981e363ccc69fa59e930097cad2', class: "row gy-3" }, h("div", { key: 'dc6e201854c758cbbd493dd23c38a40e072cfaaf', class: "col-12" }, h("form-control-text", { key: 'a2e43eb37e7df69c89484f74adf7f297183818d7', name: "line1", label: "Street Address", inputHandler: this.inputHandler, defaultValue: (_a = this.defaultValues) === null || _a === void 0 ? void 0 : _a.line1, errorText: (_b = this.errors) === null || _b === void 0 ? void 0 : _b.line1, helpText: "No PO Boxes." })), h("div", { key: 'e59a0af86c1146e1c5ac2b86f0e531bab76467cc', class: "col-12" }, h("form-control-text", { key: '8ba59e74e6be2bc5980ff2c08126c9df77460ab2', name: "line2", label: "Address Line 2 (optional)", inputHandler: this.inputHandler, defaultValue: (_c = this.defaultValues) === null || _c === void 0 ? void 0 : _c.line2, errorText: (_d = this.errors) === null || _d === void 0 ? void 0 : _d.line2 })), h("div", { key: '671a3098a6295c6702b670506a8a17190a4cf90a', class: "col-12" }, h("form-control-text", { key: 'cb1c90bd567e1ecb82a9be4c540eab7ca2bcfb99', name: "city", label: "City", inputHandler: this.inputHandler, defaultValue: (_e = this.defaultValues) === null || _e === void 0 ? void 0 : _e.city, errorText: (_f = this.errors) === null || _f === void 0 ? void 0 : _f.city })), h("div", { key: '554e28a4a0cdc81076f0342b31ccb1cad3c122f7', class: "col-12" }, h("form-control-select", { key: '9fb1e73cf440173d9a4a94f23eca5dbf77310e76', name: "state", label: labels.stateLabel, options: options.stateOptions, inputHandler: this.inputHandler, defaultValue: (_g = this.defaultValues) === null || _g === void 0 ? void 0 : _g.state, errorText: (_h = this.errors) === null || _h === void 0 ? void 0 : _h.state })), h("div", { key: 'fbde65bfada699a7bcab4bb642b39cae3dc123b8', class: "col-12" }, h("form-control-text", { key: '9218151756e93820985c88721bb549904e0f7212', name: "postal_code", label: labels.postalLabel, inputHandler: this.inputHandler, defaultValue: (_j = this.defaultValues) === null || _j === void 0 ? void 0 : _j.postal_code, errorText: (_k = this.errors) === null || _k === void 0 ? void 0 : _k.postal_code, maxLength: this.country === CountryCode.USA ? 5 : 7, keyDownHandler: this.country === CountryCode.USA ? numberOnlyHandler : undefined })))));
13
+ return (h(Host, { key: '8dabbee93e0f319db333ada6c20af49ed6131b8d' }, h("div", { key: '4b308ca9fa92321e5f60f3e4d9ab1c4e60cbd703', class: "row gy-3" }, h("div", { key: '9c25eec2effd7caed70a3f02f6a780513fae930c', class: "col-12" }, h("form-control-text", { key: '6c2ae178c2122d1f6085906690adadf98cb0774b', name: "line1", label: "Street Address", inputHandler: this.inputHandler, defaultValue: (_a = this.defaultValues) === null || _a === void 0 ? void 0 : _a.line1, errorText: (_b = this.errors) === null || _b === void 0 ? void 0 : _b.line1, helpText: "No PO Boxes." })), h("div", { key: 'eba53a69fc4c869014ef8b7bf6ff9b1d8f5be566', class: "col-12" }, h("form-control-text", { key: '11c743ce2388173c41cb16f1865fe58b2015d6bb', name: "line2", label: "Address Line 2 (optional)", inputHandler: this.inputHandler, defaultValue: (_c = this.defaultValues) === null || _c === void 0 ? void 0 : _c.line2, errorText: (_d = this.errors) === null || _d === void 0 ? void 0 : _d.line2 })), h("div", { key: '2025c9bb15286f5c3e4693b596372a7dff730ce8', class: "col-12" }, h("form-control-text", { key: '5e0e40fd028d12b88cb15a38906738320e30aeca', name: "city", label: "City", inputHandler: this.inputHandler, defaultValue: (_e = this.defaultValues) === null || _e === void 0 ? void 0 : _e.city, errorText: (_f = this.errors) === null || _f === void 0 ? void 0 : _f.city })), h("div", { key: '5ec53f357907749c9abdcf568c027b71faad19fa', class: "col-12" }, h("form-control-select", { key: 'b9eef22eb507ffbd58c26bffa41b5b225925297c', name: "state", label: labels.stateLabel, options: options.stateOptions, inputHandler: this.inputHandler, defaultValue: (_g = this.defaultValues) === null || _g === void 0 ? void 0 : _g.state, errorText: (_h = this.errors) === null || _h === void 0 ? void 0 : _h.state })), h("div", { key: '7456cd4f6b62b59bc9289ca3721440083e9aa4f3', class: "col-12" }, h("form-control-text", { key: 'c483c93d0f09d5ded3c11145216273ba75822009', name: "postal_code", label: labels.postalLabel, inputHandler: this.inputHandler, defaultValue: (_j = this.defaultValues) === null || _j === void 0 ? void 0 : _j.postal_code, errorText: (_k = this.errors) === null || _k === void 0 ? void 0 : _k.postal_code, maxLength: this.country === CountryCode.USA ? 5 : 7, keyDownHandler: this.country === CountryCode.USA ? numberOnlyHandler : undefined })))));
14
14
  }
15
15
  static get is() { return "justifi-form-address-fields"; }
16
16
  static get properties() {
@@ -49,7 +49,7 @@ export class FormAddressFields {
49
49
  "resolved": "any",
50
50
  "references": {}
51
51
  },
52
- "required": false,
52
+ "required": true,
53
53
  "optional": false,
54
54
  "docs": {
55
55
  "tags": [],
@@ -68,7 +68,7 @@ export class FormAddressFields {
68
68
  "resolved": "any",
69
69
  "references": {}
70
70
  },
71
- "required": false,
71
+ "required": true,
72
72
  "optional": false,
73
73
  "docs": {
74
74
  "tags": [],
@@ -87,7 +87,7 @@ export class FormAddressFields {
87
87
  "resolved": "(name: string, value: string) => void",
88
88
  "references": {}
89
89
  },
90
- "required": false,
90
+ "required": true,
91
91
  "optional": false,
92
92
  "docs": {
93
93
  "tags": [],
@@ -7,7 +7,11 @@ export class MonetaryInputProvisioning {
7
7
  constructor() {
8
8
  this.imask = null;
9
9
  this.isFocused = false;
10
+ this.errorText = '';
11
+ this.defaultValue = '0';
12
+ this.inputHandler = () => { };
10
13
  this.maskOptions = CURRENCY_MASK.DECIMAL;
14
+ this.disabled = false;
11
15
  this.initializeIMask = () => {
12
16
  if (!this.textInput)
13
17
  return;
@@ -56,10 +60,10 @@ export class MonetaryInputProvisioning {
56
60
  return part;
57
61
  }
58
62
  render() {
59
- return (h(Host, { key: '5dc9ad5ec4f9af9bb4afec0d5265a35c52167721' }, h("div", { key: '03efd5093d0176772bbcb070b8e580c1c027ed0e', class: "form-group d-flex flex-column" }, h("label", { key: '153721fcb4f29fca302512ecc29b8bc30e5f6aa3', part: label, class: "form-label", htmlFor: this.name }, this.label), h("div", { key: '16250c5429d1047febcdd056b55a38a09441fcbd', class: "input-group" }, h("span", { key: '12d29ec8820f21bfa2ba7ae25217cb9bf3944cb8', class: "input-group-text", part: inputAdornment }, "$"), h("input", { key: '9eb4547dba64f8979b30e8d212b7e0576c3b4491', ref: el => (this.textInput = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
63
+ return (h(Host, { key: '7a72954c74f3cb31f92d565835de4aceb874a1b5' }, h("div", { key: 'e05612ec4b1b195a24f5a2d2a00ca5b284b4c2f7', class: "form-group d-flex flex-column" }, h("label", { key: 'ffabdebea58878f550cad78430783bcb8372f2c1', part: label, class: "form-label", htmlFor: this.name }, this.label), h("div", { key: '3593ef8b4adda873a7d6b1789253bc6e1748dcfc', class: "input-group" }, h("span", { key: 'b42f4a51f38451ee36fff437b3a60bd1292d6307', class: "input-group-text", part: inputAdornment }, "$"), h("input", { key: 'd49072c9c3653540fc8edca8a8dd86ad34bef902', ref: el => (this.textInput = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
60
64
  this.isFocused = false;
61
65
  this.formControlBlur.emit();
62
- }, onInput: this.handleFormControlInput, part: this.inputPart, class: this.errorText ? 'form-control monetary is-invalid' : 'form-control monetary', type: "text", disabled: this.disabled })), h(FormControlHelpText, { key: 'c6601c7cc606c915bf3c01535bd907d4990ea0ca', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: '89634f2156d5aae538e700f16554451120ec8a6d', errorText: this.errorText, name: this.name }))));
66
+ }, onInput: this.handleFormControlInput, part: this.inputPart, class: this.errorText ? 'form-control monetary is-invalid' : 'form-control monetary', type: "text", disabled: this.disabled })), h(FormControlHelpText, { key: 'd714b88d923f5f38f1b66620c5513ce7c82a7ef0', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: '47b9d96f588785bb2597b16a685c18889e1945c1', errorText: this.errorText, name: this.name }))));
63
67
  }
64
68
  static get is() { return "form-control-monetary-provisioning"; }
65
69
  static get properties() {
@@ -72,7 +76,7 @@ export class MonetaryInputProvisioning {
72
76
  "resolved": "string",
73
77
  "references": {}
74
78
  },
75
- "required": false,
79
+ "required": true,
76
80
  "optional": false,
77
81
  "docs": {
78
82
  "tags": [],
@@ -91,7 +95,7 @@ export class MonetaryInputProvisioning {
91
95
  "resolved": "string",
92
96
  "references": {}
93
97
  },
94
- "required": false,
98
+ "required": true,
95
99
  "optional": false,
96
100
  "docs": {
97
101
  "tags": [],
@@ -138,7 +142,8 @@ export class MonetaryInputProvisioning {
138
142
  "getter": false,
139
143
  "setter": false,
140
144
  "reflect": false,
141
- "attribute": "error-text"
145
+ "attribute": "error-text",
146
+ "defaultValue": "''"
142
147
  },
143
148
  "defaultValue": {
144
149
  "type": "string",
@@ -149,7 +154,7 @@ export class MonetaryInputProvisioning {
149
154
  "references": {}
150
155
  },
151
156
  "required": false,
152
- "optional": false,
157
+ "optional": true,
153
158
  "docs": {
154
159
  "tags": [],
155
160
  "text": ""
@@ -157,7 +162,8 @@ export class MonetaryInputProvisioning {
157
162
  "getter": false,
158
163
  "setter": false,
159
164
  "reflect": false,
160
- "attribute": "default-value"
165
+ "attribute": "default-value",
166
+ "defaultValue": "'0'"
161
167
  },
162
168
  "inputHandler": {
163
169
  "type": "unknown",
@@ -168,13 +174,14 @@ export class MonetaryInputProvisioning {
168
174
  "references": {}
169
175
  },
170
176
  "required": false,
171
- "optional": false,
177
+ "optional": true,
172
178
  "docs": {
173
179
  "tags": [],
174
180
  "text": ""
175
181
  },
176
182
  "getter": false,
177
- "setter": false
183
+ "setter": false,
184
+ "defaultValue": "() => { }"
178
185
  },
179
186
  "maskOptions": {
180
187
  "type": "any",
@@ -205,7 +212,7 @@ export class MonetaryInputProvisioning {
205
212
  "references": {}
206
213
  },
207
214
  "required": false,
208
- "optional": false,
215
+ "optional": true,
209
216
  "docs": {
210
217
  "tags": [],
211
218
  "text": ""
@@ -213,7 +220,8 @@ export class MonetaryInputProvisioning {
213
220
  "getter": false,
214
221
  "setter": false,
215
222
  "reflect": false,
216
- "attribute": "disabled"
223
+ "attribute": "disabled",
224
+ "defaultValue": "false"
217
225
  }
218
226
  };
219
227
  }
@@ -126,7 +126,7 @@ export class LegalAddressFormStep {
126
126
  "resolved": "string",
127
127
  "references": {}
128
128
  },
129
- "required": false,
129
+ "required": true,
130
130
  "optional": false,
131
131
  "docs": {
132
132
  "tags": [],
@@ -145,7 +145,7 @@ export class LegalAddressFormStep {
145
145
  "resolved": "string",
146
146
  "references": {}
147
147
  },
148
- "required": false,
148
+ "required": true,
149
149
  "optional": false,
150
150
  "docs": {
151
151
  "tags": [],
@@ -6,9 +6,11 @@ import { text } from "../../../styles/parts";
6
6
  import { BusinessFormClickActions } from "../utils/event-types";
7
7
  import { CountryCode } from "../../../utils/country-codes";
8
8
  import { Business } from "../../../api/Business";
9
+ import { PaymentProvisioningLoading } from "./payment-provisioning-loading";
9
10
  export class PaymentProvisioningCore {
10
11
  constructor() {
11
12
  this.loading = false;
13
+ this.businessLoading = true;
12
14
  this.businessProvisioned = false;
13
15
  this.currentStep = 0;
14
16
  this.country = CountryCode.USA;
@@ -27,6 +29,7 @@ export class PaymentProvisioningCore {
27
29
  severity: ComponentErrorSeverity.INFO,
28
30
  });
29
31
  }
32
+ this.businessLoading = false;
30
33
  resolve();
31
34
  },
32
35
  onError: ({ error, code, severity }) => {
@@ -35,6 +38,7 @@ export class PaymentProvisioningCore {
35
38
  errorCode: code,
36
39
  severity: severity
37
40
  });
41
+ this.businessLoading = false;
38
42
  resolve();
39
43
  }
40
44
  });
@@ -77,8 +81,12 @@ export class PaymentProvisioningCore {
77
81
  this.postProvisioningData();
78
82
  }
79
83
  async componentWillLoad() {
80
- if (this.getBusiness)
84
+ if (this.getBusiness) {
81
85
  await this.setBusinessProvisioned();
86
+ }
87
+ else {
88
+ this.businessLoading = false;
89
+ }
82
90
  this.refs = [
83
91
  this.coreInfoRef,
84
92
  this.legalAddressRef,
@@ -99,13 +107,16 @@ export class PaymentProvisioningCore {
99
107
  return this.refs.length - 1;
100
108
  }
101
109
  get stepCounter() {
102
- return `${this.currentStep + 1} of ${this.totalSteps + 1}`;
110
+ return `Step ${this.currentStep + 1} of ${this.totalSteps + 1}`;
103
111
  }
104
112
  handleFormLoading(event) {
105
113
  this.loading = event.detail;
106
114
  }
107
115
  render() {
108
- return (h(StyledHost, { key: '058aaacf6c0fe49ef24e50b575247efb470c4254' }, h("div", { key: 'd4d329af8f8e4ccd8e7ddb2d7050797fe9ec5824', class: 'row gap-3' }, h(Header1, { key: 'd2358393171311c9dd6b03ca3509e2775d784e4c', text: this.formTitle }), h("justifi-payment-provisioning-form-steps", { key: 'd7a8767e276c28c2ca0413ac0d1195cb98b9fe0b', businessId: this.businessId, authToken: this.authToken, refs: this.refs, currentStep: this.currentStep, allowOptionalFields: this.allowOptionalFields, country: this.country, handleFormLoading: this.handleFormLoading }), h("div", { key: '37dc95f2e8785c0e2ac969294b86318d81237b0b', class: 'd-flex justify-content-between align-items-center' }, h("div", { key: '54e6fe77e63faf3b2ae725c349748cf9c34322b0', class: 'd-flex align-items-center', part: text }, this.stepCounter), h("justifi-payment-provisioning-form-buttons", { key: 'aa3e1c621248f1daa48ae7e66dd76c03e0a9eb3c', currentStep: this.currentStep, totalSteps: this.totalSteps, formLoading: this.loading, formDisabled: this.formDisabled, previousStepButtonOnClick: this.previousStepButtonOnClick, nextStepButtonOnClick: this.nextStepButtonOnClick })))));
116
+ if (this.businessLoading) {
117
+ return (h(StyledHost, null, h(PaymentProvisioningLoading, null)));
118
+ }
119
+ return (h(StyledHost, null, h("div", { class: 'row gap-3' }, h(Header1, { text: this.formTitle }), h("justifi-payment-provisioning-form-steps", { businessId: this.businessId, authToken: this.authToken, refs: this.refs, currentStep: this.currentStep, allowOptionalFields: this.allowOptionalFields, country: this.country, handleFormLoading: this.handleFormLoading }), h("div", { class: 'd-flex justify-content-between align-items-center' }, h("div", { class: 'd-flex align-items-center', part: text }, this.stepCounter), h("justifi-payment-provisioning-form-buttons", { currentStep: this.currentStep, totalSteps: this.totalSteps, formLoading: this.loading, formDisabled: this.formDisabled, previousStepButtonOnClick: this.previousStepButtonOnClick, nextStepButtonOnClick: this.nextStepButtonOnClick })))));
109
120
  }
110
121
  static get is() { return "justifi-payment-provisioning-core"; }
111
122
  static get properties() {
@@ -118,7 +129,7 @@ export class PaymentProvisioningCore {
118
129
  "resolved": "string",
119
130
  "references": {}
120
131
  },
121
- "required": false,
132
+ "required": true,
122
133
  "optional": false,
123
134
  "docs": {
124
135
  "tags": [],
@@ -137,7 +148,7 @@ export class PaymentProvisioningCore {
137
148
  "resolved": "string",
138
149
  "references": {}
139
150
  },
140
- "required": false,
151
+ "required": true,
141
152
  "optional": false,
142
153
  "docs": {
143
154
  "tags": [],
@@ -176,7 +187,7 @@ export class PaymentProvisioningCore {
176
187
  "resolved": "string",
177
188
  "references": {}
178
189
  },
179
- "required": false,
190
+ "required": true,
180
191
  "optional": false,
181
192
  "docs": {
182
193
  "tags": [],
@@ -200,7 +211,7 @@ export class PaymentProvisioningCore {
200
211
  }
201
212
  }
202
213
  },
203
- "required": false,
214
+ "required": true,
204
215
  "optional": false,
205
216
  "docs": {
206
217
  "tags": [],
@@ -222,7 +233,7 @@ export class PaymentProvisioningCore {
222
233
  }
223
234
  }
224
235
  },
225
- "required": false,
236
+ "required": true,
226
237
  "optional": false,
227
238
  "docs": {
228
239
  "tags": [],
@@ -236,6 +247,7 @@ export class PaymentProvisioningCore {
236
247
  static get states() {
237
248
  return {
238
249
  "loading": {},
250
+ "businessLoading": {},
239
251
  "businessProvisioned": {},
240
252
  "currentStep": {},
241
253
  "errorMessage": {},