@justifi/webcomponents 5.7.1 → 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 (721) hide show
  1. package/dist/cjs/{check-pkg-version-BqC8BOhm.js → Analytics-DYN4hp2b.js} +27 -26
  2. package/dist/cjs/{Api-C8nf_gS9.js → Api-BTdkb3Zh.js} +2 -2
  3. package/dist/cjs/{Business-DyiDiIuO.js → Business-DCRzZf0w.js} +3 -1
  4. package/dist/cjs/{Checkout-RAGvjVPj.js → Checkout-BsYZoJ0a.js} +2 -4
  5. package/dist/cjs/{ComponentError-C4MdBBMe.js → ComponentError-CEv9ltwy.js} +2 -0
  6. package/dist/cjs/Document-rXGBUaOh.js +58 -0
  7. package/dist/cjs/{Document-CL5Zc72Q.js → Payment-D5UynU2f.js} +1 -57
  8. package/dist/cjs/{Refund-CYxocU06.js → Refund-BDFOEJv_.js} +1 -1
  9. package/dist/cjs/additional-questions-details_5.cjs.entry.js +14 -15
  10. package/dist/cjs/{badge-BxoJOyTJ.js → badge-sO_Hcamo.js} +1 -1
  11. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +15 -14
  12. package/dist/cjs/{bank-account-form_9.cjs.entry.js → bank-account-form_7.cjs.entry.js} +51 -210
  13. package/dist/cjs/billing-form-schema-oZ4GROWP.js +26 -0
  14. package/dist/cjs/{business-additional-questions-schema-DR8vt11M.js → business-additional-questions-schema-CHOaeZot.js} +6 -6
  15. package/dist/cjs/business-details-core.cjs.entry.js +5 -6
  16. package/dist/cjs/{business-form-options-BCj0efiD.js → business-form-options-CMII7nIK.js} +1 -1
  17. package/dist/cjs/{business-identity-schema-BYaCsboD.js → business-identity-schema-DmpEndsx.js} +10 -10
  18. package/dist/cjs/{business.service-C2rg_zSw.js → business.service-ev-3rHag.js} +7 -6
  19. package/dist/cjs/{button-BPFSRx4d.js → button-CCZd8WSY.js} +1 -1
  20. package/dist/cjs/checkout-actions-CRbQgLn0.js +61 -0
  21. package/dist/cjs/{checkout.service-CyvIIMeq.js → checkout.service-D4hTYr1i.js} +7 -6
  22. package/dist/cjs/checkout.store-osqdxFMq.js +29 -0
  23. package/dist/cjs/checkouts-list-core.cjs.entry.js +16 -15
  24. package/dist/cjs/{checkouts-list-params-state-BvG5Ysrg.js → checkouts-list-params-state-fVsfZZ5G.js} +1 -1
  25. package/dist/cjs/{checkouts-table-_T5eblyc.js → checkouts-table-C1Jv_A7m.js} +3 -3
  26. package/dist/cjs/{config-state-D7p-XunE.js → config-state-BTfJl-LU.js} +1 -1
  27. package/dist/cjs/custom-popper_4.cjs.entry.js +8 -8
  28. package/dist/cjs/{dispute.service-CKPR1vFS.js → dispute.service-Dru9NStj.js} +7 -6
  29. package/dist/cjs/{index.esm-CVuJLXJZ.js → form-CWW8IM-X.js} +10509 -10509
  30. package/dist/cjs/form-alert_5.cjs.entry.js +3 -3
  31. package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
  32. package/dist/cjs/form-control-date.cjs.entry.js +4 -4
  33. package/dist/cjs/{form-control-error-text-D9XDyFoW.js → form-control-error-text-DPDsFdAT.js} +1 -1
  34. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
  35. package/dist/cjs/{form-control-help-text-J_boqSMc.js → form-control-help-text-CT5HzEnX.js} +1 -1
  36. package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
  37. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +3 -3
  38. package/dist/cjs/form-control-monetary.cjs.entry.js +6 -6
  39. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +4 -4
  40. package/dist/cjs/form-control-number.cjs.entry.js +5 -5
  41. package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
  42. package/dist/cjs/{get-business-DHg5rpse.js → get-business-BiEc-jdH.js} +3 -3
  43. package/dist/cjs/{get-payment-details-C9HqIv-M.js → get-payment-details-AOibpML7.js} +10 -9
  44. package/dist/cjs/{get-payout-csv-CXEQkjDm.js → get-payout-csv-CdNRRH0t.js} +2 -2
  45. package/dist/cjs/{get-subaccounts-BNpIanJ9.js → get-subaccounts-Dw7CbPDi.js} +10 -9
  46. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +5 -5
  47. package/dist/cjs/{header-1-auSUfIpO.js → header-1--wdCXxjA.js} +1 -1
  48. package/dist/cjs/{header-3-B-bXHCpC.js → header-3-DxUQJ7TT.js} +1 -1
  49. package/dist/cjs/{iframe-input.cjs.entry.js → hidden-input_2.cjs.entry.js} +112 -15
  50. package/dist/cjs/{index-BYd8IvAa.js → index-2GwnTbNA.js} +22 -4
  51. package/dist/cjs/{index-B8ljHEN1.js → index-DEMVrrsF.js} +1 -1
  52. package/dist/cjs/{insurance-state-CFxbKNWH.js → insurance-state-BmAF1Sef.js} +2 -2
  53. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +25 -24
  54. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +23 -22
  55. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +43 -43
  56. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +85 -0
  57. package/dist/cjs/justifi-billing-information-form.cjs.entry.js +51 -0
  58. package/dist/cjs/justifi-business-details.cjs.entry.js +26 -20
  59. package/dist/cjs/justifi-business-form.cjs.entry.js +29 -28
  60. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
  61. package/dist/cjs/justifi-card-form.cjs.entry.js +93 -0
  62. package/dist/cjs/justifi-checkout-core.cjs.entry.js +10 -10
  63. package/dist/cjs/justifi-checkout-summary.cjs.entry.js +21 -0
  64. package/dist/cjs/justifi-checkout.cjs.entry.js +31 -74
  65. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +13 -12
  66. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +22 -21
  67. package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
  68. package/dist/cjs/justifi-details.cjs.entry.js +3 -3
  69. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +2 -2
  70. package/dist/cjs/justifi-dispute-management.cjs.entry.js +18 -17
  71. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +23 -22
  72. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +17 -16
  73. package/dist/cjs/justifi-modular-checkout.cjs.entry.js +205 -0
  74. package/dist/cjs/justifi-order-terminals.cjs.entry.js +22 -21
  75. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +20 -19
  76. package/dist/cjs/justifi-payment-details.cjs.entry.js +19 -18
  77. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +4 -4
  78. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +18 -17
  79. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +21 -20
  80. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +7 -7
  81. package/dist/cjs/justifi-payments-list.cjs.entry.js +23 -22
  82. package/dist/cjs/justifi-payout-details.cjs.entry.js +19 -18
  83. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +21 -20
  84. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +7 -7
  85. package/dist/cjs/justifi-payouts-list.cjs.entry.js +24 -23
  86. package/dist/cjs/justifi-postal-code-form.cjs.entry.js +50 -0
  87. package/dist/cjs/justifi-refund-payment.cjs.entry.js +28 -27
  88. package/dist/cjs/justifi-saved-payment-methods.cjs.entry.js +31 -0
  89. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +6 -6
  90. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +24 -25
  91. package/dist/cjs/justifi-sezzle-payment-method.cjs.entry.js +80 -0
  92. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +14 -13
  93. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +20 -19
  94. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +13 -12
  95. package/dist/cjs/justifi-terminals-list.cjs.entry.js +22 -21
  96. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +26 -19
  97. package/dist/cjs/loader.cjs.js +3 -4
  98. package/dist/cjs/{package-Biee4Hdo.js → package-DF9mLjoQ.js} +1 -1
  99. package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
  100. package/dist/cjs/payment-details-core.cjs.entry.js +15 -15
  101. package/dist/cjs/payment-method-option-utils-imuSE7KV.js +25 -0
  102. package/dist/cjs/{payment-provisioning-actions-BkWSDJQQ.js → payment-provisioning-actions-SNMCdsyF.js} +2 -2
  103. package/dist/cjs/{payment.service-C996aLGw.js → payment.service-rsnscZu7.js} +7 -6
  104. package/dist/cjs/payments-list-core.cjs.entry.js +17 -16
  105. package/dist/cjs/{payments-list-params-state-BvG5Ysrg.js → payments-list-params-state-fVsfZZ5G.js} +1 -1
  106. package/dist/cjs/{payments-status-BTykBx8i.js → payments-status-DPqU5v9h.js} +2 -2
  107. package/dist/cjs/{payments-table-BkRhDePE.js → payments-table-BM3AoAJf.js} +3 -3
  108. package/dist/cjs/payout-details-core.cjs.entry.js +11 -11
  109. package/dist/cjs/{payout.service-BwKgEbDo.js → payout.service-BnmI3X4n.js} +7 -6
  110. package/dist/cjs/payouts-list-core.cjs.entry.js +17 -16
  111. package/dist/cjs/{payouts-list-params-state-BvG5Ysrg.js → payouts-list-params-state-fVsfZZ5G.js} +1 -1
  112. package/dist/cjs/{payouts-status-YCqmbd4K.js → payouts-status-CU8aqIhH.js} +2 -2
  113. package/dist/cjs/{payouts-table-DJMz3bVh.js → payouts-table-1HL4kk9B.js} +3 -3
  114. package/dist/cjs/{schema-validations-Bhz09M42.js → schema-validations-C0BNwMBi.js} +36 -37
  115. package/dist/cjs/{skeleton-aMh0RMHq.js → skeleton-ByLavxr1.js} +1 -1
  116. package/dist/cjs/{spinner-BTyIjlMM.js → spinner-DOC4Ab7M.js} +1 -1
  117. package/dist/cjs/{styled-host-udkBJV5h.js → styled-host-IMxk64cc.js} +1 -1
  118. package/dist/cjs/{table-DKVauFHc.js → table-BgQP2M2-.js} +2 -2
  119. package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
  120. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +16 -15
  121. package/dist/cjs/{terminal-orders-list-params-state-BvG5Ysrg.js → terminal-orders-list-params-state-fVsfZZ5G.js} +1 -1
  122. package/dist/cjs/{terminal-orders-table-CxY1ykZ7.js → terminal-orders-table-OxMHSAJ1.js} +10 -9
  123. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
  124. package/dist/cjs/{terminal.service-D7dxg9ZQ.js → terminal.service--PPaq5xS.js} +7 -6
  125. package/dist/cjs/terminals-list-core.cjs.entry.js +16 -15
  126. package/dist/cjs/terminals-list-params-state-fVsfZZ5G.js +22 -0
  127. package/dist/cjs/{terminals-table-D2XUsf_J.js → terminals-table-yRGsrfBw.js} +3 -3
  128. package/dist/cjs/{utils-l0veqT9y.js → utils-IGCnjtqc.js} +1 -1
  129. package/dist/cjs/{utils-5lco6NzU.js → utils-bn0fXuc-.js} +1 -1
  130. package/dist/cjs/{utils-DmZ8Dia3.js → utils-qOon0GWm.js} +3 -0
  131. package/dist/cjs/webcomponents.cjs.js +4 -5
  132. package/dist/collection/api/BillingInformation.js +1 -0
  133. package/dist/collection/api/Business.js +3 -1
  134. package/dist/collection/api/Checkout.js +1 -3
  135. package/dist/collection/api/ComponentError.js +2 -0
  136. package/dist/collection/api/PaymentMethod.js +1 -0
  137. package/dist/collection/collection-manifest.json +10 -3
  138. package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +3 -4
  139. package/dist/collection/components/business-details/business-details-core.js +1 -2
  140. package/dist/collection/components/business-details/business-details.js +10 -3
  141. package/dist/collection/components/business-details/core-info-details/core-info-details.js +41 -0
  142. package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +3 -3
  143. package/dist/collection/components/business-details/representative-details/representative-details.js +3 -3
  144. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +2 -2
  145. package/dist/collection/components/business-forms/schemas/schema-validations.js +6 -7
  146. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
  147. package/dist/collection/components/checkout/billing-form/billing-form.js +6 -5
  148. package/dist/collection/components/checkout/card-form/card-form.js +2 -2
  149. package/dist/collection/components/checkout/checkout.js +11 -2
  150. package/dist/collection/components/checkout/new-payment-method.js +17 -6
  151. package/dist/collection/components/checkout/payment-method-options.js +6 -37
  152. package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
  153. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
  154. package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
  155. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  156. package/dist/collection/components/dispute-management/dispute-management.js +1 -1
  157. package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
  158. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  159. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  160. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  161. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  162. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  163. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  164. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  165. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  166. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  167. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  168. package/dist/collection/components/filters/table-filters-menu.js +1 -1
  169. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  170. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +10 -12
  171. package/dist/collection/components/modular-checkout/modular-checkout.js +345 -0
  172. package/dist/collection/components/modular-checkout-parts/bank-account-skeleton.js +10 -0
  173. package/dist/collection/components/modular-checkout-parts/bank-account.js +119 -0
  174. package/dist/collection/components/modular-checkout-parts/billing-form-schema.js +21 -0
  175. package/dist/collection/components/modular-checkout-parts/billing-form.js +116 -0
  176. package/dist/collection/components/modular-checkout-parts/card-form-skeleton.js +10 -0
  177. package/dist/collection/components/modular-checkout-parts/card-form.js +123 -0
  178. package/dist/collection/components/modular-checkout-parts/postal-code-form.js +114 -0
  179. package/dist/collection/components/modular-checkout-parts/saved-payment-methods.js +23 -0
  180. package/dist/collection/components/modular-checkout-parts/sezzle-payment-method.js +127 -0
  181. package/dist/collection/components/modular-checkout-parts/summary.js +12 -0
  182. package/dist/collection/components/order-terminals/order-terminals.js +1 -1
  183. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  184. package/dist/collection/components/payment-details/payment-details-core.js +8 -8
  185. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
  186. package/dist/collection/components/payments-list/payments-list-core.js +1 -1
  187. package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
  188. package/dist/collection/components/payments-list/payments-list.js +1 -1
  189. package/dist/collection/components/payout-details/payout-details-core.js +3 -3
  190. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +1 -1
  191. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  192. package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
  193. package/dist/collection/components/payouts-list/payouts-list.js +1 -1
  194. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
  195. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
  196. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
  197. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  198. package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
  199. package/dist/collection/components/terminals-list/terminals-list.js +1 -1
  200. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +13 -7
  201. package/dist/collection/store/checkout.store.js +25 -0
  202. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  203. package/dist/collection/ui-components/details/details.js +2 -2
  204. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  205. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  206. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  207. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  208. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  209. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  210. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  211. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  212. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  213. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  214. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  215. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  216. package/dist/collection/ui-components/form/iframe-input.js +10 -5
  217. package/dist/collection/utils/utils.js +3 -0
  218. package/dist/docs.json +1290 -472
  219. package/dist/esm/{check-pkg-version-DxnKX9GQ.js → Analytics-DR277kvb.js} +28 -27
  220. package/dist/esm/{Api-KYhsw8Nv.js → Api-CqimcNgb.js} +2 -2
  221. package/dist/esm/{Business-D6XNzizo.js → Business-BCoP0TAV.js} +3 -1
  222. package/dist/esm/{Checkout-Dfpql997.js → Checkout-CV6qgU0r.js} +2 -4
  223. package/dist/esm/{ComponentError-SdntD1xf.js → ComponentError-BhrFjjAs.js} +2 -0
  224. package/dist/esm/{Dispute-BH0Xfn-F.js → Dispute-7MWRbTXI.js} +1 -1
  225. package/dist/esm/Document-Ct-uNz2r.js +55 -0
  226. package/dist/esm/{Document-cNXrKmGy.js → Payment-BEvE6jAC.js} +3 -57
  227. package/dist/esm/{Refund-2YJqP9qX.js → Refund-CwUn_GFj.js} +1 -1
  228. package/dist/esm/additional-questions-details_5.entry.js +15 -16
  229. package/dist/esm/{badge-Du9GTXoB.js → badge-D_Q0kAPD.js} +2 -2
  230. package/dist/esm/bank-account-document-form-inputs_4.entry.js +17 -16
  231. package/dist/esm/{bank-account-form_9.entry.js → bank-account-form_7.entry.js} +43 -200
  232. package/dist/esm/billing-form-schema-PFvYpvy4.js +24 -0
  233. package/dist/esm/{business-additional-questions-schema-GpN_koGK.js → business-additional-questions-schema-0lssJqN7.js} +2 -2
  234. package/dist/esm/business-details-core.entry.js +6 -7
  235. package/dist/esm/{business-form-options-Bn05PRR4.js → business-form-options-CgssATyg.js} +1 -1
  236. package/dist/esm/{business-identity-schema-BjuQ6ajL.js → business-identity-schema-Bel1K5mu.js} +2 -2
  237. package/dist/esm/{business.service-ClD_YDeT.js → business.service-BM8hLxHS.js} +8 -7
  238. package/dist/esm/{button-CjH5C0pG.js → button-BVAxQPpP.js} +2 -2
  239. package/dist/esm/checkout-actions-UQ6g1s7I.js +58 -0
  240. package/dist/esm/{checkout.service-DfzkmIe4.js → checkout.service-CuCgG9hv.js} +8 -7
  241. package/dist/esm/checkout.store-DQrlfeus.js +27 -0
  242. package/dist/esm/checkouts-list-core.entry.js +18 -17
  243. package/dist/esm/{checkouts-list-params-state-Bn7pL-8x.js → checkouts-list-params-state-DhPyCV-V.js} +1 -1
  244. package/dist/esm/{checkouts-table-DKd0QLys.js → checkouts-table-Cc6U-0md.js} +4 -4
  245. package/dist/esm/{config-state-CkKrqnpZ.js → config-state-BjXhUj2q.js} +1 -1
  246. package/dist/esm/custom-popper_4.entry.js +9 -9
  247. package/dist/esm/{dispute.service-BTOWqnmk.js → dispute.service-rB4Hq6ot.js} +8 -7
  248. package/dist/esm/{index.esm-BCNUj0Dx.js → form-BjGUIqxU.js} +10509 -10509
  249. package/dist/esm/form-alert_5.entry.js +4 -4
  250. package/dist/esm/form-control-checkbox.entry.js +6 -6
  251. package/dist/esm/form-control-date.entry.js +5 -5
  252. package/dist/esm/{form-control-error-text-tGFxd6kW.js → form-control-error-text-_SAT-ts2.js} +2 -2
  253. package/dist/esm/form-control-file-v2_2.entry.js +6 -6
  254. package/dist/esm/{form-control-help-text-2DawN8-N.js → form-control-help-text-Cjeu_VrV.js} +2 -2
  255. package/dist/esm/form-control-help-text.entry.js +1 -1
  256. package/dist/esm/form-control-monetary-provisioning.entry.js +4 -4
  257. package/dist/esm/form-control-monetary.entry.js +7 -7
  258. package/dist/esm/form-control-number-masked_2.entry.js +5 -5
  259. package/dist/esm/form-control-number.entry.js +6 -6
  260. package/dist/esm/form-control-radio.entry.js +4 -4
  261. package/dist/esm/{get-business-CIKToQur.js → get-business-BSRtbTh7.js} +3 -3
  262. package/dist/esm/{get-payment-details-D-prcfRc.js → get-payment-details-DtkGDTwo.js} +10 -9
  263. package/dist/esm/{get-payout-csv-D7IYYqVL.js → get-payout-csv-U_pgdPpb.js} +2 -2
  264. package/dist/esm/{get-subaccounts-B0uEyOp_.js → get-subaccounts-C-ENQBmY.js} +11 -10
  265. package/dist/esm/gross-payment-chart-core.entry.js +6 -6
  266. package/dist/esm/{header-1-D2gZb3iT.js → header-1-5FIT-wD7.js} +2 -2
  267. package/dist/esm/{header-3-DAg8Vh4B.js → header-3-Ce9WLWBm.js} +2 -2
  268. package/dist/esm/{iframe-input.entry.js → hidden-input_2.entry.js} +106 -10
  269. package/dist/esm/{index-D6FDxSyt.js → index-Bta_r52Z.js} +22 -5
  270. package/dist/esm/{index-Cc3u0uDC.js → index-Cf8VXyXg.js} +1 -1
  271. package/dist/esm/{insurance-state-CsZbKSgm.js → insurance-state-BcwZy_5w.js} +3 -3
  272. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +19 -18
  273. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +20 -19
  274. package/dist/esm/justifi-additional-statement_8.entry.js +11 -11
  275. package/dist/esm/justifi-bank-account-form.entry.js +83 -0
  276. package/dist/esm/justifi-billing-information-form.entry.js +49 -0
  277. package/dist/esm/justifi-business-details.entry.js +26 -20
  278. package/dist/esm/justifi-business-form.entry.js +27 -26
  279. package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
  280. package/dist/esm/justifi-card-form.entry.js +91 -0
  281. package/dist/esm/justifi-checkout-core.entry.js +11 -11
  282. package/dist/esm/justifi-checkout-summary.entry.js +19 -0
  283. package/dist/esm/justifi-checkout.entry.js +28 -71
  284. package/dist/esm/justifi-checkouts-list-filters.entry.js +15 -14
  285. package/dist/esm/justifi-checkouts-list.entry.js +22 -21
  286. package/dist/esm/justifi-config-provider.entry.js +3 -3
  287. package/dist/esm/justifi-details.entry.js +4 -4
  288. package/dist/esm/justifi-dispute-management-core.entry.js +3 -3
  289. package/dist/esm/justifi-dispute-management.entry.js +17 -16
  290. package/dist/esm/justifi-dispute-notification_3.entry.js +23 -22
  291. package/dist/esm/justifi-gross-payment-chart.entry.js +17 -16
  292. package/dist/esm/justifi-modular-checkout.entry.js +203 -0
  293. package/dist/esm/justifi-order-terminals.entry.js +22 -21
  294. package/dist/esm/justifi-owner-form_3.entry.js +21 -20
  295. package/dist/esm/justifi-payment-details.entry.js +19 -18
  296. package/dist/esm/justifi-payment-provisioning-core.entry.js +5 -5
  297. package/dist/esm/justifi-payment-provisioning.entry.js +17 -16
  298. package/dist/esm/justifi-payment-transactions-list.entry.js +21 -20
  299. package/dist/esm/justifi-payments-list-filters.entry.js +8 -8
  300. package/dist/esm/justifi-payments-list.entry.js +22 -21
  301. package/dist/esm/justifi-payout-details.entry.js +19 -18
  302. package/dist/esm/justifi-payout-transactions-list.entry.js +21 -20
  303. package/dist/esm/justifi-payouts-list-filters.entry.js +8 -8
  304. package/dist/esm/justifi-payouts-list.entry.js +24 -23
  305. package/dist/esm/justifi-postal-code-form.entry.js +48 -0
  306. package/dist/esm/justifi-refund-payment.entry.js +22 -21
  307. package/dist/esm/justifi-saved-payment-methods.entry.js +29 -0
  308. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +7 -7
  309. package/dist/esm/justifi-season-interruption-insurance.entry.js +23 -24
  310. package/dist/esm/justifi-sezzle-payment-method.entry.js +78 -0
  311. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +16 -15
  312. package/dist/esm/justifi-terminal-orders-list.entry.js +20 -19
  313. package/dist/esm/justifi-terminals-list-filters.entry.js +15 -14
  314. package/dist/esm/justifi-terminals-list.entry.js +22 -21
  315. package/dist/esm/justifi-tokenize-payment-method.entry.js +26 -19
  316. package/dist/esm/loader.js +3 -4
  317. package/dist/esm/{package-DPiTQ9dr.js → package-CyXXks-Q.js} +1 -1
  318. package/dist/esm/pagination-menu.entry.js +2 -2
  319. package/dist/esm/{parts-BrLVc_85.js → parts-_6eQgwfE.js} +1 -1
  320. package/dist/esm/payment-details-core.entry.js +16 -16
  321. package/dist/esm/payment-method-option-utils-8n_ALxec.js +23 -0
  322. package/dist/esm/{payment-provisioning-actions-BIfyW239.js → payment-provisioning-actions-2qP7AtHj.js} +2 -2
  323. package/dist/esm/{payment.service-CgwLo1_s.js → payment.service-DoUv1QsX.js} +8 -7
  324. package/dist/esm/payments-list-core.entry.js +19 -18
  325. package/dist/esm/{payments-list-params-state-Bn7pL-8x.js → payments-list-params-state-DhPyCV-V.js} +1 -1
  326. package/dist/esm/{payments-status-CIUXcA0w.js → payments-status-BeL2gi3P.js} +2 -2
  327. package/dist/esm/{payments-table-BBf5fV74.js → payments-table-MrDAlH2o.js} +4 -4
  328. package/dist/esm/payout-details-core.entry.js +12 -12
  329. package/dist/esm/{payout.service-DYFCNfLa.js → payout.service-B_Fm08zQ.js} +8 -7
  330. package/dist/esm/payouts-list-core.entry.js +19 -18
  331. package/dist/esm/{payouts-list-params-state-Bn7pL-8x.js → payouts-list-params-state-DhPyCV-V.js} +1 -1
  332. package/dist/esm/{payouts-status-Clo03qUI.js → payouts-status-BxbhUjA3.js} +2 -2
  333. package/dist/esm/{payouts-table-DhZEXhGH.js → payouts-table-HoX3UYIj.js} +4 -4
  334. package/dist/esm/{schema-validations-D9YNVLiI.js → schema-validations-DYV7urvw.js} +8 -9
  335. package/dist/esm/{skeleton-Dlpibtr0.js → skeleton-CPNYhX-V.js} +2 -2
  336. package/dist/esm/{spinner-onCBxbdo.js → spinner-Cl-6YJPf.js} +2 -2
  337. package/dist/esm/{styled-host-C7vaWLiB.js → styled-host-BSX_LSdk.js} +1 -1
  338. package/dist/esm/{table-p4dOlFPi.js → table-RCk8zh4L.js} +3 -3
  339. package/dist/esm/table-filters-menu.entry.js +4 -4
  340. package/dist/esm/terminal-orders-list-core.entry.js +18 -17
  341. package/dist/esm/{terminal-orders-list-params-state-Bn7pL-8x.js → terminal-orders-list-params-state-DhPyCV-V.js} +1 -1
  342. package/dist/esm/{terminal-orders-table-BopP465z.js → terminal-orders-table-DxHLNkx_.js} +12 -11
  343. package/dist/esm/terminal-quantity-selector.entry.js +3 -3
  344. package/dist/esm/{terminal.service-f-whs_d4.js → terminal.service-2VkdfNas.js} +8 -7
  345. package/dist/esm/terminals-list-core.entry.js +18 -17
  346. package/dist/esm/terminals-list-params-state-DhPyCV-V.js +16 -0
  347. package/dist/esm/{terminals-table-CkWr-6tD.js → terminals-table-v-LOevYA.js} +4 -4
  348. package/dist/esm/{utils-BpP_VJGf.js → utils-1WrbuHVR.js} +2 -2
  349. package/dist/esm/{utils-Dccsn9BY.js → utils-BZvep88z.js} +1 -1
  350. package/dist/esm/{utils-BWcTxbSg.js → utils-BjLkBMLe.js} +4 -1
  351. package/dist/esm/webcomponents.js +4 -5
  352. package/dist/module/{check-pkg-version.js → Analytics.js} +21 -21
  353. package/dist/module/Business.js +3 -1
  354. package/dist/module/Checkout.js +3 -3
  355. package/dist/module/additional-questions-details2.js +3 -4
  356. package/dist/module/additional-statement.js +1 -1
  357. package/dist/module/bank-account-form2.js +2 -2
  358. package/dist/module/billing-form-schema.js +24 -0
  359. package/dist/module/billing-form.js +6 -5
  360. package/dist/module/business-address-schema.js +1 -1
  361. package/dist/module/business-bank-account-form-step-core.js +1 -1
  362. package/dist/module/business-core-info-schema.js +1 -1
  363. package/dist/module/business-details-core2.js +11 -7
  364. package/dist/module/business-identity-schema.js +1 -1
  365. package/dist/module/business-terms-conditions-form-step.js +2 -2
  366. package/dist/module/button.js +1 -1
  367. package/dist/module/cancellation-policy.js +1 -1
  368. package/dist/module/card-form2.js +2 -2
  369. package/dist/module/checkout-actions.js +58 -0
  370. package/dist/module/checkout-core.js +32 -38
  371. package/dist/module/checkout.store.js +27 -0
  372. package/dist/module/checkouts-list-core2.js +2 -2
  373. package/dist/module/{generic-info-details.d.ts → core-info-details.d.ts} +4 -4
  374. package/dist/module/core-info-details.js +6 -0
  375. package/dist/module/core-info-details2.js +34 -0
  376. package/dist/module/custom-popper2.js +2 -2
  377. package/dist/module/customer-details.js +1 -1
  378. package/dist/module/details.js +2 -2
  379. package/dist/module/dispute-management-core.js +1 -1
  380. package/dist/module/dispute-notification.js +1 -1
  381. package/dist/module/dispute-response-core.js +1 -1
  382. package/dist/module/dispute-response.js +2 -2
  383. package/dist/module/duplicate-charge.js +1 -1
  384. package/dist/module/electronic-evidence.js +1 -1
  385. package/dist/module/form-control-checkbox2.js +2 -2
  386. package/dist/module/form-control-date2.js +2 -2
  387. package/dist/module/form-control-file-v22.js +1 -1
  388. package/dist/module/form-control-file2.js +2 -2
  389. package/dist/module/form-control-monetary2.js +2 -2
  390. package/dist/module/form-control-number-masked2.js +2 -2
  391. package/dist/module/form-control-number.js +2 -2
  392. package/dist/module/form-control-radio2.js +2 -2
  393. package/dist/module/form-control-select2.js +2 -2
  394. package/dist/module/form-control-text2.js +2 -2
  395. package/dist/module/form-control-textarea2.js +2 -2
  396. package/dist/module/gross-payment-chart-core2.js +1 -1
  397. package/dist/module/hidden-input2.js +1 -1
  398. package/dist/module/iframe-input2.js +5 -5
  399. package/dist/module/justifi-bank-account-form.d.ts +11 -0
  400. package/dist/module/justifi-bank-account-form.js +103 -0
  401. package/dist/module/justifi-billing-information-form.d.ts +11 -0
  402. package/dist/module/justifi-billing-information-form.js +94 -0
  403. package/dist/module/justifi-business-details.js +21 -10
  404. package/dist/module/justifi-business-form.js +1 -1
  405. package/dist/module/justifi-card-form.d.ts +11 -0
  406. package/dist/module/justifi-card-form.js +111 -0
  407. package/dist/module/justifi-checkout-summary.d.ts +11 -0
  408. package/dist/module/justifi-checkout-summary.js +37 -0
  409. package/dist/module/justifi-checkout.js +48 -99
  410. package/dist/module/justifi-checkouts-list-filters.js +2 -2
  411. package/dist/module/justifi-checkouts-list.js +2 -2
  412. package/dist/module/justifi-dispute-management.js +2 -2
  413. package/dist/module/justifi-gross-payment-chart.js +1 -1
  414. package/dist/module/justifi-modular-checkout.d.ts +11 -0
  415. package/dist/module/justifi-modular-checkout.js +219 -0
  416. package/dist/module/justifi-order-terminals.js +3 -3
  417. package/dist/module/justifi-payment-details.js +1 -1
  418. package/dist/module/justifi-payment-provisioning.js +1 -1
  419. package/dist/module/justifi-payment-transactions-list.js +3 -3
  420. package/dist/module/justifi-payments-list-filters.js +3 -3
  421. package/dist/module/justifi-payments-list.js +2 -2
  422. package/dist/module/justifi-payout-details.js +1 -1
  423. package/dist/module/justifi-payout-transactions-list.js +3 -3
  424. package/dist/module/justifi-payouts-list-filters.js +3 -3
  425. package/dist/module/justifi-payouts-list.js +2 -2
  426. package/dist/module/justifi-postal-code-form.d.ts +11 -0
  427. package/dist/module/justifi-postal-code-form.js +86 -0
  428. package/dist/module/justifi-refund-payment.js +1 -1
  429. package/dist/module/justifi-saved-payment-methods.d.ts +11 -0
  430. package/dist/module/justifi-saved-payment-methods.js +58 -0
  431. package/dist/module/justifi-season-interruption-insurance.js +9 -11
  432. package/dist/module/justifi-sezzle-payment-method.js +108 -1
  433. package/dist/module/justifi-terminal-orders-list-filters.js +3 -3
  434. package/dist/module/justifi-terminal-orders-list.js +2 -2
  435. package/dist/module/justifi-terminals-list-filters.js +2 -2
  436. package/dist/module/justifi-terminals-list.js +2 -2
  437. package/dist/module/justifi-tokenize-payment-method.js +42 -42
  438. package/dist/module/legal-address-details2.js +3 -3
  439. package/dist/module/new-payment-method.js +15 -4
  440. package/dist/module/package.js +3 -3
  441. package/dist/module/parts.js +1 -1
  442. package/dist/module/payment-details-core2.js +8 -8
  443. package/dist/module/payment-method-option-utils.js +23 -0
  444. package/dist/module/payment-method-options.js +35 -53
  445. package/dist/module/payments-list-core2.js +2 -2
  446. package/dist/module/payout-details-core2.js +3 -3
  447. package/dist/module/payouts-list-core2.js +2 -2
  448. package/dist/module/product-or-service.js +1 -1
  449. package/dist/module/refund-policy.js +1 -1
  450. package/dist/module/representative-details2.js +3 -3
  451. package/dist/module/saved-payment-method.js +2 -22
  452. package/dist/module/schema-validations.js +5 -6
  453. package/dist/module/shipping-details.js +1 -1
  454. package/dist/module/table-filters-menu2.js +2 -2
  455. package/dist/module/terminal-orders-list-core2.js +2 -2
  456. package/dist/module/terminal-quantity-selector2.js +1 -1
  457. package/dist/module/terminals-list-core2.js +2 -2
  458. package/dist/module/utils2.js +3 -0
  459. package/dist/types/api/BillingInformation.d.ts +13 -0
  460. package/dist/types/api/Checkout.d.ts +14 -13
  461. package/dist/types/api/ComponentError.d.ts +3 -1
  462. package/dist/types/api/PaymentMethod.d.ts +21 -0
  463. package/dist/types/components/business-details/business-details.d.ts +1 -0
  464. package/dist/types/components/business-details/core-info-details/core-info-details.d.ts +5 -0
  465. package/dist/types/components/business-forms/utils/helpers.d.ts +1 -1
  466. package/dist/types/components/checkout/billing-form/billing-form.d.ts +1 -0
  467. package/dist/types/components/checkout/checkout.d.ts +1 -0
  468. package/dist/types/components/checkout/new-payment-method.d.ts +4 -1
  469. package/dist/types/components/checkout/payment-method-options.d.ts +1 -1
  470. package/dist/types/components/insurance/season-interruption/season-interruption-insurance.d.ts +2 -2
  471. package/dist/types/components/modular-checkout/modular-checkout.d.ts +31 -0
  472. package/dist/types/components/modular-checkout-parts/bank-account-skeleton.d.ts +6 -0
  473. package/dist/types/components/modular-checkout-parts/bank-account.d.ts +18 -0
  474. package/dist/types/components/modular-checkout-parts/billing-form-schema.d.ts +23 -0
  475. package/dist/types/components/modular-checkout-parts/billing-form.d.ts +16 -0
  476. package/dist/types/components/modular-checkout-parts/card-form-skeleton.d.ts +6 -0
  477. package/dist/types/components/modular-checkout-parts/card-form.d.ts +20 -0
  478. package/dist/types/components/modular-checkout-parts/postal-code-form.d.ts +16 -0
  479. package/dist/types/components/modular-checkout-parts/saved-payment-methods.d.ts +5 -0
  480. package/dist/types/components/{checkout → modular-checkout-parts}/sezzle-payment-method.d.ts +2 -8
  481. package/dist/types/components/modular-checkout-parts/summary.d.ts +3 -0
  482. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +3 -2
  483. package/dist/types/components.d.ts +449 -42
  484. package/dist/types/stencil-public-runtime.d.ts +1 -1
  485. package/dist/types/store/checkout.store.d.ts +19 -0
  486. package/dist/types/ui-components/form/iframe-input.d.ts +2 -1
  487. package/dist/types/utils/utils.d.ts +1 -1
  488. package/dist/webcomponents/p-00900e52.entry.js +1 -0
  489. package/dist/webcomponents/p-025ae692.entry.js +1 -0
  490. package/dist/webcomponents/p-02e26641.entry.js +1 -0
  491. package/dist/webcomponents/p-04c91ec1.entry.js +1 -0
  492. package/dist/webcomponents/{p-bf3e8295.entry.js → p-0c13f2da.entry.js} +1 -1
  493. package/dist/webcomponents/p-0d5e93b3.entry.js +1 -0
  494. package/dist/webcomponents/{p-90c24cda.entry.js → p-15c63931.entry.js} +1 -1
  495. package/dist/webcomponents/p-19b5f93a.entry.js +1 -0
  496. package/dist/webcomponents/p-1ac365b4.entry.js +1 -0
  497. package/dist/webcomponents/{p-b40108c0.entry.js → p-1d59c747.entry.js} +1 -1
  498. package/dist/webcomponents/p-1d64d86b.entry.js +1 -0
  499. package/dist/webcomponents/p-20d7db42.entry.js +1 -0
  500. package/dist/webcomponents/p-25b310f0.entry.js +1 -0
  501. package/dist/webcomponents/p-271b131d.entry.js +1 -0
  502. package/dist/webcomponents/p-2882b4e9.entry.js +1 -0
  503. package/dist/webcomponents/p-2a08ba01.entry.js +1 -0
  504. package/dist/webcomponents/p-2f027626.entry.js +1 -0
  505. package/dist/webcomponents/p-2fa36c0e.entry.js +1 -0
  506. package/dist/webcomponents/p-379584fb.entry.js +1 -0
  507. package/dist/webcomponents/p-39f31e23.entry.js +1 -0
  508. package/dist/webcomponents/p-3b6888c5.entry.js +1 -0
  509. package/dist/webcomponents/p-3d62f9a5.entry.js +1 -0
  510. package/dist/webcomponents/p-3edd5ebd.entry.js +1 -0
  511. package/dist/webcomponents/p-4232760b.entry.js +1 -0
  512. package/dist/webcomponents/p-4be4f7b4.entry.js +1 -0
  513. package/dist/webcomponents/p-531738ae.entry.js +1 -0
  514. package/dist/webcomponents/p-54019e68.entry.js +1 -0
  515. package/dist/webcomponents/{p-3e94cf62.entry.js → p-584ba20d.entry.js} +1 -1
  516. package/dist/webcomponents/p-5bc6f1e6.entry.js +20 -0
  517. package/dist/webcomponents/p-5bfbb0f8.entry.js +1 -0
  518. package/dist/webcomponents/{p-19b9c96a.entry.js → p-5da3ba38.entry.js} +1 -1
  519. package/dist/webcomponents/{p-bb50155f.entry.js → p-5ea3cfca.entry.js} +1 -1
  520. package/dist/webcomponents/p-5f9dbaff.entry.js +1 -0
  521. package/dist/webcomponents/p-6b229318.entry.js +1 -0
  522. package/dist/webcomponents/p-6fc1ace5.entry.js +1 -0
  523. package/dist/webcomponents/{p-7733b67b.entry.js → p-712220f9.entry.js} +1 -1
  524. package/dist/webcomponents/p-716d41f2.entry.js +1 -0
  525. package/dist/webcomponents/p-7253f1ea.entry.js +1 -0
  526. package/dist/webcomponents/{p-BH0Xfn-F.js → p-7MWRbTXI.js} +1 -1
  527. package/dist/webcomponents/p-80b662de.entry.js +1 -0
  528. package/dist/webcomponents/p-82164a5e.entry.js +1 -0
  529. package/dist/webcomponents/p-8532c68c.entry.js +1 -0
  530. package/dist/webcomponents/p-8590c5df.entry.js +1 -0
  531. package/dist/webcomponents/p-8e555a6e.entry.js +1 -0
  532. package/dist/webcomponents/p-96f89c69.entry.js +1 -0
  533. package/dist/webcomponents/p-98a39544.entry.js +1 -0
  534. package/dist/webcomponents/{p-CpTwq2jw.js → p-9REosSLu.js} +1 -1
  535. package/dist/webcomponents/{p-b2192f8b.entry.js → p-9a17fd5a.entry.js} +1 -1
  536. package/dist/webcomponents/p-9a9f9c57.entry.js +1 -0
  537. package/dist/webcomponents/{p-D5XSsLKb.js → p-B4MIwTdb.js} +1 -1
  538. package/dist/webcomponents/{p-n2YROtpe.js → p-B7VsiIW-.js} +1 -1
  539. package/dist/webcomponents/p-B8Ovjy6S.js +1 -0
  540. package/dist/webcomponents/p-BE5Nvydk.js +1 -0
  541. package/dist/webcomponents/{p-DuYlA4lj.js → p-BEDtXmpq.js} +1 -1
  542. package/dist/webcomponents/p-BGHVK-vQ.js +1 -0
  543. package/dist/webcomponents/{p-BzPi8Ea_.js → p-BPCw4WEY.js} +1 -1
  544. package/dist/webcomponents/p-BSUCBhkJ.js +1 -0
  545. package/dist/webcomponents/{p-DvHZ2jYI.js → p-BhLPwu1L.js} +1 -1
  546. package/dist/webcomponents/p-BhrFjjAs.js +1 -0
  547. package/dist/webcomponents/{p-BrvbVMVq.js → p-BlJnA265.js} +1 -1
  548. package/dist/webcomponents/p-BoGb-Wsw.js +1 -0
  549. package/dist/webcomponents/p-Bond4qGX.js +1 -0
  550. package/dist/webcomponents/p-BpEw7AJl.js +1 -0
  551. package/dist/webcomponents/p-Bta_r52Z.js +2 -0
  552. package/dist/webcomponents/{p-BTS3E50C.js → p-BxfUcCXo.js} +1 -1
  553. package/dist/webcomponents/p-C-WgCIei.js +1 -0
  554. package/dist/webcomponents/p-CBs671Ol.js +1 -0
  555. package/dist/webcomponents/p-CCpqJxzB.js +1 -0
  556. package/dist/webcomponents/p-CDTncSrX.js +1 -0
  557. package/dist/webcomponents/p-CLpgfEbx.js +1 -0
  558. package/dist/webcomponents/p-CRYPNa2o.js +1 -0
  559. package/dist/webcomponents/p-CbGBEkk3.js +1 -0
  560. package/dist/webcomponents/p-CeNlJX4-.js +1 -0
  561. package/dist/webcomponents/p-CnnRWu7z.js +1 -0
  562. package/dist/webcomponents/{p-C0WFYqwq.js → p-CqVelcDt.js} +1 -1
  563. package/dist/webcomponents/p-Ct-uNz2r.js +1 -0
  564. package/dist/webcomponents/{p-82kiZkHt.js → p-Ctw40vkk.js} +1 -1
  565. package/dist/webcomponents/p-CvChBLtI.js +1 -0
  566. package/dist/webcomponents/{p-D0ptm6-3.js → p-CwHYDF33.js} +1 -1
  567. package/dist/webcomponents/p-CyXXks-Q.js +1 -0
  568. package/dist/webcomponents/p-Czro_9VO.js +1 -0
  569. package/dist/webcomponents/{p-Cd06j2SL.js → p-D3BIZZrc.js} +1 -1
  570. package/dist/webcomponents/{p-ByRPlUBS.js → p-D3SYNGyb.js} +1 -1
  571. package/dist/webcomponents/{p-BjB_yKBJ.js → p-D7js9xfx.js} +1 -1
  572. package/dist/webcomponents/p-DKClunJd.js +1 -0
  573. package/dist/webcomponents/p-DOB09NZD.js +1 -0
  574. package/dist/webcomponents/p-DUdzWNqB.js +1 -0
  575. package/dist/webcomponents/p-D_FOQEGU.js +1 -0
  576. package/dist/webcomponents/p-DaS3t0DL.js +1 -0
  577. package/dist/webcomponents/p-DddGO-XR.js +1 -0
  578. package/dist/webcomponents/p-Dge4w7_c.js +1 -0
  579. package/dist/webcomponents/p-DkWBoLsd.js +1 -0
  580. package/dist/webcomponents/p-DknV-QPT.js +1 -0
  581. package/dist/webcomponents/p-DnX5CZFd.js +1 -0
  582. package/dist/webcomponents/p-DuiQuWNq.js +1 -0
  583. package/dist/webcomponents/p-Dw6NWKHn.js +1 -0
  584. package/dist/webcomponents/p-DzPrenCi.js +1 -0
  585. package/dist/webcomponents/p-NqdaxjDT.js +1 -0
  586. package/dist/webcomponents/p-YDuIVoos.js +1 -0
  587. package/dist/webcomponents/{p-OSmuQKbK.js → p-Yj41tobi.js} +1 -1
  588. package/dist/webcomponents/{p-BrLVc_85.js → p-_6eQgwfE.js} +1 -1
  589. package/dist/webcomponents/p-a2db11b5.entry.js +1 -0
  590. package/dist/webcomponents/p-a31913e3.entry.js +1 -0
  591. package/dist/webcomponents/p-a4d457e9.entry.js +1 -0
  592. package/dist/webcomponents/{p-24792e8e.entry.js → p-b3e6d27c.entry.js} +1 -1
  593. package/dist/webcomponents/p-b8ee41c1.entry.js +1 -0
  594. package/dist/webcomponents/p-bde749ac.entry.js +1 -0
  595. package/dist/webcomponents/{p-82515f70.entry.js → p-be51c7c5.entry.js} +1 -1
  596. package/dist/webcomponents/p-bf16b11c.entry.js +1 -0
  597. package/dist/webcomponents/p-ce291c6a.entry.js +1 -0
  598. package/dist/webcomponents/p-d82b509a.entry.js +1 -0
  599. package/dist/webcomponents/p-d9b06582.entry.js +1 -0
  600. package/dist/webcomponents/p-dbc02ba8.entry.js +1 -0
  601. package/dist/webcomponents/p-dcad0df5.entry.js +1 -0
  602. package/dist/webcomponents/{p-59abf1de.entry.js → p-df2ad580.entry.js} +1 -1
  603. package/dist/webcomponents/p-e03630ec.entry.js +1 -0
  604. package/dist/webcomponents/p-e07sVz4Z.js +1 -0
  605. package/dist/webcomponents/p-e563df65.entry.js +1 -0
  606. package/dist/webcomponents/p-e8294f7e.entry.js +1 -0
  607. package/dist/webcomponents/p-ea664ada.entry.js +1 -0
  608. package/dist/webcomponents/p-ec9bb3f6.entry.js +1 -0
  609. package/dist/webcomponents/p-ecf6a315.entry.js +1 -0
  610. package/dist/webcomponents/p-ef9dcfe1.entry.js +1 -0
  611. package/dist/webcomponents/p-f71b1ff0.entry.js +1 -0
  612. package/dist/webcomponents/{p-99b080d9.entry.js → p-f7e24a51.entry.js} +1 -1
  613. package/dist/webcomponents/{p-5e467788.entry.js → p-ff223825.entry.js} +1 -1
  614. package/dist/webcomponents/p-hDoH7hHP.js +1 -0
  615. package/dist/webcomponents/p-pGzabKc7.js +1 -0
  616. package/dist/webcomponents/p-uLUlLQpP.js +1 -0
  617. package/dist/webcomponents/{p-IA90llLO.js → p-yH3TC3ZQ.js} +1 -1
  618. package/dist/webcomponents/p-zucQG3cz.js +1 -0
  619. package/dist/webcomponents/webcomponents.esm.js +1 -1
  620. package/package.json +1 -1
  621. package/dist/cjs/app-globals-V2Kpy_OQ.js +0 -5
  622. package/dist/cjs/iframe-input-styles-state-D9vhHzZQ.js +0 -26
  623. package/dist/cjs/terminals-list-params-state-BvG5Ysrg.js +0 -22
  624. package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +0 -40
  625. package/dist/collection/components/checkout/sezzle-payment-method.js +0 -240
  626. package/dist/esm/app-globals-DQuL1Twl.js +0 -3
  627. package/dist/esm/iframe-input-styles-state-ibYqbF--.js +0 -23
  628. package/dist/esm/terminals-list-params-state-Bn7pL-8x.js +0 -16
  629. package/dist/module/generic-info-details.js +0 -6
  630. package/dist/module/generic-info-details2.js +0 -34
  631. package/dist/module/sezzle-payment-method.js +0 -104
  632. package/dist/types/components/business-details/generic-info-details/generic-info-details.d.ts +0 -5
  633. package/dist/webcomponents/p-0ab2f675.entry.js +0 -1
  634. package/dist/webcomponents/p-0b57ecc3.entry.js +0 -1
  635. package/dist/webcomponents/p-0deb6a38.entry.js +0 -1
  636. package/dist/webcomponents/p-16adfe77.entry.js +0 -1
  637. package/dist/webcomponents/p-1a85f26f.entry.js +0 -1
  638. package/dist/webcomponents/p-1b22572d.entry.js +0 -1
  639. package/dist/webcomponents/p-22a0b397.entry.js +0 -1
  640. package/dist/webcomponents/p-22e9ff07.entry.js +0 -1
  641. package/dist/webcomponents/p-25ea4450.entry.js +0 -1
  642. package/dist/webcomponents/p-2adda453.entry.js +0 -1
  643. package/dist/webcomponents/p-2b8ac00a.entry.js +0 -1
  644. package/dist/webcomponents/p-2dbc4b19.entry.js +0 -1
  645. package/dist/webcomponents/p-3368d3d5.entry.js +0 -1
  646. package/dist/webcomponents/p-3a979295.entry.js +0 -1
  647. package/dist/webcomponents/p-3abc8eab.entry.js +0 -1
  648. package/dist/webcomponents/p-3babed12.entry.js +0 -1
  649. package/dist/webcomponents/p-40541e0c.entry.js +0 -1
  650. package/dist/webcomponents/p-4194214c.entry.js +0 -1
  651. package/dist/webcomponents/p-43d6bbed.entry.js +0 -1
  652. package/dist/webcomponents/p-44d8c2b1.entry.js +0 -1
  653. package/dist/webcomponents/p-4749e0d0.entry.js +0 -1
  654. package/dist/webcomponents/p-4ee0cd96.entry.js +0 -1
  655. package/dist/webcomponents/p-54281359.entry.js +0 -1
  656. package/dist/webcomponents/p-639baa7d.entry.js +0 -1
  657. package/dist/webcomponents/p-6429afb4.entry.js +0 -1
  658. package/dist/webcomponents/p-6n7viK-J.js +0 -1
  659. package/dist/webcomponents/p-799000c1.entry.js +0 -1
  660. package/dist/webcomponents/p-7c62b59d.entry.js +0 -1
  661. package/dist/webcomponents/p-83154291.entry.js +0 -1
  662. package/dist/webcomponents/p-84d27581.entry.js +0 -1
  663. package/dist/webcomponents/p-9105f700.entry.js +0 -1
  664. package/dist/webcomponents/p-916ea4fc.entry.js +0 -1
  665. package/dist/webcomponents/p-935bbc62.entry.js +0 -1
  666. package/dist/webcomponents/p-935fa555.entry.js +0 -1
  667. package/dist/webcomponents/p-947239a6.entry.js +0 -1
  668. package/dist/webcomponents/p-B0cQ2RjH.js +0 -1
  669. package/dist/webcomponents/p-B190pN0v.js +0 -1
  670. package/dist/webcomponents/p-BM5lviat.js +0 -1
  671. package/dist/webcomponents/p-BWJ7zamv.js +0 -1
  672. package/dist/webcomponents/p-BiPRf6d2.js +0 -1
  673. package/dist/webcomponents/p-BmWpHZ-Z.js +0 -1
  674. package/dist/webcomponents/p-C0IqfGFc.js +0 -1
  675. package/dist/webcomponents/p-C0UUR9CN.js +0 -1
  676. package/dist/webcomponents/p-C5RuuShs.js +0 -1
  677. package/dist/webcomponents/p-CCGhF18e.js +0 -1
  678. package/dist/webcomponents/p-CQdeVKF8.js +0 -1
  679. package/dist/webcomponents/p-CffckWWF.js +0 -1
  680. package/dist/webcomponents/p-CgxzrbM_.js +0 -1
  681. package/dist/webcomponents/p-D4Mv5jCp.js +0 -1
  682. package/dist/webcomponents/p-D5Sh88BE.js +0 -1
  683. package/dist/webcomponents/p-D6FDxSyt.js +0 -2
  684. package/dist/webcomponents/p-DDEz7_ad.js +0 -1
  685. package/dist/webcomponents/p-DJzjeg3x.js +0 -1
  686. package/dist/webcomponents/p-DNt_pMGt.js +0 -1
  687. package/dist/webcomponents/p-DPiTQ9dr.js +0 -1
  688. package/dist/webcomponents/p-DQuL1Twl.js +0 -1
  689. package/dist/webcomponents/p-DVnVdicA.js +0 -1
  690. package/dist/webcomponents/p-DZfxGQ1I.js +0 -1
  691. package/dist/webcomponents/p-DgfzEZny.js +0 -1
  692. package/dist/webcomponents/p-DjGTAHJM.js +0 -1
  693. package/dist/webcomponents/p-DniQ6yo6.js +0 -1
  694. package/dist/webcomponents/p-DuBhW0xA.js +0 -1
  695. package/dist/webcomponents/p-M61ygz6l.js +0 -1
  696. package/dist/webcomponents/p-SdntD1xf.js +0 -1
  697. package/dist/webcomponents/p-U30-0DaA.js +0 -1
  698. package/dist/webcomponents/p-ZE1NEnP3.js +0 -1
  699. package/dist/webcomponents/p-a46730eb.entry.js +0 -1
  700. package/dist/webcomponents/p-a4dd3835.entry.js +0 -1
  701. package/dist/webcomponents/p-ad85bd0d.entry.js +0 -1
  702. package/dist/webcomponents/p-af2c38f7.entry.js +0 -1
  703. package/dist/webcomponents/p-afa54e39.entry.js +0 -1
  704. package/dist/webcomponents/p-cNABKY0P.js +0 -1
  705. package/dist/webcomponents/p-cab175e9.entry.js +0 -1
  706. package/dist/webcomponents/p-ceefc483.entry.js +0 -1
  707. package/dist/webcomponents/p-d-_oUZor.js +0 -1
  708. package/dist/webcomponents/p-d1331dbb.entry.js +0 -1
  709. package/dist/webcomponents/p-d2dc6f22.entry.js +0 -20
  710. package/dist/webcomponents/p-d9c70010.entry.js +0 -1
  711. package/dist/webcomponents/p-dd05cce1.entry.js +0 -1
  712. package/dist/webcomponents/p-e00aeb33.entry.js +0 -1
  713. package/dist/webcomponents/p-e1c5ee0a.entry.js +0 -1
  714. package/dist/webcomponents/p-ea8dd3e7.entry.js +0 -1
  715. package/dist/webcomponents/p-f389c2aa.entry.js +0 -1
  716. package/dist/webcomponents/p-f8b205f7.entry.js +0 -1
  717. package/dist/webcomponents/p-l3o3Ndc0.js +0 -1
  718. package/dist/webcomponents/p-o_73WSki.js +0 -1
  719. package/dist/webcomponents/p-um3YdOwW.js +0 -1
  720. package/dist/webcomponents/p-vb3fTJEZ.js +0 -1
  721. package/dist/webcomponents/p-wqUvt1PB.js +0 -1
@@ -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';
@@ -7,14 +7,14 @@ import './Payment.js';
7
7
  import { c as PaymentBalanceTransaction } from './Refund.js';
8
8
  import './Document.js';
9
9
  import './Business.js';
10
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
10
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './Analytics.js';
11
11
  import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
12
12
  import { P as PaymentService } from './payment.service.js';
13
13
  import { T as Table, a as TableWrapper, b as TableComponent, c as TableHead, d as TableHeadRow, e as TableBody, f as TableLoadingState, g as TableEmptyState, h as TableErrorState, i as TableRow, j as TableFoot, k as TableFootRow, l as TableFootCell } from './table.js';
14
14
  import { S as StyledHost } from './styled-host.js';
15
15
  import './details.js';
16
16
  import { T as TableClickActions } from './event-types.js';
17
- import { n as tableHeadCell, a7 as getAlternateTableCellPart } from './parts.js';
17
+ import { n as tableHeadCell, a8 as getAlternateTableCellPart } from './parts.js';
18
18
  import { d as defineCustomElement$2 } from './pagination-menu2.js';
19
19
 
20
20
  const makeGetPaymentTransactions = ({ id, authToken, service }) => async ({ params, onSuccess, onError, final }) => {
@@ -182,7 +182,7 @@ const PaymentTransactionsList = /*@__PURE__*/ proxyCustomElement(class PaymentTr
182
182
  return !this.showEmptyState && !this.showErrorState && !this.isLoading;
183
183
  }
184
184
  render() {
185
- return (h(StyledHost, { key: '5afad0e2e8dc4f37660b09c434fa1e69014194f6' }, h(TableWrapper, { key: '90b657d1a31077ccfee1c494e5bde526572d86b1' }, h(TableComponent, { key: 'c25fd7f2cb00dff6e7d1e5102660c28c08735439' }, h(TableHead, { key: 'a6a9bfd9dff7aa5c82e2dbe5c3c5674b4e6a5c04' }, h(TableHeadRow, { key: 'a7e136e48933ae4f7dabc3cb70bda5f2016b400f' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: '921169d43283f1b13921f3972e4ff912a92a27eb' }, h(TableLoadingState, { key: '69e6d2c8df07e0acb657ab0f7997b6576be86c91', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: '6a8a44d407bc4cb75e003ce68b174eed3aee885f', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: '599552617b6e9f4dc6451a4fbbb5fe2c402849e4', columnSpan: this.transactionsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.transactionsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: 'c2cadba24db21209557443e598ae2fbb1f4f1ffa' }, h(TableFootRow, { key: 'ffa9e9f6bf3dd7bb6bb5b8626756edf7ee249074' }, h(TableFootCell, { key: '7d6a900f2aac9483004c4eda42b3592db4495cca', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: '028b35bc60ff879529a10ef43de4f45ba2aeb584', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
185
+ return (h(StyledHost, { key: '2e6911991eb1fc44421771f3eaeaab5b56a428a7' }, h(TableWrapper, { key: '316b7fbfd053e46cf13867e339af620348a9eab6' }, h(TableComponent, { key: 'fb9e5747d296827057127ba02b129813acdf8697' }, h(TableHead, { key: 'e18cb6967b4fc7a87e6446331b749a661152ae15' }, h(TableHeadRow, { key: 'e6826933dda843935998e30de46c282822f52015' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: '25ec99be29c6cfd4c73268ba9bdd3bd27dd111d3' }, h(TableLoadingState, { key: 'd4543307e31e2c697958118c7cce3175a04a23da', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: '729b803595deed86cb03fee9bce764a7652f167f', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: 'a774dd4abc6d1d0f36e9bf5d5a9c851cca632181', columnSpan: this.transactionsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.transactionsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: 'f986ae746e06bf1ec934a6adc5149a9ced344c1e' }, h(TableFootRow, { key: '622645b9ca816156183d08f71806bca804ddbc8b' }, h(TableFootCell, { key: '672fa0fd592029908aaa88dddbfb5db90d14f7e6', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: '60538e822fbf8279ec428c82e2fd9cf53a9d1b44', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
186
186
  }
187
187
  static get watchers() { return {
188
188
  "pagingParams": ["propChanged"],
@@ -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 './payments-list-params-state.js';
4
- import { a8 as paymentsListFilterMenu, a9 as paymentIdPaymentsListFilterParam, aa as terminalIdPaymentsListFilterParam, ab as paymentStatusPaymentsListFilterParam, ac as createdAfterPaymentsListFilterParam, ad as createdBeforePaymentsListFilterParam } from './parts.js';
4
+ import { a9 as paymentsListFilterMenu, aa as paymentIdPaymentsListFilterParam, ab as terminalIdPaymentsListFilterParam, ac as paymentStatusPaymentsListFilterParam, ad as createdAfterPaymentsListFilterParam, ae as createdBeforePaymentsListFilterParam } from './parts.js';
5
5
  import { S as StyledHost } from './styled-host.js';
6
6
  import './details.js';
7
7
  import './event-types.js';
@@ -55,8 +55,8 @@ const PaymentsListFilters = /*@__PURE__*/ proxyCustomElement(class PaymentsListF
55
55
  }
56
56
  render() {
57
57
  const filterMenuParams = Object.assign({}, filterParams);
58
- return (h(StyledHost, { key: '41c3ce22404b0e8e536d8c230886eadc34b77208' }, h("table-filters-menu", { key: '864a91207169043f08a47c90c8f867d0e32031e2', params: filterMenuParams, clearParams: clearParams, part: paymentsListFilterMenu }, h("div", { key: 'd2a98ef4ab0094f708de21c2c3e02ec149b5e72f', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '00b9b884348d47e7dc1670064c1c0486eefc0a21', class: "p-2" }, h("form-control-text", { key: '405ee21a3780942784738a0cc0a3b423a03c2b5e', name: "payment_id", label: "Payment ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.paymentId || filterParams.payment_id, disabled: !!this.paymentId, part: paymentIdPaymentsListFilterParam })), h("div", { key: '5401d6d05995af1fa7ab801987d79711c16aecc1', class: "p-2" }, h("form-control-text", { key: 'e1518fddbd3e62af0ddce873a191376b2504c9e0', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: terminalIdPaymentsListFilterParam })), h("div", { key: '131c39879c3823c3d380d4939e6b93a2771bc86a', class: "p-2" }, h("form-control-select", { key: '856053d6ce5381956a18c6a21df169898fa71616', name: "payment_status", label: "Status", options: this.paymentStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentStatus || filterParams.payment_status, disabled: !!this.paymentStatus, part: paymentStatusPaymentsListFilterParam })), h("div", { key: '76ad87197605e45ae06fefc547755df29741fa18', class: "p-2" }, h("form-control-date", { key: '7cdd9b684a87e2da99ecfe963349433bf7ac1d45', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
59
- convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterPaymentsListFilterParam })), h("div", { key: 'ae78b441f6dbbbdca902fb4f83f7531e80322ff2', class: "p-2" }, h("form-control-date", { key: '34d321e3cd47ccd95ea30d7a54cfb36e34af64db', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
58
+ return (h(StyledHost, { key: '391445459edaf4d91dae9473cc48c5ed547e6ef4' }, h("table-filters-menu", { key: 'd07285a19096df128f64c820d9fadb1178c7bfa2', params: filterMenuParams, clearParams: clearParams, part: paymentsListFilterMenu }, h("div", { key: 'a01f3600c114340ca0252799889cfb0abe93c8c6', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '65c2067c8f974cda96ecd012503cd50f21af1dbe', class: "p-2" }, h("form-control-text", { key: 'a6cd04a16bd34a32a760f42be8d604892fd0eb91', name: "payment_id", label: "Payment ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.paymentId || filterParams.payment_id, disabled: !!this.paymentId, part: paymentIdPaymentsListFilterParam })), h("div", { key: '646c31fb7cdbe3ac411ea02f24f81d60b2a32c23', class: "p-2" }, h("form-control-text", { key: '693f22ca4b96f33e5eeb475ad86e78992df95fb8', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: terminalIdPaymentsListFilterParam })), h("div", { key: 'a5e96c84a9864c74bda22d398f388afd6b9f77df', class: "p-2" }, h("form-control-select", { key: '6c5c6a3a2d0763af151c46b8f8ad27eed63356f3', name: "payment_status", label: "Status", options: this.paymentStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentStatus || filterParams.payment_status, disabled: !!this.paymentStatus, part: paymentStatusPaymentsListFilterParam })), h("div", { key: '2716ec9b9fa8944d0a6f6a47ee460c5a62b51ff3', class: "p-2" }, h("form-control-date", { key: '7465c4b321beb78151408ec4cfad2074e75a1eaa', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
59
+ convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterPaymentsListFilterParam })), h("div", { key: '396bd5ec578e99342321887773d2c5b58215fec6', class: "p-2" }, h("form-control-date", { key: 'd5e3fbae8412ad820c50be18c17db52852f5d3a9', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
60
60
  convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: createdBeforePaymentsListFilterParam }))))));
61
61
  }
62
62
  }, [1, "justifi-payments-list-filters", {
@@ -9,7 +9,7 @@ import './Refund.js';
9
9
  import './Document.js';
10
10
  import './Business.js';
11
11
  import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
12
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
12
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './Analytics.js';
13
13
  import { S as StyledHost } from './styled-host.js';
14
14
  import './details.js';
15
15
  import './event-types.js';
@@ -92,7 +92,7 @@ const PaymentsList = /*@__PURE__*/ proxyCustomElement(class PaymentsList extends
92
92
  }
93
93
  }
94
94
  render() {
95
- return (h(StyledHost, { key: '26ccbd4f232a44cc9a682d9496fc0eb714c89864' }, h("payments-list-core", { key: 'c2b9653272eb8e3ebcd21309a0c475514ec1aa35', getPayments: this.getPayments, "onError-event": this.handleErrorEvent, columns: this.columns })));
95
+ return (h(StyledHost, { key: '44d6afd6b784b099b5b222b525bdd474aec5aa19' }, h("payments-list-core", { key: 'b17f29330af9a87bbe81be7ba1db45fa9398f0cd', getPayments: this.getPayments, "onError-event": this.handleErrorEvent, columns: this.columns })));
96
96
  }
97
97
  static get watchers() { return {
98
98
  "accountId": ["propChanged"],
@@ -10,7 +10,7 @@ import './Document.js';
10
10
  import './Business.js';
11
11
  import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
12
12
  import { E as ErrorState } from './utils.js';
13
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
13
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './Analytics.js';
14
14
  import { m as makeGetPayoutCSV } from './get-payout-csv.js';
15
15
  import { d as defineCustomElement$3 } from './details.js';
16
16
  import { d as defineCustomElement$2 } from './payout-details-core2.js';
@@ -7,14 +7,14 @@ import './Payment.js';
7
7
  import { d as PayoutBalanceTransaction } from './Refund.js';
8
8
  import './Document.js';
9
9
  import './Business.js';
10
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
10
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './Analytics.js';
11
11
  import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
12
12
  import { P as PayoutService } from './payout.service.js';
13
13
  import { T as Table, a as TableWrapper, b as TableComponent, c as TableHead, d as TableHeadRow, e as TableBody, f as TableLoadingState, g as TableEmptyState, h as TableErrorState, i as TableRow, j as TableFoot, k as TableFootRow, l as TableFootCell } from './table.js';
14
14
  import { S as StyledHost } from './styled-host.js';
15
15
  import './details.js';
16
16
  import { T as TableClickActions } from './event-types.js';
17
- import { n as tableHeadCell, a7 as getAlternateTableCellPart } from './parts.js';
17
+ import { n as tableHeadCell, a8 as getAlternateTableCellPart } from './parts.js';
18
18
  import { d as defineCustomElement$2 } from './pagination-menu2.js';
19
19
 
20
20
  const makeGetPayoutTransactions = ({ accountId, authToken, service }) => async ({ params, onSuccess, onError, final }) => {
@@ -191,7 +191,7 @@ const PayoutTransactionsList = /*@__PURE__*/ proxyCustomElement(class PayoutTran
191
191
  return Object.assign({ payout_id: this.payoutId, limit: '15' }, this.pagingParams);
192
192
  }
193
193
  render() {
194
- return (h(StyledHost, { key: 'd37f96bf4e1d40607d3190791f513df5c1ce02d1' }, h(TableWrapper, { key: 'a6d2b2c342b6286630acb804b93c846ac42eff9b' }, h(TableComponent, { key: 'abcb7a3bbca27973bafdf0a0a1d9316d9e668aa9' }, h(TableHead, { key: 'e79c0ee71e45ca1379e354f939368cacbf1bd74e' }, h(TableHeadRow, { key: 'c64962612a826a5e53c921f43170f1d1ba16399a' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: '7b33c299ac42c4e668cb4c967ecc5324ec56ede3' }, h(TableLoadingState, { key: '096000771b0ce2fe37db3329315bd780af9977a1', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: '48ff70675d33875b8fdcf7c7ddf9ceed413ca2e8', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: '4ffffbd73a18ef281209adbe870383f744d51da5', columnSpan: this.transactionsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.transactionsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '8ba623495a597e10bc8708b9984c9da92e3750a4' }, h(TableFootRow, { key: '01f6405cef206cbaf487013370ccd7c312eca3b5' }, h(TableFootCell, { key: '0b94346d3ed5f431393e2df93f0baa81b8804d2b', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: 'c7a24d435a90c4f8db5c0f71b1a120b11cd01b7b', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
194
+ return (h(StyledHost, { key: '6c624e5edba69e17a4cab229b90beb9d2ecda69d' }, h(TableWrapper, { key: '449f93393a5e2b1aa2dd0f4f136e264fde27a9a4' }, h(TableComponent, { key: 'de857828525be5df2e383859ac51e8b0719422fd' }, h(TableHead, { key: 'c3f2ae5ff5ae6f78a587bee899d68b3e7934cf41' }, h(TableHeadRow, { key: '57ddf8fcaafa22cf3e6137a3de82550748ac9288' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: '9f634545f5afd44dab4b2a16ec630efeeee18f52' }, h(TableLoadingState, { key: '12ffb167f61de13a91c05f6c93304ff1b688d734', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: '5453befdfcd1764163cc9c1a9c51f5f35e7c2c62', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: '19f22366e49c1022f0bf96839bac88c76892d62d', columnSpan: this.transactionsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.transactionsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: 'e86e144a90d9010e866bd48d96d24c613ebeb8ef' }, h(TableFootRow, { key: '6e4bee39a0c426332331128b27560218adc888e4' }, h(TableFootCell, { key: '9becbcedb44ad9f9d1ed7ef5725af087178b6829', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: '17582aa7347e31457c8f29af49ccc4dcc60d3d04', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
195
195
  }
196
196
  static get watchers() { return {
197
197
  "pagingParams": ["propChanged"],
@@ -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 './payouts-list-params-state.js';
3
- import { ae as payoutsListFilterMenu, af as createdAfterPayoutsListFilterParam, ag as createdBeforePayoutsListFilterParam } from './parts.js';
3
+ import { af as payoutsListFilterMenu, ag as createdAfterPayoutsListFilterParam, ah as createdBeforePayoutsListFilterParam } from './parts.js';
4
4
  import { S as StyledHost } from './styled-host.js';
5
5
  import './details.js';
6
6
  import './event-types.js';
@@ -36,8 +36,8 @@ const PayoutsListFilters = /*@__PURE__*/ proxyCustomElement(class PayoutsListFil
36
36
  }
37
37
  render() {
38
38
  const filterMenuParams = Object.assign({}, filterParams);
39
- return (h(StyledHost, { key: '42c48bbbfa426540d33c49d5ef927d2da316fda5' }, h("table-filters-menu", { key: '7741ef6667ed7dc6ebbc312f145590939ce1b071', params: filterMenuParams, clearParams: clearParams, part: payoutsListFilterMenu }, h("div", { key: '0f983dc3e6a735ad12aea940d7663bab98cf623d', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '27faddc94394d5e52de9d1a65a69ecda2f840360', class: "p-2" }, h("form-control-date", { key: '58cd7720a5dbcc31b32151de1402b2c4b09b94de', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDate: true }) ||
40
- convertToLocal(filterParams.created_after, { showInputDate: true }), disabled: !!this.createdAfter, part: createdAfterPayoutsListFilterParam })), h("div", { key: 'a2a8d153acc9fa8371c8effb4cfd0146e31a3018', class: "p-2" }, h("form-control-date", { key: '9fc58f04079445952586d0913fad92305fa537a8', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDate: true }) ||
39
+ return (h(StyledHost, { key: '05c16ac0eda9f43a8fea014e92788a9d1dd5726b' }, h("table-filters-menu", { key: '4ff930a4cf5410fcdee019be664f7f56992f293e', params: filterMenuParams, clearParams: clearParams, part: payoutsListFilterMenu }, h("div", { key: '2cecc576a4fd6779ea866b56e7623351de3cf6e8', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '34864c377740cb9415259c893a18b13d15a98534', class: "p-2" }, h("form-control-date", { key: '72481e53e0aac0b9e2cffdc22c59da302b5a638d', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDate: true }) ||
40
+ convertToLocal(filterParams.created_after, { showInputDate: true }), disabled: !!this.createdAfter, part: createdAfterPayoutsListFilterParam })), h("div", { key: '8edb0b5a2693211f9acf608d3ed8f101c4315648', class: "p-2" }, h("form-control-date", { key: '520f02a76b921590e3b43cd8e2a17f120278c90a', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDate: true }) ||
41
41
  convertToLocal(filterParams.created_before, { showInputDate: true }), disabled: !!this.createdBefore, part: createdBeforePayoutsListFilterParam }))))));
42
42
  }
43
43
  }, [1, "justifi-payouts-list-filters", {
@@ -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 { P as PayoutService } from './payout.service.js';
5
5
  import './config-state.js';
6
6
  import './utils2.js';
@@ -106,7 +106,7 @@ const PayoutsList = /*@__PURE__*/ proxyCustomElement(class PayoutsList extends H
106
106
  }
107
107
  }
108
108
  render() {
109
- return (h(StyledHost, { key: '922ee0ed12294b66d854d28aa18a06dc0438c662' }, h("payouts-list-core", { key: 'cc0557c8fdc14b16df203a6a648c3381a6ff2c13', getPayouts: this.getPayouts, getPayoutCSV: this.getPayoutCSV, getSubAccounts: this.getSubAccounts, "onError-event": this.handleOnError, columns: this.columns })));
109
+ return (h(StyledHost, { key: 'cb3d9f45b26f10dcb3e4f230655e3dbcb9169e66' }, h("payouts-list-core", { key: '0099531b4747cc5b04741ed7fc12cf5f2add028e', getPayouts: this.getPayouts, getPayoutCSV: this.getPayoutCSV, getSubAccounts: this.getSubAccounts, "onError-event": this.handleOnError, columns: this.columns })));
110
110
  }
111
111
  static get watchers() { return {
112
112
  "accountId": ["propChanged"],
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface JustifiPostalCodeForm extends Components.JustifiPostalCodeForm, HTMLElement {}
4
+ export const JustifiPostalCodeForm: {
5
+ prototype: JustifiPostalCodeForm;
6
+ new (): JustifiPostalCodeForm;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,86 @@
1
+ import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
+ import { S as StyledHost } from './styled-host.js';
3
+ import './details.js';
4
+ import './event-types.js';
5
+ import { n as numberOnlyHandler } from './utils3.js';
6
+ import { F as FormController } from './form.js';
7
+ import { b as billingFormSchema } from './billing-form-schema.js';
8
+ import { d as defineCustomElement$4 } from './custom-popper2.js';
9
+ import { d as defineCustomElement$3 } from './form-control-text2.js';
10
+ import { d as defineCustomElement$2 } from './form-control-tooltip2.js';
11
+
12
+ const PostalCodeForm = /*@__PURE__*/ proxyCustomElement(class PostalCodeForm extends HTMLElement {
13
+ constructor() {
14
+ super();
15
+ this.__registerHost();
16
+ this.__attachShadow();
17
+ this.errors = {};
18
+ this.inputHandler = (name, value) => {
19
+ this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { [name]: value }));
20
+ };
21
+ }
22
+ componentWillLoad() {
23
+ this.formController = new FormController(billingFormSchema(true));
24
+ }
25
+ componentDidLoad() {
26
+ this.formController.values.subscribe(values => this.billingInfo = Object.assign({}, values));
27
+ this.formController.errors.subscribe(errors => {
28
+ this.errors = Object.assign({}, errors);
29
+ });
30
+ }
31
+ async getValues() {
32
+ return this.formController.values.getValue();
33
+ }
34
+ async fill(fields) {
35
+ this.formController.setInitialValues(fields);
36
+ }
37
+ async validate() {
38
+ let isValid = await this.formController.validate();
39
+ return { isValid: isValid };
40
+ }
41
+ render() {
42
+ const billingFormDefaultValue = this.formController.getInitialValues();
43
+ return (h(StyledHost, { key: 'e5cdb9b21be1e5f4ee6fd21a2d919b2d9271b163' }, h("form", { key: '29c0a3edaad9877d50ecc9e4424ca2f5e667dc30' }, h("form-control-text", { key: '00e8688c8a8e9b91df5089e2fb97c8b71673a3fd', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: numberOnlyHandler }))));
44
+ }
45
+ }, [1, "justifi-postal-code-form", {
46
+ "formController": [32],
47
+ "billingInfo": [32],
48
+ "errors": [32],
49
+ "getValues": [64],
50
+ "fill": [64],
51
+ "validate": [64]
52
+ }]);
53
+ function defineCustomElement$1() {
54
+ if (typeof customElements === "undefined") {
55
+ return;
56
+ }
57
+ const components = ["justifi-postal-code-form", "custom-popper", "form-control-text", "form-control-tooltip"];
58
+ components.forEach(tagName => { switch (tagName) {
59
+ case "justifi-postal-code-form":
60
+ if (!customElements.get(tagName)) {
61
+ customElements.define(tagName, PostalCodeForm);
62
+ }
63
+ break;
64
+ case "custom-popper":
65
+ if (!customElements.get(tagName)) {
66
+ defineCustomElement$4();
67
+ }
68
+ break;
69
+ case "form-control-text":
70
+ if (!customElements.get(tagName)) {
71
+ defineCustomElement$3();
72
+ }
73
+ break;
74
+ case "form-control-tooltip":
75
+ if (!customElements.get(tagName)) {
76
+ defineCustomElement$2();
77
+ }
78
+ break;
79
+ } });
80
+ }
81
+ defineCustomElement$1();
82
+
83
+ const JustifiPostalCodeForm = PostalCodeForm;
84
+ const defineCustomElement = defineCustomElement$1;
85
+
86
+ export { JustifiPostalCodeForm, defineCustomElement };
@@ -14,7 +14,7 @@ import './details.js';
14
14
  import './event-types.js';
15
15
  import { P as PaymentService } from './payment.service.js';
16
16
  import { m as makeGetPaymentDetails } from './get-payment-details.js';
17
- import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version.js';
17
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './Analytics.js';
18
18
  import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
19
19
  import { A as Api } from './Api.js';
20
20
  import { S as Skeleton } from './skeleton.js';
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface JustifiSavedPaymentMethods extends Components.JustifiSavedPaymentMethods, HTMLElement {}
4
+ export const JustifiSavedPaymentMethods: {
5
+ prototype: JustifiSavedPaymentMethods;
6
+ new (): JustifiSavedPaymentMethods;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;