@justifi/webcomponents 6.1.0-rc.3 → 6.2.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 (606) hide show
  1. package/dist/cjs/{Api-DqzbA2qk.js → Api-CjtvTD2_.js} +2 -2
  2. package/dist/cjs/{Refund-BPSBtjQC.js → Refund-BnhHNKLz.js} +4 -3
  3. package/dist/cjs/additional-questions-details_5.cjs.entry.js +14 -13
  4. package/dist/cjs/{badge-BJVdpSU-.js → badge-CE3ss_OU.js} +2 -2
  5. package/dist/cjs/bank-account-document-form-inputs_6.cjs.entry.js +10 -10
  6. package/dist/cjs/bank-account-form.cjs.entry.js +8 -8
  7. package/dist/cjs/business-details-core.cjs.entry.js +5 -5
  8. package/dist/cjs/{business.service-Bv9o99Ll.js → business.service-DRZurAMP.js} +2 -2
  9. package/dist/cjs/{button-_YJuE8cy.js → button-gPNZ9XRn.js} +2 -2
  10. package/dist/cjs/card-form.cjs.entry.js +8 -8
  11. package/dist/cjs/{check-pkg-version-CadxBsjl.js → check-pkg-version-W_AFeiO6.js} +3 -3
  12. package/dist/cjs/{checkout.service-dLB93w3Z.js → checkout.service-vZbSE3A3.js} +2 -2
  13. package/dist/cjs/{checkout.store-DC4yVxDj.js → checkout.store-Bswr7kNY.js} +5 -1
  14. package/dist/cjs/checkouts-list-core.cjs.entry.js +12 -12
  15. package/dist/cjs/{payments-list-params-state-ARjo40Y9.js → checkouts-list-params-state-BYpq-c6X.js} +1 -1
  16. package/dist/cjs/{checkouts-table-C102WCfy.js → checkouts-table-C5AHeIr0.js} +4 -4
  17. package/dist/cjs/{config-state-BeZM7X7J.js → config-state-C7babhLh.js} +1 -1
  18. package/dist/cjs/custom-popper.cjs.entry.js +3 -3
  19. package/dist/cjs/{dispute.service-BmAAnNky.js → dispute.service-DV9a61Tu.js} +2 -2
  20. package/dist/cjs/form-alert_5.cjs.entry.js +2 -2
  21. package/dist/cjs/form-control-checkbox.cjs.entry.js +6 -6
  22. package/dist/cjs/form-control-date.cjs.entry.js +5 -5
  23. package/dist/cjs/{form-control-error-text-DJzNQrEz.js → form-control-error-text-BnMWn8U_.js} +2 -2
  24. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +6 -6
  25. package/dist/cjs/{form-control-help-text-DII6UDeq.js → form-control-help-text-DEi5vSjN.js} +2 -2
  26. package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
  27. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +4 -4
  28. package/dist/cjs/form-control-monetary.cjs.entry.js +7 -7
  29. package/dist/cjs/form-control-number-masked_3.cjs.entry.js +5 -5
  30. package/dist/cjs/form-control-number.cjs.entry.js +6 -6
  31. package/dist/cjs/form-control-radio.cjs.entry.js +4 -4
  32. package/dist/cjs/form-control-select_3.cjs.entry.js +7 -7
  33. package/dist/cjs/{get-payment-details-BHPHzSkH.js → get-payment-details-AYzxPu-X.js} +2 -2
  34. package/dist/cjs/{get-subaccounts-Bw76aYu0.js → get-subaccounts-C_KD197w.js} +3 -3
  35. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +26 -17
  36. package/dist/cjs/{header-1-Da7oKhXY.js → header-1-D3r87SC6.js} +2 -2
  37. package/dist/cjs/{header-3-uBM_CzcP.js → header-3-BFQJJgBb.js} +2 -2
  38. package/dist/cjs/hidden-input_2.cjs.entry.js +9 -9
  39. package/dist/cjs/{index-CaAefsWD.js → index-Bhtk1qkX.js} +5 -2
  40. package/dist/cjs/{index-D-CfIyoF.js → index-CWM5ions.js} +1 -1
  41. package/dist/cjs/{insurance-state-KJzYGtVr.js → insurance-state-JbqYvJN3.js} +3 -3
  42. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +8 -8
  43. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +9 -9
  44. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +10 -10
  45. package/dist/cjs/{justifi-checkout-summary_7.cjs.entry.js → justifi-apple-pay_8.cjs.entry.js} +895 -24
  46. package/dist/cjs/justifi-bank-account-billing-form-simple_9.cjs.entry.js +25 -25
  47. package/dist/cjs/justifi-business-details.cjs.entry.js +11 -11
  48. package/dist/cjs/justifi-business-form.cjs.entry.js +14 -14
  49. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +2 -2
  50. package/dist/cjs/justifi-checkout.cjs.entry.js +12 -12
  51. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +9 -9
  52. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +15 -15
  53. package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
  54. package/dist/cjs/justifi-details.cjs.entry.js +3 -3
  55. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +2 -2
  56. package/dist/cjs/justifi-dispute-management.cjs.entry.js +10 -10
  57. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +16 -16
  58. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +10 -10
  59. package/dist/cjs/justifi-order-terminals.cjs.entry.js +14 -14
  60. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +9 -9
  61. package/dist/cjs/justifi-payment-details.cjs.entry.js +20 -13
  62. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +4 -4
  63. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +9 -9
  64. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +14 -14
  65. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +8 -8
  66. package/dist/cjs/justifi-payments-list.cjs.entry.js +15 -15
  67. package/dist/cjs/justifi-payout-details.cjs.entry.js +13 -12
  68. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +14 -14
  69. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +8 -8
  70. package/dist/cjs/justifi-payouts-list.cjs.entry.js +16 -16
  71. package/dist/cjs/justifi-refund-payment.cjs.entry.js +14 -14
  72. package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +3 -3
  73. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +13 -13
  74. package/dist/cjs/justifi-skeleton.cjs.entry.js +5 -5
  75. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +10 -10
  76. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +13 -13
  77. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +11 -10
  78. package/dist/cjs/justifi-terminals-list.cjs.entry.js +15 -15
  79. package/dist/cjs/loader.cjs.js +2 -2
  80. package/dist/cjs/{package-CVxkAS_m.js → package-BADgkv50.js} +1 -1
  81. package/dist/cjs/pagination-menu.cjs.entry.js +5 -5
  82. package/dist/cjs/{parts-9jMf1erK.js → parts-Pb06tUMp.js} +2 -0
  83. package/dist/cjs/payment-details-core.cjs.entry.js +32 -16
  84. package/dist/cjs/payment-method-option.cjs.entry.js +4 -4
  85. package/dist/cjs/{payment.service-DODmonNs.js → payment.service-1t60I69m.js} +2 -2
  86. package/dist/cjs/payments-list-core.cjs.entry.js +13 -13
  87. package/dist/cjs/{payouts-list-params-state-ARjo40Y9.js → payments-list-params-state-BYpq-c6X.js} +1 -1
  88. package/dist/cjs/{payments-status-5IzqwLep.js → payments-status-CnNXcRLO.js} +21 -3
  89. package/dist/cjs/{payments-table-BcZ6U6p8.js → payments-table-BGuCOPTJ.js} +4 -4
  90. package/dist/cjs/payout-details-core.cjs.entry.js +25 -12
  91. package/dist/cjs/{payout.service-Do8DxBxe.js → payout.service-CQEXfufW.js} +2 -2
  92. package/dist/cjs/payouts-list-core.cjs.entry.js +13 -13
  93. package/dist/cjs/{terminal-orders-list-params-state-ARjo40Y9.js → payouts-list-params-state-BYpq-c6X.js} +1 -1
  94. package/dist/cjs/{payouts-status-D38A6UrI.js → payouts-status-2na6MMgV.js} +2 -2
  95. package/dist/cjs/{payouts-table-Cn_cCCOY.js → payouts-table-DXekpbYc.js} +4 -4
  96. package/dist/cjs/{skeleton-DlPP4i_w.js → skeleton-BvdAh448.js} +2 -2
  97. package/dist/cjs/{spinner-BNWG01hP.js → spinner-Rt52JMa2.js} +2 -2
  98. package/dist/cjs/{styled-host-DSpt9LtB.js → styled-host-BSooSIhA.js} +1 -1
  99. package/dist/cjs/{table-CAWBqvW5.js → table-Ccg4k90C.js} +3 -3
  100. package/dist/cjs/table-filters-menu.cjs.entry.js +4 -4
  101. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +12 -12
  102. package/dist/cjs/{checkouts-list-params-state-ARjo40Y9.js → terminal-orders-list-params-state-BYpq-c6X.js} +1 -1
  103. package/dist/cjs/{terminal-orders-table-BUA4LcEc.js → terminal-orders-table-B4ZXHj3w.js} +6 -6
  104. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +3 -3
  105. package/dist/cjs/{terminal.service-bxQnc1JY.js → terminal.service-BlW-CJ67.js} +2 -2
  106. package/dist/cjs/terminals-list-core.cjs.entry.js +12 -12
  107. package/dist/cjs/terminals-list-params-state-BYpq-c6X.js +22 -0
  108. package/dist/cjs/{terminals-table-C2_M7SWl.js → terminals-table-ByYs-pH7.js} +9 -4
  109. package/dist/cjs/{utils-ChCUZgUy.js → utils-Bab-tddY.js} +4 -0
  110. package/dist/cjs/{utils-C6mfHWv-.js → utils-CUcA4G_O.js} +5 -5
  111. package/dist/cjs/webcomponents.cjs.js +3 -3
  112. package/dist/collection/api/Terminal.js +1 -0
  113. package/dist/collection/api/services/apple-pay.service.js +3 -0
  114. package/dist/collection/collection-manifest.json +2 -2
  115. package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +1 -1
  116. package/dist/collection/components/business-details/owner-details/owner-details.js +9 -8
  117. package/dist/collection/components/business-details/representative-details/representative-details.js +1 -1
  118. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
  119. package/dist/collection/components/checkout/billing-form/billing-form.js +3 -2
  120. package/dist/collection/components/checkout/card-form/card-form.js +2 -2
  121. package/dist/collection/components/checkout/checkout.js +1 -1
  122. package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
  123. package/dist/collection/components/checkout/saved-payment-method.js +1 -1
  124. package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
  125. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
  126. package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
  127. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  128. package/dist/collection/components/dispute-management/dispute-management.js +1 -1
  129. package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
  130. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  131. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  132. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  133. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  134. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  135. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  136. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  137. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  138. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  139. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  140. package/dist/collection/components/filters/table-filters-menu.js +1 -1
  141. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  142. package/dist/collection/components/modular-checkout/modular-checkout.js +7 -6
  143. package/dist/collection/components/modular-checkout/sub-components/apple-pay.js +49 -2
  144. package/dist/collection/components/modular-checkout/sub-components/bank-account-billing-form-simple.js +1 -1
  145. package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
  146. package/dist/collection/components/modular-checkout/sub-components/card-billing-form-simple.js +1 -1
  147. package/dist/collection/components/modular-checkout/sub-components/card-form.js +2 -2
  148. package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
  149. package/dist/collection/components/modular-checkout/sub-components/summary.js +1 -1
  150. package/dist/collection/components/order-terminals/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/payment-details-core.js +19 -9
  153. package/dist/collection/components/payment-details/payment-details.js +28 -1
  154. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
  155. package/dist/collection/components/payments-list/payments-list-core.js +1 -1
  156. package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
  157. package/dist/collection/components/payments-list/payments-list.js +1 -1
  158. package/dist/collection/components/payments-list/payments-status.js +19 -1
  159. package/dist/collection/components/payout-details/payout-details-core.js +57 -4
  160. package/dist/collection/components/payout-details/payout-details.js +22 -1
  161. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +1 -1
  162. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  163. package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
  164. package/dist/collection/components/payouts-list/payouts-list.js +1 -1
  165. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
  166. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
  167. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
  168. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  169. package/dist/collection/components/terminals-list/terminals-list-filters.js +4 -3
  170. package/dist/collection/components/terminals-list/terminals-list.js +1 -1
  171. package/dist/collection/components/terminals-list/terminals-status.js +5 -0
  172. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +1 -1
  173. package/dist/collection/store/checkout.store.js +4 -0
  174. package/dist/collection/styles/parts.js +1 -1
  175. package/dist/collection/ui-components/apple-pay-button.js +6 -8
  176. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  177. package/dist/collection/ui-components/details/utils.js +4 -4
  178. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  179. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  180. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  181. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  182. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  183. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  184. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  185. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  186. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  187. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  188. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  189. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  190. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  191. package/dist/collection/ui-components/pagination-menu/pagination-menu.js +3 -3
  192. package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
  193. package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
  194. package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
  195. package/dist/collection/utils/utils.js +4 -0
  196. package/dist/docs.json +179 -7
  197. package/dist/esm/{Api-DLf3ihCB.js → Api-K9QH1Aki.js} +2 -2
  198. package/dist/esm/{Refund-BeI1WGfx.js → Refund-L_muwEAh.js} +3 -2
  199. package/dist/esm/additional-questions-details_5.entry.js +14 -13
  200. package/dist/esm/{badge-CkfrkCoy.js → badge-B8fF98jp.js} +2 -2
  201. package/dist/esm/bank-account-document-form-inputs_6.entry.js +10 -10
  202. package/dist/esm/bank-account-form.entry.js +8 -8
  203. package/dist/esm/business-details-core.entry.js +5 -5
  204. package/dist/esm/{business.service-BIALik8Z.js → business.service-BJcGEUDH.js} +2 -2
  205. package/dist/esm/{button-CuZAKl_x.js → button-DZoLTGMB.js} +2 -2
  206. package/dist/esm/card-form.entry.js +8 -8
  207. package/dist/esm/{check-pkg-version-Bk5bgulF.js → check-pkg-version-CG8qzhGl.js} +3 -3
  208. package/dist/esm/{checkout.service-DZDZBIGQ.js → checkout.service-aymuZDC9.js} +2 -2
  209. package/dist/esm/{checkout.store-DwJGKabu.js → checkout.store-4nUf2OuT.js} +5 -1
  210. package/dist/esm/checkouts-list-core.entry.js +12 -12
  211. package/dist/esm/{checkouts-list-params-state-BY5996_y.js → checkouts-list-params-state-C_fug9R3.js} +1 -1
  212. package/dist/esm/{checkouts-table-59DpP7zM.js → checkouts-table-B8k-Aylm.js} +4 -4
  213. package/dist/esm/{config-state-C83RkI9h.js → config-state-DiHV-4QK.js} +1 -1
  214. package/dist/esm/custom-popper.entry.js +3 -3
  215. package/dist/esm/{dispute.service-ByJy64X7.js → dispute.service-DiPbsswm.js} +2 -2
  216. package/dist/esm/form-alert_5.entry.js +2 -2
  217. package/dist/esm/form-control-checkbox.entry.js +6 -6
  218. package/dist/esm/form-control-date.entry.js +5 -5
  219. package/dist/esm/{form-control-error-text-CjrxZorl.js → form-control-error-text-BmD6bGbR.js} +2 -2
  220. package/dist/esm/form-control-file-v2_2.entry.js +6 -6
  221. package/dist/esm/{form-control-help-text-CMUgRhUf.js → form-control-help-text-DbIhIcc6.js} +2 -2
  222. package/dist/esm/form-control-help-text.entry.js +1 -1
  223. package/dist/esm/form-control-monetary-provisioning.entry.js +4 -4
  224. package/dist/esm/form-control-monetary.entry.js +7 -7
  225. package/dist/esm/form-control-number-masked_3.entry.js +5 -5
  226. package/dist/esm/form-control-number.entry.js +6 -6
  227. package/dist/esm/form-control-radio.entry.js +4 -4
  228. package/dist/esm/form-control-select_3.entry.js +7 -7
  229. package/dist/esm/{get-payment-details-B00HoaFm.js → get-payment-details-DcC5v85s.js} +2 -2
  230. package/dist/esm/{get-subaccounts-C_yzcZq_.js → get-subaccounts-CMJMDwSP.js} +3 -3
  231. package/dist/esm/gross-payment-chart-core.entry.js +26 -17
  232. package/dist/esm/{header-1-BukynbFR.js → header-1-umkpdspt.js} +2 -2
  233. package/dist/esm/{header-3-D87MAyMK.js → header-3-CD5K5vCa.js} +2 -2
  234. package/dist/esm/hidden-input_2.entry.js +9 -9
  235. package/dist/esm/{index-NOsb-hYl.js → index-DJ9G-4S-.js} +1 -1
  236. package/dist/esm/{index-_b8l4IX7.js → index-DOjVAAtq.js} +5 -2
  237. package/dist/esm/{insurance-state-BjY1QRXI.js → insurance-state-sR5DrCdu.js} +3 -3
  238. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +8 -8
  239. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +9 -9
  240. package/dist/esm/justifi-additional-statement_8.entry.js +10 -10
  241. package/dist/esm/{justifi-checkout-summary_7.entry.js → justifi-apple-pay_8.entry.js} +895 -25
  242. package/dist/esm/justifi-bank-account-billing-form-simple_9.entry.js +25 -25
  243. package/dist/esm/justifi-business-details.entry.js +11 -11
  244. package/dist/esm/justifi-business-form.entry.js +14 -14
  245. package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
  246. package/dist/esm/justifi-checkout.entry.js +12 -12
  247. package/dist/esm/justifi-checkouts-list-filters.entry.js +9 -9
  248. package/dist/esm/justifi-checkouts-list.entry.js +15 -15
  249. package/dist/esm/justifi-config-provider.entry.js +3 -3
  250. package/dist/esm/justifi-details.entry.js +3 -3
  251. package/dist/esm/justifi-dispute-management-core.entry.js +2 -2
  252. package/dist/esm/justifi-dispute-management.entry.js +10 -10
  253. package/dist/esm/justifi-dispute-notification_3.entry.js +16 -16
  254. package/dist/esm/justifi-gross-payment-chart.entry.js +10 -10
  255. package/dist/esm/justifi-order-terminals.entry.js +14 -14
  256. package/dist/esm/justifi-owner-form_3.entry.js +9 -9
  257. package/dist/esm/justifi-payment-details.entry.js +20 -13
  258. package/dist/esm/justifi-payment-provisioning-core.entry.js +4 -4
  259. package/dist/esm/justifi-payment-provisioning.entry.js +9 -9
  260. package/dist/esm/justifi-payment-transactions-list.entry.js +14 -14
  261. package/dist/esm/justifi-payments-list-filters.entry.js +8 -8
  262. package/dist/esm/justifi-payments-list.entry.js +15 -15
  263. package/dist/esm/justifi-payout-details.entry.js +13 -12
  264. package/dist/esm/justifi-payout-transactions-list.entry.js +14 -14
  265. package/dist/esm/justifi-payouts-list-filters.entry.js +8 -8
  266. package/dist/esm/justifi-payouts-list.entry.js +16 -16
  267. package/dist/esm/justifi-refund-payment.entry.js +14 -14
  268. package/dist/esm/justifi-saved-payment-method.entry.js +3 -3
  269. package/dist/esm/justifi-season-interruption-insurance.entry.js +13 -13
  270. package/dist/esm/justifi-skeleton.entry.js +5 -5
  271. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +10 -10
  272. package/dist/esm/justifi-terminal-orders-list.entry.js +13 -13
  273. package/dist/esm/justifi-terminals-list-filters.entry.js +11 -10
  274. package/dist/esm/justifi-terminals-list.entry.js +15 -15
  275. package/dist/esm/loader.js +3 -3
  276. package/dist/esm/{package-BRhnhmpB.js → package-yiqa5abX.js} +1 -1
  277. package/dist/esm/pagination-menu.entry.js +5 -5
  278. package/dist/esm/{parts-CA_TyBed.js → parts-Dj_zevuD.js} +2 -1
  279. package/dist/esm/payment-details-core.entry.js +32 -16
  280. package/dist/esm/payment-method-option.entry.js +4 -4
  281. package/dist/esm/{payment.service-B_NytmNz.js → payment.service-C0xnydJ8.js} +2 -2
  282. package/dist/esm/payments-list-core.entry.js +13 -13
  283. package/dist/esm/{payments-list-params-state-BY5996_y.js → payments-list-params-state-C_fug9R3.js} +1 -1
  284. package/dist/esm/{payments-status-BWv1l1-e.js → payments-status-CzazNnFv.js} +22 -4
  285. package/dist/esm/{payments-table-BSk36N1O.js → payments-table-BPKxBAJ0.js} +4 -4
  286. package/dist/esm/payout-details-core.entry.js +25 -12
  287. package/dist/esm/{payout.service-BJQVlc_Z.js → payout.service-Cl4yxnrx.js} +2 -2
  288. package/dist/esm/payouts-list-core.entry.js +13 -13
  289. package/dist/esm/{payouts-list-params-state-BY5996_y.js → payouts-list-params-state-C_fug9R3.js} +1 -1
  290. package/dist/esm/{payouts-status-BujJlH_r.js → payouts-status-rKlX41bK.js} +2 -2
  291. package/dist/esm/{payouts-table-5N7OylTW.js → payouts-table-C6ZDcd_-.js} +4 -4
  292. package/dist/esm/{skeleton-C161KeYG.js → skeleton-BEoPu3My.js} +2 -2
  293. package/dist/esm/{spinner-UiInIFXW.js → spinner-Ac-w5zWg.js} +2 -2
  294. package/dist/esm/{styled-host-hSGxxyFZ.js → styled-host-OalOsPBp.js} +1 -1
  295. package/dist/esm/{table-9ewYPAZH.js → table-BCwizIf9.js} +3 -3
  296. package/dist/esm/table-filters-menu.entry.js +4 -4
  297. package/dist/esm/terminal-orders-list-core.entry.js +12 -12
  298. package/dist/esm/{terminal-orders-list-params-state-BY5996_y.js → terminal-orders-list-params-state-C_fug9R3.js} +1 -1
  299. package/dist/esm/{terminal-orders-table-BcziGGSF.js → terminal-orders-table-BBQsoUh8.js} +6 -6
  300. package/dist/esm/terminal-quantity-selector.entry.js +3 -3
  301. package/dist/esm/{terminal.service-B9MOFa2c.js → terminal.service-mwaS-Mbj.js} +2 -2
  302. package/dist/esm/terminals-list-core.entry.js +12 -12
  303. package/dist/esm/terminals-list-params-state-C_fug9R3.js +16 -0
  304. package/dist/esm/{terminals-table-BoFlvdHS.js → terminals-table-ByiFdTfy.js} +9 -4
  305. package/dist/esm/{utils-DeZftIgK.js → utils-CIaHqjQt.js} +4 -1
  306. package/dist/esm/{utils-fntGABrK.js → utils-KBIYAa0D.js} +5 -5
  307. package/dist/esm/webcomponents.js +4 -4
  308. package/dist/module/Refund.js +2 -1
  309. package/dist/module/additional-questions-details2.js +1 -1
  310. package/dist/module/additional-statement.js +2 -2
  311. package/dist/{esm/justifi-apple-pay.entry.js → module/apple-pay.js} +73 -31
  312. package/dist/module/badge.js +1 -1
  313. package/dist/module/bank-account-billing-form-simple.js +2 -2
  314. package/dist/module/bank-account-form.js +3 -3
  315. package/dist/module/bank-account.js +2 -2
  316. package/dist/module/billing-form-full.js +1 -1
  317. package/dist/module/billing-form.js +3 -2
  318. package/dist/module/business-bank-account-form-step-core.js +1 -1
  319. package/dist/module/business-core-info-form-step-core.js +1 -1
  320. package/dist/module/business-core-info.js +1 -1
  321. package/dist/module/business-documents-on-file2.js +1 -1
  322. package/dist/module/business-representative-form-inputs.js +1 -1
  323. package/dist/module/business-representative.js +1 -1
  324. package/dist/module/button.js +1 -1
  325. package/dist/module/cancellation-policy.js +2 -2
  326. package/dist/module/card-billing-form-simple.js +2 -2
  327. package/dist/module/card-form.js +3 -3
  328. package/dist/module/card-form2.js +2 -2
  329. package/dist/module/checkout.store.js +4 -0
  330. package/dist/module/checkouts-list-core2.js +2 -2
  331. package/dist/module/custom-popper2.js +2 -2
  332. package/dist/module/customer-details.js +2 -2
  333. package/dist/module/dispute-management-core.js +1 -1
  334. package/dist/module/dispute-notification.js +2 -2
  335. package/dist/module/dispute-response-core.js +2 -2
  336. package/dist/module/dispute-response.js +1 -1
  337. package/dist/module/duplicate-charge.js +2 -2
  338. package/dist/module/electronic-evidence.js +2 -2
  339. package/dist/module/form-alert2.js +1 -1
  340. package/dist/module/form-control-checkbox2.js +3 -3
  341. package/dist/module/form-control-date2.js +3 -3
  342. package/dist/module/form-control-error-text.js +1 -1
  343. package/dist/module/form-control-file-v22.js +1 -1
  344. package/dist/module/form-control-file2.js +3 -3
  345. package/dist/module/form-control-monetary-provisioning2.js +1 -1
  346. package/dist/module/form-control-monetary2.js +3 -3
  347. package/dist/module/form-control-number-masked2.js +3 -3
  348. package/dist/module/form-control-number.js +3 -3
  349. package/dist/module/form-control-radio2.js +3 -3
  350. package/dist/module/form-control-select2.js +3 -3
  351. package/dist/module/form-control-text2.js +3 -3
  352. package/dist/module/form-control-textarea2.js +3 -3
  353. package/dist/module/form-control-tooltip2.js +1 -1
  354. package/dist/module/gross-payment-chart-core2.js +22 -13
  355. package/dist/module/header-3.js +1 -1
  356. package/dist/module/hidden-input2.js +2 -2
  357. package/dist/module/iframe-input2.js +4 -4
  358. package/dist/module/justifi-apple-pay.js +1 -904
  359. package/dist/module/justifi-button2.js +1 -1
  360. package/dist/module/justifi-checkout.js +26 -20
  361. package/dist/module/justifi-checkouts-list-filters.js +2 -2
  362. package/dist/module/justifi-checkouts-list.js +2 -2
  363. package/dist/module/justifi-dispute-management.js +1 -1
  364. package/dist/module/justifi-header2.js +1 -1
  365. package/dist/module/justifi-order-terminals.js +4 -4
  366. package/dist/module/justifi-payment-details.js +8 -1
  367. package/dist/module/justifi-payment-transactions-list.js +3 -3
  368. package/dist/module/justifi-payments-list-filters.js +3 -3
  369. package/dist/module/justifi-payments-list.js +1 -1
  370. package/dist/module/justifi-payout-details.js +4 -2
  371. package/dist/module/justifi-payout-transactions-list.js +3 -3
  372. package/dist/module/justifi-payouts-list-filters.js +3 -3
  373. package/dist/module/justifi-payouts-list.js +2 -2
  374. package/dist/module/justifi-refund-payment.js +1 -1
  375. package/dist/module/justifi-saved-payment-method.js +1 -1
  376. package/dist/module/justifi-season-interruption-insurance.js +2 -2
  377. package/dist/module/justifi-skeleton.js +1 -1
  378. package/dist/module/justifi-terminal-orders-list-filters.js +4 -4
  379. package/dist/module/justifi-terminal-orders-list.js +2 -2
  380. package/dist/module/justifi-terminals-list-filters.js +5 -4
  381. package/dist/module/justifi-terminals-list.js +2 -2
  382. package/dist/module/modular-checkout.js +7 -6
  383. package/dist/module/owner-details2.js +8 -7
  384. package/dist/module/owner-form-core2.js +1 -1
  385. package/dist/module/owner-form-inputs2.js +1 -1
  386. package/dist/module/package.js +1 -1
  387. package/dist/module/pagination-menu2.js +4 -4
  388. package/dist/module/parts.js +2 -1
  389. package/dist/module/payment-details-core2.js +22 -9
  390. package/dist/module/payment-method-option.js +1 -1
  391. package/dist/module/payments-list-core2.js +2 -2
  392. package/dist/module/payments-status.js +20 -2
  393. package/dist/module/payout-details-core2.js +18 -4
  394. package/dist/module/payouts-list-core2.js +2 -2
  395. package/dist/module/product-or-service.js +2 -2
  396. package/dist/module/refund-policy.js +2 -2
  397. package/dist/module/representative-details2.js +1 -1
  398. package/dist/module/save-new-payment-method.js +1 -1
  399. package/dist/module/shipping-details.js +2 -2
  400. package/dist/module/spinner.js +1 -1
  401. package/dist/module/summary.js +1 -1
  402. package/dist/module/table-filters-menu2.js +2 -2
  403. package/dist/module/table.js +1 -1
  404. package/dist/module/terminal-orders-list-core2.js +3 -3
  405. package/dist/module/terminal-quantity-selector2.js +2 -2
  406. package/dist/module/terminals-list-core2.js +8 -3
  407. package/dist/module/tokenize-payment-method.js +1 -1
  408. package/dist/module/utils.js +4 -4
  409. package/dist/module/utils2.js +4 -1
  410. package/dist/types/api/Checkout.d.ts +2 -0
  411. package/dist/types/api/ComponentEvents.d.ts +4 -0
  412. package/dist/types/api/Terminal.d.ts +2 -1
  413. package/dist/types/components/business-details/owner-details/owner-details.d.ts +1 -1
  414. package/dist/types/components/modular-checkout/sub-components/apple-pay.d.ts +2 -0
  415. package/dist/types/components/payment-details/payment-details-core.d.ts +3 -1
  416. package/dist/types/components/payment-details/payment-details.d.ts +3 -1
  417. package/dist/types/components/payments-list/payments-status.d.ts +12 -0
  418. package/dist/types/components/payout-details/payout-details-core.d.ts +5 -1
  419. package/dist/types/components/payout-details/payout-details.d.ts +1 -0
  420. package/dist/types/components.d.ts +38 -2
  421. package/dist/types/stencil-public-runtime.d.ts +20 -10
  422. package/dist/types/store/checkout.store.d.ts +1 -0
  423. package/dist/types/styles/parts.d.ts +1 -1
  424. package/dist/types/ui-components/details/utils.d.ts +3 -2
  425. package/dist/types/utils/utils.d.ts +1 -0
  426. package/dist/webcomponents/{p-62b5e6cf.entry.js → p-0926c397.entry.js} +1 -1
  427. package/dist/webcomponents/p-09aaaf03.entry.js +1 -0
  428. package/dist/webcomponents/p-0b36f1a8.entry.js +1 -0
  429. package/dist/webcomponents/p-0fgTPVV0.js +1 -0
  430. package/dist/webcomponents/p-10537b60.entry.js +1 -0
  431. package/dist/webcomponents/p-164fe6d3.entry.js +1 -0
  432. package/dist/webcomponents/p-1c362f36.entry.js +1 -0
  433. package/dist/webcomponents/p-221ec54e.entry.js +20 -0
  434. package/dist/webcomponents/p-24621c40.entry.js +1 -0
  435. package/dist/webcomponents/{p-c1f10a84.entry.js → p-2ebc8539.entry.js} +1 -1
  436. package/dist/webcomponents/{p-6ea75d39.entry.js → p-2f40f708.entry.js} +1 -1
  437. package/dist/webcomponents/p-30848456.entry.js +1 -0
  438. package/dist/webcomponents/{p-5a044ca5.entry.js → p-3b43f8c0.entry.js} +1 -1
  439. package/dist/webcomponents/p-4a0f34de.entry.js +1 -0
  440. package/dist/webcomponents/p-4d243123.entry.js +1 -0
  441. package/dist/webcomponents/{p-f02bd076.entry.js → p-4d6e0ebe.entry.js} +1 -1
  442. package/dist/webcomponents/p-4e57359c.entry.js +1 -0
  443. package/dist/webcomponents/p-5277f2a6.entry.js +1 -0
  444. package/dist/webcomponents/p-54cea29e.entry.js +1 -0
  445. package/dist/webcomponents/p-580f3bb6.entry.js +1 -0
  446. package/dist/webcomponents/p-5de4d9e4.entry.js +1 -0
  447. package/dist/webcomponents/{p-42763479.entry.js → p-5fcfedb2.entry.js} +1 -1
  448. package/dist/webcomponents/p-6190fbb7.entry.js +1 -0
  449. package/dist/webcomponents/{p-cc1d8649.entry.js → p-620ec409.entry.js} +1 -1
  450. package/dist/webcomponents/p-65090485.entry.js +1 -0
  451. package/dist/webcomponents/{p-ce67282b.entry.js → p-66833631.entry.js} +1 -1
  452. package/dist/webcomponents/p-68aeb5bd.entry.js +1 -0
  453. package/dist/webcomponents/p-6d61092c.entry.js +1 -0
  454. package/dist/webcomponents/{p-40dc0c3c.entry.js → p-72f5e234.entry.js} +1 -1
  455. package/dist/webcomponents/{p-430203b0.entry.js → p-7498759d.entry.js} +1 -1
  456. package/dist/webcomponents/p-760e739c.entry.js +1 -0
  457. package/dist/webcomponents/p-81099469.entry.js +1 -0
  458. package/dist/webcomponents/p-82723f07.entry.js +1 -0
  459. package/dist/webcomponents/p-86372164.entry.js +1 -0
  460. package/dist/webcomponents/{p-b17cb15d.entry.js → p-8896ab68.entry.js} +1 -1
  461. package/dist/webcomponents/{p-c972a599.entry.js → p-89052ce0.entry.js} +1 -1
  462. package/dist/webcomponents/{p-D2hzOOMf.js → p-890S0Nwr.js} +1 -1
  463. package/dist/webcomponents/{p-c7390115.entry.js → p-8a156528.entry.js} +1 -1
  464. package/dist/webcomponents/p-8a68be8f.entry.js +1 -0
  465. package/dist/webcomponents/p-91b09245.entry.js +1 -0
  466. package/dist/webcomponents/p-9ce44689.entry.js +1 -0
  467. package/dist/webcomponents/{p-qUCDGWNE.js → p-B9MN_vv4.js} +1 -1
  468. package/dist/webcomponents/p-BIcS6lTe.js +1 -0
  469. package/dist/webcomponents/{p-BdREtifE.js → p-BRbqaU66.js} +1 -1
  470. package/dist/webcomponents/{p-xWrhxNNk.js → p-BS7OgSQe.js} +1 -1
  471. package/dist/webcomponents/{p-CMpATPXy.js → p-BT473_5I.js} +1 -1
  472. package/dist/webcomponents/p-BXMAoCNA.js +1 -0
  473. package/dist/webcomponents/p-BYrSeoci.js +1 -0
  474. package/dist/webcomponents/p-BdmYH_IK.js +1 -0
  475. package/dist/webcomponents/{p-DTwFW2k_.js → p-BhCH9S0e.js} +1 -1
  476. package/dist/webcomponents/{p-Dkujm7_O.js → p-BkaPXFTl.js} +1 -1
  477. package/dist/webcomponents/{p-CtWnJFtW.js → p-Bm8T-MOQ.js} +1 -1
  478. package/dist/webcomponents/p-BwBb2Opu.js +1 -0
  479. package/dist/webcomponents/p-C2JJBtMc.js +1 -0
  480. package/dist/webcomponents/{p-Dv1Fyrn3.js → p-CJ9qo7_g.js} +1 -1
  481. package/dist/webcomponents/{p-BPDMo6us.js → p-CPKSE7M4.js} +1 -1
  482. package/dist/webcomponents/p-CQQ0H4Pb.js +1 -0
  483. package/dist/webcomponents/p-CTAOJGVx.js +1 -0
  484. package/dist/webcomponents/p-CVtpEQBE.js +1 -0
  485. package/dist/webcomponents/p-D9Yus-je.js +1 -0
  486. package/dist/webcomponents/p-DGsXKF67.js +1 -0
  487. package/dist/webcomponents/{p-lPeK9y_X.js → p-DIdnZUSh.js} +1 -1
  488. package/dist/webcomponents/{p-_b8l4IX7.js → p-DOjVAAtq.js} +2 -2
  489. package/dist/webcomponents/p-DSCBoCn-.js +1 -0
  490. package/dist/webcomponents/{p-hj8k0lRi.js → p-DdMxswn1.js} +1 -1
  491. package/dist/webcomponents/{p-BaM0JBLn.js → p-DfsX5bt_.js} +1 -1
  492. package/dist/webcomponents/p-Dieke6TH.js +1 -0
  493. package/dist/webcomponents/p-Dj_zevuD.js +1 -0
  494. package/dist/webcomponents/{p-BqbXuOZP.js → p-DqPvh0aN.js} +1 -1
  495. package/dist/webcomponents/p-DxnXyWPn.js +1 -0
  496. package/dist/webcomponents/p-Dy3-IlQ3.js +1 -0
  497. package/dist/webcomponents/p-Dyk0thEr.js +1 -0
  498. package/dist/webcomponents/{p-JSXyHheQ.js → p-F6TcNeK4.js} +1 -1
  499. package/dist/webcomponents/{p-fVyCeQNq.js → p-IYf7zn5J.js} +1 -1
  500. package/dist/webcomponents/p-NwmOm8Pg.js +1 -0
  501. package/dist/webcomponents/p-UUJudj_5.js +1 -0
  502. package/dist/webcomponents/p-a2344efb.entry.js +1 -0
  503. package/dist/webcomponents/p-a42ec25b.entry.js +1 -0
  504. package/dist/webcomponents/{p-b46fe458.entry.js → p-a4846316.entry.js} +1 -1
  505. package/dist/webcomponents/p-a6tcNl_T.js +1 -0
  506. package/dist/webcomponents/p-a81f9fc3.entry.js +1 -0
  507. package/dist/webcomponents/p-aa51c9e6.entry.js +1 -0
  508. package/dist/webcomponents/{p-e55ce6ad.entry.js → p-af31dc6d.entry.js} +1 -1
  509. package/dist/webcomponents/p-b4b5dd24.entry.js +1 -0
  510. package/dist/webcomponents/p-b4bb6fa6.entry.js +1 -0
  511. package/dist/webcomponents/{p-931003fc.entry.js → p-b72794e3.entry.js} +1 -1
  512. package/dist/webcomponents/{p-09d53b03.entry.js → p-be0cbdf9.entry.js} +1 -1
  513. package/dist/webcomponents/{p-c6e43493.entry.js → p-c4d919be.entry.js} +1 -1
  514. package/dist/webcomponents/p-c796f813.entry.js +1 -0
  515. package/dist/webcomponents/{p-56617fdd.entry.js → p-c8656d20.entry.js} +1 -1
  516. package/dist/webcomponents/{p-b59221a9.entry.js → p-c8e94ab9.entry.js} +1 -1
  517. package/dist/webcomponents/{p-9367e7e6.entry.js → p-c9bed02a.entry.js} +1 -1
  518. package/dist/webcomponents/p-cca865be.entry.js +1 -0
  519. package/dist/webcomponents/p-cd108cae.entry.js +1 -0
  520. package/dist/webcomponents/p-cfd3035e.entry.js +1 -0
  521. package/dist/webcomponents/p-d7558874.entry.js +1 -0
  522. package/dist/webcomponents/p-d8c2cea4.entry.js +1 -0
  523. package/dist/webcomponents/{p-1cf42bc9.entry.js → p-e2ab3f61.entry.js} +1 -1
  524. package/dist/webcomponents/p-e4e6f3b8.entry.js +1 -0
  525. package/dist/webcomponents/{p-cef5c6e9.entry.js → p-e60e7f6a.entry.js} +1 -1
  526. package/dist/webcomponents/p-ef8ac9f4.entry.js +1 -0
  527. package/dist/webcomponents/p-f4a1d3da.entry.js +1 -0
  528. package/dist/webcomponents/{p-047fe97f.entry.js → p-f72f67ef.entry.js} +1 -1
  529. package/dist/webcomponents/p-fcb185fd.entry.js +1 -0
  530. package/dist/webcomponents/p-fdf5a349.entry.js +1 -0
  531. package/dist/webcomponents/{p-g2ubqhtv.js → p-i--LPP1s.js} +1 -1
  532. package/dist/webcomponents/p-lKnUT24T.js +1 -0
  533. package/dist/webcomponents/{p-M5r2kSbf.js → p-ty1sI-fI.js} +1 -1
  534. package/dist/webcomponents/p-yiqa5abX.js +1 -0
  535. package/dist/webcomponents/webcomponents.esm.js +1 -1
  536. package/package.json +1 -1
  537. package/dist/cjs/justifi-apple-pay.cjs.entry.js +0 -876
  538. package/dist/cjs/terminals-list-params-state-ARjo40Y9.js +0 -22
  539. package/dist/esm/terminals-list-params-state-BY5996_y.js +0 -16
  540. package/dist/webcomponents/p-0254c06c.entry.js +0 -1
  541. package/dist/webcomponents/p-04ca6ff0.entry.js +0 -1
  542. package/dist/webcomponents/p-0c5e2fed.entry.js +0 -1
  543. package/dist/webcomponents/p-0ea48603.entry.js +0 -1
  544. package/dist/webcomponents/p-17e9d5c0.entry.js +0 -1
  545. package/dist/webcomponents/p-1ab4d6aa.entry.js +0 -1
  546. package/dist/webcomponents/p-1e7f4b4f.entry.js +0 -1
  547. package/dist/webcomponents/p-22defde6.entry.js +0 -20
  548. package/dist/webcomponents/p-242208d9.entry.js +0 -1
  549. package/dist/webcomponents/p-31ac0c3d.entry.js +0 -1
  550. package/dist/webcomponents/p-36e21b78.entry.js +0 -1
  551. package/dist/webcomponents/p-3a77a97c.entry.js +0 -1
  552. package/dist/webcomponents/p-40938820.entry.js +0 -1
  553. package/dist/webcomponents/p-46d2d042.entry.js +0 -1
  554. package/dist/webcomponents/p-485516a1.entry.js +0 -1
  555. package/dist/webcomponents/p-4fb58ee6.entry.js +0 -1
  556. package/dist/webcomponents/p-54995a3d.entry.js +0 -1
  557. package/dist/webcomponents/p-592a45f6.entry.js +0 -1
  558. package/dist/webcomponents/p-5ec18584.entry.js +0 -1
  559. package/dist/webcomponents/p-6122dc79.entry.js +0 -1
  560. package/dist/webcomponents/p-62858ba5.entry.js +0 -1
  561. package/dist/webcomponents/p-67dab4d9.entry.js +0 -1
  562. package/dist/webcomponents/p-6b791b1d.entry.js +0 -1
  563. package/dist/webcomponents/p-6ebf8f11.entry.js +0 -1
  564. package/dist/webcomponents/p-6fdac295.entry.js +0 -1
  565. package/dist/webcomponents/p-724cf90f.entry.js +0 -1
  566. package/dist/webcomponents/p-7ecca5fe.entry.js +0 -1
  567. package/dist/webcomponents/p-7ecf9bd0.entry.js +0 -1
  568. package/dist/webcomponents/p-850dd606.entry.js +0 -1
  569. package/dist/webcomponents/p-85af9d78.entry.js +0 -1
  570. package/dist/webcomponents/p-9c114674.entry.js +0 -1
  571. package/dist/webcomponents/p-9c267692.entry.js +0 -1
  572. package/dist/webcomponents/p-BRhnhmpB.js +0 -1
  573. package/dist/webcomponents/p-BgFM_jvF.js +0 -1
  574. package/dist/webcomponents/p-BwpdCtUc.js +0 -1
  575. package/dist/webcomponents/p-CA_TyBed.js +0 -1
  576. package/dist/webcomponents/p-CE-MNrID.js +0 -1
  577. package/dist/webcomponents/p-CQUZeo9r.js +0 -1
  578. package/dist/webcomponents/p-CSeo7WDO.js +0 -1
  579. package/dist/webcomponents/p-CTJ3moi4.js +0 -1
  580. package/dist/webcomponents/p-CYNcSTQA.js +0 -1
  581. package/dist/webcomponents/p-CevVA9qy.js +0 -1
  582. package/dist/webcomponents/p-CkiX8OGy.js +0 -1
  583. package/dist/webcomponents/p-CycBoHSW.js +0 -1
  584. package/dist/webcomponents/p-D-RVXHwG.js +0 -1
  585. package/dist/webcomponents/p-D1Na2I0C.js +0 -1
  586. package/dist/webcomponents/p-D5lmImiz.js +0 -1
  587. package/dist/webcomponents/p-DMf85Fkr.js +0 -1
  588. package/dist/webcomponents/p-DNPS-Ypi.js +0 -1
  589. package/dist/webcomponents/p-DQ5V5-Jy.js +0 -1
  590. package/dist/webcomponents/p-DWGKeoot.js +0 -1
  591. package/dist/webcomponents/p-DapORSs4.js +0 -1
  592. package/dist/webcomponents/p-DcPNd9_D.js +0 -1
  593. package/dist/webcomponents/p-LO0pl3n2.js +0 -1
  594. package/dist/webcomponents/p-PdQT2QcR.js +0 -1
  595. package/dist/webcomponents/p-a2817869.entry.js +0 -1
  596. package/dist/webcomponents/p-a291a90c.entry.js +0 -1
  597. package/dist/webcomponents/p-b0bc03e6.entry.js +0 -1
  598. package/dist/webcomponents/p-c2cb70c8.entry.js +0 -1
  599. package/dist/webcomponents/p-c540fe9d.entry.js +0 -1
  600. package/dist/webcomponents/p-c6093716.entry.js +0 -1
  601. package/dist/webcomponents/p-c780cc91.entry.js +0 -1
  602. package/dist/webcomponents/p-c9598246.entry.js +0 -1
  603. package/dist/webcomponents/p-ce4895ca.entry.js +0 -1
  604. package/dist/webcomponents/p-d21fa0c9.entry.js +0 -1
  605. package/dist/webcomponents/p-d236f152.entry.js +0 -1
  606. package/dist/webcomponents/p-d6ac11fc.entry.js +0 -1
@@ -1,34 +1,903 @@
1
- import { r as registerInstance, h, c as createEvent, H as Host, g as getElement } from './index-_b8l4IX7.js';
2
- import { z as text, r as radioListItem } from './parts-CA_TyBed.js';
3
- import { f as formatCurrency } from './utils-DeZftIgK.js';
4
- import { c as checkoutStore, o as onAnyChange, g as getAvailablePaymentMethodTypes, a as onChange } from './checkout.store-DwJGKabu.js';
5
- import { S as StyledHost } from './styled-host-hSGxxyFZ.js';
1
+ import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-DOjVAAtq.js';
2
+ import { A as Api } from './Api-K9QH1Aki.js';
3
+ import { S as StyledHost } from './styled-host-OalOsPBp.js';
6
4
  import './event-types-CZfYo5-1.js';
7
- import { H as Header1 } from './header-1-BukynbFR.js';
8
- import { H as Header2, b as insuranceValuesOn, h as hasInsuranceValueChanged, i as insuranceValues } from './insurance-state-BjY1QRXI.js';
9
- import { H as Header3 } from './header-3-D87MAyMK.js';
10
- import { J as JustifiAnalytics, c as checkPkgVersion } from './check-pkg-version-Bk5bgulF.js';
11
- import './config-state-C83RkI9h.js';
5
+ import { S as Skeleton } from './skeleton-BEoPu3My.js';
6
+ import { c as checkoutStore, o as onAnyChange, g as getAvailablePaymentMethodTypes, a as onChange } from './checkout.store-4nUf2OuT.js';
7
+ import { D as text, r as radioListItem } from './parts-Dj_zevuD.js';
8
+ import { f as formatCurrency } from './utils-CIaHqjQt.js';
9
+ import { H as Header1 } from './header-1-umkpdspt.js';
10
+ import { H as Header2, b as insuranceValuesOn, h as hasInsuranceValueChanged, i as insuranceValues } from './insurance-state-sR5DrCdu.js';
11
+ import { H as Header3 } from './header-3-CD5K5vCa.js';
12
+ import { J as JustifiAnalytics, c as checkPkgVersion } from './check-pkg-version-CG8qzhGl.js';
13
+ import './config-state-DiHV-4QK.js';
12
14
  import './dinero-HXpYMWUU.js';
13
15
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes, b as ComponentErrorMessages } from './ComponentError-Cjcsf8ku.js';
14
- import { I as ICheckoutStatus } from './Refund-BeI1WGfx.js';
16
+ import { I as ICheckoutStatus } from './Refund-L_muwEAh.js';
15
17
  import './Pagination-CLHwhyvu.js';
16
18
  import './Business-B5rtFhtR.js';
17
19
  import './Dispute-BH0Xfn-F.js';
18
20
  import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
19
- import { C as CheckoutService } from './checkout.service-DZDZBIGQ.js';
20
- import { A as Api } from './Api-DLf3ihCB.js';
21
+ import { C as CheckoutService } from './checkout.service-aymuZDC9.js';
21
22
  import { P as PAYMENT_METHODS, a as PaymentMethod, b as PAYMENT_MODE } from './index-DCIW8z1f.js';
22
23
  import { C as CardBrandLabels } from './payment-method-option-utils-lUHAQVFl.js';
23
- import './index-NOsb-hYl.js';
24
- import './package-BRhnhmpB.js';
24
+ import './index-DJ9G-4S-.js';
25
+ import './package-yiqa5abX.js';
26
+
27
+ var ApplePaySessionStatus;
28
+ (function (ApplePaySessionStatus) {
29
+ ApplePaySessionStatus["STATUS_SUCCESS"] = "STATUS_SUCCESS";
30
+ ApplePaySessionStatus["STATUS_FAILURE"] = "STATUS_FAILURE";
31
+ })(ApplePaySessionStatus || (ApplePaySessionStatus = {}));
32
+ var ApplePayButtonType;
33
+ (function (ApplePayButtonType) {
34
+ ApplePayButtonType["PLAIN"] = "plain";
35
+ ApplePayButtonType["BUY"] = "buy";
36
+ ApplePayButtonType["SET_UP"] = "set-up";
37
+ ApplePayButtonType["DONATE"] = "donate";
38
+ ApplePayButtonType["CHECK_OUT"] = "check-out";
39
+ ApplePayButtonType["BOOK"] = "book";
40
+ ApplePayButtonType["SUBSCRIBE"] = "subscribe";
41
+ })(ApplePayButtonType || (ApplePayButtonType = {}));
42
+ var ApplePayButtonStyle;
43
+ (function (ApplePayButtonStyle) {
44
+ ApplePayButtonStyle["BLACK"] = "black";
45
+ ApplePayButtonStyle["WHITE"] = "white";
46
+ ApplePayButtonStyle["WHITE_OUTLINE"] = "white-outline";
47
+ })(ApplePayButtonStyle || (ApplePayButtonStyle = {}));
48
+ var ApplePayMerchantCapability;
49
+ (function (ApplePayMerchantCapability) {
50
+ ApplePayMerchantCapability["SUPPORTS_3DS"] = "supports3DS";
51
+ ApplePayMerchantCapability["SUPPORTS_EMV"] = "supportsEMV";
52
+ ApplePayMerchantCapability["SUPPORTS_CREDIT"] = "supportsCredit";
53
+ ApplePayMerchantCapability["SUPPORTS_DEBIT"] = "supportsDebit";
54
+ })(ApplePayMerchantCapability || (ApplePayMerchantCapability = {}));
55
+ class ApplePayConfig {
56
+ constructor(data) {
57
+ this.merchantIdentifier = data.merchantIdentifier;
58
+ this.displayName = data.displayName;
59
+ this.initiative = data.initiative;
60
+ this.initiativeContext = data.initiativeContext;
61
+ this.buttonType = data.buttonType || ApplePayButtonType.PLAIN;
62
+ this.buttonStyle = data.buttonStyle || ApplePayButtonStyle.BLACK;
63
+ this.buttonLocale = data.buttonLocale || 'en-US';
64
+ }
65
+ get isValid() {
66
+ return !!(this.merchantIdentifier &&
67
+ this.displayName &&
68
+ this.initiative &&
69
+ this.initiativeContext);
70
+ }
71
+ }
72
+ class ApplePayPaymentRequest {
73
+ constructor(data) {
74
+ this.countryCode = data.countryCode;
75
+ this.currencyCode = data.currencyCode;
76
+ this.merchantCapabilities = data.merchantCapabilities;
77
+ this.supportedNetworks = data.supportedNetworks;
78
+ this.total = data.total;
79
+ this.lineItems = data.lineItems;
80
+ this.shippingMethods = data.shippingMethods;
81
+ this.applicationData = data.applicationData;
82
+ this.supportedCountries = data.supportedCountries;
83
+ }
84
+ get isValid() {
85
+ var _a, _b, _c, _d;
86
+ return !!(this.countryCode &&
87
+ this.currencyCode &&
88
+ ((_a = this.merchantCapabilities) === null || _a === void 0 ? void 0 : _a.length) &&
89
+ ((_b = this.supportedNetworks) === null || _b === void 0 ? void 0 : _b.length) &&
90
+ ((_c = this.total) === null || _c === void 0 ? void 0 : _c.label) &&
91
+ ((_d = this.total) === null || _d === void 0 ? void 0 : _d.amount));
92
+ }
93
+ }
94
+ class ApplePayHelpers {
95
+ static isApplePaySupported() {
96
+ var _a;
97
+ return (typeof window !== 'undefined' &&
98
+ 'ApplePaySession' in window &&
99
+ ((_a = window.ApplePaySession) === null || _a === void 0 ? void 0 : _a.supportsVersion(3)));
100
+ }
101
+ static canMakePayments() {
102
+ var _a;
103
+ if (!this.isApplePaySupported()) {
104
+ return false;
105
+ }
106
+ return ((_a = window.ApplePaySession) === null || _a === void 0 ? void 0 : _a.canMakePayments()) || false;
107
+ }
108
+ static async canMakePaymentsWithActiveCard(merchantIdentifier) {
109
+ var _a;
110
+ if (!this.isApplePaySupported()) {
111
+ return false;
112
+ }
113
+ try {
114
+ return ((await ((_a = window.ApplePaySession) === null || _a === void 0 ? void 0 : _a.canMakePaymentsWithActiveCard(merchantIdentifier))) || false);
115
+ }
116
+ catch (error) {
117
+ console.error('Error checking Apple Pay active card:', error);
118
+ return false;
119
+ }
120
+ }
121
+ static formatAmount(amount) {
122
+ return (amount / 100).toFixed(2);
123
+ }
124
+ static parseAmount(amount) {
125
+ return Math.round(parseFloat(amount) * 100);
126
+ }
127
+ static createLineItem(label, amount, type = 'final') {
128
+ return {
129
+ label,
130
+ amount: this.formatAmount(amount),
131
+ type,
132
+ };
133
+ }
134
+ static getDefaultSupportedNetworks() {
135
+ return ['amex', 'discover', 'masterCard', 'visa'];
136
+ }
137
+ static getDefaultMerchantCapabilities() {
138
+ return [
139
+ ApplePayMerchantCapability.SUPPORTS_3DS,
140
+ ApplePayMerchantCapability.SUPPORTS_EMV,
141
+ ApplePayMerchantCapability.SUPPORTS_CREDIT,
142
+ ApplePayMerchantCapability.SUPPORTS_DEBIT,
143
+ ];
144
+ }
145
+ }
146
+
147
+ // Centralized error codes for Apple Pay service
148
+ var ApplePayServiceErrorCode;
149
+ (function (ApplePayServiceErrorCode) {
150
+ ApplePayServiceErrorCode["UNAVAILABLE"] = "UNAVAILABLE";
151
+ ApplePayServiceErrorCode["SESSION_ERROR"] = "SESSION_ERROR";
152
+ ApplePayServiceErrorCode["MERCHANT_VALIDATION_ERROR"] = "MERCHANT_VALIDATION_ERROR";
153
+ ApplePayServiceErrorCode["PAYMENT_PROCESSING_ERROR"] = "PAYMENT_PROCESSING_ERROR";
154
+ ApplePayServiceErrorCode["USER_CANCELLED"] = "USER_CANCELLED";
155
+ })(ApplePayServiceErrorCode || (ApplePayServiceErrorCode = {}));
156
+ class ApplePayService {
157
+ constructor() {
158
+ this.api = Api();
159
+ }
160
+ /**
161
+ * Initialize Apple Pay configuration
162
+ */
163
+ initialize(applePayConfig) {
164
+ this.applePayConfig = new ApplePayConfig(applePayConfig);
165
+ if (!this.applePayConfig.isValid) {
166
+ throw new Error('Invalid Apple Pay configuration provided');
167
+ }
168
+ }
169
+ /**
170
+ * Validate merchant with Apple Pay servers via API
171
+ */
172
+ async validateMerchant(authToken, accountId) {
173
+ const endpoint = 'apple_pay/merchant_session';
174
+ try {
175
+ const response = await this.api.post({
176
+ endpoint,
177
+ authToken,
178
+ headers: {
179
+ 'Sub-Account': accountId,
180
+ },
181
+ body: {
182
+ domain: window.location.host
183
+ }
184
+ });
185
+ return response;
186
+ }
187
+ catch (error) {
188
+ console.error('Backend validation failed:', error);
189
+ throw new Error('Merchant validation failed');
190
+ }
191
+ }
192
+ /**
193
+ * Process Apple Pay payment via API (fixed to match original logic)
194
+ */
195
+ async processPayment(authToken, accountId, payload) {
196
+ const endpoint = 'apple_pay/process_token';
197
+ const result = await this.api.post({
198
+ endpoint,
199
+ authToken,
200
+ body: payload,
201
+ headers: {
202
+ 'Sub-Account': accountId,
203
+ },
204
+ });
205
+ return {
206
+ success: result.id && !!result.data.token,
207
+ data: result,
208
+ };
209
+ }
210
+ /**
211
+ * Check if Apple Pay is available on this device/browser
212
+ */
213
+ isAvailable() {
214
+ return (ApplePayHelpers.isApplePaySupported() && ApplePayHelpers.canMakePayments());
215
+ }
216
+ /**
217
+ * Check if the user has an active card for the merchant
218
+ */
219
+ async canMakePaymentsWithActiveCard() {
220
+ if (!this.applePayConfig) {
221
+ throw new Error('Apple Pay not initialized. Call initialize() first.');
222
+ }
223
+ return await ApplePayHelpers.canMakePaymentsWithActiveCard(this.applePayConfig.merchantIdentifier);
224
+ }
225
+ /**
226
+ * Start Apple Pay session
227
+ */
228
+ async startPaymentSession(paymentRequest, authToken, accountId) {
229
+ // Begin verbose diagnostics for easier debugging in the field
230
+ console.groupCollapsed('[ApplePayService] startPaymentSession called');
231
+ console.log('[ApplePayService] raw paymentRequest:', JSON.stringify(paymentRequest, null, 2));
232
+ console.log('[ApplePayService] has authToken:', Boolean(authToken));
233
+ console.log('[ApplePayService] accountId:', accountId);
234
+ console.log('[ApplePayService] has config:', Boolean(this.applePayConfig));
235
+ if (!this.applePayConfig) {
236
+ console.error('[ApplePayService] Missing applePayConfig. Did you call initialize()?');
237
+ console.groupEnd();
238
+ throw new Error('Apple Pay not initialized. Call initialize() first.');
239
+ }
240
+ // if (!this.isAvailable()) {
241
+ // throw new Error('Apple Pay is not available on this device/browser');
242
+ // }
243
+ const request = new ApplePayPaymentRequest(paymentRequest);
244
+ console.log('[ApplePayService] created ApplePayPaymentRequest:', request);
245
+ if (!request.isValid) {
246
+ const missingFields = [];
247
+ if (!request.countryCode)
248
+ missingFields.push('countryCode');
249
+ if (!request.currencyCode)
250
+ missingFields.push('currencyCode');
251
+ if (!request.merchantCapabilities ||
252
+ request.merchantCapabilities.length === 0)
253
+ missingFields.push('merchantCapabilities');
254
+ if (!request.supportedNetworks || request.supportedNetworks.length === 0)
255
+ missingFields.push('supportedNetworks');
256
+ if (!request.total || !request.total.label || !request.total.amount)
257
+ missingFields.push('total');
258
+ console.error('[ApplePayService] Payment request is invalid. Missing/invalid:', missingFields);
259
+ console.groupEnd();
260
+ throw new Error('Invalid payment request provided');
261
+ }
262
+ this.currentPaymentRequest = request;
263
+ return new Promise((resolve, reject) => {
264
+ try {
265
+ console.log('[ApplePayService] About to instantiate ApplePaySession');
266
+ // Defensive checks for Apple Pay environment
267
+ if (typeof window === 'undefined' || !('ApplePaySession' in window)) {
268
+ console.error('[ApplePayService] ApplePaySession not available on window');
269
+ console.groupEnd();
270
+ return reject({
271
+ success: false,
272
+ error: {
273
+ code: ApplePayServiceErrorCode.UNAVAILABLE,
274
+ message: 'ApplePaySession API is not available in this environment',
275
+ },
276
+ });
277
+ }
278
+ this.currentSession = new window.ApplePaySession(3, request);
279
+ console.log('[ApplePayService] ApplePaySession instantiated:', this.currentSession);
280
+ this.setupSessionEventHandlers(resolve, reject, authToken, accountId);
281
+ console.log('[ApplePayService] Event handlers set. Beginning session...');
282
+ this.currentSession.begin();
283
+ console.log('[ApplePayService] Session.begin() called');
284
+ console.groupEnd();
285
+ }
286
+ catch (error) {
287
+ console.error('[ApplePayService] Exception while starting session:', error);
288
+ console.groupEnd();
289
+ reject({
290
+ success: false,
291
+ error: {
292
+ code: ApplePayServiceErrorCode.SESSION_ERROR,
293
+ message: error instanceof Error
294
+ ? error.message
295
+ : 'Failed to start Apple Pay session',
296
+ },
297
+ });
298
+ }
299
+ });
300
+ }
301
+ /**
302
+ * Abort current Apple Pay session
303
+ */
304
+ abortPaymentSession() {
305
+ if (this.currentSession) {
306
+ this.currentSession.abort();
307
+ this.currentSession = undefined;
308
+ this.currentPaymentRequest = undefined;
309
+ }
310
+ }
311
+ /**
312
+ * Setup Apple Pay session event handlers
313
+ */
314
+ setupSessionEventHandlers(resolve, reject, authToken, accountId) {
315
+ if (!this.currentSession ||
316
+ !this.applePayConfig ||
317
+ !this.currentPaymentRequest) {
318
+ console.error('[ApplePayService] setupSessionEventHandlers called without required state', {
319
+ hasSession: Boolean(this.currentSession),
320
+ hasConfig: Boolean(this.applePayConfig),
321
+ hasPaymentRequest: Boolean(this.currentPaymentRequest),
322
+ });
323
+ return;
324
+ }
325
+ this.currentSession.onvalidatemerchant = async () => {
326
+ console.groupCollapsed('[ApplePayService] onvalidatemerchant');
327
+ try {
328
+ console.log('[ApplePayService] accountId:', accountId);
329
+ if (!authToken) {
330
+ console.error('[ApplePayService] Missing authToken for merchant validation');
331
+ throw new Error('Authentication token not provided.');
332
+ }
333
+ const merchantSession = await this.validateMerchant(authToken, accountId);
334
+ console.log('[ApplePayService] merchantSession received');
335
+ try {
336
+ this.currentSession.completeMerchantValidation(merchantSession);
337
+ console.log('[ApplePayService] completeMerchantValidation called');
338
+ }
339
+ catch (completionError) {
340
+ console.error('Error calling completeMerchantValidation:', completionError);
341
+ throw completionError;
342
+ }
343
+ }
344
+ catch (error) {
345
+ console.error('=== MERCHANT VALIDATION ERROR ===');
346
+ console.error('Error during merchant validation:', error);
347
+ if (error && error.stack) {
348
+ console.error('Error stack:', error.stack);
349
+ }
350
+ this.currentSession.abort();
351
+ reject({
352
+ success: false,
353
+ error: {
354
+ code: ApplePayServiceErrorCode.MERCHANT_VALIDATION_ERROR,
355
+ message: error instanceof Error
356
+ ? error.message
357
+ : 'Merchant validation failed',
358
+ },
359
+ });
360
+ }
361
+ console.groupEnd();
362
+ };
363
+ this.currentSession.onpaymentauthorized = async (event) => {
364
+ var _a;
365
+ console.groupCollapsed('[ApplePayService] onpaymentauthorized');
366
+ try {
367
+ const payment = event.payment;
368
+ console.log('[ApplePayService] payment payload snapshot:', {
369
+ hasToken: Boolean(payment === null || payment === void 0 ? void 0 : payment.token),
370
+ tokenType: ((_a = payment === null || payment === void 0 ? void 0 : payment.token) === null || _a === void 0 ? void 0 : _a.paymentData) ? 'paymentData' : 'raw',
371
+ });
372
+ const paymentPayload = Object.assign(Object.assign({}, payment.token), { product_details: {
373
+ name: this.currentPaymentRequest.total.label,
374
+ price: ApplePayHelpers.parseAmount(this.currentPaymentRequest.total.amount),
375
+ description: this.currentPaymentRequest.total.label,
376
+ } });
377
+ console.log('[ApplePayService] paymentPayload prepared');
378
+ const paymentResult = await this.processPayment(authToken, accountId, paymentPayload);
379
+ console.log('[ApplePayService] processPayment result:', paymentResult);
380
+ if (paymentResult.success) {
381
+ this.currentSession.completePayment({
382
+ status: ApplePaySessionStatus.STATUS_SUCCESS,
383
+ });
384
+ console.log('[ApplePayService] Payment success; resolving');
385
+ resolve({
386
+ success: true,
387
+ token: payment.token,
388
+ paymentMethodId: paymentResult.data.id,
389
+ });
390
+ }
391
+ else {
392
+ console.error('PSP reported payment failure:', paymentResult.data);
393
+ this.currentSession.completePayment({
394
+ status: ApplePaySessionStatus.STATUS_FAILURE,
395
+ });
396
+ reject({
397
+ success: false,
398
+ error: {
399
+ code: ApplePayServiceErrorCode.PAYMENT_PROCESSING_ERROR,
400
+ message: 'Payment processing failed',
401
+ },
402
+ });
403
+ }
404
+ }
405
+ catch (error) {
406
+ console.error('=== PAYMENT PROCESSING ERROR ===');
407
+ console.error('Error processing payment:', error);
408
+ if (error && error.stack) {
409
+ console.error('Error stack:', error.stack);
410
+ }
411
+ this.currentSession.completePayment({
412
+ status: ApplePaySessionStatus.STATUS_FAILURE,
413
+ });
414
+ reject({
415
+ success: false,
416
+ error: {
417
+ code: ApplePayServiceErrorCode.PAYMENT_PROCESSING_ERROR,
418
+ message: error instanceof Error
419
+ ? error.message
420
+ : 'Payment processing failed',
421
+ },
422
+ });
423
+ }
424
+ finally {
425
+ console.log('[ApplePayService] Cleaning up session state');
426
+ this.currentSession = undefined;
427
+ this.currentPaymentRequest = undefined;
428
+ }
429
+ console.groupEnd();
430
+ };
431
+ this.currentSession.onpaymentmethodselected = () => {
432
+ console.groupCollapsed('[ApplePayService] onpaymentmethodselected');
433
+ const paymentUpdate = {
434
+ newTotal: this.currentPaymentRequest.total,
435
+ newLineItems: this.currentPaymentRequest.lineItems || [],
436
+ };
437
+ try {
438
+ this.currentSession.completePaymentMethodSelection(paymentUpdate);
439
+ console.log('[ApplePayService] completePaymentMethodSelection called');
440
+ }
441
+ catch (error) {
442
+ console.error('Error completing payment method selection:', error);
443
+ this.currentSession.abort();
444
+ }
445
+ console.groupEnd();
446
+ };
447
+ this.currentSession.onshippingmethodselected = () => {
448
+ console.groupCollapsed('[ApplePayService] onshippingmethodselected');
449
+ this.currentSession.completeShippingMethodSelection({
450
+ status: ApplePaySessionStatus.STATUS_SUCCESS,
451
+ newTotal: this.currentPaymentRequest.total,
452
+ newLineItems: this.currentPaymentRequest.lineItems || [],
453
+ });
454
+ console.log('[ApplePayService] completeShippingMethodSelection called');
455
+ console.groupEnd();
456
+ };
457
+ this.currentSession.oncancel = (event) => {
458
+ console.groupCollapsed('[ApplePayService] oncancel');
459
+ if (event.sessionError) {
460
+ console.error(event.sessionError);
461
+ switch (event.sessionError.code) {
462
+ case 'unknown':
463
+ console.error('Unknown error - likely merchant validation issue');
464
+ console.error('This usually means:');
465
+ console.error('1. Merchant certificate is invalid or expired');
466
+ console.error('2. Merchant identifier mismatch');
467
+ console.error('3. Backend validation endpoint issues');
468
+ break;
469
+ case 'invalidMerchantSession':
470
+ console.error('Invalid merchant session provided');
471
+ console.error('Check that the merchant session from backend is valid');
472
+ break;
473
+ case 'userCancel':
474
+ console.error('User cancelled the payment');
475
+ break;
476
+ default:
477
+ console.error('Other error code:', event.sessionError.code);
478
+ }
479
+ }
480
+ this.currentSession = undefined;
481
+ this.currentPaymentRequest = undefined;
482
+ reject({
483
+ success: false,
484
+ error: {
485
+ code: ApplePayServiceErrorCode.USER_CANCELLED,
486
+ message: 'User cancelled the Apple Pay session',
487
+ },
488
+ });
489
+ console.groupEnd();
490
+ };
491
+ if ('onerror' in this.currentSession) {
492
+ this.currentSession.onerror = (error) => {
493
+ console.groupCollapsed('[ApplePayService] onerror');
494
+ console.error('=== APPLE PAY SESSION ERROR ===');
495
+ console.error('Session error:', error);
496
+ this.currentSession = undefined;
497
+ this.currentPaymentRequest = undefined;
498
+ reject({
499
+ success: false,
500
+ error: {
501
+ code: ApplePayServiceErrorCode.SESSION_ERROR,
502
+ message: 'Apple Pay session error occurred',
503
+ },
504
+ });
505
+ console.groupEnd();
506
+ };
507
+ }
508
+ }
509
+ /**
510
+ * Create a basic payment request
511
+ */
512
+ static createPaymentRequest(amount, label, countryCode = 'US', currencyCode = 'USD') {
513
+ return {
514
+ countryCode,
515
+ currencyCode,
516
+ merchantCapabilities: ApplePayHelpers.getDefaultMerchantCapabilities(),
517
+ supportedNetworks: ApplePayHelpers.getDefaultSupportedNetworks(),
518
+ total: ApplePayHelpers.createLineItem(label, amount),
519
+ };
520
+ }
521
+ /**
522
+ * Get current configuration
523
+ */
524
+ getApplePayConfig() {
525
+ return this.applePayConfig;
526
+ }
527
+ }
528
+
529
+ const ApplePaySkeleton = (props) => {
530
+ const { isLoading } = props;
531
+ if (!isLoading) {
532
+ return null;
533
+ }
534
+ return (h("div", { class: 'container-fluid p-0' }, h("div", { class: 'row mb-3' }, h("div", { class: 'col-12 align-content-center' }, h(Skeleton, { height: '44px', width: '100%', styles: { borderRadius: "8px" } })))));
535
+ };
536
+
537
+ const ProcessingSpinner = () => (h("div", { class: 'processing-overlay' }, h("div", { class: 'spinner' }), h("span", null, "Processing...")));
538
+ const ApplePayButton = (props) => {
539
+ const getApplePayButtonClass = () => {
540
+ let classes = "apple-pay-button";
541
+ switch (props.buttonStyle) {
542
+ case ApplePayButtonStyle.WHITE:
543
+ classes += " apple-pay-button-white";
544
+ break;
545
+ case ApplePayButtonStyle.WHITE_OUTLINE:
546
+ classes += " apple-pay-button-white-outline";
547
+ break;
548
+ case ApplePayButtonStyle.BLACK:
549
+ default:
550
+ classes += " apple-pay-button-black";
551
+ break;
552
+ }
553
+ switch (props.buttonType) {
554
+ case ApplePayButtonType.BUY:
555
+ classes += " apple-pay-button-type-buy";
556
+ break;
557
+ case ApplePayButtonType.DONATE:
558
+ classes += " apple-pay-button-type-donate";
559
+ break;
560
+ case ApplePayButtonType.PLAIN:
561
+ default:
562
+ classes += " apple-pay-button-type-plain";
563
+ break;
564
+ }
565
+ if (props.disabled || props.isProcessing || !props.isAvailable) {
566
+ classes += " disabled";
567
+ }
568
+ return classes;
569
+ };
570
+ const handleClick = () => {
571
+ if (!props.disabled &&
572
+ !props.isProcessing &&
573
+ props.isAvailable &&
574
+ props.clickHandler) {
575
+ props.clickHandler();
576
+ }
577
+ };
578
+ return (h("div", { class: 'apple-pay-button-container' }, h("button", Object.assign({ class: getApplePayButtonClass(), style: {
579
+ width: props.width,
580
+ height: props.height,
581
+ }, onClick: handleClick, disabled: props.disabled || props.isProcessing || !props.isAvailable, "aria-label": 'Pay with Apple Pay', type: 'button' }, props), props.isProcessing && ProcessingSpinner()), h("style", null, `
582
+ .apple-pay-button-container {
583
+ display: block;
584
+ position: relative;
585
+ width: 100%;
586
+ }
587
+
588
+ /* Apple Pay CSS classes - these are the official Apple Pay button styles */
589
+ .apple-pay-button {
590
+ display: inline-block;
591
+ -webkit-appearance: -apple-pay-button;
592
+ -apple-pay-button-type: plain; /* default */
593
+ -apple-pay-button-style: black; /* default */
594
+ border-radius: 8px;
595
+ cursor: pointer;
596
+ border: none;
597
+ outline: none;
598
+ transition: opacity 0.2s ease;
599
+ position: relative;
600
+ }
601
+
602
+ /* Button styles */
603
+ .apple-pay-button.apple-pay-button-black {
604
+ -apple-pay-button-style: black;
605
+ }
606
+
607
+ .apple-pay-button.apple-pay-button-white {
608
+ -apple-pay-button-style: white;
609
+ }
610
+
611
+ .apple-pay-button.apple-pay-button-white-outline {
612
+ -apple-pay-button-style: white-outline;
613
+ }
614
+
615
+ /* Button types */
616
+ .apple-pay-button.apple-pay-button-type-plain {
617
+ -apple-pay-button-type: plain;
618
+ }
619
+
620
+ .apple-pay-button.apple-pay-button-type-buy {
621
+ -apple-pay-button-type: buy;
622
+ }
623
+
624
+ .apple-pay-button.apple-pay-button-type-donate {
625
+ -apple-pay-button-type: donate;
626
+ }
627
+
628
+ /* Hover and disabled states */
629
+ .apple-pay-button:hover:not(.disabled) {
630
+ opacity: 0.9;
631
+ }
632
+
633
+ .apple-pay-button.disabled {
634
+ opacity: 0.5;
635
+ cursor: not-allowed;
636
+ }
637
+
638
+ /* Processing overlay */
639
+ .processing-overlay {
640
+ position: absolute;
641
+ top: 0;
642
+ left: 0;
643
+ right: 0;
644
+ bottom: 0;
645
+ display: flex;
646
+ align-items: center;
647
+ justify-content: center;
648
+ gap: 8px;
649
+ background: rgba(0, 0, 0, 0.8);
650
+ color: white;
651
+ border-radius: 8px;
652
+ font-size: 14px;
653
+ font-weight: 500;
654
+ }
655
+
656
+ .spinner {
657
+ width: 16px;
658
+ height: 16px;
659
+ border: 2px solid rgba(255, 255, 255, 0.3);
660
+ border-top: 2px solid #fff;
661
+ border-radius: 50%;
662
+ animation: spin 1s linear infinite;
663
+ }
664
+
665
+ @keyframes spin {
666
+ 0% { transform: rotate(0deg); }
667
+ 100% { transform: rotate(360deg); }
668
+ }
669
+
670
+ /* Responsive design */
671
+ @media (max-width: 480px) {
672
+ .apple-pay-button {
673
+ width: 100% !important;
674
+ min-width: 200px;
675
+ }
676
+ }
677
+ `)));
678
+ };
679
+
680
+ const ApplePay = class {
681
+ constructor(hostRef) {
682
+ registerInstance(this, hostRef);
683
+ this.applePayStarted = createEvent(this, "applePayStarted");
684
+ this.applePayCompleted = createEvent(this, "applePayCompleted");
685
+ this.applePayCancelled = createEvent(this, "applePayCancelled");
686
+ this.applePayError = createEvent(this, "applePayError");
687
+ this.countryCode = "US";
688
+ this.merchantIdentifier = "merchant.com.staging-justifi.checkout-dev";
689
+ this.merchantDisplayName = "JustiFi Checkout";
690
+ this.initiativeContext = "dev-checkout.justifi-staging.com";
691
+ this.buttonType = ApplePayButtonType.PLAIN;
692
+ this.buttonStyle = ApplePayButtonStyle.BLACK;
693
+ this.disabled = false;
694
+ this.showSkeleton = true;
695
+ this.width = "100%";
696
+ this.height = "48px";
697
+ this.isLoading = true;
698
+ this.isProcessing = false;
699
+ this.isAvailable = false;
700
+ this.canMakePayments = false;
701
+ this.isConfigValid = true;
702
+ this.error = null;
703
+ this.handleApplePayClick = async () => {
704
+ var _a, _b;
705
+ if (this.isProcessing || this.disabled || !this.isAvailable) {
706
+ return;
707
+ }
708
+ try {
709
+ this.isProcessing = true;
710
+ this.error = null;
711
+ this.applePayStarted.emit();
712
+ console.groupCollapsed('[ApplePay Component] handleApplePayClick');
713
+ console.log('[ApplePay Component] click context:', {
714
+ isProcessing: this.isProcessing,
715
+ disabled: this.disabled,
716
+ isAvailable: this.isAvailable,
717
+ canMakePayments: this.canMakePayments,
718
+ hasService: Boolean(this.applePayService),
719
+ });
720
+ const paymentRequest = {
721
+ countryCode: this.countryCode,
722
+ currencyCode: checkoutStore.paymentCurrency,
723
+ merchantCapabilities: [
724
+ ApplePayMerchantCapability.SUPPORTS_3DS,
725
+ ApplePayMerchantCapability.SUPPORTS_CREDIT,
726
+ ApplePayMerchantCapability.SUPPORTS_DEBIT,
727
+ ],
728
+ supportedNetworks: ApplePayHelpers.getDefaultSupportedNetworks(),
729
+ total: ApplePayHelpers.createLineItem(checkoutStore.paymentDescription, checkoutStore.paymentAmount),
730
+ };
731
+ console.log("[ApplePay Component] paymentRequest", paymentRequest);
732
+ console.log('[ApplePay Component] identifiers snapshot:', {
733
+ authTokenLength: checkoutStore.authToken ? String(checkoutStore.authToken).length : 0,
734
+ accountId: checkoutStore.accountId,
735
+ });
736
+ const result = await this.applePayService.startPaymentSession(paymentRequest, checkoutStore.authToken, checkoutStore.accountId);
737
+ console.log("[ApplePay Component] startPaymentSession result", result);
738
+ if (result.success) {
739
+ this.applePayCompleted.emit({
740
+ success: true,
741
+ token: result.token,
742
+ paymentMethodId: result.paymentMethodId,
743
+ });
744
+ }
745
+ else {
746
+ this.applePayCompleted.emit({
747
+ success: false,
748
+ error: result.error,
749
+ });
750
+ this.applePayError.emit({
751
+ error: ((_a = result.error) === null || _a === void 0 ? void 0 : _a.message) || "Payment failed",
752
+ code: ((_b = result.error) === null || _b === void 0 ? void 0 : _b.code) || ApplePay.ErrorCode.PAYMENT_FAILED,
753
+ });
754
+ }
755
+ }
756
+ catch (error) {
757
+ const errorMessage = error instanceof Error ? error.message : "Payment failed";
758
+ this.error = errorMessage;
759
+ this.applePayError.emit({ error: errorMessage, code: ApplePay.ErrorCode.PAYMENT_FAILED });
760
+ this.applePayCompleted.emit({
761
+ success: false,
762
+ error: errorMessage,
763
+ });
764
+ }
765
+ finally {
766
+ this.isProcessing = false;
767
+ console.groupEnd();
768
+ }
769
+ };
770
+ }
771
+ async initializeApplePay() {
772
+ try {
773
+ this.isLoading = true;
774
+ this.error = null;
775
+ this.isConfigValid = true;
776
+ console.groupCollapsed('[ApplePay Component] initializeApplePay');
777
+ console.log('[ApplePay Component] checkout state snapshot:', {
778
+ paymentAmount: checkoutStore.paymentAmount,
779
+ paymentCurrency: checkoutStore.paymentCurrency,
780
+ hasAuthToken: Boolean(checkoutStore.authToken),
781
+ accountId: checkoutStore.accountId,
782
+ });
783
+ const hasRequiredConfig = Boolean(checkoutStore.paymentAmount) &&
784
+ Boolean(checkoutStore.paymentCurrency) &&
785
+ Boolean(checkoutStore.authToken);
786
+ if (!hasRequiredConfig) {
787
+ this.error = "Missing required Apple Pay configuration";
788
+ this.isConfigValid = false;
789
+ console.error("Apple Pay config error: missing required values", {
790
+ paymentAmount: checkoutStore.paymentAmount,
791
+ paymentCurrency: checkoutStore.paymentCurrency,
792
+ hasAuthToken: Boolean(checkoutStore.authToken),
793
+ accountId: checkoutStore.accountId,
794
+ });
795
+ this.applePayError.emit({ error: this.error, code: ApplePay.ErrorCode.CONFIG_ERROR });
796
+ this.isLoading = false;
797
+ console.groupEnd();
798
+ return;
799
+ }
800
+ this.isAvailable = ApplePayHelpers.isApplePaySupported();
801
+ this.canMakePayments = ApplePayHelpers.canMakePayments();
802
+ console.log('[ApplePay Component] support check:', {
803
+ isAvailable: this.isAvailable,
804
+ canMakePayments: this.canMakePayments,
805
+ hasApplePaySessionOnWindow: typeof window !== 'undefined' && 'ApplePaySession' in window,
806
+ });
807
+ if (!this.isAvailable) {
808
+ this.error = "Apple Pay is not supported on this device";
809
+ console.error(this.error);
810
+ this.applePayError.emit({ error: this.error, code: ApplePay.ErrorCode.NOT_SUPPORTED });
811
+ this.isLoading = false;
812
+ console.groupEnd();
813
+ return;
814
+ }
815
+ if (!this.canMakePayments) {
816
+ this.error = "Apple Pay is not available";
817
+ console.error(this.error);
818
+ this.applePayError.emit({ error: this.error, code: ApplePay.ErrorCode.NOT_AVAILABLE });
819
+ this.isLoading = false;
820
+ console.groupEnd();
821
+ return;
822
+ }
823
+ const applePayConfig = {
824
+ merchantIdentifier: this.merchantIdentifier,
825
+ displayName: this.merchantDisplayName,
826
+ initiative: "web",
827
+ initiativeContext: this.initiativeContext,
828
+ buttonType: this.buttonType,
829
+ buttonStyle: this.buttonStyle,
830
+ };
831
+ console.log('[ApplePay Component] initializing service with config:', applePayConfig);
832
+ this.applePayService = new ApplePayService();
833
+ this.applePayService.initialize(applePayConfig);
834
+ const hasActiveCard = await this.applePayService.canMakePaymentsWithActiveCard();
835
+ if (!hasActiveCard) {
836
+ console.warn("No Apple Pay cards available, but continuing...");
837
+ }
838
+ }
839
+ catch (error) {
840
+ console.error("Apple Pay initialization error:", error);
841
+ this.error =
842
+ error instanceof Error
843
+ ? error.message
844
+ : "Failed to initialize Apple Pay";
845
+ this.applePayError.emit({ error: this.error, code: ApplePay.ErrorCode.INITIALIZATION_ERROR });
846
+ }
847
+ finally {
848
+ this.isLoading = false;
849
+ console.groupEnd();
850
+ }
851
+ }
852
+ async isSupported() {
853
+ return this.isAvailable && this.canMakePayments;
854
+ }
855
+ async getPaymentMethods() {
856
+ if (!this.isAvailable) {
857
+ return [];
858
+ }
859
+ return ApplePayHelpers.getDefaultSupportedNetworks();
860
+ }
861
+ async abort() {
862
+ this.applePayService.abortPaymentSession();
863
+ this.isProcessing = false;
864
+ this.applePayCancelled.emit();
865
+ }
866
+ render() {
867
+ if (!checkoutStore.applePayEnabled) {
868
+ // Render nothing when Apple Pay is disabled at the checkout settings level
869
+ console.log('[ApplePay Component] Apple Pay disabled in checkout settings; not rendering');
870
+ return null;
871
+ }
872
+ const isReady = !this.isLoading &&
873
+ this.isAvailable &&
874
+ this.canMakePayments &&
875
+ this.isConfigValid;
876
+ return (h(StyledHost, null, checkoutStore.checkoutLoaded && (h("script", { async: true, src: 'https://applepay.cdn-apple.com/jsapi/1.latest/apple-pay-sdk.js', onLoad: () => {
877
+ console.log('[ApplePay Component] Apple Pay SDK script loaded');
878
+ this.initializeApplePay();
879
+ } })), h("div", { class: 'apple-pay-container' }, h(ApplePaySkeleton, { isLoading: this.isLoading }), isReady && (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 }))), h("style", null, `
880
+ .apple-pay-container {
881
+ width: 100%;
882
+ }
883
+ `)));
884
+ }
885
+ };
886
+ // Centralized error codes for the Apple Pay component layer
887
+ ApplePay.ErrorCode = {
888
+ CONFIG_ERROR: 'CONFIG_ERROR',
889
+ NOT_SUPPORTED: 'NOT_SUPPORTED',
890
+ NOT_AVAILABLE: 'NOT_AVAILABLE',
891
+ INITIALIZATION_ERROR: 'INITIALIZATION_ERROR',
892
+ PAYMENT_FAILED: 'PAYMENT_FAILED',
893
+ };
25
894
 
26
895
  const Summary = class {
27
896
  constructor(hostRef) {
28
897
  registerInstance(this, hostRef);
29
898
  }
30
899
  render() {
31
- return (h(StyledHost, { key: '486de82e23fb45c7dbe804e92687ee380643483e' }, h("section", { key: '45a41fb60275d5c50b994aa47bed8db6df231b77' }, h("div", { key: 'ea4d92fdce0182538a3f42e314c7e9a9bc8e75eb' }, h("div", { key: '35158706826e010c86f7fcb43da383c726fe595b', part: text }, checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.paymentDescription), h("div", { key: 'e2caeff8e0b4ba4a549cc256ab6df0ad44d3cebb' }, h("span", { key: '104c839b0a5c518d115fc34d66082c035e1b76ac', part: text }, "Total"), "\u00A0", h("span", { key: '79fac509d988600dd8c7e99f6c1be82956ea8219', part: text }, formatCurrency(+(checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.totalAmount))))))));
900
+ return (h(StyledHost, { key: 'a0cf2d923a1283aeac48837faf25aa8ca100adbe' }, h("section", { key: 'dd98da2e82a8a68606c3cee9a9f4ab54a618dea5' }, h("div", { key: '1a4ca7e0cfd24d3ffa7c4d639ae6ecc01ab04ae0' }, h("div", { key: '01291cd64ac310a23f9bb8e6a7a0bde3ab36755c', part: text }, checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.paymentDescription), h("div", { key: '7a1fdb4d579a119618c2afd9226834fba41449e1' }, h("span", { key: '9ec7e265476839a663a52116bb64424aeafc5bcf', part: text }, "Total"), "\u00A0", h("span", { key: '72b6ba530ba51d9f6b41c35c843b7fada598de40', part: text }, formatCurrency(+(checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.totalAmount))))))));
32
901
  }
33
902
  };
34
903
 
@@ -44,7 +913,7 @@ const Header = class {
44
913
  }
45
914
  render() {
46
915
  const HeaderComponent = this.levels[this.level];
47
- return (h(StyledHost, { key: 'd4871da09451d40b27220a207ee72317ed9b1b9f' }, h(HeaderComponent, { key: 'f7de159fa6395ef4024f48b868369f8d10edf64e', text: this.text, class: this.class })));
916
+ return (h(StyledHost, { key: 'ec45e1573823ebeb47a129e02e063bab9d08b154' }, h(HeaderComponent, { key: 'fc977d49c84906de818d9c4e17fb9a55c5ed8832', text: this.text, class: this.class })));
48
917
  }
49
918
  };
50
919
 
@@ -246,7 +1115,7 @@ const ModularCheckout = class {
246
1115
  }
247
1116
  }
248
1117
  updateStore(checkout) {
249
- var _a, _b, _c, _d, _e;
1118
+ var _a, _b, _c, _d, _e, _f;
250
1119
  checkoutStore.accountId = checkout.account_id;
251
1120
  checkoutStore.checkoutLoaded = true;
252
1121
  checkoutStore.paymentMethods = checkout.payment_methods.map((paymentMethod) => new PaymentMethod(paymentMethod));
@@ -257,11 +1126,12 @@ const ModularCheckout = class {
257
1126
  checkoutStore.bnplEnabled = checkout.payment_settings.bnpl_payments;
258
1127
  checkoutStore.insuranceEnabled = checkout.payment_settings.insurance_payments;
259
1128
  checkoutStore.bankAccountVerification = (_a = checkout.payment_settings) === null || _a === void 0 ? void 0 : _a.bank_account_verification;
260
- checkoutStore.bnplProviderClientId = (_b = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _b === void 0 ? void 0 : _b.provider_client_id;
261
- checkoutStore.bnplProviderMode = (_c = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _c === void 0 ? void 0 : _c.provider_mode;
262
- checkoutStore.bnplProviderApiVersion = (_d = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _d === void 0 ? void 0 : _d.provider_api_version;
1129
+ checkoutStore.applePayEnabled = (_b = checkout.payment_settings) === null || _b === void 0 ? void 0 : _b.apple_payments;
1130
+ checkoutStore.bnplProviderClientId = (_c = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _c === void 0 ? void 0 : _c.provider_client_id;
1131
+ checkoutStore.bnplProviderMode = (_d = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _d === void 0 ? void 0 : _d.provider_mode;
1132
+ checkoutStore.bnplProviderApiVersion = (_e = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _e === void 0 ? void 0 : _e.provider_api_version;
263
1133
  checkoutStore.bnplProviderCheckoutUrl =
264
- (_e = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _e === void 0 ? void 0 : _e.provider_checkout_url;
1134
+ (_f = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _f === void 0 ? void 0 : _f.provider_checkout_url;
265
1135
  }
266
1136
  emitCheckoutChanged() {
267
1137
  const detail = {
@@ -472,7 +1342,7 @@ const ModularCheckout = class {
472
1342
  });
473
1343
  }
474
1344
  render() {
475
- return h(Host, { key: '92483fadc77e6468f71ffe8161acb01ec05029bd' });
1345
+ return h(Host, { key: 'c0267323f405ad4fbcbac4481aeb5286dc98161b' });
476
1346
  }
477
1347
  get hostEl() { return getElement(this); }
478
1348
  };
@@ -1413,7 +2283,7 @@ const TokenizePaymentMethod = class {
1413
2283
  return paymentMethodType === PAYMENT_METHODS.NEW_CARD ? (h("justifi-card-form", { ref: (el) => (this.paymentMethodFormRef = el) })) : (h("justifi-bank-account-form", { ref: (el) => (this.paymentMethodFormRef = el) }));
1414
2284
  }
1415
2285
  render() {
1416
- return (h(StyledHost, { key: '373ac317c7a4c4c808ca67e8bf63be28c5dd43b4' }, h("form", { key: 'da07764bca9a6af5baf6b3bf025c1abf9661e4b7' }, h("fieldset", { key: 'af277c0c07697969a2c83dcbac6017a596c22077' }, h("div", { key: '1dc0ea324a4ed69eceb240504f320f1c1dfcf6b3', class: "row gy-3" }, h("div", { key: 'feaaff69b06663e759864857f6d15eec2aa31819', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), h("div", { key: '0dbee981688f541bfcf638c55698444f6a4eb9b4', class: "col-12" }, h("justifi-button", { key: '851dfb38a1a92c9990050dc17c55a693f3875afd', text: this.submitButtonText, variant: "primary", type: "submit", clickHandler: (e) => this.tokenizePaymentMethod(e), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.computedHideSubmitButton })))))));
2286
+ return (h(StyledHost, { key: '0d3168166bba767403d0efb85f26c408adb4c93e' }, h("form", { key: '8ac12f8171da6907c83039173cbc7a009e662bb7' }, h("fieldset", { key: 'd88ea01b37a9ab0b7ff756577d2d17430853408b' }, h("div", { key: 'ac750c1faf2ac05279c0912527f0c468551bf738', class: "row gy-3" }, h("div", { key: 'dedef72db299486b3141a47ed6df93dc799270e9', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), h("div", { key: '4d34febc61916210214166f94b9d38a24c6978d8', class: "col-12" }, h("justifi-button", { key: 'ce02121b93611d8e780b5c483bfe384ce4e7ed7c', text: this.submitButtonText, variant: "primary", type: "submit", clickHandler: (e) => this.tokenizePaymentMethod(e), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.computedHideSubmitButton })))))));
1417
2287
  }
1418
2288
  get host() { return getElement(this); }
1419
2289
  static get watchers() { return {
@@ -1422,4 +2292,4 @@ const TokenizePaymentMethod = class {
1422
2292
  }; }
1423
2293
  };
1424
2294
 
1425
- export { Summary as justifi_checkout_summary, Header as justifi_header, ModularCheckout as justifi_modular_checkout, PlaidPaymentMethod as justifi_plaid_payment_method, SavedPaymentMethods as justifi_saved_payment_methods, SezzlePaymentMethod as justifi_sezzle_payment_method, TokenizePaymentMethod as justifi_tokenize_payment_method };
2295
+ export { ApplePay as justifi_apple_pay, Summary as justifi_checkout_summary, Header as justifi_header, ModularCheckout as justifi_modular_checkout, PlaidPaymentMethod as justifi_plaid_payment_method, SavedPaymentMethods as justifi_saved_payment_methods, SezzlePaymentMethod as justifi_sezzle_payment_method, TokenizePaymentMethod as justifi_tokenize_payment_method };