@justifi/webcomponents 6.11.0 → 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 (871) hide show
  1. package/dist/cjs/{check-pkg-version-Di4JmtKX.js → Analytics-DZCXB2Za.js} +1 -44
  2. package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
  3. package/dist/cjs/{justifi-additional-questions-form-step_9.cjs.entry.js → additional-questions-form-step_9.cjs.entry.js} +22 -22
  4. package/dist/cjs/{form-alert_5.cjs.entry.js → additional-questions_5.cjs.entry.js} +26 -26
  5. package/dist/cjs/bank-account-billing-form-simple_4.cjs.entry.js +203 -0
  6. package/dist/cjs/bank-account-document-form-inputs_9.cjs.entry.js +37 -37
  7. package/dist/cjs/bank-account-form.cjs.entry.js +8 -4
  8. package/dist/cjs/card-form.cjs.entry.js +8 -4
  9. package/dist/cjs/check-pkg-version-CUhnNGii.js +47 -0
  10. package/dist/cjs/checkouts-list-core.cjs.entry.js +1 -1
  11. package/dist/cjs/custom-popper_2.cjs.entry.js +4 -4
  12. package/dist/cjs/{form-control-number-masked_3.cjs.entry.js → form-address-fields_3.cjs.entry.js} +23 -23
  13. package/dist/cjs/form-control-checkbox.cjs.entry.js +4 -4
  14. package/dist/cjs/form-control-date.cjs.entry.js +4 -4
  15. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +7 -7
  16. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +4 -4
  17. package/dist/cjs/form-control-monetary.cjs.entry.js +4 -4
  18. package/dist/cjs/form-control-number_3.cjs.entry.js +11 -11
  19. package/dist/cjs/form-control-radio.cjs.entry.js +4 -4
  20. package/dist/cjs/form-control-select_2.cjs.entry.js +8 -8
  21. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
  22. package/dist/cjs/hidden-input_2.cjs.entry.js +5 -5
  23. package/dist/cjs/internal-button.cjs.entry.js +18 -0
  24. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +24 -24
  25. package/dist/cjs/{justifi-apple-pay_8.cjs.entry.js → justifi-apple-pay_11.cjs.entry.js} +337 -31
  26. package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +46 -0
  27. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +44 -0
  28. package/dist/cjs/justifi-billing-form-full.cjs.entry.js +24 -0
  29. package/dist/cjs/justifi-billing-form.cjs.entry.js +24 -0
  30. package/dist/cjs/justifi-business-details.cjs.entry.js +6 -5
  31. package/dist/cjs/justifi-business-form.cjs.entry.js +7 -6
  32. package/dist/cjs/justifi-card-billing-form-simple.cjs.entry.js +24 -0
  33. package/dist/cjs/justifi-card-form.cjs.entry.js +44 -0
  34. package/dist/cjs/justifi-checkout.cjs.entry.js +8 -9
  35. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +4 -4
  36. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +7 -6
  37. package/dist/cjs/justifi-config-provider.cjs.entry.js +2 -2
  38. package/dist/cjs/justifi-details.cjs.entry.js +3 -3
  39. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +3 -3
  40. package/dist/cjs/justifi-dispute-management.cjs.entry.js +7 -6
  41. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +14 -13
  42. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +6 -5
  43. package/dist/cjs/justifi-order-terminals.cjs.entry.js +7 -6
  44. package/dist/cjs/justifi-payment-details.cjs.entry.js +6 -5
  45. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +3 -3
  46. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +7 -6
  47. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +7 -6
  48. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +4 -4
  49. package/dist/cjs/justifi-payments-list.cjs.entry.js +7 -6
  50. package/dist/cjs/justifi-payout-details.cjs.entry.js +6 -5
  51. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +7 -6
  52. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +4 -4
  53. package/dist/cjs/justifi-payouts-list.cjs.entry.js +7 -6
  54. package/dist/cjs/justifi-refund-payment.cjs.entry.js +6 -5
  55. package/dist/cjs/justifi-save-new-payment-method.cjs.entry.js +18 -0
  56. package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +3 -3
  57. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +6 -5
  58. package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
  59. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +5 -5
  60. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +7 -6
  61. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +3 -3
  62. package/dist/cjs/justifi-terminals-list.cjs.entry.js +7 -6
  63. package/dist/cjs/loader.cjs.js +1 -1
  64. package/dist/cjs/{package-D8NG-zuY.js → package-CJg8qLYd.js} +1 -1
  65. package/dist/cjs/payment-details-core.cjs.entry.js +8 -8
  66. package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
  67. package/dist/cjs/payments-list-core.cjs.entry.js +1 -1
  68. package/dist/cjs/payout-details-core.cjs.entry.js +3 -3
  69. package/dist/cjs/payouts-list-core.cjs.entry.js +1 -1
  70. package/dist/cjs/radio-list-item.cjs.entry.js +21 -0
  71. package/dist/cjs/save-new-payment-method.cjs.entry.js +25 -0
  72. package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
  73. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +1 -1
  74. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
  75. package/dist/cjs/terminals-list-core.cjs.entry.js +1 -1
  76. package/dist/cjs/webcomponents.cjs.js +1 -1
  77. package/dist/collection/collection-manifest.json +58 -52
  78. package/dist/collection/components/business-details/{business-details.js → justifi-business-details.js} +1 -1
  79. package/dist/collection/components/business-details/representative-details/representative-details.js +1 -1
  80. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +2 -2
  81. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +3 -3
  82. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +3 -3
  83. package/dist/collection/components/business-forms/business-form/{business-form.js → justifi-business-form.js} +2 -2
  84. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +2 -2
  85. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +2 -2
  86. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +2 -2
  87. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +3 -3
  88. package/dist/collection/components/business-forms/owner-form/owner-form.js +3 -3
  89. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/{business-additional-questions-form-step.js → additional-questions-form-step.js} +1 -1
  90. package/dist/collection/components/business-forms/payment-provisioning/bank-account/{bank-account-document-inputs.js → bank-account-document-form-inputs.js} +1 -1
  91. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.js +1 -1
  92. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +1 -1
  93. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.js +1 -1
  94. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +1 -1
  95. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
  96. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +2 -2
  97. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +4 -4
  98. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +2 -2
  99. package/dist/collection/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.js +2 -2
  100. package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +3 -3
  101. package/dist/collection/components/business-forms/payment-provisioning/{payment-provisioning.js → justifi-payment-provisioning.js} +2 -2
  102. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +2 -2
  103. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +2 -2
  104. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +2 -2
  105. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +9 -9
  106. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +2 -2
  107. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +11 -16
  108. package/dist/collection/components/{modular-checkout/sub-components → checkout/billing-form}/bank-account-billing-form-simple.js +16 -35
  109. package/dist/collection/components/{modular-checkout/sub-components → checkout/billing-form}/billing-form-full.js +19 -37
  110. package/dist/collection/components/checkout/billing-form/billing-form.js +5 -35
  111. package/dist/collection/components/{modular-checkout/sub-components → checkout/billing-form}/card-billing-form-simple.js +16 -35
  112. package/dist/collection/components/checkout/billing-form/justifi-billing-form.js +140 -0
  113. package/dist/collection/components/checkout/card-form/card-form.js +11 -16
  114. package/dist/collection/components/checkout/{checkout.js → justifi-checkout.js} +3 -24
  115. package/dist/collection/components/checkout/{saved-payment-method.js → justifi-saved-payment-method.js} +2 -2
  116. package/dist/collection/components/checkout/save-new-payment-method/justifi-save-new-payment-method.js +73 -0
  117. package/dist/collection/components/checkout/{save-new-payment-method.js → save-new-payment-method/save-new-payment-method.js} +23 -6
  118. package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
  119. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +3 -3
  120. package/dist/collection/components/checkouts-list/{checkouts-list.js → justifi-checkouts-list.js} +2 -2
  121. package/dist/collection/components/config-provider/{config-provider.js → justifi-config-provider.js} +1 -1
  122. package/dist/collection/components/dispute-management/dispute-management-core.js +2 -2
  123. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +2 -2
  124. package/dist/collection/components/dispute-management/dispute-response/{additional-statement.js → justifi-additional-statement.js} +2 -2
  125. package/dist/collection/components/dispute-management/dispute-response/{cancellation-policy.js → justifi-cancellation-policy.js} +2 -2
  126. package/dist/collection/components/dispute-management/dispute-response/{customer-details.js → justifi-customer-details.js} +2 -2
  127. package/dist/collection/components/dispute-management/dispute-response/{dispute-response.js → justifi-dispute-response.js} +5 -4
  128. package/dist/collection/components/dispute-management/dispute-response/{duplicate-charge.js → justifi-duplicate-charge.js} +2 -2
  129. package/dist/collection/components/dispute-management/dispute-response/{electronic-evidence.js → justifi-electronic-evidence.js} +2 -2
  130. package/dist/collection/components/dispute-management/dispute-response/{product-or-service.js → justifi-product-or-service.js} +2 -2
  131. package/dist/collection/components/dispute-management/dispute-response/{refund-policy.js → justifi-refund-policy.js} +2 -2
  132. package/dist/collection/components/dispute-management/dispute-response/{shipping-details.js → justifi-shipping-details.js} +2 -2
  133. package/dist/collection/components/dispute-management/{dispute-management.js → justifi-dispute-management.js} +2 -2
  134. package/dist/collection/components/dispute-management/{dispute-notification.js → justifi-dispute-notification.js} +3 -3
  135. package/dist/collection/components/filters/table-filters-menu.js +1 -1
  136. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  137. package/dist/collection/components/gross-payment-chart/{gross-payment-chart.js → justifi-gross-payment-chart.js} +1 -1
  138. package/dist/collection/components/insurance/season-interruption/{season-interruption-insurance.js → justifi-season-interruption-insurance.js} +1 -1
  139. package/dist/collection/components/modular-checkout/{modular-checkout.js → justifi-modular-checkout.js} +41 -3
  140. package/dist/collection/components/modular-checkout/sub-components/{apple-pay.js → justifi-apple-pay.js} +8 -11
  141. package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-billing-form-simple.js +95 -0
  142. package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-form.js +69 -0
  143. package/dist/collection/components/modular-checkout/sub-components/justifi-billing-form-full.js +83 -0
  144. package/dist/collection/components/modular-checkout/sub-components/justifi-card-billing-form-simple.js +83 -0
  145. package/dist/collection/components/modular-checkout/sub-components/justifi-card-form.js +69 -0
  146. package/dist/collection/components/modular-checkout/sub-components/justifi-checkout-summary.js +12 -0
  147. package/dist/collection/components/modular-checkout/sub-components/{google-pay.js → justifi-google-pay.js} +1 -1
  148. package/dist/collection/components/modular-checkout/sub-components/{plaid-payment-method.js → justifi-plaid-payment-method.js} +2 -2
  149. package/dist/collection/components/modular-checkout/sub-components/{saved-payment-methods.js → justifi-saved-payment-methods.js} +1 -1
  150. package/dist/collection/components/modular-checkout/sub-components/{sezzle-payment-method.js → justifi-sezzle-payment-method.js} +1 -1
  151. package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
  152. package/dist/collection/components/order-terminals/{order-terminals.js → justifi-order-terminals.js} +2 -2
  153. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  154. package/dist/collection/components/payment-details/{payment-details.js → justifi-payment-details.js} +1 -1
  155. package/dist/collection/components/payment-details/payment-details-core.js +8 -8
  156. package/dist/collection/components/payment-transactions-list/{payment-transactions-list.js → justifi-payment-transactions-list.js} +2 -2
  157. package/dist/collection/components/payments-list/{payments-list-filters.js → justifi-payments-list-filters.js} +3 -3
  158. package/dist/collection/components/payments-list/{payments-list.js → justifi-payments-list.js} +2 -2
  159. package/dist/collection/components/payments-list/payments-list-core.js +1 -1
  160. package/dist/collection/components/payout-details/{payout-details.js → justifi-payout-details.js} +1 -1
  161. package/dist/collection/components/payout-details/payout-details-core.js +3 -3
  162. package/dist/collection/components/payout-transactions-list/{payout-transactions-list.js → justifi-payout-transactions-list.js} +2 -2
  163. package/dist/collection/components/payouts-list/{payouts-list-filters.js → justifi-payouts-list-filters.js} +3 -3
  164. package/dist/collection/components/payouts-list/{payouts-list.js → justifi-payouts-list.js} +2 -2
  165. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  166. package/dist/collection/components/refund-payment/{refund-payment.js → justifi-refund-payment.js} +1 -1
  167. package/dist/collection/components/terminal-orders-list/{terminal-orders-list-filters.js → justifi-terminal-orders-list-filters.js} +4 -4
  168. package/dist/collection/components/terminal-orders-list/{terminal-orders-list.js → justifi-terminal-orders-list.js} +2 -2
  169. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
  170. package/dist/collection/components/terminals-list/{terminals-list-filters.js → justifi-terminals-list-filters.js} +2 -2
  171. package/dist/collection/components/terminals-list/{terminals-list.js → justifi-terminals-list.js} +2 -2
  172. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  173. package/dist/collection/components/tokenize-payment-method/{internal-tokenize-payment-method.js → justifi-tokenize-payment-method.js} +73 -37
  174. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  175. package/dist/collection/ui-components/details/{details.js → justifi-details.js} +2 -2
  176. package/dist/collection/ui-components/form/form-control-checkbox.js +3 -3
  177. package/dist/collection/ui-components/form/form-control-date.js +3 -3
  178. package/dist/collection/ui-components/form/form-control-file-v2.js +2 -2
  179. package/dist/collection/ui-components/form/form-control-file.js +3 -3
  180. package/dist/collection/ui-components/form/form-control-monetary.js +3 -3
  181. package/dist/collection/ui-components/form/form-control-number-masked.js +3 -3
  182. package/dist/collection/ui-components/form/form-control-number.js +3 -3
  183. package/dist/collection/ui-components/form/form-control-radio.js +3 -3
  184. package/dist/collection/ui-components/form/form-control-select.js +3 -3
  185. package/dist/collection/ui-components/form/form-control-text.js +3 -3
  186. package/dist/collection/ui-components/form/form-control-textarea.js +3 -3
  187. package/dist/collection/ui-components/form/form-helpers/form-control-tooltip/form-control-tooltip.js +1 -1
  188. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  189. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  190. package/dist/collection/ui-components/index.js +1 -1
  191. package/dist/collection/ui-components/internal-button.js +192 -0
  192. package/dist/collection/ui-components/radio-list-item.js +153 -0
  193. package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +20 -2
  194. package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +2 -2
  195. package/dist/collection/ui-components/shadow-dom-components/justifi-radio-list-item.js +1 -5
  196. package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
  197. package/dist/docs.json +10905 -10441
  198. package/dist/esm/{check-pkg-version-Dn83YYz_.js → Analytics-C2EVi4Am.js} +4 -46
  199. package/dist/esm/{Api-CLZVsXZg.js → Api-DI0-itk3.js} +1 -1
  200. package/dist/esm/{Plaid-DOdR_CNb.js → Plaid-vwPGZ5y4.js} +1 -1
  201. package/dist/esm/additional-questions-details_5.entry.js +5 -5
  202. package/dist/esm/{justifi-additional-questions-form-step_9.entry.js → additional-questions-form-step_9.entry.js} +22 -22
  203. package/dist/esm/{form-alert_5.entry.js → additional-questions_5.entry.js} +23 -23
  204. package/dist/esm/{badge-guwZ0VTf.js → badge-B_DdhQ3Q.js} +1 -1
  205. package/dist/esm/bank-account-billing-form-simple_4.entry.js +198 -0
  206. package/dist/esm/bank-account-document-form-inputs_9.entry.js +43 -43
  207. package/dist/esm/bank-account-form.entry.js +12 -8
  208. package/dist/esm/business-details-core.entry.js +3 -3
  209. package/dist/esm/{business.service-DSolii9Q.js → business.service-M3YvwC-d.js} +2 -2
  210. package/dist/esm/{button-CdXktiZq.js → button-B-Agn8yQ.js} +1 -1
  211. package/dist/esm/card-form.entry.js +12 -8
  212. package/dist/esm/check-pkg-version-qIHmWcbI.js +45 -0
  213. package/dist/esm/{checkout.service-BTXHVtxI.js → checkout.service-DdIBmfsp.js} +2 -2
  214. package/dist/esm/{checkout.store-iNkW80yV.js → checkout.store-C1TdhFf6.js} +1 -1
  215. package/dist/esm/checkouts-list-core.entry.js +8 -8
  216. package/dist/esm/{checkouts-table-Bf6gjMf8.js → checkouts-table-4iLy6mvH.js} +3 -3
  217. package/dist/esm/custom-popper_2.entry.js +5 -5
  218. package/dist/esm/{dispute.service-CpDEYnHy.js → dispute.service-BzzA0DeT.js} +2 -2
  219. package/dist/esm/{form-control-number-masked_3.entry.js → form-address-fields_3.entry.js} +23 -23
  220. package/dist/esm/form-control-checkbox.entry.js +7 -7
  221. package/dist/esm/form-control-date.entry.js +6 -6
  222. package/dist/esm/{form-control-error-text-JYoDicr0.js → form-control-error-text-DMKhr8QA.js} +1 -1
  223. package/dist/esm/form-control-file-v2_2.entry.js +8 -8
  224. package/dist/esm/{form-control-help-text-DxL7yVgi.js → form-control-help-text-CsdCuw5-.js} +1 -1
  225. package/dist/esm/form-control-monetary-provisioning.entry.js +7 -7
  226. package/dist/esm/form-control-monetary.entry.js +8 -8
  227. package/dist/esm/form-control-number_3.entry.js +13 -13
  228. package/dist/esm/form-control-radio.entry.js +5 -5
  229. package/dist/esm/form-control-select_2.entry.js +9 -9
  230. package/dist/esm/{get-payment-details-VEzqfeuZ.js → get-payment-details-CN7gUjBc.js} +1 -1
  231. package/dist/esm/{get-subaccounts-DUdsxExJ.js → get-subaccounts-Mwx-aVcG.js} +2 -2
  232. package/dist/esm/gross-payment-chart-core.entry.js +5 -5
  233. package/dist/esm/{header-1-CU8Erek9.js → header-1-bRxxOyI-.js} +1 -1
  234. package/dist/esm/{header-3-BwJ-9MsW.js → header-3-E533c0A3.js} +1 -1
  235. package/dist/esm/hidden-input_2.entry.js +7 -7
  236. package/dist/esm/{insurance-state-gsU4kKgc.js → insurance-state-obAKb1XR.js} +1 -1
  237. package/dist/esm/internal-button.entry.js +16 -0
  238. package/dist/esm/justifi-additional-statement_8.entry.js +18 -18
  239. package/dist/esm/{justifi-apple-pay_8.entry.js → justifi-apple-pay_11.entry.js} +338 -35
  240. package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +44 -0
  241. package/dist/esm/justifi-bank-account-form.entry.js +42 -0
  242. package/dist/esm/justifi-billing-form-full.entry.js +22 -0
  243. package/dist/esm/justifi-billing-form.entry.js +22 -0
  244. package/dist/esm/justifi-business-details.entry.js +11 -10
  245. package/dist/esm/justifi-business-form.entry.js +14 -13
  246. package/dist/esm/justifi-card-billing-form-simple.entry.js +22 -0
  247. package/dist/esm/justifi-card-form.entry.js +42 -0
  248. package/dist/esm/justifi-checkout.entry.js +12 -13
  249. package/dist/esm/justifi-checkouts-list-filters.entry.js +7 -7
  250. package/dist/esm/justifi-checkouts-list.entry.js +14 -13
  251. package/dist/esm/justifi-config-provider.entry.js +2 -2
  252. package/dist/esm/justifi-details.entry.js +5 -5
  253. package/dist/esm/justifi-dispute-management-core.entry.js +3 -3
  254. package/dist/esm/justifi-dispute-management.entry.js +10 -9
  255. package/dist/esm/justifi-dispute-notification_3.entry.js +18 -17
  256. package/dist/esm/justifi-gross-payment-chart.entry.js +10 -9
  257. package/dist/esm/justifi-order-terminals.entry.js +13 -12
  258. package/dist/esm/justifi-payment-details.entry.js +12 -11
  259. package/dist/esm/justifi-payment-provisioning-core.entry.js +7 -7
  260. package/dist/esm/justifi-payment-provisioning.entry.js +10 -9
  261. package/dist/esm/justifi-payment-transactions-list.entry.js +13 -12
  262. package/dist/esm/justifi-payments-list-filters.entry.js +6 -6
  263. package/dist/esm/justifi-payments-list.entry.js +14 -13
  264. package/dist/esm/justifi-payout-details.entry.js +11 -10
  265. package/dist/esm/justifi-payout-transactions-list.entry.js +13 -12
  266. package/dist/esm/justifi-payouts-list-filters.entry.js +7 -7
  267. package/dist/esm/justifi-payouts-list.entry.js +15 -14
  268. package/dist/esm/justifi-refund-payment.entry.js +13 -12
  269. package/dist/esm/justifi-save-new-payment-method.entry.js +16 -0
  270. package/dist/esm/justifi-saved-payment-method.entry.js +4 -4
  271. package/dist/esm/justifi-season-interruption-insurance.entry.js +12 -11
  272. package/dist/esm/justifi-skeleton.entry.js +3 -3
  273. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +8 -8
  274. package/dist/esm/justifi-terminal-orders-list.entry.js +12 -11
  275. package/dist/esm/justifi-terminals-list-filters.entry.js +6 -6
  276. package/dist/esm/justifi-terminals-list.entry.js +14 -13
  277. package/dist/esm/loader.js +1 -1
  278. package/dist/esm/{package-qNXIkzDE.js → package-CIYOQWsL.js} +1 -1
  279. package/dist/esm/pagination-menu.entry.js +1 -1
  280. package/dist/esm/{parts-D3V9AE6o.js → parts-D50Rx76J.js} +1 -1
  281. package/dist/esm/payment-details-core.entry.js +15 -15
  282. package/dist/esm/payment-method-option.entry.js +2 -2
  283. package/dist/esm/{payment-provisioning-loading-CQfDKCwy.js → payment-provisioning-loading-BAoIyEOj.js} +1 -1
  284. package/dist/esm/{payment.service-BjU4B__W.js → payment.service-0k8z2rOV.js} +2 -2
  285. package/dist/esm/payments-list-core.entry.js +9 -9
  286. package/dist/esm/{payments-status-DT4VNKKg.js → payments-status-7P7L51CK.js} +1 -1
  287. package/dist/esm/{payments-table-BJ1F2ZZU.js → payments-table-Bz7LmU_J.js} +3 -3
  288. package/dist/esm/payout-details-core.entry.js +10 -10
  289. package/dist/esm/{payout.service-CzCd8AaC.js → payout.service-C14YvCWQ.js} +2 -2
  290. package/dist/esm/payouts-list-core.entry.js +9 -9
  291. package/dist/esm/{payouts-status-LTNE_gQc.js → payouts-status-CGZRMu-q.js} +1 -1
  292. package/dist/esm/{payouts-table-Yp2d9OgA.js → payouts-table-Bpt__avQ.js} +3 -3
  293. package/dist/esm/{plaid.service-D61Eq14d.js → plaid.service-Dtxfrsm8.js} +2 -2
  294. package/dist/esm/radio-list-item.entry.js +19 -0
  295. package/dist/esm/save-new-payment-method.entry.js +23 -0
  296. package/dist/esm/{skeleton-CV6EpBqb.js → skeleton-DV6yJalo.js} +1 -1
  297. package/dist/esm/{spinner-CG3aWl8K.js → spinner--fEgBBOG.js} +1 -1
  298. package/dist/esm/{table-DZ6rurWg.js → table-Deugl8h5.js} +2 -2
  299. package/dist/esm/table-filters-menu.entry.js +3 -3
  300. package/dist/esm/terminal-orders-list-core.entry.js +8 -8
  301. package/dist/esm/{terminal-orders-table-CJg6dKsL.js → terminal-orders-table-DRnRR4zn.js} +4 -4
  302. package/dist/esm/terminal-quantity-selector.entry.js +2 -2
  303. package/dist/esm/{terminal.service-BBdRhDxm.js → terminal.service-rxvEhqqF.js} +2 -2
  304. package/dist/esm/terminals-list-core.entry.js +8 -8
  305. package/dist/esm/{terminals-table-iGSICJeZ.js → terminals-table-DSDZgJ77.js} +3 -3
  306. package/dist/esm/{utils-7bp92NC7.js → utils-C_8ZxLti.js} +1 -1
  307. package/dist/esm/{utils-DUArY3am.js → utils-DJOBwFeP.js} +1 -1
  308. package/dist/esm/webcomponents.js +1 -1
  309. package/dist/module/Analytics.js +1 -43
  310. package/dist/module/Plaid.js +1 -1
  311. package/dist/module/additional-questions-form-step.d.ts +11 -0
  312. package/dist/module/additional-questions-form-step.js +6 -0
  313. package/dist/module/{business-additional-questions-form-step.js → additional-questions-form-step2.js} +5 -5
  314. package/dist/module/additional-questions.d.ts +11 -0
  315. package/dist/module/additional-questions.js +4 -76
  316. package/dist/module/additional-questions2.js +78 -0
  317. package/dist/module/badge.js +1 -1
  318. package/dist/module/bank-account-billing-form-simple.d.ts +11 -0
  319. package/dist/module/bank-account-billing-form-simple.js +4 -86
  320. package/dist/module/bank-account-billing-form-simple2.js +91 -0
  321. package/dist/module/bank-account-document-form-inputs.js +1 -1
  322. package/dist/module/{bank-account-document-inputs.js → bank-account-document-form-inputs2.js} +1 -1
  323. package/dist/module/bank-account-form-inputs-canada2.js +3 -3
  324. package/dist/module/bank-account-form-inputs2.js +3 -3
  325. package/dist/module/bank-account-form.js +1 -80
  326. package/dist/module/{bank-account.js → bank-account-form2.js} +10 -19
  327. package/dist/module/bank-account-read-only-value2.js +2 -2
  328. package/dist/module/billing-form-full.d.ts +11 -0
  329. package/dist/module/billing-form-full.js +4 -97
  330. package/dist/module/billing-form-full2.js +105 -0
  331. package/dist/module/billing-form-schema.js +1 -1
  332. package/dist/module/billing-form.d.ts +11 -0
  333. package/dist/module/billing-form.js +4 -102
  334. package/dist/module/billing-form2.js +99 -0
  335. package/dist/module/business-additional-questions-schema.js +1 -1
  336. package/dist/module/business-address-schema.js +2 -2
  337. package/dist/module/business-bank-account-form-step.d.ts +11 -0
  338. package/dist/module/business-bank-account-form-step.js +4 -602
  339. package/dist/module/business-bank-account-form-step2.js +604 -0
  340. package/dist/module/business-core-info-form-step.d.ts +11 -0
  341. package/dist/module/business-core-info-form-step.js +4 -215
  342. package/dist/module/business-core-info-form-step2.js +217 -0
  343. package/dist/module/{justifi-owner-form.d.ts → business-core-info.d.ts} +4 -4
  344. package/dist/module/business-core-info.js +4 -92
  345. package/dist/module/business-core-info2.js +94 -0
  346. package/dist/module/business-details-core2.js +1 -1
  347. package/dist/module/business-documents-on-file2.js +3 -3
  348. package/dist/module/business-form-options.js +1 -1
  349. package/dist/module/business-identity-schema.js +2 -2
  350. package/dist/module/business-owners-form-step.d.ts +11 -0
  351. package/dist/module/business-owners-form-step.js +4 -302
  352. package/dist/module/business-owners-form-step2.js +304 -0
  353. package/dist/module/business-representative-form-inputs.d.ts +11 -0
  354. package/dist/module/business-representative-form-inputs.js +4 -100
  355. package/dist/module/business-representative-form-inputs2.js +102 -0
  356. package/dist/module/business-representative-form-step.d.ts +11 -0
  357. package/dist/module/business-representative-form-step.js +4 -220
  358. package/dist/module/business-representative-form-step2.js +222 -0
  359. package/dist/module/business-representative.d.ts +11 -0
  360. package/dist/module/business-representative.js +4 -114
  361. package/dist/module/business-representative2.js +116 -0
  362. package/dist/module/business-terms-conditions-form-step.d.ts +11 -0
  363. package/dist/module/business-terms-conditions-form-step.js +4 -165
  364. package/dist/module/business-terms-conditions-form-step2.js +167 -0
  365. package/dist/module/button.js +1 -1
  366. package/dist/module/card-billing-form-simple.d.ts +11 -0
  367. package/dist/module/card-billing-form-simple.js +4 -86
  368. package/dist/module/card-billing-form-simple2.js +91 -0
  369. package/dist/module/card-form.js +1 -84
  370. package/dist/module/card-form2.js +12 -21
  371. package/dist/module/check-pkg-version.js +45 -0
  372. package/dist/module/checkout.store.js +2 -2
  373. package/dist/module/checkouts-list-core2.js +4 -4
  374. package/dist/module/checkouts-list-params-state.js +1 -1
  375. package/dist/module/config-state.js +1 -1
  376. package/dist/module/custom-popper2.js +2 -2
  377. package/dist/module/dispute-management-core.js +15 -15
  378. package/dist/module/dispute-response-actions.js +2 -2
  379. package/dist/module/dispute-response-core.js +13 -13
  380. package/dist/module/form-address-fields.d.ts +11 -0
  381. package/dist/module/form-address-fields.js +4 -63
  382. package/dist/module/form-address-fields2.js +65 -0
  383. package/dist/module/form-alert2.js +1 -1
  384. package/dist/module/form-control-checkbox.js +2 -2
  385. package/dist/module/form-control-checkbox2.js +8 -8
  386. package/dist/module/form-control-date.js +2 -2
  387. package/dist/module/form-control-date2.js +7 -7
  388. package/dist/module/form-control-file-v2.js +2 -2
  389. package/dist/module/form-control-file-v22.js +4 -4
  390. package/dist/module/form-control-file.js +2 -2
  391. package/dist/module/form-control-file2.js +7 -7
  392. package/dist/module/form-control-help-text.js +1 -1
  393. package/dist/module/form-control-help-text2.js +9 -32
  394. package/dist/module/form-control-help-text3.js +32 -9
  395. package/dist/module/form-control-monetary-provisioning.js +2 -2
  396. package/dist/module/form-control-monetary-provisioning2.js +9 -9
  397. package/dist/module/form-control-monetary.js +2 -2
  398. package/dist/module/form-control-monetary2.js +8 -8
  399. package/dist/module/form-control-number-masked.js +2 -2
  400. package/dist/module/form-control-number-masked2.js +8 -8
  401. package/dist/module/form-control-number.js +2 -2
  402. package/dist/module/form-control-number2.js +8 -8
  403. package/dist/module/form-control-radio.js +2 -2
  404. package/dist/module/form-control-radio2.js +7 -7
  405. package/dist/module/form-control-select.js +2 -2
  406. package/dist/module/form-control-select2.js +7 -7
  407. package/dist/module/form-control-text.js +2 -2
  408. package/dist/module/form-control-text2.js +7 -7
  409. package/dist/module/form-control-textarea.js +2 -2
  410. package/dist/module/form-control-textarea2.js +7 -7
  411. package/dist/module/form-control-tooltip.js +2 -2
  412. package/dist/module/form-control-tooltip2.js +4 -4
  413. package/dist/module/get-business.js +2 -2
  414. package/dist/module/get-payment-details.js +2 -2
  415. package/dist/module/get-payout-csv.js +2 -2
  416. package/dist/module/get-subaccounts.js +2 -2
  417. package/dist/module/gross-payment-chart-core2.js +1 -1
  418. package/dist/module/header-1.js +1 -1
  419. package/dist/module/header-3.js +1 -1
  420. package/dist/module/hidden-input2.js +2 -2
  421. package/dist/module/identity-address-form.d.ts +11 -0
  422. package/dist/module/identity-address-form.js +4 -76
  423. package/dist/module/identity-address-form2.js +78 -0
  424. package/dist/module/iframe-input-styles-state.js +1 -1
  425. package/dist/module/iframe-input2.js +4 -4
  426. package/dist/module/index2.js +3567 -246
  427. package/dist/module/index3.js +246 -3567
  428. package/dist/module/insurance-state.js +1 -1
  429. package/dist/module/internal-button.d.ts +11 -0
  430. package/dist/module/internal-button.js +6 -0
  431. package/dist/module/internal-button2.js +42 -0
  432. package/dist/module/justifi-additional-statement.js +2 -2
  433. package/dist/module/{additional-statement.js → justifi-additional-statement2.js} +5 -5
  434. package/dist/module/justifi-apple-pay.js +2 -2
  435. package/dist/module/{apple-pay.js → justifi-apple-pay2.js} +11 -11
  436. package/dist/module/justifi-bank-account-billing-form-simple.js +81 -2
  437. package/dist/module/justifi-bank-account-form.js +72 -2
  438. package/dist/module/justifi-billing-form-full.js +75 -2
  439. package/dist/module/justifi-billing-form.js +96 -2
  440. package/dist/module/justifi-business-details.js +7 -6
  441. package/dist/module/justifi-business-form.js +38 -37
  442. package/dist/module/justifi-button2.js +10 -4
  443. package/dist/module/justifi-cancellation-policy.js +2 -2
  444. package/dist/module/{cancellation-policy.js → justifi-cancellation-policy2.js} +5 -5
  445. package/dist/module/justifi-card-billing-form-simple.js +69 -2
  446. package/dist/module/justifi-card-form.js +71 -1
  447. package/dist/module/justifi-checkout-summary.js +2 -2
  448. package/dist/module/{summary.js → justifi-checkout-summary2.js} +6 -6
  449. package/dist/module/justifi-checkout.js +73 -62
  450. package/dist/module/justifi-checkouts-list-filters.js +6 -6
  451. package/dist/module/justifi-checkouts-list.js +9 -8
  452. package/dist/module/justifi-config-provider.js +3 -3
  453. package/dist/module/justifi-customer-details.js +2 -2
  454. package/dist/module/{customer-details.js → justifi-customer-details2.js} +5 -5
  455. package/dist/module/justifi-details.js +2 -2
  456. package/dist/module/{details.js → justifi-details2.js} +4 -4
  457. package/dist/module/justifi-dispute-management-core.js +2 -2
  458. package/dist/module/justifi-dispute-management.js +19 -18
  459. package/dist/module/justifi-dispute-notification.js +2 -2
  460. package/dist/module/{dispute-notification.js → justifi-dispute-notification2.js} +7 -7
  461. package/dist/module/justifi-dispute-response-core.js +2 -2
  462. package/dist/module/justifi-dispute-response.js +2 -2
  463. package/dist/module/{dispute-response.js → justifi-dispute-response2.js} +17 -16
  464. package/dist/module/justifi-duplicate-charge.js +2 -2
  465. package/dist/module/{duplicate-charge.js → justifi-duplicate-charge2.js} +5 -5
  466. package/dist/module/justifi-electronic-evidence.js +2 -2
  467. package/dist/module/{electronic-evidence.js → justifi-electronic-evidence2.js} +4 -4
  468. package/dist/module/justifi-google-pay.js +2 -2
  469. package/dist/module/{google-pay.js → justifi-google-pay2.js} +4 -4
  470. package/dist/module/justifi-gross-payment-chart.js +7 -6
  471. package/dist/module/justifi-header.js +2 -2
  472. package/dist/module/justifi-header2.js +4 -4
  473. package/dist/module/justifi-modular-checkout.js +2 -2
  474. package/dist/module/{modular-checkout.js → justifi-modular-checkout2.js} +23 -9
  475. package/dist/module/justifi-order-terminals.js +10 -9
  476. package/dist/module/justifi-payment-details.js +7 -6
  477. package/dist/module/justifi-payment-provisioning-core.js +2 -2
  478. package/dist/module/justifi-payment-provisioning.js +70 -69
  479. package/dist/module/justifi-payment-transactions-list.js +10 -9
  480. package/dist/module/justifi-payments-list-filters.js +6 -6
  481. package/dist/module/justifi-payments-list.js +9 -8
  482. package/dist/module/justifi-payout-details.js +8 -7
  483. package/dist/module/justifi-payout-transactions-list.js +10 -9
  484. package/dist/module/justifi-payouts-list-filters.js +6 -6
  485. package/dist/module/justifi-payouts-list.js +9 -8
  486. package/dist/module/justifi-plaid-payment-method.js +2 -2
  487. package/dist/module/{plaid-payment-method.js → justifi-plaid-payment-method2.js} +7 -7
  488. package/dist/module/justifi-product-or-service.js +2 -2
  489. package/dist/module/{product-or-service.js → justifi-product-or-service2.js} +4 -4
  490. package/dist/module/justifi-radio-list-item2.js +11 -9
  491. package/dist/module/justifi-refund-payment.js +9 -8
  492. package/dist/module/justifi-refund-policy.js +2 -2
  493. package/dist/module/{refund-policy.js → justifi-refund-policy2.js} +5 -5
  494. package/dist/module/justifi-save-new-payment-method.js +50 -2
  495. package/dist/module/justifi-saved-payment-method.js +6 -6
  496. package/dist/module/justifi-saved-payment-methods.js +2 -2
  497. package/dist/module/{saved-payment-methods.js → justifi-saved-payment-methods2.js} +6 -6
  498. package/dist/module/justifi-season-interruption-insurance.js +10 -9
  499. package/dist/module/justifi-sezzle-payment-method.js +2 -2
  500. package/dist/module/{sezzle-payment-method.js → justifi-sezzle-payment-method2.js} +4 -4
  501. package/dist/module/justifi-shipping-details.js +2 -2
  502. package/dist/module/{shipping-details.js → justifi-shipping-details2.js} +5 -5
  503. package/dist/module/justifi-skeleton.js +1 -1
  504. package/dist/module/justifi-terminal-orders-list-filters.js +7 -7
  505. package/dist/module/justifi-terminal-orders-list.js +9 -8
  506. package/dist/module/justifi-terminals-list-filters.js +5 -5
  507. package/dist/module/justifi-terminals-list.js +9 -8
  508. package/dist/module/justifi-tokenize-payment-method.js +2 -167
  509. package/dist/module/{internal-tokenize-payment-method2.js → justifi-tokenize-payment-method2.js} +73 -56
  510. package/dist/module/legal-address-form-step.d.ts +11 -0
  511. package/dist/module/legal-address-form-step.js +4 -189
  512. package/dist/module/legal-address-form-step2.js +191 -0
  513. package/dist/module/legal-address-form.d.ts +11 -0
  514. package/dist/module/legal-address-form.js +4 -74
  515. package/dist/module/legal-address-form2.js +76 -0
  516. package/dist/module/owner-details2.js +1 -1
  517. package/dist/module/owner-form-core.js +2 -2
  518. package/dist/module/owner-form-core2.js +23 -23
  519. package/dist/module/owner-form-inputs.js +2 -2
  520. package/dist/module/owner-form-inputs2.js +23 -23
  521. package/dist/module/owner-form.d.ts +11 -0
  522. package/dist/module/owner-form.js +4 -142
  523. package/dist/module/owner-form2.js +144 -0
  524. package/dist/module/package.js +1 -1
  525. package/dist/module/pagination-menu2.js +1 -1
  526. package/dist/module/parts.js +1 -1
  527. package/dist/module/payment-details-core2.js +10 -10
  528. package/dist/module/payment-method-option.js +4 -4
  529. package/dist/module/payment-provisioning-actions.js +2 -2
  530. package/dist/module/payment-provisioning-core.js +68 -68
  531. package/dist/module/payment-provisioning-form-buttons.d.ts +11 -0
  532. package/dist/module/payment-provisioning-form-buttons.js +4 -49
  533. package/dist/module/payment-provisioning-form-buttons2.js +51 -0
  534. package/dist/module/payment-provisioning-form-steps.d.ts +11 -0
  535. package/dist/module/payment-provisioning-form-steps.js +4 -224
  536. package/dist/module/payment-provisioning-form-steps2.js +226 -0
  537. package/dist/module/payment-provisioning-loading.js +1 -1
  538. package/dist/module/payments-list-core2.js +3 -3
  539. package/dist/module/payments-list-params-state.js +1 -1
  540. package/dist/module/payout-details-core2.js +5 -5
  541. package/dist/module/payouts-list-core2.js +4 -4
  542. package/dist/module/payouts-list-params-state.js +1 -1
  543. package/dist/module/plaid-verification2.js +3 -3
  544. package/dist/module/radio-list-item.d.ts +11 -0
  545. package/dist/module/radio-list-item.js +6 -0
  546. package/dist/module/radio-list-item2.js +55 -0
  547. package/dist/module/representative-details.js +2 -2
  548. package/dist/module/representative-details2.js +4 -4
  549. package/dist/module/save-new-payment-method.d.ts +11 -0
  550. package/dist/module/save-new-payment-method.js +4 -50
  551. package/dist/module/save-new-payment-method2.js +48 -0
  552. package/dist/module/schema-validations.js +2 -2
  553. package/dist/module/skeleton.js +1 -1
  554. package/dist/module/spinner.js +1 -1
  555. package/dist/module/table-filters-menu2.js +1 -1
  556. package/dist/module/table.js +1 -1
  557. package/dist/module/terminal-orders-list-core2.js +3 -3
  558. package/dist/module/terminal-orders-list-params-state.js +1 -1
  559. package/dist/module/terminal-quantity-selector2.js +2 -2
  560. package/dist/module/terminals-list-core2.js +3 -3
  561. package/dist/module/terminals-list-params-state.js +1 -1
  562. package/dist/module/utils.js +1 -1
  563. package/dist/module/utils2.js +1 -1
  564. package/dist/module/utils3.js +24 -23
  565. package/dist/module/utils4.js +23 -24
  566. package/dist/types/components/business-details/{business-details.d.ts → justifi-business-details.d.ts} +1 -1
  567. package/dist/types/components/business-details/representative-details/representative-details.d.ts +1 -1
  568. package/dist/types/components/business-forms/business-form/{business-form.d.ts → justifi-business-form.d.ts} +1 -1
  569. package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +1 -1
  570. package/dist/types/components/business-forms/owner-form/owner-form-inputs.d.ts +1 -1
  571. package/dist/types/components/business-forms/owner-form/owner-form.d.ts +1 -1
  572. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.d.ts +1 -1
  573. package/dist/types/components/business-forms/payment-provisioning/form-control-monetary-provisioning.d.ts +1 -1
  574. package/dist/types/components/business-forms/payment-provisioning/{payment-provisioning.d.ts → justifi-payment-provisioning.d.ts} +1 -1
  575. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-core.d.ts +1 -1
  576. package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +6 -6
  577. package/dist/types/components/checkout/bank-account-form/bank-account-form.d.ts +5 -1
  578. package/dist/types/components/{modular-checkout/sub-components → checkout/billing-form}/bank-account-billing-form-simple.d.ts +3 -2
  579. package/dist/types/components/{modular-checkout/sub-components → checkout/billing-form}/billing-form-full.d.ts +4 -2
  580. package/dist/types/components/checkout/billing-form/billing-form-schema.d.ts +1 -1
  581. package/dist/types/components/checkout/billing-form/billing-form.d.ts +0 -1
  582. package/dist/types/components/{modular-checkout/sub-components → checkout/billing-form}/card-billing-form-simple.d.ts +3 -2
  583. package/dist/types/components/checkout/billing-form/justifi-billing-form.d.ts +14 -0
  584. package/dist/types/components/checkout/card-form/card-form.d.ts +5 -1
  585. package/dist/types/components/checkout/{checkout.d.ts → justifi-checkout.d.ts} +2 -21
  586. package/dist/types/components/checkout/{saved-payment-method.d.ts → justifi-saved-payment-method.d.ts} +1 -1
  587. package/dist/types/components/checkout/save-new-payment-method/justifi-save-new-payment-method.d.ts +7 -0
  588. package/dist/types/components/checkout/{save-new-payment-method.d.ts → save-new-payment-method/save-new-payment-method.d.ts} +2 -1
  589. package/dist/types/components/checkouts-list/checkouts-list-filters.d.ts +1 -1
  590. package/dist/types/components/checkouts-list/{checkouts-list.d.ts → justifi-checkouts-list.d.ts} +1 -1
  591. package/dist/types/components/config-provider/{config-provider.d.ts → justifi-config-provider.d.ts} +1 -1
  592. package/dist/types/components/dispute-management/dispute-management-core.d.ts +1 -1
  593. package/dist/types/components/dispute-management/dispute-response/dispute-response-core.d.ts +1 -1
  594. package/dist/types/components/dispute-management/dispute-response/{additional-statement.d.ts → justifi-additional-statement.d.ts} +1 -1
  595. package/dist/types/components/dispute-management/dispute-response/{cancellation-policy.d.ts → justifi-cancellation-policy.d.ts} +1 -1
  596. package/dist/types/components/dispute-management/dispute-response/{customer-details.d.ts → justifi-customer-details.d.ts} +1 -1
  597. package/dist/types/components/dispute-management/dispute-response/{dispute-response.d.ts → justifi-dispute-response.d.ts} +2 -2
  598. package/dist/types/components/dispute-management/dispute-response/{duplicate-charge.d.ts → justifi-duplicate-charge.d.ts} +1 -1
  599. package/dist/types/components/dispute-management/dispute-response/{electronic-evidence.d.ts → justifi-electronic-evidence.d.ts} +1 -1
  600. package/dist/types/components/dispute-management/dispute-response/{product-or-service.d.ts → justifi-product-or-service.d.ts} +1 -1
  601. package/dist/types/components/dispute-management/dispute-response/{refund-policy.d.ts → justifi-refund-policy.d.ts} +1 -1
  602. package/dist/types/components/dispute-management/dispute-response/{shipping-details.d.ts → justifi-shipping-details.d.ts} +1 -1
  603. package/dist/types/components/dispute-management/{dispute-management.d.ts → justifi-dispute-management.d.ts} +1 -1
  604. package/dist/types/components/dispute-management/{dispute-notification.d.ts → justifi-dispute-notification.d.ts} +1 -1
  605. package/dist/types/components/gross-payment-chart/{gross-payment-chart.d.ts → justifi-gross-payment-chart.d.ts} +1 -1
  606. package/dist/types/components/insurance/season-interruption/{season-interruption-insurance.d.ts → justifi-season-interruption-insurance.d.ts} +1 -1
  607. package/dist/types/components/modular-checkout/{modular-checkout.d.ts → justifi-modular-checkout.d.ts} +2 -1
  608. package/dist/types/components/modular-checkout/sub-components/{apple-pay.d.ts → justifi-apple-pay.d.ts} +1 -4
  609. package/dist/types/components/modular-checkout/sub-components/justifi-bank-account-billing-form-simple.d.ts +15 -0
  610. package/dist/types/components/modular-checkout/sub-components/{bank-account.d.ts → justifi-bank-account-form.d.ts} +2 -7
  611. package/dist/types/components/modular-checkout/sub-components/justifi-billing-form-full.d.ts +11 -0
  612. package/dist/types/components/modular-checkout/sub-components/justifi-card-billing-form-simple.d.ts +11 -0
  613. package/dist/types/components/modular-checkout/sub-components/{card-form.d.ts → justifi-card-form.d.ts} +1 -8
  614. package/dist/types/components/modular-checkout/sub-components/justifi-checkout-summary.d.ts +3 -0
  615. package/dist/types/components/modular-checkout/sub-components/{google-pay.d.ts → justifi-google-pay.d.ts} +1 -1
  616. package/dist/types/components/modular-checkout/sub-components/{plaid-payment-method.d.ts → justifi-plaid-payment-method.d.ts} +1 -1
  617. package/dist/types/components/modular-checkout/sub-components/{saved-payment-methods.d.ts → justifi-saved-payment-methods.d.ts} +1 -1
  618. package/dist/types/components/modular-checkout/sub-components/{sezzle-payment-method.d.ts → justifi-sezzle-payment-method.d.ts} +1 -1
  619. package/dist/types/components/order-terminals/{order-terminals.d.ts → justifi-order-terminals.d.ts} +1 -1
  620. package/dist/types/components/payment-details/{payment-details.d.ts → justifi-payment-details.d.ts} +1 -1
  621. package/dist/types/components/payment-transactions-list/{payment-transactions-list.d.ts → justifi-payment-transactions-list.d.ts} +1 -1
  622. package/dist/types/components/payments-list/{payments-list-filters.d.ts → justifi-payments-list-filters.d.ts} +1 -1
  623. package/dist/types/components/payments-list/{payments-list.d.ts → justifi-payments-list.d.ts} +1 -1
  624. package/dist/types/components/payout-details/{payout-details.d.ts → justifi-payout-details.d.ts} +1 -1
  625. package/dist/types/components/payout-transactions-list/{payout-transactions-list.d.ts → justifi-payout-transactions-list.d.ts} +1 -1
  626. package/dist/types/components/payouts-list/{payouts-list-filters.d.ts → justifi-payouts-list-filters.d.ts} +1 -1
  627. package/dist/types/components/payouts-list/{payouts-list.d.ts → justifi-payouts-list.d.ts} +1 -1
  628. package/dist/types/components/refund-payment/{refund-payment.d.ts → justifi-refund-payment.d.ts} +1 -1
  629. package/dist/types/components/terminal-orders-list/{terminal-orders-list-filters.d.ts → justifi-terminal-orders-list-filters.d.ts} +1 -1
  630. package/dist/types/components/terminal-orders-list/{terminal-orders-list.d.ts → justifi-terminal-orders-list.d.ts} +1 -1
  631. package/dist/types/components/terminals-list/{terminals-list-filters.d.ts → justifi-terminals-list-filters.d.ts} +1 -1
  632. package/dist/types/components/terminals-list/{terminals-list.d.ts → justifi-terminals-list.d.ts} +1 -1
  633. package/dist/types/components/tokenize-payment-method/{internal-tokenize-payment-method.d.ts → justifi-tokenize-payment-method.d.ts} +4 -3
  634. package/dist/types/components.d.ts +826 -657
  635. package/dist/types/ui-components/details/{details.d.ts → justifi-details.d.ts} +1 -1
  636. package/dist/types/ui-components/form/form-control-checkbox.d.ts +1 -1
  637. package/dist/types/ui-components/form/form-control-date.d.ts +1 -1
  638. package/dist/types/ui-components/form/form-control-file-v2.d.ts +1 -1
  639. package/dist/types/ui-components/form/form-control-file.d.ts +1 -1
  640. package/dist/types/ui-components/form/form-control-monetary.d.ts +1 -1
  641. package/dist/types/ui-components/form/form-control-number-masked.d.ts +1 -1
  642. package/dist/types/ui-components/form/form-control-number.d.ts +1 -1
  643. package/dist/types/ui-components/form/form-control-radio.d.ts +1 -1
  644. package/dist/types/ui-components/form/form-control-select.d.ts +1 -1
  645. package/dist/types/ui-components/form/form-control-text.d.ts +1 -1
  646. package/dist/types/ui-components/form/form-control-textarea.d.ts +1 -1
  647. package/dist/types/ui-components/form/form-helpers/form-control-tooltip/form-control-tooltip.d.ts +1 -1
  648. package/dist/types/ui-components/index.d.ts +1 -1
  649. package/dist/types/ui-components/internal-button.d.ts +14 -0
  650. package/dist/types/ui-components/radio-list-item.d.ts +12 -0
  651. package/dist/types/ui-components/shadow-dom-components/justifi-button.d.ts +1 -0
  652. package/dist/types/ui-components/shadow-dom-components/justifi-radio-list-item.d.ts +0 -1
  653. package/dist/webcomponents/p-08424d71.entry.js +1 -0
  654. package/dist/webcomponents/p-089bc927.entry.js +1 -0
  655. package/dist/webcomponents/p-0b7fa323.entry.js +1 -0
  656. package/dist/webcomponents/p-16ae88d0.entry.js +1 -0
  657. package/dist/webcomponents/p-179fe9a0.entry.js +1 -0
  658. package/dist/webcomponents/p-1a9aecbf.entry.js +1 -0
  659. package/dist/webcomponents/{p-132c8d4c.entry.js → p-1c95ec74.entry.js} +3 -3
  660. package/dist/webcomponents/{p-541da1ed.entry.js → p-1d1c48c3.entry.js} +1 -1
  661. package/dist/webcomponents/p-1da3ba0f.entry.js +1 -0
  662. package/dist/webcomponents/{p-368d8543.entry.js → p-252a4f75.entry.js} +1 -1
  663. package/dist/webcomponents/{p-ef98982e.entry.js → p-26062991.entry.js} +1 -1
  664. package/dist/webcomponents/p-26074643.entry.js +1 -0
  665. package/dist/webcomponents/{p-251f6c90.entry.js → p-2719f4db.entry.js} +1 -1
  666. package/dist/webcomponents/p-2a0ce169.entry.js +1 -0
  667. package/dist/webcomponents/p-2b8df3c0.entry.js +1 -0
  668. package/dist/webcomponents/p-2bec5dca.entry.js +1 -0
  669. package/dist/webcomponents/p-358f7121.entry.js +1 -0
  670. package/dist/webcomponents/{p-ca307ba0.entry.js → p-38281490.entry.js} +1 -1
  671. package/dist/webcomponents/p-383798ab.entry.js +1 -0
  672. package/dist/webcomponents/p-3d135aee.entry.js +1 -0
  673. package/dist/webcomponents/{p-15919744.entry.js → p-42129686.entry.js} +1 -1
  674. package/dist/webcomponents/p-431ad048.entry.js +1 -0
  675. package/dist/webcomponents/p-485a8795.entry.js +1 -0
  676. package/dist/webcomponents/p-4d222f42.entry.js +1 -0
  677. package/dist/webcomponents/{p-c751bb5f.entry.js → p-534833ca.entry.js} +1 -1
  678. package/dist/webcomponents/p-534881d8.entry.js +1 -0
  679. package/dist/webcomponents/p-53dd8569.entry.js +1 -0
  680. package/dist/webcomponents/{p-e646422f.entry.js → p-56d58041.entry.js} +1 -1
  681. package/dist/webcomponents/p-61784c6a.entry.js +1 -0
  682. package/dist/webcomponents/p-6372a42a.entry.js +1 -0
  683. package/dist/webcomponents/p-7108eead.entry.js +1 -0
  684. package/dist/webcomponents/p-729c9798.entry.js +1 -0
  685. package/dist/webcomponents/{p-7cb910cf.entry.js → p-744f57f0.entry.js} +1 -1
  686. package/dist/webcomponents/p-7742cf61.entry.js +1 -0
  687. package/dist/webcomponents/p-774b69a0.entry.js +1 -0
  688. package/dist/webcomponents/p-77600a47.entry.js +1 -0
  689. package/dist/webcomponents/{p-f23b4474.entry.js → p-7791b55e.entry.js} +1 -1
  690. package/dist/webcomponents/p-783580d4.entry.js +1 -0
  691. package/dist/webcomponents/p-83fd4eae.entry.js +1 -0
  692. package/dist/webcomponents/p-848ae146.entry.js +1 -0
  693. package/dist/webcomponents/p-865d4604.entry.js +1 -0
  694. package/dist/webcomponents/{p-e86c713b.entry.js → p-89bf64ef.entry.js} +1 -1
  695. package/dist/webcomponents/p-8Kt4Rhcq.js +1 -0
  696. package/dist/webcomponents/p-8c52d10a.entry.js +1 -0
  697. package/dist/webcomponents/p-8df335d4.entry.js +1 -0
  698. package/dist/webcomponents/p-90f2c769.entry.js +1 -0
  699. package/dist/webcomponents/{p-7703ada7.entry.js → p-9639d9d0.entry.js} +1 -1
  700. package/dist/webcomponents/p-97d16844.entry.js +1 -0
  701. package/dist/webcomponents/p-9838b5a7.entry.js +1 -0
  702. package/dist/webcomponents/{p--UanYWb-.js → p-B6sIVWJW.js} +1 -1
  703. package/dist/webcomponents/{p-BXT1uJVr.js → p-BJtvT9BX.js} +1 -1
  704. package/dist/webcomponents/{p-DnZY6aQX.js → p-BmEX2SfZ.js} +1 -1
  705. package/dist/webcomponents/{p-C0tps2ph.js → p-BrO0HEFJ.js} +1 -1
  706. package/dist/webcomponents/{p-CMLfjWil.js → p-Bwzxu5wV.js} +1 -1
  707. package/dist/webcomponents/{p-o83Uy7sW.js → p-C-QiUcEa.js} +1 -1
  708. package/dist/webcomponents/{p-ERB63T7J.js → p-C1olhiO9.js} +1 -1
  709. package/dist/webcomponents/p-CAl_N2gi.js +1 -0
  710. package/dist/webcomponents/{p-_BHErKTQ.js → p-CBqZge6m.js} +1 -1
  711. package/dist/webcomponents/p-CIYOQWsL.js +1 -0
  712. package/dist/webcomponents/{p-55QcjheA.js → p-CMB3sNMT.js} +1 -1
  713. package/dist/webcomponents/{p-XxcNbSyO.js → p-CWv3GX8X.js} +1 -1
  714. package/dist/webcomponents/p-CbM9cuX_.js +1 -0
  715. package/dist/webcomponents/{p-COZ-9O53.js → p-CjuaXEuI.js} +1 -1
  716. package/dist/webcomponents/{p-zGGZEiGQ.js → p-CmXujxGp.js} +1 -1
  717. package/dist/webcomponents/{p-Csh7hxly.js → p-CwdQ1VdH.js} +1 -1
  718. package/dist/webcomponents/{p-BrcAwFqw.js → p-CzdAS9Jo.js} +1 -1
  719. package/dist/webcomponents/p-D0BjjvYt.js +1 -0
  720. package/dist/webcomponents/{p-C5CtnV8A.js → p-D2TJwp13.js} +1 -1
  721. package/dist/webcomponents/{p-D3V9AE6o.js → p-D50Rx76J.js} +1 -1
  722. package/dist/webcomponents/p-D5MdA21U.js +1 -0
  723. package/dist/webcomponents/p-D68EHdgA.js +1 -0
  724. package/dist/webcomponents/p-DB_pqjwH.js +1 -0
  725. package/dist/webcomponents/{p-vIYW-hye.js → p-DL0R5vDy.js} +1 -1
  726. package/dist/webcomponents/{p-DdR4lBzU.js → p-DLmWCafe.js} +1 -1
  727. package/dist/webcomponents/{p-BPpqjhPu.js → p-Da4efjxw.js} +1 -1
  728. package/dist/webcomponents/p-Df9FVwA7.js +1 -0
  729. package/dist/webcomponents/p-Dvcgmvfg.js +1 -0
  730. package/dist/webcomponents/{p-Daew0gTO.js → p-EBsfAkrP.js} +1 -1
  731. package/dist/webcomponents/{p-xvmoHDSy.js → p-J7WCmj-J.js} +1 -1
  732. package/dist/webcomponents/{p-D-cvuqv1.js → p-MLfmcsbZ.js} +1 -1
  733. package/dist/webcomponents/{p-MeSAYDNh.js → p-MkDHT9M4.js} +1 -1
  734. package/dist/webcomponents/p-N60pPiy5.js +1 -0
  735. package/dist/webcomponents/{p-2xM1wp0u.js → p-_fynNk40.js} +1 -1
  736. package/dist/webcomponents/p-a53fae42.entry.js +1 -0
  737. package/dist/webcomponents/p-a5640aa4.entry.js +1 -0
  738. package/dist/webcomponents/{p-1ddbbba8.entry.js → p-b21e5a85.entry.js} +1 -1
  739. package/dist/webcomponents/p-b2d7a9dd.entry.js +1 -0
  740. package/dist/webcomponents/p-b31c9979.entry.js +1 -0
  741. package/dist/webcomponents/p-b322d2f3.entry.js +1 -0
  742. package/dist/webcomponents/p-b596cbb3.entry.js +1 -0
  743. package/dist/webcomponents/p-b7ffdb30.entry.js +1 -0
  744. package/dist/webcomponents/p-bac16c16.entry.js +1 -0
  745. package/dist/webcomponents/p-bb4cc829.entry.js +1 -0
  746. package/dist/webcomponents/p-bbdae5b7.entry.js +1 -0
  747. package/dist/webcomponents/p-c07069f1.entry.js +1 -0
  748. package/dist/webcomponents/p-c4da12e0.entry.js +1 -0
  749. package/dist/webcomponents/p-c5be6300.entry.js +1 -0
  750. package/dist/webcomponents/p-c63b8c8f.entry.js +1 -0
  751. package/dist/webcomponents/p-d6350138.entry.js +1 -0
  752. package/dist/webcomponents/{p-f4074e9a.entry.js → p-d667138d.entry.js} +1 -1
  753. package/dist/webcomponents/p-d6c2d51d.entry.js +1 -0
  754. package/dist/webcomponents/p-def798df.entry.js +1 -0
  755. package/dist/webcomponents/p-e2650fe5.entry.js +1 -0
  756. package/dist/webcomponents/p-e4ba0754.entry.js +1 -0
  757. package/dist/webcomponents/p-e939affa.entry.js +1 -0
  758. package/dist/webcomponents/p-e9c20b52.entry.js +1 -0
  759. package/dist/webcomponents/p-ea84c544.entry.js +1 -0
  760. package/dist/webcomponents/{p-DzeWzcho.js → p-rz2BF2Sz.js} +1 -1
  761. package/dist/webcomponents/webcomponents.esm.js +1 -1
  762. package/package.json +1 -1
  763. package/dist/cjs/internal-tokenize-payment-method_7.cjs.entry.js +0 -470
  764. package/dist/cjs/justifi-bank-account-billing-form-simple_3.cjs.entry.js +0 -147
  765. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +0 -24
  766. package/dist/collection/components/modular-checkout/sub-components/bank-account.js +0 -101
  767. package/dist/collection/components/modular-checkout/sub-components/card-form.js +0 -105
  768. package/dist/collection/components/modular-checkout/sub-components/summary.js +0 -12
  769. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +0 -296
  770. package/dist/esm/internal-tokenize-payment-method_7.entry.js +0 -462
  771. package/dist/esm/justifi-bank-account-billing-form-simple_3.entry.js +0 -143
  772. package/dist/esm/justifi-tokenize-payment-method.entry.js +0 -22
  773. package/dist/module/internal-tokenize-payment-method.d.ts +0 -11
  774. package/dist/module/internal-tokenize-payment-method.js +0 -6
  775. package/dist/module/justifi-additional-questions-form-step.d.ts +0 -11
  776. package/dist/module/justifi-additional-questions-form-step.js +0 -6
  777. package/dist/module/justifi-additional-questions.d.ts +0 -11
  778. package/dist/module/justifi-additional-questions.js +0 -6
  779. package/dist/module/justifi-business-bank-account-form-step.d.ts +0 -11
  780. package/dist/module/justifi-business-bank-account-form-step.js +0 -6
  781. package/dist/module/justifi-business-core-info-form-step.d.ts +0 -11
  782. package/dist/module/justifi-business-core-info-form-step.js +0 -6
  783. package/dist/module/justifi-business-core-info.d.ts +0 -11
  784. package/dist/module/justifi-business-core-info.js +0 -6
  785. package/dist/module/justifi-business-owners-form-step.d.ts +0 -11
  786. package/dist/module/justifi-business-owners-form-step.js +0 -6
  787. package/dist/module/justifi-business-representative-form-inputs.d.ts +0 -11
  788. package/dist/module/justifi-business-representative-form-inputs.js +0 -6
  789. package/dist/module/justifi-business-representative-form-step.d.ts +0 -11
  790. package/dist/module/justifi-business-representative-form-step.js +0 -6
  791. package/dist/module/justifi-business-representative.d.ts +0 -11
  792. package/dist/module/justifi-business-representative.js +0 -6
  793. package/dist/module/justifi-business-terms-conditions-form-step.d.ts +0 -11
  794. package/dist/module/justifi-business-terms-conditions-form-step.js +0 -6
  795. package/dist/module/justifi-form-address-fields.d.ts +0 -11
  796. package/dist/module/justifi-form-address-fields.js +0 -6
  797. package/dist/module/justifi-identity-address-form.d.ts +0 -11
  798. package/dist/module/justifi-identity-address-form.js +0 -6
  799. package/dist/module/justifi-legal-address-form-step.d.ts +0 -11
  800. package/dist/module/justifi-legal-address-form-step.js +0 -6
  801. package/dist/module/justifi-legal-address-form.d.ts +0 -11
  802. package/dist/module/justifi-legal-address-form.js +0 -6
  803. package/dist/module/justifi-owner-form.js +0 -6
  804. package/dist/module/justifi-payment-provisioning-form-buttons.d.ts +0 -11
  805. package/dist/module/justifi-payment-provisioning-form-buttons.js +0 -6
  806. package/dist/module/justifi-payment-provisioning-form-steps.d.ts +0 -11
  807. package/dist/module/justifi-payment-provisioning-form-steps.js +0 -6
  808. package/dist/types/components/modular-checkout/sub-components/summary.d.ts +0 -3
  809. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +0 -19
  810. package/dist/webcomponents/p-03b913e8.entry.js +0 -1
  811. package/dist/webcomponents/p-12b662e3.entry.js +0 -1
  812. package/dist/webcomponents/p-19e82b02.entry.js +0 -1
  813. package/dist/webcomponents/p-19f22078.entry.js +0 -1
  814. package/dist/webcomponents/p-1fc96f35.entry.js +0 -1
  815. package/dist/webcomponents/p-2758d129.entry.js +0 -1
  816. package/dist/webcomponents/p-2V38oZhe.js +0 -1
  817. package/dist/webcomponents/p-320aac60.entry.js +0 -1
  818. package/dist/webcomponents/p-337fb232.entry.js +0 -1
  819. package/dist/webcomponents/p-3490ede8.entry.js +0 -1
  820. package/dist/webcomponents/p-3bf56699.entry.js +0 -1
  821. package/dist/webcomponents/p-3cd30c7a.entry.js +0 -1
  822. package/dist/webcomponents/p-3f9c7b04.entry.js +0 -1
  823. package/dist/webcomponents/p-426fd524.entry.js +0 -1
  824. package/dist/webcomponents/p-4ae0227a.entry.js +0 -1
  825. package/dist/webcomponents/p-50a34a13.entry.js +0 -1
  826. package/dist/webcomponents/p-5148f836.entry.js +0 -1
  827. package/dist/webcomponents/p-55605664.entry.js +0 -1
  828. package/dist/webcomponents/p-55b478bc.entry.js +0 -1
  829. package/dist/webcomponents/p-57e09f09.entry.js +0 -1
  830. package/dist/webcomponents/p-5b4dfe0e.entry.js +0 -1
  831. package/dist/webcomponents/p-5c70a772.entry.js +0 -1
  832. package/dist/webcomponents/p-60df1c18.entry.js +0 -1
  833. package/dist/webcomponents/p-6Nv8l5n8.js +0 -1
  834. package/dist/webcomponents/p-6cdea3ef.entry.js +0 -1
  835. package/dist/webcomponents/p-77d0f2e2.entry.js +0 -1
  836. package/dist/webcomponents/p-8ed651b1.entry.js +0 -1
  837. package/dist/webcomponents/p-97e27e4a.entry.js +0 -1
  838. package/dist/webcomponents/p-9ed5d349.entry.js +0 -1
  839. package/dist/webcomponents/p-BU9iZ8OM.js +0 -1
  840. package/dist/webcomponents/p-BYLHkONM.js +0 -1
  841. package/dist/webcomponents/p-C_WlV7F_.js +0 -1
  842. package/dist/webcomponents/p-DSmuL_bZ.js +0 -1
  843. package/dist/webcomponents/p-FcERM7LF.js +0 -1
  844. package/dist/webcomponents/p-a109b3a1.entry.js +0 -1
  845. package/dist/webcomponents/p-a5db7147.entry.js +0 -1
  846. package/dist/webcomponents/p-b08bca2b.entry.js +0 -1
  847. package/dist/webcomponents/p-b2c237c6.entry.js +0 -1
  848. package/dist/webcomponents/p-b2d5f105.entry.js +0 -1
  849. package/dist/webcomponents/p-b8fc6dff.entry.js +0 -1
  850. package/dist/webcomponents/p-c595d3fb.entry.js +0 -1
  851. package/dist/webcomponents/p-c9f94919.entry.js +0 -1
  852. package/dist/webcomponents/p-ca7e369f.entry.js +0 -1
  853. package/dist/webcomponents/p-cab4c787.entry.js +0 -1
  854. package/dist/webcomponents/p-cd220f6c.entry.js +0 -1
  855. package/dist/webcomponents/p-cd2c2256.entry.js +0 -1
  856. package/dist/webcomponents/p-cd7a4048.entry.js +0 -1
  857. package/dist/webcomponents/p-d5d8ccd9.entry.js +0 -1
  858. package/dist/webcomponents/p-e72d05b1.entry.js +0 -1
  859. package/dist/webcomponents/p-e9d7f988.entry.js +0 -1
  860. package/dist/webcomponents/p-f1562dab.entry.js +0 -1
  861. package/dist/webcomponents/p-f44008d9.entry.js +0 -1
  862. package/dist/webcomponents/p-f657995a.entry.js +0 -1
  863. package/dist/webcomponents/p-fa3b5072.entry.js +0 -1
  864. package/dist/webcomponents/p-fb58eb13.entry.js +0 -1
  865. package/dist/webcomponents/p-fff25a5f.entry.js +0 -1
  866. package/dist/webcomponents/p-qNXIkzDE.js +0 -1
  867. package/dist/webcomponents/p-rgpO5xc3.js +0 -1
  868. package/dist/webcomponents/p-t6eP44Li.js +0 -1
  869. /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
  870. /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
  871. /package/dist/webcomponents/{p-99065f37.entry.js → p-9399f4f1.entry.js} +0 -0
@@ -1,34 +1,36 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
2
  import { S as StyledHost } from './styled-host.js';
3
- import './details.js';
3
+ import './justifi-details2.js';
4
4
  import './event-types.js';
5
- import { d as defineCustomElement$2 } from './justifi-radio-list-item2.js';
6
- import { c as checkPkgVersion, J as JustifiAnalytics } from './Analytics.js';
5
+ import './justifi-radio-list-item2.js';
6
+ import { c as checkPkgVersion } from './check-pkg-version.js';
7
+ import { J as JustifiAnalytics } from './Analytics.js';
7
8
  import './config-state.js';
8
9
  import './dinero.js';
9
- import { C as ComponentErrorCodes, a as ComponentErrorSeverity } from './Plaid.js';
10
+ import { a as ComponentErrorCodes, C as ComponentErrorSeverity } from './Plaid.js';
10
11
  import './Pagination.js';
11
12
  import './Business.js';
12
13
  import './ApplePay.js';
13
14
  import { c as checkoutStore } from './checkout.store.js';
14
15
  import { P as PAYMENT_METHODS } from './ModularCheckout.js';
15
- import { d as defineCustomElement$i } from './custom-popper2.js';
16
- import { d as defineCustomElement$h } from './form-control-checkbox2.js';
17
- import { d as defineCustomElement$g } from './form-control-help-text2.js';
18
- import { d as defineCustomElement$f } from './form-control-radio2.js';
19
- import { d as defineCustomElement$e } from './form-control-select2.js';
20
- import { d as defineCustomElement$d } from './form-control-text2.js';
21
- import { d as defineCustomElement$c } from './form-control-tooltip2.js';
22
- import { d as defineCustomElement$b } from './hidden-input2.js';
23
- import { d as defineCustomElement$a } from './iframe-input2.js';
24
- import { d as defineCustomElement$9 } from './bank-account-billing-form-simple.js';
25
- import { d as defineCustomElement$8 } from './bank-account.js';
26
- import { d as defineCustomElement$7 } from './billing-form.js';
27
- import { d as defineCustomElement$6 } from './billing-form-full.js';
28
- import { d as defineCustomElement$5 } from './justifi-button2.js';
29
- import { d as defineCustomElement$4 } from './card-billing-form-simple.js';
30
- import { d as defineCustomElement$3 } from './card-form2.js';
31
- import { d as defineCustomElement$1 } from './save-new-payment-method.js';
16
+ import { d as defineCustomElement$i } from './bank-account-billing-form-simple2.js';
17
+ import { d as defineCustomElement$h } from './bank-account-form2.js';
18
+ import { d as defineCustomElement$g } from './billing-form2.js';
19
+ import { d as defineCustomElement$f } from './billing-form-full2.js';
20
+ import { d as defineCustomElement$e } from './card-billing-form-simple2.js';
21
+ import { d as defineCustomElement$d } from './card-form2.js';
22
+ import { d as defineCustomElement$c } from './custom-popper2.js';
23
+ import { d as defineCustomElement$b } from './form-control-checkbox2.js';
24
+ import { d as defineCustomElement$a } from './form-control-help-text3.js';
25
+ import { d as defineCustomElement$9 } from './form-control-radio2.js';
26
+ import { d as defineCustomElement$8 } from './form-control-select2.js';
27
+ import { d as defineCustomElement$7 } from './form-control-text2.js';
28
+ import { d as defineCustomElement$6 } from './form-control-tooltip2.js';
29
+ import { d as defineCustomElement$5 } from './hidden-input2.js';
30
+ import { d as defineCustomElement$4 } from './iframe-input2.js';
31
+ import { d as defineCustomElement$3 } from './internal-button2.js';
32
+ import { d as defineCustomElement$2 } from './radio-list-item2.js';
33
+ import { d as defineCustomElement$1 } from './save-new-payment-method2.js';
32
34
 
33
35
  // Constants
34
36
  const PAYMENT_METHOD_TYPE_LABELS = {
@@ -41,12 +43,13 @@ const ERROR_MESSAGES = {
41
43
  FORM_NOT_READY: 'Payment form not ready',
42
44
  VALIDATION_ERROR: 'Validation error',
43
45
  };
44
- const InternalTokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class InternalTokenizePaymentMethod extends HTMLElement {
46
+ const JustifiTokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class JustifiTokenizePaymentMethod extends HTMLElement {
45
47
  constructor(registerHost) {
46
48
  super();
47
49
  if (registerHost !== false) {
48
50
  this.__registerHost();
49
51
  }
52
+ this.__attachShadow();
50
53
  this.errorEvent = createEvent(this, "error-event", 7);
51
54
  this.submitEvent = createEvent(this, "submit-event", 7);
52
55
  this.computedHideSubmitButton = false;
@@ -75,10 +78,6 @@ const InternalTokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class Int
75
78
  this.selectedPaymentMethod = event.detail;
76
79
  checkoutStore.selectedPaymentMethod = { type: event.detail };
77
80
  }
78
- async fillBillingForm(fields) {
79
- var _a;
80
- (_a = this.billingFormRef) === null || _a === void 0 ? void 0 : _a.fill(fields);
81
- }
82
81
  async tokenizePaymentMethod(event) {
83
82
  event === null || event === void 0 ? void 0 : event.preventDefault();
84
83
  this.validateRequiredProps();
@@ -116,6 +115,9 @@ const InternalTokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class Int
116
115
  this.isLoading = false;
117
116
  }
118
117
  }
118
+ async fillBillingForm(fields) {
119
+ checkoutStore.billingFormFields = fields;
120
+ }
119
121
  async validate() {
120
122
  if (!this.areFormsReady()) {
121
123
  return { isValid: false, errors: { general: ERROR_MESSAGES.FORM_NOT_READY } };
@@ -130,6 +132,9 @@ const InternalTokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class Int
130
132
  };
131
133
  return result;
132
134
  }
135
+ async getValues() {
136
+ return this.billingFormRef.getValues();
137
+ }
133
138
  async tokenize() {
134
139
  try {
135
140
  const billingFormFieldValues = await this.billingFormRef.getValues();
@@ -138,7 +143,8 @@ const InternalTokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class Int
138
143
  account: this.accountId || checkoutStore.accountId,
139
144
  paymentMethodMetadata: this.buildPaymentMethodMetadata(billingFormFieldValues),
140
145
  };
141
- return await this.paymentMethodFormRef.tokenize(config);
146
+ const result = await this.paymentMethodFormRef.tokenize(config);
147
+ return result;
142
148
  }
143
149
  catch (error) {
144
150
  return error;
@@ -249,10 +255,11 @@ const InternalTokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class Int
249
255
  return { error: tokenizeResponse.error };
250
256
  }
251
257
  const tokenizeResponseData = tokenizeResponse.data;
252
- return {
258
+ const result = {
253
259
  token: ((_a = tokenizeResponseData.card) === null || _a === void 0 ? void 0 : _a.token) || ((_b = tokenizeResponseData.bank_account) === null || _b === void 0 ? void 0 : _b.token),
254
260
  data: tokenizeResponseData,
255
261
  };
262
+ return result;
256
263
  }
257
264
  buildPaymentMethodMetadata(billingFormFieldValues) {
258
265
  return this.shouldSavePaymentMethod
@@ -269,23 +276,32 @@ const InternalTokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class Int
269
276
  }
270
277
  renderPaymentMethodOption(paymentMethodType) {
271
278
  const isSelected = this.selectedPaymentMethod === paymentMethodType && checkoutStore.selectedPaymentMethod.id === undefined;
272
- return (h("div", { class: "payment-method" }, h("justifi-radio-list-item", { name: "paymentMethodType", value: paymentMethodType, checked: isSelected, label: PAYMENT_METHOD_TYPE_LABELS[paymentMethodType], hidden: this.shouldHideRadioInput }), isSelected && this.renderSelectedPaymentMethodForm(paymentMethodType)));
279
+ return (h("div", { class: "payment-method" }, h("radio-list-item", { name: "paymentMethodType", value: paymentMethodType, checked: isSelected, label: PAYMENT_METHOD_TYPE_LABELS[paymentMethodType], hidden: this.shouldHideRadioInput }), isSelected && this.renderSelectedPaymentMethodForm(paymentMethodType)));
273
280
  }
274
281
  renderSelectedPaymentMethodForm(paymentMethodType) {
275
- return (h("div", { class: "mt-4 pb-4" }, this.renderPaymentMethodForm(paymentMethodType), h("div", { class: "mt-4" }, h("justifi-billing-form", { ref: (el) => (this.billingFormRef = el), hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, paymentMethodType: paymentMethodType })), h("div", { class: "mt-4" }, h("justifi-save-new-payment-method", { hidden: !this.paymentMethodGroupID, label: this.savePaymentMethodLabel }))));
282
+ return (h("div", { class: "mt-4 pb-4" }, this.renderPaymentMethodForm(paymentMethodType), h("div", { class: "mt-4" }, h("billing-form", { ref: (el) => {
283
+ if (el)
284
+ this.billingFormRef = el;
285
+ }, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, paymentMethodType: paymentMethodType })), h("div", { class: "mt-4" }, h("save-new-payment-method", { hidden: !this.paymentMethodGroupID, label: this.savePaymentMethodLabel }))));
276
286
  }
277
287
  renderPaymentMethodForm(paymentMethodType) {
278
- return paymentMethodType === PAYMENT_METHODS.NEW_CARD ? (h("justifi-card-form", { ref: (el) => (this.paymentMethodFormRef = el) })) : (h("justifi-bank-account-form", { ref: (el) => (this.paymentMethodFormRef = el) }));
288
+ return paymentMethodType === PAYMENT_METHODS.NEW_CARD ? (h("card-form", { ref: (el) => {
289
+ if (el)
290
+ this.paymentMethodFormRef = el;
291
+ } })) : (h("bank-account-form", { ref: (el) => {
292
+ if (el)
293
+ this.paymentMethodFormRef = el;
294
+ } }));
279
295
  }
280
296
  render() {
281
- return (h(StyledHost, { key: '86d79320ea44f9e791ab91739075d160769743fb' }, h("form", { key: 'd8b62d8d0442085822a51eeaef816809e2bd1f05' }, h("fieldset", { key: 'c792bba0b82c19f05ce551b95157479d407113e2' }, h("div", { key: '57e93910091e25344a371ac081aa657c683049b4', class: "row gy-3" }, h("div", { key: 'bc63e26c74b247ec4d5d5ee9510d8370b9e36f17', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), h("div", { key: '1d9acd0beee80e8b339204d7328a0d2e9078b9a3', class: "col-12" }, h("justifi-button", { key: '18a968b57420f0690e6f6c98b5e108f769b61d4b', text: this.submitButtonText, variant: "primary", type: "submit", clickHandler: (e) => this.tokenizePaymentMethod(e), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.computedHideSubmitButton })))))));
297
+ return (h(StyledHost, { key: '2d4349f3e5ad632981cdeb14dbe4e483f79379da' }, h("form", { key: '754afee2c5229cf016bd8fc0cf81041cf37270a8' }, h("fieldset", { key: '01867151a09d384e1258ef7f62fbc88c526706cc' }, h("div", { key: '7ba453d4629a0c2ef583daddcb9cf02ac5eee265', class: "row gy-3" }, h("div", { key: '4148f2269c738a00f2684d69d4a83a4ab2424f2b', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), h("div", { key: 'e67b09357571aadfb3d2712f55954506748b3826', class: "col-12" }, h("internal-button", { key: 'c2e805060ff7e9e97144533ffad3b4a02433e792', text: this.submitButtonText, variant: "primary", type: "submit", clickHandler: (e) => this.tokenizePaymentMethod(e), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.computedHideSubmitButton })))))));
282
298
  }
283
299
  get host() { return this; }
284
300
  static get watchers() { return {
285
301
  "disableCreditCard": ["paymentMethodsChanged"],
286
302
  "disableBankAccount": ["paymentMethodsChanged"]
287
303
  }; }
288
- }, [256, "internal-tokenize-payment-method", {
304
+ }, [257, "justifi-tokenize-payment-method", {
289
305
  "accountId": [1, "account-id"],
290
306
  "authToken": [1, "auth-token"],
291
307
  "disableBankAccount": [4, "disable-bank-account"],
@@ -299,9 +315,10 @@ const InternalTokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class Int
299
315
  "computedHideSubmitButton": [32],
300
316
  "isLoading": [32],
301
317
  "selectedPaymentMethod": [32],
302
- "fillBillingForm": [64],
303
318
  "tokenizePaymentMethod": [64],
319
+ "fillBillingForm": [64],
304
320
  "validate": [64],
321
+ "getValues": [64],
305
322
  "tokenize": [64]
306
323
  }, [[0, "radio-click", "handleRadioClick"]], {
307
324
  "disableCreditCard": ["paymentMethodsChanged"],
@@ -311,99 +328,99 @@ function defineCustomElement() {
311
328
  if (typeof customElements === "undefined") {
312
329
  return;
313
330
  }
314
- const components = ["internal-tokenize-payment-method", "custom-popper", "form-control-checkbox", "form-control-help-text", "form-control-radio", "form-control-select", "form-control-text", "form-control-tooltip", "hidden-input", "iframe-input", "justifi-bank-account-billing-form-simple", "justifi-bank-account-form", "justifi-billing-form", "justifi-billing-form-full", "justifi-button", "justifi-card-billing-form-simple", "justifi-card-form", "justifi-radio-list-item", "justifi-save-new-payment-method"];
331
+ const components = ["justifi-tokenize-payment-method", "bank-account-billing-form-simple", "bank-account-form", "billing-form", "billing-form-full", "card-billing-form-simple", "card-form", "custom-popper", "form-control-checkbox", "form-control-help-text", "form-control-radio", "form-control-select", "form-control-text", "form-control-tooltip", "hidden-input", "iframe-input", "internal-button", "radio-list-item", "save-new-payment-method"];
315
332
  components.forEach(tagName => { switch (tagName) {
316
- case "internal-tokenize-payment-method":
333
+ case "justifi-tokenize-payment-method":
317
334
  if (!customElements.get(tagName)) {
318
- customElements.define(tagName, InternalTokenizePaymentMethod);
335
+ customElements.define(tagName, JustifiTokenizePaymentMethod);
319
336
  }
320
337
  break;
321
- case "custom-popper":
338
+ case "bank-account-billing-form-simple":
322
339
  if (!customElements.get(tagName)) {
323
340
  defineCustomElement$i();
324
341
  }
325
342
  break;
326
- case "form-control-checkbox":
343
+ case "bank-account-form":
327
344
  if (!customElements.get(tagName)) {
328
345
  defineCustomElement$h();
329
346
  }
330
347
  break;
331
- case "form-control-help-text":
348
+ case "billing-form":
332
349
  if (!customElements.get(tagName)) {
333
350
  defineCustomElement$g();
334
351
  }
335
352
  break;
336
- case "form-control-radio":
353
+ case "billing-form-full":
337
354
  if (!customElements.get(tagName)) {
338
355
  defineCustomElement$f();
339
356
  }
340
357
  break;
341
- case "form-control-select":
358
+ case "card-billing-form-simple":
342
359
  if (!customElements.get(tagName)) {
343
360
  defineCustomElement$e();
344
361
  }
345
362
  break;
346
- case "form-control-text":
363
+ case "card-form":
347
364
  if (!customElements.get(tagName)) {
348
365
  defineCustomElement$d();
349
366
  }
350
367
  break;
351
- case "form-control-tooltip":
368
+ case "custom-popper":
352
369
  if (!customElements.get(tagName)) {
353
370
  defineCustomElement$c();
354
371
  }
355
372
  break;
356
- case "hidden-input":
373
+ case "form-control-checkbox":
357
374
  if (!customElements.get(tagName)) {
358
375
  defineCustomElement$b();
359
376
  }
360
377
  break;
361
- case "iframe-input":
378
+ case "form-control-help-text":
362
379
  if (!customElements.get(tagName)) {
363
380
  defineCustomElement$a();
364
381
  }
365
382
  break;
366
- case "justifi-bank-account-billing-form-simple":
383
+ case "form-control-radio":
367
384
  if (!customElements.get(tagName)) {
368
385
  defineCustomElement$9();
369
386
  }
370
387
  break;
371
- case "justifi-bank-account-form":
388
+ case "form-control-select":
372
389
  if (!customElements.get(tagName)) {
373
390
  defineCustomElement$8();
374
391
  }
375
392
  break;
376
- case "justifi-billing-form":
393
+ case "form-control-text":
377
394
  if (!customElements.get(tagName)) {
378
395
  defineCustomElement$7();
379
396
  }
380
397
  break;
381
- case "justifi-billing-form-full":
398
+ case "form-control-tooltip":
382
399
  if (!customElements.get(tagName)) {
383
400
  defineCustomElement$6();
384
401
  }
385
402
  break;
386
- case "justifi-button":
403
+ case "hidden-input":
387
404
  if (!customElements.get(tagName)) {
388
405
  defineCustomElement$5();
389
406
  }
390
407
  break;
391
- case "justifi-card-billing-form-simple":
408
+ case "iframe-input":
392
409
  if (!customElements.get(tagName)) {
393
410
  defineCustomElement$4();
394
411
  }
395
412
  break;
396
- case "justifi-card-form":
413
+ case "internal-button":
397
414
  if (!customElements.get(tagName)) {
398
415
  defineCustomElement$3();
399
416
  }
400
417
  break;
401
- case "justifi-radio-list-item":
418
+ case "radio-list-item":
402
419
  if (!customElements.get(tagName)) {
403
420
  defineCustomElement$2();
404
421
  }
405
422
  break;
406
- case "justifi-save-new-payment-method":
423
+ case "save-new-payment-method":
407
424
  if (!customElements.get(tagName)) {
408
425
  defineCustomElement$1();
409
426
  }
@@ -412,4 +429,4 @@ function defineCustomElement() {
412
429
  }
413
430
  defineCustomElement();
414
431
 
415
- export { InternalTokenizePaymentMethod as I, defineCustomElement as d };
432
+ export { JustifiTokenizePaymentMethod as J, defineCustomElement as d };
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface LegalAddressFormStep extends Components.LegalAddressFormStep, HTMLElement {}
4
+ export const LegalAddressFormStep: {
5
+ prototype: LegalAddressFormStep;
6
+ new (): LegalAddressFormStep;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -1,191 +1,6 @@
1
- import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { a as ComponentErrorSeverity, C as ComponentErrorCodes } from './Plaid.js';
3
- import { m as makeGetBusiness, a as makePatchBusiness } from './payment-provisioning-actions.js';
4
- import { B as BusinessService } from './business.service.js';
5
- import { c as addressSchemaByCountry } from './business-address-schema.js';
6
- import { F as FormController } from './form.js';
7
- import { c as Address } from './Business.js';
8
- import { h as heading2 } from './parts.js';
9
- import { P as PaymentProvisioningLoading } from './payment-provisioning-loading.js';
10
- import { B as BusinessFormStep } from './event-types2.js';
11
- import { d as defineCustomElement$5 } from './custom-popper2.js';
12
- import { d as defineCustomElement$4 } from './form-control-select2.js';
13
- import { d as defineCustomElement$3 } from './form-control-text2.js';
14
- import { d as defineCustomElement$2 } from './form-control-tooltip2.js';
15
- import { d as defineCustomElement$1 } from './form-address-fields.js';
1
+ import { L as LegalAddressFormStep$1, d as defineCustomElement$1 } from './legal-address-form-step2.js';
16
2
 
17
- const LegalAddressFormStep = /*@__PURE__*/ proxyCustomElement(class LegalAddressFormStep extends HTMLElement {
18
- constructor(registerHost) {
19
- super();
20
- if (registerHost !== false) {
21
- this.__registerHost();
22
- }
23
- this.errorEvent = createEvent(this, "error-event", 7);
24
- this.stepCompleteEvent = createEvent(this, "complete-form-step-event", 7);
25
- this.formLoading = createEvent(this, "formLoading", 7);
26
- this.errors = {};
27
- this.legal_address = {};
28
- this.isLoading = false;
29
- this.getData = () => {
30
- if (!this.getBusiness)
31
- return;
32
- this.formLoading.emit(true);
33
- this.isLoading = true;
34
- this.getBusiness({
35
- onSuccess: (response) => {
36
- const business = response.data || {};
37
- const address = new Address(business.legal_address || {});
38
- this.legal_address = Object.assign(Object.assign({}, address), { country: this.country });
39
- this.formController.setInitialValues(Object.assign({}, this.legal_address));
40
- },
41
- onError: ({ error, code, severity }) => {
42
- this.errorEvent.emit({
43
- message: error,
44
- errorCode: code,
45
- severity: severity
46
- });
47
- },
48
- final: () => {
49
- this.formLoading.emit(false);
50
- this.isLoading = false;
51
- }
52
- });
53
- };
54
- this.sendData = (onSuccess) => {
55
- let submittedData;
56
- this.formLoading.emit(true);
57
- this.patchBusiness({
58
- payload: this.patchPayload,
59
- onSuccess: (response) => {
60
- submittedData = response;
61
- onSuccess();
62
- },
63
- onError: ({ error, code, severity }) => {
64
- submittedData = error;
65
- this.errorEvent.emit({
66
- message: error,
67
- errorCode: code,
68
- severity: severity
69
- });
70
- },
71
- final: () => {
72
- this.stepCompleteEvent.emit({ response: submittedData, formStep: BusinessFormStep.legalAddress });
73
- this.formLoading.emit(false);
74
- }
75
- });
76
- };
77
- this.inputHandler = (name, value) => {
78
- this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { [name]: value }));
79
- };
80
- }
81
- propChanged() {
82
- this.initializeApi();
83
- }
84
- async validateAndSubmit({ onSuccess }) {
85
- this.formController.validateAndSubmit(() => this.sendData(onSuccess));
86
- }
87
- get patchPayload() {
88
- let formValues = new Address(this.formController.values.getValue()).payload;
89
- return { legal_address: formValues };
90
- }
91
- componentWillLoad() {
92
- this.initializeApi();
93
- const schemaFactory = addressSchemaByCountry[this.country];
94
- this.formController = new FormController(schemaFactory(this.allowOptionalFields));
95
- this.getData();
96
- }
97
- componentDidLoad() {
98
- this.formController.errors.subscribe(errors => {
99
- this.errors = Object.assign({}, errors);
100
- });
101
- }
102
- initializeApi() {
103
- if (this.authToken && this.businessId) {
104
- this.getBusiness = makeGetBusiness({
105
- authToken: this.authToken,
106
- businessId: this.businessId,
107
- service: new BusinessService()
108
- });
109
- this.patchBusiness = makePatchBusiness({
110
- authToken: this.authToken,
111
- businessId: this.businessId,
112
- service: new BusinessService()
113
- });
114
- }
115
- else {
116
- this.errorEvent.emit({
117
- message: 'Missing required props',
118
- errorCode: ComponentErrorCodes.MISSING_PROPS,
119
- severity: ComponentErrorSeverity.ERROR,
120
- });
121
- }
122
- }
123
- render() {
124
- var _a;
125
- const legalAddressDefaultValue = (_a = this.formController) === null || _a === void 0 ? void 0 : _a.getInitialValues();
126
- if (this.isLoading) {
127
- return h(PaymentProvisioningLoading, null);
128
- }
129
- return (h("form", null, h("fieldset", null, h("div", { class: "d-flex align-items-center gap-2" }, h("legend", { class: "mb-0", part: heading2 }, "Legal Address of your Business"), h("form-control-tooltip", { helpText: "No PO Boxes." })), h("hr", { class: "mt-2" }), h("justifi-form-address-fields", { country: this.country, errors: this.errors, defaultValues: legalAddressDefaultValue, inputHandler: this.inputHandler }))));
130
- }
131
- static get watchers() { return {
132
- "authToken": ["propChanged"],
133
- "businessId": ["propChanged"]
134
- }; }
135
- }, [256, "justifi-legal-address-form-step", {
136
- "authToken": [1, "auth-token"],
137
- "businessId": [1, "business-id"],
138
- "allowOptionalFields": [4, "allow-optional-fields"],
139
- "country": [1],
140
- "getBusiness": [32],
141
- "patchBusiness": [32],
142
- "formController": [32],
143
- "errors": [32],
144
- "legal_address": [32],
145
- "isLoading": [32],
146
- "validateAndSubmit": [64]
147
- }, undefined, {
148
- "authToken": ["propChanged"],
149
- "businessId": ["propChanged"]
150
- }]);
151
- function defineCustomElement() {
152
- if (typeof customElements === "undefined") {
153
- return;
154
- }
155
- const components = ["justifi-legal-address-form-step", "custom-popper", "form-control-select", "form-control-text", "form-control-tooltip", "justifi-form-address-fields"];
156
- components.forEach(tagName => { switch (tagName) {
157
- case "justifi-legal-address-form-step":
158
- if (!customElements.get(tagName)) {
159
- customElements.define(tagName, LegalAddressFormStep);
160
- }
161
- break;
162
- case "custom-popper":
163
- if (!customElements.get(tagName)) {
164
- defineCustomElement$5();
165
- }
166
- break;
167
- case "form-control-select":
168
- if (!customElements.get(tagName)) {
169
- defineCustomElement$4();
170
- }
171
- break;
172
- case "form-control-text":
173
- if (!customElements.get(tagName)) {
174
- defineCustomElement$3();
175
- }
176
- break;
177
- case "form-control-tooltip":
178
- if (!customElements.get(tagName)) {
179
- defineCustomElement$2();
180
- }
181
- break;
182
- case "justifi-form-address-fields":
183
- if (!customElements.get(tagName)) {
184
- defineCustomElement$1();
185
- }
186
- break;
187
- } });
188
- }
189
- defineCustomElement();
3
+ const LegalAddressFormStep = LegalAddressFormStep$1;
4
+ const defineCustomElement = defineCustomElement$1;
190
5
 
191
- export { LegalAddressFormStep as L, defineCustomElement as d };
6
+ export { LegalAddressFormStep, defineCustomElement };