@justifi/webcomponents 6.6.0 → 6.7.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 (555) hide show
  1. package/dist/cjs/{Refund-BX0mjsAQ.js → GooglePay-BwiJ_80p.js} +415 -0
  2. package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
  3. package/dist/cjs/{badge-_nY1l5Rq.js → badge-Cc87HAsf.js} +1 -1
  4. package/dist/cjs/bank-account-document-form-inputs_8.cjs.entry.js +9 -8
  5. package/dist/cjs/bank-account-form.cjs.entry.js +4 -4
  6. package/dist/cjs/business-details-core.cjs.entry.js +3 -3
  7. package/dist/cjs/{business.service-Dffp64u6.js → business.service-q93NsTG_.js} +1 -1
  8. package/dist/cjs/{button-CARQPDm-.js → button-fUPGXjU_.js} +1 -1
  9. package/dist/cjs/card-form.cjs.entry.js +4 -4
  10. package/dist/cjs/{check-pkg-version-DZC7jOGP.js → check-pkg-version-cLAIX_H6.js} +2 -2
  11. package/dist/cjs/{checkout.service-C1HcsrjQ.js → checkout.service-CwelwhrT.js} +1 -1
  12. package/dist/cjs/checkouts-list-core.cjs.entry.js +8 -7
  13. package/dist/cjs/{checkouts-table-Bgqkaez4.js → checkouts-table-BBtqxG2F.js} +2 -2
  14. package/dist/cjs/custom-popper_2.cjs.entry.js +3 -3
  15. package/dist/cjs/{dispute.service-CJsWYMYk.js → dispute.service-q5ha39uN.js} +1 -1
  16. package/dist/cjs/form-alert_5.cjs.entry.js +1 -1
  17. package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
  18. package/dist/cjs/form-control-date.cjs.entry.js +4 -4
  19. package/dist/cjs/{form-control-error-text-mhOq2Edp.js → form-control-error-text-Dg_65HGK.js} +1 -1
  20. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
  21. package/dist/cjs/{form-control-help-text-BoRpAoX6.js → form-control-help-text-tB5u1-5M.js} +1 -1
  22. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +3 -3
  23. package/dist/cjs/form-control-monetary.cjs.entry.js +5 -5
  24. package/dist/cjs/form-control-number-masked_3.cjs.entry.js +4 -4
  25. package/dist/cjs/form-control-number.cjs.entry.js +5 -5
  26. package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
  27. package/dist/cjs/form-control-select_2.cjs.entry.js +6 -6
  28. package/dist/cjs/{get-payment-details-BblcGN2B.js → get-payment-details-DidIAK2i.js} +2 -2
  29. package/dist/cjs/{get-subaccounts-z4dNQDjx.js → get-subaccounts-BE_wcfM7.js} +2 -2
  30. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +4 -4
  31. package/dist/cjs/{header-1-CBO8uDuZ.js → header-1-Bqejh9no.js} +1 -1
  32. package/dist/cjs/{header-3-CPWtI1t0.js → header-3-DQ649Me2.js} +1 -1
  33. package/dist/cjs/hidden-input_2.cjs.entry.js +7 -7
  34. package/dist/cjs/{index-C2ITzalN.js → index-CajjbB9t.js} +1 -0
  35. package/dist/cjs/index.cjs.js +1 -1
  36. package/dist/cjs/{insurance-state-BMHITXoD.js → insurance-state-DsGnIHMM.js} +1 -1
  37. package/dist/cjs/internal-tokenize-payment-method_7.cjs.entry.js +25 -26
  38. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +12 -11
  39. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +9 -9
  40. package/dist/cjs/{justifi-apple-pay_7.cjs.entry.js → justifi-apple-pay_8.cjs.entry.js} +905 -258
  41. package/dist/cjs/justifi-bank-account-billing-form-simple_3.cjs.entry.js +4 -4
  42. package/dist/cjs/justifi-business-details.cjs.entry.js +7 -6
  43. package/dist/cjs/justifi-business-form.cjs.entry.js +9 -8
  44. package/dist/cjs/justifi-checkout.cjs.entry.js +15 -16
  45. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +26 -12
  46. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +11 -10
  47. package/dist/cjs/justifi-details.cjs.entry.js +2 -2
  48. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
  49. package/dist/cjs/justifi-dispute-management.cjs.entry.js +6 -5
  50. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +12 -11
  51. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +6 -5
  52. package/dist/cjs/justifi-order-terminals.cjs.entry.js +12 -11
  53. package/dist/cjs/justifi-payment-details.cjs.entry.js +8 -7
  54. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +2 -2
  55. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +5 -4
  56. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +10 -9
  57. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +3 -3
  58. package/dist/cjs/justifi-payments-list.cjs.entry.js +11 -10
  59. package/dist/cjs/justifi-payout-details.cjs.entry.js +8 -7
  60. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +10 -9
  61. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +3 -3
  62. package/dist/cjs/justifi-payouts-list.cjs.entry.js +12 -11
  63. package/dist/cjs/justifi-refund-payment.cjs.entry.js +13 -12
  64. package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +2 -2
  65. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +10 -11
  66. package/dist/cjs/justifi-skeleton.cjs.entry.js +3 -3
  67. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +13 -12
  68. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +9 -8
  69. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +9 -8
  70. package/dist/cjs/justifi-terminals-list.cjs.entry.js +11 -10
  71. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +1 -1
  72. package/dist/cjs/loader.cjs.js +1 -1
  73. package/dist/cjs/owner-form-core_2.cjs.entry.js +2 -2
  74. package/dist/cjs/{package-CkO7M9IQ.js → package-C9E_BIbT.js} +1 -1
  75. package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
  76. package/dist/cjs/{parts-Pb06tUMp.js → parts-BVbaniVM.js} +6 -0
  77. package/dist/cjs/payment-details-core.cjs.entry.js +16 -15
  78. package/dist/cjs/payment-method-option.cjs.entry.js +2 -2
  79. package/dist/cjs/{payment.service-BZatGHKc.js → payment.service-CyHFdJ7n.js} +1 -1
  80. package/dist/cjs/payments-list-core.cjs.entry.js +9 -8
  81. package/dist/cjs/{payments-status-t4fVj8f9.js → payments-status-BP4u31jU.js} +1 -1
  82. package/dist/cjs/{payments-table-CaJt-yMH.js → payments-table-CWXVhECV.js} +2 -2
  83. package/dist/cjs/payout-details-core.cjs.entry.js +9 -9
  84. package/dist/cjs/{payout.service-DbgLWhwh.js → payout.service-Half-hdB.js} +1 -1
  85. package/dist/cjs/payouts-list-core.cjs.entry.js +9 -8
  86. package/dist/cjs/{payouts-status-pIO9qZG6.js → payouts-status-CM5Zy-0J.js} +1 -1
  87. package/dist/cjs/{payouts-table-DZv0WnTS.js → payouts-table-ZLTcfkUm.js} +2 -2
  88. package/dist/cjs/{skeleton-BF3HGL9X.js → skeleton-B8dzxFFr.js} +1 -1
  89. package/dist/cjs/{spinner-BBdv3Iq1.js → spinner-jHyLNCGO.js} +1 -1
  90. package/dist/cjs/{table-CfBpaApw.js → table-CrtpRwGN.js} +2 -2
  91. package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
  92. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +8 -7
  93. package/dist/cjs/{terminal-orders-table-F-ZFUBwH.js → terminal-orders-table-DT53anT3.js} +5 -5
  94. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
  95. package/dist/cjs/{terminal.service-KC8wBTJJ.js → terminal.service-CFt55QNO.js} +1 -1
  96. package/dist/cjs/terminals-list-core.cjs.entry.js +8 -7
  97. package/dist/cjs/{terminals-table-D7sf_DBN.js → terminals-table-DahpSz98.js} +2 -2
  98. package/dist/cjs/{utils-Cjq3ZCad.js → utils-CMiA4X7s.js} +1 -1
  99. package/dist/cjs/webcomponents.cjs.js +1 -1
  100. package/dist/collection/api/GooglePay.js +181 -0
  101. package/dist/collection/api/index.js +2 -0
  102. package/dist/collection/api/services/google-pay.service.js +241 -0
  103. package/dist/collection/collection-manifest.json +1 -0
  104. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
  105. package/dist/collection/components/checkout/card-form/card-form.js +2 -2
  106. package/dist/collection/components/checkout/checkout.js +2 -2
  107. package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
  108. package/dist/collection/components/checkout/saved-payment-method.js +1 -1
  109. package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
  110. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +72 -2
  111. package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
  112. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  113. package/dist/collection/components/dispute-management/dispute-management.js +1 -1
  114. package/dist/collection/components/dispute-management/dispute-notification.js +2 -2
  115. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  116. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  117. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  118. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  119. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  120. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  121. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  122. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  123. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  124. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  125. package/dist/collection/components/filters/table-filters-menu.js +1 -1
  126. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  127. package/dist/collection/components/modular-checkout/ModularCheckout.js +1 -0
  128. package/dist/collection/components/modular-checkout/modular-checkout.js +44 -6
  129. package/dist/collection/components/modular-checkout/sub-components/bank-account-billing-form-simple.js +1 -1
  130. package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
  131. package/dist/collection/components/modular-checkout/sub-components/card-billing-form-simple.js +1 -1
  132. package/dist/collection/components/modular-checkout/sub-components/card-form.js +2 -2
  133. package/dist/collection/components/modular-checkout/sub-components/google-pay-skeleton.js +10 -0
  134. package/dist/collection/components/modular-checkout/sub-components/google-pay.js +609 -0
  135. package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
  136. package/dist/collection/components/modular-checkout/sub-components/summary.js +1 -1
  137. package/dist/collection/components/order-terminals/order-terminals.js +1 -1
  138. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  139. package/dist/collection/components/payment-details/payment-details-core.js +8 -8
  140. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
  141. package/dist/collection/components/payments-list/payments-list-core.js +1 -1
  142. package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
  143. package/dist/collection/components/payments-list/payments-list.js +1 -1
  144. package/dist/collection/components/payout-details/payout-details-core.js +3 -3
  145. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +1 -1
  146. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  147. package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
  148. package/dist/collection/components/payouts-list/payouts-list.js +1 -1
  149. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
  150. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
  151. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
  152. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  153. package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
  154. package/dist/collection/components/terminals-list/terminals-list.js +1 -1
  155. package/dist/collection/components/tokenize-payment-method/internal-tokenize-payment-method.js +1 -1
  156. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +1 -1
  157. package/dist/collection/store/checkout.store.js +4 -0
  158. package/dist/collection/styles/parts.js +3 -0
  159. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  160. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  161. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  162. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  163. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  164. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  165. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  166. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  167. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  168. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  169. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  170. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  171. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  172. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  173. package/dist/collection/ui-components/google-pay-button.js +251 -0
  174. package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
  175. package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
  176. package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
  177. package/dist/docs.json +727 -102
  178. package/dist/esm/{Refund-DDWRtCuX.js → GooglePay-NNHE-OLJ.js} +405 -1
  179. package/dist/esm/additional-questions-details_5.entry.js +2 -2
  180. package/dist/esm/{badge-BWd10d-w.js → badge-DtrH25ss.js} +1 -1
  181. package/dist/esm/bank-account-document-form-inputs_8.entry.js +8 -7
  182. package/dist/esm/bank-account-form.entry.js +4 -4
  183. package/dist/esm/business-details-core.entry.js +3 -3
  184. package/dist/esm/{business.service-CmSijtcP.js → business.service-BrUSam2T.js} +1 -1
  185. package/dist/esm/{button-BDwVDLs-.js → button-Bpf3VX8Q.js} +1 -1
  186. package/dist/esm/card-form.entry.js +4 -4
  187. package/dist/esm/{check-pkg-version-B83yUQEx.js → check-pkg-version-o2X_8wJ4.js} +2 -2
  188. package/dist/esm/{checkout.service-E60GnrZv.js → checkout.service-Bxt1qPaY.js} +1 -1
  189. package/dist/esm/checkouts-list-core.entry.js +8 -7
  190. package/dist/esm/{checkouts-table-BVWL1wN9.js → checkouts-table-CB4GdlcZ.js} +2 -2
  191. package/dist/esm/custom-popper_2.entry.js +3 -3
  192. package/dist/esm/{dispute.service-CAZJigrO.js → dispute.service-DYRYxxaT.js} +1 -1
  193. package/dist/esm/form-alert_5.entry.js +1 -1
  194. package/dist/esm/form-control-checkbox.entry.js +5 -5
  195. package/dist/esm/form-control-date.entry.js +4 -4
  196. package/dist/esm/{form-control-error-text-BYooqu0N.js → form-control-error-text-BZYykCDp.js} +1 -1
  197. package/dist/esm/form-control-file-v2_2.entry.js +5 -5
  198. package/dist/esm/{form-control-help-text-CF1UA5Sl.js → form-control-help-text-D-p66Yxr.js} +1 -1
  199. package/dist/esm/form-control-monetary-provisioning.entry.js +3 -3
  200. package/dist/esm/form-control-monetary.entry.js +5 -5
  201. package/dist/esm/form-control-number-masked_3.entry.js +4 -4
  202. package/dist/esm/form-control-number.entry.js +5 -5
  203. package/dist/esm/form-control-radio.entry.js +3 -3
  204. package/dist/esm/form-control-select_2.entry.js +6 -6
  205. package/dist/esm/{get-payment-details-Dg5WRkOM.js → get-payment-details-BJ1PLhJZ.js} +1 -1
  206. package/dist/esm/{get-subaccounts-CbxzednA.js → get-subaccounts-CzGHjlUF.js} +1 -1
  207. package/dist/esm/gross-payment-chart-core.entry.js +4 -4
  208. package/dist/esm/{header-1-CzkA4zNY.js → header-1-WwkF5F9y.js} +1 -1
  209. package/dist/esm/{header-3-eIE1RpMN.js → header-3-C5jS39cE.js} +1 -1
  210. package/dist/esm/hidden-input_2.entry.js +7 -7
  211. package/dist/esm/{index-DCIW8z1f.js → index-DkoufM1t.js} +1 -0
  212. package/dist/esm/index.js +1 -1
  213. package/dist/esm/{insurance-state-By2QaBZo.js → insurance-state-C11WKZU6.js} +1 -1
  214. package/dist/esm/internal-tokenize-payment-method_7.entry.js +14 -15
  215. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +6 -5
  216. package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
  217. package/dist/esm/{justifi-apple-pay_7.entry.js → justifi-apple-pay_8.entry.js} +788 -142
  218. package/dist/esm/justifi-bank-account-billing-form-simple_3.entry.js +4 -4
  219. package/dist/esm/justifi-business-details.entry.js +7 -6
  220. package/dist/esm/justifi-business-form.entry.js +9 -8
  221. package/dist/esm/justifi-checkout.entry.js +8 -9
  222. package/dist/esm/justifi-checkouts-list-filters.entry.js +19 -5
  223. package/dist/esm/justifi-checkouts-list.entry.js +10 -9
  224. package/dist/esm/justifi-details.entry.js +2 -2
  225. package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
  226. package/dist/esm/justifi-dispute-management.entry.js +6 -5
  227. package/dist/esm/justifi-dispute-notification_3.entry.js +12 -11
  228. package/dist/esm/justifi-gross-payment-chart.entry.js +6 -5
  229. package/dist/esm/justifi-order-terminals.entry.js +9 -8
  230. package/dist/esm/justifi-payment-details.entry.js +8 -7
  231. package/dist/esm/justifi-payment-provisioning-core.entry.js +2 -2
  232. package/dist/esm/justifi-payment-provisioning.entry.js +5 -4
  233. package/dist/esm/justifi-payment-transactions-list.entry.js +9 -8
  234. package/dist/esm/justifi-payments-list-filters.entry.js +3 -3
  235. package/dist/esm/justifi-payments-list.entry.js +10 -9
  236. package/dist/esm/justifi-payout-details.entry.js +7 -6
  237. package/dist/esm/justifi-payout-transactions-list.entry.js +9 -8
  238. package/dist/esm/justifi-payouts-list-filters.entry.js +3 -3
  239. package/dist/esm/justifi-payouts-list.entry.js +11 -10
  240. package/dist/esm/justifi-refund-payment.entry.js +9 -8
  241. package/dist/esm/justifi-saved-payment-method.entry.js +2 -2
  242. package/dist/esm/justifi-season-interruption-insurance.entry.js +7 -8
  243. package/dist/esm/justifi-skeleton.entry.js +3 -3
  244. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +5 -4
  245. package/dist/esm/justifi-terminal-orders-list.entry.js +8 -7
  246. package/dist/esm/justifi-terminals-list-filters.entry.js +4 -3
  247. package/dist/esm/justifi-terminals-list.entry.js +10 -9
  248. package/dist/esm/justifi-tokenize-payment-method.entry.js +1 -1
  249. package/dist/esm/loader.js +1 -1
  250. package/dist/esm/owner-form-core_2.entry.js +2 -2
  251. package/dist/esm/{package-CdVle3mx.js → package-Dr8Z8wfP.js} +1 -1
  252. package/dist/esm/pagination-menu.entry.js +1 -1
  253. package/dist/esm/{parts-QmGrQis7.js → parts-sA8HBfkI.js} +4 -1
  254. package/dist/esm/payment-details-core.entry.js +15 -14
  255. package/dist/esm/payment-method-option.entry.js +2 -2
  256. package/dist/esm/{payment.service-CWc5BPv-.js → payment.service-BoGemgMw.js} +1 -1
  257. package/dist/esm/payments-list-core.entry.js +9 -8
  258. package/dist/esm/{payments-status-BdCVusHE.js → payments-status-CADg1cD0.js} +1 -1
  259. package/dist/esm/{payments-table-9rC3BvV0.js → payments-table-C6zHWwGO.js} +2 -2
  260. package/dist/esm/payout-details-core.entry.js +9 -9
  261. package/dist/esm/{payout.service-iBVqRzf_.js → payout.service-BSG50wqN.js} +1 -1
  262. package/dist/esm/payouts-list-core.entry.js +9 -8
  263. package/dist/esm/{payouts-status-DhowllYh.js → payouts-status-4VDQvaYV.js} +1 -1
  264. package/dist/esm/{payouts-table-Ci_J6mmU.js → payouts-table-BU5XbzB9.js} +2 -2
  265. package/dist/esm/{skeleton-BX70wCwq.js → skeleton-Dtt56Fl3.js} +1 -1
  266. package/dist/esm/{spinner-CcDNFgNu.js → spinner-DikooWuI.js} +1 -1
  267. package/dist/esm/{table-KZoMaoUh.js → table-1hqe6s5m.js} +2 -2
  268. package/dist/esm/table-filters-menu.entry.js +3 -3
  269. package/dist/esm/terminal-orders-list-core.entry.js +8 -7
  270. package/dist/esm/{terminal-orders-table-BGiWS5cM.js → terminal-orders-table-BsVBelxB.js} +3 -3
  271. package/dist/esm/terminal-quantity-selector.entry.js +2 -2
  272. package/dist/esm/{terminal.service-CxSKhtwB.js → terminal.service-YKfi6Mr9.js} +1 -1
  273. package/dist/esm/terminals-list-core.entry.js +8 -7
  274. package/dist/esm/{terminals-table-DROFEdyn.js → terminals-table-CXJTn-0I.js} +2 -2
  275. package/dist/esm/{utils-C1PX_3uA.js → utils-CgFsPVsv.js} +1 -1
  276. package/dist/esm/webcomponents.js +1 -1
  277. package/dist/module/Analytics.js +2 -0
  278. package/dist/module/ApplePay.js +121 -0
  279. package/dist/module/GooglePay.js +184 -0
  280. package/dist/module/ModularCheckout.js +1 -0
  281. package/dist/module/additional-statement.js +1 -1
  282. package/dist/module/apple-pay.js +1 -120
  283. package/dist/module/bank-account-billing-form-simple.js +1 -1
  284. package/dist/module/bank-account-document-inputs.js +2 -0
  285. package/dist/module/bank-account-form.js +2 -2
  286. package/dist/module/bank-account.js +2 -2
  287. package/dist/module/business-bank-account-form-step.js +2 -0
  288. package/dist/module/business-terms-conditions-form-step.js +2 -0
  289. package/dist/module/business.service.js +2 -0
  290. package/dist/module/cancellation-policy.js +1 -1
  291. package/dist/module/card-billing-form-simple.js +1 -1
  292. package/dist/module/card-form.js +2 -2
  293. package/dist/module/card-form2.js +2 -2
  294. package/dist/module/checkout.service.js +2 -0
  295. package/dist/module/checkout.store.js +4 -0
  296. package/dist/module/checkouts-list-core2.js +4 -2
  297. package/dist/module/custom-popper2.js +2 -2
  298. package/dist/module/customer-details.js +1 -1
  299. package/dist/module/dispute-management-core.js +1 -1
  300. package/dist/module/dispute-notification.js +2 -2
  301. package/dist/module/dispute-response-actions.js +2 -0
  302. package/dist/module/dispute-response-core.js +1 -1
  303. package/dist/module/dispute-response.js +1 -1
  304. package/dist/module/duplicate-charge.js +1 -1
  305. package/dist/module/electronic-evidence.js +1 -1
  306. package/dist/module/form-control-checkbox2.js +2 -2
  307. package/dist/module/form-control-date2.js +2 -2
  308. package/dist/module/form-control-file-v22.js +1 -1
  309. package/dist/module/form-control-file2.js +2 -2
  310. package/dist/module/form-control-monetary2.js +2 -2
  311. package/dist/module/form-control-number-masked2.js +2 -2
  312. package/dist/module/form-control-number.js +2 -2
  313. package/dist/module/form-control-radio2.js +2 -2
  314. package/dist/module/form-control-select2.js +2 -2
  315. package/dist/module/form-control-text2.js +2 -2
  316. package/dist/module/form-control-textarea2.js +2 -2
  317. package/dist/module/get-payment-details.js +2 -0
  318. package/dist/module/get-subaccounts.js +2 -0
  319. package/dist/module/google-pay.js +782 -0
  320. package/dist/module/gross-payment-chart-core2.js +1 -1
  321. package/dist/module/hidden-input2.js +1 -1
  322. package/dist/module/iframe-input2.js +3 -3
  323. package/dist/module/internal-tokenize-payment-method2.js +3 -1
  324. package/dist/module/justifi-business-form.js +2 -0
  325. package/dist/module/justifi-button2.js +1 -1
  326. package/dist/module/justifi-checkout.js +46 -40
  327. package/dist/module/justifi-checkouts-list-filters.js +37 -8
  328. package/dist/module/justifi-checkouts-list.js +3 -1
  329. package/dist/module/justifi-dispute-management.js +1 -1
  330. package/dist/module/justifi-google-pay.d.ts +11 -0
  331. package/dist/module/justifi-google-pay.js +6 -0
  332. package/dist/module/justifi-gross-payment-chart.js +2 -0
  333. package/dist/module/justifi-header2.js +1 -1
  334. package/dist/module/justifi-order-terminals.js +3 -1
  335. package/dist/module/justifi-payment-provisioning.js +2 -0
  336. package/dist/module/justifi-payment-transactions-list.js +5 -3
  337. package/dist/module/justifi-payments-list-filters.js +4 -4
  338. package/dist/module/justifi-payments-list.js +3 -1
  339. package/dist/module/justifi-payout-details.js +2 -0
  340. package/dist/module/justifi-payout-transactions-list.js +5 -3
  341. package/dist/module/justifi-payouts-list-filters.js +4 -4
  342. package/dist/module/justifi-payouts-list.js +3 -1
  343. package/dist/module/justifi-refund-payment.js +2 -0
  344. package/dist/module/justifi-saved-payment-method.js +1 -1
  345. package/dist/module/justifi-season-interruption-insurance.js +2 -0
  346. package/dist/module/justifi-skeleton.js +1 -1
  347. package/dist/module/justifi-terminal-orders-list-filters.js +6 -4
  348. package/dist/module/justifi-terminal-orders-list.js +3 -1
  349. package/dist/module/justifi-terminals-list-filters.js +4 -2
  350. package/dist/module/justifi-terminals-list.js +3 -1
  351. package/dist/module/justifi-tokenize-payment-method.js +1 -1
  352. package/dist/module/modular-checkout.js +46 -6
  353. package/dist/module/package.js +1 -1
  354. package/dist/module/parts.js +4 -1
  355. package/dist/module/payment-details-core2.js +10 -8
  356. package/dist/module/payment-method-option.js +1 -1
  357. package/dist/module/payment.service.js +2 -0
  358. package/dist/module/payments-list-core2.js +5 -3
  359. package/dist/module/payout-details-core2.js +3 -3
  360. package/dist/module/payout.service.js +2 -0
  361. package/dist/module/payouts-list-core2.js +5 -3
  362. package/dist/module/plaid.service.js +2 -0
  363. package/dist/module/product-or-service.js +1 -1
  364. package/dist/module/refund-policy.js +1 -1
  365. package/dist/module/save-new-payment-method.js +1 -1
  366. package/dist/module/shipping-details.js +1 -1
  367. package/dist/module/summary.js +1 -1
  368. package/dist/module/table-filters-menu2.js +2 -2
  369. package/dist/module/table.js +1 -1
  370. package/dist/module/terminal-orders-list-core2.js +5 -3
  371. package/dist/module/terminal-quantity-selector2.js +1 -1
  372. package/dist/module/terminal.service.js +2 -0
  373. package/dist/module/terminals-list-core2.js +4 -2
  374. package/dist/module/utils2.js +1 -1
  375. package/dist/types/api/Checkout.d.ts +5 -0
  376. package/dist/types/api/GooglePay.d.ts +271 -0
  377. package/dist/types/api/index.d.ts +2 -0
  378. package/dist/types/api/services/google-pay.service.d.ts +60 -0
  379. package/dist/types/components/checkout/checkout.d.ts +1 -0
  380. package/dist/types/components/checkouts-list/checkouts-list-filters.d.ts +5 -0
  381. package/dist/types/components/modular-checkout/ModularCheckout.d.ts +2 -1
  382. package/dist/types/components/modular-checkout/modular-checkout.d.ts +5 -0
  383. package/dist/types/components/modular-checkout/sub-components/google-pay-skeleton.d.ts +6 -0
  384. package/dist/types/components/modular-checkout/sub-components/google-pay.d.ts +59 -0
  385. package/dist/types/components.d.ts +146 -0
  386. package/dist/types/store/checkout.store.d.ts +1 -0
  387. package/dist/types/styles/parts.d.ts +3 -0
  388. package/dist/types/ui-components/google-pay-button.d.ts +18 -0
  389. package/dist/webcomponents/index.esm.js +1 -1
  390. package/dist/webcomponents/p-016b3e4c.entry.js +1 -0
  391. package/dist/webcomponents/{p-fdcb24aa.entry.js → p-062fcfd5.entry.js} +1 -1
  392. package/dist/webcomponents/p-06cae9e2.entry.js +1 -0
  393. package/dist/webcomponents/p-06f81525.entry.js +1 -0
  394. package/dist/webcomponents/{p-3482ab40.entry.js → p-0b7c4ed5.entry.js} +1 -1
  395. package/dist/webcomponents/{p-9c7c60f3.entry.js → p-0bb616fc.entry.js} +1 -1
  396. package/dist/webcomponents/p-1575ca68.entry.js +1 -0
  397. package/dist/webcomponents/{p-8740871d.entry.js → p-1a327b0e.entry.js} +1 -1
  398. package/dist/webcomponents/p-1df660a9.entry.js +1 -0
  399. package/dist/webcomponents/p-1e761d96.entry.js +1 -0
  400. package/dist/webcomponents/{p-0eb7abed.entry.js → p-20e85114.entry.js} +1 -1
  401. package/dist/webcomponents/p-262e4b23.entry.js +1 -0
  402. package/dist/webcomponents/p-296bd0b6.entry.js +1 -0
  403. package/dist/webcomponents/{p-5490e39c.entry.js → p-368b37ad.entry.js} +1 -1
  404. package/dist/webcomponents/{p-d41ad7a8.entry.js → p-36a0af30.entry.js} +1 -1
  405. package/dist/webcomponents/p-3a3935a3.entry.js +1 -0
  406. package/dist/webcomponents/p-3fb1cf2b.entry.js +1 -0
  407. package/dist/webcomponents/p-3fbe8ac3.entry.js +1 -0
  408. package/dist/webcomponents/p-4d2589b2.entry.js +1 -0
  409. package/dist/webcomponents/p-4dc358aa.entry.js +1 -0
  410. package/dist/webcomponents/{p-99c1059c.entry.js → p-511e80a4.entry.js} +1 -1
  411. package/dist/webcomponents/p-5996879d.entry.js +1 -0
  412. package/dist/webcomponents/p-5a7207c0.entry.js +1 -0
  413. package/dist/webcomponents/p-5a748e49.entry.js +1 -0
  414. package/dist/webcomponents/p-5e6f2128.entry.js +1 -0
  415. package/dist/webcomponents/p-6454626a.entry.js +1 -0
  416. package/dist/webcomponents/p-66713269.entry.js +1 -0
  417. package/dist/webcomponents/p-679b36b5.entry.js +1 -0
  418. package/dist/webcomponents/{p-c9920e22.entry.js → p-725319f3.entry.js} +1 -1
  419. package/dist/webcomponents/p-77754a65.entry.js +1 -0
  420. package/dist/webcomponents/p-7bb7aaca.entry.js +1 -0
  421. package/dist/webcomponents/p-8884e000.entry.js +1 -0
  422. package/dist/webcomponents/p-88a8741b.entry.js +1 -0
  423. package/dist/webcomponents/{p-c3a625ec.entry.js → p-897b794b.entry.js} +4 -4
  424. package/dist/webcomponents/p-899b981b.entry.js +1 -0
  425. package/dist/webcomponents/p-8c4b502d.entry.js +1 -0
  426. package/dist/webcomponents/p-8df30672.entry.js +1 -0
  427. package/dist/webcomponents/p-911b3d63.entry.js +1 -0
  428. package/dist/webcomponents/p-97b8bf5c.entry.js +1 -0
  429. package/dist/webcomponents/p-9b74a642.entry.js +1 -0
  430. package/dist/webcomponents/p-9b8aee30.entry.js +1 -0
  431. package/dist/webcomponents/p-9e94c9ef.entry.js +1 -0
  432. package/dist/webcomponents/{p-B69TWr1K.js → p-B4xdk4mG.js} +1 -1
  433. package/dist/webcomponents/{p-MFnmyvti.js → p-BEu9YFnf.js} +1 -1
  434. package/dist/webcomponents/{p-gcRtE71H.js → p-BMJe4lzg.js} +1 -1
  435. package/dist/webcomponents/p-BhqSAzpT.js +1 -0
  436. package/dist/webcomponents/p-BrRsgB8S.js +1 -0
  437. package/dist/webcomponents/{p-DUQxAYW4.js → p-C2Senazf.js} +1 -1
  438. package/dist/webcomponents/p-C9VmfRis.js +1 -0
  439. package/dist/webcomponents/{p-BDRSfgZJ.js → p-CBbwdoSa.js} +1 -1
  440. package/dist/webcomponents/{p-C0FpWzgU.js → p-CCxsFwC4.js} +1 -1
  441. package/dist/webcomponents/p-CK_XkZku.js +1 -0
  442. package/dist/webcomponents/p-CQGIjIgZ.js +1 -0
  443. package/dist/webcomponents/{p-Qmo430x1.js → p-CV8xqdt6.js} +1 -1
  444. package/dist/webcomponents/p-CZ3F1ZAT.js +1 -0
  445. package/dist/webcomponents/p-CgiDds_u.js +1 -0
  446. package/dist/webcomponents/p-CsgUIrv8.js +1 -0
  447. package/dist/webcomponents/{p-BIzMmHpn.js → p-D6bKoyRc.js} +1 -1
  448. package/dist/webcomponents/{p-E8uzhk39.js → p-DATDsXcA.js} +1 -1
  449. package/dist/webcomponents/{p-H_emngUs.js → p-DGGjRqDa.js} +1 -1
  450. package/dist/webcomponents/{p-CJ4viNrp.js → p-DUmUUj9r.js} +1 -1
  451. package/dist/webcomponents/p-DY_3dcgR.js +1 -0
  452. package/dist/webcomponents/{p-DircQtPA.js → p-Dit3fZpU.js} +1 -1
  453. package/dist/webcomponents/p-DkoufM1t.js +1 -0
  454. package/dist/webcomponents/{p-DcHTywGe.js → p-Dlrq1iZf.js} +1 -1
  455. package/dist/webcomponents/p-DmdEjScI.js +1 -0
  456. package/dist/webcomponents/p-Dr8Z8wfP.js +1 -0
  457. package/dist/webcomponents/p-RTAZ4tdd.js +1 -0
  458. package/dist/webcomponents/p-Ty7R7tsw.js +1 -0
  459. package/dist/webcomponents/{p-CYz0Hubu.js → p-U3nU15el.js} +1 -1
  460. package/dist/webcomponents/{p-CjfgyxBN.js → p-VRubcA-q.js} +1 -1
  461. package/dist/webcomponents/{p-KS3Bf_2D.js → p-W9WWoLzT.js} +1 -1
  462. package/dist/webcomponents/p-a0b4c42b.entry.js +1 -0
  463. package/dist/webcomponents/p-abcb4945.entry.js +1 -0
  464. package/dist/webcomponents/p-ad3a73af.entry.js +1 -0
  465. package/dist/webcomponents/p-b0f0d53c.entry.js +1 -0
  466. package/dist/webcomponents/p-c8a5a2a9.entry.js +1 -0
  467. package/dist/webcomponents/p-c920dc54.entry.js +1 -0
  468. package/dist/webcomponents/p-ca0d1c6c.entry.js +1 -0
  469. package/dist/webcomponents/p-cbd52897.entry.js +1 -0
  470. package/dist/webcomponents/p-cc0c722c.entry.js +1 -0
  471. package/dist/webcomponents/p-cc2a1c7c.entry.js +1 -0
  472. package/dist/webcomponents/{p-b31bf32a.entry.js → p-cdf1e61c.entry.js} +1 -1
  473. package/dist/webcomponents/p-cf644e46.entry.js +1 -0
  474. package/dist/webcomponents/{p-d79f9a54.entry.js → p-d0c4b0ea.entry.js} +1 -1
  475. package/dist/webcomponents/p-d5765545.entry.js +1 -0
  476. package/dist/webcomponents/p-def84700.entry.js +1 -0
  477. package/dist/webcomponents/p-e2d33311.entry.js +1 -0
  478. package/dist/webcomponents/{p-dd0c456f.entry.js → p-e4335938.entry.js} +1 -1
  479. package/dist/webcomponents/{p-c8bd7e0d.entry.js → p-e805b011.entry.js} +1 -1
  480. package/dist/webcomponents/p-f30c939f.entry.js +1 -0
  481. package/dist/webcomponents/{p-50308873.entry.js → p-f99403d8.entry.js} +1 -1
  482. package/dist/webcomponents/p-fb644da6.entry.js +1 -0
  483. package/dist/webcomponents/p-fc4b27ec.entry.js +1 -0
  484. package/dist/webcomponents/p-fe43449c.entry.js +1 -0
  485. package/dist/webcomponents/p-sA8HBfkI.js +1 -0
  486. package/dist/webcomponents/webcomponents.esm.js +1 -1
  487. package/package.json +1 -1
  488. package/dist/cjs/checkout.store-BA6h-dp2.js +0 -107
  489. package/dist/esm/checkout.store-CaS_htQd.js +0 -101
  490. package/dist/webcomponents/p-0867547d.entry.js +0 -1
  491. package/dist/webcomponents/p-091d6a7e.entry.js +0 -1
  492. package/dist/webcomponents/p-0d4bea62.entry.js +0 -1
  493. package/dist/webcomponents/p-1634262a.entry.js +0 -1
  494. package/dist/webcomponents/p-1a4d0ad6.entry.js +0 -1
  495. package/dist/webcomponents/p-25e3cb85.entry.js +0 -1
  496. package/dist/webcomponents/p-278988e8.entry.js +0 -1
  497. package/dist/webcomponents/p-3b5a9e94.entry.js +0 -1
  498. package/dist/webcomponents/p-44efe4ca.entry.js +0 -1
  499. package/dist/webcomponents/p-49a0ef9d.entry.js +0 -1
  500. package/dist/webcomponents/p-4bff1285.entry.js +0 -1
  501. package/dist/webcomponents/p-4d87be74.entry.js +0 -1
  502. package/dist/webcomponents/p-51107c8f.entry.js +0 -1
  503. package/dist/webcomponents/p-51d7b9f7.entry.js +0 -1
  504. package/dist/webcomponents/p-5c60ba00.entry.js +0 -1
  505. package/dist/webcomponents/p-5d56a293.entry.js +0 -1
  506. package/dist/webcomponents/p-654d91d7.entry.js +0 -1
  507. package/dist/webcomponents/p-68c2ce90.entry.js +0 -1
  508. package/dist/webcomponents/p-69b0be17.entry.js +0 -1
  509. package/dist/webcomponents/p-6e99cd4c.entry.js +0 -1
  510. package/dist/webcomponents/p-7e4bfba1.entry.js +0 -1
  511. package/dist/webcomponents/p-87d23cf8.entry.js +0 -1
  512. package/dist/webcomponents/p-9065f077.entry.js +0 -1
  513. package/dist/webcomponents/p-908f6b79.entry.js +0 -1
  514. package/dist/webcomponents/p-93d98b07.entry.js +0 -1
  515. package/dist/webcomponents/p-94b2d6a1.entry.js +0 -1
  516. package/dist/webcomponents/p-980db13b.entry.js +0 -1
  517. package/dist/webcomponents/p-B10U2_Sw.js +0 -1
  518. package/dist/webcomponents/p-BqXh8qSb.js +0 -1
  519. package/dist/webcomponents/p-CA9okQxT.js +0 -1
  520. package/dist/webcomponents/p-CMTxbXEr.js +0 -1
  521. package/dist/webcomponents/p-CdVle3mx.js +0 -1
  522. package/dist/webcomponents/p-CiMKKjGV.js +0 -1
  523. package/dist/webcomponents/p-CjxyejYl.js +0 -1
  524. package/dist/webcomponents/p-CpP3EZBK.js +0 -1
  525. package/dist/webcomponents/p-DCIW8z1f.js +0 -1
  526. package/dist/webcomponents/p-DQKNMVh7.js +0 -1
  527. package/dist/webcomponents/p-DU8dqq9U.js +0 -1
  528. package/dist/webcomponents/p-Dp2W4Eq3.js +0 -1
  529. package/dist/webcomponents/p-GenVH2BR.js +0 -1
  530. package/dist/webcomponents/p-InCWAej0.js +0 -1
  531. package/dist/webcomponents/p-QmGrQis7.js +0 -1
  532. package/dist/webcomponents/p-VodztElu.js +0 -1
  533. package/dist/webcomponents/p-a4a647bd.entry.js +0 -1
  534. package/dist/webcomponents/p-abcbfb22.entry.js +0 -1
  535. package/dist/webcomponents/p-af29e819.entry.js +0 -1
  536. package/dist/webcomponents/p-b6286d7b.entry.js +0 -1
  537. package/dist/webcomponents/p-b8c816fe.entry.js +0 -1
  538. package/dist/webcomponents/p-bcec4201.entry.js +0 -1
  539. package/dist/webcomponents/p-c6ee5aa7.entry.js +0 -1
  540. package/dist/webcomponents/p-c900ccca.entry.js +0 -1
  541. package/dist/webcomponents/p-ca3733e5.entry.js +0 -1
  542. package/dist/webcomponents/p-cb61af93.entry.js +0 -1
  543. package/dist/webcomponents/p-d29ce58e.entry.js +0 -1
  544. package/dist/webcomponents/p-d34f5a20.entry.js +0 -1
  545. package/dist/webcomponents/p-d8ec7cfc.entry.js +0 -1
  546. package/dist/webcomponents/p-dda50611.entry.js +0 -1
  547. package/dist/webcomponents/p-df7e2530.entry.js +0 -1
  548. package/dist/webcomponents/p-e4a43e31.entry.js +0 -1
  549. package/dist/webcomponents/p-ea75759b.entry.js +0 -1
  550. package/dist/webcomponents/p-edcb6de1.entry.js +0 -1
  551. package/dist/webcomponents/p-faaba66d.entry.js +0 -1
  552. package/dist/webcomponents/p-fc680b08.entry.js +0 -1
  553. package/dist/webcomponents/p-fcaaed23.entry.js +0 -1
  554. package/dist/webcomponents/p-fefc4dea.entry.js +0 -1
  555. package/dist/webcomponents/p-ff1bc3de.entry.js +0 -1
@@ -0,0 +1,184 @@
1
+ import { c as checkoutStore } from './checkout.store.js';
2
+
3
+ var GooglePayButtonType;
4
+ (function (GooglePayButtonType) {
5
+ GooglePayButtonType["PLAIN"] = "plain";
6
+ GooglePayButtonType["BUY"] = "buy";
7
+ GooglePayButtonType["BOOK"] = "book";
8
+ GooglePayButtonType["CHECKOUT"] = "checkout";
9
+ GooglePayButtonType["DONATE"] = "donate";
10
+ GooglePayButtonType["ORDER"] = "order";
11
+ GooglePayButtonType["PAY"] = "pay";
12
+ GooglePayButtonType["SUBSCRIBE"] = "subscribe";
13
+ })(GooglePayButtonType || (GooglePayButtonType = {}));
14
+ var GooglePayButtonStyle;
15
+ (function (GooglePayButtonStyle) {
16
+ GooglePayButtonStyle["BLACK"] = "black";
17
+ GooglePayButtonStyle["WHITE"] = "white";
18
+ })(GooglePayButtonStyle || (GooglePayButtonStyle = {}));
19
+ var GooglePayButtonSizeMode;
20
+ (function (GooglePayButtonSizeMode) {
21
+ GooglePayButtonSizeMode["STATIC"] = "static";
22
+ GooglePayButtonSizeMode["FILL"] = "fill";
23
+ })(GooglePayButtonSizeMode || (GooglePayButtonSizeMode = {}));
24
+ var GooglePayEnvironment;
25
+ (function (GooglePayEnvironment) {
26
+ GooglePayEnvironment["PRODUCTION"] = "PRODUCTION";
27
+ GooglePayEnvironment["TEST"] = "TEST";
28
+ })(GooglePayEnvironment || (GooglePayEnvironment = {}));
29
+ class GooglePayConfig {
30
+ constructor(data) {
31
+ this.environment = data.environment;
32
+ this.merchantId = data.merchantId;
33
+ this.merchantName = data.merchantName;
34
+ this.buttonType = data.buttonType || GooglePayButtonType.PLAIN;
35
+ this.buttonStyle = data.buttonStyle || GooglePayButtonStyle.BLACK;
36
+ this.buttonSizeMode = data.buttonSizeMode || GooglePayButtonSizeMode.STATIC;
37
+ this.buttonLocale = data.buttonLocale || 'en';
38
+ }
39
+ get isValid() {
40
+ return !!(this.environment && this.merchantName);
41
+ }
42
+ }
43
+ class GooglePayPaymentDataRequest {
44
+ constructor(data) {
45
+ this.apiVersion = data.apiVersion;
46
+ this.apiVersionMinor = data.apiVersionMinor;
47
+ this.allowedPaymentMethods = data.allowedPaymentMethods;
48
+ this.transactionInfo = data.transactionInfo;
49
+ this.merchantInfo = data.merchantInfo;
50
+ this.callbackIntents = data.callbackIntents;
51
+ this.shippingAddressRequired = data.shippingAddressRequired;
52
+ this.shippingAddressParameters = data.shippingAddressParameters;
53
+ this.emailRequired = data.emailRequired;
54
+ }
55
+ get isValid() {
56
+ var _a, _b, _c, _d;
57
+ const hasApiVersion = typeof this.apiVersion === 'number' && this.apiVersion > 0;
58
+ const hasApiVersionMinor = typeof this.apiVersionMinor === 'number' && this.apiVersionMinor >= 0;
59
+ const hasAllowedMethods = Array.isArray(this.allowedPaymentMethods) &&
60
+ this.allowedPaymentMethods.length > 0;
61
+ const hasTxnCountry = Boolean((_a = this.transactionInfo) === null || _a === void 0 ? void 0 : _a.countryCode);
62
+ const hasTxnCurrency = Boolean((_b = this.transactionInfo) === null || _b === void 0 ? void 0 : _b.currencyCode);
63
+ const hasTxnTotal = Boolean((_c = this.transactionInfo) === null || _c === void 0 ? void 0 : _c.totalPrice);
64
+ const hasMerchantName = Boolean((_d = this.merchantInfo) === null || _d === void 0 ? void 0 : _d.merchantName);
65
+ return (hasApiVersion &&
66
+ hasApiVersionMinor &&
67
+ hasAllowedMethods &&
68
+ hasTxnCountry &&
69
+ hasTxnCurrency &&
70
+ hasTxnTotal &&
71
+ hasMerchantName);
72
+ }
73
+ }
74
+ class GooglePayHelpers {
75
+ /**
76
+ * Check if Google Pay is supported in the current environment
77
+ */
78
+ static isGooglePaySupported() {
79
+ return (typeof window !== 'undefined' &&
80
+ 'google' in window &&
81
+ 'payments' in window.google &&
82
+ 'api' in window.google.payments);
83
+ }
84
+ /**
85
+ * Create a Google Pay client instance
86
+ */
87
+ static createGooglePayClient(environment) {
88
+ if (!this.isGooglePaySupported()) {
89
+ return null;
90
+ }
91
+ try {
92
+ return new window.google.payments.api.PaymentsClient({
93
+ environment: environment === GooglePayEnvironment.PRODUCTION
94
+ ? 'PRODUCTION'
95
+ : 'TEST',
96
+ });
97
+ }
98
+ catch (_error) {
99
+ return null;
100
+ }
101
+ }
102
+ /**
103
+ * Format amount for Google Pay (expects string in full currency units)
104
+ */
105
+ static formatAmount(amount) {
106
+ return (amount / 100).toFixed(2);
107
+ }
108
+ /**
109
+ * Parse amount from Google Pay format to cents
110
+ */
111
+ static parseAmount(amount) {
112
+ return Math.round(parseFloat(amount) * 100);
113
+ }
114
+ /**
115
+ * Create a line item for Google Pay
116
+ */
117
+ static createLineItem(label, amount, type = 'LINE_ITEM') {
118
+ return {
119
+ label,
120
+ price: this.formatAmount(amount),
121
+ type,
122
+ };
123
+ }
124
+ /**
125
+ * Get default supported card networks
126
+ */
127
+ static getDefaultSupportedNetworks() {
128
+ return ['VISA', 'MASTERCARD', 'AMEX', 'DISCOVER'];
129
+ }
130
+ /**
131
+ * Get default allowed authentication methods
132
+ */
133
+ static getDefaultAuthMethods() {
134
+ return ['CRYPTOGRAM_3DS', 'PAN_ONLY'];
135
+ }
136
+ /**
137
+ * Create default card parameters
138
+ */
139
+ static createDefaultCardParameters() {
140
+ return {
141
+ allowedAuthMethods: this.getDefaultAuthMethods(),
142
+ allowedCardNetworks: this.getDefaultSupportedNetworks(),
143
+ billingAddressRequired: false,
144
+ };
145
+ }
146
+ /**
147
+ * Create default tokenization specification
148
+ */
149
+ static createTokenizationSpecification() {
150
+ return {
151
+ type: 'PAYMENT_GATEWAY',
152
+ parameters: {
153
+ gateway: 'justifi',
154
+ gatewayMerchantId: checkoutStore.accountId,
155
+ },
156
+ };
157
+ }
158
+ /**
159
+ * Create default payment method data
160
+ */
161
+ static createPaymentMethodData() {
162
+ return {
163
+ type: 'CARD',
164
+ parameters: this.createDefaultCardParameters(),
165
+ tokenizationSpecification: this.createTokenizationSpecification(),
166
+ };
167
+ }
168
+ /**
169
+ * Create base payment data request check
170
+ */
171
+ static createBasePaymentDataRequest() {
172
+ const base = {
173
+ apiVersion: 2,
174
+ apiVersionMinor: 0,
175
+ allowedPaymentMethods: [this.createPaymentMethodData()],
176
+ };
177
+ // For development and broader availability of the button, do not require an existing card
178
+ // This allows isReadyToPay to return true on supported browsers even without a saved payment method
179
+ base.existingPaymentMethodRequired = false;
180
+ return base;
181
+ }
182
+ }
183
+
184
+ export { GooglePayConfig as G, GooglePayHelpers as a, GooglePayPaymentDataRequest as b, GooglePayButtonSizeMode as c, GooglePayButtonStyle as d, GooglePayButtonType as e, GooglePayEnvironment as f };
@@ -3,6 +3,7 @@ var PAYMENT_MODE;
3
3
  PAYMENT_MODE["ECOM"] = "ecom";
4
4
  PAYMENT_MODE["BNPL"] = "bnpl";
5
5
  PAYMENT_MODE["APPLE_PAY"] = "apple_pay";
6
+ PAYMENT_MODE["GOOGLE_PAY"] = "google_pay";
6
7
  })(PAYMENT_MODE || (PAYMENT_MODE = {}));
7
8
  // Maps the backend payment method types to the frontend payment method types
8
9
  var PAYMENT_METHOD_TYPES;
@@ -41,7 +41,7 @@ const AdditionalStatement = /*@__PURE__*/ proxyCustomElement(class AdditionalSta
41
41
  }
42
42
  render() {
43
43
  var _a, _b;
44
- return (h("div", { key: '3c0edd8c0d1b4e20b4673e721ae05c34e070e2c6' }, h("div", { key: 'e95625382e55164401b28c6d3d253d775b7ccc87', class: "row gy-3" }, h("div", { key: 'bce8e334130812bb6d896e48d72f8a7347a58753', class: "col-12" }, h("h2", { key: 'd6d11c29baf12c36d90505f44cbba6139828cc41', class: "h5", part: heading5 }, "Additional Evidence")), h("div", { key: '11cba2151220a3bb5dc39c231792b2733033f2ee', class: "col-12" }, h("form-control-textarea", { key: 'e60e1810cb82b6daf8c61aa4ae21ead48d6794f5', label: "Is there anything else you would like to say about this dispute?", name: "additional_statement", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.additional_statement, inputHandler: this.inputHandler, errorText: this.errors.additional_statement })), h("div", { key: 'e745eabe5b5a38485877904d7b0e3fc16583e00e', class: "col-12" }, h("form-control-file-v2", { key: 'f88b588cfe46d4d4f904b8c7008272ee0b0fffed', label: "Additional files", name: "uncategorized_file", multiple: true, helpText: "Upload any additional pieces of evidence that have not already been provided.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.uncategorized_file })))));
44
+ return (h("div", { key: 'd943c5a732c4ece78a9d3894b1395bfe9fde13eb' }, h("div", { key: '918d1e3ef1259396d177e41d10998cbd9d69c060', class: "row gy-3" }, h("div", { key: 'bfab1580c07005da4046884acd07858478ed9e29', class: "col-12" }, h("h2", { key: '9d82008f712ce05f35a42bc169f581ec5e38d9ea', class: "h5", part: heading5 }, "Additional Evidence")), h("div", { key: '28b192ee15fc788ef9923e366b46e0d1458f5061', class: "col-12" }, h("form-control-textarea", { key: '799b740724230fc5fd7ed7e19d8f7069416eed10', label: "Is there anything else you would like to say about this dispute?", name: "additional_statement", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.additional_statement, inputHandler: this.inputHandler, errorText: this.errors.additional_statement })), h("div", { key: '0e1f293bd196f45faaa495f310be6c72ce101e0e', class: "col-12" }, h("form-control-file-v2", { key: '02ae90e06226350272bb49d1cb0d753f641c6801', label: "Additional files", name: "uncategorized_file", multiple: true, helpText: "Upload any additional pieces of evidence that have not already been provided.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.uncategorized_file })))));
45
45
  }
46
46
  }, [256, "justifi-additional-statement", {
47
47
  "disputeResponse": [8, "dispute-response"],
@@ -1,5 +1,6 @@
1
1
  import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
2
2
  import { A as Api } from './Api.js';
3
+ import { A as ApplePayConfig, a as ApplePayHelpers, b as ApplePayPaymentRequest, c as ApplePaySessionStatus, d as ApplePayButtonStyle, e as ApplePayButtonType, f as ApplePayMerchantCapability } from './ApplePay.js';
3
4
  import { S as StyledHost } from './styled-host.js';
4
5
  import './details.js';
5
6
  import './event-types.js';
@@ -7,126 +8,6 @@ import './justifi-radio-list-item2.js';
7
8
  import { S as Skeleton } from './skeleton.js';
8
9
  import { c as checkoutStore } from './checkout.store.js';
9
10
 
10
- var ApplePaySessionStatus;
11
- (function (ApplePaySessionStatus) {
12
- ApplePaySessionStatus["STATUS_SUCCESS"] = "STATUS_SUCCESS";
13
- ApplePaySessionStatus["STATUS_FAILURE"] = "STATUS_FAILURE";
14
- })(ApplePaySessionStatus || (ApplePaySessionStatus = {}));
15
- var ApplePayButtonType;
16
- (function (ApplePayButtonType) {
17
- ApplePayButtonType["PLAIN"] = "plain";
18
- ApplePayButtonType["BUY"] = "buy";
19
- ApplePayButtonType["SET_UP"] = "set-up";
20
- ApplePayButtonType["DONATE"] = "donate";
21
- ApplePayButtonType["CHECK_OUT"] = "check-out";
22
- ApplePayButtonType["BOOK"] = "book";
23
- ApplePayButtonType["SUBSCRIBE"] = "subscribe";
24
- })(ApplePayButtonType || (ApplePayButtonType = {}));
25
- var ApplePayButtonStyle;
26
- (function (ApplePayButtonStyle) {
27
- ApplePayButtonStyle["BLACK"] = "black";
28
- ApplePayButtonStyle["WHITE"] = "white";
29
- ApplePayButtonStyle["WHITE_OUTLINE"] = "white-outline";
30
- })(ApplePayButtonStyle || (ApplePayButtonStyle = {}));
31
- var ApplePayMerchantCapability;
32
- (function (ApplePayMerchantCapability) {
33
- ApplePayMerchantCapability["SUPPORTS_3DS"] = "supports3DS";
34
- ApplePayMerchantCapability["SUPPORTS_EMV"] = "supportsEMV";
35
- ApplePayMerchantCapability["SUPPORTS_CREDIT"] = "supportsCredit";
36
- ApplePayMerchantCapability["SUPPORTS_DEBIT"] = "supportsDebit";
37
- })(ApplePayMerchantCapability || (ApplePayMerchantCapability = {}));
38
- class ApplePayConfig {
39
- constructor(data) {
40
- this.merchantIdentifier = data.merchantIdentifier;
41
- this.displayName = data.displayName;
42
- this.initiative = data.initiative;
43
- this.initiativeContext = data.initiativeContext;
44
- this.buttonType = data.buttonType || ApplePayButtonType.PLAIN;
45
- this.buttonStyle = data.buttonStyle || ApplePayButtonStyle.BLACK;
46
- this.buttonLocale = data.buttonLocale || 'en-US';
47
- }
48
- get isValid() {
49
- return !!(this.merchantIdentifier &&
50
- this.displayName &&
51
- this.initiative &&
52
- this.initiativeContext);
53
- }
54
- }
55
- class ApplePayPaymentRequest {
56
- constructor(data) {
57
- this.countryCode = data.countryCode;
58
- this.currencyCode = data.currencyCode;
59
- this.merchantCapabilities = data.merchantCapabilities;
60
- this.supportedNetworks = data.supportedNetworks;
61
- this.total = data.total;
62
- this.lineItems = data.lineItems;
63
- this.shippingMethods = data.shippingMethods;
64
- this.applicationData = data.applicationData;
65
- this.supportedCountries = data.supportedCountries;
66
- }
67
- get isValid() {
68
- var _a, _b, _c, _d;
69
- return !!(this.countryCode &&
70
- this.currencyCode &&
71
- ((_a = this.merchantCapabilities) === null || _a === void 0 ? void 0 : _a.length) &&
72
- ((_b = this.supportedNetworks) === null || _b === void 0 ? void 0 : _b.length) &&
73
- ((_c = this.total) === null || _c === void 0 ? void 0 : _c.label) &&
74
- ((_d = this.total) === null || _d === void 0 ? void 0 : _d.amount));
75
- }
76
- }
77
- class ApplePayHelpers {
78
- static isApplePaySupported() {
79
- var _a;
80
- return (typeof window !== 'undefined' &&
81
- 'ApplePaySession' in window &&
82
- ((_a = window.ApplePaySession) === null || _a === void 0 ? void 0 : _a.supportsVersion(3)));
83
- }
84
- static canMakePayments() {
85
- var _a;
86
- if (!this.isApplePaySupported()) {
87
- return false;
88
- }
89
- return ((_a = window.ApplePaySession) === null || _a === void 0 ? void 0 : _a.canMakePayments()) || false;
90
- }
91
- static async canMakePaymentsWithActiveCard(merchantIdentifier) {
92
- var _a;
93
- if (!this.isApplePaySupported()) {
94
- return false;
95
- }
96
- try {
97
- return ((await ((_a = window.ApplePaySession) === null || _a === void 0 ? void 0 : _a.canMakePaymentsWithActiveCard(merchantIdentifier))) || false);
98
- }
99
- catch (error) {
100
- console.error('Error checking Apple Pay active card:', error);
101
- return false;
102
- }
103
- }
104
- static formatAmount(amount) {
105
- return (amount / 100).toFixed(2);
106
- }
107
- static parseAmount(amount) {
108
- return Math.round(parseFloat(amount) * 100);
109
- }
110
- static createLineItem(label, amount, type = 'final') {
111
- return {
112
- label,
113
- amount: this.formatAmount(amount),
114
- type,
115
- };
116
- }
117
- static getDefaultSupportedNetworks() {
118
- return ['amex', 'discover', 'masterCard', 'visa'];
119
- }
120
- static getDefaultMerchantCapabilities() {
121
- return [
122
- ApplePayMerchantCapability.SUPPORTS_3DS,
123
- ApplePayMerchantCapability.SUPPORTS_EMV,
124
- ApplePayMerchantCapability.SUPPORTS_CREDIT,
125
- ApplePayMerchantCapability.SUPPORTS_DEBIT,
126
- ];
127
- }
128
- }
129
-
130
11
  // Centralized error codes for Apple Pay service
131
12
  var ApplePayServiceErrorCode;
132
13
  (function (ApplePayServiceErrorCode) {
@@ -44,7 +44,7 @@ const BankAccountBillingFormSimple = /*@__PURE__*/ proxyCustomElement(class Bank
44
44
  }
45
45
  render() {
46
46
  const billingFormDefaultValue = this.formController.getInitialValues();
47
- return (h(StyledHost, { key: '351fb06eb483dc19acd62f82b6bd6a3112656f5d' }, h("div", { key: 'f4acda57958a375ee5bf44dd66862b879470e749', part: billingForm, class: "mt-4" }, h("form", { key: 'b985f1b1cd4a8daa6322921a046715b9b06a83da' }, h("fieldset", { key: '81116059d8675ae4a7ca8885cf8ad352b3f49e81' }, this.legend && (h("legend", { key: 'eb8e006d64c65fb8d5dd7c8166da7cd0af92fdf8' }, this.legend)), h("div", { key: 'f33a49989a3900ba3fae732c76dca7013b1b0961', class: "row gy-3" }, h("div", { key: 'db98168966f644e2140f5d505557f9f304938f88', class: "col-12" }, h("form-control-text", { key: 'b86b8a4f40aefddeede3c46132e25fe2b5f7b685', name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler }))))))));
47
+ return (h(StyledHost, { key: '1ae1df080e0cfac0795b758708fd8cfcd091ca10' }, h("div", { key: 'c13939d9ef3f56ae00e79fcf4c2c5e4e3775874a', part: billingForm, class: "mt-4" }, h("form", { key: '37affeab4ec3904a1095f868da1a767227f11e6d' }, h("fieldset", { key: 'f12df105d8a3196bcbc89bf78f253b6abb0b3cba' }, this.legend && (h("legend", { key: '876c0303cf1e2c1475b7f076a184da6b43a9dbff' }, this.legend)), h("div", { key: 'a0362a2eaea2c6cc263fced7fa44c89440b45aad', class: "row gy-3" }, h("div", { key: 'b79686ee1276d27199d7c6d6419a89eb0a9345ee', class: "col-12" }, h("form-control-text", { key: 'cbebd20b9418db67ea3e7ea08eec5e405df9d524', name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler }))))))));
48
48
  }
49
49
  }, [257, "justifi-bank-account-billing-form-simple", {
50
50
  "legend": [1025],
@@ -4,6 +4,8 @@ import './dinero.js';
4
4
  import { E as EntityDocumentType } from './Refund.js';
5
5
  import './Pagination.js';
6
6
  import './Business.js';
7
+ import './ApplePay.js';
8
+ import './GooglePay.js';
7
9
  import { d as defineCustomElement$3 } from './custom-popper2.js';
8
10
  import { d as defineCustomElement$2 } from './form-control-file2.js';
9
11
  import { d as defineCustomElement$1 } from './form-control-tooltip2.js';
@@ -47,10 +47,10 @@ const BankAccountForm$1 = /*@__PURE__*/ proxyCustomElement(class BankAccountForm
47
47
  return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
48
48
  }
49
49
  render() {
50
- return (h(Host, { key: '9ad0351fe9ef5ffdbab77a738b1e342b3124aa32' }, h(BankAccountFormSkeleton, { key: '4e3cdfbfcbb95998f7cb3724eba07a7ca860763b', isReady: this.isReady }), h("div", { key: '2c4ad45f9b98b5d18fb2359be671cc49d85e63ea', class: "container-fluid p-0", style: {
50
+ return (h(Host, { key: '32cfa049dff176af26d2a4bcb86c440a99bc8668' }, h(BankAccountFormSkeleton, { key: '8382fc8ff7726e245245db06b01fdc253d43328e', isReady: this.isReady }), h("div", { key: '83f16d13bb8c338dd859a60a7bd63edbb8f703b6', class: "container-fluid p-0", style: {
51
51
  opacity: this.isReady ? '1' : '0',
52
52
  height: this.isReady ? 'auto' : '0',
53
- } }, h("div", { key: '4402087e14b02dd73d43873dc69fe26e9e35aed6', class: "row mb-3" }, h("iframe-input", { key: '8599126627554acc0bc45d23a7136a85c679d831', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber?tabId=${this.tabId}` })), h("div", { key: '95da6cb38cd214658dd2b527478f4d2ed6fc5256', class: "row" }, h("iframe-input", { key: 'c990dfe86d5ddb284fc673a459c42498bf149235', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber?tabId=${this.tabId}` })))));
53
+ } }, h("div", { key: 'ff5a4020f51e917874583036ef3b50d9496a393e', class: "row mb-3" }, h("iframe-input", { key: '334cd1bbdb23cb1d4ae5df1f89737913209fd1c1', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber?tabId=${this.tabId}` })), h("div", { key: '65a00ea0fe1202240a2641b40d5f0455483746ff', class: "row" }, h("iframe-input", { key: 'c8dda20444c7f6494fad1377cc556676e1d7dc54', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber?tabId=${this.tabId}` })))));
54
54
  }
55
55
  }, [256, "bank-account-form", {
56
56
  "isReady": [32],
@@ -58,10 +58,10 @@ const BankAccountForm = /*@__PURE__*/ proxyCustomElement(class BankAccountForm e
58
58
  return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
59
59
  }
60
60
  render() {
61
- return (h(StyledHost, { key: '5300180e7f23a8edf57f8fc875735eaff8a88dd6' }, h(BankAccountFormSkeleton, { key: 'e9464c243d616b4787f341e01d86bea0a2cf532f', isReady: this.isReady }), h("hidden-input", { key: '1903e13a850096457d4ffa1b68211f2289c1ba5d' }), h("div", { key: 'b9bd0c9d19b1e140c1d46f4ad6db2a3b34cd9084', class: "container-fluid p-0", style: {
61
+ return (h(StyledHost, { key: '0daa12da1ca699a05ca499425c4a37e4d913b2dd' }, h(BankAccountFormSkeleton, { key: '9d4ee0af94759d71d52130781401d322fcb5e397', isReady: this.isReady }), h("hidden-input", { key: 'dc4ee0054cbc7acb214a1c410f8fd387677f92dc' }), h("div", { key: 'b489311f205e0ffdaa4680621b706322bd3fc4ca', class: "container-fluid p-0", style: {
62
62
  opacity: this.isReady ? '1' : '0',
63
63
  height: this.isReady ? 'auto' : '0',
64
- } }, h("div", { key: '40156309e44c38b2495c6f1fff6e3d61fef8f59b', class: "row mb-3" }, h("iframe-input", { key: '4e081e59170d28632290194672e4da4c6fdb2707', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber` })), h("div", { key: '90c4082c1bd2afb6a17f3cf3c9b74c19a5e50459', class: "row" }, h("iframe-input", { key: '97eb9c0dddaa323ffc48691764982ea2ee796aed', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber` })))));
64
+ } }, h("div", { key: '2d1b00b9705d1a94364f691d4ad705c339abbbce', class: "row mb-3" }, h("iframe-input", { key: '21a66eb7d87b77c1ff1a1171a4cb84a4759853dd', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber` })), h("div", { key: '1ff36d49f7304e203cdefea46010100ed750ed68', class: "row" }, h("iframe-input", { key: '2211a638c875e504e7e25e0704788d7a437b5806', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber` })))));
65
65
  }
66
66
  }, [257, "justifi-bank-account-form", {
67
67
  "iframeOrigin": [32],
@@ -4,6 +4,8 @@ import './dinero.js';
4
4
  import { E as EntityDocumentType, h as EntityDocumentStorage, i as EntityDocument, a as ComponentErrorSeverity, C as ComponentErrorCodes } from './Refund.js';
5
5
  import './Pagination.js';
6
6
  import { a as CountryCode } from './Business.js';
7
+ import './ApplePay.js';
8
+ import './GooglePay.js';
7
9
  import { m as makeGetBusiness, e as makePostBankAccount, f as makePostDocumentRecord } from './payment-provisioning-actions.js';
8
10
  import { B as BusinessService, a as BusinessBankAccountService, D as DocumentRecordService } from './business.service.js';
9
11
  import { c as create$3, a as create$6, d as create$8, F as FormController } from './form.js';
@@ -4,6 +4,8 @@ import { A as Api } from './Api.js';
4
4
  import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './Refund.js';
5
5
  import './Pagination.js';
6
6
  import './Business.js';
7
+ import './ApplePay.js';
8
+ import './GooglePay.js';
7
9
  import { h as heading2 } from './parts.js';
8
10
  import { B as BusinessFormStep } from './event-types2.js';
9
11
  import { d as defineCustomElement$1 } from './form-control-checkbox2.js';
@@ -2,6 +2,8 @@ import { A as Api } from './Api.js';
2
2
  import './Refund.js';
3
3
  import './Pagination.js';
4
4
  import './Business.js';
5
+ import './ApplePay.js';
6
+ import './GooglePay.js';
5
7
 
6
8
  const api = Api();
7
9
  class BusinessService {
@@ -41,7 +41,7 @@ const CancellationPolicy = /*@__PURE__*/ proxyCustomElement(class CancellationPo
41
41
  }
42
42
  render() {
43
43
  var _a, _b, _c;
44
- return (h("div", { key: '7388c0a12447da31a25aeb4d374a4bcca26ae664' }, h("div", { key: 'adcc0256ebec43aac7ba65a8e35daf6e6923de25', class: "row gy-3" }, h("div", { key: 'f8f12898acdd5dadac559d9c967af69cbb071147', class: "col-12" }, h("h2", { key: '546b58f9ef57f21743625a54c960762b990977eb', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: '10032390cfca9d783ee71c4546f7562b59596806', class: "col-12" }, h("form-control-textarea", { key: '62afbd3d92193e954ec72808eafb8643e0d8c8d3', label: "Cancellation Policy Disclosure", name: "cancellation_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.cancellation_policy_disclosure, inputHandler: this.inputHandler, errorText: this.errors.cancellation_policy_disclosure })), h("div", { key: 'df29b379fdacf3c74111952eb9ed7c20b6fbb1ed', class: "col-12" }, h("form-control-textarea", { key: '8c34fddf37bd4f03e1ff8f974e35dc88a865a3cf', label: "Cancellation Rebuttal", name: "cancellation_rebuttal", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.cancellation_rebuttal, inputHandler: this.inputHandler, errorText: this.errors.cancellation_rebuttal })), h("div", { key: '89dd8b79755ae4ab2ad203887cd928b4a9ce35e2', class: "col-12" }, h("form-control-file-v2", { key: '0818e57a22be5a73f74a02575ac802cfe3b4de35', label: "Upload Cancellation Policy", name: "cancellation_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.cancellation_policy })))));
44
+ return (h("div", { key: '24d9db9409e2bc6147e73b70b103c86d9c65580d' }, h("div", { key: 'a724a9f96b0cc7f6a38fab82b572962b72ffbf9b', class: "row gy-3" }, h("div", { key: 'ba734334efd7a7fbc7adcc2c8bcb73f80278a413', class: "col-12" }, h("h2", { key: 'f57de791ca5b8f6752ce06460ba813f89f8145f5', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: '86946aa4b4b2615864c3e6053e661564f4eb5658', class: "col-12" }, h("form-control-textarea", { key: '0f996bfd0a1b64effef21418a7813a12f1ad5fcd', label: "Cancellation Policy Disclosure", name: "cancellation_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.cancellation_policy_disclosure, inputHandler: this.inputHandler, errorText: this.errors.cancellation_policy_disclosure })), h("div", { key: 'd46ca79368e4bc1f13e406d0fece0be4b8e33950', class: "col-12" }, h("form-control-textarea", { key: '0d7991cf878e645b80b8aa8b03533dc758d267a9', label: "Cancellation Rebuttal", name: "cancellation_rebuttal", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.cancellation_rebuttal, inputHandler: this.inputHandler, errorText: this.errors.cancellation_rebuttal })), h("div", { key: 'aa89c58ba7263fe7419908fd4964874645b26c3e', class: "col-12" }, h("form-control-file-v2", { key: '7e6020a57b0d804c20e0b2c092bf512912679eb9', label: "Upload Cancellation Policy", name: "cancellation_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.cancellation_policy })))));
45
45
  }
46
46
  }, [256, "justifi-cancellation-policy", {
47
47
  "disputeResponse": [8, "dispute-response"],
@@ -44,7 +44,7 @@ const CardBillingFormSimple = /*@__PURE__*/ proxyCustomElement(class CardBilling
44
44
  }
45
45
  render() {
46
46
  const billingFormDefaultValue = this.formController.getInitialValues();
47
- return (h(StyledHost, { key: '181f33311e0c08a9c61f7a18905105117e52a994' }, h("div", { key: '5c361f59ecfd97b50f5dd1d098a6df29e4c8e117', part: billingForm }, h("form", { key: 'd4ef0fec8002f5f36a7a688368d08fdf12e04e66' }, h("fieldset", { key: '124fb102c4a77b75a6bc51c1c32a9dbc0e952283' }, this.legend && (h("legend", { key: '513f3043512009b64b9317c9f0d31238127ac804' }, this.legend)), h("div", { key: '20e60e25dc79bcd6ebe1598e2376c2bd8f6e83e0', class: "row gy-3" }, h("div", { key: 'cd5cc651915224dea63d9e0561e66a792cec0134', class: "col-12" }, h("form-control-text", { key: 'b6ac39f78b99412a03f41749c802a57c1e9bba6e', name: 'address_postal_code', label: "Postal Code", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 7 }))))))));
47
+ return (h(StyledHost, { key: '1191dac498a26eaa1e553d041185d73a6c83976d' }, h("div", { key: 'bb767072391ecb9f8de3d7312e146892ae75196a', part: billingForm }, h("form", { key: '34994f535186cab1d75a3eec57f0ff449d726507' }, h("fieldset", { key: '5425df6533360185d0e8428bfcf4b9896c32f7c9' }, this.legend && (h("legend", { key: 'db130af085d0e4dfc04ac35b8425111faf67a5b9' }, this.legend)), h("div", { key: 'deef3521156e148936d3c502e5b7de49efa55e7b', class: "row gy-3" }, h("div", { key: 'a520ae53525cc81dfa0c9cd26d3d983fa870f722', class: "col-12" }, h("form-control-text", { key: '27613ef0fe2a2647bf24598da29871cde0af7e55', name: 'address_postal_code', label: "Postal Code", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 7 }))))))));
48
48
  }
49
49
  }, [257, "justifi-card-billing-form-simple", {
50
50
  "legend": [1025],
@@ -51,10 +51,10 @@ const CardForm$1 = /*@__PURE__*/ proxyCustomElement(class CardForm extends HTMLE
51
51
  return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
52
52
  }
53
53
  render() {
54
- return (h(Host, { key: 'c83ad3b01653a4254c96dbbd2973670c2bb483ba' }, h(CardFormSkeleton, { key: 'bf81fcedb09880f3329d746aa06601e95b3f7e4e', isReady: this.isReady }), h("div", { key: 'a56d0eef13cd38e30e0f2ddafc9af4f7a19d25f0', class: "container-fluid p-0", style: {
54
+ return (h(Host, { key: '171cb8db5cce1778ef5f590c6b4d72f327c37bad' }, h(CardFormSkeleton, { key: '084ed0d409f1e747a95578060626d1704fefb783', isReady: this.isReady }), h("div", { key: 'ccf225f0f420a22cc1cffb1d7f9dc51fe92612ee', class: "container-fluid p-0", style: {
55
55
  opacity: this.isReady ? '1' : '0',
56
56
  height: this.isReady ? 'auto' : '0',
57
- } }, h("div", { key: '00e82b719e5dd17088941067e4ec45f128fd2118', class: "mb-3" }, h("iframe-input", { key: 'df2e08109ef2bede239093ece5df4327f845eef5', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber?tabId=${this.tabId}` })), h("div", { key: '1d3a2d4fae47fa628ae09955620a65de25aa998c', class: "d-flex align-items-start" }, h("div", { key: '4541858226bbb1431ca2405dd28a3fe32d76b10b', class: "flex-fill me-3" }, h("iframe-input", { key: '81c2f0de6d6f6c6bb3feb96643034c66967e9277', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Exp. Month", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth?tabId=${this.tabId}` })), h("div", { key: 'b89ac66447fb8334d3293f5a7eaf33172410addd', class: "flex-fill me-3" }, h("iframe-input", { key: '030954f302edbf8cd071a49db71f867797b30558', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "Exp. Year", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear?tabId=${this.tabId}` })), h("div", { key: '140ba4c5a77eef74d1e0d2040be15f8d70a692aa', class: "flex-fill" }, h("iframe-input", { key: '768f466bb75cc6bb76f86f084e6f93043a7d10b3', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV?tabId=${this.tabId}` }))))));
57
+ } }, h("div", { key: '7e7599c24e95a364f1011ed8f8ba2e387f4bc184', class: "mb-3" }, h("iframe-input", { key: '5ec2f426a232a8c1387e7e54f7321672e16a230c', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber?tabId=${this.tabId}` })), h("div", { key: 'bbf1284e4bd2213cf48eb64b88c5ecd5492c51e5', class: "d-flex align-items-start" }, h("div", { key: '70bf0e98c9c99913773ebcd5b6b9e88679779d6f', class: "flex-fill me-3" }, h("iframe-input", { key: 'b0ed2bbe9a63b83810fa170350cc28e777bc0509', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Exp. Month", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth?tabId=${this.tabId}` })), h("div", { key: '4d6592dc2f6dea2d2d4ddb8667681576817e6c98', class: "flex-fill me-3" }, h("iframe-input", { key: '34dabee2355d51ca1175af9a084188a6d44714df', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "Exp. Year", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear?tabId=${this.tabId}` })), h("div", { key: 'c3afab4dea5e93edca3a0372d397afd8ef937de1', class: "flex-fill" }, h("iframe-input", { key: '0777691de3a8e12338a9c9b967ce3f20f675c6b3', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV?tabId=${this.tabId}` }))))));
58
58
  }
59
59
  }, [256, "card-form", {
60
60
  "isReady": [32],
@@ -62,10 +62,10 @@ const JustifiCardForm = /*@__PURE__*/ proxyCustomElement(class JustifiCardForm e
62
62
  return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
63
63
  }
64
64
  render() {
65
- return (h(StyledHost, { key: 'e2d9290e9537e5cf01743e560ba72ae03969737f' }, h(CardFormSkeleton, { key: '503d9d3511de6ec2fa42f833ec6d5d8d8b25f9a0', isReady: this.isReady }), h("hidden-input", { key: '8a429562e82c34ad9629a91b8b46e4333d06f607' }), h("div", { key: 'bd89861324642f3d4aff08f10f0ec2692378b973', class: "container-fluid p-0", style: {
65
+ return (h(StyledHost, { key: 'b0b07a928be767102b59ec93ab0df6296b8418af' }, h(CardFormSkeleton, { key: '03d37e42253a905ece1e6a9b1d654e84665470d6', isReady: this.isReady }), h("hidden-input", { key: '62f657a6c0a4d5b7a7bbf809abeb42eba0d22345' }), h("div", { key: '874cac5eac376c8c4e12d99f760cd3cd487a6521', class: "container-fluid p-0", style: {
66
66
  opacity: this.isReady ? '1' : '0',
67
67
  height: this.isReady ? 'auto' : '0',
68
- } }, h("div", { key: 'ea3051446c8877824dff4f5d442f6df2575c01ae', class: "mb-3" }, h("iframe-input", { key: '54bf375d93b38257bb37e2294a95e8ac5318f6e3', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: 'c5314dc6426aff92153220bb7cb431ba000a1775', class: "row" }, h("div", { key: 'ca100aa1913e5e0c3390b7bef91fc88196c1b389', class: "col-4 align-content-end" }, h("iframe-input", { key: '1fc8ac6e5be1f22943da8edaf3b51c8d1e04af2a', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: '9cf86dca35588b7ef92c138a1c99f8e1af01597c', class: "col-4 align-content-end" }, h("iframe-input", { key: 'ae87a4afed43f2d87cfca5d9b1e3f388fea53ced', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: 'a9e5f4007f7f3f8d5521935a60c465caf6ab296d', class: "col-4 align-content-end" }, h("iframe-input", { key: 'e181c1f20b2367b0b435d45e334994f8a7e2a4e8', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
68
+ } }, h("div", { key: 'dcada2d72eebe506fe4cab8ad6eb959c551e9e2d', class: "mb-3" }, h("iframe-input", { key: '7e784726f8dd0c8b35832646bc99e0d2131c08f9', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: '2384099f3aa18b7d6bbc346f47ba9ff06e5b7e86', class: "row" }, h("div", { key: '5fb523cd3f398894e5c7ee3e8a58d34581492410', class: "col-4 align-content-end" }, h("iframe-input", { key: 'a3b4aa06a5c85162d24e25a5261a9a2cc64a6b82', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: '3ccd6a19fce1c393a8c58534113239c518d51a4f', class: "col-4 align-content-end" }, h("iframe-input", { key: '6d064b868c73b4431b476194602843b0f28729e0', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: '26cd762bec43890e96ab5c6903943b0f4cfa9672', class: "col-4 align-content-end" }, h("iframe-input", { key: '826dfe08347461bc5a94296b181826b70a7d1f6f', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
69
69
  }
70
70
  }, [257, "justifi-card-form", {
71
71
  "isReady": [32],
@@ -2,6 +2,8 @@ import { A as Api } from './Api.js';
2
2
  import './Refund.js';
3
3
  import './Pagination.js';
4
4
  import './Business.js';
5
+ import './ApplePay.js';
6
+ import './GooglePay.js';
5
7
 
6
8
  const api = Api();
7
9
  class CheckoutService {
@@ -9,6 +9,7 @@ const initialState = {
9
9
  },
10
10
  bnplEnabled: false,
11
11
  applePayEnabled: false,
12
+ googlePayEnabled: false,
12
13
  insuranceEnabled: false,
13
14
  bnplProviderApiVersion: '',
14
15
  bnplProviderCheckoutUrl: '',
@@ -66,6 +67,9 @@ function getAvailablePaymentMethodTypes() {
66
67
  if (checkoutStore.applePayEnabled) {
67
68
  methods.push(PAYMENT_METHODS.APPLE_PAY);
68
69
  }
70
+ if (checkoutStore.googlePayEnabled) {
71
+ methods.push(PAYMENT_METHODS.GOOGLE_PAY);
72
+ }
69
73
  if (checkoutStore.bankAccountVerification === true &&
70
74
  !checkoutStore.disableBankAccount) {
71
75
  methods.push(PAYMENT_METHODS.PLAID);
@@ -4,13 +4,15 @@ import './dinero.js';
4
4
  import './Refund.js';
5
5
  import { p as pagingDefaults } from './Pagination.js';
6
6
  import './Business.js';
7
+ import './ApplePay.js';
8
+ import './GooglePay.js';
7
9
  import './details.js';
8
10
  import { T as Table, a as TableWrapper, b as TableComponent, c as TableHead, d as TableHeadRow, e as TableBody, f as TableLoadingState, g as TableEmptyState, h as TableErrorState, i as TableRow, j as TableFoot, k as TableFootRow, l as TableFootCell } from './table.js';
9
11
  import { T as TableClickActions } from './event-types.js';
10
12
  import './justifi-radio-list-item2.js';
11
13
  import { a as formatDate, b as formatTime } from './utils2.js';
12
14
  import { B as Badge, a as BadgeVariant } from './badge.js';
13
- import { w as tableHeadCell, a9 as getAlternateTableCellPart } from './parts.js';
15
+ import { w as tableHeadCell, ac as getAlternateTableCellPart } from './parts.js';
14
16
  import { o as onQueryParamsChange, g as getRequestParams } from './checkouts-list-params-state.js';
15
17
  import { d as defineCustomElement$1 } from './pagination-menu2.js';
16
18
 
@@ -178,7 +180,7 @@ const CheckoutsListCore = /*@__PURE__*/ proxyCustomElement(class CheckoutsListCo
178
180
  return !this.showEmptyState && !this.showErrorState && !this.loading;
179
181
  }
180
182
  render() {
181
- return (h(TableWrapper, { key: '1d569fb3adfb433dbc5f922eac92dd54c90e4026' }, h(TableComponent, { key: '08814bbcb72facf8a65f05fced211c7072d9de07' }, h(TableHead, { key: 'b6a81964a5d31e0a8071f72fa100a0addfa20450' }, h(TableHeadRow, { key: '68c3f64e205a7d24797d3dc22b77d3ae2660853f' }, this.checkoutsTable.columnData.map((column) => column))), h(TableBody, { key: '71e40b95aea309fd80b4c2a5b29d346ff05bfa86' }, h(TableLoadingState, { key: '68f74fb34189d60edb7d31cf338b505ac0fdefa7', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'c9f5944d8286433c6f1427fbb622a9ecfb32ff59', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: 'ec6e7eae1606dcde81fcc866ae35668fbbdcb0ca', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.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: 'c5ea4d43e61fa13b245f63b92402f0963bc5480e' }, h(TableFootRow, { key: 'f5c32fa16e4197290c081179b7235f783e8eb819' }, h(TableFootCell, { key: '4a8899287e30840905686d6f056db332761af2fb', colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: '2d0092eceeb124d622ad1477a9c0a84844247f04', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
183
+ return (h(TableWrapper, { key: '408d4e9eab54491ce0cb775815c3e00eeb4854a3' }, h(TableComponent, { key: '52d68b140748feb5b20b01e9056a4f013dc6a4f2' }, h(TableHead, { key: '74d2ed3ab8629f60e5d789d160495dbdfa1d0109' }, h(TableHeadRow, { key: '216c56f85e307b622b682810973ec8fe05156173' }, this.checkoutsTable.columnData.map((column) => column))), h(TableBody, { key: 'c94508c4337cd1381a9caf8ade4f677ef2d62fe3' }, h(TableLoadingState, { key: '2d62155279ca151f77f33321c27c0d68822b1c15', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '4c4d9c73989dabd4213cfc994e74ce0873741de8', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: '423a58df4dfa9e6b52fc41dd8d6f06c8d7cca16c', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.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: 'd1fbfca88fc702a4c0fae40586c946e3f75220af' }, h(TableFootRow, { key: '9d9c7862bc4d27d70a030d27cb735cb3654ea373' }, h(TableFootCell, { key: '53538be1d8eaf7b66b98476771f1f6d9552ab72d', colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: '2336a06ecf1eb14719881306ee878105d4b43926', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
182
184
  }
183
185
  static get watchers() { return {
184
186
  "pagingParams": ["updateOnPropChange"],
@@ -1875,7 +1875,7 @@ const CustomPopper = /*@__PURE__*/ proxyCustomElement(class CustomPopper extends
1875
1875
  this.hideEvent.emit();
1876
1876
  }
1877
1877
  render() {
1878
- return (h("div", { key: '73b07cca3eacc4041a0aba80818eab407e92b833' }, h("style", { key: '767463c48efc2828e9e9c48dacd2db0568d6a751' }, `
1878
+ return (h("div", { key: 'c3ff01a53b15d4678dcbd58e97606885a510a880' }, h("style", { key: 'f239956643a0f5463303992aa2466e37988a124d' }, `
1879
1879
  .popper-content {
1880
1880
  display: none;
1881
1881
  }
@@ -1883,7 +1883,7 @@ const CustomPopper = /*@__PURE__*/ proxyCustomElement(class CustomPopper extends
1883
1883
  display: block;
1884
1884
  z-index: 1030;
1885
1885
  }
1886
- `), h("div", { key: '284486020e76357a378fdc91ad899b87da27c4eb', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: 'c317e502124dc6ff11c7c4a606f09f4f69adffeb' }))));
1886
+ `), h("div", { key: '7b710736c1ffe73559ef53d9f1525c22785cde2e', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: '116be40554b590b382ea7002f5c442d010059b48' }))));
1887
1887
  }
1888
1888
  }, [260, "custom-popper", {
1889
1889
  "placement": [1],
@@ -43,7 +43,7 @@ const CustomerDetails = /*@__PURE__*/ proxyCustomElement(class CustomerDetails e
43
43
  }
44
44
  render() {
45
45
  var _a, _b, _c, _d, _e;
46
- return (h("div", { key: '539e3799c613e2220ef11e3bd19457fa04610c4b' }, h("div", { key: '9f612621bd98060cb407cf2d628903733d6517f2', class: "row gy-3" }, h("div", { key: 'de829fd15e9ae4b044a96c8addaabb8cd63224c4', class: "col-12" }, h("h2", { key: 'a4805da605e259ca9450da2c7fc652848ae58c80', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: '1cf94d2b9a71c4728ebf4b8c92a8e91eba490e16', class: "col-12" }, h("form-control-text", { key: 'bf1c4eaf372b919dea002c4a7a15c6748e12adff', label: "Full Name", name: "customer_name", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_name, inputHandler: this.inputHandler, errorText: this.errors.customer_name })), h("div", { key: '8b7b472e818795a015984ce06d3a44c9a6bf3bfb', class: "col-12" }, h("form-control-text", { key: '845cc2af35390837d63f628f78d4c866f1bbae85', label: "Email", name: "customer_email_address", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.customer_email_address, inputHandler: this.inputHandler, errorText: this.errors.customer_email_address })), h("div", { key: '2e7122420d04961f5cc48d4dffc4eb3a881f2727', class: "col-12" }, h("form-control-textarea", { key: '80177b3e9b57cc750ab02e30694e33fbf3ef526a', label: "Billing Address", name: "customer_billing_address", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.customer_billing_address, inputHandler: this.inputHandler, errorText: this.errors.customer_billing_address })), h("div", { key: '96c32ff3b76326f54cc2462ef6c47c87ba46504a', class: "col-12" }, h("form-control-file-v2", { key: '3aec29d7e7e05a3d796ba7e57ec153b05267eec6', label: "Customer Signature", name: "customer_signature", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.customer_signature })), h("div", { key: '7d519c613f67229f2785511f4e16c4a74ceba73f', class: "col-12" }, h("form-control-file-v2", { key: '0fbf23107e1a61f47b2ea16ecf3cdffcb64a1294', label: "Customer Communication", name: "customer_communication", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.customer_communication })))));
46
+ return (h("div", { key: 'b348b17f0b320a540b0496f04572ba1360f4fd15' }, h("div", { key: '376750fbcd6da41a602d6ad5b4a2130dbcce17dc', class: "row gy-3" }, h("div", { key: '2f6134bbd055fdb8afa495e29370a3528b5d8701', class: "col-12" }, h("h2", { key: '7e29aa97b070479bc6df91fe2bd4416a3a2210dd', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: '7f44155fab6f6387fa768af1225c10a63fc3587b', class: "col-12" }, h("form-control-text", { key: '6c38a71cdcf231729d9db144a3936130dc0e0b4d', label: "Full Name", name: "customer_name", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_name, inputHandler: this.inputHandler, errorText: this.errors.customer_name })), h("div", { key: '06c883df8dfa58535c32bcb43e6649537ff0b91c', class: "col-12" }, h("form-control-text", { key: 'eb424a6d80d90d19e7be31323de3ad41ede47c09', label: "Email", name: "customer_email_address", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.customer_email_address, inputHandler: this.inputHandler, errorText: this.errors.customer_email_address })), h("div", { key: 'a7ba05dfc72dabeeb690daff6e9f692488172d15', class: "col-12" }, h("form-control-textarea", { key: '9b47c924dfdd8065d6e456210a2cdaac30376f9b', label: "Billing Address", name: "customer_billing_address", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.customer_billing_address, inputHandler: this.inputHandler, errorText: this.errors.customer_billing_address })), h("div", { key: '37ba310fdd33ffb1fc41a168fb31c4f21a49b568', class: "col-12" }, h("form-control-file-v2", { key: 'e54b14ab429073482f68f8ba259e797be4c41a0f', label: "Customer Signature", name: "customer_signature", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.customer_signature })), h("div", { key: '9084a731a58784355bc543759d6bf50bd6001c52', class: "col-12" }, h("form-control-file-v2", { key: 'bfb40202ff50523583ad8bcc7dc96740495de312', label: "Customer Communication", name: "customer_communication", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.customer_communication })))));
47
47
  }
48
48
  }, [256, "justifi-customer-details", {
49
49
  "disputeResponse": [8, "dispute-response"],
@@ -70,7 +70,7 @@ const DisputeManagementCore = /*@__PURE__*/ proxyCustomElement(class DisputeMana
70
70
  });
71
71
  }
72
72
  render() {
73
- return (h("div", { key: '0775f22b07fe1456b64bc791aa1b6f12a1d692ba' }, this.showDisputeResponseForm ? (h("justifi-dispute-response", { disputeId: this.disputeId, disputeResponse: this.dispute.dispute_response, authToken: this.authToken })) : (h("justifi-dispute-notification", { dispute: this.dispute, authToken: this.authToken, isLoading: this.isLoading }))));
73
+ return (h("div", { key: '6374c478bc8907019b48e1a53b0ecb2e171ab2e4' }, this.showDisputeResponseForm ? (h("justifi-dispute-response", { disputeId: this.disputeId, disputeResponse: this.dispute.dispute_response, authToken: this.authToken })) : (h("justifi-dispute-notification", { dispute: this.dispute, authToken: this.authToken, isLoading: this.isLoading }))));
74
74
  }
75
75
  static get watchers() { return {
76
76
  "getDispute": ["updateOnPropChange"]