@justifi/webcomponents 6.10.4 → 6.12.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 (923) hide show
  1. package/dist/cjs/{check-pkg-version-Mv0ez8Cf.js → Analytics-DZCXB2Za.js} +2 -45
  2. package/dist/cjs/{Plaid-B_UkFjIV.js → Plaid-DR9WDZ98.js} +1 -1
  3. package/dist/cjs/additional-questions-details_5.cjs.entry.js +4 -4
  4. package/dist/cjs/{justifi-additional-questions-form-step_9.cjs.entry.js → additional-questions-form-step_9.cjs.entry.js} +28 -28
  5. package/dist/cjs/{form-alert_5.cjs.entry.js → additional-questions_5.cjs.entry.js} +26 -26
  6. package/dist/cjs/{badge-Bd6H9TX2.js → badge-GBNtUypt.js} +1 -1
  7. package/dist/cjs/bank-account-billing-form-simple_4.cjs.entry.js +203 -0
  8. package/dist/cjs/bank-account-document-form-inputs_9.cjs.entry.js +43 -43
  9. package/dist/cjs/bank-account-form.cjs.entry.js +10 -6
  10. package/dist/cjs/business-details-core.cjs.entry.js +3 -3
  11. package/dist/cjs/{business.service-Kplx8w_D.js → business.service-mliLE8kX.js} +1 -1
  12. package/dist/cjs/{button-DAbSQPoU.js → button-CR9Rl1-o.js} +1 -1
  13. package/dist/cjs/card-form.cjs.entry.js +10 -6
  14. package/dist/cjs/check-pkg-version-CUhnNGii.js +47 -0
  15. package/dist/cjs/{checkout.service-B2toaeKY.js → checkout.service-Cok0vRot.js} +1 -1
  16. package/dist/cjs/checkouts-list-core.cjs.entry.js +7 -7
  17. package/dist/cjs/{checkouts-table-KuNixae0.js → checkouts-table-CCxrsy0x.js} +2 -2
  18. package/dist/cjs/custom-popper_2.cjs.entry.js +5 -5
  19. package/dist/cjs/{dispute.service-C4n1SOsu.js → dispute.service-DEH_I2G9.js} +1 -1
  20. package/dist/cjs/{form-control-number-masked_3.cjs.entry.js → form-address-fields_3.cjs.entry.js} +24 -24
  21. package/dist/cjs/form-control-checkbox.cjs.entry.js +7 -7
  22. package/dist/cjs/form-control-date.cjs.entry.js +6 -6
  23. package/dist/cjs/{form-control-error-text-C4Wqr79O.js → form-control-error-text-BO58Y6zF.js} +1 -1
  24. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +9 -9
  25. package/dist/cjs/{form-control-help-text-Bo9d_mCH.js → form-control-help-text-BdbTxD5g.js} +1 -1
  26. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +7 -7
  27. package/dist/cjs/form-control-monetary.cjs.entry.js +7 -7
  28. package/dist/cjs/form-control-number_3.cjs.entry.js +15 -15
  29. package/dist/cjs/form-control-radio.cjs.entry.js +5 -5
  30. package/dist/cjs/form-control-select_2.cjs.entry.js +10 -10
  31. package/dist/cjs/{get-payment-details-Atcodhcd.js → get-payment-details-DNpOyUyR.js} +1 -1
  32. package/dist/cjs/{get-subaccounts-BUyf9EhG.js → get-subaccounts-BQW_RPW5.js} +1 -1
  33. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +4 -4
  34. package/dist/cjs/{header-1-DR-eAlp1.js → header-1-CsBQoo1f.js} +1 -1
  35. package/dist/cjs/{header-3-kgnQtxEu.js → header-3-DCYJhPro.js} +1 -1
  36. package/dist/cjs/hidden-input_2.cjs.entry.js +7 -7
  37. package/dist/cjs/{insurance-state-CRhLwPxQ.js → insurance-state-Xe2auE-N.js} +1 -1
  38. package/dist/cjs/internal-button.cjs.entry.js +18 -0
  39. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +25 -25
  40. package/dist/cjs/{justifi-apple-pay_8.cjs.entry.js → justifi-apple-pay_11.cjs.entry.js} +346 -40
  41. package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +46 -0
  42. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +44 -0
  43. package/dist/cjs/justifi-billing-form-full.cjs.entry.js +24 -0
  44. package/dist/cjs/justifi-billing-form.cjs.entry.js +24 -0
  45. package/dist/cjs/justifi-business-details.cjs.entry.js +10 -9
  46. package/dist/cjs/justifi-business-form.cjs.entry.js +13 -12
  47. package/dist/cjs/justifi-card-billing-form-simple.cjs.entry.js +24 -0
  48. package/dist/cjs/justifi-card-form.cjs.entry.js +44 -0
  49. package/dist/cjs/justifi-checkout.cjs.entry.js +10 -11
  50. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +8 -7
  51. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +13 -12
  52. package/dist/cjs/justifi-config-provider.cjs.entry.js +2 -2
  53. package/dist/cjs/justifi-details.cjs.entry.js +5 -5
  54. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +3 -3
  55. package/dist/cjs/justifi-dispute-management.cjs.entry.js +9 -8
  56. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +19 -18
  57. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +9 -8
  58. package/dist/cjs/justifi-order-terminals.cjs.entry.js +12 -11
  59. package/dist/cjs/justifi-payment-details.cjs.entry.js +11 -10
  60. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +7 -7
  61. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +9 -8
  62. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +12 -11
  63. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +6 -6
  64. package/dist/cjs/justifi-payments-list.cjs.entry.js +13 -12
  65. package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -9
  66. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +12 -11
  67. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +7 -7
  68. package/dist/cjs/justifi-payouts-list.cjs.entry.js +14 -13
  69. package/dist/cjs/justifi-refund-payment.cjs.entry.js +12 -11
  70. package/dist/cjs/justifi-save-new-payment-method.cjs.entry.js +18 -0
  71. package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +4 -4
  72. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +10 -9
  73. package/dist/cjs/justifi-skeleton.cjs.entry.js +3 -3
  74. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +12 -8
  75. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +11 -10
  76. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +7 -5
  77. package/dist/cjs/justifi-terminals-list.cjs.entry.js +13 -12
  78. package/dist/cjs/loader.cjs.js +1 -1
  79. package/dist/cjs/{package-OpgJzVo3.js → package-CJg8qLYd.js} +1 -1
  80. package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
  81. package/dist/cjs/{parts-WjOn_TIy.js → parts-BXshb_S-.js} +3 -70
  82. package/dist/cjs/payment-details-core.cjs.entry.js +14 -14
  83. package/dist/cjs/payment-method-option.cjs.entry.js +2 -2
  84. package/dist/cjs/{payment-provisioning-loading-BHAFHTuI.js → payment-provisioning-loading-tM9WWmxv.js} +1 -1
  85. package/dist/cjs/{payment.service-CxSGTv_O.js → payment.service-Dl9UExDw.js} +1 -1
  86. package/dist/cjs/payments-list-core.cjs.entry.js +8 -8
  87. package/dist/cjs/{payments-status-BngaUiWA.js → payments-status-Bj_bCKUP.js} +1 -1
  88. package/dist/cjs/{payments-table-DFOF8yrM.js → payments-table-CUxpxNnc.js} +2 -2
  89. package/dist/cjs/payout-details-core.cjs.entry.js +9 -9
  90. package/dist/cjs/{payout.service-CO2wDM6M.js → payout.service-kaFewwx4.js} +1 -1
  91. package/dist/cjs/payouts-list-core.cjs.entry.js +8 -8
  92. package/dist/cjs/{payouts-status-CP5T9uAc.js → payouts-status-DXZ5fl4v.js} +1 -1
  93. package/dist/cjs/{payouts-table-CHNRLZ3K.js → payouts-table-Dex2W8r1.js} +2 -2
  94. package/dist/cjs/{plaid.service-DvbLnuph.js → plaid.service-CK1ouCBC.js} +1 -1
  95. package/dist/cjs/radio-list-item.cjs.entry.js +21 -0
  96. package/dist/cjs/save-new-payment-method.cjs.entry.js +25 -0
  97. package/dist/cjs/{skeleton-BfN_sjaY.js → skeleton-DvRCiQlA.js} +1 -1
  98. package/dist/cjs/{spinner-51BOfCoS.js → spinner-C6ZGOB2P.js} +1 -1
  99. package/dist/cjs/{table-CimkSek7.js → table-DjbNv28p.js} +2 -2
  100. package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
  101. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +7 -7
  102. package/dist/cjs/{terminal-orders-table-DDLvv83x.js → terminal-orders-table-07fV7wGh.js} +3 -3
  103. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
  104. package/dist/cjs/{terminal.service-CUVwCH-a.js → terminal.service-UUoIe0IR.js} +1 -1
  105. package/dist/cjs/terminals-list-core.cjs.entry.js +7 -7
  106. package/dist/cjs/{terminals-table-BU73whCF.js → terminals-table-DmnAuog5.js} +2 -2
  107. package/dist/cjs/{utils-CowQ4GdN.js → utils-8RGQVADu.js} +1 -1
  108. package/dist/cjs/webcomponents.cjs.js +1 -1
  109. package/dist/collection/api/Terminal.js +1 -1
  110. package/dist/collection/api/services/apple-pay.service.js +1 -1
  111. package/dist/collection/collection-manifest.json +58 -52
  112. package/dist/collection/components/business-details/{business-details.js → justifi-business-details.js} +1 -1
  113. package/dist/collection/components/business-details/representative-details/representative-details.js +1 -1
  114. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +2 -2
  115. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +3 -3
  116. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +3 -3
  117. package/dist/collection/components/business-forms/business-form/{business-form.js → justifi-business-form.js} +2 -2
  118. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +2 -2
  119. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +2 -2
  120. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +2 -2
  121. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +3 -3
  122. package/dist/collection/components/business-forms/owner-form/owner-form.js +3 -3
  123. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/{business-additional-questions-form-step.js → additional-questions-form-step.js} +1 -1
  124. package/dist/collection/components/business-forms/payment-provisioning/bank-account/{bank-account-document-inputs.js → bank-account-document-form-inputs.js} +1 -1
  125. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.js +1 -1
  126. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +1 -1
  127. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.js +1 -1
  128. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +1 -1
  129. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
  130. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +2 -2
  131. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +4 -4
  132. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +2 -2
  133. package/dist/collection/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.js +2 -2
  134. package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +3 -3
  135. package/dist/collection/components/business-forms/payment-provisioning/{payment-provisioning.js → justifi-payment-provisioning.js} +2 -2
  136. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +2 -2
  137. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +2 -2
  138. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +2 -2
  139. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +9 -9
  140. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +2 -2
  141. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +11 -16
  142. package/dist/collection/components/{modular-checkout/sub-components → checkout/billing-form}/bank-account-billing-form-simple.js +16 -35
  143. package/dist/collection/components/{modular-checkout/sub-components → checkout/billing-form}/billing-form-full.js +19 -37
  144. package/dist/collection/components/checkout/billing-form/billing-form.js +5 -35
  145. package/dist/collection/components/{modular-checkout/sub-components → checkout/billing-form}/card-billing-form-simple.js +16 -35
  146. package/dist/collection/components/checkout/billing-form/justifi-billing-form.js +140 -0
  147. package/dist/collection/components/checkout/card-form/card-form.js +11 -16
  148. package/dist/collection/components/checkout/{checkout.js → justifi-checkout.js} +3 -24
  149. package/dist/collection/components/checkout/{saved-payment-method.js → justifi-saved-payment-method.js} +2 -2
  150. package/dist/collection/components/checkout/save-new-payment-method/justifi-save-new-payment-method.js +73 -0
  151. package/dist/collection/components/checkout/{save-new-payment-method.js → save-new-payment-method/save-new-payment-method.js} +23 -6
  152. package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
  153. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +25 -5
  154. package/dist/collection/components/checkouts-list/{checkouts-list.js → justifi-checkouts-list.js} +2 -2
  155. package/dist/collection/components/config-provider/{config-provider.js → justifi-config-provider.js} +1 -1
  156. package/dist/collection/components/dispute-management/dispute-management-core.js +2 -2
  157. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +2 -2
  158. package/dist/collection/components/dispute-management/dispute-response/{additional-statement.js → justifi-additional-statement.js} +2 -2
  159. package/dist/collection/components/dispute-management/dispute-response/{cancellation-policy.js → justifi-cancellation-policy.js} +2 -2
  160. package/dist/collection/components/dispute-management/dispute-response/{customer-details.js → justifi-customer-details.js} +2 -2
  161. package/dist/collection/components/dispute-management/dispute-response/{dispute-response.js → justifi-dispute-response.js} +5 -4
  162. package/dist/collection/components/dispute-management/dispute-response/{duplicate-charge.js → justifi-duplicate-charge.js} +2 -2
  163. package/dist/collection/components/dispute-management/dispute-response/{electronic-evidence.js → justifi-electronic-evidence.js} +2 -2
  164. package/dist/collection/components/dispute-management/dispute-response/{product-or-service.js → justifi-product-or-service.js} +2 -2
  165. package/dist/collection/components/dispute-management/dispute-response/{refund-policy.js → justifi-refund-policy.js} +2 -2
  166. package/dist/collection/components/dispute-management/dispute-response/{shipping-details.js → justifi-shipping-details.js} +2 -2
  167. package/dist/collection/components/dispute-management/{dispute-management.js → justifi-dispute-management.js} +2 -2
  168. package/dist/collection/components/dispute-management/{dispute-notification.js → justifi-dispute-notification.js} +3 -3
  169. package/dist/collection/components/filters/table-filters-menu.js +1 -1
  170. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  171. package/dist/collection/components/gross-payment-chart/{gross-payment-chart.js → justifi-gross-payment-chart.js} +1 -1
  172. package/dist/collection/components/insurance/season-interruption/{season-interruption-insurance.js → justifi-season-interruption-insurance.js} +1 -1
  173. package/dist/collection/components/modular-checkout/{modular-checkout.js → justifi-modular-checkout.js} +41 -3
  174. package/dist/collection/components/modular-checkout/sub-components/{apple-pay.js → justifi-apple-pay.js} +8 -11
  175. package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-billing-form-simple.js +95 -0
  176. package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-form.js +69 -0
  177. package/dist/collection/components/modular-checkout/sub-components/justifi-billing-form-full.js +83 -0
  178. package/dist/collection/components/modular-checkout/sub-components/justifi-card-billing-form-simple.js +83 -0
  179. package/dist/collection/components/modular-checkout/sub-components/justifi-card-form.js +69 -0
  180. package/dist/collection/components/modular-checkout/sub-components/justifi-checkout-summary.js +12 -0
  181. package/dist/collection/components/modular-checkout/sub-components/{google-pay.js → justifi-google-pay.js} +1 -1
  182. package/dist/collection/components/modular-checkout/sub-components/{plaid-payment-method.js → justifi-plaid-payment-method.js} +2 -2
  183. package/dist/collection/components/modular-checkout/sub-components/{saved-payment-methods.js → justifi-saved-payment-methods.js} +1 -1
  184. package/dist/collection/components/modular-checkout/sub-components/{sezzle-payment-method.js → justifi-sezzle-payment-method.js} +1 -1
  185. package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
  186. package/dist/collection/components/order-terminals/{order-terminals.js → justifi-order-terminals.js} +2 -2
  187. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  188. package/dist/collection/components/payment-details/{payment-details.js → justifi-payment-details.js} +1 -1
  189. package/dist/collection/components/payment-details/payment-details-core.js +8 -8
  190. package/dist/collection/components/payment-transactions-list/{payment-transactions-list.js → justifi-payment-transactions-list.js} +2 -2
  191. package/dist/collection/components/payments-list/{payments-list-filters.js → justifi-payments-list-filters.js} +5 -5
  192. package/dist/collection/components/payments-list/{payments-list.js → justifi-payments-list.js} +2 -2
  193. package/dist/collection/components/payments-list/payments-list-core.js +1 -1
  194. package/dist/collection/components/payout-details/{payout-details.js → justifi-payout-details.js} +1 -1
  195. package/dist/collection/components/payout-details/payout-details-core.js +3 -3
  196. package/dist/collection/components/payout-transactions-list/{payout-transactions-list.js → justifi-payout-transactions-list.js} +2 -2
  197. package/dist/collection/components/payouts-list/{payouts-list-filters.js → justifi-payouts-list-filters.js} +5 -5
  198. package/dist/collection/components/payouts-list/{payouts-list.js → justifi-payouts-list.js} +2 -2
  199. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  200. package/dist/collection/components/refund-payment/{refund-payment.js → justifi-refund-payment.js} +1 -1
  201. package/dist/collection/components/terminal-orders-list/{terminal-orders-list-filters.js → justifi-terminal-orders-list-filters.js} +28 -6
  202. package/dist/collection/components/terminal-orders-list/{terminal-orders-list.js → justifi-terminal-orders-list.js} +2 -2
  203. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
  204. package/dist/collection/components/terminals-list/{terminals-list-filters.js → justifi-terminals-list-filters.js} +43 -3
  205. package/dist/collection/components/terminals-list/{terminals-list.js → justifi-terminals-list.js} +2 -2
  206. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  207. package/dist/collection/components/tokenize-payment-method/{internal-tokenize-payment-method.js → justifi-tokenize-payment-method.js} +73 -37
  208. package/dist/collection/styles/parts.js +1 -40
  209. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  210. package/dist/collection/ui-components/details/{details.js → justifi-details.js} +2 -2
  211. package/dist/collection/ui-components/form/form-control-checkbox.js +3 -3
  212. package/dist/collection/ui-components/form/form-control-date.js +3 -3
  213. package/dist/collection/ui-components/form/form-control-file-v2.js +2 -2
  214. package/dist/collection/ui-components/form/form-control-file.js +3 -3
  215. package/dist/collection/ui-components/form/form-control-monetary.js +3 -3
  216. package/dist/collection/ui-components/form/form-control-number-masked.js +3 -3
  217. package/dist/collection/ui-components/form/form-control-number.js +3 -3
  218. package/dist/collection/ui-components/form/form-control-radio.js +3 -3
  219. package/dist/collection/ui-components/form/form-control-select.js +3 -3
  220. package/dist/collection/ui-components/form/form-control-text.js +3 -3
  221. package/dist/collection/ui-components/form/form-control-textarea.js +3 -3
  222. package/dist/collection/ui-components/form/form-helpers/form-control-tooltip/form-control-tooltip.js +1 -1
  223. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  224. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  225. package/dist/collection/ui-components/index.js +1 -1
  226. package/dist/collection/ui-components/internal-button.js +192 -0
  227. package/dist/collection/ui-components/radio-list-item.js +153 -0
  228. package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +20 -2
  229. package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +2 -2
  230. package/dist/collection/ui-components/shadow-dom-components/justifi-radio-list-item.js +1 -5
  231. package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
  232. package/dist/docs.json +11209 -10644
  233. package/dist/esm/{check-pkg-version-QOngucT4.js → Analytics-C2EVi4Am.js} +4 -46
  234. package/dist/esm/{Api-CLZVsXZg.js → Api-DI0-itk3.js} +1 -1
  235. package/dist/esm/{Plaid-Cmyilr-q.js → Plaid-vwPGZ5y4.js} +2 -2
  236. package/dist/esm/additional-questions-details_5.entry.js +5 -5
  237. package/dist/esm/{justifi-additional-questions-form-step_9.entry.js → additional-questions-form-step_9.entry.js} +22 -22
  238. package/dist/esm/{form-alert_5.entry.js → additional-questions_5.entry.js} +23 -23
  239. package/dist/esm/{badge-BfWXAKIJ.js → badge-B_DdhQ3Q.js} +1 -1
  240. package/dist/esm/bank-account-billing-form-simple_4.entry.js +198 -0
  241. package/dist/esm/bank-account-document-form-inputs_9.entry.js +43 -43
  242. package/dist/esm/bank-account-form.entry.js +12 -8
  243. package/dist/esm/business-details-core.entry.js +3 -3
  244. package/dist/esm/{business.service-CS-wQJoN.js → business.service-M3YvwC-d.js} +2 -2
  245. package/dist/esm/{button-DoF-zpiW.js → button-B-Agn8yQ.js} +1 -1
  246. package/dist/esm/card-form.entry.js +12 -8
  247. package/dist/esm/check-pkg-version-qIHmWcbI.js +45 -0
  248. package/dist/esm/{checkout.service-BcQ_onZq.js → checkout.service-DdIBmfsp.js} +2 -2
  249. package/dist/esm/{checkout.store-iNkW80yV.js → checkout.store-C1TdhFf6.js} +1 -1
  250. package/dist/esm/checkouts-list-core.entry.js +8 -8
  251. package/dist/esm/{checkouts-table-XjFiAWCw.js → checkouts-table-4iLy6mvH.js} +3 -3
  252. package/dist/esm/custom-popper_2.entry.js +5 -5
  253. package/dist/esm/{dispute.service-B_oe0uFV.js → dispute.service-BzzA0DeT.js} +2 -2
  254. package/dist/esm/{form-control-number-masked_3.entry.js → form-address-fields_3.entry.js} +23 -23
  255. package/dist/esm/form-control-checkbox.entry.js +7 -7
  256. package/dist/esm/form-control-date.entry.js +6 -6
  257. package/dist/esm/{form-control-error-text-D5B0Wy4Q.js → form-control-error-text-DMKhr8QA.js} +1 -1
  258. package/dist/esm/form-control-file-v2_2.entry.js +8 -8
  259. package/dist/esm/{form-control-help-text-XuRclELV.js → form-control-help-text-CsdCuw5-.js} +1 -1
  260. package/dist/esm/form-control-monetary-provisioning.entry.js +7 -7
  261. package/dist/esm/form-control-monetary.entry.js +8 -8
  262. package/dist/esm/form-control-number_3.entry.js +13 -13
  263. package/dist/esm/form-control-radio.entry.js +5 -5
  264. package/dist/esm/form-control-select_2.entry.js +9 -9
  265. package/dist/esm/{get-payment-details-BdewJSTH.js → get-payment-details-CN7gUjBc.js} +1 -1
  266. package/dist/esm/{get-subaccounts-BFALCYFr.js → get-subaccounts-Mwx-aVcG.js} +2 -2
  267. package/dist/esm/gross-payment-chart-core.entry.js +5 -5
  268. package/dist/esm/{header-1-BIaO3iDb.js → header-1-bRxxOyI-.js} +1 -1
  269. package/dist/esm/{header-3-UswhFvUr.js → header-3-E533c0A3.js} +1 -1
  270. package/dist/esm/hidden-input_2.entry.js +7 -7
  271. package/dist/esm/{insurance-state-MpA7uaXF.js → insurance-state-obAKb1XR.js} +1 -1
  272. package/dist/esm/internal-button.entry.js +16 -0
  273. package/dist/esm/justifi-additional-statement_8.entry.js +18 -18
  274. package/dist/esm/{justifi-apple-pay_8.entry.js → justifi-apple-pay_11.entry.js} +339 -36
  275. package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +44 -0
  276. package/dist/esm/justifi-bank-account-form.entry.js +42 -0
  277. package/dist/esm/justifi-billing-form-full.entry.js +22 -0
  278. package/dist/esm/justifi-billing-form.entry.js +22 -0
  279. package/dist/esm/justifi-business-details.entry.js +11 -10
  280. package/dist/esm/justifi-business-form.entry.js +14 -13
  281. package/dist/esm/justifi-card-billing-form-simple.entry.js +22 -0
  282. package/dist/esm/justifi-card-form.entry.js +42 -0
  283. package/dist/esm/justifi-checkout.entry.js +12 -13
  284. package/dist/esm/justifi-checkouts-list-filters.entry.js +9 -8
  285. package/dist/esm/justifi-checkouts-list.entry.js +14 -13
  286. package/dist/esm/justifi-config-provider.entry.js +2 -2
  287. package/dist/esm/justifi-details.entry.js +5 -5
  288. package/dist/esm/justifi-dispute-management-core.entry.js +3 -3
  289. package/dist/esm/justifi-dispute-management.entry.js +10 -9
  290. package/dist/esm/justifi-dispute-notification_3.entry.js +18 -17
  291. package/dist/esm/justifi-gross-payment-chart.entry.js +10 -9
  292. package/dist/esm/justifi-order-terminals.entry.js +13 -12
  293. package/dist/esm/justifi-payment-details.entry.js +12 -11
  294. package/dist/esm/justifi-payment-provisioning-core.entry.js +7 -7
  295. package/dist/esm/justifi-payment-provisioning.entry.js +10 -9
  296. package/dist/esm/justifi-payment-transactions-list.entry.js +13 -12
  297. package/dist/esm/justifi-payments-list-filters.entry.js +7 -7
  298. package/dist/esm/justifi-payments-list.entry.js +14 -13
  299. package/dist/esm/justifi-payout-details.entry.js +11 -10
  300. package/dist/esm/justifi-payout-transactions-list.entry.js +13 -12
  301. package/dist/esm/justifi-payouts-list-filters.entry.js +8 -8
  302. package/dist/esm/justifi-payouts-list.entry.js +15 -14
  303. package/dist/esm/justifi-refund-payment.entry.js +13 -12
  304. package/dist/esm/justifi-save-new-payment-method.entry.js +16 -0
  305. package/dist/esm/justifi-saved-payment-method.entry.js +4 -4
  306. package/dist/esm/justifi-season-interruption-insurance.entry.js +12 -11
  307. package/dist/esm/justifi-skeleton.entry.js +3 -3
  308. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +13 -9
  309. package/dist/esm/justifi-terminal-orders-list.entry.js +12 -11
  310. package/dist/esm/justifi-terminals-list-filters.entry.js +8 -6
  311. package/dist/esm/justifi-terminals-list.entry.js +14 -13
  312. package/dist/esm/loader.js +1 -1
  313. package/dist/esm/{package-Cc6518FT.js → package-CIYOQWsL.js} +1 -1
  314. package/dist/esm/pagination-menu.entry.js +1 -1
  315. package/dist/esm/parts-D50Rx76J.js +110 -0
  316. package/dist/esm/payment-details-core.entry.js +15 -15
  317. package/dist/esm/payment-method-option.entry.js +2 -2
  318. package/dist/esm/{payment-provisioning-loading-DRFgrvp1.js → payment-provisioning-loading-BAoIyEOj.js} +1 -1
  319. package/dist/esm/{payment.service-Nvz1TYZB.js → payment.service-0k8z2rOV.js} +2 -2
  320. package/dist/esm/payments-list-core.entry.js +9 -9
  321. package/dist/esm/{payments-status-Dkt38hpB.js → payments-status-7P7L51CK.js} +1 -1
  322. package/dist/esm/{payments-table-ghXGJ-N6.js → payments-table-Bz7LmU_J.js} +3 -3
  323. package/dist/esm/payout-details-core.entry.js +10 -10
  324. package/dist/esm/{payout.service-tTxsxoqF.js → payout.service-C14YvCWQ.js} +2 -2
  325. package/dist/esm/payouts-list-core.entry.js +9 -9
  326. package/dist/esm/{payouts-status-B4iry-1w.js → payouts-status-CGZRMu-q.js} +1 -1
  327. package/dist/esm/{payouts-table-CBsTdL9_.js → payouts-table-Bpt__avQ.js} +3 -3
  328. package/dist/esm/{plaid.service-C59iS7tB.js → plaid.service-Dtxfrsm8.js} +2 -2
  329. package/dist/esm/radio-list-item.entry.js +19 -0
  330. package/dist/esm/save-new-payment-method.entry.js +23 -0
  331. package/dist/esm/{skeleton-DzBAY0bs.js → skeleton-DV6yJalo.js} +1 -1
  332. package/dist/esm/{spinner-DQpyMqKv.js → spinner--fEgBBOG.js} +1 -1
  333. package/dist/esm/{table-BwxLvetJ.js → table-Deugl8h5.js} +2 -2
  334. package/dist/esm/table-filters-menu.entry.js +3 -3
  335. package/dist/esm/terminal-orders-list-core.entry.js +8 -8
  336. package/dist/esm/{terminal-orders-table-Cy0qV96Y.js → terminal-orders-table-DRnRR4zn.js} +4 -4
  337. package/dist/esm/terminal-quantity-selector.entry.js +2 -2
  338. package/dist/esm/{terminal.service-Dv1-CZ4Y.js → terminal.service-rxvEhqqF.js} +2 -2
  339. package/dist/esm/terminals-list-core.entry.js +8 -8
  340. package/dist/esm/{terminals-table-BQQs_JoR.js → terminals-table-DSDZgJ77.js} +3 -3
  341. package/dist/esm/{utils-7bp92NC7.js → utils-C_8ZxLti.js} +1 -1
  342. package/dist/esm/{utils-BGbtbDiV.js → utils-DJOBwFeP.js} +1 -1
  343. package/dist/esm/webcomponents.js +1 -1
  344. package/dist/module/Analytics.js +1 -43
  345. package/dist/module/Plaid.js +2 -2
  346. package/dist/module/additional-questions-form-step.d.ts +11 -0
  347. package/dist/module/additional-questions-form-step.js +6 -0
  348. package/dist/module/{business-additional-questions-form-step.js → additional-questions-form-step2.js} +5 -5
  349. package/dist/module/additional-questions.d.ts +11 -0
  350. package/dist/module/additional-questions.js +4 -76
  351. package/dist/module/additional-questions2.js +78 -0
  352. package/dist/module/badge.js +1 -1
  353. package/dist/module/bank-account-billing-form-simple.d.ts +11 -0
  354. package/dist/module/bank-account-billing-form-simple.js +4 -86
  355. package/dist/module/bank-account-billing-form-simple2.js +91 -0
  356. package/dist/module/bank-account-document-form-inputs.js +1 -1
  357. package/dist/module/{bank-account-document-inputs.js → bank-account-document-form-inputs2.js} +1 -1
  358. package/dist/module/bank-account-form-inputs-canada2.js +3 -3
  359. package/dist/module/bank-account-form-inputs2.js +3 -3
  360. package/dist/module/bank-account-form.js +1 -80
  361. package/dist/module/{bank-account.js → bank-account-form2.js} +10 -19
  362. package/dist/module/bank-account-read-only-value2.js +2 -2
  363. package/dist/module/billing-form-full.d.ts +11 -0
  364. package/dist/module/billing-form-full.js +4 -97
  365. package/dist/module/billing-form-full2.js +105 -0
  366. package/dist/module/billing-form-schema.js +1 -1
  367. package/dist/module/billing-form.d.ts +11 -0
  368. package/dist/module/billing-form.js +4 -102
  369. package/dist/module/billing-form2.js +99 -0
  370. package/dist/module/business-additional-questions-schema.js +1 -1
  371. package/dist/module/business-address-schema.js +2 -2
  372. package/dist/module/business-bank-account-form-step.d.ts +11 -0
  373. package/dist/module/business-bank-account-form-step.js +4 -602
  374. package/dist/module/business-bank-account-form-step2.js +604 -0
  375. package/dist/module/business-core-info-form-step.d.ts +11 -0
  376. package/dist/module/business-core-info-form-step.js +4 -215
  377. package/dist/module/business-core-info-form-step2.js +217 -0
  378. package/dist/module/{justifi-owner-form.d.ts → business-core-info.d.ts} +4 -4
  379. package/dist/module/business-core-info.js +4 -92
  380. package/dist/module/business-core-info2.js +94 -0
  381. package/dist/module/business-details-core2.js +1 -1
  382. package/dist/module/business-documents-on-file2.js +3 -3
  383. package/dist/module/business-form-options.js +1 -1
  384. package/dist/module/business-identity-schema.js +2 -2
  385. package/dist/module/business-owners-form-step.d.ts +11 -0
  386. package/dist/module/business-owners-form-step.js +4 -302
  387. package/dist/module/business-owners-form-step2.js +304 -0
  388. package/dist/module/business-representative-form-inputs.d.ts +11 -0
  389. package/dist/module/business-representative-form-inputs.js +4 -100
  390. package/dist/module/business-representative-form-inputs2.js +102 -0
  391. package/dist/module/business-representative-form-step.d.ts +11 -0
  392. package/dist/module/business-representative-form-step.js +4 -220
  393. package/dist/module/business-representative-form-step2.js +222 -0
  394. package/dist/module/business-representative.d.ts +11 -0
  395. package/dist/module/business-representative.js +4 -114
  396. package/dist/module/business-representative2.js +116 -0
  397. package/dist/module/business-terms-conditions-form-step.d.ts +11 -0
  398. package/dist/module/business-terms-conditions-form-step.js +4 -165
  399. package/dist/module/business-terms-conditions-form-step2.js +167 -0
  400. package/dist/module/button.js +1 -1
  401. package/dist/module/card-billing-form-simple.d.ts +11 -0
  402. package/dist/module/card-billing-form-simple.js +4 -86
  403. package/dist/module/card-billing-form-simple2.js +91 -0
  404. package/dist/module/card-form.js +1 -84
  405. package/dist/module/card-form2.js +12 -21
  406. package/dist/module/check-pkg-version.js +45 -0
  407. package/dist/module/checkout.store.js +2 -2
  408. package/dist/module/checkouts-list-core2.js +4 -4
  409. package/dist/module/checkouts-list-params-state.js +1 -1
  410. package/dist/module/config-state.js +1 -1
  411. package/dist/module/custom-popper2.js +2 -2
  412. package/dist/module/dispute-management-core.js +15 -15
  413. package/dist/module/dispute-response-actions.js +2 -2
  414. package/dist/module/dispute-response-core.js +13 -13
  415. package/dist/module/form-address-fields.d.ts +11 -0
  416. package/dist/module/form-address-fields.js +4 -63
  417. package/dist/module/form-address-fields2.js +65 -0
  418. package/dist/module/form-alert2.js +1 -1
  419. package/dist/module/form-control-checkbox.js +2 -2
  420. package/dist/module/form-control-checkbox2.js +8 -8
  421. package/dist/module/form-control-date.js +2 -2
  422. package/dist/module/form-control-date2.js +7 -7
  423. package/dist/module/form-control-file-v2.js +2 -2
  424. package/dist/module/form-control-file-v22.js +4 -4
  425. package/dist/module/form-control-file.js +2 -2
  426. package/dist/module/form-control-file2.js +7 -7
  427. package/dist/module/form-control-help-text.js +1 -1
  428. package/dist/module/form-control-help-text2.js +9 -32
  429. package/dist/module/form-control-help-text3.js +32 -9
  430. package/dist/module/form-control-monetary-provisioning.js +2 -2
  431. package/dist/module/form-control-monetary-provisioning2.js +9 -9
  432. package/dist/module/form-control-monetary.js +2 -2
  433. package/dist/module/form-control-monetary2.js +8 -8
  434. package/dist/module/form-control-number-masked.js +2 -2
  435. package/dist/module/form-control-number-masked2.js +8 -8
  436. package/dist/module/form-control-number.js +2 -2
  437. package/dist/module/form-control-number2.js +8 -8
  438. package/dist/module/form-control-radio.js +2 -2
  439. package/dist/module/form-control-radio2.js +7 -7
  440. package/dist/module/form-control-select.js +2 -2
  441. package/dist/module/form-control-select2.js +7 -7
  442. package/dist/module/form-control-text.js +2 -2
  443. package/dist/module/form-control-text2.js +7 -7
  444. package/dist/module/form-control-textarea.js +2 -2
  445. package/dist/module/form-control-textarea2.js +7 -7
  446. package/dist/module/form-control-tooltip.js +2 -2
  447. package/dist/module/form-control-tooltip2.js +4 -4
  448. package/dist/module/get-business.js +2 -2
  449. package/dist/module/get-payment-details.js +2 -2
  450. package/dist/module/get-payout-csv.js +2 -2
  451. package/dist/module/get-subaccounts.js +2 -2
  452. package/dist/module/gross-payment-chart-core2.js +1 -1
  453. package/dist/module/header-1.js +1 -1
  454. package/dist/module/header-3.js +1 -1
  455. package/dist/module/hidden-input2.js +2 -2
  456. package/dist/module/identity-address-form.d.ts +11 -0
  457. package/dist/module/identity-address-form.js +4 -76
  458. package/dist/module/identity-address-form2.js +78 -0
  459. package/dist/module/iframe-input-styles-state.js +1 -1
  460. package/dist/module/iframe-input2.js +4 -4
  461. package/dist/module/index2.js +3567 -246
  462. package/dist/module/index3.js +246 -3567
  463. package/dist/module/insurance-state.js +1 -1
  464. package/dist/module/internal-button.d.ts +11 -0
  465. package/dist/module/internal-button.js +6 -0
  466. package/dist/module/internal-button2.js +42 -0
  467. package/dist/module/justifi-additional-statement.js +2 -2
  468. package/dist/module/{additional-statement.js → justifi-additional-statement2.js} +5 -5
  469. package/dist/module/justifi-apple-pay.js +2 -2
  470. package/dist/module/{apple-pay.js → justifi-apple-pay2.js} +12 -12
  471. package/dist/module/justifi-bank-account-billing-form-simple.js +81 -2
  472. package/dist/module/justifi-bank-account-form.js +72 -2
  473. package/dist/module/justifi-billing-form-full.js +75 -2
  474. package/dist/module/justifi-billing-form.js +96 -2
  475. package/dist/module/justifi-business-details.js +7 -6
  476. package/dist/module/justifi-business-form.js +38 -37
  477. package/dist/module/justifi-button2.js +10 -4
  478. package/dist/module/justifi-cancellation-policy.js +2 -2
  479. package/dist/module/{cancellation-policy.js → justifi-cancellation-policy2.js} +5 -5
  480. package/dist/module/justifi-card-billing-form-simple.js +69 -2
  481. package/dist/module/justifi-card-form.js +71 -1
  482. package/dist/module/justifi-checkout-summary.js +2 -2
  483. package/dist/module/{summary.js → justifi-checkout-summary2.js} +6 -6
  484. package/dist/module/justifi-checkout.js +73 -62
  485. package/dist/module/justifi-checkouts-list-filters.js +10 -8
  486. package/dist/module/justifi-checkouts-list.js +9 -8
  487. package/dist/module/justifi-config-provider.js +3 -3
  488. package/dist/module/justifi-customer-details.js +2 -2
  489. package/dist/module/{customer-details.js → justifi-customer-details2.js} +5 -5
  490. package/dist/module/justifi-details.js +2 -2
  491. package/dist/module/{details.js → justifi-details2.js} +4 -4
  492. package/dist/module/justifi-dispute-management-core.js +2 -2
  493. package/dist/module/justifi-dispute-management.js +19 -18
  494. package/dist/module/justifi-dispute-notification.js +2 -2
  495. package/dist/module/{dispute-notification.js → justifi-dispute-notification2.js} +7 -7
  496. package/dist/module/justifi-dispute-response-core.js +2 -2
  497. package/dist/module/justifi-dispute-response.js +2 -2
  498. package/dist/module/{dispute-response.js → justifi-dispute-response2.js} +17 -16
  499. package/dist/module/justifi-duplicate-charge.js +2 -2
  500. package/dist/module/{duplicate-charge.js → justifi-duplicate-charge2.js} +5 -5
  501. package/dist/module/justifi-electronic-evidence.js +2 -2
  502. package/dist/module/{electronic-evidence.js → justifi-electronic-evidence2.js} +4 -4
  503. package/dist/module/justifi-google-pay.js +2 -2
  504. package/dist/module/{google-pay.js → justifi-google-pay2.js} +4 -4
  505. package/dist/module/justifi-gross-payment-chart.js +7 -6
  506. package/dist/module/justifi-header.js +2 -2
  507. package/dist/module/justifi-header2.js +4 -4
  508. package/dist/module/justifi-modular-checkout.js +2 -2
  509. package/dist/module/{modular-checkout.js → justifi-modular-checkout2.js} +23 -9
  510. package/dist/module/justifi-order-terminals.js +10 -9
  511. package/dist/module/justifi-payment-details.js +7 -6
  512. package/dist/module/justifi-payment-provisioning-core.js +2 -2
  513. package/dist/module/justifi-payment-provisioning.js +70 -69
  514. package/dist/module/justifi-payment-transactions-list.js +10 -9
  515. package/dist/module/justifi-payments-list-filters.js +8 -8
  516. package/dist/module/justifi-payments-list.js +9 -8
  517. package/dist/module/justifi-payout-details.js +8 -7
  518. package/dist/module/justifi-payout-transactions-list.js +10 -9
  519. package/dist/module/justifi-payouts-list-filters.js +8 -8
  520. package/dist/module/justifi-payouts-list.js +9 -8
  521. package/dist/module/justifi-plaid-payment-method.js +2 -2
  522. package/dist/module/{plaid-payment-method.js → justifi-plaid-payment-method2.js} +7 -7
  523. package/dist/module/justifi-product-or-service.js +2 -2
  524. package/dist/module/{product-or-service.js → justifi-product-or-service2.js} +4 -4
  525. package/dist/module/justifi-radio-list-item2.js +11 -9
  526. package/dist/module/justifi-refund-payment.js +9 -8
  527. package/dist/module/justifi-refund-policy.js +2 -2
  528. package/dist/module/{refund-policy.js → justifi-refund-policy2.js} +5 -5
  529. package/dist/module/justifi-save-new-payment-method.js +50 -2
  530. package/dist/module/justifi-saved-payment-method.js +6 -6
  531. package/dist/module/justifi-saved-payment-methods.js +2 -2
  532. package/dist/module/{saved-payment-methods.js → justifi-saved-payment-methods2.js} +6 -6
  533. package/dist/module/justifi-season-interruption-insurance.js +10 -9
  534. package/dist/module/justifi-sezzle-payment-method.js +2 -2
  535. package/dist/module/{sezzle-payment-method.js → justifi-sezzle-payment-method2.js} +4 -4
  536. package/dist/module/justifi-shipping-details.js +2 -2
  537. package/dist/module/{shipping-details.js → justifi-shipping-details2.js} +5 -5
  538. package/dist/module/justifi-skeleton.js +1 -1
  539. package/dist/module/justifi-terminal-orders-list-filters.js +26 -16
  540. package/dist/module/justifi-terminal-orders-list.js +9 -8
  541. package/dist/module/justifi-terminals-list-filters.js +10 -6
  542. package/dist/module/justifi-terminals-list.js +9 -8
  543. package/dist/module/justifi-tokenize-payment-method.js +2 -167
  544. package/dist/module/{internal-tokenize-payment-method2.js → justifi-tokenize-payment-method2.js} +73 -56
  545. package/dist/module/legal-address-form-step.d.ts +11 -0
  546. package/dist/module/legal-address-form-step.js +4 -189
  547. package/dist/module/legal-address-form-step2.js +191 -0
  548. package/dist/module/legal-address-form.d.ts +11 -0
  549. package/dist/module/legal-address-form.js +4 -74
  550. package/dist/module/legal-address-form2.js +76 -0
  551. package/dist/module/owner-details2.js +1 -1
  552. package/dist/module/owner-form-core.js +2 -2
  553. package/dist/module/owner-form-core2.js +23 -23
  554. package/dist/module/owner-form-inputs.js +2 -2
  555. package/dist/module/owner-form-inputs2.js +23 -23
  556. package/dist/module/owner-form.d.ts +11 -0
  557. package/dist/module/owner-form.js +4 -142
  558. package/dist/module/owner-form2.js +144 -0
  559. package/dist/module/package.js +1 -1
  560. package/dist/module/pagination-menu2.js +1 -1
  561. package/dist/module/parts.js +2 -41
  562. package/dist/module/payment-details-core2.js +10 -10
  563. package/dist/module/payment-method-option.js +4 -4
  564. package/dist/module/payment-provisioning-actions.js +2 -2
  565. package/dist/module/payment-provisioning-core.js +68 -68
  566. package/dist/module/payment-provisioning-form-buttons.d.ts +11 -0
  567. package/dist/module/payment-provisioning-form-buttons.js +4 -49
  568. package/dist/module/payment-provisioning-form-buttons2.js +51 -0
  569. package/dist/module/payment-provisioning-form-steps.d.ts +11 -0
  570. package/dist/module/payment-provisioning-form-steps.js +4 -224
  571. package/dist/module/payment-provisioning-form-steps2.js +226 -0
  572. package/dist/module/payment-provisioning-loading.js +1 -1
  573. package/dist/module/payments-list-core2.js +3 -3
  574. package/dist/module/payments-list-params-state.js +1 -1
  575. package/dist/module/payout-details-core2.js +5 -5
  576. package/dist/module/payouts-list-core2.js +4 -4
  577. package/dist/module/payouts-list-params-state.js +1 -1
  578. package/dist/module/plaid-verification2.js +3 -3
  579. package/dist/module/radio-list-item.d.ts +11 -0
  580. package/dist/module/radio-list-item.js +6 -0
  581. package/dist/module/radio-list-item2.js +55 -0
  582. package/dist/module/representative-details.js +2 -2
  583. package/dist/module/representative-details2.js +4 -4
  584. package/dist/module/save-new-payment-method.d.ts +11 -0
  585. package/dist/module/save-new-payment-method.js +4 -50
  586. package/dist/module/save-new-payment-method2.js +48 -0
  587. package/dist/module/schema-validations.js +2 -2
  588. package/dist/module/skeleton.js +1 -1
  589. package/dist/module/spinner.js +1 -1
  590. package/dist/module/table-filters-menu2.js +2 -2
  591. package/dist/module/table.js +1 -1
  592. package/dist/module/terminal-orders-list-core2.js +3 -3
  593. package/dist/module/terminal-orders-list-params-state.js +1 -1
  594. package/dist/module/terminal-quantity-selector2.js +2 -2
  595. package/dist/module/terminals-list-core2.js +3 -3
  596. package/dist/module/terminals-list-params-state.js +1 -1
  597. package/dist/module/utils.js +1 -1
  598. package/dist/module/utils2.js +1 -1
  599. package/dist/module/utils3.js +24 -23
  600. package/dist/module/utils4.js +23 -24
  601. package/dist/types/api/Checkout.d.ts +1 -0
  602. package/dist/types/api/Terminal.d.ts +3 -1
  603. package/dist/types/api/TerminalOrder.d.ts +1 -0
  604. package/dist/types/components/business-details/{business-details.d.ts → justifi-business-details.d.ts} +1 -1
  605. package/dist/types/components/business-details/representative-details/representative-details.d.ts +1 -1
  606. package/dist/types/components/business-forms/business-form/{business-form.d.ts → justifi-business-form.d.ts} +1 -1
  607. package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +1 -1
  608. package/dist/types/components/business-forms/owner-form/owner-form-inputs.d.ts +1 -1
  609. package/dist/types/components/business-forms/owner-form/owner-form.d.ts +1 -1
  610. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.d.ts +1 -1
  611. package/dist/types/components/business-forms/payment-provisioning/form-control-monetary-provisioning.d.ts +1 -1
  612. package/dist/types/components/business-forms/payment-provisioning/{payment-provisioning.d.ts → justifi-payment-provisioning.d.ts} +1 -1
  613. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-core.d.ts +1 -1
  614. package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +6 -6
  615. package/dist/types/components/checkout/bank-account-form/bank-account-form.d.ts +5 -1
  616. package/dist/types/components/{modular-checkout/sub-components → checkout/billing-form}/bank-account-billing-form-simple.d.ts +3 -2
  617. package/dist/types/components/{modular-checkout/sub-components → checkout/billing-form}/billing-form-full.d.ts +4 -2
  618. package/dist/types/components/checkout/billing-form/billing-form-schema.d.ts +1 -1
  619. package/dist/types/components/checkout/billing-form/billing-form.d.ts +0 -1
  620. package/dist/types/components/{modular-checkout/sub-components → checkout/billing-form}/card-billing-form-simple.d.ts +3 -2
  621. package/dist/types/components/checkout/billing-form/justifi-billing-form.d.ts +14 -0
  622. package/dist/types/components/checkout/card-form/card-form.d.ts +5 -1
  623. package/dist/types/components/checkout/{checkout.d.ts → justifi-checkout.d.ts} +2 -21
  624. package/dist/types/components/checkout/{saved-payment-method.d.ts → justifi-saved-payment-method.d.ts} +1 -1
  625. package/dist/types/components/checkout/save-new-payment-method/justifi-save-new-payment-method.d.ts +7 -0
  626. package/dist/types/components/checkout/{save-new-payment-method.d.ts → save-new-payment-method/save-new-payment-method.d.ts} +2 -1
  627. package/dist/types/components/checkouts-list/checkouts-list-filters.d.ts +2 -1
  628. package/dist/types/components/checkouts-list/{checkouts-list.d.ts → justifi-checkouts-list.d.ts} +1 -1
  629. package/dist/types/components/config-provider/{config-provider.d.ts → justifi-config-provider.d.ts} +1 -1
  630. package/dist/types/components/dispute-management/dispute-management-core.d.ts +1 -1
  631. package/dist/types/components/dispute-management/dispute-response/dispute-response-core.d.ts +1 -1
  632. package/dist/types/components/dispute-management/dispute-response/{additional-statement.d.ts → justifi-additional-statement.d.ts} +1 -1
  633. package/dist/types/components/dispute-management/dispute-response/{cancellation-policy.d.ts → justifi-cancellation-policy.d.ts} +1 -1
  634. package/dist/types/components/dispute-management/dispute-response/{customer-details.d.ts → justifi-customer-details.d.ts} +1 -1
  635. package/dist/types/components/dispute-management/dispute-response/{dispute-response.d.ts → justifi-dispute-response.d.ts} +2 -2
  636. package/dist/types/components/dispute-management/dispute-response/{duplicate-charge.d.ts → justifi-duplicate-charge.d.ts} +1 -1
  637. package/dist/types/components/dispute-management/dispute-response/{electronic-evidence.d.ts → justifi-electronic-evidence.d.ts} +1 -1
  638. package/dist/types/components/dispute-management/dispute-response/{product-or-service.d.ts → justifi-product-or-service.d.ts} +1 -1
  639. package/dist/types/components/dispute-management/dispute-response/{refund-policy.d.ts → justifi-refund-policy.d.ts} +1 -1
  640. package/dist/types/components/dispute-management/dispute-response/{shipping-details.d.ts → justifi-shipping-details.d.ts} +1 -1
  641. package/dist/types/components/dispute-management/{dispute-management.d.ts → justifi-dispute-management.d.ts} +1 -1
  642. package/dist/types/components/dispute-management/{dispute-notification.d.ts → justifi-dispute-notification.d.ts} +1 -1
  643. package/dist/types/components/gross-payment-chart/{gross-payment-chart.d.ts → justifi-gross-payment-chart.d.ts} +1 -1
  644. package/dist/types/components/insurance/season-interruption/{season-interruption-insurance.d.ts → justifi-season-interruption-insurance.d.ts} +1 -1
  645. package/dist/types/components/modular-checkout/{modular-checkout.d.ts → justifi-modular-checkout.d.ts} +2 -1
  646. package/dist/types/components/modular-checkout/sub-components/{apple-pay.d.ts → justifi-apple-pay.d.ts} +1 -4
  647. package/dist/types/components/modular-checkout/sub-components/justifi-bank-account-billing-form-simple.d.ts +15 -0
  648. package/dist/types/components/modular-checkout/sub-components/{bank-account.d.ts → justifi-bank-account-form.d.ts} +2 -7
  649. package/dist/types/components/modular-checkout/sub-components/justifi-billing-form-full.d.ts +11 -0
  650. package/dist/types/components/modular-checkout/sub-components/justifi-card-billing-form-simple.d.ts +11 -0
  651. package/dist/types/components/modular-checkout/sub-components/{card-form.d.ts → justifi-card-form.d.ts} +1 -8
  652. package/dist/types/components/modular-checkout/sub-components/justifi-checkout-summary.d.ts +3 -0
  653. package/dist/types/components/modular-checkout/sub-components/{google-pay.d.ts → justifi-google-pay.d.ts} +1 -1
  654. package/dist/types/components/modular-checkout/sub-components/{plaid-payment-method.d.ts → justifi-plaid-payment-method.d.ts} +1 -1
  655. package/dist/types/components/modular-checkout/sub-components/{saved-payment-methods.d.ts → justifi-saved-payment-methods.d.ts} +1 -1
  656. package/dist/types/components/modular-checkout/sub-components/{sezzle-payment-method.d.ts → justifi-sezzle-payment-method.d.ts} +1 -1
  657. package/dist/types/components/order-terminals/{order-terminals.d.ts → justifi-order-terminals.d.ts} +1 -1
  658. package/dist/types/components/payment-details/{payment-details.d.ts → justifi-payment-details.d.ts} +1 -1
  659. package/dist/types/components/payment-transactions-list/{payment-transactions-list.d.ts → justifi-payment-transactions-list.d.ts} +1 -1
  660. package/dist/types/components/payments-list/{payments-list-filters.d.ts → justifi-payments-list-filters.d.ts} +1 -1
  661. package/dist/types/components/payments-list/{payments-list.d.ts → justifi-payments-list.d.ts} +1 -1
  662. package/dist/types/components/payout-details/{payout-details.d.ts → justifi-payout-details.d.ts} +1 -1
  663. package/dist/types/components/payout-transactions-list/{payout-transactions-list.d.ts → justifi-payout-transactions-list.d.ts} +1 -1
  664. package/dist/types/components/payouts-list/{payouts-list-filters.d.ts → justifi-payouts-list-filters.d.ts} +1 -1
  665. package/dist/types/components/payouts-list/{payouts-list.d.ts → justifi-payouts-list.d.ts} +1 -1
  666. package/dist/types/components/refund-payment/{refund-payment.d.ts → justifi-refund-payment.d.ts} +1 -1
  667. package/dist/types/components/terminal-orders-list/{terminal-orders-list-filters.d.ts → justifi-terminal-orders-list-filters.d.ts} +3 -1
  668. package/dist/types/components/terminal-orders-list/{terminal-orders-list.d.ts → justifi-terminal-orders-list.d.ts} +1 -1
  669. package/dist/types/components/terminals-list/{terminals-list-filters.d.ts → justifi-terminals-list-filters.d.ts} +3 -1
  670. package/dist/types/components/terminals-list/{terminals-list.d.ts → justifi-terminals-list.d.ts} +1 -1
  671. package/dist/types/components/tokenize-payment-method/{internal-tokenize-payment-method.d.ts → justifi-tokenize-payment-method.d.ts} +4 -3
  672. package/dist/types/components.d.ts +834 -657
  673. package/dist/types/styles/parts.d.ts +1 -35
  674. package/dist/types/ui-components/details/{details.d.ts → justifi-details.d.ts} +1 -1
  675. package/dist/types/ui-components/form/form-control-checkbox.d.ts +1 -1
  676. package/dist/types/ui-components/form/form-control-date.d.ts +1 -1
  677. package/dist/types/ui-components/form/form-control-file-v2.d.ts +1 -1
  678. package/dist/types/ui-components/form/form-control-file.d.ts +1 -1
  679. package/dist/types/ui-components/form/form-control-monetary.d.ts +1 -1
  680. package/dist/types/ui-components/form/form-control-number-masked.d.ts +1 -1
  681. package/dist/types/ui-components/form/form-control-number.d.ts +1 -1
  682. package/dist/types/ui-components/form/form-control-radio.d.ts +1 -1
  683. package/dist/types/ui-components/form/form-control-select.d.ts +1 -1
  684. package/dist/types/ui-components/form/form-control-text.d.ts +1 -1
  685. package/dist/types/ui-components/form/form-control-textarea.d.ts +1 -1
  686. package/dist/types/ui-components/form/form-helpers/form-control-tooltip/form-control-tooltip.d.ts +1 -1
  687. package/dist/types/ui-components/index.d.ts +1 -1
  688. package/dist/types/ui-components/internal-button.d.ts +14 -0
  689. package/dist/types/ui-components/radio-list-item.d.ts +12 -0
  690. package/dist/types/ui-components/shadow-dom-components/justifi-button.d.ts +1 -0
  691. package/dist/types/ui-components/shadow-dom-components/justifi-radio-list-item.d.ts +0 -1
  692. package/dist/webcomponents/p-08424d71.entry.js +1 -0
  693. package/dist/webcomponents/{p-56362fb6.entry.js → p-089bc927.entry.js} +1 -1
  694. package/dist/webcomponents/p-0b7fa323.entry.js +1 -0
  695. package/dist/webcomponents/p-16ae88d0.entry.js +1 -0
  696. package/dist/webcomponents/p-179fe9a0.entry.js +1 -0
  697. package/dist/webcomponents/p-1a9aecbf.entry.js +1 -0
  698. package/dist/webcomponents/{p-d07748fa.entry.js → p-1c95ec74.entry.js} +4 -4
  699. package/dist/webcomponents/{p-a6d56b36.entry.js → p-1d1c48c3.entry.js} +1 -1
  700. package/dist/webcomponents/p-1da3ba0f.entry.js +1 -0
  701. package/dist/webcomponents/{p-393c9065.entry.js → p-252a4f75.entry.js} +1 -1
  702. package/dist/webcomponents/p-26062991.entry.js +1 -0
  703. package/dist/webcomponents/p-26074643.entry.js +1 -0
  704. package/dist/webcomponents/{p-3cfc202a.entry.js → p-2719f4db.entry.js} +1 -1
  705. package/dist/webcomponents/p-2a0ce169.entry.js +1 -0
  706. package/dist/webcomponents/p-2b8df3c0.entry.js +1 -0
  707. package/dist/webcomponents/p-2bec5dca.entry.js +1 -0
  708. package/dist/webcomponents/p-358f7121.entry.js +1 -0
  709. package/dist/webcomponents/{p-6b6d8263.entry.js → p-38281490.entry.js} +1 -1
  710. package/dist/webcomponents/p-383798ab.entry.js +1 -0
  711. package/dist/webcomponents/p-3d135aee.entry.js +1 -0
  712. package/dist/webcomponents/{p-ec9f527d.entry.js → p-42129686.entry.js} +1 -1
  713. package/dist/webcomponents/p-431ad048.entry.js +1 -0
  714. package/dist/webcomponents/p-485a8795.entry.js +1 -0
  715. package/dist/webcomponents/p-4d222f42.entry.js +1 -0
  716. package/dist/webcomponents/{p-277bc549.entry.js → p-534833ca.entry.js} +1 -1
  717. package/dist/webcomponents/p-534881d8.entry.js +1 -0
  718. package/dist/webcomponents/p-53dd8569.entry.js +1 -0
  719. package/dist/webcomponents/p-56d58041.entry.js +1 -0
  720. package/dist/webcomponents/p-61784c6a.entry.js +1 -0
  721. package/dist/webcomponents/p-6372a42a.entry.js +1 -0
  722. package/dist/webcomponents/p-7108eead.entry.js +1 -0
  723. package/dist/webcomponents/p-729c9798.entry.js +1 -0
  724. package/dist/webcomponents/{p-df110446.entry.js → p-744f57f0.entry.js} +1 -1
  725. package/dist/webcomponents/p-7742cf61.entry.js +1 -0
  726. package/dist/webcomponents/p-774b69a0.entry.js +1 -0
  727. package/dist/webcomponents/p-77600a47.entry.js +1 -0
  728. package/dist/webcomponents/p-7791b55e.entry.js +1 -0
  729. package/dist/webcomponents/p-783580d4.entry.js +1 -0
  730. package/dist/webcomponents/p-83fd4eae.entry.js +1 -0
  731. package/dist/webcomponents/p-848ae146.entry.js +1 -0
  732. package/dist/webcomponents/p-865d4604.entry.js +1 -0
  733. package/dist/webcomponents/p-89bf64ef.entry.js +1 -0
  734. package/dist/webcomponents/p-8Kt4Rhcq.js +1 -0
  735. package/dist/webcomponents/p-8c52d10a.entry.js +1 -0
  736. package/dist/webcomponents/p-8df335d4.entry.js +1 -0
  737. package/dist/webcomponents/p-90f2c769.entry.js +1 -0
  738. package/dist/webcomponents/p-9639d9d0.entry.js +1 -0
  739. package/dist/webcomponents/p-97d16844.entry.js +1 -0
  740. package/dist/webcomponents/p-9838b5a7.entry.js +1 -0
  741. package/dist/webcomponents/{p-DqtDbB8E.js → p-B6sIVWJW.js} +1 -1
  742. package/dist/webcomponents/p-BJtvT9BX.js +1 -0
  743. package/dist/webcomponents/{p-6V4e6Fb_.js → p-BmEX2SfZ.js} +1 -1
  744. package/dist/webcomponents/p-BrO0HEFJ.js +1 -0
  745. package/dist/webcomponents/{p-b4MDVEve.js → p-Bwzxu5wV.js} +1 -1
  746. package/dist/webcomponents/p-C-QiUcEa.js +1 -0
  747. package/dist/webcomponents/{p-CkX7qWsc.js → p-C1olhiO9.js} +1 -1
  748. package/dist/webcomponents/p-CAl_N2gi.js +1 -0
  749. package/dist/webcomponents/p-CBqZge6m.js +1 -0
  750. package/dist/webcomponents/p-CIYOQWsL.js +1 -0
  751. package/dist/webcomponents/{p-55QcjheA.js → p-CMB3sNMT.js} +1 -1
  752. package/dist/webcomponents/{p-CemnnRdZ.js → p-CWv3GX8X.js} +1 -1
  753. package/dist/webcomponents/{p-PtJwUDIK.js → p-CbM9cuX_.js} +1 -1
  754. package/dist/webcomponents/p-CjuaXEuI.js +1 -0
  755. package/dist/webcomponents/{p-3kNggPyP.js → p-CmXujxGp.js} +1 -1
  756. package/dist/webcomponents/{p-DL3PPUGZ.js → p-CwdQ1VdH.js} +1 -1
  757. package/dist/webcomponents/{p-DvptzT44.js → p-CzdAS9Jo.js} +1 -1
  758. package/dist/webcomponents/p-D0BjjvYt.js +1 -0
  759. package/dist/webcomponents/{p-CV5ZI_qC.js → p-D2TJwp13.js} +1 -1
  760. package/dist/webcomponents/p-D50Rx76J.js +1 -0
  761. package/dist/webcomponents/p-D5MdA21U.js +1 -0
  762. package/dist/webcomponents/p-D68EHdgA.js +1 -0
  763. package/dist/webcomponents/p-DB_pqjwH.js +1 -0
  764. package/dist/webcomponents/{p-C47u26qr.js → p-DL0R5vDy.js} +1 -1
  765. package/dist/webcomponents/{p-B_KHnbK8.js → p-DLmWCafe.js} +1 -1
  766. package/dist/webcomponents/p-Da4efjxw.js +1 -0
  767. package/dist/webcomponents/p-Df9FVwA7.js +1 -0
  768. package/dist/webcomponents/{p-8Wa_-5QM.js → p-Dvcgmvfg.js} +1 -1
  769. package/dist/webcomponents/{p-Daew0gTO.js → p-EBsfAkrP.js} +1 -1
  770. package/dist/webcomponents/p-J7WCmj-J.js +1 -0
  771. package/dist/webcomponents/{p-CMq8FpAG.js → p-MLfmcsbZ.js} +1 -1
  772. package/dist/webcomponents/{p-MeSAYDNh.js → p-MkDHT9M4.js} +1 -1
  773. package/dist/webcomponents/p-N60pPiy5.js +1 -0
  774. package/dist/webcomponents/{p-DrSNQm-e.js → p-_fynNk40.js} +1 -1
  775. package/dist/webcomponents/p-a53fae42.entry.js +1 -0
  776. package/dist/webcomponents/p-a5640aa4.entry.js +1 -0
  777. package/dist/webcomponents/p-b21e5a85.entry.js +1 -0
  778. package/dist/webcomponents/p-b2d7a9dd.entry.js +1 -0
  779. package/dist/webcomponents/p-b31c9979.entry.js +1 -0
  780. package/dist/webcomponents/p-b322d2f3.entry.js +1 -0
  781. package/dist/webcomponents/p-b596cbb3.entry.js +1 -0
  782. package/dist/webcomponents/p-b7ffdb30.entry.js +1 -0
  783. package/dist/webcomponents/p-bac16c16.entry.js +1 -0
  784. package/dist/webcomponents/p-bb4cc829.entry.js +1 -0
  785. package/dist/webcomponents/p-bbdae5b7.entry.js +1 -0
  786. package/dist/webcomponents/p-c07069f1.entry.js +1 -0
  787. package/dist/webcomponents/p-c4da12e0.entry.js +1 -0
  788. package/dist/webcomponents/p-c5be6300.entry.js +1 -0
  789. package/dist/webcomponents/p-c63b8c8f.entry.js +1 -0
  790. package/dist/webcomponents/p-d6350138.entry.js +1 -0
  791. package/dist/webcomponents/{p-79d76cd4.entry.js → p-d667138d.entry.js} +1 -1
  792. package/dist/webcomponents/p-d6c2d51d.entry.js +1 -0
  793. package/dist/webcomponents/p-def798df.entry.js +1 -0
  794. package/dist/webcomponents/p-e2650fe5.entry.js +1 -0
  795. package/dist/webcomponents/p-e4ba0754.entry.js +1 -0
  796. package/dist/webcomponents/p-e939affa.entry.js +1 -0
  797. package/dist/webcomponents/p-e9c20b52.entry.js +1 -0
  798. package/dist/webcomponents/p-ea84c544.entry.js +1 -0
  799. package/dist/webcomponents/p-rz2BF2Sz.js +1 -0
  800. package/dist/webcomponents/webcomponents.esm.js +1 -1
  801. package/package.json +1 -1
  802. package/dist/cjs/internal-tokenize-payment-method_7.cjs.entry.js +0 -470
  803. package/dist/cjs/justifi-bank-account-billing-form-simple_3.cjs.entry.js +0 -147
  804. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +0 -24
  805. package/dist/collection/components/modular-checkout/sub-components/bank-account.js +0 -101
  806. package/dist/collection/components/modular-checkout/sub-components/card-form.js +0 -105
  807. package/dist/collection/components/modular-checkout/sub-components/summary.js +0 -12
  808. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +0 -296
  809. package/dist/esm/internal-tokenize-payment-method_7.entry.js +0 -462
  810. package/dist/esm/justifi-bank-account-billing-form-simple_3.entry.js +0 -143
  811. package/dist/esm/justifi-tokenize-payment-method.entry.js +0 -22
  812. package/dist/esm/parts-c8J1gsDg.js +0 -149
  813. package/dist/module/internal-tokenize-payment-method.d.ts +0 -11
  814. package/dist/module/internal-tokenize-payment-method.js +0 -6
  815. package/dist/module/justifi-additional-questions-form-step.d.ts +0 -11
  816. package/dist/module/justifi-additional-questions-form-step.js +0 -6
  817. package/dist/module/justifi-additional-questions.d.ts +0 -11
  818. package/dist/module/justifi-additional-questions.js +0 -6
  819. package/dist/module/justifi-business-bank-account-form-step.d.ts +0 -11
  820. package/dist/module/justifi-business-bank-account-form-step.js +0 -6
  821. package/dist/module/justifi-business-core-info-form-step.d.ts +0 -11
  822. package/dist/module/justifi-business-core-info-form-step.js +0 -6
  823. package/dist/module/justifi-business-core-info.d.ts +0 -11
  824. package/dist/module/justifi-business-core-info.js +0 -6
  825. package/dist/module/justifi-business-owners-form-step.d.ts +0 -11
  826. package/dist/module/justifi-business-owners-form-step.js +0 -6
  827. package/dist/module/justifi-business-representative-form-inputs.d.ts +0 -11
  828. package/dist/module/justifi-business-representative-form-inputs.js +0 -6
  829. package/dist/module/justifi-business-representative-form-step.d.ts +0 -11
  830. package/dist/module/justifi-business-representative-form-step.js +0 -6
  831. package/dist/module/justifi-business-representative.d.ts +0 -11
  832. package/dist/module/justifi-business-representative.js +0 -6
  833. package/dist/module/justifi-business-terms-conditions-form-step.d.ts +0 -11
  834. package/dist/module/justifi-business-terms-conditions-form-step.js +0 -6
  835. package/dist/module/justifi-form-address-fields.d.ts +0 -11
  836. package/dist/module/justifi-form-address-fields.js +0 -6
  837. package/dist/module/justifi-identity-address-form.d.ts +0 -11
  838. package/dist/module/justifi-identity-address-form.js +0 -6
  839. package/dist/module/justifi-legal-address-form-step.d.ts +0 -11
  840. package/dist/module/justifi-legal-address-form-step.js +0 -6
  841. package/dist/module/justifi-legal-address-form.d.ts +0 -11
  842. package/dist/module/justifi-legal-address-form.js +0 -6
  843. package/dist/module/justifi-owner-form.js +0 -6
  844. package/dist/module/justifi-payment-provisioning-form-buttons.d.ts +0 -11
  845. package/dist/module/justifi-payment-provisioning-form-buttons.js +0 -6
  846. package/dist/module/justifi-payment-provisioning-form-steps.d.ts +0 -11
  847. package/dist/module/justifi-payment-provisioning-form-steps.js +0 -6
  848. package/dist/types/components/modular-checkout/sub-components/summary.d.ts +0 -3
  849. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +0 -19
  850. package/dist/webcomponents/p-01a84bc8.entry.js +0 -1
  851. package/dist/webcomponents/p-02cf51ab.entry.js +0 -1
  852. package/dist/webcomponents/p-0559b9c1.entry.js +0 -1
  853. package/dist/webcomponents/p-06af9f9f.entry.js +0 -1
  854. package/dist/webcomponents/p-09401e56.entry.js +0 -1
  855. package/dist/webcomponents/p-2531ee6c.entry.js +0 -1
  856. package/dist/webcomponents/p-27518699.entry.js +0 -1
  857. package/dist/webcomponents/p-2b60c926.entry.js +0 -1
  858. package/dist/webcomponents/p-319ac08d.entry.js +0 -1
  859. package/dist/webcomponents/p-32bf8202.entry.js +0 -1
  860. package/dist/webcomponents/p-3469a272.entry.js +0 -1
  861. package/dist/webcomponents/p-37407a7f.entry.js +0 -1
  862. package/dist/webcomponents/p-392c431d.entry.js +0 -1
  863. package/dist/webcomponents/p-43c70ddf.entry.js +0 -1
  864. package/dist/webcomponents/p-4556535d.entry.js +0 -1
  865. package/dist/webcomponents/p-559ff95b.entry.js +0 -1
  866. package/dist/webcomponents/p-5895654d.entry.js +0 -1
  867. package/dist/webcomponents/p-5d4e607a.entry.js +0 -1
  868. package/dist/webcomponents/p-5d5e26f7.entry.js +0 -1
  869. package/dist/webcomponents/p-64d78daf.entry.js +0 -1
  870. package/dist/webcomponents/p-654573c2.entry.js +0 -1
  871. package/dist/webcomponents/p-6986bd9d.entry.js +0 -1
  872. package/dist/webcomponents/p-6b6195c9.entry.js +0 -1
  873. package/dist/webcomponents/p-71b6fdd9.entry.js +0 -1
  874. package/dist/webcomponents/p-77CuiIig.js +0 -1
  875. package/dist/webcomponents/p-79975b5d.entry.js +0 -1
  876. package/dist/webcomponents/p-81b3f90f.entry.js +0 -1
  877. package/dist/webcomponents/p-91bf7445.entry.js +0 -1
  878. package/dist/webcomponents/p-91ee58e0.entry.js +0 -1
  879. package/dist/webcomponents/p-941eac67.entry.js +0 -1
  880. package/dist/webcomponents/p-9438f755.entry.js +0 -1
  881. package/dist/webcomponents/p-95b78da8.entry.js +0 -1
  882. package/dist/webcomponents/p-98a1b12a.entry.js +0 -1
  883. package/dist/webcomponents/p-9eeaf2f9.entry.js +0 -1
  884. package/dist/webcomponents/p-BBNT9yj5.js +0 -1
  885. package/dist/webcomponents/p-BHA4oSi3.js +0 -1
  886. package/dist/webcomponents/p-BMqYkvp1.js +0 -1
  887. package/dist/webcomponents/p-BiNakvsa.js +0 -1
  888. package/dist/webcomponents/p-BnVuFEgH.js +0 -1
  889. package/dist/webcomponents/p-BylxH1fV.js +0 -1
  890. package/dist/webcomponents/p-CVa33GsE.js +0 -1
  891. package/dist/webcomponents/p-CVkk7TvR.js +0 -1
  892. package/dist/webcomponents/p-Cc6518FT.js +0 -1
  893. package/dist/webcomponents/p-CmRrs0bo.js +0 -1
  894. package/dist/webcomponents/p-CmYy5XDp.js +0 -1
  895. package/dist/webcomponents/p-CncaMWc8.js +0 -1
  896. package/dist/webcomponents/p-CtxSp8dd.js +0 -1
  897. package/dist/webcomponents/p-DmrpBh4P.js +0 -1
  898. package/dist/webcomponents/p-a0134f5a.entry.js +0 -1
  899. package/dist/webcomponents/p-a75bc18b.entry.js +0 -1
  900. package/dist/webcomponents/p-abc769fa.entry.js +0 -1
  901. package/dist/webcomponents/p-b3675b20.entry.js +0 -1
  902. package/dist/webcomponents/p-b9248f88.entry.js +0 -1
  903. package/dist/webcomponents/p-bafe9deb.entry.js +0 -1
  904. package/dist/webcomponents/p-bb4da414.entry.js +0 -1
  905. package/dist/webcomponents/p-c5540693.entry.js +0 -1
  906. package/dist/webcomponents/p-c8J1gsDg.js +0 -1
  907. package/dist/webcomponents/p-cb09959d.entry.js +0 -1
  908. package/dist/webcomponents/p-d0abe57d.entry.js +0 -1
  909. package/dist/webcomponents/p-d47909f1.entry.js +0 -1
  910. package/dist/webcomponents/p-d6bf1592.entry.js +0 -1
  911. package/dist/webcomponents/p-dbf2ba9e.entry.js +0 -1
  912. package/dist/webcomponents/p-e0cca91e.entry.js +0 -1
  913. package/dist/webcomponents/p-e4ef4a19.entry.js +0 -1
  914. package/dist/webcomponents/p-eEJMJXTG.js +0 -1
  915. package/dist/webcomponents/p-ee06f2fa.entry.js +0 -1
  916. package/dist/webcomponents/p-f01cdb9f.entry.js +0 -1
  917. package/dist/webcomponents/p-f2110cd2.entry.js +0 -1
  918. package/dist/webcomponents/p-f9f0a5c8.entry.js +0 -1
  919. package/dist/webcomponents/p-fa876b02.entry.js +0 -1
  920. package/dist/webcomponents/p-fe0feef1.entry.js +0 -1
  921. /package/dist/types/components/business-forms/payment-provisioning/additional-questions/{business-additional-questions-form-step.d.ts → additional-questions-form-step.d.ts} +0 -0
  922. /package/dist/types/components/business-forms/payment-provisioning/bank-account/{bank-account-document-inputs.d.ts → bank-account-document-form-inputs.d.ts} +0 -0
  923. /package/dist/webcomponents/{p-99065f37.entry.js → p-9399f4f1.entry.js} +0 -0
@@ -1,470 +0,0 @@
1
- 'use strict';
2
-
3
- var index = require('./index-p7cvUYAE.js');
4
- var styledHost = require('./styled-host-DAi5SuFa.js');
5
- require('./event-types-YOY5TKUN.js');
6
- var checkPkgVersion = require('./check-pkg-version-Mv0ez8Cf.js');
7
- var configState = require('./config-state-BIgGhhe9.js');
8
- require('./dinero-BwNN_k7x.js');
9
- var ComponentError = require('./ComponentError-D4OLnOkg.js');
10
- require('./Plaid-B_UkFjIV.js');
11
- require('./Pagination-Dediz133.js');
12
- require('./Business-oBifyXkW.js');
13
- require('./Dispute-CruQTF6_.js');
14
- var checkout_store = require('./checkout.store-zTfjieKa.js');
15
- var index$1 = require('./index-CajjbB9t.js');
16
- var skeleton = require('./skeleton-BfN_sjaY.js');
17
- var utils = require('./utils-BHi4j5rB.js');
18
- var button = require('./button-DAbSQPoU.js');
19
- var parts = require('./parts-WjOn_TIy.js');
20
- require('./package-OpgJzVo3.js');
21
- require('./Api-Bukk55YZ.js');
22
- require('./index-W-zoNiyM.js');
23
-
24
- const JustifiRadioListItem = class {
25
- constructor(hostRef) {
26
- index.registerInstance(this, hostRef);
27
- this.radioClick = index.createEvent(this, "radio-click", 7);
28
- this.checked = false;
29
- this.hidden = false;
30
- this.handleClick = () => {
31
- this.radioClick.emit(this.value);
32
- };
33
- }
34
- render() {
35
- return (index.h(styledHost.StyledHost, { key: '1ae40f787970160e38b72f917bda96f480d2a890' }, index.h("div", { key: '2130596c8294cc38365e6126806735da0f93ef4a', class: `radio-list-item p-3 ${this.class || ''}`, part: parts.radioListItem, onClick: this.handleClick, hidden: this.hidden }, index.h("form-control-radio", { key: '7d5524f518430f2bfd1c9863f354318929353cfb', name: this.name, value: this.value, checked: this.checked, label: this.label, inputHandler: () => null }))));
36
- }
37
- };
38
-
39
- // Constants
40
- const PAYMENT_METHOD_TYPE_LABELS = {
41
- [index$1.PAYMENT_METHODS.NEW_BANK_ACCOUNT]: 'New bank account',
42
- [index$1.PAYMENT_METHODS.NEW_CARD]: 'New credit or debit card',
43
- };
44
- const ERROR_MESSAGES = {
45
- AUTH_TOKEN_REQUIRED: 'Auth token is required when using the tokenize-payment-method component not slotted in justifi-modular-checkout',
46
- ACCOUNT_ID_REQUIRED: 'Account ID is required when using the tokenize-payment-method component not slotted in justifi-modular-checkout',
47
- FORM_NOT_READY: 'Payment form not ready',
48
- VALIDATION_ERROR: 'Validation error',
49
- };
50
- const InternalTokenizePaymentMethod = class {
51
- constructor(hostRef) {
52
- index.registerInstance(this, hostRef);
53
- this.errorEvent = index.createEvent(this, "error-event", 7);
54
- this.submitEvent = index.createEvent(this, "submit-event", 7);
55
- this.computedHideSubmitButton = false;
56
- this.isLoading = false;
57
- this.submitButtonText = 'Submit';
58
- }
59
- paymentMethodsChanged() {
60
- this.setDefaultSelectedPaymentMethod();
61
- }
62
- connectedCallback() {
63
- this.setDefaultSelectedPaymentMethod();
64
- this.setComputedHideSubmitButton();
65
- }
66
- disconnectedCallback() {
67
- var _a;
68
- (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
69
- if (this.unsubscribeFromStore) {
70
- this.unsubscribeFromStore();
71
- }
72
- }
73
- componentWillLoad() {
74
- checkPkgVersion.checkPkgVersion();
75
- this.analytics = new checkPkgVersion.JustifiAnalytics(this);
76
- }
77
- handleRadioClick(event) {
78
- this.selectedPaymentMethod = event.detail;
79
- checkout_store.checkoutStore.selectedPaymentMethod = { type: event.detail };
80
- }
81
- async fillBillingForm(fields) {
82
- var _a;
83
- (_a = this.billingFormRef) === null || _a === void 0 ? void 0 : _a.fill(fields);
84
- }
85
- async tokenizePaymentMethod(event) {
86
- event === null || event === void 0 ? void 0 : event.preventDefault();
87
- this.validateRequiredProps();
88
- this.isLoading = true;
89
- try {
90
- const validation = await this.validate();
91
- if (!validation.isValid) {
92
- this.errorEvent.emit({
93
- errorCode: ComponentError.ComponentErrorCodes.TOKENIZE_ERROR,
94
- message: ERROR_MESSAGES.VALIDATION_ERROR,
95
- });
96
- this.isLoading = false;
97
- return;
98
- }
99
- const tokenizeResponse = await this.resolvePaymentMethod({ isValid: true });
100
- if (tokenizeResponse.error) {
101
- this.emitError({
102
- errorCode: tokenizeResponse.error.code,
103
- message: tokenizeResponse.error.message,
104
- });
105
- }
106
- this.submitEvent.emit({ response: tokenizeResponse });
107
- return tokenizeResponse;
108
- }
109
- catch (error) {
110
- const errorResponse = this.createErrorResponse(ComponentError.ComponentErrorCodes.TOKENIZE_ERROR, error.message);
111
- this.emitError({
112
- errorCode: ComponentError.ComponentErrorCodes.TOKENIZE_ERROR,
113
- message: error.message,
114
- });
115
- this.submitEvent.emit({ response: errorResponse });
116
- return errorResponse;
117
- }
118
- finally {
119
- this.isLoading = false;
120
- }
121
- }
122
- async validate() {
123
- if (!this.areFormsReady()) {
124
- return { isValid: false, errors: { general: ERROR_MESSAGES.FORM_NOT_READY } };
125
- }
126
- const [billingValidation, paymentMethodValidation] = await Promise.all([
127
- this.billingFormRef.validate(),
128
- this.paymentMethodFormRef.validate(),
129
- ]);
130
- const result = {
131
- isValid: billingValidation.isValid && paymentMethodValidation.isValid,
132
- errors: Object.assign(Object.assign({}, billingValidation.errors), paymentMethodValidation.errors),
133
- };
134
- return result;
135
- }
136
- async tokenize() {
137
- try {
138
- const billingFormFieldValues = await this.billingFormRef.getValues();
139
- const config = {
140
- clientId: this.authToken || checkout_store.checkoutStore.authToken,
141
- account: this.accountId || checkout_store.checkoutStore.accountId,
142
- paymentMethodMetadata: this.buildPaymentMethodMetadata(billingFormFieldValues),
143
- };
144
- return await this.paymentMethodFormRef.tokenize(config);
145
- }
146
- catch (error) {
147
- return error;
148
- }
149
- }
150
- // 9. Local methods
151
- validateRequiredProps() {
152
- if (!this.authToken && !checkout_store.checkoutStore.authToken) {
153
- this.emitError({
154
- errorCode: ComponentError.ComponentErrorCodes.TOKENIZE_ERROR,
155
- message: ERROR_MESSAGES.AUTH_TOKEN_REQUIRED,
156
- });
157
- }
158
- if (!this.accountId && !checkout_store.checkoutStore.accountId) {
159
- this.emitError({
160
- errorCode: ComponentError.ComponentErrorCodes.TOKENIZE_ERROR,
161
- message: ERROR_MESSAGES.ACCOUNT_ID_REQUIRED,
162
- });
163
- }
164
- }
165
- setDefaultSelectedPaymentMethod() {
166
- if (this.selectedPaymentMethod) {
167
- return;
168
- }
169
- if (!this.disableCreditCard) {
170
- this.selectedPaymentMethod = index$1.PAYMENT_METHODS.NEW_CARD;
171
- checkout_store.checkoutStore.selectedPaymentMethod = { type: index$1.PAYMENT_METHODS.NEW_CARD };
172
- }
173
- else if (!this.disableBankAccount) {
174
- this.selectedPaymentMethod = index$1.PAYMENT_METHODS.NEW_BANK_ACCOUNT;
175
- checkout_store.checkoutStore.selectedPaymentMethod = { type: index$1.PAYMENT_METHODS.NEW_BANK_ACCOUNT };
176
- }
177
- }
178
- setComputedHideSubmitButton() {
179
- // If hideSubmitButton prop is explicitly set, use that value
180
- if (this.hideSubmitButton !== undefined) {
181
- this.computedHideSubmitButton = this.hideSubmitButton;
182
- return;
183
- }
184
- // Otherwise, auto-detect if component is slotted within modular-checkout
185
- const isWithinModularCheckout = this.isSlottedWithinModularCheckout();
186
- this.computedHideSubmitButton = isWithinModularCheckout;
187
- }
188
- isSlottedWithinModularCheckout() {
189
- var _a;
190
- let parent = (_a = this.host) === null || _a === void 0 ? void 0 : _a.parentElement;
191
- while (parent) {
192
- if (parent.tagName === 'JUSTIFI-MODULAR-CHECKOUT') {
193
- return true;
194
- }
195
- parent = parent.parentElement;
196
- }
197
- return false;
198
- }
199
- get availablePaymentMethods() {
200
- const methods = [];
201
- if (!this.disableCreditCard) {
202
- methods.push(index$1.PAYMENT_METHODS.NEW_CARD);
203
- }
204
- if (!this.disableBankAccount) {
205
- methods.push(index$1.PAYMENT_METHODS.NEW_BANK_ACCOUNT);
206
- }
207
- return methods;
208
- }
209
- areFormsReady() {
210
- return !!(this.billingFormRef && this.paymentMethodFormRef);
211
- }
212
- emitError(errorData) {
213
- this.errorEvent.emit(Object.assign(Object.assign({}, errorData), { severity: ComponentError.ComponentErrorSeverity.ERROR }));
214
- }
215
- createErrorResponse(code, message) {
216
- return {
217
- error: {
218
- code: code,
219
- message,
220
- decline_code: undefined,
221
- },
222
- };
223
- }
224
- async resolvePaymentMethod(insuranceValidation) {
225
- if (!this.areFormsReady()) {
226
- return this.createErrorResponse('form_not_ready', ERROR_MESSAGES.FORM_NOT_READY);
227
- }
228
- try {
229
- const validation = await this.validate();
230
- if (!validation.isValid || !insuranceValidation.isValid) {
231
- const errorMessage = Object.values(validation.errors)[0] || ERROR_MESSAGES.VALIDATION_ERROR;
232
- return {
233
- validationError: true,
234
- error: {
235
- code: 'validation_error',
236
- message: String(errorMessage),
237
- decline_code: undefined,
238
- },
239
- };
240
- }
241
- const result = await this.performTokenization();
242
- return result;
243
- }
244
- catch (error) {
245
- return { error };
246
- }
247
- }
248
- async performTokenization() {
249
- var _a, _b;
250
- const tokenizeResponse = await this.tokenize();
251
- if (tokenizeResponse.error) {
252
- return { error: tokenizeResponse.error };
253
- }
254
- const tokenizeResponseData = tokenizeResponse.data;
255
- return {
256
- token: ((_a = tokenizeResponseData.card) === null || _a === void 0 ? void 0 : _a.token) || ((_b = tokenizeResponseData.bank_account) === null || _b === void 0 ? void 0 : _b.token),
257
- data: tokenizeResponseData,
258
- };
259
- }
260
- buildPaymentMethodMetadata(billingFormFieldValues) {
261
- return this.shouldSavePaymentMethod
262
- ? Object.assign(Object.assign({}, billingFormFieldValues), { payment_method_group_id: this.paymentMethodGroupID }) : Object.assign({}, billingFormFieldValues);
263
- }
264
- get paymentMethodGroupID() {
265
- return this.paymentMethodGroupId || checkout_store.checkoutStore.paymentMethodGroupId;
266
- }
267
- get shouldSavePaymentMethod() {
268
- return !!(this.paymentMethodGroupId || checkout_store.checkoutStore.savePaymentMethod);
269
- }
270
- get shouldHideRadioInput() {
271
- return this.disableCreditCard || this.disableBankAccount;
272
- }
273
- renderPaymentMethodOption(paymentMethodType) {
274
- const isSelected = this.selectedPaymentMethod === paymentMethodType && checkout_store.checkoutStore.selectedPaymentMethod.id === undefined;
275
- return (index.h("div", { class: "payment-method" }, index.h("justifi-radio-list-item", { name: "paymentMethodType", value: paymentMethodType, checked: isSelected, label: PAYMENT_METHOD_TYPE_LABELS[paymentMethodType], hidden: this.shouldHideRadioInput }), isSelected && this.renderSelectedPaymentMethodForm(paymentMethodType)));
276
- }
277
- renderSelectedPaymentMethodForm(paymentMethodType) {
278
- return (index.h("div", { class: "mt-4 pb-4" }, this.renderPaymentMethodForm(paymentMethodType), index.h("div", { class: "mt-4" }, index.h("justifi-billing-form", { ref: (el) => (this.billingFormRef = el), hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, paymentMethodType: paymentMethodType })), index.h("div", { class: "mt-4" }, index.h("justifi-save-new-payment-method", { hidden: !this.paymentMethodGroupID, label: this.savePaymentMethodLabel }))));
279
- }
280
- renderPaymentMethodForm(paymentMethodType) {
281
- return paymentMethodType === index$1.PAYMENT_METHODS.NEW_CARD ? (index.h("justifi-card-form", { ref: (el) => (this.paymentMethodFormRef = el) })) : (index.h("justifi-bank-account-form", { ref: (el) => (this.paymentMethodFormRef = el) }));
282
- }
283
- render() {
284
- return (index.h(styledHost.StyledHost, { key: 'bb6a2e0eec485c96a756c504a278670804be0634' }, index.h("form", { key: 'f12f65c8fbe45e86418be9d3c2ff1107e292c86d' }, index.h("fieldset", { key: 'becda77faf80fd8b1e6d967cc4ead3d4adc3b6e8' }, index.h("div", { key: '0419c1843747f59e68800ae3e2c78096b32605b0', class: "row gy-3" }, index.h("div", { key: '8724f40a13bc62808f6e99cced2f8d7419b22d53', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), index.h("div", { key: 'ec9c0e2f6a85976d68e3dc939cd2826bfbd840d8', class: "col-12" }, index.h("justifi-button", { key: '1c4b6a83c8357e15eaba071ea2fb8ba82b4c978c', text: this.submitButtonText, variant: "primary", type: "submit", clickHandler: (e) => this.tokenizePaymentMethod(e), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.computedHideSubmitButton })))))));
285
- }
286
- get host() { return index.getElement(this); }
287
- static get watchers() { return {
288
- "disableCreditCard": ["paymentMethodsChanged"],
289
- "disableBankAccount": ["paymentMethodsChanged"]
290
- }; }
291
- };
292
-
293
- const BankAccountFormSkeleton = (props) => {
294
- const { isReady } = props;
295
- if (isReady) {
296
- return null;
297
- }
298
- return (index.h("div", { class: "container-fluid p-0" }, index.h("div", { class: "row mb-3" }, index.h("div", { class: "col-12 align-content-end" }, index.h(skeleton.Skeleton, { height: "18px", width: "120px" }), index.h(skeleton.Skeleton, { height: "36px" }))), index.h("div", { class: "row" }, index.h("div", { class: "col-12 align-content-end" }, index.h(skeleton.Skeleton, { height: "18px", width: "110px" }), index.h(skeleton.Skeleton, { height: "36px" })))));
299
- };
300
-
301
- const BankAccountForm = class {
302
- constructor(hostRef) {
303
- index.registerInstance(this, hostRef);
304
- this.isReady = false;
305
- }
306
- async componentWillLoad() {
307
- await configState.waitForConfig();
308
- this.iframeOrigin = configState.configState.iframeOrigin;
309
- this.tabId = utils.generateTabId();
310
- checkPkgVersion.checkPkgVersion();
311
- this.analytics = new checkPkgVersion.JustifiAnalytics(this);
312
- }
313
- componentDidRender() {
314
- const elements = [
315
- this.accountNumberIframeElement,
316
- this.routingNumberIframeElement,
317
- ];
318
- Promise.all(elements.map((element) => {
319
- return new Promise((resolve) => {
320
- element.addEventListener('iframeLoaded', () => { resolve(); });
321
- });
322
- })).then(() => {
323
- this.isReady = true;
324
- });
325
- }
326
- disconnectedCallback() {
327
- var _a;
328
- (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
329
- }
330
- async validate() {
331
- const accountNumberIsValid = await this.accountNumberIframeElement.validate();
332
- const routingNumberIsValid = await this.routingNumberIframeElement.validate();
333
- return accountNumberIsValid && routingNumberIsValid;
334
- }
335
- async tokenize({ clientId, paymentMethodMetadata, account }) {
336
- return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
337
- }
338
- render() {
339
- return (index.h(styledHost.StyledHost, { key: '6c1e183b7ba2c70b41e22386d74a9cf7430aa8d5' }, index.h(BankAccountFormSkeleton, { key: '2755f4d21f8d62919ef56909f2dc6b9211bf550d', isReady: this.isReady }), index.h("hidden-input", { key: 'c35448285cd2b53973caa4a56c28a135e1ed7d74' }), index.h("div", { key: '9fae602596267bafc39b9e3e9946a289b38393b6', class: "container-fluid p-0", style: {
340
- opacity: this.isReady ? '1' : '0',
341
- height: this.isReady ? 'auto' : '0',
342
- } }, index.h("div", { key: 'bfaee6ed0eaa2a68175f18146d56195cc1a23e91', class: "row mb-3" }, index.h("iframe-input", { key: '7385c2582ad5b397eb2afcb9c87b789d4918542c', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber?tabId=${this.tabId}` })), index.h("div", { key: 'effe6b1f18d5fa531f4537accfe8279b81bc7b49', class: "row" }, index.h("iframe-input", { key: '19cc7e46d8f7cb79c70ba21f2e9c15c7665eca47', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber?tabId=${this.tabId}` })))));
343
- }
344
- };
345
-
346
- const BillingForm = class {
347
- constructor(hostRef) {
348
- index.registerInstance(this, hostRef);
349
- }
350
- get showSimpleCardBillingForm() {
351
- return this.paymentMethodType === index$1.PAYMENT_METHODS.NEW_CARD && this.hideCardBillingForm;
352
- }
353
- get showSimpleBankAccountBillingForm() {
354
- return this.paymentMethodType === index$1.PAYMENT_METHODS.NEW_BANK_ACCOUNT && this.hideBankAccountBillingForm;
355
- }
356
- async getValues() {
357
- var _a;
358
- return (_a = this.selectedFormRef) === null || _a === void 0 ? void 0 : _a.getValues();
359
- }
360
- async fill(fields) {
361
- var _a;
362
- (_a = this.selectedFormRef) === null || _a === void 0 ? void 0 : _a.fill(fields);
363
- }
364
- async validate() {
365
- var _a;
366
- return (_a = this.selectedFormRef) === null || _a === void 0 ? void 0 : _a.validate();
367
- }
368
- render() {
369
- if (this.showSimpleBankAccountBillingForm) {
370
- return (index.h(index.Host, null, index.h("justifi-bank-account-billing-form-simple", { legend: this.legend, ref: (el) => (this.selectedFormRef = el) })));
371
- }
372
- if (this.showSimpleCardBillingForm) {
373
- return (index.h(index.Host, null, index.h("justifi-card-billing-form-simple", { legend: this.legend, ref: (el) => (this.selectedFormRef = el) })));
374
- }
375
- return (index.h(index.Host, null, index.h("justifi-billing-form-full", { legend: this.legend, ref: (el) => (this.selectedFormRef = el) })));
376
- }
377
- };
378
-
379
- const JustifiButton = class {
380
- constructor(hostRef) {
381
- index.registerInstance(this, hostRef);
382
- this.variant = 'primary';
383
- this.type = 'button';
384
- }
385
- render() {
386
- return (index.h(styledHost.StyledHost, { key: '5f92a2a58c0828c78818f0055dc2692857730788' }, index.h(button.Button, { key: '541fe7cc24e137cf55fc470b16f3aa8c47eee0d3', variant: this.variant, isLoading: this.isLoading, clickHandler: this.clickHandler, class: this.class, type: this.type, disabled: this.disabled, style: this.customStyle }, this.text)));
387
- }
388
- };
389
-
390
- const CardFormSkeleton = (props) => {
391
- const { isReady } = props;
392
- if (isReady) {
393
- return null;
394
- }
395
- return (index.h("div", { class: "container-fluid p-0" }, index.h("div", { class: "mb-3" }, index.h(skeleton.Skeleton, { height: "18px", width: "100px" }), index.h(skeleton.Skeleton, { height: "36px" })), index.h("div", { class: "row" }, index.h("div", { class: "col-4 align-content-end" }, index.h(skeleton.Skeleton, { height: "18px", width: "80px" }), index.h(skeleton.Skeleton, { height: "36px" })), index.h("div", { class: "col-4 align-content-end" }, index.h(skeleton.Skeleton, { height: "36px" })), index.h("div", { class: "col-4 align-content-end" }, index.h(skeleton.Skeleton, { height: "18px", width: "30px" }), index.h(skeleton.Skeleton, { height: "36px" })))));
396
- };
397
-
398
- const JustifiCardForm = class {
399
- constructor(hostRef) {
400
- index.registerInstance(this, hostRef);
401
- this.isReady = false;
402
- }
403
- async componentWillLoad() {
404
- await configState.waitForConfig();
405
- this.iframeOrigin = configState.configState.iframeOrigin;
406
- this.tabId = utils.generateTabId();
407
- checkPkgVersion.checkPkgVersion();
408
- this.analytics = new checkPkgVersion.JustifiAnalytics(this);
409
- }
410
- componentDidRender() {
411
- const elements = [
412
- this.cardNumberIframeElement,
413
- this.expirationMonthIframeElement,
414
- this.expirationYearIframeElement,
415
- this.cvvIframeElement,
416
- ];
417
- Promise.all(elements.map((element) => {
418
- return new Promise((resolve) => {
419
- element.addEventListener('iframeLoaded', () => { resolve(); });
420
- });
421
- })).then(() => {
422
- this.isReady = true;
423
- });
424
- }
425
- disconnectedCallback() {
426
- var _a;
427
- (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
428
- }
429
- async validate() {
430
- const cardNumberIsValid = await this.cardNumberIframeElement.validate();
431
- const expirationMonthIsValid = await this.expirationMonthIframeElement.validate();
432
- const expirationYearIsValid = await this.expirationYearIframeElement.validate();
433
- const cvvIsValid = await this.cvvIframeElement.validate();
434
- return cardNumberIsValid && expirationMonthIsValid && expirationYearIsValid && cvvIsValid;
435
- }
436
- async tokenize({ clientId, paymentMethodMetadata, account, }) {
437
- return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
438
- }
439
- render() {
440
- return (index.h(styledHost.StyledHost, { key: 'e204cee1fc875392b8056baf58b7234a739fffce' }, index.h(CardFormSkeleton, { key: '3accfb88d66661ceaef39f765bb3fddfd0f98393', isReady: this.isReady }), index.h("hidden-input", { key: '0416ddca8b444cf8702f3fff52065bf647bd4b61' }), index.h("div", { key: '37c1d5014e5a6658bfd28e08e361ffaa6488f6d7', class: "container-fluid p-0", style: {
441
- opacity: this.isReady ? '1' : '0',
442
- height: this.isReady ? 'auto' : '0',
443
- } }, index.h("div", { key: 'e2956855dfbcab38a782c22e93bd49252196baa8', class: "mb-3" }, index.h("iframe-input", { key: '55105f1eebab4b846e1b5c55448259368a412349', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber?tabId=${this.tabId}` })), index.h("div", { key: '9464b1a500a84dcaa438a9ebdad756637d14cb24', class: "row" }, index.h("div", { key: 'adc51687629fb00d26c6627e95c0228f5a4dfd11', class: "col-4 align-content-end" }, index.h("iframe-input", { key: '52a0e5e198b6bfac00515ec220370e289674b613', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth?tabId=${this.tabId}` })), index.h("div", { key: '1b09582711d838643db265b003ed18b18042713e', class: "col-4 align-content-end" }, index.h("iframe-input", { key: 'a1731a8dc02723398e1aae58b3812fccf62e6157', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear?tabId=${this.tabId}` })), index.h("div", { key: '1e2c3205f2e0b28d036480d2c61934da5e7da620', class: "col-4 align-content-end" }, index.h("iframe-input", { key: 'b7b87360068434122f9b5a8935468240684b7a1d', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV?tabId=${this.tabId}` }))))));
444
- }
445
- };
446
-
447
- const SaveNewPaymentMethod = class {
448
- constructor(hostRef) {
449
- index.registerInstance(this, hostRef);
450
- this.checkboxChanged = index.createEvent(this, "checkboxChanged", 7);
451
- this.label = 'Save New Payment Method';
452
- this.isChecked = false;
453
- this.handleCheckboxChange = (_name, value) => {
454
- this.isChecked = value;
455
- checkout_store.checkoutStore.savePaymentMethod = value;
456
- this.checkboxChanged.emit(this.isChecked);
457
- };
458
- }
459
- render() {
460
- return (index.h(styledHost.StyledHost, { key: '981f6a84fc14a7b687e1b6567b30fb9f861b0aa2' }, index.h("form-control-checkbox", { key: '566f6261d19f96b87b9382b26a86b71461a29d08', label: this.label || 'Save New Payment Method', name: "saveNewPaymentMethod", checked: this.isChecked, inputHandler: this.handleCheckboxChange })));
461
- }
462
- };
463
-
464
- exports.internal_tokenize_payment_method = InternalTokenizePaymentMethod;
465
- exports.justifi_bank_account_form = BankAccountForm;
466
- exports.justifi_billing_form = BillingForm;
467
- exports.justifi_button = JustifiButton;
468
- exports.justifi_card_form = JustifiCardForm;
469
- exports.justifi_radio_list_item = JustifiRadioListItem;
470
- exports.justifi_save_new_payment_method = SaveNewPaymentMethod;
@@ -1,147 +0,0 @@
1
- 'use strict';
2
-
3
- var index = require('./index-p7cvUYAE.js');
4
- var index_esm = require('./index.esm-C1ZPG85l.js');
5
- var schemaValidations = require('./schema-validations-_yWWnnaG.js');
6
- var parts = require('./parts-WjOn_TIy.js');
7
- var styledHost = require('./styled-host-DAi5SuFa.js');
8
- require('./event-types-YOY5TKUN.js');
9
- var header3 = require('./header-3-kgnQtxEu.js');
10
- var Business = require('./Business-oBifyXkW.js');
11
- require('./_commonjsHelpers-BJu3ubxk.js');
12
- require('./country-config-D7fss2oF.js');
13
- require('./business-form-options-D_nM7NDk.js');
14
-
15
- const fullBillingSchema = () => index_esm.create$3({
16
- name: schemaValidations.identityNameValidation.required('Enter full name'),
17
- address_line1: schemaValidations.lineOneValidation.required('Enter street address'),
18
- address_line2: schemaValidations.lineTwoValidation.nullable(),
19
- address_city: schemaValidations.cityValidation.required('Enter city'),
20
- address_state: schemaValidations.stateValidation.required('Select state'),
21
- address_postal_code: schemaValidations.postalValidation.required('Enter postal code'),
22
- });
23
- const postalOnlySchema = () => index_esm.create$3({
24
- name: schemaValidations.identityNameValidation.nullable(),
25
- address_line1: schemaValidations.lineOneValidation.nullable(),
26
- address_line2: schemaValidations.lineTwoValidation.nullable(),
27
- address_city: schemaValidations.cityValidation.nullable(),
28
- address_state: schemaValidations.stateValidation.nullable(),
29
- address_postal_code: schemaValidations.postalValidation.required('Enter postal code'),
30
- });
31
- const nameOnlySchema = () => index_esm.create$3({
32
- name: schemaValidations.identityNameValidation.required('Enter full name'),
33
- address_line1: schemaValidations.lineOneValidation.nullable(),
34
- address_line2: schemaValidations.lineTwoValidation.nullable(),
35
- address_city: schemaValidations.cityValidation.nullable(),
36
- address_state: schemaValidations.stateValidation.nullable(),
37
- address_postal_code: schemaValidations.postalValidation.nullable(),
38
- });
39
-
40
- const BankAccountBillingFormSimple = class {
41
- constructor(hostRef) {
42
- index.registerInstance(this, hostRef);
43
- this.errors = {};
44
- this.inputHandler = (name, value) => {
45
- this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { [name]: value }));
46
- };
47
- }
48
- componentWillLoad() {
49
- this.formController = new index_esm.FormController(nameOnlySchema());
50
- }
51
- componentDidLoad() {
52
- this.formController.values.subscribe(values => this.billingInfo = Object.assign({}, values));
53
- this.formController.errors.subscribe(errors => {
54
- this.errors = Object.assign({}, errors);
55
- });
56
- }
57
- async getValues() {
58
- return this.formController.values.getValue();
59
- }
60
- async fill(fields) {
61
- this.formController.setInitialValues(fields);
62
- }
63
- async validate() {
64
- const isValid = await this.formController.validate();
65
- const errors = this.formController.errors.getValue();
66
- return { isValid, errors };
67
- }
68
- render() {
69
- const billingFormDefaultValue = this.formController.getInitialValues();
70
- return (index.h(styledHost.StyledHost, { key: '1ad536d9f27bdb1cb3da9721c486cd4f1006ecb1' }, index.h("div", { key: 'b1589bbc4bba3703c54e6a5651aaad5499c218f4', part: parts.billingForm, class: "mt-4" }, index.h("form", { key: 'd60bc906ec293d45c1887c0864ff4c1f28845461' }, index.h("fieldset", { key: '166465d844cbfb0d55dae03d88b52ad202d1616c' }, this.legend && (index.h("legend", { key: '509d5e560791fb6f96a5e755931fd7a363b21e06' }, this.legend)), index.h("div", { key: '979e4bae922ff88aae107d921136215474a847ea', class: "row gy-3" }, index.h("div", { key: '4014b6c65739d39077d69f0e649eec0fadab0c87', class: "col-12" }, index.h("form-control-text", { key: '2e9e1dbb43ffdd9848415ceefc8df75ec60a35e0', name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler }))))))));
71
- }
72
- };
73
-
74
- const BillingFormFull = class {
75
- constructor(hostRef) {
76
- index.registerInstance(this, hostRef);
77
- this.errors = {};
78
- this.inputHandler = (name, value) => {
79
- this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { [name]: value }));
80
- };
81
- }
82
- componentWillLoad() {
83
- this.formController = new index_esm.FormController(fullBillingSchema());
84
- // Set up subscriptions here to avoid warnings about setting state during componentDidLoad
85
- this.formController.values.subscribe(values => this.billingInfo = Object.assign({}, values));
86
- this.formController.errors.subscribe(errors => {
87
- this.errors = Object.assign({}, errors);
88
- });
89
- }
90
- async getValues() {
91
- return this.formController.values.getValue();
92
- }
93
- async fill(fields) {
94
- this.formController.setInitialValues(fields);
95
- }
96
- async validate() {
97
- const isValid = await this.formController.validate();
98
- const errors = this.formController.errors.getValue();
99
- return { isValid, errors };
100
- }
101
- render() {
102
- // Guard clause to ensure formController is initialized before rendering
103
- if (!this.formController) {
104
- return null;
105
- }
106
- const billingFormDefaultValue = this.formController.getInitialValues();
107
- return (index.h(styledHost.StyledHost, null, index.h("div", { part: parts.billingForm, class: "mt-4" }, index.h(header3.Header3, { text: "Billing address", class: "fs-6 fw-bold lh-lg mb-4" }), index.h("form", null, index.h("fieldset", null, this.legend && (index.h("legend", null, this.legend)), index.h("div", { class: "row gy-3" }, index.h("div", { class: "col-12" }, index.h("form-control-text", { name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), index.h("div", { class: "col-12" }, index.h("form-control-text", { name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), index.h("div", { class: "col-12" }, index.h("form-control-text", { name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), index.h("div", { class: "col-12" }, index.h("form-control-text", { name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), index.h("div", { class: "col-12" }, index.h("form-control-select", { name: 'address_state', label: 'State', options: Business.StateOptions, defaultValue: billingFormDefaultValue.address_state, errorText: this.errors.address_state, inputHandler: this.inputHandler })), index.h("div", { class: "col-12" }, index.h("form-control-text", { name: 'address_postal_code', label: "Postal Code", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 7 }))))))));
108
- }
109
- };
110
-
111
- const CardBillingFormSimple = class {
112
- constructor(hostRef) {
113
- index.registerInstance(this, hostRef);
114
- this.errors = {};
115
- this.inputHandler = (name, value) => {
116
- this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { [name]: value }));
117
- };
118
- }
119
- componentWillLoad() {
120
- this.formController = new index_esm.FormController(postalOnlySchema());
121
- }
122
- componentDidLoad() {
123
- this.formController.values.subscribe(values => this.billingInfo = Object.assign({}, values));
124
- this.formController.errors.subscribe(errors => {
125
- this.errors = Object.assign({}, errors);
126
- });
127
- }
128
- async getValues() {
129
- return this.formController.values.getValue();
130
- }
131
- async fill(fields) {
132
- this.formController.setInitialValues(fields);
133
- }
134
- async validate() {
135
- const isValid = await this.formController.validate();
136
- const errors = this.formController.errors.getValue();
137
- return { isValid, errors };
138
- }
139
- render() {
140
- const billingFormDefaultValue = this.formController.getInitialValues();
141
- return (index.h(styledHost.StyledHost, { key: '5d685e6a8e7b22780431b4f2315a95c43766242e' }, index.h("div", { key: 'c71d5e6b49162ff2c21cd7b9ee0e9951c264034e', part: parts.billingForm }, index.h("form", { key: 'a935f2ee1999afe079c13bd3b0e3b2b5225c12d2' }, index.h("fieldset", { key: '1808d8afc17a22d4156534dc7e54af8350d406b4' }, this.legend && (index.h("legend", { key: 'c73a35b4311515cf57d6ed5193056a9197cddaa9' }, this.legend)), index.h("div", { key: 'a36b221db49c567f6fc5e20af2a60fd30eeb4568', class: "row gy-3" }, index.h("div", { key: '907f29bec68ac9d43fd66f28226b87f2003efbaa', class: "col-12" }, index.h("form-control-text", { key: '93024133c94fc8eb2f1a34073ea7945d873420c4', name: 'address_postal_code', label: "Postal Code", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 7 }))))))));
142
- }
143
- };
144
-
145
- exports.justifi_bank_account_billing_form_simple = BankAccountBillingFormSimple;
146
- exports.justifi_billing_form_full = BillingFormFull;
147
- exports.justifi_card_billing_form_simple = CardBillingFormSimple;
@@ -1,24 +0,0 @@
1
- 'use strict';
2
-
3
- var index = require('./index-p7cvUYAE.js');
4
-
5
- const TokenizePaymentMethod = class {
6
- constructor(hostRef) {
7
- index.registerInstance(this, hostRef);
8
- this.submitButtonText = 'Submit';
9
- }
10
- async tokenizePaymentMethod(event) {
11
- return this.tokenizePaymentMethodRef.tokenizePaymentMethod(event);
12
- }
13
- async fillBillingForm(fields) {
14
- return this.tokenizePaymentMethodRef.fillBillingForm(fields);
15
- }
16
- async validate() {
17
- return this.tokenizePaymentMethodRef.validate();
18
- }
19
- render() {
20
- return (index.h("internal-tokenize-payment-method", { key: 'eeef0082ce936beae8d4ca51bb23bd7c965191ee', ref: (el) => this.tokenizePaymentMethodRef = el, authToken: this.authToken, accountId: this.accountId, disableCreditCard: this.disableCreditCard, disableBankAccount: this.disableBankAccount, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, hideSubmitButton: this.hideSubmitButton, paymentMethodGroupId: this.paymentMethodGroupId }));
21
- }
22
- };
23
-
24
- exports.justifi_tokenize_payment_method = TokenizePaymentMethod;