@justifi/webcomponents 5.7.4 → 5.7.6-rc-01

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (724) hide show
  1. package/dist/cjs/{Api-BTdkb3Zh.js → Api-c8NBCwu4.js} +1 -1
  2. package/dist/cjs/{ComponentError-C4MdBBMe.js → ComponentError-CEv9ltwy.js} +2 -0
  3. package/dist/cjs/{Refund-BFE-2OxN.js → Refund-Dt1CMUjx.js} +114 -8
  4. package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
  5. package/dist/cjs/{badge-sO_Hcamo.js → badge-DDksduwk.js} +1 -1
  6. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +9 -10
  7. package/dist/cjs/bank-account-form.cjs.entry.js +63 -0
  8. package/dist/cjs/business-details-core.cjs.entry.js +4 -4
  9. package/dist/cjs/{business.service-DNvLrr-n.js → business.service-W2PRAU9J.js} +3 -4
  10. package/dist/cjs/{button-CCZd8WSY.js → button-0HYMPryx.js} +1 -1
  11. package/dist/cjs/card-form.cjs.entry.js +71 -0
  12. package/dist/cjs/{check-pkg-version-BlUxyRaM.js → check-pkg-version-Dn-3Aibs.js} +4 -5
  13. package/dist/cjs/{checkout.service-Bx0RBq-I.js → checkout.service-XwOh98gt.js} +3 -4
  14. package/dist/cjs/checkout.store--pVCO0L1.js +37 -0
  15. package/dist/cjs/checkouts-list-core.cjs.entry.js +11 -12
  16. package/dist/cjs/{checkouts-list-params-state-fVsfZZ5G.js → checkouts-list-params-state-DZUKBmLC.js} +1 -1
  17. package/dist/cjs/{checkouts-table-C1Jv_A7m.js → checkouts-table-CrpOOe_e.js} +2 -2
  18. package/dist/cjs/{config-state-BTfJl-LU.js → config-state-Dz9bnWHg.js} +1 -1
  19. package/dist/cjs/{custom-popper_4.cjs.entry.js → custom-popper.cjs.entry.js} +3 -123
  20. package/dist/cjs/{dispute.service-DbUcp4sD.js → dispute.service-Dh82Wru1.js} +3 -4
  21. package/dist/cjs/form-alert_5.cjs.entry.js +1 -1
  22. package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
  23. package/dist/cjs/form-control-date.cjs.entry.js +4 -4
  24. package/dist/cjs/{form-control-error-text-DPDsFdAT.js → form-control-error-text-CVPYL0lE.js} +1 -1
  25. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
  26. package/dist/cjs/{form-control-help-text-CT5HzEnX.js → form-control-help-text-B3jRgfoa.js} +1 -1
  27. package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
  28. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +3 -3
  29. package/dist/cjs/form-control-monetary.cjs.entry.js +5 -5
  30. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +4 -4
  31. package/dist/cjs/form-control-number.cjs.entry.js +5 -5
  32. package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
  33. package/dist/cjs/form-control-select_3.cjs.entry.js +124 -0
  34. package/dist/cjs/{get-business-BJrtsomz.js → get-business-BiEc-jdH.js} +2 -2
  35. package/dist/cjs/{get-payment-details-C7Ezks0M.js → get-payment-details-W4PgTPkL.js} +4 -5
  36. package/dist/cjs/{get-payout-csv-CXEQkjDm.js → get-payout-csv-CdNRRH0t.js} +2 -2
  37. package/dist/cjs/{get-subaccounts-UpfFbDHH.js → get-subaccounts-D4woaGSs.js} +5 -6
  38. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +28 -9
  39. package/dist/cjs/{header-1--wdCXxjA.js → header-1-M-mc3bsa.js} +1 -1
  40. package/dist/cjs/{header-3-DxUQJ7TT.js → header-3-BnKbOjvz.js} +1 -1
  41. package/dist/cjs/{iframe-input.cjs.entry.js → hidden-input_2.cjs.entry.js} +112 -15
  42. package/dist/cjs/{index-DEMVrrsF.js → index-BCtVWU61.js} +1 -1
  43. package/dist/cjs/{index-2GwnTbNA.js → index-D5bL1DOi.js} +17 -7
  44. package/dist/cjs/{insurance-state-BmAF1Sef.js → insurance-state-BsGy_svD.js} +2 -2
  45. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +9 -9
  46. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +10 -11
  47. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +13 -16
  48. package/dist/cjs/justifi-bank-account-form_5.cjs.entry.js +277 -0
  49. package/dist/cjs/justifi-billing-form.cjs.entry.js +76 -0
  50. package/dist/cjs/justifi-business-details.cjs.entry.js +12 -13
  51. package/dist/cjs/justifi-business-form.cjs.entry.js +15 -16
  52. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
  53. package/dist/cjs/justifi-button_5.cjs.entry.js +322 -0
  54. package/dist/cjs/justifi-checkout.cjs.entry.js +84 -99
  55. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +14 -15
  56. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +16 -17
  57. package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
  58. package/dist/cjs/justifi-details.cjs.entry.js +2 -2
  59. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +2 -2
  60. package/dist/cjs/justifi-dispute-management.cjs.entry.js +11 -12
  61. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +16 -17
  62. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +10 -11
  63. package/dist/cjs/justifi-new-payment-method.cjs.entry.js +99 -0
  64. package/dist/cjs/justifi-order-terminals.cjs.entry.js +15 -16
  65. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +10 -11
  66. package/dist/cjs/justifi-payment-details.cjs.entry.js +12 -13
  67. package/dist/cjs/justifi-payment-method-options.cjs.entry.js +76 -0
  68. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +4 -4
  69. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +11 -12
  70. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +14 -15
  71. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +6 -6
  72. package/dist/cjs/justifi-payments-list.cjs.entry.js +15 -16
  73. package/dist/cjs/justifi-payout-details.cjs.entry.js +12 -13
  74. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +14 -15
  75. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +6 -6
  76. package/dist/cjs/justifi-payouts-list.cjs.entry.js +17 -18
  77. package/dist/cjs/justifi-refund-payment.cjs.entry.js +14 -15
  78. package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +32 -0
  79. package/dist/cjs/justifi-saved-payment-methods_2.cjs.entry.js +117 -0
  80. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +7 -7
  81. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +17 -20
  82. package/dist/cjs/justifi-skeleton.cjs.entry.js +17 -0
  83. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +9 -10
  84. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +13 -14
  85. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +8 -9
  86. package/dist/cjs/justifi-terminals-list.cjs.entry.js +15 -16
  87. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +18 -12
  88. package/dist/cjs/loader.cjs.js +2 -2
  89. package/dist/cjs/{package-v-c3ZR5a.js → package-ClqzRJoK.js} +1 -1
  90. package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
  91. package/dist/cjs/payment-details-core.cjs.entry.js +14 -14
  92. package/dist/cjs/payment-method-option-utils-imuSE7KV.js +25 -0
  93. package/dist/cjs/{payment-provisioning-actions-BkWSDJQQ.js → payment-provisioning-actions-SNMCdsyF.js} +2 -2
  94. package/dist/cjs/{payment.service-CVZgDrZw.js → payment.service-BrvtS3F7.js} +3 -4
  95. package/dist/cjs/payments-list-core.cjs.entry.js +12 -13
  96. package/dist/cjs/{payments-list-params-state-fVsfZZ5G.js → payments-list-params-state-DZUKBmLC.js} +1 -1
  97. package/dist/cjs/{payments-status-DPqU5v9h.js → payments-status-DG50GuXR.js} +2 -2
  98. package/dist/cjs/{payments-table-BM3AoAJf.js → payments-table-BqxFc71K.js} +2 -2
  99. package/dist/cjs/payout-details-core.cjs.entry.js +10 -10
  100. package/dist/cjs/{payout.service-D6kmeDsy.js → payout.service-DNH6gRrP.js} +3 -4
  101. package/dist/cjs/payouts-list-core.cjs.entry.js +12 -13
  102. package/dist/cjs/{payouts-list-params-state-fVsfZZ5G.js → payouts-list-params-state-DZUKBmLC.js} +1 -1
  103. package/dist/cjs/{payouts-status-CU8aqIhH.js → payouts-status-meuI7eBr.js} +2 -2
  104. package/dist/cjs/{payouts-table-1HL4kk9B.js → payouts-table-iT2IauEa.js} +2 -2
  105. package/dist/cjs/{skeleton-ByLavxr1.js → skeleton-CbZBGO47.js} +1 -1
  106. package/dist/cjs/{spinner-DOC4Ab7M.js → spinner-CIZFX7bz.js} +1 -1
  107. package/dist/cjs/{styled-host-IMxk64cc.js → styled-host-DXNHOiqW.js} +1 -1
  108. package/dist/cjs/{table-BgQP2M2-.js → table-CxvETNS1.js} +2 -2
  109. package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
  110. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +11 -12
  111. package/dist/cjs/{terminal-orders-list-params-state-fVsfZZ5G.js → terminal-orders-list-params-state-DZUKBmLC.js} +1 -1
  112. package/dist/cjs/{terminal-orders-table-CUOWHQ6V.js → terminal-orders-table-xi_a-EnM.js} +5 -6
  113. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
  114. package/dist/cjs/{terminal.service-BxRchD7X.js → terminal.service-CdzmTRQE.js} +3 -4
  115. package/dist/cjs/terminals-list-core.cjs.entry.js +11 -12
  116. package/dist/cjs/terminals-list-params-state-DZUKBmLC.js +22 -0
  117. package/dist/cjs/{terminals-table-yRGsrfBw.js → terminals-table-sf-s5v6D.js} +2 -2
  118. package/dist/cjs/{utils-l0veqT9y.js → utils-IGCnjtqc.js} +1 -1
  119. package/dist/cjs/{utils-bn0fXuc-.js → utils-wkdkLmDI.js} +1 -1
  120. package/dist/cjs/webcomponents.cjs.js +3 -3
  121. package/dist/collection/api/BillingInformation.js +1 -0
  122. package/dist/collection/api/Checkout.js +1 -3
  123. package/dist/collection/api/ComponentError.js +2 -0
  124. package/dist/collection/api/DisputeEvidenceDocument.js +4 -7
  125. package/dist/collection/api/Document.js +17 -8
  126. package/dist/collection/api/PaymentMethod.js +1 -0
  127. package/dist/collection/collection-manifest.json +14 -4
  128. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +2 -1
  129. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
  130. package/dist/collection/components/checkout/billing-form/billing-form-schema.js +2 -2
  131. package/dist/collection/components/checkout/billing-form/billing-form.js +2 -5
  132. package/dist/collection/components/checkout/card-form/card-form.js +2 -2
  133. package/dist/collection/components/checkout/checkout.js +158 -53
  134. package/dist/collection/components/checkout/new-payment-method.js +2 -2
  135. package/dist/collection/components/checkout/payment-method-options.js +18 -37
  136. package/dist/collection/components/checkout/save-new-payment-method.js +3 -1
  137. package/dist/collection/components/checkout/saved-payment-method.js +1 -1
  138. package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
  139. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
  140. package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
  141. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  142. package/dist/collection/components/dispute-management/dispute-management.js +1 -1
  143. package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
  144. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  145. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  146. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  147. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  148. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  149. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  150. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  151. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  152. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  153. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  154. package/dist/collection/components/filters/table-filters-menu.js +1 -1
  155. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  156. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +2 -2
  157. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +10 -13
  158. package/dist/collection/components/modular-checkout/modular-checkout.js +337 -0
  159. package/dist/collection/components/modular-checkout/sub-components/bank-account-skeleton.js +10 -0
  160. package/dist/collection/components/modular-checkout/sub-components/bank-account.js +98 -0
  161. package/dist/collection/components/modular-checkout/sub-components/billing-form-schema.js +21 -0
  162. package/dist/collection/components/modular-checkout/sub-components/billing-information-form.js +97 -0
  163. package/dist/collection/components/modular-checkout/sub-components/card-form-skeleton.js +10 -0
  164. package/dist/collection/components/modular-checkout/sub-components/card-form.js +102 -0
  165. package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +113 -0
  166. package/dist/collection/components/modular-checkout/sub-components/postal-code-form.js +124 -0
  167. package/dist/collection/components/modular-checkout/sub-components/saved-payment-methods.js +40 -0
  168. package/dist/collection/components/modular-checkout/sub-components/sezzle-payment-method.js +127 -0
  169. package/dist/collection/components/modular-checkout/sub-components/summary.js +12 -0
  170. package/dist/collection/components/order-terminals/order-terminals.js +1 -1
  171. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  172. package/dist/collection/components/payment-details/payment-details-core.js +8 -8
  173. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
  174. package/dist/collection/components/payments-list/payments-list-core.js +1 -1
  175. package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
  176. package/dist/collection/components/payments-list/payments-list.js +1 -1
  177. package/dist/collection/components/payout-details/payout-details-core.js +3 -3
  178. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +1 -1
  179. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  180. package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
  181. package/dist/collection/components/payouts-list/payouts-list.js +1 -1
  182. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
  183. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
  184. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
  185. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  186. package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
  187. package/dist/collection/components/terminals-list/terminals-list.js +1 -1
  188. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +10 -3
  189. package/dist/collection/store/checkout.store.js +32 -0
  190. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  191. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  192. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  193. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  194. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  195. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  196. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  197. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  198. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  199. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  200. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  201. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  202. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  203. package/dist/collection/ui-components/form/iframe-input.js +10 -5
  204. package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +176 -0
  205. package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +83 -0
  206. package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +108 -0
  207. package/dist/docs.json +1676 -873
  208. package/dist/esm/{Api-BNYhCiE2.js → Api-C3T8XYbb.js} +2 -2
  209. package/dist/esm/{ComponentError-SdntD1xf.js → ComponentError-BhrFjjAs.js} +2 -0
  210. package/dist/esm/{Payment-BGiKmQYR.js → Payment-00TwhwCx.js} +2 -2
  211. package/dist/esm/{Refund-DDIEc_gu.js → Refund-0aZtuMmz.js} +115 -10
  212. package/dist/esm/additional-questions-details_5.entry.js +4 -4
  213. package/dist/esm/{badge-C-nwyQ3h.js → badge-Dr7gkD2I.js} +2 -2
  214. package/dist/esm/bank-account-document-form-inputs_4.entry.js +12 -13
  215. package/dist/esm/bank-account-form.entry.js +61 -0
  216. package/dist/esm/business-details-core.entry.js +5 -5
  217. package/dist/esm/{business.service-DP2HUV0w.js → business.service-C5vrjgZf.js} +4 -5
  218. package/dist/esm/{button-BGlG9iX5.js → button-xfPDSpPt.js} +2 -2
  219. package/dist/esm/card-form.entry.js +69 -0
  220. package/dist/esm/{check-pkg-version-Dff5h73V.js → check-pkg-version-DZCwpP0g.js} +5 -6
  221. package/dist/esm/{checkout.service-DkTEFCSZ.js → checkout.service-CW2_CEte.js} +4 -5
  222. package/dist/esm/checkout.store-GXtlf5-4.js +34 -0
  223. package/dist/esm/checkouts-list-core.entry.js +14 -15
  224. package/dist/esm/{checkouts-list-params-state-DhPyCV-V.js → checkouts-list-params-state-DFWVMJRJ.js} +1 -1
  225. package/dist/esm/{checkouts-table-rhDm-zAB.js → checkouts-table-BHhaS5bv.js} +4 -4
  226. package/dist/esm/{config-state-BjXhUj2q.js → config-state-B3mtRA6f.js} +1 -1
  227. package/dist/esm/{custom-popper_4.entry.js → custom-popper.entry.js} +4 -121
  228. package/dist/esm/{dispute.service-CUcw-v4N.js → dispute.service-C3bmfjsZ.js} +4 -5
  229. package/dist/esm/form-alert_5.entry.js +2 -2
  230. package/dist/esm/form-control-checkbox.entry.js +6 -6
  231. package/dist/esm/form-control-date.entry.js +5 -5
  232. package/dist/esm/{form-control-error-text-CwJc1ShT.js → form-control-error-text-Cn0aPzHx.js} +2 -2
  233. package/dist/esm/form-control-file-v2_2.entry.js +6 -6
  234. package/dist/esm/{form-control-help-text-COx__-BM.js → form-control-help-text-C91TeHXs.js} +2 -2
  235. package/dist/esm/form-control-help-text.entry.js +1 -1
  236. package/dist/esm/form-control-monetary-provisioning.entry.js +4 -4
  237. package/dist/esm/form-control-monetary.entry.js +7 -7
  238. package/dist/esm/form-control-number-masked_2.entry.js +5 -5
  239. package/dist/esm/form-control-number.entry.js +6 -6
  240. package/dist/esm/form-control-radio.entry.js +4 -4
  241. package/dist/esm/form-control-select_3.entry.js +120 -0
  242. package/dist/esm/{get-business-GEPTefIj.js → get-business-BSRtbTh7.js} +2 -2
  243. package/dist/esm/{get-payment-details-Ea6HDOQH.js → get-payment-details-BdPvFl1W.js} +6 -7
  244. package/dist/esm/{get-payout-csv-D7IYYqVL.js → get-payout-csv-U_pgdPpb.js} +2 -2
  245. package/dist/esm/{get-subaccounts-DcHphsRK.js → get-subaccounts-BqqR44dV.js} +7 -8
  246. package/dist/esm/gross-payment-chart-core.entry.js +30 -11
  247. package/dist/esm/{header-1-Dj4_I_9S.js → header-1-noRVFQY9.js} +2 -2
  248. package/dist/esm/{header-3-CLoMDfp0.js → header-3-Bsi4loU1.js} +2 -2
  249. package/dist/esm/{iframe-input.entry.js → hidden-input_2.entry.js} +106 -10
  250. package/dist/esm/{index-Cf8VXyXg.js → index-BAq5IUBW.js} +1 -1
  251. package/dist/esm/{index-Bta_r52Z.js → index-N3w5zrz2.js} +17 -7
  252. package/dist/esm/{insurance-state-CUJP_TDB.js → insurance-state-pL8MRpxn.js} +4 -4
  253. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +12 -12
  254. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +13 -14
  255. package/dist/esm/justifi-additional-statement_8.entry.js +14 -17
  256. package/dist/esm/justifi-bank-account-form_5.entry.js +271 -0
  257. package/dist/esm/justifi-billing-form.entry.js +74 -0
  258. package/dist/esm/justifi-business-details.entry.js +15 -16
  259. package/dist/esm/justifi-business-form.entry.js +18 -19
  260. package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
  261. package/dist/esm/justifi-button_5.entry.js +316 -0
  262. package/dist/esm/justifi-checkout.entry.js +85 -100
  263. package/dist/esm/justifi-checkouts-list-filters.entry.js +11 -12
  264. package/dist/esm/justifi-checkouts-list.entry.js +18 -19
  265. package/dist/esm/justifi-config-provider.entry.js +3 -3
  266. package/dist/esm/justifi-details.entry.js +3 -3
  267. package/dist/esm/justifi-dispute-management-core.entry.js +2 -2
  268. package/dist/esm/justifi-dispute-management.entry.js +13 -14
  269. package/dist/esm/justifi-dispute-notification_3.entry.js +19 -20
  270. package/dist/esm/justifi-gross-payment-chart.entry.js +13 -14
  271. package/dist/esm/justifi-new-payment-method.entry.js +97 -0
  272. package/dist/esm/justifi-order-terminals.entry.js +18 -19
  273. package/dist/esm/justifi-owner-form_3.entry.js +13 -14
  274. package/dist/esm/justifi-payment-details.entry.js +15 -16
  275. package/dist/esm/justifi-payment-method-options.entry.js +74 -0
  276. package/dist/esm/justifi-payment-provisioning-core.entry.js +5 -5
  277. package/dist/esm/justifi-payment-provisioning.entry.js +13 -14
  278. package/dist/esm/justifi-payment-transactions-list.entry.js +17 -18
  279. package/dist/esm/justifi-payments-list-filters.entry.js +8 -8
  280. package/dist/esm/justifi-payments-list.entry.js +18 -19
  281. package/dist/esm/justifi-payout-details.entry.js +15 -16
  282. package/dist/esm/justifi-payout-transactions-list.entry.js +17 -18
  283. package/dist/esm/justifi-payouts-list-filters.entry.js +8 -8
  284. package/dist/esm/justifi-payouts-list.entry.js +20 -21
  285. package/dist/esm/justifi-refund-payment.entry.js +17 -18
  286. package/dist/esm/justifi-saved-payment-method.entry.js +30 -0
  287. package/dist/esm/justifi-saved-payment-methods_2.entry.js +114 -0
  288. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +9 -9
  289. package/dist/esm/justifi-season-interruption-insurance.entry.js +19 -22
  290. package/dist/esm/justifi-skeleton.entry.js +15 -0
  291. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +12 -13
  292. package/dist/esm/justifi-terminal-orders-list.entry.js +16 -17
  293. package/dist/esm/justifi-terminals-list-filters.entry.js +11 -12
  294. package/dist/esm/justifi-terminals-list.entry.js +18 -19
  295. package/dist/esm/justifi-tokenize-payment-method.entry.js +21 -15
  296. package/dist/esm/loader.js +3 -3
  297. package/dist/esm/{package-DzXsHdKv.js → package-BWmYRnrR.js} +1 -1
  298. package/dist/esm/pagination-menu.entry.js +2 -2
  299. package/dist/esm/{parts-BrLVc_85.js → parts-D3G5aVLy.js} +1 -1
  300. package/dist/esm/payment-details-core.entry.js +16 -16
  301. package/dist/esm/payment-method-option-utils-8n_ALxec.js +23 -0
  302. package/dist/esm/{payment-provisioning-actions-BIfyW239.js → payment-provisioning-actions-2qP7AtHj.js} +2 -2
  303. package/dist/esm/{payment.service-BBse35Bb.js → payment.service-CnQdP32J.js} +4 -5
  304. package/dist/esm/payments-list-core.entry.js +15 -16
  305. package/dist/esm/{payments-list-params-state-DhPyCV-V.js → payments-list-params-state-DFWVMJRJ.js} +1 -1
  306. package/dist/esm/{payments-status-CO0mZyxH.js → payments-status-DUM0WZkk.js} +2 -2
  307. package/dist/esm/{payments-table-BYmcN_eJ.js → payments-table-DVQzx7MJ.js} +4 -4
  308. package/dist/esm/payout-details-core.entry.js +12 -12
  309. package/dist/esm/{payout.service-DYk7xoLp.js → payout.service-EJuPNpfs.js} +4 -5
  310. package/dist/esm/payouts-list-core.entry.js +15 -16
  311. package/dist/esm/{payouts-list-params-state-DhPyCV-V.js → payouts-list-params-state-DFWVMJRJ.js} +1 -1
  312. package/dist/esm/{payouts-status-BqhlFWZJ.js → payouts-status-7saoFNoA.js} +2 -2
  313. package/dist/esm/{payouts-table-BoNMXUDt.js → payouts-table-dca-F2iQ.js} +4 -4
  314. package/dist/esm/{skeleton-D6agoQ_l.js → skeleton-C1-JoGFC.js} +2 -2
  315. package/dist/esm/{spinner-C8twYXzL.js → spinner-Ca9uu5Nd.js} +2 -2
  316. package/dist/esm/{styled-host-BSX_LSdk.js → styled-host-DtvbNFVU.js} +1 -1
  317. package/dist/esm/table-filters-menu.entry.js +4 -4
  318. package/dist/esm/{table-BzdzS7PI.js → table-fsCYq8m9.js} +3 -3
  319. package/dist/esm/terminal-orders-list-core.entry.js +14 -15
  320. package/dist/esm/{terminal-orders-list-params-state-DhPyCV-V.js → terminal-orders-list-params-state-DFWVMJRJ.js} +1 -1
  321. package/dist/esm/{terminal-orders-table-BxZFOqli.js → terminal-orders-table-BNasCnjz.js} +8 -9
  322. package/dist/esm/terminal-quantity-selector.entry.js +3 -3
  323. package/dist/esm/{terminal.service-WIpzxBkU.js → terminal.service-Cfacmeto.js} +4 -5
  324. package/dist/esm/terminals-list-core.entry.js +14 -15
  325. package/dist/esm/terminals-list-params-state-DFWVMJRJ.js +16 -0
  326. package/dist/esm/{terminals-table-DVreYpwc.js → terminals-table-DBk-eg_3.js} +4 -4
  327. package/dist/esm/{utils-Dccsn9BY.js → utils-BZvep88z.js} +1 -1
  328. package/dist/esm/{utils-DB5fh6Iv.js → utils-BjLkBMLe.js} +1 -1
  329. package/dist/esm/{utils-DGozGJLI.js → utils-CNwvOLkk.js} +2 -2
  330. package/dist/esm/webcomponents.js +4 -4
  331. package/dist/module/{check-pkg-version.js → Analytics.js} +22 -23
  332. package/dist/module/Payment.js +1 -1
  333. package/dist/module/Refund.js +136 -9
  334. package/dist/module/additional-statement.js +1 -1
  335. package/dist/module/bank-account-document-inputs.js +1 -2
  336. package/dist/module/bank-account-form.js +83 -1
  337. package/dist/module/{bank-account-form2.js → bank-account.js} +25 -8
  338. package/dist/module/billing-form-schema.js +24 -0
  339. package/dist/module/billing-form.js +28 -22
  340. package/dist/module/billing-information-form.js +97 -0
  341. package/dist/module/business-additional-questions-form-step.js +1 -1
  342. package/dist/module/business-address-schema.js +1 -1
  343. package/dist/module/business-bank-account-form-step-core.js +4 -4
  344. package/dist/module/business-bank-account-form-step.js +1 -2
  345. package/dist/module/business-core-info-form-step.js +1 -1
  346. package/dist/module/business-core-info-schema.js +1 -1
  347. package/dist/module/business-identity-schema.js +1 -1
  348. package/dist/module/business-owners-form-step.js +1 -1
  349. package/dist/module/business-representative-form-step.js +1 -1
  350. package/dist/module/business-terms-conditions-form-step.js +1 -2
  351. package/dist/module/business.service.js +1 -2
  352. package/dist/module/cancellation-policy.js +1 -1
  353. package/dist/module/card-form.js +91 -1
  354. package/dist/module/card-form2.js +27 -10
  355. package/dist/module/checkout.service.js +1 -2
  356. package/dist/module/checkout.store.js +34 -0
  357. package/dist/module/checkouts-list-core2.js +3 -4
  358. package/dist/module/custom-popper2.js +2 -2
  359. package/dist/module/customer-details.js +1 -1
  360. package/dist/module/dispute-management-core.js +1 -1
  361. package/dist/module/dispute-notification.js +1 -1
  362. package/dist/module/dispute-response-actions.js +1 -2
  363. package/dist/module/dispute-response-core.js +1 -1
  364. package/dist/module/dispute-response.js +3 -3
  365. package/dist/module/duplicate-charge.js +1 -1
  366. package/dist/module/electronic-evidence.js +1 -1
  367. package/dist/module/file-input-handler.js +4 -7
  368. package/dist/module/form-control-checkbox2.js +2 -2
  369. package/dist/module/form-control-date2.js +2 -2
  370. package/dist/module/form-control-file-v22.js +1 -1
  371. package/dist/module/form-control-file2.js +2 -2
  372. package/dist/module/form-control-monetary2.js +2 -2
  373. package/dist/module/form-control-number-masked2.js +2 -2
  374. package/dist/module/form-control-number.js +2 -2
  375. package/dist/module/form-control-radio2.js +2 -2
  376. package/dist/module/form-control-select2.js +2 -2
  377. package/dist/module/form-control-text2.js +2 -2
  378. package/dist/module/form-control-textarea2.js +2 -2
  379. package/dist/module/get-business.js +1 -1
  380. package/dist/module/get-payment-details.js +2 -3
  381. package/dist/module/get-payout-csv.js +1 -1
  382. package/dist/module/get-subaccounts.js +1 -2
  383. package/dist/module/gross-payment-chart-core2.js +25 -6
  384. package/dist/module/header-2.js +8 -0
  385. package/dist/module/header-3.js +8 -0
  386. package/dist/module/hidden-input2.js +1 -1
  387. package/dist/module/iframe-input2.js +5 -5
  388. package/dist/module/insurance-state.js +1 -7
  389. package/dist/module/justifi-bank-account-form.d.ts +11 -0
  390. package/dist/module/justifi-bank-account-form.js +6 -0
  391. package/dist/module/justifi-billing-information-form.d.ts +11 -0
  392. package/dist/module/justifi-billing-information-form.js +6 -0
  393. package/dist/module/justifi-business-details.js +2 -2
  394. package/dist/module/justifi-business-form.js +2 -3
  395. package/dist/module/{justifi-checkout-core.d.ts → justifi-button.d.ts} +4 -4
  396. package/dist/module/justifi-button.js +6 -0
  397. package/dist/module/justifi-button2.js +41 -0
  398. package/dist/module/justifi-card-form.d.ts +11 -0
  399. package/dist/module/justifi-card-form.js +6 -0
  400. package/dist/module/justifi-checkout-summary.d.ts +11 -0
  401. package/dist/module/justifi-checkout-summary.js +6 -0
  402. package/dist/module/justifi-checkout.js +146 -132
  403. package/dist/module/justifi-checkouts-list-filters.js +3 -4
  404. package/dist/module/justifi-checkouts-list.js +3 -4
  405. package/dist/module/justifi-dispute-management.js +3 -3
  406. package/dist/module/justifi-gross-payment-chart.js +2 -3
  407. package/dist/module/justifi-header.d.ts +11 -0
  408. package/dist/module/justifi-header.js +6 -0
  409. package/dist/module/justifi-header2.js +43 -0
  410. package/dist/module/justifi-modular-checkout.d.ts +11 -0
  411. package/dist/module/justifi-modular-checkout.js +6 -0
  412. package/dist/module/justifi-new-payment-method.js +214 -1
  413. package/dist/module/justifi-order-terminals.js +3 -4
  414. package/dist/module/justifi-payment-details.js +2 -2
  415. package/dist/module/justifi-payment-provisioning.js +2 -3
  416. package/dist/module/justifi-payment-transactions-list.js +4 -5
  417. package/dist/module/justifi-payments-list-filters.js +3 -3
  418. package/dist/module/justifi-payments-list.js +4 -5
  419. package/dist/module/justifi-payout-details.js +2 -3
  420. package/dist/module/justifi-payout-transactions-list.js +4 -5
  421. package/dist/module/justifi-payouts-list-filters.js +3 -3
  422. package/dist/module/justifi-payouts-list.js +3 -4
  423. package/dist/module/justifi-postal-code-form.d.ts +11 -0
  424. package/dist/module/justifi-postal-code-form.js +6 -0
  425. package/dist/module/justifi-refund-payment.js +2 -3
  426. package/dist/module/justifi-saved-payment-method.js +57 -1
  427. package/dist/module/justifi-saved-payment-methods.d.ts +11 -0
  428. package/dist/module/justifi-saved-payment-methods.js +6 -0
  429. package/dist/module/justifi-season-interruption-insurance.js +11 -15
  430. package/dist/module/justifi-skeleton.d.ts +11 -0
  431. package/dist/module/justifi-skeleton.js +39 -0
  432. package/dist/module/justifi-terminal-orders-list-filters.js +4 -5
  433. package/dist/module/justifi-terminal-orders-list.js +3 -4
  434. package/dist/module/justifi-terminals-list-filters.js +3 -4
  435. package/dist/module/justifi-terminals-list.js +3 -4
  436. package/dist/module/justifi-tokenize-payment-method.js +18 -84
  437. package/dist/module/legal-address-form-step.js +1 -1
  438. package/dist/module/modular-checkout.js +278 -0
  439. package/dist/module/package.js +3 -3
  440. package/dist/module/parts.js +1 -1
  441. package/dist/module/payment-details-core2.js +8 -8
  442. package/dist/module/payment-method-option-utils.js +23 -0
  443. package/dist/module/payment-method-option.d.ts +11 -0
  444. package/dist/module/payment-method-option.js +6 -0
  445. package/dist/module/payment-method-option2.js +50 -0
  446. package/dist/module/payment-method-options.js +23 -113
  447. package/dist/module/payment-provisioning-actions.js +1 -1
  448. package/dist/module/payment-provisioning-core.js +1 -1
  449. package/dist/module/payment.service.js +1 -2
  450. package/dist/module/payments-list-core2.js +3 -4
  451. package/dist/module/payout-details-core2.js +3 -3
  452. package/dist/module/payout.service.js +1 -2
  453. package/dist/module/payouts-list-core2.js +3 -4
  454. package/dist/module/postal-code-form.js +93 -0
  455. package/dist/module/product-or-service.js +1 -1
  456. package/dist/module/refund-policy.js +1 -1
  457. package/dist/module/save-new-payment-method.js +6 -2
  458. package/dist/module/saved-payment-methods.js +72 -0
  459. package/dist/module/schema-validations.js +1 -1
  460. package/dist/module/season-interruption-insurance-core.js +4 -3
  461. package/dist/module/sezzle-payment-method.js +23 -17
  462. package/dist/module/shipping-details.js +1 -1
  463. package/dist/module/summary.js +34 -0
  464. package/dist/module/table-filters-menu2.js +2 -2
  465. package/dist/module/terminal-orders-list-core2.js +3 -4
  466. package/dist/module/terminal-quantity-selector2.js +1 -1
  467. package/dist/module/terminal.service.js +1 -2
  468. package/dist/module/terminals-list-core2.js +3 -4
  469. package/dist/module/utils4.js +1 -1
  470. package/dist/types/api/BillingInformation.d.ts +13 -0
  471. package/dist/types/api/Checkout.d.ts +15 -13
  472. package/dist/types/api/ComponentError.d.ts +3 -1
  473. package/dist/types/api/DisputeEvidenceDocument.d.ts +1 -1
  474. package/dist/types/api/Document.d.ts +2 -2
  475. package/dist/types/api/PaymentMethod.d.ts +21 -0
  476. package/dist/types/components/checkout/billing-form/billing-form-schema.d.ts +4 -4
  477. package/dist/types/components/checkout/checkout.d.ts +30 -11
  478. package/dist/types/components/checkout/payment-method-options.d.ts +2 -2
  479. package/dist/types/components/insurance/season-interruption/season-interruption-insurance.d.ts +2 -2
  480. package/dist/types/components/modular-checkout/modular-checkout.d.ts +31 -0
  481. package/dist/types/components/modular-checkout/sub-components/bank-account-skeleton.d.ts +6 -0
  482. package/dist/types/components/modular-checkout/sub-components/bank-account.d.ts +18 -0
  483. package/dist/types/components/modular-checkout/sub-components/billing-form-schema.d.ts +23 -0
  484. package/dist/types/components/modular-checkout/sub-components/billing-information-form.d.ts +18 -0
  485. package/dist/types/components/modular-checkout/sub-components/card-form-skeleton.d.ts +6 -0
  486. package/dist/types/components/modular-checkout/sub-components/card-form.d.ts +20 -0
  487. package/dist/types/components/modular-checkout/sub-components/payment-method-option.d.ts +8 -0
  488. package/dist/types/components/modular-checkout/sub-components/postal-code-form.d.ts +19 -0
  489. package/dist/types/components/modular-checkout/sub-components/saved-payment-methods.d.ts +7 -0
  490. package/dist/types/components/{checkout → modular-checkout/sub-components}/sezzle-payment-method.d.ts +3 -9
  491. package/dist/types/components/modular-checkout/sub-components/summary.d.ts +3 -0
  492. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +2 -2
  493. package/dist/types/components.d.ts +290 -73
  494. package/dist/types/store/checkout.store.d.ts +25 -0
  495. package/dist/types/ui-components/form/iframe-input.d.ts +2 -1
  496. package/dist/types/ui-components/shadow-dom-components/justifi-button.d.ts +13 -0
  497. package/dist/types/ui-components/shadow-dom-components/justifi-skeleton.d.ts +10 -0
  498. package/dist/webcomponents/p-00d7c2e6.entry.js +1 -0
  499. package/dist/webcomponents/p-03e9a98c.entry.js +1 -0
  500. package/dist/webcomponents/p-05c604d2.entry.js +1 -0
  501. package/dist/webcomponents/p-05fc864a.entry.js +1 -0
  502. package/dist/webcomponents/{p-7a254093.entry.js → p-0890869b.entry.js} +6 -6
  503. package/dist/webcomponents/p-09c24135.entry.js +1 -0
  504. package/dist/webcomponents/p-0f511cc1.entry.js +1 -0
  505. package/dist/webcomponents/p-100008fa.entry.js +1 -0
  506. package/dist/webcomponents/p-18b941d3.entry.js +1 -0
  507. package/dist/webcomponents/p-19308a1b.entry.js +1 -0
  508. package/dist/webcomponents/p-1a7942f7.entry.js +1 -0
  509. package/dist/webcomponents/{p-DmLTJr3R.js → p-1adN6FVa.js} +1 -1
  510. package/dist/webcomponents/p-1bddf354.entry.js +1 -0
  511. package/dist/webcomponents/p-26bf2fda.entry.js +1 -0
  512. package/dist/webcomponents/p-2b154f45.entry.js +1 -0
  513. package/dist/webcomponents/p-2d3949f7.entry.js +1 -0
  514. package/dist/webcomponents/{p-9be5b03a.entry.js → p-2f482f5b.entry.js} +1 -1
  515. package/dist/webcomponents/{p-3ddaea2d.entry.js → p-326f4860.entry.js} +1 -1
  516. package/dist/webcomponents/p-33936fa9.entry.js +1 -0
  517. package/dist/webcomponents/p-359b8f54.entry.js +1 -0
  518. package/dist/webcomponents/p-37aeeeee.entry.js +1 -0
  519. package/dist/webcomponents/p-40da517f.entry.js +1 -0
  520. package/dist/webcomponents/p-4887bcb3.entry.js +1 -0
  521. package/dist/webcomponents/p-4d23e69a.entry.js +1 -0
  522. package/dist/webcomponents/p-4f744286.entry.js +1 -0
  523. package/dist/webcomponents/{p-ded52cad.entry.js → p-50bfec55.entry.js} +1 -1
  524. package/dist/webcomponents/p-54406229.entry.js +1 -0
  525. package/dist/webcomponents/p-5d145701.entry.js +1 -0
  526. package/dist/webcomponents/p-5d84207a.entry.js +1 -0
  527. package/dist/webcomponents/p-5e813b93.entry.js +1 -0
  528. package/dist/webcomponents/p-64e9570d.entry.js +1 -0
  529. package/dist/webcomponents/{p-d144c5e5.entry.js → p-683630d0.entry.js} +1 -1
  530. package/dist/webcomponents/p-6bd83369.entry.js +1 -0
  531. package/dist/webcomponents/p-73afde1b.entry.js +1 -0
  532. package/dist/webcomponents/p-73bbd71c.entry.js +1 -0
  533. package/dist/webcomponents/p-74f78a4e.entry.js +1 -0
  534. package/dist/webcomponents/p-771cc1c2.entry.js +1 -0
  535. package/dist/webcomponents/{p-0c13f2da.entry.js → p-7a8a06d6.entry.js} +1 -1
  536. package/dist/webcomponents/p-7c456c10.entry.js +1 -0
  537. package/dist/webcomponents/{p-454d5cab.entry.js → p-7d2de2d4.entry.js} +1 -1
  538. package/dist/webcomponents/{p-27a7ba0d.entry.js → p-7e9832b3.entry.js} +1 -1
  539. package/dist/webcomponents/p-810cad17.entry.js +1 -0
  540. package/dist/webcomponents/p-831f3ba3.entry.js +1 -0
  541. package/dist/webcomponents/{p-1d59c747.entry.js → p-84df9f26.entry.js} +1 -1
  542. package/dist/webcomponents/p-8590d6f2.entry.js +1 -0
  543. package/dist/webcomponents/p-86c28849.entry.js +1 -0
  544. package/dist/webcomponents/p-8bfc5384.entry.js +1 -0
  545. package/dist/webcomponents/p-91a2707a.entry.js +1 -0
  546. package/dist/webcomponents/p-9348a7c8.entry.js +1 -0
  547. package/dist/webcomponents/p-967c3374.entry.js +1 -0
  548. package/dist/webcomponents/p-99f03f4b.entry.js +1 -0
  549. package/dist/webcomponents/{p-BnE7qgLh.js → p-9REosSLu.js} +1 -1
  550. package/dist/webcomponents/p-9b0417b5.entry.js +1 -0
  551. package/dist/webcomponents/p-9c27f87f.entry.js +1 -0
  552. package/dist/webcomponents/p-B9ROmZzw.js +1 -0
  553. package/dist/webcomponents/{p-vTsHmSQQ.js → p-BCPBc18Y.js} +1 -1
  554. package/dist/webcomponents/p-BSW9VS7r.js +1 -0
  555. package/dist/webcomponents/p-BSexQ2qc.js +1 -0
  556. package/dist/webcomponents/p-BWmYRnrR.js +1 -0
  557. package/dist/webcomponents/p-Bc5u1WjM.js +1 -0
  558. package/dist/webcomponents/p-BhrFjjAs.js +1 -0
  559. package/dist/webcomponents/p-BjQrbohd.js +1 -0
  560. package/dist/webcomponents/p-BqK0rIZQ.js +1 -0
  561. package/dist/webcomponents/p-BtT7kqMw.js +1 -0
  562. package/dist/webcomponents/p-BxWsrx5h.js +1 -0
  563. package/dist/webcomponents/{p-BTS3E50C.js → p-BxfUcCXo.js} +1 -1
  564. package/dist/webcomponents/p-By9Lz2e0.js +1 -0
  565. package/dist/webcomponents/p-CEp46FZK.js +1 -0
  566. package/dist/webcomponents/p-CKRDBISo.js +1 -0
  567. package/dist/webcomponents/p-CMNxLEJP.js +1 -0
  568. package/dist/webcomponents/p-CXLazxt0.js +1 -0
  569. package/dist/webcomponents/p-CZItg0Yo.js +1 -0
  570. package/dist/webcomponents/{p-CBs671Ol.js → p-CfBKn_Vl.js} +1 -1
  571. package/dist/webcomponents/p-Cjf9yu8r.js +1 -0
  572. package/dist/webcomponents/p-CuHQZh6C.js +1 -0
  573. package/dist/webcomponents/p-Cwt_9Jzb.js +1 -0
  574. package/dist/webcomponents/{p-BrLVc_85.js → p-D3G5aVLy.js} +1 -1
  575. package/dist/webcomponents/p-D7WGjeDy.js +1 -0
  576. package/dist/webcomponents/{p-DOb1iL29.js → p-DAVX1-sW.js} +1 -1
  577. package/dist/webcomponents/{p-CgSKeuxa.js → p-DAoffYFW.js} +1 -1
  578. package/dist/webcomponents/{p-C-78OQ89.js → p-DDpc1huF.js} +1 -1
  579. package/dist/webcomponents/{p-BjDSEZvx.js → p-DHvfrLVU.js} +1 -1
  580. package/dist/webcomponents/p-DIDbcp63.js +1 -0
  581. package/dist/webcomponents/p-DKClunJd.js +1 -0
  582. package/dist/webcomponents/p-DUqRxn4Y.js +1 -0
  583. package/dist/webcomponents/p-DbcOhajT.js +1 -0
  584. package/dist/webcomponents/{p-D3BIZZrc.js → p-Dcbfnfn2.js} +1 -1
  585. package/dist/webcomponents/{p-CEqUppok.js → p-Dh6FEdp8.js} +1 -1
  586. package/dist/webcomponents/p-DhAmsAOH.js +1 -0
  587. package/dist/webcomponents/p-DoEkFs2i.js +1 -0
  588. package/dist/webcomponents/p-DvXSA0b0.js +1 -0
  589. package/dist/webcomponents/p-N3w5zrz2.js +2 -0
  590. package/dist/webcomponents/p-NqdaxjDT.js +1 -0
  591. package/dist/webcomponents/p-a05062d8.entry.js +1 -0
  592. package/dist/webcomponents/p-a2f0d61c.entry.js +1 -0
  593. package/dist/webcomponents/p-a95741ee.entry.js +1 -0
  594. package/dist/webcomponents/p-ab55ba10.entry.js +1 -0
  595. package/dist/webcomponents/p-ad78a564.entry.js +1 -0
  596. package/dist/webcomponents/p-ad99a022.entry.js +1 -0
  597. package/dist/webcomponents/p-b193bf46.entry.js +1 -0
  598. package/dist/webcomponents/p-c851fc9e.entry.js +1 -0
  599. package/dist/webcomponents/{p-a7f5262a.entry.js → p-cb7c712f.entry.js} +1 -1
  600. package/dist/webcomponents/{p-9e7c8e33.entry.js → p-d3f438ca.entry.js} +1 -1
  601. package/dist/webcomponents/p-d59aabe1.entry.js +1 -0
  602. package/dist/webcomponents/p-d6602c92.entry.js +1 -0
  603. package/dist/webcomponents/p-d7f62287.entry.js +1 -0
  604. package/dist/webcomponents/p-ddc9fc4f.entry.js +1 -0
  605. package/dist/webcomponents/p-e151b970.entry.js +1 -0
  606. package/dist/webcomponents/{p-ba7c7025.entry.js → p-e48a2d25.entry.js} +1 -1
  607. package/dist/webcomponents/p-e8c3ea67.entry.js +1 -0
  608. package/dist/webcomponents/p-eba620cd.entry.js +1 -0
  609. package/dist/webcomponents/p-ecdda6e6.entry.js +1 -0
  610. package/dist/webcomponents/p-f5d12ae3.entry.js +1 -0
  611. package/dist/webcomponents/{p-BC1KMlPG.js → p-fUv1jFAw.js} +1 -1
  612. package/dist/webcomponents/p-m2jmX-Hz.js +1 -0
  613. package/dist/webcomponents/{p-BEDtXmpq.js → p-o5iASgog.js} +1 -1
  614. package/dist/webcomponents/p-pGzabKc7.js +1 -0
  615. package/dist/webcomponents/p-sT4o5vru.js +1 -0
  616. package/dist/webcomponents/p-w128-0Mj.js +1 -0
  617. package/dist/webcomponents/p-ys9CWfNG.js +1 -0
  618. package/dist/webcomponents/p-zucQG3cz.js +1 -0
  619. package/dist/webcomponents/webcomponents.esm.js +1 -1
  620. package/package.json +1 -1
  621. package/dist/cjs/Checkout-TZnRz3-3.js +0 -103
  622. package/dist/cjs/bank-account-form_9.cjs.entry.js +0 -581
  623. package/dist/cjs/iframe-input-styles-state-BJ9xnomM.js +0 -26
  624. package/dist/cjs/justifi-checkout-core.cjs.entry.js +0 -142
  625. package/dist/cjs/terminals-list-params-state-fVsfZZ5G.js +0 -22
  626. package/dist/collection/components/checkout/checkout-core.js +0 -454
  627. package/dist/collection/components/checkout/sezzle-payment-method.js +0 -240
  628. package/dist/esm/Checkout-B9LrTq63.js +0 -101
  629. package/dist/esm/bank-account-form_9.entry.js +0 -571
  630. package/dist/esm/iframe-input-styles-state-CfSmDqfA.js +0 -23
  631. package/dist/esm/justifi-checkout-core.entry.js +0 -140
  632. package/dist/esm/terminals-list-params-state-DhPyCV-V.js +0 -16
  633. package/dist/module/Checkout.js +0 -121
  634. package/dist/module/checkout-core.js +0 -274
  635. package/dist/module/justifi-checkout-core.js +0 -6
  636. package/dist/module/new-payment-method.js +0 -204
  637. package/dist/module/saved-payment-method.js +0 -79
  638. package/dist/types/components/checkout/checkout-core.d.ts +0 -49
  639. package/dist/webcomponents/p--B09FkmB.js +0 -1
  640. package/dist/webcomponents/p-08b3ec57.entry.js +0 -1
  641. package/dist/webcomponents/p-0b28597b.entry.js +0 -1
  642. package/dist/webcomponents/p-0b52d1dd.entry.js +0 -1
  643. package/dist/webcomponents/p-0b964616.entry.js +0 -1
  644. package/dist/webcomponents/p-186a25e3.entry.js +0 -1
  645. package/dist/webcomponents/p-234c0b0a.entry.js +0 -1
  646. package/dist/webcomponents/p-297b4a1a.entry.js +0 -1
  647. package/dist/webcomponents/p-299c215b.entry.js +0 -1
  648. package/dist/webcomponents/p-2GKzt6ql.js +0 -1
  649. package/dist/webcomponents/p-39236b05.entry.js +0 -1
  650. package/dist/webcomponents/p-3af7b1ee.entry.js +0 -1
  651. package/dist/webcomponents/p-41ce682a.entry.js +0 -1
  652. package/dist/webcomponents/p-4bf6f767.entry.js +0 -1
  653. package/dist/webcomponents/p-59a2ccdb.entry.js +0 -1
  654. package/dist/webcomponents/p-68425065.entry.js +0 -1
  655. package/dist/webcomponents/p-69e8b394.entry.js +0 -1
  656. package/dist/webcomponents/p-6ab28931.entry.js +0 -1
  657. package/dist/webcomponents/p-6f08cc3e.entry.js +0 -1
  658. package/dist/webcomponents/p-74412d52.entry.js +0 -1
  659. package/dist/webcomponents/p-77957f7f.entry.js +0 -1
  660. package/dist/webcomponents/p-7db9f780.entry.js +0 -1
  661. package/dist/webcomponents/p-7fbdaa8a.entry.js +0 -1
  662. package/dist/webcomponents/p-86112ed3.entry.js +0 -1
  663. package/dist/webcomponents/p-863d53ef.entry.js +0 -1
  664. package/dist/webcomponents/p-8a62bc7a.entry.js +0 -1
  665. package/dist/webcomponents/p-8b02e43a.entry.js +0 -1
  666. package/dist/webcomponents/p-8f354461.entry.js +0 -1
  667. package/dist/webcomponents/p-90d36a2f.entry.js +0 -1
  668. package/dist/webcomponents/p-959d5f08.entry.js +0 -1
  669. package/dist/webcomponents/p-972531a2.entry.js +0 -1
  670. package/dist/webcomponents/p-99ff608b.entry.js +0 -1
  671. package/dist/webcomponents/p-9bb3ccba.entry.js +0 -1
  672. package/dist/webcomponents/p-9ef53bb1.entry.js +0 -1
  673. package/dist/webcomponents/p-AW4YV_IW.js +0 -1
  674. package/dist/webcomponents/p-B2ts3XP0.js +0 -1
  675. package/dist/webcomponents/p-BBEApkWm.js +0 -1
  676. package/dist/webcomponents/p-BERbc4aX.js +0 -1
  677. package/dist/webcomponents/p-BLm_qZkx.js +0 -1
  678. package/dist/webcomponents/p-BoGb-Wsw.js +0 -1
  679. package/dist/webcomponents/p-Bta_r52Z.js +0 -2
  680. package/dist/webcomponents/p-C26QVwoo.js +0 -1
  681. package/dist/webcomponents/p-C5RuuShs.js +0 -1
  682. package/dist/webcomponents/p-C6qAZgXn.js +0 -1
  683. package/dist/webcomponents/p-CDTncSrX.js +0 -1
  684. package/dist/webcomponents/p-CNv7zeGM.js +0 -1
  685. package/dist/webcomponents/p-CU_goaUQ.js +0 -1
  686. package/dist/webcomponents/p-CbGBEkk3.js +0 -1
  687. package/dist/webcomponents/p-Co9WxzRf.js +0 -1
  688. package/dist/webcomponents/p-Cs0cIpIm.js +0 -1
  689. package/dist/webcomponents/p-DPUXZApk.js +0 -1
  690. package/dist/webcomponents/p-DbhOyu_u.js +0 -1
  691. package/dist/webcomponents/p-DcwpS5VC.js +0 -1
  692. package/dist/webcomponents/p-DgPQlpzy.js +0 -1
  693. package/dist/webcomponents/p-DnX5CZFd.js +0 -1
  694. package/dist/webcomponents/p-DniQ6yo6.js +0 -1
  695. package/dist/webcomponents/p-DzFysjCc.js +0 -1
  696. package/dist/webcomponents/p-DzXsHdKv.js +0 -1
  697. package/dist/webcomponents/p-EVfmZi89.js +0 -1
  698. package/dist/webcomponents/p-SdntD1xf.js +0 -1
  699. package/dist/webcomponents/p-UyFPa3Jb.js +0 -1
  700. package/dist/webcomponents/p-a1860b96.entry.js +0 -1
  701. package/dist/webcomponents/p-ae62bc55.entry.js +0 -1
  702. package/dist/webcomponents/p-am93SGf-.js +0 -1
  703. package/dist/webcomponents/p-b2086753.entry.js +0 -1
  704. package/dist/webcomponents/p-b3de3312.entry.js +0 -1
  705. package/dist/webcomponents/p-b4da0e31.entry.js +0 -1
  706. package/dist/webcomponents/p-bd387500.entry.js +0 -1
  707. package/dist/webcomponents/p-c3b8c25f.entry.js +0 -1
  708. package/dist/webcomponents/p-c5f3f2cc.entry.js +0 -1
  709. package/dist/webcomponents/p-c60219ba.entry.js +0 -1
  710. package/dist/webcomponents/p-caa90e8c.entry.js +0 -1
  711. package/dist/webcomponents/p-d44c7900.entry.js +0 -1
  712. package/dist/webcomponents/p-df044e50.entry.js +0 -1
  713. package/dist/webcomponents/p-e0c8e41a.entry.js +0 -1
  714. package/dist/webcomponents/p-e8a1dbe2.entry.js +0 -1
  715. package/dist/webcomponents/p-ef930355.entry.js +0 -1
  716. package/dist/webcomponents/p-f4aa30b8.entry.js +0 -1
  717. package/dist/webcomponents/p-f7c23a96.entry.js +0 -1
  718. package/dist/webcomponents/p-f9510372.entry.js +0 -1
  719. package/dist/webcomponents/p-fe8938ba.entry.js +0 -1
  720. package/dist/webcomponents/p-iPHDHB_q.js +0 -1
  721. package/dist/webcomponents/p-lfLAtTgJ.js +0 -1
  722. package/dist/webcomponents/p-n0Sbmvzb.js +0 -1
  723. package/dist/webcomponents/p-oE-E7kjN.js +0 -1
  724. package/dist/webcomponents/p-uLUlLQpP.js +0 -1
@@ -0,0 +1,102 @@
1
+ import { h } from "@stencil/core";
2
+ import CardFormSkeleton from "./card-form-skeleton";
3
+ import { StyledHost } from "../../../ui-components";
4
+ import JustifiAnalytics from "../../../api/Analytics";
5
+ import { checkPkgVersion } from "../../../utils/check-pkg-version";
6
+ import { configState, waitForConfig } from "../../config-provider/config-state";
7
+ export class JustifiCardForm {
8
+ constructor() {
9
+ this.isReady = false;
10
+ }
11
+ async componentWillLoad() {
12
+ await waitForConfig();
13
+ this.iframeOrigin = configState.iframeOrigin;
14
+ checkPkgVersion();
15
+ this.analytics = new JustifiAnalytics(this);
16
+ }
17
+ componentDidRender() {
18
+ const elements = [
19
+ this.cardNumberIframeElement,
20
+ this.expirationMonthIframeElement,
21
+ this.expirationYearIframeElement,
22
+ this.cvvIframeElement,
23
+ ];
24
+ Promise.all(elements.map((element) => {
25
+ return new Promise((resolve) => {
26
+ element.addEventListener('iframeLoaded', () => { resolve(); });
27
+ });
28
+ })).then(() => {
29
+ this.isReady = true;
30
+ });
31
+ }
32
+ disconnectedCallback() {
33
+ var _a;
34
+ (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
35
+ }
36
+ async validate() {
37
+ const cardNumberIsValid = await this.cardNumberIframeElement.validate();
38
+ const expirationMonthIsValid = await this.expirationMonthIframeElement.validate();
39
+ const expirationYearIsValid = await this.expirationYearIframeElement.validate();
40
+ const cvvIsValid = await this.cvvIframeElement.validate();
41
+ return cardNumberIsValid && expirationMonthIsValid && expirationYearIsValid && cvvIsValid;
42
+ }
43
+ async tokenize({ clientId, paymentMethodMetadata, account, }) {
44
+ return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
45
+ }
46
+ render() {
47
+ return (h(StyledHost, { key: '2c4ec015f537508bc875aaf6e3d527cd4f39eec6' }, h(CardFormSkeleton, { key: '064b3dab1b506c3332c753233b1893b36d36d42a', isReady: this.isReady }), h("hidden-input", { key: 'cb74f8ef5c6c437c3ff2c763b2b3f7a9f7732c13' }), h("div", { key: '7c688141ed3e96b032fc6f96a170cd4be09a65e5', class: "container-fluid p-0", style: {
48
+ opacity: this.isReady ? '1' : '0',
49
+ height: this.isReady ? 'auto' : '0',
50
+ } }, h("div", { key: '2722c8d805cc4767bf58cb70c5be4815e8bc09ee', class: "mb-3" }, h("iframe-input", { key: '428df22cc9075d737c5aec2520596ae774adde1e', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: '292ae9746f3dd219ced19be33f6900fa00bfb4b1', class: "row" }, h("div", { key: '2e825c02e676a30e873f6f119aa6521e49ac7051', class: "col-4 align-content-end" }, h("iframe-input", { key: '4a9ddbf248fdabcc6da0fb405e95c906717a91ab', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: 'a500314664b746c6947107021e32d04790000865', class: "col-4 align-content-end" }, h("iframe-input", { key: '995c9294a85c8da8b9e314646c93c700a54e7310', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: 'b0a7d1f9df2a2fba165d3cae93b542da80cec77c', class: "col-4 align-content-end" }, h("iframe-input", { key: '3adfeccdfc31745b972bf7d040aaf0e5d55fbfb3', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
51
+ }
52
+ static get is() { return "justifi-card-form"; }
53
+ static get encapsulation() { return "shadow"; }
54
+ static get states() {
55
+ return {
56
+ "isReady": {},
57
+ "iframeOrigin": {}
58
+ };
59
+ }
60
+ static get methods() {
61
+ return {
62
+ "validate": {
63
+ "complexType": {
64
+ "signature": "() => Promise<any>",
65
+ "parameters": [],
66
+ "references": {
67
+ "Promise": {
68
+ "location": "global",
69
+ "id": "global::Promise"
70
+ }
71
+ },
72
+ "return": "Promise<any>"
73
+ },
74
+ "docs": {
75
+ "text": "",
76
+ "tags": []
77
+ }
78
+ },
79
+ "tokenize": {
80
+ "complexType": {
81
+ "signature": "({ clientId, paymentMethodMetadata, account, }: { clientId: string; paymentMethodMetadata: any; account?: string; }) => Promise<any>",
82
+ "parameters": [{
83
+ "name": "__0",
84
+ "type": "{ clientId: string; paymentMethodMetadata: any; account?: string; }",
85
+ "docs": ""
86
+ }],
87
+ "references": {
88
+ "Promise": {
89
+ "location": "global",
90
+ "id": "global::Promise"
91
+ }
92
+ },
93
+ "return": "Promise<any>"
94
+ },
95
+ "docs": {
96
+ "text": "",
97
+ "tags": []
98
+ }
99
+ }
100
+ };
101
+ }
102
+ }
@@ -0,0 +1,113 @@
1
+ import { h } from "@stencil/core";
2
+ import { radioListItem } from "../../../styles/parts";
3
+ import { StyledHost } from "../../../ui-components";
4
+ export class PaymentMethodOption {
5
+ render() {
6
+ return (h(StyledHost, { key: 'bef445cfdd80c24e9b005f503cf4913ceac4eae8', class: "payment-method" }, h("div", { key: 'af292fe29e32858371b7a41fb3d1b983a33d4cc0', class: "radio-list-item p-3", part: radioListItem, onClick: this.clickHandler, hidden: this.radioButtonHidden }, h("form-control-radio", { key: '7f3e0ea48a5a8d9b655e1f8609065b7de06386eb', name: "paymentMethodType", value: this.paymentMethodOptionId, checked: this.isSelected, label: this.label }))));
7
+ }
8
+ static get is() { return "payment-method-option"; }
9
+ static get encapsulation() { return "shadow"; }
10
+ static get properties() {
11
+ return {
12
+ "paymentMethodOptionId": {
13
+ "type": "string",
14
+ "attribute": "payment-method-option-id",
15
+ "mutable": false,
16
+ "complexType": {
17
+ "original": "string",
18
+ "resolved": "string",
19
+ "references": {}
20
+ },
21
+ "required": false,
22
+ "optional": false,
23
+ "docs": {
24
+ "tags": [],
25
+ "text": ""
26
+ },
27
+ "getter": false,
28
+ "setter": false,
29
+ "reflect": false
30
+ },
31
+ "isSelected": {
32
+ "type": "boolean",
33
+ "attribute": "is-selected",
34
+ "mutable": false,
35
+ "complexType": {
36
+ "original": "boolean",
37
+ "resolved": "boolean",
38
+ "references": {}
39
+ },
40
+ "required": false,
41
+ "optional": false,
42
+ "docs": {
43
+ "tags": [],
44
+ "text": ""
45
+ },
46
+ "getter": false,
47
+ "setter": false,
48
+ "reflect": false
49
+ },
50
+ "clickHandler": {
51
+ "type": "unknown",
52
+ "attribute": "click-handler",
53
+ "mutable": false,
54
+ "complexType": {
55
+ "original": "(event: MouseEvent) => void",
56
+ "resolved": "(event: MouseEvent) => void",
57
+ "references": {
58
+ "MouseEvent": {
59
+ "location": "global",
60
+ "id": "global::MouseEvent"
61
+ }
62
+ }
63
+ },
64
+ "required": false,
65
+ "optional": false,
66
+ "docs": {
67
+ "tags": [],
68
+ "text": ""
69
+ },
70
+ "getter": false,
71
+ "setter": false
72
+ },
73
+ "radioButtonHidden": {
74
+ "type": "boolean",
75
+ "attribute": "radio-button-hidden",
76
+ "mutable": false,
77
+ "complexType": {
78
+ "original": "boolean",
79
+ "resolved": "boolean",
80
+ "references": {}
81
+ },
82
+ "required": false,
83
+ "optional": false,
84
+ "docs": {
85
+ "tags": [],
86
+ "text": ""
87
+ },
88
+ "getter": false,
89
+ "setter": false,
90
+ "reflect": false
91
+ },
92
+ "label": {
93
+ "type": "string",
94
+ "attribute": "label",
95
+ "mutable": false,
96
+ "complexType": {
97
+ "original": "string",
98
+ "resolved": "string",
99
+ "references": {}
100
+ },
101
+ "required": false,
102
+ "optional": false,
103
+ "docs": {
104
+ "tags": [],
105
+ "text": ""
106
+ },
107
+ "getter": false,
108
+ "setter": false,
109
+ "reflect": false
110
+ }
111
+ };
112
+ }
113
+ }
@@ -0,0 +1,124 @@
1
+ import { h } from "@stencil/core";
2
+ import { StyledHost } from "../../../ui-components";
3
+ import { numberOnlyHandler } from "../../../ui-components/form/utils";
4
+ import { FormController } from "../../../ui-components/form/form";
5
+ import { billingFormSchema } from "./billing-form-schema";
6
+ import { onChange } from "../../../store/checkout.store";
7
+ export class PostalCodeForm {
8
+ constructor() {
9
+ this.errors = {};
10
+ this.inputHandler = (name, value) => {
11
+ this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { [name]: value }));
12
+ };
13
+ }
14
+ connectedCallback() {
15
+ this.unsubscribe = onChange('billingFormFields', (newValue) => {
16
+ this.formController.setInitialValues(newValue);
17
+ });
18
+ }
19
+ disconnectedCallback() {
20
+ var _a;
21
+ (_a = this.unsubscribe) === null || _a === void 0 ? void 0 : _a.call(this);
22
+ }
23
+ componentWillLoad() {
24
+ this.formController = new FormController(billingFormSchema(true));
25
+ }
26
+ componentDidLoad() {
27
+ this.formController.values.subscribe(values => this.billingInfo = Object.assign({}, values));
28
+ this.formController.errors.subscribe(errors => {
29
+ this.errors = Object.assign({}, errors);
30
+ });
31
+ }
32
+ async getValues() {
33
+ return this.formController.values.getValue();
34
+ }
35
+ async fill(fields) {
36
+ this.formController.setInitialValues(fields);
37
+ }
38
+ async validate() {
39
+ let isValid = await this.formController.validate();
40
+ return { isValid: isValid };
41
+ }
42
+ render() {
43
+ const billingFormDefaultValue = this.formController.getInitialValues();
44
+ return (h(StyledHost, { key: 'bc2746672b9bcb986f658f69c53ded47f78165e2' }, h("form", { key: '9a2642233487802aa55c0a0a548f277e252517d3' }, h("form-control-text", { key: 'ff3f4e10ebe6a278bbe0671691128a058e8ada8b', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: numberOnlyHandler }))));
45
+ }
46
+ static get is() { return "justifi-postal-code-form"; }
47
+ static get encapsulation() { return "shadow"; }
48
+ static get states() {
49
+ return {
50
+ "formController": {},
51
+ "billingInfo": {},
52
+ "errors": {}
53
+ };
54
+ }
55
+ static get methods() {
56
+ return {
57
+ "getValues": {
58
+ "complexType": {
59
+ "signature": "() => Promise<BillingFormFields>",
60
+ "parameters": [],
61
+ "references": {
62
+ "Promise": {
63
+ "location": "global",
64
+ "id": "global::Promise"
65
+ },
66
+ "BillingFormFields": {
67
+ "location": "import",
68
+ "path": "./billing-form-schema",
69
+ "id": "src/components/modular-checkout/sub-components/billing-form-schema.ts::BillingFormFields"
70
+ }
71
+ },
72
+ "return": "Promise<BillingFormFields>"
73
+ },
74
+ "docs": {
75
+ "text": "",
76
+ "tags": []
77
+ }
78
+ },
79
+ "fill": {
80
+ "complexType": {
81
+ "signature": "(fields: BillingFormFields) => Promise<void>",
82
+ "parameters": [{
83
+ "name": "fields",
84
+ "type": "BillingFormFields",
85
+ "docs": ""
86
+ }],
87
+ "references": {
88
+ "Promise": {
89
+ "location": "global",
90
+ "id": "global::Promise"
91
+ },
92
+ "BillingFormFields": {
93
+ "location": "import",
94
+ "path": "./billing-form-schema",
95
+ "id": "src/components/modular-checkout/sub-components/billing-form-schema.ts::BillingFormFields"
96
+ }
97
+ },
98
+ "return": "Promise<void>"
99
+ },
100
+ "docs": {
101
+ "text": "",
102
+ "tags": []
103
+ }
104
+ },
105
+ "validate": {
106
+ "complexType": {
107
+ "signature": "() => Promise<{ isValid: boolean; }>",
108
+ "parameters": [],
109
+ "references": {
110
+ "Promise": {
111
+ "location": "global",
112
+ "id": "global::Promise"
113
+ }
114
+ },
115
+ "return": "Promise<{ isValid: boolean; }>"
116
+ },
117
+ "docs": {
118
+ "text": "",
119
+ "tags": []
120
+ }
121
+ }
122
+ };
123
+ }
124
+ }
@@ -0,0 +1,40 @@
1
+ import { h } from "@stencil/core";
2
+ import { StyledHost } from "../../../ui-components";
3
+ import { checkoutStore } from "../../../store/checkout.store";
4
+ import { radioListItem } from "../../../styles/parts";
5
+ import { CardBrandLabels } from "../../checkout/payment-method-option-utils";
6
+ export class SavedPaymentMethods {
7
+ constructor() {
8
+ this.onPaymentMethodOptionClick = (paymentMethodId) => (e) => {
9
+ e.preventDefault();
10
+ checkoutStore.selectedPaymentMethod = paymentMethodId;
11
+ };
12
+ this.isAllowedPaymentMethod = (paymentMethod) => {
13
+ if (paymentMethod.type === 'card' && checkoutStore.disableCreditCard) {
14
+ return false;
15
+ }
16
+ if (paymentMethod.type === 'bank_account' && checkoutStore.disableBankAccount) {
17
+ return false;
18
+ }
19
+ return true;
20
+ };
21
+ }
22
+ componentWillLoad() {
23
+ if (!checkoutStore.paymentMethods.length) {
24
+ console.warn('No saved payment methods available.');
25
+ }
26
+ if (checkoutStore.disablePaymentMethodGroup) {
27
+ console.warn('Payment method group is disabled.');
28
+ }
29
+ }
30
+ render() {
31
+ if (checkoutStore.disablePaymentMethodGroup) {
32
+ return null;
33
+ }
34
+ return (h(StyledHost, null, h("div", { class: "saved-payment-methods" }, checkoutStore.paymentMethods.length ? checkoutStore.paymentMethods
35
+ .filter(this.isAllowedPaymentMethod)
36
+ .map((paymentMethod) => (h("div", { class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick(paymentMethod === null || paymentMethod === void 0 ? void 0 : paymentMethod.id) }, h("form-control-radio", { name: "paymentMethodType", value: paymentMethod === null || paymentMethod === void 0 ? void 0 : paymentMethod.id, checked: checkoutStore.selectedPaymentMethod === (paymentMethod === null || paymentMethod === void 0 ? void 0 : paymentMethod.id), label: `${CardBrandLabels[paymentMethod === null || paymentMethod === void 0 ? void 0 : paymentMethod.brand] || ''} *${paymentMethod === null || paymentMethod === void 0 ? void 0 : paymentMethod.acct_last_four}` })))) : null)));
37
+ }
38
+ static get is() { return "justifi-saved-payment-methods"; }
39
+ static get encapsulation() { return "shadow"; }
40
+ }
@@ -0,0 +1,127 @@
1
+ import { h } from "@stencil/core";
2
+ import { formatCurrency } from "../../../utils/utils";
3
+ import { radioListItem } from "../../../styles/parts";
4
+ import { checkoutStore } from "../../../store/checkout.store";
5
+ import { StyledHost } from "../../../ui-components";
6
+ const sezzleLogo = (h("img", { class: "sezzle-smart-button-logo-img", src: "https://media.sezzle.com/branding/2.0/Sezzle_Logo_FullColor.svg", alt: "Sezzle", style: {
7
+ display: 'inline',
8
+ width: '80px',
9
+ marginLeft: '5px',
10
+ marginTop: '-5px',
11
+ } }));
12
+ export class SezzlePaymentMethod {
13
+ constructor() {
14
+ this.paymentMethodOptionId = 'sezzle';
15
+ this.onPaymentMethodOptionClick = (e) => {
16
+ e.preventDefault();
17
+ checkoutStore.selectedPaymentMethod = this.paymentMethodOptionId;
18
+ this.paymentMethodOptionSelected.emit(this.paymentMethodOptionId);
19
+ };
20
+ this.initializeSezzleCheckout = () => {
21
+ let resolveSezzlePromise;
22
+ this.sezzlePromise = new Promise((resolve) => { resolveSezzlePromise = resolve; });
23
+ const amount = Number(checkoutStore.paymentAmount);
24
+ const Checkout = window.Checkout;
25
+ const checkout = new Checkout({
26
+ mode: 'popup',
27
+ publicKey: checkoutStore.bnplProviderClientId,
28
+ apiMode: checkoutStore.bnplProviderMode,
29
+ apiVersion: checkoutStore.bnplProviderApiVersion,
30
+ });
31
+ checkout.sezzleButtonElement = this.sezzleButtonRef;
32
+ checkout.init({
33
+ onClick: function (event) {
34
+ event.preventDefault();
35
+ checkout.startCheckout({
36
+ checkout_url: checkoutStore.bnplProviderCheckoutUrl,
37
+ });
38
+ },
39
+ onComplete: (event) => resolveSezzlePromise({ bnpl: event.data }),
40
+ onCancel: (event) => resolveSezzlePromise({ bnpl: event.data }),
41
+ onFailure: (event) => resolveSezzlePromise({ bnpl: event.data }),
42
+ });
43
+ this.sezzleCheckout = checkout;
44
+ this.installmentPlan = this.sezzleCheckout.getInstallmentPlan(amount);
45
+ };
46
+ }
47
+ componentDidRender() {
48
+ if (!this.scriptRef)
49
+ return;
50
+ this.scriptRef.onload = () => {
51
+ this.sezzleButtonRef = document.createElement('button');
52
+ this.initializeSezzleCheckout();
53
+ };
54
+ }
55
+ async resolvePaymentMethod(insuranceValidation) {
56
+ if (!insuranceValidation.isValid) {
57
+ return { validationError: true };
58
+ }
59
+ this.sezzleButtonRef.click();
60
+ return this.sezzlePromise;
61
+ }
62
+ render() {
63
+ var _a, _b;
64
+ if (!checkoutStore.bnplEnabled || checkoutStore.disableBnpl) {
65
+ console.warn('justifi-sezzle-payment-method: BNPL is not enabled for this account.');
66
+ return null;
67
+ }
68
+ return (h(StyledHost, { class: "payment-method" }, h("script", { src: "https://checkout-sdk.sezzle.com/checkout.min.js", async: true, ref: (el) => (this.scriptRef = el) }), h("div", { class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick }, h("form-control-radio", { name: "paymentMethodType", value: this.paymentMethodOptionId, checked: checkoutStore.selectedPaymentMethod === this.paymentMethodOptionId, label: h("div", null, h("div", null, "Buy now, pay later with ", sezzleLogo), this.installmentPlan && (h("small", null, h("span", null, (_a = this.installmentPlan) === null || _a === void 0 ? void 0 : _a.installments.length), "\u00A0", h("span", null, this.installmentPlan.schedule, " payments of"), "\u00A0", h("span", { class: "fw-bold" }, formatCurrency((_b = this.installmentPlan) === null || _b === void 0 ? void 0 : _b.installments[0].amountInCents))))) }))));
69
+ }
70
+ static get is() { return "justifi-sezzle-payment-method"; }
71
+ static get encapsulation() { return "shadow"; }
72
+ static get states() {
73
+ return {
74
+ "installmentPlan": {},
75
+ "sezzleCheckout": {},
76
+ "sezzlePromise": {}
77
+ };
78
+ }
79
+ static get events() {
80
+ return [{
81
+ "method": "paymentMethodOptionSelected",
82
+ "name": "paymentMethodOptionSelected",
83
+ "bubbles": true,
84
+ "cancelable": true,
85
+ "composed": true,
86
+ "docs": {
87
+ "tags": [],
88
+ "text": ""
89
+ },
90
+ "complexType": {
91
+ "original": "any",
92
+ "resolved": "any",
93
+ "references": {}
94
+ }
95
+ }];
96
+ }
97
+ static get methods() {
98
+ return {
99
+ "resolvePaymentMethod": {
100
+ "complexType": {
101
+ "signature": "(insuranceValidation: any) => Promise<PaymentMethodPayload>",
102
+ "parameters": [{
103
+ "name": "insuranceValidation",
104
+ "type": "any",
105
+ "docs": ""
106
+ }],
107
+ "references": {
108
+ "Promise": {
109
+ "location": "global",
110
+ "id": "global::Promise"
111
+ },
112
+ "PaymentMethodPayload": {
113
+ "location": "import",
114
+ "path": "../../checkout/payment-method-payload",
115
+ "id": "src/components/checkout/payment-method-payload.ts::PaymentMethodPayload"
116
+ }
117
+ },
118
+ "return": "Promise<PaymentMethodPayload>"
119
+ },
120
+ "docs": {
121
+ "text": "",
122
+ "tags": []
123
+ }
124
+ }
125
+ };
126
+ }
127
+ }
@@ -0,0 +1,12 @@
1
+ import { h } from "@stencil/core";
2
+ import { text } from "../../../styles/parts";
3
+ import { formatCurrency } from "../../../utils/utils";
4
+ import { checkoutStore } from "../../../store/checkout.store";
5
+ import { StyledHost } from "../../../ui-components";
6
+ export class Summary {
7
+ render() {
8
+ return (h(StyledHost, { key: '9057314b14d664a53f9027fe8931c9e06d40da06' }, h("section", { key: '7f9d83b6684b0e12b8ac2f77980a46a8645bf9eb' }, h("div", { key: 'dec6d2cfc844ea84c8b2ed432ff158336accf753' }, h("div", { key: 'a70a972e3dcdad849602dcc701a945c065711a8a', part: text }, checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.paymentDescription), h("div", { key: 'cb2836ddfecd765399d596156cafeb2eec8e65eb' }, h("span", { key: '9578966828d25390357d15a0b20348a39b30ab4f', part: text }, "Total"), "\u00A0", h("span", { key: '00643561d4e300539f43b970e4e31bc387d6e307', part: text }, formatCurrency(+(checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.totalAmount))))))));
9
+ }
10
+ static get is() { return "justifi-checkout-summary"; }
11
+ static get encapsulation() { return "shadow"; }
12
+ }
@@ -126,7 +126,7 @@ export class OrderTerminals {
126
126
  return (h("div", { class: "mt-3" }, h("div", { class: "text-end" }, "Order limit: ", this.orderLimit), h("div", { class: "d-flex justify-content-end mt-3" }, h("button", { class: "btn btn-primary submit-btn", onClick: this.submitOrder.bind(this), disabled: this.order.totalQuantity === 0 || this.submitting, part: buttonPrimary }, this.submitting ? 'Submitting...' : this.submitButtonText))));
127
127
  }
128
128
  render() {
129
- return (h(StyledHost, { key: '95d4b374036e4713216ce61e87571a607b8c3f0a' }, h("div", { key: '3e57b055db0d1bf26b9eb38a78fa57493afd3af3', part: text }, this.renderLoading(), this.renderBusinessDetails(), this.renderTerminals(), this.renderOrderSection())));
129
+ return (h(StyledHost, { key: '01b1a2a01294f88b7c31fc3d9523351f2a0eabfa' }, h("div", { key: '61cb9b199e9741aae879a8db3174c0c0078b59b5', part: text }, this.renderLoading(), this.renderBusinessDetails(), this.renderTerminals(), this.renderOrderSection())));
130
130
  }
131
131
  static get is() { return "justifi-order-terminals"; }
132
132
  static get encapsulation() { return "shadow"; }
@@ -18,7 +18,7 @@ export class TerminalQuantitySelector {
18
18
  };
19
19
  }
20
20
  render() {
21
- return (h("div", { key: '5bbf669ab479523290b2d8a9f5b6ec2000ff0f96', class: "rounded shadow-sm card p-2", part: card }, h("div", { key: '47ead96654c97aeae6b24058a4f7759918d3d0ad', class: "d-flex gap-3" }, h("div", { key: '3763eda68e7849c87f0e67b905e09267c10481c8', class: "d-flex align-items-center" }, h("img", { key: 'ef0a61d5c1d27c600fd93813b594ec2ec2fadec3', src: this.imageUrl, alt: this.modelName, height: 75, width: 75, part: image })), h("div", { key: '5a632f69e2045fbfcd35932af3c5fd027dcca66f', class: "d-flex flex-column flex-grow-1 gap-3 p-4 justify-content-center" }, h("div", { key: 'be00d142f07945a15e882d2da4c505ffbf67fe88', class: "row" }, h("div", { key: '1c434628ae872d22efa7d2adb611b04868c85eb1', class: "col-6 d-flex gap-2" }, this.modelName, h("form-control-tooltip", { key: '21f571a1b0e5ba7d528727f6476e134b9657e124', helpText: this.description })), h("div", { key: 'f4077bfa6beb4f0070bdbf4bd28021f88bcaf5b1', class: "col-6 d-flex justify-content-end align-items-center" }, h("button", { key: '7dc6853fb7641b99a9a9ee82dcb3db8fce1d6c01', class: "p-0 minus btn", onClick: this.removeUnit, part: buttonLink }, "-"), h("div", { key: 'faab14e72773f12f69ea69e855bafb27ef3328b8', class: "w-25 text-center" }, this.selectedQuantity), h("button", { key: '390e6b4b049fa64e2b7354a3676621844291feb0', class: "p-0 plus btn", onClick: this.addUnit, part: buttonLink }, "+")))))));
21
+ return (h("div", { key: 'c125f46ce70ffb47ef60aae54dd6e98600bc54ba', class: "rounded shadow-sm card p-2", part: card }, h("div", { key: '6837368dec422a7d4a049edac76da09243de2d80', class: "d-flex gap-3" }, h("div", { key: '11c09e2822156c68544fd4ef83b23455d96042f9', class: "d-flex align-items-center" }, h("img", { key: '75e151b275779cbbfd04829235f5c475bef9ae53', src: this.imageUrl, alt: this.modelName, height: 75, width: 75, part: image })), h("div", { key: '719e0529b756ba4c2b781d29027ab22be80d8e0a', class: "d-flex flex-column flex-grow-1 gap-3 p-4 justify-content-center" }, h("div", { key: '3127a99862476f58bb3b2d5ced9a8816a40c41e9', class: "row" }, h("div", { key: 'b8c3fe406409be25c52506bdd1a87ad13d508a42', class: "col-6 d-flex gap-2" }, this.modelName, h("form-control-tooltip", { key: '2f7d0b822f986af9313cfe3b542f3935c1414ecd', helpText: this.description })), h("div", { key: 'b20893a20241a2e46e2e9f8ab61b7acc53b6789b', class: "col-6 d-flex justify-content-end align-items-center" }, h("button", { key: '14ef7edc22a547dbba9f634802bf7eba2f702d6f', class: "p-0 minus btn", onClick: this.removeUnit, part: buttonLink }, "-"), h("div", { key: '87e8177f0faac786c076be1a6dcbcdae1978ec37', class: "w-25 text-center" }, this.selectedQuantity), h("button", { key: 'feba738f127cb66a8b04a4448d1870f0ba102282', class: "p-0 plus btn", onClick: this.addUnit, part: buttonLink }, "+")))))));
22
22
  }
23
23
  static get is() { return "terminal-quantity-selector"; }
24
24
  static get properties() {
@@ -38,16 +38,16 @@ export class PaymentDetailsCore {
38
38
  });
39
39
  }
40
40
  render() {
41
- return (h(StyledHost, { key: 'db2d2ec374cf0743db6bfe43e0b8f77572e9cdfd' }, this.loading && h(PaymentDetailsLoading, { key: 'c5b7481c55723d7ab8eb9b8001efadfe33c82532' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
42
- this.payment && (h("justifi-details", { key: 'cbbd4166213c49a85c70fab920024f876394a24b', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '645552490a3d5115af19d4b3ff3d5dc80b9d3038', slot: "head-info", badge: (h("div", { class: "d-flex gap-1" }, MapPaymentStatusToBadge(this.payment.status), this.payment.expedited ? (h(Badge, { variant: BadgeVariant.WARNING, title: "Expedited", text: "Expedited" })) : null)), title: this.payment.formattedPaymentAmount(this.payment.amount) }, h(EntityHeadInfoItem, { key: '968b2420a648b0c12753dbae1ea966ba0ecd4b5e', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payment.updated_at)} ${formatTime(this.payment.updated_at)}` }), h(EntityHeadInfoItem, { key: '056a4d72223eba4225ec6fa3f52c028be21d3fbe', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payment.created_at)} ${formatTime(this.payment.created_at)}` }), h(EntityHeadInfoItem, { key: '8a010c36e237479a318dd6d03026a9b36fc78eab', title: "ID", value: this.payment.id })), h("div", { key: 'fbbb9dd12d129fd589228f23eef25ad2d048e5ba', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '51a4d8bdc3e66c17dabb77cbdcf06cd3cfdbe7e8', sectionTitle: "Details" }), h("div", { key: 'ce03ec8c368f24487ca5cf267dcc0237b4637595', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '35b94e984c638b461a26156acb08cf1647a065e4', title: "Amount", value: this.payment.formattedPaymentAmount(this.payment.amount) }), h(DetailItem, { key: '5398feb78b40735d773889c57517de8784f043f0', title: "Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: 'e2667dba443e74b4139137d7194538b4799c59d4', title: "Refunded", value: this.payment.formattedPaymentAmount(this.payment.amount_refunded) }), h(DetailItem, { key: '3cc3a74d90a0d10fe5f79c6e3fa942147bdf37f0', title: "Net", value: this.payment.formattedPaymentAmount(this.payment.balance) }), h(DetailItem, { key: 'e7f942356e5810ed1f6836002e03fab078e7da24', title: "Status", value: MapPaymentStatusToBadge(this.payment.status) }), h(DetailItem, { key: '4ed5bb3102ab533914f8841de5f3bb38e059cca0', title: "Payment ID", value: this.payment.id }), h(DetailItem, { key: 'ffe0e3990db78c2e57133865f8ab5314698a6126', title: "Processing Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: 'a0defbb3e570929e4667c7d96beb23a2b21090f2', title: "Statement Descriptor", value: this.payment.statement_descriptor }), h(DetailItem, { key: 'a196e9c84f30e0cbab086c02caa15188adae0fe5', title: "Description", value: this.payment.description }), h(DetailItem, { key: '3f0215fbb1faf2defb2a614d1bb463f43f4edc97', title: "Expedited", value: this.payment.expedited ? 'Yes' : 'No' })), this.payment.payment_method.card && [
43
- h(DetailSectionTitle, { key: '3627159fa135d895c1591c1146daf6b1b3fcff3e', sectionTitle: "Payment Method" }),
44
- h("div", { key: '00340647cfb3421627b587bcfd3e81d6cf9cb271', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'b89fd68b547f48c42636b7b0904f9c518a135a84', title: "ID", value: this.payment.payment_method.card.id }), h(DetailItem, { key: '2998d39cc3d133398f2e482cd47f5d5eb2fd9bc6', title: "Payment Type", value: "Card" }), h(DetailItem, { key: '23259226da35ecd71d07685484145d547eebcfa5', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: '090a22f97bfb43ffae0c7c475ee6f9c00d92193b', title: "Brand", value: snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), h(DetailItem, { key: '72c41739c55d99c9efbc0d5c77fcfa0049d5c21a', title: "Cardholder", value: this.payment.payment_method.payersName }))
41
+ return (h(StyledHost, { key: '8585ffcde1ebe2da1200e7fcaade68c0360f2c1a' }, this.loading && h(PaymentDetailsLoading, { key: 'f6299c6ec9d66a9245741159cc43b11ee7b09ca1' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
42
+ this.payment && (h("justifi-details", { key: 'acc35bf0c47c91b3b843b4fcfa7818567b995ea7', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '603e435434b28cbdd8948a08974277936268fe70', slot: "head-info", badge: (h("div", { class: "d-flex gap-1" }, MapPaymentStatusToBadge(this.payment.status), this.payment.expedited ? (h(Badge, { variant: BadgeVariant.WARNING, title: "Expedited", text: "Expedited" })) : null)), title: this.payment.formattedPaymentAmount(this.payment.amount) }, h(EntityHeadInfoItem, { key: 'a098dd2bc67c702e1d7647d138ff97042da1de8f', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payment.updated_at)} ${formatTime(this.payment.updated_at)}` }), h(EntityHeadInfoItem, { key: '10f5834de6a0409287aef8c92bd6c4c83b0b2bd0', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payment.created_at)} ${formatTime(this.payment.created_at)}` }), h(EntityHeadInfoItem, { key: 'd2af757628227d8733171c8f2be2835767226b61', title: "ID", value: this.payment.id })), h("div", { key: 'a22165ac2f43743ac21aec7a368ab8afb68c1fc9', slot: 'detail-sections' }, h(DetailSectionTitle, { key: 'c5de0c4fde5995b21e7ae5f17c6b51e3cbab57ad', sectionTitle: "Details" }), h("div", { key: 'd9a63e648c9451b09c3fad4228a930f40a6bb5e3', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '053219e35617c803aaf761887ea16eaa1d180799', title: "Amount", value: this.payment.formattedPaymentAmount(this.payment.amount) }), h(DetailItem, { key: '362da49eb3a32b52952f8a962c59767b7d99893a', title: "Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: '31eec3ba162f3e797b7f2e57ce0dd67ef699198f', title: "Refunded", value: this.payment.formattedPaymentAmount(this.payment.amount_refunded) }), h(DetailItem, { key: '319f49664029d1a4585a112ee20ba37d29ff86bb', title: "Net", value: this.payment.formattedPaymentAmount(this.payment.balance) }), h(DetailItem, { key: '405970cce3d67d7a2b99a59703208dde68026e37', title: "Status", value: MapPaymentStatusToBadge(this.payment.status) }), h(DetailItem, { key: '2279263fa33f450b7a7a4c0cae7b6c5ce17d31d7', title: "Payment ID", value: this.payment.id }), h(DetailItem, { key: '72a16f085fe07d51a60e29d4a446432b5ba9b647', title: "Processing Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: '30c28c112f2796119e5ba3be999d3af138b2638a', title: "Statement Descriptor", value: this.payment.statement_descriptor }), h(DetailItem, { key: '1751d564f87577e04b2e4d0674ed1613135c6fd9', title: "Description", value: this.payment.description }), h(DetailItem, { key: 'b7688698d4b14b07ccdd667fd49c83c462c58715', title: "Expedited", value: this.payment.expedited ? 'Yes' : 'No' })), this.payment.payment_method.card && [
43
+ h(DetailSectionTitle, { key: '8ce47b7e38b9560d782bcbc4a5b0d0867914e0a7', sectionTitle: "Payment Method" }),
44
+ h("div", { key: '35139a669b782e699d272c9569f78ee89cf78a4d', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'b63fd298d76b5cc74c6bd2bb9c72c776da76e60b', title: "ID", value: this.payment.payment_method.card.id }), h(DetailItem, { key: '8034323b79eba121450f84b98fecb329f04ee058', title: "Payment Type", value: "Card" }), h(DetailItem, { key: '484afb22d8b083b127f2e82a2d16bed107f4ff93', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: '3d018226d4e8b7d880d22095eb0f368b8e0447ce', title: "Brand", value: snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), h(DetailItem, { key: '3764d6de77ccf43f554d4713bd3a1dc4c2563a6d', title: "Cardholder", value: this.payment.payment_method.payersName }))
45
45
  ], this.payment.payment_method.bank_account && [
46
- h(DetailSectionTitle, { key: '55bfec78982d1a44c5ea863e4c5bdc64cd61f241', sectionTitle: "Payment Method" }),
47
- h("div", { key: 'da3be8d900f1db7b0337a27e91c90d424b4970d5', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'bfcd4367c607055397d8d4417dc671d5f262acd2', title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { key: 'a5ba2164eadb8bd424889cd6ed02db4679d75f91', title: "Last 4 Numbers", value: this.payment.last_four_digits }), h(DetailItem, { key: '96a3c52d38c8fe6dabaa032e41f87946a1fb5333', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { key: '3dfa62ba43bd18533104b8e608ce4303a75b6451', title: "Account Owner", value: this.payment.payment_method.payersName }))
46
+ h(DetailSectionTitle, { key: 'b3e05a55bf7ad71da8cf954c2b019983c724a4d2', sectionTitle: "Payment Method" }),
47
+ h("div", { key: '114e6995238d425538238fdb8a1aa6f8cdab2978', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'b63a6c4476a748cf04298c10b44547e6fd4a9a87', title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { key: '85abe1a494648a42c72f3cde23f6c63ee8d28f1b', title: "Last 4 Numbers", value: this.payment.last_four_digits }), h(DetailItem, { key: '589d98f88a2ebf42caf7b32f9358e7da1d927d5d', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { key: 'ee98c032b446963cba6f2e6a31ae5f444e5bfae6', title: "Account Owner", value: this.payment.payment_method.payersName }))
48
48
  ], this.payment.metadata && [
49
- h(DetailSectionTitle, { key: '6d180793de4f1d8e13c0af9e30d44faf121733cd', sectionTitle: 'Metadata' }),
50
- h("div", { key: '76b6e75ace2f243ad86dc5f66aed0aa505a35181', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: 'a3ee69d8d8699a15980f170a087925d3458135a4', metadata: this.payment.metadata }))
49
+ h(DetailSectionTitle, { key: '38c0e695c4a14350a6f32ec60bedb8b7fa5f00ce', sectionTitle: 'Metadata' }),
50
+ h("div", { key: 'dfff9e06e175b7d523bb257989c5f79c15b99fff', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '35831d5d59cd4b3c89ae000fd8f1e2952f252e4b', metadata: this.payment.metadata }))
51
51
  ])))));
52
52
  }
53
53
  static get is() { return "payment-details-core"; }
@@ -91,7 +91,7 @@ export class PaymentTransactionsList {
91
91
  return !this.showEmptyState && !this.showErrorState && !this.isLoading;
92
92
  }
93
93
  render() {
94
- return (h(StyledHost, { key: '5afad0e2e8dc4f37660b09c434fa1e69014194f6' }, h(TableWrapper, { key: '90b657d1a31077ccfee1c494e5bde526572d86b1' }, h(TableComponent, { key: 'c25fd7f2cb00dff6e7d1e5102660c28c08735439' }, h(TableHead, { key: 'a6a9bfd9dff7aa5c82e2dbe5c3c5674b4e6a5c04' }, h(TableHeadRow, { key: 'a7e136e48933ae4f7dabc3cb70bda5f2016b400f' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: '921169d43283f1b13921f3972e4ff912a92a27eb' }, h(TableLoadingState, { key: '69e6d2c8df07e0acb657ab0f7997b6576be86c91', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: '6a8a44d407bc4cb75e003ce68b174eed3aee885f', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: '599552617b6e9f4dc6451a4fbbb5fe2c402849e4', columnSpan: this.transactionsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.transactionsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: 'c2cadba24db21209557443e598ae2fbb1f4f1ffa' }, h(TableFootRow, { key: 'ffa9e9f6bf3dd7bb6bb5b8626756edf7ee249074' }, h(TableFootCell, { key: '7d6a900f2aac9483004c4eda42b3592db4495cca', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: '028b35bc60ff879529a10ef43de4f45ba2aeb584', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
94
+ return (h(StyledHost, { key: '1222542358d9e7495486f3c68e5f64867396580c' }, h(TableWrapper, { key: '561e90e5b184db206183346fab42f400e7cf6bfb' }, h(TableComponent, { key: '3dc0a8995b8e7a2c8fff4c71c4e381c1722cef68' }, h(TableHead, { key: '6efdcc49cbf8411af8d5f291a400a7bbe4202e30' }, h(TableHeadRow, { key: 'b86643118789b808b857e43e22ca8a541a67571e' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: '86e8dc7866f75b092b5f5e545f6d6021628fda43' }, h(TableLoadingState, { key: '70ae8aec85601944c443f983f3d2e44c5e1104fd', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: 'b921157d2ffd267fb23293d7928e0b59fbb4cb32', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: '9101fb0a98ef815cff3216875eca8fe700dbae7c', columnSpan: this.transactionsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.transactionsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '5536fcc48352ccfc0cb32d9aa95ee776e90cc7c5' }, h(TableFootRow, { key: '5abc999156f8efcc509f76686c967d13dba6a026' }, h(TableFootCell, { key: '93a390c9f8b222ce73243198ceb0698d2d261bd8', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: 'fa01e04f6f6965b1f0749bbe8581bbf3ab53bc45', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
95
95
  }
96
96
  static get is() { return "justifi-payment-transactions-list"; }
97
97
  static get encapsulation() { return "shadow"; }
@@ -83,7 +83,7 @@ export class PaymentsListCore {
83
83
  return !this.showEmptyState && !this.showErrorState && !this.loading;
84
84
  }
85
85
  render() {
86
- 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 }) }))))))));
86
+ return (h(TableWrapper, { key: 'c2ee9fe256bed85419d5bbc0b12c22210cec4b6a' }, h(TableComponent, { key: '70f2dd874928fe941029504bd6fc12183e0c2bef' }, h(TableHead, { key: 'd26595fd6b181ade2da1d6f802de7ee88945361a' }, h(TableHeadRow, { key: '003af39a3b07fb045d1bf1685150b9d6e8318b64' }, this.paymentsTable.columnData.map((column) => column))), h(TableBody, { key: 'e510d90dea09305da8e70973f6d4de937b533307' }, h(TableLoadingState, { key: '4a441175be1800937dfcae98d938dd69b045f274', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: '5c9b31dd51e69420bbaa7b48e69bef350c9bd5f6', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), h(TableErrorState, { key: '29d1ed55946c075b52663e1ea2fa64353a368659', 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: 'f5f60a8b3cd2b620f8a757690d9f4be1fd19b0bd' }, h(TableFootRow, { key: '1e6552dee4bbf5de86468ace0c89a93502081f95' }, h(TableFootCell, { key: '8ebcd59eba395663304647f592f2fd05763dec94', colSpan: this.paymentsTable.columnData.length }, h("pagination-menu", { key: '39973efbcac641d5b99bec8e9ad032708d6ba3f1', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
87
87
  }
88
88
  static get is() { return "payments-list-core"; }
89
89
  static get properties() {