@justifi/webcomponents 5.7.3 → 5.7.4-rc-01

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 (646) hide show
  1. package/dist/cjs/{check-pkg-version-BqLxQqZQ.js → Analytics-CLEDjTfr.js} +23 -23
  2. package/dist/cjs/{Api-CJ1_RDQW.js → Api-c8NBCwu4.js} +1 -1
  3. package/dist/cjs/{Checkout-TZnRz3-3.js → Checkout-BsYZoJ0a.js} +1 -3
  4. package/dist/cjs/{ComponentError-C4MdBBMe.js → ComponentError-CEv9ltwy.js} +2 -0
  5. package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
  6. package/dist/cjs/{badge-ByHiVqEE.js → badge-DDksduwk.js} +1 -1
  7. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +9 -9
  8. package/dist/cjs/{bank-account-form_9.cjs.entry.js → bank-account-form_7.cjs.entry.js} +24 -195
  9. package/dist/cjs/billing-form-schema-X1bkxteI.js +26 -0
  10. package/dist/cjs/{business-additional-questions-schema-e3GCIHk5.js → business-additional-questions-schema-C1Ot5vrv.js} +6 -6
  11. package/dist/cjs/business-details-core.cjs.entry.js +4 -4
  12. package/dist/cjs/{business-identity-schema-Diqj_WVQ.js → business-identity-schema-hk4UVEna.js} +10 -10
  13. package/dist/cjs/{business.service-CsKKWn0g.js → business.service-BjlK8M6t.js} +3 -3
  14. package/dist/cjs/{button-DXvFLf3b.js → button-0HYMPryx.js} +1 -1
  15. package/dist/cjs/checkout-actions-CRbQgLn0.js +61 -0
  16. package/dist/cjs/{checkout.service-CugpgJy_.js → checkout.service-Bln6jCAj.js} +3 -3
  17. package/dist/cjs/checkout.store-LEOetpmH.js +29 -0
  18. package/dist/cjs/checkouts-list-core.cjs.entry.js +11 -11
  19. package/dist/cjs/{checkouts-list-params-state-BZPc3hJS.js → checkouts-list-params-state-DZUKBmLC.js} +1 -1
  20. package/dist/cjs/{checkouts-table-BV-36YfA.js → checkouts-table-CrpOOe_e.js} +2 -2
  21. package/dist/cjs/{config-state-BH7lf2ok.js → config-state-Dz9bnWHg.js} +1 -1
  22. package/dist/cjs/custom-popper_4.cjs.entry.js +8 -8
  23. package/dist/cjs/{dispute.service-B8vLwAZm.js → dispute.service-Bo84yh33.js} +3 -3
  24. package/dist/cjs/{index.esm-CVuJLXJZ.js → form-CWW8IM-X.js} +10509 -10509
  25. package/dist/cjs/form-alert_5.cjs.entry.js +1 -1
  26. package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
  27. package/dist/cjs/form-control-date.cjs.entry.js +4 -4
  28. package/dist/cjs/{form-control-error-text-B-3qE49U.js → form-control-error-text-CVPYL0lE.js} +1 -1
  29. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
  30. package/dist/cjs/{form-control-help-text-BlYVOrII.js → form-control-help-text-B3jRgfoa.js} +1 -1
  31. package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
  32. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +3 -3
  33. package/dist/cjs/form-control-monetary.cjs.entry.js +5 -5
  34. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +4 -4
  35. package/dist/cjs/form-control-number.cjs.entry.js +5 -5
  36. package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
  37. package/dist/cjs/{get-business-BJrtsomz.js → get-business-BiEc-jdH.js} +2 -2
  38. package/dist/cjs/{get-payment-details-CudOQBpU.js → get-payment-details-OrAuseBX.js} +4 -4
  39. package/dist/cjs/{get-payout-csv-CXEQkjDm.js → get-payout-csv-CdNRRH0t.js} +2 -2
  40. package/dist/cjs/{get-subaccounts-DjwsQffs.js → get-subaccounts-CoC0XYqj.js} +5 -5
  41. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +28 -9
  42. package/dist/cjs/{header-1-agnQ4uEf.js → header-1-M-mc3bsa.js} +1 -1
  43. package/dist/cjs/{header-3-BAx5OhvM.js → header-3-BnKbOjvz.js} +1 -1
  44. package/dist/cjs/{iframe-input.cjs.entry.js → hidden-input_2.cjs.entry.js} +112 -15
  45. package/dist/cjs/{index-oahmQhrI.js → index-BCtVWU61.js} +1 -1
  46. package/dist/cjs/{index-y-rskGFM.js → index-D5bL1DOi.js} +38 -10
  47. package/dist/cjs/{insurance-state-CCo-Gmfe.js → insurance-state-BsGy_svD.js} +2 -2
  48. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +23 -23
  49. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +16 -16
  50. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +43 -43
  51. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +85 -0
  52. package/dist/cjs/justifi-billing-information-form.cjs.entry.js +50 -0
  53. package/dist/cjs/justifi-business-details.cjs.entry.js +14 -14
  54. package/dist/cjs/justifi-business-form.cjs.entry.js +23 -23
  55. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
  56. package/dist/cjs/justifi-card-form.cjs.entry.js +93 -0
  57. package/dist/cjs/justifi-checkout-core.cjs.entry.js +9 -9
  58. package/dist/cjs/justifi-checkout-summary.cjs.entry.js +21 -0
  59. package/dist/cjs/justifi-checkout.cjs.entry.js +26 -70
  60. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +8 -8
  61. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +17 -17
  62. package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
  63. package/dist/cjs/justifi-details.cjs.entry.js +2 -2
  64. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +2 -2
  65. package/dist/cjs/justifi-dispute-management.cjs.entry.js +13 -13
  66. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +18 -18
  67. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +12 -12
  68. package/dist/cjs/justifi-modular-checkout.cjs.entry.js +204 -0
  69. package/dist/cjs/justifi-order-terminals.cjs.entry.js +17 -17
  70. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +14 -14
  71. package/dist/cjs/justifi-payment-details.cjs.entry.js +14 -14
  72. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +4 -4
  73. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +13 -13
  74. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +16 -16
  75. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +6 -6
  76. package/dist/cjs/justifi-payments-list.cjs.entry.js +17 -17
  77. package/dist/cjs/justifi-payout-details.cjs.entry.js +14 -14
  78. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +16 -16
  79. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +6 -6
  80. package/dist/cjs/justifi-payouts-list.cjs.entry.js +19 -19
  81. package/dist/cjs/justifi-postal-code-form.cjs.entry.js +49 -0
  82. package/dist/cjs/justifi-refund-payment.cjs.entry.js +23 -23
  83. package/dist/cjs/justifi-saved-payment-methods.cjs.entry.js +31 -0
  84. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +5 -5
  85. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +19 -21
  86. package/dist/cjs/justifi-sezzle-payment-method.cjs.entry.js +80 -0
  87. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +9 -9
  88. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +15 -15
  89. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +8 -8
  90. package/dist/cjs/justifi-terminals-list.cjs.entry.js +17 -17
  91. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +20 -13
  92. package/dist/cjs/loader.cjs.js +3 -4
  93. package/dist/cjs/{package-a_vXN-Ly.js → package-D89BDRKu.js} +1 -1
  94. package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
  95. package/dist/cjs/payment-details-core.cjs.entry.js +14 -14
  96. package/dist/cjs/payment-method-option-utils-imuSE7KV.js +25 -0
  97. package/dist/cjs/{payment-provisioning-actions-BkWSDJQQ.js → payment-provisioning-actions-SNMCdsyF.js} +2 -2
  98. package/dist/cjs/{payment.service-aqlDvgDe.js → payment.service-C0t9DRcu.js} +3 -3
  99. package/dist/cjs/payments-list-core.cjs.entry.js +12 -12
  100. package/dist/cjs/{payments-list-params-state-BZPc3hJS.js → payments-list-params-state-DZUKBmLC.js} +1 -1
  101. package/dist/cjs/{payments-status-CWK1uHtj.js → payments-status-DG50GuXR.js} +2 -2
  102. package/dist/cjs/{payments-table-CP8LGibG.js → payments-table-BqxFc71K.js} +2 -2
  103. package/dist/cjs/payout-details-core.cjs.entry.js +10 -10
  104. package/dist/cjs/{payout.service-CL-hcMGg.js → payout.service-DGeLS8BN.js} +3 -3
  105. package/dist/cjs/payouts-list-core.cjs.entry.js +12 -12
  106. package/dist/cjs/{payouts-list-params-state-BZPc3hJS.js → payouts-list-params-state-DZUKBmLC.js} +1 -1
  107. package/dist/cjs/{payouts-status-Jz2Mh3JP.js → payouts-status-meuI7eBr.js} +2 -2
  108. package/dist/cjs/{payouts-table-DyuoNtFw.js → payouts-table-iT2IauEa.js} +2 -2
  109. package/dist/cjs/{schema-validations-BSeMee-o.js → schema-validations-CllkToCZ.js} +31 -31
  110. package/dist/cjs/{skeleton-CgT0siC5.js → skeleton-CbZBGO47.js} +1 -1
  111. package/dist/cjs/{spinner-Cz4By3FY.js → spinner-CIZFX7bz.js} +1 -1
  112. package/dist/cjs/{styled-host-LD5MpzHs.js → styled-host-DXNHOiqW.js} +1 -1
  113. package/dist/cjs/{table-Cvr8-PLT.js → table-CxvETNS1.js} +2 -2
  114. package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
  115. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +11 -11
  116. package/dist/cjs/{terminal-orders-list-params-state-BZPc3hJS.js → terminal-orders-list-params-state-DZUKBmLC.js} +1 -1
  117. package/dist/cjs/{terminal-orders-table-CslE3Ojj.js → terminal-orders-table-Dw6uHG1R.js} +5 -5
  118. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
  119. package/dist/cjs/{terminal.service-3geWla42.js → terminal.service-Ck6PIO3G.js} +3 -3
  120. package/dist/cjs/terminals-list-core.cjs.entry.js +11 -11
  121. package/dist/cjs/terminals-list-params-state-DZUKBmLC.js +22 -0
  122. package/dist/cjs/{terminals-table-DlZSKdHC.js → terminals-table-sf-s5v6D.js} +2 -2
  123. package/dist/cjs/{utils-l0veqT9y.js → utils-IGCnjtqc.js} +1 -1
  124. package/dist/cjs/{utils-B4fXt0os.js → utils-wkdkLmDI.js} +1 -1
  125. package/dist/cjs/webcomponents.cjs.js +4 -5
  126. package/dist/collection/api/BillingInformation.js +1 -0
  127. package/dist/collection/api/Checkout.js +1 -3
  128. package/dist/collection/api/ComponentError.js +2 -0
  129. package/dist/collection/api/PaymentMethod.js +1 -0
  130. package/dist/collection/collection-manifest.json +9 -2
  131. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
  132. package/dist/collection/components/checkout/billing-form/billing-form.js +1 -1
  133. package/dist/collection/components/checkout/card-form/card-form.js +2 -2
  134. package/dist/collection/components/checkout/checkout.js +11 -2
  135. package/dist/collection/components/checkout/payment-method-options.js +3 -33
  136. package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
  137. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
  138. package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
  139. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  140. package/dist/collection/components/dispute-management/dispute-management.js +1 -1
  141. package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
  142. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  143. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  144. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  145. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  146. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  147. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  148. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  149. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  150. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  151. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  152. package/dist/collection/components/filters/table-filters-menu.js +1 -1
  153. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  154. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +10 -12
  155. package/dist/collection/components/modular-checkout/modular-checkout.js +345 -0
  156. package/dist/collection/components/modular-checkout-parts/bank-account-skeleton.js +10 -0
  157. package/dist/collection/components/modular-checkout-parts/bank-account.js +98 -0
  158. package/dist/collection/components/modular-checkout-parts/billing-form-schema.js +21 -0
  159. package/dist/collection/components/modular-checkout-parts/billing-form.js +116 -0
  160. package/dist/collection/components/modular-checkout-parts/card-form-skeleton.js +10 -0
  161. package/dist/collection/components/modular-checkout-parts/card-form.js +102 -0
  162. package/dist/collection/components/modular-checkout-parts/postal-code-form.js +114 -0
  163. package/dist/collection/components/modular-checkout-parts/saved-payment-methods.js +23 -0
  164. package/dist/collection/components/modular-checkout-parts/sezzle-payment-method.js +127 -0
  165. package/dist/collection/components/modular-checkout-parts/summary.js +12 -0
  166. package/dist/collection/components/order-terminals/order-terminals.js +1 -1
  167. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  168. package/dist/collection/components/payment-details/payment-details-core.js +8 -8
  169. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
  170. package/dist/collection/components/payments-list/payments-list-core.js +1 -1
  171. package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
  172. package/dist/collection/components/payments-list/payments-list.js +1 -1
  173. package/dist/collection/components/payout-details/payout-details-core.js +3 -3
  174. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +1 -1
  175. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  176. package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
  177. package/dist/collection/components/payouts-list/payouts-list.js +1 -1
  178. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
  179. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
  180. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
  181. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  182. package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
  183. package/dist/collection/components/terminals-list/terminals-list.js +1 -1
  184. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +10 -3
  185. package/dist/collection/store/checkout.store.js +25 -0
  186. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  187. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  188. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  189. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  190. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  191. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  192. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  193. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  194. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  195. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  196. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  197. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  198. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  199. package/dist/collection/ui-components/form/iframe-input.js +10 -5
  200. package/dist/docs.json +799 -268
  201. package/dist/esm/{check-pkg-version-CxnnjoM3.js → Analytics-B3nThWuq.js} +25 -25
  202. package/dist/esm/{Api-CZhQlPMs.js → Api-C3T8XYbb.js} +2 -2
  203. package/dist/esm/{Checkout-B9LrTq63.js → Checkout-CV6qgU0r.js} +2 -4
  204. package/dist/esm/{ComponentError-SdntD1xf.js → ComponentError-BhrFjjAs.js} +2 -0
  205. package/dist/esm/{Payment-BGiKmQYR.js → Payment-BEvE6jAC.js} +1 -1
  206. package/dist/esm/{Refund-DDIEc_gu.js → Refund-BKe90wSq.js} +1 -1
  207. package/dist/esm/additional-questions-details_5.entry.js +4 -4
  208. package/dist/esm/{badge-Bbh4S1LJ.js → badge-DHaTxWwu.js} +2 -2
  209. package/dist/esm/bank-account-document-form-inputs_4.entry.js +13 -13
  210. package/dist/esm/{bank-account-form_9.entry.js → bank-account-form_7.entry.js} +20 -189
  211. package/dist/esm/billing-form-schema-BQf2Ydp0.js +24 -0
  212. package/dist/esm/{business-additional-questions-schema-uQlQ8fXQ.js → business-additional-questions-schema-D00MNMDJ.js} +2 -2
  213. package/dist/esm/business-details-core.entry.js +5 -5
  214. package/dist/esm/{business-identity-schema-BsrgqgDl.js → business-identity-schema-pxSsAdgG.js} +2 -2
  215. package/dist/esm/{business.service-CUWiJ5Un.js → business.service-BMABw2vX.js} +5 -5
  216. package/dist/esm/{button-BrZXQ8gb.js → button-5hc5r__m.js} +2 -2
  217. package/dist/esm/checkout-actions-UQ6g1s7I.js +58 -0
  218. package/dist/esm/{checkout.service-DqXrjRw7.js → checkout.service-jmweME4d.js} +5 -5
  219. package/dist/esm/checkout.store-Ffl2B_i4.js +27 -0
  220. package/dist/esm/checkouts-list-core.entry.js +15 -15
  221. package/dist/esm/{checkouts-list-params-state-BI3u1DYG.js → checkouts-list-params-state-DFWVMJRJ.js} +1 -1
  222. package/dist/esm/{checkouts-table-p7UZFB5v.js → checkouts-table-BS_UiHaT.js} +4 -4
  223. package/dist/esm/{config-state-ecb1EsvM.js → config-state-B3mtRA6f.js} +1 -1
  224. package/dist/esm/custom-popper_4.entry.js +9 -9
  225. package/dist/esm/{dispute.service-DpgnWZA1.js → dispute.service-DWQ8DPZa.js} +5 -5
  226. package/dist/esm/{index.esm-BCNUj0Dx.js → form-BjGUIqxU.js} +10509 -10509
  227. package/dist/esm/form-alert_5.entry.js +2 -2
  228. package/dist/esm/form-control-checkbox.entry.js +6 -6
  229. package/dist/esm/form-control-date.entry.js +5 -5
  230. package/dist/esm/{form-control-error-text-lGsxANkt.js → form-control-error-text-C93L7yFm.js} +2 -2
  231. package/dist/esm/form-control-file-v2_2.entry.js +6 -6
  232. package/dist/esm/{form-control-help-text-DjU4NWmt.js → form-control-help-text-p28euWGX.js} +2 -2
  233. package/dist/esm/form-control-help-text.entry.js +1 -1
  234. package/dist/esm/form-control-monetary-provisioning.entry.js +4 -4
  235. package/dist/esm/form-control-monetary.entry.js +7 -7
  236. package/dist/esm/form-control-number-masked_2.entry.js +5 -5
  237. package/dist/esm/form-control-number.entry.js +6 -6
  238. package/dist/esm/form-control-radio.entry.js +4 -4
  239. package/dist/esm/{get-business-GEPTefIj.js → get-business-BSRtbTh7.js} +2 -2
  240. package/dist/esm/{get-payment-details-ChRlNtIz.js → get-payment-details-PSdVeuGc.js} +7 -7
  241. package/dist/esm/{get-payout-csv-D7IYYqVL.js → get-payout-csv-U_pgdPpb.js} +2 -2
  242. package/dist/esm/{get-subaccounts-DiROU10G.js → get-subaccounts-CownROrO.js} +8 -8
  243. package/dist/esm/gross-payment-chart-core.entry.js +30 -11
  244. package/dist/esm/{header-1-Xbhp2rfA.js → header-1-CUc5m0Ge.js} +2 -2
  245. package/dist/esm/{header-3-DwjHOg3C.js → header-3-BXU3iN46.js} +2 -2
  246. package/dist/esm/{iframe-input.entry.js → hidden-input_2.entry.js} +106 -10
  247. package/dist/esm/{index-Dc7aGxx-.js → index-BAq5IUBW.js} +1 -1
  248. package/dist/esm/{index-DeiW2BDb.js → index-N3w5zrz2.js} +38 -11
  249. package/dist/esm/{insurance-state-CiK3s-Fy.js → insurance-state-Br0fBMFI.js} +3 -3
  250. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +15 -15
  251. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +15 -15
  252. package/dist/esm/justifi-additional-statement_8.entry.js +11 -11
  253. package/dist/esm/justifi-bank-account-form.entry.js +83 -0
  254. package/dist/esm/justifi-billing-information-form.entry.js +48 -0
  255. package/dist/esm/justifi-business-details.entry.js +16 -16
  256. package/dist/esm/justifi-business-form.entry.js +23 -23
  257. package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
  258. package/dist/esm/justifi-card-form.entry.js +91 -0
  259. package/dist/esm/justifi-checkout-core.entry.js +11 -11
  260. package/dist/esm/justifi-checkout-summary.entry.js +19 -0
  261. package/dist/esm/justifi-checkout.entry.js +25 -69
  262. package/dist/esm/justifi-checkouts-list-filters.entry.js +12 -12
  263. package/dist/esm/justifi-checkouts-list.entry.js +19 -19
  264. package/dist/esm/justifi-config-provider.entry.js +3 -3
  265. package/dist/esm/justifi-details.entry.js +3 -3
  266. package/dist/esm/justifi-dispute-management-core.entry.js +2 -2
  267. package/dist/esm/justifi-dispute-management.entry.js +14 -14
  268. package/dist/esm/justifi-dispute-notification_3.entry.js +20 -20
  269. package/dist/esm/justifi-gross-payment-chart.entry.js +14 -14
  270. package/dist/esm/justifi-modular-checkout.entry.js +202 -0
  271. package/dist/esm/justifi-order-terminals.entry.js +19 -19
  272. package/dist/esm/justifi-owner-form_3.entry.js +17 -17
  273. package/dist/esm/justifi-payment-details.entry.js +16 -16
  274. package/dist/esm/justifi-payment-provisioning-core.entry.js +5 -5
  275. package/dist/esm/justifi-payment-provisioning.entry.js +14 -14
  276. package/dist/esm/justifi-payment-transactions-list.entry.js +18 -18
  277. package/dist/esm/justifi-payments-list-filters.entry.js +8 -8
  278. package/dist/esm/justifi-payments-list.entry.js +19 -19
  279. package/dist/esm/justifi-payout-details.entry.js +16 -16
  280. package/dist/esm/justifi-payout-transactions-list.entry.js +18 -18
  281. package/dist/esm/justifi-payouts-list-filters.entry.js +8 -8
  282. package/dist/esm/justifi-payouts-list.entry.js +21 -21
  283. package/dist/esm/justifi-postal-code-form.entry.js +47 -0
  284. package/dist/esm/justifi-refund-payment.entry.js +19 -19
  285. package/dist/esm/justifi-saved-payment-methods.entry.js +29 -0
  286. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +7 -7
  287. package/dist/esm/justifi-season-interruption-insurance.entry.js +20 -22
  288. package/dist/esm/justifi-sezzle-payment-method.entry.js +78 -0
  289. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +13 -13
  290. package/dist/esm/justifi-terminal-orders-list.entry.js +17 -17
  291. package/dist/esm/justifi-terminals-list-filters.entry.js +12 -12
  292. package/dist/esm/justifi-terminals-list.entry.js +19 -19
  293. package/dist/esm/justifi-tokenize-payment-method.entry.js +22 -15
  294. package/dist/esm/loader.js +3 -4
  295. package/dist/esm/{package-DCoo9Ds8.js → package-rzqedGq4.js} +1 -1
  296. package/dist/esm/pagination-menu.entry.js +2 -2
  297. package/dist/esm/{parts-BrLVc_85.js → parts-_6eQgwfE.js} +1 -1
  298. package/dist/esm/payment-details-core.entry.js +16 -16
  299. package/dist/esm/payment-method-option-utils-8n_ALxec.js +23 -0
  300. package/dist/esm/{payment-provisioning-actions-BIfyW239.js → payment-provisioning-actions-2qP7AtHj.js} +2 -2
  301. package/dist/esm/{payment.service-BV8Gg3vY.js → payment.service-u8UGq6gX.js} +5 -5
  302. package/dist/esm/payments-list-core.entry.js +16 -16
  303. package/dist/esm/{payments-list-params-state-BI3u1DYG.js → payments-list-params-state-DFWVMJRJ.js} +1 -1
  304. package/dist/esm/{payments-status-DIH2IxWy.js → payments-status-BMqVM0kB.js} +2 -2
  305. package/dist/esm/{payments-table-DiEtudGk.js → payments-table-BMIALfY5.js} +4 -4
  306. package/dist/esm/payout-details-core.entry.js +12 -12
  307. package/dist/esm/{payout.service-DA9Y4buU.js → payout.service-CXW3oJqI.js} +5 -5
  308. package/dist/esm/payouts-list-core.entry.js +16 -16
  309. package/dist/esm/{payouts-list-params-state-BI3u1DYG.js → payouts-list-params-state-DFWVMJRJ.js} +1 -1
  310. package/dist/esm/{payouts-status-ZOiWvFE-.js → payouts-status-BGGBJaXG.js} +2 -2
  311. package/dist/esm/{payouts-table-DbzIHwgZ.js → payouts-table-BNPc0Z6X.js} +4 -4
  312. package/dist/esm/{schema-validations-DLWfpHyI.js → schema-validations-C7pC-de1.js} +2 -2
  313. package/dist/esm/{skeleton-B9rUHFom.js → skeleton-C0KgFH0Z.js} +2 -2
  314. package/dist/esm/{spinner-CrzsUbgI.js → spinner-Dtab-HTx.js} +2 -2
  315. package/dist/esm/{styled-host-_2J3PYDn.js → styled-host-DtvbNFVU.js} +1 -1
  316. package/dist/esm/table-filters-menu.entry.js +4 -4
  317. package/dist/esm/{table-CqDcXJpP.js → table-wp341KhD.js} +3 -3
  318. package/dist/esm/terminal-orders-list-core.entry.js +15 -15
  319. package/dist/esm/{terminal-orders-list-params-state-BI3u1DYG.js → terminal-orders-list-params-state-DFWVMJRJ.js} +1 -1
  320. package/dist/esm/{terminal-orders-table-D7EOk3GS.js → terminal-orders-table-CzEC1eXm.js} +9 -9
  321. package/dist/esm/terminal-quantity-selector.entry.js +3 -3
  322. package/dist/esm/{terminal.service-VdIvwUEC.js → terminal.service-Cw0RbYs3.js} +5 -5
  323. package/dist/esm/terminals-list-core.entry.js +15 -15
  324. package/dist/esm/terminals-list-params-state-DFWVMJRJ.js +16 -0
  325. package/dist/esm/{terminals-table-C-fA-3eP.js → terminals-table-CcKZ_9re.js} +4 -4
  326. package/dist/esm/{utils-CcleFgVO.js → utils-BGp_IJEa.js} +2 -2
  327. package/dist/esm/{utils-Dccsn9BY.js → utils-BZvep88z.js} +1 -1
  328. package/dist/esm/{utils-DB5fh6Iv.js → utils-BjLkBMLe.js} +1 -1
  329. package/dist/esm/webcomponents.js +4 -5
  330. package/dist/module/{check-pkg-version.js → Analytics.js} +21 -21
  331. package/dist/module/Checkout.js +3 -3
  332. package/dist/module/additional-statement.js +1 -1
  333. package/dist/module/bank-account-form2.js +2 -2
  334. package/dist/module/billing-form-schema.js +24 -0
  335. package/dist/module/billing-form.js +3 -3
  336. package/dist/module/business-address-schema.js +1 -1
  337. package/dist/module/business-bank-account-form-step-core.js +1 -1
  338. package/dist/module/business-core-info-schema.js +1 -1
  339. package/dist/module/business-identity-schema.js +1 -1
  340. package/dist/module/button.js +1 -1
  341. package/dist/module/cancellation-policy.js +1 -1
  342. package/dist/module/card-form2.js +2 -2
  343. package/dist/module/checkout-actions.js +58 -0
  344. package/dist/module/checkout-core.js +32 -38
  345. package/dist/module/checkout.store.js +27 -0
  346. package/dist/module/checkouts-list-core2.js +2 -2
  347. package/dist/module/custom-popper2.js +2 -2
  348. package/dist/module/customer-details.js +1 -1
  349. package/dist/module/dispute-management-core.js +1 -1
  350. package/dist/module/dispute-notification.js +1 -1
  351. package/dist/module/dispute-response-core.js +1 -1
  352. package/dist/module/dispute-response.js +2 -2
  353. package/dist/module/duplicate-charge.js +1 -1
  354. package/dist/module/electronic-evidence.js +1 -1
  355. package/dist/module/form-control-checkbox2.js +2 -2
  356. package/dist/module/form-control-date2.js +2 -2
  357. package/dist/module/form-control-file-v22.js +1 -1
  358. package/dist/module/form-control-file2.js +2 -2
  359. package/dist/module/form-control-monetary2.js +2 -2
  360. package/dist/module/form-control-number-masked2.js +2 -2
  361. package/dist/module/form-control-number.js +2 -2
  362. package/dist/module/form-control-radio2.js +2 -2
  363. package/dist/module/form-control-select2.js +2 -2
  364. package/dist/module/form-control-text2.js +2 -2
  365. package/dist/module/form-control-textarea2.js +2 -2
  366. package/dist/module/gross-payment-chart-core2.js +25 -6
  367. package/dist/module/hidden-input2.js +1 -1
  368. package/dist/module/iframe-input2.js +5 -5
  369. package/dist/module/justifi-bank-account-form.d.ts +11 -0
  370. package/dist/module/justifi-bank-account-form.js +105 -0
  371. package/dist/module/justifi-billing-information-form.d.ts +11 -0
  372. package/dist/module/justifi-billing-information-form.js +94 -0
  373. package/dist/module/justifi-business-details.js +1 -1
  374. package/dist/module/justifi-business-form.js +1 -1
  375. package/dist/module/justifi-card-form.d.ts +11 -0
  376. package/dist/module/justifi-card-form.js +113 -0
  377. package/dist/module/justifi-checkout-summary.d.ts +11 -0
  378. package/dist/module/justifi-checkout-summary.js +37 -0
  379. package/dist/module/justifi-checkout.js +48 -99
  380. package/dist/module/justifi-checkouts-list-filters.js +2 -2
  381. package/dist/module/justifi-checkouts-list.js +2 -2
  382. package/dist/module/justifi-dispute-management.js +2 -2
  383. package/dist/module/justifi-gross-payment-chart.js +1 -1
  384. package/dist/module/justifi-modular-checkout.d.ts +11 -0
  385. package/dist/module/justifi-modular-checkout.js +218 -0
  386. package/dist/module/justifi-order-terminals.js +3 -3
  387. package/dist/module/justifi-payment-details.js +1 -1
  388. package/dist/module/justifi-payment-provisioning.js +1 -1
  389. package/dist/module/justifi-payment-transactions-list.js +3 -3
  390. package/dist/module/justifi-payments-list-filters.js +3 -3
  391. package/dist/module/justifi-payments-list.js +2 -2
  392. package/dist/module/justifi-payout-details.js +1 -1
  393. package/dist/module/justifi-payout-transactions-list.js +3 -3
  394. package/dist/module/justifi-payouts-list-filters.js +3 -3
  395. package/dist/module/justifi-payouts-list.js +2 -2
  396. package/dist/module/justifi-postal-code-form.d.ts +11 -0
  397. package/dist/module/justifi-postal-code-form.js +86 -0
  398. package/dist/module/justifi-refund-payment.js +1 -1
  399. package/dist/module/justifi-saved-payment-methods.d.ts +11 -0
  400. package/dist/module/justifi-saved-payment-methods.js +58 -0
  401. package/dist/module/justifi-season-interruption-insurance.js +9 -11
  402. package/dist/module/justifi-sezzle-payment-method.js +108 -1
  403. package/dist/module/justifi-terminal-orders-list-filters.js +3 -3
  404. package/dist/module/justifi-terminal-orders-list.js +2 -2
  405. package/dist/module/justifi-terminals-list-filters.js +2 -2
  406. package/dist/module/justifi-terminals-list.js +2 -2
  407. package/dist/module/justifi-tokenize-payment-method.js +41 -40
  408. package/dist/module/package.js +3 -3
  409. package/dist/module/parts.js +1 -1
  410. package/dist/module/payment-details-core2.js +8 -8
  411. package/dist/module/payment-method-option-utils.js +23 -0
  412. package/dist/module/payment-method-options.js +34 -51
  413. package/dist/module/payments-list-core2.js +2 -2
  414. package/dist/module/payout-details-core2.js +3 -3
  415. package/dist/module/payouts-list-core2.js +2 -2
  416. package/dist/module/product-or-service.js +1 -1
  417. package/dist/module/refund-policy.js +1 -1
  418. package/dist/module/saved-payment-method.js +2 -22
  419. package/dist/module/schema-validations.js +1 -1
  420. package/dist/module/shipping-details.js +1 -1
  421. package/dist/module/table-filters-menu2.js +2 -2
  422. package/dist/module/terminal-orders-list-core2.js +2 -2
  423. package/dist/module/terminal-quantity-selector2.js +1 -1
  424. package/dist/module/terminals-list-core2.js +2 -2
  425. package/dist/types/api/BillingInformation.d.ts +13 -0
  426. package/dist/types/api/Checkout.d.ts +14 -13
  427. package/dist/types/api/ComponentError.d.ts +3 -1
  428. package/dist/types/api/PaymentMethod.d.ts +21 -0
  429. package/dist/types/components/checkout/checkout.d.ts +1 -0
  430. package/dist/types/components/checkout/payment-method-options.d.ts +0 -1
  431. package/dist/types/components/insurance/season-interruption/season-interruption-insurance.d.ts +2 -2
  432. package/dist/types/components/modular-checkout/modular-checkout.d.ts +31 -0
  433. package/dist/types/components/modular-checkout-parts/bank-account-skeleton.d.ts +6 -0
  434. package/dist/types/components/modular-checkout-parts/bank-account.d.ts +18 -0
  435. package/dist/types/components/modular-checkout-parts/billing-form-schema.d.ts +23 -0
  436. package/dist/types/components/modular-checkout-parts/billing-form.d.ts +16 -0
  437. package/dist/types/components/modular-checkout-parts/card-form-skeleton.d.ts +6 -0
  438. package/dist/types/components/modular-checkout-parts/card-form.d.ts +20 -0
  439. package/dist/types/components/modular-checkout-parts/postal-code-form.d.ts +16 -0
  440. package/dist/types/components/modular-checkout-parts/saved-payment-methods.d.ts +5 -0
  441. package/dist/types/components/{checkout → modular-checkout-parts}/sezzle-payment-method.d.ts +2 -8
  442. package/dist/types/components/modular-checkout-parts/summary.d.ts +3 -0
  443. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +2 -2
  444. package/dist/types/components.d.ts +149 -22
  445. package/dist/types/stencil-public-runtime.d.ts +1 -1
  446. package/dist/types/store/checkout.store.d.ts +19 -0
  447. package/dist/types/ui-components/form/iframe-input.d.ts +2 -1
  448. package/dist/webcomponents/{p-d6a66b58.entry.js → p-02e39fe2.entry.js} +1 -1
  449. package/dist/webcomponents/{p-388e3afc.entry.js → p-03ed0703.entry.js} +1 -1
  450. package/dist/webcomponents/{p-3ef0b42b.entry.js → p-042c6784.entry.js} +1 -1
  451. package/dist/webcomponents/p-05ab99e7.entry.js +1 -0
  452. package/dist/webcomponents/p-05d92d45.entry.js +1 -0
  453. package/dist/webcomponents/p-0977a99a.entry.js +1 -0
  454. package/dist/webcomponents/p-0a7c3741.entry.js +1 -0
  455. package/dist/webcomponents/p-0d8ebb69.entry.js +1 -0
  456. package/dist/webcomponents/{p-0e3122fd.entry.js → p-0ed08f7b.entry.js} +1 -1
  457. package/dist/webcomponents/{p-9814a858.entry.js → p-0fc4a0df.entry.js} +1 -1
  458. package/dist/webcomponents/p-0lkrqFgg.js +1 -0
  459. package/dist/webcomponents/p-0wMiAwXe.js +1 -0
  460. package/dist/webcomponents/{p-5023d221.entry.js → p-1301a9ae.entry.js} +1 -1
  461. package/dist/webcomponents/p-15db3b15.entry.js +1 -0
  462. package/dist/webcomponents/{p-d3ff71df.entry.js → p-17727dd3.entry.js} +1 -1
  463. package/dist/webcomponents/p-1a0f21d1.entry.js +1 -0
  464. package/dist/webcomponents/p-31a9d45e.entry.js +1 -0
  465. package/dist/webcomponents/p-33bf5d85.entry.js +1 -0
  466. package/dist/webcomponents/p-4126de9e.entry.js +1 -0
  467. package/dist/webcomponents/{p-35299b25.entry.js → p-41dffb12.entry.js} +1 -1
  468. package/dist/webcomponents/{p-9154c9ae.entry.js → p-46c0aa2e.entry.js} +1 -1
  469. package/dist/webcomponents/p-4e38dfac.entry.js +1 -0
  470. package/dist/webcomponents/p-4ed62ecf.entry.js +1 -0
  471. package/dist/webcomponents/p-5f33350c.entry.js +1 -0
  472. package/dist/webcomponents/{p-217c0657.entry.js → p-60abac93.entry.js} +1 -1
  473. package/dist/webcomponents/{p-d8f92442.entry.js → p-6286917e.entry.js} +1 -1
  474. package/dist/webcomponents/p-631bbd5a.entry.js +1 -0
  475. package/dist/webcomponents/p-63e5e6f6.entry.js +1 -0
  476. package/dist/webcomponents/p-64f047ea.entry.js +1 -0
  477. package/dist/webcomponents/{p-aa539239.entry.js → p-6d5833b4.entry.js} +1 -1
  478. package/dist/webcomponents/{p-b0d1afd7.entry.js → p-6f6d7a87.entry.js} +1 -1
  479. package/dist/webcomponents/p-6ff96203.entry.js +1 -0
  480. package/dist/webcomponents/p-716dc79c.entry.js +1 -0
  481. package/dist/webcomponents/p-738ee098.entry.js +1 -0
  482. package/dist/webcomponents/{p-e3a07cb8.entry.js → p-783b70b5.entry.js} +1 -1
  483. package/dist/webcomponents/{p-6a89c4c8.entry.js → p-7a8a06d6.entry.js} +1 -1
  484. package/dist/webcomponents/{p-9c9bef60.entry.js → p-7c466cc9.entry.js} +1 -1
  485. package/dist/webcomponents/p-7c6f2fad.entry.js +1 -0
  486. package/dist/webcomponents/p-7e484d46.entry.js +1 -0
  487. package/dist/webcomponents/{p-a60abc68.entry.js → p-83037fd2.entry.js} +1 -1
  488. package/dist/webcomponents/{p-410b3f65.entry.js → p-84df9f26.entry.js} +1 -1
  489. package/dist/webcomponents/{p-ac5f5d89.entry.js → p-8ba23f7f.entry.js} +1 -1
  490. package/dist/webcomponents/{p-70b87e0c.entry.js → p-8bb3513f.entry.js} +1 -1
  491. package/dist/webcomponents/p-8fefebd7.entry.js +1 -0
  492. package/dist/webcomponents/p-93a843db.entry.js +1 -0
  493. package/dist/webcomponents/{p-BnE7qgLh.js → p-9REosSLu.js} +1 -1
  494. package/dist/webcomponents/p-9b1992ef.entry.js +1 -0
  495. package/dist/webcomponents/p-9ba825c5.entry.js +1 -0
  496. package/dist/webcomponents/{p-9633ee66.entry.js → p-9c6479a4.entry.js} +1 -1
  497. package/dist/webcomponents/{p-29402bea.entry.js → p-9fe2281c.entry.js} +1 -1
  498. package/dist/webcomponents/p-BByypogb.js +1 -0
  499. package/dist/webcomponents/p-BI7GlCtv.js +1 -0
  500. package/dist/webcomponents/p-BJatoeR1.js +1 -0
  501. package/dist/webcomponents/p-BKatPL5G.js +1 -0
  502. package/dist/webcomponents/p-BXeHgiPz.js +1 -0
  503. package/dist/webcomponents/{p-Bjf1_zhy.js → p-BaoXNxnc.js} +1 -1
  504. package/dist/webcomponents/p-BgiXKaf2.js +1 -0
  505. package/dist/webcomponents/p-BhrFjjAs.js +1 -0
  506. package/dist/webcomponents/{p-DXhY2Usd.js → p-BmgpToYI.js} +1 -1
  507. package/dist/webcomponents/p-BnvoOeKL.js +1 -0
  508. package/dist/webcomponents/p-Bond4qGX.js +1 -0
  509. package/dist/webcomponents/p-BooprPq0.js +1 -0
  510. package/dist/webcomponents/{p-BTS3E50C.js → p-BxfUcCXo.js} +1 -1
  511. package/dist/webcomponents/{p-BC1dBUlF.js → p-C39xg5_f.js} +1 -1
  512. package/dist/webcomponents/{p-JOSiCHl7.js → p-C8Zhkgm5.js} +1 -1
  513. package/dist/webcomponents/{p-SoKRLnnI.js → p-CAdO_ZNx.js} +1 -1
  514. package/dist/webcomponents/p-CCPoezRw.js +1 -0
  515. package/dist/webcomponents/{p--B09FkmB.js → p-CFpYbRwn.js} +1 -1
  516. package/dist/webcomponents/p-CKRDBISo.js +1 -0
  517. package/dist/webcomponents/p-CXLazxt0.js +1 -0
  518. package/dist/webcomponents/{p-EbNktJEa.js → p-CdkOB2ri.js} +1 -1
  519. package/dist/webcomponents/{p-DQCcSXwL.js → p-Cf4TMP3p.js} +1 -1
  520. package/dist/webcomponents/p-CfBKn_Vl.js +1 -0
  521. package/dist/webcomponents/p-Cjf9yu8r.js +1 -0
  522. package/dist/webcomponents/p-Cwt_9Jzb.js +1 -0
  523. package/dist/webcomponents/p-D5ny0x8_.js +1 -0
  524. package/dist/webcomponents/{p-DzFysjCc.js → p-D7js9xfx.js} +1 -1
  525. package/dist/webcomponents/p-D7uH6T8P.js +1 -0
  526. package/dist/webcomponents/{p-ChL8tkhB.js → p-DHvfrLVU.js} +1 -1
  527. package/dist/webcomponents/p-DKClunJd.js +1 -0
  528. package/dist/webcomponents/p-DLopwJ61.js +1 -0
  529. package/dist/webcomponents/p-DRKOMqbX.js +1 -0
  530. package/dist/webcomponents/p-DXJXAroG.js +1 -0
  531. package/dist/webcomponents/{p-CgSqi8wc.js → p-Dcbfnfn2.js} +1 -1
  532. package/dist/webcomponents/{p-vTsHmSQQ.js → p-DddGO-XR.js} +1 -1
  533. package/dist/webcomponents/{p-CJ5VkiBV.js → p-DhyQbCOq.js} +1 -1
  534. package/dist/webcomponents/{p-DMNpawhg.js → p-Dqx8L05_.js} +1 -1
  535. package/dist/webcomponents/{p-B50n1fKP.js → p-DyvT8iXz.js} +1 -1
  536. package/dist/webcomponents/{p-DyCvl10I.js → p-MNmf3fQL.js} +1 -1
  537. package/dist/webcomponents/p-N3w5zrz2.js +2 -0
  538. package/dist/webcomponents/p-NqdaxjDT.js +1 -0
  539. package/dist/webcomponents/{p-CKAgqwwJ.js → p-Rx3SLAbu.js} +1 -1
  540. package/dist/webcomponents/{p-CaGTuT2-.js → p-Smvec9tp.js} +1 -1
  541. package/dist/webcomponents/{p-8qo1QTjv.js → p-XTXkuHkQ.js} +1 -1
  542. package/dist/webcomponents/{p-BrLVc_85.js → p-_6eQgwfE.js} +1 -1
  543. package/dist/webcomponents/{p-b95a7dc5.entry.js → p-a76e0f42.entry.js} +1 -1
  544. package/dist/webcomponents/{p-214d8301.entry.js → p-acdf6a5f.entry.js} +1 -1
  545. package/dist/webcomponents/{p-da6c0277.entry.js → p-bac895b4.entry.js} +1 -1
  546. package/dist/webcomponents/p-bc05e051.entry.js +1 -0
  547. package/dist/webcomponents/{p-d049acb4.entry.js → p-c102dea5.entry.js} +1 -1
  548. package/dist/webcomponents/{p-e0e3a939.entry.js → p-c4d2ff85.entry.js} +1 -1
  549. package/dist/webcomponents/p-cb84a2e6.entry.js +1 -0
  550. package/dist/webcomponents/{p-bfb2bad3.entry.js → p-cdc71a77.entry.js} +1 -1
  551. package/dist/webcomponents/p-ce242f4c.entry.js +1 -0
  552. package/dist/webcomponents/p-d0d83153.entry.js +1 -0
  553. package/dist/webcomponents/p-d5ada96f.entry.js +1 -0
  554. package/dist/webcomponents/p-d81f30f6.entry.js +1 -0
  555. package/dist/webcomponents/p-d90e981c.entry.js +1 -0
  556. package/dist/webcomponents/{p-f3d3070a.entry.js → p-da961813.entry.js} +1 -1
  557. package/dist/webcomponents/p-dadd593a.entry.js +1 -0
  558. package/dist/webcomponents/{p-2648b61f.entry.js → p-de969ec7.entry.js} +1 -1
  559. package/dist/webcomponents/p-e3437894.entry.js +1 -0
  560. package/dist/webcomponents/p-eb6f1a3f.entry.js +1 -0
  561. package/dist/webcomponents/p-ebc0b06d.entry.js +1 -0
  562. package/dist/webcomponents/p-ecfab304.entry.js +1 -0
  563. package/dist/webcomponents/{p-ccd256f5.entry.js → p-ef520bb8.entry.js} +1 -1
  564. package/dist/webcomponents/p-efa7aef1.entry.js +1 -0
  565. package/dist/webcomponents/p-eilUGO3o.js +1 -0
  566. package/dist/webcomponents/p-fd7c5ac5.entry.js +1 -0
  567. package/dist/webcomponents/{p-ab1353b0.entry.js → p-feea4bfd.entry.js} +6 -6
  568. package/dist/webcomponents/p-hDoH7hHP.js +1 -0
  569. package/dist/webcomponents/p-jA8bbxkp.js +1 -0
  570. package/dist/webcomponents/{p-Bl3ch-Ez.js → p-o5iASgog.js} +1 -1
  571. package/dist/webcomponents/p-pGzabKc7.js +1 -0
  572. package/dist/webcomponents/p-rzqedGq4.js +1 -0
  573. package/dist/webcomponents/p-w128-0Mj.js +1 -0
  574. package/dist/webcomponents/p-zucQG3cz.js +1 -0
  575. package/dist/webcomponents/webcomponents.esm.js +1 -1
  576. package/package.json +1 -1
  577. package/dist/cjs/app-globals-V2Kpy_OQ.js +0 -5
  578. package/dist/cjs/iframe-input-styles-state-CFjq45QT.js +0 -26
  579. package/dist/cjs/terminals-list-params-state-BZPc3hJS.js +0 -22
  580. package/dist/collection/components/checkout/sezzle-payment-method.js +0 -240
  581. package/dist/esm/app-globals-DQuL1Twl.js +0 -3
  582. package/dist/esm/iframe-input-styles-state-BEips-at.js +0 -23
  583. package/dist/esm/terminals-list-params-state-BI3u1DYG.js +0 -16
  584. package/dist/module/sezzle-payment-method.js +0 -104
  585. package/dist/webcomponents/p-070a74b0.entry.js +0 -1
  586. package/dist/webcomponents/p-0bab65ad.entry.js +0 -1
  587. package/dist/webcomponents/p-0f4572d3.entry.js +0 -1
  588. package/dist/webcomponents/p-19f24867.entry.js +0 -1
  589. package/dist/webcomponents/p-2182e23d.entry.js +0 -1
  590. package/dist/webcomponents/p-30e036bd.entry.js +0 -1
  591. package/dist/webcomponents/p-342016ec.entry.js +0 -1
  592. package/dist/webcomponents/p-4d4aed9d.entry.js +0 -1
  593. package/dist/webcomponents/p-57ec45d9.entry.js +0 -1
  594. package/dist/webcomponents/p-5886b41e.entry.js +0 -1
  595. package/dist/webcomponents/p-61daf152.entry.js +0 -1
  596. package/dist/webcomponents/p-7ba945a9.entry.js +0 -1
  597. package/dist/webcomponents/p-95d4c1ec.entry.js +0 -1
  598. package/dist/webcomponents/p-9c7574a3.entry.js +0 -1
  599. package/dist/webcomponents/p-B0b_XePt.js +0 -1
  600. package/dist/webcomponents/p-B9zTkzgI.js +0 -1
  601. package/dist/webcomponents/p-BNqn5ta3.js +0 -1
  602. package/dist/webcomponents/p-BUJ--tSs.js +0 -1
  603. package/dist/webcomponents/p-BdTK0wi9.js +0 -1
  604. package/dist/webcomponents/p-BeW-xdck.js +0 -1
  605. package/dist/webcomponents/p-Bkffx_rQ.js +0 -1
  606. package/dist/webcomponents/p-BpDYt_Ep.js +0 -1
  607. package/dist/webcomponents/p-C1uPQOvi.js +0 -1
  608. package/dist/webcomponents/p-C2HQYreI.js +0 -1
  609. package/dist/webcomponents/p-C5RuuShs.js +0 -1
  610. package/dist/webcomponents/p-CeSHqD1r.js +0 -1
  611. package/dist/webcomponents/p-ClM8H2uM.js +0 -1
  612. package/dist/webcomponents/p-CoZ_5FVT.js +0 -1
  613. package/dist/webcomponents/p-CopnqpXU.js +0 -1
  614. package/dist/webcomponents/p-Cs0cIpIm.js +0 -1
  615. package/dist/webcomponents/p-D9siq_gL.js +0 -1
  616. package/dist/webcomponents/p-DCoo9Ds8.js +0 -1
  617. package/dist/webcomponents/p-DGg9nHVL.js +0 -1
  618. package/dist/webcomponents/p-DQuL1Twl.js +0 -1
  619. package/dist/webcomponents/p-DVnVdicA.js +0 -1
  620. package/dist/webcomponents/p-Ddc5F_89.js +0 -1
  621. package/dist/webcomponents/p-DeiW2BDb.js +0 -2
  622. package/dist/webcomponents/p-DniQ6yo6.js +0 -1
  623. package/dist/webcomponents/p-HiTlvG5T.js +0 -1
  624. package/dist/webcomponents/p-SdntD1xf.js +0 -1
  625. package/dist/webcomponents/p-XBoMjcoi.js +0 -1
  626. package/dist/webcomponents/p-_5PRoEe6.js +0 -1
  627. package/dist/webcomponents/p-a32ae525.entry.js +0 -1
  628. package/dist/webcomponents/p-aa949920.entry.js +0 -1
  629. package/dist/webcomponents/p-b17ed568.entry.js +0 -1
  630. package/dist/webcomponents/p-b59fc73d.entry.js +0 -1
  631. package/dist/webcomponents/p-b5c7c78d.entry.js +0 -1
  632. package/dist/webcomponents/p-b72eca25.entry.js +0 -1
  633. package/dist/webcomponents/p-b9283a1b.entry.js +0 -1
  634. package/dist/webcomponents/p-bO_FomzV.js +0 -1
  635. package/dist/webcomponents/p-bd1df685.entry.js +0 -1
  636. package/dist/webcomponents/p-c13538df.entry.js +0 -1
  637. package/dist/webcomponents/p-c535a165.entry.js +0 -1
  638. package/dist/webcomponents/p-c7a1439a.entry.js +0 -1
  639. package/dist/webcomponents/p-c80d077b.entry.js +0 -1
  640. package/dist/webcomponents/p-cfb4491e.entry.js +0 -1
  641. package/dist/webcomponents/p-d0b3a10e.entry.js +0 -1
  642. package/dist/webcomponents/p-d3f5c51e.entry.js +0 -1
  643. package/dist/webcomponents/p-d6tXI5Iw.js +0 -1
  644. package/dist/webcomponents/p-f03acabd.entry.js +0 -1
  645. package/dist/webcomponents/p-f1e54daa.entry.js +0 -1
  646. package/dist/webcomponents/p-hG0Fy7E9.js +0 -1
@@ -1,13 +1,32 @@
1
- import { p as packageJson } from './package-DCoo9Ds8.js';
2
- import { A as Api } from './Api-CZhQlPMs.js';
3
- import './ComponentError-SdntD1xf.js';
4
- import './Checkout-B9LrTq63.js';
1
+ import { p as packageJson } from './package-rzqedGq4.js';
2
+ import { A as Api } from './Api-C3T8XYbb.js';
3
+ import './ComponentError-BhrFjjAs.js';
4
+ import './Checkout-CV6qgU0r.js';
5
5
  import './Pagination-CLHwhyvu.js';
6
- import './Payment-BGiKmQYR.js';
7
- import './Refund-DDIEc_gu.js';
6
+ import './Payment-BEvE6jAC.js';
7
+ import './Refund-BKe90wSq.js';
8
8
  import './Business-BCoP0TAV.js';
9
9
  import './Dispute-7MWRbTXI.js';
10
10
 
11
+ const latestVersion = async (packageName) => {
12
+ const response = await fetch('https://registry.npmjs.org/' + packageName + '/latest');
13
+ const json = await response.json();
14
+ return json.version;
15
+ };
16
+ const checkPkgVersion = async () => {
17
+ const version = packageJson.version;
18
+ const packageName = packageJson.name;
19
+ const latest = await latestVersion(packageName);
20
+ // remove rc from version and everything that comes after -rc
21
+ const latestNotRC = latest.replace(/-rc.*/, '');
22
+ // checkif there's a major version difference
23
+ const versionParts = version.split('.');
24
+ const latestParts = latest.split('.');
25
+ if (versionParts[0] !== latestParts[0]) {
26
+ console.warn(`The package ${packageName} is out of date. The latest version is ${latestNotRC}. Please update.`);
27
+ }
28
+ };
29
+
11
30
  const api = Api();
12
31
  class AnalyticsService {
13
32
  async record(body) {
@@ -90,23 +109,4 @@ class JustifiAnalytics {
90
109
  }
91
110
  }
92
111
 
93
- const latestVersion = async (packageName) => {
94
- const response = await fetch('https://registry.npmjs.org/' + packageName + '/latest');
95
- const json = await response.json();
96
- return json.version;
97
- };
98
- const checkPkgVersion = async () => {
99
- const version = packageJson.version;
100
- const packageName = packageJson.name;
101
- const latest = await latestVersion(packageName);
102
- // remove rc from version and everything that comes after -rc
103
- const latestNotRC = latest.replace(/-rc.*/, '');
104
- // checkif there's a major version difference
105
- const versionParts = version.split('.');
106
- const latestParts = latest.split('.');
107
- if (versionParts[0] !== latestParts[0]) {
108
- console.warn(`The package ${packageName} is out of date. The latest version is ${latestNotRC}. Please update.`);
109
- }
110
- };
111
-
112
112
  export { JustifiAnalytics as J, checkPkgVersion as c };
@@ -1,5 +1,5 @@
1
- import { w as waitForConfig, c as configState } from './config-state-ecb1EsvM.js';
2
- import { g as generateId } from './utils-DB5fh6Iv.js';
1
+ import { w as waitForConfig, c as configState } from './config-state-B3mtRA6f.js';
2
+ import { g as generateId } from './utils-BjLkBMLe.js';
3
3
 
4
4
  const Api = () => {
5
5
  async function getAuthorizationHeader(authToken) {
@@ -1,4 +1,4 @@
1
- import { f as formatCurrency } from './utils-DB5fh6Iv.js';
1
+ import { f as formatCurrency } from './utils-BjLkBMLe.js';
2
2
 
3
3
  class Completion {
4
4
  constructor(data) {
@@ -51,7 +51,7 @@ class Checkout {
51
51
  return ICheckoutPaymentMode.unknown;
52
52
  }
53
53
  const sortedCompletions = this.completions.sort((a, b) => {
54
- return new Date(b.updated_at).getTime() - new Date(a.updated_at).getTime();
54
+ return (new Date(b.updated_at).getTime() - new Date(a.updated_at).getTime());
55
55
  });
56
56
  const lastCompletion = sortedCompletions[0];
57
57
  if (lastCompletion.payment_mode) {
@@ -65,11 +65,9 @@ class Checkout {
65
65
  }
66
66
  return paymentMode;
67
67
  }
68
- ;
69
68
  formattedPaymentAmount(amount) {
70
69
  return formatCurrency(amount, this.payment_currency);
71
70
  }
72
- ;
73
71
  }
74
72
  var ICheckoutPaymentMode;
75
73
  (function (ICheckoutPaymentMode) {
@@ -6,10 +6,12 @@ var ComponentErrorCodes;
6
6
  ComponentErrorCodes["POST_ERROR"] = "post-error";
7
7
  ComponentErrorCodes["UNKNOWN_ERROR"] = "unknown-error";
8
8
  ComponentErrorCodes["TOKENIZE_ERROR"] = "tokenize-error";
9
+ ComponentErrorCodes["COMPLETE_CHECKOUT_ERROR"] = "complete-checkout-error";
9
10
  ComponentErrorCodes["NOT_AUTHENTICATED"] = "not-authenticated";
10
11
  ComponentErrorCodes["INVALID_PARAMETER"] = "invalid-parameter";
11
12
  ComponentErrorCodes["PROVISIONING_REQUESTED"] = "provisioning-already-requested";
12
13
  ComponentErrorCodes["INVALID_REFUND_AMOUNT"] = "invalid-refund-amount";
14
+ ComponentErrorCodes["VALIDATION_ERROR"] = "validation-error";
13
15
  })(ComponentErrorCodes || (ComponentErrorCodes = {}));
14
16
  var ComponentErrorSeverity;
15
17
  (function (ComponentErrorSeverity) {
@@ -1,4 +1,4 @@
1
- import { f as formatCurrency } from './utils-DB5fh6Iv.js';
1
+ import { f as formatCurrency } from './utils-BjLkBMLe.js';
2
2
  import { D as DisputeStatus } from './Dispute-7MWRbTXI.js';
3
3
 
4
4
  var CaptureStrategy;
@@ -1,4 +1,4 @@
1
- import { f as formatCurrency } from './utils-DB5fh6Iv.js';
1
+ import { f as formatCurrency } from './utils-BjLkBMLe.js';
2
2
 
3
3
  var PaymentBalanceTxnType;
4
4
  (function (PaymentBalanceTxnType) {
@@ -1,7 +1,7 @@
1
- import { r as registerInstance, h, H as Host } from './index-DeiW2BDb.js';
2
- import { c as DetailItem, D as DetailSectionTitle } from './utils-CcleFgVO.js';
3
- import { l as isEmptyObject, s as snakeCaseToHumanReadable, m as formatMediumDate } from './utils-DB5fh6Iv.js';
4
- import './parts-BrLVc_85.js';
1
+ import { r as registerInstance, h, H as Host } from './index-N3w5zrz2.js';
2
+ import { c as DetailItem, D as DetailSectionTitle } from './utils-BGp_IJEa.js';
3
+ import { m as isEmptyObject, i as snakeCaseToHumanReadable, n as formatMediumDate } from './utils-BjLkBMLe.js';
4
+ import './parts-_6eQgwfE.js';
5
5
  import './_commonjsHelpers-BFTU3MAI.js';
6
6
 
7
7
  const AdditionalQuestionsDetails = class {
@@ -1,5 +1,5 @@
1
- import { h } from './index-DeiW2BDb.js';
2
- import { F as badgeDark, G as badgeLight, H as badgeInfo, I as badgeWarning, J as badgeDanger, K as badgeSuccess, L as badgeSecondary, M as badgePrimary, N as badge } from './parts-BrLVc_85.js';
1
+ import { h } from './index-N3w5zrz2.js';
2
+ import { y as badgeDark, z as badgeLight, A as badgeInfo, B as badgeWarning, C as badgeDanger, D as badgeSuccess, E as badgeSecondary, F as badgePrimary, G as badge } from './parts-_6eQgwfE.js';
3
3
 
4
4
  var BadgeVariant;
5
5
  (function (BadgeVariant) {
@@ -1,21 +1,21 @@
1
- import { r as registerInstance, h, H as Host, c as createEvent, g as getElement } from './index-DeiW2BDb.js';
2
- import './config-state-ecb1EsvM.js';
3
- import { s as snakeCaseToHumanReadable, d as formatDate, i as formatTimeSeconds } from './utils-DB5fh6Iv.js';
4
- import './ComponentError-SdntD1xf.js';
5
- import './Checkout-B9LrTq63.js';
1
+ import { r as registerInstance, h, H as Host, c as createEvent, a as getElement } from './index-N3w5zrz2.js';
2
+ import './config-state-B3mtRA6f.js';
3
+ import { i as snakeCaseToHumanReadable, d as formatDate, j as formatTimeSeconds } from './utils-BjLkBMLe.js';
4
+ import './ComponentError-BhrFjjAs.js';
5
+ import './Checkout-CV6qgU0r.js';
6
6
  import './Pagination-CLHwhyvu.js';
7
- import './Payment-BGiKmQYR.js';
8
- import { E as EntityDocumentType } from './Refund-DDIEc_gu.js';
7
+ import './Payment-BEvE6jAC.js';
8
+ import { E as EntityDocumentType } from './Refund-BKe90wSq.js';
9
9
  import './Business-BCoP0TAV.js';
10
10
  import './Dispute-7MWRbTXI.js';
11
11
  import { c as bankAccountTypeOptions } from './business-form-options-CgssATyg.js';
12
12
  import './event-types-XYgDHrVL.js';
13
13
  import { n as numberOnlyHandler } from './utils-BnjCmwMr.js';
14
- import { X as card, D as heading2, ai as table, P as tableHeadCell, aj as tableCell, c as input, l as label, b as inputInvalid, R as inputDisabled, a as inputFocused } from './parts-BrLVc_85.js';
15
- import { S as Skeleton } from './skeleton-B9rUHFom.js';
14
+ import { Z as card, x as heading2, ak as table, I as tableHeadCell, al as tableCell, c as input, l as label, b as inputInvalid, T as inputDisabled, a as inputFocused } from './parts-_6eQgwfE.js';
15
+ import { S as Skeleton } from './skeleton-C0KgFH0Z.js';
16
16
  import './event-types-CZfYo5-1.js';
17
- import { F as FormControlErrorText } from './form-control-error-text-lGsxANkt.js';
18
- import './index-Dc7aGxx-.js';
17
+ import { F as FormControlErrorText } from './form-control-error-text-C93L7yFm.js';
18
+ import './index-BAq5IUBW.js';
19
19
  import './_commonjsHelpers-BFTU3MAI.js';
20
20
  import './helpers-Mu7LQT-w.js';
21
21
  import './state-options-BX8GieXu.js';
@@ -98,10 +98,10 @@ const FileInput = class {
98
98
  return part;
99
99
  }
100
100
  render() {
101
- return (h(Host, { key: 'c34cbf8874c33d945d81a93646372ac9dc687362' }, h("div", { key: 'cacf5f210a0adb6f408ac05efe4279d9eb1ae3b8', class: "form-group d-flex flex-column" }, h("div", { key: '936cb5268fa2c63f9931895f7a0b46ed5b4776ec', class: "d-flex align-items-start gap-2" }, h("label", { key: '6dc1dd3be36337cc3c4bb72a4e4d42c6e7c2a239', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '4c4a2c965882e7e96d36b16e6448fa4efd003950', helpText: this.helpText })), h("input", { key: '469cf033fae879306ecbfdcdb9e6d74fdb4b4265', ref: (el) => this.fileInput = el, type: "file", name: this.name, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onChange: this.changeHandler, onInput: this.handleFormControlInput, onFocus: () => this.isFocused = true, onBlur: () => {
101
+ return (h(Host, { key: '329fd1cedefedb6bd17acfbb30adfefecefb19ca' }, h("div", { key: 'abdd1db599e47f367bc56008386026361ee8aa3b', class: "form-group d-flex flex-column" }, h("div", { key: '9306d438e038947b68cc3b8b2faa2ab412fab203', class: "d-flex align-items-start gap-2" }, h("label", { key: '164c4e92e01d5219013623d0edaa3c96a814ff6c', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '2d7fe58881cfa259f3d2ba8edbc6f07411ea26c6', helpText: this.helpText })), h("input", { key: '1964930b98527640df99e1e22b6322e0627bc668', ref: (el) => this.fileInput = el, type: "file", name: this.name, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onChange: this.changeHandler, onInput: this.handleFormControlInput, onFocus: () => this.isFocused = true, onBlur: () => {
102
102
  this.isFocused = false;
103
103
  this.formControlBlur.emit();
104
- } }), h(FormControlErrorText, { key: '7359b6f39ac038230ce1d2d60454a4d4e69c6bb9', errorText: this.errorText, name: this.name }))));
104
+ } }), h(FormControlErrorText, { key: '02ffabfccf4e06936e0ed44fe2ad715f7f44fe3f', errorText: this.errorText, name: this.name }))));
105
105
  }
106
106
  get el() { return getElement(this); }
107
107
  };
@@ -1,21 +1,21 @@
1
- import { h, r as registerInstance, H as Host, c as createEvent } from './index-DeiW2BDb.js';
2
- import { S as Skeleton } from './skeleton-B9rUHFom.js';
3
- import { w as waitForConfig, c as configState } from './config-state-ecb1EsvM.js';
4
- import { a as iframeInputStylesSet } from './iframe-input-styles-state-BEips-at.js';
5
- import { i as inputInvalidAndFocused, b as inputInvalid, a as inputFocused, c as input, au as billingForm, av as radioListItem } from './parts-BrLVc_85.js';
6
- import { c as create$3, F as FormController } from './index.esm-BCNUj0Dx.js';
7
- import { k as postalValidation, l as stateValidation, m as cityValidation, n as lineTwoValidation, q as lineOneValidation, y as identityNameValidation } from './schema-validations-DLWfpHyI.js';
8
- import { H as Header3 } from './header-3-DwjHOg3C.js';
1
+ import { h, r as registerInstance, H as Host, c as createEvent } from './index-N3w5zrz2.js';
2
+ import { S as Skeleton } from './skeleton-C0KgFH0Z.js';
3
+ import { w as waitForConfig, c as configState } from './config-state-B3mtRA6f.js';
4
+ import { c as create$3, F as FormController } from './form-BjGUIqxU.js';
5
+ import { p as postalValidation, s as stateValidation, c as cityValidation, l as lineTwoValidation, a as lineOneValidation, i as identityNameValidation } from './schema-validations-C7pC-de1.js';
6
+ import { d as billingForm, r as radioListItem } from './parts-_6eQgwfE.js';
7
+ import { H as Header3 } from './header-3-BXU3iN46.js';
9
8
  import './event-types-CZfYo5-1.js';
10
9
  import { n as numberOnlyHandler } from './utils-BnjCmwMr.js';
11
10
  import { S as StateOptions } from './state-options-BX8GieXu.js';
12
- import { a as PaymentMethodTypes } from './Payment-BGiKmQYR.js';
13
- import { n as snakeToCamel, f as formatCurrency } from './utils-DB5fh6Iv.js';
14
- import './index-Dc7aGxx-.js';
11
+ import { a as PaymentMethodTypes } from './Payment-BEvE6jAC.js';
12
+ import { P as PaymentMethodOption, C as CardBrandLabels } from './payment-method-option-utils-8n_ALxec.js';
13
+ import './index-BAq5IUBW.js';
15
14
  import './_commonjsHelpers-BFTU3MAI.js';
16
15
  import './business-form-options-CgssATyg.js';
17
16
  import './Business-BCoP0TAV.js';
18
17
  import './helpers-Mu7LQT-w.js';
18
+ import './utils-BjLkBMLe.js';
19
19
  import './Dispute-7MWRbTXI.js';
20
20
 
21
21
  const BankAccountFormSkeleton = (props) => {
@@ -65,10 +65,10 @@ const BankAccountForm = class {
65
65
  return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
66
66
  }
67
67
  render() {
68
- return (h(Host, { key: 'b6cdf5a9320d92a5390daaa0a5218274f2dfc178' }, h(BankAccountFormSkeleton, { key: '286fcc38a26820d166ced0bc886143ed3d880da4', isReady: this.isReady }), h("div", { key: '041fcacff70d7cdfc0c8f41258bd9db18703e4c1', class: "container-fluid p-0", style: {
68
+ return (h(Host, { key: 'cdddf967e7142731f3b5aef31bfc3d004ce97733' }, h(BankAccountFormSkeleton, { key: '5eafa58bd31bbbd5ff5ca90a036fc696f7bd05fb', isReady: this.isReady }), h("div", { key: 'c8486e0337df9a61bd1979014f3de53eef22b071', class: "container-fluid p-0", style: {
69
69
  opacity: this.isReady ? '1' : '0',
70
70
  height: this.isReady ? 'auto' : '0',
71
- } }, h("div", { key: '94dc0eb0d79b40ade96e1961611e3e7a8eef20ea', class: "row mb-3" }, h("iframe-input", { key: '41c82b772e7873a45409e35ed56dfea16c20c2ee', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber` })), h("div", { key: '1c95618a50e2d36a3a9a3a7b691ae0dfa6a09936', class: "row" }, h("iframe-input", { key: '28a4dde70c8f55b4f6bf6ce2d3beee6acbebbc0b', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber` })))));
71
+ } }, h("div", { key: '3db2146e4d770c024efab6e777dbfa4ace26f23a', class: "row mb-3" }, h("iframe-input", { key: '5f9da4873119c1a1e771c7663b98e283766a37a1', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber` })), h("div", { key: '7ed20c940afd5ffc4348e4102a4cfd351d8e2198', class: "row" }, h("iframe-input", { key: '0667de245764f1d9181682beb674c4a376447a68', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber` })))));
72
72
  }
73
73
  };
74
74
 
@@ -127,87 +127,10 @@ const CardForm = class {
127
127
  return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
128
128
  }
129
129
  render() {
130
- return (h(Host, { key: '3d28e96f020196a359a359507237b50dd9fed020' }, h(CardFormSkeleton, { key: 'ee07eb10acf142fcaab1398278e335df49f1abe9', isReady: this.isReady }), h("div", { key: 'bfce475f392cbb2bad3fd1c76f16c6e6a6718c1f', class: "container-fluid p-0", style: {
130
+ return (h(Host, { key: 'c43351c7ab1eb6bf413f162634f55007798bb076' }, h(CardFormSkeleton, { key: 'f0a29497de2270108868e892d666b552dea27a1e', isReady: this.isReady }), h("div", { key: '2734b111c1f2f2275435d2141445ac30482946be', class: "container-fluid p-0", style: {
131
131
  opacity: this.isReady ? '1' : '0',
132
132
  height: this.isReady ? 'auto' : '0',
133
- } }, h("div", { key: 'e8517852800a9a165e61308f8d1cf875a87c021e', class: "mb-3" }, h("iframe-input", { key: '6efe224b7f4a2f63eec601d3e48c454d78c30300', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: 'cb6df3c5d9788a22c26255d1fe94331544730d24', class: "row" }, h("div", { key: '895943798b131da4215b24da822f7109e045e05b', class: "col-4 align-content-end" }, h("iframe-input", { key: 'ebea71cabe9f783734f924cfd0b03797cd203ce7', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: 'a65042ba66ca4a2a6f520147d316eb20f82369ea', class: "col-4 align-content-end" }, h("iframe-input", { key: '8ef921245a3075ba36c310955bea671b71aca658', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: 'e37d637b078a36736ba698d0d96465e138fcf5ab', class: "col-4 align-content-end" }, h("iframe-input", { key: 'df20adb17524ea29f55e1c223267a9f0294b6062', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
134
- }
135
- };
136
-
137
- const HiddenInput = class {
138
- constructor(hostRef) {
139
- registerInstance(this, hostRef);
140
- this.isFocused = false;
141
- this.errorText = '';
142
- }
143
- async componentDidLoad() {
144
- const fontStyles = await this.getBaseFontStyles();
145
- iframeInputStylesSet('fontStyles', fontStyles);
146
- const focusedStyles = await this.getFocusedStyles();
147
- iframeInputStylesSet('focused', focusedStyles);
148
- const focusedAndInvalidStyles = await this.getFocusedAndInvalidStyles();
149
- iframeInputStylesSet('focusedAndInvalid', focusedAndInvalidStyles);
150
- }
151
- async getBaseFontStyles() {
152
- return new Promise((resolve, _reject) => {
153
- setTimeout(() => {
154
- const computedStyles = getComputedStyle(this.hiddenInput);
155
- const styles = {
156
- fontFamily: computedStyles.fontFamily,
157
- fontSize: computedStyles.fontSize,
158
- fontWeight: computedStyles.fontWeight,
159
- lineHeight: computedStyles.lineHeight,
160
- margin: computedStyles.margin,
161
- padding: computedStyles.padding,
162
- color: computedStyles.color,
163
- };
164
- resolve(styles);
165
- }, 500);
166
- });
167
- }
168
- ;
169
- async getFocusedStyles() {
170
- return new Promise((resolve, _reject) => {
171
- this.hiddenInput.focus();
172
- setTimeout(() => {
173
- this.hiddenInput.blur();
174
- let computedStyles = getComputedStyle(this.hiddenInput);
175
- resolve({
176
- boxShadow: computedStyles.boxShadow,
177
- border: computedStyles.border,
178
- });
179
- }, 500);
180
- });
181
- }
182
- async getFocusedAndInvalidStyles() {
183
- return new Promise((resolve, _reject) => {
184
- this.hiddenInput.focus();
185
- this.errorText = 'Error';
186
- setTimeout(() => {
187
- const computedStyles = getComputedStyle(this.hiddenInput);
188
- const styles = {
189
- boxShadow: computedStyles.boxShadow,
190
- border: computedStyles.border,
191
- };
192
- this.hiddenInput.blur();
193
- resolve(styles);
194
- }, 500);
195
- });
196
- }
197
- get part() {
198
- if (this.isFocused && this.errorText) {
199
- return inputInvalidAndFocused;
200
- }
201
- if (this.errorText) {
202
- return inputInvalid;
203
- }
204
- if (this.isFocused) {
205
- return inputFocused;
206
- }
207
- return input;
208
- }
209
- render() {
210
- return (h(Host, { key: '32b302de9983db3ced26f1780bf116e63091b9ad' }, h("input", { key: 'c8fbe6dc11c8b743d307557aab107852403441ae', ref: el => this.hiddenInput = el, type: "text", class: this.errorText ? "form-control is-invalid" : "form-control", onFocus: () => this.isFocused = true, onBlur: () => this.isFocused = false, part: this.part, tabindex: "-1", style: { height: '0', opacity: '0', pointerEvents: 'none', animation: 'none' } })));
133
+ } }, h("div", { key: '036c359caaf8fc36fa6ba56bbcad5d01de1fe9c9', class: "mb-3" }, h("iframe-input", { key: '9baf7dc76ff18f8dee6e6cd08b93e1ba155d5cf2', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: '080769719aa9b0d6abc9b18c46247eecd6428833', class: "d-flex align-items-start" }, h("div", { key: 'b3a825ed849ec0032d4a9018537f8ffab4b93ca3', class: "flex-fill me-3" }, h("iframe-input", { key: '5f60eb2d3b3e1303e1a0f6a3f0cd60270bb2d0b8', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Exp. Month", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: 'cfd000502f10593b59608e13f5de7911c546d030', class: "flex-fill me-3" }, h("iframe-input", { key: 'ab2a45264fe5890c171d03000f30720eafe354b5', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "Exp. Year", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: '637516bfd8030e56c9b1e97edfd3a635edb95f20', class: "flex-fill" }, h("iframe-input", { key: 'e407cc2470841fe12b1bdb84bbc8ecfb0165c72d', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
211
134
  }
212
135
  };
213
136
 
@@ -269,7 +192,7 @@ const BillingForm = class {
269
192
  render() {
270
193
  const billingFormDefaultValue = this.formController.getInitialValues();
271
194
  const showHeader = !this.isPostalOnlyMode && !this.hideAllBillingFields;
272
- return (h(Host, { key: 'df86239c476aadde3af18742bbf643d61825c051' }, h("div", { key: '186f3ef6c2295223da888b7645a0af7aa8df4535', part: billingForm, class: "mt-4", hidden: this.hideAllBillingFields }, showHeader && h(Header3, { key: '72284e3fcea18cbdfe879989fb7f1b007e2a37df', text: "Billing address", class: "fs-6 fw-bold lh-lg mb-4" }), h("form", { key: '9479d696a0486e63edfad4bd0dbe374a21cb7b8c' }, h("fieldset", { key: 'b780abf09a714f2e9588670ad149c3ca999cbc87' }, this.legend && h("legend", { key: 'f102dc51722fe2f050c951e7b56117c9577f3b83' }, this.legend), h("div", { key: '00d6c7e35d768f3357cc17836c916e2bf24e3a7e', class: "row gy-3" }, h("div", { key: 'cb2b29aa769c97ccab246dc74e463d389497edbd', class: "col-12", hidden: this.isPostalOnlyMode }, h("form-control-text", { key: '3cb8ca5e3ecd0817f8e16aafbb5d3ca5ee7824ed', name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '781338b1c79fd815d2ab2dbc15e7b56b534a2278', class: "col-12", hidden: this.isPostalOnlyMode }, h("form-control-text", { key: '682a37c6b417fbc0edf76b89122b5bf618603360', name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), h("div", { key: '50d657891e492c8568bf179d752b9aadf10f2387', class: "col-12", hidden: this.isPostalOnlyMode }, h("form-control-text", { key: 'ce1f04bfc3307af7a025390bcbcce6a6b3da6fab', name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), h("div", { key: 'ddb45c1cbdc6aa5d27c6a0c4b6f29366ed0e8eba', class: "col-12", hidden: this.isPostalOnlyMode }, h("form-control-text", { key: '410efdbcd5381bdf61d9c752f292f794d8e12670', name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), h("div", { key: 'a65811acc25443a07cdb1401231ce1e703096fd4', class: "col-12", hidden: this.isPostalOnlyMode }, h("form-control-select", { key: 'bed28d564c9e5a2ebfc10b6ab47e43e2b17bd6e6', name: 'address_state', label: 'State', options: StateOptions, defaultValue: billingFormDefaultValue.address_state, errorText: this.errors.address_state, inputHandler: this.inputHandler })), h("div", { key: '8aca307d318e87b17e09122fa91e817c0a59c8d5', class: "col-12", hidden: this.hideAllBillingFields }, h("form-control-text", { key: '4dd06dc9ae01fc2953780e52f9e9c918a38a7bbd', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: numberOnlyHandler }))))))));
195
+ return (h(Host, { key: 'ffffb2d8a4571222645d3c47eb1e2286b8597140' }, h("div", { key: '69b4f6c623cacbf32a30a9b9f23c3de427835c25', part: billingForm, class: "mt-4", hidden: this.hideAllBillingFields }, showHeader && h(Header3, { key: '96c0781a9b3dd7c5ef0b75ac8667664fee0bd95e', text: "Billing address", class: "fs-6 fw-bold lh-lg mb-4" }), h("form", { key: '97380a90146a9732594f1c356fab952089280f99' }, h("fieldset", { key: 'fd8bbea485c10633f1d8cca62b222a8abb0d022f' }, this.legend && h("legend", { key: '8febee534a2d055093309e8f8f06078b0b35f4e4' }, this.legend), h("div", { key: '16ac8abe899cdb964d83322fa74cb00f737ab338', class: "row gy-3" }, h("div", { key: '866f73c45b807aeeea4e6addf4de5f2d3a1a232d', class: "col-12", hidden: this.isPostalOnlyMode }, h("form-control-text", { key: '1734b2aac3eb0508f9ae2e4bf41836fc5dd71cad', name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '569c0dc60b47d3e9077af401b720d7777c903bde', class: "col-12", hidden: this.isPostalOnlyMode }, h("form-control-text", { key: '74406a7f4efde53a41141a218d246408c4807fc8', name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), h("div", { key: 'a7f3b7f137b0dd6a92cce6999ef65f13bcff4a31', class: "col-12", hidden: this.isPostalOnlyMode }, h("form-control-text", { key: '8b6d28170c44af6b7701499a8a4626749d4cd36d', name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), h("div", { key: '3a9031a0ddbea7e1020c420cdd6811ea9c86b9e4', class: "col-12", hidden: this.isPostalOnlyMode }, h("form-control-text", { key: '730b395bb97c349a63f669669830cbce6ba86f83', name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), h("div", { key: '7998420d30b1957a086303862f7200f20541ead2', class: "col-12", hidden: this.isPostalOnlyMode }, h("form-control-select", { key: 'b94b623a26891646957f25e59cb03038a989eabf', name: 'address_state', label: 'State', options: StateOptions, defaultValue: billingFormDefaultValue.address_state, errorText: this.errors.address_state, inputHandler: this.inputHandler })), h("div", { key: '7b0d6eae7eb90f4b33b3e73f920b6ea25920f809', class: "col-12", hidden: this.hideAllBillingFields }, h("form-control-text", { key: '703e429c7999f5cc143c5648bd9fbdc4f5bb6ee9', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: numberOnlyHandler }))))))));
273
196
  }
274
197
  };
275
198
 
@@ -366,26 +289,6 @@ const NewPaymentMethod = class {
366
289
  }
367
290
  };
368
291
 
369
- class PaymentMethodOption {
370
- constructor(paymentMethod) {
371
- this.id = paymentMethod.id;
372
- this.brand = paymentMethod.brand;
373
- this.acct_last_four = paymentMethod.acct_last_four;
374
- this.type = snakeToCamel(paymentMethod.type);
375
- }
376
- }
377
- var CardBrandLabels;
378
- (function (CardBrandLabels) {
379
- CardBrandLabels["american_express"] = "American Express";
380
- CardBrandLabels["diners_club"] = "Diners Club";
381
- CardBrandLabels["discover"] = "Discover";
382
- CardBrandLabels["jcb"] = "JCB";
383
- CardBrandLabels["mastercard"] = "Mastercard";
384
- CardBrandLabels["china_unionpay"] = "UnionPay";
385
- CardBrandLabels["visa"] = "Visa";
386
- CardBrandLabels["unknown"] = "Unknown";
387
- })(CardBrandLabels || (CardBrandLabels = {}));
388
-
389
292
  const PaymentMethodOptions = class {
390
293
  constructor(hostRef) {
391
294
  registerInstance(this, hostRef);
@@ -402,7 +305,7 @@ const PaymentMethodOptions = class {
402
305
  this.paymentMethodsChanged();
403
306
  }
404
307
  paymentMethodsChanged() {
405
- var _a, _b;
308
+ var _a;
406
309
  this.paymentMethodOptions = this.savedPaymentMethods
407
310
  .map((paymentMethod) => new PaymentMethodOption(paymentMethod))
408
311
  .filter((paymentMethod) => {
@@ -410,9 +313,6 @@ const PaymentMethodOptions = class {
410
313
  return ((this.showCard || paymentMethod.type !== PaymentMethodTypes.card) &&
411
314
  (this.showAch || paymentMethod.type !== PaymentMethodTypes.bankAccount));
412
315
  });
413
- if (this.showBnpl && ((_a = this.bnpl) === null || _a === void 0 ? void 0 : _a.provider) === 'sezzle' && !this.insuranceToggled) {
414
- this.paymentMethodOptions.push(new PaymentMethodOption({ id: PaymentMethodTypes.sezzle }));
415
- }
416
316
  if (this.showCard) {
417
317
  this.paymentMethodOptions.push(new PaymentMethodOption({ id: PaymentMethodTypes.card }));
418
318
  }
@@ -420,7 +320,7 @@ const PaymentMethodOptions = class {
420
320
  this.paymentMethodOptions.push(new PaymentMethodOption({ id: PaymentMethodTypes.bankAccount }));
421
321
  }
422
322
  if (!this.selectedPaymentMethodId) {
423
- this.selectedPaymentMethodId = (_b = this.paymentMethodOptions[0]) === null || _b === void 0 ? void 0 : _b.id;
323
+ this.selectedPaymentMethodId = (_a = this.paymentMethodOptions[0]) === null || _a === void 0 ? void 0 : _a.id;
424
324
  }
425
325
  }
426
326
  paymentMethodOptionSelected(event) {
@@ -436,11 +336,10 @@ const PaymentMethodOptions = class {
436
336
  }
437
337
  render() {
438
338
  var _a;
439
- return (h(Host, { key: 'c61e82c72aaa25e87ded723799a1eb0961c05444' }, (_a = this.paymentMethodOptions) === null || _a === void 0 ? void 0 : _a.map((paymentMethodOption) => {
339
+ return (h(Host, { key: '2d3dc8bc98cea3efbcf342a31b6883f30099b031' }, (_a = this.paymentMethodOptions) === null || _a === void 0 ? void 0 : _a.map((paymentMethodOption) => {
440
340
  const newCard = paymentMethodOption.id === PaymentMethodTypes.card;
441
341
  const newBankAccount = paymentMethodOption.id === PaymentMethodTypes.bankAccount;
442
342
  const isSelected = this.selectedPaymentMethodId === paymentMethodOption.id;
443
- const sezzle = paymentMethodOption.id === PaymentMethodTypes.sezzle;
444
343
  if (newCard || newBankAccount) {
445
344
  return (h("justifi-new-payment-method", { paymentMethodOption: paymentMethodOption, authToken: this.authToken, "account-id": this.accountId, "is-selected": isSelected, "show-card": this.showCard, "show-ach": this.showAch, paymentMethodGroupId: this.paymentMethodGroupId, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, ref: (el) => {
446
345
  if (isSelected) {
@@ -448,13 +347,6 @@ const PaymentMethodOptions = class {
448
347
  }
449
348
  } }));
450
349
  }
451
- else if (sezzle) {
452
- return (h("justifi-sezzle-payment-method", { paymentMethodOption: paymentMethodOption, "is-selected": isSelected, paymentAmount: this.paymentAmount, bnpl: this.bnpl, ref: (el) => {
453
- if (isSelected) {
454
- this.selectedPaymentMethodOptionRef = el;
455
- }
456
- } }));
457
- }
458
350
  else if (this.showSavedPaymentMethods) {
459
351
  return (h("justifi-saved-payment-method", { paymentMethodOption: paymentMethodOption, "is-selected": isSelected, ref: (el) => {
460
352
  if (isSelected) {
@@ -507,65 +399,4 @@ const SavedPaymentMethod = class {
507
399
  }
508
400
  };
509
401
 
510
- const sezzleLogo = (h("img", { class: "sezzle-smart-button-logo-img", src: "https://media.sezzle.com/branding/2.0/Sezzle_Logo_FullColor.svg", alt: "Sezzle", style: {
511
- display: 'inline',
512
- width: '80px',
513
- marginLeft: '5px',
514
- marginTop: '-5px',
515
- } }));
516
- const SezzlePaymentMethod = class {
517
- constructor(hostRef) {
518
- registerInstance(this, hostRef);
519
- this.paymentMethodOptionSelected = createEvent(this, "paymentMethodOptionSelected");
520
- this.onPaymentMethodOptionClick = (e) => {
521
- e.preventDefault();
522
- this.paymentMethodOptionSelected.emit(this.paymentMethodOption);
523
- };
524
- this.initializeSezzleCheckout = () => {
525
- let resolveSezzlePromise;
526
- this.sezzlePromise = new Promise((resolve) => { resolveSezzlePromise = resolve; });
527
- const bnpl = this.bnpl;
528
- const amount = +this.paymentAmount; // convert to number
529
- const Checkout = window.Checkout;
530
- const checkout = new Checkout({
531
- mode: 'popup',
532
- publicKey: bnpl.provider_client_id,
533
- apiMode: bnpl.provider_mode,
534
- apiVersion: bnpl.provider_api_version,
535
- });
536
- checkout.sezzleButtonElement = this.sezzleButtonRef;
537
- checkout.init({
538
- onClick: function (event) {
539
- event.preventDefault();
540
- checkout.startCheckout({
541
- checkout_url: bnpl.provider_checkout_url
542
- });
543
- },
544
- onComplete: (event) => resolveSezzlePromise({ bnpl: event.data }),
545
- onCancel: (event) => resolveSezzlePromise({ bnpl: event.data }),
546
- onFailure: (event) => resolveSezzlePromise({ bnpl: event.data }),
547
- });
548
- this.sezzleCheckout = checkout;
549
- this.installmentPlan = this.sezzleCheckout.getInstallmentPlan(amount);
550
- };
551
- }
552
- componentDidRender() {
553
- this.scriptRef.onload = () => {
554
- this.sezzleButtonRef = document.createElement('button');
555
- this.initializeSezzleCheckout();
556
- };
557
- }
558
- async resolvePaymentMethod(insuranceValidation) {
559
- if (!insuranceValidation.isValid) {
560
- return { validationError: true };
561
- }
562
- this.sezzleButtonRef.click();
563
- return this.sezzlePromise;
564
- }
565
- render() {
566
- var _a, _b, _c;
567
- return (h(Host, { key: '4ae50e7bbb15d0049d069edacd0d95ba7c13dbe5', class: "payment-method" }, h("script", { key: '42a0590d89626ba7a93852e421eb121626b48375', src: "https://checkout-sdk.sezzle.com/checkout.min.js", async: true, ref: (el) => (this.scriptRef = el) }), h("div", { key: '31a2a72650486c258267c6d4de3723f7afa5b063', class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick }, h("form-control-radio", { key: 'eac1adbcd82fcb4f9c440c53c40ce34af6092991', name: "paymentMethodType", value: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, checked: this.isSelected, label: h("div", null, h("div", null, "Buy now, pay later with ", sezzleLogo), this.installmentPlan && (h("small", null, h("span", null, (_b = this.installmentPlan) === null || _b === void 0 ? void 0 : _b.installments.length), "\u00A0", h("span", null, this.installmentPlan.schedule, " payments of"), "\u00A0", h("span", { class: "fw-bold" }, formatCurrency((_c = this.installmentPlan) === null || _c === void 0 ? void 0 : _c.installments[0].amountInCents))))) }))));
568
- }
569
- };
570
-
571
- export { BankAccountForm as bank_account_form, CardForm as card_form, HiddenInput as hidden_input, BillingForm as justifi_billing_form, NewPaymentMethod as justifi_new_payment_method, PaymentMethodOptions as justifi_payment_method_options, SaveNewPaymentMethod as justifi_save_new_payment_method, SavedPaymentMethod as justifi_saved_payment_method, SezzlePaymentMethod as justifi_sezzle_payment_method };
402
+ export { BankAccountForm as bank_account_form, CardForm as card_form, BillingForm as justifi_billing_form, NewPaymentMethod as justifi_new_payment_method, PaymentMethodOptions as justifi_payment_method_options, SaveNewPaymentMethod as justifi_save_new_payment_method, SavedPaymentMethod as justifi_saved_payment_method };
@@ -0,0 +1,24 @@
1
+ import { c as create$3 } from './form-BjGUIqxU.js';
2
+ import { p as postalValidation, s as stateValidation, c as cityValidation, l as lineTwoValidation, a as lineOneValidation, i as identityNameValidation } from './schema-validations-C7pC-de1.js';
3
+
4
+ const billingFormSchema = (postalOnly) => {
5
+ const fullBillingForm = create$3({
6
+ name: identityNameValidation.required('Enter full name'),
7
+ address_line1: lineOneValidation.required('Enter street address'),
8
+ address_line2: lineTwoValidation.nullable(),
9
+ address_city: cityValidation.required('Enter city'),
10
+ address_state: stateValidation.required('Select state'),
11
+ address_postal_code: postalValidation.required('Enter postal code'),
12
+ });
13
+ const postalForm = create$3({
14
+ name: identityNameValidation.nullable(),
15
+ address_line1: lineOneValidation.nullable(),
16
+ address_line2: lineTwoValidation.nullable(),
17
+ address_city: cityValidation.nullable(),
18
+ address_state: stateValidation.nullable(),
19
+ address_postal_code: postalValidation.required('Enter postal code'),
20
+ });
21
+ return postalOnly ? postalForm : fullBillingForm;
22
+ };
23
+
24
+ export { billingFormSchema as b };
@@ -1,5 +1,5 @@
1
- import { c as create$3 } from './index.esm-BCNUj0Dx.js';
2
- import { d as dateOfIncorporationValidation, t as taxIdValidation, i as industryValidation, b as businessClassificationValidation, a as doingBusinessAsValidation, p as phoneValidation, e as emailValidation, w as websiteUrlValidation, c as businessNameValidation, o as otherPaymentDetailsValidation, s as seasonalBusinessValidation, r as recurringPaymentsPercentageValidation, f as recurringPaymentsValidation, g as whenServiceReceivedValidation, h as paymentVolumeValidation, j as revenueValidation } from './schema-validations-DLWfpHyI.js';
1
+ import { c as create$3 } from './form-BjGUIqxU.js';
2
+ import { d as dateOfIncorporationValidation, t as taxIdValidation, b as industryValidation, e as businessClassificationValidation, f as doingBusinessAsValidation, g as phoneValidation, h as emailValidation, w as websiteUrlValidation, j as businessNameValidation, o as otherPaymentDetailsValidation, k as seasonalBusinessValidation, r as recurringPaymentsPercentageValidation, m as recurringPaymentsValidation, n as whenServiceReceivedValidation, q as paymentVolumeValidation, u as revenueValidation } from './schema-validations-C7pC-de1.js';
3
3
 
4
4
  const businessCoreInfoSchema = (allowOptionalFields) => {
5
5
  const schema = create$3({
@@ -1,9 +1,9 @@
1
- import { h, F as Fragment, r as registerInstance, c as createEvent } from './index-DeiW2BDb.js';
2
- import { E as ErrorState } from './utils-CcleFgVO.js';
3
- import { S as StyledHost } from './styled-host-_2J3PYDn.js';
1
+ import { h, F as Fragment, r as registerInstance, c as createEvent } from './index-N3w5zrz2.js';
2
+ import { E as ErrorState } from './utils-BGp_IJEa.js';
3
+ import { S as StyledHost } from './styled-host-DtvbNFVU.js';
4
4
  import './event-types-CZfYo5-1.js';
5
- import { S as Skeleton } from './skeleton-B9rUHFom.js';
6
- import './parts-BrLVc_85.js';
5
+ import { S as Skeleton } from './skeleton-C0KgFH0Z.js';
6
+ import './parts-_6eQgwfE.js';
7
7
 
8
8
  const BusinessDetailsLoading = () => {
9
9
  const Block = () => (h("div", { class: "mt-5" },
@@ -1,5 +1,5 @@
1
- import { c as create$3, a as create$6 } from './index.esm-BCNUj0Dx.js';
2
- import { k as postalValidation, l as stateValidation, m as cityValidation, n as lineTwoValidation, q as lineOneValidation, u as ssnValidation, v as dobValidation, p as phoneValidation, e as emailValidation, x as identityTitleValidation, y as identityNameValidation } from './schema-validations-DLWfpHyI.js';
1
+ import { c as create$3, a as create$6 } from './form-BjGUIqxU.js';
2
+ import { p as postalValidation, s as stateValidation, c as cityValidation, l as lineTwoValidation, a as lineOneValidation, v as ssnValidation, x as dobValidation, g as phoneValidation, h as emailValidation, y as identityTitleValidation, i as identityNameValidation } from './schema-validations-C7pC-de1.js';
3
3
 
4
4
  const addressSchema = (allowOptionalFields) => {
5
5
  const schema = create$3({
@@ -1,9 +1,9 @@
1
- import { A as Api } from './Api-CZhQlPMs.js';
2
- import './ComponentError-SdntD1xf.js';
3
- import './Checkout-B9LrTq63.js';
1
+ import { A as Api } from './Api-C3T8XYbb.js';
2
+ import './ComponentError-BhrFjjAs.js';
3
+ import './Checkout-CV6qgU0r.js';
4
4
  import './Pagination-CLHwhyvu.js';
5
- import './Payment-BGiKmQYR.js';
6
- import './Refund-DDIEc_gu.js';
5
+ import './Payment-BEvE6jAC.js';
6
+ import './Refund-BKe90wSq.js';
7
7
  import './Business-BCoP0TAV.js';
8
8
  import './Dispute-7MWRbTXI.js';
9
9
 
@@ -1,5 +1,5 @@
1
- import { h } from './index-DeiW2BDb.js';
2
- import { ac as buttonSecondary, ad as buttonPrimary, ae as buttonLoading } from './parts-BrLVc_85.js';
1
+ import { h } from './index-N3w5zrz2.js';
2
+ import { ae as buttonSecondary, af as buttonPrimary, ag as buttonLoading } from './parts-_6eQgwfE.js';
3
3
 
4
4
  const ButtonSpinner = () => (h("div", { class: "spinner-border spinner-border-sm", role: "status", part: "button-spinner" },
5
5
  h("span", { class: "visually-hidden" }, "Loading...")));