@justifi/webcomponents 6.0.1 → 6.0.3

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 (539) hide show
  1. package/dist/cjs/{Api-DdNOMYxI.js → Api-DqzbA2qk.js} +1 -1
  2. package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
  3. package/dist/cjs/{badge-Cp5ap9Ge.js → badge-BJVdpSU-.js} +1 -1
  4. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +5 -5
  5. package/dist/cjs/bank-account-form.cjs.entry.js +4 -4
  6. package/dist/cjs/business-details-core.cjs.entry.js +4 -4
  7. package/dist/cjs/{business.service-CjsXJOgZ.js → business.service-p5CmA9cj.js} +1 -1
  8. package/dist/cjs/{button-BMKiDxGa.js → button-_YJuE8cy.js} +1 -1
  9. package/dist/cjs/card-form.cjs.entry.js +4 -4
  10. package/dist/cjs/{check-pkg-version-C5MyAXgo.js → check-pkg-version-SEjmNETG.js} +2 -2
  11. package/dist/cjs/{checkout.service-o7fi8Z05.js → checkout.service-CdEdqW9C.js} +1 -1
  12. package/dist/cjs/{checkout.store-DrFb05Vr.js → checkout.store-DC4yVxDj.js} +2 -3
  13. package/dist/cjs/checkouts-list-core.cjs.entry.js +8 -8
  14. package/dist/cjs/{payouts-list-params-state-CKeoLpqm.js → checkouts-list-params-state-ARjo40Y9.js} +1 -1
  15. package/dist/cjs/{checkouts-table-Ckpk4UMS.js → checkouts-table-C102WCfy.js} +2 -2
  16. package/dist/cjs/{config-state-BXCZx6K8.js → config-state-BeZM7X7J.js} +1 -1
  17. package/dist/cjs/custom-popper_2.cjs.entry.js +1 -1
  18. package/dist/cjs/{dispute.service-BANG6pry.js → dispute.service-BL_WnOJH.js} +1 -1
  19. package/dist/cjs/form-alert_5.cjs.entry.js +1 -1
  20. package/dist/cjs/form-control-checkbox.cjs.entry.js +3 -3
  21. package/dist/cjs/form-control-date.cjs.entry.js +2 -2
  22. package/dist/cjs/{form-control-error-text-CA6tsCwq.js → form-control-error-text-DJzNQrEz.js} +1 -1
  23. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +2 -2
  24. package/dist/cjs/{form-control-help-text-sYroVd4u.js → form-control-help-text-DII6UDeq.js} +1 -1
  25. package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
  26. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +3 -3
  27. package/dist/cjs/form-control-monetary.cjs.entry.js +3 -3
  28. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +2 -2
  29. package/dist/cjs/form-control-number.cjs.entry.js +3 -3
  30. package/dist/cjs/form-control-radio.cjs.entry.js +1 -1
  31. package/dist/cjs/form-control-select_2.cjs.entry.js +2 -2
  32. package/dist/cjs/{get-payment-details-CqsEtJTg.js → get-payment-details-D4D-4Pre.js} +1 -1
  33. package/dist/cjs/{get-subaccounts-BfiiwPTB.js → get-subaccounts-CDUWJisG.js} +2 -2
  34. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +3 -3
  35. package/dist/cjs/{header-1-IQ1fI7he.js → header-1-Da7oKhXY.js} +1 -1
  36. package/dist/cjs/{header-3-CACJFFMS.js → header-3-uBM_CzcP.js} +1 -1
  37. package/dist/cjs/hidden-input_2.cjs.entry.js +4 -4
  38. package/dist/cjs/{index-8Prcj64P.js → index-CaAefsWD.js} +41 -19
  39. package/dist/cjs/{index-BGUnWLse.js → index-D-CfIyoF.js} +1 -1
  40. package/dist/cjs/{insurance-state-De4RWYBC.js → insurance-state-KJzYGtVr.js} +2 -2
  41. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +5 -5
  42. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +6 -6
  43. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +1 -1
  44. package/dist/cjs/justifi-apple-pay.cjs.entry.js +14 -10
  45. package/dist/cjs/justifi-bank-account-billing-form-simple_9.cjs.entry.js +11 -11
  46. package/dist/cjs/justifi-business-details.cjs.entry.js +8 -8
  47. package/dist/cjs/justifi-business-form.cjs.entry.js +11 -11
  48. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
  49. package/dist/cjs/justifi-checkout-summary_7.cjs.entry.js +13 -13
  50. package/dist/cjs/justifi-checkout.cjs.entry.js +15 -12
  51. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +5 -5
  52. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +11 -11
  53. package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
  54. package/dist/cjs/justifi-details.cjs.entry.js +2 -2
  55. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
  56. package/dist/cjs/justifi-dispute-management.cjs.entry.js +7 -7
  57. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +10 -10
  58. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +7 -7
  59. package/dist/cjs/justifi-order-terminals.cjs.entry.js +10 -10
  60. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +6 -6
  61. package/dist/cjs/justifi-payment-details.cjs.entry.js +9 -9
  62. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +3 -3
  63. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +7 -7
  64. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +10 -10
  65. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +4 -4
  66. package/dist/cjs/justifi-payments-list.cjs.entry.js +11 -11
  67. package/dist/cjs/justifi-payout-details.cjs.entry.js +8 -8
  68. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +10 -10
  69. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +4 -4
  70. package/dist/cjs/justifi-payouts-list.cjs.entry.js +12 -12
  71. package/dist/cjs/justifi-refund-payment.cjs.entry.js +11 -11
  72. package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +1 -1
  73. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +10 -10
  74. package/dist/cjs/justifi-skeleton.cjs.entry.js +3 -3
  75. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +5 -5
  76. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +9 -9
  77. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +5 -5
  78. package/dist/cjs/justifi-terminals-list.cjs.entry.js +11 -11
  79. package/dist/cjs/loader.cjs.js +2 -2
  80. package/dist/cjs/{package-D1CuLdpw.js → package-BOxe9RGf.js} +1 -1
  81. package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
  82. package/dist/cjs/payment-details-core.cjs.entry.js +6 -6
  83. package/dist/cjs/payment-method-option.cjs.entry.js +2 -2
  84. package/dist/cjs/{payment.service-Bk5f4yNM.js → payment.service-CCDyL3LO.js} +1 -1
  85. package/dist/cjs/payments-list-core.cjs.entry.js +9 -9
  86. package/dist/cjs/{terminal-orders-list-params-state-CKeoLpqm.js → payments-list-params-state-ARjo40Y9.js} +1 -1
  87. package/dist/cjs/{payments-status-B0mynjDF.js → payments-status-5IzqwLep.js} +2 -2
  88. package/dist/cjs/{payments-table-Dt_B6-wz.js → payments-table-BcZ6U6p8.js} +23 -3
  89. package/dist/cjs/payout-details-core.cjs.entry.js +7 -7
  90. package/dist/cjs/{payout.service-DYm731Kq.js → payout.service-CbeJ-k58.js} +1 -1
  91. package/dist/cjs/payouts-list-core.cjs.entry.js +9 -9
  92. package/dist/cjs/{checkouts-list-params-state-CKeoLpqm.js → payouts-list-params-state-ARjo40Y9.js} +1 -1
  93. package/dist/cjs/{payouts-status-MC0n0N1x.js → payouts-status-D38A6UrI.js} +2 -2
  94. package/dist/cjs/{payouts-table-CjJEGkLL.js → payouts-table-Cn_cCCOY.js} +2 -2
  95. package/dist/cjs/{skeleton-CMESEszj.js → skeleton-DlPP4i_w.js} +1 -1
  96. package/dist/cjs/{spinner-BePlCbOD.js → spinner-BNWG01hP.js} +1 -1
  97. package/dist/cjs/{styled-host-CvM9RrsT.js → styled-host-DSpt9LtB.js} +1 -1
  98. package/dist/cjs/{table-1JBgqBkL.js → table-CAWBqvW5.js} +2 -2
  99. package/dist/cjs/table-filters-menu.cjs.entry.js +2 -2
  100. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +8 -8
  101. package/dist/cjs/{payments-list-params-state-CKeoLpqm.js → terminal-orders-list-params-state-ARjo40Y9.js} +1 -1
  102. package/dist/cjs/{terminal-orders-table-DuvYC2f1.js → terminal-orders-table-D9Kwub30.js} +3 -3
  103. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
  104. package/dist/cjs/{terminal.service-B4FQ6roy.js → terminal.service-Fi0HP3oG.js} +1 -1
  105. package/dist/cjs/terminals-list-core.cjs.entry.js +8 -8
  106. package/dist/cjs/terminals-list-params-state-ARjo40Y9.js +22 -0
  107. package/dist/cjs/{terminals-table--d49kyCn.js → terminals-table-C2_M7SWl.js} +2 -2
  108. package/dist/cjs/{utils-BNjLFSUk.js → utils-C6mfHWv-.js} +1 -1
  109. package/dist/cjs/webcomponents.cjs.js +3 -3
  110. package/dist/collection/collection-manifest.json +1 -1
  111. package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +0 -1
  112. package/dist/collection/components/business-details/business-details-core.js +0 -1
  113. package/dist/collection/components/business-details/business-details.js +4 -4
  114. package/dist/collection/components/business-details/core-info-details/core-info-details.js +0 -1
  115. package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +0 -1
  116. package/dist/collection/components/business-details/owner-details/owner-details.js +0 -1
  117. package/dist/collection/components/business-details/representative-details/representative-details.js +0 -1
  118. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +0 -1
  119. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +0 -1
  120. package/dist/collection/components/business-forms/business-form/business-form.js +7 -7
  121. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +0 -1
  122. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +0 -1
  123. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +4 -5
  124. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +10 -14
  125. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +4 -5
  126. package/dist/collection/components/business-forms/owner-form/owner-form.js +12 -13
  127. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +2 -4
  128. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +6 -6
  129. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +2 -4
  130. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +6 -7
  131. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +4 -7
  132. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +6 -6
  133. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-documents-on-file.js +2 -2
  134. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +4 -6
  135. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +6 -6
  136. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +6 -8
  137. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +6 -6
  138. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +4 -5
  139. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +2 -4
  140. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +6 -6
  141. package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +13 -14
  142. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +2 -4
  143. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +6 -6
  144. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +7 -9
  145. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +8 -10
  146. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +7 -9
  147. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +6 -6
  148. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +6 -6
  149. package/dist/collection/components/checkout/billing-form/billing-form.js +8 -8
  150. package/dist/collection/components/checkout/checkout.js +17 -16
  151. package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
  152. package/dist/collection/components/checkout/saved-payment-method.js +2 -3
  153. package/dist/collection/components/checkouts-list/checkouts-list-core.js +2 -4
  154. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +4 -4
  155. package/dist/collection/components/checkouts-list/checkouts-list.js +5 -5
  156. package/dist/collection/components/config-provider/config-provider.js +3 -3
  157. package/dist/collection/components/dispute-management/dispute-management-core.js +4 -5
  158. package/dist/collection/components/dispute-management/dispute-management.js +4 -4
  159. package/dist/collection/components/dispute-management/dispute-notification.js +4 -5
  160. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +3 -3
  161. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +3 -3
  162. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +3 -3
  163. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -4
  164. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +5 -6
  165. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +3 -3
  166. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +3 -3
  167. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +3 -3
  168. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +3 -3
  169. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +3 -3
  170. package/dist/collection/components/filters/table-filters-menu.js +2 -3
  171. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +0 -1
  172. package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +4 -4
  173. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +26 -26
  174. package/dist/collection/components/modular-checkout/modular-checkout.js +4 -4
  175. package/dist/collection/components/modular-checkout/sub-components/apple-pay.js +16 -12
  176. package/dist/collection/components/modular-checkout/sub-components/bank-account-billing-form-simple.js +2 -2
  177. package/dist/collection/components/modular-checkout/sub-components/billing-form-full.js +2 -2
  178. package/dist/collection/components/modular-checkout/sub-components/card-billing-form-simple.js +2 -2
  179. package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +8 -9
  180. package/dist/collection/components/modular-checkout/sub-components/sezzle-payment-method.js +1 -1
  181. package/dist/collection/components/order-terminals/order-terminals.js +8 -8
  182. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +9 -9
  183. package/dist/collection/components/payment-details/payment-details-core.js +0 -1
  184. package/dist/collection/components/payment-details/payment-details.js +4 -4
  185. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +5 -5
  186. package/dist/collection/components/payments-list/payments-list-core.js +2 -3
  187. package/dist/collection/components/payments-list/payments-list-filters.js +10 -10
  188. package/dist/collection/components/payments-list/payments-list.js +5 -5
  189. package/dist/collection/components/payments-list/payments-table.js +21 -1
  190. package/dist/collection/components/payout-details/payout-details-core.js +0 -2
  191. package/dist/collection/components/payout-details/payout-details.js +4 -4
  192. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +5 -5
  193. package/dist/collection/components/payouts-list/payouts-list-core.js +2 -5
  194. package/dist/collection/components/payouts-list/payouts-list-filters.js +4 -4
  195. package/dist/collection/components/payouts-list/payouts-list.js +5 -5
  196. package/dist/collection/components/refund-payment/refund-payment.js +7 -7
  197. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +2 -3
  198. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +8 -8
  199. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +5 -5
  200. package/dist/collection/components/terminals-list/terminals-list-core.js +2 -4
  201. package/dist/collection/components/terminals-list/terminals-list-filters.js +6 -6
  202. package/dist/collection/components/terminals-list/terminals-list.js +5 -5
  203. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +19 -19
  204. package/dist/collection/store/checkout.store.js +1 -2
  205. package/dist/collection/ui-components/custom-popper/custom-popper.js +3 -5
  206. package/dist/collection/ui-components/details/details.js +2 -2
  207. package/dist/collection/ui-components/form/form-control-checkbox.js +12 -13
  208. package/dist/collection/ui-components/form/form-control-date.js +15 -16
  209. package/dist/collection/ui-components/form/form-control-file-v2.js +12 -13
  210. package/dist/collection/ui-components/form/form-control-file.js +14 -15
  211. package/dist/collection/ui-components/form/form-control-monetary.js +13 -15
  212. package/dist/collection/ui-components/form/form-control-number-masked.js +14 -15
  213. package/dist/collection/ui-components/form/form-control-number.js +12 -13
  214. package/dist/collection/ui-components/form/form-control-radio.js +14 -15
  215. package/dist/collection/ui-components/form/form-control-select.js +12 -14
  216. package/dist/collection/ui-components/form/form-control-text.js +14 -16
  217. package/dist/collection/ui-components/form/form-control-textarea.js +14 -16
  218. package/dist/collection/ui-components/form/form-helpers/form-alert/form-alert.js +4 -4
  219. package/dist/collection/ui-components/form/form-helpers/form-control-help-text/form-control-help-text.js +4 -4
  220. package/dist/collection/ui-components/form/form-helpers/form-control-tooltip/form-control-tooltip.js +2 -2
  221. package/dist/collection/ui-components/form/iframe-input.js +6 -6
  222. package/dist/collection/ui-components/pagination-menu/pagination-menu.js +0 -2
  223. package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +12 -13
  224. package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +5 -5
  225. package/dist/collection/ui-components/shadow-dom-components/justifi-radio-list-item.js +10 -10
  226. package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +8 -9
  227. package/dist/docs.json +2 -86
  228. package/dist/esm/{Api-CO0DBcUT.js → Api-BbW90wwj.js} +1 -1
  229. package/dist/esm/additional-questions-details_5.entry.js +2 -2
  230. package/dist/esm/{badge-CRAuWlVu.js → badge-DW9jKHdW.js} +1 -1
  231. package/dist/esm/bank-account-document-form-inputs_4.entry.js +5 -5
  232. package/dist/esm/bank-account-form.entry.js +4 -4
  233. package/dist/esm/business-details-core.entry.js +4 -4
  234. package/dist/esm/{business.service-D2tRoPny.js → business.service-HNdUBMkm.js} +1 -1
  235. package/dist/esm/{button-B2XlI-Uy.js → button-D-VwmUVo.js} +1 -1
  236. package/dist/esm/card-form.entry.js +4 -4
  237. package/dist/esm/{check-pkg-version-C_FhqYkP.js → check-pkg-version-CsarLZbU.js} +2 -2
  238. package/dist/esm/{checkout.service-BPYdgahN.js → checkout.service-DYVs75Gy.js} +1 -1
  239. package/dist/esm/{checkout.store-DPOk5eUh.js → checkout.store-DwJGKabu.js} +2 -3
  240. package/dist/esm/checkouts-list-core.entry.js +8 -8
  241. package/dist/esm/{checkouts-list-params-state-DmevqV6O.js → checkouts-list-params-state-BY5996_y.js} +1 -1
  242. package/dist/esm/{checkouts-table-DoHp51it.js → checkouts-table-DUOrylMo.js} +2 -2
  243. package/dist/esm/{config-state-Wdyw1F-s.js → config-state-C83RkI9h.js} +1 -1
  244. package/dist/esm/custom-popper_2.entry.js +1 -1
  245. package/dist/esm/{dispute.service-Ct6DFjKt.js → dispute.service-DFaj3knx.js} +1 -1
  246. package/dist/esm/form-alert_5.entry.js +1 -1
  247. package/dist/esm/form-control-checkbox.entry.js +3 -3
  248. package/dist/esm/form-control-date.entry.js +2 -2
  249. package/dist/esm/{form-control-error-text-Bn_rq8AC.js → form-control-error-text-JKQw7f0M.js} +1 -1
  250. package/dist/esm/form-control-file-v2_2.entry.js +2 -2
  251. package/dist/esm/{form-control-help-text-CuFo8IR5.js → form-control-help-text-CX3dYA9g.js} +1 -1
  252. package/dist/esm/form-control-help-text.entry.js +1 -1
  253. package/dist/esm/form-control-monetary-provisioning.entry.js +3 -3
  254. package/dist/esm/form-control-monetary.entry.js +3 -3
  255. package/dist/esm/form-control-number-masked_2.entry.js +2 -2
  256. package/dist/esm/form-control-number.entry.js +3 -3
  257. package/dist/esm/form-control-radio.entry.js +1 -1
  258. package/dist/esm/form-control-select_2.entry.js +2 -2
  259. package/dist/esm/{get-payment-details-BGQmxhRw.js → get-payment-details-fjgStHij.js} +1 -1
  260. package/dist/esm/{get-subaccounts-CYgVR2mk.js → get-subaccounts-DqSVZy-T.js} +2 -2
  261. package/dist/esm/gross-payment-chart-core.entry.js +3 -3
  262. package/dist/esm/{header-1-DWse7nuo.js → header-1-BUi8qSIO.js} +1 -1
  263. package/dist/esm/{header-3-CSgiRXQA.js → header-3-Bzmpcf2j.js} +1 -1
  264. package/dist/esm/hidden-input_2.entry.js +4 -4
  265. package/dist/esm/{index-DSUeaNWH.js → index-NOsb-hYl.js} +1 -1
  266. package/dist/esm/{index-CHdklybh.js → index-_b8l4IX7.js} +41 -19
  267. package/dist/esm/{insurance-state-DD0YD6c0.js → insurance-state-DxVv0qD1.js} +2 -2
  268. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +5 -5
  269. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +6 -6
  270. package/dist/esm/justifi-additional-statement_8.entry.js +1 -1
  271. package/dist/esm/justifi-apple-pay.entry.js +14 -10
  272. package/dist/esm/justifi-bank-account-billing-form-simple_9.entry.js +11 -11
  273. package/dist/esm/justifi-business-details.entry.js +8 -8
  274. package/dist/esm/justifi-business-form.entry.js +11 -11
  275. package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
  276. package/dist/esm/justifi-checkout-summary_7.entry.js +13 -13
  277. package/dist/esm/justifi-checkout.entry.js +15 -12
  278. package/dist/esm/justifi-checkouts-list-filters.entry.js +5 -5
  279. package/dist/esm/justifi-checkouts-list.entry.js +11 -11
  280. package/dist/esm/justifi-config-provider.entry.js +3 -3
  281. package/dist/esm/justifi-details.entry.js +2 -2
  282. package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
  283. package/dist/esm/justifi-dispute-management.entry.js +7 -7
  284. package/dist/esm/justifi-dispute-notification_3.entry.js +10 -10
  285. package/dist/esm/justifi-gross-payment-chart.entry.js +7 -7
  286. package/dist/esm/justifi-order-terminals.entry.js +10 -10
  287. package/dist/esm/justifi-owner-form_3.entry.js +6 -6
  288. package/dist/esm/justifi-payment-details.entry.js +9 -9
  289. package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -3
  290. package/dist/esm/justifi-payment-provisioning.entry.js +7 -7
  291. package/dist/esm/justifi-payment-transactions-list.entry.js +10 -10
  292. package/dist/esm/justifi-payments-list-filters.entry.js +4 -4
  293. package/dist/esm/justifi-payments-list.entry.js +11 -11
  294. package/dist/esm/justifi-payout-details.entry.js +8 -8
  295. package/dist/esm/justifi-payout-transactions-list.entry.js +10 -10
  296. package/dist/esm/justifi-payouts-list-filters.entry.js +4 -4
  297. package/dist/esm/justifi-payouts-list.entry.js +12 -12
  298. package/dist/esm/justifi-refund-payment.entry.js +11 -11
  299. package/dist/esm/justifi-saved-payment-method.entry.js +1 -1
  300. package/dist/esm/justifi-season-interruption-insurance.entry.js +10 -10
  301. package/dist/esm/justifi-skeleton.entry.js +3 -3
  302. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +5 -5
  303. package/dist/esm/justifi-terminal-orders-list.entry.js +9 -9
  304. package/dist/esm/justifi-terminals-list-filters.entry.js +5 -5
  305. package/dist/esm/justifi-terminals-list.entry.js +11 -11
  306. package/dist/esm/loader.js +3 -3
  307. package/dist/esm/{package-DgKuxw6L.js → package-BJqiCLSi.js} +1 -1
  308. package/dist/esm/pagination-menu.entry.js +1 -1
  309. package/dist/esm/payment-details-core.entry.js +6 -6
  310. package/dist/esm/payment-method-option.entry.js +2 -2
  311. package/dist/esm/{payment.service-D3ze0Zdq.js → payment.service-BVj1UPfl.js} +1 -1
  312. package/dist/esm/payments-list-core.entry.js +9 -9
  313. package/dist/esm/{payments-list-params-state-DmevqV6O.js → payments-list-params-state-BY5996_y.js} +1 -1
  314. package/dist/esm/{payments-status-DTmQyPO9.js → payments-status-9L6BRIlK.js} +2 -2
  315. package/dist/esm/{payments-table-CavY9USC.js → payments-table-Cmq40EQ4.js} +23 -3
  316. package/dist/esm/payout-details-core.entry.js +7 -7
  317. package/dist/esm/{payout.service-WXSktQvI.js → payout.service-BFT3xwZ-.js} +1 -1
  318. package/dist/esm/payouts-list-core.entry.js +9 -9
  319. package/dist/esm/{payouts-list-params-state-DmevqV6O.js → payouts-list-params-state-BY5996_y.js} +1 -1
  320. package/dist/esm/{payouts-status-DTXrGUWw.js → payouts-status-B-2CqmMM.js} +2 -2
  321. package/dist/esm/{payouts-table-3_J-SXvD.js → payouts-table-DH3fsjTN.js} +2 -2
  322. package/dist/esm/{skeleton-rMJsZa0a.js → skeleton-BHZe3qDB.js} +1 -1
  323. package/dist/esm/{spinner-8n0qh4tK.js → spinner-CQxNyMlA.js} +1 -1
  324. package/dist/esm/{styled-host-DQq-l92c.js → styled-host-hSGxxyFZ.js} +1 -1
  325. package/dist/esm/{table-BUJMzXYe.js → table-9QjsJPzY.js} +2 -2
  326. package/dist/esm/table-filters-menu.entry.js +2 -2
  327. package/dist/esm/terminal-orders-list-core.entry.js +8 -8
  328. package/dist/esm/{terminal-orders-list-params-state-DmevqV6O.js → terminal-orders-list-params-state-BY5996_y.js} +1 -1
  329. package/dist/esm/{terminal-orders-table-gBU8rU8X.js → terminal-orders-table-o6BqOQmd.js} +3 -3
  330. package/dist/esm/terminal-quantity-selector.entry.js +1 -1
  331. package/dist/esm/{terminal.service-DihXdEs3.js → terminal.service-Bvn7RUJD.js} +1 -1
  332. package/dist/esm/terminals-list-core.entry.js +8 -8
  333. package/dist/esm/terminals-list-params-state-BY5996_y.js +16 -0
  334. package/dist/esm/{terminals-table-64XluocE.js → terminals-table-D8MXWIgV.js} +2 -2
  335. package/dist/esm/{utils-BvJW0VpC.js → utils-Dvq8MT-5.js} +1 -1
  336. package/dist/esm/webcomponents.js +4 -4
  337. package/dist/module/additional-questions-details2.js +1 -1
  338. package/dist/module/additional-questions.js +1 -1
  339. package/dist/module/bank-account-document-inputs.js +2 -2
  340. package/dist/module/bank-account-form-inputs2.js +1 -1
  341. package/dist/module/business-additional-questions-form-step-core.js +2 -2
  342. package/dist/module/business-bank-account-form-step-core.js +3 -3
  343. package/dist/module/business-core-info-form-step-core.js +2 -2
  344. package/dist/module/business-core-info.js +1 -1
  345. package/dist/module/business-details-core2.js +1 -1
  346. package/dist/module/business-owners-form-step-core.js +2 -2
  347. package/dist/module/business-representative-form-inputs.js +1 -1
  348. package/dist/module/business-representative-form-step-core.js +2 -2
  349. package/dist/module/business-representative.js +1 -1
  350. package/dist/module/checkout.store.js +1 -2
  351. package/dist/module/checkouts-list-core2.js +2 -2
  352. package/dist/module/custom-popper2.js +1 -1
  353. package/dist/module/dispute-management-core.js +1 -1
  354. package/dist/module/dispute-response-core.js +3 -3
  355. package/dist/module/dispute-response.js +1 -1
  356. package/dist/module/form-control-checkbox2.js +1 -1
  357. package/dist/module/form-control-date2.js +1 -1
  358. package/dist/module/form-control-file-v22.js +1 -1
  359. package/dist/module/form-control-file2.js +1 -1
  360. package/dist/module/form-control-monetary-provisioning2.js +1 -1
  361. package/dist/module/form-control-monetary2.js +2 -2
  362. package/dist/module/form-control-number-masked2.js +1 -1
  363. package/dist/module/form-control-number.js +1 -1
  364. package/dist/module/form-control-radio2.js +1 -1
  365. package/dist/module/form-control-select2.js +1 -1
  366. package/dist/module/form-control-text2.js +2 -2
  367. package/dist/module/form-control-textarea2.js +2 -2
  368. package/dist/module/gross-payment-chart-core2.js +1 -1
  369. package/dist/module/identity-address-form.js +1 -1
  370. package/dist/module/justifi-apple-pay.js +7 -3
  371. package/dist/module/justifi-button2.js +1 -1
  372. package/dist/module/justifi-checkout.js +7 -5
  373. package/dist/module/justifi-saved-payment-method.js +1 -1
  374. package/dist/module/justifi-skeleton.js +1 -1
  375. package/dist/module/legal-address-details2.js +1 -1
  376. package/dist/module/legal-address-form-step-core.js +2 -2
  377. package/dist/module/legal-address-form.js +1 -1
  378. package/dist/module/owner-form-core2.js +4 -4
  379. package/dist/module/owner-form-inputs2.js +1 -1
  380. package/dist/module/owner-form.js +1 -1
  381. package/dist/module/package.js +1 -1
  382. package/dist/module/payment-details-core2.js +1 -1
  383. package/dist/module/payment-method-option.js +1 -1
  384. package/dist/module/payment-provisioning-core.js +2 -2
  385. package/dist/module/payment-provisioning-form-buttons.js +2 -2
  386. package/dist/module/payment-provisioning-form-steps.js +1 -1
  387. package/dist/module/payments-list-core2.js +22 -2
  388. package/dist/module/payout-details-core2.js +2 -2
  389. package/dist/module/payouts-list-core2.js +3 -3
  390. package/dist/module/sezzle-payment-method.js +1 -1
  391. package/dist/module/table-filters-menu2.js +1 -1
  392. package/dist/module/terminal-orders-list-core2.js +1 -1
  393. package/dist/module/terminals-list-core2.js +2 -2
  394. package/dist/types/components/payments-list/payments-table.d.ts +5 -2
  395. package/dist/types/stencil-public-runtime.d.ts +16 -2
  396. package/dist/types/store/checkout.store.d.ts +0 -1
  397. package/dist/webcomponents/p--Q5o_TsW.js +1 -0
  398. package/dist/webcomponents/{p-8b42eee7.entry.js → p-01d08c46.entry.js} +1 -1
  399. package/dist/webcomponents/{p-318a95e7.entry.js → p-07f1fc76.entry.js} +1 -1
  400. package/dist/webcomponents/{p-UmoEDufy.js → p-0X4UScXA.js} +1 -1
  401. package/dist/webcomponents/{p-671c059b.entry.js → p-0a0c3d2e.entry.js} +1 -1
  402. package/dist/webcomponents/{p-cf78e63a.entry.js → p-0cb1aeb5.entry.js} +1 -1
  403. package/dist/webcomponents/{p-0e85331b.entry.js → p-0e78165a.entry.js} +4 -4
  404. package/dist/webcomponents/{p-c53099b1.entry.js → p-12285f1d.entry.js} +1 -1
  405. package/dist/webcomponents/p-1a55e132.entry.js +1 -0
  406. package/dist/webcomponents/{p-664c9b1b.entry.js → p-1e9cce48.entry.js} +1 -1
  407. package/dist/webcomponents/{p-78c17caf.entry.js → p-2077bfcb.entry.js} +1 -1
  408. package/dist/webcomponents/{p-e01fe757.entry.js → p-26567243.entry.js} +1 -1
  409. package/dist/webcomponents/{p-8d507cf3.entry.js → p-27935f43.entry.js} +1 -1
  410. package/dist/webcomponents/p-2bcf512b.entry.js +1 -0
  411. package/dist/webcomponents/{p-d1fd3163.entry.js → p-2f20f12d.entry.js} +1 -1
  412. package/dist/webcomponents/{p-357c355e.entry.js → p-306facfd.entry.js} +1 -1
  413. package/dist/webcomponents/{p-f912f0bf.entry.js → p-352840d1.entry.js} +1 -1
  414. package/dist/webcomponents/{p-d817d7e4.entry.js → p-3ff931e0.entry.js} +1 -1
  415. package/dist/webcomponents/{p-b40aa9da.entry.js → p-4197f618.entry.js} +1 -1
  416. package/dist/webcomponents/{p-35f834e3.entry.js → p-493d61ee.entry.js} +1 -1
  417. package/dist/webcomponents/{p-4c7622ed.entry.js → p-4ad7c4e4.entry.js} +1 -1
  418. package/dist/webcomponents/{p-1a41c6ee.entry.js → p-4fa9dbaf.entry.js} +1 -1
  419. package/dist/webcomponents/{p-528300cf.entry.js → p-5666bf24.entry.js} +1 -1
  420. package/dist/webcomponents/{p-bc5698fe.entry.js → p-59bf0e57.entry.js} +1 -1
  421. package/dist/webcomponents/{p-4d60eadc.entry.js → p-5aea996a.entry.js} +1 -1
  422. package/dist/webcomponents/{p-8b414739.entry.js → p-5e1c32a8.entry.js} +1 -1
  423. package/dist/webcomponents/p-5f8e605d.entry.js +1 -0
  424. package/dist/webcomponents/{p-2ca59580.entry.js → p-6ea75d39.entry.js} +1 -1
  425. package/dist/webcomponents/{p-0c25d57b.entry.js → p-6f095d18.entry.js} +1 -1
  426. package/dist/webcomponents/{p-c96feb00.entry.js → p-706ed9a4.entry.js} +1 -1
  427. package/dist/webcomponents/{p-1a198ab4.entry.js → p-73b363c3.entry.js} +1 -1
  428. package/dist/webcomponents/{p-1a5f53f4.entry.js → p-7606d291.entry.js} +1 -1
  429. package/dist/webcomponents/{p-152436e2.entry.js → p-773fe3d5.entry.js} +1 -1
  430. package/dist/webcomponents/{p-fa1da976.entry.js → p-7a3625fd.entry.js} +1 -1
  431. package/dist/webcomponents/{p-ed401083.entry.js → p-7cbcd4e2.entry.js} +1 -1
  432. package/dist/webcomponents/{p-25344f42.entry.js → p-7f0a7e7b.entry.js} +1 -1
  433. package/dist/webcomponents/{p-9c110f7a.entry.js → p-83fbfc13.entry.js} +1 -1
  434. package/dist/webcomponents/{p-c7291c13.entry.js → p-87bc78dd.entry.js} +1 -1
  435. package/dist/webcomponents/{p-ae5bda0f.entry.js → p-89ba1e33.entry.js} +1 -1
  436. package/dist/webcomponents/p-8e53aa0f.entry.js +1 -0
  437. package/dist/webcomponents/{p-61980e9a.entry.js → p-961ce6e0.entry.js} +1 -1
  438. package/dist/webcomponents/{p-6b355861.entry.js → p-97806b41.entry.js} +1 -1
  439. package/dist/webcomponents/p-984877cf.entry.js +1 -0
  440. package/dist/webcomponents/{p-5f4b95f4.entry.js → p-98df1217.entry.js} +1 -1
  441. package/dist/webcomponents/{p-ab041aeb.entry.js → p-9b3f7ca8.entry.js} +1 -1
  442. package/dist/webcomponents/{p-b1a310d3.entry.js → p-9dbad387.entry.js} +1 -1
  443. package/dist/webcomponents/p-B5DH-8Hu.js +1 -0
  444. package/dist/webcomponents/p-B5pEp0j3.js +1 -0
  445. package/dist/webcomponents/p-BB1QN_ad.js +1 -0
  446. package/dist/webcomponents/{p-BB-9jeDZ.js → p-BIJv_7lO.js} +1 -1
  447. package/dist/webcomponents/p-BJqiCLSi.js +1 -0
  448. package/dist/webcomponents/p-BwpdCtUc.js +1 -0
  449. package/dist/webcomponents/p-C-Xuq6-V.js +1 -0
  450. package/dist/webcomponents/{p-CIN-y_rT.js → p-C5JcHf9j.js} +1 -1
  451. package/dist/webcomponents/{p-hzzlBrP2.js → p-CD34Wsj5.js} +1 -1
  452. package/dist/webcomponents/{p-Dph3Ao9s.js → p-CHHhmd53.js} +1 -1
  453. package/dist/webcomponents/{p-BSa0NCli.js → p-CHb8TI4t.js} +1 -1
  454. package/dist/webcomponents/{p-D8uar3Ri.js → p-CP3qJi4-.js} +1 -1
  455. package/dist/webcomponents/p-CQUZeo9r.js +1 -0
  456. package/dist/webcomponents/{p-mxgDrK6T.js → p-CTKBbXqz.js} +1 -1
  457. package/dist/webcomponents/p-CYNcSTQA.js +1 -0
  458. package/dist/webcomponents/{p-cSt1EbTB.js → p-CcbvC2Ka.js} +1 -1
  459. package/dist/webcomponents/{p-DrXVtFfH.js → p-D-Uy3_F6.js} +1 -1
  460. package/dist/webcomponents/p-D5lmImiz.js +1 -0
  461. package/dist/webcomponents/{p-c3Fl3YIP.js → p-DBhtCf8Q.js} +1 -1
  462. package/dist/webcomponents/p-DJvAvUUk.js +1 -0
  463. package/dist/webcomponents/p-DMf85Fkr.js +1 -0
  464. package/dist/webcomponents/p-DNPS-Ypi.js +1 -0
  465. package/dist/webcomponents/p-DS4bd1Ly.js +1 -0
  466. package/dist/webcomponents/{p-CXEvc-gI.js → p-DTwFW2k_.js} +1 -1
  467. package/dist/webcomponents/p-Deqr5HqS.js +1 -0
  468. package/dist/webcomponents/{p-DFNk_DP8.js → p-Ds3WY2yn.js} +1 -1
  469. package/dist/webcomponents/p-Ds3id60A.js +1 -0
  470. package/dist/webcomponents/{p-CkX-nM5d.js → p-DzIKz0KN.js} +1 -1
  471. package/dist/webcomponents/{p-BY5BgAd3.js → p-Ky4xxYXA.js} +1 -1
  472. package/dist/webcomponents/p-LO0pl3n2.js +1 -0
  473. package/dist/webcomponents/{p-BDGiGASo.js → p-PFTJLtE0.js} +1 -1
  474. package/dist/webcomponents/p-_b8l4IX7.js +2 -0
  475. package/dist/webcomponents/p-a5c0c9f2.entry.js +1 -0
  476. package/dist/webcomponents/{p-acff2899.entry.js → p-a6968952.entry.js} +1 -1
  477. package/dist/webcomponents/{p-ab0e20cd.entry.js → p-b46fe458.entry.js} +1 -1
  478. package/dist/webcomponents/{p-9fec7ff1.entry.js → p-b5b74d88.entry.js} +1 -1
  479. package/dist/webcomponents/{p-85d82d77.entry.js → p-b5decaab.entry.js} +1 -1
  480. package/dist/webcomponents/{p-4de4598e.entry.js → p-b76dc152.entry.js} +1 -1
  481. package/dist/webcomponents/p-ba7a2fc3.entry.js +1 -0
  482. package/dist/webcomponents/{p-5170419e.entry.js → p-c13fd9de.entry.js} +1 -1
  483. package/dist/webcomponents/{p-1835e531.entry.js → p-c3565fb9.entry.js} +1 -1
  484. package/dist/webcomponents/{p-dccdcac8.entry.js → p-c483a314.entry.js} +1 -1
  485. package/dist/webcomponents/{p-3b01c9c4.entry.js → p-caec04f5.entry.js} +1 -1
  486. package/dist/webcomponents/p-cafae964.entry.js +1 -0
  487. package/dist/webcomponents/p-cb468a49.entry.js +1 -0
  488. package/dist/webcomponents/{p-85a1f152.entry.js → p-d2939473.entry.js} +1 -1
  489. package/dist/webcomponents/{p-15e47d22.entry.js → p-d64a6a1a.entry.js} +1 -1
  490. package/dist/webcomponents/{p-c85cc2ca.entry.js → p-d75dc638.entry.js} +1 -1
  491. package/dist/webcomponents/{p-3bb7b07f.entry.js → p-dab3d798.entry.js} +1 -1
  492. package/dist/webcomponents/{p-3013484d.entry.js → p-dd6b3425.entry.js} +1 -1
  493. package/dist/webcomponents/{p-870cee9b.entry.js → p-e3d40d2d.entry.js} +1 -1
  494. package/dist/webcomponents/{p-7576e449.entry.js → p-e69c7a73.entry.js} +1 -1
  495. package/dist/webcomponents/{p-80feb885.entry.js → p-efc6de19.entry.js} +1 -1
  496. package/dist/webcomponents/{p-1d917338.entry.js → p-f6ccfa5c.entry.js} +1 -1
  497. package/dist/webcomponents/p-f9f5f1d6.entry.js +1 -0
  498. package/dist/webcomponents/{p-459053e8.entry.js → p-fde2b53d.entry.js} +1 -1
  499. package/dist/webcomponents/p-foAbmzSM.js +1 -0
  500. package/dist/webcomponents/{p-DwBh6VCY.js → p-hj8k0lRi.js} +1 -1
  501. package/dist/webcomponents/{p-f0Mcy7rH.js → p-lbKbwF1T.js} +1 -1
  502. package/dist/webcomponents/{p-DWMITBje.js → p-tKOKVSGI.js} +1 -1
  503. package/dist/webcomponents/p-wWzS_4kc.js +1 -0
  504. package/dist/webcomponents/webcomponents.esm.js +1 -1
  505. package/package.json +1 -1
  506. package/dist/cjs/terminals-list-params-state-CKeoLpqm.js +0 -22
  507. package/dist/collection/components/modular-checkout/sub-components/plaid-payment-method.test.js +0 -125
  508. package/dist/esm/terminals-list-params-state-DmevqV6O.js +0 -16
  509. package/dist/types/components/modular-checkout/sub-components/plaid-payment-method.test.d.ts +0 -1
  510. package/dist/webcomponents/p-06413c6f.entry.js +0 -1
  511. package/dist/webcomponents/p-27f20ccf.entry.js +0 -1
  512. package/dist/webcomponents/p-38Vv0Nju.js +0 -1
  513. package/dist/webcomponents/p-48c4f90a.entry.js +0 -1
  514. package/dist/webcomponents/p-67c9b5a1.entry.js +0 -1
  515. package/dist/webcomponents/p-92e9f862.entry.js +0 -1
  516. package/dist/webcomponents/p-BC2AKcRD.js +0 -1
  517. package/dist/webcomponents/p-BGRyC6Jk.js +0 -1
  518. package/dist/webcomponents/p-BVHUyJdS.js +0 -1
  519. package/dist/webcomponents/p-BffoVWib.js +0 -1
  520. package/dist/webcomponents/p-BuWHmUFx.js +0 -1
  521. package/dist/webcomponents/p-CHdklybh.js +0 -2
  522. package/dist/webcomponents/p-CVm_PxHa.js +0 -1
  523. package/dist/webcomponents/p-CZ27xhGU.js +0 -1
  524. package/dist/webcomponents/p-CZjKnrRR.js +0 -1
  525. package/dist/webcomponents/p-DFEjrRhP.js +0 -1
  526. package/dist/webcomponents/p-DbpL6AJS.js +0 -1
  527. package/dist/webcomponents/p-DcDYb1RC.js +0 -1
  528. package/dist/webcomponents/p-DgKuxw6L.js +0 -1
  529. package/dist/webcomponents/p-DhUrfS4M.js +0 -1
  530. package/dist/webcomponents/p-Dk0xo1G9.js +0 -1
  531. package/dist/webcomponents/p-DrRpEAef.js +0 -1
  532. package/dist/webcomponents/p-DsL9brW-.js +0 -1
  533. package/dist/webcomponents/p-WJLXezN2.js +0 -1
  534. package/dist/webcomponents/p-a1665817.entry.js +0 -1
  535. package/dist/webcomponents/p-a84ca6ce.entry.js +0 -1
  536. package/dist/webcomponents/p-f66c183e.entry.js +0 -1
  537. package/dist/webcomponents/p-fa53a04f.entry.js +0 -1
  538. package/dist/webcomponents/p-fc7b56c7.entry.js +0 -1
  539. package/dist/webcomponents/p-oIQjnSZa.js +0 -1
@@ -1,4 +1,4 @@
1
- declare type CustomMethodDecorator<T> = (target: Object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T> | void;
1
+ type CustomMethodDecorator<T> = (target: object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T> | void;
2
2
  type UnionToIntersection<U> = (U extends any ? (x: U) => void : never) extends (x: infer I) => void ? I : never;
3
3
  export interface ComponentDecorator {
4
4
  (opts?: ComponentOptions): ClassDecorator;
@@ -152,7 +152,13 @@ export interface StateDecorator {
152
152
  (): PropertyDecorator;
153
153
  }
154
154
  export interface WatchDecorator {
155
- (propName: string): CustomMethodDecorator<any>;
155
+ (propName: any): CustomMethodDecorator<(newValue?: any, oldValue?: any, propName?: any, ...args: any[]) => any | void>;
156
+ }
157
+ export interface PropSerializeDecorator {
158
+ (propName: any): CustomMethodDecorator<(newValue?: any, propName?: string, ...args: any[]) => string | null>;
159
+ }
160
+ export interface AttrDeserializeDecorator {
161
+ (propName: any): CustomMethodDecorator<(newValue?: any, propName?: string, ...args: any[]) => any>;
156
162
  }
157
163
  export interface UserBuildConditionals {
158
164
  isDev: boolean;
@@ -234,6 +240,14 @@ export declare const State: StateDecorator;
234
240
  * https://stenciljs.com/docs/reactive-data#watch-decorator
235
241
  */
236
242
  export declare const Watch: WatchDecorator;
243
+ /**
244
+ * Decorator to serialize a property to an attribute string.
245
+ */
246
+ export declare const PropSerialize: PropSerializeDecorator;
247
+ /**
248
+ * Decorator to deserialize an attribute string to a property.
249
+ */
250
+ export declare const AttrDeserialize: AttrDeserializeDecorator;
237
251
  export type ResolutionHandler = (elm: HTMLElement) => string | undefined | null;
238
252
  export type ErrorHandler = (err: any, element?: HTMLElement) => void;
239
253
  /**
@@ -14,7 +14,6 @@ interface IInitialState {
14
14
  checkoutLoaded: boolean;
15
15
  bankAccountVerification?: boolean;
16
16
  disableBankAccount: boolean;
17
- disableBnpl: boolean;
18
17
  disableCreditCard: boolean;
19
18
  disablePaymentMethodGroup: boolean;
20
19
  paymentAmount: number;
@@ -0,0 +1 @@
1
+ import{A as o}from"./p-CHHhmd53.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-DMf85Fkr.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 d=await a.fetchSubAccounts(o,n,p);if(d.error){return i({error:c(d.error),code:t(null===(m=d.error)||void 0===m?void 0:m.code),severity:s.ERROR})}{const o=Object.assign({},d.page_info);e({subAccounts:(null===(u=d.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 +1 @@
1
- import{h as e,r as a,c as t}from"./p-CHdklybh.js";import{e as s,d,s as i}from"./p-BHf9IqGw.js";import{M as c}from"./p-hzzlBrP2.js";import{a as f,b as l,D as b,c as h,C as r,E as o}from"./p-mxgDrK6T.js";import{S as y}from"./p-CXEvc-gI.js";import"./p-CZfYo5-1.js";import{S as p}from"./p-CVm_PxHa.js";import{a as n,B as v}from"./p-D8uar3Ri.js";import"./p-HXpYMWUU.js";import"./p-RvUQ__Pq.js";const k=()=>e("div",{class:"row gap-3"},e("div",{class:"col-12"},e(p,{width:"35%",height:"30px"})),e("div",{class:"col-12"},e(p,{width:"70%"})),e("div",{class:"col-12"},e(p,{width:"40%"})),e("div",{class:"col-12"},e(p,{width:"40%"})),e("div",{class:"col-12"},e(p,{width:"100%"})),e("div",{class:"col-12"},e(p,{width:"80%"}))),u=class{constructor(e){a(this,e),this.errorEvent=t(this,"error-event"),this.loading=!0}componentWillLoad(){this.getPaymentDetails&&this.fetchData()}updateOnPropChange(){this.fetchData()}fetchData(){this.loading=!0,this.getPaymentDetails({onSuccess:({payment:e})=>{this.payment=e,this.errorMessage=null},onError:({error:e,code:a,severity:t})=>{this.errorMessage=e,this.errorEvent.emit({errorCode:a,message:e,severity:t})},final:()=>{this.loading=!1}})}render(){return e(y,{key:"a94fc292445a0d8d3d77b0702fe5f19efc432634"},this.loading&&e(k,{key:"d07e44b295fd5ce424a0a67d21e3c4ceec4634f4"}),!this.loading&&this.errorMessage&&o(this.errorMessage),!this.loading&&!this.errorMessage&&this.payment&&e("justifi-details",{key:"c6cd0c034c948b4b96415b5bde6a3808dc1686e2","error-message":this.errorMessage},e(f,{key:"cff0b6a11617d68a42f20d6e3631097bafc34971",slot:"head-info",badge:e("div",{class:"d-flex gap-1"},c(this.payment.status),this.payment.expedited?e(n,{variant:v.WARNING,title:"Expedited",text:"Expedited"}):null),title:this.payment.formattedPaymentAmount(this.payment.amount)},e(l,{key:"a143d34fd230aa855286b1252b8e032f94fbd9a9",classes:"border-1 border-end",title:"Updated At",value:`${s(this.payment.updated_at)} ${d(this.payment.updated_at)}`}),e(l,{key:"96e5af4a6c37667a4be5bf27cdfec6a5ea3978fd",classes:"border-1 border-end",title:"Created At",value:`${s(this.payment.created_at)} ${d(this.payment.created_at)}`}),e(l,{key:"76f2fd4b5569ad4f6463fb36984e3d4309235473",title:"ID",value:this.payment.id})),e("div",{key:"9d5b04c789c248b358ffecfebac6b62a1d8f0a27",slot:"detail-sections"},e(b,{key:"78f20430c4935b222c954fdc6eba89e715f668fc",sectionTitle:"Details"}),e("div",{key:"77d314983116b6dd2fc9989c1987d2371b5902b7",class:"d-table gap-2 w-100"},e(h,{key:"41c4eb6797577967d4ee6bc6a546faf62bca48c6",title:"Amount",value:this.payment.formattedPaymentAmount(this.payment.amount)}),e(h,{key:"51308e304e515290f1d4e96fda9ed0b7c9523055",title:"Fees",value:this.payment.formattedPaymentAmount(this.payment.fee_amount)}),e(h,{key:"e6d24cb563963c8a540969437dd70674f04c02fc",title:"Refunded",value:this.payment.formattedPaymentAmount(this.payment.amount_refunded)}),e(h,{key:"1640fe0c210efb6193cc791624fd274299516f4e",title:"Net",value:this.payment.formattedPaymentAmount(this.payment.balance)}),e(h,{key:"9f2f34ef1aa4e2ec522ceda4bcdf398ede745c65",title:"Status",value:c(this.payment.status)}),e(h,{key:"9f1cf33ce4a80dc55efc2d88882e9f52933e4aaa",title:"Payment ID",value:this.payment.id}),e(h,{key:"2ec3eca801e5187912dc8107644270da03679a79",title:"Processing Fees",value:this.payment.formattedPaymentAmount(this.payment.fee_amount)}),e(h,{key:"14065f819a71be0bee5a7980f66d88852a96a152",title:"Statement Descriptor",value:this.payment.statement_descriptor}),e(h,{key:"7c5f72aaf86eaf7ef035cd359822988573a42862",title:"Description",value:this.payment.description}),e(h,{key:"b1081bad614684d8205ca3377e16bd2377d6da88",title:"Expedited",value:this.payment.expedited?"Yes":"No"})),this.payment.payment_method.card&&[e(b,{key:"a3e655f58e6482800dc53e55c5dd17d9e41ad08d",sectionTitle:"Payment Method"}),e("div",{key:"225667fced83ad89e25cfc19c950b870a2558308",class:"d-table gap-2 w-100"},e(h,{key:"58c44b427b356a3576584c6a59301efcab0ed67f",title:"ID",value:this.payment.payment_method.card.id}),e(h,{key:"a2b60b522a6fbed58ad06f0df88e551070faf752",title:"Payment Type",value:"Card"}),e(h,{key:"6e094728a62fcdd01d0fdadab0bce26894dcd4b6",title:"Last 4 Numbers",value:this.payment.payment_method.lastFourDigits}),e(h,{key:"3d703d83c3c7a115c6e64227a417997b63cf8748",title:"Brand",value:i(this.payment.payment_method.card.brand)}),e(h,{key:"cf5dd3615ce5770f071aad7f1144862f00af760d",title:"Cardholder",value:this.payment.payment_method.payersName}))],this.payment.payment_method.bank_account&&[e(b,{key:"8b167fe0967859af1555245634e4f6cdaae77ccf",sectionTitle:"Payment Method"}),e("div",{key:"3b84740a7e8f792b4f3987a88bff3e85003ea549",class:"d-table gap-2 w-100"},e(h,{key:"1ef1e3781ea046145c58c721f1abfb2183e81db1",title:"ID",value:this.payment.payment_method.bank_account.id}),e(h,{key:"383f4756aac8901eef21786d9c9c6ff5ce097d7d",title:"Last 4 Numbers",value:this.payment.last_four_digits}),e(h,{key:"3cbb0f11eaf47b3b3923d3371f33df95ca022bd8",title:"Bank Name",value:this.payment.payment_method.bank_account.brand}),e(h,{key:"b122e28ddb446b03b0a70b6cf3ac23fe84fd945d",title:"Account Owner",value:this.payment.payment_method.payersName}))],this.payment.metadata&&[e(b,{key:"5b6d6c2ade6badd80f8b6c4a4c6427710ba9ac66",sectionTitle:"Metadata"}),e("div",{key:"a3d59ae07f2601b0895624c0a640693ef076b71e",class:"d-table gap-2 w-100"},e(r,{key:"b61349ed2f6536b2131b05ed0e8e337733309117",metadata:this.payment.metadata}))])))}static get watchers(){return{getPaymentDetails:["updateOnPropChange"]}}};export{u as payment_details_core}
1
+ import{h as e,r as a,c as t}from"./p-_b8l4IX7.js";import{e as s,d,s as i}from"./p-BHf9IqGw.js";import{M as c}from"./p-CD34Wsj5.js";import{a as f,b as l,D as b,c as h,C as r,E as o}from"./p-CTKBbXqz.js";import{S as y}from"./p-DTwFW2k_.js";import"./p-CZfYo5-1.js";import{S as p}from"./p-DJvAvUUk.js";import{a as n,B as v}from"./p-CP3qJi4-.js";import"./p-HXpYMWUU.js";import"./p-RvUQ__Pq.js";const k=()=>e("div",{class:"row gap-3"},e("div",{class:"col-12"},e(p,{width:"35%",height:"30px"})),e("div",{class:"col-12"},e(p,{width:"70%"})),e("div",{class:"col-12"},e(p,{width:"40%"})),e("div",{class:"col-12"},e(p,{width:"40%"})),e("div",{class:"col-12"},e(p,{width:"100%"})),e("div",{class:"col-12"},e(p,{width:"80%"}))),u=class{constructor(e){a(this,e),this.errorEvent=t(this,"error-event"),this.loading=!0}componentWillLoad(){this.getPaymentDetails&&this.fetchData()}updateOnPropChange(){this.fetchData()}fetchData(){this.loading=!0,this.getPaymentDetails({onSuccess:({payment:e})=>{this.payment=e,this.errorMessage=null},onError:({error:e,code:a,severity:t})=>{this.errorMessage=e,this.errorEvent.emit({errorCode:a,message:e,severity:t})},final:()=>{this.loading=!1}})}render(){return e(y,{key:"a94fc292445a0d8d3d77b0702fe5f19efc432634"},this.loading&&e(k,{key:"d07e44b295fd5ce424a0a67d21e3c4ceec4634f4"}),!this.loading&&this.errorMessage&&o(this.errorMessage),!this.loading&&!this.errorMessage&&this.payment&&e("justifi-details",{key:"c6cd0c034c948b4b96415b5bde6a3808dc1686e2","error-message":this.errorMessage},e(f,{key:"cff0b6a11617d68a42f20d6e3631097bafc34971",slot:"head-info",badge:e("div",{class:"d-flex gap-1"},c(this.payment.status),this.payment.expedited?e(n,{variant:v.WARNING,title:"Expedited",text:"Expedited"}):null),title:this.payment.formattedPaymentAmount(this.payment.amount)},e(l,{key:"a143d34fd230aa855286b1252b8e032f94fbd9a9",classes:"border-1 border-end",title:"Updated At",value:`${s(this.payment.updated_at)} ${d(this.payment.updated_at)}`}),e(l,{key:"96e5af4a6c37667a4be5bf27cdfec6a5ea3978fd",classes:"border-1 border-end",title:"Created At",value:`${s(this.payment.created_at)} ${d(this.payment.created_at)}`}),e(l,{key:"76f2fd4b5569ad4f6463fb36984e3d4309235473",title:"ID",value:this.payment.id})),e("div",{key:"9d5b04c789c248b358ffecfebac6b62a1d8f0a27",slot:"detail-sections"},e(b,{key:"78f20430c4935b222c954fdc6eba89e715f668fc",sectionTitle:"Details"}),e("div",{key:"77d314983116b6dd2fc9989c1987d2371b5902b7",class:"d-table gap-2 w-100"},e(h,{key:"41c4eb6797577967d4ee6bc6a546faf62bca48c6",title:"Amount",value:this.payment.formattedPaymentAmount(this.payment.amount)}),e(h,{key:"51308e304e515290f1d4e96fda9ed0b7c9523055",title:"Fees",value:this.payment.formattedPaymentAmount(this.payment.fee_amount)}),e(h,{key:"e6d24cb563963c8a540969437dd70674f04c02fc",title:"Refunded",value:this.payment.formattedPaymentAmount(this.payment.amount_refunded)}),e(h,{key:"1640fe0c210efb6193cc791624fd274299516f4e",title:"Net",value:this.payment.formattedPaymentAmount(this.payment.balance)}),e(h,{key:"9f2f34ef1aa4e2ec522ceda4bcdf398ede745c65",title:"Status",value:c(this.payment.status)}),e(h,{key:"9f1cf33ce4a80dc55efc2d88882e9f52933e4aaa",title:"Payment ID",value:this.payment.id}),e(h,{key:"2ec3eca801e5187912dc8107644270da03679a79",title:"Processing Fees",value:this.payment.formattedPaymentAmount(this.payment.fee_amount)}),e(h,{key:"14065f819a71be0bee5a7980f66d88852a96a152",title:"Statement Descriptor",value:this.payment.statement_descriptor}),e(h,{key:"7c5f72aaf86eaf7ef035cd359822988573a42862",title:"Description",value:this.payment.description}),e(h,{key:"b1081bad614684d8205ca3377e16bd2377d6da88",title:"Expedited",value:this.payment.expedited?"Yes":"No"})),this.payment.payment_method.card&&[e(b,{key:"a3e655f58e6482800dc53e55c5dd17d9e41ad08d",sectionTitle:"Payment Method"}),e("div",{key:"225667fced83ad89e25cfc19c950b870a2558308",class:"d-table gap-2 w-100"},e(h,{key:"58c44b427b356a3576584c6a59301efcab0ed67f",title:"ID",value:this.payment.payment_method.card.id}),e(h,{key:"a2b60b522a6fbed58ad06f0df88e551070faf752",title:"Payment Type",value:"Card"}),e(h,{key:"6e094728a62fcdd01d0fdadab0bce26894dcd4b6",title:"Last 4 Numbers",value:this.payment.payment_method.lastFourDigits}),e(h,{key:"3d703d83c3c7a115c6e64227a417997b63cf8748",title:"Brand",value:i(this.payment.payment_method.card.brand)}),e(h,{key:"cf5dd3615ce5770f071aad7f1144862f00af760d",title:"Cardholder",value:this.payment.payment_method.payersName}))],this.payment.payment_method.bank_account&&[e(b,{key:"8b167fe0967859af1555245634e4f6cdaae77ccf",sectionTitle:"Payment Method"}),e("div",{key:"3b84740a7e8f792b4f3987a88bff3e85003ea549",class:"d-table gap-2 w-100"},e(h,{key:"1ef1e3781ea046145c58c721f1abfb2183e81db1",title:"ID",value:this.payment.payment_method.bank_account.id}),e(h,{key:"383f4756aac8901eef21786d9c9c6ff5ce097d7d",title:"Last 4 Numbers",value:this.payment.last_four_digits}),e(h,{key:"3cbb0f11eaf47b3b3923d3371f33df95ca022bd8",title:"Bank Name",value:this.payment.payment_method.bank_account.brand}),e(h,{key:"b122e28ddb446b03b0a70b6cf3ac23fe84fd945d",title:"Account Owner",value:this.payment.payment_method.payersName}))],this.payment.metadata&&[e(b,{key:"5b6d6c2ade6badd80f8b6c4a4c6427710ba9ac66",sectionTitle:"Metadata"}),e("div",{key:"a3d59ae07f2601b0895624c0a640693ef076b71e",class:"d-table gap-2 w-100"},e(r,{key:"b61349ed2f6536b2131b05ed0e8e337733309117",metadata:this.payment.metadata}))])))}static get watchers(){return{getPaymentDetails:["updateOnPropChange"]}}};export{u as payment_details_core}
@@ -1 +1 @@
1
- import{r as t,c as e,h as s,H as a,g as i}from"./p-CHdklybh.js";import{c as o,l as h,b as r,T as l,a as c}from"./p-RvUQ__Pq.js";import{F as f}from"./p-BDGiGASo.js";import"./p-CZfYo5-1.js";const n=class{constructor(s){t(this,s),this.formControlInput=e(this,"formControlInput"),this.formControlBlur=e(this,"formControlBlur"),this.isFocused=!1,this.handleFormControlInput=t=>{const e=t.target,s=e.getAttribute("name");this.inputHandler(s,e.value),this.formControlInput.emit(e.value)},this.updateInput=t=>{this.selectElement.value=t}}handleDefaultValueChange(t){this.updateInput(t)}componentDidLoad(){this.updateInput(this.defaultValue)}get part(){let t=o;return this.errorText&&(t=r),this.disabled&&(t=l),this.isFocused&&(t=c),t}render(){var t;return s(a,{key:"a7428cd8a89414d877dafe9948f5652f28c36a5f"},s("div",{key:"c9d5d5d2f8a6292484d3606d883dbb9d168aa316",class:"form-group d-flex flex-column"},s("div",{key:"c1aba6560934b966de02e9afef77428c6060eefb",class:"d-flex align-items-start gap-2"},s("label",{key:"5fbbb09c3955ff3285b006f24c3873082394d39c",part:h,class:"form-label",htmlFor:this.name},this.label),s("form-control-tooltip",{key:"f756a05a8273ab6fd65205bb5c32cd34c30a9db3",helpText:this.helpText})),s("select",{key:"ffd0fa461d3c35da5595e705a7c4068066d8f971",ref:t=>this.selectElement=t,id:this.name,name:this.name,onFocus:()=>this.isFocused=!0,onBlur:()=>{this.isFocused=!1,this.formControlBlur.emit()},onInput:this.handleFormControlInput,part:this.part,class:this.errorText?"form-select is-invalid":"form-select",disabled:this.disabled},null===(t=this.options)||void 0===t?void 0:t.map((t=>s("option",{value:t.value},t.label)))),s(f,{key:"6ee60bb236ccf7cea7bc8ccf946a363d2cd26906",errorText:this.errorText,name:this.name})))}static get watchers(){return{defaultValue:["handleDefaultValueChange"]}}},d=class{constructor(s){t(this,s),this.formControlInput=e(this,"formControlInput"),this.formControlBlur=e(this,"formControlBlur"),this.isFocused=!1,this.handleFormControlInput=t=>{const e=t.target,s=e.getAttribute("name");this.inputHandler(s,e.value),this.formControlInput.emit({name:s,value:e.value})},this.updateInput=t=>{const e=this.el.querySelector("input");e&&(e.value=t||"")}}handleDefaultValueChange(t){this.updateInput(t)}componentDidLoad(){this.updateInput(this.defaultValue)}get part(){return this.errorText?r:this.disabled?l:this.isFocused?c:o}render(){return s(a,{key:"71473077484c65dce4e3311db05a194f642a37c8"},s("div",{key:"fbceee0b9fae4f05e1310a97c009fa5a97866ea4",class:"form-group d-flex flex-column"},s("div",{key:"c5b6cc944e8a1a7aafe136e67e5f37772f364cd6",class:"d-flex align-items-start gap-2"},s("label",{key:"029a560a612b7e00f4d67c7adc2b5bdffa85cb53",part:h,class:"form-label",htmlFor:this.name},this.label),s("form-control-tooltip",{key:"3d8b3a41a599dc2f59171befb532c0cd219adba5",helpText:this.helpText})),s("input",{key:"2510c95b50bb26d00fb2975e38fde9efb7a6986e",id:this.name,name:this.name,onFocus:()=>this.isFocused=!0,onBlur:()=>{this.isFocused=!1,this.formControlBlur.emit()},onInput:this.handleFormControlInput,onKeyDown:this.keyDownHandler,onPaste:this.keyDownHandler,maxLength:this.maxLength,part:this.part,class:this.errorText?"form-control is-invalid":"form-control",type:"text",disabled:this.disabled}),s(f,{key:"feff4a3d104ea6f74a8d7049f79b8c2850b308a9",errorText:this.errorText,name:this.name})))}get el(){return i(this)}static get watchers(){return{defaultValue:["handleDefaultValueChange"]}}};export{n as form_control_select,d as form_control_text}
1
+ import{r as t,c as e,h as s,H as a,g as i}from"./p-_b8l4IX7.js";import{c as o,l as h,b as r,T as l,a as c}from"./p-RvUQ__Pq.js";import{F as f}from"./p-PFTJLtE0.js";import"./p-CZfYo5-1.js";const n=class{constructor(s){t(this,s),this.formControlInput=e(this,"formControlInput"),this.formControlBlur=e(this,"formControlBlur"),this.isFocused=!1,this.handleFormControlInput=t=>{const e=t.target,s=e.getAttribute("name");this.inputHandler(s,e.value),this.formControlInput.emit(e.value)},this.updateInput=t=>{this.selectElement.value=t}}handleDefaultValueChange(t){this.updateInput(t)}componentDidLoad(){this.updateInput(this.defaultValue)}get part(){let t=o;return this.errorText&&(t=r),this.disabled&&(t=l),this.isFocused&&(t=c),t}render(){var t;return s(a,{key:"a7428cd8a89414d877dafe9948f5652f28c36a5f"},s("div",{key:"c9d5d5d2f8a6292484d3606d883dbb9d168aa316",class:"form-group d-flex flex-column"},s("div",{key:"c1aba6560934b966de02e9afef77428c6060eefb",class:"d-flex align-items-start gap-2"},s("label",{key:"5fbbb09c3955ff3285b006f24c3873082394d39c",part:h,class:"form-label",htmlFor:this.name},this.label),s("form-control-tooltip",{key:"f756a05a8273ab6fd65205bb5c32cd34c30a9db3",helpText:this.helpText})),s("select",{key:"ffd0fa461d3c35da5595e705a7c4068066d8f971",ref:t=>this.selectElement=t,id:this.name,name:this.name,onFocus:()=>this.isFocused=!0,onBlur:()=>{this.isFocused=!1,this.formControlBlur.emit()},onInput:this.handleFormControlInput,part:this.part,class:this.errorText?"form-select is-invalid":"form-select",disabled:this.disabled},null===(t=this.options)||void 0===t?void 0:t.map((t=>s("option",{value:t.value},t.label)))),s(f,{key:"6ee60bb236ccf7cea7bc8ccf946a363d2cd26906",errorText:this.errorText,name:this.name})))}static get watchers(){return{defaultValue:["handleDefaultValueChange"]}}},d=class{constructor(s){t(this,s),this.formControlInput=e(this,"formControlInput"),this.formControlBlur=e(this,"formControlBlur"),this.isFocused=!1,this.handleFormControlInput=t=>{const e=t.target,s=e.getAttribute("name");this.inputHandler(s,e.value),this.formControlInput.emit({name:s,value:e.value})},this.updateInput=t=>{const e=this.el.querySelector("input");e&&(e.value=t||"")}}handleDefaultValueChange(t){this.updateInput(t)}componentDidLoad(){this.updateInput(this.defaultValue)}get part(){return this.errorText?r:this.disabled?l:this.isFocused?c:o}render(){return s(a,{key:"71473077484c65dce4e3311db05a194f642a37c8"},s("div",{key:"fbceee0b9fae4f05e1310a97c009fa5a97866ea4",class:"form-group d-flex flex-column"},s("div",{key:"c5b6cc944e8a1a7aafe136e67e5f37772f364cd6",class:"d-flex align-items-start gap-2"},s("label",{key:"029a560a612b7e00f4d67c7adc2b5bdffa85cb53",part:h,class:"form-label",htmlFor:this.name},this.label),s("form-control-tooltip",{key:"3d8b3a41a599dc2f59171befb532c0cd219adba5",helpText:this.helpText})),s("input",{key:"2510c95b50bb26d00fb2975e38fde9efb7a6986e",id:this.name,name:this.name,onFocus:()=>this.isFocused=!0,onBlur:()=>{this.isFocused=!1,this.formControlBlur.emit()},onInput:this.handleFormControlInput,onKeyDown:this.keyDownHandler,onPaste:this.keyDownHandler,maxLength:this.maxLength,part:this.part,class:this.errorText?"form-control is-invalid":"form-control",type:"text",disabled:this.disabled}),s(f,{key:"feff4a3d104ea6f74a8d7049f79b8c2850b308a9",errorText:this.errorText,name:this.name})))}get el(){return i(this)}static get watchers(){return{defaultValue:["handleDefaultValueChange"]}}};export{n as form_control_select,d as form_control_text}
@@ -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-_b8l4IX7.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-DzIKz0KN.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),S=(a,s)=>t("td",Object.assign({part:n},a),s),x=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 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,d as a,j as b,g as c,h as d,k as e,x as f,f as g,m as h,y as i,O as j,S as k,u as l}
@@ -1 +1 @@
1
- import{h as t,r as s,c as e}from"./p-CHdklybh.js";import{c as r,a as i,F as o}from"./p-DiJD6Iqx.js";import{f as n}from"./p-BHf9IqGw.js";import"./p-BuWHmUFx.js";import{C as a,a as u}from"./p-Cjcsf8ku.js";import{R as l,j as m}from"./p-c4Mh3ZZ_.js";import"./p-CLHwhyvu.js";import"./p-BlJnA265.js";import"./p-BH0Xfn-F.js";import{B as h}from"./p-BB-9jeDZ.js";import{S as p}from"./p-CXEvc-gI.js";import"./p-CZfYo5-1.js";import{P as c}from"./p-CIN-y_rT.js";import{m as d}from"./p-Dk0xo1G9.js";import{c as f,J as j}from"./p-cSt1EbTB.js";import{g as v,a as y}from"./p-D2muobcE.js";import{A as b}from"./p-Dph3Ao9s.js";import{S as w}from"./p-CVm_PxHa.js";import"./p-BFTU3MAI.js";import"./p-HXpYMWUU.js";import"./p-DwBh6VCY.js";import"./p-Dt-vy9Le.js";import"./p-BX8GieXu.js";import"./p-RvUQ__Pq.js";import"./p-DgKuxw6L.js";const x=t=>{const s=+t;return i().required("Amount is required").test("max-amount",`Refund amount cannot be more than payment amount: ${n(s)}`,(function(t){return+t<=+s})).test("min-amount","Refund amount must be greater than 0",(function(t){return+t>0}))},g=t=>{if(t)return r({amount:x(t),description:i().optional(),reason:i().optional().oneOf([l.customerRequest,l.duplicate,l.fraudulent],"Select a reason")})},C=[{label:"Select a reason",value:""},{label:"Customer requested a refund",value:"customer_request"},{label:"Customer was double-charged",value:"duplicate"},{label:"Payment was reported as fraud",value:"fraudulent"}],B=b();class A{async postRefund(t,s,e,r){return B.post({endpoint:`payments/${t}/refunds`,headers:{"Sub-Account":s},body:r,authToken:e})}}const I=()=>t("div",{class:"row gap-3"},t("div",{class:"col-12"},t(w,{width:"100%",height:"40px"}))),T=()=>t(p,null,t("div",{class:"row gap-5"},t(I,null),t(I,null),t(I,null))),k=class{constructor(t){s(this,t),this.errorEvent=e(this,"error-event"),this.submitEvent=e(this,"submit-event"),this.refundPayload={},this.displayAmount="",this.errors={},this.paymentLoading=!0,this.refundLoading=!1,this.hideSubmitButton=!1,this.inputHandler=(t,s)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[t]:s}))}}componentWillLoad(){f(),this.analytics=new j(this),this.initializeApi(),this.formController=new o(g())}handleError(t,s,e){this.errorEvent.emit({errorCode:t,message:s,severity:e})}checkAmount(t){return t>0}handleInvalidAmount(){this.submitDisabled=!0,this.handleError(u.INVALID_REFUND_AMOUNT,"Refund amount must be greater than 0",a.ERROR)}initializeFormController(){const t=this.refundPayload.amount,s=t?t.toString():"0";this.formController=new o(g(s)),this.formController.setInitialValues({amount:s}),this.formController.values.subscribe((t=>{this.refundPayload=Object.assign({},t)})),this.formController.errors.subscribe((t=>{this.errors=Object.assign({},t)}))}initializeApi(){this.paymentId&&this.authToken?d({id:this.paymentId,authToken:this.authToken,service:new c})({onSuccess:({payment:t})=>{this.refundPayload=new m({amount:t.amount_refundable})},onError:({error:t,code:s,severity:e})=>{this.handleError(s,t,e)},final:()=>{this.checkAmount(this.refundPayload.amount)?this.initializeFormController():this.handleInvalidAmount(),this.paymentLoading=!1}}):this.handleError(u.MISSING_PROPS,"Payment ID and Auth Token are required",a.ERROR)}async refundPayment(t){if(t&&t.preventDefault(),!await this.formController.validate())return;const s=(({authToken:t,accountId:s,paymentId:e,service:r})=>async({refundBody:i,onSuccess:o,onError:n,final:u})=>{var l;try{const u=await r.postRefund(e,s,t,i);if(u.error)return n({error:y(u.error),code:v(null===(l=u.error)||void 0===l?void 0:l.code),severity:a.ERROR});o(u)}catch(t){const s=v(null==t?void 0:t.code);return n({error:t.message||t,code:s,severity:a.ERROR})}finally{return u()}})({authToken:this.authToken,accountId:this.accountId,paymentId:this.paymentId,service:new A}),e=this.formController.values.getValue();return this.refundLoading=!0,new Promise((t=>{let r;s({refundBody:e,onSuccess:t=>{r=t},onError:({error:t,code:s,severity:e})=>{r=t,this.handleError(t,s,e)},final:()=>{this.submitEvent.emit({response:r}),this.submitDisabled=!0,this.refundLoading=!1,t(r.data)}})}))}render(){if(this.paymentLoading)return t(T,null);const s=this.formController.getInitialValues(),e=this.refundPayload.amount;return t(p,null,t("form",null,t("fieldset",null,t("div",{class:"row gy-3"},t("div",{class:"col-12"},t("form-control-monetary",{name:"amount",label:"Refund Amount",defaultValue:s.amount,inputHandler:this.inputHandler,errorText:this.errors.amount})),t("div",{class:"col-12"},t("form-control-select",{name:"reason",label:"Reason for refund (optional)",defaultValue:s.reason,inputHandler:this.inputHandler,options:C,errorText:this.errors.reason})),t("div",{class:"col-12"},t("form-control-textarea",{name:"description",label:"Note (optional)",defaultValue:s.description,inputHandler:this.inputHandler,maxLength:250,errorText:this.errors.description})),t("div",{class:"form-group d-flex flex-row-reverse"},t(h,{variant:"primary",type:"submit",onClick:this.refundPayment.bind(this),isLoading:this.paymentLoading||this.refundLoading,hidden:this.hideSubmitButton,disabled:this.submitDisabled},`Refund ${n(+e)}`))))))}};export{k as justifi_refund_payment}
1
+ import{h as t,r as s,c as e}from"./p-_b8l4IX7.js";import{c as r,a as i,F as o}from"./p-DiJD6Iqx.js";import{f as n}from"./p-BHf9IqGw.js";import"./p-DMf85Fkr.js";import{C as a,a as u}from"./p-Cjcsf8ku.js";import{R as l,j as m}from"./p-c4Mh3ZZ_.js";import"./p-CLHwhyvu.js";import"./p-BlJnA265.js";import"./p-BH0Xfn-F.js";import{B as h}from"./p-BIJv_7lO.js";import{S as p}from"./p-DTwFW2k_.js";import"./p-CZfYo5-1.js";import{P as c}from"./p-C5JcHf9j.js";import{m as d}from"./p-B5pEp0j3.js";import{c as f,J as v}from"./p-CcbvC2Ka.js";import{g as j,a as y}from"./p-D2muobcE.js";import{A as b}from"./p-CHHhmd53.js";import{S as w}from"./p-DJvAvUUk.js";import"./p-BFTU3MAI.js";import"./p-HXpYMWUU.js";import"./p-hj8k0lRi.js";import"./p-Dt-vy9Le.js";import"./p-BX8GieXu.js";import"./p-RvUQ__Pq.js";import"./p-BJqiCLSi.js";const C=t=>{const s=+t;return i().required("Amount is required").test("max-amount",`Refund amount cannot be more than payment amount: ${n(s)}`,(function(t){return+t<=+s})).test("min-amount","Refund amount must be greater than 0",(function(t){return+t>0}))},g=t=>{if(t)return r({amount:C(t),description:i().optional(),reason:i().optional().oneOf([l.customerRequest,l.duplicate,l.fraudulent],"Select a reason")})},k=[{label:"Select a reason",value:""},{label:"Customer requested a refund",value:"customer_request"},{label:"Customer was double-charged",value:"duplicate"},{label:"Payment was reported as fraud",value:"fraudulent"}],x=b();class A{async postRefund(t,s,e,r){return x.post({endpoint:`payments/${t}/refunds`,headers:{"Sub-Account":s},body:r,authToken:e})}}const B=()=>t("div",{class:"row gap-3"},t("div",{class:"col-12"},t(w,{width:"100%",height:"40px"}))),I=()=>t(p,null,t("div",{class:"row gap-5"},t(B,null),t(B,null),t(B,null))),H=class{constructor(t){s(this,t),this.errorEvent=e(this,"error-event"),this.submitEvent=e(this,"submit-event"),this.refundPayload={},this.displayAmount="",this.errors={},this.paymentLoading=!0,this.refundLoading=!1,this.hideSubmitButton=!1,this.inputHandler=(t,s)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[t]:s}))}}componentWillLoad(){f(),this.analytics=new v(this),this.initializeApi(),this.formController=new o(g())}handleError(t,s,e){this.errorEvent.emit({errorCode:t,message:s,severity:e})}checkAmount(t){return t>0}handleInvalidAmount(){this.submitDisabled=!0,this.handleError(u.INVALID_REFUND_AMOUNT,"Refund amount must be greater than 0",a.ERROR)}initializeFormController(){const t=this.refundPayload.amount,s=t?t.toString():"0";this.formController=new o(g(s)),this.formController.setInitialValues({amount:s}),this.formController.values.subscribe((t=>{this.refundPayload=Object.assign({},t)})),this.formController.errors.subscribe((t=>{this.errors=Object.assign({},t)}))}initializeApi(){this.paymentId&&this.authToken?d({id:this.paymentId,authToken:this.authToken,service:new c})({onSuccess:({payment:t})=>{this.refundPayload=new m({amount:t.amount_refundable})},onError:({error:t,code:s,severity:e})=>{this.handleError(s,t,e)},final:()=>{this.checkAmount(this.refundPayload.amount)?this.initializeFormController():this.handleInvalidAmount(),this.paymentLoading=!1}}):this.handleError(u.MISSING_PROPS,"Payment ID and Auth Token are required",a.ERROR)}async refundPayment(t){if(t&&t.preventDefault(),!await this.formController.validate())return;const s=(({authToken:t,accountId:s,paymentId:e,service:r})=>async({refundBody:i,onSuccess:o,onError:n,final:u})=>{var l;try{const u=await r.postRefund(e,s,t,i);if(u.error)return n({error:y(u.error),code:j(null===(l=u.error)||void 0===l?void 0:l.code),severity:a.ERROR});o(u)}catch(t){const s=j(null==t?void 0:t.code);return n({error:t.message||t,code:s,severity:a.ERROR})}finally{return u()}})({authToken:this.authToken,accountId:this.accountId,paymentId:this.paymentId,service:new A}),e=this.formController.values.getValue();return this.refundLoading=!0,new Promise((t=>{let r;s({refundBody:e,onSuccess:t=>{r=t},onError:({error:t,code:s,severity:e})=>{r=t,this.handleError(t,s,e)},final:()=>{this.submitEvent.emit({response:r}),this.submitDisabled=!0,this.refundLoading=!1,t(r.data)}})}))}render(){if(this.paymentLoading)return t(I,null);const s=this.formController.getInitialValues(),e=this.refundPayload.amount;return t(p,null,t("form",null,t("fieldset",null,t("div",{class:"row gy-3"},t("div",{class:"col-12"},t("form-control-monetary",{name:"amount",label:"Refund Amount",defaultValue:s.amount,inputHandler:this.inputHandler,errorText:this.errors.amount})),t("div",{class:"col-12"},t("form-control-select",{name:"reason",label:"Reason for refund (optional)",defaultValue:s.reason,inputHandler:this.inputHandler,options:k,errorText:this.errors.reason})),t("div",{class:"col-12"},t("form-control-textarea",{name:"description",label:"Note (optional)",defaultValue:s.description,inputHandler:this.inputHandler,maxLength:250,errorText:this.errors.description})),t("div",{class:"form-group d-flex flex-row-reverse"},t(h,{variant:"primary",type:"submit",onClick:this.refundPayment.bind(this),isLoading:this.paymentLoading||this.refundLoading,hidden:this.hideSubmitButton,disabled:this.submitDisabled},`Refund ${n(+e)}`))))))}};export{H as justifi_refund_payment}
@@ -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-_b8l4IX7.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}