@justifi/webcomponents 5.7.1 → 5.7.3

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 (481) hide show
  1. package/dist/cjs/{Api-C8nf_gS9.js → Api-CJ1_RDQW.js} +2 -2
  2. package/dist/cjs/{Business-DyiDiIuO.js → Business-DCRzZf0w.js} +3 -1
  3. package/dist/cjs/{Checkout-RAGvjVPj.js → Checkout-TZnRz3-3.js} +1 -1
  4. package/dist/cjs/{Document-CL5Zc72Q.js → Payment-D5UynU2f.js} +1 -57
  5. package/dist/cjs/{Refund-CYxocU06.js → Refund-BFE-2OxN.js} +57 -1
  6. package/dist/cjs/additional-questions-details_5.cjs.entry.js +14 -15
  7. package/dist/cjs/{badge-BxoJOyTJ.js → badge-ByHiVqEE.js} +1 -1
  8. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +12 -12
  9. package/dist/cjs/bank-account-form_9.cjs.entry.js +40 -29
  10. package/dist/cjs/{business-additional-questions-schema-DR8vt11M.js → business-additional-questions-schema-e3GCIHk5.js} +1 -1
  11. package/dist/cjs/business-details-core.cjs.entry.js +5 -6
  12. package/dist/cjs/{business-form-options-BCj0efiD.js → business-form-options-CMII7nIK.js} +1 -1
  13. package/dist/cjs/{business-identity-schema-BYaCsboD.js → business-identity-schema-Diqj_WVQ.js} +1 -1
  14. package/dist/cjs/{business.service-C2rg_zSw.js → business.service-CsKKWn0g.js} +5 -5
  15. package/dist/cjs/{button-BPFSRx4d.js → button-DXvFLf3b.js} +1 -1
  16. package/dist/cjs/{check-pkg-version-BqC8BOhm.js → check-pkg-version-BqLxQqZQ.js} +6 -6
  17. package/dist/cjs/{checkout.service-CyvIIMeq.js → checkout.service-CugpgJy_.js} +5 -5
  18. package/dist/cjs/checkouts-list-core.cjs.entry.js +13 -13
  19. package/dist/cjs/{payouts-list-params-state-BvG5Ysrg.js → checkouts-list-params-state-BZPc3hJS.js} +1 -1
  20. package/dist/cjs/{checkouts-table-_T5eblyc.js → checkouts-table-BV-36YfA.js} +3 -3
  21. package/dist/cjs/{config-state-D7p-XunE.js → config-state-BH7lf2ok.js} +1 -1
  22. package/dist/cjs/custom-popper_4.cjs.entry.js +2 -2
  23. package/dist/cjs/{dispute.service-CKPR1vFS.js → dispute.service-B8vLwAZm.js} +5 -5
  24. package/dist/cjs/form-alert_5.cjs.entry.js +3 -3
  25. package/dist/cjs/form-control-checkbox.cjs.entry.js +3 -3
  26. package/dist/cjs/form-control-date.cjs.entry.js +2 -2
  27. package/dist/cjs/{form-control-error-text-D9XDyFoW.js → form-control-error-text-B-3qE49U.js} +1 -1
  28. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +2 -2
  29. package/dist/cjs/{form-control-help-text-J_boqSMc.js → form-control-help-text-BlYVOrII.js} +1 -1
  30. package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
  31. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +3 -3
  32. package/dist/cjs/form-control-monetary.cjs.entry.js +4 -4
  33. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +2 -2
  34. package/dist/cjs/form-control-number.cjs.entry.js +3 -3
  35. package/dist/cjs/form-control-radio.cjs.entry.js +1 -1
  36. package/dist/cjs/{get-business-DHg5rpse.js → get-business-BJrtsomz.js} +1 -1
  37. package/dist/cjs/{get-payment-details-C9HqIv-M.js → get-payment-details-CudOQBpU.js} +7 -7
  38. package/dist/cjs/{get-subaccounts-BNpIanJ9.js → get-subaccounts-DjwsQffs.js} +7 -7
  39. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +4 -4
  40. package/dist/cjs/{header-1-auSUfIpO.js → header-1-agnQ4uEf.js} +1 -1
  41. package/dist/cjs/{header-3-B-bXHCpC.js → header-3-BAx5OhvM.js} +1 -1
  42. package/dist/cjs/{iframe-input-styles-state-D9vhHzZQ.js → iframe-input-styles-state-CFjq45QT.js} +1 -1
  43. package/dist/cjs/iframe-input.cjs.entry.js +5 -5
  44. package/dist/cjs/{index-B8ljHEN1.js → index-oahmQhrI.js} +1 -1
  45. package/dist/cjs/{index-BYd8IvAa.js → index-y-rskGFM.js} +1 -1
  46. package/dist/cjs/{insurance-state-CFxbKNWH.js → insurance-state-CCo-Gmfe.js} +2 -2
  47. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +50 -23
  48. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +13 -13
  49. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +1 -1
  50. package/dist/cjs/justifi-business-details.cjs.entry.js +21 -16
  51. package/dist/cjs/justifi-business-form.cjs.entry.js +20 -20
  52. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
  53. package/dist/cjs/justifi-checkout-core.cjs.entry.js +9 -9
  54. package/dist/cjs/justifi-checkout.cjs.entry.js +12 -12
  55. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +10 -10
  56. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +16 -16
  57. package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
  58. package/dist/cjs/justifi-details.cjs.entry.js +3 -3
  59. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
  60. package/dist/cjs/justifi-dispute-management.cjs.entry.js +12 -12
  61. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +15 -15
  62. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +12 -12
  63. package/dist/cjs/justifi-order-terminals.cjs.entry.js +16 -16
  64. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +14 -14
  65. package/dist/cjs/justifi-payment-details.cjs.entry.js +14 -14
  66. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +3 -3
  67. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +12 -12
  68. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +15 -15
  69. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +5 -5
  70. package/dist/cjs/justifi-payments-list.cjs.entry.js +17 -17
  71. package/dist/cjs/justifi-payout-details.cjs.entry.js +13 -13
  72. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +15 -15
  73. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +5 -5
  74. package/dist/cjs/justifi-payouts-list.cjs.entry.js +17 -17
  75. package/dist/cjs/justifi-refund-payment.cjs.entry.js +16 -16
  76. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +6 -6
  77. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +11 -11
  78. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +10 -10
  79. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +14 -14
  80. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +10 -10
  81. package/dist/cjs/justifi-terminals-list.cjs.entry.js +16 -16
  82. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +15 -16
  83. package/dist/cjs/loader.cjs.js +2 -2
  84. package/dist/cjs/{package-Biee4Hdo.js → package-a_vXN-Ly.js} +1 -1
  85. package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
  86. package/dist/cjs/payment-details-core.cjs.entry.js +7 -7
  87. package/dist/cjs/{payment.service-C996aLGw.js → payment.service-aqlDvgDe.js} +5 -5
  88. package/dist/cjs/payments-list-core.cjs.entry.js +14 -14
  89. package/dist/cjs/{payments-list-params-state-BvG5Ysrg.js → payments-list-params-state-BZPc3hJS.js} +1 -1
  90. package/dist/cjs/{payments-status-BTykBx8i.js → payments-status-CWK1uHtj.js} +2 -2
  91. package/dist/cjs/{payments-table-BkRhDePE.js → payments-table-CP8LGibG.js} +3 -3
  92. package/dist/cjs/payout-details-core.cjs.entry.js +8 -8
  93. package/dist/cjs/{payout.service-BwKgEbDo.js → payout.service-CL-hcMGg.js} +5 -5
  94. package/dist/cjs/payouts-list-core.cjs.entry.js +14 -14
  95. package/dist/cjs/{terminal-orders-list-params-state-BvG5Ysrg.js → payouts-list-params-state-BZPc3hJS.js} +1 -1
  96. package/dist/cjs/{payouts-status-YCqmbd4K.js → payouts-status-Jz2Mh3JP.js} +2 -2
  97. package/dist/cjs/{payouts-table-DJMz3bVh.js → payouts-table-DyuoNtFw.js} +3 -3
  98. package/dist/cjs/{schema-validations-Bhz09M42.js → schema-validations-BSeMee-o.js} +5 -29
  99. package/dist/cjs/{skeleton-aMh0RMHq.js → skeleton-CgT0siC5.js} +1 -1
  100. package/dist/cjs/{spinner-BTyIjlMM.js → spinner-Cz4By3FY.js} +1 -1
  101. package/dist/cjs/{styled-host-udkBJV5h.js → styled-host-LD5MpzHs.js} +1 -1
  102. package/dist/cjs/{table-DKVauFHc.js → table-Cvr8-PLT.js} +2 -2
  103. package/dist/cjs/table-filters-menu.cjs.entry.js +2 -2
  104. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +13 -13
  105. package/dist/cjs/{checkouts-list-params-state-BvG5Ysrg.js → terminal-orders-list-params-state-BZPc3hJS.js} +1 -1
  106. package/dist/cjs/{terminal-orders-table-CxY1ykZ7.js → terminal-orders-table-CslE3Ojj.js} +8 -8
  107. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
  108. package/dist/cjs/{terminal.service-D7dxg9ZQ.js → terminal.service-3geWla42.js} +5 -5
  109. package/dist/cjs/terminals-list-core.cjs.entry.js +13 -13
  110. package/dist/cjs/terminals-list-params-state-BZPc3hJS.js +22 -0
  111. package/dist/cjs/{terminals-table-D2XUsf_J.js → terminals-table-DlZSKdHC.js} +3 -3
  112. package/dist/cjs/{utils-5lco6NzU.js → utils-B4fXt0os.js} +1 -1
  113. package/dist/cjs/{utils-DmZ8Dia3.js → utils-qOon0GWm.js} +3 -0
  114. package/dist/cjs/webcomponents.cjs.js +3 -3
  115. package/dist/collection/api/Business.js +3 -1
  116. package/dist/collection/collection-manifest.json +2 -2
  117. package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +3 -4
  118. package/dist/collection/components/business-details/business-details-core.js +1 -2
  119. package/dist/collection/components/business-details/business-details.js +10 -3
  120. package/dist/collection/components/business-details/core-info-details/core-info-details.js +41 -0
  121. package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +3 -3
  122. package/dist/collection/components/business-details/representative-details/representative-details.js +3 -3
  123. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +1 -1
  124. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +2 -2
  125. package/dist/collection/components/business-forms/schemas/business-bank-account-schema.js +36 -8
  126. package/dist/collection/components/business-forms/schemas/schema-validations.js +7 -54
  127. package/dist/collection/components/checkout/billing-form/billing-form.js +6 -5
  128. package/dist/collection/components/checkout/new-payment-method.js +17 -6
  129. package/dist/collection/components/checkout/payment-method-options.js +4 -5
  130. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +4 -5
  131. package/dist/collection/ui-components/details/details.js +2 -2
  132. package/dist/collection/utils/utils.js +3 -0
  133. package/dist/docs.json +349 -122
  134. package/dist/esm/{Api-KYhsw8Nv.js → Api-CZhQlPMs.js} +2 -2
  135. package/dist/esm/{Business-D6XNzizo.js → Business-BCoP0TAV.js} +3 -1
  136. package/dist/esm/{Checkout-Dfpql997.js → Checkout-B9LrTq63.js} +1 -1
  137. package/dist/esm/{Dispute-BH0Xfn-F.js → Dispute-7MWRbTXI.js} +1 -1
  138. package/dist/esm/{Document-cNXrKmGy.js → Payment-BGiKmQYR.js} +3 -57
  139. package/dist/esm/{Refund-2YJqP9qX.js → Refund-DDIEc_gu.js} +56 -2
  140. package/dist/esm/additional-questions-details_5.entry.js +14 -15
  141. package/dist/esm/{badge-Du9GTXoB.js → badge-Bbh4S1LJ.js} +1 -1
  142. package/dist/esm/bank-account-document-form-inputs_4.entry.js +12 -12
  143. package/dist/esm/bank-account-form_9.entry.js +33 -22
  144. package/dist/esm/{business-additional-questions-schema-GpN_koGK.js → business-additional-questions-schema-uQlQ8fXQ.js} +1 -1
  145. package/dist/esm/business-details-core.entry.js +5 -6
  146. package/dist/esm/{business-form-options-Bn05PRR4.js → business-form-options-CgssATyg.js} +1 -1
  147. package/dist/esm/{business-identity-schema-BjuQ6ajL.js → business-identity-schema-BsrgqgDl.js} +1 -1
  148. package/dist/esm/{business.service-ClD_YDeT.js → business.service-CUWiJ5Un.js} +6 -6
  149. package/dist/esm/{button-CjH5C0pG.js → button-BrZXQ8gb.js} +1 -1
  150. package/dist/esm/{check-pkg-version-DxnKX9GQ.js → check-pkg-version-CxnnjoM3.js} +7 -7
  151. package/dist/esm/{checkout.service-DfzkmIe4.js → checkout.service-DqXrjRw7.js} +6 -6
  152. package/dist/esm/checkouts-list-core.entry.js +14 -14
  153. package/dist/esm/{checkouts-list-params-state-Bn7pL-8x.js → checkouts-list-params-state-BI3u1DYG.js} +1 -1
  154. package/dist/esm/{checkouts-table-DKd0QLys.js → checkouts-table-p7UZFB5v.js} +3 -3
  155. package/dist/esm/{config-state-CkKrqnpZ.js → config-state-ecb1EsvM.js} +1 -1
  156. package/dist/esm/custom-popper_4.entry.js +2 -2
  157. package/dist/esm/{dispute.service-BTOWqnmk.js → dispute.service-DpgnWZA1.js} +6 -6
  158. package/dist/esm/form-alert_5.entry.js +3 -3
  159. package/dist/esm/form-control-checkbox.entry.js +3 -3
  160. package/dist/esm/form-control-date.entry.js +2 -2
  161. package/dist/esm/{form-control-error-text-tGFxd6kW.js → form-control-error-text-lGsxANkt.js} +1 -1
  162. package/dist/esm/form-control-file-v2_2.entry.js +2 -2
  163. package/dist/esm/{form-control-help-text-2DawN8-N.js → form-control-help-text-DjU4NWmt.js} +1 -1
  164. package/dist/esm/form-control-help-text.entry.js +1 -1
  165. package/dist/esm/form-control-monetary-provisioning.entry.js +3 -3
  166. package/dist/esm/form-control-monetary.entry.js +4 -4
  167. package/dist/esm/form-control-number-masked_2.entry.js +2 -2
  168. package/dist/esm/form-control-number.entry.js +3 -3
  169. package/dist/esm/form-control-radio.entry.js +1 -1
  170. package/dist/esm/{get-business-CIKToQur.js → get-business-GEPTefIj.js} +1 -1
  171. package/dist/esm/{get-payment-details-D-prcfRc.js → get-payment-details-ChRlNtIz.js} +7 -7
  172. package/dist/esm/{get-subaccounts-B0uEyOp_.js → get-subaccounts-DiROU10G.js} +8 -8
  173. package/dist/esm/gross-payment-chart-core.entry.js +4 -4
  174. package/dist/esm/{header-1-D2gZb3iT.js → header-1-Xbhp2rfA.js} +1 -1
  175. package/dist/esm/{header-3-DAg8Vh4B.js → header-3-DwjHOg3C.js} +1 -1
  176. package/dist/esm/{iframe-input-styles-state-ibYqbF--.js → iframe-input-styles-state-BEips-at.js} +1 -1
  177. package/dist/esm/iframe-input.entry.js +5 -5
  178. package/dist/esm/{index-Cc3u0uDC.js → index-Dc7aGxx-.js} +1 -1
  179. package/dist/esm/{index-D6FDxSyt.js → index-DeiW2BDb.js} +1 -1
  180. package/dist/esm/{insurance-state-CsZbKSgm.js → insurance-state-CiK3s-Fy.js} +2 -2
  181. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +50 -23
  182. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +14 -14
  183. package/dist/esm/justifi-additional-statement_8.entry.js +1 -1
  184. package/dist/esm/justifi-business-details.entry.js +22 -17
  185. package/dist/esm/justifi-business-form.entry.js +21 -21
  186. package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
  187. package/dist/esm/justifi-checkout-core.entry.js +9 -9
  188. package/dist/esm/justifi-checkout.entry.js +13 -13
  189. package/dist/esm/justifi-checkouts-list-filters.entry.js +11 -11
  190. package/dist/esm/justifi-checkouts-list.entry.js +17 -17
  191. package/dist/esm/justifi-config-provider.entry.js +3 -3
  192. package/dist/esm/justifi-details.entry.js +3 -3
  193. package/dist/esm/justifi-dispute-management-core.entry.js +2 -2
  194. package/dist/esm/justifi-dispute-management.entry.js +13 -13
  195. package/dist/esm/justifi-dispute-notification_3.entry.js +16 -16
  196. package/dist/esm/justifi-gross-payment-chart.entry.js +13 -13
  197. package/dist/esm/justifi-order-terminals.entry.js +17 -17
  198. package/dist/esm/justifi-owner-form_3.entry.js +15 -15
  199. package/dist/esm/justifi-payment-details.entry.js +15 -15
  200. package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -3
  201. package/dist/esm/justifi-payment-provisioning.entry.js +13 -13
  202. package/dist/esm/justifi-payment-transactions-list.entry.js +16 -16
  203. package/dist/esm/justifi-payments-list-filters.entry.js +5 -5
  204. package/dist/esm/justifi-payments-list.entry.js +17 -17
  205. package/dist/esm/justifi-payout-details.entry.js +14 -14
  206. package/dist/esm/justifi-payout-transactions-list.entry.js +16 -16
  207. package/dist/esm/justifi-payouts-list-filters.entry.js +5 -5
  208. package/dist/esm/justifi-payouts-list.entry.js +18 -18
  209. package/dist/esm/justifi-refund-payment.entry.js +17 -17
  210. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +6 -6
  211. package/dist/esm/justifi-season-interruption-insurance.entry.js +12 -12
  212. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +11 -11
  213. package/dist/esm/justifi-terminal-orders-list.entry.js +15 -15
  214. package/dist/esm/justifi-terminals-list-filters.entry.js +11 -11
  215. package/dist/esm/justifi-terminals-list.entry.js +17 -17
  216. package/dist/esm/justifi-tokenize-payment-method.entry.js +16 -17
  217. package/dist/esm/loader.js +3 -3
  218. package/dist/esm/{package-DPiTQ9dr.js → package-DCoo9Ds8.js} +1 -1
  219. package/dist/esm/pagination-menu.entry.js +1 -1
  220. package/dist/esm/payment-details-core.entry.js +7 -7
  221. package/dist/esm/{payment.service-CgwLo1_s.js → payment.service-BV8Gg3vY.js} +6 -6
  222. package/dist/esm/payments-list-core.entry.js +15 -15
  223. package/dist/esm/{payments-list-params-state-Bn7pL-8x.js → payments-list-params-state-BI3u1DYG.js} +1 -1
  224. package/dist/esm/{payments-status-CIUXcA0w.js → payments-status-DIH2IxWy.js} +2 -2
  225. package/dist/esm/{payments-table-BBf5fV74.js → payments-table-DiEtudGk.js} +3 -3
  226. package/dist/esm/payout-details-core.entry.js +8 -8
  227. package/dist/esm/{payout.service-DYFCNfLa.js → payout.service-DA9Y4buU.js} +6 -6
  228. package/dist/esm/payouts-list-core.entry.js +15 -15
  229. package/dist/esm/{payouts-list-params-state-Bn7pL-8x.js → payouts-list-params-state-BI3u1DYG.js} +1 -1
  230. package/dist/esm/{payouts-status-Clo03qUI.js → payouts-status-ZOiWvFE-.js} +2 -2
  231. package/dist/esm/{payouts-table-DhZEXhGH.js → payouts-table-DbzIHwgZ.js} +3 -3
  232. package/dist/esm/{schema-validations-D9YNVLiI.js → schema-validations-DLWfpHyI.js} +7 -29
  233. package/dist/esm/{skeleton-Dlpibtr0.js → skeleton-B9rUHFom.js} +1 -1
  234. package/dist/esm/{spinner-onCBxbdo.js → spinner-CrzsUbgI.js} +1 -1
  235. package/dist/esm/{styled-host-C7vaWLiB.js → styled-host-_2J3PYDn.js} +1 -1
  236. package/dist/esm/{table-p4dOlFPi.js → table-CqDcXJpP.js} +2 -2
  237. package/dist/esm/table-filters-menu.entry.js +2 -2
  238. package/dist/esm/terminal-orders-list-core.entry.js +14 -14
  239. package/dist/esm/{terminal-orders-list-params-state-Bn7pL-8x.js → terminal-orders-list-params-state-BI3u1DYG.js} +1 -1
  240. package/dist/esm/{terminal-orders-table-BopP465z.js → terminal-orders-table-D7EOk3GS.js} +9 -9
  241. package/dist/esm/terminal-quantity-selector.entry.js +1 -1
  242. package/dist/esm/{terminal.service-f-whs_d4.js → terminal.service-VdIvwUEC.js} +6 -6
  243. package/dist/esm/terminals-list-core.entry.js +14 -14
  244. package/dist/esm/terminals-list-params-state-BI3u1DYG.js +16 -0
  245. package/dist/esm/{terminals-table-CkWr-6tD.js → terminals-table-C-fA-3eP.js} +3 -3
  246. package/dist/esm/{utils-BpP_VJGf.js → utils-CcleFgVO.js} +1 -1
  247. package/dist/esm/{utils-BWcTxbSg.js → utils-DB5fh6Iv.js} +3 -0
  248. package/dist/esm/webcomponents.js +4 -4
  249. package/dist/module/Business.js +3 -1
  250. package/dist/module/Refund.js +55 -1
  251. package/dist/module/additional-questions-details2.js +3 -4
  252. package/dist/module/bank-account-document-inputs.js +1 -2
  253. package/dist/module/billing-form.js +4 -3
  254. package/dist/module/business-bank-account-form-step-core.js +37 -11
  255. package/dist/module/business-bank-account-form-step.js +0 -1
  256. package/dist/module/business-details-core2.js +11 -7
  257. package/dist/module/business-terms-conditions-form-step.js +3 -4
  258. package/dist/module/business.service.js +0 -1
  259. package/dist/module/check-pkg-version.js +0 -1
  260. package/dist/module/checkout.service.js +0 -1
  261. package/dist/module/checkouts-list-core2.js +0 -1
  262. package/dist/module/{generic-info-details.d.ts → core-info-details.d.ts} +4 -4
  263. package/dist/module/core-info-details.js +6 -0
  264. package/dist/module/core-info-details2.js +34 -0
  265. package/dist/module/details.js +2 -2
  266. package/dist/module/dispute-response-actions.js +0 -1
  267. package/dist/module/form.js +1 -1
  268. package/dist/module/get-payment-details.js +0 -1
  269. package/dist/module/get-subaccounts.js +0 -1
  270. package/dist/module/justifi-business-details.js +20 -9
  271. package/dist/module/justifi-business-form.js +0 -1
  272. package/dist/module/justifi-checkouts-list-filters.js +0 -1
  273. package/dist/module/justifi-checkouts-list.js +0 -1
  274. package/dist/module/justifi-gross-payment-chart.js +0 -1
  275. package/dist/module/justifi-order-terminals.js +1 -2
  276. package/dist/module/justifi-payment-provisioning.js +0 -1
  277. package/dist/module/justifi-payment-transactions-list.js +1 -2
  278. package/dist/module/justifi-payments-list.js +0 -1
  279. package/dist/module/justifi-payout-details.js +0 -1
  280. package/dist/module/justifi-payout-transactions-list.js +1 -2
  281. package/dist/module/justifi-payouts-list.js +0 -1
  282. package/dist/module/justifi-refund-payment.js +1 -2
  283. package/dist/module/justifi-season-interruption-insurance.js +0 -1
  284. package/dist/module/justifi-terminal-orders-list-filters.js +0 -1
  285. package/dist/module/justifi-terminal-orders-list.js +1 -2
  286. package/dist/module/justifi-terminals-list-filters.js +0 -1
  287. package/dist/module/justifi-terminals-list.js +1 -2
  288. package/dist/module/justifi-tokenize-payment-method.js +2 -4
  289. package/dist/module/legal-address-details2.js +3 -3
  290. package/dist/module/new-payment-method.js +15 -4
  291. package/dist/module/package.js +1 -1
  292. package/dist/module/payment-method-options.js +2 -3
  293. package/dist/module/payment.service.js +0 -1
  294. package/dist/module/payments-list-core2.js +0 -1
  295. package/dist/module/payout.service.js +0 -1
  296. package/dist/module/payouts-list-core2.js +0 -1
  297. package/dist/module/representative-details2.js +3 -3
  298. package/dist/module/schema-validations.js +6 -28
  299. package/dist/module/terminal-orders-list-core2.js +0 -1
  300. package/dist/module/terminal.service.js +0 -1
  301. package/dist/module/terminals-list-core2.js +0 -1
  302. package/dist/module/utils2.js +3 -0
  303. package/dist/types/components/business-details/business-details.d.ts +1 -0
  304. package/dist/types/components/business-details/core-info-details/core-info-details.d.ts +5 -0
  305. package/dist/types/components/business-forms/schemas/schema-validations.d.ts +0 -7
  306. package/dist/types/components/business-forms/utils/helpers.d.ts +1 -1
  307. package/dist/types/components/checkout/billing-form/billing-form.d.ts +1 -0
  308. package/dist/types/components/checkout/new-payment-method.d.ts +4 -1
  309. package/dist/types/components/checkout/payment-method-options.d.ts +1 -0
  310. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +1 -0
  311. package/dist/types/components.d.ts +285 -21
  312. package/dist/types/utils/utils.d.ts +1 -1
  313. package/dist/webcomponents/p--B09FkmB.js +1 -0
  314. package/dist/webcomponents/p-070a74b0.entry.js +1 -0
  315. package/dist/webcomponents/{p-4194214c.entry.js → p-0bab65ad.entry.js} +1 -1
  316. package/dist/webcomponents/{p-5e467788.entry.js → p-0e3122fd.entry.js} +1 -1
  317. package/dist/webcomponents/{p-ceefc483.entry.js → p-0f4572d3.entry.js} +1 -1
  318. package/dist/webcomponents/{p-3abc8eab.entry.js → p-19f24867.entry.js} +1 -1
  319. package/dist/webcomponents/{p-799000c1.entry.js → p-214d8301.entry.js} +1 -1
  320. package/dist/webcomponents/{p-40541e0c.entry.js → p-217c0657.entry.js} +1 -1
  321. package/dist/webcomponents/{p-83154291.entry.js → p-2182e23d.entry.js} +1 -1
  322. package/dist/webcomponents/p-2648b61f.entry.js +1 -0
  323. package/dist/webcomponents/{p-3a979295.entry.js → p-29402bea.entry.js} +1 -1
  324. package/dist/webcomponents/p-30e036bd.entry.js +1 -0
  325. package/dist/webcomponents/p-342016ec.entry.js +1 -0
  326. package/dist/webcomponents/{p-916ea4fc.entry.js → p-35299b25.entry.js} +1 -1
  327. package/dist/webcomponents/{p-2b8ac00a.entry.js → p-388e3afc.entry.js} +1 -1
  328. package/dist/webcomponents/{p-19b9c96a.entry.js → p-3ef0b42b.entry.js} +1 -1
  329. package/dist/webcomponents/{p-b40108c0.entry.js → p-410b3f65.entry.js} +1 -1
  330. package/dist/webcomponents/p-4d4aed9d.entry.js +1 -0
  331. package/dist/webcomponents/p-5023d221.entry.js +1 -0
  332. package/dist/webcomponents/{p-d1331dbb.entry.js → p-57ec45d9.entry.js} +1 -1
  333. package/dist/webcomponents/{p-54281359.entry.js → p-5886b41e.entry.js} +1 -1
  334. package/dist/webcomponents/{p-6429afb4.entry.js → p-61daf152.entry.js} +1 -1
  335. package/dist/webcomponents/{p-bf3e8295.entry.js → p-6a89c4c8.entry.js} +1 -1
  336. package/dist/webcomponents/{p-cab175e9.entry.js → p-70b87e0c.entry.js} +1 -1
  337. package/dist/webcomponents/{p-BH0Xfn-F.js → p-7MWRbTXI.js} +1 -1
  338. package/dist/webcomponents/{p-25ea4450.entry.js → p-7ba945a9.entry.js} +1 -1
  339. package/dist/webcomponents/{p-n2YROtpe.js → p-8qo1QTjv.js} +1 -1
  340. package/dist/webcomponents/{p-d9c70010.entry.js → p-9154c9ae.entry.js} +1 -1
  341. package/dist/webcomponents/p-95d4c1ec.entry.js +1 -0
  342. package/dist/webcomponents/{p-3e94cf62.entry.js → p-9633ee66.entry.js} +1 -1
  343. package/dist/webcomponents/{p-b2192f8b.entry.js → p-9814a858.entry.js} +1 -1
  344. package/dist/webcomponents/p-9c7574a3.entry.js +1 -0
  345. package/dist/webcomponents/{p-7733b67b.entry.js → p-9c9bef60.entry.js} +1 -1
  346. package/dist/webcomponents/p-B0b_XePt.js +1 -0
  347. package/dist/webcomponents/p-B50n1fKP.js +1 -0
  348. package/dist/webcomponents/p-B9zTkzgI.js +1 -0
  349. package/dist/webcomponents/{p-C0UUR9CN.js → p-BC1dBUlF.js} +1 -1
  350. package/dist/webcomponents/p-BNqn5ta3.js +1 -0
  351. package/dist/webcomponents/p-BUJ--tSs.js +1 -0
  352. package/dist/webcomponents/p-BdTK0wi9.js +1 -0
  353. package/dist/webcomponents/{p-DDEz7_ad.js → p-BeW-xdck.js} +1 -1
  354. package/dist/webcomponents/{p-D5XSsLKb.js → p-Bjf1_zhy.js} +1 -1
  355. package/dist/webcomponents/p-Bkffx_rQ.js +1 -0
  356. package/dist/webcomponents/{p-DuYlA4lj.js → p-Bl3ch-Ez.js} +1 -1
  357. package/dist/webcomponents/{p-BrvbVMVq.js → p-BlJnA265.js} +1 -1
  358. package/dist/webcomponents/{p-CpTwq2jw.js → p-BnE7qgLh.js} +1 -1
  359. package/dist/webcomponents/p-BpDYt_Ep.js +1 -0
  360. package/dist/webcomponents/{p-CgxzrbM_.js → p-C1uPQOvi.js} +1 -1
  361. package/dist/webcomponents/p-C2HQYreI.js +1 -0
  362. package/dist/webcomponents/p-CJ5VkiBV.js +1 -0
  363. package/dist/webcomponents/{p-ByRPlUBS.js → p-CKAgqwwJ.js} +1 -1
  364. package/dist/webcomponents/{p-cNABKY0P.js → p-CaGTuT2-.js} +1 -1
  365. package/dist/webcomponents/{p-CQdeVKF8.js → p-CeSHqD1r.js} +1 -1
  366. package/dist/webcomponents/{p-Cd06j2SL.js → p-CgSqi8wc.js} +1 -1
  367. package/dist/webcomponents/{p-OSmuQKbK.js → p-ChL8tkhB.js} +1 -1
  368. package/dist/webcomponents/p-ClM8H2uM.js +1 -0
  369. package/dist/webcomponents/p-CoZ_5FVT.js +1 -0
  370. package/dist/webcomponents/p-CopnqpXU.js +1 -0
  371. package/dist/webcomponents/p-Cs0cIpIm.js +1 -0
  372. package/dist/webcomponents/p-D9siq_gL.js +1 -0
  373. package/dist/webcomponents/p-DCoo9Ds8.js +1 -0
  374. package/dist/webcomponents/{p-BiPRf6d2.js → p-DGg9nHVL.js} +1 -1
  375. package/dist/webcomponents/{p-ZE1NEnP3.js → p-DMNpawhg.js} +1 -1
  376. package/dist/webcomponents/p-DQCcSXwL.js +1 -0
  377. package/dist/webcomponents/{p-DvHZ2jYI.js → p-DXhY2Usd.js} +1 -1
  378. package/dist/webcomponents/p-Ddc5F_89.js +1 -0
  379. package/dist/webcomponents/{p-l3o3Ndc0.js → p-DyCvl10I.js} +1 -1
  380. package/dist/webcomponents/{p-BjB_yKBJ.js → p-DzFysjCc.js} +1 -1
  381. package/dist/webcomponents/{p-C0WFYqwq.js → p-EbNktJEa.js} +1 -1
  382. package/dist/webcomponents/p-HiTlvG5T.js +1 -0
  383. package/dist/webcomponents/p-JOSiCHl7.js +1 -0
  384. package/dist/webcomponents/{p-82kiZkHt.js → p-SoKRLnnI.js} +1 -1
  385. package/dist/webcomponents/{p-d-_oUZor.js → p-XBoMjcoi.js} +1 -1
  386. package/dist/webcomponents/p-_5PRoEe6.js +1 -0
  387. package/dist/webcomponents/p-a32ae525.entry.js +1 -0
  388. package/dist/webcomponents/p-a60abc68.entry.js +1 -0
  389. package/dist/webcomponents/{p-24792e8e.entry.js → p-aa539239.entry.js} +1 -1
  390. package/dist/webcomponents/{p-22a0b397.entry.js → p-aa949920.entry.js} +1 -1
  391. package/dist/webcomponents/{p-d2dc6f22.entry.js → p-ab1353b0.entry.js} +3 -3
  392. package/dist/webcomponents/p-ac5f5d89.entry.js +1 -0
  393. package/dist/webcomponents/{p-bb50155f.entry.js → p-b0d1afd7.entry.js} +1 -1
  394. package/dist/webcomponents/p-b17ed568.entry.js +1 -0
  395. package/dist/webcomponents/p-b59fc73d.entry.js +1 -0
  396. package/dist/webcomponents/{p-3babed12.entry.js → p-b5c7c78d.entry.js} +1 -1
  397. package/dist/webcomponents/p-b72eca25.entry.js +1 -0
  398. package/dist/webcomponents/{p-3368d3d5.entry.js → p-b9283a1b.entry.js} +1 -1
  399. package/dist/webcomponents/{p-0deb6a38.entry.js → p-b95a7dc5.entry.js} +1 -1
  400. package/dist/webcomponents/p-bO_FomzV.js +1 -0
  401. package/dist/webcomponents/p-bd1df685.entry.js +1 -0
  402. package/dist/webcomponents/p-bfb2bad3.entry.js +1 -0
  403. package/dist/webcomponents/{p-935bbc62.entry.js → p-c13538df.entry.js} +1 -1
  404. package/dist/webcomponents/{p-9105f700.entry.js → p-c535a165.entry.js} +1 -1
  405. package/dist/webcomponents/{p-639baa7d.entry.js → p-c7a1439a.entry.js} +1 -1
  406. package/dist/webcomponents/{p-4ee0cd96.entry.js → p-c80d077b.entry.js} +1 -1
  407. package/dist/webcomponents/{p-a4dd3835.entry.js → p-ccd256f5.entry.js} +1 -1
  408. package/dist/webcomponents/{p-947239a6.entry.js → p-cfb4491e.entry.js} +1 -1
  409. package/dist/webcomponents/p-d049acb4.entry.js +1 -0
  410. package/dist/webcomponents/p-d0b3a10e.entry.js +1 -0
  411. package/dist/webcomponents/p-d3f5c51e.entry.js +1 -0
  412. package/dist/webcomponents/{p-90c24cda.entry.js → p-d3ff71df.entry.js} +1 -1
  413. package/dist/webcomponents/p-d6a66b58.entry.js +1 -0
  414. package/dist/webcomponents/{p-CCGhF18e.js → p-d6tXI5Iw.js} +1 -1
  415. package/dist/webcomponents/p-d8f92442.entry.js +1 -0
  416. package/dist/webcomponents/{p-59abf1de.entry.js → p-da6c0277.entry.js} +1 -1
  417. package/dist/webcomponents/{p-f389c2aa.entry.js → p-e0e3a939.entry.js} +1 -1
  418. package/dist/webcomponents/p-e3a07cb8.entry.js +1 -0
  419. package/dist/webcomponents/{p-1a85f26f.entry.js → p-f03acabd.entry.js} +1 -1
  420. package/dist/webcomponents/{p-ad85bd0d.entry.js → p-f1e54daa.entry.js} +1 -1
  421. package/dist/webcomponents/{p-99b080d9.entry.js → p-f3d3070a.entry.js} +1 -1
  422. package/dist/webcomponents/p-hG0Fy7E9.js +1 -0
  423. package/dist/webcomponents/p-vTsHmSQQ.js +1 -0
  424. package/dist/webcomponents/{p-IA90llLO.js → p-yH3TC3ZQ.js} +1 -1
  425. package/dist/webcomponents/webcomponents.esm.js +1 -1
  426. package/package.json +1 -1
  427. package/dist/cjs/terminals-list-params-state-BvG5Ysrg.js +0 -22
  428. package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +0 -40
  429. package/dist/esm/terminals-list-params-state-Bn7pL-8x.js +0 -16
  430. package/dist/module/Document.js +0 -55
  431. package/dist/module/generic-info-details.js +0 -6
  432. package/dist/module/generic-info-details2.js +0 -34
  433. package/dist/types/components/business-details/generic-info-details/generic-info-details.d.ts +0 -5
  434. package/dist/webcomponents/p-0ab2f675.entry.js +0 -1
  435. package/dist/webcomponents/p-0b57ecc3.entry.js +0 -1
  436. package/dist/webcomponents/p-16adfe77.entry.js +0 -1
  437. package/dist/webcomponents/p-1b22572d.entry.js +0 -1
  438. package/dist/webcomponents/p-22e9ff07.entry.js +0 -1
  439. package/dist/webcomponents/p-2adda453.entry.js +0 -1
  440. package/dist/webcomponents/p-2dbc4b19.entry.js +0 -1
  441. package/dist/webcomponents/p-43d6bbed.entry.js +0 -1
  442. package/dist/webcomponents/p-44d8c2b1.entry.js +0 -1
  443. package/dist/webcomponents/p-4749e0d0.entry.js +0 -1
  444. package/dist/webcomponents/p-6n7viK-J.js +0 -1
  445. package/dist/webcomponents/p-7c62b59d.entry.js +0 -1
  446. package/dist/webcomponents/p-82515f70.entry.js +0 -1
  447. package/dist/webcomponents/p-84d27581.entry.js +0 -1
  448. package/dist/webcomponents/p-935fa555.entry.js +0 -1
  449. package/dist/webcomponents/p-B0cQ2RjH.js +0 -1
  450. package/dist/webcomponents/p-B190pN0v.js +0 -1
  451. package/dist/webcomponents/p-BM5lviat.js +0 -1
  452. package/dist/webcomponents/p-BWJ7zamv.js +0 -1
  453. package/dist/webcomponents/p-BmWpHZ-Z.js +0 -1
  454. package/dist/webcomponents/p-BzPi8Ea_.js +0 -1
  455. package/dist/webcomponents/p-C0IqfGFc.js +0 -1
  456. package/dist/webcomponents/p-CffckWWF.js +0 -1
  457. package/dist/webcomponents/p-D0ptm6-3.js +0 -1
  458. package/dist/webcomponents/p-D4Mv5jCp.js +0 -1
  459. package/dist/webcomponents/p-D5Sh88BE.js +0 -1
  460. package/dist/webcomponents/p-DJzjeg3x.js +0 -1
  461. package/dist/webcomponents/p-DNt_pMGt.js +0 -1
  462. package/dist/webcomponents/p-DPiTQ9dr.js +0 -1
  463. package/dist/webcomponents/p-DZfxGQ1I.js +0 -1
  464. package/dist/webcomponents/p-DgfzEZny.js +0 -1
  465. package/dist/webcomponents/p-DjGTAHJM.js +0 -1
  466. package/dist/webcomponents/p-DuBhW0xA.js +0 -1
  467. package/dist/webcomponents/p-M61ygz6l.js +0 -1
  468. package/dist/webcomponents/p-U30-0DaA.js +0 -1
  469. package/dist/webcomponents/p-a46730eb.entry.js +0 -1
  470. package/dist/webcomponents/p-af2c38f7.entry.js +0 -1
  471. package/dist/webcomponents/p-afa54e39.entry.js +0 -1
  472. package/dist/webcomponents/p-dd05cce1.entry.js +0 -1
  473. package/dist/webcomponents/p-e00aeb33.entry.js +0 -1
  474. package/dist/webcomponents/p-e1c5ee0a.entry.js +0 -1
  475. package/dist/webcomponents/p-ea8dd3e7.entry.js +0 -1
  476. package/dist/webcomponents/p-f8b205f7.entry.js +0 -1
  477. package/dist/webcomponents/p-o_73WSki.js +0 -1
  478. package/dist/webcomponents/p-um3YdOwW.js +0 -1
  479. package/dist/webcomponents/p-vb3fTJEZ.js +0 -1
  480. package/dist/webcomponents/p-wqUvt1PB.js +0 -1
  481. /package/dist/webcomponents/{p-D6FDxSyt.js → p-DeiW2BDb.js} +0 -0
@@ -0,0 +1 @@
1
+ import{h as t}from"./p-DeiW2BDb.js";import{E as e}from"./p-BrLVc_85.js";const s=({component:s="div",height:r,width:i,className:o,styles:a={}})=>{const c=Object.assign(Object.assign({},a),{width:i,height:r});return t(s,{class:`${o} skeleton`,style:c,part:e,"aria-hidden":"true"})};export{s as S}
@@ -1 +1 @@
1
- import{h as t}from"./p-D6FDxSyt.js";import{B as e,a}from"./p-D5XSsLKb.js";const n=n=>t(a,Object.assign({},{canceled:{variant:e.DANGER,title:"Transfer to your bank account failed",text:"Canceled"},failed:{variant:e.DANGER,title:"Transfer to your bank account failed",text:"Failed"},forwarded:{variant:e.SECONDARY,title:"This payout initially failed; the funds have been forwarded to your next successful payout",text:"Forwarded"},in_transit:{variant:e.PRIMARY,title:"Transfer to your bank account has been initiated",text:"In Transit"},paid:{variant:e.SUCCESS,title:"Successfully deposited into your bank account",text:"Paid"},pending:{variant:e.PRIMARY,title:"Batched and scheduled to be transferred",text:"Pending"},scheduled:{variant:e.PRIMARY,title:"Batched and scheduled to be transferred",text:"Scheduled"},withdrawn:{variant:e.SUCCESS,title:"Negative payout balance successfully withdrawn from your bank account",text:"Withdrawn"}}[n]));export{n as M}
1
+ import{h as t}from"./p-DeiW2BDb.js";import{B as e,a}from"./p-Bjf1_zhy.js";const n=n=>t(a,Object.assign({},{canceled:{variant:e.DANGER,title:"Transfer to your bank account failed",text:"Canceled"},failed:{variant:e.DANGER,title:"Transfer to your bank account failed",text:"Failed"},forwarded:{variant:e.SECONDARY,title:"This payout initially failed; the funds have been forwarded to your next successful payout",text:"Forwarded"},in_transit:{variant:e.PRIMARY,title:"Transfer to your bank account has been initiated",text:"In Transit"},paid:{variant:e.SUCCESS,title:"Successfully deposited into your bank account",text:"Paid"},pending:{variant:e.PRIMARY,title:"Batched and scheduled to be transferred",text:"Pending"},scheduled:{variant:e.PRIMARY,title:"Batched and scheduled to be transferred",text:"Scheduled"},withdrawn:{variant:e.SUCCESS,title:"Negative payout balance successfully withdrawn from your bank account",text:"Withdrawn"}}[n]));export{n as M}
@@ -0,0 +1 @@
1
+ import{h as r}from"./p-DeiW2BDb.js";import{B as t}from"./p-BrLVc_85.js";const e=e=>{const{errorText:o,name:s}=e;return o?r("small",{class:"form-text text-danger",id:`form-error-text-${s}`,part:t},o):null};export{e as F}
@@ -0,0 +1 @@
1
+ import{A as r}from"./p-ChL8tkhB.js";import"./p-SdntD1xf.js";import"./p-DzFysjCc.js";import"./p-CLHwhyvu.js";import"./p-vTsHmSQQ.js";import"./p--B09FkmB.js";import"./p-BlJnA265.js";import"./p-7MWRbTXI.js";const e=r();class n{async fetchTerminals(r,n,s){return e.get({endpoint:"terminals",params:s,headers:{Account:r},authToken:n})}async fetchTerminal(r,n){return e.get({endpoint:`terminals/${r}`,authToken:n})}async fetchTerminalModels(r,n){return e.get({endpoint:"terminals/order_models",headers:{"sub-account":r},authToken:n})}async orderTerminals(r,n){return e.post({endpoint:"terminals/orders",body:n,headers:{"sub-account":n.sub_account_id},authToken:r})}}export{n as T}
@@ -1 +1 @@
1
- import{h as t}from"./p-D6FDxSyt.js";import{b as e,d as a}from"./p-CpTwq2jw.js";import{B as c,a as o}from"./p-D5XSsLKb.js";import{P as p,Q as s}from"./p-BrLVc_85.js";const r="created_at,payment_amount,payment_description,payment_mode,status",d={created_at:()=>t("th",{part:p,scope:"col",title:"The date each checkout occurred"},"Processed On"),payment_amount:()=>t("th",{part:p,scope:"col",title:"The dollar amount of each checkout"},"Payment Amount"),payment_description:()=>t("th",{part:p,scope:"col",title:"The description of each checkout"},"Payment Description"),sub_account_name:()=>t("th",{part:p,scope:"col",title:"The sub account associated with the checkout"},"Sub Account"),payment_mode:()=>t("th",{part:p,scope:"col",title:"The payment mode of each checkout"},"Payment Mode"),status:()=>t("th",{part:p,scope:"col",title:"The current status of each checkout"},"Status")},n={created_at:(c,o)=>t("td",{part:s(o)},t("div",{class:"fw-bold"},a(c.created_at)),t("div",{class:"fw-bold"},e(c.created_at))),payment_amount:(e,a)=>t("td",{part:s(a)},e.formattedPaymentAmount(e.payment_amount)),payment_description:(e,a)=>t("td",{part:s(a)},e.payment_description),sub_account_name:(e,a)=>t("td",{part:s(a)},e.sub_account_name),payment_mode:(e,a)=>t("td",{part:s(a)},e.payment_mode),status:(e,a)=>t("td",{part:s(a)},t(o,Object.assign({},{created:{variant:c.PRIMARY,title:"The checkout has been created",text:"Created"},completed:{variant:c.SUCCESS,title:"The checkout has been completed",text:"Completed"},attempted:{variant:c.SECONDARY,title:"The checkout has been attempted",text:"Attempted"},expired:{variant:c.DANGER,title:"The checkout has expired",text:"Expired"}}[e.status])))};export{n as a,d as c,r as d}
1
+ import{h as t}from"./p-DeiW2BDb.js";import{b as e,d as a}from"./p-BnE7qgLh.js";import{B as c,a as o}from"./p-Bjf1_zhy.js";import{P as p,Q as s}from"./p-BrLVc_85.js";const r="created_at,payment_amount,payment_description,payment_mode,status",d={created_at:()=>t("th",{part:p,scope:"col",title:"The date each checkout occurred"},"Processed On"),payment_amount:()=>t("th",{part:p,scope:"col",title:"The dollar amount of each checkout"},"Payment Amount"),payment_description:()=>t("th",{part:p,scope:"col",title:"The description of each checkout"},"Payment Description"),sub_account_name:()=>t("th",{part:p,scope:"col",title:"The sub account associated with the checkout"},"Sub Account"),payment_mode:()=>t("th",{part:p,scope:"col",title:"The payment mode of each checkout"},"Payment Mode"),status:()=>t("th",{part:p,scope:"col",title:"The current status of each checkout"},"Status")},n={created_at:(c,o)=>t("td",{part:s(o)},t("div",{class:"fw-bold"},a(c.created_at)),t("div",{class:"fw-bold"},e(c.created_at))),payment_amount:(e,a)=>t("td",{part:s(a)},e.formattedPaymentAmount(e.payment_amount)),payment_description:(e,a)=>t("td",{part:s(a)},e.payment_description),sub_account_name:(e,a)=>t("td",{part:s(a)},e.sub_account_name),payment_mode:(e,a)=>t("td",{part:s(a)},e.payment_mode),status:(e,a)=>t("td",{part:s(a)},t(o,Object.assign({},{created:{variant:c.PRIMARY,title:"The checkout has been created",text:"Created"},completed:{variant:c.SUCCESS,title:"The checkout has been completed",text:"Completed"},attempted:{variant:c.SECONDARY,title:"The checkout has been attempted",text:"Attempted"},expired:{variant:c.DANGER,title:"The checkout has expired",text:"Expired"}}[e.status])))};export{n as a,d as c,r as d}
@@ -1 +1 @@
1
- import{h as s}from"./p-D6FDxSyt.js";import{ac as r,ad as a,ae as n}from"./p-BrLVc_85.js";const t=(t,o)=>s("button",Object.assign({class:`btn btn-${t.variant}`,onClick:t.clickHandler,part:`${{primary:a,secondary:r}[t.variant]} ${t.isLoading?n:""}`},t),t.isLoading?s("div",{class:"spinner-border spinner-border-sm",role:"status",part:"button-spinner"},s("span",{class:"visually-hidden"},"Loading...")):o);export{t as B}
1
+ import{h as s}from"./p-DeiW2BDb.js";import{ac as r,ad as a,ae as n}from"./p-BrLVc_85.js";const t=(t,o)=>s("button",Object.assign({class:`btn btn-${t.variant}`,onClick:t.clickHandler,part:`${{primary:a,secondary:r}[t.variant]} ${t.isLoading?n:""}`},t),t.isLoading?s("div",{class:"spinner-border spinner-border-sm",role:"status",part:"button-spinner"},s("span",{class:"visually-hidden"},"Loading...")):o);export{t as B}
@@ -1 +1 @@
1
- import{h as s}from"./p-D6FDxSyt.js";import{O as r}from"./p-BrLVc_85.js";const t=()=>s("div",{class:"d-flex justify-content-center"},s("div",{class:"spinner-border",role:"status",part:r},s("span",{class:"visually-hidden"},"Loading...")));export{t as S}
1
+ import{h as s}from"./p-DeiW2BDb.js";import{O as r}from"./p-BrLVc_85.js";const t=()=>s("div",{class:"d-flex justify-content-center"},s("div",{class:"spinner-border",role:"status",part:r},s("span",{class:"visually-hidden"},"Loading...")));export{t as S}
@@ -1 +1 @@
1
- import{a as e,f as t}from"./p-D6FDxSyt.js";const s=e=>!("isConnected"in e)||e.isConnected,n=(()=>{let e;return(...t)=>{e&&clearTimeout(e),e=setTimeout((()=>{e=0,(e=>{for(let t of e.keys())e.set(t,e.get(t).filter(s))})(...t)}),2e3)}})(),o=e=>"function"==typeof e?e():e,r=(s,r)=>{const c=((e,t=(e,t)=>e!==t)=>{const s=o(e);let n=new Map(Object.entries(s??{}));const r={dispose:[],get:[],set:[],reset:[]},c=()=>{n=new Map(Object.entries(o(e)??{})),r.reset.forEach((e=>e()))},p=e=>(r.get.forEach((t=>t(e))),n.get(e)),a=(e,s)=>{const o=n.get(e);t(s,o,e)&&(n.set(e,s),r.set.forEach((t=>t(e,s,o))))},i="undefined"==typeof Proxy?{}:new Proxy(s,{get:(e,t)=>p(t),ownKeys:()=>Array.from(n.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(e,t)=>n.has(t),set:(e,t,s)=>(a(t,s),!0)}),u=(e,t)=>(r[e].push(t),()=>{((e,t)=>{const s=e.indexOf(t);s>=0&&(e[s]=e[e.length-1],e.length--)})(r[e],t)});return{state:i,get:p,set:a,on:u,onChange:(t,s)=>{const n=u("set",((e,n)=>{e===t&&s(n)})),r=u("reset",(()=>s(o(e)[t])));return()=>{n(),r()}},use:(...e)=>{const t=e.reduce(((e,t)=>(t.set&&e.push(u("set",t.set)),t.get&&e.push(u("get",t.get)),t.reset&&e.push(u("reset",t.reset)),t.dispose&&e.push(u("dispose",t.dispose)),e)),[]);return()=>t.forEach((e=>e()))},dispose:()=>{r.dispose.forEach((e=>e())),c()},reset:c,forceUpdate:e=>{const t=n.get(e);r.set.forEach((s=>s(e,t,t)))}}})(s,r);return c.use((()=>{if("function"!=typeof e)return{};const s=new Map;return{dispose:()=>s.clear(),get:t=>{const n=e();n&&((e,t,s)=>{const n=e.get(t);n?n.includes(s)||n.push(s):e.set(t,[s])})(s,t,n)},set:e=>{const o=s.get(e);o&&s.set(e,o.filter(t)),n(s)},reset:()=>{s.forEach((e=>e.forEach(t))),n(s)}}})()),c};export{r as c}
1
+ import{a as e,f as t}from"./p-DeiW2BDb.js";const s=e=>!("isConnected"in e)||e.isConnected,n=(()=>{let e;return(...t)=>{e&&clearTimeout(e),e=setTimeout((()=>{e=0,(e=>{for(let t of e.keys())e.set(t,e.get(t).filter(s))})(...t)}),2e3)}})(),o=e=>"function"==typeof e?e():e,r=(s,r)=>{const c=((e,t=(e,t)=>e!==t)=>{const s=o(e);let n=new Map(Object.entries(s??{}));const r={dispose:[],get:[],set:[],reset:[]},c=()=>{n=new Map(Object.entries(o(e)??{})),r.reset.forEach((e=>e()))},i=e=>(r.get.forEach((t=>t(e))),n.get(e)),p=(e,s)=>{const o=n.get(e);t(s,o,e)&&(n.set(e,s),r.set.forEach((t=>t(e,s,o))))},a="undefined"==typeof Proxy?{}:new Proxy(s,{get:(e,t)=>i(t),ownKeys:()=>Array.from(n.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(e,t)=>n.has(t),set:(e,t,s)=>(p(t,s),!0)}),u=(e,t)=>(r[e].push(t),()=>{((e,t)=>{const s=e.indexOf(t);s>=0&&(e[s]=e[e.length-1],e.length--)})(r[e],t)});return{state:a,get:i,set:p,on:u,onChange:(t,s)=>{const n=u("set",((e,n)=>{e===t&&s(n)})),r=u("reset",(()=>s(o(e)[t])));return()=>{n(),r()}},use:(...e)=>{const t=e.reduce(((e,t)=>(t.set&&e.push(u("set",t.set)),t.get&&e.push(u("get",t.get)),t.reset&&e.push(u("reset",t.reset)),t.dispose&&e.push(u("dispose",t.dispose)),e)),[]);return()=>t.forEach((e=>e()))},dispose:()=>{r.dispose.forEach((e=>e())),c()},reset:c,forceUpdate:e=>{const t=n.get(e);r.set.forEach((s=>s(e,t,t)))}}})(s,r);return c.use((()=>{if("function"!=typeof e)return{};const s=new Map;return{dispose:()=>s.clear(),get:t=>{const n=e();n&&((e,t,s)=>{const n=e.get(t);n?n.includes(s)||n.push(s):e.set(t,[s])})(s,t,n)},set:e=>{const o=s.get(e);o&&s.set(e,o.filter(t)),n(s)},reset:()=>{s.forEach((e=>e.forEach(t))),n(s)}}})()),c};export{r as c}
@@ -1 +1 @@
1
- import{w as n,c as a}from"./p-D4Mv5jCp.js";import{g as t}from"./p-CpTwq2jw.js";const o=()=>{async function o(o){const{authToken:e,endpoint:s,method:r,params:i,body:p,signal:c,headers:d}=o;await n();const h=`${a.apiOrigin}/v1/${s}`,u=i?`${h}?${new URLSearchParams(i)}`:h,m=await async function(n){return n?{Authorization:`Bearer ${n}`,"Idempotency-Key":t(),"Content-Type":"application/json"}:{"Content-Type":"application/json"}}(e),y=Object.assign(Object.assign({},m),d),T=await fetch(u,{method:r,headers:y,body:p,signal:c});if(T)return 204===T.status?{}:T.json();!function(n){console.error(`Error fetching from ${n}`)}(u)}return{get:async function(n){const{authToken:a,endpoint:t,params:e,signal:s,headers:r}=n;return o({authToken:a,endpoint:t,method:"GET",params:e,signal:s,headers:r})},post:async function(n){const{authToken:a,endpoint:t,body:e,params:s,signal:r,headers:i}=n;return o({authToken:a,endpoint:t,method:"POST",params:s,body:JSON.stringify(e),signal:r,headers:i})},put:async function(n){const{authToken:a,endpoint:t,body:e,params:s,signal:r}=n;return o({authToken:a,endpoint:t,method:"PUT",params:s,body:JSON.stringify(e),signal:r})},patch:async function(n){const{authToken:a,endpoint:t,body:e,params:s,signal:r}=n;return o({authToken:a,endpoint:t,method:"PATCH",params:s,body:JSON.stringify(e),signal:r})},destroy:async function(n){const{authToken:a,endpoint:t,params:e,signal:s}=n;return o({authToken:a,endpoint:t,method:"DELETE",params:e,signal:s})}}};export{o as A}
1
+ import{w as n,c as a}from"./p-Ddc5F_89.js";import{g as t}from"./p-BnE7qgLh.js";const o=()=>{async function o(o){const{authToken:e,endpoint:s,method:r,params:i,body:p,signal:c,headers:d}=o;await n();const h=`${a.apiOrigin}/v1/${s}`,u=i?`${h}?${new URLSearchParams(i)}`:h,m=await async function(n){return n?{Authorization:`Bearer ${n}`,"Idempotency-Key":t(),"Content-Type":"application/json"}:{"Content-Type":"application/json"}}(e),y=Object.assign(Object.assign({},m),d),T=await fetch(u,{method:r,headers:y,body:p,signal:c});if(T)return 204===T.status?{}:T.json();!function(n){console.error(`Error fetching from ${n}`)}(u)}return{get:async function(n){const{authToken:a,endpoint:t,params:e,signal:s,headers:r}=n;return o({authToken:a,endpoint:t,method:"GET",params:e,signal:s,headers:r})},post:async function(n){const{authToken:a,endpoint:t,body:e,params:s,signal:r,headers:i}=n;return o({authToken:a,endpoint:t,method:"POST",params:s,body:JSON.stringify(e),signal:r,headers:i})},put:async function(n){const{authToken:a,endpoint:t,body:e,params:s,signal:r}=n;return o({authToken:a,endpoint:t,method:"PUT",params:s,body:JSON.stringify(e),signal:r})},patch:async function(n){const{authToken:a,endpoint:t,body:e,params:s,signal:r}=n;return o({authToken:a,endpoint:t,method:"PATCH",params:s,body:JSON.stringify(e),signal:r})},destroy:async function(n){const{authToken:a,endpoint:t,params:e,signal:s}=n;return o({authToken:a,endpoint:t,method:"DELETE",params:e,signal:s})}}};export{o as A}
@@ -0,0 +1 @@
1
+ import{h as t}from"./p-DeiW2BDb.js";import{A as e}from"./p-BrLVc_85.js";const r=r=>{const{helpText:m,name:o}=r;return m?t("small",{class:"form-text text-muted",id:`form-help-text-${o}`,part:e},m):null};export{r as F}
@@ -0,0 +1 @@
1
+ import{c as s}from"./p-CgSqi8wc.js";const t={},a={},c=s((()=>t)),{state:o,on:e}=c,p=s((()=>a)),{state:j}=p,r=()=>Object.assign(Object.assign({},o),j),b=()=>{c.reset()};export{b as c,o as f,r as g,e as o,j as p}
@@ -0,0 +1 @@
1
+ import{c as s}from"./p-CgSqi8wc.js";const t={},a={},c=s((()=>t)),{state:o,on:e}=c,p=s((()=>a)),{state:j}=p,r=()=>Object.assign(Object.assign({},o),j),b=()=>{c.reset()};export{b as c,o as f,r as g,e as o,j as p}
@@ -0,0 +1 @@
1
+ import{B as r}from"./p-BlJnA265.js";import{C as o}from"./p-SdntD1xf.js";import{g as s,a as e}from"./p-C5RuuShs.js";const t=({id:t,authToken:n,service:i})=>async({onSuccess:a,onError:c})=>{var u;try{const d=await i.fetchBusiness(t,n);if(d.error){return c({error:e(d.error),code:s(null===(u=d.error)||void 0===u?void 0:u.code),severity:o.ERROR})}a({business:new r(d.data)})}catch(r){const e=s(null==r?void 0:r.code);return c({error:r.message||r,code:e,severity:o.ERROR})}};export{t as m}
@@ -0,0 +1 @@
1
+ import{c as s}from"./p-CgSqi8wc.js";const t={},a={},c=s((()=>t)),{state:o,on:e}=c,p=s((()=>a)),{state:j}=p,r=()=>Object.assign(Object.assign({},o),j),b=()=>{c.reset()};export{b as c,o as f,r as g,e as o,j as p}
@@ -0,0 +1 @@
1
+ var e={name:"@justifi/webcomponents",version:"5.7.3"};export{e as p}
@@ -1 +1 @@
1
- import{p as t}from"./p-DPiTQ9dr.js";import{A as s}from"./p-OSmuQKbK.js";import"./p-SdntD1xf.js";import"./p-BjB_yKBJ.js";import"./p-CLHwhyvu.js";import"./p-CffckWWF.js";import"./p-BzPi8Ea_.js";import"./p-BrvbVMVq.js";import"./p-BH0Xfn-F.js";const i=s();class e{async record(t){return i.post({endpoint:"analytics",body:t})}}class o{constructor(t){this.handleCustomEvent=async t=>{await this.service.record(t)},window.location.origin.includes("localhost")||window.location.origin.includes("storybook")||(this.service=new e,this.componentInstance=t,this.setUpBasicData(),this.setupLifecycleTracking(),this.trackCustomEvents())}get resourceId(){return this.componentInstance.accountId||this.componentInstance.businessId||this.componentInstance.paymentId||this.componentInstance.payoutId||this.componentInstance.checkoutId}setUpBasicData(){this.basicData={component_name:this.componentInstance.tagName,component_version:t.version,client_user_agent:navigator.userAgent,client_platform:navigator.userAgent,client_origin:window.location.origin,resource_id:this.resourceId}}trackCustomEvents(){this.eventEmitters=["submit-event","error-event"],this.eventEmitters.forEach((t=>{"function"==typeof this.componentInstance.addEventListener&&this.componentInstance.addEventListener(t,(s=>this.handleCustomEvent({event_type:t,data:Object.assign(Object.assign({},this.basicData),{error:s.detail})})))}))}setupLifecycleTracking(){const t=this.componentInstance.componentDidLoad;this.componentInstance.componentDidLoad=()=>{if(this.service.record({event_type:"init",data:this.basicData}),t)return t.apply(this.componentInstance)}}cleanup(){this.eventEmitters&&this.eventEmitters.forEach((t=>{this.componentInstance.removeEventListener(t,this.handleCustomEvent)}))}}const r=async()=>{const s=t.version,i=t.name,e=await(async t=>{const s=await fetch("https://registry.npmjs.org/"+t+"/latest");return(await s.json()).version})(i),o=e.replace(/-rc.*/,""),r=s.split("."),n=e.split(".");r[0]!==n[0]&&console.warn(`The package ${i} is out of date. The latest version is ${o}. Please update.`)};export{o as J,r as c}
1
+ import{p as t}from"./p-DCoo9Ds8.js";import{A as s}from"./p-ChL8tkhB.js";import"./p-SdntD1xf.js";import"./p-DzFysjCc.js";import"./p-CLHwhyvu.js";import"./p-vTsHmSQQ.js";import"./p--B09FkmB.js";import"./p-BlJnA265.js";import"./p-7MWRbTXI.js";const i=s();class e{async record(t){return i.post({endpoint:"analytics",body:t})}}class o{constructor(t){this.handleCustomEvent=async t=>{await this.service.record(t)},window.location.origin.includes("localhost")||window.location.origin.includes("storybook")||(this.service=new e,this.componentInstance=t,this.setUpBasicData(),this.setupLifecycleTracking(),this.trackCustomEvents())}get resourceId(){return this.componentInstance.accountId||this.componentInstance.businessId||this.componentInstance.paymentId||this.componentInstance.payoutId||this.componentInstance.checkoutId}setUpBasicData(){this.basicData={component_name:this.componentInstance.tagName,component_version:t.version,client_user_agent:navigator.userAgent,client_platform:navigator.userAgent,client_origin:window.location.origin,resource_id:this.resourceId}}trackCustomEvents(){this.eventEmitters=["submit-event","error-event"],this.eventEmitters.forEach((t=>{"function"==typeof this.componentInstance.addEventListener&&this.componentInstance.addEventListener(t,(s=>this.handleCustomEvent({event_type:t,data:Object.assign(Object.assign({},this.basicData),{error:s.detail})})))}))}setupLifecycleTracking(){const t=this.componentInstance.componentDidLoad;this.componentInstance.componentDidLoad=()=>{if(this.service.record({event_type:"init",data:this.basicData}),t)return t.apply(this.componentInstance)}}cleanup(){this.eventEmitters&&this.eventEmitters.forEach((t=>{this.componentInstance.removeEventListener(t,this.handleCustomEvent)}))}}const n=async()=>{const s=t.version,i=t.name,e=await(async t=>{const s=await fetch("https://registry.npmjs.org/"+t+"/latest");return(await s.json()).version})(i),o=e.replace(/-rc.*/,""),n=s.split("."),r=e.split(".");n[0]!==r[0]&&console.warn(`The package ${i} is out of date. The latest version is ${o}. Please update.`)};export{o as J,n as c}
@@ -1 +1 @@
1
- import{A as t}from"./p-OSmuQKbK.js";import"./p-SdntD1xf.js";import"./p-BjB_yKBJ.js";import"./p-CLHwhyvu.js";import"./p-CffckWWF.js";import"./p-BzPi8Ea_.js";import"./p-BrvbVMVq.js";import"./p-BH0Xfn-F.js";const n=t();class s{async fetchBusiness(t,s){return n.get({endpoint:`entities/business/${t}`,authToken:s})}async patchBusiness(t,s,e){return n.patch({endpoint:`entities/business/${s}`,body:e,authToken:t})}}class e{async fetchIdentity(t,s){return n.get({endpoint:`entities/identity/${t}`,authToken:s})}async patchIdentity(t,s,e){return n.patch({endpoint:`entities/identity/${s}`,body:e,authToken:t})}async postIdentity(t,s){return n.post({endpoint:"entities/identity",body:s,authToken:t})}}class i{async postBankAccount(t,s){return n.post({endpoint:"entities/bank_accounts",body:s,authToken:t})}}class o{async postDocumentRecord(t,s){return n.post({endpoint:"entities/document",body:s,authToken:t})}}export{s as B,o as D,e as I,i as a}
1
+ import{A as t}from"./p-ChL8tkhB.js";import"./p-SdntD1xf.js";import"./p-DzFysjCc.js";import"./p-CLHwhyvu.js";import"./p-vTsHmSQQ.js";import"./p--B09FkmB.js";import"./p-BlJnA265.js";import"./p-7MWRbTXI.js";const n=t();class s{async fetchBusiness(t,s){return n.get({endpoint:`entities/business/${t}`,authToken:s})}async patchBusiness(t,s,e){return n.patch({endpoint:`entities/business/${s}`,body:e,authToken:t})}}class e{async fetchIdentity(t,s){return n.get({endpoint:`entities/identity/${t}`,authToken:s})}async patchIdentity(t,s,e){return n.patch({endpoint:`entities/identity/${s}`,body:e,authToken:t})}async postIdentity(t,s){return n.post({endpoint:"entities/identity",body:s,authToken:t})}}class i{async postBankAccount(t,s){return n.post({endpoint:"entities/bank_accounts",body:s,authToken:t})}}class o{async postDocumentRecord(t,s){return n.post({endpoint:"entities/document",body:s,authToken:t})}}export{s as B,o as D,e as I,i as a}
@@ -0,0 +1 @@
1
+ import{A as t}from"./p-ChL8tkhB.js";import"./p-SdntD1xf.js";import"./p-DzFysjCc.js";import"./p-CLHwhyvu.js";import"./p-vTsHmSQQ.js";import"./p--B09FkmB.js";import"./p-BlJnA265.js";import"./p-7MWRbTXI.js";const n=t();class s{async fetchPayments(t,s,a){return n.get({endpoint:`account/${t}/payments`,params:a,authToken:s})}async fetchPayment(t,s){return n.get({endpoint:`payments/${t}`,authToken:s})}async fetchPaymentTransactions(t,s,a){return n.get({endpoint:`payments/${t}/payment_balance_transactions`,params:a,authToken:s})}}export{s as P}
@@ -1 +1 @@
1
- import{h as t}from"./p-D6FDxSyt.js";import{a}from"./p-CpTwq2jw.js";import{M as e}from"./p-CgxzrbM_.js";import{P as o,Q as s}from"./p-BrLVc_85.js";const p="created_at,amount,status,payments_total,refunds_total,fees_total,other_total,csv",r={created_at:()=>t("th",{part:o,scope:"col",title:"The date the payout was deposited"},"Created"),sub_account_name:()=>t("th",{part:o,scope:"col",title:"The sub account associated with the payout"},"Sub Account"),payments_total:()=>t("th",{part:o,scope:"col",title:"The total payments amount associated with the payout"},"Payments"),refunds_total:()=>t("th",{part:o,scope:"col",title:"The total refunds amount associated with the payout"},"Refunds"),fees_total:()=>t("th",{part:o,scope:"col",title:"The total fees amount associated with the payout"},"Fees"),other_total:()=>t("th",{part:o,scope:"col",title:"The total other amount"},"Other"),amount:()=>t("th",{part:o,scope:"col",title:"The total amount of the payout"},"Amount"),status:()=>t("th",{part:o,scope:"col",title:"The real-time status of each payout"},"Status"),csv:()=>t("th",{part:o,scope:"col",title:"Export CSV"})},c=o=>({created_at:(e,o)=>t("td",{part:s(o)},t("div",{class:"fw-bold"},a(e.created_at,{showDisplayDate:!0}))),sub_account_name:(a,e)=>t("td",{part:s(e)},a.sub_account_name),payments_total:(a,e)=>t("td",{part:s(e)},a.formattedPaymentAmount(a.payments_total)),refunds_total:(a,e)=>t("td",{part:s(e)},a.formattedPaymentAmount(a.refunds_total)),fees_total:(a,e)=>t("td",{part:s(e)},a.formattedPaymentAmount(a.fees_total)),other_total:(a,e)=>t("td",{part:s(e)},a.formattedPaymentAmount(a.other_total)),amount:(a,e)=>t("td",{part:s(e)},a.formattedPaymentAmount(a.amount)),status:(a,o)=>t("td",{part:s(o)},e(a.status)),csv:(a,e)=>t("td",{part:s(e)},t("a",{href:"#",onClick:t=>{t.preventDefault(),o(a.id)}},"CSV"))});export{c as a,p as d,r as p}
1
+ import{h as t}from"./p-DeiW2BDb.js";import{a}from"./p-BnE7qgLh.js";import{M as e}from"./p-C1uPQOvi.js";import{P as o,Q as s}from"./p-BrLVc_85.js";const p="created_at,amount,status,payments_total,refunds_total,fees_total,other_total,csv",r={created_at:()=>t("th",{part:o,scope:"col",title:"The date the payout was deposited"},"Created"),sub_account_name:()=>t("th",{part:o,scope:"col",title:"The sub account associated with the payout"},"Sub Account"),payments_total:()=>t("th",{part:o,scope:"col",title:"The total payments amount associated with the payout"},"Payments"),refunds_total:()=>t("th",{part:o,scope:"col",title:"The total refunds amount associated with the payout"},"Refunds"),fees_total:()=>t("th",{part:o,scope:"col",title:"The total fees amount associated with the payout"},"Fees"),other_total:()=>t("th",{part:o,scope:"col",title:"The total other amount"},"Other"),amount:()=>t("th",{part:o,scope:"col",title:"The total amount of the payout"},"Amount"),status:()=>t("th",{part:o,scope:"col",title:"The real-time status of each payout"},"Status"),csv:()=>t("th",{part:o,scope:"col",title:"Export CSV"})},c=o=>({created_at:(e,o)=>t("td",{part:s(o)},t("div",{class:"fw-bold"},a(e.created_at,{showDisplayDate:!0}))),sub_account_name:(a,e)=>t("td",{part:s(e)},a.sub_account_name),payments_total:(a,e)=>t("td",{part:s(e)},a.formattedPaymentAmount(a.payments_total)),refunds_total:(a,e)=>t("td",{part:s(e)},a.formattedPaymentAmount(a.refunds_total)),fees_total:(a,e)=>t("td",{part:s(e)},a.formattedPaymentAmount(a.fees_total)),other_total:(a,e)=>t("td",{part:s(e)},a.formattedPaymentAmount(a.other_total)),amount:(a,e)=>t("td",{part:s(e)},a.formattedPaymentAmount(a.amount)),status:(a,o)=>t("td",{part:s(o)},e(a.status)),csv:(a,e)=>t("td",{part:s(e)},t("a",{href:"#",onClick:t=>{t.preventDefault(),o(a.id)}},"CSV"))});export{c as a,p as d,r as p}
@@ -0,0 +1 @@
1
+ import{c as t}from"./p-CgSqi8wc.js";const i={apiOrigin:"https://wc-proxy.justifi.ai",iframeOrigin:"https://components.justifi.ai",accountId:""},s=t((()=>i)),{state:e}=s;let o;const c=new Promise((t=>{o=t})),a=t=>{Object.assign(e,t),o()},n=(t=200)=>new Promise((i=>{const s=setTimeout((()=>{i()}),t);c.then((()=>{clearTimeout(s),i()}))}));export{e as c,a as s,n as w}
@@ -1 +1 @@
1
- import{h as a}from"./p-D6FDxSyt.js";import{A as s,C as l,D as t}from"./p-BrLVc_85.js";const e=l=>a("main",{class:"p-4 d-flex justify-content-center text-center",style:{fontSize:"1.2rem"}},a("p",{part:s},l)),p=s=>a("h2",{part:t,class:"mt-4 fs-5 border-bottom pb-3"},s.sectionTitle),r=({title:l,value:t})=>l&&t?a("div",{class:"d-table-row gap-2"},a("span",{class:"fw-bold d-table-cell px-2",part:s},l),a("span",{class:"flex-1 d-table-cell px-2 text-wrap",part:s},t)):null,c=({title:l,value:e,classes:p})=>a("div",{class:`d-flex flex-column ${p}`},a("span",{class:"fw-bold border-1 border-bottom ps-2 pe-2",part:t},l),a("span",{class:"pt-2 ps-2 pe-2",part:s},e)),o=({title:t,slot:e,badge:p},r)=>a("div",{slot:e,class:"p-2"},a("div",{class:"d-flex flex-row align-items-center gap-2 mb-2"},a("h1",{class:"m-0",part:l},t),p),a("div",{class:"d-flex flex-row align-items-top",part:s},r)),d=({metadata:s})=>s&&Object.keys(s).length?a("div",{class:"mt-4"},a("pre",{class:"p-2","aria-label":"metadata content"},a("code",null,JSON.stringify(s,null,2)))):null;export{d as C,p as D,e as E,o as a,c as b,r as c}
1
+ import{h as a}from"./p-DeiW2BDb.js";import{A as s,C as l,D as t}from"./p-BrLVc_85.js";const e=l=>a("main",{class:"p-4 d-flex justify-content-center text-center",style:{fontSize:"1.2rem"}},a("p",{part:s},l)),p=s=>a("h2",{part:t,class:"mt-4 fs-5 border-bottom pb-3"},s.sectionTitle),r=({title:l,value:t})=>l&&t?a("div",{class:"d-table-row gap-2"},a("span",{class:"fw-bold d-table-cell px-2",part:s},l),a("span",{class:"flex-1 d-table-cell px-2 text-wrap",part:s},t)):null,c=({title:l,value:e,classes:p})=>a("div",{class:`d-flex flex-column ${p}`},a("span",{class:"fw-bold border-1 border-bottom ps-2 pe-2",part:t},l),a("span",{class:"pt-2 ps-2 pe-2",part:s},e)),o=({title:t,slot:e,badge:p},r)=>a("div",{slot:e,class:"p-2"},a("div",{class:"d-flex flex-row align-items-center gap-2 mb-2"},a("h1",{class:"m-0",part:l},t),p),a("div",{class:"d-flex flex-row align-items-top",part:s},r)),d=({metadata:s})=>s&&Object.keys(s).length?a("div",{class:"mt-4"},a("pre",{class:"p-2","aria-label":"metadata content"},a("code",null,JSON.stringify(s,null,2)))):null;export{d as C,p as D,e as E,o as a,c as b,r as c}
@@ -1 +1 @@
1
- import{f as t}from"./p-CpTwq2jw.js";class i{constructor(t){this.payment_mode=h[t.payment_mode],this.payment_token=t.payment_token,this.payment_status=t.payment_status,this.payment_response=t.payment_response,this.payment_error_code=t.payment_error_code,this.payment_error_description=t.payment_error_description,this.checkout_id=t.checkout_id,this.additional_transactions=t.additional_transactions,this.payment_id=t.payment_id,this.payment_method_id=t.payment_method_id,this.status=t.status,this.created_at=t.created_at,this.updated_at=t.updated_at}}class s{constructor(t){var s;this.id=t.id,this.description=t.description,this.payment_intent_id=t.payment_intent_id,this.account_id=t.account_id,this.platform_account_id=t.platform_account_id,this.payment_amount=t.payment_amount,this.payment_client_id=t.payment_client_id,this.payment_description=t.payment_description,this.payment_methods=t.payment_methods,this.payment_method_group_id=t.payment_method_group_id,this.payment_settings=t.payment_settings,this.bnpl=t.bnpl,this.total_amount=t.total_amount,this.insurance_amount=t.insurance_amount,this.status=e[t.status],this.payment_currency=t.payment_currency,this.mode=t.mode,this.statement_descriptor=t.statement_descriptor,this.application_fees=t.application_fees,this.successful_payment_id=t.successful_payment_id,this.created_at=t.created_at,this.updated_at=t.updated_at,this.completions=null===(s=t.completions)||void 0===s?void 0:s.map((t=>new i(t)))}get payment_mode(){var t,i,s,o,e,n;let d;if(!this.completions||0===this.completions.length)return h.unknown;const r=this.completions.sort(((t,i)=>new Date(i.updated_at).getTime()-new Date(t.updated_at).getTime()))[0];return r.payment_mode?d=r.payment_mode:(null===(s=null===(i=null===(t=r.payment_response)||void 0===t?void 0:t.data)||void 0===i?void 0:i.payment_method)||void 0===s?void 0:s.card)?d=h.card:(null===(n=null===(e=null===(o=r.payment_response)||void 0===o?void 0:o.data)||void 0===e?void 0:e.payment_method)||void 0===n?void 0:n.bank_account)&&(d=h.bank_account),d}formattedPaymentAmount(i){return t(i,this.payment_currency)}}var h,o,e,n;!function(t){t.bnpl="Buy Now Pay Later",t.ecom="E-commerce",t.card="Card",t.bank_account="Bank Account",t.card_present="Card Present",t.unknown=""}(h||(h={})),function(t){t.bnpl="bnpl",t.ecom="ecom"}(o||(o={})),function(t){t.created="created",t.completed="completed",t.attempted="attempted",t.expired="expired"}(e||(e={})),function(t){t.failed="failed",t.succeeded="succeeded"}(n||(n={}));export{s as C,e as I,o as a}
1
+ import{f as t}from"./p-BnE7qgLh.js";class i{constructor(t){this.payment_mode=h[t.payment_mode],this.payment_token=t.payment_token,this.payment_status=t.payment_status,this.payment_response=t.payment_response,this.payment_error_code=t.payment_error_code,this.payment_error_description=t.payment_error_description,this.checkout_id=t.checkout_id,this.additional_transactions=t.additional_transactions,this.payment_id=t.payment_id,this.payment_method_id=t.payment_method_id,this.status=t.status,this.created_at=t.created_at,this.updated_at=t.updated_at}}class s{constructor(t){var s;this.id=t.id,this.description=t.description,this.payment_intent_id=t.payment_intent_id,this.account_id=t.account_id,this.platform_account_id=t.platform_account_id,this.payment_amount=t.payment_amount,this.payment_client_id=t.payment_client_id,this.payment_description=t.payment_description,this.payment_methods=t.payment_methods,this.payment_method_group_id=t.payment_method_group_id,this.payment_settings=t.payment_settings,this.bnpl=t.bnpl,this.total_amount=t.total_amount,this.insurance_amount=t.insurance_amount,this.status=e[t.status],this.payment_currency=t.payment_currency,this.mode=t.mode,this.statement_descriptor=t.statement_descriptor,this.application_fees=t.application_fees,this.successful_payment_id=t.successful_payment_id,this.created_at=t.created_at,this.updated_at=t.updated_at,this.completions=null===(s=t.completions)||void 0===s?void 0:s.map((t=>new i(t)))}get payment_mode(){var t,i,s,o,e,n;let d;if(!this.completions||0===this.completions.length)return h.unknown;const r=this.completions.sort(((t,i)=>new Date(i.updated_at).getTime()-new Date(t.updated_at).getTime()))[0];return r.payment_mode?d=r.payment_mode:(null===(s=null===(i=null===(t=r.payment_response)||void 0===t?void 0:t.data)||void 0===i?void 0:i.payment_method)||void 0===s?void 0:s.card)?d=h.card:(null===(n=null===(e=null===(o=r.payment_response)||void 0===o?void 0:o.data)||void 0===e?void 0:e.payment_method)||void 0===n?void 0:n.bank_account)&&(d=h.bank_account),d}formattedPaymentAmount(i){return t(i,this.payment_currency)}}var h,o,e,n;!function(t){t.bnpl="Buy Now Pay Later",t.ecom="E-commerce",t.card="Card",t.bank_account="Bank Account",t.card_present="Card Present",t.unknown=""}(h||(h={})),function(t){t.bnpl="bnpl",t.ecom="ecom"}(o||(o={})),function(t){t.created="created",t.completed="completed",t.attempted="attempted",t.expired="expired"}(e||(e={})),function(t){t.failed="failed",t.succeeded="succeeded"}(n||(n={}));export{s as C,e as I,o as a}
@@ -1 +1 @@
1
- import{h as e}from"./p-D6FDxSyt.js";import{B as t,a}from"./p-D5XSsLKb.js";const i=i=>e(a,Object.assign({},{succeeded:{variant:t.SUCCESS,title:"This payment was successfully captured",text:"Succeeded"},authorized:{variant:t.PRIMARY,title:"This card payment was authorized, but not captured. It could still succeed or fail.",text:"Authorized"},pending:{variant:t.PRIMARY,title:"This ACH payment was processed, but the funds have not settled. It could still succeed or fail.",text:"Pending"},achFailed:{variant:t.DANGER,title:"The funds couldn't be collected for this ACH payment (in addition to the original payment, an ACH return and fee will appear in a payout)",text:"ACH Failed"},failed:{variant:t.DANGER,title:"This card payment did not go through (it will not appear in a payout)",text:"Failed"},canceled:{variant:t.DANGER,title:"This payment was canceled",text:"Canceled"},disputed:{variant:t.SECONDARY,title:"The account holder disputed this payment. The amount has been returned and a fee assessed.",text:"Disputed"},fully_refunded:{variant:t.SECONDARY,title:"The full amount of this payment has been refunded",text:"Fully Refunded"},partially_refunded:{variant:t.SECONDARY,title:"A portion of this payment has been refunded",text:"Partially Refunded"}}[i]));export{i as M}
1
+ import{h as e}from"./p-DeiW2BDb.js";import{B as t,a}from"./p-Bjf1_zhy.js";const i=i=>e(a,Object.assign({},{succeeded:{variant:t.SUCCESS,title:"This payment was successfully captured",text:"Succeeded"},authorized:{variant:t.PRIMARY,title:"This card payment was authorized, but not captured. It could still succeed or fail.",text:"Authorized"},pending:{variant:t.PRIMARY,title:"This ACH payment was processed, but the funds have not settled. It could still succeed or fail.",text:"Pending"},achFailed:{variant:t.DANGER,title:"The funds couldn't be collected for this ACH payment (in addition to the original payment, an ACH return and fee will appear in a payout)",text:"ACH Failed"},failed:{variant:t.DANGER,title:"This card payment did not go through (it will not appear in a payout)",text:"Failed"},canceled:{variant:t.DANGER,title:"This payment was canceled",text:"Canceled"},disputed:{variant:t.SECONDARY,title:"The account holder disputed this payment. The amount has been returned and a fee assessed.",text:"Disputed"},fully_refunded:{variant:t.SECONDARY,title:"The full amount of this payment has been refunded",text:"Fully Refunded"},partially_refunded:{variant:t.SECONDARY,title:"A portion of this payment has been refunded",text:"Partially Refunded"}}[i]));export{i as M}
@@ -0,0 +1 @@
1
+ import{A as s}from"./p-ChL8tkhB.js";import"./p-SdntD1xf.js";import"./p-DzFysjCc.js";import"./p-CLHwhyvu.js";import"./p-vTsHmSQQ.js";import"./p--B09FkmB.js";import"./p-BlJnA265.js";import"./p-7MWRbTXI.js";const e=s();class t{async fetchDispute(s,t){return e.get({endpoint:`disputes/${s}`,authToken:t})}async updateDisputeResponse(s,t,p){return e.patch({endpoint:`disputes/${s}/response`,body:p,authToken:t})}async submitDisputeResponse(s,t,p){return e.post({endpoint:`disputes/${s}/response`,body:p,authToken:t})}async createDisputeEvidence(s,t,p){return e.put({endpoint:`disputes/${s}/evidence`,body:p,authToken:t})}}export{t as D}
@@ -0,0 +1 @@
1
+ import{a as e}from"./p-DVnVdicA.js";import{S as a}from"./p-BX8GieXu.js";import{b as t,a as s,r,s as n,c as i}from"./p-yH3TC3ZQ.js";const c=e=>""===e?null:e,u=/^\d+$/,l=/P\.?\s?O\.?\s?Box|Postal\sBox/i,o=e().email("Enter valid email").transform(c),m=e().matches(/^\d{10}$/,"Enter valid phone number").transform(c),d=e().min(2,"Name must be at least 2 characters").max(100,"Name must be less than 100 characters").transform(c),b=e().min(2,"Name must be at least 2 characters").max(100,"Name must be less than 100 characters").transform(c),h=e().matches(/^(?:http(s)?:\/\/)?(?:www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)$/,"Enter valid website url").transform(c),v=e().oneOf(t.map((e=>e.value)),"Select business classification").transform(c),p=e().min(2,"Industry must be at least 2 characters").max(50,"Industry must be less than 50 characters").transform(c),E=e().matches(u,"Enter valid tax id, SSN, or EIN").test("not-repeat","Enter valid tax id, SSN, or EIN",(e=>!/^(\d)\1+$/.test(e))).test("not-seq","Enter valid tax id, SSN, or EIN",(e=>"123456789"!==e)).transform(c),N=e().test("not-future","Date of incorporation cannot be in the future",(e=>new Date(e)<=new Date)).transform(c),S=e().min(2,"Name must be at least 2 characters").max(100,"Name must be less than 100 characters").transform(c),y=e().min(2,"Title must be at least 2 characters").max(50,"Title must be less than 50 characters").transform(c),g=a=>e().test("min","Enter a valid date",(e=>new Date(e)>=new Date("1902-01-01"))).test("age",`${a} must be at least 18 years old`,(e=>{const a=new Date(e),t=new Date;return t.setFullYear(t.getFullYear()-18),a<=t})).transform(c),w=e().matches(/^(?!000|666|9\d{2})\d{3}(?!00)\d{2}(?!0000)\d{4}$/,"Enter valid SSN").when("ssn_last4",{is:e=>!e||0===e.length,then:e=>e.required("Enter SSN"),otherwise:e=>e.nullable()}).test("not-repeat","Enter valid SSN",(e=>!/^(\d)\1+$/.test(e))).test("not-seq","Enter valid SSN",(e=>"123456789"!==e)).transform(c),A=e().min(5,"Address must be at least 5 characters").max(100,"Address must be less than 100 characters").test("not-po-box","A PO Box is not a valid address entry",(e=>!l.test(e))).transform(c),x=e().max(100,"Address must be less than 100 characters").test("not-po-box","A PO Box is not a valid address entry",(e=>!l.test(e))).transform(c),$=e().min(2,"City must be at least 2 characters").max(50,"City must be less than 50 characters").transform(c),f=e().oneOf(a.map((e=>e.value)),"Enter a 2-letter state abbreviation, such as CA").transform(c),D=e().matches(/^[0-9]{5}$/,"Enter valid postal code").transform(c),B=e().matches(u,"Enter valid revenue").transform(c),C=e().matches(u,"Enter valid payment volume").transform(c),I=e().oneOf(s.map((e=>e.value)),"Select when service is received").transform(c),_=e().oneOf(r.map((e=>e.value)),"Select recurring payments").transform(c),j=e().when("business_recurring_payments",{is:e=>"Yes"===e,then:e=>e.required("Enter recurring payments percentage"),otherwise:e=>e.nullable()}).transform(c),z=e().oneOf(n.map((e=>e.value)),"Select seasonal business").transform(c),P=e().transform(c),q=e().min(2,"Name must be at least 2 characters").max(50,"Name must be less than 50 characters").transform(c),O=e().min(2,"Name must be at least 2 characters").max(50,"Name must be less than 50 characters").transform(c),T=e().oneOf(i.map((e=>e.value)),"Select account type").transform(c),Z=e().min(4,"Account number must be at least 4 digits").max(17,"Account number must be less than 17 digits").matches(u,"Enter valid account number").test("not-repeat","Enter valid account number",(e=>!/^(\d)\1+$/.test(e))).transform(c),V=e().length(9,"Routing number must be 9 digits").matches(u,"Enter valid routing number").test("not-repeat","Enter valid routing number",(e=>!/^(\d)\1+$/.test(e))).test("valid","Enter valid routing number",(e=>(e=>{if(!e)return!1;const a=Array.from(String(e),Number);return 9===a.length&&0==(3*(a[0]+a[3]+a[6])+7*(a[1]+a[4]+a[7])+(a[2]+a[5]+a[8]))%10})(e))).transform(c);export{Z as A,T as B,O as C,q as D,b as a,v as b,d as c,N as d,o as e,_ as f,I as g,C as h,p as i,B as j,D as k,f as l,$ as m,x as n,P as o,m as p,A as q,j as r,z as s,E as t,w as u,g as v,h as w,y as x,S as y,V as z}
@@ -1 +1 @@
1
- import{h as t}from"./p-D6FDxSyt.js";import{B as e,a as i}from"./p-D5XSsLKb.js";import{P as a,Q as n}from"./p-BrLVc_85.js";import{e as r}from"./p-CpTwq2jw.js";const o="nickname,provider_serial_number,status",s={nickname:()=>t("th",{part:a,scope:"col",title:"The nickname associated with the terminal"},"Nickname"),model_name:()=>t("th",{part:a,scope:"col",title:"The model name of the terminal"},"Model Name"),id:()=>t("th",{part:a,scope:"col",title:"The ID of the terminal"},"ID"),provider:()=>t("th",{part:a,scope:"col",title:"The provider of the terminal"},"Provider"),provider_serial_number:()=>t("th",{part:a,scope:"col",title:"The serial number of the terminal"},"Serial Number"),device_id:()=>t("th",{part:a,scope:"col",title:"The device/provider ID of the terminal"},"Device ID"),sub_account_name:()=>t("th",{part:a,scope:"col",title:"The sub account associated with the terminal"},"Sub Account"),status:()=>t("th",{part:a,scope:"col",title:"The current status of each terminal"},"Status")},c={nickname:(e,i)=>t("td",{part:n(i)},e.nickname),model_name:(e,i)=>t("td",{part:n(i)},e.model_name),id:(e,i)=>t("td",{part:n(i)},e.id),provider:(e,i)=>t("td",{part:n(i)},r(e.provider)),provider_serial_number:(e,i)=>t("td",{part:n(i)},e.provider_serial_number),device_id:(e,i)=>t("td",{part:n(i)},e.provider_id),sub_account_name:(e,i)=>t("td",{part:n(i)},e.sub_account_name),status:(a,r)=>t("td",{part:n(r)},t(i,Object.assign({},{connected:{variant:e.SUCCESS,title:"This terminal is connected",text:"Connected"},disconnected:{variant:e.DANGER,title:"This terminal is disconnected",text:"Disconnected"},unknown:{variant:e.SECONDARY,title:"The status of this terminal is unknown",text:"Unknown"},pending_configuration:{variant:e.WARNING,title:"This terminal is pending configuration",text:"Pending configuration"}}[a.status])))};export{c as a,o as d,s as t}
1
+ import{h as t}from"./p-DeiW2BDb.js";import{B as e,a as i}from"./p-Bjf1_zhy.js";import{P as a,Q as n}from"./p-BrLVc_85.js";import{e as r}from"./p-BnE7qgLh.js";const o="nickname,provider_serial_number,status",c={nickname:()=>t("th",{part:a,scope:"col",title:"The nickname associated with the terminal"},"Nickname"),model_name:()=>t("th",{part:a,scope:"col",title:"The model name of the terminal"},"Model Name"),id:()=>t("th",{part:a,scope:"col",title:"The ID of the terminal"},"ID"),provider:()=>t("th",{part:a,scope:"col",title:"The provider of the terminal"},"Provider"),provider_serial_number:()=>t("th",{part:a,scope:"col",title:"The serial number of the terminal"},"Serial Number"),device_id:()=>t("th",{part:a,scope:"col",title:"The device/provider ID of the terminal"},"Device ID"),sub_account_name:()=>t("th",{part:a,scope:"col",title:"The sub account associated with the terminal"},"Sub Account"),status:()=>t("th",{part:a,scope:"col",title:"The current status of each terminal"},"Status")},s={nickname:(e,i)=>t("td",{part:n(i)},e.nickname),model_name:(e,i)=>t("td",{part:n(i)},e.model_name),id:(e,i)=>t("td",{part:n(i)},e.id),provider:(e,i)=>t("td",{part:n(i)},r(e.provider)),provider_serial_number:(e,i)=>t("td",{part:n(i)},e.provider_serial_number),device_id:(e,i)=>t("td",{part:n(i)},e.provider_id),sub_account_name:(e,i)=>t("td",{part:n(i)},e.sub_account_name),status:(a,r)=>t("td",{part:n(r)},t(i,Object.assign({},{connected:{variant:e.SUCCESS,title:"This terminal is connected",text:"Connected"},disconnected:{variant:e.DANGER,title:"This terminal is disconnected",text:"Disconnected"},unknown:{variant:e.SECONDARY,title:"The status of this terminal is unknown",text:"Unknown"},pending_configuration:{variant:e.WARNING,title:"This terminal is pending configuration",text:"Pending configuration"}}[a.status])))};export{s as a,o as d,c as t}
@@ -1 +1 @@
1
- import{h as t}from"./p-D6FDxSyt.js";import{M as a}from"./p-C0WFYqwq.js";import{a as e}from"./p-CpTwq2jw.js";import{P as p,Q as o}from"./p-BrLVc_85.js";const s="created_at,amount,status,payment_type,description,payers_name,last_four_digits",r={created_at:()=>t("th",{part:p,scope:"col",title:"The date and time each payment was made"},"Date"),amount:()=>t("th",{part:p,scope:"col",title:"The dollar amount of each payment"},"Amount"),status:()=>t("th",{part:p,scope:"col",title:"The current status of each payment"},"Status"),payment_type:()=>t("th",{part:p,scope:"col",title:"The type of each payment"},"Type"),description:()=>t("th",{part:p,scope:"col",title:"The payment description, if you provided one"},"Description"),payers_name:()=>t("th",{part:p,scope:"col",title:"The name associated with the payment method"},"Account Holder"),last_four_digits:()=>t("th",{part:p,scope:"col",title:"The brand and last 4 digits of the payment method"},"Payment Method")},i={created_at:(a,p)=>t("td",{part:o(p)},t("div",{class:"fw-bold"},e(a.created_at,{showDisplayDate:!0})),t("div",{class:"fw-bold"},e(a.created_at,{showTime:!0}))),amount:(a,e)=>t("td",{part:o(e)},a.formattedPaymentAmount(a.amount)),status:(e,p)=>t("td",{part:o(p)},a(e.status)),payment_type:(a,e)=>t("td",{part:o(e)},a.payment_type),description:(a,e)=>t("td",{part:o(e)},a.description),payers_name:(a,e)=>t("td",{part:o(e)},a.payers_name),last_four_digits:(a,e)=>t("td",{part:o(e)},a.last_four_digits)};export{i as a,s as d,r as p}
1
+ import{h as t}from"./p-DeiW2BDb.js";import{M as a}from"./p-EbNktJEa.js";import{a as e}from"./p-BnE7qgLh.js";import{P as p,Q as o}from"./p-BrLVc_85.js";const s="created_at,amount,status,payment_type,description,payers_name,last_four_digits",r={created_at:()=>t("th",{part:p,scope:"col",title:"The date and time each payment was made"},"Date"),amount:()=>t("th",{part:p,scope:"col",title:"The dollar amount of each payment"},"Amount"),status:()=>t("th",{part:p,scope:"col",title:"The current status of each payment"},"Status"),payment_type:()=>t("th",{part:p,scope:"col",title:"The type of each payment"},"Type"),description:()=>t("th",{part:p,scope:"col",title:"The payment description, if you provided one"},"Description"),payers_name:()=>t("th",{part:p,scope:"col",title:"The name associated with the payment method"},"Account Holder"),last_four_digits:()=>t("th",{part:p,scope:"col",title:"The brand and last 4 digits of the payment method"},"Payment Method")},i={created_at:(a,p)=>t("td",{part:o(p)},t("div",{class:"fw-bold"},e(a.created_at,{showDisplayDate:!0})),t("div",{class:"fw-bold"},e(a.created_at,{showTime:!0}))),amount:(a,e)=>t("td",{part:o(e)},a.formattedPaymentAmount(a.amount)),status:(e,p)=>t("td",{part:o(p)},a(e.status)),payment_type:(a,e)=>t("td",{part:o(e)},a.payment_type),description:(a,e)=>t("td",{part:o(e)},a.description),payers_name:(a,e)=>t("td",{part:o(e)},a.payers_name),last_four_digits:(a,e)=>t("td",{part:o(e)},a.last_four_digits)};export{i as a,s as d,r as p}
@@ -0,0 +1 @@
1
+ import{h as s}from"./p-DeiW2BDb.js";import{D as a}from"./p-BrLVc_85.js";import{c as t}from"./p-CgSqi8wc.js";const r=t=>s("h2",{class:`header-2 ${null==t?void 0:t.class}`,part:a},t.text),o=t({}),{state:e,on:i}=o,p=t({}),{state:l}=p,c=()=>{let s=!0;return Object.keys(e).forEach((a=>{null===e[a]?(l[a]=!0,s=!1):l[a]=!1})),{isValid:s}};export{r as H,e as a,l as b,i,c as v}
@@ -0,0 +1 @@
1
+ import{r as t,c as s,h as i}from"./p-DeiW2BDb.js";import{P as r}from"./p-DQCcSXwL.js";import{m as p}from"./p-hG0Fy7E9.js";import{E as e}from"./p-DyCvl10I.js";import{C as o,a as m}from"./p-SdntD1xf.js";import{c as h,J as a}from"./p-DGg9nHVL.js";import"./p-ChL8tkhB.js";import"./p-Ddc5F_89.js";import"./p-CgSqi8wc.js";import"./p-BnE7qgLh.js";import"./p-BFTU3MAI.js";import"./p-DzFysjCc.js";import"./p-CLHwhyvu.js";import"./p-vTsHmSQQ.js";import"./p-7MWRbTXI.js";import"./p--B09FkmB.js";import"./p-BlJnA265.js";import"./p-Dt-vy9Le.js";import"./p-BX8GieXu.js";import"./p-C5RuuShs.js";import"./p-BrLVc_85.js";import"./p-DCoo9Ds8.js";const n=class{constructor(i){t(this,i),this.errorEvent=s(this,"error-event"),this.errorMessage=null,this.paymentService=new r,this.handleErrorEvent=t=>{this.errorMessage=t.detail.message,this.errorEvent.emit(t.detail)}}componentWillLoad(){h(),this.analytics=new a(this),this.initializeGetPaymentDetails()}disconnectedCallback(){var t;null===(t=this.analytics)||void 0===t||t.cleanup()}propChanged(){this.initializeGetPaymentDetails()}initializeGetPaymentDetails(){this.paymentId&&this.authToken?this.getPaymentDetails=p({id:this.paymentId,authToken:this.authToken,service:new r}):(this.errorMessage="Payment ID and Auth Token are required",this.errorEvent.emit({message:this.errorMessage,errorCode:m.MISSING_PROPS,severity:o.ERROR}))}render(){return this.errorMessage?e(this.errorMessage):i("payment-details-core",{getPaymentDetails:this.getPaymentDetails,"onError-event":this.handleErrorEvent})}static get watchers(){return{paymentId:["propChanged"],authToken:["propChanged"]}}};export{n as justifi_payment_details}
@@ -0,0 +1 @@
1
+ import{r as t,c as s,h as e}from"./p-DeiW2BDb.js";import"./p-Ddc5F_89.js";import"./p-BnE7qgLh.js";import{C as i,a}from"./p-SdntD1xf.js";import"./p-DzFysjCc.js";import{p as r}from"./p-CLHwhyvu.js";import"./p-vTsHmSQQ.js";import"./p--B09FkmB.js";import"./p-BlJnA265.js";import"./p-7MWRbTXI.js";import{T as o,a as h,b as c,c as n,d as p,e as d,f,g as m,h as u,i as b,j as y,k as g,l as j}from"./p-8qo1QTjv.js";import{T as l}from"./p-CZfYo5-1.js";import{p as k,a as C}from"./p-DXhY2Usd.js";import{o as v,g as S}from"./p-D9siq_gL.js";import"./p-CgSqi8wc.js";import"./p-BFTU3MAI.js";import"./p-Dt-vy9Le.js";import"./p-BX8GieXu.js";import"./p-BrLVc_85.js";import"./p-CeSHqD1r.js";import"./p-C1uPQOvi.js";import"./p-Bjf1_zhy.js";const w=class{constructor(e){t(this,e),this.clickEvent=s(this,"click-event"),this.errorEvent=s(this,"error-event"),this.payouts=[],this.subAccounts=[],this.loading=!0,this.paging=r,this.pagingParams={},this.downloadCSV=t=>{this.getPayoutCSV({payoutId:t,onError:()=>{this.errorEvent.emit({errorCode:a.FETCH_ERROR,message:"Failed to download CSV",severity:i.ERROR})}})},this.handleClickPrevious=t=>{this.pagingParams={before_cursor:t},this.clickEvent.emit({name:l.previous})},this.handleClickNext=t=>{this.pagingParams={after_cursor:t},this.clickEvent.emit({name:l.next})},this.rowClickHandler=t=>{const s=t.target.closest("tr"),e=s.dataset.rowEntityId;if(!e)return;if(s.querySelector("a")===t.target)return;const i=this.payouts.find((t=>t.id===e));this.clickEvent.emit({name:l.row,data:i})}}updateOnPropChange(){this.fetchData()}componentWillLoad(){this.payoutsTable=new o(this.payouts,this.columns,k,C(this.downloadCSV)),this.getPayouts&&this.getSubAccounts&&this.fetchData(),v("set",(()=>{this.pagingParams={}})),v("reset",(()=>{this.pagingParams={},this.errorMessage=""}))}fetchData(){this.loading=!0,this.getPayouts({params:this.payoutParams,onSuccess:({payouts:t,pagingInfo:s})=>{this.payouts=t,this.paging=s,this.payoutsTable.collectionData=this.payouts,this.payoutsTable.columnKeys.includes("sub_account_name")?this.fetchSubAccounts():this.loading=!1},onError:({error:t,code:s,severity:e})=>{this.errorMessage=t,this.errorEvent.emit({errorCode:s,message:t,severity:e}),this.loading=!1}})}async fetchSubAccounts(){this.getSubAccounts({params:this.subAccountParams,onSuccess:({subAccounts:t})=>{this.subAccounts=t,this.payouts=this.payouts.map((t=>{var s;return t.sub_account_name=null===(s=this.subAccounts.find((s=>s.id===t.account_id)))||void 0===s?void 0:s.name,t})),this.loading=!1},onError:({error:t,code:s,severity:e})=>{this.errorMessage=t,this.errorEvent.emit({errorCode:s,message:t,severity:e}),this.loading=!1}})}get payoutParams(){const t=S();return Object.assign(Object.assign({},t),this.pagingParams)}get subAccountParams(){let t=this.payouts.map((t=>t.account_id));return{sub_account_id:[...new Set(t)].join(",")}}get entityId(){return this.payouts.map((t=>t.id))}get showEmptyState(){return!this.loading&&!this.errorMessage&&this.payoutsTable.rowData.length<1}get showErrorState(){return!this.loading&&!!this.errorMessage}get showRowData(){return!this.showEmptyState&&!this.showErrorState&&!this.loading}render(){return e(j,{key:"ca41a7df9de30363526239ec286054e16a46293d"},e(h,{key:"15f8f414b2da0adda480da114541ed7533d79ca3"},e(c,{key:"038b27097d57734f80502949628535ab1f8bfded"},e(n,{key:"9f15c37a04d1fa6f5ec49c60bfbee3ae3ddbdfca"},this.payoutsTable.columnData.map((t=>t)))),e(p,{key:"c05f33fc7046606087da1b0693650aa571f8e61f"},e(d,{key:"1c127fa09435af89c2f07226d70438c7ac261cfb",columnSpan:this.payoutsTable.columnKeys.length,isLoading:this.loading}),e(f,{key:"853c86c1d0309155797d9a15433982e4765f941c",isEmpty:this.showEmptyState,columnSpan:this.payoutsTable.columnKeys.length}),e(m,{key:"ac3b422be11179ab00accc348cfbd334393d2745",columnSpan:this.payoutsTable.columnKeys.length,errorMessage:this.errorMessage}),this.showRowData&&this.payoutsTable.rowData.map(((t,s)=>e(u,{"data-test-id":"table-row","data-row-entity-id":this.entityId[s],onClick:this.rowClickHandler},t)))),this.paging&&e(b,{key:"9cd94e14becf8789e3eb21500eb1eb9aafc79c7a"},e(y,{key:"2a8232066a55771805b34bee43af9c0dbdbe5047"},e(g,{key:"4c44e77eab9e1db423ef5bad6fc9137e82b625f3",colSpan:this.payoutsTable.columnData.length},e("pagination-menu",{key:"b25056fffc760aba956a6e40fceb29f995a144be",paging:Object.assign(Object.assign({},this.paging),{handleClickPrevious:this.handleClickPrevious,handleClickNext:this.handleClickNext})}))))))}static get watchers(){return{pagingParams:["updateOnPropChange"],getPayouts:["updateOnPropChange"],getSubAccounts:["updateOnPropChange"]}}};export{w as payouts_list_core}
@@ -1 +1 @@
1
- import{h as t,r as s,c as i}from"./p-D6FDxSyt.js";import{p as e,f as r,r as o,h as a}from"./p-CpTwq2jw.js";import{v as l,a as h,b as n,H as d}from"./p-D0ptm6-3.js";import{A as c,B as p}from"./p-BrLVc_85.js";import{S as v}from"./p-DuYlA4lj.js";import"./p-CZfYo5-1.js";import{S as u}from"./p-U30-0DaA.js";import"./p-BFTU3MAI.js";import"./p-Cd06j2SL.js";const m=()=>t("div",{class:"row gap-3"},t("div",{class:"col-12"},t(u,{width:"35%",height:"30px"})),t("div",{class:"col-12"},t(u,{width:"70%"})),t("div",{class:"col-12"},t(u,{width:"40%"})),t("div",{class:"col-12"},t(u,{width:"40%"})),t("div",{class:"col-12"},t(u,{width:"100%"})),t("div",{class:"col-12"},t(u,{width:"80%"}))),f=class{constructor(t){s(this,t),this.insuranceUpdated=i(this,"insurance-updated"),this.errorEvent=i(this,"error-event"),this.isLoading=!0}async validate(){return l()}componentWillLoad(){this.getQuote&&this.fetchData()}fetchData(){this.isLoading=!0,this.getQuote({payload:{checkout_id:this.checkoutId,policy_type:"season_interruption",primary_identity:{state:this.primaryIdentityState,email:this.primaryIdentityEmailAddress,first_name:this.primaryIdentityFirstName,last_name:this.primaryIdentityLastName,postal_code:this.primaryIdentityPostalCode,country:this.primaryIdentityCountry},policy_attributes:{insurable_amount:this.policyAttributesInsurableAmount,start_date:this.policyAttributesStartDate,end_date:this.policyAttributesEndDate,covered_identity:{first_name:this.coveredIdentityFirstName,last_name:this.coveredIdentityLastName}}},onSuccess:({quote:t})=>{this.quote=t,this.quote.product.description=e(this.quote.product.description,[t=>o(t,"style"),t=>a(t,"a","part",c)]),this.quote.product.legal_disclaimer=e(this.quote.product.legal_disclaimer,[t=>o(t,"style"),t=>a(t,"a","part",c)]),h[t.policy_type]=t.accepted,this.isLoading=!1},onError:({error:t,code:s,severity:i})=>{this.isLoading=!1,this.errorEvent.emit({errorCode:s,message:t,severity:i})}})}onChangeHandler(t,s){this.accepted=s,n[this.quote.policy_type]=!1,this.toggleCoverage({quoteId:this.quote.id,payload:{accepted:this.accepted},onSuccess:()=>{this.insuranceUpdated.emit(),h[this.quote.policy_type]=this.accepted},onError:({error:t,code:s,severity:i})=>{this.errorEvent.emit({errorCode:s,message:t,severity:i})}})}get error(){var t;return n[null===(t=this.quote)||void 0===t?void 0:t.policy_type]}render(){var s,i,e,o;return t(v,null,this.isLoading?t(m,null):t("div",null,t(d,{text:null===(s=this.quote)||void 0===s?void 0:s.product.title,class:"fs-5 fw-bold pb-3"}),t("small",{innerHTML:null===(i=this.quote)||void 0===i?void 0:i.product.description,part:c}),t("form-control-radio",{label:`Accept coverage for ${r(null===(e=this.quote)||void 0===e?void 0:e.total_cents)}`,name:"opt-in",value:"true",checked:"true"===this.accepted,inputHandler:this.onChangeHandler.bind(this),errorText:this.error?" ":void 0}),t("form-control-radio",{label:"Decline coverage",name:"opt-in",value:"false",checked:"false"===this.accepted,inputHandler:this.onChangeHandler.bind(this),errorText:this.error?" ":void 0}),t("div",{class:"invalid-feedback",style:{display:this.error?"block":"none"},part:p},"Please select an option"),t("small",{innerHTML:null===(o=this.quote)||void 0===o?void 0:o.product.legal_disclaimer,part:c})))}};export{f as justifi_season_interruption_insurance_core}
1
+ import{h as t,r as s,c as i}from"./p-DeiW2BDb.js";import{p as e,f as r,r as o,h as a}from"./p-BnE7qgLh.js";import{v as l,a as h,b as n,H as d}from"./p-_5PRoEe6.js";import{A as c,B as p}from"./p-BrLVc_85.js";import{S as v}from"./p-Bl3ch-Ez.js";import"./p-CZfYo5-1.js";import{S as u}from"./p-BpDYt_Ep.js";import"./p-BFTU3MAI.js";import"./p-CgSqi8wc.js";const m=()=>t("div",{class:"row gap-3"},t("div",{class:"col-12"},t(u,{width:"35%",height:"30px"})),t("div",{class:"col-12"},t(u,{width:"70%"})),t("div",{class:"col-12"},t(u,{width:"40%"})),t("div",{class:"col-12"},t(u,{width:"40%"})),t("div",{class:"col-12"},t(u,{width:"100%"})),t("div",{class:"col-12"},t(u,{width:"80%"}))),_=class{constructor(t){s(this,t),this.insuranceUpdated=i(this,"insurance-updated"),this.errorEvent=i(this,"error-event"),this.isLoading=!0}async validate(){return l()}componentWillLoad(){this.getQuote&&this.fetchData()}fetchData(){this.isLoading=!0,this.getQuote({payload:{checkout_id:this.checkoutId,policy_type:"season_interruption",primary_identity:{state:this.primaryIdentityState,email:this.primaryIdentityEmailAddress,first_name:this.primaryIdentityFirstName,last_name:this.primaryIdentityLastName,postal_code:this.primaryIdentityPostalCode,country:this.primaryIdentityCountry},policy_attributes:{insurable_amount:this.policyAttributesInsurableAmount,start_date:this.policyAttributesStartDate,end_date:this.policyAttributesEndDate,covered_identity:{first_name:this.coveredIdentityFirstName,last_name:this.coveredIdentityLastName}}},onSuccess:({quote:t})=>{this.quote=t,this.quote.product.description=e(this.quote.product.description,[t=>o(t,"style"),t=>a(t,"a","part",c)]),this.quote.product.legal_disclaimer=e(this.quote.product.legal_disclaimer,[t=>o(t,"style"),t=>a(t,"a","part",c)]),h[t.policy_type]=t.accepted,this.isLoading=!1},onError:({error:t,code:s,severity:i})=>{this.isLoading=!1,this.errorEvent.emit({errorCode:s,message:t,severity:i})}})}onChangeHandler(t,s){this.accepted=s,n[this.quote.policy_type]=!1,this.toggleCoverage({quoteId:this.quote.id,payload:{accepted:this.accepted},onSuccess:()=>{this.insuranceUpdated.emit(),h[this.quote.policy_type]=this.accepted},onError:({error:t,code:s,severity:i})=>{this.errorEvent.emit({errorCode:s,message:t,severity:i})}})}get error(){var t;return n[null===(t=this.quote)||void 0===t?void 0:t.policy_type]}render(){var s,i,e,o;return t(v,null,this.isLoading?t(m,null):t("div",null,t(d,{text:null===(s=this.quote)||void 0===s?void 0:s.product.title,class:"fs-5 fw-bold pb-3"}),t("small",{innerHTML:null===(i=this.quote)||void 0===i?void 0:i.product.description,part:c}),t("form-control-radio",{label:`Accept coverage for ${r(null===(e=this.quote)||void 0===e?void 0:e.total_cents)}`,name:"opt-in",value:"true",checked:"true"===this.accepted,inputHandler:this.onChangeHandler.bind(this),errorText:this.error?" ":void 0}),t("form-control-radio",{label:"Decline coverage",name:"opt-in",value:"false",checked:"false"===this.accepted,inputHandler:this.onChangeHandler.bind(this),errorText:this.error?" ":void 0}),t("div",{class:"invalid-feedback",style:{display:this.error?"block":"none"},part:p},"Please select an option"),t("small",{innerHTML:null===(o=this.quote)||void 0===o?void 0:o.product.legal_disclaimer,part:c})))}};export{_ as justifi_season_interruption_insurance_core}
@@ -1 +1 @@
1
- import{r as t,c as s,h as e,H as i}from"./p-D6FDxSyt.js";import{Z as a,_ as r,$ as h,a0 as c,a1 as o,l as f}from"./p-BrLVc_85.js";const l=class{constructor(e){t(this,e),this.formControlInput=s(this,"formControlInput"),this.formControlBlur=s(this,"formControlBlur"),this.isFocused=!1,this.handleFormControlInput=t=>{const s=t.target.getAttribute("name");this.inputHandler(s,this.value),this.formControlInput.emit({name:s,value:this.value})}}get part(){return this.errorText?a:this.isFocused&&this.checked?r:this.checked?h:this.isFocused?c:o}render(){return e(i,{key:"c509c9fa1e33816ade27c55f3053cd964f1f1144",class:"form-group d-flex flex-column"},e("div",{key:"7067e770576550bc9627cc57dfff24a7f6f6951c",class:"form-check"},e("input",{key:"9a6d01184eb3be812728dc92ad40d14c1f3e465d",ref:t=>this.radioElement=t,type:"radio",id:`${this.name}-${this.value}`,name:this.name,onFocus:()=>this.isFocused=!0,onBlur:()=>{this.isFocused=!1,this.formControlBlur.emit()},onChange:this.handleFormControlInput,part:this.part,class:this.errorText?"form-check-input is-invalid":"form-check-input",disabled:this.disabled,value:this.value,checked:this.checked}),e("label",{key:"7f54b31c722389a5397e907cc1a400f5da181d21",class:"form-check-label",htmlFor:`${this.name}-${this.value}`,part:f},this.label)),e("form-control-help-text",{key:"1424f36dfba3af3573fa844d86192428afde1082",helpText:this.helpText,name:this.name}),e("form-control-error-text",{key:"4e3d2d14f8f328c8c6278cf474bfc5858c3954f1",errorText:this.errorText,name:this.name}))}};export{l as form_control_radio}
1
+ import{r as t,c as s,h as e,H as i}from"./p-DeiW2BDb.js";import{Z as a,_ as r,$ as h,a0 as c,a1 as o,l as f}from"./p-BrLVc_85.js";const l=class{constructor(e){t(this,e),this.formControlInput=s(this,"formControlInput"),this.formControlBlur=s(this,"formControlBlur"),this.isFocused=!1,this.handleFormControlInput=t=>{const s=t.target.getAttribute("name");this.inputHandler(s,this.value),this.formControlInput.emit({name:s,value:this.value})}}get part(){return this.errorText?a:this.isFocused&&this.checked?r:this.checked?h:this.isFocused?c:o}render(){return e(i,{key:"c509c9fa1e33816ade27c55f3053cd964f1f1144",class:"form-group d-flex flex-column"},e("div",{key:"7067e770576550bc9627cc57dfff24a7f6f6951c",class:"form-check"},e("input",{key:"9a6d01184eb3be812728dc92ad40d14c1f3e465d",ref:t=>this.radioElement=t,type:"radio",id:`${this.name}-${this.value}`,name:this.name,onFocus:()=>this.isFocused=!0,onBlur:()=>{this.isFocused=!1,this.formControlBlur.emit()},onChange:this.handleFormControlInput,part:this.part,class:this.errorText?"form-check-input is-invalid":"form-check-input",disabled:this.disabled,value:this.value,checked:this.checked}),e("label",{key:"7f54b31c722389a5397e907cc1a400f5da181d21",class:"form-check-label",htmlFor:`${this.name}-${this.value}`,part:f},this.label)),e("form-control-help-text",{key:"1424f36dfba3af3573fa844d86192428afde1082",helpText:this.helpText,name:this.name}),e("form-control-error-text",{key:"4e3d2d14f8f328c8c6278cf474bfc5858c3954f1",errorText:this.errorText,name:this.name}))}};export{l as form_control_radio}