@justifi/webcomponents 5.7.3-rc-01 → 5.7.3-rc-02

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 (456) hide show
  1. package/dist/cjs/{Checkout-BsYZoJ0a.js → Checkout-BTgAlgVL.js} +3 -3
  2. package/dist/cjs/{Refund-BDFOEJv_.js → Refund-BFE-2OxN.js} +56 -0
  3. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +3 -4
  4. package/dist/cjs/{justifi-bank-account-form.cjs.entry.js → bank-account-form.cjs.entry.js} +8 -30
  5. package/dist/cjs/{business-additional-questions-schema-CHOaeZot.js → business-additional-questions-schema-e3GCIHk5.js} +6 -6
  6. package/dist/cjs/{business-identity-schema-DmpEndsx.js → business-identity-schema-Diqj_WVQ.js} +10 -10
  7. package/dist/cjs/{business.service-ev-3rHag.js → business.service-DNoCHqtI.js} +2 -3
  8. package/dist/cjs/{justifi-card-form.cjs.entry.js → card-form.cjs.entry.js} +9 -31
  9. package/dist/cjs/{Analytics-DYN4hp2b.js → check-pkg-version-CgQ8N_ta.js} +22 -23
  10. package/dist/cjs/{checkout.service-D4hTYr1i.js → checkout.service-C3R0uykH.js} +2 -3
  11. package/dist/cjs/checkouts-list-core.cjs.entry.js +2 -3
  12. package/dist/cjs/{custom-popper_4.cjs.entry.js → custom-popper_2.cjs.entry.js} +0 -100
  13. package/dist/cjs/{dispute.service-Dru9NStj.js → dispute.service-CaA-mq-i.js} +2 -3
  14. package/dist/cjs/form-control-select_2.cjs.entry.js +105 -0
  15. package/dist/cjs/{get-payment-details-AOibpML7.js → get-payment-details-CnPsEZA8.js} +2 -3
  16. package/dist/cjs/{get-subaccounts-Dw7CbPDi.js → get-subaccounts-CgOAdXG4.js} +2 -3
  17. package/dist/cjs/hidden-input_2.cjs.entry.js +1 -1
  18. package/dist/cjs/{form-CWW8IM-X.js → index.esm-CVuJLXJZ.js} +10022 -10022
  19. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +49 -23
  20. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +9 -10
  21. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +34 -34
  22. package/dist/cjs/justifi-bank-account-form_4.cjs.entry.js +234 -0
  23. package/dist/cjs/{justifi-billing-information-form.cjs.entry.js → justifi-billing-information-form_2.cjs.entry.js} +58 -6
  24. package/dist/cjs/justifi-business-details.cjs.entry.js +7 -8
  25. package/dist/cjs/justifi-business-form.cjs.entry.js +13 -14
  26. package/dist/cjs/justifi-checkout-core.cjs.entry.js +1 -1
  27. package/dist/cjs/{justifi-modular-checkout.cjs.entry.js → justifi-checkout-summary_2.cjs.entry.js} +23 -11
  28. package/dist/cjs/justifi-checkout.cjs.entry.js +92 -48
  29. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +2 -3
  30. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +8 -9
  31. package/dist/cjs/justifi-dispute-management.cjs.entry.js +7 -8
  32. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +7 -8
  33. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +6 -7
  34. package/dist/cjs/justifi-new-payment-method.cjs.entry.js +99 -0
  35. package/dist/cjs/justifi-order-terminals.cjs.entry.js +8 -9
  36. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +7 -8
  37. package/dist/cjs/justifi-payment-details.cjs.entry.js +8 -9
  38. package/dist/cjs/justifi-payment-method-options_3.cjs.entry.js +166 -0
  39. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +7 -8
  40. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +7 -8
  41. package/dist/cjs/justifi-payments-list.cjs.entry.js +7 -8
  42. package/dist/cjs/justifi-payout-details.cjs.entry.js +7 -8
  43. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +7 -8
  44. package/dist/cjs/justifi-payouts-list.cjs.entry.js +8 -9
  45. package/dist/cjs/justifi-refund-payment.cjs.entry.js +15 -16
  46. package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +32 -0
  47. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +2 -2
  48. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +7 -8
  49. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +2 -3
  50. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +7 -8
  51. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +2 -3
  52. package/dist/cjs/justifi-terminals-list.cjs.entry.js +8 -9
  53. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +6 -7
  54. package/dist/cjs/loader.cjs.js +1 -1
  55. package/dist/cjs/{package-DF9mLjoQ.js → package-wSbEFwqE.js} +1 -1
  56. package/dist/cjs/{payment.service-rsnscZu7.js → payment.service-C-HKmIG6.js} +2 -3
  57. package/dist/cjs/payments-list-core.cjs.entry.js +2 -3
  58. package/dist/cjs/{payout.service-BnmI3X4n.js → payout.service-BHU3EPR2.js} +2 -3
  59. package/dist/cjs/payouts-list-core.cjs.entry.js +2 -3
  60. package/dist/cjs/{schema-validations-C0BNwMBi.js → schema-validations-BSeMee-o.js} +31 -54
  61. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +3 -4
  62. package/dist/cjs/{terminal-orders-table-OxMHSAJ1.js → terminal-orders-table-C3KZTeE5.js} +2 -3
  63. package/dist/cjs/{terminal.service--PPaq5xS.js → terminal.service-Bc1YJWi0.js} +2 -3
  64. package/dist/cjs/terminals-list-core.cjs.entry.js +2 -3
  65. package/dist/cjs/webcomponents.cjs.js +1 -1
  66. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +1 -1
  67. package/dist/collection/components/business-forms/schemas/business-bank-account-schema.js +36 -8
  68. package/dist/collection/components/business-forms/schemas/schema-validations.js +1 -47
  69. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
  70. package/dist/collection/components/checkout/billing-form/billing-form.js +2 -5
  71. package/dist/collection/components/checkout/checkout.js +102 -37
  72. package/dist/collection/components/checkout/new-payment-method.js +2 -2
  73. package/dist/collection/components/checkout/payment-method-options.js +37 -26
  74. package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
  75. package/dist/collection/components/checkout/saved-payment-method.js +1 -1
  76. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +2 -2
  77. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +1 -2
  78. package/dist/collection/components/modular-checkout/modular-checkout.js +2 -2
  79. package/dist/docs.json +177 -203
  80. package/dist/esm/{Checkout-CV6qgU0r.js → Checkout-CH19cJxH.js} +3 -3
  81. package/dist/esm/{Refund-CwUn_GFj.js → Refund-BKe90wSq.js} +55 -1
  82. package/dist/esm/additional-questions-details_5.entry.js +2 -2
  83. package/dist/esm/{badge-D_Q0kAPD.js → badge-BoemLewg.js} +1 -1
  84. package/dist/esm/bank-account-document-form-inputs_4.entry.js +5 -6
  85. package/dist/{module/bank-account-form2.js → esm/bank-account-form.entry.js} +12 -36
  86. package/dist/esm/{business-additional-questions-schema-0lssJqN7.js → business-additional-questions-schema-uQlQ8fXQ.js} +2 -2
  87. package/dist/esm/business-details-core.entry.js +3 -3
  88. package/dist/esm/{business-identity-schema-Bel1K5mu.js → business-identity-schema-BsrgqgDl.js} +2 -2
  89. package/dist/esm/{business.service-BM8hLxHS.js → business.service-wY8gOZQr.js} +2 -3
  90. package/dist/esm/{button-BVAxQPpP.js → button-BcLzheaP.js} +1 -1
  91. package/dist/esm/{justifi-card-form.entry.js → card-form.entry.js} +12 -34
  92. package/dist/esm/{Analytics-DR277kvb.js → check-pkg-version-BmebRZ4u.js} +22 -23
  93. package/dist/esm/{checkout.service-CuCgG9hv.js → checkout.service-Ci9Zkxiz.js} +2 -3
  94. package/dist/esm/checkouts-list-core.entry.js +7 -8
  95. package/dist/esm/{checkouts-table-Cc6U-0md.js → checkouts-table-ub2cX2KR.js} +2 -2
  96. package/dist/esm/{custom-popper_4.entry.js → custom-popper_2.entry.js} +3 -101
  97. package/dist/esm/{dispute.service-rB4Hq6ot.js → dispute.service-D3IjL7Z8.js} +2 -3
  98. package/dist/esm/form-alert_5.entry.js +1 -1
  99. package/dist/esm/form-control-checkbox.entry.js +3 -3
  100. package/dist/esm/form-control-date.entry.js +2 -2
  101. package/dist/esm/{form-control-error-text-_SAT-ts2.js → form-control-error-text-C4vfc3el.js} +1 -1
  102. package/dist/esm/form-control-file-v2_2.entry.js +2 -2
  103. package/dist/esm/{form-control-help-text-Cjeu_VrV.js → form-control-help-text-Dsr1zpTw.js} +1 -1
  104. package/dist/esm/form-control-monetary-provisioning.entry.js +3 -3
  105. package/dist/esm/form-control-monetary.entry.js +3 -3
  106. package/dist/esm/form-control-number-masked_2.entry.js +2 -2
  107. package/dist/esm/form-control-number.entry.js +3 -3
  108. package/dist/esm/form-control-radio.entry.js +1 -1
  109. package/dist/esm/form-control-select_2.entry.js +102 -0
  110. package/dist/esm/{get-payment-details-DtkGDTwo.js → get-payment-details-CmVKt1jR.js} +2 -3
  111. package/dist/esm/{get-subaccounts-C-ENQBmY.js → get-subaccounts-BRX7HFGO.js} +2 -3
  112. package/dist/esm/gross-payment-chart-core.entry.js +3 -3
  113. package/dist/esm/{header-1-5FIT-wD7.js → header-1-CmImLcLi.js} +1 -1
  114. package/dist/esm/{header-3-Ce9WLWBm.js → header-3-BMoxz2Hr.js} +1 -1
  115. package/dist/esm/hidden-input_2.entry.js +3 -3
  116. package/dist/esm/{form-BjGUIqxU.js → index.esm-BCNUj0Dx.js} +10022 -10022
  117. package/dist/esm/{insurance-state-BcwZy_5w.js → insurance-state-DMexHdvO.js} +1 -1
  118. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +43 -17
  119. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +6 -7
  120. package/dist/esm/justifi-additional-statement_8.entry.js +2 -2
  121. package/dist/esm/justifi-bank-account-form_4.entry.js +229 -0
  122. package/dist/esm/justifi-billing-information-form_2.entry.js +100 -0
  123. package/dist/esm/justifi-business-details.entry.js +7 -8
  124. package/dist/esm/justifi-business-form.entry.js +13 -14
  125. package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
  126. package/dist/esm/justifi-checkout-core.entry.js +7 -7
  127. package/dist/esm/{justifi-modular-checkout.entry.js → justifi-checkout-summary_2.entry.js} +22 -11
  128. package/dist/esm/justifi-checkout.entry.js +91 -47
  129. package/dist/esm/justifi-checkouts-list-filters.entry.js +3 -4
  130. package/dist/esm/justifi-checkouts-list.entry.js +10 -11
  131. package/dist/esm/justifi-details.entry.js +2 -2
  132. package/dist/esm/justifi-dispute-management.entry.js +5 -6
  133. package/dist/esm/justifi-dispute-notification_3.entry.js +8 -9
  134. package/dist/esm/justifi-gross-payment-chart.entry.js +6 -7
  135. package/dist/esm/justifi-new-payment-method.entry.js +97 -0
  136. package/dist/esm/justifi-order-terminals.entry.js +8 -9
  137. package/dist/esm/justifi-owner-form_3.entry.js +8 -9
  138. package/dist/esm/justifi-payment-details.entry.js +8 -9
  139. package/dist/esm/justifi-payment-method-options_3.entry.js +162 -0
  140. package/dist/esm/justifi-payment-provisioning-core.entry.js +2 -2
  141. package/dist/esm/justifi-payment-provisioning.entry.js +5 -6
  142. package/dist/esm/justifi-payment-transactions-list.entry.js +8 -9
  143. package/dist/esm/justifi-payments-list-filters.entry.js +1 -1
  144. package/dist/esm/justifi-payments-list.entry.js +9 -10
  145. package/dist/esm/justifi-payout-details.entry.js +7 -8
  146. package/dist/esm/justifi-payout-transactions-list.entry.js +8 -9
  147. package/dist/esm/justifi-payouts-list-filters.entry.js +1 -1
  148. package/dist/esm/justifi-payouts-list.entry.js +10 -11
  149. package/dist/esm/justifi-refund-payment.entry.js +10 -11
  150. package/dist/esm/justifi-saved-payment-method.entry.js +30 -0
  151. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +5 -5
  152. package/dist/esm/justifi-season-interruption-insurance.entry.js +5 -6
  153. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +3 -4
  154. package/dist/esm/justifi-terminal-orders-list.entry.js +7 -8
  155. package/dist/esm/justifi-terminals-list-filters.entry.js +3 -4
  156. package/dist/esm/justifi-terminals-list.entry.js +9 -10
  157. package/dist/esm/justifi-tokenize-payment-method.entry.js +6 -7
  158. package/dist/esm/loader.js +1 -1
  159. package/dist/esm/{package-CyXXks-Q.js → package-CJdXAC5R.js} +1 -1
  160. package/dist/esm/pagination-menu.entry.js +1 -1
  161. package/dist/esm/{parts-_6eQgwfE.js → parts-C71Mxtso.js} +1 -1
  162. package/dist/esm/payment-details-core.entry.js +5 -5
  163. package/dist/esm/{payment.service-DoUv1QsX.js → payment.service-ddFQWXPn.js} +2 -3
  164. package/dist/esm/payments-list-core.entry.js +8 -9
  165. package/dist/esm/{payments-status-BeL2gi3P.js → payments-status-DvsFQolO.js} +1 -1
  166. package/dist/esm/{payments-table-MrDAlH2o.js → payments-table-CCKeaI5x.js} +2 -2
  167. package/dist/esm/payout-details-core.entry.js +6 -6
  168. package/dist/esm/{payout.service-B_Fm08zQ.js → payout.service-Ws4Pebcz.js} +2 -3
  169. package/dist/esm/payouts-list-core.entry.js +8 -9
  170. package/dist/esm/{payouts-status-BxbhUjA3.js → payouts-status-BkM4Gvme.js} +1 -1
  171. package/dist/esm/{payouts-table-HoX3UYIj.js → payouts-table-CqBOvPOo.js} +2 -2
  172. package/dist/esm/{schema-validations-DYV7urvw.js → schema-validations-DLWfpHyI.js} +2 -23
  173. package/dist/esm/{skeleton-CPNYhX-V.js → skeleton-BVM4XTj9.js} +1 -1
  174. package/dist/esm/{spinner-Cl-6YJPf.js → spinner-BsxFRVXW.js} +1 -1
  175. package/dist/esm/{table-RCk8zh4L.js → table-DxdC1lXb.js} +2 -2
  176. package/dist/esm/table-filters-menu.entry.js +2 -2
  177. package/dist/esm/terminal-orders-list-core.entry.js +7 -8
  178. package/dist/esm/{terminal-orders-table-DxHLNkx_.js → terminal-orders-table-DV7nRYuE.js} +4 -5
  179. package/dist/esm/terminal-quantity-selector.entry.js +1 -1
  180. package/dist/esm/{terminal.service-2VkdfNas.js → terminal.service-DH8gRG1H.js} +2 -3
  181. package/dist/esm/terminals-list-core.entry.js +7 -8
  182. package/dist/esm/{terminals-table-v-LOevYA.js → terminals-table-DUHel128.js} +2 -2
  183. package/dist/esm/{utils-1WrbuHVR.js → utils-B-aPFy3u.js} +1 -1
  184. package/dist/esm/webcomponents.js +1 -1
  185. package/dist/module/Analytics.js +0 -1
  186. package/dist/module/Refund.js +55 -1
  187. package/dist/module/bank-account-document-inputs.js +1 -2
  188. package/dist/module/bank-account-form.js +83 -1
  189. package/dist/{esm/justifi-bank-account-form.entry.js → module/bank-account.js} +44 -27
  190. package/dist/module/billing-form.js +25 -19
  191. package/dist/{esm/justifi-billing-information-form.entry.js → module/billing-form2.js} +61 -19
  192. package/dist/module/business-bank-account-form-step-core.js +37 -11
  193. package/dist/module/business-bank-account-form-step.js +0 -1
  194. package/dist/module/business-terms-conditions-form-step.js +1 -2
  195. package/dist/module/business.service.js +0 -1
  196. package/dist/module/button.js +1 -1
  197. package/dist/module/card-form.js +91 -1
  198. package/dist/module/card-form2.js +30 -15
  199. package/dist/module/checkout.service.js +0 -1
  200. package/dist/module/checkouts-list-core2.js +0 -1
  201. package/dist/module/dispute-response-actions.js +0 -1
  202. package/dist/module/form.js +1 -1
  203. package/dist/module/get-payment-details.js +0 -1
  204. package/dist/module/get-subaccounts.js +0 -1
  205. package/dist/module/header-3.js +8 -0
  206. package/dist/module/justifi-bank-account-form.js +1 -98
  207. package/dist/module/justifi-billing-information-form.js +1 -89
  208. package/dist/module/justifi-business-form.js +0 -1
  209. package/dist/module/justifi-card-form.js +1 -106
  210. package/dist/module/justifi-checkout-core.js +201 -1
  211. package/dist/module/justifi-checkout-summary.js +1 -32
  212. package/dist/module/justifi-checkout.js +104 -109
  213. package/dist/module/justifi-checkouts-list-filters.js +0 -1
  214. package/dist/module/justifi-checkouts-list.js +0 -1
  215. package/dist/module/justifi-gross-payment-chart.js +0 -1
  216. package/dist/module/justifi-modular-checkout.js +1 -214
  217. package/dist/module/justifi-new-payment-method.js +214 -1
  218. package/dist/module/justifi-order-terminals.js +2 -3
  219. package/dist/module/justifi-payment-provisioning.js +0 -1
  220. package/dist/module/justifi-payment-transactions-list.js +1 -2
  221. package/dist/module/justifi-payments-list.js +0 -1
  222. package/dist/module/justifi-payout-details.js +0 -1
  223. package/dist/module/justifi-payout-transactions-list.js +1 -2
  224. package/dist/module/justifi-payouts-list.js +0 -1
  225. package/dist/module/justifi-postal-code-form.js +1 -81
  226. package/dist/module/justifi-refund-payment.js +1 -2
  227. package/dist/module/justifi-saved-payment-method.js +57 -1
  228. package/dist/module/justifi-saved-payment-methods.js +1 -53
  229. package/dist/module/justifi-season-interruption-insurance.js +2 -4
  230. package/dist/module/justifi-sezzle-payment-method.js +1 -108
  231. package/dist/module/justifi-terminal-orders-list-filters.js +0 -1
  232. package/dist/module/justifi-terminal-orders-list.js +1 -2
  233. package/dist/module/justifi-terminals-list-filters.js +0 -1
  234. package/dist/module/justifi-terminals-list.js +1 -2
  235. package/dist/module/justifi-tokenize-payment-method.js +8 -75
  236. package/dist/module/modular-checkout.js +269 -0
  237. package/dist/module/package.js +1 -1
  238. package/dist/module/parts.js +1 -1
  239. package/dist/module/payment-method-options.js +27 -100
  240. package/dist/module/payment.service.js +0 -1
  241. package/dist/module/payments-list-core2.js +0 -1
  242. package/dist/module/payout.service.js +0 -1
  243. package/dist/module/payouts-list-core2.js +0 -1
  244. package/dist/module/postal-code-form.js +83 -0
  245. package/dist/module/save-new-payment-method.js +1 -1
  246. package/dist/module/saved-payment-methods.js +55 -0
  247. package/dist/module/schema-validations.js +2 -23
  248. package/dist/module/season-interruption-insurance-core.js +2 -2
  249. package/dist/{esm/justifi-sezzle-payment-method.entry.js → module/sezzle-payment-method.js} +46 -14
  250. package/dist/module/summary.js +34 -0
  251. package/dist/module/terminal-orders-list-core2.js +0 -1
  252. package/dist/module/terminal.service.js +0 -1
  253. package/dist/module/terminals-list-core2.js +0 -1
  254. package/dist/types/components/business-forms/schemas/schema-validations.d.ts +0 -7
  255. package/dist/types/components/checkout/checkout.d.ts +19 -9
  256. package/dist/types/components/checkout/payment-method-options.d.ts +2 -1
  257. package/dist/types/components/modular-checkout/modular-checkout.d.ts +1 -1
  258. package/dist/types/components.d.ts +5 -1
  259. package/dist/webcomponents/p-07e8c50a.entry.js +1 -0
  260. package/dist/webcomponents/{p-be51c7c5.entry.js → p-0d038c74.entry.js} +1 -1
  261. package/dist/webcomponents/p-0d24f707.entry.js +1 -0
  262. package/dist/webcomponents/p-0f07e5d2.entry.js +1 -0
  263. package/dist/webcomponents/{p-ff223825.entry.js → p-114d2d7e.entry.js} +1 -1
  264. package/dist/webcomponents/p-16c567ac.entry.js +1 -0
  265. package/dist/webcomponents/{p-20d7db42.entry.js → p-1debe4fc.entry.js} +1 -1
  266. package/dist/webcomponents/p-1tXUo5Ef.js +1 -0
  267. package/dist/webcomponents/{p-ce291c6a.entry.js → p-20ac139f.entry.js} +1 -1
  268. package/dist/webcomponents/{p-b3e6d27c.entry.js → p-28190487.entry.js} +1 -1
  269. package/dist/webcomponents/p-30b1b0d4.entry.js +1 -0
  270. package/dist/webcomponents/{p-1d64d86b.entry.js → p-31b3575b.entry.js} +1 -1
  271. package/dist/webcomponents/p-32d41de6.entry.js +1 -0
  272. package/dist/webcomponents/p-3523e4d2.entry.js +1 -0
  273. package/dist/webcomponents/p-3c172b0a.entry.js +1 -0
  274. package/dist/webcomponents/{p-5ea3cfca.entry.js → p-498ef7fe.entry.js} +1 -1
  275. package/dist/webcomponents/p-4cdc323c.entry.js +1 -0
  276. package/dist/webcomponents/p-54487455.entry.js +1 -0
  277. package/dist/webcomponents/p-55b2ccd4.entry.js +1 -0
  278. package/dist/webcomponents/p-56368e10.entry.js +1 -0
  279. package/dist/webcomponents/{p-712220f9.entry.js → p-62308de3.entry.js} +1 -1
  280. package/dist/webcomponents/p-655e9c99.entry.js +1 -0
  281. package/dist/webcomponents/p-6ae0dad9.entry.js +1 -0
  282. package/dist/webcomponents/p-6ed72565.entry.js +1 -0
  283. package/dist/webcomponents/{p-8532c68c.entry.js → p-7982b38b.entry.js} +1 -1
  284. package/dist/webcomponents/p-7efbe6e6.entry.js +1 -0
  285. package/dist/webcomponents/p-803b249d.entry.js +1 -0
  286. package/dist/webcomponents/p-819c5da9.entry.js +1 -0
  287. package/dist/webcomponents/p-85b73bd5.entry.js +1 -0
  288. package/dist/webcomponents/p-8a2d963a.entry.js +1 -0
  289. package/dist/webcomponents/p-90521984.entry.js +1 -0
  290. package/dist/webcomponents/p-93564eb7.entry.js +1 -0
  291. package/dist/webcomponents/p-95aada97.entry.js +1 -0
  292. package/dist/webcomponents/{p-df2ad580.entry.js → p-9a4b9734.entry.js} +1 -1
  293. package/dist/webcomponents/{p-BSUCBhkJ.js → p-B1jCcGW-.js} +1 -1
  294. package/dist/webcomponents/{p-CwHYDF33.js → p-BRvTM0jE.js} +1 -1
  295. package/dist/webcomponents/p-BZAglFez.js +1 -0
  296. package/dist/webcomponents/p-BdTK0wi9.js +1 -0
  297. package/dist/webcomponents/p-BeOlrj_S.js +1 -0
  298. package/dist/webcomponents/p-BjIcn6FF.js +1 -0
  299. package/dist/webcomponents/{p-B7VsiIW-.js → p-BvkP2v3x.js} +1 -1
  300. package/dist/webcomponents/{p-_6eQgwfE.js → p-C71Mxtso.js} +1 -1
  301. package/dist/webcomponents/{p-Ctw40vkk.js → p-C8EG4ZSX.js} +1 -1
  302. package/dist/webcomponents/p-C8rAwXW9.js +1 -0
  303. package/dist/webcomponents/p-CA9D3qnA.js +1 -0
  304. package/dist/webcomponents/p-CFpYbRwn.js +1 -0
  305. package/dist/webcomponents/p-CGCMYhyV.js +1 -0
  306. package/dist/webcomponents/p-CJdXAC5R.js +1 -0
  307. package/dist/webcomponents/p-CO90ONTY.js +1 -0
  308. package/dist/webcomponents/{p-Dw6NWKHn.js → p-Cl-Q3cHB.js} +1 -1
  309. package/dist/webcomponents/p-DFPGAF4g.js +1 -0
  310. package/dist/webcomponents/p-DHP6oxsO.js +1 -0
  311. package/dist/webcomponents/{p-D3SYNGyb.js → p-DLr6u3Be.js} +1 -1
  312. package/dist/webcomponents/p-DT6jDcoi.js +1 -0
  313. package/dist/webcomponents/p-DVnVdicA.js +1 -0
  314. package/dist/webcomponents/p-DX1Drndq.js +1 -0
  315. package/dist/webcomponents/p-Db-JSm6-.js +1 -0
  316. package/dist/webcomponents/p-Dc10zfEZ.js +1 -0
  317. package/dist/webcomponents/p-Dw516k9e.js +1 -0
  318. package/dist/webcomponents/p-DwxSNAz7.js +1 -0
  319. package/dist/webcomponents/{p-CnnRWu7z.js → p-Fa3dQnb9.js} +1 -1
  320. package/dist/webcomponents/p-IrS5pxMU.js +1 -0
  321. package/dist/webcomponents/p-JOSiCHl7.js +1 -0
  322. package/dist/webcomponents/p-RadC5UjV.js +1 -0
  323. package/dist/webcomponents/p-SuXHDcwL.js +1 -0
  324. package/dist/webcomponents/p-_P2I6GdZ.js +1 -0
  325. package/dist/webcomponents/p-a3245777.entry.js +1 -0
  326. package/dist/webcomponents/{p-f7e24a51.entry.js → p-a8f1165e.entry.js} +1 -1
  327. package/dist/webcomponents/p-abcde13f.entry.js +1 -0
  328. package/dist/webcomponents/{p-e563df65.entry.js → p-b0c7f45a.entry.js} +1 -1
  329. package/dist/webcomponents/p-b122d960.entry.js +1 -0
  330. package/dist/webcomponents/{p-f71b1ff0.entry.js → p-badf50e2.entry.js} +1 -1
  331. package/dist/webcomponents/p-be676a47.entry.js +1 -0
  332. package/dist/webcomponents/p-bf9afbe6.entry.js +1 -0
  333. package/dist/webcomponents/p-c1dabcc9.entry.js +20 -0
  334. package/dist/webcomponents/p-c4989fc1.entry.js +1 -0
  335. package/dist/webcomponents/p-c6f6cca0.entry.js +1 -0
  336. package/dist/webcomponents/{p-d82b509a.entry.js → p-cbfb26e2.entry.js} +1 -1
  337. package/dist/webcomponents/p-cc26a8fa.entry.js +1 -0
  338. package/dist/webcomponents/p-cc5dfa3d.entry.js +1 -0
  339. package/dist/webcomponents/{p-ef9dcfe1.entry.js → p-cc7d0b8c.entry.js} +1 -1
  340. package/dist/webcomponents/p-d039c1ea.entry.js +1 -0
  341. package/dist/webcomponents/p-d5f95784.entry.js +1 -0
  342. package/dist/webcomponents/p-d6tXI5Iw.js +1 -0
  343. package/dist/webcomponents/p-dad85acd.entry.js +1 -0
  344. package/dist/webcomponents/{p-3edd5ebd.entry.js → p-db13afe8.entry.js} +1 -1
  345. package/dist/webcomponents/{p-9a17fd5a.entry.js → p-dd5c8738.entry.js} +1 -1
  346. package/dist/webcomponents/{p-6b229318.entry.js → p-e2ac6f48.entry.js} +1 -1
  347. package/dist/webcomponents/{p-1ac365b4.entry.js → p-e2adbafd.entry.js} +1 -1
  348. package/dist/webcomponents/p-ea883d7c.entry.js +1 -0
  349. package/dist/webcomponents/{p-15c63931.entry.js → p-ed8eb110.entry.js} +1 -1
  350. package/dist/webcomponents/{p-e8294f7e.entry.js → p-f0a849be.entry.js} +1 -1
  351. package/dist/webcomponents/p-f165c5fc.entry.js +1 -0
  352. package/dist/webcomponents/p-f1dcc9c2.entry.js +1 -0
  353. package/dist/webcomponents/p-f21e1351.entry.js +1 -0
  354. package/dist/webcomponents/p-f2d283e5.entry.js +1 -0
  355. package/dist/webcomponents/p-f55f054a.entry.js +1 -0
  356. package/dist/webcomponents/p-f7ae2df8.entry.js +1 -0
  357. package/dist/webcomponents/p-f7ef66ba.entry.js +1 -0
  358. package/dist/webcomponents/p-f8750427.entry.js +1 -0
  359. package/dist/webcomponents/p-fa781ff0.entry.js +1 -0
  360. package/dist/webcomponents/p-fe5b7b4c.entry.js +1 -0
  361. package/dist/webcomponents/{p-CqVelcDt.js → p-kfHhaHAJ.js} +1 -1
  362. package/dist/webcomponents/webcomponents.esm.js +1 -1
  363. package/package.json +1 -1
  364. package/dist/cjs/Document-rXGBUaOh.js +0 -58
  365. package/dist/cjs/bank-account-form_7.cjs.entry.js +0 -411
  366. package/dist/cjs/billing-form-schema-oZ4GROWP.js +0 -26
  367. package/dist/cjs/justifi-checkout-summary.cjs.entry.js +0 -21
  368. package/dist/cjs/justifi-postal-code-form.cjs.entry.js +0 -50
  369. package/dist/cjs/justifi-saved-payment-methods.cjs.entry.js +0 -31
  370. package/dist/cjs/justifi-sezzle-payment-method.cjs.entry.js +0 -80
  371. package/dist/esm/Document-Ct-uNz2r.js +0 -55
  372. package/dist/esm/bank-account-form_7.entry.js +0 -403
  373. package/dist/esm/billing-form-schema-PFvYpvy4.js +0 -24
  374. package/dist/esm/justifi-checkout-summary.entry.js +0 -19
  375. package/dist/esm/justifi-postal-code-form.entry.js +0 -48
  376. package/dist/esm/justifi-saved-payment-methods.entry.js +0 -29
  377. package/dist/module/Document.js +0 -55
  378. package/dist/module/checkout-actions.js +0 -58
  379. package/dist/module/checkout-core.js +0 -268
  380. package/dist/module/new-payment-method.js +0 -204
  381. package/dist/module/saved-payment-method.js +0 -59
  382. package/dist/webcomponents/p-00900e52.entry.js +0 -1
  383. package/dist/webcomponents/p-025ae692.entry.js +0 -1
  384. package/dist/webcomponents/p-02e26641.entry.js +0 -1
  385. package/dist/webcomponents/p-04c91ec1.entry.js +0 -1
  386. package/dist/webcomponents/p-0d5e93b3.entry.js +0 -1
  387. package/dist/webcomponents/p-19b5f93a.entry.js +0 -1
  388. package/dist/webcomponents/p-25b310f0.entry.js +0 -1
  389. package/dist/webcomponents/p-271b131d.entry.js +0 -1
  390. package/dist/webcomponents/p-2882b4e9.entry.js +0 -1
  391. package/dist/webcomponents/p-2a08ba01.entry.js +0 -1
  392. package/dist/webcomponents/p-2f027626.entry.js +0 -1
  393. package/dist/webcomponents/p-2fa36c0e.entry.js +0 -1
  394. package/dist/webcomponents/p-379584fb.entry.js +0 -1
  395. package/dist/webcomponents/p-39f31e23.entry.js +0 -1
  396. package/dist/webcomponents/p-3b6888c5.entry.js +0 -1
  397. package/dist/webcomponents/p-3d62f9a5.entry.js +0 -1
  398. package/dist/webcomponents/p-4232760b.entry.js +0 -1
  399. package/dist/webcomponents/p-4be4f7b4.entry.js +0 -1
  400. package/dist/webcomponents/p-531738ae.entry.js +0 -1
  401. package/dist/webcomponents/p-54019e68.entry.js +0 -1
  402. package/dist/webcomponents/p-584ba20d.entry.js +0 -1
  403. package/dist/webcomponents/p-5bc6f1e6.entry.js +0 -20
  404. package/dist/webcomponents/p-5bfbb0f8.entry.js +0 -1
  405. package/dist/webcomponents/p-5da3ba38.entry.js +0 -1
  406. package/dist/webcomponents/p-5f9dbaff.entry.js +0 -1
  407. package/dist/webcomponents/p-6fc1ace5.entry.js +0 -1
  408. package/dist/webcomponents/p-716d41f2.entry.js +0 -1
  409. package/dist/webcomponents/p-7253f1ea.entry.js +0 -1
  410. package/dist/webcomponents/p-80b662de.entry.js +0 -1
  411. package/dist/webcomponents/p-82164a5e.entry.js +0 -1
  412. package/dist/webcomponents/p-8590c5df.entry.js +0 -1
  413. package/dist/webcomponents/p-8e555a6e.entry.js +0 -1
  414. package/dist/webcomponents/p-96f89c69.entry.js +0 -1
  415. package/dist/webcomponents/p-98a39544.entry.js +0 -1
  416. package/dist/webcomponents/p-9a9f9c57.entry.js +0 -1
  417. package/dist/webcomponents/p-B4MIwTdb.js +0 -1
  418. package/dist/webcomponents/p-B8Ovjy6S.js +0 -1
  419. package/dist/webcomponents/p-BE5Nvydk.js +0 -1
  420. package/dist/webcomponents/p-BGHVK-vQ.js +0 -1
  421. package/dist/webcomponents/p-BPCw4WEY.js +0 -1
  422. package/dist/webcomponents/p-BhLPwu1L.js +0 -1
  423. package/dist/webcomponents/p-Bond4qGX.js +0 -1
  424. package/dist/webcomponents/p-BpEw7AJl.js +0 -1
  425. package/dist/webcomponents/p-C-WgCIei.js +0 -1
  426. package/dist/webcomponents/p-CCpqJxzB.js +0 -1
  427. package/dist/webcomponents/p-CLpgfEbx.js +0 -1
  428. package/dist/webcomponents/p-CRYPNa2o.js +0 -1
  429. package/dist/webcomponents/p-CeNlJX4-.js +0 -1
  430. package/dist/webcomponents/p-Ct-uNz2r.js +0 -1
  431. package/dist/webcomponents/p-CvChBLtI.js +0 -1
  432. package/dist/webcomponents/p-CyXXks-Q.js +0 -1
  433. package/dist/webcomponents/p-Czro_9VO.js +0 -1
  434. package/dist/webcomponents/p-D7js9xfx.js +0 -1
  435. package/dist/webcomponents/p-DOB09NZD.js +0 -1
  436. package/dist/webcomponents/p-DUdzWNqB.js +0 -1
  437. package/dist/webcomponents/p-DaS3t0DL.js +0 -1
  438. package/dist/webcomponents/p-Dge4w7_c.js +0 -1
  439. package/dist/webcomponents/p-DkWBoLsd.js +0 -1
  440. package/dist/webcomponents/p-DknV-QPT.js +0 -1
  441. package/dist/webcomponents/p-DuiQuWNq.js +0 -1
  442. package/dist/webcomponents/p-DzPrenCi.js +0 -1
  443. package/dist/webcomponents/p-YDuIVoos.js +0 -1
  444. package/dist/webcomponents/p-a2db11b5.entry.js +0 -1
  445. package/dist/webcomponents/p-a31913e3.entry.js +0 -1
  446. package/dist/webcomponents/p-a4d457e9.entry.js +0 -1
  447. package/dist/webcomponents/p-b8ee41c1.entry.js +0 -1
  448. package/dist/webcomponents/p-bde749ac.entry.js +0 -1
  449. package/dist/webcomponents/p-bf16b11c.entry.js +0 -1
  450. package/dist/webcomponents/p-d9b06582.entry.js +0 -1
  451. package/dist/webcomponents/p-dbc02ba8.entry.js +0 -1
  452. package/dist/webcomponents/p-dcad0df5.entry.js +0 -1
  453. package/dist/webcomponents/p-e03630ec.entry.js +0 -1
  454. package/dist/webcomponents/p-e07sVz4Z.js +0 -1
  455. package/dist/webcomponents/p-ec9bb3f6.entry.js +0 -1
  456. package/dist/webcomponents/p-ecf6a315.entry.js +0 -1
@@ -17,7 +17,7 @@ class Completion {
17
17
  this.updated_at = data.updated_at;
18
18
  }
19
19
  }
20
- class Checkout {
20
+ let Checkout$1 = class Checkout {
21
21
  constructor(data) {
22
22
  var _a;
23
23
  this.id = data.id;
@@ -68,7 +68,7 @@ class Checkout {
68
68
  formattedPaymentAmount(amount) {
69
69
  return formatCurrency(amount, this.payment_currency);
70
70
  }
71
- }
71
+ };
72
72
  var ICheckoutPaymentMode;
73
73
  (function (ICheckoutPaymentMode) {
74
74
  ICheckoutPaymentMode["bnpl"] = "Buy Now Pay Later";
@@ -96,4 +96,4 @@ var CompletionStatuses;
96
96
  CompletionStatuses["succeeded"] = "succeeded";
97
97
  })(CompletionStatuses || (CompletionStatuses = {}));
98
98
 
99
- export { Checkout as C, ICheckoutStatus as I, ICheckoutPaymentModeParam as a };
99
+ export { Checkout$1 as C, ICheckoutStatus as I, ICheckoutPaymentModeParam as a };
@@ -256,6 +256,60 @@ class SubAccount {
256
256
  }
257
257
  }
258
258
 
259
+ var EntityDocumentType;
260
+ (function (EntityDocumentType) {
261
+ EntityDocumentType["voidedCheck"] = "voided_check";
262
+ EntityDocumentType["balanceSheet"] = "balance_sheet";
263
+ EntityDocumentType["bankStatement"] = "bank_statement";
264
+ EntityDocumentType["governmentId"] = "government_id";
265
+ EntityDocumentType["profitAndLossStatement"] = "profit_and_loss_statement";
266
+ EntityDocumentType["taxReturn"] = "tax_return";
267
+ EntityDocumentType["other"] = "other";
268
+ })(EntityDocumentType || (EntityDocumentType = {}));
269
+ var EntityDocumentStatus;
270
+ (function (EntityDocumentStatus) {
271
+ EntityDocumentStatus["pending"] = "pending";
272
+ EntityDocumentStatus["uploaded"] = "uploaded";
273
+ EntityDocumentStatus["canceled"] = "canceled";
274
+ EntityDocumentStatus["needed"] = "needed";
275
+ })(EntityDocumentStatus || (EntityDocumentStatus = {}));
276
+ class EntityDocumentStorage {
277
+ constructor() {
278
+ this.voided_check = [];
279
+ this.balance_sheet = [];
280
+ this.bank_statement = [];
281
+ this.government_id = [];
282
+ this.profit_and_loss_statement = [];
283
+ this.tax_return = [];
284
+ this.other = [];
285
+ }
286
+ }
287
+ class EntityDocument {
288
+ constructor(fileData, business_id) {
289
+ this.file = fileData.file;
290
+ this.fileString = this.getFileString();
291
+ this.document_type = fileData.document_type;
292
+ this.presigned_url = null;
293
+ this.record_data = {
294
+ business_id: business_id,
295
+ document_type: this.document_type,
296
+ file_name: this.file.name,
297
+ file_type: this.file.type,
298
+ };
299
+ }
300
+ getFileString() {
301
+ let reader = new FileReader();
302
+ reader.onload = (e) => {
303
+ this.fileString = e.target.result;
304
+ };
305
+ reader.readAsDataURL(this.file);
306
+ return this.fileString;
307
+ }
308
+ setPresignedUrl(url) {
309
+ this.presigned_url = url;
310
+ }
311
+ }
312
+
259
313
  var RefundStatuses;
260
314
  (function (RefundStatuses) {
261
315
  RefundStatuses["succeeded"] = "succeeded";
@@ -276,4 +330,4 @@ class RefundPayload {
276
330
  }
277
331
  }
278
332
 
279
- export { ITerminalStatus as I, Payout as P, RefundReasons as R, SubAccount as S, TerminalOrderStatus as T, TerminalOrderType as a, Terminal as b, PaymentBalanceTransaction as c, PayoutBalanceTransaction as d, TerminalOrder as e, TerminalModel as f, RefundPayload as g };
333
+ export { EntityDocumentType as E, ITerminalStatus as I, Payout as P, RefundReasons as R, SubAccount as S, TerminalOrderStatus as T, TerminalOrderType as a, Terminal as b, PaymentBalanceTransaction as c, PayoutBalanceTransaction as d, TerminalOrder as e, TerminalModel as f, RefundPayload as g, EntityDocumentStorage as h, EntityDocument as i };
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-Bta_r52Z.js';
2
- import { c as DetailItem, D as DetailSectionTitle } from './utils-1WrbuHVR.js';
2
+ import { c as DetailItem, D as DetailSectionTitle } from './utils-B-aPFy3u.js';
3
3
  import { m as isEmptyObject, i as snakeCaseToHumanReadable, n as formatMediumDate } from './utils-BjLkBMLe.js';
4
- import './parts-_6eQgwfE.js';
4
+ import './parts-C71Mxtso.js';
5
5
  import './_commonjsHelpers-BFTU3MAI.js';
6
6
 
7
7
  const AdditionalQuestionsDetails = class {
@@ -1,5 +1,5 @@
1
1
  import { h } from './index-Bta_r52Z.js';
2
- import { y as badgeDark, z as badgeLight, A as badgeInfo, B as badgeWarning, C as badgeDanger, D as badgeSuccess, E as badgeSecondary, F as badgePrimary, G as badge } from './parts-_6eQgwfE.js';
2
+ import { E as badgeDark, F as badgeLight, G as badgeInfo, H as badgeWarning, I as badgeDanger, J as badgeSuccess, K as badgeSecondary, L as badgePrimary, M as badge } from './parts-C71Mxtso.js';
3
3
 
4
4
  var BadgeVariant;
5
5
  (function (BadgeVariant) {
@@ -2,20 +2,19 @@ import { r as registerInstance, h, H as Host, c as createEvent, a as getElement
2
2
  import './config-state-BjXhUj2q.js';
3
3
  import { i as snakeCaseToHumanReadable, d as formatDate, j as formatTimeSeconds } from './utils-BjLkBMLe.js';
4
4
  import './ComponentError-BhrFjjAs.js';
5
- import './Checkout-CV6qgU0r.js';
5
+ import './Checkout-CH19cJxH.js';
6
6
  import './Pagination-CLHwhyvu.js';
7
7
  import './Payment-BEvE6jAC.js';
8
- import './Refund-CwUn_GFj.js';
9
- import { E as EntityDocumentType } from './Document-Ct-uNz2r.js';
8
+ import { E as EntityDocumentType } from './Refund-BKe90wSq.js';
10
9
  import './Business-BCoP0TAV.js';
11
10
  import './Dispute-7MWRbTXI.js';
12
11
  import { c as bankAccountTypeOptions } from './business-form-options-CgssATyg.js';
13
12
  import './event-types-XYgDHrVL.js';
14
13
  import { n as numberOnlyHandler } from './utils-BnjCmwMr.js';
15
- import { Z as card, x as heading2, ak as table, I as tableHeadCell, al as tableCell, c as input, l as label, b as inputInvalid, T as inputDisabled, a as inputFocused } from './parts-_6eQgwfE.js';
16
- import { S as Skeleton } from './skeleton-CPNYhX-V.js';
14
+ import { Y as card, C as heading2, ak as table, O as tableHeadCell, al as tableCell, c as input, l as label, b as inputInvalid, U as inputDisabled, a as inputFocused } from './parts-C71Mxtso.js';
15
+ import { S as Skeleton } from './skeleton-BVM4XTj9.js';
17
16
  import './event-types-CZfYo5-1.js';
18
- import { F as FormControlErrorText } from './form-control-error-text-_SAT-ts2.js';
17
+ import { F as FormControlErrorText } from './form-control-error-text-C4vfc3el.js';
19
18
  import './index-Cf8VXyXg.js';
20
19
  import './_commonjsHelpers-BFTU3MAI.js';
21
20
  import './helpers-Mu7LQT-w.js';
@@ -1,7 +1,8 @@
1
- import { h, proxyCustomElement, HTMLElement, Host } from '@stencil/core/internal/client';
2
- import { S as Skeleton } from './skeleton.js';
3
- import { w as waitForConfig, c as configState } from './config-state.js';
4
- import { d as defineCustomElement$1 } from './iframe-input2.js';
1
+ import { h, r as registerInstance, H as Host } from './index-Bta_r52Z.js';
2
+ import { S as Skeleton } from './skeleton-BVM4XTj9.js';
3
+ import { w as waitForConfig, c as configState } from './config-state-BjXhUj2q.js';
4
+ import './parts-C71Mxtso.js';
5
+ import './index-Cf8VXyXg.js';
5
6
 
6
7
  const BankAccountFormSkeleton = (props) => {
7
8
  const { isReady } = props;
@@ -19,10 +20,9 @@ const BankAccountFormSkeleton = (props) => {
19
20
  h(Skeleton, { height: "36px" })))));
20
21
  };
21
22
 
22
- const BankAccountForm = /*@__PURE__*/ proxyCustomElement(class BankAccountForm extends HTMLElement {
23
- constructor() {
24
- super();
25
- this.__registerHost();
23
+ const BankAccountForm = class {
24
+ constructor(hostRef) {
25
+ registerInstance(this, hostRef);
26
26
  this.isReady = false;
27
27
  }
28
28
  async componentWillLoad() {
@@ -51,35 +51,11 @@ const BankAccountForm = /*@__PURE__*/ proxyCustomElement(class BankAccountForm e
51
51
  return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
52
52
  }
53
53
  render() {
54
- return (h(Host, { key: 'cdddf967e7142731f3b5aef31bfc3d004ce97733' }, h(BankAccountFormSkeleton, { key: '5eafa58bd31bbbd5ff5ca90a036fc696f7bd05fb', isReady: this.isReady }), h("div", { key: 'c8486e0337df9a61bd1979014f3de53eef22b071', class: "container-fluid p-0", style: {
54
+ return (h(Host, { key: '1b0156c264d4eddde8a97f78fefb70bd0c997aa0' }, h(BankAccountFormSkeleton, { key: '34cc2e35f9f3e5d88e03343db3b2a1fcf5d1b9e2', isReady: this.isReady }), h("div", { key: '472a483b7061174762ff3413f1da3af8952e100d', class: "container-fluid p-0", style: {
55
55
  opacity: this.isReady ? '1' : '0',
56
56
  height: this.isReady ? 'auto' : '0',
57
- } }, h("div", { key: '3db2146e4d770c024efab6e777dbfa4ace26f23a', class: "row mb-3" }, h("iframe-input", { key: '5f9da4873119c1a1e771c7663b98e283766a37a1', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber` })), h("div", { key: '7ed20c940afd5ffc4348e4102a4cfd351d8e2198', class: "row" }, h("iframe-input", { key: '0667de245764f1d9181682beb674c4a376447a68', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber` })))));
57
+ } }, h("div", { key: '975830a13c6f33fe89c1a40ac6d78c1a2342154d', class: "row mb-3" }, h("iframe-input", { key: '0c97e7e9fcc461ff67d572d6628639eb71368502', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber` })), h("div", { key: '0648b42be75e251e20e47ebcc2599e597e03f1b3', class: "row" }, h("iframe-input", { key: 'e33011481a387bd05335804b82957b40129ddf4e', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber` })))));
58
58
  }
59
- }, [0, "bank-account-form", {
60
- "isReady": [32],
61
- "iframeOrigin": [32],
62
- "validate": [64],
63
- "tokenize": [64]
64
- }]);
65
- function defineCustomElement() {
66
- if (typeof customElements === "undefined") {
67
- return;
68
- }
69
- const components = ["bank-account-form", "iframe-input"];
70
- components.forEach(tagName => { switch (tagName) {
71
- case "bank-account-form":
72
- if (!customElements.get(tagName)) {
73
- customElements.define(tagName, BankAccountForm);
74
- }
75
- break;
76
- case "iframe-input":
77
- if (!customElements.get(tagName)) {
78
- defineCustomElement$1();
79
- }
80
- break;
81
- } });
82
- }
83
- defineCustomElement();
59
+ };
84
60
 
85
- export { BankAccountForm as B, defineCustomElement as d };
61
+ export { BankAccountForm as bank_account_form };
@@ -1,5 +1,5 @@
1
- import { c as create$3 } from './form-BjGUIqxU.js';
2
- import { d as dateOfIncorporationValidation, t as taxIdValidation, b as industryValidation, e as businessClassificationValidation, f as doingBusinessAsValidation, g as phoneValidation, h as emailValidation, w as websiteUrlValidation, j as businessNameValidation, o as otherPaymentDetailsValidation, k as seasonalBusinessValidation, r as recurringPaymentsPercentageValidation, m as recurringPaymentsValidation, n as whenServiceReceivedValidation, q as paymentVolumeValidation, u as revenueValidation } from './schema-validations-DYV7urvw.js';
1
+ import { c as create$3 } from './index.esm-BCNUj0Dx.js';
2
+ import { d as dateOfIncorporationValidation, t as taxIdValidation, i as industryValidation, b as businessClassificationValidation, a as doingBusinessAsValidation, p as phoneValidation, e as emailValidation, w as websiteUrlValidation, c as businessNameValidation, o as otherPaymentDetailsValidation, s as seasonalBusinessValidation, r as recurringPaymentsPercentageValidation, f as recurringPaymentsValidation, g as whenServiceReceivedValidation, h as paymentVolumeValidation, j as revenueValidation } from './schema-validations-DLWfpHyI.js';
3
3
 
4
4
  const businessCoreInfoSchema = (allowOptionalFields) => {
5
5
  const schema = create$3({
@@ -1,9 +1,9 @@
1
1
  import { h, F as Fragment, r as registerInstance, c as createEvent } from './index-Bta_r52Z.js';
2
- import { E as ErrorState } from './utils-1WrbuHVR.js';
2
+ import { E as ErrorState } from './utils-B-aPFy3u.js';
3
3
  import { S as StyledHost } from './styled-host-BSX_LSdk.js';
4
4
  import './event-types-CZfYo5-1.js';
5
- import { S as Skeleton } from './skeleton-CPNYhX-V.js';
6
- import './parts-_6eQgwfE.js';
5
+ import { S as Skeleton } from './skeleton-BVM4XTj9.js';
6
+ import './parts-C71Mxtso.js';
7
7
 
8
8
  const BusinessDetailsLoading = () => {
9
9
  const Block = () => (h("div", { class: "mt-5" },
@@ -1,5 +1,5 @@
1
- import { c as create$3, a as create$6 } from './form-BjGUIqxU.js';
2
- import { p as postalValidation, s as stateValidation, c as cityValidation, l as lineTwoValidation, a as lineOneValidation, v as ssnValidation, x as dobValidation, g as phoneValidation, h as emailValidation, y as identityTitleValidation, i as identityNameValidation } from './schema-validations-DYV7urvw.js';
1
+ import { c as create$3, a as create$6 } from './index.esm-BCNUj0Dx.js';
2
+ import { k as postalValidation, l as stateValidation, m as cityValidation, n as lineTwoValidation, q as lineOneValidation, u as ssnValidation, v as dobValidation, p as phoneValidation, e as emailValidation, x as identityTitleValidation, y as identityNameValidation } from './schema-validations-DLWfpHyI.js';
3
3
 
4
4
  const addressSchema = (allowOptionalFields) => {
5
5
  const schema = create$3({
@@ -1,10 +1,9 @@
1
1
  import { A as Api } from './Api-CqimcNgb.js';
2
2
  import './ComponentError-BhrFjjAs.js';
3
- import './Checkout-CV6qgU0r.js';
3
+ import './Checkout-CH19cJxH.js';
4
4
  import './Pagination-CLHwhyvu.js';
5
5
  import './Payment-BEvE6jAC.js';
6
- import './Refund-CwUn_GFj.js';
7
- import './Document-Ct-uNz2r.js';
6
+ import './Refund-BKe90wSq.js';
8
7
  import './Business-BCoP0TAV.js';
9
8
  import './Dispute-7MWRbTXI.js';
10
9
 
@@ -1,5 +1,5 @@
1
1
  import { h } from './index-Bta_r52Z.js';
2
- import { ae as buttonSecondary, af as buttonPrimary, ag as buttonLoading } from './parts-_6eQgwfE.js';
2
+ import { ad as buttonSecondary, ae as buttonPrimary, af as buttonLoading } from './parts-C71Mxtso.js';
3
3
 
4
4
  const ButtonSpinner = () => (h("div", { class: "spinner-border spinner-border-sm", role: "status", part: "button-spinner" },
5
5
  h("span", { class: "visually-hidden" }, "Loading...")));
@@ -1,25 +1,8 @@
1
- import { h, r as registerInstance } from './index-Bta_r52Z.js';
2
- import { S as Skeleton } from './skeleton-CPNYhX-V.js';
3
- import './event-types-CZfYo5-1.js';
4
- import { S as StyledHost } from './styled-host-BSX_LSdk.js';
5
- import { c as checkPkgVersion, J as JustifiAnalytics } from './Analytics-DR277kvb.js';
6
- import './parts-_6eQgwfE.js';
7
- import './package-CyXXks-Q.js';
8
- import './Api-CqimcNgb.js';
9
- import './config-state-BjXhUj2q.js';
1
+ import { h, r as registerInstance, H as Host } from './index-Bta_r52Z.js';
2
+ import { S as Skeleton } from './skeleton-BVM4XTj9.js';
3
+ import { w as waitForConfig, c as configState } from './config-state-BjXhUj2q.js';
4
+ import './parts-C71Mxtso.js';
10
5
  import './index-Cf8VXyXg.js';
11
- import './utils-BjLkBMLe.js';
12
- import './_commonjsHelpers-BFTU3MAI.js';
13
- import './ComponentError-BhrFjjAs.js';
14
- import './Checkout-CV6qgU0r.js';
15
- import './Pagination-CLHwhyvu.js';
16
- import './Payment-BEvE6jAC.js';
17
- import './Dispute-7MWRbTXI.js';
18
- import './Refund-CwUn_GFj.js';
19
- import './Document-Ct-uNz2r.js';
20
- import './Business-BCoP0TAV.js';
21
- import './helpers-Mu7LQT-w.js';
22
- import './state-options-BX8GieXu.js';
23
6
 
24
7
  const CardFormSkeleton = (props) => {
25
8
  const { isReady } = props;
@@ -41,15 +24,14 @@ const CardFormSkeleton = (props) => {
41
24
  h(Skeleton, { height: "36px" })))));
42
25
  };
43
26
 
44
- const JustifiCardForm = class {
27
+ const CardForm = class {
45
28
  constructor(hostRef) {
46
29
  registerInstance(this, hostRef);
47
- this.iframeOrigin = "https://components.justifi.ai";
48
30
  this.isReady = false;
49
31
  }
50
- componentWillLoad() {
51
- checkPkgVersion();
52
- this.analytics = new JustifiAnalytics(this);
32
+ async componentWillLoad() {
33
+ await waitForConfig();
34
+ this.iframeOrigin = configState.iframeOrigin;
53
35
  }
54
36
  componentDidRender() {
55
37
  const elements = [
@@ -66,10 +48,6 @@ const JustifiCardForm = class {
66
48
  this.isReady = true;
67
49
  });
68
50
  }
69
- disconnectedCallback() {
70
- var _a;
71
- (_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
72
- }
73
51
  async validate() {
74
52
  const cardNumberIsValid = await this.cardNumberIframeElement.validate();
75
53
  const expirationMonthIsValid = await this.expirationMonthIframeElement.validate();
@@ -77,15 +55,15 @@ const JustifiCardForm = class {
77
55
  const cvvIsValid = await this.cvvIframeElement.validate();
78
56
  return cardNumberIsValid && expirationMonthIsValid && expirationYearIsValid && cvvIsValid;
79
57
  }
80
- async tokenize({ clientId, paymentMethodMetadata, account, }) {
58
+ async tokenize(clientId, paymentMethodMetadata, account) {
81
59
  return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
82
60
  }
83
61
  render() {
84
- return (h(StyledHost, { key: '44aa8e7da60f3dc8408e53f1ca4bf1ec98e838be' }, h(CardFormSkeleton, { key: 'eaea67379e10386d215284de04cd140ac0af0274', isReady: this.isReady }), h("hidden-input", { key: '6bdd3a8aef52e4d2bb7e5a7855578af5e491d04f' }), h("div", { key: '8e271c01ecd6c178f44f9cd9d331d6fc6240bce4', class: "container-fluid p-0", style: {
62
+ return (h(Host, { key: 'c43351c7ab1eb6bf413f162634f55007798bb076' }, h(CardFormSkeleton, { key: 'f0a29497de2270108868e892d666b552dea27a1e', isReady: this.isReady }), h("div", { key: '2734b111c1f2f2275435d2141445ac30482946be', class: "container-fluid p-0", style: {
85
63
  opacity: this.isReady ? '1' : '0',
86
64
  height: this.isReady ? 'auto' : '0',
87
- } }, h("div", { key: '568ac8e93eac648b43d047b2ba149230f7bd2e2f', class: "mb-3" }, h("iframe-input", { key: '5dde288003664ba6fb768a9e5837e4069e749ae5', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: '57d7153ff9f21fbbfe2fbf41d664fbbc05fd72db', class: "row" }, h("div", { key: 'a6f2dcd5a98428f2af8773c7ebf76ea3c232a2a9', class: "col-4 align-content-end" }, h("iframe-input", { key: 'ac7ef13f9c9e788a065f6fe3485f8aeb20a3f6e8', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: '36c7531f0f7f4a5c98eb36f1c3c395d392567041', class: "col-4 align-content-end" }, h("iframe-input", { key: '2c04a8aa66b73e1e485dd124b27ebf8d9da043d8', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: 'e413f4a9232c6c8f21fd9738d6b641d2ff9c547f', class: "col-4 align-content-end" }, h("iframe-input", { key: 'bf1204c99ec33e349fe07a741a4ba80d20def1f8', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
65
+ } }, h("div", { key: '036c359caaf8fc36fa6ba56bbcad5d01de1fe9c9', class: "mb-3" }, h("iframe-input", { key: '9baf7dc76ff18f8dee6e6cd08b93e1ba155d5cf2', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: 'cd54e4a30da50cfe5151b557fe1d92ebb483ad7e', class: "row" }, h("div", { key: '6b3e84079d606a6ffd5580deae0d6e4563d4c7ef', class: "col-4 align-content-end" }, h("iframe-input", { key: '9ea2ad1c93ca90bbb4bc7a4c83a72e8f4cc9da61', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: '9478f77f64decfcdfd77f888d54cb37f46ad8ab7', class: "col-4 align-content-end" }, h("iframe-input", { key: '43191d41eb743e0c509236ea316c1afb180b8fbb', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: '65599647fc750e6c62fb2866190ffa87689d8a5b', class: "col-4 align-content-end" }, h("iframe-input", { key: 'df367f3143aaff25ba9147698090ccbcea902cbf', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
88
66
  }
89
67
  };
90
68
 
91
- export { JustifiCardForm as justifi_card_form };
69
+ export { CardForm as card_form };
@@ -1,33 +1,13 @@
1
- import { p as packageJson } from './package-CyXXks-Q.js';
1
+ import { p as packageJson } from './package-CJdXAC5R.js';
2
2
  import { A as Api } from './Api-CqimcNgb.js';
3
3
  import './ComponentError-BhrFjjAs.js';
4
- import './Checkout-CV6qgU0r.js';
4
+ import './Checkout-CH19cJxH.js';
5
5
  import './Pagination-CLHwhyvu.js';
6
6
  import './Payment-BEvE6jAC.js';
7
- import './Refund-CwUn_GFj.js';
8
- import './Document-Ct-uNz2r.js';
7
+ import './Refund-BKe90wSq.js';
9
8
  import './Business-BCoP0TAV.js';
10
9
  import './Dispute-7MWRbTXI.js';
11
10
 
12
- const latestVersion = async (packageName) => {
13
- const response = await fetch('https://registry.npmjs.org/' + packageName + '/latest');
14
- const json = await response.json();
15
- return json.version;
16
- };
17
- const checkPkgVersion = async () => {
18
- const version = packageJson.version;
19
- const packageName = packageJson.name;
20
- const latest = await latestVersion(packageName);
21
- // remove rc from version and everything that comes after -rc
22
- const latestNotRC = latest.replace(/-rc.*/, '');
23
- // checkif there's a major version difference
24
- const versionParts = version.split('.');
25
- const latestParts = latest.split('.');
26
- if (versionParts[0] !== latestParts[0]) {
27
- console.warn(`The package ${packageName} is out of date. The latest version is ${latestNotRC}. Please update.`);
28
- }
29
- };
30
-
31
11
  const api = Api();
32
12
  class AnalyticsService {
33
13
  async record(body) {
@@ -110,4 +90,23 @@ class JustifiAnalytics {
110
90
  }
111
91
  }
112
92
 
93
+ const latestVersion = async (packageName) => {
94
+ const response = await fetch('https://registry.npmjs.org/' + packageName + '/latest');
95
+ const json = await response.json();
96
+ return json.version;
97
+ };
98
+ const checkPkgVersion = async () => {
99
+ const version = packageJson.version;
100
+ const packageName = packageJson.name;
101
+ const latest = await latestVersion(packageName);
102
+ // remove rc from version and everything that comes after -rc
103
+ const latestNotRC = latest.replace(/-rc.*/, '');
104
+ // checkif there's a major version difference
105
+ const versionParts = version.split('.');
106
+ const latestParts = latest.split('.');
107
+ if (versionParts[0] !== latestParts[0]) {
108
+ console.warn(`The package ${packageName} is out of date. The latest version is ${latestNotRC}. Please update.`);
109
+ }
110
+ };
111
+
113
112
  export { JustifiAnalytics as J, checkPkgVersion as c };
@@ -1,10 +1,9 @@
1
1
  import { A as Api } from './Api-CqimcNgb.js';
2
2
  import './ComponentError-BhrFjjAs.js';
3
- import './Checkout-CV6qgU0r.js';
3
+ import './Checkout-CH19cJxH.js';
4
4
  import './Pagination-CLHwhyvu.js';
5
5
  import './Payment-BEvE6jAC.js';
6
- import './Refund-CwUn_GFj.js';
7
- import './Document-Ct-uNz2r.js';
6
+ import './Refund-BKe90wSq.js';
8
7
  import './Business-BCoP0TAV.js';
9
8
  import './Dispute-7MWRbTXI.js';
10
9
 
@@ -2,24 +2,23 @@ import { r as registerInstance, c as createEvent, h } from './index-Bta_r52Z.js'
2
2
  import './config-state-BjXhUj2q.js';
3
3
  import './utils-BjLkBMLe.js';
4
4
  import './ComponentError-BhrFjjAs.js';
5
- import './Checkout-CV6qgU0r.js';
5
+ import './Checkout-CH19cJxH.js';
6
6
  import { p as pagingDefaults } from './Pagination-CLHwhyvu.js';
7
7
  import './Payment-BEvE6jAC.js';
8
- import './Refund-CwUn_GFj.js';
9
- import './Document-Ct-uNz2r.js';
8
+ import './Refund-BKe90wSq.js';
10
9
  import './Business-BCoP0TAV.js';
11
10
  import './Dispute-7MWRbTXI.js';
12
- import { T as Table, a as TableComponent, b as TableHead, c as TableHeadRow, d as TableBody, e as TableLoadingState, f as TableEmptyState, g as TableErrorState, h as TableRow, i as TableFoot, j as TableFootRow, k as TableFootCell, l as TableWrapper } from './table-RCk8zh4L.js';
11
+ import { T as Table, a as TableComponent, b as TableHead, c as TableHeadRow, d as TableBody, e as TableLoadingState, f as TableEmptyState, g as TableErrorState, h as TableRow, i as TableFoot, j as TableFootRow, k as TableFootCell, l as TableWrapper } from './table-DxdC1lXb.js';
13
12
  import { T as TableClickActions } from './event-types-CZfYo5-1.js';
14
- import { c as checkoutTableColumns, a as checkoutTableCells } from './checkouts-table-Cc6U-0md.js';
13
+ import { c as checkoutTableColumns, a as checkoutTableCells } from './checkouts-table-ub2cX2KR.js';
15
14
  import { o as onQueryParamsChange, g as getRequestParams } from './checkouts-list-params-state-DhPyCV-V.js';
16
15
  import './index-Cf8VXyXg.js';
17
16
  import './_commonjsHelpers-BFTU3MAI.js';
18
17
  import './helpers-Mu7LQT-w.js';
19
18
  import './state-options-BX8GieXu.js';
20
- import './parts-_6eQgwfE.js';
21
- import './spinner-Cl-6YJPf.js';
22
- import './badge-D_Q0kAPD.js';
19
+ import './parts-C71Mxtso.js';
20
+ import './spinner-BsxFRVXW.js';
21
+ import './badge-BoemLewg.js';
23
22
 
24
23
  const CheckoutsListCore = class {
25
24
  constructor(hostRef) {
@@ -1,7 +1,7 @@
1
1
  import { h } from './index-Bta_r52Z.js';
2
2
  import { b as formatTime, d as formatDate } from './utils-BjLkBMLe.js';
3
- import { B as BadgeVariant, a as Badge } from './badge-D_Q0kAPD.js';
4
- import { I as tableHeadCell, J as getAlternateTableCellPart } from './parts-_6eQgwfE.js';
3
+ import { B as BadgeVariant, a as Badge } from './badge-BoemLewg.js';
4
+ import { O as tableHeadCell, P as getAlternateTableCellPart } from './parts-C71Mxtso.js';
5
5
 
6
6
  const MapCheckoutStatusToBadge = (status) => {
7
7
  const statusToBadgeProps = {
@@ -1,7 +1,5 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-Bta_r52Z.js';
2
- import { c as input, l as label, b as inputInvalid, T as inputDisabled, a as inputFocused, aw as tooltip, ax as tooltipInner, ay as tooltipIcon } from './parts-_6eQgwfE.js';
3
- import { F as FormControlErrorText } from './form-control-error-text-_SAT-ts2.js';
4
- import './event-types-CZfYo5-1.js';
1
+ import { r as registerInstance, c as createEvent, h } from './index-Bta_r52Z.js';
2
+ import { aw as tooltip, ax as tooltipInner, ay as tooltipIcon } from './parts-C71Mxtso.js';
5
3
 
6
4
  var top = 'top';
7
5
  var bottom = 'bottom';
@@ -1887,102 +1885,6 @@ const CustomPopper = class {
1887
1885
  }
1888
1886
  };
1889
1887
 
1890
- const SelectInput = class {
1891
- constructor(hostRef) {
1892
- registerInstance(this, hostRef);
1893
- this.formControlInput = createEvent(this, "formControlInput");
1894
- this.formControlBlur = createEvent(this, "formControlBlur");
1895
- this.isFocused = false;
1896
- this.handleFormControlInput = (event) => {
1897
- const target = event.target;
1898
- const name = target.getAttribute('name');
1899
- this.inputHandler(name, target.value);
1900
- this.formControlInput.emit(target.value);
1901
- };
1902
- this.updateInput = (newValue) => {
1903
- this.selectElement.value = newValue;
1904
- };
1905
- }
1906
- handleDefaultValueChange(newValue) {
1907
- this.updateInput(newValue);
1908
- }
1909
- componentDidLoad() {
1910
- this.updateInput(this.defaultValue);
1911
- }
1912
- get part() {
1913
- let part = input;
1914
- if (this.errorText) {
1915
- part = inputInvalid;
1916
- }
1917
- if (this.disabled) {
1918
- part = inputDisabled;
1919
- }
1920
- if (this.isFocused) {
1921
- part = inputFocused;
1922
- }
1923
- return part;
1924
- }
1925
- render() {
1926
- var _a;
1927
- return (h(Host, { key: '605b6cb9bfa7bac528ee0af9c4deb5e7b1356b93' }, h("div", { key: 'f8b42609971ff02c4bc147a113bb4a025d32bcd8', class: "form-group d-flex flex-column" }, h("div", { key: '26c87da7b92edbb7fd41825a4e64b642778d0808', class: "d-flex align-items-start gap-2" }, h("label", { key: '43ad562c323b586bf7ab0260258d8678ef3194aa', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '1e4b1fa0e9bae57b6e783fb873de38c49ae7a8a4', helpText: this.helpText })), h("select", { key: 'bef2df140499a642ea9bf5bd3f6d7b558042e733', ref: el => (this.selectElement = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
1928
- this.isFocused = false;
1929
- this.formControlBlur.emit();
1930
- }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-select is-invalid' : 'form-select', disabled: this.disabled }, (_a = this.options) === null || _a === void 0 ? void 0 : _a.map(option => (h("option", { value: option.value }, option.label)))), h(FormControlErrorText, { key: '99abaaa766c1270cf1cfd926320d343393b13d1d', errorText: this.errorText, name: this.name }))));
1931
- }
1932
- static get watchers() { return {
1933
- "defaultValue": ["handleDefaultValueChange"]
1934
- }; }
1935
- };
1936
-
1937
- const TextInput = class {
1938
- constructor(hostRef) {
1939
- registerInstance(this, hostRef);
1940
- this.formControlInput = createEvent(this, "formControlInput");
1941
- this.formControlBlur = createEvent(this, "formControlBlur");
1942
- this.isFocused = false;
1943
- this.handleFormControlInput = (event) => {
1944
- const target = event.target;
1945
- const name = target.getAttribute('name');
1946
- this.inputHandler(name, target.value);
1947
- this.formControlInput.emit({ name, value: target.value });
1948
- };
1949
- this.updateInput = (newValue) => {
1950
- const inputElement = this.el.querySelector('input');
1951
- if (inputElement) {
1952
- inputElement.value = newValue || '';
1953
- }
1954
- };
1955
- }
1956
- handleDefaultValueChange(newValue) {
1957
- this.updateInput(newValue);
1958
- }
1959
- componentDidLoad() {
1960
- this.updateInput(this.defaultValue);
1961
- }
1962
- get part() {
1963
- if (this.errorText) {
1964
- return inputInvalid;
1965
- }
1966
- if (this.disabled) {
1967
- return inputDisabled;
1968
- }
1969
- if (this.isFocused) {
1970
- return inputFocused;
1971
- }
1972
- return input;
1973
- }
1974
- render() {
1975
- return (h(Host, { key: 'fab6618fdcf4d8c5f61687ecd5edfd6783754ec8' }, h("div", { key: '8f5b56c46fcd890c2601dd3b79fe60438bd561ef', class: "form-group d-flex flex-column" }, h("div", { key: '2226c532baa84905d8051e2222f24105b224d42b', class: "d-flex align-items-start gap-2" }, h("label", { key: '7c516dce181a938168dbe4961a90a946c723fc91', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'f4868f88e4f3e4795e25ad505e78cf8ab212623d', helpText: this.helpText })), h("input", { key: '10f02be3c0d055089697155878fedc23aa9f31e3', id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
1976
- this.isFocused = false;
1977
- this.formControlBlur.emit();
1978
- }, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled }), h(FormControlErrorText, { key: '02c21c4b071903db49e2e8b786275247d75c92f9', errorText: this.errorText, name: this.name }))));
1979
- }
1980
- get el() { return getElement(this); }
1981
- static get watchers() { return {
1982
- "defaultValue": ["handleDefaultValueChange"]
1983
- }; }
1984
- };
1985
-
1986
1888
  const TooltipComponent = class {
1987
1889
  constructor(hostRef) {
1988
1890
  registerInstance(this, hostRef);
@@ -2001,4 +1903,4 @@ const TooltipComponent = class {
2001
1903
  }
2002
1904
  };
2003
1905
 
2004
- export { CustomPopper as custom_popper, SelectInput as form_control_select, TextInput as form_control_text, TooltipComponent as form_control_tooltip };
1906
+ export { CustomPopper as custom_popper, TooltipComponent as form_control_tooltip };
@@ -1,10 +1,9 @@
1
1
  import { A as Api } from './Api-CqimcNgb.js';
2
2
  import './ComponentError-BhrFjjAs.js';
3
- import './Checkout-CV6qgU0r.js';
3
+ import './Checkout-CH19cJxH.js';
4
4
  import './Pagination-CLHwhyvu.js';
5
5
  import './Payment-BEvE6jAC.js';
6
- import './Refund-CwUn_GFj.js';
7
- import './Document-Ct-uNz2r.js';
6
+ import './Refund-BKe90wSq.js';
8
7
  import './Business-BCoP0TAV.js';
9
8
  import './Dispute-7MWRbTXI.js';
10
9
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host } from './index-Bta_r52Z.js';
2
- import { av as alertDanger, x as heading2 } from './parts-_6eQgwfE.js';
2
+ import { av as alertDanger, C as heading2 } from './parts-C71Mxtso.js';
3
3
  import { a as businessServiceReceivedOptions, r as recurringPaymentsOptions, s as seasonalBusinessOptions, b as businessClassificationOptions } from './business-form-options-CgssATyg.js';
4
4
  import { C as CURRENCY_MASK, T as TAX_ID_MASKS, P as PHONE_MASKS, S as SSN_MASK } from './form-input-masks-B-iV5cYd.js';
5
5
  import { C as CoreBusinessInfo } from './Business-BCoP0TAV.js';
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-Bta_r52Z.js';
2
- import { $ as inputCheckboxInvalid, a0 as inputCheckboxCheckedFocused, a1 as inputCheckboxFocused, a2 as inputCheckboxChecked, a3 as inputCheckbox, l as label } from './parts-_6eQgwfE.js';
3
- import { F as FormControlHelpText } from './form-control-help-text-Cjeu_VrV.js';
4
- import { F as FormControlErrorText } from './form-control-error-text-_SAT-ts2.js';
2
+ import { Z as inputCheckboxInvalid, _ as inputCheckboxCheckedFocused, $ as inputCheckboxFocused, a0 as inputCheckboxChecked, a1 as inputCheckbox, l as label } from './parts-C71Mxtso.js';
3
+ import { F as FormControlHelpText } from './form-control-help-text-Dsr1zpTw.js';
4
+ import { F as FormControlErrorText } from './form-control-error-text-C4vfc3el.js';
5
5
  import './event-types-CZfYo5-1.js';
6
6
 
7
7
  const CheckboxInput = class {
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host } from './index-Bta_r52Z.js';
2
- import { c as input, l as label, b as inputInvalid, T as inputDisabled, a as inputFocused } from './parts-_6eQgwfE.js';
3
- import { F as FormControlErrorText } from './form-control-error-text-_SAT-ts2.js';
2
+ import { c as input, l as label, b as inputInvalid, U as inputDisabled, a as inputFocused } from './parts-C71Mxtso.js';
3
+ import { F as FormControlErrorText } from './form-control-error-text-C4vfc3el.js';
4
4
  import './event-types-CZfYo5-1.js';
5
5
 
6
6
  const DateInput = class {