@justifi/webcomponents 5.7.2 → 5.7.3-rc-02

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 (689) hide show
  1. package/dist/cjs/{Api-Dp4CW5K6.js → Api-BTdkb3Zh.js} +1 -1
  2. package/dist/cjs/{Checkout-TZnRz3-3.js → Checkout-BTgAlgVL.js} +4 -6
  3. package/dist/cjs/{ComponentError-C4MdBBMe.js → ComponentError-CEv9ltwy.js} +2 -0
  4. package/dist/cjs/{Document-Qt0qiXeh.js → Payment-D5UynU2f.js} +0 -56
  5. package/dist/cjs/{Refund-BDFOEJv_.js → Refund-BFE-2OxN.js} +56 -0
  6. package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
  7. package/dist/cjs/{badge-BxoJOyTJ.js → badge-sO_Hcamo.js} +1 -1
  8. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +12 -12
  9. package/dist/cjs/bank-account-form.cjs.entry.js +63 -0
  10. package/dist/cjs/{business-additional-questions-schema-JlysTRE3.js → business-additional-questions-schema-e3GCIHk5.js} +1 -1
  11. package/dist/cjs/business-details-core.cjs.entry.js +4 -4
  12. package/dist/cjs/{business-identity-schema-BksYFWls.js → business-identity-schema-Diqj_WVQ.js} +1 -1
  13. package/dist/cjs/{business.service-DMIMZpx4.js → business.service-DNoCHqtI.js} +5 -5
  14. package/dist/cjs/{button-BPFSRx4d.js → button-CCZd8WSY.js} +1 -1
  15. package/dist/cjs/card-form.cjs.entry.js +71 -0
  16. package/dist/cjs/{check-pkg-version-hqYwYpQq.js → check-pkg-version-CgQ8N_ta.js} +6 -6
  17. package/dist/cjs/checkout-actions-CRbQgLn0.js +61 -0
  18. package/dist/cjs/{checkout.service-DKH8NODe.js → checkout.service-C3R0uykH.js} +5 -5
  19. package/dist/cjs/checkout.store-osqdxFMq.js +29 -0
  20. package/dist/cjs/checkouts-list-core.cjs.entry.js +13 -13
  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 → custom-popper_2.cjs.entry.js} +3 -103
  25. package/dist/cjs/{dispute.service-8j6tLV4i.js → dispute.service-CaA-mq-i.js} +5 -5
  26. package/dist/cjs/form-alert_5.cjs.entry.js +1 -1
  27. package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
  28. package/dist/cjs/form-control-date.cjs.entry.js +4 -4
  29. package/dist/cjs/{form-control-error-text-D9XDyFoW.js → form-control-error-text-DPDsFdAT.js} +1 -1
  30. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
  31. package/dist/cjs/{form-control-help-text-J_boqSMc.js → form-control-help-text-CT5HzEnX.js} +1 -1
  32. package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
  33. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +3 -3
  34. package/dist/cjs/form-control-monetary.cjs.entry.js +5 -5
  35. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +4 -4
  36. package/dist/cjs/form-control-number.cjs.entry.js +5 -5
  37. package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
  38. package/dist/cjs/form-control-select_2.cjs.entry.js +105 -0
  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-CnPsEZA8.js} +7 -7
  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-CgOAdXG4.js} +7 -7
  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 +48 -21
  51. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +12 -12
  52. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +9 -9
  53. package/dist/cjs/justifi-bank-account-form_4.cjs.entry.js +234 -0
  54. package/dist/cjs/justifi-billing-information-form_2.cjs.entry.js +103 -0
  55. package/dist/cjs/justifi-business-details.cjs.entry.js +14 -14
  56. package/dist/cjs/justifi-business-form.cjs.entry.js +20 -20
  57. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
  58. package/dist/cjs/justifi-checkout-core.cjs.entry.js +9 -9
  59. package/dist/cjs/justifi-checkout-summary_2.cjs.entry.js +217 -0
  60. package/dist/cjs/justifi-checkout.cjs.entry.js +100 -99
  61. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +10 -10
  62. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +17 -17
  63. package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
  64. package/dist/cjs/justifi-details.cjs.entry.js +2 -2
  65. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +2 -2
  66. package/dist/cjs/justifi-dispute-management.cjs.entry.js +13 -13
  67. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +18 -18
  68. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +12 -12
  69. package/dist/cjs/justifi-new-payment-method.cjs.entry.js +99 -0
  70. package/dist/cjs/justifi-order-terminals.cjs.entry.js +17 -17
  71. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +14 -14
  72. package/dist/cjs/justifi-payment-details.cjs.entry.js +14 -14
  73. package/dist/cjs/justifi-payment-method-options_3.cjs.entry.js +166 -0
  74. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +4 -4
  75. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +13 -13
  76. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +16 -16
  77. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +6 -6
  78. package/dist/cjs/justifi-payments-list.cjs.entry.js +18 -18
  79. package/dist/cjs/justifi-payout-details.cjs.entry.js +14 -14
  80. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +16 -16
  81. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +6 -6
  82. package/dist/cjs/justifi-payouts-list.cjs.entry.js +19 -19
  83. package/dist/cjs/justifi-refund-payment.cjs.entry.js +16 -16
  84. package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +32 -0
  85. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +7 -7
  86. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +19 -21
  87. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +11 -11
  88. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +15 -15
  89. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +10 -10
  90. package/dist/cjs/justifi-terminals-list.cjs.entry.js +17 -17
  91. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +20 -13
  92. package/dist/cjs/loader.cjs.js +3 -4
  93. package/dist/cjs/{package-BCOEGxFC.js → package-wSbEFwqE.js} +1 -1
  94. package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
  95. package/dist/cjs/payment-details-core.cjs.entry.js +14 -14
  96. package/dist/cjs/payment-method-option-utils-imuSE7KV.js +25 -0
  97. package/dist/cjs/{payment-provisioning-actions-BkWSDJQQ.js → payment-provisioning-actions-SNMCdsyF.js} +2 -2
  98. package/dist/cjs/{payment.service-CCxGhTwZ.js → payment.service-C-HKmIG6.js} +5 -5
  99. package/dist/cjs/payments-list-core.cjs.entry.js +14 -14
  100. package/dist/cjs/{payments-list-params-state-BvG5Ysrg.js → payments-list-params-state-fVsfZZ5G.js} +1 -1
  101. package/dist/cjs/{payments-status-BTykBx8i.js → payments-status-DPqU5v9h.js} +2 -2
  102. package/dist/cjs/{payments-table-BR97ybd6.js → payments-table-BM3AoAJf.js} +2 -2
  103. package/dist/cjs/payout-details-core.cjs.entry.js +10 -10
  104. package/dist/cjs/{payout.service-CtphIhUK.js → payout.service-BHU3EPR2.js} +5 -5
  105. package/dist/cjs/payouts-list-core.cjs.entry.js +14 -14
  106. package/dist/cjs/{payouts-list-params-state-BvG5Ysrg.js → payouts-list-params-state-fVsfZZ5G.js} +1 -1
  107. package/dist/cjs/{payouts-status-YCqmbd4K.js → payouts-status-CU8aqIhH.js} +2 -2
  108. package/dist/cjs/{payouts-table-DMcQiC1g.js → payouts-table-1HL4kk9B.js} +2 -2
  109. package/dist/cjs/{schema-validations-BUor-ySb.js → schema-validations-BSeMee-o.js} +0 -23
  110. package/dist/cjs/{skeleton-aMh0RMHq.js → skeleton-ByLavxr1.js} +1 -1
  111. package/dist/cjs/{spinner-BTyIjlMM.js → spinner-DOC4Ab7M.js} +1 -1
  112. package/dist/cjs/{styled-host-udkBJV5h.js → styled-host-IMxk64cc.js} +1 -1
  113. package/dist/cjs/{table-DKVauFHc.js → table-BgQP2M2-.js} +2 -2
  114. package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
  115. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +13 -13
  116. package/dist/cjs/{terminal-orders-list-params-state-BvG5Ysrg.js → terminal-orders-list-params-state-fVsfZZ5G.js} +1 -1
  117. package/dist/cjs/{terminal-orders-table-D-CLcZws.js → terminal-orders-table-C3KZTeE5.js} +7 -7
  118. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
  119. package/dist/cjs/{terminal.service-Dv_WJkue.js → terminal.service-Bc1YJWi0.js} +5 -5
  120. package/dist/cjs/terminals-list-core.cjs.entry.js +13 -13
  121. package/dist/cjs/terminals-list-params-state-fVsfZZ5G.js +22 -0
  122. package/dist/cjs/{terminals-table-BEJ6sF7w.js → terminals-table-yRGsrfBw.js} +2 -2
  123. package/dist/cjs/{utils-l0veqT9y.js → utils-IGCnjtqc.js} +1 -1
  124. package/dist/cjs/{utils-5lco6NzU.js → utils-bn0fXuc-.js} +1 -1
  125. package/dist/cjs/webcomponents.cjs.js +4 -5
  126. package/dist/collection/api/BillingInformation.js +1 -0
  127. package/dist/collection/api/Checkout.js +1 -3
  128. package/dist/collection/api/ComponentError.js +2 -0
  129. package/dist/collection/api/PaymentMethod.js +1 -0
  130. package/dist/collection/collection-manifest.json +9 -2
  131. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +1 -1
  132. package/dist/collection/components/business-forms/schemas/business-bank-account-schema.js +36 -8
  133. package/dist/collection/components/business-forms/schemas/schema-validations.js +1 -47
  134. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
  135. package/dist/collection/components/checkout/billing-form/billing-form.js +2 -5
  136. package/dist/collection/components/checkout/card-form/card-form.js +2 -2
  137. package/dist/collection/components/checkout/checkout.js +109 -35
  138. package/dist/collection/components/checkout/new-payment-method.js +2 -2
  139. package/dist/collection/components/checkout/payment-method-options.js +18 -37
  140. package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
  141. package/dist/collection/components/checkout/saved-payment-method.js +1 -1
  142. package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
  143. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
  144. package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
  145. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  146. package/dist/collection/components/dispute-management/dispute-management.js +1 -1
  147. package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
  148. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  149. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  150. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  151. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  152. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  153. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  154. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  155. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  156. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  157. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  158. package/dist/collection/components/filters/table-filters-menu.js +1 -1
  159. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  160. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +2 -2
  161. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +10 -13
  162. package/dist/collection/components/modular-checkout/modular-checkout.js +345 -0
  163. package/dist/collection/components/modular-checkout-parts/bank-account-skeleton.js +10 -0
  164. package/dist/collection/components/modular-checkout-parts/bank-account.js +119 -0
  165. package/dist/collection/components/modular-checkout-parts/billing-form-schema.js +21 -0
  166. package/dist/collection/components/modular-checkout-parts/billing-form.js +116 -0
  167. package/dist/collection/components/modular-checkout-parts/card-form-skeleton.js +10 -0
  168. package/dist/collection/components/modular-checkout-parts/card-form.js +123 -0
  169. package/dist/collection/components/modular-checkout-parts/postal-code-form.js +114 -0
  170. package/dist/collection/components/modular-checkout-parts/saved-payment-methods.js +23 -0
  171. package/dist/collection/components/modular-checkout-parts/sezzle-payment-method.js +127 -0
  172. package/dist/collection/components/modular-checkout-parts/summary.js +12 -0
  173. package/dist/collection/components/order-terminals/order-terminals.js +1 -1
  174. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  175. package/dist/collection/components/payment-details/payment-details-core.js +8 -8
  176. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
  177. package/dist/collection/components/payments-list/payments-list-core.js +1 -1
  178. package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
  179. package/dist/collection/components/payments-list/payments-list.js +1 -1
  180. package/dist/collection/components/payout-details/payout-details-core.js +3 -3
  181. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +1 -1
  182. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  183. package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
  184. package/dist/collection/components/payouts-list/payouts-list.js +1 -1
  185. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
  186. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
  187. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
  188. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  189. package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
  190. package/dist/collection/components/terminals-list/terminals-list.js +1 -1
  191. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +10 -3
  192. package/dist/collection/store/checkout.store.js +25 -0
  193. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  194. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  195. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  196. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  197. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  198. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  199. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  200. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  201. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  202. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  203. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  204. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  205. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  206. package/dist/collection/ui-components/form/iframe-input.js +10 -5
  207. package/dist/docs.json +1239 -454
  208. package/dist/esm/{Api-cgKcLG0y.js → Api-CqimcNgb.js} +2 -2
  209. package/dist/esm/{Checkout-B9LrTq63.js → Checkout-CH19cJxH.js} +5 -7
  210. package/dist/esm/{ComponentError-SdntD1xf.js → ComponentError-BhrFjjAs.js} +2 -0
  211. package/dist/esm/{Dispute-BH0Xfn-F.js → Dispute-7MWRbTXI.js} +1 -1
  212. package/dist/esm/{Document-DvWsQBM6.js → Payment-BEvE6jAC.js} +3 -57
  213. package/dist/esm/{Refund-zZewCvey.js → Refund-BKe90wSq.js} +56 -2
  214. package/dist/esm/additional-questions-details_5.entry.js +4 -4
  215. package/dist/esm/{badge-Du9GTXoB.js → badge-BoemLewg.js} +2 -2
  216. package/dist/esm/bank-account-document-form-inputs_4.entry.js +14 -14
  217. package/dist/esm/bank-account-form.entry.js +61 -0
  218. package/dist/esm/{business-additional-questions-schema-CBUm3D7O.js → business-additional-questions-schema-uQlQ8fXQ.js} +1 -1
  219. package/dist/esm/business-details-core.entry.js +5 -5
  220. package/dist/esm/{business-identity-schema-CntGz8jo.js → business-identity-schema-BsrgqgDl.js} +1 -1
  221. package/dist/esm/{business.service-BWivPbyO.js → business.service-wY8gOZQr.js} +6 -6
  222. package/dist/esm/{button-CjH5C0pG.js → button-BcLzheaP.js} +2 -2
  223. package/dist/esm/card-form.entry.js +69 -0
  224. package/dist/esm/{check-pkg-version-BykGn7tx.js → check-pkg-version-BmebRZ4u.js} +7 -7
  225. package/dist/esm/checkout-actions-UQ6g1s7I.js +58 -0
  226. package/dist/esm/{checkout.service-Bh-Q24Cr.js → checkout.service-Ci9Zkxiz.js} +6 -6
  227. package/dist/esm/checkout.store-DQrlfeus.js +27 -0
  228. package/dist/esm/checkouts-list-core.entry.js +16 -16
  229. package/dist/esm/{checkouts-list-params-state-Bn7pL-8x.js → checkouts-list-params-state-DhPyCV-V.js} +1 -1
  230. package/dist/esm/{checkouts-table-DcVkD83l.js → checkouts-table-ub2cX2KR.js} +4 -4
  231. package/dist/esm/{config-state-CkKrqnpZ.js → config-state-BjXhUj2q.js} +1 -1
  232. package/dist/esm/{custom-popper_4.entry.js → custom-popper_2.entry.js} +5 -103
  233. package/dist/esm/{dispute.service-1AYcALSg.js → dispute.service-D3IjL7Z8.js} +6 -6
  234. package/dist/esm/form-alert_5.entry.js +2 -2
  235. package/dist/esm/form-control-checkbox.entry.js +6 -6
  236. package/dist/esm/form-control-date.entry.js +5 -5
  237. package/dist/esm/{form-control-error-text-tGFxd6kW.js → form-control-error-text-C4vfc3el.js} +2 -2
  238. package/dist/esm/form-control-file-v2_2.entry.js +6 -6
  239. package/dist/esm/{form-control-help-text-2DawN8-N.js → form-control-help-text-Dsr1zpTw.js} +2 -2
  240. package/dist/esm/form-control-help-text.entry.js +1 -1
  241. package/dist/esm/form-control-monetary-provisioning.entry.js +4 -4
  242. package/dist/esm/form-control-monetary.entry.js +7 -7
  243. package/dist/esm/form-control-number-masked_2.entry.js +5 -5
  244. package/dist/esm/form-control-number.entry.js +6 -6
  245. package/dist/esm/form-control-radio.entry.js +4 -4
  246. package/dist/esm/form-control-select_2.entry.js +102 -0
  247. package/dist/esm/{get-business-GEPTefIj.js → get-business-BSRtbTh7.js} +2 -2
  248. package/dist/esm/{get-payment-details-DXhXxFPr.js → get-payment-details-CmVKt1jR.js} +8 -8
  249. package/dist/esm/{get-payout-csv-D7IYYqVL.js → get-payout-csv-U_pgdPpb.js} +2 -2
  250. package/dist/esm/{get-subaccounts-CtHj1UM6.js → get-subaccounts-BRX7HFGO.js} +9 -9
  251. package/dist/esm/gross-payment-chart-core.entry.js +6 -6
  252. package/dist/esm/{header-1-D2gZb3iT.js → header-1-CmImLcLi.js} +2 -2
  253. package/dist/esm/{header-3-DAg8Vh4B.js → header-3-BMoxz2Hr.js} +2 -2
  254. package/dist/esm/{iframe-input.entry.js → hidden-input_2.entry.js} +106 -10
  255. package/dist/esm/{index-D6FDxSyt.js → index-Bta_r52Z.js} +22 -5
  256. package/dist/esm/{index-Cc3u0uDC.js → index-Cf8VXyXg.js} +1 -1
  257. package/dist/esm/{insurance-state-CsZbKSgm.js → insurance-state-DMexHdvO.js} +3 -3
  258. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +50 -23
  259. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +15 -15
  260. package/dist/esm/justifi-additional-statement_8.entry.js +10 -10
  261. package/dist/esm/justifi-bank-account-form_4.entry.js +229 -0
  262. package/dist/esm/justifi-billing-information-form_2.entry.js +100 -0
  263. package/dist/esm/justifi-business-details.entry.js +17 -17
  264. package/dist/esm/justifi-business-form.entry.js +23 -23
  265. package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
  266. package/dist/esm/justifi-checkout-core.entry.js +12 -12
  267. package/dist/esm/justifi-checkout-summary_2.entry.js +214 -0
  268. package/dist/esm/justifi-checkout.entry.js +101 -100
  269. package/dist/esm/justifi-checkouts-list-filters.entry.js +13 -13
  270. package/dist/esm/justifi-checkouts-list.entry.js +21 -21
  271. package/dist/esm/justifi-config-provider.entry.js +3 -3
  272. package/dist/esm/justifi-details.entry.js +3 -3
  273. package/dist/esm/justifi-dispute-management-core.entry.js +3 -3
  274. package/dist/esm/justifi-dispute-management.entry.js +15 -15
  275. package/dist/esm/justifi-dispute-notification_3.entry.js +21 -21
  276. package/dist/esm/justifi-gross-payment-chart.entry.js +15 -15
  277. package/dist/esm/justifi-new-payment-method.entry.js +97 -0
  278. package/dist/esm/justifi-order-terminals.entry.js +20 -20
  279. package/dist/esm/justifi-owner-form_3.entry.js +17 -17
  280. package/dist/esm/justifi-payment-details.entry.js +17 -17
  281. package/dist/esm/justifi-payment-method-options_3.entry.js +162 -0
  282. package/dist/esm/justifi-payment-provisioning-core.entry.js +5 -5
  283. package/dist/esm/justifi-payment-provisioning.entry.js +15 -15
  284. package/dist/esm/justifi-payment-transactions-list.entry.js +19 -19
  285. package/dist/esm/justifi-payments-list-filters.entry.js +8 -8
  286. package/dist/esm/justifi-payments-list.entry.js +20 -20
  287. package/dist/esm/justifi-payout-details.entry.js +17 -17
  288. package/dist/esm/justifi-payout-transactions-list.entry.js +19 -19
  289. package/dist/esm/justifi-payouts-list-filters.entry.js +8 -8
  290. package/dist/esm/justifi-payouts-list.entry.js +22 -22
  291. package/dist/esm/justifi-refund-payment.entry.js +19 -19
  292. package/dist/esm/justifi-saved-payment-method.entry.js +30 -0
  293. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +9 -9
  294. package/dist/esm/justifi-season-interruption-insurance.entry.js +21 -23
  295. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +14 -14
  296. package/dist/esm/justifi-terminal-orders-list.entry.js +18 -18
  297. package/dist/esm/justifi-terminals-list-filters.entry.js +13 -13
  298. package/dist/esm/justifi-terminals-list.entry.js +20 -20
  299. package/dist/esm/justifi-tokenize-payment-method.entry.js +23 -16
  300. package/dist/esm/loader.js +3 -4
  301. package/dist/esm/{package-BjMTOtI1.js → package-CJdXAC5R.js} +1 -1
  302. package/dist/esm/pagination-menu.entry.js +2 -2
  303. package/dist/esm/{parts-BrLVc_85.js → parts-C71Mxtso.js} +1 -1
  304. package/dist/esm/payment-details-core.entry.js +16 -16
  305. package/dist/esm/payment-method-option-utils-8n_ALxec.js +23 -0
  306. package/dist/esm/{payment-provisioning-actions-BIfyW239.js → payment-provisioning-actions-2qP7AtHj.js} +2 -2
  307. package/dist/esm/{payment.service-2afJc31y.js → payment.service-ddFQWXPn.js} +6 -6
  308. package/dist/esm/payments-list-core.entry.js +17 -17
  309. package/dist/esm/{payments-list-params-state-Bn7pL-8x.js → payments-list-params-state-DhPyCV-V.js} +1 -1
  310. package/dist/esm/{payments-status-CIUXcA0w.js → payments-status-DvsFQolO.js} +2 -2
  311. package/dist/esm/{payments-table-B8316Kqz.js → payments-table-CCKeaI5x.js} +4 -4
  312. package/dist/esm/payout-details-core.entry.js +12 -12
  313. package/dist/esm/{payout.service-Bd8Tc7-Q.js → payout.service-Ws4Pebcz.js} +6 -6
  314. package/dist/esm/payouts-list-core.entry.js +17 -17
  315. package/dist/esm/{payouts-list-params-state-Bn7pL-8x.js → payouts-list-params-state-DhPyCV-V.js} +1 -1
  316. package/dist/esm/{payouts-status-Clo03qUI.js → payouts-status-BkM4Gvme.js} +2 -2
  317. package/dist/esm/{payouts-table-Ip10eH4Q.js → payouts-table-CqBOvPOo.js} +4 -4
  318. package/dist/esm/{schema-validations-C7D5tPzq.js → schema-validations-DLWfpHyI.js} +2 -23
  319. package/dist/esm/{skeleton-Dlpibtr0.js → skeleton-BVM4XTj9.js} +2 -2
  320. package/dist/esm/{spinner-onCBxbdo.js → spinner-BsxFRVXW.js} +2 -2
  321. package/dist/esm/{styled-host-C7vaWLiB.js → styled-host-BSX_LSdk.js} +1 -1
  322. package/dist/esm/{table-p4dOlFPi.js → table-DxdC1lXb.js} +3 -3
  323. package/dist/esm/table-filters-menu.entry.js +4 -4
  324. package/dist/esm/terminal-orders-list-core.entry.js +16 -16
  325. package/dist/esm/{terminal-orders-list-params-state-Bn7pL-8x.js → terminal-orders-list-params-state-DhPyCV-V.js} +1 -1
  326. package/dist/esm/{terminal-orders-table-CCJT7oq4.js → terminal-orders-table-DV7nRYuE.js} +10 -10
  327. package/dist/esm/terminal-quantity-selector.entry.js +3 -3
  328. package/dist/esm/{terminal.service-8kwGru35.js → terminal.service-DH8gRG1H.js} +6 -6
  329. package/dist/esm/terminals-list-core.entry.js +16 -16
  330. package/dist/esm/terminals-list-params-state-DhPyCV-V.js +16 -0
  331. package/dist/esm/{terminals-table-cMkKUVff.js → terminals-table-DUHel128.js} +4 -4
  332. package/dist/esm/{utils-BpP_VJGf.js → utils-B-aPFy3u.js} +2 -2
  333. package/dist/esm/{utils-Dccsn9BY.js → utils-BZvep88z.js} +1 -1
  334. package/dist/esm/{utils-DB5fh6Iv.js → utils-BjLkBMLe.js} +1 -1
  335. package/dist/esm/webcomponents.js +4 -5
  336. package/dist/module/{check-pkg-version.js → Analytics.js} +21 -22
  337. package/dist/module/Checkout.js +3 -3
  338. package/dist/module/Refund.js +55 -1
  339. package/dist/module/additional-statement.js +1 -1
  340. package/dist/module/bank-account-document-inputs.js +1 -2
  341. package/dist/module/bank-account-form.js +83 -1
  342. package/dist/module/{bank-account-form2.js → bank-account.js} +27 -12
  343. package/dist/module/billing-form-schema.js +24 -0
  344. package/dist/module/billing-form.js +26 -20
  345. package/dist/module/billing-form2.js +91 -0
  346. package/dist/module/business-address-schema.js +1 -1
  347. package/dist/module/business-bank-account-form-step-core.js +37 -11
  348. package/dist/module/business-bank-account-form-step.js +0 -1
  349. package/dist/module/business-core-info-schema.js +1 -1
  350. package/dist/module/business-identity-schema.js +1 -1
  351. package/dist/module/business-terms-conditions-form-step.js +1 -2
  352. package/dist/module/business.service.js +0 -1
  353. package/dist/module/cancellation-policy.js +1 -1
  354. package/dist/module/card-form.js +91 -1
  355. package/dist/module/card-form2.js +30 -15
  356. package/dist/module/checkout.service.js +0 -1
  357. package/dist/module/checkout.store.js +27 -0
  358. package/dist/module/checkouts-list-core2.js +2 -3
  359. package/dist/module/custom-popper2.js +2 -2
  360. package/dist/module/customer-details.js +1 -1
  361. package/dist/module/dispute-management-core.js +1 -1
  362. package/dist/module/dispute-notification.js +1 -1
  363. package/dist/module/dispute-response-actions.js +0 -1
  364. package/dist/module/dispute-response-core.js +1 -1
  365. package/dist/module/dispute-response.js +2 -2
  366. package/dist/module/duplicate-charge.js +1 -1
  367. package/dist/module/electronic-evidence.js +1 -1
  368. package/dist/module/form-control-checkbox2.js +2 -2
  369. package/dist/module/form-control-date2.js +2 -2
  370. package/dist/module/form-control-file-v22.js +1 -1
  371. package/dist/module/form-control-file2.js +2 -2
  372. package/dist/module/form-control-monetary2.js +2 -2
  373. package/dist/module/form-control-number-masked2.js +2 -2
  374. package/dist/module/form-control-number.js +2 -2
  375. package/dist/module/form-control-radio2.js +2 -2
  376. package/dist/module/form-control-select2.js +2 -2
  377. package/dist/module/form-control-text2.js +2 -2
  378. package/dist/module/form-control-textarea2.js +2 -2
  379. package/dist/module/form.js +1 -1
  380. package/dist/module/get-payment-details.js +0 -1
  381. package/dist/module/get-subaccounts.js +0 -1
  382. package/dist/module/gross-payment-chart-core2.js +1 -1
  383. package/dist/module/header-3.js +8 -0
  384. package/dist/module/hidden-input2.js +1 -1
  385. package/dist/module/iframe-input2.js +5 -5
  386. package/dist/module/justifi-bank-account-form.d.ts +11 -0
  387. package/dist/module/justifi-bank-account-form.js +6 -0
  388. package/dist/module/justifi-billing-information-form.d.ts +11 -0
  389. package/dist/module/justifi-billing-information-form.js +6 -0
  390. package/dist/module/justifi-business-details.js +1 -1
  391. package/dist/module/justifi-business-form.js +1 -2
  392. package/dist/module/justifi-card-form.d.ts +11 -0
  393. package/dist/module/justifi-card-form.js +6 -0
  394. package/dist/module/justifi-checkout-core.js +201 -1
  395. package/dist/module/justifi-checkout-summary.d.ts +11 -0
  396. package/dist/module/justifi-checkout-summary.js +6 -0
  397. package/dist/module/justifi-checkout.js +112 -168
  398. package/dist/module/justifi-checkouts-list-filters.js +2 -3
  399. package/dist/module/justifi-checkouts-list.js +2 -3
  400. package/dist/module/justifi-dispute-management.js +2 -2
  401. package/dist/module/justifi-gross-payment-chart.js +1 -2
  402. package/dist/module/justifi-modular-checkout.d.ts +11 -0
  403. package/dist/module/justifi-modular-checkout.js +6 -0
  404. package/dist/module/justifi-new-payment-method.js +214 -1
  405. package/dist/module/justifi-order-terminals.js +3 -4
  406. package/dist/module/justifi-payment-details.js +1 -1
  407. package/dist/module/justifi-payment-provisioning.js +1 -2
  408. package/dist/module/justifi-payment-transactions-list.js +4 -5
  409. package/dist/module/justifi-payments-list-filters.js +3 -3
  410. package/dist/module/justifi-payments-list.js +2 -3
  411. package/dist/module/justifi-payout-details.js +1 -2
  412. package/dist/module/justifi-payout-transactions-list.js +4 -5
  413. package/dist/module/justifi-payouts-list-filters.js +3 -3
  414. package/dist/module/justifi-payouts-list.js +2 -3
  415. package/dist/module/justifi-postal-code-form.d.ts +11 -0
  416. package/dist/module/justifi-postal-code-form.js +6 -0
  417. package/dist/module/justifi-refund-payment.js +2 -3
  418. package/dist/module/justifi-saved-payment-method.js +57 -1
  419. package/dist/module/justifi-saved-payment-methods.d.ts +11 -0
  420. package/dist/module/justifi-saved-payment-methods.js +6 -0
  421. package/dist/module/justifi-season-interruption-insurance.js +10 -14
  422. package/dist/module/justifi-terminal-orders-list-filters.js +3 -4
  423. package/dist/module/justifi-terminal-orders-list.js +3 -4
  424. package/dist/module/justifi-terminals-list-filters.js +2 -3
  425. package/dist/module/justifi-terminals-list.js +3 -4
  426. package/dist/module/justifi-tokenize-payment-method.js +17 -83
  427. package/dist/module/modular-checkout.js +269 -0
  428. package/dist/module/package.js +3 -3
  429. package/dist/module/parts.js +1 -1
  430. package/dist/module/payment-details-core2.js +8 -8
  431. package/dist/module/payment-method-option-utils.js +23 -0
  432. package/dist/module/payment-method-options.js +22 -112
  433. package/dist/module/payment.service.js +0 -1
  434. package/dist/module/payments-list-core2.js +2 -3
  435. package/dist/module/payout-details-core2.js +3 -3
  436. package/dist/module/payout.service.js +0 -1
  437. package/dist/module/payouts-list-core2.js +2 -3
  438. package/dist/module/postal-code-form.js +83 -0
  439. package/dist/module/product-or-service.js +1 -1
  440. package/dist/module/refund-policy.js +1 -1
  441. package/dist/module/save-new-payment-method.js +1 -1
  442. package/dist/module/saved-payment-methods.js +55 -0
  443. package/dist/module/schema-validations.js +2 -23
  444. package/dist/module/season-interruption-insurance-core.js +2 -2
  445. package/dist/module/sezzle-payment-method.js +23 -17
  446. package/dist/module/shipping-details.js +1 -1
  447. package/dist/module/summary.js +34 -0
  448. package/dist/module/table-filters-menu2.js +2 -2
  449. package/dist/module/terminal-orders-list-core2.js +2 -3
  450. package/dist/module/terminal-quantity-selector2.js +1 -1
  451. package/dist/module/terminal.service.js +0 -1
  452. package/dist/module/terminals-list-core2.js +2 -3
  453. package/dist/types/api/BillingInformation.d.ts +13 -0
  454. package/dist/types/api/Checkout.d.ts +14 -13
  455. package/dist/types/api/ComponentError.d.ts +3 -1
  456. package/dist/types/api/PaymentMethod.d.ts +21 -0
  457. package/dist/types/components/business-forms/schemas/schema-validations.d.ts +0 -7
  458. package/dist/types/components/checkout/checkout.d.ts +20 -9
  459. package/dist/types/components/checkout/payment-method-options.d.ts +2 -2
  460. package/dist/types/components/insurance/season-interruption/season-interruption-insurance.d.ts +2 -2
  461. package/dist/types/components/modular-checkout/modular-checkout.d.ts +31 -0
  462. package/dist/types/components/modular-checkout-parts/bank-account-skeleton.d.ts +6 -0
  463. package/dist/types/components/modular-checkout-parts/bank-account.d.ts +18 -0
  464. package/dist/types/components/modular-checkout-parts/billing-form-schema.d.ts +23 -0
  465. package/dist/types/components/modular-checkout-parts/billing-form.d.ts +16 -0
  466. package/dist/types/components/modular-checkout-parts/card-form-skeleton.d.ts +6 -0
  467. package/dist/types/components/modular-checkout-parts/card-form.d.ts +20 -0
  468. package/dist/types/components/modular-checkout-parts/postal-code-form.d.ts +16 -0
  469. package/dist/types/components/modular-checkout-parts/saved-payment-methods.d.ts +5 -0
  470. package/dist/types/components/{checkout → modular-checkout-parts}/sezzle-payment-method.d.ts +2 -8
  471. package/dist/types/components/modular-checkout-parts/summary.d.ts +3 -0
  472. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +2 -2
  473. package/dist/types/components.d.ts +431 -20
  474. package/dist/types/stencil-public-runtime.d.ts +1 -1
  475. package/dist/types/store/checkout.store.d.ts +19 -0
  476. package/dist/types/ui-components/form/iframe-input.d.ts +2 -1
  477. package/dist/webcomponents/p-07e8c50a.entry.js +1 -0
  478. package/dist/webcomponents/{p-bf3e8295.entry.js → p-0c13f2da.entry.js} +1 -1
  479. package/dist/webcomponents/{p-a136ff22.entry.js → p-0d038c74.entry.js} +1 -1
  480. package/dist/webcomponents/p-0d24f707.entry.js +1 -0
  481. package/dist/webcomponents/p-0f07e5d2.entry.js +1 -0
  482. package/dist/webcomponents/{p-5e467788.entry.js → p-114d2d7e.entry.js} +1 -1
  483. package/dist/webcomponents/p-16c567ac.entry.js +1 -0
  484. package/dist/webcomponents/{p-b40108c0.entry.js → p-1d59c747.entry.js} +1 -1
  485. package/dist/webcomponents/p-1debe4fc.entry.js +1 -0
  486. package/dist/webcomponents/p-1tXUo5Ef.js +1 -0
  487. package/dist/webcomponents/p-20ac139f.entry.js +1 -0
  488. package/dist/webcomponents/{p-a8119fda.entry.js → p-28190487.entry.js} +1 -1
  489. package/dist/webcomponents/{p-4b51a896.entry.js → p-30b1b0d4.entry.js} +1 -1
  490. package/dist/webcomponents/p-31b3575b.entry.js +1 -0
  491. package/dist/webcomponents/p-32d41de6.entry.js +1 -0
  492. package/dist/webcomponents/p-3523e4d2.entry.js +1 -0
  493. package/dist/webcomponents/p-3c172b0a.entry.js +1 -0
  494. package/dist/webcomponents/{p-bb50155f.entry.js → p-498ef7fe.entry.js} +1 -1
  495. package/dist/webcomponents/{p-5df5aa41.entry.js → p-4cdc323c.entry.js} +1 -1
  496. package/dist/webcomponents/p-54487455.entry.js +1 -0
  497. package/dist/webcomponents/p-55b2ccd4.entry.js +1 -0
  498. package/dist/webcomponents/p-56368e10.entry.js +1 -0
  499. package/dist/webcomponents/{p-7733b67b.entry.js → p-62308de3.entry.js} +1 -1
  500. package/dist/webcomponents/p-655e9c99.entry.js +1 -0
  501. package/dist/webcomponents/p-6ae0dad9.entry.js +1 -0
  502. package/dist/webcomponents/p-6ed72565.entry.js +1 -0
  503. package/dist/webcomponents/p-7982b38b.entry.js +1 -0
  504. package/dist/webcomponents/{p-BH0Xfn-F.js → p-7MWRbTXI.js} +1 -1
  505. package/dist/webcomponents/{p-c01544c3.entry.js → p-7efbe6e6.entry.js} +1 -1
  506. package/dist/webcomponents/p-803b249d.entry.js +1 -0
  507. package/dist/webcomponents/p-819c5da9.entry.js +1 -0
  508. package/dist/webcomponents/p-85b73bd5.entry.js +1 -0
  509. package/dist/webcomponents/p-8a2d963a.entry.js +1 -0
  510. package/dist/webcomponents/p-90521984.entry.js +1 -0
  511. package/dist/webcomponents/{p-a0662195.entry.js → p-93564eb7.entry.js} +1 -1
  512. package/dist/webcomponents/{p-77896e7b.entry.js → p-95aada97.entry.js} +1 -1
  513. package/dist/webcomponents/{p-BnE7qgLh.js → p-9REosSLu.js} +1 -1
  514. package/dist/webcomponents/{p-59abf1de.entry.js → p-9a4b9734.entry.js} +1 -1
  515. package/dist/webcomponents/p-B1jCcGW-.js +1 -0
  516. package/dist/webcomponents/{p-DuYlA4lj.js → p-BEDtXmpq.js} +1 -1
  517. package/dist/webcomponents/{p-D0ptm6-3.js → p-BRvTM0jE.js} +1 -1
  518. package/dist/webcomponents/{p-clwP6zk3.js → p-BZAglFez.js} +1 -1
  519. package/dist/webcomponents/{p-DR89sFne.js → p-BdTK0wi9.js} +1 -1
  520. package/dist/webcomponents/p-BeOlrj_S.js +1 -0
  521. package/dist/webcomponents/p-BhrFjjAs.js +1 -0
  522. package/dist/webcomponents/p-BjIcn6FF.js +1 -0
  523. package/dist/webcomponents/p-BoGb-Wsw.js +1 -0
  524. package/dist/webcomponents/p-Bta_r52Z.js +2 -0
  525. package/dist/webcomponents/{p-n2YROtpe.js → p-BvkP2v3x.js} +1 -1
  526. package/dist/webcomponents/{p-BTS3E50C.js → p-BxfUcCXo.js} +1 -1
  527. package/dist/webcomponents/{p-BrLVc_85.js → p-C71Mxtso.js} +1 -1
  528. package/dist/webcomponents/{p-uSM1EMk-.js → p-C8EG4ZSX.js} +1 -1
  529. package/dist/webcomponents/p-C8rAwXW9.js +1 -0
  530. package/dist/webcomponents/p-CA9D3qnA.js +1 -0
  531. package/dist/webcomponents/p-CBs671Ol.js +1 -0
  532. package/dist/webcomponents/p-CDTncSrX.js +1 -0
  533. package/dist/webcomponents/p-CFpYbRwn.js +1 -0
  534. package/dist/webcomponents/p-CGCMYhyV.js +1 -0
  535. package/dist/webcomponents/p-CJdXAC5R.js +1 -0
  536. package/dist/webcomponents/{p-r__elyG4.js → p-CO90ONTY.js} +1 -1
  537. package/dist/webcomponents/p-CbGBEkk3.js +1 -0
  538. package/dist/webcomponents/p-Cl-Q3cHB.js +1 -0
  539. package/dist/webcomponents/{p-Cd06j2SL.js → p-D3BIZZrc.js} +1 -1
  540. package/dist/webcomponents/p-DFPGAF4g.js +1 -0
  541. package/dist/webcomponents/p-DHP6oxsO.js +1 -0
  542. package/dist/webcomponents/p-DKClunJd.js +1 -0
  543. package/dist/webcomponents/{p-DnB1x5JE.js → p-DLr6u3Be.js} +1 -1
  544. package/dist/webcomponents/p-DT6jDcoi.js +1 -0
  545. package/dist/webcomponents/p-DX1Drndq.js +1 -0
  546. package/dist/webcomponents/p-D_FOQEGU.js +1 -0
  547. package/dist/webcomponents/p-Db-JSm6-.js +1 -0
  548. package/dist/webcomponents/{p-BR7flk4G.js → p-Dc10zfEZ.js} +1 -1
  549. package/dist/webcomponents/p-DddGO-XR.js +1 -0
  550. package/dist/webcomponents/p-DnX5CZFd.js +1 -0
  551. package/dist/webcomponents/p-Dw516k9e.js +1 -0
  552. package/dist/webcomponents/p-DwxSNAz7.js +1 -0
  553. package/dist/webcomponents/p-Fa3dQnb9.js +1 -0
  554. package/dist/webcomponents/p-IrS5pxMU.js +1 -0
  555. package/dist/webcomponents/p-JOSiCHl7.js +1 -0
  556. package/dist/webcomponents/p-NqdaxjDT.js +1 -0
  557. package/dist/webcomponents/p-RadC5UjV.js +1 -0
  558. package/dist/webcomponents/p-SuXHDcwL.js +1 -0
  559. package/dist/webcomponents/{p-D2ZiLcDE.js → p-Yj41tobi.js} +1 -1
  560. package/dist/webcomponents/{p-DvhDilDP.js → p-_P2I6GdZ.js} +1 -1
  561. package/dist/webcomponents/{p-70c498d4.entry.js → p-a3245777.entry.js} +1 -1
  562. package/dist/webcomponents/{p-99b080d9.entry.js → p-a8f1165e.entry.js} +1 -1
  563. package/dist/webcomponents/p-abcde13f.entry.js +1 -0
  564. package/dist/webcomponents/p-b0c7f45a.entry.js +1 -0
  565. package/dist/webcomponents/{p-abdae97a.entry.js → p-b122d960.entry.js} +1 -1
  566. package/dist/webcomponents/{p-33b23638.entry.js → p-badf50e2.entry.js} +1 -1
  567. package/dist/webcomponents/p-be676a47.entry.js +1 -0
  568. package/dist/webcomponents/p-bf9afbe6.entry.js +1 -0
  569. package/dist/webcomponents/{p-758ce5e5.entry.js → p-c1dabcc9.entry.js} +3 -3
  570. package/dist/webcomponents/p-c4989fc1.entry.js +1 -0
  571. package/dist/webcomponents/{p-5d81f36e.entry.js → p-c6f6cca0.entry.js} +1 -1
  572. package/dist/webcomponents/p-cbfb26e2.entry.js +1 -0
  573. package/dist/webcomponents/p-cc26a8fa.entry.js +1 -0
  574. package/dist/webcomponents/p-cc5dfa3d.entry.js +1 -0
  575. package/dist/webcomponents/{p-2c7ae3ac.entry.js → p-cc7d0b8c.entry.js} +1 -1
  576. package/dist/webcomponents/p-d039c1ea.entry.js +1 -0
  577. package/dist/webcomponents/p-d5f95784.entry.js +1 -0
  578. package/dist/webcomponents/{p-eHhqPyVW.js → p-d6tXI5Iw.js} +1 -1
  579. package/dist/webcomponents/p-dad85acd.entry.js +1 -0
  580. package/dist/webcomponents/p-db13afe8.entry.js +1 -0
  581. package/dist/webcomponents/{p-1678e9e3.entry.js → p-dd5c8738.entry.js} +1 -1
  582. package/dist/webcomponents/p-e2ac6f48.entry.js +1 -0
  583. package/dist/webcomponents/p-e2adbafd.entry.js +1 -0
  584. package/dist/webcomponents/p-ea664ada.entry.js +1 -0
  585. package/dist/webcomponents/{p-292da2d4.entry.js → p-ea883d7c.entry.js} +1 -1
  586. package/dist/webcomponents/{p-90c24cda.entry.js → p-ed8eb110.entry.js} +1 -1
  587. package/dist/webcomponents/{p-57c89023.entry.js → p-f0a849be.entry.js} +1 -1
  588. package/dist/webcomponents/p-f165c5fc.entry.js +1 -0
  589. package/dist/webcomponents/{p-a94952f6.entry.js → p-f1dcc9c2.entry.js} +1 -1
  590. package/dist/webcomponents/{p-10d41e17.entry.js → p-f21e1351.entry.js} +1 -1
  591. package/dist/webcomponents/p-f2d283e5.entry.js +1 -0
  592. package/dist/webcomponents/p-f55f054a.entry.js +1 -0
  593. package/dist/webcomponents/p-f7ae2df8.entry.js +1 -0
  594. package/dist/webcomponents/p-f7ef66ba.entry.js +1 -0
  595. package/dist/webcomponents/p-f8750427.entry.js +1 -0
  596. package/dist/webcomponents/{p-c5628e09.entry.js → p-fa781ff0.entry.js} +1 -1
  597. package/dist/webcomponents/p-fe5b7b4c.entry.js +1 -0
  598. package/dist/webcomponents/p-hDoH7hHP.js +1 -0
  599. package/dist/webcomponents/{p-C0WFYqwq.js → p-kfHhaHAJ.js} +1 -1
  600. package/dist/webcomponents/p-pGzabKc7.js +1 -0
  601. package/dist/webcomponents/p-uLUlLQpP.js +1 -0
  602. package/dist/webcomponents/p-zucQG3cz.js +1 -0
  603. package/dist/webcomponents/webcomponents.esm.js +1 -1
  604. package/package.json +1 -1
  605. package/dist/cjs/app-globals-V2Kpy_OQ.js +0 -5
  606. package/dist/cjs/bank-account-form_9.cjs.entry.js +0 -581
  607. package/dist/cjs/iframe-input-styles-state-D9vhHzZQ.js +0 -26
  608. package/dist/cjs/terminals-list-params-state-BvG5Ysrg.js +0 -22
  609. package/dist/collection/components/checkout/sezzle-payment-method.js +0 -240
  610. package/dist/esm/app-globals-DQuL1Twl.js +0 -3
  611. package/dist/esm/bank-account-form_9.entry.js +0 -571
  612. package/dist/esm/iframe-input-styles-state-ibYqbF--.js +0 -23
  613. package/dist/esm/terminals-list-params-state-Bn7pL-8x.js +0 -16
  614. package/dist/module/Document.js +0 -55
  615. package/dist/module/checkout-core.js +0 -274
  616. package/dist/module/new-payment-method.js +0 -204
  617. package/dist/module/saved-payment-method.js +0 -79
  618. package/dist/webcomponents/p-16d29d0b.entry.js +0 -1
  619. package/dist/webcomponents/p-19b9c96a.entry.js +0 -1
  620. package/dist/webcomponents/p-22a0b397.entry.js +0 -1
  621. package/dist/webcomponents/p-2c8d7aa9.entry.js +0 -1
  622. package/dist/webcomponents/p-3368d3d5.entry.js +0 -1
  623. package/dist/webcomponents/p-3a979295.entry.js +0 -1
  624. package/dist/webcomponents/p-3e94cf62.entry.js +0 -1
  625. package/dist/webcomponents/p-40f7e3af.entry.js +0 -1
  626. package/dist/webcomponents/p-4680f931.entry.js +0 -1
  627. package/dist/webcomponents/p-4a070b7a.entry.js +0 -1
  628. package/dist/webcomponents/p-4f8b9b99.entry.js +0 -1
  629. package/dist/webcomponents/p-57fc593a.entry.js +0 -1
  630. package/dist/webcomponents/p-639baa7d.entry.js +0 -1
  631. package/dist/webcomponents/p-6429afb4.entry.js +0 -1
  632. package/dist/webcomponents/p-6n7viK-J.js +0 -1
  633. package/dist/webcomponents/p-722c5e42.entry.js +0 -1
  634. package/dist/webcomponents/p-77ac321c.entry.js +0 -1
  635. package/dist/webcomponents/p-7d3cf734.entry.js +0 -1
  636. package/dist/webcomponents/p-8183c2d1.entry.js +0 -1
  637. package/dist/webcomponents/p-8ad67f87.entry.js +0 -1
  638. package/dist/webcomponents/p-8c107267.entry.js +0 -1
  639. package/dist/webcomponents/p-935bbc62.entry.js +0 -1
  640. package/dist/webcomponents/p-93df56e1.entry.js +0 -1
  641. package/dist/webcomponents/p-B0cQ2RjH.js +0 -1
  642. package/dist/webcomponents/p-B190pN0v.js +0 -1
  643. package/dist/webcomponents/p-BjMTOtI1.js +0 -1
  644. package/dist/webcomponents/p-Bk4gk-f7.js +0 -1
  645. package/dist/webcomponents/p-C0IqfGFc.js +0 -1
  646. package/dist/webcomponents/p-C1sOJl-_.js +0 -1
  647. package/dist/webcomponents/p-C5RuuShs.js +0 -1
  648. package/dist/webcomponents/p-COcul8pX.js +0 -1
  649. package/dist/webcomponents/p-CQdeVKF8.js +0 -1
  650. package/dist/webcomponents/p-CaGOSFHG.js +0 -1
  651. package/dist/webcomponents/p-CgxzrbM_.js +0 -1
  652. package/dist/webcomponents/p-Cm_0sqXz.js +0 -1
  653. package/dist/webcomponents/p-Cs0cIpIm.js +0 -1
  654. package/dist/webcomponents/p-Cx60eQXT.js +0 -1
  655. package/dist/webcomponents/p-D4Mv5jCp.js +0 -1
  656. package/dist/webcomponents/p-D5XSsLKb.js +0 -1
  657. package/dist/webcomponents/p-D6FDxSyt.js +0 -2
  658. package/dist/webcomponents/p-DClC2nMO.js +0 -1
  659. package/dist/webcomponents/p-DDEz7_ad.js +0 -1
  660. package/dist/webcomponents/p-DJzjeg3x.js +0 -1
  661. package/dist/webcomponents/p-DQuL1Twl.js +0 -1
  662. package/dist/webcomponents/p-DgfzEZny.js +0 -1
  663. package/dist/webcomponents/p-DjGTAHJM.js +0 -1
  664. package/dist/webcomponents/p-DniQ6yo6.js +0 -1
  665. package/dist/webcomponents/p-DzFysjCc.js +0 -1
  666. package/dist/webcomponents/p-HBDBB6lL.js +0 -1
  667. package/dist/webcomponents/p-SdntD1xf.js +0 -1
  668. package/dist/webcomponents/p-U30-0DaA.js +0 -1
  669. package/dist/webcomponents/p-_pH3Hg4P.js +0 -1
  670. package/dist/webcomponents/p-a33cfcfe.entry.js +0 -1
  671. package/dist/webcomponents/p-a6722f44.entry.js +0 -1
  672. package/dist/webcomponents/p-af09b6ee.entry.js +0 -1
  673. package/dist/webcomponents/p-b0d3aab7.entry.js +0 -1
  674. package/dist/webcomponents/p-b1586aa2.entry.js +0 -1
  675. package/dist/webcomponents/p-c3c7be24.entry.js +0 -1
  676. package/dist/webcomponents/p-c5b6b76f.entry.js +0 -1
  677. package/dist/webcomponents/p-c6490254.entry.js +0 -1
  678. package/dist/webcomponents/p-cNABKY0P.js +0 -1
  679. package/dist/webcomponents/p-ceefc483.entry.js +0 -1
  680. package/dist/webcomponents/p-d8b8b17c.entry.js +0 -1
  681. package/dist/webcomponents/p-e2bfdba5.entry.js +0 -1
  682. package/dist/webcomponents/p-e73fe424.entry.js +0 -1
  683. package/dist/webcomponents/p-f23d4fdb.entry.js +0 -1
  684. package/dist/webcomponents/p-ffd197c2.entry.js +0 -1
  685. package/dist/webcomponents/p-gZGxqQgQ.js +0 -1
  686. package/dist/webcomponents/p-l3o3Ndc0.js +0 -1
  687. package/dist/webcomponents/p-l3uWWMRW.js +0 -1
  688. package/dist/webcomponents/p-um3YdOwW.js +0 -1
  689. package/dist/webcomponents/p-wqUvt1PB.js +0 -1
@@ -4,10 +4,10 @@ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkou
4
4
  import './Pagination.js';
5
5
  import './Payment.js';
6
6
  import './Refund.js';
7
- import './Document.js';
8
7
  import './Business.js';
9
8
  import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
10
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
9
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './Analytics.js';
10
+ import { s as state } from './checkout.store.js';
11
11
  import { d as defineCustomElement$4 } from './form-control-help-text2.js';
12
12
  import { d as defineCustomElement$3 } from './form-control-radio2.js';
13
13
  import { d as defineCustomElement$2 } from './season-interruption-insurance-core.js';
@@ -85,7 +85,6 @@ const SeasonInterruptionInsurance = /*@__PURE__*/ proxyCustomElement(class Seaso
85
85
  constructor() {
86
86
  super();
87
87
  this.__registerHost();
88
- this.__attachShadow();
89
88
  this.errorEvent = createEvent(this, "error-event", 7);
90
89
  }
91
90
  async validate() {
@@ -101,7 +100,8 @@ const SeasonInterruptionInsurance = /*@__PURE__*/ proxyCustomElement(class Seaso
101
100
  (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
102
101
  }
103
102
  initializeServiceMethods() {
104
- if (!this.authToken) {
103
+ const authToken = this.authToken || state.authToken;
104
+ if (!authToken) {
105
105
  this.errorEvent.emit({
106
106
  errorCode: ComponentErrorCodes.MISSING_PROPS,
107
107
  message: 'Missing authToken',
@@ -109,19 +109,15 @@ const SeasonInterruptionInsurance = /*@__PURE__*/ proxyCustomElement(class Seaso
109
109
  });
110
110
  return;
111
111
  }
112
- this.getQuote = makeGetQuote({
113
- authToken: this.authToken,
114
- service: new InsuranceService(),
115
- });
116
- this.toggleCoverage = makeToggleCoverage({
117
- authToken: this.authToken,
118
- service: new InsuranceService(),
119
- });
112
+ const service = new InsuranceService();
113
+ const config = { authToken, service };
114
+ this.getQuote = makeGetQuote(config);
115
+ this.toggleCoverage = makeToggleCoverage(config);
120
116
  }
121
117
  render() {
122
- return (h("justifi-season-interruption-insurance-core", { key: 'e6c2083c20b0f29301d5d8eafc1d269280e96de7', ref: (el) => (this.seasonInterruptionCoreRef = el), "checkout-id": this.checkoutId, getQuote: this.getQuote, toggleCoverage: this.toggleCoverage, "primary-identity-first-name": this.primaryIdentityFirstName, "primary-identity-last-name": this.primaryIdentityLastName, "primary-identity-state": this.primaryIdentityState, "primary-identity-postal-code": this.primaryIdentityPostalCode, "primary-identity-country": this.primaryIdentityCountry, "primary-identity-email-address": this.primaryIdentityEmailAddress, "policy-attributes-insurable-amount": this.policyAttributesInsurableAmount, "policy-attributes-start-date": this.policyAttributesStartDate, "policy-attributes-end-date": this.policyAttributesEndDate, "covered-identity-first-name": this.coveredIdentityFirstName, "covered-identity-last-name": this.coveredIdentityLastName }));
118
+ return (h("justifi-season-interruption-insurance-core", { key: 'a6354b724c14651a84d7ac7226fa12132d152b7d', ref: (el) => (this.seasonInterruptionCoreRef = el), "checkout-id": this.checkoutId || state.checkoutId, getQuote: this.getQuote, toggleCoverage: this.toggleCoverage, "primary-identity-first-name": this.primaryIdentityFirstName, "primary-identity-last-name": this.primaryIdentityLastName, "primary-identity-state": this.primaryIdentityState, "primary-identity-postal-code": this.primaryIdentityPostalCode, "primary-identity-country": this.primaryIdentityCountry, "primary-identity-email-address": this.primaryIdentityEmailAddress, "policy-attributes-insurable-amount": this.policyAttributesInsurableAmount, "policy-attributes-start-date": this.policyAttributesStartDate, "policy-attributes-end-date": this.policyAttributesEndDate, "covered-identity-first-name": this.coveredIdentityFirstName, "covered-identity-last-name": this.coveredIdentityLastName }));
123
119
  }
124
- }, [1, "justifi-season-interruption-insurance", {
120
+ }, [0, "justifi-season-interruption-insurance", {
125
121
  "authToken": [1, "auth-token"],
126
122
  "checkoutId": [1, "checkout-id"],
127
123
  "primaryIdentityFirstName": [1, "primary-identity-first-name"],
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
2
  import { f as filterParams, p as propsParams, c as clearParams } from './terminal-orders-list-params-state.js';
3
- import { ah as terminalOrdersListFilterMenu, ai as orderStatusTerminalOrdersListFilterParam, aj as orderTypeTerminalOrdersListFilterParam, ak as createdAfterTerminalOrdersListFilterParam, al as createdBeforeTerminalOrdersListFilterParam } from './parts.js';
3
+ import { ai as terminalOrdersListFilterMenu, aj as orderStatusTerminalOrdersListFilterParam, ak as orderTypeTerminalOrdersListFilterParam, al as createdAfterTerminalOrdersListFilterParam, am as createdBeforeTerminalOrdersListFilterParam } from './parts.js';
4
4
  import { S as StyledHost } from './styled-host.js';
5
5
  import './details.js';
6
6
  import './event-types.js';
@@ -10,7 +10,6 @@ import './Checkout.js';
10
10
  import './Pagination.js';
11
11
  import './Payment.js';
12
12
  import { T as TerminalOrderStatus, a as TerminalOrderType } from './Refund.js';
13
- import './Document.js';
14
13
  import './Business.js';
15
14
  import { d as defineCustomElement$6 } from './custom-popper2.js';
16
15
  import { d as defineCustomElement$5 } from './form-control-date2.js';
@@ -64,8 +63,8 @@ const TerminalOrdersListFilters = /*@__PURE__*/ proxyCustomElement(class Termina
64
63
  }
65
64
  render() {
66
65
  const filterMenuParams = Object.assign({}, filterParams);
67
- return (h(StyledHost, { key: 'e8bd98c43f44e2c562fb4dbe08cf90a9dd8063e4' }, h("table-filters-menu", { key: '8c865c53a9bd45a251ae8eb75d31ab47228ca014', params: filterMenuParams, clearParams: clearParams, part: terminalOrdersListFilterMenu }, h("div", { key: 'b415d03966e45cb993c544f6205adc2f3611d5da', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '7b483dd1d2254c8e3d45d6e1af4d45a839f8bdd8', class: "p-2" }, h("form-control-select", { key: '5f929730acb0c28da920f1d283d43108f06e29cb', name: "order_status", label: "Order Status", options: this.terminalOrderStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.orderStatus || filterParams.order_status, disabled: !!this.orderStatus, part: orderStatusTerminalOrdersListFilterParam })), h("div", { key: '05242bf5293256a3214ce11771f1df9d5341a095', class: "p-2" }, h("form-control-select", { key: 'dac5bbd765aed70530801395449463d6f85582fe', name: "order_type", label: "Order Type", options: this.terminalOrderTypeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.orderType || filterParams.order_type, disabled: !!this.orderType, part: orderTypeTerminalOrdersListFilterParam })), h("div", { key: '307842201ff7a5367de2857a7a59e612bb0e7976', class: "p-2" }, h("form-control-date", { key: '4dec0bead1d09989b4a1a20c128573c299b84e41', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
68
- convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterTerminalOrdersListFilterParam })), h("div", { key: '8ed2b9b5287221b8f521f5f05cec5e1808fed19f', class: "p-2" }, h("form-control-date", { key: 'a318ad6e0b426ef14470ee479f48d57b5b00ce2c', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
66
+ return (h(StyledHost, { key: '87569a0fbda61171597ae34502830a7689576c83' }, h("table-filters-menu", { key: '7fefbf17edeef40d13f34bd634e19afc1c3da9d7', params: filterMenuParams, clearParams: clearParams, part: terminalOrdersListFilterMenu }, h("div", { key: '450de24e20ce880d93045c1d549e996db865d1d4', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: 'c3092da2cf616bea443603cfbca4924e58d281ee', class: "p-2" }, h("form-control-select", { key: '19746e7161033e740eb587cecf091b65e8d59246', name: "order_status", label: "Order Status", options: this.terminalOrderStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.orderStatus || filterParams.order_status, disabled: !!this.orderStatus, part: orderStatusTerminalOrdersListFilterParam })), h("div", { key: '4cde261675fe5295798905ae6da64ef63d0b85d4', class: "p-2" }, h("form-control-select", { key: '1ca5fd3cdac0af84dff9e58afe73584d62e049d3', name: "order_type", label: "Order Type", options: this.terminalOrderTypeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.orderType || filterParams.order_type, disabled: !!this.orderType, part: orderTypeTerminalOrdersListFilterParam })), h("div", { key: '001ec15d42b32b24e43f60a8e863f16539c272ea', class: "p-2" }, h("form-control-date", { key: 'eac9a1727d07629210952c1f25bd8ef5536c2a83', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
67
+ convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterTerminalOrdersListFilterParam })), h("div", { key: '1ca6e942ed3ae19693542d73b074398e9b342005', class: "p-2" }, h("form-control-date", { key: 'fa02bc32fae8e9b3fa5cade5e20839062b64c754', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
69
68
  convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: createdBeforeTerminalOrdersListFilterParam }))))));
70
69
  }
71
70
  }, [1, "justifi-terminal-orders-list-filters", {
@@ -2,15 +2,14 @@ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/i
2
2
  import { S as StyledHost } from './styled-host.js';
3
3
  import './details.js';
4
4
  import './event-types.js';
5
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
5
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './Analytics.js';
6
6
  import { d as defineCustomElement$2, a as defaultColumnsKeys } from './terminal-orders-list-core2.js';
7
7
  import './config-state.js';
8
8
  import './utils2.js';
9
9
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkout.js';
10
10
  import './Pagination.js';
11
11
  import './Payment.js';
12
- import { e as TerminalOrder } from './Refund.js';
13
- import './Document.js';
12
+ import { g as TerminalOrder } from './Refund.js';
14
13
  import './Business.js';
15
14
  import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
16
15
  import { A as Api } from './Api.js';
@@ -98,7 +97,7 @@ const TerminalOrdersList = /*@__PURE__*/ proxyCustomElement(class TerminalOrders
98
97
  }
99
98
  }
100
99
  render() {
101
- return (h(StyledHost, { key: '3d9d1cf5051c5db194fb740370f655cec0495e07' }, h("terminal-orders-list-core", { key: 'dacc4dacf8c6cf91e9527916667fa5d716fc792a', getTerminalOrders: this.getTerminalOrders, "onError-event": this.handleErrorEvent, columns: this.columns })));
100
+ return (h(StyledHost, { key: '99fc0c7d8dccf1e8dd28aaeb9238097e78e0f4db' }, h("terminal-orders-list-core", { key: 'bbe636dea934044fced1306e8662d48580222387', getTerminalOrders: this.getTerminalOrders, "onError-event": this.handleErrorEvent, columns: this.columns })));
102
101
  }
103
102
  }, [1, "justifi-terminal-orders-list", {
104
103
  "accountId": [1, "account-id"],
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
2
  import { l as lodashExports } from './lodash.js';
3
3
  import { f as filterParams, p as propsParams, c as clearParams } from './terminals-list-params-state.js';
4
- import { am as terminalsListFilterMenu, an as terminalIdTerminalsListFilterParam, ao as terminalOrderIdTerminalsListFilterParam, ap as terminalStatusTerminalsListFilterParam } from './parts.js';
4
+ import { an as terminalsListFilterMenu, ao as terminalIdTerminalsListFilterParam, ap as terminalOrderIdTerminalsListFilterParam, aq as terminalStatusTerminalsListFilterParam } from './parts.js';
5
5
  import { S as StyledHost } from './styled-host.js';
6
6
  import './details.js';
7
7
  import './event-types.js';
@@ -11,7 +11,6 @@ import './Checkout.js';
11
11
  import './Pagination.js';
12
12
  import './Payment.js';
13
13
  import { I as ITerminalStatus } from './Refund.js';
14
- import './Document.js';
15
14
  import './Business.js';
16
15
  import { d as defineCustomElement$6 } from './custom-popper2.js';
17
16
  import { d as defineCustomElement$5 } from './form-control-select2.js';
@@ -53,7 +52,7 @@ const TerminalsListFilters = /*@__PURE__*/ proxyCustomElement(class TerminalsLis
53
52
  }
54
53
  render() {
55
54
  const filterMenuParams = Object.assign({}, filterParams);
56
- return (h(StyledHost, { key: '4d3d629e79524a5af3cdaa53a9cf4495adbb1432' }, h("table-filters-menu", { key: 'd49e21e577afc1a4975b0d860a52937772b65e48', params: filterMenuParams, clearParams: clearParams, part: terminalsListFilterMenu }, h("div", { key: '0b56a893f0eba5947721b0ca9279b0d2d0e249f3', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '0f037e3d28e052423451b64fc54f551a1e78993c', class: "p-2" }, h("form-control-text", { key: '52fdf6336a67d203ef29ad4d5f3ec53d7046f151', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: terminalIdTerminalsListFilterParam })), h("div", { key: '8aaabed2e0ba260298cd5ee0a699007d54d7deb3', class: "p-2" }, h("form-control-text", { key: 'a15fd5e5eef01ae360a0961abb64da458a64d04f', name: "terminal_order_id", label: "Terminal Order ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalOrderId || filterParams.terminal_order_id, disabled: !!this.terminalOrderId, part: terminalOrderIdTerminalsListFilterParam })), h("div", { key: '5111cba84dc8685cde783235217e1be2cad8fd8f', class: "p-2" }, h("form-control-select", { key: '20c7c224ac401cb3a38f96bf25191fd62d0534f9', name: "status", label: "Status", options: this.terminalStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.terminalStatus || filterParams.status, disabled: !!this.terminalStatus, part: terminalStatusTerminalsListFilterParam }))))));
55
+ return (h(StyledHost, { key: 'c8a9a83b3184a95474a428cfdb1135eadd680adb' }, h("table-filters-menu", { key: '4a4a12bbbdb3be98d61d177c02612c3213419b43', params: filterMenuParams, clearParams: clearParams, part: terminalsListFilterMenu }, h("div", { key: '6d6cdf7dc4a24cdb6195f17989b17f91c43cd064', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '158cb8665cdb140e25ed449d42fb147fb8da21bb', class: "p-2" }, h("form-control-text", { key: '33e06125bf7f7d5242a625aedae2c560f0cc6a8f', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: terminalIdTerminalsListFilterParam })), h("div", { key: '3d8ad10f63e16a847caf944fef9567819a77d422', class: "p-2" }, h("form-control-text", { key: 'd6217d8aa97f2c03a35fcd3d51cb42ed26e246a7', name: "terminal_order_id", label: "Terminal Order ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalOrderId || filterParams.terminal_order_id, disabled: !!this.terminalOrderId, part: terminalOrderIdTerminalsListFilterParam })), h("div", { key: '2fbf61a905de7028371bcc4b3412f7cc00feb4f9', class: "p-2" }, h("form-control-select", { key: '55a297af239e4e09e4d89c06a9c2d1a90fa7ff1e', name: "status", label: "Status", options: this.terminalStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.terminalStatus || filterParams.status, disabled: !!this.terminalStatus, part: terminalStatusTerminalsListFilterParam }))))));
57
56
  }
58
57
  }, [1, "justifi-terminals-list-filters", {
59
58
  "terminalId": [1, "terminal-id"],
@@ -1,13 +1,12 @@
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 { T as TerminalService } from './terminal.service.js';
5
5
  import './config-state.js';
6
6
  import './utils2.js';
7
7
  import './Pagination.js';
8
8
  import './Payment.js';
9
- import { b as Terminal } from './Refund.js';
10
- import './Document.js';
9
+ import { d as Terminal } from './Refund.js';
11
10
  import './Business.js';
12
11
  import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
13
12
  import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts.js';
@@ -103,7 +102,7 @@ const TerminalsList = /*@__PURE__*/ proxyCustomElement(class TerminalsList exten
103
102
  }
104
103
  }
105
104
  render() {
106
- return (h(StyledHost, { key: '8c81823f7a3c613fc1725a8c4fe3438f6186f4fe' }, h("terminals-list-core", { key: '13c38992d9e101955d39065985b6c6b22b5ace9e', getTerminals: this.getTerminals, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
105
+ return (h(StyledHost, { key: 'fd66e35b3ef7396cda794cf025aded020c39c0e4' }, h("terminals-list-core", { key: 'f6452fa39029743a7858ed84ba83764ca7dfdcca', getTerminals: this.getTerminals, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
107
106
  }
108
107
  static get watchers() { return {
109
108
  "accountId": ["propChanged"],
@@ -3,31 +3,19 @@ import { B as Button } from './button.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 './config-state.js';
8
8
  import './utils2.js';
9
9
  import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkout.js';
10
10
  import './Pagination.js';
11
11
  import './Payment.js';
12
12
  import './Refund.js';
13
- import './Document.js';
14
13
  import './Business.js';
15
- import { d as defineCustomElement$i } from './bank-account-form2.js';
16
- import { d as defineCustomElement$h } from './card-form2.js';
17
- import { d as defineCustomElement$g } from './custom-popper2.js';
18
- import { d as defineCustomElement$f } from './form-control-checkbox2.js';
19
- import { d as defineCustomElement$e } from './form-control-help-text2.js';
20
- import { d as defineCustomElement$d } from './form-control-radio2.js';
21
- import { d as defineCustomElement$c } from './form-control-select2.js';
22
- import { d as defineCustomElement$b } from './form-control-text2.js';
23
- import { d as defineCustomElement$a } from './form-control-tooltip2.js';
24
- import { d as defineCustomElement$9 } from './hidden-input2.js';
25
- import { d as defineCustomElement$8 } from './iframe-input2.js';
26
- import { d as defineCustomElement$7 } from './billing-form.js';
27
- import { d as defineCustomElement$6 } from './new-payment-method.js';
28
- import { d as defineCustomElement$5 } from './payment-method-options.js';
29
- import { d as defineCustomElement$4 } from './save-new-payment-method.js';
30
- import { d as defineCustomElement$3 } from './saved-payment-method.js';
14
+ import { s as state } from './checkout.store.js';
15
+ import { d as defineCustomElement$6 } from './form-control-help-text2.js';
16
+ import { d as defineCustomElement$5 } from './form-control-radio2.js';
17
+ import { d as defineCustomElement$4 } from './payment-method-options.js';
18
+ import { d as defineCustomElement$3 } from './saved-payment-methods.js';
31
19
  import { d as defineCustomElement$2 } from './sezzle-payment-method.js';
32
20
 
33
21
  const TokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class TokenizePaymentMethod extends HTMLElement {
@@ -43,6 +31,12 @@ const TokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class TokenizePay
43
31
  componentWillLoad() {
44
32
  checkPkgVersion();
45
33
  this.analytics = new JustifiAnalytics(this);
34
+ if (!this.authToken) {
35
+ this.authToken = state.authToken;
36
+ }
37
+ if (!this.accountId) {
38
+ this.accountId = state.accountId;
39
+ }
46
40
  }
47
41
  disconnectedCallback() {
48
42
  var _a;
@@ -84,7 +78,7 @@ const TokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class TokenizePay
84
78
  return this.paymentMethodOptionsRef.validate();
85
79
  }
86
80
  render() {
87
- return (h(StyledHost, { key: '9f12f7a83b2cb06c83694454ea5884bd7392eb83' }, h("form", { key: '0a0a4b4a049aa85863ef5c65313b89ebf58455c5' }, h("fieldset", { key: 'c35ed423483d49615f9ebe500fcef405394f4eb6' }, h("div", { key: '80419e9ca3431d9d75cffc958daab84a2c232f49', class: "row gy-3" }, h("div", { key: 'bd465d8b364c1bc46a6a3dee3fb74087bc087580', class: "col-12" }, h("justifi-payment-method-options", { key: 'c363e501622ef81c78a728ebbd15a3a4cd89867a', ref: (el) => (this.paymentMethodOptionsRef = el), "show-card": !this.disableCreditCard, "show-ach": !this.disableBankAccount, "show-bnpl": false, paymentMethodGroupId: this.paymentMethodGroupId, "show-saved-payment-methods": false, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, authToken: this.authToken, "account-id": this.accountId })), h("div", { key: 'ad252991a12f6d21a012b6422ecaae13412f789b', class: "col-12" }, h(Button, { key: '4bb1dcdfeb71c21d3268c11fabd1ab92b43fca5e', variant: "primary", type: "submit", onClick: event => this.tokenizePaymentMethod(event), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.hideSubmitButton }, this.submitButtonText)))))));
81
+ return (h(StyledHost, { key: '28bbe8fe3e9af2ced36216f5c5a4951daa82b4db' }, h("form", { key: '1aac4f1f0045a6b36160874afe650afdfcc68d14' }, h("fieldset", { key: 'cea4c054fbcb6e3cdd7eec1e6fd528c3a82eb24f' }, h("div", { key: '08fc6dd0621d9392d8236f7b75906c84a4ffc420', class: "row gy-3" }, h("div", { key: '54eeca6b19dbc25126312e4492d24e58e636c4f4', class: "col-12" }, h("justifi-payment-method-options", { key: 'c985cb5c1888ad62e45d51c8bcd60cac22115ea6', ref: (el) => (this.paymentMethodOptionsRef = el), "show-card": !this.disableCreditCard, "show-ach": !this.disableBankAccount, "show-bnpl": false, paymentMethodGroupId: this.paymentMethodGroupId, "show-saved-payment-methods": false, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, authToken: this.authToken, "account-id": this.accountId })), h("div", { key: '1c5006de7b3dd8872d100dbaba94a1f73bd9682f', class: "col-12" }, h(Button, { key: 'efc638ef35650335e7408b1dc5433f9ecb4f22ac', variant: "primary", type: "submit", onClick: event => this.tokenizePaymentMethod(event), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.hideSubmitButton }, this.submitButtonText)))))));
88
82
  }
89
83
  }, [1, "justifi-tokenize-payment-method", {
90
84
  "authToken": [1, "auth-token"],
@@ -105,89 +99,29 @@ function defineCustomElement$1() {
105
99
  if (typeof customElements === "undefined") {
106
100
  return;
107
101
  }
108
- const components = ["justifi-tokenize-payment-method", "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-new-payment-method", "justifi-payment-method-options", "justifi-save-new-payment-method", "justifi-saved-payment-method", "justifi-sezzle-payment-method"];
102
+ const components = ["justifi-tokenize-payment-method", "form-control-help-text", "form-control-radio", "justifi-payment-method-options", "justifi-saved-payment-methods", "justifi-sezzle-payment-method"];
109
103
  components.forEach(tagName => { switch (tagName) {
110
104
  case "justifi-tokenize-payment-method":
111
105
  if (!customElements.get(tagName)) {
112
106
  customElements.define(tagName, TokenizePaymentMethod);
113
107
  }
114
108
  break;
115
- case "bank-account-form":
116
- if (!customElements.get(tagName)) {
117
- defineCustomElement$i();
118
- }
119
- break;
120
- case "card-form":
121
- if (!customElements.get(tagName)) {
122
- defineCustomElement$h();
123
- }
124
- break;
125
- case "custom-popper":
126
- if (!customElements.get(tagName)) {
127
- defineCustomElement$g();
128
- }
129
- break;
130
- case "form-control-checkbox":
131
- if (!customElements.get(tagName)) {
132
- defineCustomElement$f();
133
- }
134
- break;
135
109
  case "form-control-help-text":
136
- if (!customElements.get(tagName)) {
137
- defineCustomElement$e();
138
- }
139
- break;
140
- case "form-control-radio":
141
- if (!customElements.get(tagName)) {
142
- defineCustomElement$d();
143
- }
144
- break;
145
- case "form-control-select":
146
- if (!customElements.get(tagName)) {
147
- defineCustomElement$c();
148
- }
149
- break;
150
- case "form-control-text":
151
- if (!customElements.get(tagName)) {
152
- defineCustomElement$b();
153
- }
154
- break;
155
- case "form-control-tooltip":
156
- if (!customElements.get(tagName)) {
157
- defineCustomElement$a();
158
- }
159
- break;
160
- case "hidden-input":
161
- if (!customElements.get(tagName)) {
162
- defineCustomElement$9();
163
- }
164
- break;
165
- case "iframe-input":
166
- if (!customElements.get(tagName)) {
167
- defineCustomElement$8();
168
- }
169
- break;
170
- case "justifi-billing-form":
171
- if (!customElements.get(tagName)) {
172
- defineCustomElement$7();
173
- }
174
- break;
175
- case "justifi-new-payment-method":
176
110
  if (!customElements.get(tagName)) {
177
111
  defineCustomElement$6();
178
112
  }
179
113
  break;
180
- case "justifi-payment-method-options":
114
+ case "form-control-radio":
181
115
  if (!customElements.get(tagName)) {
182
116
  defineCustomElement$5();
183
117
  }
184
118
  break;
185
- case "justifi-save-new-payment-method":
119
+ case "justifi-payment-method-options":
186
120
  if (!customElements.get(tagName)) {
187
121
  defineCustomElement$4();
188
122
  }
189
123
  break;
190
- case "justifi-saved-payment-method":
124
+ case "justifi-saved-payment-methods":
191
125
  if (!customElements.get(tagName)) {
192
126
  defineCustomElement$3();
193
127
  }
@@ -0,0 +1,269 @@
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 './Business.js';
11
+ import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
12
+ import { C as CheckoutService } from './checkout.service.js';
13
+
14
+ const makeGetCheckout = ({ authToken, checkoutId, service }) => async ({ onSuccess, onError }) => {
15
+ var _a;
16
+ try {
17
+ const response = await service.fetchCheckout(authToken, checkoutId);
18
+ if (!response.error) {
19
+ const checkout = response.data;
20
+ onSuccess({ checkout });
21
+ }
22
+ else {
23
+ const responseError = getErrorMessage(response.error);
24
+ const code = getErrorCode((_a = response.error) === null || _a === void 0 ? void 0 : _a.code);
25
+ return onError({
26
+ error: responseError,
27
+ code,
28
+ severity: ComponentErrorSeverity.ERROR,
29
+ });
30
+ }
31
+ }
32
+ catch (error) {
33
+ const code = getErrorCode(error === null || error === void 0 ? void 0 : error.code);
34
+ return onError({
35
+ error: error.message || error,
36
+ code,
37
+ severity: ComponentErrorSeverity.ERROR,
38
+ });
39
+ }
40
+ };
41
+ const makeCheckoutComplete = ({ authToken, checkoutId, service }) => async ({ payment, onSuccess, onError }) => {
42
+ var _a;
43
+ try {
44
+ const response = await service.complete(authToken, checkoutId, payment);
45
+ if (!response.error) {
46
+ onSuccess(response);
47
+ }
48
+ else {
49
+ const responseError = getErrorMessage(response.error);
50
+ const code = getErrorCode((_a = response.error) === null || _a === void 0 ? void 0 : _a.code);
51
+ return onError({
52
+ error: responseError,
53
+ code,
54
+ severity: ComponentErrorSeverity.ERROR,
55
+ });
56
+ }
57
+ }
58
+ catch (error) {
59
+ const code = getErrorCode(error === null || error === void 0 ? void 0 : error.code);
60
+ return onError({
61
+ error: error.message || error,
62
+ code,
63
+ severity: ComponentErrorSeverity.ERROR,
64
+ });
65
+ }
66
+ };
67
+
68
+ const CheckoutWrapper = /*@__PURE__*/ proxyCustomElement(class CheckoutWrapper extends HTMLElement {
69
+ constructor() {
70
+ super();
71
+ this.__registerHost();
72
+ this.errorEvent = createEvent(this, "error-event", 7);
73
+ this.checkoutComplete = createEvent(this, "checkout-complete-event", 7);
74
+ this.savePaymentMethod = false;
75
+ }
76
+ connectedCallback() {
77
+ this.observer = new MutationObserver(() => {
78
+ this.queryFormRefs();
79
+ });
80
+ this.observer.observe(this.hostEl, {
81
+ childList: true,
82
+ subtree: true
83
+ });
84
+ state.checkoutId = this.checkoutId;
85
+ const config = {
86
+ authToken: this.authToken,
87
+ checkoutId: this.checkoutId,
88
+ service: new CheckoutService()
89
+ };
90
+ this.getCheckout = makeGetCheckout(config);
91
+ this.completeCheckout = makeCheckoutComplete(config);
92
+ }
93
+ componentWillLoad() {
94
+ this.analytics = new JustifiAnalytics(this);
95
+ checkPkgVersion();
96
+ state.authToken = this.authToken;
97
+ state.accountId = this.accountId;
98
+ this.fetchCheckout();
99
+ }
100
+ componentDidLoad() {
101
+ this.queryFormRefs();
102
+ }
103
+ disconnectedCallback() {
104
+ var _a;
105
+ (_a = this.observer) === null || _a === void 0 ? void 0 : _a.disconnect();
106
+ }
107
+ fetchCheckout() {
108
+ if (this.getCheckout) {
109
+ this.getCheckout({
110
+ onSuccess: ({ checkout }) => {
111
+ var _a, _b, _c, _d;
112
+ state.paymentMethods = checkout.payment_methods;
113
+ state.paymentMethodGroupId = checkout.payment_method_group_id;
114
+ state.paymentDescription = checkout.payment_description;
115
+ state.totalAmount = checkout.total_amount;
116
+ state.paymentAmount = checkout.payment_amount;
117
+ state.bnplEnabled = checkout.payment_settings.bnpl_payments;
118
+ state.bnplProviderClientId = (_a = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _a === void 0 ? void 0 : _a.provider_client_id;
119
+ state.bnplProviderMode = (_b = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _b === void 0 ? void 0 : _b.provider_mode;
120
+ state.bnplProviderApiVersion = (_c = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _c === void 0 ? void 0 : _c.provider_api_version;
121
+ state.bnplProviderCheckoutUrl = (_d = checkout === null || checkout === void 0 ? void 0 : checkout.bnpl) === null || _d === void 0 ? void 0 : _d.provider_checkout_url;
122
+ },
123
+ onError: (error) => {
124
+ this.errorEvent.emit({
125
+ message: error.message,
126
+ errorCode: ComponentErrorCodes.FETCH_ERROR,
127
+ severity: ComponentErrorSeverity.ERROR,
128
+ });
129
+ }
130
+ });
131
+ }
132
+ }
133
+ queryFormRefs() {
134
+ this.paymentMethodFormRef = this.hostEl.querySelector('justifi-card-form, justifi-bank-account-form');
135
+ this.billingInformationFormRef = this.hostEl.querySelector('justifi-billing-information-form, justifi-postal-code-form');
136
+ this.insuranceFormRef = this.hostEl.querySelector('justifi-season-interruption-insurance');
137
+ this.sezzlePaymentMethodRef = this.hostEl.querySelector('justifi-sezzle-payment-method');
138
+ }
139
+ async tokenizePaymentMethod(tokenizeArgs) {
140
+ var _a, _b;
141
+ const billingInfoValues = (_b = await ((_a = this.billingInformationFormRef) === null || _a === void 0 ? void 0 : _a.getValues())) !== null && _b !== void 0 ? _b : {};
142
+ const combinedBillingInfo = Object.assign(Object.assign({}, tokenizeArgs), billingInfoValues);
143
+ const paymentMethodMetadata = Object.assign({ accountId: this.accountId, payment_method_group_id: undefined }, combinedBillingInfo);
144
+ if (this.savePaymentMethod) {
145
+ paymentMethodMetadata.payment_method_group_id = state.paymentMethodGroupId;
146
+ }
147
+ return this.paymentMethodFormRef.tokenize({
148
+ clientId: this.authToken,
149
+ paymentMethodMetadata,
150
+ account: this.accountId,
151
+ });
152
+ }
153
+ async getPaymentMethod(submitCheckoutArgs) {
154
+ if (!this.paymentMethodFormRef) {
155
+ return state.selectedPaymentMethod;
156
+ }
157
+ const { error, id: token } = await this.tokenizePaymentMethod(submitCheckoutArgs);
158
+ if (error) {
159
+ this.errorEvent.emit({
160
+ errorCode: error.code,
161
+ message: error.message,
162
+ severity: ComponentErrorSeverity.ERROR,
163
+ });
164
+ return undefined;
165
+ }
166
+ return token;
167
+ }
168
+ async validate() {
169
+ var _a, _b;
170
+ const promises = [
171
+ (_a = this.paymentMethodFormRef) === null || _a === void 0 ? void 0 : _a.validate(),
172
+ (_b = this.billingInformationFormRef) === null || _b === void 0 ? void 0 : _b.validate()
173
+ ];
174
+ if (this.insuranceFormRef) {
175
+ promises.push(this.insuranceFormRef.validate());
176
+ }
177
+ const validationResults = await Promise.all(promises);
178
+ return validationResults.every(result => (result === null || result === void 0 ? void 0 : result.isValid) !== false);
179
+ }
180
+ async submitCheckout(submitCheckoutArgs) {
181
+ var _a;
182
+ const isValid = await this.validate();
183
+ if (!isValid) {
184
+ this.errorEvent.emit({
185
+ message: 'Please fill in all required fields.',
186
+ errorCode: ComponentErrorCodes.VALIDATION_ERROR,
187
+ severity: ComponentErrorSeverity.ERROR,
188
+ });
189
+ return;
190
+ }
191
+ let payment;
192
+ if (state.selectedPaymentMethod === 'sezzle') {
193
+ const insuranceValidation = this.insuranceFormRef ? await this.insuranceFormRef.validate() : { isValid: true };
194
+ const sezzleResult = await this.sezzlePaymentMethodRef.resolvePaymentMethod(insuranceValidation);
195
+ if (sezzleResult.error) {
196
+ this.errorEvent.emit({
197
+ message: sezzleResult.error.message,
198
+ errorCode: ComponentErrorCodes.TOKENIZE_ERROR,
199
+ severity: ComponentErrorSeverity.ERROR,
200
+ });
201
+ return;
202
+ }
203
+ else if (((_a = sezzleResult.bnpl) === null || _a === void 0 ? void 0 : _a.status) === 'success') {
204
+ payment = {
205
+ payment_mode: 'bnpl',
206
+ payment_token: undefined,
207
+ };
208
+ }
209
+ }
210
+ else {
211
+ const paymentMethod = await this.getPaymentMethod(submitCheckoutArgs);
212
+ if (!paymentMethod) {
213
+ this.errorEvent.emit({
214
+ message: 'Payment method tokenization failed.',
215
+ errorCode: ComponentErrorCodes.TOKENIZE_ERROR,
216
+ severity: ComponentErrorSeverity.ERROR,
217
+ });
218
+ return;
219
+ }
220
+ payment = {
221
+ payment_mode: 'ecom',
222
+ payment_token: paymentMethod,
223
+ };
224
+ }
225
+ this.completeCheckout({
226
+ payment,
227
+ onSuccess: ({ checkout }) => {
228
+ this.checkoutComplete.emit({
229
+ checkout,
230
+ message: 'Checkout completed successfully',
231
+ });
232
+ },
233
+ onError: (error) => {
234
+ this.errorEvent.emit({
235
+ message: error.message,
236
+ errorCode: ComponentErrorCodes.COMPLETE_CHECKOUT_ERROR,
237
+ severity: ComponentErrorSeverity.ERROR,
238
+ });
239
+ },
240
+ });
241
+ }
242
+ render() {
243
+ return (h(Host, { key: '8e15946406121bf7ac6a37f225a96728413ff334' }));
244
+ }
245
+ get hostEl() { return this; }
246
+ }, [0, "justifi-modular-checkout", {
247
+ "authToken": [1, "auth-token"],
248
+ "accountId": [1, "account-id"],
249
+ "checkoutId": [1, "checkout-id"],
250
+ "savePaymentMethod": [4, "save-payment-method"],
251
+ "validate": [64],
252
+ "submitCheckout": [64]
253
+ }]);
254
+ function defineCustomElement() {
255
+ if (typeof customElements === "undefined") {
256
+ return;
257
+ }
258
+ const components = ["justifi-modular-checkout"];
259
+ components.forEach(tagName => { switch (tagName) {
260
+ case "justifi-modular-checkout":
261
+ if (!customElements.get(tagName)) {
262
+ customElements.define(tagName, CheckoutWrapper);
263
+ }
264
+ break;
265
+ } });
266
+ }
267
+ defineCustomElement();
268
+
269
+ export { CheckoutWrapper as C, defineCustomElement as d, makeGetCheckout as m };
@@ -1,7 +1,7 @@
1
1
  const name = "@justifi/webcomponents";
2
- const version = "5.7.2";
3
- var packageJson = {
2
+ const version = "5.7.3-rc-02";
3
+ var webcomponentsPackageJson = {
4
4
  name: name,
5
5
  version: version};
6
6
 
7
- export { packageJson as p };
7
+ export { webcomponentsPackageJson as w };
@@ -128,4 +128,4 @@ const orderTypeTerminalOrdersListFilterParam = `${terminalOrdersListFilterParam}
128
128
  const createdAfterTerminalOrdersListFilterParam = `${terminalOrdersListFilterParam} created-after-terminal-orders-list-filter-param`;
129
129
  const createdBeforeTerminalOrdersListFilterParam = `${terminalOrdersListFilterParam} created-before-terminal-orders-list-filter-param`;
130
130
 
131
- export { buttonSecondary as $, badgeWarning as A, badgeDanger as B, badgeSuccess as C, badgeSecondary as D, badgePrimary as E, badge as F, alertDanger as G, inputCheckboxInvalid as H, inputCheckboxCheckedFocused as I, inputCheckboxFocused as J, inputCheckboxChecked as K, inputCheckbox as L, inputAdornment as M, inputGroup as N, inputRadioInvalid as O, inputRadioCheckedFocused as P, inputRadioChecked as Q, inputRadioFocused as R, inputRadio as S, inputInvalidAndFocused as T, heading3 as U, checkoutSummary as V, radioListItem as W, heading4 as X, image as Y, buttonLink as Z, heading5 as _, heading1 as a, buttonPrimary as a0, buttonLoading as a1, checkoutsListFilterMenu as a2, statusCheckoutsListFilterParam as a3, paymentModeCheckoutsListFilterParam as a4, dropdownMenuButton as a5, dropdownMenu as a6, getAlternateTableCellPart as a7, paymentsListFilterMenu as a8, paymentIdPaymentsListFilterParam as a9, terminalIdPaymentsListFilterParam as aa, paymentStatusPaymentsListFilterParam as ab, createdAfterPaymentsListFilterParam as ac, createdBeforePaymentsListFilterParam as ad, payoutsListFilterMenu as ae, createdAfterPayoutsListFilterParam as af, createdBeforePayoutsListFilterParam as ag, terminalOrdersListFilterMenu as ah, orderStatusTerminalOrdersListFilterParam as ai, orderTypeTerminalOrdersListFilterParam as aj, createdAfterTerminalOrdersListFilterParam as ak, createdBeforeTerminalOrdersListFilterParam as al, terminalsListFilterMenu as am, terminalIdTerminalsListFilterParam as an, terminalOrderIdTerminalsListFilterParam as ao, terminalStatusTerminalsListFilterParam as ap, billingForm as aq, tableHead as ar, tableHeadRow as as, tableRow as at, tableFoot as au, tableFootRow as av, tableFootCell as aw, tableEmpty as ax, tableError as ay, inputInvalid as b, inputDisabled as c, inputFocused as d, tooltipIcon as e, tooltip as f, tooltipInner as g, heading2 as h, input as i, textDanger as j, card as k, label as l, table as m, tableHeadCell as n, tableCell as o, paginationButton as p, paginationButtonDisabled as q, paginationButtonIconPrevious as r, skeleton as s, text as t, paginationButtonText as u, paginationButtonIconNext as v, loadingSpinner as w, badgeDark as x, badgeLight as y, badgeInfo as z };
131
+ export { buttonSecondary as $, badgeWarning as A, badgeDanger as B, badgeSuccess as C, badgeSecondary as D, badgePrimary as E, badge as F, alertDanger as G, inputCheckboxInvalid as H, inputCheckboxCheckedFocused as I, inputCheckboxFocused as J, inputCheckboxChecked as K, inputCheckbox as L, inputAdornment as M, inputGroup as N, inputRadioInvalid as O, inputRadioCheckedFocused as P, inputRadioChecked as Q, inputRadioFocused as R, inputRadio as S, inputInvalidAndFocused as T, heading3 as U, billingForm as V, radioListItem as W, heading4 as X, image as Y, buttonLink as Z, heading5 as _, heading1 as a, buttonPrimary as a0, buttonLoading as a1, checkoutSummary as a2, checkoutsListFilterMenu as a3, statusCheckoutsListFilterParam as a4, paymentModeCheckoutsListFilterParam as a5, dropdownMenuButton as a6, dropdownMenu as a7, getAlternateTableCellPart as a8, paymentsListFilterMenu as a9, paymentIdPaymentsListFilterParam as aa, terminalIdPaymentsListFilterParam as ab, paymentStatusPaymentsListFilterParam as ac, createdAfterPaymentsListFilterParam as ad, createdBeforePaymentsListFilterParam as ae, payoutsListFilterMenu as af, createdAfterPayoutsListFilterParam as ag, createdBeforePayoutsListFilterParam as ah, terminalOrdersListFilterMenu as ai, orderStatusTerminalOrdersListFilterParam as aj, orderTypeTerminalOrdersListFilterParam as ak, createdAfterTerminalOrdersListFilterParam as al, createdBeforeTerminalOrdersListFilterParam as am, terminalsListFilterMenu as an, terminalIdTerminalsListFilterParam as ao, terminalOrderIdTerminalsListFilterParam as ap, terminalStatusTerminalsListFilterParam as aq, tableHead as ar, tableHeadRow as as, tableRow as at, tableFoot as au, tableFootRow as av, tableFootCell as aw, tableEmpty as ax, tableError as ay, inputInvalid as b, inputDisabled as c, inputFocused as d, tooltipIcon as e, tooltip as f, tooltipInner as g, heading2 as h, input as i, textDanger as j, card as k, label as l, table as m, tableHeadCell as n, tableCell as o, paginationButton as p, paginationButtonDisabled as q, paginationButtonIconPrevious as r, skeleton as s, text as t, paginationButtonText as u, paginationButtonIconNext as v, loadingSpinner as w, badgeDark as x, badgeLight as y, badgeInfo as z };