@justifi/webcomponents 6.0.2 → 6.1.0-rc.2

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 (461) hide show
  1. package/dist/cjs/{Api-DdNOMYxI.js → Api-CwTLkFY4.js} +1 -1
  2. package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
  3. package/dist/cjs/{badge-Cp5ap9Ge.js → badge-BmOSt4gS.js} +1 -1
  4. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +7 -7
  5. package/dist/cjs/bank-account-form.cjs.entry.js +6 -6
  6. package/dist/cjs/{business-additional-questions-schema-b8P-0T0O.js → business-additional-questions-schema-DNbSH3E-.js} +2 -2
  7. package/dist/cjs/business-details-core.cjs.entry.js +4 -4
  8. package/dist/cjs/{business-identity-schema-aFUle0C9.js → business-identity-schema-CclzWSOn.js} +2 -2
  9. package/dist/cjs/{business.service-CjsXJOgZ.js → business.service-Dkhqyggm.js} +1 -1
  10. package/dist/cjs/{button-BMKiDxGa.js → button-7c2RN2yp.js} +1 -1
  11. package/dist/cjs/card-form.cjs.entry.js +6 -6
  12. package/dist/cjs/{check-pkg-version-CMjNMgW8.js → check-pkg-version-DUDlLDCJ.js} +2 -2
  13. package/dist/cjs/{checkout.service-o7fi8Z05.js → checkout.service-LwZVVgP5.js} +1 -1
  14. package/dist/cjs/{checkout.store-DrFb05Vr.js → checkout.store-C3f3E24L.js} +1 -1
  15. package/dist/cjs/checkouts-list-core.cjs.entry.js +9 -9
  16. package/dist/cjs/{checkouts-list-params-state-CKeoLpqm.js → checkouts-list-params-state-C4c8UZtP.js} +1 -1
  17. package/dist/cjs/{checkouts-table-Ckpk4UMS.js → checkouts-table-BQUhZZd_.js} +2 -2
  18. package/dist/cjs/{config-state-BXCZx6K8.js → config-state-B_gyIchD.js} +1 -1
  19. package/dist/cjs/custom-popper_2.cjs.entry.js +1 -1
  20. package/dist/cjs/{dispute.service-BANG6pry.js → dispute.service-927Gzb0N.js} +1 -1
  21. package/dist/cjs/form-alert_5.cjs.entry.js +5 -5
  22. package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
  23. package/dist/cjs/form-control-date.cjs.entry.js +2 -2
  24. package/dist/cjs/{form-control-error-text-CA6tsCwq.js → form-control-error-text-DD0dHGu8.js} +1 -1
  25. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +2 -2
  26. package/dist/cjs/{form-control-help-text-sYroVd4u.js → form-control-help-text-2QwKi78M.js} +1 -1
  27. package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
  28. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +5 -5
  29. package/dist/cjs/form-control-monetary.cjs.entry.js +3 -3
  30. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +3 -3
  31. package/dist/cjs/form-control-number.cjs.entry.js +3 -3
  32. package/dist/cjs/form-control-radio.cjs.entry.js +1 -1
  33. package/dist/cjs/form-control-select_2.cjs.entry.js +2 -2
  34. package/dist/cjs/{get-payment-details-CqsEtJTg.js → get-payment-details-BSxp1HX0.js} +1 -1
  35. package/dist/cjs/{get-subaccounts-BfiiwPTB.js → get-subaccounts-B31f95PR.js} +2 -2
  36. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +3 -3
  37. package/dist/cjs/{header-1-IQ1fI7he.js → header-1-DMsp0XM7.js} +1 -1
  38. package/dist/cjs/{header-3-CACJFFMS.js → header-3-BSvFq_IF.js} +1 -1
  39. package/dist/cjs/hidden-input_2.cjs.entry.js +4 -4
  40. package/dist/cjs/{index-BGUnWLse.js → index-D1Ba20gi.js} +1 -1
  41. package/dist/cjs/{index-8Prcj64P.js → index-Dyzl8Hn6.js} +13 -2
  42. package/dist/cjs/{index.esm-ByC0D4sJ.js → index.esm-BleZSAc0.js} +17 -18
  43. package/dist/cjs/{insurance-state-De4RWYBC.js → insurance-state-uWOl6jJN.js} +2 -2
  44. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +9 -9
  45. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +16 -16
  46. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +2 -2
  47. package/dist/cjs/justifi-apple-pay.cjs.entry.js +14 -10
  48. package/dist/cjs/justifi-bank-account-billing-form-simple_9.cjs.entry.js +17 -17
  49. package/dist/cjs/justifi-business-details.cjs.entry.js +8 -8
  50. package/dist/cjs/justifi-business-form.cjs.entry.js +15 -15
  51. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +2 -2
  52. package/dist/cjs/justifi-checkout-summary_7.cjs.entry.js +12 -12
  53. package/dist/cjs/justifi-checkout.cjs.entry.js +10 -10
  54. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +6 -6
  55. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +12 -12
  56. package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
  57. package/dist/cjs/justifi-details.cjs.entry.js +3 -3
  58. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
  59. package/dist/cjs/justifi-dispute-management.cjs.entry.js +7 -7
  60. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +10 -10
  61. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +7 -7
  62. package/dist/cjs/justifi-order-terminals.cjs.entry.js +10 -10
  63. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +12 -12
  64. package/dist/cjs/justifi-payment-details.cjs.entry.js +9 -9
  65. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +4 -4
  66. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +8 -8
  67. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +10 -10
  68. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +4 -4
  69. package/dist/cjs/justifi-payments-list.cjs.entry.js +11 -11
  70. package/dist/cjs/justifi-payout-details.cjs.entry.js +8 -8
  71. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +10 -10
  72. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +4 -4
  73. package/dist/cjs/justifi-payouts-list.cjs.entry.js +12 -12
  74. package/dist/cjs/justifi-refund-payment.cjs.entry.js +12 -12
  75. package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +2 -2
  76. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +10 -10
  77. package/dist/cjs/justifi-skeleton.cjs.entry.js +3 -3
  78. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +5 -5
  79. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +9 -9
  80. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +5 -5
  81. package/dist/cjs/justifi-terminals-list.cjs.entry.js +11 -11
  82. package/dist/cjs/loader.cjs.js +2 -2
  83. package/dist/cjs/{package-DL-_SIgW.js → package-CFCy2fBx.js} +1 -1
  84. package/dist/cjs/pagination-menu.cjs.entry.js +4 -4
  85. package/dist/cjs/payment-details-core.cjs.entry.js +6 -6
  86. package/dist/cjs/payment-method-option.cjs.entry.js +2 -2
  87. package/dist/cjs/{payment.service-Bk5f4yNM.js → payment.service-DUq-W7tS.js} +1 -1
  88. package/dist/cjs/payments-list-core.cjs.entry.js +9 -9
  89. package/dist/cjs/{payments-list-params-state-CKeoLpqm.js → payments-list-params-state-C4c8UZtP.js} +1 -1
  90. package/dist/cjs/{payments-status-B0mynjDF.js → payments-status-3iIQkoov.js} +2 -2
  91. package/dist/cjs/{payments-table-Dt_B6-wz.js → payments-table-BSHUQhM-.js} +2 -2
  92. package/dist/cjs/payout-details-core.cjs.entry.js +7 -7
  93. package/dist/cjs/{payout.service-DYm731Kq.js → payout.service-DoKMr8Xw.js} +1 -1
  94. package/dist/cjs/payouts-list-core.cjs.entry.js +9 -9
  95. package/dist/cjs/{payouts-list-params-state-CKeoLpqm.js → payouts-list-params-state-C4c8UZtP.js} +1 -1
  96. package/dist/cjs/{payouts-status-MC0n0N1x.js → payouts-status-DoQbxIms.js} +2 -2
  97. package/dist/cjs/{payouts-table-CjJEGkLL.js → payouts-table-BD_Fhz_j.js} +2 -2
  98. package/dist/cjs/{schema-validations-Bj7eYNO8.js → schema-validations-jek_iZ9W.js} +1 -1
  99. package/dist/cjs/{skeleton-CMESEszj.js → skeleton-CuIMC98G.js} +1 -1
  100. package/dist/cjs/{spinner-BePlCbOD.js → spinner-CMZXdrPe.js} +1 -1
  101. package/dist/cjs/{styled-host-CvM9RrsT.js → styled-host-2KXbjOFw.js} +1 -1
  102. package/dist/cjs/{table-1JBgqBkL.js → table-DlQCUVag.js} +2 -2
  103. package/dist/cjs/table-filters-menu.cjs.entry.js +2 -2
  104. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +8 -8
  105. package/dist/cjs/{terminal-orders-list-params-state-CKeoLpqm.js → terminal-orders-list-params-state-C4c8UZtP.js} +1 -1
  106. package/dist/cjs/{terminal-orders-table-DuvYC2f1.js → terminal-orders-table-t6XxNy_K.js} +3 -3
  107. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
  108. package/dist/cjs/{terminal.service-B4FQ6roy.js → terminal.service-Iyje71vN.js} +1 -1
  109. package/dist/cjs/terminals-list-core.cjs.entry.js +8 -8
  110. package/dist/cjs/terminals-list-params-state-C4c8UZtP.js +22 -0
  111. package/dist/cjs/{terminals-table--d49kyCn.js → terminals-table-BTdKRiBN.js} +2 -2
  112. package/dist/cjs/{utils-BNjLFSUk.js → utils-FFP5ZHyE.js} +1 -1
  113. package/dist/cjs/webcomponents.cjs.js +3 -3
  114. package/dist/collection/collection-manifest.json +2 -2
  115. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +6 -6
  116. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +1 -1
  117. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +6 -6
  118. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +6 -6
  119. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
  120. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +1 -1
  121. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +6 -6
  122. package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -1
  123. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
  124. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +1 -1
  125. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +1 -1
  126. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +1 -1
  127. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
  128. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -1
  129. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +1 -1
  130. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
  131. package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +2 -2
  132. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
  133. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +1 -1
  134. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
  135. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +1 -1
  136. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
  137. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
  138. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
  139. package/dist/collection/components/checkout/card-form/card-form.js +2 -2
  140. package/dist/collection/components/checkout/checkout.js +2 -2
  141. package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
  142. package/dist/collection/components/checkout/saved-payment-method.js +1 -1
  143. package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
  144. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
  145. package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
  146. package/dist/collection/components/modular-checkout/modular-checkout.js +2 -3
  147. package/dist/collection/components/modular-checkout/sub-components/apple-pay.js +8 -4
  148. package/dist/collection/components/modular-checkout/sub-components/bank-account-billing-form-simple.js +1 -1
  149. package/dist/collection/components/modular-checkout/sub-components/card-billing-form-simple.js +1 -1
  150. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +2 -3
  151. package/dist/collection/ui-components/details/details.js +1 -1
  152. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  153. package/dist/collection/ui-components/pagination-menu/pagination-menu.js +3 -3
  154. package/dist/collection/ui-components/shadow-dom-components/justifi-radio-list-item.js +1 -1
  155. package/dist/docs.json +19 -98
  156. package/dist/esm/{Api-CO0DBcUT.js → Api-D4tj-h4P.js} +1 -1
  157. package/dist/esm/additional-questions-details_5.entry.js +2 -2
  158. package/dist/esm/{badge-CRAuWlVu.js → badge-ChwzCNAF.js} +1 -1
  159. package/dist/esm/bank-account-document-form-inputs_4.entry.js +7 -7
  160. package/dist/esm/bank-account-form.entry.js +6 -6
  161. package/dist/esm/{business-additional-questions-schema-9FAJSx_D.js → business-additional-questions-schema-C6NRHWEL.js} +2 -2
  162. package/dist/esm/business-details-core.entry.js +4 -4
  163. package/dist/esm/{business-identity-schema-CDJzknbg.js → business-identity-schema-D8n5dyLX.js} +2 -2
  164. package/dist/esm/{business.service-D2tRoPny.js → business.service-CsbtEDNi.js} +1 -1
  165. package/dist/esm/{button-B2XlI-Uy.js → button-SAIS_5os.js} +1 -1
  166. package/dist/esm/card-form.entry.js +6 -6
  167. package/dist/esm/{check-pkg-version-D3jZp8cz.js → check-pkg-version-B_Pl1uAE.js} +2 -2
  168. package/dist/esm/{checkout.service-BPYdgahN.js → checkout.service-BCkQ9pOA.js} +1 -1
  169. package/dist/esm/{checkout.store-DPOk5eUh.js → checkout.store-DBvS7cVB.js} +1 -1
  170. package/dist/esm/checkouts-list-core.entry.js +9 -9
  171. package/dist/esm/{checkouts-list-params-state-DmevqV6O.js → checkouts-list-params-state-C2_GlMKR.js} +1 -1
  172. package/dist/esm/{checkouts-table-DoHp51it.js → checkouts-table-CItEo0DU.js} +2 -2
  173. package/dist/esm/{config-state-Wdyw1F-s.js → config-state-Blo0ywwc.js} +1 -1
  174. package/dist/esm/custom-popper_2.entry.js +1 -1
  175. package/dist/esm/{dispute.service-Ct6DFjKt.js → dispute.service-CyLtJREK.js} +1 -1
  176. package/dist/esm/form-alert_5.entry.js +5 -5
  177. package/dist/esm/form-control-checkbox.entry.js +5 -5
  178. package/dist/esm/form-control-date.entry.js +2 -2
  179. package/dist/esm/{form-control-error-text-Bn_rq8AC.js → form-control-error-text-IXJJ4JpV.js} +1 -1
  180. package/dist/esm/form-control-file-v2_2.entry.js +2 -2
  181. package/dist/esm/{form-control-help-text-CuFo8IR5.js → form-control-help-text-CuhIsM3v.js} +1 -1
  182. package/dist/esm/form-control-help-text.entry.js +1 -1
  183. package/dist/esm/form-control-monetary-provisioning.entry.js +5 -5
  184. package/dist/esm/form-control-monetary.entry.js +3 -3
  185. package/dist/esm/form-control-number-masked_2.entry.js +3 -3
  186. package/dist/esm/form-control-number.entry.js +3 -3
  187. package/dist/esm/form-control-radio.entry.js +1 -1
  188. package/dist/esm/form-control-select_2.entry.js +2 -2
  189. package/dist/esm/{get-payment-details-BGQmxhRw.js → get-payment-details-BuT0QNOo.js} +1 -1
  190. package/dist/esm/{get-subaccounts-CYgVR2mk.js → get-subaccounts-VjY6-x_9.js} +2 -2
  191. package/dist/esm/gross-payment-chart-core.entry.js +3 -3
  192. package/dist/esm/{header-1-DWse7nuo.js → header-1-zXsamUS3.js} +1 -1
  193. package/dist/esm/{header-3-CSgiRXQA.js → header-3-DVtaUAlf.js} +1 -1
  194. package/dist/esm/hidden-input_2.entry.js +4 -4
  195. package/dist/esm/{index-DSUeaNWH.js → index-ZfXl6Xrm.js} +1 -1
  196. package/dist/esm/{index-CHdklybh.js → index-qipqIMyC.js} +13 -2
  197. package/dist/esm/{index.esm-IWS0494Y.js → index.esm-cYgKOXtz.js} +17 -18
  198. package/dist/esm/{insurance-state-DD0YD6c0.js → insurance-state-Dh9f36Qh.js} +2 -2
  199. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +9 -9
  200. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +16 -16
  201. package/dist/esm/justifi-additional-statement_8.entry.js +2 -2
  202. package/dist/esm/justifi-apple-pay.entry.js +14 -10
  203. package/dist/esm/justifi-bank-account-billing-form-simple_9.entry.js +17 -17
  204. package/dist/esm/justifi-business-details.entry.js +8 -8
  205. package/dist/esm/justifi-business-form.entry.js +15 -15
  206. package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
  207. package/dist/esm/justifi-checkout-summary_7.entry.js +12 -12
  208. package/dist/esm/justifi-checkout.entry.js +10 -10
  209. package/dist/esm/justifi-checkouts-list-filters.entry.js +6 -6
  210. package/dist/esm/justifi-checkouts-list.entry.js +12 -12
  211. package/dist/esm/justifi-config-provider.entry.js +3 -3
  212. package/dist/esm/justifi-details.entry.js +3 -3
  213. package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
  214. package/dist/esm/justifi-dispute-management.entry.js +7 -7
  215. package/dist/esm/justifi-dispute-notification_3.entry.js +10 -10
  216. package/dist/esm/justifi-gross-payment-chart.entry.js +7 -7
  217. package/dist/esm/justifi-order-terminals.entry.js +10 -10
  218. package/dist/esm/justifi-owner-form_3.entry.js +12 -12
  219. package/dist/esm/justifi-payment-details.entry.js +9 -9
  220. package/dist/esm/justifi-payment-provisioning-core.entry.js +4 -4
  221. package/dist/esm/justifi-payment-provisioning.entry.js +8 -8
  222. package/dist/esm/justifi-payment-transactions-list.entry.js +10 -10
  223. package/dist/esm/justifi-payments-list-filters.entry.js +4 -4
  224. package/dist/esm/justifi-payments-list.entry.js +11 -11
  225. package/dist/esm/justifi-payout-details.entry.js +8 -8
  226. package/dist/esm/justifi-payout-transactions-list.entry.js +10 -10
  227. package/dist/esm/justifi-payouts-list-filters.entry.js +4 -4
  228. package/dist/esm/justifi-payouts-list.entry.js +12 -12
  229. package/dist/esm/justifi-refund-payment.entry.js +12 -12
  230. package/dist/esm/justifi-saved-payment-method.entry.js +2 -2
  231. package/dist/esm/justifi-season-interruption-insurance.entry.js +10 -10
  232. package/dist/esm/justifi-skeleton.entry.js +3 -3
  233. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +5 -5
  234. package/dist/esm/justifi-terminal-orders-list.entry.js +9 -9
  235. package/dist/esm/justifi-terminals-list-filters.entry.js +5 -5
  236. package/dist/esm/justifi-terminals-list.entry.js +11 -11
  237. package/dist/esm/loader.js +3 -3
  238. package/dist/esm/{package-C5FfYVaH.js → package-pXjOPQhG.js} +1 -1
  239. package/dist/esm/pagination-menu.entry.js +4 -4
  240. package/dist/esm/payment-details-core.entry.js +6 -6
  241. package/dist/esm/payment-method-option.entry.js +2 -2
  242. package/dist/esm/{payment.service-D3ze0Zdq.js → payment.service-QJEmd6Nl.js} +1 -1
  243. package/dist/esm/payments-list-core.entry.js +9 -9
  244. package/dist/esm/{payments-list-params-state-DmevqV6O.js → payments-list-params-state-C2_GlMKR.js} +1 -1
  245. package/dist/esm/{payments-status-DTmQyPO9.js → payments-status-DDafc8Yr.js} +2 -2
  246. package/dist/esm/{payments-table-CavY9USC.js → payments-table-De3Jb6rY.js} +2 -2
  247. package/dist/esm/payout-details-core.entry.js +7 -7
  248. package/dist/esm/{payout.service-WXSktQvI.js → payout.service-XxyEr0rj.js} +1 -1
  249. package/dist/esm/payouts-list-core.entry.js +9 -9
  250. package/dist/esm/{payouts-list-params-state-DmevqV6O.js → payouts-list-params-state-C2_GlMKR.js} +1 -1
  251. package/dist/esm/{payouts-status-DTXrGUWw.js → payouts-status-u1eSRz3Q.js} +2 -2
  252. package/dist/esm/{payouts-table-3_J-SXvD.js → payouts-table-BO-MCzXj.js} +2 -2
  253. package/dist/esm/{schema-validations-B9dmY7ME.js → schema-validations-DcR1ujuX.js} +1 -1
  254. package/dist/esm/{skeleton-rMJsZa0a.js → skeleton-DtpkgjZ6.js} +1 -1
  255. package/dist/esm/{spinner-8n0qh4tK.js → spinner-CIXUVK4F.js} +1 -1
  256. package/dist/esm/{styled-host-DQq-l92c.js → styled-host-CbizlfAU.js} +1 -1
  257. package/dist/esm/{table-BUJMzXYe.js → table-DcRHK_sm.js} +2 -2
  258. package/dist/esm/table-filters-menu.entry.js +2 -2
  259. package/dist/esm/terminal-orders-list-core.entry.js +8 -8
  260. package/dist/esm/{terminal-orders-list-params-state-DmevqV6O.js → terminal-orders-list-params-state-C2_GlMKR.js} +1 -1
  261. package/dist/esm/{terminal-orders-table-gBU8rU8X.js → terminal-orders-table-9nsnrAq8.js} +3 -3
  262. package/dist/esm/terminal-quantity-selector.entry.js +1 -1
  263. package/dist/esm/{terminal.service-DihXdEs3.js → terminal.service-D2oETGnk.js} +1 -1
  264. package/dist/esm/terminals-list-core.entry.js +8 -8
  265. package/dist/esm/terminals-list-params-state-C2_GlMKR.js +16 -0
  266. package/dist/esm/{terminals-table-64XluocE.js → terminals-table-C6NO2m-t.js} +2 -2
  267. package/dist/esm/{utils-BvJW0VpC.js → utils-_ckvHjSW.js} +1 -1
  268. package/dist/esm/webcomponents.js +4 -4
  269. package/dist/module/additional-questions.js +2 -2
  270. package/dist/module/bank-account-billing-form-simple.js +1 -1
  271. package/dist/module/bank-account-document-inputs.js +1 -1
  272. package/dist/module/bank-account-form-inputs2.js +1 -1
  273. package/dist/module/bank-account-form.js +2 -2
  274. package/dist/module/business-additional-questions-form-step.js +1 -1
  275. package/dist/module/business-bank-account-form-step.js +1 -1
  276. package/dist/module/business-core-info-form-step.js +1 -1
  277. package/dist/module/business-core-info.js +1 -1
  278. package/dist/module/business-owners-form-step.js +1 -1
  279. package/dist/module/business-representative-form-inputs.js +1 -1
  280. package/dist/module/business-representative-form-step.js +1 -1
  281. package/dist/module/business-representative.js +2 -2
  282. package/dist/module/business-terms-conditions-form-step.js +1 -1
  283. package/dist/module/card-billing-form-simple.js +1 -1
  284. package/dist/module/card-form.js +2 -2
  285. package/dist/module/checkouts-list-core2.js +1 -1
  286. package/dist/module/details.js +1 -1
  287. package/dist/module/form-control-checkbox2.js +2 -2
  288. package/dist/module/form-control-monetary-provisioning2.js +2 -2
  289. package/dist/module/form.js +17 -18
  290. package/dist/module/identity-address-form.js +1 -1
  291. package/dist/module/justifi-apple-pay.js +7 -3
  292. package/dist/module/justifi-checkout.js +2 -2
  293. package/dist/module/justifi-checkouts-list-filters.js +1 -1
  294. package/dist/module/justifi-checkouts-list.js +1 -1
  295. package/dist/module/justifi-payment-provisioning.js +1 -1
  296. package/dist/module/justifi-radio-list-item2.js +1 -1
  297. package/dist/module/justifi-saved-payment-method.js +1 -1
  298. package/dist/module/legal-address-form-step.js +1 -1
  299. package/dist/module/legal-address-form.js +2 -2
  300. package/dist/module/owner-form-core2.js +1 -1
  301. package/dist/module/owner-form-inputs2.js +2 -2
  302. package/dist/module/owner-form.js +1 -1
  303. package/dist/module/package.js +1 -1
  304. package/dist/module/pagination-menu2.js +3 -3
  305. package/dist/module/payment-provisioning-core.js +1 -1
  306. package/dist/module/payment-provisioning-form-buttons.js +1 -1
  307. package/dist/module/payment-provisioning-form-steps.js +1 -1
  308. package/dist/module/save-new-payment-method.js +1 -1
  309. package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +1 -1
  310. package/dist/types/components.d.ts +8 -10
  311. package/dist/types/stencil-public-runtime.d.ts +4 -6
  312. package/dist/webcomponents/{p-8d45e30b.entry.js → p-06b6b61e.entry.js} +1 -1
  313. package/dist/webcomponents/{p-e01fe757.entry.js → p-0801324e.entry.js} +1 -1
  314. package/dist/webcomponents/{p-9c110f7a.entry.js → p-10278c48.entry.js} +1 -1
  315. package/dist/webcomponents/p-19ccbeee.entry.js +1 -0
  316. package/dist/webcomponents/p-1b3b6956.entry.js +1 -0
  317. package/dist/webcomponents/{p-4c7622ed.entry.js → p-1b7926f6.entry.js} +1 -1
  318. package/dist/webcomponents/p-1c433962.entry.js +1 -0
  319. package/dist/webcomponents/{p-60d59291.entry.js → p-1f9f6bdc.entry.js} +1 -1
  320. package/dist/webcomponents/{p-fa53a04f.entry.js → p-2246aa69.entry.js} +1 -1
  321. package/dist/webcomponents/{p-0c25d57b.entry.js → p-246ef4ff.entry.js} +1 -1
  322. package/dist/webcomponents/{p-0e85331b.entry.js → p-27fc3ef0.entry.js} +4 -4
  323. package/dist/webcomponents/{p-870cee9b.entry.js → p-2abfee08.entry.js} +1 -1
  324. package/dist/webcomponents/{p-1a5f53f4.entry.js → p-30147031.entry.js} +1 -1
  325. package/dist/webcomponents/{p-c7291c13.entry.js → p-3546a5aa.entry.js} +1 -1
  326. package/dist/webcomponents/{p-1835e531.entry.js → p-3621a429.entry.js} +1 -1
  327. package/dist/webcomponents/p-3c1d950d.entry.js +1 -0
  328. package/dist/webcomponents/{p-d817d7e4.entry.js → p-3d37045d.entry.js} +1 -1
  329. package/dist/webcomponents/p-406ba650.entry.js +1 -0
  330. package/dist/webcomponents/{p-755fa2b3.entry.js → p-4332962a.entry.js} +1 -1
  331. package/dist/webcomponents/{p-57d30e26.entry.js → p-4466d28d.entry.js} +1 -1
  332. package/dist/webcomponents/{p-c85cc2ca.entry.js → p-44d1341c.entry.js} +1 -1
  333. package/dist/webcomponents/p-46db49dd.entry.js +1 -0
  334. package/dist/webcomponents/p-4d5c71c4.entry.js +1 -0
  335. package/dist/webcomponents/{p-80feb885.entry.js → p-4ea83bfd.entry.js} +1 -1
  336. package/dist/webcomponents/{p-8b42eee7.entry.js → p-558f7967.entry.js} +1 -1
  337. package/dist/webcomponents/{p-7576e449.entry.js → p-5c477f08.entry.js} +1 -1
  338. package/dist/webcomponents/{p-29964705.entry.js → p-629c1d75.entry.js} +1 -1
  339. package/dist/webcomponents/p-68329f16.entry.js +1 -0
  340. package/dist/webcomponents/p-6fe79f16.entry.js +1 -0
  341. package/dist/webcomponents/{p-8cc80cda.entry.js → p-718f8b2c.entry.js} +1 -1
  342. package/dist/webcomponents/{p-0ad7a361.entry.js → p-73f88870.entry.js} +1 -1
  343. package/dist/webcomponents/{p-6f6e17cf.entry.js → p-760a5b4f.entry.js} +1 -1
  344. package/dist/webcomponents/{p-0aa2e1f9.entry.js → p-779e4467.entry.js} +1 -1
  345. package/dist/webcomponents/{p-318a95e7.entry.js → p-7aeb20d2.entry.js} +1 -1
  346. package/dist/webcomponents/{p-528300cf.entry.js → p-7c5cd118.entry.js} +1 -1
  347. package/dist/webcomponents/{p-74b96d25.entry.js → p-7ef3cb23.entry.js} +1 -1
  348. package/dist/webcomponents/{p-4de4598e.entry.js → p-84043580.entry.js} +1 -1
  349. package/dist/webcomponents/{p-0f4ea94a.entry.js → p-868ed3b6.entry.js} +1 -1
  350. package/dist/webcomponents/{p-c65afd95.entry.js → p-87f598ef.entry.js} +1 -1
  351. package/dist/webcomponents/p-8975bf93.entry.js +1 -0
  352. package/dist/webcomponents/{p-5f4b95f4.entry.js → p-906fdf0c.entry.js} +1 -1
  353. package/dist/webcomponents/{p-1a41c6ee.entry.js → p-90e43440.entry.js} +1 -1
  354. package/dist/webcomponents/{p-cf78e63a.entry.js → p-914e168d.entry.js} +1 -1
  355. package/dist/webcomponents/p-91c1e2ac.entry.js +1 -0
  356. package/dist/webcomponents/{p-664c9b1b.entry.js → p-95348ff6.entry.js} +1 -1
  357. package/dist/webcomponents/p-9f04cac4.entry.js +1 -0
  358. package/dist/webcomponents/p-B4idKqyn.js +1 -0
  359. package/dist/webcomponents/{p-ZWhv_80v.js → p-BB5-CJF-.js} +1 -1
  360. package/dist/webcomponents/{p-mxgDrK6T.js → p-BIPdn2VU.js} +1 -1
  361. package/dist/webcomponents/{p-Dph3Ao9s.js → p-BUa0YOaw.js} +1 -1
  362. package/dist/webcomponents/p-BY2p6Sxk.js +1 -0
  363. package/dist/webcomponents/{p-UmoEDufy.js → p-BZ7C9duj.js} +1 -1
  364. package/dist/webcomponents/{p-c3Fl3YIP.js → p-BdLLGV9t.js} +1 -1
  365. package/dist/webcomponents/p-BguBT6Hn.js +1 -0
  366. package/dist/webcomponents/{p-BuWHmUFx.js → p-Bp_QFeog.js} +1 -1
  367. package/dist/webcomponents/p-Bvp7uul3.js +1 -0
  368. package/dist/webcomponents/{p-BGRyC6Jk.js → p-C1xGBPma.js} +1 -1
  369. package/dist/webcomponents/p-C3n7-tlg.js +1 -0
  370. package/dist/webcomponents/{p-CXEvc-gI.js → p-CLQx9p9q.js} +1 -1
  371. package/dist/webcomponents/{p-CZjKnrRR.js → p-CPVN4dXS.js} +1 -1
  372. package/dist/webcomponents/p-CQeex56P.js +1 -0
  373. package/dist/webcomponents/{p-DiJD6Iqx.js → p-CR9D6mKt.js} +1 -1
  374. package/dist/webcomponents/p-CU4XQ3fO.js +1 -0
  375. package/dist/webcomponents/{p-PSJOKMWp.js → p-CYBR4K2p.js} +1 -1
  376. package/dist/webcomponents/{p-hzzlBrP2.js → p-C_3N7nqh.js} +1 -1
  377. package/dist/webcomponents/{p-BY5BgAd3.js → p-CaxjN6Uo.js} +1 -1
  378. package/dist/webcomponents/{p-CIN-y_rT.js → p-CpKvg1ok.js} +1 -1
  379. package/dist/webcomponents/{p-BVHUyJdS.js → p-CrQgyTRz.js} +1 -1
  380. package/dist/webcomponents/{p-BSa0NCli.js → p-CxzFvTgf.js} +1 -1
  381. package/dist/webcomponents/{p-DFNk_DP8.js → p-CzPUMw00.js} +1 -1
  382. package/dist/webcomponents/{p-D8uar3Ri.js → p-D--yCspA.js} +1 -1
  383. package/dist/webcomponents/{p-DbpL6AJS.js → p-D-JYHdJ7.js} +1 -1
  384. package/dist/webcomponents/{p-BB-9jeDZ.js → p-D6XirF21.js} +1 -1
  385. package/dist/webcomponents/{p-BDGiGASo.js → p-DCMrHeJI.js} +1 -1
  386. package/dist/webcomponents/{p-C9iide2W.js → p-DSP8qjHL.js} +1 -1
  387. package/dist/webcomponents/p-DbX0g1WF.js +1 -0
  388. package/dist/webcomponents/{p-f0Mcy7rH.js → p-De8UloOS.js} +1 -1
  389. package/dist/webcomponents/{p-DwBh6VCY.js → p-DsAwPf2y.js} +1 -1
  390. package/dist/webcomponents/p-DvZcI6pC.js +1 -0
  391. package/dist/webcomponents/p-DyDHaG6n.js +1 -0
  392. package/dist/webcomponents/{p-DWMITBje.js → p-DyOgQlh2.js} +1 -1
  393. package/dist/webcomponents/p-IG_KR8zP.js +1 -0
  394. package/dist/webcomponents/{p-tYuXMkCd.js → p-PgEzcvI6.js} +1 -1
  395. package/dist/webcomponents/p-Xv8DuU3Y.js +1 -0
  396. package/dist/webcomponents/p-a57c1400.entry.js +1 -0
  397. package/dist/webcomponents/{p-2ca59580.entry.js → p-a71a5e64.entry.js} +1 -1
  398. package/dist/webcomponents/{p-3bb7b07f.entry.js → p-a90b8b93.entry.js} +1 -1
  399. package/dist/webcomponents/{p-3d6e54cb.entry.js → p-b4e673fe.entry.js} +1 -1
  400. package/dist/webcomponents/{p-d16a348c.entry.js → p-bc902ec2.entry.js} +1 -1
  401. package/dist/webcomponents/p-bf82201a.entry.js +1 -0
  402. package/dist/webcomponents/{p-4d60eadc.entry.js → p-c16c0cbc.entry.js} +1 -1
  403. package/dist/webcomponents/{p-ba579b93.entry.js → p-c685fc33.entry.js} +1 -1
  404. package/dist/webcomponents/p-d0f93668.entry.js +1 -0
  405. package/dist/webcomponents/{p-c9863f5a.entry.js → p-d34befd7.entry.js} +1 -1
  406. package/dist/webcomponents/{p-6b56543b.entry.js → p-d3f5ff95.entry.js} +1 -1
  407. package/dist/webcomponents/p-df7f36aa.entry.js +1 -0
  408. package/dist/webcomponents/p-e035a92e.entry.js +1 -0
  409. package/dist/webcomponents/{p-27f20ccf.entry.js → p-e2a38ad0.entry.js} +1 -1
  410. package/dist/webcomponents/p-e628a0c8.entry.js +1 -0
  411. package/dist/webcomponents/{p-dccdcac8.entry.js → p-e6516014.entry.js} +1 -1
  412. package/dist/webcomponents/{p-3013484d.entry.js → p-e6e96be2.entry.js} +1 -1
  413. package/dist/webcomponents/{p-357c355e.entry.js → p-e79338f9.entry.js} +1 -1
  414. package/dist/webcomponents/p-eafd179b.entry.js +1 -0
  415. package/dist/webcomponents/{p-25344f42.entry.js → p-f5c3f489.entry.js} +1 -1
  416. package/dist/webcomponents/{p-cba326c0.entry.js → p-f6cf3e2b.entry.js} +1 -1
  417. package/dist/webcomponents/p-fUtq2xDs.js +1 -0
  418. package/dist/webcomponents/{p-152436e2.entry.js → p-ffe01f1b.entry.js} +1 -1
  419. package/dist/webcomponents/{p-DrXVtFfH.js → p-oGKW57R8.js} +1 -1
  420. package/dist/webcomponents/p-pXjOPQhG.js +1 -0
  421. package/dist/webcomponents/p-qipqIMyC.js +2 -0
  422. package/dist/webcomponents/{p-CkX-nM5d.js → p-xY5RkFuA.js} +1 -1
  423. package/dist/webcomponents/webcomponents.esm.js +1 -1
  424. package/package.json +13 -13
  425. package/LICENSE +0 -21
  426. package/dist/cjs/terminals-list-params-state-CKeoLpqm.js +0 -22
  427. package/dist/esm/terminals-list-params-state-DmevqV6O.js +0 -16
  428. package/dist/webcomponents/p-15e47d22.entry.js +0 -1
  429. package/dist/webcomponents/p-1a198ab4.entry.js +0 -1
  430. package/dist/webcomponents/p-2242b349.entry.js +0 -1
  431. package/dist/webcomponents/p-2f7ff817.entry.js +0 -1
  432. package/dist/webcomponents/p-33c5f41b.entry.js +0 -1
  433. package/dist/webcomponents/p-38Vv0Nju.js +0 -1
  434. package/dist/webcomponents/p-3b01c9c4.entry.js +0 -1
  435. package/dist/webcomponents/p-5170419e.entry.js +0 -1
  436. package/dist/webcomponents/p-61980e9a.entry.js +0 -1
  437. package/dist/webcomponents/p-78c17caf.entry.js +0 -1
  438. package/dist/webcomponents/p-7cd28a8b.entry.js +0 -1
  439. package/dist/webcomponents/p-85a1f152.entry.js +0 -1
  440. package/dist/webcomponents/p-85d82d77.entry.js +0 -1
  441. package/dist/webcomponents/p-8b414739.entry.js +0 -1
  442. package/dist/webcomponents/p-9fec7ff1.entry.js +0 -1
  443. package/dist/webcomponents/p-BC2AKcRD.js +0 -1
  444. package/dist/webcomponents/p-BffoVWib.js +0 -1
  445. package/dist/webcomponents/p-C5FfYVaH.js +0 -1
  446. package/dist/webcomponents/p-CHdklybh.js +0 -2
  447. package/dist/webcomponents/p-CVm_PxHa.js +0 -1
  448. package/dist/webcomponents/p-CZ27xhGU.js +0 -1
  449. package/dist/webcomponents/p-DFEjrRhP.js +0 -1
  450. package/dist/webcomponents/p-DcDYb1RC.js +0 -1
  451. package/dist/webcomponents/p-DhUrfS4M.js +0 -1
  452. package/dist/webcomponents/p-Dk0xo1G9.js +0 -1
  453. package/dist/webcomponents/p-DrRpEAef.js +0 -1
  454. package/dist/webcomponents/p-DsL9brW-.js +0 -1
  455. package/dist/webcomponents/p-WJLXezN2.js +0 -1
  456. package/dist/webcomponents/p-ab0e20cd.entry.js +0 -1
  457. package/dist/webcomponents/p-b40aa9da.entry.js +0 -1
  458. package/dist/webcomponents/p-bc5698fe.entry.js +0 -1
  459. package/dist/webcomponents/p-c53099b1.entry.js +0 -1
  460. package/dist/webcomponents/p-c96feb00.entry.js +0 -1
  461. package/dist/webcomponents/p-oIQjnSZa.js +0 -1
@@ -1 +1 @@
1
- import{r as e,h as a,H as t}from"./p-CHdklybh.js";import{au as l,C as d}from"./p-RvUQ__Pq.js";import{a as i,r as s,s as c,b as o}from"./p-yH3TC3ZQ.js";import{C as r,T as n,P as f,S as b}from"./p-B-iV5cYd.js";import{C as u}from"./p-BlJnA265.js";import{d as h}from"./p-Dt-vy9Le.js";import{S as m}from"./p-BX8GieXu.js";import{n as v}from"./p-BnjCmwMr.js";const y=class{constructor(a){e(this,a)}render(){return this.text?this.hideAlert?null:a("div",{class:"alert alert-danger d-flex align-items-center",role:"alert",part:l},a("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"currentColor",class:"bi bi-exclamation-triangle-fill flex-shrink-0 me-2",viewBox:"0 0 16 16",role:"img","aria-label":"Warning:"},a("path",{d:"M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z"})),a("div",null,this.text)):null}},p=class{constructor(a){e(this,a),this.errors={},this.additional_questions={},this.inputHandler=this.inputHandler.bind(this)}componentDidLoad(){this.formController.errors.subscribe((e=>this.errors=Object.assign({},e))),this.formController.values.subscribe((e=>this.additional_questions=Object.assign({},e.additional_questions)))}inputHandler(e,a){this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{additional_questions:Object.assign(Object.assign({},this.formController.values.getValue().additional_questions),{[e]:a})}))}render(){var e,l,o,n,f,b,u,h,m,v,y,p,k,x;const j=this.formController.getInitialValues().additional_questions;return a(t,{key:"e3e354a7cf470f658e0f95d37186b1f45771b673"},a("fieldset",{key:"7fb001177a4f907d513eb5955063d446234ede0c"},a("legend",{key:"ee6b045a438be9f56345daad752e105640f1ca3d",part:d},"Additional Questions"),a("div",{key:"ed114675357f3b70c34a3eb941fdb30e6219cdc9",class:"row gy-3"},a("div",{key:"b85c27c827cf5e5d0d556c343315e5eec736f538",class:"col-12 col-md-6"},a("form-control-monetary-provisioning",{key:"4576f67fa74ba7c2ca9730468ddc52b055a3c496",name:"business_revenue",label:"What is the business' estimated annual revenue from its primary business activities?",inputHandler:this.inputHandler,errorText:null===(l=null===(e=this.errors)||void 0===e?void 0:e.additional_questions)||void 0===l?void 0:l.business_revenue,defaultValue:null==j?void 0:j.business_revenue,maskOptions:r.WHOLE})),a("div",{key:"0614c60cc7daaf890ccb4888d41b0260a26f9a0e",class:"col-12 col-md-6"},a("form-control-monetary-provisioning",{key:"2c435c1553714d75542e0e3bcf1d723f26b37da8",name:"business_payment_volume",label:"What is the business' annual credit card & ACH volume anticipated to process?",inputHandler:this.inputHandler,errorText:null===(n=null===(o=this.errors)||void 0===o?void 0:o.additional_questions)||void 0===n?void 0:n.business_payment_volume,defaultValue:null==j?void 0:j.business_payment_volume,maskOptions:r.WHOLE})),a("div",{key:"8d4a19eb0b6b5707f4a423543d86ae50f6492efc",class:"col-12"},a("form-control-select",{key:"2e49f907bae85cd4901e4aa4413284596fbed365",name:"business_when_service_received",label:"On average, how long after paying will your customers typically receive their goods or services?",inputHandler:this.inputHandler,errorText:null===(b=null===(f=this.errors)||void 0===f?void 0:f.additional_questions)||void 0===b?void 0:b.business_when_service_received,options:i,defaultValue:null==j?void 0:j.business_when_service_received})),a("div",{key:"11bc4e0bbe2122b977cf8bc29ac0601ef941881c",class:"col-12"},a("form-control-select",{key:"c511b728971250dc3272c1ef9ff96131a9ac6a2e",name:"business_recurring_payments",label:"Does your business offer recurring payments?",inputHandler:this.inputHandler,errorText:null===(h=null===(u=this.errors)||void 0===u?void 0:u.additional_questions)||void 0===h?void 0:h.business_recurring_payments,options:s,defaultValue:null==j?void 0:j.business_recurring_payments})),a("div",{key:"5a40dfe41a9fca815cdf0eb7455b41615d1e6c76",class:"col-12"},a("form-control-text",{key:"d8aaf0f6d7d44b1b15ec76af198a0117493f08c6",name:"business_recurring_payments_percentage",label:"What percent of revenue is generated from each recurring payment type offered?",inputHandler:this.inputHandler,errorText:null===(v=null===(m=this.errors)||void 0===m?void 0:m.additional_questions)||void 0===v?void 0:v.business_recurring_payments_percentage,defaultValue:null==j?void 0:j.business_recurring_payments_percentage})),a("div",{key:"b211bb865a60baf1ea00c81f76f000ff2a31d7bd",class:"col-12"},a("form-control-select",{key:"4b693e7425e690a59e2c70646cca2b886b8a8796",name:"business_seasonal",label:"Is this business seasonal?",inputHandler:this.inputHandler,errorText:null===(p=null===(y=this.errors)||void 0===y?void 0:y.additional_questions)||void 0===p?void 0:p.business_seasonal,options:c,defaultValue:null==j?void 0:j.business_seasonal})),a("div",{key:"e85b7fceb9cdc808afaf3559609b7519c9630266",class:"col-12"},a("form-control-text",{key:"ae4a6518c7499826f30376f1c902f694244059c7",name:"business_other_payment_details",label:"Is there anything else you would like us to know about how your customers pay the business?",inputHandler:this.inputHandler,errorText:null===(x=null===(k=this.errors)||void 0===k?void 0:k.additional_questions)||void 0===x?void 0:x.business_other_payment_details,defaultValue:null==j?void 0:j.business_other_payment_details})))))}},k=class{constructor(a){e(this,a),this.errors={},this.coreInfo={},this.inputHandler=this.inputHandler.bind(this)}componentDidLoad(){this.formController.values.subscribe((e=>this.coreInfo=Object.assign({},new u(e)))),this.formController.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}inputHandler(e,a){this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[e]:a}))}render(){const e=this.formController.getInitialValues();return a(t,{key:"75bbee71e68fb0dafa609838f4d3e22bf4388332"},a("fieldset",{key:"1e1cc71bfd46b278ad3f7d3a73d5b126fbf19533"},a("legend",{key:"341b82942f116b4a2b0b29ce505fda3a153f88ec",part:d},"General Info"),a("div",{key:"e97b3c3a38f888795c24c887d42854c79f1f7b34",class:"row gy-3"},a("div",{key:"6d560585e9843143c836a302ad83b19719732467",class:"col-12"},a("form-control-text",{key:"9868049d15e3f2552feba3ff6fa6b1ab43c7ae9c",name:"legal_name",label:"Legal Name",defaultValue:e.legal_name,errorText:this.errors.legal_name,inputHandler:this.inputHandler})),a("div",{key:"f77c1d66117c29b6f5963a99bbb531f76242d052",class:"col-12"},a("form-control-text",{key:"2708d678c35d4fa9838cd3fd834c77105b94feff",name:"doing_business_as",label:"Doing Business As (DBA)",defaultValue:e.doing_business_as,errorText:this.errors.doing_business_as,inputHandler:this.inputHandler})),a("div",{key:"bb17f23c8f7fc1be73524dce8ed11ce9a9524a21",class:"col-12 col-md-8"},a("form-control-select",{key:"bc4175a9ed29127d89cf9c6135448c80733f6959",name:"classification",label:"Business Classification",options:o,defaultValue:e.classification,errorText:this.errors.classification,inputHandler:this.inputHandler})),a("div",{key:"6c5faad25c64ec50023be5128b8b0527584f9a7c",class:"col-12 col-md-4"},a("form-control-date",{key:"54a151222d7eabc40a66ffbd5d0dba2e765cd135",name:"date_of_incorporation",label:"Date of Incorporation",defaultValue:e.date_of_incorporation,errorText:this.errors.date_of_incorporation,inputHandler:this.inputHandler})),a("div",{key:"5a562ba1811a319d2f5dd10197be2e1ecb94da8b",class:"col-12 col-md-6"},a("form-control-text",{key:"03780a900fd4c176e5658b0784ef57eb48d2b3f7",name:"industry",label:"Industry",defaultValue:e.industry,errorText:this.errors.industry,inputHandler:this.inputHandler})),a("div",{key:"96e4110eb7b40f87a804b24a2ec94defca0be899",class:"col-12 col-md-6"},a("form-control-number-masked",{key:"3cfda64e576a93bbed143b34c235b5388dade635",name:"tax_id",label:"Tax ID",defaultValue:e.tax_id,errorText:this.errors.tax_id,inputHandler:this.inputHandler,mask:n.US})),a("div",{key:"6a6e4d87838f2666c2750662c1f031f3b8d0effe",class:"col-12"},a("form-control-text",{key:"68f28a6b78e2df1cd69631097a001369722d8081",name:"website_url",label:"Website URL",defaultValue:e.website_url,errorText:this.errors.website_url,inputHandler:this.inputHandler})),a("div",{key:"8a334f64bc214d1211772e5a5018b82dadd88d1a",class:"col-12 col-md-6"},a("form-control-text",{key:"639888a2d30e785e1d403830c718b7991f28285a",name:"email",label:"Email Address",defaultValue:e.email,errorText:this.errors.email,inputHandler:this.inputHandler})),a("div",{key:"b4aac33c17ce96c5c9a9ce5a90f322f69941df5e",class:"col-12 col-md-6"},a("form-control-number-masked",{key:"c384d24cc34fefca964a5eb412b28360361ab780",name:"phone",label:"Phone Number",defaultValue:e.phone,errorText:this.errors.phone,inputHandler:this.inputHandler,mask:f.US})))))}},x=class{constructor(a){e(this,a),this.errors={},this.representative={},this.inputHandler=(e,a)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{representative:Object.assign(Object.assign({},this.formController.values.getValue().representative),{[e]:a})}))},this.onAddressFormUpdate=e=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{representative:Object.assign(Object.assign({},this.formController.values.getValue().representative),{address:Object.assign(Object.assign({},this.formController.values.getValue().representative.address),e)})}))},this.onDateOfBirthUpdate=e=>{const a=h(e.detail);this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{representative:Object.assign(Object.assign({},this.formController.values.getValue().representative),{dob_day:a.dob_day,dob_month:a.dob_month,dob_year:a.dob_year})}))}}get identificationNumberLabel(){return this.representative.ssn_last4?"Update SSN (optional)":"SSN"}componentDidLoad(){this.formController.errors.subscribe((e=>this.errors=Object.assign({},e.representative))),this.formController.values.subscribe((e=>this.representative=Object.assign({},e.representative)))}render(){const e=this.formController.getInitialValues().representative;return a(t,{key:"88bd35928331776d5cbb7d085fd55a76fde1a084"},a("fieldset",{key:"202c40f332352c2f4d3c8a136888c39c67379e5f"},a("legend",{key:"a0b5043b348b1d8632a6bf0fe2d4309a8132d1f7",part:d},"Representative"),a("div",{key:"ba50c004e2b37f384dd8af63b1e0e397abadb9de",class:"row gy-3"},a("div",{key:"b85bf5fb0da9e8feae19dbebb0a911362e914601",class:"col-12 col-md-8"},a("form-control-text",{key:"95f849c7c0ba0c67bdc0a55727e00755e03897ef",name:"name",label:"Full Name",defaultValue:null==e?void 0:e.name,errorText:this.errors.name,inputHandler:this.inputHandler})),a("div",{key:"074067a3ce960b678ea38d53b84adda24e60754c",class:"col-12 col-md-4"},a("form-control-text",{key:"7ef397af32b7c0f79eeae1499bf3d3d147961c96",name:"title",label:"Title",defaultValue:null==e?void 0:e.title,errorText:this.errors.title,inputHandler:this.inputHandler})),a("div",{key:"a26bfd8a0824aaa12c6ffa48ac58c2bccc7236ef",class:"col-12 col-md-6"},a("form-control-text",{key:"39174c4b812462d1aa28824bca550e3f6e1d98b4",name:"email",label:"Email Address",defaultValue:null==e?void 0:e.email,errorText:this.errors.email,inputHandler:this.inputHandler})),a("div",{key:"ed0a2c52e4df0c43b2536dfd1ff3692a4e5716d9",class:"col-12 col-md-6"},a("form-control-number-masked",{key:"07bdcc1dd2e1473b64218eb28c8cdcf1cdce2a91",name:"phone",label:"Phone Number",defaultValue:null==e?void 0:e.phone,errorText:this.errors.phone,inputHandler:this.inputHandler,mask:f.US})),a("div",{key:"96092fd371ec82a8f8ebbf8bc4e3064768d4ad97",class:"col-12 col-md-4"},a("form-control-date",{key:"c24980f126c056aff139e897fdef9795905ea89b",name:"dob_full",label:"Birth Date",defaultValue:null==e?void 0:e.dob_full,errorText:this.errors.dob_full,inputHandler:this.inputHandler,onFormControlInput:this.onDateOfBirthUpdate})),a("div",{key:"9d1695fa6e68bb4ae9a8184dcb5e15d588474ab8",class:"col-12 col-md-8"},a("form-control-number-masked",{key:"8d8a56c08fb06f1a54baf3ee3d6e31a684205290",name:"identification_number",label:this.identificationNumberLabel,defaultValue:null==e?void 0:e.identification_number,errorText:this.errors.identification_number,inputHandler:this.inputHandler,mask:b})),a("div",{key:"22fa5e16517e14ab031aa5e7e95ea77bd7b28986",class:"col-12"},a("justifi-identity-address-form",{key:"4a990de739a0ae6fbf1f6a621ff7c0078517e970",errors:this.errors.address,defaultValues:null==e?void 0:e.address,handleFormUpdate:this.onAddressFormUpdate})))))}},j=class{constructor(a){e(this,a),this.errors={},this.inputHandler=this.inputHandler.bind(this)}componentDidLoad(){this.formController.errors.subscribe((e=>this.errors=Object.assign({},e))),this.formController.values.subscribe((e=>this.legal_address=Object.assign({},e.legal_address)))}inputHandler(e,a){this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{legal_address:Object.assign(Object.assign({},this.formController.values.getValue().legal_address),{[e]:a})}))}render(){var e,l,i,s,c,o,r,n,f,b,u,h;const y=this.formController.getInitialValues().legal_address;return a(t,{key:"5b21d99717f9b24c0551c7a96acf68e53e7787bf"},a("fieldset",{key:"d63cbd20b2648405c50a819724e0f8cf556f7d26"},a("legend",{key:"c0acd14073f13f914015f40d39bf22fb58792434",part:d},"Business Legal Address"),a("div",{key:"ee4cee6bd662816f822ee209aeda5e9664f6a64d",class:"row gy-3"},a("div",{key:"86b258fd09e73cbd2475330419274732231f3871",class:"col-12"},a("form-control-text",{key:"8d898a9ae448f07932afe2d8cfc2314b92d9c597",name:"line1",label:"Legal Address",inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.line1,errorText:null===(l=null===(e=this.errors)||void 0===e?void 0:e.legal_address)||void 0===l?void 0:l.line1})),a("div",{key:"1a50c4b86a754035f71efacd39721219fcd54d60",class:"col-12"},a("form-control-text",{key:"507b1451685e359a900f0bc7010ff39e3631daf2",name:"line2",label:"Address Line 2",inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.line2,errorText:null===(s=null===(i=this.errors)||void 0===i?void 0:i.legal_address)||void 0===s?void 0:s.line2})),a("div",{key:"1446b4db5f86a3b18e3aceb78274ffe458dbd3db",class:"col-12"},a("form-control-text",{key:"e17e4bd95ad4290d18edde79cf05a6b3a105166c",name:"city",label:"City",inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.city,errorText:null===(o=null===(c=this.errors)||void 0===c?void 0:c.legal_address)||void 0===o?void 0:o.city})),a("div",{key:"9b880203bad9e104e6d1299ff73c83cba46ab563",class:"col-12"},a("form-control-select",{key:"24e4df10f688c9a1b5f2af5217f03919bf7abec7",name:"state",label:"State",options:m,inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.state,errorText:null===(n=null===(r=this.errors)||void 0===r?void 0:r.legal_address)||void 0===n?void 0:n.state})),a("div",{key:"71f21b19602c268e3b6a839ce41ff9d4f8ffb8c4",class:"col-12"},a("form-control-text",{key:"ca71d3e21c5a0aea5367fa28ec1a2422ba9b1cf3",name:"postal_code",label:"Postal Code",inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.postal_code,errorText:null===(b=null===(f=this.errors)||void 0===f?void 0:f.legal_address)||void 0===b?void 0:b.postal_code,maxLength:5,keyDownHandler:v})),a("div",{key:"aaee0bf6a24ba182e002c1ffb49736fb622cde1f",class:"col-12"},a("form-control-select",{key:"2b6486771818e584dcc195c304e5a6e16850b4a9",name:"country",label:"Country",options:[{label:"United States",value:"USA"}],inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.country,errorText:null===(h=null===(u=this.errors)||void 0===u?void 0:u.legal_address)||void 0===h?void 0:h.country,disabled:!0})))))}};export{y as form_alert,p as justifi_additional_questions,k as justifi_business_core_info,x as justifi_business_representative,j as justifi_legal_address_form}
1
+ import{r as e,h as a,H as t}from"./p-qipqIMyC.js";import{au as d,C as l}from"./p-RvUQ__Pq.js";import{a as i,r as s,s as c,b as o}from"./p-yH3TC3ZQ.js";import{C as r,T as n,P as f,S as b}from"./p-B-iV5cYd.js";import{C as u}from"./p-BlJnA265.js";import{d as h}from"./p-Dt-vy9Le.js";import{S as m}from"./p-BX8GieXu.js";import{n as v}from"./p-BnjCmwMr.js";const y=class{constructor(a){e(this,a)}render(){return this.text?this.hideAlert?null:a("div",{class:"alert alert-danger d-flex align-items-center",role:"alert",part:d},a("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"currentColor",class:"bi bi-exclamation-triangle-fill flex-shrink-0 me-2",viewBox:"0 0 16 16",role:"img","aria-label":"Warning:"},a("path",{d:"M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z"})),a("div",null,this.text)):null}},p=class{constructor(a){e(this,a),this.errors={},this.additional_questions={},this.inputHandler=this.inputHandler.bind(this)}componentDidLoad(){this.formController.errors.subscribe((e=>this.errors=Object.assign({},e))),this.formController.values.subscribe((e=>this.additional_questions=Object.assign({},e.additional_questions)))}inputHandler(e,a){this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{additional_questions:Object.assign(Object.assign({},this.formController.values.getValue().additional_questions),{[e]:a})}))}render(){var e,d,o,n,f,b,u,h,m,v,y,p,k,x;const j=this.formController.getInitialValues().additional_questions;return a(t,{key:"8f51222ff2a06a8636c2252a1df25803c464cd5a"},a("fieldset",{key:"c705274cb9e5cc651f8cedb5ac23714a75dca09a"},a("legend",{key:"0e865f2763c872ccd65c7d255e0a49533bf8afbe",part:l},"Additional Questions"),a("div",{key:"b5a9d2c8086820d837a6261c0fbbd1c4785e8cbe",class:"row gy-3"},a("div",{key:"b0174e926ef2726d9c1ce809d00cf8fef623207c",class:"col-12 col-md-6"},a("form-control-monetary-provisioning",{key:"5553ed9ca690b4b7a54dfe864225fb4e10987c96",name:"business_revenue",label:"What is the business' estimated annual revenue from its primary business activities?",inputHandler:this.inputHandler,errorText:null===(d=null===(e=this.errors)||void 0===e?void 0:e.additional_questions)||void 0===d?void 0:d.business_revenue,defaultValue:null==j?void 0:j.business_revenue,maskOptions:r.WHOLE})),a("div",{key:"a01e709a65772041979e7b8c057b271e26524174",class:"col-12 col-md-6"},a("form-control-monetary-provisioning",{key:"2e56403c3eb357dac7f6791e0c5fa4fca58e6cfb",name:"business_payment_volume",label:"What is the business' annual credit card & ACH volume anticipated to process?",inputHandler:this.inputHandler,errorText:null===(n=null===(o=this.errors)||void 0===o?void 0:o.additional_questions)||void 0===n?void 0:n.business_payment_volume,defaultValue:null==j?void 0:j.business_payment_volume,maskOptions:r.WHOLE})),a("div",{key:"74318a7f6fdcc265d96827e5fb02d797631b3fd5",class:"col-12"},a("form-control-select",{key:"d166c9a1951afc9e1876d078ddc026671e8e0dcc",name:"business_when_service_received",label:"On average, how long after paying will your customers typically receive their goods or services?",inputHandler:this.inputHandler,errorText:null===(b=null===(f=this.errors)||void 0===f?void 0:f.additional_questions)||void 0===b?void 0:b.business_when_service_received,options:i,defaultValue:null==j?void 0:j.business_when_service_received})),a("div",{key:"e47aefb3a2274244d3e2561da7cfecb203445f1e",class:"col-12"},a("form-control-select",{key:"33978d0af775cace90de84104f74b2d6c22ae1c0",name:"business_recurring_payments",label:"Does your business offer recurring payments?",inputHandler:this.inputHandler,errorText:null===(h=null===(u=this.errors)||void 0===u?void 0:u.additional_questions)||void 0===h?void 0:h.business_recurring_payments,options:s,defaultValue:null==j?void 0:j.business_recurring_payments})),a("div",{key:"93f996064e4055c9a81c0077a20fd878ad1a6c97",class:"col-12"},a("form-control-text",{key:"68ac25357311838b8fa9a897fbb324f45f589f5f",name:"business_recurring_payments_percentage",label:"What percent of revenue is generated from each recurring payment type offered?",inputHandler:this.inputHandler,errorText:null===(v=null===(m=this.errors)||void 0===m?void 0:m.additional_questions)||void 0===v?void 0:v.business_recurring_payments_percentage,defaultValue:null==j?void 0:j.business_recurring_payments_percentage})),a("div",{key:"f2dfe10a8ed19faa36a38a8192268813b03d454f",class:"col-12"},a("form-control-select",{key:"1d6cf56564944d8dbef4f22c403232c9b7841018",name:"business_seasonal",label:"Is this business seasonal?",inputHandler:this.inputHandler,errorText:null===(p=null===(y=this.errors)||void 0===y?void 0:y.additional_questions)||void 0===p?void 0:p.business_seasonal,options:c,defaultValue:null==j?void 0:j.business_seasonal})),a("div",{key:"fe75a54400d4614fe1d3ed9099ff5a5d3822c007",class:"col-12"},a("form-control-text",{key:"aa7609f7687a5c0666bf35119cd4af7ad4e68f89",name:"business_other_payment_details",label:"Is there anything else you would like us to know about how your customers pay the business?",inputHandler:this.inputHandler,errorText:null===(x=null===(k=this.errors)||void 0===k?void 0:k.additional_questions)||void 0===x?void 0:x.business_other_payment_details,defaultValue:null==j?void 0:j.business_other_payment_details})))))}},k=class{constructor(a){e(this,a),this.errors={},this.coreInfo={},this.inputHandler=this.inputHandler.bind(this)}componentDidLoad(){this.formController.values.subscribe((e=>this.coreInfo=Object.assign({},new u(e)))),this.formController.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}inputHandler(e,a){this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[e]:a}))}render(){const e=this.formController.getInitialValues();return a(t,{key:"0f01827de5a6ff9f6da4aabac4c219da9bb7f7bc"},a("fieldset",{key:"fb47f0c5e7d566fe3af06eb1f38af813ca1a5a98"},a("legend",{key:"04b3a526d159f010da3960220c6738c23ab59ae9",part:l},"General Info"),a("div",{key:"cfa7ae60828f3b7525d6582effe31e11f4940ae1",class:"row gy-3"},a("div",{key:"09f915e522f42ea60bde326b93c0acbf79914047",class:"col-12"},a("form-control-text",{key:"fcfb0a32d62173c0fd60e21410cbf8be1843855f",name:"legal_name",label:"Legal Name",defaultValue:e.legal_name,errorText:this.errors.legal_name,inputHandler:this.inputHandler})),a("div",{key:"be83c79addceacb5621fb480cdc606a5393778ca",class:"col-12"},a("form-control-text",{key:"e78ff2fa54cd819b9117d03976d40e5aa49e33b5",name:"doing_business_as",label:"Doing Business As (DBA)",defaultValue:e.doing_business_as,errorText:this.errors.doing_business_as,inputHandler:this.inputHandler})),a("div",{key:"1a17daeaac46daa23ea4a2a028d08db238cc11d9",class:"col-12 col-md-8"},a("form-control-select",{key:"c8d76e0cdb665a43162d5605bda5361969933964",name:"classification",label:"Business Classification",options:o,defaultValue:e.classification,errorText:this.errors.classification,inputHandler:this.inputHandler})),a("div",{key:"1cfd904e9c039e834e086847b296ee4a6ee3f676",class:"col-12 col-md-4"},a("form-control-date",{key:"bdd8b4b01c9bd22b4c0188d7b37ebd6228a8af45",name:"date_of_incorporation",label:"Date of Incorporation",defaultValue:e.date_of_incorporation,errorText:this.errors.date_of_incorporation,inputHandler:this.inputHandler})),a("div",{key:"bb1aceaf0a2ea01d4116fa66e7fc086824940619",class:"col-12 col-md-6"},a("form-control-text",{key:"4fdcb1caae3cba88e8f6f9c14cb8b85c98e8a0f2",name:"industry",label:"Industry",defaultValue:e.industry,errorText:this.errors.industry,inputHandler:this.inputHandler})),a("div",{key:"238c8aae3f95286292b302efd2a490a0b7e9ce56",class:"col-12 col-md-6"},a("form-control-number-masked",{key:"5a8e4040603858ff704da4c3c901d3903d0ed619",name:"tax_id",label:"Tax ID",defaultValue:e.tax_id,errorText:this.errors.tax_id,inputHandler:this.inputHandler,mask:n.US})),a("div",{key:"e3a9a7987837dbb026b3edb6c0659b8c45ddf3bc",class:"col-12"},a("form-control-text",{key:"fd826dbe012a25bfcaf456f3f2d3e300de3b81d8",name:"website_url",label:"Website URL",defaultValue:e.website_url,errorText:this.errors.website_url,inputHandler:this.inputHandler})),a("div",{key:"26cd8ff17604388d92f594193cde8a5005a727d1",class:"col-12 col-md-6"},a("form-control-text",{key:"cf5c1601d7d956656168d3819767cc912a35ea7c",name:"email",label:"Email Address",defaultValue:e.email,errorText:this.errors.email,inputHandler:this.inputHandler})),a("div",{key:"f94b1fa7cc39f3800404ce2ea2d46af70bf43b08",class:"col-12 col-md-6"},a("form-control-number-masked",{key:"ea73e0093f103c7bc5913ca1dc7625fde1ff09f6",name:"phone",label:"Phone Number",defaultValue:e.phone,errorText:this.errors.phone,inputHandler:this.inputHandler,mask:f.US})))))}},x=class{constructor(a){e(this,a),this.errors={},this.representative={},this.inputHandler=(e,a)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{representative:Object.assign(Object.assign({},this.formController.values.getValue().representative),{[e]:a})}))},this.onAddressFormUpdate=e=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{representative:Object.assign(Object.assign({},this.formController.values.getValue().representative),{address:Object.assign(Object.assign({},this.formController.values.getValue().representative.address),e)})}))},this.onDateOfBirthUpdate=e=>{const a=h(e.detail);this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{representative:Object.assign(Object.assign({},this.formController.values.getValue().representative),{dob_day:a.dob_day,dob_month:a.dob_month,dob_year:a.dob_year})}))}}get identificationNumberLabel(){return this.representative.ssn_last4?"Update SSN (optional)":"SSN"}componentDidLoad(){this.formController.errors.subscribe((e=>this.errors=Object.assign({},e.representative))),this.formController.values.subscribe((e=>this.representative=Object.assign({},e.representative)))}render(){const e=this.formController.getInitialValues().representative;return a(t,{key:"94097bf5ab94fc900918d44510ea8810f2a1984d"},a("fieldset",{key:"95619d9fa81838e5a08e191845a7343f8b3609ce"},a("legend",{key:"9ec4d2470dc31e3128c0d3351e3983dc07bca92e",part:l},"Representative"),a("div",{key:"a2b1d8ab98e3683c6ad57d6a6dfb259b27a8cd0f",class:"row gy-3"},a("div",{key:"ce36f02cde3b989b427418b7c09b92bcbc9638f1",class:"col-12 col-md-8"},a("form-control-text",{key:"7912bcd5f4f4d5870a08529d09a21994911a7262",name:"name",label:"Full Name",defaultValue:null==e?void 0:e.name,errorText:this.errors.name,inputHandler:this.inputHandler})),a("div",{key:"57f138c87e53aa0b555dc5d7ebe699c6207e5825",class:"col-12 col-md-4"},a("form-control-text",{key:"d98d5cfcb5f4a7e1dd9eb0e55844bb8a210bd305",name:"title",label:"Title",defaultValue:null==e?void 0:e.title,errorText:this.errors.title,inputHandler:this.inputHandler})),a("div",{key:"08093caed32f9124c48fc73e05b2e5ec698fac5d",class:"col-12 col-md-6"},a("form-control-text",{key:"ef868e698b2369934bfeee522d8f4a7ff4924074",name:"email",label:"Email Address",defaultValue:null==e?void 0:e.email,errorText:this.errors.email,inputHandler:this.inputHandler})),a("div",{key:"ffb1c8a6ccd2df1a198f679ad02d3921821939b9",class:"col-12 col-md-6"},a("form-control-number-masked",{key:"ce4cd6e4edacdc536f74b85341fe35dc4aae435e",name:"phone",label:"Phone Number",defaultValue:null==e?void 0:e.phone,errorText:this.errors.phone,inputHandler:this.inputHandler,mask:f.US})),a("div",{key:"27d97a8149ba81e7576e850c8c273298c8394f51",class:"col-12 col-md-4"},a("form-control-date",{key:"5cd76163b49822f9dcbd3339c89a0afffcc4247f",name:"dob_full",label:"Birth Date",defaultValue:null==e?void 0:e.dob_full,errorText:this.errors.dob_full,inputHandler:this.inputHandler,onFormControlInput:this.onDateOfBirthUpdate})),a("div",{key:"62bd3c48ccc31d7f36a00bc27eafefc3369226e3",class:"col-12 col-md-8"},a("form-control-number-masked",{key:"7d43730b2615e7b515ca6c66d90ceeb573e61d6a",name:"identification_number",label:this.identificationNumberLabel,defaultValue:null==e?void 0:e.identification_number,errorText:this.errors.identification_number,inputHandler:this.inputHandler,mask:b})),a("div",{key:"ec6cb5f493f5335f6b0490894577eb401f1c150a",class:"col-12"},a("justifi-identity-address-form",{key:"6ecffcd10914504148573e99a708cae6d6976cd2",errors:this.errors.address,defaultValues:null==e?void 0:e.address,handleFormUpdate:this.onAddressFormUpdate})))))}},j=class{constructor(a){e(this,a),this.errors={},this.inputHandler=this.inputHandler.bind(this)}componentDidLoad(){this.formController.errors.subscribe((e=>this.errors=Object.assign({},e))),this.formController.values.subscribe((e=>this.legal_address=Object.assign({},e.legal_address)))}inputHandler(e,a){this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{legal_address:Object.assign(Object.assign({},this.formController.values.getValue().legal_address),{[e]:a})}))}render(){var e,d,i,s,c,o,r,n,f,b,u,h;const y=this.formController.getInitialValues().legal_address;return a(t,{key:"3b391bb2404c911e1663835acf0d13e7aab73735"},a("fieldset",{key:"f5db5dd65ba422e05728b38e562d1140777f4208"},a("legend",{key:"a1e464501561d649b6b514de45967d84d5f69f2a",part:l},"Business Legal Address"),a("div",{key:"f64e06197c22f9d0cddb7b78d181aec203070612",class:"row gy-3"},a("div",{key:"0c5ed4640de17b420021beedf69fbf6fedc16b5e",class:"col-12"},a("form-control-text",{key:"449f633ae6ff84855258898a90f9adfc028b9685",name:"line1",label:"Legal Address",inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.line1,errorText:null===(d=null===(e=this.errors)||void 0===e?void 0:e.legal_address)||void 0===d?void 0:d.line1})),a("div",{key:"6cdc7bd96fbcdccf3d2da67ce2c0c110be6f215f",class:"col-12"},a("form-control-text",{key:"5d179741b7462cd569f43aaa16ea78a89dd2f7dd",name:"line2",label:"Address Line 2",inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.line2,errorText:null===(s=null===(i=this.errors)||void 0===i?void 0:i.legal_address)||void 0===s?void 0:s.line2})),a("div",{key:"55df7defd5dff8f7b56d639319c4067b53ce8fb8",class:"col-12"},a("form-control-text",{key:"dfb822432d69a8e53424faa4e5ffb00d25601836",name:"city",label:"City",inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.city,errorText:null===(o=null===(c=this.errors)||void 0===c?void 0:c.legal_address)||void 0===o?void 0:o.city})),a("div",{key:"533670b7a9b60d45bf05684b48c2034f99d4b484",class:"col-12"},a("form-control-select",{key:"f10ed112c00c798c1b482f8893ef04737deb1dc5",name:"state",label:"State",options:m,inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.state,errorText:null===(n=null===(r=this.errors)||void 0===r?void 0:r.legal_address)||void 0===n?void 0:n.state})),a("div",{key:"7d67e97ebbb48402ede6aed07fe72154cf3424fa",class:"col-12"},a("form-control-text",{key:"5bccb6167aac8b9f64254dc93376f51b6489c0c9",name:"postal_code",label:"Postal Code",inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.postal_code,errorText:null===(b=null===(f=this.errors)||void 0===f?void 0:f.legal_address)||void 0===b?void 0:b.postal_code,maxLength:5,keyDownHandler:v})),a("div",{key:"8a03c711d712e013590d5489d3bffa5145ac0a7a",class:"col-12"},a("form-control-select",{key:"e58697ad7a448ab860a8f72a053dbaf030faabbd",name:"country",label:"Country",options:[{label:"United States",value:"USA"}],inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.country,errorText:null===(h=null===(u=this.errors)||void 0===u?void 0:u.legal_address)||void 0===h?void 0:h.country,disabled:!0})))))}};export{y as form_alert,p as justifi_additional_questions,k as justifi_business_core_info,x as justifi_business_representative,j as justifi_legal_address_form}
@@ -0,0 +1 @@
1
+ import{r as e,c as t,h as i,H as o}from"./p-qipqIMyC.js";import{C as s}from"./p-ZpPDShvP.js";import{r as a}from"./p-RvUQ__Pq.js";import"./p-HXpYMWUU.js";const d=class{constructor(i){e(this,i),this.paymentMethodOptionSelected=t(this,"paymentMethodOptionSelected"),this.onPaymentMethodOptionClick=e=>{e.preventDefault(),this.paymentMethodOptionSelected.emit(this.paymentMethodOption)}}async resolvePaymentMethod(e){var t;return e.isValid?{token:null===(t=this.paymentMethodOption)||void 0===t?void 0:t.id}:{validationError:!0}}render(){var e,t,d;return i(o,{key:"5ec0e8509e57396844602de87fde994f5da2ba83",class:"payment-method"},i("div",{key:"f2a45d84e969cd04aca91d61f5819bfc85f558c9",class:"radio-list-item p-3",part:a,onClick:this.onPaymentMethodOptionClick},i("form-control-radio",{key:"1f4c35b2b6faa8ee42a1ee7347ddf2238b47fe50",name:"paymentMethodType",value:null===(e=this.paymentMethodOption)||void 0===e?void 0:e.id,checked:this.isSelected,label:`${s[null===(t=this.paymentMethodOption)||void 0===t?void 0:t.brand]||""} *${null===(d=this.paymentMethodOption)||void 0===d?void 0:d.acct_last_four}`})))}};export{d as justifi_saved_payment_method}
@@ -1 +1 @@
1
- import{r as t,c as s,h as a,H as e}from"./p-CHdklybh.js";import{b as i,T as o,a as r,c as h,l as c,U as f}from"./p-RvUQ__Pq.js";import{F as n}from"./p-DrXVtFfH.js";import{F as d}from"./p-BDGiGASo.js";import"./p-CZfYo5-1.js";import{f as l}from"./p-BHf9IqGw.js";import"./p-HXpYMWUU.js";const p=class{constructor(a){t(this,a),this.formControlInput=s(this,"formControlInput"),this.formControlBlur=s(this,"formControlBlur"),this.isFocused=!1,this.defaultValue="0",this.formatRawValue=t=>t.replace(/\D/g,""),this.formatDisplayValue=t=>l(+t,void 0,!0),this.updateInput=t=>{const s=this.formControl.name,a=this.formatRawValue(t);this.formControl.value=this.formatDisplayValue(a),this.inputHandler(s,a),this.formControlInput.emit({name:s,value:a})}}handleDefaultValueChange(t){this.updateInput(t)}componentDidLoad(){this.updateInput(this.defaultValue)}get inputPart(){return this.errorText?i:this.disabled?o:this.isFocused?r:h}render(){return a(e,{key:"fdd31eca7047ab022668fd4ad9ebbde3ec691508"},a("div",{key:"fda274a4e96edc22bb99e699faaa91b37b95a856",class:"form-group d-flex flex-column"},a("label",{key:"72e259579224953c92c9df1f7e32cda7344019ac",part:c,class:"form-label",htmlFor:this.name},this.label),a(n,{key:"f548c208758806082639372954d1634cd7202570",name:this.name,helpText:this.helpText}),a("div",{key:"3365f9842f780d2ce8903a798fdf71df7673aae7",class:"input-group"},a("span",{key:"c6f8169b97667ee821ba79aec2ea2e1b0d35e3f6",class:"input-group-text",part:f},"$"),a("input",{key:"d8995e95fd187dda908dbacba511547c13bb4b27",ref:t=>this.formControl=t,id:this.name,name:this.name,onFocus:()=>this.isFocused=!0,onBlur:()=>{this.isFocused=!1,this.formControlBlur.emit()},onInput:t=>this.updateInput(t.target.value),onKeyDown:this.keyDownHandler,onPaste:this.keyDownHandler,maxLength:this.maxLength,part:this.inputPart,class:this.errorText?"form-control is-invalid":"form-control",type:"text",disabled:this.disabled})),a(d,{key:"00127c5cdce079d88a8b902c16d960201ff3bce1",errorText:this.errorText,name:this.name})))}static get watchers(){return{defaultValue:["handleDefaultValueChange"]}}};export{p as form_control_monetary}
1
+ import{r as t,c as s,h as a,H as e}from"./p-qipqIMyC.js";import{b as i,T as o,a as r,c as h,l as c,U as n}from"./p-RvUQ__Pq.js";import{F as f}from"./p-oGKW57R8.js";import{F as d}from"./p-DCMrHeJI.js";import"./p-CZfYo5-1.js";import{f as l}from"./p-BHf9IqGw.js";import"./p-HXpYMWUU.js";const p=class{constructor(a){t(this,a),this.formControlInput=s(this,"formControlInput"),this.formControlBlur=s(this,"formControlBlur"),this.isFocused=!1,this.defaultValue="0",this.formatRawValue=t=>t.replace(/\D/g,""),this.formatDisplayValue=t=>l(+t,void 0,!0),this.updateInput=t=>{const s=this.formControl.name,a=this.formatRawValue(t);this.formControl.value=this.formatDisplayValue(a),this.inputHandler(s,a),this.formControlInput.emit({name:s,value:a})}}handleDefaultValueChange(t){this.updateInput(t)}componentDidLoad(){this.updateInput(this.defaultValue)}get inputPart(){return this.errorText?i:this.disabled?o:this.isFocused?r:h}render(){return a(e,{key:"fdd31eca7047ab022668fd4ad9ebbde3ec691508"},a("div",{key:"fda274a4e96edc22bb99e699faaa91b37b95a856",class:"form-group d-flex flex-column"},a("label",{key:"72e259579224953c92c9df1f7e32cda7344019ac",part:c,class:"form-label",htmlFor:this.name},this.label),a(f,{key:"f548c208758806082639372954d1634cd7202570",name:this.name,helpText:this.helpText}),a("div",{key:"3365f9842f780d2ce8903a798fdf71df7673aae7",class:"input-group"},a("span",{key:"c6f8169b97667ee821ba79aec2ea2e1b0d35e3f6",class:"input-group-text",part:n},"$"),a("input",{key:"d8995e95fd187dda908dbacba511547c13bb4b27",ref:t=>this.formControl=t,id:this.name,name:this.name,onFocus:()=>this.isFocused=!0,onBlur:()=>{this.isFocused=!1,this.formControlBlur.emit()},onInput:t=>this.updateInput(t.target.value),onKeyDown:this.keyDownHandler,onPaste:this.keyDownHandler,maxLength:this.maxLength,part:this.inputPart,class:this.errorText?"form-control is-invalid":"form-control",type:"text",disabled:this.disabled})),a(d,{key:"00127c5cdce079d88a8b902c16d960201ff3bce1",errorText:this.errorText,name:this.name})))}static get watchers(){return{defaultValue:["handleDefaultValueChange"]}}};export{p as form_control_monetary}
@@ -0,0 +1 @@
1
+ import{r as t,c as s,h as i,H as a}from"./p-qipqIMyC.js";import{I as e}from"./p-Ce_F4E0f.js";import{C as r}from"./p-B-iV5cYd.js";import{a2 as h,l as o,U as n,b as c,T as l,a as f}from"./p-RvUQ__Pq.js";import{F as d}from"./p-oGKW57R8.js";import{F as p}from"./p-DCMrHeJI.js";import"./p-CZfYo5-1.js";const m=class{constructor(i){t(this,i),this.formControlInput=s(this,"formControlInput"),this.formControlBlur=s(this,"formControlBlur"),this.imask=null,this.isFocused=!1,this.maskOptions=r.DECIMAL,this.initializeIMask=()=>{this.textInput&&(this.imask=e(this.textInput,this.maskOptions),this.imask.on("accept",(()=>{const t=this.imask.unmaskedValue;this.inputHandler(this.name,t),this.formControlInput.emit({name:this.name,value:t})})),this.textInput.addEventListener("blur",(()=>this.formControlBlur.emit())))},this.handleFormControlInput=t=>{const s=t.target.getAttribute("name");this.formControlInput.emit({name:s,value:this.imask.unmaskedValue})},this.updateInput=t=>{this.imask&&(this.imask.value=String(t))}}handleDefaultValueChange(t){this.updateInput(t)}componentDidLoad(){this.initializeIMask(),this.updateInput(this.defaultValue)}disconnectedCallback(){var t;null===(t=this.imask)||void 0===t||t.destroy()}get inputPart(){let t=h;return this.errorText&&(t=c),this.disabled&&(t=l),this.isFocused&&(t=f),t}render(){return i(a,{key:"8378b6d06aeeb48d1e3efed4d16b22655e2c23ff"},i("div",{key:"cc432cb0a138c336def8b55ac06aa933407d38ef",class:"form-group d-flex flex-column"},i("label",{key:"08119d56a108275c4f25d28f7b8074ca134c3b72",part:o,class:"form-label",htmlFor:this.name},this.label),i("div",{key:"bcf621d3cae2636304185197cb8d3f40f3f0f173",class:"input-group"},i("span",{key:"3ee602416b555c9bf561abc4055f0a2485762551",class:"input-group-text",part:n},"$"),i("input",{key:"54c1257a97daae319f5c0ce7556638790e3f286b",ref:t=>this.textInput=t,id:this.name,name:this.name,onFocus:()=>this.isFocused=!0,onBlur:()=>{this.isFocused=!1,this.formControlBlur.emit()},onInput:this.handleFormControlInput,part:this.inputPart,class:this.errorText?"form-control monetary is-invalid":"form-control monetary",type:"text",disabled:this.disabled})),i(d,{key:"b7458313a43d454ad8988f1e4548c7034a5d09d8",helpText:this.helpText,name:this.name}),i(p,{key:"8e59747949f4fa6697a3b7c083bcd6584d1f5411",errorText:this.errorText,name:this.name})))}static get watchers(){return{defaultValue:["handleDefaultValueChange"]}}};export{m as form_control_monetary_provisioning}
@@ -0,0 +1 @@
1
+ import{A as t}from"./p-BUa0YOaw.js";import"./p-Cjcsf8ku.js";import"./p-c4Mh3ZZ_.js";import"./p-CLHwhyvu.js";import"./p-BlJnA265.js";import"./p-BH0Xfn-F.js";const n=t();class e{async fetchBusiness(t,e){return n.get({endpoint:`entities/business/${t}`,authToken:e})}async patchBusiness(t,e,s){return n.patch({endpoint:`entities/business/${e}`,body:s,authToken:t})}}class s{async fetchIdentity(t,e){return n.get({endpoint:`entities/identity/${t}`,authToken:e})}async patchIdentity(t,e,s){return n.patch({endpoint:`entities/identity/${e}`,body:s,authToken:t})}async postIdentity(t,e){return n.post({endpoint:"entities/identity",body:e,authToken:t})}}class i{async postBankAccount(t,e){return n.post({endpoint:"entities/bank_accounts",body:e,authToken:t})}}class o{async postDocumentRecord(t,e){return n.post({endpoint:"entities/document",body:e,authToken:t})}}export{e as B,o as D,s as I,i as a}
@@ -1 +1 @@
1
- import{p as t}from"./p-C5FfYVaH.js";import{A as s}from"./p-Dph3Ao9s.js";import"./p-Cjcsf8ku.js";import"./p-c4Mh3ZZ_.js";import"./p-CLHwhyvu.js";import"./p-BlJnA265.js";import"./p-BH0Xfn-F.js";const i=s();class e{async record(t){return i.post({endpoint:"analytics",body:t})}}class o{constructor(t){this.handleCustomEvent=async t=>{await this.service.record(t)},window.location.origin.includes("localhost")||window.location.origin.includes("storybook")||(this.service=new e,this.componentInstance=t,this.setUpBasicData(),this.setupLifecycleTracking(),this.trackCustomEvents())}get resourceId(){return this.componentInstance.accountId||this.componentInstance.businessId||this.componentInstance.paymentId||this.componentInstance.payoutId||this.componentInstance.checkoutId}setUpBasicData(){this.basicData={component_name:this.componentInstance.tagName,component_version:t.version,client_user_agent:navigator.userAgent,client_platform:navigator.userAgent,client_origin:window.location.origin,resource_id:this.resourceId}}trackCustomEvents(){this.eventEmitters=["submit-event","error-event"],this.eventEmitters.forEach((t=>{"function"==typeof this.componentInstance.addEventListener&&this.componentInstance.addEventListener(t,(s=>this.handleCustomEvent({event_type:t,data:Object.assign(Object.assign({},this.basicData),{error:s.detail})})))}))}setupLifecycleTracking(){const t=this.componentInstance.componentDidLoad;this.componentInstance.componentDidLoad=()=>{if(this.service.record({event_type:"init",data:this.basicData}),t)return t.apply(this.componentInstance)}}cleanup(){this.eventEmitters&&this.eventEmitters.forEach((t=>{this.componentInstance.removeEventListener(t,this.handleCustomEvent)}))}}const n=async()=>{var s,i;if("undefined"!=typeof process&&("test"===(null===(s=process.env)||void 0===s?void 0:s.NODE_ENV)||(null===(i=process.env)||void 0===i?void 0:i.JEST_WORKER_ID)))return;const e=t.version,o=t.name,n=await(async t=>{const s=await fetch("https://registry.npmjs.org/"+t+"/latest");return(await s.json()).version})(o),r=n.replace(/-rc.*/,""),a=e.split("."),c=n.split(".");a[0]!==c[0]&&console.warn(`The package ${o} is out of date. The latest version is ${r}. Please update.`)};export{o as J,n as c}
1
+ import{p as t}from"./p-pXjOPQhG.js";import{A as s}from"./p-BUa0YOaw.js";import"./p-Cjcsf8ku.js";import"./p-c4Mh3ZZ_.js";import"./p-CLHwhyvu.js";import"./p-BlJnA265.js";import"./p-BH0Xfn-F.js";const i=s();class e{async record(t){return i.post({endpoint:"analytics",body:t})}}class o{constructor(t){this.handleCustomEvent=async t=>{await this.service.record(t)},window.location.origin.includes("localhost")||window.location.origin.includes("storybook")||(this.service=new e,this.componentInstance=t,this.setUpBasicData(),this.setupLifecycleTracking(),this.trackCustomEvents())}get resourceId(){return this.componentInstance.accountId||this.componentInstance.businessId||this.componentInstance.paymentId||this.componentInstance.payoutId||this.componentInstance.checkoutId}setUpBasicData(){this.basicData={component_name:this.componentInstance.tagName,component_version:t.version,client_user_agent:navigator.userAgent,client_platform:navigator.userAgent,client_origin:window.location.origin,resource_id:this.resourceId}}trackCustomEvents(){this.eventEmitters=["submit-event","error-event"],this.eventEmitters.forEach((t=>{"function"==typeof this.componentInstance.addEventListener&&this.componentInstance.addEventListener(t,(s=>this.handleCustomEvent({event_type:t,data:Object.assign(Object.assign({},this.basicData),{error:s.detail})})))}))}setupLifecycleTracking(){const t=this.componentInstance.componentDidLoad;this.componentInstance.componentDidLoad=()=>{if(this.service.record({event_type:"init",data:this.basicData}),t)return t.apply(this.componentInstance)}}cleanup(){this.eventEmitters&&this.eventEmitters.forEach((t=>{this.componentInstance.removeEventListener(t,this.handleCustomEvent)}))}}const n=async()=>{var s,i;if("undefined"!=typeof process&&("test"===(null===(s=process.env)||void 0===s?void 0:s.NODE_ENV)||(null===(i=process.env)||void 0===i?void 0:i.JEST_WORKER_ID)))return;const e=t.version,o=t.name,n=await(async t=>{const s=await fetch("https://registry.npmjs.org/"+t+"/latest");return(await s.json()).version})(o),r=n.replace(/-rc.*/,""),a=e.split("."),c=n.split(".");a[0]!==c[0]&&console.warn(`The package ${o} is out of date. The latest version is ${r}. Please update.`)};export{o as J,n as c}
@@ -1 +1 @@
1
- import{h as a}from"./p-CHdklybh.js";import{z as s,B as l,C as t}from"./p-RvUQ__Pq.js";const e=l=>a("main",{class:"p-4 d-flex justify-content-center text-center",style:{fontSize:"1.2rem"}},a("p",{part:s},l)),p=s=>a("h2",{part:t,class:"mt-4 fs-5 border-bottom pb-3"},s.sectionTitle),r=({title:l,value:t})=>l&&t?a("div",{class:"d-table-row gap-2"},a("span",{class:"fw-bold d-table-cell px-2",part:s},l),a("span",{class:"flex-1 d-table-cell px-2 text-wrap",part:s},t)):null,c=({title:l,value:e,classes:p})=>a("div",{class:`d-flex flex-column ${p}`},a("span",{class:"fw-bold border-1 border-bottom ps-2 pe-2",part:t},l),a("span",{class:"pt-2 ps-2 pe-2",part:s},e)),o=({title:t,slot:e,badge:p},r)=>a("div",{slot:e,class:"p-2"},a("div",{class:"d-flex flex-row align-items-center gap-2 mb-2"},a("h1",{class:"m-0",part:l},t),p),a("div",{class:"d-flex flex-row align-items-top",part:s},r)),d=({metadata:s})=>s&&Object.keys(s).length?a("div",{class:"mt-4"},a("pre",{class:"p-2","aria-label":"metadata content"},a("code",null,JSON.stringify(s,null,2)))):null;export{d as C,p as D,e as E,o as a,c as b,r as c}
1
+ import{h as a}from"./p-qipqIMyC.js";import{z as s,B as l,C as t}from"./p-RvUQ__Pq.js";const e=l=>a("main",{class:"p-4 d-flex justify-content-center text-center",style:{fontSize:"1.2rem"}},a("p",{part:s},l)),p=s=>a("h2",{part:t,class:"mt-4 fs-5 border-bottom pb-3"},s.sectionTitle),r=({title:l,value:t})=>l&&t?a("div",{class:"d-table-row gap-2"},a("span",{class:"fw-bold d-table-cell px-2",part:s},l),a("span",{class:"flex-1 d-table-cell px-2 text-wrap",part:s},t)):null,c=({title:l,value:e,classes:p})=>a("div",{class:`d-flex flex-column ${p}`},a("span",{class:"fw-bold border-1 border-bottom ps-2 pe-2",part:t},l),a("span",{class:"pt-2 ps-2 pe-2",part:s},e)),o=({title:t,slot:e,badge:p},r)=>a("div",{slot:e,class:"p-2"},a("div",{class:"d-flex flex-row align-items-center gap-2 mb-2"},a("h1",{class:"m-0",part:l},t),p),a("div",{class:"d-flex flex-row align-items-top",part:s},r)),d=({metadata:s})=>s&&Object.keys(s).length?a("div",{class:"mt-4"},a("pre",{class:"p-2","aria-label":"metadata content"},a("code",null,JSON.stringify(s,null,2)))):null;export{d as C,p as D,e as E,o as a,c as b,r as c}
@@ -1 +1 @@
1
- import{w as n,c as a}from"./p-BuWHmUFx.js";import{g as t}from"./p-BHf9IqGw.js";const o=()=>{async function o(o){const{authToken:e,endpoint:s,method:r,params:i,body:p,signal:c,headers:d}=o;await n();const u=`${a.apiOrigin}/v1/${s}`,h=i?`${u}?${new URLSearchParams(i)}`:u,m=await async function(n){return n?{Authorization:`Bearer ${n}`,"Idempotency-Key":t(),"Content-Type":"application/json"}:{"Content-Type":"application/json"}}(e),y=Object.assign(Object.assign({},m),d),T=await fetch(h,{method:r,headers:y,body:p,signal:c});if(T)return 204===T.status?{}:T.json();!function(n){console.error(`Error fetching from ${n}`)}(h)}return{get:async function(n){const{authToken:a,endpoint:t,params:e,signal:s,headers:r}=n;return o({authToken:a,endpoint:t,method:"GET",params:e,signal:s,headers:r})},post:async function(n){const{authToken:a,endpoint:t,body:e,params:s,signal:r,headers:i}=n;return o({authToken:a,endpoint:t,method:"POST",params:s,body:JSON.stringify(e),signal:r,headers:i})},put:async function(n){const{authToken:a,endpoint:t,body:e,params:s,signal:r}=n;return o({authToken:a,endpoint:t,method:"PUT",params:s,body:JSON.stringify(e),signal:r})},patch:async function(n){const{authToken:a,endpoint:t,body:e,params:s,signal:r}=n;return o({authToken:a,endpoint:t,method:"PATCH",params:s,body:JSON.stringify(e),signal:r})},destroy:async function(n){const{authToken:a,endpoint:t,params:e,signal:s}=n;return o({authToken:a,endpoint:t,method:"DELETE",params:e,signal:s})}}};export{o as A}
1
+ import{w as n,c as a}from"./p-Bp_QFeog.js";import{g as t}from"./p-BHf9IqGw.js";const o=()=>{async function o(o){const{authToken:e,endpoint:s,method:r,params:i,body:p,signal:c,headers:d}=o;await n();const h=`${a.apiOrigin}/v1/${s}`,u=i?`${h}?${new URLSearchParams(i)}`:h,m=await async function(n){return n?{Authorization:`Bearer ${n}`,"Idempotency-Key":t(),"Content-Type":"application/json"}:{"Content-Type":"application/json"}}(e),y=Object.assign(Object.assign({},m),d),T=await fetch(u,{method:r,headers:y,body:p,signal:c});if(T)return 204===T.status?{}:T.json();!function(n){console.error(`Error fetching from ${n}`)}(u)}return{get:async function(n){const{authToken:a,endpoint:t,params:e,signal:s,headers:r}=n;return o({authToken:a,endpoint:t,method:"GET",params:e,signal:s,headers:r})},post:async function(n){const{authToken:a,endpoint:t,body:e,params:s,signal:r,headers:i}=n;return o({authToken:a,endpoint:t,method:"POST",params:s,body:JSON.stringify(e),signal:r,headers:i})},put:async function(n){const{authToken:a,endpoint:t,body:e,params:s,signal:r}=n;return o({authToken:a,endpoint:t,method:"PUT",params:s,body:JSON.stringify(e),signal:r})},patch:async function(n){const{authToken:a,endpoint:t,body:e,params:s,signal:r}=n;return o({authToken:a,endpoint:t,method:"PATCH",params:s,body:JSON.stringify(e),signal:r})},destroy:async function(n){const{authToken:a,endpoint:t,params:e,signal:s}=n;return o({authToken:a,endpoint:t,method:"DELETE",params:e,signal:s})}}};export{o as A}
@@ -0,0 +1 @@
1
+ import{A as t}from"./p-BUa0YOaw.js";import"./p-Cjcsf8ku.js";import"./p-c4Mh3ZZ_.js";import"./p-CLHwhyvu.js";import"./p-BlJnA265.js";import"./p-BH0Xfn-F.js";const o=t();class e{async fetchCheckout(t,e){return o.get({endpoint:`checkouts/${e}`,authToken:t})}async fetchCheckouts(t,e,c){return o.get({endpoint:"checkouts",params:c,headers:{Account:t},authToken:e})}async complete(t,e,c){const s=`checkouts/${e}/complete`,n={payment_mode:c.payment_mode};return c.payment_token&&(n.payment_token=c.payment_token),o.post({endpoint:s,body:n,authToken:t})}}export{e as C}
@@ -1 +1 @@
1
- import{h as t}from"./p-CHdklybh.js";import{aj as a,am as s,an as e,ao as r,ap as l,aq as c,ar as n,as as o,at as p,ak as i}from"./p-RvUQ__Pq.js";import{S as b}from"./p-CkX-nM5d.js";const d=(a,s)=>t("div",Object.assign({class:"table-wrapper",part:"table-wrapper"},a),s),u=(s,e)=>t("table",Object.assign({class:"table table-hover",part:a},s),e),h=(a,s)=>t("tbody",Object.assign({class:"table-body"},a),s),m=(a,s)=>t("tr",Object.assign({part:r},a),s),j=(a,e)=>t("thead",Object.assign({class:"table-head sticky-top",part:s},a),e),g=(a,s)=>t("tr",Object.assign({class:"table-light text-nowrap",part:e},a),s),y=(a,s)=>t("tfoot",Object.assign({class:"sticky-bottom",part:l},a),s),O=(a,s)=>t("tr",Object.assign({class:"table-light align-middle",part:c},a),s),S=(a,s)=>t("td",Object.assign({part:n},a),s),k=a=>{const{columnSpan:s,isEmpty:e}=a;return s&&e?t("tr",null,t("td",{class:"empty-state",part:o,colSpan:s,style:{textAlign:"center"}},"No results")):null},x=a=>{const{columnSpan:s,errorMessage:e}=a;return s&&e?t("tr",null,t("td",{class:"error-state",part:p,colSpan:s,"data-test-id":"table-error-state",style:{textAlign:"center"}},"An unexpected error occurred: ",e)):null},f=a=>{const{columnSpan:s,isLoading:e}=a;return s&&e?t("tr",null,t("td",{class:"loading-state",part:i,colSpan:s,style:{textAlign:"center"}},t(b,null))):null};class w{get columnData(){return this.columnKeys.map((t=>this.tableColumns[t]()))}get rowData(){return this.collection.map(((t,a)=>this.columnKeys.map((s=>this.tableCells[s](t,a)))))}set collectionData(t){this.collection=t}constructor(t,a,s,e){this.columnKeys=a.split(","),this.collection=t,this.tableColumns=s,this.tableCells=e}}export{w as T,u as a,j as b,g as c,h as d,f as e,k as f,x as g,m as h,y as i,O as j,S as k,d as l}
1
+ import{h as t}from"./p-qipqIMyC.js";import{aj as a,am as s,an as e,ao as r,ap as l,aq as c,ar as n,as as o,at as p,ak as i}from"./p-RvUQ__Pq.js";import{S as b}from"./p-xY5RkFuA.js";const u=(a,s)=>t("div",Object.assign({class:"table-wrapper",part:"table-wrapper"},a),s),d=(s,e)=>t("table",Object.assign({class:"table table-hover",part:a},s),e),h=(a,s)=>t("tbody",Object.assign({class:"table-body"},a),s),m=(a,s)=>t("tr",Object.assign({part:r},a),s),j=(a,e)=>t("thead",Object.assign({class:"table-head sticky-top",part:s},a),e),g=(a,s)=>t("tr",Object.assign({class:"table-light text-nowrap",part:e},a),s),y=(a,s)=>t("tfoot",Object.assign({class:"sticky-bottom",part:l},a),s),O=(a,s)=>t("tr",Object.assign({class:"table-light align-middle",part:c},a),s),x=(a,s)=>t("td",Object.assign({part:n},a),s),S=a=>{const{columnSpan:s,isEmpty:e}=a;return s&&e?t("tr",null,t("td",{class:"empty-state",part:o,colSpan:s,style:{textAlign:"center"}},"No results")):null},f=a=>{const{columnSpan:s,errorMessage:e}=a;return s&&e?t("tr",null,t("td",{class:"error-state",part:p,colSpan:s,"data-test-id":"table-error-state",style:{textAlign:"center"}},"An unexpected error occurred: ",e)):null},k=a=>{const{columnSpan:s,isLoading:e}=a;return s&&e?t("tr",null,t("td",{class:"loading-state",part:i,colSpan:s,style:{textAlign:"center"}},t(b,null))):null};class A{get columnData(){return this.columnKeys.map((t=>this.tableColumns[t]()))}get rowData(){return this.collection.map(((t,a)=>this.columnKeys.map((s=>this.tableCells[s](t,a)))))}set collectionData(t){this.collection=t}constructor(t,a,s,e){this.columnKeys=a.split(","),this.collection=t,this.tableColumns=s,this.tableCells=e}}export{A as T,d as a,j as b,g as c,h as d,k as e,S as f,f as g,m as h,y as i,O as j,x as k,u as l}
@@ -1 +1 @@
1
- import{h as t}from"./p-CHdklybh.js";import{B as e,a as i}from"./p-D8uar3Ri.js";import{N as a,O as n}from"./p-RvUQ__Pq.js";import{h as r}from"./p-BHf9IqGw.js";const o="nickname,provider_serial_number,status",s={nickname:()=>t("th",{part:a,scope:"col",title:"The nickname associated with the terminal"},"Nickname"),model_name:()=>t("th",{part:a,scope:"col",title:"The model name of the terminal"},"Model Name"),id:()=>t("th",{part:a,scope:"col",title:"The ID of the terminal"},"ID"),provider:()=>t("th",{part:a,scope:"col",title:"The provider of the terminal"},"Provider"),provider_serial_number:()=>t("th",{part:a,scope:"col",title:"The serial number of the terminal"},"Serial Number"),device_id:()=>t("th",{part:a,scope:"col",title:"The device/provider ID of the terminal"},"Device ID"),sub_account_name:()=>t("th",{part:a,scope:"col",title:"The sub account associated with the terminal"},"Sub Account"),status:()=>t("th",{part:a,scope:"col",title:"The current status of each terminal"},"Status")},c={nickname:(e,i)=>t("td",{part:n(i)},e.nickname),model_name:(e,i)=>t("td",{part:n(i)},e.model_name),id:(e,i)=>t("td",{part:n(i)},e.id),provider:(e,i)=>t("td",{part:n(i)},r(e.provider)),provider_serial_number:(e,i)=>t("td",{part:n(i)},e.provider_serial_number),device_id:(e,i)=>t("td",{part:n(i)},e.provider_id),sub_account_name:(e,i)=>t("td",{part:n(i)},e.sub_account_name),status:(a,r)=>t("td",{part:n(r)},t(i,Object.assign({},{connected:{variant:e.SUCCESS,title:"This terminal is connected",text:"Connected"},disconnected:{variant:e.DANGER,title:"This terminal is disconnected",text:"Disconnected"},unknown:{variant:e.SECONDARY,title:"The status of this terminal is unknown",text:"Unknown"},pending_configuration:{variant:e.WARNING,title:"This terminal is pending configuration",text:"Pending configuration"}}[a.status])))};export{c as a,o as d,s as t}
1
+ import{h as t}from"./p-qipqIMyC.js";import{B as e,a as i}from"./p-D--yCspA.js";import{N as a,O as n}from"./p-RvUQ__Pq.js";import{h as r}from"./p-BHf9IqGw.js";const o="nickname,provider_serial_number,status",s={nickname:()=>t("th",{part:a,scope:"col",title:"The nickname associated with the terminal"},"Nickname"),model_name:()=>t("th",{part:a,scope:"col",title:"The model name of the terminal"},"Model Name"),id:()=>t("th",{part:a,scope:"col",title:"The ID of the terminal"},"ID"),provider:()=>t("th",{part:a,scope:"col",title:"The provider of the terminal"},"Provider"),provider_serial_number:()=>t("th",{part:a,scope:"col",title:"The serial number of the terminal"},"Serial Number"),device_id:()=>t("th",{part:a,scope:"col",title:"The device/provider ID of the terminal"},"Device ID"),sub_account_name:()=>t("th",{part:a,scope:"col",title:"The sub account associated with the terminal"},"Sub Account"),status:()=>t("th",{part:a,scope:"col",title:"The current status of each terminal"},"Status")},c={nickname:(e,i)=>t("td",{part:n(i)},e.nickname),model_name:(e,i)=>t("td",{part:n(i)},e.model_name),id:(e,i)=>t("td",{part:n(i)},e.id),provider:(e,i)=>t("td",{part:n(i)},r(e.provider)),provider_serial_number:(e,i)=>t("td",{part:n(i)},e.provider_serial_number),device_id:(e,i)=>t("td",{part:n(i)},e.provider_id),sub_account_name:(e,i)=>t("td",{part:n(i)},e.sub_account_name),status:(a,r)=>t("td",{part:n(r)},t(i,Object.assign({},{connected:{variant:e.SUCCESS,title:"This terminal is connected",text:"Connected"},disconnected:{variant:e.DANGER,title:"This terminal is disconnected",text:"Disconnected"},unknown:{variant:e.SECONDARY,title:"The status of this terminal is unknown",text:"Unknown"},pending_configuration:{variant:e.WARNING,title:"This terminal is pending configuration",text:"Pending configuration"}}[a.status])))};export{c as a,o as d,s as t}
@@ -0,0 +1 @@
1
+ import{h as o}from"./p-qipqIMyC.js";import{V as p}from"./p-RvUQ__Pq.js";const r=r=>o("h3",{class:`header-3 ${null==r?void 0:r.class}`,part:p},r.text);export{r as H}
@@ -1 +1 @@
1
- import{c as t}from"./p-DwBh6VCY.js";const s={apiOrigin:"https://wc-proxy.justifi.ai",iframeOrigin:"https://components.justifi.ai",accountId:""},i=t((()=>s)),{state:e}=i;let o;const a=new Promise((t=>{o=t})),c=t=>{Object.assign(e,t),o()},n=(t=200)=>new Promise((s=>{const i=setTimeout((()=>{s()}),t);a.then((()=>{clearTimeout(i),s()}))}));export{e as c,c as s,n as w}
1
+ import{c as t}from"./p-DsAwPf2y.js";const s={apiOrigin:"https://wc-proxy.justifi.ai",iframeOrigin:"https://components.justifi.ai",accountId:""},i=t((()=>s)),{state:e}=i;let o;const a=new Promise((t=>{o=t})),c=t=>{Object.assign(e,t),o()},n=(t=200)=>new Promise((s=>{const i=setTimeout((()=>{s()}),t);a.then((()=>{clearTimeout(i),s()}))}));export{e as c,c as s,n as w}
@@ -0,0 +1 @@
1
+ import{h as s}from"./p-qipqIMyC.js";import{C as t}from"./p-RvUQ__Pq.js";import{c as a}from"./p-DsAwPf2y.js";const r=a=>s("h2",{class:`header-2 ${null==a?void 0:a.class}`,part:t},a.text),o=a({}),{state:e,on:i}=o,n=a({}),{state:p}=n,l={},c=()=>{let s=!0;return Object.keys(e).forEach((t=>{null===e[t]?(p[t]=!0,s=!1):p[t]=!1})),{isValid:s}},m=(s,t)=>{const a=l.hasOwnProperty(s),r=l[s];if(!a)return l[s]=t,!1;const o=r!==t;return o&&(l[s]=t),o};export{r as H,p as a,i as b,m as h,e as i,c as v}
@@ -1 +1 @@
1
- import{A as o}from"./p-Dph3Ao9s.js";import{C as s}from"./p-Cjcsf8ku.js";import{S as r}from"./p-c4Mh3ZZ_.js";import"./p-CLHwhyvu.js";import"./p-BlJnA265.js";import"./p-BH0Xfn-F.js";import"./p-BuWHmUFx.js";import"./p-HXpYMWUU.js";import{g as t,a as c}from"./p-D2muobcE.js";const n=o();class a{async fetchSubAccounts(o,s,r){return n.get({authToken:s,endpoint:"sub_accounts",params:r,headers:{Account:o}})}}const p=({accountId:o,authToken:n,service:a})=>async({params:p,onSuccess:e,onError:i})=>{var u,m;try{const j=await a.fetchSubAccounts(o,n,p);if(j.error){return i({error:c(j.error),code:t(null===(m=j.error)||void 0===m?void 0:m.code),severity:s.ERROR})}{const o=Object.assign({},j.page_info);e({subAccounts:(null===(u=j.data)||void 0===u?void 0:u.map((o=>new r(o))))||[],pagingInfo:o})}}catch(o){const r=t(null==o?void 0:o.code);return i({error:o.message||o,code:r,severity:s.ERROR})}};export{a as S,p as m}
1
+ import{A as o}from"./p-BUa0YOaw.js";import{C as s}from"./p-Cjcsf8ku.js";import{S as r}from"./p-c4Mh3ZZ_.js";import"./p-CLHwhyvu.js";import"./p-BlJnA265.js";import"./p-BH0Xfn-F.js";import"./p-Bp_QFeog.js";import"./p-HXpYMWUU.js";import{g as t,a as c}from"./p-D2muobcE.js";const n=o();class a{async fetchSubAccounts(o,s,r){return n.get({authToken:s,endpoint:"sub_accounts",params:r,headers:{Account:o}})}}const p=({accountId:o,authToken:n,service:a})=>async({params:p,onSuccess:e,onError:i})=>{var u,m;try{const j=await a.fetchSubAccounts(o,n,p);if(j.error){return i({error:c(j.error),code:t(null===(m=j.error)||void 0===m?void 0:m.code),severity:s.ERROR})}{const o=Object.assign({},j.page_info);e({subAccounts:(null===(u=j.data)||void 0===u?void 0:u.map((o=>new r(o))))||[],pagingInfo:o})}}catch(o){const r=t(null==o?void 0:o.code);return i({error:o.message||o,code:r,severity:s.ERROR})}};export{a as S,p as m}
@@ -0,0 +1 @@
1
+ import{c as s}from"./p-DsAwPf2y.js";const t={},a={},o=s((()=>t)),{state:c,on:e}=o,p=s((()=>a)),{state:f}=p,j=()=>Object.assign(Object.assign({},c),f),r=()=>{o.reset()};export{r as c,c as f,j as g,e as o,f as p}