@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
@@ -1 +0,0 @@
1
- {"file":"justifi-business-form-stepped.js","mappings":";;;;;;;;;;;;;;;;;;;;AAAA,MAAM,sBAAsB,GAAG,094HAA094H;;ACOz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EAE5B,IAAI,CAAC,WAAW,KACf,WAAK,KAAK,EAAC,oBAAoB,EAAC,IAAI,EAAC,OAAO,IACzC,IAAI,CAAC,WAAW,CACb,CACP,EAED,YAAM,QAAQ,EAAE,IAAI,CAAC,iBAAiB,IACpC,WAAK,KAAK,EAAC,MAAM,IACd,IAAI,CAAC,oBAAoB,EAAE,CACxB,EACN,WAAK,KAAK,EAAC,mDAAmD,IAC5D,WAAK,KAAK,EAAC,2BAA2B,aAC9B,IAAI,CAAC,WAAW,GAAG,CAAC,UAAM,IAAI,CAAC,UAAU,GAAG,CAAC,CAC/C,EACN,WAAK,KAAK,EAAC,cAAc,IACtB,IAAI,CAAC,sBAAsB,EAAE,KAC5B,cACE,IAAI,EAAC,QAAQ,EACb,KAAK,EAAC,mBAAmB,EACzB,OAAO,EAAE,MAAM,IAAI,CAAC,yBAAyB,EAAE,EAC/C,QAAQ,EAAE,IAAI,CAAC,SAAS,eAEjB,CACV,EACA,IAAI,CAAC,kBAAkB,EAAE,KACxB,cACE,IAAI,EAAC,QAAQ,EACb,KAAK,EAAC,iBAAiB,EACvB,OAAO,EAAE,MAAM,IAAI,CAAC,qBAAqB,EAAE,EAC3C,QAAQ,EAAE,IAAI,CAAC,SAAS,WAEjB,CACV,EACA,IAAI,CAAC,gBAAgB,EAAE,KACtB,cACE,IAAI,EAAC,QAAQ,EACb,KAAK,EAAC,iBAAiB,EACvB,OAAO,EAAE,MAAM,IAAI,CAAC,qBAAqB,EAAE,EAC3C,QAAQ,EAAE,IAAI,CAAC,SAAS,aAEjB,CACV,CACG,CACF,CACD,CACF,EACP;GACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/business-form/business-form-stepped.scss?tag=justifi-business-form-stepped","src/components/business-form/business-form-stepped.tsx"],"sourcesContent":["@import 'reboot';\n@import 'alert';\n@import 'grid';\n@import 'buttons';\n@import 'progress';\n@import 'bootstrap-utilities';\n\n:host {\n @include host-base-styles;\n display: block;\n}\n\n*::part(label) {\n color: var(--jfi-form-label-color);\n font-family: var(--jfi-form-label-font-family);\n font-weight: var(--jfi-form-label-font-weight);\n font-size: var(--jfi-form-label-font-size);\n margin: var(--jfi-form-label-margin);\n}\n\n*::part(input) {\n font-family: var(--jfi-layout-font-family);\n background-color: var(--jfi-form-control-background-color);\n border-color: var(--jfi-form-control-border-color);\n border-width: var(--jfi-form-control-border-width);\n border-bottom-width: var(--jfi-form-control-border-bottom-width);\n border-left-width: var(--jfi-form-control-border-left-width);\n border-right-width: var(--jfi-form-control-border-right-width);\n border-top-width: var(--jfi-form-control-border-top-width);\n border-radius: var(--jfi-form-control-border-radius);\n border-style: var(--jfi-form-control-border-style);\n box-shadow: var(--jfi-form-control-box-shadow);\n color: var(--jfi-form-control-color);\n font-size: var(--jfi-form-control-font-size);\n font-weight: var(--jfi-form-control-font-weight);\n line-height: var(--jfi-form-control-line-height);\n margin: var(--jfi-form-control-margin);\n padding: var(--jfi-form-control-padding);\n\n &:focus {\n color: var(--jfi-form-control-color-focus);\n border-color: var(--jfi-form-control-border-color-focus);\n box-shadow: var(--jfi-form-control-box-shadow-focus);\n }\n}\n\n*::part(input-invalid) {\n border-color: var(--jfi-form-control-border-color-error);\n box-shadow: var(--jfi-form-control-box-shadow-error);\n\n &:focus {\n border-color: var(--jfi-form-control-border-color-error);\n box-shadow: var(--jfi-form-control-box-shadow-error-focus);\n }\n}","import { Component, Host, h, Prop, State } from '@stencil/core';\nimport { FormController } from '../form/form';\nimport businessFormSchema from './business-form-schema';\nimport { Api } from '../../api';\nimport { parseForPatching } from './helpers';\nimport { config } from '../../../config';\n\nconst componentStepMapping = {\n 0: (formController) => <justifi-business-generic-info formController={formController} />,\n 1: (formController) => <justifi-legal-address-form formController={formController} />,\n 2: (formController) => <justifi-additional-questions formController={formController} />,\n 3: (formController) => <justifi-business-representative formController={formController} />,\n 4: (formController) => <justifi-business-owners formController={formController} />\n};\n\n\n/**\n * @exportedPart label: Label for inputs\n * @exportedPart input: The input fields\n * @exportedPart input-invalid: Invalid state for inputfs\n */\n@Component({\n tag: 'justifi-business-form-stepped',\n styleUrl: 'business-form-stepped.scss',\n})\nexport class BusinessFormStepped {\n @Prop() authToken: string;\n @Prop() accountId: string;\n @Prop() businessId?: string;\n @State() isLoading: boolean = false;\n @State() currentStep: number = 0;\n @State() totalSteps: number = 4;\n @State() serverError: string;\n\n private formController: FormController;\n private api: any;\n\n constructor() {\n this.sendData = this.sendData.bind(this);\n this.fetchData = this.fetchData.bind(this);\n }\n\n componentWillLoad() {\n if (!this.authToken) {\n console.warn(\n 'Warning: Missing auth-token. The form will not be functional without it.',\n );\n }\n\n this.formController = new FormController(businessFormSchema);\n this.api = Api(this.authToken, config.proxyApiOrigin);\n this.totalSteps = Object.keys(componentStepMapping).length - 1;\n\n if (this.businessId) {\n this.fetchData(this.businessId);\n } else {\n this.formController.setInitialValues({\n legal_address: {\n country: 'US',\n },\n });\n }\n }\n\n handleResponse(response, onSuccess) {\n if (response.error) {\n this.serverError = response.error.message;\n } else {\n this.serverError = '';\n this.businessId = response.data.id;\n this.formController.setInitialValues(response.data);\n onSuccess();\n }\n }\n\n private async sendData(onSuccess?: () => void) {\n this.isLoading = true;\n\n try {\n const data = this.formController.values.getValue();\n // Conditionally making either POST or PATCH request\n if (this.businessId) {\n const payload = parseForPatching(data);\n const response = await this.api.patch(\n `entities/business/${this.businessId}`,\n JSON.stringify(payload),\n { account_id: this.accountId }\n );\n this.handleResponse(response, onSuccess);\n } else {\n const response = await this.api.post(\n 'entities/business',\n JSON.stringify(data),\n { account_id: this.accountId }\n );\n this.handleResponse(response, onSuccess);\n }\n } catch (error) {\n console.error('Error sending data:', error);\n } finally {\n this.isLoading = false;\n }\n }\n\n private async fetchData(businessId) {\n this.isLoading = true;\n try {\n const response = await this.api.get(`entities/business/${businessId}`);\n this.formController.setInitialValues(response.data);\n } catch (error) {\n console.error('Error fetching data:', error);\n } finally {\n this.isLoading = false;\n }\n }\n\n private validateAndSubmit(event: any) {\n event.preventDefault();\n this.formController.validateAndSubmit(this.sendData);\n }\n\n showPreviousStepButton() {\n return this.currentStep > 0;\n }\n\n previousStepButtonOnClick() {\n this.sendData(() => this.currentStep--);\n }\n\n showNextStepButton() {\n return this.currentStep < this.totalSteps;\n }\n\n nextStepButtonOnClick() {\n this.sendData(() => this.currentStep++);\n }\n\n showSubmitButton() {\n return this.currentStep === this.totalSteps;\n }\n\n currentStepComponent() {\n return componentStepMapping[this.currentStep](this.formController);\n }\n\n render() {\n return (\n <Host exportparts=\"label,input,input-invalid\">\n <h1>Business Information</h1>\n\n {this.serverError && (\n <div class=\"alert alert-danger\" role=\"alert\">\n {this.serverError}\n </div>\n )}\n\n <form onSubmit={this.validateAndSubmit}>\n <div class=\"my-4\">\n {this.currentStepComponent()}\n </div>\n <div class=\"d-flex justify-content-between align-items-center\">\n <div class=\"d-flex align-items-center\">\n Step {this.currentStep + 1} of {this.totalSteps + 1}\n </div>\n <div class=\"d-flex gap-2\">\n {this.showPreviousStepButton() && (\n <button\n type=\"button\"\n class=\"btn btn-secondary\"\n onClick={() => this.previousStepButtonOnClick()}\n disabled={this.isLoading}>\n Previous\n </button>\n )}\n {this.showNextStepButton() && (\n <button\n type=\"button\"\n class=\"btn btn-primary\"\n onClick={() => this.nextStepButtonOnClick()}\n disabled={this.isLoading}>\n Next\n </button>\n )}\n {this.showSubmitButton() && (\n <button\n type=\"submit\"\n class=\"btn btn-primary\"\n onClick={() => this.nextStepButtonOnClick()}\n disabled={this.isLoading}>\n Submit\n </button>\n )}\n </div>\n </div>\n </form>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1 +0,0 @@
1
- {"file":"justifi-business-form.js","mappings":";;;;;;;;;;;;;;;;;;;;AAAA,MAAM,eAAe,GAAG,knxHAAknxH;;MCiB7nxH,YAAY;EAQvB;;;;;qBAL8B,KAAK;IAMjC,IAAI,CAAC,QAAQ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tB,oCAA8B,cAAc,EAAE,IAAI,CAAC,cAAc,GAAI,CACjE,EACN,WAAK,KAAK,EAAC,aAAa,IACtB,uCAAiC,cAAc,EAAE,IAAI,CAAC,cAAc,GAAI,CACpE,EACN,WAAK,KAAK,EAAC,aAAa,IACtB,+BAAyB,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,UAAU,EAAE,cAAc,EAAE,IAAI,CAAC,cAAc,GAAI,CAC1F,EACN,WAAK,KAAK,EAAC,gCAAgC,IACzC,cACE,IAAI,EAAC,QAAQ,EACb,KAAK,EAAC,mCAAmC,EACzC,QAAQ,EAAE,CAAC,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,SAAS,IAE1C,IAAI,CAAC,SAAS,GAAG,YAAY,GAAG,QAAQ,CAClC,CACL,CACF,CACD,CACF,EACP;GACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/business-form/business-form.scss?tag=justifi-business-form","src/components/business-form/business-form.tsx"],"sourcesContent":["@import 'reboot';\n@import 'grid';\n@import 'buttons';\n@import 'bootstrap-utilities';\n\n:host {\n @include host-base-styles;\n display: block;\n}\n\n*::part(label) {\n color: var(--jfi-form-label-color);\n font-family: var(--jfi-form-label-font-family);\n font-weight: var(--jfi-form-label-font-weight);\n font-size: var(--jfi-form-label-font-size);\n margin: var(--jfi-form-label-margin);\n}\n\n*::part(input) {\n font-family: var(--jfi-layout-font-family);\n background-color: var(--jfi-form-control-background-color);\n border-color: var(--jfi-form-control-border-color);\n border-width: var(--jfi-form-control-border-width);\n border-bottom-width: var(--jfi-form-control-border-bottom-width);\n border-left-width: var(--jfi-form-control-border-left-width);\n border-right-width: var(--jfi-form-control-border-right-width);\n border-top-width: var(--jfi-form-control-border-top-width);\n border-radius: var(--jfi-form-control-border-radius);\n border-style: var(--jfi-form-control-border-style);\n box-shadow: var(--jfi-form-control-box-shadow);\n color: var(--jfi-form-control-color);\n font-size: var(--jfi-form-control-font-size);\n font-weight: var(--jfi-form-control-font-weight);\n line-height: var(--jfi-form-control-line-height);\n margin: var(--jfi-form-control-margin);\n padding: var(--jfi-form-control-padding);\n\n &:focus {\n color: var(--jfi-form-control-color-focus);\n border-color: var(--jfi-form-control-border-color-focus);\n box-shadow: var(--jfi-form-control-box-shadow-focus);\n }\n}\n\n*::part(input-invalid) {\n border-color: var(--jfi-form-control-border-color-error);\n box-shadow: var(--jfi-form-control-box-shadow-error);\n\n &:focus {\n border-color: var(--jfi-form-control-border-color-error);\n box-shadow: var(--jfi-form-control-box-shadow-error-focus);\n }\n}","import { Component, Host, h, Prop, State } from '@stencil/core';\nimport { FormController } from '../form/form';\nimport businessFormSchema from './business-form-schema';\nimport { Api } from '../../api';\nimport { parseForPatching } from './helpers';\nimport { config } from '../../../config';\n\n\n/**\n * @exportedPart label: Label for inputs\n * @exportedPart input: The input fields\n * @exportedPart input-invalid: Invalid state for inputfs\n */\n@Component({\n tag: 'justifi-business-form',\n styleUrl: 'business-form.scss',\n})\nexport class BusinessForm {\n @Prop() authToken: string;\n @Prop() businessId?: string;\n @State() isLoading: boolean = false;\n\n private formController: FormController;\n private api: any;\n\n constructor() {\n this.sendData = this.sendData.bind(this);\n this.fetchData = this.fetchData.bind(this);\n }\n\n componentWillLoad() {\n if (!this.authToken) {\n console.warn(\n 'Warning: Missing auth-token. The form will not be functional without it.',\n );\n }\n\n this.formController = new FormController(businessFormSchema);\n\n this.api = Api(this.authToken, config.proxyApiOrigin);\n\n if (this.businessId) {\n this.fetchData(this.businessId);\n } else {\n this.formController.setInitialValues({\n legal_address: {\n country: 'US',\n },\n });\n }\n }\n\n private async sendData() {\n this.isLoading = true;\n try {\n const data = this.formController.values.getValue();\n\n // Conditionally making either POST or PATCH request\n if (this.businessId) {\n const payload = parseForPatching(data);\n const response = await this.api.patch(\n `entities/business/${this.businessId}`,\n JSON.stringify(payload),\n );\n console.log('Server response from PATCH:', response);\n } else {\n const response = await this.api.post(\n 'entities/business',\n JSON.stringify(data),\n );\n console.log('Server response from POST:', response);\n }\n } catch (error) {\n console.error('Error sending data:', error);\n } finally {\n this.isLoading = false;\n }\n }\n\n private async fetchData(businessId) {\n this.isLoading = true;\n try {\n const response = await this.api.get(`entities/business/${businessId}`);\n this.formController.setInitialValues(response.data);\n } catch (error) {\n console.error('Error fetching data:', error);\n } finally {\n this.isLoading = false;\n }\n }\n\n private validateAndSubmit(event: any) {\n event.preventDefault();\n this.formController.validateAndSubmit(this.sendData);\n }\n\n render() {\n return (\n <Host exportparts=\"label,input,input-invalid\">\n <form onSubmit={event => this.validateAndSubmit(event)}>\n <div class=\"row gap-3\">\n <div class=\"col-12 mb-4\">\n <h1>Business Information</h1>\n </div>\n <div class=\"col-12 mb-4\">\n <justifi-business-generic-info formController={this.formController} />\n </div>\n <div class=\"col-12 mb-4\">\n <justifi-legal-address-form formController={this.formController} />\n </div>\n <div class=\"col-12 mb-4\">\n <justifi-additional-questions formController={this.formController} />\n </div>\n <div class=\"col-12 mb-4\">\n <justifi-business-representative formController={this.formController} />\n </div>\n <div class=\"col-12 mb-4\">\n <justifi-business-owners isEditing={!!this.businessId} formController={this.formController} />\n </div>\n <div class=\"col-12 d-flex flex-row-reverse\">\n <button\n type=\"submit\"\n class=\"btn btn-primary jfi-submit-button\"\n disabled={!this.authToken || this.isLoading}\n >\n {this.isLoading ? 'Loading...' : 'Submit'}\n </button>\n </div>\n </div>\n </form>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1 +0,0 @@
1
- {"file":"justifi-business-generic-info.js","mappings":";;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
@@ -1 +0,0 @@
1
- {"file":"justifi-business-list.js","mappings":";;;;;;;;;AAEA,IAAY,iBAcX;AAdD,WAAY,iBAAiB;EAC3B,gEAA2C,CAAA;EAC3C,8CAAyB,CAAA;EACzB,4CAAuB,CAAA;EACvB,gEAA2C,CAAA;EAC3C,gEAA2C,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AE,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,QAAmB,KAAK;QACpD,QAAQ,CAAC,UAAU;QACnB,wBAAwB,CAAC,QAAQ,CAAC,aAAa,CAAC;QAChD,wBAAwB,CAAC,QAAQ,CAAC,kBAAkB,CAAC;QACrD,QAAQ,CAAC,MAAM;QACf,QAAQ,CAAC,QAAQ;QACjB;UACE,IAAI,EAAE,OAAO;UACb,KAAK,EAAE;;2CAEsB,IAAI,CAAC,uBAAuB,CACvD,QAAQ,CAAC,kBAAkB,CAAC,MAAM,CACnC;2CAC4B,IAAI,CAAC,uBAAuB,CACvD,QAAQ,CAAC,kBAAkB,CAAC,SAAS,CACtC;2CAC4B,IAAI,CAAC,uBAAuB,CACvD,QAAQ,CAAC,kBAAkB,CAAC,OAAO,CACpC;2CAC4B,IAAI,CAAC,uBAAuB,CACvD,QAAQ,CAAC,kBAAkB,CAAC,OAAO,CACpC;;mBAEI;SACN;QACD,UAAU,CAAC,QAAQ,CAAC,UAAU,CAAC;OAChC,CAAC,EACF,OAAO,EAAE,IAAI,CAAC,OAAO,mBACN,IAAI,CAAC,YAAY,EAChC,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,MAAM,kCACD,IAAI,CAAC,MAAM,KACd,eAAe,EAAE,IAAI,CAAC,eAAe,EACrC,mBAAmB,EAAE,IAAI,CAAC,mBAAmB,MAE/C,CACG,EACP;GACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/api/Business.ts","src/components/business-list/business-list.scss?tag=justifi-business-list&encapsulation=shadow","src/components/business-list/business-list.tsx"],"sourcesContent":["import { BankAccount } from './shared';\n\nexport enum BusinessStructure {\n sole_proprietorship = 'sole_proprietorship',\n single_llc = 'single_llc',\n multi_llc = 'multi_llc',\n private_partnership = 'private_partnership',\n private_corporation = 'private_corporation',\n unincorporated_association = 'unincorporated_association',\n public_partnership = 'public_partnership',\n public_corporation = 'public_corporation',\n incorporated = 'incorporated',\n unincorporated = 'unincorporated',\n government_unit = 'government_unit',\n government_instrumentality = 'government_instrumentality',\n tax_exempt_government_instrumentality = 'tax_exempt_government_instrumentality',\n}\n\nexport enum BusinessType {\n individual = 'individual',\n for_profit = 'for_profit',\n non_profit = 'non_profit',\n government_entity = 'government_entity',\n}\n\nexport interface Address {\n id: string;\n platform_account_id: string;\n line1: string;\n line2: string;\n postal_code: string;\n city: string;\n state: string;\n country: string;\n created_at: string;\n updated_at: string;\n}\n\nexport interface Document {\n business_id: string;\n created_at: string;\n description: string | null;\n document_type: string;\n file_name: string;\n file_type: string;\n id: string;\n identity_id: string;\n metadata: any;\n platform_account_id: string;\n presigned_url: string | null;\n status: string;\n updated_at: string;\n}\n\nexport interface Identity {\n address: Address;\n created_at: string;\n dob_day: string;\n dob_month: string;\n dob_year: string;\n documents: Document[];\n email: string;\n id: string;\n is_owner: boolean;\n metadata: any;\n name: string;\n phone: string;\n platform_account_id: string;\n ssn_last4: string;\n title: string;\n updated_at: string;\n}\n\nexport interface ProductCategories {\n credit: boolean;\n insurance: boolean;\n lending: boolean;\n payment: boolean;\n}\n\nexport interface AdditionalQuestions {\n business_revenue: string;\n business_payment_volume: string;\n business_dispute_volume: string;\n business_receivable_volume: string;\n}\n\nexport interface IBusiness {\n business_structure: BusinessStructure;\n business_type: BusinessType;\n bank_accounts: BankAccount[];\n created_at: string;\n documents: Document[];\n doing_business_as: string;\n email: string;\n id: string;\n industry: string;\n legal_address: Address;\n legal_name: string;\n metadata: any;\n owners: Identity[];\n phone: string;\n platform_account_id: string;\n representative: Identity | null;\n tax_id: string;\n updated_at: string;\n website_url: string;\n product_categories: ProductCategories;\n additional_questions: AdditionalQuestions;\n}\n\nexport class Business implements IBusiness {\n public business_structure: BusinessStructure;\n public business_type: BusinessType;\n public bank_accounts: BankAccount[];\n public created_at: string;\n public documents: Document[];\n public doing_business_as: string;\n public email: string;\n public id: string;\n public industry: string;\n public legal_address: Address;\n public legal_name: string;\n public metadata: any;\n public owners: Identity[];\n public phone: string;\n public platform_account_id: string;\n public representative: Identity | null;\n public tax_id: string;\n public updated_at: string;\n public website_url: string;\n public product_categories: ProductCategories;\n public additional_questions: AdditionalQuestions;\n\n constructor(business: IBusiness) {\n this.business_structure = business.business_structure;\n this.business_type = business.business_type;\n this.bank_accounts = business.bank_accounts;\n this.created_at = business.created_at;\n this.documents = business.documents;\n this.doing_business_as = business.doing_business_as;\n this.email = business.email;\n this.id = business.id;\n this.industry = business.industry;\n this.legal_address = business.legal_address;\n this.legal_name = business.legal_name;\n this.metadata = business.metadata;\n this.owners = business.owners;\n this.phone = business.phone;\n this.platform_account_id = business.platform_account_id;\n this.representative = business.representative;\n this.tax_id = business.tax_id;\n this.updated_at = business.updated_at;\n this.website_url = business.website_url;\n this.product_categories = business.product_categories;\n }\n}\n\nexport interface IProductReadiness {\n business_id: string;\n created_at: string;\n id: string;\n last_verified_at: string;\n missing_optional_fields: string[];\n missing_required_fields: string[];\n percentage_complete: number;\n percentage_ready: number;\n platform_account_id: string;\n product_category: string;\n product_name: string;\n required_ready: boolean;\n updated_at: string;\n}\n",":host {\n @include host-base-styles;\n}\n","import { Component, Host, h, Prop, State, Watch } from '@stencil/core';\nimport { Api, IApiResponseCollection, PagingInfo, pagingDefaults } from '../../api';\nimport { Business, IBusiness } from '../../api/Business';\nimport { formatDate, snakeCaseToHumanReadable } from '../../utils/utils';\nimport { config } from '../../../config';\n\n\n/**\n * @exportedPart table-head: Table head\n * @exportedPart table-head-row: Head row\n * @exportedPart table-head-cell: Individual head cell\n * @exportedPart table-body: Body of the table\n * @exportedPart table-row: Row of the table\n * @exportedPart table-cell: Individual cell of the table\n * @exportedPart loading-state-cell: Row for loading state\n * @exportedPart loading-state-spinner: Spinner element for loading state\n * @exportedPart error-state: Row for Error state\n * @exportedPart empty-state: Row for Emtpy state\n * @exportedPart pagination-bar: Pagination bar\n * @exportedPart arrow: Both paging buttons\n * @exportedPart arrow-left: Previous page button\n * @exportedPart arrow-right: Next page button\n * @exportedPart arrow-disabled: Disabled state for paging buttons\n */\n@Component({\n tag: 'justifi-business-list',\n styleUrl: 'business-list.scss',\n shadow: true,\n})\nexport class BusinessList {\n /**\n * The Account ID to fetch payments.\n * This is required to fetch any data.\n * @required\n * @type {string}\n * @memberof PaymentsList\n */\n @Prop() accountId: string;\n /**\n * The Auth Token to fetch payments.\n * This is required to fetch any data.\n * @required\n * @type {string}\n */\n @Prop() authToken: string;\n @State() businesses: Business[] = [];\n @State() loading: boolean = true;\n @State() errorMessage: string;\n @State() paging: PagingInfo = pagingDefaults;\n @State() params: any\n\n @Watch('accountId')\n @Watch('authToken')\n @Watch('params')\n updateOnPropChange() {\n this.fetchData();\n }\n\n connectedCallback() {\n this.fetchData();\n }\n\n mapProductStatusToBadge = (status: boolean) => {\n return (status && 'bg-success') || 'bg-secondary';\n };\n\n handleClickPrevious = (beforeCursor: string) => {\n const newParams: any = { ...this.params };\n delete newParams.after_cursor;\n this.params = ({ ...newParams, before_cursor: beforeCursor });\n };\n\n handleClickNext = (afterCursor: string) => {\n const newParams: any = { ...this.params };\n delete newParams.before_cursor;\n this.params = ({ ...newParams, after_cursor: afterCursor });\n };\n\n async fetchData(): Promise<void> {\n if (!this.accountId || !this.authToken) {\n this.errorMessage =\n 'Can not fetch any data without an AccountID and an AuthToken';\n this.loading = false;\n return;\n }\n this.loading = true;\n const endpoint = `entities/business`;\n let accountIDParam = { account_id: this.accountId };\n\n const response: IApiResponseCollection<Business[]> = await Api(this.authToken, config.proxyApiOrigin,)\n .get(endpoint, { ...accountIDParam, ...this.params });\n\n if (!response.error) {\n this.paging = {\n ...this.paging,\n ...response.page_info,\n };\n\n const data = response?.data?.map(dataItem => new Business(dataItem));\n this.businesses = data;\n } else {\n this.errorMessage =\n typeof response.error === 'string'\n ? response.error\n : response.error.message;\n }\n\n this.loading = false;\n }\n\n render() {\n return (\n <Host>\n <justifi-table\n columnData={[\n ['Legal Name', 'The name associated with this Business'],\n ['Business Type', 'The business type'],\n ['Business Structure', 'The business structure'],\n ['Tax ID', 'The tax ID associated with this business'],\n ['Industry', 'The industry this business participates in'],\n [\n 'Product Ready',\n 'List of our products that are used by this business',\n ],\n ['Created at', 'Date this business was created'],\n ]}\n rowData={this.businesses.map((business: IBusiness) => [\n business.legal_name,\n snakeCaseToHumanReadable(business.business_type),\n snakeCaseToHumanReadable(business.business_structure),\n business.tax_id,\n business.industry,\n {\n type: 'inner',\n value: `\n <div class=\"d-flex flex-nowrap gap-1\">\n <span class=\"badge ${this.mapProductStatusToBadge(\n business.product_categories.credit,\n )}\">Credit</span>\n <span class=\"badge ${this.mapProductStatusToBadge(\n business.product_categories.insurance,\n )}\">Insurance</span>\n <span class=\"badge ${this.mapProductStatusToBadge(\n business.product_categories.lending,\n )}\">Lending</span>\n <span class=\"badge ${this.mapProductStatusToBadge(\n business.product_categories.payment,\n )}\">Payment</span>\n </div>\n `,\n },\n formatDate(business.created_at),\n ])}\n loading={this.loading}\n error-message={this.errorMessage}\n params={this.params}\n paging={{\n ...this.paging,\n handleClickNext: this.handleClickNext,\n handleClickPrevious: this.handleClickPrevious\n }}\n />\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1 +0,0 @@
1
- {"file":"justifi-business-owners.js","mappings":";;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
@@ -1 +0,0 @@
1
- {"file":"justifi-business-representative.js","mappings":";;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
@@ -1 +0,0 @@
1
- {"file":"justifi-card-form.js","mappings":";;;MAQa,QAAQ;;;;;;;;;;sBAcW,KAAK;;;EA+BnC,YAAY,CAAC,KAAkB;IAC7B,OAAO,CAAC,IAAI,CAAC,kGAAkG,CAAC,CAAC;IACjH,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC/B,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;GACxB;EAGD,eAAe,CAAC,KAAoB;IAClC,OAAO,CAAC,IAAI,C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esContent":["import { Component, Event, Prop, h, EventEmitter, Method, Listen, State } from '@stencil/core';\nimport { CreatePaymentMethodResponse } from '../payment-method-form/payment-method-responses';\nimport { Theme } from '../payment-method-form/theme';\n\n@Component({\n tag: 'justifi-card-form',\n shadow: false,\n})\nexport class CardForm {\n /**\n * When to trigger validation of the form.\n */\n @Prop({ mutable: true }) validationMode: 'onChange' | 'onBlur' | 'onSubmit' | 'onTouched' | 'all';\n\n /**\n * URL for the rendered iFrame. End-users need not use this.\n */\n @Prop({ mutable: true }) iframeOrigin?: string;\n\n /**\n * Boolean indicating if the Card Form should render in a single line\n */\n @Prop() singleLine: boolean = false;\n\n @State() internalStyleOverrides: Theme;\n\n /**\n * Triggered when iframe has loaded\n * @event justifi-card-form#cardFormReady\n */\n\n @Event() cardFormReady: EventEmitter;\n\n /**\n * Triggered when iframe has loaded\n * @event justifi-card-form#ready\n */\n\n @Event() ready: EventEmitter;\n\n /**\n * Triggered when the tokenize method is called on the component\n * @event justifi-card-form#cardFormTokenize\n */\n @Event() cardFormTokenize: EventEmitter<{ data: any }>;\n\n /**\n * Triggered when the validate method is called on the component\n * @event justifi-card-form#cardFormTokenize\n */\n @Event() cardFormValidate: EventEmitter<{ data: { isValid: boolean } }>;\n\n @Listen('paymentMethodFormReady')\n readyHandler(event: CustomEvent) {\n console.warn(`The 'cardFormReady' event is deprecated in the next major release and will be renamed to 'ready'`);\n this.cardFormReady.emit(event);\n this.ready.emit(event);\n }\n\n @Listen('paymentMethodFormTokenize')\n tokenizeHandler(event: { data: any }) {\n console.warn(\n `The 'cardFormTokenize' event is deprecated in the next major release. Please refer to the documentation for the migration process and alternative approach. This method will be removed in the future.`,\n );\n this.cardFormTokenize.emit(event);\n }\n\n @Listen('paymentMethodFormValidate')\n validateHandler(event: { data: any }) {\n console.warn(\n `The 'cardFormValidate' event is deprecated in the next major release. Please refer to the documentation for the migration process and alternative approach. This method will be removed in the future.`,\n );\n this.cardFormValidate.emit(event);\n }\n\n private childRef?: HTMLJustifiPaymentMethodFormElement;\n\n /**\n * Makes a tokenization request to the iframe\n */\n @Method()\n async tokenize(...args: Parameters<HTMLJustifiPaymentMethodFormElement['tokenize']>): Promise<CreatePaymentMethodResponse> {\n if (!this.childRef) {\n throw new Error('Cannot call tokenize');\n }\n return this.childRef.tokenize(...args);\n }\n\n /**\n * Runs a validation on the form and shows errors if any\n */\n @Method()\n async validate(): Promise<{ isValid: boolean }> {\n if (!this.childRef) {\n throw new Error('Cannot call validate');\n }\n return this.childRef.validate();\n }\n\n /**\n * Manually resizes the iframe to fit the contents of the iframe\n * @deprecated This method will be removed in future releases.\n */\n @Method()\n async resize(): Promise<void> {\n console.warn(\n `The 'resize' method is deprecated and will be removed in the next major release. Please refer to the documentation for the migration process and alternative approach.`,\n );\n if (!this.childRef) {\n throw new Error('Cannot call validate');\n }\n return this.childRef.resize();\n }\n\n render() {\n return (\n <justifi-payment-method-form\n ref={el => {\n if (el) {\n this.childRef = el;\n }\n }}\n iframe-origin={this.iframeOrigin}\n payment-method-form-type=\"card\"\n single-line={this.singleLine}\n payment-method-form-ready={this.cardFormReady}\n payment-method-form-tokenize={this.cardFormTokenize}\n payment-method-form-validation-mode={this.validationMode || 'onSubmit'}\n />\n );\n }\n}\n"],"version":3}
@@ -1 +0,0 @@
1
- {"file":"justifi-details.js","mappings":";;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}