@justifi/webcomponents 4.20.1 → 4.22.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 (657) hide show
  1. package/dist/cjs/{Analytics-3c89cfb4.js → Analytics-9db96975.js} +2 -2
  2. package/dist/cjs/{Api-b98b256f.js → Api-f5280a80.js} +6 -4
  3. package/dist/cjs/Checkout-a528241d.js +85 -0
  4. package/dist/cjs/{Payment-1a8a8ca6.js → Payment-04a842f4.js} +15 -0
  5. package/dist/cjs/SubAccount-cc95a4a0.js +106 -0
  6. package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
  7. package/dist/cjs/{business-additional-questions-schema-26b0eecb.js → business-additional-questions-schema-19f08938.js} +2 -2
  8. package/dist/cjs/business-details-core.cjs.entry.js +2 -2
  9. package/dist/cjs/{business-form-types-6e1fcda3.js → business-form-types-719b7f52.js} +11 -0
  10. package/dist/cjs/{business-identity-schema-503ecb77.js → business-identity-schema-a8bb2276.js} +2 -2
  11. package/dist/cjs/{business.service-031c0084.js → business.service-7faffa0b.js} +1 -1
  12. package/dist/cjs/{check-pkg-version-4fa0367d.js → check-pkg-version-23a1cabd.js} +1 -1
  13. package/dist/cjs/checkout.service-160f3a9c.js +36 -0
  14. package/dist/cjs/checkouts-list-core.cjs.entry.js +181 -0
  15. package/dist/cjs/checkouts-list-filters.cjs.entry.js +35 -0
  16. package/dist/cjs/{custom-popper.cjs.entry.js → custom-popper_4.cjs.entry.js} +106 -2
  17. package/dist/cjs/dispute-30c806f6.js +10 -0
  18. package/dist/cjs/form-alert_5.cjs.entry.js +3 -3
  19. package/dist/cjs/form-control-checkbox_9.cjs.entry.js +56 -33
  20. package/dist/cjs/form-control-date.cjs.entry.js +83 -0
  21. package/dist/cjs/form-control-error-text.cjs.entry.js +21 -0
  22. package/dist/cjs/form-control-file.cjs.entry.js +1 -1
  23. package/dist/cjs/form-control-help-text.cjs.entry.js +21 -0
  24. package/dist/cjs/form-control-monetary.cjs.entry.js +1 -1
  25. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +99 -0
  26. package/dist/cjs/form-control-number.cjs.entry.js +1 -1
  27. package/dist/cjs/form-control-radio.cjs.entry.js +44 -0
  28. package/dist/cjs/form-control-textarea.cjs.entry.js +49 -0
  29. package/dist/cjs/{get-payout-csv-3a3260ec.js → get-payout-csv-12dc9540.js} +4 -3
  30. package/dist/cjs/get-subaccounts-8f7a930f.js +54 -0
  31. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +3 -3
  32. package/dist/cjs/justifi-additional-questions-form-step_10.cjs.entry.js +30 -17
  33. package/dist/cjs/justifi-additional-statement_11.cjs.entry.js +173 -0
  34. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +3 -3
  35. package/dist/cjs/justifi-billing-form_2.cjs.entry.js +1679 -14
  36. package/dist/cjs/justifi-business-details.cjs.entry.js +6 -6
  37. package/dist/cjs/justifi-business-form.cjs.entry.js +14 -13
  38. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
  39. package/dist/cjs/justifi-card-form.cjs.entry.js +4 -4
  40. package/dist/cjs/justifi-checkout-core.cjs.entry.js +5 -10
  41. package/dist/cjs/justifi-checkout.cjs.entry.js +13 -28
  42. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +119 -0
  43. package/dist/cjs/justifi-details.cjs.entry.js +3 -3
  44. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +28 -0
  45. package/dist/cjs/justifi-dispute-management.cjs.entry.js +16 -0
  46. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +5 -5
  47. package/dist/cjs/{justifi-new-payment-method_4.cjs.entry.js → justifi-new-payment-method_5.cjs.entry.js} +23 -6
  48. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +8 -8
  49. package/dist/cjs/justifi-payment-details.cjs.entry.js +9 -8
  50. package/dist/cjs/justifi-payment-form.cjs.entry.js +12 -11
  51. package/dist/cjs/justifi-payment-method-selector.cjs.entry.js +4 -3
  52. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +2 -2
  53. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +5 -5
  54. package/dist/cjs/justifi-payments-list.cjs.entry.js +11 -12
  55. package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -9
  56. package/dist/cjs/justifi-payouts-list.cjs.entry.js +12 -14
  57. package/dist/cjs/justifi-refund-form.cjs.entry.js +7 -6
  58. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +4 -4
  59. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +8 -7
  60. package/dist/cjs/justifi-terminals-list.cjs.entry.js +137 -0
  61. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +59 -0
  62. package/dist/cjs/loader.cjs.js +1 -1
  63. package/dist/{esm/payments-list-filters_2.entry.js → cjs/lodash-dbf6a6a4.js} +2 -57
  64. package/dist/cjs/{package-3a9ac89d.js → package-41c8f38c.js} +1 -1
  65. package/dist/cjs/payment-details-core.cjs.entry.js +11 -10
  66. package/dist/cjs/{payment.service-47e2d84e.js → payment.service-83da752a.js} +4 -3
  67. package/dist/cjs/payments-list-core.cjs.entry.js +17 -17
  68. package/dist/cjs/payments-list-filters.cjs.entry.js +35 -0
  69. package/dist/cjs/payments-status-58e45b2e.js +26 -0
  70. package/dist/cjs/payout-details-core.cjs.entry.js +5 -4
  71. package/dist/cjs/payouts-list-core.cjs.entry.js +8 -24
  72. package/dist/cjs/payouts-status-2f7be07d.js +24 -0
  73. package/dist/cjs/{schema-validations-0a7e46a3.js → schema-validations-184a4356.js} +1 -1
  74. package/dist/cjs/styled-host-1adf46c3.js +14 -0
  75. package/dist/cjs/table-bb114e2f.js +20 -0
  76. package/dist/cjs/table-filters-menu.cjs.entry.js +35 -0
  77. package/dist/cjs/terminals-list-core.cjs.entry.js +166 -0
  78. package/dist/cjs/terminals-list-filters.cjs.entry.js +32 -0
  79. package/dist/cjs/{utils-af1b60a9.js → utils-3d84442d.js} +3 -44
  80. package/dist/cjs/webcomponents.cjs.js +1 -1
  81. package/dist/collection/api/Api.js +6 -4
  82. package/dist/collection/api/Checkout.js +77 -1
  83. package/dist/collection/api/Payment.js +15 -0
  84. package/dist/collection/api/SubAccount.js +33 -0
  85. package/dist/collection/api/Terminal.js +25 -0
  86. package/dist/collection/api/get-subaccounts.js +31 -0
  87. package/dist/collection/api/index.js +2 -0
  88. package/dist/collection/api/services/checkout.service.js +10 -1
  89. package/dist/collection/api/services/subaccounts.service.js +13 -0
  90. package/dist/collection/api/services/terminal.service.js +20 -0
  91. package/dist/collection/collection-manifest.json +37 -14
  92. package/dist/collection/components/billing-form/billing-form.js +3 -3
  93. package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +1 -1
  94. package/dist/collection/components/business-details/business-details-core.js +1 -1
  95. package/dist/collection/components/business-details/business-details.js +1 -1
  96. package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +1 -1
  97. package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +1 -1
  98. package/dist/collection/components/business-details/owner-details/owner-details.js +1 -1
  99. package/dist/collection/components/business-details/representative-details/representative-details.js +1 -1
  100. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +2 -2
  101. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +3 -3
  102. package/dist/collection/components/business-forms/business-form/business-form.js +2 -2
  103. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +2 -2
  104. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +4 -4
  105. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +2 -2
  106. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +2 -2
  107. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +3 -3
  108. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +43 -3
  109. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
  110. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +33 -5
  111. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +26 -3
  112. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
  113. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +25 -3
  114. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -1
  115. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +3 -3
  116. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +25 -2
  117. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
  118. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.js +26 -3
  119. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-input-group.js +1 -1
  120. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/input-configurations.js +17 -17
  121. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +26 -3
  122. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
  123. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +25 -3
  124. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.js +1 -1
  125. package/dist/collection/components/business-forms/utils/business-form-types.js +11 -0
  126. package/dist/collection/components/card-form/card-form.js +1 -1
  127. package/dist/collection/components/checkout/checkout-core.js +2 -2
  128. package/dist/collection/components/checkout/checkout.js +2 -2
  129. package/dist/collection/components/checkout/new-payment-method.js +1 -1
  130. package/dist/collection/components/checkout/payment-method-options.js +1 -1
  131. package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
  132. package/dist/collection/components/checkout/saved-payment-method.js +1 -1
  133. package/dist/collection/components/checkout/sezzle-payment-method.js +1 -1
  134. package/dist/collection/components/checkouts-list/checkouts-list-core.js +257 -0
  135. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +84 -0
  136. package/dist/collection/components/checkouts-list/checkouts-list.js +208 -0
  137. package/dist/collection/components/checkouts-list/checkouts-status.js +13 -0
  138. package/dist/collection/components/checkouts-list/checkouts-table.js +20 -0
  139. package/dist/collection/components/checkouts-list/get-checkouts.js +31 -0
  140. package/dist/collection/components/dispute-management/counter-dispute/additional-statement.js +8 -0
  141. package/dist/collection/components/dispute-management/counter-dispute/cancellation-policy.js +8 -0
  142. package/dist/collection/components/dispute-management/counter-dispute/counter-dispute.js +90 -0
  143. package/dist/collection/components/dispute-management/counter-dispute/customer-details.js +8 -0
  144. package/dist/collection/components/dispute-management/counter-dispute/dispute-reason.js +8 -0
  145. package/dist/collection/components/dispute-management/counter-dispute/duplicate-charge.js +8 -0
  146. package/dist/collection/components/dispute-management/counter-dispute/electronic-evidence.js +8 -0
  147. package/dist/collection/components/dispute-management/counter-dispute/product-or-service.js +16 -0
  148. package/dist/collection/components/dispute-management/counter-dispute/refund-policy.js +8 -0
  149. package/dist/collection/components/dispute-management/counter-dispute/shipping-details.js +12 -0
  150. package/dist/collection/components/dispute-management/dispute-management-core.js +53 -0
  151. package/dist/collection/components/dispute-management/dispute-management.js +8 -0
  152. package/dist/collection/components/dispute-management/dispute-notification.js +48 -0
  153. package/dist/collection/components/dispute-management/dispute.js +8 -0
  154. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +2 -2
  155. package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +1 -1
  156. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +2 -2
  157. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +1 -1
  158. package/dist/collection/components/payment-details/payment-details-core.js +10 -9
  159. package/dist/collection/components/payment-details/payment-details.js +1 -1
  160. package/dist/collection/components/payment-form/payment-form.js +3 -3
  161. package/dist/collection/components/payment-form/payment-method-selector.js +1 -1
  162. package/dist/collection/components/payments-list/payments-list-core.js +14 -14
  163. package/dist/collection/components/payments-list/payments-list-filters.js +1 -1
  164. package/dist/collection/components/payments-list/payments-list.js +3 -5
  165. package/dist/collection/components/payments-list/payments-status.js +23 -0
  166. package/dist/collection/components/payout-details/payout-details-core.js +4 -3
  167. package/dist/collection/components/payout-details/payout-details.js +1 -1
  168. package/dist/collection/components/payouts-list/payouts-list-core.js +6 -22
  169. package/dist/collection/components/payouts-list/payouts-list.js +4 -7
  170. package/dist/collection/components/payouts-list/payouts-status.js +21 -0
  171. package/dist/collection/components/refund-form/refund-form.js +2 -2
  172. package/dist/collection/components/terminals-list/get-terminal-detail.js +29 -0
  173. package/dist/collection/components/terminals-list/get-terminals.js +31 -0
  174. package/dist/collection/components/terminals-list/terminals-list-core.js +257 -0
  175. package/dist/collection/components/terminals-list/terminals-list-filters.js +81 -0
  176. package/dist/collection/components/terminals-list/terminals-list.js +209 -0
  177. package/dist/collection/components/terminals-list/terminals-status.js +11 -0
  178. package/dist/collection/components/terminals-list/terminals-table.js +15 -0
  179. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.css +9 -0
  180. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +276 -0
  181. package/dist/collection/ui-components/custom-popper/custom-popper.js +8 -4
  182. package/dist/collection/{components → ui-components}/details/details.js +1 -1
  183. package/dist/collection/ui-components/filters/table-filters-menu.js +1 -1
  184. package/dist/collection/{components → ui-components}/form/form-control-checkbox.js +1 -1
  185. package/dist/collection/ui-components/form/form-control-date.js +284 -0
  186. package/dist/collection/{components → ui-components}/form/form-control-file.js +1 -1
  187. package/dist/collection/{components → ui-components}/form/form-control-monetary.js +1 -1
  188. package/dist/collection/{components → ui-components}/form/form-control-number-masked.js +1 -1
  189. package/dist/collection/{components → ui-components}/form/form-control-number.js +1 -1
  190. package/dist/collection/{components/form/form-control-date.js → ui-components/form/form-control-radio.js} +54 -36
  191. package/dist/collection/{components → ui-components}/form/form-control-select.js +1 -1
  192. package/dist/collection/{components → ui-components}/form/form-control-text.js +1 -1
  193. package/dist/collection/ui-components/form/form-control-textarea.js +229 -0
  194. package/dist/collection/ui-components/form/form-helpers/form-control-tooltip/form-control-tooltip.js +63 -0
  195. package/dist/collection/ui-components/index.js +1 -0
  196. package/dist/collection/utils/table.js +16 -0
  197. package/dist/collection/utils/utils.js +3 -42
  198. package/dist/docs.json +9561 -6219
  199. package/dist/esm/{Analytics-b0f6936a.js → Analytics-777962a4.js} +2 -2
  200. package/dist/esm/{Api-c8abc2e0.js → Api-391d00e2.js} +6 -4
  201. package/dist/esm/Checkout-0b4086f8.js +83 -0
  202. package/dist/esm/{Payment-6bf26fe2.js → Payment-30790721.js} +15 -0
  203. package/dist/esm/SubAccount-7f7e4c56.js +102 -0
  204. package/dist/esm/additional-questions-details_5.entry.js +2 -2
  205. package/dist/esm/{business-additional-questions-schema-a5583cf8.js → business-additional-questions-schema-97f52255.js} +2 -2
  206. package/dist/esm/business-details-core.entry.js +2 -2
  207. package/dist/esm/{business-form-types-1bc5fe08.js → business-form-types-8fd61b0e.js} +12 -1
  208. package/dist/esm/{business-identity-schema-9e3269fb.js → business-identity-schema-434e16bc.js} +2 -2
  209. package/dist/esm/{business.service-1f589b6e.js → business.service-97a3da69.js} +1 -1
  210. package/dist/esm/{check-pkg-version-10cadb08.js → check-pkg-version-bac8fac0.js} +1 -1
  211. package/dist/esm/checkout.service-ef1549c6.js +34 -0
  212. package/dist/esm/checkouts-list-core.entry.js +177 -0
  213. package/dist/esm/checkouts-list-filters.entry.js +31 -0
  214. package/dist/esm/{custom-popper.entry.js → custom-popper_4.entry.js} +105 -4
  215. package/dist/esm/dispute-4d2e0a04.js +10 -0
  216. package/dist/esm/form-alert_5.entry.js +3 -3
  217. package/dist/esm/form-control-checkbox_9.entry.js +56 -33
  218. package/dist/esm/form-control-date.entry.js +79 -0
  219. package/dist/esm/form-control-error-text.entry.js +17 -0
  220. package/dist/esm/form-control-file.entry.js +1 -1
  221. package/dist/esm/form-control-help-text.entry.js +17 -0
  222. package/dist/esm/form-control-monetary.entry.js +1 -1
  223. package/dist/esm/form-control-number-masked_2.entry.js +94 -0
  224. package/dist/esm/form-control-number.entry.js +1 -1
  225. package/dist/esm/form-control-radio.entry.js +40 -0
  226. package/dist/esm/form-control-textarea.entry.js +45 -0
  227. package/dist/esm/{get-payout-csv-93427146.js → get-payout-csv-70974763.js} +4 -3
  228. package/dist/esm/get-subaccounts-16c8ce40.js +51 -0
  229. package/dist/esm/gross-payment-chart-core.entry.js +3 -3
  230. package/dist/esm/justifi-additional-questions-form-step_10.entry.js +30 -17
  231. package/dist/esm/justifi-additional-statement_11.entry.js +159 -0
  232. package/dist/esm/justifi-bank-account-form.entry.js +3 -3
  233. package/dist/esm/justifi-billing-form_2.entry.js +1680 -15
  234. package/dist/esm/justifi-business-details.entry.js +6 -6
  235. package/dist/esm/justifi-business-form.entry.js +14 -13
  236. package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
  237. package/dist/esm/justifi-card-form.entry.js +4 -4
  238. package/dist/esm/justifi-checkout-core.entry.js +4 -9
  239. package/dist/esm/justifi-checkout.entry.js +11 -26
  240. package/dist/esm/justifi-checkouts-list.entry.js +115 -0
  241. package/dist/esm/justifi-details.entry.js +3 -3
  242. package/dist/esm/justifi-dispute-management-core.entry.js +24 -0
  243. package/dist/esm/justifi-dispute-management.entry.js +12 -0
  244. package/dist/esm/justifi-gross-payment-chart.entry.js +5 -5
  245. package/dist/esm/{justifi-new-payment-method_4.entry.js → justifi-new-payment-method_5.entry.js} +23 -7
  246. package/dist/esm/justifi-owner-form_3.entry.js +8 -8
  247. package/dist/esm/justifi-payment-details.entry.js +9 -8
  248. package/dist/esm/justifi-payment-form.entry.js +12 -11
  249. package/dist/esm/justifi-payment-method-selector.entry.js +4 -3
  250. package/dist/esm/justifi-payment-provisioning-core.entry.js +2 -2
  251. package/dist/esm/justifi-payment-provisioning.entry.js +5 -5
  252. package/dist/esm/justifi-payments-list.entry.js +11 -12
  253. package/dist/esm/justifi-payout-details.entry.js +9 -8
  254. package/dist/esm/justifi-payouts-list.entry.js +12 -14
  255. package/dist/esm/justifi-refund-form.entry.js +7 -6
  256. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +4 -4
  257. package/dist/esm/justifi-season-interruption-insurance.entry.js +8 -7
  258. package/dist/esm/justifi-terminals-list.entry.js +133 -0
  259. package/dist/esm/justifi-tokenize-payment-method.entry.js +55 -0
  260. package/dist/esm/loader.js +1 -1
  261. package/dist/{cjs/payments-list-filters_2.cjs.entry.js → esm/lodash-faeb5a52.js} +1 -63
  262. package/dist/esm/{package-2ef16e2c.js → package-5144835c.js} +1 -1
  263. package/dist/esm/payment-details-core.entry.js +11 -10
  264. package/dist/esm/{payment.service-21a3e2d3.js → payment.service-2f67410b.js} +4 -3
  265. package/dist/esm/payments-list-core.entry.js +16 -16
  266. package/dist/esm/payments-list-filters.entry.js +31 -0
  267. package/dist/esm/payments-status-4937a170.js +24 -0
  268. package/dist/esm/payout-details-core.entry.js +5 -4
  269. package/dist/esm/payouts-list-core.entry.js +8 -24
  270. package/dist/esm/payouts-status-cd58e525.js +22 -0
  271. package/dist/esm/{schema-validations-e725d701.js → schema-validations-c1728516.js} +1 -1
  272. package/dist/esm/styled-host-e0ddb759.js +12 -0
  273. package/dist/esm/table-75364107.js +18 -0
  274. package/dist/esm/table-filters-menu.entry.js +31 -0
  275. package/dist/esm/terminals-list-core.entry.js +162 -0
  276. package/dist/esm/terminals-list-filters.entry.js +28 -0
  277. package/dist/esm/{utils-e66d8bca.js → utils-3daada24.js} +4 -43
  278. package/dist/esm/webcomponents.js +1 -1
  279. package/dist/module/Api.js +6 -4
  280. package/dist/module/Checkout.js +83 -0
  281. package/dist/module/Payment.js +15 -0
  282. package/dist/module/SubAccount.js +102 -0
  283. package/dist/module/additional-questions.js +22 -10
  284. package/dist/module/additional-statement.js +63 -0
  285. package/dist/module/billing-form.js +14 -8
  286. package/dist/module/business-additional-questions-form-step-core.js +42 -11
  287. package/dist/module/business-additional-questions-form-step.js +23 -11
  288. package/dist/module/business-bank-account-form-step.js +25 -11
  289. package/dist/module/business-core-info-form-step-core.js +19 -10
  290. package/dist/module/business-core-info-form-step.js +16 -10
  291. package/dist/module/business-core-info.js +16 -10
  292. package/dist/module/business-document-upload-form-step.js +14 -5
  293. package/dist/module/business-document-upload-input-group.js +28 -22
  294. package/dist/module/business-documents-on-file.js +1 -1
  295. package/dist/module/business-form-types.js +12 -1
  296. package/dist/module/business-owners-form-step-core.js +20 -12
  297. package/dist/module/business-owners-form-step.js +16 -10
  298. package/dist/module/business-representative-form-inputs.js +16 -10
  299. package/dist/module/business-representative-form-step-core.js +19 -10
  300. package/dist/module/business-representative-form-step.js +16 -10
  301. package/dist/module/business-representative.js +15 -9
  302. package/dist/module/business-terms-conditions-form-step.js +6 -3
  303. package/dist/module/business-terms-conditions-text.js +1 -1
  304. package/dist/module/cancellation-policy.js +63 -0
  305. package/dist/module/checkout-core.js +16 -15
  306. package/dist/module/checkout.service.js +34 -0
  307. package/dist/module/checkouts-list-core.d.ts +11 -0
  308. package/dist/module/checkouts-list-core.js +6 -0
  309. package/dist/module/checkouts-list-core2.js +249 -0
  310. package/dist/module/checkouts-list-filters.d.ts +11 -0
  311. package/dist/module/checkouts-list-filters.js +6 -0
  312. package/dist/module/checkouts-list-filters2.js +80 -0
  313. package/dist/module/counter-dispute.js +189 -0
  314. package/dist/module/custom-popper2.js +2 -2
  315. package/dist/module/customer-details.js +69 -0
  316. package/dist/module/details.js +1 -1
  317. package/dist/module/dispute-management-core.js +160 -0
  318. package/dist/module/dispute-notification.js +36 -0
  319. package/dist/module/dispute-reason.js +45 -0
  320. package/dist/module/duplicate-charge.js +69 -0
  321. package/dist/module/electronic-evidence.js +63 -0
  322. package/dist/module/exported-parts.js +1 -34
  323. package/dist/module/form-control-checkbox2.js +1 -1
  324. package/dist/module/form-control-date2.js +59 -10
  325. package/dist/module/form-control-file2.js +10 -4
  326. package/dist/module/form-control-monetary2.js +1 -1
  327. package/dist/module/form-control-number-masked2.js +10 -4
  328. package/dist/module/form-control-number.js +1 -1
  329. package/dist/module/form-control-radio.d.ts +11 -0
  330. package/dist/module/form-control-radio.js +6 -0
  331. package/dist/module/form-control-radio2.js +78 -0
  332. package/dist/module/form-control-select2.js +10 -4
  333. package/dist/module/form-control-text2.js +10 -4
  334. package/dist/module/form-control-textarea.d.ts +11 -0
  335. package/dist/module/form-control-textarea.js +6 -0
  336. package/dist/module/form-control-textarea2.js +84 -0
  337. package/dist/module/form-control-tooltip.d.ts +11 -0
  338. package/dist/module/form-control-tooltip.js +6 -0
  339. package/dist/module/form-control-tooltip2.js +49 -0
  340. package/dist/module/get-payout-csv.js +2 -1
  341. package/dist/module/get-subaccounts.js +51 -0
  342. package/dist/module/gross-payment-chart-core2.js +2 -2
  343. package/dist/module/identity-address-form.js +14 -8
  344. package/dist/module/justifi-additional-statement.d.ts +11 -0
  345. package/dist/module/justifi-additional-statement.js +6 -0
  346. package/dist/module/justifi-business-form.js +32 -19
  347. package/dist/module/justifi-cancellation-policy.d.ts +11 -0
  348. package/dist/module/justifi-cancellation-policy.js +6 -0
  349. package/dist/module/justifi-card-form.js +1 -1
  350. package/dist/module/justifi-checkout.js +16 -31
  351. package/dist/module/justifi-checkouts-list.d.ts +11 -0
  352. package/dist/module/justifi-checkouts-list.js +191 -0
  353. package/dist/module/justifi-counter-dispute.d.ts +11 -0
  354. package/dist/module/justifi-counter-dispute.js +6 -0
  355. package/dist/module/justifi-customer-details.d.ts +11 -0
  356. package/dist/module/justifi-customer-details.js +6 -0
  357. package/dist/module/justifi-dispute-management-core.d.ts +11 -0
  358. package/dist/module/justifi-dispute-management-core.js +6 -0
  359. package/dist/module/justifi-dispute-management.d.ts +11 -0
  360. package/dist/module/justifi-dispute-management.js +157 -0
  361. package/dist/module/justifi-dispute-notification.d.ts +11 -0
  362. package/dist/module/justifi-dispute-notification.js +6 -0
  363. package/dist/module/justifi-dispute-reason.d.ts +11 -0
  364. package/dist/module/justifi-dispute-reason.js +6 -0
  365. package/dist/module/justifi-duplicate-charge.d.ts +11 -0
  366. package/dist/module/justifi-duplicate-charge.js +6 -0
  367. package/dist/module/justifi-electronic-evidence.d.ts +11 -0
  368. package/dist/module/justifi-electronic-evidence.js +6 -0
  369. package/dist/module/justifi-payment-details.js +2 -1
  370. package/dist/module/justifi-payment-form.js +18 -11
  371. package/dist/module/justifi-payment-provisioning.js +30 -18
  372. package/dist/module/justifi-payments-list.js +12 -13
  373. package/dist/module/justifi-payout-details.js +2 -1
  374. package/dist/module/justifi-payouts-list.js +14 -10
  375. package/dist/module/justifi-product-or-service.d.ts +11 -0
  376. package/dist/module/justifi-product-or-service.js +6 -0
  377. package/dist/module/justifi-refund-form.js +23 -10
  378. package/dist/module/justifi-refund-policy.d.ts +11 -0
  379. package/dist/module/justifi-refund-policy.js +6 -0
  380. package/dist/module/justifi-season-interruption-insurance.js +3 -2
  381. package/dist/module/justifi-shipping-details.d.ts +11 -0
  382. package/dist/module/justifi-shipping-details.js +6 -0
  383. package/dist/module/justifi-terminals-list.d.ts +11 -0
  384. package/dist/module/justifi-terminals-list.js +216 -0
  385. package/dist/module/justifi-tokenize-payment-method.d.ts +11 -0
  386. package/dist/module/justifi-tokenize-payment-method.js +153 -0
  387. package/dist/module/legal-address-form-step-core.js +17 -8
  388. package/dist/module/legal-address-form-step.js +14 -8
  389. package/dist/module/legal-address-form.js +14 -8
  390. package/dist/module/lodash.js +17204 -0
  391. package/dist/module/new-payment-method.js +14 -8
  392. package/dist/module/owner-form-core2.js +17 -11
  393. package/dist/module/owner-form-inputs2.js +16 -10
  394. package/dist/module/owner-form.js +15 -9
  395. package/dist/module/package.js +1 -1
  396. package/dist/module/payment-details-core2.js +9 -8
  397. package/dist/module/payment-method-form.js +1 -1
  398. package/dist/module/payment-method-options.js +14 -8
  399. package/dist/module/payment-method-selector.js +3 -2
  400. package/dist/module/payment-provisioning-core.js +31 -19
  401. package/dist/module/payment-provisioning-form-buttons.js +1 -1
  402. package/dist/module/payment-provisioning-form-steps.js +30 -18
  403. package/dist/module/payment.service.js +2 -1
  404. package/dist/module/payments-list-core2.js +23 -22
  405. package/dist/module/payments-list-filters2.js +9 -17211
  406. package/dist/module/payments-status.js +24 -0
  407. package/dist/module/payout-details-core2.js +3 -2
  408. package/dist/module/payouts-list-core2.js +17 -26
  409. package/dist/module/payouts-status.js +22 -0
  410. package/dist/module/product-or-service.js +60 -0
  411. package/dist/module/refund-policy.js +63 -0
  412. package/dist/module/save-new-payment-method.js +1 -1
  413. package/dist/module/saved-payment-method.js +2 -2
  414. package/dist/module/season-interruption-insurance-core.js +3 -3
  415. package/dist/module/sezzle-payment-method.js +2 -2
  416. package/dist/module/shipping-details.js +79 -0
  417. package/dist/module/styled-host.js +1 -1
  418. package/dist/module/table-filters-menu2.js +1 -1
  419. package/dist/module/table-loading-state.js +34 -0
  420. package/dist/module/table.js +18 -0
  421. package/dist/module/terminals-list-core.d.ts +11 -0
  422. package/dist/module/terminals-list-core.js +6 -0
  423. package/dist/module/terminals-list-core2.js +240 -0
  424. package/dist/module/terminals-list-filters.d.ts +11 -0
  425. package/dist/module/terminals-list-filters.js +6 -0
  426. package/dist/module/terminals-list-filters2.js +83 -0
  427. package/dist/module/utils2.js +4 -43
  428. package/dist/types/api/Api.d.ts +1 -1
  429. package/dist/types/api/Checkout.d.ts +74 -2
  430. package/dist/types/api/Payment.d.ts +7 -0
  431. package/dist/types/api/SubAccount.d.ts +51 -0
  432. package/dist/types/api/Terminal.d.ts +48 -0
  433. package/dist/types/api/get-subaccounts.d.ts +10 -0
  434. package/dist/types/api/index.d.ts +2 -0
  435. package/dist/types/api/services/checkout.service.d.ts +3 -1
  436. package/dist/types/api/services/subaccounts.service.d.ts +7 -0
  437. package/dist/types/api/services/terminal.service.d.ts +9 -0
  438. package/dist/types/components/billing-form/billing-form.d.ts +1 -1
  439. package/dist/types/components/business-forms/business-form/additional-questions/additional-questions.d.ts +1 -1
  440. package/dist/types/components/business-forms/business-form/business-core-info/business-core-info.d.ts +1 -1
  441. package/dist/types/components/business-forms/business-form/business-representative/business-representative.d.ts +1 -1
  442. package/dist/types/components/business-forms/business-form/legal-address-form/legal-address-form.d.ts +1 -1
  443. package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +1 -1
  444. package/dist/types/components/business-forms/owner-form/owner-form-inputs.d.ts +1 -1
  445. package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.d.ts +5 -2
  446. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +3 -2
  447. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +3 -2
  448. package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.d.ts +2 -1
  449. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.d.ts +1 -1
  450. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +3 -2
  451. package/dist/types/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.d.ts +3 -2
  452. package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +3 -2
  453. package/dist/types/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.d.ts +3 -2
  454. package/dist/types/components/business-forms/utils/business-form-types.d.ts +15 -0
  455. package/dist/types/components/business-forms/utils/input-handlers.d.ts +1 -1
  456. package/dist/types/components/checkouts-list/checkouts-list-core.d.ts +35 -0
  457. package/dist/types/components/checkouts-list/checkouts-list-filters.d.ts +15 -0
  458. package/dist/types/components/checkouts-list/checkouts-list.d.ts +44 -0
  459. package/dist/types/components/checkouts-list/checkouts-status.d.ts +1 -0
  460. package/dist/types/components/checkouts-list/checkouts-table.d.ts +17 -0
  461. package/dist/types/components/checkouts-list/get-checkouts.d.ts +10 -0
  462. package/dist/types/components/dispute-management/counter-dispute/additional-statement.d.ts +3 -0
  463. package/dist/types/components/dispute-management/counter-dispute/cancellation-policy.d.ts +3 -0
  464. package/dist/types/components/dispute-management/counter-dispute/counter-dispute.d.ts +14 -0
  465. package/dist/types/components/dispute-management/counter-dispute/customer-details.d.ts +3 -0
  466. package/dist/types/components/dispute-management/counter-dispute/dispute-reason.d.ts +3 -0
  467. package/dist/types/components/dispute-management/counter-dispute/duplicate-charge.d.ts +3 -0
  468. package/dist/types/components/dispute-management/counter-dispute/electronic-evidence.d.ts +3 -0
  469. package/dist/types/components/dispute-management/counter-dispute/product-or-service.d.ts +4 -0
  470. package/dist/types/components/dispute-management/counter-dispute/refund-policy.d.ts +3 -0
  471. package/dist/types/components/dispute-management/counter-dispute/shipping-details.d.ts +3 -0
  472. package/dist/types/components/dispute-management/dispute-management-core.d.ts +7 -0
  473. package/dist/types/components/dispute-management/dispute-management.d.ts +3 -0
  474. package/dist/types/components/dispute-management/dispute-notification.d.ts +8 -0
  475. package/dist/types/components/dispute-management/dispute.d.ts +7 -0
  476. package/dist/types/components/payments-list/payments-status.d.ts +1 -0
  477. package/dist/types/components/payouts-list/payouts-list-core.d.ts +1 -2
  478. package/dist/types/components/payouts-list/payouts-status.d.ts +1 -0
  479. package/dist/types/components/terminals-list/get-terminal-detail.d.ts +8 -0
  480. package/dist/types/components/terminals-list/get-terminals.d.ts +10 -0
  481. package/dist/types/components/terminals-list/terminals-list-core.d.ts +35 -0
  482. package/dist/types/components/terminals-list/terminals-list-filters.d.ts +13 -0
  483. package/dist/types/components/terminals-list/terminals-list.d.ts +44 -0
  484. package/dist/types/components/terminals-list/terminals-status.d.ts +1 -0
  485. package/dist/types/components/terminals-list/terminals-table.d.ts +13 -0
  486. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +22 -0
  487. package/dist/types/components.d.ts +779 -16
  488. package/dist/types/ui-components/custom-popper/custom-popper.d.ts +1 -1
  489. package/dist/types/{components → ui-components}/form/form-control-date.d.ts +6 -0
  490. package/dist/types/ui-components/form/form-control-radio.d.ts +19 -0
  491. package/dist/types/ui-components/form/form-control-textarea.d.ts +20 -0
  492. package/dist/types/ui-components/form/form-helpers/form-control-tooltip/form-control-tooltip.d.ts +8 -0
  493. package/dist/types/ui-components/index.d.ts +1 -0
  494. package/dist/types/utils/table.d.ts +13 -0
  495. package/dist/types/utils/utils.d.ts +1 -3
  496. package/dist/webcomponents/p-037e3545.entry.js +1 -0
  497. package/dist/webcomponents/{p-232016ba.entry.js → p-04d12939.entry.js} +1 -1
  498. package/dist/webcomponents/p-0ac35b39.entry.js +1 -0
  499. package/dist/webcomponents/p-0b686ada.entry.js +1 -0
  500. package/dist/webcomponents/p-0c79e368.entry.js +1 -0
  501. package/dist/webcomponents/p-0de9e97b.entry.js +1 -0
  502. package/dist/webcomponents/{p-7d3be485.js → p-0e180654.js} +1 -1
  503. package/dist/webcomponents/{p-056e75be.entry.js → p-11ff46df.entry.js} +1 -1
  504. package/dist/webcomponents/p-16d2932d.js +1 -0
  505. package/dist/webcomponents/p-206fde40.js +1 -0
  506. package/dist/webcomponents/p-24392a86.entry.js +1 -0
  507. package/dist/webcomponents/p-269ba6fe.entry.js +1 -0
  508. package/dist/webcomponents/{p-1eee25f3.entry.js → p-286a4e72.entry.js} +2 -2
  509. package/dist/webcomponents/p-2c2b57b3.js +1 -0
  510. package/dist/webcomponents/{p-d76002d5.entry.js → p-2c8c214f.entry.js} +1 -1
  511. package/dist/webcomponents/p-2de65000.entry.js +1 -0
  512. package/dist/webcomponents/{p-277aee05.js → p-3d3468a8.js} +1 -1
  513. package/dist/webcomponents/p-47dbe17d.js +1 -0
  514. package/dist/webcomponents/p-4b14abbf.entry.js +1 -0
  515. package/dist/webcomponents/p-4c0c88e4.entry.js +1 -0
  516. package/dist/webcomponents/p-52ca72cd.entry.js +1 -0
  517. package/dist/webcomponents/{p-707bdf68.js → p-56bda985.js} +1 -1
  518. package/dist/webcomponents/p-56d84fb3.entry.js +1 -0
  519. package/dist/webcomponents/p-638c6285.entry.js +1 -0
  520. package/dist/webcomponents/p-69ea7334.entry.js +1 -0
  521. package/dist/webcomponents/p-6caf6f09.entry.js +1 -0
  522. package/dist/webcomponents/{p-da1d174d.entry.js → p-72819173.entry.js} +1 -1
  523. package/dist/webcomponents/p-74da98da.js +1 -0
  524. package/dist/webcomponents/p-7fec2bcb.js +1 -0
  525. package/dist/webcomponents/p-8480e3ab.entry.js +1 -0
  526. package/dist/webcomponents/p-869ae0c7.entry.js +1 -0
  527. package/dist/webcomponents/p-8ec550d7.entry.js +1 -0
  528. package/dist/webcomponents/p-8f212554.entry.js +1 -0
  529. package/dist/webcomponents/p-907ba963.js +1 -0
  530. package/dist/webcomponents/p-919e6e67.entry.js +1 -0
  531. package/dist/webcomponents/p-927a147c.entry.js +1 -0
  532. package/dist/webcomponents/p-935188c8.entry.js +1 -0
  533. package/dist/webcomponents/p-9bd13e22.js +1 -0
  534. package/dist/webcomponents/p-9f56ad71.js +1 -0
  535. package/dist/webcomponents/p-a2be972d.entry.js +1 -0
  536. package/dist/webcomponents/p-a3143d62.entry.js +1 -0
  537. package/dist/webcomponents/p-a76ece26.js +1 -0
  538. package/dist/webcomponents/{p-5e2c9ec8.js → p-a8f22d4d.js} +1 -1
  539. package/dist/webcomponents/p-ad443df5.entry.js +1 -0
  540. package/dist/webcomponents/p-b0686897.entry.js +1 -0
  541. package/dist/webcomponents/p-b1aacd6b.entry.js +1 -0
  542. package/dist/webcomponents/p-b4a7307b.entry.js +1 -0
  543. package/dist/webcomponents/p-bfb990fc.entry.js +1 -0
  544. package/dist/webcomponents/p-c1bf9285.entry.js +1 -0
  545. package/dist/webcomponents/{p-35846553.js → p-c1cf7d5b.js} +1 -1
  546. package/dist/webcomponents/p-c30c8f39.entry.js +1 -0
  547. package/dist/webcomponents/p-c5c6e61d.js +1 -0
  548. package/dist/webcomponents/{p-d99a5f30.entry.js → p-c63825d8.entry.js} +1 -1
  549. package/dist/webcomponents/{p-5022f21c.js → p-c65b78cf.js} +1 -1
  550. package/dist/webcomponents/p-c6be72b0.js +10 -0
  551. package/dist/webcomponents/p-c717646f.entry.js +1 -0
  552. package/dist/webcomponents/{p-d9579cd6.entry.js → p-cb79f06c.entry.js} +1 -1
  553. package/dist/webcomponents/p-ccbff4fa.entry.js +1 -0
  554. package/dist/webcomponents/p-cd4eaeb7.js +1 -0
  555. package/dist/webcomponents/p-cd7e866c.entry.js +1 -0
  556. package/dist/webcomponents/p-d1248039.entry.js +1 -0
  557. package/dist/webcomponents/{p-c64ce69d.entry.js → p-d2eb61e6.entry.js} +1 -1
  558. package/dist/webcomponents/p-d516e700.js +1 -0
  559. package/dist/webcomponents/p-dae9b10e.entry.js +1 -0
  560. package/dist/webcomponents/p-e412a713.entry.js +1 -0
  561. package/dist/webcomponents/p-e69b2ff8.entry.js +1 -0
  562. package/dist/webcomponents/p-e6be8845.entry.js +1 -0
  563. package/dist/webcomponents/{p-b91bcbfc.js → p-e7d6609d.js} +1 -1
  564. package/dist/webcomponents/p-e8797be0.entry.js +1 -0
  565. package/dist/webcomponents/p-eb9ba917.entry.js +1 -0
  566. package/dist/webcomponents/p-ec7e69eb.entry.js +1 -0
  567. package/dist/webcomponents/p-eeb70281.entry.js +1 -0
  568. package/dist/webcomponents/{p-e31f0f3e.entry.js → p-efb56234.entry.js} +1 -1
  569. package/dist/webcomponents/p-f4a8215b.entry.js +1 -0
  570. package/dist/webcomponents/{p-401d6607.js → p-f6f8dabc.js} +1 -1
  571. package/dist/webcomponents/{p-1c04aacd.entry.js → p-f7077f93.entry.js} +1 -1
  572. package/dist/webcomponents/p-fc4de0d2.js +1 -0
  573. package/dist/webcomponents/{p-3c7fac29.entry.js → p-ffe27126.entry.js} +1 -1
  574. package/dist/webcomponents/webcomponents.esm.js +1 -1
  575. package/package.json +1 -1
  576. package/dist/cjs/Payout-a2dd7b01.js +0 -45
  577. package/dist/cjs/form-control-date_3.cjs.entry.js +0 -136
  578. package/dist/cjs/form-control-error-text_4.cjs.entry.js +0 -118
  579. package/dist/cjs/justifi-payment-method-form.cjs.entry.js +0 -1688
  580. package/dist/cjs/styled-host-9e0b67b3.js +0 -14
  581. package/dist/esm/Payout-dfe15b00.js +0 -43
  582. package/dist/esm/form-control-date_3.entry.js +0 -130
  583. package/dist/esm/form-control-error-text_4.entry.js +0 -111
  584. package/dist/esm/justifi-payment-method-form.entry.js +0 -1684
  585. package/dist/esm/styled-host-3171ae1f.js +0 -12
  586. package/dist/module/Payout.js +0 -43
  587. package/dist/webcomponents/p-034fc302.entry.js +0 -1
  588. package/dist/webcomponents/p-37888614.entry.js +0 -1
  589. package/dist/webcomponents/p-430f81c6.entry.js +0 -1
  590. package/dist/webcomponents/p-44055818.js +0 -1
  591. package/dist/webcomponents/p-538fd427.entry.js +0 -1
  592. package/dist/webcomponents/p-55182a59.js +0 -1
  593. package/dist/webcomponents/p-570a0f02.entry.js +0 -1
  594. package/dist/webcomponents/p-57d7534f.entry.js +0 -1
  595. package/dist/webcomponents/p-59cf5391.entry.js +0 -1
  596. package/dist/webcomponents/p-60d3571e.entry.js +0 -1
  597. package/dist/webcomponents/p-6ac806ff.entry.js +0 -1
  598. package/dist/webcomponents/p-75139399.entry.js +0 -1
  599. package/dist/webcomponents/p-7771f64b.entry.js +0 -1
  600. package/dist/webcomponents/p-7ddfce86.entry.js +0 -1
  601. package/dist/webcomponents/p-7ff329b1.js +0 -1
  602. package/dist/webcomponents/p-8a7112a0.entry.js +0 -1
  603. package/dist/webcomponents/p-9add7d3e.entry.js +0 -1
  604. package/dist/webcomponents/p-9b154d98.entry.js +0 -1
  605. package/dist/webcomponents/p-ab92abb1.entry.js +0 -1
  606. package/dist/webcomponents/p-ad47f37c.entry.js +0 -1
  607. package/dist/webcomponents/p-aedb421f.entry.js +0 -1
  608. package/dist/webcomponents/p-b14da2fd.entry.js +0 -1
  609. package/dist/webcomponents/p-bbed6107.entry.js +0 -1
  610. package/dist/webcomponents/p-bdc91c61.entry.js +0 -1
  611. package/dist/webcomponents/p-c1772671.entry.js +0 -1
  612. package/dist/webcomponents/p-c740b6ca.entry.js +0 -1
  613. package/dist/webcomponents/p-ce5fe369.entry.js +0 -10
  614. package/dist/webcomponents/p-d8355f91.entry.js +0 -1
  615. package/dist/webcomponents/p-d89bad72.js +0 -1
  616. package/dist/webcomponents/p-dc048c3c.entry.js +0 -1
  617. package/dist/webcomponents/p-df21aaad.js +0 -1
  618. package/dist/webcomponents/p-e2c88817.entry.js +0 -1
  619. package/dist/webcomponents/p-e3fab0e2.js +0 -1
  620. package/dist/webcomponents/p-f0866375.entry.js +0 -1
  621. package/dist/webcomponents/p-f2924369.js +0 -1
  622. package/dist/webcomponents/p-fb7f7a8c.entry.js +0 -1
  623. package/dist/webcomponents/p-ffddac99.entry.js +0 -1
  624. /package/dist/cjs/{exported-parts-b18c68c2.js → exported-parts-a994d693.js} +0 -0
  625. /package/dist/cjs/{index.esm-52757963.js → index.esm-97cf6825.js} +0 -0
  626. /package/dist/cjs/{utils-c1d2e426.js → utils-189dc30d.js} +0 -0
  627. /package/dist/cjs/{utils-ddacfc44.js → utils-bc03ca40.js} +0 -0
  628. /package/dist/collection/{components → ui-components}/details/utils.js +0 -0
  629. /package/dist/collection/{components → ui-components}/form/form-helpers/form-alert/form-alert.js +0 -0
  630. /package/dist/collection/{components → ui-components}/form/form-helpers/form-control-error-text/form-control-error-text.js +0 -0
  631. /package/dist/collection/{components → ui-components}/form/form-helpers/form-control-help-text/form-control-help-text.js +0 -0
  632. /package/dist/collection/{components → ui-components}/form/form.js +0 -0
  633. /package/dist/collection/{components → ui-components}/form/utils.js +0 -0
  634. /package/dist/collection/{components → ui-components}/table/exported-parts.js +0 -0
  635. /package/dist/esm/{exported-parts-abd4c027.js → exported-parts-70e7a12b.js} +0 -0
  636. /package/dist/esm/{index.esm-fc4f5c0c.js → index.esm-ed37201b.js} +0 -0
  637. /package/dist/esm/{utils-3bb6347a.js → utils-20cdf321.js} +0 -0
  638. /package/dist/esm/{utils-01413a95.js → utils-218275b7.js} +0 -0
  639. /package/dist/types/{components → ui-components}/details/details.d.ts +0 -0
  640. /package/dist/types/{components → ui-components}/details/utils.d.ts +0 -0
  641. /package/dist/types/{components → ui-components}/form/form-control-checkbox.d.ts +0 -0
  642. /package/dist/types/{components → ui-components}/form/form-control-file.d.ts +0 -0
  643. /package/dist/types/{components → ui-components}/form/form-control-monetary.d.ts +0 -0
  644. /package/dist/types/{components → ui-components}/form/form-control-number-masked.d.ts +0 -0
  645. /package/dist/types/{components → ui-components}/form/form-control-number.d.ts +0 -0
  646. /package/dist/types/{components → ui-components}/form/form-control-select.d.ts +0 -0
  647. /package/dist/types/{components → ui-components}/form/form-control-text.d.ts +0 -0
  648. /package/dist/types/{components → ui-components}/form/form-helpers/form-alert/form-alert.d.ts +0 -0
  649. /package/dist/types/{components → ui-components}/form/form-helpers/form-control-error-text/form-control-error-text.d.ts +0 -0
  650. /package/dist/types/{components → ui-components}/form/form-helpers/form-control-help-text/form-control-help-text.d.ts +0 -0
  651. /package/dist/types/{components → ui-components}/form/form.d.ts +0 -0
  652. /package/dist/types/{components → ui-components}/form/utils.d.ts +0 -0
  653. /package/dist/types/{components → ui-components}/table/exported-parts.d.ts +0 -0
  654. /package/dist/webcomponents/{p-2eab3c90.js → p-3c654c07.js} +0 -0
  655. /package/dist/webcomponents/{p-2b6c9c4f.js → p-6cc30da2.js} +0 -0
  656. /package/dist/webcomponents/{p-dce846bf.js → p-a8b4f429.js} +0 -0
  657. /package/dist/webcomponents/{p-8df7bde8.js → p-e3c22aa9.js} +0 -0
@@ -0,0 +1,31 @@
1
+ import { r as registerInstance, h } from './index-57431c24.js';
2
+ import { B as Button } from './button-34e75e0f.js';
3
+ import { h as hasFilters } from './utils-3a4d8f3a.js';
4
+
5
+ const TableFiltersMenu = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.anchorButton = undefined;
9
+ this.menu = undefined;
10
+ this.showClearButton = false;
11
+ this.params = undefined;
12
+ this.clearParams = undefined;
13
+ }
14
+ watchParamsHandler(newValue) {
15
+ this.showClearButton = hasFilters(newValue);
16
+ }
17
+ show() {
18
+ this.menu.classList.add('show');
19
+ }
20
+ hide() {
21
+ this.menu.classList.remove('show');
22
+ }
23
+ render() {
24
+ return (h("div", { key: 'de116fd5406fcc4feb36df24f8fc3162b39567e8', class: "d-flex gap-2" }, h("div", { key: '07c7d885acc4816d28e3c2653d5e4c9a7ea42108', class: "dropdown pb-3" }, h(Button, { key: '34cee2bf49991340c4291c5014d17bfa9c3593d8', variant: "primary", type: "button dropdown-toggle", ref: (el) => (this.anchorButton = el), class: "btn btn-primary dropdown-toggle", "data-test-id": "open-filters-button", "data-bs-toggle": "dropdown" }, "Filters"), h("custom-popper", { key: '19640a1ab19bdda14398c4a76392584c6bf1e6d9', offset: [20, 10], strategy: "fixed", anchorRef: this.anchorButton, trigger: "click" }, h("form", { key: 'a72ce2a8ab9fc317236128980bd4bc9be92faf2c', class: "dropdown-menu", part: "dropdown-menu", "data-test-id": "filter-menu", ref: (el) => (this.menu = el), onSubmit: (e) => e.preventDefault() }, h("slot", { key: '008b23e2dc775ec59247df27379780d1ccdd81eb' })))), h("div", { key: '5b60c0821e4cfe5395c6eca11957e18446039cd7' }, h(Button, { key: '56d032309bdff48f6501ae6be6344860d008f481', variant: "secondary", onClick: () => this.clearParams(), hidden: !this.showClearButton, "data-test-id": "clear-filters-button" }, "Clear Filters"))));
25
+ }
26
+ static get watchers() { return {
27
+ "params": ["watchParamsHandler"]
28
+ }; }
29
+ };
30
+
31
+ export { TableFiltersMenu as table_filters_menu };
@@ -0,0 +1,162 @@
1
+ import { h, r as registerInstance, c as createEvent } from './index-57431c24.js';
2
+ import './Checkout-0b4086f8.js';
3
+ import { p as pagingDefaults } from './Pagination-afc8f96d.js';
4
+ import './Payment-30790721.js';
5
+ import './SubAccount-7f7e4c56.js';
6
+ import { T as TableLoadingState, a as TableEmptyState, b as TableErrorState } from './table-loading-state-356c7215.js';
7
+ import { o as onFilterChange } from './utils-3a4d8f3a.js';
8
+ import { T as Table } from './table-75364107.js';
9
+
10
+ const MapTerminalStatusToBadge = (status) => {
11
+ switch (status) {
12
+ case 'connected':
13
+ return "<span class='badge bg-success' title='This terminal is connected.'>Connected</span>";
14
+ case 'disconnected':
15
+ return "<span class='badge bg-danger' title='This terminal is disconnected.'>Disconnected</span>";
16
+ case 'unknown':
17
+ return "<span class='badge bg-secondary' title='The status of this terminal is unknown'>Unknown</span>";
18
+ }
19
+ };
20
+
21
+ const defaultColumnsKeys = 'nickname,provider_id,status';
22
+ const terminalTableColumns = {
23
+ nickname: () => (h("th", { part: "table-head-cell", scope: "col", title: "The nickname associated with the terminal" }, "Nickname")),
24
+ provider_id: () => (h("th", { part: "table-head-cell", scope: "col", title: "The provider ID of the terminal" }, "Provider ID")),
25
+ sub_account_name: () => (h("th", { part: "table-head-cell", scope: "col", title: "The sub account associated with the terminal" }, "Sub Account")),
26
+ status: () => (h("th", { part: "table-head-cell", scope: "col", title: "The current status of each terminal" }, "Status")),
27
+ };
28
+ const terminalTableCells = {
29
+ nickname: (value) => (h("td", null, value)),
30
+ provider_id: (value) => (h("td", null, value)),
31
+ sub_account_name: (value) => (h("td", null, value)),
32
+ status: (value) => (h("td", { innerHTML: MapTerminalStatusToBadge(value) })),
33
+ };
34
+
35
+ const TerminalsListCore = class {
36
+ constructor(hostRef) {
37
+ registerInstance(this, hostRef);
38
+ this.rowClicked = createEvent(this, "terminal-row-clicked", 7);
39
+ this.errorEvent = createEvent(this, "error-event", 7);
40
+ this.handleClickPrevious = (beforeCursor) => {
41
+ const newParams = Object.assign({}, this.params);
42
+ delete newParams.after_cursor;
43
+ this.params = Object.assign(Object.assign({}, newParams), { before_cursor: beforeCursor });
44
+ };
45
+ this.handleClickNext = (afterCursor) => {
46
+ const newParams = Object.assign({}, this.params);
47
+ delete newParams.before_cursor;
48
+ this.params = Object.assign(Object.assign({}, newParams), { after_cursor: afterCursor });
49
+ };
50
+ this.rowClickHandler = (e) => {
51
+ const clickedTerminalID = e.target.closest('tr').dataset.rowEntityId;
52
+ if (!clickedTerminalID)
53
+ return;
54
+ this.rowClicked.emit(this.terminals.find((terminal) => terminal.id === clickedTerminalID));
55
+ };
56
+ this.setParamsOnChange = (name, value) => {
57
+ let newParams = { [name]: value };
58
+ this.params = onFilterChange(newParams, this.params);
59
+ };
60
+ this.clearParams = () => {
61
+ this.errorMessage = '';
62
+ this.params = {};
63
+ };
64
+ this.getTerminals = undefined;
65
+ this.getSubAccounts = undefined;
66
+ this.columns = defaultColumnsKeys;
67
+ this.terminals = [];
68
+ this.terminalsTable = new Table([], this.columns, terminalTableColumns, terminalTableCells);
69
+ this.subAccounts = [];
70
+ this.loading = true;
71
+ this.errorMessage = undefined;
72
+ this.paging = pagingDefaults;
73
+ this.params = {};
74
+ }
75
+ updateOnPropChange() {
76
+ this.fetchTerminals();
77
+ }
78
+ componentWillLoad() {
79
+ if (this.getTerminals && this.getSubAccounts) {
80
+ this.fetchTerminals();
81
+ }
82
+ }
83
+ fetchTerminals() {
84
+ this.loading = true;
85
+ this.getTerminals({
86
+ params: this.params,
87
+ onSuccess: async ({ terminals, pagingInfo }) => {
88
+ this.terminals = terminals;
89
+ this.paging = pagingInfo;
90
+ this.terminalsTable = new Table(this.terminals, this.columns, terminalTableColumns, terminalTableCells);
91
+ const shouldFetchSubAccounts = this.terminalsTable.columnKeys.includes('sub_account_name');
92
+ if (shouldFetchSubAccounts) {
93
+ await this.fetchSubAccounts();
94
+ }
95
+ else {
96
+ this.loading = false;
97
+ }
98
+ },
99
+ onError: ({ error, code, severity }) => {
100
+ this.errorMessage = error;
101
+ this.errorEvent.emit({
102
+ errorCode: code,
103
+ message: error,
104
+ severity,
105
+ });
106
+ this.loading = false;
107
+ },
108
+ });
109
+ }
110
+ async fetchSubAccounts() {
111
+ this.getSubAccounts({
112
+ params: this.subAccountParams,
113
+ onSuccess: ({ subAccounts }) => {
114
+ this.subAccounts = subAccounts;
115
+ this.terminals = this.terminals.map((terminal) => {
116
+ var _a;
117
+ terminal.sub_account_name = (_a = this.subAccounts.find((subAccount) => subAccount.id === terminal.account_id)) === null || _a === void 0 ? void 0 : _a.name;
118
+ return terminal;
119
+ });
120
+ this.loading = false;
121
+ },
122
+ onError: ({ error, code, severity }) => {
123
+ this.errorMessage = error;
124
+ this.errorEvent.emit({
125
+ errorCode: code,
126
+ message: error,
127
+ severity,
128
+ });
129
+ this.loading = false;
130
+ },
131
+ });
132
+ }
133
+ get subAccountParams() {
134
+ let accountIdNumbers = this.terminals.map((terminal) => terminal.account_id);
135
+ let uniqueAccountIds = [...new Set(accountIdNumbers)];
136
+ let accountIdString = uniqueAccountIds.join(',');
137
+ return { sub_account_id: accountIdString };
138
+ }
139
+ get entityId() {
140
+ return this.terminals.map((terminal) => terminal.id);
141
+ }
142
+ get showEmptyState() {
143
+ return !this.loading && !this.errorMessage && this.terminalsTable.rowData.length < 1;
144
+ }
145
+ get showErrorState() {
146
+ return !this.loading && !!this.errorMessage;
147
+ }
148
+ get showRowData() {
149
+ return !this.showEmptyState && !this.showErrorState && !this.loading;
150
+ }
151
+ render() {
152
+ return (h("div", { key: 'd6bd09387fc558286f09cc98e7b5423a57410440' }, h("terminals-list-filters", { key: '27f3b5ca45bad96695364e96f0c047db8465f061', params: this.params, setParamsOnChange: this.setParamsOnChange, clearParams: this.clearParams }), h("div", { key: '693ef5e9383ad2d4433a79872d51a922f1bb0cbb', class: "table-wrapper" }, h("table", { key: 'd6779ca5094593e21ddee4f0b236b0fa94c7cfe5', class: "table table-hover" }, h("thead", { key: '5b7524c86b32d61d2b087c9ace5673276a6525e2', class: "table-head sticky-top", part: "table-head" }, h("tr", { key: '6f3f3f560f5eaa38a700aacf850c01ce7224c617', class: "table-light text-nowrap", part: "table-head-row" }, this.terminalsTable.columnData.map((column) => column))), h("tbody", { key: 'd65612fc80a216dbbce686e1e5cdd06bc7c934ad', class: "table-body", part: "table-body" }, h(TableLoadingState, { key: '9ffbafb5105380d685e9cad76b627afe96c8e724', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '692c6cb35da2c9057bbac4e5d8e7536017ef1694', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), h(TableErrorState, { key: '5072ca0cb9f9ca3d77fc394c935cc1ae473b8864', columnSpan: this.terminalsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalsTable.rowData.map((data, index) => (h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler, part: `table-row ${index % 2 ? "table-row-even" : "table-row-odd"}` }, data)))), this.paging && (h("tfoot", { key: 'b043af164be76a5bdbaf53e5a0563f48049925b0', class: "sticky-bottom" }, h("tr", { key: '2fed67d847e113c371213643c07a79208701c1e5', class: "table-light align-middle" }, h("td", { key: 'b3fac5af2d92a8ea93daefd24310ed5b45d32764', part: "pagination-bar", colSpan: this.terminalsTable.columnData.length }, h("pagination-menu", { key: '4e5a82670a7aa1fee01b71fbc20b65824300a07f', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }), params: this.params })))))))));
153
+ }
154
+ static get watchers() { return {
155
+ "params": ["updateOnPropChange"],
156
+ "getTerminals": ["updateOnPropChange"],
157
+ "getSubAccounts": ["updateOnPropChange"],
158
+ "columns": ["updateOnPropChange"]
159
+ }; }
160
+ };
161
+
162
+ export { TerminalsListCore as terminals_list_core };
@@ -0,0 +1,28 @@
1
+ import { r as registerInstance, h } from './index-57431c24.js';
2
+ import { l as lodash } from './lodash-faeb5a52.js';
3
+
4
+ const TerminalsListFilters = class {
5
+ constructor(hostRef) {
6
+ registerInstance(this, hostRef);
7
+ this.params = {};
8
+ this.setParamsOnChange = undefined;
9
+ this.clearParams = undefined;
10
+ }
11
+ componentWillLoad() {
12
+ // debounced input handler for text input
13
+ this.debouncedSetParamsOnChange = lodash.exports.debounce(this.setParamsOnChange, 300);
14
+ }
15
+ get terminalStatusOptions() {
16
+ return [
17
+ { label: 'All', value: '' },
18
+ { label: 'Connected', value: 'connected' },
19
+ { label: 'Disconnected', value: 'disconnected' },
20
+ { label: 'Unknown', value: 'unknown' },
21
+ ];
22
+ }
23
+ render() {
24
+ return (h("table-filters-menu", { key: '4bfd04cf078878811b2692ff166598deb22b7d92', params: this.params, clearParams: this.clearParams }, h("div", { key: '470d4eb34429c887d03beb0caedd8c9486d18900', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '34d34e8c90c36b7cab1fb3442cb04e58f9ebb334', class: "p-2" }, h("form-control-text", { key: '5234008261646f1a090686fc0d795a6e846c9e04', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.params.terminal_id })), h("div", { key: 'fdd089fa29bf030ed3825993ff4e50a9ecefa1dc', class: "p-2" }, h("form-control-select", { key: '0c078ec1ecffea26e0cec5633cb4748337a75643', name: "status", label: "Status", options: this.terminalStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.params.status || '' })))));
25
+ }
26
+ };
27
+
28
+ export { TerminalsListFilters as terminals_list_filters };
@@ -3848,14 +3848,15 @@ var Dinero = function Dinero(options) {
3848
3848
 
3849
3849
  var dinero = Object.assign(Dinero, Defaults, Globals, Static);
3850
3850
 
3851
- function formatCurrency(amount, withSymbol = true) {
3851
+ function formatCurrency(amount, withSymbol = true, withCurrencyName = false) {
3852
3852
  if (!amount)
3853
3853
  amount = 0;
3854
3854
  function format(amount) {
3855
3855
  const formattedString = withSymbol ? '$0,0.00' : '0,0.00';
3856
3856
  return dinero({ amount: amount, currency: 'USD' }).toFormat(formattedString);
3857
3857
  }
3858
- return amount < 0 ? `(${format(-amount)})` : format(amount);
3858
+ const formattedAmount = amount < 0 ? `(${format(-amount)})` : format(amount);
3859
+ return withCurrencyName ? `${formattedAmount} USD` : formattedAmount;
3859
3860
  }
3860
3861
  function formatDate(dateString) {
3861
3862
  if (!dateString)
@@ -3908,46 +3909,6 @@ function extractComputedFontsToLoad() {
3908
3909
  const computedStyles = getComputedStyle(document.body);
3909
3910
  return (((_a = computedStyles === null || computedStyles === void 0 ? void 0 : computedStyles.getPropertyValue('--jfi-load-google-font')) === null || _a === void 0 ? void 0 : _a.trim().replace(/'|"/g, '').replace(' ', '+')) || null);
3910
3911
  }
3911
- const MapPaymentStatusToBadge = (status) => {
3912
- switch (status) {
3913
- case 'authorized':
3914
- return "<span class='badge bg-primary' title='This card payment was authorized, but not captured. It could still succeed or fail.'>Authorized</span>";
3915
- case 'disputed':
3916
- return "<span class='badge bg-primary' title='The account holder disputed this payment. The amount has been returned and a fee assessed.'>Disputed</span>";
3917
- case 'achFailed':
3918
- return "<span class='badge bg-danger' title='The funds couldn't be collected for this ACH payment (in addition to the original payment, an ACH return and fee will appear in a payout)'>Failed</span>";
3919
- case 'failed':
3920
- return "<span class='badge bg-danger' title='This card payment didn't go through (it won't appear in a payout)'>Failed</span>";
3921
- case 'fully_refunded':
3922
- return "<span class='badge bg-primary' title='The full amount of this payment has been refunded'>Fully Refunded</span>";
3923
- case 'partially_refunded':
3924
- return "<span class='badge bg-primary' title='A portion of this payment has been refunded'>Partially Refunded</span>";
3925
- case 'pending':
3926
- return "<span class='badge bg-secondary' title='This ACH payment was processed, but the funds haven't settled. It could still succeed or fail.'>Pending</span>";
3927
- case 'succeeded':
3928
- return "<span class='badge bg-success' title='This payment was successfully captured'>Successful</span>";
3929
- }
3930
- };
3931
- const MapPayoutStatusToBadge = (status) => {
3932
- switch (status) {
3933
- case 'canceled':
3934
- return "<span class='badge bg-danger' title='Transfer to your bank account failed'>Canceled</span>";
3935
- case 'failed':
3936
- return "<span class='badge bg-danger' title='Transfer to your bank account failed'>Failed</span>";
3937
- case 'forwarded':
3938
- return "<span class='badge bg-secondary' title='This payout initially failed; the funds have been forwarded to your next successful payout'>Forwarded</span>";
3939
- case 'in_transit':
3940
- return "<span class='badge bg-primary' title='Transfer to your bank account has been initiated'>In Transit</span>";
3941
- case 'paid':
3942
- return "<span class='badge bg-success' title='Successfully deposited into your bank account'>Paid</span>";
3943
- case 'pending':
3944
- return "<span class='badge bg-primary' title='Batched and scheduled to be transferred'>Pending</span>";
3945
- case 'scheduled':
3946
- return "<span class='badge bg-primary' title='Batched and scheduled to be transferred'>Scheduled</span>";
3947
- case 'withdrawn':
3948
- return "<span class='badge bg-success' title='Negative payout balance successfully withdrawn from your bank account'>Withdrawn</span>";
3949
- }
3950
- };
3951
3912
  /**
3952
3913
  * Converts a snake_case string to a human-readable format by replacing underscores with spaces and capitalizing the first letter of each word.
3953
3914
  *
@@ -4009,4 +3970,4 @@ const isInRange = (num, min, max) => {
4009
3970
  return num >= min && num <= max;
4010
3971
  };
4011
3972
 
4012
- export { MapPaymentStatusToBadge as M, formatDisplayDate as a, formatDate as b, formatTime as c, MapPayoutStatusToBadge as d, formatMediumDate as e, formatCurrency as f, snakeToCamel as g, isInRange as h, isEmptyObject as i, formatTimeSeconds as j, composeQueryParams as k, loadFontsOnParent as l, snakeCaseToHumanReadable as s };
3973
+ export { formatDate as a, formatCurrency as b, formatDisplayDate as c, formatMediumDate as d, snakeToCamel as e, formatTime as f, isInRange as g, formatTimeSeconds as h, isEmptyObject as i, composeQueryParams as j, loadFontsOnParent as l, snakeCaseToHumanReadable as s };
@@ -16,5 +16,5 @@ var patchBrowser = () => {
16
16
 
17
17
  patchBrowser().then(async (options) => {
18
18
  await globalScripts();
19
- return bootstrapLazy(JSON.parse("[[\"justifi-payment-provisioning\",[[0,\"justifi-payment-provisioning\",{\"businessId\":[1,\"business-id\"],\"authToken\":[1,\"auth-token\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formTitle\":[1,\"form-title\"],\"postProvisioning\":[32],\"getBusiness\":[32]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}]]],[\"justifi-business-form\",[[1,\"justifi-business-form\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"hideErrors\":[4,\"hide-errors\"],\"formTitle\":[1,\"form-title\"],\"removeTitle\":[4,\"remove-title\"],\"isLoading\":[32],\"errorMessage\":[32]}]]],[\"justifi-checkout\",[[4,\"justifi-checkout\",{\"iframeOrigin\":[1,\"iframe-origin\"],\"authToken\":[1,\"auth-token\"],\"checkoutId\":[1,\"checkout-id\"],\"disableCreditCard\":[4,\"disable-credit-card\"],\"disableBankAccount\":[4,\"disable-bank-account\"],\"disableBnpl\":[4,\"disable-bnpl\"],\"disablePaymentMethodGroup\":[4,\"disable-payment-method-group\"],\"getCheckout\":[32],\"complete\":[32],\"errorMessage\":[32],\"fillBillingForm\":[64]},null,{\"authToken\":[\"propChanged\"],\"checkoutId\":[\"propChanged\"]}]]],[\"justifi-payments-list\",[[1,\"justifi-payments-list\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"apiOrigin\":[1,\"api-origin\"],\"getPayments\":[32],\"errorMessage\":[32]},null,{\"accountId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-payment-form\",[[1,\"justifi-payment-form\",{\"bankAccount\":[4,\"bank-account\"],\"card\":[4],\"email\":[1],\"clientId\":[1,\"client-id\"],\"authToken\":[1,\"auth-token\"],\"accountId\":[1,\"account-id\"],\"submitButtonText\":[1,\"submit-button-text\"],\"submitButtonEnabled\":[32],\"isLoading\":[32],\"selectedPaymentMethodType\":[32],\"fillBillingForm\":[64],\"enableSubmitButton\":[64],\"disableSubmitButton\":[64]}]]],[\"justifi-business-details\",[[1,\"justifi-business-details\",{\"businessId\":[1,\"business-id\"],\"authToken\":[1,\"auth-token\"],\"errorMessage\":[32],\"getBusiness\":[32]}]]],[\"justifi-payouts-list\",[[1,\"justifi-payouts-list\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"getPayouts\":[32],\"getPayoutCSV\":[32],\"errorMessage\":[32]},null,{\"accountId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-refund-form\",[[1,\"justifi-refund-form\",{\"authToken\":[1,\"auth-token\"],\"paymentId\":[1,\"payment-id\"],\"amount\":[2],\"submitButtonText\":[1,\"submit-button-text\"],\"withButton\":[4,\"with-button\"],\"refundInfoText\":[1,\"refund-info-text\"],\"errors\":[32],\"isSubmitting\":[32]}]]],[\"form-control-number\",[[0,\"form-control-number\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"defaultValue\":[1,\"default-value\"],\"inputHandler\":[16],\"disabled\":[4]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"justifi-payment-details\",[[1,\"justifi-payment-details\",{\"paymentId\":[1,\"payment-id\"],\"authToken\":[1,\"auth-token\"],\"getPaymentDetails\":[32],\"errorMessage\":[32]},null,{\"paymentId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-payout-details\",[[1,\"justifi-payout-details\",{\"payoutId\":[1,\"payout-id\"],\"authToken\":[1,\"auth-token\"],\"getPayout\":[32],\"getPayoutCSV\":[32],\"errorMessage\":[32]},null,{\"payoutId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-bank-account-form\",[[0,\"justifi-bank-account-form\",{\"validationMode\":[1025,\"validation-mode\"],\"iframeOrigin\":[1025,\"iframe-origin\"],\"internalStyleOverrides\":[32],\"tokenize\":[64],\"validate\":[64],\"resize\":[64]},[[0,\"paymentMethodFormReady\",\"readyHandler\"],[0,\"paymentMethodFormTokenized\",\"tokenizeHandler\"],[0,\"paymentMethodFormValidated\",\"validateHandler\"]]]]],[\"justifi-card-form\",[[0,\"justifi-card-form\",{\"validationMode\":[1025,\"validation-mode\"],\"iframeOrigin\":[1025,\"iframe-origin\"],\"singleLine\":[4,\"single-line\"],\"internalStyleOverrides\":[32],\"tokenize\":[64],\"validate\":[64],\"resize\":[64]},[[0,\"paymentMethodFormReady\",\"readyHandler\"],[0,\"paymentMethodFormTokenized\",\"tokenizeHandler\"],[0,\"paymentMethodFormValidated\",\"validateHandler\"]]]]],[\"gross-payment-chart-core\",[[0,\"gross-payment-chart-core\",{\"getGrossPayment\":[16],\"grossVolumeReport\":[32],\"loading\":[32],\"errorMessage\":[32]},null,{\"getGrossPayment\":[\"propChanged\"],\"grossVolumeReport\":[\"grossVolumeReportChanged\"]}]]],[\"justifi-gross-payment-chart\",[[1,\"justifi-gross-payment-chart\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"getGrossPayment\":[32],\"errorMessage\":[32]},null,{\"accountId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-season-interruption-insurance\",[[1,\"justifi-season-interruption-insurance\",{\"authToken\":[1,\"auth-token\"],\"checkoutId\":[1,\"checkout-id\"],\"primaryIdentityFirstName\":[1,\"primary-identity-first-name\"],\"primaryIdentityLastName\":[1,\"primary-identity-last-name\"],\"primaryIdentityState\":[1,\"primary-identity-state\"],\"primaryIdentityPostalCode\":[1,\"primary-identity-postal-code\"],\"primaryIdentityCountry\":[1,\"primary-identity-country\"],\"primaryIdentityEmailAddress\":[1,\"primary-identity-email-address\"],\"policyAttributesInsurableAmount\":[2,\"policy-attributes-insurable-amount\"],\"policyAttributesStartDate\":[1,\"policy-attributes-start-date\"],\"policyAttributesEndDate\":[1,\"policy-attributes-end-date\"],\"coveredIdentityFirstName\":[1,\"covered-identity-first-name\"],\"coveredIdentityLastName\":[1,\"covered-identity-last-name\"],\"getQuote\":[32],\"toggleCoverage\":[32],\"quote\":[32],\"validate\":[64]}]]],[\"justifi-payment-provisioning-core\",[[1,\"justifi-payment-provisioning-core\",{\"businessId\":[1,\"business-id\"],\"authToken\":[1,\"auth-token\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formTitle\":[1,\"form-title\"],\"getBusiness\":[16],\"postProvisioning\":[16],\"loading\":[32],\"businessProvisioned\":[32],\"currentStep\":[32],\"errorMessage\":[32]},[[0,\"formLoading\",\"handleFormLoading\"]]]]],[\"justifi-checkout-core\",[[1,\"justifi-checkout-core\",{\"iframeOrigin\":[1025,\"iframe-origin\"],\"authToken\":[1,\"auth-token\"],\"getCheckout\":[16],\"complete\":[16],\"checkoutId\":[1,\"checkout-id\"],\"disableCreditCard\":[4,\"disable-credit-card\"],\"disableBankAccount\":[4,\"disable-bank-account\"],\"disableBnpl\":[4,\"disable-bnpl\"],\"disablePaymentMethodGroup\":[4,\"disable-payment-method-group\"],\"hasLoadedFonts\":[32],\"checkout\":[32],\"serverError\":[32],\"renderState\":[32],\"creatingNewPaymentMethod\":[32],\"insuranceToggled\":[32],\"fillBillingForm\":[64]}]]],[\"form-control-date_3\",[[0,\"justifi-identity-address-form\",{\"handleFormUpdate\":[16],\"errors\":[8],\"defaultValues\":[8,\"default-values\"],\"address\":[32]},null,{\"address\":[\"handleAddressChange\"]}],[0,\"form-control-number-masked\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"defaultValue\":[1,\"default-value\"],\"inputHandler\":[16],\"mask\":[1],\"disabled\":[4]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}],[0,\"form-control-date\",{\"name\":[1],\"label\":[1],\"inputHandler\":[16],\"defaultValue\":[1,\"default-value\"],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"disabled\":[4]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"payments-list-core\",[[0,\"payments-list-core\",{\"getPayments\":[16],\"payments\":[32],\"loading\":[32],\"errorMessage\":[32],\"paging\":[32],\"params\":[32]},null,{\"params\":[\"updateOnPropChange\"],\"getPayments\":[\"updateOnPropChange\"]}]]],[\"business-details-core\",[[0,\"business-details-core\",{\"getBusiness\":[16],\"business\":[32],\"renderState\":[32],\"errorMessage\":[32]}]]],[\"payouts-list-core\",[[0,\"payouts-list-core\",{\"getPayouts\":[16],\"getPayoutCSV\":[16],\"payouts\":[32],\"loading\":[32],\"errorMessage\":[32],\"paging\":[32],\"params\":[32]},null,{\"params\":[\"updateOnPropChange\"],\"getPayouts\":[\"updateOnPropChange\"]}]]],[\"payment-details-core\",[[0,\"payment-details-core\",{\"getPaymentDetails\":[16],\"payment\":[32],\"loading\":[32],\"errorMessage\":[32]},null,{\"getPaymentDetails\":[\"updateOnPropChange\"]}]]],[\"payout-details-core\",[[0,\"payout-details-core\",{\"getPayout\":[16],\"getPayoutCSV\":[16],\"payout\":[32],\"loading\":[32],\"errorMessage\":[32]},null,{\"getPayout\":[\"getPayoutWatcher\"]}]]],[\"justifi-payment-method-selector\",[[0,\"justifi-payment-method-selector\",{\"selectedPaymentMethodType\":[1,\"selected-payment-method-type\"]}]]],[\"justifi-season-interruption-insurance-core\",[[1,\"justifi-season-interruption-insurance-core\",{\"checkoutId\":[1,\"checkout-id\"],\"getQuote\":[16],\"toggleCoverage\":[16],\"primaryIdentityFirstName\":[1,\"primary-identity-first-name\"],\"primaryIdentityLastName\":[1,\"primary-identity-last-name\"],\"primaryIdentityState\":[1,\"primary-identity-state\"],\"primaryIdentityPostalCode\":[1,\"primary-identity-postal-code\"],\"primaryIdentityCountry\":[1,\"primary-identity-country\"],\"primaryIdentityEmailAddress\":[1,\"primary-identity-email-address\"],\"policyAttributesInsurableAmount\":[2,\"policy-attributes-insurable-amount\"],\"policyAttributesStartDate\":[1,\"policy-attributes-start-date\"],\"policyAttributesEndDate\":[1,\"policy-attributes-end-date\"],\"coveredIdentityFirstName\":[1,\"covered-identity-first-name\"],\"coveredIdentityLastName\":[1,\"covered-identity-last-name\"],\"quote\":[32],\"isLoading\":[32],\"accepted\":[32],\"validate\":[64]}]]],[\"custom-popper\",[[4,\"custom-popper\",{\"placement\":[1],\"offset\":[16],\"strategy\":[1],\"trigger\":[1],\"anchorRef\":[16],\"isOpen\":[32]}]]],[\"justifi-details\",[[1,\"justifi-details\",{\"errorMessage\":[1,\"error-message\"]}]]],[\"pagination-menu\",[[0,\"pagination-menu\",{\"paging\":[16],\"params\":[16]}]]],[\"form-control-error-text_4\",[[0,\"form-control-select\",{\"name\":[8],\"label\":[1],\"options\":[16],\"inputHandler\":[16],\"defaultValue\":[1,\"default-value\"],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"disabled\":[4]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}],[0,\"form-control-text\",{\"name\":[8],\"label\":[1],\"inputHandler\":[16],\"defaultValue\":[1,\"default-value\"],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"maxLength\":[2,\"max-length\"],\"keyDownHandler\":[16],\"disabled\":[4]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}],[0,\"form-control-error-text\",{\"errorText\":[1,\"error-text\"],\"name\":[1]}],[0,\"form-control-help-text\",{\"helpText\":[1,\"help-text\"],\"name\":[1]}]]],[\"form-alert_5\",[[0,\"justifi-business-representative\",{\"formController\":[16],\"errors\":[32],\"representative\":[32]}],[0,\"justifi-business-core-info\",{\"formController\":[16],\"errors\":[32],\"coreInfo\":[32]}],[0,\"justifi-additional-questions\",{\"formController\":[16],\"errors\":[32],\"additional_questions\":[32]}],[0,\"justifi-legal-address-form\",{\"formController\":[16],\"errors\":[32],\"legal_address\":[32]}],[0,\"form-alert\",{\"text\":[1],\"hideAlert\":[4,\"hide-alert\"]}]]],[\"payments-list-filters_2\",[[0,\"payments-list-filters\",{\"params\":[16],\"setParamsOnChange\":[16],\"clearParams\":[16]}],[4,\"table-filters-menu\",{\"params\":[8],\"clearParams\":[16],\"anchorButton\":[32],\"menu\":[32],\"showClearButton\":[32]},[[0,\"showEvent\",\"show\"],[0,\"hideEvent\",\"hide\"]],{\"params\":[\"watchParamsHandler\"]}]]],[\"justifi-business-representative-form-inputs\",[[0,\"justifi-business-representative-form-inputs\",{\"representativeDefaultValue\":[8,\"representative-default-value\"],\"errors\":[8],\"formController\":[16]}]]],[\"form-control-file\",[[0,\"form-control-file\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"multiple\":[4],\"documentType\":[1,\"document-type\"],\"inputHandler\":[16],\"disabled\":[4],\"files\":[32],\"fileString\":[32]}]]],[\"justifi-payment-method-form\",[[0,\"justifi-payment-method-form\",{\"paymentMethodFormType\":[1,\"payment-method-form-type\"],\"paymentMethodFormValidationMode\":[1025,\"payment-method-form-validation-mode\"],\"iframeOrigin\":[1,\"iframe-origin\"],\"singleLine\":[4,\"single-line\"],\"resize\":[64],\"tokenize\":[64],\"validate\":[64]}]]],[\"form-control-monetary\",[[0,\"form-control-monetary\",{\"label\":[1],\"name\":[1],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"defaultValue\":[1,\"default-value\"],\"inputHandler\":[16],\"maskOptions\":[8,\"mask-options\"],\"disabled\":[4]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"justifi-billing-form_2\",[[0,\"justifi-save-new-payment-method\",{\"isChecked\":[32]}],[1,\"justifi-billing-form\",{\"legend\":[1025],\"formController\":[32],\"billingInfo\":[32],\"errors\":[32],\"getValues\":[64],\"fill\":[64],\"validate\":[64]}]]],[\"additional-questions-details_5\",[[0,\"additional-questions-details\",{\"additionalQuestions\":[16]}],[0,\"generic-info-details\",{\"business\":[16]}],[0,\"legal-address-details\",{\"legalAddress\":[16]}],[0,\"owner-details\",{\"owners\":[16]}],[0,\"representative-details\",{\"representative\":[16]}]]],[\"justifi-new-payment-method_4\",[[0,\"justifi-payment-method-options\",{\"showCard\":[4,\"show-card\"],\"showAch\":[4,\"show-ach\"],\"showBnpl\":[4,\"show-bnpl\"],\"showSavedPaymentMethods\":[4,\"show-saved-payment-methods\"],\"paymentMethodGroupId\":[1,\"payment-method-group-id\"],\"bnpl\":[16],\"insuranceToggled\":[4,\"insurance-toggled\"],\"authToken\":[1,\"auth-token\"],\"accountId\":[1,\"account-id\"],\"iframeOrigin\":[1025,\"iframe-origin\"],\"savedPaymentMethods\":[16],\"paymentAmount\":[2,\"payment-amount\"],\"selectedPaymentMethodId\":[32],\"paymentMethodOptions\":[32],\"fillBillingForm\":[64],\"resolvePaymentMethod\":[64]},[[0,\"paymentMethodOptionSelected\",\"paymentMethodOptionSelected\"]],{\"savedPaymentMethods\":[\"paymentMethodsChanged\"]}],[0,\"justifi-new-payment-method\",{\"iframeOrigin\":[1025,\"iframe-origin\"],\"authToken\":[1,\"auth-token\"],\"accountId\":[1,\"account-id\"],\"paymentMethodOption\":[16],\"paymentMethodGroupId\":[1,\"payment-method-group-id\"],\"isSelected\":[4,\"is-selected\"],\"saveNewPaymentMethodChecked\":[32],\"fillBillingForm\":[64],\"resolvePaymentMethod\":[64]},[[0,\"checkboxChanged\",\"handleCheckboxChanged\"]]],[0,\"justifi-saved-payment-method\",{\"iframeOrigin\":[1025,\"iframe-origin\"],\"paymentMethodOption\":[16],\"isSelected\":[4,\"is-selected\"],\"resolvePaymentMethod\":[64]}],[0,\"justifi-sezzle-payment-method\",{\"iframeOrigin\":[1025,\"iframe-origin\"],\"bnpl\":[8],\"clientId\":[1,\"client-id\"],\"accountId\":[1,\"account-id\"],\"paymentMethodOption\":[16],\"isSelected\":[4,\"is-selected\"],\"paymentAmount\":[2,\"payment-amount\"],\"installmentPlan\":[32],\"sezzleCheckout\":[32],\"sezzlePromise\":[32],\"resolvePaymentMethod\":[64]}]]],[\"justifi-owner-form_3\",[[0,\"justifi-owner-form\",{\"authToken\":[1,\"auth-token\"],\"ownerId\":[1,\"owner-id\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"removeOwner\":[16],\"newFormOpen\":[4,\"new-form-open\"],\"ownersLength\":[2,\"owners-length\"],\"getOwner\":[32],\"patchOwner\":[32],\"postOwner\":[32],\"validate\":[64],\"submit\":[64],\"validateAndSubmit\":[64]}],[0,\"owner-form-core\",{\"ownerId\":[1,\"owner-id\"],\"businessId\":[1,\"business-id\"],\"getOwner\":[16],\"patchOwner\":[16],\"postOwner\":[16],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"removeOwner\":[16],\"newFormOpen\":[4,\"new-form-open\"],\"ownersLength\":[2,\"owners-length\"],\"isLoading\":[32],\"formController\":[32],\"errors\":[32],\"owner\":[32],\"returnOwnerData\":[64],\"validate\":[64],\"submit\":[64],\"validateAndSubmit\":[64]},null,{\"isLoading\":[\"loadingWatcher\"]}],[0,\"owner-form-inputs\",{\"ownerDefaultValue\":[8,\"owner-default-value\"],\"errors\":[8],\"formController\":[16]}]]],[\"form-control-checkbox_9\",[[0,\"justifi-business-owners-form-step-core\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"getBusiness\":[16],\"patchBusiness\":[16],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"ownersPayload\":[32],\"refs\":[32],\"newFormOpen\":[32],\"validateAndSubmit\":[64]},[[0,\"ownerSubmitted\",\"handleOwnerSubmit\"]],{\"ownersPayload\":[\"ownersWatcher\"]}],[0,\"justifi-business-representative-form-step-core\",{\"getBusiness\":[16],\"patchBusiness\":[16],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"representative\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-business-core-info-form-step-core\",{\"businessId\":[1,\"business-id\"],\"getBusiness\":[16],\"patchBusiness\":[16],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"coreInfo\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-additional-questions-form-step-core\",{\"getBusiness\":[16],\"patchBusiness\":[16],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"additional_questions\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-legal-address-form-step-core\",{\"getBusiness\":[16],\"patchBusiness\":[16],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"legal_address\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-business-document-upload-input-group\",{\"paymentVolume\":[1,\"payment-volume\"],\"inputHandler\":[16],\"storeFiles\":[16],\"errors\":[8]}],[0,\"form-control-checkbox\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"defaultValue\":[4,\"default-value\"],\"inputHandler\":[16],\"disabled\":[4]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}],[0,\"justifi-business-documents-on-file\",{\"documents\":[8]}],[0,\"justifi-business-terms-conditions-text\"]]],[\"justifi-additional-questions-form-step_10\",[[0,\"justifi-payment-provisioning-form-steps\",{\"businessId\":[1,\"business-id\"],\"authToken\":[1,\"auth-token\"],\"refs\":[16],\"currentStep\":[2,\"current-step\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"handleFormLoading\":[16]}],[0,\"justifi-payment-provisioning-form-buttons\",{\"currentStep\":[2,\"current-step\"],\"totalSteps\":[2,\"total-steps\"],\"formLoading\":[4,\"form-loading\"],\"formDisabled\":[4,\"form-disabled\"],\"previousStepButtonOnClick\":[16],\"nextStepButtonOnClick\":[16]}],[0,\"justifi-business-owners-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"getBusiness\":[32],\"patchBusiness\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}],[0,\"justifi-business-representative-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"getBusiness\":[32],\"patchBusiness\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}],[0,\"justifi-business-core-info-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"getBusiness\":[32],\"patchBusiness\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}],[0,\"justifi-additional-questions-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"getBusiness\":[32],\"patchBusiness\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}],[0,\"justifi-business-document-upload-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"existingDocuments\":[32],\"paymentVolume\":[32],\"business\":[32],\"documentData\":[32],\"renderState\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-legal-address-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"getBusiness\":[32],\"patchBusiness\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}],[0,\"justifi-business-bank-account-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"bankAccount\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-business-terms-conditions-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"acceptedTermsBefore\":[32],\"validateAndSubmit\":[64]}]]]]"), options);
19
+ return bootstrapLazy(JSON.parse("[[\"justifi-payment-provisioning\",[[0,\"justifi-payment-provisioning\",{\"businessId\":[1,\"business-id\"],\"authToken\":[1,\"auth-token\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formTitle\":[1,\"form-title\"],\"postProvisioning\":[32],\"getBusiness\":[32]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}]]],[\"justifi-dispute-management\",[[1,\"justifi-dispute-management\"]]],[\"justifi-business-form\",[[1,\"justifi-business-form\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"hideErrors\":[4,\"hide-errors\"],\"formTitle\":[1,\"form-title\"],\"removeTitle\":[4,\"remove-title\"],\"isLoading\":[32],\"errorMessage\":[32]}]]],[\"justifi-checkout\",[[4,\"justifi-checkout\",{\"iframeOrigin\":[1,\"iframe-origin\"],\"authToken\":[1,\"auth-token\"],\"checkoutId\":[1,\"checkout-id\"],\"disableCreditCard\":[4,\"disable-credit-card\"],\"disableBankAccount\":[4,\"disable-bank-account\"],\"disableBnpl\":[4,\"disable-bnpl\"],\"disablePaymentMethodGroup\":[4,\"disable-payment-method-group\"],\"getCheckout\":[32],\"complete\":[32],\"errorMessage\":[32],\"fillBillingForm\":[64]},null,{\"authToken\":[\"propChanged\"],\"checkoutId\":[\"propChanged\"]}]]],[\"justifi-tokenize-payment-method\",[[1,\"justifi-tokenize-payment-method\",{\"authToken\":[1,\"auth-token\"],\"accountId\":[1,\"account-id\"],\"paymentMethodGroupId\":[1,\"payment-method-group-id\"],\"isLoading\":[4,\"is-loading\"],\"submitButtonText\":[1,\"submit-button-text\"],\"disableCreditCard\":[4,\"disable-credit-card\"],\"disableBankAccount\":[4,\"disable-bank-account\"],\"tokenizePaymentMethod\":[64],\"fillBillingForm\":[64]}]]],[\"justifi-payments-list\",[[1,\"justifi-payments-list\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"apiOrigin\":[1,\"api-origin\"],\"getPayments\":[32],\"errorMessage\":[32]},null,{\"accountId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-terminals-list\",[[1,\"justifi-terminals-list\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"apiOrigin\":[1,\"api-origin\"],\"columns\":[1],\"getTerminals\":[32],\"getSubAccounts\":[32],\"errorMessage\":[32]},null,{\"accountId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-checkouts-list\",[[1,\"justifi-checkouts-list\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"apiOrigin\":[1,\"api-origin\"],\"columns\":[1],\"getCheckouts\":[32],\"getSubAccounts\":[32],\"errorMessage\":[32]},null,{\"accountId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-payment-form\",[[1,\"justifi-payment-form\",{\"bankAccount\":[4,\"bank-account\"],\"card\":[4],\"email\":[1],\"clientId\":[1,\"client-id\"],\"authToken\":[1,\"auth-token\"],\"accountId\":[1,\"account-id\"],\"submitButtonText\":[1,\"submit-button-text\"],\"submitButtonEnabled\":[32],\"isLoading\":[32],\"selectedPaymentMethodType\":[32],\"fillBillingForm\":[64],\"enableSubmitButton\":[64],\"disableSubmitButton\":[64]}]]],[\"business-details-core\",[[0,\"business-details-core\",{\"getBusiness\":[16],\"business\":[32],\"renderState\":[32],\"errorMessage\":[32]}]]],[\"justifi-business-details\",[[1,\"justifi-business-details\",{\"businessId\":[1,\"business-id\"],\"authToken\":[1,\"auth-token\"],\"errorMessage\":[32],\"getBusiness\":[32]}]]],[\"payouts-list-core\",[[0,\"payouts-list-core\",{\"getPayouts\":[16],\"getPayoutCSV\":[16],\"payouts\":[32],\"loading\":[32],\"errorMessage\":[32],\"paging\":[32],\"params\":[32]},null,{\"params\":[\"updateOnPropChange\"],\"getPayouts\":[\"updateOnPropChange\"]}]]],[\"justifi-payouts-list\",[[1,\"justifi-payouts-list\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"getPayouts\":[32],\"getPayoutCSV\":[32],\"errorMessage\":[32]},null,{\"accountId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"form-control-help-text\",[[0,\"form-control-help-text\",{\"helpText\":[1,\"help-text\"],\"name\":[1]}]]],[\"justifi-refund-form\",[[1,\"justifi-refund-form\",{\"authToken\":[1,\"auth-token\"],\"paymentId\":[1,\"payment-id\"],\"amount\":[2],\"submitButtonText\":[1,\"submit-button-text\"],\"withButton\":[4,\"with-button\"],\"refundInfoText\":[1,\"refund-info-text\"],\"errors\":[32],\"isSubmitting\":[32]}]]],[\"form-control-number\",[[0,\"form-control-number\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"defaultValue\":[1,\"default-value\"],\"inputHandler\":[16],\"disabled\":[4]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"payments-list-core\",[[0,\"payments-list-core\",{\"getPayments\":[16],\"payments\":[32],\"loading\":[32],\"errorMessage\":[32],\"paging\":[32],\"params\":[32]},null,{\"params\":[\"updateOnPropChange\"],\"getPayments\":[\"updateOnPropChange\"]}]]],[\"terminals-list-core\",[[0,\"terminals-list-core\",{\"getTerminals\":[16],\"getSubAccounts\":[16],\"columns\":[1],\"terminals\":[32],\"terminalsTable\":[32],\"subAccounts\":[32],\"loading\":[32],\"errorMessage\":[32],\"paging\":[32],\"params\":[32]},null,{\"params\":[\"updateOnPropChange\"],\"getTerminals\":[\"updateOnPropChange\"],\"getSubAccounts\":[\"updateOnPropChange\"],\"columns\":[\"updateOnPropChange\"]}]]],[\"payment-details-core\",[[0,\"payment-details-core\",{\"getPaymentDetails\":[16],\"payment\":[32],\"loading\":[32],\"errorMessage\":[32]},null,{\"getPaymentDetails\":[\"updateOnPropChange\"]}]]],[\"justifi-payment-details\",[[1,\"justifi-payment-details\",{\"paymentId\":[1,\"payment-id\"],\"authToken\":[1,\"auth-token\"],\"getPaymentDetails\":[32],\"errorMessage\":[32]},null,{\"paymentId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-payout-details\",[[1,\"justifi-payout-details\",{\"payoutId\":[1,\"payout-id\"],\"authToken\":[1,\"auth-token\"],\"getPayout\":[32],\"getPayoutCSV\":[32],\"errorMessage\":[32]},null,{\"payoutId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-bank-account-form\",[[0,\"justifi-bank-account-form\",{\"validationMode\":[1025,\"validation-mode\"],\"iframeOrigin\":[1025,\"iframe-origin\"],\"internalStyleOverrides\":[32],\"tokenize\":[64],\"validate\":[64],\"resize\":[64]},[[0,\"paymentMethodFormReady\",\"readyHandler\"],[0,\"paymentMethodFormTokenized\",\"tokenizeHandler\"],[0,\"paymentMethodFormValidated\",\"validateHandler\"]]]]],[\"justifi-card-form\",[[0,\"justifi-card-form\",{\"validationMode\":[1025,\"validation-mode\"],\"iframeOrigin\":[1025,\"iframe-origin\"],\"singleLine\":[4,\"single-line\"],\"internalStyleOverrides\":[32],\"tokenize\":[64],\"validate\":[64],\"resize\":[64]},[[0,\"paymentMethodFormReady\",\"readyHandler\"],[0,\"paymentMethodFormTokenized\",\"tokenizeHandler\"],[0,\"paymentMethodFormValidated\",\"validateHandler\"]]]]],[\"justifi-gross-payment-chart\",[[1,\"justifi-gross-payment-chart\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"getGrossPayment\":[32],\"errorMessage\":[32]},null,{\"accountId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-season-interruption-insurance\",[[1,\"justifi-season-interruption-insurance\",{\"authToken\":[1,\"auth-token\"],\"checkoutId\":[1,\"checkout-id\"],\"primaryIdentityFirstName\":[1,\"primary-identity-first-name\"],\"primaryIdentityLastName\":[1,\"primary-identity-last-name\"],\"primaryIdentityState\":[1,\"primary-identity-state\"],\"primaryIdentityPostalCode\":[1,\"primary-identity-postal-code\"],\"primaryIdentityCountry\":[1,\"primary-identity-country\"],\"primaryIdentityEmailAddress\":[1,\"primary-identity-email-address\"],\"policyAttributesInsurableAmount\":[2,\"policy-attributes-insurable-amount\"],\"policyAttributesStartDate\":[1,\"policy-attributes-start-date\"],\"policyAttributesEndDate\":[1,\"policy-attributes-end-date\"],\"coveredIdentityFirstName\":[1,\"covered-identity-first-name\"],\"coveredIdentityLastName\":[1,\"covered-identity-last-name\"],\"getQuote\":[32],\"toggleCoverage\":[32],\"quote\":[32],\"validate\":[64]}]]],[\"form-control-error-text\",[[0,\"form-control-error-text\",{\"errorText\":[1,\"error-text\"],\"name\":[1]}]]],[\"custom-popper_4\",[[0,\"form-control-select\",{\"name\":[8],\"label\":[1],\"options\":[16],\"inputHandler\":[16],\"defaultValue\":[1,\"default-value\"],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"disabled\":[4]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}],[0,\"form-control-text\",{\"name\":[8],\"label\":[1],\"inputHandler\":[16],\"defaultValue\":[1,\"default-value\"],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"maxLength\":[2,\"max-length\"],\"keyDownHandler\":[16],\"disabled\":[4]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}],[0,\"form-control-tooltip\",{\"helpText\":[1,\"help-text\"],\"anchorIcon\":[32],\"tooltip\":[32]},[[0,\"showEvent\",\"show\"],[0,\"hideEvent\",\"hide\"]]],[4,\"custom-popper\",{\"placement\":[1],\"offset\":[16],\"strategy\":[1],\"trigger\":[1],\"anchorRef\":[16],\"isOpen\":[32]}]]],[\"form-control-file\",[[0,\"form-control-file\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"multiple\":[4],\"documentType\":[1,\"document-type\"],\"inputHandler\":[16],\"disabled\":[4],\"files\":[32],\"fileString\":[32]}]]],[\"form-control-date\",[[0,\"form-control-date\",{\"name\":[1],\"label\":[1],\"inputHandler\":[16],\"defaultValue\":[1,\"default-value\"],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"disabled\":[4],\"filterTimeZone\":[4,\"filter-time-zone\"],\"showTime\":[4,\"show-time\"],\"maxDate\":[1,\"max-date\"]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"justifi-payment-provisioning-core\",[[1,\"justifi-payment-provisioning-core\",{\"businessId\":[1,\"business-id\"],\"authToken\":[1,\"auth-token\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formTitle\":[1,\"form-title\"],\"getBusiness\":[16],\"postProvisioning\":[16],\"loading\":[32],\"businessProvisioned\":[32],\"currentStep\":[32],\"errorMessage\":[32]},[[0,\"formLoading\",\"handleFormLoading\"]]]]],[\"justifi-dispute-management-core\",[[0,\"justifi-dispute-management-core\",{\"showCounterDispute\":[32]},[[0,\"clickEvent\",\"counterDisputeHandler\"]]]]],[\"justifi-checkout-core\",[[1,\"justifi-checkout-core\",{\"iframeOrigin\":[1025,\"iframe-origin\"],\"authToken\":[1,\"auth-token\"],\"getCheckout\":[16],\"complete\":[16],\"checkoutId\":[1,\"checkout-id\"],\"disableCreditCard\":[4,\"disable-credit-card\"],\"disableBankAccount\":[4,\"disable-bank-account\"],\"disableBnpl\":[4,\"disable-bnpl\"],\"disablePaymentMethodGroup\":[4,\"disable-payment-method-group\"],\"hasLoadedFonts\":[32],\"checkout\":[32],\"serverError\":[32],\"renderState\":[32],\"creatingNewPaymentMethod\":[32],\"insuranceToggled\":[32],\"fillBillingForm\":[64]}]]],[\"checkouts-list-core\",[[0,\"checkouts-list-core\",{\"getCheckouts\":[16],\"getSubAccounts\":[16],\"columns\":[1],\"checkouts\":[32],\"checkoutsTable\":[32],\"subAccounts\":[32],\"loading\":[32],\"errorMessage\":[32],\"paging\":[32],\"params\":[32]},null,{\"params\":[\"updateOnPropChange\"],\"getCheckouts\":[\"updateOnPropChange\"],\"getSubAccounts\":[\"updateOnPropChange\"],\"columns\":[\"updateOnPropChange\"]}]]],[\"payout-details-core\",[[0,\"payout-details-core\",{\"getPayout\":[16],\"getPayoutCSV\":[16],\"payout\":[32],\"loading\":[32],\"errorMessage\":[32]},null,{\"getPayout\":[\"getPayoutWatcher\"]}]]],[\"gross-payment-chart-core\",[[0,\"gross-payment-chart-core\",{\"getGrossPayment\":[16],\"grossVolumeReport\":[32],\"loading\":[32],\"errorMessage\":[32]},null,{\"getGrossPayment\":[\"propChanged\"],\"grossVolumeReport\":[\"grossVolumeReportChanged\"]}]]],[\"justifi-payment-method-selector\",[[0,\"justifi-payment-method-selector\",{\"selectedPaymentMethodType\":[1,\"selected-payment-method-type\"]}]]],[\"justifi-season-interruption-insurance-core\",[[1,\"justifi-season-interruption-insurance-core\",{\"checkoutId\":[1,\"checkout-id\"],\"getQuote\":[16],\"toggleCoverage\":[16],\"primaryIdentityFirstName\":[1,\"primary-identity-first-name\"],\"primaryIdentityLastName\":[1,\"primary-identity-last-name\"],\"primaryIdentityState\":[1,\"primary-identity-state\"],\"primaryIdentityPostalCode\":[1,\"primary-identity-postal-code\"],\"primaryIdentityCountry\":[1,\"primary-identity-country\"],\"primaryIdentityEmailAddress\":[1,\"primary-identity-email-address\"],\"policyAttributesInsurableAmount\":[2,\"policy-attributes-insurable-amount\"],\"policyAttributesStartDate\":[1,\"policy-attributes-start-date\"],\"policyAttributesEndDate\":[1,\"policy-attributes-end-date\"],\"coveredIdentityFirstName\":[1,\"covered-identity-first-name\"],\"coveredIdentityLastName\":[1,\"covered-identity-last-name\"],\"quote\":[32],\"isLoading\":[32],\"accepted\":[32],\"validate\":[64]}]]],[\"payments-list-filters\",[[0,\"payments-list-filters\",{\"params\":[16],\"setParamsOnChange\":[16],\"clearParams\":[16]}]]],[\"terminals-list-filters\",[[0,\"terminals-list-filters\",{\"params\":[16],\"setParamsOnChange\":[16],\"clearParams\":[16]}]]],[\"checkouts-list-filters\",[[0,\"checkouts-list-filters\",{\"params\":[16],\"setParamsOnChange\":[16],\"clearParams\":[16]}]]],[\"form-control-radio\",[[0,\"form-control-radio\",{\"label\":[1],\"name\":[8],\"value\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"defaultChecked\":[4,\"default-checked\"],\"inputHandler\":[16],\"disabled\":[4]},null,{\"defaultChecked\":[\"handleDefaultValueChange\"]}]]],[\"justifi-details\",[[1,\"justifi-details\",{\"errorMessage\":[1,\"error-message\"]}]]],[\"form-control-number-masked_2\",[[0,\"justifi-identity-address-form\",{\"handleFormUpdate\":[16],\"errors\":[8],\"defaultValues\":[8,\"default-values\"],\"address\":[32]},null,{\"address\":[\"handleAddressChange\"]}],[0,\"form-control-number-masked\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"defaultValue\":[1,\"default-value\"],\"inputHandler\":[16],\"mask\":[1],\"disabled\":[4]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"form-alert_5\",[[0,\"justifi-business-representative\",{\"formController\":[16],\"errors\":[32],\"representative\":[32]}],[0,\"justifi-additional-questions\",{\"formController\":[16],\"errors\":[32],\"additional_questions\":[32]}],[0,\"justifi-business-core-info\",{\"formController\":[16],\"errors\":[32],\"coreInfo\":[32]}],[0,\"justifi-legal-address-form\",{\"formController\":[16],\"errors\":[32],\"legal_address\":[32]}],[0,\"form-alert\",{\"text\":[1],\"hideAlert\":[4,\"hide-alert\"]}]]],[\"justifi-business-representative-form-inputs\",[[0,\"justifi-business-representative-form-inputs\",{\"representativeDefaultValue\":[8,\"representative-default-value\"],\"errors\":[8],\"formController\":[16]}]]],[\"form-control-monetary\",[[0,\"form-control-monetary\",{\"label\":[1],\"name\":[1],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"defaultValue\":[1,\"default-value\"],\"inputHandler\":[16],\"maskOptions\":[8,\"mask-options\"],\"disabled\":[4]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"pagination-menu\",[[0,\"pagination-menu\",{\"paging\":[16],\"params\":[16]}]]],[\"table-filters-menu\",[[4,\"table-filters-menu\",{\"params\":[8],\"clearParams\":[16],\"anchorButton\":[32],\"menu\":[32],\"showClearButton\":[32]},[[0,\"showEvent\",\"show\"],[0,\"hideEvent\",\"hide\"]],{\"params\":[\"watchParamsHandler\"]}]]],[\"form-control-textarea\",[[0,\"form-control-textarea\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"defaultValue\":[1,\"default-value\"],\"maxLength\":[2,\"max-length\"],\"inputHandler\":[16],\"keyDownHandler\":[16],\"disabled\":[4]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"additional-questions-details_5\",[[0,\"additional-questions-details\",{\"additionalQuestions\":[16]}],[0,\"generic-info-details\",{\"business\":[16]}],[0,\"legal-address-details\",{\"legalAddress\":[16]}],[0,\"owner-details\",{\"owners\":[16]}],[0,\"representative-details\",{\"representative\":[16]}]]],[\"justifi-billing-form_2\",[[1,\"justifi-billing-form\",{\"legend\":[1025],\"formController\":[32],\"billingInfo\":[32],\"errors\":[32],\"getValues\":[64],\"fill\":[64],\"validate\":[64]}],[0,\"justifi-payment-method-form\",{\"paymentMethodFormType\":[1,\"payment-method-form-type\"],\"paymentMethodFormValidationMode\":[1025,\"payment-method-form-validation-mode\"],\"iframeOrigin\":[1,\"iframe-origin\"],\"singleLine\":[4,\"single-line\"],\"resize\":[64],\"tokenize\":[64],\"validate\":[64]}]]],[\"justifi-owner-form_3\",[[0,\"justifi-owner-form\",{\"authToken\":[1,\"auth-token\"],\"ownerId\":[1,\"owner-id\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"removeOwner\":[16],\"newFormOpen\":[4,\"new-form-open\"],\"ownersLength\":[2,\"owners-length\"],\"getOwner\":[32],\"patchOwner\":[32],\"postOwner\":[32],\"validate\":[64],\"submit\":[64],\"validateAndSubmit\":[64]}],[0,\"owner-form-core\",{\"ownerId\":[1,\"owner-id\"],\"businessId\":[1,\"business-id\"],\"getOwner\":[16],\"patchOwner\":[16],\"postOwner\":[16],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"removeOwner\":[16],\"newFormOpen\":[4,\"new-form-open\"],\"ownersLength\":[2,\"owners-length\"],\"isLoading\":[32],\"formController\":[32],\"errors\":[32],\"owner\":[32],\"returnOwnerData\":[64],\"validate\":[64],\"submit\":[64],\"validateAndSubmit\":[64]},null,{\"isLoading\":[\"loadingWatcher\"]}],[0,\"owner-form-inputs\",{\"ownerDefaultValue\":[8,\"owner-default-value\"],\"errors\":[8],\"formController\":[16]}]]],[\"justifi-new-payment-method_5\",[[0,\"justifi-payment-method-options\",{\"showCard\":[4,\"show-card\"],\"showAch\":[4,\"show-ach\"],\"showBnpl\":[4,\"show-bnpl\"],\"showSavedPaymentMethods\":[4,\"show-saved-payment-methods\"],\"paymentMethodGroupId\":[1,\"payment-method-group-id\"],\"bnpl\":[16],\"insuranceToggled\":[4,\"insurance-toggled\"],\"authToken\":[1,\"auth-token\"],\"accountId\":[1,\"account-id\"],\"iframeOrigin\":[1025,\"iframe-origin\"],\"savedPaymentMethods\":[16],\"paymentAmount\":[2,\"payment-amount\"],\"selectedPaymentMethodId\":[32],\"paymentMethodOptions\":[32],\"fillBillingForm\":[64],\"resolvePaymentMethod\":[64]},[[0,\"paymentMethodOptionSelected\",\"paymentMethodOptionSelected\"]],{\"savedPaymentMethods\":[\"paymentMethodsChanged\"]}],[0,\"justifi-new-payment-method\",{\"iframeOrigin\":[1025,\"iframe-origin\"],\"authToken\":[1,\"auth-token\"],\"accountId\":[1,\"account-id\"],\"paymentMethodOption\":[16],\"paymentMethodGroupId\":[1,\"payment-method-group-id\"],\"isSelected\":[4,\"is-selected\"],\"saveNewPaymentMethodChecked\":[32],\"fillBillingForm\":[64],\"resolvePaymentMethod\":[64]},[[0,\"checkboxChanged\",\"handleCheckboxChanged\"]]],[0,\"justifi-saved-payment-method\",{\"iframeOrigin\":[1025,\"iframe-origin\"],\"paymentMethodOption\":[16],\"isSelected\":[4,\"is-selected\"],\"resolvePaymentMethod\":[64]}],[0,\"justifi-sezzle-payment-method\",{\"iframeOrigin\":[1025,\"iframe-origin\"],\"bnpl\":[8],\"clientId\":[1,\"client-id\"],\"accountId\":[1,\"account-id\"],\"paymentMethodOption\":[16],\"isSelected\":[4,\"is-selected\"],\"paymentAmount\":[2,\"payment-amount\"],\"installmentPlan\":[32],\"sezzleCheckout\":[32],\"sezzlePromise\":[32],\"resolvePaymentMethod\":[64]}],[0,\"justifi-save-new-payment-method\",{\"isChecked\":[32]}]]],[\"form-control-checkbox_9\",[[0,\"justifi-business-owners-form-step-core\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"getBusiness\":[16],\"patchBusiness\":[16],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"ownersPayload\":[32],\"refs\":[32],\"newFormOpen\":[32],\"validateAndSubmit\":[64]},[[0,\"ownerSubmitted\",\"handleOwnerSubmit\"]],{\"ownersPayload\":[\"ownersWatcher\"]}],[0,\"justifi-business-representative-form-step-core\",{\"getBusiness\":[16],\"patchBusiness\":[16],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"representative\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-additional-questions-form-step-core\",{\"getBusiness\":[16],\"patchBusiness\":[16],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"additional_questions\":[32],\"recurringPayments\":[32],\"validateAndSubmit\":[64]},null,{\"additional_questions\":[\"recurringPaymentsWatcher\"]}],[0,\"justifi-business-core-info-form-step-core\",{\"businessId\":[1,\"business-id\"],\"getBusiness\":[16],\"patchBusiness\":[16],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"coreInfo\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-legal-address-form-step-core\",{\"getBusiness\":[16],\"patchBusiness\":[16],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"legal_address\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-business-document-upload-input-group\",{\"paymentVolume\":[1,\"payment-volume\"],\"inputHandler\":[16],\"storeFiles\":[16],\"errors\":[8]}],[0,\"form-control-checkbox\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"defaultValue\":[4,\"default-value\"],\"inputHandler\":[16],\"disabled\":[4]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}],[0,\"justifi-business-documents-on-file\",{\"documents\":[8]}],[0,\"justifi-business-terms-conditions-text\"]]],[\"justifi-additional-questions-form-step_10\",[[0,\"justifi-payment-provisioning-form-steps\",{\"businessId\":[1,\"business-id\"],\"authToken\":[1,\"auth-token\"],\"refs\":[16],\"currentStep\":[2,\"current-step\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"handleFormLoading\":[16]}],[0,\"justifi-payment-provisioning-form-buttons\",{\"currentStep\":[2,\"current-step\"],\"totalSteps\":[2,\"total-steps\"],\"formLoading\":[4,\"form-loading\"],\"formDisabled\":[4,\"form-disabled\"],\"previousStepButtonOnClick\":[16],\"nextStepButtonOnClick\":[16]}],[0,\"justifi-business-owners-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"getBusiness\":[32],\"patchBusiness\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}],[0,\"justifi-business-representative-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"getBusiness\":[32],\"patchBusiness\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}],[0,\"justifi-additional-questions-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"getBusiness\":[32],\"patchBusiness\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}],[0,\"justifi-business-core-info-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"getBusiness\":[32],\"patchBusiness\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}],[0,\"justifi-business-document-upload-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"existingDocuments\":[32],\"paymentVolume\":[32],\"business\":[32],\"documentData\":[32],\"renderState\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-legal-address-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"getBusiness\":[32],\"patchBusiness\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}],[0,\"justifi-business-bank-account-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"bankAccount\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-business-terms-conditions-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"acceptedTermsBefore\":[32],\"validateAndSubmit\":[64]}]]],[\"justifi-additional-statement_11\",[[0,\"justifi-counter-dispute\",{\"currentStep\":[32],\"refs\":[32]}],[0,\"justifi-dispute-notification\"],[0,\"justifi-shipping-details\"],[0,\"justifi-customer-details\"],[0,\"justifi-duplicate-charge\"],[0,\"justifi-additional-statement\"],[0,\"justifi-cancellation-policy\"],[0,\"justifi-electronic-evidence\"],[0,\"justifi-refund-policy\"],[0,\"justifi-product-or-service\",{\"productOrService\":[32]}],[0,\"justifi-dispute-reason\"]]]]"), options);
20
20
  });
@@ -76,12 +76,14 @@ const Api = ({ authToken, apiOrigin }) => {
76
76
  'Content-Type': 'application/json',
77
77
  };
78
78
  }
79
- async function makeRequest(endpoint, method, params, body, signal) {
79
+ async function makeRequest(endpoint, method, params, body, signal, headers) {
80
80
  const url = `${apiOrigin}/v1/${endpoint}`;
81
81
  const requestUrl = params ? `${url}?${new URLSearchParams(params)}` : url;
82
+ const defaultHeaders = await getAuthorizationHeader();
83
+ const mergedHeaders = Object.assign(Object.assign({}, defaultHeaders), headers);
82
84
  const response = await fetch(requestUrl, {
83
85
  method: method,
84
- headers: await getAuthorizationHeader(),
86
+ headers: mergedHeaders,
85
87
  body: body,
86
88
  signal: signal,
87
89
  });
@@ -90,8 +92,8 @@ const Api = ({ authToken, apiOrigin }) => {
90
92
  }
91
93
  handleError(requestUrl);
92
94
  }
93
- async function get(endpoint, params, signal) {
94
- return makeRequest(endpoint, 'GET', params, null, signal);
95
+ async function get(endpoint, params, signal, headers) {
96
+ return makeRequest(endpoint, 'GET', params, null, signal, headers);
95
97
  }
96
98
  async function post(endpoint, body, params, signal) {
97
99
  return makeRequest(endpoint, 'POST', params, JSON.stringify(body), signal);
@@ -0,0 +1,83 @@
1
+ class Completion {
2
+ constructor(data) {
3
+ this.payment_mode = ICheckoutPaymentMode[data.payment_mode];
4
+ this.payment_token = data.payment_token;
5
+ this.payment_status = data.payment_status;
6
+ this.payment_response = data.payment_response;
7
+ this.payment_error_code = data.payment_error_code;
8
+ this.payment_error_description = data.payment_error_description;
9
+ this.checkout_id = data.checkout_id;
10
+ this.additional_transactions = data.additional_transactions;
11
+ this.payment_id = data.payment_id;
12
+ this.payment_method_id = data.payment_method_id;
13
+ this.status = data.status;
14
+ this.created_at = data.created_at;
15
+ this.updated_at = data.updated_at;
16
+ }
17
+ }
18
+ class Checkout {
19
+ constructor(data) {
20
+ var _a;
21
+ this.id = data.id;
22
+ this.description = data.description;
23
+ this.payment_intent_id = data.payment_intent_id;
24
+ this.account_id = data.account_id;
25
+ this.platform_account_id = data.platform_account_id;
26
+ this.payment_amount = data.payment_amount;
27
+ this.payment_client_id = data.payment_client_id;
28
+ this.payment_description = data.payment_description;
29
+ this.payment_methods = data.payment_methods;
30
+ this.payment_method_group_id = data.payment_method_group_id;
31
+ this.payment_settings = data.payment_settings;
32
+ this.bnpl = data.bnpl;
33
+ this.total_amount = data.total_amount;
34
+ this.insurance_amount = data.insurance_amount;
35
+ this.status = data.status;
36
+ this.payment_currency = data.payment_currency;
37
+ this.mode = data.mode;
38
+ this.statement_descriptor = data.statement_descriptor;
39
+ this.application_fees = data.application_fees;
40
+ this.successful_payment_id = data.successful_payment_id;
41
+ this.created_at = data.created_at;
42
+ this.updated_at = data.updated_at;
43
+ this.completions = (_a = data.completions) === null || _a === void 0 ? void 0 : _a.map((completion) => new Completion(completion));
44
+ }
45
+ get payment_mode() {
46
+ var _a, _b, _c, _d, _e, _f;
47
+ let paymentMode;
48
+ if (!this.completions || this.completions.length === 0) {
49
+ return ICheckoutPaymentMode.unknown;
50
+ }
51
+ const sortedCompletions = this.completions.sort((a, b) => {
52
+ return new Date(b.updated_at).getTime() - new Date(a.updated_at).getTime();
53
+ });
54
+ const lastCompletion = sortedCompletions[0];
55
+ if (lastCompletion.payment_mode) {
56
+ paymentMode = lastCompletion.payment_mode;
57
+ }
58
+ else if ((_c = (_b = (_a = lastCompletion.payment_response) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.payment_method) === null || _c === void 0 ? void 0 : _c.card) {
59
+ paymentMode = ICheckoutPaymentMode.card;
60
+ }
61
+ else if ((_f = (_e = (_d = lastCompletion.payment_response) === null || _d === void 0 ? void 0 : _d.data) === null || _e === void 0 ? void 0 : _e.payment_method) === null || _f === void 0 ? void 0 : _f.bank_account) {
62
+ paymentMode = ICheckoutPaymentMode.bank_account;
63
+ }
64
+ return paymentMode;
65
+ }
66
+ ;
67
+ }
68
+ var ICheckoutPaymentMode;
69
+ (function (ICheckoutPaymentMode) {
70
+ ICheckoutPaymentMode["bnpl"] = "Buy Now Pay Later";
71
+ ICheckoutPaymentMode["ecom"] = "E-commerce";
72
+ ICheckoutPaymentMode["card"] = "Card";
73
+ ICheckoutPaymentMode["bank_account"] = "Bank Account";
74
+ ICheckoutPaymentMode["card_present"] = "Card Present";
75
+ ICheckoutPaymentMode["unknown"] = "";
76
+ })(ICheckoutPaymentMode || (ICheckoutPaymentMode = {}));
77
+ var CompletionStatuses;
78
+ (function (CompletionStatuses) {
79
+ CompletionStatuses["failed"] = "failed";
80
+ CompletionStatuses["succeeded"] = "succeeded";
81
+ })(CompletionStatuses || (CompletionStatuses = {}));
82
+
83
+ export { Checkout as C };
@@ -10,6 +10,12 @@ var PaymentMethodTypes;
10
10
  PaymentMethodTypes["sezzle"] = "sezzle";
11
11
  PaymentMethodTypes["saved"] = "saved";
12
12
  })(PaymentMethodTypes || (PaymentMethodTypes = {}));
13
+ var PaymentTypes;
14
+ (function (PaymentTypes) {
15
+ PaymentTypes["card"] = "Card";
16
+ PaymentTypes["bankAccount"] = "ACH";
17
+ PaymentTypes["unknown"] = "Unknown";
18
+ })(PaymentTypes || (PaymentTypes = {}));
13
19
  var PaymentStatuses;
14
20
  (function (PaymentStatuses) {
15
21
  PaymentStatuses["pending"] = "pending";
@@ -17,6 +23,7 @@ var PaymentStatuses;
17
23
  PaymentStatuses["authorized"] = "authorized";
18
24
  PaymentStatuses["succeeded"] = "succeeded";
19
25
  PaymentStatuses["failed"] = "failed";
26
+ PaymentStatuses["canceled"] = "canceled";
20
27
  PaymentStatuses["disputed"] = "disputed";
21
28
  PaymentStatuses["fully_refunded"] = "fully_refunded";
22
29
  PaymentStatuses["partially_refunded"] = "partially_refunded";
@@ -115,6 +122,14 @@ class Payment {
115
122
  return PaymentDisputedStatuses.open;
116
123
  }
117
124
  }
125
+ get paymentType() {
126
+ if (this.payment_method) {
127
+ return this.payment_method.card ? PaymentTypes.card : PaymentTypes.bankAccount;
128
+ }
129
+ else {
130
+ return PaymentTypes.unknown;
131
+ }
132
+ }
118
133
  }
119
134
 
120
135
  export { PaymentMethodTypes as P, Payment as a };