@justifi/webcomponents 5.7.2 → 5.7.3-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 (675) hide show
  1. package/dist/cjs/{check-pkg-version-hqYwYpQq.js → Analytics-DYN4hp2b.js} +25 -24
  2. package/dist/cjs/{Api-Dp4CW5K6.js → Api-BTdkb3Zh.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/Document-rXGBUaOh.js +58 -0
  6. package/dist/cjs/{Document-Qt0qiXeh.js → Payment-D5UynU2f.js} +0 -56
  7. package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
  8. package/dist/cjs/{badge-BxoJOyTJ.js → badge-sO_Hcamo.js} +1 -1
  9. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +11 -10
  10. package/dist/cjs/{bank-account-form_9.cjs.entry.js → bank-account-form_7.cjs.entry.js} +30 -200
  11. package/dist/cjs/billing-form-schema-oZ4GROWP.js +26 -0
  12. package/dist/cjs/{business-additional-questions-schema-JlysTRE3.js → business-additional-questions-schema-CHOaeZot.js} +6 -6
  13. package/dist/cjs/business-details-core.cjs.entry.js +4 -4
  14. package/dist/cjs/{business-identity-schema-BksYFWls.js → business-identity-schema-DmpEndsx.js} +10 -10
  15. package/dist/cjs/{business.service-DMIMZpx4.js → business.service-ev-3rHag.js} +5 -4
  16. package/dist/cjs/{button-BPFSRx4d.js → button-CCZd8WSY.js} +1 -1
  17. package/dist/cjs/checkout-actions-CRbQgLn0.js +61 -0
  18. package/dist/cjs/{checkout.service-DKH8NODe.js → checkout.service-D4hTYr1i.js} +5 -4
  19. package/dist/cjs/checkout.store-osqdxFMq.js +29 -0
  20. package/dist/cjs/checkouts-list-core.cjs.entry.js +13 -12
  21. package/dist/cjs/{checkouts-list-params-state-BvG5Ysrg.js → checkouts-list-params-state-fVsfZZ5G.js} +1 -1
  22. package/dist/cjs/{checkouts-table-Cj2iSB_P.js → checkouts-table-C1Jv_A7m.js} +2 -2
  23. package/dist/cjs/{config-state-D7p-XunE.js → config-state-BTfJl-LU.js} +1 -1
  24. package/dist/cjs/custom-popper_4.cjs.entry.js +8 -8
  25. package/dist/cjs/{dispute.service-8j6tLV4i.js → dispute.service-Dru9NStj.js} +5 -4
  26. package/dist/cjs/{index.esm-CVuJLXJZ.js → form-CWW8IM-X.js} +10509 -10509
  27. package/dist/cjs/form-alert_5.cjs.entry.js +1 -1
  28. package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
  29. package/dist/cjs/form-control-date.cjs.entry.js +4 -4
  30. package/dist/cjs/{form-control-error-text-D9XDyFoW.js → form-control-error-text-DPDsFdAT.js} +1 -1
  31. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
  32. package/dist/cjs/{form-control-help-text-J_boqSMc.js → form-control-help-text-CT5HzEnX.js} +1 -1
  33. package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
  34. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +3 -3
  35. package/dist/cjs/form-control-monetary.cjs.entry.js +5 -5
  36. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +4 -4
  37. package/dist/cjs/form-control-number.cjs.entry.js +5 -5
  38. package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
  39. package/dist/cjs/{get-business-BJrtsomz.js → get-business-BiEc-jdH.js} +2 -2
  40. package/dist/cjs/{get-payment-details-MM1u5jMc.js → get-payment-details-AOibpML7.js} +7 -6
  41. package/dist/cjs/{get-payout-csv-CXEQkjDm.js → get-payout-csv-CdNRRH0t.js} +2 -2
  42. package/dist/cjs/{get-subaccounts-CkjWYxIU.js → get-subaccounts-Dw7CbPDi.js} +7 -6
  43. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +4 -4
  44. package/dist/cjs/{header-1-auSUfIpO.js → header-1--wdCXxjA.js} +1 -1
  45. package/dist/cjs/{header-3-B-bXHCpC.js → header-3-DxUQJ7TT.js} +1 -1
  46. package/dist/cjs/{iframe-input.cjs.entry.js → hidden-input_2.cjs.entry.js} +112 -15
  47. package/dist/cjs/{index-BYd8IvAa.js → index-2GwnTbNA.js} +22 -4
  48. package/dist/cjs/{index-B8ljHEN1.js → index-DEMVrrsF.js} +1 -1
  49. package/dist/cjs/{insurance-state-CFxbKNWH.js → insurance-state-BmAF1Sef.js} +2 -2
  50. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +21 -20
  51. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +18 -17
  52. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +43 -43
  53. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +85 -0
  54. package/dist/cjs/justifi-billing-information-form.cjs.entry.js +51 -0
  55. package/dist/cjs/justifi-business-details.cjs.entry.js +16 -15
  56. package/dist/cjs/justifi-business-form.cjs.entry.js +25 -24
  57. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
  58. package/dist/cjs/justifi-card-form.cjs.entry.js +93 -0
  59. package/dist/cjs/justifi-checkout-core.cjs.entry.js +9 -9
  60. package/dist/cjs/justifi-checkout-summary.cjs.entry.js +21 -0
  61. package/dist/cjs/justifi-checkout.cjs.entry.js +28 -71
  62. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +10 -9
  63. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +19 -18
  64. package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
  65. package/dist/cjs/justifi-details.cjs.entry.js +2 -2
  66. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +2 -2
  67. package/dist/cjs/justifi-dispute-management.cjs.entry.js +15 -14
  68. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +20 -19
  69. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +14 -13
  70. package/dist/cjs/justifi-modular-checkout.cjs.entry.js +205 -0
  71. package/dist/cjs/justifi-order-terminals.cjs.entry.js +19 -18
  72. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +16 -15
  73. package/dist/cjs/justifi-payment-details.cjs.entry.js +16 -15
  74. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +4 -4
  75. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +15 -14
  76. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +18 -17
  77. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +6 -6
  78. package/dist/cjs/justifi-payments-list.cjs.entry.js +20 -19
  79. package/dist/cjs/justifi-payout-details.cjs.entry.js +16 -15
  80. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +18 -17
  81. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +6 -6
  82. package/dist/cjs/justifi-payouts-list.cjs.entry.js +21 -20
  83. package/dist/cjs/justifi-postal-code-form.cjs.entry.js +50 -0
  84. package/dist/cjs/justifi-refund-payment.cjs.entry.js +25 -24
  85. package/dist/cjs/justifi-saved-payment-methods.cjs.entry.js +31 -0
  86. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +5 -5
  87. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +21 -22
  88. package/dist/cjs/justifi-sezzle-payment-method.cjs.entry.js +80 -0
  89. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +11 -10
  90. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +17 -16
  91. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +10 -9
  92. package/dist/cjs/justifi-terminals-list.cjs.entry.js +19 -18
  93. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +22 -14
  94. package/dist/cjs/loader.cjs.js +3 -4
  95. package/dist/cjs/{package-BCOEGxFC.js → package-DF9mLjoQ.js} +1 -1
  96. package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
  97. package/dist/cjs/payment-details-core.cjs.entry.js +14 -14
  98. package/dist/cjs/payment-method-option-utils-imuSE7KV.js +25 -0
  99. package/dist/cjs/{payment-provisioning-actions-BkWSDJQQ.js → payment-provisioning-actions-SNMCdsyF.js} +2 -2
  100. package/dist/cjs/{payment.service-CCxGhTwZ.js → payment.service-rsnscZu7.js} +5 -4
  101. package/dist/cjs/payments-list-core.cjs.entry.js +14 -13
  102. package/dist/cjs/{payments-list-params-state-BvG5Ysrg.js → payments-list-params-state-fVsfZZ5G.js} +1 -1
  103. package/dist/cjs/{payments-status-BTykBx8i.js → payments-status-DPqU5v9h.js} +2 -2
  104. package/dist/cjs/{payments-table-BR97ybd6.js → payments-table-BM3AoAJf.js} +2 -2
  105. package/dist/cjs/payout-details-core.cjs.entry.js +10 -10
  106. package/dist/cjs/{payout.service-CtphIhUK.js → payout.service-BnmI3X4n.js} +5 -4
  107. package/dist/cjs/payouts-list-core.cjs.entry.js +14 -13
  108. package/dist/cjs/{payouts-list-params-state-BvG5Ysrg.js → payouts-list-params-state-fVsfZZ5G.js} +1 -1
  109. package/dist/cjs/{payouts-status-YCqmbd4K.js → payouts-status-CU8aqIhH.js} +2 -2
  110. package/dist/cjs/{payouts-table-DMcQiC1g.js → payouts-table-1HL4kk9B.js} +2 -2
  111. package/dist/cjs/{schema-validations-BUor-ySb.js → schema-validations-C0BNwMBi.js} +33 -33
  112. package/dist/cjs/{skeleton-aMh0RMHq.js → skeleton-ByLavxr1.js} +1 -1
  113. package/dist/cjs/{spinner-BTyIjlMM.js → spinner-DOC4Ab7M.js} +1 -1
  114. package/dist/cjs/{styled-host-udkBJV5h.js → styled-host-IMxk64cc.js} +1 -1
  115. package/dist/cjs/{table-DKVauFHc.js → table-BgQP2M2-.js} +2 -2
  116. package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
  117. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +13 -12
  118. package/dist/cjs/{terminal-orders-list-params-state-BvG5Ysrg.js → terminal-orders-list-params-state-fVsfZZ5G.js} +1 -1
  119. package/dist/cjs/{terminal-orders-table-D-CLcZws.js → terminal-orders-table-OxMHSAJ1.js} +7 -6
  120. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
  121. package/dist/cjs/{terminal.service-Dv_WJkue.js → terminal.service--PPaq5xS.js} +5 -4
  122. package/dist/cjs/terminals-list-core.cjs.entry.js +13 -12
  123. package/dist/cjs/terminals-list-params-state-fVsfZZ5G.js +22 -0
  124. package/dist/cjs/{terminals-table-BEJ6sF7w.js → terminals-table-yRGsrfBw.js} +2 -2
  125. package/dist/cjs/{utils-l0veqT9y.js → utils-IGCnjtqc.js} +1 -1
  126. package/dist/cjs/{utils-5lco6NzU.js → utils-bn0fXuc-.js} +1 -1
  127. package/dist/cjs/webcomponents.cjs.js +4 -5
  128. package/dist/collection/api/BillingInformation.js +1 -0
  129. package/dist/collection/api/Checkout.js +1 -3
  130. package/dist/collection/api/ComponentError.js +2 -0
  131. package/dist/collection/api/PaymentMethod.js +1 -0
  132. package/dist/collection/collection-manifest.json +9 -2
  133. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
  134. package/dist/collection/components/checkout/billing-form/billing-form.js +1 -1
  135. package/dist/collection/components/checkout/card-form/card-form.js +2 -2
  136. package/dist/collection/components/checkout/checkout.js +11 -2
  137. package/dist/collection/components/checkout/payment-method-options.js +3 -33
  138. package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
  139. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
  140. package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
  141. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  142. package/dist/collection/components/dispute-management/dispute-management.js +1 -1
  143. package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
  144. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  145. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  146. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  147. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  148. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  149. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  150. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  151. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  152. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  153. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  154. package/dist/collection/components/filters/table-filters-menu.js +1 -1
  155. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  156. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +10 -12
  157. package/dist/collection/components/modular-checkout/modular-checkout.js +345 -0
  158. package/dist/collection/components/modular-checkout-parts/bank-account-skeleton.js +10 -0
  159. package/dist/collection/components/modular-checkout-parts/bank-account.js +119 -0
  160. package/dist/collection/components/modular-checkout-parts/billing-form-schema.js +21 -0
  161. package/dist/collection/components/modular-checkout-parts/billing-form.js +116 -0
  162. package/dist/collection/components/modular-checkout-parts/card-form-skeleton.js +10 -0
  163. package/dist/collection/components/modular-checkout-parts/card-form.js +123 -0
  164. package/dist/collection/components/modular-checkout-parts/postal-code-form.js +114 -0
  165. package/dist/collection/components/modular-checkout-parts/saved-payment-methods.js +23 -0
  166. package/dist/collection/components/modular-checkout-parts/sezzle-payment-method.js +127 -0
  167. package/dist/collection/components/modular-checkout-parts/summary.js +12 -0
  168. package/dist/collection/components/order-terminals/order-terminals.js +1 -1
  169. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  170. package/dist/collection/components/payment-details/payment-details-core.js +8 -8
  171. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
  172. package/dist/collection/components/payments-list/payments-list-core.js +1 -1
  173. package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
  174. package/dist/collection/components/payments-list/payments-list.js +1 -1
  175. package/dist/collection/components/payout-details/payout-details-core.js +3 -3
  176. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +1 -1
  177. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  178. package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
  179. package/dist/collection/components/payouts-list/payouts-list.js +1 -1
  180. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
  181. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
  182. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
  183. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  184. package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
  185. package/dist/collection/components/terminals-list/terminals-list.js +1 -1
  186. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +10 -3
  187. package/dist/collection/store/checkout.store.js +25 -0
  188. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  189. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  190. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  191. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  192. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  193. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  194. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  195. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  196. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  197. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  198. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  199. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  200. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  201. package/dist/collection/ui-components/form/iframe-input.js +10 -5
  202. package/dist/docs.json +1236 -425
  203. package/dist/esm/{check-pkg-version-BykGn7tx.js → Analytics-DR277kvb.js} +27 -26
  204. package/dist/esm/{Api-cgKcLG0y.js → Api-CqimcNgb.js} +2 -2
  205. package/dist/esm/{Checkout-B9LrTq63.js → Checkout-CV6qgU0r.js} +2 -4
  206. package/dist/esm/{ComponentError-SdntD1xf.js → ComponentError-BhrFjjAs.js} +2 -0
  207. package/dist/esm/{Dispute-BH0Xfn-F.js → Dispute-7MWRbTXI.js} +1 -1
  208. package/dist/esm/Document-Ct-uNz2r.js +55 -0
  209. package/dist/esm/{Document-DvWsQBM6.js → Payment-BEvE6jAC.js} +3 -57
  210. package/dist/esm/{Refund-zZewCvey.js → Refund-CwUn_GFj.js} +1 -1
  211. package/dist/esm/additional-questions-details_5.entry.js +4 -4
  212. package/dist/esm/{badge-Du9GTXoB.js → badge-D_Q0kAPD.js} +2 -2
  213. package/dist/esm/bank-account-document-form-inputs_4.entry.js +15 -14
  214. package/dist/esm/{bank-account-form_9.entry.js → bank-account-form_7.entry.js} +22 -190
  215. package/dist/esm/billing-form-schema-PFvYpvy4.js +24 -0
  216. package/dist/esm/{business-additional-questions-schema-CBUm3D7O.js → business-additional-questions-schema-0lssJqN7.js} +2 -2
  217. package/dist/esm/business-details-core.entry.js +5 -5
  218. package/dist/esm/{business-identity-schema-CntGz8jo.js → business-identity-schema-Bel1K5mu.js} +2 -2
  219. package/dist/esm/{business.service-BWivPbyO.js → business.service-BM8hLxHS.js} +7 -6
  220. package/dist/esm/{button-CjH5C0pG.js → button-BVAxQPpP.js} +2 -2
  221. package/dist/esm/checkout-actions-UQ6g1s7I.js +58 -0
  222. package/dist/esm/{checkout.service-Bh-Q24Cr.js → checkout.service-CuCgG9hv.js} +7 -6
  223. package/dist/esm/checkout.store-DQrlfeus.js +27 -0
  224. package/dist/esm/checkouts-list-core.entry.js +17 -16
  225. package/dist/esm/{checkouts-list-params-state-Bn7pL-8x.js → checkouts-list-params-state-DhPyCV-V.js} +1 -1
  226. package/dist/esm/{checkouts-table-DcVkD83l.js → checkouts-table-Cc6U-0md.js} +4 -4
  227. package/dist/esm/{config-state-CkKrqnpZ.js → config-state-BjXhUj2q.js} +1 -1
  228. package/dist/esm/custom-popper_4.entry.js +9 -9
  229. package/dist/esm/{dispute.service-1AYcALSg.js → dispute.service-rB4Hq6ot.js} +7 -6
  230. package/dist/esm/{index.esm-BCNUj0Dx.js → form-BjGUIqxU.js} +10509 -10509
  231. package/dist/esm/form-alert_5.entry.js +2 -2
  232. package/dist/esm/form-control-checkbox.entry.js +6 -6
  233. package/dist/esm/form-control-date.entry.js +5 -5
  234. package/dist/esm/{form-control-error-text-tGFxd6kW.js → form-control-error-text-_SAT-ts2.js} +2 -2
  235. package/dist/esm/form-control-file-v2_2.entry.js +6 -6
  236. package/dist/esm/{form-control-help-text-2DawN8-N.js → form-control-help-text-Cjeu_VrV.js} +2 -2
  237. package/dist/esm/form-control-help-text.entry.js +1 -1
  238. package/dist/esm/form-control-monetary-provisioning.entry.js +4 -4
  239. package/dist/esm/form-control-monetary.entry.js +7 -7
  240. package/dist/esm/form-control-number-masked_2.entry.js +5 -5
  241. package/dist/esm/form-control-number.entry.js +6 -6
  242. package/dist/esm/form-control-radio.entry.js +4 -4
  243. package/dist/esm/{get-business-GEPTefIj.js → get-business-BSRtbTh7.js} +2 -2
  244. package/dist/esm/{get-payment-details-DXhXxFPr.js → get-payment-details-DtkGDTwo.js} +9 -8
  245. package/dist/esm/{get-payout-csv-D7IYYqVL.js → get-payout-csv-U_pgdPpb.js} +2 -2
  246. package/dist/esm/{get-subaccounts-CtHj1UM6.js → get-subaccounts-C-ENQBmY.js} +10 -9
  247. package/dist/esm/gross-payment-chart-core.entry.js +6 -6
  248. package/dist/esm/{header-1-D2gZb3iT.js → header-1-5FIT-wD7.js} +2 -2
  249. package/dist/esm/{header-3-DAg8Vh4B.js → header-3-Ce9WLWBm.js} +2 -2
  250. package/dist/esm/{iframe-input.entry.js → hidden-input_2.entry.js} +106 -10
  251. package/dist/esm/{index-D6FDxSyt.js → index-Bta_r52Z.js} +22 -5
  252. package/dist/esm/{index-Cc3u0uDC.js → index-Cf8VXyXg.js} +1 -1
  253. package/dist/esm/{insurance-state-CsZbKSgm.js → insurance-state-BcwZy_5w.js} +3 -3
  254. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +17 -16
  255. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +17 -16
  256. package/dist/esm/justifi-additional-statement_8.entry.js +11 -11
  257. package/dist/esm/justifi-bank-account-form.entry.js +83 -0
  258. package/dist/esm/justifi-billing-information-form.entry.js +49 -0
  259. package/dist/esm/justifi-business-details.entry.js +18 -17
  260. package/dist/esm/justifi-business-form.entry.js +25 -24
  261. package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
  262. package/dist/esm/justifi-card-form.entry.js +91 -0
  263. package/dist/esm/justifi-checkout-core.entry.js +11 -11
  264. package/dist/esm/justifi-checkout-summary.entry.js +19 -0
  265. package/dist/esm/justifi-checkout.entry.js +27 -70
  266. package/dist/esm/justifi-checkouts-list-filters.entry.js +14 -13
  267. package/dist/esm/justifi-checkouts-list.entry.js +21 -20
  268. package/dist/esm/justifi-config-provider.entry.js +3 -3
  269. package/dist/esm/justifi-details.entry.js +3 -3
  270. package/dist/esm/justifi-dispute-management-core.entry.js +3 -3
  271. package/dist/esm/justifi-dispute-management.entry.js +16 -15
  272. package/dist/esm/justifi-dispute-notification_3.entry.js +22 -21
  273. package/dist/esm/justifi-gross-payment-chart.entry.js +16 -15
  274. package/dist/esm/justifi-modular-checkout.entry.js +203 -0
  275. package/dist/esm/justifi-order-terminals.entry.js +21 -20
  276. package/dist/esm/justifi-owner-form_3.entry.js +19 -18
  277. package/dist/esm/justifi-payment-details.entry.js +18 -17
  278. package/dist/esm/justifi-payment-provisioning-core.entry.js +5 -5
  279. package/dist/esm/justifi-payment-provisioning.entry.js +16 -15
  280. package/dist/esm/justifi-payment-transactions-list.entry.js +20 -19
  281. package/dist/esm/justifi-payments-list-filters.entry.js +8 -8
  282. package/dist/esm/justifi-payments-list.entry.js +21 -20
  283. package/dist/esm/justifi-payout-details.entry.js +18 -17
  284. package/dist/esm/justifi-payout-transactions-list.entry.js +20 -19
  285. package/dist/esm/justifi-payouts-list-filters.entry.js +8 -8
  286. package/dist/esm/justifi-payouts-list.entry.js +23 -22
  287. package/dist/esm/justifi-postal-code-form.entry.js +48 -0
  288. package/dist/esm/justifi-refund-payment.entry.js +21 -20
  289. package/dist/esm/justifi-saved-payment-methods.entry.js +29 -0
  290. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +7 -7
  291. package/dist/esm/justifi-season-interruption-insurance.entry.js +22 -23
  292. package/dist/esm/justifi-sezzle-payment-method.entry.js +78 -0
  293. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +15 -14
  294. package/dist/esm/justifi-terminal-orders-list.entry.js +19 -18
  295. package/dist/esm/justifi-terminals-list-filters.entry.js +14 -13
  296. package/dist/esm/justifi-terminals-list.entry.js +21 -20
  297. package/dist/esm/justifi-tokenize-payment-method.entry.js +24 -16
  298. package/dist/esm/loader.js +3 -4
  299. package/dist/esm/{package-BjMTOtI1.js → package-CyXXks-Q.js} +1 -1
  300. package/dist/esm/pagination-menu.entry.js +2 -2
  301. package/dist/esm/{parts-BrLVc_85.js → parts-_6eQgwfE.js} +1 -1
  302. package/dist/esm/payment-details-core.entry.js +16 -16
  303. package/dist/esm/payment-method-option-utils-8n_ALxec.js +23 -0
  304. package/dist/esm/{payment-provisioning-actions-BIfyW239.js → payment-provisioning-actions-2qP7AtHj.js} +2 -2
  305. package/dist/esm/{payment.service-2afJc31y.js → payment.service-DoUv1QsX.js} +7 -6
  306. package/dist/esm/payments-list-core.entry.js +18 -17
  307. package/dist/esm/{payments-list-params-state-Bn7pL-8x.js → payments-list-params-state-DhPyCV-V.js} +1 -1
  308. package/dist/esm/{payments-status-CIUXcA0w.js → payments-status-BeL2gi3P.js} +2 -2
  309. package/dist/esm/{payments-table-B8316Kqz.js → payments-table-MrDAlH2o.js} +4 -4
  310. package/dist/esm/payout-details-core.entry.js +12 -12
  311. package/dist/esm/{payout.service-Bd8Tc7-Q.js → payout.service-B_Fm08zQ.js} +7 -6
  312. package/dist/esm/payouts-list-core.entry.js +18 -17
  313. package/dist/esm/{payouts-list-params-state-Bn7pL-8x.js → payouts-list-params-state-DhPyCV-V.js} +1 -1
  314. package/dist/esm/{payouts-status-Clo03qUI.js → payouts-status-BxbhUjA3.js} +2 -2
  315. package/dist/esm/{payouts-table-Ip10eH4Q.js → payouts-table-HoX3UYIj.js} +4 -4
  316. package/dist/esm/{schema-validations-C7D5tPzq.js → schema-validations-DYV7urvw.js} +3 -3
  317. package/dist/esm/{skeleton-Dlpibtr0.js → skeleton-CPNYhX-V.js} +2 -2
  318. package/dist/esm/{spinner-onCBxbdo.js → spinner-Cl-6YJPf.js} +2 -2
  319. package/dist/esm/{styled-host-C7vaWLiB.js → styled-host-BSX_LSdk.js} +1 -1
  320. package/dist/esm/{table-p4dOlFPi.js → table-RCk8zh4L.js} +3 -3
  321. package/dist/esm/table-filters-menu.entry.js +4 -4
  322. package/dist/esm/terminal-orders-list-core.entry.js +17 -16
  323. package/dist/esm/{terminal-orders-list-params-state-Bn7pL-8x.js → terminal-orders-list-params-state-DhPyCV-V.js} +1 -1
  324. package/dist/esm/{terminal-orders-table-CCJT7oq4.js → terminal-orders-table-DxHLNkx_.js} +11 -10
  325. package/dist/esm/terminal-quantity-selector.entry.js +3 -3
  326. package/dist/esm/{terminal.service-8kwGru35.js → terminal.service-2VkdfNas.js} +7 -6
  327. package/dist/esm/terminals-list-core.entry.js +17 -16
  328. package/dist/esm/terminals-list-params-state-DhPyCV-V.js +16 -0
  329. package/dist/esm/{terminals-table-cMkKUVff.js → terminals-table-v-LOevYA.js} +4 -4
  330. package/dist/esm/{utils-BpP_VJGf.js → utils-1WrbuHVR.js} +2 -2
  331. package/dist/esm/{utils-Dccsn9BY.js → utils-BZvep88z.js} +1 -1
  332. package/dist/esm/{utils-DB5fh6Iv.js → utils-BjLkBMLe.js} +1 -1
  333. package/dist/esm/webcomponents.js +4 -5
  334. package/dist/module/{check-pkg-version.js → Analytics.js} +21 -21
  335. package/dist/module/Checkout.js +3 -3
  336. package/dist/module/additional-statement.js +1 -1
  337. package/dist/module/bank-account-form2.js +2 -2
  338. package/dist/module/billing-form-schema.js +24 -0
  339. package/dist/module/billing-form.js +3 -3
  340. package/dist/module/business-address-schema.js +1 -1
  341. package/dist/module/business-bank-account-form-step-core.js +1 -1
  342. package/dist/module/business-core-info-schema.js +1 -1
  343. package/dist/module/business-identity-schema.js +1 -1
  344. package/dist/module/button.js +1 -1
  345. package/dist/module/cancellation-policy.js +1 -1
  346. package/dist/module/card-form2.js +2 -2
  347. package/dist/module/checkout-actions.js +58 -0
  348. package/dist/module/checkout-core.js +32 -38
  349. package/dist/module/checkout.store.js +27 -0
  350. package/dist/module/checkouts-list-core2.js +2 -2
  351. package/dist/module/custom-popper2.js +2 -2
  352. package/dist/module/customer-details.js +1 -1
  353. package/dist/module/dispute-management-core.js +1 -1
  354. package/dist/module/dispute-notification.js +1 -1
  355. package/dist/module/dispute-response-core.js +1 -1
  356. package/dist/module/dispute-response.js +2 -2
  357. package/dist/module/duplicate-charge.js +1 -1
  358. package/dist/module/electronic-evidence.js +1 -1
  359. package/dist/module/form-control-checkbox2.js +2 -2
  360. package/dist/module/form-control-date2.js +2 -2
  361. package/dist/module/form-control-file-v22.js +1 -1
  362. package/dist/module/form-control-file2.js +2 -2
  363. package/dist/module/form-control-monetary2.js +2 -2
  364. package/dist/module/form-control-number-masked2.js +2 -2
  365. package/dist/module/form-control-number.js +2 -2
  366. package/dist/module/form-control-radio2.js +2 -2
  367. package/dist/module/form-control-select2.js +2 -2
  368. package/dist/module/form-control-text2.js +2 -2
  369. package/dist/module/form-control-textarea2.js +2 -2
  370. package/dist/module/gross-payment-chart-core2.js +1 -1
  371. package/dist/module/hidden-input2.js +1 -1
  372. package/dist/module/iframe-input2.js +5 -5
  373. package/dist/module/justifi-bank-account-form.d.ts +11 -0
  374. package/dist/module/justifi-bank-account-form.js +103 -0
  375. package/dist/module/justifi-billing-information-form.d.ts +11 -0
  376. package/dist/module/justifi-billing-information-form.js +94 -0
  377. package/dist/module/justifi-business-details.js +1 -1
  378. package/dist/module/justifi-business-form.js +1 -1
  379. package/dist/module/justifi-card-form.d.ts +11 -0
  380. package/dist/module/justifi-card-form.js +111 -0
  381. package/dist/module/justifi-checkout-summary.d.ts +11 -0
  382. package/dist/module/justifi-checkout-summary.js +37 -0
  383. package/dist/module/justifi-checkout.js +48 -99
  384. package/dist/module/justifi-checkouts-list-filters.js +2 -2
  385. package/dist/module/justifi-checkouts-list.js +2 -2
  386. package/dist/module/justifi-dispute-management.js +2 -2
  387. package/dist/module/justifi-gross-payment-chart.js +1 -1
  388. package/dist/module/justifi-modular-checkout.d.ts +11 -0
  389. package/dist/module/justifi-modular-checkout.js +219 -0
  390. package/dist/module/justifi-order-terminals.js +3 -3
  391. package/dist/module/justifi-payment-details.js +1 -1
  392. package/dist/module/justifi-payment-provisioning.js +1 -1
  393. package/dist/module/justifi-payment-transactions-list.js +3 -3
  394. package/dist/module/justifi-payments-list-filters.js +3 -3
  395. package/dist/module/justifi-payments-list.js +2 -2
  396. package/dist/module/justifi-payout-details.js +1 -1
  397. package/dist/module/justifi-payout-transactions-list.js +3 -3
  398. package/dist/module/justifi-payouts-list-filters.js +3 -3
  399. package/dist/module/justifi-payouts-list.js +2 -2
  400. package/dist/module/justifi-postal-code-form.d.ts +11 -0
  401. package/dist/module/justifi-postal-code-form.js +86 -0
  402. package/dist/module/justifi-refund-payment.js +1 -1
  403. package/dist/module/justifi-saved-payment-methods.d.ts +11 -0
  404. package/dist/module/justifi-saved-payment-methods.js +58 -0
  405. package/dist/module/justifi-season-interruption-insurance.js +9 -11
  406. package/dist/module/justifi-sezzle-payment-method.js +108 -1
  407. package/dist/module/justifi-terminal-orders-list-filters.js +3 -3
  408. package/dist/module/justifi-terminal-orders-list.js +2 -2
  409. package/dist/module/justifi-terminals-list-filters.js +2 -2
  410. package/dist/module/justifi-terminals-list.js +2 -2
  411. package/dist/module/justifi-tokenize-payment-method.js +41 -40
  412. package/dist/module/package.js +3 -3
  413. package/dist/module/parts.js +1 -1
  414. package/dist/module/payment-details-core2.js +8 -8
  415. package/dist/module/payment-method-option-utils.js +23 -0
  416. package/dist/module/payment-method-options.js +34 -51
  417. package/dist/module/payments-list-core2.js +2 -2
  418. package/dist/module/payout-details-core2.js +3 -3
  419. package/dist/module/payouts-list-core2.js +2 -2
  420. package/dist/module/product-or-service.js +1 -1
  421. package/dist/module/refund-policy.js +1 -1
  422. package/dist/module/saved-payment-method.js +2 -22
  423. package/dist/module/schema-validations.js +1 -1
  424. package/dist/module/shipping-details.js +1 -1
  425. package/dist/module/table-filters-menu2.js +2 -2
  426. package/dist/module/terminal-orders-list-core2.js +2 -2
  427. package/dist/module/terminal-quantity-selector2.js +1 -1
  428. package/dist/module/terminals-list-core2.js +2 -2
  429. package/dist/types/api/BillingInformation.d.ts +13 -0
  430. package/dist/types/api/Checkout.d.ts +14 -13
  431. package/dist/types/api/ComponentError.d.ts +3 -1
  432. package/dist/types/api/PaymentMethod.d.ts +21 -0
  433. package/dist/types/components/checkout/checkout.d.ts +1 -0
  434. package/dist/types/components/checkout/payment-method-options.d.ts +0 -1
  435. package/dist/types/components/insurance/season-interruption/season-interruption-insurance.d.ts +2 -2
  436. package/dist/types/components/modular-checkout/modular-checkout.d.ts +31 -0
  437. package/dist/types/components/modular-checkout-parts/bank-account-skeleton.d.ts +6 -0
  438. package/dist/types/components/modular-checkout-parts/bank-account.d.ts +18 -0
  439. package/dist/types/components/modular-checkout-parts/billing-form-schema.d.ts +23 -0
  440. package/dist/types/components/modular-checkout-parts/billing-form.d.ts +16 -0
  441. package/dist/types/components/modular-checkout-parts/card-form-skeleton.d.ts +6 -0
  442. package/dist/types/components/modular-checkout-parts/card-form.d.ts +20 -0
  443. package/dist/types/components/modular-checkout-parts/postal-code-form.d.ts +16 -0
  444. package/dist/types/components/modular-checkout-parts/saved-payment-methods.d.ts +5 -0
  445. package/dist/types/components/{checkout → modular-checkout-parts}/sezzle-payment-method.d.ts +2 -8
  446. package/dist/types/components/modular-checkout-parts/summary.d.ts +3 -0
  447. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +2 -2
  448. package/dist/types/components.d.ts +429 -22
  449. package/dist/types/stencil-public-runtime.d.ts +1 -1
  450. package/dist/types/store/checkout.store.d.ts +19 -0
  451. package/dist/types/ui-components/form/iframe-input.d.ts +2 -1
  452. package/dist/webcomponents/p-00900e52.entry.js +1 -0
  453. package/dist/webcomponents/p-025ae692.entry.js +1 -0
  454. package/dist/webcomponents/p-02e26641.entry.js +1 -0
  455. package/dist/webcomponents/p-04c91ec1.entry.js +1 -0
  456. package/dist/webcomponents/{p-bf3e8295.entry.js → p-0c13f2da.entry.js} +1 -1
  457. package/dist/webcomponents/p-0d5e93b3.entry.js +1 -0
  458. package/dist/webcomponents/{p-90c24cda.entry.js → p-15c63931.entry.js} +1 -1
  459. package/dist/webcomponents/p-19b5f93a.entry.js +1 -0
  460. package/dist/webcomponents/p-1ac365b4.entry.js +1 -0
  461. package/dist/webcomponents/{p-b40108c0.entry.js → p-1d59c747.entry.js} +1 -1
  462. package/dist/webcomponents/p-1d64d86b.entry.js +1 -0
  463. package/dist/webcomponents/p-20d7db42.entry.js +1 -0
  464. package/dist/webcomponents/p-25b310f0.entry.js +1 -0
  465. package/dist/webcomponents/p-271b131d.entry.js +1 -0
  466. package/dist/webcomponents/p-2882b4e9.entry.js +1 -0
  467. package/dist/webcomponents/p-2a08ba01.entry.js +1 -0
  468. package/dist/webcomponents/p-2f027626.entry.js +1 -0
  469. package/dist/webcomponents/p-2fa36c0e.entry.js +1 -0
  470. package/dist/webcomponents/p-379584fb.entry.js +1 -0
  471. package/dist/webcomponents/p-39f31e23.entry.js +1 -0
  472. package/dist/webcomponents/p-3b6888c5.entry.js +1 -0
  473. package/dist/webcomponents/p-3d62f9a5.entry.js +1 -0
  474. package/dist/webcomponents/p-3edd5ebd.entry.js +1 -0
  475. package/dist/webcomponents/p-4232760b.entry.js +1 -0
  476. package/dist/webcomponents/p-4be4f7b4.entry.js +1 -0
  477. package/dist/webcomponents/p-531738ae.entry.js +1 -0
  478. package/dist/webcomponents/p-54019e68.entry.js +1 -0
  479. package/dist/webcomponents/{p-3e94cf62.entry.js → p-584ba20d.entry.js} +1 -1
  480. package/dist/webcomponents/p-5bc6f1e6.entry.js +20 -0
  481. package/dist/webcomponents/p-5bfbb0f8.entry.js +1 -0
  482. package/dist/webcomponents/{p-19b9c96a.entry.js → p-5da3ba38.entry.js} +1 -1
  483. package/dist/webcomponents/{p-bb50155f.entry.js → p-5ea3cfca.entry.js} +1 -1
  484. package/dist/webcomponents/p-5f9dbaff.entry.js +1 -0
  485. package/dist/webcomponents/p-6b229318.entry.js +1 -0
  486. package/dist/webcomponents/p-6fc1ace5.entry.js +1 -0
  487. package/dist/webcomponents/{p-7733b67b.entry.js → p-712220f9.entry.js} +1 -1
  488. package/dist/webcomponents/p-716d41f2.entry.js +1 -0
  489. package/dist/webcomponents/p-7253f1ea.entry.js +1 -0
  490. package/dist/webcomponents/{p-BH0Xfn-F.js → p-7MWRbTXI.js} +1 -1
  491. package/dist/webcomponents/p-80b662de.entry.js +1 -0
  492. package/dist/webcomponents/p-82164a5e.entry.js +1 -0
  493. package/dist/webcomponents/p-8532c68c.entry.js +1 -0
  494. package/dist/webcomponents/p-8590c5df.entry.js +1 -0
  495. package/dist/webcomponents/p-8e555a6e.entry.js +1 -0
  496. package/dist/webcomponents/p-96f89c69.entry.js +1 -0
  497. package/dist/webcomponents/p-98a39544.entry.js +1 -0
  498. package/dist/webcomponents/{p-BnE7qgLh.js → p-9REosSLu.js} +1 -1
  499. package/dist/webcomponents/{p-1678e9e3.entry.js → p-9a17fd5a.entry.js} +1 -1
  500. package/dist/webcomponents/p-9a9f9c57.entry.js +1 -0
  501. package/dist/webcomponents/{p-D5XSsLKb.js → p-B4MIwTdb.js} +1 -1
  502. package/dist/webcomponents/{p-n2YROtpe.js → p-B7VsiIW-.js} +1 -1
  503. package/dist/webcomponents/p-B8Ovjy6S.js +1 -0
  504. package/dist/webcomponents/p-BE5Nvydk.js +1 -0
  505. package/dist/webcomponents/{p-DuYlA4lj.js → p-BEDtXmpq.js} +1 -1
  506. package/dist/webcomponents/p-BGHVK-vQ.js +1 -0
  507. package/dist/webcomponents/{p-Bk4gk-f7.js → p-BPCw4WEY.js} +1 -1
  508. package/dist/webcomponents/p-BSUCBhkJ.js +1 -0
  509. package/dist/webcomponents/{p-HBDBB6lL.js → p-BhLPwu1L.js} +1 -1
  510. package/dist/webcomponents/p-BhrFjjAs.js +1 -0
  511. package/dist/webcomponents/p-BoGb-Wsw.js +1 -0
  512. package/dist/webcomponents/p-Bond4qGX.js +1 -0
  513. package/dist/webcomponents/p-BpEw7AJl.js +1 -0
  514. package/dist/webcomponents/p-Bta_r52Z.js +2 -0
  515. package/dist/webcomponents/{p-BTS3E50C.js → p-BxfUcCXo.js} +1 -1
  516. package/dist/webcomponents/p-C-WgCIei.js +1 -0
  517. package/dist/webcomponents/p-CBs671Ol.js +1 -0
  518. package/dist/webcomponents/{p-l3uWWMRW.js → p-CCpqJxzB.js} +1 -1
  519. package/dist/webcomponents/p-CDTncSrX.js +1 -0
  520. package/dist/webcomponents/p-CLpgfEbx.js +1 -0
  521. package/dist/webcomponents/p-CRYPNa2o.js +1 -0
  522. package/dist/webcomponents/p-CbGBEkk3.js +1 -0
  523. package/dist/webcomponents/p-CeNlJX4-.js +1 -0
  524. package/dist/webcomponents/p-CnnRWu7z.js +1 -0
  525. package/dist/webcomponents/{p-C0WFYqwq.js → p-CqVelcDt.js} +1 -1
  526. package/dist/webcomponents/p-Ct-uNz2r.js +1 -0
  527. package/dist/webcomponents/{p-uSM1EMk-.js → p-Ctw40vkk.js} +1 -1
  528. package/dist/webcomponents/p-CvChBLtI.js +1 -0
  529. package/dist/webcomponents/{p-D0ptm6-3.js → p-CwHYDF33.js} +1 -1
  530. package/dist/webcomponents/p-CyXXks-Q.js +1 -0
  531. package/dist/webcomponents/p-Czro_9VO.js +1 -0
  532. package/dist/webcomponents/{p-Cd06j2SL.js → p-D3BIZZrc.js} +1 -1
  533. package/dist/webcomponents/{p-DnB1x5JE.js → p-D3SYNGyb.js} +1 -1
  534. package/dist/webcomponents/{p-DzFysjCc.js → p-D7js9xfx.js} +1 -1
  535. package/dist/webcomponents/p-DKClunJd.js +1 -0
  536. package/dist/webcomponents/p-DOB09NZD.js +1 -0
  537. package/dist/webcomponents/p-DUdzWNqB.js +1 -0
  538. package/dist/webcomponents/p-D_FOQEGU.js +1 -0
  539. package/dist/webcomponents/p-DaS3t0DL.js +1 -0
  540. package/dist/webcomponents/p-DddGO-XR.js +1 -0
  541. package/dist/webcomponents/p-Dge4w7_c.js +1 -0
  542. package/dist/webcomponents/p-DkWBoLsd.js +1 -0
  543. package/dist/webcomponents/p-DknV-QPT.js +1 -0
  544. package/dist/webcomponents/p-DnX5CZFd.js +1 -0
  545. package/dist/webcomponents/p-DuiQuWNq.js +1 -0
  546. package/dist/webcomponents/p-Dw6NWKHn.js +1 -0
  547. package/dist/webcomponents/p-DzPrenCi.js +1 -0
  548. package/dist/webcomponents/p-NqdaxjDT.js +1 -0
  549. package/dist/webcomponents/p-YDuIVoos.js +1 -0
  550. package/dist/webcomponents/{p-D2ZiLcDE.js → p-Yj41tobi.js} +1 -1
  551. package/dist/webcomponents/{p-BrLVc_85.js → p-_6eQgwfE.js} +1 -1
  552. package/dist/webcomponents/p-a2db11b5.entry.js +1 -0
  553. package/dist/webcomponents/p-a31913e3.entry.js +1 -0
  554. package/dist/webcomponents/p-a4d457e9.entry.js +1 -0
  555. package/dist/webcomponents/{p-a8119fda.entry.js → p-b3e6d27c.entry.js} +1 -1
  556. package/dist/webcomponents/p-b8ee41c1.entry.js +1 -0
  557. package/dist/webcomponents/p-bde749ac.entry.js +1 -0
  558. package/dist/webcomponents/{p-a136ff22.entry.js → p-be51c7c5.entry.js} +1 -1
  559. package/dist/webcomponents/p-bf16b11c.entry.js +1 -0
  560. package/dist/webcomponents/p-ce291c6a.entry.js +1 -0
  561. package/dist/webcomponents/p-d82b509a.entry.js +1 -0
  562. package/dist/webcomponents/p-d9b06582.entry.js +1 -0
  563. package/dist/webcomponents/p-dbc02ba8.entry.js +1 -0
  564. package/dist/webcomponents/p-dcad0df5.entry.js +1 -0
  565. package/dist/webcomponents/{p-59abf1de.entry.js → p-df2ad580.entry.js} +1 -1
  566. package/dist/webcomponents/p-e03630ec.entry.js +1 -0
  567. package/dist/webcomponents/p-e07sVz4Z.js +1 -0
  568. package/dist/webcomponents/p-e563df65.entry.js +1 -0
  569. package/dist/webcomponents/{p-57c89023.entry.js → p-e8294f7e.entry.js} +1 -1
  570. package/dist/webcomponents/p-ea664ada.entry.js +1 -0
  571. package/dist/webcomponents/p-ec9bb3f6.entry.js +1 -0
  572. package/dist/webcomponents/p-ecf6a315.entry.js +1 -0
  573. package/dist/webcomponents/{p-2c7ae3ac.entry.js → p-ef9dcfe1.entry.js} +1 -1
  574. package/dist/webcomponents/{p-33b23638.entry.js → p-f71b1ff0.entry.js} +1 -1
  575. package/dist/webcomponents/{p-99b080d9.entry.js → p-f7e24a51.entry.js} +1 -1
  576. package/dist/webcomponents/{p-5e467788.entry.js → p-ff223825.entry.js} +1 -1
  577. package/dist/webcomponents/p-hDoH7hHP.js +1 -0
  578. package/dist/webcomponents/p-pGzabKc7.js +1 -0
  579. package/dist/webcomponents/p-uLUlLQpP.js +1 -0
  580. package/dist/webcomponents/p-zucQG3cz.js +1 -0
  581. package/dist/webcomponents/webcomponents.esm.js +1 -1
  582. package/package.json +1 -1
  583. package/dist/cjs/app-globals-V2Kpy_OQ.js +0 -5
  584. package/dist/cjs/iframe-input-styles-state-D9vhHzZQ.js +0 -26
  585. package/dist/cjs/terminals-list-params-state-BvG5Ysrg.js +0 -22
  586. package/dist/collection/components/checkout/sezzle-payment-method.js +0 -240
  587. package/dist/esm/app-globals-DQuL1Twl.js +0 -3
  588. package/dist/esm/iframe-input-styles-state-ibYqbF--.js +0 -23
  589. package/dist/esm/terminals-list-params-state-Bn7pL-8x.js +0 -16
  590. package/dist/module/sezzle-payment-method.js +0 -104
  591. package/dist/webcomponents/p-10d41e17.entry.js +0 -1
  592. package/dist/webcomponents/p-16d29d0b.entry.js +0 -1
  593. package/dist/webcomponents/p-22a0b397.entry.js +0 -1
  594. package/dist/webcomponents/p-292da2d4.entry.js +0 -1
  595. package/dist/webcomponents/p-2c8d7aa9.entry.js +0 -1
  596. package/dist/webcomponents/p-3368d3d5.entry.js +0 -1
  597. package/dist/webcomponents/p-3a979295.entry.js +0 -1
  598. package/dist/webcomponents/p-40f7e3af.entry.js +0 -1
  599. package/dist/webcomponents/p-4680f931.entry.js +0 -1
  600. package/dist/webcomponents/p-4a070b7a.entry.js +0 -1
  601. package/dist/webcomponents/p-4b51a896.entry.js +0 -1
  602. package/dist/webcomponents/p-4f8b9b99.entry.js +0 -1
  603. package/dist/webcomponents/p-57fc593a.entry.js +0 -1
  604. package/dist/webcomponents/p-5d81f36e.entry.js +0 -1
  605. package/dist/webcomponents/p-5df5aa41.entry.js +0 -1
  606. package/dist/webcomponents/p-639baa7d.entry.js +0 -1
  607. package/dist/webcomponents/p-6429afb4.entry.js +0 -1
  608. package/dist/webcomponents/p-6n7viK-J.js +0 -1
  609. package/dist/webcomponents/p-70c498d4.entry.js +0 -1
  610. package/dist/webcomponents/p-722c5e42.entry.js +0 -1
  611. package/dist/webcomponents/p-758ce5e5.entry.js +0 -20
  612. package/dist/webcomponents/p-77896e7b.entry.js +0 -1
  613. package/dist/webcomponents/p-77ac321c.entry.js +0 -1
  614. package/dist/webcomponents/p-7d3cf734.entry.js +0 -1
  615. package/dist/webcomponents/p-8183c2d1.entry.js +0 -1
  616. package/dist/webcomponents/p-8ad67f87.entry.js +0 -1
  617. package/dist/webcomponents/p-8c107267.entry.js +0 -1
  618. package/dist/webcomponents/p-935bbc62.entry.js +0 -1
  619. package/dist/webcomponents/p-93df56e1.entry.js +0 -1
  620. package/dist/webcomponents/p-B0cQ2RjH.js +0 -1
  621. package/dist/webcomponents/p-B190pN0v.js +0 -1
  622. package/dist/webcomponents/p-BR7flk4G.js +0 -1
  623. package/dist/webcomponents/p-BjMTOtI1.js +0 -1
  624. package/dist/webcomponents/p-C0IqfGFc.js +0 -1
  625. package/dist/webcomponents/p-C1sOJl-_.js +0 -1
  626. package/dist/webcomponents/p-C5RuuShs.js +0 -1
  627. package/dist/webcomponents/p-COcul8pX.js +0 -1
  628. package/dist/webcomponents/p-CQdeVKF8.js +0 -1
  629. package/dist/webcomponents/p-CaGOSFHG.js +0 -1
  630. package/dist/webcomponents/p-CgxzrbM_.js +0 -1
  631. package/dist/webcomponents/p-Cm_0sqXz.js +0 -1
  632. package/dist/webcomponents/p-Cs0cIpIm.js +0 -1
  633. package/dist/webcomponents/p-Cx60eQXT.js +0 -1
  634. package/dist/webcomponents/p-D4Mv5jCp.js +0 -1
  635. package/dist/webcomponents/p-D6FDxSyt.js +0 -2
  636. package/dist/webcomponents/p-DClC2nMO.js +0 -1
  637. package/dist/webcomponents/p-DDEz7_ad.js +0 -1
  638. package/dist/webcomponents/p-DJzjeg3x.js +0 -1
  639. package/dist/webcomponents/p-DQuL1Twl.js +0 -1
  640. package/dist/webcomponents/p-DR89sFne.js +0 -1
  641. package/dist/webcomponents/p-DVnVdicA.js +0 -1
  642. package/dist/webcomponents/p-DgfzEZny.js +0 -1
  643. package/dist/webcomponents/p-DjGTAHJM.js +0 -1
  644. package/dist/webcomponents/p-DniQ6yo6.js +0 -1
  645. package/dist/webcomponents/p-DvhDilDP.js +0 -1
  646. package/dist/webcomponents/p-SdntD1xf.js +0 -1
  647. package/dist/webcomponents/p-U30-0DaA.js +0 -1
  648. package/dist/webcomponents/p-_pH3Hg4P.js +0 -1
  649. package/dist/webcomponents/p-a0662195.entry.js +0 -1
  650. package/dist/webcomponents/p-a33cfcfe.entry.js +0 -1
  651. package/dist/webcomponents/p-a6722f44.entry.js +0 -1
  652. package/dist/webcomponents/p-a94952f6.entry.js +0 -1
  653. package/dist/webcomponents/p-abdae97a.entry.js +0 -1
  654. package/dist/webcomponents/p-af09b6ee.entry.js +0 -1
  655. package/dist/webcomponents/p-b0d3aab7.entry.js +0 -1
  656. package/dist/webcomponents/p-b1586aa2.entry.js +0 -1
  657. package/dist/webcomponents/p-c01544c3.entry.js +0 -1
  658. package/dist/webcomponents/p-c3c7be24.entry.js +0 -1
  659. package/dist/webcomponents/p-c5628e09.entry.js +0 -1
  660. package/dist/webcomponents/p-c5b6b76f.entry.js +0 -1
  661. package/dist/webcomponents/p-c6490254.entry.js +0 -1
  662. package/dist/webcomponents/p-cNABKY0P.js +0 -1
  663. package/dist/webcomponents/p-ceefc483.entry.js +0 -1
  664. package/dist/webcomponents/p-clwP6zk3.js +0 -1
  665. package/dist/webcomponents/p-d8b8b17c.entry.js +0 -1
  666. package/dist/webcomponents/p-e2bfdba5.entry.js +0 -1
  667. package/dist/webcomponents/p-e73fe424.entry.js +0 -1
  668. package/dist/webcomponents/p-eHhqPyVW.js +0 -1
  669. package/dist/webcomponents/p-f23d4fdb.entry.js +0 -1
  670. package/dist/webcomponents/p-ffd197c2.entry.js +0 -1
  671. package/dist/webcomponents/p-gZGxqQgQ.js +0 -1
  672. package/dist/webcomponents/p-l3o3Ndc0.js +0 -1
  673. package/dist/webcomponents/p-r__elyG4.js +0 -1
  674. package/dist/webcomponents/p-um3YdOwW.js +0 -1
  675. package/dist/webcomponents/p-wqUvt1PB.js +0 -1
@@ -0,0 +1,37 @@
1
+ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
+ import { t as text } from './parts.js';
3
+ import { c as formatCurrency } from './utils2.js';
4
+ import { s as state } from './checkout.store.js';
5
+ import { S as StyledHost } from './styled-host.js';
6
+ import './details.js';
7
+ import './event-types.js';
8
+
9
+ const Summary = /*@__PURE__*/ proxyCustomElement(class Summary extends HTMLElement {
10
+ constructor() {
11
+ super();
12
+ this.__registerHost();
13
+ this.__attachShadow();
14
+ }
15
+ render() {
16
+ return (h(StyledHost, { key: '9a2eea1693287ad73dfedd3ddc24e949e9d75148' }, h("section", { key: '1943be6cef0c4a1c830ddfc14d893c3906482534' }, h("div", { key: 'cf3f41d3dd3c9829d93d7e56e3d2dfabbd99ccef' }, h("div", { key: 'b5bc944a5310252dc0720e3e7d709f1a57f898c8', part: text }, state === null || state === void 0 ? void 0 : state.paymentDescription), h("div", { key: 'dbe53880d7c3ff8d4513a570e1b024f1e2f43028' }, h("span", { key: 'd8986a9265463d8f9d7f62598cc4ec3203081c09', part: text }, "Total"), "\u00A0", h("span", { key: '32cbc6e259fdee2c71ad72fcf59ab157704c4758', part: text }, formatCurrency(+(state === null || state === void 0 ? void 0 : state.totalAmount))))))));
17
+ }
18
+ }, [1, "justifi-checkout-summary"]);
19
+ function defineCustomElement$1() {
20
+ if (typeof customElements === "undefined") {
21
+ return;
22
+ }
23
+ const components = ["justifi-checkout-summary"];
24
+ components.forEach(tagName => { switch (tagName) {
25
+ case "justifi-checkout-summary":
26
+ if (!customElements.get(tagName)) {
27
+ customElements.define(tagName, Summary);
28
+ }
29
+ break;
30
+ } });
31
+ }
32
+ defineCustomElement$1();
33
+
34
+ const JustifiCheckoutSummary = Summary;
35
+ const defineCustomElement = defineCustomElement$1;
36
+
37
+ export { JustifiCheckoutSummary, defineCustomElement };
@@ -1,80 +1,26 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkout.js';
3
- import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
2
+ import { m as makeGetCheckout, a as makeCheckoutComplete } from './checkout-actions.js';
4
3
  import { C as CheckoutService } from './checkout.service.js';
5
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
6
- import { d as defineCustomElement$j } from './bank-account-form2.js';
7
- import { d as defineCustomElement$i } from './card-form2.js';
8
- import { d as defineCustomElement$h } from './custom-popper2.js';
9
- import { d as defineCustomElement$g } from './form-control-checkbox2.js';
10
- import { d as defineCustomElement$f } from './form-control-help-text2.js';
11
- import { d as defineCustomElement$e } from './form-control-radio2.js';
12
- import { d as defineCustomElement$d } from './form-control-select2.js';
13
- import { d as defineCustomElement$c } from './form-control-text2.js';
14
- import { d as defineCustomElement$b } from './form-control-tooltip2.js';
15
- import { d as defineCustomElement$a } from './hidden-input2.js';
16
- import { d as defineCustomElement$9 } from './iframe-input2.js';
17
- import { d as defineCustomElement$8 } from './billing-form.js';
18
- import { d as defineCustomElement$7 } from './checkout-core.js';
19
- import { d as defineCustomElement$6 } from './new-payment-method.js';
20
- import { d as defineCustomElement$5 } from './payment-method-options.js';
21
- import { d as defineCustomElement$4 } from './save-new-payment-method.js';
22
- import { d as defineCustomElement$3 } from './saved-payment-method.js';
23
- import { d as defineCustomElement$2 } from './sezzle-payment-method.js';
24
-
25
- const makeGetCheckout = ({ authToken, checkoutId, service }) => async ({ onSuccess, onError }) => {
26
- var _a;
27
- try {
28
- const response = await service.fetchCheckout(authToken, checkoutId);
29
- if (!response.error) {
30
- const checkout = response.data;
31
- onSuccess({ checkout });
32
- }
33
- else {
34
- const responseError = getErrorMessage(response.error);
35
- const code = getErrorCode((_a = response.error) === null || _a === void 0 ? void 0 : _a.code);
36
- return onError({
37
- error: responseError,
38
- code,
39
- severity: ComponentErrorSeverity.ERROR,
40
- });
41
- }
42
- }
43
- catch (error) {
44
- const code = getErrorCode(error === null || error === void 0 ? void 0 : error.code);
45
- return onError({
46
- error: error.message || error,
47
- code,
48
- severity: ComponentErrorSeverity.ERROR,
49
- });
50
- }
51
- };
52
- const makeCheckoutComplete = ({ authToken, checkoutId, service }) => async ({ payment, onSuccess, onError }) => {
53
- var _a;
54
- try {
55
- const response = await service.complete(authToken, checkoutId, payment);
56
- if (!response.error) {
57
- onSuccess(response);
58
- }
59
- else {
60
- const responseError = getErrorMessage(response.error);
61
- const code = getErrorCode((_a = response.error) === null || _a === void 0 ? void 0 : _a.code);
62
- return onError({
63
- error: responseError,
64
- code,
65
- severity: ComponentErrorSeverity.ERROR,
66
- });
67
- }
68
- }
69
- catch (error) {
70
- const code = getErrorCode(error === null || error === void 0 ? void 0 : error.code);
71
- return onError({
72
- error: error.message || error,
73
- code,
74
- severity: ComponentErrorSeverity.ERROR,
75
- });
76
- }
77
- };
4
+ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkout.js';
5
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './Analytics.js';
6
+ import { s as state } from './checkout.store.js';
7
+ import { d as defineCustomElement$i } from './bank-account-form2.js';
8
+ import { d as defineCustomElement$h } from './card-form2.js';
9
+ import { d as defineCustomElement$g } from './custom-popper2.js';
10
+ import { d as defineCustomElement$f } from './form-control-checkbox2.js';
11
+ import { d as defineCustomElement$e } from './form-control-help-text2.js';
12
+ import { d as defineCustomElement$d } from './form-control-radio2.js';
13
+ import { d as defineCustomElement$c } from './form-control-select2.js';
14
+ import { d as defineCustomElement$b } from './form-control-text2.js';
15
+ import { d as defineCustomElement$a } from './form-control-tooltip2.js';
16
+ import { d as defineCustomElement$9 } from './hidden-input2.js';
17
+ import { d as defineCustomElement$8 } from './iframe-input2.js';
18
+ import { d as defineCustomElement$7 } from './billing-form.js';
19
+ import { d as defineCustomElement$6 } from './checkout-core.js';
20
+ import { d as defineCustomElement$5 } from './new-payment-method.js';
21
+ import { d as defineCustomElement$4 } from './payment-method-options.js';
22
+ import { d as defineCustomElement$3 } from './save-new-payment-method.js';
23
+ import { d as defineCustomElement$2 } from './saved-payment-method.js';
78
24
 
79
25
  const Checkout = /*@__PURE__*/ proxyCustomElement(class Checkout extends HTMLElement {
80
26
  constructor() {
@@ -84,6 +30,12 @@ const Checkout = /*@__PURE__*/ proxyCustomElement(class Checkout extends HTMLEle
84
30
  this.loadedEvent = createEvent(this, "loaded", 7);
85
31
  this.errorMessage = '';
86
32
  }
33
+ connectedCallback() {
34
+ if (this.authToken && this.checkoutId) {
35
+ state.checkoutId = this.checkoutId;
36
+ state.authToken = this.authToken;
37
+ }
38
+ }
87
39
  componentWillLoad() {
88
40
  checkPkgVersion();
89
41
  this.analytics = new JustifiAnalytics(this);
@@ -116,6 +68,8 @@ const Checkout = /*@__PURE__*/ proxyCustomElement(class Checkout extends HTMLEle
116
68
  }
117
69
  }
118
70
  propChanged() {
71
+ state.authToken = this.authToken;
72
+ state.checkoutId = this.checkoutId;
119
73
  this.initializeGetCheckout();
120
74
  }
121
75
  async fillBillingForm(fields) {
@@ -126,11 +80,11 @@ const Checkout = /*@__PURE__*/ proxyCustomElement(class Checkout extends HTMLEle
126
80
  return { isValid };
127
81
  }
128
82
  render() {
129
- return (h("justifi-checkout-core", { key: 'c1c7cf4f1aadce928e3ed6a6ae05a7824d875d68', getCheckout: this.getCheckout, authToken: this.authToken, complete: this.complete, disableCreditCard: this.disableCreditCard, disableBankAccount: this.disableBankAccount, disableBnpl: this.disableBnpl, disablePaymentMethodGroup: this.disablePaymentMethodGroup, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, ref: el => {
83
+ return (h("justifi-checkout-core", { key: '3aaf3ff84469870995456a56ac4c2b5806a23802', getCheckout: this.getCheckout, authToken: this.authToken, complete: this.complete, disableCreditCard: this.disableCreditCard, disableBankAccount: this.disableBankAccount, disableBnpl: this.disableBnpl, disablePaymentMethodGroup: this.disablePaymentMethodGroup, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, ref: el => {
130
84
  if (el) {
131
85
  this.checkoutCoreRef = el;
132
86
  }
133
- } }, h("div", { key: '7a4be7220e5eb199f94c5086c23e10dce68d4854', slot: "insurance" }, h("slot", { key: 'f5db23ef6dc82d0521518ea2dbfe99d8c8b6c2cc', name: "insurance" }))));
87
+ } }, h("div", { key: 'ce9694f701ae7123a4ee5fbae76e9bbef1f7250c', slot: "insurance" }, h("slot", { key: '2049b12cfc42cc42c46be83e6305317e97ae5cba', name: "insurance" }))));
134
88
  }
135
89
  static get watchers() { return {
136
90
  "authToken": ["propChanged"],
@@ -158,7 +112,7 @@ function defineCustomElement$1() {
158
112
  if (typeof customElements === "undefined") {
159
113
  return;
160
114
  }
161
- const components = ["justifi-checkout", "bank-account-form", "card-form", "custom-popper", "form-control-checkbox", "form-control-help-text", "form-control-radio", "form-control-select", "form-control-text", "form-control-tooltip", "hidden-input", "iframe-input", "justifi-billing-form", "justifi-checkout-core", "justifi-new-payment-method", "justifi-payment-method-options", "justifi-save-new-payment-method", "justifi-saved-payment-method", "justifi-sezzle-payment-method"];
115
+ const components = ["justifi-checkout", "bank-account-form", "card-form", "custom-popper", "form-control-checkbox", "form-control-help-text", "form-control-radio", "form-control-select", "form-control-text", "form-control-tooltip", "hidden-input", "iframe-input", "justifi-billing-form", "justifi-checkout-core", "justifi-new-payment-method", "justifi-payment-method-options", "justifi-save-new-payment-method", "justifi-saved-payment-method"];
162
116
  components.forEach(tagName => { switch (tagName) {
163
117
  case "justifi-checkout":
164
118
  if (!customElements.get(tagName)) {
@@ -166,91 +120,86 @@ function defineCustomElement$1() {
166
120
  }
167
121
  break;
168
122
  case "bank-account-form":
169
- if (!customElements.get(tagName)) {
170
- defineCustomElement$j();
171
- }
172
- break;
173
- case "card-form":
174
123
  if (!customElements.get(tagName)) {
175
124
  defineCustomElement$i();
176
125
  }
177
126
  break;
178
- case "custom-popper":
127
+ case "card-form":
179
128
  if (!customElements.get(tagName)) {
180
129
  defineCustomElement$h();
181
130
  }
182
131
  break;
183
- case "form-control-checkbox":
132
+ case "custom-popper":
184
133
  if (!customElements.get(tagName)) {
185
134
  defineCustomElement$g();
186
135
  }
187
136
  break;
188
- case "form-control-help-text":
137
+ case "form-control-checkbox":
189
138
  if (!customElements.get(tagName)) {
190
139
  defineCustomElement$f();
191
140
  }
192
141
  break;
193
- case "form-control-radio":
142
+ case "form-control-help-text":
194
143
  if (!customElements.get(tagName)) {
195
144
  defineCustomElement$e();
196
145
  }
197
146
  break;
198
- case "form-control-select":
147
+ case "form-control-radio":
199
148
  if (!customElements.get(tagName)) {
200
149
  defineCustomElement$d();
201
150
  }
202
151
  break;
203
- case "form-control-text":
152
+ case "form-control-select":
204
153
  if (!customElements.get(tagName)) {
205
154
  defineCustomElement$c();
206
155
  }
207
156
  break;
208
- case "form-control-tooltip":
157
+ case "form-control-text":
209
158
  if (!customElements.get(tagName)) {
210
159
  defineCustomElement$b();
211
160
  }
212
161
  break;
213
- case "hidden-input":
162
+ case "form-control-tooltip":
214
163
  if (!customElements.get(tagName)) {
215
164
  defineCustomElement$a();
216
165
  }
217
166
  break;
218
- case "iframe-input":
167
+ case "hidden-input":
219
168
  if (!customElements.get(tagName)) {
220
169
  defineCustomElement$9();
221
170
  }
222
171
  break;
223
- case "justifi-billing-form":
172
+ case "iframe-input":
224
173
  if (!customElements.get(tagName)) {
225
174
  defineCustomElement$8();
226
175
  }
227
176
  break;
228
- case "justifi-checkout-core":
177
+ case "justifi-billing-form":
229
178
  if (!customElements.get(tagName)) {
230
179
  defineCustomElement$7();
231
180
  }
232
181
  break;
233
- case "justifi-new-payment-method":
182
+ case "justifi-checkout-core":
234
183
  if (!customElements.get(tagName)) {
235
184
  defineCustomElement$6();
236
185
  }
237
186
  break;
238
- case "justifi-payment-method-options":
187
+ case "justifi-new-payment-method":
239
188
  if (!customElements.get(tagName)) {
240
189
  defineCustomElement$5();
241
190
  }
242
191
  break;
243
- case "justifi-save-new-payment-method":
192
+ case "justifi-payment-method-options":
244
193
  if (!customElements.get(tagName)) {
245
194
  defineCustomElement$4();
246
195
  }
247
196
  break;
248
- case "justifi-saved-payment-method":
197
+ case "justifi-save-new-payment-method":
249
198
  if (!customElements.get(tagName)) {
250
199
  defineCustomElement$3();
251
200
  }
252
201
  break;
253
- case "justifi-sezzle-payment-method":
202
+ case "justifi-saved-payment-method":
254
203
  if (!customElements.get(tagName)) {
255
204
  defineCustomElement$2();
256
205
  }
@@ -8,7 +8,7 @@ import './Refund.js';
8
8
  import './Document.js';
9
9
  import './Business.js';
10
10
  import { f as filterParams, p as propsParams, c as clearParams } from './checkouts-list-params-state.js';
11
- import { a2 as checkoutsListFilterMenu, a3 as statusCheckoutsListFilterParam, a4 as paymentModeCheckoutsListFilterParam } from './parts.js';
11
+ import { a3 as checkoutsListFilterMenu, a4 as statusCheckoutsListFilterParam, a5 as paymentModeCheckoutsListFilterParam } from './parts.js';
12
12
  import { S as StyledHost } from './styled-host.js';
13
13
  import './details.js';
14
14
  import './event-types.js';
@@ -55,7 +55,7 @@ const CheckoutsListFilters = /*@__PURE__*/ proxyCustomElement(class CheckoutsLis
55
55
  }
56
56
  render() {
57
57
  const filterMenuParams = Object.assign({}, filterParams);
58
- return (h(StyledHost, { key: 'bcae6fee83117dde40a29ebcab8e85089bcdc37e' }, h("table-filters-menu", { key: '56c6a5d205836fe010917f0f0d978507cf227a3f', params: filterMenuParams, clearParams: clearParams, part: checkoutsListFilterMenu }, h("div", { key: 'c82691f9b863368a2b7523dc7d9d348c3fe2e776', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '9abbb01e53139ebd376a638400b199d88288b175', class: "p-2" }, h("form-control-select", { key: '3859777cf1f4ee451a65440a90dfe9e5f4a2f069', name: "status", label: "Status", options: this.checkoutStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.checkoutStatus || filterParams.status, disabled: !!this.checkoutStatus, part: statusCheckoutsListFilterParam })), h("div", { key: '3c23d4b820ea2424d6ddc01e6952c8c46cd7d975', class: "p-2" }, h("form-control-select", { key: 'c376228f82419b959b3fefa6b32d25c584c6ea3b', name: "payment_mode", label: "Payment Mode", options: this.checkoutPaymentModeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentMode || filterParams.payment_mode, disabled: !!this.paymentMode, part: paymentModeCheckoutsListFilterParam }))))));
58
+ return (h(StyledHost, { key: '75225e92af6efb7185735a63adf83ed7699452b1' }, h("table-filters-menu", { key: '086762cdd3a08d9221be6d374d4fd4d1b82c717f', params: filterMenuParams, clearParams: clearParams, part: checkoutsListFilterMenu }, h("div", { key: '23f5d2938419a2e92cbacf79d82a3893b6d256c2', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '43bf85dccce2233d59720defbea2897df488d880', class: "p-2" }, h("form-control-select", { key: '61c381ec0a205245311ba2e490a03b1e571d366b', name: "status", label: "Status", options: this.checkoutStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.checkoutStatus || filterParams.status, disabled: !!this.checkoutStatus, part: statusCheckoutsListFilterParam })), h("div", { key: '4d01e881ca741302be99559209ab383aad4ee739', class: "p-2" }, h("form-control-select", { key: '82a1c6c3cfa9c77bc656aff5d7b0130436a54042', name: "payment_mode", label: "Payment Mode", options: this.checkoutPaymentModeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentMode || filterParams.payment_mode, disabled: !!this.paymentMode, part: paymentModeCheckoutsListFilterParam }))))));
59
59
  }
60
60
  }, [1, "justifi-checkouts-list-filters", {
61
61
  "checkoutStatus": [1, "checkout-status"],
@@ -8,7 +8,7 @@ import './Refund.js';
8
8
  import './Document.js';
9
9
  import './Business.js';
10
10
  import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
11
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
11
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './Analytics.js';
12
12
  import { C as CheckoutService } from './checkout.service.js';
13
13
  import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts.js';
14
14
  import { S as StyledHost } from './styled-host.js';
@@ -103,7 +103,7 @@ const CheckoutsList = /*@__PURE__*/ proxyCustomElement(class CheckoutsList exten
103
103
  }
104
104
  }
105
105
  render() {
106
- return (h(StyledHost, { key: 'c76ca3b186023ebea3ac3fe0cf6599786a2f2ea7' }, h("checkouts-list-core", { key: '484d31c0b0434181b3bd69cb9c3b6810aa0f2983', getCheckouts: this.getCheckouts, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
106
+ return (h(StyledHost, { key: '0e9e50e18983dad43cfab19f2271678d3f5e6abd' }, h("checkouts-list-core", { key: '6f128cc756477ff64638625d9a9ff9a5b4533948', getCheckouts: this.getCheckouts, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
107
107
  }
108
108
  static get watchers() { return {
109
109
  "accountId": ["propChanged"],
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
2
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkout.js';
3
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
3
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './Analytics.js';
4
4
  import { D as Dispute } from './Payment.js';
5
5
  import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
6
6
  import { D as DisputeService } from './dispute-response-actions.js';
@@ -95,7 +95,7 @@ const DisputeManagement = /*@__PURE__*/ proxyCustomElement(class DisputeManageme
95
95
  }
96
96
  }
97
97
  render() {
98
- return (h("justifi-dispute-management-core", { key: '5abe4c29317f9baa7fc40d82e2cd533de321d58f', getDispute: this.getDispute, disputeId: this.disputeId, authToken: this.authToken, "onError-event": this.handleErrorEvent }));
98
+ return (h("justifi-dispute-management-core", { key: 'e19f33cd7106c3c44fb86faeef743c62ff9004b9', getDispute: this.getDispute, disputeId: this.disputeId, authToken: this.authToken, "onError-event": this.handleErrorEvent }));
99
99
  }
100
100
  static get watchers() { return {
101
101
  "disputeId": ["propChanged"],
@@ -8,7 +8,7 @@ import './Document.js';
8
8
  import './Business.js';
9
9
  import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
10
10
  import { E as ErrorState } from './utils.js';
11
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
11
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './Analytics.js';
12
12
  import { d as defineCustomElement$2 } from './gross-payment-chart-core2.js';
13
13
 
14
14
  const api = Api();
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface JustifiModularCheckout extends Components.JustifiModularCheckout, HTMLElement {}
4
+ export const JustifiModularCheckout: {
5
+ prototype: JustifiModularCheckout;
6
+ new (): JustifiModularCheckout;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,219 @@
1
+ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
+ import { s as state } from './checkout.store.js';
3
+ import { J as JustifiAnalytics, c as checkPkgVersion } from './Analytics.js';
4
+ import './config-state.js';
5
+ import './utils2.js';
6
+ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkout.js';
7
+ import './Pagination.js';
8
+ import './Payment.js';
9
+ import './Refund.js';
10
+ import './Document.js';
11
+ import './Business.js';
12
+ import { m as makeGetCheckout, a as makeCheckoutComplete } from './checkout-actions.js';
13
+ import { C as CheckoutService } from './checkout.service.js';
14
+
15
+ const CheckoutWrapper = /*@__PURE__*/ proxyCustomElement(class CheckoutWrapper extends HTMLElement {
16
+ constructor() {
17
+ super();
18
+ this.__registerHost();
19
+ this.errorEvent = createEvent(this, "error-event", 7);
20
+ this.checkoutComplete = createEvent(this, "checkout-complete-event", 7);
21
+ this.savePaymentMethod = false;
22
+ }
23
+ connectedCallback() {
24
+ this.observer = new MutationObserver(() => {
25
+ this.queryFormRefs();
26
+ });
27
+ this.observer.observe(this.hostEl, {
28
+ childList: true,
29
+ subtree: true
30
+ });
31
+ state.checkoutId = this.checkoutId;
32
+ const config = {
33
+ authToken: this.authToken,
34
+ checkoutId: this.checkoutId,
35
+ service: new CheckoutService()
36
+ };
37
+ this.getCheckout = makeGetCheckout(config);
38
+ this.completeCheckout = makeCheckoutComplete(config);
39
+ }
40
+ componentWillLoad() {
41
+ this.analytics = new JustifiAnalytics(this);
42
+ checkPkgVersion();
43
+ state.authToken = this.authToken;
44
+ state.accountId = this.accountId;
45
+ this.fetchCheckout();
46
+ }
47
+ componentDidLoad() {
48
+ this.queryFormRefs();
49
+ }
50
+ disconnectedCallback() {
51
+ var _a;
52
+ (_a = this.observer) === null || _a === void 0 ? void 0 : _a.disconnect();
53
+ }
54
+ fetchCheckout() {
55
+ if (this.getCheckout) {
56
+ this.getCheckout({
57
+ onSuccess: ({ checkout }) => {
58
+ var _a, _b, _c, _d;
59
+ state.paymentMethods = checkout.payment_methods;
60
+ state.paymentMethodGroupId = checkout.payment_method_group_id;
61
+ state.paymentDescription = checkout.payment_description;
62
+ state.totalAmount = checkout.total_amount;
63
+ state.paymentAmount = checkout.payment_amount;
64
+ state.bnplEnabled = checkout.payment_settings.bnpl_payments;
65
+ state.bnplProviderClientId = (_a = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _a === void 0 ? void 0 : _a.provider_client_id;
66
+ state.bnplProviderMode = (_b = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _b === void 0 ? void 0 : _b.provider_mode;
67
+ state.bnplProviderApiVersion = (_c = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _c === void 0 ? void 0 : _c.provider_api_version;
68
+ state.bnplProviderCheckoutUrl = (_d = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _d === void 0 ? void 0 : _d.provider_checkout_url;
69
+ },
70
+ onError: (error) => {
71
+ this.errorEvent.emit({
72
+ message: error.message,
73
+ errorCode: ComponentErrorCodes.FETCH_ERROR,
74
+ severity: ComponentErrorSeverity.ERROR,
75
+ });
76
+ }
77
+ });
78
+ }
79
+ }
80
+ queryFormRefs() {
81
+ this.paymentMethodFormRef = this.hostEl.querySelector('justifi-card-form, justifi-bank-account-form');
82
+ this.billingInformationFormRef = this.hostEl.querySelector('justifi-billing-information-form, justifi-postal-code-form');
83
+ this.insuranceFormRef = this.hostEl.querySelector('justifi-season-interruption-insurance');
84
+ this.sezzlePaymentMethodRef = this.hostEl.querySelector('justifi-sezzle-payment-method');
85
+ }
86
+ async tokenizePaymentMethod(tokenizeArgs) {
87
+ var _a, _b;
88
+ const billingInfoValues = (_b = await ((_a = this.billingInformationFormRef) === null || _a === void 0 ? void 0 : _a.getValues())) !== null && _b !== void 0 ? _b : {};
89
+ const combinedBillingInfo = Object.assign(Object.assign({}, tokenizeArgs), billingInfoValues);
90
+ const paymentMethodMetadata = Object.assign({ accountId: this.accountId, payment_method_group_id: undefined }, combinedBillingInfo);
91
+ if (this.savePaymentMethod) {
92
+ paymentMethodMetadata.payment_method_group_id = state.paymentMethodGroupId;
93
+ }
94
+ return this.paymentMethodFormRef.tokenize({
95
+ clientId: this.authToken,
96
+ paymentMethodMetadata,
97
+ account: this.accountId,
98
+ });
99
+ }
100
+ async getPaymentMethod(submitCheckoutArgs) {
101
+ if (!this.paymentMethodFormRef) {
102
+ return state.selectedPaymentMethod;
103
+ }
104
+ const { error, id: token } = await this.tokenizePaymentMethod(submitCheckoutArgs);
105
+ if (error) {
106
+ this.errorEvent.emit({
107
+ errorCode: error.code,
108
+ message: error.message,
109
+ severity: ComponentErrorSeverity.ERROR,
110
+ });
111
+ return undefined;
112
+ }
113
+ return token;
114
+ }
115
+ async validate() {
116
+ var _a, _b;
117
+ const promises = [
118
+ (_a = this.paymentMethodFormRef) === null || _a === void 0 ? void 0 : _a.validate(),
119
+ (_b = this.billingInformationFormRef) === null || _b === void 0 ? void 0 : _b.validate()
120
+ ];
121
+ if (this.insuranceFormRef) {
122
+ promises.push(this.insuranceFormRef.validate());
123
+ }
124
+ const validationResults = await Promise.all(promises);
125
+ return validationResults.every(result => (result === null || result === void 0 ? void 0 : result.isValid) !== false);
126
+ }
127
+ async submitCheckout(submitCheckoutArgs) {
128
+ var _a;
129
+ const isValid = await this.validate();
130
+ if (!isValid) {
131
+ this.errorEvent.emit({
132
+ message: 'Please fill in all required fields.',
133
+ errorCode: ComponentErrorCodes.VALIDATION_ERROR,
134
+ severity: ComponentErrorSeverity.ERROR,
135
+ });
136
+ return;
137
+ }
138
+ let payment;
139
+ if (state.selectedPaymentMethod === 'sezzle') {
140
+ const insuranceValidation = this.insuranceFormRef ? await this.insuranceFormRef.validate() : { isValid: true };
141
+ const sezzleResult = await this.sezzlePaymentMethodRef.resolvePaymentMethod(insuranceValidation);
142
+ if (sezzleResult.error) {
143
+ this.errorEvent.emit({
144
+ message: sezzleResult.error.message,
145
+ errorCode: ComponentErrorCodes.TOKENIZE_ERROR,
146
+ severity: ComponentErrorSeverity.ERROR,
147
+ });
148
+ return;
149
+ }
150
+ else if (((_a = sezzleResult.bnpl) === null || _a === void 0 ? void 0 : _a.status) === 'success') {
151
+ payment = {
152
+ payment_mode: 'bnpl',
153
+ payment_token: undefined,
154
+ };
155
+ }
156
+ }
157
+ else {
158
+ const paymentMethod = await this.getPaymentMethod(submitCheckoutArgs);
159
+ if (!paymentMethod) {
160
+ this.errorEvent.emit({
161
+ message: 'Payment method tokenization failed.',
162
+ errorCode: ComponentErrorCodes.TOKENIZE_ERROR,
163
+ severity: ComponentErrorSeverity.ERROR,
164
+ });
165
+ return;
166
+ }
167
+ payment = {
168
+ payment_mode: 'ecom',
169
+ payment_token: paymentMethod,
170
+ };
171
+ }
172
+ this.completeCheckout({
173
+ payment,
174
+ onSuccess: ({ checkout }) => {
175
+ this.checkoutComplete.emit({
176
+ checkout,
177
+ message: 'Checkout completed successfully',
178
+ });
179
+ },
180
+ onError: (error) => {
181
+ this.errorEvent.emit({
182
+ message: error.message,
183
+ errorCode: ComponentErrorCodes.COMPLETE_CHECKOUT_ERROR,
184
+ severity: ComponentErrorSeverity.ERROR,
185
+ });
186
+ },
187
+ });
188
+ }
189
+ render() {
190
+ return (h(Host, { key: '12db8b2a4ea3308772604d50e9223e48dda0f26f' }));
191
+ }
192
+ get hostEl() { return this; }
193
+ }, [0, "justifi-modular-checkout", {
194
+ "authToken": [1, "auth-token"],
195
+ "accountId": [1, "account-id"],
196
+ "checkoutId": [1, "checkout-id"],
197
+ "savePaymentMethod": [4, "save-payment-method"],
198
+ "validate": [64],
199
+ "submitCheckout": [64]
200
+ }]);
201
+ function defineCustomElement$1() {
202
+ if (typeof customElements === "undefined") {
203
+ return;
204
+ }
205
+ const components = ["justifi-modular-checkout"];
206
+ components.forEach(tagName => { switch (tagName) {
207
+ case "justifi-modular-checkout":
208
+ if (!customElements.get(tagName)) {
209
+ customElements.define(tagName, CheckoutWrapper);
210
+ }
211
+ break;
212
+ } });
213
+ }
214
+ defineCustomElement$1();
215
+
216
+ const JustifiModularCheckout = CheckoutWrapper;
217
+ const defineCustomElement = defineCustomElement$1;
218
+
219
+ export { JustifiModularCheckout, defineCustomElement };
@@ -1,9 +1,9 @@
1
1
  import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
2
- import { X as heading4, _ as heading5, a0 as buttonPrimary, t as text } from './parts.js';
2
+ import { X as heading4, _ as heading5, a1 as buttonPrimary, t as text } from './parts.js';
3
3
  import { S as StyledHost } from './styled-host.js';
4
4
  import './details.js';
5
5
  import './event-types.js';
6
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
6
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './Analytics.js';
7
7
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkout.js';
8
8
  import { B as BusinessService } from './business.service.js';
9
9
  import { a as Business } from './Business.js';
@@ -232,7 +232,7 @@ const OrderTerminals = /*@__PURE__*/ proxyCustomElement(class OrderTerminals ext
232
232
  return (h("div", { class: "mt-3" }, h("div", { class: "text-end" }, "Order limit: ", this.orderLimit), h("div", { class: "d-flex justify-content-end mt-3" }, h("button", { class: "btn btn-primary submit-btn", onClick: this.submitOrder.bind(this), disabled: this.order.totalQuantity === 0 || this.submitting, part: buttonPrimary }, this.submitting ? 'Submitting...' : this.submitButtonText))));
233
233
  }
234
234
  render() {
235
- return (h(StyledHost, { key: '95d4b374036e4713216ce61e87571a607b8c3f0a' }, h("div", { key: '3e57b055db0d1bf26b9eb38a78fa57493afd3af3', part: text }, this.renderLoading(), this.renderBusinessDetails(), this.renderTerminals(), this.renderOrderSection())));
235
+ return (h(StyledHost, { key: '80d01331179298720ebc453702a6db644ea51ff4' }, h("div", { key: '895f5315bf90607eae80c6cd471d8adcab542d14', part: text }, this.renderLoading(), this.renderBusinessDetails(), this.renderTerminals(), this.renderOrderSection())));
236
236
  }
237
237
  }, [1, "justifi-order-terminals", {
238
238
  "businessId": [1, "business-id"],
@@ -3,7 +3,7 @@ import { P as PaymentService } from './payment.service.js';
3
3
  import { m as makeGetPaymentDetails } from './get-payment-details.js';
4
4
  import { E as ErrorState } from './utils.js';
5
5
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkout.js';
6
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
6
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './Analytics.js';
7
7
  import { d as defineCustomElement$3 } from './details.js';
8
8
  import { d as defineCustomElement$2 } from './payment-details-core2.js';
9
9
 
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
2
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './Analytics.js';
3
3
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkout.js';
4
4
  import { m as makeGetBusiness, g as makePostProvisioning } from './payment-provisioning-actions.js';
5
5
  import { B as BusinessService } from './business.service.js';