@justifi/webcomponents 6.12.7-rc.3 → 6.13.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 (506) hide show
  1. package/LICENSE +21 -0
  2. package/dist/cjs/{Analytics-GYqUuEeO.js → Analytics-DaegoP5G.js} +3 -3
  3. package/dist/cjs/{Api-Bukk55YZ.js → Api-BioDE5he.js} +1 -1
  4. package/dist/cjs/{Plaid-6FYKaSTI.js → Plaid-QLOFOTeC.js} +3 -3
  5. package/dist/cjs/additional-questions-details_5.cjs.entry.js +1 -1
  6. package/dist/cjs/additional-questions-form-step_15.cjs.entry.js +37 -27
  7. package/dist/cjs/additional-questions_5.cjs.entry.js +1 -1
  8. package/dist/cjs/additional-statement_8.cjs.entry.js +8 -8
  9. package/dist/cjs/bank-account-billing-form-simple_4.cjs.entry.js +5 -5
  10. package/dist/cjs/bank-account-document-form-inputs.cjs.entry.js +2 -2
  11. package/dist/cjs/bank-account-form.cjs.entry.js +34 -5
  12. package/dist/cjs/{business-identity-schema-CC1wOwXd.js → business-identity-schema-BA385xf-.js} +3 -3
  13. package/dist/cjs/{business.service-t-p3-gP-.js → business.service-DOGeb2O6.js} +2 -2
  14. package/dist/cjs/card-form.cjs.entry.js +5 -5
  15. package/dist/cjs/{check-pkg-version-wcoV7eK1.js → check-pkg-version-BNGOOokA.js} +1 -1
  16. package/dist/cjs/checkout-actions-CjR16i7o.js +62 -0
  17. package/dist/cjs/{checkout.service-BiLHhmjP.js → checkout.service-Bdr5qUHj.js} +2 -2
  18. package/dist/cjs/{checkout.store-CztwuCnG.js → checkout.store-CZHrIuaP.js} +9 -3
  19. package/dist/cjs/{country-config-Ck-eEeZZ.js → country-config-C1bWmF8P.js} +9 -4
  20. package/dist/cjs/custom-popper_2.cjs.entry.js +2 -2
  21. package/dist/cjs/dispute-notification_2.cjs.entry.js +15 -15
  22. package/dist/cjs/{event-types-DcN23uI_.js → event-types-DWDQKDv4.js} +2 -2
  23. package/dist/cjs/form-address-fields_3.cjs.entry.js +3 -3
  24. package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
  25. package/dist/cjs/form-control-date.cjs.entry.js +2 -2
  26. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
  27. package/dist/cjs/form-control-file.cjs.entry.js +2 -2
  28. package/dist/cjs/form-control-monetary.cjs.entry.js +3 -3
  29. package/dist/cjs/form-control-number_2.cjs.entry.js +3 -3
  30. package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
  31. package/dist/cjs/form-control-select_2.cjs.entry.js +4 -4
  32. package/dist/cjs/{get-business-BqO_Sa6H.js → get-business-CrxvWZh6.js} +2 -2
  33. package/dist/cjs/{get-payment-details-Cs-P5xoW.js → get-payment-details-iCEkGDy4.js} +2 -2
  34. package/dist/cjs/{get-subaccounts-BbiIbUED.js → get-subaccounts-Dgl7ECtg.js} +3 -3
  35. package/dist/cjs/hidden-input_2.cjs.entry.js +6 -6
  36. package/dist/cjs/{insurance-state-Xe2auE-N.js → insurance-state-B-XQRmMs.js} +1 -1
  37. package/dist/cjs/internal-button.cjs.entry.js +1 -1
  38. package/dist/cjs/justifi-apple-pay_11.cjs.entry.js +62 -92
  39. package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +7 -7
  40. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +17 -7
  41. package/dist/cjs/justifi-billing-form-full.cjs.entry.js +1 -1
  42. package/dist/cjs/justifi-billing-form.cjs.entry.js +1 -1
  43. package/dist/cjs/justifi-business-details.cjs.entry.js +9 -9
  44. package/dist/cjs/justifi-business-form.cjs.entry.js +12 -12
  45. package/dist/cjs/justifi-card-billing-form-simple.cjs.entry.js +1 -1
  46. package/dist/cjs/justifi-card-form.cjs.entry.js +7 -7
  47. package/dist/cjs/justifi-checkout-qr-code.cjs.entry.js +3141 -0
  48. package/dist/cjs/justifi-checkout.cjs.entry.js +9 -9
  49. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +4 -4
  50. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +11 -11
  51. package/dist/cjs/justifi-dispute-management.cjs.entry.js +9 -9
  52. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +10 -10
  53. package/dist/cjs/justifi-order-terminals.cjs.entry.js +11 -11
  54. package/dist/cjs/justifi-payment-details.cjs.entry.js +17 -17
  55. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +9 -9
  56. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +9 -9
  57. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +3 -3
  58. package/dist/cjs/justifi-payments-list.cjs.entry.js +10 -10
  59. package/dist/cjs/justifi-payout-details.cjs.entry.js +12 -12
  60. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +9 -9
  61. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +4 -4
  62. package/dist/cjs/justifi-payouts-list.cjs.entry.js +14 -14
  63. package/dist/cjs/justifi-qr-terminal.cjs.entry.js +208 -0
  64. package/dist/cjs/justifi-refund-payment.cjs.entry.js +11 -11
  65. package/dist/cjs/justifi-save-new-payment-method.cjs.entry.js +1 -1
  66. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +9 -9
  67. package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
  68. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +5 -5
  69. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +10 -10
  70. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +3 -3
  71. package/dist/cjs/justifi-terminals-list.cjs.entry.js +13 -13
  72. package/dist/cjs/loader.cjs.js +1 -1
  73. package/dist/cjs/{package-BJUD_YSJ.js → package-BKwTzSig.js} +1 -1
  74. package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
  75. package/dist/cjs/{payment-provisioning-actions-Dnvqbh2N.js → payment-provisioning-actions-B4x7lnyF.js} +9 -9
  76. package/dist/cjs/{payment.service-DWK3fO_g.js → payment.service-a5EL3s2d.js} +2 -2
  77. package/dist/cjs/{payout.service-Cjc3PPfP.js → payout.service-BJtGBHsQ.js} +2 -2
  78. package/dist/cjs/{payouts-status-DluZkb6X.js → payouts-status-viYMBknO.js} +2 -2
  79. package/dist/cjs/{plaid.service-BaHuE_zZ.js → plaid.service-DpiLY-5D.js} +2 -2
  80. package/dist/cjs/radio-list-item.cjs.entry.js +1 -1
  81. package/dist/cjs/save-new-payment-method.cjs.entry.js +2 -2
  82. package/dist/cjs/{schema-validations-DackMxv7.js → schema-validations-C2XsZnqK.js} +2 -2
  83. package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
  84. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
  85. package/dist/cjs/{terminal.service-DmlAGx7U.js → terminal.service-DN2A-bNx.js} +2 -2
  86. package/dist/cjs/{utils-dnVbB8d6.js → utils-BVM6JCW0.js} +1 -1
  87. package/dist/cjs/{utils-BHi4j5rB.js → utils-D1CWnhex.js} +4 -4
  88. package/dist/cjs/webcomponents.cjs.js +1 -1
  89. package/dist/collection/actions/payment/get-payments.js +1 -1
  90. package/dist/collection/actions/refund/refund-actions.js +1 -1
  91. package/dist/collection/actions/terminal/get-terminal-orders.js +1 -1
  92. package/dist/collection/actions/void/void-actions.js +1 -1
  93. package/dist/collection/collection-manifest.json +3 -1
  94. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/additional-questions-form-step.js +1 -1
  95. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
  96. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
  97. package/dist/collection/components/business-forms/payment-provisioning/document-upload/document-upload-options.js +23 -13
  98. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
  99. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-actions.js +7 -7
  100. package/dist/collection/components/business-forms/schemas/business-address-schema.js +1 -1
  101. package/dist/collection/components/business-forms/schemas/schema-helpers.js +1 -1
  102. package/dist/collection/components/business-forms/utils/country-config.js +9 -4
  103. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +30 -2
  104. package/dist/collection/components/checkout/billing-form/bank-account-billing-form-simple.js +1 -1
  105. package/dist/collection/components/checkout/billing-form/card-billing-form-simple.js +1 -1
  106. package/dist/collection/components/checkout/billing-form/justifi-billing-form.js +1 -1
  107. package/dist/collection/components/checkout/card-form/card-form.js +2 -2
  108. package/dist/collection/components/checkout/justifi-checkout.js +21 -2
  109. package/dist/collection/components/checkout/save-new-payment-method/justifi-save-new-payment-method.js +1 -1
  110. package/dist/collection/components/checkout/save-new-payment-method/save-new-payment-method.js +1 -1
  111. package/dist/collection/components/checkout-qr-code/justifi-checkout-qr-code.js +128 -0
  112. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +2 -2
  113. package/dist/collection/components/checkouts-list/justifi-checkouts-list.js +2 -2
  114. package/dist/collection/components/dispute-management/dispute-notification.js +3 -3
  115. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  116. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  117. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  118. package/dist/collection/components/dispute-management/dispute-response/dispute-response-actions.js +3 -3
  119. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  120. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  121. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  122. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  123. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  124. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  125. package/dist/collection/components/dispute-management/justifi-dispute-management.js +1 -1
  126. package/dist/collection/components/filters/table-filters-menu.js +1 -1
  127. package/dist/collection/components/filters/utils.js +1 -1
  128. package/dist/collection/components/gross-payment-chart/chart-utils.js +3 -3
  129. package/dist/collection/components/insurance/insurance-state.js +1 -1
  130. package/dist/collection/components/modular-checkout/justifi-modular-checkout.js +19 -13
  131. package/dist/collection/components/modular-checkout/sub-components/justifi-apple-pay.js +0 -21
  132. package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-billing-form-simple.js +1 -1
  133. package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-form.js +11 -1
  134. package/dist/collection/components/modular-checkout/sub-components/justifi-billing-form-full.js +1 -1
  135. package/dist/collection/components/modular-checkout/sub-components/justifi-card-billing-form-simple.js +1 -1
  136. package/dist/collection/components/modular-checkout/sub-components/justifi-card-form.js +1 -1
  137. package/dist/collection/components/modular-checkout/sub-components/justifi-checkout-summary.js +1 -1
  138. package/dist/collection/components/modular-checkout/sub-components/justifi-google-pay.js +10 -6
  139. package/dist/collection/components/modular-checkout/sub-components/justifi-plaid-payment-method.js +15 -2
  140. package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
  141. package/dist/collection/components/order-terminals/justifi-order-terminals.js +1 -1
  142. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  143. package/dist/collection/components/payment-details/justifi-payment-details.js +8 -8
  144. package/dist/collection/components/payment-transactions-list/justifi-payment-transactions-list.js +1 -1
  145. package/dist/collection/components/payments-list/justifi-payments-list-filters.js +2 -2
  146. package/dist/collection/components/payments-list/justifi-payments-list.js +1 -1
  147. package/dist/collection/components/payout-details/justifi-payout-details.js +3 -3
  148. package/dist/collection/components/payout-transactions-list/justifi-payout-transactions-list.js +1 -1
  149. package/dist/collection/components/payouts-list/justifi-payouts-list-filters.js +2 -2
  150. package/dist/collection/components/payouts-list/justifi-payouts-list.js +4 -4
  151. package/dist/collection/components/qr-terminal/justifi-qr-terminal.js +349 -0
  152. package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list-filters.js +3 -3
  153. package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list.js +2 -2
  154. package/dist/collection/components/terminals-list/justifi-terminals-list-filters.js +1 -1
  155. package/dist/collection/components/terminals-list/justifi-terminals-list.js +4 -4
  156. package/dist/collection/components/tokenize-payment-method/justifi-tokenize-payment-method.js +5 -3
  157. package/dist/collection/store/checkout.store.js +9 -3
  158. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  159. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  160. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  161. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  162. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  163. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  164. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  165. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  166. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  167. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  168. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  169. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  170. package/dist/collection/ui-components/form/hidden-input.js +2 -2
  171. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  172. package/dist/collection/ui-components/internal-button.js +1 -1
  173. package/dist/collection/ui-components/radio-list-item.js +1 -1
  174. package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
  175. package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
  176. package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
  177. package/dist/collection/utils/utils.js +4 -4
  178. package/dist/docs.json +314 -39
  179. package/dist/esm/{Analytics-Bg6T3DQV.js → Analytics-D_HycaxE.js} +3 -3
  180. package/dist/esm/{Api-DMd8hTI-.js → Api-DjAL73GZ.js} +1 -1
  181. package/dist/esm/{Plaid-CeYMgNts.js → Plaid-C8qoMZLV.js} +2 -2
  182. package/dist/esm/additional-questions-details_5.entry.js +1 -1
  183. package/dist/esm/additional-questions-form-step_15.entry.js +37 -27
  184. package/dist/esm/additional-questions_5.entry.js +1 -1
  185. package/dist/esm/additional-statement_8.entry.js +8 -8
  186. package/dist/esm/bank-account-billing-form-simple_4.entry.js +5 -5
  187. package/dist/esm/bank-account-document-form-inputs.entry.js +2 -2
  188. package/dist/esm/bank-account-form.entry.js +34 -5
  189. package/dist/esm/{business-identity-schema-D8L_UfWl.js → business-identity-schema-Csou60ZC.js} +3 -3
  190. package/dist/esm/{business.service-ZN8yGby7.js → business.service-BGXqAyxu.js} +2 -2
  191. package/dist/esm/card-form.entry.js +5 -5
  192. package/dist/esm/{check-pkg-version-BXdtk1fk.js → check-pkg-version-BfrWk42V.js} +1 -1
  193. package/dist/esm/checkout-actions-D8JS2l5e.js +59 -0
  194. package/dist/esm/{checkout.service-D_6Zw77V.js → checkout.service-sHKaW-M0.js} +2 -2
  195. package/dist/esm/{checkout.store-DFnkcDZ8.js → checkout.store-DibfdUMm.js} +9 -3
  196. package/dist/esm/{country-config-BW2dUoTJ.js → country-config-CEJVOOGe.js} +9 -4
  197. package/dist/esm/custom-popper_2.entry.js +2 -2
  198. package/dist/esm/dispute-notification_2.entry.js +15 -15
  199. package/dist/esm/{event-types-DXYUs2vg.js → event-types-ynZLear3.js} +2 -2
  200. package/dist/esm/form-address-fields_3.entry.js +3 -3
  201. package/dist/esm/form-control-checkbox.entry.js +2 -2
  202. package/dist/esm/form-control-date.entry.js +2 -2
  203. package/dist/esm/form-control-file-v2_2.entry.js +3 -3
  204. package/dist/esm/form-control-file.entry.js +2 -2
  205. package/dist/esm/form-control-monetary.entry.js +3 -3
  206. package/dist/esm/form-control-number_2.entry.js +3 -3
  207. package/dist/esm/form-control-radio.entry.js +2 -2
  208. package/dist/esm/form-control-select_2.entry.js +4 -4
  209. package/dist/esm/{get-business-rP66Ger-.js → get-business-DAv_b3vf.js} +2 -2
  210. package/dist/esm/{get-payment-details-zCO59zZz.js → get-payment-details-Bipad3jX.js} +2 -2
  211. package/dist/esm/{get-subaccounts-DUopdVm2.js → get-subaccounts-FqCT2s3S.js} +3 -3
  212. package/dist/esm/hidden-input_2.entry.js +6 -6
  213. package/dist/esm/{insurance-state-CLGc1-_4.js → insurance-state-C5OZqDCT.js} +1 -1
  214. package/dist/esm/internal-button.entry.js +1 -1
  215. package/dist/esm/justifi-apple-pay_11.entry.js +60 -90
  216. package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +7 -7
  217. package/dist/esm/justifi-bank-account-form.entry.js +17 -7
  218. package/dist/esm/justifi-billing-form-full.entry.js +1 -1
  219. package/dist/esm/justifi-billing-form.entry.js +1 -1
  220. package/dist/esm/justifi-business-details.entry.js +9 -9
  221. package/dist/esm/justifi-business-form.entry.js +12 -12
  222. package/dist/esm/justifi-card-billing-form-simple.entry.js +1 -1
  223. package/dist/esm/justifi-card-form.entry.js +7 -7
  224. package/dist/esm/justifi-checkout-qr-code.entry.js +3139 -0
  225. package/dist/esm/justifi-checkout.entry.js +9 -9
  226. package/dist/esm/justifi-checkouts-list-filters.entry.js +4 -4
  227. package/dist/esm/justifi-checkouts-list.entry.js +11 -11
  228. package/dist/esm/justifi-dispute-management.entry.js +9 -9
  229. package/dist/esm/justifi-gross-payment-chart.entry.js +10 -10
  230. package/dist/esm/justifi-order-terminals.entry.js +11 -11
  231. package/dist/esm/justifi-payment-details.entry.js +17 -17
  232. package/dist/esm/justifi-payment-provisioning.entry.js +9 -9
  233. package/dist/esm/justifi-payment-transactions-list.entry.js +9 -9
  234. package/dist/esm/justifi-payments-list-filters.entry.js +3 -3
  235. package/dist/esm/justifi-payments-list.entry.js +10 -10
  236. package/dist/esm/justifi-payout-details.entry.js +12 -12
  237. package/dist/esm/justifi-payout-transactions-list.entry.js +9 -9
  238. package/dist/esm/justifi-payouts-list-filters.entry.js +4 -4
  239. package/dist/esm/justifi-payouts-list.entry.js +14 -14
  240. package/dist/esm/justifi-qr-terminal.entry.js +206 -0
  241. package/dist/esm/justifi-refund-payment.entry.js +11 -11
  242. package/dist/esm/justifi-save-new-payment-method.entry.js +1 -1
  243. package/dist/esm/justifi-season-interruption-insurance.entry.js +9 -9
  244. package/dist/esm/justifi-skeleton.entry.js +1 -1
  245. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +5 -5
  246. package/dist/esm/justifi-terminal-orders-list.entry.js +10 -10
  247. package/dist/esm/justifi-terminals-list-filters.entry.js +3 -3
  248. package/dist/esm/justifi-terminals-list.entry.js +13 -13
  249. package/dist/esm/loader.js +1 -1
  250. package/dist/esm/{package-DSjpDUHk.js → package-DSavNeRB.js} +1 -1
  251. package/dist/esm/payment-method-option.entry.js +1 -1
  252. package/dist/esm/{payment-provisioning-actions-BfMdBzzh.js → payment-provisioning-actions-DI3QUsjh.js} +9 -9
  253. package/dist/esm/{payment.service-CRgN4aGV.js → payment.service-wSNYSRyl.js} +2 -2
  254. package/dist/esm/{payout.service-B_APc0x_.js → payout.service-CTAksNmD.js} +2 -2
  255. package/dist/esm/{payouts-status-klusV0rp.js → payouts-status-CeZoirpf.js} +2 -2
  256. package/dist/esm/{plaid.service-DbrHt5kj.js → plaid.service-5EpJEdwX.js} +2 -2
  257. package/dist/esm/radio-list-item.entry.js +1 -1
  258. package/dist/esm/save-new-payment-method.entry.js +2 -2
  259. package/dist/esm/{schema-validations-CjqWFLKt.js → schema-validations-CySYE883.js} +2 -2
  260. package/dist/esm/table-filters-menu.entry.js +1 -1
  261. package/dist/esm/terminal-quantity-selector.entry.js +1 -1
  262. package/dist/esm/{terminal.service-B5ezhIvW.js → terminal.service-xjfU0mJT.js} +2 -2
  263. package/dist/esm/{utils-BTtxWI2r.js → utils-CcA8Y5hs.js} +4 -4
  264. package/dist/esm/{utils-CfBIEaJJ.js → utils-myniydlM.js} +1 -1
  265. package/dist/esm/webcomponents.js +1 -1
  266. package/dist/module/Plaid.js +1 -1
  267. package/dist/module/additional-questions-form-step2.js +1 -1
  268. package/dist/module/additional-statement2.js +1 -1
  269. package/dist/module/bank-account-billing-form-simple2.js +1 -1
  270. package/dist/module/bank-account-form2.js +30 -2
  271. package/dist/module/business-address-schema.js +1 -1
  272. package/dist/module/business-core-info-form-step2.js +1 -1
  273. package/dist/module/business-representative-form-step2.js +1 -1
  274. package/dist/module/cancellation-policy2.js +1 -1
  275. package/dist/module/card-billing-form-simple2.js +1 -1
  276. package/dist/module/card-form2.js +2 -2
  277. package/dist/module/checkout-actions.js +59 -0
  278. package/dist/module/checkout.store.js +9 -3
  279. package/dist/module/country-config.js +9 -4
  280. package/dist/module/custom-popper2.js +2 -2
  281. package/dist/module/customer-details2.js +1 -1
  282. package/dist/module/dispute-notification2.js +3 -3
  283. package/dist/module/dispute-response2.js +1 -1
  284. package/dist/module/document-upload-form-step2.js +24 -14
  285. package/dist/module/duplicate-charge2.js +1 -1
  286. package/dist/module/electronic-evidence2.js +1 -1
  287. package/dist/module/event-types3.js +3 -3
  288. package/dist/module/form-control-checkbox2.js +2 -2
  289. package/dist/module/form-control-date2.js +2 -2
  290. package/dist/module/form-control-file-v22.js +1 -1
  291. package/dist/module/form-control-file2.js +2 -2
  292. package/dist/module/form-control-monetary2.js +2 -2
  293. package/dist/module/form-control-number-masked2.js +2 -2
  294. package/dist/module/form-control-number2.js +2 -2
  295. package/dist/module/form-control-radio2.js +2 -2
  296. package/dist/module/form-control-select2.js +2 -2
  297. package/dist/module/form-control-text2.js +2 -2
  298. package/dist/module/form-control-textarea2.js +2 -2
  299. package/dist/module/get-payment-details.js +1 -1
  300. package/dist/module/hidden-input2.js +2 -2
  301. package/dist/module/iframe-input2.js +3 -3
  302. package/dist/module/insurance-state.js +1 -1
  303. package/dist/module/internal-button2.js +1 -1
  304. package/dist/module/justifi-apple-pay2.js +0 -2
  305. package/dist/module/justifi-bank-account-billing-form-simple.js +1 -1
  306. package/dist/module/justifi-bank-account-form.js +11 -1
  307. package/dist/module/justifi-billing-form-full.js +1 -1
  308. package/dist/module/justifi-billing-form.js +1 -1
  309. package/dist/module/justifi-button2.js +1 -1
  310. package/dist/module/justifi-card-billing-form-simple.js +1 -1
  311. package/dist/module/justifi-card-form.js +1 -1
  312. package/dist/module/justifi-checkout-qr-code.d.ts +11 -0
  313. package/dist/module/justifi-checkout-qr-code.js +6 -0
  314. package/dist/module/justifi-checkout-qr-code2.js +3154 -0
  315. package/dist/module/justifi-checkout-summary2.js +1 -1
  316. package/dist/module/justifi-checkout.js +3 -2
  317. package/dist/module/justifi-checkouts-list-filters.js +2 -2
  318. package/dist/module/justifi-checkouts-list.js +3 -3
  319. package/dist/module/justifi-dispute-management.js +2 -2
  320. package/dist/module/justifi-google-pay2.js +7 -2
  321. package/dist/module/justifi-gross-payment-chart.js +3 -3
  322. package/dist/module/justifi-header2.js +1 -1
  323. package/dist/module/justifi-modular-checkout2.js +21 -70
  324. package/dist/module/justifi-order-terminals.js +2 -2
  325. package/dist/module/justifi-payment-details.js +9 -9
  326. package/dist/module/justifi-payment-transactions-list.js +2 -2
  327. package/dist/module/justifi-payments-list-filters.js +2 -2
  328. package/dist/module/justifi-payments-list.js +3 -3
  329. package/dist/module/justifi-payout-details.js +4 -4
  330. package/dist/module/justifi-payout-transactions-list.js +2 -2
  331. package/dist/module/justifi-payouts-list-filters.js +2 -2
  332. package/dist/module/justifi-payouts-list.js +5 -5
  333. package/dist/module/justifi-plaid-payment-method2.js +14 -2
  334. package/dist/module/justifi-qr-terminal.d.ts +11 -0
  335. package/dist/module/justifi-qr-terminal.js +234 -0
  336. package/dist/module/justifi-refund-payment.js +3 -3
  337. package/dist/module/justifi-save-new-payment-method.js +1 -1
  338. package/dist/module/justifi-skeleton.js +1 -1
  339. package/dist/module/justifi-terminal-orders-list-filters.js +4 -4
  340. package/dist/module/justifi-terminal-orders-list.js +4 -4
  341. package/dist/module/justifi-terminals-list-filters.js +2 -2
  342. package/dist/module/justifi-terminals-list.js +5 -5
  343. package/dist/module/justifi-tokenize-payment-method2.js +5 -3
  344. package/dist/module/legal-address-form-step2.js +1 -1
  345. package/dist/module/package.js +1 -1
  346. package/dist/module/payment-method-option.js +1 -1
  347. package/dist/module/payment-provisioning-actions.js +7 -7
  348. package/dist/module/product-or-service2.js +1 -1
  349. package/dist/module/radio-list-item2.js +1 -1
  350. package/dist/module/refund-policy2.js +1 -1
  351. package/dist/module/save-new-payment-method2.js +1 -1
  352. package/dist/module/schema-validations.js +1 -1
  353. package/dist/module/shipping-details2.js +1 -1
  354. package/dist/module/table-filters-menu2.js +1 -1
  355. package/dist/module/terminal-quantity-selector2.js +1 -1
  356. package/dist/module/utils2.js +4 -4
  357. package/dist/stencil.config.js +40 -0
  358. package/dist/types/api/Checkout.d.ts +1 -2
  359. package/dist/types/components/business-forms/payment-provisioning/document-upload/document-upload-options.d.ts +5 -1
  360. package/dist/types/components/checkout/bank-account-form/bank-account-form.d.ts +2 -0
  361. package/dist/types/components/checkout/justifi-checkout.d.ts +2 -0
  362. package/dist/types/components/checkout-qr-code/justifi-checkout-qr-code.d.ts +18 -0
  363. package/dist/types/components/modular-checkout/sub-components/justifi-apple-pay.d.ts +0 -1
  364. package/dist/types/components/modular-checkout/sub-components/justifi-bank-account-form.d.ts +1 -1
  365. package/dist/types/components/modular-checkout/sub-components/justifi-google-pay.d.ts +3 -1
  366. package/dist/types/components/modular-checkout/sub-components/justifi-plaid-payment-method.d.ts +1 -0
  367. package/dist/types/components/qr-terminal/justifi-qr-terminal.d.ts +42 -0
  368. package/dist/types/components.d.ts +103 -11
  369. package/dist/types/home/runner/work/web-component-library/web-component-library/packages/webcomponents/.stencil/packages/webcomponents/stencil.config.d.ts +2 -0
  370. package/dist/types/store/checkout.store.d.ts +2 -0
  371. package/dist/webcomponents/p-015288c4.entry.js +1 -0
  372. package/dist/webcomponents/p-055640f9.entry.js +1 -0
  373. package/dist/webcomponents/p-0d98518e.entry.js +1 -0
  374. package/dist/webcomponents/p-0ea6aa9c.entry.js +1 -0
  375. package/dist/webcomponents/p-0ede7e82.entry.js +1 -0
  376. package/dist/webcomponents/{p-37676092.entry.js → p-0f2a1ac9.entry.js} +1 -1
  377. package/dist/webcomponents/p-1068ae13.entry.js +1 -0
  378. package/dist/webcomponents/p-14a03ad0.entry.js +1 -0
  379. package/dist/webcomponents/{p-69c5658c.entry.js → p-1a30f2d9.entry.js} +1 -1
  380. package/dist/webcomponents/p-1b51dea9.entry.js +1 -0
  381. package/dist/webcomponents/{p-89cd31f2.entry.js → p-1de248b1.entry.js} +1 -1
  382. package/dist/webcomponents/p-218b926a.entry.js +1 -0
  383. package/dist/webcomponents/p-25215ee7.entry.js +1 -0
  384. package/dist/webcomponents/p-266870f0.entry.js +1 -0
  385. package/dist/webcomponents/p-27c35a85.entry.js +1 -0
  386. package/dist/webcomponents/{p-D8MQn8ZW.js → p-2mMMaism.js} +1 -1
  387. package/dist/webcomponents/p-3a2629a2.entry.js +1 -0
  388. package/dist/webcomponents/p-3e56bbe5.entry.js +1 -0
  389. package/dist/webcomponents/p-4791c6d7.entry.js +1 -0
  390. package/dist/webcomponents/p-49d9c0a4.entry.js +1 -0
  391. package/dist/webcomponents/{p-49c0879b.entry.js → p-4a30693b.entry.js} +1 -1
  392. package/dist/webcomponents/{p-b2224f12.entry.js → p-4fab9314.entry.js} +1 -1
  393. package/dist/webcomponents/p-5218bcd0.entry.js +1 -0
  394. package/dist/webcomponents/{p-4b14b7e7.entry.js → p-53d775b9.entry.js} +1 -1
  395. package/dist/webcomponents/{p-70dcd833.entry.js → p-5a58f606.entry.js} +1 -1
  396. package/dist/webcomponents/p-5f6bc8e7.entry.js +1 -0
  397. package/dist/webcomponents/p-65908b5f.entry.js +1 -0
  398. package/dist/webcomponents/{p-5ec9634c.entry.js → p-67364f1d.entry.js} +1 -1
  399. package/dist/webcomponents/p-6bf4fea8.entry.js +1 -0
  400. package/dist/webcomponents/{p-0e4cda77.entry.js → p-6c3e9ebd.entry.js} +1 -1
  401. package/dist/webcomponents/{p-a9695714.entry.js → p-6fe329d6.entry.js} +1 -1
  402. package/dist/webcomponents/p-70e05aec.entry.js +1 -0
  403. package/dist/webcomponents/p-73deced9.entry.js +1 -0
  404. package/dist/webcomponents/p-762b1b7b.entry.js +1 -0
  405. package/dist/webcomponents/p-76ded81e.entry.js +1 -0
  406. package/dist/webcomponents/p-77cc572d.entry.js +1 -0
  407. package/dist/webcomponents/p-7b6cf400.entry.js +1 -0
  408. package/dist/webcomponents/p-8fd18ce2.entry.js +1 -0
  409. package/dist/webcomponents/{p-233fef57.entry.js → p-9c0760b9.entry.js} +1 -1
  410. package/dist/webcomponents/p-B62JX_Dh.js +1 -0
  411. package/dist/webcomponents/p-BB8Ce9rp.js +1 -0
  412. package/dist/webcomponents/{p-BRnBHsdq.js → p-BSs-2JKu.js} +1 -1
  413. package/dist/webcomponents/p-BUHsyQpA.js +1 -0
  414. package/dist/webcomponents/{p-D-zwk1J3.js → p-C-Jgmek8.js} +1 -1
  415. package/dist/webcomponents/p-C1gr32IS.js +1 -0
  416. package/dist/webcomponents/{p-DspPkDq4.js → p-C7hX61pS.js} +1 -1
  417. package/dist/webcomponents/{p-DIpFohcg.js → p-CO8ZGkfN.js} +1 -1
  418. package/dist/webcomponents/p-CPJC6tlj.js +1 -0
  419. package/dist/webcomponents/p-CdwzNfP1.js +1 -0
  420. package/dist/webcomponents/p-Cn7z5L7J.js +1 -0
  421. package/dist/webcomponents/{p-jlR7CJl2.js → p-CxBrydeX.js} +1 -1
  422. package/dist/webcomponents/p-DP9ysr2K.js +1 -0
  423. package/dist/webcomponents/{p-BzXQDB0t.js → p-DPA5TKvQ.js} +1 -1
  424. package/dist/webcomponents/p-DSavNeRB.js +1 -0
  425. package/dist/webcomponents/{p-DGbFOjOo.js → p-DXTa04jn.js} +1 -1
  426. package/dist/webcomponents/{p-CwP0ecN7.js → p-DYSc8uvs.js} +1 -1
  427. package/dist/webcomponents/p-Da3fPDxu.js +1 -0
  428. package/dist/webcomponents/{p-CYQvLgSs.js → p-De4Pig-y.js} +1 -1
  429. package/dist/webcomponents/p-DyPk4BJt.js +1 -0
  430. package/dist/webcomponents/p-NzPaWKbY.js +1 -0
  431. package/dist/webcomponents/{p-DlHomiZY.js → p-R_0S69Pr.js} +1 -1
  432. package/dist/webcomponents/{p-b393864a.entry.js → p-a1885b83.entry.js} +1 -1
  433. package/dist/webcomponents/p-a6b46f98.entry.js +1 -0
  434. package/dist/webcomponents/{p-cfe8eaf8.entry.js → p-a893d607.entry.js} +1 -1
  435. package/dist/webcomponents/{p-cab840bd.entry.js → p-b03e361e.entry.js} +1 -1
  436. package/dist/webcomponents/p-c3a25333.entry.js +1 -0
  437. package/dist/webcomponents/p-c60c4bed.entry.js +1 -0
  438. package/dist/webcomponents/{p-4f512f89.entry.js → p-c885cbf6.entry.js} +4 -4
  439. package/dist/webcomponents/p-c8bcc54f.entry.js +1 -0
  440. package/dist/webcomponents/p-d0c889e7.entry.js +1 -0
  441. package/dist/webcomponents/p-d554e0bb.entry.js +1 -0
  442. package/dist/webcomponents/p-d7e2ce48.entry.js +1 -0
  443. package/dist/webcomponents/{p-bbf54e31.entry.js → p-ddb885c3.entry.js} +1 -1
  444. package/dist/webcomponents/{p-1358a4f0.entry.js → p-ddffdec9.entry.js} +1 -1
  445. package/dist/webcomponents/{p-22d19755.entry.js → p-debc4768.entry.js} +1 -1
  446. package/dist/webcomponents/p-e1168904.entry.js +1 -0
  447. package/dist/webcomponents/p-e3021e22.entry.js +1 -0
  448. package/dist/webcomponents/p-e3f8541c.entry.js +1 -0
  449. package/dist/webcomponents/{p-c1539656.entry.js → p-eccc1fc6.entry.js} +1 -1
  450. package/dist/webcomponents/{p-3e10a0de.entry.js → p-f3c40c22.entry.js} +1 -1
  451. package/dist/webcomponents/{p-09d1663d.entry.js → p-f4de4ac0.entry.js} +1 -1
  452. package/dist/webcomponents/p-f953fd60.entry.js +1 -0
  453. package/dist/webcomponents/p-fdea8c57.entry.js +1 -0
  454. package/dist/webcomponents/p-z3RFjy9B.js +1 -0
  455. package/dist/webcomponents/{p-DOEMfCze.js → p-zZn1OXja.js} +1 -1
  456. package/dist/webcomponents/webcomponents.esm.js +1 -1
  457. package/package.json +17 -15
  458. package/dist/webcomponents/p-00335f02.entry.js +0 -1
  459. package/dist/webcomponents/p-04480f3c.entry.js +0 -1
  460. package/dist/webcomponents/p-095e5b0e.entry.js +0 -1
  461. package/dist/webcomponents/p-0b169fac.entry.js +0 -1
  462. package/dist/webcomponents/p-12ae030d.entry.js +0 -1
  463. package/dist/webcomponents/p-1e34c488.entry.js +0 -1
  464. package/dist/webcomponents/p-1f3515a8.entry.js +0 -1
  465. package/dist/webcomponents/p-21473196.entry.js +0 -1
  466. package/dist/webcomponents/p-34f9fe96.entry.js +0 -1
  467. package/dist/webcomponents/p-382f49f6.entry.js +0 -1
  468. package/dist/webcomponents/p-3a28052f.entry.js +0 -1
  469. package/dist/webcomponents/p-46477dfe.entry.js +0 -1
  470. package/dist/webcomponents/p-48319292.entry.js +0 -1
  471. package/dist/webcomponents/p-494e1254.entry.js +0 -1
  472. package/dist/webcomponents/p-4ae8f4e9.entry.js +0 -1
  473. package/dist/webcomponents/p-4ccf9cd7.entry.js +0 -1
  474. package/dist/webcomponents/p-5fd4c94d.entry.js +0 -1
  475. package/dist/webcomponents/p-63b7abf3.entry.js +0 -1
  476. package/dist/webcomponents/p-649f78de.entry.js +0 -1
  477. package/dist/webcomponents/p-80fdd013.entry.js +0 -1
  478. package/dist/webcomponents/p-947950cc.entry.js +0 -1
  479. package/dist/webcomponents/p-9b944aa4.entry.js +0 -1
  480. package/dist/webcomponents/p-B1yVkh15.js +0 -1
  481. package/dist/webcomponents/p-BArmtmkq.js +0 -1
  482. package/dist/webcomponents/p-Bh1Vr2it.js +0 -1
  483. package/dist/webcomponents/p-BtPSM2n_.js +0 -1
  484. package/dist/webcomponents/p-C32sJPns.js +0 -1
  485. package/dist/webcomponents/p-Cdy3lPBL.js +0 -1
  486. package/dist/webcomponents/p-DSjpDUHk.js +0 -1
  487. package/dist/webcomponents/p-DV4n8kZd.js +0 -1
  488. package/dist/webcomponents/p-DfMQsL55.js +0 -1
  489. package/dist/webcomponents/p-DnDbpabY.js +0 -1
  490. package/dist/webcomponents/p-a3b48ba3.entry.js +0 -1
  491. package/dist/webcomponents/p-bd466218.entry.js +0 -1
  492. package/dist/webcomponents/p-be4aee79.entry.js +0 -1
  493. package/dist/webcomponents/p-cc558e25.entry.js +0 -1
  494. package/dist/webcomponents/p-d253a573.entry.js +0 -1
  495. package/dist/webcomponents/p-d9287237.entry.js +0 -1
  496. package/dist/webcomponents/p-d9eec0cc.entry.js +0 -1
  497. package/dist/webcomponents/p-daf41b49.entry.js +0 -1
  498. package/dist/webcomponents/p-e29e32aa.entry.js +0 -1
  499. package/dist/webcomponents/p-e5c2215a.entry.js +0 -1
  500. package/dist/webcomponents/p-e679b76b.entry.js +0 -1
  501. package/dist/webcomponents/p-eb6150a8.entry.js +0 -1
  502. package/dist/webcomponents/p-ebd5a44e.entry.js +0 -1
  503. package/dist/webcomponents/p-f0d8ffe0.entry.js +0 -1
  504. package/dist/webcomponents/p-f9aafb21.entry.js +0 -1
  505. package/dist/webcomponents/p-krYyRSq-.js +0 -1
  506. package/dist/webcomponents/p-rISpbtJR.js +0 -1
@@ -5,7 +5,7 @@ var index = require('./index-W-zoNiyM.js');
5
5
  var parts = require('./parts-BXshb_S-.js');
6
6
  var _commonjsHelpers = require('./_commonjsHelpers-BJu3ubxk.js');
7
7
  var formControlErrorText = require('./form-control-error-text-BO58Y6zF.js');
8
- var _package = require('./package-BJUD_YSJ.js');
8
+ var _package = require('./package-BKwTzSig.js');
9
9
 
10
10
  const iframeInputStylesStore = index.createStore({
11
11
  focused: {
@@ -78,7 +78,7 @@ const HiddenInput = class {
78
78
  this.focusWithoutPageScroll(this.hiddenInput);
79
79
  setTimeout(() => {
80
80
  this.hiddenInput.blur();
81
- let computedStyles = getComputedStyle(this.hiddenInput);
81
+ const computedStyles = getComputedStyle(this.hiddenInput);
82
82
  resolve({
83
83
  boxShadow: computedStyles.boxShadow,
84
84
  border: computedStyles.border,
@@ -114,7 +114,7 @@ const HiddenInput = class {
114
114
  return parts.input;
115
115
  }
116
116
  render() {
117
- return (index$1.h(index$1.Host, { key: 'd3aa78cd75de1a781c8100c121933122c6db599b' }, index$1.h("input", { key: '7ac01ecc01ca776cd6928a3a1d1e0b2baa4b8965', ref: el => this.hiddenInput = el, type: "text", class: this.errorText ? "form-control is-invalid" : "form-control", onFocus: () => this.isFocused = true, onBlur: () => this.isFocused = false, part: this.part, tabindex: "-1", style: { height: '0', opacity: '0', pointerEvents: 'none', animation: 'none' } })));
117
+ return (index$1.h(index$1.Host, { key: 'c3b2f0cb5160d888b3ecbaca95285749c0b71002' }, index$1.h("input", { key: 'f6d0ad00733d086dfa09b646f7599d60f91e5f50', ref: el => this.hiddenInput = el, type: "text", class: this.errorText ? "form-control is-invalid" : "form-control", onFocus: () => this.isFocused = true, onBlur: () => this.isFocused = false, part: this.part, tabindex: "-1", style: { height: '0', opacity: '0', pointerEvents: 'none', animation: 'none' } })));
118
118
  }
119
119
  };
120
120
 
@@ -1729,10 +1729,10 @@ const IframeInput = class {
1729
1729
  return params;
1730
1730
  }
1731
1731
  render() {
1732
- return (index$1.h(index$1.Host, { key: 'a3039409160cb6fd7dd2e7bf189e241f34ddeca6', class: "form-group d-flex flex-column" }, index$1.h("div", { key: 'dab356c30fedca21f6092cfbaf576e23df36b318', style: {
1732
+ return (index$1.h(index$1.Host, { key: '60e76f1a33ddd4ea5b89cd31a1b6906ff53c5ddb', class: "form-group d-flex flex-column" }, index$1.h("div", { key: '5fdef33ae8deb616929478d06fddc01b97233f0a', style: {
1733
1733
  visibility: this.iframeLoaded ? 'visible' : 'hidden',
1734
1734
  height: this.iframeLoaded ? 'auto' : '0',
1735
- } }, index$1.h("label", { key: '0469fb973476f92cd5b275b62e4a462521448273', class: "form-label", htmlFor: "", part: parts.label }, this.label || ''), index$1.h("div", { key: 'd91253d593d700279c0d869b34d3d4f5d572759a', class: `p-0 d-flex form-control ${this.isValid ? '' : 'is-invalid'}`, part: this.part, style: Object.assign(Object.assign({}, this.style), { overflow: 'hidden' }) }, index$1.h("iframe", { key: '2a3676ad3d25daedccaa0cb2297f505641b47497', id: this.inputId, name: this.inputId, src: `${this.iframeOrigin}?${this.urlParams}`, ref: el => {
1735
+ } }, index$1.h("label", { key: 'e37adecf5024d4c77561d3ca269f49c398fc8fd7', class: "form-label", htmlFor: "", part: parts.label }, this.label || ''), index$1.h("div", { key: '206a703cd84d713155aa754576410f495b4329fe', class: `p-0 d-flex form-control ${this.isValid ? '' : 'is-invalid'}`, part: this.part, style: Object.assign(Object.assign({}, this.style), { overflow: 'hidden' }) }, index$1.h("iframe", { key: '214ecd5b4fa9d075b91ea73b9edd09fdfa0cdf12', id: this.inputId, name: this.inputId, src: `${this.iframeOrigin}?${this.urlParams}`, ref: el => {
1736
1736
  this.iframeElement = el;
1737
1737
  this.initializeFrameCommunicationService();
1738
1738
  }, width: "100%", onLoad: () => {
@@ -1742,7 +1742,7 @@ const IframeInput = class {
1742
1742
  this.iframeLoaded.emit();
1743
1743
  }
1744
1744
  }, this.iframeElement);
1745
- } })), index$1.h(formControlErrorText.FormControlErrorText, { key: 'e54b9c1a7ef5da3bed2eb62e25a28c91865f1f40', errorText: this.errorText, name: this.inputId }))));
1745
+ } })), index$1.h(formControlErrorText.FormControlErrorText, { key: 'bec41e86a063eacb8f1f741b446c64db540d9e4d', errorText: this.errorText, name: this.inputId }))));
1746
1746
  }
1747
1747
  get el() { return index$1.getElement(this); }
1748
1748
  };
@@ -30,7 +30,7 @@ const validateInsuranceValues = () => {
30
30
  };
31
31
  // Helper function to check if a value has actually changed (not just initially set)
32
32
  const hasInsuranceValueChanged = (key, newValue) => {
33
- const hadPreviousValue = previousInsuranceValues.hasOwnProperty(key);
33
+ const hadPreviousValue = Object.prototype.hasOwnProperty.call(previousInsuranceValues, key);
34
34
  const previousValue = previousInsuranceValues[key];
35
35
  if (!hadPreviousValue) {
36
36
  // First time setting this value, track it but don't consider it a "change"
@@ -11,7 +11,7 @@ const InternalButton = class {
11
11
  this.type = 'button';
12
12
  }
13
13
  render() {
14
- return (index.h(button.Button, { key: 'b9c53e47ed16f09a34b2d28c9edc275de6f375c1', variant: this.variant, isLoading: this.isLoading, clickHandler: this.clickHandler, class: this.class, type: this.type, disabled: this.disabled, style: this.customStyle, hidden: this.hidden }, this.text));
14
+ return (index.h(button.Button, { key: 'a20d0f251ab26062356b54965b3981af7953c71f', variant: this.variant, isLoading: this.isLoading, clickHandler: this.clickHandler, class: this.class, type: this.type, disabled: this.disabled, style: this.customStyle, hidden: this.hidden }, this.text));
15
15
  }
16
16
  };
17
17
 
@@ -1,30 +1,31 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-p7cvUYAE.js');
4
- var Api = require('./Api-Bukk55YZ.js');
5
- var Plaid = require('./Plaid-6FYKaSTI.js');
4
+ var Api = require('./Api-BioDE5he.js');
5
+ var Plaid = require('./Plaid-QLOFOTeC.js');
6
6
  var styledHost = require('./styled-host-Ch0-dxF-.js');
7
7
  require('./event-types-YOY5TKUN.js');
8
8
  var skeleton = require('./skeleton-DvRCiQlA.js');
9
- var checkout_store = require('./checkout.store-CztwuCnG.js');
9
+ var checkout_store = require('./checkout.store-CZHrIuaP.js');
10
10
  var parts = require('./parts-BXshb_S-.js');
11
- var utils = require('./utils-BHi4j5rB.js');
11
+ var utils = require('./utils-D1CWnhex.js');
12
12
  var configState = require('./config-state-BIgGhhe9.js');
13
13
  var header1 = require('./header-1-CsBQoo1f.js');
14
- var insuranceState = require('./insurance-state-Xe2auE-N.js');
14
+ var insuranceState = require('./insurance-state-B-XQRmMs.js');
15
15
  var header3 = require('./header-3-DCYJhPro.js');
16
- var Analytics = require('./Analytics-GYqUuEeO.js');
17
- var checkPkgVersion = require('./check-pkg-version-wcoV7eK1.js');
16
+ var Analytics = require('./Analytics-DaegoP5G.js');
17
+ var checkPkgVersion = require('./check-pkg-version-BNGOOokA.js');
18
18
  require('./dinero-BwNN_k7x.js');
19
19
  require('./Pagination-Dediz133.js');
20
20
  require('./Business-oBifyXkW.js');
21
- var utils$1 = require('./utils-dnVbB8d6.js');
22
- var checkout_service = require('./checkout.service-BiLHhmjP.js');
23
- var plaid_service = require('./plaid.service-BaHuE_zZ.js');
21
+ var checkoutActions = require('./checkout-actions-CjR16i7o.js');
22
+ var checkout_service = require('./checkout.service-Bdr5qUHj.js');
23
+ var plaid_service = require('./plaid.service-DpiLY-5D.js');
24
24
  var index$1 = require('./index-CajjbB9t.js');
25
25
  var paymentMethodOptionUtils = require('./payment-method-option-utils-WYHIHy-l.js');
26
26
  require('./index-W-zoNiyM.js');
27
- require('./package-BJUD_YSJ.js');
27
+ require('./package-BKwTzSig.js');
28
+ require('./utils-BVM6JCW0.js');
28
29
 
29
30
  const JustifiRadioListItem = class {
30
31
  constructor(hostRef) {
@@ -546,7 +547,6 @@ const JustifiApplePay = class {
546
547
  this.buttonType = Plaid.ApplePayButtonType.PLAIN;
547
548
  this.buttonStyle = Plaid.ApplePayButtonStyle.BLACK;
548
549
  this.disabled = false;
549
- this.showSkeleton = true;
550
550
  this.width = "100%";
551
551
  this.height = "48px";
552
552
  this.isLoading = true;
@@ -744,7 +744,7 @@ const JustifiButton = class {
744
744
  this.type = 'button';
745
745
  }
746
746
  render() {
747
- return (index.h(styledHost.StyledHost, { key: 'f1ac17863df571d72e7db9b748b1980218145322' }, index.h("internal-button", { key: '0b7052d216fb79ed5d9f90aacff97d39dce87473', text: this.text, variant: this.variant, isLoading: this.isLoading, clickHandler: this.clickHandler, type: this.type, disabled: this.disabled, class: this.class, customStyle: this.customStyle, hidden: this.hidden })));
747
+ return (index.h(styledHost.StyledHost, { key: '241fe8903788f0442b42bf5a6835d152d1944967' }, index.h("internal-button", { key: '7c13bd1fa53cf9faae26e521af5a40a08659fe92', text: this.text, variant: this.variant, isLoading: this.isLoading, clickHandler: this.clickHandler, type: this.type, disabled: this.disabled, class: this.class, customStyle: this.customStyle, hidden: this.hidden })));
748
748
  }
749
749
  };
750
750
 
@@ -753,7 +753,7 @@ const JustifiCheckoutSummary = class {
753
753
  index.registerInstance(this, hostRef);
754
754
  }
755
755
  render() {
756
- return (index.h(styledHost.StyledHost, { key: '4dda3e1e4f81cfda61011706c2f4e3104815d97c' }, index.h("section", { key: 'f8bbdeb389afbfc906e6cc956a68f9a3485ed43c' }, index.h("div", { key: '2f8019ae43d5d4a5835ec6d5674304bd321d34b7' }, index.h("div", { key: '67626fe735d0c0372fe638960198592027fb24f5', part: parts.text }, checkout_store.checkoutStore === null || checkout_store.checkoutStore === void 0 ? void 0 : checkout_store.checkoutStore.paymentDescription), index.h("div", { key: '48d8b4b930d2f3b199bc0a59c93ef4f1339f7649' }, index.h("span", { key: 'ca6413ce719ae81eaa4654911cdfc09d63f9a9db', part: parts.text }, "Total"), "\u00A0", index.h("span", { key: '9ed165b192efa2ecf2f77a129d33161e36b1594f', part: parts.text }, utils.formatCurrency(+(checkout_store.checkoutStore === null || checkout_store.checkoutStore === void 0 ? void 0 : checkout_store.checkoutStore.totalAmount))))))));
756
+ return (index.h(styledHost.StyledHost, { key: '336fa6563952ee7905c2ed4a3330d73bbb33a0eb' }, index.h("section", { key: '48b8798a925d618f5a2c52d743190207b78eb70a' }, index.h("div", { key: '81d91167c10ccc49acb039ea54a9f97f4aa6e305' }, index.h("div", { key: '9744242f2c2c3082e9c1a3af6e716ec4cb28f1fd', part: parts.text }, checkout_store.checkoutStore === null || checkout_store.checkoutStore === void 0 ? void 0 : checkout_store.checkoutStore.paymentDescription), index.h("div", { key: '438062935abd2f00495c432ef6652e3808e5215f' }, index.h("span", { key: 'e3f24d9c52ddae0206cbefe61bd08f24697fe28e', part: parts.text }, "Total"), "\u00A0", index.h("span", { key: '9835cb60de31a2c8946b7ac2dd6d1fa82f223110', part: parts.text }, utils.formatCurrency(+(checkout_store.checkoutStore === null || checkout_store.checkoutStore === void 0 ? void 0 : checkout_store.checkoutStore.totalAmount))))))));
757
757
  }
758
758
  };
759
759
 
@@ -784,7 +784,6 @@ const JustifiGooglePay = class {
784
784
  this.googlePayStarted = index.createEvent(this, "googlePayStarted", 7);
785
785
  this.googlePayCompleted = index.createEvent(this, "googlePayCompleted", 7);
786
786
  this.googlePayCancelled = index.createEvent(this, "googlePayCancelled", 7);
787
- this.environment = "PRODUCTION";
788
787
  this.merchantDisplayName = "JustiFi Checkout";
789
788
  this.iframeReady = false;
790
789
  this.sdkLoaded = false;
@@ -843,12 +842,18 @@ const JustifiGooglePay = class {
843
842
  disconnectedCallback() {
844
843
  window.removeEventListener("message", this.handleMessage);
845
844
  }
845
+ googlePayEnvironment() {
846
+ if (this.environment !== undefined) {
847
+ return this.environment;
848
+ }
849
+ return checkout_store.checkoutStore.checkoutMode === "test" ? "TEST" : "PRODUCTION";
850
+ }
846
851
  sendInitialize() {
847
852
  var _a;
848
853
  if (!((_a = this.iframeElement) === null || _a === void 0 ? void 0 : _a.contentWindow))
849
854
  return;
850
855
  const config = {
851
- environment: this.environment,
856
+ environment: this.googlePayEnvironment(),
852
857
  gatewayMerchantId: checkout_store.checkoutStore.accountId,
853
858
  merchantName: this.merchantDisplayName,
854
859
  authToken: checkout_store.checkoutStore.authToken,
@@ -902,62 +907,7 @@ const JustifiHeader = class {
902
907
  }
903
908
  render() {
904
909
  const HeaderComponent = this.levels[this.level];
905
- return (index.h(styledHost.StyledHost, { key: '879e301ec35e7cc536dec135e11daf140c67eeed' }, index.h(HeaderComponent, { key: '1766cb9a4d84bee1b3365b4df93515274cf31565', text: this.text, class: this.class })));
906
- }
907
- };
908
-
909
- const makeGetCheckout = ({ authToken, checkoutId, service }) => async ({ onSuccess, onError }) => {
910
- var _a;
911
- try {
912
- const response = await service.fetchCheckout(authToken, checkoutId);
913
- if (!response.error) {
914
- const checkout = response.data;
915
- onSuccess({ checkout });
916
- }
917
- else {
918
- const responseError = utils$1.getErrorMessage(response.error);
919
- const code = utils$1.getErrorCode((_a = response.error) === null || _a === void 0 ? void 0 : _a.code);
920
- return onError({
921
- error: responseError,
922
- code,
923
- severity: Plaid.ComponentErrorSeverity.ERROR,
924
- });
925
- }
926
- }
927
- catch (error) {
928
- const code = utils$1.getErrorCode(error === null || error === void 0 ? void 0 : error.code);
929
- return onError({
930
- error: error.message || error,
931
- code,
932
- severity: Plaid.ComponentErrorSeverity.ERROR,
933
- });
934
- }
935
- };
936
- const makeCheckoutComplete = ({ authToken, checkoutId, service }) => async ({ payment, onSuccess, onError }) => {
937
- var _a;
938
- try {
939
- const response = await service.complete(authToken, checkoutId, payment);
940
- if (!response.error) {
941
- const checkout = response.data;
942
- onSuccess({ checkout });
943
- }
944
- else {
945
- const responseError = utils$1.getErrorMessage(response.error);
946
- const code = utils$1.getErrorCode((_a = response.error) === null || _a === void 0 ? void 0 : _a.code);
947
- return onError({
948
- error: responseError,
949
- code,
950
- severity: Plaid.ComponentErrorSeverity.ERROR,
951
- });
952
- }
953
- }
954
- catch (error) {
955
- const code = utils$1.getErrorCode(error === null || error === void 0 ? void 0 : error.code);
956
- return onError({
957
- error: error.message || error,
958
- code,
959
- severity: Plaid.ComponentErrorSeverity.ERROR,
960
- });
910
+ return (index.h(styledHost.StyledHost, { key: '5a0872ee486bdba3ba1c86145946889bb7d151f2' }, index.h(HeaderComponent, { key: '89807e249cdf64f7ef80800276cb50966083f28e', text: this.text, class: this.class })));
961
911
  }
962
912
  };
963
913
 
@@ -1047,8 +997,8 @@ const JustifiModularCheckout = class {
1047
997
  checkoutId: this.checkoutId,
1048
998
  service: new checkout_service.CheckoutService(),
1049
999
  };
1050
- this.getCheckout = makeGetCheckout(config);
1051
- this.completeCheckout = makeCheckoutComplete(config);
1000
+ this.getCheckout = checkoutActions.makeGetCheckout(config);
1001
+ this.completeCheckout = checkoutActions.makeCheckoutComplete(config);
1052
1002
  // Emit checkout-changed whenever any store key changes
1053
1003
  checkout_store.onAnyChange(() => {
1054
1004
  this.emitCheckoutChanged();
@@ -1119,24 +1069,30 @@ const JustifiModularCheckout = class {
1119
1069
  }
1120
1070
  }
1121
1071
  updateStore(checkout) {
1122
- var _a, _b, _c, _d, _e, _f, _g;
1072
+ var _a, _b, _c, _d, _e, _f, _g, _h;
1123
1073
  checkout_store.checkoutStore.accountId = checkout.account_id;
1124
1074
  checkout_store.checkoutStore.checkoutLoaded = true;
1125
- checkout_store.checkoutStore.paymentMethods = checkout.payment_methods.map((paymentMethod) => new index$1.PaymentMethod(paymentMethod));
1075
+ const rawMode = checkout.mode != null ? String(checkout.mode).toLowerCase() : '';
1076
+ checkout_store.checkoutStore.checkoutMode =
1077
+ rawMode === 'test' ? 'test' : rawMode === 'live' ? 'live' : null;
1078
+ const mappedPaymentMethods = checkout.payment_methods.map((paymentMethod) => new index$1.PaymentMethod(paymentMethod));
1079
+ const achEnabled = Boolean((_a = checkout.payment_settings) === null || _a === void 0 ? void 0 : _a.ach_payments);
1080
+ checkout_store.checkoutStore.paymentMethods = mappedPaymentMethods.filter((pm) => pm.type !== index$1.PAYMENT_METHODS.SAVED_BANK_ACCOUNT || achEnabled);
1126
1081
  checkout_store.checkoutStore.paymentMethodGroupId = checkout.payment_method_group_id;
1127
1082
  checkout_store.checkoutStore.paymentDescription = checkout.payment_description;
1128
1083
  checkout_store.checkoutStore.totalAmount = checkout.total_amount;
1129
1084
  checkout_store.checkoutStore.paymentAmount = checkout.payment_amount;
1130
1085
  checkout_store.checkoutStore.bnplEnabled = checkout.payment_settings.bnpl_payments;
1131
1086
  checkout_store.checkoutStore.insuranceEnabled = checkout.payment_settings.insurance_payments;
1132
- checkout_store.checkoutStore.bankAccountVerification = (_a = checkout.payment_settings) === null || _a === void 0 ? void 0 : _a.bank_account_verification;
1133
- checkout_store.checkoutStore.applePayEnabled = (_b = checkout.payment_settings) === null || _b === void 0 ? void 0 : _b.apple_payments;
1134
- checkout_store.checkoutStore.googlePayEnabled = (_c = checkout.payment_settings) === null || _c === void 0 ? void 0 : _c.google_payments;
1135
- checkout_store.checkoutStore.bnplProviderClientId = (_d = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _d === void 0 ? void 0 : _d.provider_client_id;
1136
- checkout_store.checkoutStore.bnplProviderMode = (_e = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _e === void 0 ? void 0 : _e.provider_mode;
1137
- checkout_store.checkoutStore.bnplProviderApiVersion = (_f = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _f === void 0 ? void 0 : _f.provider_api_version;
1087
+ checkout_store.checkoutStore.bankAccountVerification = (_b = checkout.payment_settings) === null || _b === void 0 ? void 0 : _b.bank_account_verification;
1088
+ checkout_store.checkoutStore.applePayEnabled = (_c = checkout.payment_settings) === null || _c === void 0 ? void 0 : _c.apple_payments;
1089
+ checkout_store.checkoutStore.googlePayEnabled = (_d = checkout.payment_settings) === null || _d === void 0 ? void 0 : _d.google_payments;
1090
+ checkout_store.checkoutStore.achPaymentsEnabled = achEnabled;
1091
+ checkout_store.checkoutStore.bnplProviderClientId = (_e = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _e === void 0 ? void 0 : _e.provider_client_id;
1092
+ checkout_store.checkoutStore.bnplProviderMode = (_f = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _f === void 0 ? void 0 : _f.provider_mode;
1093
+ checkout_store.checkoutStore.bnplProviderApiVersion = (_g = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _g === void 0 ? void 0 : _g.provider_api_version;
1138
1094
  checkout_store.checkoutStore.bnplProviderCheckoutUrl =
1139
- (_g = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _g === void 0 ? void 0 : _g.provider_checkout_url;
1095
+ (_h = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _h === void 0 ? void 0 : _h.provider_checkout_url;
1140
1096
  }
1141
1097
  emitCheckoutChanged() {
1142
1098
  const detail = {
@@ -1157,7 +1113,8 @@ const JustifiModularCheckout = class {
1157
1113
  if (tag === 'justifi-card-form') {
1158
1114
  checkout_store.checkoutStore.selectedPaymentMethod = { type: index$1.PAYMENT_METHODS.NEW_CARD };
1159
1115
  }
1160
- else if (tag === 'justifi-bank-account-form') {
1116
+ else if (tag === 'justifi-bank-account-form' &&
1117
+ (!checkout_store.checkoutStore.checkoutLoaded || checkout_store.checkoutStore.achPaymentsEnabled)) {
1161
1118
  checkout_store.checkoutStore.selectedPaymentMethod = { type: index$1.PAYMENT_METHODS.NEW_BANK_ACCOUNT };
1162
1119
  }
1163
1120
  }
@@ -1347,7 +1304,6 @@ const JustifiModularCheckout = class {
1347
1304
  });
1348
1305
  return;
1349
1306
  }
1350
- let payment;
1351
1307
  const mapTypeToPaymentMode = (type) => {
1352
1308
  switch (type) {
1353
1309
  case index$1.PAYMENT_METHODS.NEW_CARD:
@@ -1366,7 +1322,7 @@ const JustifiModularCheckout = class {
1366
1322
  return undefined;
1367
1323
  }
1368
1324
  };
1369
- payment = {
1325
+ const payment = {
1370
1326
  payment_mode: mapTypeToPaymentMode((_e = checkout_store.checkoutStore.selectedPaymentMethod) === null || _e === void 0 ? void 0 : _e.type),
1371
1327
  payment_token: checkout_store.checkoutStore.paymentToken,
1372
1328
  };
@@ -1403,7 +1359,7 @@ const JustifiModularCheckout = class {
1403
1359
  });
1404
1360
  }
1405
1361
  render() {
1406
- return index.h(index.Host, { key: 'c3de4a4b90c599a374678d98c324a6b24dbec50d' });
1362
+ return index.h(index.Host, { key: '545e1cb07252ba0dc78fa980bd17ee5572559f6c' });
1407
1363
  }
1408
1364
  get hostEl() { return index.getElement(this); }
1409
1365
  };
@@ -1432,6 +1388,7 @@ const JustifiPlaidPaymentMethod = class {
1432
1388
  this.timeoutId = null;
1433
1389
  this.abortController = null;
1434
1390
  this.hasLoggedDisabledWarning = false;
1391
+ this.hasLoggedAchPaymentsDisabledWarning = false;
1435
1392
  this.waitForStoreAndInitialize = () => {
1436
1393
  // Check if store has necessary data
1437
1394
  if (checkout_store.checkoutStore.authToken && checkout_store.checkoutStore.accountId && checkout_store.checkoutStore.checkoutId) {
@@ -1778,11 +1735,15 @@ const JustifiPlaidPaymentMethod = class {
1778
1735
  if (checkout_store.checkoutStore.bankAccountVerification !== true)
1779
1736
  return;
1780
1737
  if (checkout_store.checkoutStore.checkoutLoaded) {
1781
- this.loadPlaidSDK();
1738
+ if (checkout_store.checkoutStore.achPaymentsEnabled) {
1739
+ this.loadPlaidSDK();
1740
+ }
1782
1741
  }
1783
1742
  else {
1784
1743
  checkout_store.onChange('checkoutLoaded', (loaded) => {
1785
- if (loaded && checkout_store.checkoutStore.bankAccountVerification === true) {
1744
+ if (loaded &&
1745
+ checkout_store.checkoutStore.bankAccountVerification === true &&
1746
+ checkout_store.checkoutStore.achPaymentsEnabled) {
1786
1747
  this.loadPlaidSDK();
1787
1748
  }
1788
1749
  });
@@ -1911,6 +1872,13 @@ const JustifiPlaidPaymentMethod = class {
1911
1872
  }
1912
1873
  }
1913
1874
  render() {
1875
+ if (checkout_store.checkoutStore.checkoutLoaded && !checkout_store.checkoutStore.achPaymentsEnabled) {
1876
+ if (!this.hasLoggedAchPaymentsDisabledWarning) {
1877
+ console.warn('[JustifiPlaidPaymentMethod] ACH payments are disabled for this checkout. Component will not render.');
1878
+ this.hasLoggedAchPaymentsDisabledWarning = true;
1879
+ }
1880
+ return null;
1881
+ }
1914
1882
  // Only allow use if enabled in checkout settings
1915
1883
  if (checkout_store.checkoutStore.bankAccountVerification !== true) {
1916
1884
  if (!this.hasLoggedDisabledWarning) {
@@ -2202,7 +2170,8 @@ const JustifiTokenizePaymentMethod = class {
2202
2170
  this.selectedPaymentMethod = index$1.PAYMENT_METHODS.NEW_CARD;
2203
2171
  checkout_store.checkoutStore.selectedPaymentMethod = { type: index$1.PAYMENT_METHODS.NEW_CARD };
2204
2172
  }
2205
- else if (!this.disableBankAccount) {
2173
+ else if (!this.disableBankAccount &&
2174
+ (!checkout_store.checkoutStore.checkoutLoaded || checkout_store.checkoutStore.achPaymentsEnabled)) {
2206
2175
  this.selectedPaymentMethod = index$1.PAYMENT_METHODS.NEW_BANK_ACCOUNT;
2207
2176
  checkout_store.checkoutStore.selectedPaymentMethod = { type: index$1.PAYMENT_METHODS.NEW_BANK_ACCOUNT };
2208
2177
  }
@@ -2230,10 +2199,11 @@ const JustifiTokenizePaymentMethod = class {
2230
2199
  }
2231
2200
  get availablePaymentMethods() {
2232
2201
  const methods = [];
2202
+ const achAllowedForCheckout = !checkout_store.checkoutStore.checkoutLoaded || checkout_store.checkoutStore.achPaymentsEnabled;
2233
2203
  if (!this.disableCreditCard) {
2234
2204
  methods.push(index$1.PAYMENT_METHODS.NEW_CARD);
2235
2205
  }
2236
- if (!this.disableBankAccount) {
2206
+ if (!this.disableBankAccount && achAllowedForCheckout) {
2237
2207
  methods.push(index$1.PAYMENT_METHODS.NEW_BANK_ACCOUNT);
2238
2208
  }
2239
2209
  return methods;
@@ -2323,7 +2293,7 @@ const JustifiTokenizePaymentMethod = class {
2323
2293
  } }));
2324
2294
  }
2325
2295
  render() {
2326
- return (index.h(styledHost.StyledHost, { key: '2d4349f3e5ad632981cdeb14dbe4e483f79379da' }, index.h("form", { key: '754afee2c5229cf016bd8fc0cf81041cf37270a8' }, index.h("fieldset", { key: '01867151a09d384e1258ef7f62fbc88c526706cc' }, index.h("div", { key: '7ba453d4629a0c2ef583daddcb9cf02ac5eee265', class: "row gy-3" }, index.h("div", { key: '4148f2269c738a00f2684d69d4a83a4ab2424f2b', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), index.h("div", { key: 'e67b09357571aadfb3d2712f55954506748b3826', class: "col-12" }, index.h("internal-button", { key: 'c2e805060ff7e9e97144533ffad3b4a02433e792', text: this.submitButtonText, variant: "primary", type: "submit", clickHandler: (e) => this.tokenizePaymentMethod(e), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.computedHideSubmitButton })))))));
2296
+ return (index.h(styledHost.StyledHost, { key: 'bc76697688be332ef84db56e61b6b455a6d1e986' }, index.h("form", { key: '8f64f55f945d4ff4ed0f144c724dbd71278ec771' }, index.h("fieldset", { key: '15b6d388117738391089cf91f999247cddb29714' }, index.h("div", { key: 'a4e23f7808b446dff6f7da437dba3cb57d2d62aa', class: "row gy-3" }, index.h("div", { key: '63b0584d217d9bb50036eb7d5837e7287be58760', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), index.h("div", { key: 'c9345be3429cd8ab01a84e8584270938feceba39', class: "col-12" }, index.h("internal-button", { key: 'aa56df7b6b1250e9b81fbc281b969d2a37a05428', text: this.submitButtonText, variant: "primary", type: "submit", clickHandler: (e) => this.tokenizePaymentMethod(e), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.computedHideSubmitButton })))))));
2327
2297
  }
2328
2298
  get host() { return index.getElement(this); }
2329
2299
  static get watchers() { return {
@@ -1,16 +1,16 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-p7cvUYAE.js');
4
- var Analytics = require('./Analytics-GYqUuEeO.js');
5
- var checkPkgVersion = require('./check-pkg-version-wcoV7eK1.js');
4
+ var Analytics = require('./Analytics-DaegoP5G.js');
5
+ var checkPkgVersion = require('./check-pkg-version-BNGOOokA.js');
6
6
  var configState = require('./config-state-BIgGhhe9.js');
7
7
  var styledHost = require('./styled-host-Ch0-dxF-.js');
8
8
  require('./event-types-YOY5TKUN.js');
9
- require('./package-BJUD_YSJ.js');
10
- require('./Api-Bukk55YZ.js');
11
- require('./utils-BHi4j5rB.js');
9
+ require('./package-BKwTzSig.js');
10
+ require('./Api-BioDE5he.js');
11
+ require('./utils-D1CWnhex.js');
12
12
  require('./dinero-BwNN_k7x.js');
13
- require('./Plaid-6FYKaSTI.js');
13
+ require('./Plaid-QLOFOTeC.js');
14
14
  require('./Pagination-Dediz133.js');
15
15
  require('./Business-oBifyXkW.js');
16
16
  require('./index-W-zoNiyM.js');
@@ -37,7 +37,7 @@ const JustifiBankAccountBillingFormSimple = class {
37
37
  return (_b = (_a = this.bankAccountBillingFormSimpleRef) === null || _a === void 0 ? void 0 : _a.validate()) !== null && _b !== void 0 ? _b : { isValid: false, errors: {} };
38
38
  }
39
39
  render() {
40
- return (index.h(styledHost.StyledHost, { key: '1ed5d8cfc7f594e00f01fc765c3e04acd80b90a9' }, index.h("bank-account-billing-form-simple", { key: '2058a974df2f57da2c731d2d5a78799ac5de0e41', legend: this.legend, ref: (el) => (this.bankAccountBillingFormSimpleRef = el) })));
40
+ return (index.h(styledHost.StyledHost, { key: '669227ed02e4f0791882b95ed814ea1865db80de' }, index.h("bank-account-billing-form-simple", { key: '97cbe9637d8969023b1f7d3a6b3091a246112032', legend: this.legend, ref: (el) => (this.bankAccountBillingFormSimpleRef = el) })));
41
41
  }
42
42
  };
43
43
 
@@ -1,16 +1,16 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-p7cvUYAE.js');
4
- var checkPkgVersion = require('./check-pkg-version-wcoV7eK1.js');
5
- var Analytics = require('./Analytics-GYqUuEeO.js');
4
+ var checkPkgVersion = require('./check-pkg-version-BNGOOokA.js');
5
+ var Analytics = require('./Analytics-DaegoP5G.js');
6
6
  var configState = require('./config-state-BIgGhhe9.js');
7
7
  var styledHost = require('./styled-host-Ch0-dxF-.js');
8
8
  require('./event-types-YOY5TKUN.js');
9
- require('./package-BJUD_YSJ.js');
10
- require('./Api-Bukk55YZ.js');
11
- require('./utils-BHi4j5rB.js');
9
+ require('./package-BKwTzSig.js');
10
+ require('./Api-BioDE5he.js');
11
+ require('./utils-D1CWnhex.js');
12
12
  require('./dinero-BwNN_k7x.js');
13
- require('./Plaid-6FYKaSTI.js');
13
+ require('./Plaid-QLOFOTeC.js');
14
14
  require('./Pagination-Dediz133.js');
15
15
  require('./Business-oBifyXkW.js');
16
16
  require('./index-W-zoNiyM.js');
@@ -29,13 +29,23 @@ const JustifiBankAccountForm = class {
29
29
  (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
30
30
  }
31
31
  async validate() {
32
+ if (!this.bankAccountFormElement) {
33
+ return false;
34
+ }
32
35
  return this.bankAccountFormElement.validate();
33
36
  }
34
37
  async tokenize({ clientId, paymentMethodMetadata, account }) {
38
+ if (!this.bankAccountFormElement) {
39
+ return {
40
+ error: {
41
+ message: 'Bank account form is not available.',
42
+ },
43
+ };
44
+ }
35
45
  return this.bankAccountFormElement.tokenize({ clientId, paymentMethodMetadata, account });
36
46
  }
37
47
  render() {
38
- return (index.h(styledHost.StyledHost, { key: '3a267a32b400d122cd124245979218ffc45453ee' }, index.h("bank-account-form", { key: '72044965224da0d85455ad7688b3d1852a46126e', ref: (el) => (this.bankAccountFormElement = el) })));
48
+ return (index.h(styledHost.StyledHost, { key: '3c8a48f6060f14433ae94399fc48097cb138e301' }, index.h("bank-account-form", { key: '30cd40b60629f5c7f874194dd7641ee3737e8b69', ref: (el) => (this.bankAccountFormElement = el) })));
39
49
  }
40
50
  };
41
51
 
@@ -17,7 +17,7 @@ const JustifiBillingFormFull = class {
17
17
  return (_b = (_a = this.billingFormFullRef) === null || _a === void 0 ? void 0 : _a.validate()) !== null && _b !== void 0 ? _b : { isValid: false, errors: {} };
18
18
  }
19
19
  render() {
20
- return (index.h(styledHost.StyledHost, { key: '8e755ce1e9ea3984b7abacc8375aee22f1288c52' }, index.h("billing-form-full", { key: 'a18f794807f7631db8eb3724ae5072766aa708f4', legend: this.legend, ref: (el) => (this.billingFormFullRef = el) })));
20
+ return (index.h(styledHost.StyledHost, { key: 'be25329cda69d5b2c00a84d5abc8ec8a7c5c643d' }, index.h("billing-form-full", { key: 'c2437172bfbc1c52eb2a86efbef978747e76b4b7', legend: this.legend, ref: (el) => (this.billingFormFullRef = el) })));
21
21
  }
22
22
  };
23
23
 
@@ -17,7 +17,7 @@ const JustifiBillingForm = class {
17
17
  return (_b = (_a = this.billingFormRef) === null || _a === void 0 ? void 0 : _a.validate()) !== null && _b !== void 0 ? _b : { isValid: false, errors: {} };
18
18
  }
19
19
  render() {
20
- return (index.h(styledHost.StyledHost, { key: '8b814bc4f24e7e890f3c67723fdb8fe0401f00c0' }, index.h("billing-form", { key: '535a0c3bd061c4d90bf1060a060bdadb1fe8796f', legend: this.legend, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, paymentMethodType: this.paymentMethodType, ref: (el) => (this.billingFormRef = el) })));
20
+ return (index.h(styledHost.StyledHost, { key: '40a8a4342204d1679c9b37fb775184131c68248b' }, index.h("billing-form", { key: '65156fc636a2196aa2d189ce5c4d66f755deb3f6', legend: this.legend, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, paymentMethodType: this.paymentMethodType, ref: (el) => (this.billingFormRef = el) })));
21
21
  }
22
22
  };
23
23
 
@@ -2,24 +2,24 @@
2
2
 
3
3
  var index = require('./index-p7cvUYAE.js');
4
4
  var utils = require('./utils-8RGQVADu.js');
5
- var business_service = require('./business.service-t-p3-gP-.js');
6
- var getBusiness = require('./get-business-BqO_Sa6H.js');
7
- var Plaid = require('./Plaid-6FYKaSTI.js');
8
- var Analytics = require('./Analytics-GYqUuEeO.js');
9
- var checkPkgVersion = require('./check-pkg-version-wcoV7eK1.js');
5
+ var business_service = require('./business.service-DOGeb2O6.js');
6
+ var getBusiness = require('./get-business-CrxvWZh6.js');
7
+ var Plaid = require('./Plaid-QLOFOTeC.js');
8
+ var Analytics = require('./Analytics-DaegoP5G.js');
9
+ var checkPkgVersion = require('./check-pkg-version-BNGOOokA.js');
10
10
  var styledHost = require('./styled-host-Ch0-dxF-.js');
11
11
  require('./event-types-YOY5TKUN.js');
12
12
  var skeleton = require('./skeleton-DvRCiQlA.js');
13
13
  require('./parts-BXshb_S-.js');
14
- require('./Api-Bukk55YZ.js');
14
+ require('./Api-BioDE5he.js');
15
15
  require('./config-state-BIgGhhe9.js');
16
16
  require('./index-W-zoNiyM.js');
17
- require('./utils-BHi4j5rB.js');
17
+ require('./utils-D1CWnhex.js');
18
18
  require('./dinero-BwNN_k7x.js');
19
19
  require('./Pagination-Dediz133.js');
20
20
  require('./Business-oBifyXkW.js');
21
- require('./utils-dnVbB8d6.js');
22
- require('./package-BJUD_YSJ.js');
21
+ require('./utils-BVM6JCW0.js');
22
+ require('./package-BKwTzSig.js');
23
23
 
24
24
  const BusinessDetailsLoading = () => {
25
25
  const Block = () => (index.h("div", { class: "mt-5" }, index.h(skeleton.Skeleton, { width: "40%", height: "1.5rem" }), index.h("hr", null), index.h("div", { class: "row g-3" }, index.h("div", { class: "col-12 col-md-6" }, index.h(skeleton.Skeleton, null), index.h(skeleton.Skeleton, null), index.h(skeleton.Skeleton, null)), index.h("div", { class: "col-12 col-md-6" }, index.h(skeleton.Skeleton, null), index.h(skeleton.Skeleton, null), index.h(skeleton.Skeleton, null)))));
@@ -2,32 +2,32 @@
2
2
 
3
3
  var index = require('./index-p7cvUYAE.js');
4
4
  var index_esm = require('./index.esm-BNETBIV_.js');
5
- var businessIdentitySchema = require('./business-identity-schema-CC1wOwXd.js');
5
+ var businessIdentitySchema = require('./business-identity-schema-BA385xf-.js');
6
6
  require('./config-state-BIgGhhe9.js');
7
7
  require('./dinero-BwNN_k7x.js');
8
- var Plaid = require('./Plaid-6FYKaSTI.js');
8
+ var Plaid = require('./Plaid-QLOFOTeC.js');
9
9
  require('./Pagination-Dediz133.js');
10
10
  var Business = require('./Business-oBifyXkW.js');
11
- var Analytics = require('./Analytics-GYqUuEeO.js');
11
+ var Analytics = require('./Analytics-DaegoP5G.js');
12
12
  var button = require('./button-CR9Rl1-o.js');
13
13
  var styledHost = require('./styled-host-Ch0-dxF-.js');
14
14
  var header1 = require('./header-1-CsBQoo1f.js');
15
15
  require('./event-types-YOY5TKUN.js');
16
- var checkPkgVersion = require('./check-pkg-version-wcoV7eK1.js');
16
+ var checkPkgVersion = require('./check-pkg-version-BNGOOokA.js');
17
17
  var skeleton = require('./skeleton-DvRCiQlA.js');
18
18
  var eventTypes = require('./event-types-DNOUef41.js');
19
- var paymentProvisioningActions = require('./payment-provisioning-actions-Dnvqbh2N.js');
20
- var business_service = require('./business.service-t-p3-gP-.js');
19
+ var paymentProvisioningActions = require('./payment-provisioning-actions-B4x7lnyF.js');
20
+ var business_service = require('./business.service-DOGeb2O6.js');
21
21
  require('./_commonjsHelpers-BJu3ubxk.js');
22
- require('./schema-validations-DackMxv7.js');
23
- require('./country-config-Ck-eEeZZ.js');
22
+ require('./schema-validations-C2XsZnqK.js');
23
+ require('./country-config-C1bWmF8P.js');
24
24
  require('./business-form-options-CnlrfbQ6.js');
25
25
  require('./index-W-zoNiyM.js');
26
- require('./utils-BHi4j5rB.js');
27
- require('./package-BJUD_YSJ.js');
28
- require('./Api-Bukk55YZ.js');
26
+ require('./utils-D1CWnhex.js');
27
+ require('./package-BKwTzSig.js');
28
+ require('./Api-BioDE5he.js');
29
29
  require('./parts-BXshb_S-.js');
30
- require('./utils-dnVbB8d6.js');
30
+ require('./utils-BVM6JCW0.js');
31
31
 
32
32
  const businessFormSchemaUSA = index_esm.create$3(Object.assign(Object.assign({}, businessIdentitySchema.businessCoreInfoSchemaUSA().fields), { legal_address: businessIdentitySchema.addressSchemaUSA(), additional_questions: businessIdentitySchema.additionalQuestionsSchema(), representative: businessIdentitySchema.identitySchemaUSA('representative') }));
33
33
  index_esm.create$3(Object.assign(Object.assign({}, businessIdentitySchema.businessCoreInfoSchemaCAN().fields), { legal_address: businessIdentitySchema.addressSchemaCAN(), additional_questions: businessIdentitySchema.additionalQuestionsSchema(), representative: businessIdentitySchema.identitySchemaCAN('representative') }));
@@ -17,7 +17,7 @@ const JustifiCardBillingFormSimple = class {
17
17
  return (_b = (_a = this.cardBillingFormSimpleRef) === null || _a === void 0 ? void 0 : _a.validate()) !== null && _b !== void 0 ? _b : { isValid: false, errors: {} };
18
18
  }
19
19
  render() {
20
- return (index.h(styledHost.StyledHost, { key: '1e25de93c795dd6c8ec2979918a5b10389a55354' }, index.h("card-billing-form-simple", { key: 'd9db1793b83e5fa216f72bfe7803d968ee499ac7', legend: this.legend, ref: (el) => (this.cardBillingFormSimpleRef = el) })));
20
+ return (index.h(styledHost.StyledHost, { key: '799c9c1ed22b4794fc292a6cbe0986ad91c41cd9' }, index.h("card-billing-form-simple", { key: '5a96ecdd0a474fae719f6fa48bcb4a88fd74ef92', legend: this.legend, ref: (el) => (this.cardBillingFormSimpleRef = el) })));
21
21
  }
22
22
  };
23
23
 
@@ -1,16 +1,16 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-p7cvUYAE.js');
4
- var Analytics = require('./Analytics-GYqUuEeO.js');
5
- var checkPkgVersion = require('./check-pkg-version-wcoV7eK1.js');
4
+ var Analytics = require('./Analytics-DaegoP5G.js');
5
+ var checkPkgVersion = require('./check-pkg-version-BNGOOokA.js');
6
6
  var configState = require('./config-state-BIgGhhe9.js');
7
7
  var styledHost = require('./styled-host-Ch0-dxF-.js');
8
8
  require('./event-types-YOY5TKUN.js');
9
- require('./package-BJUD_YSJ.js');
10
- require('./Api-Bukk55YZ.js');
11
- require('./utils-BHi4j5rB.js');
9
+ require('./package-BKwTzSig.js');
10
+ require('./Api-BioDE5he.js');
11
+ require('./utils-D1CWnhex.js');
12
12
  require('./dinero-BwNN_k7x.js');
13
- require('./Plaid-6FYKaSTI.js');
13
+ require('./Plaid-QLOFOTeC.js');
14
14
  require('./Pagination-Dediz133.js');
15
15
  require('./Business-oBifyXkW.js');
16
16
  require('./index-W-zoNiyM.js');
@@ -35,7 +35,7 @@ const JustifiCardForm = class {
35
35
  return this.cardFormElement.tokenize({ clientId, paymentMethodMetadata, account });
36
36
  }
37
37
  render() {
38
- return (index.h(styledHost.StyledHost, { key: 'c571f41c79f46143bbee7063a05f8b973b7732d0' }, index.h("card-form", { key: 'a70c853efeddcedd71343208ab29d89231b6c8fa', ref: (el) => (this.cardFormElement = el) })));
38
+ return (index.h(styledHost.StyledHost, { key: 'e8591312a00d22c68812fda0b56a125ffd763e01' }, index.h("card-form", { key: 'e987ea9f3bcd2bf0aa8b2c6749bff3b902f20519', ref: (el) => (this.cardFormElement = el) })));
39
39
  }
40
40
  };
41
41