@justifi/webcomponents 6.15.0-rc.2 → 6.16.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (501) hide show
  1. package/dist/cjs/{Analytics-COhunq0p.js → Analytics-jQsZxClw.js} +4 -4
  2. package/dist/cjs/{Api-Do6SaltY.js → Api-DqXlEWR1.js} +1 -1
  3. package/dist/cjs/{Business-oBifyXkW.js → Business-CNaz-VLa.js} +5 -1
  4. package/dist/cjs/{Plaid-D85oV9FN.js → Plaid-BcOAKDaU.js} +1 -1
  5. package/dist/cjs/additional-questions-form-step_15.cjs.entry.js +14 -14
  6. package/dist/cjs/additional-questions_4.cjs.entry.js +3 -3
  7. package/dist/cjs/additional-statement_8.cjs.entry.js +8 -8
  8. package/dist/cjs/bank-account-billing-form-simple_4.cjs.entry.js +15 -9
  9. package/dist/cjs/bank-account-document-form-inputs.cjs.entry.js +2 -2
  10. package/dist/cjs/bank-account-form.cjs.entry.js +68 -14
  11. package/dist/cjs/{business-form-options-CnlrfbQ6.js → business-form-options-BHBs_yiK.js} +1 -1
  12. package/dist/cjs/{business-identity-schema-hpDJFnB4.js → business-identity-schema-DuOIMFjG.js} +3 -3
  13. package/dist/cjs/{business.service-72YETCdB.js → business.service-Ca-olopC.js} +3 -3
  14. package/dist/cjs/card-form.cjs.entry.js +16 -12
  15. package/dist/cjs/{checkout-actions-BRQFQ6n-.js → checkout-actions-CQyGpVPe.js} +2 -2
  16. package/dist/cjs/{checkout.service-CPsXfx0Z.js → checkout.service-DBHPH2ji.js} +3 -3
  17. package/dist/cjs/{checkout.store-DaV9lvEQ.js → checkout.store-B5lTwvUV.js} +1 -0
  18. package/dist/cjs/{country-config-C1bWmF8P.js → country-config-CFC3KuVD.js} +25 -3
  19. package/dist/cjs/custom-popper_2.cjs.entry.js +2 -2
  20. package/dist/cjs/detect-duplicate-version-D8ZajVUT.js +29 -0
  21. package/dist/cjs/dispute-notification_2.cjs.entry.js +12 -12
  22. package/dist/cjs/{event-types-UHzCC7Ga.js → event-types-luy3xnYR.js} +3 -3
  23. package/dist/cjs/form-address-fields_3.cjs.entry.js +6 -6
  24. package/dist/cjs/form-alert_3.cjs.entry.js +116 -15
  25. package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
  26. package/dist/cjs/form-control-date.cjs.entry.js +2 -2
  27. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +1 -1
  28. package/dist/cjs/form-control-file.cjs.entry.js +2 -2
  29. package/dist/cjs/form-control-monetary.cjs.entry.js +2 -2
  30. package/dist/cjs/form-control-number_2.cjs.entry.js +6 -6
  31. package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
  32. package/dist/cjs/form-control-select_2.cjs.entry.js +22 -6
  33. package/dist/cjs/{get-business-BpaRbn5S.js → get-business-BVxtiSDs.js} +3 -3
  34. package/dist/cjs/{get-payment-details-Cmg8gWvo.js → get-payment-details-DR1GgpyX.js} +3 -3
  35. package/dist/cjs/{get-subaccounts-Bp7DOmM_.js → get-subaccounts-D11aTYj1.js} +4 -4
  36. package/dist/cjs/{input-handlers-_51J5q7J.js → input-handlers-v9h_2Ysi.js} +1 -1
  37. package/dist/cjs/internal-button.cjs.entry.js +1 -1
  38. package/dist/cjs/justifi-apple-pay_12.cjs.entry.js +52 -30
  39. package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +8 -8
  40. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +10 -9
  41. package/dist/cjs/justifi-billing-form-full.cjs.entry.js +1 -1
  42. package/dist/cjs/justifi-business-details.cjs.entry.js +11 -11
  43. package/dist/cjs/justifi-business-form.cjs.entry.js +14 -14
  44. package/dist/cjs/justifi-card-billing-form-simple.cjs.entry.js +1 -1
  45. package/dist/cjs/justifi-card-form.cjs.entry.js +11 -8
  46. package/dist/cjs/justifi-checkout-qr-code.cjs.entry.js +7 -7
  47. package/dist/cjs/justifi-checkout.cjs.entry.js +12 -10
  48. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +6 -4
  49. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +12 -12
  50. package/dist/cjs/justifi-dispute-management.cjs.entry.js +10 -10
  51. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +34 -21
  52. package/dist/cjs/justifi-order-terminals.cjs.entry.js +12 -12
  53. package/dist/cjs/justifi-payment-details.cjs.entry.js +18 -18
  54. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +10 -10
  55. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +10 -10
  56. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
  57. package/dist/cjs/justifi-payments-list.cjs.entry.js +10 -10
  58. package/dist/cjs/justifi-payout-details.cjs.entry.js +13 -13
  59. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +10 -10
  60. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +4 -4
  61. package/dist/cjs/justifi-payouts-list.cjs.entry.js +12 -12
  62. package/dist/cjs/justifi-qr-terminal.cjs.entry.js +10 -10
  63. package/dist/cjs/justifi-refund-payment.cjs.entry.js +10 -10
  64. package/dist/cjs/justifi-save-new-payment-method.cjs.entry.js +1 -1
  65. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +9 -9
  66. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +5 -5
  67. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +10 -10
  68. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +3 -3
  69. package/dist/cjs/justifi-terminals-list.cjs.entry.js +11 -11
  70. package/dist/cjs/loader.cjs.js +1 -1
  71. package/dist/cjs/{package-G3Vs7Jx5.js → package-B414Jbra.js} +1 -3
  72. package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
  73. package/dist/cjs/{payment-provisioning-actions-DDooZhhk.js → payment-provisioning-actions-SVp7B8pR.js} +2 -2
  74. package/dist/cjs/payment-provisioning-form-buttons_2.cjs.entry.js +1 -1
  75. package/dist/cjs/{payment.service-CVwTrHEL.js → payment.service-CNTe8vrp.js} +3 -3
  76. package/dist/cjs/{payout.service-CL3VR0hN.js → payout.service-BmU3q9jO.js} +3 -3
  77. package/dist/cjs/{payouts-status-1IUtW-UQ.js → payouts-status-BvHeuy9v.js} +2 -2
  78. package/dist/cjs/{plaid.service-Cukg5wuY.js → plaid.service-d9LAwbnX.js} +3 -3
  79. package/dist/cjs/radio-list-item.cjs.entry.js +1 -1
  80. package/dist/cjs/save-new-payment-method.cjs.entry.js +2 -2
  81. package/dist/cjs/{schema-validations-DehT309E.js → schema-validations-BDFa_oIq.js} +12 -5
  82. package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
  83. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
  84. package/dist/cjs/{terminal.service-C0KG7BqL.js → terminal.service-BkQWZv9b.js} +3 -3
  85. package/dist/cjs/{utils-CBriZzRC.js → utils-BScgWJC5.js} +1 -1
  86. package/dist/cjs/utils-Ct_X5q0U.js +62 -0
  87. package/dist/cjs/webcomponents.cjs.js +1 -1
  88. package/dist/collection/api/Business.js +2 -0
  89. package/dist/collection/api/Checkout.js +1 -1
  90. package/dist/collection/collection-manifest.json +1 -1
  91. package/dist/collection/components/business-details/justifi-business-details.js +3 -3
  92. package/dist/collection/components/business-forms/business-form/justifi-business-form.js +2 -2
  93. package/dist/collection/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.js +3 -2
  94. package/dist/collection/components/business-forms/payment-provisioning/justifi-payment-provisioning.js +2 -2
  95. package/dist/collection/components/business-forms/schemas/schema-helpers.js +2 -1
  96. package/dist/collection/components/business-forms/schemas/schema-validations.js +8 -1
  97. package/dist/collection/components/business-forms/utils/country-config.js +3 -2
  98. package/dist/collection/components/business-forms/utils/helpers.js +3 -1
  99. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +90 -12
  100. package/dist/collection/components/checkout/billing-form/billing-form-full.js +6 -2
  101. package/dist/collection/components/checkout/billing-form/card-billing-form-simple.js +6 -2
  102. package/dist/collection/components/checkout/card-form/card-form.js +39 -11
  103. package/dist/collection/components/checkout/justifi-checkout.js +26 -4
  104. package/dist/collection/components/checkout/message-event-types.js +2 -0
  105. package/dist/collection/components/checkout/save-new-payment-method/justifi-save-new-payment-method.js +1 -1
  106. package/dist/collection/components/checkout/save-new-payment-method/save-new-payment-method.js +1 -1
  107. package/dist/collection/components/checkout-qr-code/justifi-checkout-qr-code.js +2 -2
  108. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +4 -2
  109. package/dist/collection/components/checkouts-list/justifi-checkouts-list.js +5 -5
  110. package/dist/collection/components/dispute-management/dispute-notification.js +2 -2
  111. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  112. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  113. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  114. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +3 -3
  115. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  116. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  117. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  118. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  119. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  120. package/dist/collection/components/dispute-management/justifi-dispute-management.js +3 -3
  121. package/dist/collection/components/filters/table-filters-menu.js +1 -1
  122. package/dist/collection/components/gross-payment-chart/justifi-gross-payment-chart.js +2 -2
  123. package/dist/collection/components/insurance/season-interruption/justifi-season-interruption-insurance.js +2 -2
  124. package/dist/collection/components/modular-checkout/justifi-modular-checkout.js +50 -12
  125. package/dist/collection/components/modular-checkout/sub-components/justifi-apple-pay.js +7 -1
  126. package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-billing-form-simple.js +3 -3
  127. package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-form.js +33 -6
  128. package/dist/collection/components/modular-checkout/sub-components/justifi-billing-form-full.js +1 -1
  129. package/dist/collection/components/modular-checkout/sub-components/justifi-card-billing-form-simple.js +1 -1
  130. package/dist/collection/components/modular-checkout/sub-components/justifi-card-form.js +28 -3
  131. package/dist/collection/components/modular-checkout/sub-components/justifi-checkout-summary.js +1 -1
  132. package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
  133. package/dist/collection/components/modular-checkout/sub-components/paypal/justifi-paypal.js +1 -1
  134. package/dist/collection/components/order-terminals/justifi-order-terminals.js +3 -3
  135. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  136. package/dist/collection/components/payment-details/justifi-payment-details.js +10 -10
  137. package/dist/collection/components/payment-transactions-list/justifi-payment-transactions-list.js +3 -3
  138. package/dist/collection/components/payments-list/justifi-payments-list-filters.js +2 -2
  139. package/dist/collection/components/payments-list/justifi-payments-list.js +3 -3
  140. package/dist/collection/components/payout-details/justifi-payout-details.js +5 -5
  141. package/dist/collection/components/payout-transactions-list/justifi-payout-transactions-list.js +3 -3
  142. package/dist/collection/components/payouts-list/justifi-payouts-list-filters.js +2 -2
  143. package/dist/collection/components/payouts-list/justifi-payouts-list.js +3 -3
  144. package/dist/collection/components/qr-terminal/justifi-qr-terminal.js +2 -2
  145. package/dist/collection/components/refund-payment/justifi-refund-payment.js +2 -2
  146. package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list-filters.js +3 -3
  147. package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list.js +4 -4
  148. package/dist/collection/components/terminals-list/justifi-terminals-list-filters.js +1 -1
  149. package/dist/collection/components/terminals-list/justifi-terminals-list.js +3 -3
  150. package/dist/collection/components/tokenize-payment-method/justifi-tokenize-payment-method.js +45 -6
  151. package/dist/collection/store/checkout.store.js +1 -0
  152. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  153. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  154. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  155. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  156. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  157. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  158. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  159. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  160. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  161. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  162. package/dist/collection/ui-components/form/form-control-text.js +37 -4
  163. package/dist/collection/ui-components/form/iframe-input.js +136 -14
  164. package/dist/collection/ui-components/form/utils.js +32 -0
  165. package/dist/collection/ui-components/internal-button.js +1 -1
  166. package/dist/collection/ui-components/radio-list-item.js +1 -1
  167. package/dist/collection/utils/detect-duplicate-version.js +24 -0
  168. package/dist/collection/utils/postal-code.js +19 -0
  169. package/dist/docs.json +287 -18
  170. package/dist/esm/{Analytics-3WmRTICF.js → Analytics-DihSSvAP.js} +4 -4
  171. package/dist/esm/{Api-83B3f28Q.js → Api-INJHjnya.js} +1 -1
  172. package/dist/esm/{Business-DaDqgDrb.js → Business-CTtGaVYs.js} +5 -1
  173. package/dist/esm/{Plaid-BP3xNxQF.js → Plaid-CRcTLeaz.js} +1 -1
  174. package/dist/esm/additional-questions-form-step_15.entry.js +14 -14
  175. package/dist/esm/additional-questions_4.entry.js +3 -3
  176. package/dist/esm/additional-statement_8.entry.js +8 -8
  177. package/dist/esm/bank-account-billing-form-simple_4.entry.js +15 -9
  178. package/dist/esm/bank-account-document-form-inputs.entry.js +2 -2
  179. package/dist/esm/bank-account-form.entry.js +68 -14
  180. package/dist/esm/{business-form-options-BxVQL9ar.js → business-form-options-DLRkVtee.js} +1 -1
  181. package/dist/esm/{business-identity-schema-BkmRlnQo.js → business-identity-schema-BLKCH6xV.js} +3 -3
  182. package/dist/esm/{business.service-CTqiKKy5.js → business.service-C8f7OSEu.js} +3 -3
  183. package/dist/esm/card-form.entry.js +16 -12
  184. package/dist/esm/{checkout-actions-0ftD0elo.js → checkout-actions-CWnrb317.js} +2 -2
  185. package/dist/esm/{checkout.service-wjFjBxIB.js → checkout.service-BYDkC7uy.js} +3 -3
  186. package/dist/esm/{checkout.store-B2mtQcB5.js → checkout.store-B8CGkx0o.js} +1 -0
  187. package/dist/esm/{country-config-CJwnhkdq.js → country-config-DJFj1v-Q.js} +24 -4
  188. package/dist/esm/custom-popper_2.entry.js +2 -2
  189. package/dist/esm/detect-duplicate-version-C4r1WAzO.js +27 -0
  190. package/dist/esm/dispute-notification_2.entry.js +12 -12
  191. package/dist/esm/{event-types-cqQHLwCy.js → event-types-S8CgMbPg.js} +3 -3
  192. package/dist/esm/form-address-fields_3.entry.js +6 -6
  193. package/dist/esm/form-alert_3.entry.js +116 -15
  194. package/dist/esm/form-control-checkbox.entry.js +2 -2
  195. package/dist/esm/form-control-date.entry.js +2 -2
  196. package/dist/esm/form-control-file-v2_2.entry.js +1 -1
  197. package/dist/esm/form-control-file.entry.js +2 -2
  198. package/dist/esm/form-control-monetary.entry.js +2 -2
  199. package/dist/esm/form-control-number_2.entry.js +6 -6
  200. package/dist/esm/form-control-radio.entry.js +2 -2
  201. package/dist/esm/form-control-select_2.entry.js +22 -6
  202. package/dist/esm/{get-business-BLCT-zfN.js → get-business-IZpxKRZM.js} +3 -3
  203. package/dist/esm/{get-payment-details-BokzuPGl.js → get-payment-details-DSI41Pq5.js} +3 -3
  204. package/dist/esm/{get-subaccounts-ClGG-LRZ.js → get-subaccounts-BHWiH8q9.js} +4 -4
  205. package/dist/esm/{input-handlers-Dfuc6aDW.js → input-handlers-Dm8jO-BT.js} +1 -1
  206. package/dist/esm/internal-button.entry.js +1 -1
  207. package/dist/esm/justifi-apple-pay_12.entry.js +52 -30
  208. package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +8 -8
  209. package/dist/esm/justifi-bank-account-form.entry.js +10 -9
  210. package/dist/esm/justifi-billing-form-full.entry.js +1 -1
  211. package/dist/esm/justifi-business-details.entry.js +11 -11
  212. package/dist/esm/justifi-business-form.entry.js +14 -14
  213. package/dist/esm/justifi-card-billing-form-simple.entry.js +1 -1
  214. package/dist/esm/justifi-card-form.entry.js +11 -8
  215. package/dist/esm/justifi-checkout-qr-code.entry.js +7 -7
  216. package/dist/esm/justifi-checkout.entry.js +12 -10
  217. package/dist/esm/justifi-checkouts-list-filters.entry.js +6 -4
  218. package/dist/esm/justifi-checkouts-list.entry.js +12 -12
  219. package/dist/esm/justifi-dispute-management.entry.js +10 -10
  220. package/dist/esm/justifi-gross-payment-chart.entry.js +34 -21
  221. package/dist/esm/justifi-order-terminals.entry.js +12 -12
  222. package/dist/esm/justifi-payment-details.entry.js +18 -18
  223. package/dist/esm/justifi-payment-provisioning.entry.js +10 -10
  224. package/dist/esm/justifi-payment-transactions-list.entry.js +10 -10
  225. package/dist/esm/justifi-payments-list-filters.entry.js +2 -2
  226. package/dist/esm/justifi-payments-list.entry.js +10 -10
  227. package/dist/esm/justifi-payout-details.entry.js +13 -13
  228. package/dist/esm/justifi-payout-transactions-list.entry.js +10 -10
  229. package/dist/esm/justifi-payouts-list-filters.entry.js +4 -4
  230. package/dist/esm/justifi-payouts-list.entry.js +12 -12
  231. package/dist/esm/justifi-qr-terminal.entry.js +10 -10
  232. package/dist/esm/justifi-refund-payment.entry.js +10 -10
  233. package/dist/esm/justifi-save-new-payment-method.entry.js +1 -1
  234. package/dist/esm/justifi-season-interruption-insurance.entry.js +9 -9
  235. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +5 -5
  236. package/dist/esm/justifi-terminal-orders-list.entry.js +10 -10
  237. package/dist/esm/justifi-terminals-list-filters.entry.js +3 -3
  238. package/dist/esm/justifi-terminals-list.entry.js +11 -11
  239. package/dist/esm/loader.js +1 -1
  240. package/dist/esm/package-BQpbTebi.js +5 -0
  241. package/dist/esm/payment-method-option.entry.js +1 -1
  242. package/dist/esm/{payment-provisioning-actions-VRIPjnAQ.js → payment-provisioning-actions-VtleD509.js} +2 -2
  243. package/dist/esm/payment-provisioning-form-buttons_2.entry.js +1 -1
  244. package/dist/esm/{payment.service-D7uv5vym.js → payment.service-CQXRsu6Y.js} +3 -3
  245. package/dist/esm/{payout.service-BoSyqft1.js → payout.service-RRyWfpEK.js} +3 -3
  246. package/dist/esm/{payouts-status-CaiC5qpn.js → payouts-status-CnIf4XDi.js} +2 -2
  247. package/dist/esm/{plaid.service-DufQkxDk.js → plaid.service-Cg3E3Plo.js} +3 -3
  248. package/dist/esm/radio-list-item.entry.js +1 -1
  249. package/dist/esm/save-new-payment-method.entry.js +2 -2
  250. package/dist/esm/{schema-validations-8dbMCACI.js → schema-validations-8GJ34Do1.js} +12 -5
  251. package/dist/esm/table-filters-menu.entry.js +1 -1
  252. package/dist/esm/terminal-quantity-selector.entry.js +1 -1
  253. package/dist/esm/{terminal.service-BM2aebB6.js → terminal.service-Dy6D8bnl.js} +3 -3
  254. package/dist/esm/utils-Cpck08K0.js +59 -0
  255. package/dist/esm/{utils-YUOJKtjO.js → utils-DaPywmTI.js} +1 -1
  256. package/dist/esm/webcomponents.js +1 -1
  257. package/dist/module/Business.js +5 -1
  258. package/dist/module/Plaid.js +1 -1
  259. package/dist/module/additional-statement2.js +1 -1
  260. package/dist/module/bank-account-form2.js +65 -10
  261. package/dist/module/billing-form-full2.js +6 -2
  262. package/dist/module/cancellation-policy2.js +1 -1
  263. package/dist/module/card-billing-form-simple2.js +6 -2
  264. package/dist/module/card-form2.js +14 -9
  265. package/dist/module/checkout.store.js +1 -0
  266. package/dist/module/country-config.js +23 -3
  267. package/dist/module/custom-popper2.js +2 -2
  268. package/dist/module/customer-details2.js +1 -1
  269. package/dist/module/detect-duplicate-version.js +27 -0
  270. package/dist/module/dispute-notification2.js +2 -2
  271. package/dist/module/dispute-response2.js +3 -3
  272. package/dist/module/duplicate-charge2.js +1 -1
  273. package/dist/module/electronic-evidence2.js +1 -1
  274. package/dist/module/form-address-fields2.js +3 -3
  275. package/dist/module/form-control-checkbox2.js +2 -2
  276. package/dist/module/form-control-date2.js +2 -2
  277. package/dist/module/form-control-file-v22.js +1 -1
  278. package/dist/module/form-control-file2.js +2 -2
  279. package/dist/module/form-control-monetary2.js +2 -2
  280. package/dist/module/form-control-number-masked2.js +2 -2
  281. package/dist/module/form-control-number2.js +2 -2
  282. package/dist/module/form-control-radio2.js +2 -2
  283. package/dist/module/form-control-select2.js +2 -2
  284. package/dist/module/form-control-text2.js +21 -4
  285. package/dist/module/iframe-input2.js +119 -15
  286. package/dist/module/internal-button2.js +1 -1
  287. package/dist/module/justifi-apple-pay2.js +7 -1
  288. package/dist/module/justifi-bank-account-billing-form-simple.js +3 -3
  289. package/dist/module/justifi-bank-account-form.js +6 -4
  290. package/dist/module/justifi-billing-form-full.js +1 -1
  291. package/dist/module/justifi-business-details.js +3 -3
  292. package/dist/module/justifi-business-form.js +2 -2
  293. package/dist/module/justifi-card-billing-form-simple.js +1 -1
  294. package/dist/module/justifi-card-form.js +6 -3
  295. package/dist/module/justifi-checkout-qr-code2.js +2 -2
  296. package/dist/module/justifi-checkout-summary2.js +1 -1
  297. package/dist/module/justifi-checkout.js +7 -4
  298. package/dist/module/justifi-checkouts-list-filters.js +4 -2
  299. package/dist/module/justifi-checkouts-list.js +4 -4
  300. package/dist/module/justifi-dispute-management.js +3 -3
  301. package/dist/module/justifi-gross-payment-chart.js +28 -15
  302. package/dist/module/justifi-modular-checkout2.js +30 -12
  303. package/dist/module/justifi-order-terminals.js +3 -3
  304. package/dist/module/justifi-payment-details.js +10 -10
  305. package/dist/module/justifi-payment-provisioning.js +2 -2
  306. package/dist/module/justifi-payment-transactions-list.js +3 -3
  307. package/dist/module/justifi-payments-list-filters.js +2 -2
  308. package/dist/module/justifi-payments-list.js +3 -3
  309. package/dist/module/justifi-payout-details.js +5 -5
  310. package/dist/module/justifi-payout-transactions-list.js +3 -3
  311. package/dist/module/justifi-payouts-list-filters.js +2 -2
  312. package/dist/module/justifi-payouts-list.js +3 -3
  313. package/dist/module/justifi-paypal2.js +1 -1
  314. package/dist/module/justifi-qr-terminal.js +2 -2
  315. package/dist/module/justifi-refund-payment.js +2 -2
  316. package/dist/module/justifi-save-new-payment-method.js +1 -1
  317. package/dist/module/justifi-season-interruption-insurance.js +2 -2
  318. package/dist/module/justifi-terminal-orders-list-filters.js +3 -3
  319. package/dist/module/justifi-terminal-orders-list.js +4 -4
  320. package/dist/module/justifi-terminals-list-filters.js +1 -1
  321. package/dist/module/justifi-terminals-list.js +3 -3
  322. package/dist/module/justifi-tokenize-payment-method2.js +9 -6
  323. package/dist/module/package.js +1 -3
  324. package/dist/module/payment-method-option.js +1 -1
  325. package/dist/module/product-or-service2.js +1 -1
  326. package/dist/module/radio-list-item2.js +1 -1
  327. package/dist/module/refund-policy2.js +1 -1
  328. package/dist/module/save-new-payment-method2.js +1 -1
  329. package/dist/module/schema-validations.js +10 -3
  330. package/dist/module/shipping-details2.js +1 -1
  331. package/dist/module/table-filters-menu2.js +1 -1
  332. package/dist/module/terminal-quantity-selector2.js +1 -1
  333. package/dist/module/utils4.js +33 -1
  334. package/dist/types/api/Business.d.ts +2 -0
  335. package/dist/types/api/Checkout.d.ts +7 -7
  336. package/dist/types/components/checkout/bank-account-form/bank-account-form.d.ts +8 -1
  337. package/dist/types/components/checkout/card-form/card-form.d.ts +5 -1
  338. package/dist/types/components/checkout/justifi-checkout.d.ts +2 -0
  339. package/dist/types/components/checkout/message-event-types.d.ts +2 -0
  340. package/dist/types/components/checkouts-list/justifi-checkouts-list.d.ts +1 -1
  341. package/dist/types/components/modular-checkout/justifi-modular-checkout.d.ts +9 -0
  342. package/dist/types/components/modular-checkout/sub-components/justifi-apple-pay.d.ts +1 -0
  343. package/dist/types/components/modular-checkout/sub-components/justifi-bank-account-form.d.ts +4 -1
  344. package/dist/types/components/modular-checkout/sub-components/justifi-card-form.d.ts +9 -0
  345. package/dist/types/components/tokenize-payment-method/justifi-tokenize-payment-method.d.ts +9 -0
  346. package/dist/types/components.d.ts +86 -4
  347. package/dist/types/store/checkout.store.d.ts +1 -0
  348. package/dist/types/ui-components/form/form-control-text.d.ts +1 -0
  349. package/dist/types/ui-components/form/iframe-input.d.ts +24 -0
  350. package/dist/types/ui-components/form/utils.d.ts +1 -0
  351. package/dist/types/utils/detect-duplicate-version.d.ts +7 -0
  352. package/dist/types/utils/postal-code.d.ts +3 -0
  353. package/dist/webcomponents/p-12daf522.entry.js +1 -0
  354. package/dist/webcomponents/p-1a1aef42.entry.js +1 -0
  355. package/dist/webcomponents/p-1ceb65cc.entry.js +1 -0
  356. package/dist/webcomponents/p-1ff1dcc5.entry.js +20 -0
  357. package/dist/webcomponents/{p-777470cb.entry.js → p-2272a65b.entry.js} +1 -1
  358. package/dist/webcomponents/{p-c4889a06.entry.js → p-2d25f1d1.entry.js} +1 -1
  359. package/dist/webcomponents/{p-c5424fda.entry.js → p-30ec1cd6.entry.js} +1 -1
  360. package/dist/webcomponents/p-357d14ee.entry.js +1 -0
  361. package/dist/webcomponents/{p-ead48010.entry.js → p-4450dbe9.entry.js} +1 -1
  362. package/dist/webcomponents/p-4c7e7880.entry.js +1 -0
  363. package/dist/webcomponents/p-4d85dd63.entry.js +1 -0
  364. package/dist/webcomponents/p-521c534c.entry.js +1 -0
  365. package/dist/webcomponents/p-5babaaa9.entry.js +1 -0
  366. package/dist/webcomponents/{p-1cdbe8c1.entry.js → p-5c889829.entry.js} +1 -1
  367. package/dist/webcomponents/{p-f5358a80.entry.js → p-5e8f26ec.entry.js} +1 -1
  368. package/dist/webcomponents/p-622c2af4.entry.js +1 -0
  369. package/dist/webcomponents/{p-9e3e2e32.entry.js → p-6aaf2758.entry.js} +1 -1
  370. package/dist/webcomponents/p-6bfdc443.entry.js +1 -0
  371. package/dist/webcomponents/{p-42021e67.entry.js → p-6f3b035b.entry.js} +1 -1
  372. package/dist/webcomponents/p-73af269e.entry.js +1 -0
  373. package/dist/webcomponents/{p-ced6f6f1.entry.js → p-7ff788f8.entry.js} +1 -1
  374. package/dist/webcomponents/{p-c3818a5a.entry.js → p-846ae5d5.entry.js} +1 -1
  375. package/dist/webcomponents/p-8758aec4.entry.js +1 -0
  376. package/dist/webcomponents/p-87f8d4e7.entry.js +1 -0
  377. package/dist/webcomponents/p-8c22ff9c.entry.js +1 -0
  378. package/dist/webcomponents/p-91358854.entry.js +1 -0
  379. package/dist/webcomponents/{p-f3682c72.entry.js → p-956707a2.entry.js} +1 -1
  380. package/dist/webcomponents/p-9c1863d5.entry.js +1 -0
  381. package/dist/webcomponents/p-BDtSw_d-.js +1 -0
  382. package/dist/webcomponents/{p-CIpBEUtx.js → p-BG8NxEUn.js} +1 -1
  383. package/dist/webcomponents/p-BKtKrQzN.js +1 -0
  384. package/dist/webcomponents/p-BQpbTebi.js +1 -0
  385. package/dist/webcomponents/{p-nbKvRcwU.js → p-Bh5BNj74.js} +1 -1
  386. package/dist/webcomponents/{p-CLq3Og7o.js → p-BhpaUYtS.js} +1 -1
  387. package/dist/webcomponents/{p-vIQBTQmc.js → p-BtiJJJwv.js} +1 -1
  388. package/dist/webcomponents/{p-DZQBPUfH.js → p-Bxc0NRj8.js} +1 -1
  389. package/dist/webcomponents/p-BzESNgd8.js +1 -0
  390. package/dist/webcomponents/p-C9p1gWAC.js +1 -0
  391. package/dist/webcomponents/p-CTtGaVYs.js +1 -0
  392. package/dist/webcomponents/p-CgOgijHy.js +1 -0
  393. package/dist/webcomponents/p-CkrzG0pB.js +1 -0
  394. package/dist/webcomponents/p-Cl6irPVE.js +1 -0
  395. package/dist/webcomponents/p-Cpck08K0.js +1 -0
  396. package/dist/webcomponents/{p-OReJ-ZQb.js → p-CtlBL-X6.js} +1 -1
  397. package/dist/webcomponents/p-Cy_sz0Tx.js +1 -0
  398. package/dist/webcomponents/p-D42DvqTW.js +1 -0
  399. package/dist/webcomponents/p-D7nyPi2Q.js +1 -0
  400. package/dist/webcomponents/p-DBudSN_h.js +1 -0
  401. package/dist/webcomponents/p-DMzYgqml.js +1 -0
  402. package/dist/webcomponents/{p-B0DHIvEj.js → p-DQmijfCN.js} +1 -1
  403. package/dist/webcomponents/p-Dqxyi-uK.js +1 -0
  404. package/dist/webcomponents/p-FsWkrvEF.js +1 -0
  405. package/dist/webcomponents/p-MLQyjvrV.js +1 -0
  406. package/dist/webcomponents/p-a095b86d.entry.js +1 -0
  407. package/dist/webcomponents/p-a1e1afa4.entry.js +1 -0
  408. package/dist/webcomponents/p-a2c4e99f.entry.js +1 -0
  409. package/dist/webcomponents/p-a8f1c9b3.entry.js +1 -0
  410. package/dist/webcomponents/{p-5d7b3d71.entry.js → p-b665841f.entry.js} +1 -1
  411. package/dist/webcomponents/p-b925d666.entry.js +1 -0
  412. package/dist/webcomponents/p-bc3e46af.entry.js +1 -0
  413. package/dist/webcomponents/p-c172decb.entry.js +1 -0
  414. package/dist/webcomponents/p-c9871158.entry.js +1 -0
  415. package/dist/webcomponents/p-d19d7d41.entry.js +1 -0
  416. package/dist/webcomponents/{p-6c94218c.entry.js → p-d35cde99.entry.js} +1 -1
  417. package/dist/webcomponents/{p-cb1cc88e.entry.js → p-d48f80d1.entry.js} +1 -1
  418. package/dist/webcomponents/{p-eb31024f.entry.js → p-dae31a59.entry.js} +1 -1
  419. package/dist/webcomponents/p-deff4422.entry.js +1 -0
  420. package/dist/webcomponents/{p-1365a46b.entry.js → p-e3c7b4e5.entry.js} +1 -1
  421. package/dist/webcomponents/{p-d98bc829.entry.js → p-e6d1e3e2.entry.js} +1 -1
  422. package/dist/webcomponents/{p-97c6593d.entry.js → p-ebae270b.entry.js} +1 -1
  423. package/dist/webcomponents/p-ebed68aa.entry.js +1 -0
  424. package/dist/webcomponents/{p-bf3866b3.entry.js → p-f0084d20.entry.js} +1 -1
  425. package/dist/webcomponents/p-f0da2ca5.entry.js +1 -0
  426. package/dist/webcomponents/p-f23d7d13.entry.js +1 -0
  427. package/dist/webcomponents/p-f2c99647.entry.js +1 -0
  428. package/dist/webcomponents/{p-e55216fb.entry.js → p-f39889f2.entry.js} +1 -1
  429. package/dist/webcomponents/p-f458928d.entry.js +1 -0
  430. package/dist/webcomponents/{p-0aa96018.entry.js → p-f5686720.entry.js} +1 -1
  431. package/dist/webcomponents/p-f681f747.entry.js +1 -0
  432. package/dist/webcomponents/{p-6eb65d23.entry.js → p-f6efd9e0.entry.js} +1 -1
  433. package/dist/webcomponents/{p-7002286e.entry.js → p-fa0427d5.entry.js} +1 -1
  434. package/dist/webcomponents/p-fb1f2fe8.entry.js +1 -0
  435. package/dist/webcomponents/p-fcc5af24.entry.js +1 -0
  436. package/dist/webcomponents/p-hdPjEOdB.js +1 -0
  437. package/dist/webcomponents/{p-CJEetAx7.js → p-l3JhjHLW.js} +1 -1
  438. package/dist/webcomponents/webcomponents.esm.js +1 -1
  439. package/package.json +2 -4
  440. package/dist/cjs/check-pkg-version-BxGoSXGD.js +0 -47
  441. package/dist/cjs/utils-DAyWinG2.js +0 -29
  442. package/dist/collection/utils/check-pkg-version.js +0 -42
  443. package/dist/esm/check-pkg-version-CmFl6VLH.js +0 -45
  444. package/dist/esm/package-CAVi_ne1.js +0 -7
  445. package/dist/esm/utils-BnjCmwMr.js +0 -27
  446. package/dist/module/check-pkg-version.js +0 -45
  447. package/dist/types/utils/check-pkg-version.d.ts +0 -1
  448. package/dist/webcomponents/p-0fbc806f.entry.js +0 -1
  449. package/dist/webcomponents/p-10787684.entry.js +0 -1
  450. package/dist/webcomponents/p-1fa62eba.entry.js +0 -1
  451. package/dist/webcomponents/p-25f70d5f.entry.js +0 -1
  452. package/dist/webcomponents/p-27igUlku.js +0 -1
  453. package/dist/webcomponents/p-36340e63.entry.js +0 -1
  454. package/dist/webcomponents/p-3642e189.entry.js +0 -1
  455. package/dist/webcomponents/p-388082cd.entry.js +0 -1
  456. package/dist/webcomponents/p-3f2fb856.entry.js +0 -1
  457. package/dist/webcomponents/p-4cad48c1.entry.js +0 -1
  458. package/dist/webcomponents/p-50c2b8f0.entry.js +0 -1
  459. package/dist/webcomponents/p-5842d4e8.entry.js +0 -1
  460. package/dist/webcomponents/p-5c89dcdf.entry.js +0 -1
  461. package/dist/webcomponents/p-5dcb1713.entry.js +0 -1
  462. package/dist/webcomponents/p-5f8c30b6.entry.js +0 -1
  463. package/dist/webcomponents/p-68e88747.entry.js +0 -1
  464. package/dist/webcomponents/p-6931a1f2.entry.js +0 -1
  465. package/dist/webcomponents/p-72bb4aff.entry.js +0 -1
  466. package/dist/webcomponents/p-74575a99.entry.js +0 -1
  467. package/dist/webcomponents/p-7c405573.entry.js +0 -1
  468. package/dist/webcomponents/p-825a7ee6.entry.js +0 -1
  469. package/dist/webcomponents/p-909a9828.entry.js +0 -20
  470. package/dist/webcomponents/p-955c06d3.entry.js +0 -1
  471. package/dist/webcomponents/p-9e9a2546.entry.js +0 -1
  472. package/dist/webcomponents/p-9f0ef3f3.entry.js +0 -1
  473. package/dist/webcomponents/p-BAKuMxC9.js +0 -1
  474. package/dist/webcomponents/p-BEL8sLz6.js +0 -1
  475. package/dist/webcomponents/p-BSxXlu9H.js +0 -1
  476. package/dist/webcomponents/p-BnjCmwMr.js +0 -1
  477. package/dist/webcomponents/p-CAVi_ne1.js +0 -1
  478. package/dist/webcomponents/p-CXsRwohv.js +0 -1
  479. package/dist/webcomponents/p-CawcnSoV.js +0 -1
  480. package/dist/webcomponents/p-CbyGKcz_.js +0 -1
  481. package/dist/webcomponents/p-Cy2N3vAg.js +0 -1
  482. package/dist/webcomponents/p-CyOXIqHo.js +0 -1
  483. package/dist/webcomponents/p-D6uhYbLo.js +0 -1
  484. package/dist/webcomponents/p-DN7VhlTn.js +0 -1
  485. package/dist/webcomponents/p-DNuxxP2B.js +0 -1
  486. package/dist/webcomponents/p-D_84NsmN.js +0 -1
  487. package/dist/webcomponents/p-DaDqgDrb.js +0 -1
  488. package/dist/webcomponents/p-Do9dxNjh.js +0 -1
  489. package/dist/webcomponents/p-Fpaf7CLD.js +0 -1
  490. package/dist/webcomponents/p-PdwJswAy.js +0 -1
  491. package/dist/webcomponents/p-acb0b66c.entry.js +0 -1
  492. package/dist/webcomponents/p-b23dfa13.entry.js +0 -1
  493. package/dist/webcomponents/p-b98ea26a.entry.js +0 -1
  494. package/dist/webcomponents/p-ca13117d.entry.js +0 -1
  495. package/dist/webcomponents/p-ca6c5365.entry.js +0 -1
  496. package/dist/webcomponents/p-d59676ea.entry.js +0 -1
  497. package/dist/webcomponents/p-ee7fe3a8.entry.js +0 -1
  498. package/dist/webcomponents/p-f0434a13.entry.js +0 -1
  499. package/dist/webcomponents/p-f9f0cb1f.entry.js +0 -1
  500. package/dist/webcomponents/p-fda6f27d.entry.js +0 -1
  501. package/dist/webcomponents/p-fdd087d4.entry.js +0 -1
@@ -0,0 +1,24 @@
1
+ import packageJson from "../../package.json";
2
+ const JUSTIFI_VERSION_KEY = '__JUSTIFI_WC_VERSION__';
3
+ /**
4
+ * Records this bundle's version on globalThis and logs an error when a second,
5
+ * different version of @justifi/webcomponents is already on the page. The first
6
+ * version loaded wins — it has registered the custom elements, so any later
7
+ * bundle is inert.
8
+ */
9
+ export const detectDuplicateVersion = () => {
10
+ if (typeof globalThis === 'undefined')
11
+ return;
12
+ const globalScope = globalThis;
13
+ const currentVersion = packageJson.version;
14
+ const existingVersion = globalScope[JUSTIFI_VERSION_KEY];
15
+ if (existingVersion && existingVersion !== currentVersion) {
16
+ console.error(`@justifi/webcomponents: Multiple versions detected. ` +
17
+ `Version ${existingVersion} was loaded first and registered all components. ` +
18
+ `Version ${currentVersion} is also present but its components will NOT be used. ` +
19
+ `To fix this, add to your package.json:\n` +
20
+ `"pnpm": { "overrides": { "@justifi/webcomponents": "${currentVersion}" } }`);
21
+ return;
22
+ }
23
+ globalScope[JUSTIFI_VERSION_KEY] = currentVersion;
24
+ };
@@ -0,0 +1,19 @@
1
+ // Canada Post addressing guidelines: a postal code is six characters in the form
2
+ // "ANA NAN", with a single space between the Forward Sortation Area and the Local
3
+ // Delivery Unit. The first character of the FSA identifies one of 18 geographic
4
+ // areas, so D, F, I, O, Q, U, W and Z never appear there.
5
+ // https://www.canadapost-postescanada.ca/cpc/en/support/articles/addressing-guidelines/postal-codes.page
6
+ export const US_ZIP_REGEX = /^\d{5}(-\d{4})?$/;
7
+ export const CA_OR_US_POSTAL_REGEX = /^([ABCEGHJKLMNPRSTVXY]\d[A-Z] \d[A-Z]\d|\d{5}(-\d{4})?)$/i;
8
+ // Opening alpha-numeric-alpha is what distinguishes a Canadian code from a US ZIP.
9
+ const CA_SHAPE = /^[A-Z]\d[A-Z]/;
10
+ export const normalizePostalCode = (value) => {
11
+ if (!value)
12
+ return value;
13
+ const upper = value.toUpperCase();
14
+ // A US ZIP (or a typo) keeps its characters — only the case is normalized.
15
+ if (!CA_SHAPE.test(upper))
16
+ return upper;
17
+ const compact = upper.replace(/[\s-]/g, '');
18
+ return compact.length > 3 ? `${compact.slice(0, 3)} ${compact.slice(3)}` : compact;
19
+ };
package/dist/docs.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2026-10-12T14:15:54",
2
+ "timestamp": "2026-11-05T20:16:47",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.38.3",
@@ -702,7 +702,37 @@
702
702
  "docs": "",
703
703
  "docsTags": [],
704
704
  "usage": {},
705
- "props": [],
705
+ "props": [
706
+ {
707
+ "name": "showAccountNumberConfirmation",
708
+ "type": "boolean",
709
+ "complexType": {
710
+ "original": "boolean",
711
+ "resolved": "boolean",
712
+ "references": {}
713
+ },
714
+ "mutable": false,
715
+ "attr": "show-account-number-confirmation",
716
+ "reflectToAttr": false,
717
+ "docs": "",
718
+ "docsTags": [
719
+ {
720
+ "name": "default",
721
+ "text": "false"
722
+ }
723
+ ],
724
+ "default": "false",
725
+ "values": [
726
+ {
727
+ "type": "boolean"
728
+ }
729
+ ],
730
+ "optional": true,
731
+ "required": false,
732
+ "getter": false,
733
+ "setter": false
734
+ }
735
+ ],
706
736
  "methods": [
707
737
  {
708
738
  "name": "tokenize",
@@ -741,11 +771,11 @@
741
771
  {
742
772
  "name": "validate",
743
773
  "returns": {
744
- "type": "Promise<any>",
774
+ "type": "Promise<{ isValid: boolean; }>",
745
775
  "docs": ""
746
776
  },
747
777
  "complexType": {
748
- "signature": "() => Promise<any>",
778
+ "signature": "() => Promise<{ isValid: boolean; }>",
749
779
  "parameters": [],
750
780
  "references": {
751
781
  "Promise": {
@@ -753,9 +783,9 @@
753
783
  "id": "global::Promise"
754
784
  }
755
785
  },
756
- "return": "Promise<any>"
786
+ "return": "Promise<{ isValid: boolean; }>"
757
787
  },
758
- "signature": "validate() => Promise<any>",
788
+ "signature": "validate() => Promise<{ isValid: boolean; }>",
759
789
  "parameters": [],
760
790
  "docs": "",
761
791
  "docsTags": []
@@ -3434,7 +3464,37 @@
3434
3464
  "docs": "",
3435
3465
  "docsTags": [],
3436
3466
  "usage": {},
3437
- "props": [],
3467
+ "props": [
3468
+ {
3469
+ "name": "maskCardNumber",
3470
+ "type": "boolean",
3471
+ "complexType": {
3472
+ "original": "boolean",
3473
+ "resolved": "boolean",
3474
+ "references": {}
3475
+ },
3476
+ "mutable": false,
3477
+ "attr": "mask-card-number",
3478
+ "reflectToAttr": false,
3479
+ "docs": "Mask the card number to its last four digits when the field blurs.",
3480
+ "docsTags": [
3481
+ {
3482
+ "name": "default",
3483
+ "text": "false"
3484
+ }
3485
+ ],
3486
+ "default": "false",
3487
+ "values": [
3488
+ {
3489
+ "type": "boolean"
3490
+ }
3491
+ ],
3492
+ "optional": true,
3493
+ "required": false,
3494
+ "getter": false,
3495
+ "setter": false
3496
+ }
3497
+ ],
3438
3498
  "methods": [
3439
3499
  {
3440
3500
  "name": "tokenize",
@@ -3473,11 +3533,11 @@
3473
3533
  {
3474
3534
  "name": "validate",
3475
3535
  "returns": {
3476
- "type": "Promise<any>",
3536
+ "type": "Promise<{ isValid: boolean; }>",
3477
3537
  "docs": ""
3478
3538
  },
3479
3539
  "complexType": {
3480
- "signature": "() => Promise<any>",
3540
+ "signature": "() => Promise<{ isValid: boolean; }>",
3481
3541
  "parameters": [],
3482
3542
  "references": {
3483
3543
  "Promise": {
@@ -3485,9 +3545,9 @@
3485
3545
  "id": "global::Promise"
3486
3546
  }
3487
3547
  },
3488
- "return": "Promise<any>"
3548
+ "return": "Promise<{ isValid: boolean; }>"
3489
3549
  },
3490
- "signature": "validate() => Promise<any>",
3550
+ "signature": "validate() => Promise<{ isValid: boolean; }>",
3491
3551
  "parameters": [],
3492
3552
  "docs": "",
3493
3553
  "docsTags": []
@@ -8369,6 +8429,28 @@
8369
8429
  "required": true,
8370
8430
  "getter": false,
8371
8431
  "setter": false
8432
+ },
8433
+ {
8434
+ "name": "transformValue",
8435
+ "type": "(value: string) => string",
8436
+ "complexType": {
8437
+ "original": "(value: string) => string",
8438
+ "resolved": "(value: string) => string",
8439
+ "references": {}
8440
+ },
8441
+ "mutable": false,
8442
+ "reflectToAttr": false,
8443
+ "docs": "",
8444
+ "docsTags": [],
8445
+ "values": [
8446
+ {
8447
+ "type": "(value: string) => string"
8448
+ }
8449
+ ],
8450
+ "optional": true,
8451
+ "required": false,
8452
+ "getter": false,
8453
+ "setter": false
8372
8454
  }
8373
8455
  ],
8374
8456
  "methods": [],
@@ -9187,6 +9269,35 @@
9187
9269
  "required": true,
9188
9270
  "getter": false,
9189
9271
  "setter": false
9272
+ },
9273
+ {
9274
+ "name": "maskCardNumber",
9275
+ "type": "boolean",
9276
+ "complexType": {
9277
+ "original": "boolean",
9278
+ "resolved": "boolean",
9279
+ "references": {}
9280
+ },
9281
+ "mutable": false,
9282
+ "attr": "mask-card-number",
9283
+ "reflectToAttr": false,
9284
+ "docs": "Opt this field into masking its value to the last four characters when it\nloses focus. Forwarded to the hosted field, which owns the behavior.",
9285
+ "docsTags": [
9286
+ {
9287
+ "name": "default",
9288
+ "text": "false"
9289
+ }
9290
+ ],
9291
+ "default": "false",
9292
+ "values": [
9293
+ {
9294
+ "type": "boolean"
9295
+ }
9296
+ ],
9297
+ "optional": true,
9298
+ "required": false,
9299
+ "getter": false,
9300
+ "setter": false
9190
9301
  }
9191
9302
  ],
9192
9303
  "methods": [
@@ -10163,7 +10274,37 @@
10163
10274
  "docs": "",
10164
10275
  "docsTags": [],
10165
10276
  "usage": {},
10166
- "props": [],
10277
+ "props": [
10278
+ {
10279
+ "name": "showAccountNumberConfirmation",
10280
+ "type": "boolean",
10281
+ "complexType": {
10282
+ "original": "boolean",
10283
+ "resolved": "boolean",
10284
+ "references": {}
10285
+ },
10286
+ "mutable": false,
10287
+ "attr": "show-account-number-confirmation",
10288
+ "reflectToAttr": false,
10289
+ "docs": "",
10290
+ "docsTags": [
10291
+ {
10292
+ "name": "default",
10293
+ "text": "false"
10294
+ }
10295
+ ],
10296
+ "default": "false",
10297
+ "values": [
10298
+ {
10299
+ "type": "boolean"
10300
+ }
10301
+ ],
10302
+ "optional": true,
10303
+ "required": false,
10304
+ "getter": false,
10305
+ "setter": false
10306
+ }
10307
+ ],
10167
10308
  "methods": [
10168
10309
  {
10169
10310
  "name": "tokenize",
@@ -10202,11 +10343,11 @@
10202
10343
  {
10203
10344
  "name": "validate",
10204
10345
  "returns": {
10205
- "type": "Promise<any>",
10346
+ "type": "Promise<{ isValid: boolean; }>",
10206
10347
  "docs": ""
10207
10348
  },
10208
10349
  "complexType": {
10209
- "signature": "() => Promise<any>",
10350
+ "signature": "() => Promise<{ isValid: boolean; }>",
10210
10351
  "parameters": [],
10211
10352
  "references": {
10212
10353
  "Promise": {
@@ -10214,9 +10355,9 @@
10214
10355
  "id": "global::Promise"
10215
10356
  }
10216
10357
  },
10217
- "return": "Promise<any>"
10358
+ "return": "Promise<{ isValid: boolean; }>"
10218
10359
  },
10219
- "signature": "validate() => Promise<any>",
10360
+ "signature": "validate() => Promise<{ isValid: boolean; }>",
10220
10361
  "parameters": [],
10221
10362
  "docs": "",
10222
10363
  "docsTags": []
@@ -11300,7 +11441,31 @@
11300
11441
  "docs": "",
11301
11442
  "docsTags": [],
11302
11443
  "usage": {},
11303
- "props": [],
11444
+ "props": [
11445
+ {
11446
+ "name": "maskCardNumber",
11447
+ "type": "boolean",
11448
+ "complexType": {
11449
+ "original": "boolean",
11450
+ "resolved": "boolean",
11451
+ "references": {}
11452
+ },
11453
+ "mutable": false,
11454
+ "attr": "mask-card-number",
11455
+ "reflectToAttr": false,
11456
+ "docs": "Mask the card number to its last four digits when the field loses focus,\nwith an eye toggle to reveal it. Defaults to false. Inside\n`justifi-modular-checkout` the wrapper's `mask-card-number` sets this;\nan explicit value here wins.\n\nAnti-shoulder-surfing only, not a secrecy boundary.",
11457
+ "docsTags": [],
11458
+ "values": [
11459
+ {
11460
+ "type": "boolean"
11461
+ }
11462
+ ],
11463
+ "optional": true,
11464
+ "required": false,
11465
+ "getter": false,
11466
+ "setter": false
11467
+ }
11468
+ ],
11304
11469
  "methods": [
11305
11470
  {
11306
11471
  "name": "tokenize",
@@ -11667,6 +11832,35 @@
11667
11832
  "required": false,
11668
11833
  "getter": false,
11669
11834
  "setter": false
11835
+ },
11836
+ {
11837
+ "name": "showAccountNumberConfirmation",
11838
+ "type": "boolean",
11839
+ "complexType": {
11840
+ "original": "boolean",
11841
+ "resolved": "boolean",
11842
+ "references": {}
11843
+ },
11844
+ "mutable": false,
11845
+ "attr": "show-account-number-confirmation",
11846
+ "reflectToAttr": false,
11847
+ "docs": "Renders a \"Confirm Account Number\" field in the bank account form.",
11848
+ "docsTags": [
11849
+ {
11850
+ "name": "default",
11851
+ "text": "false"
11852
+ }
11853
+ ],
11854
+ "default": "false",
11855
+ "values": [
11856
+ {
11857
+ "type": "boolean"
11858
+ }
11859
+ ],
11860
+ "optional": true,
11861
+ "required": false,
11862
+ "getter": false,
11863
+ "setter": false
11670
11864
  }
11671
11865
  ],
11672
11866
  "methods": [
@@ -12106,7 +12300,7 @@
12106
12300
  "type": "string"
12107
12301
  }
12108
12302
  ],
12109
- "optional": true,
12303
+ "optional": false,
12110
12304
  "required": false,
12111
12305
  "getter": false,
12112
12306
  "setter": false
@@ -13141,6 +13335,35 @@
13141
13335
  "getter": false,
13142
13336
  "setter": false
13143
13337
  },
13338
+ {
13339
+ "name": "maskCardNumber",
13340
+ "type": "boolean",
13341
+ "complexType": {
13342
+ "original": "boolean",
13343
+ "resolved": "boolean",
13344
+ "references": {}
13345
+ },
13346
+ "mutable": false,
13347
+ "attr": "mask-card-number",
13348
+ "reflectToAttr": false,
13349
+ "docs": "Mask the card number to its last four digits when the field loses focus,\nwith an eye toggle to reveal it. Applies to the `justifi-card-form`\nrendered inside this checkout. Defaults to false.\n\nAnti-shoulder-surfing only, not a secrecy boundary.",
13350
+ "docsTags": [
13351
+ {
13352
+ "name": "default",
13353
+ "text": "false"
13354
+ }
13355
+ ],
13356
+ "default": "false",
13357
+ "values": [
13358
+ {
13359
+ "type": "boolean"
13360
+ }
13361
+ ],
13362
+ "optional": true,
13363
+ "required": false,
13364
+ "getter": false,
13365
+ "setter": false
13366
+ },
13144
13367
  {
13145
13368
  "name": "preCompleteHook",
13146
13369
  "type": "(data: CheckoutState, resolve: (data: CheckoutState) => void, reject: () => void) => void",
@@ -17810,6 +18033,29 @@
17810
18033
  "getter": false,
17811
18034
  "setter": false
17812
18035
  },
18036
+ {
18037
+ "name": "maskCardNumber",
18038
+ "type": "boolean",
18039
+ "complexType": {
18040
+ "original": "boolean",
18041
+ "resolved": "boolean",
18042
+ "references": {}
18043
+ },
18044
+ "mutable": false,
18045
+ "attr": "mask-card-number",
18046
+ "reflectToAttr": false,
18047
+ "docs": "Mask the card number to its last four digits when the field loses focus,\nwith an eye toggle to reveal it. Defaults to false.\n\nAnti-shoulder-surfing only, not a secrecy boundary.",
18048
+ "docsTags": [],
18049
+ "values": [
18050
+ {
18051
+ "type": "boolean"
18052
+ }
18053
+ ],
18054
+ "optional": true,
18055
+ "required": false,
18056
+ "getter": false,
18057
+ "setter": false
18058
+ },
17813
18059
  {
17814
18060
  "name": "paymentMethodGroupId",
17815
18061
  "type": "string",
@@ -17856,6 +18102,29 @@
17856
18102
  "getter": false,
17857
18103
  "setter": false
17858
18104
  },
18105
+ {
18106
+ "name": "showAccountNumberConfirmation",
18107
+ "type": "boolean",
18108
+ "complexType": {
18109
+ "original": "boolean",
18110
+ "resolved": "boolean",
18111
+ "references": {}
18112
+ },
18113
+ "mutable": false,
18114
+ "attr": "show-account-number-confirmation",
18115
+ "reflectToAttr": false,
18116
+ "docs": "Renders a \"Confirm Account Number\" field in the bank account form.",
18117
+ "docsTags": [],
18118
+ "values": [
18119
+ {
18120
+ "type": "boolean"
18121
+ }
18122
+ ],
18123
+ "optional": true,
18124
+ "required": false,
18125
+ "getter": false,
18126
+ "setter": false
18127
+ },
17859
18128
  {
17860
18129
  "name": "submitButtonText",
17861
18130
  "type": "string",
@@ -1,8 +1,8 @@
1
- import { p as packageJson } from './package-CAVi_ne1.js';
2
- import { A as Api } from './Api-83B3f28Q.js';
3
- import './Plaid-BP3xNxQF.js';
1
+ import { p as packageJson } from './package-BQpbTebi.js';
2
+ import { A as Api } from './Api-INJHjnya.js';
3
+ import './Plaid-CRcTLeaz.js';
4
4
  import './Pagination-CLHwhyvu.js';
5
- import './Business-DaDqgDrb.js';
5
+ import './Business-CTtGaVYs.js';
6
6
 
7
7
  const api = Api();
8
8
  class AnalyticsService {
@@ -1,6 +1,6 @@
1
1
  import { w as waitForConfig, c as configState } from './config-state-BKOsYBXZ.js';
2
2
  import { g as generateId } from './utils-D8J8OvxY.js';
3
- import { p as packageJson } from './package-CAVi_ne1.js';
3
+ import { p as packageJson } from './package-BQpbTebi.js';
4
4
 
5
5
  const Api = () => {
6
6
  async function getAuthorizationHeader(authToken) {
@@ -264,7 +264,9 @@ function deconstructDate(formInput) {
264
264
  return { dob_year, dob_month, dob_day };
265
265
  }
266
266
  function checkProvisioningStatus(business) {
267
- return business.associated_accounts.length > 0;
267
+ var _a, _b;
268
+ // Succeeded provisioning records; an associated account alone doesn't mean payments were provisioned.
269
+ return (_b = (_a = business.provisioned) === null || _a === void 0 ? void 0 : _a.includes('payments')) !== null && _b !== void 0 ? _b : false;
268
270
  }
269
271
 
270
272
  class Owner {
@@ -455,10 +457,12 @@ class CoreBusinessInfo {
455
457
  }
456
458
  class Business {
457
459
  constructor(business) {
460
+ var _a;
458
461
  this.additional_questions = business.additional_questions
459
462
  ? new AdditionalQuestions(business.additional_questions)
460
463
  : null;
461
464
  this.associated_accounts = business.associated_accounts;
465
+ this.provisioned = (_a = business.provisioned) !== null && _a !== void 0 ? _a : [];
462
466
  this.classification = business.classification;
463
467
  this.bank_accounts = business.bank_accounts;
464
468
  this.created_at = business.created_at;
@@ -79,7 +79,7 @@ class Checkout {
79
79
  }
80
80
  get payment_mode() {
81
81
  var _a, _b, _c, _d, _e, _f;
82
- let paymentMode;
82
+ let paymentMode = null;
83
83
  if (!this.completions || this.completions.length === 0) {
84
84
  return ICheckoutPaymentMode.unknown;
85
85
  }
@@ -1,33 +1,33 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-CV0Pyo1O.js';
2
- import { C as ComponentErrorSeverity, b as ComponentErrorCodes, B as EntityDocument, x as PLAID_ERROR_SEVERITY, y as PLAID_ERROR_MESSAGES, z as PlaidErrorCodes } from './Plaid-BP3xNxQF.js';
3
- import { m as makeGetBusiness, a as makePatchBusiness, c as makePostBankAccount, d as makePostDocumentRecord, e as makeGetIdentity, f as makePatchIdentity, g as makePostIdentity } from './payment-provisioning-actions-VRIPjnAQ.js';
4
- import { B as BusinessService, a as BusinessBankAccountService, D as DocumentRecordService, I as IdentityService } from './business.service-CTqiKKy5.js';
5
- import { a as additionalQuestionsSchema, d as businessCoreInfoSchemaCAN, b as businessCoreInfoSchemaUSA, g as identitySchemaByCountry, h as addressSchemaByCountry } from './business-identity-schema-BkmRlnQo.js';
2
+ import { C as ComponentErrorSeverity, b as ComponentErrorCodes, B as EntityDocument, x as PLAID_ERROR_SEVERITY, y as PLAID_ERROR_MESSAGES, z as PlaidErrorCodes } from './Plaid-CRcTLeaz.js';
3
+ import { m as makeGetBusiness, a as makePatchBusiness, c as makePostBankAccount, d as makePostDocumentRecord, e as makeGetIdentity, f as makePatchIdentity, g as makePostIdentity } from './payment-provisioning-actions-VtleD509.js';
4
+ import { B as BusinessService, a as BusinessBankAccountService, D as DocumentRecordService, I as IdentityService } from './business.service-C8f7OSEu.js';
5
+ import { a as additionalQuestionsSchema, d as businessCoreInfoSchemaCAN, b as businessCoreInfoSchemaUSA, g as identitySchemaByCountry, h as addressSchemaByCountry } from './business-identity-schema-BLKCH6xV.js';
6
6
  import { F as FormController, c as create$3, a as create$6, b as create$7 } from './index.esm-KCSohgHx.js';
7
- import { A as AdditionalQuestions, C as CountryCode, c as CoreBusinessInfo, R as Representative, f as Address, O as Owner } from './Business-DaDqgDrb.js';
7
+ import { A as AdditionalQuestions, C as CountryCode, c as CoreBusinessInfo, R as Representative, f as Address, O as Owner } from './Business-CTtGaVYs.js';
8
8
  import { C as CURRENCY_MASK, P as PHONE_MASKS, I as IDENTITY_MASKS } from './form-input-masks-CVaOFfrI.js';
9
9
  import { b as heading2, a0 as buttonSecondary, C as buttonLink, x as label, u as inputDisabled, D as card, aa as table, a6 as tableHeadCell, aj as tableCell, am as alert, A as heading3, a1 as buttonPrimary } from './parts-Bu7gdOaV.js';
10
10
  import { P as PaymentProvisioningLoading } from './payment-provisioning-loading-BxHRVFDi.js';
11
- import { a as businessServiceReceivedOptions, c as bankAccountTypeOptions, d as businessClassificationOptions, b as businessTitleOptions } from './business-form-options-BxVQL9ar.js';
11
+ import { a as businessServiceReceivedOptions, c as bankAccountTypeOptions, d as businessClassificationOptions, b as businessTitleOptions } from './business-form-options-DLRkVtee.js';
12
12
  import { a as BusinessFormStep, B as BusinessFormClickActions } from './event-types-XYgDHrVL.js';
13
- import { n as numberOnlyHandler } from './utils-BnjCmwMr.js';
13
+ import { n as numberOnlyHandler } from './utils-Cpck08K0.js';
14
14
  import './config-state-BKOsYBXZ.js';
15
15
  import './dinero-HXpYMWUU.js';
16
16
  import './Pagination-CLHwhyvu.js';
17
- import { C as accountNumberValidation, D as accountTypeValidation, v as identityNameValidation, E as nicknameValidation, F as bankNameValidation, G as numbersOnlyRegex, H as routingNumberValidation } from './schema-validations-8dbMCACI.js';
17
+ import { C as accountNumberValidation, D as accountTypeValidation, v as identityNameValidation, E as nicknameValidation, F as bankNameValidation, G as numbersOnlyRegex, H as routingNumberValidation } from './schema-validations-8GJ34Do1.js';
18
18
  import { B as Button } from './button-CBzHAOFW.js';
19
19
  import './event-types-CZfYo5-1.js';
20
- import { c as countryLabels } from './country-config-CJwnhkdq.js';
20
+ import { c as countryLabels } from './country-config-DJFj1v-Q.js';
21
21
  import { s as snakeCaseToHumanReadable, b as formatDate, d as formatTime } from './utils-D8J8OvxY.js';
22
22
  import { S as Skeleton } from './skeleton-dbktEkFS.js';
23
- import { u as updateFormValues, a as updateAddressFormValues, b as updateDateOfBirthFormValues } from './input-handlers-Dfuc6aDW.js';
24
- import { A as Api } from './Api-83B3f28Q.js';
23
+ import { u as updateFormValues, a as updateAddressFormValues, b as updateDateOfBirthFormValues } from './input-handlers-Dm8jO-BT.js';
24
+ import { A as Api } from './Api-INJHjnya.js';
25
25
  import { S as StyledHost } from './styled-host-RvPhw8Gu.js';
26
- import { P as PlaidService } from './plaid.service-DufQkxDk.js';
27
- import './utils-YUOJKtjO.js';
26
+ import { P as PlaidService } from './plaid.service-Cg3E3Plo.js';
27
+ import './utils-DaPywmTI.js';
28
28
  import './_commonjsHelpers-BFTU3MAI.js';
29
29
  import './index-3wWWWrhn.js';
30
- import './package-CAVi_ne1.js';
30
+ import './package-BQpbTebi.js';
31
31
 
32
32
  // Emits a MISSING_PROPS error naming each falsy prop. Returns true when all props are present.
33
33
  // `props` keys are the public attribute names, e.g. { 'auth-token': this.authToken }.
@@ -1,9 +1,9 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-CV0Pyo1O.js';
2
- import { a as businessServiceReceivedOptions, r as recurringPaymentsOptions, s as seasonalBusinessOptions, d as businessClassificationOptions, b as businessTitleOptions } from './business-form-options-BxVQL9ar.js';
2
+ import { a as businessServiceReceivedOptions, r as recurringPaymentsOptions, s as seasonalBusinessOptions, d as businessClassificationOptions, b as businessTitleOptions } from './business-form-options-DLRkVtee.js';
3
3
  import { C as CURRENCY_MASK, I as IDENTITY_MASKS, P as PHONE_MASKS } from './form-input-masks-CVaOFfrI.js';
4
4
  import { b as heading2, x as label, u as inputDisabled, a0 as buttonSecondary } from './parts-Bu7gdOaV.js';
5
- import { c as CoreBusinessInfo, d as deconstructDate, C as CountryCode } from './Business-DaDqgDrb.js';
6
- import { c as countryLabels } from './country-config-CJwnhkdq.js';
5
+ import { c as CoreBusinessInfo, d as deconstructDate, C as CountryCode } from './Business-CTtGaVYs.js';
6
+ import { c as countryLabels } from './country-config-DJFj1v-Q.js';
7
7
 
8
8
  const AdditionalQuestions = class {
9
9
  constructor(hostRef) {