@justifi/webcomponents 6.4.2 → 6.5.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (545) hide show
  1. package/dist/cjs/{Refund-BnhHNKLz.js → GooglePay-D3zN44IX.js} +415 -0
  2. package/dist/cjs/bank-account-document-form-inputs_6.cjs.entry.js +8 -7
  3. package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
  4. package/dist/cjs/{business.service-DIlSj5KT.js → business.service-88yKWtbE.js} +1 -1
  5. package/dist/cjs/card-form.cjs.entry.js +2 -2
  6. package/dist/cjs/{check-pkg-version-goSFbVFL.js → check-pkg-version-DV1hwzA2.js} +2 -2
  7. package/dist/cjs/{checkout.service-Ce0F8cOf.js → checkout.service-Cj1RxduX.js} +1 -1
  8. package/dist/cjs/checkouts-list-core.cjs.entry.js +3 -2
  9. package/dist/cjs/custom-popper.cjs.entry.js +2 -2
  10. package/dist/cjs/{dispute.service-DuYeSUgK.js → dispute.service-AXzLxuOs.js} +1 -1
  11. package/dist/cjs/form-alert_5.cjs.entry.js +6 -6
  12. package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
  13. package/dist/cjs/form-control-date.cjs.entry.js +2 -2
  14. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
  15. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +2 -2
  16. package/dist/cjs/form-control-monetary.cjs.entry.js +2 -2
  17. package/dist/cjs/form-control-number-masked_3.cjs.entry.js +4 -4
  18. package/dist/cjs/form-control-number.cjs.entry.js +2 -2
  19. package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
  20. package/dist/cjs/form-control-select_3.cjs.entry.js +4 -4
  21. package/dist/cjs/{get-payment-details-vVIxYblm.js → get-payment-details-DVBTf7h5.js} +2 -2
  22. package/dist/cjs/{get-subaccounts-yo2pT61R.js → get-subaccounts-DuYNs7Ny.js} +2 -2
  23. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
  24. package/dist/cjs/hidden-input_2.cjs.entry.js +21 -7
  25. package/dist/cjs/{index-C2ITzalN.js → index-CajjbB9t.js} +1 -0
  26. package/dist/cjs/index.cjs.js +1 -1
  27. package/dist/cjs/internal-tokenize-payment-method_7.cjs.entry.js +23 -24
  28. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +6 -5
  29. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +12 -11
  30. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +8 -8
  31. package/dist/cjs/{justifi-apple-pay_7.cjs.entry.js → justifi-apple-pay_8.cjs.entry.js} +903 -253
  32. package/dist/cjs/justifi-bank-account-billing-form-simple_3.cjs.entry.js +2 -2
  33. package/dist/cjs/justifi-business-details.cjs.entry.js +5 -4
  34. package/dist/cjs/justifi-business-form.cjs.entry.js +5 -4
  35. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +2 -2
  36. package/dist/cjs/justifi-checkout.cjs.entry.js +14 -15
  37. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +9 -8
  38. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +8 -7
  39. package/dist/cjs/justifi-details.cjs.entry.js +1 -1
  40. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
  41. package/dist/cjs/justifi-dispute-management.cjs.entry.js +6 -5
  42. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +9 -8
  43. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +4 -3
  44. package/dist/cjs/justifi-order-terminals.cjs.entry.js +10 -9
  45. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +7 -6
  46. package/dist/cjs/justifi-payment-details.cjs.entry.js +6 -5
  47. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +1 -1
  48. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +6 -5
  49. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +7 -6
  50. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
  51. package/dist/cjs/justifi-payments-list.cjs.entry.js +7 -6
  52. package/dist/cjs/justifi-payout-details.cjs.entry.js +6 -5
  53. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +7 -6
  54. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
  55. package/dist/cjs/justifi-payouts-list.cjs.entry.js +8 -7
  56. package/dist/cjs/justifi-refund-payment.cjs.entry.js +10 -9
  57. package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +1 -1
  58. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +7 -8
  59. package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
  60. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +12 -11
  61. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +7 -6
  62. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +8 -7
  63. package/dist/cjs/justifi-terminals-list.cjs.entry.js +8 -7
  64. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +1 -1
  65. package/dist/cjs/loader.cjs.js +1 -1
  66. package/dist/cjs/{package-jZDXnKmY.js → package-MS7_CYge.js} +1 -1
  67. package/dist/cjs/pagination-menu.cjs.entry.js +3 -3
  68. package/dist/cjs/payment-details-core.cjs.entry.js +11 -10
  69. package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
  70. package/dist/cjs/{payment.service-DLvoJ2K6.js → payment.service-7Ayen6ud.js} +1 -1
  71. package/dist/cjs/payments-list-core.cjs.entry.js +3 -2
  72. package/dist/cjs/payout-details-core.cjs.entry.js +3 -3
  73. package/dist/cjs/{payout.service-CrBp8aru.js → payout.service-6PsVtHcu.js} +1 -1
  74. package/dist/cjs/payouts-list-core.cjs.entry.js +3 -2
  75. package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
  76. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +4 -3
  77. package/dist/cjs/{terminal-orders-table-8PxObvu8.js → terminal-orders-table-BQXO4z_E.js} +3 -3
  78. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
  79. package/dist/cjs/{terminal.service-D0fIw59V.js → terminal.service-DgE2p1j0.js} +1 -1
  80. package/dist/cjs/terminals-list-core.cjs.entry.js +3 -2
  81. package/dist/cjs/webcomponents.cjs.js +1 -1
  82. package/dist/collection/api/GooglePay.js +181 -0
  83. package/dist/collection/api/index.js +2 -0
  84. package/dist/collection/api/services/google-pay.service.js +240 -0
  85. package/dist/collection/collection-manifest.json +2 -1
  86. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +7 -6
  87. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +2 -2
  88. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +8 -7
  89. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +7 -6
  90. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
  91. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +1 -1
  92. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +8 -7
  93. package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -1
  94. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
  95. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +1 -1
  96. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.js +1 -1
  97. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +1 -1
  98. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.js +1 -1
  99. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +1 -1
  100. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
  101. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -1
  102. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +2 -2
  103. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
  104. package/dist/collection/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.js +1 -1
  105. package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +2 -2
  106. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
  107. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +1 -1
  108. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
  109. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +1 -1
  110. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
  111. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
  112. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
  113. package/dist/collection/components/checkout/card-form/card-form.js +2 -2
  114. package/dist/collection/components/checkout/checkout.js +2 -2
  115. package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
  116. package/dist/collection/components/checkout/saved-payment-method.js +1 -1
  117. package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
  118. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
  119. package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
  120. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  121. package/dist/collection/components/dispute-management/dispute-management.js +1 -1
  122. package/dist/collection/components/dispute-management/dispute-notification.js +2 -2
  123. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  124. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  125. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  126. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  127. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  128. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  129. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  130. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  131. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  132. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  133. package/dist/collection/components/filters/table-filters-menu.js +1 -1
  134. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  135. package/dist/collection/components/modular-checkout/ModularCheckout.js +1 -0
  136. package/dist/collection/components/modular-checkout/modular-checkout.js +46 -9
  137. package/dist/collection/components/modular-checkout/sub-components/bank-account-billing-form-simple.js +1 -1
  138. package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
  139. package/dist/collection/components/modular-checkout/sub-components/card-billing-form-simple.js +1 -1
  140. package/dist/collection/components/modular-checkout/sub-components/card-form.js +2 -2
  141. package/dist/collection/components/modular-checkout/sub-components/google-pay-skeleton.js +10 -0
  142. package/dist/collection/components/modular-checkout/sub-components/google-pay.js +609 -0
  143. package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
  144. package/dist/collection/components/modular-checkout/sub-components/summary.js +1 -1
  145. package/dist/collection/components/order-terminals/order-terminals.js +1 -1
  146. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  147. package/dist/collection/components/payment-details/payment-details-core.js +8 -8
  148. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
  149. package/dist/collection/components/payments-list/payments-list-core.js +1 -1
  150. package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
  151. package/dist/collection/components/payments-list/payments-list.js +1 -1
  152. package/dist/collection/components/payout-details/payout-details-core.js +3 -3
  153. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +1 -1
  154. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  155. package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
  156. package/dist/collection/components/payouts-list/payouts-list.js +1 -1
  157. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
  158. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
  159. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
  160. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  161. package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
  162. package/dist/collection/components/terminals-list/terminals-list.js +1 -1
  163. package/dist/collection/components/tokenize-payment-method/internal-tokenize-payment-method.js +3 -4
  164. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +5 -10
  165. package/dist/collection/store/checkout.store.js +4 -0
  166. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  167. package/dist/collection/ui-components/details/details.js +1 -1
  168. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  169. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  170. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  171. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  172. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  173. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  174. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  175. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  176. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  177. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  178. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  179. package/dist/collection/ui-components/form/hidden-input.js +17 -3
  180. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  181. package/dist/collection/ui-components/google-pay-button.js +255 -0
  182. package/dist/collection/ui-components/pagination-menu/pagination-menu.js +3 -3
  183. package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
  184. package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
  185. package/dist/collection/ui-components/shadow-dom-components/justifi-radio-list-item.js +1 -1
  186. package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
  187. package/dist/docs.json +567 -119
  188. package/dist/esm/{Refund-L_muwEAh.js → GooglePay-ChLgDgG7.js} +405 -1
  189. package/dist/esm/bank-account-document-form-inputs_6.entry.js +8 -7
  190. package/dist/esm/bank-account-form.entry.js +2 -2
  191. package/dist/esm/{business.service-CaEVmi4X.js → business.service-C0JaOBMs.js} +1 -1
  192. package/dist/esm/card-form.entry.js +2 -2
  193. package/dist/esm/{check-pkg-version-CPDwCVPS.js → check-pkg-version-BQxLpn00.js} +2 -2
  194. package/dist/esm/{checkout.service-BpaVN1_f.js → checkout.service-gxuAcx_d.js} +1 -1
  195. package/dist/esm/checkouts-list-core.entry.js +3 -2
  196. package/dist/esm/custom-popper.entry.js +2 -2
  197. package/dist/esm/{dispute.service-Dq1SPI2m.js → dispute.service-DmYLDaWO.js} +1 -1
  198. package/dist/esm/form-alert_5.entry.js +6 -6
  199. package/dist/esm/form-control-checkbox.entry.js +2 -2
  200. package/dist/esm/form-control-date.entry.js +2 -2
  201. package/dist/esm/form-control-file-v2_2.entry.js +3 -3
  202. package/dist/esm/form-control-monetary-provisioning.entry.js +2 -2
  203. package/dist/esm/form-control-monetary.entry.js +2 -2
  204. package/dist/esm/form-control-number-masked_3.entry.js +4 -4
  205. package/dist/esm/form-control-number.entry.js +2 -2
  206. package/dist/esm/form-control-radio.entry.js +2 -2
  207. package/dist/esm/form-control-select_3.entry.js +4 -4
  208. package/dist/esm/{get-payment-details-C2YiQBG7.js → get-payment-details-CJ6fHbft.js} +1 -1
  209. package/dist/esm/{get-subaccounts-Cjz3-2D3.js → get-subaccounts-3zYjlgWb.js} +1 -1
  210. package/dist/esm/gross-payment-chart-core.entry.js +1 -1
  211. package/dist/esm/hidden-input_2.entry.js +21 -7
  212. package/dist/esm/{index-DCIW8z1f.js → index-DkoufM1t.js} +1 -0
  213. package/dist/esm/index.js +1 -1
  214. package/dist/esm/internal-tokenize-payment-method_7.entry.js +12 -13
  215. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +2 -1
  216. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +12 -11
  217. package/dist/esm/justifi-additional-statement_8.entry.js +8 -8
  218. package/dist/esm/{justifi-apple-pay_7.entry.js → justifi-apple-pay_8.entry.js} +786 -137
  219. package/dist/esm/justifi-bank-account-billing-form-simple_3.entry.js +2 -2
  220. package/dist/esm/justifi-business-details.entry.js +5 -4
  221. package/dist/esm/justifi-business-form.entry.js +5 -4
  222. package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
  223. package/dist/esm/justifi-checkout.entry.js +7 -8
  224. package/dist/esm/justifi-checkouts-list-filters.entry.js +3 -2
  225. package/dist/esm/justifi-checkouts-list.entry.js +7 -6
  226. package/dist/esm/justifi-details.entry.js +1 -1
  227. package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
  228. package/dist/esm/justifi-dispute-management.entry.js +6 -5
  229. package/dist/esm/justifi-dispute-notification_3.entry.js +9 -8
  230. package/dist/esm/justifi-gross-payment-chart.entry.js +4 -3
  231. package/dist/esm/justifi-order-terminals.entry.js +7 -6
  232. package/dist/esm/justifi-owner-form_3.entry.js +7 -6
  233. package/dist/esm/justifi-payment-details.entry.js +6 -5
  234. package/dist/esm/justifi-payment-provisioning-core.entry.js +1 -1
  235. package/dist/esm/justifi-payment-provisioning.entry.js +6 -5
  236. package/dist/esm/justifi-payment-transactions-list.entry.js +6 -5
  237. package/dist/esm/justifi-payments-list-filters.entry.js +2 -2
  238. package/dist/esm/justifi-payments-list.entry.js +6 -5
  239. package/dist/esm/justifi-payout-details.entry.js +5 -4
  240. package/dist/esm/justifi-payout-transactions-list.entry.js +6 -5
  241. package/dist/esm/justifi-payouts-list-filters.entry.js +2 -2
  242. package/dist/esm/justifi-payouts-list.entry.js +7 -6
  243. package/dist/esm/justifi-refund-payment.entry.js +6 -5
  244. package/dist/esm/justifi-saved-payment-method.entry.js +1 -1
  245. package/dist/esm/justifi-season-interruption-insurance.entry.js +4 -5
  246. package/dist/esm/justifi-skeleton.entry.js +1 -1
  247. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +4 -3
  248. package/dist/esm/justifi-terminal-orders-list.entry.js +6 -5
  249. package/dist/esm/justifi-terminals-list-filters.entry.js +3 -2
  250. package/dist/esm/justifi-terminals-list.entry.js +7 -6
  251. package/dist/esm/justifi-tokenize-payment-method.entry.js +1 -1
  252. package/dist/esm/loader.js +1 -1
  253. package/dist/esm/{package-B3SPy-II.js → package-CYxDR985.js} +1 -1
  254. package/dist/esm/pagination-menu.entry.js +3 -3
  255. package/dist/esm/payment-details-core.entry.js +10 -9
  256. package/dist/esm/payment-method-option.entry.js +1 -1
  257. package/dist/esm/{payment.service-4wGt-zDW.js → payment.service-CtzbcN40.js} +1 -1
  258. package/dist/esm/payments-list-core.entry.js +3 -2
  259. package/dist/esm/payout-details-core.entry.js +3 -3
  260. package/dist/esm/{payout.service-BYigYrQu.js → payout.service-BSepoyj1.js} +1 -1
  261. package/dist/esm/payouts-list-core.entry.js +3 -2
  262. package/dist/esm/table-filters-menu.entry.js +1 -1
  263. package/dist/esm/terminal-orders-list-core.entry.js +4 -3
  264. package/dist/esm/{terminal-orders-table-CMWBIr9y.js → terminal-orders-table-BDQyyZp2.js} +1 -1
  265. package/dist/esm/terminal-quantity-selector.entry.js +1 -1
  266. package/dist/esm/{terminal.service-RAu777Qf.js → terminal.service-DFPVyp0k.js} +1 -1
  267. package/dist/esm/terminals-list-core.entry.js +3 -2
  268. package/dist/esm/webcomponents.js +1 -1
  269. package/dist/module/Analytics.js +2 -0
  270. package/dist/module/ApplePay.js +121 -0
  271. package/dist/module/GooglePay.js +184 -0
  272. package/dist/module/ModularCheckout.js +1 -0
  273. package/dist/module/additional-questions.js +2 -2
  274. package/dist/module/additional-statement.js +1 -1
  275. package/dist/module/apple-pay.js +1 -120
  276. package/dist/module/bank-account-billing-form-simple.js +1 -1
  277. package/dist/module/bank-account-document-inputs.js +3 -1
  278. package/dist/module/bank-account-form-inputs-canada2.js +1 -1
  279. package/dist/module/bank-account-form-inputs2.js +1 -1
  280. package/dist/module/bank-account-form.js +2 -2
  281. package/dist/module/bank-account-read-only-value2.js +1 -1
  282. package/dist/module/bank-account.js +2 -2
  283. package/dist/module/business-additional-questions-form-step.js +1 -1
  284. package/dist/module/business-bank-account-form-step-core.js +2 -0
  285. package/dist/module/business-bank-account-form-step.js +3 -1
  286. package/dist/module/business-core-info-form-step.js +1 -1
  287. package/dist/module/business-core-info.js +2 -2
  288. package/dist/module/business-owners-form-step.js +1 -1
  289. package/dist/module/business-representative-form-inputs.js +2 -2
  290. package/dist/module/business-representative-form-step.js +1 -1
  291. package/dist/module/business-representative.js +3 -3
  292. package/dist/module/business-terms-conditions-form-step.js +3 -1
  293. package/dist/module/business.service.js +2 -0
  294. package/dist/module/cancellation-policy.js +1 -1
  295. package/dist/module/card-billing-form-simple.js +1 -1
  296. package/dist/module/card-form.js +2 -2
  297. package/dist/module/card-form2.js +2 -2
  298. package/dist/module/checkout.service.js +2 -0
  299. package/dist/module/checkout.store.js +4 -0
  300. package/dist/module/checkouts-list-core2.js +3 -1
  301. package/dist/module/custom-popper2.js +2 -2
  302. package/dist/module/customer-details.js +1 -1
  303. package/dist/module/details.js +1 -1
  304. package/dist/module/dispute-management-core.js +1 -1
  305. package/dist/module/dispute-notification.js +2 -2
  306. package/dist/module/dispute-response-actions.js +2 -0
  307. package/dist/module/dispute-response-core.js +1 -1
  308. package/dist/module/dispute-response.js +1 -1
  309. package/dist/module/duplicate-charge.js +1 -1
  310. package/dist/module/electronic-evidence.js +1 -1
  311. package/dist/module/form-address-fields.js +1 -1
  312. package/dist/module/form-control-checkbox2.js +2 -2
  313. package/dist/module/form-control-date2.js +2 -2
  314. package/dist/module/form-control-file-v22.js +1 -1
  315. package/dist/module/form-control-file2.js +2 -2
  316. package/dist/module/form-control-monetary-provisioning2.js +2 -2
  317. package/dist/module/form-control-monetary2.js +2 -2
  318. package/dist/module/form-control-number-masked2.js +2 -2
  319. package/dist/module/form-control-number.js +2 -2
  320. package/dist/module/form-control-radio2.js +2 -2
  321. package/dist/module/form-control-select2.js +2 -2
  322. package/dist/module/form-control-text2.js +2 -2
  323. package/dist/module/form-control-textarea2.js +2 -2
  324. package/dist/module/get-payment-details.js +2 -0
  325. package/dist/module/get-subaccounts.js +2 -0
  326. package/dist/module/google-pay.js +785 -0
  327. package/dist/module/gross-payment-chart-core2.js +1 -1
  328. package/dist/module/hidden-input2.js +17 -3
  329. package/dist/module/identity-address-form.js +1 -1
  330. package/dist/module/iframe-input2.js +3 -3
  331. package/dist/module/internal-tokenize-payment-method2.js +3 -1
  332. package/dist/module/justifi-business-form.js +2 -0
  333. package/dist/module/justifi-button2.js +1 -1
  334. package/dist/module/justifi-checkout.js +46 -40
  335. package/dist/module/justifi-checkouts-list-filters.js +3 -1
  336. package/dist/module/justifi-checkouts-list.js +3 -1
  337. package/dist/module/justifi-dispute-management.js +1 -1
  338. package/dist/module/justifi-google-pay.d.ts +11 -0
  339. package/dist/module/justifi-google-pay.js +6 -0
  340. package/dist/module/justifi-gross-payment-chart.js +2 -0
  341. package/dist/module/justifi-header2.js +1 -1
  342. package/dist/module/justifi-order-terminals.js +3 -1
  343. package/dist/module/justifi-payment-provisioning.js +3 -1
  344. package/dist/module/justifi-payment-transactions-list.js +3 -1
  345. package/dist/module/justifi-payments-list-filters.js +2 -2
  346. package/dist/module/justifi-payments-list.js +3 -1
  347. package/dist/module/justifi-payout-details.js +2 -0
  348. package/dist/module/justifi-payout-transactions-list.js +3 -1
  349. package/dist/module/justifi-payouts-list-filters.js +2 -2
  350. package/dist/module/justifi-payouts-list.js +3 -1
  351. package/dist/module/justifi-radio-list-item2.js +1 -1
  352. package/dist/module/justifi-refund-payment.js +2 -0
  353. package/dist/module/justifi-saved-payment-method.js +1 -1
  354. package/dist/module/justifi-season-interruption-insurance.js +2 -0
  355. package/dist/module/justifi-skeleton.js +1 -1
  356. package/dist/module/justifi-terminal-orders-list-filters.js +4 -2
  357. package/dist/module/justifi-terminal-orders-list.js +3 -1
  358. package/dist/module/justifi-terminals-list-filters.js +3 -1
  359. package/dist/module/justifi-terminals-list.js +3 -1
  360. package/dist/module/justifi-tokenize-payment-method.js +1 -1
  361. package/dist/module/legal-address-form-step.js +1 -1
  362. package/dist/module/legal-address-form.js +2 -2
  363. package/dist/module/modular-checkout.js +46 -6
  364. package/dist/module/owner-form-core2.js +1 -1
  365. package/dist/module/owner-form-inputs2.js +3 -3
  366. package/dist/module/owner-form.js +1 -1
  367. package/dist/module/package.js +1 -1
  368. package/dist/module/pagination-menu2.js +3 -3
  369. package/dist/module/payment-details-core2.js +10 -8
  370. package/dist/module/payment-method-option.js +1 -1
  371. package/dist/module/payment-provisioning-core.js +1 -1
  372. package/dist/module/payment-provisioning-form-buttons.js +1 -1
  373. package/dist/module/payment-provisioning-form-steps.js +1 -1
  374. package/dist/module/payment.service.js +2 -0
  375. package/dist/module/payments-list-core2.js +3 -1
  376. package/dist/module/payout-details-core2.js +3 -3
  377. package/dist/module/payout.service.js +2 -0
  378. package/dist/module/payouts-list-core2.js +3 -1
  379. package/dist/module/plaid.service.js +2 -0
  380. package/dist/module/product-or-service.js +1 -1
  381. package/dist/module/refund-policy.js +1 -1
  382. package/dist/module/save-new-payment-method.js +1 -1
  383. package/dist/module/shipping-details.js +1 -1
  384. package/dist/module/summary.js +1 -1
  385. package/dist/module/table-filters-menu2.js +1 -1
  386. package/dist/module/terminal-orders-list-core2.js +3 -1
  387. package/dist/module/terminal-quantity-selector2.js +1 -1
  388. package/dist/module/terminal.service.js +2 -0
  389. package/dist/module/terminals-list-core2.js +3 -1
  390. package/dist/types/api/Checkout.d.ts +2 -0
  391. package/dist/types/api/GooglePay.d.ts +271 -0
  392. package/dist/types/api/index.d.ts +2 -0
  393. package/dist/types/api/services/google-pay.service.d.ts +60 -0
  394. package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +3 -3
  395. package/dist/types/components/checkout/checkout.d.ts +1 -0
  396. package/dist/types/components/modular-checkout/ModularCheckout.d.ts +2 -1
  397. package/dist/types/components/modular-checkout/modular-checkout.d.ts +5 -0
  398. package/dist/types/components/modular-checkout/sub-components/google-pay-skeleton.d.ts +6 -0
  399. package/dist/types/components/modular-checkout/sub-components/google-pay.d.ts +59 -0
  400. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +1 -1
  401. package/dist/types/components.d.ts +160 -22
  402. package/dist/types/store/checkout.store.d.ts +1 -0
  403. package/dist/types/ui-components/form/hidden-input.d.ts +1 -0
  404. package/dist/types/ui-components/google-pay-button.d.ts +18 -0
  405. package/dist/webcomponents/index.esm.js +1 -1
  406. package/dist/webcomponents/p-032ee5b7.entry.js +1 -0
  407. package/dist/webcomponents/{p-aec9185f.entry.js → p-03c8c754.entry.js} +1 -1
  408. package/dist/webcomponents/p-0772719b.entry.js +1 -0
  409. package/dist/webcomponents/p-0c7db215.entry.js +1 -0
  410. package/dist/webcomponents/p-136b29e3.entry.js +1 -0
  411. package/dist/webcomponents/{p-1193a1ac.entry.js → p-19dabeab.entry.js} +1 -1
  412. package/dist/webcomponents/p-19ea1354.entry.js +1 -0
  413. package/dist/webcomponents/p-1ce0e372.entry.js +1 -0
  414. package/dist/webcomponents/p-1f196690.entry.js +1 -0
  415. package/dist/webcomponents/{p-800660f2.entry.js → p-270bf699.entry.js} +1 -1
  416. package/dist/webcomponents/p-2a14111e.entry.js +1 -0
  417. package/dist/webcomponents/p-2aa04490.entry.js +1 -0
  418. package/dist/webcomponents/p-2da4e6ca.entry.js +1 -0
  419. package/dist/webcomponents/p-2eb123a3.entry.js +1 -0
  420. package/dist/webcomponents/p-34a87967.entry.js +1 -0
  421. package/dist/webcomponents/p-36ad1db9.entry.js +1 -0
  422. package/dist/webcomponents/p-383f8a27.entry.js +1 -0
  423. package/dist/webcomponents/p-3ac5ab7e.entry.js +1 -0
  424. package/dist/webcomponents/p-3ad906c1.entry.js +1 -0
  425. package/dist/webcomponents/p-3ae12b98.entry.js +1 -0
  426. package/dist/webcomponents/{p-58ae4f9e.entry.js → p-3bacf834.entry.js} +1 -1
  427. package/dist/webcomponents/p-4040df88.entry.js +1 -0
  428. package/dist/webcomponents/{p-e2e6c201.entry.js → p-48d1bc83.entry.js} +1 -1
  429. package/dist/webcomponents/{p-af48a6bb.entry.js → p-4e71de94.entry.js} +1 -1
  430. package/dist/webcomponents/p-4f102cfd.entry.js +1 -0
  431. package/dist/webcomponents/p-5ac8f679.entry.js +1 -0
  432. package/dist/webcomponents/p-5ba28ff0.entry.js +1 -0
  433. package/dist/webcomponents/p-6794a435.entry.js +1 -0
  434. package/dist/webcomponents/{p-CxPieTnF.js → p-7SgMy3r5.js} +1 -1
  435. package/dist/webcomponents/p-81c1ebd3.entry.js +1 -0
  436. package/dist/webcomponents/p-8332592a.entry.js +1 -0
  437. package/dist/webcomponents/p-849ad4d3.entry.js +1 -0
  438. package/dist/webcomponents/{p-1edec396.entry.js → p-86111a0a.entry.js} +1 -1
  439. package/dist/webcomponents/p-8b6b7e20.entry.js +1 -0
  440. package/dist/webcomponents/p-8fcd277c.entry.js +1 -0
  441. package/dist/webcomponents/p-914b590d.entry.js +1 -0
  442. package/dist/webcomponents/p-9a3225e2.entry.js +1 -0
  443. package/dist/webcomponents/{p-BItPr6Gj.js → p-B-9GGR7s.js} +1 -1
  444. package/dist/webcomponents/p-Boe55CYS.js +1 -0
  445. package/dist/webcomponents/{p-Do561C8g.js → p-BusXmwDe.js} +1 -1
  446. package/dist/webcomponents/{p-C9_8N76_.js → p-ByJiG6HY.js} +1 -1
  447. package/dist/webcomponents/p-CQsNLuzi.js +1 -0
  448. package/dist/webcomponents/{p-BiizzRhw.js → p-CUkHRggn.js} +1 -1
  449. package/dist/webcomponents/p-CYxDR985.js +1 -0
  450. package/dist/webcomponents/{p-ZrJKEEoy.js → p-DELUWNSY.js} +1 -1
  451. package/dist/webcomponents/{p-wYnnDDuR.js → p-DjhbNep7.js} +1 -1
  452. package/dist/webcomponents/p-DkoufM1t.js +1 -0
  453. package/dist/webcomponents/{p-CriWtqRc.js → p-Ds2u5A8P.js} +1 -1
  454. package/dist/webcomponents/{p-jTVpG8Gt.js → p-E0ZPuuI7.js} +1 -1
  455. package/dist/webcomponents/p-a020c889.entry.js +1 -0
  456. package/dist/webcomponents/{p-0082f428.entry.js → p-a22d1078.entry.js} +1 -1
  457. package/dist/webcomponents/p-a6e816f6.entry.js +1 -0
  458. package/dist/webcomponents/{p-8681f258.entry.js → p-aaed4997.entry.js} +1 -1
  459. package/dist/webcomponents/p-ad9307c1.entry.js +1 -0
  460. package/dist/webcomponents/p-b46223fa.entry.js +1 -0
  461. package/dist/webcomponents/p-ba76226e.entry.js +1 -0
  462. package/dist/webcomponents/p-be3caaf8.entry.js +1 -0
  463. package/dist/webcomponents/p-c11f5079.entry.js +1 -0
  464. package/dist/webcomponents/p-c41191e7.entry.js +1 -0
  465. package/dist/webcomponents/p-c4c1c6d4.entry.js +1 -0
  466. package/dist/webcomponents/p-c621e7af.entry.js +1 -0
  467. package/dist/webcomponents/p-c8d15694.entry.js +1 -0
  468. package/dist/webcomponents/p-d13edf9f.entry.js +1 -0
  469. package/dist/webcomponents/p-d36351e9.entry.js +1 -0
  470. package/dist/webcomponents/p-d4738115.entry.js +1 -0
  471. package/dist/webcomponents/p-d913cb6b.entry.js +1 -0
  472. package/dist/webcomponents/p-dd0ac112.entry.js +1 -0
  473. package/dist/webcomponents/p-dd75958b.entry.js +1 -0
  474. package/dist/webcomponents/{p-2769f945.entry.js → p-e6507b93.entry.js} +1 -1
  475. package/dist/webcomponents/{p-ed55d333.entry.js → p-e7e5fee9.entry.js} +1 -1
  476. package/dist/webcomponents/{p-4e23116c.entry.js → p-f2650bfc.entry.js} +1 -1
  477. package/dist/webcomponents/p-f2a03f5d.entry.js +1 -0
  478. package/dist/webcomponents/p-f4cb581f.entry.js +1 -0
  479. package/dist/webcomponents/p-f528da70.entry.js +1 -0
  480. package/dist/webcomponents/p-f632894a.entry.js +1 -0
  481. package/dist/webcomponents/{p-9f70ce93.entry.js → p-fe862786.entry.js} +1 -1
  482. package/dist/webcomponents/p-ff2e2879.entry.js +1 -0
  483. package/dist/webcomponents/p-ffed8f86.entry.js +1 -0
  484. package/dist/webcomponents/webcomponents.esm.js +1 -1
  485. package/package.json +13 -13
  486. package/LICENSE +0 -21
  487. package/dist/cjs/checkout.store-BA6h-dp2.js +0 -107
  488. package/dist/esm/checkout.store-CaS_htQd.js +0 -101
  489. package/dist/webcomponents/p-01c9c76c.entry.js +0 -1
  490. package/dist/webcomponents/p-0389ea61.entry.js +0 -1
  491. package/dist/webcomponents/p-05351f0d.entry.js +0 -1
  492. package/dist/webcomponents/p-07e85954.entry.js +0 -1
  493. package/dist/webcomponents/p-087a81ff.entry.js +0 -1
  494. package/dist/webcomponents/p-14d2f6c6.entry.js +0 -1
  495. package/dist/webcomponents/p-1b94c32d.entry.js +0 -1
  496. package/dist/webcomponents/p-20a8b0c0.entry.js +0 -1
  497. package/dist/webcomponents/p-22f74666.entry.js +0 -1
  498. package/dist/webcomponents/p-24c22851.entry.js +0 -1
  499. package/dist/webcomponents/p-30f61f44.entry.js +0 -1
  500. package/dist/webcomponents/p-3c38cec5.entry.js +0 -1
  501. package/dist/webcomponents/p-4488378e.entry.js +0 -1
  502. package/dist/webcomponents/p-44e021e3.entry.js +0 -1
  503. package/dist/webcomponents/p-45936490.entry.js +0 -1
  504. package/dist/webcomponents/p-4761e0aa.entry.js +0 -1
  505. package/dist/webcomponents/p-4c3eea2b.entry.js +0 -1
  506. package/dist/webcomponents/p-4dcbc0af.entry.js +0 -1
  507. package/dist/webcomponents/p-4ed1fc3b.entry.js +0 -1
  508. package/dist/webcomponents/p-6550b836.entry.js +0 -1
  509. package/dist/webcomponents/p-6d06ea25.entry.js +0 -1
  510. package/dist/webcomponents/p-716ddc27.entry.js +0 -1
  511. package/dist/webcomponents/p-7218c312.entry.js +0 -1
  512. package/dist/webcomponents/p-75c65531.entry.js +0 -1
  513. package/dist/webcomponents/p-84e2bd93.entry.js +0 -1
  514. package/dist/webcomponents/p-89518b26.entry.js +0 -1
  515. package/dist/webcomponents/p-8bfd15af.entry.js +0 -1
  516. package/dist/webcomponents/p-9d914297.entry.js +0 -1
  517. package/dist/webcomponents/p-B3SPy-II.js +0 -1
  518. package/dist/webcomponents/p-CPKSE7M4.js +0 -1
  519. package/dist/webcomponents/p-D0YDz3L6.js +0 -1
  520. package/dist/webcomponents/p-DCIW8z1f.js +0 -1
  521. package/dist/webcomponents/p-DU8dqq9U.js +0 -1
  522. package/dist/webcomponents/p-a655b996.entry.js +0 -1
  523. package/dist/webcomponents/p-a793d1bd.entry.js +0 -1
  524. package/dist/webcomponents/p-a8f7cf9b.entry.js +0 -1
  525. package/dist/webcomponents/p-ad8b9fba.entry.js +0 -1
  526. package/dist/webcomponents/p-ae62e01d.entry.js +0 -1
  527. package/dist/webcomponents/p-ae7a027b.entry.js +0 -1
  528. package/dist/webcomponents/p-b3e0c981.entry.js +0 -1
  529. package/dist/webcomponents/p-b4d8a3f6.entry.js +0 -1
  530. package/dist/webcomponents/p-bd10429d.entry.js +0 -1
  531. package/dist/webcomponents/p-c1831747.entry.js +0 -1
  532. package/dist/webcomponents/p-c3b71a1f.entry.js +0 -1
  533. package/dist/webcomponents/p-c7279bc6.entry.js +0 -1
  534. package/dist/webcomponents/p-d2bb462e.entry.js +0 -1
  535. package/dist/webcomponents/p-d3e4697f.entry.js +0 -1
  536. package/dist/webcomponents/p-d4b8274f.entry.js +0 -1
  537. package/dist/webcomponents/p-d89c166f.entry.js +0 -1
  538. package/dist/webcomponents/p-dc0d3484.entry.js +0 -1
  539. package/dist/webcomponents/p-e3f6c3c4.entry.js +0 -1
  540. package/dist/webcomponents/p-eb56ba9b.entry.js +0 -1
  541. package/dist/webcomponents/p-ebb73921.entry.js +0 -1
  542. package/dist/webcomponents/p-edcb84bf.entry.js +0 -1
  543. package/dist/webcomponents/p-f1af630f.entry.js +0 -1
  544. package/dist/webcomponents/p-f5fb1af2.entry.js +0 -1
  545. package/dist/webcomponents/p-fab28b02.entry.js +0 -1
@@ -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: '2429d26c0338ec1732337718ca4e7693f30a0f8a' }, h("div", { key: '774911ce7d594bc1f44c15060136356acc349cbb', part: billingForm, class: "mt-4" }, h("form", { key: '5c93f5a6af372fdf24a20870ef6ae69f554efec4' }, h("fieldset", { key: '38ac8adb2592b7799825d63c4a8e9bde61510cd0' }, this.legend && (h("legend", { key: 'abbce27bb8ae2ef564b8aeef755050fc096cb81f' }, this.legend)), h("div", { key: '5a0350fe7f635600d746f1f3979757a045cc09f0', class: "row gy-3" }, h("div", { key: '71aac995514b7fea7254204df825eb8b381e21c7', class: "col-12" }, h("form-control-text", { key: 'f33d26eddfc9f3d307e05a48afec9472213b2822', name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler }))))))));
47
+ return (h(StyledHost, { key: 'd400254cf09337b9de93c35834cdc5c221f7650f' }, h("div", { key: '95b9467484986e2180946f6a28f6a44365cca2e3', part: billingForm, class: "mt-4" }, h("form", { key: '70c740c7294f20b7c4f9c14c52da4b186953c774' }, h("fieldset", { key: '3d0f150b16ce75a514ab046581277bdfd9fffa0f' }, this.legend && (h("legend", { key: 'e5d5fafd3acd3884fd6525a048fa212c858bd44b' }, this.legend)), h("div", { key: 'f3127d57b9c84e132da888449bbfe6ed645439db', class: "row gy-3" }, h("div", { key: '8ca035dd9a8b33ba4ce53cc5b619cbf5b4fb9bb5', class: "col-12" }, h("form-control-text", { key: '0ad088a77638747b5373657d35d0d1ac663adec0', 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';
@@ -16,7 +18,7 @@ const BankAccountDocumentFormInputs = /*@__PURE__*/ proxyCustomElement(class Ban
16
18
  }
17
19
  }
18
20
  render() {
19
- return (h("div", { key: '92e97e95c2875dcfad6c2e4ad5e42a4ae250c7e7', class: "row gy-3" }, h("div", { key: 'e24529f3c9a3e4db9e676c7c1e2e32b9f123e9e5', class: "col-12" }, h("form-control-file", { key: '09d5b83dfe3ab52c56fa589deb5bd744d2a883f1', name: "voided_check", label: "Voided Check", documentType: EntityDocumentType.voidedCheck, inputHandler: this.inputHandler, onFileSelected: this.storeFiles, errorText: this.errors["voided_check"], multiple: true })), h("div", { key: '887a7e0f3751e57dd08ddc1a8ce3c45380efbf9f', class: "col-12" }, h("form-control-file", { key: 'e427c222b43de52cf51d19ffbab7137a5d603d8a', name: "bank_statement", label: "Bank Statement", documentType: EntityDocumentType.bankStatement, inputHandler: this.inputHandler, onFileSelected: this.storeFiles, errorText: this.errors["bank_statement"], multiple: true }))));
21
+ return (h("div", { key: '4daf6eadf7e1213c3534bd845c917af0b1ec1fec', class: "row gy-3" }, h("div", { key: '9d7235d40a0884960948eaac7dc990e947bf5165', class: "col-12" }, h("form-control-file", { key: 'e0e3704079e20c86dacec668d27ca23ef981aa2f', name: "voided_check", label: "Voided Check", documentType: EntityDocumentType.voidedCheck, inputHandler: this.inputHandler, onFileSelected: this.storeFiles, errorText: this.errors["voided_check"], multiple: true })), h("div", { key: '5c4c20191c6c54170896a9c0f893a7fe06ff6a70', class: "col-12" }, h("form-control-file", { key: '6d4ac9d3a47952644bab5afe4b23332a56c04035', name: "bank_statement", label: "Bank Statement", documentType: EntityDocumentType.bankStatement, inputHandler: this.inputHandler, onFileSelected: this.storeFiles, errorText: this.errors["bank_statement"], multiple: true }))));
20
22
  }
21
23
  }, [256, "bank-account-document-form-inputs", {
22
24
  "inputHandler": [16],
@@ -17,7 +17,7 @@ const BankAccountFormInputsCanada = /*@__PURE__*/ proxyCustomElement(class BankA
17
17
  }
18
18
  render() {
19
19
  var _a, _b, _c, _d, _e, _f, _g;
20
- return (h("div", { key: '4badae2dd74e7b618730114e3ca6086f970a4b16', class: "row gy-3" }, h("div", { key: '39c645b2a10d384ec357e4a5c117bad22d8cd1a5', class: "col-12" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Bank Name", value: (_a = this.defaultValue) === null || _a === void 0 ? void 0 : _a.bank_name })) : (h("form-control-text", { name: "bank_name", label: "Bank Name", defaultValue: this.defaultValue.bank_name, errorText: this.errors.bank_name, inputHandler: this.inputHandler }))), h("div", { key: 'c1605cd3d83ea214580da9ea59dbe59401420863', class: "col-12" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Nickname", value: (_b = this.defaultValue) === null || _b === void 0 ? void 0 : _b.nickname })) : (h("form-control-text", { name: "nickname", label: "Nickname", defaultValue: this.defaultValue.nickname, errorText: this.errors.nickname, inputHandler: this.inputHandler }))), h("div", { key: '6aaced2f6c0c8b46e6a3593d8ad13c7527451a23', class: "col-12" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Account Owner Name", value: (_c = this.defaultValue) === null || _c === void 0 ? void 0 : _c.account_owner_name })) : (h("form-control-text", { name: "account_owner_name", label: "Account Owner Name", defaultValue: this.defaultValue.account_owner_name, errorText: this.errors.account_owner_name, inputHandler: this.inputHandler }))), h("div", { key: 'd381212bea7f03818ce8ea6a33f5183081363fa8', class: "col-12" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Account Type", value: (_d = this.defaultValue) === null || _d === void 0 ? void 0 : _d.account_type })) : (h("form-control-select", { name: "account_type", label: "Account Type", options: bankAccountTypeOptions, defaultValue: this.defaultValue.account_type, errorText: this.errors.account_type, inputHandler: this.inputHandler }))), h("div", { key: '6f8fa0aa9f01c34440277ae56375e99f4e00259f', class: "col-3" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Transit Number", value: ((_e = this.defaultValue) === null || _e === void 0 ? void 0 : _e.transit_number) || '' })) : (h("form-control-text", { name: "transit_number", label: "Transit Number", defaultValue: this.defaultValue.transit_number, maxLength: 5, errorText: this.errors.transit_number, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, helpText: "5 digits" }))), h("div", { key: '5b5d8fbd0144c30bb830415da675bb466e735b0d', class: "col-3" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Institution Number", value: ((_f = this.defaultValue) === null || _f === void 0 ? void 0 : _f.institution_number) || '' })) : (h("form-control-text", { name: "institution_number", label: "Institution Number", defaultValue: this.defaultValue.institution_number, maxLength: 3, errorText: this.errors.institution_number, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, helpText: "3 digits" }))), h("div", { key: 'd1de061b7d721dbfb9539212415ceff9655aeed3', class: "col-6" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Account Number", value: ((_g = this.defaultValue) === null || _g === void 0 ? void 0 : _g.account_number_last4) ? `**** ${this.defaultValue.account_number_last4}` : '' })) : (h("form-control-text", { name: "account_number", label: "Account Number", defaultValue: this.defaultValue.account_number, maxLength: 17, errorText: this.errors.account_number, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, helpText: "Please copy the account number as shown on your statement. Do not include spaces or dashes." })))));
20
+ return (h("div", { key: '80b2030f1c1840df293a5ec600fe16836b502647', class: "row gy-3" }, h("div", { key: '5a28a5b515856da7808fc49cf0f775f8c4c71daa', class: "col-12" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Bank Name", value: (_a = this.defaultValue) === null || _a === void 0 ? void 0 : _a.bank_name })) : (h("form-control-text", { name: "bank_name", label: "Bank Name", defaultValue: this.defaultValue.bank_name, errorText: this.errors.bank_name, inputHandler: this.inputHandler }))), h("div", { key: '62761912ccf0ee5ba1e5c13cbb08cde9687d05bd', class: "col-12" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Nickname", value: (_b = this.defaultValue) === null || _b === void 0 ? void 0 : _b.nickname })) : (h("form-control-text", { name: "nickname", label: "Nickname", defaultValue: this.defaultValue.nickname, errorText: this.errors.nickname, inputHandler: this.inputHandler }))), h("div", { key: '04472a07096890a51d2e2db463f7040a389fd4e1', class: "col-12" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Account Owner Name", value: (_c = this.defaultValue) === null || _c === void 0 ? void 0 : _c.account_owner_name })) : (h("form-control-text", { name: "account_owner_name", label: "Account Owner Name", defaultValue: this.defaultValue.account_owner_name, errorText: this.errors.account_owner_name, inputHandler: this.inputHandler }))), h("div", { key: 'c2caa8ddb2b1038efb49e3361eab760108a34308', class: "col-12" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Account Type", value: (_d = this.defaultValue) === null || _d === void 0 ? void 0 : _d.account_type })) : (h("form-control-select", { name: "account_type", label: "Account Type", options: bankAccountTypeOptions, defaultValue: this.defaultValue.account_type, errorText: this.errors.account_type, inputHandler: this.inputHandler }))), h("div", { key: '2446720991bd2512f6bb8a779e47e526100dacb3', class: "col-3" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Transit Number", value: ((_e = this.defaultValue) === null || _e === void 0 ? void 0 : _e.transit_number) || '' })) : (h("form-control-text", { name: "transit_number", label: "Transit Number", defaultValue: this.defaultValue.transit_number, maxLength: 5, errorText: this.errors.transit_number, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, helpText: "5 digits" }))), h("div", { key: '98cda3809e604cc3e863f2d01698e217694b2550', class: "col-3" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Institution Number", value: ((_f = this.defaultValue) === null || _f === void 0 ? void 0 : _f.institution_number) || '' })) : (h("form-control-text", { name: "institution_number", label: "Institution Number", defaultValue: this.defaultValue.institution_number, maxLength: 3, errorText: this.errors.institution_number, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, helpText: "3 digits" }))), h("div", { key: 'de285afb20fe922e3a8dd66727222e2f49567aae', class: "col-6" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Account Number", value: ((_g = this.defaultValue) === null || _g === void 0 ? void 0 : _g.account_number_last4) ? `**** ${this.defaultValue.account_number_last4}` : '' })) : (h("form-control-text", { name: "account_number", label: "Account Number", defaultValue: this.defaultValue.account_number, maxLength: 17, errorText: this.errors.account_number, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, helpText: "Please copy the account number as shown on your statement. Do not include spaces or dashes." })))));
21
21
  }
22
22
  }, [256, "bank-account-form-inputs-canada", {
23
23
  "defaultValue": [8, "default-value"],
@@ -17,7 +17,7 @@ const BankAccountFormInputs = /*@__PURE__*/ proxyCustomElement(class BankAccount
17
17
  }
18
18
  render() {
19
19
  var _a, _b, _c, _d, _e, _f;
20
- return (h("div", { key: '6414bcb6ef5fd6948154f69b56fd7f20881f091c', class: "row gy-3" }, h("div", { key: 'f025f35d2b84fc5672d2a6335dd5bf21d925c960', class: "col-12" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Bank Name", value: (_a = this.defaultValue) === null || _a === void 0 ? void 0 : _a.bank_name })) : (h("form-control-text", { name: "bank_name", label: "Bank Name", defaultValue: this.defaultValue.bank_name, errorText: this.errors.bank_name, inputHandler: this.inputHandler }))), h("div", { key: '3cf2e75befc249d6b7e996d46206e470cf47ddbf', class: "col-12" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Nickname", value: (_b = this.defaultValue) === null || _b === void 0 ? void 0 : _b.nickname })) : (h("form-control-text", { name: "nickname", label: "Nickname", defaultValue: this.defaultValue.nickname, errorText: this.errors.nickname, inputHandler: this.inputHandler }))), h("div", { key: '16ec731916e67fc42060372fb6222893cb159483', class: "col-12" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Account Owner Name", value: (_c = this.defaultValue) === null || _c === void 0 ? void 0 : _c.account_owner_name })) : (h("form-control-text", { name: "account_owner_name", label: "Account Owner Name", defaultValue: this.defaultValue.account_owner_name, errorText: this.errors.account_owner_name, inputHandler: this.inputHandler }))), h("div", { key: '38460bb83c32289d3494f6ef386b45943f2f78e9', class: "col-12" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Account Type", value: (_d = this.defaultValue) === null || _d === void 0 ? void 0 : _d.account_type })) : (h("form-control-select", { name: "account_type", label: "Account Type", options: bankAccountTypeOptions, defaultValue: this.defaultValue.account_type, errorText: this.errors.account_type, inputHandler: this.inputHandler }))), h("div", { key: 'cfbb7ffa2a56ee1c7d1bb7e0b01d872c37d5d5df', class: "col-6" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Account Number", value: ((_e = this.defaultValue) === null || _e === void 0 ? void 0 : _e.account_number_last4) ? `**** ${this.defaultValue.account_number_last4}` : '' })) : (h("form-control-text", { name: "account_number", label: "Account Number", defaultValue: this.defaultValue.account_number, maxLength: 17, errorText: this.errors.account_number, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, helpText: "Please copy the account number as shown on your statement/check. Do not include spaces or dashes." }))), h("div", { key: '8d844071f3e37c92938e65209ff89170c8e09dc7', class: "col-6" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Routing Number", value: ((_f = this.defaultValue) === null || _f === void 0 ? void 0 : _f.routing_number) || '' })) : (h("form-control-text", { name: "routing_number", label: "Routing Number", defaultValue: this.defaultValue.routing_number, maxLength: 9, errorText: this.errors.routing_number, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, helpText: "A valid routing number is nine digits. Please include any leading or trailing zeroes." })))));
20
+ return (h("div", { key: '951373cbaf604ec2f34364fd93ac9ccf666a4e58', class: "row gy-3" }, h("div", { key: 'a2fbc555aeb3b9bed12f032385ea9889482e6caf', class: "col-12" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Bank Name", value: (_a = this.defaultValue) === null || _a === void 0 ? void 0 : _a.bank_name })) : (h("form-control-text", { name: "bank_name", label: "Bank Name", defaultValue: this.defaultValue.bank_name, errorText: this.errors.bank_name, inputHandler: this.inputHandler }))), h("div", { key: 'c05c9e185293799ee94cbd8bec3976d115469b00', class: "col-12" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Nickname", value: (_b = this.defaultValue) === null || _b === void 0 ? void 0 : _b.nickname })) : (h("form-control-text", { name: "nickname", label: "Nickname", defaultValue: this.defaultValue.nickname, errorText: this.errors.nickname, inputHandler: this.inputHandler }))), h("div", { key: 'b3cc026a1c2079ddcd744d7557742ac98073f03c', class: "col-12" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Account Owner Name", value: (_c = this.defaultValue) === null || _c === void 0 ? void 0 : _c.account_owner_name })) : (h("form-control-text", { name: "account_owner_name", label: "Account Owner Name", defaultValue: this.defaultValue.account_owner_name, errorText: this.errors.account_owner_name, inputHandler: this.inputHandler }))), h("div", { key: 'f3649a91a8af13374eb55f06ecc81e6e06bd4b01', class: "col-12" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Account Type", value: (_d = this.defaultValue) === null || _d === void 0 ? void 0 : _d.account_type })) : (h("form-control-select", { name: "account_type", label: "Account Type", options: bankAccountTypeOptions, defaultValue: this.defaultValue.account_type, errorText: this.errors.account_type, inputHandler: this.inputHandler }))), h("div", { key: '34eb7df603e1d7d9bb616c51057dd5da9a2e3e3f', class: "col-6" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Account Number", value: ((_e = this.defaultValue) === null || _e === void 0 ? void 0 : _e.account_number_last4) ? `**** ${this.defaultValue.account_number_last4}` : '' })) : (h("form-control-text", { name: "account_number", label: "Account Number", defaultValue: this.defaultValue.account_number, maxLength: 17, errorText: this.errors.account_number, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, helpText: "Please copy the account number as shown on your statement/check. Do not include spaces or dashes." }))), h("div", { key: '64897a96be65ddd311267e5ea1571993ab61787d', class: "col-6" }, this.formDisabled ? (h("bank-account-read-only-value", { label: "Routing Number", value: ((_f = this.defaultValue) === null || _f === void 0 ? void 0 : _f.routing_number) || '' })) : (h("form-control-text", { name: "routing_number", label: "Routing Number", defaultValue: this.defaultValue.routing_number, maxLength: 9, errorText: this.errors.routing_number, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, helpText: "A valid routing number is nine digits. Please include any leading or trailing zeroes." })))));
21
21
  }
22
22
  }, [256, "bank-account-form-inputs", {
23
23
  "defaultValue": [8, "default-value"],
@@ -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: '75a85f7b9ea4bf40b486706bce4b142821bf9f00' }, h(BankAccountFormSkeleton, { key: 'ce957273b6ac57f4f0c636622cc9578582ceff43', isReady: this.isReady }), h("div", { key: 'd269050f0fc66d7000096ccfb72a075342e0e91a', class: "container-fluid p-0", style: {
50
+ return (h(Host, { key: 'c52bde6d4ad8484c2514197f48dc11e1a395a170' }, h(BankAccountFormSkeleton, { key: '4e52b258cea0b9d086187e58f73d13bf77aa7d4e', isReady: this.isReady }), h("div", { key: 'd12c2b471e35091a8615124ecd6e5a5362a42b89', class: "container-fluid p-0", style: {
51
51
  opacity: this.isReady ? '1' : '0',
52
52
  height: this.isReady ? 'auto' : '0',
53
- } }, h("div", { key: '87285840b03837b7f12922257d6c8ca171db2d7d', class: "row mb-3" }, h("iframe-input", { key: 'd0ad5b047f1a4e51936ce79edc2d195bd781e4b2', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber?tabId=${this.tabId}` })), h("div", { key: 'eee0c473f0add87e7842a0a1f24bdd999fe21a77', class: "row" }, h("iframe-input", { key: 'dfaa618afdffabe07a290cdfe63c6f06b38f8ecf', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber?tabId=${this.tabId}` })))));
53
+ } }, h("div", { key: 'b432c0b7a4329f84e6697328315c9fa12b3e8898', class: "row mb-3" }, h("iframe-input", { key: '283a94b1d724cf80cf6910a2ab9ce070ce163f43', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber?tabId=${this.tabId}` })), h("div", { key: '6013df7745d3e254eee38095a60a97dd6cc3539d', class: "row" }, h("iframe-input", { key: '30d1f967f7a740a1f154126d2032425a834499cc', 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],
@@ -9,7 +9,7 @@ const BankAccountReadOnlyValue = /*@__PURE__*/ proxyCustomElement(class BankAcco
9
9
  }
10
10
  }
11
11
  render() {
12
- return (h("div", { key: '99b3b6a22eecad258b65287c4f9c8a1485a95d4d' }, h("label", { key: 'fcd00510470fa322ee4c2a4a7179de3064569c0e', class: "form-label", part: text }, this.label), h("div", { key: '30e4d925bb41664887d41871d87f3bcf2709dcff', part: text }, this.value || '')));
12
+ return (h("div", { key: '0d44d4aa265a5fd36ca30f1db072eb834f8bdf1b' }, h("label", { key: '892e6dbdbff5d484df4dfb522f3db8968f46d7d4', class: "form-label", part: text }, this.label), h("div", { key: 'cd617e2302834ad67ebccd64e24d535b2cc19da8', part: text }, this.value || '')));
13
13
  }
14
14
  }, [256, "bank-account-read-only-value", {
15
15
  "label": [1],
@@ -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: '62431aba939585a8a341942d9847e8d491b0a658' }, h(BankAccountFormSkeleton, { key: '2da8452c73e52a6fc67d80e483c40a2d0dd276f9', isReady: this.isReady }), h("hidden-input", { key: 'c34bc48ee7e1925ae272b5fe60fd362ddf2433eb' }), h("div", { key: '3fefe63e9f9c98d7e08e0ceac5df0f8008303aec', class: "container-fluid p-0", style: {
61
+ return (h(StyledHost, { key: 'ed1021efed0ba7072c556e67f52d1c3ef47dbdda' }, h(BankAccountFormSkeleton, { key: '0c6f202f65dbdce9636fba8b3e8b68f895755bd7', isReady: this.isReady }), h("hidden-input", { key: '4340be8fb913a5198564bad3d65b099b69c51725' }), h("div", { key: '60dfe45a5f1f9bfc21815083e80b22d353ab19fb', class: "container-fluid p-0", style: {
62
62
  opacity: this.isReady ? '1' : '0',
63
63
  height: this.isReady ? 'auto' : '0',
64
- } }, h("div", { key: '6c19ea238eb0bff6b245f2f39028d651438c55d0', class: "row mb-3" }, h("iframe-input", { key: 'b5588dc21d24ec873fecedd91fbcb0344fbe324c', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber` })), h("div", { key: '910f130a307449a3d60ef76eee6cc27fc86c3fe0', class: "row" }, h("iframe-input", { key: '72756b92912c3031cc472dee5bbf945f06c38920', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber` })))));
64
+ } }, h("div", { key: '8d4c2ef23151dce1efe79513fd2b0c7f738c0993', class: "row mb-3" }, h("iframe-input", { key: '61054e0b53954f10bd006273d9cdaa9aadb3f696', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber` })), h("div", { key: '212a7b4085fc0aad4f0580faf93288d1f32afa75', class: "row" }, h("iframe-input", { key: '264bf390219b0e75a34b827629d5506c71c1eabe', 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],
@@ -48,7 +48,7 @@ const AdditionalQuestionsFormStep = /*@__PURE__*/ proxyCustomElement(class Addit
48
48
  }
49
49
  }
50
50
  render() {
51
- return (h("justifi-additional-questions-form-step-core", { key: 'a688dd7646fae4e99f46fabca10c0a86921bb560', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
51
+ return (h("justifi-additional-questions-form-step-core", { key: 'a2e24c04b312a226b607147bcf68d6ea50a2be05', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, ref: el => this.coreComponent = el }));
52
52
  }
53
53
  static get watchers() { return {
54
54
  "authToken": ["propChanged"],
@@ -9,6 +9,8 @@ import { P as PaymentProvisioningLoading } from './payment-provisioning-loading.
9
9
  import './config-state.js';
10
10
  import './dinero.js';
11
11
  import './Pagination.js';
12
+ import './ApplePay.js';
13
+ import './GooglePay.js';
12
14
  import { d as defineCustomElement$a } from './bank-account-document-inputs.js';
13
15
  import { d as defineCustomElement$9 } from './bank-account-form-inputs2.js';
14
16
  import { d as defineCustomElement$8 } from './bank-account-form-inputs-canada2.js';
@@ -4,6 +4,8 @@ import './dinero.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 { m as makeGetBusiness, b as makePostBankAccount, c 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 { d as defineCustomElement$b } from './bank-account-document-inputs.js';
@@ -60,7 +62,7 @@ const BusinessBankAccountFormStep = /*@__PURE__*/ proxyCustomElement(class Busin
60
62
  }
61
63
  }
62
64
  render() {
63
- return (h("justifi-business-bank-account-form-step-core", { key: 'a265d71bf69715689e4ff56f9850119fe6524e8f', businessId: this.businessId, getBusiness: this.getBusiness, postBankAccount: this.postBankAccount, postDocumentRecord: this.postDocumentRecord, allowOptionalFields: this.allowOptionalFields, country: this.country, ref: el => this.coreComponent = el }));
65
+ return (h("justifi-business-bank-account-form-step-core", { key: 'f4e4c31d04884510d5b432b7cced5eea2b618bcd', businessId: this.businessId, getBusiness: this.getBusiness, postBankAccount: this.postBankAccount, postDocumentRecord: this.postDocumentRecord, allowOptionalFields: this.allowOptionalFields, country: this.country, ref: el => this.coreComponent = el }));
64
66
  }
65
67
  static get watchers() { return {
66
68
  "authToken": ["propChanged"],
@@ -49,7 +49,7 @@ const BusinessCoreInfoFormStep = /*@__PURE__*/ proxyCustomElement(class Business
49
49
  }
50
50
  }
51
51
  render() {
52
- return (h("justifi-business-core-info-form-step-core", { key: 'f76d7744562afbe13f503876fcc4e2ef7597fee9', businessId: this.businessId, getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, country: this.country, ref: el => this.coreComponent = el }));
52
+ return (h("justifi-business-core-info-form-step-core", { key: '1aeaeae1d432883c1e242c066881cabc37097032', businessId: this.businessId, getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, country: this.country, ref: el => this.coreComponent = el }));
53
53
  }
54
54
  static get watchers() { return {
55
55
  "authToken": ["propChanged"],
@@ -34,10 +34,10 @@ const BusinessCoreInfo = /*@__PURE__*/ proxyCustomElement(class BusinessCoreInfo
34
34
  render() {
35
35
  var _a, _b;
36
36
  const coreInfoDefaultValue = this.formController.getInitialValues();
37
- return (h(Host, { key: '0dba6443b063d02368f93f3a336a8051364b5fca' }, h("fieldset", { key: '42eabe1f20623241291a8bc374c14b0727fae5cd' }, h("legend", { key: 'b74d116fa26b843eee56201c3997ecf916453a23', part: heading2 }, "General Info"), h("div", { key: '8370be848754f5730d1f5bffbfb51875cec01218', class: "row gy-3" }, h("div", { key: 'b891b5ce1820755b44a4d4d14240cd6f6f705114', class: "col-12" }, h("form-control-text", { key: '712f62f8feb4c34eb90048f29158c03cf71b38db', name: "legal_name", label: "Legal Name", defaultValue: coreInfoDefaultValue.legal_name, errorText: this.errors.legal_name, inputHandler: this.inputHandler })), h("div", { key: '52cb8a48648bb036b04fba034dc27a4b286bf7ce', class: "col-12" }, h("form-control-text", { key: '655edd4ae78b47fea221308ce9e582eb731454a7', name: "doing_business_as", label: "Doing Business As (DBA)", defaultValue: coreInfoDefaultValue.doing_business_as, errorText: this.errors.doing_business_as, inputHandler: this.inputHandler })), h("div", { key: '0cd13bcea3e7e1ef90e5d071ea40690f7a8ea022', class: "col-12 col-md-8" }, h("form-control-select", { key: '00a2173bda66d059f9ef7534b3535a4f36dbbbc1', name: "classification", label: "Business Classification", options: businessClassificationOptions, defaultValue: coreInfoDefaultValue.classification, errorText: this.errors.classification, inputHandler: this.inputHandler })), h("div", { key: '4c157888deded84baa24ffdd5c5d74e90590c5f8', class: "col-12 col-md-4" }, h("form-control-date", { key: '7af97d93cf2a9f7ff988621d53e528a8930932ed', name: "date_of_incorporation", label: "Date of Incorporation", defaultValue: coreInfoDefaultValue.date_of_incorporation, errorText: this.errors.date_of_incorporation, inputHandler: this.inputHandler })), h("div", { key: 'b5d0493b01ad9a0853bea95b76220c939cd43828', class: "col-12 col-md-6" }, h("form-control-text", { key: '5df583e04316c0afeaef771177dff20f6d266362', name: "industry", label: "Industry", defaultValue: coreInfoDefaultValue.industry, errorText: this.errors.industry, inputHandler: this.inputHandler })), h("div", { key: '0bd63d995778469190a97a21190e3da742a468fa', class: "col-12 col-md-6" }, (!((_a = this.coreInfo) === null || _a === void 0 ? void 0 : _a.tax_id_last4) || this.isEditingTaxId) ? (h("form-control-number-masked", { name: "tax_id", label: countryLabels[this.country].taxIdLabel, defaultValue: this.isEditingTaxId ? '' : coreInfoDefaultValue.tax_id, errorText: this.errors.tax_id, inputHandler: this.inputHandler, mask: IDENTITY_MASKS[this.country], helpText: countryLabels[this.country].taxIdHelpText })) : (h("div", null, h("label", { class: "form-label", part: label }, countryLabels[this.country].taxIdLabel), h("div", { class: "input-group mb-3" }, h("input", { type: "text", class: "form-control", part: inputDisabled, value: `****${(_b = this.coreInfo) === null || _b === void 0 ? void 0 : _b.tax_id_last4}`, disabled: true }), h("button", { class: "btn btn-secondary", type: "button", part: buttonSecondary, onClick: () => {
37
+ return (h(Host, { key: 'abe85b33019341e670263a3fabefe1c73c203a12' }, h("fieldset", { key: '12eb6d4e78e56c8771d95e03fa7d8c4c9ea6478f' }, h("legend", { key: '514cb38045c7d4a4a6746a3846c84013507d0691', part: heading2 }, "General Info"), h("div", { key: '30a509f2dd8ec2938dcc790d8891a917b76b91a0', class: "row gy-3" }, h("div", { key: 'ced24f46905abd380fd190bd56d56eba7ec65289', class: "col-12" }, h("form-control-text", { key: '26e986bef6cad147cd7e5b557e27ad8e61932e54', name: "legal_name", label: "Legal Name", defaultValue: coreInfoDefaultValue.legal_name, errorText: this.errors.legal_name, inputHandler: this.inputHandler })), h("div", { key: 'fabae43dc916ee087b73e366b01bc40fc29a4110', class: "col-12" }, h("form-control-text", { key: 'bf7e45fe95c0156c583c693006f4a65f2d1d6b1b', name: "doing_business_as", label: "Doing Business As (DBA)", defaultValue: coreInfoDefaultValue.doing_business_as, errorText: this.errors.doing_business_as, inputHandler: this.inputHandler })), h("div", { key: '12d52af1fb5dcef7382b8a36f44a048bcff5a752', class: "col-12 col-md-8" }, h("form-control-select", { key: '94ea7c2438e5fbb0b85a9df5915d78791ae026ea', name: "classification", label: "Business Classification", options: businessClassificationOptions, defaultValue: coreInfoDefaultValue.classification, errorText: this.errors.classification, inputHandler: this.inputHandler })), h("div", { key: '90800a655ff4470ea6de9f774dcdccc95862c821', class: "col-12 col-md-4" }, h("form-control-date", { key: '715436c7bf7d34ab2505b1005873ac549f351af1', name: "date_of_incorporation", label: "Date of Incorporation", defaultValue: coreInfoDefaultValue.date_of_incorporation, errorText: this.errors.date_of_incorporation, inputHandler: this.inputHandler })), h("div", { key: 'f4502deec218f3493210ecb6b1ad19fc7cf9f28f', class: "col-12 col-md-6" }, h("form-control-text", { key: '91614c8854a4b2e79fea028c1ad43ef751dacfb1', name: "industry", label: "Industry", defaultValue: coreInfoDefaultValue.industry, errorText: this.errors.industry, inputHandler: this.inputHandler })), h("div", { key: '9c7a45b88199e7d00673e6d569f45e2dcf3d242d', class: "col-12 col-md-6" }, (!((_a = this.coreInfo) === null || _a === void 0 ? void 0 : _a.tax_id_last4) || this.isEditingTaxId) ? (h("form-control-number-masked", { name: "tax_id", label: countryLabels[this.country].taxIdLabel, defaultValue: this.isEditingTaxId ? '' : coreInfoDefaultValue.tax_id, errorText: this.errors.tax_id, inputHandler: this.inputHandler, mask: IDENTITY_MASKS[this.country], helpText: countryLabels[this.country].taxIdHelpText })) : (h("div", null, h("label", { class: "form-label", part: label }, countryLabels[this.country].taxIdLabel), h("div", { class: "input-group mb-3" }, h("input", { type: "text", class: "form-control", part: inputDisabled, value: `****${(_b = this.coreInfo) === null || _b === void 0 ? void 0 : _b.tax_id_last4}`, disabled: true }), h("button", { class: "btn btn-secondary", type: "button", part: buttonSecondary, onClick: () => {
38
38
  this.isEditingTaxId = true;
39
39
  this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { tax_id: '' }));
40
- } }, "Change"))))), h("div", { key: '3decd3a593098a1c36e4baf1aeb846603b4a6769', class: "col-12" }, h("form-control-text", { key: 'e3cb697846ad086ca6f4998d302574bb4de4c4a6', name: "website_url", label: "Website URL", defaultValue: coreInfoDefaultValue.website_url, errorText: this.errors.website_url, inputHandler: this.inputHandler })), h("div", { key: '69c357ad3d2b5464d0c333c8fdc82353044b7301', class: "col-12 col-md-6" }, h("form-control-text", { key: '49857dc20c817d8c600dbeae9c8191452ec1898f', name: "email", label: "Email Address", defaultValue: coreInfoDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '1c9279a56b389fcd71ffeaad66df8a067a035334', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '7c329ae3c7dcff34d88bce2a64d9ccaa09384055', name: "phone", label: "Phone Number", defaultValue: coreInfoDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US }))))));
40
+ } }, "Change"))))), h("div", { key: 'd0eb145c0afde23fd1dcf7837763971b259ff260', class: "col-12" }, h("form-control-text", { key: '7b2d6a1558b6be6adc87ff4109bca6e9238c2ecf', name: "website_url", label: "Website URL", defaultValue: coreInfoDefaultValue.website_url, errorText: this.errors.website_url, inputHandler: this.inputHandler })), h("div", { key: 'eb9637448b9f9a6e4a8b8a08ad9f7f48ff56ec4f', class: "col-12 col-md-6" }, h("form-control-text", { key: '1f2b0ce0c7dd02485635e8f666d59cd7ec792dbc', name: "email", label: "Email Address", defaultValue: coreInfoDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '46fa9ad350b8482296ce0a76db841b78efb9b83b', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '9d4376e2e1d4372470ba8483f8fe1c0992267e38', name: "phone", label: "Phone Number", defaultValue: coreInfoDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US }))))));
41
41
  }
42
42
  }, [256, "justifi-business-core-info", {
43
43
  "formController": [16],
@@ -54,7 +54,7 @@ const BusinessOwnersFormStep = /*@__PURE__*/ proxyCustomElement(class BusinessOw
54
54
  }
55
55
  }
56
56
  render() {
57
- return (h(Host, { key: '2299a420a6ee8165c1b13ba7ad88664ff9e031de' }, h("justifi-business-owners-form-step-core", { key: 'd167e856e2983728beeb95f6647bd7045652fbe8', authToken: this.authToken, businessId: this.businessId, getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, country: this.country, ref: (el) => this.coreComponent = el })));
57
+ return (h(Host, { key: '510b3ece6194fa6c34c04ba4d87718490631b69d' }, h("justifi-business-owners-form-step-core", { key: '01b034456e183d39b6adc4b9f9d36e289483eb9b', authToken: this.authToken, businessId: this.businessId, getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, country: this.country, ref: (el) => this.coreComponent = el })));
58
58
  }
59
59
  static get watchers() { return {
60
60
  "authToken": ["propChanged"],
@@ -28,14 +28,14 @@ const RepresentativeFormInputs = /*@__PURE__*/ proxyCustomElement(class Represen
28
28
  }
29
29
  render() {
30
30
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
31
- return (h("form", { key: '1a83fb932d4faad4def91d0f23860a761d819b4b' }, h("fieldset", { key: '986e6cedd20f712a10d2de0e51cae2258107106e' }, h("div", { key: '3367b1c686a63a1e17cc4bccf23f65031369d11b', class: "d-flex align-items-center gap-2" }, h("legend", { key: '2d63acb9c5aabe4e63495f0760cb016991fd15c6', class: "mb-0", part: heading2 }, "Representative"), h("form-control-tooltip", { key: '193602ac61e012271ef25d18ec80a8b718856472', helpText: "The representative for your business needs to be someone who has significant control over managing your business\u2019s finance. You will have an opportunity to add owners later in the form." })), h("hr", { key: '25527499226c33721bc0fdb418b495367b269b65', class: "mt-2" }), h("div", { key: 'f160423cfeaad499329d536a158f6365153bf7f0', class: "row gy-3" }, h("div", { key: '39a70eca42b7e7a23cf8247fb5911125465da6dd', class: "col-12 col-md-8" }, h("form-control-text", { key: '2124c8121470e5ceefca7a024752af788a2e17a6', name: "name", label: "Full Name", defaultValue: (_a = this.representativeDefaultValue) === null || _a === void 0 ? void 0 : _a.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '6c8ac5169e22796f52b9959552600d1a8074f089', class: "col-12 col-md-4" }, h("form-control-text", { key: '1b19885ec772c8288fe8c25ed2f2d60a0aaabd54', name: "title", label: "Title", defaultValue: (_b = this.representativeDefaultValue) === null || _b === void 0 ? void 0 : _b.title, errorText: this.errors.title, inputHandler: this.inputHandler, helpText: "Role at your business, e.g. President, CEO, Treasurer." })), h("div", { key: '450957573c4d8721cdaf9caa0bbc8fde9ce576d7', class: "col-12 col-md-6" }, h("form-control-text", { key: '9e470fdfbc757e0ccf25cccd498e7db638d1f735', name: "email", label: "Email Address", defaultValue: (_c = this.representativeDefaultValue) === null || _c === void 0 ? void 0 : _c.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '1776f5a919e9d015938ce4adbd1dcc721e54171f', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: 'dfccc56e5c4e522900db3c66335b91355a8ea9e7', name: "phone", label: "Phone Number", defaultValue: (_d = this.representativeDefaultValue) === null || _d === void 0 ? void 0 : _d.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: 'a21afbd6fe25a1fd21d402ac55bc5c46c34ce7ca', class: "col-12 col-md-4" }, h("form-control-date", { key: '3f449ef87db9487b2e314993ad12946f4317aef2', name: "dob_full", label: "Birth Date", defaultValue: (_e = this.representativeDefaultValue) === null || _e === void 0 ? void 0 : _e.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: (e) => updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), h("div", { key: 'ac114c5bac016be5b7440993b48b8b16bb93a06a', class: "col-12 col-md-8" }, (!((_f = this.representativeDefaultValue) === null || _f === void 0 ? void 0 : _f.ssn_last4) || this.isEditingIdentification) ? (h("form-control-number-masked", { name: "identification_number", label: countryLabels[this.country].idNumberLabel, defaultValue: this.isEditingIdentification ? '' : (_g = this.representativeDefaultValue) === null || _g === void 0 ? void 0 : _g.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: IDENTITY_MASKS[this.country], helpText: countryLabels[this.country].identityHelpText })) : (h("div", null, h("label", { class: "form-label", part: label }, countryLabels[this.country].idNumberLabel), h("div", { class: "input-group mb-3" }, h("input", { type: "text", class: "form-control", part: inputDisabled, value: `****${(_h = this.representativeDefaultValue) === null || _h === void 0 ? void 0 : _h.ssn_last4}`, disabled: true }), h("button", { class: "btn btn-secondary", type: "button", part: buttonSecondary, onClick: () => {
31
+ return (h("form", { key: '7f2a20427197ce4f402c1b4b859839d506613769' }, h("fieldset", { key: 'fe71959a012c1961b6f91d98862ca4ea9411bf6d' }, h("div", { key: '801fb53d33eeff75f82552da84210abfb1daa55d', class: "d-flex align-items-center gap-2" }, h("legend", { key: '63486b252a7c4f71e944712a833a2edc762c1692', class: "mb-0", part: heading2 }, "Representative"), h("form-control-tooltip", { key: '9a22a232bb856c05ca8c75a0255ea8a2b33b8a80', helpText: "The representative for your business needs to be someone who has significant control over managing your business\u2019s finance. You will have an opportunity to add owners later in the form." })), h("hr", { key: 'b29a6dcd41991b2874cb64fc3cd058f3bcf10a48', class: "mt-2" }), h("div", { key: '52e2b29c6f915f50e1f33c19363657e657355b85', class: "row gy-3" }, h("div", { key: '9531872c804ef3713c0778c6bff1d3ca589bb3d5', class: "col-12 col-md-8" }, h("form-control-text", { key: 'd1eedf80da0790767a6c294f084c4b9d4112b9cf', name: "name", label: "Full Name", defaultValue: (_a = this.representativeDefaultValue) === null || _a === void 0 ? void 0 : _a.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: 'b5effb996c7b97cd5a8815781474ea32e5bc37b6', class: "col-12 col-md-4" }, h("form-control-text", { key: '554a6fe90a0c68a32ae7e6b0401e43a8a2d6c7fe', name: "title", label: "Title", defaultValue: (_b = this.representativeDefaultValue) === null || _b === void 0 ? void 0 : _b.title, errorText: this.errors.title, inputHandler: this.inputHandler, helpText: "Role at your business, e.g. President, CEO, Treasurer." })), h("div", { key: '6025d1b2b67120a9e9e25d0a6e3e352651759c62', class: "col-12 col-md-6" }, h("form-control-text", { key: 'ed758eafa726ee6801c16535fbba7d05886c21d5', name: "email", label: "Email Address", defaultValue: (_c = this.representativeDefaultValue) === null || _c === void 0 ? void 0 : _c.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '933650753a5fdc6f75db658baf536ce4033e0e6c', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '81ba9debb6c8fd8225c67a0c0a6b8612e87fc3f0', name: "phone", label: "Phone Number", defaultValue: (_d = this.representativeDefaultValue) === null || _d === void 0 ? void 0 : _d.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: '913c766d6eb5fe5f132eafecba91145a6c418dae', class: "col-12 col-md-4" }, h("form-control-date", { key: 'c50e5ad2022906d753b783e7892be8322d80661c', name: "dob_full", label: "Birth Date", defaultValue: (_e = this.representativeDefaultValue) === null || _e === void 0 ? void 0 : _e.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: (e) => updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), h("div", { key: '74492ad88a4962c2abfd04319880edb757d78796', class: "col-12 col-md-8" }, (!((_f = this.representativeDefaultValue) === null || _f === void 0 ? void 0 : _f.ssn_last4) || this.isEditingIdentification) ? (h("form-control-number-masked", { name: "identification_number", label: countryLabels[this.country].idNumberLabel, defaultValue: this.isEditingIdentification ? '' : (_g = this.representativeDefaultValue) === null || _g === void 0 ? void 0 : _g.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: IDENTITY_MASKS[this.country], helpText: countryLabels[this.country].identityHelpText })) : (h("div", null, h("label", { class: "form-label", part: label }, countryLabels[this.country].idNumberLabel), h("div", { class: "input-group mb-3" }, h("input", { type: "text", class: "form-control", part: inputDisabled, value: `****${(_h = this.representativeDefaultValue) === null || _h === void 0 ? void 0 : _h.ssn_last4}`, disabled: true }), h("button", { class: "btn btn-secondary", type: "button", part: buttonSecondary, onClick: () => {
32
32
  this.isEditingIdentification = true;
33
33
  // Clear current value to force validation
34
34
  updateFormValues(this.formController, {
35
35
  identification_number: '',
36
36
  ssn_last4: null
37
37
  });
38
- } }, "Change"))))), h("div", { key: '955bb98fdafe93be1ad56e1ed76b19abb5160ec5', class: "col-12" }, h("justifi-identity-address-form", { key: 'c32b6ffd80e9261567b3adcc4ac35ae8bf2e4d2f', errors: this.errors.address, defaultValues: (_j = this.representativeDefaultValue) === null || _j === void 0 ? void 0 : _j.address, handleFormUpdate: this.onAddressFormUpdate, country: this.country }))))));
38
+ } }, "Change"))))), h("div", { key: 'dd27d90284c7eac1ec619622bf3e25b28360fe4c', class: "col-12" }, h("justifi-identity-address-form", { key: 'fa011614b624b6ad395f304552ff334d64d2c048', errors: this.errors.address, defaultValues: (_j = this.representativeDefaultValue) === null || _j === void 0 ? void 0 : _j.address, handleFormUpdate: this.onAddressFormUpdate, country: this.country }))))));
39
39
  }
40
40
  }, [256, "justifi-business-representative-form-inputs", {
41
41
  "representativeDefaultValue": [8, "representative-default-value"],
@@ -52,7 +52,7 @@ const BusinessRepresentativeFormStep = /*@__PURE__*/ proxyCustomElement(class Bu
52
52
  }
53
53
  }
54
54
  render() {
55
- return (h("justifi-business-representative-form-step-core", { key: '8846ca3e4eb1cbe90155fd097e672a81061da0d3', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, country: this.country, ref: el => this.coreComponent = el }));
55
+ return (h("justifi-business-representative-form-step-core", { key: '93ebeaecfc5eecc8a4c74cbc30760d35d8120183', getBusiness: this.getBusiness, patchBusiness: this.patchBusiness, allowOptionalFields: this.allowOptionalFields, country: this.country, ref: el => this.coreComponent = el }));
56
56
  }
57
57
  static get watchers() { return {
58
58
  "authToken": ["propChanged"],
@@ -45,14 +45,14 @@ const BusinessRepresentative = /*@__PURE__*/ proxyCustomElement(class BusinessRe
45
45
  render() {
46
46
  var _a, _b;
47
47
  const representativeDefaultValue = this.formController.getInitialValues().representative;
48
- return (h(Host, { key: '2d8a5324bfea8bd297b5db5f1e5aaf5d9aa51cb4' }, h("fieldset", { key: 'c25884a7aaa0ffb19316002e8ce9e158a1f0b8e9' }, h("legend", { key: 'af36d94625e4b82c8418079b60cade953ac53e8e', part: heading2 }, "Representative"), h("div", { key: 'c3ad5ca5e1c636db05fa3994c443975ecc363e62', class: "row gy-3" }, h("div", { key: '8b27315feb79cf08d69c5a108426705cb6445c71', class: "col-12 col-md-8" }, h("form-control-text", { key: 'f6ffb2619c6537f99bed5a35602d3d7d68f821ad', name: "name", label: "Full Name", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: 'cde914c872fcfbe0395f358b570d9cefbf14872e', class: "col-12 col-md-4" }, h("form-control-text", { key: 'c70330625ed26d8d5e8d00af7df55571ef4ff32a', name: "title", label: "Title", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.title, errorText: this.errors.title, inputHandler: this.inputHandler })), h("div", { key: '64bba44c0facd07c8648fba1ce31385b33f94513', class: "col-12 col-md-6" }, h("form-control-text", { key: '33c7c4a365f6d7ce43e6b98b9ca3646f2263abd1', name: "email", label: "Email Address", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '5b96d76754918f37fc4f226a5c6656529b77b63f', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: 'c7cf814cf84a0c69e547c0b60f643b7fb78490af', name: "phone", label: "Phone Number", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: 'e5c486242e9fb47c81a28831a9a648bee28e95d5', class: "col-12 col-md-4" }, h("form-control-date", { key: '519cc94edb63b5f465d0ada9fe905e68aca54e1e', name: "dob_full", label: "Birth Date", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: this.onDateOfBirthUpdate })), h("div", { key: 'b971e1320a57061d9d1eae7adb28eda19ce855a4', class: "col-12 col-md-8" }, (!((_a = this.representative) === null || _a === void 0 ? void 0 : _a.ssn_last4) || this.isEditingIdentification) ? (h("form-control-number-masked", { name: "identification_number", label: this.identificationNumberLabel, defaultValue: this.isEditingIdentification ? '' : representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: IDENTITY_MASKS[this.country], helpText: countryLabels[this.country].identityHelpText })) : (h("div", null, h("label", { class: "form-label", part: label }, this.identificationNumberLabel), h("div", { class: "input-group mb-3" }, h("input", { type: "text", class: "form-control", part: inputDisabled, value: `****${(_b = this.representative) === null || _b === void 0 ? void 0 : _b.ssn_last4}`, disabled: true }), h("button", { class: "btn btn-secondary", type: "button", part: buttonSecondary, onClick: () => {
48
+ return (h(Host, { key: '1ce133c6cf1804607b661953bb9d952e6dfdede7' }, h("fieldset", { key: '759e0e7adc03c8814e09effd245e7c25f9fcf536' }, h("legend", { key: '625eb15226d9318075c57c7e13d6b8a04686f00f', part: heading2 }, "Representative"), h("div", { key: '8b11c10cd073c3ffcb7c52f97c463b91a5609afa', class: "row gy-3" }, h("div", { key: '35b0b9a741ee46dfc049ea5914dfa672e4bd64f3', class: "col-12 col-md-8" }, h("form-control-text", { key: '577cb8c5911c5a8364de282ca04e75b045d6de36', name: "name", label: "Full Name", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '3ebaa46f7045f1db417285fe3ef9c19310dbe0c6', class: "col-12 col-md-4" }, h("form-control-text", { key: '69eb59adf3da1d3d48b1d395badd4c76ac0d8383', name: "title", label: "Title", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.title, errorText: this.errors.title, inputHandler: this.inputHandler })), h("div", { key: 'd9ee1e3a4919e5d714f34ff1417677a48101166f', class: "col-12 col-md-6" }, h("form-control-text", { key: 'cc6c0e28dc815985be5309de33957fcd37f53b29', name: "email", label: "Email Address", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: 'd40a0a637c921ca6e8fa4aa347369c029c4569cb', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: 'ce15cd57570e34d14bc596c1b5f7e49d3f33ea36', name: "phone", label: "Phone Number", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: '1504ac209231141b564412af3719b2ab6d84e553', class: "col-12 col-md-4" }, h("form-control-date", { key: '8fe92ed396ab947f439a04e2b67787725b393dcb', name: "dob_full", label: "Birth Date", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: this.onDateOfBirthUpdate })), h("div", { key: 'd8ee89f3f4124ebb222d99a9337db4be7ab7df61', class: "col-12 col-md-8" }, (!((_a = this.representative) === null || _a === void 0 ? void 0 : _a.ssn_last4) || this.isEditingIdentification) ? (h("form-control-number-masked", { name: "identification_number", label: this.identificationNumberLabel, defaultValue: this.isEditingIdentification ? '' : representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: IDENTITY_MASKS[this.country], helpText: countryLabels[this.country].identityHelpText })) : (h("div", null, h("label", { class: "form-label", part: label }, this.identificationNumberLabel), h("div", { class: "input-group mb-3" }, h("input", { type: "text", class: "form-control", part: inputDisabled, value: `****${(_b = this.representative) === null || _b === void 0 ? void 0 : _b.ssn_last4}`, disabled: true }), h("button", { class: "btn btn-secondary", type: "button", part: buttonSecondary, onClick: () => {
49
49
  this.isEditingIdentification = true;
50
50
  // Clear last4 and current value to force validation
51
51
  this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { representative: Object.assign(Object.assign({}, this.formController.values.getValue().representative), { ssn_last4: null, identification_number: '' }) }));
52
- } }, "Change"))))), h("div", { key: '92b0c2109f98ac67a32ad57ca91c4f663d3de307', class: "col-12" }, h("justifi-identity-address-form", { key: '187ac4670413b762f4f78dcde5a33ae2a73f203f', errors: this.errors.address, defaultValues: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate, country: this.country }))))));
52
+ } }, "Change"))))), h("div", { key: '54548bf9622fcc949ebd91db29cc8b877dd7652d', class: "col-12" }, h("justifi-identity-address-form", { key: '9925b7d70bceb8e3d1dafc9313673a5c8a0810a0', errors: this.errors.address, defaultValues: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate, country: this.country }))))));
53
53
  }
54
54
  }, [256, "justifi-business-representative", {
55
- "formController": [16],
55
+ "formController": [8, "form-controller"],
56
56
  "country": [1],
57
57
  "errors": [32],
58
58
  "representative": [32],
@@ -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';
@@ -131,7 +133,7 @@ const BusinessTermsConditionsFormStep = /*@__PURE__*/ proxyCustomElement(class B
131
133
  return (h("a", { href: "https://justifi.tech/merchant-agreement/", target: "_blank", rel: "noopener noreferrer" }, "merchant agreement"));
132
134
  }
133
135
  render() {
134
- return (h("form", { key: 'ed3e493e5c53e303c98e97a15149cffd2865de47' }, h("fieldset", { key: 'a4be899152d7930c2e5ac8b384f866ba313a434f' }, h("legend", { key: '6b473d236380c13ec4186cb5088f976349f18e7c', part: heading2 }, "Terms and Conditions"), h("hr", { key: '4ef52973bed72265e0ef29f0ac6e7a0ac1142f8a' }), h("div", { key: '621d89594d6335d10a746af628ce85df0bf4a71f' }, h("p", { key: '2f13e9851fdfa4b8f678de19261e7df7a7968cc0' }, "Please read and accept the ", this.merchantAgreementLink, " to submit your provisioning request.")), h("br", { key: '7951565f2ad57491cbba0d05d650eb0aea1aea54' }), h("div", { key: 'e7d727efbd5d732b31746d3cc61eeaf9eb4b1ff6', class: "row-gy-3" }, h("div", { key: 'b6d8d501530fbe4de7c11eb46218c618a7aec26f', class: "col-12" }, h("form-control-checkbox", { key: '79030af1a43bc5d1742726b8ea66d6dda3306473', name: "accepted", label: "I agree to the terms and conditions", inputHandler: this.inputHandler, errorText: this.errors.accepted, disabled: this.acceptedTermsBefore, helpText: this.formHelperText, checked: this.acceptedTerms }))))));
136
+ return (h("form", { key: '6fbccc271d16cbb87d8845b06b58fd461e18f770' }, h("fieldset", { key: 'ce5240753aefdb4aa92aa3ba5af4741466702ae6' }, h("legend", { key: '01a3a99f6d9dfe45ae12eb2a603ebc70a25747be', part: heading2 }, "Terms and Conditions"), h("hr", { key: 'b0209b2df034353f663cf4dde25fee51e2906dc4' }), h("div", { key: '1ed270526bc1f6d24d81c485ea6e9459607bac3e' }, h("p", { key: '8c98f939d4db12cad7169debc71fd0ad652cc724' }, "Please read and accept the ", this.merchantAgreementLink, " to submit your provisioning request.")), h("br", { key: '021ffcc28e65e59d8fb81a8a2507cac1ce0d448f' }), h("div", { key: 'e6181b2a5ad6b01be123962bf17282cb1f97fd30', class: "row-gy-3" }, h("div", { key: '82acd8dcfed625e051b93bb8845fb9d11b5e26ce', class: "col-12" }, h("form-control-checkbox", { key: 'c246a348366354dce60ec4dc00e3a4791281a584', name: "accepted", label: "I agree to the terms and conditions", inputHandler: this.inputHandler, errorText: this.errors.accepted, disabled: this.acceptedTermsBefore, helpText: this.formHelperText, checked: this.acceptedTerms }))))));
135
137
  }
136
138
  }, [256, "justifi-business-terms-conditions-form-step", {
137
139
  "authToken": [1, "auth-token"],
@@ -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: 'bd78bece625aec456d3433cc20bff08c16ae147a' }, h("div", { key: '80b32adabf3205beb07609c2758ba8609f22cf87', class: "row gy-3" }, h("div", { key: 'baa7766e30f6d9a9be7d2194d07e2fd53e859642', class: "col-12" }, h("h2", { key: 'bb1bb5a301dfaa5f4ce3cdcef84ff987088f2933', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: '47fd127e97420bcc5aca04e6cdf2067edd7d9a97', class: "col-12" }, h("form-control-textarea", { key: 'c85dd2dc03c872e96c052e347bb698c9c8f17b3b', 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: 'e070c23f89b84d414992b842107531136b2541a6', class: "col-12" }, h("form-control-textarea", { key: '0c3acec921d25929feb496f810a1745debc440fb', 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: 'd40087a09150c9e801b6499604b71b48019a33b7', class: "col-12" }, h("form-control-file-v2", { key: '75c6d00c7a29c60bd81ab2f187f901d6fbe522d1', 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: '6dc5100426e8e4124d19a375250f85f8e15b28d4' }, h("div", { key: 'fb950108be5fd4096a7717c88943938261787f99', class: "row gy-3" }, h("div", { key: '08f85a06288e19939a16d3fa52ef3b3199c56f36', class: "col-12" }, h("h2", { key: 'a585b93921814b1ffbb95c6f9c1de37d4104049b', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: '3b7c620518006738d2e36863b62a72142f167733', class: "col-12" }, h("form-control-textarea", { key: '70a76160b0d29648a9e0598dd5b867a382935e03', 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: 'e06d4c794bad47e366ca702e764307fdab5e33a8', class: "col-12" }, h("form-control-textarea", { key: '1b783920c5a5b94bff60d4b061cc7cc6666cc184', 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: '3cb3371c1d3727e55140ea60a0cff96bc0f42702', class: "col-12" }, h("form-control-file-v2", { key: '738a456bf4653240180963fa7e5ab20a7a4add7c', 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: '406560bd86a894ec7d71ad6872ffedf200b7054d' }, h("div", { key: '5a824cbbd8dcb85fd5a7fab93ddbedd5407ef82d', part: billingForm }, h("form", { key: '2aa1abdcf5428f26edc3db42fc68141765ef5b64' }, h("fieldset", { key: '92844b0b69dda6f379a6509458dd67b2d6ec2c24' }, this.legend && (h("legend", { key: 'bc18d61d3f3d6b70bfece88dfaf540348099b252' }, this.legend)), h("div", { key: '63bc056fdfb6945eb00085ca1bf75fdb81741592', class: "row gy-3" }, h("div", { key: '56af403876ad942fc13570a462aff682d5b9e24e', class: "col-12" }, h("form-control-text", { key: '1478a6802dc5df7318e87f85bd069c6719af3372', 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: '534ce9eacab4eb4f4a93416ba7423747b2dd974c' }, h("div", { key: '8058c1f316e0cb2bcd2baa9c79618e888462630e', part: billingForm }, h("form", { key: '236f6382743dea81738528ba25e37e37fc77e55e' }, h("fieldset", { key: '904f933f1af5a5efe63220bcdd7bcc8ec424d847' }, this.legend && (h("legend", { key: '67f7d157ab1b89284eede05a36d28c9a675391d3' }, this.legend)), h("div", { key: '8c94dfb8cfbebd72c04a5ec77176c7af76c50c29', class: "row gy-3" }, h("div", { key: '605198729376fb9e4dafddc6bc2533dbf59928f8', class: "col-12" }, h("form-control-text", { key: 'ab779bc85376e842c7a886cfff03b664f1da9efd', 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: '4867571cdff85823d48b139c1b6e591ff73ca426' }, h(CardFormSkeleton, { key: '37b584aa3865acc9266500f734c7a10e49fa139d', isReady: this.isReady }), h("div", { key: '09b5e58ed9df060922e2579880b68f022cff2940', class: "container-fluid p-0", style: {
54
+ return (h(Host, { key: 'c97d78cffe3d8452c22218775c1d5ba299df44b8' }, h(CardFormSkeleton, { key: '0d19e9e137044ddc2d65700b2ab1697ad14f9add', isReady: this.isReady }), h("div", { key: '12ba94f7996b035bfa5ccbc9266f240bc465bf29', class: "container-fluid p-0", style: {
55
55
  opacity: this.isReady ? '1' : '0',
56
56
  height: this.isReady ? 'auto' : '0',
57
- } }, h("div", { key: 'bd2f777339e421523cd92c402c4fc066cbde7053', class: "mb-3" }, h("iframe-input", { key: '45b822e5878806ae47f88cf5aa54fe9ae5592eda', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber?tabId=${this.tabId}` })), h("div", { key: 'c9e4d2afd2eef4377356114bc33f1cc29fea46b3', class: "d-flex align-items-start" }, h("div", { key: 'e846e807f6524b9fd6a29a0a0bd2fff74c68f11f', class: "flex-fill me-3" }, h("iframe-input", { key: 'd48a6f05d3ca1341d8060987b53318bf29db4881', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Exp. Month", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth?tabId=${this.tabId}` })), h("div", { key: '9127d9dc4ff3386db9060126a8b0ce2e2125a5c9', class: "flex-fill me-3" }, h("iframe-input", { key: 'ced08ea4750b594b87e19fd6e9ae49b2cb6caa72', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "Exp. Year", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear?tabId=${this.tabId}` })), h("div", { key: '92e07ff8ee6004f64a1e062371fd749771cdb77d', class: "flex-fill" }, h("iframe-input", { key: '487187ddfb9cea24cebc377950f33feb9222b299', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV?tabId=${this.tabId}` }))))));
57
+ } }, h("div", { key: '334b186b9b458b90a3f6abe0a6e020f281abef66', class: "mb-3" }, h("iframe-input", { key: 'f73429270e31b16b4f94f533ea4ccf65fe726c2b', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber?tabId=${this.tabId}` })), h("div", { key: 'bc98478795277a4381ef16ace36b4b07b58045e6', class: "d-flex align-items-start" }, h("div", { key: 'eba7882dd19743a2a8c28546b739b809ca908982', class: "flex-fill me-3" }, h("iframe-input", { key: 'd352fc8ac9e5d4100c57396eb514f8835d8eff14', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Exp. Month", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth?tabId=${this.tabId}` })), h("div", { key: 'bfb3ea5395251c49d42319fb6ad8b5dc13a437aa', class: "flex-fill me-3" }, h("iframe-input", { key: 'b90d7f2d8bdb847ac368fe3cff3a88426c7b7cc1', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "Exp. Year", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear?tabId=${this.tabId}` })), h("div", { key: 'a390b51062dc84b5621fc88dc20f1ce2d8a48767', class: "flex-fill" }, h("iframe-input", { key: '821a97f9496ae1f95c8e5de50b1196e55d7606ca', 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: '0db53b1dace76a8e02bab9f65fdc70e20f440a62' }, h(CardFormSkeleton, { key: 'ea756f1799b01b81a678ce5bd2592551edd81211', isReady: this.isReady }), h("hidden-input", { key: 'a6203630db26bfbb683e2b45174c79d753154eda' }), h("div", { key: 'dbb6328ba3a27106474f6b9af6fc3c347b99ae7d', class: "container-fluid p-0", style: {
65
+ return (h(StyledHost, { key: 'bfd3a4edceeb6ec2b0c3cb0b3b5f6028d605e6f3' }, h(CardFormSkeleton, { key: 'ff332972823a15933b191f4de8be94183dff2aae', isReady: this.isReady }), h("hidden-input", { key: '0e72eb09a7963080857cec955446bc11b283f593' }), h("div", { key: '7718e6f53a8534366c416f956a6e9d7ef4ced572', class: "container-fluid p-0", style: {
66
66
  opacity: this.isReady ? '1' : '0',
67
67
  height: this.isReady ? 'auto' : '0',
68
- } }, h("div", { key: '64055e42612ce94da35022d7e8314ed917f90f8a', class: "mb-3" }, h("iframe-input", { key: 'e99008d298b6ec6e22ff5a4e73042e3e8805f09b', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: '34ed1849877a47fe6ec32f443472fa9c913dae67', class: "row" }, h("div", { key: '39bfdd5c8dd6271315a09cd3022083fe4b45f5ea', class: "col-4 align-content-end" }, h("iframe-input", { key: '981b65ebd142396312d09df8927fd5d08a5dea72', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: 'a6fee6c1cc609b665b3ba9935190a43a118c5e5c', class: "col-4 align-content-end" }, h("iframe-input", { key: '257b738139e182dc6e9f6a6893f8b6a0bc3f6b69', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: '523316b64f673cdf89b5d01c1ecf4cf25ccef246', class: "col-4 align-content-end" }, h("iframe-input", { key: '37305b54e421d759ded57b0f9de7743a07be4b5b', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
68
+ } }, h("div", { key: '36652ef83af5dbcb5908e767f3c5d9ecddf5d789', class: "mb-3" }, h("iframe-input", { key: '5291593fd97294c7bae5efbe1a86306fee6b494d', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: 'd3e26306377981509633a53d90e5f1db30fe0094', class: "row" }, h("div", { key: '2d3f520e496abe8da065ecf6f4232fc5cddcb5b0', class: "col-4 align-content-end" }, h("iframe-input", { key: '8e4c4a19a5bc14f96922fcd975fe295919a61a94', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: 'a10578be32e8e81edf3101964dfcffb3788e4cd4', class: "col-4 align-content-end" }, h("iframe-input", { key: '9c1bfc9485f069b649fd6bafdcda6945722cb972', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: '97119f4cd6677091d78dd5cd65e49c5af78c4d19', class: "col-4 align-content-end" }, h("iframe-input", { key: '226c41001bd76a3c11e536aa71455fe45531275e', 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);