@justifi/webcomponents 6.12.1-rc.5 → 6.12.2

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 (646) hide show
  1. package/LICENSE +21 -0
  2. package/dist/cjs/{Analytics-D4AupIs5.js → Analytics-C1Wd9OW4.js} +3 -3
  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-DMXmPDqZ.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 +117 -53
  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 -12
  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 +10 -8
  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-CRaVpb0w.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/Analytics.js +1 -1
  88. package/dist/collection/api/ApplePay.js +0 -4
  89. package/dist/collection/api/services/apple-pay.service.js +1 -6
  90. package/dist/collection/collection-manifest.json +0 -6
  91. package/dist/collection/components/business-details/justifi-business-details.js +56 -17
  92. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +1 -1
  93. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +2 -2
  94. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +2 -2
  95. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +1 -1
  96. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
  97. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +1 -1
  98. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +2 -2
  99. package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -1
  100. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-form-inputs.js +1 -1
  101. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.js +1 -1
  102. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +1 -1
  103. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.js +1 -1
  104. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +2 -2
  105. package/dist/collection/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.js +1 -1
  106. package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +2 -2
  107. package/dist/collection/components/business-forms/payment-provisioning/justifi-payment-provisioning.js +3 -1
  108. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
  109. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +1 -1
  110. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
  111. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
  112. package/dist/collection/components/checkout/billing-form/bank-account-billing-form-simple.js +1 -1
  113. package/dist/collection/components/checkout/billing-form/card-billing-form-simple.js +1 -1
  114. package/dist/collection/components/checkout/billing-form/justifi-billing-form.js +1 -1
  115. package/dist/collection/components/checkout/card-form/card-form.js +2 -2
  116. package/dist/collection/components/checkout/justifi-checkout.js +4 -8
  117. package/dist/collection/components/checkout/justifi-saved-payment-method.js +1 -1
  118. package/dist/collection/components/checkout/save-new-payment-method/justifi-save-new-payment-method.js +1 -1
  119. package/dist/collection/components/checkout/save-new-payment-method/save-new-payment-method.js +1 -1
  120. package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
  121. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +2 -2
  122. package/dist/collection/components/checkouts-list/justifi-checkouts-list.js +1 -1
  123. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  124. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  125. package/dist/collection/components/dispute-management/dispute-response/justifi-additional-statement.js +1 -1
  126. package/dist/collection/components/dispute-management/dispute-response/justifi-cancellation-policy.js +1 -1
  127. package/dist/collection/components/dispute-management/dispute-response/justifi-customer-details.js +1 -1
  128. package/dist/collection/components/dispute-management/dispute-response/justifi-dispute-response.js +1 -1
  129. package/dist/collection/components/dispute-management/dispute-response/justifi-duplicate-charge.js +1 -1
  130. package/dist/collection/components/dispute-management/dispute-response/justifi-electronic-evidence.js +1 -1
  131. package/dist/collection/components/dispute-management/dispute-response/justifi-product-or-service.js +1 -1
  132. package/dist/collection/components/dispute-management/dispute-response/justifi-refund-policy.js +1 -1
  133. package/dist/collection/components/dispute-management/dispute-response/justifi-shipping-details.js +1 -1
  134. package/dist/collection/components/dispute-management/justifi-dispute-management.js +1 -1
  135. package/dist/collection/components/dispute-management/justifi-dispute-notification.js +2 -2
  136. package/dist/collection/components/filters/table-filters-menu.js +1 -1
  137. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  138. package/dist/collection/components/modular-checkout/justifi-modular-checkout.js +31 -1
  139. package/dist/collection/components/modular-checkout/sub-components/justifi-apple-pay.js +34 -15
  140. package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-billing-form-simple.js +1 -1
  141. package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-form.js +1 -1
  142. package/dist/collection/components/modular-checkout/sub-components/justifi-billing-form-full.js +1 -1
  143. package/dist/collection/components/modular-checkout/sub-components/justifi-card-billing-form-simple.js +1 -1
  144. package/dist/collection/components/modular-checkout/sub-components/justifi-card-form.js +1 -1
  145. package/dist/collection/components/modular-checkout/sub-components/justifi-checkout-summary.js +1 -1
  146. package/dist/collection/components/modular-checkout/sub-components/justifi-google-pay.js +20 -1
  147. package/dist/collection/components/modular-checkout/sub-components/justifi-plaid-payment-method.js +27 -14
  148. package/dist/collection/components/modular-checkout/sub-components/justifi-saved-payment-methods.js +7 -5
  149. package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
  150. package/dist/collection/components/order-terminals/justifi-order-terminals.js +1 -1
  151. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  152. package/dist/collection/components/payment-details/justifi-payment-details.js +59 -17
  153. package/dist/collection/components/payment-transactions-list/justifi-payment-transactions-list.js +1 -1
  154. package/dist/collection/components/payments-list/justifi-payments-list-filters.js +2 -2
  155. package/dist/collection/components/payments-list/justifi-payments-list.js +114 -5
  156. package/dist/collection/components/payout-details/justifi-payout-details.js +86 -8
  157. package/dist/collection/components/payout-transactions-list/justifi-payout-transactions-list.js +1 -1
  158. package/dist/collection/components/payouts-list/justifi-payouts-list-filters.js +2 -2
  159. package/dist/collection/components/payouts-list/justifi-payouts-list.js +166 -7
  160. package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list-filters.js +3 -3
  161. package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list.js +1 -1
  162. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
  163. package/dist/collection/components/terminals-list/justifi-terminals-list-filters.js +1 -1
  164. package/dist/collection/components/terminals-list/justifi-terminals-list.js +153 -7
  165. package/dist/collection/components/tokenize-payment-method/justifi-tokenize-payment-method.js +1 -1
  166. package/dist/collection/store/checkout.store.js +2 -0
  167. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  168. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  169. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  170. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  171. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  172. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  173. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  174. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  175. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  176. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  177. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  178. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  179. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  180. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  181. package/dist/collection/ui-components/internal-button.js +1 -1
  182. package/dist/collection/ui-components/radio-list-item.js +1 -1
  183. package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
  184. package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
  185. package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
  186. package/dist/docs.json +256 -995
  187. package/dist/esm/{Analytics-BCoK2BKE.js → Analytics-qafLCOEU.js} +4 -4
  188. package/dist/esm/{Api-BrYhtpEh.js → Api-DMd8hTI-.js} +1 -1
  189. package/dist/esm/{Plaid-BMnuSHeX.js → Plaid-BuKEVgbB.js} +2 -6
  190. package/dist/esm/additional-questions-details_5.entry.js +3 -3
  191. package/dist/esm/additional-questions-form-step_14.entry.js +18 -18
  192. package/dist/esm/additional-questions_5.entry.js +7 -7
  193. package/dist/esm/{badge-B_DdhQ3Q.js → badge-B6dp1XGV.js} +1 -1
  194. package/dist/esm/bank-account-billing-form-simple_4.entry.js +5 -5
  195. package/dist/esm/bank-account-form.entry.js +7 -7
  196. package/dist/esm/bank-account-read-only-value.entry.js +2 -2
  197. package/dist/esm/{business.service-D47BEQPH.js → business.service-BPbZ5fxQ.js} +2 -2
  198. package/dist/esm/{button-B-Agn8yQ.js → button-DRdaAudE.js} +1 -1
  199. package/dist/esm/card-form.entry.js +7 -7
  200. package/dist/esm/{check-pkg-version-C1z6CAOx.js → check-pkg-version-BJtCbzf9.js} +1 -1
  201. package/dist/esm/{checkout.service-BDZroRf0.js → checkout.service-CJMfFKyS.js} +2 -2
  202. package/dist/esm/{checkout.store-C1TdhFf6.js → checkout.store-DFnkcDZ8.js} +2 -0
  203. package/dist/esm/checkouts-list-core.entry.js +8 -8
  204. package/dist/esm/{checkouts-table-BXm9GGFI.js → checkouts-table-C8sPHeTm.js} +3 -3
  205. package/dist/esm/custom-popper_2.entry.js +3 -3
  206. package/dist/esm/{dispute.service-CuBGEFgB.js → dispute.service-vlYGy0nR.js} +2 -2
  207. package/dist/esm/form-address-fields_3.entry.js +6 -6
  208. package/dist/esm/form-control-checkbox.entry.js +5 -5
  209. package/dist/esm/form-control-date.entry.js +4 -4
  210. package/dist/esm/{form-control-error-text-DMKhr8QA.js → form-control-error-text-DVedKyhp.js} +1 -1
  211. package/dist/esm/form-control-file-v2_2.entry.js +5 -5
  212. package/dist/esm/form-control-file.entry.js +4 -4
  213. package/dist/esm/{form-control-help-text-CsdCuw5-.js → form-control-help-text-D-349cNw.js} +1 -1
  214. package/dist/esm/form-control-monetary-provisioning.entry.js +5 -5
  215. package/dist/esm/form-control-monetary.entry.js +6 -6
  216. package/dist/esm/form-control-number_3.entry.js +9 -9
  217. package/dist/esm/form-control-radio.entry.js +3 -3
  218. package/dist/esm/form-control-select_2.entry.js +6 -6
  219. package/dist/esm/{get-business-BsjvgFCj.js → get-business-DpFRs5dE.js} +2 -2
  220. package/dist/esm/{get-payment-details-Br1249qD.js → get-payment-details-DjBou5Fu.js} +2 -2
  221. package/dist/esm/{get-subaccounts-zrWoI4Bh.js → get-subaccounts-CgDWE_5o.js} +3 -3
  222. package/dist/esm/gross-payment-chart-core.entry.js +5 -5
  223. package/dist/esm/{header-1-bRxxOyI-.js → header-1-Bl7MHW0w.js} +1 -1
  224. package/dist/esm/{header-3-E533c0A3.js → header-3-C7JJVnMG.js} +1 -1
  225. package/dist/esm/hidden-input_2.entry.js +7 -7
  226. package/dist/esm/{insurance-state-obAKb1XR.js → insurance-state-qTdpe84i.js} +1 -1
  227. package/dist/esm/internal-button.entry.js +3 -3
  228. package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
  229. package/dist/esm/justifi-apple-pay_11.entry.js +124 -60
  230. package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +7 -7
  231. package/dist/esm/justifi-bank-account-form.entry.js +7 -7
  232. package/dist/esm/justifi-billing-form-full.entry.js +1 -1
  233. package/dist/esm/justifi-billing-form.entry.js +1 -1
  234. package/dist/esm/justifi-business-details.entry.js +63 -27
  235. package/dist/esm/justifi-business-form.entry.js +13 -13
  236. package/dist/esm/justifi-card-billing-form-simple.entry.js +1 -1
  237. package/dist/esm/justifi-card-form.entry.js +7 -7
  238. package/dist/esm/justifi-checkout.entry.js +12 -15
  239. package/dist/esm/justifi-checkouts-list-filters.entry.js +5 -5
  240. package/dist/esm/justifi-checkouts-list.entry.js +13 -13
  241. package/dist/esm/justifi-details.entry.js +2 -2
  242. package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
  243. package/dist/esm/justifi-dispute-management.entry.js +9 -9
  244. package/dist/esm/justifi-dispute-notification_3.entry.js +15 -15
  245. package/dist/esm/justifi-gross-payment-chart.entry.js +9 -9
  246. package/dist/esm/justifi-order-terminals.entry.js +13 -13
  247. package/dist/esm/justifi-payment-details.entry.js +71 -32
  248. package/dist/esm/justifi-payment-provisioning.entry.js +16 -14
  249. package/dist/esm/justifi-payment-transactions-list.entry.js +12 -12
  250. package/dist/esm/justifi-payments-list-filters.entry.js +4 -4
  251. package/dist/esm/justifi-payments-list.entry.js +134 -20
  252. package/dist/esm/justifi-payout-details.entry.js +76 -20
  253. package/dist/esm/justifi-payout-transactions-list.entry.js +12 -12
  254. package/dist/esm/justifi-payouts-list-filters.entry.js +5 -5
  255. package/dist/esm/justifi-payouts-list.entry.js +170 -22
  256. package/dist/esm/justifi-refund-payment.entry.js +12 -12
  257. package/dist/esm/justifi-save-new-payment-method.entry.js +1 -1
  258. package/dist/esm/justifi-saved-payment-method.entry.js +2 -2
  259. package/dist/esm/justifi-season-interruption-insurance.entry.js +11 -11
  260. package/dist/esm/justifi-skeleton.entry.js +3 -3
  261. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +6 -6
  262. package/dist/esm/justifi-terminal-orders-list.entry.js +11 -11
  263. package/dist/esm/justifi-terminals-list-filters.entry.js +4 -4
  264. package/dist/esm/justifi-terminals-list.entry.js +184 -21
  265. package/dist/esm/loader.js +1 -1
  266. package/dist/esm/{package-DbJ8_F44.js → package-BCgsLInF.js} +1 -1
  267. package/dist/esm/pagination-menu.entry.js +1 -1
  268. package/dist/esm/{parts-D50Rx76J.js → parts-DnrawQn3.js} +1 -1
  269. package/dist/esm/payment-method-option.entry.js +2 -2
  270. package/dist/esm/{payment-provisioning-actions-B6LHK2Ka.js → payment-provisioning-actions-Dr0YIShV.js} +2 -2
  271. package/dist/esm/payment-provisioning-form-buttons_2.entry.js +4 -4
  272. package/dist/esm/{payment-provisioning-loading-BAoIyEOj.js → payment-provisioning-loading-DI2wDkhm.js} +1 -1
  273. package/dist/esm/{payment.service-C6ebnLOw.js → payment.service-Ckbb7gXA.js} +2 -2
  274. package/dist/esm/{payments-status-7P7L51CK.js → payments-status-BIDoGw-m.js} +1 -1
  275. package/dist/esm/{payout.service-B6KqlDyg.js → payout.service-BgFKxEoL.js} +2 -2
  276. package/dist/esm/{payouts-status-CGZRMu-q.js → payouts-status-1T2NZBoE.js} +22 -2
  277. package/dist/esm/{plaid.service-BS8Zt6ui.js → plaid.service-BLguQHs_.js} +2 -2
  278. package/dist/esm/radio-list-item.entry.js +2 -2
  279. package/dist/esm/save-new-payment-method.entry.js +2 -2
  280. package/dist/esm/{skeleton-DV6yJalo.js → skeleton-CXGFVqDf.js} +1 -1
  281. package/dist/esm/{spinner--fEgBBOG.js → spinner-kSw6PcwU.js} +1 -1
  282. package/dist/esm/{table-Deugl8h5.js → table-CcyuIutB.js} +2 -2
  283. package/dist/esm/table-filters-menu.entry.js +3 -3
  284. package/dist/esm/terminal-orders-list-core.entry.js +8 -8
  285. package/dist/esm/{terminal-orders-table-BKbTybx0.js → terminal-orders-table-C7KOcRpq.js} +4 -4
  286. package/dist/esm/terminal-quantity-selector.entry.js +2 -2
  287. package/dist/esm/{terminal.service-0AO0m5oh.js → terminal.service-0oISl5j-.js} +2 -2
  288. package/dist/esm/{utils-De6tr4ug.js → utils-BTtxWI2r.js} +1 -1
  289. package/dist/esm/{utils-DJOBwFeP.js → utils-BxYS3WDw.js} +1 -1
  290. package/dist/esm/{utils-DtiRLISl.js → utils-DcfpJGDZ.js} +1 -1
  291. package/dist/esm/webcomponents.js +1 -1
  292. package/dist/module/Analytics.js +1 -1
  293. package/dist/module/ApplePay.js +0 -4
  294. package/dist/module/Plaid.js +2 -2
  295. package/dist/module/additional-questions2.js +1 -1
  296. package/dist/module/bank-account-billing-form-simple2.js +1 -1
  297. package/dist/module/bank-account-document-form-inputs2.js +1 -1
  298. package/dist/module/bank-account-form-inputs-canada2.js +1 -1
  299. package/dist/module/bank-account-form-inputs2.js +1 -1
  300. package/dist/module/bank-account-form2.js +2 -2
  301. package/dist/module/bank-account-read-only-value2.js +1 -1
  302. package/dist/module/business-bank-account-form-step2.js +1 -1
  303. package/dist/module/business-core-info2.js +2 -2
  304. package/dist/module/business-representative-form-inputs2.js +2 -2
  305. package/dist/module/business-representative2.js +2 -2
  306. package/dist/module/business-terms-conditions-form-step2.js +1 -1
  307. package/dist/module/card-billing-form-simple2.js +1 -1
  308. package/dist/module/card-form2.js +2 -2
  309. package/dist/module/checkout.store.js +2 -0
  310. package/dist/module/checkouts-list-core2.js +1 -1
  311. package/dist/module/custom-popper2.js +2 -2
  312. package/dist/module/dispute-management-core.js +1 -1
  313. package/dist/module/dispute-response-core.js +1 -1
  314. package/dist/module/form-address-fields2.js +1 -1
  315. package/dist/module/form-control-checkbox2.js +2 -2
  316. package/dist/module/form-control-date2.js +2 -2
  317. package/dist/module/form-control-file-v22.js +1 -1
  318. package/dist/module/form-control-file2.js +2 -2
  319. package/dist/module/form-control-monetary-provisioning2.js +2 -2
  320. package/dist/module/form-control-monetary2.js +3 -3
  321. package/dist/module/form-control-number-masked2.js +2 -2
  322. package/dist/module/form-control-number2.js +2 -2
  323. package/dist/module/form-control-radio2.js +2 -2
  324. package/dist/module/form-control-select2.js +2 -2
  325. package/dist/module/form-control-text2.js +2 -2
  326. package/dist/module/form-control-textarea2.js +2 -2
  327. package/dist/module/gross-payment-chart-core2.js +2 -2
  328. package/dist/module/hidden-input2.js +1 -1
  329. package/dist/module/identity-address-form2.js +1 -1
  330. package/dist/module/iframe-input2.js +3 -3
  331. package/dist/module/internal-button2.js +1 -1
  332. package/dist/module/justifi-additional-statement2.js +1 -1
  333. package/dist/module/justifi-apple-pay2.js +35 -21
  334. package/dist/module/justifi-bank-account-billing-form-simple.js +1 -1
  335. package/dist/module/justifi-bank-account-form.js +1 -1
  336. package/dist/module/justifi-billing-form-full.js +1 -1
  337. package/dist/module/justifi-billing-form.js +1 -1
  338. package/dist/module/justifi-business-details.js +64 -27
  339. package/dist/module/justifi-button2.js +1 -1
  340. package/dist/module/justifi-cancellation-policy2.js +1 -1
  341. package/dist/module/justifi-card-billing-form-simple.js +1 -1
  342. package/dist/module/justifi-card-form.js +1 -1
  343. package/dist/module/justifi-checkout-summary2.js +2 -2
  344. package/dist/module/justifi-checkout.js +4 -8
  345. package/dist/module/justifi-checkouts-list-filters.js +2 -2
  346. package/dist/module/justifi-checkouts-list.js +2 -2
  347. package/dist/module/justifi-customer-details2.js +1 -1
  348. package/dist/module/justifi-dispute-management.js +1 -1
  349. package/dist/module/justifi-dispute-notification2.js +3 -3
  350. package/dist/module/justifi-dispute-response2.js +1 -1
  351. package/dist/module/justifi-duplicate-charge2.js +1 -1
  352. package/dist/module/justifi-electronic-evidence2.js +1 -1
  353. package/dist/module/justifi-google-pay2.js +6 -1
  354. package/dist/module/justifi-header2.js +1 -1
  355. package/dist/module/justifi-modular-checkout2.js +31 -1
  356. package/dist/module/justifi-order-terminals.js +2 -2
  357. package/dist/module/justifi-payment-details.js +71 -29
  358. package/dist/module/justifi-payment-provisioning.js +4 -2
  359. package/dist/module/justifi-payment-transactions-list.js +2 -2
  360. package/dist/module/justifi-payments-list-filters.js +2 -2
  361. package/dist/module/justifi-payments-list.js +137 -18
  362. package/dist/module/justifi-payout-details.js +76 -21
  363. package/dist/module/justifi-payout-transactions-list.js +2 -2
  364. package/dist/module/justifi-payouts-list-filters.js +3 -3
  365. package/dist/module/justifi-payouts-list.js +174 -20
  366. package/dist/module/justifi-plaid-payment-method2.js +27 -14
  367. package/dist/module/justifi-product-or-service2.js +1 -1
  368. package/dist/module/justifi-refund-payment.js +1 -1
  369. package/dist/module/justifi-refund-policy2.js +1 -1
  370. package/dist/module/justifi-save-new-payment-method.js +1 -1
  371. package/dist/module/justifi-saved-payment-method.js +1 -1
  372. package/dist/module/justifi-saved-payment-methods2.js +7 -5
  373. package/dist/module/justifi-season-interruption-insurance.js +1 -1
  374. package/dist/module/justifi-sezzle-payment-method2.js +1 -1
  375. package/dist/module/justifi-shipping-details2.js +1 -1
  376. package/dist/module/justifi-skeleton.js +1 -1
  377. package/dist/module/justifi-terminal-orders-list-filters.js +4 -4
  378. package/dist/module/justifi-terminal-orders-list.js +2 -2
  379. package/dist/module/justifi-terminals-list-filters.js +2 -2
  380. package/dist/module/justifi-terminals-list.js +190 -20
  381. package/dist/module/justifi-tokenize-payment-method2.js +1 -1
  382. package/dist/module/legal-address-form2.js +1 -1
  383. package/dist/module/owner-details2.js +1 -1
  384. package/dist/module/owner-form-core2.js +1 -1
  385. package/dist/module/owner-form-inputs2.js +2 -2
  386. package/dist/module/owner-form2.js +1 -1
  387. package/dist/module/package.js +1 -1
  388. package/dist/module/payment-method-option.js +1 -1
  389. package/dist/module/payment-provisioning-form-buttons2.js +1 -1
  390. package/dist/module/payment-provisioning-form-steps2.js +1 -1
  391. package/dist/module/payouts-status.js +21 -1
  392. package/dist/module/radio-list-item2.js +1 -1
  393. package/dist/module/representative-details2.js +1 -1
  394. package/dist/module/save-new-payment-method2.js +1 -1
  395. package/dist/module/table-filters-menu2.js +1 -1
  396. package/dist/module/terminal-orders-list-core2.js +2 -2
  397. package/dist/module/terminal-quantity-selector2.js +1 -1
  398. package/dist/module/utils2.js +1 -1
  399. package/dist/types/api/ApplePay.d.ts +0 -7
  400. package/dist/types/components/business-details/justifi-business-details.d.ts +7 -2
  401. package/dist/types/components/business-forms/payment-provisioning/justifi-payment-provisioning.d.ts +1 -1
  402. package/dist/types/components/checkout/justifi-checkout.d.ts +0 -1
  403. package/dist/types/components/modular-checkout/justifi-modular-checkout.d.ts +2 -0
  404. package/dist/types/components/modular-checkout/sub-components/justifi-apple-pay.d.ts +3 -0
  405. package/dist/types/components/modular-checkout/sub-components/justifi-google-pay.d.ts +1 -0
  406. package/dist/types/components/modular-checkout/sub-components/justifi-plaid-payment-method.d.ts +2 -2
  407. package/dist/types/components/payment-details/justifi-payment-details.d.ts +7 -4
  408. package/dist/types/components/payments-list/justifi-payments-list.d.ts +19 -2
  409. package/dist/types/components/payout-details/justifi-payout-details.d.ts +10 -2
  410. package/dist/types/components/payouts-list/justifi-payouts-list.d.ts +25 -2
  411. package/dist/types/components/terminals-list/justifi-terminals-list.d.ts +24 -2
  412. package/dist/types/components.d.ts +10 -216
  413. package/dist/types/store/checkout.store.d.ts +2 -0
  414. package/dist/webcomponents/{p-C2h_HoOZ.js → p--e0ff06z.js} +1 -1
  415. package/dist/webcomponents/p-032b4553.entry.js +1 -0
  416. package/dist/webcomponents/p-042daaf8.entry.js +1 -0
  417. package/dist/webcomponents/{p-272cc70e.entry.js → p-0638f0bd.entry.js} +1 -1
  418. package/dist/webcomponents/p-06ecd4cb.entry.js +1 -0
  419. package/dist/webcomponents/{p-8d215ad8.entry.js → p-09d2efad.entry.js} +1 -1
  420. package/dist/webcomponents/p-0b3f4f22.entry.js +1 -0
  421. package/dist/webcomponents/{p-c499a613.entry.js → p-10be75b8.entry.js} +1 -1
  422. package/dist/webcomponents/p-164f95ec.entry.js +1 -0
  423. package/dist/webcomponents/p-174eb877.entry.js +1 -0
  424. package/dist/webcomponents/p-1e0be7b0.entry.js +1 -0
  425. package/dist/webcomponents/{p-de4c796a.entry.js → p-1e877e0a.entry.js} +1 -1
  426. package/dist/webcomponents/{p-5d2bcf39.entry.js → p-2425a375.entry.js} +1 -1
  427. package/dist/webcomponents/p-24935254.entry.js +1 -0
  428. package/dist/webcomponents/{p-938e4dc8.entry.js → p-256c5509.entry.js} +1 -1
  429. package/dist/webcomponents/p-2LVpxCS_.js +1 -0
  430. package/dist/webcomponents/{p-89bf64ef.entry.js → p-354fb3c4.entry.js} +1 -1
  431. package/dist/webcomponents/p-39cc6928.entry.js +1 -0
  432. package/dist/webcomponents/{p-257597f1.entry.js → p-3c046adc.entry.js} +1 -1
  433. package/dist/webcomponents/p-4226eb4a.entry.js +1 -0
  434. package/dist/webcomponents/p-474ee3f8.entry.js +1 -0
  435. package/dist/webcomponents/p-485b77ba.entry.js +1 -0
  436. package/dist/webcomponents/p-52908814.entry.js +1 -0
  437. package/dist/webcomponents/{p-b7ac15d8.entry.js → p-581808f0.entry.js} +1 -1
  438. package/dist/webcomponents/p-587886f1.entry.js +1 -0
  439. package/dist/webcomponents/p-5ef355ce.entry.js +1 -0
  440. package/dist/webcomponents/p-6917aa3c.entry.js +1 -0
  441. package/dist/webcomponents/{p-d072a65f.entry.js → p-6d81822f.entry.js} +1 -1
  442. package/dist/webcomponents/{p-3e74bd93.entry.js → p-6ecb3ef9.entry.js} +1 -1
  443. package/dist/webcomponents/p-79713014.entry.js +1 -0
  444. package/dist/webcomponents/p-798f4708.entry.js +1 -0
  445. package/dist/webcomponents/p-7f0f72c6.entry.js +1 -0
  446. package/dist/webcomponents/p-7f814609.entry.js +1 -0
  447. package/dist/webcomponents/p-80652cf8.entry.js +1 -0
  448. package/dist/webcomponents/{p-b322d2f3.entry.js → p-8253ef9f.entry.js} +1 -1
  449. package/dist/webcomponents/p-82fe02e4.entry.js +1 -0
  450. package/dist/webcomponents/p-83147f23.entry.js +1 -0
  451. package/dist/webcomponents/p-870fac9e.entry.js +1 -0
  452. package/dist/webcomponents/p-8c2427ed.entry.js +1 -0
  453. package/dist/webcomponents/p-92de00d7.entry.js +1 -0
  454. package/dist/webcomponents/p-956eca2e.entry.js +1 -0
  455. package/dist/webcomponents/p-9581d6a1.entry.js +1 -0
  456. package/dist/webcomponents/{p-7791b55e.entry.js → p-9db1444f.entry.js} +1 -1
  457. package/dist/webcomponents/p-9f74d7ea.entry.js +1 -0
  458. package/dist/webcomponents/{p-DV_3k3u_.js → p-B--N37zY.js} +1 -1
  459. package/dist/webcomponents/p-B5vVjDc_.js +1 -0
  460. package/dist/webcomponents/p-BArmtmkq.js +1 -0
  461. package/dist/webcomponents/p-BCgsLInF.js +1 -0
  462. package/dist/webcomponents/{p-D4DAh8XF.js → p-BJ7GFTiW.js} +1 -1
  463. package/dist/webcomponents/{p-CTwm3w6I.js → p-BRnBHsdq.js} +1 -1
  464. package/dist/webcomponents/{p-C7SCfFA7.js → p-BnaR7f2G.js} +1 -1
  465. package/dist/webcomponents/p-BsQy297i.js +1 -0
  466. package/dist/webcomponents/p-CDf5H0TB.js +1 -0
  467. package/dist/webcomponents/{p-eNNtSIbE.js → p-CR_-qIuN.js} +1 -1
  468. package/dist/webcomponents/{p-CprMk6Bv.js → p-CUI41_5y.js} +1 -1
  469. package/dist/webcomponents/p-CX36GHQP.js +1 -0
  470. package/dist/webcomponents/{p-CEnTtUmd.js → p-CYQvLgSs.js} +1 -1
  471. package/dist/webcomponents/p-Cej-1bD6.js +1 -0
  472. package/dist/webcomponents/p-Cf6HoQKl.js +1 -0
  473. package/dist/webcomponents/{p-s8zhbjC5.js → p-CsdYMTrc.js} +1 -1
  474. package/dist/webcomponents/{p-CzdAS9Jo.js → p-D1D2eC05.js} +1 -1
  475. package/dist/webcomponents/p-D4OlsyTo.js +1 -0
  476. package/dist/webcomponents/{p-CbM9cuX_.js → p-DPmnGTmg.js} +1 -1
  477. package/dist/webcomponents/p-DWevPe7C.js +1 -0
  478. package/dist/webcomponents/{p-Bo0dEB2o.js → p-Dbg501Lu.js} +1 -1
  479. package/dist/webcomponents/p-DcBvJu0k.js +1 -0
  480. package/dist/webcomponents/p-DkdzUTnl.js +1 -0
  481. package/dist/webcomponents/{p-D50Rx76J.js → p-DnrawQn3.js} +1 -1
  482. package/dist/webcomponents/p-GJyHX3us.js +1 -0
  483. package/dist/webcomponents/p-MDZuGvsl.js +1 -0
  484. package/dist/webcomponents/p-XrKLre8M.js +1 -0
  485. package/dist/webcomponents/p-a7a1b168.entry.js +1 -0
  486. package/dist/webcomponents/{p-c683cb34.entry.js → p-a80d958d.entry.js} +1 -1
  487. package/dist/webcomponents/p-b06910b0.entry.js +1 -0
  488. package/dist/webcomponents/p-b2447726.entry.js +1 -0
  489. package/dist/webcomponents/{p-d34f497c.entry.js → p-b483e71b.entry.js} +1 -1
  490. package/dist/webcomponents/{p-431ad048.entry.js → p-bc2af6b4.entry.js} +1 -1
  491. package/dist/webcomponents/p-befe01ef.entry.js +1 -0
  492. package/dist/webcomponents/p-bfe2583d.entry.js +1 -0
  493. package/dist/webcomponents/{p-CwdQ1VdH.js → p-bn_huKYG.js} +1 -1
  494. package/dist/webcomponents/p-c4767c7b.entry.js +1 -0
  495. package/dist/webcomponents/p-c73631f0.entry.js +1 -0
  496. package/dist/webcomponents/p-c8f7ebf6.entry.js +1 -0
  497. package/dist/webcomponents/p-d253a573.entry.js +1 -0
  498. package/dist/webcomponents/p-d7633e10.entry.js +1 -0
  499. package/dist/webcomponents/p-d878df6c.entry.js +1 -0
  500. package/dist/webcomponents/p-da882bd1.entry.js +1 -0
  501. package/dist/webcomponents/{p-2595b409.entry.js → p-dd1cfb9e.entry.js} +1 -1
  502. package/dist/webcomponents/{p-bbcaa5cc.entry.js → p-ddf699e6.entry.js} +4 -4
  503. package/dist/webcomponents/p-de836ec9.entry.js +1 -0
  504. package/dist/webcomponents/{p-1c54dc53.entry.js → p-e6e56dbb.entry.js} +1 -1
  505. package/dist/webcomponents/p-ea30cf08.entry.js +1 -0
  506. package/dist/webcomponents/p-edf5a854.entry.js +1 -0
  507. package/dist/webcomponents/p-f24563ab.entry.js +1 -0
  508. package/dist/webcomponents/p-f4aeda71.entry.js +1 -0
  509. package/dist/webcomponents/p-faa090a5.entry.js +1 -0
  510. package/dist/webcomponents/p-fc7ba195.entry.js +1 -0
  511. package/dist/webcomponents/{p-MvySE12i.js → p-hhdRync5.js} +1 -1
  512. package/dist/webcomponents/p-niGr4RT2.js +1 -0
  513. package/dist/webcomponents/{p-Da4efjxw.js → p-pL4dNfsl.js} +1 -1
  514. package/dist/webcomponents/p-qcQTYcr3.js +1 -0
  515. package/dist/webcomponents/p-uCg79W3M.js +1 -0
  516. package/dist/webcomponents/{p-CjuaXEuI.js → p-x9fFFf7F.js} +1 -1
  517. package/dist/webcomponents/webcomponents.esm.js +1 -1
  518. package/package.json +14 -14
  519. package/dist/cjs/business-details-core.cjs.entry.js +0 -61
  520. package/dist/cjs/get-payout-csv-DDrtCacG.js +0 -24
  521. package/dist/cjs/payment-details-core.cjs.entry.js +0 -83
  522. package/dist/cjs/payments-list-core.cjs.entry.js +0 -112
  523. package/dist/cjs/payments-table-CUxpxNnc.js +0 -50
  524. package/dist/cjs/payout-details-core.cjs.entry.js +0 -89
  525. package/dist/cjs/payouts-list-core.cjs.entry.js +0 -162
  526. package/dist/cjs/payouts-table-Dex2W8r1.js +0 -34
  527. package/dist/cjs/terminals-list-core.cjs.entry.js +0 -146
  528. package/dist/cjs/terminals-table-DmnAuog5.js +0 -64
  529. package/dist/collection/components/business-details/business-details-core.js +0 -105
  530. package/dist/collection/components/payment-details/payment-details-core.js +0 -127
  531. package/dist/collection/components/payments-list/payments-list-core.js +0 -202
  532. package/dist/collection/components/payout-details/payout-details-core.js +0 -199
  533. package/dist/collection/components/payouts-list/payouts-list-core.js +0 -298
  534. package/dist/collection/components/terminals-list/terminals-list-core.js +0 -262
  535. package/dist/esm/business-details-core.entry.js +0 -59
  536. package/dist/esm/get-payout-csv-Dhezo7Ty.js +0 -22
  537. package/dist/esm/payment-details-core.entry.js +0 -81
  538. package/dist/esm/payments-list-core.entry.js +0 -110
  539. package/dist/esm/payments-table-n1VrIKIR.js +0 -46
  540. package/dist/esm/payout-details-core.entry.js +0 -87
  541. package/dist/esm/payouts-list-core.entry.js +0 -160
  542. package/dist/esm/payouts-table-CbzI90ci.js +0 -30
  543. package/dist/esm/terminals-list-core.entry.js +0 -144
  544. package/dist/esm/terminals-table-Bja7MP5H.js +0 -60
  545. package/dist/module/business-details-core.d.ts +0 -11
  546. package/dist/module/business-details-core.js +0 -6
  547. package/dist/module/business-details-core2.js +0 -117
  548. package/dist/module/get-payout-csv.js +0 -22
  549. package/dist/module/payment-details-core.d.ts +0 -11
  550. package/dist/module/payment-details-core.js +0 -6
  551. package/dist/module/payment-details-core2.js +0 -109
  552. package/dist/module/payments-list-core.d.ts +0 -11
  553. package/dist/module/payments-list-core.js +0 -6
  554. package/dist/module/payments-list-core2.js +0 -184
  555. package/dist/module/payout-details-core.d.ts +0 -11
  556. package/dist/module/payout-details-core.js +0 -6
  557. package/dist/module/payout-details-core2.js +0 -118
  558. package/dist/module/payouts-list-core.d.ts +0 -11
  559. package/dist/module/payouts-list-core.js +0 -6
  560. package/dist/module/payouts-list-core2.js +0 -221
  561. package/dist/module/terminals-list-core.d.ts +0 -11
  562. package/dist/module/terminals-list-core.js +0 -6
  563. package/dist/module/terminals-list-core2.js +0 -236
  564. package/dist/types/components/business-details/business-details-core.d.ts +0 -19
  565. package/dist/types/components/payment-details/payment-details-core.d.ts +0 -16
  566. package/dist/types/components/payments-list/payments-list-core.d.ts +0 -28
  567. package/dist/types/components/payout-details/payout-details-core.d.ts +0 -20
  568. package/dist/types/components/payouts-list/payouts-list-core.d.ts +0 -36
  569. package/dist/types/components/terminals-list/terminals-list-core.d.ts +0 -34
  570. package/dist/webcomponents/p-0b95dd8f.entry.js +0 -1
  571. package/dist/webcomponents/p-0f961323.entry.js +0 -1
  572. package/dist/webcomponents/p-15dfb893.entry.js +0 -1
  573. package/dist/webcomponents/p-15f43759.entry.js +0 -1
  574. package/dist/webcomponents/p-1628613b.entry.js +0 -1
  575. package/dist/webcomponents/p-180a3b65.entry.js +0 -1
  576. package/dist/webcomponents/p-18fc10ca.entry.js +0 -1
  577. package/dist/webcomponents/p-1b610299.entry.js +0 -1
  578. package/dist/webcomponents/p-1b92fb9a.entry.js +0 -1
  579. package/dist/webcomponents/p-1srXnUJh.js +0 -1
  580. package/dist/webcomponents/p-22798967.entry.js +0 -1
  581. package/dist/webcomponents/p-26c419f3.entry.js +0 -1
  582. package/dist/webcomponents/p-2d680f77.entry.js +0 -1
  583. package/dist/webcomponents/p-30f61950.entry.js +0 -1
  584. package/dist/webcomponents/p-38281490.entry.js +0 -1
  585. package/dist/webcomponents/p-39bb134c.entry.js +0 -1
  586. package/dist/webcomponents/p-3a4e27f6.entry.js +0 -1
  587. package/dist/webcomponents/p-3c50f7aa.entry.js +0 -1
  588. package/dist/webcomponents/p-4db2e291.entry.js +0 -1
  589. package/dist/webcomponents/p-4df1d08d.entry.js +0 -1
  590. package/dist/webcomponents/p-548c411f.entry.js +0 -1
  591. package/dist/webcomponents/p-55e7e239.entry.js +0 -1
  592. package/dist/webcomponents/p-563097f0.entry.js +0 -1
  593. package/dist/webcomponents/p-605636be.entry.js +0 -1
  594. package/dist/webcomponents/p-6e5ec134.entry.js +0 -1
  595. package/dist/webcomponents/p-6efbbec1.entry.js +0 -1
  596. package/dist/webcomponents/p-71de86bf.entry.js +0 -1
  597. package/dist/webcomponents/p-7225bc77.entry.js +0 -1
  598. package/dist/webcomponents/p-7c244e99.entry.js +0 -1
  599. package/dist/webcomponents/p-84168bf0.entry.js +0 -1
  600. package/dist/webcomponents/p-84879c92.entry.js +0 -1
  601. package/dist/webcomponents/p-8d5138d8.entry.js +0 -1
  602. package/dist/webcomponents/p-8e9407a1.entry.js +0 -1
  603. package/dist/webcomponents/p-92e64f49.entry.js +0 -1
  604. package/dist/webcomponents/p-9805bc39.entry.js +0 -1
  605. package/dist/webcomponents/p-B--wlcf0.js +0 -1
  606. package/dist/webcomponents/p-BJtvT9BX.js +0 -1
  607. package/dist/webcomponents/p-BrO0HEFJ.js +0 -1
  608. package/dist/webcomponents/p-C-QiUcEa.js +0 -1
  609. package/dist/webcomponents/p-C6IaNDXe.js +0 -1
  610. package/dist/webcomponents/p-C95_YBmG.js +0 -1
  611. package/dist/webcomponents/p-CSW_ZzE9.js +0 -1
  612. package/dist/webcomponents/p-CV3lgp6D.js +0 -1
  613. package/dist/webcomponents/p-D5MdA21U.js +0 -1
  614. package/dist/webcomponents/p-D68EHdgA.js +0 -1
  615. package/dist/webcomponents/p-DB_pqjwH.js +0 -1
  616. package/dist/webcomponents/p-DU2RAZiD.js +0 -1
  617. package/dist/webcomponents/p-DbJ8_F44.js +0 -1
  618. package/dist/webcomponents/p-Df9FVwA7.js +0 -1
  619. package/dist/webcomponents/p-DgPbJiLD.js +0 -1
  620. package/dist/webcomponents/p-DmBX8khF.js +0 -1
  621. package/dist/webcomponents/p-DsYFjVQa.js +0 -1
  622. package/dist/webcomponents/p-EBsfAkrP.js +0 -1
  623. package/dist/webcomponents/p-N60pPiy5.js +0 -1
  624. package/dist/webcomponents/p-_fynNk40.js +0 -1
  625. package/dist/webcomponents/p-ad785edd.entry.js +0 -1
  626. package/dist/webcomponents/p-b1a947c8.entry.js +0 -1
  627. package/dist/webcomponents/p-b1c179d7.entry.js +0 -1
  628. package/dist/webcomponents/p-b822ab7e.entry.js +0 -1
  629. package/dist/webcomponents/p-bd3f7117.entry.js +0 -1
  630. package/dist/webcomponents/p-c29859d9.entry.js +0 -1
  631. package/dist/webcomponents/p-c30dd92c.entry.js +0 -1
  632. package/dist/webcomponents/p-c4c9f37b.entry.js +0 -1
  633. package/dist/webcomponents/p-cfd944e6.entry.js +0 -1
  634. package/dist/webcomponents/p-dc99d6b0.entry.js +0 -1
  635. package/dist/webcomponents/p-dd704b1a.entry.js +0 -1
  636. package/dist/webcomponents/p-e29f42c6.entry.js +0 -1
  637. package/dist/webcomponents/p-e322fcca.entry.js +0 -1
  638. package/dist/webcomponents/p-e360d88f.entry.js +0 -1
  639. package/dist/webcomponents/p-eadbb4dc.entry.js +0 -1
  640. package/dist/webcomponents/p-ef30afd5.entry.js +0 -1
  641. package/dist/webcomponents/p-eff6a50d.entry.js +0 -1
  642. package/dist/webcomponents/p-f266373d.entry.js +0 -1
  643. package/dist/webcomponents/p-fb04fa5a.entry.js +0 -1
  644. package/dist/webcomponents/p-feb19fa5.entry.js +0 -1
  645. package/dist/webcomponents/p-k4rghbOK.js +0 -1
  646. package/dist/webcomponents/p-xSaSp1Jy.js +0 -1
@@ -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", {
@@ -1,22 +1,25 @@
1
- import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { o as Payout, C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Plaid.js';
1
+ import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
2
+ import { p as Payout, C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Plaid.js';
3
3
  import { J as JustifiAnalytics } from './Analytics.js';
4
4
  import { c as checkPkgVersion } from './check-pkg-version.js';
5
5
  import { P as PayoutService } from './payout.service.js';
6
6
  import './config-state.js';
7
7
  import './dinero.js';
8
- import './Pagination.js';
8
+ import { p as pagingDefaults } from './Pagination.js';
9
9
  import './Business.js';
10
10
  import './ApplePay.js';
11
11
  import { g as getErrorCode, a as getErrorMessage } from './utils3.js';
12
- import { m as makeGetPayoutCSV } from './get-payout-csv.js';
12
+ import { M as MapPayoutStatusToBadge, m as makeGetPayoutCSV } from './payouts-status.js';
13
13
  import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts.js';
14
14
  import { S as StyledHost } from './styled-host.js';
15
15
  import './justifi-details2.js';
16
- import './event-types.js';
16
+ 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';
17
+ import { T as TableClickActions } from './event-types.js';
17
18
  import './justifi-radio-list-item2.js';
18
- import { d as defineCustomElement$2, a as defaultColumnsKeys } from './payouts-list-core2.js';
19
- import { d as defineCustomElement$3 } from './pagination-menu2.js';
19
+ import { h as convertToLocal } from './utils2.js';
20
+ import { B as tableHeadCell, ah as getAlternateTableCellPart } from './parts.js';
21
+ import { o as onQueryParamsChange, g as getRequestParams } from './payouts-list-params-state.js';
22
+ import { d as defineCustomElement$2 } from './pagination-menu2.js';
20
23
 
21
24
  const makeGetPayouts = ({ id, authToken, service }) => async ({ params, onSuccess, onError }) => {
22
25
  var _a, _b;
@@ -47,6 +50,30 @@ const makeGetPayouts = ({ id, authToken, service }) => async ({ params, onSucces
47
50
  }
48
51
  };
49
52
 
53
+ const defaultColumnsKeys = 'created_at,amount,status,payments_total,refunds_total,fees_total,other_total,csv';
54
+ const payoutTableColumns = {
55
+ created_at: () => (h("th", { part: tableHeadCell, scope: "col", title: "The date the payout was deposited" }, "Created")),
56
+ sub_account_name: () => (h("th", { part: tableHeadCell, scope: "col", title: "The sub account associated with the payout" }, "Sub Account")),
57
+ payments_total: () => (h("th", { part: tableHeadCell, scope: "col", title: "The total payments amount associated with the payout" }, "Payments")),
58
+ refunds_total: () => (h("th", { part: tableHeadCell, scope: "col", title: "The total refunds amount associated with the payout" }, "Refunds")),
59
+ fees_total: () => (h("th", { part: tableHeadCell, scope: "col", title: "The total fees amount associated with the payout" }, "Fees")),
60
+ other_total: () => (h("th", { part: tableHeadCell, scope: "col", title: "The total other amount" }, "Other")),
61
+ amount: () => (h("th", { part: tableHeadCell, scope: "col", title: "The total amount of the payout" }, "Amount")),
62
+ status: () => (h("th", { part: tableHeadCell, scope: "col", title: "The real-time status of each payout" }, "Status")),
63
+ csv: () => (h("th", { part: tableHeadCell, scope: "col", title: "Export CSV" })),
64
+ };
65
+ const payoutTableCells = (downloadCSV) => ({
66
+ created_at: (payout, index) => (h("td", { part: getAlternateTableCellPart(index) }, h("div", { class: "fw-bold" }, convertToLocal(payout.created_at, { showDisplayDate: true })))),
67
+ sub_account_name: (payout, index) => (h("td", { part: getAlternateTableCellPart(index) }, payout.sub_account_name)),
68
+ payments_total: (payout, index) => (h("td", { part: getAlternateTableCellPart(index) }, payout.formattedPaymentAmount(payout.payments_total))),
69
+ refunds_total: (payout, index) => (h("td", { part: getAlternateTableCellPart(index) }, payout.formattedPaymentAmount(payout.refunds_total))),
70
+ fees_total: (payout, index) => (h("td", { part: getAlternateTableCellPart(index) }, payout.formattedPaymentAmount(payout.fees_total))),
71
+ other_total: (payout, index) => (h("td", { part: getAlternateTableCellPart(index) }, payout.formattedPaymentAmount(payout.other_total))),
72
+ amount: (payout, index) => (h("td", { part: getAlternateTableCellPart(index) }, payout.formattedPaymentAmount(payout.amount))),
73
+ status: (payout, index) => (h("td", { part: getAlternateTableCellPart(index) }, MapPayoutStatusToBadge(payout.status))),
74
+ csv: (payout, index) => (h("td", { part: getAlternateTableCellPart(index) }, h("a", { href: "#", onClick: (event) => { event.preventDefault(); downloadCSV(payout.id); } }, "CSV"))),
75
+ });
76
+
50
77
  const JustifiPayoutsList$1 = /*@__PURE__*/ proxyCustomElement(class JustifiPayoutsList extends HTMLElement {
51
78
  constructor(registerHost) {
52
79
  super();
@@ -55,17 +82,61 @@ const JustifiPayoutsList$1 = /*@__PURE__*/ proxyCustomElement(class JustifiPayou
55
82
  }
56
83
  this.__attachShadow();
57
84
  this.errorEvent = createEvent(this, "error-event", 7);
85
+ this.clickEvent = createEvent(this, "click-event", 7);
58
86
  this.errorMessage = null;
87
+ this.payouts = [];
88
+ this.subAccounts = [];
89
+ this.loading = true;
90
+ this.paging = pagingDefaults;
91
+ this.pagingParams = {};
59
92
  this.columns = defaultColumnsKeys;
60
- this.handleOnError = (event) => {
61
- this.errorMessage = event.detail.message;
62
- this.errorEvent.emit(event.detail);
93
+ this.downloadCSV = (payoutId) => {
94
+ this.getPayoutCSV({
95
+ payoutId,
96
+ onError: () => {
97
+ this.errorEvent.emit({
98
+ errorCode: ComponentErrorCodes.FETCH_ERROR,
99
+ message: 'Failed to download CSV',
100
+ severity: ComponentErrorSeverity.ERROR,
101
+ });
102
+ },
103
+ });
104
+ };
105
+ this.handleClickPrevious = (beforeCursor) => {
106
+ this.pagingParams = { before_cursor: beforeCursor };
107
+ this.clickEvent.emit({ name: TableClickActions.previous });
108
+ };
109
+ this.handleClickNext = (afterCursor) => {
110
+ this.pagingParams = { after_cursor: afterCursor };
111
+ this.clickEvent.emit({ name: TableClickActions.next });
112
+ };
113
+ this.rowClickHandler = (e) => {
114
+ const clickedRow = e.target.closest('tr');
115
+ const clickedPayoutID = clickedRow.dataset.rowEntityId;
116
+ if (!clickedPayoutID)
117
+ return;
118
+ const clickedCSV = clickedRow.querySelector('a');
119
+ if (clickedCSV === e.target)
120
+ return;
121
+ const payoutData = this.payouts.find((payout) => payout.id === clickedPayoutID);
122
+ this.clickEvent.emit({ name: TableClickActions.row, data: payoutData });
63
123
  };
64
124
  }
65
125
  componentWillLoad() {
66
126
  checkPkgVersion();
67
127
  this.analytics = new JustifiAnalytics(this);
68
128
  this.initializeGetData();
129
+ this.payoutsTable = new Table(this.payouts, this.columns, payoutTableColumns, payoutTableCells(this.downloadCSV));
130
+ if (this.getPayouts && this.getSubAccounts) {
131
+ this.fetchData();
132
+ }
133
+ onQueryParamsChange('set', () => {
134
+ this.pagingParams = {};
135
+ });
136
+ onQueryParamsChange('reset', () => {
137
+ this.pagingParams = {};
138
+ this.errorMessage = '';
139
+ });
69
140
  }
70
141
  disconnectedCallback() {
71
142
  var _a;
@@ -75,6 +146,9 @@ const JustifiPayoutsList$1 = /*@__PURE__*/ proxyCustomElement(class JustifiPayou
75
146
  propChanged() {
76
147
  this.initializeGetData();
77
148
  }
149
+ updateOnPropChange() {
150
+ this.fetchData();
151
+ }
78
152
  initializeGetData() {
79
153
  this.initializePayoutsServices();
80
154
  this.initializeGetSubAccounts();
@@ -107,12 +181,88 @@ const JustifiPayoutsList$1 = /*@__PURE__*/ proxyCustomElement(class JustifiPayou
107
181
  });
108
182
  }
109
183
  }
184
+ fetchData() {
185
+ this.loading = true;
186
+ this.getPayouts({
187
+ params: this.payoutParams,
188
+ onSuccess: ({ payouts, pagingInfo }) => {
189
+ this.payouts = payouts;
190
+ this.paging = pagingInfo;
191
+ this.payoutsTable.collectionData = this.payouts;
192
+ const shouldFetchSubAccounts = this.payoutsTable.columnKeys.includes('sub_account_name');
193
+ if (shouldFetchSubAccounts) {
194
+ this.fetchSubAccounts();
195
+ }
196
+ else {
197
+ this.loading = false;
198
+ }
199
+ },
200
+ onError: ({ error, code, severity }) => {
201
+ this.errorMessage = error;
202
+ this.errorEvent.emit({
203
+ errorCode: code,
204
+ message: error,
205
+ severity,
206
+ });
207
+ this.loading = false;
208
+ },
209
+ });
210
+ }
211
+ async fetchSubAccounts() {
212
+ this.getSubAccounts({
213
+ params: this.subAccountParams,
214
+ onSuccess: ({ subAccounts }) => {
215
+ this.subAccounts = subAccounts;
216
+ this.payouts = this.payouts.map((payout) => {
217
+ var _a;
218
+ payout.sub_account_name = (_a = this.subAccounts.find((subAccount) => subAccount.id === payout.account_id)) === null || _a === void 0 ? void 0 : _a.name;
219
+ return payout;
220
+ });
221
+ this.loading = false;
222
+ },
223
+ onError: ({ error, code, severity }) => {
224
+ this.errorMessage = error;
225
+ this.errorEvent.emit({
226
+ errorCode: code,
227
+ message: error,
228
+ severity,
229
+ });
230
+ this.loading = false;
231
+ },
232
+ });
233
+ }
234
+ get payoutParams() {
235
+ const requestParams = getRequestParams();
236
+ const params = Object.assign(Object.assign({}, requestParams), this.pagingParams);
237
+ return params;
238
+ }
239
+ get subAccountParams() {
240
+ let accountIdNumbers = this.payouts.map((payout) => payout.account_id);
241
+ let uniqueAccountIds = [...new Set(accountIdNumbers)];
242
+ let accountIdString = uniqueAccountIds.join(',');
243
+ return { sub_account_id: accountIdString };
244
+ }
245
+ get entityId() {
246
+ return this.payouts.map((payout) => payout.id);
247
+ }
248
+ get showEmptyState() {
249
+ return !this.loading && !this.errorMessage && this.payoutsTable.rowData.length < 1;
250
+ }
251
+ get showErrorState() {
252
+ return !this.loading && !!this.errorMessage;
253
+ }
254
+ get showRowData() {
255
+ return !this.showEmptyState && !this.showErrorState && !this.loading;
256
+ }
110
257
  render() {
111
- return (h(StyledHost, { key: 'ace7ca040d083e78d57aac9dd2f5608b1e628cc3' }, h("payouts-list-core", { key: '9144e309536ce9e8d8330576a441eaf090a12650', getPayouts: this.getPayouts, getPayoutCSV: this.getPayoutCSV, getSubAccounts: this.getSubAccounts, "onError-event": this.handleOnError, columns: this.columns })));
258
+ return (h(StyledHost, { key: '1307a34cfcaf42f829d28b18d893dd5c55aadaa3' }, h(TableWrapper, { key: '481cd3ce90a935edc54286bd732547593c41ffed' }, h(TableComponent, { key: 'd8309908dd108ab194213c76b13d508bf41a3f6c' }, h(TableHead, { key: '8c70c0061a8dc486639c7fa43825076b04aebe5b' }, h(TableHeadRow, { key: '0a53aa8c15efe99cfdbeb458bafaa8a25a10ee62' }, this.payoutsTable.columnData.map((column) => column))), h(TableBody, { key: 'c998709519b531686f24ff02d0560b7a000fbdcd' }, h(TableLoadingState, { key: '2848b295a5483417fe8568b2e7d61803726310be', columnSpan: this.payoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '281a9cbf369914b60d37c54ab351d5cc7865f723', isEmpty: this.showEmptyState, columnSpan: this.payoutsTable.columnKeys.length }), h(TableErrorState, { key: 'c7709f1546a4918b691ec3661903b00167145060', columnSpan: this.payoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.payoutsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '72682c5570fae84c4128268f734d96206f234774' }, h(TableFootRow, { key: 'd391fc3195afc66336d966fb56057f9e89eda3de' }, h(TableFootCell, { key: '3403c09520cb0847d1635e6b862eab6563fb7113', colSpan: this.payoutsTable.columnData.length }, h("pagination-menu", { key: '4d5d70bab5169ddf181c5216a7e4551356e9fc15', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
112
259
  }
113
260
  static get watchers() { return {
114
261
  "accountId": ["propChanged"],
115
- "authToken": ["propChanged"]
262
+ "authToken": ["propChanged"],
263
+ "pagingParams": ["updateOnPropChange"],
264
+ "getPayouts": ["updateOnPropChange"],
265
+ "getSubAccounts": ["updateOnPropChange"]
116
266
  }; }
117
267
  }, [257, "justifi-payouts-list", {
118
268
  "accountId": [1, "account-id"],
@@ -121,16 +271,25 @@ const JustifiPayoutsList$1 = /*@__PURE__*/ proxyCustomElement(class JustifiPayou
121
271
  "getPayouts": [32],
122
272
  "getPayoutCSV": [32],
123
273
  "getSubAccounts": [32],
124
- "errorMessage": [32]
274
+ "errorMessage": [32],
275
+ "payouts": [32],
276
+ "payoutsTable": [32],
277
+ "subAccounts": [32],
278
+ "loading": [32],
279
+ "paging": [32],
280
+ "pagingParams": [32]
125
281
  }, undefined, {
126
282
  "accountId": ["propChanged"],
127
- "authToken": ["propChanged"]
283
+ "authToken": ["propChanged"],
284
+ "pagingParams": ["updateOnPropChange"],
285
+ "getPayouts": ["updateOnPropChange"],
286
+ "getSubAccounts": ["updateOnPropChange"]
128
287
  }]);
129
288
  function defineCustomElement$1() {
130
289
  if (typeof customElements === "undefined") {
131
290
  return;
132
291
  }
133
- const components = ["justifi-payouts-list", "pagination-menu", "payouts-list-core"];
292
+ const components = ["justifi-payouts-list", "pagination-menu"];
134
293
  components.forEach(tagName => { switch (tagName) {
135
294
  case "justifi-payouts-list":
136
295
  if (!customElements.get(tagName)) {
@@ -138,11 +297,6 @@ function defineCustomElement$1() {
138
297
  }
139
298
  break;
140
299
  case "pagination-menu":
141
- if (!customElements.get(tagName)) {
142
- defineCustomElement$3();
143
- }
144
- break;
145
- case "payouts-list-core":
146
300
  if (!customElements.get(tagName)) {
147
301
  defineCustomElement$2();
148
302
  }
@@ -29,6 +29,7 @@ const JustifiPlaidPaymentMethod = /*@__PURE__*/ proxyCustomElement(class Justifi
29
29
  this.isSelected = false;
30
30
  this.retryCount = 0;
31
31
  this.isRetrying = false;
32
+ this.sdkLoaded = false;
32
33
  this.plaidService = new PlaidService();
33
34
  this.maxRetries = 3;
34
35
  this.retryDelay = 2000; // 2 seconds
@@ -375,15 +376,31 @@ const JustifiPlaidPaymentMethod = /*@__PURE__*/ proxyCustomElement(class Justifi
375
376
  this.openPlaidLink();
376
377
  }
377
378
  }
378
- componentDidRender() {
379
- if (!this.scriptRef)
379
+ componentWillLoad() {
380
+ var _a;
381
+ this.isSelected = ((_a = checkoutStore.selectedPaymentMethod) === null || _a === void 0 ? void 0 : _a.type) === PAYMENT_METHODS.PLAID;
382
+ if (checkoutStore.bankAccountVerification !== true)
380
383
  return;
381
- this.scriptRef.onload = () => {
382
- // Wait for store to be populated before initializing
383
- this.waitForStoreAndInitialize();
384
- };
385
- // Add error handler for script loading failures
386
- this.scriptRef.onerror = () => {
384
+ if (checkoutStore.checkoutLoaded) {
385
+ this.loadPlaidSDK();
386
+ }
387
+ else {
388
+ onChange('checkoutLoaded', (loaded) => {
389
+ if (loaded && checkoutStore.bankAccountVerification === true) {
390
+ this.loadPlaidSDK();
391
+ }
392
+ });
393
+ }
394
+ }
395
+ loadPlaidSDK() {
396
+ if (this.sdkLoaded)
397
+ return;
398
+ this.sdkLoaded = true;
399
+ const script = document.createElement('script');
400
+ script.src = 'https://cdn.plaid.com/link/v2/stable/link-initialize.js';
401
+ script.async = true;
402
+ script.onload = () => this.initializePlaidLink();
403
+ script.onerror = () => {
387
404
  this.handleError({
388
405
  code: PlaidErrorCodes.PLAID_SDK_LOAD_FAILED,
389
406
  message: PLAID_ERROR_MESSAGES[PlaidErrorCodes.PLAID_SDK_LOAD_FAILED],
@@ -392,11 +409,7 @@ const JustifiPlaidPaymentMethod = /*@__PURE__*/ proxyCustomElement(class Justifi
392
409
  userAction: 'Refresh the page and try again'
393
410
  });
394
411
  };
395
- }
396
- componentWillLoad() {
397
- var _a;
398
- // Initialize selection state based on store
399
- this.isSelected = ((_a = checkoutStore.selectedPaymentMethod) === null || _a === void 0 ? void 0 : _a.type) === PAYMENT_METHODS.PLAID;
412
+ document.head.appendChild(script);
400
413
  }
401
414
  async resolvePaymentMethod() {
402
415
  if (!this.publicToken) {
@@ -542,7 +555,7 @@ const JustifiPlaidPaymentMethod = /*@__PURE__*/ proxyCustomElement(class Justifi
542
555
  }
543
556
  return null;
544
557
  };
545
- return (h(StyledHost, { class: "payment-method" }, h("script", { src: "https://cdn.plaid.com/link/v2/stable/link-initialize.js", async: true, ref: (el) => (this.scriptRef = el) }), h("div", { title: "Pay with Plaid" }, h("div", { onClick: (event) => { event.preventDefault(); this.handleSelectionClick(); } }, "Pay with Bank Account ", plaidLogo, " "), renderErrorState(), renderStatusState())));
558
+ return (h(StyledHost, { class: "payment-method" }, h("div", { title: "Pay with Plaid" }, h("div", { onClick: (event) => { event.preventDefault(); this.handleSelectionClick(); } }, "Pay with Bank Account ", plaidLogo, " "), renderErrorState(), renderStatusState())));
546
559
  }
547
560
  static get watchers() { return {
548
561
  "isSelected": ["onSelectionChange"]
@@ -41,7 +41,7 @@ const JustifiProductOrService = /*@__PURE__*/ proxyCustomElement(class JustifiPr
41
41
  }
42
42
  render() {
43
43
  var _a, _b, _c;
44
- return (h("div", { key: '7cb338a69707254cc2c0ccf7cea598380331dd5b' }, h("div", { key: '8cc05bbd74be050d887964c20a336d58e6bccd31', class: "row gy-3" }, h("div", { key: '7fd7d75e46a3e76a5421d217c52681fbaef47e40', class: "col-12" }, h("h2", { key: '6cc302087f7eb8d785522420678ff5b1a2f96df0', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: 'd4bba967bc346c1bf8240bdd50421643b5bd36d5', class: "col-12" }, h("form-control-text", { key: '45870cd9aa42f5cc2906e34e7f24d9e1dfa81bfd', label: "Product Description", name: "product_description", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.product_description, inputHandler: this.inputHandler, errorText: this.errors.product_description })), h("div", { key: 'e4ee19663d28921208736a09b5a697bc4d8a17ea', class: "col-12" }, h("form-control-date", { key: '3ef6bb94b0a10f882d566a2a432ba3d6ce482cd1', label: "Service Date", name: "service_date", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.service_date, inputHandler: this.inputHandler, errorText: this.errors.service_date })), h("div", { key: '63d88212fa98935068d7ef0e9f1ec0ca5192dd4c', class: "col-12" }, h("form-control-file-v2", { key: '231b87e6b4d1a8ee530edc6d21701df21c82c91d', label: "Service Documentation", name: "service_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.service_documentation })))));
44
+ return (h("div", { key: 'e43f3118bb3b607e3af86cbdf8cba319bd0c7f26' }, h("div", { key: 'ab2452d038e39e3b2781d72b0b43c42899734fce', class: "row gy-3" }, h("div", { key: '04a31b25a688803623882e91e6d27ebdcab3fc99', class: "col-12" }, h("h2", { key: 'c32d209d8c441287353316222a2ad11d66ad3022', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: '936a6427c3531df4dcc096ff50bc31a0b85a4bcb', class: "col-12" }, h("form-control-text", { key: 'e7c77f6b3f35ff66935e2c48c4a6c7b203cdc3ea', label: "Product Description", name: "product_description", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.product_description, inputHandler: this.inputHandler, errorText: this.errors.product_description })), h("div", { key: '51e374b7cf4053261f0bc44a19ee13c39e4b8a88', class: "col-12" }, h("form-control-date", { key: '0b11a59dbd74b0e6fe568a948c643722542647ab', label: "Service Date", name: "service_date", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.service_date, inputHandler: this.inputHandler, errorText: this.errors.service_date })), h("div", { key: 'e18ae7ebca9050fc87aed1d51d664c278b16c341', class: "col-12" }, h("form-control-file-v2", { key: 'dd7567eb79c3d273bfa3b4464dd39b9508d8a018', label: "Service Documentation", name: "service_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.service_documentation })))));
45
45
  }
46
46
  }, [256, "justifi-product-or-service", {
47
47
  "disputeResponse": [8, "dispute-response"],
@@ -1,6 +1,6 @@
1
1
  import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
2
2
  import { c as create$3, a as create$6, F as FormController } from './form.js';
3
- import { c as formatCurrency } from './utils2.js';
3
+ import { b as formatCurrency } from './utils2.js';
4
4
  import './config-state.js';
5
5
  import { R as RefundReasons, C as ComponentErrorSeverity, a as ComponentErrorCodes, u as RefundPayload } from './Plaid.js';
6
6
  import './Pagination.js';
@@ -41,7 +41,7 @@ const JustifiRefundPolicy = /*@__PURE__*/ proxyCustomElement(class JustifiRefund
41
41
  }
42
42
  render() {
43
43
  var _a, _b, _c, _d;
44
- return (h("div", { key: 'c63cdc18f30fd294af7ecf0b4ea7d587f06abaea' }, h("div", { key: 'c9f68730fbe832982d626ab897e407d67c570942', class: "row gy-3" }, h("div", { key: 'b3932aea5591f932613af951f15917e14a35b28c', class: "col-12" }, h("h2", { key: 'd7493a5e9a477ba02e70c26b8e2bbd344662d2c7', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: '490750c83185595252908047595ba23b5f705801', class: "col-12" }, h("form-control-textarea", { key: '511931f7c55bc173b891770c6e5d89df30e37b08', label: "Refund Policy Disclosure", name: "refund_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.refund_policy_disclosure, inputHandler: this.inputHandler })), h("div", { key: '8028af10e59f016a54d1639aad49c3ecbd063c70', class: "col-12" }, h("form-control-textarea", { key: '22f0e873729a3a83c62824d2695304775d96d986', label: "Refund Refusal Explanation", name: "refund_refusal_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.refund_refusal_explanation, inputHandler: this.inputHandler })), h("div", { key: '7492b589d4717ac0d478109797d80fdc2c56b8fc', class: "col-12" }, h("form-control-file-v2", { key: '3a9297c083a93f813be357b21cd09dd213c420a9', label: "Upload Refund Policy", name: "refund_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.refund_policy })), h("div", { key: '6f7db6c147c577427c11aca96a2944a493b037c1', class: "col-12" }, h("form-control-file-v2", { key: 'ddc5cca9e50bb01aec30cc0b666cca722bd6acca', label: "Upload Receipt", name: "receipt", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.receipt })))));
44
+ return (h("div", { key: 'c5a20cda29feb1dd2bc608a34f1d479e75218606' }, h("div", { key: '137aeb0f70a8ae6daba6f44d0128098c1580d91a', class: "row gy-3" }, h("div", { key: '9a5839b430e5dc73b6543f17fc53c927859a36c9', class: "col-12" }, h("h2", { key: 'bdd71c1c572428ba0d274e7319786a5236de193b', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: '191121597d2277907a526d1c3ea1662e40c5ffc0', class: "col-12" }, h("form-control-textarea", { key: '131ecd8df82112e62825c821e3408f721b65486d', label: "Refund Policy Disclosure", name: "refund_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.refund_policy_disclosure, inputHandler: this.inputHandler })), h("div", { key: 'ea28978ddac1ca271b4d2685559c30564756e24c', class: "col-12" }, h("form-control-textarea", { key: 'dbf87760ec66daffe670e13014d69bb899fb4e6f', label: "Refund Refusal Explanation", name: "refund_refusal_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.refund_refusal_explanation, inputHandler: this.inputHandler })), h("div", { key: 'f04e0f3e88971625b296c9a13d2e4c66ca0ee431', class: "col-12" }, h("form-control-file-v2", { key: 'fa4b249335a73a479c8e6abbc4c44e2fe3ab11e6', label: "Upload Refund Policy", name: "refund_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.refund_policy })), h("div", { key: 'e06df78e4ee3b06278850d53d0484fd750ee48ed', class: "col-12" }, h("form-control-file-v2", { key: '82980ca492c41b2e705ad1e686af84122a94b7a2', label: "Upload Receipt", name: "receipt", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.receipt })))));
45
45
  }
46
46
  }, [256, "justifi-refund-policy", {
47
47
  "disputeResponse": [8, "dispute-response"],
@@ -17,7 +17,7 @@ const JustifiSaveNewPaymentMethod$1 = /*@__PURE__*/ proxyCustomElement(class Jus
17
17
  this.label = 'Save New Payment Method';
18
18
  }
19
19
  render() {
20
- return (h(StyledHost, { key: '9a8f3c570df476801a903c8591ad955c6e20bdcf' }, h("save-new-payment-method", { key: 'c5651023d045273b885df866ac0532d80db429aa', label: this.label, hidden: this.hidden, onCheckboxChanged: (e) => this.checkboxChanged.emit(e.detail) })));
20
+ return (h(StyledHost, { key: 'b3a21f76759593ab02d71ed9a708982bdad5f0c3' }, h("save-new-payment-method", { key: 'ce0aa2bb711293144c835e9779b39a122017b544', label: this.label, hidden: this.hidden, onCheckboxChanged: (e) => this.checkboxChanged.emit(e.detail) })));
21
21
  }
22
22
  }, [257, "justifi-save-new-payment-method", {
23
23
  "label": [1],
@@ -26,7 +26,7 @@ const JustifiSavedPaymentMethod$1 = /*@__PURE__*/ proxyCustomElement(class Justi
26
26
  ;
27
27
  render() {
28
28
  var _a, _b, _c;
29
- return (h(Host, { key: 'e344ee9a3ca002fa7b1685991db6fc947b1ab740', class: "payment-method" }, h("div", { key: '6e0c985161d5e7e8dc381d7171df9b70a25d007b', class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick }, h("form-control-radio", { key: '826c54a61730d9e55f14da3ef6f7b7dea897e036', name: "paymentMethodType", value: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, checked: this.isSelected, label: `${CardBrandLabels[(_b = this.paymentMethodOption) === null || _b === void 0 ? void 0 : _b.brand] || ''} *${(_c = this.paymentMethodOption) === null || _c === void 0 ? void 0 : _c.acct_last_four}` }))));
29
+ return (h(Host, { key: '66b8725a684241fc105d182ee5982167b2007506', class: "payment-method" }, h("div", { key: 'd0370f70b880f6a83b18eaeeefce7b8fde342ce9', class: "radio-list-item p-3", part: radioListItem, onClick: this.onPaymentMethodOptionClick }, h("form-control-radio", { key: '76ed425815f77082ba1145aa2df04beef6044e07', name: "paymentMethodType", value: (_a = this.paymentMethodOption) === null || _a === void 0 ? void 0 : _a.id, checked: this.isSelected, label: `${CardBrandLabels[(_b = this.paymentMethodOption) === null || _b === void 0 ? void 0 : _b.brand] || ''} *${(_c = this.paymentMethodOption) === null || _c === void 0 ? void 0 : _c.acct_last_four}` }))));
30
30
  }
31
31
  }, [256, "justifi-saved-payment-method", {
32
32
  "paymentMethodOption": [16],
@@ -35,11 +35,13 @@ const JustifiSavedPaymentMethods = /*@__PURE__*/ proxyCustomElement(class Justif
35
35
  };
36
36
  }
37
37
  componentWillLoad() {
38
- if (!checkoutStore.paymentMethods.length) {
39
- console.warn('No saved payment methods available.');
40
- }
41
- if (checkoutStore.disablePaymentMethodGroup) {
42
- console.warn('Payment method group is disabled.');
38
+ if (checkoutStore.checkoutLoaded) {
39
+ if (!checkoutStore.paymentMethods.length) {
40
+ console.warn('No saved payment methods available.');
41
+ }
42
+ if (checkoutStore.disablePaymentMethodGroup) {
43
+ console.warn('Payment method group is disabled.');
44
+ }
43
45
  }
44
46
  }
45
47
  render() {
@@ -8,7 +8,7 @@ import { g as getErrorCode, a as getErrorMessage } from './utils3.js';
8
8
  import { J as JustifiAnalytics } from './Analytics.js';
9
9
  import { c as checkPkgVersion } from './check-pkg-version.js';
10
10
  import { c as checkoutStore } from './checkout.store.js';
11
- import { p as processHTML, c as formatCurrency, r as removeAttribute, n as addAttribute } from './utils2.js';
11
+ import { p as processHTML, b as formatCurrency, r as removeAttribute, m as addAttribute } from './utils2.js';
12
12
  import { v as validateInsuranceValues, a as insuranceValues, b as insuranceErrors } from './insurance-state.js';
13
13
  import { j as text, k as textDanger } from './parts.js';
14
14
  import { S as StyledHost } from './styled-host.js';
@@ -1,5 +1,5 @@
1
1
  import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
2
- import { c as formatCurrency } from './utils2.js';
2
+ import { b as formatCurrency } from './utils2.js';
3
3
  import { c as checkoutStore } from './checkout.store.js';
4
4
  import { S as StyledHost } from './styled-host.js';
5
5
  import './justifi-details2.js';
@@ -46,7 +46,7 @@ const JustifiShippingDetails = /*@__PURE__*/ proxyCustomElement(class JustifiShi
46
46
  }
47
47
  render() {
48
48
  var _a, _b, _c, _d, _e;
49
- return (h("div", { key: '66ab4f496a037d4724fcc127803d2fd4c72ad2a8' }, h("div", { key: 'a650a56e124ecc55aaa383a32e27cad862801d01', class: "row gy-3" }, h("div", { key: 'aedaacba104b8540eedafcbc8f7c776fa99ab387', class: "col-12" }, h("h2", { key: 'b4e2dc10ef6cbdab47143f2cc64a484050bfc416', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: '7110551e0ecf98b149f008eb7105235b8d601454', class: "col-12" }, h("form-control-text", { key: '2c17294567ff47b181c8d11cfda7651671adac92', label: "Shipping Carrier Name", name: "shipping_carrier", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.shipping_carrier, inputHandler: this.inputHandler, errorText: this.errors.shipping_carrier })), h("div", { key: '031476a2435c80b8ae27fb50303f14797d84a801', class: "col-12" }, h("form-control-text", { key: '67441fbba00af48235867763561cf8adf66b9e69', label: "Tracking Number", name: "shipping_tracking_number", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.shipping_tracking_number, inputHandler: this.inputHandler, errorText: this.errors.shipping_tracking_number })), h("div", { key: '1fcc1bf129d3ec577f4f36a2801422044ec0a59e', class: "col-12" }, h("form-control-date", { key: 'aa0464427d083dceba8e1604e045c707366d6046', label: "Date Shipped", name: "shipping_date", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.shipping_date, inputHandler: this.inputHandler, errorText: this.errors.shipping_date })), h("div", { key: 'f61850943df4c9d6605cde9d86b2e8275ced0af4', class: "col-12" }, h("form-control-textarea", { key: 'a1d4997810348a93f26a9f4932890ffd911ea062', label: "Shipping Address", name: "shipping_address", defaultValue: (_d = this.disputeResponse) === null || _d === void 0 ? void 0 : _d.shipping_address, inputHandler: this.inputHandler, errorText: this.errors.shipping_address })), h("div", { key: '9dd41ee3436d63e0c89318129e811630e4aad75d', class: "col-12" }, h("form-control-file-v2", { key: 'fe1879caad49f44f1abd312a3925a20e6bdc11bf', label: "Shipping Documentation", name: "shipping_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.shipping_documentation })))));
49
+ return (h("div", { key: '5095dc339b43e49c59b6efcfacacbb680408edf5' }, h("div", { key: '1fbe12df13f6013c2223b60b94ac0a5fa4596dc0', class: "row gy-3" }, h("div", { key: 'd31cb56b51c77a39125f3531e9513ebc51155277', class: "col-12" }, h("h2", { key: '317c209a7e3168e85b4e0c672a6c8cb8f5e2177c', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: '27f75f17046c752629058d496cb7820b23dcbc2c', class: "col-12" }, h("form-control-text", { key: '3640223bb57f4d6eea09df3d3a0c66b7f5cce998', label: "Shipping Carrier Name", name: "shipping_carrier", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.shipping_carrier, inputHandler: this.inputHandler, errorText: this.errors.shipping_carrier })), h("div", { key: 'e31d26c7622a07833814aba997c25fa114dfd276', class: "col-12" }, h("form-control-text", { key: 'e6cc2d569c05e28452428577c9991d3f45ab97c8', label: "Tracking Number", name: "shipping_tracking_number", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.shipping_tracking_number, inputHandler: this.inputHandler, errorText: this.errors.shipping_tracking_number })), h("div", { key: '6ebb9e323186e4db61e42c68757f218b6d412253', class: "col-12" }, h("form-control-date", { key: 'aee185a1e9a7bdf3a9ff79d4cef4937dae6b9eaf', label: "Date Shipped", name: "shipping_date", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.shipping_date, inputHandler: this.inputHandler, errorText: this.errors.shipping_date })), h("div", { key: 'afee1bf9054a4d43b1c708a254459134453e014c', class: "col-12" }, h("form-control-textarea", { key: 'b238c60b5fc8805d5969ceb271ecbb0b5f77f7b4', label: "Shipping Address", name: "shipping_address", defaultValue: (_d = this.disputeResponse) === null || _d === void 0 ? void 0 : _d.shipping_address, inputHandler: this.inputHandler, errorText: this.errors.shipping_address })), h("div", { key: '631889f4538c546dc386009b229acd9fb7a98a6c', class: "col-12" }, h("form-control-file-v2", { key: 'd960f9f6494ffd3f5bc4b62fa66f3466974f07c5', label: "Shipping Documentation", name: "shipping_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.shipping_documentation })))));
50
50
  }
51
51
  }, [256, "justifi-shipping-details", {
52
52
  "disputeResponse": [8, "dispute-response"],
@@ -11,7 +11,7 @@ const JustifiSkeleton$1 = /*@__PURE__*/ proxyCustomElement(class JustifiSkeleton
11
11
  this.__attachShadow();
12
12
  }
13
13
  render() {
14
- return (h(StyledHost, { key: 'aae82594ed1833982d7bb06ea0808e56e06b11f8' }, h(Skeleton, { key: '52c5680b1dc298b75646e5409b9c5c5b83f53eae', component: this.component, height: this.height, width: this.width, className: this.class, styles: this.customStyle })));
14
+ return (h(StyledHost, { key: 'd19fcf55df4b5b001d31af93c263fef39fc0d160' }, h(Skeleton, { key: '9ab49d76aa71146287fff2013050e008342f0275', component: this.component, height: this.height, width: this.width, className: this.class, styles: this.customStyle })));
15
15
  }
16
16
  }, [257, "justifi-skeleton", {
17
17
  "component": [1],
@@ -8,7 +8,7 @@ import './event-types.js';
8
8
  import './justifi-radio-list-item2.js';
9
9
  import './config-state.js';
10
10
  import { e as convertToUTC, h as convertToLocal } from './utils2.js';
11
- import { T as TerminalOrderStatus, j as TerminalOrderType } from './Plaid.js';
11
+ import { T as TerminalOrderStatus, i as TerminalOrderType } from './Plaid.js';
12
12
  import './Pagination.js';
13
13
  import './Business.js';
14
14
  import './ApplePay.js';
@@ -69,9 +69,9 @@ const JustifiTerminalOrdersListFilters$1 = /*@__PURE__*/ proxyCustomElement(clas
69
69
  }
70
70
  render() {
71
71
  const filterMenuParams = Object.assign({}, filterParams);
72
- return (h(StyledHost, { key: 'f53f07d2485906f350626bb2d607a03f1886d171' }, h("table-filters-menu", { key: '0530f16e6483f0129c687f3baee2e96318fd1124', params: filterMenuParams, clearParams: clearParams, part: filterMenu }, h("div", { key: '8d0db1dbb3bb4c72b960e885b14c32e5e96ad803', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '89e2d935209ca54d61803d405298a26483573cec', class: "p-2" }, h("form-control-select", { key: '54c0e848ef9f8ba3b78647ad78fb1c06a95fd70b', name: "order_status", label: "Order Status", options: this.terminalOrderStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.orderStatus || filterParams.order_status || '', disabled: !!this.orderStatus, part: filterParam })), h("div", { key: '9c2699b57a792975e380f5eb8b4c7b932ed56ad7', class: "p-2" }, h("form-control-select", { key: '39f5ce01e1d0c1312b52f10616abafd4dd0351ce', name: "order_type", label: "Order Type", options: this.terminalOrderTypeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.orderType || filterParams.order_type || '', disabled: !!this.orderType, part: filterParam })), h("div", { key: '2bda49183fe0f5c4eb21cf88d60851f3abf829e3', class: "p-2" }, h("form-control-date", { key: '5452ac8632f18ed59b5ca9882d530230f1340433', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
73
- convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: filterParam })), h("div", { key: 'cd829f44be8958025910cb5ee4109cb6f366aa0c', class: "p-2" }, h("form-control-date", { key: 'b9a0c3edca8fd798b574c54b2f5759db2f67de84', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
74
- convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: filterParam })), h("div", { key: 'bdd5b48bd4133edc6c7ed00d881579086576c801', class: "p-2" }, h("form-control-text", { key: '1e20ee3d4b771e8381005a304d61e6064a496271', name: "company_name", label: "Company Name", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.companyName || filterParams.company_name, disabled: !!this.companyName, part: filterParam }))))));
72
+ return (h(StyledHost, { key: 'cc09bb58c13ab0b26d92eb164cf6bc43a3c96c63' }, h("table-filters-menu", { key: '08369c471d891184e36dd6c5aae8842e0df5c01a', params: filterMenuParams, clearParams: clearParams, part: filterMenu }, h("div", { key: 'addd8a1cf74ae9e80cc8e4374a36400204c81400', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: 'b74cf4d1d13a0a6250000c8f7f0845f4c907e488', class: "p-2" }, h("form-control-select", { key: 'b1b060b64f67695bb395488fa23dcbf6373b419b', name: "order_status", label: "Order Status", options: this.terminalOrderStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.orderStatus || filterParams.order_status || '', disabled: !!this.orderStatus, part: filterParam })), h("div", { key: 'a3c06691181d01d6a664016b4add0784b23ab06c', class: "p-2" }, h("form-control-select", { key: '376039e2f10fbcc9ed008611d4976cf6412c16a4', name: "order_type", label: "Order Type", options: this.terminalOrderTypeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.orderType || filterParams.order_type || '', disabled: !!this.orderType, part: filterParam })), h("div", { key: 'f03c94412b7861d255dfdef98a4c2fad14e96cfa', class: "p-2" }, h("form-control-date", { key: 'd7588c4ecda9480881e0f67e0418b1e475db188c', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
73
+ convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: filterParam })), h("div", { key: '76f0cee7430e846a479478c903d892ac05490787', class: "p-2" }, h("form-control-date", { key: 'ce0f99ebfa8a82111689ae6ee4cc1d8bd141d657', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
74
+ convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: filterParam })), h("div", { key: '5c06fefb50c8c987a8e55623cba70a39cc64bbe1', class: "p-2" }, h("form-control-text", { key: '0a24516bbf665784e5c13a16b0b38be2bafb684b', name: "company_name", label: "Company Name", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.companyName || filterParams.company_name, disabled: !!this.companyName, part: filterParam }))))));
75
75
  }
76
76
  }, [257, "justifi-terminal-orders-list-filters", {
77
77
  "orderStatus": [1, "order-status"],
@@ -7,7 +7,7 @@ import { c as checkPkgVersion } from './check-pkg-version.js';
7
7
  import { d as defineCustomElement$2, a as defaultColumnsKeys } from './terminal-orders-list-core2.js';
8
8
  import './config-state.js';
9
9
  import './dinero.js';
10
- import { s as TerminalOrder, C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Plaid.js';
10
+ import { r as TerminalOrder, C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Plaid.js';
11
11
  import './Pagination.js';
12
12
  import './Business.js';
13
13
  import './ApplePay.js';
@@ -100,7 +100,7 @@ const JustifiTerminalOrdersList$1 = /*@__PURE__*/ proxyCustomElement(class Justi
100
100
  }
101
101
  }
102
102
  render() {
103
- return (h(StyledHost, { key: 'f505fd0cb18cae37cf0896883acd93212c45cc88' }, h("terminal-orders-list-core", { key: '2eaf2c82b43a0fd8106b8ccfe76ebcdef01f75e8', getTerminalOrders: this.getTerminalOrders, "onError-event": this.handleErrorEvent, columns: this.columns })));
103
+ return (h(StyledHost, { key: '65330929a53f4e5e07177541460ccce864edd3ec' }, h("terminal-orders-list-core", { key: '79d4bc028395ede9b9f2e2c12729cc20532ef251', getTerminalOrders: this.getTerminalOrders, "onError-event": this.handleErrorEvent, columns: this.columns })));
104
104
  }
105
105
  }, [257, "justifi-terminal-orders-list", {
106
106
  "accountId": [1, "account-id"],
@@ -8,7 +8,7 @@ import './justifi-details2.js';
8
8
  import './event-types.js';
9
9
  import './justifi-radio-list-item2.js';
10
10
  import './config-state.js';
11
- import { k as ITerminalStatus } from './Plaid.js';
11
+ import { j as ITerminalStatus } from './Plaid.js';
12
12
  import './Pagination.js';
13
13
  import './Business.js';
14
14
  import './ApplePay.js';
@@ -64,7 +64,7 @@ const JustifiTerminalsListFilters$1 = /*@__PURE__*/ proxyCustomElement(class Jus
64
64
  }
65
65
  render() {
66
66
  const filterMenuParams = Object.assign({}, filterParams);
67
- return (h(StyledHost, { key: '4b6ba70d8a8581d78facb0a2f262c7f11baf971b' }, h("table-filters-menu", { key: '38f0bfb11c9887a612c3dba55ae22fc3848e16ea', params: filterMenuParams, clearParams: clearParams, part: filterMenu }, h("div", { key: 'b9ba8adf4e258310bb5c250c4d47d10157101007', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: 'd6c3a5b11c0def890980eacac4690accd73abf68', class: "p-2" }, h("form-control-text", { key: 'e3657ae3f8a875a865a66e652ecf7ea86f3e768e', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: filterParam })), h("div", { key: '5991ea46b3e887bd600041ed1cc6dd522adb92c2', class: "p-2" }, h("form-control-text", { key: '36a007337309b04d89f4754b07ffb535e8806033', name: "terminal_order_id", label: "Terminal Order ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalOrderId || filterParams.terminal_order_id, disabled: !!this.terminalOrderId, part: filterParam })), h("div", { key: '6089e2751f0fadc14b899510972b00eb7b1cf3cd', class: "p-2" }, h("form-control-text", { key: '430eeeeb1adfdc50f83b35fa662d08b7387ee699', name: "provider_id", label: "Device ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.providerId || filterParams.provider_id, disabled: !!this.providerId, part: filterParam })), h("div", { key: 'e82b272ebcd175a68a39b19acc033213422ee07f', class: "p-2" }, h("form-control-text", { key: '38829262c19e3281e3c0e96d6287d35ed4110f75', name: "serial_number", label: "Serial Number", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.serialNumber || filterParams.serial_number, disabled: !!this.serialNumber, part: filterParam })), h("div", { key: 'fcdb9be89ea287c91bcd1ca64bb81adae03912ff', class: "p-2" }, h("form-control-select", { key: '0555fdc74f33ce2589de7e7695256c15e4f21ed5', name: "status", label: "Status", options: this.terminalStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.terminalStatus || filterParams.status || '', disabled: !!this.terminalStatus, part: filterParam })), h("div", { key: '9bdb42ed941298a2b4f42f85cec7469c3dba7301', class: "p-2" }, h("form-control-date", { key: '8366403642c6394822c324b249307760a7ba2b1c', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter || filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: filterParam })), h("div", { key: 'd1a02ac27ede585547d29082d41b7dab30e1bf04', class: "p-2" }, h("form-control-date", { key: '62b86c28b87a179dbd3ad8a85d9d2eb3d06fff9c', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore || filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: filterParam }))))));
67
+ return (h(StyledHost, { key: '77a3937540cd75a7cc51a90b1cd7c7c52ae870b2' }, h("table-filters-menu", { key: '4a725bfe0b79d0046eea2f7b3e3fe295b5384b94', params: filterMenuParams, clearParams: clearParams, part: filterMenu }, h("div", { key: '0cb6fcedf45371c68b8b37e8b832ca3e9b48789e', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '602fc95acdd62112bc53f858073e936f9bf5e48d', class: "p-2" }, h("form-control-text", { key: 'c4e8dc476d2d8d80f2367ab6f8a5e5db17a72f15', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: filterParam })), h("div", { key: 'e83b3b3ef5f1509286cabaee9faeb96cd7d9e15a', class: "p-2" }, h("form-control-text", { key: '2f6eb9224740f327ce5019d93d879c231df8b0ee', name: "terminal_order_id", label: "Terminal Order ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalOrderId || filterParams.terminal_order_id, disabled: !!this.terminalOrderId, part: filterParam })), h("div", { key: '942179e72ce3b8fea5c2cd2dd28aeecd586bdb6c', class: "p-2" }, h("form-control-text", { key: 'adb7eaab71834c2c619a09f9053dd8374a8bdfcc', name: "provider_id", label: "Device ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.providerId || filterParams.provider_id, disabled: !!this.providerId, part: filterParam })), h("div", { key: 'c15d630d0c3500d26720db63cbf90098b837ee24', class: "p-2" }, h("form-control-text", { key: '93f4e6c1e5c8f7e853111e74e25946fd683c5a17', name: "serial_number", label: "Serial Number", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.serialNumber || filterParams.serial_number, disabled: !!this.serialNumber, part: filterParam })), h("div", { key: '6a269a0c2fb90fb4e00b05d4aeee3fff4ab4e967', class: "p-2" }, h("form-control-select", { key: 'f6d9e45354d5c3d8894fe442d0bef490bafb20de', name: "status", label: "Status", options: this.terminalStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.terminalStatus || filterParams.status || '', disabled: !!this.terminalStatus, part: filterParam })), h("div", { key: 'ea70b109bd231bd085bb2cb8388d8010e0c5aa79', class: "p-2" }, h("form-control-date", { key: '256cddfb0e68590bc8d8403aa8a033ad40d613fe', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter || filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: filterParam })), h("div", { key: '1be9bf8d68c691f09d40db9c45d78ed923fb3d86', class: "p-2" }, h("form-control-date", { key: '79d48b277064373e3faf999ae8771a44b35de1cb', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore || filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: filterParam }))))));
68
68
  }
69
69
  }, [257, "justifi-terminals-list-filters", {
70
70
  "terminalId": [1, "terminal-id"],