@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,21 +1,25 @@
1
- import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { p as Terminal, C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Plaid.js';
1
+ import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
2
+ import { s as Terminal, 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 { T as TerminalService } from './terminal.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
12
  import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts.js';
13
13
  import { S as StyledHost } from './styled-host.js';
14
14
  import './justifi-details2.js';
15
- import './event-types.js';
15
+ 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';
16
+ import { T as TableClickActions } from './event-types.js';
16
17
  import './justifi-radio-list-item2.js';
17
- import { d as defineCustomElement$2, a as defaultColumnsKeys } from './terminals-list-core2.js';
18
- import { d as defineCustomElement$3 } from './pagination-menu2.js';
18
+ import { B as Badge, a as BadgeVariant } from './badge.js';
19
+ import { B as tableHeadCell, ah as getAlternateTableCellPart } from './parts.js';
20
+ import { n as capitalFirstLetter } from './utils2.js';
21
+ import { o as onQueryParamsChange, g as getRequestParams } from './terminals-list-params-state.js';
22
+ import { d as defineCustomElement$2 } from './pagination-menu2.js';
19
23
 
20
24
  const makeGetTerminals = ({ id, authToken, service }) => async ({ params, onSuccess, onError }) => {
21
25
  var _a, _b;
@@ -46,6 +50,60 @@ const makeGetTerminals = ({ id, authToken, service }) => async ({ params, onSucc
46
50
  }
47
51
  };
48
52
 
53
+ const MapTerminalStatusToBadge = (status) => {
54
+ const statusToBadgeProps = {
55
+ connected: {
56
+ variant: BadgeVariant.SUCCESS,
57
+ title: 'This terminal is connected',
58
+ text: 'Connected',
59
+ },
60
+ disconnected: {
61
+ variant: BadgeVariant.DANGER,
62
+ title: 'This terminal is disconnected',
63
+ text: 'Disconnected',
64
+ },
65
+ unknown: {
66
+ variant: BadgeVariant.SECONDARY,
67
+ title: 'The status of this terminal is unknown',
68
+ text: 'Unknown',
69
+ },
70
+ pending_configuration: {
71
+ variant: BadgeVariant.WARNING,
72
+ title: 'This terminal is pending configuration',
73
+ text: 'Pending configuration',
74
+ },
75
+ archived: {
76
+ variant: BadgeVariant.SECONDARY,
77
+ title: 'This terminal is archived',
78
+ text: 'Archived',
79
+ }
80
+ };
81
+ const badgeProps = statusToBadgeProps[status];
82
+ return h(Badge, Object.assign({}, badgeProps));
83
+ };
84
+
85
+ const defaultColumnsKeys = 'nickname,provider_serial_number,status';
86
+ const terminalTableColumns = {
87
+ nickname: () => (h("th", { part: tableHeadCell, scope: "col", title: "The nickname associated with the terminal" }, "Nickname")),
88
+ model_name: () => (h("th", { part: tableHeadCell, scope: "col", title: "The model name of the terminal" }, "Model Name")),
89
+ id: () => (h("th", { part: tableHeadCell, scope: "col", title: "The ID of the terminal" }, "ID")),
90
+ provider: () => (h("th", { part: tableHeadCell, scope: "col", title: "The provider of the terminal" }, "Provider")),
91
+ provider_serial_number: () => (h("th", { part: tableHeadCell, scope: "col", title: "The serial number of the terminal" }, "Serial Number")),
92
+ device_id: () => (h("th", { part: tableHeadCell, scope: "col", title: "The device/provider ID of the terminal" }, "Device ID")),
93
+ sub_account_name: () => (h("th", { part: tableHeadCell, scope: "col", title: "The sub account associated with the terminal" }, "Sub Account")),
94
+ status: () => (h("th", { part: tableHeadCell, scope: "col", title: "The current status of each terminal" }, "Status")),
95
+ };
96
+ const terminalTableCells = {
97
+ nickname: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminal.nickname)),
98
+ model_name: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminal.model_name)),
99
+ id: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminal.id)),
100
+ provider: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, capitalFirstLetter(terminal.provider))),
101
+ provider_serial_number: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminal.provider_serial_number)),
102
+ device_id: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminal.provider_id)),
103
+ sub_account_name: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminal.sub_account_name)),
104
+ status: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, MapTerminalStatusToBadge(terminal.status))),
105
+ };
106
+
49
107
  const JustifiTerminalsList$1 = /*@__PURE__*/ proxyCustomElement(class JustifiTerminalsList extends HTMLElement {
50
108
  constructor(registerHost) {
51
109
  super();
@@ -53,18 +111,45 @@ const JustifiTerminalsList$1 = /*@__PURE__*/ proxyCustomElement(class JustifiTer
53
111
  this.__registerHost();
54
112
  }
55
113
  this.__attachShadow();
114
+ this.clickEvent = createEvent(this, "click-event", 7);
56
115
  this.errorEvent = createEvent(this, "error-event", 7);
57
- this.errorMessage = null;
116
+ this.terminals = [];
117
+ this.subAccounts = [];
118
+ this.loading = true;
119
+ this.paging = pagingDefaults;
120
+ this.pagingParams = {};
58
121
  this.columns = defaultColumnsKeys;
59
- this.handleErrorEvent = (event) => {
60
- this.errorMessage = event.detail.message;
61
- this.errorEvent.emit(event.detail);
122
+ this.handleClickPrevious = (beforeCursor) => {
123
+ this.pagingParams = { before_cursor: beforeCursor };
124
+ this.clickEvent.emit({ name: TableClickActions.previous });
125
+ };
126
+ this.handleClickNext = (afterCursor) => {
127
+ this.pagingParams = { after_cursor: afterCursor };
128
+ this.clickEvent.emit({ name: TableClickActions.next });
129
+ };
130
+ this.rowClickHandler = (e) => {
131
+ const clickedTerminalID = e.target.closest('tr').dataset.rowEntityId;
132
+ if (!clickedTerminalID)
133
+ return;
134
+ const terminalData = this.terminals.find((terminal) => terminal.id === clickedTerminalID);
135
+ this.clickEvent.emit({ name: TableClickActions.row, data: terminalData });
62
136
  };
63
137
  }
64
138
  componentWillLoad() {
65
139
  checkPkgVersion();
66
140
  this.analytics = new JustifiAnalytics(this);
141
+ this.terminalsTable = new Table(this.terminals, this.columns, terminalTableColumns, terminalTableCells);
67
142
  this.initializeGetData();
143
+ if (this.getTerminals && this.getSubAccounts) {
144
+ this.fetchData();
145
+ }
146
+ onQueryParamsChange('set', () => {
147
+ this.pagingParams = {};
148
+ });
149
+ onQueryParamsChange('reset', () => {
150
+ this.pagingParams = {};
151
+ this.errorMessage = '';
152
+ });
68
153
  }
69
154
  disconnectedCallback() {
70
155
  var _a;
@@ -74,6 +159,9 @@ const JustifiTerminalsList$1 = /*@__PURE__*/ proxyCustomElement(class JustifiTer
74
159
  propChanged() {
75
160
  this.initializeGetData();
76
161
  }
162
+ updateOnPropChange() {
163
+ this.fetchData();
164
+ }
77
165
  initializeGetData() {
78
166
  this.initializeGetTerminals();
79
167
  this.initializeGetSubAccounts();
@@ -104,12 +192,89 @@ const JustifiTerminalsList$1 = /*@__PURE__*/ proxyCustomElement(class JustifiTer
104
192
  });
105
193
  }
106
194
  }
195
+ fetchData() {
196
+ this.loading = true;
197
+ this.getTerminals({
198
+ params: this.terminalParams,
199
+ onSuccess: async ({ terminals, pagingInfo }) => {
200
+ this.terminals = terminals;
201
+ this.paging = pagingInfo;
202
+ this.terminalsTable.collectionData = this.terminals;
203
+ const shouldFetchSubAccounts = this.terminalsTable.columnKeys.includes('sub_account_name');
204
+ if (shouldFetchSubAccounts) {
205
+ await this.fetchSubAccounts();
206
+ }
207
+ else {
208
+ this.loading = false;
209
+ }
210
+ },
211
+ onError: ({ error, code, severity }) => {
212
+ this.errorMessage = error;
213
+ this.errorEvent.emit({
214
+ errorCode: code,
215
+ message: error,
216
+ severity,
217
+ });
218
+ this.loading = false;
219
+ },
220
+ });
221
+ }
222
+ async fetchSubAccounts() {
223
+ this.getSubAccounts({
224
+ params: this.subAccountParams,
225
+ onSuccess: ({ subAccounts }) => {
226
+ this.subAccounts = subAccounts;
227
+ this.terminals = this.terminals.map((terminal) => {
228
+ var _a;
229
+ terminal.sub_account_name = (_a = this.subAccounts.find((subAccount) => subAccount.id === terminal.account_id)) === null || _a === void 0 ? void 0 : _a.name;
230
+ return terminal;
231
+ });
232
+ this.loading = false;
233
+ },
234
+ onError: ({ error, code, severity }) => {
235
+ this.errorMessage = error;
236
+ this.errorEvent.emit({
237
+ errorCode: code,
238
+ message: error,
239
+ severity,
240
+ });
241
+ this.loading = false;
242
+ },
243
+ });
244
+ }
245
+ get terminalParams() {
246
+ const requestParams = getRequestParams();
247
+ const params = Object.assign(Object.assign({}, requestParams), this.pagingParams);
248
+ return params;
249
+ }
250
+ get subAccountParams() {
251
+ let accountIdNumbers = this.terminals.map((terminal) => terminal.account_id);
252
+ let uniqueAccountIds = [...new Set(accountIdNumbers)];
253
+ let accountIdString = uniqueAccountIds.join(',');
254
+ return { sub_account_id: accountIdString };
255
+ }
256
+ get entityId() {
257
+ return this.terminals.map((terminal) => terminal.id);
258
+ }
259
+ get showEmptyState() {
260
+ return !this.loading && !this.errorMessage && this.terminalsTable.rowData.length < 1;
261
+ }
262
+ get showErrorState() {
263
+ return !this.loading && !!this.errorMessage;
264
+ }
265
+ get showRowData() {
266
+ return !this.showEmptyState && !this.showErrorState && !this.loading;
267
+ }
107
268
  render() {
108
- return (h(StyledHost, { key: '136c4d4140fd6c4432622d71147930079ca7b0ba' }, h("terminals-list-core", { key: '0964a457efcdd5ba9c02464ab4ac19e247a35b49', getTerminals: this.getTerminals, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
269
+ return (h(StyledHost, { key: '3429d0dc6534dda4e9dc6417924040a53fd5a032' }, h(TableWrapper, { key: '00c6172e8bb77ed0824381785b17fdd556c942a1' }, h(TableComponent, { key: 'd0119d84743bb06d1e0562eee3124197d46f3b13' }, h(TableHead, { key: '9721788579474c7db31587f57ff1aa4159cae7c3' }, h(TableHeadRow, { key: 'e689b5546ad32ad75bcbedb0cf184b4a6adf1bf3' }, this.terminalsTable.columnData.map((column) => column))), h(TableBody, { key: '220a3f509f17333888640b0034da30d9375c4100' }, h(TableLoadingState, { key: 'd444e883ddd69ef5b05754476e6ea66c598a2c5f', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'a6ee22d5138114688ff2c8525e8b5ce8fb00a853', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), h(TableErrorState, { key: 'e151dba5915e622eb7a63ce7912fabe6924df7dd', columnSpan: this.terminalsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalsTable.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: '91c0903d8c81817f82e7a8864a4188fac602af87' }, h(TableFootRow, { key: '322abe78babc127fccb9309c14c91b30a5d86700' }, h(TableFootCell, { key: 'e9843c61dd4eb031f514ff35f3354998dfaec59e', colSpan: this.terminalsTable.columnData.length }, h("pagination-menu", { key: 'd6b0bdaa7459afb8cd164c540843e7a4d8376f53', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
109
270
  }
110
271
  static get watchers() { return {
111
272
  "accountId": ["propChanged"],
112
- "authToken": ["propChanged"]
273
+ "authToken": ["propChanged"],
274
+ "pagingParams": ["updateOnPropChange"],
275
+ "getTerminals": ["updateOnPropChange"],
276
+ "getSubAccounts": ["updateOnPropChange"],
277
+ "columns": ["updateOnPropChange"]
113
278
  }; }
114
279
  }, [257, "justifi-terminals-list", {
115
280
  "accountId": [1, "account-id"],
@@ -117,16 +282,26 @@ const JustifiTerminalsList$1 = /*@__PURE__*/ proxyCustomElement(class JustifiTer
117
282
  "columns": [1],
118
283
  "getTerminals": [32],
119
284
  "getSubAccounts": [32],
120
- "errorMessage": [32]
285
+ "terminals": [32],
286
+ "terminalsTable": [32],
287
+ "subAccounts": [32],
288
+ "loading": [32],
289
+ "errorMessage": [32],
290
+ "paging": [32],
291
+ "pagingParams": [32]
121
292
  }, undefined, {
122
293
  "accountId": ["propChanged"],
123
- "authToken": ["propChanged"]
294
+ "authToken": ["propChanged"],
295
+ "pagingParams": ["updateOnPropChange"],
296
+ "getTerminals": ["updateOnPropChange"],
297
+ "getSubAccounts": ["updateOnPropChange"],
298
+ "columns": ["updateOnPropChange"]
124
299
  }]);
125
300
  function defineCustomElement$1() {
126
301
  if (typeof customElements === "undefined") {
127
302
  return;
128
303
  }
129
- const components = ["justifi-terminals-list", "pagination-menu", "terminals-list-core"];
304
+ const components = ["justifi-terminals-list", "pagination-menu"];
130
305
  components.forEach(tagName => { switch (tagName) {
131
306
  case "justifi-terminals-list":
132
307
  if (!customElements.get(tagName)) {
@@ -134,11 +309,6 @@ function defineCustomElement$1() {
134
309
  }
135
310
  break;
136
311
  case "pagination-menu":
137
- if (!customElements.get(tagName)) {
138
- defineCustomElement$3();
139
- }
140
- break;
141
- case "terminals-list-core":
142
312
  if (!customElements.get(tagName)) {
143
313
  defineCustomElement$2();
144
314
  }
@@ -294,7 +294,7 @@ const JustifiTokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class Just
294
294
  } }));
295
295
  }
296
296
  render() {
297
- return (h(StyledHost, { key: 'bd0d7ab1f2c9c313c998790214d5d04bf0978521' }, h("form", { key: 'aa6af831bf7428a26b441183852fb0439eabc8c5' }, h("fieldset", { key: 'ea0ac36b5acd8e5fe40a1d6f8e9ad43c0e1af1a6' }, h("div", { key: 'b7d78c90bdc2ea74228a35a9e801c6cb0040bd61', class: "row gy-3" }, h("div", { key: 'dc0e1d8e52cc4e622e7f68ce2964692c2fcbcbdd', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), h("div", { key: '0c9cb2aac8e78a264abaed66040bb4aa8cd47d4b', class: "col-12" }, h("internal-button", { key: '2521d61e7bddc9ac945630e415905cb4e3dc9dd8', text: this.submitButtonText, variant: "primary", type: "submit", clickHandler: (e) => this.tokenizePaymentMethod(e), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.computedHideSubmitButton })))))));
297
+ return (h(StyledHost, { key: 'e426ad2935cf88bd5af628da9154cdaccc5e6be2' }, h("form", { key: '571fcd140680840f5b68ee08b9cb7d9a5c6156ed' }, h("fieldset", { key: 'b394ce7a04e7d57ce2f4eb787252412409c3703d' }, h("div", { key: '1eb916974b71ead6dda1c54c36f0cb8f90433190', class: "row gy-3" }, h("div", { key: '8fb01d0e321fd265ede20f712779f66cf4404d78', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), h("div", { key: '40f03fdb6df080a8d55b72a818b3eb42e56fd9f9', class: "col-12" }, h("internal-button", { key: 'b719a621d8a3592e8b4a193656672ab6dd799006', text: this.submitButtonText, variant: "primary", type: "submit", clickHandler: (e) => this.tokenizePaymentMethod(e), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.computedHideSubmitButton })))))));
298
298
  }
299
299
  get host() { return this; }
300
300
  static get watchers() { return {
@@ -25,7 +25,7 @@ const LegalAddressForm = /*@__PURE__*/ proxyCustomElement(class LegalAddressForm
25
25
  render() {
26
26
  var _a;
27
27
  const legalAddressDefaultValue = this.formController.getInitialValues().legal_address;
28
- return (h(Host, { key: '56c938599697c9e40658de6fd52699ccfd306232' }, h("fieldset", { key: '7e77d120698e29ce040cce256e37745f53fac795' }, h("legend", { key: 'e4a4e23744eb5679d0797bb83970067709a0010d', part: heading2 }, "Business Legal Address"), h("form-address-fields", { key: '0703605fd1e5143547865bc19d1b0cdbe34a41bc', country: this.country, errors: (_a = this.errors) === null || _a === void 0 ? void 0 : _a.legal_address, defaultValues: legalAddressDefaultValue, inputHandler: this.inputHandler }))));
28
+ return (h(Host, { key: '856cd25caef521b651b9dd8a40dc6f9f0c727706' }, h("fieldset", { key: '150ad1f56747aae80ae8d2610fa08fcabee27c87' }, h("legend", { key: '565a46bd0977680e400663ef0590d65e977135be', part: heading2 }, "Business Legal Address"), h("form-address-fields", { key: 'c2ce05c006ec80c5319b30b40387e400ec52ab86', country: this.country, errors: (_a = this.errors) === null || _a === void 0 ? void 0 : _a.legal_address, defaultValues: legalAddressDefaultValue, inputHandler: this.inputHandler }))));
29
29
  }
30
30
  }, [256, "legal-address-form", {
31
31
  "formController": [16],
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
  import { D as DetailSectionTitle, a as DetailItem } from './utils.js';
3
- import { b as formatMediumDate } from './utils2.js';
3
+ import { c as formatMediumDate } from './utils2.js';
4
4
 
5
5
  const OwnerDetails = /*@__PURE__*/ proxyCustomElement(class OwnerDetails extends HTMLElement {
6
6
  constructor(registerHost) {
@@ -167,7 +167,7 @@ const OwnerFormCore = /*@__PURE__*/ proxyCustomElement(class OwnerFormCore exten
167
167
  this.formController.errors.subscribe(errors => (this.errors = Object.assign({}, errors)));
168
168
  }
169
169
  render() {
170
- return (h("form", { key: '6705c84411498ae63ac74d8e1591244ad4aad1e2', onSubmit: this.validateAndSubmit }, h("fieldset", { key: 'd07a5ebef58a3324dd122da2b0cdebdee10ad2e5' }, h("legend", { key: 'dc334d9a75b88a887d393e2c6fd50fcea3b15d22', class: "fw-semibold fs-5", part: heading3 }, this.formTitle), h("br", { key: '54e3d33a5ce1399d0f35196d80ae3261016d2cd6' }), h("div", { key: 'a9f23ec75a53751db207e1bdb1e55afc53b28e4e', class: "row gy-3" }, h("owner-form-inputs", { key: '37b6df39ba21b4238790f4e8707514931c24c525', ownerDefaultValue: this.formController.getInitialValues(), errors: this.errors, formController: this.formController, country: this.country }), h("div", { key: 'f057d4176ddd6e07074bedffed5c46ee67c3d492', class: "d-flex gap-2 justify-content-start" }, h(Button, { key: '3a5060f48638d82c5df9fbae449717dbee3315ae', variant: "secondary", type: "button", onClick: this.handleRemoveOwner, hidden: !this.showRemoveButton }, "Remove"), h(Button, { key: '02608516d0ebc2df452c0f592b62cebd7033a88b', variant: "primary", type: "submit", onClick: this.handleAddOwner, disabled: this.isLoading }, this.submitButtonText))), h("hr", { key: '842817aafad086dd27357e0050ccd8cacd2055ff' }))));
170
+ return (h("form", { key: '63cf9c7ab9031786f17ea4f3787deea081e305d3', onSubmit: this.validateAndSubmit }, h("fieldset", { key: 'cef59454c61515f702e846d43242f1576e604953' }, h("legend", { key: '355974c342272cd90c6596129a83866f8ad20e37', class: "fw-semibold fs-5", part: heading3 }, this.formTitle), h("br", { key: 'c78a4742ca2fa7bea462d4c7b1d3e73ccb8cccb9' }), h("div", { key: 'ec96fba914ce8eea8223efab633873c79741e29b', class: "row gy-3" }, h("owner-form-inputs", { key: '8b1b9118ac93457b38237387d478b3d084fad07d', ownerDefaultValue: this.formController.getInitialValues(), errors: this.errors, formController: this.formController, country: this.country }), h("div", { key: 'b599ded9cecb9999e3c8b3310f0c70fd07c64690', class: "d-flex gap-2 justify-content-start" }, h(Button, { key: '54bcdf883415ada89b81b4826cfea23061d4fc60', variant: "secondary", type: "button", onClick: this.handleRemoveOwner, hidden: !this.showRemoveButton }, "Remove"), h(Button, { key: 'eb990b891fe82108eae8c80da39e5ada7ef27f1e', variant: "primary", type: "submit", onClick: this.handleAddOwner, disabled: this.isLoading }, this.submitButtonText))), h("hr", { key: '7000dfde686b1879776ab63dcb6a203c0eb519c1' }))));
171
171
  }
172
172
  static get watchers() { return {
173
173
  "isLoading": ["loadingWatcher"]
@@ -29,14 +29,14 @@ const OwnerFormInputs = /*@__PURE__*/ proxyCustomElement(class OwnerFormInputs e
29
29
  }
30
30
  render() {
31
31
  var _a, _b, _c;
32
- return (h("div", { key: '23441b62bcb42f0ca9d8e361242310564b8a3ed7', class: "row gy-3" }, h("div", { key: 'ae42abf0f8edda6bd715278857657029a2855336', class: "col-12 col-md-8" }, h("form-control-text", { key: 'b83f35442a6354461cf583dd23b48d047656ffd6', name: "name", label: "Full Name", defaultValue: this.ownerDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '15ab3b55445533d65553e075e8471a95556702e9', class: "col-12 col-md-4" }, h("form-control-text", { key: 'eff52904d3c8eadbafe1e6ca0dc29894846e74ad', name: "title", label: "Title", defaultValue: this.ownerDefaultValue.title, errorText: this.errors.title, inputHandler: this.inputHandler, helpText: "Role at your business, e.g. President, CEO, Treasurer." })), h("div", { key: '0f2d385f6aaede51cc519c9e2fac75f041d5ab42', class: "col-12 col-md-6" }, h("form-control-text", { key: '5b27e9343f3d3ca5706d2d294d7ab9fe5e15ab28', name: "email", label: "Email Address", defaultValue: this.ownerDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '811751b44ff2290f95d9fb9874c5bd2c6ca89a42', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '07f32b1711d2977fa5e7abd2aad21d4c6b47bb1e', name: "phone", label: "Phone Number", defaultValue: this.ownerDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: 'db8254d91e059fb610f607d5e905a970509497f7', class: "col-12 col-md-3" }, h("form-control-date", { key: '7f3001fa6e204f7307d758f595594838c792a301', name: "dob_full", label: "Birth Date", defaultValue: this.ownerDefaultValue.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: (e) => updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), h("div", { key: '90e1846c32df8b94dd0ea13950daf0bebaf81c13', class: "col-12 col-md-3" }, h("form-control-number", { key: '6c43d8dcb99b411b02f67f6100db5ce85b750eb9', name: "ownership_percentage", label: "% of Ownership", defaultValue: (_a = this.ownerDefaultValue) === null || _a === void 0 ? void 0 : _a.ownership_percentage, errorText: this.errors.ownership_percentage, inputHandler: this.inputHandler })), h("div", { key: '4e28b49a6bf1eee3fa78422dd5f7d88917b87a75', class: "col-12 col-md-6" }, (!((_b = this.ownerDefaultValue) === null || _b === void 0 ? void 0 : _b.ssn_last4) || this.isEditingIdentification) ? (h("form-control-number-masked", { name: "identification_number", label: countryLabels[this.country].idNumberLabel, defaultValue: this.isEditingIdentification ? '' : this.ownerDefaultValue.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: IDENTITY_MASKS[this.country], helpText: countryLabels[this.country].identityHelpText })) : (h("div", null, h("label", { class: "form-label", part: label }, countryLabels[this.country].idNumberLabel), h("div", { class: "input-group mb-3" }, h("input", { type: "text", class: "form-control", part: inputDisabled, value: `****${(_c = this.ownerDefaultValue) === null || _c === void 0 ? void 0 : _c.ssn_last4}`, disabled: true }), h("button", { class: "btn btn-secondary", type: "button", part: buttonSecondary, onClick: () => {
32
+ return (h("div", { key: '212e1849ea4415835cb4f792cf5799b606ccd170', class: "row gy-3" }, h("div", { key: 'bc904468596d8a2b6cf82f9cca153d1db7fd9be3', class: "col-12 col-md-8" }, h("form-control-text", { key: '116f4a8124743a3bdd01489f7ac4964852d2f701', name: "name", label: "Full Name", defaultValue: this.ownerDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: 'd1de51aa5d3760553012ddc586dc6068c456463f', class: "col-12 col-md-4" }, h("form-control-text", { key: '542bd69f56380823a8a2fcf0f95df56a4802e52a', name: "title", label: "Title", defaultValue: this.ownerDefaultValue.title, errorText: this.errors.title, inputHandler: this.inputHandler, helpText: "Role at your business, e.g. President, CEO, Treasurer." })), h("div", { key: 'f8230d52a4a685e358bf118d4f77849e8e23f58e', class: "col-12 col-md-6" }, h("form-control-text", { key: '0d41fa107ba89a5a6a1dfe2b97d42a86feef3eb0', name: "email", label: "Email Address", defaultValue: this.ownerDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: 'c403d5cf82cc89de42a31f3478e5cda3c2309dac', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: 'bc0e1c91619857bcac7776e686534763898bdd79', name: "phone", label: "Phone Number", defaultValue: this.ownerDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: '43c3b72350a475defd393625a0d88e5720ab121c', class: "col-12 col-md-3" }, h("form-control-date", { key: '4f1bd966e4a28fdcfc3539cb51b97e73bf7bf242', name: "dob_full", label: "Birth Date", defaultValue: this.ownerDefaultValue.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: (e) => updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), h("div", { key: '963e110d0f208730944fe7637ba0a3a9ada66a38', class: "col-12 col-md-3" }, h("form-control-number", { key: '182586a1b86d351cb5063c0ca0ee578959a93369', name: "ownership_percentage", label: "% of Ownership", defaultValue: (_a = this.ownerDefaultValue) === null || _a === void 0 ? void 0 : _a.ownership_percentage, errorText: this.errors.ownership_percentage, inputHandler: this.inputHandler })), h("div", { key: 'bf966123cd887a09b81e9e599118ee03cadabfe2', class: "col-12 col-md-6" }, (!((_b = this.ownerDefaultValue) === null || _b === void 0 ? void 0 : _b.ssn_last4) || this.isEditingIdentification) ? (h("form-control-number-masked", { name: "identification_number", label: countryLabels[this.country].idNumberLabel, defaultValue: this.isEditingIdentification ? '' : this.ownerDefaultValue.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: IDENTITY_MASKS[this.country], helpText: countryLabels[this.country].identityHelpText })) : (h("div", null, h("label", { class: "form-label", part: label }, countryLabels[this.country].idNumberLabel), h("div", { class: "input-group mb-3" }, h("input", { type: "text", class: "form-control", part: inputDisabled, value: `****${(_c = this.ownerDefaultValue) === null || _c === void 0 ? void 0 : _c.ssn_last4}`, disabled: true }), h("button", { class: "btn btn-secondary", type: "button", part: buttonSecondary, onClick: () => {
33
33
  this.isEditingIdentification = true;
34
34
  // Clear last4 and current value to force validation
35
35
  updateFormValues(this.formController, {
36
36
  ssn_last4: null,
37
37
  identification_number: ''
38
38
  });
39
- } }, "Change"))))), h("div", { key: '61203d0283d7e335dd559629bab77640e73202a4', class: "col-12" }, h("identity-address-form", { key: 'd3f349ba237f771520369198da9e76126498a536', errors: this.errors.address, defaultValues: this.ownerDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate, country: this.country }))));
39
+ } }, "Change"))))), h("div", { key: 'da39a950fb0f4042d6047a88db4fb1cf7a7b9d07', class: "col-12" }, h("identity-address-form", { key: '7ef03a0303d6f62098b5c38d669648bd4557437f', errors: this.errors.address, defaultValues: this.ownerDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate, country: this.country }))));
40
40
  }
41
41
  ;
42
42
  }, [256, "owner-form-inputs", {
@@ -53,7 +53,7 @@ const OwnerForm = /*@__PURE__*/ proxyCustomElement(class OwnerForm extends HTMLE
53
53
  });
54
54
  }
55
55
  render() {
56
- return (h("owner-form-core", { key: '82a1976007db4371de3c8da1cff48f27a9c7795e', ownerId: this.ownerId, businessId: this.businessId, getOwner: this.getOwner, patchOwner: this.patchOwner, postOwner: this.postOwner, allowOptionalFields: this.allowOptionalFields, removeOwner: this.removeOwner, newFormOpen: this.newFormOpen, ownersLength: this.ownersLength, country: this.country, ref: ref => this.coreComponent = ref }));
56
+ return (h("owner-form-core", { key: '598c7413dbae853f432e64ac549025442083fbb9', ownerId: this.ownerId, businessId: this.businessId, getOwner: this.getOwner, patchOwner: this.patchOwner, postOwner: this.postOwner, allowOptionalFields: this.allowOptionalFields, removeOwner: this.removeOwner, newFormOpen: this.newFormOpen, ownersLength: this.ownersLength, country: this.country, ref: ref => this.coreComponent = ref }));
57
57
  }
58
58
  }, [256, "owner-form", {
59
59
  "authToken": [1, "auth-token"],
@@ -1,5 +1,5 @@
1
1
  const name = "@justifi/webcomponents";
2
- const version = "6.12.1-rc.5";
2
+ const version = "6.12.2";
3
3
  var webcomponentsPackageJson = {
4
4
  name: name,
5
5
  version: version};
@@ -16,7 +16,7 @@ const PaymentMethodOption$1 = /*@__PURE__*/ proxyCustomElement(class PaymentMeth
16
16
  this.__attachShadow();
17
17
  }
18
18
  render() {
19
- return (h(StyledHost, { key: 'cdf49c9446ea5fd6316523ecaf4f0f14be644e71', class: "payment-method" }, h("div", { key: '7de753f710389cbbb1d604ca5af97e1dfc5af2af', class: "radio-list-item p-3", part: radioListItem, onClick: this.clickHandler, hidden: this.radioButtonHidden }, h("form-control-radio", { key: '7a3bb855c441031d7685aa23212cc471947108ec', name: "paymentMethodType", value: this.paymentMethodOptionId, checked: this.isSelected, label: this.label }))));
19
+ return (h(StyledHost, { key: 'f29f09a17a1b0f9c036051f57c3e42e8216c1236', class: "payment-method" }, h("div", { key: 'f61adf1dfa90d4526ff767be80eb795137ab723c', class: "radio-list-item p-3", part: radioListItem, onClick: this.clickHandler, hidden: this.radioButtonHidden }, h("form-control-radio", { key: 'fe1b54ca437b0e7c20c9f7d9ea84c23b92e39412', name: "paymentMethodType", value: this.paymentMethodOptionId, checked: this.isSelected, label: this.label }))));
20
20
  }
21
21
  }, [257, "payment-method-option", {
22
22
  "paymentMethodOptionId": [1, "payment-method-option-id"],
@@ -23,7 +23,7 @@ const PaymentProvisioningFormButtons = /*@__PURE__*/ proxyCustomElement(class Pa
23
23
  return this.currentStep === this.totalSteps;
24
24
  }
25
25
  render() {
26
- return (h("div", { key: '5942f171591bca5e1259c16b9f1cea45169ce924', class: 'd-flex gap-2' }, h(Button, { key: '9dc3ff45b07ba71602f3af12a28d20364a80971c', variant: "secondary", type: "button", onClick: () => this.previousStepButtonOnClick(), disabled: this.formDisabled, hidden: !this.showPreviousStepButton }, "Previous"), h(Button, { key: '0db0e734bed464214c75230e3c32901d14f75945', variant: "primary", type: "button", onClick: (e) => this.nextStepButtonOnClick(e, BusinessFormClickActions.nextStep), disabled: this.formDisabled, isLoading: this.formLoading, hidden: !this.showNextStepButton }, "Next"), h(Button, { key: 'b3817544c9ddd4d0f3ca8df47fb6598b8a95bb81', variant: "primary", type: "submit", onClick: (e) => this.nextStepButtonOnClick(e, BusinessFormClickActions.submit), disabled: this.formDisabled, isLoading: this.formLoading, hidden: !this.showSubmitButton }, "Submit")));
26
+ return (h("div", { key: '6fac4d1e92b732da3e7e867c091f23e9e3b7d6ab', class: 'd-flex gap-2' }, h(Button, { key: 'a96025bed24ade707d7f28561a12a9bcf62401e8', variant: "secondary", type: "button", onClick: () => this.previousStepButtonOnClick(), disabled: this.formDisabled, hidden: !this.showPreviousStepButton }, "Previous"), h(Button, { key: 'c4bd0d4a7f79942b307a4587e77c73158d4b704d', variant: "primary", type: "button", onClick: (e) => this.nextStepButtonOnClick(e, BusinessFormClickActions.nextStep), disabled: this.formDisabled, isLoading: this.formLoading, hidden: !this.showNextStepButton }, "Next"), h(Button, { key: '5fa56e168646f4fa266fde124c78dc2564a6c311', variant: "primary", type: "submit", onClick: (e) => this.nextStepButtonOnClick(e, BusinessFormClickActions.submit), disabled: this.formDisabled, isLoading: this.formLoading, hidden: !this.showSubmitButton }, "Submit")));
27
27
  }
28
28
  }, [256, "payment-provisioning-form-buttons", {
29
29
  "currentStep": [2, "current-step"],
@@ -52,7 +52,7 @@ const PaymentProvisioningFormSteps = /*@__PURE__*/ proxyCustomElement(class Paym
52
52
  return this.componentStepMapping[this.currentStep]();
53
53
  }
54
54
  render() {
55
- return (h("div", { key: 'f86e12c789e7dfe1efba022ed56cf4717ea64ec5', class: 'col-12 mb-4' }, this.currentStepComponent));
55
+ return (h("div", { key: '6bd8ebe91fefb364dd29a741e2cdf8a90aa1351b', class: 'col-12 mb-4' }, this.currentStepComponent));
56
56
  }
57
57
  }, [256, "payment-provisioning-form-steps", {
58
58
  "businessId": [1, "business-id"],
@@ -1,6 +1,26 @@
1
+ import { C as ComponentErrorSeverity } from './Plaid.js';
2
+ import { g as getErrorCode, a as getErrorMessage } from './utils3.js';
1
3
  import { h } from '@stencil/core/internal/client';
2
4
  import { B as Badge, a as BadgeVariant } from './badge.js';
3
5
 
6
+ const makeGetPayoutCSV = ({ authToken, service }) => async ({ payoutId, onError }) => {
7
+ try {
8
+ const { data } = await service.fetchCSV(payoutId, authToken);
9
+ const a = document.createElement('a');
10
+ a.href = data.csv_url;
11
+ a.click();
12
+ }
13
+ catch (error) {
14
+ const errorMessage = getErrorMessage(error);
15
+ const code = getErrorCode(error === null || error === void 0 ? void 0 : error.code);
16
+ onError({
17
+ error: errorMessage,
18
+ code,
19
+ severity: ComponentErrorSeverity.ERROR,
20
+ });
21
+ }
22
+ };
23
+
4
24
  const MapPayoutStatusToBadge = (status) => {
5
25
  const statusToBadgeProps = {
6
26
  canceled: {
@@ -48,4 +68,4 @@ const MapPayoutStatusToBadge = (status) => {
48
68
  return h(Badge, Object.assign({}, badgeProps));
49
69
  };
50
70
 
51
- export { MapPayoutStatusToBadge as M };
71
+ export { MapPayoutStatusToBadge as M, makeGetPayoutCSV as m };
@@ -17,7 +17,7 @@ const RadioListItem = /*@__PURE__*/ proxyCustomElement(class RadioListItem exten
17
17
  };
18
18
  }
19
19
  render() {
20
- return (h(Host, { key: '254375c6a1fd52924a84392bfd36d21ac60e4c0b' }, h("div", { key: 'df0f6abdeb91cbbe3c1b7e91f42cd7950379d8bf', class: `radio-list-item p-3 ${this.class || ''}`, part: radioListItem, onClick: this.handleClick, hidden: this.hidden }, h("form-control-radio", { key: '4c7e8e499b76bc83e83504b0cf22785fe2fdf6ec', name: this.name, value: this.value, checked: this.checked, label: this.label, inputHandler: () => null }))));
20
+ return (h(Host, { key: 'df05a770b3b220ec3c11de2e3edfc3605c0ca909' }, h("div", { key: 'a349e3b2e2b464ed100cee165b8a0e60f25d2e97', class: `radio-list-item p-3 ${this.class || ''}`, part: radioListItem, onClick: this.handleClick, hidden: this.hidden }, h("form-control-radio", { key: 'df8a2643c0d236a0524ccde524396bf08597aee6', name: this.name, value: this.value, checked: this.checked, label: this.label, inputHandler: () => null }))));
21
21
  }
22
22
  }, [256, "radio-list-item", {
23
23
  "name": [1],
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
2
  import { D as DetailSectionTitle, a as DetailItem } from './utils.js';
3
- import { i as isEmptyObject, b as formatMediumDate } from './utils2.js';
3
+ import { i as isEmptyObject, c as formatMediumDate } from './utils2.js';
4
4
 
5
5
  const RepresentativeDetails = /*@__PURE__*/ proxyCustomElement(class RepresentativeDetails extends HTMLElement {
6
6
  constructor(registerHost) {
@@ -18,7 +18,7 @@ const SaveNewPaymentMethod = /*@__PURE__*/ proxyCustomElement(class SaveNewPayme
18
18
  };
19
19
  }
20
20
  render() {
21
- return (h(Host, { key: '22ba69afe153d8177948980adce2a6d7ed88aec8', hidden: this.hidden }, h("form-control-checkbox", { key: '69b7af9511b2eaa746066e2186391fe059dbdad8', label: this.label || 'Save New Payment Method', name: "saveNewPaymentMethod", checked: this.isChecked, inputHandler: this.handleCheckboxChange })));
21
+ return (h(Host, { key: '42c0674b7d12f57ace0088c2ebb854521fed2abf', hidden: this.hidden }, h("form-control-checkbox", { key: 'c198bdd860f5c844bca6141e8d5c0bcf4de1fbec', label: this.label || 'Save New Payment Method', name: "saveNewPaymentMethod", checked: this.isChecked, inputHandler: this.handleCheckboxChange })));
22
22
  }
23
23
  }, [256, "save-new-payment-method", {
24
24
  "label": [1],
@@ -31,7 +31,7 @@ const TableFiltersMenu = /*@__PURE__*/ proxyCustomElement(class TableFiltersMenu
31
31
  this.showClearButton = hasFilters(this.params);
32
32
  }
33
33
  render() {
34
- return (h("div", { key: 'bcecb736427ce7859174c8f91938f720f8e32782', class: "d-flex gap-2" }, h("div", { key: 'aadd72cb3aac3d676a340068304802dbc5dfeab2', class: "dropdown pb-3" }, h("button", { key: '2dbb5590ea8ed60d2228b0f0b262332e5d377810', type: "button dropdown-toggle", ref: (el) => (this.anchorButton = el), class: "btn btn-primary dropdown-toggle", part: dropdownMenuButton, "data-test-id": "open-filters-button", "data-bs-toggle": "dropdown" }, "Filters"), h("custom-popper", { key: 'c516ec2550207e3acc3d0186c6f86d351a6ca4a9', offset: [20, 10], strategy: "fixed", anchorRef: this.anchorButton, trigger: "click" }, h("form", { key: '4ee1c1bd0e5c9eacccb857986d3f2e37bb3d990b', class: "dropdown-menu", part: dropdownMenu, "data-test-id": "filter-menu", ref: (el) => (this.menu = el), onSubmit: (e) => e.preventDefault() }, h("slot", { key: 'b274f915722d1a59af4578935c4233bcf700c7b2' })))), h("div", { key: 'ce527862135dd31b9b198133a3a2c19699419c5d' }, h(Button, { key: '272022c173de7f8c41ba7a88cf5aa004da11b3a2', variant: "secondary", onClick: () => this.clearParams(), hidden: !this.showClearButton, "data-test-id": "clear-filters-button" }, "Clear Filters"))));
34
+ return (h("div", { key: 'bf0722379c0f2d12f0d351f71a4cea18605a1a6c', class: "d-flex gap-2" }, h("div", { key: '68bf34efe0c7c82bfe66e1d1d386bb8f37efba11', class: "dropdown pb-3" }, h("button", { key: '413db165fa98008db838b6cb8541d7276bcd7a1b', type: "button dropdown-toggle", ref: (el) => (this.anchorButton = el), class: "btn btn-primary dropdown-toggle", part: dropdownMenuButton, "data-test-id": "open-filters-button", "data-bs-toggle": "dropdown" }, "Filters"), h("custom-popper", { key: '43acd10ad9666c281406bc9928da3d568868a831', offset: [20, 10], strategy: "fixed", anchorRef: this.anchorButton, trigger: "click" }, h("form", { key: '52d302d40e503a7ebc311d603ab49a388c2e7fb1', class: "dropdown-menu", part: dropdownMenu, "data-test-id": "filter-menu", ref: (el) => (this.menu = el), onSubmit: (e) => e.preventDefault() }, h("slot", { key: '232f719456fe31e0e87abc49ec4f0f141a194cfc' })))), h("div", { key: '197f5034d8eb246a107f4e761478514d53c1c321' }, h(Button, { key: '5f17be2e3493b4e9e54035c4bc8a95b762161b3c', variant: "secondary", onClick: () => this.clearParams(), hidden: !this.showClearButton, "data-test-id": "clear-filters-button" }, "Clear Filters"))));
35
35
  }
36
36
  static get watchers() { return {
37
37
  "params": ["watchParamsHandler"]
@@ -5,7 +5,7 @@ import { T as TableClickActions } from './event-types.js';
5
5
  import './justifi-radio-list-item2.js';
6
6
  import './config-state.js';
7
7
  import './dinero.js';
8
- import { j as TerminalOrderType } from './Plaid.js';
8
+ import { i as TerminalOrderType } from './Plaid.js';
9
9
  import { p as pagingDefaults } from './Pagination.js';
10
10
  import './Business.js';
11
11
  import './ApplePay.js';
@@ -165,7 +165,7 @@ const TerminalOrdersListCore = /*@__PURE__*/ proxyCustomElement(class TerminalOr
165
165
  return !this.showEmptyState && !this.showErrorState && !this.loading;
166
166
  }
167
167
  render() {
168
- return (h(TableWrapper, { key: 'e515fe632488abfd755515d04a4bc8c481cb9083' }, h(TableComponent, { key: 'a15495309f335656cfbb1c518bb9d95eda2af86b' }, h(TableHead, { key: 'a6f2bcfa3b981d244a640f3a2ced4fb98aa04774' }, h(TableHeadRow, { key: 'cf2ec3f36d53566f7fc4aadbd79d357ac1267f94' }, this.terminalOrdersTable.columnData.map((column) => column))), h(TableBody, { key: '927ee10502d41c18b6950e447f3352edf765fdc9' }, h(TableLoadingState, { key: '94c51d3ed02b72068b0bed02f0e1bb69024fffaf', columnSpan: this.terminalOrdersTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'a0e9d76f1340ddd33009d46682243863ff0509b2', isEmpty: this.showEmptyState, columnSpan: this.terminalOrdersTable.columnKeys.length }), h(TableErrorState, { key: '7f209a130ebf67d59e6f4b9719225c1b087f44f5', columnSpan: this.terminalOrdersTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalOrdersTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '1c714b7fe310a70b74f254eb36b126d3623b499a' }, h(TableFootRow, { key: '46d0b99409bd8611d7c1fb564aeaa236736a7947' }, h(TableFootCell, { key: '55215a040d58a64196013e0e831c35e1ccbb3309', colSpan: this.terminalOrdersTable.columnData.length }, h("pagination-menu", { key: 'a75512753bf06cfc6e1595ea8ed2e2081d06c3f9', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
168
+ return (h(TableWrapper, { key: '92fffc2d98e3a5176d80decaeddc8d3b0babca74' }, h(TableComponent, { key: '9a690f1298358fd1f22942cce38a99b157526d2a' }, h(TableHead, { key: '53275af95435cbc3fa01753e88ab6a9319aa678b' }, h(TableHeadRow, { key: '374db48f613bddaad4308e60700c1ea66a5c54dd' }, this.terminalOrdersTable.columnData.map((column) => column))), h(TableBody, { key: '8e95036b34d7ed6712d64978923459b29c11fab8' }, h(TableLoadingState, { key: 'bf28d8b020cfc59f494eede313f9cb38265d702f', columnSpan: this.terminalOrdersTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '0361d8c68151065fe96a97a137aa06b510d2f2dd', isEmpty: this.showEmptyState, columnSpan: this.terminalOrdersTable.columnKeys.length }), h(TableErrorState, { key: 'b7bbf34d9c90f1757424afb9fa30617f61a4d564', columnSpan: this.terminalOrdersTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalOrdersTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: 'a0b4a423809b3b36211b7f59719642e48311d32e' }, h(TableFootRow, { key: '81a3dd146e0931f14ef6972e42f71b38c2f11239' }, h(TableFootCell, { key: '8e4afc9ea974aac2c693a60e3e0ea5f9915a199e', colSpan: this.terminalOrdersTable.columnData.length }, h("pagination-menu", { key: '9d5afd8b9a09fc24f12c701e289c22a40ad77042', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
169
169
  }
170
170
  static get watchers() { return {
171
171
  "pagingParams": ["updateOnPropChange"],
@@ -26,7 +26,7 @@ const TerminalQuantitySelector = /*@__PURE__*/ proxyCustomElement(class Terminal
26
26
  };
27
27
  }
28
28
  render() {
29
- return (h("div", { key: '5282545f3d17d10623527feee253e3a4509b4333', class: "rounded shadow-sm card p-2", part: card }, h("div", { key: '2c7f922b93df74bfd1d01f3f8f6a27779602f677', class: "d-flex gap-3" }, h("div", { key: '0cf11a2a53e0513774ad2e901775d2edb299389a', class: "d-flex align-items-center" }, h("img", { key: '654a4a544e6000b4de1f924cf327e64824d9d4d7', src: this.imageUrl, alt: this.modelName, height: 75, width: 75, part: image })), h("div", { key: '34f27f878b682725f3473301bacfccdac352247a', class: "d-flex flex-column flex-grow-1 gap-3 p-4 justify-content-center" }, h("div", { key: '632299be82b0da9271905e60fc697c7df58ce156', class: "row" }, h("div", { key: 'a84da1efb59f1ed6efd13bb4957ec4ffd6ddf663', class: "col-6 d-flex gap-2" }, this.modelName, h("form-control-tooltip", { key: '5313ae7f9c1d5eb2642c49166c1903db5d4d1873', helpText: this.description })), h("div", { key: '823f9c575b7ab8962c26bfc707eb01f2e2ff64a1', class: "col-6 d-flex justify-content-end align-items-center" }, h("button", { key: 'f0d2da7361a24c30a14d786f221ac8e60edaff0f', class: "p-0 minus btn", onClick: this.removeUnit, part: buttonLink }, "-"), h("div", { key: '82c1c0b584fe0245f7b33b724cb31452b3b650d0', class: "w-25 text-center" }, this.selectedQuantity), h("button", { key: 'c6e1d230f5bc6053bca56ca75497765b61a97906', class: "p-0 plus btn", onClick: this.addUnit, part: buttonLink }, "+")))))));
29
+ return (h("div", { key: '94b37f690afbe452cda9d074d97b3e6c7b91c096', class: "rounded shadow-sm card p-2", part: card }, h("div", { key: '7913be88b93a02e7499a59b416867c81e736a6cd', class: "d-flex gap-3" }, h("div", { key: '55f8b57b980689ed799c6a6ed798dd4c4ad0bd89', class: "d-flex align-items-center" }, h("img", { key: '8068f7f20ff719bed021f88e644dde9f8903de05', src: this.imageUrl, alt: this.modelName, height: 75, width: 75, part: image })), h("div", { key: 'd86a6301ca11bcbe33920e5608bfb948dffdae6e', class: "d-flex flex-column flex-grow-1 gap-3 p-4 justify-content-center" }, h("div", { key: '154c785be7d7785458eaeed6a9a516d4677b544c', class: "row" }, h("div", { key: '2adc08a9d50ca00c73317024ad1bde393d82efa0', class: "col-6 d-flex gap-2" }, this.modelName, h("form-control-tooltip", { key: '21ea5803e18053463d343254d9ed29c98c76757f', helpText: this.description })), h("div", { key: 'e862c0de5720cfb876fcc47792c0e12a0266babd', class: "col-6 d-flex justify-content-end align-items-center" }, h("button", { key: '50bb2dc585b0f49591871d6ae993eb2850892ffb', class: "p-0 minus btn", onClick: this.removeUnit, part: buttonLink }, "-"), h("div", { key: 'ceba1a29cb4779b9e057e3066072b21cef86dcfd', class: "w-25 text-center" }, this.selectedQuantity), h("button", { key: '00dfc649818d014f065ee07da3b71c61c7cda03d', class: "p-0 plus btn", onClick: this.addUnit, part: buttonLink }, "+")))))));
30
30
  }
31
31
  }, [256, "terminal-quantity-selector", {
32
32
  "modelName": [1, "model-name"],
@@ -22325,4 +22325,4 @@ function isTokenExpired(token) {
22325
22325
  }
22326
22326
  }
22327
22327
 
22328
- export { formatTime as a, formatMediumDate as b, formatCurrency as c, generateTabId as d, convertToUTC as e, formatDate as f, generateId as g, convertToLocal as h, isEmptyObject as i, capitalizeFirstLetter as j, capitalFirstLetter as k, formatDisplayDate as l, isTokenExpired as m, addAttribute as n, formatPhoneNumber as o, processHTML as p, removeAttribute as r, snakeCaseToHumanReadable as s };
22328
+ export { formatTime as a, formatCurrency as b, formatMediumDate as c, generateTabId as d, convertToUTC as e, formatDate as f, generateId as g, convertToLocal as h, isEmptyObject as i, capitalizeFirstLetter as j, formatDisplayDate as k, isTokenExpired as l, addAttribute as m, capitalFirstLetter as n, formatPhoneNumber as o, processHTML as p, removeAttribute as r, snakeCaseToHumanReadable as s };
@@ -44,7 +44,6 @@ export interface IApplePayPaymentRequest {
44
44
  shippingMethods?: IApplePayShippingMethod[];
45
45
  applicationData?: string;
46
46
  supportedCountries?: string[];
47
- requiredBillingContactFields?: string[];
48
47
  }
49
48
  export interface IApplePaySession {
50
49
  canMakePayments(): boolean;
@@ -122,14 +121,10 @@ export interface IApplePayCancelEvent {
122
121
  export interface IApplePayMethodSelectedEvent {
123
122
  paymentMethod: IApplePayTokenPaymentMethod;
124
123
  }
125
- export interface IApplePayBillingContact {
126
- name?: string;
127
- }
128
124
  export interface IApplePayPaymentProcessRequest {
129
125
  paymentData: IApplePayTokenData;
130
126
  paymentMethod: IApplePayTokenPaymentMethod;
131
127
  transactionIdentifier: string;
132
- billing_contact?: IApplePayBillingContact;
133
128
  product_details?: {
134
129
  name: string;
135
130
  price: number;
@@ -174,7 +169,6 @@ export declare class ApplePayPaymentRequest implements IApplePayPaymentRequest {
174
169
  shippingMethods?: IApplePayShippingMethod[];
175
170
  applicationData?: string;
176
171
  supportedCountries?: string[];
177
- requiredBillingContactFields?: string[];
178
172
  constructor(data: IApplePayPaymentRequest);
179
173
  get isValid(): boolean;
180
174
  }
@@ -187,7 +181,6 @@ export declare class ApplePayHelpers {
187
181
  static createLineItem(label: string, amount: number, type?: 'final' | 'pending'): IApplePayLineItem;
188
182
  static getDefaultSupportedNetworks(): string[];
189
183
  static getDefaultMerchantCapabilities(): ApplePayMerchantCapability[];
190
- static getDefaultBillingContactFields(): string[];
191
184
  }
192
185
  declare global {
193
186
  interface Window {
@@ -1,16 +1,21 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
+ import { Business } from '../../api/Business';
2
3
  import JustifiAnalytics from '../../api/Analytics';
3
4
  import { ComponentErrorEvent } from '../../api/ComponentEvents';
4
5
  export declare class JustifiBusinessDetails {
5
6
  businessId: string;
6
7
  authToken: string;
7
- errorMessage: string;
8
8
  getBusiness: Function;
9
+ business: Business;
10
+ loading: boolean;
11
+ errorMessage: string;
9
12
  analytics: JustifiAnalytics;
10
13
  errorEvent: EventEmitter<ComponentErrorEvent>;
11
14
  componentWillLoad(): void;
12
15
  disconnectedCallback(): void;
13
- handleErrorEvent: (event: any) => void;
16
+ propChanged(): void;
14
17
  private initializeGetBusiness;
18
+ updateOnPropChange(): void;
19
+ fetchData(): void;
15
20
  render(): any;
16
21
  }