@justifi/webcomponents 5.0.0 → 5.2.0

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 (657) hide show
  1. package/dist/cjs/{Api-f5280a80.js → Api-b0e4be29.js} +12 -0
  2. package/dist/cjs/{Checkout-a528241d.js → Checkout-2ff4f9c8.js} +6 -0
  3. package/dist/cjs/{Payment-d074b246.js → Payment-84817e2d.js} +10 -1
  4. package/dist/cjs/{SubAccount-fda5ec5b.js → SubAccount-f236913b.js} +6 -1
  5. package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -3
  6. package/dist/cjs/badge-fbf58cb9.js +44 -0
  7. package/dist/cjs/bank-account-form_9.cjs.entry.js +60 -65
  8. package/dist/cjs/{iframe-input.cjs.entry.js → billing-form_3.cjs.entry.js} +99 -6
  9. package/dist/cjs/business-details-core.cjs.entry.js +3 -3
  10. package/dist/cjs/business.service-ffb6f478.js +38 -0
  11. package/dist/cjs/{button-94bdc1f0.js → button-e7796b07.js} +1 -1
  12. package/dist/cjs/{check-pkg-version-05db7d8e.js → check-pkg-version-dee8dbb7.js} +3 -4
  13. package/dist/cjs/{checkout.service-671fab62.js → checkout.service-e9c05c15.js} +7 -8
  14. package/dist/cjs/checkouts-list-core.cjs.entry.js +10 -9
  15. package/dist/cjs/checkouts-table-0f19c1e6.js +57 -0
  16. package/dist/cjs/custom-popper.cjs.entry.js +2 -2
  17. package/dist/cjs/{dispute.service-c362a953.js → dispute.service-9272a2a6.js} +8 -9
  18. package/dist/cjs/{event-types-4df47396.js → event-types-aa1a9be1.js} +3 -3
  19. package/dist/cjs/form-alert_5.cjs.entry.js +5 -5
  20. package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
  21. package/dist/cjs/form-control-date.cjs.entry.js +4 -4
  22. package/dist/cjs/{form-control-error-text-a2fd5fc1.js → form-control-error-text-c1f49f35.js} +1 -1
  23. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +4 -4
  24. package/dist/cjs/form-control-file.cjs.entry.js +4 -4
  25. package/dist/cjs/{form-control-help-text-b6f7ae6e.js → form-control-help-text-e6cc71a7.js} +1 -1
  26. package/dist/cjs/form-control-monetary.cjs.entry.js +5 -5
  27. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +5 -5
  28. package/dist/cjs/form-control-number.cjs.entry.js +5 -5
  29. package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
  30. package/dist/cjs/form-control-select_3.cjs.entry.js +6 -6
  31. package/dist/cjs/{get-payout-csv-d2aed52c.js → get-payout-csv-778db023.js} +7 -8
  32. package/dist/cjs/{get-subaccounts-9aa22224.js → get-subaccounts-b087fa39.js} +5 -6
  33. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +5 -5
  34. package/dist/cjs/{header-1-cb7af794.js → header-1-96b97cab.js} +1 -1
  35. package/dist/cjs/{header-3-75e50713.js → header-3-ce77b96b.js} +1 -1
  36. package/dist/cjs/{insurance-state-001cfe12.js → insurance-state-8959c7c7.js} +1 -1
  37. package/dist/cjs/{justifi-additional-questions-form-step-core_8.cjs.entry.js → justifi-additional-questions-form-step-core_9.cjs.entry.js} +225 -16
  38. package/dist/cjs/justifi-additional-questions-form-step_10.cjs.entry.js +54 -161
  39. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +9 -9
  40. package/dist/cjs/justifi-business-details.cjs.entry.js +6 -7
  41. package/dist/cjs/justifi-business-form.cjs.entry.js +40 -15
  42. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +2 -2
  43. package/dist/cjs/justifi-checkout-core.cjs.entry.js +10 -11
  44. package/dist/cjs/justifi-checkout.cjs.entry.js +11 -11
  45. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +1 -1
  46. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +14 -14
  47. package/dist/cjs/justifi-details.cjs.entry.js +3 -3
  48. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
  49. package/dist/cjs/justifi-dispute-management.cjs.entry.js +10 -10
  50. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +15 -16
  51. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +6 -7
  52. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +8 -9
  53. package/dist/cjs/justifi-payment-details.cjs.entry.js +10 -10
  54. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +3 -3
  55. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +7 -8
  56. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
  57. package/dist/cjs/justifi-payments-list.cjs.entry.js +14 -14
  58. package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -10
  59. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
  60. package/dist/cjs/justifi-payouts-list.cjs.entry.js +15 -15
  61. package/dist/cjs/justifi-refund-form.cjs.entry.js +7 -7
  62. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +21 -4
  63. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +13 -11
  64. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +1 -1
  65. package/dist/cjs/justifi-terminals-list.cjs.entry.js +15 -14
  66. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +28 -15
  67. package/dist/cjs/loader.cjs.js +1 -1
  68. package/dist/cjs/{package-48c58886.js → package-8b9059cc.js} +1 -1
  69. package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
  70. package/dist/cjs/{parts-811ddb9c.js → parts-addf2176.js} +20 -2
  71. package/dist/cjs/payment-details-core.cjs.entry.js +27 -13
  72. package/dist/cjs/{payment-provisioning-actions-06466dda.js → payment-provisioning-actions-fbd30d1b.js} +31 -0
  73. package/dist/cjs/{payment.service-9a5336f1.js → payment.service-042c7c99.js} +6 -7
  74. package/dist/cjs/payments-list-core.cjs.entry.js +11 -10
  75. package/dist/cjs/payments-status-411c325c.js +58 -0
  76. package/dist/cjs/{payments-table-cf5d1c33.js → payments-table-16f3f95e.js} +12 -12
  77. package/dist/cjs/payout-details-core.cjs.entry.js +22 -7
  78. package/dist/cjs/payouts-list-core.cjs.entry.js +11 -10
  79. package/dist/cjs/payouts-status-0951e39d.js +53 -0
  80. package/dist/cjs/{payouts-table-58881d95.js → payouts-table-bc15179c.js} +14 -16
  81. package/dist/cjs/{skeleton-5ca03840.js → skeleton-c4903a53.js} +1 -1
  82. package/dist/cjs/{spinner-c11fcb44.js → spinner-aac395e3.js} +1 -1
  83. package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
  84. package/dist/cjs/terminals-list-core.cjs.entry.js +10 -8
  85. package/dist/cjs/terminals-table-3c19847b.js +45 -0
  86. package/dist/cjs/{utils-a21b7453.js → utils-5fb95d31.js} +6 -8
  87. package/dist/cjs/{utils-fc17191b.js → utils-a05a8bf6.js} +2 -2
  88. package/dist/cjs/webcomponents.cjs.js +1 -1
  89. package/dist/collection/api/BankAccount.js +12 -0
  90. package/dist/collection/api/Checkout.js +5 -0
  91. package/dist/collection/api/Payment.js +10 -1
  92. package/dist/collection/api/Payout.js +5 -1
  93. package/dist/collection/api/services/business.service.js +6 -0
  94. package/dist/collection/collection-manifest.json +4 -1
  95. package/dist/collection/components/{billing-form → billing-forms/billing-form}/billing-form.js +10 -10
  96. package/dist/collection/components/{billing-form → billing-forms}/billing-form-schema.js +13 -2
  97. package/dist/collection/components/billing-forms/billing-form-wrapper.js +183 -0
  98. package/dist/collection/components/billing-forms/postal-form/postal-form.js +136 -0
  99. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +1 -1
  100. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +1 -1
  101. package/dist/collection/components/business-forms/business-form/business-form-loading.js +6 -0
  102. package/dist/collection/components/business-forms/business-form/business-form.js +10 -4
  103. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +1 -1
  104. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +1 -1
  105. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
  106. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +1 -1
  107. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +1 -1
  108. package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -1
  109. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +13 -3
  110. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
  111. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +270 -0
  112. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +37 -146
  113. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +13 -3
  114. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
  115. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +11 -3
  116. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -1
  117. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +1 -1
  118. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +13 -3
  119. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
  120. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.js +1 -1
  121. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-input-group.js +1 -1
  122. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +13 -3
  123. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
  124. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-actions.js +30 -0
  125. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +1 -1
  126. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
  127. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +2 -2
  128. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-loading.js +6 -0
  129. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
  130. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
  131. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.js +1 -1
  132. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +1 -1
  133. package/dist/collection/components/checkout/card-form/card-form.js +1 -1
  134. package/dist/collection/components/checkout/checkout-core.js +30 -27
  135. package/dist/collection/components/checkout/checkout.js +29 -24
  136. package/dist/collection/components/checkout/new-payment-method.js +39 -33
  137. package/dist/collection/components/checkout/payment-method-options.js +29 -44
  138. package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
  139. package/dist/collection/components/checkout/saved-payment-method.js +1 -21
  140. package/dist/collection/components/checkout/sezzle-payment-method.js +1 -21
  141. package/dist/collection/components/checkout/test/checkout.js +0 -1
  142. package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
  143. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
  144. package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
  145. package/dist/collection/components/checkouts-list/checkouts-status.js +26 -11
  146. package/dist/collection/components/checkouts-list/checkouts-table.js +7 -7
  147. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  148. package/dist/collection/components/dispute-management/dispute-management.js +1 -1
  149. package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
  150. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  151. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  152. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  153. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  154. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  155. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  156. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  157. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  158. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  159. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  160. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  161. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +4 -1
  162. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-loading.js +4 -0
  163. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +4 -2
  164. package/dist/collection/components/payment-details/payment-details-core.js +10 -12
  165. package/dist/collection/components/payment-details/payment-details-loading.js +4 -0
  166. package/dist/collection/components/payments-list/payments-list-core.js +1 -1
  167. package/dist/collection/components/payments-list/payments-list-filters.js +1 -1
  168. package/dist/collection/components/payments-list/payments-list.js +1 -1
  169. package/dist/collection/components/payments-list/payments-status.js +51 -21
  170. package/dist/collection/components/payments-list/payments-table.js +8 -8
  171. package/dist/collection/components/payout-details/payout-details-core.js +3 -4
  172. package/dist/collection/components/payout-details/payout-details-loading.js +4 -0
  173. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  174. package/dist/collection/components/payouts-list/payouts-list-filters.js +1 -1
  175. package/dist/collection/components/payouts-list/payouts-list.js +1 -1
  176. package/dist/collection/components/payouts-list/payouts-status.js +46 -19
  177. package/dist/collection/components/payouts-list/payouts-table.js +10 -10
  178. package/dist/collection/components/refund-form/refund-form.js +1 -1
  179. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  180. package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
  181. package/dist/collection/components/terminals-list/terminals-list.js +1 -1
  182. package/dist/collection/components/terminals-list/terminals-status.js +21 -9
  183. package/dist/collection/components/terminals-list/terminals-table.js +4 -4
  184. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +60 -25
  185. package/dist/collection/styles/parts.js +11 -2
  186. package/dist/collection/ui-components/badge/badge.js +39 -0
  187. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  188. package/dist/collection/ui-components/details/details.js +1 -1
  189. package/dist/collection/ui-components/details/utils.js +1 -1
  190. package/dist/collection/ui-components/filters/table-filters-menu.js +1 -1
  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 +3 -3
  204. package/dist/collection/utils/table.js +1 -1
  205. package/dist/collection/utils/utils.js +6 -8
  206. package/dist/config.js +0 -1
  207. package/dist/docs.json +780 -198
  208. package/dist/esm/{Api-391d00e2.js → Api-0cac5b8a.js} +12 -1
  209. package/dist/esm/{Checkout-0b4086f8.js → Checkout-d476bb83.js} +6 -0
  210. package/dist/esm/{Payment-4f72d277.js → Payment-47630113.js} +10 -1
  211. package/dist/esm/{SubAccount-99a00594.js → SubAccount-f31349a9.js} +6 -1
  212. package/dist/esm/additional-questions-details_5.entry.js +3 -3
  213. package/dist/esm/badge-b034e71b.js +42 -0
  214. package/dist/esm/bank-account-form_9.entry.js +59 -64
  215. package/dist/esm/{iframe-input.entry.js → billing-form_3.entry.js} +98 -7
  216. package/dist/esm/{business-additional-questions-schema-48e93928.js → business-additional-questions-schema-aba9747e.js} +1 -1
  217. package/dist/esm/business-details-core.entry.js +3 -3
  218. package/dist/esm/{business-identity-schema-75126188.js → business-identity-schema-8b0f1619.js} +1 -1
  219. package/dist/esm/{business.service-182aea6f.js → business.service-ab2663a3.js} +8 -3
  220. package/dist/esm/{button-1886a33d.js → button-8a02823c.js} +1 -1
  221. package/dist/esm/{check-pkg-version-95b9be89.js → check-pkg-version-51d2616b.js} +2 -3
  222. package/dist/esm/{checkout.service-32a6ebe8.js → checkout.service-c275270e.js} +4 -5
  223. package/dist/esm/checkouts-list-core.entry.js +10 -9
  224. package/dist/esm/checkouts-table-115bacc4.js +53 -0
  225. package/dist/esm/custom-popper.entry.js +2 -2
  226. package/dist/esm/{dispute.service-4e5059aa.js → dispute.service-882e35ed.js} +4 -5
  227. package/dist/esm/{event-types-01dcdcbd.js → event-types-948c3b14.js} +3 -3
  228. package/dist/esm/form-alert_5.entry.js +5 -5
  229. package/dist/esm/form-control-checkbox.entry.js +5 -5
  230. package/dist/esm/form-control-date.entry.js +4 -4
  231. package/dist/esm/{form-control-error-text-3b2553b5.js → form-control-error-text-066cdad4.js} +1 -1
  232. package/dist/esm/form-control-file-v2_2.entry.js +4 -4
  233. package/dist/esm/form-control-file.entry.js +4 -4
  234. package/dist/esm/{form-control-help-text-a2fc3617.js → form-control-help-text-3b6f5980.js} +1 -1
  235. package/dist/esm/form-control-monetary.entry.js +5 -5
  236. package/dist/esm/form-control-number-masked_2.entry.js +5 -5
  237. package/dist/esm/form-control-number.entry.js +5 -5
  238. package/dist/esm/form-control-radio.entry.js +3 -3
  239. package/dist/esm/form-control-select_3.entry.js +6 -6
  240. package/dist/esm/{get-payout-csv-e6058aa7.js → get-payout-csv-50aea928.js} +4 -5
  241. package/dist/esm/{get-subaccounts-0b8af245.js → get-subaccounts-ab3dd32c.js} +4 -5
  242. package/dist/esm/gross-payment-chart-core.entry.js +5 -5
  243. package/dist/esm/{header-1-c6a00a22.js → header-1-75c284dd.js} +1 -1
  244. package/dist/esm/{header-3-a1c6d475.js → header-3-4a327395.js} +1 -1
  245. package/dist/esm/{insurance-state-8fc9376f.js → insurance-state-b495be64.js} +1 -1
  246. package/dist/esm/{justifi-additional-questions-form-step-core_8.entry.js → justifi-additional-questions-form-step-core_9.entry.js} +230 -22
  247. package/dist/esm/justifi-additional-questions-form-step_10.entry.js +53 -160
  248. package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
  249. package/dist/esm/justifi-business-details.entry.js +6 -7
  250. package/dist/esm/justifi-business-form.entry.js +43 -18
  251. package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
  252. package/dist/esm/justifi-checkout-core.entry.js +10 -11
  253. package/dist/esm/justifi-checkout.entry.js +11 -11
  254. package/dist/esm/justifi-checkouts-list-filters.entry.js +1 -1
  255. package/dist/esm/justifi-checkouts-list.entry.js +13 -13
  256. package/dist/esm/justifi-details.entry.js +3 -3
  257. package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
  258. package/dist/esm/justifi-dispute-management.entry.js +9 -9
  259. package/dist/esm/justifi-dispute-notification_3.entry.js +14 -15
  260. package/dist/esm/justifi-gross-payment-chart.entry.js +5 -6
  261. package/dist/esm/justifi-owner-form_3.entry.js +10 -11
  262. package/dist/esm/justifi-payment-details.entry.js +10 -10
  263. package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -3
  264. package/dist/esm/justifi-payment-provisioning.entry.js +6 -7
  265. package/dist/esm/justifi-payments-list-filters.entry.js +2 -2
  266. package/dist/esm/justifi-payments-list.entry.js +13 -13
  267. package/dist/esm/justifi-payout-details.entry.js +10 -10
  268. package/dist/esm/justifi-payouts-list-filters.entry.js +2 -2
  269. package/dist/esm/justifi-payouts-list.entry.js +14 -14
  270. package/dist/esm/justifi-refund-form.entry.js +6 -6
  271. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +22 -5
  272. package/dist/esm/justifi-season-interruption-insurance.entry.js +11 -9
  273. package/dist/esm/justifi-terminals-list-filters.entry.js +1 -1
  274. package/dist/esm/justifi-terminals-list.entry.js +12 -11
  275. package/dist/esm/justifi-tokenize-payment-method.entry.js +29 -16
  276. package/dist/esm/loader.js +1 -1
  277. package/dist/esm/{package-223933b4.js → package-5eedfd72.js} +1 -1
  278. package/dist/esm/pagination-menu.entry.js +1 -1
  279. package/dist/esm/{parts-186d437f.js → parts-93f379ab.js} +12 -3
  280. package/dist/esm/payment-details-core.entry.js +28 -14
  281. package/dist/esm/{payment-provisioning-actions-0635eff7.js → payment-provisioning-actions-a262ee82.js} +31 -1
  282. package/dist/esm/{payment.service-45f90e06.js → payment.service-92b90855.js} +4 -5
  283. package/dist/esm/payments-list-core.entry.js +11 -10
  284. package/dist/esm/payments-status-82466054.js +56 -0
  285. package/dist/esm/{payments-table-d6fbab5b.js → payments-table-c0bb25b6.js} +12 -12
  286. package/dist/esm/payout-details-core.entry.js +23 -8
  287. package/dist/esm/payouts-list-core.entry.js +11 -10
  288. package/dist/esm/payouts-status-b98c8297.js +51 -0
  289. package/dist/esm/{payouts-table-2e61a116.js → payouts-table-4382a264.js} +14 -16
  290. package/dist/esm/{schema-validations-c7d4f9df.js → schema-validations-5b0ac96b.js} +1 -1
  291. package/dist/esm/{skeleton-8f71cdf7.js → skeleton-3bcb2b5d.js} +1 -1
  292. package/dist/esm/{spinner-879489b3.js → spinner-b83f3a87.js} +1 -1
  293. package/dist/esm/table-filters-menu.entry.js +3 -3
  294. package/dist/esm/terminals-list-core.entry.js +10 -8
  295. package/dist/esm/terminals-table-8f1c2146.js +41 -0
  296. package/dist/esm/{utils-d7633e66.js → utils-7fb6331d.js} +2 -2
  297. package/dist/esm/{utils-54543523.js → utils-b76d791e.js} +7 -9
  298. package/dist/esm/webcomponents.js +1 -1
  299. package/dist/module/Checkout.js +6 -0
  300. package/dist/module/Payment.js +11 -1
  301. package/dist/module/SubAccount.js +6 -1
  302. package/dist/module/additional-questions.js +2 -2
  303. package/dist/module/additional-statement.js +2 -2
  304. package/dist/module/badge.js +42 -0
  305. package/dist/module/bank-account-form2.js +1 -1
  306. package/dist/module/billing-form-schema.js +16 -0
  307. package/dist/module/billing-form-wrapper.js +114 -0
  308. package/dist/module/{justifi-billing-form.d.ts → billing-form.d.ts} +4 -4
  309. package/dist/module/billing-form.js +4 -97
  310. package/dist/module/billing-form2.js +90 -0
  311. package/dist/module/business-additional-questions-form-step-core.js +13 -3
  312. package/dist/module/business-additional-questions-form-step.js +1 -1
  313. package/dist/module/business-additional-questions-schema.js +1 -1
  314. package/dist/module/business-address-schema.js +1 -1
  315. package/dist/module/business-bank-account-form-step-core.js +206 -0
  316. package/dist/module/business-bank-account-form-step.js +49 -157
  317. package/dist/module/business-core-info-form-step-core.js +14 -4
  318. package/dist/module/business-core-info-form-step.js +1 -1
  319. package/dist/module/business-core-info.js +2 -2
  320. package/dist/module/business-document-upload-form-step.js +2 -3
  321. package/dist/module/business-document-upload-input-group.js +1 -1
  322. package/dist/module/business-documents-on-file.js +1 -1
  323. package/dist/module/business-form-options.js +1 -1
  324. package/dist/module/business-owners-form-step-core.js +10 -2
  325. package/dist/module/business-owners-form-step.js +1 -1
  326. package/dist/module/business-representative-form-inputs.js +1 -1
  327. package/dist/module/business-representative-form-step-core.js +12 -2
  328. package/dist/module/business-representative-form-step.js +1 -1
  329. package/dist/module/business-representative.js +1 -1
  330. package/dist/module/business-terms-conditions-form-step.js +2 -3
  331. package/dist/module/business-terms-conditions-text.js +2 -2
  332. package/dist/module/business.service.js +8 -3
  333. package/dist/module/button.js +1 -1
  334. package/dist/module/cancellation-policy.js +2 -2
  335. package/dist/module/card-form2.js +1 -1
  336. package/dist/module/check-pkg-version.js +1 -2
  337. package/dist/module/checkout-core.js +51 -40
  338. package/dist/module/checkout.service.js +1 -2
  339. package/dist/module/checkouts-list-core2.js +36 -27
  340. package/dist/module/config.js +116 -2
  341. package/dist/module/custom-popper2.js +2 -2
  342. package/dist/module/customer-details.js +2 -2
  343. package/dist/module/details.js +1 -1
  344. package/dist/module/dispute-management-core.js +1 -1
  345. package/dist/module/dispute-notification.js +2 -2
  346. package/dist/module/dispute-response-actions.js +2 -3
  347. package/dist/module/dispute-response-core.js +2 -2
  348. package/dist/module/dispute-response.js +1 -1
  349. package/dist/module/duplicate-charge.js +2 -2
  350. package/dist/module/electronic-evidence.js +2 -2
  351. package/dist/module/event-types.js +2 -2
  352. package/dist/module/form-alert2.js +1 -1
  353. package/dist/module/form-control-checkbox2.js +3 -3
  354. package/dist/module/form-control-date2.js +3 -3
  355. package/dist/module/form-control-file-v22.js +1 -1
  356. package/dist/module/form-control-file2.js +3 -3
  357. package/dist/module/form-control-monetary2.js +3 -3
  358. package/dist/module/form-control-number-masked2.js +3 -3
  359. package/dist/module/form-control-number.js +2 -2
  360. package/dist/module/form-control-radio2.js +3 -3
  361. package/dist/module/form-control-select2.js +3 -3
  362. package/dist/module/form-control-text2.js +3 -3
  363. package/dist/module/form-control-textarea2.js +3 -3
  364. package/dist/module/form-control-tooltip2.js +1 -1
  365. package/dist/module/get-payout-csv.js +2 -3
  366. package/dist/module/get-subaccounts.js +2 -3
  367. package/dist/module/gross-payment-chart-core2.js +1 -1
  368. package/dist/module/hidden-input2.js +1 -1
  369. package/dist/module/identity-address-form.js +2 -2
  370. package/dist/module/iframe-input2.js +3 -3
  371. package/dist/module/justifi-billing-form-wrapper.d.ts +11 -0
  372. package/dist/module/justifi-billing-form-wrapper.js +6 -0
  373. package/dist/module/justifi-business-bank-account-form-step-core.d.ts +11 -0
  374. package/dist/module/justifi-business-bank-account-form-step-core.js +6 -0
  375. package/dist/module/justifi-business-details.js +1 -1
  376. package/dist/module/justifi-business-form.js +32 -7
  377. package/dist/module/justifi-checkout.js +53 -41
  378. package/dist/module/justifi-checkouts-list-filters.js +1 -1
  379. package/dist/module/justifi-checkouts-list.js +2 -2
  380. package/dist/module/justifi-dispute-management.js +2 -2
  381. package/dist/module/justifi-gross-payment-chart.js +2 -3
  382. package/dist/module/justifi-payment-details.js +1 -1
  383. package/dist/module/justifi-payment-provisioning.js +33 -28
  384. package/dist/module/justifi-payments-list-filters.js +1 -1
  385. package/dist/module/justifi-payments-list.js +2 -2
  386. package/dist/module/justifi-payout-details.js +1 -1
  387. package/dist/module/justifi-payouts-list-filters.js +1 -1
  388. package/dist/module/justifi-payouts-list.js +2 -2
  389. package/dist/module/justifi-refund-form.js +2 -3
  390. package/dist/module/justifi-season-interruption-insurance.js +6 -5
  391. package/dist/module/justifi-terminals-list-filters.js +1 -1
  392. package/dist/module/justifi-terminals-list.js +3 -4
  393. package/dist/module/justifi-tokenize-payment-method.js +73 -45
  394. package/dist/module/legal-address-form-step-core.js +13 -3
  395. package/dist/module/legal-address-form-step.js +1 -1
  396. package/dist/module/legal-address-form.js +2 -2
  397. package/dist/module/new-payment-method.js +54 -44
  398. package/dist/module/owner-form-core2.js +2 -2
  399. package/dist/module/owner-form-inputs2.js +1 -1
  400. package/dist/module/owner-form.js +2 -2
  401. package/dist/module/package.js +1 -1
  402. package/dist/module/pagination-menu2.js +1 -1
  403. package/dist/module/parts.js +12 -3
  404. package/dist/module/payment-details-core2.js +25 -13
  405. package/dist/module/payment-method-options.js +49 -39
  406. package/dist/module/payment-provisioning-actions.js +32 -2
  407. package/dist/module/payment-provisioning-core.js +31 -25
  408. package/dist/module/payment-provisioning-form-buttons.js +1 -1
  409. package/dist/module/payment-provisioning-form-steps.js +32 -26
  410. package/dist/module/payment-provisioning-loading.js +25 -0
  411. package/dist/module/payment.service.js +1 -2
  412. package/dist/module/payments-list-core2.js +12 -12
  413. package/dist/module/payments-status.js +52 -20
  414. package/dist/module/payout-details-core2.js +18 -5
  415. package/dist/module/payouts-list-core2.js +14 -16
  416. package/dist/module/payouts-status.js +47 -18
  417. package/dist/module/postal-form.d.ts +11 -0
  418. package/dist/module/postal-form.js +6 -0
  419. package/dist/module/postal-form2.js +83 -0
  420. package/dist/module/product-or-service.js +2 -2
  421. package/dist/module/refund-policy.js +2 -2
  422. package/dist/module/save-new-payment-method.js +1 -1
  423. package/dist/module/saved-payment-method.js +2 -5
  424. package/dist/module/schema-validations.js +2 -2
  425. package/dist/module/season-interruption-insurance-core.js +19 -2
  426. package/dist/module/sezzle-payment-method.js +2 -5
  427. package/dist/module/shipping-details.js +2 -2
  428. package/dist/module/spinner.js +1 -1
  429. package/dist/module/table-filters-menu2.js +2 -2
  430. package/dist/module/terminals-list-core2.js +26 -14
  431. package/dist/module/utils.js +1 -1
  432. package/dist/module/utils2.js +6 -8
  433. package/dist/module/utils3.js +23 -24
  434. package/dist/module/utils4.js +24 -23
  435. package/dist/types/api/BankAccount.d.ts +11 -0
  436. package/dist/types/api/Checkout.d.ts +4 -2
  437. package/dist/types/api/Payment.d.ts +9 -4
  438. package/dist/types/api/Payout.d.ts +4 -2
  439. package/dist/types/api/services/business.service.d.ts +7 -0
  440. package/dist/types/components/{billing-form → billing-forms/billing-form}/billing-form.d.ts +2 -2
  441. package/dist/types/components/{billing-form → billing-forms}/billing-form-schema.d.ts +11 -2
  442. package/dist/types/components/billing-forms/billing-form-wrapper.d.ts +19 -0
  443. package/dist/types/components/billing-forms/postal-form/postal-form.d.ts +20 -0
  444. package/dist/types/components/business-forms/business-form/business-form-loading.d.ts +1 -0
  445. package/dist/types/components/business-forms/business-form/business-form.d.ts +1 -0
  446. package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.d.ts +1 -0
  447. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.d.ts +35 -0
  448. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +6 -24
  449. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +1 -0
  450. package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.d.ts +1 -0
  451. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +1 -0
  452. package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +1 -0
  453. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-actions.d.ts +9 -0
  454. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-loading.d.ts +1 -0
  455. package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +2 -2
  456. package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +1 -1
  457. package/dist/types/components/checkout/checkout-core.d.ts +3 -6
  458. package/dist/types/components/checkout/checkout.d.ts +3 -3
  459. package/dist/types/components/checkout/new-payment-method.d.ts +4 -4
  460. package/dist/types/components/checkout/payment-method-options.d.ts +3 -5
  461. package/dist/types/components/checkout/payment-method-payload.d.ts +2 -0
  462. package/dist/types/components/checkout/saved-payment-method.d.ts +0 -1
  463. package/dist/types/components/checkout/sezzle-payment-method.d.ts +0 -1
  464. package/dist/types/components/checkouts-list/checkouts-list-core.d.ts +1 -1
  465. package/dist/types/components/checkouts-list/checkouts-status.d.ts +1 -1
  466. package/dist/types/components/checkouts-list/checkouts-table.d.ts +7 -6
  467. package/dist/types/components/insurance/season-interruption/season-interruption-insurance-loading.d.ts +2 -0
  468. package/dist/types/components/payment-details/payment-details-loading.d.ts +2 -0
  469. package/dist/types/components/payments-list/payments-list-core.d.ts +1 -1
  470. package/dist/types/components/payments-list/payments-status.d.ts +1 -1
  471. package/dist/types/components/payments-list/payments-table.d.ts +8 -7
  472. package/dist/types/components/payout-details/payout-details-loading.d.ts +2 -0
  473. package/dist/types/components/payouts-list/payouts-list-core.d.ts +1 -1
  474. package/dist/types/components/payouts-list/payouts-status.d.ts +1 -1
  475. package/dist/types/components/payouts-list/payouts-table.d.ts +10 -9
  476. package/dist/types/components/terminals-list/terminals-list-core.d.ts +1 -1
  477. package/dist/types/components/terminals-list/terminals-status.d.ts +1 -1
  478. package/dist/types/components/terminals-list/terminals-table.d.ts +5 -4
  479. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +3 -1
  480. package/dist/types/components.d.ts +123 -77
  481. package/dist/types/home/runner/work/web-component-library/web-component-library/packages/webcomponents/.stencil/packages/webcomponents/config.d.ts +0 -1
  482. package/dist/types/styles/parts.d.ts +10 -1
  483. package/dist/types/ui-components/badge/badge.d.ts +18 -0
  484. package/dist/types/utils/table.d.ts +3 -3
  485. package/dist/types/utils/utils.d.ts +2 -1
  486. package/dist/webcomponents/p-04ce1f82.js +1 -0
  487. package/dist/webcomponents/p-0544f4a4.entry.js +1 -0
  488. package/dist/webcomponents/p-060ff1a1.js +1 -0
  489. package/dist/webcomponents/p-0658b707.entry.js +1 -0
  490. package/dist/webcomponents/{p-1dbae48b.entry.js → p-09fd4ee2.entry.js} +1 -1
  491. package/dist/webcomponents/p-0d7e7957.js +1 -0
  492. package/dist/webcomponents/p-10cface4.entry.js +1 -0
  493. package/dist/webcomponents/p-10f9ff7b.entry.js +1 -0
  494. package/dist/webcomponents/p-12233a57.entry.js +1 -0
  495. package/dist/webcomponents/p-135e24c0.js +1 -0
  496. package/dist/webcomponents/p-1a27f22e.js +1 -0
  497. package/dist/webcomponents/p-1e2526c8.entry.js +1 -0
  498. package/dist/webcomponents/p-24a9c773.js +1 -0
  499. package/dist/webcomponents/p-270033ba.entry.js +1 -0
  500. package/dist/webcomponents/{p-47e7f876.entry.js → p-2a17a29c.entry.js} +1 -1
  501. package/dist/webcomponents/{p-b056034f.entry.js → p-2b081961.entry.js} +1 -1
  502. package/dist/webcomponents/p-2bd8650b.js +1 -0
  503. package/dist/webcomponents/p-2c7441ea.entry.js +1 -0
  504. package/dist/webcomponents/p-2ce40098.js +1 -0
  505. package/dist/webcomponents/p-2d27d054.entry.js +1 -0
  506. package/dist/webcomponents/p-2d801915.js +1 -0
  507. package/dist/webcomponents/p-332bd5ab.entry.js +1 -0
  508. package/dist/webcomponents/p-351c7fa3.entry.js +1 -0
  509. package/dist/webcomponents/p-39177d5a.js +1 -0
  510. package/dist/webcomponents/p-3f209fcc.entry.js +1 -0
  511. package/dist/webcomponents/p-411382f3.js +1 -0
  512. package/dist/webcomponents/p-427881b1.entry.js +1 -0
  513. package/dist/webcomponents/p-44604a45.js +1 -0
  514. package/dist/webcomponents/p-46769ec3.entry.js +1 -0
  515. package/dist/webcomponents/p-47cd431c.js +1 -0
  516. package/dist/webcomponents/p-4acfed0d.entry.js +1 -0
  517. package/dist/webcomponents/{p-0aa63869.entry.js → p-4bcfdb99.entry.js} +1 -1
  518. package/dist/webcomponents/p-4c4f9e3b.js +1 -0
  519. package/dist/webcomponents/p-4e122ace.js +1 -0
  520. package/dist/webcomponents/{p-d75b52c8.entry.js → p-541b7c36.entry.js} +1 -1
  521. package/dist/webcomponents/p-5d0763a5.js +1 -0
  522. package/dist/webcomponents/p-5d177a30.js +1 -0
  523. package/dist/webcomponents/p-64a1ae2c.entry.js +1 -0
  524. package/dist/webcomponents/p-67aef066.entry.js +1 -0
  525. package/dist/webcomponents/p-6ad11a9f.entry.js +1 -0
  526. package/dist/webcomponents/p-6bc01617.js +1 -0
  527. package/dist/webcomponents/{p-323ba4df.entry.js → p-6e8be579.entry.js} +1 -1
  528. package/dist/webcomponents/p-72a90154.entry.js +1 -0
  529. package/dist/webcomponents/{p-8c7a81c1.js → p-730e8425.js} +1 -1
  530. package/dist/webcomponents/p-73323a41.entry.js +1 -0
  531. package/dist/webcomponents/p-73619f0a.js +1 -0
  532. package/dist/webcomponents/{p-f4722957.js → p-74736657.js} +1 -1
  533. package/dist/webcomponents/p-74d6e182.entry.js +1 -0
  534. package/dist/webcomponents/p-7aff48a1.entry.js +1 -0
  535. package/dist/webcomponents/{p-08b8d1f0.entry.js → p-7b1fcab5.entry.js} +1 -1
  536. package/dist/webcomponents/p-7bddbee4.js +1 -0
  537. package/dist/webcomponents/{p-c9670f3c.entry.js → p-7db2a4d5.entry.js} +1 -1
  538. package/dist/webcomponents/p-83aa33f0.js +1 -0
  539. package/dist/webcomponents/p-87ce7b69.js +1 -0
  540. package/dist/webcomponents/p-8d61499c.entry.js +1 -0
  541. package/dist/webcomponents/p-9069fab5.js +1 -0
  542. package/dist/webcomponents/p-92d78790.js +1 -0
  543. package/dist/webcomponents/p-948b7710.entry.js +1 -0
  544. package/dist/webcomponents/p-96bc127e.entry.js +1 -0
  545. package/dist/webcomponents/p-98b027b7.entry.js +1 -0
  546. package/dist/webcomponents/p-a3df6c3e.entry.js +1 -0
  547. package/dist/webcomponents/p-a5008b32.entry.js +1 -0
  548. package/dist/webcomponents/p-a59636ed.js +1 -0
  549. package/dist/webcomponents/p-a7b04e24.js +1 -0
  550. package/dist/webcomponents/{p-7b9f21cd.entry.js → p-ac2588af.entry.js} +1 -1
  551. package/dist/webcomponents/{p-b1d4e520.entry.js → p-b78da082.entry.js} +1 -1
  552. package/dist/webcomponents/p-b86e804e.entry.js +1 -0
  553. package/dist/webcomponents/p-ba202e33.js +1 -0
  554. package/dist/webcomponents/p-bb842885.entry.js +1 -0
  555. package/dist/webcomponents/p-bf07d5d0.entry.js +1 -0
  556. package/dist/webcomponents/{p-1e6077f4.js → p-c2efe406.js} +1 -1
  557. package/dist/webcomponents/p-c358b253.entry.js +1 -0
  558. package/dist/webcomponents/p-c6051278.entry.js +1 -0
  559. package/dist/webcomponents/{p-7216ef00.entry.js → p-ca6214ca.entry.js} +1 -1
  560. package/dist/webcomponents/{p-af834eb8.js → p-cb8f7bf4.js} +1 -1
  561. package/dist/webcomponents/p-ce2de434.entry.js +1 -0
  562. package/dist/webcomponents/{p-bb61c6e0.js → p-d1f78cb5.js} +1 -1
  563. package/dist/webcomponents/p-d5dace8b.entry.js +1 -0
  564. package/dist/webcomponents/p-d6e51c2f.js +1 -0
  565. package/dist/webcomponents/{p-f9fdcc1a.entry.js → p-d86c1f11.entry.js} +2 -2
  566. package/dist/webcomponents/{p-a47971d8.entry.js → p-dc6e1e5f.entry.js} +1 -1
  567. package/dist/webcomponents/{p-fa2e3dc7.entry.js → p-e0f21a47.entry.js} +1 -1
  568. package/dist/webcomponents/{p-79b7c30d.js → p-eb644cb7.js} +1 -1
  569. package/dist/webcomponents/p-f2158e48.entry.js +1 -0
  570. package/dist/webcomponents/p-f3867b82.entry.js +1 -0
  571. package/dist/webcomponents/p-f5a7a7d1.entry.js +1 -0
  572. package/dist/webcomponents/p-f65abd18.js +1 -0
  573. package/dist/webcomponents/{p-663a00cd.entry.js → p-f76a7f9c.entry.js} +1 -1
  574. package/dist/webcomponents/p-fd6619d0.entry.js +1 -0
  575. package/dist/webcomponents/webcomponents.esm.js +1 -1
  576. package/package.json +1 -1
  577. package/dist/cjs/business.service-285f6f26.js +0 -32
  578. package/dist/cjs/checkouts-table-17648e93.js +0 -48
  579. package/dist/cjs/config-b190e93e.js +0 -15
  580. package/dist/cjs/payments-status-68ac449d.js +0 -26
  581. package/dist/cjs/payouts-status-2f7be07d.js +0 -24
  582. package/dist/cjs/terminals-table-91985249.js +0 -33
  583. package/dist/esm/checkouts-table-8b116232.js +0 -44
  584. package/dist/esm/config-187b3ae1.js +0 -13
  585. package/dist/esm/payments-status-a7c18f2a.js +0 -24
  586. package/dist/esm/payouts-status-cd58e525.js +0 -22
  587. package/dist/esm/terminals-table-8e42977c.js +0 -29
  588. package/dist/module/Api.js +0 -116
  589. package/dist/module/justifi-billing-form.js +0 -6
  590. package/dist/webcomponents/p-01f32098.entry.js +0 -1
  591. package/dist/webcomponents/p-0201ec6c.entry.js +0 -1
  592. package/dist/webcomponents/p-050a6855.entry.js +0 -1
  593. package/dist/webcomponents/p-0cc6c539.js +0 -1
  594. package/dist/webcomponents/p-0ccbc022.entry.js +0 -1
  595. package/dist/webcomponents/p-0e180654.js +0 -1
  596. package/dist/webcomponents/p-0eb86b3f.entry.js +0 -1
  597. package/dist/webcomponents/p-0f23ff58.js +0 -1
  598. package/dist/webcomponents/p-16d2932d.js +0 -1
  599. package/dist/webcomponents/p-1ce22da6.entry.js +0 -1
  600. package/dist/webcomponents/p-206fde40.js +0 -1
  601. package/dist/webcomponents/p-20a24f3a.entry.js +0 -1
  602. package/dist/webcomponents/p-238f1ff8.entry.js +0 -1
  603. package/dist/webcomponents/p-2462bf86.entry.js +0 -1
  604. package/dist/webcomponents/p-32a5bf4e.js +0 -1
  605. package/dist/webcomponents/p-34c14f59.js +0 -1
  606. package/dist/webcomponents/p-3db8b3c7.js +0 -1
  607. package/dist/webcomponents/p-3eabbdd4.entry.js +0 -1
  608. package/dist/webcomponents/p-438df53f.entry.js +0 -1
  609. package/dist/webcomponents/p-441c1cf8.js +0 -1
  610. package/dist/webcomponents/p-4972d608.entry.js +0 -1
  611. package/dist/webcomponents/p-4a576796.js +0 -1
  612. package/dist/webcomponents/p-4d916b2d.js +0 -1
  613. package/dist/webcomponents/p-5968ff8a.js +0 -1
  614. package/dist/webcomponents/p-597bd1e1.entry.js +0 -1
  615. package/dist/webcomponents/p-5bbe1133.entry.js +0 -1
  616. package/dist/webcomponents/p-5cb947bc.entry.js +0 -1
  617. package/dist/webcomponents/p-5d3f81c0.entry.js +0 -1
  618. package/dist/webcomponents/p-6677c60d.entry.js +0 -1
  619. package/dist/webcomponents/p-68694a17.entry.js +0 -1
  620. package/dist/webcomponents/p-6ab77b89.js +0 -1
  621. package/dist/webcomponents/p-6b840696.entry.js +0 -1
  622. package/dist/webcomponents/p-6fbd6abb.js +0 -1
  623. package/dist/webcomponents/p-6feeb9f2.js +0 -1
  624. package/dist/webcomponents/p-70eea098.entry.js +0 -1
  625. package/dist/webcomponents/p-73a18b5a.entry.js +0 -1
  626. package/dist/webcomponents/p-7a975a3c.js +0 -1
  627. package/dist/webcomponents/p-808bb677.entry.js +0 -1
  628. package/dist/webcomponents/p-80b1bcc2.entry.js +0 -1
  629. package/dist/webcomponents/p-88acfa7c.entry.js +0 -1
  630. package/dist/webcomponents/p-8a94d2c8.js +0 -1
  631. package/dist/webcomponents/p-8fe80110.entry.js +0 -1
  632. package/dist/webcomponents/p-90dc2f2c.js +0 -1
  633. package/dist/webcomponents/p-9c2d5229.entry.js +0 -1
  634. package/dist/webcomponents/p-9c2e00cc.js +0 -1
  635. package/dist/webcomponents/p-a3949f32.js +0 -1
  636. package/dist/webcomponents/p-ac147eef.entry.js +0 -1
  637. package/dist/webcomponents/p-b392ec21.js +0 -1
  638. package/dist/webcomponents/p-b6d76082.entry.js +0 -1
  639. package/dist/webcomponents/p-bb0f8b70.js +0 -1
  640. package/dist/webcomponents/p-bb71cef3.js +0 -1
  641. package/dist/webcomponents/p-bbcaa29b.entry.js +0 -1
  642. package/dist/webcomponents/p-c092cbb2.js +0 -1
  643. package/dist/webcomponents/p-c212414b.entry.js +0 -1
  644. package/dist/webcomponents/p-c2a2b9fe.entry.js +0 -1
  645. package/dist/webcomponents/p-cc977850.js +0 -1
  646. package/dist/webcomponents/p-d53c5ea5.entry.js +0 -1
  647. package/dist/webcomponents/p-d8fdf2b5.entry.js +0 -1
  648. package/dist/webcomponents/p-d960db89.entry.js +0 -1
  649. package/dist/webcomponents/p-db8c12ee.js +0 -1
  650. package/dist/webcomponents/p-e396506c.entry.js +0 -1
  651. package/dist/webcomponents/p-e4421e98.entry.js +0 -1
  652. package/dist/webcomponents/p-e7bb6520.js +0 -1
  653. package/dist/webcomponents/p-ed8918d1.entry.js +0 -1
  654. package/dist/webcomponents/p-edb57087.js +0 -1
  655. package/dist/webcomponents/p-ee4a2aac.entry.js +0 -1
  656. package/dist/webcomponents/p-ef4c49b9.js +0 -1
  657. package/dist/webcomponents/p-f88d5c0d.entry.js +0 -1
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-29fcfdf5.js';
2
2
  import { E as ExtendedPagingDefaults } from './Pagination-afc8f96d.js';
3
- import { F as buttonLink, G as buttonDisabled } from './parts-186d437f.js';
3
+ import { O as buttonLink, P as buttonDisabled } from './parts-93f379ab.js';
4
4
 
5
5
  const PaginationMenu = class {
6
6
  constructor(hostRef) {
@@ -57,7 +57,15 @@ const tableError = `table-error ${text} ${backgroundColor}`;
57
57
  // Loading spinner
58
58
  const loadingSpinner = `loading-spinner`;
59
59
  // Badge
60
- const badge = `badge ${text}`;
60
+ const badge = `badge ${fontFamily}`;
61
+ const badgePrimary = `${badge} badge-primary`;
62
+ const badgeSecondary = `${badge} badge-secondary`;
63
+ const badgeSuccess = `${badge} badge-success`;
64
+ const badgeDanger = `${badge} badge-danger`;
65
+ const badgeWarning = `${badge} badge-warning`;
66
+ const badgeInfo = `${badge} badge-info`;
67
+ const badgeLight = `${badge} badge-light`;
68
+ const badgeDark = `${badge} badge-dark`;
61
69
  // Dropdown-menu
62
70
  const dropdownMenu = `dropdown-menu ${text}`;
63
71
  // Radio List Item
@@ -65,8 +73,9 @@ const radioListItem = `radio-list-item ${text}`;
65
73
  // Skeleton
66
74
  const skeleton = `skeleton`;
67
75
  // Component specific
68
- // This allows the billing form to be hidden, for example
76
+ // This allows specific sections of a component to be hidden, for example
69
77
  // ::part(billing-form) { display: none; }
70
78
  const billingForm = `billing-form`;
79
+ const checkoutSummary = `checkout-summary`;
71
80
 
72
- export { card as A, heading5 as B, dropdownMenu as C, inputDisabled as D, inputGroup as E, buttonLink as F, buttonDisabled as G, inputRadioInvalid as H, inputRadioCheckedFocused as I, inputRadioChecked as J, inputRadioFocused as K, inputRadio as L, inputCheckboxInvalid as M, inputCheckboxCheckedFocused as N, inputCheckboxFocused as O, inputCheckboxChecked as P, inputCheckbox as Q, tooltip as R, tooltipInner as S, tooltipIcon as T, inputFocused as a, inputInvalid as b, input as c, textDanger as d, heading1 as e, buttonLoading as f, buttonPrimary as g, heading2 as h, inputInvalidAndFocused as i, buttonSecondary as j, tableHeadCell as k, label as l, getAlternateTableCellPart as m, table as n, tableCell as o, tableEmpty as p, tableError as q, loadingSpinner as r, skeleton as s, text as t, alertDanger as u, heading3 as v, badge as w, heading4 as x, billingForm as y, radioListItem as z };
81
+ export { tooltipInner as $, tableEmpty as A, tableError as B, loadingSpinner as C, alertDanger as D, checkoutSummary as E, heading3 as F, heading4 as G, billingForm as H, radioListItem as I, card as J, heading5 as K, dropdownMenu as L, inputDisabled as M, inputGroup as N, buttonLink as O, buttonDisabled as P, inputRadioInvalid as Q, inputRadioCheckedFocused as R, inputRadioChecked as S, inputRadioFocused as T, inputRadio as U, inputCheckboxInvalid as V, inputCheckboxCheckedFocused as W, inputCheckboxFocused as X, inputCheckboxChecked as Y, inputCheckbox as Z, tooltip as _, inputFocused as a, tooltipIcon as a0, inputInvalid as b, input as c, textDanger as d, heading1 as e, buttonLoading as f, buttonPrimary as g, heading2 as h, inputInvalidAndFocused as i, buttonSecondary as j, tableHeadCell as k, label as l, getAlternateTableCellPart as m, badge as n, badgePrimary as o, badgeSecondary as p, badgeSuccess as q, badgeDanger as r, skeleton as s, text as t, badgeWarning as u, badgeInfo as v, badgeLight as w, badgeDark as x, table as y, tableCell as z };
@@ -1,10 +1,25 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-29fcfdf5.js';
2
- import { b as formatCurrency, a as formatDate, f as formatTime, s as snakeCaseToHumanReadable } from './utils-54543523.js';
3
- import { a as EntityHeadInfo, b as EntityHeadInfoItem, D as DetailSectionTitle, c as DetailItem, C as CodeBlock, E as ErrorState } from './utils-d7633e66.js';
4
- import { w as badge } from './parts-186d437f.js';
1
+ import { h, r as registerInstance, c as createEvent } from './index-29fcfdf5.js';
2
+ import { b as formatDate, a as formatTime, s as snakeCaseToHumanReadable } from './utils-b76d791e.js';
3
+ import { M as MapPaymentStatusToBadge } from './payments-status-82466054.js';
4
+ import { a as EntityHeadInfo, b as EntityHeadInfoItem, D as DetailSectionTitle, c as DetailItem, C as CodeBlock, E as ErrorState } from './utils-7fb6331d.js';
5
5
  import { S as StyledHost } from './styled-host-32228b45.js';
6
- import { S as Spinner } from './spinner-879489b3.js';
7
- import { M as MapPaymentStatusToBadge } from './payments-status-a7c18f2a.js';
6
+ import { S as Skeleton } from './skeleton-3bcb2b5d.js';
7
+ import './badge-b034e71b.js';
8
+ import './parts-93f379ab.js';
9
+
10
+ const PaymentDetailsLoading = () => (h("div", { class: "row gap-3" },
11
+ h("div", { class: "col-12" },
12
+ h(Skeleton, { width: "35%", height: "30px" })),
13
+ h("div", { class: "col-12" },
14
+ h(Skeleton, { width: "70%" })),
15
+ h("div", { class: "col-12" },
16
+ h(Skeleton, { width: "40%" })),
17
+ h("div", { class: "col-12" },
18
+ h(Skeleton, { width: "40%" })),
19
+ h("div", { class: "col-12" },
20
+ h(Skeleton, { width: "100%" })),
21
+ h("div", { class: "col-12" },
22
+ h(Skeleton, { width: "80%" }))));
8
23
 
9
24
  const PaymentDetailsCore = class {
10
25
  constructor(hostRef) {
@@ -43,15 +58,14 @@ const PaymentDetailsCore = class {
43
58
  });
44
59
  }
45
60
  render() {
46
- var _a;
47
- return (h(StyledHost, { key: '7550877e5bc7bf30d0964d496b07c39f57ea23c7' }, this.loading && h(Spinner, { key: '320d191ef2cbd736158382f693bd4e1b2676a850' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
48
- this.payment && (h("justifi-details", { key: 'cc147622d2821fb3070d3acb17dabbe0d6acb44e', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '102fbe95740cfcbeed7d79c500841e4e69644c1b', slot: "head-info", badge: h("span", { slot: 'badge', part: badge, innerHTML: MapPaymentStatusToBadge(this.payment.status) }), title: `${formatCurrency(this.payment.amount)} ${(_a = this.payment) === null || _a === void 0 ? void 0 : _a.currency.toUpperCase()}` }, h(EntityHeadInfoItem, { key: '1f6b55ebbc0abb37ced9cda26b193a779f7ba4a9', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payment.updated_at)} ${formatTime(this.payment.updated_at)}` }), h(EntityHeadInfoItem, { key: 'cb64b263862128ef00b4923cdfd986ee63d40670', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payment.created_at)} ${formatTime(this.payment.created_at)}` }), h(EntityHeadInfoItem, { key: '4a245ba3ad052ef015d7c5c2abb8d05051e0784a', title: "ID", value: this.payment.id })), h("div", { key: '9721335ed8558618cae9685f83c68e2eff8dfb8b', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '8c460e5675898d68ceb335a56da05b459b81b112', sectionTitle: "Details" }), h("div", { key: '1094ca8b231926460913bbabd9c9816e04d5bb1f', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'e9640bbcf361dbeead436eea32a69fa962e34663', title: "Amount", value: formatCurrency(this.payment.amount) }), h(DetailItem, { key: 'ffa1411af9d4d78dbeaedcf7c12ce7d7c1e6eb53', title: "Fees", value: formatCurrency(this.payment.fee_amount) }), h(DetailItem, { key: 'c5843ff4773b7a2be2afdd659226dd46096f585d', title: "Refunded", value: formatCurrency(this.payment.amount_refunded) }), h(DetailItem, { key: '8ec788ae9ed769f6af4f32882d72d10877d1de30', title: "Net", value: formatCurrency(this.payment.balance) }), h(DetailItem, { key: 'ddd659af132d2628b8187d81ea72fc604e7ea7a8', title: "Status", value: MapPaymentStatusToBadge(this.payment.status) }), h(DetailItem, { key: '15cb99e66dfc876d65aa8d446564f873aef1ef8a', title: "Payment ID", value: this.payment.id }), h(DetailItem, { key: '499a906f13648cd49a3bf92ccadcc01f0fb430f6', title: "Processing Fees", value: formatCurrency(this.payment.fee_amount) }), h(DetailItem, { key: '75ab13ff4c06f0f58dec6c0fcaad692d6d03b68b', title: "Statement Descriptor", value: this.payment.statement_descriptor }), h(DetailItem, { key: 'aeb538897b387e4811d35dde9fb19a5813c1c049', title: "Description", value: this.payment.description })), this.payment.payment_method.card && [
49
- h(DetailSectionTitle, { key: '4c8aa277b28bb1ffaf5fbada3a35f284ee2fabb2', sectionTitle: "Payment Method" }),
50
- h("div", { key: 'ce52033a650a4f5db13e5c3cdf97191bcb3539b1', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '168e45e35fc2e11adbf6881b17ebfd36d0a54a71', title: "ID", value: this.payment.payment_method.card.id }), h(DetailItem, { key: '38af59143d2961cdc29b03e46af06b720dad3c8e', title: "Payment Type", value: "Card" }), h(DetailItem, { key: '07518b2789187d2ae0b3f5edc6510a4b44798154', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: '724207946a3e0b1b1cfe00bf0e77bfcd2f8c5982', title: "Brand", value: snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), h(DetailItem, { key: '34deb890ddf58566794fcb451d4d422d31f3f8b7', title: "Cardholder", value: this.payment.payment_method.payersName }))
61
+ return (h(StyledHost, { key: '714fd2a97e2879dddbaacda6d5289b3985aaeea5' }, this.loading && h(PaymentDetailsLoading, { key: '7f6d24755cea9f3b86cdcaecec470513532f37cc' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
62
+ this.payment && (h("justifi-details", { key: '9f3403ce5744053a04c1a6cde0c58a41f15547ac', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '310f3e1087843e2c10aa49b9fb7e6be734168f1d', slot: "head-info", badge: MapPaymentStatusToBadge(this.payment.status), title: this.payment.formattedPaymentAmount(this.payment.amount) }, h(EntityHeadInfoItem, { key: '5ed10250e7e04961e2fc57a017eea58e26429378', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payment.updated_at)} ${formatTime(this.payment.updated_at)}` }), h(EntityHeadInfoItem, { key: 'cd304828a7e38c8ad9fceb15b56391489a9eb938', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payment.created_at)} ${formatTime(this.payment.created_at)}` }), h(EntityHeadInfoItem, { key: '5b70635442c6c76d978d40095d81cda6f7b00cfc', title: "ID", value: this.payment.id })), h("div", { key: '54558d6e59548048a548a83578d1a94694515bde', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '0780b044b54ba041e9632f94acdfe71411454297', sectionTitle: "Details" }), h("div", { key: 'e1426b161aad05e561414d6a4c77cb28d3e7c157', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '8a390a81e9b91d6582ee01a93743a8cb4fba57f4', title: "Amount", value: this.payment.formattedPaymentAmount(this.payment.amount) }), h(DetailItem, { key: '8bffacbde88bd44cbdc213b7f24b93087e533670', title: "Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: '78f5773c98118c39dab6df14fd9beafd7f06df1d', title: "Refunded", value: this.payment.formattedPaymentAmount(this.payment.amount_refunded) }), h(DetailItem, { key: 'c620ecf5b7dd9f9896a4a454cc8b507b4c344f45', title: "Net", value: this.payment.formattedPaymentAmount(this.payment.balance) }), h(DetailItem, { key: '4b7529e27aecf2560d305dc6f906b4ae1f26c2d2', title: "Status", value: MapPaymentStatusToBadge(this.payment.status) }), h(DetailItem, { key: '1807f3f518b3ddf1296f8c2802b8e66a7a7e8401', title: "Payment ID", value: this.payment.id }), h(DetailItem, { key: '79183af038116750f07bd65bc843a879a6275961', title: "Processing Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: 'a2a6b8a345068a57e8e647b5f5efa9da5c870697', title: "Statement Descriptor", value: this.payment.statement_descriptor }), h(DetailItem, { key: 'e3c7479795cd85029e1f90b4f7e0e5cfd0cf9099', title: "Description", value: this.payment.description })), this.payment.payment_method.card && [
63
+ h(DetailSectionTitle, { key: '7d49ed552d5b2dc87e6596e025e9c877b838b25a', sectionTitle: "Payment Method" }),
64
+ h("div", { key: '9a435008ea2746b11281bd237e9a38f471e9a11d', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '9b22fcb2e38f690dfb963b783d2139813a920ddc', title: "ID", value: this.payment.payment_method.card.id }), h(DetailItem, { key: '27ed56e879c9598226373f9086f79cd0cc72a9fe', title: "Payment Type", value: "Card" }), h(DetailItem, { key: '9868b544973455fad8af21f4de2936a6d61b21a7', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: '80716a8fe5b7bd933b930b35674dfe111948ef62', title: "Brand", value: snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), h(DetailItem, { key: 'f0c0e2107b079bc6c898c91e5bd6a111b327c419', title: "Cardholder", value: this.payment.payment_method.payersName }))
51
65
  ], this.payment.payment_method.bank_account && [
52
- h(DetailSectionTitle, { key: 'fbc24139e24a3d72624db86e30d0ce7b602cafe1', sectionTitle: "Payment Method" }),
53
- h("div", { key: 'cba8888ffd57b95d82ab307f5de83c61f16a75b8', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '5d7bbf52c0b06be00bdca98df4926dfa5c7ee25f', title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { key: '19f2450384c28970a69a13aa623a0360c7818f46', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: 'c81914830e67c477c2407112e74afaa127c406c2', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { key: '5c8581983f368d84d6d9044d49ea2cab923b6615', title: "Account Owner", value: this.payment.payment_method.payersName }))
54
- ], h(DetailSectionTitle, { key: 'c8ed7c6c2480365d7fec6c388103aeb1c3622c44', sectionTitle: 'Metadata' }), h("div", { key: 'cca65ed21900b912ea4a22b2e852d0c46946efd1', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: 'c96c267005a5ee26064d7cd6c03768f83442dfc6', metadata: this.payment.metadata })))))));
66
+ h(DetailSectionTitle, { key: '1f2d289d3c79b1c496f10ded116ab193d9c4ade0', sectionTitle: "Payment Method" }),
67
+ h("div", { key: '9b898ec3ccf34e225d465b46a0a645d46f696c91', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '71acc9fe7bca4f922075a33968229919b9660ec0', title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { key: 'cd62b8e0e55a9888f1d06a107173516af1f65e9e', title: "Last 4 Numbers", value: this.payment.last_four_digits }), h(DetailItem, { key: '22e2dcefcb76363ca9254392e825a4612c65ac1c', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { key: 'a6e633cb3e5b82ed9c887b16a346dac257db22dc', title: "Account Owner", value: this.payment.payment_method.payersName }))
68
+ ], h(DetailSectionTitle, { key: '10d02e4d3e09b50644f7a5c1bb0beca7f0747c0e', sectionTitle: 'Metadata' }), h("div", { key: '119445b2570c4b736b4c9bb0daf88a3047b3ee97', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '794df4cfc8808ea62e6b97127fee7349698e264e', metadata: this.payment.metadata })))))));
55
69
  }
56
70
  static get watchers() { return {
57
71
  "getPaymentDetails": ["updateOnPropChange"]
@@ -174,5 +174,35 @@ const makePostIdentity = ({ authToken, service }) => async ({ payload, onSuccess
174
174
  return final();
175
175
  }
176
176
  };
177
+ // Bank Account API Actions
178
+ const makePostBankAccount = ({ authToken, service }) => async ({ payload, onSuccess, onError, final = () => { } }) => {
179
+ var _a;
180
+ try {
181
+ const response = await service.postBankAccount(authToken, payload);
182
+ if (!response.error) {
183
+ onSuccess(response);
184
+ }
185
+ else {
186
+ const responseError = getErrorMessage(response.error);
187
+ const code = getErrorCode((_a = response.error) === null || _a === void 0 ? void 0 : _a.code);
188
+ return onError({
189
+ error: responseError,
190
+ code,
191
+ severity: ComponentErrorSeverity.ERROR,
192
+ });
193
+ }
194
+ }
195
+ catch (error) {
196
+ const code = getErrorCode(error === null || error === void 0 ? void 0 : error.code);
197
+ return onError({
198
+ error: error.message || error,
199
+ code,
200
+ severity: ComponentErrorSeverity.ERROR,
201
+ });
202
+ }
203
+ finally {
204
+ return final();
205
+ }
206
+ };
177
207
 
178
- export { makePostProvisioning as a, makePatchBusiness as b, makeGetIdentity as c, makePatchIdentity as d, makePostIdentity as e, makeGetBusiness as m };
208
+ export { makePostProvisioning as a, makePatchBusiness as b, makePostBankAccount as c, makeGetIdentity as d, makePatchIdentity as e, makePostIdentity as f, makeGetBusiness as m };
@@ -1,9 +1,8 @@
1
- import { A as Api } from './Api-391d00e2.js';
2
- import './Checkout-0b4086f8.js';
1
+ import { A as Api, c as config } from './Api-0cac5b8a.js';
2
+ import './Checkout-d476bb83.js';
3
3
  import './Pagination-afc8f96d.js';
4
- import './Payment-4f72d277.js';
5
- import './SubAccount-99a00594.js';
6
- import { c as config } from './config-187b3ae1.js';
4
+ import './Payment-47630113.js';
5
+ import './SubAccount-f31349a9.js';
7
6
 
8
7
  class PaymentService {
9
8
  async fetchPayments(accountId, authToken, params, apiOrigin) {
@@ -1,16 +1,17 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './index-29fcfdf5.js';
2
- import './Checkout-0b4086f8.js';
2
+ import './Checkout-d476bb83.js';
3
3
  import { p as pagingDefaults } from './Pagination-afc8f96d.js';
4
- import './Payment-4f72d277.js';
5
- import './SubAccount-99a00594.js';
6
- import { n as table, o as tableCell } from './parts-186d437f.js';
7
- import { T as TableClickActions, a as Table, b as TableLoadingState, c as TableEmptyState, d as TableErrorState } from './event-types-01dcdcbd.js';
8
- import { p as paymentTableColumns, a as paymentTableCells } from './payments-table-d6fbab5b.js';
4
+ import './Payment-47630113.js';
5
+ import './SubAccount-f31349a9.js';
6
+ import { y as table, z as tableCell } from './parts-93f379ab.js';
7
+ import { T as TableClickActions, a as Table, b as TableLoadingState, c as TableEmptyState, d as TableErrorState } from './event-types-948c3b14.js';
8
+ import { p as paymentTableColumns, a as paymentTableCells } from './payments-table-c0bb25b6.js';
9
9
  import { o as onQueryParamsChange, q as queryParams } from './payments-list-params-state-b3dab8bc.js';
10
+ import './utils-b76d791e.js';
10
11
  import './Dispute-5fd28ec9.js';
11
- import './spinner-879489b3.js';
12
- import './payments-status-a7c18f2a.js';
13
- import './utils-54543523.js';
12
+ import './spinner-b83f3a87.js';
13
+ import './payments-status-82466054.js';
14
+ import './badge-b034e71b.js';
14
15
  import './index-a47fdc7f.js';
15
16
 
16
17
  const PaymentsListCore = class {
@@ -96,7 +97,7 @@ const PaymentsListCore = class {
96
97
  return combinedParams;
97
98
  }
98
99
  render() {
99
- return (h("div", { key: '6d3aeab1a53d5a9f73ed770de5d936e290189a9e' }, h("div", { key: 'f9750011da7c0bf0e4bc5eb91fc5c54489798890', class: "table-wrapper" }, h("table", { key: '7361cc478802a1de5513bf92ea9ec7f105168d55', class: "table table-hover", part: table }, h("thead", { key: '239402e85ae6537f4fc605b06f9f747233aef37a', class: "table-head sticky-top" }, h("tr", { key: 'f3330dae27878b313848a057d1094e094bdd66f4', class: "table-light text-nowrap" }, this.paymentsTable.columnData.map((column) => column))), h("tbody", { key: '1441e8920b68c7cf759188694b1cbc65a2c37795', class: "table-body" }, h(TableLoadingState, { key: '55bf8e8b8c6c859ce363ce30fb6db75f328ebca1', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: '20d7f82636bc4b1a54a56ca89f2444261e26c0d6', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), h(TableErrorState, { key: '10c160fafc746dece6e3837aa43021e48d7f49b9', columnSpan: this.paymentsTable.columnData.length, errorMessage: this.errorMessage }), this.showRowData && this.paymentsTable.rowData.map((data, index) => (h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h("tfoot", { key: '058476cc6c3369cf4700203c28f3d2c9c002656b', class: "sticky-bottom" }, h("tr", { key: '87c051940f9e49e64d661d12f5387ef5263091b4', class: "table-light align-middle" }, h("td", { key: '06fe26d1f9d57c6598fe71ebb9b48780a35fba5a', part: tableCell, colSpan: this.paymentsTable.columnData.length }, h("pagination-menu", { key: 'd23dedce32252f08d0a24eb4a474e9ee62ebd0e1', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
100
+ return (h("div", { key: '6ae0c491d9ba248e878f65915448b715ae1c3381' }, h("div", { key: '3e2a5fe63f83d7a45c44486bc7dc7e2493b29520', class: "table-wrapper" }, h("table", { key: '3523e917bd342db707671ce9069a17618b20d1f8', class: "table table-hover", part: table }, h("thead", { key: 'e3436965637929742b7b827627504f8b4776cd7c', class: "table-head sticky-top" }, h("tr", { key: 'edf671796c2a0ad5b1fc9d6e3c3c0210f841946d', class: "table-light text-nowrap" }, this.paymentsTable.columnData.map((column) => column))), h("tbody", { key: '1cc99781f6a96dd3597fa32c31e2dff6861cc945', class: "table-body" }, h(TableLoadingState, { key: '0b1e2a89902ca170252139807512d2d91f2260f0', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: '1857d904b79a0a5b9276846a6b0afd5fe54b72f0', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), h(TableErrorState, { key: 'da42e70686ca49cef71bce6fd596bd18f1f1f365', columnSpan: this.paymentsTable.columnData.length, errorMessage: this.errorMessage }), this.showRowData && this.paymentsTable.rowData.map((data, index) => (h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h("tfoot", { key: 'e6dd57881b2643442d61c01a5308529ba1e24dc0', class: "sticky-bottom" }, h("tr", { key: '6dfb87ce0ba57057505e961825bb54bbe5d29910', class: "table-light align-middle" }, h("td", { key: 'a47bd709a0296308c7348cda14bf1d2958f10feb', part: tableCell, colSpan: this.paymentsTable.columnData.length }, h("pagination-menu", { key: '0db007e310d5ca49bd05b5dbc7673cc2276b9ce3', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
100
101
  }
101
102
  static get watchers() { return {
102
103
  "queryParams": ["updateOnPropChange"],
@@ -0,0 +1,56 @@
1
+ import { h } from './index-29fcfdf5.js';
2
+ import { B as Badge, a as BadgeVariant } from './badge-b034e71b.js';
3
+
4
+ const MapPaymentStatusToBadge = (status) => {
5
+ const statusToBadgeProps = {
6
+ succeeded: {
7
+ variant: BadgeVariant.SUCCESS,
8
+ title: 'This payment was successfully captured',
9
+ text: 'Succeeded',
10
+ },
11
+ authorized: {
12
+ variant: BadgeVariant.PRIMARY,
13
+ title: 'This card payment was authorized, but not captured. It could still succeed or fail.',
14
+ text: 'Authorized',
15
+ },
16
+ pending: {
17
+ variant: BadgeVariant.PRIMARY,
18
+ title: 'This ACH payment was processed, but the funds have not settled. It could still succeed or fail.',
19
+ text: 'Pending',
20
+ },
21
+ achFailed: {
22
+ variant: BadgeVariant.DANGER,
23
+ title: 'The funds couldn\'t be collected for this ACH payment (in addition to the original payment, an ACH return and fee will appear in a payout)',
24
+ text: 'ACH Failed',
25
+ },
26
+ failed: {
27
+ variant: BadgeVariant.DANGER,
28
+ title: 'This card payment did not go through (it will not appear in a payout)',
29
+ text: 'Failed',
30
+ },
31
+ canceled: {
32
+ variant: BadgeVariant.DANGER,
33
+ title: 'This payment was canceled',
34
+ text: 'Canceled',
35
+ },
36
+ disputed: {
37
+ variant: BadgeVariant.SECONDARY,
38
+ title: 'The account holder disputed this payment. The amount has been returned and a fee assessed.',
39
+ text: 'Disputed',
40
+ },
41
+ fully_refunded: {
42
+ variant: BadgeVariant.SECONDARY,
43
+ title: 'The full amount of this payment has been refunded',
44
+ text: 'Fully Refunded',
45
+ },
46
+ partially_refunded: {
47
+ variant: BadgeVariant.SECONDARY,
48
+ title: 'A portion of this payment has been refunded',
49
+ text: 'Partially Refunded',
50
+ },
51
+ };
52
+ const badgeProps = statusToBadgeProps[status];
53
+ return h(Badge, Object.assign({}, badgeProps));
54
+ };
55
+
56
+ export { MapPaymentStatusToBadge as M };
@@ -1,7 +1,7 @@
1
1
  import { h } from './index-29fcfdf5.js';
2
- import { M as MapPaymentStatusToBadge } from './payments-status-a7c18f2a.js';
3
- import { c as convertToLocal, b as formatCurrency } from './utils-54543523.js';
4
- import { k as tableHeadCell, m as getAlternateTableCellPart } from './parts-186d437f.js';
2
+ import { M as MapPaymentStatusToBadge } from './payments-status-82466054.js';
3
+ import { c as convertToLocal } from './utils-b76d791e.js';
4
+ import { k as tableHeadCell, m as getAlternateTableCellPart } from './parts-93f379ab.js';
5
5
 
6
6
  const defaultColumnsKeys = 'created_at,amount,status,payment_type,description,payers_name,last_four_digits';
7
7
  const paymentTableColumns = {
@@ -14,15 +14,15 @@ const paymentTableColumns = {
14
14
  last_four_digits: () => (h("th", { part: tableHeadCell, scope: "col", title: "The brand and last 4 digits of the payment method" }, "Payment Method")),
15
15
  };
16
16
  const paymentTableCells = {
17
- created_at: (value, index) => (h("td", { part: getAlternateTableCellPart(index) },
18
- h("div", { class: "fw-bold" }, convertToLocal(value, { showDisplayDate: true })),
19
- h("div", { class: "fw-bold" }, convertToLocal(value, { showTime: true })))),
20
- amount: (value, index) => (h("td", { part: getAlternateTableCellPart(index) }, formatCurrency(value, true, true))),
21
- status: (value, index) => (h("td", { part: getAlternateTableCellPart(index), innerHTML: MapPaymentStatusToBadge(value) })),
22
- payment_type: (value, index) => (h("td", { part: getAlternateTableCellPart(index) }, value)),
23
- description: (value, index) => (h("td", { part: getAlternateTableCellPart(index) }, value)),
24
- payers_name: (value, index) => (h("td", { part: getAlternateTableCellPart(index) }, value)),
25
- last_four_digits: (value, index) => (h("td", { part: getAlternateTableCellPart(index) }, value))
17
+ created_at: (payment, index) => (h("td", { part: getAlternateTableCellPart(index) },
18
+ h("div", { class: "fw-bold" }, convertToLocal(payment.created_at, { showDisplayDate: true })),
19
+ h("div", { class: "fw-bold" }, convertToLocal(payment.created_at, { showTime: true })))),
20
+ amount: (payment, index) => (h("td", { part: getAlternateTableCellPart(index) }, payment.formattedPaymentAmount(payment.amount))),
21
+ status: (payment, index) => (h("td", { part: getAlternateTableCellPart(index) }, MapPaymentStatusToBadge(payment.status))),
22
+ payment_type: (payment, index) => (h("td", { part: getAlternateTableCellPart(index) }, payment.payment_type)),
23
+ description: (payment, index) => (h("td", { part: getAlternateTableCellPart(index) }, payment.description)),
24
+ payers_name: (payment, index) => (h("td", { part: getAlternateTableCellPart(index) }, payment.payers_name)),
25
+ last_four_digits: (payment, index) => (h("td", { part: getAlternateTableCellPart(index) }, payment.last_four_digits)),
26
26
  };
27
27
 
28
28
  export { paymentTableCells as a, defaultColumnsKeys as d, paymentTableColumns as p };
@@ -1,11 +1,26 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-29fcfdf5.js';
2
- import { b as formatCurrency, a as formatDate, f as formatTime } from './utils-54543523.js';
3
- import { a as EntityHeadInfo, b as EntityHeadInfoItem, D as DetailSectionTitle, c as DetailItem, C as CodeBlock, E as ErrorState } from './utils-d7633e66.js';
4
- import { B as Button } from './button-1886a33d.js';
1
+ import { h, r as registerInstance, c as createEvent } from './index-29fcfdf5.js';
2
+ import { b as formatDate, a as formatTime } from './utils-b76d791e.js';
3
+ import { a as EntityHeadInfo, b as EntityHeadInfoItem, D as DetailSectionTitle, c as DetailItem, C as CodeBlock, E as ErrorState } from './utils-7fb6331d.js';
4
+ import { B as Button } from './button-8a02823c.js';
5
5
  import { S as StyledHost } from './styled-host-32228b45.js';
6
- import { w as badge } from './parts-186d437f.js';
7
- import { S as Spinner } from './spinner-879489b3.js';
8
- import { M as MapPayoutStatusToBadge } from './payouts-status-cd58e525.js';
6
+ import { M as MapPayoutStatusToBadge } from './payouts-status-b98c8297.js';
7
+ import { S as Skeleton } from './skeleton-3bcb2b5d.js';
8
+ import './parts-93f379ab.js';
9
+ import './badge-b034e71b.js';
10
+
11
+ const PayoutDetailsLoading = () => (h("div", { class: "row gap-3" },
12
+ h("div", { class: "col-12" },
13
+ h(Skeleton, { width: "35%", height: "30px" })),
14
+ h("div", { class: "col-12" },
15
+ h(Skeleton, { width: "70%" })),
16
+ h("div", { class: "col-12" },
17
+ h(Skeleton, { width: "40%" })),
18
+ h("div", { class: "col-12" },
19
+ h(Skeleton, { width: "40%" })),
20
+ h("div", { class: "col-12" },
21
+ h(Skeleton, { width: "100%" })),
22
+ h("div", { class: "col-12" },
23
+ h(Skeleton, { width: "80%" }))));
9
24
 
10
25
  const PayoutDetailsCore = class {
11
26
  constructor(hostRef) {
@@ -59,7 +74,7 @@ const PayoutDetailsCore = class {
59
74
  }
60
75
  render() {
61
76
  var _a;
62
- return (h(StyledHost, { key: '00dce2f3bddb29647880b82a2055580346b7ff38' }, this.loading && h(Spinner, { key: 'de524e2f77fb4dd20f4fcb7dff41f256f3ee74b5' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: 'c0b7449ff0e5773be97fb27485638acdce79b50a', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '1aa8719fb989c9993ac30803440d16ce3590038e', slot: "head-info", badge: h("span", { slot: 'badge', part: badge, innerHTML: MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status) }), title: `${formatCurrency(this.payout.amount)} ${this.payout.currency.toUpperCase()}` }, h(EntityHeadInfoItem, { key: '30c9240747e66e38056cd870e5703b4d027b3ea2', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: '2d93c5594c1451a3d566afe0431da34994ccc94a', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: 'd9116166e2c7f95e8a7e110146f492bf0329e01e', title: "ID", value: this.payout.id }), h("div", { key: '9b3c12058b396637632c3d46a24ed426a1bd518c', class: "m-4" }, h(Button, { key: 'eaf5339cb60b3ae759b0ca94ffb07f20f044feec', variant: "secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: '61372b0167f0a07231fd1cf69d61f156e42c3a0a', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '6113095a35b746b7b03e15af9e195fe7247148c0', sectionTitle: "Details" }), h("div", { key: 'dcdc2cf2c73516e603492aae6f81a12a2dd10d1f', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '797cf1e1b4a0521ff01a8c985c260b998ad3d3e9', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: 'bd3162d95fa4a98e2db4e42a9de39c91ca209b45', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: 'adef2b9dcbad873f570530761cf887c9a4efa052', title: "Payout Method", value: this.payout.delivery_method }), h(DetailItem, { key: '8c6ca766f17f9dd140fa0778fecd648a72244b92', title: "Amount", value: formatCurrency(this.payout.amount) }), h(DetailItem, { key: '4c4448677902c19011cf36b0d71d85eb54083bbf', title: "Fee", value: formatCurrency(this.payout.fees_total) })), h(DetailSectionTitle, { key: '7f4a0ed8518b957cbfcfb15e5ea62963e5ba5013', sectionTitle: "Account" }), h("div", { key: '3d878a54ddffb40e55610224fc97f182f4255e51', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'd9eb8870ca1b4bf0c04bcb2f3b4362ebf9712a88', title: "ID", value: this.payout.account_id }), h(DetailItem, { key: 'f320a0fb646a5352173341083f384bd6d7a30a61', title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '35cc07ec9ee8e3155606851eeb9864d9f6df6e05', title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { key: 'ac0962b80347b619e4cc534781df397d9bc510e2', title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { key: '65db983d9504b912f12cefc7eea7a5bc8e9f3d73', title: "Account Number", value: this.payout.bank_account.account_number_last4 })), h(DetailSectionTitle, { key: 'bc94a109cf5e2c4dcd32972387a4b167b85d8ccc', sectionTitle: 'Metadata' }), h("div", { key: '1918677f3559ff779b3f1613ee9b2367110f4648', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '2b5dd103cebe0960bdcc6a68f7389780e9d1029b', metadata: this.payout.metadata })))))));
77
+ return (h(StyledHost, { key: 'ace7565dae883381e2668214e01cc949470f4a6a' }, this.loading && h(PayoutDetailsLoading, { key: '9412e6135da55bddc2964b87065f212bdb1399eb' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: 'df9b5bf40cc35a5366e9b1ed296b0e289a9f182c', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '64575c2f0be0beaf72094c0dfe9a343fdcd25c88', slot: "head-info", badge: MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status), title: this.payout.formattedPaymentAmount(this.payout.amount) }, h(EntityHeadInfoItem, { key: 'c95da0d064416dd0fbdff948c92dcd2b116e1da5', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: '765da16cba8659fecc6a4c11b2856f8b1edc3a32', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: 'ff60105de95f6ef897618a5e7cef2fb39257b9c5', title: "ID", value: this.payout.id }), h("div", { key: '8444116278f29220fe7260d6849ed7db2296d4b4', class: "m-4" }, h(Button, { key: '686e61a3ea27b62024e3544c32542e9ca710c96f', variant: "secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: '5d70b7fcd4ac63002659ffc08c3c18e4b18e3f46', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '8d17ae90696880259707d0500873127c7f134339', sectionTitle: "Details" }), h("div", { key: '80111eb713f6b643a415aaf66accfdb9e279fe03', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'a7c7809a862b315960fd3f7aa5c73c45efb55512', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: 'b9b03681675854eb3f0d1445f45b1e20a648ded4', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: 'fa34b24385e0638d7ccd8ceb7382a1f113f0c966', title: "Payout Method", value: this.payout.delivery_method }), h(DetailItem, { key: '6acc6435f7f8b277abd35a8ac90e01556aaab18e', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), h(DetailItem, { key: '560cedeb5230503e74e90bb3e531aed21d317f6c', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), h(DetailSectionTitle, { key: '42e2d36cb570acad67366e65316a22dac8f4d4fc', sectionTitle: "Account" }), h("div", { key: 'f2eebf080a48ba0d818363c09269689e201ed5fc', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '6064911935f9e3ef75db3ec7707dd3a182c98c5c', title: "ID", value: this.payout.account_id }), h(DetailItem, { key: 'eb44916f2659dfc6d81f4e995b3f34527d15e6c2', title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '0dbf8e17dfbc1ff1cd70be1d67a6907b91478a98', title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '2b377f8749d66f6fd58f5a8437c1e21fbb774706', title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { key: '886cc82be28c9cd86200adf78a61846fece1cf40', title: "Account Number", value: this.payout.bank_account.account_number_last4 })), h(DetailSectionTitle, { key: 'ec5c8ab11778eff8b89be26f85c7172d38b5d4b3', sectionTitle: 'Metadata' }), h("div", { key: '9c72eeee6fb33e536c8425ba1dd6d4a0c8b066ce', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '85ea6096635c9bb6c8fc0b5298dd4cbb6411392c', metadata: this.payout.metadata })))))));
63
78
  }
64
79
  static get watchers() { return {
65
80
  "getPayout": ["getPayoutWatcher"]
@@ -1,17 +1,18 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './index-29fcfdf5.js';
2
- import './Checkout-0b4086f8.js';
2
+ import './Checkout-d476bb83.js';
3
3
  import { p as pagingDefaults } from './Pagination-afc8f96d.js';
4
- import './Payment-4f72d277.js';
5
- import './SubAccount-99a00594.js';
4
+ import './Payment-47630113.js';
5
+ import './SubAccount-f31349a9.js';
6
6
  import { a as ComponentErrorCodes, C as ComponentErrorSeverity } from './ComponentError-3ce7f437.js';
7
- import { n as table, o as tableCell } from './parts-186d437f.js';
8
- import { T as TableClickActions, a as Table, b as TableLoadingState, c as TableEmptyState, d as TableErrorState } from './event-types-01dcdcbd.js';
9
- import { p as payoutTableColumns, a as payoutTableCells } from './payouts-table-2e61a116.js';
7
+ import { y as table, z as tableCell } from './parts-93f379ab.js';
8
+ import { T as TableClickActions, a as Table, b as TableLoadingState, c as TableEmptyState, d as TableErrorState } from './event-types-948c3b14.js';
9
+ import { p as payoutTableColumns, a as payoutTableCells } from './payouts-table-4382a264.js';
10
10
  import { o as onQueryParamsChange, q as queryParams } from './payouts-list-params-state-49618e7a.js';
11
+ import './utils-b76d791e.js';
11
12
  import './Dispute-5fd28ec9.js';
12
- import './spinner-879489b3.js';
13
- import './utils-54543523.js';
14
- import './payouts-status-cd58e525.js';
13
+ import './spinner-b83f3a87.js';
14
+ import './payouts-status-b98c8297.js';
15
+ import './badge-b034e71b.js';
15
16
  import './index-a47fdc7f.js';
16
17
 
17
18
  const PayoutsListCore = class {
@@ -147,7 +148,7 @@ const PayoutsListCore = class {
147
148
  return !this.showEmptyState && !this.showErrorState && !this.loading;
148
149
  }
149
150
  render() {
150
- return (h("div", { key: 'b32c27e9cd63eebde1bbce6634eeb8be1c804db8' }, h("div", { key: '842d7df46f21510c872e34234d70a3adef80ebd9', class: "table-wrapper", part: "table-wrapper" }, h("table", { key: '3fb2afe1a78cbb39f896d1833a06c4c976e53292', class: "table table-hover", part: table }, h("thead", { key: '65e335052e013f6bd2ddd154b0772d813b03e02f', class: "table-head sticky-top", part: "table-head" }, h("tr", { key: '0d113369ff9e4a1933b8c0f699e03ab3812d30d4', class: "table-light text-nowrap", part: "table-head-row" }, this.payoutsTable.columnData.map((column) => column))), h("tbody", { key: '64eea2dda7fe52844a39fe4a78840444959c9bf8', class: "table-body" }, h(TableLoadingState, { key: '3f3fb69c8105de8374e57e7279ad0d3e4e88f777', columnSpan: this.payoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'df74f8ea143edbfb57efee6952c7ddffc690db8e', isEmpty: this.showEmptyState, columnSpan: this.payoutsTable.columnKeys.length }), h(TableErrorState, { key: 'd12c61e243397de8024c8fe13e518ae3328b5d95', columnSpan: this.payoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.payoutsTable.rowData.map((data, index) => (h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h("tfoot", { key: '23f8f411959eb2464a4f0d75830adedf5cc9d15b', class: "sticky-bottom" }, h("tr", { key: '63a62a4743ef38050ef9d6f2870fc74b5a011568', class: "table-light align-middle" }, h("td", { key: '23a7b62618db1dd52da8c43627f7d512c2f18bc1', part: tableCell, colSpan: this.payoutsTable.columnData.length }, h("pagination-menu", { key: '3c401e3d08d930cc19c5a09e1b34c740f2dd833b', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
151
+ return (h("div", { key: 'c546790efb9cc49a78063b3761a9c92038acedd5' }, h("div", { key: '60cc337e0c1c4eb7eb59599cdd0520e4031d1ce9', class: "table-wrapper", part: "table-wrapper" }, h("table", { key: 'e7188291031c23dd5bb7f843b4adebb2c5f2675e', class: "table table-hover", part: table }, h("thead", { key: 'eb3a3b5af4016ae73da8af381e778fe433e683c6', class: "table-head sticky-top", part: "table-head" }, h("tr", { key: '9352fcc352a8ea33aa1d49844e092f89a9863ce9', class: "table-light text-nowrap", part: "table-head-row" }, this.payoutsTable.columnData.map((column) => column))), h("tbody", { key: 'c924a2a65215845c119f3339b7905a6d7c3cc1fa', class: "table-body" }, h(TableLoadingState, { key: '1d811e44a1319a102a0c56a62c56dda13eb6463e', columnSpan: this.payoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '4dacb3d2cf264c1c367a465cb04221be6b2f1e21', isEmpty: this.showEmptyState, columnSpan: this.payoutsTable.columnKeys.length }), h(TableErrorState, { key: 'b294b854e12adcf39c32aaaa34b260775c5195b3', columnSpan: this.payoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.payoutsTable.rowData.map((data, index) => (h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h("tfoot", { key: '668400d517551fa89af74f655befc11a091a0de0', class: "sticky-bottom" }, h("tr", { key: 'b59f6342dccf4c34cbdbddcce7cb4e1c12116fe1', class: "table-light align-middle" }, h("td", { key: '022afdd48ae81ec33f85c90e045d197f0e2f90ec', part: tableCell, colSpan: this.payoutsTable.columnData.length }, h("pagination-menu", { key: 'a7e7a1ccdc238af532608626b25123fcd93a6206', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
151
152
  }
152
153
  static get watchers() { return {
153
154
  "queryParams": ["updateOnPropChange"],
@@ -0,0 +1,51 @@
1
+ import { h } from './index-29fcfdf5.js';
2
+ import { B as Badge, a as BadgeVariant } from './badge-b034e71b.js';
3
+
4
+ const MapPayoutStatusToBadge = (status) => {
5
+ const statusToBadgeProps = {
6
+ canceled: {
7
+ variant: BadgeVariant.DANGER,
8
+ title: 'Transfer to your bank account failed',
9
+ text: 'Canceled',
10
+ },
11
+ failed: {
12
+ variant: BadgeVariant.DANGER,
13
+ title: 'Transfer to your bank account failed',
14
+ text: 'Failed',
15
+ },
16
+ forwarded: {
17
+ variant: BadgeVariant.SECONDARY,
18
+ title: 'This payout initially failed; the funds have been forwarded to your next successful payout',
19
+ text: 'Forwarded',
20
+ },
21
+ in_transit: {
22
+ variant: BadgeVariant.PRIMARY,
23
+ title: 'Transfer to your bank account has been initiated',
24
+ text: 'In Transit',
25
+ },
26
+ paid: {
27
+ variant: BadgeVariant.SUCCESS,
28
+ title: 'Successfully deposited into your bank account',
29
+ text: 'Paid',
30
+ },
31
+ pending: {
32
+ variant: BadgeVariant.PRIMARY,
33
+ title: 'Batched and scheduled to be transferred',
34
+ text: 'Pending',
35
+ },
36
+ scheduled: {
37
+ variant: BadgeVariant.PRIMARY,
38
+ title: 'Batched and scheduled to be transferred',
39
+ text: 'Scheduled',
40
+ },
41
+ withdrawn: {
42
+ variant: BadgeVariant.SUCCESS,
43
+ title: 'Negative payout balance successfully withdrawn from your bank account',
44
+ text: 'Withdrawn',
45
+ },
46
+ };
47
+ const badgeProps = statusToBadgeProps[status];
48
+ return h(Badge, Object.assign({}, badgeProps));
49
+ };
50
+
51
+ export { MapPayoutStatusToBadge as M };
@@ -1,7 +1,7 @@
1
1
  import { h } from './index-29fcfdf5.js';
2
- import { c as convertToLocal, b as formatCurrency } from './utils-54543523.js';
3
- import { M as MapPayoutStatusToBadge } from './payouts-status-cd58e525.js';
4
- import { m as getAlternateTableCellPart, k as tableHeadCell } from './parts-186d437f.js';
2
+ import { c as convertToLocal } from './utils-b76d791e.js';
3
+ import { M as MapPayoutStatusToBadge } from './payouts-status-b98c8297.js';
4
+ import { m as getAlternateTableCellPart, k as tableHeadCell } from './parts-93f379ab.js';
5
5
 
6
6
  const defaultColumnsKeys = 'created_at,amount,status,payments_total,refunds_total,fees_total,other_total,csv';
7
7
  const payoutTableColumns = {
@@ -16,19 +16,17 @@ const payoutTableColumns = {
16
16
  csv: () => (h("th", { part: tableHeadCell, scope: "col", title: "Export CSV" })),
17
17
  };
18
18
  const payoutTableCells = (downloadCSV) => ({
19
- created_at: (value, index) => (h("td", { part: getAlternateTableCellPart(index) },
20
- h("div", { class: "fw-bold" },
21
- convertToLocal(value, { showDisplayDate: true }),
22
- " "))),
23
- sub_account_name: (value, index) => (h("td", { part: getAlternateTableCellPart(index) }, value)),
24
- payments_total: (value, index) => (h("td", { part: getAlternateTableCellPart(index) }, formatCurrency(value))),
25
- refunds_total: (value, index) => (h("td", { part: getAlternateTableCellPart(index) }, formatCurrency(value))),
26
- fees_total: (value, index) => (h("td", { part: getAlternateTableCellPart(index) }, formatCurrency(value))),
27
- other_total: (value, index) => (h("td", { part: getAlternateTableCellPart(index) }, formatCurrency(value))),
28
- amount: (value, index) => (h("td", { part: getAlternateTableCellPart(index) }, formatCurrency(value))),
29
- status: (value, index) => (h("td", { part: getAlternateTableCellPart(index), innerHTML: MapPayoutStatusToBadge(value) })),
30
- csv: (value, index) => (h("td", { part: getAlternateTableCellPart(index) },
31
- h("a", { href: "#", onClick: (event) => { event.preventDefault(); downloadCSV(value); } }, "CSV"))),
19
+ created_at: (payout, index) => (h("td", { part: getAlternateTableCellPart(index) },
20
+ h("div", { class: "fw-bold" }, convertToLocal(payout.created_at, { showDisplayDate: true })))),
21
+ sub_account_name: (payout, index) => (h("td", { part: getAlternateTableCellPart(index) }, payout.sub_account_name)),
22
+ payments_total: (payout, index) => (h("td", { part: getAlternateTableCellPart(index) }, payout.formattedPaymentAmount(payout.payments_total))),
23
+ refunds_total: (payout, index) => (h("td", { part: getAlternateTableCellPart(index) }, payout.formattedPaymentAmount(payout.refunds_total))),
24
+ fees_total: (payout, index) => (h("td", { part: getAlternateTableCellPart(index) }, payout.formattedPaymentAmount(payout.fees_total))),
25
+ other_total: (payout, index) => (h("td", { part: getAlternateTableCellPart(index) }, payout.formattedPaymentAmount(payout.other_total))),
26
+ amount: (payout, index) => (h("td", { part: getAlternateTableCellPart(index) }, payout.formattedPaymentAmount(payout.amount))),
27
+ status: (payout, index) => (h("td", { part: getAlternateTableCellPart(index) }, MapPayoutStatusToBadge(payout.status))),
28
+ csv: (payout, index) => (h("td", { part: getAlternateTableCellPart(index) },
29
+ h("a", { href: "#", onClick: (event) => { event.preventDefault(); downloadCSV(payout); } }, "CSV"))),
32
30
  });
33
31
 
34
32
  export { payoutTableCells as a, defaultColumnsKeys as d, payoutTableColumns as p };
@@ -285,4 +285,4 @@ const profitAndLossStatementValidation = (volume, documents, allowOptionalFields
285
285
  }
286
286
  };
287
287
 
288
- export { nicknameValidation as A, accountTypeValidation as B, accountNumberValidation as C, routingNumberValidation as D, voidedCheckValidation as E, governmentIdValidation as F, ss4Validation as G, otherDocumentValidation as H, balanceSheetValidation as I, bankStatementValidation as J, profitAndLossStatementValidation as K, EntityDocument as L, EntityDocumentStorage as M, EntityDocumentType as N, businessClassificationValidation as a, businessNameValidation as b, dateOfIncorporationValidation as c, doingBusinessAsValidation as d, emailValidation as e, paymentVolumeValidation as f, whenServiceReceivedValidation as g, recurringPaymentsValidation as h, industryValidation as i, recurringPaymentsPercentageValidation as j, lineTwoValidation as k, lineOneValidation as l, cityValidation as m, stateValidation as n, otherPaymentDetailsValidation as o, phoneValidation as p, postalValidation as q, revenueValidation as r, seasonalBusinessValidation as s, taxIdValidation as t, identityNameValidation as u, identityTitleValidation as v, websiteUrlValidation as w, dobValidation as x, ssnValidation as y, bankNameValidation as z };
288
+ export { governmentIdValidation as A, ss4Validation as B, otherDocumentValidation as C, balanceSheetValidation as D, bankStatementValidation as E, profitAndLossStatementValidation as F, EntityDocument as G, EntityDocumentStorage as H, bankNameValidation as I, nicknameValidation as J, accountTypeValidation as K, accountNumberValidation as L, routingNumberValidation as M, EntityDocumentType as N, businessClassificationValidation as a, businessNameValidation as b, dateOfIncorporationValidation as c, doingBusinessAsValidation as d, emailValidation as e, paymentVolumeValidation as f, whenServiceReceivedValidation as g, recurringPaymentsValidation as h, industryValidation as i, recurringPaymentsPercentageValidation as j, lineTwoValidation as k, lineOneValidation as l, cityValidation as m, stateValidation as n, otherPaymentDetailsValidation as o, phoneValidation as p, postalValidation as q, revenueValidation as r, seasonalBusinessValidation as s, taxIdValidation as t, identityNameValidation as u, identityTitleValidation as v, websiteUrlValidation as w, dobValidation as x, ssnValidation as y, voidedCheckValidation as z };
@@ -1,5 +1,5 @@
1
1
  import { h } from './index-29fcfdf5.js';
2
- import { s as skeleton } from './parts-186d437f.js';
2
+ import { s as skeleton } from './parts-93f379ab.js';
3
3
 
4
4
  const Skeleton = ({ component = 'div', height, width, className, styles = {}, }) => {
5
5
  const combinedStyle = Object.assign(Object.assign({}, styles), { width,
@@ -1,5 +1,5 @@
1
1
  import { h } from './index-29fcfdf5.js';
2
- import { r as loadingSpinner } from './parts-186d437f.js';
2
+ import { C as loadingSpinner } from './parts-93f379ab.js';
3
3
 
4
4
  const Spinner = () => {
5
5
  return (h("div", { class: "d-flex justify-content-center" },
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h } from './index-29fcfdf5.js';
2
- import { B as Button } from './button-1886a33d.js';
3
- import { C as dropdownMenu } from './parts-186d437f.js';
2
+ import { B as Button } from './button-8a02823c.js';
3
+ import { L as dropdownMenu } from './parts-93f379ab.js';
4
4
 
5
5
  const hasFilters = (params) => {
6
6
  const paginationKeys = ['after_cursor', 'before_cursor'];
@@ -31,7 +31,7 @@ const TableFiltersMenu = class {
31
31
  this.showClearButton = hasFilters(this.params);
32
32
  }
33
33
  render() {
34
- return (h("div", { key: 'b50b85bc459e9f217a70c49505479944572b5daf', class: "d-flex gap-2" }, h("div", { key: 'eedc2d34795d42f10b1db7b7f163096f06b519ff', class: "dropdown pb-3" }, h(Button, { key: '97d365b9c8ac6e5f33fa98768ffa55b988c90a17', variant: "primary", type: "button dropdown-toggle", ref: (el) => (this.anchorButton = el), class: "btn btn-primary dropdown-toggle", "data-test-id": "open-filters-button", "data-bs-toggle": "dropdown" }, "Filters"), h("custom-popper", { key: 'e0f52c3aeb555de14d1e999818468debc59a9fa7', offset: [20, 10], strategy: "fixed", anchorRef: this.anchorButton, trigger: "click" }, h("form", { key: 'bd83ec6ea2949b2313078431c91c711682c5ed53', class: "dropdown-menu", part: dropdownMenu, "data-test-id": "filter-menu", ref: (el) => (this.menu = el), onSubmit: (e) => e.preventDefault() }, h("slot", { key: '08a53808fffd6f029ac83229fa86d13bacf39a7b' })))), h("div", { key: 'f28533474420ac5d80ba3ab6bb5e919ebf644779' }, h(Button, { key: 'cde26e935489d12a34758cf766bcb87296e0f5e8', variant: "secondary", onClick: () => this.clearParams(), hidden: !this.showClearButton, "data-test-id": "clear-filters-button" }, "Clear Filters"))));
34
+ return (h("div", { key: 'ee398b42698ce14cd7d7ac914fe05ecf827adb90', class: "d-flex gap-2" }, h("div", { key: 'd097692b7b7dba1da5b141fccf472a454f008988', class: "dropdown pb-3" }, h(Button, { key: 'bfdc5605e6f771b5492ebecb3a9e857e561c9351', variant: "primary", type: "button dropdown-toggle", ref: (el) => (this.anchorButton = el), class: "btn btn-primary dropdown-toggle", "data-test-id": "open-filters-button", "data-bs-toggle": "dropdown" }, "Filters"), h("custom-popper", { key: '7974738ccf48f25886eb22838744e8761a8aab89', offset: [20, 10], strategy: "fixed", anchorRef: this.anchorButton, trigger: "click" }, h("form", { key: '0f099e12ea159a912874894cdb5533f7bb64a356', class: "dropdown-menu", part: dropdownMenu, "data-test-id": "filter-menu", ref: (el) => (this.menu = el), onSubmit: (e) => e.preventDefault() }, h("slot", { key: '525abf57ddb5a3ab0606037f0538f08ddf6a370b' })))), h("div", { key: '5381355037c7703a4c89015cd0a5ee34e652e221' }, h(Button, { key: 'e304b0f033a95757a9682257c2e4ff6793cd7cdd', variant: "secondary", onClick: () => this.clearParams(), hidden: !this.showClearButton, "data-test-id": "clear-filters-button" }, "Clear Filters"))));
35
35
  }
36
36
  static get watchers() { return {
37
37
  "params": ["watchParamsHandler"]
@@ -1,14 +1,16 @@
1
1
  import { r as registerInstance, c as createEvent, h } from './index-29fcfdf5.js';
2
- import './Checkout-0b4086f8.js';
2
+ import './Checkout-d476bb83.js';
3
3
  import { p as pagingDefaults } from './Pagination-afc8f96d.js';
4
- import './Payment-4f72d277.js';
5
- import './SubAccount-99a00594.js';
6
- import { n as table, o as tableCell } from './parts-186d437f.js';
7
- import { T as TableClickActions, a as Table, b as TableLoadingState, c as TableEmptyState, d as TableErrorState } from './event-types-01dcdcbd.js';
8
- import { t as terminalTableColumns, a as terminalTableCells } from './terminals-table-8e42977c.js';
4
+ import './Payment-47630113.js';
5
+ import './SubAccount-f31349a9.js';
6
+ import { y as table, z as tableCell } from './parts-93f379ab.js';
7
+ import { T as TableClickActions, a as Table, b as TableLoadingState, c as TableEmptyState, d as TableErrorState } from './event-types-948c3b14.js';
8
+ import { t as terminalTableColumns, a as terminalTableCells } from './terminals-table-8f1c2146.js';
9
9
  import { o as onQueryParamsChange, q as queryParams } from './terminals-list-params-state-2c48d35f.js';
10
+ import './utils-b76d791e.js';
10
11
  import './Dispute-5fd28ec9.js';
11
- import './spinner-879489b3.js';
12
+ import './spinner-b83f3a87.js';
13
+ import './badge-b034e71b.js';
12
14
  import './index-a47fdc7f.js';
13
15
 
14
16
  const TerminalsListCore = class {
@@ -131,7 +133,7 @@ const TerminalsListCore = class {
131
133
  return !this.showEmptyState && !this.showErrorState && !this.loading;
132
134
  }
133
135
  render() {
134
- return (h("div", { key: 'a293f76edb152df4636282a1bdb64526743ba62b' }, h("div", { key: '91c87549f3da243bcbc5e8c3f30690b4f3568312', class: "table-wrapper" }, h("table", { key: 'b8666ef07d7cddecfd576520004cb9ae369816d0', class: "table table-hover", part: table }, h("thead", { key: '82f882e9c8ad8cb8b86fdd8054b2db202f31aee6', class: "table-head sticky-top" }, h("tr", { key: 'db96b27008b1cdfb394f7480d163ba98a564e654', class: "table-light text-nowrap" }, this.terminalsTable.columnData.map((column) => column))), h("tbody", { key: 'afe168ca0facd25953f8e23c82ee40b37ff56418', class: "table-body" }, h(TableLoadingState, { key: 'fa4a276edaa35687efd922d987b51248670aad4c', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'a7450b6fc3b6e659c46c57c4bb1e06c8102da809', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), h(TableErrorState, { key: '89894e4c62d1ec4b4d10f1ca8fd50098e655dcf1', columnSpan: this.terminalsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalsTable.rowData.map((data, index) => (h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h("tfoot", { key: 'ba93ff43a8562b4e77b48a0a026d75d9f84e5249', class: "sticky-bottom" }, h("tr", { key: 'bd75b89450eec1db55c7e92b2e79eab559605bba', class: "table-light align-middle" }, h("td", { key: 'b27b8a0bbe6c2d38393684752809d5e909948567', part: tableCell, colSpan: this.terminalsTable.columnData.length }, h("pagination-menu", { key: '959649b1f3c8099c5b929543557823eccd3e9dd9', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
136
+ return (h("div", { key: '6d26b39501a43d464cdf017f18a277f761f7091e' }, h("div", { key: '1742f9eec4c84c80563d9e52829cda195f6d0f35', class: "table-wrapper" }, h("table", { key: 'c286d9fe9e0e42631f281820f4d01bf3a0530a37', class: "table table-hover", part: table }, h("thead", { key: '313503778cc7867e9c1276b8ac65d06367efa9b8', class: "table-head sticky-top" }, h("tr", { key: 'fbc26ae3d1ac4600c03c171c3e77624e66fa7915', class: "table-light text-nowrap" }, this.terminalsTable.columnData.map((column) => column))), h("tbody", { key: '458b4d6639c232a169a37e1920c5765f461fc5ed', class: "table-body" }, h(TableLoadingState, { key: 'ceeef6c53322679adff07b9bb336d9597dd573c7', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'a1ef7bd86fd98c0320539a4c146d41de07901145', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), h(TableErrorState, { key: '5f6cbd7d7e2d09ebb38677f1b141ccbdbac70a9f', columnSpan: this.terminalsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalsTable.rowData.map((data, index) => (h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h("tfoot", { key: 'cc1e06c683ad4bb83e80bd960342773cb3c78cd7', class: "sticky-bottom" }, h("tr", { key: 'e83f5fa8207affced7c4cd507aab27ba48e7df52', class: "table-light align-middle" }, h("td", { key: 'f1b6214fc5455ca39cdf2369636b07ad18b54d3d', part: tableCell, colSpan: this.terminalsTable.columnData.length }, h("pagination-menu", { key: '5ef057eef49aaa9081b9de5ea8c48e996fa5e35a', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
135
137
  }
136
138
  static get watchers() { return {
137
139
  "queryParams": ["updateOnPropChange"],