@justifi/webcomponents 6.5.1-rc.5 → 6.7.0

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 (742) hide show
  1. package/LICENSE +21 -0
  2. package/dist/cjs/{Api-BeSnjEuW.js → Api-QUTWjGTy.js} +1 -1
  3. package/dist/cjs/{Refund-Blquw3jZ.js → GooglePay-BwiJ_80p.js} +416 -1
  4. package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -3
  5. package/dist/cjs/{badge-_nY1l5Rq.js → badge-Cc87HAsf.js} +1 -1
  6. package/dist/cjs/bank-account-document-form-inputs_8.cjs.entry.js +207 -0
  7. package/dist/cjs/bank-account-form.cjs.entry.js +5 -5
  8. package/dist/cjs/{business-additional-questions-schema-CE-z5qrr.js → business-additional-questions-schema-Y1mXnwUT.js} +1 -7
  9. package/dist/cjs/business-details-core.cjs.entry.js +3 -3
  10. package/dist/cjs/{business-identity-schema-rMMiHyPz.js → business-identity-schema-D_OO0Suf.js} +1 -1
  11. package/dist/cjs/{business.service-DrBmfEbR.js → business.service-q93NsTG_.js} +2 -2
  12. package/dist/cjs/{button-CARQPDm-.js → button-fUPGXjU_.js} +1 -1
  13. package/dist/cjs/card-form.cjs.entry.js +5 -5
  14. package/dist/cjs/{check-pkg-version-T54BeR4n.js → check-pkg-version-nSgWWvdw.js} +3 -3
  15. package/dist/cjs/{checkout.service-BEU6CI0t.js → checkout.service-CwelwhrT.js} +2 -2
  16. package/dist/cjs/checkouts-list-core.cjs.entry.js +9 -8
  17. package/dist/cjs/{checkouts-table-2fOlhkc4.js → checkouts-table-BBtqxG2F.js} +3 -3
  18. package/dist/cjs/{custom-popper.cjs.entry.js → custom-popper_2.cjs.entry.js} +22 -2
  19. package/dist/cjs/{dispute.service-c0CZxPpe.js → dispute.service-q5ha39uN.js} +2 -2
  20. package/dist/cjs/form-alert_5.cjs.entry.js +7 -7
  21. package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
  22. package/dist/cjs/form-control-date.cjs.entry.js +4 -4
  23. package/dist/cjs/{form-control-error-text-mhOq2Edp.js → form-control-error-text-Dg_65HGK.js} +1 -1
  24. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
  25. package/dist/cjs/{form-control-help-text-BoRpAoX6.js → form-control-help-text-tB5u1-5M.js} +1 -1
  26. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +5 -5
  27. package/dist/cjs/form-control-monetary.cjs.entry.js +6 -6
  28. package/dist/cjs/form-control-number-masked_3.cjs.entry.js +6 -6
  29. package/dist/cjs/form-control-number.cjs.entry.js +5 -5
  30. package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
  31. package/dist/cjs/{form-control-select_3.cjs.entry.js → form-control-select_2.cjs.entry.js} +6 -25
  32. package/dist/cjs/{get-payment-details-D8UQRtX1.js → get-payment-details-DidIAK2i.js} +2 -2
  33. package/dist/cjs/{get-subaccounts-fKcKqvrx.js → get-subaccounts-BE_wcfM7.js} +3 -3
  34. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +5 -5
  35. package/dist/cjs/{header-1-CBO8uDuZ.js → header-1-Bqejh9no.js} +1 -1
  36. package/dist/cjs/{header-3-CPWtI1t0.js → header-3-DQ649Me2.js} +1 -1
  37. package/dist/cjs/hidden-input_2.cjs.entry.js +7 -7
  38. package/dist/cjs/{index-C2ITzalN.js → index-CajjbB9t.js} +1 -0
  39. package/dist/cjs/index.cjs.js +1 -1
  40. package/dist/cjs/{insurance-state-BMHITXoD.js → insurance-state-DsGnIHMM.js} +1 -1
  41. package/dist/cjs/internal-tokenize-payment-method_7.cjs.entry.js +28 -29
  42. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +862 -29
  43. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +9 -9
  44. package/dist/cjs/{justifi-apple-pay_7.cjs.entry.js → justifi-apple-pay_8.cjs.entry.js} +906 -260
  45. package/dist/cjs/justifi-bank-account-billing-form-simple_3.cjs.entry.js +5 -5
  46. package/dist/cjs/justifi-business-details.cjs.entry.js +9 -8
  47. package/dist/cjs/justifi-business-form.cjs.entry.js +14 -13
  48. package/dist/cjs/justifi-checkout.cjs.entry.js +17 -18
  49. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +26 -12
  50. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +13 -12
  51. package/dist/cjs/justifi-details.cjs.entry.js +3 -3
  52. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
  53. package/dist/cjs/justifi-dispute-management.cjs.entry.js +8 -7
  54. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +14 -13
  55. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +8 -7
  56. package/dist/cjs/justifi-order-terminals.cjs.entry.js +14 -13
  57. package/dist/cjs/justifi-payment-details.cjs.entry.js +10 -9
  58. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +3 -3
  59. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +8 -7
  60. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +12 -11
  61. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +4 -4
  62. package/dist/cjs/justifi-payments-list.cjs.entry.js +13 -12
  63. package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -9
  64. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +12 -11
  65. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +4 -4
  66. package/dist/cjs/justifi-payouts-list.cjs.entry.js +14 -13
  67. package/dist/cjs/justifi-refund-payment.cjs.entry.js +15 -14
  68. package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +2 -2
  69. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +12 -13
  70. package/dist/cjs/justifi-skeleton.cjs.entry.js +3 -3
  71. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +14 -13
  72. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +11 -10
  73. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +10 -9
  74. package/dist/cjs/justifi-terminals-list.cjs.entry.js +13 -12
  75. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +1 -1
  76. package/dist/cjs/loader.cjs.js +1 -1
  77. package/dist/cjs/{justifi-owner-form_3.cjs.entry.js → owner-form-core_2.cjs.entry.js} +7 -61
  78. package/dist/cjs/{package-JstJdxIu.js → package-B8gOzTFM.js} +1 -1
  79. package/dist/cjs/pagination-menu.cjs.entry.js +4 -4
  80. package/dist/cjs/{parts-Pb06tUMp.js → parts-BVbaniVM.js} +6 -0
  81. package/dist/cjs/payment-details-core.cjs.entry.js +17 -16
  82. package/dist/cjs/payment-method-option.cjs.entry.js +2 -2
  83. package/dist/cjs/{payment.service-DXbR13Kq.js → payment.service-CyHFdJ7n.js} +2 -2
  84. package/dist/cjs/payments-list-core.cjs.entry.js +10 -9
  85. package/dist/cjs/{payments-status-t4fVj8f9.js → payments-status-BP4u31jU.js} +1 -1
  86. package/dist/cjs/{payments-table-C6SCvqLD.js → payments-table-CWXVhECV.js} +3 -3
  87. package/dist/cjs/payout-details-core.cjs.entry.js +10 -10
  88. package/dist/cjs/{payout.service-D0U6kzXJ.js → payout.service-Half-hdB.js} +2 -2
  89. package/dist/cjs/payouts-list-core.cjs.entry.js +10 -9
  90. package/dist/cjs/{payouts-status-pIO9qZG6.js → payouts-status-CM5Zy-0J.js} +1 -1
  91. package/dist/cjs/{payouts-table-CEnUtKNR.js → payouts-table-ZLTcfkUm.js} +3 -3
  92. package/dist/cjs/{schema-validations-BOiGVUHM.js → schema-validations-Bf2mk2xU.js} +0 -16
  93. package/dist/cjs/{skeleton-BF3HGL9X.js → skeleton-B8dzxFFr.js} +1 -1
  94. package/dist/cjs/{spinner-BBdv3Iq1.js → spinner-jHyLNCGO.js} +1 -1
  95. package/dist/cjs/{table-CfBpaApw.js → table-CrtpRwGN.js} +2 -2
  96. package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
  97. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +9 -8
  98. package/dist/cjs/{terminal-orders-table-BByfBAEK.js → terminal-orders-table-DT53anT3.js} +6 -6
  99. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
  100. package/dist/cjs/{terminal.service-BqXeiERV.js → terminal.service-CFt55QNO.js} +2 -2
  101. package/dist/cjs/terminals-list-core.cjs.entry.js +9 -8
  102. package/dist/cjs/{terminals-table-EeeLeuDN.js → terminals-table-DahpSz98.js} +3 -3
  103. package/dist/cjs/{utils-Cjq3ZCad.js → utils-CMiA4X7s.js} +1 -1
  104. package/dist/cjs/{utils-Bab-tddY.js → utils-D4WPxuzW.js} +0 -7
  105. package/dist/cjs/webcomponents.cjs.js +1 -1
  106. package/dist/collection/api/GooglePay.js +181 -0
  107. package/dist/collection/api/index.js +2 -0
  108. package/dist/collection/api/services/google-pay.service.js +240 -0
  109. package/dist/collection/collection-manifest.json +2 -7
  110. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +6 -7
  111. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +2 -2
  112. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +7 -8
  113. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +6 -7
  114. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
  115. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +1 -1
  116. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +7 -8
  117. package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -1
  118. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +132 -3
  119. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +1 -1
  120. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.js +1 -1
  121. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +1 -1
  122. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.js +1 -1
  123. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +335 -3
  124. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-documents-on-file.js +2 -2
  125. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +133 -3
  126. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +186 -3
  127. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +2 -2
  128. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +129 -3
  129. package/dist/collection/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.js +1 -1
  130. package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +2 -2
  131. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +122 -3
  132. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +1 -1
  133. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
  134. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +1 -1
  135. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
  136. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
  137. package/dist/collection/components/business-forms/schemas/business-additional-questions-schema.js +1 -7
  138. package/dist/collection/components/business-forms/schemas/schema-validations.js +1 -14
  139. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
  140. package/dist/collection/components/checkout/card-form/card-form.js +2 -2
  141. package/dist/collection/components/checkout/checkout.js +2 -2
  142. package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
  143. package/dist/collection/components/checkout/saved-payment-method.js +1 -1
  144. package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
  145. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +72 -2
  146. package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
  147. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  148. package/dist/collection/components/dispute-management/dispute-management.js +1 -1
  149. package/dist/collection/components/dispute-management/dispute-notification.js +2 -2
  150. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  151. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  152. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  153. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  154. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  155. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  156. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  157. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  158. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  159. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  160. package/dist/collection/components/filters/table-filters-menu.js +1 -1
  161. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  162. package/dist/collection/components/modular-checkout/ModularCheckout.js +1 -0
  163. package/dist/collection/components/modular-checkout/modular-checkout.js +47 -8
  164. package/dist/collection/components/modular-checkout/sub-components/bank-account-billing-form-simple.js +1 -1
  165. package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
  166. package/dist/collection/components/modular-checkout/sub-components/card-billing-form-simple.js +1 -1
  167. package/dist/collection/components/modular-checkout/sub-components/card-form.js +2 -2
  168. package/dist/collection/components/modular-checkout/sub-components/google-pay-skeleton.js +10 -0
  169. package/dist/collection/components/modular-checkout/sub-components/google-pay.js +609 -0
  170. package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
  171. package/dist/collection/components/modular-checkout/sub-components/summary.js +1 -1
  172. package/dist/collection/components/order-terminals/order-terminals.js +1 -1
  173. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  174. package/dist/collection/components/payment-details/payment-details-core.js +8 -8
  175. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
  176. package/dist/collection/components/payments-list/payments-list-core.js +1 -1
  177. package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
  178. package/dist/collection/components/payments-list/payments-list.js +1 -1
  179. package/dist/collection/components/payout-details/payout-details-core.js +3 -3
  180. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +1 -1
  181. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  182. package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
  183. package/dist/collection/components/payouts-list/payouts-list.js +1 -1
  184. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
  185. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
  186. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
  187. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  188. package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
  189. package/dist/collection/components/terminals-list/terminals-list.js +1 -1
  190. package/dist/collection/components/tokenize-payment-method/internal-tokenize-payment-method.js +4 -3
  191. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +10 -5
  192. package/dist/collection/store/checkout.store.js +4 -0
  193. package/dist/collection/styles/parts.js +3 -0
  194. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  195. package/dist/collection/ui-components/details/details.js +1 -1
  196. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  197. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  198. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  199. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  200. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  201. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  202. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  203. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  204. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  205. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  206. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  207. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  208. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  209. package/dist/collection/ui-components/google-pay-button.js +251 -0
  210. package/dist/collection/ui-components/pagination-menu/pagination-menu.js +3 -3
  211. package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
  212. package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
  213. package/dist/collection/ui-components/shadow-dom-components/justifi-radio-list-item.js +1 -1
  214. package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
  215. package/dist/docs.json +3039 -3797
  216. package/dist/esm/{Api-DX-IWyBw.js → Api-Dln8a6No.js} +1 -1
  217. package/dist/esm/{Refund-BugCdfRo.js → GooglePay-NNHE-OLJ.js} +406 -2
  218. package/dist/esm/additional-questions-details_5.entry.js +3 -3
  219. package/dist/esm/{badge-Bgosx-DC.js → badge-DtrH25ss.js} +1 -1
  220. package/dist/esm/bank-account-document-form-inputs_8.entry.js +198 -0
  221. package/dist/esm/bank-account-form.entry.js +5 -5
  222. package/dist/esm/{business-additional-questions-schema-QFJEOHF5.js → business-additional-questions-schema-woG5-pgK.js} +1 -7
  223. package/dist/esm/business-details-core.entry.js +3 -3
  224. package/dist/esm/{business-identity-schema-DB_Hhjld.js → business-identity-schema-B7VTDF4j.js} +2 -2
  225. package/dist/esm/{business.service-pWcc3kfX.js → business.service-BrUSam2T.js} +2 -2
  226. package/dist/esm/{button-DBmjN7Ra.js → button-Bpf3VX8Q.js} +1 -1
  227. package/dist/esm/card-form.entry.js +5 -5
  228. package/dist/esm/{check-pkg-version-C8hgGLFx.js → check-pkg-version-CmkUoEAo.js} +3 -3
  229. package/dist/esm/{checkout.service-B4xSV2-X.js → checkout.service-Bxt1qPaY.js} +2 -2
  230. package/dist/esm/checkouts-list-core.entry.js +9 -8
  231. package/dist/esm/{checkouts-table-lgbZpF1o.js → checkouts-table-CB4GdlcZ.js} +3 -3
  232. package/dist/esm/{custom-popper.entry.js → custom-popper_2.entry.js} +22 -3
  233. package/dist/esm/{dispute.service-3Kbbh1J9.js → dispute.service-DYRYxxaT.js} +2 -2
  234. package/dist/esm/form-alert_5.entry.js +7 -7
  235. package/dist/esm/form-control-checkbox.entry.js +5 -5
  236. package/dist/esm/form-control-date.entry.js +4 -4
  237. package/dist/esm/{form-control-error-text-B5LSdUXI.js → form-control-error-text-BZYykCDp.js} +1 -1
  238. package/dist/esm/form-control-file-v2_2.entry.js +5 -5
  239. package/dist/esm/{form-control-help-text-BK9RNOf-.js → form-control-help-text-D-p66Yxr.js} +1 -1
  240. package/dist/esm/form-control-monetary-provisioning.entry.js +5 -5
  241. package/dist/esm/form-control-monetary.entry.js +6 -6
  242. package/dist/esm/form-control-number-masked_3.entry.js +6 -6
  243. package/dist/esm/form-control-number.entry.js +5 -5
  244. package/dist/esm/form-control-radio.entry.js +3 -3
  245. package/dist/esm/{form-control-select_3.entry.js → form-control-select_2.entry.js} +7 -25
  246. package/dist/esm/{get-payment-details-CakzKvOr.js → get-payment-details-BJ1PLhJZ.js} +1 -1
  247. package/dist/esm/{get-subaccounts-Cw1Adtmo.js → get-subaccounts-CzGHjlUF.js} +2 -2
  248. package/dist/esm/gross-payment-chart-core.entry.js +5 -5
  249. package/dist/esm/{header-1-CPF3S2CC.js → header-1-WwkF5F9y.js} +1 -1
  250. package/dist/esm/{header-3-Cah707hu.js → header-3-C5jS39cE.js} +1 -1
  251. package/dist/esm/hidden-input_2.entry.js +7 -7
  252. package/dist/esm/{index-DCIW8z1f.js → index-DkoufM1t.js} +1 -0
  253. package/dist/esm/index.js +1 -1
  254. package/dist/esm/{insurance-state-DRe0g_wf.js → insurance-state-C11WKZU6.js} +1 -1
  255. package/dist/esm/internal-tokenize-payment-method_7.entry.js +17 -18
  256. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +863 -30
  257. package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
  258. package/dist/esm/{justifi-apple-pay_7.entry.js → justifi-apple-pay_8.entry.js} +789 -144
  259. package/dist/esm/justifi-bank-account-billing-form-simple_3.entry.js +5 -5
  260. package/dist/esm/justifi-business-details.entry.js +9 -8
  261. package/dist/esm/justifi-business-form.entry.js +14 -13
  262. package/dist/esm/justifi-checkout.entry.js +10 -11
  263. package/dist/esm/justifi-checkouts-list-filters.entry.js +19 -5
  264. package/dist/esm/justifi-checkouts-list.entry.js +12 -11
  265. package/dist/esm/justifi-details.entry.js +3 -3
  266. package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
  267. package/dist/esm/justifi-dispute-management.entry.js +8 -7
  268. package/dist/esm/justifi-dispute-notification_3.entry.js +14 -13
  269. package/dist/esm/justifi-gross-payment-chart.entry.js +8 -7
  270. package/dist/esm/justifi-order-terminals.entry.js +11 -10
  271. package/dist/esm/justifi-payment-details.entry.js +10 -9
  272. package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -3
  273. package/dist/esm/justifi-payment-provisioning.entry.js +8 -7
  274. package/dist/esm/justifi-payment-transactions-list.entry.js +11 -10
  275. package/dist/esm/justifi-payments-list-filters.entry.js +4 -4
  276. package/dist/esm/justifi-payments-list.entry.js +12 -11
  277. package/dist/esm/justifi-payout-details.entry.js +9 -8
  278. package/dist/esm/justifi-payout-transactions-list.entry.js +11 -10
  279. package/dist/esm/justifi-payouts-list-filters.entry.js +4 -4
  280. package/dist/esm/justifi-payouts-list.entry.js +13 -12
  281. package/dist/esm/justifi-refund-payment.entry.js +11 -10
  282. package/dist/esm/justifi-saved-payment-method.entry.js +2 -2
  283. package/dist/esm/justifi-season-interruption-insurance.entry.js +9 -10
  284. package/dist/esm/justifi-skeleton.entry.js +3 -3
  285. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +6 -5
  286. package/dist/esm/justifi-terminal-orders-list.entry.js +10 -9
  287. package/dist/esm/justifi-terminals-list-filters.entry.js +5 -4
  288. package/dist/esm/justifi-terminals-list.entry.js +12 -11
  289. package/dist/esm/justifi-tokenize-payment-method.entry.js +1 -1
  290. package/dist/esm/loader.js +1 -1
  291. package/dist/esm/{justifi-owner-form_3.entry.js → owner-form-core_2.entry.js} +8 -61
  292. package/dist/esm/{package-DEhd71m_.js → package-CsRppqXL.js} +1 -1
  293. package/dist/esm/pagination-menu.entry.js +4 -4
  294. package/dist/esm/{parts-wtuY7MT2.js → parts-sA8HBfkI.js} +4 -1
  295. package/dist/esm/payment-details-core.entry.js +16 -15
  296. package/dist/esm/payment-method-option.entry.js +2 -2
  297. package/dist/esm/{payment.service-nExZY_sU.js → payment.service-BoGemgMw.js} +2 -2
  298. package/dist/esm/payments-list-core.entry.js +10 -9
  299. package/dist/esm/{payments-status-Dypl6WFL.js → payments-status-CADg1cD0.js} +1 -1
  300. package/dist/esm/{payments-table-CK9BRZEz.js → payments-table-C6zHWwGO.js} +3 -3
  301. package/dist/esm/payout-details-core.entry.js +10 -10
  302. package/dist/esm/{payout.service-B9-JQqU6.js → payout.service-BSG50wqN.js} +2 -2
  303. package/dist/esm/payouts-list-core.entry.js +10 -9
  304. package/dist/esm/{payouts-status-hTCBgpLW.js → payouts-status-4VDQvaYV.js} +1 -1
  305. package/dist/esm/{payouts-table-Dd8IDBBX.js → payouts-table-BU5XbzB9.js} +3 -3
  306. package/dist/esm/{schema-validations-B5sfox_4.js → schema-validations-iamDi5JD.js} +2 -15
  307. package/dist/esm/{skeleton-BmRZRW5K.js → skeleton-Dtt56Fl3.js} +1 -1
  308. package/dist/esm/{spinner-tU4D9iak.js → spinner-DikooWuI.js} +1 -1
  309. package/dist/esm/{table-Cjq1A6mO.js → table-1hqe6s5m.js} +2 -2
  310. package/dist/esm/table-filters-menu.entry.js +3 -3
  311. package/dist/esm/terminal-orders-list-core.entry.js +9 -8
  312. package/dist/esm/{terminal-orders-table-DsrpmD9F.js → terminal-orders-table-BsVBelxB.js} +4 -4
  313. package/dist/esm/terminal-quantity-selector.entry.js +2 -2
  314. package/dist/esm/{terminal.service-DvFiKAKV.js → terminal.service-YKfi6Mr9.js} +2 -2
  315. package/dist/esm/terminals-list-core.entry.js +9 -8
  316. package/dist/esm/{terminals-table-D9okETJr.js → terminals-table-CXJTn-0I.js} +3 -3
  317. package/dist/esm/{utils-CIaHqjQt.js → utils-CDaVtz_6.js} +1 -7
  318. package/dist/esm/{utils-BX7Rjm1M.js → utils-CgFsPVsv.js} +1 -1
  319. package/dist/esm/webcomponents.js +1 -1
  320. package/dist/module/Analytics.js +2 -0
  321. package/dist/module/ApplePay.js +121 -0
  322. package/dist/module/GooglePay.js +184 -0
  323. package/dist/module/ModularCheckout.js +1 -0
  324. package/dist/module/additional-questions.js +2 -2
  325. package/dist/module/additional-statement.js +1 -1
  326. package/dist/module/apple-pay.js +1 -120
  327. package/dist/module/bank-account-billing-form-simple.js +1 -1
  328. package/dist/module/bank-account-document-inputs.js +3 -1
  329. package/dist/module/bank-account-form-inputs-canada2.js +1 -1
  330. package/dist/module/bank-account-form-inputs2.js +1 -1
  331. package/dist/module/bank-account-form.js +3 -3
  332. package/dist/module/bank-account-read-only-value2.js +1 -1
  333. package/dist/module/bank-account.js +2 -2
  334. package/dist/module/business-additional-questions-form-step.js +107 -20
  335. package/dist/module/business-additional-questions-schema.js +1 -7
  336. package/dist/module/business-address-schema.js +1 -1
  337. package/dist/module/business-bank-account-form-step.js +445 -33
  338. package/dist/module/business-core-info-form-step.js +108 -20
  339. package/dist/module/business-core-info-schema.js +1 -1
  340. package/dist/module/business-core-info.js +2 -2
  341. package/dist/module/business-documents-on-file2.js +2 -2
  342. package/dist/module/business-identity-schema.js +1 -1
  343. package/dist/module/business-owners-form-step.js +137 -23
  344. package/dist/module/business-representative-form-inputs.js +2 -2
  345. package/dist/module/business-representative-form-step.js +106 -22
  346. package/dist/module/business-representative.js +3 -3
  347. package/dist/module/business-terms-conditions-form-step.js +3 -1
  348. package/dist/module/business.service.js +2 -0
  349. package/dist/module/cancellation-policy.js +1 -1
  350. package/dist/module/card-billing-form-simple.js +1 -1
  351. package/dist/module/card-form.js +3 -3
  352. package/dist/module/card-form2.js +2 -2
  353. package/dist/module/checkout.service.js +2 -0
  354. package/dist/module/checkout.store.js +4 -0
  355. package/dist/module/checkouts-list-core2.js +5 -3
  356. package/dist/module/custom-popper2.js +2 -2
  357. package/dist/module/customer-details.js +1 -1
  358. package/dist/module/details.js +1 -1
  359. package/dist/module/dispute-management-core.js +1 -1
  360. package/dist/module/dispute-notification.js +2 -2
  361. package/dist/module/dispute-response-actions.js +2 -0
  362. package/dist/module/dispute-response-core.js +1 -1
  363. package/dist/module/dispute-response.js +1 -1
  364. package/dist/module/duplicate-charge.js +1 -1
  365. package/dist/module/electronic-evidence.js +1 -1
  366. package/dist/module/form-address-fields.js +1 -1
  367. package/dist/module/form-control-checkbox2.js +2 -2
  368. package/dist/module/form-control-date2.js +2 -2
  369. package/dist/module/form-control-file-v22.js +1 -1
  370. package/dist/module/form-control-file2.js +2 -2
  371. package/dist/module/form-control-monetary-provisioning2.js +2 -2
  372. package/dist/module/form-control-monetary2.js +2 -2
  373. package/dist/module/form-control-number-masked2.js +2 -2
  374. package/dist/module/form-control-number.js +2 -2
  375. package/dist/module/form-control-radio2.js +2 -2
  376. package/dist/module/form-control-select2.js +2 -2
  377. package/dist/module/form-control-text2.js +2 -2
  378. package/dist/module/form-control-textarea2.js +2 -2
  379. package/dist/module/get-payment-details.js +2 -0
  380. package/dist/module/get-subaccounts.js +2 -0
  381. package/dist/module/google-pay.js +781 -0
  382. package/dist/module/gross-payment-chart-core2.js +2 -2
  383. package/dist/module/hidden-input2.js +1 -1
  384. package/dist/module/identity-address-form.js +1 -1
  385. package/dist/module/iframe-input2.js +3 -3
  386. package/dist/module/internal-tokenize-payment-method2.js +3 -1
  387. package/dist/module/justifi-business-form.js +2 -0
  388. package/dist/module/justifi-button2.js +1 -1
  389. package/dist/module/justifi-checkout.js +46 -40
  390. package/dist/module/justifi-checkouts-list-filters.js +37 -8
  391. package/dist/module/justifi-checkouts-list.js +3 -1
  392. package/dist/module/justifi-dispute-management.js +1 -1
  393. package/dist/module/justifi-google-pay.d.ts +11 -0
  394. package/dist/module/justifi-google-pay.js +6 -0
  395. package/dist/module/justifi-gross-payment-chart.js +2 -0
  396. package/dist/module/justifi-header2.js +1 -1
  397. package/dist/module/justifi-order-terminals.js +4 -2
  398. package/dist/module/justifi-payment-provisioning.js +51 -85
  399. package/dist/module/justifi-payment-transactions-list.js +4 -2
  400. package/dist/module/justifi-payments-list-filters.js +4 -4
  401. package/dist/module/justifi-payments-list.js +3 -1
  402. package/dist/module/justifi-payout-details.js +2 -0
  403. package/dist/module/justifi-payout-transactions-list.js +4 -2
  404. package/dist/module/justifi-payouts-list-filters.js +4 -4
  405. package/dist/module/justifi-payouts-list.js +3 -1
  406. package/dist/module/justifi-radio-list-item2.js +1 -1
  407. package/dist/module/justifi-refund-payment.js +2 -0
  408. package/dist/module/justifi-saved-payment-method.js +1 -1
  409. package/dist/module/justifi-season-interruption-insurance.js +3 -1
  410. package/dist/module/justifi-skeleton.js +1 -1
  411. package/dist/module/justifi-terminal-orders-list-filters.js +6 -4
  412. package/dist/module/justifi-terminal-orders-list.js +3 -1
  413. package/dist/module/justifi-terminals-list-filters.js +4 -2
  414. package/dist/module/justifi-terminals-list.js +3 -1
  415. package/dist/module/justifi-tokenize-payment-method.js +1 -1
  416. package/dist/module/legal-address-form-step.js +95 -18
  417. package/dist/module/legal-address-form.js +2 -2
  418. package/dist/module/modular-checkout.js +46 -6
  419. package/dist/module/owner-form-core2.js +1 -1
  420. package/dist/module/owner-form-inputs2.js +3 -3
  421. package/dist/module/owner-form.js +2 -2
  422. package/dist/module/package.js +1 -1
  423. package/dist/module/pagination-menu2.js +3 -3
  424. package/dist/module/parts.js +4 -1
  425. package/dist/module/payment-details-core2.js +11 -9
  426. package/dist/module/payment-method-option.js +1 -1
  427. package/dist/module/payment-provisioning-actions.js +1 -1
  428. package/dist/module/payment-provisioning-core.js +49 -85
  429. package/dist/module/payment-provisioning-form-buttons.js +1 -1
  430. package/dist/module/payment-provisioning-form-steps.js +49 -85
  431. package/dist/module/payment.service.js +2 -0
  432. package/dist/module/payments-list-core2.js +4 -2
  433. package/dist/module/payout-details-core2.js +4 -4
  434. package/dist/module/payout.service.js +2 -0
  435. package/dist/module/payouts-list-core2.js +4 -2
  436. package/dist/module/plaid.service.js +2 -0
  437. package/dist/module/product-or-service.js +1 -1
  438. package/dist/module/refund-policy.js +1 -1
  439. package/dist/module/save-new-payment-method.js +1 -1
  440. package/dist/module/schema-validations.js +2 -15
  441. package/dist/module/shipping-details.js +1 -1
  442. package/dist/module/summary.js +1 -1
  443. package/dist/module/table-filters-menu2.js +2 -2
  444. package/dist/module/table.js +1 -1
  445. package/dist/module/terminal-orders-list-core2.js +4 -2
  446. package/dist/module/terminal-quantity-selector2.js +1 -1
  447. package/dist/module/terminal.service.js +2 -0
  448. package/dist/module/terminals-list-core2.js +5 -3
  449. package/dist/module/utils2.js +1 -7
  450. package/dist/types/api/Checkout.d.ts +5 -0
  451. package/dist/types/api/GooglePay.d.ts +271 -0
  452. package/dist/types/api/index.d.ts +2 -0
  453. package/dist/types/api/services/google-pay.service.d.ts +60 -0
  454. package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.d.ts +26 -2
  455. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +42 -2
  456. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.d.ts +25 -2
  457. package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.d.ts +21 -2
  458. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.d.ts +37 -2
  459. package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.d.ts +24 -2
  460. package/dist/types/components/business-forms/schemas/business-additional-questions-schema.d.ts +0 -6
  461. package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +3 -21
  462. package/dist/types/components/business-forms/schemas/schema-validations.d.ts +0 -3
  463. package/dist/types/components/checkout/checkout.d.ts +1 -0
  464. package/dist/types/components/checkouts-list/checkouts-list-filters.d.ts +5 -0
  465. package/dist/types/components/modular-checkout/ModularCheckout.d.ts +2 -1
  466. package/dist/types/components/modular-checkout/modular-checkout.d.ts +5 -0
  467. package/dist/types/components/modular-checkout/sub-components/google-pay-skeleton.d.ts +6 -0
  468. package/dist/types/components/modular-checkout/sub-components/google-pay.d.ts +59 -0
  469. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +1 -1
  470. package/dist/types/components.d.ts +194 -282
  471. package/dist/types/store/checkout.store.d.ts +1 -0
  472. package/dist/types/styles/parts.d.ts +3 -0
  473. package/dist/types/ui-components/google-pay-button.d.ts +18 -0
  474. package/dist/webcomponents/index.esm.js +1 -1
  475. package/dist/webcomponents/p-016b3e4c.entry.js +1 -0
  476. package/dist/webcomponents/p-04ec17bb.entry.js +1 -0
  477. package/dist/webcomponents/p-06cae9e2.entry.js +1 -0
  478. package/dist/webcomponents/p-06f81525.entry.js +1 -0
  479. package/dist/webcomponents/p-095cedc5.entry.js +1 -0
  480. package/dist/webcomponents/p-0b7c4ed5.entry.js +1 -0
  481. package/dist/webcomponents/p-0bb616fc.entry.js +1 -0
  482. package/dist/webcomponents/p-0e981c28.entry.js +1 -0
  483. package/dist/webcomponents/p-1575ca68.entry.js +1 -0
  484. package/dist/webcomponents/p-15ceeea7.entry.js +1 -0
  485. package/dist/webcomponents/{p-0ce046fd.entry.js → p-1a327b0e.entry.js} +1 -1
  486. package/dist/webcomponents/p-1e761d96.entry.js +1 -0
  487. package/dist/webcomponents/{p-1edec396.entry.js → p-20e85114.entry.js} +1 -1
  488. package/dist/webcomponents/p-368b37ad.entry.js +1 -0
  489. package/dist/webcomponents/p-36a0af30.entry.js +1 -0
  490. package/dist/webcomponents/p-3a3935a3.entry.js +1 -0
  491. package/dist/webcomponents/p-4d2589b2.entry.js +1 -0
  492. package/dist/webcomponents/{p-de35abb6.entry.js → p-50400c5e.entry.js} +1 -1
  493. package/dist/webcomponents/{p-fe862786.entry.js → p-511e80a4.entry.js} +1 -1
  494. package/dist/webcomponents/p-5996879d.entry.js +1 -0
  495. package/dist/webcomponents/p-5a748e49.entry.js +1 -0
  496. package/dist/webcomponents/p-6454626a.entry.js +1 -0
  497. package/dist/webcomponents/p-66713269.entry.js +1 -0
  498. package/dist/webcomponents/p-679b36b5.entry.js +1 -0
  499. package/dist/webcomponents/{p-cd10cd05.entry.js → p-725319f3.entry.js} +1 -1
  500. package/dist/webcomponents/p-74fea39c.entry.js +1 -0
  501. package/dist/webcomponents/p-77754a65.entry.js +1 -0
  502. package/dist/webcomponents/p-87988b4d.entry.js +1 -0
  503. package/dist/webcomponents/p-88a8741b.entry.js +1 -0
  504. package/dist/webcomponents/{p-4e23116c.entry.js → p-897b794b.entry.js} +3 -3
  505. package/dist/webcomponents/p-899b981b.entry.js +1 -0
  506. package/dist/webcomponents/p-8c4b502d.entry.js +1 -0
  507. package/dist/webcomponents/p-8df30672.entry.js +1 -0
  508. package/dist/webcomponents/p-911b3d63.entry.js +1 -0
  509. package/dist/webcomponents/p-97b8bf5c.entry.js +1 -0
  510. package/dist/webcomponents/p-9b74a642.entry.js +1 -0
  511. package/dist/webcomponents/p-9b8aee30.entry.js +1 -0
  512. package/dist/webcomponents/p-9c1aa22d.entry.js +1 -0
  513. package/dist/webcomponents/p-9e94c9ef.entry.js +1 -0
  514. package/dist/webcomponents/{p-BS7OgSQe.js → p-B09GVew-.js} +1 -1
  515. package/dist/webcomponents/{p-CFevTCAJ.js → p-B4xdk4mG.js} +1 -1
  516. package/dist/webcomponents/{p-BTzt8N0l.js → p-BMJe4lzg.js} +1 -1
  517. package/dist/webcomponents/{p-nrZ9yHcl.js → p-BhqSAzpT.js} +1 -1
  518. package/dist/webcomponents/p-BrRsgB8S.js +1 -0
  519. package/dist/webcomponents/{p-bolTb61p.js → p-C2Senazf.js} +1 -1
  520. package/dist/webcomponents/p-C9VmfRis.js +1 -0
  521. package/dist/webcomponents/{p-CkN7DFFn.js → p-CBbwdoSa.js} +1 -1
  522. package/dist/webcomponents/{p-MQxr_LMC.js → p-CCxsFwC4.js} +1 -1
  523. package/dist/webcomponents/p-CK_XkZku.js +1 -0
  524. package/dist/webcomponents/p-CQGIjIgZ.js +1 -0
  525. package/dist/webcomponents/{p-DkOiS6Zr.js → p-CV8xqdt6.js} +1 -1
  526. package/dist/webcomponents/p-CZ3F1ZAT.js +1 -0
  527. package/dist/webcomponents/p-CgiDds_u.js +1 -0
  528. package/dist/webcomponents/p-CsRppqXL.js +1 -0
  529. package/dist/webcomponents/p-CsgUIrv8.js +1 -0
  530. package/dist/webcomponents/p-D032AB34.js +1 -0
  531. package/dist/webcomponents/{p-KPmnq8xf.js → p-D6bKoyRc.js} +1 -1
  532. package/dist/webcomponents/p-DATDsXcA.js +1 -0
  533. package/dist/webcomponents/{p-C8QOezo8.js → p-DGGjRqDa.js} +1 -1
  534. package/dist/webcomponents/{p-C6wS5-M7.js → p-DISrhs4v.js} +1 -1
  535. package/dist/webcomponents/{p-D1WQG4I7.js → p-DOcRWTul.js} +1 -1
  536. package/dist/webcomponents/{p-BNqo3kt0.js → p-DUmUUj9r.js} +1 -1
  537. package/dist/webcomponents/p-DY_3dcgR.js +1 -0
  538. package/dist/webcomponents/{p-D_IJC4HG.js → p-Dit3fZpU.js} +1 -1
  539. package/dist/webcomponents/p-DkoufM1t.js +1 -0
  540. package/dist/webcomponents/{p-BCPutgAi.js → p-Dlrq1iZf.js} +1 -1
  541. package/dist/webcomponents/p-DmdEjScI.js +1 -0
  542. package/dist/webcomponents/{p-BitGlMSc.js → p-RTAZ4tdd.js} +1 -1
  543. package/dist/webcomponents/p-Ty7R7tsw.js +1 -0
  544. package/dist/webcomponents/{p-DOLBAxYf.js → p-U3nU15el.js} +1 -1
  545. package/dist/webcomponents/p-VRubcA-q.js +1 -0
  546. package/dist/webcomponents/{p-BydKIJVC.js → p-W9WWoLzT.js} +1 -1
  547. package/dist/webcomponents/p-a0b4c42b.entry.js +1 -0
  548. package/dist/webcomponents/p-aa145996.entry.js +1 -0
  549. package/dist/webcomponents/p-b0f0d53c.entry.js +1 -0
  550. package/dist/webcomponents/p-b2a0cbad.entry.js +1 -0
  551. package/dist/webcomponents/p-b5b49e86.entry.js +1 -0
  552. package/dist/webcomponents/p-c0bd4e9a.entry.js +1 -0
  553. package/dist/webcomponents/p-c4585b68.entry.js +1 -0
  554. package/dist/webcomponents/p-c920dc54.entry.js +1 -0
  555. package/dist/webcomponents/p-cdf1e61c.entry.js +1 -0
  556. package/dist/webcomponents/{p-0082f428.entry.js → p-d0c4b0ea.entry.js} +1 -1
  557. package/dist/webcomponents/p-d2981754.entry.js +1 -0
  558. package/dist/webcomponents/p-d9cdd873.entry.js +1 -0
  559. package/dist/webcomponents/p-e4335938.entry.js +1 -0
  560. package/dist/webcomponents/{p-c8f40375.entry.js → p-e805b011.entry.js} +1 -1
  561. package/dist/webcomponents/p-eada0422.entry.js +1 -0
  562. package/dist/webcomponents/p-ef04f334.entry.js +1 -0
  563. package/dist/webcomponents/p-f23428da.entry.js +1 -0
  564. package/dist/webcomponents/p-f30c939f.entry.js +1 -0
  565. package/dist/webcomponents/p-f5dd3fa4.entry.js +1 -0
  566. package/dist/webcomponents/{p-af48a6bb.entry.js → p-f99403d8.entry.js} +1 -1
  567. package/dist/webcomponents/p-fb644da6.entry.js +1 -0
  568. package/dist/webcomponents/p-fc4b27ec.entry.js +1 -0
  569. package/dist/webcomponents/p-fc8f55d7.entry.js +1 -0
  570. package/dist/webcomponents/p-fe43449c.entry.js +1 -0
  571. package/dist/webcomponents/p-fe73b09b.entry.js +1 -0
  572. package/dist/webcomponents/p-ff5981fb.entry.js +1 -0
  573. package/dist/webcomponents/p-giyZ3C4E.js +1 -0
  574. package/dist/webcomponents/p-sA8HBfkI.js +1 -0
  575. package/dist/webcomponents/{p-C8yN3uBj.js → p-yyedWKWX.js} +1 -1
  576. package/dist/webcomponents/webcomponents.esm.js +1 -1
  577. package/package.json +17 -32
  578. package/dist/cjs/bank-account-document-form-inputs_6.cjs.entry.js +0 -132
  579. package/dist/cjs/checkout.store-BA6h-dp2.js +0 -107
  580. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +0 -874
  581. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +0 -34
  582. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +0 -265
  583. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +0 -466
  584. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +0 -307
  585. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +0 -380
  586. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +0 -270
  587. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +0 -276
  588. package/dist/esm/bank-account-document-form-inputs_6.entry.js +0 -125
  589. package/dist/esm/checkout.store-CaS_htQd.js +0 -101
  590. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +0 -867
  591. package/dist/esm/justifi-business-representative-form-inputs.entry.js +0 -32
  592. package/dist/module/business-additional-questions-form-step-core.js +0 -167
  593. package/dist/module/business-bank-account-form-step-core.js +0 -456
  594. package/dist/module/business-core-info-form-step-core.js +0 -173
  595. package/dist/module/business-owners-form-step-core.js +0 -231
  596. package/dist/module/business-representative-form-step-core.js +0 -171
  597. package/dist/module/justifi-additional-questions-form-step-core.d.ts +0 -11
  598. package/dist/module/justifi-additional-questions-form-step-core.js +0 -6
  599. package/dist/module/justifi-business-bank-account-form-step-core.d.ts +0 -11
  600. package/dist/module/justifi-business-bank-account-form-step-core.js +0 -6
  601. package/dist/module/justifi-business-core-info-form-step-core.d.ts +0 -11
  602. package/dist/module/justifi-business-core-info-form-step-core.js +0 -6
  603. package/dist/module/justifi-business-owners-form-step-core.d.ts +0 -11
  604. package/dist/module/justifi-business-owners-form-step-core.js +0 -6
  605. package/dist/module/justifi-business-representative-form-step-core.d.ts +0 -11
  606. package/dist/module/justifi-business-representative-form-step-core.js +0 -6
  607. package/dist/module/justifi-legal-address-form-step-core.d.ts +0 -11
  608. package/dist/module/justifi-legal-address-form-step-core.js +0 -6
  609. package/dist/module/legal-address-form-step-core.js +0 -154
  610. package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.d.ts +0 -38
  611. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.d.ts +0 -52
  612. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +0 -40
  613. package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.d.ts +0 -37
  614. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +0 -50
  615. package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +0 -38
  616. package/dist/webcomponents/p-04b23547.entry.js +0 -1
  617. package/dist/webcomponents/p-04ed045b.entry.js +0 -1
  618. package/dist/webcomponents/p-1193a1ac.entry.js +0 -1
  619. package/dist/webcomponents/p-159d8ae7.entry.js +0 -1
  620. package/dist/webcomponents/p-20608f0c.entry.js +0 -1
  621. package/dist/webcomponents/p-266a9aee.entry.js +0 -1
  622. package/dist/webcomponents/p-2bafa257.entry.js +0 -1
  623. package/dist/webcomponents/p-30f61f44.entry.js +0 -1
  624. package/dist/webcomponents/p-3101565c.entry.js +0 -1
  625. package/dist/webcomponents/p-34aa9298.entry.js +0 -1
  626. package/dist/webcomponents/p-3c38cec5.entry.js +0 -1
  627. package/dist/webcomponents/p-3c40eefe.entry.js +0 -1
  628. package/dist/webcomponents/p-42c3bda4.entry.js +0 -1
  629. package/dist/webcomponents/p-44a94dac.entry.js +0 -1
  630. package/dist/webcomponents/p-48d1bc83.entry.js +0 -1
  631. package/dist/webcomponents/p-4dcbc0af.entry.js +0 -1
  632. package/dist/webcomponents/p-58ae4f9e.entry.js +0 -1
  633. package/dist/webcomponents/p-5a3687bf.entry.js +0 -1
  634. package/dist/webcomponents/p-5c8c88c6.entry.js +0 -1
  635. package/dist/webcomponents/p-614b0adc.entry.js +0 -1
  636. package/dist/webcomponents/p-7081eb35.entry.js +0 -1
  637. package/dist/webcomponents/p-7128920a.entry.js +0 -1
  638. package/dist/webcomponents/p-7218c312.entry.js +0 -1
  639. package/dist/webcomponents/p-73388c68.entry.js +0 -1
  640. package/dist/webcomponents/p-77b76007.entry.js +0 -1
  641. package/dist/webcomponents/p-77bd4fb0.entry.js +0 -1
  642. package/dist/webcomponents/p-7a3d9c24.entry.js +0 -1
  643. package/dist/webcomponents/p-8b6b7e20.entry.js +0 -1
  644. package/dist/webcomponents/p-8c07d9f0.entry.js +0 -1
  645. package/dist/webcomponents/p-8cfda6c1.entry.js +0 -1
  646. package/dist/webcomponents/p-8fcd277c.entry.js +0 -1
  647. package/dist/webcomponents/p-90de8098.entry.js +0 -1
  648. package/dist/webcomponents/p-98b8028e.entry.js +0 -1
  649. package/dist/webcomponents/p-9efd1bce.entry.js +0 -1
  650. package/dist/webcomponents/p-9fef2496.entry.js +0 -1
  651. package/dist/webcomponents/p-B-0a8Xqm.js +0 -1
  652. package/dist/webcomponents/p-B4ZUYyNh.js +0 -1
  653. package/dist/webcomponents/p-Bli6WznP.js +0 -1
  654. package/dist/webcomponents/p-BojLBYsY.js +0 -1
  655. package/dist/webcomponents/p-BpaE8q5f.js +0 -1
  656. package/dist/webcomponents/p-Bqlcv3ZV.js +0 -1
  657. package/dist/webcomponents/p-BuCKkdLM.js +0 -1
  658. package/dist/webcomponents/p-C-2kW6Al.js +0 -1
  659. package/dist/webcomponents/p-CPtsjcdm.js +0 -1
  660. package/dist/webcomponents/p-Ch9cTPyq.js +0 -1
  661. package/dist/webcomponents/p-DCIW8z1f.js +0 -1
  662. package/dist/webcomponents/p-DEhd71m_.js +0 -1
  663. package/dist/webcomponents/p-DU8dqq9U.js +0 -1
  664. package/dist/webcomponents/p-a54b8901.entry.js +0 -1
  665. package/dist/webcomponents/p-a655b996.entry.js +0 -1
  666. package/dist/webcomponents/p-a7f8cacb.entry.js +0 -1
  667. package/dist/webcomponents/p-a9bd4e27.entry.js +0 -1
  668. package/dist/webcomponents/p-aec9185f.entry.js +0 -1
  669. package/dist/webcomponents/p-avgjSJ1d.js +0 -1
  670. package/dist/webcomponents/p-b24a2971.entry.js +0 -1
  671. package/dist/webcomponents/p-bf8cf72d.entry.js +0 -1
  672. package/dist/webcomponents/p-c364c76d.entry.js +0 -1
  673. package/dist/webcomponents/p-c3b71a1f.entry.js +0 -1
  674. package/dist/webcomponents/p-c7MCfTgE.js +0 -1
  675. package/dist/webcomponents/p-cfd858be.entry.js +0 -1
  676. package/dist/webcomponents/p-d1951301.entry.js +0 -1
  677. package/dist/webcomponents/p-d39598e4.entry.js +0 -1
  678. package/dist/webcomponents/p-dc0d3484.entry.js +0 -1
  679. package/dist/webcomponents/p-dgG_o6wN.js +0 -1
  680. package/dist/webcomponents/p-e47a2592.entry.js +0 -1
  681. package/dist/webcomponents/p-e6507b93.entry.js +0 -1
  682. package/dist/webcomponents/p-eb56ba9b.entry.js +0 -1
  683. package/dist/webcomponents/p-ed55d333.entry.js +0 -1
  684. package/dist/webcomponents/p-edcb84bf.entry.js +0 -1
  685. package/dist/webcomponents/p-f0957fca.entry.js +0 -1
  686. package/dist/webcomponents/p-f0fc86ce.entry.js +0 -1
  687. package/dist/webcomponents/p-f223fabb.entry.js +0 -1
  688. package/dist/webcomponents/p-f26db2e6.entry.js +0 -1
  689. package/dist/webcomponents/p-fab28b02.entry.js +0 -1
  690. package/dist/webcomponents/p-wtuY7MT2.js +0 -1
  691. package/dist/webcomponents/p-zNSPsvs3.js +0 -1
  692. package/docs/.eslintrc.cjs +0 -17
  693. package/docs/changelog/index.mdx +0 -17
  694. package/docs/entities/businessdetails/index.mdx +0 -158
  695. package/docs/entities/businessform/index.mdx +0 -241
  696. package/docs/entities/index.mdx +0 -19
  697. package/docs/entities/payment-provisioning/index.mdx +0 -131
  698. package/docs/frameworks/angular/index.mdx +0 -112
  699. package/docs/frameworks/index.mdx +0 -18
  700. package/docs/frameworks/react/index.mdx +0 -125
  701. package/docs/frameworks/vue/index.mdx +0 -102
  702. package/docs/helpers/PartsTable.js +0 -50
  703. package/docs/helpers/PartsTable.ts +0 -55
  704. package/docs/helpers/PropsTable.js +0 -56
  705. package/docs/helpers/PropsTable.ts +0 -63
  706. package/docs/helpers/index.js +0 -4
  707. package/docs/helpers/index.ts +0 -3
  708. package/docs/helpers/version.js +0 -32
  709. package/docs/helpers/version.ts +0 -32
  710. package/docs/introduction/index.mdx +0 -125
  711. package/docs/merchant-tools/checkouts-list/index.mdx +0 -107
  712. package/docs/merchant-tools/gross-payments-chart/index.mdx +0 -81
  713. package/docs/merchant-tools/index.mdx +0 -25
  714. package/docs/merchant-tools/order-terminals/index.mdx +0 -84
  715. package/docs/merchant-tools/payment-details/index.mdx +0 -130
  716. package/docs/merchant-tools/payment-transactions-list/index.mdx +0 -85
  717. package/docs/merchant-tools/payments-list/index.mdx +0 -111
  718. package/docs/merchant-tools/payout-details/index.mdx +0 -90
  719. package/docs/merchant-tools/payout-transactions-list/index.mdx +0 -84
  720. package/docs/merchant-tools/payouts-list/index.mdx +0 -94
  721. package/docs/merchant-tools/terminal-orders-list/index.mdx +0 -85
  722. package/docs/merchant-tools/terminals-list/index.mdx +0 -93
  723. package/docs/modular-checkout/complete-examples/index.mdx +0 -20
  724. package/docs/modular-checkout/docs/index.mdx +0 -32
  725. package/docs/modular-checkout/example/index.mdx +0 -25
  726. package/docs/modular-checkout/index.mdx +0 -25
  727. package/docs/modular-checkout/introduction/index.mdx +0 -100
  728. package/docs/modular-checkout/sub-components/apple-pay.mdx +0 -96
  729. package/docs/modular-checkout/sub-components/bank-account-form.mdx +0 -162
  730. package/docs/modular-checkout/sub-components/card-form.mdx +0 -177
  731. package/docs/modular-checkout/sub-components/index.mdx +0 -23
  732. package/docs/modular-checkout/sub-components/payment-method-options.mdx +0 -85
  733. package/docs/modular-checkout/sub-components/plaid-payment-method.mdx +0 -175
  734. package/docs/modular-checkout/sub-components/saved-payment-methods.mdx +0 -177
  735. package/docs/modular-checkout/sub-components/season-interruption-insurance.mdx +0 -219
  736. package/docs/modular-checkout/sub-components/sezzle-payment-method.mdx +0 -183
  737. package/docs/modular-checkout/sub-components/summary.mdx +0 -107
  738. package/docs/payment-facilitation/dispute-management/index.mdx +0 -98
  739. package/docs/payment-facilitation/index.mdx +0 -21
  740. package/docs/payment-facilitation/refund-payment/index.mdx +0 -229
  741. package/docs/payment-facilitation/tokenize-payment-method/index.mdx +0 -361
  742. package/docs/payment-facilitation/unified-fintech-checkout/342/204/242/index.mdx +0 -164
@@ -2,14 +2,18 @@ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/i
2
2
  import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './Refund.js';
3
3
  import { m as makeGetBusiness, a as makePatchBusiness } from './payment-provisioning-actions.js';
4
4
  import { B as BusinessService } from './business.service.js';
5
- import { d as defineCustomElement$a } from './custom-popper2.js';
6
- import { d as defineCustomElement$9 } from './form-control-date2.js';
7
- import { d as defineCustomElement$8 } from './form-control-number-masked2.js';
8
- import { d as defineCustomElement$7 } from './form-control-select2.js';
9
- import { d as defineCustomElement$6 } from './form-control-text2.js';
10
- import { d as defineCustomElement$5 } from './form-control-tooltip2.js';
11
- import { d as defineCustomElement$4 } from './business-representative-form-inputs.js';
12
- import { d as defineCustomElement$3 } from './business-representative-form-step-core.js';
5
+ import { R as Representative } from './Business.js';
6
+ import { F as FormController } from './form.js';
7
+ import { i as identitySchemaByCountry } from './business-identity-schema.js';
8
+ import { P as PaymentProvisioningLoading } from './payment-provisioning-loading.js';
9
+ import { B as BusinessFormStep } from './event-types2.js';
10
+ import { d as defineCustomElement$9 } from './custom-popper2.js';
11
+ import { d as defineCustomElement$8 } from './form-control-date2.js';
12
+ import { d as defineCustomElement$7 } from './form-control-number-masked2.js';
13
+ import { d as defineCustomElement$6 } from './form-control-select2.js';
14
+ import { d as defineCustomElement$5 } from './form-control-text2.js';
15
+ import { d as defineCustomElement$4 } from './form-control-tooltip2.js';
16
+ import { d as defineCustomElement$3 } from './business-representative-form-inputs.js';
13
17
  import { d as defineCustomElement$2 } from './form-address-fields.js';
14
18
  import { d as defineCustomElement$1 } from './identity-address-form.js';
15
19
 
@@ -20,15 +24,69 @@ const BusinessRepresentativeFormStep = /*@__PURE__*/ proxyCustomElement(class Bu
20
24
  this.__registerHost();
21
25
  }
22
26
  this.errorEvent = createEvent(this, "error-event", 7);
27
+ this.stepCompleteEvent = createEvent(this, "complete-form-step-event", 7);
28
+ this.formLoading = createEvent(this, "formLoading", 7);
29
+ this.errors = {};
30
+ this.representative = {};
31
+ this.isLoading = false;
32
+ this.getData = () => {
33
+ if (!this.getBusiness || !this.formController)
34
+ return;
35
+ this.formLoading.emit(true);
36
+ this.isLoading = true;
37
+ this.getBusiness({
38
+ onSuccess: (response) => {
39
+ this.representative = new Representative(response.data.representative || {});
40
+ this.representative.address.country = this.country;
41
+ this.formController.setInitialValues(Object.assign({}, this.representative));
42
+ },
43
+ onError: ({ error, code, severity }) => {
44
+ this.errorEvent.emit({
45
+ message: error,
46
+ errorCode: code,
47
+ severity: severity
48
+ });
49
+ },
50
+ final: () => {
51
+ this.formLoading.emit(false);
52
+ this.isLoading = false;
53
+ }
54
+ });
55
+ };
56
+ this.sendData = (onSuccess) => {
57
+ let submittedData;
58
+ this.formLoading.emit(true);
59
+ this.patchBusiness({
60
+ payload: this.patchPayload,
61
+ onSuccess: (response) => {
62
+ submittedData = response;
63
+ onSuccess();
64
+ },
65
+ onError: ({ error, code, severity }) => {
66
+ submittedData = error;
67
+ this.errorEvent.emit({
68
+ message: error,
69
+ errorCode: code,
70
+ severity: severity
71
+ });
72
+ },
73
+ final: () => {
74
+ this.stepCompleteEvent.emit({ response: submittedData, formStep: BusinessFormStep.representative });
75
+ this.formLoading.emit(false);
76
+ }
77
+ });
78
+ };
23
79
  }
24
80
  propChanged() {
25
81
  this.initializeApi();
82
+ this.getData();
26
83
  }
27
84
  async validateAndSubmit({ onSuccess }) {
28
- this.coreComponent.validateAndSubmit({ onSuccess });
85
+ this.formController.validateAndSubmit(() => this.sendData(onSuccess));
29
86
  }
30
87
  componentWillLoad() {
31
88
  this.initializeApi();
89
+ this.initializeForm();
32
90
  }
33
91
  initializeApi() {
34
92
  if (this.authToken && this.businessId) {
@@ -51,8 +109,35 @@ const BusinessRepresentativeFormStep = /*@__PURE__*/ proxyCustomElement(class Bu
51
109
  });
52
110
  }
53
111
  }
112
+ initializeForm() {
113
+ const schemaFactory = identitySchemaByCountry[this.country];
114
+ if (!schemaFactory) {
115
+ this.errorEvent.emit({
116
+ message: 'Missing schema for selected country',
117
+ errorCode: ComponentErrorCodes.MISSING_PROPS,
118
+ severity: ComponentErrorSeverity.ERROR,
119
+ });
120
+ return;
121
+ }
122
+ this.formController = new FormController(schemaFactory('representative', this.allowOptionalFields));
123
+ this.getData();
124
+ }
125
+ componentDidLoad() {
126
+ if (!this.formController)
127
+ return;
128
+ this.formController.errors.subscribe(errors => {
129
+ this.errors = Object.assign({}, errors);
130
+ });
131
+ }
132
+ get patchPayload() {
133
+ let formValues = new Representative(this.formController.values.getValue()).payload;
134
+ return { representative: formValues };
135
+ }
54
136
  render() {
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 }));
137
+ if (!this.formController || this.isLoading) {
138
+ return (h(PaymentProvisioningLoading, null));
139
+ }
140
+ return (h("justifi-business-representative-form-inputs", { representativeDefaultValue: this.formController.getInitialValues(), errors: this.errors, formController: this.formController, country: this.country }));
56
141
  }
57
142
  static get watchers() { return {
58
143
  "authToken": ["propChanged"],
@@ -65,6 +150,10 @@ const BusinessRepresentativeFormStep = /*@__PURE__*/ proxyCustomElement(class Bu
65
150
  "country": [1],
66
151
  "getBusiness": [32],
67
152
  "patchBusiness": [32],
153
+ "formController": [32],
154
+ "errors": [32],
155
+ "representative": [32],
156
+ "isLoading": [32],
68
157
  "validateAndSubmit": [64]
69
158
  }, undefined, {
70
159
  "authToken": ["propChanged"],
@@ -74,7 +163,7 @@ function defineCustomElement() {
74
163
  if (typeof customElements === "undefined") {
75
164
  return;
76
165
  }
77
- const components = ["justifi-business-representative-form-step", "custom-popper", "form-control-date", "form-control-number-masked", "form-control-select", "form-control-text", "form-control-tooltip", "justifi-business-representative-form-inputs", "justifi-business-representative-form-step-core", "justifi-form-address-fields", "justifi-identity-address-form"];
166
+ const components = ["justifi-business-representative-form-step", "custom-popper", "form-control-date", "form-control-number-masked", "form-control-select", "form-control-text", "form-control-tooltip", "justifi-business-representative-form-inputs", "justifi-form-address-fields", "justifi-identity-address-form"];
78
167
  components.forEach(tagName => { switch (tagName) {
79
168
  case "justifi-business-representative-form-step":
80
169
  if (!customElements.get(tagName)) {
@@ -82,41 +171,36 @@ function defineCustomElement() {
82
171
  }
83
172
  break;
84
173
  case "custom-popper":
85
- if (!customElements.get(tagName)) {
86
- defineCustomElement$a();
87
- }
88
- break;
89
- case "form-control-date":
90
174
  if (!customElements.get(tagName)) {
91
175
  defineCustomElement$9();
92
176
  }
93
177
  break;
94
- case "form-control-number-masked":
178
+ case "form-control-date":
95
179
  if (!customElements.get(tagName)) {
96
180
  defineCustomElement$8();
97
181
  }
98
182
  break;
99
- case "form-control-select":
183
+ case "form-control-number-masked":
100
184
  if (!customElements.get(tagName)) {
101
185
  defineCustomElement$7();
102
186
  }
103
187
  break;
104
- case "form-control-text":
188
+ case "form-control-select":
105
189
  if (!customElements.get(tagName)) {
106
190
  defineCustomElement$6();
107
191
  }
108
192
  break;
109
- case "form-control-tooltip":
193
+ case "form-control-text":
110
194
  if (!customElements.get(tagName)) {
111
195
  defineCustomElement$5();
112
196
  }
113
197
  break;
114
- case "justifi-business-representative-form-inputs":
198
+ case "form-control-tooltip":
115
199
  if (!customElements.get(tagName)) {
116
200
  defineCustomElement$4();
117
201
  }
118
202
  break;
119
- case "justifi-business-representative-form-step-core":
203
+ case "justifi-business-representative-form-inputs":
120
204
  if (!customElements.get(tagName)) {
121
205
  defineCustomElement$3();
122
206
  }
@@ -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: '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: () => {
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: () => {
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: '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 }))))));
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 }))))));
53
53
  }
54
54
  }, [256, "justifi-business-representative", {
55
- "formController": [8, "form-controller"],
55
+ "formController": [16],
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: '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 }))))));
136
+ return (h("form", { key: '721f3c171358f9450a8b460dafac3c9f7f27727b' }, h("fieldset", { key: 'e151086c528d5e359e4ecd2c33feb01c5571a6ca' }, h("legend", { key: 'ff4ba3bead3ec50cf9736d6a864740e542f42b2d', part: heading2 }, "Terms and Conditions"), h("hr", { key: 'c076bfe230bafbe8db7280f5f708de893c970bf2' }), h("div", { key: 'd2a1e0f4e15077d07fe7de2cb847252990b44bde' }, h("p", { key: '559c4c6d6e27b5fb800984e87097fe080482462d' }, "Please read and accept the ", this.merchantAgreementLink, " to submit your provisioning request.")), h("br", { key: '014b3a7be231c81bd23c35ab212d7ac4e4c1d107' }), h("div", { key: '3ef38ecffd678c36c564836434f0a0da341116af', class: "row-gy-3" }, h("div", { key: 'e715723e19a212628d29fec46ca494b7080dac66', class: "col-12" }, h("form-control-checkbox", { key: '6054f012fa3abacf6b9f6ffe7d7e88444d8a1066', 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: '24d9db9409e2bc6147e73b70b103c86d9c65580d' }, h("div", { key: 'a724a9f96b0cc7f6a38fab82b572962b72ffbf9b', class: "row gy-3" }, h("div", { key: 'ba734334efd7a7fbc7adcc2c8bcb73f80278a413', class: "col-12" }, h("h2", { key: 'f57de791ca5b8f6752ce06460ba813f89f8145f5', class: "h5", part: heading5 }, "Cancellation Policy")), h("div", { key: '86946aa4b4b2615864c3e6053e661564f4eb5658', class: "col-12" }, h("form-control-textarea", { key: '0f996bfd0a1b64effef21418a7813a12f1ad5fcd', label: "Cancellation Policy Disclosure", name: "cancellation_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.cancellation_policy_disclosure, inputHandler: this.inputHandler, errorText: this.errors.cancellation_policy_disclosure })), h("div", { key: 'd46ca79368e4bc1f13e406d0fece0be4b8e33950', class: "col-12" }, h("form-control-textarea", { key: '0d7991cf878e645b80b8aa8b03533dc758d267a9', label: "Cancellation Rebuttal", name: "cancellation_rebuttal", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.cancellation_rebuttal, inputHandler: this.inputHandler, errorText: this.errors.cancellation_rebuttal })), h("div", { key: 'aa89c58ba7263fe7419908fd4964874645b26c3e', class: "col-12" }, h("form-control-file-v2", { key: '7e6020a57b0d804c20e0b2c092bf512912679eb9', label: "Upload Cancellation Policy", name: "cancellation_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.cancellation_policy })))));
45
45
  }
46
46
  }, [256, "justifi-cancellation-policy", {
47
47
  "disputeResponse": [8, "dispute-response"],
@@ -44,7 +44,7 @@ const CardBillingFormSimple = /*@__PURE__*/ proxyCustomElement(class CardBilling
44
44
  }
45
45
  render() {
46
46
  const billingFormDefaultValue = this.formController.getInitialValues();
47
- return (h(StyledHost, { key: '8933182b521ccb4a0717a1febfb5c606c462541b' }, h("div", { key: '18a7a8d9ee86615064c00f648236c71c948f78f9', part: billingForm }, h("form", { key: '734f37d353b9595fefe3d143dafd858c42037a33' }, h("fieldset", { key: 'f42a5d08937a5f24f43952427d0d71557f265ba3' }, this.legend && (h("legend", { key: '30ca4e544597f02e0d4c99f16e863159887bb389' }, this.legend)), h("div", { key: '2a9eef6984d4713f2f49e53d73500385a06c5d7e', class: "row gy-3" }, h("div", { key: '60824de4e51fea493e130162207797123cd02785', class: "col-12" }, h("form-control-text", { key: '02c911ea07afc5e2205f7c16d51a5d32820d2814', name: 'address_postal_code', label: "Postal Code", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 7 }))))))));
47
+ return (h(StyledHost, { key: '1191dac498a26eaa1e553d041185d73a6c83976d' }, h("div", { key: 'bb767072391ecb9f8de3d7312e146892ae75196a', part: billingForm }, h("form", { key: '34994f535186cab1d75a3eec57f0ff449d726507' }, h("fieldset", { key: '5425df6533360185d0e8428bfcf4b9896c32f7c9' }, this.legend && (h("legend", { key: 'db130af085d0e4dfc04ac35b8425111faf67a5b9' }, this.legend)), h("div", { key: 'deef3521156e148936d3c502e5b7de49efa55e7b', class: "row gy-3" }, h("div", { key: 'a520ae53525cc81dfa0c9cd26d3d983fa870f722', class: "col-12" }, h("form-control-text", { key: '27613ef0fe2a2647bf24598da29871cde0af7e55', name: 'address_postal_code', label: "Postal Code", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 7 }))))))));
48
48
  }
49
49
  }, [257, "justifi-card-billing-form-simple", {
50
50
  "legend": [1025],
@@ -1,7 +1,7 @@
1
1
  import { h, proxyCustomElement, HTMLElement, Host } from '@stencil/core/internal/client';
2
2
  import { S as Skeleton } from './skeleton.js';
3
3
  import { w as waitForConfig, c as configState } from './config-state.js';
4
- import { k as generateTabId } from './utils2.js';
4
+ import { j as generateTabId } from './utils2.js';
5
5
  import { d as defineCustomElement$2 } from './iframe-input2.js';
6
6
 
7
7
  const CardFormSkeleton = (props) => {
@@ -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: '663c1f9a452e8d33ccf001044c2f8b1ba041f80e' }, h(CardFormSkeleton, { key: '4c0c267f180ab6c16e0f524631b7fef3c212a2c5', isReady: this.isReady }), h("div", { key: '5ee9adfcb131adbc972ea9c1806886534185d462', class: "container-fluid p-0", style: {
54
+ return (h(Host, { key: '171cb8db5cce1778ef5f590c6b4d72f327c37bad' }, h(CardFormSkeleton, { key: '084ed0d409f1e747a95578060626d1704fefb783', isReady: this.isReady }), h("div", { key: 'ccf225f0f420a22cc1cffb1d7f9dc51fe92612ee', class: "container-fluid p-0", style: {
55
55
  opacity: this.isReady ? '1' : '0',
56
56
  height: this.isReady ? 'auto' : '0',
57
- } }, h("div", { key: 'f1c7b6b7b23870ba0d39d08e04c113f464be2ea9', class: "mb-3" }, h("iframe-input", { key: 'dcd776b12d26c6561d5b630c09783e0c9c71f658', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber?tabId=${this.tabId}` })), h("div", { key: 'f76687d1aad013195aec06f0fec3166aa0d0ba71', class: "d-flex align-items-start" }, h("div", { key: '8321d1eaa1c1fee49106ca8a88f31b723d69d328', class: "flex-fill me-3" }, h("iframe-input", { key: 'f3740ecace8a988bf87475861fc5383920044e15', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Exp. Month", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth?tabId=${this.tabId}` })), h("div", { key: '1b689045613f137cb4dfe41bae400dec27a93ae9', class: "flex-fill me-3" }, h("iframe-input", { key: '91d5b86f0de32c2635d3569dabd17230c1062c28', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "Exp. Year", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear?tabId=${this.tabId}` })), h("div", { key: '78f69077b9cc4c55694ee0dc3cbf43cc09de74a3', class: "flex-fill" }, h("iframe-input", { key: 'af2bb37ec9a2386dac4ebc17f4296e280c865271', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV?tabId=${this.tabId}` }))))));
57
+ } }, h("div", { key: '7e7599c24e95a364f1011ed8f8ba2e387f4bc184', class: "mb-3" }, h("iframe-input", { key: '5ec2f426a232a8c1387e7e54f7321672e16a230c', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber?tabId=${this.tabId}` })), h("div", { key: 'bbf1284e4bd2213cf48eb64b88c5ecd5492c51e5', class: "d-flex align-items-start" }, h("div", { key: '70bf0e98c9c99913773ebcd5b6b9e88679779d6f', class: "flex-fill me-3" }, h("iframe-input", { key: 'b0ed2bbe9a63b83810fa170350cc28e777bc0509', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Exp. Month", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth?tabId=${this.tabId}` })), h("div", { key: '4d6592dc2f6dea2d2d4ddb8667681576817e6c98', class: "flex-fill me-3" }, h("iframe-input", { key: '34dabee2355d51ca1175af9a084188a6d44714df', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "Exp. Year", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear?tabId=${this.tabId}` })), h("div", { key: 'c3afab4dea5e93edca3a0372d397afd8ef937de1', class: "flex-fill" }, h("iframe-input", { key: '0777691de3a8e12338a9c9b967ce3f20f675c6b3', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV?tabId=${this.tabId}` }))))));
58
58
  }
59
59
  }, [256, "card-form", {
60
60
  "isReady": [32],
@@ -62,10 +62,10 @@ const JustifiCardForm = /*@__PURE__*/ proxyCustomElement(class JustifiCardForm e
62
62
  return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
63
63
  }
64
64
  render() {
65
- return (h(StyledHost, { key: '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: 'b0b07a928be767102b59ec93ab0df6296b8418af' }, h(CardFormSkeleton, { key: '03d37e42253a905ece1e6a9b1d654e84665470d6', isReady: this.isReady }), h("hidden-input", { key: '62f657a6c0a4d5b7a7bbf809abeb42eba0d22345' }), h("div", { key: '874cac5eac376c8c4e12d99f760cd3cd487a6521', class: "container-fluid p-0", style: {
66
66
  opacity: this.isReady ? '1' : '0',
67
67
  height: this.isReady ? 'auto' : '0',
68
- } }, h("div", { key: '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: 'dcada2d72eebe506fe4cab8ad6eb959c551e9e2d', class: "mb-3" }, h("iframe-input", { key: '7e784726f8dd0c8b35832646bc99e0d2131c08f9', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: '2384099f3aa18b7d6bbc346f47ba9ff06e5b7e86', class: "row" }, h("div", { key: '5fb523cd3f398894e5c7ee3e8a58d34581492410', class: "col-4 align-content-end" }, h("iframe-input", { key: 'a3b4aa06a5c85162d24e25a5261a9a2cc64a6b82', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: '3ccd6a19fce1c393a8c58534113239c518d51a4f', class: "col-4 align-content-end" }, h("iframe-input", { key: '6d064b868c73b4431b476194602843b0f28729e0', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: '26cd762bec43890e96ab5c6903943b0f4cfa9672', class: "col-4 align-content-end" }, h("iframe-input", { key: '826dfe08347461bc5a94296b181826b70a7d1f6f', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
69
69
  }
70
70
  }, [257, "justifi-card-form", {
71
71
  "isReady": [32],
@@ -2,6 +2,8 @@ import { A as Api } from './Api.js';
2
2
  import './Refund.js';
3
3
  import './Pagination.js';
4
4
  import './Business.js';
5
+ import './ApplePay.js';
6
+ import './GooglePay.js';
5
7
 
6
8
  const api = Api();
7
9
  class CheckoutService {
@@ -9,6 +9,7 @@ const initialState = {
9
9
  },
10
10
  bnplEnabled: false,
11
11
  applePayEnabled: false,
12
+ googlePayEnabled: false,
12
13
  insuranceEnabled: false,
13
14
  bnplProviderApiVersion: '',
14
15
  bnplProviderCheckoutUrl: '',
@@ -66,6 +67,9 @@ function getAvailablePaymentMethodTypes() {
66
67
  if (checkoutStore.applePayEnabled) {
67
68
  methods.push(PAYMENT_METHODS.APPLE_PAY);
68
69
  }
70
+ if (checkoutStore.googlePayEnabled) {
71
+ methods.push(PAYMENT_METHODS.GOOGLE_PAY);
72
+ }
69
73
  if (checkoutStore.bankAccountVerification === true &&
70
74
  !checkoutStore.disableBankAccount) {
71
75
  methods.push(PAYMENT_METHODS.PLAID);
@@ -4,13 +4,15 @@ import './dinero.js';
4
4
  import './Refund.js';
5
5
  import { p as pagingDefaults } from './Pagination.js';
6
6
  import './Business.js';
7
+ import './ApplePay.js';
8
+ import './GooglePay.js';
7
9
  import './details.js';
8
10
  import { T as Table, a as TableWrapper, b as TableComponent, c as TableHead, d as TableHeadRow, e as TableBody, f as TableLoadingState, g as TableEmptyState, h as TableErrorState, i as TableRow, j as TableFoot, k as TableFootRow, l as TableFootCell } from './table.js';
9
11
  import { T as TableClickActions } from './event-types.js';
10
12
  import './justifi-radio-list-item2.js';
11
- import { a as formatDate, d as formatTime } from './utils2.js';
13
+ import { a as formatDate, b as formatTime } from './utils2.js';
12
14
  import { B as Badge, a as BadgeVariant } from './badge.js';
13
- import { w as tableHeadCell, a9 as getAlternateTableCellPart } from './parts.js';
15
+ import { w as tableHeadCell, ac as getAlternateTableCellPart } from './parts.js';
14
16
  import { o as onQueryParamsChange, g as getRequestParams } from './checkouts-list-params-state.js';
15
17
  import { d as defineCustomElement$1 } from './pagination-menu2.js';
16
18
 
@@ -178,7 +180,7 @@ const CheckoutsListCore = /*@__PURE__*/ proxyCustomElement(class CheckoutsListCo
178
180
  return !this.showEmptyState && !this.showErrorState && !this.loading;
179
181
  }
180
182
  render() {
181
- return (h(TableWrapper, { key: 'a227a356ba08e39e4b60849d8615a5b1cd845739' }, h(TableComponent, { key: '51b96d4be5773975397eadfc6c3c0ec983bdb38f' }, h(TableHead, { key: '868cf524b90bcc2671fc487dc5c7f9c71756d24f' }, h(TableHeadRow, { key: '3bc7b727e4e3c8f0a61b55993c965779c0fac73b' }, this.checkoutsTable.columnData.map((column) => column))), h(TableBody, { key: '06adebe1455360d37d3eed7a27af2698b35047b4' }, h(TableLoadingState, { key: '241f49bd2ed6d3548e286de8f75f1cc92ffae23f', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '9739415d15f73457aa5125c85be88566e70d233b', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: '43b1fa74ba01c89b2d22fc238295c343bf6379b6', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '3a4b974a07bbe7d0fe246ad93724be2bec449166' }, h(TableFootRow, { key: '6ec16663674ea87026fc3400d164fa2d9907c35a' }, h(TableFootCell, { key: '1eb2943ba2e6885a1a520430eb257e7499553c80', colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: 'd4719b9e2166d0577e620a5575303294127833a9', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
183
+ return (h(TableWrapper, { key: '408d4e9eab54491ce0cb775815c3e00eeb4854a3' }, h(TableComponent, { key: '52d68b140748feb5b20b01e9056a4f013dc6a4f2' }, h(TableHead, { key: '74d2ed3ab8629f60e5d789d160495dbdfa1d0109' }, h(TableHeadRow, { key: '216c56f85e307b622b682810973ec8fe05156173' }, this.checkoutsTable.columnData.map((column) => column))), h(TableBody, { key: 'c94508c4337cd1381a9caf8ade4f677ef2d62fe3' }, h(TableLoadingState, { key: '2d62155279ca151f77f33321c27c0d68822b1c15', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '4c4d9c73989dabd4213cfc994e74ce0873741de8', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), h(TableErrorState, { key: '423a58df4dfa9e6b52fc41dd8d6f06c8d7cca16c', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: 'd1fbfca88fc702a4c0fae40586c946e3f75220af' }, h(TableFootRow, { key: '9d9c7862bc4d27d70a030d27cb735cb3654ea373' }, h(TableFootCell, { key: '53538be1d8eaf7b66b98476771f1f6d9552ab72d', colSpan: this.checkoutsTable.columnData.length }, h("pagination-menu", { key: '2336a06ecf1eb14719881306ee878105d4b43926', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
182
184
  }
183
185
  static get watchers() { return {
184
186
  "pagingParams": ["updateOnPropChange"],
@@ -1875,7 +1875,7 @@ const CustomPopper = /*@__PURE__*/ proxyCustomElement(class CustomPopper extends
1875
1875
  this.hideEvent.emit();
1876
1876
  }
1877
1877
  render() {
1878
- return (h("div", { key: '8f01710b6c352f39b35c5814cd6a876ab7e088c5' }, h("style", { key: 'e1885fe648eda95a8efa50a8f6cd46a09f59cc61' }, `
1878
+ return (h("div", { key: 'c3ff01a53b15d4678dcbd58e97606885a510a880' }, h("style", { key: 'f239956643a0f5463303992aa2466e37988a124d' }, `
1879
1879
  .popper-content {
1880
1880
  display: none;
1881
1881
  }
@@ -1883,7 +1883,7 @@ const CustomPopper = /*@__PURE__*/ proxyCustomElement(class CustomPopper extends
1883
1883
  display: block;
1884
1884
  z-index: 1030;
1885
1885
  }
1886
- `), h("div", { key: 'b2d5d36d62207fceda79ad2d1d0d0680bee6a366', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: '406218fe16ad4b65e3e80ca467c3c49a462dee18' }))));
1886
+ `), h("div", { key: '7b710736c1ffe73559ef53d9f1525c22785cde2e', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: '116be40554b590b382ea7002f5c442d010059b48' }))));
1887
1887
  }
1888
1888
  }, [260, "custom-popper", {
1889
1889
  "placement": [1],
@@ -43,7 +43,7 @@ const CustomerDetails = /*@__PURE__*/ proxyCustomElement(class CustomerDetails e
43
43
  }
44
44
  render() {
45
45
  var _a, _b, _c, _d, _e;
46
- return (h("div", { key: '4f66d1737416342483855947c8d0bc84633efd1a' }, h("div", { key: '0a7be5af6e92d56bf58ceb5e1a5269163f8a5eef', class: "row gy-3" }, h("div", { key: '0ae8574e9228b7cee09f33595f901a216fad571c', class: "col-12" }, h("h2", { key: '9a025c901262dc362e048a72f3f5d17eaa8bc7a4', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: '8d651d6a4f9f3ebc519e3fd8b6cd03da452f7a5e', class: "col-12" }, h("form-control-text", { key: '00b3d5ffef1d253b75cdba11c26c05fc4b3d3e7d', label: "Full Name", name: "customer_name", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_name, inputHandler: this.inputHandler, errorText: this.errors.customer_name })), h("div", { key: '3494745d7843208abe678662359cf1612b035d2d', class: "col-12" }, h("form-control-text", { key: 'b6822a0f33dab183f717e58b68cd1c95445a62c8', label: "Email", name: "customer_email_address", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.customer_email_address, inputHandler: this.inputHandler, errorText: this.errors.customer_email_address })), h("div", { key: '86f9e759614375d50238fa26756ceac0ebd3d55c', class: "col-12" }, h("form-control-textarea", { key: 'e86f3fcc5a5f31cf46b67d53ee282b16232c0016', label: "Billing Address", name: "customer_billing_address", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.customer_billing_address, inputHandler: this.inputHandler, errorText: this.errors.customer_billing_address })), h("div", { key: 'bda34fee75daeaf9ac91758a096febabe98ddf14', class: "col-12" }, h("form-control-file-v2", { key: '49c40325d8478296a6da2f124114a7a06d29b4c6', label: "Customer Signature", name: "customer_signature", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.customer_signature })), h("div", { key: '8f1b66a41596a3606b5c2f2a0c94844f11aa4b27', class: "col-12" }, h("form-control-file-v2", { key: 'c5c539c9f9cf799a1043330e657a6064510e59ba', label: "Customer Communication", name: "customer_communication", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.customer_communication })))));
46
+ return (h("div", { key: 'b348b17f0b320a540b0496f04572ba1360f4fd15' }, h("div", { key: '376750fbcd6da41a602d6ad5b4a2130dbcce17dc', class: "row gy-3" }, h("div", { key: '2f6134bbd055fdb8afa495e29370a3528b5d8701', class: "col-12" }, h("h2", { key: '7e29aa97b070479bc6df91fe2bd4416a3a2210dd', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: '7f44155fab6f6387fa768af1225c10a63fc3587b', class: "col-12" }, h("form-control-text", { key: '6c38a71cdcf231729d9db144a3936130dc0e0b4d', label: "Full Name", name: "customer_name", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_name, inputHandler: this.inputHandler, errorText: this.errors.customer_name })), h("div", { key: '06c883df8dfa58535c32bcb43e6649537ff0b91c', class: "col-12" }, h("form-control-text", { key: 'eb424a6d80d90d19e7be31323de3ad41ede47c09', label: "Email", name: "customer_email_address", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.customer_email_address, inputHandler: this.inputHandler, errorText: this.errors.customer_email_address })), h("div", { key: 'a7ba05dfc72dabeeb690daff6e9f692488172d15', class: "col-12" }, h("form-control-textarea", { key: '9b47c924dfdd8065d6e456210a2cdaac30376f9b', label: "Billing Address", name: "customer_billing_address", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.customer_billing_address, inputHandler: this.inputHandler, errorText: this.errors.customer_billing_address })), h("div", { key: '37ba310fdd33ffb1fc41a168fb31c4f21a49b568', class: "col-12" }, h("form-control-file-v2", { key: 'e54b14ab429073482f68f8ba259e797be4c41a0f', label: "Customer Signature", name: "customer_signature", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.customer_signature })), h("div", { key: '9084a731a58784355bc543759d6bf50bd6001c52', class: "col-12" }, h("form-control-file-v2", { key: 'bfb40202ff50523583ad8bcc7dc96740495de312', label: "Customer Communication", name: "customer_communication", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.customer_communication })))));
47
47
  }
48
48
  }, [256, "justifi-customer-details", {
49
49
  "disputeResponse": [8, "dispute-response"],
@@ -9,7 +9,7 @@ const Details = /*@__PURE__*/ proxyCustomElement(class Details extends HTMLEleme
9
9
  }
10
10
  }
11
11
  render() {
12
- return (h("div", { key: '026afe404e83a58245d2c0d68b188a5b227933b4' }, this.errorMessage ?
12
+ return (h("div", { key: '3c1c4e729711c6676c176a5a04228ec7ebb7acfa' }, this.errorMessage ?
13
13
  ErrorState(this.errorMessage)
14
14
  :
15
15
  h("main", { class: "p-2" }, h("slot", { name: "head-info" }), h("slot", { name: 'detail-sections' }))));
@@ -70,7 +70,7 @@ const DisputeManagementCore = /*@__PURE__*/ proxyCustomElement(class DisputeMana
70
70
  });
71
71
  }
72
72
  render() {
73
- return (h("div", { key: 'd931098227eb3c8d2a1eb4dd10fd8ce93101f424' }, this.showDisputeResponseForm ? (h("justifi-dispute-response", { disputeId: this.disputeId, disputeResponse: this.dispute.dispute_response, authToken: this.authToken })) : (h("justifi-dispute-notification", { dispute: this.dispute, authToken: this.authToken, isLoading: this.isLoading }))));
73
+ return (h("div", { key: '6374c478bc8907019b48e1a53b0ecb2e171ab2e4' }, this.showDisputeResponseForm ? (h("justifi-dispute-response", { disputeId: this.disputeId, disputeResponse: this.dispute.dispute_response, authToken: this.authToken })) : (h("justifi-dispute-notification", { dispute: this.dispute, authToken: this.authToken, isLoading: this.isLoading }))));
74
74
  }
75
75
  static get watchers() { return {
76
76
  "getDispute": ["updateOnPropChange"]
@@ -59,8 +59,8 @@ const DisputeNotification = /*@__PURE__*/ proxyCustomElement(class DisputeNotifi
59
59
  }
60
60
  render() {
61
61
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
62
- return (h(StyledHost, { key: 'a494374453528ee6033589ed69dd2a0738ff8aaa' }, this.isLoading && (h("div", { key: '436d266650297674d89f1ba2d299bf3ebdf16506', style: { marginBottom: '8px' } }, h(Skeleton, { key: '952e9df74b83809b3a52d629ed05bc54b02754a5', height: '28px', width: '70%', styles: { marginBottom: '16px' } }), h(Skeleton, { key: 'f3dd82b6b941500202404ec1353c2f951f79b642', height: '18px', styles: { marginBottom: '8px' } }), h(Skeleton, { key: '608229cd12404e5e6f7014f955c24f9ff856a14f', height: '18px', styles: { marginBottom: '8px' } }))), ((_a = this.dispute) === null || _a === void 0 ? void 0 : _a.needsResponse) && this.isDueDatePassed() && (h("div", { key: '6d18b253eaa245b9f7b817c3baf473d6f6a31845', part: text }, h("h1", { key: '7f7e30f8c7a9753970980796790b621a6d373548', class: "h4", part: heading4 }, "The due date (", (_b = this.dispute) === null || _b === void 0 ? void 0 :
63
- _b.due_date, ") for this dispute has passed"), h("p", { key: '1c458aecef8ce286b6c2a46e286c57e1276aff04' }, "You can no longer submit evidence to counter this dispute."))), ((_c = this.dispute) === null || _c === void 0 ? void 0 : _c.needsResponse) && !this.isDueDatePassed() && (h("div", { key: 'b3e85abf813bd36da6c952c9ad7c9357504bbc1d', part: text }, h("h1", { key: 'afcbe8f967170bc4abea0c71749a10e1c09937e0', class: "h4", part: heading4 }, "This payment is disputed"), h("p", { key: '30194ebea5f1763286f1a69f8fb2cd8c2c9d2d90' }, "The cardholder is disputing this payment. You may accept this dispute, or proceed to provide evidence in a counter dispute."), h("h2", { key: '991505b018e4ee61b05c9872244163b729ee0cd1', class: "h5" }, "Dispute details"), h("div", { key: 'b94e62444ce05ac0ef6698a4b67f70088c10a9b4', class: "d-table gap-2" }, h("div", { key: '8873c8b0cab9bf5e56add69007e9b281c64dcbf3', class: "d-table-row gap-2" }, h("span", { key: '0c9cf9564277ba952c1b36acc7fa8660ec969266', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Amount"), h("span", { key: '0461b3c75b74e03b60dae12d80526b119d1e74d5', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, formatCurrency((_d = this.dispute) === null || _d === void 0 ? void 0 : _d.amount))), h("div", { key: '074f92623a156b5c431719a8c11870c95377dfc1', class: "d-table-row gap-2" }, h("span", { key: '04e1498ecb4d64f122c27ef0a83c38d843c72cad', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Reason"), h("span", { key: 'fc3c56b35d899c06130b918cf03202cc9f44fa46', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_e = this.dispute) === null || _e === void 0 ? void 0 : _e.reason)), h("div", { key: '13eca44a73967f235a18e2f8818a008f14a96ba2', class: "d-table-row gap-2" }, h("span", { key: '954a86a2f0b77801a7c69c751a2b398f33bb2fe1', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Due Date"), h("span", { key: '21e305a5cdc269f45439671639e3984e68cb75e0', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_f = this.dispute) === null || _f === void 0 ? void 0 : _f.due_date))), h("div", { key: 'cad8b592ab80d24b3d4ce187eb534a336bd36581', class: "d-flex gap-2 mt-4 justify-content-end" }, h(Button, { key: '077df79dae040c41489d1206fffde036aef51954', variant: "secondary", onClick: () => this.acceptDispute() }, "Accept dispute"), h(Button, { key: 'eb26cd7bc9d93c83eefc927c565f321eb3c2bef1', variant: "primary", onClick: () => this.initiateRespondToDispute() }, "Counter dispute")))), ((_g = this.dispute) === null || _g === void 0 ? void 0 : _g.underReview) && (h("div", { key: 'f74d8e95a2ae74e1b59ac414d0a0d5cc43dd0291' }, h("h1", { key: '2404542678c5ad29dd4e3af13edebbace06734d6', class: "h4" }, "This payment is disputed and under review"), h("p", { key: '0027bd32af1b0ab4ffdd42fcc0b21cb7ab55835a' }, "The cardholder is disputing this payment. A counter dispute has been submitted and is under review."))), ((_h = this.dispute) === null || _h === void 0 ? void 0 : _h.won) && (h("div", { key: 'ff335c7dbe7bda7637d1b27a65150785e81361bc' }, h("h1", { key: '36ee4c439d8e1346c115ba6f28e59008ce68d4e1', class: "h4" }, "This payment was disputed"), h("p", { key: '5e6e6869d956f6ea84e64378e4bfaebeb71109b0' }, "The cardholder disputed this payment and the card issuer has settled it in your favor."))), ((_j = this.dispute) === null || _j === void 0 ? void 0 : _j.lost) && (h("div", { key: 'd67894655a47ac5327540c55fdd97db472d34f9d' }, h("h1", { key: 'dec3b5da213071a75183eab6e1521c5c986d3876', class: "h4" }, "This payment was disputed"), h("p", { key: '806eb5f32bddde1c298eba9517c637a7fb69f598' }, "The cardholder disputed this payment and the card issuer has settled it in their favor.")))));
62
+ return (h(StyledHost, { key: '366e2c66e1a31395f1b4a0c0e88173e06eb93313' }, this.isLoading && (h("div", { key: '979832175e729da612028cff34fdf59dc280c677', style: { marginBottom: '8px' } }, h(Skeleton, { key: 'f7fc26c781f2a1f8aef343166eaaca261b72d32c', height: '28px', width: '70%', styles: { marginBottom: '16px' } }), h(Skeleton, { key: '56e792538dd93b77964f7d21300ef45f8da4f7c1', height: '18px', styles: { marginBottom: '8px' } }), h(Skeleton, { key: '94ca86077eef5aebd5b6e402ac2fdd9a980ad4c5', height: '18px', styles: { marginBottom: '8px' } }))), ((_a = this.dispute) === null || _a === void 0 ? void 0 : _a.needsResponse) && this.isDueDatePassed() && (h("div", { key: '7482cc041236218c16ebf12c0799b2dc62266065', part: text }, h("h1", { key: 'a592932abcab4a1f3563cb044fbd37611c8dd20f', class: "h4", part: heading4 }, "The due date (", (_b = this.dispute) === null || _b === void 0 ? void 0 :
63
+ _b.due_date, ") for this dispute has passed"), h("p", { key: '65f41565018e74b20a224789f28a4b0c8c39eb76' }, "You can no longer submit evidence to counter this dispute."))), ((_c = this.dispute) === null || _c === void 0 ? void 0 : _c.needsResponse) && !this.isDueDatePassed() && (h("div", { key: 'a135934182715a851d5d25d5d1485094454d0a4e', part: text }, h("h1", { key: '61d6842599de3d87c833aa58b237490e4a686e4a', class: "h4", part: heading4 }, "This payment is disputed"), h("p", { key: '72c6f7e3639cbd19d25f1aa120d22b3ca56547e1' }, "The cardholder is disputing this payment. You may accept this dispute, or proceed to provide evidence in a counter dispute."), h("h2", { key: '1565a02a4ff6c3e777f08c3c55f5adb52ead464b', class: "h5" }, "Dispute details"), h("div", { key: '73e88ae55460c62a22609de5bc7144485741efd8', class: "d-table gap-2" }, h("div", { key: '9ad5b6375dc161072b9a4a6ed02c845380fad0f9', class: "d-table-row gap-2" }, h("span", { key: '50fc59fd8a3159990d97f4817c4ae4f0ff237a6f', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Amount"), h("span", { key: '2295ed0988667f0d9b4a5c7d1574549909e83512', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, formatCurrency((_d = this.dispute) === null || _d === void 0 ? void 0 : _d.amount))), h("div", { key: '3019fb0949177ac697347e1e5156d980073b5fe6', class: "d-table-row gap-2" }, h("span", { key: '6bb9bd0549246e1545244a1c1d6ba6a2763115e8', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Reason"), h("span", { key: 'e21ffcb4db63cc336f8417a5f23a95ec9a22e07d', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_e = this.dispute) === null || _e === void 0 ? void 0 : _e.reason)), h("div", { key: '8ea8d1734de9014d6eaa40698b7370f2579b1686', class: "d-table-row gap-2" }, h("span", { key: '6f1c114ad77e46c67c661e8a7e0da9404a699afb', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Due Date"), h("span", { key: 'f702aff5516a6fe4de66982214019aa23757e5dd', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_f = this.dispute) === null || _f === void 0 ? void 0 : _f.due_date))), h("div", { key: '9b37b4ca1651c6f5654c284e154a8610491082eb', class: "d-flex gap-2 mt-4 justify-content-end" }, h(Button, { key: '7764276dee017b3802c8e5a099c7a14809a5a9e2', variant: "secondary", onClick: () => this.acceptDispute() }, "Accept dispute"), h(Button, { key: '7d359a4379403683a1ace0a47eded0e6859e198a', variant: "primary", onClick: () => this.initiateRespondToDispute() }, "Counter dispute")))), ((_g = this.dispute) === null || _g === void 0 ? void 0 : _g.underReview) && (h("div", { key: '95357ab08560983952ef5dbbaecbd61a686d627e' }, h("h1", { key: 'dee2b2342d93f970ea42313a67bf7134c980c2c9', class: "h4" }, "This payment is disputed and under review"), h("p", { key: '19c9ad659f69e844c06ca5a235f21265635e9d5b' }, "The cardholder is disputing this payment. A counter dispute has been submitted and is under review."))), ((_h = this.dispute) === null || _h === void 0 ? void 0 : _h.won) && (h("div", { key: '7149f82646d7e06bb5355cdb5fab79e1a1c6d67e' }, h("h1", { key: 'eb074d8a3bff90cbca27a836dc959ae115103896', class: "h4" }, "This payment was disputed"), h("p", { key: 'a7c8ca180bfa9c6421f05f9014d1e10f35b2fdf8' }, "The cardholder disputed this payment and the card issuer has settled it in your favor."))), ((_j = this.dispute) === null || _j === void 0 ? void 0 : _j.lost) && (h("div", { key: '66a1b25a142f78e1d5b0e234232c32f7addbd203' }, h("h1", { key: '7688608c03db8d4d2e1443b39e21ca39e48fdef2', class: "h4" }, "This payment was disputed"), h("p", { key: '0ba1cc45f3b5cbf9c96456a05ba1e781efeb8e2e' }, "The cardholder disputed this payment and the card issuer has settled it in their favor.")))));
64
64
  }
65
65
  }, [257, "justifi-dispute-notification", {
66
66
  "dispute": [16],
@@ -2,6 +2,8 @@ import { A as Api } from './Api.js';
2
2
  import { a as ComponentErrorSeverity } from './Refund.js';
3
3
  import './Pagination.js';
4
4
  import './Business.js';
5
+ import './ApplePay.js';
6
+ import './GooglePay.js';
5
7
  import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
6
8
 
7
9
  const api = Api();
@@ -180,7 +180,7 @@ const DisputeResponseCore = /*@__PURE__*/ proxyCustomElement(class DisputeRespon
180
180
  return this.currentStep === 0;
181
181
  }
182
182
  render() {
183
- return (h("div", { key: 'b23c5bc27b1f657b9211d3a3482ae5b99982754e', class: "row gy-3" }, h("div", { key: 'a630f3c475d6b8026a81724c76340dc4f6088b26', class: "col-12" }, h("h1", { key: 'f4e848277ee8f1ec05ef1b1dfbac0e8872d9d91f', class: "h4", part: heading4 }, "Counter dispute")), h("div", { key: '6f7f21778853a3c1ac173ac79713f5427a226a5b', class: "col-12" }, this.currentStepComponent), h("div", { key: '7354846a446f5677a12a3113b3f4226060a8b86a', class: "col-12" }, h("div", { key: '4fb9dbccff8b004913656c3a130b46a0216dd6bb', class: "d-flex gap-2 mt-4 justify-content-end" }, this.isFirstStep ? (h(Button, { variant: "secondary", onClick: () => this.onCancel(), disabled: this.isLoading, isLoading: this.isLoading }, "Cancel")) : (h(Button, { variant: "secondary", onClick: () => this.onBack(), disabled: this.isLoading, isLoading: this.isLoading }, "Back")), this.isLastStep ? (h(Button, { variant: "primary", onClick: () => this.onSubmit(), disabled: this.isLoading, isLoading: this.isLoading }, "Submit Counter Dispute")) : (h(Button, { variant: "primary", onClick: () => this.onNext(), disabled: this.isLoading, isLoading: this.isLoading }, "Next"))))));
183
+ return (h("div", { key: '123cd5e2c03ac23f591c7c0b70c768acdd9e4932', class: "row gy-3" }, h("div", { key: '22d3cf94fddc2bdc52a122d49c35efb6b94d3670', class: "col-12" }, h("h1", { key: '16e6361626153b51b2d958203419752b65c211e3', class: "h4", part: heading4 }, "Counter dispute")), h("div", { key: 'fef2a0e7d8baa24652d487dc11406fc1678d0beb', class: "col-12" }, this.currentStepComponent), h("div", { key: '5c5fbe7839898450d12a08dc857bfda3471f8478', class: "col-12" }, h("div", { key: 'ee1eec3a34d161706418a2be5cbbf149b3a2cadc', class: "d-flex gap-2 mt-4 justify-content-end" }, this.isFirstStep ? (h(Button, { variant: "secondary", onClick: () => this.onCancel(), disabled: this.isLoading, isLoading: this.isLoading }, "Cancel")) : (h(Button, { variant: "secondary", onClick: () => this.onBack(), disabled: this.isLoading, isLoading: this.isLoading }, "Back")), this.isLastStep ? (h(Button, { variant: "primary", onClick: () => this.onSubmit(), disabled: this.isLoading, isLoading: this.isLoading }, "Submit Counter Dispute")) : (h(Button, { variant: "primary", onClick: () => this.onNext(), disabled: this.isLoading, isLoading: this.isLoading }, "Next"))))));
184
184
  }
185
185
  }, [256, "justifi-dispute-response-core", {
186
186
  "updateDisputeResponse": [16],
@@ -79,7 +79,7 @@ const DisputeResponse = /*@__PURE__*/ proxyCustomElement(class DisputeResponse e
79
79
  }
80
80
  }
81
81
  render() {
82
- return (h(StyledHost, { key: 'ed6376969ab6a686999b8a31376b3c1cc8c7b566' }, h("justifi-dispute-response-core", { key: 'd823732d71613e9e98305d4b7d3c22af0344d209', "onError-event": this.handleErrorEvent, "dispute-id": this.disputeId, disputeResponse: this.disputeResponse, createDisputeEvidence: this.createDisputeEvidence, updateDisputeResponse: this.updateDisputeResponse, submitDisputeResponse: this.submitDisputeResponse })));
82
+ return (h(StyledHost, { key: 'c9a7035e6f28c32602fcb19b4026805d87aa54de' }, h("justifi-dispute-response-core", { key: '9acfee140646d1ed8b46771b353b9d0d71af2c14', "onError-event": this.handleErrorEvent, "dispute-id": this.disputeId, disputeResponse: this.disputeResponse, createDisputeEvidence: this.createDisputeEvidence, updateDisputeResponse: this.updateDisputeResponse, submitDisputeResponse: this.submitDisputeResponse })));
83
83
  }
84
84
  ;
85
85
  static get watchers() { return {
@@ -42,7 +42,7 @@ const DuplicateCharge = /*@__PURE__*/ proxyCustomElement(class DuplicateCharge e
42
42
  }
43
43
  render() {
44
44
  var _a, _b, _c;
45
- return (h("div", { key: '68152308257c9331e3e3e1b8141922634390c91d' }, h("div", { key: '0ff743d3d260272e98f9d9c9219e1465de1c7516', class: "row gy-3" }, h("div", { key: 'c02a18a34320cc8b4574b65f378b8a54207eb01c', class: "col-12" }, h("h2", { key: '254ae07ed42f2c61fed3b0be8cd02f928ac64f92', class: "h5", part: heading5 }, "Duplicate Charge")), h("div", { key: 'dfd97f7c5817bcd14458e4d390736b79651c29db', class: "col-12" }, h("form-control-text", { key: '76c551ab0641c3ebb78c40cdb78bb184911033c9', label: "Original Payment ID", name: "duplicate_charge_original_payment_id", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.duplicate_charge_original_payment_id, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_original_payment_id })), h("div", { key: '1edd78dcefbe32156f27e924e5b032a016dbffc5', class: "col-12" }, h("form-control-textarea", { key: '556829c59b797a79b8bd31d3add791819a2ef84a', label: "Duplicate Charge Explanation", name: "duplicate_charge_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.duplicate_charge_explanation, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_explanation })), h("div", { key: '183a68bf83924559e0032af6a43308466944fdcb', class: "col-12" }, h("form-control-file-v2", { key: 'fa3817f0e2e8ff17d5cdd142ccabc0e539a48d38', label: "Duplicate Charge Documentation", name: "duplicate_charge_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.duplicate_charge_documentation })))));
45
+ return (h("div", { key: 'e47e81701d243ca3d0cbd63752ac8edc02337cf8' }, h("div", { key: 'e8c380c186d957a09910887ffaa1476c55889ae2', class: "row gy-3" }, h("div", { key: '6209bbe1f2b37a0fb7215d9eca5da546f7b07343', class: "col-12" }, h("h2", { key: '4fcc49631c78e5f780b116f6741efbdc8526a81b', class: "h5", part: heading5 }, "Duplicate Charge")), h("div", { key: '8d0a2ebe2fc159af79392decb28775e39e18868a', class: "col-12" }, h("form-control-text", { key: '45e3bfb01b42fdbfa366226bce57f59b33b682e5', label: "Original Payment ID", name: "duplicate_charge_original_payment_id", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.duplicate_charge_original_payment_id, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_original_payment_id })), h("div", { key: '2e2d2c826a068d1ca22b527187b8850c5f92aa80', class: "col-12" }, h("form-control-textarea", { key: '97437cc325d852b9ff4ad1080d7921caac392ad2', label: "Duplicate Charge Explanation", name: "duplicate_charge_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.duplicate_charge_explanation, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_explanation })), h("div", { key: 'bf0afc8eaf9eafd1cf08a1d1efeb1007e66ed1a0', class: "col-12" }, h("form-control-file-v2", { key: '75d18cc087a7765798f51463d2f9e70197cc5374', label: "Duplicate Charge Documentation", name: "duplicate_charge_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.duplicate_charge_documentation })))));
46
46
  }
47
47
  }, [256, "justifi-duplicate-charge", {
48
48
  "disputeResponse": [8, "dispute-response"],
@@ -39,7 +39,7 @@ const ElectronicEvidence = /*@__PURE__*/ proxyCustomElement(class ElectronicEvid
39
39
  }
40
40
  render() {
41
41
  var _a, _b;
42
- return (h("div", { key: '677a04d0eb6000066063a68bfe85d286c5c207fa' }, h("div", { key: 'b231437fc879fa2c24474c498eba17edd34128a3', class: "row gy-3" }, h("div", { key: 'd0cf03d9f5e2de19f63e47fd42f0bec710d44bd1', class: "col-12" }, h("h2", { key: '5343dcbeffdaa14e4605944eef18c5ebf1418a20', class: "h5", part: heading5 }, "Electronic Evidence")), h("div", { key: 'a4b816038465b14e4078b13d46543280b212c676', class: "col-12" }, h("form-control-text", { key: '8cebdd64857d99b8058013df9a10ac007869b998', label: "Purchase IP Address", name: "customer_purchase_ip_address", helpText: "The IP address used by the customer during the purchase.", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_purchase_ip_address, inputHandler: this.inputHandler, errorText: this.errors.customer_purchase_ip_address })), h("div", { key: '637f3221604b415b8ea5c04af800a72dbfa40c4b', class: "col-12" }, h("form-control-file-v2", { key: '89b3db82c57b8673124369e915efa4f0ec3927a8', label: "Activity Logs", name: "activity_log", helpText: "Any server or activity logs that provide evidence of the customer's access to or download of the purchased digital product. This information should encompass IP addresses, relevant timestamps, and any detailed records of activity.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.activity_log })))));
42
+ return (h("div", { key: '6518aa80a07c58e19076a102cc9e319cc3c9ee39' }, h("div", { key: '73444a9bf6008cbb1e6e66945ceca8ee23b996b1', class: "row gy-3" }, h("div", { key: 'b13b7db17bcf0e35a2fec5089bb5a282323587cb', class: "col-12" }, h("h2", { key: '289f212f765d91b9565e2c2024b0adedece833c2', class: "h5", part: heading5 }, "Electronic Evidence")), h("div", { key: '7c4bb450be8746e3024b807ea8dc9f368cbb746c', class: "col-12" }, h("form-control-text", { key: 'b4938d9d1b0869af38d4d74eb61b8f5dda1761e2', label: "Purchase IP Address", name: "customer_purchase_ip_address", helpText: "The IP address used by the customer during the purchase.", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_purchase_ip_address, inputHandler: this.inputHandler, errorText: this.errors.customer_purchase_ip_address })), h("div", { key: '88ce56f5e30a5dae990fcf3ee0816a3636dfe4f9', class: "col-12" }, h("form-control-file-v2", { key: '4890efb2a4c67ec668c12caa53ce0978f6870925', label: "Activity Logs", name: "activity_log", helpText: "Any server or activity logs that provide evidence of the customer's access to or download of the purchased digital product. This information should encompass IP addresses, relevant timestamps, and any detailed records of activity.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.activity_log })))));
43
43
  }
44
44
  }, [256, "justifi-electronic-evidence", {
45
45
  "disputeResponse": [8, "dispute-response"],