@justifi/webcomponents 4.21.0 → 4.22.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 (596) hide show
  1. package/dist/cjs/{Analytics-880f5152.js → Analytics-0d90fa0d.js} +2 -2
  2. package/dist/cjs/{Api-b98b256f.js → Api-f5280a80.js} +6 -4
  3. package/dist/cjs/Checkout-a528241d.js +85 -0
  4. package/dist/cjs/SubAccount-cc95a4a0.js +106 -0
  5. package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
  6. package/dist/cjs/{business-additional-questions-schema-26b0eecb.js → business-additional-questions-schema-19f08938.js} +2 -2
  7. package/dist/cjs/business-details-core.cjs.entry.js +1 -1
  8. package/dist/cjs/{business-identity-schema-503ecb77.js → business-identity-schema-a8bb2276.js} +2 -2
  9. package/dist/cjs/{business.service-031c0084.js → business.service-7faffa0b.js} +1 -1
  10. package/dist/cjs/{check-pkg-version-54f7dfda.js → check-pkg-version-fafb21ae.js} +1 -1
  11. package/dist/cjs/checkout.service-160f3a9c.js +36 -0
  12. package/dist/cjs/checkouts-list-core.cjs.entry.js +144 -0
  13. package/dist/cjs/checkouts-list-filters.cjs.entry.js +35 -0
  14. package/dist/cjs/checkouts-table-24c065ff.js +47 -0
  15. package/dist/cjs/{custom-popper_5.cjs.entry.js → custom-popper_4.cjs.entry.js} +4 -19
  16. package/dist/cjs/dispute-30c806f6.js +10 -0
  17. package/dist/cjs/form-alert_5.cjs.entry.js +3 -3
  18. package/dist/cjs/form-control-checkbox_9.cjs.entry.js +11 -11
  19. package/dist/cjs/form-control-date.cjs.entry.js +83 -0
  20. package/dist/cjs/form-control-error-text.cjs.entry.js +21 -0
  21. package/dist/cjs/form-control-file.cjs.entry.js +1 -1
  22. package/dist/cjs/form-control-help-text.cjs.entry.js +21 -0
  23. package/dist/cjs/{form-control-help-text_2.cjs.entry.js → form-control-monetary.cjs.entry.js} +1 -16
  24. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +99 -0
  25. package/dist/cjs/form-control-number.cjs.entry.js +1 -1
  26. package/dist/cjs/form-control-radio.cjs.entry.js +44 -0
  27. package/dist/cjs/form-control-textarea.cjs.entry.js +49 -0
  28. package/dist/cjs/{get-payout-csv-a82b2c1c.js → get-payout-csv-12dc9540.js} +3 -2
  29. package/dist/cjs/get-subaccounts-8f7a930f.js +54 -0
  30. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +3 -3
  31. package/dist/cjs/justifi-additional-questions-form-step_10.cjs.entry.js +10 -9
  32. package/dist/cjs/justifi-additional-statement_11.cjs.entry.js +173 -0
  33. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +3 -3
  34. package/dist/cjs/justifi-billing-form_2.cjs.entry.js +1678 -13
  35. package/dist/cjs/justifi-business-details.cjs.entry.js +6 -6
  36. package/dist/cjs/justifi-business-form.cjs.entry.js +11 -10
  37. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
  38. package/dist/cjs/justifi-card-form.cjs.entry.js +3 -3
  39. package/dist/cjs/justifi-checkout-core.cjs.entry.js +3 -8
  40. package/dist/cjs/justifi-checkout.cjs.entry.js +10 -25
  41. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +121 -0
  42. package/dist/cjs/justifi-details.cjs.entry.js +2 -2
  43. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +28 -0
  44. package/dist/cjs/justifi-dispute-management.cjs.entry.js +16 -0
  45. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +5 -5
  46. package/dist/cjs/{justifi-new-payment-method_4.cjs.entry.js → justifi-new-payment-method_5.cjs.entry.js} +18 -1
  47. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +7 -7
  48. package/dist/cjs/justifi-payment-details.cjs.entry.js +8 -7
  49. package/dist/cjs/justifi-payment-form.cjs.entry.js +10 -9
  50. package/dist/cjs/justifi-payment-method-selector.cjs.entry.js +3 -2
  51. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +5 -5
  52. package/dist/cjs/justifi-payments-list.cjs.entry.js +10 -11
  53. package/dist/cjs/justifi-payout-details.cjs.entry.js +9 -8
  54. package/dist/cjs/justifi-payouts-list.cjs.entry.js +11 -13
  55. package/dist/cjs/justifi-refund-form.cjs.entry.js +5 -4
  56. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +3 -3
  57. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +7 -6
  58. package/dist/cjs/justifi-terminals-list.cjs.entry.js +138 -0
  59. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +59 -0
  60. package/dist/cjs/loader.cjs.js +1 -1
  61. package/dist/{esm/payments-list-filters_2.entry.js → cjs/lodash-dbf6a6a4.js} +2 -57
  62. package/dist/cjs/{package-cb1b1015.js → package-596f102c.js} +1 -1
  63. package/dist/cjs/payment-details-core.cjs.entry.js +10 -9
  64. package/dist/cjs/{payment.service-6f79aad2.js → payment.service-83da752a.js} +3 -2
  65. package/dist/cjs/payments-list-core.cjs.entry.js +7 -7
  66. package/dist/cjs/payments-list-filters.cjs.entry.js +35 -0
  67. package/dist/cjs/payments-status-58e45b2e.js +26 -0
  68. package/dist/cjs/payout-details-core.cjs.entry.js +4 -3
  69. package/dist/cjs/payouts-list-core.cjs.entry.js +7 -23
  70. package/dist/cjs/payouts-status-2f7be07d.js +24 -0
  71. package/dist/cjs/{schema-validations-0a7e46a3.js → schema-validations-184a4356.js} +1 -1
  72. package/dist/cjs/table-20e9a053.js +23 -0
  73. package/dist/cjs/table-filters-menu.cjs.entry.js +35 -0
  74. package/dist/cjs/terminals-list-core.cjs.entry.js +143 -0
  75. package/dist/cjs/terminals-list-filters.cjs.entry.js +32 -0
  76. package/dist/cjs/terminals-table-99a7b87b.js +32 -0
  77. package/dist/cjs/{utils-52fb7fa1.js → utils-3d84442d.js} +0 -44
  78. package/dist/cjs/webcomponents.cjs.js +1 -1
  79. package/dist/collection/api/Api.js +6 -4
  80. package/dist/collection/api/Checkout.js +77 -1
  81. package/dist/collection/api/SubAccount.js +33 -0
  82. package/dist/collection/api/Terminal.js +25 -0
  83. package/dist/collection/api/get-subaccounts.js +31 -0
  84. package/dist/collection/api/index.js +2 -0
  85. package/dist/collection/api/services/checkout.service.js +10 -1
  86. package/dist/collection/api/services/subaccounts.service.js +13 -0
  87. package/dist/collection/api/services/terminal.service.js +20 -0
  88. package/dist/collection/collection-manifest.json +37 -15
  89. package/dist/collection/components/billing-form/billing-form.js +3 -3
  90. package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +1 -1
  91. package/dist/collection/components/business-details/business-details-core.js +1 -1
  92. package/dist/collection/components/business-details/business-details.js +1 -1
  93. package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +1 -1
  94. package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +1 -1
  95. package/dist/collection/components/business-details/owner-details/owner-details.js +1 -1
  96. package/dist/collection/components/business-details/representative-details/representative-details.js +1 -1
  97. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +2 -2
  98. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +3 -3
  99. package/dist/collection/components/business-forms/business-form/business-form.js +2 -2
  100. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +2 -2
  101. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +4 -4
  102. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +2 -2
  103. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +2 -2
  104. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +3 -3
  105. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +2 -2
  106. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +3 -3
  107. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +3 -3
  108. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +3 -3
  109. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +2 -2
  110. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.js +2 -2
  111. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +3 -3
  112. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +2 -2
  113. package/dist/collection/components/checkout/checkout-core.js +1 -1
  114. package/dist/collection/components/checkouts-list/checkouts-list-core.js +257 -0
  115. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +84 -0
  116. package/dist/collection/components/checkouts-list/checkouts-list.js +210 -0
  117. package/dist/collection/components/checkouts-list/checkouts-status.js +13 -0
  118. package/dist/collection/components/checkouts-list/checkouts-table.js +20 -0
  119. package/dist/collection/components/checkouts-list/get-checkouts.js +31 -0
  120. package/dist/collection/components/dispute-management/counter-dispute/additional-statement.js +8 -0
  121. package/dist/collection/components/dispute-management/counter-dispute/cancellation-policy.js +8 -0
  122. package/dist/collection/components/dispute-management/counter-dispute/counter-dispute.js +90 -0
  123. package/dist/collection/components/dispute-management/counter-dispute/customer-details.js +8 -0
  124. package/dist/collection/components/dispute-management/counter-dispute/dispute-reason.js +8 -0
  125. package/dist/collection/components/dispute-management/counter-dispute/duplicate-charge.js +8 -0
  126. package/dist/collection/components/dispute-management/counter-dispute/electronic-evidence.js +8 -0
  127. package/dist/collection/components/dispute-management/counter-dispute/product-or-service.js +16 -0
  128. package/dist/collection/components/dispute-management/counter-dispute/refund-policy.js +8 -0
  129. package/dist/collection/components/dispute-management/counter-dispute/shipping-details.js +12 -0
  130. package/dist/collection/components/dispute-management/dispute-management-core.js +53 -0
  131. package/dist/collection/components/dispute-management/dispute-management.js +8 -0
  132. package/dist/collection/components/dispute-management/dispute-notification.js +48 -0
  133. package/dist/collection/components/dispute-management/dispute.js +8 -0
  134. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +2 -2
  135. package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +1 -1
  136. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +2 -2
  137. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +1 -1
  138. package/dist/collection/components/payment-details/payment-details-core.js +10 -9
  139. package/dist/collection/components/payment-details/payment-details.js +1 -1
  140. package/dist/collection/components/payment-form/payment-form.js +3 -3
  141. package/dist/collection/components/payment-form/payment-method-selector.js +1 -1
  142. package/dist/collection/components/payments-list/payments-list-core.js +5 -5
  143. package/dist/collection/components/payments-list/payments-list-filters.js +1 -1
  144. package/dist/collection/components/payments-list/payments-list.js +3 -5
  145. package/dist/collection/components/payments-list/payments-status.js +23 -0
  146. package/dist/collection/components/payout-details/payout-details-core.js +4 -3
  147. package/dist/collection/components/payout-details/payout-details.js +1 -1
  148. package/dist/collection/components/payouts-list/payouts-list-core.js +6 -22
  149. package/dist/collection/components/payouts-list/payouts-list.js +4 -7
  150. package/dist/collection/components/payouts-list/payouts-status.js +21 -0
  151. package/dist/collection/components/refund-form/refund-form.js +2 -2
  152. package/dist/collection/components/terminals-list/get-terminal-detail.js +29 -0
  153. package/dist/collection/components/terminals-list/get-terminals.js +31 -0
  154. package/dist/collection/components/terminals-list/terminals-list-core.js +257 -0
  155. package/dist/collection/components/terminals-list/terminals-list-filters.js +81 -0
  156. package/dist/collection/components/terminals-list/terminals-list.js +211 -0
  157. package/dist/collection/components/terminals-list/terminals-status.js +11 -0
  158. package/dist/collection/components/terminals-list/terminals-table.js +15 -0
  159. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.css +9 -0
  160. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +276 -0
  161. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  162. package/dist/collection/{components → ui-components}/details/details.js +1 -1
  163. package/dist/collection/ui-components/filters/table-filters-menu.js +1 -1
  164. package/dist/collection/{components → ui-components}/form/form-control-checkbox.js +1 -1
  165. package/dist/collection/{components → ui-components}/form/form-control-date.js +21 -2
  166. package/dist/collection/{components → ui-components}/form/form-control-file.js +1 -1
  167. package/dist/collection/{components → ui-components}/form/form-control-monetary.js +1 -1
  168. package/dist/collection/{components → ui-components}/form/form-control-number-masked.js +1 -1
  169. package/dist/collection/{components → ui-components}/form/form-control-number.js +1 -1
  170. package/dist/collection/ui-components/form/form-control-radio.js +209 -0
  171. package/dist/collection/{components → ui-components}/form/form-control-select.js +1 -1
  172. package/dist/collection/{components → ui-components}/form/form-control-text.js +1 -1
  173. package/dist/collection/ui-components/form/form-control-textarea.js +229 -0
  174. package/dist/collection/ui-components/index.js +1 -0
  175. package/dist/collection/utils/table.js +19 -0
  176. package/dist/collection/utils/utils.js +0 -42
  177. package/dist/docs.json +9587 -6724
  178. package/dist/esm/{Analytics-3dde5a98.js → Analytics-a46c0c00.js} +2 -2
  179. package/dist/esm/{Api-c8abc2e0.js → Api-391d00e2.js} +6 -4
  180. package/dist/esm/Checkout-0b4086f8.js +83 -0
  181. package/dist/esm/SubAccount-7f7e4c56.js +102 -0
  182. package/dist/esm/additional-questions-details_5.entry.js +2 -2
  183. package/dist/esm/{business-additional-questions-schema-a5583cf8.js → business-additional-questions-schema-97f52255.js} +2 -2
  184. package/dist/esm/business-details-core.entry.js +1 -1
  185. package/dist/esm/{business-identity-schema-9e3269fb.js → business-identity-schema-434e16bc.js} +2 -2
  186. package/dist/esm/{business.service-1f589b6e.js → business.service-97a3da69.js} +1 -1
  187. package/dist/esm/{check-pkg-version-4d144b72.js → check-pkg-version-ed46fa3b.js} +1 -1
  188. package/dist/esm/checkout.service-ef1549c6.js +34 -0
  189. package/dist/esm/checkouts-list-core.entry.js +140 -0
  190. package/dist/esm/checkouts-list-filters.entry.js +31 -0
  191. package/dist/esm/checkouts-table-62c44909.js +43 -0
  192. package/dist/esm/{custom-popper_5.entry.js → custom-popper_4.entry.js} +5 -19
  193. package/dist/esm/dispute-4d2e0a04.js +10 -0
  194. package/dist/esm/form-alert_5.entry.js +3 -3
  195. package/dist/esm/form-control-checkbox_9.entry.js +11 -11
  196. package/dist/esm/form-control-date.entry.js +79 -0
  197. package/dist/esm/form-control-error-text.entry.js +17 -0
  198. package/dist/esm/form-control-file.entry.js +1 -1
  199. package/dist/esm/form-control-help-text.entry.js +17 -0
  200. package/dist/esm/{form-control-help-text_2.entry.js → form-control-monetary.entry.js} +3 -17
  201. package/dist/esm/form-control-number-masked_2.entry.js +94 -0
  202. package/dist/esm/form-control-number.entry.js +1 -1
  203. package/dist/esm/form-control-radio.entry.js +40 -0
  204. package/dist/esm/form-control-textarea.entry.js +45 -0
  205. package/dist/esm/{get-payout-csv-d29146ee.js → get-payout-csv-70974763.js} +3 -2
  206. package/dist/esm/get-subaccounts-16c8ce40.js +51 -0
  207. package/dist/esm/gross-payment-chart-core.entry.js +3 -3
  208. package/dist/esm/justifi-additional-questions-form-step_10.entry.js +10 -9
  209. package/dist/esm/justifi-additional-statement_11.entry.js +159 -0
  210. package/dist/esm/justifi-bank-account-form.entry.js +3 -3
  211. package/dist/esm/justifi-billing-form_2.entry.js +1679 -14
  212. package/dist/esm/justifi-business-details.entry.js +6 -6
  213. package/dist/esm/justifi-business-form.entry.js +11 -10
  214. package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
  215. package/dist/esm/justifi-card-form.entry.js +3 -3
  216. package/dist/esm/justifi-checkout-core.entry.js +2 -7
  217. package/dist/esm/justifi-checkout.entry.js +8 -23
  218. package/dist/esm/justifi-checkouts-list.entry.js +117 -0
  219. package/dist/esm/justifi-details.entry.js +2 -2
  220. package/dist/esm/justifi-dispute-management-core.entry.js +24 -0
  221. package/dist/esm/justifi-dispute-management.entry.js +12 -0
  222. package/dist/esm/justifi-gross-payment-chart.entry.js +5 -5
  223. package/dist/esm/{justifi-new-payment-method_4.entry.js → justifi-new-payment-method_5.entry.js} +18 -2
  224. package/dist/esm/justifi-owner-form_3.entry.js +7 -7
  225. package/dist/esm/justifi-payment-details.entry.js +8 -7
  226. package/dist/esm/justifi-payment-form.entry.js +10 -9
  227. package/dist/esm/justifi-payment-method-selector.entry.js +3 -2
  228. package/dist/esm/justifi-payment-provisioning.entry.js +5 -5
  229. package/dist/esm/justifi-payments-list.entry.js +10 -11
  230. package/dist/esm/justifi-payout-details.entry.js +8 -7
  231. package/dist/esm/justifi-payouts-list.entry.js +11 -13
  232. package/dist/esm/justifi-refund-form.entry.js +5 -4
  233. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +3 -3
  234. package/dist/esm/justifi-season-interruption-insurance.entry.js +7 -6
  235. package/dist/esm/justifi-terminals-list.entry.js +134 -0
  236. package/dist/esm/justifi-tokenize-payment-method.entry.js +55 -0
  237. package/dist/esm/loader.js +1 -1
  238. package/dist/{cjs/payments-list-filters_2.cjs.entry.js → esm/lodash-faeb5a52.js} +1 -63
  239. package/dist/esm/{package-4ab64620.js → package-6c5cc174.js} +1 -1
  240. package/dist/esm/payment-details-core.entry.js +10 -9
  241. package/dist/esm/{payment.service-f9c3e9d7.js → payment.service-2f67410b.js} +3 -2
  242. package/dist/esm/payments-list-core.entry.js +6 -6
  243. package/dist/esm/payments-list-filters.entry.js +31 -0
  244. package/dist/esm/payments-status-4937a170.js +24 -0
  245. package/dist/esm/payout-details-core.entry.js +4 -3
  246. package/dist/esm/payouts-list-core.entry.js +7 -23
  247. package/dist/esm/payouts-status-cd58e525.js +22 -0
  248. package/dist/esm/{schema-validations-e725d701.js → schema-validations-c1728516.js} +1 -1
  249. package/dist/esm/table-5da154e7.js +21 -0
  250. package/dist/esm/table-filters-menu.entry.js +31 -0
  251. package/dist/esm/terminals-list-core.entry.js +139 -0
  252. package/dist/esm/terminals-list-filters.entry.js +28 -0
  253. package/dist/esm/terminals-table-059c473e.js +28 -0
  254. package/dist/esm/{utils-620f2d78.js → utils-3daada24.js} +1 -43
  255. package/dist/esm/webcomponents.js +1 -1
  256. package/dist/module/Api.js +6 -4
  257. package/dist/module/Checkout.js +83 -0
  258. package/dist/module/SubAccount.js +102 -0
  259. package/dist/module/additional-statement.js +63 -0
  260. package/dist/module/billing-form.js +1 -1
  261. package/dist/module/business-additional-questions-form-step-core.js +1 -1
  262. package/dist/module/business-bank-account-form-step.js +3 -2
  263. package/dist/module/business-core-info-form-step-core.js +1 -1
  264. package/dist/module/business-core-info.js +1 -1
  265. package/dist/module/business-document-upload-form-step.js +1 -1
  266. package/dist/module/business-document-upload-input-group.js +1 -1
  267. package/dist/module/business-documents-on-file.js +1 -1
  268. package/dist/module/business-representative-form-inputs.js +1 -1
  269. package/dist/module/business-representative-form-step-core.js +1 -1
  270. package/dist/module/business-terms-conditions-form-step.js +3 -2
  271. package/dist/module/cancellation-policy.js +63 -0
  272. package/dist/module/checkout-core.js +2 -7
  273. package/dist/module/checkout.service.js +34 -0
  274. package/dist/module/checkouts-list-core.d.ts +11 -0
  275. package/dist/module/checkouts-list-core.js +6 -0
  276. package/dist/module/checkouts-list-core2.js +250 -0
  277. package/dist/module/checkouts-list-filters.d.ts +11 -0
  278. package/dist/module/checkouts-list-filters.js +6 -0
  279. package/dist/module/checkouts-list-filters2.js +80 -0
  280. package/dist/module/counter-dispute.js +189 -0
  281. package/dist/module/custom-popper2.js +2 -2
  282. package/dist/module/customer-details.js +69 -0
  283. package/dist/module/details.js +1 -1
  284. package/dist/module/dispute-management-core.js +160 -0
  285. package/dist/module/dispute-notification.js +36 -0
  286. package/dist/module/dispute-reason.js +45 -0
  287. package/dist/module/duplicate-charge.js +69 -0
  288. package/dist/module/electronic-evidence.js +63 -0
  289. package/dist/module/exported-parts.js +1 -34
  290. package/dist/module/form-control-checkbox2.js +1 -1
  291. package/dist/module/form-control-date2.js +5 -3
  292. package/dist/module/form-control-file2.js +1 -1
  293. package/dist/module/form-control-monetary2.js +1 -1
  294. package/dist/module/form-control-number-masked2.js +1 -1
  295. package/dist/module/form-control-number.js +1 -1
  296. package/dist/module/form-control-radio.d.ts +11 -0
  297. package/dist/module/form-control-radio.js +6 -0
  298. package/dist/module/form-control-radio2.js +78 -0
  299. package/dist/module/form-control-select2.js +1 -1
  300. package/dist/module/form-control-text2.js +1 -1
  301. package/dist/module/form-control-textarea.d.ts +11 -0
  302. package/dist/module/form-control-textarea.js +6 -0
  303. package/dist/module/form-control-textarea2.js +84 -0
  304. package/dist/module/get-payout-csv.js +2 -1
  305. package/dist/module/get-subaccounts.js +51 -0
  306. package/dist/module/gross-payment-chart-core2.js +2 -2
  307. package/dist/module/identity-address-form.js +1 -1
  308. package/dist/module/justifi-additional-statement.d.ts +11 -0
  309. package/dist/module/justifi-additional-statement.js +6 -0
  310. package/dist/module/justifi-business-form.js +3 -2
  311. package/dist/module/justifi-cancellation-policy.d.ts +11 -0
  312. package/dist/module/justifi-cancellation-policy.js +6 -0
  313. package/dist/module/justifi-checkout.js +1 -22
  314. package/dist/module/justifi-checkouts-list.d.ts +11 -0
  315. package/dist/module/justifi-checkouts-list.js +191 -0
  316. package/dist/module/justifi-counter-dispute.d.ts +11 -0
  317. package/dist/module/justifi-counter-dispute.js +6 -0
  318. package/dist/module/justifi-customer-details.d.ts +11 -0
  319. package/dist/module/justifi-customer-details.js +6 -0
  320. package/dist/module/justifi-dispute-management-core.d.ts +11 -0
  321. package/dist/module/justifi-dispute-management-core.js +6 -0
  322. package/dist/module/justifi-dispute-management.d.ts +11 -0
  323. package/dist/module/justifi-dispute-management.js +157 -0
  324. package/dist/module/justifi-dispute-notification.d.ts +11 -0
  325. package/dist/module/justifi-dispute-notification.js +6 -0
  326. package/dist/module/justifi-dispute-reason.d.ts +11 -0
  327. package/dist/module/justifi-dispute-reason.js +6 -0
  328. package/dist/module/justifi-duplicate-charge.d.ts +11 -0
  329. package/dist/module/justifi-duplicate-charge.js +6 -0
  330. package/dist/module/justifi-electronic-evidence.d.ts +11 -0
  331. package/dist/module/justifi-electronic-evidence.js +6 -0
  332. package/dist/module/justifi-payment-details.js +2 -1
  333. package/dist/module/justifi-payment-form.js +5 -4
  334. package/dist/module/justifi-payments-list.js +5 -6
  335. package/dist/module/justifi-payout-details.js +2 -1
  336. package/dist/module/justifi-payouts-list.js +5 -7
  337. package/dist/module/justifi-product-or-service.d.ts +11 -0
  338. package/dist/module/justifi-product-or-service.js +6 -0
  339. package/dist/module/justifi-refund-form.js +3 -2
  340. package/dist/module/justifi-refund-policy.d.ts +11 -0
  341. package/dist/module/justifi-refund-policy.js +6 -0
  342. package/dist/module/justifi-season-interruption-insurance.js +3 -2
  343. package/dist/module/justifi-shipping-details.d.ts +11 -0
  344. package/dist/module/justifi-shipping-details.js +6 -0
  345. package/dist/module/justifi-terminals-list.d.ts +11 -0
  346. package/dist/module/justifi-terminals-list.js +216 -0
  347. package/dist/module/justifi-tokenize-payment-method.d.ts +11 -0
  348. package/dist/module/justifi-tokenize-payment-method.js +153 -0
  349. package/dist/module/legal-address-form-step-core.js +1 -1
  350. package/dist/module/legal-address-form.js +1 -1
  351. package/dist/module/lodash.js +17204 -0
  352. package/dist/module/owner-form-core2.js +1 -1
  353. package/dist/module/owner-form-inputs2.js +1 -1
  354. package/dist/module/package.js +1 -1
  355. package/dist/module/payment-details-core2.js +9 -8
  356. package/dist/module/payment-method-form.js +1 -1
  357. package/dist/module/payment-method-selector.js +3 -2
  358. package/dist/module/payment.service.js +2 -1
  359. package/dist/module/payments-list-core2.js +7 -6
  360. package/dist/module/payments-list-filters2.js +2 -17204
  361. package/dist/module/payments-status.js +24 -0
  362. package/dist/module/payout-details-core2.js +3 -2
  363. package/dist/module/payouts-list-core2.js +8 -23
  364. package/dist/module/payouts-status.js +22 -0
  365. package/dist/module/product-or-service.js +60 -0
  366. package/dist/module/refund-policy.js +63 -0
  367. package/dist/module/saved-payment-method.js +1 -1
  368. package/dist/module/season-interruption-insurance-core.js +3 -3
  369. package/dist/module/sezzle-payment-method.js +1 -1
  370. package/dist/module/shipping-details.js +79 -0
  371. package/dist/module/table-filters-menu2.js +1 -1
  372. package/dist/module/table-loading-state.js +34 -0
  373. package/dist/module/table.js +21 -0
  374. package/dist/module/terminals-list-core.d.ts +11 -0
  375. package/dist/module/terminals-list-core.js +6 -0
  376. package/dist/module/terminals-list-core2.js +241 -0
  377. package/dist/module/terminals-list-filters.d.ts +11 -0
  378. package/dist/module/terminals-list-filters.js +6 -0
  379. package/dist/module/terminals-list-filters2.js +83 -0
  380. package/dist/module/utils2.js +1 -43
  381. package/dist/types/api/Api.d.ts +1 -1
  382. package/dist/types/api/Checkout.d.ts +74 -2
  383. package/dist/types/api/SubAccount.d.ts +51 -0
  384. package/dist/types/api/Terminal.d.ts +48 -0
  385. package/dist/types/api/get-subaccounts.d.ts +10 -0
  386. package/dist/types/api/index.d.ts +2 -0
  387. package/dist/types/api/services/checkout.service.d.ts +3 -1
  388. package/dist/types/api/services/subaccounts.service.d.ts +7 -0
  389. package/dist/types/api/services/terminal.service.d.ts +9 -0
  390. package/dist/types/components/billing-form/billing-form.d.ts +1 -1
  391. package/dist/types/components/business-forms/business-form/additional-questions/additional-questions.d.ts +1 -1
  392. package/dist/types/components/business-forms/business-form/business-core-info/business-core-info.d.ts +1 -1
  393. package/dist/types/components/business-forms/business-form/business-representative/business-representative.d.ts +1 -1
  394. package/dist/types/components/business-forms/business-form/legal-address-form/legal-address-form.d.ts +1 -1
  395. package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +1 -1
  396. package/dist/types/components/business-forms/owner-form/owner-form-inputs.d.ts +1 -1
  397. package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.d.ts +1 -1
  398. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +1 -1
  399. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +1 -1
  400. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.d.ts +1 -1
  401. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +1 -1
  402. package/dist/types/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.d.ts +1 -1
  403. package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +1 -1
  404. package/dist/types/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.d.ts +1 -1
  405. package/dist/types/components/business-forms/utils/input-handlers.d.ts +1 -1
  406. package/dist/types/components/checkouts-list/checkouts-list-core.d.ts +35 -0
  407. package/dist/types/components/checkouts-list/checkouts-list-filters.d.ts +15 -0
  408. package/dist/types/components/checkouts-list/checkouts-list.d.ts +44 -0
  409. package/dist/types/components/checkouts-list/checkouts-status.d.ts +1 -0
  410. package/dist/types/components/checkouts-list/checkouts-table.d.ts +17 -0
  411. package/dist/types/components/checkouts-list/get-checkouts.d.ts +10 -0
  412. package/dist/types/components/dispute-management/counter-dispute/additional-statement.d.ts +3 -0
  413. package/dist/types/components/dispute-management/counter-dispute/cancellation-policy.d.ts +3 -0
  414. package/dist/types/components/dispute-management/counter-dispute/counter-dispute.d.ts +14 -0
  415. package/dist/types/components/dispute-management/counter-dispute/customer-details.d.ts +3 -0
  416. package/dist/types/components/dispute-management/counter-dispute/dispute-reason.d.ts +3 -0
  417. package/dist/types/components/dispute-management/counter-dispute/duplicate-charge.d.ts +3 -0
  418. package/dist/types/components/dispute-management/counter-dispute/electronic-evidence.d.ts +3 -0
  419. package/dist/types/components/dispute-management/counter-dispute/product-or-service.d.ts +4 -0
  420. package/dist/types/components/dispute-management/counter-dispute/refund-policy.d.ts +3 -0
  421. package/dist/types/components/dispute-management/counter-dispute/shipping-details.d.ts +3 -0
  422. package/dist/types/components/dispute-management/dispute-management-core.d.ts +7 -0
  423. package/dist/types/components/dispute-management/dispute-management.d.ts +3 -0
  424. package/dist/types/components/dispute-management/dispute-notification.d.ts +8 -0
  425. package/dist/types/components/dispute-management/dispute.d.ts +7 -0
  426. package/dist/types/components/payments-list/payments-status.d.ts +1 -0
  427. package/dist/types/components/payouts-list/payouts-list-core.d.ts +1 -2
  428. package/dist/types/components/payouts-list/payouts-status.d.ts +1 -0
  429. package/dist/types/components/terminals-list/get-terminal-detail.d.ts +8 -0
  430. package/dist/types/components/terminals-list/get-terminals.d.ts +10 -0
  431. package/dist/types/components/terminals-list/terminals-list-core.d.ts +35 -0
  432. package/dist/types/components/terminals-list/terminals-list-filters.d.ts +13 -0
  433. package/dist/types/components/terminals-list/terminals-list.d.ts +44 -0
  434. package/dist/types/components/terminals-list/terminals-status.d.ts +1 -0
  435. package/dist/types/components/terminals-list/terminals-table.d.ts +13 -0
  436. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +22 -0
  437. package/dist/types/components.d.ts +740 -12
  438. package/dist/types/{components → ui-components}/form/form-control-date.d.ts +2 -1
  439. package/dist/types/ui-components/form/form-control-radio.d.ts +19 -0
  440. package/dist/types/ui-components/form/form-control-textarea.d.ts +20 -0
  441. package/dist/types/ui-components/index.d.ts +1 -0
  442. package/dist/types/utils/table.d.ts +14 -0
  443. package/dist/types/utils/utils.d.ts +0 -2
  444. package/dist/webcomponents/p-02cf5e6f.js +1 -0
  445. package/dist/webcomponents/p-088826fe.entry.js +1 -0
  446. package/dist/webcomponents/p-0de9e97b.entry.js +1 -0
  447. package/dist/webcomponents/{p-7d3be485.js → p-0e180654.js} +1 -1
  448. package/dist/webcomponents/{p-1d29488a.entry.js → p-0eb0d813.entry.js} +1 -1
  449. package/dist/webcomponents/{p-a3265844.entry.js → p-11ff46df.entry.js} +1 -1
  450. package/dist/webcomponents/p-16d2932d.js +1 -0
  451. package/dist/webcomponents/p-16fc16aa.entry.js +1 -0
  452. package/dist/webcomponents/p-18afa159.entry.js +1 -0
  453. package/dist/webcomponents/p-1ab798f4.entry.js +1 -0
  454. package/dist/webcomponents/p-1c44712a.entry.js +1 -0
  455. package/dist/webcomponents/p-206fde40.js +1 -0
  456. package/dist/webcomponents/p-269ba6fe.entry.js +1 -0
  457. package/dist/webcomponents/{p-1e178dd1.entry.js → p-286a4e72.entry.js} +2 -2
  458. package/dist/webcomponents/p-2c2b57b3.js +1 -0
  459. package/dist/webcomponents/{p-61514f78.entry.js → p-2c8c214f.entry.js} +1 -1
  460. package/dist/webcomponents/p-32a782c8.entry.js +1 -0
  461. package/dist/webcomponents/p-366c49b6.entry.js +1 -0
  462. package/dist/webcomponents/{p-277aee05.js → p-3d3468a8.js} +1 -1
  463. package/dist/webcomponents/{p-5df26e65.entry.js → p-3fbbdbba.entry.js} +1 -1
  464. package/dist/webcomponents/p-4422ca71.entry.js +1 -0
  465. package/dist/webcomponents/p-47dbe17d.js +1 -0
  466. package/dist/webcomponents/p-4b14abbf.entry.js +1 -0
  467. package/dist/webcomponents/p-4c0c88e4.entry.js +1 -0
  468. package/dist/webcomponents/p-56d84fb3.entry.js +1 -0
  469. package/dist/webcomponents/p-5f10b3e9.entry.js +1 -0
  470. package/dist/webcomponents/p-638c6285.entry.js +1 -0
  471. package/dist/webcomponents/{p-122c2a11.entry.js → p-69ea7334.entry.js} +1 -1
  472. package/dist/webcomponents/p-6caf6f09.entry.js +1 -0
  473. package/dist/webcomponents/{p-da1d174d.entry.js → p-72819173.entry.js} +1 -1
  474. package/dist/webcomponents/{p-799ee8c3.js → p-74822344.js} +1 -1
  475. package/dist/webcomponents/{p-bc9ae56f.js → p-7fea661a.js} +1 -1
  476. package/dist/webcomponents/p-8480e3ab.entry.js +1 -0
  477. package/dist/webcomponents/p-84987cd4.entry.js +1 -0
  478. package/dist/webcomponents/p-869ae0c7.entry.js +1 -0
  479. package/dist/webcomponents/p-8e228e5a.js +1 -0
  480. package/dist/webcomponents/p-8ec550d7.entry.js +1 -0
  481. package/dist/webcomponents/p-8f212554.entry.js +1 -0
  482. package/dist/webcomponents/p-8f26db63.entry.js +1 -0
  483. package/dist/webcomponents/p-907ba963.js +1 -0
  484. package/dist/webcomponents/p-919e6e67.entry.js +1 -0
  485. package/dist/webcomponents/p-927a147c.entry.js +1 -0
  486. package/dist/webcomponents/p-935188c8.entry.js +1 -0
  487. package/dist/webcomponents/p-9f56ad71.js +1 -0
  488. package/dist/webcomponents/p-a3143d62.entry.js +1 -0
  489. package/dist/webcomponents/{p-ca8e126f.js → p-a8f22d4d.js} +1 -1
  490. package/dist/webcomponents/p-ad443df5.entry.js +1 -0
  491. package/dist/webcomponents/p-b16269d7.js +1 -0
  492. package/dist/webcomponents/p-bba131f9.entry.js +1 -0
  493. package/dist/webcomponents/p-bfb990fc.entry.js +1 -0
  494. package/dist/webcomponents/p-c1bf9285.entry.js +1 -0
  495. package/dist/webcomponents/p-c30c8f39.entry.js +1 -0
  496. package/dist/webcomponents/p-c4df0098.entry.js +1 -0
  497. package/dist/webcomponents/p-c5c6e61d.js +1 -0
  498. package/dist/webcomponents/{p-5022f21c.js → p-c65b78cf.js} +1 -1
  499. package/dist/webcomponents/p-c6be72b0.js +10 -0
  500. package/dist/webcomponents/p-c717646f.entry.js +1 -0
  501. package/dist/webcomponents/{p-08d88fd2.entry.js → p-c8b2f11d.entry.js} +1 -1
  502. package/dist/webcomponents/p-ccbff4fa.entry.js +1 -0
  503. package/dist/webcomponents/p-cd4eaeb7.js +1 -0
  504. package/dist/webcomponents/p-cd7e866c.entry.js +1 -0
  505. package/dist/webcomponents/{p-8f447993.entry.js → p-d2eb61e6.entry.js} +1 -1
  506. package/dist/webcomponents/p-d516e700.js +1 -0
  507. package/dist/webcomponents/p-d5cd727b.entry.js +1 -0
  508. package/dist/webcomponents/p-e07d5e0f.entry.js +1 -0
  509. package/dist/webcomponents/p-e412a713.entry.js +1 -0
  510. package/dist/webcomponents/p-e69b2ff8.entry.js +1 -0
  511. package/dist/webcomponents/p-e6be8845.entry.js +1 -0
  512. package/dist/webcomponents/p-e8797be0.entry.js +1 -0
  513. package/dist/webcomponents/p-eb9ba917.entry.js +1 -0
  514. package/dist/webcomponents/{p-1eb60948.entry.js → p-eeb70281.entry.js} +1 -1
  515. package/dist/webcomponents/p-eee24bb2.entry.js +1 -0
  516. package/dist/webcomponents/{p-cd74be05.entry.js → p-efb56234.entry.js} +1 -1
  517. package/dist/webcomponents/{p-401d6607.js → p-f6f8dabc.js} +1 -1
  518. package/dist/webcomponents/{p-6d4b585d.js → p-fb2005de.js} +1 -1
  519. package/dist/webcomponents/p-fc4de0d2.js +1 -0
  520. package/dist/webcomponents/webcomponents.esm.js +1 -1
  521. package/package.json +1 -1
  522. package/dist/cjs/Payout-a2dd7b01.js +0 -45
  523. package/dist/cjs/form-control-date_3.cjs.entry.js +0 -175
  524. package/dist/cjs/justifi-payment-method-form.cjs.entry.js +0 -1688
  525. package/dist/esm/Payout-dfe15b00.js +0 -43
  526. package/dist/esm/form-control-date_3.entry.js +0 -169
  527. package/dist/esm/justifi-payment-method-form.entry.js +0 -1684
  528. package/dist/module/Payout.js +0 -43
  529. package/dist/webcomponents/p-0c2d91a2.entry.js +0 -1
  530. package/dist/webcomponents/p-11f01df5.entry.js +0 -1
  531. package/dist/webcomponents/p-23f95a19.entry.js +0 -1
  532. package/dist/webcomponents/p-2874d4b2.entry.js +0 -10
  533. package/dist/webcomponents/p-43dfda70.entry.js +0 -1
  534. package/dist/webcomponents/p-55182a59.js +0 -1
  535. package/dist/webcomponents/p-55fe2cf2.entry.js +0 -1
  536. package/dist/webcomponents/p-5e5e8a85.js +0 -1
  537. package/dist/webcomponents/p-605614f2.entry.js +0 -1
  538. package/dist/webcomponents/p-6962044f.entry.js +0 -1
  539. package/dist/webcomponents/p-6a9e908b.entry.js +0 -1
  540. package/dist/webcomponents/p-6ba660f2.entry.js +0 -1
  541. package/dist/webcomponents/p-6e258b5f.entry.js +0 -1
  542. package/dist/webcomponents/p-770f60f9.entry.js +0 -1
  543. package/dist/webcomponents/p-7cb3854c.entry.js +0 -1
  544. package/dist/webcomponents/p-80730b71.entry.js +0 -1
  545. package/dist/webcomponents/p-8f04747b.entry.js +0 -1
  546. package/dist/webcomponents/p-9a37eee5.entry.js +0 -1
  547. package/dist/webcomponents/p-a1d037cb.entry.js +0 -1
  548. package/dist/webcomponents/p-a680c982.entry.js +0 -1
  549. package/dist/webcomponents/p-a765230f.entry.js +0 -1
  550. package/dist/webcomponents/p-b7b18954.entry.js +0 -1
  551. package/dist/webcomponents/p-c241cc62.entry.js +0 -1
  552. package/dist/webcomponents/p-d0ffb01c.entry.js +0 -1
  553. package/dist/webcomponents/p-da316a74.entry.js +0 -1
  554. package/dist/webcomponents/p-db3d1d7d.entry.js +0 -1
  555. package/dist/webcomponents/p-dee2a3f8.entry.js +0 -1
  556. package/dist/webcomponents/p-e3fab0e2.js +0 -1
  557. package/dist/webcomponents/p-e56ade55.js +0 -1
  558. package/dist/webcomponents/p-e927fd5c.entry.js +0 -1
  559. package/dist/webcomponents/p-f3e00572.entry.js +0 -1
  560. package/dist/webcomponents/p-f71a5975.entry.js +0 -1
  561. /package/dist/cjs/{exported-parts-b18c68c2.js → exported-parts-a994d693.js} +0 -0
  562. /package/dist/cjs/{index.esm-52757963.js → index.esm-97cf6825.js} +0 -0
  563. /package/dist/cjs/{utils-c1d2e426.js → utils-189dc30d.js} +0 -0
  564. /package/dist/cjs/{utils-ddacfc44.js → utils-bc03ca40.js} +0 -0
  565. /package/dist/collection/{components → ui-components}/details/utils.js +0 -0
  566. /package/dist/collection/{components → ui-components}/form/form-helpers/form-alert/form-alert.js +0 -0
  567. /package/dist/collection/{components → ui-components}/form/form-helpers/form-control-error-text/form-control-error-text.js +0 -0
  568. /package/dist/collection/{components → ui-components}/form/form-helpers/form-control-help-text/form-control-help-text.js +0 -0
  569. /package/dist/collection/{components → ui-components}/form/form-helpers/form-control-tooltip/form-control-tooltip.js +0 -0
  570. /package/dist/collection/{components → ui-components}/form/form.js +0 -0
  571. /package/dist/collection/{components → ui-components}/form/utils.js +0 -0
  572. /package/dist/collection/{components → ui-components}/table/exported-parts.js +0 -0
  573. /package/dist/esm/{exported-parts-abd4c027.js → exported-parts-70e7a12b.js} +0 -0
  574. /package/dist/esm/{index.esm-fc4f5c0c.js → index.esm-ed37201b.js} +0 -0
  575. /package/dist/esm/{utils-3bb6347a.js → utils-20cdf321.js} +0 -0
  576. /package/dist/esm/{utils-01413a95.js → utils-218275b7.js} +0 -0
  577. /package/dist/types/{components → ui-components}/details/details.d.ts +0 -0
  578. /package/dist/types/{components → ui-components}/details/utils.d.ts +0 -0
  579. /package/dist/types/{components → ui-components}/form/form-control-checkbox.d.ts +0 -0
  580. /package/dist/types/{components → ui-components}/form/form-control-file.d.ts +0 -0
  581. /package/dist/types/{components → ui-components}/form/form-control-monetary.d.ts +0 -0
  582. /package/dist/types/{components → ui-components}/form/form-control-number-masked.d.ts +0 -0
  583. /package/dist/types/{components → ui-components}/form/form-control-number.d.ts +0 -0
  584. /package/dist/types/{components → ui-components}/form/form-control-select.d.ts +0 -0
  585. /package/dist/types/{components → ui-components}/form/form-control-text.d.ts +0 -0
  586. /package/dist/types/{components → ui-components}/form/form-helpers/form-alert/form-alert.d.ts +0 -0
  587. /package/dist/types/{components → ui-components}/form/form-helpers/form-control-error-text/form-control-error-text.d.ts +0 -0
  588. /package/dist/types/{components → ui-components}/form/form-helpers/form-control-help-text/form-control-help-text.d.ts +0 -0
  589. /package/dist/types/{components → ui-components}/form/form-helpers/form-control-tooltip/form-control-tooltip.d.ts +0 -0
  590. /package/dist/types/{components → ui-components}/form/form.d.ts +0 -0
  591. /package/dist/types/{components → ui-components}/form/utils.d.ts +0 -0
  592. /package/dist/types/{components → ui-components}/table/exported-parts.d.ts +0 -0
  593. /package/dist/webcomponents/{p-2eab3c90.js → p-3c654c07.js} +0 -0
  594. /package/dist/webcomponents/{p-2b6c9c4f.js → p-6cc30da2.js} +0 -0
  595. /package/dist/webcomponents/{p-dce846bf.js → p-a8b4f429.js} +0 -0
  596. /package/dist/webcomponents/{p-8df7bde8.js → p-e3c22aa9.js} +0 -0
@@ -4,7 +4,7 @@ import { C as CURRENCY_MASK, T as TAX_ID_MASKS, P as PHONE_MASKS, S as SSN_MASK
4
4
  import { C as CoreBusinessInfo } from './Business-b73d5055.js';
5
5
  import { d as deconstructDate } from './helpers-96ea3464.js';
6
6
  import { S as StateOptions } from './state-options-a356fb11.js';
7
- import { n as numberOnlyHandler } from './utils-3bb6347a.js';
7
+ import { n as numberOnlyHandler } from './utils-20cdf321.js';
8
8
 
9
9
  const FormAlert = class {
10
10
  constructor(hostRef) {
@@ -64,7 +64,7 @@ const BusinessCoreInfo = class {
64
64
  }
65
65
  render() {
66
66
  const coreInfoDefaultValue = this.formController.getInitialValues();
67
- return (h(Host, { key: '59fa8a9a4bef1875845633b66b60ebf2350fe61e', exportparts: "label,input,input-invalid" }, h("fieldset", { key: '7b6c58d55cf2ed0f5020f043e164c63423d9ee4f' }, h("legend", { key: '5be18bc86f27541d7c6bb4ea4e05e3df4c9d87c0' }, "General Info"), h("hr", { key: '33747ac14e24ef2ecf9e84970cd8924b9f5a5c53' }), h("div", { key: '3d550cac878b9676d620fbea3c14dacf4db4e72f', class: "row gy-3" }, h("div", { key: 'd2226f4bdbbd87169d1ef75f9ffc1d7f6a6acba7', class: "col-12" }, h("form-control-text", { key: '4367c1eeec808b9b134c880be587f58327778bb2', name: "legal_name", label: "Legal Name", defaultValue: coreInfoDefaultValue.legal_name, errorText: this.errors.legal_name, inputHandler: this.inputHandler })), h("div", { key: '455cacee1c69e28fc447e893bf648ff30946f66f', class: "col-12" }, h("form-control-text", { key: '1ea37fac67414741edab132c0b8d70c84cb4f1db', name: "doing_business_as", label: "Doing Business As (DBA)", defaultValue: coreInfoDefaultValue.doing_business_as, errorText: this.errors.doing_business_as, inputHandler: this.inputHandler })), h("div", { key: '3da63dd018d2503a9b47a2b0950f95ce887ba38d', class: "col-12 col-md-8" }, h("form-control-select", { key: 'a059c7fda30418c4338ac58630170104d616c0f2', name: "classification", label: "Business Classification", options: businessClassificationOptions, defaultValue: coreInfoDefaultValue.classification, errorText: this.errors.classification, inputHandler: this.inputHandler })), h("div", { key: '9157cac7c6999b25c8acf4e698d082a0fcbffe9d', class: "col-12 col-md-4" }, h("form-control-date", { key: '0726e93b8f6b2bd792102bb131c13e0806717f82', name: "date_of_incorporation", label: "Date of Incorporation", defaultValue: coreInfoDefaultValue.date_of_incorporation, errorText: this.errors.date_of_incorporation, inputHandler: this.inputHandler })), h("div", { key: 'f3391ac0166116ef685c6d26e6d0705d087fa83d', class: "col-12 col-md-6" }, h("form-control-text", { key: '682a18784fab9410002c7949a7cfa606f3ec5784', name: "industry", label: "Industry", defaultValue: coreInfoDefaultValue.industry, errorText: this.errors.industry, inputHandler: this.inputHandler })), h("div", { key: '4a2d95cc422ebc882e2a47237f5b1324a7660b36', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '0d138b6bafde2b5fc7c45f9d4d51746e5f91baaa', name: "tax_id", label: "Tax ID", defaultValue: coreInfoDefaultValue.tax_id, errorText: this.errors.tax_id, inputHandler: this.inputHandler, mask: TAX_ID_MASKS.US })), h("div", { key: 'a895244496b196804a16931589f6f353c49476e8', class: "col-12" }, h("form-control-text", { key: '68375469c212b97e76861e5b8590dd502533a35a', name: "website_url", label: "Website URL", defaultValue: coreInfoDefaultValue.website_url, errorText: this.errors.website_url, inputHandler: this.inputHandler })), h("div", { key: '84d1a7f2b51b6dae3283bbd6d0f5aca81a0da07b', class: "col-12 col-md-6" }, h("form-control-text", { key: '27f9dd986a431fa14028f1faa3997bbdb623574e', name: "email", label: "Email Address", defaultValue: coreInfoDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '0902cff0a887d5f19c5326ce135fed5f54d6643a', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: 'bbce92814cbf42f17a0a9e1e1df194d3ea3a15b0', name: "phone", label: "Phone Number", defaultValue: coreInfoDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US }))))));
67
+ return (h(Host, { key: '8d81a67cdd39073a8a2c4a392b848583bfbd3bb8', exportparts: "label,input,input-invalid" }, h("fieldset", { key: '83cf000ec3b8d66bc62d87e9adaf323e148d8caf' }, h("legend", { key: '904718bfb29a0542edf87a200c787424802a5e83' }, "General Info"), h("hr", { key: 'c62b85278d5dad53a5f87b4ce58e91092a7d8669' }), h("div", { key: 'f0bb373bf75561070fb745e0c73c3c65fd6754f1', class: "row gy-3" }, h("div", { key: 'a4d7446b5ba21a87b0f308726f0ebb6d827f4f97', class: "col-12" }, h("form-control-text", { key: '70c449d9559c0c08c449531a585fc0ffcd0a745c', name: "legal_name", label: "Legal Name", defaultValue: coreInfoDefaultValue.legal_name, errorText: this.errors.legal_name, inputHandler: this.inputHandler })), h("div", { key: '8483e884591f2f48502d59ff3c2135a38f623752', class: "col-12" }, h("form-control-text", { key: '5037e14c786af49c92c139d83ac4b600a22e0d20', name: "doing_business_as", label: "Doing Business As (DBA)", defaultValue: coreInfoDefaultValue.doing_business_as, errorText: this.errors.doing_business_as, inputHandler: this.inputHandler })), h("div", { key: '3de67ca2647f294aaea74964e7959e470d64ded6', class: "col-12 col-md-8" }, h("form-control-select", { key: '97f96111305371f1a4e037d49ed88cd9ee1864c6', name: "classification", label: "Business Classification", options: businessClassificationOptions, defaultValue: coreInfoDefaultValue.classification, errorText: this.errors.classification, inputHandler: this.inputHandler })), h("div", { key: '9e72fce44d9dedddb78e80e60de04f9d1c011c3d', class: "col-12 col-md-4" }, h("form-control-date", { key: '7ef7d6dfc1be302b7c34c03c5795d487bfecb628', name: "date_of_incorporation", label: "Date of Incorporation", defaultValue: coreInfoDefaultValue.date_of_incorporation, errorText: this.errors.date_of_incorporation, inputHandler: this.inputHandler })), h("div", { key: '1f922b07e9b518ef8803e38baf592edc5e1f3d53', class: "col-12 col-md-6" }, h("form-control-text", { key: '4db75fd442ab14ff0387967f8a91fc34b666aeca', name: "industry", label: "Industry", defaultValue: coreInfoDefaultValue.industry, errorText: this.errors.industry, inputHandler: this.inputHandler })), h("div", { key: '3f7fe65745fc046a7654a1d091c68ba54f139bda', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '3e0c9db91b9bc2eed4a048d96e7d5c8e6cf9e04e', name: "tax_id", label: "Tax ID", defaultValue: coreInfoDefaultValue.tax_id, errorText: this.errors.tax_id, inputHandler: this.inputHandler, mask: TAX_ID_MASKS.US })), h("div", { key: 'cc4f89e9b8507752c147a9f59ed6a945ccfa0d95', class: "col-12" }, h("form-control-text", { key: '7d19bd16720da687b4a0f506509ec9fd8a6185fa', name: "website_url", label: "Website URL", defaultValue: coreInfoDefaultValue.website_url, errorText: this.errors.website_url, inputHandler: this.inputHandler })), h("div", { key: 'ddfacd485ca994560955ffaf3e9dc21e6300ea06', class: "col-12 col-md-6" }, h("form-control-text", { key: '9047a690090fe0c64b580c64bed78febeffafee8', name: "email", label: "Email Address", defaultValue: coreInfoDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '54a8e1f648446f5be503c2f1f9e99e841f9a6e6f', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: 'ce8821b40c1771df94bc2a9658eea34befdd462a', name: "phone", label: "Phone Number", defaultValue: coreInfoDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US }))))));
68
68
  }
69
69
  };
70
70
 
@@ -116,7 +116,7 @@ const LegalAddressForm = class {
116
116
  render() {
117
117
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
118
118
  const legalAddressDefaultValue = this.formController.getInitialValues().legal_address;
119
- return (h(Host, { key: '794669fd0c563f54abde94146df007b114c30465', exportparts: "label,input,input-invalid" }, h("fieldset", { key: '34cf40bcf68c4b0af97363700ede8d5ef778c38c' }, h("legend", { key: 'deb0acfa3da0128a9337ddddd76592d7569685c6' }, "Business Legal Address"), h("hr", { key: '1d01aa0b9577c47c24af4e85728828d41164c5ee' }), h("div", { key: '2199ba800c530bb9a5704431103660a39bdf70fb', class: "row gy-3" }, h("div", { key: '811fa71f919e62d6ecf44fd97e5940473bdb2a51', class: "col-12" }, h("form-control-text", { key: '06305b11aecb6b49bc8d3c0b39b8652f3968083e', name: "line1", label: "Legal Address", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.line1, errorText: (_b = (_a = this.errors) === null || _a === void 0 ? void 0 : _a.legal_address) === null || _b === void 0 ? void 0 : _b.line1 })), h("div", { key: 'c1a2aad7893ac8f5aed57e662ce0704a4e0ed2fa', class: "col-12" }, h("form-control-text", { key: '858e3e7be65828a89b07f954e82033c76f4ab350', name: "line2", label: "Address Line 2", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.line2, errorText: (_d = (_c = this.errors) === null || _c === void 0 ? void 0 : _c.legal_address) === null || _d === void 0 ? void 0 : _d.line2 })), h("div", { key: '641805ddb44395c77020e708b60ff2a09ffc5d5b', class: "col-12" }, h("form-control-text", { key: '6d881c0aacf9a689305a15f353d376917a6e8aff', name: "city", label: "City", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.city, errorText: (_f = (_e = this.errors) === null || _e === void 0 ? void 0 : _e.legal_address) === null || _f === void 0 ? void 0 : _f.city })), h("div", { key: '6bab46c2823b9da84ac66496b80a4f98d237ccfe', class: "col-12" }, h("form-control-select", { key: '0cc60022e6862884df786ea7414cf4cae4c45728', name: "state", label: "State", options: StateOptions, inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.state, errorText: (_h = (_g = this.errors) === null || _g === void 0 ? void 0 : _g.legal_address) === null || _h === void 0 ? void 0 : _h.state })), h("div", { key: 'ff349be7524f3b3fc7a3adee03259f7b8bf10390', class: "col-12" }, h("form-control-text", { key: '015277e0bde6a15077744f9d09bc016a0db4b465', name: "postal_code", label: "Postal Code", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.postal_code, errorText: (_k = (_j = this.errors) === null || _j === void 0 ? void 0 : _j.legal_address) === null || _k === void 0 ? void 0 : _k.postal_code, maxLength: 5, keyDownHandler: numberOnlyHandler })), h("div", { key: 'd6097ef782c0d47a2d93c4624635e7f820dac95d', class: "col-12" }, h("form-control-select", { key: '396a8c6bc10f288bde9289b7177c161e42f60b7e', name: "country", label: "Country", options: [{ label: 'United States', value: 'USA' }], inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.country, errorText: (_m = (_l = this.errors) === null || _l === void 0 ? void 0 : _l.legal_address) === null || _m === void 0 ? void 0 : _m.country,
119
+ return (h(Host, { key: 'c882f02585a8b78ddd35e0d28a71252324631634', exportparts: "label,input,input-invalid" }, h("fieldset", { key: '7b41893d22bc032020060200e63f80707385585c' }, h("legend", { key: 'ddd67063e34b95920080bd649c0e3cfd1f4f1c0b' }, "Business Legal Address"), h("hr", { key: '7a74e634115497c445437543120bc8d9ff2d16ef' }), h("div", { key: 'acd00ea38decc4f4605ba058e2580626a86397a4', class: "row gy-3" }, h("div", { key: 'ca5a109b181dceab7d71bf3b7aa4cbaadc70ad6f', class: "col-12" }, h("form-control-text", { key: '67271661212a45157e37fe136a4a778552a9bfc9', name: "line1", label: "Legal Address", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.line1, errorText: (_b = (_a = this.errors) === null || _a === void 0 ? void 0 : _a.legal_address) === null || _b === void 0 ? void 0 : _b.line1 })), h("div", { key: '1d2ed08d41694bf530c92c1cd6f7092c46f93b40', class: "col-12" }, h("form-control-text", { key: '66dcae505b16fe4a5cb43e541f197d7de45f374e', name: "line2", label: "Address Line 2", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.line2, errorText: (_d = (_c = this.errors) === null || _c === void 0 ? void 0 : _c.legal_address) === null || _d === void 0 ? void 0 : _d.line2 })), h("div", { key: 'ad5bd6ecb8fd5afec958d44fe6fb265b8cfac358', class: "col-12" }, h("form-control-text", { key: '33053662779ae34f6117fec9d2c8f2b3ae57ab53', name: "city", label: "City", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.city, errorText: (_f = (_e = this.errors) === null || _e === void 0 ? void 0 : _e.legal_address) === null || _f === void 0 ? void 0 : _f.city })), h("div", { key: 'fa19d830d677b2e183dff7ee8532c23e77d2d162', class: "col-12" }, h("form-control-select", { key: '481324e4af2b4af52cd9955331b402a30ca0bc45', name: "state", label: "State", options: StateOptions, inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.state, errorText: (_h = (_g = this.errors) === null || _g === void 0 ? void 0 : _g.legal_address) === null || _h === void 0 ? void 0 : _h.state })), h("div", { key: '76642ac99c59d4a4a75b2d8b03cffe807d96d62b', class: "col-12" }, h("form-control-text", { key: '0d46bb841e259ff86da5aff4e1e8ac9b000db331', name: "postal_code", label: "Postal Code", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.postal_code, errorText: (_k = (_j = this.errors) === null || _j === void 0 ? void 0 : _j.legal_address) === null || _k === void 0 ? void 0 : _k.postal_code, maxLength: 5, keyDownHandler: numberOnlyHandler })), h("div", { key: '947782f5fa17fa0df3e431fe587d1efefbecdc27', class: "col-12" }, h("form-control-select", { key: 'd8848595610231ad5bf86f21eaad4bbb45617b01', name: "country", label: "Country", options: [{ label: 'United States', value: 'USA' }], inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.country, errorText: (_m = (_l = this.errors) === null || _l === void 0 ? void 0 : _l.legal_address) === null || _m === void 0 ? void 0 : _m.country,
120
120
  // just for now so we skip handling country specificities
121
121
  disabled: true }))))));
122
122
  }
@@ -1,15 +1,15 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-57431c24.js';
2
- import { a as additionalQuestionsSchema, b as businessCoreInfoSchema } from './business-additional-questions-schema-a5583cf8.js';
3
- import { F as FormController } from './index.esm-fc4f5c0c.js';
2
+ import { a as additionalQuestionsSchema, b as businessCoreInfoSchema } from './business-additional-questions-schema-97f52255.js';
3
+ import { F as FormController } from './index.esm-ed37201b.js';
4
4
  import { A as AdditionalQuestions, C as CoreBusinessInfo, R as Representative, b as Address } from './Business-b73d5055.js';
5
5
  import { c as BusinessFormStepV2, b as BusinessFormStep, a as BusinessFormClickActions } from './business-form-types-8fd61b0e.js';
6
6
  import { C as CURRENCY_MASK, P as PHONE_MASKS } from './form-input-masks-0e18300f.js';
7
7
  import { a as businessServiceReceivedOptions, r as recurringPaymentsOptions, s as seasonalBusinessOptions, b as businessClassificationOptions } from './business-form-options-d790973e.js';
8
- import { n as numberOnlyHandler } from './utils-3bb6347a.js';
9
- import { N as EntityDocumentType } from './schema-validations-e725d701.js';
10
- import { h as isInRange, s as snakeCaseToHumanReadable, b as formatDate, j as formatTimeSeconds } from './utils-620f2d78.js';
8
+ import { n as numberOnlyHandler } from './utils-20cdf321.js';
9
+ import { N as EntityDocumentType } from './schema-validations-c1728516.js';
10
+ import { g as isInRange, s as snakeCaseToHumanReadable, a as formatDate, h as formatTimeSeconds } from './utils-3daada24.js';
11
11
  import { B as Button } from './button-34e75e0f.js';
12
- import { i as identitySchema, a as addressSchema } from './business-identity-schema-9e3269fb.js';
12
+ import { i as identitySchema, a as addressSchema } from './business-identity-schema-434e16bc.js';
13
13
  import { S as StateOptions } from './state-options-a356fb11.js';
14
14
  import './helpers-96ea3464.js';
15
15
 
@@ -42,7 +42,7 @@ const CheckboxInput = class {
42
42
  this.updateInput(this.defaultValue);
43
43
  }
44
44
  render() {
45
- return (h(Host, { key: 'c3d33e4a76472bb4143720251d1213a47642552c', exportparts: "label,input,input-invalid" }, h("div", { key: '68988cb5e01923e04917a83bd936dc76374c4f42', class: 'form-group d-flex flex-column' }, h("div", { key: '308d9016c2b542b82d3bebcdd2ea431ba537d165', class: "form-check" }, h("input", { key: '16dd03704fc680d380e648655fd1acd6fce3e75a', ref: el => (this.checkboxElement = el), type: "checkbox", id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input-checkbox ${this.errorText ? 'input-checkbox-invalid' : ''}`, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled }), h("label", { key: '4d344d2b87a29f87615f84127aa4209d3bbb5b6b', class: "form-check-label", htmlFor: this.name }, this.label)), h("form-control-help-text", { key: '254147b71ed57277c010aaa9a38a4cc923634896', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: '3fac926a8a1c08a7fe8f97f4610fbbc97716f10e', errorText: this.errorText, name: this.name }))));
45
+ return (h(Host, { key: 'c8edb4605eb989c6ace61a706eecdfaa2fdb312b', exportparts: "label,input,input-invalid" }, h("div", { key: '7e947fd7c2bb62d595b4573196c29e65c49a9fd2', class: 'form-group d-flex flex-column' }, h("div", { key: 'c436746afb9b635164d97787a2c016376293efe6', class: "form-check" }, h("input", { key: '1c49c239af1e8d40306ea9501811496fc4e4f363', ref: el => (this.checkboxElement = el), type: "checkbox", id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input-checkbox ${this.errorText ? 'input-checkbox-invalid' : ''}`, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled }), h("label", { key: 'c84eedc7331cfb4beaa2dacef387179d0d7b3edc', class: "form-check-label", htmlFor: this.name }, this.label)), h("form-control-help-text", { key: 'e7b88e259c2e8cfb11fce667d35d44770baa3283', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: 'ed6dbbb0cab64fac7b9fdf3927cdca135dcaef88', errorText: this.errorText, name: this.name }))));
46
46
  }
47
47
  static get watchers() { return {
48
48
  "defaultValue": ["handleDefaultValueChange"]
@@ -137,7 +137,7 @@ const AdditionalQuestionsFormStepCore = class {
137
137
  render() {
138
138
  var _a, _b, _c, _d, _e, _f, _g;
139
139
  const additionalQuestionsDefaultValue = this.formController.getInitialValues();
140
- return (h("form", { key: '4a72792da50b0a4feaed0ced62266aa78b2e3c6b' }, h("fieldset", { key: 'de77f0e1933a7e5a1dc4c99906d4b4b5385f66ee' }, h("div", { key: '121f4a2ede83b5d91757c18bb1fb223a866470ea', class: "d-flex align-items-center gap-2" }, h("legend", { key: '15d0b9d2fc50e5bd5746be1d589e902feb2583ca', class: "mb-0" }, "Additional Questions"), h("form-control-tooltip", { key: 'e1babd3de64a0dd1c6daa70691e8d46183a8fd3e', helpText: "This information helps us understand the business and identify and monitor trends to safeguard you and your customers." })), h("hr", { key: '44ca37e8de71170488b58b4a4117e287e6ab0766', class: "mt-2" }), h("div", { key: '655521e5a3774d72ec026e9ca7309b680710b40d', class: "row gy-3" }, h("div", { key: 'bfd69518ce9c2efc1db13d0e8d708a995181a6cc', class: "col-12 col-md-6" }, h("form-control-monetary", { key: 'bcaac6bcc18fad927c42e3881e8ef21a3f6bc972', name: "business_revenue", label: "What is your business\u2019 estimated annual revenue from its primary business activities?", inputHandler: this.inputHandler, errorText: (_a = this.errors) === null || _a === void 0 ? void 0 : _a.business_revenue, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_revenue, maskOptions: CURRENCY_MASK.WHOLE })), h("div", { key: '1f1b0ae79efd5d58554cd88dbb04defa0d2bdc9b', class: "col-12 col-md-6" }, h("form-control-monetary", { key: 'f4f561cf3bea66969e310827c6c8a7d7b02a02ba', name: "business_payment_volume", label: "What is your business' annual credit card & ACH volume anticipated to process?", inputHandler: this.inputHandler, errorText: (_b = this.errors) === null || _b === void 0 ? void 0 : _b.business_payment_volume, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_payment_volume, maskOptions: CURRENCY_MASK.WHOLE })), h("div", { key: 'c23361e909ec2854a2289e7a361c9cb60019b46a', class: "col-12" }, h("form-control-select", { key: 'bda327ec9c7435c1cd27cfe4c5c29dfdb7245ec0', 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: (_c = this.errors) === null || _c === void 0 ? void 0 : _c.business_when_service_received, options: businessServiceReceivedOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_when_service_received })), h("div", { key: '27bcc5431a686e824615ae01dead1f5104c9b94a', class: "col-12" }, h("form-control-select", { key: '082d23acbbd37508d217cc21b7768117408d763f', name: "business_recurring_payments", label: "Does your business offer recurring payments?", inputHandler: this.inputHandler, errorText: (_d = this.errors) === null || _d === void 0 ? void 0 : _d.business_recurring_payments, options: recurringPaymentsOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_recurring_payments })), h("div", { key: '4167027883cdff3ad77a4079dd373fabf09d9ec5', class: 'col-12', hidden: !this.recurringPayments }, h("form-control-text", { key: 'f07a610b67e17d733288cdb1f848e03250aea598', name: "business_recurring_payments_percentage", label: "What percent of revenue is generated from each recurring payment type offered?", inputHandler: this.inputHandler, errorText: (_e = this.errors) === null || _e === void 0 ? void 0 : _e.business_recurring_payments_percentage, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_recurring_payments_percentage, helpText: "For example: 50% monthly, 50% annual." })), h("div", { key: '9baae4260f1cda1d43e594ce3a96461584e0a67e', class: "col-12" }, h("form-control-select", { key: 'a61245d3c61cc7de903bfdc5f3082065c58ce554', name: "business_seasonal", label: "Is this business seasonal?", inputHandler: this.inputHandler, errorText: (_f = this.errors) === null || _f === void 0 ? void 0 : _f.business_seasonal, options: seasonalBusinessOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_seasonal })), h("div", { key: 'd98b4071d9e70643d1808b913062e479b7d28cda', class: "col-12" }, h("form-control-text", { key: '5b7103e0fbc391dba09fd5cf0adebcfa827ddb14', 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: (_g = this.errors) === null || _g === void 0 ? void 0 : _g.business_other_payment_details, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_other_payment_details }))))));
140
+ return (h("form", { key: '469cda15cbb05da33e26bc645cc51ebbbdf6e7fc' }, h("fieldset", { key: 'b00875b7d3f3d3ad338c38000cc29b3a550e8a50' }, h("div", { key: '6dfc3d60d5b5469613681715bf1965752fdb9662', class: "d-flex align-items-center gap-2" }, h("legend", { key: '65b2a3769f96714563a468eca3f1d7e82d6a1538', class: "mb-0" }, "Additional Questions"), h("form-control-tooltip", { key: '7a51538fe74cf8e0f3ed49042d6301fb2bd7909b', helpText: "This information helps us understand the business and identify and monitor trends to safeguard you and your customers." })), h("hr", { key: '42496d5e78ed4922a0165caab9e6e7e48cb44616', class: "mt-2" }), h("div", { key: '0d7ff24d81a3f54e223293c393d4ce89588a1c58', class: "row gy-3" }, h("div", { key: '12a1c72e5e5802f7729f2a09764a5cffa194639d', class: "col-12 col-md-6" }, h("form-control-monetary", { key: 'c9f4aecc5b7108c788237f776953c5cd9ae844b8', name: "business_revenue", label: "What is your business\u2019 estimated annual revenue from its primary business activities?", inputHandler: this.inputHandler, errorText: (_a = this.errors) === null || _a === void 0 ? void 0 : _a.business_revenue, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_revenue, maskOptions: CURRENCY_MASK.WHOLE })), h("div", { key: 'ecd78939d2a7ac81932898f65f3c9424f157fb3d', class: "col-12 col-md-6" }, h("form-control-monetary", { key: '5df34b238082a11a4589a05e24c53650bd2c0b79', name: "business_payment_volume", label: "What is your business' annual credit card & ACH volume anticipated to process?", inputHandler: this.inputHandler, errorText: (_b = this.errors) === null || _b === void 0 ? void 0 : _b.business_payment_volume, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_payment_volume, maskOptions: CURRENCY_MASK.WHOLE })), h("div", { key: '9db14123245c84eb3dc33d28154ac9be458987cc', class: "col-12" }, h("form-control-select", { key: '7e9899a2e41c14ae968c5451e46d445cbaa289a4', 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: (_c = this.errors) === null || _c === void 0 ? void 0 : _c.business_when_service_received, options: businessServiceReceivedOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_when_service_received })), h("div", { key: 'f5ebffe9294cbe7e16487c8e63009f7c4901fee1', class: "col-12" }, h("form-control-select", { key: '32a0f978252a52cff90a3a9c1e675515960ee016', name: "business_recurring_payments", label: "Does your business offer recurring payments?", inputHandler: this.inputHandler, errorText: (_d = this.errors) === null || _d === void 0 ? void 0 : _d.business_recurring_payments, options: recurringPaymentsOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_recurring_payments })), h("div", { key: '0aa20a223c15959c7b1e36b8570c17c11c193a8c', class: 'col-12', hidden: !this.recurringPayments }, h("form-control-text", { key: 'e6abbe38ef92091d87c04f832c860ac1a34e855f', name: "business_recurring_payments_percentage", label: "What percent of revenue is generated from each recurring payment type offered?", inputHandler: this.inputHandler, errorText: (_e = this.errors) === null || _e === void 0 ? void 0 : _e.business_recurring_payments_percentage, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_recurring_payments_percentage, helpText: "For example: 50% monthly, 50% annual." })), h("div", { key: '1c2fbe366315babd398e48b38861cb2b8336b287', class: "col-12" }, h("form-control-select", { key: 'eb45c69781ea51ab35f3f0782d1245f553ff63a5', name: "business_seasonal", label: "Is this business seasonal?", inputHandler: this.inputHandler, errorText: (_f = this.errors) === null || _f === void 0 ? void 0 : _f.business_seasonal, options: seasonalBusinessOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_seasonal })), h("div", { key: 'ded80ce1cf8b0fd1b580d5002a1a869aed132f62', class: "col-12" }, h("form-control-text", { key: '80612b8d9381072e0ae670f07b649f01f1cfed66', 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: (_g = this.errors) === null || _g === void 0 ? void 0 : _g.business_other_payment_details, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_other_payment_details }))))));
141
141
  }
142
142
  static get watchers() { return {
143
143
  "additional_questions": ["recurringPaymentsWatcher"]
@@ -222,7 +222,7 @@ const BusinessCoreInfoFormStepCore = class {
222
222
  }
223
223
  render() {
224
224
  const coreInfoDefaultValue = this.formController.getInitialValues();
225
- return (h("form", { key: '356323599591a3f6fdbdb634af70a90c1d614cee' }, h("fieldset", { key: '72021ae5bc712c81936a73a13bd5f62aa9208f71' }, h("div", { key: 'a92a56aeb5ac85a0bf531ac3f7905c827a91674b', class: "d-flex align-items-center gap-2" }, h("legend", { key: '0e1680b2eeacc7892dbb40a3e3b4bf94f706db25', class: "mb-0" }, "Business Information")), h("hr", { key: '4402e5e81d5e77f2d599774a9cbcab87f3e4d389', class: "mt-2" }), h("div", { key: '1e92f6236baef69ab2f00745d634dc79e0aa6660', class: "row gy-3" }, h("div", { key: '538a0496ec6d8cc4f5b9456df047ac91de3cac10', class: "col-12" }, h("form-control-text", { key: '5ae093c4b43f0c66b7a0123dedd6e0da94774380', name: "legal_name", label: "Business Name", defaultValue: coreInfoDefaultValue.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)." })), h("div", { key: 'd7f4e47beb29ca0238186ba8778323dbe180a237', class: "col-12" }, h("form-control-text", { key: '8c430079a1d803929ba55aab06d7a526c9005848', name: "doing_business_as", label: "Doing Business As (DBA)", defaultValue: coreInfoDefaultValue.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)" })), h("div", { key: '2ff888b63c1b8a64e2cfe2d1e3ed7d9177632830', class: "col-12 col-md-8" }, h("form-control-select", { key: 'd56eecead9f19371c6f6ae353cf9701b985d5343', name: "classification", label: "Business Classification", options: businessClassificationOptions, defaultValue: coreInfoDefaultValue.classification, errorText: this.errors.classification, inputHandler: this.inputHandler })), h("div", { key: 'fdf9a1599d058f2058ddf91d41494ea33b607a4f', class: "col-12 col-md-4" }, h("form-control-date", { key: '286fbe2e49062fb8cb8800f89b21253357bc74ed', name: "date_of_incorporation", label: "Date of Incorporation", defaultValue: coreInfoDefaultValue.date_of_incorporation, errorText: this.errors.date_of_incorporation, inputHandler: this.inputHandler })), h("div", { key: '83bc51ad16e48fe89cd01772faf0615a3128434e', class: "col-12 col-md-6" }, h("form-control-text", { key: 'dde1fdbc902b79440d6d9c39c6c6fdc3ad913200', name: "industry", label: "Industry", defaultValue: coreInfoDefaultValue.industry, errorText: this.errors.industry, inputHandler: this.inputHandler, helpText: "Describe what you sell" })), h("div", { key: '7cc685aca26505357f3f550c278d7b83b0e8ced3', class: "col-12 col-md-6" }, h("form-control-text", { key: '519a7f1672908413d4b1a4c09155aece58c176d9', name: "tax_id", label: "Tax ID (EIN or SSN)", defaultValue: coreInfoDefaultValue.tax_id, errorText: this.errors.tax_id, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, 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." })), h("div", { key: 'a9e8c6c2c8e1f664869601c23ba951cc737c933c', class: "col-12" }, h("form-control-text", { key: 'a2285b78e6999a5e1de151c1258103496637b545', name: "website_url", label: "Business Website URL", defaultValue: coreInfoDefaultValue.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." })), h("div", { key: '0429aeb3991171d67990b96c89bcb8232a123848', class: "col-12 col-md-6" }, h("form-control-text", { key: '95b7f8153c178ea4dc0dc2631379f9012bbe2f8b', name: "email", label: "Business Email Address", defaultValue: coreInfoDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '90511bdbe0e23df68c1eba13a0cfccdf97f155e9', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '4fcde2104c1ad04ecc47a010c8219630b9717e43', name: "phone", label: "Business Phone Number", defaultValue: coreInfoDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US }))))));
225
+ return (h("form", { key: 'd3df5d7e22f53b5885545459a48e1931f8a38e31' }, h("fieldset", { key: '5a448358ef2ad53c597347f932ca51a5da2ba4e6' }, h("div", { key: '5ed392c4bb7f63258c60b13d83aa5325fb191e7c', class: "d-flex align-items-center gap-2" }, h("legend", { key: '2dada21c67d05b813529eb45cb105ccec547b620', class: "mb-0" }, "Business Information")), h("hr", { key: '9df6c05b6f34d8fd2154ef25bda1ec2a88f69bc7', class: "mt-2" }), h("div", { key: 'd9e8e3c87a9f3c41c325ed8b3df58443db026644', class: "row gy-3" }, h("div", { key: '7e940fb2b9befb51be4387d47498ecb8e3b1552a', class: "col-12" }, h("form-control-text", { key: '4ea4b4aae5b1e377dc45407e4d0f6f8277f74dc3', name: "legal_name", label: "Business Name", defaultValue: coreInfoDefaultValue.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)." })), h("div", { key: 'ec86bf16281d8d8c0c954606e4fc7fb1d8b2507e', class: "col-12" }, h("form-control-text", { key: 'bef91169dea8a654faf8df3abed565a64275aa9d', name: "doing_business_as", label: "Doing Business As (DBA)", defaultValue: coreInfoDefaultValue.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)" })), h("div", { key: '5568cecd8e6e3d2ab2a45d4eff583c1dfba2f07a', class: "col-12 col-md-8" }, h("form-control-select", { key: '96b2eea102e0686910af7950742256d6019d8ef9', name: "classification", label: "Business Classification", options: businessClassificationOptions, defaultValue: coreInfoDefaultValue.classification, errorText: this.errors.classification, inputHandler: this.inputHandler })), h("div", { key: '1fad6738d6c89a184b9f2e41eaef095db87471d6', class: "col-12 col-md-4" }, h("form-control-date", { key: 'cd10c2b8091343b0a8d7b08ceddf4343803333f6', name: "date_of_incorporation", label: "Date of Incorporation", defaultValue: coreInfoDefaultValue.date_of_incorporation, errorText: this.errors.date_of_incorporation, inputHandler: this.inputHandler })), h("div", { key: '3786fa9ce6b85c70873a4ed0014ef7c9b4a786f8', class: "col-12 col-md-6" }, h("form-control-text", { key: 'c5374dedf05acc1c9874061d796ee704160745a0', name: "industry", label: "Industry", defaultValue: coreInfoDefaultValue.industry, errorText: this.errors.industry, inputHandler: this.inputHandler, helpText: "Describe what you sell" })), h("div", { key: '0f30b590c250a6ac1beaaf1cc4a3eefeb394f3b0', class: "col-12 col-md-6" }, h("form-control-text", { key: '983b05cd0bf9aca0572b6f328e26b0c6f04ea9ee', name: "tax_id", label: "Tax ID (EIN or SSN)", defaultValue: coreInfoDefaultValue.tax_id, errorText: this.errors.tax_id, inputHandler: this.inputHandler, keyDownHandler: numberOnlyHandler, 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." })), h("div", { key: 'beacf611410f74b8038919887cc20c206bd5edce', class: "col-12" }, h("form-control-text", { key: '14a69d2ecedfcadf613aa42625b12405fba67068', name: "website_url", label: "Business Website URL", defaultValue: coreInfoDefaultValue.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." })), h("div", { key: '17171947a231323d63c42aa2c0a645aba91926d8', class: "col-12 col-md-6" }, h("form-control-text", { key: 'd0e32c0eb8aeb1c661f48f993a0cf44b4f2cf5b3', name: "email", label: "Business Email Address", defaultValue: coreInfoDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: '1a8ee5ca6825ee3046fd538871c8c01ae561e731', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: 'b74ff08dc5d97a66ff7d41fcdc8a2964e8739430', name: "phone", label: "Business Phone Number", defaultValue: coreInfoDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US }))))));
226
226
  }
227
227
  };
228
228
 
@@ -525,7 +525,7 @@ const BusinessRepresentativeFormStepCore = class {
525
525
  });
526
526
  }
527
527
  render() {
528
- return (h("justifi-business-representative-form-inputs", { key: 'c007fffeb2675f9e054d74e7c59a729ad3103d21', representativeDefaultValue: this.formController.getInitialValues(), errors: this.errors, formController: this.formController }));
528
+ return (h("justifi-business-representative-form-inputs", { key: 'b139e0b7a998011fd6b2a6d21b5a0b33369125fe', representativeDefaultValue: this.formController.getInitialValues(), errors: this.errors, formController: this.formController }));
529
529
  }
530
530
  };
531
531
 
@@ -620,7 +620,7 @@ const LegalAddressFormStepCore = class {
620
620
  render() {
621
621
  var _a, _b, _c, _d, _e, _f;
622
622
  const legalAddressDefaultValue = this.formController.getInitialValues();
623
- return (h("form", { key: '0b6da6f38496eed7699b642e3855a085ee004105' }, h("fieldset", { key: '18e56d0ab1c9dfa6f768d16c9f82ce0c203c8cca' }, h("div", { key: '286505d10fdacddf89663069a3f45837fa3f5434', class: "d-flex align-items-center gap-2" }, h("legend", { key: '1632a05fce65e9df5b14e4e61e4f925644b66afe', class: "mb-0" }, "Legal Address of your Business"), h("form-control-tooltip", { key: '2013d53e29f31b923c5304b1d534e8d6edf248c5', helpText: "No PO Boxes." })), h("hr", { key: '95f1dd6e945af35db3b9c107741125c86298d043', class: "mt-2" }), h("div", { key: '33c940f3eb99c742cd7bc26eb30bf2593beee7e7', class: "row gy-3" }, h("div", { key: 'a70c712478ea1c1535dfb7b121a27f73c250737f', class: "col-12" }, h("form-control-text", { key: 'a2295eff889da276b0e7d3c49c0479f684edeab8', name: "line1", label: "Legal Address", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.line1, errorText: (_a = this.errors) === null || _a === void 0 ? void 0 : _a.line1 })), h("div", { key: 'b7c7bbeac63558be4bce0b14857321246c54e03e', class: "col-12" }, h("form-control-text", { key: '67fdffdae07317978b9830af28f2a13d13f49cbe', name: "line2", label: "Address Line 2 (optional)", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.line2, errorText: (_b = this.errors) === null || _b === void 0 ? void 0 : _b.line2 })), h("div", { key: '2fc87bc9415822b9317e680c6e39065e0410088d', class: "col-12" }, h("form-control-text", { key: 'e3b768d6830c8c6746e22affac093c09239b7b1a', name: "city", label: "City", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.city, errorText: (_c = this.errors) === null || _c === void 0 ? void 0 : _c.city })), h("div", { key: 'b7567c4ca4ecece2927ea79cf0872fe907c45b5b', class: "col-12" }, h("form-control-select", { key: '294fe774b7e621707d800fab28a6efc97f7a0aaf', name: "state", label: "State", options: StateOptions, inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.state, errorText: (_d = this.errors) === null || _d === void 0 ? void 0 : _d.state })), h("div", { key: '7dc1741c28d20f006050083bfc371364a3588242', class: "col-12" }, h("form-control-text", { key: '3a38d6a710c5eab2234b40a631b3fbc08f601fea', name: "postal_code", label: "Postal Code", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.postal_code, errorText: (_e = this.errors) === null || _e === void 0 ? void 0 : _e.postal_code, maxLength: 5, keyDownHandler: numberOnlyHandler })), h("div", { key: '8f1a3fab096961e6b0afc09303ee959b263d6677', class: "col-12" }, h("form-control-select", { key: '8f9be74731bafc3377b262779ac6bae0ad374c19', name: "country", label: "Country", options: [{ label: "United States", value: "USA" }], inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.country, errorText: (_f = this.errors) === null || _f === void 0 ? void 0 : _f.country,
623
+ return (h("form", { key: 'cc749f565087adf5a0806a179ebc4682783763bd' }, h("fieldset", { key: '98fecaf00779da20c4f023dd4081be6f616e59ae' }, h("div", { key: '854d921b4b140738cb2cf2f48b51a207eb58c329', class: "d-flex align-items-center gap-2" }, h("legend", { key: 'ae741c143648c14145eac2066fa40799726682e5', class: "mb-0" }, "Legal Address of your Business"), h("form-control-tooltip", { key: 'd30c4a70183f7afc9a809d399b775c5610ef952c', helpText: "No PO Boxes." })), h("hr", { key: '78f7c51df66d265ff1a9f62b38aedfba014ed7cb', class: "mt-2" }), h("div", { key: 'b32031b925e908dc4a9459f0e082312f72fc64f9', class: "row gy-3" }, h("div", { key: '1564426893f46dc7ace7192ce264a10d879bc5c2', class: "col-12" }, h("form-control-text", { key: '9c70add04a610ce6280f7047ad56d260bb0adcf1', name: "line1", label: "Legal Address", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.line1, errorText: (_a = this.errors) === null || _a === void 0 ? void 0 : _a.line1 })), h("div", { key: 'bba886684830ab3dd7f3470e13bcf8ce970f357f', class: "col-12" }, h("form-control-text", { key: '43c507918eb72b586c43b4839c40499196c41625', name: "line2", label: "Address Line 2 (optional)", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.line2, errorText: (_b = this.errors) === null || _b === void 0 ? void 0 : _b.line2 })), h("div", { key: 'e9ff6df356c8c4f1ddef5318936d39c4b92a58e9', class: "col-12" }, h("form-control-text", { key: 'ff17e63977ba52fea319f1dfb2936b0836fa1f5f', name: "city", label: "City", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.city, errorText: (_c = this.errors) === null || _c === void 0 ? void 0 : _c.city })), h("div", { key: 'd0da7fbd59236105cb1f7725eb4fddc0fe0e028b', class: "col-12" }, h("form-control-select", { key: '666abe057f3a06705b42e8bfb3aae4e15b50f8dc', name: "state", label: "State", options: StateOptions, inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.state, errorText: (_d = this.errors) === null || _d === void 0 ? void 0 : _d.state })), h("div", { key: 'c9c2ea66adc0e15f07a9070ca46f685042b41042', class: "col-12" }, h("form-control-text", { key: '614c03164e755b945610b91f8ec7757980956261', name: "postal_code", label: "Postal Code", inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.postal_code, errorText: (_e = this.errors) === null || _e === void 0 ? void 0 : _e.postal_code, maxLength: 5, keyDownHandler: numberOnlyHandler })), h("div", { key: 'cfab73c10bf56bf001a246f0ad8c56fd8c36fbeb', class: "col-12" }, h("form-control-select", { key: 'd42b86c2d2de13504f2934fa63a3e83f998134ac', name: "country", label: "Country", options: [{ label: "United States", value: "USA" }], inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.country, errorText: (_f = this.errors) === null || _f === void 0 ? void 0 : _f.country,
624
624
  // just for now so we skip handling country specificities
625
625
  disabled: true }))))));
626
626
  }
@@ -0,0 +1,79 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-57431c24.js';
2
+
3
+ const DateInput = class {
4
+ constructor(hostRef) {
5
+ registerInstance(this, hostRef);
6
+ this.formControlInput = createEvent(this, "formControlInput", 7);
7
+ this.formControlBlur = createEvent(this, "formControlBlur", 7);
8
+ this.handleFormControlInput = (event) => {
9
+ const target = event.target;
10
+ const localValue = target.value;
11
+ if (this.filterTimeZone) {
12
+ const utcDate = this.convertToUTC(localValue);
13
+ this.inputHandler(this.name, utcDate);
14
+ this.formControlInput.emit({ name: this.name, value: utcDate });
15
+ }
16
+ else {
17
+ this.inputHandler(this.name, localValue);
18
+ this.formControlInput.emit({ name: this.name, value: localValue });
19
+ }
20
+ };
21
+ this.name = undefined;
22
+ this.label = undefined;
23
+ this.inputHandler = undefined;
24
+ this.defaultValue = undefined;
25
+ this.helpText = undefined;
26
+ this.errorText = undefined;
27
+ this.disabled = undefined;
28
+ this.filterTimeZone = false;
29
+ this.showTime = undefined;
30
+ this.maxDate = this.currentDate;
31
+ }
32
+ handleDefaultValueChange(newValue) {
33
+ if (this.filterTimeZone) {
34
+ this.updateInput(this.convertToLocal(newValue));
35
+ }
36
+ else {
37
+ this.updateInput(newValue);
38
+ }
39
+ }
40
+ get currentDate() {
41
+ if (!this.showTime) {
42
+ return new Date().toISOString().split('T')[0];
43
+ }
44
+ else {
45
+ return new Date().toISOString().slice(0, 16);
46
+ }
47
+ }
48
+ componentDidLoad() {
49
+ if (this.filterTimeZone) {
50
+ this.updateInput(this.convertToLocal(this.defaultValue));
51
+ }
52
+ else {
53
+ this.updateInput(this.defaultValue);
54
+ }
55
+ }
56
+ updateInput(value) {
57
+ this.dateInput.value = value;
58
+ }
59
+ convertToUTC(value) {
60
+ const dateObj = new Date(value);
61
+ return new Date(dateObj.toUTCString()).toISOString();
62
+ }
63
+ convertToLocal(value) {
64
+ if (!value)
65
+ return value;
66
+ const date = new Date(value);
67
+ // Adjust the date to the local timezone
68
+ const localDate = new Date(date.getTime() - date.getTimezoneOffset() * 60000);
69
+ return this.showTime ? localDate.toISOString().slice(0, 16) : localDate.toISOString().split('T')[0];
70
+ }
71
+ render() {
72
+ return (h(Host, { key: 'd3fe13284d2f08b951f12d16ea6a56492864991e', exportparts: "label,input,input-invalid" }, h("div", { key: '4823a873c5a8851b094ae59869014ffc6e603328', class: "form-group d-flex flex-column" }, h("div", { key: 'c2205441e85bfe202ae80660eafb4a3f0bae3f82', class: "d-flex gap-2" }, h("label", { key: 'c82d9599db4f54b647bf930e2a44b2f82b07876c', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'b2d8b21a6dba7f4e093081eb274e02d4484198e1', helpText: this.helpText })), h("input", { key: '579063f27122ec31f3818d3168060e43c51c1889', type: this.showTime ? 'datetime-local' : 'date', ref: el => (this.dateInput = el), id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input ${this.errorText && 'input-invalid'}`, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), h("form-control-error-text", { key: '75b7361712bbc65683b19a40398fa5b111b8b39b', errorText: this.errorText, name: this.name }))));
73
+ }
74
+ static get watchers() { return {
75
+ "defaultValue": ["handleDefaultValueChange"]
76
+ }; }
77
+ };
78
+
79
+ export { DateInput as form_control_date };
@@ -0,0 +1,17 @@
1
+ import { r as registerInstance, h } from './index-57431c24.js';
2
+
3
+ const FormControlErrorText = class {
4
+ constructor(hostRef) {
5
+ registerInstance(this, hostRef);
6
+ this.errorText = undefined;
7
+ this.name = undefined;
8
+ }
9
+ render() {
10
+ if (!this.errorText) {
11
+ return null;
12
+ }
13
+ return (h("small", { class: 'form-text text-danger', id: `form-error-text-${this.name}` }, this.errorText));
14
+ }
15
+ };
16
+
17
+ export { FormControlErrorText as form_control_error_text };
@@ -36,7 +36,7 @@ const FileInput = class {
36
36
  this.fileInput = this.el.querySelector('input');
37
37
  }
38
38
  render() {
39
- return (h(Host, { key: 'e55c4e61544191f12bccce66ed922357090f6a12', exportparts: "label,input,input-invalid" }, h("div", { key: 'ec8dd08ef6d99ae26a82ff891b25ae2d3892aea1', class: "form-group d-flex flex-column" }, h("div", { key: '8430c4a605b4869e6bb4f206d5cbd1588c4e983d', class: "d-flex align-items-start gap-2" }, h("label", { key: 'e9519f7c08040964b5594961b6c26ce14bbc2681', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '67ec6c6453976e2e6442e82ab94f94a5d0d91bb2', helpText: this.helpText })), h("input", { key: 'a25d7f66085730bcb2a0f749f744f0f6bd9fa76e', ref: (el) => this.fileInput = el, type: "file", name: this.name, part: `input ${this.errorText ? "input-invalid " : ""}${this.disabled ? "input-disabled" : ""}`, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onChange: this.changeHandler, onInput: this.handleFormControlInput, onBlur: () => this.formControlBlur.emit() }), h("form-control-error-text", { key: '96b42ba795d86098932c1aeaf4d868cfce17895d', errorText: this.errorText, name: this.name }))));
39
+ return (h(Host, { key: 'd3928cd6013d8e1bd23921a3d73b57de3a3f4c8f', exportparts: "label,input,input-invalid" }, h("div", { key: '5c15b542801ed84a4bdd43b7a7cb8f9a70ab5016', class: "form-group d-flex flex-column" }, h("div", { key: '1636d3a16f0da8047361cbaa87423d35e042de40', class: "d-flex align-items-start gap-2" }, h("label", { key: 'bfce95a71327cf8dd69aee4de8f1ff72c2ddcd97', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '2f6167da52618938b39e3917332a74ac3c19aba0', helpText: this.helpText })), h("input", { key: '1b06c50ddb2c1bec731ceca89cc2a19a7329e3cd', ref: (el) => this.fileInput = el, type: "file", name: this.name, part: `input ${this.errorText ? "input-invalid " : ""}${this.disabled ? "input-disabled" : ""}`, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onChange: this.changeHandler, onInput: this.handleFormControlInput, onBlur: () => this.formControlBlur.emit() }), h("form-control-error-text", { key: '0f38dc541504c11d49afda08f5531d9612e4911d', errorText: this.errorText, name: this.name }))));
40
40
  }
41
41
  get el() { return getElement(this); }
42
42
  };
@@ -0,0 +1,17 @@
1
+ import { r as registerInstance, h } from './index-57431c24.js';
2
+
3
+ const FormControlHelpText = class {
4
+ constructor(hostRef) {
5
+ registerInstance(this, hostRef);
6
+ this.helpText = undefined;
7
+ this.name = undefined;
8
+ }
9
+ render() {
10
+ if (!this.helpText) {
11
+ return null;
12
+ }
13
+ return (h("small", { class: 'form-text text-muted', id: `form-help-text-${this.name}` }, this.helpText));
14
+ }
15
+ };
16
+
17
+ export { FormControlHelpText as form_control_help_text };
@@ -1,21 +1,7 @@
1
- import { r as registerInstance, h, c as createEvent, H as Host } from './index-57431c24.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-57431c24.js';
2
2
  import { I as IMask } from './index-d9a73ce3.js';
3
3
  import { C as CURRENCY_MASK } from './form-input-masks-0e18300f.js';
4
4
 
5
- const FormControlHelpText = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.helpText = undefined;
9
- this.name = undefined;
10
- }
11
- render() {
12
- if (!this.helpText) {
13
- return null;
14
- }
15
- return (h("small", { class: 'form-text text-muted', id: `form-help-text-${this.name}` }, this.helpText));
16
- }
17
- };
18
-
19
5
  const MonetaryInput = class {
20
6
  constructor(hostRef) {
21
7
  registerInstance(this, hostRef);
@@ -65,11 +51,11 @@ const MonetaryInput = class {
65
51
  (_a = this.imask) === null || _a === void 0 ? void 0 : _a.destroy();
66
52
  }
67
53
  render() {
68
- return (h(Host, { key: '6c95f96829b6cacc9d3fa975e1b9e81fa2011360', exportparts: "label,input,input-group-input,input-group-text,input-invalid" }, h("div", { key: 'e8343e6439d4a52d21991f9071caebb94789afdf', class: "form-group d-flex flex-column" }, h("label", { key: '5bff3a49dc18c407a8df5c96fd65720531bad45c', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("div", { key: '012e6cddda14b939c898df2c8422cd21f10e18fa', class: "input-group" }, h("span", { key: 'a7fa4827a93a925472271630a4667b64d1fa99c2', class: "input-group-text", part: "input-group-text" }, "$"), h("input", { key: 'd0e8c3f4e7466ab2115cbbe03bc9f81759f32c10', ref: el => (this.textInput = el), id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input input-group-input ${this.errorText && 'input-invalid'}`, class: this.errorText ? 'form-control monetary is-invalid' : 'form-control monetary', type: "text", disabled: this.disabled })), h("form-control-help-text", { key: '62f6cbc7dad3127d5461b8d003e9cf0a991373ff', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: '465b5a31b6434b2afc40ff4cc6d29713e5840fe8', errorText: this.errorText, name: this.name }))));
54
+ return (h(Host, { key: '2a65acfea8e79d22dd09c7c116d80b12a2f2a47c', exportparts: "label,input,input-group-input,input-group-text,input-invalid" }, h("div", { key: '166dfb5c261c21d58db1a0e17d8bae149834c149', class: "form-group d-flex flex-column" }, h("label", { key: '1980871936440222e2b711ba2953d7b6287bf080', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("div", { key: '4cfb60bf946fa7e745c93b391997218122c551a0', class: "input-group" }, h("span", { key: '711357a32f9dc1fef77359f15ec3167a468d0463', class: "input-group-text", part: "input-group-text" }, "$"), h("input", { key: '2489cab2ecb61096f781d339363dad50404e3c67', ref: el => (this.textInput = el), id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input input-group-input ${this.errorText && 'input-invalid'}`, class: this.errorText ? 'form-control monetary is-invalid' : 'form-control monetary', type: "text", disabled: this.disabled })), h("form-control-help-text", { key: 'f7e89f0830ca0f453b02595303a245691f448d55', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: '61f03f0d09027237ab3f5c7979981ddc3dc4c916', errorText: this.errorText, name: this.name }))));
69
55
  }
70
56
  static get watchers() { return {
71
57
  "defaultValue": ["handleDefaultValueChange"]
72
58
  }; }
73
59
  };
74
60
 
75
- export { FormControlHelpText as form_control_help_text, MonetaryInput as form_control_monetary };
61
+ export { MonetaryInput as form_control_monetary };
@@ -0,0 +1,94 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-57431c24.js';
2
+ import { I as IMask } from './index-d9a73ce3.js';
3
+ import { S as StateOptions } from './state-options-a356fb11.js';
4
+ import { n as numberOnlyHandler } from './utils-20cdf321.js';
5
+
6
+ const NumberInputMasked = class {
7
+ constructor(hostRef) {
8
+ registerInstance(this, hostRef);
9
+ this.formControlInput = createEvent(this, "formControlInput", 7);
10
+ this.formControlBlur = createEvent(this, "formControlBlur", 7);
11
+ this.imask = null;
12
+ this.initializeIMask = () => {
13
+ if (!this.textInput)
14
+ return;
15
+ this.imask = IMask(this.textInput, {
16
+ mask: this.mask,
17
+ });
18
+ this.imask.on('accept', () => {
19
+ var _a;
20
+ const rawValue = (_a = this.imask) === null || _a === void 0 ? void 0 : _a.unmaskedValue;
21
+ if (rawValue !== undefined) {
22
+ this.inputHandler(this.name, rawValue);
23
+ }
24
+ });
25
+ this.textInput.addEventListener('blur', () => this.formControlBlur.emit());
26
+ };
27
+ this.handleFormControlInput = (event) => {
28
+ const target = event.target;
29
+ const name = target.getAttribute('name');
30
+ this.formControlInput.emit({ name: name, value: target.value });
31
+ };
32
+ this.updateInput = (newValue) => {
33
+ if (this.imask && newValue) {
34
+ this.imask.value = String(newValue);
35
+ }
36
+ };
37
+ this.label = undefined;
38
+ this.name = undefined;
39
+ this.helpText = undefined;
40
+ this.errorText = undefined;
41
+ this.defaultValue = undefined;
42
+ this.inputHandler = undefined;
43
+ this.mask = undefined;
44
+ this.disabled = undefined;
45
+ }
46
+ handleDefaultValueChange(newValue) {
47
+ this.initializeIMask();
48
+ this.updateInput(newValue);
49
+ }
50
+ disconnectedCallback() {
51
+ var _a;
52
+ (_a = this.imask) === null || _a === void 0 ? void 0 : _a.destroy();
53
+ }
54
+ componentDidLoad() {
55
+ if (this.textInput) {
56
+ this.initializeIMask();
57
+ this.updateInput(this.defaultValue);
58
+ }
59
+ }
60
+ render() {
61
+ return (h(Host, { key: 'd22be5920cedfcbeb57164ba2d6909dc820fee6c', exportparts: "label,input,input-invalid" }, h("div", { key: '9ae430200ebdd26f5995dd2ccad7ad759d14ee11', class: "form-group d-flex flex-column" }, h("div", { key: '796880c67b2bd97977d09721f58357521cb76456', class: "d-flex align-items-start gap-2" }, h("label", { key: '8e4f342d1cebff5ba32b622448f759d83625d929', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '49b58ac4725e882732daefd29b3ce3c248fbe385', helpText: this.helpText })), h("input", { key: '566965701a60397807cc857813f839f56477dd81', ref: el => (this.textInput = el), id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input ${this.errorText && 'input-invalid'}`, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "text", disabled: this.disabled }), h("form-control-error-text", { key: '783689f60c6aacab17be5a94a2b1abbd01232a42', errorText: this.errorText, name: this.name }))));
62
+ }
63
+ static get watchers() { return {
64
+ "defaultValue": ["handleDefaultValueChange"]
65
+ }; }
66
+ };
67
+
68
+ const IdentityAddressForm = class {
69
+ constructor(hostRef) {
70
+ registerInstance(this, hostRef);
71
+ this.inputHandler = (name, value) => {
72
+ this.address[name] = value;
73
+ this.address = Object.assign({}, this.address);
74
+ };
75
+ this.handleFormUpdate = undefined;
76
+ this.errors = undefined;
77
+ this.defaultValues = undefined;
78
+ this.address = {};
79
+ }
80
+ handleAddressChange(newValues) {
81
+ this.handleFormUpdate(newValues);
82
+ }
83
+ render() {
84
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
85
+ return (h(Host, { key: '5d9d020cdb5f9e0c422098f82fbd9b1c237515f2', exportparts: "label,input,input-invalid" }, h("div", { key: '280b3308698d51c8f3e60124f0433e12ff585abe', class: "row gy-3" }, h("div", { key: 'c31ef56c52561e2acaed2dac868117f6171a09cb', class: "col-12 col-md-8" }, h("form-control-text", { key: 'a53eb44a3b6ab0044ba1746025293fa5be1cd469', name: "line1", label: "Street Address", defaultValue: (_a = this.defaultValues) === null || _a === void 0 ? void 0 : _a.line1, errorText: (_b = this.errors) === null || _b === void 0 ? void 0 : _b.line1, inputHandler: this.inputHandler, helpText: "\u200B\u200BEnter your address exactly as stated on your driver's license. No PO Boxes." })), h("div", { key: 'cd62d3f1ea062f67ab71ced663954b172fa3c4ed', class: "col-12 col-md-4" }, h("form-control-text", { key: '24b4e359217b92c9d010c23f0a670f32a969c36e', name: "line2", label: "Apartment, Suite, etc. (optional)", defaultValue: (_c = this.defaultValues) === null || _c === void 0 ? void 0 : _c.line2, errorText: (_d = this.errors) === null || _d === void 0 ? void 0 : _d.line2, inputHandler: this.inputHandler })), h("div", { key: '5e2cf9ef49d42c736d8004e5063377a962857b35', class: "col-12" }, h("form-control-text", { key: 'b408fca949adc1e1f96ad1ab01d8265ef427cd18', name: "city", label: "City", defaultValue: (_e = this.defaultValues) === null || _e === void 0 ? void 0 : _e.city, errorText: (_f = this.errors) === null || _f === void 0 ? void 0 : _f.city, inputHandler: this.inputHandler })), h("div", { key: 'ab8c048e274784406a8a872650e68791d3aa5844', class: "col-12 col-md-6" }, h("form-control-select", { key: '76db258faf7a4b30f7f1b6c6e975e5ea7e7c61d6', name: "state", label: "State", defaultValue: (_g = this.defaultValues) === null || _g === void 0 ? void 0 : _g.state, options: StateOptions, errorText: (_h = this.errors) === null || _h === void 0 ? void 0 : _h.state, inputHandler: this.inputHandler })), h("div", { key: '8bd2661ad3e579a52f91ce58c6be680d9955584b', class: "col-12 col-md-6" }, h("form-control-text", { key: 'd8a2f3552e25bc57d8f09e61ee78f7f5a33e4bc7', name: "postal_code", label: "Postal Code", defaultValue: (_j = this.defaultValues) === null || _j === void 0 ? void 0 : _j.postal_code, errorText: (_k = this.errors) === null || _k === void 0 ? void 0 : _k.postal_code, maxLength: 5, keyDownHandler: numberOnlyHandler, inputHandler: this.inputHandler })), h("div", { key: '93be2db05699edaa12981e0d96a9626ecc169030', class: "col-12" }, h("form-control-select", { key: '5f99c15b72cec36dc3b895c4dadce328f4503f6a', name: "country", label: "Country", options: [{ label: 'United States', value: 'USA' }], inputHandler: this.inputHandler, defaultValue: (_l = this.defaultValues) === null || _l === void 0 ? void 0 : _l.country, errorText: (_m = this.errors) === null || _m === void 0 ? void 0 : _m.country,
86
+ // just for now so we skip handling country specificities
87
+ disabled: true })))));
88
+ }
89
+ static get watchers() { return {
90
+ "address": ["handleAddressChange"]
91
+ }; }
92
+ };
93
+
94
+ export { NumberInputMasked as form_control_number_masked, IdentityAddressForm as justifi_identity_address_form };
@@ -32,7 +32,7 @@ const NumberInput = class {
32
32
  this.updateInput(this.defaultValue);
33
33
  }
34
34
  render() {
35
- return (h(Host, { key: '5f7a94160460fd8a92d740899a7418c98b3178d0', exportparts: 'label,input,input-invalid' }, h("div", { key: 'c8386c9c72a721d53d33d3894615f7d8f127b1bf', class: 'form-group d-flex flex-column' }, h("label", { key: '754f8714d1d0e42c977dace41e79d0e7b21c7e39', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("input", { key: '4289872c0983d50ff89851aac2309b911e6348df', id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input ${this.errorText && 'input-invalid'}`, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "number", disabled: this.disabled }), h("form-control-help-text", { key: '0de80b8d728865b8978a7daaf54315dbf422dced', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: 'b0cd9a78aa4c44dc7103c5d6ceced7258b197f16', errorText: this.errorText, name: this.name }))));
35
+ return (h(Host, { key: '2531e0e3e6ce1a477687be5f520f491256fb1841', exportparts: 'label,input,input-invalid' }, h("div", { key: '32df49f44e1a9737fbe62a6729007c048ed1ecac', class: 'form-group d-flex flex-column' }, h("label", { key: '33da2c09b1cf6b5d816bfa315061b4c5f211f0c5', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("input", { key: 'a890c2d80dd744194f715ab148e6229d3bb524ac', id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input ${this.errorText && 'input-invalid'}`, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "number", disabled: this.disabled }), h("form-control-help-text", { key: 'cb649de955887d02da58ab9934cadf5956cf7f8e', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: 'db06fb4008f3f66b3b726f67bd58ae96bd152bd8', errorText: this.errorText, name: this.name }))));
36
36
  }
37
37
  get el() { return getElement(this); }
38
38
  static get watchers() { return {
@@ -0,0 +1,40 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-57431c24.js';
2
+
3
+ const RadioInput = class {
4
+ constructor(hostRef) {
5
+ registerInstance(this, hostRef);
6
+ this.formControlInput = createEvent(this, "formControlInput", 7);
7
+ this.formControlBlur = createEvent(this, "formControlBlur", 7);
8
+ this.handleFormControlInput = (event) => {
9
+ const target = event.target;
10
+ const name = target.getAttribute('name');
11
+ this.inputHandler(name, target.checked);
12
+ this.formControlInput.emit({ name, value: target.value });
13
+ };
14
+ this.updateInput = (checked) => {
15
+ this.radioElement.checked = checked;
16
+ };
17
+ this.label = undefined;
18
+ this.name = undefined;
19
+ this.value = undefined;
20
+ this.helpText = undefined;
21
+ this.errorText = undefined;
22
+ this.defaultChecked = undefined;
23
+ this.inputHandler = undefined;
24
+ this.disabled = undefined;
25
+ }
26
+ handleDefaultValueChange(checked) {
27
+ this.updateInput(checked);
28
+ }
29
+ componentDidLoad() {
30
+ this.updateInput(this.defaultChecked);
31
+ }
32
+ render() {
33
+ return (h(Host, { key: '00ddff45ec5c4c37ddd90f7e8c43559356e23d6a', exportparts: "label,input,input-invalid" }, h("div", { key: '8a853ad5c99ee78111494dff4772ba6ece292f17', class: 'form-group d-flex flex-column' }, h("div", { key: 'bd0fa6c02ad9b3b5900f53bd520f9628bac13fad', class: "form-check" }, h("input", { key: '4318242ddc4ac275660dd8daac0b86d741d6cdf3', ref: el => (this.radioElement = el), type: "radio", id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input-radio ${this.errorText ? 'input-radio-invalid' : ''}`, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, value: this.value }), h("label", { key: 'ece1080c9d76c1459649ae80dcf894623955a61c', class: "form-check-label", htmlFor: this.name }, this.label)), h("form-control-help-text", { key: '4862090450a3a9a2bab95a994d41bc54535007ec', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: '6cc9c5629e0f4bc6c7307a7f0a6f1726717d50fe', errorText: this.errorText, name: this.name }))));
34
+ }
35
+ static get watchers() { return {
36
+ "defaultChecked": ["handleDefaultValueChange"]
37
+ }; }
38
+ };
39
+
40
+ export { RadioInput as form_control_radio };
@@ -0,0 +1,45 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-57431c24.js';
2
+
3
+ const TextInput = class {
4
+ constructor(hostRef) {
5
+ registerInstance(this, hostRef);
6
+ this.formControlInput = createEvent(this, "formControlInput", 7);
7
+ this.formControlBlur = createEvent(this, "formControlBlur", 7);
8
+ this.handleFormControlInput = (event) => {
9
+ const target = event.target;
10
+ const name = target.getAttribute('name');
11
+ this.inputHandler(name, target.value);
12
+ this.formControlInput.emit({ name, value: target.value });
13
+ };
14
+ this.updateInput = (newValue) => {
15
+ const inputElement = this.el.querySelector('input');
16
+ if (inputElement) {
17
+ inputElement.value = newValue || '';
18
+ }
19
+ };
20
+ this.label = undefined;
21
+ this.name = undefined;
22
+ this.helpText = undefined;
23
+ this.errorText = undefined;
24
+ this.defaultValue = undefined;
25
+ this.maxLength = undefined;
26
+ this.inputHandler = undefined;
27
+ this.keyDownHandler = undefined;
28
+ this.disabled = undefined;
29
+ }
30
+ handleDefaultValueChange(newValue) {
31
+ this.updateInput(newValue);
32
+ }
33
+ componentDidLoad() {
34
+ this.updateInput(this.defaultValue);
35
+ }
36
+ render() {
37
+ return (h(Host, { key: '0c4290f6731324ed511abb14a7b84e07f061e2d0', exportparts: "label,input,input-invalid" }, h("div", { key: '615c33ea0f0488b0d1224fb158d77cd1234fa311', class: "form-group d-flex flex-column" }, h("label", { key: '86f2ce13d24b447f84af7bc59a89267e988992ce', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("textarea", { key: '1dbade53d02ac7a7daa1b546ab5d6d0e18c5fb46', id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: `input ${this.errorText ? 'input-invalid ' : ''}${this.disabled ? ' input-disabled' : ''}`, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled }), h("form-control-help-text", { key: '73974fe9a18995251e39ca494ec9cecbf90af21d', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: 'e8f10bd3ec0fbb215d113159d38888fe9b3f4689', errorText: this.errorText, name: this.name }))));
38
+ }
39
+ get el() { return getElement(this); }
40
+ static get watchers() { return {
41
+ "defaultValue": ["handleDefaultValueChange"]
42
+ }; }
43
+ };
44
+
45
+ export { TextInput as form_control_textarea };
@@ -1,7 +1,8 @@
1
- import { A as Api } from './Api-c8abc2e0.js';
1
+ import { A as Api } from './Api-391d00e2.js';
2
+ import './Checkout-0b4086f8.js';
2
3
  import './Pagination-afc8f96d.js';
3
4
  import './Payment-30790721.js';
4
- import './Payout-dfe15b00.js';
5
+ import './SubAccount-7f7e4c56.js';
5
6
  import { c as config } from './config-27764a9d.js';
6
7
  import { C as ComponentErrorSeverity } from './ComponentError-3ce7f437.js';
7
8
  import { g as getErrorMessage, a as getErrorCode } from './utils-b10dae27.js';