@justifi/webcomponents 5.7.3-rc-01 → 5.7.4

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 (620) hide show
  1. package/dist/cjs/{Checkout-BsYZoJ0a.js → Checkout-TZnRz3-3.js} +3 -1
  2. package/dist/cjs/{ComponentError-CEv9ltwy.js → ComponentError-C4MdBBMe.js} +0 -2
  3. package/dist/cjs/{Refund-BDFOEJv_.js → Refund-BFE-2OxN.js} +56 -0
  4. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +6 -7
  5. package/dist/cjs/{bank-account-form_7.cjs.entry.js → bank-account-form_9.cjs.entry.js} +190 -20
  6. package/dist/cjs/{business-additional-questions-schema-CHOaeZot.js → business-additional-questions-schema-e3GCIHk5.js} +6 -6
  7. package/dist/cjs/{business-identity-schema-DmpEndsx.js → business-identity-schema-Diqj_WVQ.js} +10 -10
  8. package/dist/cjs/{business.service-ev-3rHag.js → business.service-DNvLrr-n.js} +3 -4
  9. package/dist/cjs/{Analytics-DYN4hp2b.js → check-pkg-version-BlUxyRaM.js} +23 -24
  10. package/dist/cjs/{checkout.service-D4hTYr1i.js → checkout.service-Bx0RBq-I.js} +3 -4
  11. package/dist/cjs/checkouts-list-core.cjs.entry.js +4 -5
  12. package/dist/cjs/custom-popper_4.cjs.entry.js +6 -6
  13. package/dist/cjs/{dispute.service-Dru9NStj.js → dispute.service-DbUcp4sD.js} +3 -4
  14. package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
  15. package/dist/cjs/form-control-date.cjs.entry.js +2 -2
  16. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
  17. package/dist/cjs/form-control-monetary.cjs.entry.js +2 -2
  18. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +2 -2
  19. package/dist/cjs/form-control-number.cjs.entry.js +2 -2
  20. package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
  21. package/dist/cjs/{get-business-BiEc-jdH.js → get-business-BJrtsomz.js} +2 -2
  22. package/dist/cjs/{get-payment-details-AOibpML7.js → get-payment-details-C7Ezks0M.js} +4 -5
  23. package/dist/cjs/{get-payout-csv-CdNRRH0t.js → get-payout-csv-CXEQkjDm.js} +2 -2
  24. package/dist/cjs/{get-subaccounts-Dw7CbPDi.js → get-subaccounts-UpfFbDHH.js} +4 -5
  25. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
  26. package/dist/cjs/iframe-input-styles-state-BJ9xnomM.js +26 -0
  27. package/dist/cjs/{hidden-input_2.cjs.entry.js → iframe-input.cjs.entry.js} +14 -111
  28. package/dist/cjs/{form-CWW8IM-X.js → index.esm-CVuJLXJZ.js} +10022 -10022
  29. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +50 -24
  30. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +12 -13
  31. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +42 -42
  32. package/dist/cjs/justifi-business-details.cjs.entry.js +10 -11
  33. package/dist/cjs/justifi-business-form.cjs.entry.js +16 -17
  34. package/dist/cjs/justifi-checkout-core.cjs.entry.js +2 -2
  35. package/dist/cjs/justifi-checkout.cjs.entry.js +67 -24
  36. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +4 -5
  37. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +11 -12
  38. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
  39. package/dist/cjs/justifi-dispute-management.cjs.entry.js +10 -11
  40. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +12 -13
  41. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +8 -9
  42. package/dist/cjs/justifi-order-terminals.cjs.entry.js +12 -13
  43. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +10 -11
  44. package/dist/cjs/justifi-payment-details.cjs.entry.js +10 -11
  45. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +1 -1
  46. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +10 -11
  47. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +10 -11
  48. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
  49. package/dist/cjs/justifi-payments-list.cjs.entry.js +10 -11
  50. package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -11
  51. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +10 -11
  52. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
  53. package/dist/cjs/justifi-payouts-list.cjs.entry.js +12 -13
  54. package/dist/cjs/justifi-refund-payment.cjs.entry.js +17 -18
  55. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +18 -17
  56. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +5 -6
  57. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +10 -11
  58. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +4 -5
  59. package/dist/cjs/justifi-terminals-list.cjs.entry.js +11 -12
  60. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +8 -16
  61. package/dist/cjs/loader.cjs.js +1 -1
  62. package/dist/cjs/{package-DF9mLjoQ.js → package-v-c3ZR5a.js} +1 -1
  63. package/dist/cjs/payment-details-core.cjs.entry.js +8 -8
  64. package/dist/cjs/{payment-provisioning-actions-SNMCdsyF.js → payment-provisioning-actions-BkWSDJQQ.js} +2 -2
  65. package/dist/cjs/{payment.service-rsnscZu7.js → payment.service-CVZgDrZw.js} +3 -4
  66. package/dist/cjs/payments-list-core.cjs.entry.js +4 -5
  67. package/dist/cjs/payout-details-core.cjs.entry.js +3 -3
  68. package/dist/cjs/{payout.service-BnmI3X4n.js → payout.service-D6kmeDsy.js} +3 -4
  69. package/dist/cjs/payouts-list-core.cjs.entry.js +4 -5
  70. package/dist/cjs/{schema-validations-C0BNwMBi.js → schema-validations-BSeMee-o.js} +31 -54
  71. package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
  72. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +5 -6
  73. package/dist/cjs/{terminal-orders-table-OxMHSAJ1.js → terminal-orders-table-CUOWHQ6V.js} +3 -4
  74. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
  75. package/dist/cjs/{terminal.service--PPaq5xS.js → terminal.service-BxRchD7X.js} +3 -4
  76. package/dist/cjs/terminals-list-core.cjs.entry.js +4 -5
  77. package/dist/cjs/{utils-IGCnjtqc.js → utils-l0veqT9y.js} +1 -1
  78. package/dist/cjs/webcomponents.cjs.js +1 -1
  79. package/dist/collection/api/Checkout.js +3 -1
  80. package/dist/collection/api/ComponentError.js +0 -2
  81. package/dist/collection/collection-manifest.json +1 -8
  82. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +1 -1
  83. package/dist/collection/components/business-forms/schemas/business-bank-account-schema.js +36 -8
  84. package/dist/collection/components/business-forms/schemas/schema-validations.js +1 -47
  85. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
  86. package/dist/collection/components/checkout/billing-form/billing-form.js +1 -1
  87. package/dist/collection/components/checkout/card-form/card-form.js +2 -2
  88. package/dist/collection/components/checkout/checkout.js +2 -11
  89. package/dist/collection/components/checkout/payment-method-options.js +33 -3
  90. package/dist/collection/components/checkout/sezzle-payment-method.js +240 -0
  91. package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
  92. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
  93. package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
  94. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  95. package/dist/collection/components/dispute-management/dispute-management.js +1 -1
  96. package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
  97. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  98. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  99. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  100. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  101. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  102. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  103. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  104. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  105. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  106. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  107. package/dist/collection/components/filters/table-filters-menu.js +1 -1
  108. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  109. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +12 -10
  110. package/dist/collection/components/order-terminals/order-terminals.js +1 -1
  111. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  112. package/dist/collection/components/payment-details/payment-details-core.js +8 -8
  113. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
  114. package/dist/collection/components/payments-list/payments-list-core.js +1 -1
  115. package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
  116. package/dist/collection/components/payments-list/payments-list.js +1 -1
  117. package/dist/collection/components/payout-details/payout-details-core.js +3 -3
  118. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +1 -1
  119. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  120. package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
  121. package/dist/collection/components/payouts-list/payouts-list.js +1 -1
  122. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
  123. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
  124. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
  125. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  126. package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
  127. package/dist/collection/components/terminals-list/terminals-list.js +1 -1
  128. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +3 -10
  129. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  130. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  131. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  132. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  133. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  134. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  135. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  136. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  137. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  138. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  139. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  140. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  141. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  142. package/dist/collection/ui-components/form/iframe-input.js +5 -10
  143. package/dist/docs.json +250 -841
  144. package/dist/esm/{Api-CqimcNgb.js → Api-BNYhCiE2.js} +1 -1
  145. package/dist/esm/{Checkout-CV6qgU0r.js → Checkout-B9LrTq63.js} +4 -2
  146. package/dist/esm/{ComponentError-BhrFjjAs.js → ComponentError-SdntD1xf.js} +0 -2
  147. package/dist/esm/{Payment-BEvE6jAC.js → Payment-BGiKmQYR.js} +1 -1
  148. package/dist/esm/{Refund-CwUn_GFj.js → Refund-DDIEc_gu.js} +56 -2
  149. package/dist/esm/additional-questions-details_5.entry.js +3 -3
  150. package/dist/esm/{badge-D_Q0kAPD.js → badge-C-nwyQ3h.js} +1 -1
  151. package/dist/esm/bank-account-document-form-inputs_4.entry.js +10 -11
  152. package/dist/esm/{bank-account-form_7.entry.js → bank-account-form_9.entry.js} +186 -18
  153. package/dist/esm/{business-additional-questions-schema-0lssJqN7.js → business-additional-questions-schema-uQlQ8fXQ.js} +2 -2
  154. package/dist/esm/business-details-core.entry.js +3 -3
  155. package/dist/esm/{business-identity-schema-Bel1K5mu.js → business-identity-schema-BsrgqgDl.js} +2 -2
  156. package/dist/esm/{business.service-BM8hLxHS.js → business.service-DP2HUV0w.js} +5 -6
  157. package/dist/esm/{button-BVAxQPpP.js → button-BGlG9iX5.js} +1 -1
  158. package/dist/esm/{Analytics-DR277kvb.js → check-pkg-version-Dff5h73V.js} +25 -26
  159. package/dist/esm/{checkout.service-CuCgG9hv.js → checkout.service-DkTEFCSZ.js} +5 -6
  160. package/dist/esm/checkouts-list-core.entry.js +11 -12
  161. package/dist/esm/{checkouts-table-Cc6U-0md.js → checkouts-table-rhDm-zAB.js} +3 -3
  162. package/dist/esm/custom-popper_4.entry.js +8 -8
  163. package/dist/esm/{dispute.service-rB4Hq6ot.js → dispute.service-CUcw-v4N.js} +5 -6
  164. package/dist/esm/form-alert_5.entry.js +1 -1
  165. package/dist/esm/form-control-checkbox.entry.js +5 -5
  166. package/dist/esm/form-control-date.entry.js +4 -4
  167. package/dist/esm/{form-control-error-text-_SAT-ts2.js → form-control-error-text-CwJc1ShT.js} +1 -1
  168. package/dist/esm/form-control-file-v2_2.entry.js +5 -5
  169. package/dist/esm/{form-control-help-text-Cjeu_VrV.js → form-control-help-text-COx__-BM.js} +1 -1
  170. package/dist/esm/form-control-monetary-provisioning.entry.js +3 -3
  171. package/dist/esm/form-control-monetary.entry.js +6 -6
  172. package/dist/esm/form-control-number-masked_2.entry.js +4 -4
  173. package/dist/esm/form-control-number.entry.js +5 -5
  174. package/dist/esm/form-control-radio.entry.js +3 -3
  175. package/dist/esm/{get-business-BSRtbTh7.js → get-business-GEPTefIj.js} +2 -2
  176. package/dist/esm/{get-payment-details-DtkGDTwo.js → get-payment-details-Ea6HDOQH.js} +6 -7
  177. package/dist/esm/{get-payout-csv-U_pgdPpb.js → get-payout-csv-D7IYYqVL.js} +2 -2
  178. package/dist/esm/{get-subaccounts-C-ENQBmY.js → get-subaccounts-DcHphsRK.js} +7 -8
  179. package/dist/esm/gross-payment-chart-core.entry.js +5 -5
  180. package/dist/esm/{header-1-5FIT-wD7.js → header-1-Dj4_I_9S.js} +1 -1
  181. package/dist/esm/{header-3-Ce9WLWBm.js → header-3-CLoMDfp0.js} +1 -1
  182. package/dist/esm/iframe-input-styles-state-CfSmDqfA.js +23 -0
  183. package/dist/esm/{hidden-input_2.entry.js → iframe-input.entry.js} +10 -106
  184. package/dist/esm/{form-BjGUIqxU.js → index.esm-BCNUj0Dx.js} +10022 -10022
  185. package/dist/esm/{insurance-state-BcwZy_5w.js → insurance-state-CUJP_TDB.js} +1 -1
  186. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +46 -20
  187. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +12 -13
  188. package/dist/esm/justifi-additional-statement_8.entry.js +10 -10
  189. package/dist/esm/justifi-business-details.entry.js +13 -14
  190. package/dist/esm/justifi-business-form.entry.js +19 -20
  191. package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
  192. package/dist/esm/justifi-checkout-core.entry.js +8 -8
  193. package/dist/esm/justifi-checkout.entry.js +66 -23
  194. package/dist/esm/justifi-checkouts-list-filters.entry.js +7 -8
  195. package/dist/esm/justifi-checkouts-list.entry.js +15 -16
  196. package/dist/esm/justifi-details.entry.js +2 -2
  197. package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
  198. package/dist/esm/justifi-dispute-management.entry.js +11 -12
  199. package/dist/esm/justifi-dispute-notification_3.entry.js +16 -17
  200. package/dist/esm/justifi-gross-payment-chart.entry.js +11 -12
  201. package/dist/esm/justifi-order-terminals.entry.js +15 -16
  202. package/dist/esm/justifi-owner-form_3.entry.js +14 -15
  203. package/dist/esm/justifi-payment-details.entry.js +13 -14
  204. package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -3
  205. package/dist/esm/justifi-payment-provisioning.entry.js +11 -12
  206. package/dist/esm/justifi-payment-transactions-list.entry.js +14 -15
  207. package/dist/esm/justifi-payments-list-filters.entry.js +4 -4
  208. package/dist/esm/justifi-payments-list.entry.js +15 -16
  209. package/dist/esm/justifi-payout-details.entry.js +13 -14
  210. package/dist/esm/justifi-payout-transactions-list.entry.js +14 -15
  211. package/dist/esm/justifi-payouts-list-filters.entry.js +4 -4
  212. package/dist/esm/justifi-payouts-list.entry.js +17 -18
  213. package/dist/esm/justifi-refund-payment.entry.js +15 -16
  214. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +4 -4
  215. package/dist/esm/justifi-season-interruption-insurance.entry.js +19 -18
  216. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +8 -9
  217. package/dist/esm/justifi-terminal-orders-list.entry.js +13 -14
  218. package/dist/esm/justifi-terminals-list-filters.entry.js +7 -8
  219. package/dist/esm/justifi-terminals-list.entry.js +15 -16
  220. package/dist/esm/justifi-tokenize-payment-method.entry.js +11 -19
  221. package/dist/esm/loader.js +1 -1
  222. package/dist/esm/{package-CyXXks-Q.js → package-DzXsHdKv.js} +1 -1
  223. package/dist/esm/pagination-menu.entry.js +1 -1
  224. package/dist/esm/{parts-_6eQgwfE.js → parts-BrLVc_85.js} +1 -1
  225. package/dist/esm/payment-details-core.entry.js +14 -14
  226. package/dist/esm/{payment-provisioning-actions-2qP7AtHj.js → payment-provisioning-actions-BIfyW239.js} +2 -2
  227. package/dist/esm/{payment.service-DoUv1QsX.js → payment.service-BBse35Bb.js} +5 -6
  228. package/dist/esm/payments-list-core.entry.js +12 -13
  229. package/dist/esm/{payments-status-BeL2gi3P.js → payments-status-CO0mZyxH.js} +1 -1
  230. package/dist/esm/{payments-table-MrDAlH2o.js → payments-table-BYmcN_eJ.js} +3 -3
  231. package/dist/esm/payout-details-core.entry.js +10 -10
  232. package/dist/esm/{payout.service-B_Fm08zQ.js → payout.service-DYk7xoLp.js} +5 -6
  233. package/dist/esm/payouts-list-core.entry.js +12 -13
  234. package/dist/esm/{payouts-status-BxbhUjA3.js → payouts-status-BqhlFWZJ.js} +1 -1
  235. package/dist/esm/{payouts-table-HoX3UYIj.js → payouts-table-BoNMXUDt.js} +3 -3
  236. package/dist/esm/{schema-validations-DYV7urvw.js → schema-validations-DLWfpHyI.js} +2 -23
  237. package/dist/esm/{skeleton-CPNYhX-V.js → skeleton-D6agoQ_l.js} +1 -1
  238. package/dist/esm/{spinner-Cl-6YJPf.js → spinner-C8twYXzL.js} +1 -1
  239. package/dist/esm/{table-RCk8zh4L.js → table-BzdzS7PI.js} +2 -2
  240. package/dist/esm/table-filters-menu.entry.js +3 -3
  241. package/dist/esm/terminal-orders-list-core.entry.js +11 -12
  242. package/dist/esm/{terminal-orders-table-DxHLNkx_.js → terminal-orders-table-BxZFOqli.js} +7 -8
  243. package/dist/esm/terminal-quantity-selector.entry.js +2 -2
  244. package/dist/esm/{terminal.service-2VkdfNas.js → terminal.service-WIpzxBkU.js} +5 -6
  245. package/dist/esm/terminals-list-core.entry.js +11 -12
  246. package/dist/esm/{terminals-table-v-LOevYA.js → terminals-table-DVreYpwc.js} +3 -3
  247. package/dist/esm/{utils-BjLkBMLe.js → utils-DB5fh6Iv.js} +1 -1
  248. package/dist/esm/{utils-1WrbuHVR.js → utils-DGozGJLI.js} +1 -1
  249. package/dist/esm/{utils-BZvep88z.js → utils-Dccsn9BY.js} +1 -1
  250. package/dist/esm/webcomponents.js +1 -1
  251. package/dist/module/Checkout.js +3 -3
  252. package/dist/module/Refund.js +55 -1
  253. package/dist/module/additional-statement.js +1 -1
  254. package/dist/module/bank-account-document-inputs.js +1 -2
  255. package/dist/module/bank-account-form2.js +2 -2
  256. package/dist/module/billing-form.js +3 -3
  257. package/dist/module/business-address-schema.js +1 -1
  258. package/dist/module/business-bank-account-form-step-core.js +37 -11
  259. package/dist/module/business-bank-account-form-step.js +0 -1
  260. package/dist/module/business-core-info-schema.js +1 -1
  261. package/dist/module/business-identity-schema.js +1 -1
  262. package/dist/module/business-terms-conditions-form-step.js +1 -2
  263. package/dist/module/business.service.js +0 -1
  264. package/dist/module/button.js +1 -1
  265. package/dist/module/cancellation-policy.js +1 -1
  266. package/dist/module/card-form2.js +2 -2
  267. package/dist/module/{Analytics.js → check-pkg-version.js} +21 -22
  268. package/dist/module/checkout-core.js +38 -32
  269. package/dist/module/checkout.service.js +0 -1
  270. package/dist/module/checkouts-list-core2.js +2 -3
  271. package/dist/module/custom-popper2.js +2 -2
  272. package/dist/module/customer-details.js +1 -1
  273. package/dist/module/dispute-management-core.js +1 -1
  274. package/dist/module/dispute-notification.js +1 -1
  275. package/dist/module/dispute-response-actions.js +0 -1
  276. package/dist/module/dispute-response-core.js +1 -1
  277. package/dist/module/dispute-response.js +2 -2
  278. package/dist/module/duplicate-charge.js +1 -1
  279. package/dist/module/electronic-evidence.js +1 -1
  280. package/dist/module/form-control-checkbox2.js +2 -2
  281. package/dist/module/form-control-date2.js +2 -2
  282. package/dist/module/form-control-file-v22.js +1 -1
  283. package/dist/module/form-control-file2.js +2 -2
  284. package/dist/module/form-control-monetary2.js +2 -2
  285. package/dist/module/form-control-number-masked2.js +2 -2
  286. package/dist/module/form-control-number.js +2 -2
  287. package/dist/module/form-control-radio2.js +2 -2
  288. package/dist/module/form-control-select2.js +2 -2
  289. package/dist/module/form-control-text2.js +2 -2
  290. package/dist/module/form-control-textarea2.js +2 -2
  291. package/dist/module/form.js +1 -1
  292. package/dist/module/get-payment-details.js +0 -1
  293. package/dist/module/get-subaccounts.js +0 -1
  294. package/dist/module/gross-payment-chart-core2.js +1 -1
  295. package/dist/module/hidden-input2.js +1 -1
  296. package/dist/module/iframe-input2.js +5 -5
  297. package/dist/module/justifi-business-details.js +1 -1
  298. package/dist/module/justifi-business-form.js +1 -2
  299. package/dist/module/justifi-checkout.js +99 -48
  300. package/dist/module/justifi-checkouts-list-filters.js +2 -3
  301. package/dist/module/justifi-checkouts-list.js +2 -3
  302. package/dist/module/justifi-dispute-management.js +2 -2
  303. package/dist/module/justifi-gross-payment-chart.js +1 -2
  304. package/dist/module/justifi-order-terminals.js +4 -5
  305. package/dist/module/justifi-payment-details.js +1 -1
  306. package/dist/module/justifi-payment-provisioning.js +1 -2
  307. package/dist/module/justifi-payment-transactions-list.js +4 -5
  308. package/dist/module/justifi-payments-list-filters.js +3 -3
  309. package/dist/module/justifi-payments-list.js +2 -3
  310. package/dist/module/justifi-payout-details.js +1 -2
  311. package/dist/module/justifi-payout-transactions-list.js +4 -5
  312. package/dist/module/justifi-payouts-list-filters.js +3 -3
  313. package/dist/module/justifi-payouts-list.js +2 -3
  314. package/dist/module/justifi-refund-payment.js +2 -3
  315. package/dist/module/justifi-season-interruption-insurance.js +11 -10
  316. package/dist/module/justifi-sezzle-payment-method.js +1 -108
  317. package/dist/module/justifi-terminal-orders-list-filters.js +3 -4
  318. package/dist/module/justifi-terminal-orders-list.js +3 -4
  319. package/dist/module/justifi-terminals-list-filters.js +2 -3
  320. package/dist/module/justifi-terminals-list.js +3 -4
  321. package/dist/module/justifi-tokenize-payment-method.js +40 -42
  322. package/dist/module/package.js +3 -3
  323. package/dist/module/parts.js +1 -1
  324. package/dist/module/payment-details-core2.js +8 -8
  325. package/dist/module/payment-method-options.js +51 -34
  326. package/dist/module/payment.service.js +0 -1
  327. package/dist/module/payments-list-core2.js +2 -3
  328. package/dist/module/payout-details-core2.js +3 -3
  329. package/dist/module/payout.service.js +0 -1
  330. package/dist/module/payouts-list-core2.js +2 -3
  331. package/dist/module/product-or-service.js +1 -1
  332. package/dist/module/refund-policy.js +1 -1
  333. package/dist/module/saved-payment-method.js +22 -2
  334. package/dist/module/schema-validations.js +2 -23
  335. package/dist/module/sezzle-payment-method.js +104 -0
  336. package/dist/module/shipping-details.js +1 -1
  337. package/dist/module/table-filters-menu2.js +2 -2
  338. package/dist/module/terminal-orders-list-core2.js +2 -3
  339. package/dist/module/terminal-quantity-selector2.js +1 -1
  340. package/dist/module/terminal.service.js +0 -1
  341. package/dist/module/terminals-list-core2.js +2 -3
  342. package/dist/types/api/Checkout.d.ts +13 -14
  343. package/dist/types/api/ComponentError.d.ts +1 -3
  344. package/dist/types/components/business-forms/schemas/schema-validations.d.ts +0 -7
  345. package/dist/types/components/checkout/checkout.d.ts +0 -1
  346. package/dist/types/components/checkout/payment-method-options.d.ts +1 -0
  347. package/dist/types/components/{modular-checkout-parts → checkout}/sezzle-payment-method.d.ts +8 -2
  348. package/dist/types/components/insurance/season-interruption/season-interruption-insurance.d.ts +2 -2
  349. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +2 -2
  350. package/dist/types/components.d.ts +22 -165
  351. package/dist/types/ui-components/form/iframe-input.d.ts +1 -2
  352. package/dist/webcomponents/p--B09FkmB.js +1 -0
  353. package/dist/webcomponents/p-08b3ec57.entry.js +1 -0
  354. package/dist/webcomponents/p-0b28597b.entry.js +1 -0
  355. package/dist/webcomponents/p-0b52d1dd.entry.js +1 -0
  356. package/dist/webcomponents/p-0b964616.entry.js +1 -0
  357. package/dist/webcomponents/p-186a25e3.entry.js +1 -0
  358. package/dist/webcomponents/p-234c0b0a.entry.js +1 -0
  359. package/dist/webcomponents/{p-df2ad580.entry.js → p-27a7ba0d.entry.js} +1 -1
  360. package/dist/webcomponents/p-297b4a1a.entry.js +1 -0
  361. package/dist/webcomponents/p-299c215b.entry.js +1 -0
  362. package/dist/webcomponents/p-2GKzt6ql.js +1 -0
  363. package/dist/webcomponents/p-39236b05.entry.js +1 -0
  364. package/dist/webcomponents/{p-5da3ba38.entry.js → p-3af7b1ee.entry.js} +1 -1
  365. package/dist/webcomponents/{p-15c63931.entry.js → p-3ddaea2d.entry.js} +1 -1
  366. package/dist/webcomponents/p-41ce682a.entry.js +1 -0
  367. package/dist/webcomponents/{p-5ea3cfca.entry.js → p-454d5cab.entry.js} +1 -1
  368. package/dist/webcomponents/p-4bf6f767.entry.js +1 -0
  369. package/dist/webcomponents/p-59a2ccdb.entry.js +1 -0
  370. package/dist/webcomponents/p-68425065.entry.js +1 -0
  371. package/dist/webcomponents/p-69e8b394.entry.js +1 -0
  372. package/dist/webcomponents/p-6ab28931.entry.js +1 -0
  373. package/dist/webcomponents/p-6f08cc3e.entry.js +1 -0
  374. package/dist/webcomponents/p-74412d52.entry.js +1 -0
  375. package/dist/webcomponents/p-77957f7f.entry.js +1 -0
  376. package/dist/webcomponents/p-7a254093.entry.js +20 -0
  377. package/dist/webcomponents/p-7db9f780.entry.js +1 -0
  378. package/dist/webcomponents/p-7fbdaa8a.entry.js +1 -0
  379. package/dist/webcomponents/p-86112ed3.entry.js +1 -0
  380. package/dist/webcomponents/p-863d53ef.entry.js +1 -0
  381. package/dist/webcomponents/p-8a62bc7a.entry.js +1 -0
  382. package/dist/webcomponents/p-8b02e43a.entry.js +1 -0
  383. package/dist/webcomponents/p-8f354461.entry.js +1 -0
  384. package/dist/webcomponents/{p-584ba20d.entry.js → p-90d36a2f.entry.js} +1 -1
  385. package/dist/webcomponents/{p-be51c7c5.entry.js → p-959d5f08.entry.js} +1 -1
  386. package/dist/webcomponents/p-972531a2.entry.js +1 -0
  387. package/dist/webcomponents/{p-b3e6d27c.entry.js → p-99ff608b.entry.js} +1 -1
  388. package/dist/webcomponents/p-9bb3ccba.entry.js +1 -0
  389. package/dist/webcomponents/{p-e8294f7e.entry.js → p-9be5b03a.entry.js} +1 -1
  390. package/dist/webcomponents/{p-f71b1ff0.entry.js → p-9e7c8e33.entry.js} +1 -1
  391. package/dist/webcomponents/p-9ef53bb1.entry.js +1 -0
  392. package/dist/webcomponents/p-AW4YV_IW.js +1 -0
  393. package/dist/webcomponents/p-B2ts3XP0.js +1 -0
  394. package/dist/webcomponents/p-BBEApkWm.js +1 -0
  395. package/dist/webcomponents/{p-B4MIwTdb.js → p-BC1KMlPG.js} +1 -1
  396. package/dist/webcomponents/p-BERbc4aX.js +1 -0
  397. package/dist/webcomponents/p-BLm_qZkx.js +1 -0
  398. package/dist/webcomponents/{p-BxfUcCXo.js → p-BTS3E50C.js} +1 -1
  399. package/dist/webcomponents/p-BdTK0wi9.js +1 -0
  400. package/dist/webcomponents/{p-Yj41tobi.js → p-BjDSEZvx.js} +1 -1
  401. package/dist/webcomponents/{p-9REosSLu.js → p-BnE7qgLh.js} +1 -1
  402. package/dist/webcomponents/{p-_6eQgwfE.js → p-BrLVc_85.js} +1 -1
  403. package/dist/webcomponents/{p-D3SYNGyb.js → p-C-78OQ89.js} +1 -1
  404. package/dist/webcomponents/p-C26QVwoo.js +1 -0
  405. package/dist/webcomponents/p-C5RuuShs.js +1 -0
  406. package/dist/webcomponents/p-C6qAZgXn.js +1 -0
  407. package/dist/webcomponents/{p-B7VsiIW-.js → p-CEqUppok.js} +1 -1
  408. package/dist/webcomponents/{p-BSUCBhkJ.js → p-CNv7zeGM.js} +1 -1
  409. package/dist/webcomponents/p-CU_goaUQ.js +1 -0
  410. package/dist/webcomponents/p-CgSKeuxa.js +1 -0
  411. package/dist/webcomponents/p-Co9WxzRf.js +1 -0
  412. package/dist/webcomponents/p-Cs0cIpIm.js +1 -0
  413. package/dist/webcomponents/{p-CqVelcDt.js → p-DOb1iL29.js} +1 -1
  414. package/dist/webcomponents/p-DPUXZApk.js +1 -0
  415. package/dist/webcomponents/p-DVnVdicA.js +1 -0
  416. package/dist/webcomponents/p-DbhOyu_u.js +1 -0
  417. package/dist/webcomponents/p-DcwpS5VC.js +1 -0
  418. package/dist/webcomponents/p-DgPQlpzy.js +1 -0
  419. package/dist/webcomponents/{p-Ctw40vkk.js → p-DmLTJr3R.js} +1 -1
  420. package/dist/webcomponents/p-DniQ6yo6.js +1 -0
  421. package/dist/webcomponents/{p-D7js9xfx.js → p-DzFysjCc.js} +1 -1
  422. package/dist/webcomponents/p-DzXsHdKv.js +1 -0
  423. package/dist/webcomponents/{p-BhLPwu1L.js → p-EVfmZi89.js} +1 -1
  424. package/dist/webcomponents/p-JOSiCHl7.js +1 -0
  425. package/dist/webcomponents/p-SdntD1xf.js +1 -0
  426. package/dist/webcomponents/p-UyFPa3Jb.js +1 -0
  427. package/dist/webcomponents/p-a1860b96.entry.js +1 -0
  428. package/dist/webcomponents/{p-ea664ada.entry.js → p-a7f5262a.entry.js} +1 -1
  429. package/dist/webcomponents/{p-712220f9.entry.js → p-ae62bc55.entry.js} +1 -1
  430. package/dist/webcomponents/p-am93SGf-.js +1 -0
  431. package/dist/webcomponents/p-b2086753.entry.js +1 -0
  432. package/dist/webcomponents/p-b3de3312.entry.js +1 -0
  433. package/dist/webcomponents/p-b4da0e31.entry.js +1 -0
  434. package/dist/webcomponents/{p-ff223825.entry.js → p-ba7c7025.entry.js} +1 -1
  435. package/dist/webcomponents/p-bd387500.entry.js +1 -0
  436. package/dist/webcomponents/p-c3b8c25f.entry.js +1 -0
  437. package/dist/webcomponents/p-c5f3f2cc.entry.js +1 -0
  438. package/dist/webcomponents/p-c60219ba.entry.js +1 -0
  439. package/dist/webcomponents/p-caa90e8c.entry.js +1 -0
  440. package/dist/webcomponents/{p-9a17fd5a.entry.js → p-d144c5e5.entry.js} +1 -1
  441. package/dist/webcomponents/p-d44c7900.entry.js +1 -0
  442. package/dist/webcomponents/p-d6tXI5Iw.js +1 -0
  443. package/dist/webcomponents/{p-ef9dcfe1.entry.js → p-ded52cad.entry.js} +1 -1
  444. package/dist/webcomponents/p-df044e50.entry.js +1 -0
  445. package/dist/webcomponents/p-e0c8e41a.entry.js +1 -0
  446. package/dist/webcomponents/p-e8a1dbe2.entry.js +1 -0
  447. package/dist/webcomponents/p-ef930355.entry.js +1 -0
  448. package/dist/webcomponents/p-f4aa30b8.entry.js +1 -0
  449. package/dist/webcomponents/p-f7c23a96.entry.js +1 -0
  450. package/dist/webcomponents/p-f9510372.entry.js +1 -0
  451. package/dist/webcomponents/p-fe8938ba.entry.js +1 -0
  452. package/dist/webcomponents/p-iPHDHB_q.js +1 -0
  453. package/dist/webcomponents/p-lfLAtTgJ.js +1 -0
  454. package/dist/webcomponents/p-n0Sbmvzb.js +1 -0
  455. package/dist/webcomponents/p-oE-E7kjN.js +1 -0
  456. package/dist/webcomponents/{p-DddGO-XR.js → p-vTsHmSQQ.js} +1 -1
  457. package/dist/webcomponents/webcomponents.esm.js +1 -1
  458. package/package.json +1 -1
  459. package/dist/cjs/Document-rXGBUaOh.js +0 -58
  460. package/dist/cjs/billing-form-schema-oZ4GROWP.js +0 -26
  461. package/dist/cjs/checkout-actions-CRbQgLn0.js +0 -61
  462. package/dist/cjs/checkout.store-osqdxFMq.js +0 -29
  463. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +0 -85
  464. package/dist/cjs/justifi-billing-information-form.cjs.entry.js +0 -51
  465. package/dist/cjs/justifi-card-form.cjs.entry.js +0 -93
  466. package/dist/cjs/justifi-checkout-summary.cjs.entry.js +0 -21
  467. package/dist/cjs/justifi-modular-checkout.cjs.entry.js +0 -205
  468. package/dist/cjs/justifi-postal-code-form.cjs.entry.js +0 -50
  469. package/dist/cjs/justifi-saved-payment-methods.cjs.entry.js +0 -31
  470. package/dist/cjs/justifi-sezzle-payment-method.cjs.entry.js +0 -80
  471. package/dist/cjs/payment-method-option-utils-imuSE7KV.js +0 -25
  472. package/dist/collection/api/BillingInformation.js +0 -1
  473. package/dist/collection/api/PaymentMethod.js +0 -1
  474. package/dist/collection/components/modular-checkout/modular-checkout.js +0 -345
  475. package/dist/collection/components/modular-checkout-parts/bank-account-skeleton.js +0 -10
  476. package/dist/collection/components/modular-checkout-parts/bank-account.js +0 -119
  477. package/dist/collection/components/modular-checkout-parts/billing-form-schema.js +0 -21
  478. package/dist/collection/components/modular-checkout-parts/billing-form.js +0 -116
  479. package/dist/collection/components/modular-checkout-parts/card-form-skeleton.js +0 -10
  480. package/dist/collection/components/modular-checkout-parts/card-form.js +0 -123
  481. package/dist/collection/components/modular-checkout-parts/postal-code-form.js +0 -114
  482. package/dist/collection/components/modular-checkout-parts/saved-payment-methods.js +0 -23
  483. package/dist/collection/components/modular-checkout-parts/sezzle-payment-method.js +0 -127
  484. package/dist/collection/components/modular-checkout-parts/summary.js +0 -12
  485. package/dist/collection/store/checkout.store.js +0 -25
  486. package/dist/esm/Document-Ct-uNz2r.js +0 -55
  487. package/dist/esm/billing-form-schema-PFvYpvy4.js +0 -24
  488. package/dist/esm/checkout-actions-UQ6g1s7I.js +0 -58
  489. package/dist/esm/checkout.store-DQrlfeus.js +0 -27
  490. package/dist/esm/justifi-bank-account-form.entry.js +0 -83
  491. package/dist/esm/justifi-billing-information-form.entry.js +0 -49
  492. package/dist/esm/justifi-card-form.entry.js +0 -91
  493. package/dist/esm/justifi-checkout-summary.entry.js +0 -19
  494. package/dist/esm/justifi-modular-checkout.entry.js +0 -203
  495. package/dist/esm/justifi-postal-code-form.entry.js +0 -48
  496. package/dist/esm/justifi-saved-payment-methods.entry.js +0 -29
  497. package/dist/esm/justifi-sezzle-payment-method.entry.js +0 -78
  498. package/dist/esm/payment-method-option-utils-8n_ALxec.js +0 -23
  499. package/dist/module/Document.js +0 -55
  500. package/dist/module/billing-form-schema.js +0 -24
  501. package/dist/module/checkout-actions.js +0 -58
  502. package/dist/module/checkout.store.js +0 -27
  503. package/dist/module/justifi-bank-account-form.d.ts +0 -11
  504. package/dist/module/justifi-bank-account-form.js +0 -103
  505. package/dist/module/justifi-billing-information-form.d.ts +0 -11
  506. package/dist/module/justifi-billing-information-form.js +0 -94
  507. package/dist/module/justifi-card-form.d.ts +0 -11
  508. package/dist/module/justifi-card-form.js +0 -111
  509. package/dist/module/justifi-checkout-summary.d.ts +0 -11
  510. package/dist/module/justifi-checkout-summary.js +0 -37
  511. package/dist/module/justifi-modular-checkout.d.ts +0 -11
  512. package/dist/module/justifi-modular-checkout.js +0 -219
  513. package/dist/module/justifi-postal-code-form.d.ts +0 -11
  514. package/dist/module/justifi-postal-code-form.js +0 -86
  515. package/dist/module/justifi-saved-payment-methods.d.ts +0 -11
  516. package/dist/module/justifi-saved-payment-methods.js +0 -58
  517. package/dist/module/payment-method-option-utils.js +0 -23
  518. package/dist/types/api/BillingInformation.d.ts +0 -13
  519. package/dist/types/api/PaymentMethod.d.ts +0 -21
  520. package/dist/types/components/modular-checkout/modular-checkout.d.ts +0 -31
  521. package/dist/types/components/modular-checkout-parts/bank-account-skeleton.d.ts +0 -6
  522. package/dist/types/components/modular-checkout-parts/bank-account.d.ts +0 -18
  523. package/dist/types/components/modular-checkout-parts/billing-form-schema.d.ts +0 -23
  524. package/dist/types/components/modular-checkout-parts/billing-form.d.ts +0 -16
  525. package/dist/types/components/modular-checkout-parts/card-form-skeleton.d.ts +0 -6
  526. package/dist/types/components/modular-checkout-parts/card-form.d.ts +0 -20
  527. package/dist/types/components/modular-checkout-parts/postal-code-form.d.ts +0 -16
  528. package/dist/types/components/modular-checkout-parts/saved-payment-methods.d.ts +0 -5
  529. package/dist/types/components/modular-checkout-parts/summary.d.ts +0 -3
  530. package/dist/types/store/checkout.store.d.ts +0 -19
  531. package/dist/webcomponents/p-00900e52.entry.js +0 -1
  532. package/dist/webcomponents/p-025ae692.entry.js +0 -1
  533. package/dist/webcomponents/p-02e26641.entry.js +0 -1
  534. package/dist/webcomponents/p-04c91ec1.entry.js +0 -1
  535. package/dist/webcomponents/p-0d5e93b3.entry.js +0 -1
  536. package/dist/webcomponents/p-19b5f93a.entry.js +0 -1
  537. package/dist/webcomponents/p-1ac365b4.entry.js +0 -1
  538. package/dist/webcomponents/p-1d64d86b.entry.js +0 -1
  539. package/dist/webcomponents/p-20d7db42.entry.js +0 -1
  540. package/dist/webcomponents/p-25b310f0.entry.js +0 -1
  541. package/dist/webcomponents/p-271b131d.entry.js +0 -1
  542. package/dist/webcomponents/p-2882b4e9.entry.js +0 -1
  543. package/dist/webcomponents/p-2a08ba01.entry.js +0 -1
  544. package/dist/webcomponents/p-2f027626.entry.js +0 -1
  545. package/dist/webcomponents/p-2fa36c0e.entry.js +0 -1
  546. package/dist/webcomponents/p-379584fb.entry.js +0 -1
  547. package/dist/webcomponents/p-39f31e23.entry.js +0 -1
  548. package/dist/webcomponents/p-3b6888c5.entry.js +0 -1
  549. package/dist/webcomponents/p-3d62f9a5.entry.js +0 -1
  550. package/dist/webcomponents/p-3edd5ebd.entry.js +0 -1
  551. package/dist/webcomponents/p-4232760b.entry.js +0 -1
  552. package/dist/webcomponents/p-4be4f7b4.entry.js +0 -1
  553. package/dist/webcomponents/p-531738ae.entry.js +0 -1
  554. package/dist/webcomponents/p-54019e68.entry.js +0 -1
  555. package/dist/webcomponents/p-5bc6f1e6.entry.js +0 -20
  556. package/dist/webcomponents/p-5bfbb0f8.entry.js +0 -1
  557. package/dist/webcomponents/p-5f9dbaff.entry.js +0 -1
  558. package/dist/webcomponents/p-6b229318.entry.js +0 -1
  559. package/dist/webcomponents/p-6fc1ace5.entry.js +0 -1
  560. package/dist/webcomponents/p-716d41f2.entry.js +0 -1
  561. package/dist/webcomponents/p-7253f1ea.entry.js +0 -1
  562. package/dist/webcomponents/p-80b662de.entry.js +0 -1
  563. package/dist/webcomponents/p-82164a5e.entry.js +0 -1
  564. package/dist/webcomponents/p-8532c68c.entry.js +0 -1
  565. package/dist/webcomponents/p-8590c5df.entry.js +0 -1
  566. package/dist/webcomponents/p-8e555a6e.entry.js +0 -1
  567. package/dist/webcomponents/p-96f89c69.entry.js +0 -1
  568. package/dist/webcomponents/p-98a39544.entry.js +0 -1
  569. package/dist/webcomponents/p-9a9f9c57.entry.js +0 -1
  570. package/dist/webcomponents/p-B8Ovjy6S.js +0 -1
  571. package/dist/webcomponents/p-BE5Nvydk.js +0 -1
  572. package/dist/webcomponents/p-BGHVK-vQ.js +0 -1
  573. package/dist/webcomponents/p-BPCw4WEY.js +0 -1
  574. package/dist/webcomponents/p-BhrFjjAs.js +0 -1
  575. package/dist/webcomponents/p-Bond4qGX.js +0 -1
  576. package/dist/webcomponents/p-BpEw7AJl.js +0 -1
  577. package/dist/webcomponents/p-C-WgCIei.js +0 -1
  578. package/dist/webcomponents/p-CCpqJxzB.js +0 -1
  579. package/dist/webcomponents/p-CLpgfEbx.js +0 -1
  580. package/dist/webcomponents/p-CRYPNa2o.js +0 -1
  581. package/dist/webcomponents/p-CeNlJX4-.js +0 -1
  582. package/dist/webcomponents/p-CnnRWu7z.js +0 -1
  583. package/dist/webcomponents/p-Ct-uNz2r.js +0 -1
  584. package/dist/webcomponents/p-CvChBLtI.js +0 -1
  585. package/dist/webcomponents/p-CwHYDF33.js +0 -1
  586. package/dist/webcomponents/p-CyXXks-Q.js +0 -1
  587. package/dist/webcomponents/p-Czro_9VO.js +0 -1
  588. package/dist/webcomponents/p-DKClunJd.js +0 -1
  589. package/dist/webcomponents/p-DOB09NZD.js +0 -1
  590. package/dist/webcomponents/p-DUdzWNqB.js +0 -1
  591. package/dist/webcomponents/p-D_FOQEGU.js +0 -1
  592. package/dist/webcomponents/p-DaS3t0DL.js +0 -1
  593. package/dist/webcomponents/p-Dge4w7_c.js +0 -1
  594. package/dist/webcomponents/p-DkWBoLsd.js +0 -1
  595. package/dist/webcomponents/p-DknV-QPT.js +0 -1
  596. package/dist/webcomponents/p-DuiQuWNq.js +0 -1
  597. package/dist/webcomponents/p-Dw6NWKHn.js +0 -1
  598. package/dist/webcomponents/p-DzPrenCi.js +0 -1
  599. package/dist/webcomponents/p-NqdaxjDT.js +0 -1
  600. package/dist/webcomponents/p-YDuIVoos.js +0 -1
  601. package/dist/webcomponents/p-a2db11b5.entry.js +0 -1
  602. package/dist/webcomponents/p-a31913e3.entry.js +0 -1
  603. package/dist/webcomponents/p-a4d457e9.entry.js +0 -1
  604. package/dist/webcomponents/p-b8ee41c1.entry.js +0 -1
  605. package/dist/webcomponents/p-bde749ac.entry.js +0 -1
  606. package/dist/webcomponents/p-bf16b11c.entry.js +0 -1
  607. package/dist/webcomponents/p-ce291c6a.entry.js +0 -1
  608. package/dist/webcomponents/p-d82b509a.entry.js +0 -1
  609. package/dist/webcomponents/p-d9b06582.entry.js +0 -1
  610. package/dist/webcomponents/p-dbc02ba8.entry.js +0 -1
  611. package/dist/webcomponents/p-dcad0df5.entry.js +0 -1
  612. package/dist/webcomponents/p-e03630ec.entry.js +0 -1
  613. package/dist/webcomponents/p-e07sVz4Z.js +0 -1
  614. package/dist/webcomponents/p-e563df65.entry.js +0 -1
  615. package/dist/webcomponents/p-ec9bb3f6.entry.js +0 -1
  616. package/dist/webcomponents/p-ecf6a315.entry.js +0 -1
  617. package/dist/webcomponents/p-f7e24a51.entry.js +0 -1
  618. package/dist/webcomponents/p-hDoH7hHP.js +0 -1
  619. package/dist/webcomponents/p-pGzabKc7.js +0 -1
  620. package/dist/webcomponents/p-zucQG3cz.js +0 -1
@@ -1,21 +1,21 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
  import { P as PaymentMethodTypes } from './Payment.js';
3
- import { P as PaymentMethodOption } from './payment-method-option-utils.js';
4
- import { d as defineCustomElement$f } from './bank-account-form2.js';
5
- import { d as defineCustomElement$e } from './card-form2.js';
6
- import { d as defineCustomElement$d } from './custom-popper2.js';
7
- import { d as defineCustomElement$c } from './form-control-checkbox2.js';
8
- import { d as defineCustomElement$b } from './form-control-help-text2.js';
9
- import { d as defineCustomElement$a } from './form-control-radio2.js';
10
- import { d as defineCustomElement$9 } from './form-control-select2.js';
11
- import { d as defineCustomElement$8 } from './form-control-text2.js';
12
- import { d as defineCustomElement$7 } from './form-control-tooltip2.js';
13
- import { d as defineCustomElement$6 } from './hidden-input2.js';
14
- import { d as defineCustomElement$5 } from './iframe-input2.js';
15
- import { d as defineCustomElement$4 } from './billing-form.js';
16
- import { d as defineCustomElement$3 } from './new-payment-method.js';
17
- import { d as defineCustomElement$2 } from './save-new-payment-method.js';
18
- import { d as defineCustomElement$1 } from './saved-payment-method.js';
3
+ import { d as defineCustomElement$2, P as PaymentMethodOption } from './saved-payment-method.js';
4
+ import { d as defineCustomElement$g } from './bank-account-form2.js';
5
+ import { d as defineCustomElement$f } from './card-form2.js';
6
+ import { d as defineCustomElement$e } from './custom-popper2.js';
7
+ import { d as defineCustomElement$d } from './form-control-checkbox2.js';
8
+ import { d as defineCustomElement$c } from './form-control-help-text2.js';
9
+ import { d as defineCustomElement$b } from './form-control-radio2.js';
10
+ import { d as defineCustomElement$a } from './form-control-select2.js';
11
+ import { d as defineCustomElement$9 } from './form-control-text2.js';
12
+ import { d as defineCustomElement$8 } from './form-control-tooltip2.js';
13
+ import { d as defineCustomElement$7 } from './hidden-input2.js';
14
+ import { d as defineCustomElement$6 } from './iframe-input2.js';
15
+ import { d as defineCustomElement$5 } from './billing-form.js';
16
+ import { d as defineCustomElement$4 } from './new-payment-method.js';
17
+ import { d as defineCustomElement$3 } from './save-new-payment-method.js';
18
+ import { d as defineCustomElement$1 } from './sezzle-payment-method.js';
19
19
 
20
20
  const PaymentMethodOptions = /*@__PURE__*/ proxyCustomElement(class PaymentMethodOptions extends HTMLElement {
21
21
  constructor() {
@@ -34,7 +34,7 @@ const PaymentMethodOptions = /*@__PURE__*/ proxyCustomElement(class PaymentMetho
34
34
  this.paymentMethodsChanged();
35
35
  }
36
36
  paymentMethodsChanged() {
37
- var _a;
37
+ var _a, _b;
38
38
  this.paymentMethodOptions = this.savedPaymentMethods
39
39
  .map((paymentMethod) => new PaymentMethodOption(paymentMethod))
40
40
  .filter((paymentMethod) => {
@@ -42,6 +42,9 @@ const PaymentMethodOptions = /*@__PURE__*/ proxyCustomElement(class PaymentMetho
42
42
  return ((this.showCard || paymentMethod.type !== PaymentMethodTypes.card) &&
43
43
  (this.showAch || paymentMethod.type !== PaymentMethodTypes.bankAccount));
44
44
  });
45
+ if (this.showBnpl && ((_a = this.bnpl) === null || _a === void 0 ? void 0 : _a.provider) === 'sezzle' && !this.insuranceToggled) {
46
+ this.paymentMethodOptions.push(new PaymentMethodOption({ id: PaymentMethodTypes.sezzle }));
47
+ }
45
48
  if (this.showCard) {
46
49
  this.paymentMethodOptions.push(new PaymentMethodOption({ id: PaymentMethodTypes.card }));
47
50
  }
@@ -49,7 +52,7 @@ const PaymentMethodOptions = /*@__PURE__*/ proxyCustomElement(class PaymentMetho
49
52
  this.paymentMethodOptions.push(new PaymentMethodOption({ id: PaymentMethodTypes.bankAccount }));
50
53
  }
51
54
  if (!this.selectedPaymentMethodId) {
52
- this.selectedPaymentMethodId = (_a = this.paymentMethodOptions[0]) === null || _a === void 0 ? void 0 : _a.id;
55
+ this.selectedPaymentMethodId = (_b = this.paymentMethodOptions[0]) === null || _b === void 0 ? void 0 : _b.id;
53
56
  }
54
57
  }
55
58
  paymentMethodOptionSelected(event) {
@@ -65,10 +68,11 @@ const PaymentMethodOptions = /*@__PURE__*/ proxyCustomElement(class PaymentMetho
65
68
  }
66
69
  render() {
67
70
  var _a;
68
- return (h(Host, { key: '2d3dc8bc98cea3efbcf342a31b6883f30099b031' }, (_a = this.paymentMethodOptions) === null || _a === void 0 ? void 0 : _a.map((paymentMethodOption) => {
71
+ return (h(Host, { key: 'c61e82c72aaa25e87ded723799a1eb0961c05444' }, (_a = this.paymentMethodOptions) === null || _a === void 0 ? void 0 : _a.map((paymentMethodOption) => {
69
72
  const newCard = paymentMethodOption.id === PaymentMethodTypes.card;
70
73
  const newBankAccount = paymentMethodOption.id === PaymentMethodTypes.bankAccount;
71
74
  const isSelected = this.selectedPaymentMethodId === paymentMethodOption.id;
75
+ const sezzle = paymentMethodOption.id === PaymentMethodTypes.sezzle;
72
76
  if (newCard || newBankAccount) {
73
77
  return (h("justifi-new-payment-method", { paymentMethodOption: paymentMethodOption, authToken: this.authToken, "account-id": this.accountId, "is-selected": isSelected, "show-card": this.showCard, "show-ach": this.showAch, paymentMethodGroupId: this.paymentMethodGroupId, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, ref: (el) => {
74
78
  if (isSelected) {
@@ -76,6 +80,13 @@ const PaymentMethodOptions = /*@__PURE__*/ proxyCustomElement(class PaymentMetho
76
80
  }
77
81
  } }));
78
82
  }
83
+ else if (sezzle) {
84
+ return (h("justifi-sezzle-payment-method", { paymentMethodOption: paymentMethodOption, "is-selected": isSelected, paymentAmount: this.paymentAmount, bnpl: this.bnpl, ref: (el) => {
85
+ if (isSelected) {
86
+ this.selectedPaymentMethodOptionRef = el;
87
+ }
88
+ } }));
89
+ }
79
90
  else if (this.showSavedPaymentMethods) {
80
91
  return (h("justifi-saved-payment-method", { paymentMethodOption: paymentMethodOption, "is-selected": isSelected, ref: (el) => {
81
92
  if (isSelected) {
@@ -91,6 +102,7 @@ const PaymentMethodOptions = /*@__PURE__*/ proxyCustomElement(class PaymentMetho
91
102
  }, [0, "justifi-payment-method-options", {
92
103
  "showCard": [4, "show-card"],
93
104
  "showAch": [4, "show-ach"],
105
+ "showBnpl": [4, "show-bnpl"],
94
106
  "showSavedPaymentMethods": [4, "show-saved-payment-methods"],
95
107
  "paymentMethodGroupId": [1, "payment-method-group-id"],
96
108
  "bnpl": [16],
@@ -113,7 +125,7 @@ function defineCustomElement() {
113
125
  if (typeof customElements === "undefined") {
114
126
  return;
115
127
  }
116
- const components = ["justifi-payment-method-options", "bank-account-form", "card-form", "custom-popper", "form-control-checkbox", "form-control-help-text", "form-control-radio", "form-control-select", "form-control-text", "form-control-tooltip", "hidden-input", "iframe-input", "justifi-billing-form", "justifi-new-payment-method", "justifi-save-new-payment-method", "justifi-saved-payment-method"];
128
+ const components = ["justifi-payment-method-options", "bank-account-form", "card-form", "custom-popper", "form-control-checkbox", "form-control-help-text", "form-control-radio", "form-control-select", "form-control-text", "form-control-tooltip", "hidden-input", "iframe-input", "justifi-billing-form", "justifi-new-payment-method", "justifi-save-new-payment-method", "justifi-saved-payment-method", "justifi-sezzle-payment-method"];
117
129
  components.forEach(tagName => { switch (tagName) {
118
130
  case "justifi-payment-method-options":
119
131
  if (!customElements.get(tagName)) {
@@ -122,75 +134,80 @@ function defineCustomElement() {
122
134
  break;
123
135
  case "bank-account-form":
124
136
  if (!customElements.get(tagName)) {
125
- defineCustomElement$f();
137
+ defineCustomElement$g();
126
138
  }
127
139
  break;
128
140
  case "card-form":
129
141
  if (!customElements.get(tagName)) {
130
- defineCustomElement$e();
142
+ defineCustomElement$f();
131
143
  }
132
144
  break;
133
145
  case "custom-popper":
134
146
  if (!customElements.get(tagName)) {
135
- defineCustomElement$d();
147
+ defineCustomElement$e();
136
148
  }
137
149
  break;
138
150
  case "form-control-checkbox":
139
151
  if (!customElements.get(tagName)) {
140
- defineCustomElement$c();
152
+ defineCustomElement$d();
141
153
  }
142
154
  break;
143
155
  case "form-control-help-text":
144
156
  if (!customElements.get(tagName)) {
145
- defineCustomElement$b();
157
+ defineCustomElement$c();
146
158
  }
147
159
  break;
148
160
  case "form-control-radio":
149
161
  if (!customElements.get(tagName)) {
150
- defineCustomElement$a();
162
+ defineCustomElement$b();
151
163
  }
152
164
  break;
153
165
  case "form-control-select":
154
166
  if (!customElements.get(tagName)) {
155
- defineCustomElement$9();
167
+ defineCustomElement$a();
156
168
  }
157
169
  break;
158
170
  case "form-control-text":
159
171
  if (!customElements.get(tagName)) {
160
- defineCustomElement$8();
172
+ defineCustomElement$9();
161
173
  }
162
174
  break;
163
175
  case "form-control-tooltip":
164
176
  if (!customElements.get(tagName)) {
165
- defineCustomElement$7();
177
+ defineCustomElement$8();
166
178
  }
167
179
  break;
168
180
  case "hidden-input":
169
181
  if (!customElements.get(tagName)) {
170
- defineCustomElement$6();
182
+ defineCustomElement$7();
171
183
  }
172
184
  break;
173
185
  case "iframe-input":
174
186
  if (!customElements.get(tagName)) {
175
- defineCustomElement$5();
187
+ defineCustomElement$6();
176
188
  }
177
189
  break;
178
190
  case "justifi-billing-form":
179
191
  if (!customElements.get(tagName)) {
180
- defineCustomElement$4();
192
+ defineCustomElement$5();
181
193
  }
182
194
  break;
183
195
  case "justifi-new-payment-method":
184
196
  if (!customElements.get(tagName)) {
185
- defineCustomElement$3();
197
+ defineCustomElement$4();
186
198
  }
187
199
  break;
188
200
  case "justifi-save-new-payment-method":
189
201
  if (!customElements.get(tagName)) {
190
- defineCustomElement$2();
202
+ defineCustomElement$3();
191
203
  }
192
204
  break;
193
205
  case "justifi-saved-payment-method":
206
+ if (!customElements.get(tagName)) {
207
+ defineCustomElement$2();
208
+ }
209
+ break;
210
+ case "justifi-sezzle-payment-method":
194
211
  if (!customElements.get(tagName)) {
195
212
  defineCustomElement$1();
196
213
  }
@@ -3,7 +3,6 @@ import './Checkout.js';
3
3
  import './Pagination.js';
4
4
  import './Payment.js';
5
5
  import './Refund.js';
6
- import './Document.js';
7
6
  import './Business.js';
8
7
 
9
8
  const api = Api();
@@ -5,13 +5,12 @@ import './Checkout.js';
5
5
  import { p as pagingDefaults } from './Pagination.js';
6
6
  import './Payment.js';
7
7
  import './Refund.js';
8
- import './Document.js';
9
8
  import './Business.js';
10
9
  import './details.js';
11
10
  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';
12
11
  import { T as TableClickActions } from './event-types.js';
13
12
  import { M as MapPaymentStatusToBadge } from './payments-status.js';
14
- import { n as tableHeadCell, a8 as getAlternateTableCellPart } from './parts.js';
13
+ import { n as tableHeadCell, a7 as getAlternateTableCellPart } from './parts.js';
15
14
  import { o as onQueryParamsChange, g as getRequestParams } from './payments-list-params-state.js';
16
15
  import { d as defineCustomElement$1 } from './pagination-menu2.js';
17
16
 
@@ -119,7 +118,7 @@ const PaymentsListCore = /*@__PURE__*/ proxyCustomElement(class PaymentsListCore
119
118
  return !this.showEmptyState && !this.showErrorState && !this.loading;
120
119
  }
121
120
  render() {
122
- return (h(TableWrapper, { key: 'f7d8eb83c5c0bfe1f426a784a8d4a14689958c8a' }, h(TableComponent, { key: 'b4c6aa6781f64a95e75dcb6e163eae62280d4777' }, h(TableHead, { key: '35c522e3cb956adabdbc0d5f49d4ecb564b28922' }, h(TableHeadRow, { key: '1d08847173e7a17eef90aff34dd4eed12f43a55f' }, this.paymentsTable.columnData.map((column) => column))), h(TableBody, { key: 'd18ec5a41975ed90e2517f1ab7b1d35bd13f2021' }, h(TableLoadingState, { key: '3ccdaaa336b40207f240d0c35bd066991016ea52', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: '373fc79d3328a93ce02721f670d84d0b77afa322', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), h(TableErrorState, { key: 'd6141695f295827c1f22f823e5a59de9d4147956', columnSpan: this.paymentsTable.columnData.length, errorMessage: this.errorMessage }), this.showRowData && this.paymentsTable.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: 'bada9a9d7e5a6c630aa2a272d324b3506c84be70' }, h(TableFootRow, { key: '4b2147edb866f00fd895c9be647ff826e8b964e5' }, h(TableFootCell, { key: 'ea9856256d190727350137530933bd51ba4935d0', colSpan: this.paymentsTable.columnData.length }, h("pagination-menu", { key: '27932b928dd6245e14404b51a69b7073205d4139', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
121
+ return (h(TableWrapper, { key: 'ebc89e8b55258a1442edad51d5238b8734aa345e' }, h(TableComponent, { key: 'b90635548604f5d486a38421e5228c61ec47c033' }, h(TableHead, { key: '3106e6ac62fc9df004a8dc1c4fa6b07763ec9d7a' }, h(TableHeadRow, { key: '68c7767762899d3ee229835d93eb9221c8b097e9' }, this.paymentsTable.columnData.map((column) => column))), h(TableBody, { key: '5ffee99d7437590c48f766d5bde24385ea31fdc5' }, h(TableLoadingState, { key: '4170ce391f84c65286f358d4e1c03f67c2f9ffcc', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: '8f47428d403e763179e071756582065351fa7c63', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), h(TableErrorState, { key: '5857f210589dd16232338ad39897ecd4581dc7db', columnSpan: this.paymentsTable.columnData.length, errorMessage: this.errorMessage }), this.showRowData && this.paymentsTable.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: '1cb054a34b99150f33cf1a008a64451e85af4700' }, h(TableFootRow, { key: 'd203e8a928713108cbfbde297ed18bf60cd5cb8e' }, h(TableFootCell, { key: '710c8b5915f08f14892a04c16ac069039804b4f9', colSpan: this.paymentsTable.columnData.length }, h("pagination-menu", { key: 'f9f40a23e8bcbce6adf93f66e2a97f15f91f4f15', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
123
122
  }
124
123
  static get watchers() { return {
125
124
  "pagingParams": ["updateOnPropChange"],
@@ -73,9 +73,9 @@ const PayoutDetailsCore = /*@__PURE__*/ proxyCustomElement(class PayoutDetailsCo
73
73
  }
74
74
  render() {
75
75
  var _a;
76
- return (h(StyledHost, { key: 'f6b9b84a740d3e5196eca16df2f34a1b225edbc8' }, this.loading && h(PayoutDetailsLoading, { key: '3d24389cb52696810d93b0047f02dd44ee8a1386' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: '159849ab2d24fd2c08812dffc2323194b9cb5bbc', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: 'e42544c3d30edd29b79028d3e47e7e1fc25e2a8c', slot: "head-info", badge: (h("div", { class: "d-flex gap-1" }, MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status), this.payout.settlement_priority === 'expedited' ? (h(Badge, { variant: BadgeVariant.WARNING, title: "Expedited", text: "Expedited" })) : (h(Badge, { variant: BadgeVariant.SECONDARY, title: "Standard", text: "Standard" })))), title: this.payout.formattedPaymentAmount(this.payout.amount) }, h(EntityHeadInfoItem, { key: '665e463415c851fd5198cf1ce6cbbd3e777a60ee', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: '434c279f54780b4ef3a59c4a4ab5e84a0fbc536a', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: '76f7fcc47a5014a4f20dc8686b45a72eb0888228', title: "ID", value: this.payout.id }), h("div", { key: 'da0272c9aa553ec71d6e65f3865f6ce643f79092', class: "m-4" }, h(Button, { key: '9037551eba246803a623654a88f7f8cfbe210de3', variant: "secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: 'b7b6f40493db4db7e1defe66f4f510c32e0fab9e', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '460e4a6bafc65e6c83dc955b99f75ed589f9ba42', sectionTitle: "Details" }), h("div", { key: 'cdb8280c872e55410f24b6a90ba17f64ae0414d4', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'f401e006c82aa38c2b390668b3905bb10bf92d88', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: '95fa773958f9ad5950432cba9f0f8821b87183c7', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: '70930d62905c51939b33e6e5341a66eff7f1f80d', title: "Payout Method", value: this.payout.delivery_method }), h(DetailItem, { key: 'f7203ba0a060df09a86fe47bb7354ba4440de247', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), h(DetailItem, { key: '9937a4bb3cf00943ff719e2851e06066960cd518', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), h(DetailSectionTitle, { key: '60988e407834a87285a8203e53053ebec0d109ae', sectionTitle: "Account" }), h("div", { key: 'd30c4e5ee64658b9ecefe9720c1a8266d1af7314', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'a60f91b7dc0b6edf4ccad3437358f70ef8a97b2e', title: "ID", value: this.payout.account_id }), h(DetailItem, { key: '81da5682023ce4ad02b30688859262931b6d319c', title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '21ced58dd4f97df5b9839f49cce50162405416fe', title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '73191d6ffabdf08536f4699c3f2ba4fa867a3992', title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { key: 'd9ea68ef61a0cb63b1056f753a957927cf3204f7', title: "Account Number", value: this.payout.bank_account.account_number_last4 })), this.payout.metadata && [
77
- h(DetailSectionTitle, { key: '1eaca03125f7e50c62c7f731a7442c088858a317', sectionTitle: 'Metadata' }),
78
- h("div", { key: '1368c90f240c2ea2e6711603d8599025dce2dd82', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '52ec68588672ffa71ff98139e9d7ae193fbd55bd', metadata: this.payout.metadata }))
76
+ return (h(StyledHost, { key: '1d9842d26d6e1a89b3fc8a1ed6ed395f55b913ee' }, this.loading && h(PayoutDetailsLoading, { key: '95917b7cba094233316f39ed610dfda5360a47e5' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: 'c8f1cc9c3cc9b8e343557d38b88b31035d65c00f', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '0397f400c1576f49e664a1e5d8d5d1318935b281', slot: "head-info", badge: (h("div", { class: "d-flex gap-1" }, MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status), this.payout.settlement_priority === 'expedited' ? (h(Badge, { variant: BadgeVariant.WARNING, title: "Expedited", text: "Expedited" })) : (h(Badge, { variant: BadgeVariant.SECONDARY, title: "Standard", text: "Standard" })))), title: this.payout.formattedPaymentAmount(this.payout.amount) }, h(EntityHeadInfoItem, { key: '3a3a0d511eaf43d54012f7c07688825d141f170a', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: '9c33ac6ed41a0d1d91a83af12dee4c7bf401bc60', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: 'f60f96ff20c47f1ec0ad7f2a6f1f81a19b4a03f5', title: "ID", value: this.payout.id }), h("div", { key: '522bc205154fc2904f1c3735e9f859cfd234dff4', class: "m-4" }, h(Button, { key: 'e691e47946499a7359018fe4c774e0e23f8cb4c4', variant: "secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: '7f7c975c5672aaaebcda5870870cd4a52bae40b9', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '03728f098028f6304c2e608bf38e6b79809bd5aa', sectionTitle: "Details" }), h("div", { key: 'ad8416b1a6a90052f4988d9577b6c8d6a881e0a7', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '0ecb52461ee59aad0914547ffc3aff948bc766a6', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: 'bc003db9efc8ea329f4eb5e9644e013dc9578b27', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: 'e8ce2d2c42b66efd8ff0f87a8d9b58bd1565a019', title: "Payout Method", value: this.payout.delivery_method }), h(DetailItem, { key: '47f05a33981b878ebfd4a88cbd32b71fd6bf3683', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), h(DetailItem, { key: '013126090417ea6244fd01eb0c80aeec72c05bfe', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), h(DetailSectionTitle, { key: '252b01172864c2d97b358a0fde5b0532e7298278', sectionTitle: "Account" }), h("div", { key: '4c1f0b28024141ba16803349f60395406dd31f3f', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '6c4f814276825b92c05226d1dc6522a920ab3e2a', title: "ID", value: this.payout.account_id }), h(DetailItem, { key: 'c3824079766df1788264cb2ee962c5229045212c', title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '158c9456436cc58622d1337c11f7443497c7ae38', title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '7ce5376d2c1632cbd0bd910e6290ec3caf289b73', title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { key: 'a1f892fe9a638e5b5a4be23e853070355b6cf3bb', title: "Account Number", value: this.payout.bank_account.account_number_last4 })), this.payout.metadata && [
77
+ h(DetailSectionTitle, { key: '61d325fd74f125295c61266528e1d62e04bb6e2e', sectionTitle: 'Metadata' }),
78
+ h("div", { key: 'e574d0558fec57c0f3342c80846eb1469a9cfeb7', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: 'ca0cc50f11489df465d29e8da5a51495433931d3', metadata: this.payout.metadata }))
79
79
  ])))));
80
80
  }
81
81
  static get watchers() { return {
@@ -3,7 +3,6 @@ import './Checkout.js';
3
3
  import './Pagination.js';
4
4
  import './Payment.js';
5
5
  import './Refund.js';
6
- import './Document.js';
7
6
  import './Business.js';
8
7
 
9
8
  const api = Api();
@@ -5,13 +5,12 @@ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Checkou
5
5
  import { p as pagingDefaults } from './Pagination.js';
6
6
  import './Payment.js';
7
7
  import './Refund.js';
8
- import './Document.js';
9
8
  import './Business.js';
10
9
  import './details.js';
11
10
  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';
12
11
  import { T as TableClickActions } from './event-types.js';
13
12
  import { M as MapPayoutStatusToBadge } from './payouts-status.js';
14
- import { n as tableHeadCell, a8 as getAlternateTableCellPart } from './parts.js';
13
+ import { n as tableHeadCell, a7 as getAlternateTableCellPart } from './parts.js';
15
14
  import { o as onQueryParamsChange, g as getRequestParams } from './payouts-list-params-state.js';
16
15
  import { d as defineCustomElement$1 } from './pagination-menu2.js';
17
16
 
@@ -174,7 +173,7 @@ const PayoutsListCore = /*@__PURE__*/ proxyCustomElement(class PayoutsListCore e
174
173
  return !this.showEmptyState && !this.showErrorState && !this.loading;
175
174
  }
176
175
  render() {
177
- return (h(TableWrapper, { key: '786e5a316c151acfbe4c002e578956ad1730e524' }, h(TableComponent, { key: '117086f0be468f4d50d160f8c982b93afb4b6a1b' }, h(TableHead, { key: '47433c343abf3c97e95b6cdcc2ca3a8c9bb23ae8' }, h(TableHeadRow, { key: '24403b1c5f408381e388ffe33af5823c5176a254' }, this.payoutsTable.columnData.map((column) => column))), h(TableBody, { key: '1c8c09b4cea871e728d20836156b8ebda1d72276' }, h(TableLoadingState, { key: 'bf038ef4c07745436168203a484e5e346356d48d', columnSpan: this.payoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '1fbe3787afb507258272f3e500f72ee9d4c5f7e9', isEmpty: this.showEmptyState, columnSpan: this.payoutsTable.columnKeys.length }), h(TableErrorState, { key: '256e3ea344eada4001c65ee31eb2356e63242b40', columnSpan: this.payoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.payoutsTable.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: '174590a65c18b9644c5ca7e39b384f973de4690a' }, h(TableFootRow, { key: 'd9dab09c6f24eeded0328c559b7842a543cd1fa2' }, h(TableFootCell, { key: 'bd7c7917dc2c31dccf731617000c664f6c1bed51', colSpan: this.payoutsTable.columnData.length }, h("pagination-menu", { key: '131a5000ad0378948411c34287471734a8575491', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
176
+ return (h(TableWrapper, { key: 'ca41a7df9de30363526239ec286054e16a46293d' }, h(TableComponent, { key: '15f8f414b2da0adda480da114541ed7533d79ca3' }, h(TableHead, { key: '038b27097d57734f80502949628535ab1f8bfded' }, h(TableHeadRow, { key: '9f15c37a04d1fa6f5ec49c60bfbee3ae3ddbdfca' }, this.payoutsTable.columnData.map((column) => column))), h(TableBody, { key: 'c05f33fc7046606087da1b0693650aa571f8e61f' }, h(TableLoadingState, { key: '1c127fa09435af89c2f07226d70438c7ac261cfb', columnSpan: this.payoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '853c86c1d0309155797d9a15433982e4765f941c', isEmpty: this.showEmptyState, columnSpan: this.payoutsTable.columnKeys.length }), h(TableErrorState, { key: 'ac3b422be11179ab00accc348cfbd334393d2745', columnSpan: this.payoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.payoutsTable.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: '9cd94e14becf8789e3eb21500eb1eb9aafc79c7a' }, h(TableFootRow, { key: '2a8232066a55771805b34bee43af9c0dbdbe5047' }, h(TableFootCell, { key: '4c44e77eab9e1db423ef5bad6fc9137e82b625f3', colSpan: this.payoutsTable.columnData.length }, h("pagination-menu", { key: 'b25056fffc760aba956a6e40fceb29f995a144be', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
178
177
  }
179
178
  static get watchers() { return {
180
179
  "pagingParams": ["updateOnPropChange"],
@@ -39,7 +39,7 @@ const ProductOrService = /*@__PURE__*/ proxyCustomElement(class ProductOrService
39
39
  }
40
40
  render() {
41
41
  var _a, _b, _c;
42
- return (h("div", { key: '53894694d5f6c1cfe7d8d699af69e4dc6c496fb8' }, h("div", { key: 'c1cb70ef48be5e50bdb1fd0d47416b48342f7620', class: "row gy-3" }, h("div", { key: '837aa7683621d26ee08a1f8f3b1f5ae65b63bd94', class: "col-12" }, h("h2", { key: '9c51ee3f6df442237cd3c23306f79b7e15fed133', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: '259ea001a1896c34088a6a03a725564c5cd48a74', class: "col-12" }, h("form-control-text", { key: 'f237fc051614689b9b8c8227d6a6d7266a9adeaa', label: "Product Description", name: "product_description", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.product_description, inputHandler: this.inputHandler, errorText: this.errors.product_description })), h("div", { key: 'a0f7a0cb813c7ee2a4423abc1506f7c775ad9e07', class: "col-12" }, h("form-control-date", { key: 'fca7aef52b721fa472b5459b9dc47f95dca1ce76', label: "Service Date", name: "service_date", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.service_date, inputHandler: this.inputHandler, errorText: this.errors.service_date })), h("div", { key: 'f285bfe4242cc1179c5a7b4864b907101edeaebb', class: "col-12" }, h("form-control-file-v2", { key: '9ad064a5be5381cccbe33e4dc1e00879996ad513', label: "Service Documentation", name: "service_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.service_documentation })))));
42
+ return (h("div", { key: '0e2648d399af18f7959bed2e0fff56fd63b541df' }, h("div", { key: '4322c227617147721ab7cf33a5e75a09bc370a0c', class: "row gy-3" }, h("div", { key: 'e2bc9f0642356a864e7fa323262ead13d4825fdc', class: "col-12" }, h("h2", { key: '88af660c9add83da7edc7758d4645db796c80fdf', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: 'dcfb0f64e1b611eb8d53f97950d5922f7358a64c', class: "col-12" }, h("form-control-text", { key: '42959d4b7c03d14fdef29a656a5f18d0d89d3b2e', label: "Product Description", name: "product_description", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.product_description, inputHandler: this.inputHandler, errorText: this.errors.product_description })), h("div", { key: '1f4173e79f10a6ac32b860ecbd62fe5c612cc5b2', class: "col-12" }, h("form-control-date", { key: '6e8bab228b3a23655cbf71fe6dc72a850b38947c', label: "Service Date", name: "service_date", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.service_date, inputHandler: this.inputHandler, errorText: this.errors.service_date })), h("div", { key: '2e32f65cc5388302d067fb1a8db34e3e529435c2', class: "col-12" }, h("form-control-file-v2", { key: 'f9fb2ac0c6a2f37a7584eeda2460702b1e0d6cc0', label: "Service Documentation", name: "service_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.service_documentation })))));
43
43
  }
44
44
  }, [0, "justifi-product-or-service", {
45
45
  "disputeResponse": [8, "dispute-response"],
@@ -39,7 +39,7 @@ const RefundPolicy = /*@__PURE__*/ proxyCustomElement(class RefundPolicy extends
39
39
  }
40
40
  render() {
41
41
  var _a, _b, _c, _d;
42
- return (h("div", { key: '839a9b7ea7f978987e44f643af2d2aa8ac9557ff' }, h("div", { key: '410211fe20a2e9ab23ec1e3f172b200afb2db8ae', class: "row gy-3" }, h("div", { key: '9e6121b760cf47feaeffdc231780490ce47342f7', class: "col-12" }, h("h2", { key: 'fe64c8a2be67d179ddc4157c4fa8876937c2e4b8', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: 'db91b2f1c102026cc6998f9f8163761d1bf85024', class: "col-12" }, h("form-control-textarea", { key: '199cd5d32ff726681a918ced7f1790bd292e0cf7', label: "Refund Policy Disclosure", name: "refund_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.refund_policy_disclosure, inputHandler: this.inputHandler })), h("div", { key: 'e48e83b580182698374627889cf0cff69dd3779f', class: "col-12" }, h("form-control-textarea", { key: '627faade4d3afaad7d700494652d559ede4f69af', label: "Refund Refusal Explanation", name: "refund_refusal_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.refund_refusal_explanation, inputHandler: this.inputHandler })), h("div", { key: 'bdfca2b3878de2a665961fd6cd4fc10833f385bc', class: "col-12" }, h("form-control-file-v2", { key: 'a8d0d09bf0d8298ba85ead4b643d5ea774336ba0', label: "Upload Refund Policy", name: "refund_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.refund_policy })), h("div", { key: '41f43575895d15f34bfa2f6095462068cd6ad5d6', class: "col-12" }, h("form-control-file-v2", { key: 'aceae6c113bc38019bc20125eb3e8be0d111c15f', label: "Upload Receipt", name: "receipt", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.receipt })))));
42
+ return (h("div", { key: '882eb01880bcfdde30abe10465fecd7390654ed6' }, h("div", { key: 'de2f238310e4b80976888d147e90047688ad5ada', class: "row gy-3" }, h("div", { key: '305af62aa762ae6abff0678998132e8f56707550', class: "col-12" }, h("h2", { key: '6e224996b82639c426d129bfd28633f3d3839f6f', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: 'b2b8d444c594bf92d04fed6640230745c5fb49ba', class: "col-12" }, h("form-control-textarea", { key: 'f75c6c360c485ac5253164be5d4941d859deb902', label: "Refund Policy Disclosure", name: "refund_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.refund_policy_disclosure, inputHandler: this.inputHandler })), h("div", { key: '1788d1e6ba1ddbe82795ce1a41b901a81c055f6d', class: "col-12" }, h("form-control-textarea", { key: 'f47fac9b8e0d6b9766311b13c760129bb6335ddd', label: "Refund Refusal Explanation", name: "refund_refusal_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.refund_refusal_explanation, inputHandler: this.inputHandler })), h("div", { key: 'd96552fee8b4cdddf31148b2d3783a4e1dfb031b', class: "col-12" }, h("form-control-file-v2", { key: '3c6c06201ef3a730aed41ab6b8cb62d5ee8d8128', label: "Upload Refund Policy", name: "refund_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.refund_policy })), h("div", { key: 'ec2271dd9646596df3106f56c6e96f618196046a', class: "col-12" }, h("form-control-file-v2", { key: '48f956f2580187fc7baecc5426d5ed0a1050150b', label: "Upload Receipt", name: "receipt", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.receipt })))));
43
43
  }
44
44
  }, [0, "justifi-refund-policy", {
45
45
  "disputeResponse": [8, "dispute-response"],
@@ -1,9 +1,29 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
- import { C as CardBrandLabels } from './payment-method-option-utils.js';
2
+ import { d as snakeToCamel } from './utils2.js';
3
3
  import { W as radioListItem } from './parts.js';
4
4
  import { d as defineCustomElement$2 } from './form-control-help-text2.js';
5
5
  import { d as defineCustomElement$1 } from './form-control-radio2.js';
6
6
 
7
+ class PaymentMethodOption {
8
+ constructor(paymentMethod) {
9
+ this.id = paymentMethod.id;
10
+ this.brand = paymentMethod.brand;
11
+ this.acct_last_four = paymentMethod.acct_last_four;
12
+ this.type = snakeToCamel(paymentMethod.type);
13
+ }
14
+ }
15
+ var CardBrandLabels;
16
+ (function (CardBrandLabels) {
17
+ CardBrandLabels["american_express"] = "American Express";
18
+ CardBrandLabels["diners_club"] = "Diners Club";
19
+ CardBrandLabels["discover"] = "Discover";
20
+ CardBrandLabels["jcb"] = "JCB";
21
+ CardBrandLabels["mastercard"] = "Mastercard";
22
+ CardBrandLabels["china_unionpay"] = "UnionPay";
23
+ CardBrandLabels["visa"] = "Visa";
24
+ CardBrandLabels["unknown"] = "Unknown";
25
+ })(CardBrandLabels || (CardBrandLabels = {}));
26
+
7
27
  const SavedPaymentMethod = /*@__PURE__*/ proxyCustomElement(class SavedPaymentMethod extends HTMLElement {
8
28
  constructor() {
9
29
  super();
@@ -56,4 +76,4 @@ function defineCustomElement() {
56
76
  }
57
77
  defineCustomElement();
58
78
 
59
- export { SavedPaymentMethod as S, defineCustomElement as d };
79
+ export { PaymentMethodOption as P, SavedPaymentMethod as S, defineCustomElement as d };
@@ -1,7 +1,6 @@
1
- import { a as create$6, b as create$8 } from './form.js';
1
+ import { a as create$6 } from './form.js';
2
2
  import { S as StateOptions } from './state-options.js';
3
3
  import { c as businessClassificationOptions, a as businessServiceReceivedOptions, r as recurringPaymentsOptions, s as seasonalBusinessOptions, b as bankAccountTypeOptions } from './business-form-options.js';
4
- import { E as EntityDocumentType } from './Document.js';
5
4
 
6
5
  const transformEmptyString = (value) => {
7
6
  return value === '' ? null : value;
@@ -183,25 +182,5 @@ const routingNumberValidation = create$6()
183
182
  return validateRoutingNumber(value);
184
183
  })
185
184
  .transform(transformEmptyString);
186
- // Document Upload Validations
187
- const documentUploadValidation = create$8();
188
- const voidedCheckValidation = (documents, allowOptionalFields) => {
189
- const existingDoc = documents.some((doc) => doc.document_type === EntityDocumentType.voidedCheck);
190
- if (existingDoc || allowOptionalFields) {
191
- return documentUploadValidation.nullable();
192
- }
193
- else {
194
- return documentUploadValidation.required('Please select one or more files');
195
- }
196
- };
197
- const bankStatementValidation = (documents, allowOptionalFields) => {
198
- const existingDoc = documents.some((doc) => doc.document_type === EntityDocumentType.bankStatement);
199
- if (existingDoc || allowOptionalFields) {
200
- return documentUploadValidation.nullable();
201
- }
202
- else {
203
- return documentUploadValidation.required('Please select one or more files');
204
- }
205
- };
206
185
 
207
- export { voidedCheckValidation as A, routingNumberValidation as B, accountNumberValidation as C, accountTypeValidation as D, nicknameValidation as E, bankNameValidation as F, revenueValidation as a, recurringPaymentsPercentageValidation as b, postalValidation as c, stateValidation as d, cityValidation as e, lineOneValidation as f, dateOfIncorporationValidation as g, industryValidation as h, identityNameValidation as i, businessClassificationValidation as j, doingBusinessAsValidation as k, lineTwoValidation as l, phoneValidation as m, emailValidation as n, otherPaymentDetailsValidation as o, paymentVolumeValidation as p, websiteUrlValidation as q, recurringPaymentsValidation as r, seasonalBusinessValidation as s, taxIdValidation as t, businessNameValidation as u, ssnValidation as v, whenServiceReceivedValidation as w, dobValidation as x, identityTitleValidation as y, bankStatementValidation as z };
186
+ export { accountNumberValidation as A, accountTypeValidation as B, nicknameValidation as C, bankNameValidation as D, revenueValidation as a, recurringPaymentsPercentageValidation as b, businessClassificationValidation as c, dateOfIncorporationValidation as d, doingBusinessAsValidation as e, phoneValidation as f, emailValidation as g, websiteUrlValidation as h, industryValidation as i, businessNameValidation as j, ssnValidation as k, dobValidation as l, identityTitleValidation as m, identityNameValidation as n, otherPaymentDetailsValidation as o, paymentVolumeValidation as p, postalValidation as q, recurringPaymentsValidation as r, seasonalBusinessValidation as s, taxIdValidation as t, stateValidation as u, cityValidation as v, whenServiceReceivedValidation as w, lineTwoValidation as x, lineOneValidation as y, routingNumberValidation as z };
@@ -0,0 +1,104 @@
1
+ import { h, proxyCustomElement, HTMLElement, createEvent, Host } from '@stencil/core/internal/client';
2
+ import { c as formatCurrency } from './utils2.js';
3
+ import { W as radioListItem } from './parts.js';
4
+ import { d as defineCustomElement$2 } from './form-control-help-text2.js';
5
+ import { d as defineCustomElement$1 } from './form-control-radio2.js';
6
+
7
+ const sezzleLogo = (h("img", { class: "sezzle-smart-button-logo-img", src: "https://media.sezzle.com/branding/2.0/Sezzle_Logo_FullColor.svg", alt: "Sezzle", style: {
8
+ display: 'inline',
9
+ width: '80px',
10
+ marginLeft: '5px',
11
+ marginTop: '-5px',
12
+ } }));
13
+ const SezzlePaymentMethod = /*@__PURE__*/ proxyCustomElement(class SezzlePaymentMethod extends HTMLElement {
14
+ constructor() {
15
+ super();
16
+ this.__registerHost();
17
+ this.paymentMethodOptionSelected = createEvent(this, "paymentMethodOptionSelected", 7);
18
+ this.onPaymentMethodOptionClick = (e) => {
19
+ e.preventDefault();
20
+ this.paymentMethodOptionSelected.emit(this.paymentMethodOption);
21
+ };
22
+ this.initializeSezzleCheckout = () => {
23
+ let resolveSezzlePromise;
24
+ this.sezzlePromise = new Promise((resolve) => { resolveSezzlePromise = resolve; });
25
+ const bnpl = this.bnpl;
26
+ const amount = +this.paymentAmount; // convert to number
27
+ const Checkout = window.Checkout;
28
+ const checkout = new Checkout({
29
+ mode: 'popup',
30
+ publicKey: bnpl.provider_client_id,
31
+ apiMode: bnpl.provider_mode,
32
+ apiVersion: bnpl.provider_api_version,
33
+ });
34
+ checkout.sezzleButtonElement = this.sezzleButtonRef;
35
+ checkout.init({
36
+ onClick: function (event) {
37
+ event.preventDefault();
38
+ checkout.startCheckout({
39
+ checkout_url: bnpl.provider_checkout_url
40
+ });
41
+ },
42
+ onComplete: (event) => resolveSezzlePromise({ bnpl: event.data }),
43
+ onCancel: (event) => resolveSezzlePromise({ bnpl: event.data }),
44
+ onFailure: (event) => resolveSezzlePromise({ bnpl: event.data }),
45
+ });
46
+ this.sezzleCheckout = checkout;
47
+ this.installmentPlan = this.sezzleCheckout.getInstallmentPlan(amount);
48
+ };
49
+ }
50
+ componentDidRender() {
51
+ this.scriptRef.onload = () => {
52
+ this.sezzleButtonRef = document.createElement('button');
53
+ this.initializeSezzleCheckout();
54
+ };
55
+ }
56
+ async resolvePaymentMethod(insuranceValidation) {
57
+ if (!insuranceValidation.isValid) {
58
+ return { validationError: true };
59
+ }
60
+ this.sezzleButtonRef.click();
61
+ return this.sezzlePromise;
62
+ }
63
+ render() {
64
+ var _a, _b, _c;
65
+ return (h(Host, { key: '4ae50e7bbb15d0049d069edacd0d95ba7c13dbe5', class: "payment-method" }, h("script", { key: '42a0590d89626ba7a93852e421eb121626b48375', src: "https://checkout-sdk.sezzle.com/checkout.min.js", async: true, ref: (el) => (this.scriptRef = el) }), h("div", { key: '31a2a72650486c258267c6d4de3723f7afa5b063', class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick }, h("form-control-radio", { key: 'eac1adbcd82fcb4f9c440c53c40ce34af6092991', name: "paymentMethodType", value: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, checked: this.isSelected, label: h("div", null, h("div", null, "Buy now, pay later with ", sezzleLogo), this.installmentPlan && (h("small", null, h("span", null, (_b = this.installmentPlan) === null || _b === void 0 ? void 0 : _b.installments.length), "\u00A0", h("span", null, this.installmentPlan.schedule, " payments of"), "\u00A0", h("span", { class: "fw-bold" }, formatCurrency((_c = this.installmentPlan) === null || _c === void 0 ? void 0 : _c.installments[0].amountInCents))))) }))));
66
+ }
67
+ }, [0, "justifi-sezzle-payment-method", {
68
+ "bnpl": [8],
69
+ "clientId": [1, "client-id"],
70
+ "accountId": [1, "account-id"],
71
+ "paymentMethodOption": [16, "payment-method-option"],
72
+ "isSelected": [4, "is-selected"],
73
+ "paymentAmount": [2, "payment-amount"],
74
+ "installmentPlan": [32],
75
+ "sezzleCheckout": [32],
76
+ "sezzlePromise": [32],
77
+ "resolvePaymentMethod": [64]
78
+ }]);
79
+ function defineCustomElement() {
80
+ if (typeof customElements === "undefined") {
81
+ return;
82
+ }
83
+ const components = ["justifi-sezzle-payment-method", "form-control-help-text", "form-control-radio"];
84
+ components.forEach(tagName => { switch (tagName) {
85
+ case "justifi-sezzle-payment-method":
86
+ if (!customElements.get(tagName)) {
87
+ customElements.define(tagName, SezzlePaymentMethod);
88
+ }
89
+ break;
90
+ case "form-control-help-text":
91
+ if (!customElements.get(tagName)) {
92
+ defineCustomElement$2();
93
+ }
94
+ break;
95
+ case "form-control-radio":
96
+ if (!customElements.get(tagName)) {
97
+ defineCustomElement$1();
98
+ }
99
+ break;
100
+ } });
101
+ }
102
+ defineCustomElement();
103
+
104
+ export { SezzlePaymentMethod as S, defineCustomElement as d };
@@ -44,7 +44,7 @@ const ShippingDetails = /*@__PURE__*/ proxyCustomElement(class ShippingDetails e
44
44
  }
45
45
  render() {
46
46
  var _a, _b, _c, _d, _e;
47
- return (h("div", { key: '9e142fde27da140959115d1acf4a64d7420f90ba' }, h("div", { key: 'bf322d6ec351e67bd4f3fdfec759e1f5c5d381a6', class: "row gy-3" }, h("div", { key: '165a55dc932d0110728c87726231d0cb4b962650', class: "col-12" }, h("h2", { key: '43f318effe869349595025a76ced5ea39093a0ef', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: '1de38ece17aa8b93cfc00858a4d495a950d46239', class: "col-12" }, h("form-control-text", { key: 'd9cfd173732a42abf831ee632ca05d3db78b7135', label: "Shipping Carrier Name", name: "shipping_carrier", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.shipping_carrier, inputHandler: this.inputHandler, errorText: this.errors.shipping_carrier })), h("div", { key: '5b298a18d97e06904c22c9a918c6f9ebc25f8219', class: "col-12" }, h("form-control-text", { key: 'c164c2bfc1772498f3e21c51e2979479021cf86d', label: "Tracking Number", name: "shipping_tracking_number", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.shipping_tracking_number, inputHandler: this.inputHandler, errorText: this.errors.shipping_tracking_number })), h("div", { key: '82128f9527e8061ecf2897af65d908af03c46bbe', class: "col-12" }, h("form-control-date", { key: '13e602a61a85978f129890423a36a95a8b055258', label: "Date Shipped", name: "shipping_date", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.shipping_date, inputHandler: this.inputHandler, errorText: this.errors.shipping_date })), h("div", { key: '5591510c56724f58567c88792cbbeb3cd15e1d0e', class: "col-12" }, h("form-control-textarea", { key: '1e7cbc326345feebd0ffae9b6ec56bfbc36a8193', label: "Shipping Address", name: "shipping_address", defaultValue: (_d = this.disputeResponse) === null || _d === void 0 ? void 0 : _d.shipping_address, inputHandler: this.inputHandler, errorText: this.errors.shipping_address })), h("div", { key: 'd2d1026fd1c7c3b32a6988fb940c431948630b08', class: "col-12" }, h("form-control-file-v2", { key: '21abf54f6a64980c73200ae89130626316917aa7', label: "Shipping Documentation", name: "shipping_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.shipping_documentation })))));
47
+ return (h("div", { key: '90641cea619de697d7a90e6e397790f79ceb9376' }, h("div", { key: '52d939e26bd26e99240d100897a530b89553e727', class: "row gy-3" }, h("div", { key: '01755fbca3430bd3066377e9481038370c49b2d8', class: "col-12" }, h("h2", { key: 'd273fbe6ff8b7815ba5c2369748a3a20548b0a4d', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: '595f4e63dff85591713a4c895acb6628c8ef8214', class: "col-12" }, h("form-control-text", { key: '958169d07544237a72facdc016d4d12ac64a4c48', label: "Shipping Carrier Name", name: "shipping_carrier", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.shipping_carrier, inputHandler: this.inputHandler, errorText: this.errors.shipping_carrier })), h("div", { key: '1d3020a30f95c5ced652871a635aba0152bbc4e3', class: "col-12" }, h("form-control-text", { key: '088af20353ec2efcb65a4e597a1fb4aec23cfcbb', label: "Tracking Number", name: "shipping_tracking_number", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.shipping_tracking_number, inputHandler: this.inputHandler, errorText: this.errors.shipping_tracking_number })), h("div", { key: '536ee74c42d326d7f7f698274c846bfebf0d34dd', class: "col-12" }, h("form-control-date", { key: '71ef44bd4c810a567162b7fe92199eceff9be470', label: "Date Shipped", name: "shipping_date", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.shipping_date, inputHandler: this.inputHandler, errorText: this.errors.shipping_date })), h("div", { key: '8887e0daf44be31486563e85cd989eef1da5f5ce', class: "col-12" }, h("form-control-textarea", { key: 'c34093bc4ee65f4fb092c377a98e01cd69bdbc7c', label: "Shipping Address", name: "shipping_address", defaultValue: (_d = this.disputeResponse) === null || _d === void 0 ? void 0 : _d.shipping_address, inputHandler: this.inputHandler, errorText: this.errors.shipping_address })), h("div", { key: '469a5d8c7e28fa2ad430f104f08f387448f70048', class: "col-12" }, h("form-control-file-v2", { key: 'a2b6c6c0c1cf32430582b97efe6bcc1d4c47147d', label: "Shipping Documentation", name: "shipping_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.shipping_documentation })))));
48
48
  }
49
49
  }, [0, "justifi-shipping-details", {
50
50
  "disputeResponse": [8, "dispute-response"],
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
2
  import { B as Button } from './button.js';
3
- import { a6 as dropdownMenuButton, a7 as dropdownMenu } from './parts.js';
3
+ import { a5 as dropdownMenuButton, a6 as dropdownMenu } from './parts.js';
4
4
  import { d as defineCustomElement$1 } from './custom-popper2.js';
5
5
 
6
6
  const hasFilters = (params) => {
@@ -29,7 +29,7 @@ const TableFiltersMenu = /*@__PURE__*/ proxyCustomElement(class TableFiltersMenu
29
29
  this.showClearButton = hasFilters(this.params);
30
30
  }
31
31
  render() {
32
- return (h("div", { key: 'e205ff268a099beae125bbe8a85a6ae5e34924af', class: "d-flex gap-2" }, h("div", { key: 'e61fcbc31cfa97093771ad99b1f4bc088a2a6b98', class: "dropdown pb-3" }, h("button", { key: '3c4425f10ebb39b011d2783c5ef88ebbd34b8e65', type: "button dropdown-toggle", ref: (el) => (this.anchorButton = el), class: "btn btn-primary dropdown-toggle", part: dropdownMenuButton, "data-test-id": "open-filters-button", "data-bs-toggle": "dropdown" }, "Filters"), h("custom-popper", { key: '03692eaae9d340c0f204f55e8c26b8353c4caa74', offset: [20, 10], strategy: "fixed", anchorRef: this.anchorButton, trigger: "click" }, h("form", { key: 'ed80b52e0cabbba44d09798b3b8bd4ab99d72659', class: "dropdown-menu", part: dropdownMenu, "data-test-id": "filter-menu", ref: (el) => (this.menu = el), onSubmit: (e) => e.preventDefault() }, h("slot", { key: '6cc0bf4f7fd5fa16b431b21933b36f75035221c7' })))), h("div", { key: '13f401ce7926aaf678021ed7dc768b967987b0ec' }, h(Button, { key: 'd6a16f4e5b31e5602d6729e39fccfa4dbfdd8336', variant: "secondary", onClick: () => this.clearParams(), hidden: !this.showClearButton, "data-test-id": "clear-filters-button" }, "Clear Filters"))));
32
+ return (h("div", { key: '73b213c0381a163e3ccd4b4df158daf8dc128d83', class: "d-flex gap-2" }, h("div", { key: '817823777638fc8501bb7230d0b061c110e4f82b', class: "dropdown pb-3" }, h("button", { key: '6ad7b2c32bfc44b836071db2706e86d649c5ccb3', type: "button dropdown-toggle", ref: (el) => (this.anchorButton = el), class: "btn btn-primary dropdown-toggle", part: dropdownMenuButton, "data-test-id": "open-filters-button", "data-bs-toggle": "dropdown" }, "Filters"), h("custom-popper", { key: '124ac66fe0be636f74009bdd07e392fa82fd943e', offset: [20, 10], strategy: "fixed", anchorRef: this.anchorButton, trigger: "click" }, h("form", { key: 'b1421bdd7f7318012dcbd280eab4d8aeabbfee8c', class: "dropdown-menu", part: dropdownMenu, "data-test-id": "filter-menu", ref: (el) => (this.menu = el), onSubmit: (e) => e.preventDefault() }, h("slot", { key: '7a251b4a2b2840f435d07605a6333b86180ab88e' })))), h("div", { key: '2badf2863bb80ef70508347049becdd0aec5196e' }, h(Button, { key: 'ee90184cb3aa0e7c4ff8d69cf299aef4fda114bd', variant: "secondary", onClick: () => this.clearParams(), hidden: !this.showClearButton, "data-test-id": "clear-filters-button" }, "Clear Filters"))));
33
33
  }
34
34
  static get watchers() { return {
35
35
  "params": ["watchParamsHandler"]
@@ -8,9 +8,8 @@ import './Checkout.js';
8
8
  import { p as pagingDefaults } from './Pagination.js';
9
9
  import './Payment.js';
10
10
  import { a as TerminalOrderType } from './Refund.js';
11
- import './Document.js';
12
11
  import './Business.js';
13
- import { n as tableHeadCell, a8 as getAlternateTableCellPart } from './parts.js';
12
+ import { n as tableHeadCell, a7 as getAlternateTableCellPart } from './parts.js';
14
13
  import { B as Badge, a as BadgeVariant } from './badge.js';
15
14
  import { o as onQueryParamsChange, g as getRequestParams } from './terminal-orders-list-params-state.js';
16
15
  import { d as defineCustomElement$1 } from './pagination-menu2.js';
@@ -167,7 +166,7 @@ const TerminalOrdersListCore = /*@__PURE__*/ proxyCustomElement(class TerminalOr
167
166
  return !this.showEmptyState && !this.showErrorState && !this.loading;
168
167
  }
169
168
  render() {
170
- return (h(TableWrapper, { key: 'aae9cc67cadd3989bfe35b4a029f6838e0d1ab54' }, h(TableComponent, { key: 'e5fe37a91442392ed811478fae42686abdd0f764' }, h(TableHead, { key: '7ec41066cd103cbc7846fd957ffb7fa3f6a92318' }, h(TableHeadRow, { key: '17291d4aa59ea50de7e2d1e6d302a4bea8c2989c' }, this.terminalOrdersTable.columnData.map((column) => column))), h(TableBody, { key: '020a2ce88efdb3223a02a01f5eeb2d5d743e1e29' }, h(TableLoadingState, { key: '8d104a25063bed6d617d0eda6cff9591ce9f81d2', columnSpan: this.terminalOrdersTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '1ff344e0a586b616fea6fda64c4f7a9b0071285a', isEmpty: this.showEmptyState, columnSpan: this.terminalOrdersTable.columnKeys.length }), h(TableErrorState, { key: '97dd1548d785d0c300f8fe48ebc3db906a1977c9', columnSpan: this.terminalOrdersTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalOrdersTable.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: '95b22129c05b799281992eb2656a94b012cdfdda' }, h(TableFootRow, { key: 'b17eaaf582cea7dc7732b0fedd3e5d013737111b' }, h(TableFootCell, { key: '1ec85f78971ed79021aa1eec527edc59c8dfbb09', colSpan: this.terminalOrdersTable.columnData.length }, h("pagination-menu", { key: '08c14ef23e528575927210859e7cd46f21c77d7c', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
169
+ return (h(TableWrapper, { key: '5d03d7f992d4918b6174d89aa67ac87159b0918d' }, h(TableComponent, { key: '30dfd6db82678f7c8e25ee03619403bf0a73ad47' }, h(TableHead, { key: '3e51fd3124abf93a1a76ac6d6b66ec64edf30216' }, h(TableHeadRow, { key: '170385237e96ba55aa21c954bff4f74a7724463b' }, this.terminalOrdersTable.columnData.map((column) => column))), h(TableBody, { key: 'c313d42ae1ad3f54a806f8965b8ff99616df85ab' }, h(TableLoadingState, { key: '7f01919e6120a497383990bafb8288fec806f421', columnSpan: this.terminalOrdersTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'e6585de336bb6cfe0f7bddc4bd503cf5632481da', isEmpty: this.showEmptyState, columnSpan: this.terminalOrdersTable.columnKeys.length }), h(TableErrorState, { key: '3490d034636506fdd54c748bff98596baed09673', columnSpan: this.terminalOrdersTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalOrdersTable.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: '52ba4b6e8c0d2afcded3feaaf6a22927036b96fa' }, h(TableFootRow, { key: '8fccd42dc633300f5e6664ff380c3828010ff6ec' }, h(TableFootCell, { key: '7937c9bceb54abe450e9b7956bd2599de228cc8b', colSpan: this.terminalOrdersTable.columnData.length }, h("pagination-menu", { key: '90854b93870cb20251488fd15e936982245c3d3b', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
171
170
  }
172
171
  static get watchers() { return {
173
172
  "pagingParams": ["updateOnPropChange"],