@justifi/webcomponents 6.12.1-rc.5 → 6.12.2

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 (646) hide show
  1. package/LICENSE +21 -0
  2. package/dist/cjs/{Analytics-D4AupIs5.js → Analytics-C1Wd9OW4.js} +3 -3
  3. package/dist/cjs/{Plaid-DAigb4JE.js → Plaid-BlSGeGpn.js} +0 -4
  4. package/dist/cjs/additional-questions-form-step_14.cjs.entry.js +12 -12
  5. package/dist/cjs/additional-questions_5.cjs.entry.js +6 -6
  6. package/dist/cjs/bank-account-billing-form-simple_4.cjs.entry.js +3 -3
  7. package/dist/cjs/bank-account-form.cjs.entry.js +4 -4
  8. package/dist/cjs/bank-account-read-only-value.cjs.entry.js +1 -1
  9. package/dist/cjs/{business.service-CdT38fur.js → business.service-BheJs82v.js} +1 -1
  10. package/dist/cjs/card-form.cjs.entry.js +4 -4
  11. package/dist/cjs/{check-pkg-version-Cl1JxnNX.js → check-pkg-version-DMXmPDqZ.js} +1 -1
  12. package/dist/cjs/{checkout.service-BXK8cZfN.js → checkout.service-DZKdHQQq.js} +1 -1
  13. package/dist/cjs/{checkout.store-zTfjieKa.js → checkout.store-CztwuCnG.js} +2 -0
  14. package/dist/cjs/checkouts-list-core.cjs.entry.js +2 -2
  15. package/dist/cjs/custom-popper_2.cjs.entry.js +2 -2
  16. package/dist/cjs/{dispute.service-CeBgrOjr.js → dispute.service-BbtwY673.js} +1 -1
  17. package/dist/cjs/form-address-fields_3.cjs.entry.js +4 -4
  18. package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
  19. package/dist/cjs/form-control-date.cjs.entry.js +2 -2
  20. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
  21. package/dist/cjs/form-control-file.cjs.entry.js +2 -2
  22. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +2 -2
  23. package/dist/cjs/form-control-monetary.cjs.entry.js +2 -2
  24. package/dist/cjs/form-control-number_3.cjs.entry.js +5 -5
  25. package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
  26. package/dist/cjs/form-control-select_2.cjs.entry.js +4 -4
  27. package/dist/cjs/{get-business-Cu7Avp2x.js → get-business-CKC1P4Qs.js} +2 -2
  28. package/dist/cjs/{get-payment-details-qWCANtqS.js → get-payment-details-DL5FmIyF.js} +2 -2
  29. package/dist/cjs/{get-subaccounts-D6z1oD7x.js → get-subaccounts-CVK4O7th.js} +2 -2
  30. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
  31. package/dist/cjs/hidden-input_2.cjs.entry.js +5 -5
  32. package/dist/cjs/internal-button.cjs.entry.js +1 -1
  33. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +8 -8
  34. package/dist/cjs/justifi-apple-pay_11.cjs.entry.js +117 -53
  35. package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +5 -5
  36. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +5 -5
  37. package/dist/cjs/justifi-billing-form-full.cjs.entry.js +1 -1
  38. package/dist/cjs/justifi-billing-form.cjs.entry.js +1 -1
  39. package/dist/cjs/justifi-business-details.cjs.entry.js +58 -22
  40. package/dist/cjs/justifi-business-form.cjs.entry.js +7 -7
  41. package/dist/cjs/justifi-card-billing-form-simple.cjs.entry.js +1 -1
  42. package/dist/cjs/justifi-card-form.cjs.entry.js +5 -5
  43. package/dist/cjs/justifi-checkout.cjs.entry.js +9 -12
  44. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +3 -3
  45. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +8 -8
  46. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
  47. package/dist/cjs/justifi-dispute-management.cjs.entry.js +7 -7
  48. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +10 -10
  49. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +5 -5
  50. package/dist/cjs/justifi-order-terminals.cjs.entry.js +9 -9
  51. package/dist/cjs/justifi-payment-details.cjs.entry.js +69 -30
  52. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +10 -8
  53. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +7 -7
  54. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
  55. package/dist/cjs/justifi-payments-list.cjs.entry.js +132 -18
  56. package/dist/cjs/justifi-payout-details.cjs.entry.js +74 -18
  57. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +7 -7
  58. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +3 -3
  59. package/dist/cjs/justifi-payouts-list.cjs.entry.js +169 -21
  60. package/dist/cjs/justifi-refund-payment.cjs.entry.js +7 -7
  61. package/dist/cjs/justifi-save-new-payment-method.cjs.entry.js +1 -1
  62. package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +1 -1
  63. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +6 -6
  64. package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
  65. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +4 -4
  66. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +7 -7
  67. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +2 -2
  68. package/dist/cjs/justifi-terminals-list.cjs.entry.js +183 -20
  69. package/dist/cjs/loader.cjs.js +1 -1
  70. package/dist/cjs/{package-BRuzzVG1.js → package-CRaVpb0w.js} +1 -1
  71. package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
  72. package/dist/cjs/{payment-provisioning-actions-COLn1qHN.js → payment-provisioning-actions-BO7dzIm1.js} +2 -2
  73. package/dist/cjs/payment-provisioning-form-buttons_2.cjs.entry.js +2 -2
  74. package/dist/cjs/{payment.service-CiOWHJtd.js → payment.service-sZKlg2Jq.js} +1 -1
  75. package/dist/cjs/{payout.service-U7tm4CKf.js → payout.service-BcQVsMCS.js} +1 -1
  76. package/dist/cjs/{payouts-status-DXZ5fl4v.js → payouts-status-CwgOMz-S.js} +21 -0
  77. package/dist/cjs/{plaid.service-DFL4b6_i.js → plaid.service-BcgO2VXC.js} +1 -1
  78. package/dist/cjs/radio-list-item.cjs.entry.js +1 -1
  79. package/dist/cjs/save-new-payment-method.cjs.entry.js +2 -2
  80. package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
  81. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +3 -3
  82. package/dist/cjs/{terminal-orders-table-D28SoPYI.js → terminal-orders-table-Cz6qvzVE.js} +1 -1
  83. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
  84. package/dist/cjs/{terminal.service-Cl7Vp33V.js → terminal.service-CjMMWSh3.js} +1 -1
  85. package/dist/cjs/{utils-CIjcxKu1.js → utils-DbTucCTO.js} +1 -1
  86. package/dist/cjs/webcomponents.cjs.js +1 -1
  87. package/dist/collection/api/Analytics.js +1 -1
  88. package/dist/collection/api/ApplePay.js +0 -4
  89. package/dist/collection/api/services/apple-pay.service.js +1 -6
  90. package/dist/collection/collection-manifest.json +0 -6
  91. package/dist/collection/components/business-details/justifi-business-details.js +56 -17
  92. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +1 -1
  93. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +2 -2
  94. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +2 -2
  95. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +1 -1
  96. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
  97. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +1 -1
  98. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +2 -2
  99. package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -1
  100. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-form-inputs.js +1 -1
  101. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.js +1 -1
  102. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +1 -1
  103. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.js +1 -1
  104. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +2 -2
  105. package/dist/collection/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.js +1 -1
  106. package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +2 -2
  107. package/dist/collection/components/business-forms/payment-provisioning/justifi-payment-provisioning.js +3 -1
  108. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
  109. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +1 -1
  110. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
  111. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
  112. package/dist/collection/components/checkout/billing-form/bank-account-billing-form-simple.js +1 -1
  113. package/dist/collection/components/checkout/billing-form/card-billing-form-simple.js +1 -1
  114. package/dist/collection/components/checkout/billing-form/justifi-billing-form.js +1 -1
  115. package/dist/collection/components/checkout/card-form/card-form.js +2 -2
  116. package/dist/collection/components/checkout/justifi-checkout.js +4 -8
  117. package/dist/collection/components/checkout/justifi-saved-payment-method.js +1 -1
  118. package/dist/collection/components/checkout/save-new-payment-method/justifi-save-new-payment-method.js +1 -1
  119. package/dist/collection/components/checkout/save-new-payment-method/save-new-payment-method.js +1 -1
  120. package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
  121. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +2 -2
  122. package/dist/collection/components/checkouts-list/justifi-checkouts-list.js +1 -1
  123. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  124. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  125. package/dist/collection/components/dispute-management/dispute-response/justifi-additional-statement.js +1 -1
  126. package/dist/collection/components/dispute-management/dispute-response/justifi-cancellation-policy.js +1 -1
  127. package/dist/collection/components/dispute-management/dispute-response/justifi-customer-details.js +1 -1
  128. package/dist/collection/components/dispute-management/dispute-response/justifi-dispute-response.js +1 -1
  129. package/dist/collection/components/dispute-management/dispute-response/justifi-duplicate-charge.js +1 -1
  130. package/dist/collection/components/dispute-management/dispute-response/justifi-electronic-evidence.js +1 -1
  131. package/dist/collection/components/dispute-management/dispute-response/justifi-product-or-service.js +1 -1
  132. package/dist/collection/components/dispute-management/dispute-response/justifi-refund-policy.js +1 -1
  133. package/dist/collection/components/dispute-management/dispute-response/justifi-shipping-details.js +1 -1
  134. package/dist/collection/components/dispute-management/justifi-dispute-management.js +1 -1
  135. package/dist/collection/components/dispute-management/justifi-dispute-notification.js +2 -2
  136. package/dist/collection/components/filters/table-filters-menu.js +1 -1
  137. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  138. package/dist/collection/components/modular-checkout/justifi-modular-checkout.js +31 -1
  139. package/dist/collection/components/modular-checkout/sub-components/justifi-apple-pay.js +34 -15
  140. package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-billing-form-simple.js +1 -1
  141. package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-form.js +1 -1
  142. package/dist/collection/components/modular-checkout/sub-components/justifi-billing-form-full.js +1 -1
  143. package/dist/collection/components/modular-checkout/sub-components/justifi-card-billing-form-simple.js +1 -1
  144. package/dist/collection/components/modular-checkout/sub-components/justifi-card-form.js +1 -1
  145. package/dist/collection/components/modular-checkout/sub-components/justifi-checkout-summary.js +1 -1
  146. package/dist/collection/components/modular-checkout/sub-components/justifi-google-pay.js +20 -1
  147. package/dist/collection/components/modular-checkout/sub-components/justifi-plaid-payment-method.js +27 -14
  148. package/dist/collection/components/modular-checkout/sub-components/justifi-saved-payment-methods.js +7 -5
  149. package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
  150. package/dist/collection/components/order-terminals/justifi-order-terminals.js +1 -1
  151. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  152. package/dist/collection/components/payment-details/justifi-payment-details.js +59 -17
  153. package/dist/collection/components/payment-transactions-list/justifi-payment-transactions-list.js +1 -1
  154. package/dist/collection/components/payments-list/justifi-payments-list-filters.js +2 -2
  155. package/dist/collection/components/payments-list/justifi-payments-list.js +114 -5
  156. package/dist/collection/components/payout-details/justifi-payout-details.js +86 -8
  157. package/dist/collection/components/payout-transactions-list/justifi-payout-transactions-list.js +1 -1
  158. package/dist/collection/components/payouts-list/justifi-payouts-list-filters.js +2 -2
  159. package/dist/collection/components/payouts-list/justifi-payouts-list.js +166 -7
  160. package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list-filters.js +3 -3
  161. package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list.js +1 -1
  162. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
  163. package/dist/collection/components/terminals-list/justifi-terminals-list-filters.js +1 -1
  164. package/dist/collection/components/terminals-list/justifi-terminals-list.js +153 -7
  165. package/dist/collection/components/tokenize-payment-method/justifi-tokenize-payment-method.js +1 -1
  166. package/dist/collection/store/checkout.store.js +2 -0
  167. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  168. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  169. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  170. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  171. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  172. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  173. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  174. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  175. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  176. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  177. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  178. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  179. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  180. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  181. package/dist/collection/ui-components/internal-button.js +1 -1
  182. package/dist/collection/ui-components/radio-list-item.js +1 -1
  183. package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
  184. package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
  185. package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
  186. package/dist/docs.json +256 -995
  187. package/dist/esm/{Analytics-BCoK2BKE.js → Analytics-qafLCOEU.js} +4 -4
  188. package/dist/esm/{Api-BrYhtpEh.js → Api-DMd8hTI-.js} +1 -1
  189. package/dist/esm/{Plaid-BMnuSHeX.js → Plaid-BuKEVgbB.js} +2 -6
  190. package/dist/esm/additional-questions-details_5.entry.js +3 -3
  191. package/dist/esm/additional-questions-form-step_14.entry.js +18 -18
  192. package/dist/esm/additional-questions_5.entry.js +7 -7
  193. package/dist/esm/{badge-B_DdhQ3Q.js → badge-B6dp1XGV.js} +1 -1
  194. package/dist/esm/bank-account-billing-form-simple_4.entry.js +5 -5
  195. package/dist/esm/bank-account-form.entry.js +7 -7
  196. package/dist/esm/bank-account-read-only-value.entry.js +2 -2
  197. package/dist/esm/{business.service-D47BEQPH.js → business.service-BPbZ5fxQ.js} +2 -2
  198. package/dist/esm/{button-B-Agn8yQ.js → button-DRdaAudE.js} +1 -1
  199. package/dist/esm/card-form.entry.js +7 -7
  200. package/dist/esm/{check-pkg-version-C1z6CAOx.js → check-pkg-version-BJtCbzf9.js} +1 -1
  201. package/dist/esm/{checkout.service-BDZroRf0.js → checkout.service-CJMfFKyS.js} +2 -2
  202. package/dist/esm/{checkout.store-C1TdhFf6.js → checkout.store-DFnkcDZ8.js} +2 -0
  203. package/dist/esm/checkouts-list-core.entry.js +8 -8
  204. package/dist/esm/{checkouts-table-BXm9GGFI.js → checkouts-table-C8sPHeTm.js} +3 -3
  205. package/dist/esm/custom-popper_2.entry.js +3 -3
  206. package/dist/esm/{dispute.service-CuBGEFgB.js → dispute.service-vlYGy0nR.js} +2 -2
  207. package/dist/esm/form-address-fields_3.entry.js +6 -6
  208. package/dist/esm/form-control-checkbox.entry.js +5 -5
  209. package/dist/esm/form-control-date.entry.js +4 -4
  210. package/dist/esm/{form-control-error-text-DMKhr8QA.js → form-control-error-text-DVedKyhp.js} +1 -1
  211. package/dist/esm/form-control-file-v2_2.entry.js +5 -5
  212. package/dist/esm/form-control-file.entry.js +4 -4
  213. package/dist/esm/{form-control-help-text-CsdCuw5-.js → form-control-help-text-D-349cNw.js} +1 -1
  214. package/dist/esm/form-control-monetary-provisioning.entry.js +5 -5
  215. package/dist/esm/form-control-monetary.entry.js +6 -6
  216. package/dist/esm/form-control-number_3.entry.js +9 -9
  217. package/dist/esm/form-control-radio.entry.js +3 -3
  218. package/dist/esm/form-control-select_2.entry.js +6 -6
  219. package/dist/esm/{get-business-BsjvgFCj.js → get-business-DpFRs5dE.js} +2 -2
  220. package/dist/esm/{get-payment-details-Br1249qD.js → get-payment-details-DjBou5Fu.js} +2 -2
  221. package/dist/esm/{get-subaccounts-zrWoI4Bh.js → get-subaccounts-CgDWE_5o.js} +3 -3
  222. package/dist/esm/gross-payment-chart-core.entry.js +5 -5
  223. package/dist/esm/{header-1-bRxxOyI-.js → header-1-Bl7MHW0w.js} +1 -1
  224. package/dist/esm/{header-3-E533c0A3.js → header-3-C7JJVnMG.js} +1 -1
  225. package/dist/esm/hidden-input_2.entry.js +7 -7
  226. package/dist/esm/{insurance-state-obAKb1XR.js → insurance-state-qTdpe84i.js} +1 -1
  227. package/dist/esm/internal-button.entry.js +3 -3
  228. package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
  229. package/dist/esm/justifi-apple-pay_11.entry.js +124 -60
  230. package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +7 -7
  231. package/dist/esm/justifi-bank-account-form.entry.js +7 -7
  232. package/dist/esm/justifi-billing-form-full.entry.js +1 -1
  233. package/dist/esm/justifi-billing-form.entry.js +1 -1
  234. package/dist/esm/justifi-business-details.entry.js +63 -27
  235. package/dist/esm/justifi-business-form.entry.js +13 -13
  236. package/dist/esm/justifi-card-billing-form-simple.entry.js +1 -1
  237. package/dist/esm/justifi-card-form.entry.js +7 -7
  238. package/dist/esm/justifi-checkout.entry.js +12 -15
  239. package/dist/esm/justifi-checkouts-list-filters.entry.js +5 -5
  240. package/dist/esm/justifi-checkouts-list.entry.js +13 -13
  241. package/dist/esm/justifi-details.entry.js +2 -2
  242. package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
  243. package/dist/esm/justifi-dispute-management.entry.js +9 -9
  244. package/dist/esm/justifi-dispute-notification_3.entry.js +15 -15
  245. package/dist/esm/justifi-gross-payment-chart.entry.js +9 -9
  246. package/dist/esm/justifi-order-terminals.entry.js +13 -13
  247. package/dist/esm/justifi-payment-details.entry.js +71 -32
  248. package/dist/esm/justifi-payment-provisioning.entry.js +16 -14
  249. package/dist/esm/justifi-payment-transactions-list.entry.js +12 -12
  250. package/dist/esm/justifi-payments-list-filters.entry.js +4 -4
  251. package/dist/esm/justifi-payments-list.entry.js +134 -20
  252. package/dist/esm/justifi-payout-details.entry.js +76 -20
  253. package/dist/esm/justifi-payout-transactions-list.entry.js +12 -12
  254. package/dist/esm/justifi-payouts-list-filters.entry.js +5 -5
  255. package/dist/esm/justifi-payouts-list.entry.js +170 -22
  256. package/dist/esm/justifi-refund-payment.entry.js +12 -12
  257. package/dist/esm/justifi-save-new-payment-method.entry.js +1 -1
  258. package/dist/esm/justifi-saved-payment-method.entry.js +2 -2
  259. package/dist/esm/justifi-season-interruption-insurance.entry.js +11 -11
  260. package/dist/esm/justifi-skeleton.entry.js +3 -3
  261. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +6 -6
  262. package/dist/esm/justifi-terminal-orders-list.entry.js +11 -11
  263. package/dist/esm/justifi-terminals-list-filters.entry.js +4 -4
  264. package/dist/esm/justifi-terminals-list.entry.js +184 -21
  265. package/dist/esm/loader.js +1 -1
  266. package/dist/esm/{package-DbJ8_F44.js → package-BCgsLInF.js} +1 -1
  267. package/dist/esm/pagination-menu.entry.js +1 -1
  268. package/dist/esm/{parts-D50Rx76J.js → parts-DnrawQn3.js} +1 -1
  269. package/dist/esm/payment-method-option.entry.js +2 -2
  270. package/dist/esm/{payment-provisioning-actions-B6LHK2Ka.js → payment-provisioning-actions-Dr0YIShV.js} +2 -2
  271. package/dist/esm/payment-provisioning-form-buttons_2.entry.js +4 -4
  272. package/dist/esm/{payment-provisioning-loading-BAoIyEOj.js → payment-provisioning-loading-DI2wDkhm.js} +1 -1
  273. package/dist/esm/{payment.service-C6ebnLOw.js → payment.service-Ckbb7gXA.js} +2 -2
  274. package/dist/esm/{payments-status-7P7L51CK.js → payments-status-BIDoGw-m.js} +1 -1
  275. package/dist/esm/{payout.service-B6KqlDyg.js → payout.service-BgFKxEoL.js} +2 -2
  276. package/dist/esm/{payouts-status-CGZRMu-q.js → payouts-status-1T2NZBoE.js} +22 -2
  277. package/dist/esm/{plaid.service-BS8Zt6ui.js → plaid.service-BLguQHs_.js} +2 -2
  278. package/dist/esm/radio-list-item.entry.js +2 -2
  279. package/dist/esm/save-new-payment-method.entry.js +2 -2
  280. package/dist/esm/{skeleton-DV6yJalo.js → skeleton-CXGFVqDf.js} +1 -1
  281. package/dist/esm/{spinner--fEgBBOG.js → spinner-kSw6PcwU.js} +1 -1
  282. package/dist/esm/{table-Deugl8h5.js → table-CcyuIutB.js} +2 -2
  283. package/dist/esm/table-filters-menu.entry.js +3 -3
  284. package/dist/esm/terminal-orders-list-core.entry.js +8 -8
  285. package/dist/esm/{terminal-orders-table-BKbTybx0.js → terminal-orders-table-C7KOcRpq.js} +4 -4
  286. package/dist/esm/terminal-quantity-selector.entry.js +2 -2
  287. package/dist/esm/{terminal.service-0AO0m5oh.js → terminal.service-0oISl5j-.js} +2 -2
  288. package/dist/esm/{utils-De6tr4ug.js → utils-BTtxWI2r.js} +1 -1
  289. package/dist/esm/{utils-DJOBwFeP.js → utils-BxYS3WDw.js} +1 -1
  290. package/dist/esm/{utils-DtiRLISl.js → utils-DcfpJGDZ.js} +1 -1
  291. package/dist/esm/webcomponents.js +1 -1
  292. package/dist/module/Analytics.js +1 -1
  293. package/dist/module/ApplePay.js +0 -4
  294. package/dist/module/Plaid.js +2 -2
  295. package/dist/module/additional-questions2.js +1 -1
  296. package/dist/module/bank-account-billing-form-simple2.js +1 -1
  297. package/dist/module/bank-account-document-form-inputs2.js +1 -1
  298. package/dist/module/bank-account-form-inputs-canada2.js +1 -1
  299. package/dist/module/bank-account-form-inputs2.js +1 -1
  300. package/dist/module/bank-account-form2.js +2 -2
  301. package/dist/module/bank-account-read-only-value2.js +1 -1
  302. package/dist/module/business-bank-account-form-step2.js +1 -1
  303. package/dist/module/business-core-info2.js +2 -2
  304. package/dist/module/business-representative-form-inputs2.js +2 -2
  305. package/dist/module/business-representative2.js +2 -2
  306. package/dist/module/business-terms-conditions-form-step2.js +1 -1
  307. package/dist/module/card-billing-form-simple2.js +1 -1
  308. package/dist/module/card-form2.js +2 -2
  309. package/dist/module/checkout.store.js +2 -0
  310. package/dist/module/checkouts-list-core2.js +1 -1
  311. package/dist/module/custom-popper2.js +2 -2
  312. package/dist/module/dispute-management-core.js +1 -1
  313. package/dist/module/dispute-response-core.js +1 -1
  314. package/dist/module/form-address-fields2.js +1 -1
  315. package/dist/module/form-control-checkbox2.js +2 -2
  316. package/dist/module/form-control-date2.js +2 -2
  317. package/dist/module/form-control-file-v22.js +1 -1
  318. package/dist/module/form-control-file2.js +2 -2
  319. package/dist/module/form-control-monetary-provisioning2.js +2 -2
  320. package/dist/module/form-control-monetary2.js +3 -3
  321. package/dist/module/form-control-number-masked2.js +2 -2
  322. package/dist/module/form-control-number2.js +2 -2
  323. package/dist/module/form-control-radio2.js +2 -2
  324. package/dist/module/form-control-select2.js +2 -2
  325. package/dist/module/form-control-text2.js +2 -2
  326. package/dist/module/form-control-textarea2.js +2 -2
  327. package/dist/module/gross-payment-chart-core2.js +2 -2
  328. package/dist/module/hidden-input2.js +1 -1
  329. package/dist/module/identity-address-form2.js +1 -1
  330. package/dist/module/iframe-input2.js +3 -3
  331. package/dist/module/internal-button2.js +1 -1
  332. package/dist/module/justifi-additional-statement2.js +1 -1
  333. package/dist/module/justifi-apple-pay2.js +35 -21
  334. package/dist/module/justifi-bank-account-billing-form-simple.js +1 -1
  335. package/dist/module/justifi-bank-account-form.js +1 -1
  336. package/dist/module/justifi-billing-form-full.js +1 -1
  337. package/dist/module/justifi-billing-form.js +1 -1
  338. package/dist/module/justifi-business-details.js +64 -27
  339. package/dist/module/justifi-button2.js +1 -1
  340. package/dist/module/justifi-cancellation-policy2.js +1 -1
  341. package/dist/module/justifi-card-billing-form-simple.js +1 -1
  342. package/dist/module/justifi-card-form.js +1 -1
  343. package/dist/module/justifi-checkout-summary2.js +2 -2
  344. package/dist/module/justifi-checkout.js +4 -8
  345. package/dist/module/justifi-checkouts-list-filters.js +2 -2
  346. package/dist/module/justifi-checkouts-list.js +2 -2
  347. package/dist/module/justifi-customer-details2.js +1 -1
  348. package/dist/module/justifi-dispute-management.js +1 -1
  349. package/dist/module/justifi-dispute-notification2.js +3 -3
  350. package/dist/module/justifi-dispute-response2.js +1 -1
  351. package/dist/module/justifi-duplicate-charge2.js +1 -1
  352. package/dist/module/justifi-electronic-evidence2.js +1 -1
  353. package/dist/module/justifi-google-pay2.js +6 -1
  354. package/dist/module/justifi-header2.js +1 -1
  355. package/dist/module/justifi-modular-checkout2.js +31 -1
  356. package/dist/module/justifi-order-terminals.js +2 -2
  357. package/dist/module/justifi-payment-details.js +71 -29
  358. package/dist/module/justifi-payment-provisioning.js +4 -2
  359. package/dist/module/justifi-payment-transactions-list.js +2 -2
  360. package/dist/module/justifi-payments-list-filters.js +2 -2
  361. package/dist/module/justifi-payments-list.js +137 -18
  362. package/dist/module/justifi-payout-details.js +76 -21
  363. package/dist/module/justifi-payout-transactions-list.js +2 -2
  364. package/dist/module/justifi-payouts-list-filters.js +3 -3
  365. package/dist/module/justifi-payouts-list.js +174 -20
  366. package/dist/module/justifi-plaid-payment-method2.js +27 -14
  367. package/dist/module/justifi-product-or-service2.js +1 -1
  368. package/dist/module/justifi-refund-payment.js +1 -1
  369. package/dist/module/justifi-refund-policy2.js +1 -1
  370. package/dist/module/justifi-save-new-payment-method.js +1 -1
  371. package/dist/module/justifi-saved-payment-method.js +1 -1
  372. package/dist/module/justifi-saved-payment-methods2.js +7 -5
  373. package/dist/module/justifi-season-interruption-insurance.js +1 -1
  374. package/dist/module/justifi-sezzle-payment-method2.js +1 -1
  375. package/dist/module/justifi-shipping-details2.js +1 -1
  376. package/dist/module/justifi-skeleton.js +1 -1
  377. package/dist/module/justifi-terminal-orders-list-filters.js +4 -4
  378. package/dist/module/justifi-terminal-orders-list.js +2 -2
  379. package/dist/module/justifi-terminals-list-filters.js +2 -2
  380. package/dist/module/justifi-terminals-list.js +190 -20
  381. package/dist/module/justifi-tokenize-payment-method2.js +1 -1
  382. package/dist/module/legal-address-form2.js +1 -1
  383. package/dist/module/owner-details2.js +1 -1
  384. package/dist/module/owner-form-core2.js +1 -1
  385. package/dist/module/owner-form-inputs2.js +2 -2
  386. package/dist/module/owner-form2.js +1 -1
  387. package/dist/module/package.js +1 -1
  388. package/dist/module/payment-method-option.js +1 -1
  389. package/dist/module/payment-provisioning-form-buttons2.js +1 -1
  390. package/dist/module/payment-provisioning-form-steps2.js +1 -1
  391. package/dist/module/payouts-status.js +21 -1
  392. package/dist/module/radio-list-item2.js +1 -1
  393. package/dist/module/representative-details2.js +1 -1
  394. package/dist/module/save-new-payment-method2.js +1 -1
  395. package/dist/module/table-filters-menu2.js +1 -1
  396. package/dist/module/terminal-orders-list-core2.js +2 -2
  397. package/dist/module/terminal-quantity-selector2.js +1 -1
  398. package/dist/module/utils2.js +1 -1
  399. package/dist/types/api/ApplePay.d.ts +0 -7
  400. package/dist/types/components/business-details/justifi-business-details.d.ts +7 -2
  401. package/dist/types/components/business-forms/payment-provisioning/justifi-payment-provisioning.d.ts +1 -1
  402. package/dist/types/components/checkout/justifi-checkout.d.ts +0 -1
  403. package/dist/types/components/modular-checkout/justifi-modular-checkout.d.ts +2 -0
  404. package/dist/types/components/modular-checkout/sub-components/justifi-apple-pay.d.ts +3 -0
  405. package/dist/types/components/modular-checkout/sub-components/justifi-google-pay.d.ts +1 -0
  406. package/dist/types/components/modular-checkout/sub-components/justifi-plaid-payment-method.d.ts +2 -2
  407. package/dist/types/components/payment-details/justifi-payment-details.d.ts +7 -4
  408. package/dist/types/components/payments-list/justifi-payments-list.d.ts +19 -2
  409. package/dist/types/components/payout-details/justifi-payout-details.d.ts +10 -2
  410. package/dist/types/components/payouts-list/justifi-payouts-list.d.ts +25 -2
  411. package/dist/types/components/terminals-list/justifi-terminals-list.d.ts +24 -2
  412. package/dist/types/components.d.ts +10 -216
  413. package/dist/types/store/checkout.store.d.ts +2 -0
  414. package/dist/webcomponents/{p-C2h_HoOZ.js → p--e0ff06z.js} +1 -1
  415. package/dist/webcomponents/p-032b4553.entry.js +1 -0
  416. package/dist/webcomponents/p-042daaf8.entry.js +1 -0
  417. package/dist/webcomponents/{p-272cc70e.entry.js → p-0638f0bd.entry.js} +1 -1
  418. package/dist/webcomponents/p-06ecd4cb.entry.js +1 -0
  419. package/dist/webcomponents/{p-8d215ad8.entry.js → p-09d2efad.entry.js} +1 -1
  420. package/dist/webcomponents/p-0b3f4f22.entry.js +1 -0
  421. package/dist/webcomponents/{p-c499a613.entry.js → p-10be75b8.entry.js} +1 -1
  422. package/dist/webcomponents/p-164f95ec.entry.js +1 -0
  423. package/dist/webcomponents/p-174eb877.entry.js +1 -0
  424. package/dist/webcomponents/p-1e0be7b0.entry.js +1 -0
  425. package/dist/webcomponents/{p-de4c796a.entry.js → p-1e877e0a.entry.js} +1 -1
  426. package/dist/webcomponents/{p-5d2bcf39.entry.js → p-2425a375.entry.js} +1 -1
  427. package/dist/webcomponents/p-24935254.entry.js +1 -0
  428. package/dist/webcomponents/{p-938e4dc8.entry.js → p-256c5509.entry.js} +1 -1
  429. package/dist/webcomponents/p-2LVpxCS_.js +1 -0
  430. package/dist/webcomponents/{p-89bf64ef.entry.js → p-354fb3c4.entry.js} +1 -1
  431. package/dist/webcomponents/p-39cc6928.entry.js +1 -0
  432. package/dist/webcomponents/{p-257597f1.entry.js → p-3c046adc.entry.js} +1 -1
  433. package/dist/webcomponents/p-4226eb4a.entry.js +1 -0
  434. package/dist/webcomponents/p-474ee3f8.entry.js +1 -0
  435. package/dist/webcomponents/p-485b77ba.entry.js +1 -0
  436. package/dist/webcomponents/p-52908814.entry.js +1 -0
  437. package/dist/webcomponents/{p-b7ac15d8.entry.js → p-581808f0.entry.js} +1 -1
  438. package/dist/webcomponents/p-587886f1.entry.js +1 -0
  439. package/dist/webcomponents/p-5ef355ce.entry.js +1 -0
  440. package/dist/webcomponents/p-6917aa3c.entry.js +1 -0
  441. package/dist/webcomponents/{p-d072a65f.entry.js → p-6d81822f.entry.js} +1 -1
  442. package/dist/webcomponents/{p-3e74bd93.entry.js → p-6ecb3ef9.entry.js} +1 -1
  443. package/dist/webcomponents/p-79713014.entry.js +1 -0
  444. package/dist/webcomponents/p-798f4708.entry.js +1 -0
  445. package/dist/webcomponents/p-7f0f72c6.entry.js +1 -0
  446. package/dist/webcomponents/p-7f814609.entry.js +1 -0
  447. package/dist/webcomponents/p-80652cf8.entry.js +1 -0
  448. package/dist/webcomponents/{p-b322d2f3.entry.js → p-8253ef9f.entry.js} +1 -1
  449. package/dist/webcomponents/p-82fe02e4.entry.js +1 -0
  450. package/dist/webcomponents/p-83147f23.entry.js +1 -0
  451. package/dist/webcomponents/p-870fac9e.entry.js +1 -0
  452. package/dist/webcomponents/p-8c2427ed.entry.js +1 -0
  453. package/dist/webcomponents/p-92de00d7.entry.js +1 -0
  454. package/dist/webcomponents/p-956eca2e.entry.js +1 -0
  455. package/dist/webcomponents/p-9581d6a1.entry.js +1 -0
  456. package/dist/webcomponents/{p-7791b55e.entry.js → p-9db1444f.entry.js} +1 -1
  457. package/dist/webcomponents/p-9f74d7ea.entry.js +1 -0
  458. package/dist/webcomponents/{p-DV_3k3u_.js → p-B--N37zY.js} +1 -1
  459. package/dist/webcomponents/p-B5vVjDc_.js +1 -0
  460. package/dist/webcomponents/p-BArmtmkq.js +1 -0
  461. package/dist/webcomponents/p-BCgsLInF.js +1 -0
  462. package/dist/webcomponents/{p-D4DAh8XF.js → p-BJ7GFTiW.js} +1 -1
  463. package/dist/webcomponents/{p-CTwm3w6I.js → p-BRnBHsdq.js} +1 -1
  464. package/dist/webcomponents/{p-C7SCfFA7.js → p-BnaR7f2G.js} +1 -1
  465. package/dist/webcomponents/p-BsQy297i.js +1 -0
  466. package/dist/webcomponents/p-CDf5H0TB.js +1 -0
  467. package/dist/webcomponents/{p-eNNtSIbE.js → p-CR_-qIuN.js} +1 -1
  468. package/dist/webcomponents/{p-CprMk6Bv.js → p-CUI41_5y.js} +1 -1
  469. package/dist/webcomponents/p-CX36GHQP.js +1 -0
  470. package/dist/webcomponents/{p-CEnTtUmd.js → p-CYQvLgSs.js} +1 -1
  471. package/dist/webcomponents/p-Cej-1bD6.js +1 -0
  472. package/dist/webcomponents/p-Cf6HoQKl.js +1 -0
  473. package/dist/webcomponents/{p-s8zhbjC5.js → p-CsdYMTrc.js} +1 -1
  474. package/dist/webcomponents/{p-CzdAS9Jo.js → p-D1D2eC05.js} +1 -1
  475. package/dist/webcomponents/p-D4OlsyTo.js +1 -0
  476. package/dist/webcomponents/{p-CbM9cuX_.js → p-DPmnGTmg.js} +1 -1
  477. package/dist/webcomponents/p-DWevPe7C.js +1 -0
  478. package/dist/webcomponents/{p-Bo0dEB2o.js → p-Dbg501Lu.js} +1 -1
  479. package/dist/webcomponents/p-DcBvJu0k.js +1 -0
  480. package/dist/webcomponents/p-DkdzUTnl.js +1 -0
  481. package/dist/webcomponents/{p-D50Rx76J.js → p-DnrawQn3.js} +1 -1
  482. package/dist/webcomponents/p-GJyHX3us.js +1 -0
  483. package/dist/webcomponents/p-MDZuGvsl.js +1 -0
  484. package/dist/webcomponents/p-XrKLre8M.js +1 -0
  485. package/dist/webcomponents/p-a7a1b168.entry.js +1 -0
  486. package/dist/webcomponents/{p-c683cb34.entry.js → p-a80d958d.entry.js} +1 -1
  487. package/dist/webcomponents/p-b06910b0.entry.js +1 -0
  488. package/dist/webcomponents/p-b2447726.entry.js +1 -0
  489. package/dist/webcomponents/{p-d34f497c.entry.js → p-b483e71b.entry.js} +1 -1
  490. package/dist/webcomponents/{p-431ad048.entry.js → p-bc2af6b4.entry.js} +1 -1
  491. package/dist/webcomponents/p-befe01ef.entry.js +1 -0
  492. package/dist/webcomponents/p-bfe2583d.entry.js +1 -0
  493. package/dist/webcomponents/{p-CwdQ1VdH.js → p-bn_huKYG.js} +1 -1
  494. package/dist/webcomponents/p-c4767c7b.entry.js +1 -0
  495. package/dist/webcomponents/p-c73631f0.entry.js +1 -0
  496. package/dist/webcomponents/p-c8f7ebf6.entry.js +1 -0
  497. package/dist/webcomponents/p-d253a573.entry.js +1 -0
  498. package/dist/webcomponents/p-d7633e10.entry.js +1 -0
  499. package/dist/webcomponents/p-d878df6c.entry.js +1 -0
  500. package/dist/webcomponents/p-da882bd1.entry.js +1 -0
  501. package/dist/webcomponents/{p-2595b409.entry.js → p-dd1cfb9e.entry.js} +1 -1
  502. package/dist/webcomponents/{p-bbcaa5cc.entry.js → p-ddf699e6.entry.js} +4 -4
  503. package/dist/webcomponents/p-de836ec9.entry.js +1 -0
  504. package/dist/webcomponents/{p-1c54dc53.entry.js → p-e6e56dbb.entry.js} +1 -1
  505. package/dist/webcomponents/p-ea30cf08.entry.js +1 -0
  506. package/dist/webcomponents/p-edf5a854.entry.js +1 -0
  507. package/dist/webcomponents/p-f24563ab.entry.js +1 -0
  508. package/dist/webcomponents/p-f4aeda71.entry.js +1 -0
  509. package/dist/webcomponents/p-faa090a5.entry.js +1 -0
  510. package/dist/webcomponents/p-fc7ba195.entry.js +1 -0
  511. package/dist/webcomponents/{p-MvySE12i.js → p-hhdRync5.js} +1 -1
  512. package/dist/webcomponents/p-niGr4RT2.js +1 -0
  513. package/dist/webcomponents/{p-Da4efjxw.js → p-pL4dNfsl.js} +1 -1
  514. package/dist/webcomponents/p-qcQTYcr3.js +1 -0
  515. package/dist/webcomponents/p-uCg79W3M.js +1 -0
  516. package/dist/webcomponents/{p-CjuaXEuI.js → p-x9fFFf7F.js} +1 -1
  517. package/dist/webcomponents/webcomponents.esm.js +1 -1
  518. package/package.json +14 -14
  519. package/dist/cjs/business-details-core.cjs.entry.js +0 -61
  520. package/dist/cjs/get-payout-csv-DDrtCacG.js +0 -24
  521. package/dist/cjs/payment-details-core.cjs.entry.js +0 -83
  522. package/dist/cjs/payments-list-core.cjs.entry.js +0 -112
  523. package/dist/cjs/payments-table-CUxpxNnc.js +0 -50
  524. package/dist/cjs/payout-details-core.cjs.entry.js +0 -89
  525. package/dist/cjs/payouts-list-core.cjs.entry.js +0 -162
  526. package/dist/cjs/payouts-table-Dex2W8r1.js +0 -34
  527. package/dist/cjs/terminals-list-core.cjs.entry.js +0 -146
  528. package/dist/cjs/terminals-table-DmnAuog5.js +0 -64
  529. package/dist/collection/components/business-details/business-details-core.js +0 -105
  530. package/dist/collection/components/payment-details/payment-details-core.js +0 -127
  531. package/dist/collection/components/payments-list/payments-list-core.js +0 -202
  532. package/dist/collection/components/payout-details/payout-details-core.js +0 -199
  533. package/dist/collection/components/payouts-list/payouts-list-core.js +0 -298
  534. package/dist/collection/components/terminals-list/terminals-list-core.js +0 -262
  535. package/dist/esm/business-details-core.entry.js +0 -59
  536. package/dist/esm/get-payout-csv-Dhezo7Ty.js +0 -22
  537. package/dist/esm/payment-details-core.entry.js +0 -81
  538. package/dist/esm/payments-list-core.entry.js +0 -110
  539. package/dist/esm/payments-table-n1VrIKIR.js +0 -46
  540. package/dist/esm/payout-details-core.entry.js +0 -87
  541. package/dist/esm/payouts-list-core.entry.js +0 -160
  542. package/dist/esm/payouts-table-CbzI90ci.js +0 -30
  543. package/dist/esm/terminals-list-core.entry.js +0 -144
  544. package/dist/esm/terminals-table-Bja7MP5H.js +0 -60
  545. package/dist/module/business-details-core.d.ts +0 -11
  546. package/dist/module/business-details-core.js +0 -6
  547. package/dist/module/business-details-core2.js +0 -117
  548. package/dist/module/get-payout-csv.js +0 -22
  549. package/dist/module/payment-details-core.d.ts +0 -11
  550. package/dist/module/payment-details-core.js +0 -6
  551. package/dist/module/payment-details-core2.js +0 -109
  552. package/dist/module/payments-list-core.d.ts +0 -11
  553. package/dist/module/payments-list-core.js +0 -6
  554. package/dist/module/payments-list-core2.js +0 -184
  555. package/dist/module/payout-details-core.d.ts +0 -11
  556. package/dist/module/payout-details-core.js +0 -6
  557. package/dist/module/payout-details-core2.js +0 -118
  558. package/dist/module/payouts-list-core.d.ts +0 -11
  559. package/dist/module/payouts-list-core.js +0 -6
  560. package/dist/module/payouts-list-core2.js +0 -221
  561. package/dist/module/terminals-list-core.d.ts +0 -11
  562. package/dist/module/terminals-list-core.js +0 -6
  563. package/dist/module/terminals-list-core2.js +0 -236
  564. package/dist/types/components/business-details/business-details-core.d.ts +0 -19
  565. package/dist/types/components/payment-details/payment-details-core.d.ts +0 -16
  566. package/dist/types/components/payments-list/payments-list-core.d.ts +0 -28
  567. package/dist/types/components/payout-details/payout-details-core.d.ts +0 -20
  568. package/dist/types/components/payouts-list/payouts-list-core.d.ts +0 -36
  569. package/dist/types/components/terminals-list/terminals-list-core.d.ts +0 -34
  570. package/dist/webcomponents/p-0b95dd8f.entry.js +0 -1
  571. package/dist/webcomponents/p-0f961323.entry.js +0 -1
  572. package/dist/webcomponents/p-15dfb893.entry.js +0 -1
  573. package/dist/webcomponents/p-15f43759.entry.js +0 -1
  574. package/dist/webcomponents/p-1628613b.entry.js +0 -1
  575. package/dist/webcomponents/p-180a3b65.entry.js +0 -1
  576. package/dist/webcomponents/p-18fc10ca.entry.js +0 -1
  577. package/dist/webcomponents/p-1b610299.entry.js +0 -1
  578. package/dist/webcomponents/p-1b92fb9a.entry.js +0 -1
  579. package/dist/webcomponents/p-1srXnUJh.js +0 -1
  580. package/dist/webcomponents/p-22798967.entry.js +0 -1
  581. package/dist/webcomponents/p-26c419f3.entry.js +0 -1
  582. package/dist/webcomponents/p-2d680f77.entry.js +0 -1
  583. package/dist/webcomponents/p-30f61950.entry.js +0 -1
  584. package/dist/webcomponents/p-38281490.entry.js +0 -1
  585. package/dist/webcomponents/p-39bb134c.entry.js +0 -1
  586. package/dist/webcomponents/p-3a4e27f6.entry.js +0 -1
  587. package/dist/webcomponents/p-3c50f7aa.entry.js +0 -1
  588. package/dist/webcomponents/p-4db2e291.entry.js +0 -1
  589. package/dist/webcomponents/p-4df1d08d.entry.js +0 -1
  590. package/dist/webcomponents/p-548c411f.entry.js +0 -1
  591. package/dist/webcomponents/p-55e7e239.entry.js +0 -1
  592. package/dist/webcomponents/p-563097f0.entry.js +0 -1
  593. package/dist/webcomponents/p-605636be.entry.js +0 -1
  594. package/dist/webcomponents/p-6e5ec134.entry.js +0 -1
  595. package/dist/webcomponents/p-6efbbec1.entry.js +0 -1
  596. package/dist/webcomponents/p-71de86bf.entry.js +0 -1
  597. package/dist/webcomponents/p-7225bc77.entry.js +0 -1
  598. package/dist/webcomponents/p-7c244e99.entry.js +0 -1
  599. package/dist/webcomponents/p-84168bf0.entry.js +0 -1
  600. package/dist/webcomponents/p-84879c92.entry.js +0 -1
  601. package/dist/webcomponents/p-8d5138d8.entry.js +0 -1
  602. package/dist/webcomponents/p-8e9407a1.entry.js +0 -1
  603. package/dist/webcomponents/p-92e64f49.entry.js +0 -1
  604. package/dist/webcomponents/p-9805bc39.entry.js +0 -1
  605. package/dist/webcomponents/p-B--wlcf0.js +0 -1
  606. package/dist/webcomponents/p-BJtvT9BX.js +0 -1
  607. package/dist/webcomponents/p-BrO0HEFJ.js +0 -1
  608. package/dist/webcomponents/p-C-QiUcEa.js +0 -1
  609. package/dist/webcomponents/p-C6IaNDXe.js +0 -1
  610. package/dist/webcomponents/p-C95_YBmG.js +0 -1
  611. package/dist/webcomponents/p-CSW_ZzE9.js +0 -1
  612. package/dist/webcomponents/p-CV3lgp6D.js +0 -1
  613. package/dist/webcomponents/p-D5MdA21U.js +0 -1
  614. package/dist/webcomponents/p-D68EHdgA.js +0 -1
  615. package/dist/webcomponents/p-DB_pqjwH.js +0 -1
  616. package/dist/webcomponents/p-DU2RAZiD.js +0 -1
  617. package/dist/webcomponents/p-DbJ8_F44.js +0 -1
  618. package/dist/webcomponents/p-Df9FVwA7.js +0 -1
  619. package/dist/webcomponents/p-DgPbJiLD.js +0 -1
  620. package/dist/webcomponents/p-DmBX8khF.js +0 -1
  621. package/dist/webcomponents/p-DsYFjVQa.js +0 -1
  622. package/dist/webcomponents/p-EBsfAkrP.js +0 -1
  623. package/dist/webcomponents/p-N60pPiy5.js +0 -1
  624. package/dist/webcomponents/p-_fynNk40.js +0 -1
  625. package/dist/webcomponents/p-ad785edd.entry.js +0 -1
  626. package/dist/webcomponents/p-b1a947c8.entry.js +0 -1
  627. package/dist/webcomponents/p-b1c179d7.entry.js +0 -1
  628. package/dist/webcomponents/p-b822ab7e.entry.js +0 -1
  629. package/dist/webcomponents/p-bd3f7117.entry.js +0 -1
  630. package/dist/webcomponents/p-c29859d9.entry.js +0 -1
  631. package/dist/webcomponents/p-c30dd92c.entry.js +0 -1
  632. package/dist/webcomponents/p-c4c9f37b.entry.js +0 -1
  633. package/dist/webcomponents/p-cfd944e6.entry.js +0 -1
  634. package/dist/webcomponents/p-dc99d6b0.entry.js +0 -1
  635. package/dist/webcomponents/p-dd704b1a.entry.js +0 -1
  636. package/dist/webcomponents/p-e29f42c6.entry.js +0 -1
  637. package/dist/webcomponents/p-e322fcca.entry.js +0 -1
  638. package/dist/webcomponents/p-e360d88f.entry.js +0 -1
  639. package/dist/webcomponents/p-eadbb4dc.entry.js +0 -1
  640. package/dist/webcomponents/p-ef30afd5.entry.js +0 -1
  641. package/dist/webcomponents/p-eff6a50d.entry.js +0 -1
  642. package/dist/webcomponents/p-f266373d.entry.js +0 -1
  643. package/dist/webcomponents/p-fb04fa5a.entry.js +0 -1
  644. package/dist/webcomponents/p-feb19fa5.entry.js +0 -1
  645. package/dist/webcomponents/p-k4rghbOK.js +0 -1
  646. package/dist/webcomponents/p-xSaSp1Jy.js +0 -1
@@ -2,30 +2,30 @@
2
2
 
3
3
  var index = require('./index-p7cvUYAE.js');
4
4
  var Api = require('./Api-Bukk55YZ.js');
5
- var Plaid = require('./Plaid-DAigb4JE.js');
5
+ var Plaid = require('./Plaid-BlSGeGpn.js');
6
6
  var styledHost = require('./styled-host-DAi5SuFa.js');
7
7
  require('./event-types-YOY5TKUN.js');
8
8
  var skeleton = require('./skeleton-DvRCiQlA.js');
9
- var checkout_store = require('./checkout.store-zTfjieKa.js');
9
+ var checkout_store = require('./checkout.store-CztwuCnG.js');
10
10
  var parts = require('./parts-BXshb_S-.js');
11
11
  var utils = require('./utils-BHi4j5rB.js');
12
12
  var configState = require('./config-state-BIgGhhe9.js');
13
13
  var header1 = require('./header-1-CsBQoo1f.js');
14
14
  var insuranceState = require('./insurance-state-Xe2auE-N.js');
15
15
  var header3 = require('./header-3-DCYJhPro.js');
16
- var Analytics = require('./Analytics-D4AupIs5.js');
17
- var checkPkgVersion = require('./check-pkg-version-Cl1JxnNX.js');
16
+ var Analytics = require('./Analytics-C1Wd9OW4.js');
17
+ var checkPkgVersion = require('./check-pkg-version-DMXmPDqZ.js');
18
18
  require('./dinero-BwNN_k7x.js');
19
19
  require('./Pagination-Dediz133.js');
20
20
  require('./Business-oBifyXkW.js');
21
21
  require('./Dispute-CruQTF6_.js');
22
- var utils$1 = require('./utils-CIjcxKu1.js');
23
- var checkout_service = require('./checkout.service-BXK8cZfN.js');
24
- var plaid_service = require('./plaid.service-DFL4b6_i.js');
22
+ var utils$1 = require('./utils-DbTucCTO.js');
23
+ var checkout_service = require('./checkout.service-DZKdHQQq.js');
24
+ var plaid_service = require('./plaid.service-BcgO2VXC.js');
25
25
  var index$1 = require('./index-CajjbB9t.js');
26
26
  var paymentMethodOptionUtils = require('./payment-method-option-utils-WYHIHy-l.js');
27
27
  require('./index-W-zoNiyM.js');
28
- require('./package-BRuzzVG1.js');
28
+ require('./package-CRaVpb0w.js');
29
29
 
30
30
  const JustifiRadioListItem = class {
31
31
  constructor(hostRef) {
@@ -237,13 +237,9 @@ class ApplePayService {
237
237
  }
238
238
  };
239
239
  this.currentSession.onpaymentauthorized = async (event) => {
240
- var _a;
241
240
  try {
242
241
  const payment = event.payment;
243
- console.log(payment);
244
- const paymentPayload = Object.assign(Object.assign({}, payment.token), { billing_info: {
245
- name: (_a = payment === null || payment === void 0 ? void 0 : payment.billingContact) === null || _a === void 0 ? void 0 : _a.givenName
246
- }, product_details: {
242
+ const paymentPayload = Object.assign(Object.assign({}, payment.token), { product_details: {
247
243
  name: this.currentPaymentRequest.total.label,
248
244
  price: Plaid.ApplePayHelpers.parseAmount(this.currentPaymentRequest.total.amount),
249
245
  description: this.currentPaymentRequest.total.label,
@@ -375,7 +371,6 @@ class ApplePayService {
375
371
  merchantCapabilities: Plaid.ApplePayHelpers.getDefaultMerchantCapabilities(),
376
372
  supportedNetworks: Plaid.ApplePayHelpers.getDefaultSupportedNetworks(),
377
373
  total: Plaid.ApplePayHelpers.createLineItem(label, amount),
378
- requiredBillingContactFields: Plaid.ApplePayHelpers.getDefaultBillingContactFields(),
379
374
  };
380
375
  }
381
376
  /**
@@ -544,6 +539,7 @@ const JustifiApplePay = class {
544
539
  this.applePayCompleted = index.createEvent(this, "applePayCompleted", 7);
545
540
  this.applePayCancelled = index.createEvent(this, "applePayCancelled", 7);
546
541
  this.applePayError = index.createEvent(this, "applePayError", 7);
542
+ this.sdkLoaded = false;
547
543
  this.countryCode = "US";
548
544
  this.merchantIdentifier = "merchant.com.staging-justifi.checkout-dev";
549
545
  this.merchantDisplayName = "JustiFi Checkout";
@@ -579,7 +575,6 @@ const JustifiApplePay = class {
579
575
  ],
580
576
  supportedNetworks: Plaid.ApplePayHelpers.getDefaultSupportedNetworks(),
581
577
  total: Plaid.ApplePayHelpers.createLineItem(checkout_store.checkoutStore.paymentDescription, checkout_store.checkoutStore.paymentAmount),
582
- requiredBillingContactFields: Plaid.ApplePayHelpers.getDefaultBillingContactFields(),
583
578
  };
584
579
  const result = await this.applePayService.startPaymentSession(paymentRequest, checkout_store.checkoutStore.authToken, checkout_store.checkoutStore.accountId);
585
580
  if (result.success) {
@@ -619,6 +614,32 @@ const JustifiApplePay = class {
619
614
  }
620
615
  };
621
616
  }
617
+ componentWillLoad() {
618
+ this.isAvailable = Plaid.ApplePayHelpers.isApplePaySupported();
619
+ if (!this.isAvailable) {
620
+ this.isLoading = false;
621
+ return;
622
+ }
623
+ if (checkout_store.checkoutStore.checkoutLoaded) {
624
+ this.loadApplePaySDK();
625
+ }
626
+ else {
627
+ checkout_store.onChange('checkoutLoaded', (loaded) => {
628
+ if (loaded)
629
+ this.loadApplePaySDK();
630
+ });
631
+ }
632
+ }
633
+ loadApplePaySDK() {
634
+ if (this.sdkLoaded)
635
+ return;
636
+ this.sdkLoaded = true;
637
+ const script = document.createElement('script');
638
+ script.src = 'https://applepay.cdn-apple.com/jsapi/1.latest/apple-pay-sdk.js';
639
+ script.async = true;
640
+ script.onload = () => this.initializeApplePay();
641
+ document.head.appendChild(script);
642
+ }
622
643
  async initializeApplePay() {
623
644
  try {
624
645
  this.isLoading = true;
@@ -630,12 +651,6 @@ const JustifiApplePay = class {
630
651
  if (!hasRequiredConfig) {
631
652
  this.error = "Missing required Apple Pay configuration";
632
653
  this.isConfigValid = false;
633
- console.error("Apple Pay config error: missing required values", {
634
- paymentAmount: checkout_store.checkoutStore.paymentAmount,
635
- paymentCurrency: checkout_store.checkoutStore.paymentCurrency,
636
- hasAuthToken: Boolean(checkout_store.checkoutStore.authToken),
637
- accountId: checkout_store.checkoutStore.accountId,
638
- });
639
654
  this.applePayError.emit({ error: this.error, code: JustifiApplePay.ErrorCode.CONFIG_ERROR });
640
655
  this.isLoading = false;
641
656
  return;
@@ -644,14 +659,12 @@ const JustifiApplePay = class {
644
659
  this.canMakePayments = Plaid.ApplePayHelpers.canMakePayments();
645
660
  if (!this.isAvailable) {
646
661
  this.error = "Apple Pay is not supported on this device";
647
- console.error(this.error);
648
662
  this.applePayError.emit({ error: this.error, code: JustifiApplePay.ErrorCode.NOT_SUPPORTED });
649
663
  this.isLoading = false;
650
664
  return;
651
665
  }
652
666
  if (!this.canMakePayments) {
653
667
  this.error = "Apple Pay is not available";
654
- console.error(this.error);
655
668
  this.applePayError.emit({ error: this.error, code: JustifiApplePay.ErrorCode.NOT_AVAILABLE });
656
669
  this.isLoading = false;
657
670
  return;
@@ -672,7 +685,6 @@ const JustifiApplePay = class {
672
685
  }
673
686
  }
674
687
  catch (error) {
675
- console.error("Apple Pay initialization error:", error);
676
688
  this.error =
677
689
  error instanceof Error
678
690
  ? error.message
@@ -693,7 +705,8 @@ const JustifiApplePay = class {
693
705
  return Plaid.ApplePayHelpers.getDefaultSupportedNetworks();
694
706
  }
695
707
  async abort() {
696
- this.applePayService.abortPaymentSession();
708
+ var _a;
709
+ (_a = this.applePayService) === null || _a === void 0 ? void 0 : _a.abortPaymentSession();
697
710
  this.isProcessing = false;
698
711
  this.applePayCancelled.emit();
699
712
  }
@@ -702,13 +715,14 @@ const JustifiApplePay = class {
702
715
  // Render nothing when Apple Pay is disabled at the checkout settings level
703
716
  return null;
704
717
  }
718
+ if (!this.isAvailable) {
719
+ return null;
720
+ }
705
721
  const isReady = !this.isLoading &&
706
722
  this.isAvailable &&
707
723
  this.canMakePayments &&
708
724
  this.isConfigValid;
709
- return (index.h(styledHost.StyledHost, null, checkout_store.checkoutStore.checkoutLoaded && (index.h("script", { async: true, src: 'https://applepay.cdn-apple.com/jsapi/1.latest/apple-pay-sdk.js', onLoad: () => {
710
- this.initializeApplePay();
711
- } })), index.h("div", { class: 'apple-pay-container' }, index.h(ApplePaySkeleton, { isLoading: this.isLoading }), isReady && (index.h(ApplePayButton, { buttonType: this.buttonType, buttonStyle: this.buttonStyle, disabled: this.disabled, isProcessing: this.isProcessing, isAvailable: this.isAvailable, clickHandler: this.handleApplePayClick, width: this.width, height: this.height }))), index.h("style", null, `
725
+ return (index.h(styledHost.StyledHost, null, index.h("div", { class: 'apple-pay-container' }, index.h(ApplePaySkeleton, { isLoading: this.isLoading }), isReady && (index.h(ApplePayButton, { buttonType: this.buttonType, buttonStyle: this.buttonStyle, disabled: this.disabled, isProcessing: this.isProcessing, isAvailable: this.isAvailable, clickHandler: this.handleApplePayClick, width: this.width, height: this.height }))), index.h("style", null, `
712
726
  .apple-pay-container {
713
727
  width: 100%;
714
728
  }
@@ -731,7 +745,7 @@ const JustifiButton = class {
731
745
  this.type = 'button';
732
746
  }
733
747
  render() {
734
- return (index.h(styledHost.StyledHost, { key: '1e09a302d064e2e4a860dc4efd9eb9693d4d0055' }, index.h("internal-button", { key: '9ce7819853789c44860de43f26632c62415ebdb5', text: this.text, variant: this.variant, isLoading: this.isLoading, clickHandler: this.clickHandler, type: this.type, disabled: this.disabled, class: this.class, customStyle: this.customStyle, hidden: this.hidden })));
748
+ return (index.h(styledHost.StyledHost, { key: 'cb0fe35e791df60fcc8198bcda789bf8be205873' }, index.h("internal-button", { key: '26f0f44419d1d72e7ccd1240e88057333d927a36', text: this.text, variant: this.variant, isLoading: this.isLoading, clickHandler: this.clickHandler, type: this.type, disabled: this.disabled, class: this.class, customStyle: this.customStyle, hidden: this.hidden })));
735
749
  }
736
750
  };
737
751
 
@@ -740,7 +754,7 @@ const JustifiCheckoutSummary = class {
740
754
  index.registerInstance(this, hostRef);
741
755
  }
742
756
  render() {
743
- return (index.h(styledHost.StyledHost, { key: 'aa1a2d197c22b3674316a3e17bd9ab6f231bc5d7' }, index.h("section", { key: '32dd25a29ac34c760f8c01f8eceb6c12a63ac0af' }, index.h("div", { key: '426acda00a28d23b653265ff4881745152d51b41' }, index.h("div", { key: '84bf4e849b4339b3311575068c50eb4e38608818', part: parts.text }, checkout_store.checkoutStore === null || checkout_store.checkoutStore === void 0 ? void 0 : checkout_store.checkoutStore.paymentDescription), index.h("div", { key: '77b6f9f99e2b00d6dbdd6ca096a2a58ae13f8e9a' }, index.h("span", { key: '7b53fe5e8fa35facc8f27e6b61013e26577e5faf', part: parts.text }, "Total"), "\u00A0", index.h("span", { key: 'bd55b28e8b239e81d68888e8a2ab5b53856d1a71', part: parts.text }, utils.formatCurrency(+(checkout_store.checkoutStore === null || checkout_store.checkoutStore === void 0 ? void 0 : checkout_store.checkoutStore.totalAmount))))))));
757
+ return (index.h(styledHost.StyledHost, { key: '67414e8e4f91020b00b45fa840e957c439fd5e23' }, index.h("section", { key: '893c1b0ec898adf8d40e1e09fd42797094efd6d4' }, index.h("div", { key: 'f37c1905522b039f7b0ef65e04325570c6a8cef2' }, index.h("div", { key: '10b96593bd21e27645c6548fcbcd3981e4882082', part: parts.text }, checkout_store.checkoutStore === null || checkout_store.checkoutStore === void 0 ? void 0 : checkout_store.checkoutStore.paymentDescription), index.h("div", { key: '7d6ce75a2fc8c5796992940886a21c547f698909' }, index.h("span", { key: 'd40f2f63df16ec751de91d0731d66aa8cc42aa9a', part: parts.text }, "Total"), "\u00A0", index.h("span", { key: 'ebe75dba638d5da9a5aa82e823e2fe4649129cab', part: parts.text }, utils.formatCurrency(+(checkout_store.checkoutStore === null || checkout_store.checkoutStore === void 0 ? void 0 : checkout_store.checkoutStore.totalAmount))))))));
744
758
  }
745
759
  };
746
760
 
@@ -768,6 +782,7 @@ var GooglePayEventTypes;
768
782
  const JustifiGooglePay = class {
769
783
  constructor(hostRef) {
770
784
  index.registerInstance(this, hostRef);
785
+ this.googlePayStarted = index.createEvent(this, "googlePayStarted", 7);
771
786
  this.googlePayCompleted = index.createEvent(this, "googlePayCompleted", 7);
772
787
  this.googlePayCancelled = index.createEvent(this, "googlePayCancelled", 7);
773
788
  this.environment = "TEST";
@@ -795,6 +810,7 @@ const JustifiGooglePay = class {
795
810
  console.error("Google Pay error:", data);
796
811
  break;
797
812
  case GooglePayEventTypes.buttonClicked:
813
+ this.googlePayStarted.emit();
798
814
  this.sendStartPayment();
799
815
  break;
800
816
  case GooglePayEventTypes.paymentSuccess:
@@ -858,11 +874,14 @@ const JustifiGooglePay = class {
858
874
  }, this.iframeOrigin);
859
875
  }
860
876
  render() {
877
+ if (!checkout_store.checkoutStore.checkoutLoaded) {
878
+ return null;
879
+ }
861
880
  if (!checkout_store.checkoutStore.googlePayEnabled) {
862
881
  console.warn("Google Pay is not enabled for this checkout");
863
882
  return null;
864
883
  }
865
- return (index.h(index.Host, null, index.h(GooglePaySkeleton, { isLoading: !this.isReadyToPay }), index.h("iframe", { ref: (el) => (this.iframeElement = el), src: `${this.iframeOrigin}/v2/googlePay`, style: {
884
+ return (index.h(index.Host, null, index.h(GooglePaySkeleton, { isLoading: !this.isReadyToPay }), index.h("iframe", { ref: (el) => (this.iframeElement = el), src: `${this.iframeOrigin}/v2/googlePay`, allow: "payment", style: {
866
885
  border: "none",
867
886
  width: "100%",
868
887
  height: "48px",
@@ -883,7 +902,7 @@ const JustifiHeader = class {
883
902
  }
884
903
  render() {
885
904
  const HeaderComponent = this.levels[this.level];
886
- return (index.h(styledHost.StyledHost, { key: '1843adabddf7d439036f8ce6f55627b7ca3e4a9f' }, index.h(HeaderComponent, { key: 'b16e5624ce7e092cc8c144a7cdfd9cb6afdf7a83', text: this.text, class: this.class })));
905
+ return (index.h(styledHost.StyledHost, { key: '47b96a1e22395349811c97d4e914fa4d77102591' }, index.h(HeaderComponent, { key: '2ac2e58d15c9c92d01fae0ffba9ea6511cc1ac53', text: this.text, class: this.class })));
887
906
  }
888
907
  };
889
908
 
@@ -949,14 +968,22 @@ const JustifiModularCheckout = class {
949
968
  this.submitEvent = index.createEvent(this, "submit-event", 7);
950
969
  this.checkoutChangedEvent = index.createEvent(this, "checkout-changed", 7);
951
970
  this.plaidService = new plaid_service.PlaidService();
971
+ this.handleApplePayStarted = () => {
972
+ checkout_store.checkoutStore.isWalletProcessing = true;
973
+ };
974
+ this.handleGooglePayStarted = () => {
975
+ checkout_store.checkoutStore.isWalletProcessing = true;
976
+ };
952
977
  this.handleGooglePayCompleted = (event) => {
953
978
  const { success, paymentMethodId, error } = event.detail || {};
954
979
  if (success && paymentMethodId) {
980
+ checkout_store.checkoutStore.isWalletProcessing = false;
955
981
  checkout_store.checkoutStore.paymentToken = paymentMethodId;
956
982
  checkout_store.checkoutStore.selectedPaymentMethod = { type: index$1.PAYMENT_METHODS.GOOGLE_PAY };
957
983
  this.submitCheckout();
958
984
  }
959
985
  else {
986
+ checkout_store.checkoutStore.isWalletProcessing = false;
960
987
  this.errorEvent.emit({
961
988
  message: (error && error.message) || "Google Pay payment failed",
962
989
  errorCode: Plaid.ComponentErrorCodes.TOKENIZE_ERROR,
@@ -965,17 +992,20 @@ const JustifiModularCheckout = class {
965
992
  }
966
993
  };
967
994
  this.handleGooglePayCancelled = () => {
995
+ checkout_store.checkoutStore.isWalletProcessing = false;
968
996
  checkout_store.checkoutStore.paymentToken = undefined;
969
997
  checkout_store.checkoutStore.selectedPaymentMethod = undefined;
970
998
  };
971
999
  this.handleApplePayCompleted = (event) => {
972
1000
  const { success, token, paymentMethodId, error } = event.detail;
973
1001
  if (success && token) {
1002
+ checkout_store.checkoutStore.isWalletProcessing = false;
974
1003
  checkout_store.checkoutStore.paymentToken = paymentMethodId;
975
1004
  checkout_store.checkoutStore.selectedPaymentMethod = { type: index$1.PAYMENT_METHODS.APPLE_PAY };
976
1005
  this.submitCheckout();
977
1006
  }
978
1007
  else {
1008
+ checkout_store.checkoutStore.isWalletProcessing = false;
979
1009
  console.error("Apple Pay completed but failed:", error);
980
1010
  this.errorEvent.emit({
981
1011
  message: (error === null || error === void 0 ? void 0 : error.message) || "Apple Pay payment failed",
@@ -985,6 +1015,7 @@ const JustifiModularCheckout = class {
985
1015
  }
986
1016
  };
987
1017
  this.handleApplePayError = (event) => {
1018
+ checkout_store.checkoutStore.isWalletProcessing = false;
988
1019
  const { error, code } = event.detail;
989
1020
  console.error("Apple Pay error:", error);
990
1021
  this.errorEvent.emit({
@@ -995,6 +1026,7 @@ const JustifiModularCheckout = class {
995
1026
  });
996
1027
  };
997
1028
  this.handleApplePayCancelled = () => {
1029
+ checkout_store.checkoutStore.isWalletProcessing = false;
998
1030
  checkout_store.checkoutStore.paymentToken = undefined;
999
1031
  checkout_store.checkoutStore.selectedPaymentMethod = undefined;
1000
1032
  };
@@ -1133,6 +1165,7 @@ const JustifiModularCheckout = class {
1133
1165
  }
1134
1166
  setupApplePayListeners() {
1135
1167
  if (this.applePayRef) {
1168
+ this.applePayRef.addEventListener("applePayStarted", this.handleApplePayStarted);
1136
1169
  this.applePayRef.addEventListener("applePayCompleted", this.handleApplePayCompleted);
1137
1170
  this.applePayRef.addEventListener("applePayError", this.handleApplePayError);
1138
1171
  this.applePayRef.addEventListener("applePayCancelled", this.handleApplePayCancelled);
@@ -1140,6 +1173,7 @@ const JustifiModularCheckout = class {
1140
1173
  }
1141
1174
  removeApplePayListeners() {
1142
1175
  if (this.applePayRef) {
1176
+ this.applePayRef.removeEventListener("applePayStarted", this.handleApplePayStarted);
1143
1177
  this.applePayRef.removeEventListener("applePayCompleted", this.handleApplePayCompleted);
1144
1178
  this.applePayRef.removeEventListener("applePayError", this.handleApplePayError);
1145
1179
  this.applePayRef.removeEventListener("applePayCancelled", this.handleApplePayCancelled);
@@ -1147,12 +1181,14 @@ const JustifiModularCheckout = class {
1147
1181
  }
1148
1182
  setupGooglePayListeners() {
1149
1183
  if (this.googlePayRef) {
1184
+ this.googlePayRef.addEventListener("googlePayStarted", this.handleGooglePayStarted);
1150
1185
  this.googlePayRef.addEventListener("googlePayCompleted", this.handleGooglePayCompleted);
1151
1186
  this.googlePayRef.addEventListener("googlePayCancelled", this.handleGooglePayCancelled);
1152
1187
  }
1153
1188
  }
1154
1189
  removeGooglePayListeners() {
1155
1190
  if (this.googlePayRef) {
1191
+ this.googlePayRef.removeEventListener("googlePayStarted", this.handleGooglePayStarted);
1156
1192
  this.googlePayRef.removeEventListener("googlePayCompleted", this.handleGooglePayCompleted);
1157
1193
  this.googlePayRef.removeEventListener("googlePayCancelled", this.handleGooglePayCancelled);
1158
1194
  }
@@ -1226,8 +1262,12 @@ const JustifiModularCheckout = class {
1226
1262
  }
1227
1263
  async submitCheckout(submitCheckoutArgs) {
1228
1264
  var _a, _b, _c, _d, _e;
1265
+ if (checkout_store.checkoutStore.isSubmitting)
1266
+ return;
1267
+ checkout_store.checkoutStore.isSubmitting = true;
1229
1268
  const isValid = await this.validate();
1230
1269
  if (!checkout_store.checkoutStore.selectedPaymentMethod) {
1270
+ checkout_store.checkoutStore.isSubmitting = false;
1231
1271
  this.errorEvent.emit({
1232
1272
  message: 'No payment method selected.',
1233
1273
  errorCode: Plaid.ComponentErrorCodes.VALIDATION_ERROR,
@@ -1242,6 +1282,7 @@ const JustifiModularCheckout = class {
1242
1282
  if (shouldTokenize) {
1243
1283
  const tokenizeResult = await this.tokenizePaymentMethod(submitCheckoutArgs);
1244
1284
  if (tokenizeResult === null || tokenizeResult === void 0 ? void 0 : tokenizeResult.error) {
1285
+ checkout_store.checkoutStore.isSubmitting = false;
1245
1286
  this.errorEvent.emit({
1246
1287
  message: tokenizeResult.error.message,
1247
1288
  errorCode: Plaid.ComponentErrorCodes.TOKENIZE_ERROR,
@@ -1255,6 +1296,7 @@ const JustifiModularCheckout = class {
1255
1296
  const publicToken = checkout_store.checkoutStore.plaidPublicToken;
1256
1297
  const linkTokenId = checkout_store.checkoutStore.plaidLinkTokenId;
1257
1298
  if (!publicToken) {
1299
+ checkout_store.checkoutStore.isSubmitting = false;
1258
1300
  this.errorEvent.emit({
1259
1301
  message: 'Missing Plaid public token. Please connect your bank.',
1260
1302
  errorCode: Plaid.ComponentErrorCodes.TOKENIZE_ERROR,
@@ -1265,6 +1307,7 @@ const JustifiModularCheckout = class {
1265
1307
  try {
1266
1308
  const response = await this.plaidService.tokenizeBankAccount(checkout_store.checkoutStore.authToken, checkout_store.checkoutStore.accountId, publicToken, linkTokenId || undefined, checkout_store.checkoutStore.savePaymentMethod ? checkout_store.checkoutStore.paymentMethodGroupId : undefined);
1267
1309
  if (response === null || response === void 0 ? void 0 : response.error) {
1310
+ checkout_store.checkoutStore.isSubmitting = false;
1268
1311
  this.errorEvent.emit({
1269
1312
  message: typeof response.error === 'string' ? response.error : response.error.message || 'Failed to tokenize bank account',
1270
1313
  errorCode: Plaid.ComponentErrorCodes.TOKENIZE_ERROR,
@@ -1277,6 +1320,7 @@ const JustifiModularCheckout = class {
1277
1320
  checkout_store.checkoutStore.paymentToken = token;
1278
1321
  }
1279
1322
  catch (err) {
1323
+ checkout_store.checkoutStore.isSubmitting = false;
1280
1324
  this.errorEvent.emit({
1281
1325
  message: (err === null || err === void 0 ? void 0 : err.message) || 'Plaid exchange error',
1282
1326
  errorCode: Plaid.ComponentErrorCodes.TOKENIZE_ERROR,
@@ -1286,6 +1330,7 @@ const JustifiModularCheckout = class {
1286
1330
  }
1287
1331
  }
1288
1332
  if (!isValid) {
1333
+ checkout_store.checkoutStore.isSubmitting = false;
1289
1334
  this.errorEvent.emit({
1290
1335
  message: "Please fill in all required fields.",
1291
1336
  errorCode: Plaid.ComponentErrorCodes.VALIDATION_ERROR,
@@ -1294,6 +1339,7 @@ const JustifiModularCheckout = class {
1294
1339
  return;
1295
1340
  }
1296
1341
  if (!checkout_store.checkoutStore.paymentToken) {
1342
+ checkout_store.checkoutStore.isSubmitting = false;
1297
1343
  this.errorEvent.emit({
1298
1344
  message: 'Payment token not found.',
1299
1345
  errorCode: Plaid.ComponentErrorCodes.TOKENIZE_ERROR,
@@ -1332,6 +1378,7 @@ const JustifiModularCheckout = class {
1332
1378
  });
1333
1379
  }
1334
1380
  catch (error) {
1381
+ checkout_store.checkoutStore.isSubmitting = false;
1335
1382
  console.log('Checkout cancelled by preCompleteHook', error);
1336
1383
  return;
1337
1384
  }
@@ -1339,12 +1386,14 @@ const JustifiModularCheckout = class {
1339
1386
  this.completeCheckout({
1340
1387
  payment,
1341
1388
  onSuccess: ({ checkout }) => {
1389
+ checkout_store.checkoutStore.isSubmitting = false;
1342
1390
  this.submitEvent.emit({
1343
1391
  checkout,
1344
1392
  message: "Checkout completed successfully",
1345
1393
  });
1346
1394
  },
1347
1395
  onError: (error) => {
1396
+ checkout_store.checkoutStore.isSubmitting = false;
1348
1397
  this.errorEvent.emit({
1349
1398
  message: error.message,
1350
1399
  errorCode: Plaid.ComponentErrorCodes.COMPLETE_CHECKOUT_ERROR,
@@ -1354,7 +1403,7 @@ const JustifiModularCheckout = class {
1354
1403
  });
1355
1404
  }
1356
1405
  render() {
1357
- return index.h(index.Host, { key: '43e30ec4192e72c6721f39572eb13ef18c66e7c6' });
1406
+ return index.h(index.Host, { key: '5dbeab6f10177a3ca87ef7bb62f30ed5859b500f' });
1358
1407
  }
1359
1408
  get hostEl() { return index.getElement(this); }
1360
1409
  };
@@ -1376,6 +1425,7 @@ const JustifiPlaidPaymentMethod = class {
1376
1425
  this.isSelected = false;
1377
1426
  this.retryCount = 0;
1378
1427
  this.isRetrying = false;
1428
+ this.sdkLoaded = false;
1379
1429
  this.plaidService = new plaid_service.PlaidService();
1380
1430
  this.maxRetries = 3;
1381
1431
  this.retryDelay = 2000; // 2 seconds
@@ -1722,15 +1772,31 @@ const JustifiPlaidPaymentMethod = class {
1722
1772
  this.openPlaidLink();
1723
1773
  }
1724
1774
  }
1725
- componentDidRender() {
1726
- if (!this.scriptRef)
1775
+ componentWillLoad() {
1776
+ var _a;
1777
+ this.isSelected = ((_a = checkout_store.checkoutStore.selectedPaymentMethod) === null || _a === void 0 ? void 0 : _a.type) === index$1.PAYMENT_METHODS.PLAID;
1778
+ if (checkout_store.checkoutStore.bankAccountVerification !== true)
1727
1779
  return;
1728
- this.scriptRef.onload = () => {
1729
- // Wait for store to be populated before initializing
1730
- this.waitForStoreAndInitialize();
1731
- };
1732
- // Add error handler for script loading failures
1733
- this.scriptRef.onerror = () => {
1780
+ if (checkout_store.checkoutStore.checkoutLoaded) {
1781
+ this.loadPlaidSDK();
1782
+ }
1783
+ else {
1784
+ checkout_store.onChange('checkoutLoaded', (loaded) => {
1785
+ if (loaded && checkout_store.checkoutStore.bankAccountVerification === true) {
1786
+ this.loadPlaidSDK();
1787
+ }
1788
+ });
1789
+ }
1790
+ }
1791
+ loadPlaidSDK() {
1792
+ if (this.sdkLoaded)
1793
+ return;
1794
+ this.sdkLoaded = true;
1795
+ const script = document.createElement('script');
1796
+ script.src = 'https://cdn.plaid.com/link/v2/stable/link-initialize.js';
1797
+ script.async = true;
1798
+ script.onload = () => this.initializePlaidLink();
1799
+ script.onerror = () => {
1734
1800
  this.handleError({
1735
1801
  code: Plaid.PlaidErrorCodes.PLAID_SDK_LOAD_FAILED,
1736
1802
  message: Plaid.PLAID_ERROR_MESSAGES[Plaid.PlaidErrorCodes.PLAID_SDK_LOAD_FAILED],
@@ -1739,11 +1805,7 @@ const JustifiPlaidPaymentMethod = class {
1739
1805
  userAction: 'Refresh the page and try again'
1740
1806
  });
1741
1807
  };
1742
- }
1743
- componentWillLoad() {
1744
- var _a;
1745
- // Initialize selection state based on store
1746
- this.isSelected = ((_a = checkout_store.checkoutStore.selectedPaymentMethod) === null || _a === void 0 ? void 0 : _a.type) === index$1.PAYMENT_METHODS.PLAID;
1808
+ document.head.appendChild(script);
1747
1809
  }
1748
1810
  async resolvePaymentMethod() {
1749
1811
  if (!this.publicToken) {
@@ -1889,7 +1951,7 @@ const JustifiPlaidPaymentMethod = class {
1889
1951
  }
1890
1952
  return null;
1891
1953
  };
1892
- return (index.h(styledHost.StyledHost, { class: "payment-method" }, index.h("script", { src: "https://cdn.plaid.com/link/v2/stable/link-initialize.js", async: true, ref: (el) => (this.scriptRef = el) }), index.h("div", { title: "Pay with Plaid" }, index.h("div", { onClick: (event) => { event.preventDefault(); this.handleSelectionClick(); } }, "Pay with Bank Account ", plaidLogo, " "), renderErrorState(), renderStatusState())));
1954
+ return (index.h(styledHost.StyledHost, { class: "payment-method" }, index.h("div", { title: "Pay with Plaid" }, index.h("div", { onClick: (event) => { event.preventDefault(); this.handleSelectionClick(); } }, "Pay with Bank Account ", plaidLogo, " "), renderErrorState(), renderStatusState())));
1893
1955
  }
1894
1956
  static get watchers() { return {
1895
1957
  "isSelected": ["onSelectionChange"]
@@ -1917,11 +1979,13 @@ const JustifiSavedPaymentMethods = class {
1917
1979
  };
1918
1980
  }
1919
1981
  componentWillLoad() {
1920
- if (!checkout_store.checkoutStore.paymentMethods.length) {
1921
- console.warn('No saved payment methods available.');
1922
- }
1923
- if (checkout_store.checkoutStore.disablePaymentMethodGroup) {
1924
- console.warn('Payment method group is disabled.');
1982
+ if (checkout_store.checkoutStore.checkoutLoaded) {
1983
+ if (!checkout_store.checkoutStore.paymentMethods.length) {
1984
+ console.warn('No saved payment methods available.');
1985
+ }
1986
+ if (checkout_store.checkoutStore.disablePaymentMethodGroup) {
1987
+ console.warn('Payment method group is disabled.');
1988
+ }
1925
1989
  }
1926
1990
  }
1927
1991
  render() {
@@ -2259,7 +2323,7 @@ const JustifiTokenizePaymentMethod = class {
2259
2323
  } }));
2260
2324
  }
2261
2325
  render() {
2262
- return (index.h(styledHost.StyledHost, { key: 'bd0d7ab1f2c9c313c998790214d5d04bf0978521' }, index.h("form", { key: 'aa6af831bf7428a26b441183852fb0439eabc8c5' }, index.h("fieldset", { key: 'ea0ac36b5acd8e5fe40a1d6f8e9ad43c0e1af1a6' }, index.h("div", { key: 'b7d78c90bdc2ea74228a35a9e801c6cb0040bd61', class: "row gy-3" }, index.h("div", { key: 'dc0e1d8e52cc4e622e7f68ce2964692c2fcbcbdd', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), index.h("div", { key: '0c9cb2aac8e78a264abaed66040bb4aa8cd47d4b', class: "col-12" }, index.h("internal-button", { key: '2521d61e7bddc9ac945630e415905cb4e3dc9dd8', text: this.submitButtonText, variant: "primary", type: "submit", clickHandler: (e) => this.tokenizePaymentMethod(e), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.computedHideSubmitButton })))))));
2326
+ return (index.h(styledHost.StyledHost, { key: 'e426ad2935cf88bd5af628da9154cdaccc5e6be2' }, index.h("form", { key: '571fcd140680840f5b68ee08b9cb7d9a5c6156ed' }, index.h("fieldset", { key: 'b394ce7a04e7d57ce2f4eb787252412409c3703d' }, index.h("div", { key: '1eb916974b71ead6dda1c54c36f0cb8f90433190', class: "row gy-3" }, index.h("div", { key: '8fb01d0e321fd265ede20f712779f66cf4404d78', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), index.h("div", { key: '40f03fdb6df080a8d55b72a818b3eb42e56fd9f9', class: "col-12" }, index.h("internal-button", { key: 'b719a621d8a3592e8b4a193656672ab6dd799006', text: this.submitButtonText, variant: "primary", type: "submit", clickHandler: (e) => this.tokenizePaymentMethod(e), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.computedHideSubmitButton })))))));
2263
2327
  }
2264
2328
  get host() { return index.getElement(this); }
2265
2329
  static get watchers() { return {
@@ -1,16 +1,16 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-p7cvUYAE.js');
4
- var Analytics = require('./Analytics-D4AupIs5.js');
5
- var checkPkgVersion = require('./check-pkg-version-Cl1JxnNX.js');
4
+ var Analytics = require('./Analytics-C1Wd9OW4.js');
5
+ var checkPkgVersion = require('./check-pkg-version-DMXmPDqZ.js');
6
6
  var configState = require('./config-state-BIgGhhe9.js');
7
7
  var styledHost = require('./styled-host-DAi5SuFa.js');
8
8
  require('./event-types-YOY5TKUN.js');
9
- require('./package-BRuzzVG1.js');
9
+ require('./package-CRaVpb0w.js');
10
10
  require('./Api-Bukk55YZ.js');
11
11
  require('./utils-BHi4j5rB.js');
12
12
  require('./dinero-BwNN_k7x.js');
13
- require('./Plaid-DAigb4JE.js');
13
+ require('./Plaid-BlSGeGpn.js');
14
14
  require('./Dispute-CruQTF6_.js');
15
15
  require('./Pagination-Dediz133.js');
16
16
  require('./Business-oBifyXkW.js');
@@ -38,7 +38,7 @@ const JustifiBankAccountBillingFormSimple = class {
38
38
  return (_b = (_a = this.bankAccountBillingFormSimpleRef) === null || _a === void 0 ? void 0 : _a.validate()) !== null && _b !== void 0 ? _b : { isValid: false, errors: {} };
39
39
  }
40
40
  render() {
41
- return (index.h(styledHost.StyledHost, { key: 'a788b5c5d898a67f9ba162dcd6f92c0781890818' }, index.h("bank-account-billing-form-simple", { key: '349cfd4d95b322d10767f34fa307c93f0b1200c8', legend: this.legend, ref: (el) => (this.bankAccountBillingFormSimpleRef = el) })));
41
+ return (index.h(styledHost.StyledHost, { key: 'eb678ebd32e57dcefa9b8eadd6c23b9e1ac769c8' }, index.h("bank-account-billing-form-simple", { key: 'f8aecd774e7c9a818b1976c069d16595414ead1d', legend: this.legend, ref: (el) => (this.bankAccountBillingFormSimpleRef = el) })));
42
42
  }
43
43
  };
44
44
 
@@ -1,16 +1,16 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-p7cvUYAE.js');
4
- var checkPkgVersion = require('./check-pkg-version-Cl1JxnNX.js');
5
- var Analytics = require('./Analytics-D4AupIs5.js');
4
+ var checkPkgVersion = require('./check-pkg-version-DMXmPDqZ.js');
5
+ var Analytics = require('./Analytics-C1Wd9OW4.js');
6
6
  var configState = require('./config-state-BIgGhhe9.js');
7
7
  var styledHost = require('./styled-host-DAi5SuFa.js');
8
8
  require('./event-types-YOY5TKUN.js');
9
- require('./package-BRuzzVG1.js');
9
+ require('./package-CRaVpb0w.js');
10
10
  require('./Api-Bukk55YZ.js');
11
11
  require('./utils-BHi4j5rB.js');
12
12
  require('./dinero-BwNN_k7x.js');
13
- require('./Plaid-DAigb4JE.js');
13
+ require('./Plaid-BlSGeGpn.js');
14
14
  require('./Dispute-CruQTF6_.js');
15
15
  require('./Pagination-Dediz133.js');
16
16
  require('./Business-oBifyXkW.js');
@@ -36,7 +36,7 @@ const JustifiBankAccountForm = class {
36
36
  return this.bankAccountFormElement.tokenize({ clientId, paymentMethodMetadata, account });
37
37
  }
38
38
  render() {
39
- return (index.h(styledHost.StyledHost, { key: 'cb5df99dd1983eef6f184637218bb4c21dee6523' }, index.h("bank-account-form", { key: '4708b8ee8cb578e856d05c65edca077128251366', ref: (el) => (this.bankAccountFormElement = el) })));
39
+ return (index.h(styledHost.StyledHost, { key: '9a81b78573c9519a46902679cbb1a8a4536f69be' }, index.h("bank-account-form", { key: '2bc1dfd52e25989a42f25af7f7a6d353eb5a7e5f', ref: (el) => (this.bankAccountFormElement = el) })));
40
40
  }
41
41
  };
42
42
 
@@ -17,7 +17,7 @@ const JustifiBillingFormFull = class {
17
17
  return (_b = (_a = this.billingFormFullRef) === null || _a === void 0 ? void 0 : _a.validate()) !== null && _b !== void 0 ? _b : { isValid: false, errors: {} };
18
18
  }
19
19
  render() {
20
- return (index.h(styledHost.StyledHost, { key: '227d77e5fe6e938fef36149f4212c362b78ad9b4' }, index.h("billing-form-full", { key: '48db37e4e4097383d4f6982c82dd897dc27ed5c0', legend: this.legend, ref: (el) => (this.billingFormFullRef = el) })));
20
+ return (index.h(styledHost.StyledHost, { key: '22594318b6f851014d8cb569d5307a3e74e4af35' }, index.h("billing-form-full", { key: '48c616c3ca6cf8160e2c0df4c136bbbc200393aa', legend: this.legend, ref: (el) => (this.billingFormFullRef = el) })));
21
21
  }
22
22
  };
23
23
 
@@ -17,7 +17,7 @@ const JustifiBillingForm = class {
17
17
  return (_b = (_a = this.billingFormRef) === null || _a === void 0 ? void 0 : _a.validate()) !== null && _b !== void 0 ? _b : { isValid: false, errors: {} };
18
18
  }
19
19
  render() {
20
- return (index.h(styledHost.StyledHost, { key: '3dd5b300e9c156a7f848cb94600d40d554791a93' }, index.h("billing-form", { key: '92d70269b12e5c3fea236553343085f1a8a37c19', legend: this.legend, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, paymentMethodType: this.paymentMethodType, ref: (el) => (this.billingFormRef = el) })));
20
+ return (index.h(styledHost.StyledHost, { key: '8b814bc4f24e7e890f3c67723fdb8fe0401f00c0' }, index.h("billing-form", { key: '535a0c3bd061c4d90bf1060a060bdadb1fe8796f', legend: this.legend, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, paymentMethodType: this.paymentMethodType, ref: (el) => (this.billingFormRef = el) })));
21
21
  }
22
22
  };
23
23