@justifi/webcomponents 5.4.4 → 5.5.0

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 (838) hide show
  1. package/dist/cjs/Api-KMweahmp.js +74 -0
  2. package/dist/cjs/{Business-d88b77fd.js → Business-DyiDiIuO.js} +1 -1
  3. package/dist/cjs/{Checkout-5352009d.js → Checkout-RAGvjVPj.js} +1 -1
  4. package/dist/cjs/{ComponentError-233ac749.js → ComponentError-C4MdBBMe.js} +1 -0
  5. package/dist/cjs/{Payment-bccd8f7d.js → Payment-CQCmj3Ck.js} +2 -2
  6. package/dist/cjs/{SubAccount-2a302ead.js → Refund-DpKGhW3o.js} +25 -1
  7. package/dist/cjs/_commonjsHelpers-BJu3ubxk.js +10 -0
  8. package/dist/cjs/additional-questions-details_5.cjs.entry.js +5 -11
  9. package/dist/cjs/{badge-364e6311.js → badge-BXpCpcer.js} +2 -2
  10. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +25 -43
  11. package/dist/cjs/bank-account-form_9.cjs.entry.js +93 -97
  12. package/dist/cjs/{business-additional-questions-schema-8568cb79.js → business-additional-questions-schema-mzZ2gYHQ.js} +2 -2
  13. package/dist/cjs/business-details-core.cjs.entry.js +6 -10
  14. package/dist/cjs/{business-form-options-62e9c8ab.js → business-form-options-BCj0efiD.js} +1 -1
  15. package/dist/cjs/{business-identity-schema-518ab6eb.js → business-identity-schema-dt0zCW0R.js} +2 -2
  16. package/dist/cjs/{business.service-6e8a29a2.js → business.service-Crmkeulk.js} +23 -8
  17. package/dist/cjs/{button-4a9fd41e.js → button-KWTLx2LP.js} +2 -2
  18. package/dist/cjs/{check-pkg-version-e6dcbeb7.js → check-pkg-version-CLsX6cK5.js} +3 -3
  19. package/dist/cjs/{checkout.service-0a7835dc.js → checkout.service-r90INf2g.js} +13 -10
  20. package/dist/cjs/checkouts-list-core.cjs.entry.js +25 -31
  21. package/dist/cjs/{payments-list-params-state-442d9944.js → checkouts-list-params-state-Cmfy_CND.js} +1 -1
  22. package/dist/cjs/{checkouts-table-8a1b49ff.js → checkouts-table-5jU4JUcM.js} +4 -4
  23. package/dist/cjs/custom-popper_4.cjs.entry.js +27 -52
  24. package/dist/cjs/{dispute.service-6efc7d7f.js → dispute.service-CGgfmGU-.js} +20 -11
  25. package/dist/cjs/{event-types-5a6ce2b0.js → event-types-CJapDsYA.js} +3 -3
  26. package/dist/cjs/form-alert_5.cjs.entry.js +10 -19
  27. package/dist/cjs/form-control-checkbox.cjs.entry.js +9 -18
  28. package/dist/cjs/form-control-date.cjs.entry.js +9 -19
  29. package/dist/cjs/{form-control-error-text-3cff9b7b.js → form-control-error-text-D19AMaOO.js} +2 -2
  30. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +11 -30
  31. package/dist/cjs/{form-control-help-text-94ffed2c.js → form-control-help-text-CbrDvt9D.js} +2 -2
  32. package/dist/cjs/form-control-help-text.cjs.entry.js +1 -5
  33. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +13 -22
  34. package/dist/cjs/form-control-monetary.cjs.entry.js +13 -22
  35. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +12 -25
  36. package/dist/cjs/form-control-number.cjs.entry.js +9 -18
  37. package/dist/cjs/form-control-radio.cjs.entry.js +7 -17
  38. package/dist/cjs/{get-business-d8f5db51.js → get-business-BBzGEPBG.js} +3 -3
  39. package/dist/cjs/get-payment-details-CKg1Lb3_.js +42 -0
  40. package/dist/cjs/{get-payout-csv-7607c71e.js → get-payout-csv-DD9C5yMw.js} +11 -11
  41. package/dist/cjs/{get-subaccounts-ae5b35a8.js → get-subaccounts-YlFT-fBr.js} +11 -10
  42. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +262 -270
  43. package/dist/cjs/{header-1-43b2b905.js → header-1-ZNnpq6yT.js} +2 -2
  44. package/dist/cjs/{header-3-eb250a04.js → header-3-D6LxdW_A.js} +2 -2
  45. package/dist/cjs/{helpers-602962eb.js → helpers-B5OCqlIM.js} +1 -1
  46. package/dist/cjs/{iframe-input-styles-state-d0de0b24.js → iframe-input-styles-state-CQL59u0d.js} +2 -2
  47. package/dist/cjs/iframe-input.cjs.entry.js +1640 -0
  48. package/dist/cjs/{index-750475a3.js → index-1MT3Z4XI.js} +1 -1
  49. package/dist/cjs/{index-d2d0b181.js → index-DhcqPIbT.js} +4 -5
  50. package/dist/cjs/{index-5b9a3b5f.js → index-DtkhH7sB.js} +460 -271
  51. package/dist/cjs/index.esm-CVuJLXJZ.js +11807 -0
  52. package/dist/cjs/{input-handlers-cff032bb.js → input-handlers-DYl_0IwC.js} +1 -1
  53. package/dist/cjs/{insurance-state-71f8b653.js → insurance-state-q5eNmjIK.js} +3 -3
  54. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +64 -94
  55. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +36 -86
  56. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +36 -54
  57. package/dist/cjs/justifi-business-details.cjs.entry.js +16 -20
  58. package/dist/cjs/justifi-business-form.cjs.entry.js +34 -38
  59. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +6 -11
  60. package/dist/cjs/justifi-checkout-core.cjs.entry.js +31 -34
  61. package/dist/cjs/justifi-checkout.cjs.entry.js +23 -29
  62. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +15 -18
  63. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +25 -30
  64. package/dist/cjs/justifi-details.cjs.entry.js +3 -6
  65. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +5 -11
  66. package/dist/cjs/justifi-dispute-management.cjs.entry.js +19 -23
  67. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +38 -52
  68. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +13 -16
  69. package/dist/cjs/justifi-order-terminals.cjs.entry.js +29 -37
  70. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +29 -52
  71. package/dist/cjs/justifi-payment-details.cjs.entry.js +24 -52
  72. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +15 -23
  73. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +15 -16
  74. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +11 -17
  75. package/dist/cjs/justifi-payments-list.cjs.entry.js +25 -29
  76. package/dist/cjs/justifi-payout-details.cjs.entry.js +21 -26
  77. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +9 -12
  78. package/dist/cjs/justifi-payouts-list.cjs.entry.js +27 -33
  79. package/dist/cjs/justifi-refund-payment.cjs.entry.js +189 -69
  80. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +10 -27
  81. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +24 -35
  82. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +24 -26
  83. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +29 -29
  84. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +21 -25
  85. package/dist/cjs/justifi-terminals-list.cjs.entry.js +26 -31
  86. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +24 -28
  87. package/dist/cjs/loader.cjs.js +3 -5
  88. package/dist/cjs/lodash-CvSCBJ_8.js +17216 -0
  89. package/dist/cjs/package-5B4P3NpD.js +9 -0
  90. package/dist/cjs/pagination-menu.cjs.entry.js +3 -5
  91. package/dist/cjs/{parts-5ca90f9a.js → parts-D_uKOPFe.js} +3 -1
  92. package/dist/cjs/payment-details-core.cjs.entry.js +19 -22
  93. package/dist/cjs/{payment-provisioning-actions-382ab48c.js → payment-provisioning-actions-BkWSDJQQ.js} +2 -2
  94. package/dist/cjs/payment.service-BrHUGHYs.js +23 -0
  95. package/dist/cjs/payments-list-core.cjs.entry.js +25 -30
  96. package/dist/cjs/{terminal-orders-list-params-state-c419078f.js → payments-list-params-state-Cmfy_CND.js} +1 -1
  97. package/dist/cjs/{payments-status-075aad0a.js → payments-status-DAzq_Z13.js} +2 -2
  98. package/dist/cjs/{payments-table-a076755a.js → payments-table-BEpL6oJQ.js} +4 -4
  99. package/dist/cjs/payout-details-core.cjs.entry.js +14 -18
  100. package/dist/cjs/payouts-list-core.cjs.entry.js +26 -33
  101. package/dist/cjs/{checkouts-list-params-state-644d3639.js → payouts-list-params-state-Cmfy_CND.js} +1 -1
  102. package/dist/cjs/{payouts-status-ced97c2b.js → payouts-status-CYrKPRld.js} +2 -2
  103. package/dist/cjs/{payouts-table-aedce326.js → payouts-table-Bbi23U5v.js} +4 -4
  104. package/dist/cjs/{schema-validations-a7cefbdf.js → schema-validations-p4OCdblz.js} +4 -4
  105. package/dist/cjs/{skeleton-e8aa41d0.js → skeleton-C59M0QK2.js} +2 -2
  106. package/dist/cjs/{spinner-580453f2.js → spinner-736baCoH.js} +2 -2
  107. package/dist/cjs/{styled-host-94309bab.js → styled-host-JifnTMIV.js} +2 -3
  108. package/dist/cjs/table-filters-menu.cjs.entry.js +4 -10
  109. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +24 -29
  110. package/dist/cjs/{payouts-list-params-state-033b76d6.js → terminal-orders-list-params-state-Cmfy_CND.js} +1 -1
  111. package/dist/cjs/{terminal-orders-table-3b247193.js → terminal-orders-table-w4Yaf83b.js} +35 -5
  112. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +6 -12
  113. package/dist/cjs/{terminal.service-ab62c344.js → terminal.service-BjSo5Cm4.js} +11 -11
  114. package/dist/cjs/terminals-list-core.cjs.entry.js +25 -31
  115. package/dist/cjs/terminals-list-params-state-Cmfy_CND.js +22 -0
  116. package/dist/cjs/{terminals-table-594643fd.js → terminals-table-F6pkR97i.js} +4 -4
  117. package/dist/cjs/{utils-f8714daa.js → utils-D3seTk2e.js} +2 -2
  118. package/dist/cjs/utils-DmZ8Dia3.js +23987 -0
  119. package/dist/cjs/{utils-7a478c37.js → utils-l0veqT9y.js} +1 -1
  120. package/dist/cjs/webcomponents.cjs.js +7 -7
  121. package/dist/collection/actions/payment/get-payment-details.js +5 -2
  122. package/dist/collection/actions/refund/refund-actions.js +31 -0
  123. package/dist/collection/api/Api.js +32 -13
  124. package/dist/collection/api/ComponentError.js +1 -0
  125. package/dist/collection/api/Refund.js +32 -0
  126. package/dist/collection/api/TerminalOrder.js +3 -0
  127. package/dist/collection/api/index.js +1 -0
  128. package/dist/collection/api/services/analytics.service.js +1 -1
  129. package/dist/collection/api/services/business.service.js +22 -7
  130. package/dist/collection/api/services/checkout.service.js +6 -3
  131. package/dist/collection/api/services/dispute.service.js +13 -4
  132. package/dist/collection/api/services/insurance.service.js +8 -2
  133. package/dist/collection/api/services/payment.service.js +3 -3
  134. package/dist/collection/api/services/payout.service.js +3 -3
  135. package/dist/collection/api/services/provision.service.js +4 -1
  136. package/dist/collection/api/services/refund.service.js +10 -0
  137. package/dist/collection/api/services/reports.service.js +1 -1
  138. package/dist/collection/api/services/subaccounts.service.js +1 -1
  139. package/dist/collection/api/services/terminal.service.js +4 -4
  140. package/dist/collection/api/services/terminal_orders.service.js +5 -1
  141. package/dist/collection/collection-manifest.json +3 -5
  142. package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +4 -4
  143. package/dist/collection/components/business-details/business-details-core.js +4 -3
  144. package/dist/collection/components/business-details/business-details.js +6 -8
  145. package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +4 -4
  146. package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +4 -4
  147. package/dist/collection/components/business-details/owner-details/owner-details.js +4 -4
  148. package/dist/collection/components/business-details/representative-details/representative-details.js +4 -4
  149. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +4 -2
  150. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +4 -2
  151. package/dist/collection/components/business-forms/business-form/business-form.js +20 -13
  152. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +6 -4
  153. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +4 -3
  154. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +11 -7
  155. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +34 -22
  156. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +10 -6
  157. package/dist/collection/components/business-forms/owner-form/owner-form.js +22 -19
  158. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +15 -11
  159. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +9 -10
  160. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +11 -8
  161. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +13 -10
  162. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +23 -16
  163. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +9 -12
  164. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-documents-on-file.js +6 -2
  165. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +17 -12
  166. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +9 -10
  167. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +20 -14
  168. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +9 -10
  169. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +10 -6
  170. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +14 -10
  171. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +9 -10
  172. package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +31 -21
  173. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +14 -10
  174. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +9 -10
  175. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +24 -16
  176. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +20 -14
  177. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +21 -12
  178. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +12 -8
  179. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +13 -13
  180. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +3 -2
  181. package/dist/collection/components/checkout/billing-form/billing-form-schema.js +21 -0
  182. package/dist/collection/components/checkout/billing-form/billing-form.js +203 -0
  183. package/dist/collection/components/checkout/card-form/card-form.js +5 -4
  184. package/dist/collection/components/checkout/checkout-core.js +88 -37
  185. package/dist/collection/components/checkout/checkout.js +70 -28
  186. package/dist/collection/components/checkout/new-payment-method.js +110 -30
  187. package/dist/collection/components/checkout/payment-method-options.js +91 -36
  188. package/dist/collection/components/checkout/saved-payment-method.js +7 -4
  189. package/dist/collection/components/checkout/sezzle-payment-method.js +19 -15
  190. package/dist/collection/components/checkouts-list/checkouts-list-core.js +17 -14
  191. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +7 -5
  192. package/dist/collection/components/checkouts-list/checkouts-list.js +16 -12
  193. package/dist/collection/components/dispute-management/dispute-management-core.js +11 -8
  194. package/dist/collection/components/dispute-management/dispute-management.js +12 -9
  195. package/dist/collection/components/dispute-management/dispute-notification.js +11 -9
  196. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +10 -9
  197. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +10 -8
  198. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +10 -8
  199. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +21 -14
  200. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +16 -13
  201. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +10 -8
  202. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +10 -8
  203. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +10 -8
  204. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +10 -8
  205. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +10 -8
  206. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +5 -4
  207. package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +7 -6
  208. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +44 -30
  209. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +40 -32
  210. package/dist/collection/components/order-terminals/order-terminals.js +19 -14
  211. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +19 -13
  212. package/dist/collection/components/payment-details/payment-details-core.js +13 -12
  213. package/dist/collection/components/payment-details/payment-details.js +29 -6
  214. package/dist/collection/components/payments-list/payments-list-core.js +12 -11
  215. package/dist/collection/components/payments-list/payments-list-filters.js +17 -12
  216. package/dist/collection/components/payments-list/payments-list.js +16 -11
  217. package/dist/collection/components/payout-details/payout-details-core.js +11 -8
  218. package/dist/collection/components/payout-details/payout-details.js +11 -9
  219. package/dist/collection/components/payouts-list/payouts-list-core.js +21 -16
  220. package/dist/collection/components/payouts-list/payouts-list-filters.js +8 -6
  221. package/dist/collection/components/payouts-list/payouts-list.js +16 -13
  222. package/dist/collection/components/refund-payment/refund-loading.js +6 -0
  223. package/dist/collection/components/refund-payment/refund-payment-schema.js +26 -11
  224. package/dist/collection/components/refund-payment/refund-payment.js +157 -57
  225. package/dist/collection/components/terminal-orders-list/terminal-order-status.js +15 -0
  226. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +12 -11
  227. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +18 -11
  228. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +16 -11
  229. package/dist/collection/components/terminal-orders-list/terminal-orders-table.js +11 -1
  230. package/dist/collection/components/terminals-list/terminals-list-core.js +17 -14
  231. package/dist/collection/components/terminals-list/terminals-list-filters.js +10 -7
  232. package/dist/collection/components/terminals-list/terminals-list.js +16 -12
  233. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +71 -19
  234. package/dist/collection/styles/parts.js +2 -1
  235. package/dist/collection/ui-components/custom-popper/custom-popper.js +19 -8
  236. package/dist/collection/ui-components/details/details.js +3 -4
  237. package/dist/collection/ui-components/filters/table-filters-menu.js +8 -7
  238. package/dist/collection/ui-components/form/form-control-checkbox.js +25 -17
  239. package/dist/collection/ui-components/form/form-control-date.js +32 -21
  240. package/dist/collection/ui-components/form/form-control-file-v2.js +23 -18
  241. package/dist/collection/ui-components/form/form-control-file.js +28 -21
  242. package/dist/collection/ui-components/form/form-control-monetary.js +35 -23
  243. package/dist/collection/ui-components/form/form-control-number-masked.js +28 -19
  244. package/dist/collection/ui-components/form/form-control-number.js +25 -17
  245. package/dist/collection/ui-components/form/form-control-radio.js +28 -19
  246. package/dist/collection/ui-components/form/form-control-select.js +29 -19
  247. package/dist/collection/ui-components/form/form-control-text.js +32 -21
  248. package/dist/collection/ui-components/form/form-control-textarea.js +32 -21
  249. package/dist/collection/ui-components/form/form-helpers/form-alert/form-alert.js +6 -6
  250. package/dist/collection/ui-components/form/form-helpers/form-control-help-text/form-control-help-text.js +6 -6
  251. package/dist/collection/ui-components/form/form-helpers/form-control-tooltip/form-control-tooltip.js +3 -6
  252. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  253. package/dist/collection/ui-components/form/iframe-input.js +14 -12
  254. package/dist/collection/ui-components/pagination-menu/pagination-menu.js +6 -0
  255. package/dist/collection/utils/utils.js +8 -0
  256. package/dist/docs.d.ts +8 -0
  257. package/dist/docs.json +1844 -905
  258. package/dist/esm/Api-C9CDE-UM.js +72 -0
  259. package/dist/esm/{Business-0855931c.js → Business-D6XNzizo.js} +2 -2
  260. package/dist/esm/{Checkout-18d8bf94.js → Checkout-Dfpql997.js} +1 -1
  261. package/dist/esm/{ComponentError-c61dce41.js → ComponentError-SdntD1xf.js} +2 -1
  262. package/dist/esm/{Document-1907c0d4.js → Document-Ct-uNz2r.js} +1 -1
  263. package/dist/esm/{Payment-806af354.js → Payment-BADkZFaz.js} +2 -2
  264. package/dist/esm/{SubAccount-7520271c.js → Refund-t_P1yy9d.js} +25 -2
  265. package/dist/esm/_commonjsHelpers-BFTU3MAI.js +7 -0
  266. package/dist/esm/additional-questions-details_5.entry.js +5 -9
  267. package/dist/esm/{badge-1be14e8c.js → badge-C4TzL9CB.js} +3 -3
  268. package/dist/esm/bank-account-document-form-inputs_4.entry.js +25 -41
  269. package/dist/esm/bank-account-form_9.entry.js +91 -93
  270. package/dist/esm/{business-additional-questions-schema-56308a54.js → business-additional-questions-schema-W6okG5Xu.js} +2 -2
  271. package/dist/esm/business-details-core.entry.js +6 -8
  272. package/dist/esm/{business-form-options-86a13078.js → business-form-options-Bn05PRR4.js} +1 -1
  273. package/dist/esm/{business-identity-schema-24fcc4ef.js → business-identity-schema-lqdJS3MT.js} +2 -2
  274. package/dist/esm/{business.service-999196a4.js → business.service-B136meVo.js} +23 -8
  275. package/dist/esm/{button-fcee4da7.js → button-CI85Rqy5.js} +2 -2
  276. package/dist/esm/{check-pkg-version-47fc35a7.js → check-pkg-version-Wd4E_Njt.js} +3 -3
  277. package/dist/esm/{checkout.service-e38e477f.js → checkout.service-4tnXBKGq.js} +13 -10
  278. package/dist/esm/checkouts-list-core.entry.js +25 -29
  279. package/dist/esm/{checkouts-list-params-state-7bdf00bd.js → checkouts-list-params-state-Gbxdxjoi.js} +1 -1
  280. package/dist/esm/{checkouts-table-39a031a0.js → checkouts-table-CHM4YCCZ.js} +4 -4
  281. package/dist/esm/custom-popper_4.entry.js +27 -50
  282. package/dist/esm/{dispute.service-7ba6d5a4.js → dispute.service-Bwh8pBe9.js} +20 -11
  283. package/dist/esm/{event-types-1bc52f1f.js → event-types-CooIFpFI.js} +3 -3
  284. package/dist/esm/form-alert_5.entry.js +10 -17
  285. package/dist/esm/form-control-checkbox.entry.js +9 -16
  286. package/dist/esm/form-control-date.entry.js +9 -17
  287. package/dist/esm/{form-control-error-text-176d20d8.js → form-control-error-text-3q5yVuMQ.js} +2 -2
  288. package/dist/esm/form-control-file-v2_2.entry.js +11 -28
  289. package/dist/esm/{form-control-help-text-83764e14.js → form-control-help-text-BplkZkPF.js} +2 -2
  290. package/dist/esm/form-control-help-text.entry.js +1 -3
  291. package/dist/esm/form-control-monetary-provisioning.entry.js +13 -20
  292. package/dist/esm/form-control-monetary.entry.js +13 -20
  293. package/dist/esm/form-control-number-masked_2.entry.js +12 -23
  294. package/dist/esm/form-control-number.entry.js +9 -16
  295. package/dist/esm/form-control-radio.entry.js +7 -15
  296. package/dist/esm/{get-business-b7511690.js → get-business-B3c5gg1D.js} +3 -3
  297. package/dist/esm/get-payment-details-BbZmEGge.js +40 -0
  298. package/dist/esm/{get-payout-csv-fa34f40b.js → get-payout-csv-BKq22mOI.js} +11 -11
  299. package/dist/esm/{get-subaccounts-3c6b9e84.js → get-subaccounts-58LQOtEI.js} +10 -9
  300. package/dist/esm/gross-payment-chart-core.entry.js +262 -268
  301. package/dist/esm/{header-1-215a146f.js → header-1-BX6i3__G.js} +2 -2
  302. package/dist/esm/{header-3-afd16f23.js → header-3-D0Sy-7DJ.js} +2 -2
  303. package/dist/esm/{helpers-96ea3464.js → helpers-Mu7LQT-w.js} +2 -2
  304. package/dist/esm/{iframe-input-styles-state-ff730fe5.js → iframe-input-styles-state-DyXIZw1A.js} +3 -3
  305. package/dist/esm/iframe-input.entry.js +1638 -0
  306. package/dist/esm/{index-29fcfdf5.js → index-BUM1DfV9.js} +459 -250
  307. package/dist/esm/{index-d9a73ce3.js → index-Ce_F4E0f.js} +1 -1
  308. package/dist/esm/{index-a47fdc7f.js → index-Cuk6aIda.js} +4 -5
  309. package/dist/esm/index.esm-BCNUj0Dx.js +11801 -0
  310. package/dist/esm/{input-handlers-270ac806.js → input-handlers-CX6mSvOM.js} +1 -1
  311. package/dist/esm/{insurance-state-d2df8e88.js → insurance-state-BhklYgGK.js} +3 -3
  312. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +64 -92
  313. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +36 -84
  314. package/dist/esm/justifi-additional-statement_8.entry.js +36 -52
  315. package/dist/esm/justifi-business-details.entry.js +16 -18
  316. package/dist/esm/justifi-business-form.entry.js +34 -36
  317. package/dist/esm/justifi-business-representative-form-inputs.entry.js +6 -9
  318. package/dist/esm/justifi-checkout-core.entry.js +31 -32
  319. package/dist/esm/justifi-checkout.entry.js +23 -27
  320. package/dist/esm/justifi-checkouts-list-filters.entry.js +15 -16
  321. package/dist/esm/justifi-checkouts-list.entry.js +25 -28
  322. package/dist/esm/justifi-details.entry.js +3 -4
  323. package/dist/esm/justifi-dispute-management-core.entry.js +5 -9
  324. package/dist/esm/justifi-dispute-management.entry.js +19 -21
  325. package/dist/esm/justifi-dispute-notification_3.entry.js +38 -50
  326. package/dist/esm/justifi-gross-payment-chart.entry.js +13 -14
  327. package/dist/esm/justifi-order-terminals.entry.js +26 -32
  328. package/dist/esm/justifi-owner-form_3.entry.js +29 -50
  329. package/dist/esm/justifi-payment-details.entry.js +22 -48
  330. package/dist/esm/justifi-payment-provisioning-core.entry.js +15 -21
  331. package/dist/esm/justifi-payment-provisioning.entry.js +15 -14
  332. package/dist/esm/justifi-payments-list-filters.entry.js +11 -15
  333. package/dist/esm/justifi-payments-list.entry.js +25 -27
  334. package/dist/esm/justifi-payout-details.entry.js +20 -23
  335. package/dist/esm/justifi-payouts-list-filters.entry.js +9 -10
  336. package/dist/esm/justifi-payouts-list.entry.js +26 -30
  337. package/dist/esm/justifi-refund-payment.entry.js +189 -67
  338. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +10 -25
  339. package/dist/esm/justifi-season-interruption-insurance.entry.js +24 -33
  340. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +19 -19
  341. package/dist/esm/justifi-terminal-orders-list.entry.js +28 -26
  342. package/dist/esm/justifi-terminals-list-filters.entry.js +17 -19
  343. package/dist/esm/justifi-terminals-list.entry.js +25 -28
  344. package/dist/esm/justifi-tokenize-payment-method.entry.js +24 -26
  345. package/dist/esm/loader.js +4 -4
  346. package/dist/esm/lodash-BqWxUrkh.js +17214 -0
  347. package/dist/esm/package-gAO-RwrF.js +7 -0
  348. package/dist/esm/pagination-menu.entry.js +3 -3
  349. package/dist/esm/{parts-fd740f54.js → parts-CB88j97I.js} +3 -2
  350. package/dist/esm/payment-details-core.entry.js +19 -20
  351. package/dist/esm/{payment-provisioning-actions-beadac34.js → payment-provisioning-actions-CZYFFdTf.js} +3 -3
  352. package/dist/esm/payment.service-Co_fPTvK.js +21 -0
  353. package/dist/esm/payments-list-core.entry.js +25 -28
  354. package/dist/esm/{payments-list-params-state-d05b24aa.js → payments-list-params-state-Gbxdxjoi.js} +1 -1
  355. package/dist/esm/{payments-status-74d22728.js → payments-status-BLhcMfnC.js} +2 -2
  356. package/dist/esm/{payments-table-8134f5e1.js → payments-table-VcaC77NC.js} +4 -4
  357. package/dist/esm/payout-details-core.entry.js +14 -16
  358. package/dist/esm/payouts-list-core.entry.js +26 -31
  359. package/dist/esm/{payouts-list-params-state-ebcee300.js → payouts-list-params-state-Gbxdxjoi.js} +1 -1
  360. package/dist/esm/{payouts-status-29d31099.js → payouts-status-B9SSljnL.js} +2 -2
  361. package/dist/esm/{payouts-table-c1ced46a.js → payouts-table-DWBaNPmV.js} +4 -4
  362. package/dist/esm/{schema-validations-5af4266a.js → schema-validations-BsbYeDDR.js} +5 -5
  363. package/dist/esm/{skeleton-ab3f676e.js → skeleton-B-oFGeeG.js} +2 -2
  364. package/dist/esm/{spinner-27479716.js → spinner-ptEcaLdc.js} +2 -2
  365. package/dist/esm/{styled-host-32228b45.js → styled-host-BHVh70Zk.js} +2 -3
  366. package/dist/esm/table-filters-menu.entry.js +4 -8
  367. package/dist/esm/terminal-orders-list-core.entry.js +24 -27
  368. package/dist/esm/{terminal-orders-list-params-state-8fec0a0b.js → terminal-orders-list-params-state-Gbxdxjoi.js} +1 -1
  369. package/dist/esm/{terminal-orders-table-93e84d25.js → terminal-orders-table-fuxIpfJ2.js} +35 -5
  370. package/dist/esm/terminal-quantity-selector.entry.js +6 -10
  371. package/dist/esm/{terminal.service-d173566d.js → terminal.service-BLOZ-ZlR.js} +11 -11
  372. package/dist/esm/terminals-list-core.entry.js +25 -29
  373. package/dist/esm/terminals-list-params-state-Gbxdxjoi.js +16 -0
  374. package/dist/esm/{terminals-table-ff24bf27.js → terminals-table-Dn71oQMb.js} +4 -4
  375. package/dist/esm/{utils-96d9c205.js → utils-B4pV3GWr.js} +2 -2
  376. package/dist/esm/utils-BWcTxbSg.js +23969 -0
  377. package/dist/esm/{utils-fd99b806.js → utils-Dccsn9BY.js} +2 -2
  378. package/dist/esm/webcomponents.js +6 -5
  379. package/dist/module/Api.js +32 -76
  380. package/dist/module/Business.js +2 -2
  381. package/dist/module/ComponentError.js +2 -1
  382. package/dist/module/Document.js +1 -1
  383. package/dist/module/{SubAccount.js → Refund.js} +24 -1
  384. package/dist/module/_commonjsHelpers.js +7 -0
  385. package/dist/module/additional-questions-details2.js +1 -2
  386. package/dist/module/additional-questions.js +2 -3
  387. package/dist/module/additional-statement.js +6 -9
  388. package/dist/module/badge.js +1 -1
  389. package/dist/module/bank-account-document-inputs.js +4 -6
  390. package/dist/module/bank-account-form-inputs2.js +1 -5
  391. package/dist/module/bank-account-form2.js +0 -1
  392. package/dist/module/billing-form.js +122 -4
  393. package/dist/module/business-additional-questions-form-step-core.js +7 -11
  394. package/dist/module/business-additional-questions-form-step.js +1 -6
  395. package/dist/module/business-additional-questions-schema.js +1 -1
  396. package/dist/module/business-address-schema.js +1 -1
  397. package/dist/module/business-bank-account-form-step-core.js +13 -18
  398. package/dist/module/business-bank-account-form-step.js +3 -9
  399. package/dist/module/business-core-info-form-step-core.js +6 -11
  400. package/dist/module/business-core-info-form-step.js +1 -6
  401. package/dist/module/business-core-info-schema.js +1 -1
  402. package/dist/module/business-core-info.js +2 -3
  403. package/dist/module/business-details-core2.js +1 -3
  404. package/dist/module/business-documents-on-file2.js +1 -1
  405. package/dist/module/business-form-options.js +1 -1
  406. package/dist/module/business-identity-schema.js +1 -1
  407. package/dist/module/business-owners-form-step-core.js +5 -11
  408. package/dist/module/business-owners-form-step.js +1 -6
  409. package/dist/module/business-representative-form-inputs.js +1 -4
  410. package/dist/module/business-representative-form-step-core.js +5 -9
  411. package/dist/module/business-representative-form-step.js +1 -6
  412. package/dist/module/business-representative.js +3 -4
  413. package/dist/module/business-terms-conditions-form-step.js +6 -12
  414. package/dist/module/business.service.js +22 -7
  415. package/dist/module/button.js +1 -1
  416. package/dist/module/cancellation-policy.js +6 -8
  417. package/dist/module/card-form2.js +2 -3
  418. package/dist/module/check-pkg-version.js +1 -1
  419. package/dist/module/checkout-core.js +57 -69
  420. package/dist/module/checkout.service.js +7 -4
  421. package/dist/module/checkouts-list-core2.js +12 -17
  422. package/dist/module/custom-popper2.js +13 -16
  423. package/dist/module/customer-details.js +6 -8
  424. package/dist/module/details.js +0 -1
  425. package/dist/module/dispute-management-core.js +4 -8
  426. package/dist/module/dispute-notification.js +3 -6
  427. package/dist/module/dispute-response-actions.js +16 -7
  428. package/dist/module/dispute-response-core.js +12 -16
  429. package/dist/module/dispute-response.js +6 -12
  430. package/dist/module/duplicate-charge.js +6 -8
  431. package/dist/module/electronic-evidence.js +5 -7
  432. package/dist/module/event-types2.js +21 -61
  433. package/dist/module/event-types3.js +61 -21
  434. package/dist/module/form-alert2.js +1 -3
  435. package/dist/module/form-control-checkbox2.js +6 -13
  436. package/dist/module/form-control-date2.js +6 -14
  437. package/dist/module/form-control-file-v22.js +2 -10
  438. package/dist/module/form-control-file2.js +5 -15
  439. package/dist/module/form-control-help-text.js +1 -1
  440. package/dist/module/form-control-help-text2.js +30 -9
  441. package/dist/module/form-control-help-text3.js +9 -32
  442. package/dist/module/form-control-monetary-provisioning2.js +8 -15
  443. package/dist/module/form-control-monetary2.js +9 -17
  444. package/dist/module/form-control-number-masked2.js +4 -12
  445. package/dist/module/form-control-number.js +6 -13
  446. package/dist/module/form-control-radio2.js +6 -14
  447. package/dist/module/form-control-select2.js +5 -13
  448. package/dist/module/form-control-text2.js +5 -14
  449. package/dist/module/form-control-textarea2.js +7 -16
  450. package/dist/module/form-control-tooltip2.js +0 -3
  451. package/dist/module/form.js +9773 -903
  452. package/dist/module/generic-info-details2.js +0 -1
  453. package/dist/module/get-business.js +2 -2
  454. package/dist/module/get-payment-details.js +40 -0
  455. package/dist/module/get-payout-csv.js +6 -6
  456. package/dist/module/get-subaccounts.js +5 -4
  457. package/dist/module/gross-payment-chart-core2.js +257 -264
  458. package/dist/module/helpers.js +1 -1
  459. package/dist/module/hidden-input2.js +3 -3
  460. package/dist/module/identity-address-form.js +2 -5
  461. package/dist/module/iframe-input-styles-state.js +2 -2
  462. package/dist/module/iframe-input2.js +1481 -1478
  463. package/dist/module/index2.js +3 -4
  464. package/dist/module/index3.js +1 -1
  465. package/dist/module/{billing-form.d.ts → justifi-billing-form.d.ts} +4 -4
  466. package/dist/module/justifi-billing-form.js +6 -0
  467. package/dist/module/justifi-business-details.js +1 -5
  468. package/dist/module/justifi-business-form.js +7 -10
  469. package/dist/module/justifi-checkout.js +47 -62
  470. package/dist/module/justifi-checkouts-list-filters.js +4 -5
  471. package/dist/module/justifi-checkouts-list.js +8 -11
  472. package/dist/module/justifi-dispute-management.js +6 -9
  473. package/dist/module/justifi-gross-payment-chart.js +4 -7
  474. package/dist/module/justifi-order-terminals.js +6 -13
  475. package/dist/module/justifi-payment-details.js +6 -38
  476. package/dist/module/justifi-payment-provisioning.js +5 -6
  477. package/dist/module/justifi-payments-list-filters.js +6 -11
  478. package/dist/module/justifi-payments-list.js +8 -10
  479. package/dist/module/justifi-payout-details.js +6 -9
  480. package/dist/module/justifi-payouts-list-filters.js +4 -6
  481. package/dist/module/justifi-payouts-list.js +8 -12
  482. package/dist/module/justifi-refund-payment.js +184 -61
  483. package/dist/module/justifi-season-interruption-insurance.js +13 -23
  484. package/dist/module/justifi-terminal-orders-list-filters.js +8 -9
  485. package/dist/module/justifi-terminal-orders-list.js +13 -11
  486. package/dist/module/justifi-terminals-list-filters.js +6 -8
  487. package/dist/module/justifi-terminals-list.js +8 -11
  488. package/dist/module/justifi-tokenize-payment-method.js +46 -58
  489. package/dist/module/legal-address-details2.js +1 -2
  490. package/dist/module/legal-address-form-step-core.js +6 -10
  491. package/dist/module/legal-address-form-step.js +1 -6
  492. package/dist/module/legal-address-form.js +1 -3
  493. package/dist/module/lodash.js +17201 -17191
  494. package/dist/module/new-payment-method.js +43 -55
  495. package/dist/module/owner-details2.js +0 -1
  496. package/dist/module/owner-form-core2.js +8 -18
  497. package/dist/module/owner-form-inputs2.js +1 -4
  498. package/dist/module/owner-form.js +1 -11
  499. package/dist/module/package.js +3 -77
  500. package/dist/module/pagination-menu2.js +1 -1
  501. package/dist/module/parts.js +3 -2
  502. package/dist/module/payment-details-core2.js +11 -13
  503. package/dist/module/payment-method-options.js +43 -61
  504. package/dist/module/payment-provisioning-actions.js +2 -2
  505. package/dist/module/payment-provisioning-core.js +8 -14
  506. package/dist/module/payment-provisioning-form-buttons.js +2 -8
  507. package/dist/module/payment-provisioning-form-steps.js +2 -7
  508. package/dist/module/payment.service.js +4 -4
  509. package/dist/module/payments-list-core2.js +10 -14
  510. package/dist/module/payout-details-core2.js +6 -9
  511. package/dist/module/payouts-list-core2.js +14 -20
  512. package/dist/module/product-or-service.js +5 -7
  513. package/dist/module/refund-policy.js +6 -8
  514. package/dist/module/representative-details2.js +0 -1
  515. package/dist/module/saved-payment-method.js +4 -6
  516. package/dist/module/schema-validations.js +2 -2
  517. package/dist/module/season-interruption-insurance-core.js +4 -20
  518. package/dist/module/sezzle-payment-method.js +3 -12
  519. package/dist/module/shipping-details.js +6 -8
  520. package/dist/module/spinner.js +1 -1
  521. package/dist/module/styled-host.js +1 -2
  522. package/dist/module/table-filters-menu2.js +3 -7
  523. package/dist/module/terminal-orders-list-core2.js +35 -15
  524. package/dist/module/terminal-quantity-selector2.js +4 -8
  525. package/dist/module/terminal.service.js +5 -5
  526. package/dist/module/terminals-list-core2.js +12 -17
  527. package/dist/module/utils.js +1 -1
  528. package/dist/module/utils2.js +23787 -3819
  529. package/dist/module/utils4.js +2 -2
  530. package/dist/types/actions/payment/get-payment-details.d.ts +4 -2
  531. package/dist/types/actions/refund/refund-actions.d.ts +12 -0
  532. package/dist/types/api/Api.d.ts +30 -5
  533. package/dist/types/api/ComponentError.d.ts +2 -1
  534. package/dist/types/api/Payment.d.ts +1 -11
  535. package/dist/types/api/Refund.d.ts +45 -0
  536. package/dist/types/api/TerminalOrder.d.ts +4 -1
  537. package/dist/types/api/index.d.ts +1 -0
  538. package/dist/types/api/services/payment.service.d.ts +2 -2
  539. package/dist/types/api/services/refund.service.d.ts +7 -0
  540. package/dist/types/components/business-forms/payment-provisioning/form-control-monetary-provisioning.d.ts +1 -1
  541. package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +3 -3
  542. package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +1 -1
  543. package/dist/types/components/checkout/{billing-forms → billing-form}/billing-form-schema.d.ts +1 -11
  544. package/dist/types/components/checkout/{billing-forms/billing-form → billing-form}/billing-form.d.ts +8 -6
  545. package/dist/types/components/checkout/checkout-core.d.ts +6 -2
  546. package/dist/types/components/checkout/checkout.d.ts +6 -2
  547. package/dist/types/components/checkout/new-payment-method.d.ts +7 -3
  548. package/dist/types/components/checkout/payment-method-options.d.ts +6 -2
  549. package/dist/types/components/payment-details/payment-details.d.ts +1 -0
  550. package/dist/types/components/refund-payment/refund-loading.d.ts +1 -0
  551. package/dist/types/components/refund-payment/refund-payment-schema.d.ts +6 -6
  552. package/dist/types/components/refund-payment/refund-payment.d.ts +18 -12
  553. package/dist/types/components/terminal-orders-list/terminal-orders-list-filters.d.ts +1 -1
  554. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +4 -0
  555. package/dist/types/components.d.ts +45 -74
  556. package/dist/types/stencil-public-runtime.d.ts +9 -0
  557. package/dist/types/styles/parts.d.ts +6 -5
  558. package/dist/types/ui-components/form/form-control-monetary.d.ts +1 -1
  559. package/dist/types/utils/utils.d.ts +1 -0
  560. package/dist/webcomponents/{p-701a13ca.js → p-01wziNa9.js} +1 -1
  561. package/dist/webcomponents/p-063dd981.entry.js +1 -0
  562. package/dist/webcomponents/p-08d5b491.entry.js +1 -0
  563. package/dist/webcomponents/{p-70be104e.js → p-0czqizJW.js} +1 -1
  564. package/dist/webcomponents/p-1049c0c5.entry.js +1 -0
  565. package/dist/webcomponents/p-1ydcg9ti.js +1 -0
  566. package/dist/webcomponents/p-2c2f6743.entry.js +1 -0
  567. package/dist/webcomponents/p-2d80f427.entry.js +1 -0
  568. package/dist/webcomponents/p-2f6c0a07.entry.js +1 -0
  569. package/dist/webcomponents/p-2fe9576b.entry.js +1 -0
  570. package/dist/webcomponents/p-307a0db6.entry.js +1 -0
  571. package/dist/webcomponents/p-3147bfe2.entry.js +1 -0
  572. package/dist/webcomponents/p-332ce001.entry.js +1 -0
  573. package/dist/webcomponents/p-34cfafed.entry.js +1 -0
  574. package/dist/webcomponents/p-3995c8b8.entry.js +1 -0
  575. package/dist/webcomponents/p-3e084a0e.entry.js +1 -0
  576. package/dist/webcomponents/p-43c1c278.entry.js +1 -0
  577. package/dist/webcomponents/p-456f8c0a.entry.js +1 -0
  578. package/dist/webcomponents/p-4addd069.entry.js +1 -0
  579. package/dist/webcomponents/p-4ee6482d.entry.js +1 -0
  580. package/dist/webcomponents/p-507f7a31.entry.js +1 -0
  581. package/dist/webcomponents/p-50aa4e4d.entry.js +1 -0
  582. package/dist/webcomponents/p-5a07a84c.entry.js +1 -0
  583. package/dist/webcomponents/p-5dc3a795.entry.js +1 -0
  584. package/dist/webcomponents/p-62bdcca1.entry.js +1 -0
  585. package/dist/webcomponents/p-65345bd4.entry.js +1 -0
  586. package/dist/webcomponents/p-6a54d69b.entry.js +1 -0
  587. package/dist/webcomponents/p-6c4927e7.entry.js +1 -0
  588. package/dist/webcomponents/p-6d2a48f5.entry.js +1 -0
  589. package/dist/webcomponents/p-7414b942.entry.js +1 -0
  590. package/dist/webcomponents/p-7ddd7122.entry.js +20 -0
  591. package/dist/webcomponents/p-80dca817.entry.js +1 -0
  592. package/dist/webcomponents/p-815937bb.entry.js +1 -0
  593. package/dist/webcomponents/p-86fdc0a1.entry.js +1 -0
  594. package/dist/webcomponents/p-98111d03.entry.js +1 -0
  595. package/dist/webcomponents/p-9a9bb294.entry.js +1 -0
  596. package/dist/webcomponents/p-9bbfde16.entry.js +1 -0
  597. package/dist/webcomponents/p-B7ErpLYA.js +1 -0
  598. package/dist/webcomponents/p-BBsCnePk.js +1 -0
  599. package/dist/webcomponents/p-BFTU3MAI.js +1 -0
  600. package/dist/webcomponents/p-BHHWVg32.js +1 -0
  601. package/dist/webcomponents/p-BHbsXXRt.js +1 -0
  602. package/dist/webcomponents/p-BM61p7vG.js +1 -0
  603. package/dist/webcomponents/p-BODr6HXb.js +1 -0
  604. package/dist/webcomponents/p-BUM1DfV9.js +2 -0
  605. package/dist/webcomponents/p-BVwkHwTc.js +1 -0
  606. package/dist/webcomponents/p-BWFriesi.js +1 -0
  607. package/dist/webcomponents/p-Bde7dY9t.js +9 -0
  608. package/dist/webcomponents/{p-1366a019.js → p-BjB_yKBJ.js} +1 -1
  609. package/dist/webcomponents/p-Bo92MHrs.js +1 -0
  610. package/dist/webcomponents/p-BoPxMyJA.js +1 -0
  611. package/dist/webcomponents/{p-5d1d2fd7.js → p-BrvbVMVq.js} +1 -1
  612. package/dist/webcomponents/{p-a5579f53.js → p-BuYnqWwT.js} +1 -1
  613. package/dist/webcomponents/p-BxPlB-C5.js +1 -0
  614. package/dist/webcomponents/{p-3f5e6602.js → p-Bxs6fi7a.js} +1 -1
  615. package/dist/webcomponents/{p-bfe9748b.js → p-C3nDCvFQ.js} +1 -1
  616. package/dist/webcomponents/{p-87f8c596.js → p-C5RuuShs.js} +1 -1
  617. package/dist/webcomponents/p-CB88j97I.js +1 -0
  618. package/dist/webcomponents/p-CGz3XHQc.js +1 -0
  619. package/dist/webcomponents/p-CLBRsaLx.js +1 -0
  620. package/dist/webcomponents/{p-4cc3c7f9.js → p-CTBH4Lj9.js} +1 -1
  621. package/dist/webcomponents/p-CYsU0lEI.js +1 -0
  622. package/dist/webcomponents/p-CjunQqer.js +1 -0
  623. package/dist/webcomponents/{p-12074378.js → p-CnyMKcfC.js} +1 -1
  624. package/dist/webcomponents/p-CpTwq2jw.js +1 -0
  625. package/dist/webcomponents/{p-61f0a2ce.js → p-Ct-uNz2r.js} +1 -1
  626. package/dist/webcomponents/p-CwHcfOV7.js +1 -0
  627. package/dist/webcomponents/p-Cy4aIACq.js +1 -0
  628. package/dist/webcomponents/p-D7s2671S.js +1 -0
  629. package/dist/webcomponents/{p-ca6cdfe6.js → p-D89x2FYg.js} +1 -1
  630. package/dist/webcomponents/p-D9t-X0IY.js +1 -0
  631. package/dist/webcomponents/p-DLpKiPxJ.js +1 -0
  632. package/dist/webcomponents/p-DVnVdicA.js +1 -0
  633. package/dist/webcomponents/p-DhEfW-kS.js +1 -0
  634. package/dist/webcomponents/p-DhQ2XlhY.js +1 -0
  635. package/dist/webcomponents/p-Dna7whFY.js +1 -0
  636. package/dist/webcomponents/p-DoH48u6u.js +1 -0
  637. package/dist/webcomponents/p-Dt-vy9Le.js +1 -0
  638. package/dist/webcomponents/p-DzPbgN8M.js +1 -0
  639. package/dist/webcomponents/{p-c9b78275.js → p-IA90llLO.js} +1 -1
  640. package/dist/webcomponents/p-JcczGkik.js +1 -0
  641. package/dist/webcomponents/p-QYQ4VLoz.js +1 -0
  642. package/dist/webcomponents/{p-9dd8685c.js → p-SdntD1xf.js} +1 -1
  643. package/dist/webcomponents/p-ZUQEru6m.js +1 -0
  644. package/dist/webcomponents/p-a22974fd.entry.js +1 -0
  645. package/dist/webcomponents/p-a2bf5919.entry.js +1 -0
  646. package/dist/webcomponents/p-a9eff0f2.entry.js +1 -0
  647. package/dist/webcomponents/p-ab99e4c6.entry.js +1 -0
  648. package/dist/webcomponents/p-b7053613.entry.js +1 -0
  649. package/dist/webcomponents/p-bb8f7062.entry.js +1 -0
  650. package/dist/webcomponents/p-be04a09c.entry.js +1 -0
  651. package/dist/webcomponents/p-bplwtwD3.js +1 -0
  652. package/dist/webcomponents/p-c38c742e.entry.js +1 -0
  653. package/dist/webcomponents/p-c558725e.entry.js +1 -0
  654. package/dist/webcomponents/p-c6534f5f.entry.js +1 -0
  655. package/dist/webcomponents/p-c6cf707c.entry.js +1 -0
  656. package/dist/webcomponents/p-c70dcec1.entry.js +1 -0
  657. package/dist/webcomponents/p-c8d608a1.entry.js +1 -0
  658. package/dist/webcomponents/p-ce20d709.entry.js +1 -0
  659. package/dist/webcomponents/p-cf8f69de.entry.js +1 -0
  660. package/dist/webcomponents/p-d5675bf5.entry.js +1 -0
  661. package/dist/webcomponents/p-def42fc7.entry.js +1 -0
  662. package/dist/webcomponents/p-dfcf19f2.entry.js +1 -0
  663. package/dist/webcomponents/p-e0896deb.entry.js +1 -0
  664. package/dist/webcomponents/p-e3962860.entry.js +1 -0
  665. package/dist/webcomponents/p-e3cd72ad.entry.js +1 -0
  666. package/dist/webcomponents/p-e52d5ead.entry.js +1 -0
  667. package/dist/webcomponents/p-eYaGyUvS.js +1 -0
  668. package/dist/webcomponents/p-eb31e5c7.entry.js +1 -0
  669. package/dist/webcomponents/p-eb677eb2.entry.js +1 -0
  670. package/dist/webcomponents/p-f0301d11.entry.js +1 -0
  671. package/dist/webcomponents/p-f51e4213.entry.js +1 -0
  672. package/dist/webcomponents/p-gAO-RwrF.js +1 -0
  673. package/dist/webcomponents/p-hkXaxw9l.js +1 -0
  674. package/dist/webcomponents/p-p7aAf5_m.js +1 -0
  675. package/dist/webcomponents/p-sXe3gn-5.js +1 -0
  676. package/dist/webcomponents/p-y-Ys7Rd-.js +1 -0
  677. package/dist/webcomponents/p-z1GJDdMW.js +1 -0
  678. package/dist/webcomponents/webcomponents.esm.js +1 -1
  679. package/package.json +6 -7
  680. package/dist/cjs/Api-83d93333.js +0 -118
  681. package/dist/cjs/billing-form_3.cjs.entry.js +0 -1733
  682. package/dist/cjs/index.esm-544c08fd.js +0 -2937
  683. package/dist/cjs/lodash-dbf6a6a4.js +0 -17206
  684. package/dist/cjs/package-5a9f02b2.js +0 -83
  685. package/dist/cjs/payment.service-537e049d.js +0 -23
  686. package/dist/cjs/terminals-list-params-state-236f06f6.js +0 -22
  687. package/dist/cjs/utils-4120664c.js +0 -4018
  688. package/dist/collection/components/checkout/billing-forms/billing-form/billing-form.js +0 -137
  689. package/dist/collection/components/checkout/billing-forms/billing-form-schema.js +0 -26
  690. package/dist/collection/components/checkout/billing-forms/billing-form-wrapper.js +0 -183
  691. package/dist/collection/components/checkout/billing-forms/postal-form/postal-form.js +0 -136
  692. package/dist/esm/Api-52242eb0.js +0 -116
  693. package/dist/esm/billing-form_3.entry.js +0 -1727
  694. package/dist/esm/index.esm-feedf26f.js +0 -2931
  695. package/dist/esm/lodash-faeb5a52.js +0 -17204
  696. package/dist/esm/package-c8466624.js +0 -81
  697. package/dist/esm/payment.service-af5bd8be.js +0 -21
  698. package/dist/esm/terminals-list-params-state-e4b2ec23.js +0 -16
  699. package/dist/esm/utils-ec50661e.js +0 -4001
  700. package/dist/loader/package.json +0 -11
  701. package/dist/module/billing-form-schema.js +0 -16
  702. package/dist/module/billing-form-wrapper.js +0 -114
  703. package/dist/module/billing-form2.js +0 -90
  704. package/dist/module/justifi-billing-form-wrapper.d.ts +0 -11
  705. package/dist/module/justifi-billing-form-wrapper.js +0 -6
  706. package/dist/module/postal-form.d.ts +0 -11
  707. package/dist/module/postal-form.js +0 -6
  708. package/dist/module/postal-form2.js +0 -83
  709. package/dist/types/components/checkout/billing-forms/billing-form-wrapper.d.ts +0 -19
  710. package/dist/types/components/checkout/billing-forms/postal-form/postal-form.d.ts +0 -20
  711. package/dist/webcomponents/p-01033194.js +0 -1
  712. package/dist/webcomponents/p-04d6b37e.entry.js +0 -1
  713. package/dist/webcomponents/p-092515e0.js +0 -1
  714. package/dist/webcomponents/p-0b61d4d3.entry.js +0 -1
  715. package/dist/webcomponents/p-0c7ec110.entry.js +0 -1
  716. package/dist/webcomponents/p-0f0020e1.entry.js +0 -1
  717. package/dist/webcomponents/p-0fa216eb.entry.js +0 -1
  718. package/dist/webcomponents/p-1361d8eb.entry.js +0 -1
  719. package/dist/webcomponents/p-13717638.entry.js +0 -1
  720. package/dist/webcomponents/p-142bfae3.js +0 -1
  721. package/dist/webcomponents/p-1cfa5df9.entry.js +0 -1
  722. package/dist/webcomponents/p-1ff8810b.js +0 -1
  723. package/dist/webcomponents/p-2123c150.js +0 -1
  724. package/dist/webcomponents/p-21def20b.entry.js +0 -1
  725. package/dist/webcomponents/p-23cd76af.entry.js +0 -1
  726. package/dist/webcomponents/p-25b82529.entry.js +0 -1
  727. package/dist/webcomponents/p-27546fa9.entry.js +0 -1
  728. package/dist/webcomponents/p-275c3dc9.js +0 -1
  729. package/dist/webcomponents/p-2783e363.js +0 -2
  730. package/dist/webcomponents/p-290fa30d.entry.js +0 -1
  731. package/dist/webcomponents/p-2a9d7f6b.js +0 -1
  732. package/dist/webcomponents/p-2aad7e3b.entry.js +0 -1
  733. package/dist/webcomponents/p-2b8aaa7d.entry.js +0 -1
  734. package/dist/webcomponents/p-3075b7e1.entry.js +0 -1
  735. package/dist/webcomponents/p-31dcaeaf.entry.js +0 -1
  736. package/dist/webcomponents/p-35c296fc.entry.js +0 -1
  737. package/dist/webcomponents/p-373a19fe.entry.js +0 -1
  738. package/dist/webcomponents/p-375657fe.entry.js +0 -1
  739. package/dist/webcomponents/p-3cc7527a.entry.js +0 -1
  740. package/dist/webcomponents/p-3cf317d3.entry.js +0 -1
  741. package/dist/webcomponents/p-407d6d29.entry.js +0 -1
  742. package/dist/webcomponents/p-4451de8d.entry.js +0 -1
  743. package/dist/webcomponents/p-4f7432c3.entry.js +0 -1
  744. package/dist/webcomponents/p-536497fe.entry.js +0 -1
  745. package/dist/webcomponents/p-536fb8e2.js +0 -1
  746. package/dist/webcomponents/p-537bce77.js +0 -1
  747. package/dist/webcomponents/p-54556fc6.js +0 -1
  748. package/dist/webcomponents/p-56c7fc8d.js +0 -1
  749. package/dist/webcomponents/p-58ee6ce9.js +0 -1
  750. package/dist/webcomponents/p-5a541d35.js +0 -1
  751. package/dist/webcomponents/p-5a9d7ca0.entry.js +0 -1
  752. package/dist/webcomponents/p-5b76dbe1.entry.js +0 -1
  753. package/dist/webcomponents/p-5f6b4bc9.js +0 -1
  754. package/dist/webcomponents/p-645db2cb.entry.js +0 -1
  755. package/dist/webcomponents/p-673c1bca.js +0 -1
  756. package/dist/webcomponents/p-753d983c.entry.js +0 -1
  757. package/dist/webcomponents/p-76549a24.js +0 -1
  758. package/dist/webcomponents/p-7d85af5c.js +0 -1
  759. package/dist/webcomponents/p-7e8732f7.entry.js +0 -1
  760. package/dist/webcomponents/p-81a6c3e2.entry.js +0 -1
  761. package/dist/webcomponents/p-829480e7.entry.js +0 -1
  762. package/dist/webcomponents/p-86605101.js +0 -1
  763. package/dist/webcomponents/p-87a4fb5b.js +0 -1
  764. package/dist/webcomponents/p-927cb6df.js +0 -1
  765. package/dist/webcomponents/p-94e4f1f1.entry.js +0 -1
  766. package/dist/webcomponents/p-96c23cda.entry.js +0 -1
  767. package/dist/webcomponents/p-9a9732e1.js +0 -1
  768. package/dist/webcomponents/p-9fecad5a.js +0 -1
  769. package/dist/webcomponents/p-a3cced75.entry.js +0 -1
  770. package/dist/webcomponents/p-a5f5cc2e.entry.js +0 -1
  771. package/dist/webcomponents/p-a8c69f51.entry.js +0 -1
  772. package/dist/webcomponents/p-ab45511e.js +0 -1
  773. package/dist/webcomponents/p-ad713ab6.entry.js +0 -1
  774. package/dist/webcomponents/p-adecb91a.entry.js +0 -1
  775. package/dist/webcomponents/p-ae7edce5.js +0 -1
  776. package/dist/webcomponents/p-ae891abb.entry.js +0 -1
  777. package/dist/webcomponents/p-af3315b5.entry.js +0 -1
  778. package/dist/webcomponents/p-b218af87.entry.js +0 -1
  779. package/dist/webcomponents/p-b50ca848.entry.js +0 -1
  780. package/dist/webcomponents/p-b84ee6d8.js +0 -1
  781. package/dist/webcomponents/p-b8664571.entry.js +0 -1
  782. package/dist/webcomponents/p-bb4b3f79.entry.js +0 -1
  783. package/dist/webcomponents/p-beec0b60.js +0 -1
  784. package/dist/webcomponents/p-bf12999f.js +0 -1
  785. package/dist/webcomponents/p-bf195b35.js +0 -1
  786. package/dist/webcomponents/p-bfc2d88a.js +0 -1
  787. package/dist/webcomponents/p-c6be72b0.js +0 -10
  788. package/dist/webcomponents/p-c8b78136.js +0 -1
  789. package/dist/webcomponents/p-cbad44b7.js +0 -1
  790. package/dist/webcomponents/p-cc2f75a3.entry.js +0 -1
  791. package/dist/webcomponents/p-ccb9ee53.js +0 -1
  792. package/dist/webcomponents/p-cd93c62b.entry.js +0 -19
  793. package/dist/webcomponents/p-d757fcf5.js +0 -1
  794. package/dist/webcomponents/p-dbc1a95b.js +0 -1
  795. package/dist/webcomponents/p-dd2938d3.entry.js +0 -1
  796. package/dist/webcomponents/p-de03d0f8.js +0 -1
  797. package/dist/webcomponents/p-dec18cc4.js +0 -1
  798. package/dist/webcomponents/p-e1ae5e80.entry.js +0 -1
  799. package/dist/webcomponents/p-e3855f51.entry.js +0 -1
  800. package/dist/webcomponents/p-e73be1b9.entry.js +0 -1
  801. package/dist/webcomponents/p-e9867f8b.entry.js +0 -1
  802. package/dist/webcomponents/p-ef1db3da.entry.js +0 -1
  803. package/dist/webcomponents/p-f13b2991.entry.js +0 -1
  804. package/dist/webcomponents/p-f20466f7.entry.js +0 -1
  805. package/dist/webcomponents/p-f20b6ce1.js +0 -1
  806. package/dist/webcomponents/p-f4739d31.js +0 -1
  807. package/dist/webcomponents/p-f4aeb100.js +0 -1
  808. package/dist/webcomponents/p-f8fccf44.js +0 -1
  809. package/dist/webcomponents/p-f930504f.entry.js +0 -1
  810. package/dist/webcomponents/p-faa35b47.entry.js +0 -1
  811. package/dist/webcomponents/p-fb2db8da.entry.js +0 -1
  812. package/dist/webcomponents/p-fca89e9b.entry.js +0 -1
  813. /package/dist/cjs/{Dispute-eb6bad54.js → Dispute-CruQTF6_.js} +0 -0
  814. /package/dist/cjs/{Document-0b828345.js → Document-rXGBUaOh.js} +0 -0
  815. /package/dist/cjs/{Pagination-0da8f095.js → Pagination-Dediz133.js} +0 -0
  816. /package/dist/cjs/{app-globals-3a1e7e63.js → app-globals-V2Kpy_OQ.js} +0 -0
  817. /package/dist/cjs/{event-types-8edaabbb.js → event-types-BWQT2lwu.js} +0 -0
  818. /package/dist/cjs/{event-types-180a85a9.js → event-types-DNOUef41.js} +0 -0
  819. /package/dist/cjs/{form-input-masks-0879c139.js → form-input-masks-DgXd0f4V.js} +0 -0
  820. /package/dist/cjs/{state-options-4fbcb48a.js → state-options-CIT9xdTz.js} +0 -0
  821. /package/dist/cjs/{utils-bc03ca40.js → utils-DAyWinG2.js} +0 -0
  822. /package/dist/esm/{Dispute-5fd28ec9.js → Dispute-7MWRbTXI.js} +0 -0
  823. /package/dist/esm/{Pagination-afc8f96d.js → Pagination-CLHwhyvu.js} +0 -0
  824. /package/dist/esm/{app-globals-0f993ce5.js → app-globals-DQuL1Twl.js} +0 -0
  825. /package/dist/esm/{event-types-07cdb9a0.js → event-types-Bg2SZArf.js} +0 -0
  826. /package/dist/esm/{event-types-5c87de02.js → event-types-XYgDHrVL.js} +0 -0
  827. /package/dist/esm/{form-input-masks-0e18300f.js → form-input-masks-B-iV5cYd.js} +0 -0
  828. /package/dist/esm/{state-options-a356fb11.js → state-options-BX8GieXu.js} +0 -0
  829. /package/dist/esm/{utils-20cdf321.js → utils-BnjCmwMr.js} +0 -0
  830. /package/dist/webcomponents/{p-abdbcd8e.js → p-7MWRbTXI.js} +0 -0
  831. /package/dist/webcomponents/{p-525db3e8.js → p-B-iV5cYd.js} +0 -0
  832. /package/dist/webcomponents/{p-6078a370.js → p-BX8GieXu.js} +0 -0
  833. /package/dist/webcomponents/{p-667ebd79.js → p-Bg2SZArf.js} +0 -0
  834. /package/dist/webcomponents/{p-e3c22aa9.js → p-BnjCmwMr.js} +0 -0
  835. /package/dist/webcomponents/{p-56f6ce4c.js → p-CLHwhyvu.js} +0 -0
  836. /package/dist/webcomponents/{p-1ad5995e.js → p-Ce_F4E0f.js} +0 -0
  837. /package/dist/webcomponents/{p-e1255160.js → p-DQuL1Twl.js} +0 -0
  838. /package/dist/webcomponents/{p-73f9be7c.js → p-XYgDHrVL.js} +0 -0
@@ -22,7 +22,6 @@ const BankAccountForm = /*@__PURE__*/ proxyCustomElement(class BankAccountForm e
22
22
  constructor() {
23
23
  super();
24
24
  this.__registerHost();
25
- this.iframeOrigin = undefined;
26
25
  this.isReady = false;
27
26
  }
28
27
  async validate() {
@@ -1,6 +1,124 @@
1
- import { B as BillingForm$1, d as defineCustomElement$1 } from './billing-form2.js';
1
+ import { h, proxyCustomElement, HTMLElement, Host } from '@stencil/core/internal/client';
2
+ import { c as create$3, F as FormController } from './form.js';
3
+ import { q as postalValidation, u as stateValidation, v as cityValidation, x as lineTwoValidation, y as lineOneValidation, n as identityNameValidation } from './schema-validations.js';
4
+ import { R as heading3, al as billingForm } from './parts.js';
5
+ import './details.js';
6
+ import { n as numberOnlyHandler } from './utils3.js';
7
+ import { S as StateOptions } from './state-options.js';
8
+ import { d as defineCustomElement$4 } from './custom-popper2.js';
9
+ import { d as defineCustomElement$3 } from './form-control-select2.js';
10
+ import { d as defineCustomElement$2 } from './form-control-text2.js';
11
+ import { d as defineCustomElement$1 } from './form-control-tooltip2.js';
2
12
 
3
- const BillingForm = BillingForm$1;
4
- const defineCustomElement = defineCustomElement$1;
13
+ const Header3 = (props) => {
14
+ return h("h3", { class: `header-3 ${props === null || props === void 0 ? void 0 : props.class}`, part: heading3 }, props.text);
15
+ };
5
16
 
6
- export { BillingForm, defineCustomElement };
17
+ const billingFormSchema = (postalOnly) => {
18
+ const fullBillingForm = create$3({
19
+ name: identityNameValidation.required('Enter full name'),
20
+ address_line1: lineOneValidation.required('Enter street address'),
21
+ address_line2: lineTwoValidation.nullable(),
22
+ address_city: cityValidation.required('Enter city'),
23
+ address_state: stateValidation.required('Select state'),
24
+ address_postal_code: postalValidation.required('Enter postal code')
25
+ });
26
+ const postalForm = create$3({
27
+ name: identityNameValidation.nullable(),
28
+ address_line1: lineOneValidation.nullable(),
29
+ address_line2: lineTwoValidation.nullable(),
30
+ address_city: cityValidation.nullable(),
31
+ address_state: stateValidation.nullable(),
32
+ address_postal_code: postalValidation.required('Enter postal code')
33
+ });
34
+ return postalOnly ? postalForm : fullBillingForm;
35
+ };
36
+
37
+ const BillingForm = /*@__PURE__*/ proxyCustomElement(class BillingForm extends HTMLElement {
38
+ constructor() {
39
+ super();
40
+ this.__registerHost();
41
+ this.errors = {};
42
+ this.inputHandler = (name, value) => {
43
+ this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { [name]: value }));
44
+ };
45
+ }
46
+ componentWillLoad() {
47
+ const postalOnly = this.isPostalOnlyMode;
48
+ this.formController = new FormController(billingFormSchema(postalOnly));
49
+ }
50
+ componentDidLoad() {
51
+ this.formController.values.subscribe(values => this.billingInfo = Object.assign({}, values));
52
+ this.formController.errors.subscribe(errors => {
53
+ this.errors = Object.assign({}, errors);
54
+ });
55
+ }
56
+ get isPostalOnlyMode() {
57
+ return this.paymentMethodType === 'card' && this.hideCardBillingForm;
58
+ }
59
+ get hideAllBillingFields() {
60
+ return this.paymentMethodType === 'bankAccount' && this.hideBankAccountBillingForm;
61
+ }
62
+ async getValues() {
63
+ return this.formController.values.getValue();
64
+ }
65
+ async fill(fields) {
66
+ this.formController.setInitialValues(fields);
67
+ }
68
+ async validate() {
69
+ let isValid = await this.formController.validate();
70
+ return { isValid: isValid };
71
+ }
72
+ render() {
73
+ const billingFormDefaultValue = this.formController.getInitialValues();
74
+ const showHeader = !this.isPostalOnlyMode && !this.hideAllBillingFields;
75
+ return (h(Host, { key: '0df4ecdee8c32874325b83dd79586c7449ce6d93' }, h("div", { key: '6d5b45f278a7c69a76fe0895036ab37b810d0262', part: billingForm, class: "mt-4", hidden: this.hideAllBillingFields }, showHeader && h(Header3, { key: 'bc8f57f42134859e28dd523500ef874101198076', text: "Billing address", class: "fs-6 fw-bold lh-lg mb-4" }), h("form", { key: '908b8265b028caaa01314bc56bdbfe550b632b94' }, h("fieldset", { key: 'af3e34fca100b0e0c3f13ef3af3a88009859e277' }, this.legend && h("legend", { key: '15cfcc98681d4386afad33d68910f7732e88b9a9' }, this.legend), h("div", { key: 'de372fbe06a6da1f512170a6f79f27c96499d790', class: "row gy-3" }, h("div", { key: 'bb4aab9d17a7bed7cb09e4306158f5e0ff248b8f', class: "col-12", hidden: this.isPostalOnlyMode }, h("form-control-text", { key: 'f8e086504b6f3fac0e4bd2a0c0dee5e2f2c3328a', name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: '9a5105e1183a61c55639c8153a65169fb65998c5', class: "col-12", hidden: this.isPostalOnlyMode }, h("form-control-text", { key: '4802e1462b0b1f433c77f817b733611332b18711', name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), h("div", { key: '3edf7b2390c2fa7d0cadd75f9102a63f88a3685b', class: "col-12", hidden: this.isPostalOnlyMode }, h("form-control-text", { key: 'bec348d7030fa44e5a627ebc3f67ed9689a4a5b9', name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), h("div", { key: '066d141b9529aae210fc2585bd2fd386e5b82120', class: "col-12", hidden: this.isPostalOnlyMode }, h("form-control-text", { key: '602587fcca0666d7070e5cd0316ed1c541953337', name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), h("div", { key: '125aeec26f292763abefe1c3a1a3070a2a8b4c7c', class: "col-12", hidden: this.isPostalOnlyMode }, h("form-control-select", { key: 'fb8d46d217d452809ee199ef8640e93714a91e85', name: 'address_state', label: 'State', options: StateOptions, defaultValue: billingFormDefaultValue.address_state, errorText: this.errors.address_state, inputHandler: this.inputHandler })), h("div", { key: 'b622a69cb724ed15d2fe0fb2a9039635bc96a12e', class: "col-12", hidden: this.hideAllBillingFields }, h("form-control-text", { key: 'a094770db85d5a65524909b5c4ec532fca167a95', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: numberOnlyHandler }))))))));
76
+ }
77
+ }, [0, "justifi-billing-form", {
78
+ "legend": [1025],
79
+ "hideCardBillingForm": [4, "hide-card-billing-form"],
80
+ "hideBankAccountBillingForm": [4, "hide-bank-account-billing-form"],
81
+ "paymentMethodType": [1, "payment-method-type"],
82
+ "formController": [32],
83
+ "billingInfo": [32],
84
+ "errors": [32],
85
+ "getValues": [64],
86
+ "fill": [64],
87
+ "validate": [64]
88
+ }]);
89
+ function defineCustomElement() {
90
+ if (typeof customElements === "undefined") {
91
+ return;
92
+ }
93
+ const components = ["justifi-billing-form", "custom-popper", "form-control-select", "form-control-text", "form-control-tooltip"];
94
+ components.forEach(tagName => { switch (tagName) {
95
+ case "justifi-billing-form":
96
+ if (!customElements.get(tagName)) {
97
+ customElements.define(tagName, BillingForm);
98
+ }
99
+ break;
100
+ case "custom-popper":
101
+ if (!customElements.get(tagName)) {
102
+ defineCustomElement$4();
103
+ }
104
+ break;
105
+ case "form-control-select":
106
+ if (!customElements.get(tagName)) {
107
+ defineCustomElement$3();
108
+ }
109
+ break;
110
+ case "form-control-text":
111
+ if (!customElements.get(tagName)) {
112
+ defineCustomElement$2();
113
+ }
114
+ break;
115
+ case "form-control-tooltip":
116
+ if (!customElements.get(tagName)) {
117
+ defineCustomElement$1();
118
+ }
119
+ break;
120
+ } });
121
+ }
122
+ defineCustomElement();
123
+
124
+ export { BillingForm as B, Header3 as H, defineCustomElement as d };
@@ -5,7 +5,7 @@ import { A as AdditionalQuestions } from './Business.js';
5
5
  import { C as CURRENCY_MASK } from './form-input-masks.js';
6
6
  import { h as heading2 } from './parts.js';
7
7
  import { P as PaymentProvisioningLoading } from './payment-provisioning-loading.js';
8
- import { c as businessServiceReceivedOptions, r as recurringPaymentsOptions, s as seasonalBusinessOptions } from './business-form-options.js';
8
+ import { a as businessServiceReceivedOptions, r as recurringPaymentsOptions, s as seasonalBusinessOptions } from './business-form-options.js';
9
9
  import { B as BusinessFormStep } from './event-types.js';
10
10
  import { d as defineCustomElement$5 } from './custom-popper2.js';
11
11
  import { d as defineCustomElement$4 } from './form-control-monetary-provisioning2.js';
@@ -20,6 +20,10 @@ const AdditionalQuestionsFormStepCore = /*@__PURE__*/ proxyCustomElement(class A
20
20
  this.stepCompleteEvent = createEvent(this, "complete-form-step-event", 7);
21
21
  this.errorEvent = createEvent(this, "error-event", 7);
22
22
  this.formLoading = createEvent(this, "formLoading", 7);
23
+ this.errors = {};
24
+ this.additional_questions = {};
25
+ this.recurringPayments = false;
26
+ this.isLoading = false;
23
27
  this.getData = () => {
24
28
  this.formLoading.emit(true);
25
29
  this.isLoading = true;
@@ -68,14 +72,6 @@ const AdditionalQuestionsFormStepCore = /*@__PURE__*/ proxyCustomElement(class A
68
72
  this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { [name]: value }));
69
73
  this.additional_questions = new AdditionalQuestions(Object.assign(Object.assign({}, this.formController.values.getValue()), { [name]: value }));
70
74
  };
71
- this.formController = undefined;
72
- this.errors = {};
73
- this.additional_questions = {};
74
- this.recurringPayments = false;
75
- this.isLoading = false;
76
- this.getBusiness = undefined;
77
- this.patchBusiness = undefined;
78
- this.allowOptionalFields = undefined;
79
75
  }
80
76
  recurringPaymentsWatcher(newValue) {
81
77
  if ((newValue === null || newValue === void 0 ? void 0 : newValue.business_recurring_payments) === 'Yes') {
@@ -114,8 +110,8 @@ const AdditionalQuestionsFormStepCore = /*@__PURE__*/ proxyCustomElement(class A
114
110
  "additional_questions": ["recurringPaymentsWatcher"]
115
111
  }; }
116
112
  }, [0, "justifi-additional-questions-form-step-core", {
117
- "getBusiness": [16],
118
- "patchBusiness": [16],
113
+ "getBusiness": [16, "get-business"],
114
+ "patchBusiness": [16, "patch-business"],
119
115
  "allowOptionalFields": [4, "allow-optional-fields"],
120
116
  "formController": [32],
121
117
  "errors": [32],
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { C as ComponentErrorCodes, a as ComponentErrorSeverity } from './ComponentError.js';
2
+ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError.js';
3
3
  import { m as makeGetBusiness, a as makePatchBusiness } from './payment-provisioning-actions.js';
4
4
  import { B as BusinessService } from './business.service.js';
5
5
  import { d as defineCustomElement$6 } from './custom-popper2.js';
@@ -14,11 +14,6 @@ const AdditionalQuestionsFormStep = /*@__PURE__*/ proxyCustomElement(class Addit
14
14
  super();
15
15
  this.__registerHost();
16
16
  this.errorEvent = createEvent(this, "error-event", 7);
17
- this.getBusiness = undefined;
18
- this.patchBusiness = undefined;
19
- this.authToken = undefined;
20
- this.businessId = undefined;
21
- this.allowOptionalFields = undefined;
22
17
  }
23
18
  propChanged() {
24
19
  this.initializeApi();
@@ -1,5 +1,5 @@
1
1
  import { c as create$3 } from './form.js';
2
- import { r as revenueValidation, b as paymentVolumeValidation, w as whenServiceReceivedValidation, d as recurringPaymentsValidation, e as recurringPaymentsPercentageValidation, f as seasonalBusinessValidation, o as otherPaymentDetailsValidation } from './schema-validations.js';
2
+ import { o as otherPaymentDetailsValidation, s as seasonalBusinessValidation, r as recurringPaymentsValidation, w as whenServiceReceivedValidation, p as paymentVolumeValidation, a as revenueValidation, b as recurringPaymentsPercentageValidation } from './schema-validations.js';
3
3
 
4
4
  const additionalQuestionsSchema = (allowOptionalFields) => {
5
5
  const schema = create$3({
@@ -1,5 +1,5 @@
1
1
  import { c as create$3, a as create$6 } from './form.js';
2
- import { l as lineOneValidation, a as lineTwoValidation, c as cityValidation, s as stateValidation, p as postalValidation } from './schema-validations.js';
2
+ import { q as postalValidation, u as stateValidation, v as cityValidation, x as lineTwoValidation, y as lineOneValidation } from './schema-validations.js';
3
3
 
4
4
  const addressSchema = (allowOptionalFields) => {
5
5
  const schema = create$3({
@@ -1,16 +1,17 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
2
  import { c as create$3, F as FormController } from './form.js';
3
- import { g as bankNameValidation, n as nicknameValidation, i as identityNameValidation, h as accountTypeValidation, j as accountNumberValidation, k as routingNumberValidation, v as voidedCheckValidation, m as bankStatementValidation } from './schema-validations.js';
3
+ import { z as bankStatementValidation, A as voidedCheckValidation, B as routingNumberValidation, C as accountNumberValidation, D as accountTypeValidation, n as identityNameValidation, E as nicknameValidation, F as bankNameValidation } from './schema-validations.js';
4
4
  import './Business.js';
5
5
  import { B as BusinessFormStep } from './event-types.js';
6
6
  import { h as heading2 } from './parts.js';
7
7
  import { P as PaymentProvisioningLoading } from './payment-provisioning-loading.js';
8
- import { C as ComponentErrorCodes, a as ComponentErrorSeverity } from './ComponentError.js';
8
+ import './utils2.js';
9
+ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError.js';
9
10
  import './Checkout.js';
10
11
  import './Pagination.js';
11
12
  import './Payment.js';
12
- import './SubAccount.js';
13
- import { a as EntityDocument, b as EntityDocumentStorage } from './Document.js';
13
+ import './Refund.js';
14
+ import { a as EntityDocumentStorage, b as EntityDocument } from './Document.js';
14
15
  import { d as defineCustomElement$8 } from './bank-account-document-inputs.js';
15
16
  import { d as defineCustomElement$7 } from './bank-account-form-inputs2.js';
16
17
  import { d as defineCustomElement$6 } from './business-documents-on-file2.js';
@@ -84,6 +85,11 @@ const BusinessBankAccountFormStepCore = /*@__PURE__*/ proxyCustomElement(class B
84
85
  this.stepCompleteEvent = createEvent(this, "complete-form-step-event", 7);
85
86
  this.errorEvent = createEvent(this, "error-event", 7);
86
87
  this.formLoading = createEvent(this, "formLoading", 7);
88
+ this.errors = {};
89
+ this.bankAccount = {};
90
+ this.existingDocuments = [];
91
+ this.documentData = new EntityDocumentStorage();
92
+ this.isLoading = false;
87
93
  this.initializeFormController = () => {
88
94
  this.formController = new FormController(businessBankAccountSchema(this.existingDocuments, this.allowOptionalFields));
89
95
  this.formController.setInitialValues(Object.assign({}, this.bankAccount));
@@ -185,17 +191,6 @@ const BusinessBankAccountFormStepCore = /*@__PURE__*/ proxyCustomElement(class B
185
191
  return true;
186
192
  }
187
193
  };
188
- this.formController = undefined;
189
- this.errors = {};
190
- this.bankAccount = {};
191
- this.existingDocuments = [];
192
- this.documentData = new EntityDocumentStorage();
193
- this.isLoading = false;
194
- this.businessId = undefined;
195
- this.getBusiness = undefined;
196
- this.postBankAccount = undefined;
197
- this.postDocumentRecord = undefined;
198
- this.allowOptionalFields = undefined;
199
194
  }
200
195
  watchHandler(newValue) {
201
196
  this.formLoading.emit(newValue);
@@ -309,9 +304,9 @@ const BusinessBankAccountFormStepCore = /*@__PURE__*/ proxyCustomElement(class B
309
304
  }; }
310
305
  }, [0, "justifi-business-bank-account-form-step-core", {
311
306
  "businessId": [1, "business-id"],
312
- "getBusiness": [16],
313
- "postBankAccount": [16],
314
- "postDocumentRecord": [16],
307
+ "getBusiness": [16, "get-business"],
308
+ "postBankAccount": [16, "post-bank-account"],
309
+ "postDocumentRecord": [16, "post-document-record"],
315
310
  "allowOptionalFields": [4, "allow-optional-fields"],
316
311
  "formController": [32],
317
312
  "errors": [32],
@@ -1,9 +1,10 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { C as ComponentErrorCodes, a as ComponentErrorSeverity } from './ComponentError.js';
2
+ import './utils2.js';
3
+ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError.js';
3
4
  import './Checkout.js';
4
5
  import './Pagination.js';
5
6
  import './Payment.js';
6
- import './SubAccount.js';
7
+ import './Refund.js';
7
8
  import './Document.js';
8
9
  import { m as makeGetBusiness, b as makePostBankAccount, c as makePostDocumentRecord } from './payment-provisioning-actions.js';
9
10
  import { B as BusinessService, a as BusinessBankAccountService, D as DocumentRecordService } from './business.service.js';
@@ -22,13 +23,6 @@ const BusinessBankAccountFormStep = /*@__PURE__*/ proxyCustomElement(class Busin
22
23
  super();
23
24
  this.__registerHost();
24
25
  this.errorEvent = createEvent(this, "error-event", 7);
25
- this.getBusiness = undefined;
26
- this.postBankAccount = undefined;
27
- this.postDocumentRecord = undefined;
28
- this.postDocument = undefined;
29
- this.authToken = undefined;
30
- this.businessId = undefined;
31
- this.allowOptionalFields = undefined;
32
26
  }
33
27
  propChanged() {
34
28
  this.initializeApi();
@@ -2,7 +2,7 @@ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/i
2
2
  import { b as businessCoreInfoSchema } from './business-core-info-schema.js';
3
3
  import { F as FormController } from './form.js';
4
4
  import { C as CoreBusinessInfo } from './Business.js';
5
- import { a as businessClassificationOptions } from './business-form-options.js';
5
+ import { c as businessClassificationOptions } from './business-form-options.js';
6
6
  import { B as BusinessFormStep } from './event-types.js';
7
7
  import { P as PHONE_MASKS } from './form-input-masks.js';
8
8
  import { n as numberOnlyHandler } from './utils3.js';
@@ -22,6 +22,9 @@ const BusinessCoreInfoFormStepCore = /*@__PURE__*/ proxyCustomElement(class Busi
22
22
  this.stepCompleteEvent = createEvent(this, "complete-form-step-event", 7);
23
23
  this.errorEvent = createEvent(this, "error-event", 7);
24
24
  this.formLoading = createEvent(this, "formLoading", 7);
25
+ this.errors = {};
26
+ this.coreInfo = {};
27
+ this.isLoading = false;
25
28
  this.getData = () => {
26
29
  this.formLoading.emit(true);
27
30
  this.isLoading = true;
@@ -69,14 +72,6 @@ const BusinessCoreInfoFormStepCore = /*@__PURE__*/ proxyCustomElement(class Busi
69
72
  this.inputHandler = (name, value) => {
70
73
  this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { [name]: value }));
71
74
  };
72
- this.formController = undefined;
73
- this.errors = {};
74
- this.coreInfo = {};
75
- this.isLoading = false;
76
- this.businessId = undefined;
77
- this.getBusiness = undefined;
78
- this.patchBusiness = undefined;
79
- this.allowOptionalFields = undefined;
80
75
  }
81
76
  async validateAndSubmit({ onSuccess }) {
82
77
  this.formController.validateAndSubmit(() => this.sendData(onSuccess));
@@ -104,8 +99,8 @@ const BusinessCoreInfoFormStepCore = /*@__PURE__*/ proxyCustomElement(class Busi
104
99
  }
105
100
  }, [0, "justifi-business-core-info-form-step-core", {
106
101
  "businessId": [1, "business-id"],
107
- "getBusiness": [16],
108
- "patchBusiness": [16],
102
+ "getBusiness": [16, "get-business"],
103
+ "patchBusiness": [16, "patch-business"],
109
104
  "allowOptionalFields": [4, "allow-optional-fields"],
110
105
  "formController": [32],
111
106
  "errors": [32],
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { C as ComponentErrorCodes, a as ComponentErrorSeverity } from './ComponentError.js';
2
+ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError.js';
3
3
  import { m as makeGetBusiness, a as makePatchBusiness } from './payment-provisioning-actions.js';
4
4
  import { B as BusinessService } from './business.service.js';
5
5
  import { d as defineCustomElement$7 } from './custom-popper2.js';
@@ -15,11 +15,6 @@ const BusinessCoreInfoFormStep = /*@__PURE__*/ proxyCustomElement(class Business
15
15
  super();
16
16
  this.__registerHost();
17
17
  this.errorEvent = createEvent(this, "error-event", 7);
18
- this.getBusiness = undefined;
19
- this.patchBusiness = undefined;
20
- this.authToken = undefined;
21
- this.businessId = undefined;
22
- this.allowOptionalFields = undefined;
23
18
  }
24
19
  propChanged() {
25
20
  this.initializeApi();
@@ -1,5 +1,5 @@
1
1
  import { c as create$3 } from './form.js';
2
- import { q as businessNameValidation, t as websiteUrlValidation, u as emailValidation, x as phoneValidation, y as doingBusinessAsValidation, z as businessClassificationValidation, A as industryValidation, B as taxIdValidation, C as dateOfIncorporationValidation } from './schema-validations.js';
2
+ import { d as dateOfIncorporationValidation, t as taxIdValidation, i as industryValidation, c as businessClassificationValidation, e as doingBusinessAsValidation, f as phoneValidation, g as emailValidation, h as websiteUrlValidation, j as businessNameValidation } from './schema-validations.js';
3
3
 
4
4
  const businessCoreInfoSchema = (allowOptionalFields) => {
5
5
  const schema = create$3({
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
- import { a as businessClassificationOptions } from './business-form-options.js';
2
+ import { c as businessClassificationOptions } from './business-form-options.js';
3
3
  import { T as TAX_ID_MASKS, P as PHONE_MASKS } from './form-input-masks.js';
4
4
  import { C as CoreBusinessInfo } from './Business.js';
5
5
  import { h as heading2 } from './parts.js';
@@ -14,7 +14,6 @@ const BusinessCoreInfo = /*@__PURE__*/ proxyCustomElement(class BusinessCoreInfo
14
14
  constructor() {
15
15
  super();
16
16
  this.__registerHost();
17
- this.formController = undefined;
18
17
  this.errors = {};
19
18
  this.coreInfo = {};
20
19
  this.inputHandler = this.inputHandler.bind(this);
@@ -33,7 +32,7 @@ const BusinessCoreInfo = /*@__PURE__*/ proxyCustomElement(class BusinessCoreInfo
33
32
  return (h(Host, { key: '71096918610aa3068cf89fbf9f3537b7f49942c6' }, h("fieldset", { key: '502e6c3e3ae05256c6e5e8d315b4aa208ce88953' }, h("legend", { key: 'ccbe69b2323e815dc77b2602a96bdc4238fcef03', part: heading2 }, "General Info"), h("div", { key: '19a70fd7a361e5de4c88e14cbff12d88f78233e3', class: "row gy-3" }, h("div", { key: '611bcc2bd35db7b6940a5b7ae53c54b55b855dd6', class: "col-12" }, h("form-control-text", { key: 'a9de594470c896aff0803c34a313c38467f7c82a', name: "legal_name", label: "Legal Name", defaultValue: coreInfoDefaultValue.legal_name, errorText: this.errors.legal_name, inputHandler: this.inputHandler })), h("div", { key: 'ed742f64b1c344587127ce94ba1d17206bbdebb3', class: "col-12" }, h("form-control-text", { key: 'abb41f3aa059c180882066e21fe0239838cd9956', name: "doing_business_as", label: "Doing Business As (DBA)", defaultValue: coreInfoDefaultValue.doing_business_as, errorText: this.errors.doing_business_as, inputHandler: this.inputHandler })), h("div", { key: '3659fb0dd0419fd4d6f0205bc9e32aef05f56aa1', class: "col-12 col-md-8" }, h("form-control-select", { key: '5bbbe7cd7fe0a7e8788e36855ff18390bf8df301', name: "classification", label: "Business Classification", options: businessClassificationOptions, defaultValue: coreInfoDefaultValue.classification, errorText: this.errors.classification, inputHandler: this.inputHandler })), h("div", { key: '5007e6269c59878e6388164ff8d5163090b87585', class: "col-12 col-md-4" }, h("form-control-date", { key: '4fa7c7f001ced10c746d2891fe3efd8336542907', name: "date_of_incorporation", label: "Date of Incorporation", defaultValue: coreInfoDefaultValue.date_of_incorporation, errorText: this.errors.date_of_incorporation, inputHandler: this.inputHandler })), h("div", { key: 'e245a4ac6e0904c9742a0d1d220cb95c9fe63497', class: "col-12 col-md-6" }, h("form-control-text", { key: 'bc7367525a45c221c576f2b31c1a95680a95937a', name: "industry", label: "Industry", defaultValue: coreInfoDefaultValue.industry, errorText: this.errors.industry, inputHandler: this.inputHandler })), h("div", { key: '6475831320818242eda7ac045dcdd076fbc4245c', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: 'd68e8046fa42f4d5976aa44a7769b14fc4cda416', name: "tax_id", label: "Tax ID", defaultValue: coreInfoDefaultValue.tax_id, errorText: this.errors.tax_id, inputHandler: this.inputHandler, mask: TAX_ID_MASKS.US })), h("div", { key: 'f59cda0241c1ad92d0d995e330b92079ba75737f', class: "col-12" }, h("form-control-text", { key: '8243464d1c75897c1e3423e5045f34b81b425a9e', name: "website_url", label: "Website URL", defaultValue: coreInfoDefaultValue.website_url, errorText: this.errors.website_url, inputHandler: this.inputHandler })), h("div", { key: 'c65251b25e0996277f7d0e11d25d6340ccfc11e7', class: "col-12 col-md-6" }, h("form-control-text", { key: 'fe3a4eff53786f49fbfe24afb048f861bf7a469a', name: "email", label: "Email Address", defaultValue: coreInfoDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: 'b1d909e5f937dcbbac0082b293571904c0c81396', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: '83238873cbd8ccc08a5c3af1bd87a7965fefb5f8', name: "phone", label: "Phone Number", defaultValue: coreInfoDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US }))))));
34
33
  }
35
34
  }, [0, "justifi-business-core-info", {
36
- "formController": [16],
35
+ "formController": [16, "form-controller"],
37
36
  "errors": [32],
38
37
  "coreInfo": [32]
39
38
  }]);
@@ -40,8 +40,6 @@ const BusinessDetailsCore = /*@__PURE__*/ proxyCustomElement(class BusinessDetai
40
40
  super();
41
41
  this.__registerHost();
42
42
  this.errorEvent = createEvent(this, "error-event", 7);
43
- this.getBusiness = undefined;
44
- this.business = undefined;
45
43
  this.renderState = RENDER_STATES.LOADING;
46
44
  this.errorMessage = 'An error ocurred.';
47
45
  }
@@ -78,7 +76,7 @@ const BusinessDetailsCore = /*@__PURE__*/ proxyCustomElement(class BusinessDetai
78
76
  return (h(StyledHost, null, h("generic-info-details", { business: this.business }), h("legal-address-details", { legalAddress: this.business.legal_address }), h("representative-details", { representative: this.business.representative }), h("owner-details", { owners: this.business.owners }), h("additional-questions-details", { additionalQuestions: this.business.additional_questions })));
79
77
  }
80
78
  }, [0, "business-details-core", {
81
- "getBusiness": [16],
79
+ "getBusiness": [16, "get-business"],
82
80
  "business": [32],
83
81
  "renderState": [32],
84
82
  "errorMessage": [32]
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
  import { s as snakeCaseToHumanReadable, b as formatDate, c as formatTimeSeconds } from './utils2.js';
3
- import { m as card, h as heading2, n as table, o as tableHeadCell, p as tableCell } from './parts.js';
3
+ import { k as card, h as heading2, m as table, n as tableHeadCell, o as tableCell } from './parts.js';
4
4
  import { S as Skeleton } from './skeleton.js';
5
5
  import './details.js';
6
6
 
@@ -87,4 +87,4 @@ const bankAccountTypeOptions = [
87
87
  }
88
88
  ];
89
89
 
90
- export { businessClassificationOptions as a, bankAccountTypeOptions as b, businessServiceReceivedOptions as c, recurringPaymentsOptions as r, seasonalBusinessOptions as s };
90
+ export { businessServiceReceivedOptions as a, bankAccountTypeOptions as b, businessClassificationOptions as c, recurringPaymentsOptions as r, seasonalBusinessOptions as s };
@@ -1,6 +1,6 @@
1
1
  import { c as create$3, a as create$6 } from './form.js';
2
2
  import { a as addressSchema } from './business-address-schema.js';
3
- import { i as identityNameValidation, D as identityTitleValidation, u as emailValidation, x as phoneValidation, E as dobValidation, F as ssnValidation } from './schema-validations.js';
3
+ import { k as ssnValidation, l as dobValidation, f as phoneValidation, g as emailValidation, m as identityTitleValidation, n as identityNameValidation } from './schema-validations.js';
4
4
 
5
5
  const identitySchema = (role, allowOptionalFields) => {
6
6
  const schema = create$3({
@@ -23,6 +23,9 @@ const BusinessOwnersFormStepCore = /*@__PURE__*/ proxyCustomElement(class Busine
23
23
  this.stepCompleteEvent = createEvent(this, "complete-form-step-event", 7);
24
24
  this.errorEvent = createEvent(this, "error-event", 7);
25
25
  this.formLoading = createEvent(this, "formLoading", 7);
26
+ this.ownersPayload = [];
27
+ this.refs = [];
28
+ this.isLoading = false;
26
29
  this.matchRef = (ref, ownerId) => {
27
30
  const ownerIndex = this.refs.findIndex(ref => ref === ownerId);
28
31
  if (ownerIndex !== -1) {
@@ -87,15 +90,6 @@ const BusinessOwnersFormStepCore = /*@__PURE__*/ proxyCustomElement(class Busine
87
90
  this.ownersPayload = this.ownersPayload.filter(owner => owner.id !== id);
88
91
  this.newFormOpen && (this.newFormOpen = false);
89
92
  };
90
- this.ownersPayload = [];
91
- this.refs = [];
92
- this.newFormOpen = undefined;
93
- this.isLoading = false;
94
- this.authToken = undefined;
95
- this.businessId = undefined;
96
- this.getBusiness = undefined;
97
- this.patchBusiness = undefined;
98
- this.allowOptionalFields = undefined;
99
93
  }
100
94
  get showAddOwnerButton() {
101
95
  return this.ownersPayload.length < 4 && !this.newFormOpen;
@@ -147,8 +141,8 @@ const BusinessOwnersFormStepCore = /*@__PURE__*/ proxyCustomElement(class Busine
147
141
  }, [0, "justifi-business-owners-form-step-core", {
148
142
  "authToken": [1, "auth-token"],
149
143
  "businessId": [1, "business-id"],
150
- "getBusiness": [16],
151
- "patchBusiness": [16],
144
+ "getBusiness": [16, "get-business"],
145
+ "patchBusiness": [16, "patch-business"],
152
146
  "allowOptionalFields": [4, "allow-optional-fields"],
153
147
  "ownersPayload": [32],
154
148
  "refs": [32],
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
- import { C as ComponentErrorCodes, a as ComponentErrorSeverity } from './ComponentError.js';
2
+ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError.js';
3
3
  import { m as makeGetBusiness, a as makePatchBusiness } from './payment-provisioning-actions.js';
4
4
  import { B as BusinessService } from './business.service.js';
5
5
  import { d as defineCustomElement$b } from './custom-popper2.js';
@@ -19,11 +19,6 @@ const BusinessOwnersFormStep = /*@__PURE__*/ proxyCustomElement(class BusinessOw
19
19
  super();
20
20
  this.__registerHost();
21
21
  this.errorEvent = createEvent(this, "error-event", 7);
22
- this.getBusiness = undefined;
23
- this.patchBusiness = undefined;
24
- this.authToken = undefined;
25
- this.businessId = undefined;
26
- this.allowOptionalFields = undefined;
27
22
  }
28
23
  propChanged() {
29
24
  this.initializeApi();
@@ -20,9 +20,6 @@ const RepresentativeFormInputs = /*@__PURE__*/ proxyCustomElement(class Represen
20
20
  this.onAddressFormUpdate = (values) => {
21
21
  updateAddressFormValues(this.formController, Object.assign(Object.assign({}, this.formController.values.getValue().address), values));
22
22
  };
23
- this.representativeDefaultValue = undefined;
24
- this.errors = undefined;
25
- this.formController = undefined;
26
23
  }
27
24
  render() {
28
25
  var _a, _b, _c, _d, _e, _f, _g;
@@ -31,7 +28,7 @@ const RepresentativeFormInputs = /*@__PURE__*/ proxyCustomElement(class Represen
31
28
  }, [0, "justifi-business-representative-form-inputs", {
32
29
  "representativeDefaultValue": [8, "representative-default-value"],
33
30
  "errors": [8],
34
- "formController": [16]
31
+ "formController": [16, "form-controller"]
35
32
  }]);
36
33
  function defineCustomElement() {
37
34
  if (typeof customElements === "undefined") {
@@ -20,6 +20,9 @@ const BusinessRepresentativeFormStepCore = /*@__PURE__*/ proxyCustomElement(clas
20
20
  this.stepCompleteEvent = createEvent(this, "complete-form-step-event", 7);
21
21
  this.errorEvent = createEvent(this, "error-event", 7);
22
22
  this.formLoading = createEvent(this, "formLoading", 7);
23
+ this.errors = {};
24
+ this.representative = {};
25
+ this.isLoading = false;
23
26
  this.getData = () => {
24
27
  this.formLoading.emit(true);
25
28
  this.isLoading = true;
@@ -64,13 +67,6 @@ const BusinessRepresentativeFormStepCore = /*@__PURE__*/ proxyCustomElement(clas
64
67
  }
65
68
  });
66
69
  };
67
- this.formController = undefined;
68
- this.errors = {};
69
- this.representative = {};
70
- this.isLoading = false;
71
- this.getBusiness = undefined;
72
- this.patchBusiness = undefined;
73
- this.allowOptionalFields = undefined;
74
70
  }
75
71
  async validateAndSubmit({ onSuccess }) {
76
72
  this.formController.validateAndSubmit(() => this.sendData(onSuccess));
@@ -95,8 +91,8 @@ const BusinessRepresentativeFormStepCore = /*@__PURE__*/ proxyCustomElement(clas
95
91
  return (h("justifi-business-representative-form-inputs", { representativeDefaultValue: this.formController.getInitialValues(), errors: this.errors, formController: this.formController }));
96
92
  }
97
93
  }, [0, "justifi-business-representative-form-step-core", {
98
- "getBusiness": [16],
99
- "patchBusiness": [16],
94
+ "getBusiness": [16, "get-business"],
95
+ "patchBusiness": [16, "patch-business"],
100
96
  "allowOptionalFields": [4, "allow-optional-fields"],
101
97
  "formController": [32],
102
98
  "errors": [32],
@@ -1,5 +1,5 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
- import { C as ComponentErrorCodes, a as ComponentErrorSeverity } from './ComponentError.js';
2
+ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError.js';
3
3
  import { m as makeGetBusiness, a as makePatchBusiness } from './payment-provisioning-actions.js';
4
4
  import { B as BusinessService } from './business.service.js';
5
5
  import { d as defineCustomElement$9 } from './custom-popper2.js';
@@ -17,11 +17,6 @@ const BusinessRepresentativeFormStep = /*@__PURE__*/ proxyCustomElement(class Bu
17
17
  super();
18
18
  this.__registerHost();
19
19
  this.errorEvent = createEvent(this, "error-event", 7);
20
- this.getBusiness = undefined;
21
- this.patchBusiness = undefined;
22
- this.authToken = undefined;
23
- this.businessId = undefined;
24
- this.allowOptionalFields = undefined;
25
20
  }
26
21
  propChanged() {
27
22
  this.initializeApi();
@@ -14,6 +14,8 @@ const BusinessRepresentative = /*@__PURE__*/ proxyCustomElement(class BusinessRe
14
14
  constructor() {
15
15
  super();
16
16
  this.__registerHost();
17
+ this.errors = {};
18
+ this.representative = {};
17
19
  this.inputHandler = (name, value) => {
18
20
  this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { representative: Object.assign(Object.assign({}, this.formController.values.getValue().representative), { [name]: value }) }));
19
21
  };
@@ -24,9 +26,6 @@ const BusinessRepresentative = /*@__PURE__*/ proxyCustomElement(class BusinessRe
24
26
  const dob_values = deconstructDate(event.detail);
25
27
  this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { representative: Object.assign(Object.assign({}, this.formController.values.getValue().representative), { dob_day: dob_values.dob_day, dob_month: dob_values.dob_month, dob_year: dob_values.dob_year }) }));
26
28
  };
27
- this.formController = undefined;
28
- this.errors = {};
29
- this.representative = {};
30
29
  }
31
30
  get identificationNumberLabel() {
32
31
  return this.representative.ssn_last4 ? 'Update SSN (optional)' : 'SSN';
@@ -40,7 +39,7 @@ const BusinessRepresentative = /*@__PURE__*/ proxyCustomElement(class BusinessRe
40
39
  return (h(Host, { key: 'eb9c09602a11107abc465463bf7e7cdbeb98cede' }, h("fieldset", { key: '1f2a035f9796c29269a7dcd7ca874c73ed6493bb' }, h("legend", { key: '1aeaba7f119f15e1ffa75cd58d77608fe51a60c8', part: heading2 }, "Representative"), h("div", { key: '5d09c634135046c79b4ac80b5c1cfee9fbd26ce0', class: "row gy-3" }, h("div", { key: '6f03250bf88cc79ff07a1de68fef97a41a376aec', class: "col-12 col-md-8" }, h("form-control-text", { key: 'd6696ab573a305e277db56a578eaeb3fc4adf9ff', name: "name", label: "Full Name", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: 'fd6ddc83d99b4f86f29566077249a23724741438', class: "col-12 col-md-4" }, h("form-control-text", { key: '632b12a09042ffdaf85d2fafecfab1736bbc8d36', name: "title", label: "Title", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.title, errorText: this.errors.title, inputHandler: this.inputHandler })), h("div", { key: '65842c9cb8c616806631bd1d2902342cebf5326e', class: "col-12 col-md-6" }, h("form-control-text", { key: '8e1f64cc7f97e4b337dfcda6494fca5750656130', name: "email", label: "Email Address", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: 'e050604c8d71e1d07f916822fbb73da4c3f5e034', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: 'a5bba8b362ce6070efc65e88ee80880ce855e624', name: "phone", label: "Phone Number", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: 'dcbd23ab368e630ebaea9e8bdbb6985a98d5fbeb', class: "col-12 col-md-4" }, h("form-control-date", { key: '05e0e255549ad8f0760102aab5cbfe444cae5996', name: "dob_full", label: "Birth Date", defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: this.onDateOfBirthUpdate })), h("div", { key: '764595ed842fd09221ef71d5c921a9ebe947556d', class: "col-12 col-md-8" }, h("form-control-number-masked", { key: '91761e52dd724a27e135a3db8b7c85643f7891d9', name: "identification_number", label: this.identificationNumberLabel, defaultValue: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: SSN_MASK })), h("div", { key: '4be6739744d6d9fcd060ed9d894502f35396a9a9', class: "col-12" }, h("justifi-identity-address-form", { key: '7c9d98057e908a068aa0783b10b2bd0f634d7ab9', errors: this.errors.address, defaultValues: representativeDefaultValue === null || representativeDefaultValue === void 0 ? void 0 : representativeDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate }))))));
41
40
  }
42
41
  }, [0, "justifi-business-representative", {
43
- "formController": [16],
42
+ "formController": [16, "form-controller"],
44
43
  "errors": [32],
45
44
  "representative": [32]
46
45
  }]);