@justifi/webcomponents 5.3.6 → 5.4.1

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 (605) hide show
  1. package/dist/cjs/{Api-f5280a80.js → Api-83d93333.js} +2 -2
  2. package/dist/cjs/{Checkout-eef27045.js → Checkout-f10bed8c.js} +1 -1
  3. package/dist/cjs/{Payment-c47ed1e1.js → Payment-3f483b7a.js} +1 -1
  4. package/dist/cjs/{SubAccount-df3d28dc.js → SubAccount-a27d4e9f.js} +8 -6
  5. package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -3
  6. package/dist/cjs/{badge-79e56b99.js → badge-364e6311.js} +1 -1
  7. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +11 -11
  8. package/dist/cjs/bank-account-form_9.cjs.entry.js +16 -16
  9. package/dist/cjs/billing-form_3.cjs.entry.js +11 -11
  10. package/dist/cjs/{business-additional-questions-schema-5c100f58.js → business-additional-questions-schema-8568cb79.js} +2 -2
  11. package/dist/cjs/business-details-core.cjs.entry.js +3 -3
  12. package/dist/cjs/{business-identity-schema-3b4d16f1.js → business-identity-schema-518ab6eb.js} +2 -2
  13. package/dist/cjs/{business.service-776142b1.js → business.service-6e8a29a2.js} +3 -3
  14. package/dist/cjs/{button-797bb3cc.js → button-4a9fd41e.js} +1 -1
  15. package/dist/cjs/{check-pkg-version-1f8b660c.js → check-pkg-version-75cc34ca.js} +2 -2
  16. package/dist/cjs/{checkout.service-c01e2cd7.js → checkout.service-61616349.js} +4 -4
  17. package/dist/cjs/checkouts-list-core.cjs.entry.js +10 -10
  18. package/dist/cjs/{checkouts-table-61543249.js → checkouts-table-14fcebd0.js} +3 -3
  19. package/dist/cjs/{custom-popper.cjs.entry.js → custom-popper_4.cjs.entry.js} +141 -2
  20. package/dist/cjs/{dispute.service-399de502.js → dispute.service-b68fdcc4.js} +4 -4
  21. package/dist/cjs/{event-types-666f1f22.js → event-types-5a6ce2b0.js} +2 -2
  22. package/dist/cjs/form-alert_5.cjs.entry.js +5 -5
  23. package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
  24. package/dist/cjs/form-control-date.cjs.entry.js +4 -4
  25. package/dist/cjs/{form-control-error-text-b782cdd0.js → form-control-error-text-3cff9b7b.js} +1 -1
  26. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
  27. package/dist/cjs/{form-control-help-text-ca3c8155.js → form-control-help-text-94ffed2c.js} +1 -1
  28. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +85 -0
  29. package/dist/cjs/form-control-monetary.cjs.entry.js +27 -40
  30. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +5 -5
  31. package/dist/cjs/form-control-number.cjs.entry.js +5 -5
  32. package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
  33. package/dist/cjs/{get-business-0bd063d2.js → get-business-d8f5db51.js} +2 -2
  34. package/dist/cjs/{get-payout-csv-11a983a0.js → get-payout-csv-f0c04d96.js} +4 -4
  35. package/dist/cjs/{get-subaccounts-224f9497.js → get-subaccounts-330a9e85.js} +4 -4
  36. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +5 -5
  37. package/dist/cjs/{header-1-ff669f3f.js → header-1-43b2b905.js} +1 -1
  38. package/dist/cjs/{header-3-f6642390.js → header-3-eb250a04.js} +1 -1
  39. package/dist/cjs/{index.esm-a397536a.js → index.esm-544c08fd.js} +0 -122
  40. package/dist/cjs/{insurance-state-66c9bea7.js → insurance-state-71f8b653.js} +1 -1
  41. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +12 -12
  42. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +18 -18
  43. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +10 -10
  44. package/dist/cjs/justifi-business-details.cjs.entry.js +7 -7
  45. package/dist/cjs/justifi-business-form.cjs.entry.js +15 -15
  46. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +2 -2
  47. package/dist/cjs/justifi-checkout-core.cjs.entry.js +8 -8
  48. package/dist/cjs/justifi-checkout.cjs.entry.js +10 -10
  49. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +6 -6
  50. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +13 -13
  51. package/dist/cjs/justifi-details.cjs.entry.js +2 -2
  52. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
  53. package/dist/cjs/justifi-dispute-management.cjs.entry.js +9 -9
  54. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +14 -14
  55. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +5 -5
  56. package/dist/cjs/justifi-order-terminals.cjs.entry.js +22 -24
  57. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +10 -10
  58. package/dist/cjs/justifi-payment-details.cjs.entry.js +10 -10
  59. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +3 -3
  60. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +5 -5
  61. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +4 -4
  62. package/dist/cjs/justifi-payments-list.cjs.entry.js +13 -13
  63. package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -10
  64. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +4 -4
  65. package/dist/cjs/justifi-payouts-list.cjs.entry.js +14 -14
  66. package/dist/cjs/justifi-refund-payment.cjs.entry.js +122 -0
  67. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +4 -4
  68. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +8 -8
  69. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +70 -0
  70. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +11 -11
  71. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +9 -6
  72. package/dist/cjs/justifi-terminals-list.cjs.entry.js +13 -13
  73. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +10 -10
  74. package/dist/cjs/loader.cjs.js +1 -1
  75. package/dist/cjs/{package-d34fcfa5.js → package-459e93fd.js} +2 -2
  76. package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
  77. package/dist/cjs/{parts-1fb925c2.js → parts-5ca90f9a.js} +14 -0
  78. package/dist/cjs/payment-details-core.cjs.entry.js +13 -13
  79. package/dist/cjs/{payment.service-f369b33c.js → payment.service-ff43bfc4.js} +4 -4
  80. package/dist/cjs/payments-list-core.cjs.entry.js +11 -11
  81. package/dist/cjs/{payments-status-ffdc54ff.js → payments-status-075aad0a.js} +1 -1
  82. package/dist/cjs/{payments-table-98b4e5e3.js → payments-table-802d767d.js} +3 -3
  83. package/dist/cjs/payout-details-core.cjs.entry.js +8 -8
  84. package/dist/cjs/payouts-list-core.cjs.entry.js +11 -11
  85. package/dist/cjs/{payouts-status-64fd0c68.js → payouts-status-ced97c2b.js} +1 -1
  86. package/dist/cjs/{payouts-table-ecfb826b.js → payouts-table-194a4343.js} +3 -3
  87. package/dist/cjs/{schema-validations-47a256f4.js → schema-validations-a7cefbdf.js} +1 -1
  88. package/dist/cjs/{skeleton-2ae76f16.js → skeleton-e8aa41d0.js} +1 -1
  89. package/dist/cjs/{spinner-15764f3c.js → spinner-580453f2.js} +1 -1
  90. package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
  91. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +25 -11
  92. package/dist/cjs/terminal-orders-list-params-state-c419078f.js +22 -0
  93. package/dist/cjs/{terminal-orders-table-f1bed365.js → terminal-orders-table-4df19497.js} +3 -3
  94. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
  95. package/dist/cjs/{terminal.service-4fd34835.js → terminal.service-56397d88.js} +6 -5
  96. package/dist/cjs/terminals-list-core.cjs.entry.js +10 -10
  97. package/dist/cjs/{terminals-table-30298ce4.js → terminals-table-9b313566.js} +14 -2
  98. package/dist/cjs/{utils-337befa9.js → utils-54719fda.js} +8 -2
  99. package/dist/cjs/{utils-3e3b8061.js → utils-f8714daa.js} +1 -1
  100. package/dist/cjs/webcomponents.cjs.js +1 -1
  101. package/dist/collection/actions/business/get-business.js +2 -2
  102. package/dist/collection/actions/terminal/get-terminal-models.js +2 -2
  103. package/dist/collection/actions/terminal/order-terminals.js +2 -2
  104. package/dist/collection/api/Api.js +2 -2
  105. package/dist/collection/api/Terminal.js +3 -1
  106. package/dist/collection/api/TerminalOrder.js +2 -2
  107. package/dist/collection/api/services/business.service.js +2 -2
  108. package/dist/collection/api/services/terminal.service.js +2 -1
  109. package/dist/collection/collection-manifest.json +7 -5
  110. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +1 -1
  111. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +1 -1
  112. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +1 -1
  113. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +1 -1
  114. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
  115. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +1 -1
  116. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +1 -1
  117. package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -1
  118. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +1 -1
  119. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
  120. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +1 -1
  121. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +1 -1
  122. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +1 -1
  123. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
  124. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -1
  125. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +1 -1
  126. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
  127. package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +255 -0
  128. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
  129. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +1 -1
  130. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
  131. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +1 -1
  132. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
  133. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
  134. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
  135. package/dist/collection/components/{billing-forms → checkout/billing-forms}/billing-form/billing-form.js +6 -6
  136. package/dist/collection/components/{billing-forms → checkout/billing-forms}/billing-form-schema.js +6 -2
  137. package/dist/collection/components/{billing-forms → checkout/billing-forms}/billing-form-wrapper.js +7 -7
  138. package/dist/collection/components/{billing-forms → checkout/billing-forms}/postal-form/postal-form.js +5 -5
  139. package/dist/collection/components/checkout/card-form/card-form.js +2 -2
  140. package/dist/collection/components/checkout/checkout-core.js +5 -5
  141. package/dist/collection/components/checkout/checkout.js +6 -6
  142. package/dist/collection/components/checkout/new-payment-method.js +5 -5
  143. package/dist/collection/components/checkout/payment-method-options.js +5 -5
  144. package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
  145. package/dist/collection/components/checkout/saved-payment-method.js +1 -1
  146. package/dist/collection/components/checkout/sezzle-payment-method.js +1 -1
  147. package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
  148. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
  149. package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
  150. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  151. package/dist/collection/components/dispute-management/dispute-management.js +1 -1
  152. package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
  153. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  154. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  155. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  156. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  157. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  158. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  159. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  160. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  161. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  162. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  163. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  164. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +1 -1
  165. package/dist/collection/components/order-terminals/order-terminals.js +24 -8
  166. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  167. package/dist/collection/components/payment-details/payment-details-core.js +7 -7
  168. package/dist/collection/components/payments-list/payments-list-core.js +1 -1
  169. package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
  170. package/dist/collection/components/payments-list/payments-list.js +1 -1
  171. package/dist/collection/components/payout-details/payout-details-core.js +1 -1
  172. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  173. package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
  174. package/dist/collection/components/payouts-list/payouts-list.js +1 -1
  175. package/dist/collection/components/refund-payment/refund-payment-schema.js +16 -0
  176. package/dist/collection/components/{refund-form/refund-form.js → refund-payment/refund-payment.js} +26 -65
  177. package/dist/collection/components/refund-payment/refund-reason-options.js +19 -0
  178. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +15 -2
  179. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +141 -0
  180. package/dist/collection/components/terminal-orders-list/terminal-orders-list-params-state.js +14 -0
  181. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
  182. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  183. package/dist/collection/components/terminals-list/terminals-list-filters.js +23 -3
  184. package/dist/collection/components/terminals-list/terminals-list.js +1 -1
  185. package/dist/collection/components/terminals-list/terminals-status.js +5 -0
  186. package/dist/collection/components/terminals-list/terminals-table.js +7 -0
  187. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +3 -3
  188. package/dist/collection/styles/parts.js +8 -0
  189. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  190. package/dist/collection/ui-components/filters/table-filters-menu.js +1 -1
  191. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  192. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  193. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  194. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  195. package/dist/collection/ui-components/form/form-control-monetary.js +72 -70
  196. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  197. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  198. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  199. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  200. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  201. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  202. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  203. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  204. package/dist/collection/{components → ui-components}/pagination-menu/pagination-menu.js +4 -4
  205. package/dist/collection/utils/utils.js +8 -2
  206. package/dist/docs.json +568 -143
  207. package/dist/esm/{Api-391d00e2.js → Api-52242eb0.js} +2 -2
  208. package/dist/esm/{Checkout-2bc873fb.js → Checkout-ba139944.js} +1 -1
  209. package/dist/esm/{Payment-82d2f453.js → Payment-39bfdd06.js} +1 -1
  210. package/dist/esm/{SubAccount-dbd4e50c.js → SubAccount-68403637.js} +7 -5
  211. package/dist/esm/additional-questions-details_5.entry.js +3 -3
  212. package/dist/esm/{badge-6f5acf30.js → badge-1be14e8c.js} +1 -1
  213. package/dist/esm/bank-account-document-form-inputs_4.entry.js +11 -11
  214. package/dist/esm/bank-account-form_9.entry.js +16 -16
  215. package/dist/esm/billing-form_3.entry.js +11 -11
  216. package/dist/esm/{business-additional-questions-schema-df76728f.js → business-additional-questions-schema-56308a54.js} +2 -2
  217. package/dist/esm/business-details-core.entry.js +3 -3
  218. package/dist/esm/{business-identity-schema-0a78fc59.js → business-identity-schema-24fcc4ef.js} +2 -2
  219. package/dist/esm/{business.service-f7c3b9f7.js → business.service-999196a4.js} +3 -3
  220. package/dist/esm/{button-79dcea75.js → button-fcee4da7.js} +1 -1
  221. package/dist/esm/{check-pkg-version-8e7e585e.js → check-pkg-version-b4d631be.js} +2 -2
  222. package/dist/esm/{checkout.service-382a16ec.js → checkout.service-e59354cc.js} +4 -4
  223. package/dist/esm/checkouts-list-core.entry.js +10 -10
  224. package/dist/esm/{checkouts-table-8a53cef9.js → checkouts-table-58604210.js} +3 -3
  225. package/dist/esm/{custom-popper.entry.js → custom-popper_4.entry.js} +140 -4
  226. package/dist/esm/{dispute.service-97887804.js → dispute.service-8312d46a.js} +4 -4
  227. package/dist/esm/{event-types-82515a49.js → event-types-1bc52f1f.js} +2 -2
  228. package/dist/esm/form-alert_5.entry.js +5 -5
  229. package/dist/esm/form-control-checkbox.entry.js +5 -5
  230. package/dist/esm/form-control-date.entry.js +4 -4
  231. package/dist/esm/{form-control-error-text-466c252b.js → form-control-error-text-176d20d8.js} +1 -1
  232. package/dist/esm/form-control-file-v2_2.entry.js +5 -5
  233. package/dist/esm/{form-control-help-text-242916e3.js → form-control-help-text-83764e14.js} +1 -1
  234. package/dist/esm/form-control-monetary-provisioning.entry.js +81 -0
  235. package/dist/esm/form-control-monetary.entry.js +27 -40
  236. package/dist/esm/form-control-number-masked_2.entry.js +5 -5
  237. package/dist/esm/form-control-number.entry.js +5 -5
  238. package/dist/esm/form-control-radio.entry.js +3 -3
  239. package/dist/esm/{get-business-464419f6.js → get-business-b7511690.js} +2 -2
  240. package/dist/esm/{get-payout-csv-6826271a.js → get-payout-csv-74397995.js} +4 -4
  241. package/dist/esm/{get-subaccounts-f21220dc.js → get-subaccounts-f8bd5c96.js} +4 -4
  242. package/dist/esm/gross-payment-chart-core.entry.js +5 -5
  243. package/dist/esm/{header-1-b43590e5.js → header-1-215a146f.js} +1 -1
  244. package/dist/esm/{header-3-b90e161e.js → header-3-afd16f23.js} +1 -1
  245. package/dist/esm/{index.esm-0b6849c2.js → index.esm-feedf26f.js} +1 -122
  246. package/dist/esm/{insurance-state-9e4a3359.js → insurance-state-d2df8e88.js} +1 -1
  247. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +12 -12
  248. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +18 -18
  249. package/dist/esm/justifi-additional-statement_8.entry.js +10 -10
  250. package/dist/esm/justifi-business-details.entry.js +7 -7
  251. package/dist/esm/justifi-business-form.entry.js +15 -15
  252. package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
  253. package/dist/esm/justifi-checkout-core.entry.js +8 -8
  254. package/dist/esm/justifi-checkout.entry.js +10 -10
  255. package/dist/esm/justifi-checkouts-list-filters.entry.js +6 -6
  256. package/dist/esm/justifi-checkouts-list.entry.js +13 -13
  257. package/dist/esm/justifi-details.entry.js +2 -2
  258. package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
  259. package/dist/esm/justifi-dispute-management.entry.js +9 -9
  260. package/dist/esm/justifi-dispute-notification_3.entry.js +14 -14
  261. package/dist/esm/justifi-gross-payment-chart.entry.js +5 -5
  262. package/dist/esm/justifi-order-terminals.entry.js +22 -24
  263. package/dist/esm/justifi-owner-form_3.entry.js +10 -10
  264. package/dist/esm/justifi-payment-details.entry.js +10 -10
  265. package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -3
  266. package/dist/esm/justifi-payment-provisioning.entry.js +5 -5
  267. package/dist/esm/justifi-payments-list-filters.entry.js +4 -4
  268. package/dist/esm/justifi-payments-list.entry.js +13 -13
  269. package/dist/esm/justifi-payout-details.entry.js +10 -10
  270. package/dist/esm/justifi-payouts-list-filters.entry.js +4 -4
  271. package/dist/esm/justifi-payouts-list.entry.js +14 -14
  272. package/dist/esm/justifi-refund-payment.entry.js +118 -0
  273. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +4 -4
  274. package/dist/esm/justifi-season-interruption-insurance.entry.js +8 -8
  275. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +66 -0
  276. package/dist/esm/justifi-terminal-orders-list.entry.js +11 -11
  277. package/dist/esm/justifi-terminals-list-filters.entry.js +9 -6
  278. package/dist/esm/justifi-terminals-list.entry.js +13 -13
  279. package/dist/esm/justifi-tokenize-payment-method.entry.js +10 -10
  280. package/dist/esm/loader.js +1 -1
  281. package/dist/esm/{package-46c7f3a6.js → package-53180f2a.js} +2 -2
  282. package/dist/esm/pagination-menu.entry.js +1 -1
  283. package/dist/esm/{parts-2c5c609b.js → parts-fd740f54.js} +9 -1
  284. package/dist/esm/payment-details-core.entry.js +13 -13
  285. package/dist/esm/{payment.service-a8aa5be7.js → payment.service-b9ec64c9.js} +4 -4
  286. package/dist/esm/payments-list-core.entry.js +11 -11
  287. package/dist/esm/{payments-status-6e203ce4.js → payments-status-74d22728.js} +1 -1
  288. package/dist/esm/{payments-table-4c6093e1.js → payments-table-26054032.js} +3 -3
  289. package/dist/esm/payout-details-core.entry.js +8 -8
  290. package/dist/esm/payouts-list-core.entry.js +11 -11
  291. package/dist/esm/{payouts-status-66e830f1.js → payouts-status-29d31099.js} +1 -1
  292. package/dist/esm/{payouts-table-46fbedb6.js → payouts-table-7f31db9d.js} +3 -3
  293. package/dist/esm/{schema-validations-b1aec6a0.js → schema-validations-5af4266a.js} +1 -1
  294. package/dist/esm/{skeleton-122648e6.js → skeleton-ab3f676e.js} +1 -1
  295. package/dist/esm/{spinner-14cd9ac7.js → spinner-27479716.js} +1 -1
  296. package/dist/esm/table-filters-menu.entry.js +3 -3
  297. package/dist/esm/terminal-orders-list-core.entry.js +25 -11
  298. package/dist/esm/terminal-orders-list-params-state-8fec0a0b.js +16 -0
  299. package/dist/esm/{terminal-orders-table-83b905fd.js → terminal-orders-table-1f6156c9.js} +3 -3
  300. package/dist/esm/terminal-quantity-selector.entry.js +2 -2
  301. package/dist/esm/{terminal.service-20445fc1.js → terminal.service-fff19896.js} +6 -5
  302. package/dist/esm/terminals-list-core.entry.js +10 -10
  303. package/dist/esm/{terminals-table-dbbf9a99.js → terminals-table-7d54e359.js} +14 -2
  304. package/dist/esm/{utils-4cb0d852.js → utils-96d9c205.js} +1 -1
  305. package/dist/esm/{utils-c37124fc.js → utils-dc86cdde.js} +8 -3
  306. package/dist/esm/webcomponents.js +1 -1
  307. package/dist/module/Api.js +2 -2
  308. package/dist/module/SubAccount.js +6 -4
  309. package/dist/module/additional-questions.js +4 -4
  310. package/dist/module/additional-statement.js +1 -1
  311. package/dist/module/bank-account-document-inputs.js +1 -1
  312. package/dist/module/bank-account-form-inputs2.js +1 -1
  313. package/dist/module/bank-account-form2.js +2 -2
  314. package/dist/module/billing-form-wrapper.js +1 -1
  315. package/dist/module/billing-form2.js +3 -3
  316. package/dist/module/business-additional-questions-form-step-core.js +4 -4
  317. package/dist/module/business-additional-questions-form-step.js +4 -4
  318. package/dist/module/business-bank-account-form-step.js +1 -1
  319. package/dist/module/business-core-info-form-step.js +1 -1
  320. package/dist/module/business-core-info.js +1 -1
  321. package/dist/module/business-owners-form-step.js +1 -1
  322. package/dist/module/business-representative-form-inputs.js +1 -1
  323. package/dist/module/business-representative-form-step.js +1 -1
  324. package/dist/module/business-representative.js +1 -1
  325. package/dist/module/business-terms-conditions-form-step.js +1 -1
  326. package/dist/module/business.service.js +2 -2
  327. package/dist/module/cancellation-policy.js +1 -1
  328. package/dist/module/card-form2.js +2 -2
  329. package/dist/module/checkout-core.js +1 -1
  330. package/dist/module/checkouts-list-core2.js +1 -1
  331. package/dist/module/custom-popper2.js +2 -2
  332. package/dist/module/customer-details.js +1 -1
  333. package/dist/module/dispute-management-core.js +1 -1
  334. package/dist/module/dispute-notification.js +1 -1
  335. package/dist/module/dispute-response-core.js +1 -1
  336. package/dist/module/dispute-response.js +1 -1
  337. package/dist/module/duplicate-charge.js +1 -1
  338. package/dist/module/electronic-evidence.js +1 -1
  339. package/dist/module/form-control-checkbox2.js +2 -2
  340. package/dist/module/form-control-date2.js +2 -2
  341. package/dist/module/form-control-file-v22.js +1 -1
  342. package/dist/module/form-control-file2.js +2 -2
  343. package/dist/module/form-control-monetary-provisioning.d.ts +11 -0
  344. package/dist/module/form-control-monetary-provisioning.js +6 -0
  345. package/dist/module/form-control-monetary-provisioning2.js +109 -0
  346. package/dist/module/form-control-monetary2.js +30 -42
  347. package/dist/module/form-control-number-masked2.js +2 -2
  348. package/dist/module/form-control-number.js +2 -2
  349. package/dist/module/form-control-radio2.js +2 -2
  350. package/dist/module/form-control-select2.js +2 -2
  351. package/dist/module/form-control-text2.js +2 -2
  352. package/dist/module/form-control-textarea2.js +2 -2
  353. package/dist/module/form.js +1 -122
  354. package/dist/module/get-business.js +2 -2
  355. package/dist/module/gross-payment-chart-core2.js +1 -1
  356. package/dist/module/hidden-input2.js +1 -1
  357. package/dist/module/identity-address-form.js +1 -1
  358. package/dist/module/iframe-input2.js +3 -3
  359. package/dist/module/justifi-business-form.js +3 -3
  360. package/dist/module/justifi-checkout.js +2 -2
  361. package/dist/module/justifi-checkouts-list-filters.js +1 -1
  362. package/dist/module/justifi-checkouts-list.js +1 -1
  363. package/dist/module/justifi-dispute-management.js +1 -1
  364. package/dist/module/justifi-order-terminals.js +11 -12
  365. package/dist/module/justifi-payment-provisioning.js +4 -4
  366. package/dist/module/justifi-payments-list-filters.js +2 -2
  367. package/dist/module/justifi-payments-list.js +1 -1
  368. package/dist/module/justifi-payouts-list-filters.js +2 -2
  369. package/dist/module/justifi-payouts-list.js +1 -1
  370. package/dist/module/justifi-refund-payment.d.ts +11 -0
  371. package/dist/module/justifi-refund-payment.js +180 -0
  372. package/dist/module/justifi-season-interruption-insurance.js +1 -1
  373. package/dist/module/justifi-terminal-orders-list-filters.d.ts +11 -0
  374. package/dist/module/justifi-terminal-orders-list-filters.js +119 -0
  375. package/dist/module/justifi-terminal-orders-list.js +1 -1
  376. package/dist/module/justifi-terminals-list-filters.js +6 -2
  377. package/dist/module/justifi-terminals-list.js +2 -2
  378. package/dist/module/justifi-tokenize-payment-method.js +1 -1
  379. package/dist/module/legal-address-form-step.js +1 -1
  380. package/dist/module/legal-address-form.js +1 -1
  381. package/dist/module/new-payment-method.js +1 -1
  382. package/dist/module/owner-form-core2.js +1 -1
  383. package/dist/module/owner-form-inputs2.js +1 -1
  384. package/dist/module/owner-form.js +1 -1
  385. package/dist/module/package.js +2 -2
  386. package/dist/module/parts.js +9 -1
  387. package/dist/module/payment-details-core2.js +7 -7
  388. package/dist/module/payment-method-options.js +1 -1
  389. package/dist/module/payment-provisioning-core.js +4 -4
  390. package/dist/module/payment-provisioning-form-buttons.js +1 -1
  391. package/dist/module/payment-provisioning-form-steps.js +4 -4
  392. package/dist/module/payments-list-core2.js +1 -1
  393. package/dist/module/payout-details-core2.js +1 -1
  394. package/dist/module/payouts-list-core2.js +1 -1
  395. package/dist/module/postal-form2.js +1 -1
  396. package/dist/module/product-or-service.js +1 -1
  397. package/dist/module/refund-policy.js +1 -1
  398. package/dist/module/save-new-payment-method.js +1 -1
  399. package/dist/module/saved-payment-method.js +1 -1
  400. package/dist/module/sezzle-payment-method.js +1 -1
  401. package/dist/module/shipping-details.js +1 -1
  402. package/dist/module/table-filters-menu2.js +1 -1
  403. package/dist/module/terminal-orders-list-core2.js +15 -2
  404. package/dist/module/terminal-orders-list-params-state.js +16 -0
  405. package/dist/module/terminal-quantity-selector2.js +1 -1
  406. package/dist/module/terminal.service.js +2 -1
  407. package/dist/module/terminals-list-core2.js +13 -1
  408. package/dist/module/utils2.js +8 -3
  409. package/dist/types/actions/business/get-business.d.ts +2 -1
  410. package/dist/types/actions/terminal/get-terminal-models.d.ts +2 -1
  411. package/dist/types/actions/terminal/order-terminals.d.ts +2 -1
  412. package/dist/types/api/Api.d.ts +1 -1
  413. package/dist/types/api/Terminal.d.ts +8 -3
  414. package/dist/types/api/TerminalOrder.d.ts +9 -3
  415. package/dist/types/api/services/business.service.d.ts +1 -1
  416. package/dist/types/components/business-forms/payment-provisioning/form-control-monetary-provisioning.d.ts +24 -0
  417. package/dist/types/components/{billing-forms → checkout/billing-forms}/billing-form/billing-form.d.ts +1 -1
  418. package/dist/types/components/{billing-forms → checkout/billing-forms}/postal-form/postal-form.d.ts +1 -1
  419. package/dist/types/components/checkout/checkout-core.d.ts +1 -1
  420. package/dist/types/components/checkout/checkout.d.ts +1 -1
  421. package/dist/types/components/checkout/new-payment-method.d.ts +1 -1
  422. package/dist/types/components/checkout/payment-method-options.d.ts +1 -1
  423. package/dist/types/components/order-terminals/order-terminals.d.ts +1 -1
  424. package/dist/types/components/refund-payment/refund-payment-schema.d.ts +11 -0
  425. package/dist/types/components/{refund-form/refund-form.d.ts → refund-payment/refund-payment.d.ts} +6 -13
  426. package/dist/types/components/refund-payment/refund-reason-options.d.ts +5 -0
  427. package/dist/types/components/terminal-orders-list/terminal-orders-list-core.d.ts +1 -0
  428. package/dist/types/components/terminal-orders-list/terminal-orders-list-filters.d.ts +19 -0
  429. package/dist/types/components/terminal-orders-list/terminal-orders-list-params-state.d.ts +6 -0
  430. package/dist/types/components/terminals-list/terminals-list-filters.d.ts +1 -0
  431. package/dist/types/components/terminals-list/terminals-status.d.ts +2 -1
  432. package/dist/types/components/terminals-list/terminals-table.d.ts +6 -0
  433. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +1 -1
  434. package/dist/types/components.d.ts +111 -53
  435. package/dist/types/styles/parts.d.ts +7 -0
  436. package/dist/types/ui-components/form/form-control-monetary.d.ts +9 -10
  437. package/dist/types/utils/utils.d.ts +2 -1
  438. package/dist/webcomponents/p-00ae938e.entry.js +1 -0
  439. package/dist/webcomponents/p-01033194.js +1 -0
  440. package/dist/webcomponents/p-0151a19f.entry.js +1 -0
  441. package/dist/webcomponents/{p-694078d2.js → p-03c2261c.js} +1 -1
  442. package/dist/webcomponents/{p-2ca5b5e4.js → p-08b64251.js} +1 -1
  443. package/dist/webcomponents/p-0b61d4d3.entry.js +1 -0
  444. package/dist/webcomponents/{p-547b51e9.js → p-12074378.js} +1 -1
  445. package/dist/webcomponents/p-142bfae3.js +1 -0
  446. package/dist/webcomponents/p-1aa973c4.entry.js +1 -0
  447. package/dist/webcomponents/p-2123c150.js +1 -0
  448. package/dist/webcomponents/p-23cd76af.entry.js +1 -0
  449. package/dist/webcomponents/{p-087758d3.js → p-26a2e837.js} +1 -1
  450. package/dist/webcomponents/p-27546fa9.entry.js +1 -0
  451. package/dist/webcomponents/p-275c3dc9.js +1 -0
  452. package/dist/webcomponents/p-2b8aaa7d.entry.js +1 -0
  453. package/dist/webcomponents/p-2c65389c.entry.js +1 -0
  454. package/dist/webcomponents/p-31dcaeaf.entry.js +1 -0
  455. package/dist/webcomponents/p-373a19fe.entry.js +1 -0
  456. package/dist/webcomponents/{p-3947a309.entry.js → p-375657fe.entry.js} +1 -1
  457. package/dist/webcomponents/{p-6ef3de11.entry.js → p-385d3637.entry.js} +1 -1
  458. package/dist/webcomponents/{p-f3061f2a.entry.js → p-38900c29.entry.js} +1 -1
  459. package/dist/webcomponents/{p-daf0303f.js → p-422948eb.js} +1 -1
  460. package/dist/webcomponents/{p-b92aac9b.entry.js → p-43e225d2.entry.js} +1 -1
  461. package/dist/webcomponents/{p-8c461ebc.entry.js → p-4484aa3b.entry.js} +1 -1
  462. package/dist/webcomponents/p-45f48dce.entry.js +1 -0
  463. package/dist/webcomponents/{p-9894484a.js → p-4e010557.js} +1 -1
  464. package/dist/webcomponents/p-4ef98c7a.js +1 -0
  465. package/dist/webcomponents/p-4fc263b2.js +1 -0
  466. package/dist/webcomponents/{p-4acf8ca2.js → p-537bce77.js} +1 -1
  467. package/dist/webcomponents/p-56c7fc8d.js +1 -0
  468. package/dist/webcomponents/{p-cd68707b.entry.js → p-58476602.entry.js} +1 -1
  469. package/dist/webcomponents/{p-71897cbc.js → p-58ee6ce9.js} +1 -1
  470. package/dist/webcomponents/p-59eef054.entry.js +1 -0
  471. package/dist/webcomponents/{p-2027145a.entry.js → p-5a9d7ca0.entry.js} +1 -1
  472. package/dist/webcomponents/{p-a173ccd5.entry.js → p-5ae9faf6.entry.js} +1 -1
  473. package/dist/webcomponents/p-5b459422.entry.js +1 -0
  474. package/dist/webcomponents/p-5b76dbe1.entry.js +1 -0
  475. package/dist/webcomponents/{p-046ecd01.js → p-5efe6236.js} +1 -1
  476. package/dist/webcomponents/{p-0e180654.js → p-5f6b4bc9.js} +1 -1
  477. package/dist/webcomponents/p-64443fc0.js +1 -0
  478. package/dist/webcomponents/p-673c1bca.js +1 -0
  479. package/dist/webcomponents/p-6c79e7c3.entry.js +1 -0
  480. package/dist/webcomponents/p-6d3611b6.entry.js +1 -0
  481. package/dist/webcomponents/{p-0cefd846.entry.js → p-745a577c.entry.js} +1 -1
  482. package/dist/webcomponents/p-76549a24.js +1 -0
  483. package/dist/webcomponents/{p-7ed52fbc.entry.js → p-7a6feb58.entry.js} +1 -1
  484. package/dist/webcomponents/p-80867635.entry.js +1 -0
  485. package/dist/webcomponents/p-86605101.js +1 -0
  486. package/dist/webcomponents/{p-8066b866.js → p-927cb6df.js} +1 -1
  487. package/dist/webcomponents/{p-030a8806.entry.js → p-92e96b57.entry.js} +1 -1
  488. package/dist/webcomponents/{p-8971f9da.entry.js → p-942d5e8f.entry.js} +1 -1
  489. package/dist/webcomponents/p-a1be025c.entry.js +1 -0
  490. package/dist/webcomponents/p-a3cced75.entry.js +1 -0
  491. package/dist/webcomponents/{p-c54f54ed.js → p-a5579f53.js} +1 -1
  492. package/dist/webcomponents/{p-fa987dcf.js → p-a5b52c1d.js} +1 -1
  493. package/dist/webcomponents/{p-0a60d356.entry.js → p-a5f5cc2e.entry.js} +1 -1
  494. package/dist/webcomponents/{p-b69beb1c.js → p-a99525c5.js} +1 -1
  495. package/dist/webcomponents/p-ac40e667.js +1 -0
  496. package/dist/webcomponents/p-adecb91a.entry.js +1 -0
  497. package/dist/webcomponents/p-ae891abb.entry.js +1 -0
  498. package/dist/webcomponents/p-ae9ef225.js +1 -0
  499. package/dist/webcomponents/p-b323bbde.entry.js +1 -0
  500. package/dist/webcomponents/p-ba6fd830.entry.js +1 -0
  501. package/dist/webcomponents/{p-e4514af8.entry.js → p-bae35151.entry.js} +1 -1
  502. package/dist/webcomponents/p-bb4b3f79.entry.js +1 -0
  503. package/dist/webcomponents/{p-69ac2640.entry.js → p-bdbbee07.entry.js} +1 -1
  504. package/dist/webcomponents/p-bdcf3a3c.entry.js +1 -0
  505. package/dist/webcomponents/p-beec0b60.js +1 -0
  506. package/dist/webcomponents/{p-95e55bb1.js → p-bf12999f.js} +1 -1
  507. package/dist/webcomponents/p-bf195b35.js +1 -0
  508. package/dist/webcomponents/{p-e60867c6.js → p-bfc2d88a.js} +1 -1
  509. package/dist/webcomponents/p-c4f8ed38.js +1 -0
  510. package/dist/webcomponents/{p-b5addd78.js → p-c8b78136.js} +1 -1
  511. package/dist/webcomponents/p-c8fa00fd.entry.js +1 -0
  512. package/dist/webcomponents/p-c93d643b.js +1 -0
  513. package/dist/webcomponents/p-cc2f75a3.entry.js +1 -0
  514. package/dist/webcomponents/p-ccb9ee53.js +1 -0
  515. package/dist/webcomponents/{p-ee9d433f.js → p-cd5883b9.js} +1 -1
  516. package/dist/webcomponents/p-cedad1b6.entry.js +1 -0
  517. package/dist/webcomponents/{p-8fad4359.entry.js → p-d70610de.entry.js} +1 -1
  518. package/dist/webcomponents/p-d757fcf5.js +1 -0
  519. package/dist/webcomponents/p-d7bf921d.entry.js +1 -0
  520. package/dist/webcomponents/{p-10a14943.entry.js → p-d903d838.entry.js} +1 -1
  521. package/dist/webcomponents/{p-5efe9572.entry.js → p-d9b5140e.entry.js} +1 -1
  522. package/dist/webcomponents/{p-fd4607f9.entry.js → p-d9dc15d4.entry.js} +1 -1
  523. package/dist/webcomponents/p-db973fa9.entry.js +1 -0
  524. package/dist/webcomponents/p-dbc1a95b.js +1 -0
  525. package/dist/webcomponents/{p-1e300d41.js → p-dbf21732.js} +1 -1
  526. package/dist/webcomponents/{p-e754d8e7.entry.js → p-ddb642a4.entry.js} +2 -2
  527. package/dist/webcomponents/p-df20bbb3.entry.js +1 -0
  528. package/dist/webcomponents/p-e9867f8b.entry.js +1 -0
  529. package/dist/webcomponents/p-ed9d22d5.entry.js +1 -0
  530. package/dist/webcomponents/p-ee539373.entry.js +1 -0
  531. package/dist/webcomponents/{p-685c7028.entry.js → p-f20466f7.entry.js} +1 -1
  532. package/dist/webcomponents/p-f247b169.entry.js +1 -0
  533. package/dist/webcomponents/p-f930504f.entry.js +1 -0
  534. package/dist/webcomponents/p-fc43d1c8.entry.js +1 -0
  535. package/dist/webcomponents/{p-e8fc36c1.entry.js → p-fca89e9b.entry.js} +1 -1
  536. package/dist/webcomponents/webcomponents.esm.js +1 -1
  537. package/package.json +2 -2
  538. package/dist/cjs/form-control-select_3.cjs.entry.js +0 -145
  539. package/dist/cjs/justifi-refund-form.cjs.entry.js +0 -106
  540. package/dist/collection/components/refund-form/refund-form-schema.js +0 -13
  541. package/dist/collection/components/refund-form/refund-form.stories.js +0 -109
  542. package/dist/esm/form-control-select_3.entry.js +0 -139
  543. package/dist/esm/justifi-refund-form.entry.js +0 -102
  544. package/dist/module/justifi-refund-form.d.ts +0 -11
  545. package/dist/module/justifi-refund-form.js +0 -153
  546. package/dist/types/components/refund-form/refund-form-schema.d.ts +0 -11
  547. package/dist/types/components/refund-form/refund-form.stories.d.ts +0 -27
  548. package/dist/webcomponents/p-0137575f.entry.js +0 -1
  549. package/dist/webcomponents/p-039a09b8.entry.js +0 -1
  550. package/dist/webcomponents/p-0ba77d53.entry.js +0 -1
  551. package/dist/webcomponents/p-0c22225c.entry.js +0 -1
  552. package/dist/webcomponents/p-10e32428.entry.js +0 -1
  553. package/dist/webcomponents/p-1705af62.js +0 -1
  554. package/dist/webcomponents/p-19b8c3c8.entry.js +0 -1
  555. package/dist/webcomponents/p-1a48d917.entry.js +0 -1
  556. package/dist/webcomponents/p-222fa126.entry.js +0 -1
  557. package/dist/webcomponents/p-33a17e80.entry.js +0 -1
  558. package/dist/webcomponents/p-34e18d17.entry.js +0 -1
  559. package/dist/webcomponents/p-36edba41.entry.js +0 -1
  560. package/dist/webcomponents/p-3732aa87.js +0 -1
  561. package/dist/webcomponents/p-382ab4e8.js +0 -1
  562. package/dist/webcomponents/p-3cbdca1b.js +0 -1
  563. package/dist/webcomponents/p-4d5c553d.entry.js +0 -1
  564. package/dist/webcomponents/p-5844a0f0.js +0 -1
  565. package/dist/webcomponents/p-5ee67fad.js +0 -1
  566. package/dist/webcomponents/p-638b91ff.entry.js +0 -1
  567. package/dist/webcomponents/p-6a2d6298.entry.js +0 -1
  568. package/dist/webcomponents/p-759f25a1.entry.js +0 -1
  569. package/dist/webcomponents/p-7dc9fb75.js +0 -1
  570. package/dist/webcomponents/p-7e93eac9.entry.js +0 -1
  571. package/dist/webcomponents/p-830f0971.entry.js +0 -1
  572. package/dist/webcomponents/p-833ef79e.entry.js +0 -1
  573. package/dist/webcomponents/p-9dc9aaba.js +0 -1
  574. package/dist/webcomponents/p-9f1a3199.js +0 -1
  575. package/dist/webcomponents/p-a07afdcc.entry.js +0 -1
  576. package/dist/webcomponents/p-a3d75257.js +0 -1
  577. package/dist/webcomponents/p-a957612b.entry.js +0 -1
  578. package/dist/webcomponents/p-aa21cdb1.entry.js +0 -1
  579. package/dist/webcomponents/p-aa923138.entry.js +0 -1
  580. package/dist/webcomponents/p-ad473d5c.entry.js +0 -1
  581. package/dist/webcomponents/p-b11468b5.entry.js +0 -1
  582. package/dist/webcomponents/p-b4ed5a2c.js +0 -1
  583. package/dist/webcomponents/p-b62403c2.entry.js +0 -1
  584. package/dist/webcomponents/p-b76f755a.entry.js +0 -1
  585. package/dist/webcomponents/p-b8ee505d.entry.js +0 -1
  586. package/dist/webcomponents/p-b92f125b.entry.js +0 -1
  587. package/dist/webcomponents/p-bd2340f7.entry.js +0 -1
  588. package/dist/webcomponents/p-bd2d9d29.entry.js +0 -1
  589. package/dist/webcomponents/p-bdf0ab42.js +0 -1
  590. package/dist/webcomponents/p-c406c0fa.js +0 -1
  591. package/dist/webcomponents/p-c5cc443e.entry.js +0 -1
  592. package/dist/webcomponents/p-d43a38a4.js +0 -1
  593. package/dist/webcomponents/p-d5a481e4.entry.js +0 -1
  594. package/dist/webcomponents/p-e366ef1e.js +0 -1
  595. package/dist/webcomponents/p-e400e31f.entry.js +0 -1
  596. package/dist/webcomponents/p-eb05bd1e.entry.js +0 -1
  597. package/dist/webcomponents/p-ede13cc8.js +0 -1
  598. package/dist/webcomponents/p-f04dbd80.entry.js +0 -1
  599. package/dist/webcomponents/p-f2111e68.js +0 -1
  600. package/dist/webcomponents/p-f30cb232.js +0 -1
  601. package/dist/webcomponents/p-fae67ab3.js +0 -1
  602. package/dist/webcomponents/p-ffd0c24b.entry.js +0 -1
  603. /package/dist/types/components/{billing-forms → checkout/billing-forms}/billing-form-schema.d.ts +0 -0
  604. /package/dist/types/components/{billing-forms → checkout/billing-forms}/billing-form-wrapper.d.ts +0 -0
  605. /package/dist/types/{components → ui-components}/pagination-menu/pagination-menu.d.ts +0 -0
@@ -6,12 +6,12 @@
6
6
  */
7
7
  import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
8
  import { IAdditionalQuestions, IAddress, IBusiness } from "./api/Business";
9
- import { ComponentClickEvent as ComponentClickEvent1, ComponentErrorCodes, ComponentErrorEvent as ComponentErrorEvent1, ComponentFormStepCompleteEvent as ComponentFormStepCompleteEvent1, ComponentSubmitEvent as ComponentSubmitEvent1, FileSelectEvent, IApiResponse, IBnpl, ICheckoutPaymentModeParam, ICheckoutStatus, ILoadedEventResponse, ITerminalStatus, TerminalModelName } from "./api";
10
- import { BillingFormFields, PostalFormFields } from "./components/billing-forms/billing-form-schema";
9
+ import { ComponentClickEvent as ComponentClickEvent1, ComponentErrorCodes, ComponentErrorEvent as ComponentErrorEvent1, ComponentFormStepCompleteEvent as ComponentFormStepCompleteEvent1, ComponentSubmitEvent as ComponentSubmitEvent1, FileSelectEvent, IApiResponse, IBnpl, ICheckoutPaymentModeParam, ICheckoutStatus, ILoadedEventResponse, ITerminalStatus, TerminalModelName, TerminalOrderStatus, TerminalOrderType } from "./api";
10
+ import { BillingFormFields, PostalFormFields } from "./components/checkout/billing-forms/billing-form-schema";
11
11
  import { ComponentClickEvent, ComponentErrorEvent, ComponentFormStepCompleteEvent, ComponentSubmitEvent } from "./api/ComponentEvents";
12
12
  import { Placement, PositioningStrategy } from "@popperjs/core";
13
13
  import { EntityDocumentType, FileSelectEvent as FileSelectEvent1 } from "./api/Document";
14
- import { FormController } from "./components";
14
+ import { BillingFormFields as BillingFormFields1, FormController } from "./components";
15
15
  import { DisputeEvidenceDocument } from "./api/DisputeEvidenceDocument";
16
16
  import { DisputeResponseFormStep } from "./components/dispute-management/dispute-response/dispute-response-form-types";
17
17
  import { FormController as FormController1 } from "./ui-components/form/form";
@@ -19,16 +19,16 @@ import { ILoadedEventResponse as ILoadedEventResponse1 } from "./api/Checkout";
19
19
  import { Dispute, IDispute } from "./api/Dispute";
20
20
  import { PaymentMethodOption } from "./components/checkout/payment-method-option-utils";
21
21
  import { PaymentMethodPayload } from "./components/checkout/payment-method-payload";
22
- import { RefundFormFields } from "./components/refund-form/refund-form-schema";
22
+ import { RefundPaymentFields } from "./components/refund-payment/refund-payment-schema";
23
23
  import { Identity } from "./api/Identity";
24
- import { PaginationProps } from "./components/pagination-menu/pagination-menu";
24
+ import { PaginationProps } from "./ui-components/pagination-menu/pagination-menu";
25
25
  export { IAdditionalQuestions, IAddress, IBusiness } from "./api/Business";
26
- export { ComponentClickEvent as ComponentClickEvent1, ComponentErrorCodes, ComponentErrorEvent as ComponentErrorEvent1, ComponentFormStepCompleteEvent as ComponentFormStepCompleteEvent1, ComponentSubmitEvent as ComponentSubmitEvent1, FileSelectEvent, IApiResponse, IBnpl, ICheckoutPaymentModeParam, ICheckoutStatus, ILoadedEventResponse, ITerminalStatus, TerminalModelName } from "./api";
27
- export { BillingFormFields, PostalFormFields } from "./components/billing-forms/billing-form-schema";
26
+ export { ComponentClickEvent as ComponentClickEvent1, ComponentErrorCodes, ComponentErrorEvent as ComponentErrorEvent1, ComponentFormStepCompleteEvent as ComponentFormStepCompleteEvent1, ComponentSubmitEvent as ComponentSubmitEvent1, FileSelectEvent, IApiResponse, IBnpl, ICheckoutPaymentModeParam, ICheckoutStatus, ILoadedEventResponse, ITerminalStatus, TerminalModelName, TerminalOrderStatus, TerminalOrderType } from "./api";
27
+ export { BillingFormFields, PostalFormFields } from "./components/checkout/billing-forms/billing-form-schema";
28
28
  export { ComponentClickEvent, ComponentErrorEvent, ComponentFormStepCompleteEvent, ComponentSubmitEvent } from "./api/ComponentEvents";
29
29
  export { Placement, PositioningStrategy } from "@popperjs/core";
30
30
  export { EntityDocumentType, FileSelectEvent as FileSelectEvent1 } from "./api/Document";
31
- export { FormController } from "./components";
31
+ export { BillingFormFields as BillingFormFields1, FormController } from "./components";
32
32
  export { DisputeEvidenceDocument } from "./api/DisputeEvidenceDocument";
33
33
  export { DisputeResponseFormStep } from "./components/dispute-management/dispute-response/dispute-response-form-types";
34
34
  export { FormController as FormController1 } from "./ui-components/form/form";
@@ -36,9 +36,9 @@ export { ILoadedEventResponse as ILoadedEventResponse1 } from "./api/Checkout";
36
36
  export { Dispute, IDispute } from "./api/Dispute";
37
37
  export { PaymentMethodOption } from "./components/checkout/payment-method-option-utils";
38
38
  export { PaymentMethodPayload } from "./components/checkout/payment-method-payload";
39
- export { RefundFormFields } from "./components/refund-form/refund-form-schema";
39
+ export { RefundPaymentFields } from "./components/refund-payment/refund-payment-schema";
40
40
  export { Identity } from "./api/Identity";
41
- export { PaginationProps } from "./components/pagination-menu/pagination-menu";
41
+ export { PaginationProps } from "./ui-components/pagination-menu/pagination-menu";
42
42
  export namespace Components {
43
43
  interface AdditionalQuestionsDetails {
44
44
  "additionalQuestions": IAdditionalQuestions;
@@ -140,6 +140,17 @@ export namespace Components {
140
140
  "name": string;
141
141
  }
142
142
  interface FormControlMonetary {
143
+ "defaultValue"?: string;
144
+ "disabled"?: boolean;
145
+ "errorText"?: string;
146
+ "helpText"?: string;
147
+ "inputHandler": (name: string, value: string) => void;
148
+ "keyDownHandler"?: (event: any) => void;
149
+ "label": string;
150
+ "maxLength"?: number;
151
+ "name": any;
152
+ }
153
+ interface FormControlMonetaryProvisioning {
143
154
  "defaultValue": string;
144
155
  "disabled": boolean;
145
156
  "errorText"?: string;
@@ -478,6 +489,7 @@ export namespace Components {
478
489
  }
479
490
  interface JustifiOrderTerminals {
480
491
  "accountId": string;
492
+ "apiOrigin"?: string;
481
493
  "authToken": string;
482
494
  "businessId": string;
483
495
  "shipping": boolean;
@@ -578,27 +590,19 @@ export namespace Components {
578
590
  "documentErrors": any;
579
591
  "validateAndSubmit": (onSuccess: (formData: any, documentList: DisputeEvidenceDocument[], formStep: DisputeResponseFormStep) => void) => Promise<void>;
580
592
  }
581
- interface JustifiRefundForm {
582
- /**
583
- * The amount of the payment to be refunded.
584
- */
585
- "amount"?: number;
593
+ interface JustifiRefundPayment {
586
594
  /**
587
595
  * Authentication token required to authorize the refund transaction.
588
596
  */
589
597
  "authToken": string;
590
598
  /**
591
- * The unique identifier for the payment to be refunded.
592
- */
593
- "paymentId": string;
594
- /**
595
- * Optional information text displayed above the form.
599
+ * The amount of the payment to be refunded. This should be equal to the Payment `amount_refundable` property.
596
600
  */
597
- "refundInfoText"?: string;
601
+ "paymentAmountRefundable"?: number;
598
602
  /**
599
- * Custom text for the submit button. Defaults to 'Submit'.
603
+ * The unique identifier for the payment to be refunded.
600
604
  */
601
- "submitButtonText"?: string;
605
+ "paymentId": string;
602
606
  /**
603
607
  * Flag to control the visibility of the submit button.
604
608
  */
@@ -669,6 +673,12 @@ export namespace Components {
669
673
  "authToken": string;
670
674
  "columns"?: string;
671
675
  }
676
+ interface JustifiTerminalOrdersListFilters {
677
+ "createdAfter"?: string;
678
+ "createdBefore"?: string;
679
+ "orderStatus"?: TerminalOrderStatus;
680
+ "orderType"?: TerminalOrderType;
681
+ }
672
682
  interface JustifiTerminalsList {
673
683
  "accountId": string;
674
684
  "apiOrigin"?: string;
@@ -677,6 +687,7 @@ export namespace Components {
677
687
  }
678
688
  interface JustifiTerminalsListFilters {
679
689
  "terminalId"?: string;
690
+ "terminalOrderId"?: string;
680
691
  "terminalStatus"?: ITerminalStatus;
681
692
  }
682
693
  interface JustifiTokenizePaymentMethod {
@@ -684,7 +695,7 @@ export namespace Components {
684
695
  "authToken": string;
685
696
  "disableBankAccount"?: boolean;
686
697
  "disableCreditCard"?: boolean;
687
- "fillBillingForm": (fields: BillingFormFields) => Promise<void>;
698
+ "fillBillingForm": (fields: BillingFormFields1) => Promise<void>;
688
699
  "hideCardBillingForm"?: boolean;
689
700
  "hideSubmitButton"?: boolean;
690
701
  "iframeOrigin"?: string;
@@ -804,6 +815,10 @@ export interface FormControlMonetaryCustomEvent<T> extends CustomEvent<T> {
804
815
  detail: T;
805
816
  target: HTMLFormControlMonetaryElement;
806
817
  }
818
+ export interface FormControlMonetaryProvisioningCustomEvent<T> extends CustomEvent<T> {
819
+ detail: T;
820
+ target: HTMLFormControlMonetaryProvisioningElement;
821
+ }
807
822
  export interface FormControlNumberCustomEvent<T> extends CustomEvent<T> {
808
823
  detail: T;
809
824
  target: HTMLFormControlNumberElement;
@@ -968,9 +983,9 @@ export interface JustifiPayoutsListCustomEvent<T> extends CustomEvent<T> {
968
983
  detail: T;
969
984
  target: HTMLJustifiPayoutsListElement;
970
985
  }
971
- export interface JustifiRefundFormCustomEvent<T> extends CustomEvent<T> {
986
+ export interface JustifiRefundPaymentCustomEvent<T> extends CustomEvent<T> {
972
987
  detail: T;
973
- target: HTMLJustifiRefundFormElement;
988
+ target: HTMLJustifiRefundPaymentElement;
974
989
  }
975
990
  export interface JustifiSaveNewPaymentMethodCustomEvent<T> extends CustomEvent<T> {
976
991
  detail: T;
@@ -1235,6 +1250,24 @@ declare global {
1235
1250
  prototype: HTMLFormControlMonetaryElement;
1236
1251
  new (): HTMLFormControlMonetaryElement;
1237
1252
  };
1253
+ interface HTMLFormControlMonetaryProvisioningElementEventMap {
1254
+ "formControlInput": any;
1255
+ "formControlBlur": any;
1256
+ }
1257
+ interface HTMLFormControlMonetaryProvisioningElement extends Components.FormControlMonetaryProvisioning, HTMLStencilElement {
1258
+ addEventListener<K extends keyof HTMLFormControlMonetaryProvisioningElementEventMap>(type: K, listener: (this: HTMLFormControlMonetaryProvisioningElement, ev: FormControlMonetaryProvisioningCustomEvent<HTMLFormControlMonetaryProvisioningElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
1259
+ addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1260
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1261
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
1262
+ removeEventListener<K extends keyof HTMLFormControlMonetaryProvisioningElementEventMap>(type: K, listener: (this: HTMLFormControlMonetaryProvisioningElement, ev: FormControlMonetaryProvisioningCustomEvent<HTMLFormControlMonetaryProvisioningElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
1263
+ removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1264
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
1265
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
1266
+ }
1267
+ var HTMLFormControlMonetaryProvisioningElement: {
1268
+ prototype: HTMLFormControlMonetaryProvisioningElement;
1269
+ new (): HTMLFormControlMonetaryProvisioningElement;
1270
+ };
1238
1271
  interface HTMLFormControlNumberElementEventMap {
1239
1272
  "formControlInput": any;
1240
1273
  "formControlBlur": any;
@@ -2109,22 +2142,22 @@ declare global {
2109
2142
  prototype: HTMLJustifiProductOrServiceElement;
2110
2143
  new (): HTMLJustifiProductOrServiceElement;
2111
2144
  };
2112
- interface HTMLJustifiRefundFormElementEventMap {
2113
- "submitted": RefundFormFields;
2145
+ interface HTMLJustifiRefundPaymentElementEventMap {
2146
+ "submitted": RefundPaymentFields;
2114
2147
  }
2115
- interface HTMLJustifiRefundFormElement extends Components.JustifiRefundForm, HTMLStencilElement {
2116
- addEventListener<K extends keyof HTMLJustifiRefundFormElementEventMap>(type: K, listener: (this: HTMLJustifiRefundFormElement, ev: JustifiRefundFormCustomEvent<HTMLJustifiRefundFormElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
2148
+ interface HTMLJustifiRefundPaymentElement extends Components.JustifiRefundPayment, HTMLStencilElement {
2149
+ addEventListener<K extends keyof HTMLJustifiRefundPaymentElementEventMap>(type: K, listener: (this: HTMLJustifiRefundPaymentElement, ev: JustifiRefundPaymentCustomEvent<HTMLJustifiRefundPaymentElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
2117
2150
  addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
2118
2151
  addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
2119
2152
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
2120
- removeEventListener<K extends keyof HTMLJustifiRefundFormElementEventMap>(type: K, listener: (this: HTMLJustifiRefundFormElement, ev: JustifiRefundFormCustomEvent<HTMLJustifiRefundFormElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
2153
+ removeEventListener<K extends keyof HTMLJustifiRefundPaymentElementEventMap>(type: K, listener: (this: HTMLJustifiRefundPaymentElement, ev: JustifiRefundPaymentCustomEvent<HTMLJustifiRefundPaymentElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
2121
2154
  removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
2122
2155
  removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
2123
2156
  removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
2124
2157
  }
2125
- var HTMLJustifiRefundFormElement: {
2126
- prototype: HTMLJustifiRefundFormElement;
2127
- new (): HTMLJustifiRefundFormElement;
2158
+ var HTMLJustifiRefundPaymentElement: {
2159
+ prototype: HTMLJustifiRefundPaymentElement;
2160
+ new (): HTMLJustifiRefundPaymentElement;
2128
2161
  };
2129
2162
  interface HTMLJustifiRefundPolicyElement extends Components.JustifiRefundPolicy, HTMLStencilElement {
2130
2163
  }
@@ -2241,6 +2274,12 @@ declare global {
2241
2274
  prototype: HTMLJustifiTerminalOrdersListElement;
2242
2275
  new (): HTMLJustifiTerminalOrdersListElement;
2243
2276
  };
2277
+ interface HTMLJustifiTerminalOrdersListFiltersElement extends Components.JustifiTerminalOrdersListFilters, HTMLStencilElement {
2278
+ }
2279
+ var HTMLJustifiTerminalOrdersListFiltersElement: {
2280
+ prototype: HTMLJustifiTerminalOrdersListFiltersElement;
2281
+ new (): HTMLJustifiTerminalOrdersListFiltersElement;
2282
+ };
2244
2283
  interface HTMLJustifiTerminalsListElementEventMap {
2245
2284
  "error-event": ComponentErrorEvent;
2246
2285
  }
@@ -2485,6 +2524,7 @@ declare global {
2485
2524
  "form-control-file-v2": HTMLFormControlFileV2Element;
2486
2525
  "form-control-help-text": HTMLFormControlHelpTextElement;
2487
2526
  "form-control-monetary": HTMLFormControlMonetaryElement;
2527
+ "form-control-monetary-provisioning": HTMLFormControlMonetaryProvisioningElement;
2488
2528
  "form-control-number": HTMLFormControlNumberElement;
2489
2529
  "form-control-number-masked": HTMLFormControlNumberMaskedElement;
2490
2530
  "form-control-radio": HTMLFormControlRadioElement;
@@ -2549,7 +2589,7 @@ declare global {
2549
2589
  "justifi-payouts-list": HTMLJustifiPayoutsListElement;
2550
2590
  "justifi-payouts-list-filters": HTMLJustifiPayoutsListFiltersElement;
2551
2591
  "justifi-product-or-service": HTMLJustifiProductOrServiceElement;
2552
- "justifi-refund-form": HTMLJustifiRefundFormElement;
2592
+ "justifi-refund-payment": HTMLJustifiRefundPaymentElement;
2553
2593
  "justifi-refund-policy": HTMLJustifiRefundPolicyElement;
2554
2594
  "justifi-save-new-payment-method": HTMLJustifiSaveNewPaymentMethodElement;
2555
2595
  "justifi-saved-payment-method": HTMLJustifiSavedPaymentMethodElement;
@@ -2558,6 +2598,7 @@ declare global {
2558
2598
  "justifi-sezzle-payment-method": HTMLJustifiSezzlePaymentMethodElement;
2559
2599
  "justifi-shipping-details": HTMLJustifiShippingDetailsElement;
2560
2600
  "justifi-terminal-orders-list": HTMLJustifiTerminalOrdersListElement;
2601
+ "justifi-terminal-orders-list-filters": HTMLJustifiTerminalOrdersListFiltersElement;
2561
2602
  "justifi-terminals-list": HTMLJustifiTerminalsListElement;
2562
2603
  "justifi-terminals-list-filters": HTMLJustifiTerminalsListFiltersElement;
2563
2604
  "justifi-tokenize-payment-method": HTMLJustifiTokenizePaymentMethodElement;
@@ -2691,12 +2732,25 @@ declare namespace LocalJSX {
2691
2732
  "errorText"?: string;
2692
2733
  "helpText"?: string;
2693
2734
  "inputHandler"?: (name: string, value: string) => void;
2735
+ "keyDownHandler"?: (event: any) => void;
2694
2736
  "label"?: string;
2695
- "maskOptions"?: any;
2696
- "name"?: string;
2737
+ "maxLength"?: number;
2738
+ "name"?: any;
2697
2739
  "onFormControlBlur"?: (event: FormControlMonetaryCustomEvent<any>) => void;
2698
2740
  "onFormControlInput"?: (event: FormControlMonetaryCustomEvent<any>) => void;
2699
2741
  }
2742
+ interface FormControlMonetaryProvisioning {
2743
+ "defaultValue"?: string;
2744
+ "disabled"?: boolean;
2745
+ "errorText"?: string;
2746
+ "helpText"?: string;
2747
+ "inputHandler"?: (name: string, value: string) => void;
2748
+ "label"?: string;
2749
+ "maskOptions"?: any;
2750
+ "name"?: string;
2751
+ "onFormControlBlur"?: (event: FormControlMonetaryProvisioningCustomEvent<any>) => void;
2752
+ "onFormControlInput"?: (event: FormControlMonetaryProvisioningCustomEvent<any>) => void;
2753
+ }
2700
2754
  interface FormControlNumber {
2701
2755
  "defaultValue"?: string;
2702
2756
  "disabled"?: boolean;
@@ -3063,6 +3117,7 @@ declare namespace LocalJSX {
3063
3117
  }
3064
3118
  interface JustifiOrderTerminals {
3065
3119
  "accountId"?: string;
3120
+ "apiOrigin"?: string;
3066
3121
  "authToken"?: string;
3067
3122
  "businessId"?: string;
3068
3123
  "onError-event"?: (event: JustifiOrderTerminalsCustomEvent<ComponentErrorEvent1>) => void;
@@ -3168,11 +3223,7 @@ declare namespace LocalJSX {
3168
3223
  "disputeResponse"?: any;
3169
3224
  "documentErrors"?: any;
3170
3225
  }
3171
- interface JustifiRefundForm {
3172
- /**
3173
- * The amount of the payment to be refunded.
3174
- */
3175
- "amount"?: number;
3226
+ interface JustifiRefundPayment {
3176
3227
  /**
3177
3228
  * Authentication token required to authorize the refund transaction.
3178
3229
  */
@@ -3180,19 +3231,15 @@ declare namespace LocalJSX {
3180
3231
  /**
3181
3232
  * Event emitted when the refund form is successfully submitted. The submitted refund fields are passed as the event detail.
3182
3233
  */
3183
- "onSubmitted"?: (event: JustifiRefundFormCustomEvent<RefundFormFields>) => void;
3184
- /**
3185
- * The unique identifier for the payment to be refunded.
3186
- */
3187
- "paymentId"?: string;
3234
+ "onSubmitted"?: (event: JustifiRefundPaymentCustomEvent<RefundPaymentFields>) => void;
3188
3235
  /**
3189
- * Optional information text displayed above the form.
3236
+ * The amount of the payment to be refunded. This should be equal to the Payment `amount_refundable` property.
3190
3237
  */
3191
- "refundInfoText"?: string;
3238
+ "paymentAmountRefundable"?: number;
3192
3239
  /**
3193
- * Custom text for the submit button. Defaults to 'Submit'.
3240
+ * The unique identifier for the payment to be refunded.
3194
3241
  */
3195
- "submitButtonText"?: string;
3242
+ "paymentId"?: string;
3196
3243
  /**
3197
3244
  * Flag to control the visibility of the submit button.
3198
3245
  */
@@ -3264,6 +3311,12 @@ declare namespace LocalJSX {
3264
3311
  "columns"?: string;
3265
3312
  "onError-event"?: (event: JustifiTerminalOrdersListCustomEvent<ComponentErrorEvent1>) => void;
3266
3313
  }
3314
+ interface JustifiTerminalOrdersListFilters {
3315
+ "createdAfter"?: string;
3316
+ "createdBefore"?: string;
3317
+ "orderStatus"?: TerminalOrderStatus;
3318
+ "orderType"?: TerminalOrderType;
3319
+ }
3267
3320
  interface JustifiTerminalsList {
3268
3321
  "accountId"?: string;
3269
3322
  "apiOrigin"?: string;
@@ -3273,6 +3326,7 @@ declare namespace LocalJSX {
3273
3326
  }
3274
3327
  interface JustifiTerminalsListFilters {
3275
3328
  "terminalId"?: string;
3329
+ "terminalOrderId"?: string;
3276
3330
  "terminalStatus"?: ITerminalStatus;
3277
3331
  }
3278
3332
  interface JustifiTokenizePaymentMethod {
@@ -3393,6 +3447,7 @@ declare namespace LocalJSX {
3393
3447
  "form-control-file-v2": FormControlFileV2;
3394
3448
  "form-control-help-text": FormControlHelpText;
3395
3449
  "form-control-monetary": FormControlMonetary;
3450
+ "form-control-monetary-provisioning": FormControlMonetaryProvisioning;
3396
3451
  "form-control-number": FormControlNumber;
3397
3452
  "form-control-number-masked": FormControlNumberMasked;
3398
3453
  "form-control-radio": FormControlRadio;
@@ -3457,7 +3512,7 @@ declare namespace LocalJSX {
3457
3512
  "justifi-payouts-list": JustifiPayoutsList;
3458
3513
  "justifi-payouts-list-filters": JustifiPayoutsListFilters;
3459
3514
  "justifi-product-or-service": JustifiProductOrService;
3460
- "justifi-refund-form": JustifiRefundForm;
3515
+ "justifi-refund-payment": JustifiRefundPayment;
3461
3516
  "justifi-refund-policy": JustifiRefundPolicy;
3462
3517
  "justifi-save-new-payment-method": JustifiSaveNewPaymentMethod;
3463
3518
  "justifi-saved-payment-method": JustifiSavedPaymentMethod;
@@ -3466,6 +3521,7 @@ declare namespace LocalJSX {
3466
3521
  "justifi-sezzle-payment-method": JustifiSezzlePaymentMethod;
3467
3522
  "justifi-shipping-details": JustifiShippingDetails;
3468
3523
  "justifi-terminal-orders-list": JustifiTerminalOrdersList;
3524
+ "justifi-terminal-orders-list-filters": JustifiTerminalOrdersListFilters;
3469
3525
  "justifi-terminals-list": JustifiTerminalsList;
3470
3526
  "justifi-terminals-list-filters": JustifiTerminalsListFilters;
3471
3527
  "justifi-tokenize-payment-method": JustifiTokenizePaymentMethod;
@@ -3507,6 +3563,7 @@ declare module "@stencil/core" {
3507
3563
  "form-control-file-v2": LocalJSX.FormControlFileV2 & JSXBase.HTMLAttributes<HTMLFormControlFileV2Element>;
3508
3564
  "form-control-help-text": LocalJSX.FormControlHelpText & JSXBase.HTMLAttributes<HTMLFormControlHelpTextElement>;
3509
3565
  "form-control-monetary": LocalJSX.FormControlMonetary & JSXBase.HTMLAttributes<HTMLFormControlMonetaryElement>;
3566
+ "form-control-monetary-provisioning": LocalJSX.FormControlMonetaryProvisioning & JSXBase.HTMLAttributes<HTMLFormControlMonetaryProvisioningElement>;
3510
3567
  "form-control-number": LocalJSX.FormControlNumber & JSXBase.HTMLAttributes<HTMLFormControlNumberElement>;
3511
3568
  "form-control-number-masked": LocalJSX.FormControlNumberMasked & JSXBase.HTMLAttributes<HTMLFormControlNumberMaskedElement>;
3512
3569
  "form-control-radio": LocalJSX.FormControlRadio & JSXBase.HTMLAttributes<HTMLFormControlRadioElement>;
@@ -3576,7 +3633,7 @@ declare module "@stencil/core" {
3576
3633
  "justifi-payouts-list": LocalJSX.JustifiPayoutsList & JSXBase.HTMLAttributes<HTMLJustifiPayoutsListElement>;
3577
3634
  "justifi-payouts-list-filters": LocalJSX.JustifiPayoutsListFilters & JSXBase.HTMLAttributes<HTMLJustifiPayoutsListFiltersElement>;
3578
3635
  "justifi-product-or-service": LocalJSX.JustifiProductOrService & JSXBase.HTMLAttributes<HTMLJustifiProductOrServiceElement>;
3579
- "justifi-refund-form": LocalJSX.JustifiRefundForm & JSXBase.HTMLAttributes<HTMLJustifiRefundFormElement>;
3636
+ "justifi-refund-payment": LocalJSX.JustifiRefundPayment & JSXBase.HTMLAttributes<HTMLJustifiRefundPaymentElement>;
3580
3637
  "justifi-refund-policy": LocalJSX.JustifiRefundPolicy & JSXBase.HTMLAttributes<HTMLJustifiRefundPolicyElement>;
3581
3638
  "justifi-save-new-payment-method": LocalJSX.JustifiSaveNewPaymentMethod & JSXBase.HTMLAttributes<HTMLJustifiSaveNewPaymentMethodElement>;
3582
3639
  "justifi-saved-payment-method": LocalJSX.JustifiSavedPaymentMethod & JSXBase.HTMLAttributes<HTMLJustifiSavedPaymentMethodElement>;
@@ -3585,6 +3642,7 @@ declare module "@stencil/core" {
3585
3642
  "justifi-sezzle-payment-method": LocalJSX.JustifiSezzlePaymentMethod & JSXBase.HTMLAttributes<HTMLJustifiSezzlePaymentMethodElement>;
3586
3643
  "justifi-shipping-details": LocalJSX.JustifiShippingDetails & JSXBase.HTMLAttributes<HTMLJustifiShippingDetailsElement>;
3587
3644
  "justifi-terminal-orders-list": LocalJSX.JustifiTerminalOrdersList & JSXBase.HTMLAttributes<HTMLJustifiTerminalOrdersListElement>;
3645
+ "justifi-terminal-orders-list-filters": LocalJSX.JustifiTerminalOrdersListFilters & JSXBase.HTMLAttributes<HTMLJustifiTerminalOrdersListFiltersElement>;
3588
3646
  "justifi-terminals-list": LocalJSX.JustifiTerminalsList & JSXBase.HTMLAttributes<HTMLJustifiTerminalsListElement>;
3589
3647
  "justifi-terminals-list-filters": LocalJSX.JustifiTerminalsListFilters & JSXBase.HTMLAttributes<HTMLJustifiTerminalsListFiltersElement>;
3590
3648
  "justifi-tokenize-payment-method": LocalJSX.JustifiTokenizePaymentMethod & JSXBase.HTMLAttributes<HTMLJustifiTokenizePaymentMethodElement>;
@@ -88,4 +88,11 @@ export declare const paymentModeCheckoutsListFilterParam = "checkouts-list-filte
88
88
  export declare const terminalsListFilterMenu = "filter-menu terminals-list-filter-menu";
89
89
  export declare const terminalsListFilterParam = "terminals-list-filter-param";
90
90
  export declare const terminalIdTerminalsListFilterParam = "terminals-list-filter-param terminal-id-terminals-list-filter-param";
91
+ export declare const terminalOrderIdTerminalsListFilterParam = "terminals-list-filter-param terminal-order-id-terminals-list-filter-param";
91
92
  export declare const terminalStatusTerminalsListFilterParam = "terminals-list-filter-param terminal-status-terminals-list-filter-param";
93
+ export declare const terminalOrdersListFilterMenu = "filter-menu terminal-orders-list-filter-menu";
94
+ export declare const terminalOrdersListFilterParam = "terminal-orders-list-filter-param";
95
+ export declare const orderStatusTerminalOrdersListFilterParam = "terminal-orders-list-filter-param order-status-terminal-orders-list-filter-param";
96
+ export declare const orderTypeTerminalOrdersListFilterParam = "terminal-orders-list-filter-param order-type-terminal-orders-list-filter-param";
97
+ export declare const createdAfterTerminalOrdersListFilterParam = "terminal-orders-list-filter-param created-after-terminal-orders-list-filter-param";
98
+ export declare const createdBeforeTerminalOrdersListFilterParam = "terminal-orders-list-filter-param created-before-terminal-orders-list-filter-param";
@@ -1,23 +1,22 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
2
  export declare class MonetaryInput {
3
- textInput: HTMLInputElement;
4
- private imask;
3
+ formControl: HTMLInputElement;
5
4
  isFocused: boolean;
5
+ name: any;
6
6
  label: string;
7
- name: string;
7
+ inputHandler: (name: string, value: string) => void;
8
+ defaultValue?: string;
8
9
  helpText?: string;
9
10
  errorText?: string;
10
- defaultValue: string;
11
- inputHandler: (name: string, value: string) => void;
12
- maskOptions: any;
13
- disabled: boolean;
11
+ maxLength?: number;
12
+ keyDownHandler?: (event: any) => void;
13
+ disabled?: boolean;
14
14
  handleDefaultValueChange(newValue: string): void;
15
15
  formControlInput: EventEmitter<any>;
16
16
  formControlBlur: EventEmitter<any>;
17
17
  componentDidLoad(): void;
18
- disconnectedCallback(): void;
19
- private initializeIMask;
20
- handleFormControlInput: (event: any) => void;
18
+ formatRawValue: (value: string) => string;
19
+ formatDisplayValue: (value: string) => string;
21
20
  updateInput: (newValue: any) => void;
22
21
  private get part();
23
22
  render(): any;
@@ -1,6 +1,6 @@
1
1
  import { Address } from '../api/Business';
2
2
  import { CurrencyTypes } from '../api/Payment';
3
- export declare const formatCurrency: (amount: number, currency?: CurrencyTypes) => string;
3
+ export declare const formatCurrency: (amount: number, currency?: CurrencyTypes, omitSymbols?: boolean) => string;
4
4
  export declare function formatPercentage(amount: number): string;
5
5
  export declare function formatDate(dateString: string | Date): string;
6
6
  export declare function formatMediumDate(input: string | Date): string;
@@ -20,6 +20,7 @@ interface localConversionOptions {
20
20
  }
21
21
  export declare const convertToLocal: (dateString: string, options: localConversionOptions) => string;
22
22
  export declare function formatAddress(address: Address): string;
23
+ export declare function capitalFirstLetter(str: string): string;
23
24
  export declare function snakeCaseToHumanReadable(snakeCaseStr: string): string;
24
25
  export declare function snakeToCamel(str: string): string;
25
26
  export declare function isEmptyObject(obj: any): boolean;
@@ -0,0 +1 @@
1
+ import{h as s,r as t,c as e}from"./p-2783e363.js";import{a as i,b as o}from"./p-537bce77.js";import{F as r,c as n}from"./p-01033194.js";import{A as a,C as l,R as h,c}from"./p-5d1d2fd7.js";import{C as d,P as u}from"./p-525db3e8.js";import{h as m}from"./p-bf195b35.js";import{S as p}from"./p-56c7fc8d.js";import{a as v,r as f,s as b,b as y}from"./p-c9b78275.js";import{a as g,B as w}from"./p-73f9be7c.js";import{z as _,A as x,u as j,B as S,C as T,D as O,E as k,F as C}from"./p-bf12999f.js";import{C as L,a as H}from"./p-9dd8685c.js";import"./p-422948eb.js";import"./p-56f6ce4c.js";import"./p-4e010557.js";import"./p-c4f8ed38.js";import{a as E,b as D}from"./p-61f0a2ce.js";import{n as V}from"./p-e3c22aa9.js";import{B as A}from"./p-bfc2d88a.js";import{i as P,a as B}from"./p-d757fcf5.js";import{S as I}from"./p-6078a370.js";import"./p-1ff8810b.js";import"./p-08b64251.js";import"./p-abdbcd8e.js";class W{constructor(s){this.id=s.id,this.account_owner_name=s.account_owner_name,this.full_name=s.full_name,this.account_type=s.account_type,this.account_number=s.account_number,this.acct_last_four=s.acct_last_four,this.account_number_last4=s.account_number_last4,this.routing_number=s.routing_number,this.bank_name=s.bank_name,this.country=s.country,this.currency=s.currency,this.nickname=s.nickname,this.metadata=s.metadata,this.business_id=s.business_id,this.platform_account_id=s.platform_account_id,this.created_at=s.created_at,this.updated_at=s.updated_at}get payload(){return{account_owner_name:this.account_owner_name||"",account_type:this.account_type||"",account_number:this.account_number||"",routing_number:this.routing_number||"",bank_name:this.bank_name||"",nickname:this.nickname||"",business_id:this.business_id||""}}}const F=()=>s("div",{class:"row gap-3"},s("div",{class:"col-12"},s(p,{width:"25%"})),s("div",{class:"col-12"},s(p,{width:"100%"})),s("div",{class:"col-12 d-flex gap-3"},s(p,{width:"50%"}),s(p,{width:"50%"})),s("div",{class:"col-12 d-flex gap-3"},s(p,{width:"65%"}),s(p,{width:"35%"}))),N=()=>s("div",{class:"row gap-5"},s("div",{class:"col-12"},s(p,{width:"40%",height:"40px"})),s(F,null),s(F,null),s(F,null)),U=class{constructor(s){t(this,s),this.stepCompleteEvent=e(this,"complete-form-step-event",7),this.errorEvent=e(this,"error-event",7),this.formLoading=e(this,"formLoading",7),this.getData=()=>{this.formLoading.emit(!0),this.isLoading=!0,this.getBusiness({onSuccess:s=>{this.additional_questions=new a(s.data.additional_questions||{}),this.formController.setInitialValues(Object.assign({},this.additional_questions))},onError:({error:s,code:t,severity:e})=>{this.errorEvent.emit({message:s,errorCode:t,severity:e})},final:()=>{this.formLoading.emit(!1),this.isLoading=!1}})},this.sendData=s=>{let t;this.formLoading.emit(!0),this.patchBusiness({payload:this.patchPayload,onSuccess:e=>{t=e,s()},onError:({error:s,code:e,severity:i})=>{t=s,this.errorEvent.emit({message:s,errorCode:e,severity:i})},final:()=>{this.stepCompleteEvent.emit({response:t,formStep:g.additionalQuestions}),this.formLoading.emit(!1)}})},this.inputHandler=(s,t)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[s]:t})),this.additional_questions=new a(Object.assign(Object.assign({},this.formController.values.getValue()),{[s]:t}))},this.formController=void 0,this.errors={},this.additional_questions={},this.recurringPayments=!1,this.isLoading=!1,this.getBusiness=void 0,this.patchBusiness=void 0,this.allowOptionalFields=void 0}recurringPaymentsWatcher(s){this.recurringPayments="Yes"===(null==s?void 0:s.business_recurring_payments)}async validateAndSubmit({onSuccess:s}){this.formController.validateAndSubmit((()=>this.sendData(s)))}get patchPayload(){return{additional_questions:new a(this.formController.values.getValue()).payload}}componentWillLoad(){this.getBusiness&&this.getData(),this.formController=new r(i(this.allowOptionalFields))}componentDidLoad(){this.formController.errors.subscribe((s=>{this.errors=Object.assign({},s)}))}render(){var t,e,i,o,r,n,a;const l=this.formController.getInitialValues();return this.isLoading?s(N,null):s("form",null,s("fieldset",null,s("div",{class:"d-flex align-items-center gap-2"},s("legend",{class:"mb-0",part:m},"Additional Questions"),s("form-control-tooltip",{helpText:"This information helps us understand the business and identify and monitor trends to safeguard you and your customers."})),s("hr",{class:"mt-2"}),s("div",{class:"row gy-3"},s("div",{class:"col-12 col-md-6"},s("form-control-monetary-provisioning",{name:"business_revenue",label:"What is your business’ estimated annual revenue from its primary business activities?",inputHandler:this.inputHandler,errorText:null===(t=this.errors)||void 0===t?void 0:t.business_revenue,defaultValue:null==l?void 0:l.business_revenue,maskOptions:d.WHOLE})),s("div",{class:"col-12 col-md-6"},s("form-control-monetary-provisioning",{name:"business_payment_volume",label:"What is your business' annual credit card & ACH volume anticipated to process?",inputHandler:this.inputHandler,errorText:null===(e=this.errors)||void 0===e?void 0:e.business_payment_volume,defaultValue:null==l?void 0:l.business_payment_volume,maskOptions:d.WHOLE})),s("div",{class:"col-12"},s("form-control-select",{name:"business_when_service_received",label:"On average, how long after paying will your customers typically receive their goods or services?",inputHandler:this.inputHandler,errorText:null===(i=this.errors)||void 0===i?void 0:i.business_when_service_received,options:v,defaultValue:null==l?void 0:l.business_when_service_received})),s("div",{class:"col-12"},s("form-control-select",{name:"business_recurring_payments",label:"Does your business offer recurring payments?",inputHandler:this.inputHandler,errorText:null===(o=this.errors)||void 0===o?void 0:o.business_recurring_payments,options:f,defaultValue:null==l?void 0:l.business_recurring_payments})),s("div",{class:"col-12",hidden:!this.recurringPayments},s("form-control-text",{name:"business_recurring_payments_percentage",label:"What percent of revenue is generated from each recurring payment type offered?",inputHandler:this.inputHandler,errorText:null===(r=this.errors)||void 0===r?void 0:r.business_recurring_payments_percentage,defaultValue:null==l?void 0:l.business_recurring_payments_percentage,helpText:"For example: 50% monthly, 50% annual."})),s("div",{class:"col-12"},s("form-control-select",{name:"business_seasonal",label:"Is this business seasonal?",inputHandler:this.inputHandler,errorText:null===(n=this.errors)||void 0===n?void 0:n.business_seasonal,options:b,defaultValue:null==l?void 0:l.business_seasonal})),s("div",{class:"col-12"},s("form-control-text",{name:"business_other_payment_details",label:"Is there anything else you would like us to know about how your customers pay the business? (optional)",inputHandler:this.inputHandler,errorText:null===(a=this.errors)||void 0===a?void 0:a.business_other_payment_details,defaultValue:null==l?void 0:l.business_other_payment_details})))))}static get watchers(){return{additional_questions:["recurringPaymentsWatcher"]}}},q=(s,t)=>{const e=n({bank_name:_.required("Enter bank name"),nickname:x.required("Enter nickname"),account_owner_name:j.required("Enter account owner name"),account_type:S.required("Select account type"),account_number:T.required("Enter account number"),routing_number:O.required("Enter routing number"),voided_check:k(s,t),bank_statement:C(s,t)}),i=n({bank_name:_.nullable(),nickname:x.nullable(),account_owner_name:j.nullable(),account_type:S.nullable(),account_number:T.nullable(),routing_number:O.nullable(),voided_check:k(s,t),bank_statement:C(s,t)});return t?i:e},R=class{constructor(s){t(this,s),this.stepCompleteEvent=e(this,"complete-form-step-event",7),this.errorEvent=e(this,"error-event",7),this.formLoading=e(this,"formLoading",7),this.initializeFormController=()=>{this.formController=new r(q(this.existingDocuments,this.allowOptionalFields)),this.formController.setInitialValues(Object.assign({},this.bankAccount)),this.formController.errors.subscribe((s=>{this.errors=Object.assign({},s)}))},this.inputHandler=(s,t)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[s]:t}))},this.storeFiles=s=>{const t=Array.from(s.detail.fileList),e=s.detail.document_type,i=t.map((s=>new E({file:s,document_type:e},this.businessId)));this.documentData[e]=i},this.getData=()=>{this.isLoading=!0,this.getBusiness({onSuccess:s=>{s.data.bank_accounts.length>0?this.bankAccount=new W(s.data.bank_accounts[0]):(this.bankAccount=new W({}),this.bankAccount.business_id=this.businessId),this.existingDocuments=s.data.documents},onError:({error:s,code:t,severity:e})=>{this.errorEvent.emit({message:s,errorCode:t,severity:e})},final:()=>{this.initializeFormController(),this.isLoading=!1}})},this.postDocumentRecordData=async s=>{this.isLoading=!0;const t=s.record_data;return new Promise((e=>{this.postDocumentRecord({payload:t,onSuccess:t=>{e(this.handleDocRecordResponse(s,t))},onError:({error:s,code:t,severity:i})=>{this.errorEvent.emit({message:s,errorCode:t,severity:i}),e(!1)}})}))},this.handleDocRecordResponse=(s,t)=>t.error?(this.errorEvent.emit({errorCode:L.POST_ERROR,message:t.error.message,severity:H.ERROR,data:t.error}),!1):(s.setPresignedUrl(t.data.presigned_url),!0),this.uploadDocument=async s=>{if(!s.presigned_url)throw new Error("Presigned URL is not set");const t=await fetch(s.presigned_url,{method:"PUT",body:s.fileString});return this.handleUploadResponse(t)},this.handleUploadResponse=s=>!s.error||(this.errorEvent.emit({errorCode:L.POST_ERROR,message:s.error.message,severity:H.ERROR,data:s.error}),!1),this.formController=void 0,this.errors={},this.bankAccount={},this.existingDocuments=[],this.documentData=new D,this.isLoading=!1,this.businessId=void 0,this.getBusiness=void 0,this.postBankAccount=void 0,this.postDocumentRecord=void 0,this.allowOptionalFields=void 0}watchHandler(s){this.formLoading.emit(s)}async validateAndSubmit({onSuccess:s}){this.existingBankAccount?this.sendData(s):this.formController.validateAndSubmit((()=>this.sendData(s)))}componentWillLoad(){this.getBusiness&&this.getData(),this.formController=new r(q(this.existingDocuments,this.allowOptionalFields))}componentDidLoad(){this.formController.errors.subscribe((s=>{this.errors=Object.assign({},s)}))}get postPayload(){return new W(this.formController.values.getValue()).payload}get existingBankAccount(){var s;return!!(null===(s=this.bankAccount)||void 0===s?void 0:s.id)}async sendData(s){try{if(!this.existingBankAccount&&!await this.postBankAccountData())return;if(!await this.postBusinessDocuments())return;s()}catch(s){this.errorEvent.emit({message:s,errorCode:L.POST_ERROR,severity:H.ERROR})}}async postBankAccountData(){let s;return this.isLoading=!0,new Promise((t=>{let e=!1;this.postBankAccount({payload:this.postPayload,onSuccess:t=>{s=t,e=!0},onError:({error:s,code:t,severity:i})=>{e=!1,this.errorEvent.emit({message:s,errorCode:t,severity:i})},final:()=>{this.stepCompleteEvent.emit({response:s,formStep:g.bankAccount}),this.isLoading=!1,t(e)}})}))}async postBusinessDocuments(){this.isLoading=!0;try{const s=Object.values(this.documentData).flat();return!s.length||!(await Promise.all(s.map((s=>this.postDocumentRecordData(s))))).includes(!1)&&!(await Promise.all(s.map((s=>this.uploadDocument(s))))).includes(!1)}finally{this.isLoading=!1}}render(){const t=this.formController.getInitialValues();return this.isLoading?s(N,null):s("form",null,s("fieldset",{class:"mb-4"},s("div",{class:"d-flex align-items-center gap-2"},s("legend",{class:"mb-0",part:m},"Bank Account Info"),s("form-control-tooltip",{helpText:"This direct deposit account is the designated bank account where incoming funds will be deposited. The name of this account must match the registered business name exactly. We are not able to accept personal accounts unless your business is a registered sole proprietorship."})),s("hr",{class:"mt-2"}),s("bank-account-form-inputs",{defaultValue:t,errors:this.errors,inputHandler:this.inputHandler,formDisabled:this.existingBankAccount})),s("fieldset",{class:"mt-4"},s("div",{class:"d-flex align-items-center gap-2"},s("legend",{class:"mb-0",part:m},"Document Uploads"),s("form-control-tooltip",{helpText:"These documents are required for underwriting purposes. Various file formats such as PDF, DOC, DOCX, JPEG, and others are accepted. Multiple files can be uploaded for each document category."})),s("hr",{class:"mt-2"}),s("business-documents-on-file",{documents:this.existingDocuments,isLoading:this.isLoading}),s("bank-account-document-form-inputs",{inputHandler:this.inputHandler,errors:this.errors,storeFiles:this.storeFiles})))}static get watchers(){return{isLoading:["watchHandler"]}}},Y=class{constructor(s){t(this,s),this.stepCompleteEvent=e(this,"complete-form-step-event",7),this.errorEvent=e(this,"error-event",7),this.formLoading=e(this,"formLoading",7),this.getData=()=>{this.formLoading.emit(!0),this.isLoading=!0,this.getBusiness({onSuccess:s=>{this.coreInfo=new l(s.data),this.formController.setInitialValues(Object.assign({},this.coreInfo))},onError:({error:s,code:t,severity:e})=>{this.errorEvent.emit({message:s,errorCode:t,severity:e})},final:()=>{this.formLoading.emit(!1),this.isLoading=!1}})},this.sendData=s=>{let t;this.formLoading.emit(!0),this.patchBusiness({payload:this.patchPayload,onSuccess:e=>{t=e,s()},onError:({error:s,code:e,severity:i})=>{t=s,this.errorEvent.emit({message:s,errorCode:e,severity:i})},final:()=>{this.stepCompleteEvent.emit({response:t,formStep:g.businessInfo}),this.formLoading.emit(!1)}})},this.inputHandler=(s,t)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[s]:t}))},this.formController=void 0,this.errors={},this.coreInfo={},this.isLoading=!1,this.businessId=void 0,this.getBusiness=void 0,this.patchBusiness=void 0,this.allowOptionalFields=void 0}async validateAndSubmit({onSuccess:s}){this.formController.validateAndSubmit((()=>this.sendData(s)))}get patchPayload(){return new l(this.formController.values.getValue()).payload}componentWillLoad(){this.getBusiness&&this.getData(),this.formController=new r(o(this.allowOptionalFields))}componentDidLoad(){this.formController.errors.subscribe((s=>{this.errors=Object.assign({},s)}))}render(){const t=this.formController.getInitialValues();return this.isLoading?s(N,null):s("form",null,s("fieldset",null,s("div",{class:"d-flex align-items-center gap-2"},s("legend",{class:"mb-0",part:m},"Business Information")),s("hr",{class:"mt-2"}),s("div",{class:"row gy-3"},s("div",{class:"col-12"},s("form-control-text",{name:"legal_name",label:"Business Name",defaultValue:t.legal_name,errorText:this.errors.legal_name,inputHandler:this.inputHandler,helpText:"Enter this exactly as it appears on your tax records (don't use acronyms or abbreviations unless you registered that way)."})),s("div",{class:"col-12"},s("form-control-text",{name:"doing_business_as",label:"Doing Business As (DBA)",defaultValue:t.doing_business_as,errorText:this.errors.doing_business_as,inputHandler:this.inputHandler,helpText:"Enter this exactly as it appears on your tax records (leave blank if you don't have a registered DBA/trade name)"})),s("div",{class:"col-12 col-md-8"},s("form-control-select",{name:"classification",label:"Business Classification",options:y,defaultValue:t.classification,errorText:this.errors.classification,inputHandler:this.inputHandler})),s("div",{class:"col-12 col-md-4"},s("form-control-date",{name:"date_of_incorporation",label:"Date of Incorporation",defaultValue:t.date_of_incorporation,errorText:this.errors.date_of_incorporation,inputHandler:this.inputHandler})),s("div",{class:"col-12 col-md-6"},s("form-control-text",{name:"industry",label:"Industry",defaultValue:t.industry,errorText:this.errors.industry,inputHandler:this.inputHandler,helpText:"Describe what you sell"})),s("div",{class:"col-12 col-md-6"},s("form-control-text",{name:"tax_id",label:"Tax ID (EIN or SSN)",defaultValue:t.tax_id,errorText:this.errors.tax_id,inputHandler:this.inputHandler,keyDownHandler:V,maxLength:9,helpText:"Employer Identification Numbers (EINs) are nine digits. The federal tax identification number/EIN issued to you by the IRS. It can be found on your tax returns."})),s("div",{class:"col-12"},s("form-control-text",{name:"website_url",label:"Business Website URL",defaultValue:t.website_url,errorText:this.errors.website_url,inputHandler:this.inputHandler,helpText:"Don't have a live website? You can use your social media business page, app store link, or staging site URL."})),s("div",{class:"col-12 col-md-6"},s("form-control-text",{name:"email",label:"Business Email Address",defaultValue:t.email,errorText:this.errors.email,inputHandler:this.inputHandler})),s("div",{class:"col-12 col-md-6"},s("form-control-number-masked",{name:"phone",label:"Business Phone Number",defaultValue:t.phone,errorText:this.errors.phone,inputHandler:this.inputHandler,mask:u.US})))))}},z=class{constructor(s){t(this,s),this.clickEvent=e(this,"click-event",7),this.stepCompleteEvent=e(this,"complete-form-step-event",7),this.errorEvent=e(this,"error-event",7),this.formLoading=e(this,"formLoading",7),this.matchRef=(s,t)=>{const e=this.refs.findIndex((s=>s===t));-1!==e&&(this.refs[e]=s)},this.getData=()=>{this.formLoading.emit(!0),this.isLoading=!0,this.getBusiness({onSuccess:s=>{s.data.owners.length?this.ownersPayload=s.data.owners.map((s=>({id:s.id}))):this.addOwnerForm()},onError:({error:s,code:t,severity:e})=>{this.errorEvent.emit({message:s,errorCode:t,severity:e})},final:()=>{this.formLoading.emit(!1),this.isLoading=!1,this.manageRefs()}})},this.sendData=async s=>{let t;this.formLoading.emit(!0),this.patchBusiness({payload:{owners:this.ownersPayload},onSuccess:e=>{t=e,s()},onError:({error:s,code:e,severity:i})=>{t=s,this.errorEvent.emit({message:s,errorCode:e,severity:i})},final:()=>{this.stepCompleteEvent.emit({response:t,formStep:g.owners}),this.formLoading.emit(!1)}})},this.addOwnerForm=s=>{this.newFormOpen=!0,this.ownersPayload=[...this.ownersPayload,{id:""}],s&&this.clickEvent.emit({name:w.addOwnerForm})},this.removeOwnerForm=s=>{this.ownersPayload=this.ownersPayload.filter((t=>t.id!==s)),this.newFormOpen&&(this.newFormOpen=!1)},this.ownersPayload=[],this.refs=[],this.newFormOpen=void 0,this.isLoading=!1,this.authToken=void 0,this.businessId=void 0,this.getBusiness=void 0,this.patchBusiness=void 0,this.allowOptionalFields=void 0}get showAddOwnerButton(){return this.ownersPayload.length<4&&!this.newFormOpen}manageRefs(){this.refs=this.ownersPayload.map((s=>s.id))}async validateAndSubmit({onSuccess:s}){const t=this.refs.map((s=>s.validate()));if(!(await Promise.all(t)).every((s=>s)))return;const e=this.refs.map((s=>s.submit()));(await Promise.all(e)).every((s=>s))&&this.sendData(s)}componentWillLoad(){this.getBusiness&&this.getData()}ownersWatcher(){this.manageRefs()}handleOwnerSubmit(s){const t=s.detail,e=this.ownersPayload.map((s=>s.id===t.id?t:s));e.includes(t)||(e[this.ownersPayload.findIndex((s=>!s.id))]=t,this.newFormOpen&&(this.newFormOpen=!1)),this.ownersPayload=e}render(){return this.isLoading?s(N,null):s("div",null,s("div",{class:"d-flex align-items-center gap-2"},s("legend",{class:"mb-0",part:m},"Owners"),s("form-control-tooltip",{helpText:"For partnerships, LLCs or privately held corporations, the business is required to apply with all individuals with 25% or more ownership to the application. For charities and registered non-profits, the business is required to apply with 1 individual with substantial control over the entity, such as a board member or director."})),s("hr",{class:"mt-2"}),s("div",{class:"row gy-3"},this.ownersPayload.map((t=>s("justifi-owner-form",{key:t.id,authToken:this.authToken,businessId:this.businessId,ownerId:t.id,removeOwner:this.removeOwnerForm,newFormOpen:this.newFormOpen,ownersLength:this.ownersPayload.length,allowOptionalFields:this.allowOptionalFields,ref:s=>this.matchRef(s,t.id)})))),s("div",{class:"d-flex justify-content-start"},s("div",{class:"gap-2"},s(A,{variant:"primary",onClick:()=>this.addOwnerForm(!0),hidden:!this.showAddOwnerButton},"Add Owner"))))}static get watchers(){return{ownersPayload:["ownersWatcher"]}}},G=class{constructor(s){t(this,s),this.stepCompleteEvent=e(this,"complete-form-step-event",7),this.errorEvent=e(this,"error-event",7),this.formLoading=e(this,"formLoading",7),this.getData=()=>{this.formLoading.emit(!0),this.isLoading=!0,this.getBusiness({onSuccess:s=>{this.representative=new h(s.data.representative||{}),this.formController.setInitialValues(Object.assign({},this.representative))},onError:({error:s,code:t,severity:e})=>{this.errorEvent.emit({message:s,errorCode:t,severity:e})},final:()=>{this.formLoading.emit(!1),this.isLoading=!1}})},this.sendData=s=>{let t;this.formLoading.emit(!0),this.patchBusiness({payload:this.patchPayload,onSuccess:e=>{t=e,s()},onError:({error:s,code:e,severity:i})=>{t=s,this.errorEvent.emit({message:s,errorCode:e,severity:i})},final:()=>{this.stepCompleteEvent.emit({response:t,formStep:g.representative}),this.formLoading.emit(!1)}})},this.formController=void 0,this.errors={},this.representative={},this.isLoading=!1,this.getBusiness=void 0,this.patchBusiness=void 0,this.allowOptionalFields=void 0}async validateAndSubmit({onSuccess:s}){this.formController.validateAndSubmit((()=>this.sendData(s)))}get patchPayload(){return{representative:new h(this.formController.values.getValue()).payload}}componentWillLoad(){this.getBusiness&&this.getData(),this.formController=new r(P("representative",this.allowOptionalFields))}componentDidLoad(){this.formController.errors.subscribe((s=>{this.errors=Object.assign({},s)}))}render(){return this.isLoading?s(N,null):s("justifi-business-representative-form-inputs",{representativeDefaultValue:this.formController.getInitialValues(),errors:this.errors,formController:this.formController})}},J=class{constructor(s){t(this,s),this.stepCompleteEvent=e(this,"complete-form-step-event",7),this.errorEvent=e(this,"error-event",7),this.formLoading=e(this,"formLoading",7),this.getData=()=>{this.formLoading.emit(!0),this.isLoading=!0,this.getBusiness({onSuccess:s=>{this.legal_address=new c(s.data.legal_address||{}),this.formController.setInitialValues(Object.assign({},this.legal_address))},onError:({error:s,code:t,severity:e})=>{this.errorEvent.emit({message:s,errorCode:t,severity:e})},final:()=>{this.formLoading.emit(!1),this.isLoading=!1}})},this.sendData=s=>{let t;this.formLoading.emit(!0),this.patchBusiness({payload:this.patchPayload,onSuccess:e=>{t=e,s()},onError:({error:s,code:e,severity:i})=>{t=s,this.errorEvent.emit({message:s,errorCode:e,severity:i})},final:()=>{this.stepCompleteEvent.emit({response:t,formStep:g.legalAddress}),this.formLoading.emit(!1)}})},this.inputHandler=(s,t)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[s]:t}))},this.formController=void 0,this.errors={},this.legal_address={},this.isLoading=!1,this.getBusiness=void 0,this.patchBusiness=void 0,this.allowOptionalFields=void 0}async validateAndSubmit({onSuccess:s}){this.formController.validateAndSubmit((()=>this.sendData(s)))}get patchPayload(){return{legal_address:new c(this.formController.values.getValue()).payload}}componentWillLoad(){this.getBusiness&&this.getData(),this.formController=new r(B(this.allowOptionalFields))}componentDidLoad(){this.formController.errors.subscribe((s=>{this.errors=Object.assign({},s)}))}render(){var t,e,i,o,r,n;const a=this.formController.getInitialValues();return this.isLoading?s(N,null):s("form",null,s("fieldset",null,s("div",{class:"d-flex align-items-center gap-2"},s("legend",{class:"mb-0",part:m},"Legal Address of your Business"),s("form-control-tooltip",{helpText:"No PO Boxes."})),s("hr",{class:"mt-2"}),s("div",{class:"row gy-3"},s("div",{class:"col-12"},s("form-control-text",{name:"line1",label:"Legal Address",inputHandler:this.inputHandler,defaultValue:null==a?void 0:a.line1,errorText:null===(t=this.errors)||void 0===t?void 0:t.line1})),s("div",{class:"col-12"},s("form-control-text",{name:"line2",label:"Address Line 2 (optional)",inputHandler:this.inputHandler,defaultValue:null==a?void 0:a.line2,errorText:null===(e=this.errors)||void 0===e?void 0:e.line2})),s("div",{class:"col-12"},s("form-control-text",{name:"city",label:"City",inputHandler:this.inputHandler,defaultValue:null==a?void 0:a.city,errorText:null===(i=this.errors)||void 0===i?void 0:i.city})),s("div",{class:"col-12"},s("form-control-select",{name:"state",label:"State",options:I,inputHandler:this.inputHandler,defaultValue:null==a?void 0:a.state,errorText:null===(o=this.errors)||void 0===o?void 0:o.state})),s("div",{class:"col-12"},s("form-control-text",{name:"postal_code",label:"Postal Code",inputHandler:this.inputHandler,defaultValue:null==a?void 0:a.postal_code,errorText:null===(r=this.errors)||void 0===r?void 0:r.postal_code,maxLength:5,keyDownHandler:V})),s("div",{class:"col-12"},s("form-control-select",{name:"country",label:"Country",options:[{label:"United States",value:"USA"}],inputHandler:this.inputHandler,defaultValue:null==a?void 0:a.country,errorText:null===(n=this.errors)||void 0===n?void 0:n.country,disabled:!0})))))}};export{U as justifi_additional_questions_form_step_core,R as justifi_business_bank_account_form_step_core,Y as justifi_business_core_info_form_step_core,z as justifi_business_owners_form_step_core,G as justifi_business_representative_form_step_core,J as justifi_legal_address_form_step_core}