@justifi/webcomponents 6.1.0-rc.3 → 6.1.1-rc.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 (793) hide show
  1. package/dist/cjs/{Api-DqzbA2qk.js → Api-CjtvTD2_.js} +2 -2
  2. package/dist/cjs/{Business-DWHy_-z9.js → Business-DCRzZf0w.js} +9 -299
  3. package/dist/cjs/{Refund-BPSBtjQC.js → Refund-BnhHNKLz.js} +4 -3
  4. package/dist/cjs/additional-questions-details_5.cjs.entry.js +14 -13
  5. package/dist/cjs/{badge-BJVdpSU-.js → badge-CE3ss_OU.js} +2 -2
  6. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +112 -0
  7. package/dist/cjs/bank-account-form.cjs.entry.js +8 -8
  8. package/dist/cjs/{business-additional-questions-schema-CetDMUp7.js → business-additional-questions-schema-b8P-0T0O.js} +4 -26
  9. package/dist/cjs/business-details-core.cjs.entry.js +5 -5
  10. package/dist/cjs/{business-form-options-e9UFw4P-.js → business-form-options-CMII7nIK.js} +1 -1
  11. package/dist/cjs/business-identity-schema-aFUle0C9.js +51 -0
  12. package/dist/cjs/{business.service-Bv9o99Ll.js → business.service-Cj_NUZsr.js} +3 -3
  13. package/dist/cjs/{button-_YJuE8cy.js → button-gPNZ9XRn.js} +2 -2
  14. package/dist/cjs/card-form.cjs.entry.js +8 -8
  15. package/dist/cjs/{check-pkg-version-CadxBsjl.js → check-pkg-version-iW3HGQFY.js} +4 -4
  16. package/dist/cjs/{checkout.service-dLB93w3Z.js → checkout.service-Bc8L9ixO.js} +3 -3
  17. package/dist/cjs/{checkout.store-DC4yVxDj.js → checkout.store-Bswr7kNY.js} +5 -1
  18. package/dist/cjs/checkouts-list-core.cjs.entry.js +15 -13
  19. package/dist/cjs/{terminal-orders-list-params-state-ARjo40Y9.js → checkouts-list-params-state-BYpq-c6X.js} +1 -1
  20. package/dist/cjs/{checkouts-table-C102WCfy.js → checkouts-table-C5AHeIr0.js} +4 -4
  21. package/dist/cjs/{config-state-BeZM7X7J.js → config-state-C7babhLh.js} +1 -1
  22. package/dist/cjs/{custom-popper.cjs.entry.js → custom-popper_2.cjs.entry.js} +23 -3
  23. package/dist/cjs/{dispute.service-BmAAnNky.js → dispute.service-DhO_tuDc.js} +3 -3
  24. package/dist/cjs/form-alert_5.cjs.entry.js +16 -26
  25. package/dist/cjs/form-control-checkbox.cjs.entry.js +6 -6
  26. package/dist/cjs/form-control-date.cjs.entry.js +5 -5
  27. package/dist/cjs/{form-control-error-text-DJzNQrEz.js → form-control-error-text-BnMWn8U_.js} +2 -2
  28. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +6 -6
  29. package/dist/cjs/{form-control-help-text-DII6UDeq.js → form-control-help-text-DEi5vSjN.js} +2 -2
  30. package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
  31. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +7 -7
  32. package/dist/cjs/form-control-monetary.cjs.entry.js +7 -7
  33. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +107 -0
  34. package/dist/cjs/form-control-number.cjs.entry.js +6 -6
  35. package/dist/cjs/form-control-radio.cjs.entry.js +4 -4
  36. package/dist/cjs/{form-control-select_3.cjs.entry.js → form-control-select_2.cjs.entry.js} +7 -26
  37. package/dist/cjs/{form-input-masks-BnNFJ3IJ.js → form-input-masks-DgXd0f4V.js} +4 -9
  38. package/dist/cjs/{get-business-D9ZHyPem.js → get-business-o5jPq_ME.js} +1 -1
  39. package/dist/cjs/{get-payment-details-BHPHzSkH.js → get-payment-details-BinT-ZEP.js} +3 -3
  40. package/dist/cjs/{get-subaccounts-Bw76aYu0.js → get-subaccounts-BoTVdl7v.js} +4 -4
  41. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +26 -17
  42. package/dist/cjs/{header-1-Da7oKhXY.js → header-1-D3r87SC6.js} +2 -2
  43. package/dist/cjs/{header-3-uBM_CzcP.js → header-3-BFQJJgBb.js} +2 -2
  44. package/dist/cjs/helpers-B5OCqlIM.js +35 -0
  45. package/dist/cjs/hidden-input_2.cjs.entry.js +9 -9
  46. package/dist/cjs/{index-CaAefsWD.js → index-Bhtk1qkX.js} +5 -2
  47. package/dist/cjs/{index-D-CfIyoF.js → index-CWM5ions.js} +1 -1
  48. package/dist/cjs/{input-handlers-D6QMwPTB.js → input-handlers-DYl_0IwC.js} +2 -2
  49. package/dist/cjs/{insurance-state-KJzYGtVr.js → insurance-state-JbqYvJN3.js} +3 -3
  50. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +72 -129
  51. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +26 -25
  52. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +10 -10
  53. package/dist/cjs/{justifi-checkout-summary_7.cjs.entry.js → justifi-apple-pay_8.cjs.entry.js} +824 -25
  54. package/dist/cjs/justifi-bank-account-billing-form-simple_9.cjs.entry.js +31 -30
  55. package/dist/cjs/justifi-business-details.cjs.entry.js +15 -13
  56. package/dist/cjs/justifi-business-form.cjs.entry.js +23 -27
  57. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +8 -16
  58. package/dist/cjs/justifi-checkout.cjs.entry.js +16 -14
  59. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +12 -10
  60. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +18 -16
  61. package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
  62. package/dist/cjs/justifi-details.cjs.entry.js +3 -3
  63. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +2 -2
  64. package/dist/cjs/justifi-dispute-management.cjs.entry.js +13 -11
  65. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +19 -17
  66. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +13 -11
  67. package/dist/cjs/justifi-order-terminals.cjs.entry.js +18 -16
  68. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +21 -30
  69. package/dist/cjs/justifi-payment-details.cjs.entry.js +23 -14
  70. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +25 -40
  71. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +13 -11
  72. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +17 -15
  73. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +8 -8
  74. package/dist/cjs/justifi-payments-list.cjs.entry.js +18 -16
  75. package/dist/cjs/justifi-payout-details.cjs.entry.js +16 -13
  76. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +17 -15
  77. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +8 -8
  78. package/dist/cjs/justifi-payouts-list.cjs.entry.js +19 -17
  79. package/dist/cjs/justifi-refund-payment.cjs.entry.js +17 -15
  80. package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +3 -3
  81. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +16 -14
  82. package/dist/cjs/justifi-skeleton.cjs.entry.js +5 -5
  83. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +13 -11
  84. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +16 -14
  85. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +14 -11
  86. package/dist/cjs/justifi-terminals-list.cjs.entry.js +18 -16
  87. package/dist/cjs/loader.cjs.js +2 -2
  88. package/dist/cjs/{package-CVxkAS_m.js → package-CwcyK2nz.js} +1 -1
  89. package/dist/cjs/pagination-menu.cjs.entry.js +5 -5
  90. package/dist/cjs/{parts-9jMf1erK.js → parts-Pb06tUMp.js} +2 -0
  91. package/dist/cjs/payment-details-core.cjs.entry.js +34 -16
  92. package/dist/cjs/payment-method-option.cjs.entry.js +4 -4
  93. package/dist/cjs/{payment.service-DODmonNs.js → payment.service-C9thkR4g.js} +3 -3
  94. package/dist/cjs/payments-list-core.cjs.entry.js +16 -14
  95. package/dist/cjs/{payments-list-params-state-ARjo40Y9.js → payments-list-params-state-BYpq-c6X.js} +1 -1
  96. package/dist/cjs/{payments-status-5IzqwLep.js → payments-status-CnNXcRLO.js} +21 -3
  97. package/dist/cjs/{payments-table-BcZ6U6p8.js → payments-table-BGuCOPTJ.js} +4 -4
  98. package/dist/cjs/payout-details-core.cjs.entry.js +25 -12
  99. package/dist/cjs/{payout.service-Do8DxBxe.js → payout.service-CGZxpQMq.js} +3 -3
  100. package/dist/cjs/payouts-list-core.cjs.entry.js +16 -14
  101. package/dist/cjs/{checkouts-list-params-state-ARjo40Y9.js → payouts-list-params-state-BYpq-c6X.js} +1 -1
  102. package/dist/cjs/{payouts-status-D38A6UrI.js → payouts-status-2na6MMgV.js} +2 -2
  103. package/dist/cjs/{payouts-table-Cn_cCCOY.js → payouts-table-DXekpbYc.js} +4 -4
  104. package/dist/cjs/{schema-validations-0mjPveQ0.js → schema-validations-Bj7eYNO8.js} +6 -45
  105. package/dist/cjs/{skeleton-DlPP4i_w.js → skeleton-BvdAh448.js} +2 -2
  106. package/dist/cjs/{spinner-BNWG01hP.js → spinner-Rt52JMa2.js} +2 -2
  107. package/dist/cjs/state-options-CIT9xdTz.js +246 -0
  108. package/dist/cjs/{styled-host-DSpt9LtB.js → styled-host-BSooSIhA.js} +1 -1
  109. package/dist/cjs/{table-CAWBqvW5.js → table-Ccg4k90C.js} +3 -3
  110. package/dist/cjs/table-filters-menu.cjs.entry.js +4 -4
  111. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +15 -13
  112. package/dist/cjs/{payouts-list-params-state-ARjo40Y9.js → terminal-orders-list-params-state-BYpq-c6X.js} +1 -1
  113. package/dist/cjs/{terminal-orders-table-BUA4LcEc.js → terminal-orders-table-7ew1vCKk.js} +7 -7
  114. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +3 -3
  115. package/dist/cjs/{terminal.service-bxQnc1JY.js → terminal.service-BkKxH-k4.js} +3 -3
  116. package/dist/cjs/terminals-list-core.cjs.entry.js +15 -13
  117. package/dist/cjs/terminals-list-params-state-BYpq-c6X.js +22 -0
  118. package/dist/cjs/{terminals-table-C2_M7SWl.js → terminals-table-ByYs-pH7.js} +9 -4
  119. package/dist/cjs/{utils-ChCUZgUy.js → utils-Bab-tddY.js} +4 -0
  120. package/dist/cjs/{utils-C6mfHWv-.js → utils-CUcA4G_O.js} +5 -5
  121. package/dist/cjs/webcomponents.cjs.js +3 -3
  122. package/dist/collection/api/BankAccount.js +0 -4
  123. package/dist/collection/api/Business.js +1 -16
  124. package/dist/collection/api/Terminal.js +1 -0
  125. package/dist/collection/api/services/apple-pay.service.js +5 -42
  126. package/dist/collection/collection-manifest.json +2 -5
  127. package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +1 -1
  128. package/dist/collection/components/business-details/owner-details/owner-details.js +9 -8
  129. package/dist/collection/components/business-details/representative-details/representative-details.js +1 -1
  130. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +4 -36
  131. package/dist/collection/components/business-forms/business-form/business-form.js +2 -6
  132. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +5 -41
  133. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +6 -27
  134. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +6 -26
  135. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +3 -29
  136. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +2 -43
  137. package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -26
  138. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
  139. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +1 -1
  140. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +1 -2
  141. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +5 -36
  142. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +1 -26
  143. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +7 -47
  144. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -26
  145. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +1 -26
  146. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -26
  147. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +4 -43
  148. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +4 -33
  149. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -26
  150. package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +2 -2
  151. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +10 -35
  152. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -26
  153. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +20 -39
  154. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
  155. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +6 -34
  156. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
  157. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
  158. package/dist/collection/components/business-forms/schemas/business-address-schema.js +19 -41
  159. package/dist/collection/components/business-forms/schemas/business-bank-account-schema.js +39 -74
  160. package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +4 -27
  161. package/dist/collection/components/business-forms/schemas/business-form-schema.js +4 -7
  162. package/dist/collection/components/business-forms/schemas/business-identity-schema.js +24 -53
  163. package/dist/collection/components/business-forms/schemas/schema-validations.js +4 -41
  164. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
  165. package/dist/collection/components/checkout/billing-form/billing-form.js +3 -2
  166. package/dist/collection/components/checkout/card-form/card-form.js +2 -2
  167. package/dist/collection/components/checkout/checkout.js +2 -2
  168. package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
  169. package/dist/collection/components/checkout/saved-payment-method.js +1 -1
  170. package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
  171. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
  172. package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
  173. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  174. package/dist/collection/components/dispute-management/dispute-management.js +1 -1
  175. package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
  176. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  177. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  178. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  179. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  180. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  181. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  182. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  183. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  184. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  185. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  186. package/dist/collection/components/filters/table-filters-menu.js +1 -1
  187. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  188. package/dist/collection/components/modular-checkout/modular-checkout.js +7 -6
  189. package/dist/collection/components/modular-checkout/sub-components/apple-pay.js +48 -35
  190. package/dist/collection/components/modular-checkout/sub-components/bank-account-billing-form-simple.js +1 -1
  191. package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
  192. package/dist/collection/components/modular-checkout/sub-components/card-billing-form-simple.js +1 -1
  193. package/dist/collection/components/modular-checkout/sub-components/card-form.js +2 -2
  194. package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
  195. package/dist/collection/components/modular-checkout/sub-components/summary.js +1 -1
  196. package/dist/collection/components/order-terminals/order-terminals.js +1 -1
  197. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  198. package/dist/collection/components/payment-details/payment-details-core.js +19 -9
  199. package/dist/collection/components/payment-details/payment-details.js +28 -1
  200. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
  201. package/dist/collection/components/payments-list/payments-list-core.js +1 -1
  202. package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
  203. package/dist/collection/components/payments-list/payments-list.js +1 -1
  204. package/dist/collection/components/payments-list/payments-status.js +19 -1
  205. package/dist/collection/components/payout-details/payout-details-core.js +57 -4
  206. package/dist/collection/components/payout-details/payout-details.js +22 -1
  207. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +1 -1
  208. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  209. package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
  210. package/dist/collection/components/payouts-list/payouts-list.js +1 -1
  211. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
  212. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
  213. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
  214. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  215. package/dist/collection/components/terminals-list/terminals-list-filters.js +4 -3
  216. package/dist/collection/components/terminals-list/terminals-list.js +1 -1
  217. package/dist/collection/components/terminals-list/terminals-status.js +5 -0
  218. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +1 -1
  219. package/dist/collection/store/checkout.store.js +4 -0
  220. package/dist/collection/styles/parts.js +1 -1
  221. package/dist/collection/ui-components/apple-pay-button.js +6 -8
  222. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  223. package/dist/collection/ui-components/details/utils.js +4 -4
  224. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  225. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  226. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  227. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  228. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  229. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  230. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  231. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  232. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  233. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  234. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  235. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  236. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  237. package/dist/collection/ui-components/pagination-menu/pagination-menu.js +3 -3
  238. package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
  239. package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
  240. package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
  241. package/dist/collection/utils/form-input-masks.js +0 -8
  242. package/dist/collection/utils/utils.js +4 -0
  243. package/dist/docs.json +248 -1133
  244. package/dist/esm/{Api-DLf3ihCB.js → Api-DhiA2e_P.js} +2 -2
  245. package/dist/esm/{Business-B5rtFhtR.js → Business-BCoP0TAV.js} +3 -290
  246. package/dist/esm/{Refund-BeI1WGfx.js → Refund-B-iOTRxz.js} +3 -2
  247. package/dist/esm/additional-questions-details_5.entry.js +14 -13
  248. package/dist/esm/{badge-CkfrkCoy.js → badge-CtdO-tEY.js} +2 -2
  249. package/dist/esm/bank-account-document-form-inputs_4.entry.js +107 -0
  250. package/dist/esm/bank-account-form.entry.js +8 -8
  251. package/dist/esm/{business-additional-questions-schema-DSvdNuI1.js → business-additional-questions-schema-9FAJSx_D.js} +5 -26
  252. package/dist/esm/business-details-core.entry.js +5 -5
  253. package/dist/esm/{business-form-options-D6s5H4RI.js → business-form-options-CgssATyg.js} +2 -2
  254. package/dist/esm/business-identity-schema-CDJzknbg.js +48 -0
  255. package/dist/esm/{business.service-BIALik8Z.js → business.service-D55OVyco.js} +3 -3
  256. package/dist/esm/{button-CuZAKl_x.js → button-DtTaQHMK.js} +2 -2
  257. package/dist/esm/card-form.entry.js +8 -8
  258. package/dist/esm/{check-pkg-version-Bk5bgulF.js → check-pkg-version-XGo_oqEC.js} +4 -4
  259. package/dist/esm/{checkout.service-DZDZBIGQ.js → checkout.service-fwbqSq8g.js} +3 -3
  260. package/dist/esm/{checkout.store-DwJGKabu.js → checkout.store-4nUf2OuT.js} +5 -1
  261. package/dist/esm/checkouts-list-core.entry.js +15 -13
  262. package/dist/esm/{checkouts-list-params-state-BY5996_y.js → checkouts-list-params-state-C_fug9R3.js} +1 -1
  263. package/dist/esm/{checkouts-table-59DpP7zM.js → checkouts-table-B6gGDtOr.js} +4 -4
  264. package/dist/esm/{config-state-C83RkI9h.js → config-state-DiHV-4QK.js} +1 -1
  265. package/dist/esm/{custom-popper.entry.js → custom-popper_2.entry.js} +23 -4
  266. package/dist/esm/{dispute.service-ByJy64X7.js → dispute.service-Cdq3_yRo.js} +3 -3
  267. package/dist/esm/form-alert_5.entry.js +15 -25
  268. package/dist/esm/form-control-checkbox.entry.js +6 -6
  269. package/dist/esm/form-control-date.entry.js +5 -5
  270. package/dist/esm/{form-control-error-text-CjrxZorl.js → form-control-error-text-bprS-t9d.js} +2 -2
  271. package/dist/esm/form-control-file-v2_2.entry.js +6 -6
  272. package/dist/esm/{form-control-help-text-CMUgRhUf.js → form-control-help-text-Bvnp-IAG.js} +2 -2
  273. package/dist/esm/form-control-help-text.entry.js +1 -1
  274. package/dist/esm/form-control-monetary-provisioning.entry.js +7 -7
  275. package/dist/esm/form-control-monetary.entry.js +7 -7
  276. package/dist/esm/form-control-number-masked_2.entry.js +104 -0
  277. package/dist/esm/form-control-number.entry.js +6 -6
  278. package/dist/esm/form-control-radio.entry.js +4 -4
  279. package/dist/esm/{form-control-select_3.entry.js → form-control-select_2.entry.js} +8 -26
  280. package/dist/esm/{form-input-masks-CVaOFfrI.js → form-input-masks-B-iV5cYd.js} +3 -9
  281. package/dist/esm/{get-business-Xt7B5dSo.js → get-business-Crb6P-iI.js} +1 -1
  282. package/dist/esm/{get-payment-details-B00HoaFm.js → get-payment-details-sGoWyAat.js} +3 -3
  283. package/dist/esm/{get-subaccounts-C_yzcZq_.js → get-subaccounts-BsJSlShO.js} +4 -4
  284. package/dist/esm/gross-payment-chart-core.entry.js +26 -17
  285. package/dist/esm/{header-1-BukynbFR.js → header-1-C1Hnxki8.js} +2 -2
  286. package/dist/esm/{header-3-D87MAyMK.js → header-3-Bq8fpjm-.js} +2 -2
  287. package/dist/esm/helpers-Mu7LQT-w.js +29 -0
  288. package/dist/esm/hidden-input_2.entry.js +9 -9
  289. package/dist/esm/{index-NOsb-hYl.js → index-DJ9G-4S-.js} +1 -1
  290. package/dist/esm/{index-_b8l4IX7.js → index-DOjVAAtq.js} +5 -2
  291. package/dist/esm/{input-handlers-D3y0TzH9.js → input-handlers-CX6mSvOM.js} +1 -1
  292. package/dist/esm/{insurance-state-BjY1QRXI.js → insurance-state-CVme82j7.js} +3 -3
  293. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +73 -130
  294. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +26 -25
  295. package/dist/esm/justifi-additional-statement_8.entry.js +10 -10
  296. package/dist/esm/{justifi-checkout-summary_7.entry.js → justifi-apple-pay_8.entry.js} +824 -26
  297. package/dist/esm/justifi-bank-account-billing-form-simple_9.entry.js +30 -29
  298. package/dist/esm/justifi-business-details.entry.js +15 -13
  299. package/dist/esm/justifi-business-form.entry.js +23 -27
  300. package/dist/esm/justifi-business-representative-form-inputs.entry.js +8 -16
  301. package/dist/esm/justifi-checkout.entry.js +16 -14
  302. package/dist/esm/justifi-checkouts-list-filters.entry.js +12 -10
  303. package/dist/esm/justifi-checkouts-list.entry.js +18 -16
  304. package/dist/esm/justifi-config-provider.entry.js +3 -3
  305. package/dist/esm/justifi-details.entry.js +3 -3
  306. package/dist/esm/justifi-dispute-management-core.entry.js +2 -2
  307. package/dist/esm/justifi-dispute-management.entry.js +13 -11
  308. package/dist/esm/justifi-dispute-notification_3.entry.js +19 -17
  309. package/dist/esm/justifi-gross-payment-chart.entry.js +13 -11
  310. package/dist/esm/justifi-order-terminals.entry.js +18 -16
  311. package/dist/esm/justifi-owner-form_3.entry.js +21 -30
  312. package/dist/esm/justifi-payment-details.entry.js +23 -14
  313. package/dist/esm/justifi-payment-provisioning-core.entry.js +25 -40
  314. package/dist/esm/justifi-payment-provisioning.entry.js +13 -11
  315. package/dist/esm/justifi-payment-transactions-list.entry.js +17 -15
  316. package/dist/esm/justifi-payments-list-filters.entry.js +8 -8
  317. package/dist/esm/justifi-payments-list.entry.js +18 -16
  318. package/dist/esm/justifi-payout-details.entry.js +16 -13
  319. package/dist/esm/justifi-payout-transactions-list.entry.js +17 -15
  320. package/dist/esm/justifi-payouts-list-filters.entry.js +8 -8
  321. package/dist/esm/justifi-payouts-list.entry.js +19 -17
  322. package/dist/esm/justifi-refund-payment.entry.js +17 -15
  323. package/dist/esm/justifi-saved-payment-method.entry.js +3 -3
  324. package/dist/esm/justifi-season-interruption-insurance.entry.js +16 -14
  325. package/dist/esm/justifi-skeleton.entry.js +5 -5
  326. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +13 -11
  327. package/dist/esm/justifi-terminal-orders-list.entry.js +16 -14
  328. package/dist/esm/justifi-terminals-list-filters.entry.js +14 -11
  329. package/dist/esm/justifi-terminals-list.entry.js +18 -16
  330. package/dist/esm/loader.js +3 -3
  331. package/dist/esm/{package-BRhnhmpB.js → package-YyotqiSL.js} +1 -1
  332. package/dist/esm/pagination-menu.entry.js +5 -5
  333. package/dist/esm/{parts-CA_TyBed.js → parts-xDbRW9xn.js} +2 -1
  334. package/dist/esm/payment-details-core.entry.js +34 -16
  335. package/dist/esm/payment-method-option.entry.js +4 -4
  336. package/dist/esm/{payment.service-B_NytmNz.js → payment.service-BoQ1MW1k.js} +3 -3
  337. package/dist/esm/payments-list-core.entry.js +16 -14
  338. package/dist/esm/{payments-list-params-state-BY5996_y.js → payments-list-params-state-C_fug9R3.js} +1 -1
  339. package/dist/esm/{payments-status-BWv1l1-e.js → payments-status-cvtVmtY5.js} +22 -4
  340. package/dist/esm/{payments-table-BSk36N1O.js → payments-table-D_BlyU1F.js} +4 -4
  341. package/dist/esm/payout-details-core.entry.js +25 -12
  342. package/dist/esm/{payout.service-BJQVlc_Z.js → payout.service-xcBdom3q.js} +3 -3
  343. package/dist/esm/payouts-list-core.entry.js +16 -14
  344. package/dist/esm/{payouts-list-params-state-BY5996_y.js → payouts-list-params-state-C_fug9R3.js} +1 -1
  345. package/dist/esm/{payouts-status-BujJlH_r.js → payouts-status-D-vjrqBb.js} +2 -2
  346. package/dist/esm/{payouts-table-5N7OylTW.js → payouts-table-Clj8YGLV.js} +4 -4
  347. package/dist/esm/{schema-validations-BFoU1cR8.js → schema-validations-B9dmY7ME.js} +6 -41
  348. package/dist/esm/{skeleton-C161KeYG.js → skeleton-B8EUwt4b.js} +2 -2
  349. package/dist/esm/{spinner-UiInIFXW.js → spinner-CYXkn1fh.js} +2 -2
  350. package/dist/esm/state-options-BX8GieXu.js +244 -0
  351. package/dist/esm/{styled-host-hSGxxyFZ.js → styled-host-OalOsPBp.js} +1 -1
  352. package/dist/esm/{table-9ewYPAZH.js → table-Bj20uWfu.js} +3 -3
  353. package/dist/esm/table-filters-menu.entry.js +4 -4
  354. package/dist/esm/terminal-orders-list-core.entry.js +15 -13
  355. package/dist/esm/{terminal-orders-list-params-state-BY5996_y.js → terminal-orders-list-params-state-C_fug9R3.js} +1 -1
  356. package/dist/esm/{terminal-orders-table-BcziGGSF.js → terminal-orders-table-DzBpIW8i.js} +7 -7
  357. package/dist/esm/terminal-quantity-selector.entry.js +3 -3
  358. package/dist/esm/{terminal.service-B9MOFa2c.js → terminal.service-l6zTIPZ3.js} +3 -3
  359. package/dist/esm/terminals-list-core.entry.js +15 -13
  360. package/dist/esm/terminals-list-params-state-C_fug9R3.js +16 -0
  361. package/dist/esm/{terminals-table-BoFlvdHS.js → terminals-table-BMS5tazC.js} +9 -4
  362. package/dist/esm/{utils-DeZftIgK.js → utils-BOijEGPV.js} +4 -1
  363. package/dist/esm/{utils-fntGABrK.js → utils-DRwofES0.js} +5 -5
  364. package/dist/esm/webcomponents.js +4 -4
  365. package/dist/module/Business.js +3 -290
  366. package/dist/module/Refund.js +2 -1
  367. package/dist/module/additional-questions-details2.js +1 -1
  368. package/dist/module/additional-statement.js +1 -1
  369. package/dist/{esm/justifi-apple-pay.entry.js → module/apple-pay.js} +74 -106
  370. package/dist/module/badge.js +1 -1
  371. package/dist/module/bank-account-billing-form-simple.js +2 -2
  372. package/dist/module/bank-account-document-inputs.js +1 -1
  373. package/dist/module/bank-account-form-inputs2.js +2 -9
  374. package/dist/module/bank-account-form.js +3 -3
  375. package/dist/module/bank-account.js +2 -2
  376. package/dist/module/billing-form-full.js +2 -2
  377. package/dist/module/billing-form.js +3 -2
  378. package/dist/module/business-additional-questions-form-step.js +1 -1
  379. package/dist/module/business-address-schema.js +20 -40
  380. package/dist/module/business-bank-account-form-step-core.js +49 -102
  381. package/dist/module/business-bank-account-form-step.js +5 -18
  382. package/dist/module/business-core-info-form-step-core.js +7 -22
  383. package/dist/module/business-core-info-form-step.js +1 -2
  384. package/dist/module/business-core-info-schema.js +5 -26
  385. package/dist/module/business-core-info.js +4 -12
  386. package/dist/module/business-documents-on-file2.js +1 -1
  387. package/dist/module/business-identity-schema.js +25 -52
  388. package/dist/module/business-owners-form-step-core.js +13 -20
  389. package/dist/module/business-owners-form-step.js +15 -22
  390. package/dist/module/business-representative-form-inputs.js +17 -34
  391. package/dist/module/business-representative-form-step-core.js +18 -29
  392. package/dist/module/business-representative-form-step.js +17 -24
  393. package/dist/module/business-representative.js +18 -36
  394. package/dist/module/business-terms-conditions-form-step.js +1 -1
  395. package/dist/module/button.js +1 -1
  396. package/dist/module/cancellation-policy.js +1 -1
  397. package/dist/module/card-billing-form-simple.js +2 -2
  398. package/dist/module/card-form.js +3 -3
  399. package/dist/module/card-form2.js +2 -2
  400. package/dist/module/checkout.store.js +4 -0
  401. package/dist/module/checkouts-list-core2.js +2 -2
  402. package/dist/module/custom-popper2.js +2 -2
  403. package/dist/module/customer-details.js +1 -1
  404. package/dist/module/dispute-management-core.js +1 -1
  405. package/dist/module/dispute-notification.js +1 -1
  406. package/dist/module/dispute-response-core.js +1 -1
  407. package/dist/module/dispute-response.js +1 -1
  408. package/dist/module/duplicate-charge.js +1 -1
  409. package/dist/module/electronic-evidence.js +1 -1
  410. package/dist/module/form-alert2.js +1 -1
  411. package/dist/module/form-control-checkbox2.js +3 -3
  412. package/dist/module/form-control-date2.js +3 -3
  413. package/dist/module/form-control-error-text.js +1 -1
  414. package/dist/module/form-control-file-v22.js +1 -1
  415. package/dist/module/form-control-file2.js +3 -3
  416. package/dist/module/form-control-monetary-provisioning2.js +3 -3
  417. package/dist/module/form-control-monetary2.js +3 -3
  418. package/dist/module/form-control-number-masked2.js +3 -3
  419. package/dist/module/form-control-number.js +3 -3
  420. package/dist/module/form-control-radio2.js +3 -3
  421. package/dist/module/form-control-select2.js +3 -3
  422. package/dist/module/form-control-text2.js +3 -3
  423. package/dist/module/form-control-textarea2.js +3 -3
  424. package/dist/module/form-control-tooltip2.js +1 -1
  425. package/dist/module/form-input-masks.js +3 -9
  426. package/dist/module/get-business.js +1 -1
  427. package/dist/module/gross-payment-chart-core2.js +22 -13
  428. package/dist/module/header-3.js +1 -1
  429. package/dist/module/helpers.js +29 -0
  430. package/dist/module/hidden-input2.js +2 -2
  431. package/dist/module/identity-address-form.js +14 -16
  432. package/dist/module/iframe-input2.js +4 -4
  433. package/dist/module/input-handlers.js +1 -1
  434. package/dist/module/justifi-apple-pay.js +1 -904
  435. package/dist/module/justifi-business-form.js +29 -41
  436. package/dist/module/justifi-button2.js +1 -1
  437. package/dist/module/justifi-checkout.js +27 -21
  438. package/dist/module/justifi-checkouts-list-filters.js +2 -2
  439. package/dist/module/justifi-checkouts-list.js +2 -2
  440. package/dist/module/justifi-dispute-management.js +1 -1
  441. package/dist/module/justifi-header2.js +1 -1
  442. package/dist/module/justifi-order-terminals.js +5 -5
  443. package/dist/module/justifi-payment-details.js +8 -1
  444. package/dist/module/justifi-payment-provisioning.js +49 -67
  445. package/dist/module/justifi-payment-transactions-list.js +3 -3
  446. package/dist/module/justifi-payments-list-filters.js +3 -3
  447. package/dist/module/justifi-payments-list.js +1 -1
  448. package/dist/module/justifi-payout-details.js +4 -2
  449. package/dist/module/justifi-payout-transactions-list.js +3 -3
  450. package/dist/module/justifi-payouts-list-filters.js +3 -3
  451. package/dist/module/justifi-payouts-list.js +2 -2
  452. package/dist/module/justifi-refund-payment.js +1 -1
  453. package/dist/module/justifi-saved-payment-method.js +1 -1
  454. package/dist/module/justifi-season-interruption-insurance.js +2 -2
  455. package/dist/module/justifi-skeleton.js +1 -1
  456. package/dist/module/justifi-terminal-orders-list-filters.js +4 -4
  457. package/dist/module/justifi-terminal-orders-list.js +2 -2
  458. package/dist/module/justifi-terminals-list-filters.js +5 -4
  459. package/dist/module/justifi-terminals-list.js +2 -2
  460. package/dist/module/legal-address-form-step-core.js +19 -26
  461. package/dist/module/legal-address-form-step.js +9 -16
  462. package/dist/module/legal-address-form.js +14 -17
  463. package/dist/module/modular-checkout.js +7 -6
  464. package/dist/module/owner-details2.js +8 -7
  465. package/dist/module/owner-form-core2.js +16 -24
  466. package/dist/module/owner-form-inputs2.js +15 -34
  467. package/dist/module/owner-form.js +13 -20
  468. package/dist/module/package.js +1 -1
  469. package/dist/module/pagination-menu2.js +4 -4
  470. package/dist/module/parts.js +2 -1
  471. package/dist/module/payment-details-core2.js +22 -9
  472. package/dist/module/payment-method-option.js +1 -1
  473. package/dist/module/payment-provisioning-core.js +69 -104
  474. package/dist/module/payment-provisioning-form-buttons.js +1 -1
  475. package/dist/module/payment-provisioning-form-steps.js +54 -75
  476. package/dist/module/payments-list-core2.js +2 -2
  477. package/dist/module/payments-status.js +20 -2
  478. package/dist/module/payout-details-core2.js +18 -4
  479. package/dist/module/payouts-list-core2.js +2 -2
  480. package/dist/module/product-or-service.js +1 -1
  481. package/dist/module/refund-policy.js +1 -1
  482. package/dist/module/representative-details2.js +1 -1
  483. package/dist/module/save-new-payment-method.js +1 -1
  484. package/dist/module/schema-validations.js +6 -41
  485. package/dist/module/shipping-details.js +1 -1
  486. package/dist/module/spinner.js +1 -1
  487. package/dist/module/state-options.js +244 -0
  488. package/dist/module/summary.js +1 -1
  489. package/dist/module/table-filters-menu2.js +2 -2
  490. package/dist/module/table.js +1 -1
  491. package/dist/module/terminal-orders-list-core2.js +3 -3
  492. package/dist/module/terminal-quantity-selector2.js +2 -2
  493. package/dist/module/terminals-list-core2.js +8 -3
  494. package/dist/module/tokenize-payment-method.js +1 -1
  495. package/dist/module/utils.js +4 -4
  496. package/dist/module/utils2.js +4 -1
  497. package/dist/types/api/BankAccount.d.ts +0 -6
  498. package/dist/types/api/Business.d.ts +0 -9
  499. package/dist/types/api/Checkout.d.ts +2 -0
  500. package/dist/types/api/ComponentEvents.d.ts +4 -0
  501. package/dist/types/api/Terminal.d.ts +2 -1
  502. package/dist/types/components/business-details/owner-details/owner-details.d.ts +1 -1
  503. package/dist/types/components/business-forms/business-form/business-core-info/business-core-info.d.ts +0 -3
  504. package/dist/types/components/business-forms/business-form/business-form.d.ts +0 -2
  505. package/dist/types/components/business-forms/business-form/business-representative/business-representative.d.ts +1 -4
  506. package/dist/types/components/business-forms/business-form/legal-address-form/legal-address-form.d.ts +0 -2
  507. package/dist/types/components/business-forms/owner-form/identity-address/identity-address-form.d.ts +0 -2
  508. package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +0 -2
  509. package/dist/types/components/business-forms/owner-form/owner-form-inputs.d.ts +0 -3
  510. package/dist/types/components/business-forms/owner-form/owner-form.d.ts +0 -2
  511. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.d.ts +0 -5
  512. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +0 -2
  513. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +0 -3
  514. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.d.ts +0 -2
  515. package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.d.ts +0 -2
  516. package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.d.ts +0 -2
  517. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.d.ts +0 -3
  518. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +0 -2
  519. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.d.ts +0 -2
  520. package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +0 -2
  521. package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.d.ts +0 -2
  522. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-core.d.ts +2 -4
  523. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-form-steps.d.ts +0 -2
  524. package/dist/types/components/business-forms/schemas/business-address-schema.d.ts +2 -54
  525. package/dist/types/components/business-forms/schemas/business-bank-account-schema.d.ts +16 -14
  526. package/dist/types/components/business-forms/schemas/business-core-info-schema.d.ts +3 -67
  527. package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +6 -164
  528. package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +2 -122
  529. package/dist/types/components/business-forms/schemas/schema-validations.d.ts +0 -5
  530. package/dist/types/components/modular-checkout/sub-components/apple-pay.d.ts +2 -0
  531. package/dist/types/components/payment-details/payment-details-core.d.ts +3 -1
  532. package/dist/types/components/payment-details/payment-details.d.ts +3 -1
  533. package/dist/types/components/payments-list/payments-status.d.ts +12 -0
  534. package/dist/types/components/payout-details/payout-details-core.d.ts +5 -1
  535. package/dist/types/components/payout-details/payout-details.d.ts +1 -0
  536. package/dist/types/components.d.ts +38 -113
  537. package/dist/types/stencil-public-runtime.d.ts +20 -10
  538. package/dist/types/store/checkout.store.d.ts +1 -0
  539. package/dist/types/styles/parts.d.ts +1 -1
  540. package/dist/types/ui-components/details/utils.d.ts +3 -2
  541. package/dist/types/utils/form-input-masks.d.ts +0 -1
  542. package/dist/types/utils/utils.d.ts +1 -0
  543. package/dist/webcomponents/p-0217783c.entry.js +20 -0
  544. package/dist/webcomponents/p-02fdd7f5.entry.js +1 -0
  545. package/dist/webcomponents/p-0af5269e.entry.js +1 -0
  546. package/dist/webcomponents/p-0cac8468.entry.js +1 -0
  547. package/dist/webcomponents/{p-b59221a9.entry.js → p-0cf71cbd.entry.js} +1 -1
  548. package/dist/webcomponents/p-0eb69f41.entry.js +1 -0
  549. package/dist/webcomponents/p-0fgTPVV0.js +1 -0
  550. package/dist/webcomponents/{p-c1f10a84.entry.js → p-13df20c1.entry.js} +1 -1
  551. package/dist/webcomponents/{p-C77ElQ41.js → p-1ydcg9ti.js} +1 -1
  552. package/dist/webcomponents/p-28625e07.entry.js +1 -0
  553. package/dist/webcomponents/p-2d300faa.entry.js +1 -0
  554. package/dist/webcomponents/{p-6ea75d39.entry.js → p-2f40f708.entry.js} +1 -1
  555. package/dist/webcomponents/p-328117e4.entry.js +1 -0
  556. package/dist/webcomponents/p-32978110.entry.js +1 -0
  557. package/dist/webcomponents/{p-c7390115.entry.js → p-37a93597.entry.js} +1 -1
  558. package/dist/webcomponents/p-3dd950bf.entry.js +1 -0
  559. package/dist/webcomponents/p-447b55c0.entry.js +1 -0
  560. package/dist/webcomponents/p-47997bc2.entry.js +1 -0
  561. package/dist/webcomponents/p-4bf52215.entry.js +1 -0
  562. package/dist/webcomponents/p-50701f16.entry.js +1 -0
  563. package/dist/webcomponents/p-526b7442.entry.js +1 -0
  564. package/dist/webcomponents/p-5aae36f3.entry.js +1 -0
  565. package/dist/webcomponents/p-5bd3d86e.entry.js +1 -0
  566. package/dist/webcomponents/p-63ad8ebd.entry.js +1 -0
  567. package/dist/webcomponents/p-63fb5e82.entry.js +1 -0
  568. package/dist/webcomponents/p-6472b6db.entry.js +1 -0
  569. package/dist/webcomponents/p-6e9cd0dd.entry.js +1 -0
  570. package/dist/webcomponents/p-6f27030e.entry.js +1 -0
  571. package/dist/webcomponents/p-705dba52.entry.js +1 -0
  572. package/dist/webcomponents/p-7680c57b.entry.js +1 -0
  573. package/dist/webcomponents/p-7686ef15.entry.js +1 -0
  574. package/dist/webcomponents/p-773d6dd3.entry.js +1 -0
  575. package/dist/webcomponents/p-78cb62a8.entry.js +1 -0
  576. package/dist/webcomponents/p-7b55e1c1.entry.js +1 -0
  577. package/dist/webcomponents/p-7b5ad3a7.entry.js +1 -0
  578. package/dist/webcomponents/p-80b2cdec.entry.js +1 -0
  579. package/dist/webcomponents/p-8S_ROmnq.js +1 -0
  580. package/dist/webcomponents/p-8ca21fab.entry.js +1 -0
  581. package/dist/webcomponents/p-9ad7d724.entry.js +1 -0
  582. package/dist/webcomponents/p-9ed7b13f.entry.js +1 -0
  583. package/dist/webcomponents/p-B-iV5cYd.js +1 -0
  584. package/dist/webcomponents/p-B6IWa9Ph.js +1 -0
  585. package/dist/webcomponents/{p-BdREtifE.js → p-BBx_EQqR.js} +1 -1
  586. package/dist/webcomponents/p-BX8GieXu.js +1 -0
  587. package/dist/webcomponents/{p-xWrhxNNk.js → p-Bgnhf5c9.js} +1 -1
  588. package/dist/webcomponents/{p-DTwFW2k_.js → p-BhCH9S0e.js} +1 -1
  589. package/dist/webcomponents/p-BjNuRWXK.js +1 -0
  590. package/dist/webcomponents/p-BlJnA265.js +1 -0
  591. package/dist/webcomponents/p-BoQ6_4Ks.js +1 -0
  592. package/dist/webcomponents/{p-DWGKeoot.js → p-C0wTyoTh.js} +1 -1
  593. package/dist/webcomponents/p-C2JJBtMc.js +1 -0
  594. package/dist/webcomponents/{p-g2ubqhtv.js → p-C8k7a6D-.js} +1 -1
  595. package/dist/webcomponents/{p-BPDMo6us.js → p-C98BC5W5.js} +1 -1
  596. package/dist/webcomponents/p-C9EQ459H.js +1 -0
  597. package/dist/webcomponents/p-C9iide2W.js +1 -0
  598. package/dist/webcomponents/p-CCLgieAN.js +1 -0
  599. package/dist/webcomponents/p-CCmDcLao.js +1 -0
  600. package/dist/webcomponents/{p-qUCDGWNE.js → p-CEk3bv0x.js} +1 -1
  601. package/dist/webcomponents/p-CH8Y3GSr.js +1 -0
  602. package/dist/webcomponents/{p-BaM0JBLn.js → p-CdEseavG.js} +1 -1
  603. package/dist/webcomponents/{p-D2hzOOMf.js → p-ClvhB3WW.js} +1 -1
  604. package/dist/webcomponents/{p-JSXyHheQ.js → p-CmBCj61h.js} +1 -1
  605. package/dist/webcomponents/p-D0Peuz-m.js +1 -0
  606. package/dist/webcomponents/p-D6BImiVi.js +1 -0
  607. package/dist/webcomponents/p-DGsXKF67.js +1 -0
  608. package/dist/webcomponents/p-DH8F0bsw.js +1 -0
  609. package/dist/webcomponents/{p-_b8l4IX7.js → p-DOjVAAtq.js} +2 -2
  610. package/dist/webcomponents/p-DQZ5VHTZ.js +1 -0
  611. package/dist/webcomponents/p-DWn9BiNn.js +1 -0
  612. package/dist/webcomponents/{p-hj8k0lRi.js → p-DdMxswn1.js} +1 -1
  613. package/dist/webcomponents/{p-M5r2kSbf.js → p-DdZLLkQ5.js} +1 -1
  614. package/dist/webcomponents/p-DfV3dFDB.js +1 -0
  615. package/dist/webcomponents/p-Dieke6TH.js +1 -0
  616. package/dist/webcomponents/p-Dt-vy9Le.js +1 -0
  617. package/dist/webcomponents/p-NAjz1Xfo.js +1 -0
  618. package/dist/webcomponents/p-NwmOm8Pg.js +1 -0
  619. package/dist/webcomponents/p-PSJOKMWp.js +1 -0
  620. package/dist/webcomponents/p-RQzxYnz_.js +1 -0
  621. package/dist/webcomponents/p-T2yENPvU.js +1 -0
  622. package/dist/webcomponents/p-YyotqiSL.js +1 -0
  623. package/dist/webcomponents/{p-931003fc.entry.js → p-a09695c4.entry.js} +1 -1
  624. package/dist/webcomponents/{p-b46fe458.entry.js → p-a4846316.entry.js} +1 -1
  625. package/dist/webcomponents/p-a6tcNl_T.js +1 -0
  626. package/dist/webcomponents/p-adc1d0be.entry.js +1 -0
  627. package/dist/webcomponents/p-ae8ae5bb.entry.js +1 -0
  628. package/dist/webcomponents/p-aeb22aa2.entry.js +1 -0
  629. package/dist/webcomponents/{p-fVyCeQNq.js → p-au49QgoI.js} +1 -1
  630. package/dist/webcomponents/p-b149a2fc.entry.js +1 -0
  631. package/dist/webcomponents/p-b4aa9298.entry.js +1 -0
  632. package/dist/webcomponents/{p-b17cb15d.entry.js → p-b608add9.entry.js} +1 -1
  633. package/dist/webcomponents/p-bb53e2e9.entry.js +1 -0
  634. package/dist/webcomponents/p-bc099dd0.entry.js +1 -0
  635. package/dist/webcomponents/p-c12d0453.entry.js +1 -0
  636. package/dist/webcomponents/p-c2569b4c.entry.js +1 -0
  637. package/dist/webcomponents/p-c644a9f1.entry.js +1 -0
  638. package/dist/webcomponents/p-cb782215.entry.js +1 -0
  639. package/dist/webcomponents/p-d0a2035f.entry.js +1 -0
  640. package/dist/webcomponents/p-d1bceac6.entry.js +1 -0
  641. package/dist/webcomponents/p-d4476052.entry.js +1 -0
  642. package/dist/webcomponents/p-d5452069.entry.js +1 -0
  643. package/dist/webcomponents/p-d88d7418.entry.js +1 -0
  644. package/dist/webcomponents/p-de95bf57.entry.js +1 -0
  645. package/dist/webcomponents/p-e365b251.entry.js +1 -0
  646. package/dist/webcomponents/p-e6be4e19.entry.js +1 -0
  647. package/dist/webcomponents/p-e6fe9b7d.entry.js +1 -0
  648. package/dist/webcomponents/p-e9f6a621.entry.js +1 -0
  649. package/dist/webcomponents/p-ec9514f8.entry.js +1 -0
  650. package/dist/webcomponents/p-edfeb034.entry.js +1 -0
  651. package/dist/webcomponents/p-f378af59.entry.js +1 -0
  652. package/dist/webcomponents/p-f705fc49.entry.js +1 -0
  653. package/dist/webcomponents/p-fbc5fc6d.entry.js +1 -0
  654. package/dist/webcomponents/p-ffefa09c.entry.js +1 -0
  655. package/dist/webcomponents/p-h5pyZngT.js +1 -0
  656. package/dist/webcomponents/p-hbWSMN3O.js +1 -0
  657. package/dist/webcomponents/p-lKnUT24T.js +1 -0
  658. package/dist/webcomponents/p-tYuXMkCd.js +1 -0
  659. package/dist/webcomponents/p-wQgEEOq_.js +1 -0
  660. package/dist/webcomponents/p-xDbRW9xn.js +1 -0
  661. package/dist/webcomponents/{p-CPpUGsw5.js → p-yH3TC3ZQ.js} +1 -1
  662. package/dist/webcomponents/webcomponents.esm.js +1 -1
  663. package/package.json +1 -1
  664. package/dist/cjs/bank-account-document-form-inputs_6.cjs.entry.js +0 -132
  665. package/dist/cjs/business-identity-schema-Cd0tvfJr.js +0 -101
  666. package/dist/cjs/country-config-MCOhn8o3.js +0 -68
  667. package/dist/cjs/form-control-number-masked_3.cjs.entry.js +0 -119
  668. package/dist/cjs/justifi-apple-pay.cjs.entry.js +0 -876
  669. package/dist/cjs/terminals-list-params-state-ARjo40Y9.js +0 -22
  670. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.js +0 -88
  671. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.js +0 -50
  672. package/dist/collection/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.js +0 -101
  673. package/dist/collection/components/business-forms/payment-provisioning/test/mockBusiness.js +0 -52
  674. package/dist/collection/components/business-forms/utils/country-config.js +0 -47
  675. package/dist/collection/utils/country-codes.js +0 -5
  676. package/dist/collection/utils/province-options.js +0 -20
  677. package/dist/esm/bank-account-document-form-inputs_6.entry.js +0 -125
  678. package/dist/esm/business-identity-schema-mN4VhA1v.js +0 -94
  679. package/dist/esm/country-config-BQ4D46Lb.js +0 -64
  680. package/dist/esm/form-control-number-masked_3.entry.js +0 -115
  681. package/dist/esm/terminals-list-params-state-BY5996_y.js +0 -16
  682. package/dist/module/bank-account-form-inputs-canada.d.ts +0 -11
  683. package/dist/module/bank-account-form-inputs-canada.js +0 -6
  684. package/dist/module/bank-account-form-inputs-canada2.js +0 -68
  685. package/dist/module/bank-account-read-only-value.d.ts +0 -11
  686. package/dist/module/bank-account-read-only-value.js +0 -6
  687. package/dist/module/bank-account-read-only-value2.js +0 -33
  688. package/dist/module/country-config.js +0 -64
  689. package/dist/module/form-address-fields.js +0 -65
  690. package/dist/module/justifi-form-address-fields.d.ts +0 -11
  691. package/dist/module/justifi-form-address-fields.js +0 -6
  692. package/dist/types/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.d.ts +0 -7
  693. package/dist/types/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.d.ts +0 -5
  694. package/dist/types/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.d.ts +0 -8
  695. package/dist/types/components/business-forms/payment-provisioning/test/mockBusiness.d.ts +0 -12
  696. package/dist/types/utils/country-codes.d.ts +0 -4
  697. package/dist/types/utils/province-options.d.ts +0 -5
  698. package/dist/webcomponents/p-0254c06c.entry.js +0 -1
  699. package/dist/webcomponents/p-047fe97f.entry.js +0 -1
  700. package/dist/webcomponents/p-04ca6ff0.entry.js +0 -1
  701. package/dist/webcomponents/p-09d53b03.entry.js +0 -1
  702. package/dist/webcomponents/p-0c5e2fed.entry.js +0 -1
  703. package/dist/webcomponents/p-0ea48603.entry.js +0 -1
  704. package/dist/webcomponents/p-17e9d5c0.entry.js +0 -1
  705. package/dist/webcomponents/p-1ab4d6aa.entry.js +0 -1
  706. package/dist/webcomponents/p-1cf42bc9.entry.js +0 -1
  707. package/dist/webcomponents/p-1e7f4b4f.entry.js +0 -1
  708. package/dist/webcomponents/p-22defde6.entry.js +0 -20
  709. package/dist/webcomponents/p-242208d9.entry.js +0 -1
  710. package/dist/webcomponents/p-31ac0c3d.entry.js +0 -1
  711. package/dist/webcomponents/p-36e21b78.entry.js +0 -1
  712. package/dist/webcomponents/p-3a77a97c.entry.js +0 -1
  713. package/dist/webcomponents/p-40938820.entry.js +0 -1
  714. package/dist/webcomponents/p-40dc0c3c.entry.js +0 -1
  715. package/dist/webcomponents/p-42763479.entry.js +0 -1
  716. package/dist/webcomponents/p-430203b0.entry.js +0 -1
  717. package/dist/webcomponents/p-46d2d042.entry.js +0 -1
  718. package/dist/webcomponents/p-485516a1.entry.js +0 -1
  719. package/dist/webcomponents/p-4fb58ee6.entry.js +0 -1
  720. package/dist/webcomponents/p-54995a3d.entry.js +0 -1
  721. package/dist/webcomponents/p-56617fdd.entry.js +0 -1
  722. package/dist/webcomponents/p-592a45f6.entry.js +0 -1
  723. package/dist/webcomponents/p-5a044ca5.entry.js +0 -1
  724. package/dist/webcomponents/p-5ec18584.entry.js +0 -1
  725. package/dist/webcomponents/p-6122dc79.entry.js +0 -1
  726. package/dist/webcomponents/p-62858ba5.entry.js +0 -1
  727. package/dist/webcomponents/p-62b5e6cf.entry.js +0 -1
  728. package/dist/webcomponents/p-67dab4d9.entry.js +0 -1
  729. package/dist/webcomponents/p-6b791b1d.entry.js +0 -1
  730. package/dist/webcomponents/p-6ebf8f11.entry.js +0 -1
  731. package/dist/webcomponents/p-6fdac295.entry.js +0 -1
  732. package/dist/webcomponents/p-724cf90f.entry.js +0 -1
  733. package/dist/webcomponents/p-7ecca5fe.entry.js +0 -1
  734. package/dist/webcomponents/p-7ecf9bd0.entry.js +0 -1
  735. package/dist/webcomponents/p-850dd606.entry.js +0 -1
  736. package/dist/webcomponents/p-85af9d78.entry.js +0 -1
  737. package/dist/webcomponents/p-9367e7e6.entry.js +0 -1
  738. package/dist/webcomponents/p-9c114674.entry.js +0 -1
  739. package/dist/webcomponents/p-9c267692.entry.js +0 -1
  740. package/dist/webcomponents/p-B5rtFhtR.js +0 -1
  741. package/dist/webcomponents/p-BRhnhmpB.js +0 -1
  742. package/dist/webcomponents/p-BgFM_jvF.js +0 -1
  743. package/dist/webcomponents/p-BqbXuOZP.js +0 -1
  744. package/dist/webcomponents/p-BwpdCtUc.js +0 -1
  745. package/dist/webcomponents/p-C6g4MbnB.js +0 -1
  746. package/dist/webcomponents/p-CA_TyBed.js +0 -1
  747. package/dist/webcomponents/p-CE-MNrID.js +0 -1
  748. package/dist/webcomponents/p-CMpATPXy.js +0 -1
  749. package/dist/webcomponents/p-CQUZeo9r.js +0 -1
  750. package/dist/webcomponents/p-CSeo7WDO.js +0 -1
  751. package/dist/webcomponents/p-CTJ3moi4.js +0 -1
  752. package/dist/webcomponents/p-CVaOFfrI.js +0 -1
  753. package/dist/webcomponents/p-CYNcSTQA.js +0 -1
  754. package/dist/webcomponents/p-CevVA9qy.js +0 -1
  755. package/dist/webcomponents/p-CkiX8OGy.js +0 -1
  756. package/dist/webcomponents/p-CtWnJFtW.js +0 -1
  757. package/dist/webcomponents/p-CycBoHSW.js +0 -1
  758. package/dist/webcomponents/p-D-RVXHwG.js +0 -1
  759. package/dist/webcomponents/p-D1Na2I0C.js +0 -1
  760. package/dist/webcomponents/p-D5lmImiz.js +0 -1
  761. package/dist/webcomponents/p-DMf85Fkr.js +0 -1
  762. package/dist/webcomponents/p-DNPS-Ypi.js +0 -1
  763. package/dist/webcomponents/p-DQ5V5-Jy.js +0 -1
  764. package/dist/webcomponents/p-DapORSs4.js +0 -1
  765. package/dist/webcomponents/p-DcPNd9_D.js +0 -1
  766. package/dist/webcomponents/p-DfKxeSrC.js +0 -1
  767. package/dist/webcomponents/p-Dkujm7_O.js +0 -1
  768. package/dist/webcomponents/p-Dv1Fyrn3.js +0 -1
  769. package/dist/webcomponents/p-DxVCqvBt.js +0 -1
  770. package/dist/webcomponents/p-DzWLLt4t.js +0 -1
  771. package/dist/webcomponents/p-LO0pl3n2.js +0 -1
  772. package/dist/webcomponents/p-PdQT2QcR.js +0 -1
  773. package/dist/webcomponents/p-a2817869.entry.js +0 -1
  774. package/dist/webcomponents/p-a291a90c.entry.js +0 -1
  775. package/dist/webcomponents/p-b0bc03e6.entry.js +0 -1
  776. package/dist/webcomponents/p-c2cb70c8.entry.js +0 -1
  777. package/dist/webcomponents/p-c540fe9d.entry.js +0 -1
  778. package/dist/webcomponents/p-c6093716.entry.js +0 -1
  779. package/dist/webcomponents/p-c6e43493.entry.js +0 -1
  780. package/dist/webcomponents/p-c780cc91.entry.js +0 -1
  781. package/dist/webcomponents/p-c9598246.entry.js +0 -1
  782. package/dist/webcomponents/p-c972a599.entry.js +0 -1
  783. package/dist/webcomponents/p-cc1d8649.entry.js +0 -1
  784. package/dist/webcomponents/p-ce4895ca.entry.js +0 -1
  785. package/dist/webcomponents/p-ce67282b.entry.js +0 -1
  786. package/dist/webcomponents/p-cef5c6e9.entry.js +0 -1
  787. package/dist/webcomponents/p-d21fa0c9.entry.js +0 -1
  788. package/dist/webcomponents/p-d236f152.entry.js +0 -1
  789. package/dist/webcomponents/p-d6ac11fc.entry.js +0 -1
  790. package/dist/webcomponents/p-e55ce6ad.entry.js +0 -1
  791. package/dist/webcomponents/p-f02bd076.entry.js +0 -1
  792. package/dist/webcomponents/p-lPeK9y_X.js +0 -1
  793. package/dist/webcomponents/p-sCHf--Vc.js +0 -1
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var configState = require('./config-state-BeZM7X7J.js');
4
- var utils = require('./utils-ChCUZgUy.js');
3
+ var configState = require('./config-state-C7babhLh.js');
4
+ var utils = require('./utils-Bab-tddY.js');
5
5
 
6
6
  const Api = () => {
7
7
  async function getAuthorizationHeader(authToken) {
@@ -1,283 +1,16 @@
1
1
  'use strict';
2
2
 
3
- const StateOptions = [
4
- {
5
- label: 'Choose state',
6
- value: '',
7
- },
8
- {
9
- label: 'Alabama',
10
- value: 'AL',
11
- },
12
- {
13
- label: 'Alaska',
14
- value: 'AK',
15
- },
16
- {
17
- label: 'American Samoa',
18
- value: 'AS',
19
- },
20
- {
21
- label: 'Arizona',
22
- value: 'AZ',
23
- },
24
- {
25
- label: 'Arkansas',
26
- value: 'AR',
27
- },
28
- {
29
- label: 'California',
30
- value: 'CA',
31
- },
32
- {
33
- label: 'Colorado',
34
- value: 'CO',
35
- },
36
- {
37
- label: 'Connecticut',
38
- value: 'CT',
39
- },
40
- {
41
- label: 'Delaware',
42
- value: 'DE',
43
- },
44
- {
45
- label: 'District Of Columbia',
46
- value: 'DC',
47
- },
48
- {
49
- label: 'Federated States Of Micronesia',
50
- value: 'FM',
51
- },
52
- {
53
- label: 'Florida',
54
- value: 'FL',
55
- },
56
- {
57
- label: 'Georgia',
58
- value: 'GA',
59
- },
60
- {
61
- label: 'Guam',
62
- value: 'GU',
63
- },
64
- {
65
- label: 'Hawaii',
66
- value: 'HI',
67
- },
68
- {
69
- label: 'Idaho',
70
- value: 'ID',
71
- },
72
- {
73
- label: 'Illinois',
74
- value: 'IL',
75
- },
76
- {
77
- label: 'Indiana',
78
- value: 'IN',
79
- },
80
- {
81
- label: 'Iowa',
82
- value: 'IA',
83
- },
84
- {
85
- label: 'Kansas',
86
- value: 'KS',
87
- },
88
- {
89
- label: 'Kentucky',
90
- value: 'KY',
91
- },
92
- {
93
- label: 'Louisiana',
94
- value: 'LA',
95
- },
96
- {
97
- label: 'Maine',
98
- value: 'ME',
99
- },
100
- {
101
- label: 'Marshall Islands',
102
- value: 'MH',
103
- },
104
- {
105
- label: 'Maryland',
106
- value: 'MD',
107
- },
108
- {
109
- label: 'Massachusetts',
110
- value: 'MA',
111
- },
112
- {
113
- label: 'Michigan',
114
- value: 'MI',
115
- },
116
- {
117
- label: 'Minnesota',
118
- value: 'MN',
119
- },
120
- {
121
- label: 'Mississippi',
122
- value: 'MS',
123
- },
124
- {
125
- label: 'Missouri',
126
- value: 'MO',
127
- },
128
- {
129
- label: 'Montana',
130
- value: 'MT',
131
- },
132
- {
133
- label: 'Nebraska',
134
- value: 'NE',
135
- },
136
- {
137
- label: 'Nevada',
138
- value: 'NV',
139
- },
140
- {
141
- label: 'New Hampshire',
142
- value: 'NH',
143
- },
144
- {
145
- label: 'New Jersey',
146
- value: 'NJ',
147
- },
148
- {
149
- label: 'New Mexico',
150
- value: 'NM',
151
- },
152
- {
153
- label: 'New York',
154
- value: 'NY',
155
- },
156
- {
157
- label: 'North Carolina',
158
- value: 'NC',
159
- },
160
- {
161
- label: 'North Dakota',
162
- value: 'ND',
163
- },
164
- {
165
- label: 'Northern Mariana Islands',
166
- value: 'MP',
167
- },
168
- {
169
- label: 'Ohio',
170
- value: 'OH',
171
- },
172
- {
173
- label: 'Oklahoma',
174
- value: 'OK',
175
- },
176
- {
177
- label: 'Oregon',
178
- value: 'OR',
179
- },
180
- {
181
- label: 'Palau',
182
- value: 'PW',
183
- },
184
- {
185
- label: 'Pennsylvania',
186
- value: 'PA',
187
- },
188
- {
189
- label: 'Puerto Rico',
190
- value: 'PR',
191
- },
192
- {
193
- label: 'Rhode Island',
194
- value: 'RI',
195
- },
196
- {
197
- label: 'South Carolina',
198
- value: 'SC',
199
- },
200
- {
201
- label: 'South Dakota',
202
- value: 'SD',
203
- },
204
- {
205
- label: 'Tennessee',
206
- value: 'TN',
207
- },
208
- {
209
- label: 'Texas',
210
- value: 'TX',
211
- },
212
- {
213
- label: 'Utah',
214
- value: 'UT',
215
- },
216
- {
217
- label: 'Vermont',
218
- value: 'VT',
219
- },
220
- {
221
- label: 'Virgin Islands',
222
- value: 'VI',
223
- },
224
- {
225
- label: 'Virginia',
226
- value: 'VA',
227
- },
228
- {
229
- label: 'Washington',
230
- value: 'WA',
231
- },
232
- {
233
- label: 'West Virginia',
234
- value: 'WV',
235
- },
236
- {
237
- label: 'Wisconsin',
238
- value: 'WI',
239
- },
240
- {
241
- label: 'Wyoming',
242
- value: 'WY',
243
- },
244
- ];
245
-
246
- function getStateAbbreviation(stateName) {
247
- const state = StateOptions.find(s => s.label === stateName);
248
- return state ? state.value : stateName;
249
- }
250
- // filterNumber is intended to be used to format a string that contains a single digit to a two digit string.
251
- function filterNumber(num) {
252
- if (/^\d$/.test(num)) {
253
- return '0' + num;
254
- }
255
- return num;
256
- }
257
- function constructDate(year, month, day) {
258
- if (!year || !month || !day) {
259
- return;
260
- }
261
- return `${year}-${filterNumber(month)}-${filterNumber(day)}`;
262
- }
263
- function deconstructDate(formInput) {
264
- const dateString = formInput.value;
265
- const [dob_year, dob_month, dob_day] = dateString.split('-');
266
- return { dob_year, dob_month, dob_day };
267
- }
268
- function checkProvisioningStatus(business) {
269
- return business.associated_accounts.length > 0;
270
- }
3
+ var helpers = require('./helpers-B5OCqlIM.js');
271
4
 
272
5
  class Owner {
273
6
  constructor(owner) {
274
7
  this.address = Object.assign({}, new Address(owner.address || {}));
275
8
  this.created_at = owner.created_at;
276
- this.dob_day = filterNumber(owner.dob_day);
277
- this.dob_month = filterNumber(owner.dob_month);
9
+ this.dob_day = helpers.filterNumber(owner.dob_day);
10
+ this.dob_month = helpers.filterNumber(owner.dob_month);
278
11
  this.dob_year = owner.dob_year;
279
12
  this.dob_full =
280
- constructDate(this.dob_year, this.dob_month, this.dob_day) || '';
13
+ helpers.constructDate(this.dob_year, this.dob_month, this.dob_day) || '';
281
14
  this.documents = owner.documents;
282
15
  this.email = owner.email;
283
16
  this.id = owner.id;
@@ -314,11 +47,11 @@ class Representative {
314
47
  constructor(representative) {
315
48
  this.address = Object.assign({}, new Address(representative.address || {}));
316
49
  this.created_at = representative.created_at;
317
- this.dob_day = filterNumber(representative.dob_day);
318
- this.dob_month = filterNumber(representative.dob_month);
50
+ this.dob_day = helpers.filterNumber(representative.dob_day);
51
+ this.dob_month = helpers.filterNumber(representative.dob_month);
319
52
  this.dob_year = representative.dob_year;
320
53
  this.dob_full =
321
- constructDate(this.dob_year, this.dob_month, this.dob_day) || '';
54
+ helpers.constructDate(this.dob_year, this.dob_month, this.dob_day) || '';
322
55
  this.documents = representative.documents;
323
56
  this.email = representative.email;
324
57
  this.id = representative.id;
@@ -352,21 +85,6 @@ class Representative {
352
85
  }
353
86
  }
354
87
 
355
- exports.CountryCode = void 0;
356
- (function (CountryCode) {
357
- CountryCode["USA"] = "USA";
358
- CountryCode["CAN"] = "CAN";
359
- })(exports.CountryCode || (exports.CountryCode = {}));
360
-
361
- // Normalize various incoming country representations to strict CountryCode values
362
- const normalizeCountry = (value) => {
363
- const v = (value || '').toString().trim().toUpperCase();
364
- if (v === 'US' || v === 'USA' || v === exports.CountryCode.USA)
365
- return exports.CountryCode.USA;
366
- if (v === 'CA' || v === 'CAN' || v === exports.CountryCode.CAN)
367
- return exports.CountryCode.CAN;
368
- return exports.CountryCode.USA;
369
- };
370
88
  exports.BusinessFormServerErrors = void 0;
371
89
  (function (BusinessFormServerErrors) {
372
90
  BusinessFormServerErrors["fetchData"] = "Error retrieving business data";
@@ -390,8 +108,8 @@ class Address {
390
108
  this.line2 = address.line2;
391
109
  this.postal_code = address.postal_code;
392
110
  this.city = address.city;
393
- this.state = getStateAbbreviation(address.state);
394
- this.country = normalizeCountry(address.country);
111
+ this.state = helpers.getStateAbbreviation(address.state);
112
+ this.country = address.country || 'USA';
395
113
  this.created_at = address.created_at;
396
114
  this.updated_at = address.updated_at;
397
115
  }
@@ -440,7 +158,6 @@ class CoreBusinessInfo {
440
158
  this.doing_business_as = coreBusinessInfo.doing_business_as;
441
159
  this.industry = coreBusinessInfo.industry;
442
160
  this.tax_id = coreBusinessInfo.tax_id;
443
- this.tax_id_last4 = coreBusinessInfo.tax_id_last4;
444
161
  this.website_url = coreBusinessInfo.website_url;
445
162
  this.email = coreBusinessInfo.email;
446
163
  this.phone = coreBusinessInfo.phone;
@@ -487,12 +204,10 @@ class Business {
487
204
  ? new Representative(business.representative)
488
205
  : null;
489
206
  this.tax_id = business.tax_id;
490
- this.tax_id_last4 = business.tax_id_last4;
491
207
  this.terms_conditions_accepted = business.terms_conditions_accepted;
492
208
  this.updated_at = business.updated_at;
493
209
  this.website_url = business.website_url;
494
210
  this.date_of_incorporation = business.date_of_incorporation;
495
- this.country_of_establishment = normalizeCountry(business.country_of_establishment);
496
211
  }
497
212
  get payload() {
498
213
  return {
@@ -510,10 +225,8 @@ class Business {
510
225
  platform_account_id: this.platform_account_id || '',
511
226
  representative: new Representative(this.representative).payload,
512
227
  tax_id: this.tax_id || '',
513
- tax_id_last4: this.tax_id_last4 || '',
514
228
  website_url: this.website_url || '',
515
229
  date_of_incorporation: this.date_of_incorporation || '',
516
- country_of_establishment: this.country_of_establishment || exports.CountryCode.USA,
517
230
  };
518
231
  }
519
232
  }
@@ -524,6 +237,3 @@ exports.Business = Business;
524
237
  exports.CoreBusinessInfo = CoreBusinessInfo;
525
238
  exports.Owner = Owner;
526
239
  exports.Representative = Representative;
527
- exports.StateOptions = StateOptions;
528
- exports.checkProvisioningStatus = checkProvisioningStatus;
529
- exports.deconstructDate = deconstructDate;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var utils = require('./utils-ChCUZgUy.js');
3
+ var utils = require('./utils-Bab-tddY.js');
4
4
  var Dispute = require('./Dispute-CruQTF6_.js');
5
5
 
6
6
  class Completion {
@@ -118,7 +118,7 @@ var PaymentTypes;
118
118
  PaymentTypes["bankAccount"] = "ACH";
119
119
  PaymentTypes["unknown"] = "Unknown";
120
120
  })(PaymentTypes || (PaymentTypes = {}));
121
- var PaymentStatuses;
121
+ exports.PaymentStatuses = void 0;
122
122
  (function (PaymentStatuses) {
123
123
  PaymentStatuses["pending"] = "pending";
124
124
  PaymentStatuses["automatic"] = "automatic";
@@ -129,7 +129,7 @@ var PaymentStatuses;
129
129
  PaymentStatuses["disputed"] = "disputed";
130
130
  PaymentStatuses["fully_refunded"] = "fully_refunded";
131
131
  PaymentStatuses["partially_refunded"] = "partially_refunded";
132
- })(PaymentStatuses || (PaymentStatuses = {}));
132
+ })(exports.PaymentStatuses || (exports.PaymentStatuses = {}));
133
133
  var CurrencyTypes;
134
134
  (function (CurrencyTypes) {
135
135
  CurrencyTypes["usd"] = "usd";
@@ -376,6 +376,7 @@ exports.ITerminalStatus = void 0;
376
376
  ITerminalStatus["disconnected"] = "disconnected";
377
377
  ITerminalStatus["unknown"] = "unknown";
378
378
  ITerminalStatus["pending_configuration"] = "pending_configuration";
379
+ ITerminalStatus["archived"] = "archived";
379
380
  })(exports.ITerminalStatus || (exports.ITerminalStatus = {}));
380
381
  var TerminalProviders;
381
382
  (function (TerminalProviders) {
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CaAefsWD.js');
4
- var utils$1 = require('./utils-C6mfHWv-.js');
5
- var utils = require('./utils-ChCUZgUy.js');
6
- require('./parts-9jMf1erK.js');
3
+ var index = require('./index-Bhtk1qkX.js');
4
+ var utils$1 = require('./utils-CUcA4G_O.js');
5
+ var utils = require('./utils-Bab-tddY.js');
6
+ require('./parts-Pb06tUMp.js');
7
7
  require('./dinero-BwNN_k7x.js');
8
8
 
9
9
  const AdditionalQuestionsDetails = class {
@@ -13,7 +13,7 @@ const AdditionalQuestionsDetails = class {
13
13
  render() {
14
14
  if (!this.additionalQuestions || utils.isEmptyObject(this.additionalQuestions))
15
15
  return null;
16
- return (index.h("div", null, index.h(utils$1.DetailSectionTitle, { sectionTitle: "Additional Questions" }), index.h("div", { class: "d-table gap-2 w-100 mt-3" }, index.h("div", { class: "row gy-3" }, index.h("div", { class: "col-12 col-md-6" }, index.h(utils$1.DetailItem, { title: "Business Revenue", value: this.additionalQuestions.business_revenue }), index.h(utils$1.DetailItem, { title: "Business Payment Volume", value: this.additionalQuestions.business_payment_volume }))))));
16
+ return (index.h("div", null, index.h(utils$1.DetailSectionTitle, { sectionTitle: "Additional Questions" }), index.h("div", { class: "d-flex flex-column gap-2 w-100 mt-3" }, index.h("div", { class: "row gy-3" }, index.h("div", { class: "col-12 col-md-6" }, index.h(utils$1.DetailItem, { title: "Business Revenue", value: this.additionalQuestions.business_revenue }), index.h(utils$1.DetailItem, { title: "Business Payment Volume", value: this.additionalQuestions.business_payment_volume }))))));
17
17
  }
18
18
  };
19
19
 
@@ -49,13 +49,14 @@ const OwnerDetails = class {
49
49
  var _a;
50
50
  if (!((_a = this === null || this === void 0 ? void 0 : this.owners) === null || _a === void 0 ? void 0 : _a.length))
51
51
  return null;
52
- return (index.h(index.Host, null, !!(this === null || this === void 0 ? void 0 : this.owners.length) && (this.owners.map(owner => {
53
- var _a, _b, _c, _d, _e;
54
- return [
55
- index.h(utils$1.DetailSectionTitle, { sectionTitle: `Owner ${owner === null || owner === void 0 ? void 0 : owner.name}'s Details` }),
56
- index.h("div", { class: "d-table gap-2 w-100 mt-3" }, index.h(utils$1.DetailItem, { title: "Name", value: owner === null || owner === void 0 ? void 0 : owner.name }), index.h(utils$1.DetailItem, { title: "Title", value: owner === null || owner === void 0 ? void 0 : owner.title }), index.h(utils$1.DetailItem, { title: "Email", value: owner === null || owner === void 0 ? void 0 : owner.email }), index.h(utils$1.DetailItem, { title: "Phone", value: owner === null || owner === void 0 ? void 0 : owner.phone }), index.h(utils$1.DetailItem, { title: "Date of Birth", value: utils.formatMediumDate(new Date(Number(owner === null || owner === void 0 ? void 0 : owner.dob_day), Number(owner === null || owner === void 0 ? void 0 : owner.dob_month), Number(owner === null || owner === void 0 ? void 0 : owner.dob_year))) }), index.h(utils$1.DetailItem, { title: "Identification Number", value: `********${owner === null || owner === void 0 ? void 0 : owner.ssn_last4}` }), index.h(utils$1.DetailItem, { title: "Line 1", value: (_a = owner === null || owner === void 0 ? void 0 : owner.address) === null || _a === void 0 ? void 0 : _a.line1 }), index.h(utils$1.DetailItem, { title: "Line 2", value: (_b = owner === null || owner === void 0 ? void 0 : owner.address) === null || _b === void 0 ? void 0 : _b.line2 }), index.h(utils$1.DetailItem, { title: "City", value: (_c = owner === null || owner === void 0 ? void 0 : owner.address) === null || _c === void 0 ? void 0 : _c.city }), index.h(utils$1.DetailItem, { title: "State", value: (_d = owner === null || owner === void 0 ? void 0 : owner.address) === null || _d === void 0 ? void 0 : _d.state }), index.h(utils$1.DetailItem, { title: "Zip", value: (_e = owner === null || owner === void 0 ? void 0 : owner.address) === null || _e === void 0 ? void 0 : _e.postal_code }))
57
- ];
58
- }))));
52
+ return (index.h(index.Host, null, !!(this === null || this === void 0 ? void 0 : this.owners.length) &&
53
+ this.owners.map((owner) => {
54
+ var _a, _b, _c, _d, _e;
55
+ return [
56
+ index.h(utils$1.DetailSectionTitle, { sectionTitle: `Owner ${owner === null || owner === void 0 ? void 0 : owner.name}'s Details` }),
57
+ index.h("div", { class: "d-flex flex-column gap-2 w-100 mt-3" }, index.h("div", { class: "col-md-6" }, index.h(utils$1.DetailItem, { title: "Name", value: owner === null || owner === void 0 ? void 0 : owner.name }), index.h(utils$1.DetailItem, { title: "Title", value: owner === null || owner === void 0 ? void 0 : owner.title }), index.h(utils$1.DetailItem, { title: "Email", value: owner === null || owner === void 0 ? void 0 : owner.email }), index.h(utils$1.DetailItem, { title: "Phone", value: owner === null || owner === void 0 ? void 0 : owner.phone }), index.h(utils$1.DetailItem, { title: "Date of Birth", value: utils.formatMediumDate(new Date(Number(owner === null || owner === void 0 ? void 0 : owner.dob_day), Number(owner === null || owner === void 0 ? void 0 : owner.dob_month), Number(owner === null || owner === void 0 ? void 0 : owner.dob_year))) }), index.h(utils$1.DetailItem, { title: "Identification Number", value: `********${owner === null || owner === void 0 ? void 0 : owner.ssn_last4}` }), index.h(utils$1.DetailItem, { title: "Line 1", value: (_a = owner === null || owner === void 0 ? void 0 : owner.address) === null || _a === void 0 ? void 0 : _a.line1 }), index.h(utils$1.DetailItem, { title: "Line 2", value: (_b = owner === null || owner === void 0 ? void 0 : owner.address) === null || _b === void 0 ? void 0 : _b.line2 }), index.h(utils$1.DetailItem, { title: "City", value: (_c = owner === null || owner === void 0 ? void 0 : owner.address) === null || _c === void 0 ? void 0 : _c.city }), index.h(utils$1.DetailItem, { title: "State", value: (_d = owner === null || owner === void 0 ? void 0 : owner.address) === null || _d === void 0 ? void 0 : _d.state }), index.h(utils$1.DetailItem, { title: "Zip", value: (_e = owner === null || owner === void 0 ? void 0 : owner.address) === null || _e === void 0 ? void 0 : _e.postal_code }))),
58
+ ];
59
+ })));
59
60
  }
60
61
  };
61
62
 
@@ -67,7 +68,7 @@ const JustifiRepresentativeDetails = class {
67
68
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
68
69
  if (!this.representative || utils.isEmptyObject(this.representative))
69
70
  return null;
70
- return (index.h("div", null, index.h(utils$1.DetailSectionTitle, { sectionTitle: "Representative Details" }), index.h("div", { class: "d-table gap-2 w-100 mt-3" }, index.h("div", { class: "row gy-3" }, index.h("div", { class: "col-12 col-md-6" }, index.h(utils$1.DetailItem, { title: "Name", value: (_a = this.representative) === null || _a === void 0 ? void 0 : _a.name }), index.h(utils$1.DetailItem, { title: "ID", value: (_b = this.representative) === null || _b === void 0 ? void 0 : _b.id }), index.h(utils$1.DetailItem, { title: "Address", value: (_d = (_c = this.representative) === null || _c === void 0 ? void 0 : _c.address) === null || _d === void 0 ? void 0 : _d.line1 }), index.h(utils$1.DetailItem, { title: "Created At", value: ((_e = this.representative) === null || _e === void 0 ? void 0 : _e.created_at) && utils.formatMediumDate((_f = this.representative) === null || _f === void 0 ? void 0 : _f.created_at) })), index.h("div", { class: "col-12 col-md-6" }, index.h(utils$1.DetailItem, { title: "Title", value: (_g = this.representative) === null || _g === void 0 ? void 0 : _g.title }), index.h(utils$1.DetailItem, { title: "Is Owner?", value: (_h = this.representative) === null || _h === void 0 ? void 0 : _h.is_owner.toString() }), index.h(utils$1.DetailItem, { title: "Date Of Birth", value: this.representative && utils.formatMediumDate(new Date(Number((_j = this.representative) === null || _j === void 0 ? void 0 : _j.dob_year), Number((_k = this.representative) === null || _k === void 0 ? void 0 : _k.dob_month) - 1, Number((_l = this.representative) === null || _l === void 0 ? void 0 : _l.dob_day))) }), index.h(utils$1.DetailItem, { title: "Email", value: (_m = this.representative) === null || _m === void 0 ? void 0 : _m.email }), index.h(utils$1.DetailItem, { title: "Phone", value: (_o = this.representative) === null || _o === void 0 ? void 0 : _o.phone }), index.h(utils$1.DetailItem, { title: "Updated At", value: this.representative && utils.formatMediumDate((_p = this.representative) === null || _p === void 0 ? void 0 : _p.updated_at) }))))));
71
+ return (index.h("div", null, index.h(utils$1.DetailSectionTitle, { sectionTitle: "Representative Details" }), index.h("div", { class: "d-flex flex-column gap-2 w-100 mt-3" }, index.h("div", { class: "row gy-3" }, index.h("div", { class: "col-12 col-md-6" }, index.h(utils$1.DetailItem, { title: "Name", value: (_a = this.representative) === null || _a === void 0 ? void 0 : _a.name }), index.h(utils$1.DetailItem, { title: "ID", value: (_b = this.representative) === null || _b === void 0 ? void 0 : _b.id }), index.h(utils$1.DetailItem, { title: "Address", value: (_d = (_c = this.representative) === null || _c === void 0 ? void 0 : _c.address) === null || _d === void 0 ? void 0 : _d.line1 }), index.h(utils$1.DetailItem, { title: "Created At", value: ((_e = this.representative) === null || _e === void 0 ? void 0 : _e.created_at) && utils.formatMediumDate((_f = this.representative) === null || _f === void 0 ? void 0 : _f.created_at) })), index.h("div", { class: "col-12 col-md-6" }, index.h(utils$1.DetailItem, { title: "Title", value: (_g = this.representative) === null || _g === void 0 ? void 0 : _g.title }), index.h(utils$1.DetailItem, { title: "Is Owner?", value: (_h = this.representative) === null || _h === void 0 ? void 0 : _h.is_owner.toString() }), index.h(utils$1.DetailItem, { title: "Date Of Birth", value: this.representative && utils.formatMediumDate(new Date(Number((_j = this.representative) === null || _j === void 0 ? void 0 : _j.dob_year), Number((_k = this.representative) === null || _k === void 0 ? void 0 : _k.dob_month) - 1, Number((_l = this.representative) === null || _l === void 0 ? void 0 : _l.dob_day))) }), index.h(utils$1.DetailItem, { title: "Email", value: (_m = this.representative) === null || _m === void 0 ? void 0 : _m.email }), index.h(utils$1.DetailItem, { title: "Phone", value: (_o = this.representative) === null || _o === void 0 ? void 0 : _o.phone }), index.h(utils$1.DetailItem, { title: "Updated At", value: this.representative && utils.formatMediumDate((_p = this.representative) === null || _p === void 0 ? void 0 : _p.updated_at) }))))));
71
72
  }
72
73
  };
73
74
 
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CaAefsWD.js');
4
- var parts = require('./parts-9jMf1erK.js');
3
+ var index = require('./index-Bhtk1qkX.js');
4
+ var parts = require('./parts-Pb06tUMp.js');
5
5
 
6
6
  exports.BadgeVariant = void 0;
7
7
  (function (BadgeVariant) {
@@ -0,0 +1,112 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-Bhtk1qkX.js');
4
+ require('./config-state-C7babhLh.js');
5
+ require('./dinero-BwNN_k7x.js');
6
+ require('./ComponentError-D4OLnOkg.js');
7
+ var Refund = require('./Refund-BnhHNKLz.js');
8
+ require('./Pagination-Dediz133.js');
9
+ require('./Business-DCRzZf0w.js');
10
+ require('./Dispute-CruQTF6_.js');
11
+ var businessFormOptions = require('./business-form-options-CMII7nIK.js');
12
+ require('./event-types-DNOUef41.js');
13
+ var utils = require('./utils-DAyWinG2.js');
14
+ var utils$1 = require('./utils-Bab-tddY.js');
15
+ var parts = require('./parts-Pb06tUMp.js');
16
+ var skeleton = require('./skeleton-BvdAh448.js');
17
+ require('./event-types-YOY5TKUN.js');
18
+ var formControlErrorText = require('./form-control-error-text-BnMWn8U_.js');
19
+ require('./index-CWM5ions.js');
20
+ require('./helpers-B5OCqlIM.js');
21
+ require('./state-options-CIT9xdTz.js');
22
+
23
+ const BankAccountDocumentFormInputs = class {
24
+ constructor(hostRef) {
25
+ index.registerInstance(this, hostRef);
26
+ }
27
+ render() {
28
+ return (index.h("div", { key: 'c62d858a070a4611bead814bacd350e7faa4b400', class: "row gy-3" }, index.h("div", { key: '0044e508f449953f9da16907d1a141a0b4b42f1f', class: "col-12" }, index.h("form-control-file", { key: 'add74fc5424ffdb64dbae5b2e0dddde39544e5e3', name: "voided_check", label: "Voided Check", documentType: Refund.EntityDocumentType.voidedCheck, inputHandler: this.inputHandler, onFileSelected: this.storeFiles, errorText: this.errors["voided_check"], multiple: true })), index.h("div", { key: '0d69209999cb8ded788a12ac3bd46360a73b1443', class: "col-12" }, index.h("form-control-file", { key: '73cf74f2a2cd19db35ac9e5191cb59a99098806b', name: "bank_statement", label: "Bank Statement", documentType: Refund.EntityDocumentType.bankStatement, inputHandler: this.inputHandler, onFileSelected: this.storeFiles, errorText: this.errors["bank_statement"], multiple: true }))));
29
+ }
30
+ };
31
+
32
+ const BankAccountFormInputs = class {
33
+ constructor(hostRef) {
34
+ index.registerInstance(this, hostRef);
35
+ }
36
+ render() {
37
+ return (index.h("div", { key: '1628c5430b9235c9e03eff78ccdbf9af49c7f455', class: "row gy-3" }, index.h("div", { key: 'c4af1f6adcf00c67cfc1c3e962ba716c471f8176', class: "col-12" }, index.h("form-control-text", { key: '3cb9addf2e55fb8d7f653621d3adccf17ff0bc3d', name: "bank_name", label: "Bank Name", defaultValue: this.defaultValue.bank_name, errorText: this.errors.bank_name, inputHandler: this.inputHandler, disabled: this.formDisabled })), index.h("div", { key: '1eb8b918e676b267caa0c8808a4dbde740ca46df', class: "col-12" }, index.h("form-control-text", { key: 'e540eeac2975e58fb5a28dc670441babdc62f857', name: "nickname", label: "Nickname", defaultValue: this.defaultValue.nickname, errorText: this.errors.nickname, inputHandler: this.inputHandler, disabled: this.formDisabled })), index.h("div", { key: '102078fb6d9bc409abe06d7ef4d3bbc11edc1f7a', class: "col-12" }, index.h("form-control-text", { key: '51f7801dab1d69ea38891e5b31c3c23166d2bdc6', name: "account_owner_name", label: "Account Owner Name", defaultValue: this.defaultValue.account_owner_name, errorText: this.errors.account_owner_name, inputHandler: this.inputHandler, disabled: this.formDisabled })), index.h("div", { key: '66d068a5c05b643e03f45f6cdb0a4f76720d5832', class: "col-12" }, index.h("form-control-select", { key: '5fa5b53dc35132b0d4948d8ca857563e726599bb', name: "account_type", label: "Account Type", options: businessFormOptions.bankAccountTypeOptions, defaultValue: this.defaultValue.account_type, errorText: this.errors.account_type, inputHandler: this.inputHandler, disabled: this.formDisabled })), index.h("div", { key: '522d348ea1460b7d645028a5174fce5bd6704adb', class: "col-12" }, index.h("form-control-text", { key: 'b2f3c8f097c5f0956252ada807f75d80f0c20225', name: "account_number", label: "Account Number", defaultValue: this.defaultValue.account_number, maxLength: 17, errorText: this.errors.account_number, inputHandler: this.inputHandler, keyDownHandler: utils.numberOnlyHandler, disabled: this.formDisabled, helpText: "Please copy the account number as shown on your statement/check. Do not include spaces or dashes." })), index.h("div", { key: '627bfec99086214dad9f938a7c6f6650bb1023b8', class: "col-12" }, index.h("form-control-text", { key: 'a21cff4dbcbfb85dc851f1905a0dbeb99df81325', name: "routing_number", label: "Routing Number", defaultValue: this.defaultValue.routing_number, maxLength: 9, errorText: this.errors.routing_number, inputHandler: this.inputHandler, keyDownHandler: utils.numberOnlyHandler, disabled: this.formDisabled, helpText: "A valid routing number is nine digits. Please include any leading or trailing zeroes." }))));
38
+ }
39
+ };
40
+
41
+ const BusinessDocumentsOnFile = class {
42
+ constructor(hostRef) {
43
+ index.registerInstance(this, hostRef);
44
+ this.documents = [];
45
+ this.isLoading = false;
46
+ }
47
+ render() {
48
+ if (this.isLoading) {
49
+ return index.h(skeleton.Skeleton, { height: "50px" });
50
+ }
51
+ if (!this.documents.length) {
52
+ return null;
53
+ }
54
+ return (index.h(index.Host, null, index.h("div", { class: "card", part: parts.card }, index.h("div", { class: "card-body" }, index.h("h5", { class: "card-title", part: parts.heading2 }, "Documents Already on File"), index.h("div", { class: "table-responsive" }, index.h("table", { class: "table table-sm table-borderless", part: parts.table }, index.h("thead", null, index.h("tr", null, index.h("th", { style: { width: "25%" }, part: parts.tableHeadCell, scope: "col" }, "File Name"), index.h("th", { style: { width: "25%" }, part: parts.tableHeadCell, scope: "col" }, "File Type"), index.h("th", { style: { width: "25%" }, part: parts.tableHeadCell, scope: "col" }, "Document Type"), index.h("th", { style: { width: "25%" }, part: parts.tableHeadCell, scope: "col" }, "Date Uploaded"))), index.h("tbody", null, this.documents.sort((a, b) => a.document_type.localeCompare(b.document_type))
55
+ .map((document, index$1) => {
56
+ return (index.h("tr", { class: index$1 === 0 ? "border-bottom border-top" : "border-bottom" }, index.h("td", { part: parts.tableCell }, document.file_name), index.h("td", { part: parts.tableCell }, document.file_type), index.h("td", { part: parts.tableCell }, utils$1.snakeCaseToHumanReadable(document.document_type)), index.h("td", { part: parts.tableCell }, `${utils$1.formatDate(document.created_at)} - ${utils$1.formatTimeSeconds(document.created_at)}`)));
57
+ })))))), index.h("hr", null)));
58
+ }
59
+ };
60
+
61
+ const FileInput = class {
62
+ constructor(hostRef) {
63
+ index.registerInstance(this, hostRef);
64
+ this.formControlInput = index.createEvent(this, "formControlInput");
65
+ this.formControlBlur = index.createEvent(this, "formControlBlur");
66
+ this.fileSelected = index.createEvent(this, "fileSelected");
67
+ this.isFocused = false;
68
+ this.handleFormControlInput = (event) => {
69
+ const target = event.target;
70
+ const name = target.getAttribute('name');
71
+ this.inputHandler(name, target.value);
72
+ this.formControlInput.emit({ name, value: target.value });
73
+ };
74
+ this.changeHandler = () => {
75
+ const inputFileList = this.fileInput.files;
76
+ if (inputFileList) {
77
+ this.fileSelected.emit({
78
+ fileList: inputFileList,
79
+ document_type: this.documentType
80
+ });
81
+ }
82
+ };
83
+ }
84
+ componentDidLoad() {
85
+ this.fileInput = this.el.querySelector('input');
86
+ }
87
+ get part() {
88
+ let part = parts.input;
89
+ if (this.errorText) {
90
+ part = parts.inputInvalid;
91
+ }
92
+ if (this.disabled) {
93
+ part = parts.inputDisabled;
94
+ }
95
+ if (this.isFocused) {
96
+ part = parts.inputFocused;
97
+ }
98
+ return part;
99
+ }
100
+ render() {
101
+ return (index.h(index.Host, { key: '1c348aaabc1d1defcd6b43857d5f96c65081480a' }, index.h("div", { key: 'c4242a743ad5ad7dbd4ea33d94209f9e1f32a54b', class: "form-group d-flex flex-column" }, index.h("div", { key: 'fe9c313899afb870878f0b93c9d424efb4243bdf', class: "d-flex align-items-start gap-2" }, index.h("label", { key: '8229509739e4641da66d6ada865dd96d193c5189', part: parts.label, class: "form-label", htmlFor: this.name }, this.label), index.h("form-control-tooltip", { key: 'cf9773e27c5e9af5f8dd1824dc4cc599ced525d2', helpText: this.helpText })), index.h("input", { key: '0de93e1cd1d87922682c6bdbc9d55f648659eeb9', ref: (el) => this.fileInput = el, type: "file", name: this.name, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onChange: this.changeHandler, onInput: this.handleFormControlInput, onFocus: () => this.isFocused = true, onBlur: () => {
102
+ this.isFocused = false;
103
+ this.formControlBlur.emit();
104
+ } }), index.h(formControlErrorText.FormControlErrorText, { key: '0215ddf922a8f33ff7001ac2036a8f22a399266e', errorText: this.errorText, name: this.name }))));
105
+ }
106
+ get el() { return index.getElement(this); }
107
+ };
108
+
109
+ exports.bank_account_document_form_inputs = BankAccountDocumentFormInputs;
110
+ exports.bank_account_form_inputs = BankAccountFormInputs;
111
+ exports.business_documents_on_file = BusinessDocumentsOnFile;
112
+ exports.form_control_file = FileInput;
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CaAefsWD.js');
4
- var skeleton = require('./skeleton-DlPP4i_w.js');
5
- var configState = require('./config-state-BeZM7X7J.js');
6
- var utils = require('./utils-ChCUZgUy.js');
7
- require('./parts-9jMf1erK.js');
8
- require('./index-D-CfIyoF.js');
3
+ var index = require('./index-Bhtk1qkX.js');
4
+ var skeleton = require('./skeleton-BvdAh448.js');
5
+ var configState = require('./config-state-C7babhLh.js');
6
+ var utils = require('./utils-Bab-tddY.js');
7
+ require('./parts-Pb06tUMp.js');
8
+ require('./index-CWM5ions.js');
9
9
  require('./dinero-BwNN_k7x.js');
10
10
 
11
11
  const BankAccountFormSkeleton = (props) => {
@@ -48,10 +48,10 @@ const BankAccountForm = class {
48
48
  return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
49
49
  }
50
50
  render() {
51
- return (index.h(index.Host, { key: '3176dc188869e5b233095a9cbbf0309b92445ee1' }, index.h(BankAccountFormSkeleton, { key: '192ba2270459bf2da49473095f5b7038b220e9c3', isReady: this.isReady }), index.h("div", { key: '9304caeb4d54ba9f33850849352ab344cdbce2c4', class: "container-fluid p-0", style: {
51
+ return (index.h(index.Host, { key: '75a85f7b9ea4bf40b486706bce4b142821bf9f00' }, index.h(BankAccountFormSkeleton, { key: 'ce957273b6ac57f4f0c636622cc9578582ceff43', isReady: this.isReady }), index.h("div", { key: 'd269050f0fc66d7000096ccfb72a075342e0e91a', class: "container-fluid p-0", style: {
52
52
  opacity: this.isReady ? '1' : '0',
53
53
  height: this.isReady ? 'auto' : '0',
54
- } }, index.h("div", { key: 'fa7880671ebd1972ff7224c6b70b4fee7e626fe2', class: "row mb-3" }, index.h("iframe-input", { key: 'd59e0c2ebb8dd89f60ef33a6c4b26b2e09cd09af', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber?tabId=${this.tabId}` })), index.h("div", { key: '78cf00f1340bff12dfd40e62a1f5307adb49567d', class: "row" }, index.h("iframe-input", { key: 'f6098a33489f1fbfdb2c52644d77218c53f9e243', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber?tabId=${this.tabId}` })))));
54
+ } }, index.h("div", { key: '87285840b03837b7f12922257d6c8ca171db2d7d', class: "row mb-3" }, index.h("iframe-input", { key: 'd0ad5b047f1a4e51936ce79edc2d195bd781e4b2', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber?tabId=${this.tabId}` })), index.h("div", { key: 'eee0c473f0add87e7842a0a1f24bdd999fe21a77', class: "row" }, index.h("iframe-input", { key: 'dfaa618afdffabe07a290cdfe63c6f06b38f8ecf', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber?tabId=${this.tabId}` })))));
55
55
  }
56
56
  };
57
57