@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
@@ -1,12 +1,13 @@
1
- import { a as getRenderingRef, f as forceUpdate } from './index-DwYM91AU.js';
1
+ import { S as StencilCore } from './index-CV0Pyo1O.js';
2
2
 
3
3
  const appendToMap = (map, propName, value) => {
4
- const items = map.get(propName);
5
- if (!items) {
6
- map.set(propName, [value]);
4
+ let refs = map.get(propName);
5
+ if (!refs) {
6
+ refs = [];
7
+ map.set(propName, refs);
7
8
  }
8
- else if (!items.includes(value)) {
9
- items.push(value);
9
+ if (!refs.some((ref) => ref.deref() === value)) {
10
+ refs.push(new WeakRef(value));
10
11
  }
11
12
  };
12
13
  const debounce = (fn, ms) => {
@@ -34,33 +35,54 @@ const debounce = (fn, ms) => {
34
35
  const isConnected = (maybeElement) => !('isConnected' in maybeElement) || maybeElement.isConnected;
35
36
  const cleanupElements = debounce((map) => {
36
37
  for (let key of map.keys()) {
37
- map.set(key, map.get(key).filter(isConnected));
38
+ const refs = map.get(key).filter((ref) => {
39
+ const elm = ref.deref();
40
+ return elm && isConnected(elm);
41
+ });
42
+ map.set(key, refs);
38
43
  }
39
44
  }, 2_000);
45
+ const core = StencilCore;
46
+ const forceUpdate = core.forceUpdate;
47
+ const getRenderingRef = core.getRenderingRef;
40
48
  const stencilSubscription = () => {
41
- if (typeof getRenderingRef !== 'function') {
49
+ if (typeof getRenderingRef !== 'function' || typeof forceUpdate !== 'function') {
42
50
  // If we are not in a stencil project, we do nothing.
43
51
  // This function is not really exported by @stencil/core.
44
52
  return {};
45
53
  }
54
+ const ensureForceUpdate = forceUpdate;
55
+ const ensureGetRenderingRef = getRenderingRef;
46
56
  const elmsToUpdate = new Map();
47
57
  return {
48
58
  dispose: () => elmsToUpdate.clear(),
49
59
  get: (propName) => {
50
- const elm = getRenderingRef();
60
+ const elm = ensureGetRenderingRef();
51
61
  if (elm) {
52
62
  appendToMap(elmsToUpdate, propName, elm);
53
63
  }
54
64
  },
55
65
  set: (propName) => {
56
- const elements = elmsToUpdate.get(propName);
57
- if (elements) {
58
- elmsToUpdate.set(propName, elements.filter(forceUpdate));
66
+ const refs = elmsToUpdate.get(propName);
67
+ if (refs) {
68
+ const nextRefs = refs.filter((ref) => {
69
+ const elm = ref.deref();
70
+ if (!elm)
71
+ return false;
72
+ return ensureForceUpdate(elm);
73
+ });
74
+ elmsToUpdate.set(propName, nextRefs);
59
75
  }
60
76
  cleanupElements(elmsToUpdate);
61
77
  },
62
78
  reset: () => {
63
- elmsToUpdate.forEach((elms) => elms.forEach(forceUpdate));
79
+ elmsToUpdate.forEach((refs) => {
80
+ refs.forEach((ref) => {
81
+ const elm = ref.deref();
82
+ if (elm)
83
+ ensureForceUpdate(elm);
84
+ });
85
+ });
64
86
  cleanupElements(elmsToUpdate);
65
87
  },
66
88
  };
@@ -68,8 +90,11 @@ const stencilSubscription = () => {
68
90
 
69
91
  const unwrap = (val) => (typeof val === 'function' ? val() : val);
70
92
  const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) => {
71
- const unwrappedState = unwrap(defaultState);
72
- let states = new Map(Object.entries(unwrappedState ?? {}));
93
+ const resolveDefaultState = () => (unwrap(defaultState) ?? {});
94
+ const initialState = resolveDefaultState();
95
+ let states = new Map(Object.entries(initialState));
96
+ const proxyAvailable = typeof Proxy !== 'undefined';
97
+ const plainState = proxyAvailable ? null : {};
73
98
  const handlers = {
74
99
  dispose: [],
75
100
  get: [],
@@ -81,7 +106,10 @@ const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) =>
81
106
  const reset = () => {
82
107
  // When resetting the state, the default state may be a function - unwrap it to invoke it.
83
108
  // otherwise, the state won't be properly reset
84
- states = new Map(Object.entries(unwrap(defaultState) ?? {}));
109
+ states = new Map(Object.entries(resolveDefaultState()));
110
+ if (!proxyAvailable) {
111
+ syncPlainStateKeys();
112
+ }
85
113
  handlers.reset.forEach((cb) => cb());
86
114
  };
87
115
  const dispose = () => {
@@ -98,12 +126,14 @@ const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) =>
98
126
  const oldValue = states.get(propName);
99
127
  if (shouldUpdate(value, oldValue, propName)) {
100
128
  states.set(propName, value);
129
+ if (!proxyAvailable) {
130
+ ensurePlainProperty(propName);
131
+ }
101
132
  handlers.set.forEach((cb) => cb(propName, value, oldValue));
102
133
  }
103
134
  };
104
- const state = (typeof Proxy === 'undefined'
105
- ? {}
106
- : new Proxy(unwrappedState, {
135
+ const state = (proxyAvailable
136
+ ? new Proxy(initialState, {
107
137
  get(_, propName) {
108
138
  return get(propName);
109
139
  },
@@ -123,7 +153,11 @@ const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) =>
123
153
  set(propName, value);
124
154
  return true;
125
155
  },
126
- }));
156
+ })
157
+ : (() => {
158
+ syncPlainStateKeys();
159
+ return plainState;
160
+ })());
127
161
  const on = (eventName, callback) => {
128
162
  handlers[eventName].push(callback);
129
163
  return () => {
@@ -136,7 +170,10 @@ const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) =>
136
170
  cb(newValue);
137
171
  }
138
172
  };
139
- const resetHandler = () => cb(unwrap(defaultState)[propName]);
173
+ const resetHandler = () => {
174
+ const snapshot = resolveDefaultState();
175
+ cb(snapshot[propName]);
176
+ };
140
177
  // Register the handlers
141
178
  const unSet = on('set', setHandler);
142
179
  const unReset = on('reset', resetHandler);
@@ -179,6 +216,38 @@ const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) =>
179
216
  changeListeners.delete(listener);
180
217
  }
181
218
  };
219
+ function ensurePlainProperty(key) {
220
+ if (proxyAvailable || !plainState) {
221
+ return;
222
+ }
223
+ if (Object.prototype.hasOwnProperty.call(plainState, key)) {
224
+ return;
225
+ }
226
+ Object.defineProperty(plainState, key, {
227
+ configurable: true,
228
+ enumerable: true,
229
+ get() {
230
+ return get(key);
231
+ },
232
+ set(value) {
233
+ set(key, value);
234
+ },
235
+ });
236
+ }
237
+ function syncPlainStateKeys() {
238
+ if (proxyAvailable || !plainState) {
239
+ return;
240
+ }
241
+ const knownKeys = new Set(states.keys());
242
+ for (const key of Object.keys(plainState)) {
243
+ if (!knownKeys.has(key)) {
244
+ delete plainState[key];
245
+ }
246
+ }
247
+ for (const key of knownKeys) {
248
+ ensurePlainProperty(key);
249
+ }
250
+ }
182
251
  return {
183
252
  state,
184
253
  get,
@@ -1,4 +1,4 @@
1
- import { d as deconstructDate } from './Business-B5rtFhtR.js';
1
+ import { d as deconstructDate } from './Business-CHJTjG_5.js';
2
2
 
3
3
  const updateFormValues = (formController, newValues) => {
4
4
  formController.setValues(Object.assign(Object.assign({}, formController.values.getValue()), newValues));
@@ -1,6 +1,6 @@
1
- import { h } from './index-DwYM91AU.js';
2
- import { J as heading2 } from './parts-sA8HBfkI.js';
3
- import { c as createStore } from './index-B-fWxE5e.js';
1
+ import { h } from './index-CV0Pyo1O.js';
2
+ import { D as heading2 } from './parts-DrquDBSk.js';
3
+ import { c as createStore } from './index-cDVGjRkU.js';
4
4
 
5
5
  const Header2 = (props) => {
6
6
  return h("h2", { class: `header-2 ${props === null || props === void 0 ? void 0 : props.class}`, part: heading2 }, props.text);
@@ -1,27 +1,27 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement, H as Host } from './index-DwYM91AU.js';
2
- import { S as StyledHost } from './styled-host-DhOcKWqZ.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement, H as Host } from './index-CV0Pyo1O.js';
2
+ import { S as StyledHost } from './styled-host-D6byRazK.js';
3
3
  import './event-types-CZfYo5-1.js';
4
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-c_8fDHCB.js';
5
- import { w as waitForConfig, c as configState } from './config-state-C2NXATwF.js';
4
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-DIZ2yD72.js';
5
+ import { w as waitForConfig, c as configState } from './config-state-kKn89dp1.js';
6
6
  import './dinero-HXpYMWUU.js';
7
7
  import { a as ComponentErrorCodes, C as ComponentErrorSeverity } from './ComponentError-Cjcsf8ku.js';
8
- import { c as checkoutStore } from './GooglePay-NNHE-OLJ.js';
8
+ import { c as checkoutStore } from './GooglePay-5EiPffHy.js';
9
9
  import './Pagination-CLHwhyvu.js';
10
- import './Business-B5rtFhtR.js';
10
+ import './Business-CHJTjG_5.js';
11
11
  import './Dispute-BH0Xfn-F.js';
12
12
  import { P as PAYMENT_METHODS } from './index-DkoufM1t.js';
13
- import { S as Skeleton } from './skeleton-Dtt56Fl3.js';
13
+ import { S as Skeleton } from './skeleton-D9UXuoik.js';
14
14
  import { b as generateTabId } from './utils-CDaVtz_6.js';
15
- import { B as Button } from './button-Bpf3VX8Q.js';
16
- import { v as radioListItem } from './parts-sA8HBfkI.js';
17
- import './package-BzT9OxlN.js';
18
- import './Api-Dln8a6No.js';
19
- import './index-B-fWxE5e.js';
15
+ import { B as Button } from './button-DMeChykB.js';
16
+ import { r as radioListItem } from './parts-DrquDBSk.js';
17
+ import './package-ZkBwsSuI.js';
18
+ import './Api-ohkSjyhl.js';
19
+ import './index-cDVGjRkU.js';
20
20
 
21
21
  const JustifiRadioListItem = class {
22
22
  constructor(hostRef) {
23
23
  registerInstance(this, hostRef);
24
- this.radioClick = createEvent(this, "radio-click");
24
+ this.radioClick = createEvent(this, "radio-click", 7);
25
25
  this.checked = false;
26
26
  this.hidden = false;
27
27
  this.handleClick = () => {
@@ -47,8 +47,8 @@ const ERROR_MESSAGES = {
47
47
  const InternalTokenizePaymentMethod = class {
48
48
  constructor(hostRef) {
49
49
  registerInstance(this, hostRef);
50
- this.errorEvent = createEvent(this, "error-event");
51
- this.submitEvent = createEvent(this, "submit-event");
50
+ this.errorEvent = createEvent(this, "error-event", 7);
51
+ this.submitEvent = createEvent(this, "submit-event", 7);
52
52
  this.computedHideSubmitButton = false;
53
53
  this.isLoading = false;
54
54
  this.submitButtonText = 'Submit';
@@ -278,7 +278,7 @@ const InternalTokenizePaymentMethod = class {
278
278
  return paymentMethodType === PAYMENT_METHODS.NEW_CARD ? (h("justifi-card-form", { ref: (el) => (this.paymentMethodFormRef = el) })) : (h("justifi-bank-account-form", { ref: (el) => (this.paymentMethodFormRef = el) }));
279
279
  }
280
280
  render() {
281
- return (h(StyledHost, { key: '8017b0fe2b0e3045a097e30aadf6a54ed2c32e62' }, h("form", { key: 'c7b0ac690a66cfb693d28e7d0eabc93817de4659' }, h("fieldset", { key: 'fb29e26a4100985595c420024d2a5ff48c79043b' }, h("div", { key: '589f51297059afda2e385281dcfeafd67fbd2268', class: "row gy-3" }, h("div", { key: 'bf067015fb3ff24e08501899e370f92dda774c2e', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), h("div", { key: '28872ca9239e2f85cb83ad8e6f27dc10f84da151', class: "col-12" }, h("justifi-button", { key: '1be3f46e34b42e69d065384dd195d7fdc09a0560', text: this.submitButtonText, variant: "primary", type: "submit", clickHandler: (e) => this.tokenizePaymentMethod(e), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.computedHideSubmitButton })))))));
281
+ return (h(StyledHost, { key: 'ffe62ce1bf31ab84080d3a4c158db3b537aea2fb' }, h("form", { key: '26d7942c4d88a758e03627a6042892a4dcb0a306' }, h("fieldset", { key: 'b789b31bad42d4c6912103abe653205165e44e8d' }, h("div", { key: '2e0fe382eb8a0018692ca9da2c911229ed981f0d', class: "row gy-3" }, h("div", { key: '3120e6ddd56b184f2530a1e8c1bb28f2c0f70579', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), h("div", { key: '9de5bfc72cce2818aba19408ee835d0762d1e777', class: "col-12" }, h("justifi-button", { key: '5bd8cfb66fd34cc6773342175ae22771a095fcab', text: this.submitButtonText, variant: "primary", type: "submit", clickHandler: (e) => this.tokenizePaymentMethod(e), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.computedHideSubmitButton })))))));
282
282
  }
283
283
  get host() { return getElement(this); }
284
284
  static get watchers() { return {
@@ -333,10 +333,10 @@ const BankAccountForm = class {
333
333
  return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
334
334
  }
335
335
  render() {
336
- return (h(StyledHost, { key: '1513483acd2de524f8634feb14f366a269601e06' }, h(BankAccountFormSkeleton, { key: '8b14e99af751f3dbf6e0a3d2d187b44e0934456d', isReady: this.isReady }), h("hidden-input", { key: 'edfc3e1b190f28eee4a3769ff33fb7b8220f73d3' }), h("div", { key: '9371fe5f4e189c882d16bec25068efcc6d56aff9', class: "container-fluid p-0", style: {
336
+ return (h(StyledHost, { key: '6c1e183b7ba2c70b41e22386d74a9cf7430aa8d5' }, h(BankAccountFormSkeleton, { key: '2755f4d21f8d62919ef56909f2dc6b9211bf550d', isReady: this.isReady }), h("hidden-input", { key: 'c35448285cd2b53973caa4a56c28a135e1ed7d74' }), h("div", { key: '9fae602596267bafc39b9e3e9946a289b38393b6', class: "container-fluid p-0", style: {
337
337
  opacity: this.isReady ? '1' : '0',
338
338
  height: this.isReady ? 'auto' : '0',
339
- } }, h("div", { key: '5cecb5ecc5a3cfdb1ff0fe659aa9e22c0c1c8a11', class: "row mb-3" }, h("iframe-input", { key: 'b970e3a6e563cf1a5cff651c219a954d32b1fec3', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber?tabId=${this.tabId}` })), h("div", { key: 'eaf6b26dc3638f548fd7e5b45363319db3bdf5f2', class: "row" }, h("iframe-input", { key: 'c90064cec52a9100522f0ea62593b8e439ea7a9e', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber?tabId=${this.tabId}` })))));
339
+ } }, h("div", { key: 'bfaee6ed0eaa2a68175f18146d56195cc1a23e91', class: "row mb-3" }, h("iframe-input", { key: '7385c2582ad5b397eb2afcb9c87b789d4918542c', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber?tabId=${this.tabId}` })), h("div", { key: 'effe6b1f18d5fa531f4537accfe8279b81bc7b49', class: "row" }, h("iframe-input", { key: '19cc7e46d8f7cb79c70ba21f2e9c15c7665eca47', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber?tabId=${this.tabId}` })))));
340
340
  }
341
341
  };
342
342
 
@@ -380,7 +380,7 @@ const JustifiButton = class {
380
380
  this.type = 'button';
381
381
  }
382
382
  render() {
383
- return (h(StyledHost, { key: '7c8b76c4eaa412f2dc2ba59fd56cb7c28f46656c' }, h(Button, { key: '9440f90ebb380703b35b6c5d811e5d0780e80fd2', variant: this.variant, isLoading: this.isLoading, clickHandler: this.clickHandler, class: this.class, type: this.type, disabled: this.disabled, style: this.customStyle }, this.text)));
383
+ return (h(StyledHost, { key: '2ef29be35c350bbd0530dbad83f65cd4ad4dbe27' }, h(Button, { key: '526763deaf2d228f0142d8efcb805557b8fe6ed9', variant: this.variant, isLoading: this.isLoading, clickHandler: this.clickHandler, class: this.class, type: this.type, disabled: this.disabled, style: this.customStyle }, this.text)));
384
384
  }
385
385
  };
386
386
 
@@ -434,17 +434,17 @@ const JustifiCardForm = class {
434
434
  return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
435
435
  }
436
436
  render() {
437
- return (h(StyledHost, { key: '83bf3ea8d44fd14cf98725b1e800e2481222423b' }, h(CardFormSkeleton, { key: 'e23ef5cf5d8b756dcdfda6341a240d86e400a10e', isReady: this.isReady }), h("hidden-input", { key: 'eddc0b1549ee00084df8bfbbd22658bc48cdf493' }), h("div", { key: '753a4c38f8624a9d528c582fd5e26929977e88c5', class: "container-fluid p-0", style: {
437
+ return (h(StyledHost, { key: 'e204cee1fc875392b8056baf58b7234a739fffce' }, h(CardFormSkeleton, { key: '3accfb88d66661ceaef39f765bb3fddfd0f98393', isReady: this.isReady }), h("hidden-input", { key: '0416ddca8b444cf8702f3fff52065bf647bd4b61' }), h("div", { key: '37c1d5014e5a6658bfd28e08e361ffaa6488f6d7', class: "container-fluid p-0", style: {
438
438
  opacity: this.isReady ? '1' : '0',
439
439
  height: this.isReady ? 'auto' : '0',
440
- } }, h("div", { key: 'db1c408da9865db12899f2e86d46a3181f592333', class: "mb-3" }, h("iframe-input", { key: 'b31b33f68f34fbde9abdab13cc4b0b09e2122bad', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber?tabId=${this.tabId}` })), h("div", { key: '4e8e14e60bb566032530fd72e7f787226e0e7940', class: "row" }, h("div", { key: 'cb1c06bd2c2e04cffdc2a6572505a6dcf26e9b48', class: "col-4 align-content-end" }, h("iframe-input", { key: '915ff44d990585262a2e60d83ac569cd56e90762', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth?tabId=${this.tabId}` })), h("div", { key: 'ceca19853d0e78828c5a89a5e1f99acce6d05345', class: "col-4 align-content-end" }, h("iframe-input", { key: 'f0089860aab12b7bcfe31ac9fe6ed303182ff9fa', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear?tabId=${this.tabId}` })), h("div", { key: 'e1bdd33a875bdf82068aceeea68f27c48414ed65', class: "col-4 align-content-end" }, h("iframe-input", { key: '7c483f78294418b7cee76e0c272ad375496bbc7d', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV?tabId=${this.tabId}` }))))));
440
+ } }, h("div", { key: 'e2956855dfbcab38a782c22e93bd49252196baa8', class: "mb-3" }, h("iframe-input", { key: '55105f1eebab4b846e1b5c55448259368a412349', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber?tabId=${this.tabId}` })), h("div", { key: '9464b1a500a84dcaa438a9ebdad756637d14cb24', class: "row" }, h("div", { key: 'adc51687629fb00d26c6627e95c0228f5a4dfd11', class: "col-4 align-content-end" }, h("iframe-input", { key: '52a0e5e198b6bfac00515ec220370e289674b613', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth?tabId=${this.tabId}` })), h("div", { key: '1b09582711d838643db265b003ed18b18042713e', class: "col-4 align-content-end" }, h("iframe-input", { key: 'a1731a8dc02723398e1aae58b3812fccf62e6157', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear?tabId=${this.tabId}` })), h("div", { key: '1e2c3205f2e0b28d036480d2c61934da5e7da620', class: "col-4 align-content-end" }, h("iframe-input", { key: 'b7b87360068434122f9b5a8935468240684b7a1d', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV?tabId=${this.tabId}` }))))));
441
441
  }
442
442
  };
443
443
 
444
444
  const SaveNewPaymentMethod = class {
445
445
  constructor(hostRef) {
446
446
  registerInstance(this, hostRef);
447
- this.checkboxChanged = createEvent(this, "checkboxChanged");
447
+ this.checkboxChanged = createEvent(this, "checkboxChanged", 7);
448
448
  this.label = 'Save New Payment Method';
449
449
  this.isChecked = false;
450
450
  this.handleCheckboxChange = (_name, value) => {
@@ -454,7 +454,7 @@ const SaveNewPaymentMethod = class {
454
454
  };
455
455
  }
456
456
  render() {
457
- return (h(StyledHost, { key: '7cc086e518b2defcea924398cd5957b44a893d94' }, h("form-control-checkbox", { key: '523dd82fe06f0c0a6d259a84f320c0a335261232', label: this.label || 'Save New Payment Method', name: "saveNewPaymentMethod", checked: this.isChecked, inputHandler: this.handleCheckboxChange })));
457
+ return (h(StyledHost, { key: '981f6a84fc14a7b687e1b6567b30fb9f861b0aa2' }, h("form-control-checkbox", { key: '566f6261d19f96b87b9382b26a86b71461a29d08', label: this.label || 'Save New Payment Method', name: "saveNewPaymentMethod", checked: this.isChecked, inputHandler: this.handleCheckboxChange })));
458
458
  }
459
459
  };
460
460
 
@@ -1,29 +1,30 @@
1
- import { h, r as registerInstance, c as createEvent, H as Host } from './index-DwYM91AU.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-CV0Pyo1O.js';
2
2
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-Cjcsf8ku.js';
3
3
  import { m as makeGetBusiness, b as makePatchBusiness, f as makePostBankAccount, g as makePostDocumentRecord } from './payment-provisioning-actions-ONP8lDnV.js';
4
- import { B as BusinessService, a as BusinessBankAccountService, D as DocumentRecordService } from './business.service-BrUSam2T.js';
5
- import { a as additionalQuestionsSchema, c as businessCoreInfoSchemaCAN, b as businessCoreInfoSchemaUSA } from './business-additional-questions-schema-woG5-pgK.js';
4
+ import { B as BusinessService, a as BusinessBankAccountService, D as DocumentRecordService } from './business.service-C7smiL6_.js';
5
+ import { a as additionalQuestionsSchema, c as businessCoreInfoSchemaCAN, b as businessCoreInfoSchemaUSA } from './business-additional-questions-schema-DQb10ehS.js';
6
6
  import { F as FormController, c as create$3, a as create$6, b as create$8, d as create$7 } from './index.esm-IWS0494Y.js';
7
- import { A as AdditionalQuestions, C as CountryCode, e as CoreBusinessInfo, R as Representative, f as Address } from './Business-B5rtFhtR.js';
7
+ import { A as AdditionalQuestions, C as CountryCode, e as CoreBusinessInfo, R as Representative, f as Address } from './Business-CHJTjG_5.js';
8
8
  import { C as CURRENCY_MASK, P as PHONE_MASKS } from './form-input-masks-CVaOFfrI.js';
9
- import { J as heading2, ah as buttonSecondary, l as label, X as inputDisabled } from './parts-sA8HBfkI.js';
10
- import { S as Skeleton } from './skeleton-Dtt56Fl3.js';
11
- import './event-types-CZfYo5-1.js';
12
- import { b as businessServiceReceivedOptions, c as businessClassificationOptions } from './business-form-options-D6s5H4RI.js';
9
+ import { D as heading2, ag as buttonSecondary, V as label, S as inputDisabled, aA as alert } from './parts-DrquDBSk.js';
10
+ import { P as PaymentProvisioningLoading } from './payment-provisioning-loading-DU0pNyqx.js';
11
+ import { b as businessServiceReceivedOptions, c as businessClassificationOptions } from './business-form-options-Bm89rMmk.js';
13
12
  import { a as BusinessFormStep, B as BusinessFormClickActions } from './event-types-XYgDHrVL.js';
14
- import './config-state-C2NXATwF.js';
13
+ import './config-state-kKn89dp1.js';
15
14
  import './dinero-HXpYMWUU.js';
16
- import { E as EntityDocumentType, m as EntityDocumentStorage, n as EntityDocument } from './GooglePay-NNHE-OLJ.js';
15
+ import { E as EntityDocumentType, m as EntityDocumentStorage, n as EntityDocument } from './GooglePay-5EiPffHy.js';
17
16
  import './Pagination-CLHwhyvu.js';
18
17
  import './Dispute-BH0Xfn-F.js';
19
- import { z as accountNumberValidation, A as accountTypeValidation, u as identityNameValidation, B as nicknameValidation, C as bankNameValidation, D as numbersOnlyRegex, E as routingNumberValidation } from './schema-validations-iamDi5JD.js';
20
- import { B as Button } from './button-Bpf3VX8Q.js';
21
- import { c as countryLabels } from './country-config-BQ4D46Lb.js';
22
- import { i as identitySchemaByCountry, e as addressSchemaByCountry } from './business-identity-schema-B7VTDF4j.js';
23
- import { A as Api } from './Api-Dln8a6No.js';
18
+ import { A as accountNumberValidation, B as accountTypeValidation, v as identityNameValidation, C as nicknameValidation, D as bankNameValidation, E as numbersOnlyRegex, F as routingNumberValidation } from './schema-validations-jBrJ0mYI.js';
19
+ import { B as Button } from './button-DMeChykB.js';
20
+ import './event-types-CZfYo5-1.js';
21
+ import { c as countryLabels } from './country-config-CQxaTFuP.js';
22
+ import { d as identitySchemaByCountry, e as addressSchemaByCountry } from './business-identity-schema-CaMnpPqx.js';
23
+ import { A as Api } from './Api-ohkSjyhl.js';
24
24
  import './utils-BeQLScSm.js';
25
25
  import './_commonjsHelpers-BFTU3MAI.js';
26
- import './index-B-fWxE5e.js';
26
+ import './skeleton-D9UXuoik.js';
27
+ import './index-cDVGjRkU.js';
27
28
  import './utils-CDaVtz_6.js';
28
29
  import './index-DkoufM1t.js';
29
30
 
@@ -64,17 +65,12 @@ class BankAccount {
64
65
  }
65
66
  }
66
67
 
67
- const FormBlock = () => (h("div", { class: "row gap-3" }, h("div", { class: "col-12" }, h(Skeleton, { width: "25%" })), h("div", { class: "col-12" }, h(Skeleton, { width: "100%" })), h("div", { class: "col-12 d-flex gap-3" }, h(Skeleton, { width: "50%" }), h(Skeleton, { width: "50%" })), h("div", { class: "col-12 d-flex gap-3" }, h(Skeleton, { width: "65%" }), h(Skeleton, { width: "35%" }))));
68
- const PaymentProvisioningLoading = () => {
69
- return (h("div", { class: "row gap-5" }, h("div", { class: "col-12" }, h(Skeleton, { width: "40%", height: "40px" })), h(FormBlock, null), h(FormBlock, null), h(FormBlock, null)));
70
- };
71
-
72
68
  const AdditionalQuestionsFormStep = class {
73
69
  constructor(hostRef) {
74
70
  registerInstance(this, hostRef);
75
- this.errorEvent = createEvent(this, "error-event");
76
- this.stepCompleteEvent = createEvent(this, "complete-form-step-event");
77
- this.formLoading = createEvent(this, "formLoading");
71
+ this.errorEvent = createEvent(this, "error-event", 7);
72
+ this.stepCompleteEvent = createEvent(this, "complete-form-step-event", 7);
73
+ this.formLoading = createEvent(this, "formLoading", 7);
78
74
  this.errors = {};
79
75
  this.additional_questions = {};
80
76
  this.recurringPayments = false;
@@ -178,12 +174,12 @@ const AdditionalQuestionsFormStep = class {
178
174
  }
179
175
  }
180
176
  render() {
181
- var _a, _b, _c, _d;
177
+ var _a, _b, _c, _d, _e;
182
178
  const additionalQuestionsDefaultValue = this.formController.getInitialValues();
183
179
  if (this.isLoading) {
184
180
  return h(PaymentProvisioningLoading, null);
185
181
  }
186
- return (h("form", null, h("fieldset", null, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Additional Questions"), h("form-control-tooltip", { helpText: "This information helps us understand the business and identify and monitor trends to safeguard you and your customers." })), h("hr", { class: "mt-2" }), h("div", { class: "row gy-3" }, h("div", { class: "col-12 col-md-6" }, h("form-control-monetary-provisioning", { name: "business_revenue", label: "What is your business' estimated annual revenue from its primary business activities?", inputHandler: this.inputHandler, errorText: (_a = this.errors) === null || _a === void 0 ? void 0 : _a.business_revenue, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_revenue, maskOptions: CURRENCY_MASK.WHOLE })), h("div", { class: "col-12 col-md-6" }, h("form-control-text", { name: "business_payment_volume", label: "What is your business' annual credit card & ACH volume anticipated to process?", inputHandler: this.inputHandler, errorText: (_b = this.errors) === null || _b === void 0 ? void 0 : _b.business_payment_volume, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_payment_volume })), h("div", { class: "col-12" }, h("form-control-select", { name: "business_when_service_received", label: "On average, how long after paying will your customers typically receive their goods or services?", inputHandler: this.inputHandler, errorText: (_c = this.errors) === null || _c === void 0 ? void 0 : _c.business_when_service_received, options: businessServiceReceivedOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_when_service_received })), h("div", { class: "col-12" }, h("form-control-text", { name: "business_other_payment_details", label: "Is there anything else you would like us to know about how your customers pay the business? (optional)", inputHandler: this.inputHandler, errorText: (_d = this.errors) === null || _d === void 0 ? void 0 : _d.business_other_payment_details, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_other_payment_details }))))));
182
+ return (h("form", null, h("fieldset", null, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Additional Questions"), h("form-control-tooltip", { helpText: "This information helps us understand the business and identify and monitor trends to safeguard you and your customers." })), h("hr", { class: "mt-2" }), h("div", { class: "row gy-3" }, h("div", { class: "col-12 col-md-6" }, h("form-control-monetary-provisioning", { name: "business_revenue", label: "What is your business' estimated annual revenue from its primary business activities?", inputHandler: this.inputHandler, errorText: (_a = this.errors) === null || _a === void 0 ? void 0 : _a.business_revenue, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_revenue, maskOptions: CURRENCY_MASK.WHOLE })), h("div", { class: "col-12 col-md-6" }, h("form-control-monetary-provisioning", { name: "business_payment_volume", label: "What is your business' annual credit card & ACH volume anticipated to process?", inputHandler: this.inputHandler, errorText: (_b = this.errors) === null || _b === void 0 ? void 0 : _b.business_payment_volume, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_payment_volume, maskOptions: CURRENCY_MASK.WHOLE })), h("div", { class: "col-12" }, h("form-control-text", { name: "business_average_transaction_amount", label: "What is your average transaction size?", inputHandler: this.inputHandler, errorText: (_c = this.errors) === null || _c === void 0 ? void 0 : _c.business_average_transaction_amount, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_average_transaction_amount })), h("div", { class: "col-12" }, h("form-control-select", { name: "business_when_service_received", label: "On average, how long after paying will your customers typically receive their goods or services?", inputHandler: this.inputHandler, errorText: (_d = this.errors) === null || _d === void 0 ? void 0 : _d.business_when_service_received, options: businessServiceReceivedOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_when_service_received })), h("div", { class: "col-12" }, h("form-control-text", { name: "business_other_payment_details", label: "Is there anything else you would like us to know about how your customers pay the business? (optional)", inputHandler: this.inputHandler, errorText: (_e = this.errors) === null || _e === void 0 ? void 0 : _e.business_other_payment_details, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_other_payment_details }))))));
187
183
  }
188
184
  static get watchers() { return {
189
185
  "authToken": ["propChanged"],
@@ -277,9 +273,9 @@ const bankAccountSchemaByCountry = {
277
273
  const BusinessBankAccountFormStep = class {
278
274
  constructor(hostRef) {
279
275
  registerInstance(this, hostRef);
280
- this.errorEvent = createEvent(this, "error-event");
281
- this.stepCompleteEvent = createEvent(this, "complete-form-step-event");
282
- this.formLoading = createEvent(this, "formLoading");
276
+ this.errorEvent = createEvent(this, "error-event", 7);
277
+ this.stepCompleteEvent = createEvent(this, "complete-form-step-event", 7);
278
+ this.formLoading = createEvent(this, "formLoading", 7);
283
279
  this.errors = {};
284
280
  this.bankAccount = {};
285
281
  this.existingDocuments = [];
@@ -604,9 +600,9 @@ const BusinessBankAccountFormStep = class {
604
600
  const BusinessCoreInfoFormStep = class {
605
601
  constructor(hostRef) {
606
602
  registerInstance(this, hostRef);
607
- this.errorEvent = createEvent(this, "error-event");
608
- this.stepCompleteEvent = createEvent(this, "complete-form-step-event");
609
- this.formLoading = createEvent(this, "formLoading");
603
+ this.errorEvent = createEvent(this, "error-event", 7);
604
+ this.stepCompleteEvent = createEvent(this, "complete-form-step-event", 7);
605
+ this.formLoading = createEvent(this, "formLoading", 7);
610
606
  this.errors = {};
611
607
  this.coreInfo = {};
612
608
  this.isLoading = false;
@@ -728,16 +724,23 @@ const BusinessCoreInfoFormStep = class {
728
724
  const BusinessOwnersFormStep = class {
729
725
  constructor(hostRef) {
730
726
  registerInstance(this, hostRef);
731
- this.clickEvent = createEvent(this, "click-event");
732
- this.stepCompleteEvent = createEvent(this, "complete-form-step-event");
733
- this.errorEvent = createEvent(this, "error-event");
734
- this.formLoading = createEvent(this, "formLoading");
727
+ this.clickEvent = createEvent(this, "click-event", 7);
728
+ this.stepCompleteEvent = createEvent(this, "complete-form-step-event", 7);
729
+ this.errorEvent = createEvent(this, "error-event", 7);
730
+ this.formLoading = createEvent(this, "formLoading", 7);
735
731
  this.ownersPayload = [];
736
732
  this.refs = [];
737
733
  this.isLoading = false;
734
+ this.representativeIsOwner = null;
738
735
  this.matchRef = (ref, ownerId) => {
739
- const ownerIndex = this.refs.findIndex(ref => ref === ownerId);
736
+ if (ref === null)
737
+ return;
738
+ const ownerIndex = this.ownersPayload.findIndex(owner => owner.id === ownerId);
740
739
  if (ownerIndex !== -1) {
740
+ // Ensure refs array is properly sized before setting ref
741
+ if (this.refs.length !== this.ownersPayload.length) {
742
+ this.manageRefs();
743
+ }
741
744
  this.refs[ownerIndex] = ref;
742
745
  }
743
746
  };
@@ -746,6 +749,7 @@ const BusinessOwnersFormStep = class {
746
749
  this.isLoading = true;
747
750
  this.getBusiness({
748
751
  onSuccess: (response) => {
752
+ this.representative = new Representative(response.data.representative || {});
749
753
  if (response.data.owners.length) {
750
754
  this.ownersPayload = response.data.owners.map(owner => ({ id: owner.id }));
751
755
  }
@@ -799,6 +803,21 @@ const BusinessOwnersFormStep = class {
799
803
  this.ownersPayload = this.ownersPayload.filter(owner => owner.id !== id);
800
804
  this.newFormOpen && (this.newFormOpen = false);
801
805
  };
806
+ this.handleRepresentativeIsOwnerChange = (value) => {
807
+ this.representativeIsOwner = value;
808
+ if (this.representativeIsOwner) {
809
+ this.ownersPayload = this.ownersPayload.filter(owner => owner.id !== '');
810
+ this.patchBusiness({
811
+ payload: {
812
+ owners: [{ id: this.representative.id }, ...this.ownersPayload],
813
+ },
814
+ onSuccess: () => {
815
+ this.getData();
816
+ this.newFormOpen = false;
817
+ },
818
+ });
819
+ }
820
+ };
802
821
  }
803
822
  propChanged() {
804
823
  this.initializeApi();
@@ -866,7 +885,9 @@ const BusinessOwnersFormStep = class {
866
885
  if (this.isLoading) {
867
886
  return (h(Host, null, h(PaymentProvisioningLoading, null)));
868
887
  }
869
- 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) => {
888
+ const isRepresentativeOwner = this.ownersPayload.some(owner => owner.id === this.representative.id);
889
+ const shouldShowRepresentativeIsOwner = this.representativeIsOwner === null && !isRepresentativeOwner;
890
+ 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) => {
870
891
  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) }));
871
892
  })), 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"))))));
872
893
  }
@@ -880,9 +901,9 @@ const BusinessOwnersFormStep = class {
880
901
  const BusinessRepresentativeFormStep = class {
881
902
  constructor(hostRef) {
882
903
  registerInstance(this, hostRef);
883
- this.errorEvent = createEvent(this, "error-event");
884
- this.stepCompleteEvent = createEvent(this, "complete-form-step-event");
885
- this.formLoading = createEvent(this, "formLoading");
904
+ this.errorEvent = createEvent(this, "error-event", 7);
905
+ this.stepCompleteEvent = createEvent(this, "complete-form-step-event", 7);
906
+ this.formLoading = createEvent(this, "formLoading", 7);
886
907
  this.errors = {};
887
908
  this.representative = {};
888
909
  this.isLoading = false;
@@ -1017,10 +1038,10 @@ const businessTermsConditionsSchema = (allowOptionalFields) => {
1017
1038
  const BusinessTermsConditionsFormStep = class {
1018
1039
  constructor(hostRef) {
1019
1040
  registerInstance(this, hostRef);
1020
- this.stepCompleteEvent = createEvent(this, "complete-form-step-event");
1021
- this.errorEvent = createEvent(this, "error-event");
1022
- this.formLoading = createEvent(this, "formLoading");
1023
- this.formCompleted = createEvent(this, "formCompleted");
1041
+ this.stepCompleteEvent = createEvent(this, "complete-form-step-event", 7);
1042
+ this.errorEvent = createEvent(this, "error-event", 7);
1043
+ this.formLoading = createEvent(this, "formLoading", 7);
1044
+ this.formCompleted = createEvent(this, "formCompleted", 7);
1024
1045
  this.errors = {};
1025
1046
  this.fetchData = async () => {
1026
1047
  this.formLoading.emit(true);
@@ -1122,16 +1143,16 @@ const BusinessTermsConditionsFormStep = class {
1122
1143
  return (h("a", { href: "https://justifi.tech/merchant-agreement/", target: "_blank", rel: "noopener noreferrer" }, "merchant agreement"));
1123
1144
  }
1124
1145
  render() {
1125
- return (h("form", { key: '721f3c171358f9450a8b460dafac3c9f7f27727b' }, h("fieldset", { key: 'e151086c528d5e359e4ecd2c33feb01c5571a6ca' }, h("legend", { key: 'ff4ba3bead3ec50cf9736d6a864740e542f42b2d', part: heading2 }, "Terms and Conditions"), h("hr", { key: 'c076bfe230bafbe8db7280f5f708de893c970bf2' }), h("div", { key: 'd2a1e0f4e15077d07fe7de2cb847252990b44bde' }, h("p", { key: '559c4c6d6e27b5fb800984e87097fe080482462d' }, "Please read and accept the ", this.merchantAgreementLink, " to submit your provisioning request.")), h("br", { key: '014b3a7be231c81bd23c35ab212d7ac4e4c1d107' }), h("div", { key: '3ef38ecffd678c36c564836434f0a0da341116af', class: "row-gy-3" }, h("div", { key: 'e715723e19a212628d29fec46ca494b7080dac66', class: "col-12" }, h("form-control-checkbox", { key: '6054f012fa3abacf6b9f6ffe7d7e88444d8a1066', name: "accepted", label: "I agree to the terms and conditions", inputHandler: this.inputHandler, errorText: this.errors.accepted, disabled: this.acceptedTermsBefore, helpText: this.formHelperText, checked: this.acceptedTerms }))))));
1146
+ return (h("form", { key: '33336d0a66d63ce39951822fd570a9a0689e714d' }, h("fieldset", { key: 'fcfdb59eef671cb408ed99e2dad20d6be706688a' }, h("legend", { key: 'f0cf7f0ac15c90cf36ee25d4bf986c0e781a2e92', part: heading2 }, "Terms and Conditions"), h("hr", { key: 'd5c820e7d6523f931040a994bd103d69fd644c45' }), h("div", { key: '681b584de14afe121f5dc69ee0bad1cab51ba0d1' }, h("p", { key: '7c597bf891a108d303739126b806ded5220f56ab' }, "Please read and accept the ", this.merchantAgreementLink, " to submit your provisioning request.")), h("br", { key: '52854c5a07611180be40df21a5f60d7d9d4c4cb7' }), h("div", { key: '7448b3f6138b996edac137b961367725e3b40556', class: "row-gy-3" }, h("div", { key: 'c732deb4e1e3a2d04dd4e09914543a7f594af108', class: "col-12" }, h("form-control-checkbox", { key: 'fca18e4843aef20d13790029b114b2ecaeb6ffa2', name: "accepted", label: "I agree to the terms and conditions", inputHandler: this.inputHandler, errorText: this.errors.accepted, disabled: this.acceptedTermsBefore, helpText: this.formHelperText, checked: this.acceptedTerms }))))));
1126
1147
  }
1127
1148
  };
1128
1149
 
1129
1150
  const LegalAddressFormStep = class {
1130
1151
  constructor(hostRef) {
1131
1152
  registerInstance(this, hostRef);
1132
- this.errorEvent = createEvent(this, "error-event");
1133
- this.stepCompleteEvent = createEvent(this, "complete-form-step-event");
1134
- this.formLoading = createEvent(this, "formLoading");
1153
+ this.errorEvent = createEvent(this, "error-event", 7);
1154
+ this.stepCompleteEvent = createEvent(this, "complete-form-step-event", 7);
1155
+ this.formLoading = createEvent(this, "formLoading", 7);
1135
1156
  this.errors = {};
1136
1157
  this.legal_address = {};
1137
1158
  this.isLoading = false;
@@ -1257,7 +1278,7 @@ const PaymentProvisioningFormButtons = class {
1257
1278
  return this.currentStep === this.totalSteps;
1258
1279
  }
1259
1280
  render() {
1260
- return (h("div", { key: 'e13d3613af061d0067d1dbd84b6c3aebfc782aad', class: 'd-flex gap-2' }, h(Button, { key: '7b422ce77e13872f3dbd622574bce0e3e6e9c2ed', variant: "secondary", type: "button", onClick: () => this.previousStepButtonOnClick(), disabled: this.formDisabled, hidden: !this.showPreviousStepButton }, "Previous"), h(Button, { key: 'ea1242fdccb0b0af2438f4aaab91e3e17a607ef7', variant: "primary", type: "button", onClick: (e) => this.nextStepButtonOnClick(e, BusinessFormClickActions.nextStep), disabled: this.formDisabled, isLoading: this.formLoading, hidden: !this.showNextStepButton }, "Next"), h(Button, { key: '0c323f533ea84608dcdabb885f69d71a81ec684b', variant: "primary", type: "submit", onClick: (e) => this.nextStepButtonOnClick(e, BusinessFormClickActions.submit), disabled: this.formDisabled, isLoading: this.formLoading, hidden: !this.showSubmitButton }, "Submit")));
1281
+ return (h("div", { key: '53ba6c809e1968712b333f4bcf2798dbca186ddb', class: 'd-flex gap-2' }, h(Button, { key: 'b45c60083ccf6589cae0c63ce6b66c18da340dc7', variant: "secondary", type: "button", onClick: () => this.previousStepButtonOnClick(), disabled: this.formDisabled, hidden: !this.showPreviousStepButton }, "Previous"), h(Button, { key: '27372798da0276de44d1563a4688486e7cc91d64', variant: "primary", type: "button", onClick: (e) => this.nextStepButtonOnClick(e, BusinessFormClickActions.nextStep), disabled: this.formDisabled, isLoading: this.formLoading, hidden: !this.showNextStepButton }, "Next"), h(Button, { key: '8bc14ca8fe951caf276f8ed03e502486e11acbe2', variant: "primary", type: "submit", onClick: (e) => this.nextStepButtonOnClick(e, BusinessFormClickActions.submit), disabled: this.formDisabled, isLoading: this.formLoading, hidden: !this.showSubmitButton }, "Submit")));
1261
1282
  }
1262
1283
  };
1263
1284
 
@@ -1280,7 +1301,7 @@ const PaymentProvisioningFormSteps = class {
1280
1301
  return this.componentStepMapping[this.currentStep]();
1281
1302
  }
1282
1303
  render() {
1283
- return (h("div", { key: 'dcf3f283bae7de00311f35e41b8d803196f50d49', class: 'col-12 mb-4' }, this.currentStepComponent));
1304
+ return (h("div", { key: 'ff7c9e688009383fdbe18c9824fa578d2338900c', class: 'col-12 mb-4' }, this.currentStepComponent));
1284
1305
  }
1285
1306
  };
1286
1307