@justifi/webcomponents 6.0.0-rc.1 → 6.0.0-rc.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 (422) hide show
  1. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +2 -2
  2. package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
  3. package/dist/cjs/card-form.cjs.entry.js +2 -2
  4. package/dist/cjs/{check-pkg-version-D_lazhBQ.js → check-pkg-version-BfmeLSXP.js} +1 -1
  5. package/dist/cjs/{checkout.store-CV_fuGQw.js → checkout.store-Cn3Jj5gi.js} +1 -0
  6. package/dist/cjs/checkouts-list-core.cjs.entry.js +1 -1
  7. package/dist/cjs/custom-popper_2.cjs.entry.js +2 -2
  8. package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
  9. package/dist/cjs/form-control-date.cjs.entry.js +2 -2
  10. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
  11. package/dist/cjs/form-control-monetary.cjs.entry.js +2 -2
  12. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +2 -2
  13. package/dist/cjs/form-control-number.cjs.entry.js +2 -2
  14. package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
  15. package/dist/cjs/form-control-select_2.cjs.entry.js +4 -4
  16. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
  17. package/dist/cjs/hidden-input_2.cjs.entry.js +5 -5
  18. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +8 -8
  19. package/dist/cjs/justifi-apple-pay.cjs.entry.js +830 -0
  20. package/dist/cjs/justifi-bank-account-billing-form-simple_9.cjs.entry.js +11 -11
  21. package/dist/cjs/justifi-business-details.cjs.entry.js +2 -2
  22. package/dist/cjs/justifi-business-form.cjs.entry.js +2 -2
  23. package/dist/cjs/justifi-checkout-summary_6.cjs.entry.js +98 -11
  24. package/dist/cjs/justifi-checkout.cjs.entry.js +3 -3
  25. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +1 -1
  26. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +3 -3
  27. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
  28. package/dist/cjs/justifi-dispute-management.cjs.entry.js +3 -3
  29. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +5 -5
  30. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +2 -2
  31. package/dist/cjs/justifi-order-terminals.cjs.entry.js +3 -3
  32. package/dist/cjs/justifi-payment-details.cjs.entry.js +2 -2
  33. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +2 -2
  34. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +3 -3
  35. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
  36. package/dist/cjs/justifi-payments-list.cjs.entry.js +3 -3
  37. package/dist/cjs/justifi-payout-details.cjs.entry.js +2 -2
  38. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +3 -3
  39. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
  40. package/dist/cjs/justifi-payouts-list.cjs.entry.js +3 -3
  41. package/dist/cjs/justifi-refund-payment.cjs.entry.js +2 -2
  42. package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +1 -1
  43. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +3 -3
  44. package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
  45. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +2 -2
  46. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +3 -3
  47. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +1 -1
  48. package/dist/cjs/justifi-terminals-list.cjs.entry.js +3 -3
  49. package/dist/cjs/loader.cjs.js +1 -1
  50. package/dist/cjs/{package-Cp_7Ls2E.js → package-CuNDvHTB.js} +1 -1
  51. package/dist/cjs/payment-details-core.cjs.entry.js +8 -8
  52. package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
  53. package/dist/cjs/payments-list-core.cjs.entry.js +1 -1
  54. package/dist/cjs/payout-details-core.cjs.entry.js +3 -3
  55. package/dist/cjs/payouts-list-core.cjs.entry.js +1 -1
  56. package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
  57. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +1 -1
  58. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
  59. package/dist/cjs/terminals-list-core.cjs.entry.js +1 -1
  60. package/dist/cjs/webcomponents.cjs.js +1 -1
  61. package/dist/collection/api/ApplePay.js +119 -0
  62. package/dist/collection/api/services/apple-pay.service.js +329 -0
  63. package/dist/collection/collection-manifest.json +1 -0
  64. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
  65. package/dist/collection/components/checkout/card-form/card-form.js +2 -2
  66. package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
  67. package/dist/collection/components/checkout/saved-payment-method.js +1 -1
  68. package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
  69. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
  70. package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
  71. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  72. package/dist/collection/components/dispute-management/dispute-management.js +1 -1
  73. package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
  74. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  75. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  76. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  77. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  78. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  79. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  80. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  81. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  82. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  83. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  84. package/dist/collection/components/filters/table-filters-menu.js +1 -1
  85. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  86. package/dist/collection/components/modular-checkout/modular-checkout.js +92 -5
  87. package/dist/collection/components/modular-checkout/sub-components/apple-pay-skeleton.js +10 -0
  88. package/dist/collection/components/modular-checkout/sub-components/apple-pay.js +554 -0
  89. package/dist/collection/components/modular-checkout/sub-components/bank-account-billing-form-simple.js +1 -1
  90. package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
  91. package/dist/collection/components/modular-checkout/sub-components/card-billing-form-simple.js +1 -1
  92. package/dist/collection/components/modular-checkout/sub-components/card-form.js +2 -2
  93. package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
  94. package/dist/collection/components/modular-checkout/sub-components/summary.js +1 -1
  95. package/dist/collection/components/order-terminals/order-terminals.js +1 -1
  96. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  97. package/dist/collection/components/payment-details/payment-details-core.js +8 -8
  98. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
  99. package/dist/collection/components/payments-list/payments-list-core.js +1 -1
  100. package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
  101. package/dist/collection/components/payments-list/payments-list.js +1 -1
  102. package/dist/collection/components/payout-details/payout-details-core.js +3 -3
  103. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +1 -1
  104. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  105. package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
  106. package/dist/collection/components/payouts-list/payouts-list.js +1 -1
  107. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
  108. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
  109. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
  110. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  111. package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
  112. package/dist/collection/components/terminals-list/terminals-list.js +1 -1
  113. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +1 -1
  114. package/dist/collection/store/checkout.store.js +1 -0
  115. package/dist/collection/ui-components/apple-pay-button.js +146 -0
  116. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  117. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  118. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  119. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  120. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  121. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  122. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  123. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  124. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  125. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  126. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  127. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  128. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  129. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  130. package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
  131. package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
  132. package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
  133. package/dist/docs.json +463 -1
  134. package/dist/esm/additional-questions-details_5.entry.js +2 -2
  135. package/dist/esm/{badge-D_mzXSCQ.js → badge-D4ZXPFjL.js} +1 -1
  136. package/dist/esm/bank-account-document-form-inputs_4.entry.js +5 -5
  137. package/dist/esm/bank-account-form.entry.js +4 -4
  138. package/dist/esm/business-details-core.entry.js +3 -3
  139. package/dist/esm/{button-CeR8qVS3.js → button-C0wLsDP3.js} +1 -1
  140. package/dist/esm/card-form.entry.js +4 -4
  141. package/dist/esm/{check-pkg-version-Bb69ihTN.js → check-pkg-version-BuYkk-jV.js} +1 -1
  142. package/dist/esm/{checkout.store-B60siz2l.js → checkout.store-OAv_iY1u.js} +1 -0
  143. package/dist/esm/checkouts-list-core.entry.js +6 -6
  144. package/dist/esm/{checkouts-table-CFZYoYjn.js → checkouts-table-DjGKtqoc.js} +2 -2
  145. package/dist/esm/custom-popper_2.entry.js +3 -3
  146. package/dist/esm/form-alert_5.entry.js +1 -1
  147. package/dist/esm/form-control-checkbox.entry.js +5 -5
  148. package/dist/esm/form-control-date.entry.js +4 -4
  149. package/dist/esm/{form-control-error-text-D3ZwkOv-.js → form-control-error-text-Bzfs_rxk.js} +1 -1
  150. package/dist/esm/form-control-file-v2_2.entry.js +5 -5
  151. package/dist/esm/{form-control-help-text-C39ZW65w.js → form-control-help-text-ueLctOBN.js} +1 -1
  152. package/dist/esm/form-control-monetary-provisioning.entry.js +3 -3
  153. package/dist/esm/form-control-monetary.entry.js +5 -5
  154. package/dist/esm/form-control-number-masked_2.entry.js +4 -4
  155. package/dist/esm/form-control-number.entry.js +5 -5
  156. package/dist/esm/form-control-radio.entry.js +3 -3
  157. package/dist/esm/form-control-select_2.entry.js +6 -6
  158. package/dist/esm/gross-payment-chart-core.entry.js +4 -4
  159. package/dist/esm/{header-1-E-hEi3wF.js → header-1-BMKEv9y6.js} +1 -1
  160. package/dist/esm/{header-3-Dm7M85kz.js → header-3-C3t3m27b.js} +1 -1
  161. package/dist/esm/hidden-input_2.entry.js +7 -7
  162. package/dist/esm/{insurance-state-CB4l8sOv.js → insurance-state-d4hjThzE.js} +1 -1
  163. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +3 -3
  164. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +2 -2
  165. package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
  166. package/dist/esm/justifi-apple-pay.entry.js +828 -0
  167. package/dist/esm/justifi-bank-account-billing-form-simple_9.entry.js +15 -15
  168. package/dist/esm/justifi-business-details.entry.js +4 -4
  169. package/dist/esm/justifi-business-form.entry.js +6 -6
  170. package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
  171. package/dist/esm/justifi-checkout-summary_6.entry.js +102 -15
  172. package/dist/esm/justifi-checkout.entry.js +4 -4
  173. package/dist/esm/justifi-checkouts-list-filters.entry.js +2 -2
  174. package/dist/esm/justifi-checkouts-list.entry.js +6 -6
  175. package/dist/esm/justifi-details.entry.js +2 -2
  176. package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
  177. package/dist/esm/justifi-dispute-management.entry.js +3 -3
  178. package/dist/esm/justifi-dispute-notification_3.entry.js +8 -8
  179. package/dist/esm/justifi-gross-payment-chart.entry.js +4 -4
  180. package/dist/esm/justifi-order-terminals.entry.js +5 -5
  181. package/dist/esm/justifi-owner-form_3.entry.js +2 -2
  182. package/dist/esm/justifi-payment-details.entry.js +4 -4
  183. package/dist/esm/justifi-payment-provisioning-core.entry.js +2 -2
  184. package/dist/esm/justifi-payment-provisioning.entry.js +2 -2
  185. package/dist/esm/justifi-payment-transactions-list.entry.js +6 -6
  186. package/dist/esm/justifi-payments-list-filters.entry.js +3 -3
  187. package/dist/esm/justifi-payments-list.entry.js +7 -7
  188. package/dist/esm/justifi-payout-details.entry.js +4 -4
  189. package/dist/esm/justifi-payout-transactions-list.entry.js +6 -6
  190. package/dist/esm/justifi-payouts-list-filters.entry.js +3 -3
  191. package/dist/esm/justifi-payouts-list.entry.js +7 -7
  192. package/dist/esm/justifi-refund-payment.entry.js +5 -5
  193. package/dist/esm/justifi-saved-payment-method.entry.js +2 -2
  194. package/dist/esm/justifi-season-interruption-insurance.entry.js +6 -6
  195. package/dist/esm/justifi-skeleton.entry.js +3 -3
  196. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +3 -3
  197. package/dist/esm/justifi-terminal-orders-list.entry.js +6 -6
  198. package/dist/esm/justifi-terminals-list-filters.entry.js +2 -2
  199. package/dist/esm/justifi-terminals-list.entry.js +6 -6
  200. package/dist/esm/loader.js +1 -1
  201. package/dist/esm/{package-O3LY2Da6.js → package-C60pS6qh.js} +1 -1
  202. package/dist/esm/pagination-menu.entry.js +1 -1
  203. package/dist/esm/{parts-CfF8KKwx.js → parts-RvUQ__Pq.js} +1 -1
  204. package/dist/esm/payment-details-core.entry.js +13 -13
  205. package/dist/esm/payment-method-option.entry.js +2 -2
  206. package/dist/esm/payments-list-core.entry.js +7 -7
  207. package/dist/esm/{payments-status-XoZrlbiZ.js → payments-status-1yRdTNeS.js} +1 -1
  208. package/dist/esm/{payments-table-Dh4P9mTb.js → payments-table-8RADYkma.js} +2 -2
  209. package/dist/esm/payout-details-core.entry.js +9 -9
  210. package/dist/esm/payouts-list-core.entry.js +7 -7
  211. package/dist/esm/{payouts-status-Qm2jZG1-.js → payouts-status-BqsQVtBp.js} +1 -1
  212. package/dist/esm/{payouts-table-DMVAZp-r.js → payouts-table-DPw7yIx8.js} +2 -2
  213. package/dist/esm/{skeleton-DrHwsgs_.js → skeleton-BmTjpTYa.js} +1 -1
  214. package/dist/esm/{spinner-XBq6mVJW.js → spinner-YGDOI-CS.js} +1 -1
  215. package/dist/esm/table-filters-menu.entry.js +3 -3
  216. package/dist/esm/{table-qqt2Ew5y.js → table-ybHxxc9f.js} +2 -2
  217. package/dist/esm/terminal-orders-list-core.entry.js +6 -6
  218. package/dist/esm/{terminal-orders-table-BN4Co4T8.js → terminal-orders-table-D-xP5WuM.js} +2 -2
  219. package/dist/esm/terminal-quantity-selector.entry.js +2 -2
  220. package/dist/esm/terminals-list-core.entry.js +6 -6
  221. package/dist/esm/{terminals-table-C8LczeG_.js → terminals-table-DVAPCgEr.js} +2 -2
  222. package/dist/esm/{utils-kWaZhFAd.js → utils-DG5aMFmf.js} +1 -1
  223. package/dist/esm/webcomponents.js +1 -1
  224. package/dist/module/additional-statement.js +1 -1
  225. package/dist/module/bank-account-billing-form-simple.js +1 -1
  226. package/dist/module/bank-account-form.js +2 -2
  227. package/dist/module/bank-account.js +2 -2
  228. package/dist/module/cancellation-policy.js +1 -1
  229. package/dist/module/card-billing-form-simple.js +1 -1
  230. package/dist/module/card-form.js +2 -2
  231. package/dist/module/card-form2.js +2 -2
  232. package/dist/module/checkout.store.js +1 -0
  233. package/dist/module/checkouts-list-core2.js +1 -1
  234. package/dist/module/custom-popper2.js +2 -2
  235. package/dist/module/customer-details.js +1 -1
  236. package/dist/module/dispute-management-core.js +1 -1
  237. package/dist/module/dispute-notification.js +1 -1
  238. package/dist/module/dispute-response-core.js +1 -1
  239. package/dist/module/dispute-response.js +1 -1
  240. package/dist/module/duplicate-charge.js +1 -1
  241. package/dist/module/electronic-evidence.js +1 -1
  242. package/dist/module/form-control-checkbox2.js +2 -2
  243. package/dist/module/form-control-date2.js +2 -2
  244. package/dist/module/form-control-file-v22.js +1 -1
  245. package/dist/module/form-control-file2.js +2 -2
  246. package/dist/module/form-control-monetary2.js +2 -2
  247. package/dist/module/form-control-number-masked2.js +2 -2
  248. package/dist/module/form-control-number.js +2 -2
  249. package/dist/module/form-control-radio2.js +2 -2
  250. package/dist/module/form-control-select2.js +2 -2
  251. package/dist/module/form-control-text2.js +2 -2
  252. package/dist/module/form-control-textarea2.js +2 -2
  253. package/dist/module/gross-payment-chart-core2.js +1 -1
  254. package/dist/module/hidden-input2.js +1 -1
  255. package/dist/module/iframe-input2.js +3 -3
  256. package/dist/module/justifi-apple-pay.d.ts +11 -0
  257. package/dist/module/justifi-apple-pay.js +871 -0
  258. package/dist/module/justifi-button2.js +1 -1
  259. package/dist/module/justifi-checkouts-list-filters.js +1 -1
  260. package/dist/module/justifi-checkouts-list.js +1 -1
  261. package/dist/module/justifi-dispute-management.js +1 -1
  262. package/dist/module/justifi-header2.js +1 -1
  263. package/dist/module/justifi-order-terminals.js +1 -1
  264. package/dist/module/justifi-payment-transactions-list.js +1 -1
  265. package/dist/module/justifi-payments-list-filters.js +2 -2
  266. package/dist/module/justifi-payments-list.js +1 -1
  267. package/dist/module/justifi-payout-transactions-list.js +1 -1
  268. package/dist/module/justifi-payouts-list-filters.js +2 -2
  269. package/dist/module/justifi-payouts-list.js +1 -1
  270. package/dist/module/justifi-saved-payment-method.js +1 -1
  271. package/dist/module/justifi-skeleton.js +1 -1
  272. package/dist/module/justifi-terminal-orders-list-filters.js +2 -2
  273. package/dist/module/justifi-terminal-orders-list.js +1 -1
  274. package/dist/module/justifi-terminals-list-filters.js +1 -1
  275. package/dist/module/justifi-terminals-list.js +1 -1
  276. package/dist/module/modular-checkout.js +92 -5
  277. package/dist/module/package.js +1 -1
  278. package/dist/module/payment-details-core2.js +8 -8
  279. package/dist/module/payment-method-option.js +1 -1
  280. package/dist/module/payments-list-core2.js +1 -1
  281. package/dist/module/payout-details-core2.js +3 -3
  282. package/dist/module/payouts-list-core2.js +1 -1
  283. package/dist/module/product-or-service.js +1 -1
  284. package/dist/module/refund-policy.js +1 -1
  285. package/dist/module/save-new-payment-method.js +1 -1
  286. package/dist/module/shipping-details.js +1 -1
  287. package/dist/module/summary.js +1 -1
  288. package/dist/module/table-filters-menu2.js +1 -1
  289. package/dist/module/terminal-orders-list-core2.js +1 -1
  290. package/dist/module/terminal-quantity-selector2.js +1 -1
  291. package/dist/module/terminals-list-core2.js +1 -1
  292. package/dist/module/tokenize-payment-method.js +1 -1
  293. package/dist/types/api/ApplePay.d.ts +196 -0
  294. package/dist/types/api/services/apple-pay.service.d.ts +65 -0
  295. package/dist/types/components/modular-checkout/modular-checkout.d.ts +8 -0
  296. package/dist/types/components/modular-checkout/sub-components/apple-pay-skeleton.d.ts +6 -0
  297. package/dist/types/components/modular-checkout/sub-components/apple-pay.d.ts +38 -0
  298. package/dist/types/components.d.ts +120 -0
  299. package/dist/types/store/checkout.store.d.ts +1 -0
  300. package/dist/types/ui-components/apple-pay-button.d.ts +17 -0
  301. package/dist/webcomponents/{p-48bccf3b.entry.js → p-03c7cee8.entry.js} +1 -1
  302. package/dist/webcomponents/{p-4ba144ac.entry.js → p-08a5cc2f.entry.js} +1 -1
  303. package/dist/webcomponents/{p-f47095cd.entry.js → p-0aa78c58.entry.js} +1 -1
  304. package/dist/webcomponents/{p-424f491c.entry.js → p-0aee6da6.entry.js} +1 -1
  305. package/dist/webcomponents/p-0e64cd09.entry.js +1 -0
  306. package/dist/webcomponents/{p-2f31a4e5.entry.js → p-1202181b.entry.js} +1 -1
  307. package/dist/webcomponents/p-1246b999.entry.js +1 -0
  308. package/dist/webcomponents/p-12c312a0.entry.js +1 -0
  309. package/dist/webcomponents/p-1a83d9f2.entry.js +1 -0
  310. package/dist/webcomponents/{p-df199396.entry.js → p-1b892b3a.entry.js} +1 -1
  311. package/dist/webcomponents/p-1c0c1d7b.entry.js +1 -0
  312. package/dist/webcomponents/p-1e206c92.entry.js +1 -0
  313. package/dist/webcomponents/{p-828a61b9.entry.js → p-2169c3d1.entry.js} +1 -1
  314. package/dist/webcomponents/{p-77515be6.entry.js → p-281e36be.entry.js} +1 -1
  315. package/dist/webcomponents/{p-7322c86e.entry.js → p-2988e82c.entry.js} +1 -1
  316. package/dist/webcomponents/p-2a0a907d.entry.js +1 -0
  317. package/dist/webcomponents/{p-dd689b5e.entry.js → p-32cc081a.entry.js} +1 -1
  318. package/dist/webcomponents/{p-f01953ea.entry.js → p-387bcdee.entry.js} +1 -1
  319. package/dist/webcomponents/{p-1f8cd44e.entry.js → p-41416b5f.entry.js} +1 -1
  320. package/dist/webcomponents/{p-131d799c.entry.js → p-42994618.entry.js} +1 -1
  321. package/dist/webcomponents/{p-7c51805a.entry.js → p-4a79c737.entry.js} +1 -1
  322. package/dist/webcomponents/{p-a8205044.entry.js → p-4c994761.entry.js} +1 -1
  323. package/dist/webcomponents/{p-c3a2c619.entry.js → p-4cf9168d.entry.js} +1 -1
  324. package/dist/webcomponents/p-5510b57c.entry.js +1 -0
  325. package/dist/webcomponents/{p-6849bf8e.entry.js → p-55b7bdba.entry.js} +1 -1
  326. package/dist/webcomponents/{p-1bdce018.entry.js → p-59e8f027.entry.js} +1 -1
  327. package/dist/webcomponents/p-5a5f07be.entry.js +1 -0
  328. package/dist/webcomponents/p-5acd6add.entry.js +1 -0
  329. package/dist/webcomponents/{p-6e18d13f.entry.js → p-5ad70aae.entry.js} +1 -1
  330. package/dist/webcomponents/p-5afbfafb.entry.js +1 -0
  331. package/dist/webcomponents/p-6974a44c.entry.js +1 -0
  332. package/dist/webcomponents/p-6f2b41f5.entry.js +1 -0
  333. package/dist/webcomponents/p-6f9755cc.entry.js +1 -0
  334. package/dist/webcomponents/p-7288473f.entry.js +1 -0
  335. package/dist/webcomponents/{p-79055216.entry.js → p-76a95d07.entry.js} +1 -1
  336. package/dist/webcomponents/{p-a4172773.entry.js → p-7b9fa1fb.entry.js} +1 -1
  337. package/dist/webcomponents/{p-dfd7c212.entry.js → p-92efb3f2.entry.js} +1 -1
  338. package/dist/webcomponents/p-98939b74.entry.js +1 -0
  339. package/dist/webcomponents/{p-BTkXk7ol.js → p-BUadwxkh.js} +1 -1
  340. package/dist/webcomponents/{p-CCME-fyU.js → p-BXKEChoo.js} +1 -1
  341. package/dist/webcomponents/p-BZzESzqz.js +1 -0
  342. package/dist/webcomponents/{p-Dvxpy_P1.js → p-BhdBpAn9.js} +1 -1
  343. package/dist/webcomponents/p-BmFoKOM3.js +1 -0
  344. package/dist/webcomponents/p-BtOB_CaO.js +1 -0
  345. package/dist/webcomponents/{p-qMrd7_Gp.js → p-C0AHrswP.js} +1 -1
  346. package/dist/webcomponents/p-C60pS6qh.js +1 -0
  347. package/dist/webcomponents/{p-BeszVz87.js → p-CP_tg-uH.js} +1 -1
  348. package/dist/webcomponents/{p-JgbsbAhz.js → p-D48iERjQ.js} +1 -1
  349. package/dist/webcomponents/p-D7eeJWA-.js +1 -0
  350. package/dist/webcomponents/{p-BNz6wy4f.js → p-D9Sv4eV5.js} +1 -1
  351. package/dist/webcomponents/{p-CsNubTqD.js → p-DBsw4qpn.js} +1 -1
  352. package/dist/webcomponents/{p-vRhNRfmB.js → p-DKRXPZKS.js} +1 -1
  353. package/dist/webcomponents/p-DOd8HaWV.js +1 -0
  354. package/dist/webcomponents/p-DcE8SQPv.js +1 -0
  355. package/dist/webcomponents/p-Drz6LnIw.js +1 -0
  356. package/dist/webcomponents/{p-DO3INvI2.js → p-DuXN7Akd.js} +1 -1
  357. package/dist/webcomponents/{p-Bz164TKZ.js → p-HAk7yBNq.js} +1 -1
  358. package/dist/webcomponents/{p-CfF8KKwx.js → p-RvUQ__Pq.js} +1 -1
  359. package/dist/webcomponents/p-a1a8f6bd.entry.js +1 -0
  360. package/dist/webcomponents/{p-15777cfe.entry.js → p-a406bf1a.entry.js} +1 -1
  361. package/dist/webcomponents/{p-fa33df9f.entry.js → p-a70bc148.entry.js} +1 -1
  362. package/dist/webcomponents/{p-57143978.entry.js → p-a9d2dd5e.entry.js} +1 -1
  363. package/dist/webcomponents/{p-ded22005.entry.js → p-ab308ee3.entry.js} +1 -1
  364. package/dist/webcomponents/{p-c5b48e8d.entry.js → p-afc83e27.entry.js} +1 -1
  365. package/dist/webcomponents/{p-3d85d046.entry.js → p-b04cc606.entry.js} +1 -1
  366. package/dist/webcomponents/p-b41d2b8f.entry.js +1 -0
  367. package/dist/webcomponents/p-b8f63e28.entry.js +1 -0
  368. package/dist/webcomponents/p-ba84c3bd.entry.js +1 -0
  369. package/dist/webcomponents/{p-bea4309d.entry.js → p-bfc38bc2.entry.js} +1 -1
  370. package/dist/webcomponents/{p-283cd78b.entry.js → p-c62e23c1.entry.js} +1 -1
  371. package/dist/webcomponents/{p-b0bfa20f.entry.js → p-c6860f60.entry.js} +1 -1
  372. package/dist/webcomponents/{p-cebe360b.entry.js → p-c7e5245a.entry.js} +1 -1
  373. package/dist/webcomponents/{p-9106fd74.entry.js → p-cabaf013.entry.js} +1 -1
  374. package/dist/webcomponents/{p-dd6d6ddb.entry.js → p-cbfc8269.entry.js} +1 -1
  375. package/dist/webcomponents/{p-ae4297dd.entry.js → p-cf16498f.entry.js} +1 -1
  376. package/dist/webcomponents/{p-f3a757b2.entry.js → p-d014a155.entry.js} +1 -1
  377. package/dist/webcomponents/{p-28c7bef7.entry.js → p-dc245644.entry.js} +4 -4
  378. package/dist/webcomponents/{p-ba8ae31f.entry.js → p-e6ca1872.entry.js} +1 -1
  379. package/dist/webcomponents/{p-904a95e5.entry.js → p-e8a198fa.entry.js} +1 -1
  380. package/dist/webcomponents/{p-1d53f0b8.entry.js → p-ea1b161a.entry.js} +1 -1
  381. package/dist/webcomponents/p-eff0b0e9.entry.js +1 -0
  382. package/dist/webcomponents/p-f3be7b2b.entry.js +1 -0
  383. package/dist/webcomponents/p-f787bc18.entry.js +1 -0
  384. package/dist/webcomponents/p-fb1904d2.entry.js +1 -0
  385. package/dist/webcomponents/{p-36d72e2d.entry.js → p-fbaf62a5.entry.js} +1 -1
  386. package/dist/webcomponents/p-fcb6e870.entry.js +1 -0
  387. package/dist/webcomponents/{p-YND5pTuF.js → p-nWGo6sHu.js} +1 -1
  388. package/dist/webcomponents/{p-BisQ61nK.js → p-wyEq9Pa1.js} +1 -1
  389. package/dist/webcomponents/webcomponents.esm.js +1 -1
  390. package/package.json +1 -1
  391. package/dist/webcomponents/p-08ea8974.entry.js +0 -1
  392. package/dist/webcomponents/p-0932f6a9.entry.js +0 -1
  393. package/dist/webcomponents/p-09e768fe.entry.js +0 -1
  394. package/dist/webcomponents/p-0dcc83ac.entry.js +0 -1
  395. package/dist/webcomponents/p-22be0859.entry.js +0 -1
  396. package/dist/webcomponents/p-3a4ca4df.entry.js +0 -1
  397. package/dist/webcomponents/p-40ba49e4.entry.js +0 -1
  398. package/dist/webcomponents/p-466f33d7.entry.js +0 -1
  399. package/dist/webcomponents/p-57802e57.entry.js +0 -1
  400. package/dist/webcomponents/p-818f51fd.entry.js +0 -1
  401. package/dist/webcomponents/p-89e27079.entry.js +0 -1
  402. package/dist/webcomponents/p-8f0339de.entry.js +0 -1
  403. package/dist/webcomponents/p-9b75aced.entry.js +0 -1
  404. package/dist/webcomponents/p-BC8YDY7M.js +0 -1
  405. package/dist/webcomponents/p-BbYVgLcf.js +0 -1
  406. package/dist/webcomponents/p-C1fMfnu0.js +0 -1
  407. package/dist/webcomponents/p-C_CXv7AN.js +0 -1
  408. package/dist/webcomponents/p-CwZKT93w.js +0 -1
  409. package/dist/webcomponents/p-D599ZMGU.js +0 -1
  410. package/dist/webcomponents/p-O3LY2Da6.js +0 -1
  411. package/dist/webcomponents/p-a7d5e434.entry.js +0 -1
  412. package/dist/webcomponents/p-ae5a3c2a.entry.js +0 -1
  413. package/dist/webcomponents/p-be06d86a.entry.js +0 -1
  414. package/dist/webcomponents/p-d0e24727.entry.js +0 -1
  415. package/dist/webcomponents/p-d77908ca.entry.js +0 -1
  416. package/dist/webcomponents/p-dd257e60.entry.js +0 -1
  417. package/dist/webcomponents/p-e830a580.entry.js +0 -1
  418. package/dist/webcomponents/p-e859ece8.entry.js +0 -1
  419. package/dist/webcomponents/p-eaea7cc1.entry.js +0 -1
  420. package/dist/webcomponents/p-ff3377e7.entry.js +0 -1
  421. package/dist/webcomponents/p-ff869ded.entry.js +0 -1
  422. package/dist/webcomponents/p-zrUQD0Wr.js +0 -1
@@ -44,7 +44,7 @@ const ShippingDetails = /*@__PURE__*/ proxyCustomElement(class ShippingDetails e
44
44
  }
45
45
  render() {
46
46
  var _a, _b, _c, _d, _e;
47
- return (h("div", { key: 'a0907d5f1fe8d40876f816b6d332dbb0d9afe975' }, h("div", { key: '3f22d56b30227d9ce0d22dc45c4e29bba60b5366', class: "row gy-3" }, h("div", { key: 'ec768dcf266527e981712f55cdb1921d0e6ef257', class: "col-12" }, h("h2", { key: '0b0e92ba9164941f48e1162937d7bd694683b206', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: '2a5f5508c7f8b1a3a674d4bd18a2cba725ff86e7', class: "col-12" }, h("form-control-text", { key: 'deb04aa47dee3269ad8ad84b59edfdf251207520', label: "Shipping Carrier Name", name: "shipping_carrier", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.shipping_carrier, inputHandler: this.inputHandler, errorText: this.errors.shipping_carrier })), h("div", { key: 'e340cf8f480c335b7e565e7d4bf052685bc3f78f', class: "col-12" }, h("form-control-text", { key: '8e3d040776e821518c0d04ea8d0da2d0ddb75cd3', label: "Tracking Number", name: "shipping_tracking_number", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.shipping_tracking_number, inputHandler: this.inputHandler, errorText: this.errors.shipping_tracking_number })), h("div", { key: '71dab91e7befe734db1b8f02bb3fd8d1b8180ab8', class: "col-12" }, h("form-control-date", { key: 'f257e98c81762700c7164a8cbd86764ebe4e4353', label: "Date Shipped", name: "shipping_date", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.shipping_date, inputHandler: this.inputHandler, errorText: this.errors.shipping_date })), h("div", { key: 'e69255a96e9292fea2269f7f0a7888e53e5a8be7', class: "col-12" }, h("form-control-textarea", { key: 'b40386270d12484982d81a85db0e95853f76ec58', label: "Shipping Address", name: "shipping_address", defaultValue: (_d = this.disputeResponse) === null || _d === void 0 ? void 0 : _d.shipping_address, inputHandler: this.inputHandler, errorText: this.errors.shipping_address })), h("div", { key: '23f2a4dabdaefef86940ae03e00a5d240d061a2f', class: "col-12" }, h("form-control-file-v2", { key: '6db6eb9ed1803d7c25f2b9dd03955be7e9c41a34', label: "Shipping Documentation", name: "shipping_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.shipping_documentation })))));
47
+ return (h("div", { key: '9e142fde27da140959115d1acf4a64d7420f90ba' }, h("div", { key: 'bf322d6ec351e67bd4f3fdfec759e1f5c5d381a6', class: "row gy-3" }, h("div", { key: '165a55dc932d0110728c87726231d0cb4b962650', class: "col-12" }, h("h2", { key: '43f318effe869349595025a76ced5ea39093a0ef', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: '1de38ece17aa8b93cfc00858a4d495a950d46239', class: "col-12" }, h("form-control-text", { key: 'd9cfd173732a42abf831ee632ca05d3db78b7135', label: "Shipping Carrier Name", name: "shipping_carrier", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.shipping_carrier, inputHandler: this.inputHandler, errorText: this.errors.shipping_carrier })), h("div", { key: '5b298a18d97e06904c22c9a918c6f9ebc25f8219', class: "col-12" }, h("form-control-text", { key: 'c164c2bfc1772498f3e21c51e2979479021cf86d', label: "Tracking Number", name: "shipping_tracking_number", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.shipping_tracking_number, inputHandler: this.inputHandler, errorText: this.errors.shipping_tracking_number })), h("div", { key: '82128f9527e8061ecf2897af65d908af03c46bbe', class: "col-12" }, h("form-control-date", { key: '13e602a61a85978f129890423a36a95a8b055258', label: "Date Shipped", name: "shipping_date", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.shipping_date, inputHandler: this.inputHandler, errorText: this.errors.shipping_date })), h("div", { key: '5591510c56724f58567c88792cbbeb3cd15e1d0e', class: "col-12" }, h("form-control-textarea", { key: '1e7cbc326345feebd0ffae9b6ec56bfbc36a8193', label: "Shipping Address", name: "shipping_address", defaultValue: (_d = this.disputeResponse) === null || _d === void 0 ? void 0 : _d.shipping_address, inputHandler: this.inputHandler, errorText: this.errors.shipping_address })), h("div", { key: 'd2d1026fd1c7c3b32a6988fb940c431948630b08', class: "col-12" }, h("form-control-file-v2", { key: '21abf54f6a64980c73200ae89130626316917aa7', label: "Shipping Documentation", name: "shipping_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.shipping_documentation })))));
48
48
  }
49
49
  }, [256, "justifi-shipping-details", {
50
50
  "disputeResponse": [8, "dispute-response"],
@@ -14,7 +14,7 @@ const Summary = /*@__PURE__*/ proxyCustomElement(class Summary extends HTMLEleme
14
14
  this.__attachShadow();
15
15
  }
16
16
  render() {
17
- return (h(StyledHost, { key: 'fccb819d66329424af42e9c53effec29a6c9784d' }, h("section", { key: '0ee7a4e0579f7f222a9db82e6b4db6bb92542d9e' }, h("div", { key: 'bdf74b2bc5db35b96ca75d50783b790bb482a76e' }, h("div", { key: '851b481bd6beb1fcaadc106d27d131f8b07d1c9a', part: text }, checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.paymentDescription), h("div", { key: '0b261bc0e2d65cf989778e02df51b3265816f7aa' }, h("span", { key: '0eee0017ddf25ae45d6b5c828071098f45e6e19d', part: text }, "Total"), "\u00A0", h("span", { key: 'd21576f14c3437f70a4b85b9dfc01107392d663a', part: text }, formatCurrency(+(checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.totalAmount))))))));
17
+ return (h(StyledHost, { key: '28a1a324b8cdf2dea0aafe91fbdd3679482e76f8' }, h("section", { key: 'e8ffe2fdd1592a0b762647fdab94ee5e21436a93' }, h("div", { key: '099fbfb449066290cdcd113b0de5f87334777a0e' }, h("div", { key: 'c78325957b4e00299366b8e9efe6fd6e86da3b97', part: text }, checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.paymentDescription), h("div", { key: 'd077da888b03a34e540f66ebaa57502fe22be7c4' }, h("span", { key: 'd4f7ddd24e10302222679a9f73c3b5ed305267a7', part: text }, "Total"), "\u00A0", h("span", { key: '1f5d7b6b0cce64eea04879e7767ff87ce5a64069', part: text }, formatCurrency(+(checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.totalAmount))))))));
18
18
  }
19
19
  }, [257, "justifi-checkout-summary"]);
20
20
  function defineCustomElement() {
@@ -29,7 +29,7 @@ const TableFiltersMenu = /*@__PURE__*/ proxyCustomElement(class TableFiltersMenu
29
29
  this.showClearButton = hasFilters(this.params);
30
30
  }
31
31
  render() {
32
- return (h("div", { key: 'b270a6f9e52e45e958bb02e31569d4f56135ee25', class: "d-flex gap-2" }, h("div", { key: '76d9eef0672c27ec28a95bc062f946739a2c5dc7', class: "dropdown pb-3" }, h("button", { key: '3de6afb2c92bde835ae894e7548b3e07b86fb0bf', type: "button dropdown-toggle", ref: (el) => (this.anchorButton = el), class: "btn btn-primary dropdown-toggle", part: dropdownMenuButton, "data-test-id": "open-filters-button", "data-bs-toggle": "dropdown" }, "Filters"), h("custom-popper", { key: 'de744460fb721b5949ca0cfcf6a751e4b6a008d0', offset: [20, 10], strategy: "fixed", anchorRef: this.anchorButton, trigger: "click" }, h("form", { key: 'c8b6d3e8e28b90fb3dedd80e71c7a8a0f30b6a8f', class: "dropdown-menu", part: dropdownMenu, "data-test-id": "filter-menu", ref: (el) => (this.menu = el), onSubmit: (e) => e.preventDefault() }, h("slot", { key: '44e50fab6d4f6c7a76f90659cced1c61e94ec43d' })))), h("div", { key: 'b5ec37cc1f28005c2b87b14bd10b74e619012ce5' }, h(Button, { key: '5bae9de44fcdb6e015ac3311945bdcee1887e827', variant: "secondary", onClick: () => this.clearParams(), hidden: !this.showClearButton, "data-test-id": "clear-filters-button" }, "Clear Filters"))));
32
+ return (h("div", { key: 'e205ff268a099beae125bbe8a85a6ae5e34924af', class: "d-flex gap-2" }, h("div", { key: 'e61fcbc31cfa97093771ad99b1f4bc088a2a6b98', class: "dropdown pb-3" }, h("button", { key: '3c4425f10ebb39b011d2783c5ef88ebbd34b8e65', type: "button dropdown-toggle", ref: (el) => (this.anchorButton = el), class: "btn btn-primary dropdown-toggle", part: dropdownMenuButton, "data-test-id": "open-filters-button", "data-bs-toggle": "dropdown" }, "Filters"), h("custom-popper", { key: '03692eaae9d340c0f204f55e8c26b8353c4caa74', offset: [20, 10], strategy: "fixed", anchorRef: this.anchorButton, trigger: "click" }, h("form", { key: 'ed80b52e0cabbba44d09798b3b8bd4ab99d72659', class: "dropdown-menu", part: dropdownMenu, "data-test-id": "filter-menu", ref: (el) => (this.menu = el), onSubmit: (e) => e.preventDefault() }, h("slot", { key: '6cc0bf4f7fd5fa16b431b21933b36f75035221c7' })))), h("div", { key: '13f401ce7926aaf678021ed7dc768b967987b0ec' }, h(Button, { key: 'd6a16f4e5b31e5602d6729e39fccfa4dbfdd8336', variant: "secondary", onClick: () => this.clearParams(), hidden: !this.showClearButton, "data-test-id": "clear-filters-button" }, "Clear Filters"))));
33
33
  }
34
34
  static get watchers() { return {
35
35
  "params": ["watchParamsHandler"]
@@ -166,7 +166,7 @@ const TerminalOrdersListCore = /*@__PURE__*/ proxyCustomElement(class TerminalOr
166
166
  return !this.showEmptyState && !this.showErrorState && !this.loading;
167
167
  }
168
168
  render() {
169
- return (h(TableWrapper, { key: '8a0766c914fedb4544e1420a9d4821033ff5b63e' }, h(TableComponent, { key: '082e4d1231d470bbdcdb6283b769dfa170d4497c' }, h(TableHead, { key: '657a36dea6be9c12ea4d184b80100926f5d5a776' }, h(TableHeadRow, { key: '15e2897c02a069998ab7e317714e27b5c25496de' }, this.terminalOrdersTable.columnData.map((column) => column))), h(TableBody, { key: '2c4ce1e4d6542a6a35fe84e930d5aa80be8f1e5e' }, h(TableLoadingState, { key: '9d6dc10cbc5bac7dc70f5b89835e66d94b7a7f47', columnSpan: this.terminalOrdersTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '8cbb3e23fe963729e25e2692db64027a8fa60cd3', isEmpty: this.showEmptyState, columnSpan: this.terminalOrdersTable.columnKeys.length }), h(TableErrorState, { key: 'b13a399c4df1f596d46cc87236172499eecfcde8', columnSpan: this.terminalOrdersTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalOrdersTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '95df4815cc997770b8422a9ad1553bf1fca04c55' }, h(TableFootRow, { key: '4e58cb642110fa73b437fa8eccb8bc7900bb0409' }, h(TableFootCell, { key: '42f6b9a69a798bbe7f6478adb99294156bcffab3', colSpan: this.terminalOrdersTable.columnData.length }, h("pagination-menu", { key: '82740c87d012610d1f7863b52463e7d6ac4ad482', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
169
+ return (h(TableWrapper, { key: '394f529d42867e207bc47901045e7307a6784f3c' }, h(TableComponent, { key: 'b6d668352fe60c0fd33cc66505b14e944a598792' }, h(TableHead, { key: 'f52ef37d1246d60503b9dd86cef67d7d1d34b939' }, h(TableHeadRow, { key: '31df50a3ecb7329fdd25f16970d195eb5bd027ef' }, this.terminalOrdersTable.columnData.map((column) => column))), h(TableBody, { key: '3e4354bab42bc5005383bccee6594c4cea220a40' }, h(TableLoadingState, { key: 'f8febbccb33a3ca286af8a6d25f032b1320d1f45', columnSpan: this.terminalOrdersTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '4d5c0466ae4b63869739aa416ae88ce9ba832eda', isEmpty: this.showEmptyState, columnSpan: this.terminalOrdersTable.columnKeys.length }), h(TableErrorState, { key: 'babe96226b95f6646e08927d16002a4709ddfabf', columnSpan: this.terminalOrdersTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalOrdersTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '9e603727dde071004445013cb653777336b2ad11' }, h(TableFootRow, { key: 'f49d1110c64a88045bba21df48072116b82cda5c' }, h(TableFootCell, { key: '97b2adb37e39414018d0cf280e7041019d95da9b', colSpan: this.terminalOrdersTable.columnData.length }, h("pagination-menu", { key: '00e589c3458499d2eb81595f3156eb8b17ad9eae', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
170
170
  }
171
171
  static get watchers() { return {
172
172
  "pagingParams": ["updateOnPropChange"],
@@ -24,7 +24,7 @@ const TerminalQuantitySelector = /*@__PURE__*/ proxyCustomElement(class Terminal
24
24
  };
25
25
  }
26
26
  render() {
27
- return (h("div", { key: 'de2e01cebd222ad371a15df4aade26d3e118ddee', class: "rounded shadow-sm card p-2", part: card }, h("div", { key: '8e69419c2b7cd0917dd27d42edef08e2d06d79fb', class: "d-flex gap-3" }, h("div", { key: 'c9f83f6f3857e3ec38134194e8ce9d5e9c614992', class: "d-flex align-items-center" }, h("img", { key: '576be452c664824354355b8ed02777dd63d2cddb', src: this.imageUrl, alt: this.modelName, height: 75, width: 75, part: image })), h("div", { key: '0c978b052b05d5b6384a0a13411b339c0522dfd3', class: "d-flex flex-column flex-grow-1 gap-3 p-4 justify-content-center" }, h("div", { key: '40c72c35a8a8418c4d873dbbd6f4ca089142bc14', class: "row" }, h("div", { key: '5fd4f0be8b88e49ad6f332b39d8bf5061ed7ebc3', class: "col-6 d-flex gap-2" }, this.modelName, h("form-control-tooltip", { key: '5d30721f60481bb7994578aefbe2b58055134044', helpText: this.description })), h("div", { key: 'e78454dc8e9fc81f65d01bafc4877d254db08508', class: "col-6 d-flex justify-content-end align-items-center" }, h("button", { key: 'e2f601209f58ce5b87aa546888da3077e1dc3aed', class: "p-0 minus btn", onClick: this.removeUnit, part: buttonLink }, "-"), h("div", { key: '32f9805571ec676ebfcf664029579d50e5e500ca', class: "w-25 text-center" }, this.selectedQuantity), h("button", { key: 'c7ac123ecc6fcaa06a0beaa5f36ed842beba928c', class: "p-0 plus btn", onClick: this.addUnit, part: buttonLink }, "+")))))));
27
+ return (h("div", { key: '0b6c6622a2a25650c3713682888e9e3e842baebf', class: "rounded shadow-sm card p-2", part: card }, h("div", { key: 'd8cb3815b1490dd7a8ae8dad06db84df65d84782', class: "d-flex gap-3" }, h("div", { key: '9f68c206b1a358fd9427615d1596d798678ea2e9', class: "d-flex align-items-center" }, h("img", { key: 'df5982d69ecc957a4536b2cc768dc682e3d1bef7', src: this.imageUrl, alt: this.modelName, height: 75, width: 75, part: image })), h("div", { key: '0ef6b9ee7fcbb6b7dd220c73835079571fbff861', class: "d-flex flex-column flex-grow-1 gap-3 p-4 justify-content-center" }, h("div", { key: 'f39724e9b712641914a4def251e48a0ed9b384b3', class: "row" }, h("div", { key: '200ba52e240dc6797423b25d1b056670f900a64d', class: "col-6 d-flex gap-2" }, this.modelName, h("form-control-tooltip", { key: 'bc52a0b94f09c8ebaeeb73f31878ca38d608ec80', helpText: this.description })), h("div", { key: '78029284d86432413ac3d3b00b6ca3b42327221c', class: "col-6 d-flex justify-content-end align-items-center" }, h("button", { key: 'b8822c9e6c10baf55f631061f6984c1d4f15f4e0', class: "p-0 minus btn", onClick: this.removeUnit, part: buttonLink }, "-"), h("div", { key: '0d5662d0d3b39933ae53284c5083bf48f7ce0b38', class: "w-25 text-center" }, this.selectedQuantity), h("button", { key: 'ec9918b84364e12ecf0d39d3241793f8ab02a910', class: "p-0 plus btn", onClick: this.addUnit, part: buttonLink }, "+")))))));
28
28
  }
29
29
  }, [256, "terminal-quantity-selector", {
30
30
  "modelName": [1, "model-name"],
@@ -180,7 +180,7 @@ const TerminalsListCore = /*@__PURE__*/ proxyCustomElement(class TerminalsListCo
180
180
  return !this.showEmptyState && !this.showErrorState && !this.loading;
181
181
  }
182
182
  render() {
183
- return (h(TableWrapper, { key: 'b2e853d103eb893f825170d3ed551e03382e57df' }, h(TableComponent, { key: '73bab60cad7132c91099113d96f52181e2dc2850' }, h(TableHead, { key: '14a6d161dae9949570fbdb0bb8455c406dc9c748' }, h(TableHeadRow, { key: '97e7bcfebcc66f87a2e10a046f13e3e79a1af96c' }, this.terminalsTable.columnData.map((column) => column))), h(TableBody, { key: 'eaa976b34876dd9dbc2fca3c21b7a591e72b224e' }, h(TableLoadingState, { key: 'a8fb237f44d2de11f14fe80d8146d29e09521e0c', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '94eb12a433df19e4e5cb917157540f5de567950a', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), h(TableErrorState, { key: 'dc8fe9dfd5154a630971a5fdbbfdac9bbb04006d', columnSpan: this.terminalsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '3452bdbdf0f4670ea81145eeb900961d370c3f80' }, h(TableFootRow, { key: 'ba21d21290c1d83e9f44d2373306ddf94af899ad' }, h(TableFootCell, { key: '2506579fde96ee0809967d95afa8243a1b6d232c', colSpan: this.terminalsTable.columnData.length }, h("pagination-menu", { key: 'eae2ec2a0833dac1eba55797619e68c03076fdcf', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
183
+ return (h(TableWrapper, { key: 'f3d727c92c66b2504c6c8952a284cd4972706fd4' }, h(TableComponent, { key: 'c368038fb5683749737bb6b2b27a0a55ac95fe95' }, h(TableHead, { key: '96b41588ba94168581bfa423d3199916a06a925e' }, h(TableHeadRow, { key: 'fd1991bbcc22c3eb2b9ba107341285abf55a06b2' }, this.terminalsTable.columnData.map((column) => column))), h(TableBody, { key: 'ff3244f6b51f311fbc4311e37fc2c5bd4115a71a' }, h(TableLoadingState, { key: '821b4e55ea536fbe14e018107e8c19c309b86fca', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'cbeedf4e12ff428e7d24f536675f5b1f3c9d3d67', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), h(TableErrorState, { key: '4c7882127d862af40ea5960ec10adf092e676e4e', columnSpan: this.terminalsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '7bd7c9bbc95b0c24c03c1b3fd1685877dcdfec06' }, h(TableFootRow, { key: 'd6988cf0398b1a435f71a73761fb57656ff5ee7d' }, h(TableFootCell, { key: '207ac8dd06e9b053653781b255833e4f20bf9559', colSpan: this.terminalsTable.columnData.length }, h("pagination-menu", { key: '329f13886ec41244f05030673cf4cd7baf6b1cb6', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
184
184
  }
185
185
  static get watchers() { return {
186
186
  "pagingParams": ["updateOnPropChange"],
@@ -265,7 +265,7 @@ const TokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class TokenizePay
265
265
  return paymentMethodId === PaymentMethodTypes.card ? (h("justifi-card-form", { ref: (el) => (this.paymentMethodFormRef = el) })) : (h("justifi-bank-account-form", { ref: (el) => (this.paymentMethodFormRef = el) }));
266
266
  }
267
267
  render() {
268
- return (h(StyledHost, { key: '11b857dea77d2f753e400cfaf021db51326ffc36' }, h("form", { key: 'fd1c625c62b1699157b24834e15c4c6e0bc93b84' }, h("fieldset", { key: 'febf7db57a5ceda457e21287c20df817b101b45d' }, h("div", { key: '1089c358094a3f0cea1c97b807779c7eb6e9e692', class: "row gy-3" }, h("div", { key: 'f564fbfec389008e352f9de54fdb604be56d8826', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), h("div", { key: 'e3e7f46529d1a659f387fb6df0914c168d556e27', class: "col-12" }, h("justifi-button", { key: 'd729f38c5b55c174de479ab57da56defd327366b', text: this.submitButtonText, variant: "primary", type: "submit", clickHandler: (e) => this.tokenizePaymentMethod(e), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.computedHideSubmitButton })))))));
268
+ return (h(StyledHost, { key: '47fb6432264a7009d1df82cac73c3283be5a1514' }, h("form", { key: 'b283f414e00296cbf08960a669fbd0f91a2cb554' }, h("fieldset", { key: 'bfaddf226f5ec365ceb22185804f29d46f9f59c7' }, h("div", { key: 'b828e27ea63fa96dd7f38ef8d6038e3a6d1f234c', class: "row gy-3" }, h("div", { key: '1b34dba8e5d3a5426f002e4b2eace7dbc32b80e8', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), h("div", { key: 'd62cdda4a73c39ce53936717c5c22779dd9c3c48', class: "col-12" }, h("justifi-button", { key: '24bbd9e275990e59d0549b07725111aa0fffa8c4', text: this.submitButtonText, variant: "primary", type: "submit", clickHandler: (e) => this.tokenizePaymentMethod(e), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.computedHideSubmitButton })))))));
269
269
  }
270
270
  get host() { return this; }
271
271
  static get watchers() { return {
@@ -0,0 +1,196 @@
1
+ import { PagingInfo } from "./Pagination";
2
+ export declare enum ApplePaySessionStatus {
3
+ STATUS_SUCCESS = "STATUS_SUCCESS",
4
+ STATUS_FAILURE = "STATUS_FAILURE"
5
+ }
6
+ export declare enum ApplePayButtonType {
7
+ PLAIN = "plain",
8
+ BUY = "buy",
9
+ SET_UP = "set-up",
10
+ DONATE = "donate",
11
+ CHECK_OUT = "check-out",
12
+ BOOK = "book",
13
+ SUBSCRIBE = "subscribe"
14
+ }
15
+ export declare enum ApplePayButtonStyle {
16
+ BLACK = "black",
17
+ WHITE = "white",
18
+ WHITE_OUTLINE = "white-outline"
19
+ }
20
+ export declare enum ApplePayMerchantCapability {
21
+ SUPPORTS_3DS = "supports3DS",
22
+ SUPPORTS_EMV = "supportsEMV",
23
+ SUPPORTS_CREDIT = "supportsCredit",
24
+ SUPPORTS_DEBIT = "supportsDebit"
25
+ }
26
+ export interface IApplePayLineItem {
27
+ label: string;
28
+ amount: string;
29
+ type?: 'final' | 'pending';
30
+ }
31
+ export interface IApplePayShippingMethod {
32
+ label: string;
33
+ amount: string;
34
+ identifier: string;
35
+ detail?: string;
36
+ }
37
+ export interface IApplePayPaymentRequest {
38
+ countryCode: string;
39
+ currencyCode: string;
40
+ merchantCapabilities: ApplePayMerchantCapability[];
41
+ supportedNetworks: string[];
42
+ total: IApplePayLineItem;
43
+ lineItems?: IApplePayLineItem[];
44
+ shippingMethods?: IApplePayShippingMethod[];
45
+ applicationData?: string;
46
+ supportedCountries?: string[];
47
+ }
48
+ export interface IApplePaySession {
49
+ canMakePayments(): boolean;
50
+ canMakePaymentsWithActiveCard(merchantIdentifier: string): Promise<boolean>;
51
+ supportsVersion(version: number): boolean;
52
+ begin(): void;
53
+ abort(): void;
54
+ completeMerchantValidation(merchantSession: IMerchantSession): void;
55
+ completePayment(result: {
56
+ status: ApplePaySessionStatus;
57
+ }): void;
58
+ completeShippingMethodSelection(update: any): void;
59
+ completePaymentMethodSelection(update: any): void;
60
+ onvalidatemerchant?: (event: IApplePayValidateEvent) => void;
61
+ onpaymentmethodselected?: (event: IApplePayMethodSelectedEvent) => void;
62
+ onshippingmethodselected?: () => void;
63
+ onpaymentauthorized?: (event: any) => void;
64
+ oncancel?: (event: IApplePayCancelEvent) => void;
65
+ }
66
+ export interface IApplePayConfig {
67
+ merchantIdentifier: string;
68
+ displayName: string;
69
+ initiative: string;
70
+ initiativeContext: string;
71
+ buttonType?: ApplePayButtonType;
72
+ buttonStyle?: ApplePayButtonStyle;
73
+ buttonLocale?: string;
74
+ }
75
+ export interface IApplePayError {
76
+ code: string;
77
+ message: string;
78
+ }
79
+ export interface IMerchantSession {
80
+ displayName: string;
81
+ domainName: string;
82
+ epochTimestamp: number;
83
+ expiresAt: number;
84
+ merchantIdentifier: string;
85
+ merchantSessionIdentifier: string;
86
+ nonce: string;
87
+ operationalAnalyticsIdentifier: string;
88
+ pspId: string;
89
+ retries: number;
90
+ signature: string;
91
+ }
92
+ export interface IApplePayTokenData {
93
+ data: string;
94
+ header: {
95
+ publicKeyHash: string;
96
+ ephemeralPublicKey: string;
97
+ transactionId: string;
98
+ };
99
+ signature: string;
100
+ version: string;
101
+ }
102
+ export interface IApplePayTokenPaymentMethod {
103
+ displayName: string;
104
+ network: string;
105
+ type: string;
106
+ }
107
+ export interface IApplePayToken {
108
+ paymentData: IApplePayTokenData;
109
+ paymentMethod: IApplePayTokenPaymentMethod;
110
+ transactionIdentifier: string;
111
+ }
112
+ export interface IApplePayValidateEvent {
113
+ validationURL: string;
114
+ }
115
+ export interface IApplePayCancelEvent {
116
+ sessionError?: {
117
+ code: 'unknown' | 'invalidMerchantSession' | 'userCancel' | string;
118
+ info?: string;
119
+ };
120
+ }
121
+ export interface IApplePayMethodSelectedEvent {
122
+ paymentMethod: IApplePayTokenPaymentMethod;
123
+ }
124
+ export interface IApplePayPaymentProcessRequest {
125
+ paymentData: IApplePayTokenData;
126
+ paymentMethod: IApplePayTokenPaymentMethod;
127
+ transactionIdentifier: string;
128
+ product_details?: {
129
+ name: string;
130
+ price: number;
131
+ description: string;
132
+ };
133
+ description?: string;
134
+ }
135
+ export interface IApplePayPaymentResponse {
136
+ id: string;
137
+ type: string;
138
+ page_info: PagingInfo | null;
139
+ data: {
140
+ account_id: string;
141
+ token: string;
142
+ };
143
+ }
144
+ export interface IApplePayService {
145
+ validateMerchant(authToken: string): Promise<IMerchantSession>;
146
+ processPayment(authToken: string, payload: IApplePayPaymentProcessRequest): Promise<{
147
+ success: boolean;
148
+ data: IApplePayPaymentResponse;
149
+ }>;
150
+ }
151
+ export declare class ApplePayConfig implements IApplePayConfig {
152
+ merchantIdentifier: string;
153
+ displayName: string;
154
+ initiative: string;
155
+ initiativeContext: string;
156
+ buttonType?: ApplePayButtonType;
157
+ buttonStyle?: ApplePayButtonStyle;
158
+ buttonLocale?: string;
159
+ constructor(data: IApplePayConfig);
160
+ get isValid(): boolean;
161
+ }
162
+ export declare class ApplePayPaymentRequest implements IApplePayPaymentRequest {
163
+ countryCode: string;
164
+ currencyCode: string;
165
+ merchantCapabilities: ApplePayMerchantCapability[];
166
+ supportedNetworks: string[];
167
+ total: IApplePayLineItem;
168
+ lineItems?: IApplePayLineItem[];
169
+ shippingMethods?: IApplePayShippingMethod[];
170
+ applicationData?: string;
171
+ supportedCountries?: string[];
172
+ constructor(data: IApplePayPaymentRequest);
173
+ get isValid(): boolean;
174
+ }
175
+ export declare class ApplePayHelpers {
176
+ static isApplePaySupported(): boolean;
177
+ static canMakePayments(): boolean;
178
+ static canMakePaymentsWithActiveCard(merchantIdentifier: string): Promise<boolean>;
179
+ static formatAmount(amount: number): string;
180
+ static parseAmount(amount: string): number;
181
+ static createLineItem(label: string, amount: number, type?: 'final' | 'pending'): IApplePayLineItem;
182
+ static getDefaultSupportedNetworks(): string[];
183
+ static getDefaultMerchantCapabilities(): ApplePayMerchantCapability[];
184
+ }
185
+ declare global {
186
+ interface Window {
187
+ ApplePaySession?: {
188
+ new (version: number, paymentRequest: IApplePayPaymentRequest): IApplePaySession;
189
+ canMakePayments(): boolean;
190
+ canMakePaymentsWithActiveCard(merchantIdentifier: string): Promise<boolean>;
191
+ supportsVersion(version: number): boolean;
192
+ STATUS_SUCCESS: number;
193
+ STATUS_FAILURE: number;
194
+ };
195
+ }
196
+ }
@@ -0,0 +1,65 @@
1
+ import { IApplePayConfig, IApplePayPaymentRequest, IApplePayError, ApplePayConfig, IMerchantSession, IApplePayService, IApplePayPaymentProcessRequest, IApplePayPaymentResponse, IApplePayToken } from '../ApplePay';
2
+ export declare class ApplePayService implements IApplePayService {
3
+ private applePayConfig?;
4
+ private currentSession?;
5
+ private currentPaymentRequest?;
6
+ private apiBaseUrl;
7
+ private authToken?;
8
+ private accountId?;
9
+ /**
10
+ * Set custom API base URL
11
+ */
12
+ setApiBaseUrl(url: string): void;
13
+ /**
14
+ * Set authentication token
15
+ */
16
+ setAuthToken(authToken: string): void;
17
+ setAccountId(accountId: string): void;
18
+ /**
19
+ * Initialize Apple Pay configuration
20
+ */
21
+ initialize(applePayConfig: IApplePayConfig): void;
22
+ /**
23
+ * Validate merchant with Apple Pay servers via API
24
+ */
25
+ validateMerchant(authToken: string): Promise<IMerchantSession>;
26
+ /**
27
+ * Process Apple Pay payment via API (fixed to match original logic)
28
+ */
29
+ processPayment(authToken: string, payload: IApplePayPaymentProcessRequest): Promise<{
30
+ success: boolean;
31
+ data: IApplePayPaymentResponse;
32
+ }>;
33
+ /**
34
+ * Check if Apple Pay is available on this device/browser
35
+ */
36
+ isAvailable(): boolean;
37
+ /**
38
+ * Check if the user has an active card for the merchant
39
+ */
40
+ canMakePaymentsWithActiveCard(): Promise<boolean>;
41
+ /**
42
+ * Start Apple Pay session
43
+ */
44
+ startPaymentSession(paymentRequest: IApplePayPaymentRequest): Promise<{
45
+ success: boolean;
46
+ token?: IApplePayToken;
47
+ error?: IApplePayError;
48
+ }>;
49
+ /**
50
+ * Abort current Apple Pay session
51
+ */
52
+ abortPaymentSession(): void;
53
+ /**
54
+ * Setup Apple Pay session event handlers
55
+ */
56
+ private setupSessionEventHandlers;
57
+ /**
58
+ * Create a basic payment request
59
+ */
60
+ static createPaymentRequest(amount: number, label: string, countryCode?: string, currencyCode?: string): IApplePayPaymentRequest;
61
+ /**
62
+ * Get current configuration
63
+ */
64
+ getApplePayConfig(): ApplePayConfig | undefined;
65
+ }
@@ -8,8 +8,10 @@ export declare class ModularCheckout {
8
8
  private billingFormRef?;
9
9
  private insuranceFormRef?;
10
10
  private sezzlePaymentMethodRef?;
11
+ private applePayRef?;
11
12
  private getCheckout;
12
13
  private completeCheckout;
14
+ private applePayToken?;
13
15
  authToken: string;
14
16
  checkoutId: string;
15
17
  savePaymentMethod?: boolean;
@@ -25,6 +27,12 @@ export declare class ModularCheckout {
25
27
  private fetchCheckout;
26
28
  private updateStore;
27
29
  private queryFormRefs;
30
+ private setupApplePayListeners;
31
+ private removeApplePayListeners;
32
+ private handleApplePayCompleted;
33
+ private handleApplePayError;
34
+ private handleApplePayCancelled;
35
+ private submitCheckoutWithApplePay;
28
36
  private tokenizePaymentMethod;
29
37
  private getPaymentMethod;
30
38
  validate(): Promise<boolean>;
@@ -0,0 +1,6 @@
1
+ import { FunctionalComponent } from "../../../stencil-public-runtime";
2
+ interface ApplePaySkeletonProps {
3
+ isReady: boolean;
4
+ }
5
+ declare const ApplePaySkeleton: FunctionalComponent<ApplePaySkeletonProps>;
6
+ export default ApplePaySkeleton;
@@ -0,0 +1,38 @@
1
+ import { EventEmitter } from "../../../stencil-public-runtime";
2
+ import { ApplePayButtonType, ApplePayButtonStyle, IApplePayToken } from "../../../api/ApplePay";
3
+ export declare class ApplePay {
4
+ private applePayService;
5
+ countryCode: string;
6
+ merchantIdentifier: string;
7
+ merchantDisplayName: string;
8
+ initiativeContext: string;
9
+ apiBaseUrl: string;
10
+ buttonType: ApplePayButtonType;
11
+ buttonStyle: ApplePayButtonStyle;
12
+ disabled: boolean;
13
+ showSkeleton: boolean;
14
+ isLoading: boolean;
15
+ isProcessing: boolean;
16
+ isAvailable: boolean;
17
+ canMakePayments: boolean;
18
+ error: string | null;
19
+ applePayStarted: EventEmitter<void>;
20
+ applePayCompleted: EventEmitter<{
21
+ success: boolean;
22
+ token?: IApplePayToken;
23
+ error?: any;
24
+ }>;
25
+ applePayCancelled: EventEmitter<void>;
26
+ applePayError: EventEmitter<{
27
+ error: string;
28
+ }>;
29
+ componentWillLoad(): void;
30
+ componentDidLoad(): void;
31
+ watchPropsChange(): void;
32
+ private initializeApplePay;
33
+ private handleApplePayClick;
34
+ isSupported(): Promise<boolean>;
35
+ getPaymentMethods(): Promise<string[]>;
36
+ abort(): Promise<void>;
37
+ render(): any;
38
+ }
@@ -14,6 +14,7 @@ import { IPaymentMethodMetadata } from "./api/PaymentMethod";
14
14
  import { BillingFormFields as BillingFormFields1, FormController } from "./components";
15
15
  import { DisputeEvidenceDocument } from "./api/DisputeEvidenceDocument";
16
16
  import { DisputeResponseFormStep } from "./components/dispute-management/dispute-response/dispute-response-form-types";
17
+ import { ApplePayButtonStyle, ApplePayButtonType, IApplePayToken } from "./api/ApplePay";
17
18
  import { BillingFormFields } from "./components/checkout/billing-form/billing-form-schema";
18
19
  import { FormController as FormController1 } from "./ui-components/form/form";
19
20
  import { Dispute, IDispute } from "./api/Dispute";
@@ -30,6 +31,7 @@ export { IPaymentMethodMetadata } from "./api/PaymentMethod";
30
31
  export { BillingFormFields as BillingFormFields1, FormController } from "./components";
31
32
  export { DisputeEvidenceDocument } from "./api/DisputeEvidenceDocument";
32
33
  export { DisputeResponseFormStep } from "./components/dispute-management/dispute-response/dispute-response-form-types";
34
+ export { ApplePayButtonStyle, ApplePayButtonType, IApplePayToken } from "./api/ApplePay";
33
35
  export { BillingFormFields } from "./components/checkout/billing-form/billing-form-schema";
34
36
  export { FormController as FormController1 } from "./ui-components/form/form";
35
37
  export { Dispute, IDispute } from "./api/Dispute";
@@ -276,6 +278,47 @@ export namespace Components {
276
278
  "documentErrors": any;
277
279
  "validateAndSubmit": (onSuccess: (formData: any, documentList: DisputeEvidenceDocument[], formStep: DisputeResponseFormStep) => void) => Promise<void>;
278
280
  }
281
+ interface JustifiApplePay {
282
+ "abort": () => Promise<void>;
283
+ /**
284
+ * @default configState.apiOrigin
285
+ */
286
+ "apiBaseUrl": string;
287
+ /**
288
+ * @default ApplePayButtonStyle.BLACK
289
+ */
290
+ "buttonStyle": ApplePayButtonStyle;
291
+ /**
292
+ * @default ApplePayButtonType.PLAIN
293
+ */
294
+ "buttonType": ApplePayButtonType;
295
+ /**
296
+ * @default "US"
297
+ */
298
+ "countryCode": string;
299
+ /**
300
+ * @default false
301
+ */
302
+ "disabled": boolean;
303
+ "getPaymentMethods": () => Promise<string[]>;
304
+ /**
305
+ * @default "dev-checkout.justifi-staging.com"
306
+ */
307
+ "initiativeContext": string;
308
+ "isSupported": () => Promise<boolean>;
309
+ /**
310
+ * @default "JustiFi Checkout"
311
+ */
312
+ "merchantDisplayName": string;
313
+ /**
314
+ * @default "merchant.com.staging-justifi.checkout-dev"
315
+ */
316
+ "merchantIdentifier": string;
317
+ /**
318
+ * @default true
319
+ */
320
+ "showSkeleton": boolean;
321
+ }
279
322
  interface JustifiBankAccountBillingFormSimple {
280
323
  "fill": (fields: BillingFormFields) => Promise<void>;
281
324
  "getValues": () => Promise<BillingFormFields>;
@@ -1010,6 +1053,10 @@ export interface JustifiAdditionalQuestionsFormStepCoreCustomEvent<T> extends Cu
1010
1053
  detail: T;
1011
1054
  target: HTMLJustifiAdditionalQuestionsFormStepCoreElement;
1012
1055
  }
1056
+ export interface JustifiApplePayCustomEvent<T> extends CustomEvent<T> {
1057
+ detail: T;
1058
+ target: HTMLJustifiApplePayElement;
1059
+ }
1013
1060
  export interface JustifiBusinessBankAccountFormStepCustomEvent<T> extends CustomEvent<T> {
1014
1061
  detail: T;
1015
1062
  target: HTMLJustifiBusinessBankAccountFormStepElement;
@@ -1625,6 +1672,30 @@ declare global {
1625
1672
  prototype: HTMLJustifiAdditionalStatementElement;
1626
1673
  new (): HTMLJustifiAdditionalStatementElement;
1627
1674
  };
1675
+ interface HTMLJustifiApplePayElementEventMap {
1676
+ "applePayStarted": void;
1677
+ "applePayCompleted": {
1678
+ success: boolean;
1679
+ token?: IApplePayToken;
1680
+ error?: any;
1681
+ };
1682
+ "applePayCancelled": void;
1683
+ "applePayError": { error: string };
1684
+ }
1685
+ interface HTMLJustifiApplePayElement extends Components.JustifiApplePay, HTMLStencilElement {
1686
+ addEventListener<K extends keyof HTMLJustifiApplePayElementEventMap>(type: K, listener: (this: HTMLJustifiApplePayElement, ev: JustifiApplePayCustomEvent<HTMLJustifiApplePayElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1687
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1688
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1689
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1690
+ removeEventListener<K extends keyof HTMLJustifiApplePayElementEventMap>(type: K, listener: (this: HTMLJustifiApplePayElement, ev: JustifiApplePayCustomEvent<HTMLJustifiApplePayElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1691
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1692
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1693
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1694
+ }
1695
+ var HTMLJustifiApplePayElement: {
1696
+ prototype: HTMLJustifiApplePayElement;
1697
+ new (): HTMLJustifiApplePayElement;
1698
+ };
1628
1699
  interface HTMLJustifiBankAccountBillingFormSimpleElement extends Components.JustifiBankAccountBillingFormSimple, HTMLStencilElement {
1629
1700
  }
1630
1701
  var HTMLJustifiBankAccountBillingFormSimpleElement: {
@@ -2770,6 +2841,7 @@ declare global {
2770
2841
  "justifi-additional-questions-form-step": HTMLJustifiAdditionalQuestionsFormStepElement;
2771
2842
  "justifi-additional-questions-form-step-core": HTMLJustifiAdditionalQuestionsFormStepCoreElement;
2772
2843
  "justifi-additional-statement": HTMLJustifiAdditionalStatementElement;
2844
+ "justifi-apple-pay": HTMLJustifiApplePayElement;
2773
2845
  "justifi-bank-account-billing-form-simple": HTMLJustifiBankAccountBillingFormSimpleElement;
2774
2846
  "justifi-bank-account-form": HTMLJustifiBankAccountFormElement;
2775
2847
  "justifi-billing-form": HTMLJustifiBillingFormElement;
@@ -3126,6 +3198,52 @@ declare namespace LocalJSX {
3126
3198
  */
3127
3199
  "documentErrors"?: any;
3128
3200
  }
3201
+ interface JustifiApplePay {
3202
+ /**
3203
+ * @default configState.apiOrigin
3204
+ */
3205
+ "apiBaseUrl"?: string;
3206
+ /**
3207
+ * @default ApplePayButtonStyle.BLACK
3208
+ */
3209
+ "buttonStyle"?: ApplePayButtonStyle;
3210
+ /**
3211
+ * @default ApplePayButtonType.PLAIN
3212
+ */
3213
+ "buttonType"?: ApplePayButtonType;
3214
+ /**
3215
+ * @default "US"
3216
+ */
3217
+ "countryCode"?: string;
3218
+ /**
3219
+ * @default false
3220
+ */
3221
+ "disabled"?: boolean;
3222
+ /**
3223
+ * @default "dev-checkout.justifi-staging.com"
3224
+ */
3225
+ "initiativeContext"?: string;
3226
+ /**
3227
+ * @default "JustiFi Checkout"
3228
+ */
3229
+ "merchantDisplayName"?: string;
3230
+ /**
3231
+ * @default "merchant.com.staging-justifi.checkout-dev"
3232
+ */
3233
+ "merchantIdentifier"?: string;
3234
+ "onApplePayCancelled"?: (event: JustifiApplePayCustomEvent<void>) => void;
3235
+ "onApplePayCompleted"?: (event: JustifiApplePayCustomEvent<{
3236
+ success: boolean;
3237
+ token?: IApplePayToken;
3238
+ error?: any;
3239
+ }>) => void;
3240
+ "onApplePayError"?: (event: JustifiApplePayCustomEvent<{ error: string }>) => void;
3241
+ "onApplePayStarted"?: (event: JustifiApplePayCustomEvent<void>) => void;
3242
+ /**
3243
+ * @default true
3244
+ */
3245
+ "showSkeleton"?: boolean;
3246
+ }
3129
3247
  interface JustifiBankAccountBillingFormSimple {
3130
3248
  "legend"?: string;
3131
3249
  }
@@ -3852,6 +3970,7 @@ declare namespace LocalJSX {
3852
3970
  "justifi-additional-questions-form-step": JustifiAdditionalQuestionsFormStep;
3853
3971
  "justifi-additional-questions-form-step-core": JustifiAdditionalQuestionsFormStepCore;
3854
3972
  "justifi-additional-statement": JustifiAdditionalStatement;
3973
+ "justifi-apple-pay": JustifiApplePay;
3855
3974
  "justifi-bank-account-billing-form-simple": JustifiBankAccountBillingFormSimple;
3856
3975
  "justifi-bank-account-form": JustifiBankAccountForm;
3857
3976
  "justifi-billing-form": JustifiBillingForm;
@@ -3978,6 +4097,7 @@ declare module "@stencil/core" {
3978
4097
  "justifi-additional-questions-form-step": LocalJSX.JustifiAdditionalQuestionsFormStep & JSXBase.HTMLAttributes<HTMLJustifiAdditionalQuestionsFormStepElement>;
3979
4098
  "justifi-additional-questions-form-step-core": LocalJSX.JustifiAdditionalQuestionsFormStepCore & JSXBase.HTMLAttributes<HTMLJustifiAdditionalQuestionsFormStepCoreElement>;
3980
4099
  "justifi-additional-statement": LocalJSX.JustifiAdditionalStatement & JSXBase.HTMLAttributes<HTMLJustifiAdditionalStatementElement>;
4100
+ "justifi-apple-pay": LocalJSX.JustifiApplePay & JSXBase.HTMLAttributes<HTMLJustifiApplePayElement>;
3981
4101
  "justifi-bank-account-billing-form-simple": LocalJSX.JustifiBankAccountBillingFormSimple & JSXBase.HTMLAttributes<HTMLJustifiBankAccountBillingFormSimpleElement>;
3982
4102
  "justifi-bank-account-form": LocalJSX.JustifiBankAccountForm & JSXBase.HTMLAttributes<HTMLJustifiBankAccountFormElement>;
3983
4103
  "justifi-billing-form": LocalJSX.JustifiBillingForm & JSXBase.HTMLAttributes<HTMLJustifiBillingFormElement>;
@@ -15,6 +15,7 @@ interface IInitialState {
15
15
  disableCreditCard: boolean;
16
16
  disablePaymentMethodGroup: boolean;
17
17
  paymentAmount: number;
18
+ paymentCurrency: string;
18
19
  paymentDescription: string;
19
20
  paymentMethodGroupId: string | undefined;
20
21
  paymentMethods: ICheckoutPaymentMethod[];
@@ -0,0 +1,17 @@
1
+ import { FunctionalComponent } from "../stencil-public-runtime";
2
+ import { ApplePayButtonType, ApplePayButtonStyle } from "../api/ApplePay";
3
+ interface ApplePayButtonProps {
4
+ buttonType?: ApplePayButtonType;
5
+ buttonStyle?: ApplePayButtonStyle;
6
+ disabled?: boolean;
7
+ isProcessing?: boolean;
8
+ isAvailable?: boolean;
9
+ width?: string;
10
+ height?: string;
11
+ clickHandler?: () => void;
12
+ }
13
+ type ApplePayButtonElementProps = ApplePayButtonProps & {
14
+ [key: string]: any;
15
+ };
16
+ export declare const ApplePayButton: FunctionalComponent<ApplePayButtonElementProps>;
17
+ export {};