@justifi/webcomponents 5.7.4-rc-01 → 5.7.5

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 (581) hide show
  1. package/dist/cjs/{Checkout-BsYZoJ0a.js → Checkout-TZnRz3-3.js} +3 -1
  2. package/dist/cjs/{ComponentError-CEv9ltwy.js → ComponentError-C4MdBBMe.js} +0 -2
  3. package/dist/cjs/{Refund-BFE-2OxN.js → Refund-DN-yzFgy.js} +17 -8
  4. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +5 -5
  5. package/dist/cjs/{bank-account-form_7.cjs.entry.js → bank-account-form_9.cjs.entry.js} +190 -19
  6. package/dist/cjs/{business-additional-questions-schema-C1Ot5vrv.js → business-additional-questions-schema-e3GCIHk5.js} +6 -6
  7. package/dist/cjs/{business-identity-schema-hk4UVEna.js → business-identity-schema-Diqj_WVQ.js} +10 -10
  8. package/dist/cjs/{business.service-BjlK8M6t.js → business.service-U2eLTrq9.js} +3 -3
  9. package/dist/cjs/{Analytics-CLEDjTfr.js → check-pkg-version-DuL7lRe2.js} +23 -23
  10. package/dist/cjs/{checkout.service-Bln6jCAj.js → checkout.service-DtMzeEwi.js} +3 -3
  11. package/dist/cjs/checkouts-list-core.cjs.entry.js +4 -4
  12. package/dist/cjs/custom-popper_4.cjs.entry.js +6 -6
  13. package/dist/cjs/{dispute.service-Bo84yh33.js → dispute.service-CGVAs-5M.js} +3 -3
  14. package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
  15. package/dist/cjs/form-control-date.cjs.entry.js +2 -2
  16. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
  17. package/dist/cjs/form-control-monetary.cjs.entry.js +2 -2
  18. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +2 -2
  19. package/dist/cjs/form-control-number.cjs.entry.js +2 -2
  20. package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
  21. package/dist/cjs/{get-business-BiEc-jdH.js → get-business-BJrtsomz.js} +2 -2
  22. package/dist/cjs/{get-payment-details-OrAuseBX.js → get-payment-details-CdVEiscr.js} +4 -4
  23. package/dist/cjs/{get-payout-csv-CdNRRH0t.js → get-payout-csv-CXEQkjDm.js} +2 -2
  24. package/dist/cjs/{get-subaccounts-CoC0XYqj.js → get-subaccounts-fBIoOr7m.js} +4 -4
  25. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
  26. package/dist/cjs/iframe-input-styles-state-DX5gGQQF.js +26 -0
  27. package/dist/cjs/{hidden-input_2.cjs.entry.js → iframe-input.cjs.entry.js} +14 -111
  28. package/dist/cjs/{form-CWW8IM-X.js → index.esm-CVuJLXJZ.js} +10022 -10022
  29. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +21 -20
  30. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +12 -12
  31. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +46 -49
  32. package/dist/cjs/justifi-business-details.cjs.entry.js +10 -10
  33. package/dist/cjs/justifi-business-form.cjs.entry.js +16 -16
  34. package/dist/cjs/justifi-checkout-core.cjs.entry.js +2 -2
  35. package/dist/cjs/justifi-checkout.cjs.entry.js +67 -23
  36. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +4 -4
  37. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +11 -11
  38. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
  39. package/dist/cjs/justifi-dispute-management.cjs.entry.js +10 -10
  40. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +12 -12
  41. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +8 -8
  42. package/dist/cjs/justifi-order-terminals.cjs.entry.js +12 -12
  43. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +10 -10
  44. package/dist/cjs/justifi-payment-details.cjs.entry.js +10 -10
  45. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +1 -1
  46. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +10 -10
  47. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +10 -10
  48. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
  49. package/dist/cjs/justifi-payments-list.cjs.entry.js +10 -10
  50. package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -10
  51. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +10 -10
  52. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
  53. package/dist/cjs/justifi-payouts-list.cjs.entry.js +12 -12
  54. package/dist/cjs/justifi-refund-payment.cjs.entry.js +17 -17
  55. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +18 -16
  56. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +5 -5
  57. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +10 -10
  58. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +4 -4
  59. package/dist/cjs/justifi-terminals-list.cjs.entry.js +11 -11
  60. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +8 -15
  61. package/dist/cjs/loader.cjs.js +1 -1
  62. package/dist/cjs/{package-D89BDRKu.js → package-o4g7MDiy.js} +1 -1
  63. package/dist/cjs/payment-details-core.cjs.entry.js +8 -8
  64. package/dist/cjs/{payment-provisioning-actions-SNMCdsyF.js → payment-provisioning-actions-BkWSDJQQ.js} +2 -2
  65. package/dist/cjs/{payment.service-C0t9DRcu.js → payment.service-DmpOOPu1.js} +3 -3
  66. package/dist/cjs/payments-list-core.cjs.entry.js +4 -4
  67. package/dist/cjs/payout-details-core.cjs.entry.js +3 -3
  68. package/dist/cjs/{payout.service-DGeLS8BN.js → payout.service-BfO6L79f.js} +3 -3
  69. package/dist/cjs/payouts-list-core.cjs.entry.js +4 -4
  70. package/dist/cjs/{schema-validations-CllkToCZ.js → schema-validations-BSeMee-o.js} +31 -31
  71. package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
  72. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +5 -5
  73. package/dist/cjs/{terminal-orders-table-Dw6uHG1R.js → terminal-orders-table-DMjFmuxk.js} +3 -3
  74. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
  75. package/dist/cjs/{terminal.service-Ck6PIO3G.js → terminal.service-h-LWztbo.js} +3 -3
  76. package/dist/cjs/terminals-list-core.cjs.entry.js +4 -4
  77. package/dist/cjs/{utils-IGCnjtqc.js → utils-l0veqT9y.js} +1 -1
  78. package/dist/cjs/webcomponents.cjs.js +1 -1
  79. package/dist/collection/api/Checkout.js +3 -1
  80. package/dist/collection/api/ComponentError.js +0 -2
  81. package/dist/collection/api/DisputeEvidenceDocument.js +4 -7
  82. package/dist/collection/api/Document.js +17 -8
  83. package/dist/collection/collection-manifest.json +1 -8
  84. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +2 -1
  85. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
  86. package/dist/collection/components/checkout/billing-form/billing-form.js +1 -1
  87. package/dist/collection/components/checkout/card-form/card-form.js +2 -2
  88. package/dist/collection/components/checkout/checkout.js +2 -11
  89. package/dist/collection/components/checkout/payment-method-options.js +33 -3
  90. package/dist/collection/components/checkout/sezzle-payment-method.js +240 -0
  91. package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
  92. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
  93. package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
  94. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  95. package/dist/collection/components/dispute-management/dispute-management.js +1 -1
  96. package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
  97. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  98. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  99. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  100. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  101. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  102. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  103. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  104. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  105. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  106. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  107. package/dist/collection/components/filters/table-filters-menu.js +1 -1
  108. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  109. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +12 -10
  110. package/dist/collection/components/order-terminals/order-terminals.js +1 -1
  111. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  112. package/dist/collection/components/payment-details/payment-details-core.js +8 -8
  113. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
  114. package/dist/collection/components/payments-list/payments-list-core.js +1 -1
  115. package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
  116. package/dist/collection/components/payments-list/payments-list.js +1 -1
  117. package/dist/collection/components/payout-details/payout-details-core.js +3 -3
  118. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +1 -1
  119. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  120. package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
  121. package/dist/collection/components/payouts-list/payouts-list.js +1 -1
  122. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
  123. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
  124. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
  125. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  126. package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
  127. package/dist/collection/components/terminals-list/terminals-list.js +1 -1
  128. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +3 -10
  129. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  130. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  131. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  132. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  133. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  134. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  135. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  136. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  137. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  138. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  139. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  140. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  141. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  142. package/dist/collection/ui-components/form/iframe-input.js +5 -10
  143. package/dist/docs.json +255 -786
  144. package/dist/esm/{Api-C3T8XYbb.js → Api-69eVlLFc.js} +1 -1
  145. package/dist/esm/{Checkout-CV6qgU0r.js → Checkout-B9LrTq63.js} +4 -2
  146. package/dist/esm/{ComponentError-BhrFjjAs.js → ComponentError-SdntD1xf.js} +0 -2
  147. package/dist/esm/{Payment-BEvE6jAC.js → Payment-BGiKmQYR.js} +1 -1
  148. package/dist/esm/{Refund-BKe90wSq.js → Refund-f_BCgcDa.js} +18 -9
  149. package/dist/esm/additional-questions-details_5.entry.js +3 -3
  150. package/dist/esm/{badge-DHaTxWwu.js → badge-VWumlkvS.js} +1 -1
  151. package/dist/esm/bank-account-document-form-inputs_4.entry.js +10 -10
  152. package/dist/esm/{bank-account-form_7.entry.js → bank-account-form_9.entry.js} +186 -17
  153. package/dist/esm/{business-additional-questions-schema-D00MNMDJ.js → business-additional-questions-schema-uQlQ8fXQ.js} +2 -2
  154. package/dist/esm/business-details-core.entry.js +3 -3
  155. package/dist/esm/{business-identity-schema-pxSsAdgG.js → business-identity-schema-BsrgqgDl.js} +2 -2
  156. package/dist/esm/{business.service-BMABw2vX.js → business.service-BviUFOjP.js} +5 -5
  157. package/dist/esm/{button-5hc5r__m.js → button-BfT7Ex96.js} +1 -1
  158. package/dist/esm/{Analytics-B3nThWuq.js → check-pkg-version-phOwcSQM.js} +25 -25
  159. package/dist/esm/{checkout.service-jmweME4d.js → checkout.service-B8W_W-lc.js} +5 -5
  160. package/dist/esm/checkouts-list-core.entry.js +11 -11
  161. package/dist/esm/{checkouts-table-BS_UiHaT.js → checkouts-table-zIrBvmQp.js} +3 -3
  162. package/dist/esm/custom-popper_4.entry.js +8 -8
  163. package/dist/esm/{dispute.service-DWQ8DPZa.js → dispute.service-1e9677RK.js} +5 -5
  164. package/dist/esm/form-alert_5.entry.js +1 -1
  165. package/dist/esm/form-control-checkbox.entry.js +5 -5
  166. package/dist/esm/form-control-date.entry.js +4 -4
  167. package/dist/esm/{form-control-error-text-C93L7yFm.js → form-control-error-text-CYWqNNkG.js} +1 -1
  168. package/dist/esm/form-control-file-v2_2.entry.js +5 -5
  169. package/dist/esm/{form-control-help-text-p28euWGX.js → form-control-help-text-DMdU5_la.js} +1 -1
  170. package/dist/esm/form-control-monetary-provisioning.entry.js +3 -3
  171. package/dist/esm/form-control-monetary.entry.js +6 -6
  172. package/dist/esm/form-control-number-masked_2.entry.js +4 -4
  173. package/dist/esm/form-control-number.entry.js +5 -5
  174. package/dist/esm/form-control-radio.entry.js +3 -3
  175. package/dist/esm/{get-business-BSRtbTh7.js → get-business-GEPTefIj.js} +2 -2
  176. package/dist/esm/{get-payment-details-PSdVeuGc.js → get-payment-details-B5-Hzdrg.js} +6 -6
  177. package/dist/esm/{get-payout-csv-U_pgdPpb.js → get-payout-csv-D7IYYqVL.js} +2 -2
  178. package/dist/esm/{get-subaccounts-CownROrO.js → get-subaccounts-Cv7zn0lA.js} +7 -7
  179. package/dist/esm/gross-payment-chart-core.entry.js +5 -5
  180. package/dist/esm/{header-1-CUc5m0Ge.js → header-1-84nZCcj4.js} +1 -1
  181. package/dist/esm/{header-3-BXU3iN46.js → header-3-DpBr7qOY.js} +1 -1
  182. package/dist/esm/iframe-input-styles-state-DqkcQMM1.js +23 -0
  183. package/dist/esm/{hidden-input_2.entry.js → iframe-input.entry.js} +10 -106
  184. package/dist/esm/{form-BjGUIqxU.js → index.esm-BCNUj0Dx.js} +10022 -10022
  185. package/dist/esm/{insurance-state-Br0fBMFI.js → insurance-state-BDLlv3CM.js} +1 -1
  186. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +14 -13
  187. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +12 -12
  188. package/dist/esm/justifi-additional-statement_8.entry.js +14 -17
  189. package/dist/esm/justifi-business-details.entry.js +13 -13
  190. package/dist/esm/justifi-business-form.entry.js +19 -19
  191. package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
  192. package/dist/esm/justifi-checkout-core.entry.js +8 -8
  193. package/dist/esm/justifi-checkout.entry.js +66 -22
  194. package/dist/esm/justifi-checkouts-list-filters.entry.js +7 -7
  195. package/dist/esm/justifi-checkouts-list.entry.js +15 -15
  196. package/dist/esm/justifi-details.entry.js +2 -2
  197. package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
  198. package/dist/esm/justifi-dispute-management.entry.js +11 -11
  199. package/dist/esm/justifi-dispute-notification_3.entry.js +16 -16
  200. package/dist/esm/justifi-gross-payment-chart.entry.js +11 -11
  201. package/dist/esm/justifi-order-terminals.entry.js +15 -15
  202. package/dist/esm/justifi-owner-form_3.entry.js +14 -14
  203. package/dist/esm/justifi-payment-details.entry.js +13 -13
  204. package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -3
  205. package/dist/esm/justifi-payment-provisioning.entry.js +11 -11
  206. package/dist/esm/justifi-payment-transactions-list.entry.js +14 -14
  207. package/dist/esm/justifi-payments-list-filters.entry.js +4 -4
  208. package/dist/esm/justifi-payments-list.entry.js +15 -15
  209. package/dist/esm/justifi-payout-details.entry.js +13 -13
  210. package/dist/esm/justifi-payout-transactions-list.entry.js +14 -14
  211. package/dist/esm/justifi-payouts-list-filters.entry.js +4 -4
  212. package/dist/esm/justifi-payouts-list.entry.js +17 -17
  213. package/dist/esm/justifi-refund-payment.entry.js +15 -15
  214. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +4 -4
  215. package/dist/esm/justifi-season-interruption-insurance.entry.js +19 -17
  216. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +8 -8
  217. package/dist/esm/justifi-terminal-orders-list.entry.js +13 -13
  218. package/dist/esm/justifi-terminals-list-filters.entry.js +7 -7
  219. package/dist/esm/justifi-terminals-list.entry.js +15 -15
  220. package/dist/esm/justifi-tokenize-payment-method.entry.js +11 -18
  221. package/dist/esm/loader.js +1 -1
  222. package/dist/esm/{package-rzqedGq4.js → package-B0XIc_FO.js} +1 -1
  223. package/dist/esm/pagination-menu.entry.js +1 -1
  224. package/dist/esm/{parts-_6eQgwfE.js → parts-BrLVc_85.js} +1 -1
  225. package/dist/esm/payment-details-core.entry.js +14 -14
  226. package/dist/esm/{payment-provisioning-actions-2qP7AtHj.js → payment-provisioning-actions-BIfyW239.js} +2 -2
  227. package/dist/esm/{payment.service-u8UGq6gX.js → payment.service-BMbF1Svr.js} +5 -5
  228. package/dist/esm/payments-list-core.entry.js +12 -12
  229. package/dist/esm/{payments-status-BMqVM0kB.js → payments-status-_qXPu883.js} +1 -1
  230. package/dist/esm/{payments-table-BMIALfY5.js → payments-table-CrCdh5OV.js} +3 -3
  231. package/dist/esm/payout-details-core.entry.js +10 -10
  232. package/dist/esm/{payout.service-CXW3oJqI.js → payout.service-HKpmn5XB.js} +5 -5
  233. package/dist/esm/payouts-list-core.entry.js +12 -12
  234. package/dist/esm/{payouts-status-BGGBJaXG.js → payouts-status-C1XLgtWW.js} +1 -1
  235. package/dist/esm/{payouts-table-BNPc0Z6X.js → payouts-table-DIqsk6Oa.js} +3 -3
  236. package/dist/esm/{schema-validations-C7pC-de1.js → schema-validations-DLWfpHyI.js} +2 -2
  237. package/dist/esm/{skeleton-C0KgFH0Z.js → skeleton-CdD_FIeP.js} +1 -1
  238. package/dist/esm/{spinner-Dtab-HTx.js → spinner-DIlSUUzM.js} +1 -1
  239. package/dist/esm/{table-wp341KhD.js → table-DjsimZwr.js} +2 -2
  240. package/dist/esm/table-filters-menu.entry.js +3 -3
  241. package/dist/esm/terminal-orders-list-core.entry.js +11 -11
  242. package/dist/esm/{terminal-orders-table-CzEC1eXm.js → terminal-orders-table-BnXCVH7W.js} +7 -7
  243. package/dist/esm/terminal-quantity-selector.entry.js +2 -2
  244. package/dist/esm/{terminal.service-Cw0RbYs3.js → terminal.service-XpfOXoFl.js} +5 -5
  245. package/dist/esm/terminals-list-core.entry.js +11 -11
  246. package/dist/esm/{terminals-table-CcKZ_9re.js → terminals-table-CCLlefFA.js} +3 -3
  247. package/dist/esm/{utils-BGp_IJEa.js → utils-6CI1OiOE.js} +1 -1
  248. package/dist/esm/{utils-BjLkBMLe.js → utils-DB5fh6Iv.js} +1 -1
  249. package/dist/esm/{utils-BZvep88z.js → utils-Dccsn9BY.js} +1 -1
  250. package/dist/esm/webcomponents.js +1 -1
  251. package/dist/module/Checkout.js +3 -3
  252. package/dist/module/Refund.js +17 -8
  253. package/dist/module/additional-statement.js +1 -1
  254. package/dist/module/bank-account-form2.js +2 -2
  255. package/dist/module/billing-form.js +3 -3
  256. package/dist/module/business-address-schema.js +1 -1
  257. package/dist/module/business-bank-account-form-step-core.js +3 -2
  258. package/dist/module/business-core-info-schema.js +1 -1
  259. package/dist/module/business-identity-schema.js +1 -1
  260. package/dist/module/button.js +1 -1
  261. package/dist/module/cancellation-policy.js +1 -1
  262. package/dist/module/card-form2.js +2 -2
  263. package/dist/module/{Analytics.js → check-pkg-version.js} +21 -21
  264. package/dist/module/checkout-core.js +38 -32
  265. package/dist/module/checkouts-list-core2.js +2 -2
  266. package/dist/module/custom-popper2.js +2 -2
  267. package/dist/module/customer-details.js +1 -1
  268. package/dist/module/dispute-management-core.js +1 -1
  269. package/dist/module/dispute-notification.js +1 -1
  270. package/dist/module/dispute-response-core.js +1 -1
  271. package/dist/module/dispute-response.js +2 -2
  272. package/dist/module/duplicate-charge.js +1 -1
  273. package/dist/module/electronic-evidence.js +1 -1
  274. package/dist/module/file-input-handler.js +4 -7
  275. package/dist/module/form-control-checkbox2.js +2 -2
  276. package/dist/module/form-control-date2.js +2 -2
  277. package/dist/module/form-control-file-v22.js +1 -1
  278. package/dist/module/form-control-file2.js +2 -2
  279. package/dist/module/form-control-monetary2.js +2 -2
  280. package/dist/module/form-control-number-masked2.js +2 -2
  281. package/dist/module/form-control-number.js +2 -2
  282. package/dist/module/form-control-radio2.js +2 -2
  283. package/dist/module/form-control-select2.js +2 -2
  284. package/dist/module/form-control-text2.js +2 -2
  285. package/dist/module/form-control-textarea2.js +2 -2
  286. package/dist/module/gross-payment-chart-core2.js +1 -1
  287. package/dist/module/hidden-input2.js +1 -1
  288. package/dist/module/iframe-input2.js +5 -5
  289. package/dist/module/justifi-business-details.js +1 -1
  290. package/dist/module/justifi-business-form.js +1 -1
  291. package/dist/module/justifi-checkout.js +99 -48
  292. package/dist/module/justifi-checkouts-list-filters.js +2 -2
  293. package/dist/module/justifi-checkouts-list.js +2 -2
  294. package/dist/module/justifi-dispute-management.js +2 -2
  295. package/dist/module/justifi-gross-payment-chart.js +1 -1
  296. package/dist/module/justifi-order-terminals.js +3 -3
  297. package/dist/module/justifi-payment-details.js +1 -1
  298. package/dist/module/justifi-payment-provisioning.js +1 -1
  299. package/dist/module/justifi-payment-transactions-list.js +3 -3
  300. package/dist/module/justifi-payments-list-filters.js +3 -3
  301. package/dist/module/justifi-payments-list.js +2 -2
  302. package/dist/module/justifi-payout-details.js +1 -1
  303. package/dist/module/justifi-payout-transactions-list.js +3 -3
  304. package/dist/module/justifi-payouts-list-filters.js +3 -3
  305. package/dist/module/justifi-payouts-list.js +2 -2
  306. package/dist/module/justifi-refund-payment.js +1 -1
  307. package/dist/module/justifi-season-interruption-insurance.js +11 -9
  308. package/dist/module/justifi-sezzle-payment-method.js +1 -108
  309. package/dist/module/justifi-terminal-orders-list-filters.js +3 -3
  310. package/dist/module/justifi-terminal-orders-list.js +2 -2
  311. package/dist/module/justifi-terminals-list-filters.js +2 -2
  312. package/dist/module/justifi-terminals-list.js +2 -2
  313. package/dist/module/justifi-tokenize-payment-method.js +40 -41
  314. package/dist/module/package.js +3 -3
  315. package/dist/module/parts.js +1 -1
  316. package/dist/module/payment-details-core2.js +8 -8
  317. package/dist/module/payment-method-options.js +51 -34
  318. package/dist/module/payments-list-core2.js +2 -2
  319. package/dist/module/payout-details-core2.js +3 -3
  320. package/dist/module/payouts-list-core2.js +2 -2
  321. package/dist/module/product-or-service.js +1 -1
  322. package/dist/module/refund-policy.js +1 -1
  323. package/dist/module/saved-payment-method.js +22 -2
  324. package/dist/module/schema-validations.js +1 -1
  325. package/dist/module/sezzle-payment-method.js +104 -0
  326. package/dist/module/shipping-details.js +1 -1
  327. package/dist/module/table-filters-menu2.js +2 -2
  328. package/dist/module/terminal-orders-list-core2.js +2 -2
  329. package/dist/module/terminal-quantity-selector2.js +1 -1
  330. package/dist/module/terminals-list-core2.js +2 -2
  331. package/dist/types/api/Checkout.d.ts +13 -14
  332. package/dist/types/api/ComponentError.d.ts +1 -3
  333. package/dist/types/api/DisputeEvidenceDocument.d.ts +1 -1
  334. package/dist/types/api/Document.d.ts +2 -2
  335. package/dist/types/components/checkout/checkout.d.ts +0 -1
  336. package/dist/types/components/checkout/payment-method-options.d.ts +1 -0
  337. package/dist/types/components/{modular-checkout-parts → checkout}/sezzle-payment-method.d.ts +8 -2
  338. package/dist/types/components/insurance/season-interruption/season-interruption-insurance.d.ts +2 -2
  339. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +2 -2
  340. package/dist/types/components.d.ts +22 -149
  341. package/dist/types/ui-components/form/iframe-input.d.ts +1 -2
  342. package/dist/webcomponents/{p-a76e0f42.entry.js → p-0da7c7e5.entry.js} +1 -1
  343. package/dist/webcomponents/p-111535c9.entry.js +1 -0
  344. package/dist/webcomponents/{p-41dffb12.entry.js → p-18ddc883.entry.js} +1 -1
  345. package/dist/webcomponents/p-1ANZF89K.js +1 -0
  346. package/dist/webcomponents/p-1CYqfEKd.js +1 -0
  347. package/dist/webcomponents/{p-8bb3513f.entry.js → p-249d9a7f.entry.js} +1 -1
  348. package/dist/webcomponents/p-2b5a7776.entry.js +1 -0
  349. package/dist/webcomponents/{p-0fc4a0df.entry.js → p-30415c7f.entry.js} +1 -1
  350. package/dist/webcomponents/{p-7c6f2fad.entry.js → p-312b81a6.entry.js} +1 -1
  351. package/dist/webcomponents/{p-0ed08f7b.entry.js → p-36c99fce.entry.js} +1 -1
  352. package/dist/webcomponents/{p-9c6479a4.entry.js → p-39d3df56.entry.js} +1 -1
  353. package/dist/webcomponents/{p-bac895b4.entry.js → p-3bf842ea.entry.js} +1 -1
  354. package/dist/webcomponents/p-3dc2d47c.entry.js +1 -0
  355. package/dist/webcomponents/p-40bbb25c.entry.js +1 -0
  356. package/dist/webcomponents/{p-1a0f21d1.entry.js → p-40fb2439.entry.js} +1 -1
  357. package/dist/webcomponents/{p-acdf6a5f.entry.js → p-412805ce.entry.js} +1 -1
  358. package/dist/webcomponents/{p-783b70b5.entry.js → p-43c3a433.entry.js} +1 -1
  359. package/dist/webcomponents/{p-feea4bfd.entry.js → p-4ac8d9d4.entry.js} +4 -4
  360. package/dist/webcomponents/{p-1301a9ae.entry.js → p-5436c41f.entry.js} +1 -1
  361. package/dist/webcomponents/p-5576322e.entry.js +1 -0
  362. package/dist/webcomponents/p-59db70c0.entry.js +1 -0
  363. package/dist/webcomponents/p-600da1ee.entry.js +1 -0
  364. package/dist/webcomponents/{p-ef520bb8.entry.js → p-6daf7df0.entry.js} +1 -1
  365. package/dist/webcomponents/{p-9fe2281c.entry.js → p-7d324f45.entry.js} +1 -1
  366. package/dist/webcomponents/p-867a4a55.entry.js +1 -0
  367. package/dist/webcomponents/{p-6d5833b4.entry.js → p-878f26f7.entry.js} +1 -1
  368. package/dist/webcomponents/p-8c0162b3.entry.js +1 -0
  369. package/dist/webcomponents/p-8e201c63.entry.js +1 -0
  370. package/dist/webcomponents/p-91b5da99.entry.js +1 -0
  371. package/dist/webcomponents/{p-17727dd3.entry.js → p-95d99ffc.entry.js} +1 -1
  372. package/dist/webcomponents/p-989f51bc.entry.js +1 -0
  373. package/dist/webcomponents/{p-83037fd2.entry.js → p-9f9002c1.entry.js} +1 -1
  374. package/dist/webcomponents/p-B0XIc_FO.js +1 -0
  375. package/dist/webcomponents/{p-Dqx8L05_.js → p-B3AHoKpE.js} +1 -1
  376. package/dist/webcomponents/{p-CAdO_ZNx.js → p-BLWOT0S7.js} +1 -1
  377. package/dist/webcomponents/{p-Cf4TMP3p.js → p-BOQVwCyQ.js} +1 -1
  378. package/dist/webcomponents/{p-BaoXNxnc.js → p-BSl0X3r8.js} +1 -1
  379. package/dist/webcomponents/{p-BxfUcCXo.js → p-BTS3E50C.js} +1 -1
  380. package/dist/webcomponents/p-BdTK0wi9.js +1 -0
  381. package/dist/webcomponents/{p-BmgpToYI.js → p-Bgdp97Tl.js} +1 -1
  382. package/dist/webcomponents/{p-DhyQbCOq.js → p-BkDN6yJN.js} +1 -1
  383. package/dist/webcomponents/{p-9REosSLu.js → p-BnE7qgLh.js} +1 -1
  384. package/dist/webcomponents/{p-Rx3SLAbu.js → p-Bnrk5pzA.js} +1 -1
  385. package/dist/webcomponents/p-BqoTJ9CO.js +1 -0
  386. package/dist/webcomponents/{p-_6eQgwfE.js → p-BrLVc_85.js} +1 -1
  387. package/dist/webcomponents/p-C5RuuShs.js +1 -0
  388. package/dist/webcomponents/p-C9oyC18r.js +1 -0
  389. package/dist/webcomponents/{p-C39xg5_f.js → p-CNSeavdR.js} +1 -1
  390. package/dist/webcomponents/p-CSO7ljYx.js +1 -0
  391. package/dist/webcomponents/{p-XTXkuHkQ.js → p-CYTPbCLN.js} +1 -1
  392. package/dist/webcomponents/p-CgEahdBL.js +1 -0
  393. package/dist/webcomponents/p-Ckf8pUs-.js +1 -0
  394. package/dist/webcomponents/{p-MNmf3fQL.js → p-Clv1feia.js} +1 -1
  395. package/dist/webcomponents/p-Cm9gh1Sz.js +1 -0
  396. package/dist/webcomponents/p-CraCsD1A.js +1 -0
  397. package/dist/webcomponents/p-Cs0cIpIm.js +1 -0
  398. package/dist/webcomponents/{p-CdkOB2ri.js → p-Cw3BMq7G.js} +1 -1
  399. package/dist/webcomponents/{p-DHvfrLVU.js → p-D9lioyBA.js} +1 -1
  400. package/dist/webcomponents/p-DVnVdicA.js +1 -0
  401. package/dist/webcomponents/p-DgIkDBGX.js +1 -0
  402. package/dist/webcomponents/p-DniQ6yo6.js +1 -0
  403. package/dist/webcomponents/p-DpbCEDZ3.js +1 -0
  404. package/dist/webcomponents/p-Ds11n2AD.js +1 -0
  405. package/dist/webcomponents/p-DvuraFxP.js +1 -0
  406. package/dist/webcomponents/{p-D7js9xfx.js → p-DzFysjCc.js} +1 -1
  407. package/dist/webcomponents/{p-C8Zhkgm5.js → p-JOSiCHl7.js} +1 -1
  408. package/dist/webcomponents/{p-CFpYbRwn.js → p-KoNvNGKV.js} +1 -1
  409. package/dist/webcomponents/p-SdntD1xf.js +1 -0
  410. package/dist/webcomponents/p-Zuu7wsNB.js +1 -0
  411. package/dist/webcomponents/p-a151a347.entry.js +1 -0
  412. package/dist/webcomponents/{p-02e39fe2.entry.js → p-a23dfac9.entry.js} +1 -1
  413. package/dist/webcomponents/{p-cdc71a77.entry.js → p-a38b3d9a.entry.js} +1 -1
  414. package/dist/webcomponents/p-a48f8ec2.entry.js +1 -0
  415. package/dist/webcomponents/{p-042c6784.entry.js → p-a7e9a1d1.entry.js} +1 -1
  416. package/dist/webcomponents/{p-9b1992ef.entry.js → p-a87c50de.entry.js} +1 -1
  417. package/dist/webcomponents/{p-de969ec7.entry.js → p-aa72125e.entry.js} +1 -1
  418. package/dist/webcomponents/p-b648fca4.entry.js +1 -0
  419. package/dist/webcomponents/p-b92737c4.entry.js +1 -0
  420. package/dist/webcomponents/p-bbf264c6.entry.js +1 -0
  421. package/dist/webcomponents/{p-60abac93.entry.js → p-bdbd0c8e.entry.js} +1 -1
  422. package/dist/webcomponents/p-be89720e.entry.js +1 -0
  423. package/dist/webcomponents/{p-03ed0703.entry.js → p-c18a5ebf.entry.js} +1 -1
  424. package/dist/webcomponents/p-c87WhXVB.js +1 -0
  425. package/dist/webcomponents/p-d3a2fa7e.entry.js +1 -0
  426. package/dist/webcomponents/p-d6tXI5Iw.js +1 -0
  427. package/dist/webcomponents/{p-6286917e.entry.js → p-d768d814.entry.js} +1 -1
  428. package/dist/webcomponents/p-d7883a41.entry.js +1 -0
  429. package/dist/webcomponents/{p-4ed62ecf.entry.js → p-d9a9279b.entry.js} +1 -1
  430. package/dist/webcomponents/p-d9ae1fea.entry.js +1 -0
  431. package/dist/webcomponents/p-da872abc.entry.js +1 -0
  432. package/dist/webcomponents/p-db86c150.entry.js +1 -0
  433. package/dist/webcomponents/{p-d5ada96f.entry.js → p-dbcc1a8e.entry.js} +1 -1
  434. package/dist/webcomponents/p-e0345315.entry.js +1 -0
  435. package/dist/webcomponents/{p-6f6d7a87.entry.js → p-e21ba107.entry.js} +1 -1
  436. package/dist/webcomponents/p-e2867ef6.entry.js +1 -0
  437. package/dist/webcomponents/{p-46c0aa2e.entry.js → p-e4fa3f41.entry.js} +1 -1
  438. package/dist/webcomponents/{p-c4d2ff85.entry.js → p-edfcb58d.entry.js} +1 -1
  439. package/dist/webcomponents/p-f37bb6d6.entry.js +1 -0
  440. package/dist/webcomponents/p-f5eeb11d.entry.js +1 -0
  441. package/dist/webcomponents/p-f6d5f392.entry.js +1 -0
  442. package/dist/webcomponents/p-f6debdb8.entry.js +1 -0
  443. package/dist/webcomponents/{p-6ff96203.entry.js → p-fcb85a8e.entry.js} +1 -1
  444. package/dist/webcomponents/p-hBHbB3i6.js +1 -0
  445. package/dist/webcomponents/{p-Smvec9tp.js → p-pOQo1ck9.js} +1 -1
  446. package/dist/webcomponents/{p-DddGO-XR.js → p-vTsHmSQQ.js} +1 -1
  447. package/dist/webcomponents/webcomponents.esm.js +1 -1
  448. package/package.json +1 -1
  449. package/dist/cjs/billing-form-schema-X1bkxteI.js +0 -26
  450. package/dist/cjs/checkout-actions-CRbQgLn0.js +0 -61
  451. package/dist/cjs/checkout.store-LEOetpmH.js +0 -29
  452. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +0 -85
  453. package/dist/cjs/justifi-billing-information-form.cjs.entry.js +0 -50
  454. package/dist/cjs/justifi-card-form.cjs.entry.js +0 -93
  455. package/dist/cjs/justifi-checkout-summary.cjs.entry.js +0 -21
  456. package/dist/cjs/justifi-modular-checkout.cjs.entry.js +0 -204
  457. package/dist/cjs/justifi-postal-code-form.cjs.entry.js +0 -49
  458. package/dist/cjs/justifi-saved-payment-methods.cjs.entry.js +0 -31
  459. package/dist/cjs/justifi-sezzle-payment-method.cjs.entry.js +0 -80
  460. package/dist/cjs/payment-method-option-utils-imuSE7KV.js +0 -25
  461. package/dist/collection/api/BillingInformation.js +0 -1
  462. package/dist/collection/api/PaymentMethod.js +0 -1
  463. package/dist/collection/components/modular-checkout/modular-checkout.js +0 -345
  464. package/dist/collection/components/modular-checkout-parts/bank-account-skeleton.js +0 -10
  465. package/dist/collection/components/modular-checkout-parts/bank-account.js +0 -98
  466. package/dist/collection/components/modular-checkout-parts/billing-form-schema.js +0 -21
  467. package/dist/collection/components/modular-checkout-parts/billing-form.js +0 -116
  468. package/dist/collection/components/modular-checkout-parts/card-form-skeleton.js +0 -10
  469. package/dist/collection/components/modular-checkout-parts/card-form.js +0 -102
  470. package/dist/collection/components/modular-checkout-parts/postal-code-form.js +0 -114
  471. package/dist/collection/components/modular-checkout-parts/saved-payment-methods.js +0 -23
  472. package/dist/collection/components/modular-checkout-parts/sezzle-payment-method.js +0 -127
  473. package/dist/collection/components/modular-checkout-parts/summary.js +0 -12
  474. package/dist/collection/store/checkout.store.js +0 -25
  475. package/dist/esm/billing-form-schema-BQf2Ydp0.js +0 -24
  476. package/dist/esm/checkout-actions-UQ6g1s7I.js +0 -58
  477. package/dist/esm/checkout.store-Ffl2B_i4.js +0 -27
  478. package/dist/esm/justifi-bank-account-form.entry.js +0 -83
  479. package/dist/esm/justifi-billing-information-form.entry.js +0 -48
  480. package/dist/esm/justifi-card-form.entry.js +0 -91
  481. package/dist/esm/justifi-checkout-summary.entry.js +0 -19
  482. package/dist/esm/justifi-modular-checkout.entry.js +0 -202
  483. package/dist/esm/justifi-postal-code-form.entry.js +0 -47
  484. package/dist/esm/justifi-saved-payment-methods.entry.js +0 -29
  485. package/dist/esm/justifi-sezzle-payment-method.entry.js +0 -78
  486. package/dist/esm/payment-method-option-utils-8n_ALxec.js +0 -23
  487. package/dist/module/billing-form-schema.js +0 -24
  488. package/dist/module/checkout-actions.js +0 -58
  489. package/dist/module/checkout.store.js +0 -27
  490. package/dist/module/justifi-bank-account-form.d.ts +0 -11
  491. package/dist/module/justifi-bank-account-form.js +0 -105
  492. package/dist/module/justifi-billing-information-form.d.ts +0 -11
  493. package/dist/module/justifi-billing-information-form.js +0 -94
  494. package/dist/module/justifi-card-form.d.ts +0 -11
  495. package/dist/module/justifi-card-form.js +0 -113
  496. package/dist/module/justifi-checkout-summary.d.ts +0 -11
  497. package/dist/module/justifi-checkout-summary.js +0 -37
  498. package/dist/module/justifi-modular-checkout.d.ts +0 -11
  499. package/dist/module/justifi-modular-checkout.js +0 -218
  500. package/dist/module/justifi-postal-code-form.d.ts +0 -11
  501. package/dist/module/justifi-postal-code-form.js +0 -86
  502. package/dist/module/justifi-saved-payment-methods.d.ts +0 -11
  503. package/dist/module/justifi-saved-payment-methods.js +0 -58
  504. package/dist/module/payment-method-option-utils.js +0 -23
  505. package/dist/types/api/BillingInformation.d.ts +0 -13
  506. package/dist/types/api/PaymentMethod.d.ts +0 -21
  507. package/dist/types/components/modular-checkout/modular-checkout.d.ts +0 -31
  508. package/dist/types/components/modular-checkout-parts/bank-account-skeleton.d.ts +0 -6
  509. package/dist/types/components/modular-checkout-parts/bank-account.d.ts +0 -18
  510. package/dist/types/components/modular-checkout-parts/billing-form-schema.d.ts +0 -23
  511. package/dist/types/components/modular-checkout-parts/billing-form.d.ts +0 -16
  512. package/dist/types/components/modular-checkout-parts/card-form-skeleton.d.ts +0 -6
  513. package/dist/types/components/modular-checkout-parts/card-form.d.ts +0 -20
  514. package/dist/types/components/modular-checkout-parts/postal-code-form.d.ts +0 -16
  515. package/dist/types/components/modular-checkout-parts/saved-payment-methods.d.ts +0 -5
  516. package/dist/types/components/modular-checkout-parts/summary.d.ts +0 -3
  517. package/dist/types/store/checkout.store.d.ts +0 -19
  518. package/dist/webcomponents/p-05ab99e7.entry.js +0 -1
  519. package/dist/webcomponents/p-05d92d45.entry.js +0 -1
  520. package/dist/webcomponents/p-0977a99a.entry.js +0 -1
  521. package/dist/webcomponents/p-0a7c3741.entry.js +0 -1
  522. package/dist/webcomponents/p-0d8ebb69.entry.js +0 -1
  523. package/dist/webcomponents/p-0lkrqFgg.js +0 -1
  524. package/dist/webcomponents/p-0wMiAwXe.js +0 -1
  525. package/dist/webcomponents/p-15db3b15.entry.js +0 -1
  526. package/dist/webcomponents/p-31a9d45e.entry.js +0 -1
  527. package/dist/webcomponents/p-33bf5d85.entry.js +0 -1
  528. package/dist/webcomponents/p-4126de9e.entry.js +0 -1
  529. package/dist/webcomponents/p-4e38dfac.entry.js +0 -1
  530. package/dist/webcomponents/p-5f33350c.entry.js +0 -1
  531. package/dist/webcomponents/p-631bbd5a.entry.js +0 -1
  532. package/dist/webcomponents/p-63e5e6f6.entry.js +0 -1
  533. package/dist/webcomponents/p-64f047ea.entry.js +0 -1
  534. package/dist/webcomponents/p-716dc79c.entry.js +0 -1
  535. package/dist/webcomponents/p-738ee098.entry.js +0 -1
  536. package/dist/webcomponents/p-7c466cc9.entry.js +0 -1
  537. package/dist/webcomponents/p-7e484d46.entry.js +0 -1
  538. package/dist/webcomponents/p-8ba23f7f.entry.js +0 -1
  539. package/dist/webcomponents/p-8fefebd7.entry.js +0 -1
  540. package/dist/webcomponents/p-93a843db.entry.js +0 -1
  541. package/dist/webcomponents/p-9ba825c5.entry.js +0 -1
  542. package/dist/webcomponents/p-BByypogb.js +0 -1
  543. package/dist/webcomponents/p-BI7GlCtv.js +0 -1
  544. package/dist/webcomponents/p-BJatoeR1.js +0 -1
  545. package/dist/webcomponents/p-BKatPL5G.js +0 -1
  546. package/dist/webcomponents/p-BXeHgiPz.js +0 -1
  547. package/dist/webcomponents/p-BgiXKaf2.js +0 -1
  548. package/dist/webcomponents/p-BhrFjjAs.js +0 -1
  549. package/dist/webcomponents/p-BnvoOeKL.js +0 -1
  550. package/dist/webcomponents/p-Bond4qGX.js +0 -1
  551. package/dist/webcomponents/p-BooprPq0.js +0 -1
  552. package/dist/webcomponents/p-CCPoezRw.js +0 -1
  553. package/dist/webcomponents/p-D5ny0x8_.js +0 -1
  554. package/dist/webcomponents/p-D7uH6T8P.js +0 -1
  555. package/dist/webcomponents/p-DKClunJd.js +0 -1
  556. package/dist/webcomponents/p-DLopwJ61.js +0 -1
  557. package/dist/webcomponents/p-DRKOMqbX.js +0 -1
  558. package/dist/webcomponents/p-DXJXAroG.js +0 -1
  559. package/dist/webcomponents/p-DyvT8iXz.js +0 -1
  560. package/dist/webcomponents/p-NqdaxjDT.js +0 -1
  561. package/dist/webcomponents/p-bc05e051.entry.js +0 -1
  562. package/dist/webcomponents/p-c102dea5.entry.js +0 -1
  563. package/dist/webcomponents/p-cb84a2e6.entry.js +0 -1
  564. package/dist/webcomponents/p-ce242f4c.entry.js +0 -1
  565. package/dist/webcomponents/p-d0d83153.entry.js +0 -1
  566. package/dist/webcomponents/p-d81f30f6.entry.js +0 -1
  567. package/dist/webcomponents/p-d90e981c.entry.js +0 -1
  568. package/dist/webcomponents/p-da961813.entry.js +0 -1
  569. package/dist/webcomponents/p-dadd593a.entry.js +0 -1
  570. package/dist/webcomponents/p-e3437894.entry.js +0 -1
  571. package/dist/webcomponents/p-eb6f1a3f.entry.js +0 -1
  572. package/dist/webcomponents/p-ebc0b06d.entry.js +0 -1
  573. package/dist/webcomponents/p-ecfab304.entry.js +0 -1
  574. package/dist/webcomponents/p-efa7aef1.entry.js +0 -1
  575. package/dist/webcomponents/p-eilUGO3o.js +0 -1
  576. package/dist/webcomponents/p-fd7c5ac5.entry.js +0 -1
  577. package/dist/webcomponents/p-hDoH7hHP.js +0 -1
  578. package/dist/webcomponents/p-jA8bbxkp.js +0 -1
  579. package/dist/webcomponents/p-pGzabKc7.js +0 -1
  580. package/dist/webcomponents/p-rzqedGq4.js +0 -1
  581. package/dist/webcomponents/p-zucQG3cz.js +0 -1
@@ -1,102 +0,0 @@
1
- import { h } from "@stencil/core";
2
- import CardFormSkeleton from "./card-form-skeleton";
3
- import { StyledHost } from "../../ui-components";
4
- import JustifiAnalytics from "../../api/Analytics";
5
- import { checkPkgVersion } from "../../utils/check-pkg-version";
6
- import { configState, waitForConfig } from "../config-provider/config-state";
7
- export class JustifiCardForm {
8
- constructor() {
9
- this.isReady = false;
10
- }
11
- async componentWillLoad() {
12
- await waitForConfig();
13
- this.iframeOrigin = configState.iframeOrigin;
14
- checkPkgVersion();
15
- this.analytics = new JustifiAnalytics(this);
16
- }
17
- componentDidRender() {
18
- const elements = [
19
- this.cardNumberIframeElement,
20
- this.expirationMonthIframeElement,
21
- this.expirationYearIframeElement,
22
- this.cvvIframeElement,
23
- ];
24
- Promise.all(elements.map((element) => {
25
- return new Promise((resolve) => {
26
- element.addEventListener('iframeLoaded', () => { resolve(); });
27
- });
28
- })).then(() => {
29
- this.isReady = true;
30
- });
31
- }
32
- disconnectedCallback() {
33
- var _a;
34
- (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
35
- }
36
- async validate() {
37
- const cardNumberIsValid = await this.cardNumberIframeElement.validate();
38
- const expirationMonthIsValid = await this.expirationMonthIframeElement.validate();
39
- const expirationYearIsValid = await this.expirationYearIframeElement.validate();
40
- const cvvIsValid = await this.cvvIframeElement.validate();
41
- return cardNumberIsValid && expirationMonthIsValid && expirationYearIsValid && cvvIsValid;
42
- }
43
- async tokenize({ clientId, paymentMethodMetadata, account, }) {
44
- return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
45
- }
46
- render() {
47
- return (h(StyledHost, { key: '1b42c4a2b0adbd4d98bffc0cc0355ba7b1e10474' }, h(CardFormSkeleton, { key: 'ae04801424ca38c3831b951bcb6835ffcc1ccd94', isReady: this.isReady }), h("hidden-input", { key: '55396096f088bc5cde3b003ddaa9afda6848dfda' }), h("div", { key: '18f68ac5871fcb7ba8ce270bb552871709f468dd', class: "container-fluid p-0", style: {
48
- opacity: this.isReady ? '1' : '0',
49
- height: this.isReady ? 'auto' : '0',
50
- } }, h("div", { key: '3c9711c64c5d60a121545394c22c382be93882ed', class: "mb-3" }, h("iframe-input", { key: '45401d0f9f8abd4197bd6651c28f531562431989', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: '60bae8a0fb35d86ec46d59f400e86af4a97d4c6a', class: "row" }, h("div", { key: '44883bb16cd5bb65fefb8e6b627b52625c2776d3', class: "col-4 align-content-end" }, h("iframe-input", { key: 'a9df6d2a23e7f586f08623a9e14c19264252c8e7', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: '5436effb8f457cb4dae945e3d7ca29c9441df724', class: "col-4 align-content-end" }, h("iframe-input", { key: '550096ddd5488e3cd11b0ab6985636eedc8f0dda', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: 'a6a207066d6ef70c7c3545d9412eb6be0d252062', class: "col-4 align-content-end" }, h("iframe-input", { key: '74a1bec5108a25f6e6f953abf25bc756293dea99', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
51
- }
52
- static get is() { return "justifi-card-form"; }
53
- static get encapsulation() { return "shadow"; }
54
- static get states() {
55
- return {
56
- "isReady": {},
57
- "iframeOrigin": {}
58
- };
59
- }
60
- static get methods() {
61
- return {
62
- "validate": {
63
- "complexType": {
64
- "signature": "() => Promise<any>",
65
- "parameters": [],
66
- "references": {
67
- "Promise": {
68
- "location": "global",
69
- "id": "global::Promise"
70
- }
71
- },
72
- "return": "Promise<any>"
73
- },
74
- "docs": {
75
- "text": "",
76
- "tags": []
77
- }
78
- },
79
- "tokenize": {
80
- "complexType": {
81
- "signature": "({ clientId, paymentMethodMetadata, account, }: { clientId: string; paymentMethodMetadata: any; account?: string; }) => Promise<any>",
82
- "parameters": [{
83
- "name": "__0",
84
- "type": "{ clientId: string; paymentMethodMetadata: any; account?: string; }",
85
- "docs": ""
86
- }],
87
- "references": {
88
- "Promise": {
89
- "location": "global",
90
- "id": "global::Promise"
91
- }
92
- },
93
- "return": "Promise<any>"
94
- },
95
- "docs": {
96
- "text": "",
97
- "tags": []
98
- }
99
- }
100
- };
101
- }
102
- }
@@ -1,114 +0,0 @@
1
- import { h } from "@stencil/core";
2
- import { StyledHost } from "../../ui-components";
3
- import { numberOnlyHandler } from "../../ui-components/form/utils";
4
- import { FormController } from "../../ui-components/form/form";
5
- import { billingFormSchema } from "./billing-form-schema";
6
- export class PostalCodeForm {
7
- constructor() {
8
- this.errors = {};
9
- this.inputHandler = (name, value) => {
10
- this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { [name]: value }));
11
- };
12
- }
13
- componentWillLoad() {
14
- this.formController = new FormController(billingFormSchema(true));
15
- }
16
- componentDidLoad() {
17
- this.formController.values.subscribe(values => this.billingInfo = Object.assign({}, values));
18
- this.formController.errors.subscribe(errors => {
19
- this.errors = Object.assign({}, errors);
20
- });
21
- }
22
- async getValues() {
23
- return this.formController.values.getValue();
24
- }
25
- async fill(fields) {
26
- this.formController.setInitialValues(fields);
27
- }
28
- async validate() {
29
- let isValid = await this.formController.validate();
30
- return { isValid: isValid };
31
- }
32
- render() {
33
- const billingFormDefaultValue = this.formController.getInitialValues();
34
- return (h(StyledHost, { key: 'e5cdb9b21be1e5f4ee6fd21a2d919b2d9271b163' }, h("form", { key: '29c0a3edaad9877d50ecc9e4424ca2f5e667dc30' }, h("form-control-text", { key: '00e8688c8a8e9b91df5089e2fb97c8b71673a3fd', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: numberOnlyHandler }))));
35
- }
36
- static get is() { return "justifi-postal-code-form"; }
37
- static get encapsulation() { return "shadow"; }
38
- static get states() {
39
- return {
40
- "formController": {},
41
- "billingInfo": {},
42
- "errors": {}
43
- };
44
- }
45
- static get methods() {
46
- return {
47
- "getValues": {
48
- "complexType": {
49
- "signature": "() => Promise<BillingFormFields>",
50
- "parameters": [],
51
- "references": {
52
- "Promise": {
53
- "location": "global",
54
- "id": "global::Promise"
55
- },
56
- "BillingFormFields": {
57
- "location": "import",
58
- "path": "./billing-form-schema",
59
- "id": "src/components/modular-checkout-parts/billing-form-schema.ts::BillingFormFields"
60
- }
61
- },
62
- "return": "Promise<BillingFormFields>"
63
- },
64
- "docs": {
65
- "text": "",
66
- "tags": []
67
- }
68
- },
69
- "fill": {
70
- "complexType": {
71
- "signature": "(fields: BillingFormFields) => Promise<void>",
72
- "parameters": [{
73
- "name": "fields",
74
- "type": "BillingFormFields",
75
- "docs": ""
76
- }],
77
- "references": {
78
- "Promise": {
79
- "location": "global",
80
- "id": "global::Promise"
81
- },
82
- "BillingFormFields": {
83
- "location": "import",
84
- "path": "./billing-form-schema",
85
- "id": "src/components/modular-checkout-parts/billing-form-schema.ts::BillingFormFields"
86
- }
87
- },
88
- "return": "Promise<void>"
89
- },
90
- "docs": {
91
- "text": "",
92
- "tags": []
93
- }
94
- },
95
- "validate": {
96
- "complexType": {
97
- "signature": "() => Promise<{ isValid: boolean; }>",
98
- "parameters": [],
99
- "references": {
100
- "Promise": {
101
- "location": "global",
102
- "id": "global::Promise"
103
- }
104
- },
105
- "return": "Promise<{ isValid: boolean; }>"
106
- },
107
- "docs": {
108
- "text": "",
109
- "tags": []
110
- }
111
- }
112
- };
113
- }
114
- }
@@ -1,23 +0,0 @@
1
- import { h } from "@stencil/core";
2
- import { StyledHost } from "../../ui-components";
3
- import checkoutStore from "../../store/checkout.store";
4
- import { radioListItem } from "../../styles/parts";
5
- import { CardBrandLabels } from "../checkout/payment-method-option-utils";
6
- export class SavedPaymentMethods {
7
- constructor() {
8
- this.onPaymentMethodOptionClick = (paymentMethodId) => (e) => {
9
- e.preventDefault();
10
- checkoutStore.selectedPaymentMethod = paymentMethodId;
11
- };
12
- }
13
- componentWillLoad() {
14
- if (!checkoutStore.paymentMethods.length) {
15
- console.warn('No saved payment methods available.');
16
- }
17
- }
18
- render() {
19
- return (h(StyledHost, { key: '7bebb3f8ff2a2abe400e1d099154a1729913140c' }, h("div", { key: '3a5798c5ceba63160dceecb0dc65f8a211bb5110', class: "saved-payment-methods" }, checkoutStore.paymentMethods.length ? checkoutStore.paymentMethods.map((paymentMethod) => (h("div", { class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick(paymentMethod === null || paymentMethod === void 0 ? void 0 : paymentMethod.id) }, h("form-control-radio", { name: "paymentMethodType", value: paymentMethod === null || paymentMethod === void 0 ? void 0 : paymentMethod.id, checked: checkoutStore.selectedPaymentMethod === (paymentMethod === null || paymentMethod === void 0 ? void 0 : paymentMethod.id), label: `${CardBrandLabels[paymentMethod === null || paymentMethod === void 0 ? void 0 : paymentMethod.brand] || ''} *${paymentMethod === null || paymentMethod === void 0 ? void 0 : paymentMethod.acct_last_four}` })))) : null)));
20
- }
21
- static get is() { return "justifi-saved-payment-methods"; }
22
- static get encapsulation() { return "shadow"; }
23
- }
@@ -1,127 +0,0 @@
1
- import { h } from "@stencil/core";
2
- import { formatCurrency } from "../../utils/utils";
3
- import { radioListItem } from "../../styles/parts";
4
- import checkoutStore from "../../store/checkout.store";
5
- import { StyledHost } from "../../ui-components";
6
- 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: {
7
- display: 'inline',
8
- width: '80px',
9
- marginLeft: '5px',
10
- marginTop: '-5px',
11
- } }));
12
- export class SezzlePaymentMethod {
13
- constructor() {
14
- this.paymentMethodOptionId = 'sezzle';
15
- this.onPaymentMethodOptionClick = (e) => {
16
- e.preventDefault();
17
- checkoutStore.selectedPaymentMethod = this.paymentMethodOptionId;
18
- this.paymentMethodOptionSelected.emit(this.paymentMethodOptionId);
19
- };
20
- this.initializeSezzleCheckout = () => {
21
- let resolveSezzlePromise;
22
- this.sezzlePromise = new Promise((resolve) => { resolveSezzlePromise = resolve; });
23
- const amount = Number(checkoutStore.paymentAmount);
24
- const Checkout = window.Checkout;
25
- const checkout = new Checkout({
26
- mode: 'popup',
27
- publicKey: checkoutStore.bnplProviderClientId,
28
- apiMode: checkoutStore.bnplProviderMode,
29
- apiVersion: checkoutStore.bnplProviderApiVersion,
30
- });
31
- checkout.sezzleButtonElement = this.sezzleButtonRef;
32
- checkout.init({
33
- onClick: function (event) {
34
- event.preventDefault();
35
- checkout.startCheckout({
36
- checkout_url: checkoutStore.bnplProviderCheckoutUrl,
37
- });
38
- },
39
- onComplete: (event) => resolveSezzlePromise({ bnpl: event.data }),
40
- onCancel: (event) => resolveSezzlePromise({ bnpl: event.data }),
41
- onFailure: (event) => resolveSezzlePromise({ bnpl: event.data }),
42
- });
43
- this.sezzleCheckout = checkout;
44
- this.installmentPlan = this.sezzleCheckout.getInstallmentPlan(amount);
45
- };
46
- }
47
- componentDidRender() {
48
- if (!this.scriptRef)
49
- return;
50
- this.scriptRef.onload = () => {
51
- this.sezzleButtonRef = document.createElement('button');
52
- this.initializeSezzleCheckout();
53
- };
54
- }
55
- async resolvePaymentMethod(insuranceValidation) {
56
- if (!insuranceValidation.isValid) {
57
- return { validationError: true };
58
- }
59
- this.sezzleButtonRef.click();
60
- return this.sezzlePromise;
61
- }
62
- render() {
63
- var _a, _b;
64
- if (!checkoutStore.bnplEnabled) {
65
- console.warn('justifi-sezzle-payment-method: BNPL is not enabled for this account.');
66
- return null;
67
- }
68
- return (h(StyledHost, { class: "payment-method" }, h("script", { src: "https://checkout-sdk.sezzle.com/checkout.min.js", async: true, ref: (el) => (this.scriptRef = el) }), h("div", { class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick }, h("form-control-radio", { name: "paymentMethodType", value: this.paymentMethodOptionId, checked: checkoutStore.selectedPaymentMethod === this.paymentMethodOptionId, label: h("div", null, h("div", null, "Buy now, pay later with ", sezzleLogo), this.installmentPlan && (h("small", null, h("span", null, (_a = this.installmentPlan) === null || _a === void 0 ? void 0 : _a.installments.length), "\u00A0", h("span", null, this.installmentPlan.schedule, " payments of"), "\u00A0", h("span", { class: "fw-bold" }, formatCurrency((_b = this.installmentPlan) === null || _b === void 0 ? void 0 : _b.installments[0].amountInCents))))) }))));
69
- }
70
- static get is() { return "justifi-sezzle-payment-method"; }
71
- static get encapsulation() { return "shadow"; }
72
- static get states() {
73
- return {
74
- "installmentPlan": {},
75
- "sezzleCheckout": {},
76
- "sezzlePromise": {}
77
- };
78
- }
79
- static get events() {
80
- return [{
81
- "method": "paymentMethodOptionSelected",
82
- "name": "paymentMethodOptionSelected",
83
- "bubbles": true,
84
- "cancelable": true,
85
- "composed": true,
86
- "docs": {
87
- "tags": [],
88
- "text": ""
89
- },
90
- "complexType": {
91
- "original": "any",
92
- "resolved": "any",
93
- "references": {}
94
- }
95
- }];
96
- }
97
- static get methods() {
98
- return {
99
- "resolvePaymentMethod": {
100
- "complexType": {
101
- "signature": "(insuranceValidation: any) => Promise<PaymentMethodPayload>",
102
- "parameters": [{
103
- "name": "insuranceValidation",
104
- "type": "any",
105
- "docs": ""
106
- }],
107
- "references": {
108
- "Promise": {
109
- "location": "global",
110
- "id": "global::Promise"
111
- },
112
- "PaymentMethodPayload": {
113
- "location": "import",
114
- "path": "../checkout/payment-method-payload",
115
- "id": "src/components/checkout/payment-method-payload.ts::PaymentMethodPayload"
116
- }
117
- },
118
- "return": "Promise<PaymentMethodPayload>"
119
- },
120
- "docs": {
121
- "text": "",
122
- "tags": []
123
- }
124
- }
125
- };
126
- }
127
- }
@@ -1,12 +0,0 @@
1
- import { h } from "@stencil/core";
2
- import { text } from "../../styles/parts";
3
- import { formatCurrency } from "../../utils/utils";
4
- import checkoutStore from "../../store/checkout.store";
5
- import { StyledHost } from "../../ui-components";
6
- export class Summary {
7
- render() {
8
- return (h(StyledHost, { key: '9a2eea1693287ad73dfedd3ddc24e949e9d75148' }, h("section", { key: '1943be6cef0c4a1c830ddfc14d893c3906482534' }, h("div", { key: 'cf3f41d3dd3c9829d93d7e56e3d2dfabbd99ccef' }, h("div", { key: 'b5bc944a5310252dc0720e3e7d709f1a57f898c8', part: text }, checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.paymentDescription), h("div", { key: 'dbe53880d7c3ff8d4513a570e1b024f1e2f43028' }, h("span", { key: 'd8986a9265463d8f9d7f62598cc4ec3203081c09', part: text }, "Total"), "\u00A0", h("span", { key: '32cbc6e259fdee2c71ad72fcf59ab157704c4758', part: text }, formatCurrency(+(checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.totalAmount))))))));
9
- }
10
- static get is() { return "justifi-checkout-summary"; }
11
- static get encapsulation() { return "shadow"; }
12
- }
@@ -1,25 +0,0 @@
1
- import { createStore } from "@stencil/store";
2
- const initialState = {
3
- authToken: '',
4
- accountId: '',
5
- paymentMethods: [],
6
- paymentMethodGroupId: '',
7
- paymentDescription: '',
8
- totalAmount: 0,
9
- paymentAmount: 0,
10
- selectedPaymentMethod: '',
11
- checkoutId: '',
12
- bnplEnabled: false,
13
- bnplProviderClientId: '',
14
- bnplProviderMode: '',
15
- bnplProviderApiVersion: '',
16
- bnplProviderCheckoutUrl: '',
17
- };
18
- const { state, onChange } = createStore(initialState);
19
- Object.keys(initialState).forEach((key) => {
20
- // @ts-ignore
21
- onChange(key, (newValue) => {
22
- state[key] = newValue;
23
- });
24
- });
25
- export default state;
@@ -1,24 +0,0 @@
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,58 +0,0 @@
1
- import { C as ComponentErrorSeverity } from './ComponentError-BhrFjjAs.js';
2
- import { g as getErrorCode, a as getErrorMessage } from './utils-BZvep88z.js';
3
-
4
- const makeGetCheckout = ({ authToken, checkoutId, service }) => async ({ onSuccess, onError }) => {
5
- var _a;
6
- try {
7
- const response = await service.fetchCheckout(authToken, checkoutId);
8
- if (!response.error) {
9
- const checkout = response.data;
10
- onSuccess({ checkout });
11
- }
12
- else {
13
- const responseError = getErrorMessage(response.error);
14
- const code = getErrorCode((_a = response.error) === null || _a === void 0 ? void 0 : _a.code);
15
- return onError({
16
- error: responseError,
17
- code,
18
- severity: ComponentErrorSeverity.ERROR,
19
- });
20
- }
21
- }
22
- catch (error) {
23
- const code = getErrorCode(error === null || error === void 0 ? void 0 : error.code);
24
- return onError({
25
- error: error.message || error,
26
- code,
27
- severity: ComponentErrorSeverity.ERROR,
28
- });
29
- }
30
- };
31
- const makeCheckoutComplete = ({ authToken, checkoutId, service }) => async ({ payment, onSuccess, onError }) => {
32
- var _a;
33
- try {
34
- const response = await service.complete(authToken, checkoutId, payment);
35
- if (!response.error) {
36
- onSuccess(response);
37
- }
38
- else {
39
- const responseError = getErrorMessage(response.error);
40
- const code = getErrorCode((_a = response.error) === null || _a === void 0 ? void 0 : _a.code);
41
- return onError({
42
- error: responseError,
43
- code,
44
- severity: ComponentErrorSeverity.ERROR,
45
- });
46
- }
47
- }
48
- catch (error) {
49
- const code = getErrorCode(error === null || error === void 0 ? void 0 : error.code);
50
- return onError({
51
- error: error.message || error,
52
- code,
53
- severity: ComponentErrorSeverity.ERROR,
54
- });
55
- }
56
- };
57
-
58
- export { makeCheckoutComplete as a, makeGetCheckout as m };
@@ -1,27 +0,0 @@
1
- import { c as createStore } from './index-BAq5IUBW.js';
2
-
3
- const initialState = {
4
- authToken: '',
5
- accountId: '',
6
- paymentMethods: [],
7
- paymentMethodGroupId: '',
8
- paymentDescription: '',
9
- totalAmount: 0,
10
- paymentAmount: 0,
11
- selectedPaymentMethod: '',
12
- checkoutId: '',
13
- bnplEnabled: false,
14
- bnplProviderClientId: '',
15
- bnplProviderMode: '',
16
- bnplProviderApiVersion: '',
17
- bnplProviderCheckoutUrl: '',
18
- };
19
- const { state, onChange } = createStore(initialState);
20
- Object.keys(initialState).forEach((key) => {
21
- // @ts-ignore
22
- onChange(key, (newValue) => {
23
- state[key] = newValue;
24
- });
25
- });
26
-
27
- export { state as s };
@@ -1,83 +0,0 @@
1
- import { h, r as registerInstance } from './index-N3w5zrz2.js';
2
- import { S as StyledHost } from './styled-host-DtvbNFVU.js';
3
- import './event-types-CZfYo5-1.js';
4
- import { S as Skeleton } from './skeleton-C0KgFH0Z.js';
5
- import { c as checkPkgVersion, J as JustifiAnalytics } from './Analytics-B3nThWuq.js';
6
- import { w as waitForConfig, c as configState } from './config-state-B3mtRA6f.js';
7
- import './parts-_6eQgwfE.js';
8
- import './package-rzqedGq4.js';
9
- import './Api-C3T8XYbb.js';
10
- import './utils-BjLkBMLe.js';
11
- import './_commonjsHelpers-BFTU3MAI.js';
12
- import './ComponentError-BhrFjjAs.js';
13
- import './Checkout-CV6qgU0r.js';
14
- import './Pagination-CLHwhyvu.js';
15
- import './Payment-BEvE6jAC.js';
16
- import './Dispute-7MWRbTXI.js';
17
- import './Refund-BKe90wSq.js';
18
- import './Business-BCoP0TAV.js';
19
- import './helpers-Mu7LQT-w.js';
20
- import './state-options-BX8GieXu.js';
21
- import './index-BAq5IUBW.js';
22
-
23
- const BankAccountFormSkeleton = (props) => {
24
- const { isReady } = props;
25
- if (isReady) {
26
- return null;
27
- }
28
- return (h("div", { class: "container-fluid p-0" },
29
- h("div", { class: "row mb-3" },
30
- h("div", { class: "col-12 align-content-end" },
31
- h(Skeleton, { height: "18px", width: "120px" }),
32
- h(Skeleton, { height: "36px" }))),
33
- h("div", { class: "row" },
34
- h("div", { class: "col-12 align-content-end" },
35
- h(Skeleton, { height: "18px", width: "110px" }),
36
- h(Skeleton, { height: "36px" })))));
37
- };
38
-
39
- const BankAccountForm = class {
40
- constructor(hostRef) {
41
- registerInstance(this, hostRef);
42
- this.isReady = false;
43
- }
44
- async componentWillLoad() {
45
- await waitForConfig();
46
- this.iframeOrigin = configState.iframeOrigin;
47
- checkPkgVersion();
48
- this.analytics = new JustifiAnalytics(this);
49
- }
50
- componentDidRender() {
51
- const elements = [
52
- this.accountNumberIframeElement,
53
- this.routingNumberIframeElement,
54
- ];
55
- Promise.all(elements.map((element) => {
56
- return new Promise((resolve) => {
57
- element.addEventListener('iframeLoaded', () => { resolve(); });
58
- });
59
- })).then(() => {
60
- this.isReady = true;
61
- });
62
- }
63
- disconnectedCallback() {
64
- var _a;
65
- (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
66
- }
67
- async validate() {
68
- const accountNumberIsValid = await this.accountNumberIframeElement.validate();
69
- const routingNumberIsValid = await this.routingNumberIframeElement.validate();
70
- return accountNumberIsValid && routingNumberIsValid;
71
- }
72
- async tokenize({ clientId, paymentMethodMetadata, account }) {
73
- return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
74
- }
75
- render() {
76
- return (h(StyledHost, { key: '4c176e2293be710024294860fa0be41f36395f72' }, h(BankAccountFormSkeleton, { key: 'c86a619edf7d99ce572a104ddde18598b057ebce', isReady: this.isReady }), h("hidden-input", { key: '0c8e152754b1746e7533d14450e3559df5a3c8cd' }), h("div", { key: '291c1adf2f8152fc13ed9296245fbbabd719bec7', class: "container-fluid p-0", style: {
77
- opacity: this.isReady ? '1' : '0',
78
- height: this.isReady ? 'auto' : '0',
79
- } }, h("div", { key: '53a755a4b1f9bf844c3dc68fa0a3343d415d7048', class: "row mb-3" }, h("iframe-input", { key: '369109cd12f6efd9768420cff1993f7b22d7cb76', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber` })), h("div", { key: 'd1ab53be0be78e24d0cfd3b93a0e94661f61f990', class: "row" }, h("iframe-input", { key: '96913caa7a1a2b338bf2fd63717fc8ad1d5fbcc5', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber` })))));
80
- }
81
- };
82
-
83
- export { BankAccountForm as justifi_bank_account_form };
@@ -1,48 +0,0 @@
1
- import { r as registerInstance, h } from './index-N3w5zrz2.js';
2
- import { b as billingFormSchema } from './billing-form-schema-BQf2Ydp0.js';
3
- import { d as billingForm } from './parts-_6eQgwfE.js';
4
- import { n as numberOnlyHandler } from './utils-BnjCmwMr.js';
5
- import { S as StateOptions } from './state-options-BX8GieXu.js';
6
- import { F as FormController } from './form-BjGUIqxU.js';
7
- import { S as StyledHost } from './styled-host-DtvbNFVU.js';
8
- import './event-types-CZfYo5-1.js';
9
- import './schema-validations-C7pC-de1.js';
10
- import './business-form-options-CgssATyg.js';
11
- import './Business-BCoP0TAV.js';
12
- import './helpers-Mu7LQT-w.js';
13
- import './_commonjsHelpers-BFTU3MAI.js';
14
-
15
- const BillingInformationForm = class {
16
- constructor(hostRef) {
17
- registerInstance(this, hostRef);
18
- this.errors = {};
19
- this.inputHandler = (name, value) => {
20
- this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { [name]: value }));
21
- };
22
- }
23
- componentWillLoad() {
24
- this.formController = new FormController(billingFormSchema());
25
- }
26
- componentDidLoad() {
27
- this.formController.values.subscribe(values => this.billingInfo = Object.assign({}, values));
28
- this.formController.errors.subscribe(errors => {
29
- this.errors = Object.assign({}, errors);
30
- });
31
- }
32
- async getValues() {
33
- return this.formController.values.getValue();
34
- }
35
- async fill(fields) {
36
- this.formController.setInitialValues(fields);
37
- }
38
- async validate() {
39
- let isValid = await this.formController.validate();
40
- return { isValid: isValid };
41
- }
42
- render() {
43
- const billingFormDefaultValue = this.formController.getInitialValues();
44
- return (h(StyledHost, { key: '69c50df0f08e367aeb924bdde683793a542179d5' }, h("div", { key: 'de669a4fc15f3041672d9a093ce6cc80cef65d9e', part: billingForm }, h("form", { key: 'fb079f46703caaed345a9d7cadd380eba599a972' }, h("fieldset", { key: '8ebed9ab4c21b4c4bd490df6654287ac5dd301c8' }, h("div", { key: 'a5a9d27770724af4ea4e2ffed03b26a1d12773f9', class: "row gy-3" }, h("div", { key: 'e5ed5cca7c1bee4033df78c86c8e992b6851ed10', class: "col-12" }, h("form-control-text", { key: '427c31a6f1344a2786dbde7288a0f958957fdd22', name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '6e222b1644b34f20f11f516d6de5e8e85f8277ac', class: "col-12" }, h("form-control-text", { key: '011574712b4ae735bfee96c7d6739e23ddd7318c', name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), h("div", { key: 'ecddd8f79102ef471053b5920072350e39ac313d', class: "col-12" }, h("form-control-text", { key: '95a37ac3c37c4c717bbefe9fa1b172e84027422e', name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), h("div", { key: '3b14bb063904e57a5e2b1112b6f719875bbf33b7', class: "col-12" }, h("form-control-text", { key: 'cfaf3a8bd3c7ce50f47d721170829e2bfb92fff6', name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), h("div", { key: '5613add4617df1e292ed0b0ea3a8cefc619c71e2', class: "col-12" }, h("form-control-select", { key: '698b66f67beb9bb5d3501e23f49655e2b3a0a4f1', name: 'address_state', label: 'State', options: StateOptions, defaultValue: billingFormDefaultValue.address_state, errorText: this.errors.address_state, inputHandler: this.inputHandler })), h("div", { key: '5dd514ba36bb2e1f398c88053dbb35356f3ef811', class: "col-12" }, h("form-control-text", { key: '8825a1a2c2235ee83461a626b0ccdfeb9adbb74a', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: numberOnlyHandler }))))))));
45
- }
46
- };
47
-
48
- export { BillingInformationForm as justifi_billing_information_form };