@justifi/webcomponents 6.12.1-rc.5 → 6.12.1

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 (635) hide show
  1. package/LICENSE +21 -0
  2. package/dist/cjs/{Analytics-D4AupIs5.js → Analytics-BhduX1FR.js} +2 -2
  3. package/dist/cjs/{Plaid-DAigb4JE.js → Plaid-BlSGeGpn.js} +0 -4
  4. package/dist/cjs/additional-questions-form-step_14.cjs.entry.js +12 -12
  5. package/dist/cjs/additional-questions_5.cjs.entry.js +6 -6
  6. package/dist/cjs/bank-account-billing-form-simple_4.cjs.entry.js +3 -3
  7. package/dist/cjs/bank-account-form.cjs.entry.js +4 -4
  8. package/dist/cjs/bank-account-read-only-value.cjs.entry.js +1 -1
  9. package/dist/cjs/{business.service-CdT38fur.js → business.service-BheJs82v.js} +1 -1
  10. package/dist/cjs/card-form.cjs.entry.js +4 -4
  11. package/dist/cjs/{check-pkg-version-Cl1JxnNX.js → check-pkg-version-Bd2yxoh4.js} +1 -1
  12. package/dist/cjs/{checkout.service-BXK8cZfN.js → checkout.service-DZKdHQQq.js} +1 -1
  13. package/dist/cjs/{checkout.store-zTfjieKa.js → checkout.store-CztwuCnG.js} +2 -0
  14. package/dist/cjs/checkouts-list-core.cjs.entry.js +2 -2
  15. package/dist/cjs/custom-popper_2.cjs.entry.js +2 -2
  16. package/dist/cjs/{dispute.service-CeBgrOjr.js → dispute.service-BbtwY673.js} +1 -1
  17. package/dist/cjs/form-address-fields_3.cjs.entry.js +4 -4
  18. package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
  19. package/dist/cjs/form-control-date.cjs.entry.js +2 -2
  20. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
  21. package/dist/cjs/form-control-file.cjs.entry.js +2 -2
  22. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +2 -2
  23. package/dist/cjs/form-control-monetary.cjs.entry.js +2 -2
  24. package/dist/cjs/form-control-number_3.cjs.entry.js +5 -5
  25. package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
  26. package/dist/cjs/form-control-select_2.cjs.entry.js +4 -4
  27. package/dist/cjs/{get-business-Cu7Avp2x.js → get-business-CKC1P4Qs.js} +2 -2
  28. package/dist/cjs/{get-payment-details-qWCANtqS.js → get-payment-details-DL5FmIyF.js} +2 -2
  29. package/dist/cjs/{get-subaccounts-D6z1oD7x.js → get-subaccounts-CVK4O7th.js} +2 -2
  30. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
  31. package/dist/cjs/hidden-input_2.cjs.entry.js +5 -5
  32. package/dist/cjs/internal-button.cjs.entry.js +1 -1
  33. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +8 -8
  34. package/dist/cjs/justifi-apple-pay_11.cjs.entry.js +46 -20
  35. package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +5 -5
  36. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +5 -5
  37. package/dist/cjs/justifi-billing-form-full.cjs.entry.js +1 -1
  38. package/dist/cjs/justifi-billing-form.cjs.entry.js +1 -1
  39. package/dist/cjs/justifi-business-details.cjs.entry.js +58 -22
  40. package/dist/cjs/justifi-business-form.cjs.entry.js +7 -7
  41. package/dist/cjs/justifi-card-billing-form-simple.cjs.entry.js +1 -1
  42. package/dist/cjs/justifi-card-form.cjs.entry.js +5 -5
  43. package/dist/cjs/justifi-checkout.cjs.entry.js +9 -11
  44. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +3 -3
  45. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +8 -8
  46. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
  47. package/dist/cjs/justifi-dispute-management.cjs.entry.js +7 -7
  48. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +10 -10
  49. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +5 -5
  50. package/dist/cjs/justifi-order-terminals.cjs.entry.js +9 -9
  51. package/dist/cjs/justifi-payment-details.cjs.entry.js +69 -30
  52. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +7 -7
  53. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +7 -7
  54. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
  55. package/dist/cjs/justifi-payments-list.cjs.entry.js +132 -18
  56. package/dist/cjs/justifi-payout-details.cjs.entry.js +74 -18
  57. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +7 -7
  58. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +3 -3
  59. package/dist/cjs/justifi-payouts-list.cjs.entry.js +169 -21
  60. package/dist/cjs/justifi-refund-payment.cjs.entry.js +7 -7
  61. package/dist/cjs/justifi-save-new-payment-method.cjs.entry.js +1 -1
  62. package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +1 -1
  63. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +6 -6
  64. package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
  65. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +4 -4
  66. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +7 -7
  67. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +2 -2
  68. package/dist/cjs/justifi-terminals-list.cjs.entry.js +183 -20
  69. package/dist/cjs/loader.cjs.js +1 -1
  70. package/dist/cjs/{package-BRuzzVG1.js → package-CjFkmEML.js} +1 -1
  71. package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
  72. package/dist/cjs/{payment-provisioning-actions-COLn1qHN.js → payment-provisioning-actions-BO7dzIm1.js} +2 -2
  73. package/dist/cjs/payment-provisioning-form-buttons_2.cjs.entry.js +2 -2
  74. package/dist/cjs/{payment.service-CiOWHJtd.js → payment.service-sZKlg2Jq.js} +1 -1
  75. package/dist/cjs/{payout.service-U7tm4CKf.js → payout.service-BcQVsMCS.js} +1 -1
  76. package/dist/cjs/{payouts-status-DXZ5fl4v.js → payouts-status-CwgOMz-S.js} +21 -0
  77. package/dist/cjs/{plaid.service-DFL4b6_i.js → plaid.service-BcgO2VXC.js} +1 -1
  78. package/dist/cjs/radio-list-item.cjs.entry.js +1 -1
  79. package/dist/cjs/save-new-payment-method.cjs.entry.js +2 -2
  80. package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
  81. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +3 -3
  82. package/dist/cjs/{terminal-orders-table-D28SoPYI.js → terminal-orders-table-Cz6qvzVE.js} +1 -1
  83. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
  84. package/dist/cjs/{terminal.service-Cl7Vp33V.js → terminal.service-CjMMWSh3.js} +1 -1
  85. package/dist/cjs/{utils-CIjcxKu1.js → utils-DbTucCTO.js} +1 -1
  86. package/dist/cjs/webcomponents.cjs.js +1 -1
  87. package/dist/collection/api/ApplePay.js +0 -4
  88. package/dist/collection/api/services/apple-pay.service.js +1 -6
  89. package/dist/collection/collection-manifest.json +0 -6
  90. package/dist/collection/components/business-details/justifi-business-details.js +56 -17
  91. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +1 -1
  92. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +2 -2
  93. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +2 -2
  94. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +1 -1
  95. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
  96. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +1 -1
  97. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +2 -2
  98. package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -1
  99. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-form-inputs.js +1 -1
  100. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.js +1 -1
  101. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +1 -1
  102. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.js +1 -1
  103. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +2 -2
  104. package/dist/collection/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.js +1 -1
  105. package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +2 -2
  106. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
  107. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +1 -1
  108. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
  109. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
  110. package/dist/collection/components/checkout/billing-form/bank-account-billing-form-simple.js +1 -1
  111. package/dist/collection/components/checkout/billing-form/card-billing-form-simple.js +1 -1
  112. package/dist/collection/components/checkout/billing-form/justifi-billing-form.js +1 -1
  113. package/dist/collection/components/checkout/card-form/card-form.js +2 -2
  114. package/dist/collection/components/checkout/justifi-checkout.js +4 -7
  115. package/dist/collection/components/checkout/justifi-saved-payment-method.js +1 -1
  116. package/dist/collection/components/checkout/save-new-payment-method/justifi-save-new-payment-method.js +1 -1
  117. package/dist/collection/components/checkout/save-new-payment-method/save-new-payment-method.js +1 -1
  118. package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
  119. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +2 -2
  120. package/dist/collection/components/checkouts-list/justifi-checkouts-list.js +1 -1
  121. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  122. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  123. package/dist/collection/components/dispute-management/dispute-response/justifi-additional-statement.js +1 -1
  124. package/dist/collection/components/dispute-management/dispute-response/justifi-cancellation-policy.js +1 -1
  125. package/dist/collection/components/dispute-management/dispute-response/justifi-customer-details.js +1 -1
  126. package/dist/collection/components/dispute-management/dispute-response/justifi-dispute-response.js +1 -1
  127. package/dist/collection/components/dispute-management/dispute-response/justifi-duplicate-charge.js +1 -1
  128. package/dist/collection/components/dispute-management/dispute-response/justifi-electronic-evidence.js +1 -1
  129. package/dist/collection/components/dispute-management/dispute-response/justifi-product-or-service.js +1 -1
  130. package/dist/collection/components/dispute-management/dispute-response/justifi-refund-policy.js +1 -1
  131. package/dist/collection/components/dispute-management/dispute-response/justifi-shipping-details.js +1 -1
  132. package/dist/collection/components/dispute-management/justifi-dispute-management.js +1 -1
  133. package/dist/collection/components/dispute-management/justifi-dispute-notification.js +2 -2
  134. package/dist/collection/components/filters/table-filters-menu.js +1 -1
  135. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  136. package/dist/collection/components/modular-checkout/justifi-modular-checkout.js +31 -1
  137. package/dist/collection/components/modular-checkout/sub-components/justifi-apple-pay.js +0 -1
  138. package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-billing-form-simple.js +1 -1
  139. package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-form.js +1 -1
  140. package/dist/collection/components/modular-checkout/sub-components/justifi-billing-form-full.js +1 -1
  141. package/dist/collection/components/modular-checkout/sub-components/justifi-card-billing-form-simple.js +1 -1
  142. package/dist/collection/components/modular-checkout/sub-components/justifi-card-form.js +1 -1
  143. package/dist/collection/components/modular-checkout/sub-components/justifi-checkout-summary.js +1 -1
  144. package/dist/collection/components/modular-checkout/sub-components/justifi-google-pay.js +16 -0
  145. package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
  146. package/dist/collection/components/order-terminals/justifi-order-terminals.js +1 -1
  147. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  148. package/dist/collection/components/payment-details/justifi-payment-details.js +59 -17
  149. package/dist/collection/components/payment-transactions-list/justifi-payment-transactions-list.js +1 -1
  150. package/dist/collection/components/payments-list/justifi-payments-list-filters.js +2 -2
  151. package/dist/collection/components/payments-list/justifi-payments-list.js +114 -5
  152. package/dist/collection/components/payout-details/justifi-payout-details.js +86 -8
  153. package/dist/collection/components/payout-transactions-list/justifi-payout-transactions-list.js +1 -1
  154. package/dist/collection/components/payouts-list/justifi-payouts-list-filters.js +2 -2
  155. package/dist/collection/components/payouts-list/justifi-payouts-list.js +166 -7
  156. package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list-filters.js +3 -3
  157. package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list.js +1 -1
  158. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
  159. package/dist/collection/components/terminals-list/justifi-terminals-list-filters.js +1 -1
  160. package/dist/collection/components/terminals-list/justifi-terminals-list.js +153 -7
  161. package/dist/collection/components/tokenize-payment-method/justifi-tokenize-payment-method.js +1 -1
  162. package/dist/collection/store/checkout.store.js +2 -0
  163. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  164. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  165. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  166. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  167. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  168. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  169. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  170. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  171. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  172. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  173. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  174. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  175. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  176. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  177. package/dist/collection/ui-components/internal-button.js +1 -1
  178. package/dist/collection/ui-components/radio-list-item.js +1 -1
  179. package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
  180. package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
  181. package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
  182. package/dist/docs.json +256 -995
  183. package/dist/esm/{Analytics-BCoK2BKE.js → Analytics-4PEV3c9V.js} +3 -3
  184. package/dist/esm/{Api-BrYhtpEh.js → Api-DMd8hTI-.js} +1 -1
  185. package/dist/esm/{Plaid-BMnuSHeX.js → Plaid-BuKEVgbB.js} +2 -6
  186. package/dist/esm/additional-questions-details_5.entry.js +3 -3
  187. package/dist/esm/additional-questions-form-step_14.entry.js +18 -18
  188. package/dist/esm/additional-questions_5.entry.js +7 -7
  189. package/dist/esm/{badge-B_DdhQ3Q.js → badge-B6dp1XGV.js} +1 -1
  190. package/dist/esm/bank-account-billing-form-simple_4.entry.js +5 -5
  191. package/dist/esm/bank-account-form.entry.js +7 -7
  192. package/dist/esm/bank-account-read-only-value.entry.js +2 -2
  193. package/dist/esm/{business.service-D47BEQPH.js → business.service-BPbZ5fxQ.js} +2 -2
  194. package/dist/esm/{button-B-Agn8yQ.js → button-DRdaAudE.js} +1 -1
  195. package/dist/esm/card-form.entry.js +7 -7
  196. package/dist/esm/{check-pkg-version-C1z6CAOx.js → check-pkg-version-BmgaID9z.js} +1 -1
  197. package/dist/esm/{checkout.service-BDZroRf0.js → checkout.service-CJMfFKyS.js} +2 -2
  198. package/dist/esm/{checkout.store-C1TdhFf6.js → checkout.store-DFnkcDZ8.js} +2 -0
  199. package/dist/esm/checkouts-list-core.entry.js +8 -8
  200. package/dist/esm/{checkouts-table-BXm9GGFI.js → checkouts-table-C8sPHeTm.js} +3 -3
  201. package/dist/esm/custom-popper_2.entry.js +3 -3
  202. package/dist/esm/{dispute.service-CuBGEFgB.js → dispute.service-vlYGy0nR.js} +2 -2
  203. package/dist/esm/form-address-fields_3.entry.js +6 -6
  204. package/dist/esm/form-control-checkbox.entry.js +5 -5
  205. package/dist/esm/form-control-date.entry.js +4 -4
  206. package/dist/esm/{form-control-error-text-DMKhr8QA.js → form-control-error-text-DVedKyhp.js} +1 -1
  207. package/dist/esm/form-control-file-v2_2.entry.js +5 -5
  208. package/dist/esm/form-control-file.entry.js +4 -4
  209. package/dist/esm/{form-control-help-text-CsdCuw5-.js → form-control-help-text-D-349cNw.js} +1 -1
  210. package/dist/esm/form-control-monetary-provisioning.entry.js +5 -5
  211. package/dist/esm/form-control-monetary.entry.js +6 -6
  212. package/dist/esm/form-control-number_3.entry.js +9 -9
  213. package/dist/esm/form-control-radio.entry.js +3 -3
  214. package/dist/esm/form-control-select_2.entry.js +6 -6
  215. package/dist/esm/{get-business-BsjvgFCj.js → get-business-DpFRs5dE.js} +2 -2
  216. package/dist/esm/{get-payment-details-Br1249qD.js → get-payment-details-DjBou5Fu.js} +2 -2
  217. package/dist/esm/{get-subaccounts-zrWoI4Bh.js → get-subaccounts-CgDWE_5o.js} +3 -3
  218. package/dist/esm/gross-payment-chart-core.entry.js +5 -5
  219. package/dist/esm/{header-1-bRxxOyI-.js → header-1-Bl7MHW0w.js} +1 -1
  220. package/dist/esm/{header-3-E533c0A3.js → header-3-C7JJVnMG.js} +1 -1
  221. package/dist/esm/hidden-input_2.entry.js +7 -7
  222. package/dist/esm/{insurance-state-obAKb1XR.js → insurance-state-qTdpe84i.js} +1 -1
  223. package/dist/esm/internal-button.entry.js +3 -3
  224. package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
  225. package/dist/esm/justifi-apple-pay_11.entry.js +53 -27
  226. package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +7 -7
  227. package/dist/esm/justifi-bank-account-form.entry.js +7 -7
  228. package/dist/esm/justifi-billing-form-full.entry.js +1 -1
  229. package/dist/esm/justifi-billing-form.entry.js +1 -1
  230. package/dist/esm/justifi-business-details.entry.js +63 -27
  231. package/dist/esm/justifi-business-form.entry.js +13 -13
  232. package/dist/esm/justifi-card-billing-form-simple.entry.js +1 -1
  233. package/dist/esm/justifi-card-form.entry.js +7 -7
  234. package/dist/esm/justifi-checkout.entry.js +12 -14
  235. package/dist/esm/justifi-checkouts-list-filters.entry.js +5 -5
  236. package/dist/esm/justifi-checkouts-list.entry.js +13 -13
  237. package/dist/esm/justifi-details.entry.js +2 -2
  238. package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
  239. package/dist/esm/justifi-dispute-management.entry.js +9 -9
  240. package/dist/esm/justifi-dispute-notification_3.entry.js +15 -15
  241. package/dist/esm/justifi-gross-payment-chart.entry.js +9 -9
  242. package/dist/esm/justifi-order-terminals.entry.js +13 -13
  243. package/dist/esm/justifi-payment-details.entry.js +71 -32
  244. package/dist/esm/justifi-payment-provisioning.entry.js +13 -13
  245. package/dist/esm/justifi-payment-transactions-list.entry.js +12 -12
  246. package/dist/esm/justifi-payments-list-filters.entry.js +4 -4
  247. package/dist/esm/justifi-payments-list.entry.js +134 -20
  248. package/dist/esm/justifi-payout-details.entry.js +76 -20
  249. package/dist/esm/justifi-payout-transactions-list.entry.js +12 -12
  250. package/dist/esm/justifi-payouts-list-filters.entry.js +5 -5
  251. package/dist/esm/justifi-payouts-list.entry.js +170 -22
  252. package/dist/esm/justifi-refund-payment.entry.js +12 -12
  253. package/dist/esm/justifi-save-new-payment-method.entry.js +1 -1
  254. package/dist/esm/justifi-saved-payment-method.entry.js +2 -2
  255. package/dist/esm/justifi-season-interruption-insurance.entry.js +11 -11
  256. package/dist/esm/justifi-skeleton.entry.js +3 -3
  257. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +6 -6
  258. package/dist/esm/justifi-terminal-orders-list.entry.js +11 -11
  259. package/dist/esm/justifi-terminals-list-filters.entry.js +4 -4
  260. package/dist/esm/justifi-terminals-list.entry.js +184 -21
  261. package/dist/esm/loader.js +1 -1
  262. package/dist/esm/{package-DbJ8_F44.js → package-CXKOe1m5.js} +1 -1
  263. package/dist/esm/pagination-menu.entry.js +1 -1
  264. package/dist/esm/{parts-D50Rx76J.js → parts-DnrawQn3.js} +1 -1
  265. package/dist/esm/payment-method-option.entry.js +2 -2
  266. package/dist/esm/{payment-provisioning-actions-B6LHK2Ka.js → payment-provisioning-actions-Dr0YIShV.js} +2 -2
  267. package/dist/esm/payment-provisioning-form-buttons_2.entry.js +4 -4
  268. package/dist/esm/{payment-provisioning-loading-BAoIyEOj.js → payment-provisioning-loading-DI2wDkhm.js} +1 -1
  269. package/dist/esm/{payment.service-C6ebnLOw.js → payment.service-Ckbb7gXA.js} +2 -2
  270. package/dist/esm/{payments-status-7P7L51CK.js → payments-status-BIDoGw-m.js} +1 -1
  271. package/dist/esm/{payout.service-B6KqlDyg.js → payout.service-BgFKxEoL.js} +2 -2
  272. package/dist/esm/{payouts-status-CGZRMu-q.js → payouts-status-1T2NZBoE.js} +22 -2
  273. package/dist/esm/{plaid.service-BS8Zt6ui.js → plaid.service-BLguQHs_.js} +2 -2
  274. package/dist/esm/radio-list-item.entry.js +2 -2
  275. package/dist/esm/save-new-payment-method.entry.js +2 -2
  276. package/dist/esm/{skeleton-DV6yJalo.js → skeleton-CXGFVqDf.js} +1 -1
  277. package/dist/esm/{spinner--fEgBBOG.js → spinner-kSw6PcwU.js} +1 -1
  278. package/dist/esm/{table-Deugl8h5.js → table-CcyuIutB.js} +2 -2
  279. package/dist/esm/table-filters-menu.entry.js +3 -3
  280. package/dist/esm/terminal-orders-list-core.entry.js +8 -8
  281. package/dist/esm/{terminal-orders-table-BKbTybx0.js → terminal-orders-table-C7KOcRpq.js} +4 -4
  282. package/dist/esm/terminal-quantity-selector.entry.js +2 -2
  283. package/dist/esm/{terminal.service-0AO0m5oh.js → terminal.service-0oISl5j-.js} +2 -2
  284. package/dist/esm/{utils-De6tr4ug.js → utils-BTtxWI2r.js} +1 -1
  285. package/dist/esm/{utils-DJOBwFeP.js → utils-BxYS3WDw.js} +1 -1
  286. package/dist/esm/{utils-DtiRLISl.js → utils-DcfpJGDZ.js} +1 -1
  287. package/dist/esm/webcomponents.js +1 -1
  288. package/dist/module/ApplePay.js +0 -4
  289. package/dist/module/Plaid.js +2 -2
  290. package/dist/module/additional-questions2.js +1 -1
  291. package/dist/module/bank-account-billing-form-simple2.js +1 -1
  292. package/dist/module/bank-account-document-form-inputs2.js +1 -1
  293. package/dist/module/bank-account-form-inputs-canada2.js +1 -1
  294. package/dist/module/bank-account-form-inputs2.js +1 -1
  295. package/dist/module/bank-account-form2.js +2 -2
  296. package/dist/module/bank-account-read-only-value2.js +1 -1
  297. package/dist/module/business-bank-account-form-step2.js +1 -1
  298. package/dist/module/business-core-info2.js +2 -2
  299. package/dist/module/business-representative-form-inputs2.js +2 -2
  300. package/dist/module/business-representative2.js +2 -2
  301. package/dist/module/business-terms-conditions-form-step2.js +1 -1
  302. package/dist/module/card-billing-form-simple2.js +1 -1
  303. package/dist/module/card-form2.js +2 -2
  304. package/dist/module/checkout.store.js +2 -0
  305. package/dist/module/checkouts-list-core2.js +1 -1
  306. package/dist/module/custom-popper2.js +2 -2
  307. package/dist/module/dispute-management-core.js +1 -1
  308. package/dist/module/dispute-response-core.js +1 -1
  309. package/dist/module/form-address-fields2.js +1 -1
  310. package/dist/module/form-control-checkbox2.js +2 -2
  311. package/dist/module/form-control-date2.js +2 -2
  312. package/dist/module/form-control-file-v22.js +1 -1
  313. package/dist/module/form-control-file2.js +2 -2
  314. package/dist/module/form-control-monetary-provisioning2.js +2 -2
  315. package/dist/module/form-control-monetary2.js +3 -3
  316. package/dist/module/form-control-number-masked2.js +2 -2
  317. package/dist/module/form-control-number2.js +2 -2
  318. package/dist/module/form-control-radio2.js +2 -2
  319. package/dist/module/form-control-select2.js +2 -2
  320. package/dist/module/form-control-text2.js +2 -2
  321. package/dist/module/form-control-textarea2.js +2 -2
  322. package/dist/module/gross-payment-chart-core2.js +2 -2
  323. package/dist/module/hidden-input2.js +1 -1
  324. package/dist/module/identity-address-form2.js +1 -1
  325. package/dist/module/iframe-input2.js +3 -3
  326. package/dist/module/internal-button2.js +1 -1
  327. package/dist/module/justifi-additional-statement2.js +1 -1
  328. package/dist/module/justifi-apple-pay2.js +1 -7
  329. package/dist/module/justifi-bank-account-billing-form-simple.js +1 -1
  330. package/dist/module/justifi-bank-account-form.js +1 -1
  331. package/dist/module/justifi-billing-form-full.js +1 -1
  332. package/dist/module/justifi-billing-form.js +1 -1
  333. package/dist/module/justifi-business-details.js +64 -27
  334. package/dist/module/justifi-button2.js +1 -1
  335. package/dist/module/justifi-cancellation-policy2.js +1 -1
  336. package/dist/module/justifi-card-billing-form-simple.js +1 -1
  337. package/dist/module/justifi-card-form.js +1 -1
  338. package/dist/module/justifi-checkout-summary2.js +2 -2
  339. package/dist/module/justifi-checkout.js +4 -7
  340. package/dist/module/justifi-checkouts-list-filters.js +2 -2
  341. package/dist/module/justifi-checkouts-list.js +2 -2
  342. package/dist/module/justifi-customer-details2.js +1 -1
  343. package/dist/module/justifi-dispute-management.js +1 -1
  344. package/dist/module/justifi-dispute-notification2.js +3 -3
  345. package/dist/module/justifi-dispute-response2.js +1 -1
  346. package/dist/module/justifi-duplicate-charge2.js +1 -1
  347. package/dist/module/justifi-electronic-evidence2.js +1 -1
  348. package/dist/module/justifi-google-pay2.js +2 -0
  349. package/dist/module/justifi-header2.js +1 -1
  350. package/dist/module/justifi-modular-checkout2.js +31 -1
  351. package/dist/module/justifi-order-terminals.js +2 -2
  352. package/dist/module/justifi-payment-details.js +71 -29
  353. package/dist/module/justifi-payment-provisioning.js +1 -1
  354. package/dist/module/justifi-payment-transactions-list.js +2 -2
  355. package/dist/module/justifi-payments-list-filters.js +2 -2
  356. package/dist/module/justifi-payments-list.js +137 -18
  357. package/dist/module/justifi-payout-details.js +76 -21
  358. package/dist/module/justifi-payout-transactions-list.js +2 -2
  359. package/dist/module/justifi-payouts-list-filters.js +3 -3
  360. package/dist/module/justifi-payouts-list.js +174 -20
  361. package/dist/module/justifi-product-or-service2.js +1 -1
  362. package/dist/module/justifi-refund-payment.js +1 -1
  363. package/dist/module/justifi-refund-policy2.js +1 -1
  364. package/dist/module/justifi-save-new-payment-method.js +1 -1
  365. package/dist/module/justifi-saved-payment-method.js +1 -1
  366. package/dist/module/justifi-season-interruption-insurance.js +1 -1
  367. package/dist/module/justifi-sezzle-payment-method2.js +1 -1
  368. package/dist/module/justifi-shipping-details2.js +1 -1
  369. package/dist/module/justifi-skeleton.js +1 -1
  370. package/dist/module/justifi-terminal-orders-list-filters.js +4 -4
  371. package/dist/module/justifi-terminal-orders-list.js +2 -2
  372. package/dist/module/justifi-terminals-list-filters.js +2 -2
  373. package/dist/module/justifi-terminals-list.js +190 -20
  374. package/dist/module/justifi-tokenize-payment-method2.js +1 -1
  375. package/dist/module/legal-address-form2.js +1 -1
  376. package/dist/module/owner-details2.js +1 -1
  377. package/dist/module/owner-form-core2.js +1 -1
  378. package/dist/module/owner-form-inputs2.js +2 -2
  379. package/dist/module/owner-form2.js +1 -1
  380. package/dist/module/package.js +1 -1
  381. package/dist/module/payment-method-option.js +1 -1
  382. package/dist/module/payment-provisioning-form-buttons2.js +1 -1
  383. package/dist/module/payment-provisioning-form-steps2.js +1 -1
  384. package/dist/module/payouts-status.js +21 -1
  385. package/dist/module/radio-list-item2.js +1 -1
  386. package/dist/module/representative-details2.js +1 -1
  387. package/dist/module/save-new-payment-method2.js +1 -1
  388. package/dist/module/table-filters-menu2.js +1 -1
  389. package/dist/module/terminal-orders-list-core2.js +2 -2
  390. package/dist/module/terminal-quantity-selector2.js +1 -1
  391. package/dist/module/utils2.js +1 -1
  392. package/dist/types/api/ApplePay.d.ts +0 -7
  393. package/dist/types/components/business-details/justifi-business-details.d.ts +7 -2
  394. package/dist/types/components/checkout/justifi-checkout.d.ts +0 -1
  395. package/dist/types/components/modular-checkout/justifi-modular-checkout.d.ts +2 -0
  396. package/dist/types/components/modular-checkout/sub-components/justifi-google-pay.d.ts +1 -0
  397. package/dist/types/components/payment-details/justifi-payment-details.d.ts +7 -4
  398. package/dist/types/components/payments-list/justifi-payments-list.d.ts +19 -2
  399. package/dist/types/components/payout-details/justifi-payout-details.d.ts +10 -2
  400. package/dist/types/components/payouts-list/justifi-payouts-list.d.ts +25 -2
  401. package/dist/types/components/terminals-list/justifi-terminals-list.d.ts +24 -2
  402. package/dist/types/components.d.ts +10 -216
  403. package/dist/types/store/checkout.store.d.ts +2 -0
  404. package/dist/webcomponents/{p-C2h_HoOZ.js → p--e0ff06z.js} +1 -1
  405. package/dist/webcomponents/p-017edf85.entry.js +1 -0
  406. package/dist/webcomponents/p-032b4553.entry.js +1 -0
  407. package/dist/webcomponents/p-042daaf8.entry.js +1 -0
  408. package/dist/webcomponents/{p-272cc70e.entry.js → p-0638f0bd.entry.js} +1 -1
  409. package/dist/webcomponents/p-06e88d51.entry.js +1 -0
  410. package/dist/webcomponents/{p-8d215ad8.entry.js → p-09d2efad.entry.js} +1 -1
  411. package/dist/webcomponents/p-0b3f4f22.entry.js +1 -0
  412. package/dist/webcomponents/{p-b7ac15d8.entry.js → p-0e9cb724.entry.js} +1 -1
  413. package/dist/webcomponents/{p-c499a613.entry.js → p-10be75b8.entry.js} +1 -1
  414. package/dist/webcomponents/p-11faee45.entry.js +1 -0
  415. package/dist/webcomponents/p-1e080e95.entry.js +1 -0
  416. package/dist/webcomponents/p-1e66d430.entry.js +1 -0
  417. package/dist/webcomponents/{p-de4c796a.entry.js → p-1e877e0a.entry.js} +1 -1
  418. package/dist/webcomponents/p-238163d8.entry.js +1 -0
  419. package/dist/webcomponents/{p-5d2bcf39.entry.js → p-2425a375.entry.js} +1 -1
  420. package/dist/webcomponents/p-24935254.entry.js +1 -0
  421. package/dist/webcomponents/{p-938e4dc8.entry.js → p-256c5509.entry.js} +1 -1
  422. package/dist/webcomponents/p-259ea5e0.entry.js +1 -0
  423. package/dist/webcomponents/p-2LVpxCS_.js +1 -0
  424. package/dist/webcomponents/p-2b25c768.entry.js +1 -0
  425. package/dist/webcomponents/{p-89bf64ef.entry.js → p-354fb3c4.entry.js} +1 -1
  426. package/dist/webcomponents/{p-257597f1.entry.js → p-3c046adc.entry.js} +1 -1
  427. package/dist/webcomponents/p-4f57368a.entry.js +1 -0
  428. package/dist/webcomponents/p-52908814.entry.js +1 -0
  429. package/dist/webcomponents/p-587886f1.entry.js +1 -0
  430. package/dist/webcomponents/p-5ef355ce.entry.js +1 -0
  431. package/dist/webcomponents/p-608a41d2.entry.js +1 -0
  432. package/dist/webcomponents/p-61ebdd8b.entry.js +1 -0
  433. package/dist/webcomponents/{p-2595b409.entry.js → p-647668b6.entry.js} +1 -1
  434. package/dist/webcomponents/p-6917aa3c.entry.js +1 -0
  435. package/dist/webcomponents/{p-d072a65f.entry.js → p-6d81822f.entry.js} +1 -1
  436. package/dist/webcomponents/{p-3e74bd93.entry.js → p-6ecb3ef9.entry.js} +1 -1
  437. package/dist/webcomponents/p-80652cf8.entry.js +1 -0
  438. package/dist/webcomponents/{p-b322d2f3.entry.js → p-8253ef9f.entry.js} +1 -1
  439. package/dist/webcomponents/p-82fe02e4.entry.js +1 -0
  440. package/dist/webcomponents/p-83147f23.entry.js +1 -0
  441. package/dist/webcomponents/p-87a4b33f.entry.js +1 -0
  442. package/dist/webcomponents/p-8c2427ed.entry.js +1 -0
  443. package/dist/webcomponents/p-92de00d7.entry.js +1 -0
  444. package/dist/webcomponents/p-9581d6a1.entry.js +1 -0
  445. package/dist/webcomponents/p-9870fff0.entry.js +1 -0
  446. package/dist/webcomponents/{p-7791b55e.entry.js → p-9db1444f.entry.js} +1 -1
  447. package/dist/webcomponents/p-9f74d7ea.entry.js +1 -0
  448. package/dist/webcomponents/{p-DV_3k3u_.js → p-B--N37zY.js} +1 -1
  449. package/dist/webcomponents/p-B5vVjDc_.js +1 -0
  450. package/dist/webcomponents/p-BArmtmkq.js +1 -0
  451. package/dist/webcomponents/{p-CTwm3w6I.js → p-BRnBHsdq.js} +1 -1
  452. package/dist/webcomponents/p-BsQy297i.js +1 -0
  453. package/dist/webcomponents/p-CDf5H0TB.js +1 -0
  454. package/dist/webcomponents/{p-eNNtSIbE.js → p-CR_-qIuN.js} +1 -1
  455. package/dist/webcomponents/{p-CprMk6Bv.js → p-CUI41_5y.js} +1 -1
  456. package/dist/webcomponents/p-CX36GHQP.js +1 -0
  457. package/dist/webcomponents/p-CXKOe1m5.js +1 -0
  458. package/dist/webcomponents/{p-CEnTtUmd.js → p-CYQvLgSs.js} +1 -1
  459. package/dist/webcomponents/p-Cej-1bD6.js +1 -0
  460. package/dist/webcomponents/p-Cf6HoQKl.js +1 -0
  461. package/dist/webcomponents/{p-s8zhbjC5.js → p-CsdYMTrc.js} +1 -1
  462. package/dist/webcomponents/{p-CzdAS9Jo.js → p-D1D2eC05.js} +1 -1
  463. package/dist/webcomponents/p-D4OlsyTo.js +1 -0
  464. package/dist/webcomponents/{p-CbM9cuX_.js → p-DPmnGTmg.js} +1 -1
  465. package/dist/webcomponents/p-DWevPe7C.js +1 -0
  466. package/dist/webcomponents/{p-Bo0dEB2o.js → p-Dbg501Lu.js} +1 -1
  467. package/dist/webcomponents/p-DcBvJu0k.js +1 -0
  468. package/dist/webcomponents/p-DkdzUTnl.js +1 -0
  469. package/dist/webcomponents/{p-D50Rx76J.js → p-DnrawQn3.js} +1 -1
  470. package/dist/webcomponents/p-GJyHX3us.js +1 -0
  471. package/dist/webcomponents/{p-D4DAh8XF.js → p-GP5gWjhc.js} +1 -1
  472. package/dist/webcomponents/p-MDZuGvsl.js +1 -0
  473. package/dist/webcomponents/p-XrKLre8M.js +1 -0
  474. package/dist/webcomponents/p-a7a1b168.entry.js +1 -0
  475. package/dist/webcomponents/p-b06910b0.entry.js +1 -0
  476. package/dist/webcomponents/{p-d34f497c.entry.js → p-b483e71b.entry.js} +1 -1
  477. package/dist/webcomponents/p-b6d59ff4.entry.js +1 -0
  478. package/dist/webcomponents/{p-c683cb34.entry.js → p-b76b743e.entry.js} +1 -1
  479. package/dist/webcomponents/p-b8c59954.entry.js +1 -0
  480. package/dist/webcomponents/{p-431ad048.entry.js → p-bc2af6b4.entry.js} +1 -1
  481. package/dist/webcomponents/p-befe01ef.entry.js +1 -0
  482. package/dist/webcomponents/p-bfe2583d.entry.js +1 -0
  483. package/dist/webcomponents/{p-CwdQ1VdH.js → p-bn_huKYG.js} +1 -1
  484. package/dist/webcomponents/p-c4767c7b.entry.js +1 -0
  485. package/dist/webcomponents/{p-C7SCfFA7.js → p-cXPhRFs-.js} +1 -1
  486. package/dist/webcomponents/p-cd267d76.entry.js +1 -0
  487. package/dist/webcomponents/p-cf31ccdd.entry.js +1 -0
  488. package/dist/webcomponents/p-d253a573.entry.js +1 -0
  489. package/dist/webcomponents/p-d3829e18.entry.js +1 -0
  490. package/dist/webcomponents/p-d58a330d.entry.js +1 -0
  491. package/dist/webcomponents/p-d878df6c.entry.js +1 -0
  492. package/dist/webcomponents/{p-bbcaa5cc.entry.js → p-ddf699e6.entry.js} +4 -4
  493. package/dist/webcomponents/{p-1c54dc53.entry.js → p-e6e56dbb.entry.js} +1 -1
  494. package/dist/webcomponents/p-ea30cf08.entry.js +1 -0
  495. package/dist/webcomponents/p-ed580b3c.entry.js +1 -0
  496. package/dist/webcomponents/p-edf5a854.entry.js +1 -0
  497. package/dist/webcomponents/p-f481695c.entry.js +1 -0
  498. package/dist/webcomponents/p-f4b390bc.entry.js +1 -0
  499. package/dist/webcomponents/{p-c4c9f37b.entry.js → p-f91c49a2.entry.js} +1 -1
  500. package/dist/webcomponents/p-fc7ba195.entry.js +1 -0
  501. package/dist/webcomponents/{p-MvySE12i.js → p-hhdRync5.js} +1 -1
  502. package/dist/webcomponents/p-niGr4RT2.js +1 -0
  503. package/dist/webcomponents/{p-Da4efjxw.js → p-pL4dNfsl.js} +1 -1
  504. package/dist/webcomponents/p-qcQTYcr3.js +1 -0
  505. package/dist/webcomponents/p-uCg79W3M.js +1 -0
  506. package/dist/webcomponents/{p-CjuaXEuI.js → p-x9fFFf7F.js} +1 -1
  507. package/dist/webcomponents/webcomponents.esm.js +1 -1
  508. package/package.json +14 -14
  509. package/dist/cjs/business-details-core.cjs.entry.js +0 -61
  510. package/dist/cjs/get-payout-csv-DDrtCacG.js +0 -24
  511. package/dist/cjs/payment-details-core.cjs.entry.js +0 -83
  512. package/dist/cjs/payments-list-core.cjs.entry.js +0 -112
  513. package/dist/cjs/payments-table-CUxpxNnc.js +0 -50
  514. package/dist/cjs/payout-details-core.cjs.entry.js +0 -89
  515. package/dist/cjs/payouts-list-core.cjs.entry.js +0 -162
  516. package/dist/cjs/payouts-table-Dex2W8r1.js +0 -34
  517. package/dist/cjs/terminals-list-core.cjs.entry.js +0 -146
  518. package/dist/cjs/terminals-table-DmnAuog5.js +0 -64
  519. package/dist/collection/components/business-details/business-details-core.js +0 -105
  520. package/dist/collection/components/payment-details/payment-details-core.js +0 -127
  521. package/dist/collection/components/payments-list/payments-list-core.js +0 -202
  522. package/dist/collection/components/payout-details/payout-details-core.js +0 -199
  523. package/dist/collection/components/payouts-list/payouts-list-core.js +0 -298
  524. package/dist/collection/components/terminals-list/terminals-list-core.js +0 -262
  525. package/dist/esm/business-details-core.entry.js +0 -59
  526. package/dist/esm/get-payout-csv-Dhezo7Ty.js +0 -22
  527. package/dist/esm/payment-details-core.entry.js +0 -81
  528. package/dist/esm/payments-list-core.entry.js +0 -110
  529. package/dist/esm/payments-table-n1VrIKIR.js +0 -46
  530. package/dist/esm/payout-details-core.entry.js +0 -87
  531. package/dist/esm/payouts-list-core.entry.js +0 -160
  532. package/dist/esm/payouts-table-CbzI90ci.js +0 -30
  533. package/dist/esm/terminals-list-core.entry.js +0 -144
  534. package/dist/esm/terminals-table-Bja7MP5H.js +0 -60
  535. package/dist/module/business-details-core.d.ts +0 -11
  536. package/dist/module/business-details-core.js +0 -6
  537. package/dist/module/business-details-core2.js +0 -117
  538. package/dist/module/get-payout-csv.js +0 -22
  539. package/dist/module/payment-details-core.d.ts +0 -11
  540. package/dist/module/payment-details-core.js +0 -6
  541. package/dist/module/payment-details-core2.js +0 -109
  542. package/dist/module/payments-list-core.d.ts +0 -11
  543. package/dist/module/payments-list-core.js +0 -6
  544. package/dist/module/payments-list-core2.js +0 -184
  545. package/dist/module/payout-details-core.d.ts +0 -11
  546. package/dist/module/payout-details-core.js +0 -6
  547. package/dist/module/payout-details-core2.js +0 -118
  548. package/dist/module/payouts-list-core.d.ts +0 -11
  549. package/dist/module/payouts-list-core.js +0 -6
  550. package/dist/module/payouts-list-core2.js +0 -221
  551. package/dist/module/terminals-list-core.d.ts +0 -11
  552. package/dist/module/terminals-list-core.js +0 -6
  553. package/dist/module/terminals-list-core2.js +0 -236
  554. package/dist/types/components/business-details/business-details-core.d.ts +0 -19
  555. package/dist/types/components/payment-details/payment-details-core.d.ts +0 -16
  556. package/dist/types/components/payments-list/payments-list-core.d.ts +0 -28
  557. package/dist/types/components/payout-details/payout-details-core.d.ts +0 -20
  558. package/dist/types/components/payouts-list/payouts-list-core.d.ts +0 -36
  559. package/dist/types/components/terminals-list/terminals-list-core.d.ts +0 -34
  560. package/dist/webcomponents/p-0b95dd8f.entry.js +0 -1
  561. package/dist/webcomponents/p-0f961323.entry.js +0 -1
  562. package/dist/webcomponents/p-15dfb893.entry.js +0 -1
  563. package/dist/webcomponents/p-15f43759.entry.js +0 -1
  564. package/dist/webcomponents/p-1628613b.entry.js +0 -1
  565. package/dist/webcomponents/p-180a3b65.entry.js +0 -1
  566. package/dist/webcomponents/p-18fc10ca.entry.js +0 -1
  567. package/dist/webcomponents/p-1b610299.entry.js +0 -1
  568. package/dist/webcomponents/p-1b92fb9a.entry.js +0 -1
  569. package/dist/webcomponents/p-1srXnUJh.js +0 -1
  570. package/dist/webcomponents/p-22798967.entry.js +0 -1
  571. package/dist/webcomponents/p-26c419f3.entry.js +0 -1
  572. package/dist/webcomponents/p-2d680f77.entry.js +0 -1
  573. package/dist/webcomponents/p-30f61950.entry.js +0 -1
  574. package/dist/webcomponents/p-38281490.entry.js +0 -1
  575. package/dist/webcomponents/p-39bb134c.entry.js +0 -1
  576. package/dist/webcomponents/p-3a4e27f6.entry.js +0 -1
  577. package/dist/webcomponents/p-3c50f7aa.entry.js +0 -1
  578. package/dist/webcomponents/p-4db2e291.entry.js +0 -1
  579. package/dist/webcomponents/p-4df1d08d.entry.js +0 -1
  580. package/dist/webcomponents/p-548c411f.entry.js +0 -1
  581. package/dist/webcomponents/p-55e7e239.entry.js +0 -1
  582. package/dist/webcomponents/p-563097f0.entry.js +0 -1
  583. package/dist/webcomponents/p-605636be.entry.js +0 -1
  584. package/dist/webcomponents/p-6e5ec134.entry.js +0 -1
  585. package/dist/webcomponents/p-6efbbec1.entry.js +0 -1
  586. package/dist/webcomponents/p-71de86bf.entry.js +0 -1
  587. package/dist/webcomponents/p-7225bc77.entry.js +0 -1
  588. package/dist/webcomponents/p-7c244e99.entry.js +0 -1
  589. package/dist/webcomponents/p-84168bf0.entry.js +0 -1
  590. package/dist/webcomponents/p-84879c92.entry.js +0 -1
  591. package/dist/webcomponents/p-8d5138d8.entry.js +0 -1
  592. package/dist/webcomponents/p-8e9407a1.entry.js +0 -1
  593. package/dist/webcomponents/p-92e64f49.entry.js +0 -1
  594. package/dist/webcomponents/p-9805bc39.entry.js +0 -1
  595. package/dist/webcomponents/p-B--wlcf0.js +0 -1
  596. package/dist/webcomponents/p-BJtvT9BX.js +0 -1
  597. package/dist/webcomponents/p-BrO0HEFJ.js +0 -1
  598. package/dist/webcomponents/p-C-QiUcEa.js +0 -1
  599. package/dist/webcomponents/p-C6IaNDXe.js +0 -1
  600. package/dist/webcomponents/p-C95_YBmG.js +0 -1
  601. package/dist/webcomponents/p-CSW_ZzE9.js +0 -1
  602. package/dist/webcomponents/p-CV3lgp6D.js +0 -1
  603. package/dist/webcomponents/p-D5MdA21U.js +0 -1
  604. package/dist/webcomponents/p-D68EHdgA.js +0 -1
  605. package/dist/webcomponents/p-DB_pqjwH.js +0 -1
  606. package/dist/webcomponents/p-DU2RAZiD.js +0 -1
  607. package/dist/webcomponents/p-DbJ8_F44.js +0 -1
  608. package/dist/webcomponents/p-Df9FVwA7.js +0 -1
  609. package/dist/webcomponents/p-DgPbJiLD.js +0 -1
  610. package/dist/webcomponents/p-DmBX8khF.js +0 -1
  611. package/dist/webcomponents/p-DsYFjVQa.js +0 -1
  612. package/dist/webcomponents/p-EBsfAkrP.js +0 -1
  613. package/dist/webcomponents/p-N60pPiy5.js +0 -1
  614. package/dist/webcomponents/p-_fynNk40.js +0 -1
  615. package/dist/webcomponents/p-ad785edd.entry.js +0 -1
  616. package/dist/webcomponents/p-b1a947c8.entry.js +0 -1
  617. package/dist/webcomponents/p-b1c179d7.entry.js +0 -1
  618. package/dist/webcomponents/p-b822ab7e.entry.js +0 -1
  619. package/dist/webcomponents/p-bd3f7117.entry.js +0 -1
  620. package/dist/webcomponents/p-c29859d9.entry.js +0 -1
  621. package/dist/webcomponents/p-c30dd92c.entry.js +0 -1
  622. package/dist/webcomponents/p-cfd944e6.entry.js +0 -1
  623. package/dist/webcomponents/p-dc99d6b0.entry.js +0 -1
  624. package/dist/webcomponents/p-dd704b1a.entry.js +0 -1
  625. package/dist/webcomponents/p-e29f42c6.entry.js +0 -1
  626. package/dist/webcomponents/p-e322fcca.entry.js +0 -1
  627. package/dist/webcomponents/p-e360d88f.entry.js +0 -1
  628. package/dist/webcomponents/p-eadbb4dc.entry.js +0 -1
  629. package/dist/webcomponents/p-ef30afd5.entry.js +0 -1
  630. package/dist/webcomponents/p-eff6a50d.entry.js +0 -1
  631. package/dist/webcomponents/p-f266373d.entry.js +0 -1
  632. package/dist/webcomponents/p-fb04fa5a.entry.js +0 -1
  633. package/dist/webcomponents/p-feb19fa5.entry.js +0 -1
  634. package/dist/webcomponents/p-k4rghbOK.js +0 -1
  635. package/dist/webcomponents/p-xSaSp1Jy.js +0 -1
@@ -1,9 +1,9 @@
1
- import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
1
+ import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
2
2
  import { P as PaymentService } from './payment.service.js';
3
3
  import './config-state.js';
4
4
  import './dinero.js';
5
5
  import { e as Payment, C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Plaid.js';
6
- import './Pagination.js';
6
+ import { p as pagingDefaults } from './Pagination.js';
7
7
  import './Business.js';
8
8
  import './ApplePay.js';
9
9
  import { g as getErrorCode, a as getErrorMessage } from './utils3.js';
@@ -11,10 +11,14 @@ import { J as JustifiAnalytics } from './Analytics.js';
11
11
  import { c as checkPkgVersion } from './check-pkg-version.js';
12
12
  import { S as StyledHost } from './styled-host.js';
13
13
  import './justifi-details2.js';
14
- import './event-types.js';
14
+ import { T as Table, a as TableWrapper, b as TableComponent, c as TableHead, d as TableHeadRow, e as TableBody, f as TableLoadingState, g as TableEmptyState, h as TableErrorState, i as TableRow, j as TableFoot, k as TableFootRow, l as TableFootCell } from './table.js';
15
+ import { T as TableClickActions } from './event-types.js';
15
16
  import './justifi-radio-list-item2.js';
16
- import { d as defineCustomElement$2, a as defaultColumnsKeys } from './payments-list-core2.js';
17
- import { d as defineCustomElement$3 } from './pagination-menu2.js';
17
+ import { M as MapPaymentStatusToBadge } from './payments-status.js';
18
+ import { h as convertToLocal } from './utils2.js';
19
+ import { B as tableHeadCell, ah as getAlternateTableCellPart } from './parts.js';
20
+ import { o as onQueryParamsChange, g as getRequestParams } from './payments-list-params-state.js';
21
+ import { d as defineCustomElement$2 } from './pagination-menu2.js';
18
22
 
19
23
  const makeGetPayments = ({ id, authToken, service }) => async ({ params, onSuccess, onError, final }) => {
20
24
  var _a, _b;
@@ -48,6 +52,46 @@ const makeGetPayments = ({ id, authToken, service }) => async ({ params, onSucce
48
52
  }
49
53
  };
50
54
 
55
+ const mapCardBrandToDisplayName = (brand) => {
56
+ if (!brand)
57
+ return 'N/A';
58
+ const brandMap = {
59
+ 'visa': 'VISA',
60
+ 'mastercard': 'Mastercard',
61
+ 'american_express': 'American Express',
62
+ 'discover': 'Discover',
63
+ 'diners_club': 'Diners Club',
64
+ 'jcb': 'JCB',
65
+ 'china_unionpay': 'China UnionPay',
66
+ 'unknown': 'Unknown'
67
+ };
68
+ return brandMap[brand.toLowerCase()] || brand;
69
+ };
70
+ const defaultColumnsKeys = 'created_at,amount,status,payment_type,description,payers_name,last_four_digits,card_brand';
71
+ const paymentTableColumns = {
72
+ created_at: () => (h("th", { part: tableHeadCell, scope: "col", title: "The date and time each payment was made" }, "Date")),
73
+ amount: () => (h("th", { part: tableHeadCell, scope: "col", title: "The dollar amount of each payment" }, "Amount")),
74
+ status: () => (h("th", { part: tableHeadCell, scope: "col", title: "The current status of each payment" }, "Status")),
75
+ payment_type: () => (h("th", { part: tableHeadCell, scope: "col", title: "The type of each payment" }, "Type")),
76
+ description: () => (h("th", { part: tableHeadCell, scope: "col", title: "The payment description, if you provided one" }, "Description")),
77
+ payers_name: () => (h("th", { part: tableHeadCell, scope: "col", title: "The name associated with the payment method" }, "Account Holder")),
78
+ last_four_digits: () => (h("th", { part: tableHeadCell, scope: "col", title: "The brand and last 4 digits of the payment method" }, "Payment Method")),
79
+ card_brand: () => (h("th", { part: tableHeadCell, scope: "col", title: "The brand of the payment method" }, "Card Brand")),
80
+ };
81
+ const paymentTableCells = {
82
+ created_at: (payment, index) => (h("td", { part: getAlternateTableCellPart(index) }, h("div", { class: "fw-bold" }, convertToLocal(payment.created_at, { showDisplayDate: true })), h("div", { class: "fw-bold" }, convertToLocal(payment.created_at, { showTime: true })))),
83
+ amount: (payment, index) => (h("td", { part: getAlternateTableCellPart(index) }, payment.formattedPaymentAmount(payment.amount))),
84
+ status: (payment, index) => (h("td", { part: getAlternateTableCellPart(index) }, MapPaymentStatusToBadge(payment.status))),
85
+ payment_type: (payment, index) => (h("td", { part: getAlternateTableCellPart(index) }, payment.payment_type)),
86
+ description: (payment, index) => (h("td", { part: getAlternateTableCellPart(index) }, payment.description)),
87
+ payers_name: (payment, index) => (h("td", { part: getAlternateTableCellPart(index) }, payment.payers_name)),
88
+ last_four_digits: (payment, index) => (h("td", { part: getAlternateTableCellPart(index) }, payment.last_four_digits)),
89
+ card_brand: (payment, index) => {
90
+ var _a, _b;
91
+ return (h("td", { part: getAlternateTableCellPart(index) }, mapCardBrandToDisplayName(((_a = payment.payment_method.card) === null || _a === void 0 ? void 0 : _a.brand) || ((_b = payment.payment_method.bank_account) === null || _b === void 0 ? void 0 : _b.brand))));
92
+ },
93
+ };
94
+
51
95
  const JustifiPaymentsList$1 = /*@__PURE__*/ proxyCustomElement(class JustifiPaymentsList extends HTMLElement {
52
96
  constructor(registerHost) {
53
97
  super();
@@ -56,17 +100,42 @@ const JustifiPaymentsList$1 = /*@__PURE__*/ proxyCustomElement(class JustifiPaym
56
100
  }
57
101
  this.__attachShadow();
58
102
  this.errorEvent = createEvent(this, "error-event", 7);
103
+ this.clickEvent = createEvent(this, "click-event", 7);
59
104
  this.errorMessage = null;
105
+ this.payments = [];
106
+ this.loading = true;
107
+ this.paging = pagingDefaults;
108
+ this.pagingParams = {};
60
109
  this.columns = defaultColumnsKeys;
61
- this.handleErrorEvent = (event) => {
62
- this.errorMessage = event.detail.message;
63
- this.errorEvent.emit(event.detail);
110
+ this.handleClickPrevious = (beforeCursor) => {
111
+ this.pagingParams = { before_cursor: beforeCursor };
112
+ this.clickEvent.emit({ name: TableClickActions.previous });
113
+ };
114
+ this.handleClickNext = (afterCursor) => {
115
+ this.pagingParams = { after_cursor: afterCursor };
116
+ this.clickEvent.emit({ name: TableClickActions.next });
117
+ };
118
+ this.rowClickHandler = (e) => {
119
+ const clickedPaymentID = e.target.closest('tr').dataset.rowEntityId;
120
+ if (!clickedPaymentID)
121
+ return;
122
+ const paymentData = this.payments.find((payment) => payment.id === clickedPaymentID);
123
+ this.clickEvent.emit({ name: TableClickActions.row, data: paymentData });
64
124
  };
65
125
  }
66
126
  componentWillLoad() {
67
127
  checkPkgVersion();
68
128
  this.analytics = new JustifiAnalytics(this);
129
+ this.paymentsTable = new Table(this.payments, this.columns, paymentTableColumns, paymentTableCells);
69
130
  this.initializeGetPayments();
131
+ onQueryParamsChange('set', () => {
132
+ this.pagingParams = {};
133
+ this.errorMessage = '';
134
+ });
135
+ onQueryParamsChange('reset', () => {
136
+ this.pagingParams = {};
137
+ this.errorMessage = '';
138
+ });
70
139
  }
71
140
  disconnectedCallback() {
72
141
  var _a;
@@ -76,6 +145,9 @@ const JustifiPaymentsList$1 = /*@__PURE__*/ proxyCustomElement(class JustifiPaym
76
145
  propChanged() {
77
146
  this.initializeGetPayments();
78
147
  }
148
+ updateOnPropChange() {
149
+ this.fetchData();
150
+ }
79
151
  initializeGetPayments() {
80
152
  if (this.accountId && this.authToken) {
81
153
  this.getPayments = makeGetPayments({
@@ -93,28 +165,80 @@ const JustifiPaymentsList$1 = /*@__PURE__*/ proxyCustomElement(class JustifiPaym
93
165
  });
94
166
  }
95
167
  }
168
+ fetchData() {
169
+ if (!this.getPayments)
170
+ return;
171
+ this.loading = true;
172
+ this.getPayments({
173
+ params: this.paymentParams,
174
+ onSuccess: ({ payments, pagingInfo }) => {
175
+ this.payments = payments;
176
+ this.paging = pagingInfo;
177
+ this.paymentsTable.collectionData = this.payments;
178
+ },
179
+ onError: ({ error, code, severity }) => {
180
+ this.errorMessage = error;
181
+ this.errorEvent.emit({
182
+ errorCode: code,
183
+ message: error,
184
+ severity,
185
+ });
186
+ },
187
+ final: () => {
188
+ this.loading = false;
189
+ }
190
+ });
191
+ }
192
+ get paymentParams() {
193
+ const requestParams = getRequestParams();
194
+ const params = Object.assign(Object.assign({}, requestParams), this.pagingParams);
195
+ return params;
196
+ }
197
+ get entityId() {
198
+ return this.payments.map((payment) => payment.id);
199
+ }
200
+ get showEmptyState() {
201
+ return !this.loading && !this.errorMessage && this.paymentsTable.rowData.length < 1;
202
+ }
203
+ get showErrorState() {
204
+ return !this.loading && !!this.errorMessage;
205
+ }
206
+ get showRowData() {
207
+ return !this.showEmptyState && !this.showErrorState && !this.loading;
208
+ }
96
209
  render() {
97
- return (h(StyledHost, { key: '1eb44d7abbd8ad6964538435786007fcd1792b41' }, h("payments-list-core", { key: '6e178dfa35e107c2d0653a9fc1e0d1247ef99bb0', getPayments: this.getPayments, "onError-event": this.handleErrorEvent, columns: this.columns })));
210
+ return (h(StyledHost, { key: '6e1b9127bd44def13ca0e9360f3ad94e8c99860e' }, h(TableWrapper, { key: '556583538e7dd2cadd84980277da82902eba942f' }, h(TableComponent, { key: 'bc604eb09bcb019786afb272f597da99d6635872' }, h(TableHead, { key: '3e030bf889ea09510c26147d807a427d4a772d23' }, h(TableHeadRow, { key: 'c193117a1db06574c019922536a6982e4c6f09fb' }, this.paymentsTable.columnData.map((column) => column))), h(TableBody, { key: 'aa955b2adc05c02fbe7a6c693de4649e90855aba' }, h(TableLoadingState, { key: '35930a22ccdcc360e5e3f192c3fb140711508742', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: '1582993843ac6661d2c5b62e07b1911ab940cb3c', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), h(TableErrorState, { key: '328f38cc95fb2f854865e4e05ace7e9ce8af8b69', columnSpan: this.paymentsTable.columnData.length, errorMessage: this.errorMessage }), this.showRowData && this.paymentsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '0137371c7f1ab00f8ef3d27cebb30525eff6b659' }, h(TableFootRow, { key: '54ed0b9a13338b0bcefba282afe4f2de40e8f539' }, h(TableFootCell, { key: '6b98204f36a989fe9bd2bda65705de88098690c5', colSpan: this.paymentsTable.columnData.length }, h("pagination-menu", { key: 'e3fce4ab3efcc9a33d0b2617cea88026c8a459f3', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
98
211
  }
99
212
  static get watchers() { return {
100
213
  "accountId": ["propChanged"],
101
- "authToken": ["propChanged"]
214
+ "authToken": ["propChanged"],
215
+ "pagingParams": ["updateOnPropChange"],
216
+ "getPayments": ["updateOnPropChange"],
217
+ "columns": ["updateOnPropChange"]
102
218
  }; }
103
219
  }, [257, "justifi-payments-list", {
104
220
  "accountId": [1, "account-id"],
105
221
  "authToken": [1, "auth-token"],
106
222
  "columns": [1],
107
223
  "getPayments": [32],
108
- "errorMessage": [32]
224
+ "errorMessage": [32],
225
+ "payments": [32],
226
+ "paymentsTable": [32],
227
+ "loading": [32],
228
+ "paging": [32],
229
+ "pagingParams": [32]
109
230
  }, undefined, {
110
231
  "accountId": ["propChanged"],
111
- "authToken": ["propChanged"]
232
+ "authToken": ["propChanged"],
233
+ "pagingParams": ["updateOnPropChange"],
234
+ "getPayments": ["updateOnPropChange"],
235
+ "columns": ["updateOnPropChange"]
112
236
  }]);
113
237
  function defineCustomElement$1() {
114
238
  if (typeof customElements === "undefined") {
115
239
  return;
116
240
  }
117
- const components = ["justifi-payments-list", "pagination-menu", "payments-list-core"];
241
+ const components = ["justifi-payments-list", "pagination-menu"];
118
242
  components.forEach(tagName => { switch (tagName) {
119
243
  case "justifi-payments-list":
120
244
  if (!customElements.get(tagName)) {
@@ -122,11 +246,6 @@ function defineCustomElement$1() {
122
246
  }
123
247
  break;
124
248
  case "pagination-menu":
125
- if (!customElements.get(tagName)) {
126
- defineCustomElement$3();
127
- }
128
- break;
129
- case "payments-list-core":
130
249
  if (!customElements.get(tagName)) {
131
250
  defineCustomElement$2();
132
251
  }
@@ -1,18 +1,24 @@
1
- import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
1
+ import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
2
2
  import { P as PayoutService } from './payout.service.js';
3
3
  import './config-state.js';
4
4
  import './dinero.js';
5
- import { o as Payout, C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Plaid.js';
5
+ import { p as Payout, C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Plaid.js';
6
6
  import './Pagination.js';
7
7
  import './Business.js';
8
8
  import './ApplePay.js';
9
9
  import { g as getErrorCode, a as getErrorMessage } from './utils3.js';
10
- import { E as ErrorState } from './utils.js';
10
+ import { j as capitalizeFirstLetter, f as formatDate, a as formatTime } from './utils2.js';
11
+ import { E as ErrorState, b as EntityHeadInfo, c as EntityHeadInfoItem, D as DetailSectionTitle, a as DetailItem, C as CodeBlock } from './utils.js';
11
12
  import { J as JustifiAnalytics } from './Analytics.js';
12
- import { m as makeGetPayoutCSV } from './get-payout-csv.js';
13
+ import { m as makeGetPayoutCSV, M as MapPayoutStatusToBadge } from './payouts-status.js';
13
14
  import { c as checkPkgVersion } from './check-pkg-version.js';
14
- import { d as defineCustomElement$3 } from './justifi-details2.js';
15
- import { d as defineCustomElement$2 } from './payout-details-core2.js';
15
+ import { B as Button } from './button.js';
16
+ import { S as StyledHost } from './styled-host.js';
17
+ import { d as defineCustomElement$2 } from './justifi-details2.js';
18
+ import './event-types.js';
19
+ import './justifi-radio-list-item2.js';
20
+ import { S as Skeleton } from './skeleton.js';
21
+ import { B as Badge, a as BadgeVariant } from './badge.js';
16
22
 
17
23
  const makeGetPayoutDetails = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
18
24
  var _a;
@@ -43,6 +49,8 @@ const makeGetPayoutDetails = ({ id, authToken, service }) => async ({ onSuccess,
43
49
  }
44
50
  };
45
51
 
52
+ const PayoutDetailsLoading = () => (h("div", { class: "row gap-3" }, h("div", { class: "col-12" }, h(Skeleton, { width: "35%", height: "30px" })), h("div", { class: "col-12" }, h(Skeleton, { width: "70%" })), h("div", { class: "col-12" }, h(Skeleton, { width: "40%" })), h("div", { class: "col-12" }, h(Skeleton, { width: "40%" })), h("div", { class: "col-12" }, h(Skeleton, { width: "100%" })), h("div", { class: "col-12" }, h(Skeleton, { width: "80%" }))));
53
+
46
54
  const JustifiPayoutDetails$1 = /*@__PURE__*/ proxyCustomElement(class JustifiPayoutDetails extends HTMLElement {
47
55
  constructor(registerHost) {
48
56
  super();
@@ -51,17 +59,37 @@ const JustifiPayoutDetails$1 = /*@__PURE__*/ proxyCustomElement(class JustifiPay
51
59
  }
52
60
  this.__attachShadow();
53
61
  this.errorEvent = createEvent(this, "error-event", 7);
62
+ this.recordClickEvent = createEvent(this, "record-click-event", 7);
54
63
  this.enableRecordClick = false;
64
+ this.loading = true;
55
65
  this.errorMessage = null;
56
- this.handleErrorEvent = (event) => {
57
- this.errorMessage = event.detail.message;
58
- this.errorEvent.emit(event.detail);
66
+ this.downloadCSV = () => {
67
+ this.getPayoutCSV({
68
+ payoutId: this.payout.id,
69
+ onError: ({ error, code, severity }) => {
70
+ this.errorMessage = error;
71
+ this.errorEvent.emit({
72
+ message: error,
73
+ errorCode: code,
74
+ severity,
75
+ });
76
+ },
77
+ });
78
+ };
79
+ this.handleRecordClick = (id) => {
80
+ this.recordClickEvent.emit({
81
+ id,
82
+ type: 'account'
83
+ });
59
84
  };
60
85
  }
61
86
  componentWillLoad() {
62
87
  checkPkgVersion();
63
88
  this.analytics = new JustifiAnalytics(this);
64
89
  this.initializeServices();
90
+ if (this.getPayout) {
91
+ this.fetchData();
92
+ }
65
93
  }
66
94
  disconnectedCallback() {
67
95
  var _a;
@@ -71,6 +99,9 @@ const JustifiPayoutDetails$1 = /*@__PURE__*/ proxyCustomElement(class JustifiPay
71
99
  propChanged() {
72
100
  this.initializeServices();
73
101
  }
102
+ getPayoutWatcher() {
103
+ this.fetchData();
104
+ }
74
105
  initializeServices() {
75
106
  if (this.payoutId && this.authToken) {
76
107
  this.getPayout = makeGetPayoutDetails({
@@ -92,15 +123,41 @@ const JustifiPayoutDetails$1 = /*@__PURE__*/ proxyCustomElement(class JustifiPay
92
123
  });
93
124
  }
94
125
  }
126
+ fetchData() {
127
+ this.loading = true;
128
+ this.getPayout({
129
+ onSuccess: (payout) => {
130
+ this.errorMessage = null;
131
+ this.payout = payout;
132
+ this.loading = false;
133
+ },
134
+ onError: ({ error, code, severity }) => {
135
+ this.errorMessage = error;
136
+ this.errorEvent.emit({
137
+ message: error,
138
+ errorCode: code,
139
+ severity,
140
+ });
141
+ this.loading = false;
142
+ },
143
+ });
144
+ }
145
+ formatMethod(deliveryMethod) {
146
+ if (deliveryMethod === "ach")
147
+ return "ACH";
148
+ return capitalizeFirstLetter(deliveryMethod);
149
+ }
95
150
  render() {
96
- if (this.errorMessage) {
97
- return ErrorState(this.errorMessage);
98
- }
99
- return (h("payout-details-core", { getPayout: this.getPayout, getPayoutCSV: this.getPayoutCSV, "onError-event": this.handleErrorEvent, enableRecordClick: this.enableRecordClick }));
151
+ var _a;
152
+ return (h(StyledHost, { key: '83a5916c440ac2cc4efe216dd175c8816e23c815' }, this.loading && h(PayoutDetailsLoading, { key: 'd11ad391a3eaacc5dd6a9a0303d80f496955d369' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: 'a3be08ef5ad0882ec4a611aa597b0b69914cb560', errorMessage: this.errorMessage }, h(EntityHeadInfo, { key: '4cea018e82c69b391a5dfc326d0ebb2aac43bcee', slot: "head-info", badge: (h("div", { class: "d-flex gap-1" }, MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status), this.payout.settlement_priority === 'expedited' ? (h(Badge, { variant: BadgeVariant.WARNING, title: "Expedited", text: "Expedited" })) : (h(Badge, { variant: BadgeVariant.SECONDARY, title: "Standard", text: "Standard" })))), title: this.payout.formattedPaymentAmount(this.payout.amount) }, h(EntityHeadInfoItem, { key: '4f44184dcdf1313048d9a2ee5c9be928c1a2b5ef', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: 'd6042bde890fcd4b8ff63856d53debf289ab6d2d', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: '2866ed7c297a0815bad29bfca699893ead3af6ca', title: "ID", value: this.payout.id }), h("div", { key: '1a7a105da3b0297f90c9a33fe76aa650c9c5aaa0', class: "m-4" }, h(Button, { key: '31d8cb414516d5b4244179e6e905cb0d6f4499fa', variant: "outline-secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: '1c1c4896b3f2a0c463880c082fdb43fdd6996de3', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '481c8f87d29ba4583a40370415fd6f144a601462', sectionTitle: "Details" }), h("div", { key: '2f0f38440296dc01dee0fefab2b7f6a1bd04e4bf', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: 'd8fe26cee63860bc4e02ffad0e64834ea888d8e3', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: 'd4a94c5ad5a78c41d314377316ce71db24b79db5', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: 'fea138338da1c74d26dacfeaa15642962346658c', title: "Payout Method", value: this.formatMethod(this.payout.delivery_method) }), h(DetailItem, { key: 'f77701ef18590ed73431614f421b9d76a9b83da6', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), h(DetailItem, { key: 'af2401b0ad8b35f55283d74eae20fdf7ceea0b82', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), h(DetailSectionTitle, { key: '96801f26f15e665e856262f65c0c6cea6f92bd9a', sectionTitle: "Account" }), h("div", { key: '54578f116a6b23c5c1dce11d450eb18be304ab65', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: 'fa8ab204001e4be0cf2aa71fa2f955532f1ac81c', title: "ID", value: this.payout.account_id, onClick: this.enableRecordClick ? () => this.handleRecordClick(this.payout.account_id) : undefined }), h(DetailItem, { key: 'a0e1afcd7e7d86afb500cf876b7b61e74183f4c9', title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '6b78025d11ac562f6950f07d3dc8e5c4041a236f', title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '93f4f6d947d1b621de0b1d2a24dbcf83e9c909ef', title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { key: 'cbe9a97153516dd2cbf6af4337179652d0f834ac', title: "Account Number", value: `**** ${this.payout.bank_account.account_number_last4}` })), this.payout.metadata && [
153
+ h(DetailSectionTitle, { key: '706f2d164a736fb80a8c91018f61e7667eb12be6', sectionTitle: 'Metadata' }),
154
+ h("div", { key: '5be03b700c79d747899db7d9bee8a060c5de7894', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '8dc3aa6522c59f7a5739eda61354bb1ac58ee3ac', metadata: this.payout.metadata }))
155
+ ])))));
100
156
  }
101
157
  static get watchers() { return {
102
158
  "payoutId": ["propChanged"],
103
- "authToken": ["propChanged"]
159
+ "authToken": ["propChanged"],
160
+ "getPayout": ["getPayoutWatcher"]
104
161
  }; }
105
162
  }, [257, "justifi-payout-details", {
106
163
  "payoutId": [1, "payout-id"],
@@ -108,16 +165,19 @@ const JustifiPayoutDetails$1 = /*@__PURE__*/ proxyCustomElement(class JustifiPay
108
165
  "enableRecordClick": [4, "enable-record-click"],
109
166
  "getPayout": [32],
110
167
  "getPayoutCSV": [32],
168
+ "payout": [32],
169
+ "loading": [32],
111
170
  "errorMessage": [32]
112
171
  }, undefined, {
113
172
  "payoutId": ["propChanged"],
114
- "authToken": ["propChanged"]
173
+ "authToken": ["propChanged"],
174
+ "getPayout": ["getPayoutWatcher"]
115
175
  }]);
116
176
  function defineCustomElement$1() {
117
177
  if (typeof customElements === "undefined") {
118
178
  return;
119
179
  }
120
- const components = ["justifi-payout-details", "justifi-details", "payout-details-core"];
180
+ const components = ["justifi-payout-details", "justifi-details"];
121
181
  components.forEach(tagName => { switch (tagName) {
122
182
  case "justifi-payout-details":
123
183
  if (!customElements.get(tagName)) {
@@ -125,11 +185,6 @@ function defineCustomElement$1() {
125
185
  }
126
186
  break;
127
187
  case "justifi-details":
128
- if (!customElements.get(tagName)) {
129
- defineCustomElement$3();
130
- }
131
- break;
132
- case "payout-details-core":
133
188
  if (!customElements.get(tagName)) {
134
189
  defineCustomElement$2();
135
190
  }
@@ -1,7 +1,7 @@
1
1
  import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
2
2
  import { c as configState } from './config-state.js';
3
3
  import './dinero.js';
4
- import { r as PayoutBalanceTransaction, C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Plaid.js';
4
+ import { q as PayoutBalanceTransaction, C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Plaid.js';
5
5
  import { p as pagingDefaults } from './Pagination.js';
6
6
  import './Business.js';
7
7
  import './ApplePay.js';
@@ -188,7 +188,7 @@ const JustifiPayoutTransactionsList$1 = /*@__PURE__*/ proxyCustomElement(class J
188
188
  return Object.assign({ payout_id: this.payoutId, limit: '15' }, this.pagingParams);
189
189
  }
190
190
  render() {
191
- return (h(StyledHost, { key: '11a6336fb75a4286c102b935c7b175ce69c21521' }, h(TableWrapper, { key: '86f55e7840af3698d87965f638d7871d894110ec' }, h(TableComponent, { key: '2551d91ac0085cb5c0b15de9b3929b3dea004645' }, h(TableHead, { key: '97b793a3fb5f076618566253298bf315b67f0cdd' }, h(TableHeadRow, { key: '817fa7f9950e56a76661e8ff987c5c7035244907' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: '367eb4f20acc3dc9a59dfb0389f296d687380e1b' }, h(TableLoadingState, { key: '594684a6762fd79fc797b195d5f6d296e893fd10', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: '19b8983d2ea0c4a9fba4f44b404bd6901cc62137', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: '552c7c8291dde9f2a4fe0d15a999d077ef663c8f', columnSpan: this.transactionsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.transactionsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '4486862a5aaa488014414e586d5f77d03ba7176c' }, h(TableFootRow, { key: '27a019583305eea31f402a8b3655686370f93c66' }, h(TableFootCell, { key: '6f42b298a2b2f8a5eeac49cd5bf4ca944d0be8a3', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: 'c62634fb0f4b18c07334b99a9c083f398e8c2ecc', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
191
+ return (h(StyledHost, { key: '6bcc0b4af31b1b1481caa3a2ea58f21e961b4777' }, h(TableWrapper, { key: '506239f8d1f08007c93d09b35973e773447b95f0' }, h(TableComponent, { key: 'ab46955207d861620abb1fe328ba8eb47bf6912e' }, h(TableHead, { key: 'b7c20c0d180e208a8a8d585751180be5f979c4a8' }, h(TableHeadRow, { key: '6f47150a981f137cb3633437744b36e6c9b1f3f0' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: 'eb7912643fe3a3d9f66a2becbb130ba8a1a33127' }, h(TableLoadingState, { key: 'c2f95846f4c90535695ebce26c82b90b3ae022fe', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: '93c2764401380a7dad07907c9f264d991f0b8e9d', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: '2ab2bcc9f9d2768a17a6e511d0ecf7a24a2ca4b1', columnSpan: this.transactionsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.transactionsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: 'd5c76e1db68cebd0acac42f607a7602db3ab967a' }, h(TableFootRow, { key: '28d6eed555117e50a852c899085b634ba1ff1ccb' }, h(TableFootCell, { key: 'b4eceba9f0a705ee8824aeb313b1505752b9a53e', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: 'ba042ec0410830443db71fbeb8d90162ce761996', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
192
192
  }
193
193
  static get watchers() { return {
194
194
  "pagingParams": ["propChanged"],
@@ -7,7 +7,7 @@ import './event-types.js';
7
7
  import './justifi-radio-list-item2.js';
8
8
  import { e as convertToUTC, h as convertToLocal } from './utils2.js';
9
9
  import './config-state.js';
10
- import { i as PayoutStatusesSafeNames } from './Plaid.js';
10
+ import { h as PayoutStatusesSafeNames } from './Plaid.js';
11
11
  import './Pagination.js';
12
12
  import './Business.js';
13
13
  import './ApplePay.js';
@@ -57,8 +57,8 @@ const JustifiPayoutsListFilters$1 = /*@__PURE__*/ proxyCustomElement(class Justi
57
57
  }
58
58
  render() {
59
59
  const filterMenuParams = Object.assign({}, filterParams);
60
- return (h(StyledHost, { key: 'd3bc9678b5a917f90f77797f2812774e344661ca' }, h("table-filters-menu", { key: '43b3edf9649083af410db0eeff26f03b04c8ba2e', params: filterMenuParams, clearParams: clearParams, part: filterMenu }, h("div", { key: '1c0a6dea3fda9cebd921763a80077c1a8ffae110', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '59b1e4bbad4ae8e6f7a4229b1955599dc5c75da6', class: "p-2" }, h("form-control-select", { key: '05d9f42aba49452661cd0be0a0023917ef580112', name: "status", label: "Status", options: this.statusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.status || filterParams.status || '', disabled: !!this.status, part: filterParam })), h("div", { key: '231fa8934abaa002ca7bb45cd1ef9bd6520802a8', class: "p-2" }, h("form-control-date", { key: '707552858fbb3dfb07b4f68558cee0c2c6d16d31', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDate: true }) ||
61
- convertToLocal(filterParams.created_after, { showInputDate: true }), disabled: !!this.createdAfter, part: filterParam })), h("div", { key: 'a71fc710171d9a75ebbc05be361b1b3416929dc5', class: "p-2" }, h("form-control-date", { key: 'de614ef74fb2e8d3ea1ad1f187513e9004d81e40', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDate: true }) ||
60
+ return (h(StyledHost, { key: 'cae6be7a9441ff6024548135f66a73694c53b10b' }, h("table-filters-menu", { key: 'a419bb5344248f9a857a9b21800c482a983e68e8', params: filterMenuParams, clearParams: clearParams, part: filterMenu }, h("div", { key: 'ee4aa221a245a63e181d9f1e31a0b120cbe4ff2c', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '32ba66ccea590b297d27ec734c6e6b3da1d7ae0f', class: "p-2" }, h("form-control-select", { key: 'ff480f5fc8d38d0240d952b1cd689d4f5776e35d', name: "status", label: "Status", options: this.statusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.status || filterParams.status || '', disabled: !!this.status, part: filterParam })), h("div", { key: '3b3de6360d735ac8399d2e16538a00aa5736a6c1', class: "p-2" }, h("form-control-date", { key: 'f3f9fe5154fdf1d98becdcd4c8ed5a0099c8aa76', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDate: true }) ||
61
+ convertToLocal(filterParams.created_after, { showInputDate: true }), disabled: !!this.createdAfter, part: filterParam })), h("div", { key: '0e95676650aba436b67f9e0537a5f3467015c9e5', class: "p-2" }, h("form-control-date", { key: '6aafa1c4d7cc1921559de295e3213307cc34ed54', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDate: true }) ||
62
62
  convertToLocal(filterParams.created_before, { showInputDate: true }), disabled: !!this.createdBefore, part: filterParam }))))));
63
63
  }
64
64
  }, [257, "justifi-payouts-list-filters", {