@justifi/webcomponents 4.7.1-rc.0 → 4.7.2-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (748) hide show
  1. package/dist/cjs/Api-548eaa62.js +0 -2
  2. package/dist/cjs/Pagination-cae1dcbd.js +0 -2
  3. package/dist/cjs/{Payout-68a99ee3.js → Payout-f8240e9c.js} +49 -3
  4. package/dist/cjs/SubAccount-f47c8522.js +0 -2
  5. package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -4
  6. package/dist/cjs/business-form-schema-fe831c30.js +0 -2
  7. package/dist/cjs/config-a156df17.js +0 -2
  8. package/dist/cjs/form-1e732a9d.js +0 -2
  9. package/dist/cjs/form-control-datepart_2.cjs.entry.js +1 -3
  10. package/dist/cjs/form-control-monetary.cjs.entry.js +0 -2
  11. package/dist/cjs/form-control-number_3.cjs.entry.js +0 -2
  12. package/dist/cjs/helpers-c505d861.js +0 -2
  13. package/dist/cjs/index-5a880722.js +0 -2
  14. package/dist/cjs/index-c5ace247.js +0 -2
  15. package/dist/cjs/index.cjs.js +0 -2
  16. package/dist/cjs/index.esm-91ec051e.js +0 -2
  17. package/dist/cjs/justifi-additional-questions_6.cjs.entry.js +0 -2
  18. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +0 -2
  19. package/dist/cjs/justifi-billing-form_2.cjs.entry.js +0 -2
  20. package/dist/cjs/justifi-business-details.cjs.entry.js +16 -14
  21. package/dist/cjs/justifi-business-form-stepped.cjs.entry.js +7 -3
  22. package/dist/cjs/justifi-business-form.cjs.entry.js +1 -3
  23. package/dist/cjs/justifi-business-list.cjs.entry.js +1 -3
  24. package/dist/cjs/justifi-card-form.cjs.entry.js +0 -2
  25. package/dist/cjs/justifi-details.cjs.entry.js +0 -2
  26. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +22 -12
  27. package/dist/cjs/justifi-payment-balance-transactions.cjs.entry.js +1 -3
  28. package/dist/cjs/justifi-payment-details.cjs.entry.js +20 -13
  29. package/dist/cjs/justifi-payment-form.cjs.entry.js +16 -8
  30. package/dist/cjs/justifi-payment-method-form.cjs.entry.js +4 -4
  31. package/dist/cjs/justifi-payments-list.cjs.entry.js +22 -25
  32. package/dist/cjs/justifi-payout-details.cjs.entry.js +19 -13
  33. package/dist/cjs/justifi-payouts-list.cjs.entry.js +21 -13
  34. package/dist/cjs/justifi-proceeds-list.cjs.entry.js +1 -3
  35. package/dist/cjs/justifi-refund-form.cjs.entry.js +1 -3
  36. package/dist/cjs/justifi-subaccount-details.cjs.entry.js +3 -7
  37. package/dist/cjs/justifi-subaccounts-list.cjs.entry.js +1 -3
  38. package/dist/cjs/justifi-table_2.cjs.entry.js +4 -6
  39. package/dist/cjs/loader.cjs.js +1 -3
  40. package/dist/cjs/select-input_2.cjs.entry.js +0 -2
  41. package/dist/cjs/state-options-83b52cd1.js +0 -2
  42. package/dist/cjs/subaccount-account-details_4.cjs.entry.js +0 -2
  43. package/dist/cjs/subaccount-bank-details.cjs.entry.js +0 -2
  44. package/dist/cjs/subaccount-terms-details.cjs.entry.js +0 -2
  45. package/dist/cjs/utils-13d069be.js +0 -2
  46. package/dist/cjs/utils-4622829d.js +0 -2
  47. package/dist/cjs/webcomponents.cjs.js +1 -3
  48. package/dist/collection/api/Api.js +0 -1
  49. package/dist/collection/api/Business.js +0 -1
  50. package/dist/collection/api/GrossVolume.js +0 -1
  51. package/dist/collection/api/Pagination.js +0 -1
  52. package/dist/collection/api/Payment.js +49 -2
  53. package/dist/collection/api/Payout.js +0 -1
  54. package/dist/collection/api/Proceed.js +0 -1
  55. package/dist/collection/api/SubAccount.js +0 -1
  56. package/dist/collection/api/index.js +0 -1
  57. package/dist/collection/api/mockData/MockOnboardingData.js +0 -1
  58. package/dist/collection/api/mockData/MockPayments.js +21 -22
  59. package/dist/collection/api/mockData/MockSubAccount.js +0 -1
  60. package/dist/collection/api/mockData/mockGrossVolumeReport.js +0 -1
  61. package/dist/collection/api/shared.js +0 -1
  62. package/dist/collection/components/bank-account-form/bank-account-form.js +0 -1
  63. package/dist/collection/components/bank-account-form/bank-account-form.stories.js +8 -1
  64. package/dist/collection/components/bank-account-form/test/bank-account-form.e2e.js +0 -1
  65. package/dist/collection/components/bank-account-form/test/bank-account-form.spec.js +0 -1
  66. package/dist/collection/components/billing-form/billing-form-schema.js +0 -1
  67. package/dist/collection/components/billing-form/billing-form.js +0 -1
  68. package/dist/collection/components/billing-form/billing-form.stories.js +0 -1
  69. package/dist/collection/components/billing-form/state-options.js +0 -1
  70. package/dist/collection/components/billing-form/test/billing-form.spec.js +0 -1
  71. package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +0 -1
  72. package/dist/collection/components/business-details/business-details.js +16 -13
  73. package/dist/collection/components/business-details/business-details.stories.js +0 -1
  74. package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +0 -1
  75. package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +0 -1
  76. package/dist/collection/components/business-details/owner-details/owner-details.js +0 -1
  77. package/dist/collection/components/business-details/representative-details/representative-details.js +2 -3
  78. package/dist/collection/components/business-form/additional-questions/additional-questions.js +0 -1
  79. package/dist/collection/components/business-form/business-address/business-address-form-schema.js +0 -1
  80. package/dist/collection/components/business-form/business-address/business-address-form.js +0 -1
  81. package/dist/collection/components/business-form/business-address/test/business-address.e2e.js +0 -1
  82. package/dist/collection/components/business-form/business-address/test/business-address.spec.js +0 -1
  83. package/dist/collection/components/business-form/business-form-example.js +12 -0
  84. package/dist/collection/components/business-form/business-form-schema.js +0 -1
  85. package/dist/collection/components/business-form/business-form-stepped-example.js +12 -0
  86. package/dist/collection/components/business-form/business-form-stepped.js +24 -1
  87. package/dist/collection/components/business-form/business-form-stepped.stories.js +1 -1
  88. package/dist/collection/components/business-form/business-form.js +0 -1
  89. package/dist/collection/components/business-form/business-form.stories.js +0 -1
  90. package/dist/collection/components/business-form/business-generic-info/business-generic-info.js +0 -1
  91. package/dist/collection/components/business-form/business-owners/business-owners.js +0 -1
  92. package/dist/collection/components/business-form/business-representative/business-representative-schema.js +0 -1
  93. package/dist/collection/components/business-form/business-representative/business-representative.js +0 -1
  94. package/dist/collection/components/business-form/helpers.js +0 -1
  95. package/dist/collection/components/business-form/legal-address-form/legal-address-form-schema.js +0 -1
  96. package/dist/collection/components/business-form/legal-address-form/legal-address-form.js +0 -1
  97. package/dist/collection/components/business-form/test/business-form.spec.js +0 -1
  98. package/dist/collection/components/business-list/business-list.js +0 -1
  99. package/dist/collection/components/business-list/business-list.stories.js +0 -1
  100. package/dist/collection/components/card-form/card-form.js +0 -1
  101. package/dist/collection/components/card-form/card-form.stories.js +8 -1
  102. package/dist/collection/components/card-form/test/card-form.e2e.js +0 -1
  103. package/dist/collection/components/card-form/test/card-form.spec.js +0 -1
  104. package/dist/collection/components/details/details.js +0 -1
  105. package/dist/collection/components/details/utils.js +0 -1
  106. package/dist/collection/components/form/form-control-datepart.js +1 -2
  107. package/dist/collection/components/form/form-control-monetary.js +0 -1
  108. package/dist/collection/components/form/form-control-number-masked.js +0 -1
  109. package/dist/collection/components/form/form-control-number.js +0 -1
  110. package/dist/collection/components/form/form-control-select.js +0 -1
  111. package/dist/collection/components/form/form-control-text.js +0 -1
  112. package/dist/collection/components/form/form.js +0 -1
  113. package/dist/collection/components/gross-payment-chart/chart-utils.js +0 -1
  114. package/dist/collection/components/gross-payment-chart/example.js +12 -0
  115. package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +20 -9
  116. package/dist/collection/components/gross-payment-chart/gross-payment-chart.stories.js +1 -2
  117. package/dist/collection/components/gross-payment-chart/test/gross-payment-chart.spec.js +0 -1
  118. package/dist/collection/components/pagination-menu/pagination-menu.js +0 -1
  119. package/dist/collection/components/payment-balance-transactions/payment-balance-transactions.js +0 -1
  120. package/dist/collection/components/payment-balance-transactions/payment-balance-transactions.stories.js +0 -1
  121. package/dist/collection/components/payment-details/payment-details.js +21 -13
  122. package/dist/collection/components/payment-details/payment-details.stories.js +0 -1
  123. package/dist/collection/components/payment-form/payment-form.js +16 -7
  124. package/dist/collection/components/payment-form/payment-form.stories.js +0 -1
  125. package/dist/collection/components/payment-form/payment-method-selector.js +0 -1
  126. package/dist/collection/components/payment-form/test/payment-form.e2e.js +0 -1
  127. package/dist/collection/components/payment-form/test/payment-form.spec.js +0 -1
  128. package/dist/collection/components/payment-form/tokenize.js +0 -1
  129. package/dist/collection/components/payment-method-form/get-computed-theme.js +0 -1
  130. package/dist/collection/components/payment-method-form/message-event-types.js +0 -1
  131. package/dist/collection/components/payment-method-form/payment-method-form.js +0 -1
  132. package/dist/collection/components/payment-method-form/payment-method-responses.js +0 -1
  133. package/dist/collection/components/payment-method-form/test/payment-method-form.e2e.js +0 -1
  134. package/dist/collection/components/payment-method-form/test/payment-method-form.spec.js +0 -1
  135. package/dist/collection/components/payment-method-form/theme.js +0 -1
  136. package/dist/collection/components/payments-list/payments-list.js +21 -23
  137. package/dist/collection/components/payments-list/payments-list.stories.js +0 -1
  138. package/dist/collection/components/payments-list/test/payments-list.spec.js +0 -1
  139. package/dist/collection/components/payout-details/payout-details.js +19 -12
  140. package/dist/collection/components/payout-details/payout-details.stories.js +0 -1
  141. package/dist/collection/components/payouts-list/payouts-list.js +20 -11
  142. package/dist/collection/components/payouts-list/payouts-list.stories.js +0 -1
  143. package/dist/collection/components/proceeds-list/proceeds-list.js +0 -1
  144. package/dist/collection/components/proceeds-list/proceeds-list.stories.js +0 -1
  145. package/dist/collection/components/refund-form/refund-form-schema.js +0 -1
  146. package/dist/collection/components/refund-form/refund-form.js +0 -1
  147. package/dist/collection/components/refund-form/refund-form.stories.js +0 -1
  148. package/dist/collection/components/select-input/select-input.js +0 -1
  149. package/dist/collection/components/select-input/test/select-input.spec.js +0 -1
  150. package/dist/collection/components/subaccount-details/subaccount-account-details/subaccount-account-details.js +0 -1
  151. package/dist/collection/components/subaccount-details/subaccount-bank-details/subaccount-bank-details.js +0 -1
  152. package/dist/collection/components/subaccount-details/subaccount-details.js +2 -5
  153. package/dist/collection/components/subaccount-details/subaccount-details.stories.js +0 -1
  154. package/dist/collection/components/subaccount-details/subaccount-merchant-details/subaccount-merchant-details.js +0 -1
  155. package/dist/collection/components/subaccount-details/subaccount-owners-details/subaccount-owners-details.js +0 -1
  156. package/dist/collection/components/subaccount-details/subaccount-representative-details/subaccount-representative-details.js +0 -1
  157. package/dist/collection/components/subaccount-details/subaccount-terms-details/subaccount-terms-details.js +0 -1
  158. package/dist/collection/components/subaccount-details/test/subaccount-details.spec.js +0 -1
  159. package/dist/collection/components/subaccounts-list/subaccounts-list.js +0 -1
  160. package/dist/collection/components/subaccounts-list/subaccounts-list.stories.js +0 -1
  161. package/dist/collection/components/subaccounts-list/test/subaccounts-list.e2e.js +0 -1
  162. package/dist/collection/components/subaccounts-list/test/subaccounts-list.spec.js +0 -1
  163. package/dist/collection/components/table/table.css +5 -0
  164. package/dist/collection/components/table/table.js +2 -3
  165. package/dist/collection/components/table/test/table.spec.js +0 -1
  166. package/dist/collection/components/text-input/test/text-input.spec.js +0 -1
  167. package/dist/collection/components/text-input/text-input.js +0 -1
  168. package/dist/collection/index.js +0 -1
  169. package/dist/collection/utils/country-options.js +0 -1
  170. package/dist/collection/utils/phone-masks.js +0 -1
  171. package/dist/collection/utils/utils.js +0 -1
  172. package/dist/components/Api.js +0 -2
  173. package/dist/components/Pagination.js +0 -2
  174. package/dist/components/Payout.js +50 -4
  175. package/dist/components/SubAccount.js +0 -2
  176. package/dist/components/additional-questions-details.js +0 -2
  177. package/dist/components/additional-questions-details2.js +0 -2
  178. package/dist/components/additional-questions.js +0 -2
  179. package/dist/components/billing-form.js +0 -2
  180. package/dist/components/business-address-form.js +0 -2
  181. package/dist/components/business-generic-info.js +0 -2
  182. package/dist/components/business-owners.js +0 -2
  183. package/dist/components/business-representative.js +0 -2
  184. package/dist/components/config.js +0 -2
  185. package/dist/components/details.js +0 -2
  186. package/dist/components/form-control-datepart.js +0 -2
  187. package/dist/components/form-control-datepart2.js +1 -3
  188. package/dist/components/form-control-monetary.js +0 -2
  189. package/dist/components/form-control-monetary2.js +0 -2
  190. package/dist/components/form-control-number-masked.js +0 -2
  191. package/dist/components/form-control-number-masked2.js +0 -2
  192. package/dist/components/form-control-number.js +0 -2
  193. package/dist/components/form-control-number2.js +0 -2
  194. package/dist/components/form-control-select.js +0 -2
  195. package/dist/components/form-control-select2.js +0 -2
  196. package/dist/components/form-control-text.js +0 -2
  197. package/dist/components/form-control-text2.js +0 -2
  198. package/dist/components/form.js +0 -2
  199. package/dist/components/generic-info-details.js +0 -2
  200. package/dist/components/generic-info-details2.js +0 -2
  201. package/dist/components/helpers.js +0 -2
  202. package/dist/components/index.esm.js +0 -2
  203. package/dist/components/index.js +0 -2
  204. package/dist/components/index2.js +0 -2
  205. package/dist/components/justifi-additional-questions.js +0 -2
  206. package/dist/components/justifi-bank-account-form.js +0 -2
  207. package/dist/components/justifi-billing-form.js +0 -2
  208. package/dist/components/justifi-business-address-form.js +0 -2
  209. package/dist/components/justifi-business-details.js +15 -13
  210. package/dist/components/justifi-business-form-stepped.js +7 -2
  211. package/dist/components/justifi-business-form.js +0 -2
  212. package/dist/components/justifi-business-generic-info.js +0 -2
  213. package/dist/components/justifi-business-list.js +0 -2
  214. package/dist/components/justifi-business-owners.js +0 -2
  215. package/dist/components/justifi-business-representative.js +0 -2
  216. package/dist/components/justifi-card-form.js +0 -2
  217. package/dist/components/justifi-details.js +0 -2
  218. package/dist/components/justifi-gross-payment-chart.js +21 -11
  219. package/dist/components/justifi-legal-address-form.js +0 -2
  220. package/dist/components/justifi-payment-balance-transactions.js +0 -2
  221. package/dist/components/justifi-payment-details.js +21 -14
  222. package/dist/components/justifi-payment-form.js +16 -8
  223. package/dist/components/justifi-payment-method-form.js +0 -2
  224. package/dist/components/justifi-payment-method-selector.js +0 -2
  225. package/dist/components/justifi-payments-list.js +22 -25
  226. package/dist/components/justifi-payout-details.js +19 -13
  227. package/dist/components/justifi-payouts-list.js +21 -13
  228. package/dist/components/justifi-proceeds-list.js +0 -2
  229. package/dist/components/justifi-refund-form.js +0 -2
  230. package/dist/components/justifi-subaccount-details.js +2 -6
  231. package/dist/components/justifi-subaccounts-list.js +0 -2
  232. package/dist/components/justifi-table.js +0 -2
  233. package/dist/components/legal-address-details.js +0 -2
  234. package/dist/components/legal-address-details2.js +0 -2
  235. package/dist/components/legal-address-form.js +0 -2
  236. package/dist/components/owner-details.js +0 -2
  237. package/dist/components/owner-details2.js +0 -2
  238. package/dist/components/pagination-menu.js +0 -2
  239. package/dist/components/pagination-menu2.js +1 -3
  240. package/dist/components/payment-method-form.js +4 -4
  241. package/dist/components/payment-method-selector.js +0 -2
  242. package/dist/components/phone-masks.js +0 -2
  243. package/dist/components/representative-details.js +0 -2
  244. package/dist/components/representative-details2.js +2 -4
  245. package/dist/components/select-input.js +0 -2
  246. package/dist/components/select-input2.js +0 -2
  247. package/dist/components/state-options.js +0 -2
  248. package/dist/components/subaccount-account-details.js +0 -2
  249. package/dist/components/subaccount-account-details2.js +0 -2
  250. package/dist/components/subaccount-bank-details.js +0 -2
  251. package/dist/components/subaccount-merchant-details.js +0 -2
  252. package/dist/components/subaccount-merchant-details2.js +0 -2
  253. package/dist/components/subaccount-owners-details.js +0 -2
  254. package/dist/components/subaccount-owners-details2.js +0 -2
  255. package/dist/components/subaccount-representative-details.js +0 -2
  256. package/dist/components/subaccount-representative-details2.js +0 -2
  257. package/dist/components/subaccount-terms-details.js +0 -2
  258. package/dist/components/table.js +3 -5
  259. package/dist/components/text-input.js +0 -2
  260. package/dist/components/text-input2.js +0 -2
  261. package/dist/components/utils.js +0 -2
  262. package/dist/components/utils2.js +0 -2
  263. package/dist/config.js +0 -1
  264. package/dist/esm/Api-c65d3ed8.js +0 -2
  265. package/dist/esm/Pagination-31f770d6.js +0 -2
  266. package/dist/esm/{Payout-fcf16887.js → Payout-586f06a3.js} +50 -4
  267. package/dist/esm/SubAccount-128190e9.js +0 -2
  268. package/dist/esm/additional-questions-details_5.entry.js +2 -4
  269. package/dist/esm/business-form-schema-30a3eadd.js +0 -2
  270. package/dist/esm/config-ceb0f902.js +0 -2
  271. package/dist/esm/form-32cf3d1e.js +0 -2
  272. package/dist/esm/form-control-datepart_2.entry.js +1 -3
  273. package/dist/esm/form-control-monetary.entry.js +0 -2
  274. package/dist/esm/form-control-number_3.entry.js +0 -2
  275. package/dist/esm/helpers-1d5ecdc8.js +0 -2
  276. package/dist/esm/index-5ed53c20.js +0 -2
  277. package/dist/esm/index-7471ed60.js +0 -2
  278. package/dist/esm/index.esm-9397ffa0.js +0 -2
  279. package/dist/esm/index.js +0 -2
  280. package/dist/esm/justifi-additional-questions_6.entry.js +0 -2
  281. package/dist/esm/justifi-bank-account-form.entry.js +0 -2
  282. package/dist/esm/justifi-billing-form_2.entry.js +0 -2
  283. package/dist/esm/justifi-business-details.entry.js +17 -15
  284. package/dist/esm/justifi-business-form-stepped.entry.js +7 -3
  285. package/dist/esm/justifi-business-form.entry.js +1 -3
  286. package/dist/esm/justifi-business-list.entry.js +1 -3
  287. package/dist/esm/justifi-card-form.entry.js +0 -2
  288. package/dist/esm/justifi-details.entry.js +0 -2
  289. package/dist/esm/justifi-gross-payment-chart.entry.js +22 -12
  290. package/dist/esm/justifi-payment-balance-transactions.entry.js +1 -3
  291. package/dist/esm/justifi-payment-details.entry.js +21 -14
  292. package/dist/esm/justifi-payment-form.entry.js +16 -8
  293. package/dist/esm/justifi-payment-method-form.entry.js +4 -4
  294. package/dist/esm/justifi-payments-list.entry.js +22 -25
  295. package/dist/esm/justifi-payout-details.entry.js +20 -14
  296. package/dist/esm/justifi-payouts-list.entry.js +21 -13
  297. package/dist/esm/justifi-proceeds-list.entry.js +1 -3
  298. package/dist/esm/justifi-refund-form.entry.js +1 -3
  299. package/dist/esm/justifi-subaccount-details.entry.js +4 -8
  300. package/dist/esm/justifi-subaccounts-list.entry.js +1 -3
  301. package/dist/esm/justifi-table_2.entry.js +4 -6
  302. package/dist/esm/loader.js +1 -3
  303. package/dist/esm/select-input_2.entry.js +0 -2
  304. package/dist/esm/state-options-ece00aa2.js +0 -2
  305. package/dist/esm/subaccount-account-details_4.entry.js +0 -2
  306. package/dist/esm/subaccount-bank-details.entry.js +0 -2
  307. package/dist/esm/subaccount-terms-details.entry.js +0 -2
  308. package/dist/esm/utils-40b7002c.js +0 -2
  309. package/dist/esm/utils-6352c002.js +0 -2
  310. package/dist/esm/webcomponents.js +1 -3
  311. package/dist/types/api/Payment.d.ts +32 -5
  312. package/dist/types/api/Payout.d.ts +2 -2
  313. package/dist/types/components/bank-account-form/bank-account-form.stories.d.ts +1 -0
  314. package/dist/types/components/business-details/business-details.d.ts +0 -1
  315. package/dist/types/components/business-form/business-form-stepped.d.ts +1 -0
  316. package/dist/types/components/card-form/card-form.stories.d.ts +1 -0
  317. package/dist/types/components/payment-method-form/payment-method-responses.d.ts +7 -1
  318. package/dist/types/components/payments-list/payments-list.d.ts +1 -3
  319. package/dist/types/components.d.ts +2 -0
  320. package/dist/webcomponents/index.esm.js +0 -2
  321. package/dist/webcomponents/p-0ce6fba2.entry.js +1 -0
  322. package/dist/webcomponents/p-0d5d02d7.js +1 -2
  323. package/dist/webcomponents/p-14f7229e.entry.js +1 -0
  324. package/dist/webcomponents/{p-3d82c8a3.entry.js → p-2140e9ba.entry.js} +1 -2
  325. package/dist/webcomponents/p-2c2cde2d.js +1 -2
  326. package/dist/webcomponents/p-311250e2.entry.js +1 -0
  327. package/dist/webcomponents/p-3501b0e8.entry.js +1 -0
  328. package/dist/webcomponents/p-3ee831ac.entry.js +1 -0
  329. package/dist/webcomponents/p-3fd6ff27.entry.js +1 -0
  330. package/dist/webcomponents/p-4214dbb8.entry.js +1 -0
  331. package/dist/webcomponents/p-46d5f717.entry.js +1 -0
  332. package/dist/webcomponents/p-47bc59b5.js +1 -2
  333. package/dist/webcomponents/p-4fb653a8.entry.js +1 -0
  334. package/dist/webcomponents/p-526cb161.js +1 -2
  335. package/dist/webcomponents/p-586c8a4f.entry.js +1 -0
  336. package/dist/webcomponents/p-59860ac8.js +1 -2
  337. package/dist/webcomponents/p-5df52341.entry.js +1 -0
  338. package/dist/webcomponents/p-6444d443.entry.js +1 -0
  339. package/dist/webcomponents/p-6a648652.entry.js +1 -0
  340. package/dist/webcomponents/p-742188d9.entry.js +1 -0
  341. package/dist/webcomponents/p-76dffeec.js +1 -2
  342. package/dist/webcomponents/p-77a8bcea.entry.js +1 -0
  343. package/dist/webcomponents/p-7d58db66.js +1 -2
  344. package/dist/webcomponents/p-8f37e3ee.js +1 -2
  345. package/dist/webcomponents/p-984ff1aa.entry.js +1 -0
  346. package/dist/webcomponents/p-988191bf.js +1 -2
  347. package/dist/webcomponents/p-9b6dcac5.js +1 -2
  348. package/dist/webcomponents/p-9d46e7f1.entry.js +1 -0
  349. package/dist/webcomponents/p-a1ef6b4c.entry.js +1 -0
  350. package/dist/webcomponents/p-ac8ee442.entry.js +1 -0
  351. package/dist/webcomponents/p-af771964.entry.js +1 -0
  352. package/dist/webcomponents/p-b157f6ae.js +1 -2
  353. package/dist/webcomponents/p-bab3fd56.entry.js +1 -0
  354. package/dist/webcomponents/p-bb70152e.entry.js +1 -0
  355. package/dist/webcomponents/p-bc91044c.entry.js +1 -0
  356. package/dist/webcomponents/p-c29c587f.entry.js +1 -0
  357. package/dist/webcomponents/p-cbb60191.js +2 -3
  358. package/dist/webcomponents/p-d0e4eca5.entry.js +1 -0
  359. package/dist/webcomponents/p-d4b66d74.entry.js +1 -0
  360. package/dist/webcomponents/p-d6347f27.entry.js +19 -0
  361. package/dist/webcomponents/p-d6b5793d.js +1 -2
  362. package/dist/webcomponents/{p-b12691c3.entry.js → p-d8d1f417.entry.js} +1 -2
  363. package/dist/webcomponents/p-e12ab547.js +1 -0
  364. package/dist/webcomponents/p-ed8c9b88.entry.js +1 -0
  365. package/dist/webcomponents/webcomponents.esm.js +1 -2
  366. package/package.json +4 -3
  367. package/readme.md +40 -7
  368. package/dist/cjs/Api-548eaa62.js.map +0 -1
  369. package/dist/cjs/Pagination-cae1dcbd.js.map +0 -1
  370. package/dist/cjs/Payout-68a99ee3.js.map +0 -1
  371. package/dist/cjs/SubAccount-f47c8522.js.map +0 -1
  372. package/dist/cjs/additional-questions-details_5.cjs.entry.js.map +0 -1
  373. package/dist/cjs/business-form-schema-fe831c30.js.map +0 -1
  374. package/dist/cjs/config-a156df17.js.map +0 -1
  375. package/dist/cjs/form-1e732a9d.js.map +0 -1
  376. package/dist/cjs/form-control-datepart_2.cjs.entry.js.map +0 -1
  377. package/dist/cjs/form-control-monetary.cjs.entry.js.map +0 -1
  378. package/dist/cjs/form-control-number_3.cjs.entry.js.map +0 -1
  379. package/dist/cjs/helpers-c505d861.js.map +0 -1
  380. package/dist/cjs/index-5a880722.js.map +0 -1
  381. package/dist/cjs/index-c5ace247.js.map +0 -1
  382. package/dist/cjs/index.cjs.js.map +0 -1
  383. package/dist/cjs/index.esm-91ec051e.js.map +0 -1
  384. package/dist/cjs/justifi-additional-questions_6.cjs.entry.js.map +0 -1
  385. package/dist/cjs/justifi-bank-account-form.cjs.entry.js.map +0 -1
  386. package/dist/cjs/justifi-billing-form_2.cjs.entry.js.map +0 -1
  387. package/dist/cjs/justifi-business-details.cjs.entry.js.map +0 -1
  388. package/dist/cjs/justifi-business-form-stepped.cjs.entry.js.map +0 -1
  389. package/dist/cjs/justifi-business-form.cjs.entry.js.map +0 -1
  390. package/dist/cjs/justifi-business-list.cjs.entry.js.map +0 -1
  391. package/dist/cjs/justifi-card-form.cjs.entry.js.map +0 -1
  392. package/dist/cjs/justifi-details.cjs.entry.js.map +0 -1
  393. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js.map +0 -1
  394. package/dist/cjs/justifi-payment-balance-transactions.cjs.entry.js.map +0 -1
  395. package/dist/cjs/justifi-payment-details.cjs.entry.js.map +0 -1
  396. package/dist/cjs/justifi-payment-form.cjs.entry.js.map +0 -1
  397. package/dist/cjs/justifi-payment-method-form.cjs.entry.js.map +0 -1
  398. package/dist/cjs/justifi-payments-list.cjs.entry.js.map +0 -1
  399. package/dist/cjs/justifi-payout-details.cjs.entry.js.map +0 -1
  400. package/dist/cjs/justifi-payouts-list.cjs.entry.js.map +0 -1
  401. package/dist/cjs/justifi-proceeds-list.cjs.entry.js.map +0 -1
  402. package/dist/cjs/justifi-refund-form.cjs.entry.js.map +0 -1
  403. package/dist/cjs/justifi-subaccount-details.cjs.entry.js.map +0 -1
  404. package/dist/cjs/justifi-subaccounts-list.cjs.entry.js.map +0 -1
  405. package/dist/cjs/justifi-table_2.cjs.entry.js.map +0 -1
  406. package/dist/cjs/loader.cjs.js.map +0 -1
  407. package/dist/cjs/select-input_2.cjs.entry.js.map +0 -1
  408. package/dist/cjs/state-options-83b52cd1.js.map +0 -1
  409. package/dist/cjs/subaccount-account-details_4.cjs.entry.js.map +0 -1
  410. package/dist/cjs/subaccount-bank-details.cjs.entry.js.map +0 -1
  411. package/dist/cjs/subaccount-terms-details.cjs.entry.js.map +0 -1
  412. package/dist/cjs/utils-13d069be.js.map +0 -1
  413. package/dist/cjs/utils-4622829d.js.map +0 -1
  414. package/dist/cjs/webcomponents.cjs.js.map +0 -1
  415. package/dist/collection/api/Api.js.map +0 -1
  416. package/dist/collection/api/Business.js.map +0 -1
  417. package/dist/collection/api/GrossVolume.js.map +0 -1
  418. package/dist/collection/api/Pagination.js.map +0 -1
  419. package/dist/collection/api/Payment.js.map +0 -1
  420. package/dist/collection/api/Payout.js.map +0 -1
  421. package/dist/collection/api/Proceed.js.map +0 -1
  422. package/dist/collection/api/SubAccount.js.map +0 -1
  423. package/dist/collection/api/index.js.map +0 -1
  424. package/dist/collection/api/mockData/MockOnboardingData.js.map +0 -1
  425. package/dist/collection/api/mockData/MockPayments.js.map +0 -1
  426. package/dist/collection/api/mockData/MockSubAccount.js.map +0 -1
  427. package/dist/collection/api/mockData/mockGrossVolumeReport.js.map +0 -1
  428. package/dist/collection/api/shared.js.map +0 -1
  429. package/dist/collection/components/bank-account-form/bank-account-form.js.map +0 -1
  430. package/dist/collection/components/bank-account-form/bank-account-form.stories.js.map +0 -1
  431. package/dist/collection/components/bank-account-form/test/bank-account-form.e2e.js.map +0 -1
  432. package/dist/collection/components/bank-account-form/test/bank-account-form.spec.js.map +0 -1
  433. package/dist/collection/components/billing-form/billing-form-schema.js.map +0 -1
  434. package/dist/collection/components/billing-form/billing-form.js.map +0 -1
  435. package/dist/collection/components/billing-form/billing-form.stories.js.map +0 -1
  436. package/dist/collection/components/billing-form/state-options.js.map +0 -1
  437. package/dist/collection/components/billing-form/test/billing-form.spec.js.map +0 -1
  438. package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js.map +0 -1
  439. package/dist/collection/components/business-details/business-details.js.map +0 -1
  440. package/dist/collection/components/business-details/business-details.stories.js.map +0 -1
  441. package/dist/collection/components/business-details/generic-info-details/generic-info-details.js.map +0 -1
  442. package/dist/collection/components/business-details/legal-address-details/legal-address-details.js.map +0 -1
  443. package/dist/collection/components/business-details/owner-details/owner-details.js.map +0 -1
  444. package/dist/collection/components/business-details/representative-details/representative-details.js.map +0 -1
  445. package/dist/collection/components/business-form/additional-questions/additional-questions.js.map +0 -1
  446. package/dist/collection/components/business-form/business-address/business-address-form-schema.js.map +0 -1
  447. package/dist/collection/components/business-form/business-address/business-address-form.js.map +0 -1
  448. package/dist/collection/components/business-form/business-address/test/business-address.e2e.js.map +0 -1
  449. package/dist/collection/components/business-form/business-address/test/business-address.spec.js.map +0 -1
  450. package/dist/collection/components/business-form/business-form-schema.js.map +0 -1
  451. package/dist/collection/components/business-form/business-form-stepped.js.map +0 -1
  452. package/dist/collection/components/business-form/business-form-stepped.stories.js.map +0 -1
  453. package/dist/collection/components/business-form/business-form.js.map +0 -1
  454. package/dist/collection/components/business-form/business-form.stories.js.map +0 -1
  455. package/dist/collection/components/business-form/business-generic-info/business-generic-info.js.map +0 -1
  456. package/dist/collection/components/business-form/business-owners/business-owners.js.map +0 -1
  457. package/dist/collection/components/business-form/business-representative/business-representative-schema.js.map +0 -1
  458. package/dist/collection/components/business-form/business-representative/business-representative.js.map +0 -1
  459. package/dist/collection/components/business-form/helpers.js.map +0 -1
  460. package/dist/collection/components/business-form/legal-address-form/legal-address-form-schema.js.map +0 -1
  461. package/dist/collection/components/business-form/legal-address-form/legal-address-form.js.map +0 -1
  462. package/dist/collection/components/business-form/test/business-form.spec.js.map +0 -1
  463. package/dist/collection/components/business-list/business-list.js.map +0 -1
  464. package/dist/collection/components/business-list/business-list.stories.js.map +0 -1
  465. package/dist/collection/components/card-form/card-form.js.map +0 -1
  466. package/dist/collection/components/card-form/card-form.stories.js.map +0 -1
  467. package/dist/collection/components/card-form/test/card-form.e2e.js.map +0 -1
  468. package/dist/collection/components/card-form/test/card-form.spec.js.map +0 -1
  469. package/dist/collection/components/details/details.js.map +0 -1
  470. package/dist/collection/components/details/utils.js.map +0 -1
  471. package/dist/collection/components/form/form-control-datepart.js.map +0 -1
  472. package/dist/collection/components/form/form-control-monetary.js.map +0 -1
  473. package/dist/collection/components/form/form-control-number-masked.js.map +0 -1
  474. package/dist/collection/components/form/form-control-number.js.map +0 -1
  475. package/dist/collection/components/form/form-control-select.js.map +0 -1
  476. package/dist/collection/components/form/form-control-text.js.map +0 -1
  477. package/dist/collection/components/form/form.js.map +0 -1
  478. package/dist/collection/components/gross-payment-chart/chart-utils.js.map +0 -1
  479. package/dist/collection/components/gross-payment-chart/gross-payment-chart.js.map +0 -1
  480. package/dist/collection/components/gross-payment-chart/gross-payment-chart.stories.js.map +0 -1
  481. package/dist/collection/components/gross-payment-chart/test/gross-payment-chart.spec.js.map +0 -1
  482. package/dist/collection/components/pagination-menu/pagination-menu.js.map +0 -1
  483. package/dist/collection/components/payment-balance-transactions/payment-balance-transactions.js.map +0 -1
  484. package/dist/collection/components/payment-balance-transactions/payment-balance-transactions.stories.js.map +0 -1
  485. package/dist/collection/components/payment-details/payment-details.js.map +0 -1
  486. package/dist/collection/components/payment-details/payment-details.stories.js.map +0 -1
  487. package/dist/collection/components/payment-form/payment-form.js.map +0 -1
  488. package/dist/collection/components/payment-form/payment-form.stories.js.map +0 -1
  489. package/dist/collection/components/payment-form/payment-method-selector.js.map +0 -1
  490. package/dist/collection/components/payment-form/test/payment-form.e2e.js.map +0 -1
  491. package/dist/collection/components/payment-form/test/payment-form.spec.js.map +0 -1
  492. package/dist/collection/components/payment-form/tokenize.js.map +0 -1
  493. package/dist/collection/components/payment-method-form/get-computed-theme.js.map +0 -1
  494. package/dist/collection/components/payment-method-form/message-event-types.js.map +0 -1
  495. package/dist/collection/components/payment-method-form/payment-method-form.js.map +0 -1
  496. package/dist/collection/components/payment-method-form/payment-method-responses.js.map +0 -1
  497. package/dist/collection/components/payment-method-form/test/payment-method-form.e2e.js.map +0 -1
  498. package/dist/collection/components/payment-method-form/test/payment-method-form.spec.js.map +0 -1
  499. package/dist/collection/components/payment-method-form/theme.js.map +0 -1
  500. package/dist/collection/components/payments-list/payments-list.js.map +0 -1
  501. package/dist/collection/components/payments-list/payments-list.stories.js.map +0 -1
  502. package/dist/collection/components/payments-list/test/payments-list.spec.js.map +0 -1
  503. package/dist/collection/components/payout-details/payout-details.js.map +0 -1
  504. package/dist/collection/components/payout-details/payout-details.stories.js.map +0 -1
  505. package/dist/collection/components/payouts-list/payouts-list.js.map +0 -1
  506. package/dist/collection/components/payouts-list/payouts-list.stories.js.map +0 -1
  507. package/dist/collection/components/proceeds-list/proceeds-list.js.map +0 -1
  508. package/dist/collection/components/proceeds-list/proceeds-list.stories.js.map +0 -1
  509. package/dist/collection/components/refund-form/refund-form-schema.js.map +0 -1
  510. package/dist/collection/components/refund-form/refund-form.js.map +0 -1
  511. package/dist/collection/components/refund-form/refund-form.stories.js.map +0 -1
  512. package/dist/collection/components/select-input/select-input.js.map +0 -1
  513. package/dist/collection/components/select-input/test/select-input.spec.js.map +0 -1
  514. package/dist/collection/components/subaccount-details/subaccount-account-details/subaccount-account-details.js.map +0 -1
  515. package/dist/collection/components/subaccount-details/subaccount-bank-details/subaccount-bank-details.js.map +0 -1
  516. package/dist/collection/components/subaccount-details/subaccount-details.js.map +0 -1
  517. package/dist/collection/components/subaccount-details/subaccount-details.stories.js.map +0 -1
  518. package/dist/collection/components/subaccount-details/subaccount-merchant-details/subaccount-merchant-details.js.map +0 -1
  519. package/dist/collection/components/subaccount-details/subaccount-owners-details/subaccount-owners-details.js.map +0 -1
  520. package/dist/collection/components/subaccount-details/subaccount-representative-details/subaccount-representative-details.js.map +0 -1
  521. package/dist/collection/components/subaccount-details/subaccount-terms-details/subaccount-terms-details.js.map +0 -1
  522. package/dist/collection/components/subaccount-details/test/subaccount-details.spec.js.map +0 -1
  523. package/dist/collection/components/subaccounts-list/subaccounts-list.js.map +0 -1
  524. package/dist/collection/components/subaccounts-list/subaccounts-list.stories.js.map +0 -1
  525. package/dist/collection/components/subaccounts-list/test/subaccounts-list.e2e.js.map +0 -1
  526. package/dist/collection/components/subaccounts-list/test/subaccounts-list.spec.js.map +0 -1
  527. package/dist/collection/components/table/table.js.map +0 -1
  528. package/dist/collection/components/table/test/table.spec.js.map +0 -1
  529. package/dist/collection/components/text-input/test/text-input.spec.js.map +0 -1
  530. package/dist/collection/components/text-input/text-input.js.map +0 -1
  531. package/dist/collection/index.js.map +0 -1
  532. package/dist/collection/utils/country-options.js.map +0 -1
  533. package/dist/collection/utils/phone-masks.js.map +0 -1
  534. package/dist/collection/utils/utils.js.map +0 -1
  535. package/dist/components/Api.js.map +0 -1
  536. package/dist/components/Pagination.js.map +0 -1
  537. package/dist/components/Payout.js.map +0 -1
  538. package/dist/components/SubAccount.js.map +0 -1
  539. package/dist/components/additional-questions-details.js.map +0 -1
  540. package/dist/components/additional-questions-details2.js.map +0 -1
  541. package/dist/components/additional-questions.js.map +0 -1
  542. package/dist/components/billing-form.js.map +0 -1
  543. package/dist/components/business-address-form.js.map +0 -1
  544. package/dist/components/business-generic-info.js.map +0 -1
  545. package/dist/components/business-owners.js.map +0 -1
  546. package/dist/components/business-representative.js.map +0 -1
  547. package/dist/components/config.js.map +0 -1
  548. package/dist/components/details.js.map +0 -1
  549. package/dist/components/form-control-datepart.js.map +0 -1
  550. package/dist/components/form-control-datepart2.js.map +0 -1
  551. package/dist/components/form-control-monetary.js.map +0 -1
  552. package/dist/components/form-control-monetary2.js.map +0 -1
  553. package/dist/components/form-control-number-masked.js.map +0 -1
  554. package/dist/components/form-control-number-masked2.js.map +0 -1
  555. package/dist/components/form-control-number.js.map +0 -1
  556. package/dist/components/form-control-number2.js.map +0 -1
  557. package/dist/components/form-control-select.js.map +0 -1
  558. package/dist/components/form-control-select2.js.map +0 -1
  559. package/dist/components/form-control-text.js.map +0 -1
  560. package/dist/components/form-control-text2.js.map +0 -1
  561. package/dist/components/form.js.map +0 -1
  562. package/dist/components/generic-info-details.js.map +0 -1
  563. package/dist/components/generic-info-details2.js.map +0 -1
  564. package/dist/components/helpers.js.map +0 -1
  565. package/dist/components/index.esm.js.map +0 -1
  566. package/dist/components/index.js.map +0 -1
  567. package/dist/components/index2.js.map +0 -1
  568. package/dist/components/justifi-additional-questions.js.map +0 -1
  569. package/dist/components/justifi-bank-account-form.js.map +0 -1
  570. package/dist/components/justifi-billing-form.js.map +0 -1
  571. package/dist/components/justifi-business-address-form.js.map +0 -1
  572. package/dist/components/justifi-business-details.js.map +0 -1
  573. package/dist/components/justifi-business-form-stepped.js.map +0 -1
  574. package/dist/components/justifi-business-form.js.map +0 -1
  575. package/dist/components/justifi-business-generic-info.js.map +0 -1
  576. package/dist/components/justifi-business-list.js.map +0 -1
  577. package/dist/components/justifi-business-owners.js.map +0 -1
  578. package/dist/components/justifi-business-representative.js.map +0 -1
  579. package/dist/components/justifi-card-form.js.map +0 -1
  580. package/dist/components/justifi-details.js.map +0 -1
  581. package/dist/components/justifi-gross-payment-chart.js.map +0 -1
  582. package/dist/components/justifi-legal-address-form.js.map +0 -1
  583. package/dist/components/justifi-payment-balance-transactions.js.map +0 -1
  584. package/dist/components/justifi-payment-details.js.map +0 -1
  585. package/dist/components/justifi-payment-form.js.map +0 -1
  586. package/dist/components/justifi-payment-method-form.js.map +0 -1
  587. package/dist/components/justifi-payment-method-selector.js.map +0 -1
  588. package/dist/components/justifi-payments-list.js.map +0 -1
  589. package/dist/components/justifi-payout-details.js.map +0 -1
  590. package/dist/components/justifi-payouts-list.js.map +0 -1
  591. package/dist/components/justifi-proceeds-list.js.map +0 -1
  592. package/dist/components/justifi-refund-form.js.map +0 -1
  593. package/dist/components/justifi-subaccount-details.js.map +0 -1
  594. package/dist/components/justifi-subaccounts-list.js.map +0 -1
  595. package/dist/components/justifi-table.js.map +0 -1
  596. package/dist/components/legal-address-details.js.map +0 -1
  597. package/dist/components/legal-address-details2.js.map +0 -1
  598. package/dist/components/legal-address-form.js.map +0 -1
  599. package/dist/components/owner-details.js.map +0 -1
  600. package/dist/components/owner-details2.js.map +0 -1
  601. package/dist/components/pagination-menu.js.map +0 -1
  602. package/dist/components/pagination-menu2.js.map +0 -1
  603. package/dist/components/payment-method-form.js.map +0 -1
  604. package/dist/components/payment-method-selector.js.map +0 -1
  605. package/dist/components/phone-masks.js.map +0 -1
  606. package/dist/components/representative-details.js.map +0 -1
  607. package/dist/components/representative-details2.js.map +0 -1
  608. package/dist/components/select-input.js.map +0 -1
  609. package/dist/components/select-input2.js.map +0 -1
  610. package/dist/components/state-options.js.map +0 -1
  611. package/dist/components/subaccount-account-details.js.map +0 -1
  612. package/dist/components/subaccount-account-details2.js.map +0 -1
  613. package/dist/components/subaccount-bank-details.js.map +0 -1
  614. package/dist/components/subaccount-merchant-details.js.map +0 -1
  615. package/dist/components/subaccount-merchant-details2.js.map +0 -1
  616. package/dist/components/subaccount-owners-details.js.map +0 -1
  617. package/dist/components/subaccount-owners-details2.js.map +0 -1
  618. package/dist/components/subaccount-representative-details.js.map +0 -1
  619. package/dist/components/subaccount-representative-details2.js.map +0 -1
  620. package/dist/components/subaccount-terms-details.js.map +0 -1
  621. package/dist/components/table.js.map +0 -1
  622. package/dist/components/text-input.js.map +0 -1
  623. package/dist/components/text-input2.js.map +0 -1
  624. package/dist/components/utils.js.map +0 -1
  625. package/dist/components/utils2.js.map +0 -1
  626. package/dist/config.js.map +0 -1
  627. package/dist/esm/Api-c65d3ed8.js.map +0 -1
  628. package/dist/esm/Pagination-31f770d6.js.map +0 -1
  629. package/dist/esm/Payout-fcf16887.js.map +0 -1
  630. package/dist/esm/SubAccount-128190e9.js.map +0 -1
  631. package/dist/esm/additional-questions-details_5.entry.js.map +0 -1
  632. package/dist/esm/business-form-schema-30a3eadd.js.map +0 -1
  633. package/dist/esm/config-ceb0f902.js.map +0 -1
  634. package/dist/esm/form-32cf3d1e.js.map +0 -1
  635. package/dist/esm/form-control-datepart_2.entry.js.map +0 -1
  636. package/dist/esm/form-control-monetary.entry.js.map +0 -1
  637. package/dist/esm/form-control-number_3.entry.js.map +0 -1
  638. package/dist/esm/helpers-1d5ecdc8.js.map +0 -1
  639. package/dist/esm/index-5ed53c20.js.map +0 -1
  640. package/dist/esm/index-7471ed60.js.map +0 -1
  641. package/dist/esm/index.esm-9397ffa0.js.map +0 -1
  642. package/dist/esm/index.js.map +0 -1
  643. package/dist/esm/justifi-additional-questions_6.entry.js.map +0 -1
  644. package/dist/esm/justifi-bank-account-form.entry.js.map +0 -1
  645. package/dist/esm/justifi-billing-form_2.entry.js.map +0 -1
  646. package/dist/esm/justifi-business-details.entry.js.map +0 -1
  647. package/dist/esm/justifi-business-form-stepped.entry.js.map +0 -1
  648. package/dist/esm/justifi-business-form.entry.js.map +0 -1
  649. package/dist/esm/justifi-business-list.entry.js.map +0 -1
  650. package/dist/esm/justifi-card-form.entry.js.map +0 -1
  651. package/dist/esm/justifi-details.entry.js.map +0 -1
  652. package/dist/esm/justifi-gross-payment-chart.entry.js.map +0 -1
  653. package/dist/esm/justifi-payment-balance-transactions.entry.js.map +0 -1
  654. package/dist/esm/justifi-payment-details.entry.js.map +0 -1
  655. package/dist/esm/justifi-payment-form.entry.js.map +0 -1
  656. package/dist/esm/justifi-payment-method-form.entry.js.map +0 -1
  657. package/dist/esm/justifi-payments-list.entry.js.map +0 -1
  658. package/dist/esm/justifi-payout-details.entry.js.map +0 -1
  659. package/dist/esm/justifi-payouts-list.entry.js.map +0 -1
  660. package/dist/esm/justifi-proceeds-list.entry.js.map +0 -1
  661. package/dist/esm/justifi-refund-form.entry.js.map +0 -1
  662. package/dist/esm/justifi-subaccount-details.entry.js.map +0 -1
  663. package/dist/esm/justifi-subaccounts-list.entry.js.map +0 -1
  664. package/dist/esm/justifi-table_2.entry.js.map +0 -1
  665. package/dist/esm/loader.js.map +0 -1
  666. package/dist/esm/select-input_2.entry.js.map +0 -1
  667. package/dist/esm/state-options-ece00aa2.js.map +0 -1
  668. package/dist/esm/subaccount-account-details_4.entry.js.map +0 -1
  669. package/dist/esm/subaccount-bank-details.entry.js.map +0 -1
  670. package/dist/esm/subaccount-terms-details.entry.js.map +0 -1
  671. package/dist/esm/utils-40b7002c.js.map +0 -1
  672. package/dist/esm/utils-6352c002.js.map +0 -1
  673. package/dist/esm/webcomponents.js.map +0 -1
  674. package/dist/webcomponents/index.esm.js.map +0 -1
  675. package/dist/webcomponents/p-0d5d02d7.js.map +0 -1
  676. package/dist/webcomponents/p-160c9fbb.entry.js +0 -2
  677. package/dist/webcomponents/p-160c9fbb.entry.js.map +0 -1
  678. package/dist/webcomponents/p-215b4c87.entry.js +0 -2
  679. package/dist/webcomponents/p-215b4c87.entry.js.map +0 -1
  680. package/dist/webcomponents/p-26245f01.entry.js +0 -20
  681. package/dist/webcomponents/p-26245f01.entry.js.map +0 -1
  682. package/dist/webcomponents/p-26dfa274.entry.js +0 -2
  683. package/dist/webcomponents/p-26dfa274.entry.js.map +0 -1
  684. package/dist/webcomponents/p-285a50a6.entry.js +0 -2
  685. package/dist/webcomponents/p-285a50a6.entry.js.map +0 -1
  686. package/dist/webcomponents/p-2c2cde2d.js.map +0 -1
  687. package/dist/webcomponents/p-2cd29187.entry.js +0 -2
  688. package/dist/webcomponents/p-2cd29187.entry.js.map +0 -1
  689. package/dist/webcomponents/p-355eabff.entry.js +0 -2
  690. package/dist/webcomponents/p-355eabff.entry.js.map +0 -1
  691. package/dist/webcomponents/p-356cf20d.entry.js +0 -2
  692. package/dist/webcomponents/p-356cf20d.entry.js.map +0 -1
  693. package/dist/webcomponents/p-378e163d.entry.js +0 -2
  694. package/dist/webcomponents/p-378e163d.entry.js.map +0 -1
  695. package/dist/webcomponents/p-397e0d5a.entry.js +0 -2
  696. package/dist/webcomponents/p-397e0d5a.entry.js.map +0 -1
  697. package/dist/webcomponents/p-3d82c8a3.entry.js.map +0 -1
  698. package/dist/webcomponents/p-47bc59b5.js.map +0 -1
  699. package/dist/webcomponents/p-526cb161.js.map +0 -1
  700. package/dist/webcomponents/p-59860ac8.js.map +0 -1
  701. package/dist/webcomponents/p-5b8f004d.entry.js +0 -2
  702. package/dist/webcomponents/p-5b8f004d.entry.js.map +0 -1
  703. package/dist/webcomponents/p-62872b87.entry.js +0 -2
  704. package/dist/webcomponents/p-62872b87.entry.js.map +0 -1
  705. package/dist/webcomponents/p-635a3b3e.entry.js +0 -2
  706. package/dist/webcomponents/p-635a3b3e.entry.js.map +0 -1
  707. package/dist/webcomponents/p-64af0ae9.entry.js +0 -2
  708. package/dist/webcomponents/p-64af0ae9.entry.js.map +0 -1
  709. package/dist/webcomponents/p-76983a7e.js +0 -2
  710. package/dist/webcomponents/p-76983a7e.js.map +0 -1
  711. package/dist/webcomponents/p-76dffeec.js.map +0 -1
  712. package/dist/webcomponents/p-77e732b2.entry.js +0 -2
  713. package/dist/webcomponents/p-77e732b2.entry.js.map +0 -1
  714. package/dist/webcomponents/p-7d58db66.js.map +0 -1
  715. package/dist/webcomponents/p-88fa33c1.entry.js +0 -2
  716. package/dist/webcomponents/p-88fa33c1.entry.js.map +0 -1
  717. package/dist/webcomponents/p-8f37e3ee.js.map +0 -1
  718. package/dist/webcomponents/p-931989e6.entry.js +0 -2
  719. package/dist/webcomponents/p-931989e6.entry.js.map +0 -1
  720. package/dist/webcomponents/p-96eecdff.entry.js +0 -2
  721. package/dist/webcomponents/p-96eecdff.entry.js.map +0 -1
  722. package/dist/webcomponents/p-988191bf.js.map +0 -1
  723. package/dist/webcomponents/p-9b6dcac5.js.map +0 -1
  724. package/dist/webcomponents/p-9ce9561a.entry.js +0 -2
  725. package/dist/webcomponents/p-9ce9561a.entry.js.map +0 -1
  726. package/dist/webcomponents/p-abc05a34.entry.js +0 -2
  727. package/dist/webcomponents/p-abc05a34.entry.js.map +0 -1
  728. package/dist/webcomponents/p-b12691c3.entry.js.map +0 -1
  729. package/dist/webcomponents/p-b157f6ae.js.map +0 -1
  730. package/dist/webcomponents/p-b98a3f94.entry.js +0 -2
  731. package/dist/webcomponents/p-b98a3f94.entry.js.map +0 -1
  732. package/dist/webcomponents/p-c1ae571b.entry.js +0 -2
  733. package/dist/webcomponents/p-c1ae571b.entry.js.map +0 -1
  734. package/dist/webcomponents/p-c4289027.entry.js +0 -2
  735. package/dist/webcomponents/p-c4289027.entry.js.map +0 -1
  736. package/dist/webcomponents/p-c43e9572.entry.js +0 -2
  737. package/dist/webcomponents/p-c43e9572.entry.js.map +0 -1
  738. package/dist/webcomponents/p-c4c8fb44.entry.js +0 -2
  739. package/dist/webcomponents/p-c4c8fb44.entry.js.map +0 -1
  740. package/dist/webcomponents/p-cbb60191.js.map +0 -1
  741. package/dist/webcomponents/p-d6b5793d.js.map +0 -1
  742. package/dist/webcomponents/p-dbbd2611.entry.js +0 -2
  743. package/dist/webcomponents/p-dbbd2611.entry.js.map +0 -1
  744. package/dist/webcomponents/p-ec1890fc.entry.js +0 -2
  745. package/dist/webcomponents/p-ec1890fc.entry.js.map +0 -1
  746. package/dist/webcomponents/p-f0897468.entry.js +0 -2
  747. package/dist/webcomponents/p-f0897468.entry.js.map +0 -1
  748. package/dist/webcomponents/webcomponents.esm.js.map +0 -1
@@ -4,5 +4,3 @@ const FormControlNumber = NumberInput;
4
4
  const defineCustomElement = defineCustomElement$1;
5
5
 
6
6
  export { FormControlNumber, defineCustomElement };
7
-
8
- //# sourceMappingURL=form-control-number.js.map
@@ -66,5 +66,3 @@ function defineCustomElement() {
66
66
  }
67
67
 
68
68
  export { NumberInput as N, defineCustomElement as d };
69
-
70
- //# sourceMappingURL=form-control-number2.js.map
@@ -4,5 +4,3 @@ const FormControlSelect = SelectInput;
4
4
  const defineCustomElement = defineCustomElement$1;
5
5
 
6
6
  export { FormControlSelect, defineCustomElement };
7
-
8
- //# sourceMappingURL=form-control-select.js.map
@@ -62,5 +62,3 @@ function defineCustomElement() {
62
62
  }
63
63
 
64
64
  export { SelectInput as S, defineCustomElement as d };
65
-
66
- //# sourceMappingURL=form-control-select2.js.map
@@ -4,5 +4,3 @@ const FormControlText = TextInput;
4
4
  const defineCustomElement = defineCustomElement$1;
5
5
 
6
6
  export { FormControlText, defineCustomElement };
7
-
8
- //# sourceMappingURL=form-control-text.js.map
@@ -66,5 +66,3 @@ function defineCustomElement() {
66
66
  }
67
67
 
68
68
  export { TextInput as T, defineCustomElement as d };
69
-
70
- //# sourceMappingURL=form-control-text2.js.map
@@ -725,5 +725,3 @@ class FormController {
725
725
  }
726
726
 
727
727
  export { FormController as F };
728
-
729
- //# sourceMappingURL=form.js.map
@@ -4,5 +4,3 @@ const GenericInfoDetails = GenericInfoDetails$1;
4
4
  const defineCustomElement = defineCustomElement$1;
5
5
 
6
6
  export { GenericInfoDetails, defineCustomElement };
7
-
8
- //# sourceMappingURL=generic-info-details.js.map
@@ -34,5 +34,3 @@ function defineCustomElement() {
34
34
  }
35
35
 
36
36
  export { GenericInfoDetails as G, defineCustomElement as d };
37
-
38
- //# sourceMappingURL=generic-info-details2.js.map
@@ -22,5 +22,3 @@ const parseForPatching = (data) => {
22
22
  };
23
23
 
24
24
  export { parseForPatching as p };
25
-
26
- //# sourceMappingURL=helpers.js.map
@@ -2231,5 +2231,3 @@ class ArraySchema extends Schema {
2231
2231
  create$2.prototype = ArraySchema.prototype;
2232
2232
 
2233
2233
  export { create$6 as a, create$7 as b, create$3 as c, create$2 as d, create$5 as e };
2234
-
2235
- //# sourceMappingURL=index.esm.js.map
@@ -1,3 +1 @@
1
1
  export { getAssetPath, setAssetPath, setNonce, setPlatformOptions } from '@stencil/core/internal/client';
2
-
3
- //# sourceMappingURL=index.js.map
@@ -3227,5 +3227,3 @@ try {
3227
3227
  } catch {}
3228
3228
 
3229
3229
  export { IMask as I };
3230
-
3231
- //# sourceMappingURL=index2.js.map
@@ -4,5 +4,3 @@ const JustifiAdditionalQuestions = AdditionalQuestions;
4
4
  const defineCustomElement = defineCustomElement$1;
5
5
 
6
6
  export { JustifiAdditionalQuestions, defineCustomElement };
7
-
8
- //# sourceMappingURL=justifi-additional-questions.js.map
@@ -93,5 +93,3 @@ const JustifiBankAccountForm = BankAccountForm;
93
93
  const defineCustomElement = defineCustomElement$1;
94
94
 
95
95
  export { JustifiBankAccountForm, defineCustomElement };
96
-
97
- //# sourceMappingURL=justifi-bank-account-form.js.map
@@ -4,5 +4,3 @@ const JustifiBillingForm = BillingForm;
4
4
  const defineCustomElement = defineCustomElement$1;
5
5
 
6
6
  export { JustifiBillingForm, defineCustomElement };
7
-
8
- //# sourceMappingURL=justifi-billing-form.js.map
@@ -4,5 +4,3 @@ const JustifiBusinessAddressForm = BusinessAddressForm;
4
4
  const defineCustomElement = defineCustomElement$1;
5
5
 
6
6
  export { JustifiBusinessAddressForm, defineCustomElement };
7
-
8
- //# sourceMappingURL=justifi-business-address-form.js.map
@@ -29,15 +29,16 @@ const BusinessDetails = /*@__PURE__*/ proxyCustomElement(class BusinessDetails e
29
29
  this.renderState = RENDER_STATES.LOADING;
30
30
  this.errorMessage = 'An error ocurred.';
31
31
  this.fetchBusiness = this.fetchBusiness.bind(this);
32
- this.setError = this.setError.bind(this);
33
32
  }
34
33
  async componentWillLoad() {
35
34
  if (!this.authToken) {
36
- this.setError('Missing auth-token. The form will not be functional without it.');
35
+ this.errorMessage = 'Missing auth-token. The form will not be functional without it.';
36
+ console.error(this.errorMessage);
37
37
  return;
38
38
  }
39
39
  if (!this.businessId) {
40
- this.setError('Missing business-id. The form will not be functional without it.');
40
+ this.errorMessage = 'Missing business-id. The form will not be functional without it.';
41
+ console.error(this.errorMessage);
41
42
  return;
42
43
  }
43
44
  this.api = Api(this.authToken, config.proxyApiOrigin);
@@ -48,27 +49,30 @@ const BusinessDetails = /*@__PURE__*/ proxyCustomElement(class BusinessDetails e
48
49
  try {
49
50
  const response = await this.api.get(`entities/business/${businessId}`);
50
51
  if (response.error) {
51
- this.setError(response.error.message);
52
+ this.errorMessage = `${this.errorMessage}: ${response.error}`;
53
+ console.error(this.errorMessage);
54
+ this.renderState = RENDER_STATES.ERROR;
52
55
  return;
53
56
  }
54
57
  this.business = response.data;
55
58
  this.renderState = RENDER_STATES.READY;
56
59
  }
57
60
  catch (error) {
58
- this.setError(error);
61
+ this.errorMessage = `${this.errorMessage}: ${error}`;
62
+ console.error(this.errorMessage);
63
+ this.renderState = RENDER_STATES.ERROR;
64
+ }
65
+ finally {
66
+ this.renderState = RENDER_STATES.READY;
59
67
  }
60
- }
61
- setError(error) {
62
- this.errorMessage = error || this.errorMessage;
63
- this.renderState = RENDER_STATES.ERROR;
64
68
  }
65
69
  render() {
66
70
  var _a, _b, _c;
67
71
  if (this.renderState === RENDER_STATES.LOADING) {
68
- return LoadingState;
72
+ return h(Host, null, LoadingState);
69
73
  }
70
74
  if (this.renderState === RENDER_STATES.ERROR) {
71
- return ErrorState(this.errorMessage);
75
+ return h(Host, null, ErrorState(this.errorMessage));
72
76
  }
73
77
  return (h(Host, null, h("generic-info-details", { business: this.business }), h("legal-address-details", { legalAddress: (_a = this.business) === null || _a === void 0 ? void 0 : _a.legal_address }), h("representative-details", { representative: (_b = this.business) === null || _b === void 0 ? void 0 : _b.representative }), h("owner-details", { owners: (_c = this.business) === null || _c === void 0 ? void 0 : _c.owners }), h("additional-questions-details", { business: this.business })));
74
78
  }
@@ -123,5 +127,3 @@ const JustifiBusinessDetails = BusinessDetails;
123
127
  const defineCustomElement = defineCustomElement$1;
124
128
 
125
129
  export { JustifiBusinessDetails, defineCustomElement };
126
-
127
- //# sourceMappingURL=justifi-business-details.js.map
@@ -34,6 +34,7 @@ const BusinessFormStepped = /*@__PURE__*/ proxyCustomElement(class BusinessFormS
34
34
  this.authToken = undefined;
35
35
  this.accountId = undefined;
36
36
  this.businessId = undefined;
37
+ this.testMode = false;
37
38
  this.isLoading = false;
38
39
  this.currentStep = 0;
39
40
  this.totalSteps = 4;
@@ -71,6 +72,11 @@ const BusinessFormStepped = /*@__PURE__*/ proxyCustomElement(class BusinessFormS
71
72
  }
72
73
  }
73
74
  async sendData(onSuccess) {
75
+ // Stopgap solution to prevent sending data in storybook examples.
76
+ if (this.testMode) {
77
+ onSuccess();
78
+ return;
79
+ }
74
80
  this.isLoading = true;
75
81
  try {
76
82
  const data = this.formController.values.getValue();
@@ -135,6 +141,7 @@ const BusinessFormStepped = /*@__PURE__*/ proxyCustomElement(class BusinessFormS
135
141
  "authToken": [1, "auth-token"],
136
142
  "accountId": [1, "account-id"],
137
143
  "businessId": [1, "business-id"],
144
+ "testMode": [4, "test-mode"],
138
145
  "isLoading": [32],
139
146
  "currentStep": [32],
140
147
  "totalSteps": [32],
@@ -218,5 +225,3 @@ const JustifiBusinessFormStepped = BusinessFormStepped;
218
225
  const defineCustomElement = defineCustomElement$1;
219
226
 
220
227
  export { JustifiBusinessFormStepped, defineCustomElement };
221
-
222
- //# sourceMappingURL=justifi-business-form-stepped.js.map
@@ -173,5 +173,3 @@ const JustifiBusinessForm = BusinessForm;
173
173
  const defineCustomElement = defineCustomElement$1;
174
174
 
175
175
  export { JustifiBusinessForm, defineCustomElement };
176
-
177
- //# sourceMappingURL=justifi-business-form.js.map
@@ -4,5 +4,3 @@ const JustifiBusinessGenericInfo = BusinessGenericInfo;
4
4
  const defineCustomElement = defineCustomElement$1;
5
5
 
6
6
  export { JustifiBusinessGenericInfo, defineCustomElement };
7
-
8
- //# sourceMappingURL=justifi-business-generic-info.js.map
@@ -190,5 +190,3 @@ const JustifiBusinessList = BusinessList;
190
190
  const defineCustomElement = defineCustomElement$1;
191
191
 
192
192
  export { JustifiBusinessList, defineCustomElement };
193
-
194
- //# sourceMappingURL=justifi-business-list.js.map
@@ -4,5 +4,3 @@ const JustifiBusinessOwners = BusinessOwners;
4
4
  const defineCustomElement = defineCustomElement$1;
5
5
 
6
6
  export { JustifiBusinessOwners, defineCustomElement };
7
-
8
- //# sourceMappingURL=justifi-business-owners.js.map
@@ -4,5 +4,3 @@ const JustifiBusinessRepresentative = BusinessRepresentative;
4
4
  const defineCustomElement = defineCustomElement$1;
5
5
 
6
6
  export { JustifiBusinessRepresentative, defineCustomElement };
7
-
8
- //# sourceMappingURL=justifi-business-representative.js.map
@@ -95,5 +95,3 @@ const JustifiCardForm = CardForm;
95
95
  const defineCustomElement = defineCustomElement$1;
96
96
 
97
97
  export { JustifiCardForm, defineCustomElement };
98
-
99
- //# sourceMappingURL=justifi-card-form.js.map
@@ -4,5 +4,3 @@ const JustifiDetails = Details;
4
4
  const defineCustomElement = defineCustomElement$1;
5
5
 
6
6
  export { JustifiDetails, defineCustomElement };
7
-
8
- //# sourceMappingURL=justifi-details.js.map
@@ -10992,15 +10992,27 @@ const GrossPaymentChart = /*@__PURE__*/ proxyCustomElement(class GrossPaymentCha
10992
10992
  return;
10993
10993
  }
10994
10994
  this.loading = true;
10995
- const api = Api(this.authToken, config.proxyApiOrigin);
10996
- const endpoint = `account/${this.accountId}/reports/gross_volume`;
10997
- const response = await api.get(endpoint);
10998
- if (!response.error) {
10999
- this.total = response === null || response === void 0 ? void 0 : response.data.total;
11000
- this.dates = response === null || response === void 0 ? void 0 : response.data.dates.reverse();
11001
- this.endDate = this.dates[this.dates.length - 1].date;
11002
- }
11003
- this.loading = false;
10995
+ try {
10996
+ const api = Api(this.authToken, config.proxyApiOrigin);
10997
+ const endpoint = `account/${this.accountId}/reports/gross_volume`;
10998
+ const response = await api.get(endpoint);
10999
+ if (!response.error) {
11000
+ this.total = response === null || response === void 0 ? void 0 : response.data.total;
11001
+ this.dates = response === null || response === void 0 ? void 0 : response.data.dates.reverse();
11002
+ this.endDate = this.dates[this.dates.length - 1].date;
11003
+ }
11004
+ else {
11005
+ this.errorMessage = `Error trying to fetch data : ${response.error}`;
11006
+ console.error(this.errorMessage);
11007
+ }
11008
+ }
11009
+ catch (error) {
11010
+ this.errorMessage = `Error trying to fetch data : ${error}`;
11011
+ console.error(this.errorMessage);
11012
+ }
11013
+ finally {
11014
+ this.loading = false;
11015
+ }
11004
11016
  }
11005
11017
  renderChart() {
11006
11018
  if (this.chart) {
@@ -11049,5 +11061,3 @@ const JustifiGrossPaymentChart = GrossPaymentChart;
11049
11061
  const defineCustomElement = defineCustomElement$1;
11050
11062
 
11051
11063
  export { JustifiGrossPaymentChart, defineCustomElement };
11052
-
11053
- //# sourceMappingURL=justifi-gross-payment-chart.js.map
@@ -4,5 +4,3 @@ const JustifiLegalAddressForm = LegalAddressForm;
4
4
  const defineCustomElement = defineCustomElement$1;
5
5
 
6
6
  export { JustifiLegalAddressForm, defineCustomElement };
7
-
8
- //# sourceMappingURL=justifi-legal-address-form.js.map
@@ -120,5 +120,3 @@ const JustifiPaymentBalanceTransactions = PaymentBalanceTransactions;
120
120
  const defineCustomElement = defineCustomElement$1;
121
121
 
122
122
  export { JustifiPaymentBalanceTransactions, defineCustomElement };
123
-
124
- //# sourceMappingURL=justifi-payment-balance-transactions.js.map
@@ -1,8 +1,8 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
  import { A as Api } from './Api.js';
3
3
  import './Pagination.js';
4
- import './Payout.js';
5
- import { M as MapPaymentStatusToBadge, b as formatCurrency, a as formatDate, d as formatTime } from './utils2.js';
4
+ import { a as Payment } from './Payout.js';
5
+ import { M as MapPaymentStatusToBadge, b as formatCurrency, a as formatDate, d as formatTime, s as snakeCaseToHumanReadable } from './utils2.js';
6
6
  import { L as LoadingState, E as ErrorState, b as EntityHeadInfo, c as EntityHeadInfoItem, D as DetailSection, a as DetailItem, C as CodeBlock } from './utils.js';
7
7
  import { c as config } from './config.js';
8
8
  import { d as defineCustomElement$2 } from './details.js';
@@ -27,26 +27,35 @@ const PaymentDetails = /*@__PURE__*/ proxyCustomElement(class PaymentDetails ext
27
27
  this.fetchData();
28
28
  }
29
29
  async fetchData() {
30
- this.errorMessage = '';
31
30
  if (!this.paymentId || !this.authToken) {
32
31
  this.errorMessage = "Can not fetch any data without a PaymentID and an AuthToken";
33
32
  this.loading = false;
34
33
  return;
35
34
  }
36
35
  this.loading = true;
37
- const endpoint = `payments/${this.paymentId}`;
38
- const response = await Api(this.authToken, config.proxyApiOrigin).get(endpoint);
39
- if (!response.error) {
40
- this.payment = response.data;
36
+ try {
37
+ const endpoint = `payments/${this.paymentId}`;
38
+ const response = await Api(this.authToken, config.proxyApiOrigin).get(endpoint);
39
+ if (!response.error) {
40
+ this.payment = new Payment(response.data);
41
+ }
42
+ else {
43
+ const responseError = typeof response.error === 'string' ? response.error : response.error.message;
44
+ this.errorMessage = `Error trying to fetch data : ${responseError}`;
45
+ console.error(this.errorMessage);
46
+ }
41
47
  }
42
- else {
43
- this.errorMessage = typeof response.error === 'string' ? response.error : response.error.message;
48
+ catch (error) {
49
+ this.errorMessage = `Error trying to fetch data : ${error}`;
50
+ console.error(this.errorMessage);
51
+ }
52
+ finally {
53
+ this.loading = false;
44
54
  }
45
- this.loading = false;
46
55
  }
47
56
  render() {
48
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1;
49
- return (h(Host, null, this.loading && LoadingState, !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payment && (h("justifi-details", { "error-message": this.errorMessage }, h(EntityHeadInfo, { slot: "head-info", badge: h("span", { slot: 'badge', innerHTML: MapPaymentStatusToBadge((_a = this.payment) === null || _a === void 0 ? void 0 : _a.status) }), title: `${formatCurrency(this.payment.amount)} ${this.payment.currency.toUpperCase()}` }, h(EntityHeadInfoItem, { classes: "border-1 border-end", title: "Updated At", value: `${formatDate((_b = this.payment) === null || _b === void 0 ? void 0 : _b.updated_at)} ${formatTime((_c = this.payment) === null || _c === void 0 ? void 0 : _c.updated_at)}` }), h(EntityHeadInfoItem, { classes: "border-1 border-end", title: "Created At", value: `${formatDate((_d = this.payment) === null || _d === void 0 ? void 0 : _d.created_at)} ${formatTime((_e = this.payment) === null || _e === void 0 ? void 0 : _e.created_at)}` }), h(EntityHeadInfoItem, { title: "ID", value: (_f = this.payment) === null || _f === void 0 ? void 0 : _f.id })), h("div", { slot: 'detail-sections' }, h(DetailSection, { sectionTitle: "Details" }, h(DetailItem, { title: "Amount", value: formatCurrency((_g = this.payment) === null || _g === void 0 ? void 0 : _g.amount) }), h(DetailItem, { title: "Fees", value: formatCurrency((_h = this.payment) === null || _h === void 0 ? void 0 : _h.fee_amount) }), h(DetailItem, { title: "Refunded", value: formatCurrency((_j = this.payment) === null || _j === void 0 ? void 0 : _j.amount_refunded) }), h(DetailItem, { title: "Net", value: formatCurrency((_k = this.payment) === null || _k === void 0 ? void 0 : _k.balance) }), h(DetailItem, { title: "Status", value: MapPaymentStatusToBadge((_l = this.payment) === null || _l === void 0 ? void 0 : _l.status) }), h(DetailItem, { title: "Payment ID", value: (_m = this.payment) === null || _m === void 0 ? void 0 : _m.id }), h(DetailItem, { title: "Processing Fees", value: formatCurrency((_o = this.payment) === null || _o === void 0 ? void 0 : _o.fee_amount) }), h(DetailItem, { title: "Statement Descriptor", value: (_p = this.payment) === null || _p === void 0 ? void 0 : _p.statement_descriptor }), h(DetailItem, { title: "Description", value: (_q = this.payment) === null || _q === void 0 ? void 0 : _q.description })), ((_r = this.payment) === null || _r === void 0 ? void 0 : _r.payment_method.card) && (h(DetailSection, { sectionTitle: "Payment Method" }, h(DetailItem, { title: "ID", value: (_s = this.payment) === null || _s === void 0 ? void 0 : _s.payment_method.card.id }), h(DetailItem, { title: "Payment Type", value: "Card" }), h(DetailItem, { title: "Last 4 Numbers", value: (_t = this.payment) === null || _t === void 0 ? void 0 : _t.payment_method.card.acct_last_four }), h(DetailItem, { title: "Brand", value: (_u = this.payment) === null || _u === void 0 ? void 0 : _u.payment_method.card.brand }), h(DetailItem, { title: "Cardholder", value: (_v = this.payment) === null || _v === void 0 ? void 0 : _v.payment_method.card.name }))), ((_w = this.payment) === null || _w === void 0 ? void 0 : _w.payment_method.bank_account) && (h(DetailSection, { sectionTitle: "Payment Method" }, h(DetailItem, { title: "ID", value: (_x = this.payment) === null || _x === void 0 ? void 0 : _x.payment_method.bank_account.id }), h(DetailItem, { title: "Last 4 Numbers", value: (_y = this.payment) === null || _y === void 0 ? void 0 : _y.payment_method.bank_account.acct_last_four }), h(DetailItem, { title: "Bank Name", value: (_z = this.payment) === null || _z === void 0 ? void 0 : _z.payment_method.bank_account.bank_name }), h(DetailItem, { title: "Account Owner", value: (_0 = this.payment) === null || _0 === void 0 ? void 0 : _0.payment_method.bank_account.account_owner_name }))), h(DetailSection, { sectionTitle: 'Metadata' }, h(CodeBlock, { metadata: (_1 = this.payment) === null || _1 === void 0 ? void 0 : _1.metadata })))))));
57
+ return (h(Host, null, this.loading && LoadingState, !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
58
+ this.payment && (h("justifi-details", { "error-message": this.errorMessage }, h(EntityHeadInfo, { slot: "head-info", badge: h("span", { slot: 'badge', innerHTML: MapPaymentStatusToBadge(this.payment.status) }), title: `${formatCurrency(this.payment.amount)} ${this.payment.currency.toUpperCase()}` }, h(EntityHeadInfoItem, { classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payment.updated_at)} ${formatTime(this.payment.updated_at)}` }), h(EntityHeadInfoItem, { classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payment.created_at)} ${formatTime(this.payment.created_at)}` }), h(EntityHeadInfoItem, { title: "ID", value: this.payment.id })), h("div", { slot: 'detail-sections' }, h(DetailSection, { sectionTitle: "Details" }, h(DetailItem, { title: "Amount", value: formatCurrency(this.payment.amount) }), h(DetailItem, { title: "Fees", value: formatCurrency(this.payment.fee_amount) }), h(DetailItem, { title: "Refunded", value: formatCurrency(this.payment.amount_refunded) }), h(DetailItem, { title: "Net", value: formatCurrency(this.payment.balance) }), h(DetailItem, { title: "Status", value: MapPaymentStatusToBadge(this.payment.status) }), h(DetailItem, { title: "Payment ID", value: this.payment.id }), h(DetailItem, { title: "Processing Fees", value: formatCurrency(this.payment.fee_amount) }), h(DetailItem, { title: "Statement Descriptor", value: this.payment.statement_descriptor }), h(DetailItem, { title: "Description", value: this.payment.description })), this.payment.payment_method.card && (h(DetailSection, { sectionTitle: "Payment Method" }, h(DetailItem, { title: "ID", value: this.payment.payment_method.card.id }), h(DetailItem, { title: "Payment Type", value: "Card" }), h(DetailItem, { title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { title: "Brand", value: snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), h(DetailItem, { title: "Cardholder", value: this.payment.payment_method.payersName }))), this.payment.payment_method.bank_account && (h(DetailSection, { sectionTitle: "Payment Method" }, h(DetailItem, { title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { title: "Account Owner", value: this.payment.payment_method.payersName }))), h(DetailSection, { sectionTitle: 'Metadata' }, h(CodeBlock, { metadata: this.payment.metadata })))))));
50
59
  }
51
60
  static get watchers() { return {
52
61
  "paymentId": ["updateOnPropChange"],
@@ -83,5 +92,3 @@ const JustifiPaymentDetails = PaymentDetails;
83
92
  const defineCustomElement = defineCustomElement$1;
84
93
 
85
94
  export { JustifiPaymentDetails, defineCustomElement };
86
-
87
- //# sourceMappingURL=justifi-payment-details.js.map
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
2
  import './Pagination.js';
3
- import { a as PaymentMethodTypes } from './Payout.js';
3
+ import { b as PaymentMethodTypes } from './Payout.js';
4
4
  import { e as extractComputedFontsToLoad } from './utils2.js';
5
5
  import { d as defineCustomElement$6 } from './billing-form.js';
6
6
  import { d as defineCustomElement$5 } from './payment-method-form.js';
@@ -76,11 +76,21 @@ const PaymentForm = /*@__PURE__*/ proxyCustomElement(class PaymentForm extends H
76
76
  if (!billingFormValidation.isValid || !paymentMethodFormValidation.isValid)
77
77
  return;
78
78
  this.isLoading = true;
79
- const billingFormFieldValues = await this.billingFormRef.getValues();
80
- const paymentMethodData = Object.assign({ email: this.email }, billingFormFieldValues);
81
- const tokenizeResponse = await this.paymentMethodFormRef.tokenize(this.clientId, paymentMethodData, this.accountId);
82
- this.submitted.emit(tokenizeResponse);
83
- this.isLoading = false;
79
+ try {
80
+ const billingFormFieldValues = await this.billingFormRef.getValues();
81
+ const paymentMethodData = Object.assign({ email: this.email }, billingFormFieldValues);
82
+ const tokenizeResponse = await this.paymentMethodFormRef.tokenize(this.clientId, paymentMethodData, this.accountId);
83
+ if (tokenizeResponse.error) {
84
+ console.error(`An error occured submitting the form: ${tokenizeResponse.error.message}`);
85
+ }
86
+ this.submitted.emit(tokenizeResponse);
87
+ }
88
+ catch (error) {
89
+ console.error(`An error occured submitting the form: ${error}`);
90
+ }
91
+ finally {
92
+ this.isLoading = false;
93
+ }
84
94
  }
85
95
  render() {
86
96
  return (h(Host, null, h("form", { class: "row gy-3" }, this.allowedPaymentMethodTypes.length > 1 && (h("div", { class: "col-12" }, h("justifi-payment-method-selector", { paymentMethodTypes: this.allowedPaymentMethodTypes, selectedPaymentMethodType: this.selectedPaymentMethodType }))), h("div", { class: "col-12" }, h("justifi-payment-method-form", { "payment-method-form-type": this.selectedPaymentMethodType, "iframe-origin": this.iframeOrigin, ref: el => {
@@ -156,5 +166,3 @@ const JustifiPaymentForm = PaymentForm;
156
166
  const defineCustomElement = defineCustomElement$1;
157
167
 
158
168
  export { JustifiPaymentForm, defineCustomElement };
159
-
160
- //# sourceMappingURL=justifi-payment-form.js.map
@@ -4,5 +4,3 @@ const JustifiPaymentMethodForm = PaymentMethodForm;
4
4
  const defineCustomElement = defineCustomElement$1;
5
5
 
6
6
  export { JustifiPaymentMethodForm, defineCustomElement };
7
-
8
- //# sourceMappingURL=justifi-payment-method-form.js.map
@@ -4,5 +4,3 @@ const JustifiPaymentMethodSelector = PaymentMethodSelector;
4
4
  const defineCustomElement = defineCustomElement$1;
5
5
 
6
6
  export { JustifiPaymentMethodSelector, defineCustomElement };
7
-
8
- //# sourceMappingURL=justifi-payment-method-selector.js.map
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
2
  import { A as Api } from './Api.js';
3
3
  import { p as pagingDefaults } from './Pagination.js';
4
- import { b as Payment } from './Payout.js';
4
+ import { a as Payment } from './Payout.js';
5
5
  import { a as formatDate, d as formatTime, b as formatCurrency, M as MapPaymentStatusToBadge } from './utils2.js';
6
6
  import { c as config } from './config.js';
7
7
  import { d as defineCustomElement$3 } from './table.js';
@@ -47,28 +47,27 @@ const PaymentsList = /*@__PURE__*/ proxyCustomElement(class PaymentsList extends
47
47
  return;
48
48
  }
49
49
  this.loading = true;
50
- const api = Api(this.authToken, config.proxyApiOrigin);
51
- const endpoint = `account/${this.accountId}/payments`;
52
- const response = await api.get(endpoint, this.params);
53
- if (!response.error) {
54
- this.paging = Object.assign(Object.assign({}, this.paging), response.page_info);
55
- const data = (_a = response === null || response === void 0 ? void 0 : response.data) === null || _a === void 0 ? void 0 : _a.map(dataItem => new Payment(dataItem));
56
- this.payments = data;
50
+ try {
51
+ const api = Api(this.authToken, config.proxyApiOrigin);
52
+ const endpoint = `account/${this.accountId}/payments`;
53
+ const response = await api.get(endpoint, this.params);
54
+ if (!response.error) {
55
+ this.paging = Object.assign(Object.assign({}, this.paging), response.page_info);
56
+ const data = (_a = response === null || response === void 0 ? void 0 : response.data) === null || _a === void 0 ? void 0 : _a.map(dataItem => new Payment(dataItem));
57
+ this.payments = data;
58
+ }
59
+ else {
60
+ const responseError = typeof response.error === 'string' ? response.error : response.error.message;
61
+ console.error(`Error fetching payments: ${responseError}`);
62
+ this.errorMessage = 'No results';
63
+ }
57
64
  }
58
- else {
59
- this.errorMessage = typeof response.error === 'string' ? response.error : response.error.message;
65
+ catch (error) {
66
+ console.error(`Error fetching payments: ${error.message}`);
67
+ this.errorMessage = 'No results';
60
68
  }
61
- this.loading = false;
62
- }
63
- getPaymentMethod(paymentMethod) {
64
- return paymentMethod.card || paymentMethod.bank_account;
65
- }
66
- getPaymentMethodName(paymentMethod) {
67
- if (paymentMethod.card) {
68
- return paymentMethod.card.name;
69
- }
70
- else {
71
- return paymentMethod.bank_account.account_owner_name;
69
+ finally {
70
+ this.loading = false;
72
71
  }
73
72
  }
74
73
  render() {
@@ -96,8 +95,8 @@ const PaymentsList = /*@__PURE__*/ proxyCustomElement(class PaymentsList extends
96
95
  },
97
96
  formatCurrency(payment.amount),
98
97
  payment.description,
99
- this.getPaymentMethodName(payment.payment_method),
100
- this.getPaymentMethod(payment.payment_method).acct_last_four,
98
+ payment.payment_method.payersName,
99
+ payment.payment_method.lastFourDigits,
101
100
  {
102
101
  type: 'inner',
103
102
  value: MapPaymentStatusToBadge(payment.status)
@@ -148,5 +147,3 @@ const JustifiPaymentsList = PaymentsList;
148
147
  const defineCustomElement = defineCustomElement$1;
149
148
 
150
149
  export { JustifiPaymentsList, defineCustomElement };
151
-
152
- //# sourceMappingURL=justifi-payments-list.js.map
@@ -1,7 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
  import { A as Api } from './Api.js';
3
3
  import './Pagination.js';
4
- import './Payout.js';
4
+ import { c as Payout } from './Payout.js';
5
5
  import { g as MapPayoutStatusToBadge, b as formatCurrency, a as formatDate, d as formatTime } from './utils2.js';
6
6
  import { L as LoadingState, E as ErrorState, b as EntityHeadInfo, c as EntityHeadInfoItem, D as DetailSection, a as DetailItem, C as CodeBlock } from './utils.js';
7
7
  import { c as config } from './config.js';
@@ -34,21 +34,29 @@ const PaymentDetails = /*@__PURE__*/ proxyCustomElement(class PaymentDetails ext
34
34
  return;
35
35
  }
36
36
  this.loading = true;
37
- const endpoint = `payouts/${this.payoutId}`;
38
- const response = await Api(this.authToken, config.proxyApiOrigin).get(endpoint);
39
- if (!response.error) {
40
- this.payout = response.data;
37
+ try {
38
+ const endpoint = `payouts/${this.payoutId}`;
39
+ const response = await Api(this.authToken, config.proxyApiOrigin).get(endpoint);
40
+ if (!response.error) {
41
+ this.payout = new Payout(response.data);
42
+ }
43
+ else {
44
+ const responseError = typeof response.error === 'string' ? response.error : response.error.message;
45
+ this.errorMessage = `Error fetching payout details: ${responseError}`;
46
+ console.error(this.errorMessage);
47
+ }
41
48
  }
42
- else {
43
- this.errorMessage = typeof response.error === 'string' ? response.error : response.error.message;
49
+ catch (error) {
50
+ this.errorMessage = `Error fetching payout details: ${error}`;
51
+ console.error(this.errorMessage);
52
+ }
53
+ finally {
54
+ this.loading = false;
44
55
  }
45
- this.loading = false;
46
56
  }
47
57
  render() {
48
58
  var _a;
49
- return (h(Host, null, this.loading ? LoadingState :
50
- !this.payout ? ErrorState(this.errorMessage) :
51
- h("justifi-details", { "error-message": this.errorMessage }, h(EntityHeadInfo, { slot: "head-info", badge: h("span", { slot: 'badge', innerHTML: MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status) }), title: `${formatCurrency(this.payout.amount)} ${this.payout.currency.toUpperCase()}` }, h(EntityHeadInfoItem, { classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { title: "ID", value: this.payout.id })), h("div", { slot: 'detail-sections' }, h(DetailSection, { sectionTitle: "Details" }, h(DetailItem, { title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { title: "Statement Description", value: this.payout.description }), h(DetailItem, { title: "Payout Method", value: this.payout.delivery_method }), h(DetailItem, { title: "Amount", value: formatCurrency(this.payout.amount) }), h(DetailItem, { title: "Fee", value: formatCurrency(this.payout.fees_total) })), h(DetailSection, { sectionTitle: "Account" }, h(DetailItem, { title: "ID", value: this.payout.account_id }), h(DetailItem, { title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { title: "Account Number", value: this.payout.bank_account.account_number_last4 })), h(DetailSection, { sectionTitle: 'Metadata' }, h(CodeBlock, { metadata: this.payout.metadata }))))));
59
+ return (h(Host, null, this.loading && LoadingState, !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { "error-message": this.errorMessage }, h(EntityHeadInfo, { slot: "head-info", badge: h("span", { slot: 'badge', innerHTML: MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status) }), title: `${formatCurrency(this.payout.amount)} ${this.payout.currency.toUpperCase()}` }, h(EntityHeadInfoItem, { classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { title: "ID", value: this.payout.id })), h("div", { slot: 'detail-sections' }, h(DetailSection, { sectionTitle: "Details" }, h(DetailItem, { title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { title: "Statement Description", value: this.payout.description }), h(DetailItem, { title: "Payout Method", value: this.payout.delivery_method }), h(DetailItem, { title: "Amount", value: formatCurrency(this.payout.amount) }), h(DetailItem, { title: "Fee", value: formatCurrency(this.payout.fees_total) })), h(DetailSection, { sectionTitle: "Account" }, h(DetailItem, { title: "ID", value: this.payout.account_id }), h(DetailItem, { title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { title: "Account Number", value: this.payout.bank_account.account_number_last4 })), h(DetailSection, { sectionTitle: 'Metadata' }, h(CodeBlock, { metadata: this.payout.metadata })))))));
52
60
  }
53
61
  static get watchers() { return {
54
62
  "payoutId": ["updateOnPropChange"],
@@ -85,5 +93,3 @@ const JustifiPayoutDetails = PaymentDetails;
85
93
  const defineCustomElement = defineCustomElement$1;
86
94
 
87
95
  export { JustifiPayoutDetails, defineCustomElement };
88
-
89
- //# sourceMappingURL=justifi-payout-details.js.map